@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505131607 → 0.7.0-nightly.202505141607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0xd94b(_0x2671ed,_0x85da64){const _0xf6ffa4=_0xf6ff();return _0xd94b=function(_0xd94b1c,_0x522e83){_0xd94b1c=_0xd94b1c-0x167;let _0x38f136=_0xf6ffa4[_0xd94b1c];return _0x38f136;},_0xd94b(_0x2671ed,_0x85da64);}(function(_0x163aed,_0x117127){const _0x351b6c=_0xd94b,_0x1d9f72=_0x163aed();while(!![]){try{const _0x428043=parseInt(_0x351b6c(0x1ec))/0x1*(parseInt(_0x351b6c(0x3a6))/0x2)+-parseInt(_0x351b6c(0x394))/0x3+parseInt(_0x351b6c(0x2ac))/0x4*(parseInt(_0x351b6c(0x18e))/0x5)+parseInt(_0x351b6c(0x2ae))/0x6*(parseInt(_0x351b6c(0x1b0))/0x7)+parseInt(_0x351b6c(0x1e5))/0x8*(-parseInt(_0x351b6c(0x1f1))/0x9)+parseInt(_0x351b6c(0x35c))/0xa+-parseInt(_0x351b6c(0x35e))/0xb*(parseInt(_0x351b6c(0x3a2))/0xc);if(_0x428043===_0x117127)break;else _0x1d9f72['push'](_0x1d9f72['shift']());}catch(_0x2379fa){_0x1d9f72['push'](_0x1d9f72['shift']());}}}(_0xf6ff,0x44351),function(_0x267e16,_0x33bfd8){const _0x510c52=_0xd94b;typeof exports==_0x510c52(0x17b)&&typeof module<'u'?_0x33bfd8(exports,require(_0x510c52(0x290)),require(_0x510c52(0x1ea)),require(_0x510c52(0x276)),require(_0x510c52(0x1f3)),require(_0x510c52(0x330)),require(_0x510c52(0x185)),require('rxjs'),require('@univerjs/docs'),require(_0x510c52(0x3d8)),require(_0x510c52(0x200)),require(_0x510c52(0x350)),require(_0x510c52(0x25b)),require('@univerjs/sheets-ui'),require(_0x510c52(0x2e8)),require(_0x510c52(0x1c2)),require(_0x510c52(0x299)),require('react'),require(_0x510c52(0x1cc))):typeof define=='function'&&define[_0x510c52(0x369)]?define([_0x510c52(0x1d7),_0x510c52(0x290),_0x510c52(0x1ea),_0x510c52(0x276),_0x510c52(0x1f3),_0x510c52(0x330),_0x510c52(0x185),_0x510c52(0x1c9),_0x510c52(0x24f),_0x510c52(0x3d8),'@univerjs/engine-formula',_0x510c52(0x350),'rxjs/operators',_0x510c52(0x39b),_0x510c52(0x2e8),'@univerjs/ui',_0x510c52(0x299),_0x510c52(0x3d5),_0x510c52(0x1cc)],_0x33bfd8):(_0x267e16=typeof globalThis<'u'?globalThis:_0x267e16||self,_0x33bfd8(_0x267e16[_0x510c52(0x2d6)]={},_0x267e16[_0x510c52(0x225)],_0x267e16[_0x510c52(0x236)],_0x267e16[_0x510c52(0x227)],_0x267e16['UniverNetwork'],_0x267e16['UniverDocsUi'],_0x267e16[_0x510c52(0x31a)],_0x267e16[_0x510c52(0x1c9)],_0x267e16[_0x510c52(0x2ff)],_0x267e16['UniverProCollaboration'],_0x267e16[_0x510c52(0x347)],_0x267e16[_0x510c52(0x3d1)],_0x267e16['rxjs'][_0x510c52(0x3b7)],_0x267e16['UniverSheetsUi'],_0x267e16[_0x510c52(0x384)],_0x267e16[_0x510c52(0x3a0)],_0x267e16[_0x510c52(0x3ae)],_0x267e16[_0x510c52(0x384)],_0x267e16[_0x510c52(0x1b5)]));}(this,function(_0x4e4c58,_0x5e2e2e,_0x134956,_0x31808c,_0x2d4778,_0x241046,_0x255d1f,_0x35f7fc,_0x5e9066,_0x469b6a,_0x3802f6,_0x105017,_0x486b4f,_0x4ffe22,_0xc2469,_0x4b07f4,_0x14c7fd,_0x569492,_0x346cc2){'use strict';const _0x1f91f3=_0xd94b;var _0x20bfee=Object[_0x1f91f3(0x1cf)],_0x20b2cb=(_0x1210b4,_0x3093cc,_0x27d4c9)=>_0x3093cc in _0x1210b4?_0x20bfee(_0x1210b4,_0x3093cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27d4c9}):_0x1210b4[_0x3093cc]=_0x27d4c9,_0x1ffdb1=(_0x2e1746,_0x4d2e87,_0x3cbd4c)=>_0x20b2cb(_0x2e1746,typeof _0x4d2e87!='symbol'?_0x4d2e87+'':_0x4d2e87,_0x3cbd4c),_0x1b5a09=Object[_0x1f91f3(0x29b)],_0x1f64a5=(_0x4edf62,_0x54a97c,_0x322503,_0x4943c8)=>{const _0x11ad62=_0x1f91f3;for(var _0x4ac626=_0x4943c8>0x1?void 0x0:_0x4943c8?_0x1b5a09(_0x54a97c,_0x322503):_0x54a97c,_0x576cfb=_0x4edf62[_0x11ad62(0x3f6)]-0x1,_0x11f261;_0x576cfb>=0x0;_0x576cfb--)(_0x11f261=_0x4edf62[_0x576cfb])&&(_0x4ac626=_0x11f261(_0x4ac626)||_0x4ac626);return _0x4ac626;},_0x3d849a=(_0x25ca25,_0x2e95fe)=>(_0x3858bf,_0x91ce6a)=>_0x2e95fe(_0x3858bf,_0x91ce6a,_0x25ca25);let _0x42f183=class extends _0x134956['RxDisposable']{constructor(_0x3034d8,_0xc26263){const _0x18bbdd=_0x1f91f3;super(),this[_0x18bbdd(0x3a3)]=_0x3034d8,this[_0x18bbdd(0x1dc)]=_0xc26263,this[_0x18bbdd(0x3c4)]();}['_init'](){const _0x52c76b=_0x1f91f3,_0x140763=this;this['disposeWithMe'](this[_0x52c76b(0x3a3)][_0x52c76b(0x29d)]({'onBeforePasteImage':async _0x1fc602=>{const _0x475d4a=_0x52c76b,_0x3bc38f=await _0x140763[_0x475d4a(0x1dc)][_0x475d4a(0x3b9)](_0x1fc602);return _0x3bc38f?{'source':_0x3bc38f[_0x475d4a(0x310)],'imageSourceType':_0x3bc38f['imageSourceType']}:null;}}));}};_0x42f183=_0x1f64a5([_0x3d849a(0x0,_0x241046[_0x1f91f3(0x2c6)]),_0x3d849a(0x1,_0x255d1f[_0x1f91f3(0x36a)])],_0x42f183);const _0x379119=[_0x1f91f3(0x3ac),'jiqing.500','green.600',_0x1f91f3(0x32a),_0x1f91f3(0x3f8),_0x1f91f3(0x309)];class _0x519a71 extends _0x134956[_0x1f91f3(0x1fe)]{constructor(){const _0x3ed5a7=_0x1f91f3;super(...arguments),_0x1ffdb1(this,_0x3ed5a7(0x388),new Map()),_0x1ffdb1(this,_0x3ed5a7(0x381),0x0);}['assignAColorForMemberID'](_0x1510d2){const _0x317af7=_0x1f91f3;if(this[_0x317af7(0x388)][_0x317af7(0x1bf)](_0x1510d2))return this['_assignedColors']['get'](_0x1510d2);const _0xa0ed00=_0x379119[this[_0x317af7(0x381)]];return this['_colorIndex']=(this[_0x317af7(0x381)]+0x1)%_0x379119[_0x317af7(0x3f6)],this[_0x317af7(0x388)][_0x317af7(0x3b0)](_0x1510d2,_0xa0ed00),_0xa0ed00;}}function _0x490f09(_0x5194b8){const _0x2c1b65=_0x1f91f3;let _0x5c9040='';for(const _0x5228b9 of _0x5194b8){const {startOffset:_0x10c507,endOffset:_0x256282,isActive:_0x3a185f,rangeType:_0xb8d7d,segmentId:_0x592c80,segmentPage:_0x13fe35}=_0x5228b9;_0x5c9040[_0x2c1b65(0x3f6)]&&(_0x5c9040+=','),_0x5c9040+=_0x10c507+':'+_0x256282+':'+(_0x3a185f?'1':'0')+':'+_0xb8d7d+':'+_0x592c80+':'+_0x13fe35;}return _0x5c9040;}function _0x24713d(_0x15b2a6){const _0x438704=_0x1f91f3,_0x51fda5=_0x15b2a6[_0x438704(0x257)](','),_0x1b8c93=[];for(const _0x2cca97 of _0x51fda5){const [_0x1acb90,_0x560b3e,_0x194adf,_0x1c9018,_0x115f83,_0x43b9de]=_0x2cca97[_0x438704(0x257)](':');_0x1b8c93[_0x438704(0x2fb)]({'startOffset':Number(_0x1acb90),'endOffset':Number(_0x560b3e),'collapsed':_0x1acb90===_0x560b3e,'isActive':_0x194adf==='1','rangeType':_0x1c9018===_0x134956[_0x438704(0x251)]['TEXT']?_0x134956[_0x438704(0x251)][_0x438704(0x293)]:_0x134956[_0x438704(0x251)]['RECT'],'segmentId':typeof _0x115f83==_0x438704(0x2cb)?String(_0x115f83):'','segmentPage':Number(_0x43b9de!=null?_0x43b9de:-0x1)});}return _0x1b8c93[_0x438704(0x387)](_0x29654f=>_0x29654f['isActive'])||(_0x1b8c93[0x0][_0x438704(0x254)]=!0x0),_0x1b8c93;}class _0x24c16d extends _0x134956[_0x1f91f3(0x3a9)]{constructor(){const _0x4de11b=_0x1f91f3;super(...arguments),_0x1ffdb1(this,_0x4de11b(0x345),new _0x35f7fc[(_0x4de11b(0x32e))](null)),_0x1ffdb1(this,_0x4de11b(0x398),this['_collabCursorState$'][_0x4de11b(0x3a8)]());}[_0x1f91f3(0x1ab)](_0x3260b6){const _0x40cb5f=_0x1f91f3,{unitID:_0x2d1fb8,memberID:_0x1f49cd,textRanges:_0x27f8b1}=_0x3260b6,_0x2da17b=_0x490f09(_0x27f8b1);if(_0x2da17b==='')return;const _0x495b00={'unitID':_0x2d1fb8,'memberID':_0x1f49cd,'selection':_0x2da17b};this['_collabCursorState$'][_0x40cb5f(0x244)](_0x495b00);}}var _0x127a1a=Object['getOwnPropertyDescriptor'],_0x2a392e=(_0x220815,_0x3d48d0,_0x2aac60,_0xd4a864)=>{for(var _0xbfc197=_0xd4a864>0x1?void 0x0:_0xd4a864?_0x127a1a(_0x3d48d0,_0x2aac60):_0x3d48d0,_0x4e4f3f=_0x220815['length']-0x1,_0x259c5f;_0x4e4f3f>=0x0;_0x4e4f3f--)(_0x259c5f=_0x220815[_0x4e4f3f])&&(_0xbfc197=_0x259c5f(_0xbfc197)||_0xbfc197);return _0xbfc197;},_0x525d5d=(_0x47169c,_0x4cb9a2)=>(_0x273a05,_0x4e749f)=>_0x4cb9a2(_0x273a05,_0x4e749f,_0x47169c);const _0x5635d5=0x12c,_0x1c5f4b=0x64;let _0x1692a8=class extends _0x134956[_0x1f91f3(0x3a9)]{constructor(_0x194527,_0x360eed,_0xc7e06a,_0x3ee864,_0x298ddd,_0x985b5b,_0x2a91a6,_0x1aec73,_0x407b14){const _0x131709=_0x1f91f3;super(),_0x1ffdb1(this,'_online',!0x1),_0x1ffdb1(this,_0x131709(0x3c4),!0x1),_0x1ffdb1(this,_0x131709(0x318),new _0x35f7fc['BehaviorSubject'](new Map())),_0x1ffdb1(this,_0x131709(0x397),this[_0x131709(0x318)][_0x131709(0x3a8)]()),_0x1ffdb1(this,_0x131709(0x2be),new _0x35f7fc[(_0x131709(0x32e))]([])),_0x1ffdb1(this,_0x131709(0x31b),this['_roomMembers$'][_0x131709(0x1d5)](_0x35f7fc['debounceTime'](_0x5635d5))),_0x1ffdb1(this,_0x131709(0x2d4),_0x134956['debounce'](_0x3f00f3=>{const _0x618c30=_0x131709,_0x25ac28={'eventID':_0x469b6a[_0x618c30(0x24d)][_0x618c30(0x3f7)],'data':{'unitID':this[_0x618c30(0x20a)],'memberID':this[_0x618c30(0x371)][_0x618c30(0x215)](),'selection':_0x490f09(_0x3f00f3)}};this[_0x618c30(0x371)][_0x618c30(0x30c)](_0x25ac28,this[_0x618c30(0x20a)]);},_0x1c5f4b)),(this[_0x131709(0x20a)]=_0x194527,this['_session']=_0x360eed,this[_0x131709(0x314)]=_0xc7e06a,this[_0x131709(0x1c3)]=_0x3ee864,this[_0x131709(0x267)]=_0x298ddd,this[_0x131709(0x363)]=_0x985b5b,this['_transformService']=_0x2a91a6,this['_univerInstanceService']=_0x1aec73,this[_0x131709(0x2d9)]=_0x407b14);}get['cursorInfo'](){const _0xf7bc54=_0x1f91f3;return this[_0xf7bc54(0x318)]['getValue']();}get['roomMembers'](){const _0x176217=_0x1f91f3;return this[_0x176217(0x2be)]['getValue']();}[_0x1f91f3(0x3e3)](){const _0x252c43=_0x1f91f3;super[_0x252c43(0x3e3)](),this['_cursorInfo$'][_0x252c43(0x244)](new Map()),this['_cursorInfo$'][_0x252c43(0x30d)](),this['_roomMembers$'][_0x252c43(0x244)]([]),this[_0x252c43(0x2be)]['complete']();}[_0x1f91f3(0x32f)](){const _0x2aaf35=_0x1f91f3;this[_0x2aaf35(0x3c4)]||(this[_0x2aaf35(0x3c4)]=!0x0,this[_0x2aaf35(0x371)][_0x2aaf35(0x336)]['pipe'](_0x35f7fc['takeUntil'](this['dispose$']))[_0x2aaf35(0x203)](_0x5e28f9=>{const _0x10853a=_0x2aaf35;_0x5e28f9===_0x5e2e2e[_0x10853a(0x335)][_0x10853a(0x2da)]?this[_0x10853a(0x3c9)]():this[_0x10853a(0x31d)]();}),this['_session'][_0x2aaf35(0x2a8)][_0x2aaf35(0x1d5)](_0x35f7fc[_0x2aaf35(0x269)](this[_0x2aaf35(0x25d)]))[_0x2aaf35(0x203)](_0x5cc6bd=>{const _0xb50ac0=_0x2aaf35,_0x2b9a21=_0x5cc6bd[_0xb50ac0(0x31e)];_0x2b9a21===_0x469b6a[_0xb50ac0(0x24d)][_0xb50ac0(0x3f7)]&&this[_0xb50ac0(0x1f9)](_0x5cc6bd),_0x2b9a21===_0x469b6a[_0xb50ac0(0x24d)][_0xb50ac0(0x281)]&&this[_0xb50ac0(0x3df)](_0x5cc6bd);}),this[_0x2aaf35(0x20d)](this[_0x2aaf35(0x2d9)][_0x2aaf35(0x282)](_0x3af3c0=>{const _0x90a09=_0x2aaf35,_0x544054=_0x3af3c0['params'];_0x544054!=null&&this[_0x90a09(0x1df)]&&_0x3af3c0['id']===_0x5e9066[_0x90a09(0x337)]['id']&&_0x544054['unitId']===this['unitID']&&_0x544054['isEditing']===!0x1&&_0x544054[_0x90a09(0x1b1)][_0x90a09(0x3f6)]>0x0&&this[_0x90a09(0x2d4)](_0x544054[_0x90a09(0x1b1)]);})),this[_0x2aaf35(0x363)][_0x2aaf35(0x398)][_0x2aaf35(0x1d5)](_0x35f7fc[_0x2aaf35(0x269)](this[_0x2aaf35(0x25d)]))[_0x2aaf35(0x203)](_0x4729ca=>{const _0x49aaa8=_0x2aaf35;if((_0x4729ca==null?void 0x0:_0x4729ca[_0x49aaa8(0x20a)])!==this[_0x49aaa8(0x20a)])return;const _0x1b3346={'eventID':_0x469b6a['CollaborationEvent'][_0x49aaa8(0x3f7)],'data':_0x4729ca};this[_0x49aaa8(0x1f9)](_0x1b3346);}),this['disposeWithMe'](this[_0x2aaf35(0x2d9)][_0x2aaf35(0x282)](_0x19de5b=>{const _0x3a8139=_0x2aaf35;if(_0x19de5b[_0x3a8139(0x2ed)]==null)return;const _0x57591b=_0x19de5b[_0x3a8139(0x2ed)];if(_0x19de5b['id']!==_0x5e9066[_0x3a8139(0x22d)]['id']||_0x57591b['unitId']!==this[_0x3a8139(0x20a)])return;const _0x37318d={'id':_0x3a8139(0x317),'params':_0x57591b},_0x5db887=this[_0x3a8139(0x1e6)];for(const [_0x58afa6,_0x2cf4fe]of _0x5db887){const _0xb74ea3={'id':_0x3a8139(0x317),'params':{'unitId':this[_0x3a8139(0x20a)],'actions':null,'textRanges':_0x2cf4fe['ranges']}},_0x270e70=this[_0x3a8139(0x37c)]['transformMutation'](_0x37318d,_0xb74ea3,!0x1);if(_0x469b6a['isTransformMutationFailure'](_0x270e70))throw _0x270e70[_0x3a8139(0x385)];_0x5db887[_0x3a8139(0x3b0)](_0x58afa6,{..._0x2cf4fe,'ranges':_0x270e70[_0x3a8139(0x1a7)][_0x3a8139(0x2ed)][_0x3a8139(0x23c)]});}queueMicrotask(()=>{const _0x35a01e=_0x3a8139;this[_0x35a01e(0x318)]['next'](_0x5db887);});})));}[_0x1f91f3(0x1f9)](_0x1e5574){const _0x19a8a9=_0x1f91f3;var _0x3a8976,_0x1b194e;const {memberID:_0x40c94d,selection:_0x32f752}=_0x1e5574[_0x19a8a9(0x2a2)],_0x21acd9=_0x24713d(_0x32f752),_0x1d1bd1=(_0x1b194e=(_0x3a8976=this[_0x19a8a9(0x267)][_0x19a8a9(0x272)](this['unitID'],_0x40c94d))==null?void 0x0:_0x3a8976[_0x19a8a9(0x2c5)])!=null?_0x1b194e:_0x19a8a9(0x3ca),_0x3b57ae={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x40c94d),'name':_0x1d1bd1,'ranges':_0x21acd9},_0xad42ea=this[_0x19a8a9(0x1e6)];_0xad42ea[_0x19a8a9(0x3b0)](_0x40c94d,_0x3b57ae),this['_cursorInfo$'][_0x19a8a9(0x244)](_0xad42ea);}[_0x1f91f3(0x3df)](_0x11fbf7){const _0x304763=_0x1f91f3,{memberID:_0x3807c9}=_0x11fbf7[_0x304763(0x2a2)],_0x24a4d9=this['cursorInfo'];_0x24a4d9[_0x304763(0x2de)](_0x3807c9),this[_0x304763(0x318)][_0x304763(0x244)](_0x24a4d9);}[_0x1f91f3(0x3c9)](){const _0x4fa2c4=_0x1f91f3;var _0x45ac4a;if(this['_online']=!0x0,((_0x45ac4a=this[_0x4fa2c4(0x3c1)][_0x4fa2c4(0x3aa)]())==null?void 0x0:_0x45ac4a[_0x4fa2c4(0x333)]())!==this['unitID'])return;const _0x11bc16=this[_0x4fa2c4(0x314)][_0x4fa2c4(0x21e)](_0x5e9066['DocSelectionManagerService'])['getDocRanges']();Array[_0x4fa2c4(0x28d)](_0x11bc16)&&_0x11bc16[_0x4fa2c4(0x3f6)]>0x0&&this[_0x4fa2c4(0x2d4)](_0x11bc16);}[_0x1f91f3(0x31d)](){const _0x517e5d=_0x1f91f3;this[_0x517e5d(0x1df)]=!0x1;}};_0x1692a8=_0x2a392e([_0x525d5d(0x2,_0x134956['Inject'](_0x134956['Injector'])),_0x525d5d(0x3,_0x134956[_0x1f91f3(0x3a4)](_0x519a71)),_0x525d5d(0x4,_0x134956[_0x1f91f3(0x3a4)](_0x5e2e2e[_0x1f91f3(0x245)])),_0x525d5d(0x5,_0x134956['Inject'](_0x24c16d)),_0x525d5d(0x6,_0x469b6a['ITransformService']),_0x525d5d(0x7,_0x134956['IUniverInstanceService']),_0x525d5d(0x8,_0x134956[_0x1f91f3(0x361)])],_0x1692a8);var _0x48d6b5=Object[_0x1f91f3(0x29b)],_0xd6ba72=(_0x5325e5,_0x295b83,_0x48e5d0,_0x37ac4f)=>{const _0x317aa8=_0x1f91f3;for(var _0x3e9dfe=_0x37ac4f>0x1?void 0x0:_0x37ac4f?_0x48d6b5(_0x295b83,_0x48e5d0):_0x295b83,_0x242f2b=_0x5325e5[_0x317aa8(0x3f6)]-0x1,_0x14e1f5;_0x242f2b>=0x0;_0x242f2b--)(_0x14e1f5=_0x5325e5[_0x242f2b])&&(_0x3e9dfe=_0x14e1f5(_0x3e9dfe)||_0x3e9dfe);return _0x3e9dfe;},_0x53fe16=(_0x583e5b,_0xecfedc)=>(_0x77e95a,_0x367658)=>_0xecfedc(_0x77e95a,_0x367658,_0x583e5b);const _0x9ebceb=0x12c,_0x40ab47=0x64,_0x49cc2c=()=>{let _0x4cfae0=[],_0x91dd9d=!0x1;return _0x19a414=>{const _0x33bd9a=_0xd94b;_0x4cfae0[_0x33bd9a(0x2fb)](_0x19a414),_0x91dd9d||(_0x91dd9d=!0x0,setTimeout(()=>{const _0x53b1a7=_0x33bd9a;_0x4cfae0[_0x53b1a7(0x1da)](_0x410ff6=>_0x410ff6()),_0x4cfae0=[],_0x91dd9d=!0x1;}));};};let _0x1fc762=class extends _0x134956[_0x1f91f3(0x3a9)]{constructor(_0x46344e,_0x49b72c,_0x3f5925,_0x5d4800,_0x21b8c9,_0x465089,_0x260402,_0x2906c9){const _0x4804f1=_0x1f91f3;super(),_0x1ffdb1(this,_0x4804f1(0x1df),!0x1),_0x1ffdb1(this,_0x4804f1(0x3c4),!0x1),_0x1ffdb1(this,_0x4804f1(0x318),new _0x35f7fc['BehaviorSubject'](new Map())),_0x1ffdb1(this,_0x4804f1(0x397),this[_0x4804f1(0x318)][_0x4804f1(0x3a8)]()),_0x1ffdb1(this,'_roomMembers$',new _0x35f7fc[(_0x4804f1(0x32e))]([])),_0x1ffdb1(this,_0x4804f1(0x31b),this[_0x4804f1(0x2be)][_0x4804f1(0x1d5)](_0x35f7fc[_0x4804f1(0x2ef)](_0x9ebceb))),_0x1ffdb1(this,_0x4804f1(0x2d4),_0x134956[_0x4804f1(0x2a1)]((_0x9df660,_0x1c3ded)=>{const _0x4b5258=_0x4804f1,_0x28d7e1={'eventID':_0x469b6a[_0x4b5258(0x24d)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4b5258(0x20a)],'memberID':this['_session'][_0x4b5258(0x215)](),'selection':_0x3802f6[_0x4b5258(0x322)](_0x9df660,_0x1c3ded[_0x4b5258(0x172)])}};this[_0x4b5258(0x371)][_0x4b5258(0x30c)](_0x28d7e1,this[_0x4b5258(0x20a)]);},_0x40ab47)),(this[_0x4804f1(0x20a)]=_0x46344e,this['_session']=_0x49b72c,this['_injector']=_0x3f5925,this[_0x4804f1(0x1c3)]=_0x5d4800,this[_0x4804f1(0x267)]=_0x21b8c9,this[_0x4804f1(0x3c1)]=_0x465089,this[_0x4804f1(0x2d9)]=_0x260402,this[_0x4804f1(0x20f)]=_0x2906c9);}get[_0x1f91f3(0x1e6)](){const _0x115754=_0x1f91f3;return this[_0x115754(0x318)][_0x115754(0x2e7)]();}get['roomMembers'](){const _0x4f7833=_0x1f91f3;return this['_roomMembers$'][_0x4f7833(0x2e7)]();}[_0x1f91f3(0x3e3)](){const _0x33b97c=_0x1f91f3;super[_0x33b97c(0x3e3)](),this[_0x33b97c(0x318)][_0x33b97c(0x244)](new Map()),this[_0x33b97c(0x318)]['complete'](),this['_roomMembers$'][_0x33b97c(0x244)]([]),this[_0x33b97c(0x2be)][_0x33b97c(0x30d)]();}[_0x1f91f3(0x32f)](){const _0x37fd04=_0x1f91f3;this['_init']||(this[_0x37fd04(0x3c4)]=!0x0,this[_0x37fd04(0x371)][_0x37fd04(0x336)][_0x37fd04(0x1d5)](_0x35f7fc['takeUntil'](this[_0x37fd04(0x25d)]))['subscribe'](_0x5b3122=>{const _0x55fd34=_0x37fd04;_0x5b3122===_0x5e2e2e[_0x55fd34(0x335)][_0x55fd34(0x2da)]?this['_toggleOnline']():this[_0x55fd34(0x31d)]();}),this['_session']['event$']['pipe'](_0x35f7fc[_0x37fd04(0x269)](this[_0x37fd04(0x25d)]))[_0x37fd04(0x203)](_0x2ee1bf=>{const _0x345710=_0x37fd04,_0x4399ac=_0x2ee1bf['eventID'];_0x4399ac===_0x469b6a['CollaborationEvent'][_0x345710(0x3f7)]&&this['_onCursorUpdate'](_0x2ee1bf),_0x4399ac===_0x469b6a['CollaborationEvent'][_0x345710(0x281)]&&this[_0x345710(0x3df)](_0x2ee1bf);}),this[_0x37fd04(0x2ad)](),this['disposeWithMe'](this['_commandService'][_0x37fd04(0x282)](_0x32fcfa=>{const _0x230962=_0x37fd04;if(this[_0x230962(0x1df)]&&_0x32fcfa['id']===_0x105017[_0x230962(0x292)]['id']&&_0x32fcfa['params'][_0x230962(0x243)]===this['unitID']){const _0x584a42=_0x32fcfa[_0x230962(0x2ed)];this[_0x230962(0x2d4)](_0x584a42[_0x230962(0x179)],_0x584a42[_0x230962(0x184)][0x0]);}})));}['_onCursorUpdate'](_0x41435b){const _0x77b945=_0x1f91f3;var _0x4a4395,_0x3004c8;const {memberID:_0x535081,selection:_0x9db017}=_0x41435b[_0x77b945(0x2a2)],{sheetName:_0x638853,range:_0x59f86e}=_0x3802f6['deserializeRangeWithSheet'](_0x9db017),_0x15f89f={'name':(_0x3004c8=(_0x4a4395=this[_0x77b945(0x267)]['getMember'](this[_0x77b945(0x20a)],_0x535081))==null?void 0x0:_0x4a4395[_0x77b945(0x2c5)])!=null?_0x3004c8:_0x77b945(0x3ca),'range':this[_0x77b945(0x1f5)](_0x638853,_0x59f86e),'sheetID':_0x638853,'color':this[_0x77b945(0x1c3)][_0x77b945(0x256)](_0x535081),'selection':_0x9db017},_0x1831a1=this['cursorInfo'];_0x1831a1[_0x77b945(0x3b0)](_0x535081,_0x15f89f),this[_0x77b945(0x318)][_0x77b945(0x244)](_0x1831a1);}[_0x1f91f3(0x3df)](_0x402589){const _0x4a4655=_0x1f91f3,{memberID:_0x4f3d03}=_0x402589[_0x4a4655(0x2a2)],_0x1ae5b1=this[_0x4a4655(0x1e6)];_0x1ae5b1[_0x4a4655(0x2de)](_0x4f3d03),this[_0x4a4655(0x318)][_0x4a4655(0x244)](_0x1ae5b1);}[_0x1f91f3(0x1f5)](_0x1ec718,_0x59824f){const _0x5c92db=_0x1f91f3;var _0x4755c2,_0x60a098;const _0x2c5567=(_0x60a098=(_0x4755c2=this[_0x5c92db(0x3c1)]['getUniverSheetInstance'](this[_0x5c92db(0x20a)]))==null?void 0x0:_0x4755c2[_0x5c92db(0x288)](_0x1ec718))==null?void 0x0:_0x60a098[_0x5c92db(0x221)]();return(_0x2c5567==null?void 0x0:_0x2c5567[_0x5c92db(0x176)](_0x4491a4=>_0x134956[_0x5c92db(0x26e)][_0x5c92db(0x3d4)](_0x4491a4,_0x59824f)))||_0x59824f;}[_0x1f91f3(0x2ad)](){const _0x494562=_0x1f91f3,_0x14ecac=new _0x134956[(_0x494562(0x2f7))](),_0x31930d=_0x49cc2c(),_0x14e3d1=()=>{const _0x32ff7d=_0x494562;_0x14ecac[_0x32ff7d(0x3e3)]();const _0x25b368=(_0x34a3a8,_0xeafa38,_0xe2d226,_0x15d31b)=>{const _0xcc6de5=_0x32ff7d;let _0x1bc956=[];switch(_0x34a3a8['id']){case _0x105017[_0xcc6de5(0x30e)][_0xcc6de5(0x355)]:{_0x1bc956=_0x105017[_0xcc6de5(0x3f9)](_0x34a3a8,_0x15d31b);break;}case _0x105017[_0xcc6de5(0x30e)][_0xcc6de5(0x287)]:{_0x1bc956=_0x105017[_0xcc6de5(0x2f2)](_0x34a3a8,_0x15d31b);break;}case _0x105017[_0xcc6de5(0x30e)][_0xcc6de5(0x343)]:{_0x1bc956=_0x105017[_0xcc6de5(0x2bc)](_0x34a3a8,_0x15d31b);break;}case _0x105017[_0xcc6de5(0x30e)][_0xcc6de5(0x33f)]:{_0x1bc956=_0x105017['handleInsertRangeMoveDown'](_0x34a3a8,_0x15d31b);break;}case _0x105017[_0xcc6de5(0x30e)][_0xcc6de5(0x3bc)]:{_0x1bc956=_0x105017[_0xcc6de5(0x1b3)](_0x34a3a8,_0x15d31b);break;}case _0x105017['EffectRefRangId'][_0xcc6de5(0x1ce)]:{_0x1bc956=_0x105017[_0xcc6de5(0x180)](_0x34a3a8,_0x15d31b);break;}case _0x105017['EffectRefRangId'][_0xcc6de5(0x182)]:{_0x1bc956=_0x105017[_0xcc6de5(0x2dd)](_0x34a3a8,_0x15d31b);break;}case _0x105017[_0xcc6de5(0x30e)]['RemoveColCommandId']:{_0x1bc956=_0x105017['handleIRemoveCol'](_0x34a3a8,_0x15d31b);break;}case _0x105017['EffectRefRangId'][_0xcc6de5(0x3fc)]:{_0x1bc956=_0x105017['handleIRemoveRow'](_0x34a3a8,_0x15d31b);break;}}const _0x5111a8=_0x105017['runRefRangeMutations'](_0x1bc956,_0x15d31b),_0x245e0b=this[_0xcc6de5(0x1e6)][_0xcc6de5(0x21e)](_0xeafa38);if(_0x245e0b&&_0x5111a8){const _0x26a49c={..._0x245e0b,'range':_0x5111a8};this[_0xcc6de5(0x1e6)][_0xcc6de5(0x3b0)](_0xeafa38,_0x26a49c),_0x31930d(()=>{const _0x5b2123=_0xcc6de5,_0x33abf9=this[_0x5b2123(0x20f)][_0x5b2123(0x1a3)](_0x5111a8,_0x23a5ec=>(_0x33abf9[_0x5b2123(0x3e3)](),_0x25b368(_0x23a5ec,_0xeafa38,_0xe2d226,_0x5111a8)));_0x14ecac['add'](_0x33abf9);});}return{'redos':[],'undos':[]};};this[_0x32ff7d(0x1e6)][_0x32ff7d(0x1da)]((_0x5ff465,_0x1b6d3a)=>{const _0x4d4ff9=_0x32ff7d,{range:_0x1a1530,sheetID:_0xc7eef5}=_0x5ff465,_0x13e173=this[_0x4d4ff9(0x20f)][_0x4d4ff9(0x1a3)](_0x1a1530,_0x3c7aac=>(_0x13e173[_0x4d4ff9(0x3e3)](),_0x25b368(_0x3c7aac,_0x1b6d3a,_0xc7eef5,_0x1a1530)));_0x14ecac['add'](_0x13e173);});};this[_0x494562(0x20d)](_0x134956[_0x494562(0x3dc)](this[_0x494562(0x318)][_0x494562(0x203)](()=>{_0x14e3d1();})));}['_toggleOnline'](){const _0x477611=_0x1f91f3;var _0x313780,_0x59d698;if(this[_0x477611(0x1df)]=!0x0,((_0x313780=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x313780[_0x477611(0x333)]())!==this[_0x477611(0x20a)])return;const _0x23e40b=(_0x59d698=this[_0x477611(0x314)][_0x477611(0x21e)](_0x105017[_0x477611(0x1bc)])['getCurrentSelections']())==null?void 0x0:_0x59d698[0x0],_0x49447a=this[_0x477611(0x3c1)][_0x477611(0x22e)](_0x134956['UniverInstanceType'][_0x477611(0x38a)])[_0x477611(0x222)]();_0x23e40b&&_0x49447a&&this['_updateLocalCursor'](_0x49447a[_0x477611(0x37f)](),_0x23e40b);}[_0x1f91f3(0x31d)](){this['_online']=!0x1;}};_0x1fc762=_0xd6ba72([_0x53fe16(0x2,_0x134956[_0x1f91f3(0x3a4)](_0x134956[_0x1f91f3(0x3ba)])),_0x53fe16(0x3,_0x134956['Inject'](_0x519a71)),_0x53fe16(0x4,_0x134956[_0x1f91f3(0x3a4)](_0x5e2e2e['MemberService'])),_0x53fe16(0x5,_0x134956['IUniverInstanceService']),_0x53fe16(0x6,_0x134956[_0x1f91f3(0x361)]),_0x53fe16(0x7,_0x134956[_0x1f91f3(0x3a4)](_0x105017['RefRangeService']))],_0x1fc762);var _0x5cdd97=Object['getOwnPropertyDescriptor'],_0x587a2a=(_0x273123,_0x54db76,_0x265898,_0x272487)=>{const _0x1787d5=_0x1f91f3;for(var _0x1097f6=_0x272487>0x1?void 0x0:_0x272487?_0x5cdd97(_0x54db76,_0x265898):_0x54db76,_0x38503f=_0x273123[_0x1787d5(0x3f6)]-0x1,_0x500b2f;_0x38503f>=0x0;_0x38503f--)(_0x500b2f=_0x273123[_0x38503f])&&(_0x1097f6=_0x500b2f(_0x1097f6)||_0x1097f6);return _0x1097f6;},_0x3bf860=(_0x5550f1,_0x11739c)=>(_0x14668a,_0x5e6cab)=>_0x11739c(_0x14668a,_0x5e6cab,_0x5550f1);let _0x5059c3=class extends _0x134956[_0x1f91f3(0x3a9)]{constructor(_0xd3fbc8,_0x1d2d0f,_0x367782){const _0x2ec151=_0x1f91f3;super(),_0x1ffdb1(this,_0x2ec151(0x30a),new Map()),_0x1ffdb1(this,_0x2ec151(0x169),new _0x35f7fc['Subject']()),(this[_0x2ec151(0x3c1)]=_0xd3fbc8,this[_0x2ec151(0x314)]=_0x1d2d0f,this[_0x2ec151(0x1ba)]=_0x367782,this[_0x2ec151(0x3c4)]());}[_0x1f91f3(0x3e3)](){const _0x2f0620=_0x1f91f3;super[_0x2f0620(0x3e3)](),this[_0x2f0620(0x169)]['complete'](),this[_0x2f0620(0x30a)][_0x2f0620(0x1da)](_0x5c648a=>_0x5c648a[_0x2f0620(0x3e3)]());}[_0x1f91f3(0x2f9)](_0x588059){const _0x48561c=_0x1f91f3;return this['_entities'][_0x48561c(0x1bf)](_0x588059)?this[_0x48561c(0x30a)][_0x48561c(0x21e)](_0x588059)[_0x48561c(0x397)]:this[_0x48561c(0x169)][_0x48561c(0x1d5)](_0x35f7fc[_0x48561c(0x233)](_0x2419bd=>_0x2419bd[_0x48561c(0x20a)]===_0x588059),_0x35f7fc[_0x48561c(0x357)](_0x5d0d51=>_0x5d0d51[_0x48561c(0x397)]));}[_0x1f91f3(0x3c4)](){const _0xe8024d=_0x1f91f3;this['_univerInstanceService'][_0xe8024d(0x1c7)](_0x134956['UniverInstanceType'][_0xe8024d(0x38a)])[_0xe8024d(0x1d5)](_0x35f7fc[_0xe8024d(0x269)](this[_0xe8024d(0x25d)]))[_0xe8024d(0x203)](async _0x286740=>{const _0x1d6ac7=_0xe8024d,_0x1e569a=_0x286740[_0x1d6ac7(0x333)](),_0x1cfbe7=await this['_startSheetCollabCursor'](_0x1e569a);this['_entityInit$'][_0x1d6ac7(0x244)](_0x1cfbe7),this[_0x1d6ac7(0x30a)][_0x1d6ac7(0x3b0)](_0x1e569a,_0x1cfbe7);}),this[_0xe8024d(0x3c1)]['getTypeOfUnitAdded$'](_0x134956[_0xe8024d(0x3eb)][_0xe8024d(0x1e7)])[_0xe8024d(0x1d5)](_0x35f7fc[_0xe8024d(0x269)](this[_0xe8024d(0x25d)]))[_0xe8024d(0x1d5)](_0x35f7fc[_0xe8024d(0x233)](_0x5ad8de=>!_0x5ad8de['getUnitId']()[_0xe8024d(0x303)]('__')))['subscribe'](async _0x8429c5=>{const _0x2ea5ed=_0xe8024d,_0x33d4d2=_0x8429c5[_0x2ea5ed(0x333)](),_0x361223=await this[_0x2ea5ed(0x35f)](_0x33d4d2);this[_0x2ea5ed(0x169)][_0x2ea5ed(0x244)](_0x361223),this['_entities'][_0x2ea5ed(0x3b0)](_0x33d4d2,_0x361223);}),_0x35f7fc[_0xe8024d(0x3c6)](this[_0xe8024d(0x3c1)][_0xe8024d(0x2e0)](_0x134956[_0xe8024d(0x3eb)][_0xe8024d(0x1e7)]),this[_0xe8024d(0x3c1)][_0xe8024d(0x2e0)](_0x134956[_0xe8024d(0x3eb)][_0xe8024d(0x38a)]))[_0xe8024d(0x1d5)](_0x35f7fc[_0xe8024d(0x269)](this[_0xe8024d(0x25d)]))['subscribe'](_0x541663=>{const _0x4fc47d=_0xe8024d,_0x1cb1c8=_0x541663[_0x4fc47d(0x333)](),_0x40c2cd=this[_0x4fc47d(0x30a)]['get'](_0x1cb1c8);_0x40c2cd&&(_0x40c2cd[_0x4fc47d(0x3e3)](),this['_entities'][_0x4fc47d(0x2de)](_0x1cb1c8));});}async[_0x1f91f3(0x367)](_0xbbe492){const _0x4d7188=_0x1f91f3,_0xb40780=await this[_0x4d7188(0x1ba)][_0x4d7188(0x294)](_0xbbe492),_0x208bb6=this['_injector'][_0x4d7188(0x16b)](_0x1fc762,_0xbbe492,_0xb40780);return _0x208bb6[_0x4d7188(0x32f)](),_0x208bb6;}async[_0x1f91f3(0x35f)](_0x1d1dce){const _0xb69470=_0x1f91f3,_0x43bdf2=await this[_0xb69470(0x1ba)]['requireSession'](_0x1d1dce),_0x310ffe=this[_0xb69470(0x314)][_0xb69470(0x16b)](_0x1692a8,_0x1d1dce,_0x43bdf2);return _0x310ffe['init'](),_0x310ffe;}};_0x5059c3=_0x587a2a([_0x3bf860(0x0,_0x134956[_0x1f91f3(0x3ff)]),_0x3bf860(0x1,_0x134956[_0x1f91f3(0x3a4)](_0x134956['Injector'])),_0x3bf860(0x2,_0x134956[_0x1f91f3(0x3a4)](_0x5e2e2e['CollaborationSessionService']))],_0x5059c3);const _0x34ce05=0x14,_0x2ae2ee=0xc8,_0x43b5bd=0x4,_0xbc3845=0x5;function _0x2b6d13(_0x13c406,_0x1bbfcd){const _0x16b38b=_0x1f91f3;let {radius:_0x48ac76,width:_0x5ad9a5,height:_0x4c1e41}=_0x1bbfcd;_0x48ac76=_0x48ac76!=null?_0x48ac76:0x0,_0x5ad9a5=_0x5ad9a5!=null?_0x5ad9a5:0x1e,_0x4c1e41=_0x4c1e41!=null?_0x4c1e41:0x1e;let _0x3b581f=0x0,_0x1eb26f=0x0,_0x2d84a8=0x0;_0x3b581f=_0x1eb26f=_0x2d84a8=Math['min'](_0x48ac76,_0x5ad9a5/0x2,_0x4c1e41/0x2),_0x13c406[_0x16b38b(0x36d)](),_0x13c406[_0x16b38b(0x23a)](_0x3b581f,0x0),_0x13c406[_0x16b38b(0x27d)](_0x5ad9a5-_0x1eb26f,0x0),_0x13c406['arc'](_0x5ad9a5-_0x1eb26f,_0x1eb26f,_0x1eb26f,Math['PI']*0x3/0x2,0x0,!0x1),_0x13c406[_0x16b38b(0x27d)](_0x5ad9a5,_0x4c1e41-_0x2d84a8),_0x13c406[_0x16b38b(0x307)](_0x5ad9a5-_0x2d84a8,_0x4c1e41-_0x2d84a8,_0x2d84a8,0x0,Math['PI']/0x2,!0x1),_0x13c406[_0x16b38b(0x27d)](0x0,_0x4c1e41),_0x13c406[_0x16b38b(0x27d)](0x0,_0x3b581f),_0x13c406[_0x16b38b(0x307)](_0x3b581f,_0x3b581f,_0x3b581f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x13c406[_0x16b38b(0x3d2)](),_0x1bbfcd[_0x16b38b(0x327)]&&(_0x13c406['save'](),_0x13c406['fillStyle']=_0x1bbfcd[_0x16b38b(0x327)],_0x1bbfcd[_0x16b38b(0x289)]===_0x16b38b(0x3f0)?_0x13c406[_0x16b38b(0x327)]('evenodd'):_0x13c406[_0x16b38b(0x327)](),_0x13c406['restore']());}class _0x220dd7 extends _0x31808c['Shape']{constructor(_0x2527d9,_0xac7bd7){const _0x3cd343=_0x1f91f3;super(_0x2527d9,_0xac7bd7),_0x1ffdb1(this,_0x3cd343(0x3a7)),_0x1ffdb1(this,'text'),(this[_0x3cd343(0x3a7)]=_0xac7bd7==null?void 0x0:_0xac7bd7[_0x3cd343(0x3a7)],this[_0x3cd343(0x1dd)]=_0xac7bd7==null?void 0x0:_0xac7bd7[_0x3cd343(0x1dd)]);}static['drawWith'](_0x26335e,_0x3226f3){const _0x3e036a=_0x1f91f3,{text:_0x3d88b4,color:_0x49bb71}=_0x3226f3;_0x26335e[_0x3e036a(0x2a5)](),_0x26335e[_0x3e036a(0x192)]=_0x3e036a(0x1e0);const _0x2d124a=_0x26335e[_0x3e036a(0x3fe)](_0x3d88b4)[_0x3e036a(0x2bb)],_0x5009a1=Math['min'](_0x2d124a+0x2*_0x43b5bd,_0x2ae2ee);_0x2b6d13(_0x26335e,{'height':_0x34ce05,'radius':0x4,'width':_0x5009a1,'fill':_0x49bb71}),_0x26335e[_0x3e036a(0x359)]=_0x3e036a(0x2ba);const _0x46a9a4=_0x43b5bd,_0x4b4a41=_0x34ce05-_0xbc3845,_0x539391=_0x2ae2ee-0x2*_0x43b5bd;if(_0x2d124a>_0x539391){let _0x5f381c='',_0x2199ea=0x0;for(const _0xb901bb of _0x3d88b4){const _0x25a0f2=_0x26335e[_0x3e036a(0x3fe)](_0xb901bb)[_0x3e036a(0x2bb)];if(_0x2199ea+_0x25a0f2<=_0x539391-_0x26335e[_0x3e036a(0x3fe)](_0x3e036a(0x1c5))['width'])_0x5f381c+=_0xb901bb,_0x2199ea+=_0x25a0f2;else{_0x5f381c+='...';break;}}_0x26335e['fillText'](_0x5f381c,_0x46a9a4,_0x4b4a41);}else _0x26335e[_0x3e036a(0x193)](_0x3d88b4,_0x46a9a4,_0x4b4a41);_0x26335e['restore']();}[_0x1f91f3(0x3de)](_0x4d8198){const _0x52101d=_0x1f91f3;_0x220dd7[_0x52101d(0x181)](_0x4d8198,this);}}const _0x53d25f='collab-text-anchor-',_0x195100=_0x1f91f3(0x358),_0x4b4469=_0x1f91f3(0x352),_0x24834b=0x6,_0xea7e73=1.5,_0x1f5f5a=0x4,_0x5a569f=1.5,_0x3f5e61='rgba(255,\x20255,\x20255,\x200.01)';class _0x49bd29{constructor(_0x43169a,_0x1ecaea,_0x32be0f,_0x57c182){const _0x123114=_0x1f91f3;_0x1ffdb1(this,_0x123114(0x1a2),[]),_0x1ffdb1(this,_0x123114(0x283),null),_0x1ffdb1(this,'_textBubble',null),_0x1ffdb1(this,'_anchorDot',null),_0x1ffdb1(this,_0x123114(0x2df),null),_0x1ffdb1(this,_0x123114(0x1e2),null),(this[_0x123114(0x198)]=_0x43169a,this['_scene']=_0x1ecaea,this[_0x123114(0x295)]=_0x32be0f,this[_0x123114(0x250)]=_0x57c182,this[_0x123114(0x2f4)]());}set[_0x1f91f3(0x2b3)](_0x32ea48){const _0xbed55f=_0x1f91f3;_0x32ea48?(this[_0xbed55f(0x1b4)]&&this['_anchorDot'][_0xbed55f(0x18c)](),this[_0xbed55f(0x1ff)]&&this[_0xbed55f(0x1ff)]['show']()):(this[_0xbed55f(0x1b4)]&&this['_anchorDot'][_0xbed55f(0x325)](),this['_textBubble']&&this[_0xbed55f(0x1ff)][_0xbed55f(0x18c)]());}[_0x1f91f3(0x3e3)](){const _0x33d93f=_0x1f91f3;for(const _0x3d196e of this[_0x33d93f(0x1a2)])_0x3d196e['dispose']();this['_textBubble']&&this[_0x33d93f(0x1ff)]['dispose'](),this[_0x33d93f(0x1b4)]&&this[_0x33d93f(0x1b4)][_0x33d93f(0x3e3)](),this[_0x33d93f(0x283)]&&this[_0x33d93f(0x283)]['dispose'](),this['_eventUnsubscribe']&&this[_0x33d93f(0x1e2)]();}[_0x1f91f3(0x2f4)](){const _0x4f0767=_0x1f91f3;var _0x318228;const {_docSkeleton:_0x5bd50e,_document:_0x1a8680}=this,{color:_0x31caef,name:_0x257fe9,ranges:_0x56d044}=this[_0x4f0767(0x198)],_0x5e9320=_0x1a8680['getOffsetConfig'](),{docsLeft:_0xba758e,docsTop:_0x45ba05}=_0x5e9320,_0x1942fb=new _0x241046[(_0x4f0767(0x1e3))](_0x5e9320,_0x5bd50e);for(const {startOffset:_0xd8da25,endOffset:_0x452d78,rangeType:_0x44e9de,segmentId:_0x49c56e,segmentPage:_0x3fd1e9,collapsed:_0x34abac,isActive:_0x5c258a}of _0x56d044){const _0x4dfe27=_0x5bd50e[_0x4f0767(0x2e2)](_0xd8da25,!0x0,_0x49c56e,_0x3fd1e9);let _0x514355=_0x5bd50e[_0x4f0767(0x2e2)](_0x452d78,!0x0,_0x49c56e,_0x3fd1e9);if(_0x514355==null&&(_0x514355=_0x5bd50e[_0x4f0767(0x2e2)](_0x452d78-0x1,!0x1,_0x49c56e,_0x3fd1e9)),_0x5c258a){const {contentBoxPointGroup:_0xcf024}=_0x1942fb['getRangePointData'](_0x514355,_0x514355);if(_0xcf024[_0x4f0767(0x3f6)]===0x0)continue;this[_0x4f0767(0x3da)](_0x31caef,_0xcf024,_0xba758e,_0x45ba05,_0x257fe9),this[_0x4f0767(0x1e2)]=this[_0x4f0767(0x3b1)]();}if(_0x4dfe27&&_0x514355){if(_0x44e9de===_0x134956[_0x4f0767(0x251)][_0x4f0767(0x204)]){const _0x54e605=new _0x241046[(_0x4f0767(0x16a))](_0x5e9320,_0x5bd50e),{pointGroup:_0x5d011c}=(_0x318228=_0x54e605[_0x4f0767(0x3e8)](_0x4dfe27,_0x514355))!=null?_0x318228:{};if(_0x5d011c==null||_0x5d011c['length']===0x0)continue;this[_0x4f0767(0x311)](_0x31caef,_0x5d011c,_0xba758e,_0x45ba05);}else{if(!_0x34abac){const {borderBoxPointGroup:_0x5b177a}=_0x1942fb[_0x4f0767(0x3e8)](_0x4dfe27,_0x514355);if(_0x5b177a['length']===0x0)continue;this['_drawTextRange'](_0x31caef,_0x5b177a,_0xba758e,_0x45ba05);}}}}}['_drawAnchor'](_0x38b4f1,_0x73b456,_0x3bc18e,_0x443c33,_0x22ef0d){const _0x49aeb9=_0x1f91f3,_0x2682c9=this[_0x49aeb9(0x1db)](_0x73b456),{left:_0x496ba1,top:_0x24003f,height:_0x1f8e5e}=_0x2682c9,_0x11378e=this[_0x49aeb9(0x328)](),_0x158428=_0x5a569f/_0x11378e,_0x59a251=new _0x31808c[(_0x49aeb9(0x392))](_0x53d25f+_0x134956[_0x49aeb9(0x29f)][_0x49aeb9(0x26b)](_0x24834b),{'left':_0x496ba1+_0x3bc18e-_0x158428,'top':_0x24003f+_0x443c33,'height':_0x1f8e5e,'width':_0xea7e73,'fill':_0x38b4f1||_0x31808c[_0x49aeb9(0x20c)](_0x134956[_0x49aeb9(0x23f)][_0x49aeb9(0x1eb)],0x0),'strokeWidth':_0x158428,'stroke':_0x3f5e61,'evented':!0x0});this[_0x49aeb9(0x283)]=_0x59a251,this[_0x49aeb9(0x247)][_0x49aeb9(0x34d)](_0x59a251,_0x241046['TEXT_RANGE_LAYER_INDEX']);const _0x2ae2bb=new _0x31808c['Rect'](_0x53d25f+_0x134956[_0x49aeb9(0x29f)][_0x49aeb9(0x26b)](_0x24834b),{'left':_0x496ba1+_0x3bc18e-_0x158428,'top':_0x24003f+_0x443c33-_0x1f5f5a/0x2,'height':_0x1f5f5a,'width':_0x1f5f5a,'fill':_0x38b4f1||_0x31808c['getColor'](_0x134956[_0x49aeb9(0x23f)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x38b4f1||_0x31808c[_0x49aeb9(0x20c)](_0x134956[_0x49aeb9(0x23f)][_0x49aeb9(0x1eb)],0x0),'evented':!0x1});this[_0x49aeb9(0x1b4)]=_0x2ae2bb,this[_0x49aeb9(0x247)][_0x49aeb9(0x34d)](_0x2ae2bb,_0x241046[_0x49aeb9(0x19c)]);const _0x20cb73=new _0x220dd7(_0x53d25f+_0x134956[_0x49aeb9(0x29f)]['generateRandomId'](_0x24834b),{'left':_0x496ba1+_0x3bc18e-_0x158428,'top':_0x24003f+_0x443c33-_0x34ce05,'text':_0x22ef0d,'color':_0x38b4f1});this[_0x49aeb9(0x1ff)]=_0x20cb73,this[_0x49aeb9(0x247)][_0x49aeb9(0x34d)](_0x20cb73,_0x241046[_0x49aeb9(0x19c)]),this[_0x49aeb9(0x2b3)]=!0x1;}[_0x1f91f3(0x3b1)](){const _0x1ebbcc=_0x1f91f3,_0x9cce17=this['_anchor'][_0x1ebbcc(0x2aa)][_0x1ebbcc(0x259)](()=>{const _0x189a1b=_0x1ebbcc;this[_0x189a1b(0x2b3)]=!0x0;}),_0x20107c=this[_0x1ebbcc(0x283)][_0x1ebbcc(0x31c)][_0x1ebbcc(0x259)](()=>{const _0x3b26dd=_0x1ebbcc;this[_0x3b26dd(0x2df)]&&clearTimeout(this[_0x3b26dd(0x2df)]),this[_0x3b26dd(0x2df)]=setTimeout(()=>{const _0x56723f=_0x3b26dd;this[_0x56723f(0x2b3)]=!0x1;},0x7d0);});return()=>{const _0x5311f6=_0x1ebbcc;_0x9cce17[_0x5311f6(0x3ce)](),_0x20107c[_0x5311f6(0x3ce)]();};}['_drawTextRange'](_0x356304,_0x5ccde7,_0x10024d,_0x3245c3){const _0x168acf=_0x1f91f3,_0x542136=new _0x134956['ColorKit'](_0x356304)[_0x168acf(0x170)](0.2)[_0x168acf(0x1a4)](),_0x240022=new _0x31808c['RegularPolygon'](_0x195100+_0x134956[_0x168acf(0x29f)][_0x168acf(0x26b)](_0x24834b),{'pointsGroup':_0x5ccde7,'fill':_0x542136||_0x31808c[_0x168acf(0x20c)](_0x134956['COLORS'][_0x168acf(0x1eb)],0.2),'left':_0x10024d,'top':_0x3245c3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x168acf(0x1a2)][_0x168acf(0x2fb)](_0x240022),this[_0x168acf(0x247)][_0x168acf(0x34d)](_0x240022,_0x241046[_0x168acf(0x19c)]);}['_drawRectRange'](_0x3e7419,_0x2a76aa,_0x968abc,_0x1ef49e){const _0x24d2ca=_0x1f91f3,_0x4857a3=new _0x134956[(_0x24d2ca(0x3e9))](_0x3e7419)[_0x24d2ca(0x170)](0.2)['toRgbString'](),_0x1fd697=new _0x31808c[(_0x24d2ca(0x36c))](_0x4b4469+_0x134956[_0x24d2ca(0x29f)][_0x24d2ca(0x26b)](_0x24834b),{'pointsGroup':_0x2a76aa,'fill':_0x4857a3||_0x31808c[_0x24d2ca(0x20c)](_0x134956['COLORS'][_0x24d2ca(0x1eb)],0.2),'left':_0x968abc,'top':_0x1ef49e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24d2ca(0x1a2)][_0x24d2ca(0x2fb)](_0x1fd697),this[_0x24d2ca(0x247)]['addObject'](_0x1fd697,_0x241046[_0x24d2ca(0x19c)]);}[_0x1f91f3(0x1db)](_0x84e97e){const _0x705c93=_0x84e97e[0x0],_0x37b1cd=_0x705c93[0x0],_0x247c3f=_0x705c93[0x2],{x:_0x47d2cc,y:_0x268939}=_0x37b1cd,{x:_0x248190,y:_0x7671a1}=_0x247c3f;return{'left':_0x47d2cc,'top':_0x268939,'width':_0x248190-_0x47d2cc,'height':_0x7671a1-_0x268939};}['_getScale'](){const _0x513b97=_0x1f91f3,{scaleX:_0x39e920,scaleY:_0x595a4b}=this[_0x513b97(0x247)][_0x513b97(0x205)]();return Math['max'](_0x39e920,_0x595a4b);}}var _0x10546a=Object[_0x1f91f3(0x29b)],_0x51d736=(_0x5b2753,_0xbcaf55,_0x5ad30b,_0xd2465a)=>{const _0x1d7c66=_0x1f91f3;for(var _0x36c6c9=_0xd2465a>0x1?void 0x0:_0xd2465a?_0x10546a(_0xbcaf55,_0x5ad30b):_0xbcaf55,_0x43bf02=_0x5b2753[_0x1d7c66(0x3f6)]-0x1,_0x5131c4;_0x43bf02>=0x0;_0x43bf02--)(_0x5131c4=_0x5b2753[_0x43bf02])&&(_0x36c6c9=_0x5131c4(_0x36c6c9)||_0x36c6c9);return _0x36c6c9;},_0x48afdd=(_0x4c4dc8,_0x55b70a)=>(_0x4395d8,_0xd5e313)=>_0x55b70a(_0x4395d8,_0xd5e313,_0x4c4dc8);let _0x1b1f08=class extends _0x134956['RxDisposable']{constructor(_0x5658c5,_0x124f05,_0x2beecb,_0x52a35d,_0xdc4ae5){const _0x1683cd=_0x1f91f3;super(),_0x1ffdb1(this,_0x1683cd(0x214),[]),_0x1ffdb1(this,_0x1683cd(0x22f),[]),(this[_0x1683cd(0x278)]=_0x5658c5,this[_0x1683cd(0x33c)]=_0x124f05,this['_collabCursorController']=_0x2beecb,this[_0x1683cd(0x2d9)]=_0x52a35d,this['_themeService']=_0xdc4ae5,this['_init']());}[_0x1f91f3(0x3c4)](){const _0x5103f4=_0x1f91f3,_0x3698ab=this['_context']['unitId'],_0x218798=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x35f7fc[_0x5103f4(0x3dd)]([this['_collabCursorController']['getCollabCursors$'](_0x3698ab),this[_0x5103f4(0x28f)][_0x5103f4(0x260)]])[_0x5103f4(0x1d5)](_0x486b4f[_0x5103f4(0x2f3)](([_0x36dfd3,_0x5406da])=>({'skeleton':_0x218798['getSkeleton'](),'cursors':[..._0x36dfd3[_0x5103f4(0x29c)]()]['flatMap'](_0x522f60=>({..._0x522f60,'color':this['_themeService'][_0x5103f4(0x1ee)](_0x522f60[_0x5103f4(0x3a7)])}))})))[_0x5103f4(0x203)](_0x35c791=>{if(this['_removeCollabCursors'](),_0x35c791){const {skeleton:_0x33f078,cursors:_0x3be910}=_0x35c791;this['_updateCollabCursors'](_0x33f078,_0x3be910);}})),this['_initResize'](),this[_0x5103f4(0x3cd)]();}['_updateCollabCursors'](_0x215260,_0x31539a){const _0x1df3ba=_0x1f91f3,{scene:_0x1afc1f,mainComponent:_0x3af2db}=this['_context'],_0x5bfd00=_0x31539a[_0x1df3ba(0x2f3)](_0x51c488=>new _0x49bd29(_0x51c488,_0x1afc1f,_0x215260,_0x3af2db));this['_cursorShapes']=_0x5bfd00,this[_0x1df3ba(0x22f)]=_0x31539a;}[_0x1f91f3(0x2ca)](){const _0x23e9c7=_0x1f91f3;this[_0x23e9c7(0x36e)]();const {scene:_0x100896,mainComponent:_0x291e19}=this[_0x23e9c7(0x278)],_0x346d40=this['_docSkeletonManagerService'][_0x23e9c7(0x39f)](),_0x4ace7a=this[_0x23e9c7(0x22f)][_0x23e9c7(0x2f3)](_0x270ac0=>new _0x49bd29(_0x270ac0,_0x100896,_0x346d40,_0x291e19));this[_0x23e9c7(0x214)]=_0x4ace7a;}['_removeCollabCursors'](){const _0x4d24f8=_0x1f91f3;this[_0x4d24f8(0x214)][_0x4d24f8(0x1da)](_0x3945de=>_0x3945de[_0x4d24f8(0x3e3)]()),this[_0x4d24f8(0x214)]=[];}[_0x1f91f3(0x3cd)](){const _0x54862a=_0x1f91f3,_0x1fa7b0=[_0x241046[_0x54862a(0x21f)]['id']];this[_0x54862a(0x20d)](this['_commandService'][_0x54862a(0x282)](_0x2db82d=>{const _0x46587b=_0x54862a;_0x1fa7b0[_0x46587b(0x25f)](_0x2db82d['id'])&&_0x2db82d[_0x46587b(0x2ed)]['unitId']===this[_0x46587b(0x278)][_0x46587b(0x243)]&&this[_0x46587b(0x2ca)]();}));}[_0x1f91f3(0x223)](){const _0x5d540e=_0x1f91f3;this[_0x5d540e(0x20d)](_0x134956[_0x5d540e(0x3b5)](this[_0x5d540e(0x278)][_0x5d540e(0x344)]['onTransformChange$'])[_0x5d540e(0x1d5)](_0x486b4f['filter'](_0x394e03=>_0x394e03[_0x5d540e(0x1d4)]===_0x31808c[_0x5d540e(0x27b)][_0x5d540e(0x217)]),_0x486b4f[_0x5d540e(0x30f)](0x10))['subscribe'](()=>{const _0x2791d4=_0x5d540e;this[_0x2791d4(0x2ca)]();}));}};_0x1b1f08=_0x51d736([_0x48afdd(0x1,_0x134956[_0x1f91f3(0x3a4)](_0x5e9066['DocSkeletonManagerService'])),_0x48afdd(0x2,_0x134956['Inject'](_0x5059c3)),_0x48afdd(0x3,_0x134956[_0x1f91f3(0x361)]),_0x48afdd(0x4,_0x134956[_0x1f91f3(0x3a4)](_0x134956[_0x1f91f3(0x37e)]))],_0x1b1f08);const _0x38cf1b=0x1,_0x37e2d3=1.5;class _0x1ea4fa extends _0x31808c[_0x1f91f3(0x2f6)]{constructor(_0x261905,_0x5b9776){const _0x2984a9=_0x1f91f3;super(_0x261905,_0x5b9776),_0x1ffdb1(this,_0x2984a9(0x298)),_0x1ffdb1(this,_0x2984a9(0x30b),!0x1),_0x1ffdb1(this,_0x2984a9(0x31f)),_0x1ffdb1(this,_0x2984a9(0x2b2),''),_0x1ffdb1(this,_0x2984a9(0x2eb),_0x2984a9(0x346)),_0x1ffdb1(this,_0x2984a9(0x24b)),(_0x5b9776&&this[_0x2984a9(0x24e)](_0x5b9776),this[_0x2984a9(0x2aa)][_0x2984a9(0x259)](()=>this[_0x2984a9(0x24e)]({'hovered':!0x0})),this[_0x2984a9(0x31c)][_0x2984a9(0x259)](()=>this[_0x2984a9(0x24e)]({'hovered':!0x1})));}['setShapeProps'](_0x5d24f8){const _0x26bd59=_0x1f91f3;var _0x39970c,_0x63d10c,_0x213b44,_0x4d5186,_0x4219a3,_0x232f03;this['_color']=(_0x39970c=_0x5d24f8[_0x26bd59(0x3a7)])!=null?_0x39970c:this[_0x26bd59(0x298)],this[_0x26bd59(0x30b)]=(_0x63d10c=_0x5d24f8[_0x26bd59(0x291)])!=null?_0x63d10c:this[_0x26bd59(0x30b)],this[_0x26bd59(0x31f)]=(_0x213b44=_0x5d24f8[_0x26bd59(0x172)])!=null?_0x213b44:this[_0x26bd59(0x31f)],this[_0x26bd59(0x2b2)]=(_0x4d5186=_0x5d24f8[_0x26bd59(0x2c5)])!=null?_0x4d5186:this['_name'],this['_labelPosition']=(_0x4219a3=_0x5d24f8[_0x26bd59(0x1bd)])!=null?_0x4219a3:this[_0x26bd59(0x2eb)],this[_0x26bd59(0x24b)]=(_0x232f03=_0x5d24f8['backgroundColor'])!=null?_0x232f03:this[_0x26bd59(0x24b)],this[_0x26bd59(0x1cd)]({'width':_0x5d24f8['width'],'height':_0x5d24f8[_0x26bd59(0x194)]});}[_0x1f91f3(0x3ed)](_0x525973){const _0x34ea1d=_0x1f91f3,{row:_0x1b80d6,column:_0x529475}=_0x525973;if(_0x1b80d6>=this[_0x34ea1d(0x31f)][_0x34ea1d(0x34e)]&&_0x1b80d6<=this[_0x34ea1d(0x31f)][_0x34ea1d(0x338)]&&_0x529475>=this[_0x34ea1d(0x31f)]['startColumn']&&_0x529475<=this[_0x34ea1d(0x31f)]['endColumn']){this[_0x34ea1d(0x24e)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1f91f3(0x379)](_0x3c6d11){return!0x1;}[_0x1f91f3(0x3de)](_0x11f1ab){const _0x3c948b=_0x1f91f3;_0x31808c[_0x3c948b(0x392)]['drawWith'](_0x11f1ab,{'width':this[_0x3c948b(0x2bb)],'height':this[_0x3c948b(0x194)],'strokeWidth':_0x37e2d3,'stroke':this[_0x3c948b(0x298)],'evented':!0x1,'fill':this[_0x3c948b(0x24b)]}),this[_0x3c948b(0x30b)]&&(_0x11f1ab[_0x3c948b(0x2a5)](),_0x11f1ab[_0x3c948b(0x20e)](0x1,0x0,0x0,0x1,this[_0x3c948b(0x2bb)],this['_labelPosition']==='bottom'?0x0:-0x14),_0x220dd7[_0x3c948b(0x181)](_0x11f1ab,{'text':this[_0x3c948b(0x2b2)],'color':this[_0x3c948b(0x298)]}),_0x11f1ab['restore']());}}var _0x425de0=Object[_0x1f91f3(0x29b)],_0x486603=(_0x59d63f,_0x143db6,_0xcf9d44,_0x39fe17)=>{const _0x23a020=_0x1f91f3;for(var _0x4a2dc1=_0x39fe17>0x1?void 0x0:_0x39fe17?_0x425de0(_0x143db6,_0xcf9d44):_0x143db6,_0x1a7b22=_0x59d63f[_0x23a020(0x3f6)]-0x1,_0xfd3353;_0x1a7b22>=0x0;_0x1a7b22--)(_0xfd3353=_0x59d63f[_0x1a7b22])&&(_0x4a2dc1=_0xfd3353(_0x4a2dc1)||_0x4a2dc1);return _0x4a2dc1;},_0x2652fc=(_0x448f72,_0x161ede)=>(_0x50a783,_0x3b5120)=>_0x161ede(_0x50a783,_0x3b5120,_0x448f72);const _0x5b1f4e=0x1389;let _0x1a1ac8=class extends _0x134956[_0x1f91f3(0x3a9)]{constructor(_0x3a9762,_0x54f434,_0x1146b6,_0x17ca58){const _0x3b853d=_0x1f91f3;super(),_0x1ffdb1(this,_0x3b853d(0x22f),new Set()),_0x1ffdb1(this,_0x3b853d(0x391),null),(this[_0x3b853d(0x278)]=_0x3a9762,this[_0x3b853d(0x226)]=_0x54f434,this[_0x3b853d(0x2e4)]=_0x1146b6,this[_0x3b853d(0x28f)]=_0x17ca58,this[_0x3b853d(0x3c4)]());}[_0x1f91f3(0x3c4)](){const _0x8ca5d5=_0x1f91f3;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x8ca5d5(0x1d5)](_0x486b4f[_0x8ca5d5(0x269)](this[_0x8ca5d5(0x25d)]),_0x486b4f['switchMap'](_0x29d90f=>{const _0x1b31e1=_0x8ca5d5;if(_0x29d90f){const _0x30035c=_0x29d90f[_0x1b31e1(0x16c)];return _0x35f7fc[_0x1b31e1(0x3dd)](this['_collabCursorController']['getCollabCursors$'](this[_0x1b31e1(0x278)][_0x1b31e1(0x243)]),this[_0x1b31e1(0x28f)][_0x1b31e1(0x260)])[_0x1b31e1(0x1d5)](_0x486b4f['map'](([_0x59402e,_0x14fb2c])=>{const _0x1fe737=new Map();return _0x59402e['forEach']((_0x171de1,_0x5b2e4d)=>{const _0x324fb2=_0xd94b;if(_0x171de1[_0x324fb2(0x3f3)]===_0x30035c){const _0x249ad4={..._0x171de1};_0x249ad4[_0x324fb2(0x3a7)]=this[_0x324fb2(0x28f)][_0x324fb2(0x1ee)](_0x171de1[_0x324fb2(0x3a7)]),_0x1fe737[_0x324fb2(0x3b0)](_0x5b2e4d,_0x249ad4);}}),{'skeleton':_0x29d90f,'cursors':_0x1fe737};}));}return _0x35f7fc['of']({'skeleton':null,'cursors':new Map()});}))[_0x8ca5d5(0x203)](({skeleton:_0x49df6e,cursors:_0x43add1})=>{const _0x4188d4=_0x8ca5d5;this['_removeCollabCursors'](),_0x49df6e&&this[_0x4188d4(0x235)](_0x49df6e,_0x43add1);}),this[_0x8ca5d5(0x226)]['currentSkeleton$'][_0x8ca5d5(0x203)](_0x4296b0=>{const _0x56f476=_0x8ca5d5;if(_0x4296b0==null)return;const {skeleton:_0x4bdbc0}=_0x4296b0,{scene:_0x553c3a}=this[_0x56f476(0x278)];_0x553c3a['onPointerMove$'][_0x56f476(0x259)](_0x134956[_0x56f476(0x2a1)](_0x35447a=>{const _0x5c0217=_0x56f476;var _0x4178e0,_0x15433c;const {offsetX:_0x51e930,offsetY:_0x21c615}=_0x35447a,{x:_0x4e0b83,y:_0x61ac70}=_0x553c3a[_0x5c0217(0x3af)](_0x31808c[_0x5c0217(0x3e7)][_0x5c0217(0x3c7)]([_0x51e930,_0x21c615])),{scaleX:_0x38669e,scaleY:_0x30bfd0}=_0x553c3a['getAncestorScale'](),_0x53490b=_0x553c3a[_0x5c0217(0x2e5)](_0x31808c['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x5b7454=_0x553c3a[_0x5c0217(0x2b7)](_0x31808c[_0x5c0217(0x3e7)][_0x5c0217(0x3c7)]([_0x4e0b83,_0x61ac70]),_0x53490b),_0x5db8de=_0x4bdbc0['getCellPositionByOffset'](_0x51e930,_0x21c615,_0x38669e,_0x30bfd0,_0x5b7454);((_0x4178e0=this[_0x5c0217(0x391)])==null?void 0x0:_0x4178e0['column'])===_0x5db8de[_0x5c0217(0x3bf)]&&((_0x15433c=this[_0x5c0217(0x391)])==null?void 0x0:_0x15433c['row'])===_0x5db8de['row']||this[_0x5c0217(0x22f)][_0x5c0217(0x1da)](_0xfbd3c2=>{const _0x293fd5=_0x5c0217;_0xfbd3c2[_0x293fd5(0x3ed)](_0x5db8de);});},0x64));});}[_0x1f91f3(0x235)](_0x3a52f0,_0x35eaae){const _0x27f39c=_0x1f91f3;var _0x256068;const _0x80d276=(_0x256068=this[_0x27f39c(0x226)][_0x27f39c(0x380)]())==null?void 0x0:_0x256068['skeleton'];if(!_0x80d276)return;const _0x7a7aea=this[_0x27f39c(0x229)]();if(!_0x7a7aea)return;this['_cursors'][_0x27f39c(0x1da)](_0xffab1a=>{_0xffab1a['makeDirty']();});const {scene:_0x50020d}=_0x7a7aea,_0x5543eb=_0x2e657f(Array['from'](_0x35eaae[_0x27f39c(0x29c)]()))[_0x27f39c(0x2f3)](_0x57c088=>{const _0x22ed88=_0x27f39c,{color:_0x1b7286,range:_0x79f50f,name:_0x2d688c,selection:_0xed547a,sheetID:_0x8e893e}=_0x57c088,{startColumn:_0xdb9507,startRow:_0x17d225,endColumn:_0x268598,endRow:_0x3aadc1}=_0x79f50f,_0x313768=_0x4ffe22[_0x22ed88(0x26c)](_0x17d225,_0xdb9507,_0x50020d,_0x80d276),_0x805361=_0x4ffe22[_0x22ed88(0x26c)](_0x3aadc1,_0x268598,_0x50020d,_0x80d276),{columnHeaderHeightAndMarginTop:_0x6e5398}=_0x80d276,{startX:_0x41fcd4,startY:_0x3f267f}=_0x313768,{endX:_0x398852,endY:_0x4e398d}=_0x805361,_0x136104=_0x398852-_0x41fcd4,_0x5f4684=_0x4e398d-_0x3f267f,_0x1ac388={'labelPosition':_0x3f267f-_0x6e5398>=_0x34ce05?_0x22ed88(0x346):_0x22ed88(0x3fa),'sheetID':_0x8e893e,'range':_0x79f50f,'color':_0x1b7286,'name':_0x2d688c,'selection':_0xed547a,'left':_0x41fcd4,'top':_0x3f267f,'width':_0x136104,'height':_0x5f4684,'evented':!0x1,'zIndex':_0x5b1f4e};return new _0x1ea4fa(_0x2d688c,_0x1ac388);});_0x50020d[_0x27f39c(0x3d7)](_0x5543eb,_0x38cf1b),this[_0x27f39c(0x22f)]=new Set(_0x5543eb);}[_0x1f91f3(0x36e)](){const _0x35e207=_0x1f91f3;var _0x349df6;(_0x349df6=this['_cursors'])==null||_0x349df6[_0x35e207(0x1da)](_0x28c30b=>_0x28c30b[_0x35e207(0x3e3)]());}['_getSheetObject'](){const _0x2e34e5=_0x1f91f3;return _0x4ffe22[_0x2e34e5(0x238)](this[_0x2e34e5(0x278)][_0x2e34e5(0x27e)],this['_context']);}};_0x1a1ac8=_0x486603([_0x2652fc(0x1,_0x134956[_0x1f91f3(0x3a4)](_0x4ffe22[_0x1f91f3(0x21d)])),_0x2652fc(0x2,_0x134956[_0x1f91f3(0x3a4)](_0x5059c3)),_0x2652fc(0x3,_0x134956[_0x1f91f3(0x3a4)](_0x134956[_0x1f91f3(0x37e)]))],_0x1a1ac8);function _0x2e657f(_0x3081ef){const _0xe5bf30=new Map();return _0x3081ef['forEach'](_0xe0cfde=>{const _0x37d4b6=_0xd94b;if(_0xe5bf30[_0x37d4b6(0x1bf)](_0xe0cfde['selection'])){const _0x1293ea=_0xe5bf30[_0x37d4b6(0x21e)](_0xe0cfde['selection']);_0x1293ea[_0x37d4b6(0x2c5)]+=',\x20'+_0xe0cfde['name'];}else _0xe5bf30['set'](_0xe0cfde[_0x37d4b6(0x373)],_0xe0cfde);}),Array['from'](_0xe5bf30['values']());}var _0x3f87c4=function(){const _0x15ff6e=_0x1f91f3;return _0x3f87c4=Object[_0x15ff6e(0x308)]||function(_0x11d26b){const _0x4b4b21=_0x15ff6e;for(var _0x3a566e,_0x32a1e3=0x1,_0x29da69=arguments['length'];_0x32a1e3<_0x29da69;_0x32a1e3++){_0x3a566e=arguments[_0x32a1e3];for(var _0x642a57 in _0x3a566e)Object[_0x4b4b21(0x332)][_0x4b4b21(0x19b)][_0x4b4b21(0x1fc)](_0x3a566e,_0x642a57)&&(_0x11d26b[_0x642a57]=_0x3a566e[_0x642a57]);}return _0x11d26b;},_0x3f87c4[_0x15ff6e(0x2dc)](this,arguments);},_0x1617fa=function(_0x22b613,_0xdba081){const _0x113cf1=_0x1f91f3;var _0x465149={};for(var _0xbeb40f in _0x22b613)Object['prototype'][_0x113cf1(0x19b)][_0x113cf1(0x1fc)](_0x22b613,_0xbeb40f)&&_0xdba081[_0x113cf1(0x3c2)](_0xbeb40f)<0x0&&(_0x465149[_0xbeb40f]=_0x22b613[_0xbeb40f]);if(_0x22b613!=null&&typeof Object[_0x113cf1(0x220)]==_0x113cf1(0x174)){for(var _0x534bc6=0x0,_0xbeb40f=Object[_0x113cf1(0x220)](_0x22b613);_0x534bc6<_0xbeb40f[_0x113cf1(0x3f6)];_0x534bc6++)_0xdba081[_0x113cf1(0x3c2)](_0xbeb40f[_0x534bc6])<0x0&&Object[_0x113cf1(0x332)]['propertyIsEnumerable'][_0x113cf1(0x1fc)](_0x22b613,_0xbeb40f[_0x534bc6])&&(_0x465149[_0xbeb40f[_0x534bc6]]=_0x22b613[_0xbeb40f[_0x534bc6]]);}return _0x465149;},_0xffd5b1=_0x569492['forwardRef'](function(_0x1156f9,_0x5d4804){const _0x5311dc=_0x1f91f3;var _0x21bd57=_0x1156f9[_0x5311dc(0x211)],_0x2dd3b4=_0x1156f9['id'],_0x502dec=_0x1156f9[_0x5311dc(0x316)],_0x340e87=_0x1156f9[_0x5311dc(0x17f)],_0x2af10b=_0x1617fa(_0x1156f9,[_0x5311dc(0x211),'id','className','extend']),_0x577f07='univerjs-icon\x20univerjs-icon-'[_0x5311dc(0x395)](_0x2dd3b4,'\x20')[_0x5311dc(0x395)](_0x502dec||'')[_0x5311dc(0x297)](),_0x395d56=_0x569492['useRef']('_'['concat'](_0x21924d()));return _0x457838(_0x21bd57,''[_0x5311dc(0x395)](_0x2dd3b4),{'defIds':_0x21bd57[_0x5311dc(0x2af)],'idSuffix':_0x395d56[_0x5311dc(0x1f8)]},_0x3f87c4({'ref':_0x5d4804,'className':_0x577f07},_0x2af10b),_0x340e87);});function _0x457838(_0x33454e,_0xd062ec,_0x216d26,_0x38b7d5,_0x39df2d){const _0x31287e=_0x1f91f3;return _0x569492[_0x31287e(0x262)](_0x33454e[_0x31287e(0x3fd)],_0x3f87c4(_0x3f87c4({'key':_0xd062ec},_0x46041c(_0x33454e,_0x216d26,_0x39df2d)),_0x38b7d5),(_0x51320a(_0x33454e,_0x216d26)[_0x31287e(0x2a0)]||[])[_0x31287e(0x2f3)](function(_0x1b9f3e,_0xfdc319){const _0x25bf96=_0x31287e;return _0x457838(_0x1b9f3e,''['concat'](_0xd062ec,'-')['concat'](_0x33454e[_0x25bf96(0x3fd)],'-')[_0x25bf96(0x395)](_0xfdc319),_0x216d26,void 0x0,_0x39df2d);}));}function _0x46041c(_0x39bbf7,_0x12b07f,_0x5ad160){const _0x39b4bd=_0x1f91f3;var _0x124ba8=_0x3f87c4({},_0x39bbf7[_0x39b4bd(0x329)]);_0x5ad160!=null&&_0x5ad160[_0x39b4bd(0x3ef)]&&_0x124ba8[_0x39b4bd(0x327)]===_0x39b4bd(0x3ef)&&(_0x124ba8[_0x39b4bd(0x327)]=_0x5ad160[_0x39b4bd(0x3ef)]),_0x39bbf7[_0x39b4bd(0x3fd)]===_0x39b4bd(0x207)&&_0x124ba8['id']&&(_0x124ba8['id']=_0x124ba8['id']+_0x12b07f[_0x39b4bd(0x186)]),Object[_0x39b4bd(0x1d8)](_0x124ba8)[_0x39b4bd(0x1da)](function(_0xa7655){const _0x56a1d1=_0x39b4bd;var _0x5d31a5=_0xa7655[0x0],_0x30ba9e=_0xa7655[0x1];_0x5d31a5===_0x56a1d1(0x207)&&typeof _0x30ba9e=='string'&&(_0x124ba8[_0x5d31a5]=_0x30ba9e['replace'](/url\(#(.*)\)/,_0x56a1d1(0x19a)[_0x56a1d1(0x395)](_0x12b07f['idSuffix'],')')));});var _0x57adbc=_0x12b07f[_0x39b4bd(0x2af)];return!_0x57adbc||_0x57adbc['length']===0x0||(_0x39bbf7[_0x39b4bd(0x3fd)]===_0x39b4bd(0x3b2)&&_0x124ba8[_0x39b4bd(0x3c5)]&&(_0x124ba8[_0x39b4bd(0x3c5)]=_0x124ba8[_0x39b4bd(0x3c5)]+_0x12b07f[_0x39b4bd(0x186)]),Object[_0x39b4bd(0x1d8)](_0x124ba8)[_0x39b4bd(0x1da)](function(_0x36fc0c){const _0x1e0c46=_0x39b4bd;var _0xe11151=_0x36fc0c[0x0],_0x240950=_0x36fc0c[0x1];typeof _0x240950==_0x1e0c46(0x2cb)&&(_0x124ba8[_0xe11151]=_0x240950[_0x1e0c46(0x3f1)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x12b07f[_0x1e0c46(0x186)],')')));})),_0x124ba8;}function _0x51320a(_0x594add,_0x49c48f){const _0x49d5a0=_0x1f91f3;var _0x20e331,_0x1ce705=_0x49c48f[_0x49d5a0(0x2af)];return!_0x1ce705||_0x1ce705[_0x49d5a0(0x3f6)]===0x0?_0x594add:_0x594add[_0x49d5a0(0x3fd)]===_0x49d5a0(0x271)&&(!((_0x20e331=_0x594add['children'])===null||_0x20e331===void 0x0)&&_0x20e331[_0x49d5a0(0x3f6)])?_0x3f87c4(_0x3f87c4({},_0x594add),{'children':_0x594add['children'][_0x49d5a0(0x2f3)](function(_0x23ab3d){const _0x1db68e=_0x49d5a0;return typeof _0x23ab3d['attrs']['id']==_0x1db68e(0x2cb)&&_0x1ce705&&_0x1ce705[_0x1db68e(0x3c2)](_0x23ab3d['attrs']['id'])>-0x1?_0x3f87c4(_0x3f87c4({},_0x23ab3d),{'attrs':_0x3f87c4(_0x3f87c4({},_0x23ab3d[_0x1db68e(0x329)]),{'id':_0x23ab3d[_0x1db68e(0x329)]['id']+_0x49c48f[_0x1db68e(0x186)]})}):_0x23ab3d;})}):_0x594add;}function _0x21924d(){const _0x383e54=_0x1f91f3;return Math[_0x383e54(0x3e0)]()[_0x383e54(0x246)](0x24)[_0x383e54(0x224)](0x2,0x8);}_0xffd5b1[_0x1f91f3(0x3cb)]=_0x1f91f3(0x2b8);var _0x244bb4={'tag':_0x1f91f3(0x364),'attrs':{'fill':_0x1f91f3(0x255),'viewBox':_0x1f91f3(0x189),'width':_0x1f91f3(0x372),'height':_0x1f91f3(0x372)},'children':[{'tag':'g','attrs':{'clipPath':_0x1f91f3(0x252)},'children':[{'tag':_0x1f91f3(0x354),'attrs':{'stroke':_0x1f91f3(0x2c9),'d':_0x1f91f3(0x38d),'strokeLinecap':_0x1f91f3(0x202),'strokeLinejoin':_0x1f91f3(0x202),'strokeWidth':1.2}}]},{'tag':_0x1f91f3(0x271),'attrs':{},'children':[{'tag':_0x1f91f3(0x25c),'attrs':{'id':_0x1f91f3(0x3d6)},'children':[{'tag':'path','attrs':{'fill':_0x1f91f3(0x258),'d':_0x1f91f3(0x26d)}}]}]}],'defIds':[_0x1f91f3(0x3d6)]},_0x140378=_0x569492[_0x1f91f3(0x279)](function(_0x3f9a3a,_0x1e9ab1){const _0xb7a5fe=_0x1f91f3;return _0x569492[_0xb7a5fe(0x262)](_0xffd5b1,Object[_0xb7a5fe(0x308)]({},_0x3f9a3a,{'id':_0xb7a5fe(0x2e9),'ref':_0x1e9ab1,'icon':_0x244bb4}));});_0x140378['displayName']='OffLineSingle';var _0x571413={'tag':_0x1f91f3(0x364),'attrs':{'fill':_0x1f91f3(0x255),'viewBox':'0\x200\x2017\x2016','width':_0x1f91f3(0x372),'height':_0x1f91f3(0x372)},'children':[{'tag':'g','attrs':{'clipPath':_0x1f91f3(0x1d1)},'children':[{'tag':_0x1f91f3(0x354),'attrs':{'stroke':_0x1f91f3(0x2c9),'d':_0x1f91f3(0x2cc),'strokeLinecap':_0x1f91f3(0x202),'strokeLinejoin':_0x1f91f3(0x202),'strokeWidth':1.2}}]},{'tag':_0x1f91f3(0x271),'attrs':{},'children':[{'tag':_0x1f91f3(0x25c),'attrs':{'id':_0x1f91f3(0x1cb)},'children':[{'tag':_0x1f91f3(0x354),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x1f91f3(0x1cb)]},_0x4d7d8b=_0x569492['forwardRef'](function(_0x2c9ff7,_0x368e79){const _0xf60233=_0x1f91f3;return _0x569492[_0xf60233(0x262)](_0xffd5b1,Object['assign']({},_0x2c9ff7,{'id':_0xf60233(0x334),'ref':_0x368e79,'icon':_0x571413}));});_0x4d7d8b[_0x1f91f3(0x3cb)]=_0x1f91f3(0x1c6);function _0x3d182a(_0x4a9b1c){const _0x5ef78f=_0x1f91f3;switch(_0x4a9b1c){case _0x5e2e2e[_0x5ef78f(0x2bf)]['OFFLINE']:return _0x5ef78f(0x2fc);case _0x5e2e2e['CollaborationStatus']['CONFLICT']:return _0x5ef78f(0x302);case _0x5e2e2e[_0x5ef78f(0x2bf)]['FETCH_MISS']:return _0x5ef78f(0x2e3);case _0x5e2e2e['CollaborationStatus'][_0x5ef78f(0x3b3)]:return _0x5ef78f(0x191);case _0x5e2e2e[_0x5ef78f(0x2bf)]['AWAITING']:case _0x5e2e2e['CollaborationStatus'][_0x5ef78f(0x2c0)]:return _0x5ef78f(0x1c0);case _0x5e2e2e['CollaborationStatus'][_0x5ef78f(0x320)]:case _0x5e2e2e[_0x5ef78f(0x2bf)][_0x5ef78f(0x2ab)]:return _0x5ef78f(0x2a6);}}function _0x1f8961(_0x3c917f){const _0x559986=_0x1f91f3,{status$:_0x311ea9}=_0x3c917f,_0x13887a=_0x4b07f4['useObservable'](_0x311ea9,_0x5e2e2e[_0x559986(0x2bf)][_0x559986(0x3b3)]),_0x22e056=_0x4b07f4['useDependency'](_0x134956[_0x559986(0x3e4)]),_0x391455=_0x4b07f4[_0x559986(0x208)](_0x5e2e2e[_0x559986(0x206)]),_0x44f1b1=_0x13887a!==_0x5e2e2e[_0x559986(0x2bf)][_0x559986(0x3e5)],_0x5cef9b=_0x22e056['t'](_0x3d182a(_0x13887a)),_0x427a7d=_0x44f1b1?_0xc2469['jsx'](_0x4d7d8b,{}):_0xc2469['jsx'](_0x140378,{}),_0x319f5a=_0x569492['useCallback'](()=>{_0x44f1b1||_0x391455['reconnect']();},[_0x44f1b1,_0x391455]);function _0x206ae8(){const _0x43a39f=_0x559986;return _0xc2469['jsxs']('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x319f5a,'children':[_0xc2469[_0x43a39f(0x356)](_0x43a39f(0x33a),{'className':_0x14c7fd['clsx'](_0x43a39f(0x3ec),{'univer-text-green-500':_0x44f1b1,'univer-text-red-500':!_0x44f1b1}),'children':_0x427a7d}),_0xc2469['jsx'](_0x43a39f(0x33a),{'className':_0x43a39f(0x230),'children':_0x5cef9b})]});}return _0x44f1b1?_0x206ae8():_0xc2469[_0x559986(0x356)](_0x14c7fd[_0x559986(0x402)],{'title':_0x22e056['t'](_0x559986(0x25a)),'children':_0x206ae8()});}var _0x4808df=Object[_0x1f91f3(0x29b)],_0x3162b8=(_0x3974fa,_0x4fc751,_0x1136a3,_0x1f93e0)=>{const _0xc24b7=_0x1f91f3;for(var _0x44f612=_0x1f93e0>0x1?void 0x0:_0x1f93e0?_0x4808df(_0x4fc751,_0x1136a3):_0x4fc751,_0x1cac82=_0x3974fa[_0xc24b7(0x3f6)]-0x1,_0x45794a;_0x1cac82>=0x0;_0x1cac82--)(_0x45794a=_0x3974fa[_0x1cac82])&&(_0x44f612=_0x45794a(_0x44f612)||_0x44f612);return _0x44f612;},_0x4ba2f1=(_0x24ea03,_0x590088)=>(_0x13dcd4,_0x3083ad)=>_0x590088(_0x13dcd4,_0x3083ad,_0x24ea03);_0x4e4c58['DesktopCollaborationStatusDisplayController']=class extends _0x134956[_0x1f91f3(0x1fe)]{constructor(_0x2b0112,_0x5846ba,_0x4a88a3,_0x135828){const _0x4e3cbd=_0x1f91f3;super(),_0x1ffdb1(this,'_status$',new _0x35f7fc[(_0x4e3cbd(0x32e))](_0x5e2e2e[_0x4e3cbd(0x2bf)][_0x4e3cbd(0x3b3)])),(this[_0x4e3cbd(0x3c1)]=_0x2b0112,this['_injector']=_0x5846ba,this[_0x4e3cbd(0x1bb)]=_0x4a88a3,this[_0x4e3cbd(0x18b)]=_0x135828,this[_0x4e3cbd(0x1fa)](),this[_0x4e3cbd(0x2b4)]());}[_0x1f91f3(0x2b4)](){const _0x2700f6=_0x1f91f3;this[_0x2700f6(0x20d)](this[_0x2700f6(0x3c1)][_0x2700f6(0x3e1)]['pipe'](_0x35f7fc['switchMap'](()=>{const _0x329d9d=_0x2700f6,_0x194178=this[_0x329d9d(0x3c1)][_0x329d9d(0x3aa)]();return _0x194178?this[_0x329d9d(0x1bb)][_0x329d9d(0x39a)](_0x194178['getUnitId']()):_0x35f7fc['of'](null);}),_0x35f7fc[_0x2700f6(0x357)](_0x15c517=>_0x15c517?_0x15c517[_0x2700f6(0x386)]:_0x35f7fc['of'](_0x5e2e2e[_0x2700f6(0x2bf)][_0x2700f6(0x3b3)])))['subscribe'](_0x1d5312=>{const _0x31af67=_0x2700f6;this[_0x31af67(0x2b0)][_0x31af67(0x244)](_0x1d5312);}));}[_0x1f91f3(0x1fa)](){const _0x16e4e2=_0x1f91f3;this[_0x16e4e2(0x20d)](this[_0x16e4e2(0x18b)][_0x16e4e2(0x305)](_0x4b07f4[_0x16e4e2(0x197)][_0x16e4e2(0x1aa)],()=>_0x4b07f4['connectInjector'](_0x78a473({'status$':this[_0x16e4e2(0x2b0)][_0x16e4e2(0x3a8)]()}),this['_injector'])));}},_0x4e4c58['DesktopCollaborationStatusDisplayController']=_0x3162b8([_0x4ba2f1(0x0,_0x134956[_0x1f91f3(0x3ff)]),_0x4ba2f1(0x1,_0x134956[_0x1f91f3(0x3a4)](_0x134956[_0x1f91f3(0x3ba)])),_0x4ba2f1(0x2,_0x134956[_0x1f91f3(0x3a4)](_0x5e2e2e[_0x1f91f3(0x23b)])),_0x4ba2f1(0x3,_0x4b07f4['IUIPartsService'])],_0x4e4c58[_0x1f91f3(0x2f5)]);function _0x78a473(_0x3691c0){const {status$:_0x124f3b}=_0x3691c0;return function(){const _0x4600a1=_0xd94b;return _0xc2469[_0x4600a1(0x356)](_0x1f8961,{'status$':_0x124f3b});};}var _0x56763e=Object[_0x1f91f3(0x29b)],_0x4bf834=(_0x2dd205,_0x11315f,_0x34b668,_0x30c7fd)=>{for(var _0x169b9b=_0x30c7fd>0x1?void 0x0:_0x30c7fd?_0x56763e(_0x11315f,_0x34b668):_0x11315f,_0x565ecd=_0x2dd205['length']-0x1,_0x4ff3fb;_0x565ecd>=0x0;_0x565ecd--)(_0x4ff3fb=_0x2dd205[_0x565ecd])&&(_0x169b9b=_0x4ff3fb(_0x169b9b)||_0x169b9b);return _0x169b9b;},_0x1d3a29=(_0x14024b,_0x2e49a4)=>(_0x295e66,_0x31b2cd)=>_0x2e49a4(_0x295e66,_0x31b2cd,_0x14024b);let _0x5bdbbe=class extends _0x134956[_0x1f91f3(0x1fe)]{constructor(_0x2abc37,_0x43b21d,_0x4fb41b,_0x57fe8a,_0x4a508d,_0x1c6d80){const _0x1aba9c=_0x1f91f3;super(),this[_0x1aba9c(0x167)]=_0x2abc37,this['_localCacheService']=_0x43b21d,this[_0x1aba9c(0x396)]=_0x4fb41b,this[_0x1aba9c(0x261)]=_0x57fe8a,this[_0x1aba9c(0x2f0)]=_0x4a508d,this[_0x1aba9c(0x175)]=_0x1c6d80,this[_0x1aba9c(0x389)](),this['_initEvent']();}[_0x1f91f3(0x389)](){const _0x48cff3=_0x1f91f3;this[_0x48cff3(0x20d)](this[_0x48cff3(0x167)][_0x48cff3(0x39e)](()=>{const _0x133c9c=_0x48cff3;if(this[_0x133c9c(0x212)][_0x133c9c(0x36f)]['size'])return this[_0x133c9c(0x175)]['t'](_0x133c9c(0x1f6));}));}['_initEvent'](){const _0x195c36=_0x1f91f3;this[_0x195c36(0x20d)](this[_0x195c36(0x396)][_0x195c36(0x2a8)]['subscribe'](_0x592fe7=>{const _0x56f964=_0x195c36;_0x592fe7['id']===_0x5e2e2e[_0x56f964(0x1b2)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x56f964(0x325)]({'type':_0x14c7fd['MessageType']['Warning'],'content':this[_0x56f964(0x175)]['t'](_0x56f964(0x313))}),_0x592fe7['id']===_0x5e2e2e['CollaborationUIEventId'][_0x56f964(0x2f1)]&&this[_0x56f964(0x261)][_0x56f964(0x325)]({'type':_0x14c7fd[_0x56f964(0x348)][_0x56f964(0x390)],'content':this['_localeService']['t'](_0x56f964(0x3c3))}),_0x592fe7['id']===_0x5e2e2e[_0x56f964(0x1b2)][_0x56f964(0x351)]&&this[_0x56f964(0x2f0)][_0x56f964(0x325)]({'title':this[_0x56f964(0x175)]['t'](_0x56f964(0x213)),'content':this[_0x56f964(0x175)]['t'](_0x56f964(0x2b5)),'type':'error','duration':0x0}),_0x592fe7['id']===_0x5e2e2e[_0x56f964(0x1b2)]['CONFLICT']&&this[_0x56f964(0x261)][_0x56f964(0x325)]({'type':_0x14c7fd[_0x56f964(0x348)]['Error'],'content':this[_0x56f964(0x175)]['t'](_0x56f964(0x3c3))+'('+_0x592fe7[_0x56f964(0x2a2)]+')'}),_0x592fe7['id']===_0x5e2e2e[_0x56f964(0x1b2)][_0x56f964(0x25e)]&&this['_messageService']['show']({'type':_0x14c7fd[_0x56f964(0x348)][_0x56f964(0x390)],'content':this[_0x56f964(0x175)]['t'](_0x592fe7[_0x56f964(0x2a2)]||'')}),_0x592fe7['id']===_0x5e2e2e[_0x56f964(0x1b2)][_0x56f964(0x2a7)]&&this[_0x56f964(0x261)][_0x56f964(0x325)]({'type':_0x14c7fd['MessageType'][_0x56f964(0x390)],'content':this['_localeService']['t'](_0x56f964(0x17a))}),_0x592fe7['id']===_0x5e2e2e[_0x56f964(0x1b2)][_0x56f964(0x1f4)]&&this[_0x56f964(0x261)]['show']({'type':_0x14c7fd[_0x56f964(0x348)][_0x56f964(0x237)],'content':this[_0x56f964(0x175)]['t'](_0x56f964(0x26f))}),_0x592fe7['id']===_0x5e2e2e[_0x56f964(0x1b2)][_0x56f964(0x3ea)]&&this[_0x56f964(0x261)][_0x56f964(0x325)]({'type':_0x14c7fd[_0x56f964(0x348)][_0x56f964(0x237)],'content':this['_localeService']['t'](_0x56f964(0x315))});}));}};_0x5bdbbe=_0x4bf834([_0x1d3a29(0x0,_0x4b07f4[_0x1f91f3(0x21c)]),_0x1d3a29(0x1,_0x5e2e2e[_0x1f91f3(0x23e)]),_0x1d3a29(0x2,_0x134956[_0x1f91f3(0x3a4)](_0x5e2e2e['CollaborationUIEventService'])),_0x1d3a29(0x3,_0x4b07f4[_0x1f91f3(0x296)]),_0x1d3a29(0x4,_0x4b07f4[_0x1f91f3(0x3c0)]),_0x1d3a29(0x5,_0x134956[_0x1f91f3(0x3a4)](_0x134956['LocaleService']))],_0x5bdbbe);const _0x483478='collaboration-client-ui.config',_0x415852={},_0x1c82a9=_0x134956['createIdentifier']('uni.network.url-service');var _0x542595=Object[_0x1f91f3(0x29b)],_0x1b22af=(_0x141b2a,_0x2fa7da,_0x171e0e,_0x48af7d)=>{for(var _0x5301f3=_0x48af7d>0x1?void 0x0:_0x48af7d?_0x542595(_0x2fa7da,_0x171e0e):_0x2fa7da,_0x25a367=_0x141b2a['length']-0x1,_0x546c2d;_0x25a367>=0x0;_0x25a367--)(_0x546c2d=_0x141b2a[_0x25a367])&&(_0x5301f3=_0x546c2d(_0x5301f3)||_0x5301f3);return _0x5301f3;},_0x7300be=(_0x466356,_0x1f81ef)=>(_0x3df890,_0x5237cc)=>_0x1f81ef(_0x3df890,_0x5237cc,_0x466356);_0x4e4c58[_0x1f91f3(0x1ed)]=class extends _0x134956[_0x1f91f3(0x3a9)]{constructor(_0x1c9ee2,_0x2fc68d,_0x7db862,_0x296ccd,_0x240ce2){const _0x22db8b=_0x1f91f3;super(),this[_0x22db8b(0x187)]=_0x1c9ee2,this[_0x22db8b(0x349)]=_0x2fc68d,this[_0x22db8b(0x2d9)]=_0x7db862,this[_0x22db8b(0x2ce)]=_0x296ccd,_0x240ce2?_0x240ce2==null||_0x240ce2[_0x22db8b(0x38e)]()[_0x22db8b(0x1e1)](()=>this[_0x22db8b(0x3c4)]()):(this[_0x22db8b(0x349)][_0x22db8b(0x39d)](_0x22db8b(0x376),_0x22db8b(0x188)),this[_0x22db8b(0x3c4)]());}async['_init'](){const _0x360409=_0x1f91f3,_0x5f1090=this[_0x360409(0x187)][_0x360409(0x239)](_0x360409(0x27e)),_0x1ba760=this[_0x360409(0x187)][_0x360409(0x239)](_0x360409(0x1d4)),_0x5f274f=this[_0x360409(0x187)]['getParam']('subunit');if(!_0x5f1090||!_0x1ba760){this[_0x360409(0x349)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x42bc29=await this[_0x360409(0x2ce)][_0x360409(0x2c3)](_0x5f1090,Number(_0x1ba760),_0x5f274f);_0x42bc29&&_0x42bc29 instanceof _0x134956[_0x360409(0x199)]&&this['_setupSubUnitSync'](_0x42bc29);}async[_0x1f91f3(0x1f2)](_0xedc095){const _0x30853f=_0x1f91f3;await this['_updateSubUnitFromURLParams'](_0xedc095),_0xedc095['activeSheet$'][_0x30853f(0x1d5)](_0x35f7fc[_0x30853f(0x269)](this[_0x30853f(0x25d)]))['subscribe'](_0x1223c9=>{const _0x511f30=_0x30853f;_0x1223c9&&this[_0x511f30(0x33e)](_0x1223c9);}),this[_0x30853f(0x187)][_0x30853f(0x1a0)][_0x30853f(0x1d5)](_0x35f7fc[_0x30853f(0x269)](this[_0x30853f(0x25d)]))[_0x30853f(0x203)](()=>this[_0x30853f(0x1a6)](_0xedc095));}[_0x1f91f3(0x33e)](_0x382a9e,_0x59d874=!0x1){const _0x138fff=_0x1f91f3,_0x3ec491=this[_0x138fff(0x187)]['getParam'](_0x138fff(0x280));_0x382a9e[_0x138fff(0x37f)]()!==_0x3ec491&&this[_0x138fff(0x187)][_0x138fff(0x1b9)](_0x138fff(0x280),_0x382a9e[_0x138fff(0x37f)](),_0x59d874);}async[_0x1f91f3(0x1a6)](_0x12bf15){const _0x2fbfc9=_0x1f91f3;var _0x38445f;const _0x3f9508=this[_0x2fbfc9(0x187)][_0x2fbfc9(0x239)](_0x2fbfc9(0x280));if(!_0x3f9508||!_0x12bf15[_0x2fbfc9(0x288)](_0x3f9508)){const _0x2c83d2=_0x12bf15[_0x2fbfc9(0x16d)]()[0x0],_0x5d40c1=_0x12bf15[_0x2fbfc9(0x288)](_0x2c83d2);if(!_0x5d40c1)return;this[_0x2fbfc9(0x33e)](_0x5d40c1,!0x0),await this[_0x2fbfc9(0x2d9)][_0x2fbfc9(0x1e9)](_0x105017[_0x2fbfc9(0x1ac)]['id'],{'unitId':_0x12bf15[_0x2fbfc9(0x333)](),'subUnitId':_0x2c83d2});return;}((_0x38445f=_0x12bf15[_0x2fbfc9(0x222)]())==null?void 0x0:_0x38445f[_0x2fbfc9(0x37f)]())!==_0x3f9508&&await this[_0x2fbfc9(0x2d9)][_0x2fbfc9(0x1e9)](_0x105017[_0x2fbfc9(0x1ac)]['id'],{'unitId':_0x12bf15[_0x2fbfc9(0x333)](),'subUnitId':_0x3f9508});}},_0x4e4c58['CollaborationDataLoaderController']=_0x1b22af([_0x7300be(0x0,_0x1c82a9),_0x7300be(0x1,_0x134956['ILogService']),_0x7300be(0x2,_0x134956[_0x1f91f3(0x361)]),_0x7300be(0x3,_0x134956['Inject'](_0x5e2e2e['DataLoaderService'])),_0x7300be(0x4,_0x134956[_0x1f91f3(0x270)](_0x346cc2[_0x1f91f3(0x32c)]))],_0x4e4c58[_0x1f91f3(0x1ed)]);var _0x1b687a=Object[_0x1f91f3(0x29b)],_0x16fbf6=(_0x330c7d,_0x2d2e5c,_0x42dcbf,_0x559707)=>{const _0x2c66da=_0x1f91f3;for(var _0xe5fa5a=_0x559707>0x1?void 0x0:_0x559707?_0x1b687a(_0x2d2e5c,_0x42dcbf):_0x2d2e5c,_0xec49a4=_0x330c7d[_0x2c66da(0x3f6)]-0x1,_0x3ceed3;_0xec49a4>=0x0;_0xec49a4--)(_0x3ceed3=_0x330c7d[_0xec49a4])&&(_0xe5fa5a=_0x3ceed3(_0xe5fa5a)||_0xe5fa5a);return _0xe5fa5a;},_0x3d3095=(_0x550fac,_0x16465d)=>(_0x3d662b,_0x3d4037)=>_0x16465d(_0x3d662b,_0x3d4037,_0x550fac);let _0x1790a5=class{constructor(_0x5a7860,_0x20df80,_0x56b6af){this['_injector']=_0x5a7860,this['_transformService']=_0x20df80,this['_renderManagerService']=_0x56b6af;}[_0x1f91f3(0x277)](_0x320811){const _0x4dddb4=_0x1f91f3;this['_transformUndoRedoStack'](_0x320811),this[_0x4dddb4(0x3f2)](_0x320811);}[_0x1f91f3(0x3bb)](_0x2cb1d1){const _0x1da222=_0x1f91f3,{unitID:_0x34de6e}=_0x2cb1d1,_0x27d8c8=this['_renderManagerService'][_0x1da222(0x1a9)](_0x34de6e)[_0x1da222(0x18d)](_0x241046[_0x1da222(0x253)]),{redoCache:_0x43da01}=_0x27d8c8[_0x1da222(0x1b6)]();if(_0x43da01['length']===0x0)return _0x2cb1d1;let _0x275814=_0x134956[_0x1da222(0x29f)][_0x1da222(0x3cc)](_0x2cb1d1[_0x1da222(0x3b4)][0x0]);for(let _0xc31eb9=0x0;_0xc31eb9<_0x43da01[_0x1da222(0x3f6)];_0xc31eb9++){const _0x5a4129={'id':_0x1da222(0x317),'params':{..._0x43da01[_0xc31eb9]}},_0x5c21ac=this[_0x1da222(0x37c)]['transformMutation'](_0x275814,_0x5a4129,!0x1);if(_0x469b6a[_0x1da222(0x3cf)](_0x5c21ac))throw _0x5c21ac[_0x1da222(0x385)];_0x275814=_0x5c21ac['m1Prime'];}return{..._0x134956['Tools'][_0x1da222(0x3cc)](_0x2cb1d1),'mutations':[_0x275814]};}[_0x1f91f3(0x2e1)](_0x42d557){const _0x5387c5=_0x1f91f3,{unitID:_0x57f726}=_0x42d557,_0x871ed=this[_0x5387c5(0x300)][_0x5387c5(0x1a9)](_0x57f726)[_0x5387c5(0x18d)](_0x241046[_0x5387c5(0x253)]),{undoCache:_0x162933,redoCache:_0x5aaa57}=_0x871ed[_0x5387c5(0x1b6)]();if(_0x162933[_0x5387c5(0x3f6)]===0x0||_0x5aaa57[_0x5387c5(0x3f6)]===0x0)return;const _0x5d640d=[],_0x464db3=[];let _0x5ece1d=_0x134956['Tools']['deepClone'](_0x42d557['mutations'][0x0]),_0x52c770=_0x134956[_0x5387c5(0x29f)][_0x5387c5(0x3cc)](_0x42d557['mutations'][0x0]);for(let _0x352e2e=_0x162933['length']-0x1;_0x352e2e>=0x0;_0x352e2e--){const _0x1fad77={'id':'doc.mutation.rich-text-editing','params':{..._0x162933[_0x352e2e]}},_0x3ab638={'id':_0x5387c5(0x317),'params':{..._0x5aaa57[_0x352e2e]}},_0x27b126=this[_0x5387c5(0x37c)][_0x5387c5(0x360)](_0x5ece1d,_0x1fad77,!0x1),_0x44c5e1=this[_0x5387c5(0x37c)][_0x5387c5(0x360)](_0x52c770,_0x3ab638,!0x1);if(_0x469b6a[_0x5387c5(0x3cf)](_0x27b126))throw _0x27b126[_0x5387c5(0x385)];if(_0x469b6a['isTransformMutationFailure'](_0x44c5e1))throw _0x44c5e1[_0x5387c5(0x385)];_0x5d640d[_0x5387c5(0x266)](_0x27b126['m2Prime'][_0x5387c5(0x2ed)]),_0x464db3[_0x5387c5(0x266)](_0x44c5e1[_0x5387c5(0x1a7)][_0x5387c5(0x2ed)]),_0x5ece1d=_0x27b126['m1Prime'],_0x52c770=_0x44c5e1[_0x5387c5(0x178)];}_0x871ed[_0x5387c5(0x22b)]({'undoCache':_0x5d640d,'redoCache':_0x464db3});}[_0x1f91f3(0x3f2)](_0x3f1ff4){const _0x420c48=_0x1f91f3,{unitID:_0x5e7c3a}=_0x3f1ff4,_0x3ebc0e=this[_0x420c48(0x300)][_0x420c48(0x1a9)](_0x5e7c3a)[_0x420c48(0x18d)](_0x241046[_0x420c48(0x253)]),_0x44a48d=_0x3ebc0e[_0x420c48(0x37d)]();if(_0x44a48d==null)return;const _0x356a8d=[{'id':_0x420c48(0x317),'params':{'unitId':_0x3f1ff4['unitID'],'actions':null,'textRanges':[_0x44a48d]}}],_0x1a9776=this[_0x420c48(0x37c)][_0x420c48(0x2d0)](_0x3f1ff4,_0x356a8d);if(!_0x469b6a['isTransformMutationsWithChangesetSuccess'](_0x1a9776))throw _0x1a9776[_0x420c48(0x385)];const _0x1a7ea0=_0x1a9776[_0x420c48(0x1a7)][0x0][_0x420c48(0x2ed)][_0x420c48(0x23c)];Array[_0x420c48(0x28d)](_0x1a7ea0)&&_0x1a7ea0[_0x420c48(0x3f6)]&&_0x3ebc0e[_0x420c48(0x3e2)](_0x1a7ea0[0x0]);}};_0x1790a5=_0x16fbf6([_0x3d3095(0x0,_0x134956[_0x1f91f3(0x3a4)](_0x134956[_0x1f91f3(0x3ba)])),_0x3d3095(0x1,_0x469b6a[_0x1f91f3(0x341)]),_0x3d3095(0x2,_0x31808c[_0x1f91f3(0x219)])],_0x1790a5);var _0x1e6bed=Object['getOwnPropertyDescriptor'],_0x10af23=(_0x29fb64,_0x1c9cf3,_0x2c3386,_0x146cab)=>{const _0x237087=_0x1f91f3;for(var _0x17c1ce=_0x146cab>0x1?void 0x0:_0x146cab?_0x1e6bed(_0x1c9cf3,_0x2c3386):_0x1c9cf3,_0x3061ce=_0x29fb64[_0x237087(0x3f6)]-0x1,_0x5aebf6;_0x3061ce>=0x0;_0x3061ce--)(_0x5aebf6=_0x29fb64[_0x3061ce])&&(_0x17c1ce=_0x5aebf6(_0x17c1ce)||_0x17c1ce);return _0x17c1ce;},_0x57deed=(_0x1a4e4d,_0x4123c9)=>(_0x58b8e1,_0xe12f51)=>_0x4123c9(_0x58b8e1,_0xe12f51,_0x1a4e4d);let _0x44e524=class{constructor(_0xba704b,_0x466e7b,_0x5d66bd){const _0xe989de=_0x1f91f3;this[_0xe989de(0x314)]=_0xba704b,this['_transformService']=_0x466e7b,this['_docStateChangeManagerService']=_0x5d66bd;}[_0x1f91f3(0x21b)](_0x3ae6ce){const _0x2ff335=_0x1f91f3;this[_0x2ff335(0x3a5)](_0x3ae6ce);}[_0x1f91f3(0x3bb)](_0x59396f){const _0x46c162=_0x1f91f3,{unitID:_0x1e4b96}=_0x59396f,{collaboration:_0x5afc02}=this[_0x46c162(0x3d9)][_0x46c162(0x362)](_0x1e4b96);if(_0x5afc02[_0x46c162(0x3f6)]===0x0)return _0x59396f;let _0x164c4d=_0x134956[_0x46c162(0x29f)][_0x46c162(0x3cc)](_0x59396f[_0x46c162(0x3b4)][0x0]);for(let _0x37b068=0x0;_0x37b068<_0x5afc02[_0x46c162(0x3f6)];_0x37b068++){const _0x13e462={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5afc02[_0x37b068][_0x46c162(0x243)],..._0x5afc02[_0x37b068]['redoState']}},_0x6694bd=this[_0x46c162(0x37c)][_0x46c162(0x360)](_0x164c4d,_0x13e462,!0x1);if(_0x469b6a[_0x46c162(0x3cf)](_0x6694bd))throw _0x6694bd['error'];_0x164c4d=_0x6694bd[_0x46c162(0x178)];}return{..._0x134956[_0x46c162(0x29f)][_0x46c162(0x3cc)](_0x59396f),'mutations':[_0x164c4d]};}[_0x1f91f3(0x3a5)](_0x365e7a){const _0x3b5584=_0x1f91f3,{unitID:_0xba8ae7}=_0x365e7a,{history:_0x13c948,collaboration:_0x5b0f71}=this[_0x3b5584(0x3d9)]['getStateCache'](_0xba8ae7);if(_0x13c948['length']===0x0&&_0x5b0f71[_0x3b5584(0x3f6)]===0x0)return;const _0x2887d4=[],_0xb4dabb=[];let _0xff5a02=_0x134956[_0x3b5584(0x29f)]['deepClone'](_0x365e7a[_0x3b5584(0x3b4)][0x0]),_0x25c075=_0x134956[_0x3b5584(0x29f)][_0x3b5584(0x3cc)](_0x365e7a[_0x3b5584(0x3b4)][0x0]);for(let _0x370ad1=_0x13c948[_0x3b5584(0x3f6)]-0x1;_0x370ad1>=0x0;_0x370ad1--){const _0x23a52a={'id':_0x3b5584(0x317),'params':{'unitId':_0x13c948[_0x370ad1]['unitId'],..._0x13c948[_0x370ad1][_0x3b5584(0x3ad)]}},_0x3faa05={'id':_0x3b5584(0x317),'params':{'unitId':_0x13c948[_0x370ad1][_0x3b5584(0x243)],..._0x13c948[_0x370ad1]['redoState']}},_0xa0df29=this[_0x3b5584(0x37c)][_0x3b5584(0x360)](_0xff5a02,_0x23a52a,!0x1),_0x3f8f96=this[_0x3b5584(0x37c)]['transformMutation'](_0x25c075,_0x3faa05,!0x1);if(_0x469b6a['isTransformMutationFailure'](_0xa0df29))throw _0xa0df29[_0x3b5584(0x385)];if(_0x469b6a[_0x3b5584(0x3cf)](_0x3f8f96))throw _0x3f8f96['error'];_0x2887d4[_0x3b5584(0x266)]({..._0x13c948[_0x370ad1],'undoState':_0xa0df29[_0x3b5584(0x1a7)][_0x3b5584(0x2ed)],'redoState':_0x3f8f96[_0x3b5584(0x1a7)][_0x3b5584(0x2ed)]}),_0xff5a02=_0xa0df29['m1Prime'],_0x25c075=_0x3f8f96[_0x3b5584(0x178)];}_0xff5a02=_0x134956[_0x3b5584(0x29f)]['deepClone'](_0x365e7a['mutations'][0x0]),_0x25c075=_0x134956['Tools'][_0x3b5584(0x3cc)](_0x365e7a[_0x3b5584(0x3b4)][0x0]);for(let _0x5662ea=_0x5b0f71[_0x3b5584(0x3f6)]-0x1;_0x5662ea>=0x0;_0x5662ea--){const _0x422a8d={'id':_0x3b5584(0x317),'params':{'unitId':_0x5b0f71[_0x5662ea]['unitId'],..._0x5b0f71[_0x5662ea][_0x3b5584(0x3ad)]}},_0x4358fd={'id':_0x3b5584(0x317),'params':{'unitId':_0x5b0f71[_0x5662ea][_0x3b5584(0x243)],..._0x5b0f71[_0x5662ea][_0x3b5584(0x32d)]}},_0x3b62b8=this['_transformService'][_0x3b5584(0x360)](_0xff5a02,_0x422a8d,!0x1),_0x170a8c=this[_0x3b5584(0x37c)][_0x3b5584(0x360)](_0x25c075,_0x4358fd,!0x1);if(_0x469b6a[_0x3b5584(0x3cf)](_0x3b62b8))throw _0x3b62b8[_0x3b5584(0x385)];if(_0x469b6a[_0x3b5584(0x3cf)](_0x170a8c))throw _0x170a8c[_0x3b5584(0x385)];_0xb4dabb[_0x3b5584(0x266)]({..._0x5b0f71[_0x5662ea],'undoState':_0x3b62b8[_0x3b5584(0x1a7)]['params'],'redoState':_0x170a8c[_0x3b5584(0x1a7)][_0x3b5584(0x2ed)]}),_0xff5a02=_0x3b62b8[_0x3b5584(0x178)],_0x25c075=_0x170a8c[_0x3b5584(0x178)];}this[_0x3b5584(0x3d9)][_0x3b5584(0x1e8)](_0xba8ae7,{'history':_0x2887d4,'collaboration':_0xb4dabb});}};_0x44e524=_0x10af23([_0x57deed(0x0,_0x134956[_0x1f91f3(0x3a4)](_0x134956[_0x1f91f3(0x3ba)])),_0x57deed(0x1,_0x469b6a[_0x1f91f3(0x341)]),_0x57deed(0x2,_0x134956['Inject'](_0x241046[_0x1f91f3(0x19d)]))],_0x44e524);var _0x34e865=Object[_0x1f91f3(0x29b)],_0x168281=(_0x2ad992,_0x18a98b,_0x4ef72c,_0xebfbc5)=>{const _0x233dca=_0x1f91f3;for(var _0x42e016=_0xebfbc5>0x1?void 0x0:_0xebfbc5?_0x34e865(_0x18a98b,_0x4ef72c):_0x18a98b,_0x50a2a0=_0x2ad992[_0x233dca(0x3f6)]-0x1,_0x4653df;_0x50a2a0>=0x0;_0x50a2a0--)(_0x4653df=_0x2ad992[_0x50a2a0])&&(_0x42e016=_0x4653df(_0x42e016)||_0x42e016);return _0x42e016;},_0x29be87=(_0x3b2f33,_0x367e0e)=>(_0x35e1c9,_0x157026)=>_0x367e0e(_0x35e1c9,_0x157026,_0x3b2f33);let _0x1a5868=class{constructor(_0x1a01b5,_0x47ccaf){const _0x4e33ce=_0x1f91f3;this[_0x4e33ce(0x314)]=_0x1a01b5,this[_0x4e33ce(0x37c)]=_0x47ccaf;}[_0x1f91f3(0x1af)](_0xa6b85d){const _0xf79db5=_0x1f91f3;var _0x345315;const _0x39b004=this['_injector'][_0xf79db5(0x21e)](_0x5e9066[_0xf79db5(0x183)]),_0x1301bb=(_0x345315=_0x39b004['getDocRanges']())!=null?_0x345315:[];if(_0x1301bb['length']===0x0)return;const _0x3b06b2=_0xa6b85d['unitID'],_0x5f58e8=[{'id':_0xf79db5(0x317),'params':{'unitId':_0x3b06b2,'actions':null,'textRanges':_0x1301bb}}],_0x4f0e24=this['_transformService']['transformMutationsWithChangeset'](_0xa6b85d,_0x5f58e8);if(!_0x469b6a[_0xf79db5(0x2a9)](_0x4f0e24))throw _0x4f0e24[_0xf79db5(0x385)];const _0x70215b=_0x4f0e24[_0xf79db5(0x1a7)][0x0][_0xf79db5(0x2ed)][_0xf79db5(0x23c)];Array[_0xf79db5(0x28d)](_0x70215b)&&_0x70215b[_0xf79db5(0x3f6)]&&_0x39b004[_0xf79db5(0x232)](_0x70215b,{'unitId':_0x3b06b2,'subUnitId':_0x3b06b2},!0x1);}};_0x1a5868=_0x168281([_0x29be87(0x0,_0x134956['Inject'](_0x134956['Injector'])),_0x29be87(0x1,_0x469b6a['ITransformService'])],_0x1a5868);var _0x389070=Object['getOwnPropertyDescriptor'],_0x5770c5=(_0x32986b,_0x4dcc82,_0x4fd5ca,_0x517070)=>{const _0x522739=_0x1f91f3;for(var _0x49b5ae=_0x517070>0x1?void 0x0:_0x517070?_0x389070(_0x4dcc82,_0x4fd5ca):_0x4dcc82,_0x59d4a9=_0x32986b[_0x522739(0x3f6)]-0x1,_0x46dd09;_0x59d4a9>=0x0;_0x59d4a9--)(_0x46dd09=_0x32986b[_0x59d4a9])&&(_0x49b5ae=_0x46dd09(_0x49b5ae)||_0x49b5ae);return _0x49b5ae;},_0x162bd7=(_0xf6eac2,_0x1a4466)=>(_0x5a67c7,_0x1d36e1)=>_0x1a4466(_0x5a67c7,_0x1d36e1,_0xf6eac2);let _0x3a5cba=class extends _0x134956['Disposable']{constructor(_0x9d4f81,_0x4cc312,_0x56837,_0x1628fa,_0x4515a4,_0x5038cf,_0x1a7ac4,_0x37ddf8){const _0x55f70a=_0x1f91f3;super(),_0x1ffdb1(this,_0x55f70a(0x2b0),new _0x35f7fc[(_0x55f70a(0x32e))](_0x5e2e2e[_0x55f70a(0x2bf)][_0x55f70a(0x3b3)])),(this[_0x55f70a(0x3d9)]=_0x9d4f81,this[_0x55f70a(0x1bb)]=_0x4cc312,this[_0x55f70a(0x38c)]=_0x56837,this['_docTransformStateCacheService']=_0x1628fa,this[_0x55f70a(0x263)]=_0x4515a4,this['_docSyncEditingCollabCursorService']=_0x5038cf,this[_0x55f70a(0x261)]=_0x1a7ac4,this[_0x55f70a(0x175)]=_0x37ddf8,this[_0x55f70a(0x383)]());}[_0x1f91f3(0x383)](){const _0x17e297=_0x1f91f3;this[_0x17e297(0x20d)](this[_0x17e297(0x1bb)][_0x17e297(0x3fb)][_0x17e297(0x203)](_0x2862b8=>{const _0x5a9fc1=_0x17e297,_0x24af44=this[_0x5a9fc1(0x3d9)]['docStateChange$'][_0x5a9fc1(0x203)](_0x34a19f=>{const _0x583cdb=_0x5a9fc1;if(_0x34a19f==null)return;const {unitId:_0x104b64,redoState:_0x4c17b4,commandId:_0x5ed1a7}=_0x34a19f;if(_0x104b64!==_0x2862b8[_0x583cdb(0x20a)])return;const _0x292003={'id':_0x5ed1a7,'type':_0x134956['CommandType'][_0x583cdb(0x34f)],'params':{'unitId':_0x104b64,'actions':_0x4c17b4[_0x583cdb(0x249)],'textRanges':null}};_0x2862b8['onLocalMutation'](_0x292003);});if(_0x2862b8[_0x5a9fc1(0x20d)](_0x24af44),_0x2862b8 instanceof _0x5e2e2e[_0x5a9fc1(0x35d)]){const _0x55c37c={'onTransformIME':_0x1f3ae2=>this[_0x5a9fc1(0x38c)][_0x5a9fc1(0x277)](_0x1f3ae2),'onTransformState':_0x22797c=>this[_0x5a9fc1(0x3d3)]['transformStateCache'](_0x22797c),'onTransformSelections':_0x1e255c=>this[_0x5a9fc1(0x263)][_0x5a9fc1(0x1af)](_0x1e255c),'onSyncEditingCollabCursor':_0x43e551=>this[_0x5a9fc1(0x324)][_0x5a9fc1(0x1ab)](_0x43e551),'onTransformRemoteChangesetByIMECache':_0x216224=>this[_0x5a9fc1(0x38c)][_0x5a9fc1(0x3bb)](_0x216224),'onTransformRemoteChangesetByStateCache':_0x378646=>this[_0x5a9fc1(0x3d3)][_0x5a9fc1(0x3bb)](_0x378646)};_0x2862b8[_0x5a9fc1(0x382)](_0x55c37c);}}));}};_0x3a5cba=_0x5770c5([_0x162bd7(0x0,_0x134956[_0x1f91f3(0x3a4)](_0x241046['DocStateChangeManagerService'])),_0x162bd7(0x1,_0x134956[_0x1f91f3(0x3a4)](_0x5e2e2e[_0x1f91f3(0x23b)])),_0x162bd7(0x2,_0x134956['Inject'](_0x1790a5)),_0x162bd7(0x3,_0x134956['Inject'](_0x44e524)),_0x162bd7(0x4,_0x134956[_0x1f91f3(0x3a4)](_0x1a5868)),_0x162bd7(0x5,_0x134956[_0x1f91f3(0x3a4)](_0x24c16d)),_0x162bd7(0x6,_0x4b07f4[_0x1f91f3(0x296)]),_0x162bd7(0x7,_0x134956[_0x1f91f3(0x3a4)](_0x134956[_0x1f91f3(0x3e4)]))],_0x3a5cba);var _0xe3e0b8=Object[_0x1f91f3(0x29b)],_0x2d1710=(_0x435c6d,_0x246330,_0x10eed6,_0x5cea53)=>{const _0xd408c4=_0x1f91f3;for(var _0x1c8f06=_0x5cea53>0x1?void 0x0:_0x5cea53?_0xe3e0b8(_0x246330,_0x10eed6):_0x246330,_0x29da54=_0x435c6d[_0xd408c4(0x3f6)]-0x1,_0x196b49;_0x29da54>=0x0;_0x29da54--)(_0x196b49=_0x435c6d[_0x29da54])&&(_0x1c8f06=_0x196b49(_0x1c8f06)||_0x1c8f06);return _0x1c8f06;},_0x589827=(_0x1e5f11,_0x2091bc)=>(_0x490580,_0x575709)=>_0x2091bc(_0x490580,_0x575709,_0x1e5f11);let _0x2eca98=class extends _0x134956[_0x1f91f3(0x1fe)]{constructor(_0xbf440e,_0x177431,_0x4206c2){const _0x5e177c=_0x1f91f3;super(),_0x1ffdb1(this,_0x5e177c(0x1c4),new Map()),_0x1ffdb1(this,_0x5e177c(0x234),new Map()),_0x1ffdb1(this,_0x5e177c(0x306),!0x1),(this[_0x5e177c(0x268)]=_0xbf440e,this[_0x5e177c(0x34b)]=_0x177431,this[_0x5e177c(0x2bd)]=_0x4206c2);}['disableLocalCache'](){const _0x4690c0=_0x1f91f3;this[_0x4690c0(0x306)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x1f91f3(0x36f)](){const _0x1df658=_0x1f91f3;return this[_0x1df658(0x234)];}[_0x1f91f3(0x3e3)](){const _0x22f76a=_0x1f91f3;this[_0x22f76a(0x400)]()[_0x22f76a(0x1e1)](()=>super[_0x22f76a(0x3e3)]());}async['loadOfflineData'](_0x3c99c5){const _0x5ef3c8=_0x1f91f3;return this[_0x5ef3c8(0x306)]?null:this[_0x5ef3c8(0x34b)][_0x5ef3c8(0x375)](_0x5e2e2e[_0x5ef3c8(0x393)](_0x3c99c5));}async[_0x1f91f3(0x2d7)](_0x41e964,_0x12358a){const _0xb0c79a=_0x1f91f3;return!!this[_0xb0c79a(0x34b)][_0xb0c79a(0x1d0)](_0x41e964,_0x12358a);}['updateOfflineData'](_0x2664f0,_0x4c2445,_0x19bd64,_0x1f1b16){const _0x421083=_0x1f91f3,_0x31220e=this[_0x421083(0x2bd)][_0x421083(0x1ad)](_0x2664f0);this[_0x421083(0x1c4)][_0x421083(0x3b0)](_0x2664f0,{'unitID':_0x2664f0,'type':_0x4c2445,'awaitingChangeset':_0x19bd64,'mutations':_0x1f1b16,'rev':_0x31220e}),this[_0x421083(0x234)][_0x421083(0x1bf)](_0x2664f0)||this[_0x421083(0x1c1)](_0x2664f0);}[_0x1f91f3(0x1c1)](_0x55c19c){const _0x1ac39f=_0x1f91f3,_0x3c7e7a=this['_getSaveTimeout']();_0x3c7e7a===0x0?this['_saveCache'](_0x55c19c):this['_saveTaskMap'][_0x1ac39f(0x3b0)](_0x55c19c,setTimeout(()=>this[_0x1ac39f(0x210)](_0x55c19c),_0x3c7e7a));}[_0x1f91f3(0x190)](){const _0x2bb61e=_0x1f91f3;var _0x4533c4;return(_0x4533c4=this[_0x2bb61e(0x268)][_0x2bb61e(0x1f7)](_0x5e2e2e['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x4533c4:_0x5e2e2e[_0x2bb61e(0x177)];}[_0x1f91f3(0x210)](_0xd331ad){const _0x353cd1=_0x1f91f3,_0x20cc1b=this[_0x353cd1(0x234)]['get'](_0xd331ad);return _0x20cc1b!==void 0x0&&window[_0x353cd1(0x2d2)](_0x20cc1b),this['_localStorageService'][_0x353cd1(0x1d0)](_0x5e2e2e[_0x353cd1(0x393)](_0xd331ad),this[_0x353cd1(0x1c4)][_0x353cd1(0x21e)](_0xd331ad))[_0x353cd1(0x1e1)](()=>this[_0x353cd1(0x234)][_0x353cd1(0x2de)](_0xd331ad));}async[_0x1f91f3(0x400)](){const _0x14fee8=_0x1f91f3,_0x1b9bac=[];this['_saveTaskMap'][_0x14fee8(0x1da)]((_0x3fabb7,_0x2bc8d5)=>{const _0x5d7b41=_0x14fee8;window['clearTimeout'](_0x3fabb7),_0x1b9bac[_0x5d7b41(0x2fb)](this[_0x5d7b41(0x210)](_0x2bc8d5)[_0x5d7b41(0x1e1)](()=>{const _0x233f32=_0x5d7b41;this[_0x233f32(0x234)]['delete'](_0x2bc8d5);}));}),await Promise[_0x14fee8(0x28e)](_0x1b9bac);}};_0x2eca98=_0x2d1710([_0x589827(0x0,_0x134956['IConfigService']),_0x589827(0x1,_0x134956[_0x1f91f3(0x2db)]),_0x589827(0x2,_0x134956[_0x1f91f3(0x3a4)](_0x469b6a[_0x1f91f3(0x312)]))],_0x2eca98);class _0x9db9e1 extends _0x134956['RxDisposable']{constructor(){const _0x15f757=_0x1f91f3;super(),_0x1ffdb1(this,'urlChange$'),this[_0x15f757(0x1a0)]=_0x35f7fc[_0x15f757(0x1a5)](window,_0x15f757(0x2c4))[_0x15f757(0x1d5)](_0x35f7fc[_0x15f757(0x269)](this[_0x15f757(0x25d)]),_0x35f7fc[_0x15f757(0x3ee)](0x1),_0x35f7fc[_0x15f757(0x231)](void 0x0));}[_0x1f91f3(0x1b9)](_0x82f2e2,_0x44cff6,_0x6e8f0d=!0x1){const _0x5cd407=_0x1f91f3,_0x484773=new URL(window[_0x5cd407(0x24c)][_0x5cd407(0x273)]);_0x484773['searchParams'][_0x5cd407(0x3b0)](_0x82f2e2,_0x44cff6),_0x6e8f0d?window['history'][_0x5cd407(0x18a)]('','',_0x484773[_0x5cd407(0x246)]()):window[_0x5cd407(0x374)]['pushState']('','',_0x484773['toString']());}['removeParam'](_0x3e90be,_0x5134f5=!0x1){const _0x12519c=_0x1f91f3,_0x405f91=new URL(window['location'][_0x12519c(0x273)]);_0x405f91[_0x12519c(0x3b8)][_0x12519c(0x2de)](_0x3e90be),_0x5134f5?window[_0x12519c(0x374)]['replaceState']('','',_0x405f91['toString']()):window[_0x12519c(0x374)]['pushState']('','',_0x405f91[_0x12519c(0x246)]());}['getParam'](_0x19ca73){const _0x53d828=_0x1f91f3;var _0x5b94d8;return(_0x5b94d8=new URL(window['location'][_0x53d828(0x273)])[_0x53d828(0x3b8)]['get'](_0x19ca73))!=null?_0x5b94d8:void 0x0;}}var _0x5134e5=Object['defineProperty'],_0x3c6c52=Object[_0x1f91f3(0x29b)],_0x1c42d1=(_0x4eb55f,_0x28d85a,_0xca83d3)=>_0x28d85a in _0x4eb55f?_0x5134e5(_0x4eb55f,_0x28d85a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xca83d3}):_0x4eb55f[_0x28d85a]=_0xca83d3,_0xd9938f=(_0xabd6d6,_0x446b8b,_0x4bff90,_0x4e682f)=>{const _0x3e01e1=_0x1f91f3;for(var _0x4d126e=_0x4e682f>0x1?void 0x0:_0x4e682f?_0x3c6c52(_0x446b8b,_0x4bff90):_0x446b8b,_0x324c7c=_0xabd6d6[_0x3e01e1(0x3f6)]-0x1,_0x242f8b;_0x324c7c>=0x0;_0x324c7c--)(_0x242f8b=_0xabd6d6[_0x324c7c])&&(_0x4d126e=_0x242f8b(_0x4d126e)||_0x4d126e);return _0x4d126e;},_0x1e01b3=(_0x414624,_0x950c9c)=>(_0x285d63,_0x47c111)=>_0x950c9c(_0x285d63,_0x47c111,_0x414624),_0x385671=(_0x10ea7b,_0x18043c,_0x243878)=>_0x1c42d1(_0x10ea7b,_0x18043c+'',_0x243878);const _0x4d4c34='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4e4c58[_0x1f91f3(0x378)]=class extends _0x134956['Plugin']{constructor(_0x450c51=_0x415852,_0xb7d377,_0x833d30,_0x404e21){const _0x423b9c=_0x1f91f3;super(),this[_0x423b9c(0x24a)]=_0x450c51,this['_renderManagerService']=_0xb7d377,this[_0x423b9c(0x314)]=_0x833d30,this[_0x423b9c(0x268)]=_0x404e21;const {..._0x7a02c6}=_0x134956[_0x423b9c(0x3c6)]({},_0x415852,this['_config']);this[_0x423b9c(0x268)][_0x423b9c(0x248)](_0x483478,_0x7a02c6);}[_0x1f91f3(0x2ee)](){const _0x52493b=_0x1f91f3;this[_0x52493b(0x1d6)](),this[_0x52493b(0x326)]();}['onRendered'](){const _0x38b03d=_0x1f91f3;this[_0x38b03d(0x377)]();}[_0x1f91f3(0x1d6)](){const _0x1e1c00=_0x1f91f3;var _0x428848;const _0x25ad8a=[[_0x519a71],[_0x1a5868],[_0x1790a5],[_0x44e524],[_0x24c16d],[_0x1c82a9,{'useClass':_0x9db9e1}],[_0x2d4778['ISocketService'],{'useClass':_0x2d4778[_0x1e1c00(0x242)]}],[_0x5e2e2e[_0x1e1c00(0x23e)],{'useClass':_0x2eca98}],[_0x4e4c58[_0x1e1c00(0x2f5)]],[_0x3a5cba],[_0x5bdbbe],[_0x5059c3],[_0x42f183],[_0x4e4c58[_0x1e1c00(0x1ed)]]];_0x134956[_0x1e1c00(0x16e)](this[_0x1e1c00(0x314)],_0x134956[_0x1e1c00(0x2b9)](_0x25ad8a,(_0x428848=this['_config'])==null?void 0x0:_0x428848['override']));}[_0x1f91f3(0x377)](){const _0x3d2360=_0x1f91f3;this[_0x3d2360(0x20d)](this[_0x3d2360(0x300)][_0x3d2360(0x286)](_0x134956['UniverInstanceType'][_0x3d2360(0x1e7)],[_0x1b1f08])),this['disposeWithMe'](this[_0x3d2360(0x300)]['registerRenderModule'](_0x134956[_0x3d2360(0x3eb)][_0x3d2360(0x38a)],[_0x1a1ac8]));}[_0x1f91f3(0x326)](){const _0x1bff63=_0x1f91f3;_0x134956[_0x1bff63(0x2d3)](this[_0x1bff63(0x314)],[[_0x5059c3],[_0x4e4c58[_0x1bff63(0x2f5)]],[_0x3a5cba],[_0x5bdbbe],[_0x4e4c58[_0x1bff63(0x1ed)]]]);}},_0x385671(_0x4e4c58[_0x1f91f3(0x378)],_0x1f91f3(0x34c),_0x4d4c34),_0x4e4c58[_0x1f91f3(0x378)]=_0xd9938f([_0x134956[_0x1f91f3(0x340)](_0x5e2e2e[_0x1f91f3(0x342)]),_0x1e01b3(0x1,_0x31808c[_0x1f91f3(0x219)]),_0x1e01b3(0x2,_0x134956['Inject'](_0x134956[_0x1f91f3(0x3ba)])),_0x1e01b3(0x3,_0x134956[_0x1f91f3(0x33b)])],_0x4e4c58[_0x1f91f3(0x378)]);var _0x5d6be3=Object[_0x1f91f3(0x29b)],_0x151757=(_0x3a626f,_0x176d4e,_0x5952b0,_0x5c0ef8)=>{for(var _0x1365a2=_0x5c0ef8>0x1?void 0x0:_0x5c0ef8?_0x5d6be3(_0x176d4e,_0x5952b0):_0x176d4e,_0x3798d7=_0x3a626f['length']-0x1,_0x2f79d2;_0x3798d7>=0x0;_0x3798d7--)(_0x2f79d2=_0x3a626f[_0x3798d7])&&(_0x1365a2=_0x2f79d2(_0x1365a2)||_0x1365a2);return _0x1365a2;},_0x54733f=(_0x135545,_0x5e2f47)=>(_0x593275,_0x38367e)=>_0x5e2f47(_0x593275,_0x38367e,_0x135545);_0x4e4c58['BrowserCollaborationSocketService']=class extends _0x5e2e2e[_0x1f91f3(0x301)]{constructor(_0x1aa70c,_0x53a728,_0x1c10fd,_0x38682b,_0x1120c2){super(_0x1aa70c,_0x53a728,_0x1c10fd,_0x38682b,_0x1120c2);}async['createSocket'](_0x4e37e8){const _0x33f65a=_0x1f91f3,_0x2846e2=await this[_0x33f65a(0x2fe)](),_0x5cdb61=this[_0x33f65a(0x2f8)](_0x4e37e8,_0x2846e2);return this[_0x33f65a(0x38f)](_0x5cdb61);}['_createSocketURL'](_0x565e7c,_0x10f5b5){const _0x96d1d3=_0x1f91f3,_0x5b31cc=typeof window>'u'?new URL(_0x565e7c):new URL(_0x565e7c,window['location'][_0x96d1d3(0x27c)]);_0x5b31cc['searchParams'][_0x96d1d3(0x3b0)](_0x96d1d3(0x339),_0x10f5b5);const _0x8de268=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x96d1d3(0x24c)][_0x96d1d3(0x168)]);return _0x8de268['get'](_0x96d1d3(0x2d1))&&_0x5b31cc[_0x96d1d3(0x3b8)][_0x96d1d3(0x3b0)](_0x96d1d3(0x2d1),_0x8de268[_0x96d1d3(0x21e)]('runId')),_0x5b31cc['toString']();}async[_0x1f91f3(0x2fe)](){const _0x414b34=_0x1f91f3;var _0x4ad398,_0x266d2a,_0x520051;const _0x5a1983=this[_0x414b34(0x268)][_0x414b34(0x1f7)](_0x5e2e2e[_0x414b34(0x275)]),_0x450596=(_0x4ad398=_0x5a1983==null?void 0x0:_0x5a1983[_0x414b34(0x2a4)])!=null?_0x4ad398:_0x5e2e2e[_0x414b34(0x28a)];return(_0x520051=(_0x266d2a=(await this['_httpService'][_0x414b34(0x21e)](_0x450596,{'headers':{'Content-Type':'application/json'}}))[_0x414b34(0x285)])==null?void 0x0:_0x266d2a[_0x414b34(0x38b)])!=null?_0x520051:'';}},_0x4e4c58['BrowserCollaborationSocketService']=_0x151757([_0x54733f(0x0,_0x134956[_0x1f91f3(0x3a4)](_0x134956[_0x1f91f3(0x3ba)])),_0x54733f(0x1,_0x134956[_0x1f91f3(0x3a4)](_0x2d4778[_0x1f91f3(0x3d0)])),_0x54733f(0x2,_0x134956[_0x1f91f3(0x33b)]),_0x54733f(0x3,_0x134956[_0x1f91f3(0x33d)]),_0x54733f(0x4,_0x469b6a[_0x1f91f3(0x370)])],_0x4e4c58[_0x1f91f3(0x209)]);const _0x5ee6d9=0x7530,_0x59e7d4=_0x1f91f3(0x21a);class _0x36284c extends _0x134956[_0x1f91f3(0x1fe)]{constructor(){const _0xd8fbb3=_0x1f91f3;super(),_0x1ffdb1(this,_0xd8fbb3(0x35b),_0x134956[_0xd8fbb3(0x26b)]()),_0x1ffdb1(this,_0xd8fbb3(0x3f5),new Set()),_0x1ffdb1(this,_0xd8fbb3(0x274),new Map()),_0x1ffdb1(this,_0xd8fbb3(0x216),null),_0x1ffdb1(this,_0xd8fbb3(0x37a),new Map()),_0x1ffdb1(this,_0xd8fbb3(0x19e),new Map()),this['_init']();}[_0x1f91f3(0x3e3)](){const _0x27c559=_0x1f91f3;super[_0x27c559(0x3e3)](),this[_0x27c559(0x37a)][_0x27c559(0x1da)]((_0x216fd3,_0x27bcf5)=>this[_0x27c559(0x401)](_0x27bcf5)),this[_0x27c559(0x216)]&&window['clearInterval'](this[_0x27c559(0x216)]);}[_0x1f91f3(0x3ab)](_0x302175){const _0x229318=_0x1f91f3;return this[_0x229318(0x2fd)](_0x302175)[_0x229318(0x1d5)](_0x35f7fc[_0x229318(0x29e)]());}['editingUnit'](_0x47320b){const _0x590df9=_0x1f91f3;this[_0x590df9(0x3f5)][_0x590df9(0x2d8)]===0x0&&this[_0x590df9(0x32b)](),this['_selfUnitIDs']['add'](_0x47320b),this[_0x590df9(0x3db)]({'type':0x0,'memberID':this[_0x590df9(0x35b)],'unitIDs':[_0x47320b],'isForwarded':!0x1});}[_0x1f91f3(0x196)](_0x56901d){const _0x4be05f=_0x1f91f3;this[_0x4be05f(0x3f5)][_0x4be05f(0x2de)](_0x56901d),this[_0x4be05f(0x3f5)]['size']===0x0&&this[_0x4be05f(0x216)]&&window[_0x4be05f(0x1ef)](this[_0x4be05f(0x216)]);}[_0x1f91f3(0x3c4)](){const _0x5872d2=_0x1f91f3;this[_0x5872d2(0x20d)](_0x134956[_0x5872d2(0x3dc)](_0x35f7fc['fromEvent'](window,'storage')[_0x5872d2(0x203)](_0x513514=>{const _0x523140=_0x5872d2;if(_0x513514[_0x523140(0x2b1)]!==_0x59e7d4||!_0x513514[_0x523140(0x399)])return;const _0x165a8b=JSON[_0x523140(0x23d)](_0x513514[_0x523140(0x399)]);this['_handleEvent'](_0x165a8b);}))),window[_0x5872d2(0x353)](_0x5872d2(0x1ca),()=>this[_0x5872d2(0x3db)]({'type':0x1,'memberID':this[_0x5872d2(0x35b)],'unitIDs':Array[_0x5872d2(0x2e6)](this[_0x5872d2(0x3f5)])}));}[_0x1f91f3(0x20b)](_0x15daa4){const _0x25859d=_0x1f91f3;switch(_0x15daa4[_0x25859d(0x1d4)]){case 0x0:this[_0x25859d(0x173)](_0x15daa4);break;case 0x1:this[_0x25859d(0x2b6)](_0x15daa4);break;case 0x2:this['_handleHeartbeatEvent'](_0x15daa4);break;}}[_0x1f91f3(0x173)](_0x4ce867){const _0x281cc5=_0x1f91f3,{unitIDs:_0x509977,memberID:_0x46e6c6,isForwarded:_0x156f32}=_0x4ce867;_0x509977['forEach'](_0xd859bf=>{const _0x59bfa7=_0xd94b;if(!_0x156f32&&this[_0x59bfa7(0x274)][_0x59bfa7(0x1bf)](_0xd859bf)&&this['_ensureSubject'](_0xd859bf)[_0x59bfa7(0x244)](_0x5e2e2e[_0x59bfa7(0x16f)][_0x59bfa7(0x2a3)]),!this[_0x59bfa7(0x274)]['has'](_0xd859bf)||!this[_0x59bfa7(0x274)]['get'](_0xd859bf)['has'](_0x46e6c6)){const _0x4b0e37=this['_unitOnClients'][_0x59bfa7(0x21e)](_0xd859bf)||new Set();_0x4b0e37[_0x59bfa7(0x264)](_0x46e6c6),this[_0x59bfa7(0x274)][_0x59bfa7(0x3b0)](_0xd859bf,_0x4b0e37),this[_0x59bfa7(0x3c8)](_0x46e6c6);}}),_0x156f32||this[_0x281cc5(0x3db)]({'type':0x0,'memberID':this[_0x281cc5(0x35b)],'unitIDs':[...this[_0x281cc5(0x3f5)]],'isForwarded':!0x0});}[_0x1f91f3(0x3c8)](_0x59116e){const _0x1c5aaa=_0x1f91f3;this[_0x1c5aaa(0x401)](_0x59116e);const _0x2c6798=window[_0x1c5aaa(0x19f)](()=>{const _0x55ecfc=_0x1c5aaa;this[_0x55ecfc(0x274)][_0x55ecfc(0x1da)](_0x2bee93=>{const _0x636167=_0x55ecfc;_0x2bee93[_0x636167(0x2de)](_0x59116e);});},_0x5ee6d9*0x2);this[_0x1c5aaa(0x37a)]['set'](_0x59116e,_0x2c6798);}[_0x1f91f3(0x401)](_0x442610){const _0xb85384=_0x1f91f3;if(this['_clearOtherTimers'][_0xb85384(0x1bf)](_0x442610)){const _0x2e8986=this[_0xb85384(0x37a)][_0xb85384(0x21e)](_0x442610);_0x2e8986&&window[_0xb85384(0x2d2)](_0x2e8986),this[_0xb85384(0x37a)][_0xb85384(0x3b0)](_0x442610,null);}}[_0x1f91f3(0x2b6)](_0x23e8e6){const _0x394a2c=_0x1f91f3,{memberID:_0x3dabff,unitIDs:_0x36273c}=_0x23e8e6;_0x36273c[_0x394a2c(0x1da)](_0x3df4ed=>{const _0xb7ba5c=_0x394a2c;var _0x551daf;const _0x1776c1=this['_unitOnClients'][_0xb7ba5c(0x21e)](_0x3df4ed);_0x1776c1&&(_0x1776c1['delete'](_0x3dabff),(_0x551daf=this[_0xb7ba5c(0x2fd)](_0x3df4ed))==null||_0x551daf[_0xb7ba5c(0x244)](_0x1776c1[_0xb7ba5c(0x2d8)]===0x0?_0x5e2e2e[_0xb7ba5c(0x16f)][_0xb7ba5c(0x2c1)]:_0x5e2e2e[_0xb7ba5c(0x16f)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x3dabff);}[_0x1f91f3(0x323)](_0x1a49c0){const _0x225931=_0x1f91f3;this[_0x225931(0x3c8)](_0x1a49c0[_0x225931(0x218)]);}[_0x1f91f3(0x3db)](_0x481c64){const _0x1d8d67=_0x1f91f3;localStorage[_0x1d8d67(0x1d0)](_0x59e7d4,JSON[_0x1d8d67(0x368)](_0x481c64));}['_scheduleHeartbeat'](){const _0x40f926=_0x1f91f3;this[_0x40f926(0x216)]=window[_0x40f926(0x171)](()=>{const _0xa18338=_0x40f926;this[_0xa18338(0x3db)]({'type':0x2,'memberID':this[_0xa18338(0x35b)]});},_0x5ee6d9);}['_ensureSubject'](_0x196ef0){const _0xde33c2=_0x1f91f3;return this[_0xde33c2(0x19e)][_0xde33c2(0x1bf)](_0x196ef0)||this[_0xde33c2(0x19e)]['set'](_0x196ef0,new _0x35f7fc[(_0xde33c2(0x32e))](_0x5e2e2e[_0xde33c2(0x16f)][_0xde33c2(0x2c1)])),this[_0xde33c2(0x19e)]['get'](_0x196ef0);}}var _0x4f47a9=(_0x59849a=>(_0x59849a[_0x59849a[_0x1f91f3(0x265)]=0x0]=_0x1f91f3(0x265),_0x59849a[_0x59849a['OK']=0x1]='OK',_0x59849a[_0x59849a[_0x1f91f3(0x17d)]=0x2]=_0x1f91f3(0x17d),_0x59849a[_0x59849a['PERMISSION_DENIED']=0x3]=_0x1f91f3(0x351),_0x59849a[_0x59849a[_0x1f91f3(0x29a)]=0x4]=_0x1f91f3(0x29a),_0x59849a[_0x59849a[_0x1f91f3(0x1d9)]=0x5]=_0x1f91f3(0x1d9),_0x59849a[_0x59849a[_0x1f91f3(0x304)]=0x6]=_0x1f91f3(0x304),_0x59849a[_0x59849a[_0x1f91f3(0x366)]=0x7]=_0x1f91f3(0x366),_0x59849a[_0x59849a[_0x1f91f3(0x331)]=0x8]=_0x1f91f3(0x331),_0x59849a[_0x59849a[_0x1f91f3(0x2ea)]=0x9]='COMPLETION_FINISHED',_0x59849a[_0x59849a[_0x1f91f3(0x1e4)]=0xa]=_0x1f91f3(0x1e4),_0x59849a[_0x59849a[_0x1f91f3(0x241)]=0x1389]=_0x1f91f3(0x241),_0x59849a[_0x59849a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1f91f3(0x1b7),_0x59849a[_0x59849a[_0x1f91f3(0x37b)]=0x1772]=_0x1f91f3(0x37b),_0x59849a[_0x59849a[_0x1f91f3(0x1a8)]=0x1773]=_0x1f91f3(0x1a8),_0x59849a[_0x59849a[_0x1f91f3(0x1ae)]=0x1b59]=_0x1f91f3(0x1ae),_0x59849a[_0x59849a[_0x1f91f3(0x3f4)]=0x1b5a]=_0x1f91f3(0x3f4),_0x59849a[_0x59849a[_0x1f91f3(0x2cd)]=0x1b5b]=_0x1f91f3(0x2cd),_0x59849a[_0x59849a[_0x1f91f3(0x2ec)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x59849a[_0x59849a[_0x1f91f3(0x28c)]=0x1b5d]='APPLY_DUPLICATED',_0x59849a[_0x59849a[_0x1f91f3(0x26a)]=0x1f41]=_0x1f91f3(0x26a),_0x59849a[_0x59849a[_0x1f91f3(0x27a)]=0x2329]=_0x1f91f3(0x27a),_0x59849a[_0x59849a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1f91f3(0x1f0),_0x59849a[_0x59849a[_0x1f91f3(0x1d3)]=0x232b]=_0x1f91f3(0x1d3),_0x59849a[_0x59849a[_0x1f91f3(0x35a)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x59849a[_0x59849a[_0x1f91f3(0x1a1)]=0x232d]=_0x1f91f3(0x1a1),_0x59849a[_0x59849a[_0x1f91f3(0x2c8)]=0x2711]=_0x1f91f3(0x2c8),_0x59849a[_0x59849a[_0x1f91f3(0x2c2)]=0x2712]=_0x1f91f3(0x2c2),_0x59849a[_0x59849a['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x59849a[_0x59849a[_0x1f91f3(0x22c)]=0x2714]=_0x1f91f3(0x22c),_0x59849a[_0x59849a[_0x1f91f3(0x34a)]=0x271a]=_0x1f91f3(0x34a),_0x59849a[_0x59849a[_0x1f91f3(0x1c8)]=0x271b]=_0x1f91f3(0x1c8),_0x59849a[_0x59849a[_0x1f91f3(0x17c)]=0x271c]=_0x1f91f3(0x17c),_0x59849a[_0x59849a['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x59849a[_0x59849a[_0x1f91f3(0x201)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x59849a[_0x59849a[_0x1f91f3(0x1be)]=0x271f]=_0x1f91f3(0x1be),_0x59849a[_0x59849a['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x59849a[_0x59849a[_0x1f91f3(0x3bd)]=0x2ee1]=_0x1f91f3(0x3bd),_0x59849a[_0x59849a[_0x1f91f3(0x1fb)]=0x2ee2]='INVALID_INVITE_CODE',_0x59849a[_0x59849a['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1f91f3(0x1fd),_0x59849a[_0x59849a[_0x1f91f3(0x3a1)]=0x2ee4]=_0x1f91f3(0x3a1),_0x59849a[_0x59849a[_0x1f91f3(0x321)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x59849a[_0x59849a[_0x1f91f3(0x319)]=0x32c9]=_0x1f91f3(0x319),_0x59849a[_0x59849a[_0x1f91f3(0x365)]=0x32ca]=_0x1f91f3(0x365),_0x59849a[_0x59849a[_0x1f91f3(0x1b8)]=0x32cb]=_0x1f91f3(0x1b8),_0x59849a[_0x59849a[_0x1f91f3(0x18f)]=-0x1]=_0x1f91f3(0x18f),_0x59849a))(_0x4f47a9||{}),_0x49c66c=Object[_0x1f91f3(0x29b)],_0x53af6c=(_0x4cbf1a,_0xd399bc,_0xc9d553,_0x5542a5)=>{for(var _0x5b0ee6=_0x5542a5>0x1?void 0x0:_0x5542a5?_0x49c66c(_0xd399bc,_0xc9d553):_0xd399bc,_0x270dfd=_0x4cbf1a['length']-0x1,_0x2d7000;_0x270dfd>=0x0;_0x270dfd--)(_0x2d7000=_0x4cbf1a[_0x270dfd])&&(_0x5b0ee6=_0x2d7000(_0x5b0ee6)||_0x5b0ee6);return _0x5b0ee6;},_0x1e7b16=(_0x20f719,_0x44f842)=>(_0x2ef4ca,_0x4ceb87)=>_0x44f842(_0x2ef4ca,_0x4ceb87,_0x20f719);_0x4e4c58[_0x1f91f3(0x228)]=class extends _0x134956['Disposable']{constructor(_0x3f89e2,_0x20311b,_0x41d388){const _0x15b091=_0x1f91f3;super(),this[_0x15b091(0x3b6)]=_0x3f89e2,this[_0x15b091(0x3be)]=_0x20311b,this[_0x15b091(0x268)]=_0x41d388;}async[_0x1f91f3(0x27f)](_0x4db0bc,_0x3dd0b6,_0x13d330,..._0x408419){const _0x2fb019=_0x1f91f3;var _0x5c65ef,_0x5ed26d,_0x563470,_0x4d5b3b;const _0x3bb4e3=this[_0x2fb019(0x3b6)][_0x2fb019(0x3aa)]();if(!_0x3bb4e3)throw new Error(_0x2fb019(0x36b));const _0x361205=((_0x5c65ef=this[_0x2fb019(0x268)][_0x2fb019(0x1f7)](_0x5e2e2e[_0x2fb019(0x284)]))!=null?_0x5c65ef:_0x5e2e2e['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4db0bc+_0x2fb019(0x195)+_0x3dd0b6,_0x27cfd8=new URL(window[_0x2fb019(0x24c)][_0x2fb019(0x273)]),_0x517bc3={'scriptId':_0x4db0bc,'runId':(_0x5ed26d=_0x27cfd8[_0x2fb019(0x3b8)][_0x2fb019(0x21e)](_0x2fb019(0x2d1)))!=null?_0x5ed26d:'','function':_0x3dd0b6,'unitId':_0x3bb4e3[_0x2fb019(0x333)](),'argsOfFunction':JSON[_0x2fb019(0x368)](_0x408419),'invokeId':(_0x563470=_0x13d330[_0x2fb019(0x240)])!=null?_0x563470:'','executionId':(_0x4d5b3b=_0x13d330[_0x2fb019(0x2fa)])!=null?_0x4d5b3b:''};try{const _0x4a03b6=await this['_httpService'][_0x2fb019(0x2c7)](_0x361205,{'body':_0x517bc3});return _0x4a03b6[_0x2fb019(0x285)][_0x2fb019(0x385)]&&_0x4a03b6['body'][_0x2fb019(0x385)][_0x2fb019(0x17e)]!==_0x4f47a9['OK']?_0x2fb019(0x3e6):_0x4a03b6[_0x2fb019(0x285)][_0x2fb019(0x2d5)];}catch{return _0x2fb019(0x3e6);}}},_0x4e4c58['RemoteUniscriptService']=_0x53af6c([_0x1e7b16(0x0,_0x134956[_0x1f91f3(0x3ff)]),_0x1e7b16(0x1,_0x134956[_0x1f91f3(0x3a4)](_0x2d4778[_0x1f91f3(0x3d0)])),_0x1e7b16(0x2,_0x134956['IConfigService'])],_0x4e4c58[_0x1f91f3(0x228)]),_0x4e4c58[_0x1f91f3(0x1d2)]=_0x1f8961,_0x4e4c58[_0x1f91f3(0x22a)]=_0x1c82a9,_0x4e4c58[_0x1f91f3(0x2cf)]=_0x1ea4fa,_0x4e4c58[_0x1f91f3(0x1de)]=_0x36284c,_0x4e4c58['WebURLService']=_0x9db9e1,Object[_0x1f91f3(0x1cf)](_0x4e4c58,Symbol[_0x1f91f3(0x39c)],{'value':_0x1f91f3(0x28b)});}));function _0xf6ff(){const _0x443060=['_config','_backgroundColor','location','CollaborationEvent','setShapeProps','@univerjs/docs','_document','DOC_RANGE_TYPE','url(#off-line-single_clip0_910_343)','DocIMEInputManagerService','isActive','none','assignAColorForMemberID','split','#fff','subscribeEvent','collab-client.tooltip.reconnect','rxjs/operators','clipPath','dispose$','JOIN_ROOM_FAILED','includes','currentTheme$','_messageService','createElement','_docTransformSelectionsService','add','UNDEFINED','unshift','_memberService','_configService','takeUntil','CONNECTOR_DATA_TOO_LARGE','generateRandomId','getCoordByCell','M0\x200H16V16H0z','Rectangle','session.connection-failed','Optional','defs','getMember','href','_unitOnClients','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs/engine-render','transformIMECache','_context','forwardRef','LICENSE_MAX_UNITS_EXCEEDED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','origin','lineTo','unit','runOnServer','subunit','USERS_LEAVE','onCommandExecuted','_anchor','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','body','registerRenderModule','DeleteRangeMoveUpCommandId','getSheetBySheetId','fillRule','DEFAULT_WS_SESSION_TICKET_URL','Module','APPLY_DUPLICATED','isArray','all','_themeService','@univerjs-pro/collaboration-client','hovered','SetSelectionsOperation','TEXT','requireSession','_docSkeleton','IMessageService','trim','_color','@univerjs/design','NOT_FOUND','getOwnPropertyDescriptor','values','addClipboardHook','distinctUntilChanged','Tools','children','debounce','data','OTHER_CLIENTS_EDITING','wsSessionTicketUrl','save','collabStatus.synced','SOCKET_FAILED_RETRY','event$','isTransformMutationsWithChangesetSuccess','onPointerEnter$','PENDING','1460VjdAij','_onRefRangeChange','12wRvVXN','defIds','_status$','key','_name','_hover','_initStatusListener','permission.content','_handleLeaveEvent','getVpScrollXYInfoByPosToVp','UniverIcon','mergeOverrideWithDependencies','#FFF','width','handleInsertCol','_revisionService','_roomMembers$','CollaborationStatus','AWAITING_WITH_PENDING','NO_OTHER_CLIENTS_EDITING','YUUMI_URL_COL_OUT_OF_RANGE','loadUnit','popstate','name','IDocClipboardService','post','YUUMI_UNABLE_LOAD_URL','currentColor','_refreshCollabCursors','string','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','APPLY_REVISION_CONFILICT','_dataLoaderService','SheetCollabCursorShape','transformMutationsWithChangeset','runId','clearTimeout','touchDependencies','_updateLocalCursor','result','UniverProCollaborationClientUi','saveOfflineData','size','_commandService','ONLINE','ILocalStorageService','apply','handleMoveRange','delete','_hideTimer','getTypeOfUnitDisposed$','_transformUndoRedoStack','findNodePositionByCharIndex','collabStatus.fetchMiss','_collabCursorController','getViewport','from','getValue','react/jsx-runtime','off-line-single','COMPLETION_FINISHED','_labelPosition','APPLY_PERMISSION_DENIED','params','onStarting','debounceTime','_notificationService','CLOSE_ROOM','handleDeleteRangeMoveUp','map','_render','DesktopCollaborationStatusDisplayController','Shape','DisposableCollection','_createSocketURL','getCollabCursors$','executionId','push','collabStatus.offline','_ensureSubject','_getSessionTicket','UniverDocs','_renderManagerService','CollaborationSocketService','collabStatus.conflict','startsWith','ALREADY_EXISTS','registerComponent','_disabled','arc','assign','yellow.400','_entities','_hovered','send','complete','EffectRefRangId','throttleTime','source','_drawRectRange','RevisionService','collaboration.single-unit.warning','_injector','session.collaboration-timeout','className','doc.mutation.rich-text-editing','_cursorInfo$','WECHAT_HAS_BEEN_BOUND','UniverDrawing','roomMembers$','onPointerLeave$','_toggleOffline','eventID','_range','SYNCED','INVITE_CODE_ALREADY_BOUND','serializeRangeWithSheet','_handleHeartbeatEvent','_docSyncEditingCollabCursorService','show','_initDependencies','fill','_getScale','attrs','red.300','_scheduleHeartbeat','IRemoteInstanceService','redoState','BehaviorSubject','init','@univerjs/docs-ui','TOO_MANY_REQUESTS','prototype','getUnitId','on-line-single','SessionStatus','sessionStatus$','SetTextSelectionsOperation','endRow','sessionTicket','div','IConfigService','_docSkeletonManagerService','ILogService','_updateURLWithCurrentState','InsertRangeMoveDownCommandId','DependentOn','ITransformService','UniverCollaborationClientPlugin','InsertColCommandId','engine','_collabCursorState$','top','UniverEngineFormula','MessageType','_logService','YUUMI_NO_CUBOID_FOR_QUESTION','_localStorageService','pluginName','addObject','startRow','MUTATION','@univerjs/sheets','PERMISSION_DENIED','collab-rect-range-','addEventListener','path','DeleteRangeMoveLeftCommandId','jsx','switchMap','collab-text-range-','fillStyle','LICENSE_EXPORT_SIZE_EXCEEDED','_id','5216650XEOISh','DocCollaborationEntity','1562anSzPa','_startDocCollabCursor','transformMutation','ICommandService','getStateCache','_syncEditingCollabCursorService','svg','MOBILE_HAS_BEEN_BOUND','INVALID_ARGUMENT','_startSheetCollabCursor','stringify','amd','IImageIoService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','RegularPolygon','beginPath','_removeCollabCursors','saveTaskMap','ISnapshotServerService','_session','1em','selection','history','getItem','[CollaborationDataLoaderController]','_registerRenderDependencies','UniverCollaborationClientUIPlugin','triggerDblclick','_clearOtherTimers','SNAPSHOT_HAS_BEEN_REMOVED','_transformService','getActiveRange','ThemeService','getSheetId','getCurrent','_colorIndex','addHandlerCallback','_initEntityListener','React','error','status$','some','_assignedColors','_setupBeforeClosingHandler','UNIVER_SHEET','ticket','_docTransformIMECacheService','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','whenReady','_doCreateSocket','Warning','_lastPointer','Rect','getLocalCacheKey','406677yyQjec','concat','_collaborationUIEventService','cursorInfo$','collabCursorState$','newValue','getCollabEntity$','@univerjs/sheets-ui','toStringTag','debug','registerBeforeClose','getSkeleton','UniverUi','USER_NOT_INVITED_CODE','50004iNNHwP','_docClipboardService','Inject','_transformHistoryAndStateStack','753132xtUYSJ','color','asObservable','RxDisposable','getFocusedUnit','getUnitStatus$','purple.300','undoState','UniverDesign','getRelativeToViewportCoord','set','_handleHover','use','NOT_COLLAB','mutations','fromEventSubject','_instanceService','operators','searchParams','saveImage','Injector','transformRemoteChangeset','InsertRangeMoveRightCommandId','INVITE_CODE_HAS_BEEN_UES','_httpService','column','INotificationService','_univerInstanceService','indexOf','collaboration.closeRoom','_init','xlink:href','merge','FromArray','_scheduleClearOtherTimer','_toggleOnline','Unknown\x20user','displayName','deepClone','_initCommandExecutedListener','unsubscribe','isTransformMutationFailure','HTTPService','UniverSheets','closePath','_docTransformStateCacheService','contains','react','off-line-single_clip0_910_343','addObjects','@univerjs-pro/collaboration','_docStateChangeManagerService','_drawAnchor','_send','toDisposable','combineLatest','_draw','_onCursorDelete','random','focused$','setActiveRange','dispose','LocaleService','OFFLINE','Failed','Vector2','getRangePointData','ColorKit','SUBMIT_CHANGESET_TIMEOUT','UniverInstanceType','univer-flex\x20univer-mr-2\x20univer-text-xl','onMouseMove','shareReplay','colorChannel1','evenodd','replace','_transformPreviousActiveRange','sheetID','APPLY_NON_SEQUENTIAL_REVISION','_selfUnitIDs','length','UPDATE_CURSOR','blue.400','handleDeleteRangeMoveLeft','bottom','entityInit$','RemoveRowCommandId','tag','measureText','IUniverInstanceService','exhaustSavingTask','_removeClearOtherTimer','Tooltip','_beforeCloseService','search','_entityInit$','NodePositionConvertToRectRange','createInstance','sheetId','getUnhiddenWorksheets','registerDependencies','UnitStatus','setAlpha','setInterval','range','_handleJoinEvent','function','_localeService','find','LOCAL_CACHE_INTERVAL','m1Prime','subUnitId','session.will-retry','object','YUUMI_TABLE_NOT_FOUND_IN_UNIT','INTERNAL_ERROR','code','extend','handleInsertRow','drawWith','MoveRangeCommandId','DocSelectionManagerService','selections','@univerjs/drawing','idSuffix','_urlService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','0\x200\x2016\x2016','replaceState','_uiPartsService','hide','with','775ybOype','UNRECOGNIZED','_getSaveTimeout','collabStatus.notCollab','font','fillText','height','/run/','disposeUnit','BuiltInUIPart','_cursor','Workbook','url(#$1','hasOwnProperty','TEXT_RANGE_LAYER_INDEX','DocStateChangeManagerService','_unitStatus','setTimeout','urlChange$','LICENSE_DISTRO_REJECTED','_shapes','registerRefRange','toRgbString','fromEvent','_updateSubUnitFromURLParams','m2Prime','ENSURE_SNAPSHOT_EXECUTION','getRenderById','HEADER_MENU','syncEditingCollabCursor','SetWorksheetActivateCommand','getCurrentRevOfUnit','APPLY_REJECT','transformSelections','1329559FPKTvF','ranges','CollaborationUIEventId','handleInsertRangeMoveRight','_anchorDot','UniverRpc','getUndoRedoMutationParamsCache','SNAPSHOT_INVALID_SNAPSHOT','EMAIL_HAS_BEEN_BOUND','setParam','_collabSessionService','_collaborationController','SheetsSelectionsService','labelPosition','YUUMI_AI_RUN_FAILED','has','collabStatus.syncing','_scheduleSaving','@univerjs/ui','_colorAssignService','_cachedData','...','OnLineSingle','getTypeOfUnitAdded$','YUUMI_ASYNCIO_CANCELLED','rxjs','unload','on-line-single_clip0_910_349','@univerjs/rpc','transformByState','InsertRowCommandId','defineProperty','setItem','url(#on-line-single_clip0_910_349)','CollaborationStatusDisplay','LICENSE_IMPORT_SIZE_EXCEEDED','type','pipe','_registerDependencies','exports','entries','UNAUTHENTICATED','forEach','_getAnchorBounding','_imageIoService','text','WebBrowserSingleActiveUnitService','_online','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','then','_eventUnsubscribe','NodePositionConvertToCursor','LOGIN_FAILED','80hNmkXQ','cursorInfo','UNIVER_DOC','setStateCache','executeCommand','@univerjs/core','black','1AgyQAq','CollaborationDataLoaderController','getColorFromTheme','clearInterval','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','295227MFSpeI','_setupSubUnitSync','@univerjs/network','SOCKET_FAILED','_getMergeRange','collaboration-client.offline-data-not-saved','getConfig','current','_onCursorUpdate','_initStatusComponent','INVALID_INVITE_CODE','call','INVITE_CODE_REQUIRED','Disposable','_textBubble','@univerjs/engine-formula','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','round','subscribe','RECT','getAncestorScale','CollaborationSessionService','mask','useDependency','BrowserCollaborationSocketService','unitID','_handleEvent','getColor','disposeWithMe','transform','_refRangeService','_saveCache','icon','_localCacheService','permission.title','_cursorShapes','getMemberID','_heartbeatTimer','resize','memberID','IRenderManagerService','ACTIVE_UNIT_EVENT_CHANNEL','transformStateCache','IBeforeCloseService','SheetSkeletonManagerService','get','SetDocZoomRatioOperation','getOwnPropertySymbols','getMergeData','getActiveSheet','_initResize','substring','UniverProCollaborationClient','_sheetSkeletonManagerService','UniverEngineRender','RemoteUniscriptService','_getSheetObject','IURLService','setUndoRedoMutationParamsCache','YUUMI_SUBSCRIPTION_NOT_FOUND','RichTextEditingMutation','getCurrentUnitForType','_cursors','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:univer-text-gray-200','mapTo','replaceDocRanges','filter','_saveTaskMap','_updateCollabCursors','UniverCore','Error','getSheetObject','getParam','moveTo','CollaborationController','textRanges','parse','ILocalCacheService','COLORS','invokeId','CHANGESET_REVISION_CONFILICT','WebSocketService','unitId','next','MemberService','toString','_scene','setConfig','actions'];_0xf6ff=function(){return _0x443060;};return _0xf6ff();}
|
|
1
|
+
function _0x61b4(_0x210122,_0x37e079){const _0x1978f6=_0x1978();return _0x61b4=function(_0x61b4d0,_0x239c93){_0x61b4d0=_0x61b4d0-0x10c;let _0x5bb1a7=_0x1978f6[_0x61b4d0];return _0x5bb1a7;},_0x61b4(_0x210122,_0x37e079);}function _0x1978(){const _0x593952=['getActiveSheet','values','DataLoaderService','collaboration.closeRoom','UniverEngineRender','entries','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','onPointerMove$','DocSelectionManagerService','Workbook','CollaborationEvent','getVpScrollXYInfoByPosToVp','YUUMI_SUBSCRIPTION_NOT_FOUND','useDependency','univer-flex\x20univer-mr-2\x20univer-text-xl','round','ColorKit','getDocRanges','children','debounce','fillStyle','bottom','subscribeEvent','RevisionService','_handleHover','getUniverSheetInstance','size','includes','registerDependencies','SNAPSHOT_HAS_BEEN_REMOVED','FETCH_MISS','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CollaborationDataLoaderController','YUUMI_AI_RUN_FAILED','_color','redoState','LICENSE_EXPORT_SIZE_EXCEEDED','on-line-single','transformMutation','forwardRef','ILogService','SHEET_VIEWPORT_KEY','CollaborationUIEventService','_unitOnClients','combineLatest','history','LOCAL_CACHE_INTERVAL_KEY','IRemoteInstanceService','_docTransformIMECacheService','top','_scheduleClearOtherTimer','findNodePositionByCharIndex','ALREADY_EXISTS','string','disableLocalCache','measureText','backgroundColor','amd','_toggleOffline','closePath','name','_getScale','drawWith','handleMoveRange','deserializeRangeWithSheet','_lastPointer','post','sheetId','_onCursorUpdate','attrs','getOwnPropertySymbols','UniverUi','invokeId','collabStatus.synced','550484zcmnZd','getSkeleton','@univerjs/design','takeUntil','hasOwnProperty','saveTaskMap','toDisposable','@univerjs/engine-formula','labelPosition','isTransformMutationFailure','_collaborationController','@univerjs/core','_context','_instanceService','getUnhiddenWorksheets','USER_NOT_INVITED_CODE','endRow','replaceDocRanges','flatMap','LOGIN_FAILED','touchDependencies','_themeService','collabStatus.syncing','IUIPartsService','docStateChange$','_onCursorDelete','handleInsertRangeMoveRight','_registerRenderDependencies','red.300','Module','YUUMI_RATE_OVER_LIMIT','undoState','SetDocZoomRatioOperation','getCollabCursors$','collabStatus.offline','DocCollaborationEntity','source','CollaborationStatusDisplay','_selfUnitIDs','DeleteRangeMoveUpCommandId','range','Injector','UniverCore','UniverDocsUi','reconnect','call','eventID','SUBMIT_CHANGESET_TIMEOUT','whenReady','APPLY_REJECT','getColor','getAncestorScale','@univerjs/ui','YUUMI_ASYNCIO_CANCELLED','onPointerEnter$','PY_RUNTIME_SCRIPT_ERROR','replace','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverInstanceType','#fff','onLocalMutation','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','0\x200\x2017\x2016','min','disposeWithMe','getParam','_getSheetObject','assignAColorForMemberID','DocIMEInputManagerService','COMPLETION_FINISHED','requireSession','SessionStatus','_setupBeforeClosingHandler','extend','UniverCollaborationClientPlugin','UNIVER_SHEET','/run/','black','getCurrentUnitForType','...','_status$','Rect','_assignedColors','setAlpha','roomMembers','permission.content','merge','_drawRectRange','HEADER_MENU','CollaborationSocketService','_removeCollabCursors','_setupSubUnitSync','Vector2','_hideTimer','@univerjs/rpc','none','collabCursorState$','lineTo','getUndoRedoMutationParamsCache','PERMISSION_DENIED','_scheduleSaving','transformIMECache','_notificationService','WebBrowserSingleActiveUnitService','_collabCursorController','getTypeOfUnitAdded$','getMemberID','JOIN_ROOM_FAILED','SYNCED','OTHER_CLIENTS_EDITING','M0\x200H16V16H0z','_sheetSkeletonManagerService','UNDEFINED','UNAUTHENTICATED','_updateURLWithCurrentState','UNIVER_DOC','_dataLoaderService','resize','1em','event$','Tools','location','replaceState','data','UniverNetwork','focused$','SetWorksheetActivateCommand','switchMap','init','wsSessionTicketUrl','sessionStatus$','getValue','then','@univerjs-pro/collaboration','uni.network.url-service','ILocalStorageService','column','getOwnPropertyDescriptor','_ensureSubject','get','setConfig','subscribe','colorChannel1','triggerDblclick','_range','parse','operators','show','#FFF','ONLINE','_init','DocSkeletonManagerService','_scheduleHeartbeat','Optional','_handleEvent','sheetID','CollaborationController','translate(.97)','_clearOtherTimers','collab-text-anchor-','INTERNAL_ERROR','_online','_revisionService','9121023NqAmNc','_entityInit$','Error','CLOSE_ROOM','handleInsertRow','delete','getCollabEntity$','roomMembers$','_cursorInfo$','createInstance','currentTheme$','ICommandService','MUTATION','React','getMember','color','_collabSessionService','href','addHandlerCallback','ITransformService','CollaborationStatus','_updateLocalCursor','YUUMI_UNABLE_LOAD_URL','Shape','_localCacheService','rxjs','_getMergeRange','OFFLINE','_docSkeletonManagerService','saveOfflineData','TEXT','cursorInfo$','createSocket','onPointerLeave$','transform','onCommandExecuted','icon','div','setInterval','_textBubble','_transformPreviousActiveRange','FromArray','getRenderById','selections','_docClipboardService','throttleTime','_startDocCollabCursor','dispose$','LICENSE_DISTRO_REJECTED','@univerjs/docs','_anchorDot','getSheetObject','jsx','_docSkeleton','skeleton','NodePositionConvertToRectRange','_name','setItem','INVITE_CODE_REQUIRED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','798955xLuZbl','_collabCursorState$','_urlService','IConfigService','registerRenderModule','LICENSE_MAX_UNITS_EXCEEDED','defs','InsertRowCommandId','_initDependencies','_initCommandExecutedListener','_onRefRangeChange','Rectangle','28KvyDcu','_startSheetCollabCursor','className','indexOf','handleIRemoveCol','displayName','CONFLICT','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_doCreateSocket','pipe','key','serializeRangeWithSheet','getSheetBySheetId','_docTransformStateCacheService','collaboration.single-unit.warning','COLORS','setStateCache','SheetCollabCursorShape','UniverDocs','error','ranges','InsertRangeMoveDownCommandId','on-line-single_clip0_910_349','evenodd','getSheetId','UniverProCollaborationClient','INVALID_INVITE_CODE','_handleJoinEvent','setUndoRedoMutationParamsCache','INVALID_ARGUMENT','TRANSFORM_CHANGE_OBSERVABLE_TYPE','useCallback','unitId','_registerDependencies','_httpService','result','getFocusedUnit','701876SoIixD','deepClone','HTTPService','YUUMI_URL_COL_OUT_OF_RANGE','setShapeProps','getCoordByCell','_heartbeatTimer','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','entityInit$','push','complete','univer-flex\x20univer-items-center','DisposableCollection','USERS_LEAVE','apply','idSuffix','_shapes','_createSocketURL','connectInjector','IDocClipboardService','url(#on-line-single_clip0_910_349)','_document','text','getColorFromTheme','InsertRangeMoveRightCommandId','code','MoveRangeCommandId','_eventUnsubscribe','transformMutationsWithChangeset','SNAPSHOT_INVALID_SNAPSHOT','exports','_transformHistoryAndStateStack','save','Inject','getRangePointData','toStringTag','useObservable','IBeforeCloseService','m2Prime','_handleHeartbeatEvent','_configService','ThemeService','getLocalCacheKey','session.will-retry','APPLY_DUPLICATED','RichTextEditingMutation','body','rxjs/operators','0\x200\x2016\x2016','isEditing','hovered','transformSelections','TOO_MANY_REQUESTS','_refRangeService','collaboration-client-ui.config','_updateCollabCursors','OnLineSingle','transformByState','917754RglEZV','_renderManagerService','executeCommand','Plugin','@univerjs/sheets-ui','stringify','_backgroundColor','fill','_removeClearOtherTimer','_cachedData','defIds','@univerjs/sheets','react/jsx-runtime','saveImage','_cursor','green.600','getTypeOfUnitDisposed$','react','current','filter','RECT','_initEntityListener','_uiPartsService','@univerjs/docs-ui','restore','YUUMI_ALL_TABLES_IS_INVALID','width','forEach','RxDisposable','debounceTime','WebURLService','fillRule','SetTextSelectionsOperation','BehaviorSubject','NOT_FOUND','_logService','onRendered','_unitStatus','toString','8460424qvXOPe','getConfig','sessionTicket','subunit','session.collaboration-timeout','off-line-single','_render','blue.400','rgba(255,\x20255,\x20255,\x200.01)','_initResize','startRow','_docSyncEditingCollabCursorService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collab-client.tooltip.reconnect','AWAITING','_localeService','clearInterval','unsubscribe','transformStateCache','@univerjs-pro/collaboration-client','IMessageService','unload','_saveTaskMap','clipPath','DocStateChangeManagerService','hide','mapTo','CollaborationUIEventId','_session','[CollaborationDataLoaderController]','map','collab-rect-range-','UnitStatus','_handleLeaveEvent','UNRECOGNIZED','setTimeout','Disposable','registerRefRange','_docStateChangeManagerService','height','WECHAT_HAS_BEEN_BOUND','BrowserCollaborationSocketService','clearTimeout','getOffsetConfig','addEventListener','Subject','mutations','ILocalCacheService','from','@univerjs/network','DOC_RANGE_TYPE','application/json','has','_id','collab-text-range-','disposeUnit','with','unshift','handleDeleteRangeMoveUp','generateRandomId','2045133njWkJD','_injector','NO_OTHER_CLIENTS_EDITING','INVITE_CODE_ALREADY_BOUND','CommandType','all','_cursors','_univerInstanceService','concat','YUUMI_NO_CUBOID_FOR_QUESTION','_beforeCloseService','_initStatusComponent','EffectRefRangId','use','_memberService','setParam','session.connection-failed','_drawAnchor','_initStatusListener','_anchor','off-line-single_clip0_910_343','arc','toRgbString','mergeOverrideWithDependencies','textRanges','override','isTransformMutationsWithChangesetSuccess','UPDATE_CURSOR','engine','IRenderManagerService','getUnitStatus$','fromEvent','UniverDesign','set','dispose','isArray','ENSURE_SNAPSHOT_EXECUTION','MessageType','asObservable','univerjs-icon\x20univerjs-icon-','syncEditingCollabCursor','_docTransformSelectionsService','handleIRemoveRow','APPLY_REVISION_CONFILICT','enableLocalCache','send','getItem','_transformService','cursorInfo','createElement','params','urlChange$','_collaborationUIEventService','_transformUndoRedoStack','startsWith','split','function','runOnServer','LocaleService','selection','addObject','newValue','Unknown\x20user','UniverProCollaboration','AWAITING_WITH_PENDING','IUniverInstanceService','APPLY_PERMISSION_DENIED','isActive','_config','DesktopCollaborationStatusDisplayController','DEFAULT_WS_SESSION_TICKET_URL','VIEW_MAIN','activeSheet$','_getAnchorBounding','NodePositionConvertToCursor','OffLineSingle','BuiltInUIPart','NOT_COLLAB','registerBeforeClose','MOBILE_HAS_BEEN_BOUND','_disabled','xlink:href','storage','unitID','exhaustSavingTask','searchParams','_labelPosition','editingUnit','SOCKET_FAILED_RETRY','_hover','getRelativeToViewportCoord','path','_send','ACTIVE_UNIT_EVENT_CHANNEL','_initEvent','endColumn','svg','CHANGESET_REVISION_CONFILICT','_cursorShapes','contains','transformRemoteChangeset','popstate','_syncEditingCollabCursorService','add','_scene','RemoteUniscriptService','purple.300','_saveCache','handleInsertCol','doc.mutation.rich-text-editing','handleInsertRangeMoveDown','currentSkeleton$','symbol','DeleteRangeMoveLeftCommandId','TEXT_RANGE_LAYER_INDEX','tag','url(#$1','RegularPolygon','updateOfflineData','debug','unit','collabStatus.fetchMiss','CollaborationSessionService','getCellPositionByOffset','_messageService','@univerjs/drawing','_refreshCollabCursors','_hovered','onStarting','actions','getUnitId','@univerjs/engine-render','ISocketService','imageSourceType','yellow.400','makeDirty','defineProperty','pushState','length','RefRangeService','_commandService','DependentOn','fillText','OTHER_CLIENT_EDITING','_roomMembers$','propertyIsEnumerable','Failed','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_localStorageService','20bTHHJj','mask','_toggleOnline','max','onMouseMove','_getSessionTicket','runId','MemberService','_entities','collaboration-client.offline-data-not-saved','Warning','[RemoteUniscriptService]:\x20no\x20focused\x20unit','assign','m1Prime','getCurrent','WebSocketService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:univer-text-gray-200','origin','getCurrentRevOfUnit','_colorIndex','url(#off-line-single_clip0_910_343)','row','_colorAssignService','next','_updateSubUnitFromURLParams','_draw','currentColor','UniverCollaborationClientUIPlugin','IImageIoService','prototype'];_0x1978=function(){return _0x593952;};return _0x1978();}(function(_0x157bb0,_0x51bec2){const _0x328283=_0x61b4,_0xe9d7ac=_0x157bb0();while(!![]){try{const _0x398bba=parseInt(_0x328283(0x2d0))/0x1+-parseInt(_0x328283(0x136))/0x2+parseInt(_0x328283(0x1d3))/0x3+parseInt(_0x328283(0x268))/0x4*(-parseInt(_0x328283(0x3af))/0x5)+parseInt(_0x328283(0x170))/0x6*(parseInt(_0x328283(0x111))/0x7)+-parseInt(_0x328283(0x197))/0x8+parseInt(_0x328283(0x373))/0x9;if(_0x398bba===_0x51bec2)break;else _0xe9d7ac['push'](_0xe9d7ac['shift']());}catch(_0x5b4203){_0xe9d7ac['push'](_0xe9d7ac['shift']());}}}(_0x1978,0x9eb30),function(_0x4b5651,_0xdb168d){const _0x2fa8a4=_0x61b4;typeof exports=='object'&&typeof module<'u'?_0xdb168d(exports,require(_0x2fa8a4(0x1aa)),require(_0x2fa8a4(0x2db)),require(_0x2fa8a4(0x256)),require(_0x2fa8a4(0x1c8)),require(_0x2fa8a4(0x187)),require(_0x2fa8a4(0x250)),require(_0x2fa8a4(0x38c)),require(_0x2fa8a4(0x3a4)),require(_0x2fa8a4(0x355)),require(_0x2fa8a4(0x2d7)),require('@univerjs/sheets'),require(_0x2fa8a4(0x165)),require(_0x2fa8a4(0x174)),require(_0x2fa8a4(0x17c)),require(_0x2fa8a4(0x304)),require(_0x2fa8a4(0x2d2)),require(_0x2fa8a4(0x181)),require('@univerjs/rpc')):typeof define==_0x2fa8a4(0x20b)&&define[_0x2fa8a4(0x2bf)]?define([_0x2fa8a4(0x154),'@univerjs-pro/collaboration-client',_0x2fa8a4(0x2db),'@univerjs/engine-render','@univerjs/network',_0x2fa8a4(0x187),_0x2fa8a4(0x250),_0x2fa8a4(0x38c),_0x2fa8a4(0x3a4),_0x2fa8a4(0x355),'@univerjs/engine-formula',_0x2fa8a4(0x17b),_0x2fa8a4(0x165),_0x2fa8a4(0x174),_0x2fa8a4(0x17c),'@univerjs/ui',_0x2fa8a4(0x2d2),_0x2fa8a4(0x181),_0x2fa8a4(0x32e)],_0xdb168d):(_0x4b5651=typeof globalThis<'u'?globalThis:_0x4b5651||self,_0xdb168d(_0x4b5651['UniverProCollaborationClientUi']={},_0x4b5651[_0x2fa8a4(0x12a)],_0x4b5651[_0x2fa8a4(0x2fa)],_0x4b5651[_0x2fa8a4(0x28a)],_0x4b5651[_0x2fa8a4(0x34c)],_0x4b5651[_0x2fa8a4(0x2fb)],_0x4b5651['UniverDrawing'],_0x4b5651['rxjs'],_0x4b5651[_0x2fa8a4(0x123)],_0x4b5651[_0x2fa8a4(0x212)],_0x4b5651['UniverEngineFormula'],_0x4b5651['UniverSheets'],_0x4b5651[_0x2fa8a4(0x38c)][_0x2fa8a4(0x362)],_0x4b5651['UniverSheetsUi'],_0x4b5651[_0x2fa8a4(0x380)],_0x4b5651[_0x2fa8a4(0x2cd)],_0x4b5651[_0x2fa8a4(0x1f3)],_0x4b5651[_0x2fa8a4(0x380)],_0x4b5651['UniverRpc']));}(this,function(_0x4efe22,_0xf278db,_0x1530e5,_0x37f675,_0xde26a9,_0x3bb97e,_0x2c76e0,_0x42b625,_0x15f850,_0x19cd12,_0x2c554f,_0x347355,_0x38f9df,_0xd51ed0,_0x4067fa,_0x20e392,_0x44d5a0,_0x32bdf6,_0x4f3920){'use strict';const _0x3bd79c=_0x61b4;var _0xb6a82e=Object[_0x3bd79c(0x25b)],_0x1bdbce=(_0x1947ff,_0xda5628,_0x5026bb)=>_0xda5628 in _0x1947ff?_0xb6a82e(_0x1947ff,_0xda5628,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5026bb}):_0x1947ff[_0xda5628]=_0x5026bb,_0x3b9fde=(_0x41667f,_0x3c645d,_0x5aab59)=>_0x1bdbce(_0x41667f,typeof _0x3c645d!=_0x3bd79c(0x243)?_0x3c645d+'':_0x3c645d,_0x5aab59),_0x29a439=Object[_0x3bd79c(0x359)],_0x816cc2=(_0x32c423,_0x289110,_0x4f2373,_0x447a58)=>{const _0x393197=_0x3bd79c;for(var _0x34e7ec=_0x447a58>0x1?void 0x0:_0x447a58?_0x29a439(_0x289110,_0x4f2373):_0x289110,_0x1cf3c5=_0x32c423[_0x393197(0x25d)]-0x1,_0x3225cd;_0x1cf3c5>=0x0;_0x1cf3c5--)(_0x3225cd=_0x32c423[_0x1cf3c5])&&(_0x34e7ec=_0x3225cd(_0x34e7ec)||_0x34e7ec);return _0x34e7ec;},_0x48ea9b=(_0x5acb20,_0x1cdb9c)=>(_0x4244d9,_0x479317)=>_0x1cdb9c(_0x4244d9,_0x479317,_0x5acb20);let _0x80e98c=class extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(_0x2997ae,_0x3898fb){const _0x1cdea4=_0x3bd79c;super(),this[_0x1cdea4(0x39f)]=_0x2997ae,this['_imageIoService']=_0x3898fb,this[_0x1cdea4(0x366)]();}['_init'](){const _0x27e277=_0x3bd79c,_0xa81e79=this;this[_0x27e277(0x310)](this[_0x27e277(0x39f)]['addClipboardHook']({'onBeforePasteImage':async _0x4bbe1a=>{const _0xe2d82c=_0x27e277,_0x2f4eb5=await _0xa81e79['_imageIoService'][_0xe2d82c(0x17d)](_0x4bbe1a);return _0x2f4eb5?{'source':_0x2f4eb5[_0xe2d82c(0x2f4)],'imageSourceType':_0x2f4eb5[_0xe2d82c(0x258)]}:null;}}));}};_0x80e98c=_0x816cc2([_0x48ea9b(0x0,_0x3bb97e[_0x3bd79c(0x149)]),_0x48ea9b(0x1,_0x2c76e0[_0x3bd79c(0x284)])],_0x80e98c);const _0x5c44d5=[_0x3bd79c(0x23d),'jiqing.500',_0x3bd79c(0x17f),_0x3bd79c(0x2ec),_0x3bd79c(0x19e),_0x3bd79c(0x259)];class _0x178111 extends _0x1530e5[_0x3bd79c(0x1bb)]{constructor(){const _0x11299b=_0x3bd79c;super(...arguments),_0x3b9fde(this,_0x11299b(0x322),new Map()),_0x3b9fde(this,_0x11299b(0x27b),0x0);}[_0x3bd79c(0x313)](_0x5ccb0f){const _0x1dd9d3=_0x3bd79c;if(this[_0x1dd9d3(0x322)][_0x1dd9d3(0x1cb)](_0x5ccb0f))return this[_0x1dd9d3(0x322)][_0x1dd9d3(0x35b)](_0x5ccb0f);const _0x147e7c=_0x5c44d5[this[_0x1dd9d3(0x27b)]];return this['_colorIndex']=(this[_0x1dd9d3(0x27b)]+0x1)%_0x5c44d5[_0x1dd9d3(0x25d)],this[_0x1dd9d3(0x322)][_0x1dd9d3(0x1f4)](_0x5ccb0f,_0x147e7c),_0x147e7c;}}function _0x17ffc8(_0x1f61e1){let _0x446692='';for(const _0xed7aab of _0x1f61e1){const {startOffset:_0x3d76,endOffset:_0x538536,isActive:_0x507e05,rangeType:_0xd15aab,segmentId:_0x5e9cd3,segmentPage:_0x2b60ac}=_0xed7aab;_0x446692['length']&&(_0x446692+=','),_0x446692+=_0x3d76+':'+_0x538536+':'+(_0x507e05?'1':'0')+':'+_0xd15aab+':'+_0x5e9cd3+':'+_0x2b60ac;}return _0x446692;}function _0x236fad(_0x2ef3b1){const _0x469e3b=_0x3bd79c,_0x139fdd=_0x2ef3b1[_0x469e3b(0x20a)](','),_0x16c5e9=[];for(const _0x3bdaa0 of _0x139fdd){const [_0xcf9914,_0x1acc08,_0x56def8,_0x14ef44,_0x1ccb95,_0x4217f6]=_0x3bdaa0[_0x469e3b(0x20a)](':');_0x16c5e9['push']({'startOffset':Number(_0xcf9914),'endOffset':Number(_0x1acc08),'collapsed':_0xcf9914===_0x1acc08,'isActive':_0x56def8==='1','rangeType':_0x14ef44===_0x1530e5[_0x469e3b(0x1c9)][_0x469e3b(0x391)]?_0x1530e5[_0x469e3b(0x1c9)][_0x469e3b(0x391)]:_0x1530e5[_0x469e3b(0x1c9)][_0x469e3b(0x184)],'segmentId':typeof _0x1ccb95==_0x469e3b(0x2bb)?String(_0x1ccb95):'','segmentPage':Number(_0x4217f6!=null?_0x4217f6:-0x1)});}return _0x16c5e9['some'](_0x193047=>_0x193047[_0x469e3b(0x216)])||(_0x16c5e9[0x0][_0x469e3b(0x216)]=!0x0),_0x16c5e9;}class _0x88fed9 extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(){const _0x179fbb=_0x3bd79c;super(...arguments),_0x3b9fde(this,'_collabCursorState$',new _0x42b625[(_0x179fbb(0x191))](null)),_0x3b9fde(this,_0x179fbb(0x330),this[_0x179fbb(0x3b0)][_0x179fbb(0x1f9)]());}[_0x3bd79c(0x1fb)](_0x19310b){const _0x1d4f56=_0x3bd79c,{unitID:_0x484c25,memberID:_0xe02dd4,textRanges:_0x766a1}=_0x19310b,_0x3bec38=_0x17ffc8(_0x766a1);if(_0x3bec38==='')return;const _0x266ff1={'unitID':_0x484c25,'memberID':_0xe02dd4,'selection':_0x3bec38};this[_0x1d4f56(0x3b0)][_0x1d4f56(0x27f)](_0x266ff1);}}var _0x57a694=Object['getOwnPropertyDescriptor'],_0x3c984e=(_0x47655e,_0x279baa,_0x114735,_0xe008bb)=>{const _0x3455de=_0x3bd79c;for(var _0x58cc90=_0xe008bb>0x1?void 0x0:_0xe008bb?_0x57a694(_0x279baa,_0x114735):_0x279baa,_0x5528a1=_0x47655e[_0x3455de(0x25d)]-0x1,_0x1c4dcd;_0x5528a1>=0x0;_0x5528a1--)(_0x1c4dcd=_0x47655e[_0x5528a1])&&(_0x58cc90=_0x1c4dcd(_0x58cc90)||_0x58cc90);return _0x58cc90;},_0x3a5a3a=(_0x2a5b79,_0x54fffb)=>(_0x528b53,_0x420cb6)=>_0x54fffb(_0x528b53,_0x420cb6,_0x2a5b79);const _0x49b9a4=0x12c,_0x119fd7=0x64;let _0x3ad7d0=class extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(_0x5f10fd,_0xb89c0d,_0x4650c0,_0x102cbd,_0x38fb43,_0x282e60,_0x7b97cd,_0x1ff4a5,_0x2f6e96){const _0x1c3b64=_0x3bd79c;super(),_0x3b9fde(this,_0x1c3b64(0x371),!0x1),_0x3b9fde(this,'_init',!0x1),_0x3b9fde(this,'_cursorInfo$',new _0x42b625[(_0x1c3b64(0x191))](new Map())),_0x3b9fde(this,'cursorInfo$',this[_0x1c3b64(0x37b)][_0x1c3b64(0x1f9)]()),_0x3b9fde(this,_0x1c3b64(0x263),new _0x42b625[(_0x1c3b64(0x191))]([])),_0x3b9fde(this,_0x1c3b64(0x37a),this[_0x1c3b64(0x263)][_0x1c3b64(0x11a)](_0x42b625['debounceTime'](_0x49b9a4))),_0x3b9fde(this,_0x1c3b64(0x388),_0x1530e5[_0x1c3b64(0x299)](_0x29711b=>{const _0x4662db=_0x1c3b64,_0x24d260={'eventID':_0x19cd12[_0x4662db(0x290)][_0x4662db(0x1ee)],'data':{'unitID':this[_0x4662db(0x226)],'memberID':this['_session']['getMemberID'](),'selection':_0x17ffc8(_0x29711b)}};this['_session'][_0x4662db(0x200)](_0x24d260,this['unitID']);},_0x119fd7)),(this[_0x1c3b64(0x226)]=_0x5f10fd,this[_0x1c3b64(0x1b3)]=_0xb89c0d,this['_injector']=_0x4650c0,this['_colorAssignService']=_0x102cbd,this[_0x1c3b64(0x1e1)]=_0x38fb43,this[_0x1c3b64(0x239)]=_0x282e60,this[_0x1c3b64(0x202)]=_0x7b97cd,this[_0x1c3b64(0x1da)]=_0x1ff4a5,this[_0x1c3b64(0x25f)]=_0x2f6e96);}get['cursorInfo'](){const _0x5e8270=_0x3bd79c;return this[_0x5e8270(0x37b)][_0x5e8270(0x353)]();}get[_0x3bd79c(0x324)](){const _0xc2ba5e=_0x3bd79c;return this[_0xc2ba5e(0x263)]['getValue']();}[_0x3bd79c(0x1f5)](){const _0x93d50b=_0x3bd79c;super['dispose'](),this[_0x93d50b(0x37b)][_0x93d50b(0x27f)](new Map()),this['_cursorInfo$'][_0x93d50b(0x140)](),this[_0x93d50b(0x263)][_0x93d50b(0x27f)]([]),this[_0x93d50b(0x263)]['complete']();}['init'](){const _0x15d816=_0x3bd79c;this['_init']||(this[_0x15d816(0x366)]=!0x0,this['_session'][_0x15d816(0x352)]['pipe'](_0x42b625[_0x15d816(0x2d3)](this['dispose$']))[_0x15d816(0x35d)](_0x49bb83=>{const _0x20b374=_0x15d816;_0x49bb83===_0xf278db[_0x20b374(0x317)][_0x20b374(0x365)]?this[_0x20b374(0x26a)]():this['_toggleOffline']();}),this[_0x15d816(0x1b3)]['event$'][_0x15d816(0x11a)](_0x42b625[_0x15d816(0x2d3)](this[_0x15d816(0x3a2)]))[_0x15d816(0x35d)](_0x30cf4a=>{const _0xf2872d=_0x15d816,_0x5897da=_0x30cf4a[_0xf2872d(0x2fe)];_0x5897da===_0x19cd12[_0xf2872d(0x290)][_0xf2872d(0x1ee)]&&this['_onCursorUpdate'](_0x30cf4a),_0x5897da===_0x19cd12[_0xf2872d(0x290)][_0xf2872d(0x143)]&&this[_0xf2872d(0x2e9)](_0x30cf4a);}),this[_0x15d816(0x310)](this[_0x15d816(0x25f)][_0x15d816(0x396)](_0x8c7eaa=>{const _0x5c4c3c=_0x15d816,_0x3fefa3=_0x8c7eaa[_0x5c4c3c(0x205)];_0x3fefa3!=null&&this['_online']&&_0x8c7eaa['id']===_0x15f850[_0x5c4c3c(0x190)]['id']&&_0x3fefa3[_0x5c4c3c(0x131)]===this[_0x5c4c3c(0x226)]&&_0x3fefa3[_0x5c4c3c(0x167)]===!0x1&&_0x3fefa3[_0x5c4c3c(0x125)][_0x5c4c3c(0x25d)]>0x0&&this['_updateLocalCursor'](_0x3fefa3[_0x5c4c3c(0x125)]);})),this[_0x15d816(0x239)]['collabCursorState$'][_0x15d816(0x11a)](_0x42b625[_0x15d816(0x2d3)](this['dispose$']))[_0x15d816(0x35d)](_0x514e93=>{const _0x4b3b6c=_0x15d816;if((_0x514e93==null?void 0x0:_0x514e93[_0x4b3b6c(0x226)])!==this['unitID'])return;const _0x34b471={'eventID':_0x19cd12[_0x4b3b6c(0x290)][_0x4b3b6c(0x1ee)],'data':_0x514e93};this[_0x4b3b6c(0x2ca)](_0x34b471);}),this[_0x15d816(0x310)](this[_0x15d816(0x25f)][_0x15d816(0x396)](_0x41070c=>{const _0x19e353=_0x15d816;if(_0x41070c['params']==null)return;const _0x42b7d4=_0x41070c[_0x19e353(0x205)];if(_0x41070c['id']!==_0x15f850[_0x19e353(0x163)]['id']||_0x42b7d4[_0x19e353(0x131)]!==this[_0x19e353(0x226)])return;const _0x4b2c01={'id':'doc.mutation.rich-text-editing','params':_0x42b7d4},_0x4f65dc=this['cursorInfo'];for(const [_0x4fd22b,_0x512bdf]of _0x4f65dc){const _0x197a66={'id':_0x19e353(0x240),'params':{'unitId':this[_0x19e353(0x226)],'actions':null,'textRanges':_0x512bdf[_0x19e353(0x125)]}},_0x1e50e7=this[_0x19e353(0x202)][_0x19e353(0x2ac)](_0x4b2c01,_0x197a66,!0x1);if(_0x19cd12[_0x19e353(0x2d9)](_0x1e50e7))throw _0x1e50e7[_0x19e353(0x124)];_0x4f65dc['set'](_0x4fd22b,{..._0x512bdf,'ranges':_0x1e50e7[_0x19e353(0x15c)]['params']['textRanges']});}queueMicrotask(()=>{const _0x2b5d26=_0x19e353;this[_0x2b5d26(0x37b)][_0x2b5d26(0x27f)](_0x4f65dc);});})));}[_0x3bd79c(0x2ca)](_0x194dae){const _0x5691ce=_0x3bd79c;var _0x4b542c,_0x3367ea;const {memberID:_0x2e0531,selection:_0xec7648}=_0x194dae[_0x5691ce(0x34b)],_0x2e1c6b=_0x236fad(_0xec7648),_0x5e3940=(_0x3367ea=(_0x4b542c=this[_0x5691ce(0x1e1)][_0x5691ce(0x381)](this[_0x5691ce(0x226)],_0x2e0531))==null?void 0x0:_0x4b542c[_0x5691ce(0x2c2)])!=null?_0x3367ea:_0x5691ce(0x211),_0xbf393b={'color':this[_0x5691ce(0x27e)][_0x5691ce(0x313)](_0x2e0531),'name':_0x5e3940,'ranges':_0x2e1c6b},_0x6290d5=this[_0x5691ce(0x203)];_0x6290d5[_0x5691ce(0x1f4)](_0x2e0531,_0xbf393b),this[_0x5691ce(0x37b)][_0x5691ce(0x27f)](_0x6290d5);}[_0x3bd79c(0x2e9)](_0x152e8a){const _0x59c926=_0x3bd79c,{memberID:_0x402bb1}=_0x152e8a[_0x59c926(0x34b)],_0x4c40a8=this[_0x59c926(0x203)];_0x4c40a8[_0x59c926(0x378)](_0x402bb1),this['_cursorInfo$'][_0x59c926(0x27f)](_0x4c40a8);}[_0x3bd79c(0x26a)](){const _0x336a12=_0x3bd79c;var _0x36bbf3;if(this[_0x336a12(0x371)]=!0x0,((_0x36bbf3=this[_0x336a12(0x1da)][_0x336a12(0x135)]())==null?void 0x0:_0x36bbf3[_0x336a12(0x255)]())!==this[_0x336a12(0x226)])return;const _0x301c63=this['_injector'][_0x336a12(0x35b)](_0x15f850[_0x336a12(0x28e)])[_0x336a12(0x297)]();Array[_0x336a12(0x1f6)](_0x301c63)&&_0x301c63[_0x336a12(0x25d)]>0x0&&this['_updateLocalCursor'](_0x301c63);}[_0x3bd79c(0x2c0)](){this['_online']=!0x1;}};_0x3ad7d0=_0x3c984e([_0x3a5a3a(0x2,_0x1530e5[_0x3bd79c(0x157)](_0x1530e5['Injector'])),_0x3a5a3a(0x3,_0x1530e5[_0x3bd79c(0x157)](_0x178111)),_0x3a5a3a(0x4,_0x1530e5[_0x3bd79c(0x157)](_0xf278db[_0x3bd79c(0x26f)])),_0x3a5a3a(0x5,_0x1530e5[_0x3bd79c(0x157)](_0x88fed9)),_0x3a5a3a(0x6,_0x19cd12[_0x3bd79c(0x386)]),_0x3a5a3a(0x7,_0x1530e5[_0x3bd79c(0x214)]),_0x3a5a3a(0x8,_0x1530e5[_0x3bd79c(0x37e)])],_0x3ad7d0);var _0x1c56df=Object[_0x3bd79c(0x359)],_0x106078=(_0x1beb2e,_0x5009ff,_0x1d77bc,_0x1e67b3)=>{const _0x25525c=_0x3bd79c;for(var _0x13e729=_0x1e67b3>0x1?void 0x0:_0x1e67b3?_0x1c56df(_0x5009ff,_0x1d77bc):_0x5009ff,_0x15f511=_0x1beb2e[_0x25525c(0x25d)]-0x1,_0x5785d8;_0x15f511>=0x0;_0x15f511--)(_0x5785d8=_0x1beb2e[_0x15f511])&&(_0x13e729=_0x5785d8(_0x13e729)||_0x13e729);return _0x13e729;},_0x1285a9=(_0xcd46e2,_0x55f901)=>(_0x299ea6,_0x54a113)=>_0x55f901(_0x299ea6,_0x54a113,_0xcd46e2);const _0x417eee=0x12c,_0x32787f=0x64,_0x4ea0cb=()=>{let _0x5ec3c9=[],_0x4bb39b=!0x1;return _0x132e35=>{const _0x4345e9=_0x61b4;_0x5ec3c9[_0x4345e9(0x13f)](_0x132e35),_0x4bb39b||(_0x4bb39b=!0x0,setTimeout(()=>{const _0x4e8c35=_0x4345e9;_0x5ec3c9[_0x4e8c35(0x18b)](_0x7f2c52=>_0x7f2c52()),_0x5ec3c9=[],_0x4bb39b=!0x1;}));};};let _0x55c5d3=class extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(_0x3eff06,_0x8575d7,_0x3ef864,_0xb9d5bc,_0xedafc1,_0x443bed,_0x11aa16,_0x59d0cd){const _0x3bbdef=_0x3bd79c;super(),_0x3b9fde(this,_0x3bbdef(0x371),!0x1),_0x3b9fde(this,'_init',!0x1),_0x3b9fde(this,'_cursorInfo$',new _0x42b625['BehaviorSubject'](new Map())),_0x3b9fde(this,_0x3bbdef(0x392),this['_cursorInfo$'][_0x3bbdef(0x1f9)]()),_0x3b9fde(this,'_roomMembers$',new _0x42b625['BehaviorSubject']([])),_0x3b9fde(this,_0x3bbdef(0x37a),this[_0x3bbdef(0x263)][_0x3bbdef(0x11a)](_0x42b625[_0x3bbdef(0x18d)](_0x417eee))),_0x3b9fde(this,_0x3bbdef(0x388),_0x1530e5[_0x3bbdef(0x299)]((_0x2b1313,_0x5e6f34)=>{const _0x422f9e=_0x3bbdef,_0x53ebf7={'eventID':_0x19cd12[_0x422f9e(0x290)][_0x422f9e(0x1ee)],'data':{'unitID':this[_0x422f9e(0x226)],'memberID':this[_0x422f9e(0x1b3)][_0x422f9e(0x33a)](),'selection':_0x2c554f[_0x422f9e(0x11c)](_0x2b1313,_0x5e6f34['range'])}};this['_session']['send'](_0x53ebf7,this[_0x422f9e(0x226)]);},_0x32787f)),(this[_0x3bbdef(0x226)]=_0x3eff06,this[_0x3bbdef(0x1b3)]=_0x8575d7,this[_0x3bbdef(0x1d4)]=_0x3ef864,this['_colorAssignService']=_0xb9d5bc,this[_0x3bbdef(0x1e1)]=_0xedafc1,this[_0x3bbdef(0x1da)]=_0x443bed,this['_commandService']=_0x11aa16,this['_refRangeService']=_0x59d0cd);}get[_0x3bd79c(0x203)](){const _0x28b651=_0x3bd79c;return this[_0x28b651(0x37b)][_0x28b651(0x353)]();}get['roomMembers'](){const _0x4d6ce7=_0x3bd79c;return this[_0x4d6ce7(0x263)][_0x4d6ce7(0x353)]();}[_0x3bd79c(0x1f5)](){const _0x341562=_0x3bd79c;super['dispose'](),this[_0x341562(0x37b)][_0x341562(0x27f)](new Map()),this[_0x341562(0x37b)]['complete'](),this[_0x341562(0x263)][_0x341562(0x27f)]([]),this['_roomMembers$']['complete']();}[_0x3bd79c(0x350)](){const _0x64e543=_0x3bd79c;this['_init']||(this[_0x64e543(0x366)]=!0x0,this[_0x64e543(0x1b3)][_0x64e543(0x352)][_0x64e543(0x11a)](_0x42b625[_0x64e543(0x2d3)](this[_0x64e543(0x3a2)]))['subscribe'](_0x46ee5b=>{const _0x19483f=_0x64e543;_0x46ee5b===_0xf278db[_0x19483f(0x317)][_0x19483f(0x365)]?this['_toggleOnline']():this[_0x19483f(0x2c0)]();}),this[_0x64e543(0x1b3)][_0x64e543(0x347)][_0x64e543(0x11a)](_0x42b625[_0x64e543(0x2d3)](this[_0x64e543(0x3a2)]))[_0x64e543(0x35d)](_0x48507c=>{const _0x329e51=_0x64e543,_0x1ab1dc=_0x48507c[_0x329e51(0x2fe)];_0x1ab1dc===_0x19cd12[_0x329e51(0x290)]['UPDATE_CURSOR']&&this[_0x329e51(0x2ca)](_0x48507c),_0x1ab1dc===_0x19cd12[_0x329e51(0x290)][_0x329e51(0x143)]&&this[_0x329e51(0x2e9)](_0x48507c);}),this[_0x64e543(0x10f)](),this['disposeWithMe'](this[_0x64e543(0x25f)][_0x64e543(0x396)](_0x154be8=>{const _0x381d01=_0x64e543;if(this[_0x381d01(0x371)]&&_0x154be8['id']===_0x347355['SetSelectionsOperation']['id']&&_0x154be8[_0x381d01(0x205)][_0x381d01(0x131)]===this[_0x381d01(0x226)]){const _0x5ce2c5=_0x154be8[_0x381d01(0x205)];this[_0x381d01(0x388)](_0x5ce2c5['subUnitId'],_0x5ce2c5[_0x381d01(0x39e)][0x0]);}})));}[_0x3bd79c(0x2ca)](_0x5a5348){const _0x3ea6b7=_0x3bd79c;var _0x391133,_0x253fe4;const {memberID:_0x42e2b1,selection:_0x2a6690}=_0x5a5348[_0x3ea6b7(0x34b)],{sheetName:_0x196b6,range:_0x390ef9}=_0x2c554f[_0x3ea6b7(0x2c6)](_0x2a6690),_0x3a3eea={'name':(_0x253fe4=(_0x391133=this['_memberService'][_0x3ea6b7(0x381)](this['unitID'],_0x42e2b1))==null?void 0x0:_0x391133[_0x3ea6b7(0x2c2)])!=null?_0x253fe4:_0x3ea6b7(0x211),'range':this[_0x3ea6b7(0x38d)](_0x196b6,_0x390ef9),'sheetID':_0x196b6,'color':this['_colorAssignService'][_0x3ea6b7(0x313)](_0x42e2b1),'selection':_0x2a6690},_0x2dd338=this[_0x3ea6b7(0x203)];_0x2dd338[_0x3ea6b7(0x1f4)](_0x42e2b1,_0x3a3eea),this['_cursorInfo$']['next'](_0x2dd338);}[_0x3bd79c(0x2e9)](_0x196f1d){const _0x48124b=_0x3bd79c,{memberID:_0x57e30c}=_0x196f1d['data'],_0x394378=this['cursorInfo'];_0x394378[_0x48124b(0x378)](_0x57e30c),this[_0x48124b(0x37b)][_0x48124b(0x27f)](_0x394378);}[_0x3bd79c(0x38d)](_0x3b4115,_0x25a21c){const _0x401d76=_0x3bd79c;var _0x1ec137,_0x1813b1;const _0x4cd82b=(_0x1813b1=(_0x1ec137=this['_univerInstanceService'][_0x401d76(0x29f)](this['unitID']))==null?void 0x0:_0x1ec137['getSheetBySheetId'](_0x3b4115))==null?void 0x0:_0x1813b1['getMergeData']();return(_0x4cd82b==null?void 0x0:_0x4cd82b['find'](_0x5d7e86=>_0x1530e5[_0x401d76(0x110)][_0x401d76(0x236)](_0x5d7e86,_0x25a21c)))||_0x25a21c;}[_0x3bd79c(0x10f)](){const _0x133e2e=_0x3bd79c,_0x3f774f=new _0x1530e5[(_0x133e2e(0x142))](),_0x52366a=_0x4ea0cb(),_0x58d717=()=>{const _0x4c1edd=_0x133e2e;_0x3f774f['dispose']();const _0xeab552=(_0x4368ab,_0x14c5b7,_0x47f780,_0x59580b)=>{const _0x428d83=_0x61b4;let _0x4fea66=[];switch(_0x4368ab['id']){case _0x347355[_0x428d83(0x1df)][_0x428d83(0x244)]:{_0x4fea66=_0x347355['handleDeleteRangeMoveLeft'](_0x4368ab,_0x59580b);break;}case _0x347355[_0x428d83(0x1df)][_0x428d83(0x2f7)]:{_0x4fea66=_0x347355[_0x428d83(0x1d1)](_0x4368ab,_0x59580b);break;}case _0x347355[_0x428d83(0x1df)]['InsertColCommandId']:{_0x4fea66=_0x347355[_0x428d83(0x23f)](_0x4368ab,_0x59580b);break;}case _0x347355[_0x428d83(0x1df)][_0x428d83(0x126)]:{_0x4fea66=_0x347355[_0x428d83(0x241)](_0x4368ab,_0x59580b);break;}case _0x347355[_0x428d83(0x1df)][_0x428d83(0x14e)]:{_0x4fea66=_0x347355[_0x428d83(0x2ea)](_0x4368ab,_0x59580b);break;}case _0x347355[_0x428d83(0x1df)][_0x428d83(0x10c)]:{_0x4fea66=_0x347355[_0x428d83(0x377)](_0x4368ab,_0x59580b);break;}case _0x347355[_0x428d83(0x1df)][_0x428d83(0x150)]:{_0x4fea66=_0x347355[_0x428d83(0x2c5)](_0x4368ab,_0x59580b);break;}case _0x347355[_0x428d83(0x1df)]['RemoveColCommandId']:{_0x4fea66=_0x347355[_0x428d83(0x115)](_0x4368ab,_0x59580b);break;}case _0x347355[_0x428d83(0x1df)]['RemoveRowCommandId']:{_0x4fea66=_0x347355[_0x428d83(0x1fd)](_0x4368ab,_0x59580b);break;}}const _0x1a5726=_0x347355['runRefRangeMutations'](_0x4fea66,_0x59580b),_0x5e8a80=this[_0x428d83(0x203)][_0x428d83(0x35b)](_0x14c5b7);if(_0x5e8a80&&_0x1a5726){const _0x464332={..._0x5e8a80,'range':_0x1a5726};this[_0x428d83(0x203)][_0x428d83(0x1f4)](_0x14c5b7,_0x464332),_0x52366a(()=>{const _0x45ea5a=_0x428d83,_0x5e5b6b=this['_refRangeService'][_0x45ea5a(0x1bc)](_0x1a5726,_0x52b362=>(_0x5e5b6b[_0x45ea5a(0x1f5)](),_0xeab552(_0x52b362,_0x14c5b7,_0x47f780,_0x1a5726)));_0x3f774f[_0x45ea5a(0x23a)](_0x5e5b6b);});}return{'redos':[],'undos':[]};};this[_0x4c1edd(0x203)][_0x4c1edd(0x18b)]((_0x388107,_0x47cb66)=>{const _0x2ca64c=_0x4c1edd,{range:_0x38f6b7,sheetID:_0x43e0f5}=_0x388107,_0x18b9c2=this[_0x2ca64c(0x16b)][_0x2ca64c(0x1bc)](_0x38f6b7,_0x20fae0=>(_0x18b9c2[_0x2ca64c(0x1f5)](),_0xeab552(_0x20fae0,_0x47cb66,_0x43e0f5,_0x38f6b7)));_0x3f774f[_0x2ca64c(0x23a)](_0x18b9c2);});};this[_0x133e2e(0x310)](_0x1530e5[_0x133e2e(0x2d6)](this[_0x133e2e(0x37b)][_0x133e2e(0x35d)](()=>{_0x58d717();})));}[_0x3bd79c(0x26a)](){const _0x3cde5f=_0x3bd79c;var _0x45b645,_0x5175c1;if(this[_0x3cde5f(0x371)]=!0x0,((_0x45b645=this[_0x3cde5f(0x1da)][_0x3cde5f(0x135)]())==null?void 0x0:_0x45b645[_0x3cde5f(0x255)]())!==this[_0x3cde5f(0x226)])return;const _0x25b3e5=(_0x5175c1=this[_0x3cde5f(0x1d4)]['get'](_0x347355['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x5175c1[0x0],_0x154b33=this['_univerInstanceService'][_0x3cde5f(0x31e)](_0x1530e5[_0x3cde5f(0x30a)]['UNIVER_SHEET'])['getActiveSheet']();_0x25b3e5&&_0x154b33&&this[_0x3cde5f(0x388)](_0x154b33[_0x3cde5f(0x129)](),_0x25b3e5);}['_toggleOffline'](){this['_online']=!0x1;}};_0x55c5d3=_0x106078([_0x1285a9(0x2,_0x1530e5[_0x3bd79c(0x157)](_0x1530e5[_0x3bd79c(0x2f9)])),_0x1285a9(0x3,_0x1530e5[_0x3bd79c(0x157)](_0x178111)),_0x1285a9(0x4,_0x1530e5[_0x3bd79c(0x157)](_0xf278db[_0x3bd79c(0x26f)])),_0x1285a9(0x5,_0x1530e5[_0x3bd79c(0x214)]),_0x1285a9(0x6,_0x1530e5['ICommandService']),_0x1285a9(0x7,_0x1530e5['Inject'](_0x347355[_0x3bd79c(0x25e)]))],_0x55c5d3);var _0x24d28e=Object[_0x3bd79c(0x359)],_0x23ca0f=(_0x5a005b,_0x3055b8,_0x412b32,_0x5f4d8e)=>{for(var _0x1ae755=_0x5f4d8e>0x1?void 0x0:_0x5f4d8e?_0x24d28e(_0x3055b8,_0x412b32):_0x3055b8,_0x211746=_0x5a005b['length']-0x1,_0x55b1c3;_0x211746>=0x0;_0x211746--)(_0x55b1c3=_0x5a005b[_0x211746])&&(_0x1ae755=_0x55b1c3(_0x1ae755)||_0x1ae755);return _0x1ae755;},_0x27f586=(_0x4d67ff,_0x852a53)=>(_0x4b0c61,_0x440311)=>_0x852a53(_0x4b0c61,_0x440311,_0x4d67ff);let _0x2fd1a4=class extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(_0x23887b,_0x566e9d,_0x5f3999){const _0x3c18bd=_0x3bd79c;super(),_0x3b9fde(this,'_entities',new Map()),_0x3b9fde(this,_0x3c18bd(0x374),new _0x42b625[(_0x3c18bd(0x1c4))]()),(this[_0x3c18bd(0x1da)]=_0x23887b,this[_0x3c18bd(0x1d4)]=_0x566e9d,this[_0x3c18bd(0x383)]=_0x5f3999,this[_0x3c18bd(0x366)]());}['dispose'](){const _0x24b510=_0x3bd79c;super[_0x24b510(0x1f5)](),this[_0x24b510(0x374)][_0x24b510(0x140)](),this[_0x24b510(0x270)][_0x24b510(0x18b)](_0x3393b8=>_0x3393b8[_0x24b510(0x1f5)]());}['getCollabCursors$'](_0x476a63){const _0x44644a=_0x3bd79c;return this['_entities'][_0x44644a(0x1cb)](_0x476a63)?this[_0x44644a(0x270)]['get'](_0x476a63)[_0x44644a(0x392)]:this[_0x44644a(0x374)][_0x44644a(0x11a)](_0x42b625[_0x44644a(0x183)](_0x1f12af=>_0x1f12af[_0x44644a(0x226)]===_0x476a63),_0x42b625['switchMap'](_0x9742c7=>_0x9742c7['cursorInfo$']));}[_0x3bd79c(0x366)](){const _0x3596ec=_0x3bd79c;this[_0x3596ec(0x1da)][_0x3596ec(0x339)](_0x1530e5[_0x3596ec(0x30a)][_0x3596ec(0x31b)])['pipe'](_0x42b625[_0x3596ec(0x2d3)](this[_0x3596ec(0x3a2)]))[_0x3596ec(0x35d)](async _0x5e096f=>{const _0xcc136b=_0x3596ec,_0x1e66f7=_0x5e096f['getUnitId'](),_0x4904f8=await this[_0xcc136b(0x112)](_0x1e66f7);this[_0xcc136b(0x374)]['next'](_0x4904f8),this[_0xcc136b(0x270)]['set'](_0x1e66f7,_0x4904f8);}),this[_0x3596ec(0x1da)]['getTypeOfUnitAdded$'](_0x1530e5[_0x3596ec(0x30a)][_0x3596ec(0x343)])[_0x3596ec(0x11a)](_0x42b625[_0x3596ec(0x2d3)](this['dispose$']))[_0x3596ec(0x11a)](_0x42b625[_0x3596ec(0x183)](_0x1e64d9=>!_0x1e64d9[_0x3596ec(0x255)]()[_0x3596ec(0x209)]('__')))[_0x3596ec(0x35d)](async _0x1c3597=>{const _0x134a78=_0x3596ec,_0xcf71e1=_0x1c3597[_0x134a78(0x255)](),_0x43aee2=await this['_startDocCollabCursor'](_0xcf71e1);this['_entityInit$'][_0x134a78(0x27f)](_0x43aee2),this['_entities'][_0x134a78(0x1f4)](_0xcf71e1,_0x43aee2);}),_0x42b625[_0x3596ec(0x326)](this['_univerInstanceService'][_0x3596ec(0x180)](_0x1530e5[_0x3596ec(0x30a)]['UNIVER_DOC']),this[_0x3596ec(0x1da)][_0x3596ec(0x180)](_0x1530e5[_0x3596ec(0x30a)][_0x3596ec(0x31b)]))['pipe'](_0x42b625[_0x3596ec(0x2d3)](this[_0x3596ec(0x3a2)]))['subscribe'](_0x5593cb=>{const _0x4c7932=_0x3596ec,_0x100baf=_0x5593cb['getUnitId'](),_0x314288=this[_0x4c7932(0x270)]['get'](_0x100baf);_0x314288&&(_0x314288[_0x4c7932(0x1f5)](),this[_0x4c7932(0x270)][_0x4c7932(0x378)](_0x100baf));});}async[_0x3bd79c(0x112)](_0x3adbbf){const _0x45b5fd=_0x3bd79c,_0x579e6b=await this[_0x45b5fd(0x383)][_0x45b5fd(0x316)](_0x3adbbf),_0x17d336=this[_0x45b5fd(0x1d4)][_0x45b5fd(0x37c)](_0x55c5d3,_0x3adbbf,_0x579e6b);return _0x17d336['init'](),_0x17d336;}async[_0x3bd79c(0x3a1)](_0x69bab1){const _0x416a94=_0x3bd79c,_0x3c3cf9=await this[_0x416a94(0x383)][_0x416a94(0x316)](_0x69bab1),_0x3702ca=this[_0x416a94(0x1d4)][_0x416a94(0x37c)](_0x3ad7d0,_0x69bab1,_0x3c3cf9);return _0x3702ca[_0x416a94(0x350)](),_0x3702ca;}};_0x2fd1a4=_0x23ca0f([_0x27f586(0x0,_0x1530e5[_0x3bd79c(0x214)]),_0x27f586(0x1,_0x1530e5[_0x3bd79c(0x157)](_0x1530e5[_0x3bd79c(0x2f9)])),_0x27f586(0x2,_0x1530e5['Inject'](_0xf278db[_0x3bd79c(0x24d)]))],_0x2fd1a4);const _0x555bb2=0x14,_0x14e231=0xc8,_0x4ee4d1=0x4,_0x43f12e=0x5;function _0x33baae(_0x564edc,_0x3a187b){const _0x45b24d=_0x3bd79c;let {radius:_0x342db5,width:_0x55fbf2,height:_0x55b995}=_0x3a187b;_0x342db5=_0x342db5!=null?_0x342db5:0x0,_0x55fbf2=_0x55fbf2!=null?_0x55fbf2:0x1e,_0x55b995=_0x55b995!=null?_0x55b995:0x1e;let _0xf53c5f=0x0,_0xceb9a7=0x0,_0x232cc2=0x0;_0xf53c5f=_0xceb9a7=_0x232cc2=Math[_0x45b24d(0x30f)](_0x342db5,_0x55fbf2/0x2,_0x55b995/0x2),_0x564edc['beginPath'](),_0x564edc['moveTo'](_0xf53c5f,0x0),_0x564edc[_0x45b24d(0x331)](_0x55fbf2-_0xceb9a7,0x0),_0x564edc[_0x45b24d(0x1e8)](_0x55fbf2-_0xceb9a7,_0xceb9a7,_0xceb9a7,Math['PI']*0x3/0x2,0x0,!0x1),_0x564edc[_0x45b24d(0x331)](_0x55fbf2,_0x55b995-_0x232cc2),_0x564edc[_0x45b24d(0x1e8)](_0x55fbf2-_0x232cc2,_0x55b995-_0x232cc2,_0x232cc2,0x0,Math['PI']/0x2,!0x1),_0x564edc[_0x45b24d(0x331)](0x0,_0x55b995),_0x564edc[_0x45b24d(0x331)](0x0,_0xf53c5f),_0x564edc['arc'](_0xf53c5f,_0xf53c5f,_0xf53c5f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x564edc[_0x45b24d(0x2c1)](),_0x3a187b[_0x45b24d(0x177)]&&(_0x564edc['save'](),_0x564edc[_0x45b24d(0x29a)]=_0x3a187b[_0x45b24d(0x177)],_0x3a187b[_0x45b24d(0x18f)]==='evenodd'?_0x564edc[_0x45b24d(0x177)](_0x45b24d(0x128)):_0x564edc[_0x45b24d(0x177)](),_0x564edc['restore']());}class _0x6c1d9f extends _0x37f675[_0x3bd79c(0x38a)]{constructor(_0x2139aa,_0x490d08){const _0x518ca7=_0x3bd79c;super(_0x2139aa,_0x490d08),_0x3b9fde(this,_0x518ca7(0x382)),_0x3b9fde(this,_0x518ca7(0x14c)),(this[_0x518ca7(0x382)]=_0x490d08==null?void 0x0:_0x490d08[_0x518ca7(0x382)],this[_0x518ca7(0x14c)]=_0x490d08==null?void 0x0:_0x490d08[_0x518ca7(0x14c)]);}static[_0x3bd79c(0x2c4)](_0x46ec76,_0xab4cf8){const _0x567425=_0x3bd79c,{text:_0x1ad352,color:_0x5c5e49}=_0xab4cf8;_0x46ec76[_0x567425(0x156)](),_0x46ec76['font']=_0x567425(0x30d);const _0x253a7a=_0x46ec76[_0x567425(0x2bd)](_0x1ad352)['width'],_0x15b585=Math[_0x567425(0x30f)](_0x253a7a+0x2*_0x4ee4d1,_0x14e231);_0x33baae(_0x46ec76,{'height':_0x555bb2,'radius':0x4,'width':_0x15b585,'fill':_0x5c5e49}),_0x46ec76[_0x567425(0x29a)]=_0x567425(0x364);const _0x5e7d64=_0x4ee4d1,_0x359c3f=_0x555bb2-_0x43f12e,_0xfeabae=_0x14e231-0x2*_0x4ee4d1;if(_0x253a7a>_0xfeabae){let _0x40d308='',_0xaeca83=0x0;for(const _0x1e1f78 of _0x1ad352){const _0x4ff86d=_0x46ec76['measureText'](_0x1e1f78)[_0x567425(0x18a)];if(_0xaeca83+_0x4ff86d<=_0xfeabae-_0x46ec76[_0x567425(0x2bd)](_0x567425(0x31f))[_0x567425(0x18a)])_0x40d308+=_0x1e1f78,_0xaeca83+=_0x4ff86d;else{_0x40d308+=_0x567425(0x31f);break;}}_0x46ec76[_0x567425(0x261)](_0x40d308,_0x5e7d64,_0x359c3f);}else _0x46ec76[_0x567425(0x261)](_0x1ad352,_0x5e7d64,_0x359c3f);_0x46ec76[_0x567425(0x188)]();}[_0x3bd79c(0x281)](_0x5b2c81){const _0x3e7134=_0x3bd79c;_0x6c1d9f[_0x3e7134(0x2c4)](_0x5b2c81,this);}}const _0x430215=_0x3bd79c(0x36f),_0x1b6aa9=_0x3bd79c(0x1cd),_0x588a97=_0x3bd79c(0x1b6),_0xe0baae=0x6,_0x59a5a5=1.5,_0x11e5be=0x4,_0x11d681=1.5,_0x285916=_0x3bd79c(0x19f);class _0x39c01c{constructor(_0x1d0b56,_0xa0d08,_0x29e40c,_0x3104c6){const _0x4c2a48=_0x3bd79c;_0x3b9fde(this,_0x4c2a48(0x146),[]),_0x3b9fde(this,_0x4c2a48(0x1e6),null),_0x3b9fde(this,_0x4c2a48(0x39a),null),_0x3b9fde(this,_0x4c2a48(0x3a5),null),_0x3b9fde(this,_0x4c2a48(0x32d),null),_0x3b9fde(this,_0x4c2a48(0x151),null),(this[_0x4c2a48(0x17e)]=_0x1d0b56,this[_0x4c2a48(0x23b)]=_0xa0d08,this[_0x4c2a48(0x3a8)]=_0x29e40c,this[_0x4c2a48(0x14b)]=_0x3104c6,this[_0x4c2a48(0x19d)]());}set[_0x3bd79c(0x22c)](_0x46dc39){const _0x42d301=_0x3bd79c;_0x46dc39?(this[_0x42d301(0x3a5)]&&this['_anchorDot'][_0x42d301(0x1b0)](),this[_0x42d301(0x39a)]&&this[_0x42d301(0x39a)][_0x42d301(0x363)]()):(this['_anchorDot']&&this[_0x42d301(0x3a5)][_0x42d301(0x363)](),this[_0x42d301(0x39a)]&&this['_textBubble'][_0x42d301(0x1b0)]());}[_0x3bd79c(0x1f5)](){const _0x4d20e2=_0x3bd79c;for(const _0x3ec8a2 of this[_0x4d20e2(0x146)])_0x3ec8a2['dispose']();this[_0x4d20e2(0x39a)]&&this[_0x4d20e2(0x39a)][_0x4d20e2(0x1f5)](),this['_anchorDot']&&this['_anchorDot'][_0x4d20e2(0x1f5)](),this['_anchor']&&this[_0x4d20e2(0x1e6)][_0x4d20e2(0x1f5)](),this['_eventUnsubscribe']&&this[_0x4d20e2(0x151)]();}['_render'](){const _0x1d9ac2=_0x3bd79c;var _0x5ad9f1;const {_docSkeleton:_0x466ce6,_document:_0x18ee0d}=this,{color:_0x5d1c30,name:_0x5f178e,ranges:_0x32de11}=this['_cursor'],_0x3e8cb7=_0x18ee0d[_0x1d9ac2(0x1c2)](),{docsLeft:_0x7dea3d,docsTop:_0x59ec92}=_0x3e8cb7,_0x5934dd=new _0x3bb97e[(_0x1d9ac2(0x21d))](_0x3e8cb7,_0x466ce6);for(const {startOffset:_0x5182c6,endOffset:_0x21d273,rangeType:_0x50a8f8,segmentId:_0x5cd68e,segmentPage:_0x302797,collapsed:_0xbe6294,isActive:_0x161228}of _0x32de11){const _0x1e9e09=_0x466ce6[_0x1d9ac2(0x2b9)](_0x5182c6,!0x0,_0x5cd68e,_0x302797);let _0x17e310=_0x466ce6[_0x1d9ac2(0x2b9)](_0x21d273,!0x0,_0x5cd68e,_0x302797);if(_0x17e310==null&&(_0x17e310=_0x466ce6[_0x1d9ac2(0x2b9)](_0x21d273-0x1,!0x1,_0x5cd68e,_0x302797)),_0x161228){const {contentBoxPointGroup:_0x389aed}=_0x5934dd['getRangePointData'](_0x17e310,_0x17e310);if(_0x389aed['length']===0x0)continue;this[_0x1d9ac2(0x1e4)](_0x5d1c30,_0x389aed,_0x7dea3d,_0x59ec92,_0x5f178e),this[_0x1d9ac2(0x151)]=this[_0x1d9ac2(0x29e)]();}if(_0x1e9e09&&_0x17e310){if(_0x50a8f8===_0x1530e5['DOC_RANGE_TYPE']['RECT']){const _0x415002=new _0x3bb97e[(_0x1d9ac2(0x3aa))](_0x3e8cb7,_0x466ce6),{pointGroup:_0x446c6f}=(_0x5ad9f1=_0x415002[_0x1d9ac2(0x158)](_0x1e9e09,_0x17e310))!=null?_0x5ad9f1:{};if(_0x446c6f==null||_0x446c6f['length']===0x0)continue;this[_0x1d9ac2(0x327)](_0x5d1c30,_0x446c6f,_0x7dea3d,_0x59ec92);}else{if(!_0xbe6294){const {borderBoxPointGroup:_0x4ff030}=_0x5934dd[_0x1d9ac2(0x158)](_0x1e9e09,_0x17e310);if(_0x4ff030[_0x1d9ac2(0x25d)]===0x0)continue;this['_drawTextRange'](_0x5d1c30,_0x4ff030,_0x7dea3d,_0x59ec92);}}}}}[_0x3bd79c(0x1e4)](_0x50484a,_0x573ec5,_0x4f039d,_0x5520bb,_0x19d7a0){const _0x512eb2=_0x3bd79c,_0x5d5660=this[_0x512eb2(0x21c)](_0x573ec5),{left:_0x51b852,top:_0x8df1ef,height:_0x4ed024}=_0x5d5660,_0x24646d=this[_0x512eb2(0x2c3)](),_0x1d881b=_0x11d681/_0x24646d,_0x123819=new _0x37f675[(_0x512eb2(0x321))](_0x430215+_0x1530e5[_0x512eb2(0x348)][_0x512eb2(0x1d2)](_0xe0baae),{'left':_0x51b852+_0x4f039d-_0x1d881b,'top':_0x8df1ef+_0x5520bb,'height':_0x4ed024,'width':_0x59a5a5,'fill':_0x50484a||_0x37f675['getColor'](_0x1530e5[_0x512eb2(0x120)][_0x512eb2(0x31d)],0x0),'strokeWidth':_0x1d881b,'stroke':_0x285916,'evented':!0x0});this[_0x512eb2(0x1e6)]=_0x123819,this['_scene'][_0x512eb2(0x20f)](_0x123819,_0x3bb97e[_0x512eb2(0x245)]);const _0x31fc47=new _0x37f675['Rect'](_0x430215+_0x1530e5[_0x512eb2(0x348)][_0x512eb2(0x1d2)](_0xe0baae),{'left':_0x51b852+_0x4f039d-_0x1d881b,'top':_0x8df1ef+_0x5520bb-_0x11e5be/0x2,'height':_0x11e5be,'width':_0x11e5be,'fill':_0x50484a||_0x37f675[_0x512eb2(0x302)](_0x1530e5[_0x512eb2(0x120)][_0x512eb2(0x31d)],0x0),'strokeWidth':0x0,'stroke':_0x50484a||_0x37f675['getColor'](_0x1530e5['COLORS'][_0x512eb2(0x31d)],0x0),'evented':!0x1});this[_0x512eb2(0x3a5)]=_0x31fc47,this[_0x512eb2(0x23b)][_0x512eb2(0x20f)](_0x31fc47,_0x3bb97e[_0x512eb2(0x245)]);const _0x175d38=new _0x6c1d9f(_0x430215+_0x1530e5[_0x512eb2(0x348)][_0x512eb2(0x1d2)](_0xe0baae),{'left':_0x51b852+_0x4f039d-_0x1d881b,'top':_0x8df1ef+_0x5520bb-_0x555bb2,'text':_0x19d7a0,'color':_0x50484a});this['_textBubble']=_0x175d38,this[_0x512eb2(0x23b)][_0x512eb2(0x20f)](_0x175d38,_0x3bb97e[_0x512eb2(0x245)]),this['_hover']=!0x1;}[_0x3bd79c(0x29e)](){const _0x22f405=_0x3bd79c,_0x352ba5=this[_0x22f405(0x1e6)][_0x22f405(0x306)][_0x22f405(0x29c)](()=>{this['_hover']=!0x0;}),_0x42adcd=this[_0x22f405(0x1e6)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x12d8b0=_0x22f405;this['_hideTimer']&&clearTimeout(this[_0x12d8b0(0x32d)]),this[_0x12d8b0(0x32d)]=setTimeout(()=>{const _0x55ea7c=_0x12d8b0;this[_0x55ea7c(0x22c)]=!0x1;},0x7d0);});return()=>{const _0x1b3537=_0x22f405;_0x352ba5[_0x1b3537(0x1a8)](),_0x42adcd['unsubscribe']();};}['_drawTextRange'](_0x26c274,_0x292866,_0x37f18a,_0x3a3300){const _0x1c5846=_0x3bd79c,_0x56d44c=new _0x1530e5[(_0x1c5846(0x296))](_0x26c274)[_0x1c5846(0x323)](0.2)[_0x1c5846(0x1e9)](),_0x314988=new _0x37f675['RegularPolygon'](_0x1b6aa9+_0x1530e5[_0x1c5846(0x348)][_0x1c5846(0x1d2)](_0xe0baae),{'pointsGroup':_0x292866,'fill':_0x56d44c||_0x37f675[_0x1c5846(0x302)](_0x1530e5[_0x1c5846(0x120)][_0x1c5846(0x31d)],0.2),'left':_0x37f18a,'top':_0x3a3300,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c5846(0x146)][_0x1c5846(0x13f)](_0x314988),this[_0x1c5846(0x23b)][_0x1c5846(0x20f)](_0x314988,_0x3bb97e[_0x1c5846(0x245)]);}['_drawRectRange'](_0x3f5491,_0x3e202a,_0x46094d,_0x204506){const _0x1c849e=_0x3bd79c,_0x2df343=new _0x1530e5['ColorKit'](_0x3f5491)['setAlpha'](0.2)[_0x1c849e(0x1e9)](),_0x5bf31c=new _0x37f675[(_0x1c849e(0x248))](_0x588a97+_0x1530e5[_0x1c849e(0x348)][_0x1c849e(0x1d2)](_0xe0baae),{'pointsGroup':_0x3e202a,'fill':_0x2df343||_0x37f675[_0x1c849e(0x302)](_0x1530e5[_0x1c849e(0x120)][_0x1c849e(0x31d)],0.2),'left':_0x46094d,'top':_0x204506,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1c849e(0x13f)](_0x5bf31c),this[_0x1c849e(0x23b)][_0x1c849e(0x20f)](_0x5bf31c,_0x3bb97e[_0x1c849e(0x245)]);}[_0x3bd79c(0x21c)](_0x59f28d){const _0x4913bf=_0x59f28d[0x0],_0x58d3ac=_0x4913bf[0x0],_0x3346e3=_0x4913bf[0x2],{x:_0x5927f6,y:_0x21be5a}=_0x58d3ac,{x:_0x43ba69,y:_0x1e7838}=_0x3346e3;return{'left':_0x5927f6,'top':_0x21be5a,'width':_0x43ba69-_0x5927f6,'height':_0x1e7838-_0x21be5a};}['_getScale'](){const _0x5b5089=_0x3bd79c,{scaleX:_0x55d30c,scaleY:_0x50aa12}=this[_0x5b5089(0x23b)][_0x5b5089(0x303)]();return Math[_0x5b5089(0x26b)](_0x55d30c,_0x50aa12);}}var _0x2fb105=Object['getOwnPropertyDescriptor'],_0x34b268=(_0x1aa0d9,_0x349154,_0x21121b,_0x398706)=>{for(var _0xc6d22c=_0x398706>0x1?void 0x0:_0x398706?_0x2fb105(_0x349154,_0x21121b):_0x349154,_0x1e2e5e=_0x1aa0d9['length']-0x1,_0x5ce642;_0x1e2e5e>=0x0;_0x1e2e5e--)(_0x5ce642=_0x1aa0d9[_0x1e2e5e])&&(_0xc6d22c=_0x5ce642(_0xc6d22c)||_0xc6d22c);return _0xc6d22c;},_0x473dfa=(_0x63428,_0x48a8c0)=>(_0x46b96a,_0x574222)=>_0x48a8c0(_0x46b96a,_0x574222,_0x63428);let _0x5ad2bc=class extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(_0x3227be,_0x59bdff,_0x4a9eff,_0x5c5714,_0x470b07){const _0x56a294=_0x3bd79c;super(),_0x3b9fde(this,_0x56a294(0x235),[]),_0x3b9fde(this,_0x56a294(0x1d9),[]),(this[_0x56a294(0x2dc)]=_0x3227be,this[_0x56a294(0x38f)]=_0x59bdff,this['_collabCursorController']=_0x4a9eff,this[_0x56a294(0x25f)]=_0x5c5714,this[_0x56a294(0x2e5)]=_0x470b07,this[_0x56a294(0x366)]());}[_0x3bd79c(0x366)](){const _0x52a380=_0x3bd79c,_0x53a717=this[_0x52a380(0x2dc)][_0x52a380(0x131)],_0x418650=this[_0x52a380(0x38f)];this[_0x52a380(0x310)](_0x42b625[_0x52a380(0x2b2)]([this['_collabCursorController'][_0x52a380(0x2f1)](_0x53a717),this[_0x52a380(0x2e5)][_0x52a380(0x37d)]])[_0x52a380(0x11a)](_0x38f9df['map'](([_0x225ae8,_0x1afbcf])=>({'skeleton':_0x418650[_0x52a380(0x2d1)](),'cursors':[..._0x225ae8[_0x52a380(0x287)]()][_0x52a380(0x2e2)](_0x5366d0=>({..._0x5366d0,'color':this[_0x52a380(0x2e5)]['getColorFromTheme'](_0x5366d0[_0x52a380(0x382)])}))})))[_0x52a380(0x35d)](_0x3de2cb=>{const _0x4e09cf=_0x52a380;if(this[_0x4e09cf(0x32a)](),_0x3de2cb){const {skeleton:_0x101823,cursors:_0x57c549}=_0x3de2cb;this[_0x4e09cf(0x16d)](_0x101823,_0x57c549);}})),this[_0x52a380(0x1a0)](),this[_0x52a380(0x10e)]();}[_0x3bd79c(0x16d)](_0x8a5cc3,_0x3d9c4a){const _0x325612=_0x3bd79c,{scene:_0xb98a11,mainComponent:_0x2066b3}=this[_0x325612(0x2dc)],_0x17b991=_0x3d9c4a['map'](_0x46378c=>new _0x39c01c(_0x46378c,_0xb98a11,_0x8a5cc3,_0x2066b3));this[_0x325612(0x235)]=_0x17b991,this['_cursors']=_0x3d9c4a;}['_refreshCollabCursors'](){const _0x875c8f=_0x3bd79c;this[_0x875c8f(0x32a)]();const {scene:_0x303d51,mainComponent:_0x4685f7}=this[_0x875c8f(0x2dc)],_0x3addba=this[_0x875c8f(0x38f)][_0x875c8f(0x2d1)](),_0xa9de5c=this[_0x875c8f(0x1d9)][_0x875c8f(0x1b5)](_0x3cb50b=>new _0x39c01c(_0x3cb50b,_0x303d51,_0x3addba,_0x4685f7));this[_0x875c8f(0x235)]=_0xa9de5c;}[_0x3bd79c(0x32a)](){const _0x4618a3=_0x3bd79c;this[_0x4618a3(0x235)][_0x4618a3(0x18b)](_0x4e5acc=>_0x4e5acc[_0x4618a3(0x1f5)]()),this[_0x4618a3(0x235)]=[];}[_0x3bd79c(0x10e)](){const _0x597d8d=_0x3bd79c,_0x3df720=[_0x3bb97e[_0x597d8d(0x2f0)]['id']];this[_0x597d8d(0x310)](this['_commandService'][_0x597d8d(0x396)](_0x4c07dd=>{const _0x4484bc=_0x597d8d;_0x3df720[_0x4484bc(0x2a1)](_0x4c07dd['id'])&&_0x4c07dd['params'][_0x4484bc(0x131)]===this[_0x4484bc(0x2dc)][_0x4484bc(0x131)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x227777=_0x3bd79c;this[_0x227777(0x310)](_0x1530e5['fromEventSubject'](this[_0x227777(0x2dc)][_0x227777(0x1ef)]['onTransformChange$'])[_0x227777(0x11a)](_0x38f9df['filter'](_0x298d35=>_0x298d35['type']===_0x37f675[_0x227777(0x12f)][_0x227777(0x345)]),_0x38f9df[_0x227777(0x3a0)](0x10))['subscribe'](()=>{const _0x1f0ea6=_0x227777;this[_0x1f0ea6(0x251)]();}));}};_0x5ad2bc=_0x34b268([_0x473dfa(0x1,_0x1530e5[_0x3bd79c(0x157)](_0x15f850[_0x3bd79c(0x367)])),_0x473dfa(0x2,_0x1530e5[_0x3bd79c(0x157)](_0x2fd1a4)),_0x473dfa(0x3,_0x1530e5[_0x3bd79c(0x37e)]),_0x473dfa(0x4,_0x1530e5['Inject'](_0x1530e5['ThemeService']))],_0x5ad2bc);const _0x1a171a=0x1,_0x3c82fb=1.5;class _0x3a9c78 extends _0x37f675['Shape']{constructor(_0x43e6a6,_0x3c7924){const _0x1d6848=_0x3bd79c;super(_0x43e6a6,_0x3c7924),_0x3b9fde(this,_0x1d6848(0x2a8)),_0x3b9fde(this,_0x1d6848(0x252),!0x1),_0x3b9fde(this,'_range'),_0x3b9fde(this,_0x1d6848(0x3ab),''),_0x3b9fde(this,_0x1d6848(0x229),_0x1d6848(0x2b7)),_0x3b9fde(this,'_backgroundColor'),(_0x3c7924&&this[_0x1d6848(0x13a)](_0x3c7924),this[_0x1d6848(0x306)][_0x1d6848(0x29c)](()=>this[_0x1d6848(0x13a)]({'hovered':!0x0})),this[_0x1d6848(0x394)][_0x1d6848(0x29c)](()=>this[_0x1d6848(0x13a)]({'hovered':!0x1})));}[_0x3bd79c(0x13a)](_0x52d7fe){const _0x48a1bb=_0x3bd79c;var _0x585538,_0x3b4a3b,_0x1af140,_0x56ecc9,_0x2e3b2f,_0x3e3aca;this['_color']=(_0x585538=_0x52d7fe[_0x48a1bb(0x382)])!=null?_0x585538:this[_0x48a1bb(0x2a8)],this[_0x48a1bb(0x252)]=(_0x3b4a3b=_0x52d7fe[_0x48a1bb(0x168)])!=null?_0x3b4a3b:this[_0x48a1bb(0x252)],this[_0x48a1bb(0x360)]=(_0x1af140=_0x52d7fe[_0x48a1bb(0x2f8)])!=null?_0x1af140:this[_0x48a1bb(0x360)],this[_0x48a1bb(0x3ab)]=(_0x56ecc9=_0x52d7fe[_0x48a1bb(0x2c2)])!=null?_0x56ecc9:this[_0x48a1bb(0x3ab)],this[_0x48a1bb(0x229)]=(_0x2e3b2f=_0x52d7fe[_0x48a1bb(0x2d8)])!=null?_0x2e3b2f:this['_labelPosition'],this['_backgroundColor']=(_0x3e3aca=_0x52d7fe[_0x48a1bb(0x2be)])!=null?_0x3e3aca:this[_0x48a1bb(0x176)],this[_0x48a1bb(0x16f)]({'width':_0x52d7fe[_0x48a1bb(0x18a)],'height':_0x52d7fe[_0x48a1bb(0x1be)]});}[_0x3bd79c(0x26c)](_0x1ae8b1){const _0x4f7154=_0x3bd79c,{row:_0x4e61dc,column:_0x3af751}=_0x1ae8b1;if(_0x4e61dc>=this['_range'][_0x4f7154(0x1a1)]&&_0x4e61dc<=this[_0x4f7154(0x360)][_0x4f7154(0x2e0)]&&_0x3af751>=this[_0x4f7154(0x360)]['startColumn']&&_0x3af751<=this[_0x4f7154(0x360)][_0x4f7154(0x232)]){this[_0x4f7154(0x13a)]({'hovered':!0x0});return;}this[_0x4f7154(0x13a)]({'hovered':!0x1});}[_0x3bd79c(0x35f)](_0x41e2fc){return!0x1;}[_0x3bd79c(0x281)](_0x2cc561){const _0x469de1=_0x3bd79c;_0x37f675[_0x469de1(0x321)][_0x469de1(0x2c4)](_0x2cc561,{'width':this[_0x469de1(0x18a)],'height':this[_0x469de1(0x1be)],'strokeWidth':_0x3c82fb,'stroke':this[_0x469de1(0x2a8)],'evented':!0x1,'fill':this[_0x469de1(0x176)]}),this['_hovered']&&(_0x2cc561['save'](),_0x2cc561[_0x469de1(0x395)](0x1,0x0,0x0,0x1,this[_0x469de1(0x18a)],this['_labelPosition']===_0x469de1(0x29b)?0x0:-0x14),_0x6c1d9f[_0x469de1(0x2c4)](_0x2cc561,{'text':this[_0x469de1(0x3ab)],'color':this[_0x469de1(0x2a8)]}),_0x2cc561[_0x469de1(0x188)]());}}var _0x443d39=Object[_0x3bd79c(0x359)],_0x253ffe=(_0x54322a,_0x5bdaa3,_0x280c4c,_0x26dea1)=>{const _0x2a413f=_0x3bd79c;for(var _0x1c55d6=_0x26dea1>0x1?void 0x0:_0x26dea1?_0x443d39(_0x5bdaa3,_0x280c4c):_0x5bdaa3,_0x354faf=_0x54322a[_0x2a413f(0x25d)]-0x1,_0x270177;_0x354faf>=0x0;_0x354faf--)(_0x270177=_0x54322a[_0x354faf])&&(_0x1c55d6=_0x270177(_0x1c55d6)||_0x1c55d6);return _0x1c55d6;},_0x2b8f07=(_0x182590,_0x5622f3)=>(_0x3aa769,_0x3c1fd0)=>_0x5622f3(_0x3aa769,_0x3c1fd0,_0x182590);const _0x24d32c=0x1389;let _0x511839=class extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(_0x3b3768,_0x265451,_0x4cf589,_0x727f21){const _0x3207ea=_0x3bd79c;super(),_0x3b9fde(this,_0x3207ea(0x1d9),new Set()),_0x3b9fde(this,_0x3207ea(0x2c7),null),(this[_0x3207ea(0x2dc)]=_0x3b3768,this[_0x3207ea(0x33f)]=_0x265451,this[_0x3207ea(0x338)]=_0x4cf589,this[_0x3207ea(0x2e5)]=_0x727f21,this[_0x3207ea(0x366)]());}[_0x3bd79c(0x366)](){const _0x498220=_0x3bd79c;this['_sheetSkeletonManagerService'][_0x498220(0x242)][_0x498220(0x11a)](_0x38f9df['takeUntil'](this[_0x498220(0x3a2)]),_0x38f9df[_0x498220(0x34f)](_0x22a0a3=>{const _0x5ac289=_0x498220;if(_0x22a0a3){const _0x51bdf0=_0x22a0a3[_0x5ac289(0x2c9)];return _0x42b625[_0x5ac289(0x2b2)](this[_0x5ac289(0x338)][_0x5ac289(0x2f1)](this[_0x5ac289(0x2dc)][_0x5ac289(0x131)]),this['_themeService'][_0x5ac289(0x37d)])[_0x5ac289(0x11a)](_0x38f9df[_0x5ac289(0x1b5)](([_0x44db6c,_0x4a63dd])=>{const _0x22ceb0=_0x5ac289,_0x5ae265=new Map();return _0x44db6c[_0x22ceb0(0x18b)]((_0x130523,_0x360640)=>{const _0x24ea8c=_0x22ceb0;if(_0x130523[_0x24ea8c(0x36b)]===_0x51bdf0){const _0x29f7b1={..._0x130523};_0x29f7b1['color']=this[_0x24ea8c(0x2e5)][_0x24ea8c(0x14d)](_0x130523[_0x24ea8c(0x382)]),_0x5ae265[_0x24ea8c(0x1f4)](_0x360640,_0x29f7b1);}}),{'skeleton':_0x22a0a3,'cursors':_0x5ae265};}));}return _0x42b625['of']({'skeleton':null,'cursors':new Map()});}))[_0x498220(0x35d)](({skeleton:_0xd6c2ea,cursors:_0x137d1e})=>{const _0x57da64=_0x498220;this[_0x57da64(0x32a)](),_0xd6c2ea&&this[_0x57da64(0x16d)](_0xd6c2ea,_0x137d1e);}),this[_0x498220(0x33f)][_0x498220(0x242)]['subscribe'](_0x173e4a=>{const _0x4c1fd2=_0x498220;if(_0x173e4a==null)return;const {skeleton:_0x20e35e}=_0x173e4a,{scene:_0x5e2519}=this[_0x4c1fd2(0x2dc)];_0x5e2519[_0x4c1fd2(0x28d)][_0x4c1fd2(0x29c)](_0x1530e5[_0x4c1fd2(0x299)](_0x2c3615=>{const _0x27042a=_0x4c1fd2;var _0x3b563c,_0x5d779a;const {offsetX:_0x27f628,offsetY:_0x181c14}=_0x2c3615,{x:_0x3aa9ef,y:_0x4da29e}=_0x5e2519[_0x27042a(0x22d)](_0x37f675['Vector2']['FromArray']([_0x27f628,_0x181c14])),{scaleX:_0xdc3a94,scaleY:_0x3fd889}=_0x5e2519[_0x27042a(0x303)](),_0x1d7ed3=_0x5e2519['getViewport'](_0x37f675[_0x27042a(0x2af)][_0x27042a(0x21a)]),_0x534602=_0x5e2519[_0x27042a(0x291)](_0x37f675[_0x27042a(0x32c)][_0x27042a(0x39c)]([_0x3aa9ef,_0x4da29e]),_0x1d7ed3),_0x8de24b=_0x20e35e[_0x27042a(0x24e)](_0x27f628,_0x181c14,_0xdc3a94,_0x3fd889,_0x534602);((_0x3b563c=this[_0x27042a(0x2c7)])==null?void 0x0:_0x3b563c[_0x27042a(0x358)])===_0x8de24b[_0x27042a(0x358)]&&((_0x5d779a=this[_0x27042a(0x2c7)])==null?void 0x0:_0x5d779a[_0x27042a(0x27d)])===_0x8de24b[_0x27042a(0x27d)]||this[_0x27042a(0x1d9)][_0x27042a(0x18b)](_0x3b4cf0=>{const _0x1d0c22=_0x27042a;_0x3b4cf0[_0x1d0c22(0x26c)](_0x8de24b);});},0x64));});}['_updateCollabCursors'](_0x2cae37,_0x641959){const _0x4f183a=_0x3bd79c;var _0x4154ed;const _0x53993e=(_0x4154ed=this['_sheetSkeletonManagerService'][_0x4f183a(0x276)]())==null?void 0x0:_0x4154ed[_0x4f183a(0x3a9)];if(!_0x53993e)return;const _0x24dd53=this[_0x4f183a(0x312)]();if(!_0x24dd53)return;this['_cursors']['forEach'](_0x48241e=>{const _0x424f29=_0x4f183a;_0x48241e[_0x424f29(0x25a)]();});const {scene:_0x5ab8ec}=_0x24dd53,_0x11bbe4=_0x48d236(Array[_0x4f183a(0x1c7)](_0x641959[_0x4f183a(0x287)]()))[_0x4f183a(0x1b5)](_0x34fa3e=>{const _0xebdaab=_0x4f183a,{color:_0x2e8e8c,range:_0x3c8624,name:_0x182eeb,selection:_0x253fc1,sheetID:_0x32c8c8}=_0x34fa3e,{startColumn:_0x28b5ec,startRow:_0x1b012b,endColumn:_0x54b0a4,endRow:_0x453c33}=_0x3c8624,_0x29b048=_0xd51ed0[_0xebdaab(0x13b)](_0x1b012b,_0x28b5ec,_0x5ab8ec,_0x53993e),_0x53b8e6=_0xd51ed0[_0xebdaab(0x13b)](_0x453c33,_0x54b0a4,_0x5ab8ec,_0x53993e),{columnHeaderHeightAndMarginTop:_0x7f222f}=_0x53993e,{startX:_0x86cf9e,startY:_0x16f612}=_0x29b048,{endX:_0x3e561c,endY:_0x436109}=_0x53b8e6,_0x53ae6b=_0x3e561c-_0x86cf9e,_0x4e0efb=_0x436109-_0x16f612,_0x48716c={'labelPosition':_0x16f612-_0x7f222f>=_0x555bb2?_0xebdaab(0x2b7):'bottom','sheetID':_0x32c8c8,'range':_0x3c8624,'color':_0x2e8e8c,'name':_0x182eeb,'selection':_0x253fc1,'left':_0x86cf9e,'top':_0x16f612,'width':_0x53ae6b,'height':_0x4e0efb,'evented':!0x1,'zIndex':_0x24d32c};return new _0x3a9c78(_0x182eeb,_0x48716c);});_0x5ab8ec['addObjects'](_0x11bbe4,_0x1a171a),this[_0x4f183a(0x1d9)]=new Set(_0x11bbe4);}[_0x3bd79c(0x32a)](){const _0x4ad4dd=_0x3bd79c;var _0x357a27;(_0x357a27=this[_0x4ad4dd(0x1d9)])==null||_0x357a27[_0x4ad4dd(0x18b)](_0xc8bb9e=>_0xc8bb9e[_0x4ad4dd(0x1f5)]());}['_getSheetObject'](){const _0x41f0eb=_0x3bd79c;return _0xd51ed0[_0x41f0eb(0x3a6)](this['_context']['unit'],this[_0x41f0eb(0x2dc)]);}};_0x511839=_0x253ffe([_0x2b8f07(0x1,_0x1530e5[_0x3bd79c(0x157)](_0xd51ed0['SheetSkeletonManagerService'])),_0x2b8f07(0x2,_0x1530e5[_0x3bd79c(0x157)](_0x2fd1a4)),_0x2b8f07(0x3,_0x1530e5['Inject'](_0x1530e5[_0x3bd79c(0x15f)]))],_0x511839);function _0x48d236(_0x4ae2a8){const _0xe367ed=_0x3bd79c,_0x259dd6=new Map();return _0x4ae2a8[_0xe367ed(0x18b)](_0x5256de=>{const _0x3c3ef9=_0xe367ed;if(_0x259dd6['has'](_0x5256de[_0x3c3ef9(0x20e)])){const _0x4c3deb=_0x259dd6['get'](_0x5256de[_0x3c3ef9(0x20e)]);_0x4c3deb[_0x3c3ef9(0x2c2)]+=',\x20'+_0x5256de[_0x3c3ef9(0x2c2)];}else _0x259dd6[_0x3c3ef9(0x1f4)](_0x5256de['selection'],_0x5256de);}),Array['from'](_0x259dd6[_0xe367ed(0x287)]());}var _0x5211bc=function(){const _0x4e9527=_0x3bd79c;return _0x5211bc=Object[_0x4e9527(0x274)]||function(_0x173d77){const _0x907f60=_0x4e9527;for(var _0x2f7d98,_0x425e8f=0x1,_0x5ea098=arguments[_0x907f60(0x25d)];_0x425e8f<_0x5ea098;_0x425e8f++){_0x2f7d98=arguments[_0x425e8f];for(var _0x52c06a in _0x2f7d98)Object[_0x907f60(0x285)][_0x907f60(0x2d4)][_0x907f60(0x2fd)](_0x2f7d98,_0x52c06a)&&(_0x173d77[_0x52c06a]=_0x2f7d98[_0x52c06a]);}return _0x173d77;},_0x5211bc[_0x4e9527(0x144)](this,arguments);},_0x4682a6=function(_0x1de811,_0x420210){const _0x5d9ca6=_0x3bd79c;var _0x4848d3={};for(var _0x20de45 in _0x1de811)Object[_0x5d9ca6(0x285)][_0x5d9ca6(0x2d4)][_0x5d9ca6(0x2fd)](_0x1de811,_0x20de45)&&_0x420210[_0x5d9ca6(0x114)](_0x20de45)<0x0&&(_0x4848d3[_0x20de45]=_0x1de811[_0x20de45]);if(_0x1de811!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x21f14a=0x0,_0x20de45=Object[_0x5d9ca6(0x2cc)](_0x1de811);_0x21f14a<_0x20de45[_0x5d9ca6(0x25d)];_0x21f14a++)_0x420210[_0x5d9ca6(0x114)](_0x20de45[_0x21f14a])<0x0&&Object[_0x5d9ca6(0x285)][_0x5d9ca6(0x264)][_0x5d9ca6(0x2fd)](_0x1de811,_0x20de45[_0x21f14a])&&(_0x4848d3[_0x20de45[_0x21f14a]]=_0x1de811[_0x20de45[_0x21f14a]]);}return _0x4848d3;},_0x41f9a9=_0x32bdf6[_0x3bd79c(0x2ad)](function(_0x4a8f79,_0x5402bd){const _0x1ffd73=_0x3bd79c;var _0x1be0f0=_0x4a8f79[_0x1ffd73(0x397)],_0x1a5c79=_0x4a8f79['id'],_0x42f45d=_0x4a8f79[_0x1ffd73(0x113)],_0xa8d477=_0x4a8f79[_0x1ffd73(0x319)],_0x4604e6=_0x4682a6(_0x4a8f79,[_0x1ffd73(0x397),'id','className',_0x1ffd73(0x319)]),_0x462235=_0x1ffd73(0x1fa)[_0x1ffd73(0x1db)](_0x1a5c79,'\x20')[_0x1ffd73(0x1db)](_0x42f45d||'')['trim'](),_0x372731=_0x32bdf6['useRef']('_'[_0x1ffd73(0x1db)](_0x4858d8()));return _0x1cb817(_0x1be0f0,''['concat'](_0x1a5c79),{'defIds':_0x1be0f0[_0x1ffd73(0x17a)],'idSuffix':_0x372731[_0x1ffd73(0x182)]},_0x5211bc({'ref':_0x5402bd,'className':_0x462235},_0x4604e6),_0xa8d477);});function _0x1cb817(_0x30aa42,_0x4dbb9c,_0x1297ad,_0x172ef4,_0x535f6f){const _0x270258=_0x3bd79c;return _0x32bdf6[_0x270258(0x204)](_0x30aa42['tag'],_0x5211bc(_0x5211bc({'key':_0x4dbb9c},_0x470b27(_0x30aa42,_0x1297ad,_0x535f6f)),_0x172ef4),(_0x32937a(_0x30aa42,_0x1297ad)[_0x270258(0x298)]||[])[_0x270258(0x1b5)](function(_0x4e539e,_0xa76eb8){const _0x5b024c=_0x270258;return _0x1cb817(_0x4e539e,''[_0x5b024c(0x1db)](_0x4dbb9c,'-')[_0x5b024c(0x1db)](_0x30aa42[_0x5b024c(0x246)],'-')[_0x5b024c(0x1db)](_0xa76eb8),_0x1297ad,void 0x0,_0x535f6f);}));}function _0x470b27(_0x8f8199,_0x29b2c7,_0x4cde41){const _0x2c89d9=_0x3bd79c;var _0x5183a0=_0x5211bc({},_0x8f8199['attrs']);_0x4cde41!=null&&_0x4cde41[_0x2c89d9(0x35e)]&&_0x5183a0[_0x2c89d9(0x177)]===_0x2c89d9(0x35e)&&(_0x5183a0[_0x2c89d9(0x177)]=_0x4cde41['colorChannel1']),_0x8f8199[_0x2c89d9(0x246)]===_0x2c89d9(0x269)&&_0x5183a0['id']&&(_0x5183a0['id']=_0x5183a0['id']+_0x29b2c7['idSuffix']),Object[_0x2c89d9(0x28b)](_0x5183a0)[_0x2c89d9(0x18b)](function(_0x5b01af){const _0x2e125e=_0x2c89d9;var _0x37c3f1=_0x5b01af[0x0],_0x125e72=_0x5b01af[0x1];_0x37c3f1===_0x2e125e(0x269)&&typeof _0x125e72==_0x2e125e(0x2bb)&&(_0x5183a0[_0x37c3f1]=_0x125e72['replace'](/url\(#(.*)\)/,_0x2e125e(0x247)[_0x2e125e(0x1db)](_0x29b2c7[_0x2e125e(0x145)],')')));});var _0x13752d=_0x29b2c7[_0x2c89d9(0x17a)];return!_0x13752d||_0x13752d[_0x2c89d9(0x25d)]===0x0||(_0x8f8199[_0x2c89d9(0x246)]===_0x2c89d9(0x1e0)&&_0x5183a0[_0x2c89d9(0x224)]&&(_0x5183a0['xlink:href']=_0x5183a0['xlink:href']+_0x29b2c7[_0x2c89d9(0x145)]),Object[_0x2c89d9(0x28b)](_0x5183a0)['forEach'](function(_0xe8cf92){const _0x7dbe8b=_0x2c89d9;var _0x4a50b0=_0xe8cf92[0x0],_0x191caa=_0xe8cf92[0x1];typeof _0x191caa==_0x7dbe8b(0x2bb)&&(_0x5183a0[_0x4a50b0]=_0x191caa[_0x7dbe8b(0x308)](/url\(#(.*)\)/,_0x7dbe8b(0x247)[_0x7dbe8b(0x1db)](_0x29b2c7[_0x7dbe8b(0x145)],')')));})),_0x5183a0;}function _0x32937a(_0x1d740c,_0x1198b0){const _0x42c80f=_0x3bd79c;var _0x34efd6,_0x320bc9=_0x1198b0[_0x42c80f(0x17a)];return!_0x320bc9||_0x320bc9[_0x42c80f(0x25d)]===0x0?_0x1d740c:_0x1d740c[_0x42c80f(0x246)]==='defs'&&(!((_0x34efd6=_0x1d740c['children'])===null||_0x34efd6===void 0x0)&&_0x34efd6[_0x42c80f(0x25d)])?_0x5211bc(_0x5211bc({},_0x1d740c),{'children':_0x1d740c['children']['map'](function(_0x3d9026){const _0x365eb4=_0x42c80f;return typeof _0x3d9026['attrs']['id']=='string'&&_0x320bc9&&_0x320bc9[_0x365eb4(0x114)](_0x3d9026[_0x365eb4(0x2cb)]['id'])>-0x1?_0x5211bc(_0x5211bc({},_0x3d9026),{'attrs':_0x5211bc(_0x5211bc({},_0x3d9026['attrs']),{'id':_0x3d9026['attrs']['id']+_0x1198b0[_0x365eb4(0x145)]})}):_0x3d9026;})}):_0x1d740c;}function _0x4858d8(){const _0x162c44=_0x3bd79c;return Math['random']()[_0x162c44(0x196)](0x24)['substring'](0x2,0x8);}_0x41f9a9[_0x3bd79c(0x116)]='UniverIcon';var _0x4e97f3={'tag':_0x3bd79c(0x233),'attrs':{'fill':_0x3bd79c(0x32f),'viewBox':_0x3bd79c(0x166),'width':_0x3bd79c(0x346),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3bd79c(0x27c)},'children':[{'tag':_0x3bd79c(0x22e),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x3bd79c(0x295),'strokeWidth':1.2}}]},{'tag':_0x3bd79c(0x3b5),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3bd79c(0x1e7)},'children':[{'tag':_0x3bd79c(0x22e),'attrs':{'fill':'#fff','d':_0x3bd79c(0x33e)}}]}]}],'defIds':[_0x3bd79c(0x1e7)]},_0x5d8949=_0x32bdf6[_0x3bd79c(0x2ad)](function(_0x19fb32,_0x1d873e){const _0x41da48=_0x3bd79c;return _0x32bdf6[_0x41da48(0x204)](_0x41f9a9,Object['assign']({},_0x19fb32,{'id':_0x41da48(0x19c),'ref':_0x1d873e,'icon':_0x4e97f3}));});_0x5d8949[_0x3bd79c(0x116)]=_0x3bd79c(0x21e);var _0x9322a4={'tag':_0x3bd79c(0x233),'attrs':{'fill':_0x3bd79c(0x32f),'viewBox':_0x3bd79c(0x30e),'width':'1em','height':_0x3bd79c(0x346)},'children':[{'tag':'g','attrs':{'clipPath':_0x3bd79c(0x14a)},'children':[{'tag':_0x3bd79c(0x22e),'attrs':{'stroke':_0x3bd79c(0x282),'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':_0x3bd79c(0x295),'strokeLinejoin':_0x3bd79c(0x295),'strokeWidth':1.2}}]},{'tag':_0x3bd79c(0x3b5),'attrs':{},'children':[{'tag':_0x3bd79c(0x1ae),'attrs':{'id':_0x3bd79c(0x127)},'children':[{'tag':_0x3bd79c(0x22e),'attrs':{'fill':_0x3bd79c(0x30b),'d':_0x3bd79c(0x33e),'transform':_0x3bd79c(0x36d)}}]}]}],'defIds':[_0x3bd79c(0x127)]},_0x5116b0=_0x32bdf6[_0x3bd79c(0x2ad)](function(_0x835b1b,_0x1d5392){const _0x587201=_0x3bd79c;return _0x32bdf6[_0x587201(0x204)](_0x41f9a9,Object[_0x587201(0x274)]({},_0x835b1b,{'id':_0x587201(0x2ab),'ref':_0x1d5392,'icon':_0x9322a4}));});_0x5116b0['displayName']=_0x3bd79c(0x16e);function _0x442f15(_0x14a5ae){const _0x404b23=_0x3bd79c;switch(_0x14a5ae){case _0xf278db[_0x404b23(0x387)][_0x404b23(0x38e)]:return _0x404b23(0x2f2);case _0xf278db[_0x404b23(0x387)][_0x404b23(0x117)]:return'collabStatus.conflict';case _0xf278db[_0x404b23(0x387)][_0x404b23(0x2a4)]:return _0x404b23(0x24c);case _0xf278db['CollaborationStatus'][_0x404b23(0x220)]:return'collabStatus.notCollab';case _0xf278db[_0x404b23(0x387)][_0x404b23(0x1a5)]:case _0xf278db[_0x404b23(0x387)][_0x404b23(0x213)]:return _0x404b23(0x2e6);case _0xf278db[_0x404b23(0x387)][_0x404b23(0x33c)]:case _0xf278db[_0x404b23(0x387)]['PENDING']:return _0x404b23(0x2cf);}}function _0x3bd43b(_0x5baa2e){const _0x514e09=_0x3bd79c,{status$:_0x4d7ed5}=_0x5baa2e,_0x2e1de5=_0x20e392[_0x514e09(0x15a)](_0x4d7ed5,_0xf278db['CollaborationStatus'][_0x514e09(0x220)]),_0x44771d=_0x20e392[_0x514e09(0x293)](_0x1530e5['LocaleService']),_0x51a63c=_0x20e392['useDependency'](_0xf278db[_0x514e09(0x24d)]),_0x1ef3cb=_0x2e1de5!==_0xf278db[_0x514e09(0x387)][_0x514e09(0x38e)],_0xeb1c90=_0x44771d['t'](_0x442f15(_0x2e1de5)),_0x48bc37=_0x1ef3cb?_0x4067fa[_0x514e09(0x3a7)](_0x5116b0,{}):_0x4067fa['jsx'](_0x5d8949,{}),_0x2a439b=_0x32bdf6[_0x514e09(0x130)](()=>{const _0x22c831=_0x514e09;_0x1ef3cb||_0x51a63c[_0x22c831(0x2fc)]();},[_0x1ef3cb,_0x51a63c]);function _0x211d4c(){const _0x17f2e8=_0x514e09;return _0x4067fa['jsxs'](_0x17f2e8(0x398),{'className':_0x17f2e8(0x141),'onClick':_0x2a439b,'children':[_0x4067fa[_0x17f2e8(0x3a7)](_0x17f2e8(0x398),{'className':_0x44d5a0['clsx'](_0x17f2e8(0x294),{'univer-text-green-500':_0x1ef3cb,'univer-text-red-500':!_0x1ef3cb}),'children':_0x48bc37}),_0x4067fa['jsx'](_0x17f2e8(0x398),{'className':_0x17f2e8(0x278),'children':_0xeb1c90})]});}return _0x1ef3cb?_0x211d4c():_0x4067fa[_0x514e09(0x3a7)](_0x44d5a0['Tooltip'],{'title':_0x44771d['t'](_0x514e09(0x1a4)),'children':_0x211d4c()});}var _0x17e8f8=Object[_0x3bd79c(0x359)],_0x4d5394=(_0x23ca6e,_0x2f85e1,_0x4edc6e,_0x5a4b55)=>{const _0x5f0de3=_0x3bd79c;for(var _0x3f7530=_0x5a4b55>0x1?void 0x0:_0x5a4b55?_0x17e8f8(_0x2f85e1,_0x4edc6e):_0x2f85e1,_0x2a5c92=_0x23ca6e[_0x5f0de3(0x25d)]-0x1,_0x3c28d1;_0x2a5c92>=0x0;_0x2a5c92--)(_0x3c28d1=_0x23ca6e[_0x2a5c92])&&(_0x3f7530=_0x3c28d1(_0x3f7530)||_0x3f7530);return _0x3f7530;},_0x41dca2=(_0x198f60,_0x549614)=>(_0x2389ba,_0x239d3a)=>_0x549614(_0x2389ba,_0x239d3a,_0x198f60);_0x4efe22[_0x3bd79c(0x218)]=class extends _0x1530e5[_0x3bd79c(0x1bb)]{constructor(_0x5f3b6c,_0x2ff0dd,_0x3f6ea3,_0x41ab99){const _0x4bbdab=_0x3bd79c;super(),_0x3b9fde(this,_0x4bbdab(0x320),new _0x42b625[(_0x4bbdab(0x191))](_0xf278db[_0x4bbdab(0x387)][_0x4bbdab(0x220)])),(this[_0x4bbdab(0x1da)]=_0x5f3b6c,this[_0x4bbdab(0x1d4)]=_0x2ff0dd,this['_collaborationController']=_0x3f6ea3,this[_0x4bbdab(0x186)]=_0x41ab99,this[_0x4bbdab(0x1de)](),this[_0x4bbdab(0x1e5)]());}['_initStatusListener'](){const _0x367637=_0x3bd79c;this['disposeWithMe'](this[_0x367637(0x1da)][_0x367637(0x34d)]['pipe'](_0x42b625['switchMap'](()=>{const _0x311daa=_0x367637,_0x19e6ae=this[_0x311daa(0x1da)]['getFocusedUnit']();return _0x19e6ae?this['_collaborationController'][_0x311daa(0x379)](_0x19e6ae['getUnitId']()):_0x42b625['of'](null);}),_0x42b625['switchMap'](_0x2c904c=>_0x2c904c?_0x2c904c['status$']:_0x42b625['of'](_0xf278db['CollaborationStatus'][_0x367637(0x220)])))[_0x367637(0x35d)](_0x5dffb0=>{const _0x1bbef5=_0x367637;this[_0x1bbef5(0x320)][_0x1bbef5(0x27f)](_0x5dffb0);}));}[_0x3bd79c(0x1de)](){const _0x3ba945=_0x3bd79c;this[_0x3ba945(0x310)](this[_0x3ba945(0x186)]['registerComponent'](_0x20e392[_0x3ba945(0x21f)][_0x3ba945(0x328)],()=>_0x20e392[_0x3ba945(0x148)](_0x3ca64d({'status$':this['_status$'][_0x3ba945(0x1f9)]()}),this['_injector'])));}},_0x4efe22['DesktopCollaborationStatusDisplayController']=_0x4d5394([_0x41dca2(0x0,_0x1530e5[_0x3bd79c(0x214)]),_0x41dca2(0x1,_0x1530e5['Inject'](_0x1530e5['Injector'])),_0x41dca2(0x2,_0x1530e5[_0x3bd79c(0x157)](_0xf278db[_0x3bd79c(0x36c)])),_0x41dca2(0x3,_0x20e392[_0x3bd79c(0x2e7)])],_0x4efe22[_0x3bd79c(0x218)]);function _0x3ca64d(_0x3372d0){const {status$:_0x19455a}=_0x3372d0;return function(){return _0x4067fa['jsx'](_0x3bd43b,{'status$':_0x19455a});};}var _0x58d7bb=Object['getOwnPropertyDescriptor'],_0x43fd79=(_0x241acb,_0x4ec691,_0x47d0ab,_0x2aa360)=>{const _0x41959e=_0x3bd79c;for(var _0x158f04=_0x2aa360>0x1?void 0x0:_0x2aa360?_0x58d7bb(_0x4ec691,_0x47d0ab):_0x4ec691,_0x3f673b=_0x241acb[_0x41959e(0x25d)]-0x1,_0x564919;_0x3f673b>=0x0;_0x3f673b--)(_0x564919=_0x241acb[_0x3f673b])&&(_0x158f04=_0x564919(_0x158f04)||_0x158f04);return _0x158f04;},_0x34bbc7=(_0x1ab57f,_0x353060)=>(_0x268d2f,_0x20157c)=>_0x353060(_0x268d2f,_0x20157c,_0x1ab57f);let _0x10640e=class extends _0x1530e5[_0x3bd79c(0x1bb)]{constructor(_0x40f5a5,_0x576b23,_0x3a9197,_0x471c5d,_0x4edfda,_0x165495){const _0x5dd86f=_0x3bd79c;super(),this[_0x5dd86f(0x1dd)]=_0x40f5a5,this[_0x5dd86f(0x38b)]=_0x576b23,this[_0x5dd86f(0x207)]=_0x3a9197,this[_0x5dd86f(0x24f)]=_0x471c5d,this[_0x5dd86f(0x336)]=_0x4edfda,this['_localeService']=_0x165495,this[_0x5dd86f(0x318)](),this['_initEvent']();}[_0x3bd79c(0x318)](){const _0x5e2264=_0x3bd79c;this['disposeWithMe'](this[_0x5e2264(0x1dd)][_0x5e2264(0x221)](()=>{const _0x11042b=_0x5e2264;if(this[_0x11042b(0x38b)][_0x11042b(0x2d5)][_0x11042b(0x2a0)])return this[_0x11042b(0x1a6)]['t'](_0x11042b(0x271));}));}[_0x3bd79c(0x231)](){const _0x51717d=_0x3bd79c;this[_0x51717d(0x310)](this['_collaborationUIEventService'][_0x51717d(0x347)][_0x51717d(0x35d)](_0x513a60=>{const _0x53b14d=_0x51717d;_0x513a60['id']===_0xf278db[_0x53b14d(0x1b2)][_0x53b14d(0x262)]&&this['_messageService'][_0x53b14d(0x363)]({'type':_0x44d5a0[_0x53b14d(0x1f8)][_0x53b14d(0x272)],'content':this[_0x53b14d(0x1a6)]['t'](_0x53b14d(0x11f))}),_0x513a60['id']===_0xf278db[_0x53b14d(0x1b2)][_0x53b14d(0x376)]&&this[_0x53b14d(0x24f)][_0x53b14d(0x363)]({'type':_0x44d5a0[_0x53b14d(0x1f8)][_0x53b14d(0x272)],'content':this[_0x53b14d(0x1a6)]['t'](_0x53b14d(0x289))}),_0x513a60['id']===_0xf278db['CollaborationUIEventId'][_0x53b14d(0x333)]&&this['_notificationService'][_0x53b14d(0x363)]({'title':this[_0x53b14d(0x1a6)]['t']('permission.title'),'content':this['_localeService']['t'](_0x53b14d(0x325)),'type':_0x53b14d(0x124),'duration':0x0}),_0x513a60['id']===_0xf278db[_0x53b14d(0x1b2)]['CONFLICT']&&this['_messageService'][_0x53b14d(0x363)]({'type':_0x44d5a0[_0x53b14d(0x1f8)]['Error'],'content':this[_0x53b14d(0x1a6)]['t'](_0x53b14d(0x289))+'('+_0x513a60['data']+')'}),_0x513a60['id']===_0xf278db[_0x53b14d(0x1b2)][_0x53b14d(0x33b)]&&this['_messageService'][_0x53b14d(0x363)]({'type':_0x44d5a0['MessageType'][_0x53b14d(0x272)],'content':this[_0x53b14d(0x1a6)]['t'](_0x513a60[_0x53b14d(0x34b)]||'')}),_0x513a60['id']===_0xf278db['CollaborationUIEventId'][_0x53b14d(0x22b)]&&this['_messageService'][_0x53b14d(0x363)]({'type':_0x44d5a0[_0x53b14d(0x1f8)]['Warning'],'content':this[_0x53b14d(0x1a6)]['t'](_0x53b14d(0x161))}),_0x513a60['id']===_0xf278db['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x53b14d(0x24f)][_0x53b14d(0x363)]({'type':_0x44d5a0[_0x53b14d(0x1f8)][_0x53b14d(0x375)],'content':this[_0x53b14d(0x1a6)]['t'](_0x53b14d(0x1e3))}),_0x513a60['id']===_0xf278db[_0x53b14d(0x1b2)][_0x53b14d(0x2ff)]&&this[_0x53b14d(0x24f)][_0x53b14d(0x363)]({'type':_0x44d5a0[_0x53b14d(0x1f8)][_0x53b14d(0x375)],'content':this[_0x53b14d(0x1a6)]['t'](_0x53b14d(0x19b))});}));}};_0x10640e=_0x43fd79([_0x34bbc7(0x0,_0x20e392[_0x3bd79c(0x15b)]),_0x34bbc7(0x1,_0xf278db[_0x3bd79c(0x1c6)]),_0x34bbc7(0x2,_0x1530e5[_0x3bd79c(0x157)](_0xf278db[_0x3bd79c(0x2b0)])),_0x34bbc7(0x3,_0x20e392['IMessageService']),_0x34bbc7(0x4,_0x20e392['INotificationService']),_0x34bbc7(0x5,_0x1530e5[_0x3bd79c(0x157)](_0x1530e5[_0x3bd79c(0x20d)]))],_0x10640e);const _0x3f41ab=_0x3bd79c(0x16c),_0x1e9aa7={},_0x268aea=_0x1530e5['createIdentifier'](_0x3bd79c(0x356));var _0xe37bb0=Object[_0x3bd79c(0x359)],_0x509e15=(_0x1a3498,_0x38e3be,_0x1c9570,_0x1cda0b)=>{const _0x380f42=_0x3bd79c;for(var _0x1de52e=_0x1cda0b>0x1?void 0x0:_0x1cda0b?_0xe37bb0(_0x38e3be,_0x1c9570):_0x38e3be,_0x35d2f3=_0x1a3498[_0x380f42(0x25d)]-0x1,_0x3da0f6;_0x35d2f3>=0x0;_0x35d2f3--)(_0x3da0f6=_0x1a3498[_0x35d2f3])&&(_0x1de52e=_0x3da0f6(_0x1de52e)||_0x1de52e);return _0x1de52e;},_0x5c1fb2=(_0x32a758,_0x10e3a3)=>(_0x44b70a,_0x5c36e8)=>_0x10e3a3(_0x44b70a,_0x5c36e8,_0x32a758);_0x4efe22[_0x3bd79c(0x2a6)]=class extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(_0x577672,_0x3b03b8,_0x2e4d1a,_0x259d02,_0x22b208){const _0x242d25=_0x3bd79c;super(),this[_0x242d25(0x3b1)]=_0x577672,this[_0x242d25(0x193)]=_0x3b03b8,this[_0x242d25(0x25f)]=_0x2e4d1a,this[_0x242d25(0x344)]=_0x259d02,_0x22b208?_0x22b208==null||_0x22b208[_0x242d25(0x300)]()[_0x242d25(0x354)](()=>this[_0x242d25(0x366)]()):(this[_0x242d25(0x193)][_0x242d25(0x24a)](_0x242d25(0x1b4),_0x242d25(0x1a3)),this[_0x242d25(0x366)]());}async[_0x3bd79c(0x366)](){const _0x180e60=_0x3bd79c,_0xb068f7=this[_0x180e60(0x3b1)]['getParam'](_0x180e60(0x24b)),_0x5bf2cb=this[_0x180e60(0x3b1)][_0x180e60(0x311)]('type'),_0x226f7e=this[_0x180e60(0x3b1)]['getParam'](_0x180e60(0x19a));if(!_0xb068f7||!_0x5bf2cb){this[_0x180e60(0x193)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x38246b=await this[_0x180e60(0x344)]['loadUnit'](_0xb068f7,Number(_0x5bf2cb),_0x226f7e);_0x38246b&&_0x38246b instanceof _0x1530e5[_0x180e60(0x28f)]&&this[_0x180e60(0x32b)](_0x38246b);}async['_setupSubUnitSync'](_0x55ded3){const _0x258cda=_0x3bd79c;await this[_0x258cda(0x280)](_0x55ded3),_0x55ded3[_0x258cda(0x21b)]['pipe'](_0x42b625[_0x258cda(0x2d3)](this[_0x258cda(0x3a2)]))[_0x258cda(0x35d)](_0x3d3333=>{_0x3d3333&&this['_updateURLWithCurrentState'](_0x3d3333);}),this[_0x258cda(0x3b1)]['urlChange$'][_0x258cda(0x11a)](_0x42b625[_0x258cda(0x2d3)](this[_0x258cda(0x3a2)]))[_0x258cda(0x35d)](()=>this[_0x258cda(0x280)](_0x55ded3));}[_0x3bd79c(0x342)](_0x554a43,_0x45b859=!0x1){const _0x495f05=_0x3bd79c,_0x54c714=this[_0x495f05(0x3b1)][_0x495f05(0x311)](_0x495f05(0x19a));_0x554a43[_0x495f05(0x129)]()!==_0x54c714&&this[_0x495f05(0x3b1)]['setParam'](_0x495f05(0x19a),_0x554a43['getSheetId'](),_0x45b859);}async['_updateSubUnitFromURLParams'](_0x3c52a7){const _0x47d290=_0x3bd79c;var _0x3e6dc5;const _0x1df439=this[_0x47d290(0x3b1)][_0x47d290(0x311)](_0x47d290(0x19a));if(!_0x1df439||!_0x3c52a7['getSheetBySheetId'](_0x1df439)){const _0x4d0fdb=_0x3c52a7[_0x47d290(0x2de)]()[0x0],_0xfeb5fd=_0x3c52a7[_0x47d290(0x11d)](_0x4d0fdb);if(!_0xfeb5fd)return;this[_0x47d290(0x342)](_0xfeb5fd,!0x0),await this[_0x47d290(0x25f)][_0x47d290(0x172)](_0x347355[_0x47d290(0x34e)]['id'],{'unitId':_0x3c52a7[_0x47d290(0x255)](),'subUnitId':_0x4d0fdb});return;}((_0x3e6dc5=_0x3c52a7[_0x47d290(0x286)]())==null?void 0x0:_0x3e6dc5['getSheetId']())!==_0x1df439&&await this[_0x47d290(0x25f)]['executeCommand'](_0x347355[_0x47d290(0x34e)]['id'],{'unitId':_0x3c52a7[_0x47d290(0x255)](),'subUnitId':_0x1df439});}},_0x4efe22['CollaborationDataLoaderController']=_0x509e15([_0x5c1fb2(0x0,_0x268aea),_0x5c1fb2(0x1,_0x1530e5['ILogService']),_0x5c1fb2(0x2,_0x1530e5[_0x3bd79c(0x37e)]),_0x5c1fb2(0x3,_0x1530e5[_0x3bd79c(0x157)](_0xf278db[_0x3bd79c(0x288)])),_0x5c1fb2(0x4,_0x1530e5[_0x3bd79c(0x369)](_0x4f3920[_0x3bd79c(0x2b5)]))],_0x4efe22['CollaborationDataLoaderController']);var _0xc1527e=Object['getOwnPropertyDescriptor'],_0x249f17=(_0x1a9b84,_0x38c531,_0x147eea,_0x52d4fb)=>{const _0x3103a2=_0x3bd79c;for(var _0x5c23d2=_0x52d4fb>0x1?void 0x0:_0x52d4fb?_0xc1527e(_0x38c531,_0x147eea):_0x38c531,_0x7a5077=_0x1a9b84[_0x3103a2(0x25d)]-0x1,_0x168f5e;_0x7a5077>=0x0;_0x7a5077--)(_0x168f5e=_0x1a9b84[_0x7a5077])&&(_0x5c23d2=_0x168f5e(_0x5c23d2)||_0x5c23d2);return _0x5c23d2;},_0x6e2154=(_0x1d3dd7,_0x2fc3c9)=>(_0x1d410c,_0x37cb76)=>_0x2fc3c9(_0x1d410c,_0x37cb76,_0x1d3dd7);let _0x2d4bbb=class{constructor(_0xee5642,_0x52a4d9,_0x50c040){const _0x338364=_0x3bd79c;this[_0x338364(0x1d4)]=_0xee5642,this['_transformService']=_0x52a4d9,this[_0x338364(0x171)]=_0x50c040;}['transformIMECache'](_0x4a4afa){const _0x14a07f=_0x3bd79c;this[_0x14a07f(0x208)](_0x4a4afa),this[_0x14a07f(0x39b)](_0x4a4afa);}[_0x3bd79c(0x237)](_0x4d537d){const _0x3de13e=_0x3bd79c,{unitID:_0xb4765c}=_0x4d537d,_0x48fdbe=this[_0x3de13e(0x171)][_0x3de13e(0x39d)](_0xb4765c)[_0x3de13e(0x1cf)](_0x3bb97e[_0x3de13e(0x314)]),{redoCache:_0x151325}=_0x48fdbe[_0x3de13e(0x332)]();if(_0x151325[_0x3de13e(0x25d)]===0x0)return _0x4d537d;let _0x2ee1d1=_0x1530e5[_0x3de13e(0x348)][_0x3de13e(0x137)](_0x4d537d['mutations'][0x0]);for(let _0x23e06b=0x0;_0x23e06b<_0x151325[_0x3de13e(0x25d)];_0x23e06b++){const _0xfd686e={'id':_0x3de13e(0x240),'params':{..._0x151325[_0x23e06b]}},_0x5cfd28=this[_0x3de13e(0x202)][_0x3de13e(0x2ac)](_0x2ee1d1,_0xfd686e,!0x1);if(_0x19cd12[_0x3de13e(0x2d9)](_0x5cfd28))throw _0x5cfd28[_0x3de13e(0x124)];_0x2ee1d1=_0x5cfd28[_0x3de13e(0x275)];}return{..._0x1530e5['Tools']['deepClone'](_0x4d537d),'mutations':[_0x2ee1d1]};}['_transformUndoRedoStack'](_0x227451){const _0xef099=_0x3bd79c,{unitID:_0x570a6e}=_0x227451,_0x130d0c=this['_renderManagerService'][_0xef099(0x39d)](_0x570a6e)[_0xef099(0x1cf)](_0x3bb97e['DocIMEInputManagerService']),{undoCache:_0x4f6985,redoCache:_0x1009c7}=_0x130d0c[_0xef099(0x332)]();if(_0x4f6985[_0xef099(0x25d)]===0x0||_0x1009c7[_0xef099(0x25d)]===0x0)return;const _0x578945=[],_0xddcd11=[];let _0x224ca4=_0x1530e5['Tools']['deepClone'](_0x227451['mutations'][0x0]),_0x22abe2=_0x1530e5[_0xef099(0x348)][_0xef099(0x137)](_0x227451['mutations'][0x0]);for(let _0x131a1b=_0x4f6985[_0xef099(0x25d)]-0x1;_0x131a1b>=0x0;_0x131a1b--){const _0x4e144a={'id':_0xef099(0x240),'params':{..._0x4f6985[_0x131a1b]}},_0x532f88={'id':_0xef099(0x240),'params':{..._0x1009c7[_0x131a1b]}},_0x298258=this[_0xef099(0x202)]['transformMutation'](_0x224ca4,_0x4e144a,!0x1),_0x31d0d6=this[_0xef099(0x202)][_0xef099(0x2ac)](_0x22abe2,_0x532f88,!0x1);if(_0x19cd12['isTransformMutationFailure'](_0x298258))throw _0x298258['error'];if(_0x19cd12[_0xef099(0x2d9)](_0x31d0d6))throw _0x31d0d6[_0xef099(0x124)];_0x578945['unshift'](_0x298258[_0xef099(0x15c)][_0xef099(0x205)]),_0xddcd11[_0xef099(0x1d0)](_0x31d0d6[_0xef099(0x15c)][_0xef099(0x205)]),_0x224ca4=_0x298258[_0xef099(0x275)],_0x22abe2=_0x31d0d6[_0xef099(0x275)];}_0x130d0c[_0xef099(0x12d)]({'undoCache':_0x578945,'redoCache':_0xddcd11});}[_0x3bd79c(0x39b)](_0x10f5ad){const _0xc3033e=_0x3bd79c,{unitID:_0x5e0d82}=_0x10f5ad,_0x4baf67=this[_0xc3033e(0x171)]['getRenderById'](_0x5e0d82)[_0xc3033e(0x1cf)](_0x3bb97e[_0xc3033e(0x314)]),_0x453e28=_0x4baf67['getActiveRange']();if(_0x453e28==null)return;const _0x64422=[{'id':_0xc3033e(0x240),'params':{'unitId':_0x10f5ad[_0xc3033e(0x226)],'actions':null,'textRanges':[_0x453e28]}}],_0x51899c=this[_0xc3033e(0x202)][_0xc3033e(0x152)](_0x10f5ad,_0x64422);if(!_0x19cd12[_0xc3033e(0x1ed)](_0x51899c))throw _0x51899c[_0xc3033e(0x124)];const _0x549fa4=_0x51899c['m2Prime'][0x0][_0xc3033e(0x205)][_0xc3033e(0x1eb)];Array['isArray'](_0x549fa4)&&_0x549fa4[_0xc3033e(0x25d)]&&_0x4baf67['setActiveRange'](_0x549fa4[0x0]);}};_0x2d4bbb=_0x249f17([_0x6e2154(0x0,_0x1530e5[_0x3bd79c(0x157)](_0x1530e5['Injector'])),_0x6e2154(0x1,_0x19cd12[_0x3bd79c(0x386)]),_0x6e2154(0x2,_0x37f675[_0x3bd79c(0x1f0)])],_0x2d4bbb);var _0x2a1ba2=Object[_0x3bd79c(0x359)],_0x72601a=(_0x1c6822,_0x487834,_0x1f9210,_0x4db904)=>{for(var _0x4350ad=_0x4db904>0x1?void 0x0:_0x4db904?_0x2a1ba2(_0x487834,_0x1f9210):_0x487834,_0x14e175=_0x1c6822['length']-0x1,_0x48bf38;_0x14e175>=0x0;_0x14e175--)(_0x48bf38=_0x1c6822[_0x14e175])&&(_0x4350ad=_0x48bf38(_0x4350ad)||_0x4350ad);return _0x4350ad;},_0x4ff66a=(_0x22ceb9,_0x28d2fc)=>(_0x833b4b,_0x36af2e)=>_0x28d2fc(_0x833b4b,_0x36af2e,_0x22ceb9);let _0x28e86f=class{constructor(_0x4faac0,_0x6dc614,_0x6ad419){this['_injector']=_0x4faac0,this['_transformService']=_0x6dc614,this['_docStateChangeManagerService']=_0x6ad419;}[_0x3bd79c(0x1a9)](_0x2e92db){const _0x5a5736=_0x3bd79c;this[_0x5a5736(0x155)](_0x2e92db);}[_0x3bd79c(0x237)](_0x5dd83f){const _0x48fdf9=_0x3bd79c,{unitID:_0x33098e}=_0x5dd83f,{collaboration:_0x566f36}=this['_docStateChangeManagerService']['getStateCache'](_0x33098e);if(_0x566f36[_0x48fdf9(0x25d)]===0x0)return _0x5dd83f;let _0x4c85ac=_0x1530e5['Tools']['deepClone'](_0x5dd83f[_0x48fdf9(0x1c5)][0x0]);for(let _0x91a8d2=0x0;_0x91a8d2<_0x566f36['length'];_0x91a8d2++){const _0x557b2f={'id':_0x48fdf9(0x240),'params':{'unitId':_0x566f36[_0x91a8d2][_0x48fdf9(0x131)],..._0x566f36[_0x91a8d2][_0x48fdf9(0x2a9)]}},_0x51b29f=this[_0x48fdf9(0x202)][_0x48fdf9(0x2ac)](_0x4c85ac,_0x557b2f,!0x1);if(_0x19cd12[_0x48fdf9(0x2d9)](_0x51b29f))throw _0x51b29f[_0x48fdf9(0x124)];_0x4c85ac=_0x51b29f[_0x48fdf9(0x275)];}return{..._0x1530e5[_0x48fdf9(0x348)]['deepClone'](_0x5dd83f),'mutations':[_0x4c85ac]};}[_0x3bd79c(0x155)](_0x6a2051){const _0x23b528=_0x3bd79c,{unitID:_0x1cf92e}=_0x6a2051,{history:_0x2421c3,collaboration:_0x2b3ea0}=this[_0x23b528(0x1bd)]['getStateCache'](_0x1cf92e);if(_0x2421c3[_0x23b528(0x25d)]===0x0&&_0x2b3ea0[_0x23b528(0x25d)]===0x0)return;const _0x422705=[],_0x32592f=[];let _0x2fee87=_0x1530e5[_0x23b528(0x348)][_0x23b528(0x137)](_0x6a2051[_0x23b528(0x1c5)][0x0]),_0x337ff4=_0x1530e5[_0x23b528(0x348)]['deepClone'](_0x6a2051[_0x23b528(0x1c5)][0x0]);for(let _0xe94f63=_0x2421c3[_0x23b528(0x25d)]-0x1;_0xe94f63>=0x0;_0xe94f63--){const _0x181404={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2421c3[_0xe94f63][_0x23b528(0x131)],..._0x2421c3[_0xe94f63][_0x23b528(0x2ef)]}},_0x163274={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2421c3[_0xe94f63][_0x23b528(0x131)],..._0x2421c3[_0xe94f63]['redoState']}},_0x5e4ed2=this[_0x23b528(0x202)][_0x23b528(0x2ac)](_0x2fee87,_0x181404,!0x1),_0x23a3cb=this[_0x23b528(0x202)][_0x23b528(0x2ac)](_0x337ff4,_0x163274,!0x1);if(_0x19cd12[_0x23b528(0x2d9)](_0x5e4ed2))throw _0x5e4ed2[_0x23b528(0x124)];if(_0x19cd12['isTransformMutationFailure'](_0x23a3cb))throw _0x23a3cb[_0x23b528(0x124)];_0x422705['unshift']({..._0x2421c3[_0xe94f63],'undoState':_0x5e4ed2[_0x23b528(0x15c)]['params'],'redoState':_0x23a3cb[_0x23b528(0x15c)]['params']}),_0x2fee87=_0x5e4ed2[_0x23b528(0x275)],_0x337ff4=_0x23a3cb['m1Prime'];}_0x2fee87=_0x1530e5[_0x23b528(0x348)]['deepClone'](_0x6a2051[_0x23b528(0x1c5)][0x0]),_0x337ff4=_0x1530e5[_0x23b528(0x348)][_0x23b528(0x137)](_0x6a2051[_0x23b528(0x1c5)][0x0]);for(let _0x29e1d3=_0x2b3ea0[_0x23b528(0x25d)]-0x1;_0x29e1d3>=0x0;_0x29e1d3--){const _0x2b93c9={'id':_0x23b528(0x240),'params':{'unitId':_0x2b3ea0[_0x29e1d3][_0x23b528(0x131)],..._0x2b3ea0[_0x29e1d3][_0x23b528(0x2ef)]}},_0x3eaf35={'id':_0x23b528(0x240),'params':{'unitId':_0x2b3ea0[_0x29e1d3]['unitId'],..._0x2b3ea0[_0x29e1d3][_0x23b528(0x2a9)]}},_0x58202e=this[_0x23b528(0x202)][_0x23b528(0x2ac)](_0x2fee87,_0x2b93c9,!0x1),_0x2bc865=this[_0x23b528(0x202)]['transformMutation'](_0x337ff4,_0x3eaf35,!0x1);if(_0x19cd12[_0x23b528(0x2d9)](_0x58202e))throw _0x58202e['error'];if(_0x19cd12[_0x23b528(0x2d9)](_0x2bc865))throw _0x2bc865[_0x23b528(0x124)];_0x32592f[_0x23b528(0x1d0)]({..._0x2b3ea0[_0x29e1d3],'undoState':_0x58202e['m2Prime'][_0x23b528(0x205)],'redoState':_0x2bc865[_0x23b528(0x15c)][_0x23b528(0x205)]}),_0x2fee87=_0x58202e['m1Prime'],_0x337ff4=_0x2bc865[_0x23b528(0x275)];}this[_0x23b528(0x1bd)][_0x23b528(0x121)](_0x1cf92e,{'history':_0x422705,'collaboration':_0x32592f});}};_0x28e86f=_0x72601a([_0x4ff66a(0x0,_0x1530e5['Inject'](_0x1530e5['Injector'])),_0x4ff66a(0x1,_0x19cd12[_0x3bd79c(0x386)]),_0x4ff66a(0x2,_0x1530e5[_0x3bd79c(0x157)](_0x3bb97e['DocStateChangeManagerService']))],_0x28e86f);var _0x2acb73=Object['getOwnPropertyDescriptor'],_0x2a6d83=(_0x20ed1b,_0x57bebb,_0xbe764e,_0xe49d1b)=>{for(var _0x48f3a7=_0xe49d1b>0x1?void 0x0:_0xe49d1b?_0x2acb73(_0x57bebb,_0xbe764e):_0x57bebb,_0x38d0b2=_0x20ed1b['length']-0x1,_0x298a5e;_0x38d0b2>=0x0;_0x38d0b2--)(_0x298a5e=_0x20ed1b[_0x38d0b2])&&(_0x48f3a7=_0x298a5e(_0x48f3a7)||_0x48f3a7);return _0x48f3a7;},_0xc8150e=(_0x4e88e5,_0x3cbdc8)=>(_0x307c49,_0x127fa3)=>_0x3cbdc8(_0x307c49,_0x127fa3,_0x4e88e5);let _0x92c8e3=class{constructor(_0x17a3e1,_0x1e4972){const _0x599764=_0x3bd79c;this[_0x599764(0x1d4)]=_0x17a3e1,this[_0x599764(0x202)]=_0x1e4972;}['transformSelections'](_0x1fa8cf){const _0x1e2dbe=_0x3bd79c;var _0x3ac204;const _0x5ae79a=this[_0x1e2dbe(0x1d4)][_0x1e2dbe(0x35b)](_0x15f850[_0x1e2dbe(0x28e)]),_0x19776e=(_0x3ac204=_0x5ae79a[_0x1e2dbe(0x297)]())!=null?_0x3ac204:[];if(_0x19776e[_0x1e2dbe(0x25d)]===0x0)return;const _0x49e0ac=_0x1fa8cf[_0x1e2dbe(0x226)],_0x3860a7=[{'id':_0x1e2dbe(0x240),'params':{'unitId':_0x49e0ac,'actions':null,'textRanges':_0x19776e}}],_0x160d7d=this[_0x1e2dbe(0x202)]['transformMutationsWithChangeset'](_0x1fa8cf,_0x3860a7);if(!_0x19cd12['isTransformMutationsWithChangesetSuccess'](_0x160d7d))throw _0x160d7d[_0x1e2dbe(0x124)];const _0x71cbc1=_0x160d7d[_0x1e2dbe(0x15c)][0x0][_0x1e2dbe(0x205)][_0x1e2dbe(0x1eb)];Array[_0x1e2dbe(0x1f6)](_0x71cbc1)&&_0x71cbc1[_0x1e2dbe(0x25d)]&&_0x5ae79a[_0x1e2dbe(0x2e1)](_0x71cbc1,{'unitId':_0x49e0ac,'subUnitId':_0x49e0ac},!0x1);}};_0x92c8e3=_0x2a6d83([_0xc8150e(0x0,_0x1530e5['Inject'](_0x1530e5[_0x3bd79c(0x2f9)])),_0xc8150e(0x1,_0x19cd12[_0x3bd79c(0x386)])],_0x92c8e3);var _0x73bea2=Object[_0x3bd79c(0x359)],_0x47c31c=(_0x35c272,_0xcfc250,_0x20180e,_0x515734)=>{for(var _0xdec26d=_0x515734>0x1?void 0x0:_0x515734?_0x73bea2(_0xcfc250,_0x20180e):_0xcfc250,_0x3575fe=_0x35c272['length']-0x1,_0xcad6df;_0x3575fe>=0x0;_0x3575fe--)(_0xcad6df=_0x35c272[_0x3575fe])&&(_0xdec26d=_0xcad6df(_0xdec26d)||_0xdec26d);return _0xdec26d;},_0x3fee8a=(_0x478a64,_0x307eff)=>(_0x5b4030,_0x192191)=>_0x307eff(_0x5b4030,_0x192191,_0x478a64);let _0x515918=class extends _0x1530e5[_0x3bd79c(0x1bb)]{constructor(_0x8e7b36,_0x4e60ef,_0x521c79,_0x2d3eb8,_0x5e9655,_0x3e9366,_0x4224cc,_0x27d493){const _0x1f0e8b=_0x3bd79c;super(),_0x3b9fde(this,_0x1f0e8b(0x320),new _0x42b625[(_0x1f0e8b(0x191))](_0xf278db[_0x1f0e8b(0x387)][_0x1f0e8b(0x220)])),(this['_docStateChangeManagerService']=_0x8e7b36,this[_0x1f0e8b(0x2da)]=_0x4e60ef,this[_0x1f0e8b(0x2b6)]=_0x521c79,this[_0x1f0e8b(0x11e)]=_0x2d3eb8,this['_docTransformSelectionsService']=_0x5e9655,this[_0x1f0e8b(0x1a2)]=_0x3e9366,this[_0x1f0e8b(0x24f)]=_0x4224cc,this[_0x1f0e8b(0x1a6)]=_0x27d493,this[_0x1f0e8b(0x185)]());}[_0x3bd79c(0x185)](){const _0x641828=_0x3bd79c;this[_0x641828(0x310)](this[_0x641828(0x2da)][_0x641828(0x13e)][_0x641828(0x35d)](_0x13bcf7=>{const _0x5225da=_0x641828,_0x39da00=this[_0x5225da(0x1bd)][_0x5225da(0x2e8)][_0x5225da(0x35d)](_0x1428b8=>{const _0x3d50cc=_0x5225da;if(_0x1428b8==null)return;const {unitId:_0x4b5324,redoState:_0x46231c,commandId:_0xf82bf7}=_0x1428b8;if(_0x4b5324!==_0x13bcf7[_0x3d50cc(0x226)])return;const _0x2fa349={'id':_0xf82bf7,'type':_0x1530e5[_0x3d50cc(0x1d7)][_0x3d50cc(0x37f)],'params':{'unitId':_0x4b5324,'actions':_0x46231c[_0x3d50cc(0x254)],'textRanges':null}};_0x13bcf7[_0x3d50cc(0x30c)](_0x2fa349);});if(_0x13bcf7[_0x5225da(0x310)](_0x39da00),_0x13bcf7 instanceof _0xf278db[_0x5225da(0x2f3)]){const _0x1f57fa={'onTransformIME':_0x484ab9=>this[_0x5225da(0x2b6)][_0x5225da(0x335)](_0x484ab9),'onTransformState':_0x59dc17=>this[_0x5225da(0x11e)][_0x5225da(0x1a9)](_0x59dc17),'onTransformSelections':_0xb06a79=>this[_0x5225da(0x1fc)][_0x5225da(0x169)](_0xb06a79),'onSyncEditingCollabCursor':_0x2fe001=>this[_0x5225da(0x1a2)][_0x5225da(0x1fb)](_0x2fe001),'onTransformRemoteChangesetByIMECache':_0x586ca3=>this[_0x5225da(0x2b6)]['transformRemoteChangeset'](_0x586ca3),'onTransformRemoteChangesetByStateCache':_0x5b146b=>this[_0x5225da(0x11e)]['transformRemoteChangeset'](_0x5b146b)};_0x13bcf7[_0x5225da(0x385)](_0x1f57fa);}}));}};_0x515918=_0x47c31c([_0x3fee8a(0x0,_0x1530e5['Inject'](_0x3bb97e[_0x3bd79c(0x1af)])),_0x3fee8a(0x1,_0x1530e5[_0x3bd79c(0x157)](_0xf278db['CollaborationController'])),_0x3fee8a(0x2,_0x1530e5['Inject'](_0x2d4bbb)),_0x3fee8a(0x3,_0x1530e5[_0x3bd79c(0x157)](_0x28e86f)),_0x3fee8a(0x4,_0x1530e5[_0x3bd79c(0x157)](_0x92c8e3)),_0x3fee8a(0x5,_0x1530e5[_0x3bd79c(0x157)](_0x88fed9)),_0x3fee8a(0x6,_0x20e392[_0x3bd79c(0x1ab)]),_0x3fee8a(0x7,_0x1530e5['Inject'](_0x1530e5[_0x3bd79c(0x20d)]))],_0x515918);var _0x1d0082=Object['getOwnPropertyDescriptor'],_0x50afce=(_0x56f636,_0x553279,_0x212c8e,_0x41a9c3)=>{for(var _0x5dbd7c=_0x41a9c3>0x1?void 0x0:_0x41a9c3?_0x1d0082(_0x553279,_0x212c8e):_0x553279,_0x69e293=_0x56f636['length']-0x1,_0x39be6c;_0x69e293>=0x0;_0x69e293--)(_0x39be6c=_0x56f636[_0x69e293])&&(_0x5dbd7c=_0x39be6c(_0x5dbd7c)||_0x5dbd7c);return _0x5dbd7c;},_0x127fb1=(_0x3712c1,_0x58d8ab)=>(_0x1cd1b9,_0x4a0f05)=>_0x58d8ab(_0x1cd1b9,_0x4a0f05,_0x3712c1);let _0x47fee0=class extends _0x1530e5[_0x3bd79c(0x1bb)]{constructor(_0x451c74,_0xb8bc59,_0x111fad){const _0x3258a8=_0x3bd79c;super(),_0x3b9fde(this,'_cachedData',new Map()),_0x3b9fde(this,_0x3258a8(0x1ad),new Map()),_0x3b9fde(this,_0x3258a8(0x223),!0x1),(this[_0x3258a8(0x15e)]=_0x451c74,this[_0x3258a8(0x267)]=_0xb8bc59,this['_revisionService']=_0x111fad);}[_0x3bd79c(0x2bc)](){const _0x410baa=_0x3bd79c;this[_0x410baa(0x223)]=!0x0;}[_0x3bd79c(0x1ff)](){const _0x5207a6=_0x3bd79c;this[_0x5207a6(0x223)]=!0x1;}get[_0x3bd79c(0x2d5)](){const _0xd49575=_0x3bd79c;return this[_0xd49575(0x1ad)];}['dispose'](){const _0x58b3d1=_0x3bd79c;this[_0x58b3d1(0x227)]()[_0x58b3d1(0x354)](()=>super[_0x58b3d1(0x1f5)]());}async['loadOfflineData'](_0x38191d){const _0x3b656d=_0x3bd79c;return this['_disabled']?null:this['_localStorageService'][_0x3b656d(0x201)](_0xf278db[_0x3b656d(0x160)](_0x38191d));}async[_0x3bd79c(0x390)](_0x512737,_0x25d3a9){const _0x52e970=_0x3bd79c;return!!this[_0x52e970(0x267)]['setItem'](_0x512737,_0x25d3a9);}[_0x3bd79c(0x249)](_0x1b13fc,_0xf1c55c,_0x1f9b99,_0x85622a){const _0x86a0c1=_0x3bd79c,_0x326767=this[_0x86a0c1(0x372)][_0x86a0c1(0x27a)](_0x1b13fc);this[_0x86a0c1(0x179)][_0x86a0c1(0x1f4)](_0x1b13fc,{'unitID':_0x1b13fc,'type':_0xf1c55c,'awaitingChangeset':_0x1f9b99,'mutations':_0x85622a,'rev':_0x326767}),this['_saveTaskMap'][_0x86a0c1(0x1cb)](_0x1b13fc)||this[_0x86a0c1(0x334)](_0x1b13fc);}[_0x3bd79c(0x334)](_0x50f78e){const _0x53244d=_0x3bd79c,_0x187f1a=this['_getSaveTimeout']();_0x187f1a===0x0?this[_0x53244d(0x23e)](_0x50f78e):this[_0x53244d(0x1ad)][_0x53244d(0x1f4)](_0x50f78e,setTimeout(()=>this[_0x53244d(0x23e)](_0x50f78e),_0x187f1a));}['_getSaveTimeout'](){const _0x294394=_0x3bd79c;var _0x308e98;return(_0x308e98=this[_0x294394(0x15e)][_0x294394(0x198)](_0xf278db[_0x294394(0x2b4)]))!=null?_0x308e98:_0xf278db['LOCAL_CACHE_INTERVAL'];}[_0x3bd79c(0x23e)](_0x15989f){const _0xdb4102=_0x3bd79c,_0x41db0f=this[_0xdb4102(0x1ad)][_0xdb4102(0x35b)](_0x15989f);return _0x41db0f!==void 0x0&&window[_0xdb4102(0x1c1)](_0x41db0f),this[_0xdb4102(0x267)][_0xdb4102(0x3ac)](_0xf278db[_0xdb4102(0x160)](_0x15989f),this[_0xdb4102(0x179)][_0xdb4102(0x35b)](_0x15989f))[_0xdb4102(0x354)](()=>this[_0xdb4102(0x1ad)][_0xdb4102(0x378)](_0x15989f));}async[_0x3bd79c(0x227)](){const _0x10c550=_0x3bd79c,_0x534b2b=[];this[_0x10c550(0x1ad)][_0x10c550(0x18b)]((_0x4f07dd,_0x4e23e8)=>{const _0xf500c8=_0x10c550;window[_0xf500c8(0x1c1)](_0x4f07dd),_0x534b2b['push'](this[_0xf500c8(0x23e)](_0x4e23e8)['then'](()=>{const _0x2ed6c1=_0xf500c8;this[_0x2ed6c1(0x1ad)][_0x2ed6c1(0x378)](_0x4e23e8);}));}),await Promise[_0x10c550(0x1d8)](_0x534b2b);}};_0x47fee0=_0x50afce([_0x127fb1(0x0,_0x1530e5[_0x3bd79c(0x3b2)]),_0x127fb1(0x1,_0x1530e5[_0x3bd79c(0x357)]),_0x127fb1(0x2,_0x1530e5['Inject'](_0x19cd12[_0x3bd79c(0x29d)]))],_0x47fee0);class _0x2b4ddf extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(){const _0x5bc7f2=_0x3bd79c;super(),_0x3b9fde(this,_0x5bc7f2(0x206)),this[_0x5bc7f2(0x206)]=_0x42b625[_0x5bc7f2(0x1f2)](window,_0x5bc7f2(0x238))[_0x5bc7f2(0x11a)](_0x42b625[_0x5bc7f2(0x2d3)](this[_0x5bc7f2(0x3a2)]),_0x42b625['shareReplay'](0x1),_0x42b625[_0x5bc7f2(0x1b1)](void 0x0));}[_0x3bd79c(0x1e2)](_0x2c3c9d,_0x5d20d7,_0x4d0c61=!0x1){const _0x1d4b7f=_0x3bd79c,_0x3e70aa=new URL(window['location'][_0x1d4b7f(0x384)]);_0x3e70aa[_0x1d4b7f(0x228)][_0x1d4b7f(0x1f4)](_0x2c3c9d,_0x5d20d7),_0x4d0c61?window[_0x1d4b7f(0x2b3)][_0x1d4b7f(0x34a)]('','',_0x3e70aa[_0x1d4b7f(0x196)]()):window[_0x1d4b7f(0x2b3)][_0x1d4b7f(0x25c)]('','',_0x3e70aa[_0x1d4b7f(0x196)]());}['removeParam'](_0x16a651,_0x318cca=!0x1){const _0x401401=_0x3bd79c,_0x4f05cd=new URL(window[_0x401401(0x349)][_0x401401(0x384)]);_0x4f05cd['searchParams'][_0x401401(0x378)](_0x16a651),_0x318cca?window[_0x401401(0x2b3)][_0x401401(0x34a)]('','',_0x4f05cd['toString']()):window[_0x401401(0x2b3)][_0x401401(0x25c)]('','',_0x4f05cd['toString']());}[_0x3bd79c(0x311)](_0x2665d6){const _0xd7048b=_0x3bd79c;var _0x55da4f;return(_0x55da4f=new URL(window['location']['href'])[_0xd7048b(0x228)][_0xd7048b(0x35b)](_0x2665d6))!=null?_0x55da4f:void 0x0;}}var _0x29e9fe=Object[_0x3bd79c(0x25b)],_0x426e9f=Object[_0x3bd79c(0x359)],_0xc48e09=(_0x2c814e,_0xc98a3f,_0x2c87f8)=>_0xc98a3f in _0x2c814e?_0x29e9fe(_0x2c814e,_0xc98a3f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c87f8}):_0x2c814e[_0xc98a3f]=_0x2c87f8,_0x1d796c=(_0xb250fb,_0x285f02,_0x4b08df,_0x2b93ba)=>{const _0x3ca127=_0x3bd79c;for(var _0x4180c8=_0x2b93ba>0x1?void 0x0:_0x2b93ba?_0x426e9f(_0x285f02,_0x4b08df):_0x285f02,_0x2a1251=_0xb250fb[_0x3ca127(0x25d)]-0x1,_0x51b200;_0x2a1251>=0x0;_0x2a1251--)(_0x51b200=_0xb250fb[_0x2a1251])&&(_0x4180c8=_0x51b200(_0x4180c8)||_0x4180c8);return _0x4180c8;},_0x494f3b=(_0x242d19,_0xac0f7f)=>(_0x4bc7e5,_0x4e4b00)=>_0xac0f7f(_0x4bc7e5,_0x4e4b00,_0x242d19),_0x580307=(_0x5eb8ff,_0x4726a6,_0x23ae9d)=>_0xc48e09(_0x5eb8ff,_0x4726a6+'',_0x23ae9d);const _0x535d72=_0x3bd79c(0x28c);_0x4efe22[_0x3bd79c(0x283)]=class extends _0x1530e5[_0x3bd79c(0x173)]{constructor(_0x407f40=_0x1e9aa7,_0x357296,_0x594e8e,_0x3df851){const _0x1c3d66=_0x3bd79c;super(),this[_0x1c3d66(0x217)]=_0x407f40,this[_0x1c3d66(0x171)]=_0x357296,this[_0x1c3d66(0x1d4)]=_0x594e8e,this[_0x1c3d66(0x15e)]=_0x3df851;const {..._0x22d693}=_0x1530e5['merge']({},_0x1e9aa7,this[_0x1c3d66(0x217)]);this[_0x1c3d66(0x15e)][_0x1c3d66(0x35c)](_0x3f41ab,_0x22d693);}[_0x3bd79c(0x253)](){const _0x373efb=_0x3bd79c;this[_0x373efb(0x132)](),this[_0x373efb(0x10d)]();}[_0x3bd79c(0x194)](){const _0x160a35=_0x3bd79c;this[_0x160a35(0x2eb)]();}[_0x3bd79c(0x132)](){const _0x445388=_0x3bd79c;var _0x18673f;const _0x37096d=[[_0x178111],[_0x92c8e3],[_0x2d4bbb],[_0x28e86f],[_0x88fed9],[_0x268aea,{'useClass':_0x2b4ddf}],[_0xde26a9[_0x445388(0x257)],{'useClass':_0xde26a9[_0x445388(0x277)]}],[_0xf278db[_0x445388(0x1c6)],{'useClass':_0x47fee0}],[_0x4efe22[_0x445388(0x218)]],[_0x515918],[_0x10640e],[_0x2fd1a4],[_0x80e98c],[_0x4efe22['CollaborationDataLoaderController']]];_0x1530e5[_0x445388(0x2a2)](this[_0x445388(0x1d4)],_0x1530e5[_0x445388(0x1ea)](_0x37096d,(_0x18673f=this[_0x445388(0x217)])==null?void 0x0:_0x18673f[_0x445388(0x1ec)]));}[_0x3bd79c(0x2eb)](){const _0x2aaba1=_0x3bd79c;this[_0x2aaba1(0x310)](this[_0x2aaba1(0x171)][_0x2aaba1(0x3b3)](_0x1530e5['UniverInstanceType'][_0x2aaba1(0x343)],[_0x5ad2bc])),this[_0x2aaba1(0x310)](this[_0x2aaba1(0x171)]['registerRenderModule'](_0x1530e5[_0x2aaba1(0x30a)][_0x2aaba1(0x31b)],[_0x511839]));}['_initDependencies'](){const _0x2975cd=_0x3bd79c;_0x1530e5[_0x2975cd(0x2e4)](this['_injector'],[[_0x2fd1a4],[_0x4efe22[_0x2975cd(0x218)]],[_0x515918],[_0x10640e],[_0x4efe22[_0x2975cd(0x2a6)]]]);}},_0x580307(_0x4efe22[_0x3bd79c(0x283)],'pluginName',_0x535d72),_0x4efe22['UniverCollaborationClientUIPlugin']=_0x1d796c([_0x1530e5[_0x3bd79c(0x260)](_0xf278db[_0x3bd79c(0x31a)]),_0x494f3b(0x1,_0x37f675[_0x3bd79c(0x1f0)]),_0x494f3b(0x2,_0x1530e5[_0x3bd79c(0x157)](_0x1530e5[_0x3bd79c(0x2f9)])),_0x494f3b(0x3,_0x1530e5[_0x3bd79c(0x3b2)])],_0x4efe22[_0x3bd79c(0x283)]);var _0xa97930=Object[_0x3bd79c(0x359)],_0x5a092e=(_0x26a167,_0x45efc0,_0x5b90f2,_0xba859c)=>{const _0x5206ce=_0x3bd79c;for(var _0x4724e9=_0xba859c>0x1?void 0x0:_0xba859c?_0xa97930(_0x45efc0,_0x5b90f2):_0x45efc0,_0x1e2820=_0x26a167[_0x5206ce(0x25d)]-0x1,_0x382538;_0x1e2820>=0x0;_0x1e2820--)(_0x382538=_0x26a167[_0x1e2820])&&(_0x4724e9=_0x382538(_0x4724e9)||_0x4724e9);return _0x4724e9;},_0x1ba218=(_0xd4dcb2,_0x2fe1ae)=>(_0x816f68,_0x3f9f5e)=>_0x2fe1ae(_0x816f68,_0x3f9f5e,_0xd4dcb2);_0x4efe22['BrowserCollaborationSocketService']=class extends _0xf278db[_0x3bd79c(0x329)]{constructor(_0x44bb91,_0x4eb475,_0x2a3121,_0x19173f,_0x5ecfe1){super(_0x44bb91,_0x4eb475,_0x2a3121,_0x19173f,_0x5ecfe1);}async[_0x3bd79c(0x393)](_0x4455a2){const _0x3daa63=_0x3bd79c,_0x51131d=await this[_0x3daa63(0x26d)](),_0x47e6ad=this[_0x3daa63(0x147)](_0x4455a2,_0x51131d);return this[_0x3daa63(0x119)](_0x47e6ad);}[_0x3bd79c(0x147)](_0x38e939,_0x5b5cc8){const _0x28493c=_0x3bd79c,_0x16ed23=typeof window>'u'?new URL(_0x38e939):new URL(_0x38e939,window[_0x28493c(0x349)][_0x28493c(0x279)]);_0x16ed23[_0x28493c(0x228)][_0x28493c(0x1f4)](_0x28493c(0x199),_0x5b5cc8);const _0x4ce27a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x28493c(0x349)]['search']);return _0x4ce27a[_0x28493c(0x35b)]('runId')&&_0x16ed23['searchParams']['set']('runId',_0x4ce27a[_0x28493c(0x35b)](_0x28493c(0x26e))),_0x16ed23[_0x28493c(0x196)]();}async[_0x3bd79c(0x26d)](){const _0x53f220=_0x3bd79c;var _0x123d5b,_0x27e5a1,_0x2229a9;const _0x220089=this[_0x53f220(0x15e)][_0x53f220(0x198)](_0xf278db[_0x53f220(0x118)]),_0x570435=(_0x123d5b=_0x220089==null?void 0x0:_0x220089[_0x53f220(0x351)])!=null?_0x123d5b:_0xf278db[_0x53f220(0x219)];return(_0x2229a9=(_0x27e5a1=(await this[_0x53f220(0x133)]['get'](_0x570435,{'headers':{'Content-Type':_0x53f220(0x1ca)}}))[_0x53f220(0x164)])==null?void 0x0:_0x27e5a1['ticket'])!=null?_0x2229a9:'';}},_0x4efe22[_0x3bd79c(0x1c0)]=_0x5a092e([_0x1ba218(0x0,_0x1530e5[_0x3bd79c(0x157)](_0x1530e5[_0x3bd79c(0x2f9)])),_0x1ba218(0x1,_0x1530e5[_0x3bd79c(0x157)](_0xde26a9[_0x3bd79c(0x138)])),_0x1ba218(0x2,_0x1530e5[_0x3bd79c(0x3b2)]),_0x1ba218(0x3,_0x1530e5[_0x3bd79c(0x2ae)]),_0x1ba218(0x4,_0x19cd12['ISnapshotServerService'])],_0x4efe22[_0x3bd79c(0x1c0)]);const _0x3c53a9=0x7530,_0x8cc5eb=_0x3bd79c(0x230);class _0x2257a9 extends _0x1530e5[_0x3bd79c(0x1bb)]{constructor(){const _0x4f0243=_0x3bd79c;super(),_0x3b9fde(this,'_id',_0x1530e5[_0x4f0243(0x1d2)]()),_0x3b9fde(this,_0x4f0243(0x2f6),new Set()),_0x3b9fde(this,_0x4f0243(0x2b1),new Map()),_0x3b9fde(this,_0x4f0243(0x13c),null),_0x3b9fde(this,_0x4f0243(0x36e),new Map()),_0x3b9fde(this,_0x4f0243(0x195),new Map()),this[_0x4f0243(0x366)]();}['dispose'](){const _0x3667da=_0x3bd79c;super[_0x3667da(0x1f5)](),this[_0x3667da(0x36e)][_0x3667da(0x18b)]((_0x199d2f,_0x4a1f52)=>this['_removeClearOtherTimer'](_0x4a1f52)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x3bd79c(0x1f1)](_0x4d2a50){const _0x8b9e84=_0x3bd79c;return this[_0x8b9e84(0x35a)](_0x4d2a50)[_0x8b9e84(0x11a)](_0x42b625['distinctUntilChanged']());}[_0x3bd79c(0x22a)](_0x3e6984){const _0x1a1bd8=_0x3bd79c;this[_0x1a1bd8(0x2f6)][_0x1a1bd8(0x2a0)]===0x0&&this['_scheduleHeartbeat'](),this[_0x1a1bd8(0x2f6)][_0x1a1bd8(0x23a)](_0x3e6984),this[_0x1a1bd8(0x22f)]({'type':0x0,'memberID':this[_0x1a1bd8(0x1cc)],'unitIDs':[_0x3e6984],'isForwarded':!0x1});}[_0x3bd79c(0x1ce)](_0x3331e5){const _0x4d85f5=_0x3bd79c;this[_0x4d85f5(0x2f6)][_0x4d85f5(0x378)](_0x3331e5),this[_0x4d85f5(0x2f6)][_0x4d85f5(0x2a0)]===0x0&&this[_0x4d85f5(0x13c)]&&window[_0x4d85f5(0x1a7)](this[_0x4d85f5(0x13c)]);}[_0x3bd79c(0x366)](){const _0x462f3f=_0x3bd79c;this[_0x462f3f(0x310)](_0x1530e5[_0x462f3f(0x2d6)](_0x42b625[_0x462f3f(0x1f2)](window,_0x462f3f(0x225))[_0x462f3f(0x35d)](_0x45bc60=>{const _0x6d5a1d=_0x462f3f;if(_0x45bc60[_0x6d5a1d(0x11b)]!==_0x8cc5eb||!_0x45bc60[_0x6d5a1d(0x210)])return;const _0x13af32=JSON[_0x6d5a1d(0x361)](_0x45bc60[_0x6d5a1d(0x210)]);this[_0x6d5a1d(0x36a)](_0x13af32);}))),window[_0x462f3f(0x1c3)](_0x462f3f(0x1ac),()=>this[_0x462f3f(0x22f)]({'type':0x1,'memberID':this[_0x462f3f(0x1cc)],'unitIDs':Array['from'](this[_0x462f3f(0x2f6)])}));}[_0x3bd79c(0x36a)](_0x3cc43f){const _0xbf4c68=_0x3bd79c;switch(_0x3cc43f['type']){case 0x0:this[_0xbf4c68(0x12c)](_0x3cc43f);break;case 0x1:this['_handleLeaveEvent'](_0x3cc43f);break;case 0x2:this['_handleHeartbeatEvent'](_0x3cc43f);break;}}[_0x3bd79c(0x12c)](_0x178ccc){const _0xacfe3a=_0x3bd79c,{unitIDs:_0x5bc097,memberID:_0x221dc7,isForwarded:_0x35e0d3}=_0x178ccc;_0x5bc097['forEach'](_0x24e7e7=>{const _0x4d4ae2=_0x61b4;if(!_0x35e0d3&&this[_0x4d4ae2(0x2b1)][_0x4d4ae2(0x1cb)](_0x24e7e7)&&this[_0x4d4ae2(0x35a)](_0x24e7e7)[_0x4d4ae2(0x27f)](_0xf278db[_0x4d4ae2(0x1b7)][_0x4d4ae2(0x33d)]),!this[_0x4d4ae2(0x2b1)][_0x4d4ae2(0x1cb)](_0x24e7e7)||!this['_unitOnClients'][_0x4d4ae2(0x35b)](_0x24e7e7)['has'](_0x221dc7)){const _0x44f561=this[_0x4d4ae2(0x2b1)][_0x4d4ae2(0x35b)](_0x24e7e7)||new Set();_0x44f561[_0x4d4ae2(0x23a)](_0x221dc7),this[_0x4d4ae2(0x2b1)][_0x4d4ae2(0x1f4)](_0x24e7e7,_0x44f561),this['_scheduleClearOtherTimer'](_0x221dc7);}}),_0x35e0d3||this[_0xacfe3a(0x22f)]({'type':0x0,'memberID':this[_0xacfe3a(0x1cc)],'unitIDs':[...this[_0xacfe3a(0x2f6)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x34a60f){const _0x397767=_0x3bd79c;this[_0x397767(0x178)](_0x34a60f);const _0x2569f3=window[_0x397767(0x1ba)](()=>{const _0x360580=_0x397767;this[_0x360580(0x2b1)][_0x360580(0x18b)](_0x3e9b10=>{const _0x11b1eb=_0x360580;_0x3e9b10[_0x11b1eb(0x378)](_0x34a60f);});},_0x3c53a9*0x2);this[_0x397767(0x36e)][_0x397767(0x1f4)](_0x34a60f,_0x2569f3);}['_removeClearOtherTimer'](_0x191f1e){const _0x3f1b38=_0x3bd79c;if(this[_0x3f1b38(0x36e)][_0x3f1b38(0x1cb)](_0x191f1e)){const _0x45cff4=this[_0x3f1b38(0x36e)]['get'](_0x191f1e);_0x45cff4&&window[_0x3f1b38(0x1c1)](_0x45cff4),this['_clearOtherTimers'][_0x3f1b38(0x1f4)](_0x191f1e,null);}}[_0x3bd79c(0x1b8)](_0x262af3){const _0x5a7cd0=_0x3bd79c,{memberID:_0x3f74d3,unitIDs:_0x1f725d}=_0x262af3;_0x1f725d[_0x5a7cd0(0x18b)](_0x42d080=>{const _0xaa39=_0x5a7cd0;var _0x17fe0e;const _0x511a66=this[_0xaa39(0x2b1)]['get'](_0x42d080);_0x511a66&&(_0x511a66[_0xaa39(0x378)](_0x3f74d3),(_0x17fe0e=this['_ensureSubject'](_0x42d080))==null||_0x17fe0e[_0xaa39(0x27f)](_0x511a66['size']===0x0?_0xf278db['UnitStatus'][_0xaa39(0x1d5)]:_0xf278db[_0xaa39(0x1b7)][_0xaa39(0x33d)]));}),this[_0x5a7cd0(0x178)](_0x3f74d3);}[_0x3bd79c(0x15d)](_0x5a8ea0){const _0x3236a3=_0x3bd79c;this[_0x3236a3(0x2b8)](_0x5a8ea0['memberID']);}[_0x3bd79c(0x22f)](_0x3eccc5){const _0x3605a5=_0x3bd79c;localStorage[_0x3605a5(0x3ac)](_0x8cc5eb,JSON[_0x3605a5(0x175)](_0x3eccc5));}[_0x3bd79c(0x368)](){const _0xf903ed=_0x3bd79c;this[_0xf903ed(0x13c)]=window[_0xf903ed(0x399)](()=>{const _0x441dbd=_0xf903ed;this[_0x441dbd(0x22f)]({'type':0x2,'memberID':this['_id']});},_0x3c53a9);}['_ensureSubject'](_0x3b9325){const _0x37963a=_0x3bd79c;return this[_0x37963a(0x195)][_0x37963a(0x1cb)](_0x3b9325)||this[_0x37963a(0x195)][_0x37963a(0x1f4)](_0x3b9325,new _0x42b625[(_0x37963a(0x191))](_0xf278db[_0x37963a(0x1b7)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x37963a(0x195)][_0x37963a(0x35b)](_0x3b9325);}}var _0x6e89dc=(_0x4d6eb3=>(_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x340)]=0x0]=_0x3bd79c(0x340),_0x4d6eb3[_0x4d6eb3['OK']=0x1]='OK',_0x4d6eb3[_0x4d6eb3['INTERNAL_ERROR']=0x2]=_0x3bd79c(0x370),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x333)]=0x3]='PERMISSION_DENIED',_0x4d6eb3[_0x4d6eb3['NOT_FOUND']=0x4]=_0x3bd79c(0x192),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x341)]=0x5]=_0x3bd79c(0x341),_0x4d6eb3[_0x4d6eb3['ALREADY_EXISTS']=0x6]=_0x3bd79c(0x2ba),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x12e)]=0x7]=_0x3bd79c(0x12e),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x16a)]=0x8]=_0x3bd79c(0x16a),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x315)]=0x9]=_0x3bd79c(0x315),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x2e3)]=0xa]='LOGIN_FAILED',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x234)]=0x1389]=_0x3bd79c(0x234),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x153)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x2a3)]=0x1772]=_0x3bd79c(0x2a3),_0x4d6eb3[_0x4d6eb3['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3bd79c(0x1f7),_0x4d6eb3[_0x4d6eb3['APPLY_REJECT']=0x1b59]=_0x3bd79c(0x301),_0x4d6eb3[_0x4d6eb3['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x1fe)]=0x1b5b]=_0x3bd79c(0x1fe),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x215)]=0x1b5c]=_0x3bd79c(0x215),_0x4d6eb3[_0x4d6eb3['APPLY_DUPLICATED']=0x1b5d]=_0x3bd79c(0x162),_0x4d6eb3[_0x4d6eb3['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x3b4)]=0x2329]=_0x3bd79c(0x3b4),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x266)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4d6eb3[_0x4d6eb3['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x2aa)]=0x232c]=_0x3bd79c(0x2aa),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x3a3)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x389)]=0x2711]=_0x3bd79c(0x389),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x139)]=0x2712]=_0x3bd79c(0x139),_0x4d6eb3[_0x4d6eb3['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3bd79c(0x2ee),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x292)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x1dc)]=0x271a]=_0x3bd79c(0x1dc),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x305)]=0x271b]=_0x3bd79c(0x305),_0x4d6eb3[_0x4d6eb3['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3bd79c(0x2a5),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x189)]=0x271d]=_0x3bd79c(0x189),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x13d)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x2a7)]=0x271f]=_0x3bd79c(0x2a7),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x307)]=0x2af9]=_0x3bd79c(0x307),_0x4d6eb3[_0x4d6eb3['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x12b)]=0x2ee2]=_0x3bd79c(0x12b),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x3ad)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x2df)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x1d6)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4d6eb3[_0x4d6eb3['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3bd79c(0x1bf),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x222)]=0x32ca]=_0x3bd79c(0x222),_0x4d6eb3[_0x4d6eb3['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x1b9)]=-0x1]=_0x3bd79c(0x1b9),_0x4d6eb3))(_0x6e89dc||{}),_0x119fdd=Object[_0x3bd79c(0x359)],_0x53a527=(_0x38ed3b,_0x5a0116,_0x3fdc6c,_0x272928)=>{const _0x50ebb7=_0x3bd79c;for(var _0x2f49f2=_0x272928>0x1?void 0x0:_0x272928?_0x119fdd(_0x5a0116,_0x3fdc6c):_0x5a0116,_0x1d0df6=_0x38ed3b[_0x50ebb7(0x25d)]-0x1,_0x4bdb50;_0x1d0df6>=0x0;_0x1d0df6--)(_0x4bdb50=_0x38ed3b[_0x1d0df6])&&(_0x2f49f2=_0x4bdb50(_0x2f49f2)||_0x2f49f2);return _0x2f49f2;},_0x21d2ad=(_0x59b6f0,_0x3357f2)=>(_0x16ed2f,_0x39d760)=>_0x3357f2(_0x16ed2f,_0x39d760,_0x59b6f0);_0x4efe22[_0x3bd79c(0x23c)]=class extends _0x1530e5[_0x3bd79c(0x1bb)]{constructor(_0x1f41e0,_0x3bc84c,_0x33eb1d){const _0x111cd8=_0x3bd79c;super(),this[_0x111cd8(0x2dd)]=_0x1f41e0,this[_0x111cd8(0x133)]=_0x3bc84c,this[_0x111cd8(0x15e)]=_0x33eb1d;}async[_0x3bd79c(0x20c)](_0xd4f07f,_0x6ab76c,_0x12acac,..._0x37fb4d){const _0x3deb35=_0x3bd79c;var _0x23bcc5,_0x48641c,_0x5dd0a8,_0x292401;const _0x33f3c=this[_0x3deb35(0x2dd)]['getFocusedUnit']();if(!_0x33f3c)throw new Error(_0x3deb35(0x273));const _0x3c9870=((_0x23bcc5=this[_0x3deb35(0x15e)][_0x3deb35(0x198)](_0xf278db[_0x3deb35(0x3ae)]))!=null?_0x23bcc5:_0xf278db[_0x3deb35(0x309)])+'/'+_0xd4f07f+_0x3deb35(0x31c)+_0x6ab76c,_0x379408=new URL(window['location']['href']),_0x37db65={'scriptId':_0xd4f07f,'runId':(_0x48641c=_0x379408[_0x3deb35(0x228)][_0x3deb35(0x35b)](_0x3deb35(0x26e)))!=null?_0x48641c:'','function':_0x6ab76c,'unitId':_0x33f3c[_0x3deb35(0x255)](),'argsOfFunction':JSON[_0x3deb35(0x175)](_0x37fb4d),'invokeId':(_0x5dd0a8=_0x12acac[_0x3deb35(0x2ce)])!=null?_0x5dd0a8:'','executionId':(_0x292401=_0x12acac['executionId'])!=null?_0x292401:''};try{const _0xbd22f0=await this[_0x3deb35(0x133)][_0x3deb35(0x2c8)](_0x3c9870,{'body':_0x37db65});return _0xbd22f0[_0x3deb35(0x164)][_0x3deb35(0x124)]&&_0xbd22f0[_0x3deb35(0x164)][_0x3deb35(0x124)][_0x3deb35(0x14f)]!==_0x6e89dc['OK']?_0x3deb35(0x265):_0xbd22f0['body'][_0x3deb35(0x134)];}catch{return _0x3deb35(0x265);}}},_0x4efe22[_0x3bd79c(0x23c)]=_0x53a527([_0x21d2ad(0x0,_0x1530e5['IUniverInstanceService']),_0x21d2ad(0x1,_0x1530e5[_0x3bd79c(0x157)](_0xde26a9[_0x3bd79c(0x138)])),_0x21d2ad(0x2,_0x1530e5['IConfigService'])],_0x4efe22[_0x3bd79c(0x23c)]),_0x4efe22[_0x3bd79c(0x2f5)]=_0x3bd43b,_0x4efe22['IURLService']=_0x268aea,_0x4efe22[_0x3bd79c(0x122)]=_0x3a9c78,_0x4efe22[_0x3bd79c(0x337)]=_0x2257a9,_0x4efe22[_0x3bd79c(0x18e)]=_0x2b4ddf,Object[_0x3bd79c(0x25b)](_0x4efe22,Symbol[_0x3bd79c(0x159)],{'value':_0x3bd79c(0x2ed)});}));
|