@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505201607 → 0.7.0-nightly.202505211607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2ab6(_0x4c06f8,_0x10570a){const _0x4f04cb=_0x4f04();return _0x2ab6=function(_0x2ab6e6,_0x425636){_0x2ab6e6=_0x2ab6e6-0x185;let _0x271099=_0x4f04cb[_0x2ab6e6];return _0x271099;},_0x2ab6(_0x4c06f8,_0x10570a);}(function(_0x1686b2,_0x111305){const _0x1140fc=_0x2ab6,_0x1a2676=_0x1686b2();while(!![]){try{const _0x197918=parseInt(_0x1140fc(0x259))/0x1+parseInt(_0x1140fc(0x29a))/0x2+parseInt(_0x1140fc(0x1c0))/0x3*(parseInt(_0x1140fc(0x312))/0x4)+parseInt(_0x1140fc(0x272))/0x5*(parseInt(_0x1140fc(0x2c8))/0x6)+-parseInt(_0x1140fc(0x195))/0x7+parseInt(_0x1140fc(0x36c))/0x8+-parseInt(_0x1140fc(0x2e2))/0x9;if(_0x197918===_0x111305)break;else _0x1a2676['push'](_0x1a2676['shift']());}catch(_0x1a48d8){_0x1a2676['push'](_0x1a2676['shift']());}}}(_0x4f04,0x66d94),function(_0x24dfad,_0x38a77f){const _0x3e3284=_0x2ab6;typeof exports==_0x3e3284(0x2f7)&&typeof module<'u'?_0x38a77f(exports,require('@univerjs-pro/collaboration-client'),require(_0x3e3284(0x2e3)),require(_0x3e3284(0x20a)),require(_0x3e3284(0x30d)),require(_0x3e3284(0x203)),require('@univerjs/drawing'),require(_0x3e3284(0x2c2)),require(_0x3e3284(0x2fa)),require(_0x3e3284(0x1fc)),require('@univerjs/engine-formula'),require(_0x3e3284(0x1bf)),require('rxjs/operators'),require(_0x3e3284(0x3c5)),require('react/jsx-runtime'),require(_0x3e3284(0x349)),require(_0x3e3284(0x192)),require('react'),require(_0x3e3284(0x396))):typeof define==_0x3e3284(0x400)&&define[_0x3e3284(0x30f)]?define([_0x3e3284(0x2d5),_0x3e3284(0x1c3),_0x3e3284(0x2e3),_0x3e3284(0x20a),_0x3e3284(0x30d),_0x3e3284(0x203),'@univerjs/drawing','rxjs',_0x3e3284(0x2fa),_0x3e3284(0x1fc),_0x3e3284(0x22c),_0x3e3284(0x1bf),'rxjs/operators',_0x3e3284(0x3c5),_0x3e3284(0x2ad),_0x3e3284(0x349),_0x3e3284(0x192),'react',_0x3e3284(0x396)],_0x38a77f):(_0x24dfad=typeof globalThis<'u'?globalThis:_0x24dfad||self,_0x38a77f(_0x24dfad[_0x3e3284(0x378)]={},_0x24dfad['UniverProCollaborationClient'],_0x24dfad['UniverCore'],_0x24dfad[_0x3e3284(0x365)],_0x24dfad[_0x3e3284(0x187)],_0x24dfad[_0x3e3284(0x34e)],_0x24dfad[_0x3e3284(0x258)],_0x24dfad[_0x3e3284(0x2c2)],_0x24dfad['UniverDocs'],_0x24dfad[_0x3e3284(0x36e)],_0x24dfad[_0x3e3284(0x1c2)],_0x24dfad[_0x3e3284(0x1e8)],_0x24dfad[_0x3e3284(0x2c2)][_0x3e3284(0x412)],_0x24dfad[_0x3e3284(0x2d4)],_0x24dfad[_0x3e3284(0x1eb)],_0x24dfad[_0x3e3284(0x2c7)],_0x24dfad[_0x3e3284(0x423)],_0x24dfad[_0x3e3284(0x1eb)],_0x24dfad[_0x3e3284(0x2f1)]));}(this,function(_0x39c320,_0x2137d8,_0x112c8e,_0x132069,_0x25f2b8,_0x97512c,_0x63405e,_0x265051,_0x4723ff,_0x3f458b,_0x4a4ee0,_0x16db28,_0x213256,_0x486af5,_0xc87f89,_0x4d7442,_0x37921f,_0x49fe71,_0x20f840){'use strict';const _0x143723=_0x2ab6;var _0xf89a26=Object[_0x143723(0x18d)],_0x25bf49=(_0x52cc8f,_0x3deaa4,_0x2ec338)=>_0x3deaa4 in _0x52cc8f?_0xf89a26(_0x52cc8f,_0x3deaa4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ec338}):_0x52cc8f[_0x3deaa4]=_0x2ec338,_0x433eb9=(_0x24c4e4,_0x3215ca,_0x5611a4)=>_0x25bf49(_0x24c4e4,typeof _0x3215ca!=_0x143723(0x2e9)?_0x3215ca+'':_0x3215ca,_0x5611a4),_0x3927ba=Object['getOwnPropertyDescriptor'],_0x138049=(_0x5714bd,_0x47c3b4,_0x35e22e,_0x1ef691)=>{for(var _0x52d889=_0x1ef691>0x1?void 0x0:_0x1ef691?_0x3927ba(_0x47c3b4,_0x35e22e):_0x47c3b4,_0x35a1b0=_0x5714bd['length']-0x1,_0x29852e;_0x35a1b0>=0x0;_0x35a1b0--)(_0x29852e=_0x5714bd[_0x35a1b0])&&(_0x52d889=_0x29852e(_0x52d889)||_0x52d889);return _0x52d889;},_0x4b8a48=(_0x5c0832,_0x7e1e3)=>(_0x225152,_0x1d2f77)=>_0x7e1e3(_0x225152,_0x1d2f77,_0x5c0832);let _0x5a11ca=class extends _0x112c8e['RxDisposable']{constructor(_0x53d8d3,_0x466ba0){const _0x544c22=_0x143723;super(),this[_0x544c22(0x29f)]=_0x53d8d3,this[_0x544c22(0x266)]=_0x466ba0,this['_init']();}[_0x143723(0x1a8)](){const _0x4eb23b=_0x143723,_0x23d0a5=this;this[_0x4eb23b(0x194)](this[_0x4eb23b(0x29f)][_0x4eb23b(0x2b6)]({'onBeforePasteImage':async _0x3e2fb5=>{const _0x38284f=_0x4eb23b,_0x3211fe=await _0x23d0a5[_0x38284f(0x266)]['saveImage'](_0x3e2fb5);return _0x3211fe?{'source':_0x3211fe[_0x38284f(0x3b0)],'imageSourceType':_0x3211fe[_0x38284f(0x224)]}:null;}}));}};_0x5a11ca=_0x138049([_0x4b8a48(0x0,_0x97512c['IDocClipboardService']),_0x4b8a48(0x1,_0x63405e[_0x143723(0x31c)])],_0x5a11ca);const _0x3fccf9=['purple.300','jiqing.500',_0x143723(0x2e5),_0x143723(0x35f),_0x143723(0x1fe),_0x143723(0x221)];class _0x2c376b extends _0x112c8e[_0x143723(0x357)]{constructor(){const _0x196b97=_0x143723;super(...arguments),_0x433eb9(this,'_assignedColors',new Map()),_0x433eb9(this,_0x196b97(0x236),0x0);}[_0x143723(0x302)](_0x37f10d){const _0x3634ab=_0x143723;if(this[_0x3634ab(0x429)]['has'](_0x37f10d))return this[_0x3634ab(0x429)]['get'](_0x37f10d);const _0x11a8aa=_0x3fccf9[this[_0x3634ab(0x236)]];return this[_0x3634ab(0x236)]=(this[_0x3634ab(0x236)]+0x1)%_0x3fccf9[_0x3634ab(0x370)],this['_assignedColors'][_0x3634ab(0x327)](_0x37f10d,_0x11a8aa),_0x11a8aa;}}function _0x331a9c(_0x5b88e5){let _0x10eb31='';for(const _0x245ea4 of _0x5b88e5){const {startOffset:_0x3c6779,endOffset:_0x19aeed,isActive:_0x1f5b65,rangeType:_0x27158a,segmentId:_0x1d3b25,segmentPage:_0x8c8e86}=_0x245ea4;_0x10eb31['length']&&(_0x10eb31+=','),_0x10eb31+=_0x3c6779+':'+_0x19aeed+':'+(_0x1f5b65?'1':'0')+':'+_0x27158a+':'+_0x1d3b25+':'+_0x8c8e86;}return _0x10eb31;}function _0x13b51b(_0x196a7d){const _0x3031d2=_0x143723,_0x305c6c=_0x196a7d['split'](','),_0x4fb6a1=[];for(const _0x3c5c48 of _0x305c6c){const [_0x3fc2ea,_0x5f16f6,_0x2ee153,_0x5df8b4,_0x1e4302,_0xee7fe4]=_0x3c5c48[_0x3031d2(0x3ab)](':');_0x4fb6a1[_0x3031d2(0x25c)]({'startOffset':Number(_0x3fc2ea),'endOffset':Number(_0x5f16f6),'collapsed':_0x3fc2ea===_0x5f16f6,'isActive':_0x2ee153==='1','rangeType':_0x5df8b4===_0x112c8e['DOC_RANGE_TYPE'][_0x3031d2(0x1ed)]?_0x112c8e[_0x3031d2(0x353)][_0x3031d2(0x1ed)]:_0x112c8e[_0x3031d2(0x353)][_0x3031d2(0x3a8)],'segmentId':typeof _0x1e4302=='string'?String(_0x1e4302):'','segmentPage':Number(_0xee7fe4!=null?_0xee7fe4:-0x1)});}return _0x4fb6a1['some'](_0x4e2463=>_0x4e2463[_0x3031d2(0x228)])||(_0x4fb6a1[0x0][_0x3031d2(0x228)]=!0x0),_0x4fb6a1;}class _0x35c700 extends _0x112c8e['RxDisposable']{constructor(){const _0x1e04d7=_0x143723;super(...arguments),_0x433eb9(this,_0x1e04d7(0x211),new _0x265051[(_0x1e04d7(0x255))](null)),_0x433eb9(this,_0x1e04d7(0x2cc),this[_0x1e04d7(0x211)][_0x1e04d7(0x251)]());}['syncEditingCollabCursor'](_0x1b35e8){const {unitID:_0x518f9c,memberID:_0x4370eb,textRanges:_0x483f4c}=_0x1b35e8,_0x20479c=_0x331a9c(_0x483f4c);if(_0x20479c==='')return;const _0x160268={'unitID':_0x518f9c,'memberID':_0x4370eb,'selection':_0x20479c};this['_collabCursorState$']['next'](_0x160268);}}var _0x3e273b=Object[_0x143723(0x3da)],_0x42ebed=(_0xe3462f,_0xac283f,_0x197c94,_0x35f526)=>{const _0x1e6efa=_0x143723;for(var _0xcea15d=_0x35f526>0x1?void 0x0:_0x35f526?_0x3e273b(_0xac283f,_0x197c94):_0xac283f,_0x3f9911=_0xe3462f[_0x1e6efa(0x370)]-0x1,_0x163685;_0x3f9911>=0x0;_0x3f9911--)(_0x163685=_0xe3462f[_0x3f9911])&&(_0xcea15d=_0x163685(_0xcea15d)||_0xcea15d);return _0xcea15d;},_0x48dd1f=(_0x17969b,_0x3ce5af)=>(_0x19dc9e,_0xfcb1e6)=>_0x3ce5af(_0x19dc9e,_0xfcb1e6,_0x17969b);const _0x25d56d=0x12c,_0x247917=0x64;let _0x3901ab=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0x2147df,_0x51401e,_0x5f041a,_0x36c197,_0x2a1247,_0x4535db,_0x73ecbe,_0x15f0ce,_0x100c89){const _0x4b3802=_0x143723;super(),_0x433eb9(this,_0x4b3802(0x1a2),!0x1),_0x433eb9(this,'_init',!0x1),_0x433eb9(this,_0x4b3802(0x2a7),new _0x265051['BehaviorSubject'](new Map())),_0x433eb9(this,_0x4b3802(0x3b7),this['_cursorInfo$'][_0x4b3802(0x251)]()),_0x433eb9(this,_0x4b3802(0x188),new _0x265051[(_0x4b3802(0x255))]([])),_0x433eb9(this,_0x4b3802(0x1de),this[_0x4b3802(0x188)][_0x4b3802(0x2d0)](_0x265051[_0x4b3802(0x193)](_0x25d56d))),_0x433eb9(this,_0x4b3802(0x344),_0x112c8e[_0x4b3802(0x3f6)](_0x531f2c=>{const _0x30aa84=_0x4b3802,_0xc686a9={'eventID':_0x3f458b[_0x30aa84(0x220)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x30aa84(0x40d)],'memberID':this[_0x30aa84(0x29e)][_0x30aa84(0x25d)](),'selection':_0x331a9c(_0x531f2c)}};this[_0x30aa84(0x29e)]['send'](_0xc686a9,this[_0x30aa84(0x40d)]);},_0x247917)),(this[_0x4b3802(0x40d)]=_0x2147df,this['_session']=_0x51401e,this[_0x4b3802(0x22d)]=_0x5f041a,this[_0x4b3802(0x2cb)]=_0x36c197,this['_memberService']=_0x2a1247,this[_0x4b3802(0x3c4)]=_0x4535db,this['_transformService']=_0x73ecbe,this[_0x4b3802(0x22a)]=_0x15f0ce,this[_0x4b3802(0x23b)]=_0x100c89);}get[_0x143723(0x33d)](){const _0x171e24=_0x143723;return this[_0x171e24(0x2a7)][_0x171e24(0x3dd)]();}get['roomMembers'](){const _0x1d62b5=_0x143723;return this['_roomMembers$'][_0x1d62b5(0x3dd)]();}['dispose'](){const _0x511e7e=_0x143723;super[_0x511e7e(0x3b4)](),this[_0x511e7e(0x2a7)][_0x511e7e(0x320)](new Map()),this[_0x511e7e(0x2a7)][_0x511e7e(0x2b2)](),this[_0x511e7e(0x188)]['next']([]),this[_0x511e7e(0x188)][_0x511e7e(0x2b2)]();}[_0x143723(0x3cf)](){const _0x3b5ea4=_0x143723;this['_init']||(this[_0x3b5ea4(0x1a8)]=!0x0,this['_session'][_0x3b5ea4(0x37f)][_0x3b5ea4(0x2d0)](_0x265051[_0x3b5ea4(0x319)](this[_0x3b5ea4(0x41a)]))[_0x3b5ea4(0x3e7)](_0x5ef662=>{const _0x2513a0=_0x3b5ea4;_0x5ef662===_0x2137d8[_0x2513a0(0x1b6)][_0x2513a0(0x2f8)]?this[_0x2513a0(0x358)]():this['_toggleOffline']();}),this[_0x3b5ea4(0x29e)]['event$']['pipe'](_0x265051[_0x3b5ea4(0x319)](this['dispose$']))[_0x3b5ea4(0x3e7)](_0x105534=>{const _0x59b930=_0x3b5ea4,_0x4abb8e=_0x105534[_0x59b930(0x347)];_0x4abb8e===_0x3f458b['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x105534),_0x4abb8e===_0x3f458b[_0x59b930(0x220)][_0x59b930(0x24f)]&&this[_0x59b930(0x3a4)](_0x105534);}),this[_0x3b5ea4(0x194)](this[_0x3b5ea4(0x23b)][_0x3b5ea4(0x2e6)](_0x26f9ea=>{const _0x289eef=_0x3b5ea4,_0x244caf=_0x26f9ea['params'];_0x244caf!=null&&this[_0x289eef(0x1a2)]&&_0x26f9ea['id']===_0x4723ff[_0x289eef(0x244)]['id']&&_0x244caf['unitId']===this[_0x289eef(0x40d)]&&_0x244caf[_0x289eef(0x2d1)]===!0x1&&_0x244caf[_0x289eef(0x426)][_0x289eef(0x370)]>0x0&&this[_0x289eef(0x344)](_0x244caf['ranges']);})),this[_0x3b5ea4(0x3c4)]['collabCursorState$'][_0x3b5ea4(0x2d0)](_0x265051[_0x3b5ea4(0x319)](this[_0x3b5ea4(0x41a)]))[_0x3b5ea4(0x3e7)](_0x4dd1ec=>{const _0x2958fb=_0x3b5ea4;if((_0x4dd1ec==null?void 0x0:_0x4dd1ec[_0x2958fb(0x40d)])!==this[_0x2958fb(0x40d)])return;const _0x3e3389={'eventID':_0x3f458b[_0x2958fb(0x220)][_0x2958fb(0x379)],'data':_0x4dd1ec};this['_onCursorUpdate'](_0x3e3389);}),this[_0x3b5ea4(0x194)](this[_0x3b5ea4(0x23b)][_0x3b5ea4(0x2e6)](_0x106c7e=>{const _0x3804c3=_0x3b5ea4;if(_0x106c7e[_0x3804c3(0x399)]==null)return;const _0x3e48ab=_0x106c7e[_0x3804c3(0x399)];if(_0x106c7e['id']!==_0x4723ff['RichTextEditingMutation']['id']||_0x3e48ab[_0x3804c3(0x1ff)]!==this[_0x3804c3(0x40d)])return;const _0x2c3544={'id':'doc.mutation.rich-text-editing','params':_0x3e48ab},_0x59cb43=this['cursorInfo'];for(const [_0x284d90,_0x106659]of _0x59cb43){const _0x1c6cd9={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x3804c3(0x40d)],'actions':null,'textRanges':_0x106659[_0x3804c3(0x426)]}},_0x261458=this[_0x3804c3(0x3a5)][_0x3804c3(0x191)](_0x2c3544,_0x1c6cd9,!0x1);if(_0x3f458b[_0x3804c3(0x2c1)](_0x261458))throw _0x261458['error'];_0x59cb43[_0x3804c3(0x327)](_0x284d90,{..._0x106659,'ranges':_0x261458[_0x3804c3(0x1b5)]['params'][_0x3804c3(0x21e)]});}queueMicrotask(()=>{const _0x3c27a3=_0x3804c3;this[_0x3c27a3(0x2a7)][_0x3c27a3(0x320)](_0x59cb43);});})));}[_0x143723(0x356)](_0x317c6f){const _0x1a63eb=_0x143723;var _0x28c3a4,_0x23c163;const {memberID:_0x2d4d67,selection:_0x130d28}=_0x317c6f['data'],_0x2bcc05=_0x13b51b(_0x130d28),_0x68fabe=(_0x23c163=(_0x28c3a4=this['_memberService'][_0x1a63eb(0x284)](this['unitID'],_0x2d4d67))==null?void 0x0:_0x28c3a4['name'])!=null?_0x23c163:'Unknown\x20user',_0x49127c={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x2d4d67),'name':_0x68fabe,'ranges':_0x2bcc05},_0x597cf8=this['cursorInfo'];_0x597cf8[_0x1a63eb(0x327)](_0x2d4d67,_0x49127c),this[_0x1a63eb(0x2a7)][_0x1a63eb(0x320)](_0x597cf8);}[_0x143723(0x3a4)](_0x2ad7a7){const _0x182cc6=_0x143723,{memberID:_0x2daaa8}=_0x2ad7a7[_0x182cc6(0x301)],_0x18ab49=this['cursorInfo'];_0x18ab49[_0x182cc6(0x37a)](_0x2daaa8),this[_0x182cc6(0x2a7)][_0x182cc6(0x320)](_0x18ab49);}[_0x143723(0x358)](){const _0x506764=_0x143723;var _0x485e1a;if(this[_0x506764(0x1a2)]=!0x0,((_0x485e1a=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x485e1a[_0x506764(0x249)]())!==this[_0x506764(0x40d)])return;const _0x395829=this[_0x506764(0x22d)][_0x506764(0x292)](_0x4723ff['DocSelectionManagerService'])['getDocRanges']();Array[_0x506764(0x32a)](_0x395829)&&_0x395829[_0x506764(0x370)]>0x0&&this[_0x506764(0x344)](_0x395829);}[_0x143723(0x323)](){this['_online']=!0x1;}};_0x3901ab=_0x42ebed([_0x48dd1f(0x2,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x48dd1f(0x3,_0x112c8e['Inject'](_0x2c376b)),_0x48dd1f(0x4,_0x112c8e[_0x143723(0x33f)](_0x2137d8[_0x143723(0x300)])),_0x48dd1f(0x5,_0x112c8e[_0x143723(0x33f)](_0x35c700)),_0x48dd1f(0x6,_0x3f458b[_0x143723(0x197)]),_0x48dd1f(0x7,_0x112c8e[_0x143723(0x1f7)]),_0x48dd1f(0x8,_0x112c8e[_0x143723(0x348)])],_0x3901ab);var _0x1c0c78=Object[_0x143723(0x3da)],_0x7178dc=(_0x3d2404,_0x429cc4,_0x21a947,_0x34c4b2)=>{const _0x1e3d2f=_0x143723;for(var _0x49f10b=_0x34c4b2>0x1?void 0x0:_0x34c4b2?_0x1c0c78(_0x429cc4,_0x21a947):_0x429cc4,_0x52a1b4=_0x3d2404[_0x1e3d2f(0x370)]-0x1,_0x51aaa4;_0x52a1b4>=0x0;_0x52a1b4--)(_0x51aaa4=_0x3d2404[_0x52a1b4])&&(_0x49f10b=_0x51aaa4(_0x49f10b)||_0x49f10b);return _0x49f10b;},_0x4246a8=(_0x56b2f6,_0x581fc3)=>(_0x1aeca0,_0x2b6b76)=>_0x581fc3(_0x1aeca0,_0x2b6b76,_0x56b2f6);const _0x252291=0x12c,_0x552ace=0x64,_0x545f1a=()=>{let _0x35aee7=[],_0x552c9e=!0x1;return _0x15f7b2=>{_0x35aee7['push'](_0x15f7b2),_0x552c9e||(_0x552c9e=!0x0,setTimeout(()=>{_0x35aee7['forEach'](_0x4a6884=>_0x4a6884()),_0x35aee7=[],_0x552c9e=!0x1;}));};};let _0xec98c5=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0xd9f7f7,_0x36299e,_0x22f9c8,_0x3de988,_0x145577,_0x30f1e5,_0x23b23e,_0x9fa8d5){const _0x5cdb4b=_0x143723;super(),_0x433eb9(this,_0x5cdb4b(0x1a2),!0x1),_0x433eb9(this,_0x5cdb4b(0x1a8),!0x1),_0x433eb9(this,'_cursorInfo$',new _0x265051[(_0x5cdb4b(0x255))](new Map())),_0x433eb9(this,_0x5cdb4b(0x3b7),this[_0x5cdb4b(0x2a7)][_0x5cdb4b(0x251)]()),_0x433eb9(this,'_roomMembers$',new _0x265051[(_0x5cdb4b(0x255))]([])),_0x433eb9(this,_0x5cdb4b(0x1de),this[_0x5cdb4b(0x188)]['pipe'](_0x265051[_0x5cdb4b(0x193)](_0x252291))),_0x433eb9(this,_0x5cdb4b(0x344),_0x112c8e[_0x5cdb4b(0x3f6)]((_0x5bf025,_0x3e7e91)=>{const _0x3313b4=_0x5cdb4b,_0x5873de={'eventID':_0x3f458b['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x3313b4(0x40d)],'memberID':this[_0x3313b4(0x29e)][_0x3313b4(0x25d)](),'selection':_0x4a4ee0[_0x3313b4(0x279)](_0x5bf025,_0x3e7e91[_0x3313b4(0x202)])}};this['_session'][_0x3313b4(0x2de)](_0x5873de,this[_0x3313b4(0x40d)]);},_0x552ace)),(this['unitID']=_0xd9f7f7,this[_0x5cdb4b(0x29e)]=_0x36299e,this['_injector']=_0x22f9c8,this[_0x5cdb4b(0x2cb)]=_0x3de988,this[_0x5cdb4b(0x3b9)]=_0x145577,this[_0x5cdb4b(0x22a)]=_0x30f1e5,this[_0x5cdb4b(0x23b)]=_0x23b23e,this['_refRangeService']=_0x9fa8d5);}get[_0x143723(0x33d)](){const _0x528ca4=_0x143723;return this['_cursorInfo$'][_0x528ca4(0x3dd)]();}get['roomMembers'](){const _0x4980c7=_0x143723;return this[_0x4980c7(0x188)][_0x4980c7(0x3dd)]();}[_0x143723(0x3b4)](){const _0x6b6643=_0x143723;super['dispose'](),this['_cursorInfo$'][_0x6b6643(0x320)](new Map()),this[_0x6b6643(0x2a7)][_0x6b6643(0x2b2)](),this['_roomMembers$'][_0x6b6643(0x320)]([]),this[_0x6b6643(0x188)][_0x6b6643(0x2b2)]();}[_0x143723(0x3cf)](){const _0x49202d=_0x143723;this[_0x49202d(0x1a8)]||(this[_0x49202d(0x1a8)]=!0x0,this['_session'][_0x49202d(0x37f)]['pipe'](_0x265051['takeUntil'](this[_0x49202d(0x41a)]))[_0x49202d(0x3e7)](_0x299d5a=>{const _0x34a7ec=_0x49202d;_0x299d5a===_0x2137d8[_0x34a7ec(0x1b6)][_0x34a7ec(0x2f8)]?this['_toggleOnline']():this[_0x34a7ec(0x323)]();}),this['_session']['event$'][_0x49202d(0x2d0)](_0x265051[_0x49202d(0x319)](this[_0x49202d(0x41a)]))[_0x49202d(0x3e7)](_0x24d5da=>{const _0x5d4a0b=_0x49202d,_0x2151f4=_0x24d5da['eventID'];_0x2151f4===_0x3f458b[_0x5d4a0b(0x220)][_0x5d4a0b(0x379)]&&this[_0x5d4a0b(0x356)](_0x24d5da),_0x2151f4===_0x3f458b[_0x5d4a0b(0x220)][_0x5d4a0b(0x24f)]&&this[_0x5d4a0b(0x3a4)](_0x24d5da);}),this[_0x49202d(0x41c)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x46535a=>{const _0x3fabc0=_0x49202d;if(this[_0x3fabc0(0x1a2)]&&_0x46535a['id']===_0x16db28['SetSelectionsOperation']['id']&&_0x46535a[_0x3fabc0(0x399)][_0x3fabc0(0x1ff)]===this[_0x3fabc0(0x40d)]){const _0x500ec0=_0x46535a['params'];this['_updateLocalCursor'](_0x500ec0['subUnitId'],_0x500ec0[_0x3fabc0(0x25a)][0x0]);}})));}[_0x143723(0x356)](_0xee37f7){const _0x4c3568=_0x143723;var _0xcd025c,_0x377963;const {memberID:_0x36c75e,selection:_0x555f33}=_0xee37f7[_0x4c3568(0x301)],{sheetName:_0x13cd8e,range:_0x141517}=_0x4a4ee0[_0x4c3568(0x275)](_0x555f33),_0x3ceadc={'name':(_0x377963=(_0xcd025c=this[_0x4c3568(0x3b9)][_0x4c3568(0x284)](this[_0x4c3568(0x40d)],_0x36c75e))==null?void 0x0:_0xcd025c[_0x4c3568(0x267)])!=null?_0x377963:'Unknown\x20user','range':this[_0x4c3568(0x2be)](_0x13cd8e,_0x141517),'sheetID':_0x13cd8e,'color':this[_0x4c3568(0x2cb)][_0x4c3568(0x302)](_0x36c75e),'selection':_0x555f33},_0x69ed62=this[_0x4c3568(0x33d)];_0x69ed62[_0x4c3568(0x327)](_0x36c75e,_0x3ceadc),this[_0x4c3568(0x2a7)][_0x4c3568(0x320)](_0x69ed62);}[_0x143723(0x3a4)](_0x42c367){const _0x33afe5=_0x143723,{memberID:_0x9f01df}=_0x42c367[_0x33afe5(0x301)],_0x549cbf=this[_0x33afe5(0x33d)];_0x549cbf[_0x33afe5(0x37a)](_0x9f01df),this[_0x33afe5(0x2a7)][_0x33afe5(0x320)](_0x549cbf);}[_0x143723(0x2be)](_0x241384,_0x18a881){const _0x5a4f42=_0x143723;var _0x40356f,_0x3cb5df;const _0x4c10eb=(_0x3cb5df=(_0x40356f=this[_0x5a4f42(0x22a)]['getUniverSheetInstance'](this[_0x5a4f42(0x40d)]))==null?void 0x0:_0x40356f[_0x5a4f42(0x3d4)](_0x241384))==null?void 0x0:_0x3cb5df[_0x5a4f42(0x1ac)]();return(_0x4c10eb==null?void 0x0:_0x4c10eb[_0x5a4f42(0x2fd)](_0x3a1718=>_0x112c8e['Rectangle'][_0x5a4f42(0x3d2)](_0x3a1718,_0x18a881)))||_0x18a881;}[_0x143723(0x41c)](){const _0x50c9c4=_0x143723,_0x4be4b7=new _0x112c8e[(_0x50c9c4(0x26c))](),_0x36a4e1=_0x545f1a(),_0x439772=()=>{const _0xf1c448=_0x50c9c4;_0x4be4b7[_0xf1c448(0x3b4)]();const _0x27a46e=(_0x15e93d,_0x422ad0,_0x5cf10e,_0x437a47)=>{const _0x4af903=_0xf1c448;let _0x5624fe=[];switch(_0x15e93d['id']){case _0x16db28['EffectRefRangId'][_0x4af903(0x209)]:{_0x5624fe=_0x16db28[_0x4af903(0x3b3)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)]['DeleteRangeMoveUpCommandId']:{_0x5624fe=_0x16db28[_0x4af903(0x201)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x3bd)]:{_0x5624fe=_0x16db28[_0x4af903(0x2fe)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x21c)]:{_0x5624fe=_0x16db28[_0x4af903(0x418)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x3bf)]:{_0x5624fe=_0x16db28[_0x4af903(0x314)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x37c)]:{_0x5624fe=_0x16db28[_0x4af903(0x311)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x369)]:{_0x5624fe=_0x16db28[_0x4af903(0x345)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x28b)]:{_0x5624fe=_0x16db28[_0x4af903(0x33e)](_0x15e93d,_0x437a47);break;}case _0x16db28['EffectRefRangId'][_0x4af903(0x1e9)]:{_0x5624fe=_0x16db28[_0x4af903(0x28c)](_0x15e93d,_0x437a47);break;}}const _0x5ee37e=_0x16db28[_0x4af903(0x3a7)](_0x5624fe,_0x437a47),_0x2c8a9f=this[_0x4af903(0x33d)]['get'](_0x422ad0);if(_0x2c8a9f&&_0x5ee37e){const _0xf50c4e={..._0x2c8a9f,'range':_0x5ee37e};this['cursorInfo']['set'](_0x422ad0,_0xf50c4e),_0x36a4e1(()=>{const _0xc77fc0=_0x4af903,_0x58827a=this['_refRangeService'][_0xc77fc0(0x1d3)](_0x5ee37e,_0x39b61c=>(_0x58827a['dispose'](),_0x27a46e(_0x39b61c,_0x422ad0,_0x5cf10e,_0x5ee37e)));_0x4be4b7[_0xc77fc0(0x3ef)](_0x58827a);});}return{'redos':[],'undos':[]};};this[_0xf1c448(0x33d)][_0xf1c448(0x363)]((_0x15e3bd,_0x536e7f)=>{const _0x22b2a9=_0xf1c448,{range:_0xd4b72c,sheetID:_0x37208b}=_0x15e3bd,_0x4f2e51=this[_0x22b2a9(0x352)][_0x22b2a9(0x1d3)](_0xd4b72c,_0x4d7067=>(_0x4f2e51[_0x22b2a9(0x3b4)](),_0x27a46e(_0x4d7067,_0x536e7f,_0x37208b,_0xd4b72c)));_0x4be4b7[_0x22b2a9(0x3ef)](_0x4f2e51);});};this['disposeWithMe'](_0x112c8e['toDisposable'](this[_0x50c9c4(0x2a7)][_0x50c9c4(0x3e7)](()=>{_0x439772();})));}['_toggleOnline'](){const _0x2ce033=_0x143723;var _0x140829,_0x8bef9;if(this[_0x2ce033(0x1a2)]=!0x0,((_0x140829=this[_0x2ce033(0x22a)][_0x2ce033(0x2f0)]())==null?void 0x0:_0x140829[_0x2ce033(0x249)]())!==this['unitID'])return;const _0x5ff013=(_0x8bef9=this['_injector']['get'](_0x16db28[_0x2ce033(0x1d9)])['getCurrentSelections']())==null?void 0x0:_0x8bef9[0x0],_0x21fd88=this[_0x2ce033(0x22a)]['getCurrentUnitForType'](_0x112c8e[_0x2ce033(0x1a6)][_0x2ce033(0x1a4)])[_0x2ce033(0x1cd)]();_0x5ff013&&_0x21fd88&&this[_0x2ce033(0x344)](_0x21fd88[_0x2ce033(0x232)](),_0x5ff013);}[_0x143723(0x323)](){this['_online']=!0x1;}};_0xec98c5=_0x7178dc([_0x4246a8(0x2,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x4246a8(0x3,_0x112c8e[_0x143723(0x33f)](_0x2c376b)),_0x4246a8(0x4,_0x112c8e[_0x143723(0x33f)](_0x2137d8['MemberService'])),_0x4246a8(0x5,_0x112c8e[_0x143723(0x1f7)]),_0x4246a8(0x6,_0x112c8e['ICommandService']),_0x4246a8(0x7,_0x112c8e[_0x143723(0x33f)](_0x16db28['RefRangeService']))],_0xec98c5);var _0xfe4e65=Object[_0x143723(0x3da)],_0x5a4d9f=(_0x2a99c1,_0xb72359,_0x7640e2,_0x295043)=>{const _0x49c40d=_0x143723;for(var _0x3ad2ea=_0x295043>0x1?void 0x0:_0x295043?_0xfe4e65(_0xb72359,_0x7640e2):_0xb72359,_0x33f1f7=_0x2a99c1[_0x49c40d(0x370)]-0x1,_0x2250f0;_0x33f1f7>=0x0;_0x33f1f7--)(_0x2250f0=_0x2a99c1[_0x33f1f7])&&(_0x3ad2ea=_0x2250f0(_0x3ad2ea)||_0x3ad2ea);return _0x3ad2ea;},_0x4d34bd=(_0xeec7dd,_0x1932a2)=>(_0x34ba0e,_0x48d9d5)=>_0x1932a2(_0x34ba0e,_0x48d9d5,_0xeec7dd);let _0x599949=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0x20bf49,_0x46d02e,_0x3d7cac){const _0x53cafc=_0x143723;super(),_0x433eb9(this,_0x53cafc(0x1fb),new Map()),_0x433eb9(this,_0x53cafc(0x2cd),new _0x265051[(_0x53cafc(0x1cc))]()),(this[_0x53cafc(0x22a)]=_0x20bf49,this['_injector']=_0x46d02e,this['_collabSessionService']=_0x3d7cac,this['_init']());}[_0x143723(0x3b4)](){const _0x122897=_0x143723;super['dispose'](),this[_0x122897(0x2cd)][_0x122897(0x2b2)](),this['_entities'][_0x122897(0x363)](_0x114883=>_0x114883[_0x122897(0x3b4)]());}[_0x143723(0x1da)](_0x16c3ec){const _0x354eb3=_0x143723;return this['_entities'][_0x354eb3(0x2ac)](_0x16c3ec)?this['_entities']['get'](_0x16c3ec)['cursorInfo$']:this['_entityInit$']['pipe'](_0x265051[_0x354eb3(0x3ee)](_0x543cd4=>_0x543cd4[_0x354eb3(0x40d)]===_0x16c3ec),_0x265051[_0x354eb3(0x32c)](_0x16e019=>_0x16e019['cursorInfo$']));}['_init'](){const _0x2e70a9=_0x143723;this[_0x2e70a9(0x22a)][_0x2e70a9(0x2ee)](_0x112c8e[_0x2e70a9(0x1a6)][_0x2e70a9(0x1a4)])['pipe'](_0x265051['takeUntil'](this['dispose$']))['subscribe'](async _0x317122=>{const _0x3fdce6=_0x2e70a9,_0x51fa67=_0x317122['getUnitId'](),_0x2ce7f6=await this[_0x3fdce6(0x386)](_0x51fa67);this[_0x3fdce6(0x2cd)][_0x3fdce6(0x320)](_0x2ce7f6),this[_0x3fdce6(0x1fb)][_0x3fdce6(0x327)](_0x51fa67,_0x2ce7f6);}),this[_0x2e70a9(0x22a)][_0x2e70a9(0x2ee)](_0x112c8e[_0x2e70a9(0x1a6)][_0x2e70a9(0x1ce)])[_0x2e70a9(0x2d0)](_0x265051['takeUntil'](this['dispose$']))[_0x2e70a9(0x2d0)](_0x265051[_0x2e70a9(0x3ee)](_0x1abb43=>!_0x1abb43[_0x2e70a9(0x249)]()['startsWith']('__')))[_0x2e70a9(0x3e7)](async _0x9ce8de=>{const _0x25ae94=_0x2e70a9,_0x2986c2=_0x9ce8de[_0x25ae94(0x249)](),_0x467b9c=await this['_startDocCollabCursor'](_0x2986c2);this[_0x25ae94(0x2cd)][_0x25ae94(0x320)](_0x467b9c),this[_0x25ae94(0x1fb)][_0x25ae94(0x327)](_0x2986c2,_0x467b9c);}),_0x265051[_0x2e70a9(0x2a5)](this['_univerInstanceService'][_0x2e70a9(0x2b0)](_0x112c8e[_0x2e70a9(0x1a6)][_0x2e70a9(0x1ce)]),this[_0x2e70a9(0x22a)][_0x2e70a9(0x2b0)](_0x112c8e[_0x2e70a9(0x1a6)][_0x2e70a9(0x1a4)]))[_0x2e70a9(0x2d0)](_0x265051[_0x2e70a9(0x319)](this['dispose$']))[_0x2e70a9(0x3e7)](_0x21794c=>{const _0x160903=_0x2e70a9,_0x3ea5f8=_0x21794c[_0x160903(0x249)](),_0x3f14a8=this[_0x160903(0x1fb)][_0x160903(0x292)](_0x3ea5f8);_0x3f14a8&&(_0x3f14a8[_0x160903(0x3b4)](),this[_0x160903(0x1fb)]['delete'](_0x3ea5f8));});}async[_0x143723(0x386)](_0x593a36){const _0x3b6740=_0x143723,_0x518987=await this[_0x3b6740(0x2bc)][_0x3b6740(0x34c)](_0x593a36),_0x1b1bd8=this[_0x3b6740(0x22d)]['createInstance'](_0xec98c5,_0x593a36,_0x518987);return _0x1b1bd8[_0x3b6740(0x3cf)](),_0x1b1bd8;}async[_0x143723(0x346)](_0x409a1f){const _0x2bb957=_0x143723,_0x2f13a9=await this['_collabSessionService'][_0x2bb957(0x34c)](_0x409a1f),_0x1eccae=this[_0x2bb957(0x22d)][_0x2bb957(0x235)](_0x3901ab,_0x409a1f,_0x2f13a9);return _0x1eccae[_0x2bb957(0x3cf)](),_0x1eccae;}};_0x599949=_0x5a4d9f([_0x4d34bd(0x0,_0x112c8e['IUniverInstanceService']),_0x4d34bd(0x1,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x4d34bd(0x2,_0x112c8e[_0x143723(0x33f)](_0x2137d8['CollaborationSessionService']))],_0x599949);const _0x3ced61=0x14,_0x3f0fd2=0xc8,_0x96448e=0x4,_0x575216=0x5;function _0x4053b1(_0x185d19,_0x58212e){const _0x3add3d=_0x143723;let {radius:_0x4c4616,width:_0x4a9714,height:_0x129d40}=_0x58212e;_0x4c4616=_0x4c4616!=null?_0x4c4616:0x0,_0x4a9714=_0x4a9714!=null?_0x4a9714:0x1e,_0x129d40=_0x129d40!=null?_0x129d40:0x1e;let _0x1f533d=0x0,_0x679f81=0x0,_0xce47aa=0x0;_0x1f533d=_0x679f81=_0xce47aa=Math[_0x3add3d(0x35d)](_0x4c4616,_0x4a9714/0x2,_0x129d40/0x2),_0x185d19[_0x3add3d(0x1e0)](),_0x185d19[_0x3add3d(0x2ba)](_0x1f533d,0x0),_0x185d19[_0x3add3d(0x28d)](_0x4a9714-_0x679f81,0x0),_0x185d19['arc'](_0x4a9714-_0x679f81,_0x679f81,_0x679f81,Math['PI']*0x3/0x2,0x0,!0x1),_0x185d19[_0x3add3d(0x28d)](_0x4a9714,_0x129d40-_0xce47aa),_0x185d19[_0x3add3d(0x1f2)](_0x4a9714-_0xce47aa,_0x129d40-_0xce47aa,_0xce47aa,0x0,Math['PI']/0x2,!0x1),_0x185d19[_0x3add3d(0x28d)](0x0,_0x129d40),_0x185d19['lineTo'](0x0,_0x1f533d),_0x185d19[_0x3add3d(0x1f2)](_0x1f533d,_0x1f533d,_0x1f533d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x185d19[_0x3add3d(0x2e4)](),_0x58212e[_0x3add3d(0x20b)]&&(_0x185d19[_0x3add3d(0x409)](),_0x185d19[_0x3add3d(0x402)]=_0x58212e['fill'],_0x58212e[_0x3add3d(0x35a)]===_0x3add3d(0x3cb)?_0x185d19[_0x3add3d(0x20b)](_0x3add3d(0x3cb)):_0x185d19[_0x3add3d(0x20b)](),_0x185d19['restore']());}class _0x5b9021 extends _0x132069['Shape']{constructor(_0x3008d9,_0x2f11a6){const _0x39ae8d=_0x143723;super(_0x3008d9,_0x2f11a6),_0x433eb9(this,_0x39ae8d(0x376)),_0x433eb9(this,_0x39ae8d(0x3d9)),(this[_0x39ae8d(0x376)]=_0x2f11a6==null?void 0x0:_0x2f11a6[_0x39ae8d(0x376)],this[_0x39ae8d(0x3d9)]=_0x2f11a6==null?void 0x0:_0x2f11a6['text']);}static[_0x143723(0x2f5)](_0x12279a,_0x468b07){const _0x1dc992=_0x143723,{text:_0x542575,color:_0x19464d}=_0x468b07;_0x12279a[_0x1dc992(0x409)](),_0x12279a[_0x1dc992(0x1b7)]=_0x1dc992(0x3f4);const _0x446e39=_0x12279a['measureText'](_0x542575)[_0x1dc992(0x257)],_0x1d450a=Math[_0x1dc992(0x35d)](_0x446e39+0x2*_0x96448e,_0x3f0fd2);_0x4053b1(_0x12279a,{'height':_0x3ced61,'radius':0x4,'width':_0x1d450a,'fill':_0x19464d}),_0x12279a[_0x1dc992(0x402)]=_0x1dc992(0x1ea);const _0x36e24f=_0x96448e,_0x1e8e9f=_0x3ced61-_0x575216,_0x2d343c=_0x3f0fd2-0x2*_0x96448e;if(_0x446e39>_0x2d343c){let _0x336f56='',_0x51a782=0x0;for(const _0x16bc5d of _0x542575){const _0x2598ac=_0x12279a[_0x1dc992(0x1ae)](_0x16bc5d)[_0x1dc992(0x257)];if(_0x51a782+_0x2598ac<=_0x2d343c-_0x12279a['measureText'](_0x1dc992(0x1ad))['width'])_0x336f56+=_0x16bc5d,_0x51a782+=_0x2598ac;else{_0x336f56+='...';break;}}_0x12279a[_0x1dc992(0x37e)](_0x336f56,_0x36e24f,_0x1e8e9f);}else _0x12279a[_0x1dc992(0x37e)](_0x542575,_0x36e24f,_0x1e8e9f);_0x12279a[_0x1dc992(0x42e)]();}[_0x143723(0x2dd)](_0x337301){const _0x4946cb=_0x143723;_0x5b9021[_0x4946cb(0x2f5)](_0x337301,this);}}const _0x4bb131=_0x143723(0x375),_0x465dcf=_0x143723(0x40a),_0x152619=_0x143723(0x283),_0x1fda91=0x6,_0x1d0b21=1.5,_0x39d9d5=0x4,_0x5b2f9e=1.5,_0x2c0cc9=_0x143723(0x3bc);class _0x35c061{constructor(_0x2b46f9,_0x391ac2,_0x4e8d6e,_0x2ce35f){const _0x418596=_0x143723;_0x433eb9(this,_0x418596(0x204),[]),_0x433eb9(this,_0x418596(0x246),null),_0x433eb9(this,_0x418596(0x2c0),null),_0x433eb9(this,'_anchorDot',null),_0x433eb9(this,_0x418596(0x401),null),_0x433eb9(this,'_eventUnsubscribe',null),(this[_0x418596(0x299)]=_0x2b46f9,this[_0x418596(0x30a)]=_0x391ac2,this[_0x418596(0x390)]=_0x4e8d6e,this['_document']=_0x2ce35f,this[_0x418596(0x2a0)]());}set[_0x143723(0x36d)](_0x1ef1f2){const _0x4db1f5=_0x143723;_0x1ef1f2?(this[_0x4db1f5(0x2d6)]&&this[_0x4db1f5(0x2d6)][_0x4db1f5(0x385)](),this[_0x4db1f5(0x2c0)]&&this[_0x4db1f5(0x2c0)][_0x4db1f5(0x2ea)]()):(this[_0x4db1f5(0x2d6)]&&this[_0x4db1f5(0x2d6)]['show'](),this[_0x4db1f5(0x2c0)]&&this['_textBubble'][_0x4db1f5(0x385)]());}['dispose'](){const _0x1e29ae=_0x143723;for(const _0x401e0e of this['_shapes'])_0x401e0e[_0x1e29ae(0x3b4)]();this[_0x1e29ae(0x2c0)]&&this[_0x1e29ae(0x2c0)][_0x1e29ae(0x3b4)](),this[_0x1e29ae(0x2d6)]&&this[_0x1e29ae(0x2d6)][_0x1e29ae(0x3b4)](),this['_anchor']&&this['_anchor']['dispose'](),this[_0x1e29ae(0x2d3)]&&this[_0x1e29ae(0x2d3)]();}[_0x143723(0x2a0)](){const _0x40d754=_0x143723;var _0x280a3e;const {_docSkeleton:_0x3abe58,_document:_0x31f868}=this,{color:_0x4cc70f,name:_0x54a265,ranges:_0x4931f3}=this[_0x40d754(0x299)],_0x4a7ada=_0x31f868[_0x40d754(0x2ef)](),{docsLeft:_0x140fa6,docsTop:_0x416c83}=_0x4a7ada,_0x3e9e5b=new _0x97512c[(_0x40d754(0x1c1))](_0x4a7ada,_0x3abe58);for(const {startOffset:_0x5a2cbc,endOffset:_0xf69879,rangeType:_0x375e67,segmentId:_0x2ea5c5,segmentPage:_0x26a84e,collapsed:_0x19c9c8,isActive:_0x36e104}of _0x4931f3){const _0x4b595b=_0x3abe58[_0x40d754(0x31e)](_0x5a2cbc,!0x0,_0x2ea5c5,_0x26a84e);let _0x1fa0a1=_0x3abe58['findNodePositionByCharIndex'](_0xf69879,!0x0,_0x2ea5c5,_0x26a84e);if(_0x1fa0a1==null&&(_0x1fa0a1=_0x3abe58[_0x40d754(0x31e)](_0xf69879-0x1,!0x1,_0x2ea5c5,_0x26a84e)),_0x36e104){const {contentBoxPointGroup:_0x250fcd}=_0x3e9e5b[_0x40d754(0x1d2)](_0x1fa0a1,_0x1fa0a1);if(_0x250fcd[_0x40d754(0x370)]===0x0)continue;this[_0x40d754(0x1d5)](_0x4cc70f,_0x250fcd,_0x140fa6,_0x416c83,_0x54a265),this[_0x40d754(0x2d3)]=this[_0x40d754(0x304)]();}if(_0x4b595b&&_0x1fa0a1){if(_0x375e67===_0x112c8e[_0x40d754(0x353)][_0x40d754(0x3a8)]){const _0xae45e3=new _0x97512c['NodePositionConvertToRectRange'](_0x4a7ada,_0x3abe58),{pointGroup:_0x5715d3}=(_0x280a3e=_0xae45e3[_0x40d754(0x1d2)](_0x4b595b,_0x1fa0a1))!=null?_0x280a3e:{};if(_0x5715d3==null||_0x5715d3[_0x40d754(0x370)]===0x0)continue;this[_0x40d754(0x333)](_0x4cc70f,_0x5715d3,_0x140fa6,_0x416c83);}else{if(!_0x19c9c8){const {borderBoxPointGroup:_0x2100c5}=_0x3e9e5b[_0x40d754(0x1d2)](_0x4b595b,_0x1fa0a1);if(_0x2100c5['length']===0x0)continue;this['_drawTextRange'](_0x4cc70f,_0x2100c5,_0x140fa6,_0x416c83);}}}}}['_drawAnchor'](_0x13108e,_0x195c0e,_0xd9136b,_0xc69fc4,_0x5540a4){const _0x36cf52=_0x143723,_0x133191=this[_0x36cf52(0x367)](_0x195c0e),{left:_0x4c20b1,top:_0xbd10ac,height:_0x4e08af}=_0x133191,_0x10b027=this['_getScale'](),_0x1bea3b=_0x5b2f9e/_0x10b027,_0x6272fd=new _0x132069[(_0x36cf52(0x341))](_0x4bb131+_0x112c8e['Tools'][_0x36cf52(0x21d)](_0x1fda91),{'left':_0x4c20b1+_0xd9136b-_0x1bea3b,'top':_0xbd10ac+_0xc69fc4,'height':_0x4e08af,'width':_0x1d0b21,'fill':_0x13108e||_0x132069[_0x36cf52(0x282)](_0x112c8e[_0x36cf52(0x27e)][_0x36cf52(0x291)],0x0),'strokeWidth':_0x1bea3b,'stroke':_0x2c0cc9,'evented':!0x0});this['_anchor']=_0x6272fd,this[_0x36cf52(0x30a)][_0x36cf52(0x34a)](_0x6272fd,_0x97512c[_0x36cf52(0x3cc)]);const _0x1bbf51=new _0x132069[(_0x36cf52(0x341))](_0x4bb131+_0x112c8e[_0x36cf52(0x1bd)][_0x36cf52(0x21d)](_0x1fda91),{'left':_0x4c20b1+_0xd9136b-_0x1bea3b,'top':_0xbd10ac+_0xc69fc4-_0x39d9d5/0x2,'height':_0x39d9d5,'width':_0x39d9d5,'fill':_0x13108e||_0x132069[_0x36cf52(0x282)](_0x112c8e[_0x36cf52(0x27e)][_0x36cf52(0x291)],0x0),'strokeWidth':0x0,'stroke':_0x13108e||_0x132069[_0x36cf52(0x282)](_0x112c8e['COLORS'][_0x36cf52(0x291)],0x0),'evented':!0x1});this[_0x36cf52(0x2d6)]=_0x1bbf51,this[_0x36cf52(0x30a)][_0x36cf52(0x34a)](_0x1bbf51,_0x97512c[_0x36cf52(0x3cc)]);const _0x1c37c5=new _0x5b9021(_0x4bb131+_0x112c8e['Tools']['generateRandomId'](_0x1fda91),{'left':_0x4c20b1+_0xd9136b-_0x1bea3b,'top':_0xbd10ac+_0xc69fc4-_0x3ced61,'text':_0x5540a4,'color':_0x13108e});this[_0x36cf52(0x2c0)]=_0x1c37c5,this[_0x36cf52(0x30a)][_0x36cf52(0x34a)](_0x1c37c5,_0x97512c[_0x36cf52(0x3cc)]),this[_0x36cf52(0x36d)]=!0x1;}[_0x143723(0x304)](){const _0x1eb688=_0x143723,_0x292f74=this['_anchor'][_0x1eb688(0x1f9)][_0x1eb688(0x42a)](()=>{const _0x1d10e0=_0x1eb688;this[_0x1d10e0(0x36d)]=!0x0;}),_0x18c365=this[_0x1eb688(0x246)][_0x1eb688(0x3bb)]['subscribeEvent'](()=>{const _0x480195=_0x1eb688;this[_0x480195(0x401)]&&clearTimeout(this['_hideTimer']),this[_0x480195(0x401)]=setTimeout(()=>{const _0x8055fe=_0x480195;this[_0x8055fe(0x36d)]=!0x1;},0x7d0);});return()=>{const _0x3bc939=_0x1eb688;_0x292f74[_0x3bc939(0x2d8)](),_0x18c365[_0x3bc939(0x2d8)]();};}[_0x143723(0x23e)](_0x4cfc97,_0x3bee86,_0x37049c,_0x5e3f8f){const _0x3aa974=_0x143723,_0x441040=new _0x112c8e['ColorKit'](_0x4cfc97)[_0x3aa974(0x18b)](0.2)['toRgbString'](),_0x1a2447=new _0x132069['RegularPolygon'](_0x465dcf+_0x112c8e[_0x3aa974(0x1bd)][_0x3aa974(0x21d)](_0x1fda91),{'pointsGroup':_0x3bee86,'fill':_0x441040||_0x132069[_0x3aa974(0x282)](_0x112c8e[_0x3aa974(0x27e)][_0x3aa974(0x291)],0.2),'left':_0x37049c,'top':_0x5e3f8f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3aa974(0x204)][_0x3aa974(0x25c)](_0x1a2447),this[_0x3aa974(0x30a)][_0x3aa974(0x34a)](_0x1a2447,_0x97512c['TEXT_RANGE_LAYER_INDEX']);}[_0x143723(0x333)](_0x42fbb4,_0x575dad,_0x4631cb,_0x4a5af8){const _0x378077=_0x143723,_0x512e7c=new _0x112c8e[(_0x378077(0x2a4))](_0x42fbb4)[_0x378077(0x18b)](0.2)[_0x378077(0x2eb)](),_0x5b5342=new _0x132069[(_0x378077(0x3c9))](_0x152619+_0x112c8e[_0x378077(0x1bd)][_0x378077(0x21d)](_0x1fda91),{'pointsGroup':_0x575dad,'fill':_0x512e7c||_0x132069[_0x378077(0x282)](_0x112c8e[_0x378077(0x27e)][_0x378077(0x291)],0.2),'left':_0x4631cb,'top':_0x4a5af8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x378077(0x204)][_0x378077(0x25c)](_0x5b5342),this[_0x378077(0x30a)][_0x378077(0x34a)](_0x5b5342,_0x97512c[_0x378077(0x3cc)]);}['_getAnchorBounding'](_0xe2d555){const _0x1c0431=_0xe2d555[0x0],_0x428cdc=_0x1c0431[0x0],_0x1dbc83=_0x1c0431[0x2],{x:_0x214d8c,y:_0x26fc93}=_0x428cdc,{x:_0x264b68,y:_0x163274}=_0x1dbc83;return{'left':_0x214d8c,'top':_0x26fc93,'width':_0x264b68-_0x214d8c,'height':_0x163274-_0x26fc93};}[_0x143723(0x20d)](){const _0x46d21d=_0x143723,{scaleX:_0x2f2973,scaleY:_0x27ceaa}=this[_0x46d21d(0x30a)][_0x46d21d(0x1ec)]();return Math[_0x46d21d(0x39a)](_0x2f2973,_0x27ceaa);}}var _0x28e12b=Object[_0x143723(0x3da)],_0x338788=(_0x496d49,_0x164181,_0x4d731b,_0xc22d)=>{for(var _0xcab4f1=_0xc22d>0x1?void 0x0:_0xc22d?_0x28e12b(_0x164181,_0x4d731b):_0x164181,_0x27fbd6=_0x496d49['length']-0x1,_0xa348c;_0x27fbd6>=0x0;_0x27fbd6--)(_0xa348c=_0x496d49[_0x27fbd6])&&(_0xcab4f1=_0xa348c(_0xcab4f1)||_0xcab4f1);return _0xcab4f1;},_0x264c7a=(_0x4c8027,_0x3c0f23)=>(_0x1ebdf5,_0x44a2f8)=>_0x3c0f23(_0x1ebdf5,_0x44a2f8,_0x4c8027);let _0x27f659=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0x22de78,_0xc70591,_0x23431b,_0x52df55,_0x1e5e09){const _0x2b3e7f=_0x143723;super(),_0x433eb9(this,_0x2b3e7f(0x39c),[]),_0x433eb9(this,'_cursors',[]),(this[_0x2b3e7f(0x3df)]=_0x22de78,this['_docSkeletonManagerService']=_0xc70591,this[_0x2b3e7f(0x3a1)]=_0x23431b,this[_0x2b3e7f(0x23b)]=_0x52df55,this[_0x2b3e7f(0x2ec)]=_0x1e5e09,this[_0x2b3e7f(0x1a8)]());}['_init'](){const _0x303f9a=_0x143723,_0x428ed8=this[_0x303f9a(0x3df)][_0x303f9a(0x1ff)],_0x41b1fe=this['_docSkeletonManagerService'];this[_0x303f9a(0x194)](_0x265051[_0x303f9a(0x271)]([this['_collabCursorController'][_0x303f9a(0x1da)](_0x428ed8),this[_0x303f9a(0x2ec)]['currentTheme$']])['pipe'](_0x213256[_0x303f9a(0x2fb)](([_0xcd292a,_0x18136a])=>({'skeleton':_0x41b1fe[_0x303f9a(0x20f)](),'cursors':[..._0xcd292a[_0x303f9a(0x270)]()][_0x303f9a(0x20e)](_0x23c7b7=>({..._0x23c7b7,'color':this['_themeService'][_0x303f9a(0x27f)](_0x23c7b7['color'])}))})))[_0x303f9a(0x3e7)](_0x415a15=>{const _0x201294=_0x303f9a;if(this[_0x201294(0x3d8)](),_0x415a15){const {skeleton:_0x14506b,cursors:_0x68f9b4}=_0x415a15;this[_0x201294(0x3eb)](_0x14506b,_0x68f9b4);}})),this[_0x303f9a(0x27d)](),this['_initCommandExecutedListener']();}[_0x143723(0x3eb)](_0x3aba25,_0x386fa3){const _0x7c851a=_0x143723,{scene:_0xc11042,mainComponent:_0x2c8363}=this[_0x7c851a(0x3df)],_0x258d4c=_0x386fa3[_0x7c851a(0x2fb)](_0x47e0b3=>new _0x35c061(_0x47e0b3,_0xc11042,_0x3aba25,_0x2c8363));this[_0x7c851a(0x39c)]=_0x258d4c,this[_0x7c851a(0x238)]=_0x386fa3;}[_0x143723(0x34b)](){const _0xfe9c33=_0x143723;this[_0xfe9c33(0x3d8)]();const {scene:_0x4a82ee,mainComponent:_0x2f3ce2}=this[_0xfe9c33(0x3df)],_0x739d6a=this[_0xfe9c33(0x1d0)][_0xfe9c33(0x20f)](),_0x27e8b0=this[_0xfe9c33(0x238)]['map'](_0x49e717=>new _0x35c061(_0x49e717,_0x4a82ee,_0x739d6a,_0x2f3ce2));this[_0xfe9c33(0x39c)]=_0x27e8b0;}['_removeCollabCursors'](){const _0x592179=_0x143723;this['_cursorShapes'][_0x592179(0x363)](_0x1e2a26=>_0x1e2a26[_0x592179(0x3b4)]()),this[_0x592179(0x39c)]=[];}[_0x143723(0x1d4)](){const _0x22303=_0x143723,_0x17c78a=[_0x97512c[_0x22303(0x2e0)]['id']];this[_0x22303(0x194)](this[_0x22303(0x23b)]['onCommandExecuted'](_0x423aa3=>{const _0x58982b=_0x22303;_0x17c78a[_0x58982b(0x41b)](_0x423aa3['id'])&&_0x423aa3['params']['unitId']===this[_0x58982b(0x3df)][_0x58982b(0x1ff)]&&this[_0x58982b(0x34b)]();}));}['_initResize'](){const _0x37386e=_0x143723;this['disposeWithMe'](_0x112c8e[_0x37386e(0x1f3)](this[_0x37386e(0x3df)][_0x37386e(0x1fd)][_0x37386e(0x2c5)])['pipe'](_0x213256[_0x37386e(0x3ee)](_0x17d534=>_0x17d534[_0x37386e(0x288)]===_0x132069[_0x37386e(0x261)][_0x37386e(0x2b5)]),_0x213256[_0x37386e(0x3d5)](0x10))[_0x37386e(0x3e7)](()=>{const _0x2b5a09=_0x37386e;this[_0x2b5a09(0x34b)]();}));}};_0x27f659=_0x338788([_0x264c7a(0x1,_0x112c8e[_0x143723(0x33f)](_0x4723ff[_0x143723(0x27c)])),_0x264c7a(0x2,_0x112c8e[_0x143723(0x33f)](_0x599949)),_0x264c7a(0x3,_0x112c8e[_0x143723(0x348)]),_0x264c7a(0x4,_0x112c8e['Inject'](_0x112c8e[_0x143723(0x39f)]))],_0x27f659);const _0x21b78b=0x1,_0x825c9d=1.5;class _0x484a96 extends _0x132069[_0x143723(0x294)]{constructor(_0xdf6066,_0x3eac7e){const _0x14f25f=_0x143723;super(_0xdf6066,_0x3eac7e),_0x433eb9(this,_0x14f25f(0x30b)),_0x433eb9(this,'_hovered',!0x1),_0x433eb9(this,_0x14f25f(0x1d8)),_0x433eb9(this,_0x14f25f(0x1e7),''),_0x433eb9(this,_0x14f25f(0x2b4),'top'),_0x433eb9(this,'_backgroundColor'),(_0x3eac7e&&this[_0x14f25f(0x3b6)](_0x3eac7e),this[_0x14f25f(0x1f9)]['subscribeEvent'](()=>this[_0x14f25f(0x3b6)]({'hovered':!0x0})),this['onPointerLeave$'][_0x14f25f(0x42a)](()=>this[_0x14f25f(0x3b6)]({'hovered':!0x1})));}[_0x143723(0x3b6)](_0x49767e){const _0x56ee5e=_0x143723;var _0x233ced,_0x587085,_0x590d0d,_0x5024bf,_0x4055c4,_0x16c509;this[_0x56ee5e(0x30b)]=(_0x233ced=_0x49767e['color'])!=null?_0x233ced:this[_0x56ee5e(0x30b)],this[_0x56ee5e(0x3d6)]=(_0x587085=_0x49767e['hovered'])!=null?_0x587085:this[_0x56ee5e(0x3d6)],this[_0x56ee5e(0x1d8)]=(_0x590d0d=_0x49767e[_0x56ee5e(0x202)])!=null?_0x590d0d:this[_0x56ee5e(0x1d8)],this['_name']=(_0x5024bf=_0x49767e[_0x56ee5e(0x267)])!=null?_0x5024bf:this[_0x56ee5e(0x1e7)],this[_0x56ee5e(0x2b4)]=(_0x4055c4=_0x49767e['labelPosition'])!=null?_0x4055c4:this[_0x56ee5e(0x2b4)],this[_0x56ee5e(0x3e3)]=(_0x16c509=_0x49767e[_0x56ee5e(0x330)])!=null?_0x16c509:this[_0x56ee5e(0x3e3)],this[_0x56ee5e(0x2a3)]({'width':_0x49767e[_0x56ee5e(0x257)],'height':_0x49767e[_0x56ee5e(0x416)]});}[_0x143723(0x3f3)](_0x202e9e){const _0x5e1a06=_0x143723,{row:_0x4be96a,column:_0x4e4d68}=_0x202e9e;if(_0x4be96a>=this['_range'][_0x5e1a06(0x281)]&&_0x4be96a<=this[_0x5e1a06(0x1d8)][_0x5e1a06(0x196)]&&_0x4e4d68>=this[_0x5e1a06(0x1d8)][_0x5e1a06(0x28a)]&&_0x4e4d68<=this[_0x5e1a06(0x1d8)][_0x5e1a06(0x214)]){this[_0x5e1a06(0x3b6)]({'hovered':!0x0});return;}this[_0x5e1a06(0x3b6)]({'hovered':!0x1});}[_0x143723(0x427)](_0x2806b2){return!0x1;}[_0x143723(0x2dd)](_0x453326){const _0x2e1152=_0x143723;_0x132069[_0x2e1152(0x341)][_0x2e1152(0x2f5)](_0x453326,{'width':this['width'],'height':this['height'],'strokeWidth':_0x825c9d,'stroke':this[_0x2e1152(0x30b)],'evented':!0x1,'fill':this[_0x2e1152(0x3e3)]}),this[_0x2e1152(0x3d6)]&&(_0x453326['save'](),_0x453326[_0x2e1152(0x2a9)](0x1,0x0,0x0,0x1,this[_0x2e1152(0x257)],this[_0x2e1152(0x2b4)]===_0x2e1152(0x263)?0x0:-0x14),_0x5b9021[_0x2e1152(0x2f5)](_0x453326,{'text':this[_0x2e1152(0x1e7)],'color':this['_color']}),_0x453326[_0x2e1152(0x42e)]());}}var _0xc10b72=Object[_0x143723(0x3da)],_0x141d63=(_0x586ed8,_0x225eff,_0x3c40d8,_0x1b17b3)=>{for(var _0x3b049b=_0x1b17b3>0x1?void 0x0:_0x1b17b3?_0xc10b72(_0x225eff,_0x3c40d8):_0x225eff,_0xb93a75=_0x586ed8['length']-0x1,_0x304b39;_0xb93a75>=0x0;_0xb93a75--)(_0x304b39=_0x586ed8[_0xb93a75])&&(_0x3b049b=_0x304b39(_0x3b049b)||_0x3b049b);return _0x3b049b;},_0x28b3d0=(_0x47da13,_0x5bcc01)=>(_0x50a38b,_0x580eb0)=>_0x5bcc01(_0x50a38b,_0x580eb0,_0x47da13);const _0x3c060b=0x1389;let _0x409b6a=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0x13dcf1,_0x2824a7,_0x477c1f,_0x4a510e){const _0x34ccc6=_0x143723;super(),_0x433eb9(this,_0x34ccc6(0x238),new Set()),_0x433eb9(this,'_lastPointer',null),(this[_0x34ccc6(0x3df)]=_0x13dcf1,this[_0x34ccc6(0x21a)]=_0x2824a7,this[_0x34ccc6(0x3a1)]=_0x477c1f,this['_themeService']=_0x4a510e,this[_0x34ccc6(0x1a8)]());}[_0x143723(0x1a8)](){const _0x356745=_0x143723;this[_0x356745(0x21a)][_0x356745(0x3cd)][_0x356745(0x2d0)](_0x213256['takeUntil'](this[_0x356745(0x41a)]),_0x213256[_0x356745(0x32c)](_0x539aff=>{const _0x1dae7f=_0x356745;if(_0x539aff){const _0x378a4d=_0x539aff[_0x1dae7f(0x39e)];return _0x265051[_0x1dae7f(0x271)](this[_0x1dae7f(0x3a1)][_0x1dae7f(0x1da)](this[_0x1dae7f(0x3df)][_0x1dae7f(0x1ff)]),this['_themeService'][_0x1dae7f(0x2ff)])[_0x1dae7f(0x2d0)](_0x213256[_0x1dae7f(0x2fb)](([_0x5b9995,_0x41c930])=>{const _0x263a7c=new Map();return _0x5b9995['forEach']((_0x41b5a3,_0x352e9c)=>{const _0x4c39c3=_0x2ab6;if(_0x41b5a3[_0x4c39c3(0x23c)]===_0x378a4d){const _0x6e8552={..._0x41b5a3};_0x6e8552[_0x4c39c3(0x376)]=this[_0x4c39c3(0x2ec)][_0x4c39c3(0x27f)](_0x41b5a3['color']),_0x263a7c[_0x4c39c3(0x327)](_0x352e9c,_0x6e8552);}}),{'skeleton':_0x539aff,'cursors':_0x263a7c};}));}return _0x265051['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x58ca2a,cursors:_0x2e79c3})=>{const _0x1da2d3=_0x356745;this['_removeCollabCursors'](),_0x58ca2a&&this[_0x1da2d3(0x3eb)](_0x58ca2a,_0x2e79c3);}),this['_sheetSkeletonManagerService'][_0x356745(0x3cd)][_0x356745(0x3e7)](_0x445ec4=>{const _0x503415=_0x356745;if(_0x445ec4==null)return;const {skeleton:_0x30b058}=_0x445ec4,{scene:_0xb52bd0}=this[_0x503415(0x3df)];_0xb52bd0[_0x503415(0x3de)][_0x503415(0x42a)](_0x112c8e[_0x503415(0x3f6)](_0x5a635c=>{const _0x51ccf1=_0x503415;var _0x1b2cff,_0x1cb0da;const {offsetX:_0x53e033,offsetY:_0x40ecbb}=_0x5a635c,{x:_0x39045d,y:_0x558c6d}=_0xb52bd0[_0x51ccf1(0x2bf)](_0x132069['Vector2'][_0x51ccf1(0x1b2)]([_0x53e033,_0x40ecbb])),{scaleX:_0x5ef6ff,scaleY:_0x1d4962}=_0xb52bd0[_0x51ccf1(0x1ec)](),_0x59790e=_0xb52bd0[_0x51ccf1(0x420)](_0x132069[_0x51ccf1(0x213)]['VIEW_MAIN']),_0x49b140=_0xb52bd0['getVpScrollXYInfoByPosToVp'](_0x132069[_0x51ccf1(0x39b)][_0x51ccf1(0x1b2)]([_0x39045d,_0x558c6d]),_0x59790e),_0xc44941=_0x30b058[_0x51ccf1(0x318)](_0x53e033,_0x40ecbb,_0x5ef6ff,_0x1d4962,_0x49b140);((_0x1b2cff=this[_0x51ccf1(0x24b)])==null?void 0x0:_0x1b2cff[_0x51ccf1(0x389)])===_0xc44941[_0x51ccf1(0x389)]&&((_0x1cb0da=this['_lastPointer'])==null?void 0x0:_0x1cb0da[_0x51ccf1(0x2f4)])===_0xc44941['row']||this[_0x51ccf1(0x238)][_0x51ccf1(0x363)](_0x10417b=>{const _0x2d9bb6=_0x51ccf1;_0x10417b[_0x2d9bb6(0x3f3)](_0xc44941);});},0x64));});}[_0x143723(0x3eb)](_0x3f22b6,_0x4b0f0e){const _0x1346fa=_0x143723;var _0x3a3923;const _0x33417c=(_0x3a3923=this[_0x1346fa(0x21a)][_0x1346fa(0x1ef)]())==null?void 0x0:_0x3a3923[_0x1346fa(0x34f)];if(!_0x33417c)return;const _0x279533=this[_0x1346fa(0x240)]();if(!_0x279533)return;this['_cursors'][_0x1346fa(0x363)](_0x8ae790=>{_0x8ae790['makeDirty']();});const {scene:_0xd603c7}=_0x279533,_0x3b2633=_0x2b18f8(Array[_0x1346fa(0x253)](_0x4b0f0e[_0x1346fa(0x270)]()))['map'](_0x3b1eba=>{const _0x12fdc1=_0x1346fa,{color:_0x59cd53,range:_0x42c799,name:_0x16f46f,selection:_0x2538cb,sheetID:_0x5114ca}=_0x3b1eba,{startColumn:_0x1ca9d4,startRow:_0x296210,endColumn:_0xec012d,endRow:_0x29ad9d}=_0x42c799,_0x40fb02=_0x486af5['getCoordByCell'](_0x296210,_0x1ca9d4,_0xd603c7,_0x33417c),_0x48e1a5=_0x486af5[_0x12fdc1(0x391)](_0x29ad9d,_0xec012d,_0xd603c7,_0x33417c),{columnHeaderHeightAndMarginTop:_0x18424c}=_0x33417c,{startX:_0x3aac56,startY:_0x2e4c10}=_0x40fb02,{endX:_0x1bf208,endY:_0x14c609}=_0x48e1a5,_0x38f8a1=_0x1bf208-_0x3aac56,_0x4f40c9=_0x14c609-_0x2e4c10,_0x120e6a={'labelPosition':_0x2e4c10-_0x18424c>=_0x3ced61?_0x12fdc1(0x371):'bottom','sheetID':_0x5114ca,'range':_0x42c799,'color':_0x59cd53,'name':_0x16f46f,'selection':_0x2538cb,'left':_0x3aac56,'top':_0x2e4c10,'width':_0x38f8a1,'height':_0x4f40c9,'evented':!0x1,'zIndex':_0x3c060b};return new _0x484a96(_0x16f46f,_0x120e6a);});_0xd603c7[_0x1346fa(0x335)](_0x3b2633,_0x21b78b),this['_cursors']=new Set(_0x3b2633);}[_0x143723(0x3d8)](){const _0x3c3136=_0x143723;var _0x247146;(_0x247146=this[_0x3c3136(0x238)])==null||_0x247146[_0x3c3136(0x363)](_0x3aa577=>_0x3aa577[_0x3c3136(0x3b4)]());}[_0x143723(0x240)](){const _0x371f3d=_0x143723;return _0x486af5[_0x371f3d(0x252)](this['_context'][_0x371f3d(0x316)],this[_0x371f3d(0x3df)]);}};_0x409b6a=_0x141d63([_0x28b3d0(0x1,_0x112c8e[_0x143723(0x33f)](_0x486af5[_0x143723(0x2d2)])),_0x28b3d0(0x2,_0x112c8e['Inject'](_0x599949)),_0x28b3d0(0x3,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x39f)]))],_0x409b6a);function _0x2b18f8(_0x12463f){const _0x23646a=_0x143723,_0x4f2c97=new Map();return _0x12463f[_0x23646a(0x363)](_0x42f0d4=>{const _0x5ddaf4=_0x23646a;if(_0x4f2c97[_0x5ddaf4(0x2ac)](_0x42f0d4[_0x5ddaf4(0x24d)])){const _0x50f211=_0x4f2c97[_0x5ddaf4(0x292)](_0x42f0d4[_0x5ddaf4(0x24d)]);_0x50f211[_0x5ddaf4(0x267)]+=',\x20'+_0x42f0d4['name'];}else _0x4f2c97[_0x5ddaf4(0x327)](_0x42f0d4[_0x5ddaf4(0x24d)],_0x42f0d4);}),Array[_0x23646a(0x253)](_0x4f2c97[_0x23646a(0x270)]());}var _0x4668d3=function(){const _0x45650f=_0x143723;return _0x4668d3=Object[_0x45650f(0x208)]||function(_0x336b09){const _0x5ab94d=_0x45650f;for(var _0x47dc72,_0x376d98=0x1,_0x29be64=arguments[_0x5ab94d(0x370)];_0x376d98<_0x29be64;_0x376d98++){_0x47dc72=arguments[_0x376d98];for(var _0x8120bf in _0x47dc72)Object[_0x5ab94d(0x329)][_0x5ab94d(0x2ab)]['call'](_0x47dc72,_0x8120bf)&&(_0x336b09[_0x8120bf]=_0x47dc72[_0x8120bf]);}return _0x336b09;},_0x4668d3[_0x45650f(0x360)](this,arguments);},_0x524820=function(_0x240807,_0x426634){const _0x26276a=_0x143723;var _0x3da2af={};for(var _0x3cc6fc in _0x240807)Object[_0x26276a(0x329)][_0x26276a(0x2ab)][_0x26276a(0x405)](_0x240807,_0x3cc6fc)&&_0x426634[_0x26276a(0x321)](_0x3cc6fc)<0x0&&(_0x3da2af[_0x3cc6fc]=_0x240807[_0x3cc6fc]);if(_0x240807!=null&&typeof Object[_0x26276a(0x247)]==_0x26276a(0x400)){for(var _0x3ea17b=0x0,_0x3cc6fc=Object[_0x26276a(0x247)](_0x240807);_0x3ea17b<_0x3cc6fc[_0x26276a(0x370)];_0x3ea17b++)_0x426634[_0x26276a(0x321)](_0x3cc6fc[_0x3ea17b])<0x0&&Object[_0x26276a(0x329)][_0x26276a(0x35e)][_0x26276a(0x405)](_0x240807,_0x3cc6fc[_0x3ea17b])&&(_0x3da2af[_0x3cc6fc[_0x3ea17b]]=_0x240807[_0x3cc6fc[_0x3ea17b]]);}return _0x3da2af;},_0x1b0948=_0x49fe71['forwardRef'](function(_0x38a71e,_0x10a991){const _0x20b802=_0x143723;var _0x3e2036=_0x38a71e[_0x20b802(0x313)],_0x19e169=_0x38a71e['id'],_0x2907f1=_0x38a71e[_0x20b802(0x248)],_0x5950e1=_0x38a71e['extend'],_0x568cf9=_0x524820(_0x38a71e,['icon','id',_0x20b802(0x248),_0x20b802(0x269)]),_0x1e61e3='univerjs-icon\x20univerjs-icon-'[_0x20b802(0x21f)](_0x19e169,'\x20')['concat'](_0x2907f1||'')[_0x20b802(0x3f1)](),_0x3f51dc=_0x49fe71[_0x20b802(0x303)]('_'[_0x20b802(0x21f)](_0x3ec13a()));return _0x53582e(_0x3e2036,''['concat'](_0x19e169),{'defIds':_0x3e2036[_0x20b802(0x239)],'idSuffix':_0x3f51dc[_0x20b802(0x262)]},_0x4668d3({'ref':_0x10a991,'className':_0x1e61e3},_0x568cf9),_0x5950e1);});function _0x53582e(_0x592f6b,_0x49b4d5,_0x37a698,_0x45b634,_0x4b3cb5){const _0x3b99e2=_0x143723;return _0x49fe71[_0x3b99e2(0x38b)](_0x592f6b[_0x3b99e2(0x217)],_0x4668d3(_0x4668d3({'key':_0x49b4d5},_0x548244(_0x592f6b,_0x37a698,_0x4b3cb5)),_0x45b634),(_0x55ec91(_0x592f6b,_0x37a698)[_0x3b99e2(0x31f)]||[])[_0x3b99e2(0x2fb)](function(_0x2d3201,_0x14dd50){const _0x42ba65=_0x3b99e2;return _0x53582e(_0x2d3201,''['concat'](_0x49b4d5,'-')[_0x42ba65(0x21f)](_0x592f6b[_0x42ba65(0x217)],'-')['concat'](_0x14dd50),_0x37a698,void 0x0,_0x4b3cb5);}));}function _0x548244(_0x20c8bf,_0x1185dd,_0x4d007e){const _0x2c1669=_0x143723;var _0x45d659=_0x4668d3({},_0x20c8bf[_0x2c1669(0x242)]);_0x4d007e!=null&&_0x4d007e[_0x2c1669(0x2b3)]&&_0x45d659[_0x2c1669(0x20b)]===_0x2c1669(0x2b3)&&(_0x45d659['fill']=_0x4d007e['colorChannel1']),_0x20c8bf[_0x2c1669(0x217)]===_0x2c1669(0x3db)&&_0x45d659['id']&&(_0x45d659['id']=_0x45d659['id']+_0x1185dd['idSuffix']),Object['entries'](_0x45d659)[_0x2c1669(0x363)](function(_0x177486){const _0x4e3f74=_0x2c1669;var _0x25f034=_0x177486[0x0],_0x19a9bf=_0x177486[0x1];_0x25f034===_0x4e3f74(0x3db)&&typeof _0x19a9bf==_0x4e3f74(0x205)&&(_0x45d659[_0x25f034]=_0x19a9bf[_0x4e3f74(0x237)](/url\(#(.*)\)/,_0x4e3f74(0x315)[_0x4e3f74(0x21f)](_0x1185dd[_0x4e3f74(0x1b1)],')')));});var _0x8725ab=_0x1185dd[_0x2c1669(0x239)];return!_0x8725ab||_0x8725ab[_0x2c1669(0x370)]===0x0||(_0x20c8bf[_0x2c1669(0x217)]===_0x2c1669(0x3a0)&&_0x45d659[_0x2c1669(0x417)]&&(_0x45d659[_0x2c1669(0x417)]=_0x45d659[_0x2c1669(0x417)]+_0x1185dd[_0x2c1669(0x1b1)]),Object[_0x2c1669(0x2df)](_0x45d659)[_0x2c1669(0x363)](function(_0x2a5d2f){const _0x5e6f59=_0x2c1669;var _0x474eaf=_0x2a5d2f[0x0],_0x2d3ab4=_0x2a5d2f[0x1];typeof _0x2d3ab4==_0x5e6f59(0x205)&&(_0x45d659[_0x474eaf]=_0x2d3ab4['replace'](/url\(#(.*)\)/,_0x5e6f59(0x315)[_0x5e6f59(0x21f)](_0x1185dd[_0x5e6f59(0x1b1)],')')));})),_0x45d659;}function _0x55ec91(_0x3d7b78,_0x69896d){const _0x21289=_0x143723;var _0x414b57,_0x287978=_0x69896d[_0x21289(0x239)];return!_0x287978||_0x287978[_0x21289(0x370)]===0x0?_0x3d7b78:_0x3d7b78[_0x21289(0x217)]===_0x21289(0x2b9)&&(!((_0x414b57=_0x3d7b78[_0x21289(0x31f)])===null||_0x414b57===void 0x0)&&_0x414b57[_0x21289(0x370)])?_0x4668d3(_0x4668d3({},_0x3d7b78),{'children':_0x3d7b78[_0x21289(0x31f)][_0x21289(0x2fb)](function(_0x19fb35){const _0x23b602=_0x21289;return typeof _0x19fb35[_0x23b602(0x242)]['id']==_0x23b602(0x205)&&_0x287978&&_0x287978[_0x23b602(0x321)](_0x19fb35['attrs']['id'])>-0x1?_0x4668d3(_0x4668d3({},_0x19fb35),{'attrs':_0x4668d3(_0x4668d3({},_0x19fb35[_0x23b602(0x242)]),{'id':_0x19fb35[_0x23b602(0x242)]['id']+_0x69896d['idSuffix']})}):_0x19fb35;})}):_0x3d7b78;}function _0x3ec13a(){const _0x185e33=_0x143723;return Math['random']()[_0x185e33(0x2da)](0x24)[_0x185e33(0x2a6)](0x2,0x8);}_0x1b0948[_0x143723(0x3ed)]='UniverIcon';var _0x3e7d47={'tag':_0x143723(0x1f0),'attrs':{'fill':_0x143723(0x30c),'viewBox':_0x143723(0x309),'width':_0x143723(0x190),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x143723(0x1a9)},'children':[{'tag':_0x143723(0x23a),'attrs':{'stroke':_0x143723(0x3b8),'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':_0x143723(0x2ae),'strokeLinejoin':_0x143723(0x2ae),'strokeWidth':1.2}}]},{'tag':_0x143723(0x2b9),'attrs':{},'children':[{'tag':_0x143723(0x362),'attrs':{'id':_0x143723(0x3c1)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x143723(0x38c)}}]}]}],'defIds':[_0x143723(0x3c1)]},_0x434795=_0x49fe71['forwardRef'](function(_0x2b2441,_0x526e23){return _0x49fe71['createElement'](_0x1b0948,Object['assign']({},_0x2b2441,{'id':'off-line-single','ref':_0x526e23,'icon':_0x3e7d47}));});_0x434795['displayName']=_0x143723(0x1f5);var _0x20163f={'tag':_0x143723(0x1f0),'attrs':{'fill':'none','viewBox':_0x143723(0x336),'width':_0x143723(0x190),'height':_0x143723(0x190)},'children':[{'tag':'g','attrs':{'clipPath':_0x143723(0x19a)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x143723(0x3ae),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x143723(0x2b9),'attrs':{},'children':[{'tag':_0x143723(0x362),'attrs':{'id':_0x143723(0x325)},'children':[{'tag':_0x143723(0x23a),'attrs':{'fill':_0x143723(0x394),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x143723(0x325)]},_0x367f84=_0x49fe71[_0x143723(0x355)](function(_0x375938,_0x126fbf){const _0x4dc5b1=_0x143723;return _0x49fe71[_0x4dc5b1(0x38b)](_0x1b0948,Object[_0x4dc5b1(0x208)]({},_0x375938,{'id':_0x4dc5b1(0x1e5),'ref':_0x126fbf,'icon':_0x20163f}));});_0x367f84[_0x143723(0x3ed)]=_0x143723(0x3c2);function _0xf9394b(_0x5e8203){const _0x45bf24=_0x143723;switch(_0x5e8203){case _0x2137d8['CollaborationStatus'][_0x45bf24(0x42c)]:return _0x45bf24(0x368);case _0x2137d8[_0x45bf24(0x403)][_0x45bf24(0x287)]:return _0x45bf24(0x189);case _0x2137d8[_0x45bf24(0x403)][_0x45bf24(0x29c)]:return'collabStatus.fetchMiss';case _0x2137d8[_0x45bf24(0x403)][_0x45bf24(0x22f)]:return _0x45bf24(0x21b);case _0x2137d8[_0x45bf24(0x403)][_0x45bf24(0x23d)]:case _0x2137d8[_0x45bf24(0x403)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x2137d8[_0x45bf24(0x403)]['SYNCED']:case _0x2137d8['CollaborationStatus'][_0x45bf24(0x1dc)]:return _0x45bf24(0x2db);}}function _0x25d1fc(_0x238cc9){const _0x46ea7a=_0x143723,{status$:_0x1f40ae}=_0x238cc9,_0x2274f3=_0x4d7442[_0x46ea7a(0x322)](_0x1f40ae,_0x2137d8[_0x46ea7a(0x403)][_0x46ea7a(0x22f)]),_0x32b8b8=_0x4d7442['useDependency'](_0x112c8e[_0x46ea7a(0x277)]),_0x1a3ae=_0x4d7442[_0x46ea7a(0x2cf)](_0x2137d8[_0x46ea7a(0x3a9)]),_0x259d2f=_0x2274f3!==_0x2137d8['CollaborationStatus']['OFFLINE'],_0x423aea=_0x32b8b8['t'](_0xf9394b(_0x2274f3)),_0x15f195=_0x259d2f?_0xc87f89[_0x46ea7a(0x3e1)](_0x367f84,{}):_0xc87f89[_0x46ea7a(0x3e1)](_0x434795,{}),_0x49d14e=_0x49fe71['useCallback'](()=>{const _0x55080d=_0x46ea7a;_0x259d2f||_0x1a3ae[_0x55080d(0x1c8)]();},[_0x259d2f,_0x1a3ae]);function _0x757343(){const _0x556d1e=_0x46ea7a;return _0xc87f89[_0x556d1e(0x3f5)](_0x556d1e(0x1b8),{'className':_0x556d1e(0x27a),'onClick':_0x49d14e,'children':[_0xc87f89[_0x556d1e(0x3e1)]('div',{'className':_0x37921f[_0x556d1e(0x3ff)](_0x556d1e(0x3c3),{'univer-text-green-500':_0x259d2f,'univer-text-red-500':!_0x259d2f}),'children':_0x15f195}),_0xc87f89[_0x556d1e(0x3e1)]('div',{'className':_0x556d1e(0x308),'children':_0x423aea})]});}return _0x259d2f?_0x757343():_0xc87f89['jsx'](_0x37921f[_0x46ea7a(0x1af)],{'title':_0x32b8b8['t'](_0x46ea7a(0x305)),'children':_0x757343()});}var _0x3bd4f3=Object[_0x143723(0x3da)],_0x69444a=(_0x3ddbd3,_0x4ec3a3,_0x512ac2,_0x556257)=>{const _0x4c71b7=_0x143723;for(var _0x2b7093=_0x556257>0x1?void 0x0:_0x556257?_0x3bd4f3(_0x4ec3a3,_0x512ac2):_0x4ec3a3,_0x15ef59=_0x3ddbd3[_0x4c71b7(0x370)]-0x1,_0x24dd99;_0x15ef59>=0x0;_0x15ef59--)(_0x24dd99=_0x3ddbd3[_0x15ef59])&&(_0x2b7093=_0x24dd99(_0x2b7093)||_0x2b7093);return _0x2b7093;},_0x24d633=(_0x514a94,_0x5e18fe)=>(_0x3c48e3,_0x32a12c)=>_0x5e18fe(_0x3c48e3,_0x32a12c,_0x514a94);_0x39c320[_0x143723(0x225)]=class extends _0x112c8e[_0x143723(0x357)]{constructor(_0x35ae37,_0x4fb96f,_0x2d4a71,_0x32dd24){const _0x4427fd=_0x143723;super(),_0x433eb9(this,'_status$',new _0x265051[(_0x4427fd(0x255))](_0x2137d8[_0x4427fd(0x403)][_0x4427fd(0x22f)])),(this['_univerInstanceService']=_0x35ae37,this[_0x4427fd(0x22d)]=_0x4fb96f,this[_0x4427fd(0x254)]=_0x2d4a71,this[_0x4427fd(0x32f)]=_0x32dd24,this[_0x4427fd(0x383)](),this['_initStatusListener']());}[_0x143723(0x40e)](){const _0xb643da=_0x143723;this[_0xb643da(0x194)](this[_0xb643da(0x22a)][_0xb643da(0x3a3)]['pipe'](_0x265051[_0xb643da(0x32c)](()=>{const _0x549368=_0xb643da,_0x458a1d=this[_0x549368(0x22a)][_0x549368(0x2f0)]();return _0x458a1d?this[_0x549368(0x254)][_0x549368(0x19c)](_0x458a1d['getUnitId']()):_0x265051['of'](null);}),_0x265051[_0xb643da(0x32c)](_0x2cc63e=>_0x2cc63e?_0x2cc63e['status$']:_0x265051['of'](_0x2137d8[_0xb643da(0x403)][_0xb643da(0x22f)])))[_0xb643da(0x3e7)](_0x405f55=>{const _0x23d80d=_0xb643da;this[_0x23d80d(0x393)]['next'](_0x405f55);}));}[_0x143723(0x383)](){const _0x2c1f20=_0x143723;this['disposeWithMe'](this[_0x2c1f20(0x32f)][_0x2c1f20(0x231)](_0x4d7442[_0x2c1f20(0x222)]['HEADER_MENU'],()=>_0x4d7442[_0x2c1f20(0x19d)](_0x15749d({'status$':this[_0x2c1f20(0x393)][_0x2c1f20(0x251)]()}),this['_injector'])));}},_0x39c320[_0x143723(0x225)]=_0x69444a([_0x24d633(0x0,_0x112c8e[_0x143723(0x1f7)]),_0x24d633(0x1,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x24d633(0x2,_0x112c8e[_0x143723(0x33f)](_0x2137d8[_0x143723(0x290)])),_0x24d633(0x3,_0x4d7442[_0x143723(0x3fd)])],_0x39c320['DesktopCollaborationStatusDisplayController']);function _0x15749d(_0x4e822c){const {status$:_0x4378d3}=_0x4e822c;return function(){const _0x2f8bba=_0x2ab6;return _0xc87f89[_0x2f8bba(0x3e1)](_0x25d1fc,{'status$':_0x4378d3});};}var _0x903163=Object[_0x143723(0x3da)],_0x16a953=(_0x30292a,_0x568a72,_0x509d15,_0x354f47)=>{const _0x5133b3=_0x143723;for(var _0x43db1d=_0x354f47>0x1?void 0x0:_0x354f47?_0x903163(_0x568a72,_0x509d15):_0x568a72,_0xcf4ebc=_0x30292a[_0x5133b3(0x370)]-0x1,_0x3a1400;_0xcf4ebc>=0x0;_0xcf4ebc--)(_0x3a1400=_0x30292a[_0xcf4ebc])&&(_0x43db1d=_0x3a1400(_0x43db1d)||_0x43db1d);return _0x43db1d;},_0xac5700=(_0x25348a,_0x190a3c)=>(_0x31a791,_0x31833a)=>_0x190a3c(_0x31a791,_0x31833a,_0x25348a);let _0x344a9c=class extends _0x112c8e[_0x143723(0x357)]{constructor(_0x6eedbe,_0xe740f6,_0x161a39,_0x3a6116,_0x3b8f96,_0x2b39c1){const _0x553196=_0x143723;super(),this['_beforeCloseService']=_0x6eedbe,this[_0x553196(0x20c)]=_0xe740f6,this[_0x553196(0x3e9)]=_0x161a39,this[_0x553196(0x350)]=_0x3a6116,this[_0x553196(0x1e1)]=_0x3b8f96,this[_0x553196(0x2c9)]=_0x2b39c1,this['_setupBeforeClosingHandler'](),this[_0x553196(0x3ea)]();}[_0x143723(0x2b7)](){const _0x105e6f=_0x143723;this[_0x105e6f(0x194)](this[_0x105e6f(0x3a6)][_0x105e6f(0x241)](()=>{const _0x386ccf=_0x105e6f;if(this[_0x386ccf(0x20c)][_0x386ccf(0x338)][_0x386ccf(0x24c)])return this[_0x386ccf(0x2c9)]['t'](_0x386ccf(0x425));}));}[_0x143723(0x3ea)](){const _0x1abff6=_0x143723;this[_0x1abff6(0x194)](this[_0x1abff6(0x3e9)][_0x1abff6(0x1ab)][_0x1abff6(0x3e7)](_0x3e9333=>{const _0x1fed4d=_0x1abff6;_0x3e9333['id']===_0x2137d8[_0x1fed4d(0x24e)][_0x1fed4d(0x26a)]&&this[_0x1fed4d(0x350)][_0x1fed4d(0x2ea)]({'type':_0x37921f[_0x1fed4d(0x2a1)][_0x1fed4d(0x212)],'content':this[_0x1fed4d(0x2c9)]['t'](_0x1fed4d(0x31d))}),_0x3e9333['id']===_0x2137d8['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x1fed4d(0x350)]['show']({'type':_0x37921f['MessageType']['Warning'],'content':this[_0x1fed4d(0x2c9)]['t'](_0x1fed4d(0x3af))}),_0x3e9333['id']===_0x2137d8[_0x1fed4d(0x24e)][_0x1fed4d(0x384)]&&this['_notificationService'][_0x1fed4d(0x2ea)]({'title':this[_0x1fed4d(0x2c9)]['t'](_0x1fed4d(0x3c8)),'content':this[_0x1fed4d(0x2c9)]['t']('permission.content'),'type':_0x1fed4d(0x3aa),'duration':0x0}),_0x3e9333['id']===_0x2137d8[_0x1fed4d(0x24e)][_0x1fed4d(0x287)]&&this[_0x1fed4d(0x350)][_0x1fed4d(0x2ea)]({'type':_0x37921f[_0x1fed4d(0x2a1)][_0x1fed4d(0x404)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x3e9333['data']+')'}),_0x3e9333['id']===_0x2137d8['CollaborationUIEventId'][_0x1fed4d(0x1a1)]&&this[_0x1fed4d(0x350)][_0x1fed4d(0x2ea)]({'type':_0x37921f[_0x1fed4d(0x2a1)][_0x1fed4d(0x212)],'content':this[_0x1fed4d(0x2c9)]['t'](_0x3e9333[_0x1fed4d(0x301)]||'')}),_0x3e9333['id']===_0x2137d8[_0x1fed4d(0x24e)][_0x1fed4d(0x23f)]&&this[_0x1fed4d(0x350)]['show']({'type':_0x37921f[_0x1fed4d(0x2a1)][_0x1fed4d(0x212)],'content':this['_localeService']['t'](_0x1fed4d(0x30e))}),_0x3e9333['id']===_0x2137d8['CollaborationUIEventId'][_0x1fed4d(0x1b9)]&&this[_0x1fed4d(0x350)][_0x1fed4d(0x2ea)]({'type':_0x37921f[_0x1fed4d(0x2a1)]['Error'],'content':this[_0x1fed4d(0x2c9)]['t'](_0x1fed4d(0x1ee))}),_0x3e9333['id']===_0x2137d8['CollaborationUIEventId'][_0x1fed4d(0x3f0)]&&this['_messageService'][_0x1fed4d(0x2ea)]({'type':_0x37921f[_0x1fed4d(0x2a1)][_0x1fed4d(0x404)],'content':this[_0x1fed4d(0x2c9)]['t']('session.collaboration-timeout')});}));}};_0x344a9c=_0x16a953([_0xac5700(0x0,_0x4d7442[_0x143723(0x3ce)]),_0xac5700(0x1,_0x2137d8[_0x143723(0x2d9)]),_0xac5700(0x2,_0x112c8e[_0x143723(0x33f)](_0x2137d8[_0x143723(0x2af)])),_0xac5700(0x3,_0x4d7442[_0x143723(0x3b2)]),_0xac5700(0x4,_0x4d7442[_0x143723(0x295)]),_0xac5700(0x5,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x277)]))],_0x344a9c);const _0x2bdf04=_0x143723(0x210),_0x452d0d={},_0x46e173=_0x112c8e[_0x143723(0x1e6)](_0x143723(0x374));var _0x4af6ec=Object[_0x143723(0x3da)],_0x5d07a0=(_0x57915a,_0x598783,_0x57e94e,_0x10f0a5)=>{const _0x46e886=_0x143723;for(var _0x103d19=_0x10f0a5>0x1?void 0x0:_0x10f0a5?_0x4af6ec(_0x598783,_0x57e94e):_0x598783,_0x17fcb0=_0x57915a[_0x46e886(0x370)]-0x1,_0x4d94c4;_0x17fcb0>=0x0;_0x17fcb0--)(_0x4d94c4=_0x57915a[_0x17fcb0])&&(_0x103d19=_0x4d94c4(_0x103d19)||_0x103d19);return _0x103d19;},_0x304c8c=(_0x3b78fb,_0xee66e2)=>(_0x25d79e,_0x10d331)=>_0xee66e2(_0x25d79e,_0x10d331,_0x3b78fb);_0x39c320[_0x143723(0x38e)]=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0x3a82f8,_0x12a178,_0x57b007,_0x15bba7,_0x30931d){const _0x3fe7b3=_0x143723;super(),this[_0x3fe7b3(0x307)]=_0x3a82f8,this[_0x3fe7b3(0x3ba)]=_0x12a178,this[_0x3fe7b3(0x23b)]=_0x57b007,this['_dataLoaderService']=_0x15bba7,_0x30931d?_0x30931d==null||_0x30931d['whenReady']()[_0x3fe7b3(0x227)](()=>this['_init']()):(this[_0x3fe7b3(0x3ba)][_0x3fe7b3(0x29b)](_0x3fe7b3(0x3fe),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3fe7b3(0x1a8)]());}async['_init'](){const _0x46bcf1=_0x143723,_0x5f2f55=this[_0x46bcf1(0x307)]['getParam']('unit'),_0x4b0be0=this[_0x46bcf1(0x307)][_0x46bcf1(0x387)](_0x46bcf1(0x288)),_0x9b42cd=this[_0x46bcf1(0x307)][_0x46bcf1(0x387)](_0x46bcf1(0x38f));if(!_0x5f2f55||!_0x4b0be0){this[_0x46bcf1(0x3ba)][_0x46bcf1(0x29b)](_0x46bcf1(0x3fe),_0x46bcf1(0x2c3));return;}const _0x48afc9=await this[_0x46bcf1(0x285)][_0x46bcf1(0x1db)](_0x5f2f55,Number(_0x4b0be0),_0x9b42cd);_0x48afc9&&_0x48afc9 instanceof _0x112c8e[_0x46bcf1(0x388)]&&this[_0x46bcf1(0x3e0)](_0x48afc9);}async[_0x143723(0x3e0)](_0x3374cf){const _0x945e8f=_0x143723;await this[_0x945e8f(0x226)](_0x3374cf),_0x3374cf['activeSheet$'][_0x945e8f(0x2d0)](_0x265051[_0x945e8f(0x319)](this[_0x945e8f(0x41a)]))['subscribe'](_0x1b5656=>{const _0x3bf6c6=_0x945e8f;_0x1b5656&&this[_0x3bf6c6(0x1f4)](_0x1b5656);}),this[_0x945e8f(0x307)]['urlChange$'][_0x945e8f(0x2d0)](_0x265051['takeUntil'](this['dispose$']))[_0x945e8f(0x3e7)](()=>this[_0x945e8f(0x226)](_0x3374cf));}[_0x143723(0x1f4)](_0x26b4ba,_0x25e52b=!0x1){const _0x5bd2f2=_0x143723,_0x2e58ad=this[_0x5bd2f2(0x307)][_0x5bd2f2(0x387)](_0x5bd2f2(0x38f));_0x26b4ba[_0x5bd2f2(0x232)]()!==_0x2e58ad&&this[_0x5bd2f2(0x307)][_0x5bd2f2(0x223)]('subunit',_0x26b4ba[_0x5bd2f2(0x232)](),_0x25e52b);}async[_0x143723(0x226)](_0x359777){const _0x7c78a9=_0x143723;var _0x2c13e0;const _0x50e3fc=this[_0x7c78a9(0x307)][_0x7c78a9(0x387)](_0x7c78a9(0x38f));if(!_0x50e3fc||!_0x359777[_0x7c78a9(0x3d4)](_0x50e3fc)){const _0x22f750=_0x359777['getUnhiddenWorksheets']()[0x0],_0x2f6e93=_0x359777[_0x7c78a9(0x3d4)](_0x22f750);if(!_0x2f6e93)return;this['_updateURLWithCurrentState'](_0x2f6e93,!0x0),await this[_0x7c78a9(0x23b)][_0x7c78a9(0x2a8)](_0x16db28[_0x7c78a9(0x268)]['id'],{'unitId':_0x359777['getUnitId'](),'subUnitId':_0x22f750});return;}((_0x2c13e0=_0x359777[_0x7c78a9(0x1cd)]())==null?void 0x0:_0x2c13e0['getSheetId']())!==_0x50e3fc&&await this[_0x7c78a9(0x23b)]['executeCommand'](_0x16db28['SetWorksheetActivateCommand']['id'],{'unitId':_0x359777['getUnitId'](),'subUnitId':_0x50e3fc});}},_0x39c320['CollaborationDataLoaderController']=_0x5d07a0([_0x304c8c(0x0,_0x46e173),_0x304c8c(0x1,_0x112c8e['ILogService']),_0x304c8c(0x2,_0x112c8e[_0x143723(0x348)]),_0x304c8c(0x3,_0x112c8e[_0x143723(0x33f)](_0x2137d8[_0x143723(0x26b)])),_0x304c8c(0x4,_0x112c8e[_0x143723(0x1cb)](_0x20f840[_0x143723(0x1ba)]))],_0x39c320[_0x143723(0x38e)]);var _0x21fc78=Object[_0x143723(0x3da)],_0x1312c8=(_0x373a5e,_0x19ef4e,_0x6bd619,_0x1dec77)=>{for(var _0x32fe9e=_0x1dec77>0x1?void 0x0:_0x1dec77?_0x21fc78(_0x19ef4e,_0x6bd619):_0x19ef4e,_0x567213=_0x373a5e['length']-0x1,_0x23ff1f;_0x567213>=0x0;_0x567213--)(_0x23ff1f=_0x373a5e[_0x567213])&&(_0x32fe9e=_0x23ff1f(_0x32fe9e)||_0x32fe9e);return _0x32fe9e;},_0x323c74=(_0x238c72,_0xd1dac1)=>(_0x3085b6,_0x3cb479)=>_0xd1dac1(_0x3085b6,_0x3cb479,_0x238c72);let _0x624c66=class{constructor(_0x357810,_0x21b0dc,_0x2cd094){const _0x4139c4=_0x143723;this[_0x4139c4(0x22d)]=_0x357810,this['_transformService']=_0x21b0dc,this[_0x4139c4(0x280)]=_0x2cd094;}[_0x143723(0x1a7)](_0x5eaadd){const _0x5e1cab=_0x143723;this[_0x5e1cab(0x293)](_0x5eaadd),this[_0x5e1cab(0x419)](_0x5eaadd);}[_0x143723(0x234)](_0x267b98){const _0x1945f5=_0x143723,{unitID:_0x51c6ad}=_0x267b98,_0x155d19=this[_0x1945f5(0x280)]['getRenderById'](_0x51c6ad)[_0x1945f5(0x3f7)](_0x97512c['DocIMEInputManagerService']),{redoCache:_0x13d299}=_0x155d19[_0x1945f5(0x42b)]();if(_0x13d299[_0x1945f5(0x370)]===0x0)return _0x267b98;let _0x2d3c14=_0x112c8e[_0x1945f5(0x1bd)][_0x1945f5(0x3d1)](_0x267b98[_0x1945f5(0x331)][0x0]);for(let _0x11bff0=0x0;_0x11bff0<_0x13d299[_0x1945f5(0x370)];_0x11bff0++){const _0x5008ed={'id':'doc.mutation.rich-text-editing','params':{..._0x13d299[_0x11bff0]}},_0x29f234=this[_0x1945f5(0x3a5)]['transformMutation'](_0x2d3c14,_0x5008ed,!0x1);if(_0x3f458b[_0x1945f5(0x2c1)](_0x29f234))throw _0x29f234['error'];_0x2d3c14=_0x29f234[_0x1945f5(0x3c6)];}return{..._0x112c8e[_0x1945f5(0x1bd)]['deepClone'](_0x267b98),'mutations':[_0x2d3c14]};}['_transformUndoRedoStack'](_0x8bcc22){const _0x349d9c=_0x143723,{unitID:_0x2cf0b8}=_0x8bcc22,_0x367f60=this[_0x349d9c(0x280)][_0x349d9c(0x26f)](_0x2cf0b8)[_0x349d9c(0x3f7)](_0x97512c[_0x349d9c(0x264)]),{undoCache:_0xad86b3,redoCache:_0x2c6729}=_0x367f60[_0x349d9c(0x42b)]();if(_0xad86b3['length']===0x0||_0x2c6729[_0x349d9c(0x370)]===0x0)return;const _0x231d65=[],_0x2f059d=[];let _0x5331b0=_0x112c8e[_0x349d9c(0x1bd)][_0x349d9c(0x3d1)](_0x8bcc22[_0x349d9c(0x331)][0x0]),_0x16f9c4=_0x112c8e['Tools'][_0x349d9c(0x3d1)](_0x8bcc22[_0x349d9c(0x331)][0x0]);for(let _0x43f69a=_0xad86b3[_0x349d9c(0x370)]-0x1;_0x43f69a>=0x0;_0x43f69a--){const _0x33c51b={'id':'doc.mutation.rich-text-editing','params':{..._0xad86b3[_0x43f69a]}},_0x5598a4={'id':'doc.mutation.rich-text-editing','params':{..._0x2c6729[_0x43f69a]}},_0x50bd74=this['_transformService']['transformMutation'](_0x5331b0,_0x33c51b,!0x1),_0x4be9f4=this['_transformService'][_0x349d9c(0x191)](_0x16f9c4,_0x5598a4,!0x1);if(_0x3f458b[_0x349d9c(0x2c1)](_0x50bd74))throw _0x50bd74[_0x349d9c(0x3aa)];if(_0x3f458b[_0x349d9c(0x2c1)](_0x4be9f4))throw _0x4be9f4[_0x349d9c(0x3aa)];_0x231d65[_0x349d9c(0x328)](_0x50bd74[_0x349d9c(0x1b5)][_0x349d9c(0x399)]),_0x2f059d['unshift'](_0x4be9f4[_0x349d9c(0x1b5)]['params']),_0x5331b0=_0x50bd74['m1Prime'],_0x16f9c4=_0x4be9f4[_0x349d9c(0x3c6)];}_0x367f60[_0x349d9c(0x35c)]({'undoCache':_0x231d65,'redoCache':_0x2f059d});}['_transformPreviousActiveRange'](_0xffbf37){const _0x18f1f3=_0x143723,{unitID:_0x22afbd}=_0xffbf37,_0x37b7ab=this[_0x18f1f3(0x280)][_0x18f1f3(0x26f)](_0x22afbd)[_0x18f1f3(0x3f7)](_0x97512c[_0x18f1f3(0x264)]),_0x5f2b9d=_0x37b7ab[_0x18f1f3(0x35b)]();if(_0x5f2b9d==null)return;const _0x4be6c5=[{'id':_0x18f1f3(0x3b1),'params':{'unitId':_0xffbf37[_0x18f1f3(0x40d)],'actions':null,'textRanges':[_0x5f2b9d]}}],_0x451d57=this[_0x18f1f3(0x3a5)][_0x18f1f3(0x1df)](_0xffbf37,_0x4be6c5);if(!_0x3f458b[_0x18f1f3(0x3c0)](_0x451d57))throw _0x451d57[_0x18f1f3(0x3aa)];const _0x9307b3=_0x451d57[_0x18f1f3(0x1b5)][0x0][_0x18f1f3(0x399)]['textRanges'];Array['isArray'](_0x9307b3)&&_0x9307b3[_0x18f1f3(0x370)]&&_0x37b7ab['setActiveRange'](_0x9307b3[0x0]);}};_0x624c66=_0x1312c8([_0x323c74(0x0,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x323c74(0x1,_0x3f458b[_0x143723(0x197)]),_0x323c74(0x2,_0x132069[_0x143723(0x1c5)])],_0x624c66);var _0x53bea6=Object['getOwnPropertyDescriptor'],_0x4925ca=(_0x24a9fe,_0x222db1,_0x2b3338,_0x1e0b94)=>{const _0x3dac11=_0x143723;for(var _0x3be220=_0x1e0b94>0x1?void 0x0:_0x1e0b94?_0x53bea6(_0x222db1,_0x2b3338):_0x222db1,_0x1f4095=_0x24a9fe[_0x3dac11(0x370)]-0x1,_0x320547;_0x1f4095>=0x0;_0x1f4095--)(_0x320547=_0x24a9fe[_0x1f4095])&&(_0x3be220=_0x320547(_0x3be220)||_0x3be220);return _0x3be220;},_0x32d95e=(_0x7351da,_0x3e3fc6)=>(_0x59dd52,_0x570405)=>_0x3e3fc6(_0x59dd52,_0x570405,_0x7351da);let _0x43a7e7=class{constructor(_0x38fcf1,_0x115dbe,_0x470e97){const _0x3833db=_0x143723;this[_0x3833db(0x22d)]=_0x38fcf1,this[_0x3833db(0x3a5)]=_0x115dbe,this[_0x3833db(0x411)]=_0x470e97;}[_0x143723(0x41d)](_0x111c15){const _0x197fe7=_0x143723;this[_0x197fe7(0x332)](_0x111c15);}[_0x143723(0x234)](_0x338542){const _0x13c343=_0x143723,{unitID:_0x4bd238}=_0x338542,{collaboration:_0x15674d}=this[_0x13c343(0x411)][_0x13c343(0x34d)](_0x4bd238);if(_0x15674d[_0x13c343(0x370)]===0x0)return _0x338542;let _0x47306c=_0x112c8e['Tools'][_0x13c343(0x3d1)](_0x338542[_0x13c343(0x331)][0x0]);for(let _0x39ef30=0x0;_0x39ef30<_0x15674d[_0x13c343(0x370)];_0x39ef30++){const _0x282811={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x15674d[_0x39ef30][_0x13c343(0x1ff)],..._0x15674d[_0x39ef30]['redoState']}},_0x42e388=this[_0x13c343(0x3a5)][_0x13c343(0x191)](_0x47306c,_0x282811,!0x1);if(_0x3f458b[_0x13c343(0x2c1)](_0x42e388))throw _0x42e388[_0x13c343(0x3aa)];_0x47306c=_0x42e388[_0x13c343(0x3c6)];}return{..._0x112c8e[_0x13c343(0x1bd)]['deepClone'](_0x338542),'mutations':[_0x47306c]};}[_0x143723(0x332)](_0x24b828){const _0x4ac6af=_0x143723,{unitID:_0x5281f4}=_0x24b828,{history:_0x362d9f,collaboration:_0x29bf56}=this[_0x4ac6af(0x411)][_0x4ac6af(0x34d)](_0x5281f4);if(_0x362d9f[_0x4ac6af(0x370)]===0x0&&_0x29bf56['length']===0x0)return;const _0x4fb0e8=[],_0x4b98d3=[];let _0x3881fd=_0x112c8e[_0x4ac6af(0x1bd)][_0x4ac6af(0x3d1)](_0x24b828[_0x4ac6af(0x331)][0x0]),_0x2c428d=_0x112c8e['Tools'][_0x4ac6af(0x3d1)](_0x24b828[_0x4ac6af(0x331)][0x0]);for(let _0x377831=_0x362d9f[_0x4ac6af(0x370)]-0x1;_0x377831>=0x0;_0x377831--){const _0x49c12d={'id':_0x4ac6af(0x3b1),'params':{'unitId':_0x362d9f[_0x377831][_0x4ac6af(0x1ff)],..._0x362d9f[_0x377831][_0x4ac6af(0x38a)]}},_0x291e00={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x362d9f[_0x377831]['unitId'],..._0x362d9f[_0x377831][_0x4ac6af(0x1f1)]}},_0x2ef116=this[_0x4ac6af(0x3a5)][_0x4ac6af(0x191)](_0x3881fd,_0x49c12d,!0x1),_0x9eec1b=this[_0x4ac6af(0x3a5)][_0x4ac6af(0x191)](_0x2c428d,_0x291e00,!0x1);if(_0x3f458b['isTransformMutationFailure'](_0x2ef116))throw _0x2ef116[_0x4ac6af(0x3aa)];if(_0x3f458b[_0x4ac6af(0x2c1)](_0x9eec1b))throw _0x9eec1b[_0x4ac6af(0x3aa)];_0x4fb0e8[_0x4ac6af(0x328)]({..._0x362d9f[_0x377831],'undoState':_0x2ef116[_0x4ac6af(0x1b5)][_0x4ac6af(0x399)],'redoState':_0x9eec1b[_0x4ac6af(0x1b5)][_0x4ac6af(0x399)]}),_0x3881fd=_0x2ef116[_0x4ac6af(0x3c6)],_0x2c428d=_0x9eec1b['m1Prime'];}_0x3881fd=_0x112c8e[_0x4ac6af(0x1bd)]['deepClone'](_0x24b828['mutations'][0x0]),_0x2c428d=_0x112c8e[_0x4ac6af(0x1bd)][_0x4ac6af(0x3d1)](_0x24b828[_0x4ac6af(0x331)][0x0]);for(let _0x481d3f=_0x29bf56[_0x4ac6af(0x370)]-0x1;_0x481d3f>=0x0;_0x481d3f--){const _0x5d530a={'id':_0x4ac6af(0x3b1),'params':{'unitId':_0x29bf56[_0x481d3f]['unitId'],..._0x29bf56[_0x481d3f]['undoState']}},_0x462413={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29bf56[_0x481d3f][_0x4ac6af(0x1ff)],..._0x29bf56[_0x481d3f]['redoState']}},_0x48a58c=this[_0x4ac6af(0x3a5)][_0x4ac6af(0x191)](_0x3881fd,_0x5d530a,!0x1),_0x4f2e15=this[_0x4ac6af(0x3a5)][_0x4ac6af(0x191)](_0x2c428d,_0x462413,!0x1);if(_0x3f458b[_0x4ac6af(0x2c1)](_0x48a58c))throw _0x48a58c[_0x4ac6af(0x3aa)];if(_0x3f458b['isTransformMutationFailure'](_0x4f2e15))throw _0x4f2e15[_0x4ac6af(0x3aa)];_0x4b98d3['unshift']({..._0x29bf56[_0x481d3f],'undoState':_0x48a58c[_0x4ac6af(0x1b5)][_0x4ac6af(0x399)],'redoState':_0x4f2e15[_0x4ac6af(0x1b5)]['params']}),_0x3881fd=_0x48a58c[_0x4ac6af(0x3c6)],_0x2c428d=_0x4f2e15['m1Prime'];}this[_0x4ac6af(0x411)][_0x4ac6af(0x26e)](_0x5281f4,{'history':_0x4fb0e8,'collaboration':_0x4b98d3});}};_0x43a7e7=_0x4925ca([_0x32d95e(0x0,_0x112c8e['Inject'](_0x112c8e[_0x143723(0x1a0)])),_0x32d95e(0x1,_0x3f458b['ITransformService']),_0x32d95e(0x2,_0x112c8e[_0x143723(0x33f)](_0x97512c[_0x143723(0x361)]))],_0x43a7e7);var _0xe668ac=Object['getOwnPropertyDescriptor'],_0x1c9b72=(_0x372647,_0x5d916b,_0x3a1c87,_0x19fab3)=>{for(var _0x36b006=_0x19fab3>0x1?void 0x0:_0x19fab3?_0xe668ac(_0x5d916b,_0x3a1c87):_0x5d916b,_0x36c265=_0x372647['length']-0x1,_0xa52bbf;_0x36c265>=0x0;_0x36c265--)(_0xa52bbf=_0x372647[_0x36c265])&&(_0x36b006=_0xa52bbf(_0x36b006)||_0x36b006);return _0x36b006;},_0x3974bd=(_0x3360e7,_0x5eaa68)=>(_0x190964,_0x1fe5b8)=>_0x5eaa68(_0x190964,_0x1fe5b8,_0x3360e7);let _0x6660a6=class{constructor(_0x5391d3,_0x35150c){const _0x30703b=_0x143723;this['_injector']=_0x5391d3,this[_0x30703b(0x3a5)]=_0x35150c;}[_0x143723(0x33c)](_0x4139e3){const _0x2d5eb0=_0x143723;var _0x107e06;const _0x35fb91=this[_0x2d5eb0(0x22d)][_0x2d5eb0(0x292)](_0x4723ff[_0x2d5eb0(0x334)]),_0x3d75a7=(_0x107e06=_0x35fb91[_0x2d5eb0(0x245)]())!=null?_0x107e06:[];if(_0x3d75a7[_0x2d5eb0(0x370)]===0x0)return;const _0x599132=_0x4139e3['unitID'],_0x32d33e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x599132,'actions':null,'textRanges':_0x3d75a7}}],_0x231330=this['_transformService'][_0x2d5eb0(0x1df)](_0x4139e3,_0x32d33e);if(!_0x3f458b[_0x2d5eb0(0x3c0)](_0x231330))throw _0x231330[_0x2d5eb0(0x3aa)];const _0x3d76c7=_0x231330[_0x2d5eb0(0x1b5)][0x0][_0x2d5eb0(0x399)][_0x2d5eb0(0x21e)];Array['isArray'](_0x3d76c7)&&_0x3d76c7[_0x2d5eb0(0x370)]&&_0x35fb91['replaceDocRanges'](_0x3d76c7,{'unitId':_0x599132,'subUnitId':_0x599132},!0x1);}};_0x6660a6=_0x1c9b72([_0x3974bd(0x0,_0x112c8e['Inject'](_0x112c8e[_0x143723(0x1a0)])),_0x3974bd(0x1,_0x3f458b[_0x143723(0x197)])],_0x6660a6);var _0x118240=Object['getOwnPropertyDescriptor'],_0x21a7d8=(_0x4d55a1,_0x5c2317,_0x13c520,_0xf296ef)=>{const _0x54ec58=_0x143723;for(var _0x5408ed=_0xf296ef>0x1?void 0x0:_0xf296ef?_0x118240(_0x5c2317,_0x13c520):_0x5c2317,_0x3932a2=_0x4d55a1[_0x54ec58(0x370)]-0x1,_0x597e11;_0x3932a2>=0x0;_0x3932a2--)(_0x597e11=_0x4d55a1[_0x3932a2])&&(_0x5408ed=_0x597e11(_0x5408ed)||_0x5408ed);return _0x5408ed;},_0x437eca=(_0x3b425c,_0x68635f)=>(_0x37bc9c,_0x2e1b9d)=>_0x68635f(_0x37bc9c,_0x2e1b9d,_0x3b425c);let _0x1356ed=class extends _0x112c8e['Disposable']{constructor(_0x3afcdd,_0x39c6b9,_0x4a9429,_0xeece88,_0x1b10a9,_0xb93cdf,_0x1101b1,_0x4a6f8e){const _0x22b86d=_0x143723;super(),_0x433eb9(this,'_status$',new _0x265051[(_0x22b86d(0x255))](_0x2137d8[_0x22b86d(0x403)][_0x22b86d(0x22f)])),(this[_0x22b86d(0x411)]=_0x3afcdd,this[_0x22b86d(0x254)]=_0x39c6b9,this[_0x22b86d(0x25b)]=_0x4a9429,this[_0x22b86d(0x1a3)]=_0xeece88,this[_0x22b86d(0x310)]=_0x1b10a9,this[_0x22b86d(0x373)]=_0xb93cdf,this[_0x22b86d(0x350)]=_0x1101b1,this[_0x22b86d(0x2c9)]=_0x4a6f8e,this[_0x22b86d(0x25e)]());}[_0x143723(0x25e)](){const _0x4bfdf2=_0x143723;this[_0x4bfdf2(0x194)](this[_0x4bfdf2(0x254)][_0x4bfdf2(0x3f9)]['subscribe'](_0x429f8e=>{const _0x25e3ff=_0x4bfdf2,_0x1b57c9=this[_0x25e3ff(0x411)][_0x25e3ff(0x36b)][_0x25e3ff(0x3e7)](_0xdcfaeb=>{const _0x1656c6=_0x25e3ff;if(_0xdcfaeb==null)return;const {unitId:_0x196ba2,redoState:_0x3af6e9,commandId:_0x195357}=_0xdcfaeb;if(_0x196ba2!==_0x429f8e[_0x1656c6(0x40d)])return;const _0x4f7c6d={'id':_0x195357,'type':_0x112c8e['CommandType'][_0x1656c6(0x372)],'params':{'unitId':_0x196ba2,'actions':_0x3af6e9[_0x1656c6(0x324)],'textRanges':null}};_0x429f8e[_0x1656c6(0x41f)](_0x4f7c6d);});if(_0x429f8e[_0x25e3ff(0x194)](_0x1b57c9),_0x429f8e instanceof _0x2137d8[_0x25e3ff(0x382)]){const _0x2673cc={'onTransformIME':_0x2ac041=>this[_0x25e3ff(0x25b)]['transformIMECache'](_0x2ac041),'onTransformState':_0x353915=>this[_0x25e3ff(0x1a3)]['transformStateCache'](_0x353915),'onTransformSelections':_0x1a8637=>this[_0x25e3ff(0x310)]['transformSelections'](_0x1a8637),'onSyncEditingCollabCursor':_0x4da3db=>this[_0x25e3ff(0x373)][_0x25e3ff(0x2f2)](_0x4da3db),'onTransformRemoteChangesetByIMECache':_0x478b64=>this[_0x25e3ff(0x25b)][_0x25e3ff(0x234)](_0x478b64),'onTransformRemoteChangesetByStateCache':_0x4b06e0=>this[_0x25e3ff(0x1a3)][_0x25e3ff(0x234)](_0x4b06e0)};_0x429f8e[_0x25e3ff(0x42d)](_0x2673cc);}}));}};_0x1356ed=_0x21a7d8([_0x437eca(0x0,_0x112c8e[_0x143723(0x33f)](_0x97512c['DocStateChangeManagerService'])),_0x437eca(0x1,_0x112c8e[_0x143723(0x33f)](_0x2137d8[_0x143723(0x290)])),_0x437eca(0x2,_0x112c8e[_0x143723(0x33f)](_0x624c66)),_0x437eca(0x3,_0x112c8e[_0x143723(0x33f)](_0x43a7e7)),_0x437eca(0x4,_0x112c8e['Inject'](_0x6660a6)),_0x437eca(0x5,_0x112c8e['Inject'](_0x35c700)),_0x437eca(0x6,_0x4d7442[_0x143723(0x3b2)]),_0x437eca(0x7,_0x112c8e['Inject'](_0x112c8e[_0x143723(0x277)]))],_0x1356ed);var _0x587aed=Object[_0x143723(0x3da)],_0x35df8b=(_0x286628,_0x27be30,_0x1072cc,_0x4353fe)=>{const _0x34cea5=_0x143723;for(var _0xc43905=_0x4353fe>0x1?void 0x0:_0x4353fe?_0x587aed(_0x27be30,_0x1072cc):_0x27be30,_0x401c3a=_0x286628[_0x34cea5(0x370)]-0x1,_0x27babd;_0x401c3a>=0x0;_0x401c3a--)(_0x27babd=_0x286628[_0x401c3a])&&(_0xc43905=_0x27babd(_0xc43905)||_0xc43905);return _0xc43905;},_0x52143e=(_0xf82775,_0x2c8d44)=>(_0xde798e,_0x3c5783)=>_0x2c8d44(_0xde798e,_0x3c5783,_0xf82775);let _0x4fcd18=class extends _0x112c8e[_0x143723(0x357)]{constructor(_0x203a8d,_0x287f34,_0x638e11){const _0x7de120=_0x143723;super(),_0x433eb9(this,_0x7de120(0x37b),new Map()),_0x433eb9(this,'_saveTaskMap',new Map()),_0x433eb9(this,_0x7de120(0x380),!0x1),(this[_0x7de120(0x29d)]=_0x203a8d,this[_0x7de120(0x1fa)]=_0x287f34,this['_revisionService']=_0x638e11);}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x492697=_0x143723;this[_0x492697(0x380)]=!0x1;}get[_0x143723(0x338)](){const _0x593222=_0x143723;return this[_0x593222(0x413)];}['dispose'](){const _0x1061d8=_0x143723;this[_0x1061d8(0x27b)]()[_0x1061d8(0x227)](()=>super[_0x1061d8(0x3b4)]());}async[_0x143723(0x422)](_0x3d5851){const _0x59af48=_0x143723;return this['_disabled']?null:this[_0x59af48(0x1fa)][_0x59af48(0x198)](_0x2137d8[_0x59af48(0x186)](_0x3d5851));}async[_0x143723(0x229)](_0x13959f,_0x1f8e71){return!!this['_localStorageService']['setItem'](_0x13959f,_0x1f8e71);}[_0x143723(0x3f2)](_0xc56cd5,_0xe142f3,_0x91a75a,_0x3e60ac){const _0x3c194e=_0x143723,_0x17f9a8=this[_0x3c194e(0x36f)]['getCurrentRevOfUnit'](_0xc56cd5);this[_0x3c194e(0x37b)]['set'](_0xc56cd5,{'unitID':_0xc56cd5,'type':_0xe142f3,'awaitingChangeset':_0x91a75a,'mutations':_0x3e60ac,'rev':_0x17f9a8}),this[_0x3c194e(0x413)][_0x3c194e(0x2ac)](_0xc56cd5)||this[_0x3c194e(0x2d7)](_0xc56cd5);}[_0x143723(0x2d7)](_0x1c50cb){const _0x3506af=_0x143723,_0x3dc5a6=this[_0x3506af(0x260)]();_0x3dc5a6===0x0?this[_0x3506af(0x408)](_0x1c50cb):this[_0x3506af(0x413)][_0x3506af(0x327)](_0x1c50cb,setTimeout(()=>this['_saveCache'](_0x1c50cb),_0x3dc5a6));}[_0x143723(0x260)](){const _0x567e24=_0x143723;var _0x58c8bf;return(_0x58c8bf=this[_0x567e24(0x29d)][_0x567e24(0x2bb)](_0x2137d8[_0x567e24(0x250)]))!=null?_0x58c8bf:_0x2137d8[_0x567e24(0x339)];}['_saveCache'](_0x17b9ec){const _0x2776b1=_0x143723,_0x37880b=this['_saveTaskMap'][_0x2776b1(0x292)](_0x17b9ec);return _0x37880b!==void 0x0&&window['clearTimeout'](_0x37880b),this[_0x2776b1(0x1fa)]['setItem'](_0x2137d8[_0x2776b1(0x186)](_0x17b9ec),this[_0x2776b1(0x37b)]['get'](_0x17b9ec))[_0x2776b1(0x227)](()=>this[_0x2776b1(0x413)][_0x2776b1(0x37a)](_0x17b9ec));}async['exhaustSavingTask'](){const _0x25c8e0=_0x143723,_0x36e3ab=[];this[_0x25c8e0(0x413)][_0x25c8e0(0x363)]((_0xf792a2,_0x5903ff)=>{const _0x2b8696=_0x25c8e0;window[_0x2b8696(0x3ac)](_0xf792a2),_0x36e3ab[_0x2b8696(0x25c)](this[_0x2b8696(0x408)](_0x5903ff)[_0x2b8696(0x227)](()=>{this['_saveTaskMap']['delete'](_0x5903ff);}));}),await Promise['all'](_0x36e3ab);}};_0x4fcd18=_0x35df8b([_0x52143e(0x0,_0x112c8e[_0x143723(0x26d)]),_0x52143e(0x1,_0x112c8e[_0x143723(0x274)]),_0x52143e(0x2,_0x112c8e['Inject'](_0x3f458b[_0x143723(0x39d)]))],_0x4fcd18);class _0x3ffeda extends _0x112c8e[_0x143723(0x3dc)]{constructor(){const _0x560add=_0x143723;super(),_0x433eb9(this,'urlChange$'),this[_0x560add(0x359)]=_0x265051[_0x560add(0x351)](window,_0x560add(0x343))[_0x560add(0x2d0)](_0x265051[_0x560add(0x319)](this[_0x560add(0x41a)]),_0x265051[_0x560add(0x256)](0x1),_0x265051[_0x560add(0x3ad)](void 0x0));}[_0x143723(0x223)](_0x44da2c,_0x47dc93,_0x43b216=!0x1){const _0x392862=_0x143723,_0x1e526f=new URL(window['location'][_0x392862(0x366)]);_0x1e526f[_0x392862(0x215)][_0x392862(0x327)](_0x44da2c,_0x47dc93),_0x43b216?window[_0x392862(0x392)][_0x392862(0x1d6)]('','',_0x1e526f[_0x392862(0x2da)]()):window[_0x392862(0x392)][_0x392862(0x3f8)]('','',_0x1e526f[_0x392862(0x2da)]());}[_0x143723(0x3d7)](_0x2ab23c,_0xa2dcfc=!0x1){const _0x2ea728=_0x143723,_0x5d18b5=new URL(window[_0x2ea728(0x342)]['href']);_0x5d18b5[_0x2ea728(0x215)][_0x2ea728(0x37a)](_0x2ab23c),_0xa2dcfc?window[_0x2ea728(0x392)][_0x2ea728(0x1d6)]('','',_0x5d18b5['toString']()):window[_0x2ea728(0x392)][_0x2ea728(0x3f8)]('','',_0x5d18b5[_0x2ea728(0x2da)]());}[_0x143723(0x387)](_0x223866){const _0x557111=_0x143723;var _0x27d2c5;return(_0x27d2c5=new URL(window[_0x557111(0x342)][_0x557111(0x366)])['searchParams'][_0x557111(0x292)](_0x223866))!=null?_0x27d2c5:void 0x0;}}var _0x19a4ee=Object[_0x143723(0x18d)],_0x13d2b2=Object['getOwnPropertyDescriptor'],_0x565951=(_0x19eef1,_0x1a4e23,_0xff9c49)=>_0x1a4e23 in _0x19eef1?_0x19a4ee(_0x19eef1,_0x1a4e23,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xff9c49}):_0x19eef1[_0x1a4e23]=_0xff9c49,_0x477574=(_0x448172,_0x4dbd58,_0x467359,_0x12c20d)=>{const _0x4d3243=_0x143723;for(var _0x4afcbb=_0x12c20d>0x1?void 0x0:_0x12c20d?_0x13d2b2(_0x4dbd58,_0x467359):_0x4dbd58,_0x267a15=_0x448172[_0x4d3243(0x370)]-0x1,_0x32cd22;_0x267a15>=0x0;_0x267a15--)(_0x32cd22=_0x448172[_0x267a15])&&(_0x4afcbb=_0x32cd22(_0x4afcbb)||_0x4afcbb);return _0x4afcbb;},_0x1c5e0f=(_0x4cfeaf,_0x510e19)=>(_0xe88a2c,_0x1ca4cf)=>_0x510e19(_0xe88a2c,_0x1ca4cf,_0x4cfeaf),_0x377fde=(_0xa5b363,_0x496acf,_0x34636c)=>_0x565951(_0xa5b363,_0x496acf+'',_0x34636c);const _0x2546fa=_0x143723(0x1c9);_0x39c320[_0x143723(0x1a5)]=class extends _0x112c8e[_0x143723(0x415)]{constructor(_0x22ba0b=_0x452d0d,_0x1699c3,_0x2a5350,_0x39af39){const _0x14d448=_0x143723;super(),this[_0x14d448(0x354)]=_0x22ba0b,this['_renderManagerService']=_0x1699c3,this['_injector']=_0x2a5350,this['_configService']=_0x39af39;const {..._0x8df05e}=_0x112c8e[_0x14d448(0x2a5)]({},_0x452d0d,this[_0x14d448(0x354)]);this['_configService']['setConfig'](_0x2bdf04,_0x8df05e);}[_0x143723(0x207)](){const _0x38a4e1=_0x143723;this[_0x38a4e1(0x2a2)](),this[_0x38a4e1(0x381)]();}[_0x143723(0x3d0)](){const _0x2bdccd=_0x143723;this[_0x2bdccd(0x1f6)]();}[_0x143723(0x2a2)](){const _0x37fcbf=_0x143723;var _0x234639;const _0x58fe50=[[_0x2c376b],[_0x6660a6],[_0x624c66],[_0x43a7e7],[_0x35c700],[_0x46e173,{'useClass':_0x3ffeda}],[_0x25f2b8['ISocketService'],{'useClass':_0x25f2b8['WebSocketService']}],[_0x2137d8['ILocalCacheService'],{'useClass':_0x4fcd18}],[_0x39c320['DesktopCollaborationStatusDisplayController']],[_0x1356ed],[_0x344a9c],[_0x599949],[_0x5a11ca],[_0x39c320[_0x37fcbf(0x38e)]]];_0x112c8e[_0x37fcbf(0x3fc)](this['_injector'],_0x112c8e['mergeOverrideWithDependencies'](_0x58fe50,(_0x234639=this['_config'])==null?void 0x0:_0x234639[_0x37fcbf(0x2dc)]));}[_0x143723(0x1f6)](){const _0x2f12fa=_0x143723;this[_0x2f12fa(0x194)](this[_0x2f12fa(0x280)][_0x2f12fa(0x19f)](_0x112c8e[_0x2f12fa(0x1a6)][_0x2f12fa(0x1ce)],[_0x27f659])),this[_0x2f12fa(0x194)](this[_0x2f12fa(0x280)][_0x2f12fa(0x19f)](_0x112c8e[_0x2f12fa(0x1a6)][_0x2f12fa(0x1a4)],[_0x409b6a]));}[_0x143723(0x381)](){const _0xb1d5ab=_0x143723;_0x112c8e['touchDependencies'](this['_injector'],[[_0x599949],[_0x39c320[_0xb1d5ab(0x225)]],[_0x1356ed],[_0x344a9c],[_0x39c320[_0xb1d5ab(0x38e)]]]);}},_0x377fde(_0x39c320[_0x143723(0x1a5)],'pluginName',_0x2546fa),_0x39c320[_0x143723(0x1a5)]=_0x477574([_0x112c8e[_0x143723(0x2ed)](_0x2137d8['UniverCollaborationClientPlugin']),_0x1c5e0f(0x1,_0x132069['IRenderManagerService']),_0x1c5e0f(0x2,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x1c5e0f(0x3,_0x112c8e[_0x143723(0x26d)])],_0x39c320[_0x143723(0x1a5)]);var _0x510ad9=Object[_0x143723(0x3da)],_0x86f704=(_0x2611ab,_0x46d125,_0x460d1d,_0x37bd33)=>{for(var _0x58d33a=_0x37bd33>0x1?void 0x0:_0x37bd33?_0x510ad9(_0x46d125,_0x460d1d):_0x46d125,_0x30ca0b=_0x2611ab['length']-0x1,_0x45ac8e;_0x30ca0b>=0x0;_0x30ca0b--)(_0x45ac8e=_0x2611ab[_0x30ca0b])&&(_0x58d33a=_0x45ac8e(_0x58d33a)||_0x58d33a);return _0x58d33a;},_0xa0bf56=(_0x292088,_0x832935)=>(_0x5a371d,_0x2a52d3)=>_0x832935(_0x5a371d,_0x2a52d3,_0x292088);_0x39c320[_0x143723(0x199)]=class extends _0x2137d8['CollaborationSocketService']{constructor(_0x2e2d3b,_0x3bfe1c,_0x4a00dd,_0x18de3d,_0x100500){super(_0x2e2d3b,_0x3bfe1c,_0x4a00dd,_0x18de3d,_0x100500);}async[_0x143723(0x31a)](_0x131e2f){const _0xb24909=_0x143723,_0x34c440=await this[_0xb24909(0x2ca)](),_0x1a9c3f=this[_0xb24909(0x2c4)](_0x131e2f,_0x34c440);return this[_0xb24909(0x1f8)](_0x1a9c3f);}[_0x143723(0x2c4)](_0x40d2c0,_0x573d10){const _0x475ee2=_0x143723,_0x38b7cb=typeof window>'u'?new URL(_0x40d2c0):new URL(_0x40d2c0,window[_0x475ee2(0x342)][_0x475ee2(0x296)]);_0x38b7cb[_0x475ee2(0x215)][_0x475ee2(0x327)](_0x475ee2(0x1d1),_0x573d10);const _0x3a16c5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x475ee2(0x342)][_0x475ee2(0x340)]);return _0x3a16c5[_0x475ee2(0x292)](_0x475ee2(0x2f9))&&_0x38b7cb[_0x475ee2(0x215)][_0x475ee2(0x327)]('runId',_0x3a16c5[_0x475ee2(0x292)](_0x475ee2(0x2f9))),_0x38b7cb[_0x475ee2(0x2da)]();}async[_0x143723(0x2ca)](){const _0x13804f=_0x143723;var _0x2ac0f4,_0x29285f,_0x12efc3;const _0x369415=this[_0x13804f(0x29d)]['getConfig'](_0x2137d8['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x4d00c9=(_0x2ac0f4=_0x369415==null?void 0x0:_0x369415[_0x13804f(0x2b8)])!=null?_0x2ac0f4:_0x2137d8[_0x13804f(0x3d3)];return(_0x12efc3=(_0x29285f=(await this[_0x13804f(0x230)][_0x13804f(0x292)](_0x4d00c9,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x29285f[_0x13804f(0x216)])!=null?_0x12efc3:'';}},_0x39c320[_0x143723(0x199)]=_0x86f704([_0xa0bf56(0x0,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0xa0bf56(0x1,_0x112c8e['Inject'](_0x25f2b8[_0x143723(0x2fc)])),_0xa0bf56(0x2,_0x112c8e[_0x143723(0x26d)]),_0xa0bf56(0x3,_0x112c8e[_0x143723(0x1c4)]),_0xa0bf56(0x4,_0x3f458b['ISnapshotServerService'])],_0x39c320[_0x143723(0x199)]);const _0x23b3c7=0x7530,_0x5233e1=_0x143723(0x1d7);class _0x1e849b extends _0x112c8e['Disposable']{constructor(){const _0x22d76a=_0x143723;super(),_0x433eb9(this,'_id',_0x112c8e[_0x22d76a(0x21d)]()),_0x433eb9(this,_0x22d76a(0x2f6),new Set()),_0x433eb9(this,_0x22d76a(0x36a),new Map()),_0x433eb9(this,'_heartbeatTimer',null),_0x433eb9(this,_0x22d76a(0x410),new Map()),_0x433eb9(this,_0x22d76a(0x38d),new Map()),this['_init']();}[_0x143723(0x3b4)](){const _0x5284ca=_0x143723;super[_0x5284ca(0x3b4)](),this[_0x5284ca(0x410)][_0x5284ca(0x363)]((_0x543bde,_0x436990)=>this[_0x5284ca(0x1cf)](_0x436990)),this['_heartbeatTimer']&&window[_0x5284ca(0x28e)](this['_heartbeatTimer']);}[_0x143723(0x28f)](_0x253d6b){const _0x30cdcb=_0x143723;return this[_0x30cdcb(0x1b3)](_0x253d6b)[_0x30cdcb(0x2d0)](_0x265051[_0x30cdcb(0x24a)]());}[_0x143723(0x19e)](_0x5a7aa6){const _0x2d872c=_0x143723;this[_0x2d872c(0x2f6)]['size']===0x0&&this[_0x2d872c(0x2e1)](),this[_0x2d872c(0x2f6)][_0x2d872c(0x3ef)](_0x5a7aa6),this[_0x2d872c(0x218)]({'type':0x0,'memberID':this[_0x2d872c(0x3b5)],'unitIDs':[_0x5a7aa6],'isForwarded':!0x1});}[_0x143723(0x40f)](_0x550544){const _0x3b3975=_0x143723;this[_0x3b3975(0x2f6)][_0x3b3975(0x37a)](_0x550544),this['_selfUnitIDs'][_0x3b3975(0x24c)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x3b3975(0x33b)]);}[_0x143723(0x1a8)](){const _0x3a5d68=_0x143723;this['disposeWithMe'](_0x112c8e[_0x3a5d68(0x25f)](_0x265051[_0x3a5d68(0x351)](window,_0x3a5d68(0x3e4))['subscribe'](_0x61154c=>{const _0x5193e6=_0x3a5d68;if(_0x61154c[_0x5193e6(0x233)]!==_0x5233e1||!_0x61154c[_0x5193e6(0x421)])return;const _0xf1398c=JSON[_0x5193e6(0x428)](_0x61154c[_0x5193e6(0x421)]);this[_0x5193e6(0x243)](_0xf1398c);}))),window[_0x3a5d68(0x3ca)]('unload',()=>this[_0x3a5d68(0x218)]({'type':0x1,'memberID':this[_0x3a5d68(0x3b5)],'unitIDs':Array[_0x3a5d68(0x253)](this['_selfUnitIDs'])}));}[_0x143723(0x243)](_0x14552e){const _0x243013=_0x143723;switch(_0x14552e[_0x243013(0x288)]){case 0x0:this[_0x243013(0x406)](_0x14552e);break;case 0x1:this[_0x243013(0x200)](_0x14552e);break;case 0x2:this[_0x243013(0x2b1)](_0x14552e);break;}}[_0x143723(0x406)](_0x4b8586){const _0x532703=_0x143723,{unitIDs:_0x4aaa19,memberID:_0x5357c3,isForwarded:_0x2e3656}=_0x4b8586;_0x4aaa19[_0x532703(0x363)](_0x4450a=>{const _0x4b99f7=_0x532703;if(!_0x2e3656&&this[_0x4b99f7(0x36a)][_0x4b99f7(0x2ac)](_0x4450a)&&this[_0x4b99f7(0x1b3)](_0x4450a)[_0x4b99f7(0x320)](_0x2137d8['UnitStatus'][_0x4b99f7(0x1ca)]),!this['_unitOnClients'][_0x4b99f7(0x2ac)](_0x4450a)||!this[_0x4b99f7(0x36a)][_0x4b99f7(0x292)](_0x4450a)['has'](_0x5357c3)){const _0x3980ba=this[_0x4b99f7(0x36a)][_0x4b99f7(0x292)](_0x4450a)||new Set();_0x3980ba['add'](_0x5357c3),this['_unitOnClients'][_0x4b99f7(0x327)](_0x4450a,_0x3980ba),this[_0x4b99f7(0x317)](_0x5357c3);}}),_0x2e3656||this[_0x532703(0x218)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x532703(0x2f6)]],'isForwarded':!0x0});}[_0x143723(0x317)](_0x3bf034){const _0x55a46a=_0x143723;this[_0x55a46a(0x1cf)](_0x3bf034);const _0x4c08f4=window[_0x55a46a(0x1bc)](()=>{const _0x2fc22a=_0x55a46a;this[_0x2fc22a(0x36a)][_0x2fc22a(0x363)](_0x13bfae=>{_0x13bfae['delete'](_0x3bf034);});},_0x23b3c7*0x2);this['_clearOtherTimers'][_0x55a46a(0x327)](_0x3bf034,_0x4c08f4);}['_removeClearOtherTimer'](_0xa71ce1){const _0x43e472=_0x143723;if(this[_0x43e472(0x410)][_0x43e472(0x2ac)](_0xa71ce1)){const _0x3d26aa=this[_0x43e472(0x410)][_0x43e472(0x292)](_0xa71ce1);_0x3d26aa&&window[_0x43e472(0x3ac)](_0x3d26aa),this[_0x43e472(0x410)][_0x43e472(0x327)](_0xa71ce1,null);}}['_handleLeaveEvent'](_0x32fad2){const _0x551f95=_0x143723,{memberID:_0x44322f,unitIDs:_0x14a63f}=_0x32fad2;_0x14a63f['forEach'](_0x5ebf20=>{const _0x3d1a1c=_0x2ab6;var _0x1e739b;const _0x3e4ed1=this[_0x3d1a1c(0x36a)][_0x3d1a1c(0x292)](_0x5ebf20);_0x3e4ed1&&(_0x3e4ed1[_0x3d1a1c(0x37a)](_0x44322f),(_0x1e739b=this[_0x3d1a1c(0x1b3)](_0x5ebf20))==null||_0x1e739b[_0x3d1a1c(0x320)](_0x3e4ed1['size']===0x0?_0x2137d8[_0x3d1a1c(0x1bb)]['NO_OTHER_CLIENTS_EDITING']:_0x2137d8['UnitStatus'][_0x3d1a1c(0x1ca)]));}),this[_0x551f95(0x1cf)](_0x44322f);}[_0x143723(0x2b1)](_0x506d7f){const _0x81f282=_0x143723;this['_scheduleClearOtherTimer'](_0x506d7f[_0x81f282(0x377)]);}[_0x143723(0x218)](_0x41e5a7){const _0xe7bac0=_0x143723;localStorage[_0xe7bac0(0x18f)](_0x5233e1,JSON[_0xe7bac0(0x22e)](_0x41e5a7));}['_scheduleHeartbeat'](){const _0x5b9343=_0x143723;this[_0x5b9343(0x33b)]=window['setInterval'](()=>{const _0x5a5c61=_0x5b9343;this['_send']({'type':0x2,'memberID':this[_0x5a5c61(0x3b5)]});},_0x23b3c7);}['_ensureSubject'](_0x452ee3){const _0x350493=_0x143723;return this[_0x350493(0x38d)][_0x350493(0x2ac)](_0x452ee3)||this[_0x350493(0x38d)]['set'](_0x452ee3,new _0x265051[(_0x350493(0x255))](_0x2137d8['UnitStatus'][_0x350493(0x37d)])),this[_0x350493(0x38d)]['get'](_0x452ee3);}}var _0x251ef3=(_0x2220d9=>(_0x2220d9[_0x2220d9[_0x143723(0x219)]=0x0]=_0x143723(0x219),_0x2220d9[_0x2220d9['OK']=0x1]='OK',_0x2220d9[_0x2220d9[_0x143723(0x337)]=0x2]=_0x143723(0x337),_0x2220d9[_0x2220d9[_0x143723(0x384)]=0x3]=_0x143723(0x384),_0x2220d9[_0x2220d9[_0x143723(0x2ce)]=0x4]=_0x143723(0x2ce),_0x2220d9[_0x2220d9[_0x143723(0x33a)]=0x5]=_0x143723(0x33a),_0x2220d9[_0x2220d9[_0x143723(0x32d)]=0x6]=_0x143723(0x32d),_0x2220d9[_0x2220d9[_0x143723(0x1e4)]=0x7]=_0x143723(0x1e4),_0x2220d9[_0x2220d9[_0x143723(0x31b)]=0x8]=_0x143723(0x31b),_0x2220d9[_0x2220d9[_0x143723(0x289)]=0x9]=_0x143723(0x289),_0x2220d9[_0x2220d9[_0x143723(0x185)]=0xa]=_0x143723(0x185),_0x2220d9[_0x2220d9[_0x143723(0x32e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2220d9[_0x2220d9[_0x143723(0x40c)]=0x1771]=_0x143723(0x40c),_0x2220d9[_0x2220d9[_0x143723(0x2aa)]=0x1772]=_0x143723(0x2aa),_0x2220d9[_0x2220d9['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x143723(0x1c6),_0x2220d9[_0x2220d9[_0x143723(0x364)]=0x1b59]=_0x143723(0x364),_0x2220d9[_0x2220d9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2220d9[_0x2220d9[_0x143723(0x3a2)]=0x1b5b]=_0x143723(0x3a2),_0x2220d9[_0x2220d9[_0x143723(0x414)]=0x1b5c]=_0x143723(0x414),_0x2220d9[_0x2220d9[_0x143723(0x297)]=0x1b5d]=_0x143723(0x297),_0x2220d9[_0x2220d9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x143723(0x3ec),_0x2220d9[_0x2220d9[_0x143723(0x40b)]=0x2329]=_0x143723(0x40b),_0x2220d9[_0x2220d9[_0x143723(0x3e6)]=0x232a]=_0x143723(0x3e6),_0x2220d9[_0x2220d9[_0x143723(0x3c7)]=0x232b]=_0x143723(0x3c7),_0x2220d9[_0x2220d9[_0x143723(0x424)]=0x232c]=_0x143723(0x424),_0x2220d9[_0x2220d9['LICENSE_DISTRO_REJECTED']=0x232d]=_0x143723(0x1aa),_0x2220d9[_0x2220d9['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2220d9[_0x2220d9[_0x143723(0x206)]=0x2712]=_0x143723(0x206),_0x2220d9[_0x2220d9[_0x143723(0x286)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2220d9[_0x2220d9[_0x143723(0x398)]=0x2714]=_0x143723(0x398),_0x2220d9[_0x2220d9[_0x143723(0x1c7)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2220d9[_0x2220d9[_0x143723(0x18c)]=0x271b]=_0x143723(0x18c),_0x2220d9[_0x2220d9[_0x143723(0x3fb)]=0x271c]=_0x143723(0x3fb),_0x2220d9[_0x2220d9[_0x143723(0x1dd)]=0x271d]=_0x143723(0x1dd),_0x2220d9[_0x2220d9['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x143723(0x265),_0x2220d9[_0x2220d9[_0x143723(0x3fa)]=0x271f]=_0x143723(0x3fa),_0x2220d9[_0x2220d9['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x143723(0x1e2),_0x2220d9[_0x2220d9[_0x143723(0x326)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x2220d9[_0x2220d9[_0x143723(0x276)]=0x2ee2]=_0x143723(0x276),_0x2220d9[_0x2220d9[_0x143723(0x19b)]=0x2ee3]=_0x143723(0x19b),_0x2220d9[_0x2220d9['USER_NOT_INVITED_CODE']=0x2ee4]=_0x143723(0x2c6),_0x2220d9[_0x2220d9[_0x143723(0x18a)]=0x2ee5]=_0x143723(0x18a),_0x2220d9[_0x2220d9[_0x143723(0x395)]=0x32c9]=_0x143723(0x395),_0x2220d9[_0x2220d9[_0x143723(0x1b0)]=0x32ca]=_0x143723(0x1b0),_0x2220d9[_0x2220d9[_0x143723(0x298)]=0x32cb]=_0x143723(0x298),_0x2220d9[_0x2220d9['UNRECOGNIZED']=-0x1]=_0x143723(0x2f3),_0x2220d9))(_0x251ef3||{}),_0x1a1072=Object[_0x143723(0x3da)],_0x83d4c7=(_0x66bdb6,_0x192ecf,_0x114f1e,_0x5cc7aa)=>{const _0x5acf22=_0x143723;for(var _0x16cbe8=_0x5cc7aa>0x1?void 0x0:_0x5cc7aa?_0x1a1072(_0x192ecf,_0x114f1e):_0x192ecf,_0x5bc49b=_0x66bdb6[_0x5acf22(0x370)]-0x1,_0x24b6ff;_0x5bc49b>=0x0;_0x5bc49b--)(_0x24b6ff=_0x66bdb6[_0x5bc49b])&&(_0x16cbe8=_0x24b6ff(_0x16cbe8)||_0x16cbe8);return _0x16cbe8;},_0x4c50a2=(_0x499357,_0x370683)=>(_0x4f9d75,_0x1ea0f1)=>_0x370683(_0x4f9d75,_0x1ea0f1,_0x499357);_0x39c320[_0x143723(0x3e2)]=class extends _0x112c8e[_0x143723(0x357)]{constructor(_0x1f311f,_0x3a5e41,_0x553930){const _0x32e21f=_0x143723;super(),this['_instanceService']=_0x1f311f,this['_httpService']=_0x3a5e41,this[_0x32e21f(0x29d)]=_0x553930;}async[_0x143723(0x397)](_0x29de28,_0x2bf68b,_0x3ab281,..._0x45a0db){const _0x39e1b8=_0x143723;var _0xd883e5,_0x32c21e,_0x5ca4ca,_0x1b7a6e;const _0x354bd1=this[_0x39e1b8(0x32b)][_0x39e1b8(0x2f0)]();if(!_0x354bd1)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2776c1=((_0xd883e5=this[_0x39e1b8(0x29d)]['getConfig'](_0x2137d8[_0x39e1b8(0x407)]))!=null?_0xd883e5:_0x2137d8[_0x39e1b8(0x3be)])+'/'+_0x29de28+_0x39e1b8(0x41e)+_0x2bf68b,_0x10701c=new URL(window[_0x39e1b8(0x342)][_0x39e1b8(0x366)]),_0x48559d={'scriptId':_0x29de28,'runId':(_0x32c21e=_0x10701c[_0x39e1b8(0x215)]['get'](_0x39e1b8(0x2f9)))!=null?_0x32c21e:'','function':_0x2bf68b,'unitId':_0x354bd1[_0x39e1b8(0x249)](),'argsOfFunction':JSON[_0x39e1b8(0x22e)](_0x45a0db),'invokeId':(_0x5ca4ca=_0x3ab281[_0x39e1b8(0x18e)])!=null?_0x5ca4ca:'','executionId':(_0x1b7a6e=_0x3ab281[_0x39e1b8(0x2bd)])!=null?_0x1b7a6e:''};try{const _0x1b51e9=await this[_0x39e1b8(0x230)][_0x39e1b8(0x3e8)](_0x2776c1,{'body':_0x48559d});return _0x1b51e9['body'][_0x39e1b8(0x3aa)]&&_0x1b51e9[_0x39e1b8(0x273)][_0x39e1b8(0x3aa)]['code']!==_0x251ef3['OK']?_0x39e1b8(0x2e7):_0x1b51e9[_0x39e1b8(0x273)][_0x39e1b8(0x306)];}catch{return'Failed';}}},_0x39c320[_0x143723(0x3e2)]=_0x83d4c7([_0x4c50a2(0x0,_0x112c8e[_0x143723(0x1f7)]),_0x4c50a2(0x1,_0x112c8e['Inject'](_0x25f2b8['HTTPService'])),_0x4c50a2(0x2,_0x112c8e['IConfigService'])],_0x39c320[_0x143723(0x3e2)]),_0x39c320['CollaborationStatusDisplay']=_0x25d1fc,_0x39c320[_0x143723(0x1b4)]=_0x46e173,_0x39c320[_0x143723(0x2e8)]=_0x484a96,_0x39c320[_0x143723(0x1be)]=_0x1e849b,_0x39c320[_0x143723(0x278)]=_0x3ffeda,Object[_0x143723(0x18d)](_0x39c320,Symbol[_0x143723(0x1e3)],{'value':_0x143723(0x3e5)});}));function _0x4f04(){const _0x2ffa20=['DependentOn','getTypeOfUnitAdded$','getOffsetConfig','getFocusedUnit','UniverRpc','syncEditingCollabCursor','UNRECOGNIZED','row','drawWith','_selfUnitIDs','object','ONLINE','runId','@univerjs/docs','map','HTTPService','find','handleInsertCol','currentTheme$','MemberService','data','assignAColorForMemberID','useRef','_handleHover','collab-client.tooltip.reconnect','result','_urlService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','0\x200\x2016\x2016','_scene','_color','none','@univerjs/network','session.will-retry','amd','_docTransformSelectionsService','handleInsertRow','168908yrcAdX','icon','handleInsertRangeMoveRight','url(#$1','unit','_scheduleClearOtherTimer','getCellPositionByOffset','takeUntil','createSocket','TOO_MANY_REQUESTS','IImageIoService','collaboration.single-unit.warning','findNodePositionByCharIndex','children','next','indexOf','useObservable','_toggleOffline','actions','on-line-single_clip0_910_349','INVITE_CODE_HAS_BEEN_UES','set','unshift','prototype','isArray','_instanceService','switchMap','ALREADY_EXISTS','CHANGESET_REVISION_CONFILICT','_uiPartsService','backgroundColor','mutations','_transformHistoryAndStateStack','_drawRectRange','DocSelectionManagerService','addObjects','0\x200\x2017\x2016','INTERNAL_ERROR','saveTaskMap','LOCAL_CACHE_INTERVAL','UNAUTHENTICATED','_heartbeatTimer','transformSelections','cursorInfo','handleIRemoveCol','Inject','search','Rect','location','popstate','_updateLocalCursor','handleMoveRange','_startDocCollabCursor','eventID','ICommandService','@univerjs/ui','addObject','_refreshCollabCursors','requireSession','getStateCache','UniverDocsUi','skeleton','_messageService','fromEvent','_refRangeService','DOC_RANGE_TYPE','_config','forwardRef','_onCursorUpdate','Disposable','_toggleOnline','urlChange$','fillRule','getActiveRange','setUndoRedoMutationParamsCache','min','propertyIsEnumerable','red.300','apply','DocStateChangeManagerService','clipPath','forEach','APPLY_REJECT','UniverEngineRender','href','_getAnchorBounding','collabStatus.offline','MoveRangeCommandId','_unitOnClients','docStateChange$','3218128fHytei','_hover','UniverProCollaboration','_revisionService','length','top','MUTATION','_docSyncEditingCollabCursorService','uni.network.url-service','collab-text-anchor-','color','memberID','UniverProCollaborationClientUi','UPDATE_CURSOR','delete','_cachedData','InsertRowCommandId','NO_OTHER_CLIENTS_EDITING','fillText','sessionStatus$','_disabled','_initDependencies','DocCollaborationEntity','_initStatusComponent','PERMISSION_DENIED','hide','_startSheetCollabCursor','getParam','Workbook','column','undoState','createElement','M0\x200H16V16H0z','_unitStatus','CollaborationDataLoaderController','subunit','_docSkeleton','getCoordByCell','history','_status$','#fff','WECHAT_HAS_BEEN_BOUND','@univerjs/rpc','runOnServer','YUUMI_SUBSCRIPTION_NOT_FOUND','params','max','Vector2','_cursorShapes','RevisionService','sheetId','ThemeService','use','_collabCursorController','APPLY_REVISION_CONFILICT','focused$','_onCursorDelete','_transformService','_beforeCloseService','runRefRangeMutations','RECT','CollaborationSessionService','error','split','clearTimeout','mapTo','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','collaboration.closeRoom','source','doc.mutation.rich-text-editing','IMessageService','handleDeleteRangeMoveLeft','dispose','_id','setShapeProps','cursorInfo$','currentColor','_memberService','_logService','onPointerLeave$','rgba(255,\x20255,\x20255,\x200.01)','InsertColCommandId','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','InsertRangeMoveRightCommandId','isTransformMutationsWithChangesetSuccess','off-line-single_clip0_910_343','OnLineSingle','univer-flex\x20univer-mr-2\x20univer-text-xl','_syncEditingCollabCursorService','@univerjs/sheets-ui','m1Prime','LICENSE_IMPORT_SIZE_EXCEEDED','permission.title','RegularPolygon','addEventListener','evenodd','TEXT_RANGE_LAYER_INDEX','currentSkeleton$','IBeforeCloseService','init','onRendered','deepClone','contains','DEFAULT_WS_SESSION_TICKET_URL','getSheetBySheetId','throttleTime','_hovered','removeParam','_removeCollabCursors','text','getOwnPropertyDescriptor','mask','RxDisposable','getValue','onPointerMove$','_context','_setupSubUnitSync','jsx','RemoteUniscriptService','_backgroundColor','storage','Module','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','subscribe','post','_collaborationUIEventService','_initEvent','_updateCollabCursors','CONNECTOR_DATA_TOO_LARGE','displayName','filter','add','SUBMIT_CHANGESET_TIMEOUT','trim','updateOfflineData','onMouseMove','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','jsxs','debounce','with','pushState','entityInit$','YUUMI_AI_RUN_FAILED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','registerDependencies','IUIPartsService','[CollaborationDataLoaderController]','clsx','function','_hideTimer','fillStyle','CollaborationStatus','Error','call','_handleJoinEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_saveCache','save','collab-text-range-','LICENSE_MAX_UNITS_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','unitID','_initStatusListener','disposeUnit','_clearOtherTimers','_docStateChangeManagerService','operators','_saveTaskMap','APPLY_PERMISSION_DENIED','Plugin','height','xlink:href','handleInsertRangeMoveDown','_transformPreviousActiveRange','dispose$','includes','_onRefRangeChange','transformStateCache','/run/','onLocalMutation','getViewport','newValue','loadOfflineData','UniverDesign','LICENSE_EXPORT_SIZE_EXCEEDED','collaboration-client.offline-data-not-saved','ranges','triggerDblclick','parse','_assignedColors','subscribeEvent','getUndoRedoMutationParamsCache','OFFLINE','addHandlerCallback','restore','LOGIN_FAILED','getLocalCacheKey','UniverNetwork','_roomMembers$','collabStatus.conflict','INVITE_CODE_ALREADY_BOUND','setAlpha','YUUMI_ASYNCIO_CANCELLED','defineProperty','invokeId','setItem','1em','transformMutation','@univerjs/design','debounceTime','disposeWithMe','1254246AWwdIm','endRow','ITransformService','getItem','BrowserCollaborationSocketService','url(#on-line-single_clip0_910_349)','INVITE_CODE_REQUIRED','getCollabEntity$','connectInjector','editingUnit','registerRenderModule','Injector','JOIN_ROOM_FAILED','_online','_docTransformStateCacheService','UNIVER_SHEET','UniverCollaborationClientUIPlugin','UniverInstanceType','transformIMECache','_init','url(#off-line-single_clip0_910_343)','LICENSE_DISTRO_REJECTED','event$','getMergeData','...','measureText','Tooltip','MOBILE_HAS_BEEN_BOUND','idSuffix','FromArray','_ensureSubject','IURLService','m2Prime','SessionStatus','font','div','SOCKET_FAILED','IRemoteInstanceService','UnitStatus','setTimeout','Tools','WebBrowserSingleActiveUnitService','@univerjs/sheets','9MrtAwm','NodePositionConvertToCursor','UniverEngineFormula','@univerjs-pro/collaboration-client','ILogService','IRenderManagerService','ENSURE_SNAPSHOT_EXECUTION','YUUMI_NO_CUBOID_FOR_QUESTION','reconnect','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','OTHER_CLIENTS_EDITING','Optional','Subject','getActiveSheet','UNIVER_DOC','_removeClearOtherTimer','_docSkeletonManagerService','sessionTicket','getRangePointData','registerRefRange','_initCommandExecutedListener','_drawAnchor','replaceState','ACTIVE_UNIT_EVENT_CHANNEL','_range','SheetsSelectionsService','getCollabCursors$','loadUnit','PENDING','YUUMI_ALL_TABLES_IS_INVALID','roomMembers$','transformMutationsWithChangeset','beginPath','_notificationService','PY_RUNTIME_SCRIPT_ERROR','toStringTag','INVALID_ARGUMENT','on-line-single','createIdentifier','_name','UniverSheets','RemoveRowCommandId','#FFF','React','getAncestorScale','TEXT','session.connection-failed','getCurrent','svg','redoState','arc','fromEventSubject','_updateURLWithCurrentState','OffLineSingle','_registerRenderDependencies','IUniverInstanceService','_doCreateSocket','onPointerEnter$','_localStorageService','_entities','@univerjs-pro/collaboration','engine','blue.400','unitId','_handleLeaveEvent','handleDeleteRangeMoveUp','range','@univerjs/docs-ui','_shapes','string','YUUMI_URL_COL_OUT_OF_RANGE','onStarting','assign','DeleteRangeMoveLeftCommandId','@univerjs/engine-render','fill','_localCacheService','_getScale','flatMap','getSkeleton','collaboration-client-ui.config','_collabCursorState$','Warning','SHEET_VIEWPORT_KEY','endColumn','searchParams','ticket','tag','_send','UNDEFINED','_sheetSkeletonManagerService','collabStatus.notCollab','InsertRangeMoveDownCommandId','generateRandomId','textRanges','concat','CollaborationEvent','yellow.400','BuiltInUIPart','setParam','imageSourceType','DesktopCollaborationStatusDisplayController','_updateSubUnitFromURLParams','then','isActive','saveOfflineData','_univerInstanceService','EffectRefRangId','@univerjs/engine-formula','_injector','stringify','NOT_COLLAB','_httpService','registerComponent','getSheetId','key','transformRemoteChangeset','createInstance','_colorIndex','replace','_cursors','defIds','path','_commandService','sheetID','AWAITING','_drawTextRange','SOCKET_FAILED_RETRY','_getSheetObject','registerBeforeClose','attrs','_handleEvent','SetTextSelectionsOperation','getDocRanges','_anchor','getOwnPropertySymbols','className','getUnitId','distinctUntilChanged','_lastPointer','size','selection','CollaborationUIEventId','USERS_LEAVE','LOCAL_CACHE_INTERVAL_KEY','asObservable','getSheetObject','from','_collaborationController','BehaviorSubject','shareReplay','width','UniverDrawing','516490dCFmXt','selections','_docTransformIMECacheService','push','getMemberID','_initEntityListener','toDisposable','_getSaveTimeout','TRANSFORM_CHANGE_OBSERVABLE_TYPE','current','bottom','DocIMEInputManagerService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_imageIoService','name','SetWorksheetActivateCommand','extend','OTHER_CLIENT_EDITING','DataLoaderService','DisposableCollection','IConfigService','setStateCache','getRenderById','values','combineLatest','1121165kgsYrZ','body','ILocalStorageService','deserializeRangeWithSheet','INVALID_INVITE_CODE','LocaleService','WebURLService','serializeRangeWithSheet','univer-flex\x20univer-items-center','exhaustSavingTask','DocSkeletonManagerService','_initResize','COLORS','getColorFromTheme','_renderManagerService','startRow','getColor','collab-rect-range-','getMember','_dataLoaderService','YUUMI_RATE_OVER_LIMIT','CONFLICT','type','COMPLETION_FINISHED','startColumn','RemoveColCommandId','handleIRemoveRow','lineTo','clearInterval','getUnitStatus$','CollaborationController','black','get','_transformUndoRedoStack','Shape','INotificationService','origin','APPLY_DUPLICATED','EMAIL_HAS_BEEN_BOUND','_cursor','1101428thmPKn','debug','FETCH_MISS','_configService','_session','_docClipboardService','_render','MessageType','_registerDependencies','transformByState','ColorKit','merge','substring','_cursorInfo$','executeCommand','transform','SNAPSHOT_HAS_BEEN_REMOVED','hasOwnProperty','has','react/jsx-runtime','round','CollaborationUIEventService','getTypeOfUnitDisposed$','_handleHeartbeatEvent','complete','colorChannel1','_labelPosition','resize','addClipboardHook','_setupBeforeClosingHandler','wsSessionTicketUrl','defs','moveTo','getConfig','_collabSessionService','executionId','_getMergeRange','getRelativeToViewportCoord','_textBubble','isTransformMutationFailure','rxjs','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_createSocketURL','onTransformChange$','USER_NOT_INVITED_CODE','UniverUi','6rvrmfA','_localeService','_getSessionTicket','_colorAssignService','collabCursorState$','_entityInit$','NOT_FOUND','useDependency','pipe','isEditing','SheetSkeletonManagerService','_eventUnsubscribe','UniverSheetsUi','exports','_anchorDot','_scheduleSaving','unsubscribe','ILocalCacheService','toString','collabStatus.synced','override','_draw','send','entries','SetDocZoomRatioOperation','_scheduleHeartbeat','10979442GCkVYS','@univerjs/core','closePath','green.600','onCommandExecuted','Failed','SheetCollabCursorShape','symbol','show','toRgbString','_themeService'];_0x4f04=function(){return _0x2ffa20;};return _0x4f04();}
|
|
1
|
+
function _0x30a1(_0x24c434,_0x1a55a9){const _0x2e2272=_0x2e22();return _0x30a1=function(_0x30a15b,_0x61c46b){_0x30a15b=_0x30a15b-0x15d;let _0xf55c53=_0x2e2272[_0x30a15b];return _0xf55c53;},_0x30a1(_0x24c434,_0x1a55a9);}function _0x2e22(){const _0x40b0d3=['_handleLeaveEvent','_refRangeService','_imageIoService','size','_onCursorUpdate','startColumn','asObservable','DocStateChangeManagerService','attrs','APPLY_REJECT','getConfig','trim','ILocalCacheService','transformIMECache','isTransformMutationFailure','createElement','application/json','current','values','DocIMEInputManagerService','WECHAT_HAS_BEEN_BOUND','unsubscribe','_updateURLWithCurrentState','@univerjs/core','transformMutationsWithChangeset','CHANGESET_REVISION_CONFILICT','cursorInfo$','getCoordByCell','getOwnPropertyDescriptor','subscribe','@univerjs/sheets','transformStateCache','_cursor','_hover','getSheetId','_textBubble','Workbook','univer-flex\x20univer-mr-2\x20univer-text-xl','executeCommand','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','SheetsSelectionsService','onPointerEnter$','@univerjs-pro/collaboration','OnLineSingle','@univerjs/rpc','Plugin','_docTransformSelectionsService','replace','send','ranges','rgba(255,\x20255,\x20255,\x200.01)','hide','M0\x200H16V16H0z','delete','_cursors','measureText','OTHER_CLIENTS_EDITING','getCurrentSelections','DeleteRangeMoveLeftCommandId','IRemoteInstanceService','FromArray','Inject','_onRefRangeChange','MoveRangeCommandId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_httpService','top','with','getActiveSheet','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','AWAITING_WITH_PENDING','RefRangeService','_session','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_messageService','save','saveOfflineData','INVITE_CODE_ALREADY_BOUND','18656BfIMkl','setItem','fillRule','CollaborationStatus','selection','getMergeData','distinctUntilChanged','off-line-single_clip0_910_343','IConfigService','range','_docClipboardService','rxjs','isTransformMutationsWithChangesetSuccess','_setupBeforeClosingHandler','SheetSkeletonManagerService','map','UniverProCollaborationClient','_shapes','_updateLocalCursor','OTHER_CLIENT_EDITING','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationUIEventService','SHEET_VIEWPORT_KEY','APPLY_NON_SEQUENTIAL_REVISION','1224064ppXEhc','LocaleService','hovered','row','code','_syncEditingCollabCursorService','collab-rect-range-','3960GgBzVb','_removeClearOtherTimer','getColorFromTheme','setStateCache','PY_RUNTIME_SCRIPT_ERROR','IBeforeCloseService','_getScale','roomMembers','getCellPositionByOffset','Injector','Module','syncEditingCollabCursor','0\x200\x2016\x2016','use','round','blue.400','m2Prime','error','_ensureSubject','_render','disableLocalCache','show','whenReady','UNDEFINED','filter','disposeWithMe','_beforeCloseService','getAncestorScale','_color','UnitStatus','_commandService','div','_refreshCollabCursors','textRanges','hasOwnProperty','storage','_colorIndex','memberID','history','#FFF','COMPLETION_FINISHED','RichTextEditingMutation','_entities','height','restore','BrowserCollaborationSocketService','onPointerMove$','generateRandomId','getSheetObject','symbol','getMemberID','PERMISSION_DENIED','_transformPreviousActiveRange','getDocRanges','DocCollaborationEntity','next','rxjs/operators','_memberService','Error','fillText','MOBILE_HAS_BEEN_BOUND','collaboration.single-unit.warning','_anchorDot','assignAColorForMemberID','setInterval','extend','none','pluginName','_configService','newValue','object','@univerjs/design','min','INVITE_CODE_REQUIRED','toRgbString','_init','INVALID_INVITE_CODE','SetSelectionsOperation','@univerjs/engine-formula','indexOf','_hovered','search','DependentOn','getColor','UniverEngineRender','ITransformService','getParam','_logService','propertyIsEnumerable','permission.content','init','has','InsertColCommandId','_id','registerDependencies','onMouseMove','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','yellow.400','_colorAssignService','NO_OTHER_CLIENTS_EDITING','UniverEngineFormula','url(#$1','getFocusedUnit','permission.title','searchParams','addClipboardHook','_transformHistoryAndStateStack','LICENSE_DISTRO_REJECTED','updateOfflineData','@univerjs/engine-render','transformSelections','_scheduleSaving','handleInsertRangeMoveRight','_registerDependencies','arc','sheetId','CONNECTOR_DATA_TOO_LARGE','_getAnchorBounding','ILogService','ISnapshotServerService','_initStatusListener','getUndoRedoMutationParamsCache','getUnitStatus$','DOC_RANGE_TYPE','substring','CommandType','UNRECOGNIZED','_unitOnClients','defineProperty','OFFLINE','undoState','3504966lJdFvj','TEXT_RANGE_LAYER_INDEX','@univerjs-pro/collaboration-client','_cursorShapes','_config','LICENSE_MAX_UNITS_EXCEEDED','ONLINE','IUniverInstanceService','getUnhiddenWorksheets','CollaborationEvent','sessionStatus$','beginPath','Disposable','_sheetSkeletonManagerService','unshift','#fff','_setupSubUnitSync','_docStateChangeManagerService','INVALID_ARGUMENT','SUBMIT_CHANGESET_TIMEOUT','deserializeRangeWithSheet','VIEW_MAIN','_send','APPLY_REVISION_CONFILICT','handleMoveRange','_instanceService','_name','getMember','takeUntil','YUUMI_AI_RUN_FAILED','Unknown\x20user','_localStorageService','black','debounce','forwardRef','getCollabCursors$','add','SNAPSHOT_INVALID_SNAPSHOT','CONFLICT','BuiltInUIPart','SessionStatus','runOnServer','exports','url(#off-line-single_clip0_910_343)','registerRenderModule','_getMergeRange','setConfig','subscribeEvent','_handleJoinEvent','YUUMI_ALL_TABLES_IS_INVALID','doc.mutation.rich-text-editing','contains','UPDATE_CURSOR','_getSheetObject','PENDING','_registerRenderDependencies','currentColor','assign','column','popstate','_doCreateSocket','transform','_scheduleHeartbeat','IRenderManagerService','_themeService','actions','onLocalMutation','_drawAnchor','forEach','_status$','RemoteUniscriptService','_hideTimer','RemoveColCommandId','green.600','_dataLoaderService','defIds','addHandlerCallback','find','LOGIN_FAILED','merge','_cachedData','_scheduleClearOtherTimer','react','createIdentifier','Vector2','key','9441PdWiDa','getStateCache','fromEventSubject','USERS_LEAVE','endRow','_unitStatus','RECT','_collabCursorController','_cursorInfo$','YUUMI_RATE_OVER_LIMIT','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','urlChange$','clearTimeout','Optional','getTypeOfUnitAdded$','pushState','UniverSheetsUi','LOCAL_CACHE_INTERVAL_KEY','sessionTicket','651pStTqj','UniverCore','set','defs','NodePositionConvertToCursor','UNAUTHENTICATED','collaboration-client-ui.config','INTERNAL_ERROR','ALREADY_EXISTS','deepClone','xlink:href','fillStyle','_online','[CollaborationDataLoaderController]','UNIVER_SHEET','ThemeService','InsertRowCommandId','text','_transformUndoRedoStack','getSheetBySheetId','3894189zHEgur','debounceTime','split','function','_startSheetCollabCursor','handleDeleteRangeMoveLeft','runRefRangeMutations','docStateChange$','then','CollaborationDataLoaderController','requireSession','setParam','unload','toStringTag','SheetCollabCursorShape','params','UniverDrawing','combineLatest','_startDocCollabCursor','_univerInstanceService','_clearOtherTimers','tag','ISocketService','setShapeProps','startsWith','width','0\x200\x2017\x2016','unitID','subUnitId','unit','LOCAL_CACHE_INTERVAL','YUUMI_URL_COL_OUT_OF_RANGE','touchDependencies','NodePositionConvertToRectRange','backgroundColor','collabStatus.synced','2079928kKCKho','_anchor','setAlpha','_uiPartsService','setUndoRedoMutationParamsCache','path','translate(.97)','engine','@univerjs/docs-ui','UniverUi','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','amd','RxDisposable','collabStatus.offline','href','m1Prime','_removeCollabCursors','getOwnPropertySymbols','addObject','getViewport','SetWorksheetActivateCommand','univerjs-icon\x20univerjs-icon-','max','from','_backgroundColor','displayName','Shape','@univerjs/ui','InsertRangeMoveRightCommandId','_initEntityListener','@univerjs/sheets-ui','bottom','executionId','@univerjs/drawing','useDependency','UniverProCollaborationClientUi','_transformService','UNIVER_DOC','loadOfflineData','Subject','subunit','mask','saveTaskMap','some','onTransformChange$','INVITE_CODE_HAS_BEEN_UES','runId','getValue','ColorKit','mutations','jsx','APPLY_DUPLICATED','_revisionService','moveTo','skeleton','parse','_handleHeartbeatEvent','_collaborationUIEventService','string','lineTo','mapTo','registerRefRange','clsx','...','_roomMembers$','loadUnit','DataLoaderService','TOO_MANY_REQUESTS','collabCursorState$','createSocket','on-line-single','ENSURE_SNAPSHOT_EXECUTION','MemberService','_entityInit$','DesktopCollaborationStatusDisplayController','_saveCache','EffectRefRangId','dispose$','getSkeleton','YUUMI_TABLE_NOT_FOUND_IN_UNIT','debug','COLORS','BehaviorSubject','FETCH_MISS','ticket','className','_disabled','YUUMI_SUBSCRIPTION_NOT_FOUND','drawWith','_labelPosition','length','event$','_createSocketURL','_renderManagerService','_handleEvent','_saveTaskMap','_toggleOffline','1em','INotificationService','_collabCursorState$','stringify','_lastPointer','selections','redoState','getCurrent','clearInterval','getOffsetConfig','closePath','registerComponent','collaboration.closeRoom','YUUMI_NO_CUBOID_FOR_QUESTION','getCurrentRevOfUnit','override','NOT_FOUND','_selfUnitIDs','name','USER_NOT_INVITED_CODE','prototype','RegularPolygon','2486090UlIKfq','_collabSessionService','_initEvent','CollaborationSocketService','replaceState','fromEvent','_initDependencies','_injector','_localCacheService','_handleHover','WebBrowserSingleActiveUnitService','transformMutation','apply','DisposableCollection','isArray','UniverNetwork','addEventListener','_drawRectRange','_onCursorDelete','getRelativeToViewportCoord','IImageIoService','color','onRendered','SOCKET_FAILED_RETRY','pipe','/run/','fill','_range','DocSelectionManagerService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','body','OffLineSingle','IDocClipboardService','disposeUnit','_updateCollabCursors','reconnect','UniverDocs','colorChannel1','Warning','React','roomMembers$','enableLocalCache','collabStatus.syncing','complete','children','UniverCollaborationClientUIPlugin','wsSessionTicketUrl','invokeId','entries','push','evenodd','location','IMessageService','handleIRemoveRow','getActiveRange','SNAPSHOT_HAS_BEEN_REMOVED','NOT_COLLAB','UniverRpc','_docSkeletonManagerService','react/jsx-runtime','_heartbeatTimer','getRenderById','currentSkeleton$','currentTheme$','UniverIcon','transformByState','APPLY_PERMISSION_DENIED','collabStatus.notCollab','_getSaveTimeout','get','_docTransformIMECacheService','result','call','CollaborationUIEventId','10swPHOm','_context','RevisionService','Failed','transformRemoteChangeset','LICENSE_IMPORT_SIZE_EXCEEDED','createInstance','collab-client.tooltip.reconnect','_localeService','SYNCED','operators','toDisposable','type','addObjects','UniverProCollaboration','getRangePointData','setActiveRange','_docTransformStateCacheService','_initCommandExecutedListener','exhaustSavingTask','@univerjs/network','isActive','useCallback','_initResize','UniverInstanceType','saveImage','ILocalStorageService','UniverSheets','labelPosition','TEXT','_docSyncEditingCollabCursorService','CollaborationController','YUUMI_UNABLE_LOAD_URL','dispose','collab-text-anchor-','Rectangle','red.300','_notificationService','_draw','random','_toggleOnline','HTTPService','ICommandService','switchMap','CollaborationSessionService','MessageType','cursorInfo','_updateSubUnitFromURLParams','getUnitId','collab-text-range-','getVpScrollXYInfoByPosToVp','Tools','handleInsertCol','toString','icon','svg','_collaborationController','eventID','getUniverSheetInstance','SetTextSelectionsOperation','SOCKET_FAILED','getItem','LICENSE_EXPORT_SIZE_EXCEEDED','_scene','RemoveRowCommandId','idSuffix','YUUMI_ASYNCIO_CANCELLED','_assignedColors','IUIPartsService','onCommandExecuted','SetDocZoomRatioOperation','_urlService','EMAIL_HAS_BEEN_BOUND','_eventUnsubscribe','handleInsertRow','_getSessionTicket','concat','data','replaceDocRanges','editingUnit','font','Rect','MUTATION','unitId'];_0x2e22=function(){return _0x40b0d3;};return _0x2e22();}(function(_0x2629bc,_0x1f031b){const _0x5a9d27=_0x30a1,_0x134c76=_0x2629bc();while(!![]){try{const _0x5baeb9=parseInt(_0x5a9d27(0x29c))/0x1+parseInt(_0x5a9d27(0x198))/0x2+-parseInt(_0x5a9d27(0x3a3))/0x3+parseInt(_0x5a9d27(0x3c7))/0x4+-parseInt(_0x5a9d27(0x1e2))/0x5*(parseInt(_0x5a9d27(0x326))/0x6)+parseInt(_0x5a9d27(0x38f))/0x7*(-parseInt(_0x5a9d27(0x284))/0x8)+-parseInt(_0x5a9d27(0x37c))/0x9*(-parseInt(_0x5a9d27(0x2a3))/0xa);if(_0x5baeb9===_0x1f031b)break;else _0x134c76['push'](_0x134c76['shift']());}catch(_0x1daea8){_0x134c76['push'](_0x134c76['shift']());}}}(_0x2e22,0xaf982),function(_0x59f6ad,_0x2b1eb1){const _0x3ba93a=_0x30a1;typeof exports==_0x3ba93a(0x2e9)&&typeof module<'u'?_0x2b1eb1(exports,require(_0x3ba93a(0x328)),require(_0x3ba93a(0x24d)),require('@univerjs/engine-render'),require(_0x3ba93a(0x1f6)),require(_0x3ba93a(0x3cf)),require(_0x3ba93a(0x3e8)),require(_0x3ba93a(0x28f)),require('@univerjs/docs'),require('@univerjs-pro/collaboration'),require(_0x3ba93a(0x2f1)),require(_0x3ba93a(0x254)),require(_0x3ba93a(0x2db)),require(_0x3ba93a(0x3e5)),require(_0x3ba93a(0x1d3)),require(_0x3ba93a(0x3e2)),require('@univerjs/design'),require(_0x3ba93a(0x378)),require(_0x3ba93a(0x262))):typeof define=='function'&&define[_0x3ba93a(0x3d2)]?define([_0x3ba93a(0x350),'@univerjs-pro/collaboration-client','@univerjs/core',_0x3ba93a(0x310),_0x3ba93a(0x1f6),_0x3ba93a(0x3cf),_0x3ba93a(0x3e8),_0x3ba93a(0x28f),'@univerjs/docs',_0x3ba93a(0x260),'@univerjs/engine-formula',_0x3ba93a(0x254),_0x3ba93a(0x2db),'@univerjs/sheets-ui',_0x3ba93a(0x1d3),_0x3ba93a(0x3e2),_0x3ba93a(0x2ea),_0x3ba93a(0x378),_0x3ba93a(0x262)],_0x2b1eb1):(_0x59f6ad=typeof globalThis<'u'?globalThis:_0x59f6ad||self,_0x2b1eb1(_0x59f6ad[_0x3ba93a(0x3ea)]={},_0x59f6ad[_0x3ba93a(0x294)],_0x59f6ad[_0x3ba93a(0x390)],_0x59f6ad[_0x3ba93a(0x2f7)],_0x59f6ad[_0x3ba93a(0x1a7)],_0x59f6ad['UniverDocsUi'],_0x59f6ad[_0x3ba93a(0x3b3)],_0x59f6ad[_0x3ba93a(0x28f)],_0x59f6ad[_0x3ba93a(0x1bc)],_0x59f6ad[_0x3ba93a(0x1f0)],_0x59f6ad[_0x3ba93a(0x307)],_0x59f6ad[_0x3ba93a(0x1fd)],_0x59f6ad[_0x3ba93a(0x28f)][_0x3ba93a(0x1ec)],_0x59f6ad[_0x3ba93a(0x38c)],_0x59f6ad[_0x3ba93a(0x1bf)],_0x59f6ad[_0x3ba93a(0x3d0)],_0x59f6ad['UniverDesign'],_0x59f6ad[_0x3ba93a(0x1bf)],_0x59f6ad[_0x3ba93a(0x1d1)]));}(this,function(_0x3dc1b0,_0x827ff8,_0x1c002c,_0x8f24d8,_0x286260,_0x567b9,_0x22769d,_0x4287b5,_0x1100fd,_0x376d49,_0x568831,_0x2a4acb,_0x5d572c,_0x17d02e,_0x3c107a,_0x1c1408,_0x29c2d3,_0x59786a,_0x405deb){'use strict';const _0x26cc89=_0x30a1;var _0x2cdba9=Object[_0x26cc89(0x323)],_0x3c1808=(_0x295f11,_0x4f1d6a,_0x995080)=>_0x4f1d6a in _0x295f11?_0x2cdba9(_0x295f11,_0x4f1d6a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x995080}):_0x295f11[_0x4f1d6a]=_0x995080,_0xd9b4bc=(_0x45b1ca,_0xcbb8ec,_0x52ca3c)=>_0x3c1808(_0x45b1ca,typeof _0xcbb8ec!=_0x26cc89(0x2d4)?_0xcbb8ec+'':_0xcbb8ec,_0x52ca3c),_0x270175=Object[_0x26cc89(0x252)],_0x3a4d75=(_0x1a698c,_0x2cdea3,_0xff6c02,_0x5168bb)=>{for(var _0x15cde2=_0x5168bb>0x1?void 0x0:_0x5168bb?_0x270175(_0x2cdea3,_0xff6c02):_0x2cdea3,_0x2d8757=_0x1a698c['length']-0x1,_0x4c8cbb;_0x2d8757>=0x0;_0x2d8757--)(_0x4c8cbb=_0x1a698c[_0x2d8757])&&(_0x15cde2=_0x4c8cbb(_0x15cde2)||_0x15cde2);return _0x15cde2;},_0xe4be94=(_0x257393,_0x4756b5)=>(_0x305e9c,_0x1ea0d7)=>_0x4756b5(_0x305e9c,_0x1ea0d7,_0x257393);let _0x3f0664=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x208971,_0x2d0412){const _0x1ba520=_0x26cc89;super(),this[_0x1ba520(0x28e)]=_0x208971,this[_0x1ba520(0x238)]=_0x2d0412,this['_init']();}[_0x26cc89(0x2ee)](){const _0x489635=_0x26cc89,_0x252fb6=this;this[_0x489635(0x2bc)](this[_0x489635(0x28e)][_0x489635(0x30c)]({'onBeforePasteImage':async _0x58b5a2=>{const _0x3e3109=_0x489635,_0x23bb86=await _0x252fb6[_0x3e3109(0x238)][_0x3e3109(0x1fb)](_0x58b5a2);return _0x23bb86?{'source':_0x23bb86['source'],'imageSourceType':_0x23bb86['imageSourceType']}:null;}}));}};_0x3f0664=_0x3a4d75([_0xe4be94(0x0,_0x567b9[_0x26cc89(0x1b8)]),_0xe4be94(0x1,_0x22769d[_0x26cc89(0x1ac)])],_0x3f0664);const _0x40c15c=['purple.300','jiqing.500',_0x26cc89(0x36f),_0x26cc89(0x206),_0x26cc89(0x2b2),_0x26cc89(0x304)];class _0x328ed8 extends _0x1c002c[_0x26cc89(0x332)]{constructor(){const _0x57813b=_0x26cc89;super(...arguments),_0xd9b4bc(this,_0x57813b(0x225),new Map()),_0xd9b4bc(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x40adfb){const _0x4b8100=_0x26cc89;if(this[_0x4b8100(0x225)][_0x4b8100(0x2fe)](_0x40adfb))return this[_0x4b8100(0x225)][_0x4b8100(0x1dd)](_0x40adfb);const _0x58ee4c=_0x40c15c[this[_0x4b8100(0x2c7)]];return this[_0x4b8100(0x2c7)]=(this[_0x4b8100(0x2c7)]+0x1)%_0x40c15c[_0x4b8100(0x17b)],this[_0x4b8100(0x225)][_0x4b8100(0x391)](_0x40adfb,_0x58ee4c),_0x58ee4c;}}function _0x22f65c(_0x5ad802){let _0x5c796e='';for(const _0x3a6f69 of _0x5ad802){const {startOffset:_0x4cff2a,endOffset:_0x5e50a9,isActive:_0x43a6fc,rangeType:_0x40f45e,segmentId:_0xb827f1,segmentPage:_0x18db35}=_0x3a6f69;_0x5c796e['length']&&(_0x5c796e+=','),_0x5c796e+=_0x4cff2a+':'+_0x5e50a9+':'+(_0x43a6fc?'1':'0')+':'+_0x40f45e+':'+_0xb827f1+':'+_0x18db35;}return _0x5c796e;}function _0x5bbdc4(_0x52f734){const _0x32dd5a=_0x26cc89,_0x2b2806=_0x52f734['split'](','),_0x2b74e5=[];for(const _0x25b23d of _0x2b2806){const [_0x81e01,_0x252058,_0x159eac,_0x25c838,_0x286fb5,_0x22ede9]=_0x25b23d[_0x32dd5a(0x3a5)](':');_0x2b74e5['push']({'startOffset':Number(_0x81e01),'endOffset':Number(_0x252058),'collapsed':_0x81e01===_0x252058,'isActive':_0x159eac==='1','rangeType':_0x25c838===_0x1c002c[_0x32dd5a(0x31e)][_0x32dd5a(0x1ff)]?_0x1c002c[_0x32dd5a(0x31e)][_0x32dd5a(0x1ff)]:_0x1c002c[_0x32dd5a(0x31e)][_0x32dd5a(0x382)],'segmentId':typeof _0x286fb5==_0x32dd5a(0x401)?String(_0x286fb5):'','segmentPage':Number(_0x22ede9!=null?_0x22ede9:-0x1)});}return _0x2b74e5[_0x32dd5a(0x3f2)](_0x1782a7=>_0x1782a7['isActive'])||(_0x2b74e5[0x0][_0x32dd5a(0x1f7)]=!0x0),_0x2b74e5;}class _0x509d7c extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(){const _0x141164=_0x26cc89;super(...arguments),_0xd9b4bc(this,_0x141164(0x184),new _0x4287b5[(_0x141164(0x173))](null)),_0xd9b4bc(this,_0x141164(0x165),this['_collabCursorState$'][_0x141164(0x23c)]());}[_0x26cc89(0x2ae)](_0x157e68){const _0x421e9b=_0x26cc89,{unitID:_0x111bcb,memberID:_0x33d477,textRanges:_0x3e55ff}=_0x157e68,_0x3463a0=_0x22f65c(_0x3e55ff);if(_0x3463a0==='')return;const _0x359370={'unitID':_0x111bcb,'memberID':_0x33d477,'selection':_0x3463a0};this['_collabCursorState$'][_0x421e9b(0x2da)](_0x359370);}}var _0x2dee8f=Object[_0x26cc89(0x252)],_0x15d13b=(_0x4ddb96,_0x249ada,_0x5782dc,_0x47e132)=>{const _0x2b5aa5=_0x26cc89;for(var _0x394bb9=_0x47e132>0x1?void 0x0:_0x47e132?_0x2dee8f(_0x249ada,_0x5782dc):_0x249ada,_0x2bd756=_0x4ddb96[_0x2b5aa5(0x17b)]-0x1,_0x50c9bc;_0x2bd756>=0x0;_0x2bd756--)(_0x50c9bc=_0x4ddb96[_0x2bd756])&&(_0x394bb9=_0x50c9bc(_0x394bb9)||_0x394bb9);return _0x394bb9;},_0x1ea400=(_0x2efe3f,_0x58c0b1)=>(_0x4715dd,_0x3ee38e)=>_0x58c0b1(_0x4715dd,_0x3ee38e,_0x2efe3f);const _0x54b378=0x12c,_0x3ab358=0x64;let _0x1437b5=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x4c918f,_0x52bb94,_0xbf08d9,_0xf5ce49,_0x37f8a8,_0x9a37c4,_0x218da1,_0x32e85b,_0xddf6b6){const _0x288f48=_0x26cc89;super(),_0xd9b4bc(this,_0x288f48(0x39b),!0x1),_0xd9b4bc(this,_0x288f48(0x2ee),!0x1),_0xd9b4bc(this,'_cursorInfo$',new _0x4287b5['BehaviorSubject'](new Map())),_0xd9b4bc(this,_0x288f48(0x250),this[_0x288f48(0x384)][_0x288f48(0x23c)]()),_0xd9b4bc(this,_0x288f48(0x161),new _0x4287b5['BehaviorSubject']([])),_0xd9b4bc(this,_0x288f48(0x1c0),this['_roomMembers$'][_0x288f48(0x1b0)](_0x4287b5[_0x288f48(0x3a4)](_0x54b378))),_0xd9b4bc(this,_0x288f48(0x296),_0x1c002c['debounce'](_0x2b945b=>{const _0x5cb5fe=_0x288f48,_0x382216={'eventID':_0x376d49[_0x5cb5fe(0x32f)][_0x5cb5fe(0x35a)],'data':{'unitID':this[_0x5cb5fe(0x3be)],'memberID':this[_0x5cb5fe(0x27e)][_0x5cb5fe(0x2d5)](),'selection':_0x22f65c(_0x2b945b)}};this[_0x5cb5fe(0x27e)][_0x5cb5fe(0x266)](_0x382216,this['unitID']);},_0x3ab358)),(this[_0x288f48(0x3be)]=_0x4c918f,this['_session']=_0x52bb94,this['_injector']=_0xbf08d9,this['_colorAssignService']=_0xf5ce49,this[_0x288f48(0x2dc)]=_0x37f8a8,this[_0x288f48(0x2a1)]=_0x9a37c4,this['_transformService']=_0x218da1,this[_0x288f48(0x3b6)]=_0x32e85b,this[_0x288f48(0x2c1)]=_0xddf6b6);}get[_0x26cc89(0x210)](){const _0x462981=_0x26cc89;return this['_cursorInfo$'][_0x462981(0x3f6)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x26cc89(0x203)](){const _0x162b7d=_0x26cc89;super['dispose'](),this[_0x162b7d(0x384)][_0x162b7d(0x2da)](new Map()),this['_cursorInfo$'][_0x162b7d(0x1c3)](),this[_0x162b7d(0x161)]['next']([]),this[_0x162b7d(0x161)][_0x162b7d(0x1c3)]();}[_0x26cc89(0x2fd)](){const _0x126fbf=_0x26cc89;this[_0x126fbf(0x2ee)]||(this[_0x126fbf(0x2ee)]=!0x0,this[_0x126fbf(0x27e)]['sessionStatus$'][_0x126fbf(0x1b0)](_0x4287b5[_0x126fbf(0x342)](this[_0x126fbf(0x16e)]))[_0x126fbf(0x253)](_0x519c13=>{const _0xe6a344=_0x126fbf;_0x519c13===_0x827ff8['SessionStatus'][_0xe6a344(0x32c)]?this[_0xe6a344(0x20a)]():this['_toggleOffline']();}),this['_session']['event$'][_0x126fbf(0x1b0)](_0x4287b5[_0x126fbf(0x342)](this[_0x126fbf(0x16e)]))[_0x126fbf(0x253)](_0x449ec8=>{const _0x4cdadd=_0x126fbf,_0x5bc5b7=_0x449ec8[_0x4cdadd(0x21b)];_0x5bc5b7===_0x376d49[_0x4cdadd(0x32f)][_0x4cdadd(0x35a)]&&this[_0x4cdadd(0x23a)](_0x449ec8),_0x5bc5b7===_0x376d49[_0x4cdadd(0x32f)][_0x4cdadd(0x37f)]&&this[_0x4cdadd(0x1aa)](_0x449ec8);}),this[_0x126fbf(0x2bc)](this[_0x126fbf(0x2c1)]['onCommandExecuted'](_0x26b1c4=>{const _0x2bce9f=_0x126fbf,_0x537aa0=_0x26b1c4['params'];_0x537aa0!=null&&this[_0x2bce9f(0x39b)]&&_0x26b1c4['id']===_0x1100fd[_0x2bce9f(0x21d)]['id']&&_0x537aa0[_0x2bce9f(0x235)]===this[_0x2bce9f(0x3be)]&&_0x537aa0['isEditing']===!0x1&&_0x537aa0[_0x2bce9f(0x267)][_0x2bce9f(0x17b)]>0x0&&this['_updateLocalCursor'](_0x537aa0[_0x2bce9f(0x267)]);})),this[_0x126fbf(0x2a1)][_0x126fbf(0x165)][_0x126fbf(0x1b0)](_0x4287b5[_0x126fbf(0x342)](this[_0x126fbf(0x16e)]))[_0x126fbf(0x253)](_0xc6905b=>{const _0x135eff=_0x126fbf;if((_0xc6905b==null?void 0x0:_0xc6905b[_0x135eff(0x3be)])!==this[_0x135eff(0x3be)])return;const _0x70479a={'eventID':_0x376d49[_0x135eff(0x32f)][_0x135eff(0x35a)],'data':_0xc6905b};this[_0x135eff(0x23a)](_0x70479a);}),this['disposeWithMe'](this['_commandService'][_0x126fbf(0x227)](_0x358128=>{const _0x335407=_0x126fbf;if(_0x358128['params']==null)return;const _0x1ddcf9=_0x358128[_0x335407(0x3b2)];if(_0x358128['id']!==_0x1100fd[_0x335407(0x2cc)]['id']||_0x1ddcf9['unitId']!==this[_0x335407(0x3be)])return;const _0x1cefd4={'id':_0x335407(0x358),'params':_0x1ddcf9},_0x1904aa=this['cursorInfo'];for(const [_0x5d01fb,_0x2db446]of _0x1904aa){const _0x228e30={'id':_0x335407(0x358),'params':{'unitId':this[_0x335407(0x3be)],'actions':null,'textRanges':_0x2db446[_0x335407(0x267)]}},_0x1ca16c=this[_0x335407(0x3eb)]['transformMutation'](_0x1cefd4,_0x228e30,!0x1);if(_0x376d49['isTransformMutationFailure'](_0x1ca16c))throw _0x1ca16c['error'];_0x1904aa[_0x335407(0x391)](_0x5d01fb,{..._0x2db446,'ranges':_0x1ca16c['m2Prime'][_0x335407(0x3b2)][_0x335407(0x2c4)]});}queueMicrotask(()=>{const _0x193377=_0x335407;this[_0x193377(0x384)][_0x193377(0x2da)](_0x1904aa);});})));}['_onCursorUpdate'](_0x25fe1c){const _0x41da08=_0x26cc89;var _0x281a6d,_0x1b2cf1;const {memberID:_0x3a555a,selection:_0x5cd529}=_0x25fe1c['data'],_0xfe7a5a=_0x5bbdc4(_0x5cd529),_0x405740=(_0x1b2cf1=(_0x281a6d=this[_0x41da08(0x2dc)][_0x41da08(0x341)](this[_0x41da08(0x3be)],_0x3a555a))==null?void 0x0:_0x281a6d[_0x41da08(0x194)])!=null?_0x1b2cf1:_0x41da08(0x344),_0x5193de={'color':this[_0x41da08(0x305)][_0x41da08(0x2e2)](_0x3a555a),'name':_0x405740,'ranges':_0xfe7a5a},_0x3cfba1=this[_0x41da08(0x210)];_0x3cfba1['set'](_0x3a555a,_0x5193de),this[_0x41da08(0x384)]['next'](_0x3cfba1);}[_0x26cc89(0x1aa)](_0x26ac32){const _0x3b05ec=_0x26cc89,{memberID:_0x22c33c}=_0x26ac32[_0x3b05ec(0x22f)],_0x292a86=this[_0x3b05ec(0x210)];_0x292a86[_0x3b05ec(0x26b)](_0x22c33c),this['_cursorInfo$'][_0x3b05ec(0x2da)](_0x292a86);}[_0x26cc89(0x20a)](){const _0x4c409a=_0x26cc89;var _0x26ee0d;if(this[_0x4c409a(0x39b)]=!0x0,((_0x26ee0d=this[_0x4c409a(0x3b6)][_0x4c409a(0x309)]())==null?void 0x0:_0x26ee0d[_0x4c409a(0x212)]())!==this[_0x4c409a(0x3be)])return;const _0x279602=this[_0x4c409a(0x19f)][_0x4c409a(0x1dd)](_0x1100fd['DocSelectionManagerService'])[_0x4c409a(0x2d8)]();Array['isArray'](_0x279602)&&_0x279602[_0x4c409a(0x17b)]>0x0&&this['_updateLocalCursor'](_0x279602);}[_0x26cc89(0x181)](){const _0x2195d2=_0x26cc89;this[_0x2195d2(0x39b)]=!0x1;}};_0x1437b5=_0x15d13b([_0x1ea400(0x2,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x1ea400(0x3,_0x1c002c[_0x26cc89(0x273)](_0x328ed8)),_0x1ea400(0x4,_0x1c002c[_0x26cc89(0x273)](_0x827ff8['MemberService'])),_0x1ea400(0x5,_0x1c002c[_0x26cc89(0x273)](_0x509d7c)),_0x1ea400(0x6,_0x376d49[_0x26cc89(0x2f8)]),_0x1ea400(0x7,_0x1c002c['IUniverInstanceService']),_0x1ea400(0x8,_0x1c002c['ICommandService'])],_0x1437b5);var _0x3065d1=Object['getOwnPropertyDescriptor'],_0xaff664=(_0x3ff7a7,_0x32ef4a,_0x3053ed,_0x5b2e3c)=>{for(var _0x3aab43=_0x5b2e3c>0x1?void 0x0:_0x5b2e3c?_0x3065d1(_0x32ef4a,_0x3053ed):_0x32ef4a,_0x585c9b=_0x3ff7a7['length']-0x1,_0x40719c;_0x585c9b>=0x0;_0x585c9b--)(_0x40719c=_0x3ff7a7[_0x585c9b])&&(_0x3aab43=_0x40719c(_0x3aab43)||_0x3aab43);return _0x3aab43;},_0x8dbe8=(_0x5f0636,_0x4249aa)=>(_0x3c049d,_0x8c0aab)=>_0x4249aa(_0x3c049d,_0x8c0aab,_0x5f0636);const _0x159c08=0x12c,_0x32d96b=0x64,_0x451e58=()=>{let _0x5ef90b=[],_0xeb8c5a=!0x1;return _0x30d620=>{_0x5ef90b['push'](_0x30d620),_0xeb8c5a||(_0xeb8c5a=!0x0,setTimeout(()=>{const _0x237096=_0x30a1;_0x5ef90b[_0x237096(0x36a)](_0x2d43a2=>_0x2d43a2()),_0x5ef90b=[],_0xeb8c5a=!0x1;}));};};let _0x439e2b=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x12c7cd,_0x3dd9a8,_0x1d1ea6,_0x56a4f3,_0x1e8bd5,_0x50d07e,_0x3f99e5,_0x26b14b){const _0x144b2a=_0x26cc89;super(),_0xd9b4bc(this,_0x144b2a(0x39b),!0x1),_0xd9b4bc(this,'_init',!0x1),_0xd9b4bc(this,_0x144b2a(0x384),new _0x4287b5['BehaviorSubject'](new Map())),_0xd9b4bc(this,_0x144b2a(0x250),this[_0x144b2a(0x384)][_0x144b2a(0x23c)]()),_0xd9b4bc(this,'_roomMembers$',new _0x4287b5[(_0x144b2a(0x173))]([])),_0xd9b4bc(this,'roomMembers$',this[_0x144b2a(0x161)]['pipe'](_0x4287b5[_0x144b2a(0x3a4)](_0x159c08))),_0xd9b4bc(this,_0x144b2a(0x296),_0x1c002c[_0x144b2a(0x347)]((_0x4dcbb2,_0x37708a)=>{const _0x2c4607=_0x144b2a,_0x218a56={'eventID':_0x376d49[_0x2c4607(0x32f)][_0x2c4607(0x35a)],'data':{'unitID':this['unitID'],'memberID':this[_0x2c4607(0x27e)][_0x2c4607(0x2d5)](),'selection':_0x568831['serializeRangeWithSheet'](_0x4dcbb2,_0x37708a['range'])}};this['_session'][_0x2c4607(0x266)](_0x218a56,this[_0x2c4607(0x3be)]);},_0x32d96b)),(this[_0x144b2a(0x3be)]=_0x12c7cd,this[_0x144b2a(0x27e)]=_0x3dd9a8,this[_0x144b2a(0x19f)]=_0x1d1ea6,this[_0x144b2a(0x305)]=_0x56a4f3,this[_0x144b2a(0x2dc)]=_0x1e8bd5,this['_univerInstanceService']=_0x50d07e,this[_0x144b2a(0x2c1)]=_0x3f99e5,this[_0x144b2a(0x237)]=_0x26b14b);}get[_0x26cc89(0x210)](){const _0x3adba1=_0x26cc89;return this[_0x3adba1(0x384)][_0x3adba1(0x3f6)]();}get[_0x26cc89(0x2aa)](){const _0x122f4c=_0x26cc89;return this[_0x122f4c(0x161)]['getValue']();}[_0x26cc89(0x203)](){const _0x59003c=_0x26cc89;super['dispose'](),this[_0x59003c(0x384)]['next'](new Map()),this[_0x59003c(0x384)][_0x59003c(0x1c3)](),this[_0x59003c(0x161)]['next']([]),this['_roomMembers$'][_0x59003c(0x1c3)]();}[_0x26cc89(0x2fd)](){const _0x7a4fcc=_0x26cc89;this[_0x7a4fcc(0x2ee)]||(this[_0x7a4fcc(0x2ee)]=!0x0,this[_0x7a4fcc(0x27e)][_0x7a4fcc(0x330)][_0x7a4fcc(0x1b0)](_0x4287b5['takeUntil'](this[_0x7a4fcc(0x16e)]))[_0x7a4fcc(0x253)](_0x2d7a0b=>{const _0x196c5d=_0x7a4fcc;_0x2d7a0b===_0x827ff8[_0x196c5d(0x34e)]['ONLINE']?this[_0x196c5d(0x20a)]():this[_0x196c5d(0x181)]();}),this[_0x7a4fcc(0x27e)][_0x7a4fcc(0x17c)]['pipe'](_0x4287b5[_0x7a4fcc(0x342)](this[_0x7a4fcc(0x16e)]))[_0x7a4fcc(0x253)](_0x44ca6b=>{const _0x590720=_0x7a4fcc,_0x14258a=_0x44ca6b[_0x590720(0x21b)];_0x14258a===_0x376d49[_0x590720(0x32f)][_0x590720(0x35a)]&&this[_0x590720(0x23a)](_0x44ca6b),_0x14258a===_0x376d49[_0x590720(0x32f)][_0x590720(0x37f)]&&this[_0x590720(0x1aa)](_0x44ca6b);}),this[_0x7a4fcc(0x274)](),this[_0x7a4fcc(0x2bc)](this[_0x7a4fcc(0x2c1)][_0x7a4fcc(0x227)](_0x564e7b=>{const _0x39000c=_0x7a4fcc;if(this[_0x39000c(0x39b)]&&_0x564e7b['id']===_0x2a4acb[_0x39000c(0x2f0)]['id']&&_0x564e7b['params'][_0x39000c(0x235)]===this[_0x39000c(0x3be)]){const _0x54d955=_0x564e7b[_0x39000c(0x3b2)];this['_updateLocalCursor'](_0x54d955[_0x39000c(0x3bf)],_0x54d955[_0x39000c(0x187)][0x0]);}})));}[_0x26cc89(0x23a)](_0x34d78f){const _0x529769=_0x26cc89;var _0x4a2da9,_0x4ca854;const {memberID:_0x5cfd2d,selection:_0x2dd511}=_0x34d78f[_0x529769(0x22f)],{sheetName:_0x3b1796,range:_0x20a908}=_0x568831[_0x529769(0x33a)](_0x2dd511),_0x58f782={'name':(_0x4ca854=(_0x4a2da9=this[_0x529769(0x2dc)][_0x529769(0x341)](this[_0x529769(0x3be)],_0x5cfd2d))==null?void 0x0:_0x4a2da9[_0x529769(0x194)])!=null?_0x4ca854:_0x529769(0x344),'range':this[_0x529769(0x353)](_0x3b1796,_0x20a908),'sheetID':_0x3b1796,'color':this[_0x529769(0x305)][_0x529769(0x2e2)](_0x5cfd2d),'selection':_0x2dd511},_0x2e48fd=this[_0x529769(0x210)];_0x2e48fd[_0x529769(0x391)](_0x5cfd2d,_0x58f782),this[_0x529769(0x384)][_0x529769(0x2da)](_0x2e48fd);}[_0x26cc89(0x1aa)](_0x1967c1){const _0x2c8e71=_0x26cc89,{memberID:_0x5d60df}=_0x1967c1[_0x2c8e71(0x22f)],_0x5185f3=this[_0x2c8e71(0x210)];_0x5185f3[_0x2c8e71(0x26b)](_0x5d60df),this[_0x2c8e71(0x384)]['next'](_0x5185f3);}['_getMergeRange'](_0x20692e,_0xc88aed){const _0x349937=_0x26cc89;var _0x35a728,_0x1c1b4b;const _0x1b8518=(_0x1c1b4b=(_0x35a728=this[_0x349937(0x3b6)][_0x349937(0x21c)](this[_0x349937(0x3be)]))==null?void 0x0:_0x35a728['getSheetBySheetId'](_0x20692e))==null?void 0x0:_0x1c1b4b[_0x349937(0x289)]();return(_0x1b8518==null?void 0x0:_0x1b8518[_0x349937(0x373)](_0x223ea3=>_0x1c002c[_0x349937(0x205)][_0x349937(0x359)](_0x223ea3,_0xc88aed)))||_0xc88aed;}[_0x26cc89(0x274)](){const _0x2d8a4e=_0x26cc89,_0x2b1705=new _0x1c002c[(_0x2d8a4e(0x1a5))](),_0xaf7293=_0x451e58(),_0x2f0d8e=()=>{const _0x153544=_0x2d8a4e;_0x2b1705[_0x153544(0x203)]();const _0x2cebff=(_0x947f3d,_0x43be1d,_0x14ac3b,_0x510bbf)=>{const _0x50db5c=_0x153544;let _0x3f0430=[];switch(_0x947f3d['id']){case _0x2a4acb[_0x50db5c(0x16d)][_0x50db5c(0x270)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x3a8)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)]['DeleteRangeMoveUpCommandId']:{_0x3f0430=_0x2a4acb['handleDeleteRangeMoveUp'](_0x947f3d,_0x510bbf);break;}case _0x2a4acb['EffectRefRangId'][_0x50db5c(0x2ff)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x216)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)]['InsertRangeMoveDownCommandId']:{_0x3f0430=_0x2a4acb['handleInsertRangeMoveDown'](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)][_0x50db5c(0x3e3)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x313)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb['EffectRefRangId'][_0x50db5c(0x39f)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x22c)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)][_0x50db5c(0x275)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x33e)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)][_0x50db5c(0x36e)]:{_0x3f0430=_0x2a4acb['handleIRemoveCol'](_0x947f3d,_0x510bbf);break;}case _0x2a4acb['EffectRefRangId'][_0x50db5c(0x222)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x1cd)](_0x947f3d,_0x510bbf);break;}}const _0x36b9d3=_0x2a4acb[_0x50db5c(0x3a9)](_0x3f0430,_0x510bbf),_0xf0688b=this[_0x50db5c(0x210)][_0x50db5c(0x1dd)](_0x43be1d);if(_0xf0688b&&_0x36b9d3){const _0x44ed4a={..._0xf0688b,'range':_0x36b9d3};this['cursorInfo'][_0x50db5c(0x391)](_0x43be1d,_0x44ed4a),_0xaf7293(()=>{const _0x4d0c58=_0x50db5c,_0x3d33fe=this['_refRangeService'][_0x4d0c58(0x15e)](_0x36b9d3,_0x2473c3=>(_0x3d33fe['dispose'](),_0x2cebff(_0x2473c3,_0x43be1d,_0x14ac3b,_0x36b9d3)));_0x2b1705[_0x4d0c58(0x34a)](_0x3d33fe);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x153544(0x36a)]((_0x25ae26,_0x4417b9)=>{const _0x57a0aa=_0x153544,{range:_0x29e287,sheetID:_0x57e281}=_0x25ae26,_0x433f74=this[_0x57a0aa(0x237)]['registerRefRange'](_0x29e287,_0x48da55=>(_0x433f74[_0x57a0aa(0x203)](),_0x2cebff(_0x48da55,_0x4417b9,_0x57e281,_0x29e287)));_0x2b1705[_0x57a0aa(0x34a)](_0x433f74);});};this[_0x2d8a4e(0x2bc)](_0x1c002c[_0x2d8a4e(0x1ed)](this['_cursorInfo$']['subscribe'](()=>{_0x2f0d8e();})));}[_0x26cc89(0x20a)](){const _0x235209=_0x26cc89;var _0x3fa64a,_0x43f613;if(this[_0x235209(0x39b)]=!0x0,((_0x3fa64a=this[_0x235209(0x3b6)]['getFocusedUnit']())==null?void 0x0:_0x3fa64a[_0x235209(0x212)]())!==this[_0x235209(0x3be)])return;const _0x2909bf=(_0x43f613=this['_injector'][_0x235209(0x1dd)](_0x2a4acb[_0x235209(0x25e)])[_0x235209(0x26f)]())==null?void 0x0:_0x43f613[0x0],_0x471217=this[_0x235209(0x3b6)]['getCurrentUnitForType'](_0x1c002c[_0x235209(0x1fa)]['UNIVER_SHEET'])[_0x235209(0x27a)]();_0x2909bf&&_0x471217&&this[_0x235209(0x296)](_0x471217['getSheetId'](),_0x2909bf);}['_toggleOffline'](){const _0x311f37=_0x26cc89;this[_0x311f37(0x39b)]=!0x1;}};_0x439e2b=_0xaff664([_0x8dbe8(0x2,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x8dbe8(0x3,_0x1c002c[_0x26cc89(0x273)](_0x328ed8)),_0x8dbe8(0x4,_0x1c002c[_0x26cc89(0x273)](_0x827ff8[_0x26cc89(0x169)])),_0x8dbe8(0x5,_0x1c002c[_0x26cc89(0x32d)]),_0x8dbe8(0x6,_0x1c002c[_0x26cc89(0x20c)]),_0x8dbe8(0x7,_0x1c002c['Inject'](_0x2a4acb[_0x26cc89(0x27d)]))],_0x439e2b);var _0x1ffaad=Object[_0x26cc89(0x252)],_0x1d382f=(_0x4801f2,_0x5b5e44,_0x19c2c8,_0xd652d)=>{const _0x6eb0bf=_0x26cc89;for(var _0x49fb0a=_0xd652d>0x1?void 0x0:_0xd652d?_0x1ffaad(_0x5b5e44,_0x19c2c8):_0x5b5e44,_0x478461=_0x4801f2[_0x6eb0bf(0x17b)]-0x1,_0x8d24f3;_0x478461>=0x0;_0x478461--)(_0x8d24f3=_0x4801f2[_0x478461])&&(_0x49fb0a=_0x8d24f3(_0x49fb0a)||_0x49fb0a);return _0x49fb0a;},_0xbe28ab=(_0x3690a6,_0x300e8e)=>(_0x202d12,_0x3b36d5)=>_0x300e8e(_0x202d12,_0x3b36d5,_0x3690a6);let _0x402205=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x530fd2,_0x1396b7,_0x357fb2){const _0x190778=_0x26cc89;super(),_0xd9b4bc(this,_0x190778(0x2cd),new Map()),_0xd9b4bc(this,_0x190778(0x16a),new _0x4287b5[(_0x190778(0x3ee))]()),(this['_univerInstanceService']=_0x530fd2,this[_0x190778(0x19f)]=_0x1396b7,this[_0x190778(0x199)]=_0x357fb2,this[_0x190778(0x2ee)]());}[_0x26cc89(0x203)](){const _0x92857b=_0x26cc89;super[_0x92857b(0x203)](),this[_0x92857b(0x16a)]['complete'](),this[_0x92857b(0x2cd)][_0x92857b(0x36a)](_0x109f9d=>_0x109f9d[_0x92857b(0x203)]());}[_0x26cc89(0x349)](_0x3e21a8){const _0x132699=_0x26cc89;return this[_0x132699(0x2cd)][_0x132699(0x2fe)](_0x3e21a8)?this[_0x132699(0x2cd)]['get'](_0x3e21a8)[_0x132699(0x250)]:this[_0x132699(0x16a)]['pipe'](_0x4287b5[_0x132699(0x2bb)](_0x57cbf7=>_0x57cbf7[_0x132699(0x3be)]===_0x3e21a8),_0x4287b5[_0x132699(0x20d)](_0x5be9f2=>_0x5be9f2[_0x132699(0x250)]));}[_0x26cc89(0x2ee)](){const _0x20fc8f=_0x26cc89;this[_0x20fc8f(0x3b6)][_0x20fc8f(0x38a)](_0x1c002c[_0x20fc8f(0x1fa)][_0x20fc8f(0x39d)])[_0x20fc8f(0x1b0)](_0x4287b5['takeUntil'](this[_0x20fc8f(0x16e)]))[_0x20fc8f(0x253)](async _0x59042f=>{const _0x37ea48=_0x20fc8f,_0x3c0efc=_0x59042f[_0x37ea48(0x212)](),_0x418696=await this[_0x37ea48(0x3a7)](_0x3c0efc);this[_0x37ea48(0x16a)][_0x37ea48(0x2da)](_0x418696),this['_entities'][_0x37ea48(0x391)](_0x3c0efc,_0x418696);}),this[_0x20fc8f(0x3b6)][_0x20fc8f(0x38a)](_0x1c002c[_0x20fc8f(0x1fa)]['UNIVER_DOC'])[_0x20fc8f(0x1b0)](_0x4287b5[_0x20fc8f(0x342)](this['dispose$']))[_0x20fc8f(0x1b0)](_0x4287b5[_0x20fc8f(0x2bb)](_0x35e892=>!_0x35e892['getUnitId']()[_0x20fc8f(0x3bb)]('__')))[_0x20fc8f(0x253)](async _0x4402d4=>{const _0x127c0f=_0x20fc8f,_0x47312c=_0x4402d4[_0x127c0f(0x212)](),_0x4de8d8=await this['_startDocCollabCursor'](_0x47312c);this['_entityInit$'][_0x127c0f(0x2da)](_0x4de8d8),this[_0x127c0f(0x2cd)][_0x127c0f(0x391)](_0x47312c,_0x4de8d8);}),_0x4287b5[_0x20fc8f(0x375)](this[_0x20fc8f(0x3b6)]['getTypeOfUnitDisposed$'](_0x1c002c[_0x20fc8f(0x1fa)][_0x20fc8f(0x3ec)]),this[_0x20fc8f(0x3b6)]['getTypeOfUnitDisposed$'](_0x1c002c[_0x20fc8f(0x1fa)][_0x20fc8f(0x39d)]))[_0x20fc8f(0x1b0)](_0x4287b5['takeUntil'](this['dispose$']))[_0x20fc8f(0x253)](_0x43e1a1=>{const _0x5c7d0d=_0x20fc8f,_0x46483=_0x43e1a1[_0x5c7d0d(0x212)](),_0x1643c9=this['_entities'][_0x5c7d0d(0x1dd)](_0x46483);_0x1643c9&&(_0x1643c9[_0x5c7d0d(0x203)](),this[_0x5c7d0d(0x2cd)]['delete'](_0x46483));});}async[_0x26cc89(0x3a7)](_0x35207f){const _0x2f62b0=_0x26cc89,_0x35f600=await this[_0x2f62b0(0x199)]['requireSession'](_0x35207f),_0x28648c=this[_0x2f62b0(0x19f)][_0x2f62b0(0x1e8)](_0x439e2b,_0x35207f,_0x35f600);return _0x28648c['init'](),_0x28648c;}async[_0x26cc89(0x3b5)](_0x16f6a0){const _0x42b2c5=_0x26cc89,_0x5db4d6=await this[_0x42b2c5(0x199)][_0x42b2c5(0x3ad)](_0x16f6a0),_0x2a523b=this[_0x42b2c5(0x19f)]['createInstance'](_0x1437b5,_0x16f6a0,_0x5db4d6);return _0x2a523b[_0x42b2c5(0x2fd)](),_0x2a523b;}};_0x402205=_0x1d382f([_0xbe28ab(0x0,_0x1c002c[_0x26cc89(0x32d)]),_0xbe28ab(0x1,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0xbe28ab(0x2,_0x1c002c[_0x26cc89(0x273)](_0x827ff8[_0x26cc89(0x20e)]))],_0x402205);const _0x3f14c6=0x14,_0xe8255e=0xc8,_0x386c39=0x4,_0x2ac68f=0x5;function _0x3a6306(_0x51bbe1,_0x5dab90){const _0x1e7af4=_0x26cc89;let {radius:_0xc2684d,width:_0x74c976,height:_0x190e3e}=_0x5dab90;_0xc2684d=_0xc2684d!=null?_0xc2684d:0x0,_0x74c976=_0x74c976!=null?_0x74c976:0x1e,_0x190e3e=_0x190e3e!=null?_0x190e3e:0x1e;let _0x4410f6=0x0,_0x42cdff=0x0,_0x5875cc=0x0;_0x4410f6=_0x42cdff=_0x5875cc=Math[_0x1e7af4(0x2eb)](_0xc2684d,_0x74c976/0x2,_0x190e3e/0x2),_0x51bbe1[_0x1e7af4(0x331)](),_0x51bbe1[_0x1e7af4(0x3fc)](_0x4410f6,0x0),_0x51bbe1[_0x1e7af4(0x402)](_0x74c976-_0x42cdff,0x0),_0x51bbe1[_0x1e7af4(0x315)](_0x74c976-_0x42cdff,_0x42cdff,_0x42cdff,Math['PI']*0x3/0x2,0x0,!0x1),_0x51bbe1['lineTo'](_0x74c976,_0x190e3e-_0x5875cc),_0x51bbe1[_0x1e7af4(0x315)](_0x74c976-_0x5875cc,_0x190e3e-_0x5875cc,_0x5875cc,0x0,Math['PI']/0x2,!0x1),_0x51bbe1['lineTo'](0x0,_0x190e3e),_0x51bbe1[_0x1e7af4(0x402)](0x0,_0x4410f6),_0x51bbe1['arc'](_0x4410f6,_0x4410f6,_0x4410f6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x51bbe1[_0x1e7af4(0x18c)](),_0x5dab90[_0x1e7af4(0x1b2)]&&(_0x51bbe1[_0x1e7af4(0x281)](),_0x51bbe1[_0x1e7af4(0x39a)]=_0x5dab90['fill'],_0x5dab90[_0x1e7af4(0x286)]===_0x1e7af4(0x1ca)?_0x51bbe1[_0x1e7af4(0x1b2)](_0x1e7af4(0x1ca)):_0x51bbe1[_0x1e7af4(0x1b2)](),_0x51bbe1[_0x1e7af4(0x2cf)]());}class _0x260980 extends _0x8f24d8[_0x26cc89(0x3e1)]{constructor(_0x145958,_0x317c50){const _0x1fd537=_0x26cc89;super(_0x145958,_0x317c50),_0xd9b4bc(this,_0x1fd537(0x1ad)),_0xd9b4bc(this,_0x1fd537(0x3a0)),(this[_0x1fd537(0x1ad)]=_0x317c50==null?void 0x0:_0x317c50[_0x1fd537(0x1ad)],this['text']=_0x317c50==null?void 0x0:_0x317c50[_0x1fd537(0x3a0)]);}static[_0x26cc89(0x179)](_0x505d90,_0x453521){const _0x34c1b2=_0x26cc89,{text:_0x52059e,color:_0x2918e7}=_0x453521;_0x505d90['save'](),_0x505d90[_0x34c1b2(0x232)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x30f56a=_0x505d90[_0x34c1b2(0x26d)](_0x52059e)[_0x34c1b2(0x3bc)],_0x57bb88=Math['min'](_0x30f56a+0x2*_0x386c39,_0xe8255e);_0x3a6306(_0x505d90,{'height':_0x3f14c6,'radius':0x4,'width':_0x57bb88,'fill':_0x2918e7}),_0x505d90[_0x34c1b2(0x39a)]=_0x34c1b2(0x2ca);const _0x2ae771=_0x386c39,_0x88306b=_0x3f14c6-_0x2ac68f,_0x11a3ca=_0xe8255e-0x2*_0x386c39;if(_0x30f56a>_0x11a3ca){let _0x25800f='',_0xb69bab=0x0;for(const _0x152035 of _0x52059e){const _0x26f8b1=_0x505d90['measureText'](_0x152035)[_0x34c1b2(0x3bc)];if(_0xb69bab+_0x26f8b1<=_0x11a3ca-_0x505d90[_0x34c1b2(0x26d)](_0x34c1b2(0x160))['width'])_0x25800f+=_0x152035,_0xb69bab+=_0x26f8b1;else{_0x25800f+=_0x34c1b2(0x160);break;}}_0x505d90[_0x34c1b2(0x2de)](_0x25800f,_0x2ae771,_0x88306b);}else _0x505d90[_0x34c1b2(0x2de)](_0x52059e,_0x2ae771,_0x88306b);_0x505d90[_0x34c1b2(0x2cf)]();}['_draw'](_0x1429c5){_0x260980['drawWith'](_0x1429c5,this);}}const _0x55615e=_0x26cc89(0x204),_0x46a9c4=_0x26cc89(0x213),_0x19483a=_0x26cc89(0x2a2),_0x3770be=0x6,_0x44362b=1.5,_0x566e9a=0x4,_0x17b72d=1.5,_0x422437=_0x26cc89(0x268);class _0x44bb85{constructor(_0x10a426,_0x556820,_0x44a903,_0x33edcf){const _0x30f252=_0x26cc89;_0xd9b4bc(this,'_shapes',[]),_0xd9b4bc(this,'_anchor',null),_0xd9b4bc(this,_0x30f252(0x259),null),_0xd9b4bc(this,_0x30f252(0x2e1),null),_0xd9b4bc(this,_0x30f252(0x36d),null),_0xd9b4bc(this,_0x30f252(0x22b),null),(this[_0x30f252(0x256)]=_0x10a426,this[_0x30f252(0x221)]=_0x556820,this['_docSkeleton']=_0x44a903,this['_document']=_0x33edcf,this[_0x30f252(0x2b6)]());}set[_0x26cc89(0x257)](_0x2f048d){const _0x1ac4df=_0x26cc89;_0x2f048d?(this[_0x1ac4df(0x2e1)]&&this[_0x1ac4df(0x2e1)][_0x1ac4df(0x269)](),this[_0x1ac4df(0x259)]&&this['_textBubble'][_0x1ac4df(0x2b8)]()):(this['_anchorDot']&&this[_0x1ac4df(0x2e1)][_0x1ac4df(0x2b8)](),this['_textBubble']&&this[_0x1ac4df(0x259)][_0x1ac4df(0x269)]());}['dispose'](){const _0x1a620f=_0x26cc89;for(const _0x824f80 of this[_0x1a620f(0x295)])_0x824f80[_0x1a620f(0x203)]();this[_0x1a620f(0x259)]&&this[_0x1a620f(0x259)][_0x1a620f(0x203)](),this[_0x1a620f(0x2e1)]&&this[_0x1a620f(0x2e1)][_0x1a620f(0x203)](),this[_0x1a620f(0x3c8)]&&this[_0x1a620f(0x3c8)][_0x1a620f(0x203)](),this[_0x1a620f(0x22b)]&&this[_0x1a620f(0x22b)]();}[_0x26cc89(0x2b6)](){const _0x58de6d=_0x26cc89;var _0x3c90e2;const {_docSkeleton:_0x5d6832,_document:_0x35d4a1}=this,{color:_0xc3eb53,name:_0x20428e,ranges:_0x3e394b}=this[_0x58de6d(0x256)],_0x46fb78=_0x35d4a1[_0x58de6d(0x18b)](),{docsLeft:_0x3b7561,docsTop:_0x33f101}=_0x46fb78,_0x1c5584=new _0x567b9[(_0x58de6d(0x393))](_0x46fb78,_0x5d6832);for(const {startOffset:_0x4ab36a,endOffset:_0x50a257,rangeType:_0x4a5c9b,segmentId:_0x4bd11d,segmentPage:_0x280a4a,collapsed:_0x572640,isActive:_0x59df65}of _0x3e394b){const _0x296e9a=_0x5d6832['findNodePositionByCharIndex'](_0x4ab36a,!0x0,_0x4bd11d,_0x280a4a);let _0x3d37d5=_0x5d6832['findNodePositionByCharIndex'](_0x50a257,!0x0,_0x4bd11d,_0x280a4a);if(_0x3d37d5==null&&(_0x3d37d5=_0x5d6832['findNodePositionByCharIndex'](_0x50a257-0x1,!0x1,_0x4bd11d,_0x280a4a)),_0x59df65){const {contentBoxPointGroup:_0x1dc982}=_0x1c5584[_0x58de6d(0x1f1)](_0x3d37d5,_0x3d37d5);if(_0x1dc982[_0x58de6d(0x17b)]===0x0)continue;this[_0x58de6d(0x369)](_0xc3eb53,_0x1dc982,_0x3b7561,_0x33f101,_0x20428e),this[_0x58de6d(0x22b)]=this['_handleHover']();}if(_0x296e9a&&_0x3d37d5){if(_0x4a5c9b===_0x1c002c[_0x58de6d(0x31e)][_0x58de6d(0x382)]){const _0x2fa6ad=new _0x567b9[(_0x58de6d(0x3c4))](_0x46fb78,_0x5d6832),{pointGroup:_0x4b9ca6}=(_0x3c90e2=_0x2fa6ad[_0x58de6d(0x1f1)](_0x296e9a,_0x3d37d5))!=null?_0x3c90e2:{};if(_0x4b9ca6==null||_0x4b9ca6[_0x58de6d(0x17b)]===0x0)continue;this[_0x58de6d(0x1a9)](_0xc3eb53,_0x4b9ca6,_0x3b7561,_0x33f101);}else{if(!_0x572640){const {borderBoxPointGroup:_0x13f4f2}=_0x1c5584[_0x58de6d(0x1f1)](_0x296e9a,_0x3d37d5);if(_0x13f4f2[_0x58de6d(0x17b)]===0x0)continue;this['_drawTextRange'](_0xc3eb53,_0x13f4f2,_0x3b7561,_0x33f101);}}}}}['_drawAnchor'](_0x367c6b,_0x2d4fc4,_0x4f9135,_0x12001c,_0x2bb0ae){const _0x593979=_0x26cc89,_0x56e1cd=this[_0x593979(0x318)](_0x2d4fc4),{left:_0x40b217,top:_0x18ce31,height:_0x5d0c96}=_0x56e1cd,_0x493a42=this[_0x593979(0x2a9)](),_0x132a95=_0x17b72d/_0x493a42,_0x597cc4=new _0x8f24d8[(_0x593979(0x233))](_0x55615e+_0x1c002c[_0x593979(0x215)]['generateRandomId'](_0x3770be),{'left':_0x40b217+_0x4f9135-_0x132a95,'top':_0x18ce31+_0x12001c,'height':_0x5d0c96,'width':_0x44362b,'fill':_0x367c6b||_0x8f24d8[_0x593979(0x2f6)](_0x1c002c[_0x593979(0x172)][_0x593979(0x346)],0x0),'strokeWidth':_0x132a95,'stroke':_0x422437,'evented':!0x0});this[_0x593979(0x3c8)]=_0x597cc4,this['_scene'][_0x593979(0x3d9)](_0x597cc4,_0x567b9['TEXT_RANGE_LAYER_INDEX']);const _0x144baf=new _0x8f24d8[(_0x593979(0x233))](_0x55615e+_0x1c002c[_0x593979(0x215)][_0x593979(0x2d2)](_0x3770be),{'left':_0x40b217+_0x4f9135-_0x132a95,'top':_0x18ce31+_0x12001c-_0x566e9a/0x2,'height':_0x566e9a,'width':_0x566e9a,'fill':_0x367c6b||_0x8f24d8['getColor'](_0x1c002c['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x367c6b||_0x8f24d8[_0x593979(0x2f6)](_0x1c002c[_0x593979(0x172)][_0x593979(0x346)],0x0),'evented':!0x1});this[_0x593979(0x2e1)]=_0x144baf,this[_0x593979(0x221)]['addObject'](_0x144baf,_0x567b9[_0x593979(0x327)]);const _0x118c00=new _0x260980(_0x55615e+_0x1c002c[_0x593979(0x215)][_0x593979(0x2d2)](_0x3770be),{'left':_0x40b217+_0x4f9135-_0x132a95,'top':_0x18ce31+_0x12001c-_0x3f14c6,'text':_0x2bb0ae,'color':_0x367c6b});this[_0x593979(0x259)]=_0x118c00,this[_0x593979(0x221)][_0x593979(0x3d9)](_0x118c00,_0x567b9[_0x593979(0x327)]),this['_hover']=!0x1;}[_0x26cc89(0x1a1)](){const _0x2ef763=_0x26cc89,_0x50a055=this[_0x2ef763(0x3c8)]['onPointerEnter$'][_0x2ef763(0x355)](()=>{const _0xe821c7=_0x2ef763;this[_0xe821c7(0x257)]=!0x0;}),_0x546934=this[_0x2ef763(0x3c8)]['onPointerLeave$'][_0x2ef763(0x355)](()=>{const _0x28c24a=_0x2ef763;this['_hideTimer']&&clearTimeout(this[_0x28c24a(0x36d)]),this[_0x28c24a(0x36d)]=setTimeout(()=>{const _0x25a65e=_0x28c24a;this[_0x25a65e(0x257)]=!0x1;},0x7d0);});return()=>{const _0x463ff8=_0x2ef763;_0x50a055[_0x463ff8(0x24b)](),_0x546934[_0x463ff8(0x24b)]();};}['_drawTextRange'](_0x42e166,_0x552967,_0x3f35f0,_0x536ab8){const _0x50ef9f=_0x26cc89,_0x599722=new _0x1c002c['ColorKit'](_0x42e166)[_0x50ef9f(0x3c9)](0.2)[_0x50ef9f(0x2ed)](),_0x5d6772=new _0x8f24d8[(_0x50ef9f(0x197))](_0x46a9c4+_0x1c002c[_0x50ef9f(0x215)][_0x50ef9f(0x2d2)](_0x3770be),{'pointsGroup':_0x552967,'fill':_0x599722||_0x8f24d8[_0x50ef9f(0x2f6)](_0x1c002c[_0x50ef9f(0x172)][_0x50ef9f(0x346)],0.2),'left':_0x3f35f0,'top':_0x536ab8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x50ef9f(0x295)]['push'](_0x5d6772),this[_0x50ef9f(0x221)][_0x50ef9f(0x3d9)](_0x5d6772,_0x567b9[_0x50ef9f(0x327)]);}[_0x26cc89(0x1a9)](_0x4890fd,_0x2741ee,_0x2757bb,_0xf6493d){const _0x384cf3=_0x26cc89,_0x527d85=new _0x1c002c[(_0x384cf3(0x3f7))](_0x4890fd)[_0x384cf3(0x3c9)](0.2)[_0x384cf3(0x2ed)](),_0x178cad=new _0x8f24d8[(_0x384cf3(0x197))](_0x19483a+_0x1c002c[_0x384cf3(0x215)][_0x384cf3(0x2d2)](_0x3770be),{'pointsGroup':_0x2741ee,'fill':_0x527d85||_0x8f24d8['getColor'](_0x1c002c['COLORS'][_0x384cf3(0x346)],0.2),'left':_0x2757bb,'top':_0xf6493d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x384cf3(0x1c9)](_0x178cad),this[_0x384cf3(0x221)][_0x384cf3(0x3d9)](_0x178cad,_0x567b9[_0x384cf3(0x327)]);}[_0x26cc89(0x318)](_0x46aff9){const _0x35e352=_0x46aff9[0x0],_0x3155fd=_0x35e352[0x0],_0x317c27=_0x35e352[0x2],{x:_0x214284,y:_0x387ad4}=_0x3155fd,{x:_0x4ee6a7,y:_0x51e7a9}=_0x317c27;return{'left':_0x214284,'top':_0x387ad4,'width':_0x4ee6a7-_0x214284,'height':_0x51e7a9-_0x387ad4};}['_getScale'](){const _0x36fccb=_0x26cc89,{scaleX:_0x3e9566,scaleY:_0x5a5a81}=this[_0x36fccb(0x221)]['getAncestorScale']();return Math[_0x36fccb(0x3dd)](_0x3e9566,_0x5a5a81);}}var _0x309487=Object['getOwnPropertyDescriptor'],_0x35a786=(_0x432f9f,_0xfa709b,_0x4e82d8,_0x4cbd3a)=>{for(var _0x420e9f=_0x4cbd3a>0x1?void 0x0:_0x4cbd3a?_0x309487(_0xfa709b,_0x4e82d8):_0xfa709b,_0x4ed9ab=_0x432f9f['length']-0x1,_0x3bbc8f;_0x4ed9ab>=0x0;_0x4ed9ab--)(_0x3bbc8f=_0x432f9f[_0x4ed9ab])&&(_0x420e9f=_0x3bbc8f(_0x420e9f)||_0x420e9f);return _0x420e9f;},_0xab5090=(_0x5a6773,_0x15d570)=>(_0x272262,_0x422735)=>_0x15d570(_0x272262,_0x422735,_0x5a6773);let _0x1b4ad8=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x1e7243,_0xd47d09,_0x636fb7,_0x30b4f6,_0x243671){const _0x479884=_0x26cc89;super(),_0xd9b4bc(this,_0x479884(0x329),[]),_0xd9b4bc(this,_0x479884(0x26c),[]),(this[_0x479884(0x1e3)]=_0x1e7243,this[_0x479884(0x1d2)]=_0xd47d09,this[_0x479884(0x383)]=_0x636fb7,this['_commandService']=_0x30b4f6,this[_0x479884(0x366)]=_0x243671,this[_0x479884(0x2ee)]());}[_0x26cc89(0x2ee)](){const _0x188df2=_0x26cc89,_0x4aa8f8=this[_0x188df2(0x1e3)][_0x188df2(0x235)],_0x4b70be=this[_0x188df2(0x1d2)];this[_0x188df2(0x2bc)](_0x4287b5[_0x188df2(0x3b4)]([this[_0x188df2(0x383)][_0x188df2(0x349)](_0x4aa8f8),this[_0x188df2(0x366)]['currentTheme$']])[_0x188df2(0x1b0)](_0x5d572c[_0x188df2(0x293)](([_0x26156c,_0x5618a1])=>({'skeleton':_0x4b70be[_0x188df2(0x16f)](),'cursors':[..._0x26156c[_0x188df2(0x248)]()]['flatMap'](_0x2ca973=>({..._0x2ca973,'color':this['_themeService']['getColorFromTheme'](_0x2ca973['color'])}))})))[_0x188df2(0x253)](_0x33eb72=>{const _0x365eb8=_0x188df2;if(this[_0x365eb8(0x3d7)](),_0x33eb72){const {skeleton:_0x2e33b5,cursors:_0x1309e6}=_0x33eb72;this[_0x365eb8(0x1ba)](_0x2e33b5,_0x1309e6);}})),this[_0x188df2(0x1f9)](),this[_0x188df2(0x1f4)]();}[_0x26cc89(0x1ba)](_0x36a6bf,_0x289843){const _0x1dadfb=_0x26cc89,{scene:_0x53fa4d,mainComponent:_0x4206ef}=this[_0x1dadfb(0x1e3)],_0x26e2c2=_0x289843[_0x1dadfb(0x293)](_0x14c0c2=>new _0x44bb85(_0x14c0c2,_0x53fa4d,_0x36a6bf,_0x4206ef));this['_cursorShapes']=_0x26e2c2,this[_0x1dadfb(0x26c)]=_0x289843;}[_0x26cc89(0x2c3)](){const _0x14188c=_0x26cc89;this['_removeCollabCursors']();const {scene:_0xfd5581,mainComponent:_0x3d341f}=this[_0x14188c(0x1e3)],_0x1a990e=this[_0x14188c(0x1d2)]['getSkeleton'](),_0x8092a7=this[_0x14188c(0x26c)][_0x14188c(0x293)](_0x12c919=>new _0x44bb85(_0x12c919,_0xfd5581,_0x1a990e,_0x3d341f));this[_0x14188c(0x329)]=_0x8092a7;}[_0x26cc89(0x3d7)](){const _0x22bc22=_0x26cc89;this['_cursorShapes'][_0x22bc22(0x36a)](_0x470462=>_0x470462['dispose']()),this[_0x22bc22(0x329)]=[];}['_initCommandExecutedListener'](){const _0x484fbe=_0x26cc89,_0x2c5bbe=[_0x567b9[_0x484fbe(0x228)]['id']];this[_0x484fbe(0x2bc)](this[_0x484fbe(0x2c1)][_0x484fbe(0x227)](_0x47af2e=>{const _0x3ae6d1=_0x484fbe;_0x2c5bbe['includes'](_0x47af2e['id'])&&_0x47af2e[_0x3ae6d1(0x3b2)][_0x3ae6d1(0x235)]===this['_context'][_0x3ae6d1(0x235)]&&this['_refreshCollabCursors']();}));}[_0x26cc89(0x1f9)](){const _0x5c133a=_0x26cc89;this['disposeWithMe'](_0x1c002c[_0x5c133a(0x37e)](this[_0x5c133a(0x1e3)][_0x5c133a(0x3ce)][_0x5c133a(0x3f3)])[_0x5c133a(0x1b0)](_0x5d572c[_0x5c133a(0x2bb)](_0x5bd779=>_0x5bd779[_0x5c133a(0x1ee)]===_0x8f24d8[_0x5c133a(0x27f)]['resize']),_0x5d572c['throttleTime'](0x10))[_0x5c133a(0x253)](()=>{const _0x521c1d=_0x5c133a;this[_0x521c1d(0x2c3)]();}));}};_0x1b4ad8=_0x35a786([_0xab5090(0x1,_0x1c002c[_0x26cc89(0x273)](_0x1100fd['DocSkeletonManagerService'])),_0xab5090(0x2,_0x1c002c[_0x26cc89(0x273)](_0x402205)),_0xab5090(0x3,_0x1c002c[_0x26cc89(0x20c)]),_0xab5090(0x4,_0x1c002c['Inject'](_0x1c002c[_0x26cc89(0x39e)]))],_0x1b4ad8);const _0x467d3d=0x1,_0x4999e9=1.5;class _0x9aba2b extends _0x8f24d8['Shape']{constructor(_0x4ecce1,_0x1bbb03){const _0x19fea4=_0x26cc89;super(_0x4ecce1,_0x1bbb03),_0xd9b4bc(this,_0x19fea4(0x2bf)),_0xd9b4bc(this,_0x19fea4(0x2f3),!0x1),_0xd9b4bc(this,_0x19fea4(0x1b3)),_0xd9b4bc(this,_0x19fea4(0x340),''),_0xd9b4bc(this,_0x19fea4(0x17a),_0x19fea4(0x278)),_0xd9b4bc(this,_0x19fea4(0x3df)),(_0x1bbb03&&this['setShapeProps'](_0x1bbb03),this[_0x19fea4(0x25f)]['subscribeEvent'](()=>this[_0x19fea4(0x3ba)]({'hovered':!0x0})),this['onPointerLeave$'][_0x19fea4(0x355)](()=>this[_0x19fea4(0x3ba)]({'hovered':!0x1})));}[_0x26cc89(0x3ba)](_0x18f386){const _0x13a4ae=_0x26cc89;var _0x1560d1,_0x3caba5,_0x6b213e,_0x287667,_0x3edd86,_0x211921;this[_0x13a4ae(0x2bf)]=(_0x1560d1=_0x18f386['color'])!=null?_0x1560d1:this[_0x13a4ae(0x2bf)],this[_0x13a4ae(0x2f3)]=(_0x3caba5=_0x18f386[_0x13a4ae(0x29e)])!=null?_0x3caba5:this[_0x13a4ae(0x2f3)],this['_range']=(_0x6b213e=_0x18f386[_0x13a4ae(0x28d)])!=null?_0x6b213e:this[_0x13a4ae(0x1b3)],this['_name']=(_0x287667=_0x18f386[_0x13a4ae(0x194)])!=null?_0x287667:this[_0x13a4ae(0x340)],this[_0x13a4ae(0x17a)]=(_0x3edd86=_0x18f386[_0x13a4ae(0x1fe)])!=null?_0x3edd86:this[_0x13a4ae(0x17a)],this['_backgroundColor']=(_0x211921=_0x18f386[_0x13a4ae(0x3c5)])!=null?_0x211921:this[_0x13a4ae(0x3df)],this[_0x13a4ae(0x1d9)]({'width':_0x18f386['width'],'height':_0x18f386[_0x13a4ae(0x2ce)]});}['onMouseMove'](_0x28ad80){const _0x45f139=_0x26cc89,{row:_0x8d51af,column:_0x15fa6e}=_0x28ad80;if(_0x8d51af>=this[_0x45f139(0x1b3)]['startRow']&&_0x8d51af<=this['_range'][_0x45f139(0x380)]&&_0x15fa6e>=this[_0x45f139(0x1b3)][_0x45f139(0x23b)]&&_0x15fa6e<=this[_0x45f139(0x1b3)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x45f139(0x3ba)]({'hovered':!0x1});}['triggerDblclick'](_0x636c1a){return!0x1;}[_0x26cc89(0x208)](_0x2b485c){const _0x39f8ef=_0x26cc89;_0x8f24d8[_0x39f8ef(0x233)][_0x39f8ef(0x179)](_0x2b485c,{'width':this[_0x39f8ef(0x3bc)],'height':this[_0x39f8ef(0x2ce)],'strokeWidth':_0x4999e9,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x39f8ef(0x3df)]}),this[_0x39f8ef(0x2f3)]&&(_0x2b485c[_0x39f8ef(0x281)](),_0x2b485c[_0x39f8ef(0x363)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x39f8ef(0x3e6)?0x0:-0x14),_0x260980[_0x39f8ef(0x179)](_0x2b485c,{'text':this['_name'],'color':this[_0x39f8ef(0x2bf)]}),_0x2b485c[_0x39f8ef(0x2cf)]());}}var _0x11b25e=Object[_0x26cc89(0x252)],_0x383d16=(_0x11b415,_0x20c4f3,_0x3cde1b,_0x3c47db)=>{for(var _0x55fe78=_0x3c47db>0x1?void 0x0:_0x3c47db?_0x11b25e(_0x20c4f3,_0x3cde1b):_0x20c4f3,_0x27b758=_0x11b415['length']-0x1,_0x537c74;_0x27b758>=0x0;_0x27b758--)(_0x537c74=_0x11b415[_0x27b758])&&(_0x55fe78=_0x537c74(_0x55fe78)||_0x55fe78);return _0x55fe78;},_0x2b528a=(_0x4c13f9,_0x4dfa83)=>(_0x5f3df9,_0x431060)=>_0x4dfa83(_0x5f3df9,_0x431060,_0x4c13f9);const _0x1d6759=0x1389;let _0x27c244=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x12f730,_0x3c3d80,_0x12e724,_0x37fba7){const _0x56ee77=_0x26cc89;super(),_0xd9b4bc(this,_0x56ee77(0x26c),new Set()),_0xd9b4bc(this,_0x56ee77(0x186),null),(this[_0x56ee77(0x1e3)]=_0x12f730,this['_sheetSkeletonManagerService']=_0x3c3d80,this['_collabCursorController']=_0x12e724,this[_0x56ee77(0x366)]=_0x37fba7,this[_0x56ee77(0x2ee)]());}[_0x26cc89(0x2ee)](){const _0x1cf4e5=_0x26cc89;this[_0x1cf4e5(0x333)][_0x1cf4e5(0x1d6)][_0x1cf4e5(0x1b0)](_0x5d572c[_0x1cf4e5(0x342)](this[_0x1cf4e5(0x16e)]),_0x5d572c[_0x1cf4e5(0x20d)](_0x888102=>{const _0x47c653=_0x1cf4e5;if(_0x888102){const _0x39af73=_0x888102[_0x47c653(0x316)];return _0x4287b5[_0x47c653(0x3b4)](this[_0x47c653(0x383)][_0x47c653(0x349)](this[_0x47c653(0x1e3)][_0x47c653(0x235)]),this[_0x47c653(0x366)][_0x47c653(0x1d7)])[_0x47c653(0x1b0)](_0x5d572c[_0x47c653(0x293)](([_0x2f88a0,_0x541194])=>{const _0x5d17db=_0x47c653,_0x3d6bfc=new Map();return _0x2f88a0[_0x5d17db(0x36a)]((_0x3c2da1,_0x236f37)=>{const _0x4344a7=_0x5d17db;if(_0x3c2da1['sheetID']===_0x39af73){const _0x9285de={..._0x3c2da1};_0x9285de[_0x4344a7(0x1ad)]=this[_0x4344a7(0x366)][_0x4344a7(0x2a5)](_0x3c2da1[_0x4344a7(0x1ad)]),_0x3d6bfc[_0x4344a7(0x391)](_0x236f37,_0x9285de);}}),{'skeleton':_0x888102,'cursors':_0x3d6bfc};}));}return _0x4287b5['of']({'skeleton':null,'cursors':new Map()});}))[_0x1cf4e5(0x253)](({skeleton:_0x27ef8e,cursors:_0x209296})=>{const _0x8ec27e=_0x1cf4e5;this[_0x8ec27e(0x3d7)](),_0x27ef8e&&this[_0x8ec27e(0x1ba)](_0x27ef8e,_0x209296);}),this[_0x1cf4e5(0x333)][_0x1cf4e5(0x1d6)][_0x1cf4e5(0x253)](_0x201e41=>{const _0x3ba223=_0x1cf4e5;if(_0x201e41==null)return;const {skeleton:_0x501616}=_0x201e41,{scene:_0x53a0c8}=this[_0x3ba223(0x1e3)];_0x53a0c8[_0x3ba223(0x2d1)][_0x3ba223(0x355)](_0x1c002c['debounce'](_0x4c5662=>{const _0x3d0578=_0x3ba223;var _0x2f1bfd,_0x4cbe45;const {offsetX:_0xcaf66c,offsetY:_0x265c3e}=_0x4c5662,{x:_0x55783a,y:_0x2f68f1}=_0x53a0c8[_0x3d0578(0x1ab)](_0x8f24d8[_0x3d0578(0x37a)]['FromArray']([_0xcaf66c,_0x265c3e])),{scaleX:_0x4b93b7,scaleY:_0x565543}=_0x53a0c8[_0x3d0578(0x2be)](),_0x2eb9b3=_0x53a0c8[_0x3d0578(0x3da)](_0x8f24d8[_0x3d0578(0x29a)][_0x3d0578(0x33b)]),_0x11f3b0=_0x53a0c8[_0x3d0578(0x214)](_0x8f24d8[_0x3d0578(0x37a)][_0x3d0578(0x272)]([_0x55783a,_0x2f68f1]),_0x2eb9b3),_0x10cb12=_0x501616[_0x3d0578(0x2ab)](_0xcaf66c,_0x265c3e,_0x4b93b7,_0x565543,_0x11f3b0);((_0x2f1bfd=this[_0x3d0578(0x186)])==null?void 0x0:_0x2f1bfd[_0x3d0578(0x360)])===_0x10cb12['column']&&((_0x4cbe45=this[_0x3d0578(0x186)])==null?void 0x0:_0x4cbe45['row'])===_0x10cb12[_0x3d0578(0x29f)]||this[_0x3d0578(0x26c)]['forEach'](_0xc34836=>{const _0x15298f=_0x3d0578;_0xc34836[_0x15298f(0x302)](_0x10cb12);});},0x64));});}[_0x26cc89(0x1ba)](_0x52cb9c,_0x2a947e){const _0x28c371=_0x26cc89;var _0x43082a;const _0x584432=(_0x43082a=this[_0x28c371(0x333)][_0x28c371(0x189)]())==null?void 0x0:_0x43082a[_0x28c371(0x3fd)];if(!_0x584432)return;const _0x5dbabb=this['_getSheetObject']();if(!_0x5dbabb)return;this[_0x28c371(0x26c)][_0x28c371(0x36a)](_0x386131=>{_0x386131['makeDirty']();});const {scene:_0x2dac73}=_0x5dbabb,_0x16e7a8=_0x4ff3b5(Array[_0x28c371(0x3de)](_0x2a947e['values']()))[_0x28c371(0x293)](_0x5a42cc=>{const _0x584155=_0x28c371,{color:_0xb6e1b9,range:_0x3fc14c,name:_0x3598af,selection:_0x549927,sheetID:_0x3bef36}=_0x5a42cc,{startColumn:_0xcd56a2,startRow:_0x2f63dd,endColumn:_0x23c3f1,endRow:_0x328b21}=_0x3fc14c,_0x3166d3=_0x17d02e['getCoordByCell'](_0x2f63dd,_0xcd56a2,_0x2dac73,_0x584432),_0x47bddd=_0x17d02e[_0x584155(0x251)](_0x328b21,_0x23c3f1,_0x2dac73,_0x584432),{columnHeaderHeightAndMarginTop:_0x162df8}=_0x584432,{startX:_0x21e903,startY:_0x57fca4}=_0x3166d3,{endX:_0xb39068,endY:_0x3b0db1}=_0x47bddd,_0x4d6bd2=_0xb39068-_0x21e903,_0x5646a1=_0x3b0db1-_0x57fca4,_0x276e98={'labelPosition':_0x57fca4-_0x162df8>=_0x3f14c6?_0x584155(0x278):_0x584155(0x3e6),'sheetID':_0x3bef36,'range':_0x3fc14c,'color':_0xb6e1b9,'name':_0x3598af,'selection':_0x549927,'left':_0x21e903,'top':_0x57fca4,'width':_0x4d6bd2,'height':_0x5646a1,'evented':!0x1,'zIndex':_0x1d6759};return new _0x9aba2b(_0x3598af,_0x276e98);});_0x2dac73[_0x28c371(0x1ef)](_0x16e7a8,_0x467d3d),this[_0x28c371(0x26c)]=new Set(_0x16e7a8);}[_0x26cc89(0x3d7)](){const _0x4092ac=_0x26cc89;var _0x33a388;(_0x33a388=this[_0x4092ac(0x26c)])==null||_0x33a388[_0x4092ac(0x36a)](_0x45517f=>_0x45517f[_0x4092ac(0x203)]());}[_0x26cc89(0x35b)](){const _0x38d92a=_0x26cc89;return _0x17d02e[_0x38d92a(0x2d3)](this[_0x38d92a(0x1e3)][_0x38d92a(0x3c0)],this[_0x38d92a(0x1e3)]);}};_0x27c244=_0x383d16([_0x2b528a(0x1,_0x1c002c[_0x26cc89(0x273)](_0x17d02e[_0x26cc89(0x292)])),_0x2b528a(0x2,_0x1c002c['Inject'](_0x402205)),_0x2b528a(0x3,_0x1c002c['Inject'](_0x1c002c[_0x26cc89(0x39e)]))],_0x27c244);function _0x4ff3b5(_0x19057a){const _0x566d8f=_0x26cc89,_0x539697=new Map();return _0x19057a[_0x566d8f(0x36a)](_0x4eeed5=>{const _0x42f10d=_0x566d8f;if(_0x539697['has'](_0x4eeed5['selection'])){const _0x33806b=_0x539697[_0x42f10d(0x1dd)](_0x4eeed5[_0x42f10d(0x288)]);_0x33806b[_0x42f10d(0x194)]+=',\x20'+_0x4eeed5[_0x42f10d(0x194)];}else _0x539697['set'](_0x4eeed5[_0x42f10d(0x288)],_0x4eeed5);}),Array[_0x566d8f(0x3de)](_0x539697['values']());}var _0xb63cf8=function(){const _0x490efd=_0x26cc89;return _0xb63cf8=Object['assign']||function(_0x4e64d3){const _0x52cfdf=_0x30a1;for(var _0x77a540,_0x559f9d=0x1,_0x1b1925=arguments[_0x52cfdf(0x17b)];_0x559f9d<_0x1b1925;_0x559f9d++){_0x77a540=arguments[_0x559f9d];for(var _0x4f2f7b in _0x77a540)Object[_0x52cfdf(0x196)][_0x52cfdf(0x2c5)]['call'](_0x77a540,_0x4f2f7b)&&(_0x4e64d3[_0x4f2f7b]=_0x77a540[_0x4f2f7b]);}return _0x4e64d3;},_0xb63cf8[_0x490efd(0x1a4)](this,arguments);},_0x381d59=function(_0x595da7,_0x1ccdb7){const _0x473aa1=_0x26cc89;var _0x12f11e={};for(var _0xdc44e6 in _0x595da7)Object[_0x473aa1(0x196)][_0x473aa1(0x2c5)]['call'](_0x595da7,_0xdc44e6)&&_0x1ccdb7[_0x473aa1(0x2f2)](_0xdc44e6)<0x0&&(_0x12f11e[_0xdc44e6]=_0x595da7[_0xdc44e6]);if(_0x595da7!=null&&typeof Object[_0x473aa1(0x3d8)]==_0x473aa1(0x3a6)){for(var _0x48799e=0x0,_0xdc44e6=Object[_0x473aa1(0x3d8)](_0x595da7);_0x48799e<_0xdc44e6[_0x473aa1(0x17b)];_0x48799e++)_0x1ccdb7['indexOf'](_0xdc44e6[_0x48799e])<0x0&&Object[_0x473aa1(0x196)][_0x473aa1(0x2fb)][_0x473aa1(0x1e0)](_0x595da7,_0xdc44e6[_0x48799e])&&(_0x12f11e[_0xdc44e6[_0x48799e]]=_0x595da7[_0xdc44e6[_0x48799e]]);}return _0x12f11e;},_0x4d32d7=_0x59786a[_0x26cc89(0x348)](function(_0xbe1cb3,_0x552d16){const _0x32da62=_0x26cc89;var _0x5ab789=_0xbe1cb3[_0x32da62(0x218)],_0x1be41b=_0xbe1cb3['id'],_0x562228=_0xbe1cb3[_0x32da62(0x176)],_0x3b2625=_0xbe1cb3[_0x32da62(0x2e4)],_0x504369=_0x381d59(_0xbe1cb3,['icon','id',_0x32da62(0x176),_0x32da62(0x2e4)]),_0x533802=_0x32da62(0x3dc)[_0x32da62(0x22e)](_0x1be41b,'\x20')['concat'](_0x562228||'')[_0x32da62(0x241)](),_0x543897=_0x59786a['useRef']('_'[_0x32da62(0x22e)](_0x5d3653()));return _0x3a7276(_0x5ab789,''[_0x32da62(0x22e)](_0x1be41b),{'defIds':_0x5ab789[_0x32da62(0x371)],'idSuffix':_0x543897[_0x32da62(0x247)]},_0xb63cf8({'ref':_0x552d16,'className':_0x533802},_0x504369),_0x3b2625);});function _0x3a7276(_0x497b38,_0x3d555f,_0x19e8d8,_0x46ef90,_0xd13b0e){const _0x289d0f=_0x26cc89;return _0x59786a[_0x289d0f(0x245)](_0x497b38['tag'],_0xb63cf8(_0xb63cf8({'key':_0x3d555f},_0x5940ad(_0x497b38,_0x19e8d8,_0xd13b0e)),_0x46ef90),(_0x26d7cc(_0x497b38,_0x19e8d8)[_0x289d0f(0x1c4)]||[])['map'](function(_0x3b1e9f,_0x69f2a9){const _0x5e0314=_0x289d0f;return _0x3a7276(_0x3b1e9f,''[_0x5e0314(0x22e)](_0x3d555f,'-')[_0x5e0314(0x22e)](_0x497b38['tag'],'-')['concat'](_0x69f2a9),_0x19e8d8,void 0x0,_0xd13b0e);}));}function _0x5940ad(_0x347695,_0x1bc2e3,_0xf58855){const _0x122c75=_0x26cc89;var _0x140643=_0xb63cf8({},_0x347695[_0x122c75(0x23e)]);_0xf58855!=null&&_0xf58855[_0x122c75(0x1bd)]&&_0x140643[_0x122c75(0x1b2)]===_0x122c75(0x1bd)&&(_0x140643[_0x122c75(0x1b2)]=_0xf58855[_0x122c75(0x1bd)]),_0x347695[_0x122c75(0x3b8)]===_0x122c75(0x3f0)&&_0x140643['id']&&(_0x140643['id']=_0x140643['id']+_0x1bc2e3[_0x122c75(0x223)]),Object[_0x122c75(0x1c8)](_0x140643)[_0x122c75(0x36a)](function(_0x2a3ca4){const _0x5bf69e=_0x122c75;var _0xad6ea3=_0x2a3ca4[0x0],_0x14daa6=_0x2a3ca4[0x1];_0xad6ea3===_0x5bf69e(0x3f0)&&typeof _0x14daa6==_0x5bf69e(0x401)&&(_0x140643[_0xad6ea3]=_0x14daa6['replace'](/url\(#(.*)\)/,_0x5bf69e(0x308)['concat'](_0x1bc2e3[_0x5bf69e(0x223)],')')));});var _0x1a6ad0=_0x1bc2e3[_0x122c75(0x371)];return!_0x1a6ad0||_0x1a6ad0[_0x122c75(0x17b)]===0x0||(_0x347695[_0x122c75(0x3b8)]===_0x122c75(0x2b0)&&_0x140643['xlink:href']&&(_0x140643[_0x122c75(0x399)]=_0x140643[_0x122c75(0x399)]+_0x1bc2e3[_0x122c75(0x223)]),Object['entries'](_0x140643)['forEach'](function(_0x45eab7){const _0x4d2642=_0x122c75;var _0x15f71f=_0x45eab7[0x0],_0x1a9daa=_0x45eab7[0x1];typeof _0x1a9daa==_0x4d2642(0x401)&&(_0x140643[_0x15f71f]=_0x1a9daa[_0x4d2642(0x265)](/url\(#(.*)\)/,_0x4d2642(0x308)[_0x4d2642(0x22e)](_0x1bc2e3[_0x4d2642(0x223)],')')));})),_0x140643;}function _0x26d7cc(_0x4af6da,_0x4a29d0){const _0x2d4c32=_0x26cc89;var _0x5a372a,_0x482caf=_0x4a29d0['defIds'];return!_0x482caf||_0x482caf[_0x2d4c32(0x17b)]===0x0?_0x4af6da:_0x4af6da[_0x2d4c32(0x3b8)]===_0x2d4c32(0x392)&&(!((_0x5a372a=_0x4af6da[_0x2d4c32(0x1c4)])===null||_0x5a372a===void 0x0)&&_0x5a372a[_0x2d4c32(0x17b)])?_0xb63cf8(_0xb63cf8({},_0x4af6da),{'children':_0x4af6da[_0x2d4c32(0x1c4)][_0x2d4c32(0x293)](function(_0x1a0f32){const _0x592743=_0x2d4c32;return typeof _0x1a0f32[_0x592743(0x23e)]['id']=='string'&&_0x482caf&&_0x482caf[_0x592743(0x2f2)](_0x1a0f32['attrs']['id'])>-0x1?_0xb63cf8(_0xb63cf8({},_0x1a0f32),{'attrs':_0xb63cf8(_0xb63cf8({},_0x1a0f32[_0x592743(0x23e)]),{'id':_0x1a0f32[_0x592743(0x23e)]['id']+_0x4a29d0[_0x592743(0x223)]})}):_0x1a0f32;})}):_0x4af6da;}function _0x5d3653(){const _0x32f980=_0x26cc89;return Math[_0x32f980(0x209)]()['toString'](0x24)[_0x32f980(0x31f)](0x2,0x8);}_0x4d32d7[_0x26cc89(0x3e0)]=_0x26cc89(0x1d8);var _0x42a84d={'tag':_0x26cc89(0x219),'attrs':{'fill':_0x26cc89(0x2e5),'viewBox':_0x26cc89(0x2af),'width':_0x26cc89(0x182),'height':_0x26cc89(0x182)},'children':[{'tag':'g','attrs':{'clipPath':_0x26cc89(0x351)},'children':[{'tag':_0x26cc89(0x3cc),'attrs':{'stroke':_0x26cc89(0x35e),'d':_0x26cc89(0x386),'strokeLinecap':'round','strokeLinejoin':_0x26cc89(0x2b1),'strokeWidth':1.2}}]},{'tag':_0x26cc89(0x392),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x26cc89(0x28b)},'children':[{'tag':_0x26cc89(0x3cc),'attrs':{'fill':_0x26cc89(0x335),'d':_0x26cc89(0x26a)}}]}]}],'defIds':[_0x26cc89(0x28b)]},_0x3a4d52=_0x59786a[_0x26cc89(0x348)](function(_0x5578e1,_0x2c9057){const _0x34f4dd=_0x26cc89;return _0x59786a[_0x34f4dd(0x245)](_0x4d32d7,Object[_0x34f4dd(0x35f)]({},_0x5578e1,{'id':'off-line-single','ref':_0x2c9057,'icon':_0x42a84d}));});_0x3a4d52[_0x26cc89(0x3e0)]=_0x26cc89(0x1b7);var _0x4a7a26={'tag':_0x26cc89(0x219),'attrs':{'fill':_0x26cc89(0x2e5),'viewBox':_0x26cc89(0x3bd),'width':_0x26cc89(0x182),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x26cc89(0x3d1),'strokeLinecap':_0x26cc89(0x2b1),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x26cc89(0x392),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x26cc89(0x3cc),'attrs':{'fill':_0x26cc89(0x335),'d':_0x26cc89(0x26a),'transform':_0x26cc89(0x3cd)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x233584=_0x59786a[_0x26cc89(0x348)](function(_0x20aa43,_0x7a5a35){const _0x4f8ef3=_0x26cc89;return _0x59786a[_0x4f8ef3(0x245)](_0x4d32d7,Object['assign']({},_0x20aa43,{'id':_0x4f8ef3(0x167),'ref':_0x7a5a35,'icon':_0x4a7a26}));});_0x233584['displayName']=_0x26cc89(0x261);function _0x2fd794(_0x1b46e3){const _0x195610=_0x26cc89;switch(_0x1b46e3){case _0x827ff8['CollaborationStatus'][_0x195610(0x324)]:return _0x195610(0x3d4);case _0x827ff8[_0x195610(0x287)][_0x195610(0x34c)]:return'collabStatus.conflict';case _0x827ff8[_0x195610(0x287)][_0x195610(0x174)]:return'collabStatus.fetchMiss';case _0x827ff8[_0x195610(0x287)][_0x195610(0x1d0)]:return _0x195610(0x1db);case _0x827ff8['CollaborationStatus']['AWAITING']:case _0x827ff8['CollaborationStatus'][_0x195610(0x27c)]:return _0x195610(0x1c2);case _0x827ff8[_0x195610(0x287)][_0x195610(0x1eb)]:case _0x827ff8[_0x195610(0x287)][_0x195610(0x35c)]:return _0x195610(0x3c6);}}function _0x725819(_0x2be9ed){const _0x4d6174=_0x26cc89,{status$:_0x16358d}=_0x2be9ed,_0x5f0cf1=_0x1c1408['useObservable'](_0x16358d,_0x827ff8[_0x4d6174(0x287)]['NOT_COLLAB']),_0x3aeb52=_0x1c1408['useDependency'](_0x1c002c[_0x4d6174(0x29d)]),_0x510736=_0x1c1408[_0x4d6174(0x3e9)](_0x827ff8[_0x4d6174(0x20e)]),_0x3b566f=_0x5f0cf1!==_0x827ff8[_0x4d6174(0x287)]['OFFLINE'],_0x288643=_0x3aeb52['t'](_0x2fd794(_0x5f0cf1)),_0x59f0cb=_0x3b566f?_0x3c107a['jsx'](_0x233584,{}):_0x3c107a[_0x4d6174(0x3f9)](_0x3a4d52,{}),_0xe6fc1c=_0x59786a[_0x4d6174(0x1f8)](()=>{const _0x45c8dc=_0x4d6174;_0x3b566f||_0x510736[_0x45c8dc(0x1bb)]();},[_0x3b566f,_0x510736]);function _0x1ff40e(){const _0x4af878=_0x4d6174;return _0x3c107a['jsxs'](_0x4af878(0x2c2),{'className':'univer-flex\x20univer-items-center','onClick':_0xe6fc1c,'children':[_0x3c107a['jsx'](_0x4af878(0x2c2),{'className':_0x29c2d3[_0x4af878(0x15f)](_0x4af878(0x25b),{'univer-text-green-500':_0x3b566f,'univer-text-red-500':!_0x3b566f}),'children':_0x59f0cb}),_0x3c107a[_0x4af878(0x3f9)](_0x4af878(0x2c2),{'className':_0x4af878(0x27b),'children':_0x288643})]});}return _0x3b566f?_0x1ff40e():_0x3c107a[_0x4d6174(0x3f9)](_0x29c2d3['Tooltip'],{'title':_0x3aeb52['t'](_0x4d6174(0x1e9)),'children':_0x1ff40e()});}var _0x1697b3=Object[_0x26cc89(0x252)],_0x59869=(_0xc0a6e0,_0x3f2fcd,_0x53820c,_0x27b689)=>{const _0x16e074=_0x26cc89;for(var _0x529a06=_0x27b689>0x1?void 0x0:_0x27b689?_0x1697b3(_0x3f2fcd,_0x53820c):_0x3f2fcd,_0xbc8d67=_0xc0a6e0[_0x16e074(0x17b)]-0x1,_0xb9ebb4;_0xbc8d67>=0x0;_0xbc8d67--)(_0xb9ebb4=_0xc0a6e0[_0xbc8d67])&&(_0x529a06=_0xb9ebb4(_0x529a06)||_0x529a06);return _0x529a06;},_0x1d08ab=(_0x57c08b,_0xfa4065)=>(_0x319ad1,_0x4f9210)=>_0xfa4065(_0x319ad1,_0x4f9210,_0x57c08b);_0x3dc1b0[_0x26cc89(0x16b)]=class extends _0x1c002c[_0x26cc89(0x332)]{constructor(_0x12fef9,_0x4eda3e,_0x49ab22,_0x5b879b){const _0x506c98=_0x26cc89;super(),_0xd9b4bc(this,'_status$',new _0x4287b5['BehaviorSubject'](_0x827ff8[_0x506c98(0x287)][_0x506c98(0x1d0)])),(this[_0x506c98(0x3b6)]=_0x12fef9,this[_0x506c98(0x19f)]=_0x4eda3e,this[_0x506c98(0x21a)]=_0x49ab22,this['_uiPartsService']=_0x5b879b,this['_initStatusComponent'](),this[_0x506c98(0x31b)]());}[_0x26cc89(0x31b)](){const _0x1306c7=_0x26cc89;this['disposeWithMe'](this[_0x1306c7(0x3b6)]['focused$'][_0x1306c7(0x1b0)](_0x4287b5['switchMap'](()=>{const _0x567f31=_0x1306c7,_0x1c30ab=this[_0x567f31(0x3b6)][_0x567f31(0x309)]();return _0x1c30ab?this[_0x567f31(0x21a)]['getCollabEntity$'](_0x1c30ab[_0x567f31(0x212)]()):_0x4287b5['of'](null);}),_0x4287b5[_0x1306c7(0x20d)](_0x1e6a9f=>_0x1e6a9f?_0x1e6a9f['status$']:_0x4287b5['of'](_0x827ff8[_0x1306c7(0x287)][_0x1306c7(0x1d0)])))['subscribe'](_0xbf513d=>{const _0x44b897=_0x1306c7;this[_0x44b897(0x36b)][_0x44b897(0x2da)](_0xbf513d);}));}['_initStatusComponent'](){const _0x584075=_0x26cc89;this[_0x584075(0x2bc)](this[_0x584075(0x3ca)][_0x584075(0x18d)](_0x1c1408[_0x584075(0x34d)]['HEADER_MENU'],()=>_0x1c1408['connectInjector'](_0x9000d8({'status$':this[_0x584075(0x36b)]['asObservable']()}),this['_injector'])));}},_0x3dc1b0[_0x26cc89(0x16b)]=_0x59869([_0x1d08ab(0x0,_0x1c002c['IUniverInstanceService']),_0x1d08ab(0x1,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x1d08ab(0x2,_0x1c002c['Inject'](_0x827ff8[_0x26cc89(0x201)])),_0x1d08ab(0x3,_0x1c1408[_0x26cc89(0x226)])],_0x3dc1b0[_0x26cc89(0x16b)]);function _0x9000d8(_0x2b8a10){const {status$:_0x4c53b5}=_0x2b8a10;return function(){const _0x4f37a6=_0x30a1;return _0x3c107a[_0x4f37a6(0x3f9)](_0x725819,{'status$':_0x4c53b5});};}var _0x3e3854=Object[_0x26cc89(0x252)],_0x4a2e13=(_0x3ac792,_0x98f42c,_0x13874c,_0x51d4e4)=>{const _0x246838=_0x26cc89;for(var _0x462bd0=_0x51d4e4>0x1?void 0x0:_0x51d4e4?_0x3e3854(_0x98f42c,_0x13874c):_0x98f42c,_0x35a20e=_0x3ac792[_0x246838(0x17b)]-0x1,_0x5b58a2;_0x35a20e>=0x0;_0x35a20e--)(_0x5b58a2=_0x3ac792[_0x35a20e])&&(_0x462bd0=_0x5b58a2(_0x462bd0)||_0x462bd0);return _0x462bd0;},_0x4bbde7=(_0x536021,_0x50a9dd)=>(_0x115196,_0x360da8)=>_0x50a9dd(_0x115196,_0x360da8,_0x536021);let _0x1cfb10=class extends _0x1c002c[_0x26cc89(0x332)]{constructor(_0x207b1a,_0x2c7c3f,_0x1c3092,_0x58c9fa,_0x11c4d3,_0x2c8be1){const _0xa79f60=_0x26cc89;super(),this[_0xa79f60(0x2bd)]=_0x207b1a,this[_0xa79f60(0x1a0)]=_0x2c7c3f,this['_collaborationUIEventService']=_0x1c3092,this[_0xa79f60(0x280)]=_0x58c9fa,this[_0xa79f60(0x207)]=_0x11c4d3,this[_0xa79f60(0x1ea)]=_0x2c8be1,this[_0xa79f60(0x291)](),this[_0xa79f60(0x19a)]();}[_0x26cc89(0x291)](){const _0x469b4a=_0x26cc89;this[_0x469b4a(0x2bc)](this[_0x469b4a(0x2bd)]['registerBeforeClose'](()=>{const _0x447ba6=_0x469b4a;if(this[_0x447ba6(0x1a0)][_0x447ba6(0x3f1)][_0x447ba6(0x239)])return this[_0x447ba6(0x1ea)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x26cc89(0x19a)](){const _0x346685=_0x26cc89;this[_0x346685(0x2bc)](this[_0x346685(0x400)]['event$'][_0x346685(0x253)](_0x69d0a5=>{const _0xe6c83e=_0x346685;_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)][_0xe6c83e(0x297)]&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x1be)],'content':this[_0xe6c83e(0x1ea)]['t'](_0xe6c83e(0x2e0))}),_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)]['CLOSE_ROOM']&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x1be)],'content':this[_0xe6c83e(0x1ea)]['t'](_0xe6c83e(0x18e))}),_0x69d0a5['id']===_0x827ff8['CollaborationUIEventId']['PERMISSION_DENIED']&&this['_notificationService'][_0xe6c83e(0x2b8)]({'title':this['_localeService']['t'](_0xe6c83e(0x30a)),'content':this[_0xe6c83e(0x1ea)]['t'](_0xe6c83e(0x2fc)),'type':_0xe6c83e(0x2b4),'duration':0x0}),_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)][_0xe6c83e(0x34c)]&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x2dd)],'content':this[_0xe6c83e(0x1ea)]['t']('collaboration.closeRoom')+'('+_0x69d0a5['data']+')'}),_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)]['JOIN_ROOM_FAILED']&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x1be)],'content':this[_0xe6c83e(0x1ea)]['t'](_0x69d0a5[_0xe6c83e(0x22f)]||'')}),_0x69d0a5['id']===_0x827ff8['CollaborationUIEventId'][_0xe6c83e(0x1af)]&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x1be)],'content':this[_0xe6c83e(0x1ea)]['t']('session.will-retry')}),_0x69d0a5['id']===_0x827ff8['CollaborationUIEventId'][_0xe6c83e(0x21e)]&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3['MessageType'][_0xe6c83e(0x2dd)],'content':this['_localeService']['t']('session.connection-failed')}),_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)][_0xe6c83e(0x339)]&&this[_0xe6c83e(0x280)]['show']({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x2dd)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x1cfb10=_0x4a2e13([_0x4bbde7(0x0,_0x1c1408[_0x26cc89(0x2a8)]),_0x4bbde7(0x1,_0x827ff8[_0x26cc89(0x242)]),_0x4bbde7(0x2,_0x1c002c[_0x26cc89(0x273)](_0x827ff8[_0x26cc89(0x299)])),_0x4bbde7(0x3,_0x1c1408[_0x26cc89(0x1cc)]),_0x4bbde7(0x4,_0x1c1408[_0x26cc89(0x183)]),_0x4bbde7(0x5,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x29d)]))],_0x1cfb10);const _0x5a320f=_0x26cc89(0x395),_0x35a43e={},_0x53ff22=_0x1c002c[_0x26cc89(0x379)]('uni.network.url-service');var _0x24d0b8=Object[_0x26cc89(0x252)],_0x37f4e6=(_0x189e20,_0x560041,_0x547005,_0x3cc873)=>{const _0x59f77e=_0x26cc89;for(var _0x496fe0=_0x3cc873>0x1?void 0x0:_0x3cc873?_0x24d0b8(_0x560041,_0x547005):_0x560041,_0x33b880=_0x189e20[_0x59f77e(0x17b)]-0x1,_0x34005b;_0x33b880>=0x0;_0x33b880--)(_0x34005b=_0x189e20[_0x33b880])&&(_0x496fe0=_0x34005b(_0x496fe0)||_0x496fe0);return _0x496fe0;},_0x460d45=(_0x8e3498,_0x478c6c)=>(_0x2a883b,_0x3c248d)=>_0x478c6c(_0x2a883b,_0x3c248d,_0x8e3498);_0x3dc1b0[_0x26cc89(0x3ac)]=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x2a2947,_0x3b58d0,_0x22d85f,_0x5427f4,_0x332b2a){const _0x3e78d6=_0x26cc89;super(),this[_0x3e78d6(0x229)]=_0x2a2947,this[_0x3e78d6(0x2fa)]=_0x3b58d0,this[_0x3e78d6(0x2c1)]=_0x22d85f,this['_dataLoaderService']=_0x5427f4,_0x332b2a?_0x332b2a==null||_0x332b2a[_0x3e78d6(0x2b9)]()[_0x3e78d6(0x3ab)](()=>this[_0x3e78d6(0x2ee)]()):(this[_0x3e78d6(0x2fa)][_0x3e78d6(0x171)](_0x3e78d6(0x39c),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x5a82d0=_0x26cc89,_0x55220a=this[_0x5a82d0(0x229)][_0x5a82d0(0x2f9)](_0x5a82d0(0x3c0)),_0x284a95=this[_0x5a82d0(0x229)][_0x5a82d0(0x2f9)](_0x5a82d0(0x1ee)),_0x24da0c=this['_urlService']['getParam'](_0x5a82d0(0x3ef));if(!_0x55220a||!_0x284a95){this['_logService'][_0x5a82d0(0x171)](_0x5a82d0(0x39c),_0x5a82d0(0x1b5));return;}const _0x15df71=await this[_0x5a82d0(0x370)][_0x5a82d0(0x162)](_0x55220a,Number(_0x284a95),_0x24da0c);_0x15df71&&_0x15df71 instanceof _0x1c002c[_0x5a82d0(0x25a)]&&this[_0x5a82d0(0x336)](_0x15df71);}async[_0x26cc89(0x336)](_0x346eca){const _0x397cad=_0x26cc89;await this[_0x397cad(0x211)](_0x346eca),_0x346eca['activeSheet$'][_0x397cad(0x1b0)](_0x4287b5['takeUntil'](this['dispose$']))[_0x397cad(0x253)](_0x2b64a9=>{_0x2b64a9&&this['_updateURLWithCurrentState'](_0x2b64a9);}),this[_0x397cad(0x229)][_0x397cad(0x387)][_0x397cad(0x1b0)](_0x4287b5[_0x397cad(0x342)](this[_0x397cad(0x16e)]))[_0x397cad(0x253)](()=>this[_0x397cad(0x211)](_0x346eca));}[_0x26cc89(0x24c)](_0x1dd1c9,_0x5b15c3=!0x1){const _0x5a583b=_0x26cc89,_0x5c8f54=this['_urlService'][_0x5a583b(0x2f9)](_0x5a583b(0x3ef));_0x1dd1c9[_0x5a583b(0x258)]()!==_0x5c8f54&&this[_0x5a583b(0x229)][_0x5a583b(0x3ae)]('subunit',_0x1dd1c9[_0x5a583b(0x258)](),_0x5b15c3);}async[_0x26cc89(0x211)](_0x621746){const _0x294455=_0x26cc89;var _0xfb01cd;const _0x2d3a67=this[_0x294455(0x229)][_0x294455(0x2f9)](_0x294455(0x3ef));if(!_0x2d3a67||!_0x621746[_0x294455(0x3a2)](_0x2d3a67)){const _0x381638=_0x621746[_0x294455(0x32e)]()[0x0],_0x2e2a47=_0x621746[_0x294455(0x3a2)](_0x381638);if(!_0x2e2a47)return;this[_0x294455(0x24c)](_0x2e2a47,!0x0),await this['_commandService'][_0x294455(0x25c)](_0x2a4acb['SetWorksheetActivateCommand']['id'],{'unitId':_0x621746['getUnitId'](),'subUnitId':_0x381638});return;}((_0xfb01cd=_0x621746[_0x294455(0x27a)]())==null?void 0x0:_0xfb01cd[_0x294455(0x258)]())!==_0x2d3a67&&await this[_0x294455(0x2c1)][_0x294455(0x25c)](_0x2a4acb[_0x294455(0x3db)]['id'],{'unitId':_0x621746[_0x294455(0x212)](),'subUnitId':_0x2d3a67});}},_0x3dc1b0[_0x26cc89(0x3ac)]=_0x37f4e6([_0x460d45(0x0,_0x53ff22),_0x460d45(0x1,_0x1c002c[_0x26cc89(0x319)]),_0x460d45(0x2,_0x1c002c[_0x26cc89(0x20c)]),_0x460d45(0x3,_0x1c002c['Inject'](_0x827ff8[_0x26cc89(0x163)])),_0x460d45(0x4,_0x1c002c[_0x26cc89(0x389)](_0x405deb[_0x26cc89(0x271)]))],_0x3dc1b0['CollaborationDataLoaderController']);var _0x5dcea5=Object[_0x26cc89(0x252)],_0x327f3f=(_0x43dfba,_0x2d9f77,_0x26afa3,_0x19984b)=>{for(var _0x14a140=_0x19984b>0x1?void 0x0:_0x19984b?_0x5dcea5(_0x2d9f77,_0x26afa3):_0x2d9f77,_0x575460=_0x43dfba['length']-0x1,_0x522a87;_0x575460>=0x0;_0x575460--)(_0x522a87=_0x43dfba[_0x575460])&&(_0x14a140=_0x522a87(_0x14a140)||_0x14a140);return _0x14a140;},_0x47bb42=(_0x521022,_0x52a8f2)=>(_0x48fafc,_0x307316)=>_0x52a8f2(_0x48fafc,_0x307316,_0x521022);let _0x281445=class{constructor(_0x31ef25,_0xf84378,_0x16a553){const _0x3322fb=_0x26cc89;this['_injector']=_0x31ef25,this['_transformService']=_0xf84378,this[_0x3322fb(0x17e)]=_0x16a553;}[_0x26cc89(0x243)](_0x55e1d6){const _0xc3e58d=_0x26cc89;this['_transformUndoRedoStack'](_0x55e1d6),this[_0xc3e58d(0x2d7)](_0x55e1d6);}[_0x26cc89(0x1e6)](_0xf4a7f1){const _0x3370d3=_0x26cc89,{unitID:_0x59a810}=_0xf4a7f1,_0x5c1935=this[_0x3370d3(0x17e)][_0x3370d3(0x1d5)](_0x59a810)[_0x3370d3(0x279)](_0x567b9[_0x3370d3(0x249)]),{redoCache:_0x14ef49}=_0x5c1935['getUndoRedoMutationParamsCache']();if(_0x14ef49[_0x3370d3(0x17b)]===0x0)return _0xf4a7f1;let _0x310169=_0x1c002c[_0x3370d3(0x215)][_0x3370d3(0x398)](_0xf4a7f1[_0x3370d3(0x3f8)][0x0]);for(let _0x6a5b8c=0x0;_0x6a5b8c<_0x14ef49[_0x3370d3(0x17b)];_0x6a5b8c++){const _0x55c0e3={'id':'doc.mutation.rich-text-editing','params':{..._0x14ef49[_0x6a5b8c]}},_0x1385f8=this[_0x3370d3(0x3eb)][_0x3370d3(0x1a3)](_0x310169,_0x55c0e3,!0x1);if(_0x376d49['isTransformMutationFailure'](_0x1385f8))throw _0x1385f8[_0x3370d3(0x2b4)];_0x310169=_0x1385f8[_0x3370d3(0x3d6)];}return{..._0x1c002c[_0x3370d3(0x215)][_0x3370d3(0x398)](_0xf4a7f1),'mutations':[_0x310169]};}[_0x26cc89(0x3a1)](_0x5b94a3){const _0x3f3a8f=_0x26cc89,{unitID:_0x4abb07}=_0x5b94a3,_0x4a1b85=this['_renderManagerService'][_0x3f3a8f(0x1d5)](_0x4abb07)[_0x3f3a8f(0x279)](_0x567b9[_0x3f3a8f(0x249)]),{undoCache:_0x1957fe,redoCache:_0xb0ccb5}=_0x4a1b85[_0x3f3a8f(0x31c)]();if(_0x1957fe[_0x3f3a8f(0x17b)]===0x0||_0xb0ccb5[_0x3f3a8f(0x17b)]===0x0)return;const _0x2ec857=[],_0x3fb5f6=[];let _0x51a8a1=_0x1c002c[_0x3f3a8f(0x215)]['deepClone'](_0x5b94a3['mutations'][0x0]),_0x10d837=_0x1c002c[_0x3f3a8f(0x215)][_0x3f3a8f(0x398)](_0x5b94a3['mutations'][0x0]);for(let _0x31d5d8=_0x1957fe[_0x3f3a8f(0x17b)]-0x1;_0x31d5d8>=0x0;_0x31d5d8--){const _0x375228={'id':_0x3f3a8f(0x358),'params':{..._0x1957fe[_0x31d5d8]}},_0x40fb1a={'id':'doc.mutation.rich-text-editing','params':{..._0xb0ccb5[_0x31d5d8]}},_0x56d2e0=this[_0x3f3a8f(0x3eb)][_0x3f3a8f(0x1a3)](_0x51a8a1,_0x375228,!0x1),_0x507e95=this[_0x3f3a8f(0x3eb)][_0x3f3a8f(0x1a3)](_0x10d837,_0x40fb1a,!0x1);if(_0x376d49[_0x3f3a8f(0x244)](_0x56d2e0))throw _0x56d2e0[_0x3f3a8f(0x2b4)];if(_0x376d49[_0x3f3a8f(0x244)](_0x507e95))throw _0x507e95[_0x3f3a8f(0x2b4)];_0x2ec857[_0x3f3a8f(0x334)](_0x56d2e0[_0x3f3a8f(0x2b3)]['params']),_0x3fb5f6[_0x3f3a8f(0x334)](_0x507e95[_0x3f3a8f(0x2b3)][_0x3f3a8f(0x3b2)]),_0x51a8a1=_0x56d2e0[_0x3f3a8f(0x3d6)],_0x10d837=_0x507e95[_0x3f3a8f(0x3d6)];}_0x4a1b85[_0x3f3a8f(0x3cb)]({'undoCache':_0x2ec857,'redoCache':_0x3fb5f6});}['_transformPreviousActiveRange'](_0x176e13){const _0x3d2634=_0x26cc89,{unitID:_0x6834f7}=_0x176e13,_0x5aedd5=this[_0x3d2634(0x17e)][_0x3d2634(0x1d5)](_0x6834f7)['with'](_0x567b9[_0x3d2634(0x249)]),_0x58c24a=_0x5aedd5[_0x3d2634(0x1ce)]();if(_0x58c24a==null)return;const _0x2cad6a=[{'id':_0x3d2634(0x358),'params':{'unitId':_0x176e13[_0x3d2634(0x3be)],'actions':null,'textRanges':[_0x58c24a]}}],_0x3d7829=this['_transformService'][_0x3d2634(0x24e)](_0x176e13,_0x2cad6a);if(!_0x376d49[_0x3d2634(0x290)](_0x3d7829))throw _0x3d7829[_0x3d2634(0x2b4)];const _0x4e24f2=_0x3d7829[_0x3d2634(0x2b3)][0x0]['params'][_0x3d2634(0x2c4)];Array[_0x3d2634(0x1a6)](_0x4e24f2)&&_0x4e24f2[_0x3d2634(0x17b)]&&_0x5aedd5[_0x3d2634(0x1f2)](_0x4e24f2[0x0]);}};_0x281445=_0x327f3f([_0x47bb42(0x0,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x47bb42(0x1,_0x376d49[_0x26cc89(0x2f8)]),_0x47bb42(0x2,_0x8f24d8[_0x26cc89(0x365)])],_0x281445);var _0x56ff52=Object[_0x26cc89(0x252)],_0x43e2d5=(_0x4d2f26,_0x1907b6,_0x40455f,_0x2fb9ec)=>{const _0x234595=_0x26cc89;for(var _0x31f444=_0x2fb9ec>0x1?void 0x0:_0x2fb9ec?_0x56ff52(_0x1907b6,_0x40455f):_0x1907b6,_0x3a2453=_0x4d2f26[_0x234595(0x17b)]-0x1,_0x1b7295;_0x3a2453>=0x0;_0x3a2453--)(_0x1b7295=_0x4d2f26[_0x3a2453])&&(_0x31f444=_0x1b7295(_0x31f444)||_0x31f444);return _0x31f444;},_0x240926=(_0x24daaf,_0x3af9b7)=>(_0x18e40f,_0x32286b)=>_0x3af9b7(_0x18e40f,_0x32286b,_0x24daaf);let _0x404672=class{constructor(_0x10a3c6,_0x21f253,_0x1cd581){const _0x5d66ab=_0x26cc89;this[_0x5d66ab(0x19f)]=_0x10a3c6,this[_0x5d66ab(0x3eb)]=_0x21f253,this[_0x5d66ab(0x337)]=_0x1cd581;}[_0x26cc89(0x255)](_0x56ccef){const _0x3940cc=_0x26cc89;this[_0x3940cc(0x30d)](_0x56ccef);}[_0x26cc89(0x1e6)](_0x251e9b){const _0x2d8a2d=_0x26cc89,{unitID:_0x4c9db4}=_0x251e9b,{collaboration:_0x4cb357}=this['_docStateChangeManagerService'][_0x2d8a2d(0x37d)](_0x4c9db4);if(_0x4cb357[_0x2d8a2d(0x17b)]===0x0)return _0x251e9b;let _0xe0ce2b=_0x1c002c['Tools']['deepClone'](_0x251e9b[_0x2d8a2d(0x3f8)][0x0]);for(let _0x511b0b=0x0;_0x511b0b<_0x4cb357[_0x2d8a2d(0x17b)];_0x511b0b++){const _0x7c04d5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cb357[_0x511b0b]['unitId'],..._0x4cb357[_0x511b0b][_0x2d8a2d(0x188)]}},_0x47ddd6=this['_transformService']['transformMutation'](_0xe0ce2b,_0x7c04d5,!0x1);if(_0x376d49[_0x2d8a2d(0x244)](_0x47ddd6))throw _0x47ddd6[_0x2d8a2d(0x2b4)];_0xe0ce2b=_0x47ddd6[_0x2d8a2d(0x3d6)];}return{..._0x1c002c[_0x2d8a2d(0x215)][_0x2d8a2d(0x398)](_0x251e9b),'mutations':[_0xe0ce2b]};}[_0x26cc89(0x30d)](_0x3c8c95){const _0x5b2247=_0x26cc89,{unitID:_0x7aaa59}=_0x3c8c95,{history:_0x49b4a5,collaboration:_0x2ed096}=this[_0x5b2247(0x337)][_0x5b2247(0x37d)](_0x7aaa59);if(_0x49b4a5[_0x5b2247(0x17b)]===0x0&&_0x2ed096[_0x5b2247(0x17b)]===0x0)return;const _0x15d315=[],_0x3a5658=[];let _0x1ecfa1=_0x1c002c[_0x5b2247(0x215)][_0x5b2247(0x398)](_0x3c8c95[_0x5b2247(0x3f8)][0x0]),_0x2cc6cb=_0x1c002c['Tools'][_0x5b2247(0x398)](_0x3c8c95[_0x5b2247(0x3f8)][0x0]);for(let _0x5d843a=_0x49b4a5[_0x5b2247(0x17b)]-0x1;_0x5d843a>=0x0;_0x5d843a--){const _0x2f1c86={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x49b4a5[_0x5d843a]['unitId'],..._0x49b4a5[_0x5d843a][_0x5b2247(0x325)]}},_0x557108={'id':_0x5b2247(0x358),'params':{'unitId':_0x49b4a5[_0x5d843a]['unitId'],..._0x49b4a5[_0x5d843a][_0x5b2247(0x188)]}},_0x340d1a=this[_0x5b2247(0x3eb)][_0x5b2247(0x1a3)](_0x1ecfa1,_0x2f1c86,!0x1),_0x73d012=this[_0x5b2247(0x3eb)][_0x5b2247(0x1a3)](_0x2cc6cb,_0x557108,!0x1);if(_0x376d49[_0x5b2247(0x244)](_0x340d1a))throw _0x340d1a['error'];if(_0x376d49[_0x5b2247(0x244)](_0x73d012))throw _0x73d012['error'];_0x15d315[_0x5b2247(0x334)]({..._0x49b4a5[_0x5d843a],'undoState':_0x340d1a[_0x5b2247(0x2b3)][_0x5b2247(0x3b2)],'redoState':_0x73d012['m2Prime']['params']}),_0x1ecfa1=_0x340d1a[_0x5b2247(0x3d6)],_0x2cc6cb=_0x73d012[_0x5b2247(0x3d6)];}_0x1ecfa1=_0x1c002c[_0x5b2247(0x215)]['deepClone'](_0x3c8c95[_0x5b2247(0x3f8)][0x0]),_0x2cc6cb=_0x1c002c[_0x5b2247(0x215)][_0x5b2247(0x398)](_0x3c8c95[_0x5b2247(0x3f8)][0x0]);for(let _0x534478=_0x2ed096['length']-0x1;_0x534478>=0x0;_0x534478--){const _0x197ce2={'id':_0x5b2247(0x358),'params':{'unitId':_0x2ed096[_0x534478][_0x5b2247(0x235)],..._0x2ed096[_0x534478][_0x5b2247(0x325)]}},_0x50f725={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2ed096[_0x534478]['unitId'],..._0x2ed096[_0x534478][_0x5b2247(0x188)]}},_0x160ba6=this[_0x5b2247(0x3eb)][_0x5b2247(0x1a3)](_0x1ecfa1,_0x197ce2,!0x1),_0x5d7719=this[_0x5b2247(0x3eb)]['transformMutation'](_0x2cc6cb,_0x50f725,!0x1);if(_0x376d49[_0x5b2247(0x244)](_0x160ba6))throw _0x160ba6[_0x5b2247(0x2b4)];if(_0x376d49[_0x5b2247(0x244)](_0x5d7719))throw _0x5d7719[_0x5b2247(0x2b4)];_0x3a5658[_0x5b2247(0x334)]({..._0x2ed096[_0x534478],'undoState':_0x160ba6[_0x5b2247(0x2b3)][_0x5b2247(0x3b2)],'redoState':_0x5d7719[_0x5b2247(0x2b3)][_0x5b2247(0x3b2)]}),_0x1ecfa1=_0x160ba6[_0x5b2247(0x3d6)],_0x2cc6cb=_0x5d7719[_0x5b2247(0x3d6)];}this[_0x5b2247(0x337)][_0x5b2247(0x2a6)](_0x7aaa59,{'history':_0x15d315,'collaboration':_0x3a5658});}};_0x404672=_0x43e2d5([_0x240926(0x0,_0x1c002c[_0x26cc89(0x273)](_0x1c002c['Injector'])),_0x240926(0x1,_0x376d49[_0x26cc89(0x2f8)]),_0x240926(0x2,_0x1c002c[_0x26cc89(0x273)](_0x567b9[_0x26cc89(0x23d)]))],_0x404672);var _0x348471=Object[_0x26cc89(0x252)],_0x4b2bb0=(_0x25a360,_0x5a9344,_0x38b09b,_0x4e0c8a)=>{for(var _0x3364f8=_0x4e0c8a>0x1?void 0x0:_0x4e0c8a?_0x348471(_0x5a9344,_0x38b09b):_0x5a9344,_0x54c900=_0x25a360['length']-0x1,_0x5a638c;_0x54c900>=0x0;_0x54c900--)(_0x5a638c=_0x25a360[_0x54c900])&&(_0x3364f8=_0x5a638c(_0x3364f8)||_0x3364f8);return _0x3364f8;},_0x1a3f14=(_0x26f0c5,_0x92052a)=>(_0x54fb8c,_0x30a5e9)=>_0x92052a(_0x54fb8c,_0x30a5e9,_0x26f0c5);let _0x1b6b6d=class{constructor(_0x3146da,_0x16099e){const _0x1d32cf=_0x26cc89;this[_0x1d32cf(0x19f)]=_0x3146da,this[_0x1d32cf(0x3eb)]=_0x16099e;}[_0x26cc89(0x311)](_0x3906e4){const _0x54eced=_0x26cc89;var _0x2eb591;const _0x294e05=this['_injector']['get'](_0x1100fd[_0x54eced(0x1b4)]),_0x56898c=(_0x2eb591=_0x294e05[_0x54eced(0x2d8)]())!=null?_0x2eb591:[];if(_0x56898c[_0x54eced(0x17b)]===0x0)return;const _0x3c59ab=_0x3906e4['unitID'],_0x31c9e7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3c59ab,'actions':null,'textRanges':_0x56898c}}],_0x1a9112=this[_0x54eced(0x3eb)][_0x54eced(0x24e)](_0x3906e4,_0x31c9e7);if(!_0x376d49[_0x54eced(0x290)](_0x1a9112))throw _0x1a9112['error'];const _0x148c77=_0x1a9112['m2Prime'][0x0]['params']['textRanges'];Array[_0x54eced(0x1a6)](_0x148c77)&&_0x148c77['length']&&_0x294e05[_0x54eced(0x230)](_0x148c77,{'unitId':_0x3c59ab,'subUnitId':_0x3c59ab},!0x1);}};_0x1b6b6d=_0x4b2bb0([_0x1a3f14(0x0,_0x1c002c['Inject'](_0x1c002c['Injector'])),_0x1a3f14(0x1,_0x376d49[_0x26cc89(0x2f8)])],_0x1b6b6d);var _0x46f41b=Object[_0x26cc89(0x252)],_0x50ea95=(_0x1704ad,_0xeea22,_0x3577ff,_0x2b8cd0)=>{const _0x57b91d=_0x26cc89;for(var _0x4b5ac2=_0x2b8cd0>0x1?void 0x0:_0x2b8cd0?_0x46f41b(_0xeea22,_0x3577ff):_0xeea22,_0x537716=_0x1704ad[_0x57b91d(0x17b)]-0x1,_0x209517;_0x537716>=0x0;_0x537716--)(_0x209517=_0x1704ad[_0x537716])&&(_0x4b5ac2=_0x209517(_0x4b5ac2)||_0x4b5ac2);return _0x4b5ac2;},_0x5dda5e=(_0x59a13c,_0x598f5a)=>(_0x2c0650,_0x91bcc6)=>_0x598f5a(_0x2c0650,_0x91bcc6,_0x59a13c);let _0x414db0=class extends _0x1c002c[_0x26cc89(0x332)]{constructor(_0x1b0eac,_0x5cc19e,_0x51a9de,_0x51056f,_0x52824d,_0x1161b8,_0x4f6232,_0x363bb7){const _0x4d35bc=_0x26cc89;super(),_0xd9b4bc(this,_0x4d35bc(0x36b),new _0x4287b5[(_0x4d35bc(0x173))](_0x827ff8[_0x4d35bc(0x287)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x1b0eac,this['_collaborationController']=_0x5cc19e,this['_docTransformIMECacheService']=_0x51a9de,this[_0x4d35bc(0x1f3)]=_0x51056f,this[_0x4d35bc(0x264)]=_0x52824d,this[_0x4d35bc(0x200)]=_0x1161b8,this[_0x4d35bc(0x280)]=_0x4f6232,this[_0x4d35bc(0x1ea)]=_0x363bb7,this['_initEntityListener']());}[_0x26cc89(0x3e4)](){const _0x2bfbd0=_0x26cc89;this['disposeWithMe'](this[_0x2bfbd0(0x21a)]['entityInit$'][_0x2bfbd0(0x253)](_0x401210=>{const _0x4a5b59=_0x2bfbd0,_0x4b3e8d=this[_0x4a5b59(0x337)][_0x4a5b59(0x3aa)][_0x4a5b59(0x253)](_0x976323=>{const _0x3fdf11=_0x4a5b59;if(_0x976323==null)return;const {unitId:_0x25e1c7,redoState:_0x31b7e8,commandId:_0x2760f7}=_0x976323;if(_0x25e1c7!==_0x401210[_0x3fdf11(0x3be)])return;const _0x3f1bac={'id':_0x2760f7,'type':_0x1c002c[_0x3fdf11(0x320)][_0x3fdf11(0x234)],'params':{'unitId':_0x25e1c7,'actions':_0x31b7e8[_0x3fdf11(0x367)],'textRanges':null}};_0x401210[_0x3fdf11(0x368)](_0x3f1bac);});if(_0x401210[_0x4a5b59(0x2bc)](_0x4b3e8d),_0x401210 instanceof _0x827ff8[_0x4a5b59(0x2d9)]){const _0xddb65={'onTransformIME':_0x59d1c6=>this[_0x4a5b59(0x1de)][_0x4a5b59(0x243)](_0x59d1c6),'onTransformState':_0x473f09=>this[_0x4a5b59(0x1f3)][_0x4a5b59(0x255)](_0x473f09),'onTransformSelections':_0x716a4e=>this[_0x4a5b59(0x264)][_0x4a5b59(0x311)](_0x716a4e),'onSyncEditingCollabCursor':_0x3064f1=>this[_0x4a5b59(0x200)]['syncEditingCollabCursor'](_0x3064f1),'onTransformRemoteChangesetByIMECache':_0x2a45f5=>this[_0x4a5b59(0x1de)][_0x4a5b59(0x1e6)](_0x2a45f5),'onTransformRemoteChangesetByStateCache':_0x2debe1=>this[_0x4a5b59(0x1f3)]['transformRemoteChangeset'](_0x2debe1)};_0x401210[_0x4a5b59(0x372)](_0xddb65);}}));}};_0x414db0=_0x50ea95([_0x5dda5e(0x0,_0x1c002c[_0x26cc89(0x273)](_0x567b9[_0x26cc89(0x23d)])),_0x5dda5e(0x1,_0x1c002c[_0x26cc89(0x273)](_0x827ff8[_0x26cc89(0x201)])),_0x5dda5e(0x2,_0x1c002c[_0x26cc89(0x273)](_0x281445)),_0x5dda5e(0x3,_0x1c002c[_0x26cc89(0x273)](_0x404672)),_0x5dda5e(0x4,_0x1c002c[_0x26cc89(0x273)](_0x1b6b6d)),_0x5dda5e(0x5,_0x1c002c[_0x26cc89(0x273)](_0x509d7c)),_0x5dda5e(0x6,_0x1c1408[_0x26cc89(0x1cc)]),_0x5dda5e(0x7,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x29d)]))],_0x414db0);var _0x1c3568=Object[_0x26cc89(0x252)],_0x370010=(_0x144689,_0xf861f6,_0x110375,_0x512faa)=>{const _0x32bff7=_0x26cc89;for(var _0x1d09b8=_0x512faa>0x1?void 0x0:_0x512faa?_0x1c3568(_0xf861f6,_0x110375):_0xf861f6,_0x9f02fa=_0x144689[_0x32bff7(0x17b)]-0x1,_0x8cc6fa;_0x9f02fa>=0x0;_0x9f02fa--)(_0x8cc6fa=_0x144689[_0x9f02fa])&&(_0x1d09b8=_0x8cc6fa(_0x1d09b8)||_0x1d09b8);return _0x1d09b8;},_0x309034=(_0x19efe8,_0x3494c1)=>(_0x490b94,_0x4b7558)=>_0x3494c1(_0x490b94,_0x4b7558,_0x19efe8);let _0x40d5b9=class extends _0x1c002c['Disposable']{constructor(_0x403cc7,_0x2a6058,_0x3f7e35){const _0x4f8923=_0x26cc89;super(),_0xd9b4bc(this,_0x4f8923(0x376),new Map()),_0xd9b4bc(this,_0x4f8923(0x180),new Map()),_0xd9b4bc(this,_0x4f8923(0x177),!0x1),(this[_0x4f8923(0x2e7)]=_0x403cc7,this['_localStorageService']=_0x2a6058,this['_revisionService']=_0x3f7e35);}[_0x26cc89(0x2b7)](){this['_disabled']=!0x0;}[_0x26cc89(0x1c1)](){const _0x223d2a=_0x26cc89;this[_0x223d2a(0x177)]=!0x1;}get[_0x26cc89(0x3f1)](){return this['_saveTaskMap'];}[_0x26cc89(0x203)](){const _0x16c552=_0x26cc89;this['exhaustSavingTask']()['then'](()=>super[_0x16c552(0x203)]());}async[_0x26cc89(0x3ed)](_0x419eb9){const _0x3afd3e=_0x26cc89;return this['_disabled']?null:this[_0x3afd3e(0x345)][_0x3afd3e(0x21f)](_0x827ff8['getLocalCacheKey'](_0x419eb9));}async[_0x26cc89(0x282)](_0x5dfa7b,_0x188a99){const _0x5908e0=_0x26cc89;return!!this[_0x5908e0(0x345)]['setItem'](_0x5dfa7b,_0x188a99);}[_0x26cc89(0x30f)](_0x31393b,_0x916ede,_0x38e1e1,_0x4d51c0){const _0x7be034=_0x26cc89,_0x38bad5=this[_0x7be034(0x3fb)][_0x7be034(0x190)](_0x31393b);this[_0x7be034(0x376)]['set'](_0x31393b,{'unitID':_0x31393b,'type':_0x916ede,'awaitingChangeset':_0x38e1e1,'mutations':_0x4d51c0,'rev':_0x38bad5}),this['_saveTaskMap'][_0x7be034(0x2fe)](_0x31393b)||this[_0x7be034(0x312)](_0x31393b);}['_scheduleSaving'](_0x5dd140){const _0x5635b3=_0x26cc89,_0x5e4c51=this[_0x5635b3(0x1dc)]();_0x5e4c51===0x0?this['_saveCache'](_0x5dd140):this[_0x5635b3(0x180)][_0x5635b3(0x391)](_0x5dd140,setTimeout(()=>this[_0x5635b3(0x16c)](_0x5dd140),_0x5e4c51));}[_0x26cc89(0x1dc)](){const _0x1c488a=_0x26cc89;var _0x2ca6f1;return(_0x2ca6f1=this['_configService'][_0x1c488a(0x240)](_0x827ff8[_0x1c488a(0x38d)]))!=null?_0x2ca6f1:_0x827ff8[_0x1c488a(0x3c1)];}[_0x26cc89(0x16c)](_0xbd34a1){const _0x4802b4=_0x26cc89,_0x2ff4fc=this[_0x4802b4(0x180)][_0x4802b4(0x1dd)](_0xbd34a1);return _0x2ff4fc!==void 0x0&&window['clearTimeout'](_0x2ff4fc),this['_localStorageService']['setItem'](_0x827ff8['getLocalCacheKey'](_0xbd34a1),this[_0x4802b4(0x376)]['get'](_0xbd34a1))[_0x4802b4(0x3ab)](()=>this[_0x4802b4(0x180)][_0x4802b4(0x26b)](_0xbd34a1));}async[_0x26cc89(0x1f5)](){const _0x2df1e5=_0x26cc89,_0x296da1=[];this[_0x2df1e5(0x180)][_0x2df1e5(0x36a)]((_0x29a767,_0x400946)=>{const _0x52871a=_0x2df1e5;window[_0x52871a(0x388)](_0x29a767),_0x296da1[_0x52871a(0x1c9)](this['_saveCache'](_0x400946)['then'](()=>{const _0x472784=_0x52871a;this['_saveTaskMap'][_0x472784(0x26b)](_0x400946);}));}),await Promise['all'](_0x296da1);}};_0x40d5b9=_0x370010([_0x309034(0x0,_0x1c002c[_0x26cc89(0x28c)]),_0x309034(0x1,_0x1c002c[_0x26cc89(0x1fc)]),_0x309034(0x2,_0x1c002c[_0x26cc89(0x273)](_0x376d49[_0x26cc89(0x1e4)]))],_0x40d5b9);class _0x3a8e37 extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(){const _0xdbfd8=_0x26cc89;super(),_0xd9b4bc(this,_0xdbfd8(0x387)),this[_0xdbfd8(0x387)]=_0x4287b5[_0xdbfd8(0x19d)](window,_0xdbfd8(0x361))[_0xdbfd8(0x1b0)](_0x4287b5['takeUntil'](this['dispose$']),_0x4287b5['shareReplay'](0x1),_0x4287b5[_0xdbfd8(0x15d)](void 0x0));}[_0x26cc89(0x3ae)](_0x135554,_0x1efd3a,_0x553ee3=!0x1){const _0x444e18=_0x26cc89,_0x459b01=new URL(window['location'][_0x444e18(0x3d5)]);_0x459b01['searchParams'][_0x444e18(0x391)](_0x135554,_0x1efd3a),_0x553ee3?window[_0x444e18(0x2c9)][_0x444e18(0x19c)]('','',_0x459b01[_0x444e18(0x217)]()):window[_0x444e18(0x2c9)][_0x444e18(0x38b)]('','',_0x459b01[_0x444e18(0x217)]());}['removeParam'](_0x3b3a79,_0x41c550=!0x1){const _0xeae5b7=_0x26cc89,_0x526f1a=new URL(window['location'][_0xeae5b7(0x3d5)]);_0x526f1a[_0xeae5b7(0x30b)][_0xeae5b7(0x26b)](_0x3b3a79),_0x41c550?window['history'][_0xeae5b7(0x19c)]('','',_0x526f1a[_0xeae5b7(0x217)]()):window[_0xeae5b7(0x2c9)][_0xeae5b7(0x38b)]('','',_0x526f1a['toString']());}[_0x26cc89(0x2f9)](_0x506b24){const _0x9d3413=_0x26cc89;var _0x497888;return(_0x497888=new URL(window[_0x9d3413(0x1cb)][_0x9d3413(0x3d5)])[_0x9d3413(0x30b)]['get'](_0x506b24))!=null?_0x497888:void 0x0;}}var _0x547a9f=Object['defineProperty'],_0x4b0298=Object[_0x26cc89(0x252)],_0x192993=(_0x19d1a9,_0x4be86e,_0x160c18)=>_0x4be86e in _0x19d1a9?_0x547a9f(_0x19d1a9,_0x4be86e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x160c18}):_0x19d1a9[_0x4be86e]=_0x160c18,_0x1e16ff=(_0x3ed3b4,_0x514055,_0x47c4d7,_0x3f319b)=>{const _0x3eb05d=_0x26cc89;for(var _0x4b7946=_0x3f319b>0x1?void 0x0:_0x3f319b?_0x4b0298(_0x514055,_0x47c4d7):_0x514055,_0x4e1922=_0x3ed3b4[_0x3eb05d(0x17b)]-0x1,_0x5c1112;_0x4e1922>=0x0;_0x4e1922--)(_0x5c1112=_0x3ed3b4[_0x4e1922])&&(_0x4b7946=_0x5c1112(_0x4b7946)||_0x4b7946);return _0x4b7946;},_0x4214f1=(_0x211883,_0x408d52)=>(_0x6ef6fe,_0x238601)=>_0x408d52(_0x6ef6fe,_0x238601,_0x211883),_0x285d91=(_0x278a25,_0x3589a6,_0x35591f)=>_0x192993(_0x278a25,_0x3589a6+'',_0x35591f);const _0x1eb3a1=_0x26cc89(0x25d);_0x3dc1b0[_0x26cc89(0x1c5)]=class extends _0x1c002c[_0x26cc89(0x263)]{constructor(_0x2dd588=_0x35a43e,_0x33ab58,_0x3c5292,_0x5a25c5){const _0x2789e5=_0x26cc89;super(),this['_config']=_0x2dd588,this[_0x2789e5(0x17e)]=_0x33ab58,this['_injector']=_0x3c5292,this[_0x2789e5(0x2e7)]=_0x5a25c5;const {..._0x507686}=_0x1c002c[_0x2789e5(0x375)]({},_0x35a43e,this[_0x2789e5(0x32a)]);this[_0x2789e5(0x2e7)][_0x2789e5(0x354)](_0x5a320f,_0x507686);}['onStarting'](){const _0x23ded4=_0x26cc89;this[_0x23ded4(0x314)](),this['_initDependencies']();}[_0x26cc89(0x1ae)](){const _0x715389=_0x26cc89;this[_0x715389(0x35d)]();}[_0x26cc89(0x314)](){const _0x3dbc57=_0x26cc89;var _0x45d0cb;const _0x631e21=[[_0x328ed8],[_0x1b6b6d],[_0x281445],[_0x404672],[_0x509d7c],[_0x53ff22,{'useClass':_0x3a8e37}],[_0x286260[_0x3dbc57(0x3b9)],{'useClass':_0x286260['WebSocketService']}],[_0x827ff8[_0x3dbc57(0x242)],{'useClass':_0x40d5b9}],[_0x3dc1b0[_0x3dbc57(0x16b)]],[_0x414db0],[_0x1cfb10],[_0x402205],[_0x3f0664],[_0x3dc1b0[_0x3dbc57(0x3ac)]]];_0x1c002c[_0x3dbc57(0x301)](this[_0x3dbc57(0x19f)],_0x1c002c['mergeOverrideWithDependencies'](_0x631e21,(_0x45d0cb=this['_config'])==null?void 0x0:_0x45d0cb[_0x3dbc57(0x191)]));}[_0x26cc89(0x35d)](){const _0x46f1bc=_0x26cc89;this['disposeWithMe'](this['_renderManagerService'][_0x46f1bc(0x352)](_0x1c002c[_0x46f1bc(0x1fa)][_0x46f1bc(0x3ec)],[_0x1b4ad8])),this[_0x46f1bc(0x2bc)](this['_renderManagerService'][_0x46f1bc(0x352)](_0x1c002c[_0x46f1bc(0x1fa)][_0x46f1bc(0x39d)],[_0x27c244]));}[_0x26cc89(0x19e)](){const _0x4d829a=_0x26cc89;_0x1c002c[_0x4d829a(0x3c3)](this['_injector'],[[_0x402205],[_0x3dc1b0[_0x4d829a(0x16b)]],[_0x414db0],[_0x1cfb10],[_0x3dc1b0[_0x4d829a(0x3ac)]]]);}},_0x285d91(_0x3dc1b0[_0x26cc89(0x1c5)],_0x26cc89(0x2e6),_0x1eb3a1),_0x3dc1b0[_0x26cc89(0x1c5)]=_0x1e16ff([_0x1c002c[_0x26cc89(0x2f5)](_0x827ff8['UniverCollaborationClientPlugin']),_0x4214f1(0x1,_0x8f24d8[_0x26cc89(0x365)]),_0x4214f1(0x2,_0x1c002c['Inject'](_0x1c002c['Injector'])),_0x4214f1(0x3,_0x1c002c[_0x26cc89(0x28c)])],_0x3dc1b0[_0x26cc89(0x1c5)]);var _0x1c4a14=Object['getOwnPropertyDescriptor'],_0x4e865d=(_0x361ee5,_0x479f2c,_0x322d4f,_0x4d0474)=>{const _0x289f57=_0x26cc89;for(var _0x201ce0=_0x4d0474>0x1?void 0x0:_0x4d0474?_0x1c4a14(_0x479f2c,_0x322d4f):_0x479f2c,_0x2208dc=_0x361ee5[_0x289f57(0x17b)]-0x1,_0x3bac92;_0x2208dc>=0x0;_0x2208dc--)(_0x3bac92=_0x361ee5[_0x2208dc])&&(_0x201ce0=_0x3bac92(_0x201ce0)||_0x201ce0);return _0x201ce0;},_0x50f71e=(_0xd30082,_0x54d014)=>(_0x2c5e59,_0x2516fb)=>_0x54d014(_0x2c5e59,_0x2516fb,_0xd30082);_0x3dc1b0[_0x26cc89(0x2d0)]=class extends _0x827ff8[_0x26cc89(0x19b)]{constructor(_0x434ff0,_0x14a3c2,_0x1813f1,_0xbd3f4e,_0x2cb033){super(_0x434ff0,_0x14a3c2,_0x1813f1,_0xbd3f4e,_0x2cb033);}async[_0x26cc89(0x166)](_0x4b73fa){const _0x24bfb5=_0x26cc89,_0x5a103e=await this[_0x24bfb5(0x22d)](),_0xc83db7=this['_createSocketURL'](_0x4b73fa,_0x5a103e);return this[_0x24bfb5(0x362)](_0xc83db7);}[_0x26cc89(0x17d)](_0x5b75a9,_0x266aa4){const _0x25f498=_0x26cc89,_0x354298=typeof window>'u'?new URL(_0x5b75a9):new URL(_0x5b75a9,window[_0x25f498(0x1cb)]['origin']);_0x354298[_0x25f498(0x30b)][_0x25f498(0x391)](_0x25f498(0x38e),_0x266aa4);const _0x5bf00f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x25f498(0x1cb)][_0x25f498(0x2f4)]);return _0x5bf00f['get'](_0x25f498(0x3f5))&&_0x354298[_0x25f498(0x30b)][_0x25f498(0x391)](_0x25f498(0x3f5),_0x5bf00f[_0x25f498(0x1dd)](_0x25f498(0x3f5))),_0x354298[_0x25f498(0x217)]();}async[_0x26cc89(0x22d)](){const _0x1256e7=_0x26cc89;var _0x5d0012,_0x4a54ca,_0x17fd79;const _0xb03c84=this[_0x1256e7(0x2e7)]['getConfig'](_0x827ff8['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x550cba=(_0x5d0012=_0xb03c84==null?void 0x0:_0xb03c84[_0x1256e7(0x1c6)])!=null?_0x5d0012:_0x827ff8['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x17fd79=(_0x4a54ca=(await this[_0x1256e7(0x277)][_0x1256e7(0x1dd)](_0x550cba,{'headers':{'Content-Type':_0x1256e7(0x246)}}))[_0x1256e7(0x1b6)])==null?void 0x0:_0x4a54ca[_0x1256e7(0x175)])!=null?_0x17fd79:'';}},_0x3dc1b0[_0x26cc89(0x2d0)]=_0x4e865d([_0x50f71e(0x0,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x50f71e(0x1,_0x1c002c['Inject'](_0x286260[_0x26cc89(0x20b)])),_0x50f71e(0x2,_0x1c002c['IConfigService']),_0x50f71e(0x3,_0x1c002c[_0x26cc89(0x319)]),_0x50f71e(0x4,_0x376d49[_0x26cc89(0x31a)])],_0x3dc1b0['BrowserCollaborationSocketService']);const _0x8792f4=0x7530,_0x4100d1='ACTIVE_UNIT_EVENT_CHANNEL';class _0x3cdc42 extends _0x1c002c[_0x26cc89(0x332)]{constructor(){const _0x1898c5=_0x26cc89;super(),_0xd9b4bc(this,_0x1898c5(0x300),_0x1c002c[_0x1898c5(0x2d2)]()),_0xd9b4bc(this,_0x1898c5(0x193),new Set()),_0xd9b4bc(this,_0x1898c5(0x322),new Map()),_0xd9b4bc(this,_0x1898c5(0x1d4),null),_0xd9b4bc(this,_0x1898c5(0x3b7),new Map()),_0xd9b4bc(this,_0x1898c5(0x381),new Map()),this[_0x1898c5(0x2ee)]();}[_0x26cc89(0x203)](){const _0x518dfb=_0x26cc89;super[_0x518dfb(0x203)](),this[_0x518dfb(0x3b7)]['forEach']((_0x19a9b2,_0x5bc4b5)=>this[_0x518dfb(0x2a4)](_0x5bc4b5)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x518dfb(0x1d4)]);}[_0x26cc89(0x31d)](_0x29c64){const _0x249002=_0x26cc89;return this[_0x249002(0x2b5)](_0x29c64)['pipe'](_0x4287b5[_0x249002(0x28a)]());}[_0x26cc89(0x231)](_0x53ea4a){const _0x5027ef=_0x26cc89;this[_0x5027ef(0x193)][_0x5027ef(0x239)]===0x0&&this[_0x5027ef(0x364)](),this[_0x5027ef(0x193)]['add'](_0x53ea4a),this['_send']({'type':0x0,'memberID':this[_0x5027ef(0x300)],'unitIDs':[_0x53ea4a],'isForwarded':!0x1});}[_0x26cc89(0x1b9)](_0x39e1cf){const _0x37c387=_0x26cc89;this[_0x37c387(0x193)][_0x37c387(0x26b)](_0x39e1cf),this[_0x37c387(0x193)][_0x37c387(0x239)]===0x0&&this[_0x37c387(0x1d4)]&&window[_0x37c387(0x18a)](this['_heartbeatTimer']);}[_0x26cc89(0x2ee)](){const _0x374acb=_0x26cc89;this[_0x374acb(0x2bc)](_0x1c002c[_0x374acb(0x1ed)](_0x4287b5[_0x374acb(0x19d)](window,_0x374acb(0x2c6))['subscribe'](_0x3c77eb=>{const _0x2b70a3=_0x374acb;if(_0x3c77eb[_0x2b70a3(0x37b)]!==_0x4100d1||!_0x3c77eb['newValue'])return;const _0x4790d9=JSON[_0x2b70a3(0x3fe)](_0x3c77eb[_0x2b70a3(0x2e8)]);this[_0x2b70a3(0x17f)](_0x4790d9);}))),window[_0x374acb(0x1a8)](_0x374acb(0x3af),()=>this[_0x374acb(0x33c)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x374acb(0x3de)](this[_0x374acb(0x193)])}));}[_0x26cc89(0x17f)](_0x3411b4){const _0x3ce273=_0x26cc89;switch(_0x3411b4[_0x3ce273(0x1ee)]){case 0x0:this[_0x3ce273(0x356)](_0x3411b4);break;case 0x1:this['_handleLeaveEvent'](_0x3411b4);break;case 0x2:this[_0x3ce273(0x3ff)](_0x3411b4);break;}}[_0x26cc89(0x356)](_0x5e1fd9){const _0x52a156=_0x26cc89,{unitIDs:_0x3d4c77,memberID:_0x4d50c6,isForwarded:_0x5ee0e9}=_0x5e1fd9;_0x3d4c77['forEach'](_0x50f150=>{const _0x246514=_0x30a1;if(!_0x5ee0e9&&this[_0x246514(0x322)][_0x246514(0x2fe)](_0x50f150)&&this[_0x246514(0x2b5)](_0x50f150)['next'](_0x827ff8[_0x246514(0x2c0)][_0x246514(0x26e)]),!this[_0x246514(0x322)][_0x246514(0x2fe)](_0x50f150)||!this['_unitOnClients'][_0x246514(0x1dd)](_0x50f150)[_0x246514(0x2fe)](_0x4d50c6)){const _0x4c5749=this[_0x246514(0x322)][_0x246514(0x1dd)](_0x50f150)||new Set();_0x4c5749['add'](_0x4d50c6),this[_0x246514(0x322)][_0x246514(0x391)](_0x50f150,_0x4c5749),this[_0x246514(0x377)](_0x4d50c6);}}),_0x5ee0e9||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x52a156(0x193)]],'isForwarded':!0x0});}[_0x26cc89(0x377)](_0x57c00a){const _0x413d7e=_0x26cc89;this[_0x413d7e(0x2a4)](_0x57c00a);const _0x194b03=window['setTimeout'](()=>{const _0x20569c=_0x413d7e;this[_0x20569c(0x322)][_0x20569c(0x36a)](_0x484e9f=>{_0x484e9f['delete'](_0x57c00a);});},_0x8792f4*0x2);this[_0x413d7e(0x3b7)][_0x413d7e(0x391)](_0x57c00a,_0x194b03);}[_0x26cc89(0x2a4)](_0x1d5c32){const _0x50e29d=_0x26cc89;if(this['_clearOtherTimers'][_0x50e29d(0x2fe)](_0x1d5c32)){const _0x21cbac=this['_clearOtherTimers']['get'](_0x1d5c32);_0x21cbac&&window[_0x50e29d(0x388)](_0x21cbac),this['_clearOtherTimers'][_0x50e29d(0x391)](_0x1d5c32,null);}}[_0x26cc89(0x236)](_0x311cfd){const _0x50780b=_0x26cc89,{memberID:_0x1c275d,unitIDs:_0x167b43}=_0x311cfd;_0x167b43[_0x50780b(0x36a)](_0x1bfd9a=>{const _0x68ebb1=_0x50780b;var _0xdd96ba;const _0x14aa2e=this['_unitOnClients'][_0x68ebb1(0x1dd)](_0x1bfd9a);_0x14aa2e&&(_0x14aa2e[_0x68ebb1(0x26b)](_0x1c275d),(_0xdd96ba=this[_0x68ebb1(0x2b5)](_0x1bfd9a))==null||_0xdd96ba['next'](_0x14aa2e[_0x68ebb1(0x239)]===0x0?_0x827ff8[_0x68ebb1(0x2c0)][_0x68ebb1(0x306)]:_0x827ff8[_0x68ebb1(0x2c0)][_0x68ebb1(0x26e)]));}),this[_0x50780b(0x2a4)](_0x1c275d);}[_0x26cc89(0x3ff)](_0x5cd107){const _0x4c3210=_0x26cc89;this[_0x4c3210(0x377)](_0x5cd107[_0x4c3210(0x2c8)]);}[_0x26cc89(0x33c)](_0x4a7f4a){const _0x566523=_0x26cc89;localStorage[_0x566523(0x285)](_0x4100d1,JSON[_0x566523(0x185)](_0x4a7f4a));}[_0x26cc89(0x364)](){const _0x59fc8f=_0x26cc89;this['_heartbeatTimer']=window[_0x59fc8f(0x2e3)](()=>{const _0x113755=_0x59fc8f;this[_0x113755(0x33c)]({'type':0x2,'memberID':this['_id']});},_0x8792f4);}['_ensureSubject'](_0x4c245b){const _0x9a76ae=_0x26cc89;return this[_0x9a76ae(0x381)][_0x9a76ae(0x2fe)](_0x4c245b)||this[_0x9a76ae(0x381)][_0x9a76ae(0x391)](_0x4c245b,new _0x4287b5[(_0x9a76ae(0x173))](_0x827ff8['UnitStatus'][_0x9a76ae(0x306)])),this['_unitStatus'][_0x9a76ae(0x1dd)](_0x4c245b);}}var _0x510fae=(_0x171411=>(_0x171411[_0x171411['UNDEFINED']=0x0]=_0x26cc89(0x2ba),_0x171411[_0x171411['OK']=0x1]='OK',_0x171411[_0x171411['INTERNAL_ERROR']=0x2]=_0x26cc89(0x396),_0x171411[_0x171411[_0x26cc89(0x2d6)]=0x3]='PERMISSION_DENIED',_0x171411[_0x171411['NOT_FOUND']=0x4]=_0x26cc89(0x192),_0x171411[_0x171411[_0x26cc89(0x394)]=0x5]=_0x26cc89(0x394),_0x171411[_0x171411[_0x26cc89(0x397)]=0x6]=_0x26cc89(0x397),_0x171411[_0x171411[_0x26cc89(0x338)]=0x7]=_0x26cc89(0x338),_0x171411[_0x171411[_0x26cc89(0x164)]=0x8]='TOO_MANY_REQUESTS',_0x171411[_0x171411[_0x26cc89(0x2cb)]=0x9]=_0x26cc89(0x2cb),_0x171411[_0x171411[_0x26cc89(0x374)]=0xa]='LOGIN_FAILED',_0x171411[_0x171411[_0x26cc89(0x24f)]=0x1389]=_0x26cc89(0x24f),_0x171411[_0x171411[_0x26cc89(0x34b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x171411[_0x171411[_0x26cc89(0x1cf)]=0x1772]=_0x26cc89(0x1cf),_0x171411[_0x171411[_0x26cc89(0x168)]=0x1773]=_0x26cc89(0x168),_0x171411[_0x171411[_0x26cc89(0x23f)]=0x1b59]='APPLY_REJECT',_0x171411[_0x171411[_0x26cc89(0x29b)]=0x1b5a]=_0x26cc89(0x29b),_0x171411[_0x171411[_0x26cc89(0x33d)]=0x1b5b]=_0x26cc89(0x33d),_0x171411[_0x171411[_0x26cc89(0x1da)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x171411[_0x171411[_0x26cc89(0x3fa)]=0x1b5d]=_0x26cc89(0x3fa),_0x171411[_0x171411['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x26cc89(0x317),_0x171411[_0x171411['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x26cc89(0x32b),_0x171411[_0x171411[_0x26cc89(0x298)]=0x232a]=_0x26cc89(0x298),_0x171411[_0x171411['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x26cc89(0x1e7),_0x171411[_0x171411['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x26cc89(0x220),_0x171411[_0x171411[_0x26cc89(0x30e)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x171411[_0x171411[_0x26cc89(0x202)]=0x2711]=_0x26cc89(0x202),_0x171411[_0x171411[_0x26cc89(0x3c2)]=0x2712]=_0x26cc89(0x3c2),_0x171411[_0x171411[_0x26cc89(0x385)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x171411[_0x171411[_0x26cc89(0x178)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x171411[_0x171411[_0x26cc89(0x18f)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x171411[_0x171411[_0x26cc89(0x224)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x171411[_0x171411[_0x26cc89(0x170)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x171411[_0x171411['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x26cc89(0x357),_0x171411[_0x171411[_0x26cc89(0x303)]=0x271e]=_0x26cc89(0x303),_0x171411[_0x171411[_0x26cc89(0x343)]=0x271f]=_0x26cc89(0x343),_0x171411[_0x171411[_0x26cc89(0x2a7)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x171411[_0x171411[_0x26cc89(0x3f4)]=0x2ee1]=_0x26cc89(0x3f4),_0x171411[_0x171411[_0x26cc89(0x2ef)]=0x2ee2]='INVALID_INVITE_CODE',_0x171411[_0x171411[_0x26cc89(0x2ec)]=0x2ee3]=_0x26cc89(0x2ec),_0x171411[_0x171411[_0x26cc89(0x195)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x171411[_0x171411['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x26cc89(0x283),_0x171411[_0x171411[_0x26cc89(0x24a)]=0x32c9]=_0x26cc89(0x24a),_0x171411[_0x171411['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x26cc89(0x2df),_0x171411[_0x171411[_0x26cc89(0x22a)]=0x32cb]=_0x26cc89(0x22a),_0x171411[_0x171411[_0x26cc89(0x321)]=-0x1]=_0x26cc89(0x321),_0x171411))(_0x510fae||{}),_0x141afb=Object[_0x26cc89(0x252)],_0x32fa26=(_0x5b2a89,_0x1e15f4,_0x3a8bdc,_0x4a12b2)=>{const _0x3257fb=_0x26cc89;for(var _0x5c4a5e=_0x4a12b2>0x1?void 0x0:_0x4a12b2?_0x141afb(_0x1e15f4,_0x3a8bdc):_0x1e15f4,_0x58d1a4=_0x5b2a89[_0x3257fb(0x17b)]-0x1,_0x538b65;_0x58d1a4>=0x0;_0x58d1a4--)(_0x538b65=_0x5b2a89[_0x58d1a4])&&(_0x5c4a5e=_0x538b65(_0x5c4a5e)||_0x5c4a5e);return _0x5c4a5e;},_0x4558cf=(_0x22adc4,_0x4e6685)=>(_0x5bb294,_0x9a925c)=>_0x4e6685(_0x5bb294,_0x9a925c,_0x22adc4);_0x3dc1b0[_0x26cc89(0x36c)]=class extends _0x1c002c[_0x26cc89(0x332)]{constructor(_0x3602d7,_0x137f4d,_0x400b7e){const _0x375748=_0x26cc89;super(),this[_0x375748(0x33f)]=_0x3602d7,this[_0x375748(0x277)]=_0x137f4d,this[_0x375748(0x2e7)]=_0x400b7e;}async[_0x26cc89(0x34f)](_0xa5fe81,_0x123dfb,_0x1a508f,..._0x518c95){const _0x4cd7b6=_0x26cc89;var _0x4aadd3,_0x4aa5b7,_0x5e133f,_0x1f0e71;const _0x8b7fa4=this['_instanceService']['getFocusedUnit']();if(!_0x8b7fa4)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x37065c=((_0x4aadd3=this[_0x4cd7b6(0x2e7)][_0x4cd7b6(0x240)](_0x827ff8[_0x4cd7b6(0x276)]))!=null?_0x4aadd3:_0x827ff8['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0xa5fe81+_0x4cd7b6(0x1b1)+_0x123dfb,_0x1986fb=new URL(window[_0x4cd7b6(0x1cb)][_0x4cd7b6(0x3d5)]),_0x1c433b={'scriptId':_0xa5fe81,'runId':(_0x4aa5b7=_0x1986fb[_0x4cd7b6(0x30b)]['get'](_0x4cd7b6(0x3f5)))!=null?_0x4aa5b7:'','function':_0x123dfb,'unitId':_0x8b7fa4[_0x4cd7b6(0x212)](),'argsOfFunction':JSON['stringify'](_0x518c95),'invokeId':(_0x5e133f=_0x1a508f[_0x4cd7b6(0x1c7)])!=null?_0x5e133f:'','executionId':(_0x1f0e71=_0x1a508f[_0x4cd7b6(0x3e7)])!=null?_0x1f0e71:''};try{const _0x2a2759=await this['_httpService']['post'](_0x37065c,{'body':_0x1c433b});return _0x2a2759[_0x4cd7b6(0x1b6)][_0x4cd7b6(0x2b4)]&&_0x2a2759[_0x4cd7b6(0x1b6)][_0x4cd7b6(0x2b4)][_0x4cd7b6(0x2a0)]!==_0x510fae['OK']?_0x4cd7b6(0x1e5):_0x2a2759['body'][_0x4cd7b6(0x1df)];}catch{return'Failed';}}},_0x3dc1b0['RemoteUniscriptService']=_0x32fa26([_0x4558cf(0x0,_0x1c002c[_0x26cc89(0x32d)]),_0x4558cf(0x1,_0x1c002c['Inject'](_0x286260[_0x26cc89(0x20b)])),_0x4558cf(0x2,_0x1c002c['IConfigService'])],_0x3dc1b0['RemoteUniscriptService']),_0x3dc1b0['CollaborationStatusDisplay']=_0x725819,_0x3dc1b0['IURLService']=_0x53ff22,_0x3dc1b0[_0x26cc89(0x3b1)]=_0x9aba2b,_0x3dc1b0[_0x26cc89(0x1a2)]=_0x3cdc42,_0x3dc1b0['WebURLService']=_0x3a8e37,Object['defineProperty'](_0x3dc1b0,Symbol[_0x26cc89(0x3b0)],{'value':_0x26cc89(0x2ad)});}));
|