@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506171607 → 0.8.1-nightly.202506181607

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5819(_0x546190,_0x54d989){const _0x12c07c=_0x12c0();return _0x5819=function(_0x5819e5,_0x479bec){_0x5819e5=_0x5819e5-0x104;let _0x1e6e89=_0x12c07c[_0x5819e5];return _0x1e6e89;},_0x5819(_0x546190,_0x54d989);}(function(_0x23ab49,_0x259a56){const _0x3aa8eb=_0x5819,_0x4d4ff4=_0x23ab49();while(!![]){try{const _0x39367f=parseInt(_0x3aa8eb(0x2c7))/0x1+parseInt(_0x3aa8eb(0x1e9))/0x2+-parseInt(_0x3aa8eb(0x3a1))/0x3*(parseInt(_0x3aa8eb(0x226))/0x4)+-parseInt(_0x3aa8eb(0x379))/0x5*(-parseInt(_0x3aa8eb(0x1f4))/0x6)+-parseInt(_0x3aa8eb(0x35d))/0x7*(parseInt(_0x3aa8eb(0x377))/0x8)+parseInt(_0x3aa8eb(0x209))/0x9*(parseInt(_0x3aa8eb(0x2d5))/0xa)+parseInt(_0x3aa8eb(0x299))/0xb;if(_0x39367f===_0x259a56)break;else _0x4d4ff4['push'](_0x4d4ff4['shift']());}catch(_0x51792e){_0x4d4ff4['push'](_0x4d4ff4['shift']());}}}(_0x12c0,0x9a63b),function(_0x12968e,_0x52c451){const _0x1c932f=_0x5819;typeof exports==_0x1c932f(0x384)&&typeof module<'u'?_0x52c451(exports,require('@univerjs-pro/collaboration-client'),require(_0x1c932f(0x138)),require(_0x1c932f(0x2c6)),require(_0x1c932f(0x126)),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x1c932f(0x23f)),require(_0x1c932f(0x1c6)),require(_0x1c932f(0x2b3)),require(_0x1c932f(0x1c4)),require(_0x1c932f(0x1ac)),require(_0x1c932f(0x366)),require('@univerjs/sheets-ui'),require(_0x1c932f(0x161)),require(_0x1c932f(0x129)),require('@univerjs/design'),require(_0x1c932f(0x249)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x1c932f(0x2f6)]?define([_0x1c932f(0x22a),_0x1c932f(0x135),'@univerjs/core',_0x1c932f(0x2c6),_0x1c932f(0x126),'@univerjs/docs-ui',_0x1c932f(0x17e),_0x1c932f(0x23f),_0x1c932f(0x1c6),_0x1c932f(0x2b3),_0x1c932f(0x1c4),_0x1c932f(0x1ac),_0x1c932f(0x366),_0x1c932f(0x370),_0x1c932f(0x161),'@univerjs/ui',_0x1c932f(0x1df),_0x1c932f(0x249),_0x1c932f(0x1ed)],_0x52c451):(_0x12968e=typeof globalThis<'u'?globalThis:_0x12968e||self,_0x52c451(_0x12968e[_0x1c932f(0x34b)]={},_0x12968e['UniverProCollaborationClient'],_0x12968e['UniverCore'],_0x12968e[_0x1c932f(0x17a)],_0x12968e[_0x1c932f(0x22c)],_0x12968e[_0x1c932f(0x395)],_0x12968e[_0x1c932f(0x3a9)],_0x12968e['rxjs'],_0x12968e[_0x1c932f(0x243)],_0x12968e[_0x1c932f(0x18b)],_0x12968e[_0x1c932f(0x1d7)],_0x12968e[_0x1c932f(0x259)],_0x12968e[_0x1c932f(0x23f)][_0x1c932f(0x20a)],_0x12968e[_0x1c932f(0x1f8)],_0x12968e[_0x1c932f(0x1f0)],_0x12968e['UniverUi'],_0x12968e['UniverDesign'],_0x12968e['React'],_0x12968e[_0x1c932f(0x252)]));}(this,function(_0x5a5a65,_0x55c138,_0x1061f8,_0x47852a,_0x2bf9f0,_0x37c85e,_0x1e94c8,_0x3a20ae,_0x4639f7,_0x50da05,_0x9d3ee1,_0x466e90,_0x39ab20,_0x36792e,_0x259c4f,_0x17254d,_0x44a7e1,_0x588d36,_0x34b757){'use strict';const _0x140f32=_0x5819;var _0x4dca1c=Object[_0x140f32(0x2eb)],_0x444cef=(_0x1be1eb,_0x55d6ae,_0x16f391)=>_0x55d6ae in _0x1be1eb?_0x4dca1c(_0x1be1eb,_0x55d6ae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16f391}):_0x1be1eb[_0x55d6ae]=_0x16f391,_0x9b1d7c=(_0xc3ebce,_0x4b5885,_0x163b18)=>_0x444cef(_0xc3ebce,typeof _0x4b5885!=_0x140f32(0x3aa)?_0x4b5885+'':_0x4b5885,_0x163b18),_0x341090=Object[_0x140f32(0x10b)],_0x234342=(_0x2abdd1,_0x22e6a6,_0x2f2326,_0x2b2eea)=>{const _0x52d062=_0x140f32;for(var _0xe0826f=_0x2b2eea>0x1?void 0x0:_0x2b2eea?_0x341090(_0x22e6a6,_0x2f2326):_0x22e6a6,_0x2b2c4c=_0x2abdd1[_0x52d062(0x223)]-0x1,_0x29f6a0;_0x2b2c4c>=0x0;_0x2b2c4c--)(_0x29f6a0=_0x2abdd1[_0x2b2c4c])&&(_0xe0826f=_0x29f6a0(_0xe0826f)||_0xe0826f);return _0xe0826f;},_0x1fb744=(_0x5a2432,_0x32077a)=>(_0x4d7b46,_0x3a0e13)=>_0x32077a(_0x4d7b46,_0x3a0e13,_0x5a2432);let _0x131abd=class extends _0x1061f8[_0x140f32(0x2f8)]{constructor(_0x8f0166,_0x46a023){const _0x5ea4bd=_0x140f32;super(),this['_docClipboardService']=_0x8f0166,this[_0x5ea4bd(0x10e)]=_0x46a023,this[_0x5ea4bd(0x2c9)]();}[_0x140f32(0x2c9)](){const _0x319dfd=_0x140f32,_0x1cd682=this;this[_0x319dfd(0x26b)](this[_0x319dfd(0x380)]['addClipboardHook']({'onBeforePasteImage':async _0x3cb0ad=>{const _0x434a29=_0x319dfd,_0x35f1dc=await _0x1cd682[_0x434a29(0x10e)][_0x434a29(0x312)](_0x3cb0ad);return _0x35f1dc?{'source':_0x35f1dc[_0x434a29(0x196)],'imageSourceType':_0x35f1dc['imageSourceType']}:null;}}));}};_0x131abd=_0x234342([_0x1fb744(0x0,_0x37c85e['IDocClipboardService']),_0x1fb744(0x1,_0x1e94c8[_0x140f32(0x25c)])],_0x131abd);const _0x5bbb1c=[_0x140f32(0x37d),'jiqing.500',_0x140f32(0x255),_0x140f32(0x157),_0x140f32(0x1dd),_0x140f32(0x191)];class _0x23270c extends _0x1061f8[_0x140f32(0x2e7)]{constructor(){super(...arguments),_0x9b1d7c(this,'_assignedColors',new Map()),_0x9b1d7c(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x19a489){const _0x49f60f=_0x140f32;if(this[_0x49f60f(0x1b5)][_0x49f60f(0x171)](_0x19a489))return this[_0x49f60f(0x1b5)][_0x49f60f(0x382)](_0x19a489);const _0x5ab5b0=_0x5bbb1c[this['_colorIndex']];return this[_0x49f60f(0x250)]=(this[_0x49f60f(0x250)]+0x1)%_0x5bbb1c[_0x49f60f(0x223)],this[_0x49f60f(0x1b5)][_0x49f60f(0x266)](_0x19a489,_0x5ab5b0),_0x5ab5b0;}}function _0x5af8d3(_0x33d1c0){let _0x4ab804='';for(const _0x19bbb6 of _0x33d1c0){const {startOffset:_0x2e82a1,endOffset:_0x8aa471,isActive:_0x12cae1,rangeType:_0x5e3c45,segmentId:_0x27ed98,segmentPage:_0x453e16}=_0x19bbb6;_0x4ab804['length']&&(_0x4ab804+=','),_0x4ab804+=_0x2e82a1+':'+_0x8aa471+':'+(_0x12cae1?'1':'0')+':'+_0x5e3c45+':'+_0x27ed98+':'+_0x453e16;}return _0x4ab804;}function _0x30cdc0(_0x1dbeab){const _0x4fdd67=_0x140f32,_0x56ef56=_0x1dbeab['split'](','),_0x12640a=[];for(const _0xbda100 of _0x56ef56){const [_0x36bac4,_0x582784,_0x3cb389,_0x2e8193,_0x4250e9,_0x1258f5]=_0xbda100[_0x4fdd67(0x131)](':');_0x12640a[_0x4fdd67(0x27b)]({'startOffset':Number(_0x36bac4),'endOffset':Number(_0x582784),'collapsed':_0x36bac4===_0x582784,'isActive':_0x3cb389==='1','rangeType':_0x2e8193===_0x1061f8[_0x4fdd67(0x2a6)]['TEXT']?_0x1061f8['DOC_RANGE_TYPE']['TEXT']:_0x1061f8[_0x4fdd67(0x2a6)][_0x4fdd67(0x37f)],'segmentId':typeof _0x4250e9==_0x4fdd67(0x258)?String(_0x4250e9):'','segmentPage':Number(_0x1258f5!=null?_0x1258f5:-0x1)});}return _0x12640a[_0x4fdd67(0x309)](_0x4007ab=>_0x4007ab[_0x4fdd67(0x31d)])||(_0x12640a[0x0]['isActive']=!0x0),_0x12640a;}class _0x1162b2 extends _0x1061f8[_0x140f32(0x2f8)]{constructor(){const _0x4bd0a0=_0x140f32;super(...arguments),_0x9b1d7c(this,_0x4bd0a0(0x1a9),new _0x3a20ae[(_0x4bd0a0(0x36b))](null)),_0x9b1d7c(this,'collabCursorState$',this[_0x4bd0a0(0x1a9)][_0x4bd0a0(0x145)]());}[_0x140f32(0x1ef)](_0x49a2d8){const _0x52a07c=_0x140f32,{unitID:_0x4c2dbb,memberID:_0x1e0d23,textRanges:_0x3a7639}=_0x49a2d8,_0x31473f=_0x5af8d3(_0x3a7639);if(_0x31473f==='')return;const _0x404df4={'unitID':_0x4c2dbb,'memberID':_0x1e0d23,'selection':_0x31473f};this[_0x52a07c(0x1a9)]['next'](_0x404df4);}}var _0x20d788=Object['getOwnPropertyDescriptor'],_0x4724e5=(_0x3e4764,_0x446d31,_0x7a03dc,_0x208d54)=>{const _0x413439=_0x140f32;for(var _0xf36cae=_0x208d54>0x1?void 0x0:_0x208d54?_0x20d788(_0x446d31,_0x7a03dc):_0x446d31,_0x4a4521=_0x3e4764[_0x413439(0x223)]-0x1,_0xfcb0be;_0x4a4521>=0x0;_0x4a4521--)(_0xfcb0be=_0x3e4764[_0x4a4521])&&(_0xf36cae=_0xfcb0be(_0xf36cae)||_0xf36cae);return _0xf36cae;},_0x23af4b=(_0x329a29,_0x26ed8e)=>(_0xe95d3,_0x382cea)=>_0x26ed8e(_0xe95d3,_0x382cea,_0x329a29);const _0x176407=0x12c,_0x4c6cce=0x64;let _0x331d87=class extends _0x1061f8[_0x140f32(0x2f8)]{constructor(_0x43cd3f,_0x280167,_0x326149,_0x30b034,_0x562416,_0x3b006a,_0x4cd6d8,_0x5e8e4b,_0x18eed3){const _0x2d1d02=_0x140f32;super(),_0x9b1d7c(this,_0x2d1d02(0x34f),!0x1),_0x9b1d7c(this,'_init',!0x1),_0x9b1d7c(this,_0x2d1d02(0x2a3),new _0x3a20ae[(_0x2d1d02(0x36b))](new Map())),_0x9b1d7c(this,_0x2d1d02(0x180),this['_cursorInfo$'][_0x2d1d02(0x145)]()),_0x9b1d7c(this,_0x2d1d02(0x1af),new _0x3a20ae[(_0x2d1d02(0x36b))]([])),_0x9b1d7c(this,_0x2d1d02(0x32e),this[_0x2d1d02(0x1af)][_0x2d1d02(0x13a)](_0x3a20ae[_0x2d1d02(0x10a)](_0x176407))),_0x9b1d7c(this,'_updateLocalCursor',_0x1061f8[_0x2d1d02(0x34c)](_0x1c21e2=>{const _0x42587b=_0x2d1d02,_0x501b24={'eventID':_0x50da05['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x42587b(0x2b2)][_0x42587b(0x2c1)](),'selection':_0x5af8d3(_0x1c21e2)}};this[_0x42587b(0x2b2)][_0x42587b(0x294)](_0x501b24,this[_0x42587b(0x340)]);},_0x4c6cce)),(this[_0x2d1d02(0x340)]=_0x43cd3f,this[_0x2d1d02(0x2b2)]=_0x280167,this[_0x2d1d02(0x2b5)]=_0x326149,this[_0x2d1d02(0x1a8)]=_0x30b034,this['_memberService']=_0x562416,this['_syncEditingCollabCursorService']=_0x3b006a,this[_0x2d1d02(0x24a)]=_0x4cd6d8,this[_0x2d1d02(0x186)]=_0x5e8e4b,this[_0x2d1d02(0x2bc)]=_0x18eed3);}get[_0x140f32(0x263)](){const _0xd58f6d=_0x140f32;return this[_0xd58f6d(0x2a3)][_0xd58f6d(0x251)]();}get[_0x140f32(0x2ec)](){const _0x1ece44=_0x140f32;return this[_0x1ece44(0x1af)]['getValue']();}['dispose'](){const _0x3e1a48=_0x140f32;super['dispose'](),this[_0x3e1a48(0x2a3)][_0x3e1a48(0x2b7)](new Map()),this[_0x3e1a48(0x2a3)][_0x3e1a48(0x2dd)](),this[_0x3e1a48(0x1af)][_0x3e1a48(0x2b7)]([]),this['_roomMembers$']['complete']();}[_0x140f32(0x1e2)](){const _0x45cf3f=_0x140f32;this[_0x45cf3f(0x2c9)]||(this[_0x45cf3f(0x2c9)]=!0x0,this[_0x45cf3f(0x2b2)][_0x45cf3f(0x39a)][_0x45cf3f(0x13a)](_0x3a20ae[_0x45cf3f(0x36a)](this['dispose$']))[_0x45cf3f(0x225)](_0x2dba70=>{const _0x5558fc=_0x45cf3f;_0x2dba70===_0x55c138['SessionStatus'][_0x5558fc(0x20b)]?this[_0x5558fc(0x1bd)]():this[_0x5558fc(0x368)]();}),this['_session'][_0x45cf3f(0x1a6)]['pipe'](_0x3a20ae[_0x45cf3f(0x36a)](this[_0x45cf3f(0x1fe)]))[_0x45cf3f(0x225)](_0x27ad04=>{const _0x323001=_0x45cf3f,_0x16a055=_0x27ad04['eventID'];_0x16a055===_0x50da05[_0x323001(0x335)]['UPDATE_CURSOR']&&this[_0x323001(0x2ea)](_0x27ad04),_0x16a055===_0x50da05[_0x323001(0x335)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x27ad04);}),this[_0x45cf3f(0x26b)](this[_0x45cf3f(0x2bc)][_0x45cf3f(0x2b9)](_0x14ef1d=>{const _0x5a6e98=_0x45cf3f,_0x131f86=_0x14ef1d[_0x5a6e98(0x343)];_0x131f86!=null&&this['_online']&&_0x14ef1d['id']===_0x4639f7[_0x5a6e98(0x321)]['id']&&_0x131f86['unitId']===this[_0x5a6e98(0x340)]&&_0x131f86['isEditing']===!0x1&&_0x131f86[_0x5a6e98(0x36c)]['length']>0x0&&this['_updateLocalCursor'](_0x131f86['ranges']);})),this[_0x45cf3f(0x375)][_0x45cf3f(0x26e)][_0x45cf3f(0x13a)](_0x3a20ae[_0x45cf3f(0x36a)](this[_0x45cf3f(0x1fe)]))[_0x45cf3f(0x225)](_0x1ae0b3=>{const _0x572ab9=_0x45cf3f;if((_0x1ae0b3==null?void 0x0:_0x1ae0b3[_0x572ab9(0x340)])!==this[_0x572ab9(0x340)])return;const _0x4b7526={'eventID':_0x50da05[_0x572ab9(0x335)][_0x572ab9(0x2de)],'data':_0x1ae0b3};this[_0x572ab9(0x2ea)](_0x4b7526);}),this[_0x45cf3f(0x26b)](this[_0x45cf3f(0x2bc)][_0x45cf3f(0x2b9)](_0x539ade=>{const _0x2342bb=_0x45cf3f;if(_0x539ade[_0x2342bb(0x343)]==null)return;const _0x501804=_0x539ade[_0x2342bb(0x343)];if(_0x539ade['id']!==_0x4639f7['RichTextEditingMutation']['id']||_0x501804['unitId']!==this[_0x2342bb(0x340)])return;const _0x27aa72={'id':'doc.mutation.rich-text-editing','params':_0x501804},_0x204497=this[_0x2342bb(0x263)];for(const [_0x3dfc7d,_0x400700]of _0x204497){const _0x5c490d={'id':_0x2342bb(0x275),'params':{'unitId':this[_0x2342bb(0x340)],'actions':null,'textRanges':_0x400700[_0x2342bb(0x36c)]}},_0xabc8f5=this[_0x2342bb(0x24a)][_0x2342bb(0x108)](_0x27aa72,_0x5c490d,!0x1);if(_0x50da05['isTransformMutationFailure'](_0xabc8f5))throw _0xabc8f5[_0x2342bb(0x320)];_0x204497['set'](_0x3dfc7d,{..._0x400700,'ranges':_0xabc8f5['m2Prime']['params'][_0x2342bb(0x1e3)]});}queueMicrotask(()=>{const _0x120b02=_0x2342bb;this[_0x120b02(0x2a3)][_0x120b02(0x2b7)](_0x204497);});})));}[_0x140f32(0x2ea)](_0x5758c9){const _0x51b452=_0x140f32;var _0x3bde28,_0x4579c8;const {memberID:_0x204b63,selection:_0x509706}=_0x5758c9[_0x51b452(0x33d)],_0x3b9c6e=_0x30cdc0(_0x509706),_0x43235a=(_0x4579c8=(_0x3bde28=this[_0x51b452(0x323)][_0x51b452(0x23e)](this[_0x51b452(0x340)],_0x204b63))==null?void 0x0:_0x3bde28[_0x51b452(0x12f)])!=null?_0x4579c8:_0x51b452(0x383),_0x2162dc={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x204b63),'name':_0x43235a,'ranges':_0x3b9c6e},_0x31e977=this[_0x51b452(0x263)];_0x31e977['set'](_0x204b63,_0x2162dc),this[_0x51b452(0x2a3)][_0x51b452(0x2b7)](_0x31e977);}[_0x140f32(0x265)](_0x3001d5){const _0x19d7a2=_0x140f32,{memberID:_0x1cc911}=_0x3001d5['data'],_0x152ee0=this['cursorInfo'];_0x152ee0[_0x19d7a2(0x18a)](_0x1cc911),this[_0x19d7a2(0x2a3)][_0x19d7a2(0x2b7)](_0x152ee0);}[_0x140f32(0x1bd)](){const _0x2213bc=_0x140f32;var _0x2d76d9;if(this['_online']=!0x0,((_0x2d76d9=this[_0x2213bc(0x186)]['getFocusedUnit']())==null?void 0x0:_0x2d76d9[_0x2213bc(0x133)]())!==this[_0x2213bc(0x340)])return;const _0x1200c3=this[_0x2213bc(0x2b5)][_0x2213bc(0x382)](_0x4639f7[_0x2213bc(0x114)])[_0x2213bc(0x16f)]();Array[_0x2213bc(0x205)](_0x1200c3)&&_0x1200c3[_0x2213bc(0x223)]>0x0&&this['_updateLocalCursor'](_0x1200c3);}['_toggleOffline'](){const _0x3a6f08=_0x140f32;this[_0x3a6f08(0x34f)]=!0x1;}};_0x331d87=_0x4724e5([_0x23af4b(0x2,_0x1061f8[_0x140f32(0x364)](_0x1061f8['Injector'])),_0x23af4b(0x3,_0x1061f8['Inject'](_0x23270c)),_0x23af4b(0x4,_0x1061f8[_0x140f32(0x364)](_0x55c138['MemberService'])),_0x23af4b(0x5,_0x1061f8[_0x140f32(0x364)](_0x1162b2)),_0x23af4b(0x6,_0x50da05['ITransformService']),_0x23af4b(0x7,_0x1061f8[_0x140f32(0x231)]),_0x23af4b(0x8,_0x1061f8['ICommandService'])],_0x331d87);var _0x1d9844=Object[_0x140f32(0x10b)],_0x3ff352=(_0x5a7e85,_0x2f57fc,_0x330491,_0x108680)=>{const _0x3c7c20=_0x140f32;for(var _0x3ea460=_0x108680>0x1?void 0x0:_0x108680?_0x1d9844(_0x2f57fc,_0x330491):_0x2f57fc,_0x4b26a3=_0x5a7e85[_0x3c7c20(0x223)]-0x1,_0x1c8c3d;_0x4b26a3>=0x0;_0x4b26a3--)(_0x1c8c3d=_0x5a7e85[_0x4b26a3])&&(_0x3ea460=_0x1c8c3d(_0x3ea460)||_0x3ea460);return _0x3ea460;},_0x450fbb=(_0x2687c6,_0x22411f)=>(_0x30bc88,_0x20becb)=>_0x22411f(_0x30bc88,_0x20becb,_0x2687c6);const _0x577d91=0x12c,_0x2c6908=0x64,_0x42440f=()=>{let _0x3e32bb=[],_0x467e3b=!0x1;return _0xbac9af=>{_0x3e32bb['push'](_0xbac9af),_0x467e3b||(_0x467e3b=!0x0,setTimeout(()=>{const _0x18e127=_0x5819;_0x3e32bb[_0x18e127(0x282)](_0x22a1e6=>_0x22a1e6()),_0x3e32bb=[],_0x467e3b=!0x1;}));};};let _0x5b1e53=class extends _0x1061f8['RxDisposable']{constructor(_0x3704ce,_0x50834b,_0x284e96,_0x752d3e,_0x1fef45,_0x55d94f,_0x46da39,_0xccbe04){const _0x4f54c2=_0x140f32;super(),_0x9b1d7c(this,'_online',!0x1),_0x9b1d7c(this,_0x4f54c2(0x2c9),!0x1),_0x9b1d7c(this,_0x4f54c2(0x2a3),new _0x3a20ae[(_0x4f54c2(0x36b))](new Map())),_0x9b1d7c(this,_0x4f54c2(0x180),this[_0x4f54c2(0x2a3)][_0x4f54c2(0x145)]()),_0x9b1d7c(this,'_roomMembers$',new _0x3a20ae[(_0x4f54c2(0x36b))]([])),_0x9b1d7c(this,_0x4f54c2(0x32e),this[_0x4f54c2(0x1af)][_0x4f54c2(0x13a)](_0x3a20ae[_0x4f54c2(0x10a)](_0x577d91))),_0x9b1d7c(this,_0x4f54c2(0x1b1),_0x1061f8[_0x4f54c2(0x34c)]((_0x45daa9,_0x2a9782)=>{const _0x5377f9=_0x4f54c2,_0x2e9da7={'eventID':_0x50da05[_0x5377f9(0x335)][_0x5377f9(0x2de)],'data':{'unitID':this['unitID'],'memberID':this[_0x5377f9(0x2b2)][_0x5377f9(0x2c1)](),'selection':_0x9d3ee1[_0x5377f9(0x1d2)](_0x45daa9,_0x2a9782[_0x5377f9(0x16b)])}};this[_0x5377f9(0x2b2)][_0x5377f9(0x294)](_0x2e9da7,this[_0x5377f9(0x340)]);},_0x2c6908)),(this[_0x4f54c2(0x340)]=_0x3704ce,this[_0x4f54c2(0x2b2)]=_0x50834b,this[_0x4f54c2(0x2b5)]=_0x284e96,this[_0x4f54c2(0x1a8)]=_0x752d3e,this['_memberService']=_0x1fef45,this[_0x4f54c2(0x186)]=_0x55d94f,this[_0x4f54c2(0x2bc)]=_0x46da39,this[_0x4f54c2(0x270)]=_0xccbe04);}get[_0x140f32(0x263)](){const _0x2a8dd4=_0x140f32;return this['_cursorInfo$'][_0x2a8dd4(0x251)]();}get[_0x140f32(0x2ec)](){const _0x27f3d8=_0x140f32;return this[_0x27f3d8(0x1af)][_0x27f3d8(0x251)]();}['dispose'](){const _0x25ba04=_0x140f32;super[_0x25ba04(0x16d)](),this[_0x25ba04(0x2a3)]['next'](new Map()),this[_0x25ba04(0x2a3)][_0x25ba04(0x2dd)](),this[_0x25ba04(0x1af)][_0x25ba04(0x2b7)]([]),this['_roomMembers$'][_0x25ba04(0x2dd)]();}['init'](){const _0x4e5b95=_0x140f32;this[_0x4e5b95(0x2c9)]||(this[_0x4e5b95(0x2c9)]=!0x0,this[_0x4e5b95(0x2b2)]['sessionStatus$'][_0x4e5b95(0x13a)](_0x3a20ae[_0x4e5b95(0x36a)](this[_0x4e5b95(0x1fe)]))[_0x4e5b95(0x225)](_0x3f7e14=>{const _0x6cd2a6=_0x4e5b95;_0x3f7e14===_0x55c138[_0x6cd2a6(0x2c5)][_0x6cd2a6(0x20b)]?this[_0x6cd2a6(0x1bd)]():this['_toggleOffline']();}),this[_0x4e5b95(0x2b2)]['event$'][_0x4e5b95(0x13a)](_0x3a20ae['takeUntil'](this[_0x4e5b95(0x1fe)]))[_0x4e5b95(0x225)](_0x50b3cd=>{const _0x5cbb99=_0x4e5b95,_0xfbb0f6=_0x50b3cd[_0x5cbb99(0x325)];_0xfbb0f6===_0x50da05[_0x5cbb99(0x335)][_0x5cbb99(0x2de)]&&this[_0x5cbb99(0x2ea)](_0x50b3cd),_0xfbb0f6===_0x50da05['CollaborationEvent']['USERS_LEAVE']&&this[_0x5cbb99(0x265)](_0x50b3cd);}),this[_0x4e5b95(0x147)](),this[_0x4e5b95(0x26b)](this[_0x4e5b95(0x2bc)][_0x4e5b95(0x2b9)](_0x43eeff=>{const _0x180eae=_0x4e5b95;if(this[_0x180eae(0x34f)]&&_0x43eeff['id']===_0x466e90[_0x180eae(0x2b6)]['id']&&_0x43eeff[_0x180eae(0x343)][_0x180eae(0x16a)]===this[_0x180eae(0x340)]){const _0x1ecdf2=_0x43eeff[_0x180eae(0x343)];this[_0x180eae(0x1b1)](_0x1ecdf2['subUnitId'],_0x1ecdf2[_0x180eae(0x39f)][0x0]);}})));}[_0x140f32(0x2ea)](_0x161616){const _0x363219=_0x140f32;var _0x4ad329,_0xcc521d;const {memberID:_0x1bafd4,selection:_0x41b745}=_0x161616[_0x363219(0x33d)],{sheetName:_0x436436,range:_0x2c74f1}=_0x9d3ee1[_0x363219(0x1e1)](_0x41b745),_0x209d06={'name':(_0xcc521d=(_0x4ad329=this['_memberService'][_0x363219(0x23e)](this[_0x363219(0x340)],_0x1bafd4))==null?void 0x0:_0x4ad329['name'])!=null?_0xcc521d:_0x363219(0x383),'range':this[_0x363219(0x349)](_0x436436,_0x2c74f1),'sheetID':_0x436436,'color':this[_0x363219(0x1a8)][_0x363219(0x199)](_0x1bafd4),'selection':_0x41b745},_0x373003=this['cursorInfo'];_0x373003[_0x363219(0x266)](_0x1bafd4,_0x209d06),this[_0x363219(0x2a3)][_0x363219(0x2b7)](_0x373003);}[_0x140f32(0x265)](_0x4a169a){const _0x2c879f=_0x140f32,{memberID:_0x20c8c1}=_0x4a169a[_0x2c879f(0x33d)],_0x17b945=this[_0x2c879f(0x263)];_0x17b945[_0x2c879f(0x18a)](_0x20c8c1),this[_0x2c879f(0x2a3)]['next'](_0x17b945);}[_0x140f32(0x349)](_0x3bb6cb,_0x5300c1){const _0x26214d=_0x140f32;var _0x52f728,_0x22d3fc;const _0x2e3e64=(_0x22d3fc=(_0x52f728=this[_0x26214d(0x186)]['getUniverSheetInstance'](this[_0x26214d(0x340)]))==null?void 0x0:_0x52f728[_0x26214d(0x241)](_0x3bb6cb))==null?void 0x0:_0x22d3fc['getMergeData']();return(_0x2e3e64==null?void 0x0:_0x2e3e64[_0x26214d(0x39b)](_0x5ae1f8=>_0x1061f8['Rectangle'][_0x26214d(0x2a2)](_0x5ae1f8,_0x5300c1)))||_0x5300c1;}[_0x140f32(0x147)](){const _0x30eec8=_0x140f32,_0x328192=new _0x1061f8[(_0x30eec8(0x2f7))](),_0x1bea63=_0x42440f(),_0x33465d=()=>{_0x328192['dispose']();const _0x5e7393=(_0x2404b6,_0x1f7253,_0x117322,_0x1cf0a9)=>{const _0x54a5b6=_0x5819;let _0x734e1f=[];switch(_0x2404b6['id']){case _0x466e90[_0x54a5b6(0x234)][_0x54a5b6(0x3a4)]:{_0x734e1f=_0x466e90['handleDeleteRangeMoveLeft'](_0x2404b6,_0x1cf0a9);break;}case _0x466e90[_0x54a5b6(0x234)]['DeleteRangeMoveUpCommandId']:{_0x734e1f=_0x466e90[_0x54a5b6(0x378)](_0x2404b6,_0x1cf0a9);break;}case _0x466e90[_0x54a5b6(0x234)]['InsertColCommandId']:{_0x734e1f=_0x466e90['handleInsertCol'](_0x2404b6,_0x1cf0a9);break;}case _0x466e90['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x734e1f=_0x466e90['handleInsertRangeMoveDown'](_0x2404b6,_0x1cf0a9);break;}case _0x466e90[_0x54a5b6(0x234)]['InsertRangeMoveRightCommandId']:{_0x734e1f=_0x466e90[_0x54a5b6(0x351)](_0x2404b6,_0x1cf0a9);break;}case _0x466e90['EffectRefRangId'][_0x54a5b6(0x371)]:{_0x734e1f=_0x466e90[_0x54a5b6(0x28b)](_0x2404b6,_0x1cf0a9);break;}case _0x466e90['EffectRefRangId'][_0x54a5b6(0x34d)]:{_0x734e1f=_0x466e90[_0x54a5b6(0x2e8)](_0x2404b6,_0x1cf0a9);break;}case _0x466e90[_0x54a5b6(0x234)][_0x54a5b6(0x1e4)]:{_0x734e1f=_0x466e90[_0x54a5b6(0x105)](_0x2404b6,_0x1cf0a9);break;}case _0x466e90[_0x54a5b6(0x234)][_0x54a5b6(0x32b)]:{_0x734e1f=_0x466e90[_0x54a5b6(0x1e5)](_0x2404b6,_0x1cf0a9);break;}}const _0x805d29=_0x466e90[_0x54a5b6(0x2ce)](_0x734e1f,_0x1cf0a9),_0x2fc4e2=this['cursorInfo'][_0x54a5b6(0x382)](_0x1f7253);if(_0x2fc4e2&&_0x805d29){const _0x14ab84={..._0x2fc4e2,'range':_0x805d29};this[_0x54a5b6(0x263)]['set'](_0x1f7253,_0x14ab84),_0x1bea63(()=>{const _0x2836f8=_0x54a5b6,_0x5ef124=this['_refRangeService']['registerRefRange'](_0x805d29,_0x283635=>(_0x5ef124[_0x2836f8(0x16d)](),_0x5e7393(_0x283635,_0x1f7253,_0x117322,_0x805d29)));_0x328192[_0x2836f8(0x33c)](_0x5ef124);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x269225,_0x1e406b)=>{const _0x5fa15b=_0x5819,{range:_0x4b80b6,sheetID:_0x25f40e}=_0x269225,_0x586f58=this[_0x5fa15b(0x270)][_0x5fa15b(0x37a)](_0x4b80b6,_0x8dcf56=>(_0x586f58['dispose'](),_0x5e7393(_0x8dcf56,_0x1e406b,_0x25f40e,_0x4b80b6)));_0x328192[_0x5fa15b(0x33c)](_0x586f58);});};this[_0x30eec8(0x26b)](_0x1061f8[_0x30eec8(0x292)](this[_0x30eec8(0x2a3)]['subscribe'](()=>{_0x33465d();})));}[_0x140f32(0x1bd)](){const _0x459313=_0x140f32;var _0x1edf93,_0x2137e3;if(this[_0x459313(0x34f)]=!0x0,((_0x1edf93=this[_0x459313(0x186)]['getFocusedUnit']())==null?void 0x0:_0x1edf93[_0x459313(0x133)]())!==this[_0x459313(0x340)])return;const _0xb96082=(_0x2137e3=this[_0x459313(0x2b5)][_0x459313(0x382)](_0x466e90[_0x459313(0x291)])[_0x459313(0x267)]())==null?void 0x0:_0x2137e3[0x0],_0x53f9d5=this[_0x459313(0x186)]['getCurrentUnitForType'](_0x1061f8[_0x459313(0x2f4)]['UNIVER_SHEET'])[_0x459313(0x124)]();_0xb96082&&_0x53f9d5&&this[_0x459313(0x1b1)](_0x53f9d5[_0x459313(0x21a)](),_0xb96082);}[_0x140f32(0x368)](){const _0x6214c=_0x140f32;this[_0x6214c(0x34f)]=!0x1;}};_0x5b1e53=_0x3ff352([_0x450fbb(0x2,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x178)])),_0x450fbb(0x3,_0x1061f8[_0x140f32(0x364)](_0x23270c)),_0x450fbb(0x4,_0x1061f8['Inject'](_0x55c138[_0x140f32(0x176)])),_0x450fbb(0x5,_0x1061f8['IUniverInstanceService']),_0x450fbb(0x6,_0x1061f8[_0x140f32(0x139)]),_0x450fbb(0x7,_0x1061f8['Inject'](_0x466e90[_0x140f32(0x1f6)]))],_0x5b1e53);var _0x53b04a=Object[_0x140f32(0x10b)],_0x43d992=(_0x18ae18,_0x135b60,_0x2dd8d0,_0x2e531a)=>{const _0x4d05f9=_0x140f32;for(var _0xbebeed=_0x2e531a>0x1?void 0x0:_0x2e531a?_0x53b04a(_0x135b60,_0x2dd8d0):_0x135b60,_0x494837=_0x18ae18[_0x4d05f9(0x223)]-0x1,_0x4bab50;_0x494837>=0x0;_0x494837--)(_0x4bab50=_0x18ae18[_0x494837])&&(_0xbebeed=_0x4bab50(_0xbebeed)||_0xbebeed);return _0xbebeed;},_0x8281f=(_0x580b62,_0x4700fd)=>(_0x42132d,_0x5e64dc)=>_0x4700fd(_0x42132d,_0x5e64dc,_0x580b62);let _0xe5aa4e=class extends _0x1061f8[_0x140f32(0x2f8)]{constructor(_0x5a7dea,_0x1fd77b,_0x3f3c55){const _0x291592=_0x140f32;super(),_0x9b1d7c(this,'_entities',new Map()),_0x9b1d7c(this,_0x291592(0x31e),new _0x3a20ae['Subject']()),(this[_0x291592(0x186)]=_0x5a7dea,this[_0x291592(0x2b5)]=_0x1fd77b,this['_collabSessionService']=_0x3f3c55,this['_init']());}[_0x140f32(0x16d)](){const _0x388dcd=_0x140f32;super['dispose'](),this[_0x388dcd(0x31e)]['complete'](),this['_entities'][_0x388dcd(0x282)](_0xb65e8=>_0xb65e8[_0x388dcd(0x16d)]());}['getCollabCursors$'](_0x483996){const _0x67876b=_0x140f32;return this[_0x67876b(0x2a8)]['has'](_0x483996)?this[_0x67876b(0x2a8)]['get'](_0x483996)[_0x67876b(0x180)]:this[_0x67876b(0x31e)]['pipe'](_0x3a20ae[_0x67876b(0x253)](_0x22ea45=>_0x22ea45[_0x67876b(0x340)]===_0x483996),_0x3a20ae['switchMap'](_0x160feb=>_0x160feb[_0x67876b(0x180)]));}[_0x140f32(0x2c9)](){const _0x29d475=_0x140f32;this[_0x29d475(0x186)]['getTypeOfUnitAdded$'](_0x1061f8[_0x29d475(0x2f4)][_0x29d475(0x109)])['pipe'](_0x3a20ae[_0x29d475(0x36a)](this[_0x29d475(0x1fe)]))[_0x29d475(0x225)](async _0xe81a9d=>{const _0x113531=_0x29d475,_0x29dd18=_0xe81a9d['getUnitId'](),_0x106995=await this['_startSheetCollabCursor'](_0x29dd18);this[_0x113531(0x31e)]['next'](_0x106995),this[_0x113531(0x2a8)][_0x113531(0x266)](_0x29dd18,_0x106995);}),this[_0x29d475(0x186)]['getTypeOfUnitAdded$'](_0x1061f8[_0x29d475(0x2f4)]['UNIVER_DOC'])[_0x29d475(0x13a)](_0x3a20ae['takeUntil'](this[_0x29d475(0x1fe)]))[_0x29d475(0x13a)](_0x3a20ae['filter'](_0x4e5d53=>!_0x4e5d53[_0x29d475(0x133)]()[_0x29d475(0x1ea)]('__')))[_0x29d475(0x225)](async _0x485177=>{const _0x1d7f23=_0x29d475,_0x2d2cc3=_0x485177[_0x1d7f23(0x133)](),_0x5032ac=await this['_startDocCollabCursor'](_0x2d2cc3);this[_0x1d7f23(0x31e)][_0x1d7f23(0x2b7)](_0x5032ac),this[_0x1d7f23(0x2a8)][_0x1d7f23(0x266)](_0x2d2cc3,_0x5032ac);}),_0x3a20ae[_0x29d475(0x28f)](this[_0x29d475(0x186)][_0x29d475(0x15c)](_0x1061f8[_0x29d475(0x2f4)][_0x29d475(0x2f3)]),this['_univerInstanceService'][_0x29d475(0x15c)](_0x1061f8[_0x29d475(0x2f4)][_0x29d475(0x109)]))['pipe'](_0x3a20ae[_0x29d475(0x36a)](this[_0x29d475(0x1fe)]))[_0x29d475(0x225)](_0x5e555e=>{const _0x4bb2af=_0x29d475,_0x1876e0=_0x5e555e[_0x4bb2af(0x133)](),_0xd4f83f=this[_0x4bb2af(0x2a8)][_0x4bb2af(0x382)](_0x1876e0);_0xd4f83f&&(_0xd4f83f[_0x4bb2af(0x16d)](),this[_0x4bb2af(0x2a8)][_0x4bb2af(0x18a)](_0x1876e0));});}async[_0x140f32(0x188)](_0x5a716c){const _0x12c56d=_0x140f32,_0x5adace=await this[_0x12c56d(0x110)][_0x12c56d(0x2bb)](_0x5a716c),_0x291272=this[_0x12c56d(0x2b5)]['createInstance'](_0x5b1e53,_0x5a716c,_0x5adace);return _0x291272[_0x12c56d(0x1e2)](),_0x291272;}async[_0x140f32(0x1ae)](_0x34571c){const _0x6c5a27=_0x140f32,_0x44b871=await this[_0x6c5a27(0x110)][_0x6c5a27(0x2bb)](_0x34571c),_0x1f4447=this[_0x6c5a27(0x2b5)][_0x6c5a27(0x307)](_0x331d87,_0x34571c,_0x44b871);return _0x1f4447['init'](),_0x1f4447;}};_0xe5aa4e=_0x43d992([_0x8281f(0x0,_0x1061f8[_0x140f32(0x231)]),_0x8281f(0x1,_0x1061f8['Inject'](_0x1061f8[_0x140f32(0x178)])),_0x8281f(0x2,_0x1061f8[_0x140f32(0x364)](_0x55c138[_0x140f32(0x19e)]))],_0xe5aa4e);const _0x1f2a01=0x14,_0x4d802a=0xc8,_0x27f406=0x4,_0x302da7=0x5;function _0x3758d2(_0x44ba7a,_0x3488f4){const _0x273621=_0x140f32;let {radius:_0x8f43b,width:_0x1a14c3,height:_0x3b0d67}=_0x3488f4;_0x8f43b=_0x8f43b!=null?_0x8f43b:0x0,_0x1a14c3=_0x1a14c3!=null?_0x1a14c3:0x1e,_0x3b0d67=_0x3b0d67!=null?_0x3b0d67:0x1e;let _0x5c9b3a=0x0,_0x3352bb=0x0,_0x25150a=0x0;_0x5c9b3a=_0x3352bb=_0x25150a=Math[_0x273621(0x301)](_0x8f43b,_0x1a14c3/0x2,_0x3b0d67/0x2),_0x44ba7a['beginPath'](),_0x44ba7a[_0x273621(0x224)](_0x5c9b3a,0x0),_0x44ba7a[_0x273621(0x17f)](_0x1a14c3-_0x3352bb,0x0),_0x44ba7a['arc'](_0x1a14c3-_0x3352bb,_0x3352bb,_0x3352bb,Math['PI']*0x3/0x2,0x0,!0x1),_0x44ba7a[_0x273621(0x17f)](_0x1a14c3,_0x3b0d67-_0x25150a),_0x44ba7a[_0x273621(0x2b1)](_0x1a14c3-_0x25150a,_0x3b0d67-_0x25150a,_0x25150a,0x0,Math['PI']/0x2,!0x1),_0x44ba7a[_0x273621(0x17f)](0x0,_0x3b0d67),_0x44ba7a[_0x273621(0x17f)](0x0,_0x5c9b3a),_0x44ba7a[_0x273621(0x2b1)](_0x5c9b3a,_0x5c9b3a,_0x5c9b3a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x44ba7a[_0x273621(0x30b)](),_0x3488f4['fill']&&(_0x44ba7a[_0x273621(0x2dc)](),_0x44ba7a[_0x273621(0x113)]=_0x3488f4[_0x273621(0x2e9)],_0x3488f4['fillRule']===_0x273621(0x20f)?_0x44ba7a['fill']('evenodd'):_0x44ba7a[_0x273621(0x2e9)](),_0x44ba7a[_0x273621(0x2f0)]());}class _0x3fe5a5 extends _0x47852a[_0x140f32(0x2d1)]{constructor(_0x399ec6,_0x311db4){const _0x162f87=_0x140f32;super(_0x399ec6,_0x311db4),_0x9b1d7c(this,_0x162f87(0x182)),_0x9b1d7c(this,_0x162f87(0x17b)),(this[_0x162f87(0x182)]=_0x311db4==null?void 0x0:_0x311db4[_0x162f87(0x182)],this[_0x162f87(0x17b)]=_0x311db4==null?void 0x0:_0x311db4[_0x162f87(0x17b)]);}static['drawWith'](_0x57457e,_0x4f0caf){const _0x7058a3=_0x140f32,{text:_0x3a565e,color:_0x46ada8}=_0x4f0caf;_0x57457e[_0x7058a3(0x2dc)](),_0x57457e[_0x7058a3(0x198)]=_0x7058a3(0x1f7);const _0x2d142c=_0x57457e[_0x7058a3(0x29b)](_0x3a565e)[_0x7058a3(0x1f1)],_0xb1326f=Math[_0x7058a3(0x301)](_0x2d142c+0x2*_0x27f406,_0x4d802a);_0x3758d2(_0x57457e,{'height':_0x1f2a01,'radius':0x4,'width':_0xb1326f,'fill':_0x46ada8}),_0x57457e[_0x7058a3(0x113)]=_0x7058a3(0x18f);const _0xb83330=_0x27f406,_0xc26fdc=_0x1f2a01-_0x302da7,_0x20765f=_0x4d802a-0x2*_0x27f406;if(_0x2d142c>_0x20765f){let _0x4e0c6f='',_0x27529d=0x0;for(const _0x6c462e of _0x3a565e){const _0x8ecf57=_0x57457e[_0x7058a3(0x29b)](_0x6c462e)[_0x7058a3(0x1f1)];if(_0x27529d+_0x8ecf57<=_0x20765f-_0x57457e['measureText']('...')[_0x7058a3(0x1f1)])_0x4e0c6f+=_0x6c462e,_0x27529d+=_0x8ecf57;else{_0x4e0c6f+=_0x7058a3(0x322);break;}}_0x57457e[_0x7058a3(0x2f2)](_0x4e0c6f,_0xb83330,_0xc26fdc);}else _0x57457e['fillText'](_0x3a565e,_0xb83330,_0xc26fdc);_0x57457e[_0x7058a3(0x2f0)]();}[_0x140f32(0x1dc)](_0x339ec3){_0x3fe5a5['drawWith'](_0x339ec3,this);}}const _0x41a01c=_0x140f32(0x2ae),_0x2cf688=_0x140f32(0x2b4),_0x303761='collab-rect-range-',_0x2c424c=0x6,_0x136577=1.5,_0x48e9d8=0x4,_0x322029=1.5,_0x27410d=_0x140f32(0x11a);class _0x444b77{constructor(_0x2087f9,_0x31a172,_0x273c6a,_0x4825bd){const _0x4ec2b5=_0x140f32;_0x9b1d7c(this,'_shapes',[]),_0x9b1d7c(this,_0x4ec2b5(0x1d0),null),_0x9b1d7c(this,_0x4ec2b5(0x303),null),_0x9b1d7c(this,_0x4ec2b5(0x12d),null),_0x9b1d7c(this,_0x4ec2b5(0x261),null),_0x9b1d7c(this,_0x4ec2b5(0x31a),null),(this[_0x4ec2b5(0x15d)]=_0x2087f9,this[_0x4ec2b5(0x257)]=_0x31a172,this[_0x4ec2b5(0x2cf)]=_0x273c6a,this[_0x4ec2b5(0x32f)]=_0x4825bd,this[_0x4ec2b5(0x146)]());}set['_hover'](_0x3aa764){const _0x6f015e=_0x140f32;_0x3aa764?(this[_0x6f015e(0x12d)]&&this[_0x6f015e(0x12d)][_0x6f015e(0x29d)](),this[_0x6f015e(0x303)]&&this[_0x6f015e(0x303)][_0x6f015e(0x2b8)]()):(this[_0x6f015e(0x12d)]&&this[_0x6f015e(0x12d)][_0x6f015e(0x2b8)](),this[_0x6f015e(0x303)]&&this[_0x6f015e(0x303)][_0x6f015e(0x29d)]());}['dispose'](){const _0x5bf9e3=_0x140f32;for(const _0x4a1cee of this[_0x5bf9e3(0x381)])_0x4a1cee['dispose']();this['_textBubble']&&this[_0x5bf9e3(0x303)][_0x5bf9e3(0x16d)](),this[_0x5bf9e3(0x12d)]&&this[_0x5bf9e3(0x12d)][_0x5bf9e3(0x16d)](),this[_0x5bf9e3(0x1d0)]&&this[_0x5bf9e3(0x1d0)]['dispose'](),this[_0x5bf9e3(0x31a)]&&this[_0x5bf9e3(0x31a)]();}[_0x140f32(0x146)](){const _0x11be30=_0x140f32;var _0x18fc0d;const {_docSkeleton:_0x287f1a,_document:_0x376353}=this,{color:_0x3b22eb,name:_0x23ef95,ranges:_0x27f3f8}=this['_cursor'],_0x30a637=_0x376353['getOffsetConfig'](),{docsLeft:_0x1f2f85,docsTop:_0x40d37c}=_0x30a637,_0x5dd538=new _0x37c85e['NodePositionConvertToCursor'](_0x30a637,_0x287f1a);for(const {startOffset:_0x55c3c8,endOffset:_0x5d39df,rangeType:_0x1757b8,segmentId:_0x14d392,segmentPage:_0x3ce3c5,collapsed:_0x1e6242,isActive:_0x290976}of _0x27f3f8){const _0x22ef4e=_0x287f1a[_0x11be30(0x36e)](_0x55c3c8,!0x0,_0x14d392,_0x3ce3c5);let _0x542d3d=_0x287f1a[_0x11be30(0x36e)](_0x5d39df,!0x0,_0x14d392,_0x3ce3c5);if(_0x542d3d==null&&(_0x542d3d=_0x287f1a[_0x11be30(0x36e)](_0x5d39df-0x1,!0x1,_0x14d392,_0x3ce3c5)),_0x290976){const {contentBoxPointGroup:_0x388ed9}=_0x5dd538[_0x11be30(0x1a5)](_0x542d3d,_0x542d3d);if(_0x388ed9[_0x11be30(0x223)]===0x0)continue;this[_0x11be30(0x14c)](_0x3b22eb,_0x388ed9,_0x1f2f85,_0x40d37c,_0x23ef95),this[_0x11be30(0x31a)]=this[_0x11be30(0x393)]();}if(_0x22ef4e&&_0x542d3d){if(_0x1757b8===_0x1061f8[_0x11be30(0x2a6)][_0x11be30(0x37f)]){const _0x996230=new _0x37c85e[(_0x11be30(0x1c9))](_0x30a637,_0x287f1a),{pointGroup:_0x4e41ed}=(_0x18fc0d=_0x996230[_0x11be30(0x1a5)](_0x22ef4e,_0x542d3d))!=null?_0x18fc0d:{};if(_0x4e41ed==null||_0x4e41ed[_0x11be30(0x223)]===0x0)continue;this[_0x11be30(0x14f)](_0x3b22eb,_0x4e41ed,_0x1f2f85,_0x40d37c);}else{if(!_0x1e6242){const {borderBoxPointGroup:_0x268aae}=_0x5dd538['getRangePointData'](_0x22ef4e,_0x542d3d);if(_0x268aae['length']===0x0)continue;this['_drawTextRange'](_0x3b22eb,_0x268aae,_0x1f2f85,_0x40d37c);}}}}}['_drawAnchor'](_0x4dde55,_0x10ddd2,_0x26fc5c,_0x163fe1,_0x11fd16){const _0x85ba2d=_0x140f32,_0x3d3664=this['_getAnchorBounding'](_0x10ddd2),{left:_0x33cc79,top:_0x1b5d0a,height:_0x3874b3}=_0x3d3664,_0x15d5dc=this[_0x85ba2d(0x319)](),_0x29cb0d=_0x322029/_0x15d5dc,_0x6be532=new _0x47852a['Rect'](_0x41a01c+_0x1061f8[_0x85ba2d(0x35f)][_0x85ba2d(0x130)](_0x2c424c),{'left':_0x33cc79+_0x26fc5c-_0x29cb0d,'top':_0x1b5d0a+_0x163fe1,'height':_0x3874b3,'width':_0x136577,'fill':_0x4dde55||_0x47852a[_0x85ba2d(0x2e5)](_0x1061f8[_0x85ba2d(0x164)]['black'],0x0),'strokeWidth':_0x29cb0d,'stroke':_0x27410d,'evented':!0x0});this[_0x85ba2d(0x1d0)]=_0x6be532,this[_0x85ba2d(0x257)][_0x85ba2d(0x1c3)](_0x6be532,_0x37c85e[_0x85ba2d(0x324)]);const _0xae269e=new _0x47852a[(_0x85ba2d(0x330))](_0x41a01c+_0x1061f8[_0x85ba2d(0x35f)][_0x85ba2d(0x130)](_0x2c424c),{'left':_0x33cc79+_0x26fc5c-_0x29cb0d,'top':_0x1b5d0a+_0x163fe1-_0x48e9d8/0x2,'height':_0x48e9d8,'width':_0x48e9d8,'fill':_0x4dde55||_0x47852a[_0x85ba2d(0x2e5)](_0x1061f8[_0x85ba2d(0x164)][_0x85ba2d(0x30a)],0x0),'strokeWidth':0x0,'stroke':_0x4dde55||_0x47852a['getColor'](_0x1061f8['COLORS'][_0x85ba2d(0x30a)],0x0),'evented':!0x1});this[_0x85ba2d(0x12d)]=_0xae269e,this['_scene'][_0x85ba2d(0x1c3)](_0xae269e,_0x37c85e[_0x85ba2d(0x324)]);const _0x695936=new _0x3fe5a5(_0x41a01c+_0x1061f8[_0x85ba2d(0x35f)][_0x85ba2d(0x130)](_0x2c424c),{'left':_0x33cc79+_0x26fc5c-_0x29cb0d,'top':_0x1b5d0a+_0x163fe1-_0x1f2a01,'text':_0x11fd16,'color':_0x4dde55});this['_textBubble']=_0x695936,this[_0x85ba2d(0x257)][_0x85ba2d(0x1c3)](_0x695936,_0x37c85e[_0x85ba2d(0x324)]),this[_0x85ba2d(0x39d)]=!0x1;}[_0x140f32(0x393)](){const _0xc7f316=_0x140f32,_0x3e0b5b=this[_0xc7f316(0x1d0)][_0xc7f316(0x2d6)][_0xc7f316(0x11f)](()=>{const _0x3dd231=_0xc7f316;this[_0x3dd231(0x39d)]=!0x0;}),_0x26436c=this[_0xc7f316(0x1d0)][_0xc7f316(0x389)][_0xc7f316(0x11f)](()=>{const _0xe331=_0xc7f316;this['_hideTimer']&&clearTimeout(this[_0xe331(0x261)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1affd3=_0xc7f316;_0x3e0b5b[_0x1affd3(0x28e)](),_0x26436c[_0x1affd3(0x28e)]();};}[_0x140f32(0x210)](_0x514647,_0x2d07b3,_0x2e0098,_0xd74073){const _0x10c2cb=_0x140f32,_0x180912=new _0x1061f8[(_0x10c2cb(0x207))](_0x514647)[_0x10c2cb(0x394)](0.2)['toRgbString'](),_0x1d3fc2=new _0x47852a['RegularPolygon'](_0x2cf688+_0x1061f8[_0x10c2cb(0x35f)][_0x10c2cb(0x130)](_0x2c424c),{'pointsGroup':_0x2d07b3,'fill':_0x180912||_0x47852a[_0x10c2cb(0x2e5)](_0x1061f8[_0x10c2cb(0x164)][_0x10c2cb(0x30a)],0.2),'left':_0x2e0098,'top':_0xd74073,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x10c2cb(0x27b)](_0x1d3fc2),this[_0x10c2cb(0x257)][_0x10c2cb(0x1c3)](_0x1d3fc2,_0x37c85e['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x515b44,_0x5e703e,_0x17545f,_0x21e2da){const _0x3b4b31=_0x140f32,_0x1a8dd9=new _0x1061f8[(_0x3b4b31(0x207))](_0x515b44)[_0x3b4b31(0x394)](0.2)[_0x3b4b31(0x1ad)](),_0x249dae=new _0x47852a[(_0x3b4b31(0x219))](_0x303761+_0x1061f8[_0x3b4b31(0x35f)][_0x3b4b31(0x130)](_0x2c424c),{'pointsGroup':_0x5e703e,'fill':_0x1a8dd9||_0x47852a[_0x3b4b31(0x2e5)](_0x1061f8[_0x3b4b31(0x164)]['black'],0.2),'left':_0x17545f,'top':_0x21e2da,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3b4b31(0x27b)](_0x249dae),this[_0x3b4b31(0x257)][_0x3b4b31(0x1c3)](_0x249dae,_0x37c85e[_0x3b4b31(0x324)]);}[_0x140f32(0x1ff)](_0x29fb19){const _0x4bc27a=_0x29fb19[0x0],_0x428f58=_0x4bc27a[0x0],_0x505795=_0x4bc27a[0x2],{x:_0x4641a6,y:_0x62e555}=_0x428f58,{x:_0x3ace9,y:_0x3574eb}=_0x505795;return{'left':_0x4641a6,'top':_0x62e555,'width':_0x3ace9-_0x4641a6,'height':_0x3574eb-_0x62e555};}[_0x140f32(0x319)](){const _0x55ada4=_0x140f32,{scaleX:_0x20f35f,scaleY:_0x1931d8}=this[_0x55ada4(0x257)][_0x55ada4(0x189)]();return Math[_0x55ada4(0x331)](_0x20f35f,_0x1931d8);}}var _0x17b446=Object[_0x140f32(0x10b)],_0x82626e=(_0x38c57d,_0x2813fb,_0x2ebd94,_0x4308ad)=>{const _0x44aca0=_0x140f32;for(var _0x292a4b=_0x4308ad>0x1?void 0x0:_0x4308ad?_0x17b446(_0x2813fb,_0x2ebd94):_0x2813fb,_0x2ea25a=_0x38c57d[_0x44aca0(0x223)]-0x1,_0x25e8ff;_0x2ea25a>=0x0;_0x2ea25a--)(_0x25e8ff=_0x38c57d[_0x2ea25a])&&(_0x292a4b=_0x25e8ff(_0x292a4b)||_0x292a4b);return _0x292a4b;},_0x3b1dc6=(_0x13913f,_0x3dc29f)=>(_0x3cca50,_0x5ad607)=>_0x3dc29f(_0x3cca50,_0x5ad607,_0x13913f);let _0x2f3eac=class extends _0x1061f8['RxDisposable']{constructor(_0x2e20b2,_0x46d8e0,_0x2688b9,_0x508e8d,_0x27e7d8){const _0x4618c8=_0x140f32;super(),_0x9b1d7c(this,_0x4618c8(0x362),[]),_0x9b1d7c(this,_0x4618c8(0x1d4),[]),(this[_0x4618c8(0x333)]=_0x2e20b2,this[_0x4618c8(0x295)]=_0x46d8e0,this[_0x4618c8(0x1ec)]=_0x2688b9,this[_0x4618c8(0x2bc)]=_0x508e8d,this[_0x4618c8(0x392)]=_0x27e7d8,this[_0x4618c8(0x2c9)]());}[_0x140f32(0x2c9)](){const _0x49ada9=_0x140f32,_0x51c4b2=this[_0x49ada9(0x333)][_0x49ada9(0x16a)],_0x1676b4=this[_0x49ada9(0x295)];this[_0x49ada9(0x26b)](_0x3a20ae[_0x49ada9(0x314)]([this[_0x49ada9(0x1ec)][_0x49ada9(0x115)](_0x51c4b2),this[_0x49ada9(0x392)][_0x49ada9(0x24c)]])[_0x49ada9(0x13a)](_0x39ab20[_0x49ada9(0x363)](([_0x171a3e,_0x47c3da])=>({'skeleton':_0x1676b4[_0x49ada9(0x317)](),'cursors':[..._0x171a3e[_0x49ada9(0x16e)]()][_0x49ada9(0x1f3)](_0x166573=>({..._0x166573,'color':this[_0x49ada9(0x392)][_0x49ada9(0x134)](_0x166573[_0x49ada9(0x182)])}))})))[_0x49ada9(0x225)](_0x14742a=>{const _0x374b56=_0x49ada9;if(this[_0x374b56(0x2ba)](),_0x14742a){const {skeleton:_0x58b1f4,cursors:_0x1fcc35}=_0x14742a;this[_0x374b56(0x286)](_0x58b1f4,_0x1fcc35);}})),this[_0x49ada9(0x220)](),this[_0x49ada9(0x28d)]();}[_0x140f32(0x286)](_0x201527,_0x27611f){const _0x37988f=_0x140f32,{scene:_0x82b52,mainComponent:_0x460f56}=this[_0x37988f(0x333)],_0x2b8b00=_0x27611f[_0x37988f(0x363)](_0x3fe83f=>new _0x444b77(_0x3fe83f,_0x82b52,_0x201527,_0x460f56));this[_0x37988f(0x362)]=_0x2b8b00,this[_0x37988f(0x1d4)]=_0x27611f;}[_0x140f32(0x2d8)](){const _0x504366=_0x140f32;this[_0x504366(0x2ba)]();const {scene:_0x5df38c,mainComponent:_0x12233}=this[_0x504366(0x333)],_0x33f314=this[_0x504366(0x295)][_0x504366(0x317)](),_0x3c92b2=this[_0x504366(0x1d4)][_0x504366(0x363)](_0x3c9bd5=>new _0x444b77(_0x3c9bd5,_0x5df38c,_0x33f314,_0x12233));this[_0x504366(0x362)]=_0x3c92b2;}[_0x140f32(0x2ba)](){const _0x2d28dd=_0x140f32;this[_0x2d28dd(0x362)]['forEach'](_0x3f2ae5=>_0x3f2ae5[_0x2d28dd(0x16d)]()),this['_cursorShapes']=[];}[_0x140f32(0x28d)](){const _0x2b77cb=_0x140f32,_0x182832=[_0x37c85e[_0x2b77cb(0x206)]['id']];this[_0x2b77cb(0x26b)](this[_0x2b77cb(0x2bc)][_0x2b77cb(0x2b9)](_0x349deb=>{const _0xb1ed94=_0x2b77cb;_0x182832[_0xb1ed94(0x339)](_0x349deb['id'])&&_0x349deb['params'][_0xb1ed94(0x16a)]===this[_0xb1ed94(0x333)][_0xb1ed94(0x16a)]&&this[_0xb1ed94(0x2d8)]();}));}[_0x140f32(0x220)](){const _0x942840=_0x140f32;this[_0x942840(0x26b)](_0x1061f8[_0x942840(0x21e)](this[_0x942840(0x333)][_0x942840(0x296)][_0x942840(0x2db)])[_0x942840(0x13a)](_0x39ab20[_0x942840(0x253)](_0x3311ea=>_0x3311ea['type']===_0x47852a[_0x942840(0x119)]['resize']),_0x39ab20[_0x942840(0x1a3)](0x10))['subscribe'](()=>{const _0x264c13=_0x942840;this[_0x264c13(0x2d8)]();}));}};_0x2f3eac=_0x82626e([_0x3b1dc6(0x1,_0x1061f8[_0x140f32(0x364)](_0x4639f7[_0x140f32(0x279)])),_0x3b1dc6(0x2,_0x1061f8[_0x140f32(0x364)](_0xe5aa4e)),_0x3b1dc6(0x3,_0x1061f8[_0x140f32(0x139)]),_0x3b1dc6(0x4,_0x1061f8[_0x140f32(0x364)](_0x1061f8['ThemeService']))],_0x2f3eac);const _0x1c841f=0x1,_0x52637b=1.5;class _0x394568 extends _0x47852a[_0x140f32(0x2d1)]{constructor(_0x49195f,_0x2794a8){const _0x557ce4=_0x140f32;super(_0x49195f,_0x2794a8),_0x9b1d7c(this,_0x557ce4(0x318)),_0x9b1d7c(this,_0x557ce4(0x1eb),!0x1),_0x9b1d7c(this,_0x557ce4(0x203)),_0x9b1d7c(this,_0x557ce4(0x104),''),_0x9b1d7c(this,'_labelPosition',_0x557ce4(0x242)),_0x9b1d7c(this,_0x557ce4(0x229)),(_0x2794a8&&this['setShapeProps'](_0x2794a8),this[_0x557ce4(0x2d6)][_0x557ce4(0x11f)](()=>this[_0x557ce4(0x2ee)]({'hovered':!0x0})),this['onPointerLeave$'][_0x557ce4(0x11f)](()=>this[_0x557ce4(0x2ee)]({'hovered':!0x1})));}['setShapeProps'](_0x28423e){const _0xf0f0c=_0x140f32;var _0x1d65e8,_0x2ec364,_0x4d5433,_0x95c853,_0x53f19c,_0x24564e;this[_0xf0f0c(0x318)]=(_0x1d65e8=_0x28423e[_0xf0f0c(0x182)])!=null?_0x1d65e8:this[_0xf0f0c(0x318)],this[_0xf0f0c(0x1eb)]=(_0x2ec364=_0x28423e[_0xf0f0c(0x10d)])!=null?_0x2ec364:this['_hovered'],this[_0xf0f0c(0x203)]=(_0x4d5433=_0x28423e[_0xf0f0c(0x16b)])!=null?_0x4d5433:this['_range'],this['_name']=(_0x95c853=_0x28423e[_0xf0f0c(0x12f)])!=null?_0x95c853:this['_name'],this['_labelPosition']=(_0x53f19c=_0x28423e['labelPosition'])!=null?_0x53f19c:this[_0xf0f0c(0x36d)],this['_backgroundColor']=(_0x24564e=_0x28423e[_0xf0f0c(0x1c1)])!=null?_0x24564e:this[_0xf0f0c(0x229)],this[_0xf0f0c(0x23d)]({'width':_0x28423e[_0xf0f0c(0x1f1)],'height':_0x28423e['height']});}[_0x140f32(0x15f)](_0x3fb230){const _0x38be2a=_0x140f32,{row:_0x59f16b,column:_0x3108f3}=_0x3fb230;if(_0x59f16b>=this[_0x38be2a(0x203)][_0x38be2a(0x31f)]&&_0x59f16b<=this[_0x38be2a(0x203)]['endRow']&&_0x3108f3>=this['_range'][_0x38be2a(0x2c0)]&&_0x3108f3<=this[_0x38be2a(0x203)][_0x38be2a(0x361)]){this[_0x38be2a(0x2ee)]({'hovered':!0x0});return;}this[_0x38be2a(0x2ee)]({'hovered':!0x1});}[_0x140f32(0x1fd)](_0x2553ec){return!0x1;}[_0x140f32(0x1dc)](_0x11156e){const _0x347649=_0x140f32;_0x47852a[_0x347649(0x330)][_0x347649(0x21d)](_0x11156e,{'width':this[_0x347649(0x1f1)],'height':this[_0x347649(0x235)],'strokeWidth':_0x52637b,'stroke':this[_0x347649(0x318)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x347649(0x1eb)]&&(_0x11156e['save'](),_0x11156e[_0x347649(0x358)](0x1,0x0,0x0,0x1,this[_0x347649(0x1f1)],this[_0x347649(0x36d)]===_0x347649(0x12b)?0x0:-0x14),_0x3fe5a5[_0x347649(0x21d)](_0x11156e,{'text':this[_0x347649(0x104)],'color':this[_0x347649(0x318)]}),_0x11156e[_0x347649(0x2f0)]());}}var _0x6b3974=Object['getOwnPropertyDescriptor'],_0x451a0a=(_0xd19472,_0x4675ac,_0x598387,_0x2e6cbc)=>{for(var _0x3873ff=_0x2e6cbc>0x1?void 0x0:_0x2e6cbc?_0x6b3974(_0x4675ac,_0x598387):_0x4675ac,_0x18c216=_0xd19472['length']-0x1,_0x5da2d0;_0x18c216>=0x0;_0x18c216--)(_0x5da2d0=_0xd19472[_0x18c216])&&(_0x3873ff=_0x5da2d0(_0x3873ff)||_0x3873ff);return _0x3873ff;},_0x3c3a9c=(_0x55ebaf,_0x387fa6)=>(_0x4d009f,_0x10ca8a)=>_0x387fa6(_0x4d009f,_0x10ca8a,_0x55ebaf);const _0x24f91d=0x1389;let _0x27741d=class extends _0x1061f8[_0x140f32(0x2f8)]{constructor(_0xe91756,_0x3745fa,_0x5ced0c,_0x120103){const _0xa68251=_0x140f32;super(),_0x9b1d7c(this,_0xa68251(0x1d4),new Set()),_0x9b1d7c(this,_0xa68251(0x1e0),null),(this[_0xa68251(0x333)]=_0xe91756,this[_0xa68251(0x2ca)]=_0x3745fa,this[_0xa68251(0x1ec)]=_0x5ced0c,this[_0xa68251(0x392)]=_0x120103,this[_0xa68251(0x2c9)]());}[_0x140f32(0x2c9)](){const _0x5670db=_0x140f32;this[_0x5670db(0x2ca)][_0x5670db(0x30e)][_0x5670db(0x13a)](_0x39ab20['takeUntil'](this[_0x5670db(0x1fe)]),_0x39ab20[_0x5670db(0x13c)](_0x2e2b2d=>{const _0x4ed846=_0x5670db;if(_0x2e2b2d){const _0xafc6f3=_0x2e2b2d[_0x4ed846(0x2a4)];return _0x3a20ae[_0x4ed846(0x314)](this[_0x4ed846(0x1ec)][_0x4ed846(0x115)](this[_0x4ed846(0x333)][_0x4ed846(0x16a)]),this['_themeService'][_0x4ed846(0x24c)])[_0x4ed846(0x13a)](_0x39ab20[_0x4ed846(0x363)](([_0x4eb8e0,_0x5e718c])=>{const _0x23cf27=new Map();return _0x4eb8e0['forEach']((_0x4196bf,_0x4af728)=>{const _0x29f46d=_0x5819;if(_0x4196bf[_0x29f46d(0x26c)]===_0xafc6f3){const _0x2a1ce8={..._0x4196bf};_0x2a1ce8[_0x29f46d(0x182)]=this[_0x29f46d(0x392)][_0x29f46d(0x134)](_0x4196bf[_0x29f46d(0x182)]),_0x23cf27[_0x29f46d(0x266)](_0x4af728,_0x2a1ce8);}}),{'skeleton':_0x2e2b2d,'cursors':_0x23cf27};}));}return _0x3a20ae['of']({'skeleton':null,'cursors':new Map()});}))[_0x5670db(0x225)](({skeleton:_0x12fa59,cursors:_0xc2a293})=>{const _0x146a28=_0x5670db;this[_0x146a28(0x2ba)](),_0x12fa59&&this[_0x146a28(0x286)](_0x12fa59,_0xc2a293);}),this[_0x5670db(0x2ca)][_0x5670db(0x30e)][_0x5670db(0x225)](_0x3e9e10=>{const _0x4d77eb=_0x5670db;if(_0x3e9e10==null)return;const {skeleton:_0xf01d1c}=_0x3e9e10,{scene:_0x12e7d1}=this[_0x4d77eb(0x333)];_0x12e7d1['onPointerMove$'][_0x4d77eb(0x11f)](_0x1061f8[_0x4d77eb(0x34c)](_0x291e19=>{const _0x2ecf20=_0x4d77eb;var _0x3be657,_0x3019bf;const {offsetX:_0x349002,offsetY:_0x580bf8}=_0x291e19,{x:_0x417d03,y:_0x273276}=_0x12e7d1[_0x2ecf20(0x348)](_0x47852a['Vector2'][_0x2ecf20(0x232)]([_0x349002,_0x580bf8])),{scaleX:_0x393568,scaleY:_0x54dc77}=_0x12e7d1[_0x2ecf20(0x189)](),_0xb5a59=_0x12e7d1[_0x2ecf20(0x11d)](_0x47852a[_0x2ecf20(0x10f)][_0x2ecf20(0x239)]),_0x496bd6=_0x12e7d1[_0x2ecf20(0x281)](_0x47852a[_0x2ecf20(0x1a7)][_0x2ecf20(0x232)]([_0x417d03,_0x273276]),_0xb5a59),_0x4a41cc=_0xf01d1c[_0x2ecf20(0x34e)](_0x349002,_0x580bf8,_0x393568,_0x54dc77,_0x496bd6);((_0x3be657=this[_0x2ecf20(0x1e0)])==null?void 0x0:_0x3be657[_0x2ecf20(0x273)])===_0x4a41cc[_0x2ecf20(0x273)]&&((_0x3019bf=this[_0x2ecf20(0x1e0)])==null?void 0x0:_0x3019bf[_0x2ecf20(0x315)])===_0x4a41cc['row']||this[_0x2ecf20(0x1d4)]['forEach'](_0x21a85a=>{_0x21a85a['onMouseMove'](_0x4a41cc);});},0x64));});}[_0x140f32(0x286)](_0x33654b,_0x50360f){const _0x124e19=_0x140f32;var _0x31f278;const _0x1ca231=(_0x31f278=this['_sheetSkeletonManagerService'][_0x124e19(0x352)]())==null?void 0x0:_0x31f278[_0x124e19(0x2bf)];if(!_0x1ca231)return;const _0x108f7e=this[_0x124e19(0x2fa)]();if(!_0x108f7e)return;this[_0x124e19(0x1d4)][_0x124e19(0x282)](_0x442168=>{_0x442168['makeDirty']();});const {scene:_0x2358ab}=_0x108f7e,_0x2f6611=_0x460d91(Array[_0x124e19(0x37c)](_0x50360f[_0x124e19(0x16e)]()))[_0x124e19(0x363)](_0x235e25=>{const _0x1469b6=_0x124e19,{color:_0x471570,range:_0x440228,name:_0x4094de,selection:_0x196b95,sheetID:_0x15fca7}=_0x235e25,{startColumn:_0x11de1e,startRow:_0x103762,endColumn:_0x1ebbbf,endRow:_0x27ceef}=_0x440228,_0x534948=_0x36792e[_0x1469b6(0x125)](_0x103762,_0x11de1e,_0x2358ab,_0x1ca231),_0x13c81e=_0x36792e['getCoordByCell'](_0x27ceef,_0x1ebbbf,_0x2358ab,_0x1ca231),{columnHeaderHeightAndMarginTop:_0x1f3de3}=_0x1ca231,{startX:_0x524b59,startY:_0x2b8cc8}=_0x534948,{endX:_0x31491c,endY:_0x45cad7}=_0x13c81e,_0x1065c9=_0x31491c-_0x524b59,_0x5390ad=_0x45cad7-_0x2b8cc8,_0x1e3b46={'labelPosition':_0x2b8cc8-_0x1f3de3>=_0x1f2a01?_0x1469b6(0x242):_0x1469b6(0x12b),'sheetID':_0x15fca7,'range':_0x440228,'color':_0x471570,'name':_0x4094de,'selection':_0x196b95,'left':_0x524b59,'top':_0x2b8cc8,'width':_0x1065c9,'height':_0x5390ad,'evented':!0x1,'zIndex':_0x24f91d};return new _0x394568(_0x4094de,_0x1e3b46);});_0x2358ab[_0x124e19(0x169)](_0x2f6611,_0x1c841f),this[_0x124e19(0x1d4)]=new Set(_0x2f6611);}[_0x140f32(0x2ba)](){const _0x5c2581=_0x140f32;var _0x319fdb;(_0x319fdb=this[_0x5c2581(0x1d4)])==null||_0x319fdb['forEach'](_0x336856=>_0x336856[_0x5c2581(0x16d)]());}['_getSheetObject'](){const _0x5ee2c4=_0x140f32;return _0x36792e['getSheetObject'](this['_context'][_0x5ee2c4(0x327)],this[_0x5ee2c4(0x333)]);}};_0x27741d=_0x451a0a([_0x3c3a9c(0x1,_0x1061f8[_0x140f32(0x364)](_0x36792e[_0x140f32(0x1bc)])),_0x3c3a9c(0x2,_0x1061f8[_0x140f32(0x364)](_0xe5aa4e)),_0x3c3a9c(0x3,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x215)]))],_0x27741d);function _0x460d91(_0xa5038){const _0x51dd7d=_0x140f32,_0x41474d=new Map();return _0xa5038[_0x51dd7d(0x282)](_0x22e59f=>{const _0x4c07e1=_0x51dd7d;if(_0x41474d[_0x4c07e1(0x171)](_0x22e59f[_0x4c07e1(0x3a3)])){const _0xeb9c9c=_0x41474d['get'](_0x22e59f[_0x4c07e1(0x3a3)]);_0xeb9c9c[_0x4c07e1(0x12f)]+=',\x20'+_0x22e59f[_0x4c07e1(0x12f)];}else _0x41474d[_0x4c07e1(0x266)](_0x22e59f[_0x4c07e1(0x3a3)],_0x22e59f);}),Array['from'](_0x41474d[_0x51dd7d(0x16e)]());}var _0x58c15d=function(){const _0x11a61b=_0x140f32;return _0x58c15d=Object[_0x11a61b(0x16c)]||function(_0x3037bd){const _0x278b1b=_0x11a61b;for(var _0x47858d,_0x569f15=0x1,_0x3de25f=arguments[_0x278b1b(0x223)];_0x569f15<_0x3de25f;_0x569f15++){_0x47858d=arguments[_0x569f15];for(var _0x2e65d6 in _0x47858d)Object[_0x278b1b(0x1b7)][_0x278b1b(0x2c8)][_0x278b1b(0x227)](_0x47858d,_0x2e65d6)&&(_0x3037bd[_0x2e65d6]=_0x47858d[_0x2e65d6]);}return _0x3037bd;},_0x58c15d['apply'](this,arguments);},_0x35589d=function(_0x3f35e3,_0x4f21cf){const _0x324b28=_0x140f32;var _0x4f2d78={};for(var _0x1a73d2 in _0x3f35e3)Object[_0x324b28(0x1b7)][_0x324b28(0x2c8)][_0x324b28(0x227)](_0x3f35e3,_0x1a73d2)&&_0x4f21cf[_0x324b28(0x2e4)](_0x1a73d2)<0x0&&(_0x4f2d78[_0x1a73d2]=_0x3f35e3[_0x1a73d2]);if(_0x3f35e3!=null&&typeof Object[_0x324b28(0x300)]==_0x324b28(0x166)){for(var _0x136f0b=0x0,_0x1a73d2=Object[_0x324b28(0x300)](_0x3f35e3);_0x136f0b<_0x1a73d2[_0x324b28(0x223)];_0x136f0b++)_0x4f21cf[_0x324b28(0x2e4)](_0x1a73d2[_0x136f0b])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x3f35e3,_0x1a73d2[_0x136f0b])&&(_0x4f2d78[_0x1a73d2[_0x136f0b]]=_0x3f35e3[_0x1a73d2[_0x136f0b]]);}return _0x4f2d78;},_0x230d79=_0x588d36[_0x140f32(0x2e1)](function(_0x533590,_0x30fd47){const _0x4e629b=_0x140f32;var _0x107ca8=_0x533590[_0x4e629b(0x33b)],_0x312ee7=_0x533590['id'],_0x2028d2=_0x533590[_0x4e629b(0x38b)],_0x40b989=_0x533590[_0x4e629b(0x14a)],_0x467125=_0x35589d(_0x533590,['icon','id',_0x4e629b(0x38b),_0x4e629b(0x14a)]),_0x409f2a=_0x4e629b(0x190)['concat'](_0x312ee7,'\x20')[_0x4e629b(0x344)](_0x2028d2||'')[_0x4e629b(0x26d)](),_0x2b4044=_0x588d36[_0x4e629b(0x27c)]('_'['concat'](_0x2448f3()));return _0xcf34f(_0x107ca8,''[_0x4e629b(0x344)](_0x312ee7),{'defIds':_0x107ca8[_0x4e629b(0x297)],'idSuffix':_0x2b4044['current']},_0x58c15d({'ref':_0x30fd47,'className':_0x409f2a},_0x467125),_0x40b989);});function _0xcf34f(_0x4d8c33,_0xa36318,_0x36c3a2,_0x57cbb3,_0x586640){const _0x2ac79d=_0x140f32;return _0x588d36[_0x2ac79d(0x268)](_0x4d8c33[_0x2ac79d(0x136)],_0x58c15d(_0x58c15d({'key':_0xa36318},_0x2c8ba4(_0x4d8c33,_0x36c3a2,_0x586640)),_0x57cbb3),(_0x58d1a5(_0x4d8c33,_0x36c3a2)[_0x2ac79d(0x36f)]||[])[_0x2ac79d(0x363)](function(_0xccb29b,_0x42cbd0){const _0xcd4b06=_0x2ac79d;return _0xcf34f(_0xccb29b,''['concat'](_0xa36318,'-')[_0xcd4b06(0x344)](_0x4d8c33[_0xcd4b06(0x136)],'-')['concat'](_0x42cbd0),_0x36c3a2,void 0x0,_0x586640);}));}function _0x2c8ba4(_0x48c99c,_0x3c84fb,_0x508094){const _0x3b39a0=_0x140f32;var _0x37bed5=_0x58c15d({},_0x48c99c[_0x3b39a0(0x117)]);_0x508094!=null&&_0x508094['colorChannel1']&&_0x37bed5[_0x3b39a0(0x2e9)]===_0x3b39a0(0x187)&&(_0x37bed5[_0x3b39a0(0x2e9)]=_0x508094[_0x3b39a0(0x187)]),_0x48c99c[_0x3b39a0(0x136)]===_0x3b39a0(0x256)&&_0x37bed5['id']&&(_0x37bed5['id']=_0x37bed5['id']+_0x3c84fb[_0x3b39a0(0x217)]),Object[_0x3b39a0(0x10c)](_0x37bed5)[_0x3b39a0(0x282)](function(_0x31b484){const _0xd195f4=_0x3b39a0;var _0x421f71=_0x31b484[0x0],_0x5a82f3=_0x31b484[0x1];_0x421f71===_0xd195f4(0x256)&&typeof _0x5a82f3==_0xd195f4(0x258)&&(_0x37bed5[_0x421f71]=_0x5a82f3[_0xd195f4(0x27a)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x3c84fb[_0xd195f4(0x217)],')')));});var _0x573495=_0x3c84fb['defIds'];return!_0x573495||_0x573495['length']===0x0||(_0x48c99c['tag']===_0x3b39a0(0x39e)&&_0x37bed5[_0x3b39a0(0x38e)]&&(_0x37bed5['xlink:href']=_0x37bed5[_0x3b39a0(0x38e)]+_0x3c84fb[_0x3b39a0(0x217)]),Object[_0x3b39a0(0x10c)](_0x37bed5)[_0x3b39a0(0x282)](function(_0x2e156f){const _0x5247d6=_0x3b39a0;var _0x3f2261=_0x2e156f[0x0],_0x248e3f=_0x2e156f[0x1];typeof _0x248e3f==_0x5247d6(0x258)&&(_0x37bed5[_0x3f2261]=_0x248e3f[_0x5247d6(0x27a)](/url\(#(.*)\)/,_0x5247d6(0x24f)[_0x5247d6(0x344)](_0x3c84fb[_0x5247d6(0x217)],')')));})),_0x37bed5;}function _0x58d1a5(_0x3c6fcb,_0x1a65ed){const _0x4734c=_0x140f32;var _0x234233,_0x156449=_0x1a65ed['defIds'];return!_0x156449||_0x156449[_0x4734c(0x223)]===0x0?_0x3c6fcb:_0x3c6fcb['tag']===_0x4734c(0x192)&&(!((_0x234233=_0x3c6fcb[_0x4734c(0x36f)])===null||_0x234233===void 0x0)&&_0x234233[_0x4734c(0x223)])?_0x58c15d(_0x58c15d({},_0x3c6fcb),{'children':_0x3c6fcb[_0x4734c(0x36f)][_0x4734c(0x363)](function(_0x2adaa8){const _0x2a80e9=_0x4734c;return typeof _0x2adaa8[_0x2a80e9(0x117)]['id']==_0x2a80e9(0x258)&&_0x156449&&_0x156449[_0x2a80e9(0x339)](_0x2adaa8[_0x2a80e9(0x117)]['id'])?_0x58c15d(_0x58c15d({},_0x2adaa8),{'attrs':_0x58c15d(_0x58c15d({},_0x2adaa8[_0x2a80e9(0x117)]),{'id':_0x2adaa8[_0x2a80e9(0x117)]['id']+_0x1a65ed[_0x2a80e9(0x217)]})}):_0x2adaa8;})}):_0x3c6fcb;}function _0x2448f3(){const _0x549cf4=_0x140f32;return Math[_0x549cf4(0x25d)]()['toString'](0x24)[_0x549cf4(0x20d)](0x2,0x8);}_0x230d79[_0x140f32(0x397)]='UniverIcon';var _0x6b309e={'tag':_0x140f32(0x326),'attrs':{'xmlns':_0x140f32(0x212),'fill':'none','viewBox':_0x140f32(0x3a0),'width':'1em','height':_0x140f32(0x11c)},'children':[{'tag':'g','attrs':{'clipPath':_0x140f32(0x338)},'children':[{'tag':_0x140f32(0x2d2),'attrs':{'stroke':_0x140f32(0x2d9),'d':_0x140f32(0x2be),'strokeLinecap':_0x140f32(0x13e),'strokeLinejoin':_0x140f32(0x13e),'strokeWidth':1.2}}]},{'tag':_0x140f32(0x192),'attrs':{},'children':[{'tag':_0x140f32(0x262),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x140f32(0x2d2),'attrs':{'fill':_0x140f32(0x15b),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x16c7d1=_0x588d36['forwardRef'](function(_0x46f247,_0x5908bc){const _0x4ce165=_0x140f32;return _0x588d36[_0x4ce165(0x268)](_0x230d79,Object[_0x4ce165(0x16c)]({},_0x46f247,{'id':_0x4ce165(0x399),'ref':_0x5908bc,'icon':_0x6b309e}));});_0x16c7d1[_0x140f32(0x397)]=_0x140f32(0x1cf);var _0x12ed5e={'tag':_0x140f32(0x326),'attrs':{'xmlns':_0x140f32(0x212),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x140f32(0x11c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x140f32(0x1c2)},'children':[{'tag':_0x140f32(0x2d2),'attrs':{'stroke':'currentColor','d':_0x140f32(0x141),'strokeLinecap':_0x140f32(0x13e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x140f32(0x192),'attrs':{},'children':[{'tag':_0x140f32(0x262),'attrs':{'id':_0x140f32(0x1cd)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x140f32(0x35a),'transform':_0x140f32(0x1c5)}}]}]}],'defIds':[_0x140f32(0x1cd)]},_0x3e2b17=_0x588d36[_0x140f32(0x2e1)](function(_0x3662c4,_0x1df566){const _0x33e943=_0x140f32;return _0x588d36[_0x33e943(0x268)](_0x230d79,Object[_0x33e943(0x16c)]({},_0x3662c4,{'id':_0x33e943(0x106),'ref':_0x1df566,'icon':_0x12ed5e}));});_0x3e2b17[_0x140f32(0x397)]=_0x140f32(0x156);function _0x533d0a(_0x1d0e2e){const _0xe0dc3a=_0x140f32;switch(_0x1d0e2e){case _0x55c138['CollaborationStatus']['OFFLINE']:return _0xe0dc3a(0x345);case _0x55c138['CollaborationStatus'][_0xe0dc3a(0x1cc)]:return _0xe0dc3a(0x19f);case _0x55c138[_0xe0dc3a(0x2f1)][_0xe0dc3a(0x284)]:return _0xe0dc3a(0x149);case _0x55c138[_0xe0dc3a(0x2f1)]['NOT_COLLAB']:return'collabStatus.notCollab';case _0x55c138['CollaborationStatus'][_0xe0dc3a(0x1ce)]:case _0x55c138['CollaborationStatus'][_0xe0dc3a(0x3a5)]:return _0xe0dc3a(0x23a);case _0x55c138['CollaborationStatus'][_0xe0dc3a(0x238)]:case _0x55c138['CollaborationStatus'][_0xe0dc3a(0x386)]:return _0xe0dc3a(0x27d);}}function _0x6adec3(_0x15d17d){const _0xd4ce0a=_0x140f32,{status$:_0x26bb43}=_0x15d17d,_0x1fc6f7=_0x17254d[_0xd4ce0a(0x25b)](_0x26bb43,_0x55c138['CollaborationStatus'][_0xd4ce0a(0x310)]),_0x25a8a3=_0x17254d[_0xd4ce0a(0x127)](_0x1061f8[_0xd4ce0a(0x1fc)]),_0xb19306=_0x17254d['useDependency'](_0x55c138[_0xd4ce0a(0x19e)]),_0x5eb8e8=_0x1fc6f7!==_0x55c138['CollaborationStatus'][_0xd4ce0a(0x355)],_0x2e54e0=_0x25a8a3['t'](_0x533d0a(_0x1fc6f7)),_0x56f153=_0x5eb8e8?_0x259c4f['jsx'](_0x3e2b17,{}):_0x259c4f[_0xd4ce0a(0x1c0)](_0x16c7d1,{}),_0x19ffa2=_0x588d36[_0xd4ce0a(0x290)](()=>{const _0x4abb37=_0xd4ce0a;_0x5eb8e8||_0xb19306[_0x4abb37(0x14d)]();},[_0x5eb8e8,_0xb19306]);function _0x57322c(){const _0x24d968=_0xd4ce0a;return _0x259c4f[_0x24d968(0x35c)]('div',{'className':_0x24d968(0x154),'onClick':_0x19ffa2,'children':[_0x259c4f[_0x24d968(0x1c0)](_0x24d968(0x313),{'className':_0x44a7e1[_0x24d968(0x1ee)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x5eb8e8,'univer-text-red-500':!_0x5eb8e8}),'children':_0x56f153}),_0x259c4f[_0x24d968(0x1c0)]('div',{'className':_0x24d968(0x342),'children':_0x2e54e0})]});}return _0x5eb8e8?_0x57322c():_0x259c4f[_0xd4ce0a(0x1c0)](_0x44a7e1['Tooltip'],{'title':_0x25a8a3['t']('collab-client.tooltip.reconnect'),'children':_0x57322c()});}var _0x20836e=Object[_0x140f32(0x10b)],_0x3a2c4e=(_0x5d61b1,_0x3db174,_0x1d1b73,_0x1e8388)=>{const _0x2e277d=_0x140f32;for(var _0x46b205=_0x1e8388>0x1?void 0x0:_0x1e8388?_0x20836e(_0x3db174,_0x1d1b73):_0x3db174,_0x312a1d=_0x5d61b1[_0x2e277d(0x223)]-0x1,_0x2966f6;_0x312a1d>=0x0;_0x312a1d--)(_0x2966f6=_0x5d61b1[_0x312a1d])&&(_0x46b205=_0x2966f6(_0x46b205)||_0x46b205);return _0x46b205;},_0x495ae3=(_0xe5a84,_0x4416d2)=>(_0x9de446,_0x2d70b3)=>_0x4416d2(_0x9de446,_0x2d70b3,_0xe5a84);_0x5a5a65[_0x140f32(0x37b)]=class extends _0x1061f8[_0x140f32(0x2e7)]{constructor(_0x57e82b,_0x5c6345,_0x2e06aa,_0x52c8a6){const _0x2f3424=_0x140f32;super(),_0x9b1d7c(this,_0x2f3424(0x283),new _0x3a20ae[(_0x2f3424(0x36b))](_0x55c138[_0x2f3424(0x2f1)][_0x2f3424(0x310)])),(this[_0x2f3424(0x186)]=_0x57e82b,this['_injector']=_0x5c6345,this[_0x2f3424(0x29f)]=_0x2e06aa,this[_0x2f3424(0x218)]=_0x52c8a6,this['_initStatusComponent'](),this[_0x2f3424(0x1bf)]());}[_0x140f32(0x1bf)](){const _0x2b71a2=_0x140f32;this[_0x2b71a2(0x26b)](this[_0x2b71a2(0x186)][_0x2b71a2(0x1d9)][_0x2b71a2(0x13a)](_0x3a20ae[_0x2b71a2(0x13c)](()=>{const _0x84fea0=_0x2b71a2,_0x3dfcc5=this[_0x84fea0(0x186)][_0x84fea0(0x277)]();return _0x3dfcc5?this[_0x84fea0(0x29f)][_0x84fea0(0x353)](_0x3dfcc5[_0x84fea0(0x133)]()):_0x3a20ae['of'](null);}),_0x3a20ae[_0x2b71a2(0x13c)](_0x2a3c88=>_0x2a3c88?_0x2a3c88[_0x2b71a2(0x222)]:_0x3a20ae['of'](_0x55c138[_0x2b71a2(0x2f1)][_0x2b71a2(0x310)])))['subscribe'](_0x298ed1=>{const _0xd4481=_0x2b71a2;this['_status$'][_0xd4481(0x2b7)](_0x298ed1);}));}[_0x140f32(0x221)](){const _0x2d8dcc=_0x140f32;this[_0x2d8dcc(0x26b)](this[_0x2d8dcc(0x218)][_0x2d8dcc(0x398)](_0x17254d[_0x2d8dcc(0x15a)][_0x2d8dcc(0x128)],()=>_0x17254d[_0x2d8dcc(0x1aa)](_0x1646f6({'status$':this[_0x2d8dcc(0x283)][_0x2d8dcc(0x145)]()}),this[_0x2d8dcc(0x2b5)])));}},_0x5a5a65[_0x140f32(0x37b)]=_0x3a2c4e([_0x495ae3(0x0,_0x1061f8['IUniverInstanceService']),_0x495ae3(0x1,_0x1061f8[_0x140f32(0x364)](_0x1061f8['Injector'])),_0x495ae3(0x2,_0x1061f8['Inject'](_0x55c138[_0x140f32(0x1bb)])),_0x495ae3(0x3,_0x17254d[_0x140f32(0x1db)])],_0x5a5a65[_0x140f32(0x37b)]);function _0x1646f6(_0xadb470){const {status$:_0x5fce94}=_0xadb470;return function(){return _0x259c4f['jsx'](_0x6adec3,{'status$':_0x5fce94});};}var _0x14e19a=Object[_0x140f32(0x10b)],_0x553bda=(_0x3a15be,_0x6ba823,_0x4cabdc,_0x53e3cb)=>{for(var _0x2b35f5=_0x53e3cb>0x1?void 0x0:_0x53e3cb?_0x14e19a(_0x6ba823,_0x4cabdc):_0x6ba823,_0x5d8547=_0x3a15be['length']-0x1,_0xac1bad;_0x5d8547>=0x0;_0x5d8547--)(_0xac1bad=_0x3a15be[_0x5d8547])&&(_0x2b35f5=_0xac1bad(_0x2b35f5)||_0x2b35f5);return _0x2b35f5;},_0x2be453=(_0x1a7ee7,_0x2454dc)=>(_0x57235d,_0x5f44ae)=>_0x2454dc(_0x57235d,_0x5f44ae,_0x1a7ee7);let _0x11f97c=class extends _0x1061f8[_0x140f32(0x2e7)]{constructor(_0x2dcbf6,_0x219f08,_0xd4a6d7,_0x264237,_0x2916ff,_0x11e87d){const _0xa2d7d8=_0x140f32;super(),this[_0xa2d7d8(0x152)]=_0x2dcbf6,this[_0xa2d7d8(0x1d1)]=_0x219f08,this[_0xa2d7d8(0x160)]=_0xd4a6d7,this['_messageService']=_0x264237,this['_notificationService']=_0x2916ff,this['_localeService']=_0x11e87d,this[_0xa2d7d8(0x122)](),this[_0xa2d7d8(0x254)]();}[_0x140f32(0x122)](){const _0x1c70e4=_0x140f32;this[_0x1c70e4(0x26b)](this[_0x1c70e4(0x152)][_0x1c70e4(0x159)](()=>{const _0x52b4a3=_0x1c70e4;if(this[_0x52b4a3(0x1d1)][_0x52b4a3(0x2a7)][_0x52b4a3(0x162)])return this['_localeService']['t'](_0x52b4a3(0x15e));}));}[_0x140f32(0x254)](){const _0x1752ac=_0x140f32;this['disposeWithMe'](this['_collaborationUIEventService'][_0x1752ac(0x1a6)][_0x1752ac(0x225)](_0x4abea3=>{const _0x8f28a6=_0x1752ac;_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x2a0)]&&this[_0x8f28a6(0x237)]['show']({'type':_0x44a7e1['MessageType']['Warning'],'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x167))}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x2a5)]&&this[_0x8f28a6(0x237)][_0x8f28a6(0x2b8)]({'type':_0x44a7e1[_0x8f28a6(0x143)][_0x8f28a6(0x2c2)],'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x347))}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x30c)]&&this[_0x8f28a6(0x271)][_0x8f28a6(0x2b8)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x14e)),'type':_0x8f28a6(0x320),'duration':0x0}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x1cc)]&&this[_0x8f28a6(0x237)][_0x8f28a6(0x2b8)]({'type':_0x44a7e1['MessageType'][_0x8f28a6(0x31b)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x4abea3[_0x8f28a6(0x33d)]+')'}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x376)]&&this['_messageService'][_0x8f28a6(0x2b8)]({'type':_0x44a7e1[_0x8f28a6(0x143)][_0x8f28a6(0x2c2)],'content':this['_localeService']['t'](_0x4abea3[_0x8f28a6(0x33d)]||'')}),_0x4abea3['id']===_0x55c138['CollaborationUIEventId'][_0x8f28a6(0x35b)]&&this['_messageService'][_0x8f28a6(0x2b8)]({'type':_0x44a7e1[_0x8f28a6(0x143)]['Warning'],'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x391))}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x328)]&&this['_messageService']['show']({'type':_0x44a7e1[_0x8f28a6(0x143)][_0x8f28a6(0x31b)],'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x332))}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x35e)]&&this[_0x8f28a6(0x237)][_0x8f28a6(0x2b8)]({'type':_0x44a7e1[_0x8f28a6(0x143)][_0x8f28a6(0x31b)],'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x1e6))});}));}};_0x11f97c=_0x553bda([_0x2be453(0x0,_0x17254d['IBeforeCloseService']),_0x2be453(0x1,_0x55c138[_0x140f32(0x354)]),_0x2be453(0x2,_0x1061f8['Inject'](_0x55c138[_0x140f32(0x387)])),_0x2be453(0x3,_0x17254d[_0x140f32(0x22e)]),_0x2be453(0x4,_0x17254d[_0x140f32(0x183)]),_0x2be453(0x5,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x1fc)]))],_0x11f97c);const _0x373b98=_0x140f32(0x26f),_0x243b1c={},_0x1f2ba8=_0x1061f8['createIdentifier'](_0x140f32(0x311));var _0x489647=Object[_0x140f32(0x10b)],_0x4ebdb5=(_0x52607e,_0x45716f,_0x9ae11a,_0x5aa621)=>{const _0x8516b9=_0x140f32;for(var _0x8878cf=_0x5aa621>0x1?void 0x0:_0x5aa621?_0x489647(_0x45716f,_0x9ae11a):_0x45716f,_0x4e8ea3=_0x52607e[_0x8516b9(0x223)]-0x1,_0x521d6c;_0x4e8ea3>=0x0;_0x4e8ea3--)(_0x521d6c=_0x52607e[_0x4e8ea3])&&(_0x8878cf=_0x521d6c(_0x8878cf)||_0x8878cf);return _0x8878cf;},_0x81bda2=(_0x411620,_0x3a555d)=>(_0x54edb8,_0x2a7d8f)=>_0x3a555d(_0x54edb8,_0x2a7d8f,_0x411620);_0x5a5a65[_0x140f32(0x280)]=class extends _0x1061f8[_0x140f32(0x2f8)]{constructor(_0x19f493,_0x5f1ea0,_0x55d5c5,_0x3b21de,_0x42ea47){const _0x2fdbb3=_0x140f32;super(),this[_0x2fdbb3(0x1d6)]=_0x19f493,this[_0x2fdbb3(0x396)]=_0x5f1ea0,this[_0x2fdbb3(0x2bc)]=_0x55d5c5,this['_dataLoaderService']=_0x3b21de,_0x42ea47?_0x42ea47==null||_0x42ea47[_0x2fdbb3(0x359)]()[_0x2fdbb3(0x1f9)](()=>this[_0x2fdbb3(0x2c9)]()):(this[_0x2fdbb3(0x396)][_0x2fdbb3(0x360)](_0x2fdbb3(0x2e0),_0x2fdbb3(0x193)),this[_0x2fdbb3(0x2c9)]());}async[_0x140f32(0x2c9)](){const _0x1c0a8a=_0x140f32,_0x824df1=this[_0x1c0a8a(0x1d6)][_0x1c0a8a(0x278)](_0x1c0a8a(0x327)),_0x58f207=this['_urlService'][_0x1c0a8a(0x278)](_0x1c0a8a(0x374)),_0x3de98d=this['_urlService'][_0x1c0a8a(0x278)]('subunit');if(!_0x824df1||!_0x58f207){this[_0x1c0a8a(0x396)][_0x1c0a8a(0x360)](_0x1c0a8a(0x2e0),_0x1c0a8a(0x22d));return;}const _0x332e7e=await this[_0x1c0a8a(0x12a)][_0x1c0a8a(0x18d)](_0x824df1,Number(_0x58f207),_0x3de98d);_0x332e7e&&_0x332e7e instanceof _0x1061f8[_0x1c0a8a(0x31c)]&&this['_setupSubUnitSync'](_0x332e7e);}async[_0x140f32(0x1a2)](_0x5b3e61){const _0x5a7876=_0x140f32;await this['_updateSubUnitFromURLParams'](_0x5b3e61),_0x5b3e61['activeSheet$'][_0x5a7876(0x13a)](_0x3a20ae[_0x5a7876(0x36a)](this['dispose$']))[_0x5a7876(0x225)](_0x41cf2b=>{const _0x1abc80=_0x5a7876;_0x41cf2b&&this[_0x1abc80(0x2d0)](_0x41cf2b);}),this['_urlService']['urlChange$'][_0x5a7876(0x13a)](_0x3a20ae[_0x5a7876(0x36a)](this['dispose$']))[_0x5a7876(0x225)](()=>this[_0x5a7876(0x24e)](_0x5b3e61));}['_updateURLWithCurrentState'](_0x2e8c1d,_0x3ee953=!0x1){const _0x490627=_0x140f32,_0x640848=this[_0x490627(0x1d6)][_0x490627(0x278)]('subunit');_0x2e8c1d[_0x490627(0x21a)]()!==_0x640848&&this[_0x490627(0x1d6)][_0x490627(0x151)](_0x490627(0x1a0),_0x2e8c1d['getSheetId'](),_0x3ee953);}async[_0x140f32(0x24e)](_0x4ee051){const _0x4606e4=_0x140f32;var _0x1ec478;const _0x23d9bf=this[_0x4606e4(0x1d6)][_0x4606e4(0x278)]('subunit');if(!_0x23d9bf||!_0x4ee051[_0x4606e4(0x241)](_0x23d9bf)){const _0x3e3a3f=_0x4ee051[_0x4606e4(0x112)]()[0x0],_0x55de86=_0x4ee051[_0x4606e4(0x241)](_0x3e3a3f);if(!_0x55de86)return;this['_updateURLWithCurrentState'](_0x55de86,!0x0),await this[_0x4606e4(0x2bc)][_0x4606e4(0x19b)](_0x466e90['SetWorksheetActivateCommand']['id'],{'unitId':_0x4ee051[_0x4606e4(0x133)](),'subUnitId':_0x3e3a3f});return;}((_0x1ec478=_0x4ee051[_0x4606e4(0x124)]())==null?void 0x0:_0x1ec478[_0x4606e4(0x21a)]())!==_0x23d9bf&&await this['_commandService']['executeCommand'](_0x466e90[_0x4606e4(0x385)]['id'],{'unitId':_0x4ee051[_0x4606e4(0x133)](),'subUnitId':_0x23d9bf});}},_0x5a5a65[_0x140f32(0x280)]=_0x4ebdb5([_0x81bda2(0x0,_0x1f2ba8),_0x81bda2(0x1,_0x1061f8[_0x140f32(0x1be)]),_0x81bda2(0x2,_0x1061f8['ICommandService']),_0x81bda2(0x3,_0x1061f8[_0x140f32(0x364)](_0x55c138[_0x140f32(0x18e)])),_0x81bda2(0x4,_0x1061f8[_0x140f32(0x336)](_0x34b757[_0x140f32(0x236)]))],_0x5a5a65[_0x140f32(0x280)]);var _0x3ab485=Object[_0x140f32(0x10b)],_0x5268a0=(_0x304c11,_0x5caae5,_0x33e48f,_0x3be34c)=>{for(var _0x103280=_0x3be34c>0x1?void 0x0:_0x3be34c?_0x3ab485(_0x5caae5,_0x33e48f):_0x5caae5,_0x90046f=_0x304c11['length']-0x1,_0x3a508c;_0x90046f>=0x0;_0x90046f--)(_0x3a508c=_0x304c11[_0x90046f])&&(_0x103280=_0x3a508c(_0x103280)||_0x103280);return _0x103280;},_0x29345c=(_0x11ac8d,_0x49951c)=>(_0x2a47e2,_0x328ac4)=>_0x49951c(_0x2a47e2,_0x328ac4,_0x11ac8d);let _0x129f15=class{constructor(_0x3976c4,_0x2b7da5,_0x26f03d){const _0x1b2b28=_0x140f32;this[_0x1b2b28(0x2b5)]=_0x3976c4,this[_0x1b2b28(0x24a)]=_0x2b7da5,this[_0x1b2b28(0x12e)]=_0x26f03d;}[_0x140f32(0x3ab)](_0x445240){const _0x53ea65=_0x140f32;this['_transformUndoRedoStack'](_0x445240),this[_0x53ea65(0x14b)](_0x445240);}[_0x140f32(0x2d3)](_0x5eb044){const _0x52de16=_0x140f32,{unitID:_0x5e9a6e}=_0x5eb044,_0x29aad0=this['_renderManagerService'][_0x52de16(0x341)](_0x5e9a6e)['with'](_0x37c85e[_0x52de16(0x33a)]),{redoCache:_0x128336}=_0x29aad0[_0x52de16(0x272)]();if(_0x128336[_0x52de16(0x223)]===0x0)return _0x5eb044;let _0x373555=_0x1061f8['Tools'][_0x52de16(0x2d7)](_0x5eb044[_0x52de16(0x120)][0x0]);for(let _0x38c1bb=0x0;_0x38c1bb<_0x128336[_0x52de16(0x223)];_0x38c1bb++){const _0x5d8805={'id':_0x52de16(0x275),'params':{..._0x128336[_0x38c1bb]}},_0x3042f0=this[_0x52de16(0x24a)]['transformMutation'](_0x373555,_0x5d8805,!0x1);if(_0x50da05[_0x52de16(0x388)](_0x3042f0))throw _0x3042f0[_0x52de16(0x320)];_0x373555=_0x3042f0[_0x52de16(0x3a6)];}return{..._0x1061f8[_0x52de16(0x35f)]['deepClone'](_0x5eb044),'mutations':[_0x373555]};}['_transformUndoRedoStack'](_0x2fcf47){const _0x3fda71=_0x140f32,{unitID:_0x58c868}=_0x2fcf47,_0x208a40=this[_0x3fda71(0x12e)]['getRenderById'](_0x58c868)['with'](_0x37c85e[_0x3fda71(0x33a)]),{undoCache:_0x30f0c4,redoCache:_0x5b6f2e}=_0x208a40[_0x3fda71(0x272)]();if(_0x30f0c4[_0x3fda71(0x223)]===0x0||_0x5b6f2e[_0x3fda71(0x223)]===0x0)return;const _0x5a49a9=[],_0x10c2c8=[];let _0x6ae051=_0x1061f8[_0x3fda71(0x35f)][_0x3fda71(0x2d7)](_0x2fcf47['mutations'][0x0]),_0xa84b32=_0x1061f8[_0x3fda71(0x35f)][_0x3fda71(0x2d7)](_0x2fcf47[_0x3fda71(0x120)][0x0]);for(let _0xa3f433=_0x30f0c4['length']-0x1;_0xa3f433>=0x0;_0xa3f433--){const _0x5b100f={'id':_0x3fda71(0x275),'params':{..._0x30f0c4[_0xa3f433]}},_0x148285={'id':_0x3fda71(0x275),'params':{..._0x5b6f2e[_0xa3f433]}},_0x5a29bd=this['_transformService']['transformMutation'](_0x6ae051,_0x5b100f,!0x1),_0xcb4789=this[_0x3fda71(0x24a)][_0x3fda71(0x108)](_0xa84b32,_0x148285,!0x1);if(_0x50da05[_0x3fda71(0x388)](_0x5a29bd))throw _0x5a29bd[_0x3fda71(0x320)];if(_0x50da05[_0x3fda71(0x388)](_0xcb4789))throw _0xcb4789[_0x3fda71(0x320)];_0x5a49a9[_0x3fda71(0x20e)](_0x5a29bd['m2Prime'][_0x3fda71(0x343)]),_0x10c2c8[_0x3fda71(0x20e)](_0xcb4789[_0x3fda71(0x170)]['params']),_0x6ae051=_0x5a29bd['m1Prime'],_0xa84b32=_0xcb4789[_0x3fda71(0x3a6)];}_0x208a40[_0x3fda71(0x185)]({'undoCache':_0x5a49a9,'redoCache':_0x10c2c8});}[_0x140f32(0x14b)](_0x33f66c){const _0x4024f8=_0x140f32,{unitID:_0x165c7c}=_0x33f66c,_0x3f7d24=this[_0x4024f8(0x12e)]['getRenderById'](_0x165c7c)[_0x4024f8(0x21f)](_0x37c85e[_0x4024f8(0x33a)]),_0x4f5edb=_0x3f7d24['getActiveRange']();if(_0x4f5edb==null)return;const _0x3605d1=[{'id':_0x4024f8(0x275),'params':{'unitId':_0x33f66c[_0x4024f8(0x340)],'actions':null,'textRanges':[_0x4f5edb]}}],_0x15216d=this[_0x4024f8(0x24a)][_0x4024f8(0x3a2)](_0x33f66c,_0x3605d1);if(!_0x50da05['isTransformMutationsWithChangesetSuccess'](_0x15216d))throw _0x15216d[_0x4024f8(0x320)];const _0x248edd=_0x15216d[_0x4024f8(0x170)][0x0]['params'][_0x4024f8(0x1e3)];Array['isArray'](_0x248edd)&&_0x248edd[_0x4024f8(0x223)]&&_0x3f7d24[_0x4024f8(0x1b3)](_0x248edd[0x0]);}};_0x129f15=_0x5268a0([_0x29345c(0x0,_0x1061f8[_0x140f32(0x364)](_0x1061f8['Injector'])),_0x29345c(0x1,_0x50da05[_0x140f32(0x204)]),_0x29345c(0x2,_0x47852a[_0x140f32(0x1b9)])],_0x129f15);var _0x2ecd14=Object[_0x140f32(0x10b)],_0x4ead92=(_0x4b66bd,_0x266c9c,_0x3fd844,_0x3ffffd)=>{const _0x50ef76=_0x140f32;for(var _0xf83afa=_0x3ffffd>0x1?void 0x0:_0x3ffffd?_0x2ecd14(_0x266c9c,_0x3fd844):_0x266c9c,_0x52e5d9=_0x4b66bd[_0x50ef76(0x223)]-0x1,_0x389ef4;_0x52e5d9>=0x0;_0x52e5d9--)(_0x389ef4=_0x4b66bd[_0x52e5d9])&&(_0xf83afa=_0x389ef4(_0xf83afa)||_0xf83afa);return _0xf83afa;},_0x95b7ef=(_0x1e071e,_0x1a8216)=>(_0x5c899b,_0x489aa4)=>_0x1a8216(_0x5c899b,_0x489aa4,_0x1e071e);let _0x11a7aa=class{constructor(_0x4e7815,_0x20445d,_0x19c12e){const _0x9ddc67=_0x140f32;this['_injector']=_0x4e7815,this[_0x9ddc67(0x24a)]=_0x20445d,this['_docStateChangeManagerService']=_0x19c12e;}[_0x140f32(0x181)](_0x132071){const _0x3300a1=_0x140f32;this[_0x3300a1(0x194)](_0x132071);}[_0x140f32(0x2d3)](_0x12dab8){const _0x3ccb6e=_0x140f32,{unitID:_0x1367e4}=_0x12dab8,{collaboration:_0xc632ed}=this[_0x3ccb6e(0x30d)]['getStateCache'](_0x1367e4);if(_0xc632ed['length']===0x0)return _0x12dab8;let _0x500aaf=_0x1061f8[_0x3ccb6e(0x35f)][_0x3ccb6e(0x2d7)](_0x12dab8[_0x3ccb6e(0x120)][0x0]);for(let _0x2f0334=0x0;_0x2f0334<_0xc632ed['length'];_0x2f0334++){const _0x4fbbc5={'id':_0x3ccb6e(0x275),'params':{'unitId':_0xc632ed[_0x2f0334][_0x3ccb6e(0x16a)],..._0xc632ed[_0x2f0334][_0x3ccb6e(0x1fb)]}},_0x38d79f=this[_0x3ccb6e(0x24a)][_0x3ccb6e(0x108)](_0x500aaf,_0x4fbbc5,!0x1);if(_0x50da05[_0x3ccb6e(0x388)](_0x38d79f))throw _0x38d79f[_0x3ccb6e(0x320)];_0x500aaf=_0x38d79f[_0x3ccb6e(0x3a6)];}return{..._0x1061f8[_0x3ccb6e(0x35f)][_0x3ccb6e(0x2d7)](_0x12dab8),'mutations':[_0x500aaf]};}[_0x140f32(0x194)](_0x1e9ddf){const _0x1821d3=_0x140f32,{unitID:_0x1c1dee}=_0x1e9ddf,{history:_0x4aee48,collaboration:_0xc70eaa}=this['_docStateChangeManagerService'][_0x1821d3(0x346)](_0x1c1dee);if(_0x4aee48[_0x1821d3(0x223)]===0x0&&_0xc70eaa[_0x1821d3(0x223)]===0x0)return;const _0x46fb9f=[],_0x426cac=[];let _0x3c8048=_0x1061f8['Tools'][_0x1821d3(0x2d7)](_0x1e9ddf[_0x1821d3(0x120)][0x0]),_0x184dd4=_0x1061f8[_0x1821d3(0x35f)][_0x1821d3(0x2d7)](_0x1e9ddf[_0x1821d3(0x120)][0x0]);for(let _0xad2d9f=_0x4aee48['length']-0x1;_0xad2d9f>=0x0;_0xad2d9f--){const _0x2b703d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4aee48[_0xad2d9f][_0x1821d3(0x16a)],..._0x4aee48[_0xad2d9f]['undoState']}},_0x2a0cd1={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4aee48[_0xad2d9f][_0x1821d3(0x16a)],..._0x4aee48[_0xad2d9f][_0x1821d3(0x1fb)]}},_0x1cc651=this[_0x1821d3(0x24a)][_0x1821d3(0x108)](_0x3c8048,_0x2b703d,!0x1),_0x56f28b=this[_0x1821d3(0x24a)][_0x1821d3(0x108)](_0x184dd4,_0x2a0cd1,!0x1);if(_0x50da05[_0x1821d3(0x388)](_0x1cc651))throw _0x1cc651[_0x1821d3(0x320)];if(_0x50da05[_0x1821d3(0x388)](_0x56f28b))throw _0x56f28b[_0x1821d3(0x320)];_0x46fb9f['unshift']({..._0x4aee48[_0xad2d9f],'undoState':_0x1cc651['m2Prime'][_0x1821d3(0x343)],'redoState':_0x56f28b[_0x1821d3(0x170)][_0x1821d3(0x343)]}),_0x3c8048=_0x1cc651[_0x1821d3(0x3a6)],_0x184dd4=_0x56f28b[_0x1821d3(0x3a6)];}_0x3c8048=_0x1061f8['Tools']['deepClone'](_0x1e9ddf['mutations'][0x0]),_0x184dd4=_0x1061f8[_0x1821d3(0x35f)][_0x1821d3(0x2d7)](_0x1e9ddf[_0x1821d3(0x120)][0x0]);for(let _0x452d12=_0xc70eaa[_0x1821d3(0x223)]-0x1;_0x452d12>=0x0;_0x452d12--){const _0x33bb61={'id':_0x1821d3(0x275),'params':{'unitId':_0xc70eaa[_0x452d12][_0x1821d3(0x16a)],..._0xc70eaa[_0x452d12][_0x1821d3(0x2cd)]}},_0x214546={'id':_0x1821d3(0x275),'params':{'unitId':_0xc70eaa[_0x452d12][_0x1821d3(0x16a)],..._0xc70eaa[_0x452d12]['redoState']}},_0x4cf2ae=this[_0x1821d3(0x24a)][_0x1821d3(0x108)](_0x3c8048,_0x33bb61,!0x1),_0xe9a31c=this[_0x1821d3(0x24a)][_0x1821d3(0x108)](_0x184dd4,_0x214546,!0x1);if(_0x50da05[_0x1821d3(0x388)](_0x4cf2ae))throw _0x4cf2ae[_0x1821d3(0x320)];if(_0x50da05[_0x1821d3(0x388)](_0xe9a31c))throw _0xe9a31c['error'];_0x426cac[_0x1821d3(0x20e)]({..._0xc70eaa[_0x452d12],'undoState':_0x4cf2ae[_0x1821d3(0x170)]['params'],'redoState':_0xe9a31c['m2Prime'][_0x1821d3(0x343)]}),_0x3c8048=_0x4cf2ae[_0x1821d3(0x3a6)],_0x184dd4=_0xe9a31c[_0x1821d3(0x3a6)];}this[_0x1821d3(0x30d)][_0x1821d3(0x2ef)](_0x1c1dee,{'history':_0x46fb9f,'collaboration':_0x426cac});}};_0x11a7aa=_0x4ead92([_0x95b7ef(0x0,_0x1061f8['Inject'](_0x1061f8['Injector'])),_0x95b7ef(0x1,_0x50da05[_0x140f32(0x204)]),_0x95b7ef(0x2,_0x1061f8[_0x140f32(0x364)](_0x37c85e['DocStateChangeManagerService']))],_0x11a7aa);var _0x26d6d4=Object[_0x140f32(0x10b)],_0x1e7621=(_0x115f80,_0x10bd0e,_0x299066,_0x3f644e)=>{const _0x4a2469=_0x140f32;for(var _0x1eab27=_0x3f644e>0x1?void 0x0:_0x3f644e?_0x26d6d4(_0x10bd0e,_0x299066):_0x10bd0e,_0x1961f6=_0x115f80[_0x4a2469(0x223)]-0x1,_0x108d25;_0x1961f6>=0x0;_0x1961f6--)(_0x108d25=_0x115f80[_0x1961f6])&&(_0x1eab27=_0x108d25(_0x1eab27)||_0x1eab27);return _0x1eab27;},_0x16e64f=(_0x34792d,_0x2e2d83)=>(_0xb96b30,_0x104e68)=>_0x2e2d83(_0xb96b30,_0x104e68,_0x34792d);let _0x2734ca=class{constructor(_0x91a9b5,_0xcdf692){const _0x123314=_0x140f32;this[_0x123314(0x2b5)]=_0x91a9b5,this[_0x123314(0x24a)]=_0xcdf692;}[_0x140f32(0x18c)](_0x294149){const _0x2f95bc=_0x140f32;var _0x307f69;const _0x46acb2=this[_0x2f95bc(0x2b5)]['get'](_0x4639f7[_0x2f95bc(0x114)]),_0x1f19ed=(_0x307f69=_0x46acb2[_0x2f95bc(0x16f)]())!=null?_0x307f69:[];if(_0x1f19ed[_0x2f95bc(0x223)]===0x0)return;const _0x26d526=_0x294149[_0x2f95bc(0x340)],_0x13da7a=[{'id':_0x2f95bc(0x275),'params':{'unitId':_0x26d526,'actions':null,'textRanges':_0x1f19ed}}],_0x53434b=this[_0x2f95bc(0x24a)]['transformMutationsWithChangeset'](_0x294149,_0x13da7a);if(!_0x50da05[_0x2f95bc(0x23b)](_0x53434b))throw _0x53434b['error'];const _0x294126=_0x53434b[_0x2f95bc(0x170)][0x0][_0x2f95bc(0x343)]['textRanges'];Array[_0x2f95bc(0x205)](_0x294126)&&_0x294126[_0x2f95bc(0x223)]&&_0x46acb2[_0x2f95bc(0x2aa)](_0x294126,{'unitId':_0x26d526,'subUnitId':_0x26d526},!0x1);}};_0x2734ca=_0x1e7621([_0x16e64f(0x0,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x178)])),_0x16e64f(0x1,_0x50da05['ITransformService'])],_0x2734ca);var _0x2afc4e=Object['getOwnPropertyDescriptor'],_0x5551c1=(_0x1b5ec1,_0x12d9e3,_0x347d56,_0x55fe5d)=>{const _0x225103=_0x140f32;for(var _0x3868f7=_0x55fe5d>0x1?void 0x0:_0x55fe5d?_0x2afc4e(_0x12d9e3,_0x347d56):_0x12d9e3,_0x588d6c=_0x1b5ec1[_0x225103(0x223)]-0x1,_0x3e6a06;_0x588d6c>=0x0;_0x588d6c--)(_0x3e6a06=_0x1b5ec1[_0x588d6c])&&(_0x3868f7=_0x3e6a06(_0x3868f7)||_0x3868f7);return _0x3868f7;},_0x128152=(_0x90ebd,_0x181d31)=>(_0x485e38,_0x31ff5b)=>_0x181d31(_0x485e38,_0x31ff5b,_0x90ebd);let _0x3c3322=class extends _0x1061f8[_0x140f32(0x2e7)]{constructor(_0xdc79cd,_0x4da355,_0x5d2404,_0x194ded,_0x590042,_0x1dc97f,_0x575cd5,_0x455602){const _0x1133c8=_0x140f32;super(),_0x9b1d7c(this,_0x1133c8(0x283),new _0x3a20ae[(_0x1133c8(0x36b))](_0x55c138[_0x1133c8(0x2f1)][_0x1133c8(0x310)])),(this[_0x1133c8(0x30d)]=_0xdc79cd,this[_0x1133c8(0x29f)]=_0x4da355,this[_0x1133c8(0x2cc)]=_0x5d2404,this[_0x1133c8(0x38a)]=_0x194ded,this[_0x1133c8(0x350)]=_0x590042,this[_0x1133c8(0x116)]=_0x1dc97f,this[_0x1133c8(0x237)]=_0x575cd5,this['_localeService']=_0x455602,this[_0x1133c8(0x123)]());}[_0x140f32(0x123)](){const _0x223a21=_0x140f32;this['disposeWithMe'](this[_0x223a21(0x29f)][_0x223a21(0x367)][_0x223a21(0x225)](_0x3f18e3=>{const _0x349e22=_0x223a21,_0x6e715e=this[_0x349e22(0x30d)][_0x349e22(0x202)][_0x349e22(0x225)](_0x3c583e=>{const _0x1d3434=_0x349e22;if(_0x3c583e==null)return;const {unitId:_0x416fd8,redoState:_0x17a942,commandId:_0x38363c}=_0x3c583e;if(_0x416fd8!==_0x3f18e3[_0x1d3434(0x340)])return;const _0x108024={'id':_0x38363c,'type':_0x1061f8[_0x1d3434(0x19c)]['MUTATION'],'params':{'unitId':_0x416fd8,'actions':_0x17a942['actions'],'textRanges':null}};_0x3f18e3['onLocalMutation'](_0x108024);});if(_0x3f18e3[_0x349e22(0x26b)](_0x6e715e),_0x3f18e3 instanceof _0x55c138['DocCollaborationEntity']){const _0xa519bf={'onTransformIME':_0x132161=>this[_0x349e22(0x2cc)][_0x349e22(0x3ab)](_0x132161),'onTransformState':_0x133a27=>this[_0x349e22(0x38a)][_0x349e22(0x181)](_0x133a27),'onTransformSelections':_0x431245=>this['_docTransformSelectionsService'][_0x349e22(0x18c)](_0x431245),'onSyncEditingCollabCursor':_0x2c40af=>this[_0x349e22(0x116)][_0x349e22(0x1ef)](_0x2c40af),'onTransformRemoteChangesetByIMECache':_0x4035c7=>this[_0x349e22(0x2cc)][_0x349e22(0x2d3)](_0x4035c7),'onTransformRemoteChangesetByStateCache':_0x4c4377=>this['_docTransformStateCacheService'][_0x349e22(0x2d3)](_0x4c4377)};_0x3f18e3[_0x349e22(0x2c4)](_0xa519bf);}}));}};_0x3c3322=_0x5551c1([_0x128152(0x0,_0x1061f8[_0x140f32(0x364)](_0x37c85e[_0x140f32(0x308)])),_0x128152(0x1,_0x1061f8['Inject'](_0x55c138[_0x140f32(0x1bb)])),_0x128152(0x2,_0x1061f8['Inject'](_0x129f15)),_0x128152(0x3,_0x1061f8[_0x140f32(0x364)](_0x11a7aa)),_0x128152(0x4,_0x1061f8[_0x140f32(0x364)](_0x2734ca)),_0x128152(0x5,_0x1061f8[_0x140f32(0x364)](_0x1162b2)),_0x128152(0x6,_0x17254d[_0x140f32(0x22e)]),_0x128152(0x7,_0x1061f8['Inject'](_0x1061f8[_0x140f32(0x1fc)]))],_0x3c3322);var _0x4733f5=Object[_0x140f32(0x10b)],_0x533825=(_0x1c28fa,_0x3c550c,_0x513eca,_0x3a8a36)=>{const _0x4a49cd=_0x140f32;for(var _0x67887f=_0x3a8a36>0x1?void 0x0:_0x3a8a36?_0x4733f5(_0x3c550c,_0x513eca):_0x3c550c,_0x2aa689=_0x1c28fa[_0x4a49cd(0x223)]-0x1,_0x54fc31;_0x2aa689>=0x0;_0x2aa689--)(_0x54fc31=_0x1c28fa[_0x2aa689])&&(_0x67887f=_0x54fc31(_0x67887f)||_0x67887f);return _0x67887f;},_0x3d6baa=(_0x44f0b8,_0x8d9885)=>(_0x3eed34,_0xef826a)=>_0x8d9885(_0x3eed34,_0xef826a,_0x44f0b8);let _0xda65eb=class extends _0x1061f8[_0x140f32(0x2e7)]{constructor(_0x5bfd9c,_0x17b61b,_0x4cc1c2){const _0x12e716=_0x140f32;super(),_0x9b1d7c(this,_0x12e716(0x305),new Map()),_0x9b1d7c(this,_0x12e716(0x3a8),new Map()),_0x9b1d7c(this,_0x12e716(0x276),!0x1),(this['_configService']=_0x5bfd9c,this[_0x12e716(0x140)]=_0x17b61b,this[_0x12e716(0x211)]=_0x4cc1c2);}[_0x140f32(0x2f9)](){const _0x16c5f2=_0x140f32;this[_0x16c5f2(0x276)]=!0x0;}[_0x140f32(0x177)](){const _0x30b1b1=_0x140f32;this[_0x30b1b1(0x276)]=!0x1;}get[_0x140f32(0x2a7)](){return this['_saveTaskMap'];}[_0x140f32(0x16d)](){const _0x43facb=_0x140f32;this['exhaustSavingTask']()[_0x43facb(0x1f9)](()=>super['dispose']());}async['loadOfflineData'](_0x54c26d){const _0x28190b=_0x140f32;return this[_0x28190b(0x276)]?null:this[_0x28190b(0x140)][_0x28190b(0x2af)](_0x55c138['getLocalCacheKey'](_0x54c26d));}async[_0x140f32(0x285)](_0x206e2e,_0x3b251f){const _0x25db7d=_0x140f32;return!!this[_0x25db7d(0x140)][_0x25db7d(0x12c)](_0x206e2e,_0x3b251f);}[_0x140f32(0x372)](_0x571985,_0xbfe339,_0x1b1a6a,_0x582665){const _0x2ccd7b=_0x140f32,_0x23b466=this[_0x2ccd7b(0x211)][_0x2ccd7b(0x1d3)](_0x571985);this[_0x2ccd7b(0x305)]['set'](_0x571985,{'unitID':_0x571985,'type':_0xbfe339,'awaitingChangeset':_0x1b1a6a,'mutations':_0x582665,'rev':_0x23b466}),this['_saveTaskMap'][_0x2ccd7b(0x171)](_0x571985)||this[_0x2ccd7b(0x37e)](_0x571985);}['_scheduleSaving'](_0x351b8d){const _0x380d7d=_0x140f32,_0x38a81c=this[_0x380d7d(0x2ed)]();_0x38a81c===0x0?this[_0x380d7d(0x3ac)](_0x351b8d):this[_0x380d7d(0x3a8)][_0x380d7d(0x266)](_0x351b8d,setTimeout(()=>this[_0x380d7d(0x3ac)](_0x351b8d),_0x38a81c));}['_getSaveTimeout'](){const _0x256a75=_0x140f32;var _0x275b64;return(_0x275b64=this['_configService'][_0x256a75(0x200)](_0x55c138[_0x256a75(0x2da)]))!=null?_0x275b64:_0x55c138[_0x256a75(0x195)];}['_saveCache'](_0x51b33b){const _0x3e3b8f=_0x140f32,_0x58ca3f=this[_0x3e3b8f(0x3a8)][_0x3e3b8f(0x382)](_0x51b33b);return _0x58ca3f!==void 0x0&&window[_0x3e3b8f(0x132)](_0x58ca3f),this[_0x3e3b8f(0x140)]['setItem'](_0x55c138[_0x3e3b8f(0x29a)](_0x51b33b),this['_cachedData'][_0x3e3b8f(0x382)](_0x51b33b))['then'](()=>this['_saveTaskMap']['delete'](_0x51b33b));}async[_0x140f32(0x1b4)](){const _0x48f82a=_0x140f32,_0x3c435f=[];this[_0x48f82a(0x3a8)][_0x48f82a(0x282)]((_0x24fd60,_0x421078)=>{const _0x10961a=_0x48f82a;window['clearTimeout'](_0x24fd60),_0x3c435f['push'](this[_0x10961a(0x3ac)](_0x421078)[_0x10961a(0x1f9)](()=>{const _0x4001da=_0x10961a;this[_0x4001da(0x3a8)]['delete'](_0x421078);}));}),await Promise[_0x48f82a(0x1f2)](_0x3c435f);}};_0xda65eb=_0x533825([_0x3d6baa(0x0,_0x1061f8[_0x140f32(0x334)]),_0x3d6baa(0x1,_0x1061f8[_0x140f32(0x2e2)]),_0x3d6baa(0x2,_0x1061f8[_0x140f32(0x364)](_0x50da05[_0x140f32(0x1ba)]))],_0xda65eb);class _0xe47c93 extends _0x1061f8[_0x140f32(0x2f8)]{constructor(){const _0x477239=_0x140f32;super(),_0x9b1d7c(this,'urlChange$'),this['urlChange$']=_0x3a20ae['fromEvent'](window,'popstate')[_0x477239(0x13a)](_0x3a20ae[_0x477239(0x36a)](this[_0x477239(0x1fe)]),_0x3a20ae['shareReplay'](0x1),_0x3a20ae[_0x477239(0x25a)](void 0x0));}[_0x140f32(0x151)](_0x72d6b7,_0x13fa43,_0x3abe64=!0x1){const _0x28b239=_0x140f32,_0x1b22f5=new URL(window[_0x28b239(0x38c)][_0x28b239(0x2fd)]);_0x1b22f5[_0x28b239(0x1a1)][_0x28b239(0x266)](_0x72d6b7,_0x13fa43),_0x3abe64?window[_0x28b239(0x1b6)][_0x28b239(0x2e3)]('','',_0x1b22f5[_0x28b239(0x3a7)]()):window[_0x28b239(0x1b6)][_0x28b239(0x13d)]('','',_0x1b22f5[_0x28b239(0x3a7)]());}[_0x140f32(0x2d4)](_0x517fa9,_0x5296df=!0x1){const _0x2348ca=_0x140f32,_0x22e786=new URL(window[_0x2348ca(0x38c)][_0x2348ca(0x2fd)]);_0x22e786[_0x2348ca(0x1a1)][_0x2348ca(0x18a)](_0x517fa9),_0x5296df?window[_0x2348ca(0x1b6)][_0x2348ca(0x2e3)]('','',_0x22e786[_0x2348ca(0x3a7)]()):window[_0x2348ca(0x1b6)][_0x2348ca(0x13d)]('','',_0x22e786['toString']());}[_0x140f32(0x278)](_0xeae979){const _0x2df018=_0x140f32;var _0x50e52d;return(_0x50e52d=new URL(window[_0x2df018(0x38c)][_0x2df018(0x2fd)])[_0x2df018(0x1a1)]['get'](_0xeae979))!=null?_0x50e52d:void 0x0;}}var _0x4c1bea=Object[_0x140f32(0x2eb)],_0x375c85=Object[_0x140f32(0x10b)],_0xc0896a=(_0x4b3f02,_0x4cb7d0,_0x7ace8e)=>_0x4cb7d0 in _0x4b3f02?_0x4c1bea(_0x4b3f02,_0x4cb7d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7ace8e}):_0x4b3f02[_0x4cb7d0]=_0x7ace8e,_0x116eae=(_0x4c2c9f,_0x11b787,_0x22bffe,_0x4d8148)=>{const _0x54f613=_0x140f32;for(var _0x908326=_0x4d8148>0x1?void 0x0:_0x4d8148?_0x375c85(_0x11b787,_0x22bffe):_0x11b787,_0x26baaa=_0x4c2c9f[_0x54f613(0x223)]-0x1,_0x8686d;_0x26baaa>=0x0;_0x26baaa--)(_0x8686d=_0x4c2c9f[_0x26baaa])&&(_0x908326=_0x8686d(_0x908326)||_0x908326);return _0x908326;},_0x2cd974=(_0x531f45,_0x10cf65)=>(_0x326e82,_0x31371b)=>_0x10cf65(_0x326e82,_0x31371b,_0x531f45),_0x433540=(_0xc9b9f7,_0x56aaad,_0x1b3d24)=>_0xc0896a(_0xc9b9f7,_0x56aaad+'',_0x1b3d24);const _0x4c1bf7=_0x140f32(0x357);_0x5a5a65[_0x140f32(0x2fc)]=class extends _0x1061f8[_0x140f32(0x2e6)]{constructor(_0x52e0e7=_0x243b1c,_0x420332,_0x55927d,_0x56fbc8){const _0x13f6e7=_0x140f32;super(),this[_0x13f6e7(0x1e8)]=_0x52e0e7,this[_0x13f6e7(0x12e)]=_0x420332,this[_0x13f6e7(0x2b5)]=_0x55927d,this[_0x13f6e7(0x1d8)]=_0x56fbc8;const {..._0x4bb743}=_0x1061f8[_0x13f6e7(0x28f)]({},_0x243b1c,this[_0x13f6e7(0x1e8)]);this[_0x13f6e7(0x1d8)][_0x13f6e7(0x144)](_0x373b98,_0x4bb743);}[_0x140f32(0x1b8)](){this['_registerDependencies'](),this['_initDependencies']();}['onRendered'](){const _0x4d06b3=_0x140f32;this[_0x4d06b3(0x179)]();}[_0x140f32(0x25f)](){const _0x56bf94=_0x140f32;var _0x2dda9a;const _0x5f5991=[[_0x23270c],[_0x2734ca],[_0x129f15],[_0x11a7aa],[_0x1162b2],[_0x1f2ba8,{'useClass':_0xe47c93}],[_0x2bf9f0[_0x56bf94(0x373)],{'useClass':_0x2bf9f0[_0x56bf94(0x27f)]}],[_0x55c138[_0x56bf94(0x354)],{'useClass':_0xda65eb}],[_0x5a5a65[_0x56bf94(0x37b)]],[_0x3c3322],[_0x11f97c],[_0xe5aa4e],[_0x131abd],[_0x5a5a65[_0x56bf94(0x280)]]];_0x1061f8[_0x56bf94(0x208)](this['_injector'],_0x1061f8['mergeOverrideWithDependencies'](_0x5f5991,(_0x2dda9a=this['_config'])==null?void 0x0:_0x2dda9a['override']));}[_0x140f32(0x179)](){const _0x3947ce=_0x140f32;this[_0x3947ce(0x26b)](this[_0x3947ce(0x12e)][_0x3947ce(0x248)](_0x1061f8[_0x3947ce(0x2f4)][_0x3947ce(0x2f3)],[_0x2f3eac])),this['disposeWithMe'](this[_0x3947ce(0x12e)][_0x3947ce(0x248)](_0x1061f8[_0x3947ce(0x2f4)][_0x3947ce(0x109)],[_0x27741d]));}['_initDependencies'](){const _0x35d688=_0x140f32;_0x1061f8['touchDependencies'](this['_injector'],[[_0xe5aa4e],[_0x5a5a65[_0x35d688(0x37b)]],[_0x3c3322],[_0x11f97c],[_0x5a5a65['CollaborationDataLoaderController']]]);}},_0x433540(_0x5a5a65[_0x140f32(0x2fc)],_0x140f32(0x38d),_0x4c1bf7),_0x5a5a65[_0x140f32(0x2fc)]=_0x116eae([_0x1061f8[_0x140f32(0x197)](_0x55c138[_0x140f32(0x230)]),_0x2cd974(0x1,_0x47852a[_0x140f32(0x1b9)]),_0x2cd974(0x2,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x178)])),_0x2cd974(0x3,_0x1061f8[_0x140f32(0x334)])],_0x5a5a65[_0x140f32(0x2fc)]);var _0x656121=Object['getOwnPropertyDescriptor'],_0xc696b4=(_0x1f2e5,_0x441c78,_0x5621b1,_0x2cef97)=>{const _0x703031=_0x140f32;for(var _0x12e115=_0x2cef97>0x1?void 0x0:_0x2cef97?_0x656121(_0x441c78,_0x5621b1):_0x441c78,_0x2eb2e5=_0x1f2e5[_0x703031(0x223)]-0x1,_0x3b976d;_0x2eb2e5>=0x0;_0x2eb2e5--)(_0x3b976d=_0x1f2e5[_0x2eb2e5])&&(_0x12e115=_0x3b976d(_0x12e115)||_0x12e115);return _0x12e115;},_0xeedb08=(_0x2e323a,_0x2787e1)=>(_0x3f4dc1,_0x15600b)=>_0x2787e1(_0x3f4dc1,_0x15600b,_0x2e323a);_0x5a5a65[_0x140f32(0x29e)]=class extends _0x55c138[_0x140f32(0x1c8)]{constructor(_0x5b9414,_0x4c93ba,_0x20c9b8,_0x5bfe64,_0x45adbd){super(_0x5b9414,_0x4c93ba,_0x20c9b8,_0x5bfe64,_0x45adbd);}async[_0x140f32(0x1fa)](_0x492447){const _0x3eba46=_0x140f32,_0x43056c=await this['_getSessionTicket'](),_0x3958af=this[_0x3eba46(0x214)](_0x492447,_0x43056c);return this[_0x3eba46(0x11e)](_0x3958af);}['_createSocketURL'](_0x549d40,_0x64105f){const _0x315a84=_0x140f32,_0x2e4833=typeof window>'u'?new URL(_0x549d40):new URL(_0x549d40,window[_0x315a84(0x38c)][_0x315a84(0x23c)]);_0x2e4833[_0x315a84(0x1a1)]['set'](_0x315a84(0x213),_0x64105f);const _0x1dea16=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x315a84(0x38c)][_0x315a84(0x32c)]);return _0x1dea16['get'](_0x315a84(0x390))&&_0x2e4833[_0x315a84(0x1a1)]['set'](_0x315a84(0x390),_0x1dea16[_0x315a84(0x382)](_0x315a84(0x390))),_0x2e4833[_0x315a84(0x3a7)]();}async[_0x140f32(0x2ab)](){const _0x35b584=_0x140f32;var _0x47ae54,_0x307ce9,_0x22a95;const _0x5b0e05=this[_0x35b584(0x1d8)][_0x35b584(0x200)](_0x55c138[_0x35b584(0x17d)]),_0x26c238=(_0x47ae54=_0x5b0e05==null?void 0x0:_0x5b0e05[_0x35b584(0x184)])!=null?_0x47ae54:_0x55c138[_0x35b584(0x155)];return(_0x22a95=(_0x307ce9=(await this[_0x35b584(0x2a9)][_0x35b584(0x382)](_0x26c238,{'headers':{'Content-Type':_0x35b584(0x2df)}}))[_0x35b584(0x1ca)])==null?void 0x0:_0x307ce9['ticket'])!=null?_0x22a95:'';}},_0x5a5a65[_0x140f32(0x29e)]=_0xc696b4([_0xeedb08(0x0,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x178)])),_0xeedb08(0x1,_0x1061f8['Inject'](_0x2bf9f0[_0x140f32(0x233)])),_0xeedb08(0x2,_0x1061f8[_0x140f32(0x334)]),_0xeedb08(0x3,_0x1061f8[_0x140f32(0x1be)]),_0xeedb08(0x4,_0x50da05[_0x140f32(0x111)])],_0x5a5a65[_0x140f32(0x29e)]);const _0x14e3a1=0x7530,_0x196f4c=_0x140f32(0x274);class _0x89e3f9 extends _0x1061f8[_0x140f32(0x2e7)]{constructor(){const _0xa56989=_0x140f32;super(),_0x9b1d7c(this,_0xa56989(0x22f),_0x1061f8[_0xa56989(0x130)]()),_0x9b1d7c(this,_0xa56989(0x163),new Set()),_0x9b1d7c(this,_0xa56989(0x168),new Map()),_0x9b1d7c(this,_0xa56989(0x38f),null),_0x9b1d7c(this,_0xa56989(0x240),new Map()),_0x9b1d7c(this,_0xa56989(0x39c),new Map()),this['_init']();}['dispose'](){const _0x199fae=_0x140f32;super['dispose'](),this[_0x199fae(0x240)][_0x199fae(0x282)]((_0x4ea977,_0x20d359)=>this[_0x199fae(0x11b)](_0x20d359)),this[_0x199fae(0x38f)]&&window[_0x199fae(0x216)](this[_0x199fae(0x38f)]);}[_0x140f32(0x302)](_0x8f177d){const _0x27499a=_0x140f32;return this[_0x27499a(0x293)](_0x8f177d)[_0x27499a(0x13a)](_0x3a20ae[_0x27499a(0x329)]());}['editingUnit'](_0x57156e){const _0x41e230=_0x140f32;this[_0x41e230(0x163)][_0x41e230(0x162)]===0x0&&this[_0x41e230(0x28c)](),this['_selfUnitIDs'][_0x41e230(0x33c)](_0x57156e),this[_0x41e230(0x137)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x57156e],'isForwarded':!0x1});}[_0x140f32(0x148)](_0x4191e1){const _0x49ab85=_0x140f32;this[_0x49ab85(0x163)][_0x49ab85(0x18a)](_0x4191e1),this[_0x49ab85(0x163)][_0x49ab85(0x162)]===0x0&&this[_0x49ab85(0x38f)]&&window[_0x49ab85(0x216)](this[_0x49ab85(0x38f)]);}[_0x140f32(0x2c9)](){const _0x2acb1a=_0x140f32;this['disposeWithMe'](_0x1061f8[_0x2acb1a(0x292)](_0x3a20ae['fromEvent'](window,_0x2acb1a(0x25e))[_0x2acb1a(0x225)](_0x4d2764=>{const _0x401e19=_0x2acb1a;if(_0x4d2764[_0x401e19(0x1da)]!==_0x196f4c||!_0x4d2764[_0x401e19(0x13b)])return;const _0x5e4656=JSON[_0x401e19(0x1b0)](_0x4d2764['newValue']);this[_0x401e19(0x369)](_0x5e4656);}))),window['addEventListener'](_0x2acb1a(0x356),()=>this[_0x2acb1a(0x137)]({'type':0x1,'memberID':this[_0x2acb1a(0x22f)],'unitIDs':Array[_0x2acb1a(0x37c)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x207c00){const _0x38dee1=_0x140f32;switch(_0x207c00[_0x38dee1(0x374)]){case 0x0:this[_0x38dee1(0x153)](_0x207c00);break;case 0x1:this[_0x38dee1(0x33e)](_0x207c00);break;case 0x2:this[_0x38dee1(0x21b)](_0x207c00);break;}}['_handleJoinEvent'](_0x17f230){const _0x44122b=_0x140f32,{unitIDs:_0x88a300,memberID:_0x430d32,isForwarded:_0x36cd6e}=_0x17f230;_0x88a300[_0x44122b(0x282)](_0x3dd518=>{const _0x1b3306=_0x44122b;if(!_0x36cd6e&&this['_unitOnClients'][_0x1b3306(0x171)](_0x3dd518)&&this['_ensureSubject'](_0x3dd518)[_0x1b3306(0x2b7)](_0x55c138['UnitStatus'][_0x1b3306(0x34a)]),!this[_0x1b3306(0x168)]['has'](_0x3dd518)||!this['_unitOnClients'][_0x1b3306(0x382)](_0x3dd518)[_0x1b3306(0x171)](_0x430d32)){const _0x14b40f=this[_0x1b3306(0x168)][_0x1b3306(0x382)](_0x3dd518)||new Set();_0x14b40f[_0x1b3306(0x33c)](_0x430d32),this[_0x1b3306(0x168)][_0x1b3306(0x266)](_0x3dd518,_0x14b40f),this[_0x1b3306(0x201)](_0x430d32);}}),_0x36cd6e||this['_send']({'type':0x0,'memberID':this[_0x44122b(0x22f)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x140f32(0x201)](_0x2f0000){const _0x2fcbf0=_0x140f32;this['_removeClearOtherTimer'](_0x2f0000);const _0xb57c18=window[_0x2fcbf0(0x2a1)](()=>{const _0x2bb7ae=_0x2fcbf0;this['_unitOnClients'][_0x2bb7ae(0x282)](_0x97df11=>{_0x97df11['delete'](_0x2f0000);});},_0x14e3a1*0x2);this[_0x2fcbf0(0x240)][_0x2fcbf0(0x266)](_0x2f0000,_0xb57c18);}['_removeClearOtherTimer'](_0x1f6395){const _0x20a0a0=_0x140f32;if(this[_0x20a0a0(0x240)][_0x20a0a0(0x171)](_0x1f6395)){const _0x4a0ce9=this[_0x20a0a0(0x240)][_0x20a0a0(0x382)](_0x1f6395);_0x4a0ce9&&window[_0x20a0a0(0x132)](_0x4a0ce9),this[_0x20a0a0(0x240)][_0x20a0a0(0x266)](_0x1f6395,null);}}[_0x140f32(0x33e)](_0x305036){const _0xd0f851=_0x140f32,{memberID:_0x3fb135,unitIDs:_0x36cc94}=_0x305036;_0x36cc94[_0xd0f851(0x282)](_0xd8ea05=>{const _0xc29fa5=_0xd0f851;var _0x4e8079;const _0x57460a=this['_unitOnClients']['get'](_0xd8ea05);_0x57460a&&(_0x57460a[_0xc29fa5(0x18a)](_0x3fb135),(_0x4e8079=this[_0xc29fa5(0x293)](_0xd8ea05))==null||_0x4e8079[_0xc29fa5(0x2b7)](_0x57460a[_0xc29fa5(0x162)]===0x0?_0x55c138[_0xc29fa5(0x365)]['NO_OTHER_CLIENTS_EDITING']:_0x55c138['UnitStatus'][_0xc29fa5(0x34a)]));}),this[_0xd0f851(0x11b)](_0x3fb135);}[_0x140f32(0x21b)](_0x222ce6){const _0x459fc2=_0x140f32;this[_0x459fc2(0x201)](_0x222ce6[_0x459fc2(0x19d)]);}['_send'](_0x572c87){const _0x2a8a16=_0x140f32;localStorage[_0x2a8a16(0x12c)](_0x196f4c,JSON[_0x2a8a16(0x172)](_0x572c87));}[_0x140f32(0x28c)](){const _0x470b1d=_0x140f32;this['_heartbeatTimer']=window[_0x470b1d(0x316)](()=>{const _0x493069=_0x470b1d;this[_0x493069(0x137)]({'type':0x2,'memberID':this[_0x493069(0x22f)]});},_0x14e3a1);}['_ensureSubject'](_0x573d41){const _0x4f95e8=_0x140f32;return this[_0x4f95e8(0x39c)][_0x4f95e8(0x171)](_0x573d41)||this[_0x4f95e8(0x39c)][_0x4f95e8(0x266)](_0x573d41,new _0x3a20ae[(_0x4f95e8(0x36b))](_0x55c138[_0x4f95e8(0x365)][_0x4f95e8(0x289)])),this['_unitStatus'][_0x4f95e8(0x382)](_0x573d41);}}var _0x2e06d2=(_0x40da5f=>(_0x40da5f[_0x40da5f['UNDEFINED']=0x0]=_0x140f32(0x174),_0x40da5f[_0x40da5f['OK']=0x1]='OK',_0x40da5f[_0x40da5f[_0x140f32(0x28a)]=0x2]=_0x140f32(0x28a),_0x40da5f[_0x40da5f[_0x140f32(0x30c)]=0x3]=_0x140f32(0x30c),_0x40da5f[_0x40da5f[_0x140f32(0x228)]=0x4]=_0x140f32(0x228),_0x40da5f[_0x40da5f[_0x140f32(0x1ab)]=0x5]=_0x140f32(0x1ab),_0x40da5f[_0x40da5f[_0x140f32(0x1d5)]=0x6]=_0x140f32(0x1d5),_0x40da5f[_0x40da5f[_0x140f32(0x337)]=0x7]=_0x140f32(0x337),_0x40da5f[_0x40da5f[_0x140f32(0x24d)]=0x8]=_0x140f32(0x24d),_0x40da5f[_0x40da5f[_0x140f32(0x150)]=0x9]=_0x140f32(0x150),_0x40da5f[_0x40da5f[_0x140f32(0x13f)]=0xa]=_0x140f32(0x13f),_0x40da5f[_0x40da5f['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x140f32(0x20c),_0x40da5f[_0x40da5f[_0x140f32(0x22b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x40da5f[_0x40da5f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x140f32(0x33f),_0x40da5f[_0x40da5f[_0x140f32(0x304)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x40da5f[_0x40da5f[_0x140f32(0x2b0)]=0x1b59]=_0x140f32(0x2b0),_0x40da5f[_0x40da5f[_0x140f32(0x165)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x40da5f[_0x40da5f['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x140f32(0x2c3),_0x40da5f[_0x40da5f[_0x140f32(0x298)]=0x1b5c]=_0x140f32(0x298),_0x40da5f[_0x40da5f[_0x140f32(0x287)]=0x1b5d]='APPLY_DUPLICATED',_0x40da5f[_0x40da5f[_0x140f32(0x269)]=0x1f41]=_0x140f32(0x269),_0x40da5f[_0x40da5f[_0x140f32(0x24b)]=0x2329]=_0x140f32(0x24b),_0x40da5f[_0x40da5f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x140f32(0x173),_0x40da5f[_0x40da5f[_0x140f32(0x247)]=0x232b]=_0x140f32(0x247),_0x40da5f[_0x40da5f[_0x140f32(0x1e7)]=0x232c]=_0x140f32(0x1e7),_0x40da5f[_0x40da5f[_0x140f32(0x32a)]=0x232d]=_0x140f32(0x32a),_0x40da5f[_0x40da5f[_0x140f32(0x264)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x40da5f[_0x40da5f[_0x140f32(0x19a)]=0x2712]=_0x140f32(0x19a),_0x40da5f[_0x40da5f['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x40da5f[_0x40da5f[_0x140f32(0x142)]=0x2714]=_0x140f32(0x142),_0x40da5f[_0x40da5f[_0x140f32(0x121)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x40da5f[_0x40da5f[_0x140f32(0x26a)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x40da5f[_0x40da5f[_0x140f32(0x29c)]=0x271c]=_0x140f32(0x29c),_0x40da5f[_0x40da5f['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x140f32(0x306),_0x40da5f[_0x40da5f[_0x140f32(0x2ac)]=0x271e]=_0x140f32(0x2ac),_0x40da5f[_0x40da5f['YUUMI_AI_RUN_FAILED']=0x271f]=_0x140f32(0x21c),_0x40da5f[_0x40da5f[_0x140f32(0x2ff)]=0x2af9]=_0x140f32(0x2ff),_0x40da5f[_0x40da5f[_0x140f32(0x260)]=0x2ee1]=_0x140f32(0x260),_0x40da5f[_0x40da5f[_0x140f32(0x175)]=0x2ee2]=_0x140f32(0x175),_0x40da5f[_0x40da5f[_0x140f32(0x2ad)]=0x2ee3]=_0x140f32(0x2ad),_0x40da5f[_0x40da5f[_0x140f32(0x30f)]=0x2ee4]=_0x140f32(0x30f),_0x40da5f[_0x40da5f[_0x140f32(0x1de)]=0x2ee5]=_0x140f32(0x1de),_0x40da5f[_0x40da5f[_0x140f32(0x288)]=0x32c9]=_0x140f32(0x288),_0x40da5f[_0x40da5f['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x140f32(0x1cb),_0x40da5f[_0x40da5f[_0x140f32(0x2fb)]=0x32cb]=_0x140f32(0x2fb),_0x40da5f[_0x40da5f['UNRECOGNIZED']=-0x1]=_0x140f32(0x1c7),_0x40da5f))(_0x2e06d2||{}),_0x27603f=Object[_0x140f32(0x10b)],_0xbd591=(_0x1338b2,_0x44fc0b,_0x5204e6,_0x41f3ed)=>{for(var _0x3a4e03=_0x41f3ed>0x1?void 0x0:_0x41f3ed?_0x27603f(_0x44fc0b,_0x5204e6):_0x44fc0b,_0x44054b=_0x1338b2['length']-0x1,_0x55a95d;_0x44054b>=0x0;_0x44054b--)(_0x55a95d=_0x1338b2[_0x44054b])&&(_0x3a4e03=_0x55a95d(_0x3a4e03)||_0x3a4e03);return _0x3a4e03;},_0x21f999=(_0x5bb0d3,_0x4c0e52)=>(_0x21d638,_0x497cc7)=>_0x4c0e52(_0x21d638,_0x497cc7,_0x5bb0d3);_0x5a5a65[_0x140f32(0x2bd)]=class extends _0x1061f8[_0x140f32(0x2e7)]{constructor(_0x2d5cdd,_0x5b0047,_0x146379){const _0x4e2548=_0x140f32;super(),this[_0x4e2548(0x2f5)]=_0x2d5cdd,this['_httpService']=_0x5b0047,this['_configService']=_0x146379;}async['runOnServer'](_0x5124f2,_0x45643e,_0x1369e7,..._0x36d483){const _0x562984=_0x140f32;var _0x457f7f,_0x537831,_0x1bc16d,_0x14e514;const _0xcab78f=this[_0x562984(0x2f5)][_0x562984(0x277)]();if(!_0xcab78f)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x42de94=((_0x457f7f=this['_configService'][_0x562984(0x200)](_0x55c138[_0x562984(0x118)]))!=null?_0x457f7f:_0x55c138[_0x562984(0x2cb)])+'/'+_0x5124f2+'/run/'+_0x45643e,_0x4145bd=new URL(window['location'][_0x562984(0x2fd)]),_0x5a02dc={'scriptId':_0x5124f2,'runId':(_0x537831=_0x4145bd[_0x562984(0x1a1)][_0x562984(0x382)](_0x562984(0x390)))!=null?_0x537831:'','function':_0x45643e,'unitId':_0xcab78f[_0x562984(0x133)](),'argsOfFunction':JSON[_0x562984(0x172)](_0x36d483),'invokeId':(_0x1bc16d=_0x1369e7[_0x562984(0x17c)])!=null?_0x1bc16d:'','executionId':(_0x14e514=_0x1369e7[_0x562984(0x107)])!=null?_0x14e514:''};try{const _0x268720=await this[_0x562984(0x2a9)][_0x562984(0x246)](_0x42de94,{'body':_0x5a02dc});return _0x268720[_0x562984(0x1ca)][_0x562984(0x320)]&&_0x268720['body'][_0x562984(0x320)]['code']!==_0x2e06d2['OK']?_0x562984(0x2fe):_0x268720[_0x562984(0x1ca)][_0x562984(0x27e)];}catch{return _0x562984(0x2fe);}}},_0x5a5a65['RemoteUniscriptService']=_0xbd591([_0x21f999(0x0,_0x1061f8['IUniverInstanceService']),_0x21f999(0x1,_0x1061f8[_0x140f32(0x364)](_0x2bf9f0['HTTPService'])),_0x21f999(0x2,_0x1061f8[_0x140f32(0x334)])],_0x5a5a65['RemoteUniscriptService']),_0x5a5a65[_0x140f32(0x1f5)]=_0x6adec3,_0x5a5a65[_0x140f32(0x1b2)]=_0x1f2ba8,_0x5a5a65[_0x140f32(0x245)]=_0x394568,_0x5a5a65['WebBrowserSingleActiveUnitService']=_0x89e3f9,_0x5a5a65[_0x140f32(0x1a4)]=_0xe47c93,Object[_0x140f32(0x2eb)](_0x5a5a65,Symbol['toStringTag'],{'value':_0x140f32(0x32d)});}));function _0x12c0(){const _0x59cae5=['url(#$1','_colorIndex','getValue','UniverRpc','filter','_initEvent','green.600','mask','_scene','string','UniverSheets','mapTo','useObservable','IImageIoService','random','storage','_registerDependencies','INVITE_CODE_HAS_BEEN_UES','_hideTimer','clipPath','cursorInfo','YUUMI_UNABLE_LOAD_URL','_onCursorDelete','set','getCurrentSelections','createElement','CONNECTOR_DATA_TOO_LARGE','YUUMI_ASYNCIO_CANCELLED','disposeWithMe','sheetID','trim','collabCursorState$','collaboration-client-ui.config','_refRangeService','_notificationService','getUndoRedoMutationParamsCache','column','ACTIVE_UNIT_EVENT_CHANNEL','doc.mutation.rich-text-editing','_disabled','getFocusedUnit','getParam','DocSkeletonManagerService','replace','push','useRef','collabStatus.synced','result','WebSocketService','CollaborationDataLoaderController','getVpScrollXYInfoByPosToVp','forEach','_status$','FETCH_MISS','saveOfflineData','_updateCollabCursors','APPLY_DUPLICATED','WECHAT_HAS_BEEN_BOUND','NO_OTHER_CLIENTS_EDITING','INTERNAL_ERROR','handleInsertRow','_scheduleHeartbeat','_initCommandExecutedListener','unsubscribe','merge','useCallback','SheetsSelectionsService','toDisposable','_ensureSubject','send','_docSkeletonManagerService','engine','defIds','APPLY_PERMISSION_DENIED','9753194NXuYuN','getLocalCacheKey','measureText','YUUMI_TABLE_NOT_FOUND_IN_UNIT','hide','BrowserCollaborationSocketService','_collaborationController','OTHER_CLIENT_EDITING','setTimeout','contains','_cursorInfo$','sheetId','CLOSE_ROOM','DOC_RANGE_TYPE','saveTaskMap','_entities','_httpService','replaceDocRanges','_getSessionTicket','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INVITE_CODE_REQUIRED','collab-text-anchor-','getItem','APPLY_REJECT','arc','_session','@univerjs-pro/collaboration','collab-text-range-','_injector','SetSelectionsOperation','next','show','onCommandExecuted','_removeCollabCursors','requireSession','_commandService','RemoteUniscriptService','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','skeleton','startColumn','getMemberID','Warning','APPLY_REVISION_CONFILICT','addHandlerCallback','SessionStatus','@univerjs/engine-render','985329kWvCyZ','hasOwnProperty','_init','_sheetSkeletonManagerService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_docTransformIMECacheService','undoState','runRefRangeMutations','_docSkeleton','_updateURLWithCurrentState','Shape','path','transformRemoteChangeset','removeParam','30oNvgAP','onPointerEnter$','deepClone','_refreshCollabCursors','currentColor','LOCAL_CACHE_INTERVAL_KEY','onTransformChange$','save','complete','UPDATE_CURSOR','application/json','[CollaborationDataLoaderController]','forwardRef','ILocalStorageService','replaceState','indexOf','getColor','Plugin','Disposable','handleMoveRange','fill','_onCursorUpdate','defineProperty','roomMembers','_getSaveTimeout','setShapeProps','setStateCache','restore','CollaborationStatus','fillText','UNIVER_DOC','UniverInstanceType','_instanceService','amd','DisposableCollection','RxDisposable','disableLocalCache','_getSheetObject','EMAIL_HAS_BEEN_BOUND','UniverCollaborationClientUIPlugin','href','Failed','PY_RUNTIME_SCRIPT_ERROR','getOwnPropertySymbols','min','getUnitStatus$','_textBubble','ENSURE_SNAPSHOT_EXECUTION','_cachedData','YUUMI_ALL_TABLES_IS_INVALID','createInstance','DocStateChangeManagerService','some','black','closePath','PERMISSION_DENIED','_docStateChangeManagerService','currentSkeleton$','USER_NOT_INVITED_CODE','NOT_COLLAB','uni.network.url-service','saveImage','div','combineLatest','row','setInterval','getSkeleton','_color','_getScale','_eventUnsubscribe','Error','Workbook','isActive','_entityInit$','startRow','error','SetTextSelectionsOperation','...','_memberService','TEXT_RANGE_LAYER_INDEX','eventID','svg','unit','SOCKET_FAILED','distinctUntilChanged','LICENSE_DISTRO_REJECTED','RemoveRowCommandId','search','Module','roomMembers$','_document','Rect','max','session.connection-failed','_context','IConfigService','CollaborationEvent','Optional','INVALID_ARGUMENT','url(#off-line-icon_clip0_910_343)','includes','DocIMEInputManagerService','icon','add','data','_handleLeaveEvent','SNAPSHOT_HAS_BEEN_REMOVED','unitID','getRenderById','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','params','concat','collabStatus.offline','getStateCache','collaboration.closeRoom','getRelativeToViewportCoord','_getMergeRange','OTHER_CLIENTS_EDITING','UniverProCollaborationClientUi','debounce','MoveRangeCommandId','getCellPositionByOffset','_online','_docTransformSelectionsService','handleInsertRangeMoveRight','getCurrent','getCollabEntity$','ILocalCacheService','OFFLINE','unload','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transform','whenReady','M0\x200H16V16H0z','SOCKET_FAILED_RETRY','jsxs','119NYOVGu','SUBMIT_CHANGESET_TIMEOUT','Tools','debug','endColumn','_cursorShapes','map','Inject','UnitStatus','rxjs/operators','entityInit$','_toggleOffline','_handleEvent','takeUntil','BehaviorSubject','ranges','_labelPosition','findNodePositionByCharIndex','children','@univerjs/sheets-ui','InsertRowCommandId','updateOfflineData','ISocketService','type','_syncEditingCollabCursorService','JOIN_ROOM_FAILED','511432uVaecl','handleDeleteRangeMoveUp','395855shPecc','registerRefRange','DesktopCollaborationStatusDisplayController','from','purple.300','_scheduleSaving','RECT','_docClipboardService','_shapes','get','Unknown\x20user','object','SetWorksheetActivateCommand','PENDING','CollaborationUIEventService','isTransformMutationFailure','onPointerLeave$','_docTransformStateCacheService','className','location','pluginName','xlink:href','_heartbeatTimer','runId','session.will-retry','_themeService','_handleHover','setAlpha','UniverDocsUi','_logService','displayName','registerComponent','off-line-icon','sessionStatus$','find','_unitStatus','_hover','use','selections','0\x200\x2016\x2016','143511YSVglc','transformMutationsWithChangeset','selection','DeleteRangeMoveLeftCommandId','AWAITING_WITH_PENDING','m1Prime','toString','_saveTaskMap','UniverDrawing','symbol','transformIMECache','_saveCache','_name','handleIRemoveCol','on-line-icon','executionId','transformMutation','UNIVER_SHEET','debounceTime','getOwnPropertyDescriptor','entries','hovered','_imageIoService','SHEET_VIEWPORT_KEY','_collabSessionService','ISnapshotServerService','getUnhiddenWorksheets','fillStyle','DocSelectionManagerService','getCollabCursors$','_docSyncEditingCollabCursorService','attrs','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','TRANSFORM_CHANGE_OBSERVABLE_TYPE','rgba(255,\x20255,\x20255,\x200.01)','_removeClearOtherTimer','1em','getViewport','_doCreateSocket','subscribeEvent','mutations','YUUMI_NO_CUBOID_FOR_QUESTION','_setupBeforeClosingHandler','_initEntityListener','getActiveSheet','getCoordByCell','@univerjs/network','useDependency','HEADER_MENU','@univerjs/ui','_dataLoaderService','bottom','setItem','_anchorDot','_renderManagerService','name','generateRandomId','split','clearTimeout','getUnitId','getColorFromTheme','@univerjs-pro/collaboration-client','tag','_send','@univerjs/core','ICommandService','pipe','newValue','switchMap','pushState','round','LOGIN_FAILED','_localStorageService','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','YUUMI_SUBSCRIPTION_NOT_FOUND','MessageType','setConfig','asObservable','_render','_onRefRangeChange','disposeUnit','collabStatus.fetchMiss','extend','_transformPreviousActiveRange','_drawAnchor','reconnect','permission.content','_drawRectRange','COMPLETION_FINISHED','setParam','_beforeCloseService','_handleJoinEvent','univer-flex\x20univer-items-center','DEFAULT_WS_SESSION_TICKET_URL','OnLineIcon','red.300','CollaborationUIEventId','registerBeforeClose','BuiltInUIPart','white','getTypeOfUnitDisposed$','_cursor','collaboration-client.offline-data-not-saved','onMouseMove','_collaborationUIEventService','react/jsx-runtime','size','_selfUnitIDs','COLORS','APPLY_NON_SEQUENTIAL_REVISION','function','collaboration.single-unit.warning','_unitOnClients','addObjects','unitId','range','assign','dispose','values','getDocRanges','m2Prime','has','stringify','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNDEFINED','INVALID_INVITE_CODE','MemberService','enableLocalCache','Injector','_registerRenderDependencies','UniverEngineRender','text','invokeId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs/drawing','lineTo','cursorInfo$','transformStateCache','color','INotificationService','wsSessionTicketUrl','setUndoRedoMutationParamsCache','_univerInstanceService','colorChannel1','_startSheetCollabCursor','getAncestorScale','delete','UniverProCollaboration','transformSelections','loadUnit','DataLoaderService','#FFF','univerjs-icon\x20univerjs-icon-','yellow.400','defs','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_transformHistoryAndStateStack','LOCAL_CACHE_INTERVAL','source','DependentOn','font','assignAColorForMemberID','YUUMI_URL_COL_OUT_OF_RANGE','executeCommand','CommandType','memberID','CollaborationSessionService','collabStatus.conflict','subunit','searchParams','_setupSubUnitSync','throttleTime','WebURLService','getRangePointData','event$','Vector2','_colorAssignService','_collabCursorState$','connectInjector','UNAUTHENTICATED','@univerjs/sheets','toRgbString','_startDocCollabCursor','_roomMembers$','parse','_updateLocalCursor','IURLService','setActiveRange','exhaustSavingTask','_assignedColors','history','prototype','onStarting','IRenderManagerService','RevisionService','CollaborationController','SheetSkeletonManagerService','_toggleOnline','ILogService','_initStatusListener','jsx','backgroundColor','url(#on-line-icon_clip0_910_349)','addObject','@univerjs/engine-formula','translate(.97)','@univerjs/docs','UNRECOGNIZED','CollaborationSocketService','NodePositionConvertToRectRange','body','MOBILE_HAS_BEEN_BOUND','CONFLICT','on-line-icon_clip0_910_349','AWAITING','OffLineIcon','_anchor','_localCacheService','serializeRangeWithSheet','getCurrentRevOfUnit','_cursors','ALREADY_EXISTS','_urlService','UniverEngineFormula','_configService','focused$','key','IUIPartsService','_draw','blue.400','INVITE_CODE_ALREADY_BOUND','@univerjs/design','_lastPointer','deserializeRangeWithSheet','init','textRanges','RemoveColCommandId','handleIRemoveRow','session.collaboration-timeout','LICENSE_EXPORT_SIZE_EXCEEDED','_config','679124TDlbuh','startsWith','_hovered','_collabCursorController','@univerjs/rpc','clsx','syncEditingCollabCursor','React','width','all','flatMap','24zWfpMa','CollaborationStatusDisplay','RefRangeService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UniverSheetsUi','then','createSocket','redoState','LocaleService','triggerDblclick','dispose$','_getAnchorBounding','getConfig','_scheduleClearOtherTimer','docStateChange$','_range','ITransformService','isArray','SetDocZoomRatioOperation','ColorKit','registerDependencies','730071JfjSfW','operators','ONLINE','CHANGESET_REVISION_CONFILICT','substring','unshift','evenodd','_drawTextRange','_revisionService','http://www.w3.org/2000/svg','sessionTicket','_createSocketURL','ThemeService','clearInterval','idSuffix','_uiPartsService','RegularPolygon','getSheetId','_handleHeartbeatEvent','YUUMI_AI_RUN_FAILED','drawWith','fromEventSubject','with','_initResize','_initStatusComponent','status$','length','moveTo','subscribe','88otdwoF','call','NOT_FOUND','_backgroundColor','exports','SNAPSHOT_INVALID_SNAPSHOT','UniverNetwork','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','IMessageService','_id','UniverCollaborationClientPlugin','IUniverInstanceService','FromArray','HTTPService','EffectRefRangId','height','IRemoteInstanceService','_messageService','SYNCED','VIEW_MAIN','collabStatus.syncing','isTransformMutationsWithChangesetSuccess','origin','transformByState','getMember','rxjs','_clearOtherTimers','getSheetBySheetId','top','UniverDocs','_localeService','SheetCollabCursorShape','post','LICENSE_IMPORT_SIZE_EXCEEDED','registerRenderModule','react','_transformService','LICENSE_MAX_UNITS_EXCEEDED','currentTheme$','TOO_MANY_REQUESTS','_updateSubUnitFromURLParams'];_0x12c0=function(){return _0x59cae5;};return _0x12c0();}
1
+ function _0x3059(_0x51787e,_0x56ef80){const _0x4ae1cc=_0x4ae1();return _0x3059=function(_0x3059cf,_0x5c962f){_0x3059cf=_0x3059cf-0x14e;let _0x227bd7=_0x4ae1cc[_0x3059cf];return _0x227bd7;},_0x3059(_0x51787e,_0x56ef80);}function _0x4ae1(){const _0x23cef0=['triggerDblclick','Module','save','UniverInstanceType','replaceDocRanges','moveTo','_toggleOnline','_anchor','Plugin','handleInsertRangeMoveRight','entityInit$','_initDependencies','_session','fill','setActiveRange','collabStatus.fetchMiss','sessionStatus$','range','_removeClearOtherTimer','_eventUnsubscribe','_updateSubUnitFromURLParams','height','addClipboardHook','_docSkeleton','fillText','exports','INVITE_CODE_ALREADY_BOUND','_uiPartsService','BrowserCollaborationSocketService','@univerjs/core','BuiltInUIPart','ALREADY_EXISTS','startsWith','APPLY_DUPLICATED','@univerjs/docs','collaboration.closeRoom','unsubscribe','_urlService','getSkeleton','entries','_ensureSubject','RegularPolygon','colorChannel1','docStateChange$','IUniverInstanceService','m2Prime','getSheetId','CollaborationDataLoaderController','_createSocketURL','call','getTypeOfUnitDisposed$','fromEvent','getValue','InsertRangeMoveRightCommandId','dispose','next','getSheetObject','amd','_onRefRangeChange','_setupBeforeClosingHandler','VIEW_MAIN','origin','name','_drawAnchor','onPointerMove$','EffectRefRangId','Injector','mutations','_memberService','OFFLINE','ILocalStorageService','LOCAL_CACHE_INTERVAL_KEY','_drawRectRange','Subject','toDisposable','Inject','setItem','rxjs','session.will-retry','4214682GmqZPF','defineProperty','getUnitId','transformStateCache','_roomMembers$','COMPLETION_FINISHED','_hovered','defs','currentColor','undoState','_refreshCollabCursors','_scheduleSaving','unitId','isEditing','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_initEvent','_cursorShapes','mask','getCoordByCell','pipe','_getAnchorBounding','status$','setAlpha','_clearOtherTimers','params','_hideTimer','YUUMI_ALL_TABLES_IS_INVALID','wsSessionTicketUrl','rxjs/operators','registerComponent','_saveTaskMap','unit','url(#on-line-icon_clip0_910_349)','OnLineIcon','_updateURLWithCurrentState','makeDirty','TEXT','_dataLoaderService','hasOwnProperty','m1Prime','isTransformMutationFailure','stringify','cursorInfo$','MoveRangeCommandId','updateOfflineData','_messageService','length','add','displayName','APPLY_PERMISSION_DENIED','_docTransformSelectionsService','Rect','subunit','LOCAL_CACHE_INTERVAL','DesktopCollaborationStatusDisplayController','onMouseMove','ISocketService','_transformUndoRedoStack','_collabSessionService','Failed','UniverSheets','isArray','RemoveRowCommandId','apply','RxDisposable','color','@univerjs/design','_unitStatus','session.connection-failed','_send','use','UNAUTHENTICATED','jsx','icon','function','_status$','disposeWithMe','onPointerLeave$','_collabCursorController','trim','top','body','_initStatusComponent','CHANGESET_REVISION_CONFILICT','_renderManagerService','collabStatus.conflict','_getScale','width','_entities','InsertColCommandId','collab-text-anchor-','getParam','_injector','2386581PauCdz','with','useRef','debug','subUnitId','transformMutationsWithChangeset','currentSkeleton$','runId','setInterval','_getMergeRange','_scheduleHeartbeat','IURLService','forEach','debounceTime','values','Tools','_collabCursorState$','setUndoRedoMutationParamsCache','complete','_range','getMemberID','delete','getCollabEntity$','href','toString','lineTo','closePath','UniverDocsUi','UniverDesign','onCommandExecuted','_initEntityListener','M0\x200H16V16H0z','_cachedData','UNIVER_DOC','ENSURE_SNAPSHOT_EXECUTION','_drawTextRange','onLocalMutation','getConfig','@univerjs/sheets-ui','white','restore','collabStatus.offline','debounce','ACTIVE_UNIT_EVENT_CHANNEL','init','evenodd','addEventListener','CollaborationEvent','getUnitStatus$','RemoteUniscriptService','executeCommand','Tooltip','@univerjs/engine-render','touchDependencies','_onCursorDelete','SetWorksheetActivateCommand','NodePositionConvertToRectRange','popstate','green.600','runRefRangeMutations','_localeService','assign','getActiveSheet','1579595yIsyuW','IRenderManagerService','CLOSE_ROOM','from','CollaborationSessionService','_disabled','_saveCache','onRendered','UniverDrawing','ranges','APPLY_REVISION_CONFILICT','RemoveColCommandId','path','_collaborationUIEventService','parse','attrs','TOO_MANY_REQUESTS','WebURLService','registerRefRange','_shapes','collabCursorState$','push','getSheetBySheetId','YUUMI_AI_RUN_FAILED','focused$','_docTransformIMECacheService','PERMISSION_DENIED','INTERNAL_ERROR','event$','UnitStatus','ISnapshotServerService','DisposableCollection','hide','actions','DocSkeletonManagerService','useDependency','_initResize','jiqing.500','1118341IfdUlt','getTypeOfUnitAdded$','_beforeCloseService','labelPosition','doc.mutation.rich-text-editing','OTHER_CLIENT_EDITING','transformSelections','transformIMECache','combineLatest','UNDEFINED','_context','exhaustSavingTask','CollaborationController','symbol','saveTaskMap','url(#$1','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','INVITE_CODE_HAS_BEEN_UES','measureText','_instanceService','UniverUi','getRelativeToViewportCoord','replaceState','getMergeData','YUUMI_ASYNCIO_CANCELLED','cursorInfo','CollaborationUIEventService','yellow.400','[CollaborationDataLoaderController]','SNAPSHOT_HAS_BEEN_REMOVED','min','_unitOnClients','result','resize','prototype','Error','data','CollaborationStatusDisplay','UniverEngineRender','registerBeforeClose','Rectangle','NO_OTHER_CLIENTS_EDITING','DataLoaderService','_docClipboardService','DeleteRangeMoveUpCommandId','_colorAssignService','getUndoRedoMutationParamsCache','getAncestorScale','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','tag','className','react/jsx-runtime','collaboration-client-ui.config','UniverProCollaboration','selection','ONLINE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_logService','ITransformService','CollaborationUIEventId','idSuffix','SHEET_VIEWPORT_KEY','setStateCache','pluginName','mergeOverrideWithDependencies','YUUMI_NO_CUBOID_FOR_QUESTION','isTransformMutationsWithChangesetSuccess','collabStatus.synced','@univerjs/ui','10MGZUAh','_revisionService','div','clearTimeout','_backgroundColor','_notificationService','CONNECTOR_DATA_TOO_LARGE','on-line-icon_clip0_910_349','startColumn','DeleteRangeMoveLeftCommandId','unshift','arc','ColorKit','executionId','fromEventSubject','disposeUnit','none','FromArray','getColorFromTheme','font','SetTextSelectionsOperation','collabStatus.syncing','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Disposable','getCurrentUnitForType','handleInsertCol','MUTATION','bottom','ILocalCacheService','@univerjs/network','_assignedColors','RECT','MemberService','collaboration.single-unit.warning','_onCursorUpdate','_getSheetObject','_anchorDot','LICENSE_DISTRO_REJECTED','currentTheme$','APPLY_REJECT','_transformHistoryAndStateStack','off-line-icon','APPLY_NON_SEQUENTIAL_REVISION','collaboration-client.offline-data-not-saved','getOwnPropertyDescriptor','round','subscribe','SUBMIT_CHANGESET_TIMEOUT','searchParams','find','size','http://www.w3.org/2000/svg','DocCollaborationEntity','onStarting','createIdentifier','SYNCED','IBeforeCloseService','_init','LICENSE_EXPORT_SIZE_EXCEEDED','ILogService','string','YUUMI_UNABLE_LOAD_URL','onTransformChange$','Unknown\x20user','newValue','fillRule','show','saveImage','registerRenderModule','filter','27892332nsebCP','EMAIL_HAS_BEEN_BOUND','clsx','_initCommandExecutedListener','deepClone','send','transformMutation','replace','NodePositionConvertToCursor','imageSourceType','dispose$','IUIPartsService','_handleLeaveEvent','_transformPreviousActiveRange','_selfUnitIDs','_hover','react','getCurrentSelections','_startDocCollabCursor','AWAITING_WITH_PENDING','storage','ICommandService','MessageType','getUnhiddenWorksheets','_docStateChangeManagerService','MOBILE_HAS_BEEN_BOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','loadOfflineData','xlink:href','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_syncEditingCollabCursorService','key','RefRangeService','transform','textRanges','urlChange$','/run/','_handleHover','11522577zHnoNc','switchMap','getFocusedUnit','_themeService','forwardRef','column','UPDATE_CURSOR','_labelPosition','4DoUFfv','UniverProCollaborationClient','_toggleOffline','then','_doCreateSocket','@univerjs/drawing','_getSaveTimeout','disableLocalCache','toRgbString','includes','isActive','_cursor','LocaleService','DOC_RANGE_TYPE','1em','OTHER_CLIENTS_EDITING','@univerjs-pro/collaboration','@univerjs/rpc','get','all','2kCfDAg','clipPath','backgroundColor','USERS_LEAVE','type','subscribeEvent','UniverCollaborationClientUIPlugin','contains','IMessageService','RichTextEditingMutation','...','TEXT_RANGE_LAYER_INDEX','_handleEvent','SetSelectionsOperation','endColumn','_localStorageService','INVALID_ARGUMENT','getCollabCursors$','IImageIoService','ThemeService','_initStatusListener','black','setConfig','permission.title','UniverIcon','onPointerEnter$','redoState','substring','DocIMEInputManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','transformRemoteChangeset','handleIRemoveRow','createSocket','blue.400','distinctUntilChanged','url(#off-line-icon_clip0_910_343)','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','LOGIN_FAILED','history','8JXxVEH','children','setParam','DocStateChangeManagerService','enableLocalCache','SNAPSHOT_INVALID_SNAPSHOT','map','concat','object','max','rgba(255,\x20255,\x20255,\x200.01)','DependentOn','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','IConfigService','getVpScrollXYInfoByPosToVp','session.collaboration-timeout','_startSheetCollabCursor','takeUntil','saveOfflineData','_color','NOT_COLLAB','_cursorInfo$','asObservable','handleMoveRange','INVALID_INVITE_CODE','SetDocZoomRatioOperation','UniverDocs','unload','_getSessionTicket','getRenderById','578054lRYNLT','DEFAULT_WS_SESSION_TICKET_URL','svg','endRow','_handleJoinEvent','row','set','_updateCollabCursors','PY_RUNTIME_SCRIPT_ERROR','location','uni.network.url-service','_transformService','generateRandomId','sessionTicket','findNodePositionByCharIndex','addObject','shareReplay','_scene','getViewport','_registerRenderDependencies','useObservable','createElement','roomMembers$','removeParam','has','BehaviorSubject','_colorIndex','requireSession','transformByState','_setupSubUnitSync','loadUnit','getCellPositionByOffset','CollaborationStatus','_commandService','_draw','_online','AWAITING','sheetId','UNRECOGNIZED','ticket','pushState','12rWdoDS','getColor','@univerjs/engine-formula','HTTPService','DocSelectionManagerService','assignAColorForMemberID','_textBubble','random','roomMembers','unitID','activeSheet$','getRangePointData','YUUMI_SUBSCRIPTION_NOT_FOUND','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_docTransformStateCacheService','getStateCache','throttleTime','COLORS','FETCH_MISS','_registerDependencies','collabStatus.notCollab','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IDocClipboardService','_docSyncEditingCollabCursorService','merge','setShapeProps','_removeCollabCursors','_cursors','whenReady','drawWith','_id','mapTo','_heartbeatTimer','defIds','fillStyle','_univerInstanceService','YUUMI_RATE_OVER_LIMIT','post','_localCacheService','_updateLocalCursor','0\x200\x2017\x2016','SheetSkeletonManagerService','Optional','text','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UNIVER_SHEET','SessionStatus','Shape','INVITE_CODE_REQUIRED','handleDeleteRangeMoveLeft','_configService','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','_collaborationController','OffLineIcon','_name','indexOf','permission.content','_render','addHandlerCallback','Warning','_httpService','eventID','handleIRemoveCol','CONFLICT','HEADER_MENU','_entityInit$','@univerjs-pro/collaboration-client','handleDeleteRangeMoveUp','_sheetSkeletonManagerService','_refRangeService','current','UniverCore','sheetID','_docSkeletonManagerService','error','WECHAT_HAS_BEEN_BOUND','getCurrent','_lastPointer','runOnServer','beginPath'];_0x4ae1=function(){return _0x23cef0;};return _0x4ae1();}(function(_0x1d0861,_0x3e3aab){const _0x16694e=_0x3059,_0x13e1ef=_0x1d0861();while(!![]){try{const _0x29639c=parseInt(_0x16694e(0x28a))/0x1*(-parseInt(_0x16694e(0x2cf))/0x2)+parseInt(_0x16694e(0x158))/0x3*(-parseInt(_0x16694e(0x276))/0x4)+parseInt(_0x16694e(0x197))/0x5*(parseInt(_0x16694e(0x2f8))/0x6)+parseInt(_0x16694e(0x1bd))/0x7*(-parseInt(_0x16694e(0x2b1))/0x8)+parseInt(_0x16694e(0x397))/0x9+-parseInt(_0x16694e(0x202))/0xa*(parseInt(_0x16694e(0x26e))/0xb)+parseInt(_0x16694e(0x248))/0xc;if(_0x29639c===_0x3e3aab)break;else _0x13e1ef['push'](_0x13e1ef['shift']());}catch(_0x6fa4c2){_0x13e1ef['push'](_0x13e1ef['shift']());}}}(_0x4ae1,0xcdf7e),function(_0x7d8069,_0x2e808d){const _0x520d84=_0x3059;typeof exports==_0x520d84(0x2b9)&&typeof module<'u'?_0x2e808d(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require(_0x520d84(0x18c)),require(_0x520d84(0x21f)),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require(_0x520d84(0x36a)),require('@univerjs-pro/collaboration'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require(_0x520d84(0x3b3)),require(_0x520d84(0x17e)),require(_0x520d84(0x1f0)),require(_0x520d84(0x201)),require(_0x520d84(0x3d9)),require(_0x520d84(0x258)),require('@univerjs/rpc')):typeof define==_0x520d84(0x3e1)&&define[_0x520d84(0x381)]?define([_0x520d84(0x361),_0x520d84(0x33a),_0x520d84(0x365),_0x520d84(0x18c),_0x520d84(0x21f),'@univerjs/docs-ui',_0x520d84(0x27b),'rxjs','@univerjs/docs',_0x520d84(0x286),_0x520d84(0x2fa),'@univerjs/sheets',_0x520d84(0x3b3),_0x520d84(0x17e),_0x520d84(0x1f0),_0x520d84(0x201),_0x520d84(0x3d9),_0x520d84(0x258),_0x520d84(0x287)],_0x2e808d):(_0x7d8069=typeof globalThis<'u'?globalThis:_0x7d8069||self,_0x2e808d(_0x7d8069['UniverProCollaborationClientUi']={},_0x7d8069[_0x520d84(0x277)],_0x7d8069[_0x520d84(0x33f)],_0x7d8069[_0x520d84(0x1e3)],_0x7d8069['UniverNetwork'],_0x7d8069[_0x520d84(0x173)],_0x7d8069[_0x520d84(0x19f)],_0x7d8069[_0x520d84(0x395)],_0x7d8069[_0x520d84(0x2cb)],_0x7d8069[_0x520d84(0x1f2)],_0x7d8069['UniverEngineFormula'],_0x7d8069[_0x520d84(0x3d3)],_0x7d8069[_0x520d84(0x395)]['operators'],_0x7d8069['UniverSheetsUi'],_0x7d8069['React'],_0x7d8069[_0x520d84(0x1d1)],_0x7d8069[_0x520d84(0x174)],_0x7d8069['React'],_0x7d8069['UniverRpc']));}(this,function(_0x1ad031,_0x1062f6,_0x3dc819,_0x49d167,_0x273bf2,_0x4c4bbe,_0x6bbfa0,_0x5c682c,_0x358a5a,_0x40fcc9,_0x9cd594,_0x43d9c5,_0x3c2e70,_0x315d01,_0x2765ed,_0x3513eb,_0x479c75,_0x29beeb,_0x4cd836){'use strict';const _0x122628=_0x3059;var _0x324274=Object['defineProperty'],_0x4d419b=(_0x1941ef,_0x42a6bb,_0x59fca9)=>_0x42a6bb in _0x1941ef?_0x324274(_0x1941ef,_0x42a6bb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59fca9}):_0x1941ef[_0x42a6bb]=_0x59fca9,_0x1e4415=(_0x11d934,_0x22b280,_0x4ddc11)=>_0x4d419b(_0x11d934,typeof _0x22b280!=_0x122628(0x1ca)?_0x22b280+'':_0x22b280,_0x4ddc11),_0x2978c5=Object[_0x122628(0x22e)],_0x390442=(_0x2c2780,_0x36d327,_0x47ec62,_0x310d1b)=>{const _0x10f780=_0x122628;for(var _0x53e12a=_0x310d1b>0x1?void 0x0:_0x310d1b?_0x2978c5(_0x36d327,_0x47ec62):_0x36d327,_0x5881c5=_0x2c2780[_0x10f780(0x3c5)]-0x1,_0x34f831;_0x5881c5>=0x0;_0x5881c5--)(_0x34f831=_0x2c2780[_0x5881c5])&&(_0x53e12a=_0x34f831(_0x53e12a)||_0x53e12a);return _0x53e12a;},_0x354567=(_0x5fdd0,_0x571089)=>(_0x316b90,_0x59ca52)=>_0x571089(_0x316b90,_0x59ca52,_0x5fdd0);let _0x5d143f=class extends _0x3dc819['RxDisposable']{constructor(_0x3b97e3,_0x4be6d8){const _0x32cfce=_0x122628;super(),this[_0x32cfce(0x1e8)]=_0x3b97e3,this['_imageIoService']=_0x4be6d8,this[_0x32cfce(0x23b)]();}[_0x122628(0x23b)](){const _0x4f3bf7=_0x122628,_0x223e53=this;this[_0x4f3bf7(0x3e3)](this[_0x4f3bf7(0x1e8)][_0x4f3bf7(0x35e)]({'onBeforePasteImage':async _0x190112=>{const _0x3fb0bd=_0x4f3bf7,_0x3937d1=await _0x223e53['_imageIoService'][_0x3fb0bd(0x245)](_0x190112);return _0x3937d1?{'source':_0x3937d1['source'],'imageSourceType':_0x3937d1[_0x3fb0bd(0x251)]}:null;}}));}};_0x5d143f=_0x390442([_0x354567(0x0,_0x4c4bbe[_0x122628(0x30e)]),_0x354567(0x1,_0x6bbfa0[_0x122628(0x29c)])],_0x5d143f);const _0x488680=['purple.300',_0x122628(0x1bc),_0x122628(0x192),'red.300',_0x122628(0x2ab),_0x122628(0x1d8)];class _0x42bb3a extends _0x3dc819['Disposable']{constructor(){const _0x37604d=_0x122628;super(...arguments),_0x1e4415(this,'_assignedColors',new Map()),_0x1e4415(this,_0x37604d(0x2e9),0x0);}[_0x122628(0x2fd)](_0x3bc635){const _0x1a39cf=_0x122628;if(this[_0x1a39cf(0x220)][_0x1a39cf(0x2e7)](_0x3bc635))return this[_0x1a39cf(0x220)][_0x1a39cf(0x288)](_0x3bc635);const _0x52788a=_0x488680[this[_0x1a39cf(0x2e9)]];return this[_0x1a39cf(0x2e9)]=(this[_0x1a39cf(0x2e9)]+0x1)%_0x488680[_0x1a39cf(0x3c5)],this[_0x1a39cf(0x220)][_0x1a39cf(0x2d5)](_0x3bc635,_0x52788a),_0x52788a;}}function _0x4fab90(_0x50f4d3){const _0x4e7030=_0x122628;let _0x160747='';for(const _0x5c3303 of _0x50f4d3){const {startOffset:_0x27d45d,endOffset:_0x263a36,isActive:_0x240609,rangeType:_0x5dbdd6,segmentId:_0x15022e,segmentPage:_0x5cddf1}=_0x5c3303;_0x160747[_0x4e7030(0x3c5)]&&(_0x160747+=','),_0x160747+=_0x27d45d+':'+_0x263a36+':'+(_0x240609?'1':'0')+':'+_0x5dbdd6+':'+_0x15022e+':'+_0x5cddf1;}return _0x160747;}function _0x384e13(_0x32cd05){const _0x1af8de=_0x122628,_0x3bea7b=_0x32cd05['split'](','),_0x24704d=[];for(const _0x2e158b of _0x3bea7b){const [_0x2297e6,_0x3998e7,_0x20f611,_0x3115e8,_0x591e93,_0x434d5a]=_0x2e158b['split'](':');_0x24704d[_0x1af8de(0x1ac)]({'startOffset':Number(_0x2297e6),'endOffset':Number(_0x3998e7),'collapsed':_0x2297e6===_0x3998e7,'isActive':_0x20f611==='1','rangeType':_0x3115e8===_0x3dc819[_0x1af8de(0x283)][_0x1af8de(0x3bb)]?_0x3dc819[_0x1af8de(0x283)]['TEXT']:_0x3dc819[_0x1af8de(0x283)][_0x1af8de(0x221)],'segmentId':typeof _0x591e93==_0x1af8de(0x23e)?String(_0x591e93):'','segmentPage':Number(_0x434d5a!=null?_0x434d5a:-0x1)});}return _0x24704d['some'](_0x52336c=>_0x52336c[_0x1af8de(0x280)])||(_0x24704d[0x0]['isActive']=!0x0),_0x24704d;}class _0x39a5b7 extends _0x3dc819['RxDisposable']{constructor(){const _0x51213a=_0x122628;super(...arguments),_0x1e4415(this,_0x51213a(0x168),new _0x5c682c[(_0x51213a(0x2e8))](null)),_0x1e4415(this,_0x51213a(0x1ab),this[_0x51213a(0x168)][_0x51213a(0x2c7)]());}['syncEditingCollabCursor'](_0x150ed8){const _0x53c047=_0x122628,{unitID:_0x515861,memberID:_0x4b89f1,textRanges:_0x92231d}=_0x150ed8,_0x25e40a=_0x4fab90(_0x92231d);if(_0x25e40a==='')return;const _0x174ee8={'unitID':_0x515861,'memberID':_0x4b89f1,'selection':_0x25e40a};this[_0x53c047(0x168)]['next'](_0x174ee8);}}var _0x16ba21=Object[_0x122628(0x22e)],_0x4b05f0=(_0x287f22,_0xb3251,_0x17e7a2,_0x54d5fd)=>{const _0x1a5e9a=_0x122628;for(var _0x18f0c3=_0x54d5fd>0x1?void 0x0:_0x54d5fd?_0x16ba21(_0xb3251,_0x17e7a2):_0xb3251,_0x254eb3=_0x287f22[_0x1a5e9a(0x3c5)]-0x1,_0x8eec41;_0x254eb3>=0x0;_0x254eb3--)(_0x8eec41=_0x287f22[_0x254eb3])&&(_0x18f0c3=_0x8eec41(_0x18f0c3)||_0x18f0c3);return _0x18f0c3;},_0x1af92a=(_0x348500,_0x1dab34)=>(_0x23efe7,_0x5a1727)=>_0x1dab34(_0x23efe7,_0x5a1727,_0x348500);const _0x279a96=0x12c,_0x173ac9=0x64;let _0x30f108=class extends _0x3dc819[_0x122628(0x3d7)]{constructor(_0x50f40f,_0xa21a1e,_0x4a5aed,_0x5c0971,_0x179745,_0x46b092,_0x4d848c,_0x1a46f0,_0x2a963b){const _0x4bc887=_0x122628;super(),_0x1e4415(this,_0x4bc887(0x2f2),!0x1),_0x1e4415(this,_0x4bc887(0x23b),!0x1),_0x1e4415(this,_0x4bc887(0x2c6),new _0x5c682c['BehaviorSubject'](new Map())),_0x1e4415(this,'cursorInfo$',this['_cursorInfo$'][_0x4bc887(0x2c7)]()),_0x1e4415(this,'_roomMembers$',new _0x5c682c[(_0x4bc887(0x2e8))]([])),_0x1e4415(this,_0x4bc887(0x2e5),this['_roomMembers$'][_0x4bc887(0x3aa)](_0x5c682c['debounceTime'](_0x279a96))),_0x1e4415(this,_0x4bc887(0x31f),_0x3dc819['debounce'](_0x37758b=>{const _0x4d317a=_0x4bc887,_0x10681d={'eventID':_0x40fcc9[_0x4d317a(0x187)][_0x4d317a(0x274)],'data':{'unitID':this[_0x4d317a(0x301)],'memberID':this[_0x4d317a(0x354)][_0x4d317a(0x16c)](),'selection':_0x4fab90(_0x37758b)}};this['_session'][_0x4d317a(0x24d)](_0x10681d,this[_0x4d317a(0x301)]);},_0x173ac9)),(this[_0x4bc887(0x301)]=_0x50f40f,this[_0x4bc887(0x354)]=_0xa21a1e,this[_0x4bc887(0x157)]=_0x4a5aed,this[_0x4bc887(0x1ea)]=_0x5c0971,this['_memberService']=_0x179745,this['_syncEditingCollabCursorService']=_0x46b092,this[_0x4bc887(0x2da)]=_0x4d848c,this[_0x4bc887(0x31b)]=_0x1a46f0,this['_commandService']=_0x2a963b);}get[_0x122628(0x1d6)](){const _0x2e9da8=_0x122628;return this[_0x2e9da8(0x2c6)][_0x2e9da8(0x37c)]();}get[_0x122628(0x300)](){const _0x1c3374=_0x122628;return this[_0x1c3374(0x39b)]['getValue']();}['dispose'](){const _0x36650c=_0x122628;super[_0x36650c(0x37e)](),this[_0x36650c(0x2c6)][_0x36650c(0x37f)](new Map()),this[_0x36650c(0x2c6)]['complete'](),this[_0x36650c(0x39b)][_0x36650c(0x37f)]([]),this[_0x36650c(0x39b)][_0x36650c(0x16a)]();}[_0x122628(0x184)](){const _0x57bc56=_0x122628;this[_0x57bc56(0x23b)]||(this['_init']=!0x0,this[_0x57bc56(0x354)][_0x57bc56(0x358)][_0x57bc56(0x3aa)](_0x5c682c[_0x57bc56(0x2c2)](this[_0x57bc56(0x252)]))[_0x57bc56(0x230)](_0x27234b=>{const _0x112896=_0x57bc56;_0x27234b===_0x1062f6[_0x112896(0x326)][_0x112896(0x1f4)]?this[_0x112896(0x34e)]():this[_0x112896(0x278)]();}),this[_0x57bc56(0x354)][_0x57bc56(0x1b3)]['pipe'](_0x5c682c['takeUntil'](this['dispose$']))['subscribe'](_0x1a91ce=>{const _0x4475c0=_0x57bc56,_0x8e5c49=_0x1a91ce[_0x4475c0(0x335)];_0x8e5c49===_0x40fcc9[_0x4475c0(0x187)][_0x4475c0(0x274)]&&this[_0x4475c0(0x224)](_0x1a91ce),_0x8e5c49===_0x40fcc9[_0x4475c0(0x187)][_0x4475c0(0x28d)]&&this[_0x4475c0(0x18e)](_0x1a91ce);}),this[_0x57bc56(0x3e3)](this[_0x57bc56(0x2f0)][_0x57bc56(0x175)](_0x14ea64=>{const _0x252ace=_0x57bc56,_0xa8e14c=_0x14ea64[_0x252ace(0x3af)];_0xa8e14c!=null&&this[_0x252ace(0x2f2)]&&_0x14ea64['id']===_0x358a5a[_0x252ace(0x216)]['id']&&_0xa8e14c[_0x252ace(0x3a3)]===this[_0x252ace(0x301)]&&_0xa8e14c[_0x252ace(0x3a4)]===!0x1&&_0xa8e14c[_0x252ace(0x1a0)][_0x252ace(0x3c5)]>0x0&&this[_0x252ace(0x31f)](_0xa8e14c[_0x252ace(0x1a0)]);})),this[_0x57bc56(0x266)][_0x57bc56(0x1ab)][_0x57bc56(0x3aa)](_0x5c682c['takeUntil'](this[_0x57bc56(0x252)]))['subscribe'](_0x2ae50f=>{const _0x8695c5=_0x57bc56;if((_0x2ae50f==null?void 0x0:_0x2ae50f[_0x8695c5(0x301)])!==this[_0x8695c5(0x301)])return;const _0x5a7e82={'eventID':_0x40fcc9[_0x8695c5(0x187)][_0x8695c5(0x274)],'data':_0x2ae50f};this[_0x8695c5(0x224)](_0x5a7e82);}),this['disposeWithMe'](this[_0x57bc56(0x2f0)][_0x57bc56(0x175)](_0x1f20df=>{const _0x4161b9=_0x57bc56;if(_0x1f20df[_0x4161b9(0x3af)]==null)return;const _0x13b638=_0x1f20df[_0x4161b9(0x3af)];if(_0x1f20df['id']!==_0x358a5a[_0x4161b9(0x293)]['id']||_0x13b638['unitId']!==this[_0x4161b9(0x301)])return;const _0x81bf76={'id':_0x4161b9(0x1c1),'params':_0x13b638},_0x2a05e4=this[_0x4161b9(0x1d6)];for(const [_0x49dd59,_0x2e2bfd]of _0x2a05e4){const _0x839d9c={'id':_0x4161b9(0x1c1),'params':{'unitId':this[_0x4161b9(0x301)],'actions':null,'textRanges':_0x2e2bfd['ranges']}},_0x47d844=this[_0x4161b9(0x2da)]['transformMutation'](_0x81bf76,_0x839d9c,!0x1);if(_0x40fcc9['isTransformMutationFailure'](_0x47d844))throw _0x47d844[_0x4161b9(0x342)];_0x2a05e4['set'](_0x49dd59,{..._0x2e2bfd,'ranges':_0x47d844['m2Prime']['params'][_0x4161b9(0x26a)]});}queueMicrotask(()=>{const _0x489b33=_0x4161b9;this[_0x489b33(0x2c6)][_0x489b33(0x37f)](_0x2a05e4);});})));}[_0x122628(0x224)](_0x34ae7b){const _0x5cea6d=_0x122628;var _0x24a0c8,_0x15842e;const {memberID:_0x763e53,selection:_0x220543}=_0x34ae7b[_0x5cea6d(0x1e1)],_0x47d6be=_0x384e13(_0x220543),_0x3b7d37=(_0x15842e=(_0x24a0c8=this[_0x5cea6d(0x38c)]['getMember'](this['unitID'],_0x763e53))==null?void 0x0:_0x24a0c8[_0x5cea6d(0x386)])!=null?_0x15842e:'Unknown\x20user',_0x5b9748={'color':this[_0x5cea6d(0x1ea)][_0x5cea6d(0x2fd)](_0x763e53),'name':_0x3b7d37,'ranges':_0x47d6be},_0x374037=this[_0x5cea6d(0x1d6)];_0x374037['set'](_0x763e53,_0x5b9748),this[_0x5cea6d(0x2c6)][_0x5cea6d(0x37f)](_0x374037);}[_0x122628(0x18e)](_0x4d7ea1){const _0x4a8912=_0x122628,{memberID:_0xfc6ddd}=_0x4d7ea1[_0x4a8912(0x1e1)],_0x42c748=this['cursorInfo'];_0x42c748['delete'](_0xfc6ddd),this['_cursorInfo$'][_0x4a8912(0x37f)](_0x42c748);}[_0x122628(0x34e)](){const _0x3796a3=_0x122628;var _0x4e1fa4;if(this[_0x3796a3(0x2f2)]=!0x0,((_0x4e1fa4=this[_0x3796a3(0x31b)][_0x3796a3(0x270)]())==null?void 0x0:_0x4e1fa4[_0x3796a3(0x399)]())!==this[_0x3796a3(0x301)])return;const _0x312034=this[_0x3796a3(0x157)][_0x3796a3(0x288)](_0x358a5a[_0x3796a3(0x2fc)])['getDocRanges']();Array[_0x3796a3(0x3d4)](_0x312034)&&_0x312034[_0x3796a3(0x3c5)]>0x0&&this[_0x3796a3(0x31f)](_0x312034);}[_0x122628(0x278)](){const _0x3e0e5c=_0x122628;this[_0x3e0e5c(0x2f2)]=!0x1;}};_0x30f108=_0x4b05f0([_0x1af92a(0x2,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x38a)])),_0x1af92a(0x3,_0x3dc819[_0x122628(0x393)](_0x42bb3a)),_0x1af92a(0x4,_0x3dc819[_0x122628(0x393)](_0x1062f6['MemberService'])),_0x1af92a(0x5,_0x3dc819[_0x122628(0x393)](_0x39a5b7)),_0x1af92a(0x6,_0x40fcc9['ITransformService']),_0x1af92a(0x7,_0x3dc819[_0x122628(0x374)]),_0x1af92a(0x8,_0x3dc819[_0x122628(0x25d)])],_0x30f108);var _0x3f9563=Object[_0x122628(0x22e)],_0x272d0d=(_0x56f369,_0x421a2a,_0x1150be,_0x201dfc)=>{for(var _0x40ba5f=_0x201dfc>0x1?void 0x0:_0x201dfc?_0x3f9563(_0x421a2a,_0x1150be):_0x421a2a,_0x370e09=_0x56f369['length']-0x1,_0x12f6b1;_0x370e09>=0x0;_0x370e09--)(_0x12f6b1=_0x56f369[_0x370e09])&&(_0x40ba5f=_0x12f6b1(_0x40ba5f)||_0x40ba5f);return _0x40ba5f;},_0x142f19=(_0x24ed00,_0xdf1374)=>(_0x145940,_0x1e1b61)=>_0xdf1374(_0x145940,_0x1e1b61,_0x24ed00);const _0xbad5c3=0x12c,_0x48c21e=0x64,_0x13fff8=()=>{let _0x4f2aba=[],_0x10ddbf=!0x1;return _0xe14c2d=>{const _0x4db7b0=_0x3059;_0x4f2aba[_0x4db7b0(0x1ac)](_0xe14c2d),_0x10ddbf||(_0x10ddbf=!0x0,setTimeout(()=>{_0x4f2aba['forEach'](_0x978498=>_0x978498()),_0x4f2aba=[],_0x10ddbf=!0x1;}));};};let _0x16ee38=class extends _0x3dc819[_0x122628(0x3d7)]{constructor(_0x93b96,_0x3677ac,_0xb5dc27,_0x8a6a1e,_0x500e71,_0x4c6de2,_0xfe8f44,_0x38cdd2){const _0x24b3b9=_0x122628;super(),_0x1e4415(this,'_online',!0x1),_0x1e4415(this,_0x24b3b9(0x23b),!0x1),_0x1e4415(this,_0x24b3b9(0x2c6),new _0x5c682c[(_0x24b3b9(0x2e8))](new Map())),_0x1e4415(this,'cursorInfo$',this[_0x24b3b9(0x2c6)][_0x24b3b9(0x2c7)]()),_0x1e4415(this,_0x24b3b9(0x39b),new _0x5c682c[(_0x24b3b9(0x2e8))]([])),_0x1e4415(this,_0x24b3b9(0x2e5),this[_0x24b3b9(0x39b)]['pipe'](_0x5c682c[_0x24b3b9(0x165)](_0xbad5c3))),_0x1e4415(this,_0x24b3b9(0x31f),_0x3dc819[_0x24b3b9(0x182)]((_0x36f1c4,_0x141f93)=>{const _0x3234ba=_0x24b3b9,_0x2649dc={'eventID':_0x40fcc9[_0x3234ba(0x187)][_0x3234ba(0x274)],'data':{'unitID':this[_0x3234ba(0x301)],'memberID':this[_0x3234ba(0x354)][_0x3234ba(0x16c)](),'selection':_0x9cd594['serializeRangeWithSheet'](_0x36f1c4,_0x141f93[_0x3234ba(0x359)])}};this[_0x3234ba(0x354)]['send'](_0x2649dc,this[_0x3234ba(0x301)]);},_0x48c21e)),(this[_0x24b3b9(0x301)]=_0x93b96,this['_session']=_0x3677ac,this[_0x24b3b9(0x157)]=_0xb5dc27,this['_colorAssignService']=_0x8a6a1e,this[_0x24b3b9(0x38c)]=_0x500e71,this[_0x24b3b9(0x31b)]=_0x4c6de2,this[_0x24b3b9(0x2f0)]=_0xfe8f44,this[_0x24b3b9(0x33d)]=_0x38cdd2);}get['cursorInfo'](){const _0x133f85=_0x122628;return this['_cursorInfo$'][_0x133f85(0x37c)]();}get[_0x122628(0x300)](){const _0x3088a9=_0x122628;return this[_0x3088a9(0x39b)][_0x3088a9(0x37c)]();}[_0x122628(0x37e)](){const _0x3616a1=_0x122628;super[_0x3616a1(0x37e)](),this[_0x3616a1(0x2c6)][_0x3616a1(0x37f)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x3616a1(0x37f)]([]),this['_roomMembers$'][_0x3616a1(0x16a)]();}['init'](){const _0x33876d=_0x122628;this['_init']||(this[_0x33876d(0x23b)]=!0x0,this[_0x33876d(0x354)][_0x33876d(0x358)][_0x33876d(0x3aa)](_0x5c682c[_0x33876d(0x2c2)](this['dispose$']))[_0x33876d(0x230)](_0x1ad69d=>{const _0x4b115e=_0x33876d;_0x1ad69d===_0x1062f6['SessionStatus'][_0x4b115e(0x1f4)]?this[_0x4b115e(0x34e)]():this[_0x4b115e(0x278)]();}),this['_session'][_0x33876d(0x1b3)][_0x33876d(0x3aa)](_0x5c682c['takeUntil'](this['dispose$']))[_0x33876d(0x230)](_0x118be5=>{const _0x104216=_0x33876d,_0x28dbc3=_0x118be5[_0x104216(0x335)];_0x28dbc3===_0x40fcc9['CollaborationEvent'][_0x104216(0x274)]&&this[_0x104216(0x224)](_0x118be5),_0x28dbc3===_0x40fcc9[_0x104216(0x187)][_0x104216(0x28d)]&&this[_0x104216(0x18e)](_0x118be5);}),this['_onRefRangeChange'](),this[_0x33876d(0x3e3)](this[_0x33876d(0x2f0)][_0x33876d(0x175)](_0x20676a=>{const _0x1e59be=_0x33876d;if(this[_0x1e59be(0x2f2)]&&_0x20676a['id']===_0x43d9c5[_0x1e59be(0x297)]['id']&&_0x20676a['params']['unitId']===this['unitID']){const _0xc3f34a=_0x20676a[_0x1e59be(0x3af)];this[_0x1e59be(0x31f)](_0xc3f34a[_0x1e59be(0x15c)],_0xc3f34a['selections'][0x0]);}})));}[_0x122628(0x224)](_0x5e7f34){const _0x3b57d5=_0x122628;var _0x2d5999,_0x4ada5e;const {memberID:_0x4e7515,selection:_0x465331}=_0x5e7f34[_0x3b57d5(0x1e1)],{sheetName:_0x38660d,range:_0x3aff90}=_0x9cd594['deserializeRangeWithSheet'](_0x465331),_0x4d6285={'name':(_0x4ada5e=(_0x2d5999=this[_0x3b57d5(0x38c)]['getMember'](this['unitID'],_0x4e7515))==null?void 0x0:_0x2d5999[_0x3b57d5(0x386)])!=null?_0x4ada5e:_0x3b57d5(0x241),'range':this[_0x3b57d5(0x161)](_0x38660d,_0x3aff90),'sheetID':_0x38660d,'color':this[_0x3b57d5(0x1ea)][_0x3b57d5(0x2fd)](_0x4e7515),'selection':_0x465331},_0x19dbe9=this[_0x3b57d5(0x1d6)];_0x19dbe9[_0x3b57d5(0x2d5)](_0x4e7515,_0x4d6285),this[_0x3b57d5(0x2c6)][_0x3b57d5(0x37f)](_0x19dbe9);}[_0x122628(0x18e)](_0x5c3ce4){const _0x1c62e4=_0x122628,{memberID:_0x379cb5}=_0x5c3ce4[_0x1c62e4(0x1e1)],_0x2efe0c=this[_0x1c62e4(0x1d6)];_0x2efe0c[_0x1c62e4(0x16d)](_0x379cb5),this[_0x1c62e4(0x2c6)]['next'](_0x2efe0c);}[_0x122628(0x161)](_0x3d09fd,_0x37fb93){const _0x5c5b92=_0x122628;var _0x4344f3,_0x34048e;const _0x2c6483=(_0x34048e=(_0x4344f3=this[_0x5c5b92(0x31b)]['getUniverSheetInstance'](this[_0x5c5b92(0x301)]))==null?void 0x0:_0x4344f3['getSheetBySheetId'](_0x3d09fd))==null?void 0x0:_0x34048e[_0x5c5b92(0x1d4)]();return(_0x2c6483==null?void 0x0:_0x2c6483[_0x5c5b92(0x233)](_0x56511f=>_0x3dc819[_0x5c5b92(0x1e5)][_0x5c5b92(0x291)](_0x56511f,_0x37fb93)))||_0x37fb93;}[_0x122628(0x382)](){const _0x57b987=_0x122628,_0x5981d7=new _0x3dc819[(_0x57b987(0x1b6))](),_0x346f4c=_0x13fff8(),_0x501588=()=>{const _0xf73214=_0x57b987;_0x5981d7[_0xf73214(0x37e)]();const _0x5ec5e0=(_0x537a00,_0x1b5152,_0x54aef4,_0x38ba1d)=>{const _0x295649=_0xf73214;let _0x2513c3=[];switch(_0x537a00['id']){case _0x43d9c5[_0x295649(0x389)][_0x295649(0x20b)]:{_0x2513c3=_0x43d9c5[_0x295649(0x329)](_0x537a00,_0x38ba1d);break;}case _0x43d9c5['EffectRefRangId'][_0x295649(0x1e9)]:{_0x2513c3=_0x43d9c5[_0x295649(0x33b)](_0x537a00,_0x38ba1d);break;}case _0x43d9c5['EffectRefRangId'][_0x295649(0x154)]:{_0x2513c3=_0x43d9c5[_0x295649(0x21b)](_0x537a00,_0x38ba1d);break;}case _0x43d9c5[_0x295649(0x389)]['InsertRangeMoveDownCommandId']:{_0x2513c3=_0x43d9c5['handleInsertRangeMoveDown'](_0x537a00,_0x38ba1d);break;}case _0x43d9c5[_0x295649(0x389)][_0x295649(0x37d)]:{_0x2513c3=_0x43d9c5[_0x295649(0x351)](_0x537a00,_0x38ba1d);break;}case _0x43d9c5['EffectRefRangId']['InsertRowCommandId']:{_0x2513c3=_0x43d9c5['handleInsertRow'](_0x537a00,_0x38ba1d);break;}case _0x43d9c5[_0x295649(0x389)][_0x295649(0x3c2)]:{_0x2513c3=_0x43d9c5[_0x295649(0x2c8)](_0x537a00,_0x38ba1d);break;}case _0x43d9c5[_0x295649(0x389)][_0x295649(0x1a2)]:{_0x2513c3=_0x43d9c5[_0x295649(0x336)](_0x537a00,_0x38ba1d);break;}case _0x43d9c5[_0x295649(0x389)][_0x295649(0x3d5)]:{_0x2513c3=_0x43d9c5[_0x295649(0x2a9)](_0x537a00,_0x38ba1d);break;}}const _0x44d34e=_0x43d9c5[_0x295649(0x193)](_0x2513c3,_0x38ba1d),_0x4ad269=this[_0x295649(0x1d6)]['get'](_0x1b5152);if(_0x4ad269&&_0x44d34e){const _0x312e3e={..._0x4ad269,'range':_0x44d34e};this[_0x295649(0x1d6)][_0x295649(0x2d5)](_0x1b5152,_0x312e3e),_0x346f4c(()=>{const _0x57b393=_0x295649,_0x1db388=this[_0x57b393(0x33d)][_0x57b393(0x1a9)](_0x44d34e,_0x169e10=>(_0x1db388[_0x57b393(0x37e)](),_0x5ec5e0(_0x169e10,_0x1b5152,_0x54aef4,_0x44d34e)));_0x5981d7[_0x57b393(0x3c6)](_0x1db388);});}return{'redos':[],'undos':[]};};this[_0xf73214(0x1d6)][_0xf73214(0x164)]((_0x414f4d,_0x419ac8)=>{const _0xefcdb=_0xf73214,{range:_0x55c210,sheetID:_0x20a5e8}=_0x414f4d,_0x1e379b=this[_0xefcdb(0x33d)][_0xefcdb(0x1a9)](_0x55c210,_0x558c0c=>(_0x1e379b['dispose'](),_0x5ec5e0(_0x558c0c,_0x419ac8,_0x20a5e8,_0x55c210)));_0x5981d7[_0xefcdb(0x3c6)](_0x1e379b);});};this[_0x57b987(0x3e3)](_0x3dc819[_0x57b987(0x392)](this[_0x57b987(0x2c6)][_0x57b987(0x230)](()=>{_0x501588();})));}['_toggleOnline'](){const _0x3b2c2d=_0x122628;var _0x144f2b,_0x34a3df;if(this[_0x3b2c2d(0x2f2)]=!0x0,((_0x144f2b=this[_0x3b2c2d(0x31b)][_0x3b2c2d(0x270)]())==null?void 0x0:_0x144f2b[_0x3b2c2d(0x399)]())!==this[_0x3b2c2d(0x301)])return;const _0x54f85d=(_0x34a3df=this[_0x3b2c2d(0x157)][_0x3b2c2d(0x288)](_0x43d9c5['SheetsSelectionsService'])[_0x3b2c2d(0x259)]())==null?void 0x0:_0x34a3df[0x0],_0x3f3308=this[_0x3b2c2d(0x31b)][_0x3b2c2d(0x21a)](_0x3dc819[_0x3b2c2d(0x34b)][_0x3b2c2d(0x325)])[_0x3b2c2d(0x196)]();_0x54f85d&&_0x3f3308&&this[_0x3b2c2d(0x31f)](_0x3f3308['getSheetId'](),_0x54f85d);}[_0x122628(0x278)](){const _0x626614=_0x122628;this[_0x626614(0x2f2)]=!0x1;}};_0x16ee38=_0x272d0d([_0x142f19(0x2,_0x3dc819['Inject'](_0x3dc819[_0x122628(0x38a)])),_0x142f19(0x3,_0x3dc819['Inject'](_0x42bb3a)),_0x142f19(0x4,_0x3dc819['Inject'](_0x1062f6[_0x122628(0x222)])),_0x142f19(0x5,_0x3dc819[_0x122628(0x374)]),_0x142f19(0x6,_0x3dc819[_0x122628(0x25d)]),_0x142f19(0x7,_0x3dc819[_0x122628(0x393)](_0x43d9c5[_0x122628(0x268)]))],_0x16ee38);var _0x492759=Object['getOwnPropertyDescriptor'],_0x57c005=(_0x116e2e,_0x32db12,_0x1db872,_0x581e3f)=>{const _0x11672c=_0x122628;for(var _0x236f6a=_0x581e3f>0x1?void 0x0:_0x581e3f?_0x492759(_0x32db12,_0x1db872):_0x32db12,_0x44c19c=_0x116e2e[_0x11672c(0x3c5)]-0x1,_0x175099;_0x44c19c>=0x0;_0x44c19c--)(_0x175099=_0x116e2e[_0x44c19c])&&(_0x236f6a=_0x175099(_0x236f6a)||_0x236f6a);return _0x236f6a;},_0xa7f949=(_0x18bd0f,_0x3a53db)=>(_0x1b9f35,_0x2e19c5)=>_0x3a53db(_0x1b9f35,_0x2e19c5,_0x18bd0f);let _0x2ed875=class extends _0x3dc819['RxDisposable']{constructor(_0x6161b8,_0x2333c3,_0x545a64){const _0x3d664b=_0x122628;super(),_0x1e4415(this,_0x3d664b(0x153),new Map()),_0x1e4415(this,_0x3d664b(0x339),new _0x5c682c[(_0x3d664b(0x391))]()),(this[_0x3d664b(0x31b)]=_0x6161b8,this[_0x3d664b(0x157)]=_0x2333c3,this[_0x3d664b(0x3d1)]=_0x545a64,this['_init']());}['dispose'](){const _0x3ecbe8=_0x122628;super['dispose'](),this[_0x3ecbe8(0x339)][_0x3ecbe8(0x16a)](),this['_entities'][_0x3ecbe8(0x164)](_0x3ab64a=>_0x3ab64a['dispose']());}['getCollabCursors$'](_0x3c4ad4){const _0x569280=_0x122628;return this['_entities']['has'](_0x3c4ad4)?this[_0x569280(0x153)][_0x569280(0x288)](_0x3c4ad4)[_0x569280(0x3c1)]:this[_0x569280(0x339)]['pipe'](_0x5c682c[_0x569280(0x247)](_0x5e44b9=>_0x5e44b9['unitID']===_0x3c4ad4),_0x5c682c[_0x569280(0x26f)](_0x4cea14=>_0x4cea14[_0x569280(0x3c1)]));}[_0x122628(0x23b)](){const _0x53ad9c=_0x122628;this[_0x53ad9c(0x31b)][_0x53ad9c(0x1be)](_0x3dc819[_0x53ad9c(0x34b)][_0x53ad9c(0x325)])['pipe'](_0x5c682c[_0x53ad9c(0x2c2)](this[_0x53ad9c(0x252)]))['subscribe'](async _0x27b79b=>{const _0x16880d=_0x53ad9c,_0x2afa75=_0x27b79b[_0x16880d(0x399)](),_0x38901c=await this[_0x16880d(0x2c1)](_0x2afa75);this[_0x16880d(0x339)][_0x16880d(0x37f)](_0x38901c),this['_entities']['set'](_0x2afa75,_0x38901c);}),this['_univerInstanceService'][_0x53ad9c(0x1be)](_0x3dc819['UniverInstanceType'][_0x53ad9c(0x179)])[_0x53ad9c(0x3aa)](_0x5c682c[_0x53ad9c(0x2c2)](this[_0x53ad9c(0x252)]))['pipe'](_0x5c682c[_0x53ad9c(0x247)](_0x5b1dfd=>!_0x5b1dfd[_0x53ad9c(0x399)]()[_0x53ad9c(0x368)]('__')))[_0x53ad9c(0x230)](async _0xce30f2=>{const _0x872172=_0x53ad9c,_0x4974e4=_0xce30f2[_0x872172(0x399)](),_0x1bca6=await this[_0x872172(0x25a)](_0x4974e4);this[_0x872172(0x339)][_0x872172(0x37f)](_0x1bca6),this['_entities'][_0x872172(0x2d5)](_0x4974e4,_0x1bca6);}),_0x5c682c[_0x53ad9c(0x310)](this[_0x53ad9c(0x31b)][_0x53ad9c(0x37a)](_0x3dc819[_0x53ad9c(0x34b)][_0x53ad9c(0x179)]),this['_univerInstanceService'][_0x53ad9c(0x37a)](_0x3dc819[_0x53ad9c(0x34b)][_0x53ad9c(0x325)]))[_0x53ad9c(0x3aa)](_0x5c682c['takeUntil'](this['dispose$']))[_0x53ad9c(0x230)](_0x582551=>{const _0x1f6106=_0x53ad9c,_0x6c5501=_0x582551[_0x1f6106(0x399)](),_0x2ec70f=this[_0x1f6106(0x153)]['get'](_0x6c5501);_0x2ec70f&&(_0x2ec70f[_0x1f6106(0x37e)](),this[_0x1f6106(0x153)][_0x1f6106(0x16d)](_0x6c5501));});}async['_startSheetCollabCursor'](_0x246f59){const _0x39a833=_0x122628,_0x11fc07=await this[_0x39a833(0x3d1)][_0x39a833(0x2ea)](_0x246f59),_0x2fa894=this[_0x39a833(0x157)]['createInstance'](_0x16ee38,_0x246f59,_0x11fc07);return _0x2fa894[_0x39a833(0x184)](),_0x2fa894;}async[_0x122628(0x25a)](_0x4db3a3){const _0x22c4c6=_0x122628,_0x3d7489=await this[_0x22c4c6(0x3d1)][_0x22c4c6(0x2ea)](_0x4db3a3),_0x2a18fb=this[_0x22c4c6(0x157)]['createInstance'](_0x30f108,_0x4db3a3,_0x3d7489);return _0x2a18fb['init'](),_0x2a18fb;}};_0x2ed875=_0x57c005([_0xa7f949(0x0,_0x3dc819[_0x122628(0x374)]),_0xa7f949(0x1,_0x3dc819[_0x122628(0x393)](_0x3dc819['Injector'])),_0xa7f949(0x2,_0x3dc819['Inject'](_0x1062f6[_0x122628(0x19b)]))],_0x2ed875);const _0x10be41=0x14,_0x455bdc=0xc8,_0x5ae81a=0x4,_0x1e0266=0x5;function _0x1479e7(_0x55a312,_0x172e66){const _0x130c81=_0x122628;let {radius:_0x3a736f,width:_0x3c96aa,height:_0x2b4428}=_0x172e66;_0x3a736f=_0x3a736f!=null?_0x3a736f:0x0,_0x3c96aa=_0x3c96aa!=null?_0x3c96aa:0x1e,_0x2b4428=_0x2b4428!=null?_0x2b4428:0x1e;let _0x44a050=0x0,_0x3a5ab9=0x0,_0x17a725=0x0;_0x44a050=_0x3a5ab9=_0x17a725=Math[_0x130c81(0x1db)](_0x3a736f,_0x3c96aa/0x2,_0x2b4428/0x2),_0x55a312[_0x130c81(0x347)](),_0x55a312[_0x130c81(0x34d)](_0x44a050,0x0),_0x55a312[_0x130c81(0x171)](_0x3c96aa-_0x3a5ab9,0x0),_0x55a312[_0x130c81(0x20d)](_0x3c96aa-_0x3a5ab9,_0x3a5ab9,_0x3a5ab9,Math['PI']*0x3/0x2,0x0,!0x1),_0x55a312[_0x130c81(0x171)](_0x3c96aa,_0x2b4428-_0x17a725),_0x55a312['arc'](_0x3c96aa-_0x17a725,_0x2b4428-_0x17a725,_0x17a725,0x0,Math['PI']/0x2,!0x1),_0x55a312[_0x130c81(0x171)](0x0,_0x2b4428),_0x55a312[_0x130c81(0x171)](0x0,_0x44a050),_0x55a312[_0x130c81(0x20d)](_0x44a050,_0x44a050,_0x44a050,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x55a312[_0x130c81(0x172)](),_0x172e66[_0x130c81(0x355)]&&(_0x55a312[_0x130c81(0x34a)](),_0x55a312[_0x130c81(0x31a)]=_0x172e66[_0x130c81(0x355)],_0x172e66[_0x130c81(0x243)]===_0x130c81(0x185)?_0x55a312[_0x130c81(0x355)](_0x130c81(0x185)):_0x55a312[_0x130c81(0x355)](),_0x55a312['restore']());}class _0x226a59 extends _0x49d167[_0x122628(0x327)]{constructor(_0x22e51f,_0x36c670){const _0x39f352=_0x122628;super(_0x22e51f,_0x36c670),_0x1e4415(this,_0x39f352(0x3d8)),_0x1e4415(this,_0x39f352(0x323)),(this[_0x39f352(0x3d8)]=_0x36c670==null?void 0x0:_0x36c670[_0x39f352(0x3d8)],this['text']=_0x36c670==null?void 0x0:_0x36c670[_0x39f352(0x323)]);}static['drawWith'](_0x5122aa,_0x2105d4){const _0x1ff0d9=_0x122628,{text:_0x531822,color:_0x3569ea}=_0x2105d4;_0x5122aa[_0x1ff0d9(0x34a)](),_0x5122aa[_0x1ff0d9(0x215)]=_0x1ff0d9(0x3a5);const _0x4ab47b=_0x5122aa['measureText'](_0x531822)['width'],_0x4e237b=Math[_0x1ff0d9(0x1db)](_0x4ab47b+0x2*_0x5ae81a,_0x455bdc);_0x1479e7(_0x5122aa,{'height':_0x10be41,'radius':0x4,'width':_0x4e237b,'fill':_0x3569ea}),_0x5122aa[_0x1ff0d9(0x31a)]='#FFF';const _0xe572b2=_0x5ae81a,_0x450d2c=_0x10be41-_0x1e0266,_0x4bc52d=_0x455bdc-0x2*_0x5ae81a;if(_0x4ab47b>_0x4bc52d){let _0x470566='',_0xa7b3f=0x0;for(const _0x2ed6f8 of _0x531822){const _0xc13606=_0x5122aa[_0x1ff0d9(0x1cf)](_0x2ed6f8)[_0x1ff0d9(0x152)];if(_0xa7b3f+_0xc13606<=_0x4bc52d-_0x5122aa[_0x1ff0d9(0x1cf)](_0x1ff0d9(0x294))[_0x1ff0d9(0x152)])_0x470566+=_0x2ed6f8,_0xa7b3f+=_0xc13606;else{_0x470566+=_0x1ff0d9(0x294);break;}}_0x5122aa[_0x1ff0d9(0x360)](_0x470566,_0xe572b2,_0x450d2c);}else _0x5122aa[_0x1ff0d9(0x360)](_0x531822,_0xe572b2,_0x450d2c);_0x5122aa[_0x1ff0d9(0x180)]();}['_draw'](_0x50180f){const _0x39313e=_0x122628;_0x226a59[_0x39313e(0x315)](_0x50180f,this);}}const _0x27fc3d=_0x122628(0x155),_0x4fadd9='collab-text-range-',_0x2c975b='collab-rect-range-',_0x2f44ab=0x6,_0x45dd20=1.5,_0x335fa7=0x4,_0x59135a=1.5,_0x465ccc=_0x122628(0x2bb);class _0x9f70d5{constructor(_0x33305a,_0x30caf8,_0x1d695f,_0x106d1f){const _0x1eb45f=_0x122628;_0x1e4415(this,_0x1eb45f(0x1aa),[]),_0x1e4415(this,'_anchor',null),_0x1e4415(this,_0x1eb45f(0x2fe),null),_0x1e4415(this,_0x1eb45f(0x226),null),_0x1e4415(this,_0x1eb45f(0x3b0),null),_0x1e4415(this,_0x1eb45f(0x35b),null),(this[_0x1eb45f(0x281)]=_0x33305a,this[_0x1eb45f(0x2e0)]=_0x30caf8,this[_0x1eb45f(0x35f)]=_0x1d695f,this['_document']=_0x106d1f,this['_render']());}set[_0x122628(0x257)](_0x270652){const _0x3f2ebf=_0x122628;_0x270652?(this[_0x3f2ebf(0x226)]&&this[_0x3f2ebf(0x226)][_0x3f2ebf(0x1b7)](),this['_textBubble']&&this[_0x3f2ebf(0x2fe)][_0x3f2ebf(0x244)]()):(this[_0x3f2ebf(0x226)]&&this['_anchorDot'][_0x3f2ebf(0x244)](),this['_textBubble']&&this[_0x3f2ebf(0x2fe)][_0x3f2ebf(0x1b7)]());}[_0x122628(0x37e)](){const _0x514965=_0x122628;for(const _0x5f35d4 of this[_0x514965(0x1aa)])_0x5f35d4[_0x514965(0x37e)]();this['_textBubble']&&this['_textBubble']['dispose'](),this[_0x514965(0x226)]&&this['_anchorDot'][_0x514965(0x37e)](),this[_0x514965(0x34f)]&&this[_0x514965(0x34f)][_0x514965(0x37e)](),this[_0x514965(0x35b)]&&this['_eventUnsubscribe']();}[_0x122628(0x331)](){const _0x29158a=_0x122628;var _0x26d061;const {_docSkeleton:_0x372300,_document:_0x480910}=this,{color:_0x558c2c,name:_0x189680,ranges:_0x1ea674}=this[_0x29158a(0x281)],_0x47d5a1=_0x480910['getOffsetConfig'](),{docsLeft:_0xd49fea,docsTop:_0x205d15}=_0x47d5a1,_0x5463af=new _0x4c4bbe[(_0x29158a(0x250))](_0x47d5a1,_0x372300);for(const {startOffset:_0x4cb9b6,endOffset:_0x59c06d,rangeType:_0x4246de,segmentId:_0x2db815,segmentPage:_0x57259f,collapsed:_0x151989,isActive:_0x167857}of _0x1ea674){const _0x2679e3=_0x372300[_0x29158a(0x2dd)](_0x4cb9b6,!0x0,_0x2db815,_0x57259f);let _0x38f489=_0x372300['findNodePositionByCharIndex'](_0x59c06d,!0x0,_0x2db815,_0x57259f);if(_0x38f489==null&&(_0x38f489=_0x372300['findNodePositionByCharIndex'](_0x59c06d-0x1,!0x1,_0x2db815,_0x57259f)),_0x167857){const {contentBoxPointGroup:_0x36c622}=_0x5463af['getRangePointData'](_0x38f489,_0x38f489);if(_0x36c622['length']===0x0)continue;this[_0x29158a(0x387)](_0x558c2c,_0x36c622,_0xd49fea,_0x205d15,_0x189680),this[_0x29158a(0x35b)]=this['_handleHover']();}if(_0x2679e3&&_0x38f489){if(_0x4246de===_0x3dc819['DOC_RANGE_TYPE']['RECT']){const _0x583fd8=new _0x4c4bbe[(_0x29158a(0x190))](_0x47d5a1,_0x372300),{pointGroup:_0x5e4ec6}=(_0x26d061=_0x583fd8[_0x29158a(0x303)](_0x2679e3,_0x38f489))!=null?_0x26d061:{};if(_0x5e4ec6==null||_0x5e4ec6[_0x29158a(0x3c5)]===0x0)continue;this[_0x29158a(0x390)](_0x558c2c,_0x5e4ec6,_0xd49fea,_0x205d15);}else{if(!_0x151989){const {borderBoxPointGroup:_0x1b7f3a}=_0x5463af[_0x29158a(0x303)](_0x2679e3,_0x38f489);if(_0x1b7f3a[_0x29158a(0x3c5)]===0x0)continue;this[_0x29158a(0x17b)](_0x558c2c,_0x1b7f3a,_0xd49fea,_0x205d15);}}}}}['_drawAnchor'](_0x569bf8,_0x3716ad,_0xe09ff3,_0x2218f1,_0x5d9ae4){const _0x51a676=_0x122628,_0x1920ec=this[_0x51a676(0x3ab)](_0x3716ad),{left:_0x504dec,top:_0x753db5,height:_0x996aeb}=_0x1920ec,_0x567a84=this[_0x51a676(0x151)](),_0x386b04=_0x59135a/_0x567a84,_0x25cba4=new _0x49d167[(_0x51a676(0x3ca))](_0x27fc3d+_0x3dc819[_0x51a676(0x167)]['generateRandomId'](_0x2f44ab),{'left':_0x504dec+_0xe09ff3-_0x386b04,'top':_0x753db5+_0x2218f1,'height':_0x996aeb,'width':_0x45dd20,'fill':_0x569bf8||_0x49d167['getColor'](_0x3dc819[_0x51a676(0x309)][_0x51a676(0x29f)],0x0),'strokeWidth':_0x386b04,'stroke':_0x465ccc,'evented':!0x0});this['_anchor']=_0x25cba4,this[_0x51a676(0x2e0)][_0x51a676(0x2de)](_0x25cba4,_0x4c4bbe['TEXT_RANGE_LAYER_INDEX']);const _0x1d2cd3=new _0x49d167[(_0x51a676(0x3ca))](_0x27fc3d+_0x3dc819[_0x51a676(0x167)]['generateRandomId'](_0x2f44ab),{'left':_0x504dec+_0xe09ff3-_0x386b04,'top':_0x753db5+_0x2218f1-_0x335fa7/0x2,'height':_0x335fa7,'width':_0x335fa7,'fill':_0x569bf8||_0x49d167[_0x51a676(0x2f9)](_0x3dc819[_0x51a676(0x309)][_0x51a676(0x29f)],0x0),'strokeWidth':0x0,'stroke':_0x569bf8||_0x49d167[_0x51a676(0x2f9)](_0x3dc819[_0x51a676(0x309)][_0x51a676(0x29f)],0x0),'evented':!0x1});this[_0x51a676(0x226)]=_0x1d2cd3,this[_0x51a676(0x2e0)][_0x51a676(0x2de)](_0x1d2cd3,_0x4c4bbe[_0x51a676(0x295)]);const _0x1d0a4b=new _0x226a59(_0x27fc3d+_0x3dc819[_0x51a676(0x167)][_0x51a676(0x2db)](_0x2f44ab),{'left':_0x504dec+_0xe09ff3-_0x386b04,'top':_0x753db5+_0x2218f1-_0x10be41,'text':_0x5d9ae4,'color':_0x569bf8});this[_0x51a676(0x2fe)]=_0x1d0a4b,this[_0x51a676(0x2e0)][_0x51a676(0x2de)](_0x1d0a4b,_0x4c4bbe['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x122628(0x26d)](){const _0x376a7e=_0x122628,_0x5e93f7=this['_anchor'][_0x376a7e(0x2a3)]['subscribeEvent'](()=>{const _0x5b6597=_0x376a7e;this[_0x5b6597(0x257)]=!0x0;}),_0x27a899=this[_0x376a7e(0x34f)][_0x376a7e(0x3e4)]['subscribeEvent'](()=>{const _0x28fa3f=_0x376a7e;this[_0x28fa3f(0x3b0)]&&clearTimeout(this[_0x28fa3f(0x3b0)]),this[_0x28fa3f(0x3b0)]=setTimeout(()=>{const _0x53986c=_0x28fa3f;this[_0x53986c(0x257)]=!0x1;},0x7d0);});return()=>{const _0x508394=_0x376a7e;_0x5e93f7[_0x508394(0x36c)](),_0x27a899['unsubscribe']();};}[_0x122628(0x17b)](_0x929835,_0x588b69,_0xfeb672,_0x1072ac){const _0x45fd59=_0x122628,_0x5d316d=new _0x3dc819[(_0x45fd59(0x20e))](_0x929835)[_0x45fd59(0x3ad)](0.2)['toRgbString'](),_0x417166=new _0x49d167[(_0x45fd59(0x371))](_0x4fadd9+_0x3dc819[_0x45fd59(0x167)][_0x45fd59(0x2db)](_0x2f44ab),{'pointsGroup':_0x588b69,'fill':_0x5d316d||_0x49d167['getColor'](_0x3dc819[_0x45fd59(0x309)]['black'],0.2),'left':_0xfeb672,'top':_0x1072ac,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x45fd59(0x1ac)](_0x417166),this[_0x45fd59(0x2e0)][_0x45fd59(0x2de)](_0x417166,_0x4c4bbe[_0x45fd59(0x295)]);}[_0x122628(0x390)](_0x12f297,_0x4be454,_0x7799c4,_0x51f860){const _0x5a29fb=_0x122628,_0x54240d=new _0x3dc819[(_0x5a29fb(0x20e))](_0x12f297)[_0x5a29fb(0x3ad)](0.2)[_0x5a29fb(0x27e)](),_0x1b16ca=new _0x49d167[(_0x5a29fb(0x371))](_0x2c975b+_0x3dc819[_0x5a29fb(0x167)][_0x5a29fb(0x2db)](_0x2f44ab),{'pointsGroup':_0x4be454,'fill':_0x54240d||_0x49d167[_0x5a29fb(0x2f9)](_0x3dc819[_0x5a29fb(0x309)][_0x5a29fb(0x29f)],0.2),'left':_0x7799c4,'top':_0x51f860,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5a29fb(0x1ac)](_0x1b16ca),this['_scene'][_0x5a29fb(0x2de)](_0x1b16ca,_0x4c4bbe[_0x5a29fb(0x295)]);}['_getAnchorBounding'](_0x3a726f){const _0xc141ea=_0x3a726f[0x0],_0x495e8c=_0xc141ea[0x0],_0x1b9fb4=_0xc141ea[0x2],{x:_0x7d6345,y:_0x3395da}=_0x495e8c,{x:_0x1e4fed,y:_0x51b22e}=_0x1b9fb4;return{'left':_0x7d6345,'top':_0x3395da,'width':_0x1e4fed-_0x7d6345,'height':_0x51b22e-_0x3395da};}[_0x122628(0x151)](){const _0x37517e=_0x122628,{scaleX:_0x405508,scaleY:_0x4533e3}=this[_0x37517e(0x2e0)][_0x37517e(0x1ec)]();return Math[_0x37517e(0x2ba)](_0x405508,_0x4533e3);}}var _0x22376b=Object[_0x122628(0x22e)],_0x16ca89=(_0x3318cc,_0x5d2c7b,_0x152ce4,_0x1f400b)=>{const _0x57d1fc=_0x122628;for(var _0x169de7=_0x1f400b>0x1?void 0x0:_0x1f400b?_0x22376b(_0x5d2c7b,_0x152ce4):_0x5d2c7b,_0x1591a5=_0x3318cc[_0x57d1fc(0x3c5)]-0x1,_0x2b8716;_0x1591a5>=0x0;_0x1591a5--)(_0x2b8716=_0x3318cc[_0x1591a5])&&(_0x169de7=_0x2b8716(_0x169de7)||_0x169de7);return _0x169de7;},_0x2d9646=(_0x54630f,_0x3ebf24)=>(_0x1ad843,_0x590cdd)=>_0x3ebf24(_0x1ad843,_0x590cdd,_0x54630f);let _0x44c46c=class extends _0x3dc819[_0x122628(0x3d7)]{constructor(_0x22bba2,_0x46fc48,_0x381570,_0x8cf616,_0x52d007){const _0x57e747=_0x122628;super(),_0x1e4415(this,_0x57e747(0x3a7),[]),_0x1e4415(this,_0x57e747(0x313),[]),(this[_0x57e747(0x1c7)]=_0x22bba2,this[_0x57e747(0x341)]=_0x46fc48,this['_collabCursorController']=_0x381570,this[_0x57e747(0x2f0)]=_0x8cf616,this[_0x57e747(0x271)]=_0x52d007,this[_0x57e747(0x23b)]());}['_init'](){const _0x4845ab=_0x122628,_0x56c124=this[_0x4845ab(0x1c7)][_0x4845ab(0x3a3)],_0x1e35ab=this[_0x4845ab(0x341)];this[_0x4845ab(0x3e3)](_0x5c682c['combineLatest']([this[_0x4845ab(0x3e5)][_0x4845ab(0x29b)](_0x56c124),this[_0x4845ab(0x271)][_0x4845ab(0x228)]])[_0x4845ab(0x3aa)](_0x3c2e70[_0x4845ab(0x2b7)](([_0xd32c3a,_0x47b99b])=>({'skeleton':_0x1e35ab['getSkeleton'](),'cursors':[..._0xd32c3a['values']()]['flatMap'](_0x16b1b1=>({..._0x16b1b1,'color':this['_themeService'][_0x4845ab(0x214)](_0x16b1b1[_0x4845ab(0x3d8)])}))})))[_0x4845ab(0x230)](_0x376ab9=>{const _0x36f962=_0x4845ab;if(this['_removeCollabCursors'](),_0x376ab9){const {skeleton:_0x4998b8,cursors:_0x453e97}=_0x376ab9;this[_0x36f962(0x2d6)](_0x4998b8,_0x453e97);}})),this['_initResize'](),this[_0x4845ab(0x24b)]();}[_0x122628(0x2d6)](_0x4354db,_0x259c1d){const _0x142190=_0x122628,{scene:_0xfef591,mainComponent:_0x191b50}=this[_0x142190(0x1c7)],_0x17d2a2=_0x259c1d[_0x142190(0x2b7)](_0x456735=>new _0x9f70d5(_0x456735,_0xfef591,_0x4354db,_0x191b50));this[_0x142190(0x3a7)]=_0x17d2a2,this[_0x142190(0x313)]=_0x259c1d;}[_0x122628(0x3a1)](){const _0x617b8b=_0x122628;this['_removeCollabCursors']();const {scene:_0x4aa240,mainComponent:_0x38096c}=this[_0x617b8b(0x1c7)],_0x425b3d=this['_docSkeletonManagerService'][_0x617b8b(0x36e)](),_0x5c47b1=this['_cursors'][_0x617b8b(0x2b7)](_0x5ae733=>new _0x9f70d5(_0x5ae733,_0x4aa240,_0x425b3d,_0x38096c));this[_0x617b8b(0x3a7)]=_0x5c47b1;}[_0x122628(0x312)](){const _0x126e4f=_0x122628;this[_0x126e4f(0x3a7)][_0x126e4f(0x164)](_0x3942ed=>_0x3942ed[_0x126e4f(0x37e)]()),this[_0x126e4f(0x3a7)]=[];}['_initCommandExecutedListener'](){const _0x45842b=_0x122628,_0x2b92fd=[_0x4c4bbe[_0x45842b(0x2ca)]['id']];this[_0x45842b(0x3e3)](this['_commandService'][_0x45842b(0x175)](_0x59877a=>{const _0x31096e=_0x45842b;_0x2b92fd[_0x31096e(0x27f)](_0x59877a['id'])&&_0x59877a[_0x31096e(0x3af)][_0x31096e(0x3a3)]===this[_0x31096e(0x1c7)]['unitId']&&this[_0x31096e(0x3a1)]();}));}[_0x122628(0x1bb)](){const _0x240ca1=_0x122628;this[_0x240ca1(0x3e3)](_0x3dc819[_0x240ca1(0x210)](this[_0x240ca1(0x1c7)]['engine'][_0x240ca1(0x240)])[_0x240ca1(0x3aa)](_0x3c2e70[_0x240ca1(0x247)](_0x496741=>_0x496741[_0x240ca1(0x28e)]===_0x49d167[_0x240ca1(0x305)][_0x240ca1(0x1de)]),_0x3c2e70[_0x240ca1(0x308)](0x10))[_0x240ca1(0x230)](()=>{const _0x3bc4b6=_0x240ca1;this[_0x3bc4b6(0x3a1)]();}));}};_0x44c46c=_0x16ca89([_0x2d9646(0x1,_0x3dc819['Inject'](_0x358a5a[_0x122628(0x1b9)])),_0x2d9646(0x2,_0x3dc819[_0x122628(0x393)](_0x2ed875)),_0x2d9646(0x3,_0x3dc819[_0x122628(0x25d)]),_0x2d9646(0x4,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x29d)]))],_0x44c46c);const _0x256675=0x1,_0x452d41=1.5;class _0xc4533c extends _0x49d167[_0x122628(0x327)]{constructor(_0x331517,_0x35976a){const _0x36bceb=_0x122628;super(_0x331517,_0x35976a),_0x1e4415(this,_0x36bceb(0x2c4)),_0x1e4415(this,_0x36bceb(0x39d),!0x1),_0x1e4415(this,_0x36bceb(0x16b)),_0x1e4415(this,'_name',''),_0x1e4415(this,_0x36bceb(0x275),_0x36bceb(0x3e7)),_0x1e4415(this,_0x36bceb(0x206)),(_0x35976a&&this[_0x36bceb(0x311)](_0x35976a),this[_0x36bceb(0x2a3)][_0x36bceb(0x28f)](()=>this[_0x36bceb(0x311)]({'hovered':!0x0})),this[_0x36bceb(0x3e4)][_0x36bceb(0x28f)](()=>this[_0x36bceb(0x311)]({'hovered':!0x1})));}[_0x122628(0x311)](_0x4464aa){const _0x1c00b8=_0x122628;var _0x5660d7,_0x50d977,_0x37a3e6,_0x44e6cd,_0x46ade5,_0x129cb1;this[_0x1c00b8(0x2c4)]=(_0x5660d7=_0x4464aa[_0x1c00b8(0x3d8)])!=null?_0x5660d7:this[_0x1c00b8(0x2c4)],this[_0x1c00b8(0x39d)]=(_0x50d977=_0x4464aa['hovered'])!=null?_0x50d977:this[_0x1c00b8(0x39d)],this[_0x1c00b8(0x16b)]=(_0x37a3e6=_0x4464aa[_0x1c00b8(0x359)])!=null?_0x37a3e6:this[_0x1c00b8(0x16b)],this[_0x1c00b8(0x32e)]=(_0x44e6cd=_0x4464aa[_0x1c00b8(0x386)])!=null?_0x44e6cd:this[_0x1c00b8(0x32e)],this[_0x1c00b8(0x275)]=(_0x46ade5=_0x4464aa[_0x1c00b8(0x1c0)])!=null?_0x46ade5:this[_0x1c00b8(0x275)],this[_0x1c00b8(0x206)]=(_0x129cb1=_0x4464aa[_0x1c00b8(0x28c)])!=null?_0x129cb1:this[_0x1c00b8(0x206)],this[_0x1c00b8(0x2eb)]({'width':_0x4464aa[_0x1c00b8(0x152)],'height':_0x4464aa['height']});}['onMouseMove'](_0x5622f0){const _0x1f7f6c=_0x122628,{row:_0x5308c3,column:_0x2ff721}=_0x5622f0;if(_0x5308c3>=this[_0x1f7f6c(0x16b)]['startRow']&&_0x5308c3<=this['_range'][_0x1f7f6c(0x2d2)]&&_0x2ff721>=this['_range'][_0x1f7f6c(0x20a)]&&_0x2ff721<=this[_0x1f7f6c(0x16b)][_0x1f7f6c(0x298)]){this[_0x1f7f6c(0x311)]({'hovered':!0x0});return;}this[_0x1f7f6c(0x311)]({'hovered':!0x1});}[_0x122628(0x348)](_0x16fcec){return!0x1;}[_0x122628(0x2f1)](_0x2b439d){const _0x33d386=_0x122628;_0x49d167[_0x33d386(0x3ca)]['drawWith'](_0x2b439d,{'width':this[_0x33d386(0x152)],'height':this[_0x33d386(0x35d)],'strokeWidth':_0x452d41,'stroke':this[_0x33d386(0x2c4)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x33d386(0x39d)]&&(_0x2b439d[_0x33d386(0x34a)](),_0x2b439d[_0x33d386(0x269)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x33d386(0x21d)?0x0:-0x14),_0x226a59[_0x33d386(0x315)](_0x2b439d,{'text':this['_name'],'color':this['_color']}),_0x2b439d[_0x33d386(0x180)]());}}var _0x25e927=Object[_0x122628(0x22e)],_0x127e51=(_0x5a02f4,_0x2025c5,_0x570d34,_0x5b129c)=>{const _0x47de01=_0x122628;for(var _0x366477=_0x5b129c>0x1?void 0x0:_0x5b129c?_0x25e927(_0x2025c5,_0x570d34):_0x2025c5,_0x1c7ef3=_0x5a02f4[_0x47de01(0x3c5)]-0x1,_0xfbfb48;_0x1c7ef3>=0x0;_0x1c7ef3--)(_0xfbfb48=_0x5a02f4[_0x1c7ef3])&&(_0x366477=_0xfbfb48(_0x366477)||_0x366477);return _0x366477;},_0x344565=(_0x4f81f5,_0x253b2d)=>(_0x32cb5d,_0x3554a8)=>_0x253b2d(_0x32cb5d,_0x3554a8,_0x4f81f5);const _0x20031c=0x1389;let _0x5552a7=class extends _0x3dc819[_0x122628(0x3d7)]{constructor(_0x31730b,_0xbe852a,_0x302b1a,_0x163a62){const _0x444090=_0x122628;super(),_0x1e4415(this,'_cursors',new Set()),_0x1e4415(this,_0x444090(0x345),null),(this[_0x444090(0x1c7)]=_0x31730b,this[_0x444090(0x33c)]=_0xbe852a,this['_collabCursorController']=_0x302b1a,this[_0x444090(0x271)]=_0x163a62,this['_init']());}['_init'](){const _0x5cf196=_0x122628;this['_sheetSkeletonManagerService'][_0x5cf196(0x15e)][_0x5cf196(0x3aa)](_0x3c2e70[_0x5cf196(0x2c2)](this[_0x5cf196(0x252)]),_0x3c2e70[_0x5cf196(0x26f)](_0x3735fe=>{const _0x591ba4=_0x5cf196;if(_0x3735fe){const _0x4a9673=_0x3735fe[_0x591ba4(0x2f4)];return _0x5c682c[_0x591ba4(0x1c5)](this[_0x591ba4(0x3e5)][_0x591ba4(0x29b)](this[_0x591ba4(0x1c7)][_0x591ba4(0x3a3)]),this[_0x591ba4(0x271)][_0x591ba4(0x228)])[_0x591ba4(0x3aa)](_0x3c2e70[_0x591ba4(0x2b7)](([_0x33c9fa,_0x59cd1d])=>{const _0x343067=_0x591ba4,_0x31395d=new Map();return _0x33c9fa[_0x343067(0x164)]((_0x219380,_0x2a5d9c)=>{const _0x526543=_0x343067;if(_0x219380[_0x526543(0x340)]===_0x4a9673){const _0x7b17ef={..._0x219380};_0x7b17ef[_0x526543(0x3d8)]=this[_0x526543(0x271)][_0x526543(0x214)](_0x219380[_0x526543(0x3d8)]),_0x31395d[_0x526543(0x2d5)](_0x2a5d9c,_0x7b17ef);}}),{'skeleton':_0x3735fe,'cursors':_0x31395d};}));}return _0x5c682c['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x190141,cursors:_0x3e543a})=>{const _0x54323d=_0x5cf196;this[_0x54323d(0x312)](),_0x190141&&this[_0x54323d(0x2d6)](_0x190141,_0x3e543a);}),this['_sheetSkeletonManagerService'][_0x5cf196(0x15e)][_0x5cf196(0x230)](_0x2d50c9=>{const _0x2c6a18=_0x5cf196;if(_0x2d50c9==null)return;const {skeleton:_0x5967f6}=_0x2d50c9,{scene:_0x5b7eac}=this[_0x2c6a18(0x1c7)];_0x5b7eac[_0x2c6a18(0x388)][_0x2c6a18(0x28f)](_0x3dc819[_0x2c6a18(0x182)](_0x169728=>{const _0x9ee1ff=_0x2c6a18;var _0xca7a2c,_0x58e45;const {offsetX:_0x4dc4b7,offsetY:_0x5c4087}=_0x169728,{x:_0x3b6d1e,y:_0x2c40f1}=_0x5b7eac[_0x9ee1ff(0x1d2)](_0x49d167['Vector2']['FromArray']([_0x4dc4b7,_0x5c4087])),{scaleX:_0x4af01d,scaleY:_0x2dc6af}=_0x5b7eac[_0x9ee1ff(0x1ec)](),_0x237e94=_0x5b7eac[_0x9ee1ff(0x2e1)](_0x49d167[_0x9ee1ff(0x1fa)][_0x9ee1ff(0x384)]),_0x5a21be=_0x5b7eac[_0x9ee1ff(0x2bf)](_0x49d167['Vector2'][_0x9ee1ff(0x213)]([_0x3b6d1e,_0x2c40f1]),_0x237e94),_0x55d92f=_0x5967f6[_0x9ee1ff(0x2ee)](_0x4dc4b7,_0x5c4087,_0x4af01d,_0x2dc6af,_0x5a21be);((_0xca7a2c=this[_0x9ee1ff(0x345)])==null?void 0x0:_0xca7a2c[_0x9ee1ff(0x273)])===_0x55d92f[_0x9ee1ff(0x273)]&&((_0x58e45=this[_0x9ee1ff(0x345)])==null?void 0x0:_0x58e45[_0x9ee1ff(0x2d4)])===_0x55d92f[_0x9ee1ff(0x2d4)]||this['_cursors'][_0x9ee1ff(0x164)](_0x10d5b7=>{const _0x530d9f=_0x9ee1ff;_0x10d5b7[_0x530d9f(0x3ce)](_0x55d92f);});},0x64));});}['_updateCollabCursors'](_0x444f16,_0x53d16c){const _0x548290=_0x122628;var _0x1396d1;const _0x9b366f=(_0x1396d1=this[_0x548290(0x33c)][_0x548290(0x344)]())==null?void 0x0:_0x1396d1['skeleton'];if(!_0x9b366f)return;const _0x5a00f4=this[_0x548290(0x225)]();if(!_0x5a00f4)return;this['_cursors'][_0x548290(0x164)](_0x258395=>{const _0x100acf=_0x548290;_0x258395[_0x100acf(0x3ba)]();});const {scene:_0x5f4b32}=_0x5a00f4,_0x2716a4=_0x5bf350(Array[_0x548290(0x19a)](_0x53d16c['values']()))['map'](_0x13069a=>{const _0x2b6667=_0x548290,{color:_0x4addbc,range:_0x1ec8a7,name:_0x1820af,selection:_0x5ab63d,sheetID:_0x3d9336}=_0x13069a,{startColumn:_0x211c7c,startRow:_0x2881ac,endColumn:_0x18d428,endRow:_0x39eb9b}=_0x1ec8a7,_0x6eecf8=_0x315d01['getCoordByCell'](_0x2881ac,_0x211c7c,_0x5f4b32,_0x9b366f),_0x5006d0=_0x315d01[_0x2b6667(0x3a9)](_0x39eb9b,_0x18d428,_0x5f4b32,_0x9b366f),{columnHeaderHeightAndMarginTop:_0x33a34f}=_0x9b366f,{startX:_0x41ef35,startY:_0x2b6e9b}=_0x6eecf8,{endX:_0xe06b51,endY:_0x4f6335}=_0x5006d0,_0x2cc1c3=_0xe06b51-_0x41ef35,_0x255158=_0x4f6335-_0x2b6e9b,_0x4e72fd={'labelPosition':_0x2b6e9b-_0x33a34f>=_0x10be41?_0x2b6667(0x3e7):_0x2b6667(0x21d),'sheetID':_0x3d9336,'range':_0x1ec8a7,'color':_0x4addbc,'name':_0x1820af,'selection':_0x5ab63d,'left':_0x41ef35,'top':_0x2b6e9b,'width':_0x2cc1c3,'height':_0x255158,'evented':!0x1,'zIndex':_0x20031c};return new _0xc4533c(_0x1820af,_0x4e72fd);});_0x5f4b32['addObjects'](_0x2716a4,_0x256675),this[_0x548290(0x313)]=new Set(_0x2716a4);}[_0x122628(0x312)](){const _0x2ffb7f=_0x122628;var _0x3a52a4;(_0x3a52a4=this[_0x2ffb7f(0x313)])==null||_0x3a52a4['forEach'](_0x2d79c2=>_0x2d79c2[_0x2ffb7f(0x37e)]());}[_0x122628(0x225)](){const _0x11b3bf=_0x122628;return _0x315d01[_0x11b3bf(0x380)](this[_0x11b3bf(0x1c7)]['unit'],this[_0x11b3bf(0x1c7)]);}};_0x5552a7=_0x127e51([_0x344565(0x1,_0x3dc819['Inject'](_0x315d01[_0x122628(0x321)])),_0x344565(0x2,_0x3dc819['Inject'](_0x2ed875)),_0x344565(0x3,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x29d)]))],_0x5552a7);function _0x5bf350(_0x24657a){const _0x6fa3ea=_0x122628,_0x3f68ab=new Map();return _0x24657a[_0x6fa3ea(0x164)](_0x1d997f=>{const _0x5f3df0=_0x6fa3ea;if(_0x3f68ab[_0x5f3df0(0x2e7)](_0x1d997f[_0x5f3df0(0x1f3)])){const _0x37b498=_0x3f68ab['get'](_0x1d997f[_0x5f3df0(0x1f3)]);_0x37b498[_0x5f3df0(0x386)]+=',\x20'+_0x1d997f[_0x5f3df0(0x386)];}else _0x3f68ab[_0x5f3df0(0x2d5)](_0x1d997f[_0x5f3df0(0x1f3)],_0x1d997f);}),Array[_0x6fa3ea(0x19a)](_0x3f68ab[_0x6fa3ea(0x166)]());}var _0x4e5b92=function(){const _0x5d5663=_0x122628;return _0x4e5b92=Object[_0x5d5663(0x195)]||function(_0x52cbfb){const _0x32d2c5=_0x5d5663;for(var _0x5545d5,_0x22cf96=0x1,_0x38de5a=arguments['length'];_0x22cf96<_0x38de5a;_0x22cf96++){_0x5545d5=arguments[_0x22cf96];for(var _0x1da453 in _0x5545d5)Object[_0x32d2c5(0x1df)][_0x32d2c5(0x3bd)][_0x32d2c5(0x379)](_0x5545d5,_0x1da453)&&(_0x52cbfb[_0x1da453]=_0x5545d5[_0x1da453]);}return _0x52cbfb;},_0x4e5b92[_0x5d5663(0x3d6)](this,arguments);},_0xe178f4=function(_0x1a45b9,_0x550d76){const _0x56f400=_0x122628;var _0x1926bf={};for(var _0x13e7e6 in _0x1a45b9)Object[_0x56f400(0x1df)]['hasOwnProperty'][_0x56f400(0x379)](_0x1a45b9,_0x13e7e6)&&_0x550d76[_0x56f400(0x32f)](_0x13e7e6)<0x0&&(_0x1926bf[_0x13e7e6]=_0x1a45b9[_0x13e7e6]);if(_0x1a45b9!=null&&typeof Object['getOwnPropertySymbols']==_0x56f400(0x3e1)){for(var _0x213739=0x0,_0x13e7e6=Object['getOwnPropertySymbols'](_0x1a45b9);_0x213739<_0x13e7e6['length'];_0x213739++)_0x550d76[_0x56f400(0x32f)](_0x13e7e6[_0x213739])<0x0&&Object[_0x56f400(0x1df)]['propertyIsEnumerable'][_0x56f400(0x379)](_0x1a45b9,_0x13e7e6[_0x213739])&&(_0x1926bf[_0x13e7e6[_0x213739]]=_0x1a45b9[_0x13e7e6[_0x213739]]);}return _0x1926bf;},_0x24fe94=_0x29beeb[_0x122628(0x272)](function(_0x443b19,_0x5d8a57){const _0x58d684=_0x122628;var _0x24f522=_0x443b19[_0x58d684(0x3e0)],_0x7b38fd=_0x443b19['id'],_0x503987=_0x443b19[_0x58d684(0x1ef)],_0x1ba835=_0x443b19['extend'],_0x395ae6=_0xe178f4(_0x443b19,[_0x58d684(0x3e0),'id',_0x58d684(0x1ef),'extend']),_0x505081='univerjs-icon\x20univerjs-icon-'['concat'](_0x7b38fd,'\x20')['concat'](_0x503987||'')[_0x58d684(0x3e6)](),_0xa01321=_0x29beeb[_0x58d684(0x15a)]('_'[_0x58d684(0x2b8)](_0xb2254()));return _0x11dfea(_0x24f522,''[_0x58d684(0x2b8)](_0x7b38fd),{'defIds':_0x24f522[_0x58d684(0x319)],'idSuffix':_0xa01321[_0x58d684(0x33e)]},_0x4e5b92({'ref':_0x5d8a57,'className':_0x505081},_0x395ae6),_0x1ba835);});function _0x11dfea(_0x3064be,_0x11b448,_0x2c55b6,_0x44ea4d,_0x122253){const _0x250aca=_0x122628;return _0x29beeb[_0x250aca(0x2e4)](_0x3064be['tag'],_0x4e5b92(_0x4e5b92({'key':_0x11b448},_0x3e6828(_0x3064be,_0x2c55b6,_0x122253)),_0x44ea4d),(_0x2ac900(_0x3064be,_0x2c55b6)[_0x250aca(0x2b2)]||[])[_0x250aca(0x2b7)](function(_0x1f39db,_0x2c69a8){const _0x4e4e40=_0x250aca;return _0x11dfea(_0x1f39db,''['concat'](_0x11b448,'-')['concat'](_0x3064be[_0x4e4e40(0x1ee)],'-')[_0x4e4e40(0x2b8)](_0x2c69a8),_0x2c55b6,void 0x0,_0x122253);}));}function _0x3e6828(_0x4eb174,_0x3dd0f0,_0x27e6e1){const _0x47734e=_0x122628;var _0x3da6e7=_0x4e5b92({},_0x4eb174[_0x47734e(0x1a6)]);_0x27e6e1!=null&&_0x27e6e1['colorChannel1']&&_0x3da6e7[_0x47734e(0x355)]===_0x47734e(0x372)&&(_0x3da6e7[_0x47734e(0x355)]=_0x27e6e1[_0x47734e(0x372)]),_0x4eb174[_0x47734e(0x1ee)]===_0x47734e(0x3a8)&&_0x3da6e7['id']&&(_0x3da6e7['id']=_0x3da6e7['id']+_0x3dd0f0[_0x47734e(0x1f9)]),Object[_0x47734e(0x36f)](_0x3da6e7)['forEach'](function(_0x3df2b3){const _0x52d6ef=_0x47734e;var _0x7c410a=_0x3df2b3[0x0],_0x5d969a=_0x3df2b3[0x1];_0x7c410a===_0x52d6ef(0x3a8)&&typeof _0x5d969a==_0x52d6ef(0x23e)&&(_0x3da6e7[_0x7c410a]=_0x5d969a[_0x52d6ef(0x24f)](/url\(#(.*)\)/,'url(#$1'[_0x52d6ef(0x2b8)](_0x3dd0f0[_0x52d6ef(0x1f9)],')')));});var _0x480e97=_0x3dd0f0[_0x47734e(0x319)];return!_0x480e97||_0x480e97[_0x47734e(0x3c5)]===0x0||(_0x4eb174[_0x47734e(0x1ee)]===_0x47734e(0x3dd)&&_0x3da6e7[_0x47734e(0x264)]&&(_0x3da6e7[_0x47734e(0x264)]=_0x3da6e7[_0x47734e(0x264)]+_0x3dd0f0[_0x47734e(0x1f9)]),Object[_0x47734e(0x36f)](_0x3da6e7)[_0x47734e(0x164)](function(_0x55a1bb){const _0x596726=_0x47734e;var _0x495f68=_0x55a1bb[0x0],_0x551cc6=_0x55a1bb[0x1];typeof _0x551cc6=='string'&&(_0x3da6e7[_0x495f68]=_0x551cc6['replace'](/url\(#(.*)\)/,_0x596726(0x1cc)[_0x596726(0x2b8)](_0x3dd0f0['idSuffix'],')')));})),_0x3da6e7;}function _0x2ac900(_0x124dc8,_0x58f6d1){const _0x395bbf=_0x122628;var _0x4696da,_0x245586=_0x58f6d1[_0x395bbf(0x319)];return!_0x245586||_0x245586['length']===0x0?_0x124dc8:_0x124dc8[_0x395bbf(0x1ee)]==='defs'&&(!((_0x4696da=_0x124dc8['children'])===null||_0x4696da===void 0x0)&&_0x4696da[_0x395bbf(0x3c5)])?_0x4e5b92(_0x4e5b92({},_0x124dc8),{'children':_0x124dc8[_0x395bbf(0x2b2)][_0x395bbf(0x2b7)](function(_0x204111){const _0x2713f8=_0x395bbf;return typeof _0x204111[_0x2713f8(0x1a6)]['id']==_0x2713f8(0x23e)&&_0x245586&&_0x245586[_0x2713f8(0x27f)](_0x204111[_0x2713f8(0x1a6)]['id'])?_0x4e5b92(_0x4e5b92({},_0x204111),{'attrs':_0x4e5b92(_0x4e5b92({},_0x204111[_0x2713f8(0x1a6)]),{'id':_0x204111[_0x2713f8(0x1a6)]['id']+_0x58f6d1[_0x2713f8(0x1f9)]})}):_0x204111;})}):_0x124dc8;}function _0xb2254(){const _0x24f965=_0x122628;return Math[_0x24f965(0x2ff)]()[_0x24f965(0x170)](0x24)[_0x24f965(0x2a5)](0x2,0x8);}_0x24fe94[_0x122628(0x3c7)]=_0x122628(0x2a2);var _0x3681b1={'tag':_0x122628(0x2d1),'attrs':{'xmlns':_0x122628(0x235),'fill':_0x122628(0x212),'viewBox':'0\x200\x2016\x2016','width':_0x122628(0x284),'height':_0x122628(0x284)},'children':[{'tag':'g','attrs':{'clipPath':_0x122628(0x2ad)},'children':[{'tag':_0x122628(0x1a3),'attrs':{'stroke':_0x122628(0x39f),'d':_0x122628(0x32b),'strokeLinecap':_0x122628(0x22f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x122628(0x39e),'attrs':{},'children':[{'tag':_0x122628(0x28b),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x122628(0x1a3),'attrs':{'fill':_0x122628(0x17f),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x10e17d=_0x29beeb[_0x122628(0x272)](function(_0x4278f0,_0x26053c){const _0x1ce988=_0x122628;return _0x29beeb[_0x1ce988(0x2e4)](_0x24fe94,Object[_0x1ce988(0x195)]({},_0x4278f0,{'id':_0x1ce988(0x22b),'ref':_0x26053c,'icon':_0x3681b1}));});_0x10e17d[_0x122628(0x3c7)]=_0x122628(0x32d);var _0x590481={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x122628(0x212),'viewBox':_0x122628(0x320),'width':'1em','height':_0x122628(0x284)},'children':[{'tag':'g','attrs':{'clipPath':_0x122628(0x3b7)},'children':[{'tag':_0x122628(0x1a3),'attrs':{'stroke':_0x122628(0x39f),'d':_0x122628(0x1cd),'strokeLinecap':_0x122628(0x22f),'strokeLinejoin':_0x122628(0x22f),'strokeWidth':1.2}}]},{'tag':_0x122628(0x39e),'attrs':{},'children':[{'tag':_0x122628(0x28b),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x122628(0x1a3),'attrs':{'fill':_0x122628(0x17f),'d':_0x122628(0x177),'transform':'translate(.97)'}}]}]}],'defIds':[_0x122628(0x209)]},_0x1dd8bb=_0x29beeb[_0x122628(0x272)](function(_0x27b7a3,_0x58dcf2){const _0x35d314=_0x122628;return _0x29beeb[_0x35d314(0x2e4)](_0x24fe94,Object[_0x35d314(0x195)]({},_0x27b7a3,{'id':'on-line-icon','ref':_0x58dcf2,'icon':_0x590481}));});_0x1dd8bb[_0x122628(0x3c7)]=_0x122628(0x3b8);function _0xc04f02(_0x3182bd){const _0x172891=_0x122628;switch(_0x3182bd){case _0x1062f6[_0x172891(0x2ef)]['OFFLINE']:return _0x172891(0x181);case _0x1062f6[_0x172891(0x2ef)][_0x172891(0x337)]:return _0x172891(0x150);case _0x1062f6[_0x172891(0x2ef)][_0x172891(0x30a)]:return _0x172891(0x357);case _0x1062f6[_0x172891(0x2ef)][_0x172891(0x2c5)]:return _0x172891(0x30c);case _0x1062f6[_0x172891(0x2ef)][_0x172891(0x2f3)]:case _0x1062f6[_0x172891(0x2ef)][_0x172891(0x25b)]:return _0x172891(0x217);case _0x1062f6[_0x172891(0x2ef)][_0x172891(0x239)]:case _0x1062f6['CollaborationStatus']['PENDING']:return _0x172891(0x200);}}function _0x186063(_0x1910b6){const _0x512dfc=_0x122628,{status$:_0x1f7c01}=_0x1910b6,_0x1c5818=_0x3513eb[_0x512dfc(0x2e3)](_0x1f7c01,_0x1062f6[_0x512dfc(0x2ef)][_0x512dfc(0x2c5)]),_0x5b595a=_0x3513eb[_0x512dfc(0x1ba)](_0x3dc819[_0x512dfc(0x282)]),_0x46dea1=_0x3513eb[_0x512dfc(0x1ba)](_0x1062f6[_0x512dfc(0x19b)]),_0x2fc591=_0x1c5818!==_0x1062f6[_0x512dfc(0x2ef)][_0x512dfc(0x38d)],_0x2a6e1c=_0x5b595a['t'](_0xc04f02(_0x1c5818)),_0x192dff=_0x2fc591?_0x2765ed[_0x512dfc(0x3df)](_0x1dd8bb,{}):_0x2765ed[_0x512dfc(0x3df)](_0x10e17d,{}),_0x298bb9=_0x29beeb['useCallback'](()=>{_0x2fc591||_0x46dea1['reconnect']();},[_0x2fc591,_0x46dea1]);function _0x4af2c4(){const _0x2ff6d4=_0x512dfc;return _0x2765ed['jsxs'](_0x2ff6d4(0x204),{'className':'univer-flex\x20univer-items-center','onClick':_0x298bb9,'children':[_0x2765ed['jsx'](_0x2ff6d4(0x204),{'className':_0x479c75[_0x2ff6d4(0x24a)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2fc591,'univer-text-red-500':!_0x2fc591}),'children':_0x192dff}),_0x2765ed[_0x2ff6d4(0x3df)](_0x2ff6d4(0x204),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2a6e1c})]});}return _0x2fc591?_0x4af2c4():_0x2765ed[_0x512dfc(0x3df)](_0x479c75[_0x512dfc(0x18b)],{'title':_0x5b595a['t']('collab-client.tooltip.reconnect'),'children':_0x4af2c4()});}var _0x286fb6=Object[_0x122628(0x22e)],_0x39d78f=(_0x484874,_0xc0042,_0x5b702f,_0x4873b8)=>{for(var _0x11f28a=_0x4873b8>0x1?void 0x0:_0x4873b8?_0x286fb6(_0xc0042,_0x5b702f):_0xc0042,_0x4f096e=_0x484874['length']-0x1,_0x8751f3;_0x4f096e>=0x0;_0x4f096e--)(_0x8751f3=_0x484874[_0x4f096e])&&(_0x11f28a=_0x8751f3(_0x11f28a)||_0x11f28a);return _0x11f28a;},_0x29f920=(_0x4acb6d,_0x5af651)=>(_0x4cea20,_0x1adb71)=>_0x5af651(_0x4cea20,_0x1adb71,_0x4acb6d);_0x1ad031['DesktopCollaborationStatusDisplayController']=class extends _0x3dc819[_0x122628(0x219)]{constructor(_0x269a5c,_0x22ed2d,_0x433b56,_0xe07a5b){const _0x26de2f=_0x122628;super(),_0x1e4415(this,'_status$',new _0x5c682c[(_0x26de2f(0x2e8))](_0x1062f6[_0x26de2f(0x2ef)][_0x26de2f(0x2c5)])),(this[_0x26de2f(0x31b)]=_0x269a5c,this['_injector']=_0x22ed2d,this[_0x26de2f(0x32c)]=_0x433b56,this[_0x26de2f(0x363)]=_0xe07a5b,this[_0x26de2f(0x3e9)](),this[_0x26de2f(0x29e)]());}[_0x122628(0x29e)](){const _0x4d339c=_0x122628;this['disposeWithMe'](this[_0x4d339c(0x31b)][_0x4d339c(0x1af)]['pipe'](_0x5c682c[_0x4d339c(0x26f)](()=>{const _0x1dd1a9=_0x4d339c,_0x17ba8c=this[_0x1dd1a9(0x31b)]['getFocusedUnit']();return _0x17ba8c?this[_0x1dd1a9(0x32c)][_0x1dd1a9(0x16e)](_0x17ba8c[_0x1dd1a9(0x399)]()):_0x5c682c['of'](null);}),_0x5c682c[_0x4d339c(0x26f)](_0x471b8d=>_0x471b8d?_0x471b8d[_0x4d339c(0x3ac)]:_0x5c682c['of'](_0x1062f6[_0x4d339c(0x2ef)][_0x4d339c(0x2c5)])))[_0x4d339c(0x230)](_0x6399da=>{const _0x50aaaa=_0x4d339c;this[_0x50aaaa(0x3e2)][_0x50aaaa(0x37f)](_0x6399da);}));}[_0x122628(0x3e9)](){const _0x2eb4b9=_0x122628;this['disposeWithMe'](this['_uiPartsService'][_0x2eb4b9(0x3b4)](_0x3513eb[_0x2eb4b9(0x366)][_0x2eb4b9(0x338)],()=>_0x3513eb['connectInjector'](_0x2d49e7({'status$':this[_0x2eb4b9(0x3e2)]['asObservable']()}),this[_0x2eb4b9(0x157)])));}},_0x1ad031[_0x122628(0x3cd)]=_0x39d78f([_0x29f920(0x0,_0x3dc819[_0x122628(0x374)]),_0x29f920(0x1,_0x3dc819['Inject'](_0x3dc819[_0x122628(0x38a)])),_0x29f920(0x2,_0x3dc819[_0x122628(0x393)](_0x1062f6[_0x122628(0x1c9)])),_0x29f920(0x3,_0x3513eb[_0x122628(0x253)])],_0x1ad031['DesktopCollaborationStatusDisplayController']);function _0x2d49e7(_0x2ea200){const {status$:_0x18bd70}=_0x2ea200;return function(){return _0x2765ed['jsx'](_0x186063,{'status$':_0x18bd70});};}var _0x462479=Object['getOwnPropertyDescriptor'],_0x5a1a51=(_0x332d7f,_0x3fbf22,_0x32352c,_0x38a3e9)=>{const _0x59d074=_0x122628;for(var _0x228e1e=_0x38a3e9>0x1?void 0x0:_0x38a3e9?_0x462479(_0x3fbf22,_0x32352c):_0x3fbf22,_0x13f69f=_0x332d7f[_0x59d074(0x3c5)]-0x1,_0x5e501c;_0x13f69f>=0x0;_0x13f69f--)(_0x5e501c=_0x332d7f[_0x13f69f])&&(_0x228e1e=_0x5e501c(_0x228e1e)||_0x228e1e);return _0x228e1e;},_0x435364=(_0x145e80,_0x2ecc5b)=>(_0x13b363,_0xb510f8)=>_0x2ecc5b(_0x13b363,_0xb510f8,_0x145e80);let _0x34bb21=class extends _0x3dc819['Disposable']{constructor(_0x565d46,_0x1dca27,_0xa6427f,_0xb39a8e,_0x15ec0f,_0x1b9e46){const _0x13ec3a=_0x122628;super(),this['_beforeCloseService']=_0x565d46,this[_0x13ec3a(0x31e)]=_0x1dca27,this[_0x13ec3a(0x1a4)]=_0xa6427f,this[_0x13ec3a(0x3c4)]=_0xb39a8e,this[_0x13ec3a(0x207)]=_0x15ec0f,this[_0x13ec3a(0x194)]=_0x1b9e46,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x122628(0x383)](){const _0x346ad7=_0x122628;this['disposeWithMe'](this[_0x346ad7(0x1bf)][_0x346ad7(0x1e4)](()=>{const _0xf5d099=_0x346ad7;if(this['_localCacheService'][_0xf5d099(0x1cb)]['size'])return this[_0xf5d099(0x194)]['t'](_0xf5d099(0x22d));}));}[_0x122628(0x3a6)](){const _0x3adad5=_0x122628;this[_0x3adad5(0x3e3)](this[_0x3adad5(0x1a4)][_0x3adad5(0x1b3)]['subscribe'](_0x2403e4=>{const _0x165d65=_0x3adad5;_0x2403e4['id']===_0x1062f6[_0x165d65(0x1f8)][_0x165d65(0x1c2)]&&this[_0x165d65(0x3c4)][_0x165d65(0x244)]({'type':_0x479c75[_0x165d65(0x25e)][_0x165d65(0x333)],'content':this[_0x165d65(0x194)]['t'](_0x165d65(0x223))}),_0x2403e4['id']===_0x1062f6[_0x165d65(0x1f8)][_0x165d65(0x199)]&&this[_0x165d65(0x3c4)]['show']({'type':_0x479c75[_0x165d65(0x25e)][_0x165d65(0x333)],'content':this['_localeService']['t'](_0x165d65(0x36b))}),_0x2403e4['id']===_0x1062f6[_0x165d65(0x1f8)][_0x165d65(0x1b1)]&&this[_0x165d65(0x207)][_0x165d65(0x244)]({'title':this[_0x165d65(0x194)]['t'](_0x165d65(0x2a1)),'content':this[_0x165d65(0x194)]['t'](_0x165d65(0x330)),'type':_0x165d65(0x342),'duration':0x0}),_0x2403e4['id']===_0x1062f6[_0x165d65(0x1f8)][_0x165d65(0x337)]&&this[_0x165d65(0x3c4)][_0x165d65(0x244)]({'type':_0x479c75[_0x165d65(0x25e)]['Error'],'content':this['_localeService']['t'](_0x165d65(0x36b))+'('+_0x2403e4[_0x165d65(0x1e1)]+')'}),_0x2403e4['id']===_0x1062f6['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x165d65(0x3c4)][_0x165d65(0x244)]({'type':_0x479c75['MessageType']['Warning'],'content':this[_0x165d65(0x194)]['t'](_0x2403e4[_0x165d65(0x1e1)]||'')}),_0x2403e4['id']===_0x1062f6[_0x165d65(0x1f8)]['SOCKET_FAILED_RETRY']&&this[_0x165d65(0x3c4)]['show']({'type':_0x479c75[_0x165d65(0x25e)][_0x165d65(0x333)],'content':this['_localeService']['t'](_0x165d65(0x396))}),_0x2403e4['id']===_0x1062f6[_0x165d65(0x1f8)]['SOCKET_FAILED']&&this['_messageService'][_0x165d65(0x244)]({'type':_0x479c75[_0x165d65(0x25e)][_0x165d65(0x1e0)],'content':this['_localeService']['t'](_0x165d65(0x3db))}),_0x2403e4['id']===_0x1062f6[_0x165d65(0x1f8)][_0x165d65(0x231)]&&this['_messageService'][_0x165d65(0x244)]({'type':_0x479c75[_0x165d65(0x25e)][_0x165d65(0x1e0)],'content':this[_0x165d65(0x194)]['t'](_0x165d65(0x2c0))});}));}};_0x34bb21=_0x5a1a51([_0x435364(0x0,_0x3513eb[_0x122628(0x23a)]),_0x435364(0x1,_0x1062f6[_0x122628(0x21e)]),_0x435364(0x2,_0x3dc819[_0x122628(0x393)](_0x1062f6[_0x122628(0x1d7)])),_0x435364(0x3,_0x3513eb[_0x122628(0x292)]),_0x435364(0x4,_0x3513eb['INotificationService']),_0x435364(0x5,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x282)]))],_0x34bb21);const _0x149e7d=_0x122628(0x1f1),_0x11888a={},_0x2cfdf3=_0x3dc819[_0x122628(0x238)](_0x122628(0x2d9));var _0x60e224=Object['getOwnPropertyDescriptor'],_0x57ea4e=(_0x234a40,_0x5a677d,_0x122cf2,_0x2e1f80)=>{const _0x5706cb=_0x122628;for(var _0x3748e9=_0x2e1f80>0x1?void 0x0:_0x2e1f80?_0x60e224(_0x5a677d,_0x122cf2):_0x5a677d,_0x1e9165=_0x234a40[_0x5706cb(0x3c5)]-0x1,_0x4d820f;_0x1e9165>=0x0;_0x1e9165--)(_0x4d820f=_0x234a40[_0x1e9165])&&(_0x3748e9=_0x4d820f(_0x3748e9)||_0x3748e9);return _0x3748e9;},_0x332cab=(_0x1bc7e0,_0x49f431)=>(_0x5d59ec,_0x3167c9)=>_0x49f431(_0x5d59ec,_0x3167c9,_0x1bc7e0);_0x1ad031['CollaborationDataLoaderController']=class extends _0x3dc819['RxDisposable']{constructor(_0x5f16cc,_0x14b8bb,_0x4ee8b8,_0x1ec411,_0x49ed07){const _0x1fb09e=_0x122628;super(),this[_0x1fb09e(0x36d)]=_0x5f16cc,this[_0x1fb09e(0x1f6)]=_0x14b8bb,this['_commandService']=_0x4ee8b8,this[_0x1fb09e(0x3bc)]=_0x1ec411,_0x49ed07?_0x49ed07==null||_0x49ed07[_0x1fb09e(0x314)]()[_0x1fb09e(0x279)](()=>this[_0x1fb09e(0x23b)]()):(this[_0x1fb09e(0x1f6)][_0x1fb09e(0x15b)](_0x1fb09e(0x1d9),_0x1fb09e(0x2ae)),this[_0x1fb09e(0x23b)]());}async['_init'](){const _0x41bfbc=_0x122628,_0x574a75=this[_0x41bfbc(0x36d)][_0x41bfbc(0x156)](_0x41bfbc(0x3b6)),_0x2597f0=this[_0x41bfbc(0x36d)][_0x41bfbc(0x156)](_0x41bfbc(0x28e)),_0x4c7a8b=this[_0x41bfbc(0x36d)]['getParam'](_0x41bfbc(0x3cb));if(!_0x574a75||!_0x2597f0){this[_0x41bfbc(0x1f6)][_0x41bfbc(0x15b)](_0x41bfbc(0x1d9),_0x41bfbc(0x218));return;}const _0x364c66=await this['_dataLoaderService'][_0x41bfbc(0x2ed)](_0x574a75,Number(_0x2597f0),_0x4c7a8b);_0x364c66&&_0x364c66 instanceof _0x3dc819['Workbook']&&this[_0x41bfbc(0x2ec)](_0x364c66);}async[_0x122628(0x2ec)](_0x4b33de){const _0x247239=_0x122628;await this['_updateSubUnitFromURLParams'](_0x4b33de),_0x4b33de[_0x247239(0x302)]['pipe'](_0x5c682c[_0x247239(0x2c2)](this[_0x247239(0x252)]))['subscribe'](_0x84227d=>{const _0x58a391=_0x247239;_0x84227d&&this[_0x58a391(0x3b9)](_0x84227d);}),this['_urlService'][_0x247239(0x26b)]['pipe'](_0x5c682c[_0x247239(0x2c2)](this[_0x247239(0x252)]))[_0x247239(0x230)](()=>this[_0x247239(0x35c)](_0x4b33de));}[_0x122628(0x3b9)](_0x5228bf,_0x978f23=!0x1){const _0x26e506=_0x122628,_0x3a8001=this[_0x26e506(0x36d)][_0x26e506(0x156)](_0x26e506(0x3cb));_0x5228bf[_0x26e506(0x376)]()!==_0x3a8001&&this['_urlService'][_0x26e506(0x2b3)](_0x26e506(0x3cb),_0x5228bf[_0x26e506(0x376)](),_0x978f23);}async[_0x122628(0x35c)](_0x183044){const _0x3e929f=_0x122628;var _0x4333fd;const _0x47814d=this[_0x3e929f(0x36d)][_0x3e929f(0x156)]('subunit');if(!_0x47814d||!_0x183044[_0x3e929f(0x1ad)](_0x47814d)){const _0x26e8f0=_0x183044[_0x3e929f(0x25f)]()[0x0],_0x19fee=_0x183044[_0x3e929f(0x1ad)](_0x26e8f0);if(!_0x19fee)return;this[_0x3e929f(0x3b9)](_0x19fee,!0x0),await this['_commandService']['executeCommand'](_0x43d9c5[_0x3e929f(0x18f)]['id'],{'unitId':_0x183044[_0x3e929f(0x399)](),'subUnitId':_0x26e8f0});return;}((_0x4333fd=_0x183044[_0x3e929f(0x196)]())==null?void 0x0:_0x4333fd['getSheetId']())!==_0x47814d&&await this[_0x3e929f(0x2f0)][_0x3e929f(0x18a)](_0x43d9c5['SetWorksheetActivateCommand']['id'],{'unitId':_0x183044[_0x3e929f(0x399)](),'subUnitId':_0x47814d});}},_0x1ad031[_0x122628(0x377)]=_0x57ea4e([_0x332cab(0x0,_0x2cfdf3),_0x332cab(0x1,_0x3dc819[_0x122628(0x23d)]),_0x332cab(0x2,_0x3dc819[_0x122628(0x25d)]),_0x332cab(0x3,_0x3dc819[_0x122628(0x393)](_0x1062f6[_0x122628(0x1e7)])),_0x332cab(0x4,_0x3dc819[_0x122628(0x322)](_0x4cd836['IRemoteInstanceService']))],_0x1ad031[_0x122628(0x377)]);var _0x73a600=Object[_0x122628(0x22e)],_0x1461aa=(_0x3e8224,_0x538a44,_0xe803a6,_0x337eed)=>{const _0x1a08d1=_0x122628;for(var _0x41809c=_0x337eed>0x1?void 0x0:_0x337eed?_0x73a600(_0x538a44,_0xe803a6):_0x538a44,_0x32398a=_0x3e8224[_0x1a08d1(0x3c5)]-0x1,_0x52b453;_0x32398a>=0x0;_0x32398a--)(_0x52b453=_0x3e8224[_0x32398a])&&(_0x41809c=_0x52b453(_0x41809c)||_0x41809c);return _0x41809c;},_0x4d9235=(_0x16c610,_0x5a6c5c)=>(_0x1e2f98,_0x7901e8)=>_0x5a6c5c(_0x1e2f98,_0x7901e8,_0x16c610);let _0x484246=class{constructor(_0x7b82a6,_0x2b9e8d,_0x4860dc){const _0x21c7d2=_0x122628;this[_0x21c7d2(0x157)]=_0x7b82a6,this[_0x21c7d2(0x2da)]=_0x2b9e8d,this[_0x21c7d2(0x14f)]=_0x4860dc;}['transformIMECache'](_0x316403){const _0x638738=_0x122628;this[_0x638738(0x3d0)](_0x316403),this[_0x638738(0x255)](_0x316403);}[_0x122628(0x2a8)](_0x336d48){const _0x513df2=_0x122628,{unitID:_0x2698c2}=_0x336d48,_0x13e47c=this[_0x513df2(0x14f)][_0x513df2(0x2ce)](_0x2698c2)[_0x513df2(0x159)](_0x4c4bbe[_0x513df2(0x2a6)]),{redoCache:_0x4719c0}=_0x13e47c[_0x513df2(0x1eb)]();if(_0x4719c0[_0x513df2(0x3c5)]===0x0)return _0x336d48;let _0x592d7a=_0x3dc819['Tools']['deepClone'](_0x336d48[_0x513df2(0x38b)][0x0]);for(let _0xc27db8=0x0;_0xc27db8<_0x4719c0[_0x513df2(0x3c5)];_0xc27db8++){const _0x99d32e={'id':'doc.mutation.rich-text-editing','params':{..._0x4719c0[_0xc27db8]}},_0x5a8c9f=this['_transformService'][_0x513df2(0x24e)](_0x592d7a,_0x99d32e,!0x1);if(_0x40fcc9['isTransformMutationFailure'](_0x5a8c9f))throw _0x5a8c9f['error'];_0x592d7a=_0x5a8c9f[_0x513df2(0x3be)];}return{..._0x3dc819['Tools'][_0x513df2(0x24c)](_0x336d48),'mutations':[_0x592d7a]};}['_transformUndoRedoStack'](_0x1d3728){const _0x19364f=_0x122628,{unitID:_0x35cb38}=_0x1d3728,_0x1afcf9=this[_0x19364f(0x14f)][_0x19364f(0x2ce)](_0x35cb38)[_0x19364f(0x159)](_0x4c4bbe[_0x19364f(0x2a6)]),{undoCache:_0x2e3d97,redoCache:_0x36b288}=_0x1afcf9['getUndoRedoMutationParamsCache']();if(_0x2e3d97[_0x19364f(0x3c5)]===0x0||_0x36b288[_0x19364f(0x3c5)]===0x0)return;const _0x4fd9b9=[],_0x2b0010=[];let _0x29c0cb=_0x3dc819[_0x19364f(0x167)]['deepClone'](_0x1d3728[_0x19364f(0x38b)][0x0]),_0x1cc610=_0x3dc819[_0x19364f(0x167)][_0x19364f(0x24c)](_0x1d3728[_0x19364f(0x38b)][0x0]);for(let _0x49d70d=_0x2e3d97[_0x19364f(0x3c5)]-0x1;_0x49d70d>=0x0;_0x49d70d--){const _0x2d8e8f={'id':_0x19364f(0x1c1),'params':{..._0x2e3d97[_0x49d70d]}},_0x2aed97={'id':_0x19364f(0x1c1),'params':{..._0x36b288[_0x49d70d]}},_0x5b1973=this[_0x19364f(0x2da)][_0x19364f(0x24e)](_0x29c0cb,_0x2d8e8f,!0x1),_0x65ada0=this[_0x19364f(0x2da)][_0x19364f(0x24e)](_0x1cc610,_0x2aed97,!0x1);if(_0x40fcc9['isTransformMutationFailure'](_0x5b1973))throw _0x5b1973[_0x19364f(0x342)];if(_0x40fcc9[_0x19364f(0x3bf)](_0x65ada0))throw _0x65ada0[_0x19364f(0x342)];_0x4fd9b9['unshift'](_0x5b1973[_0x19364f(0x375)][_0x19364f(0x3af)]),_0x2b0010[_0x19364f(0x20c)](_0x65ada0['m2Prime'][_0x19364f(0x3af)]),_0x29c0cb=_0x5b1973[_0x19364f(0x3be)],_0x1cc610=_0x65ada0[_0x19364f(0x3be)];}_0x1afcf9[_0x19364f(0x169)]({'undoCache':_0x4fd9b9,'redoCache':_0x2b0010});}[_0x122628(0x255)](_0x4575f1){const _0xccdd19=_0x122628,{unitID:_0x435297}=_0x4575f1,_0x29b4c8=this[_0xccdd19(0x14f)][_0xccdd19(0x2ce)](_0x435297)[_0xccdd19(0x159)](_0x4c4bbe[_0xccdd19(0x2a6)]),_0x23b057=_0x29b4c8['getActiveRange']();if(_0x23b057==null)return;const _0x56fca7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4575f1[_0xccdd19(0x301)],'actions':null,'textRanges':[_0x23b057]}}],_0x51e864=this[_0xccdd19(0x2da)][_0xccdd19(0x15d)](_0x4575f1,_0x56fca7);if(!_0x40fcc9[_0xccdd19(0x1ff)](_0x51e864))throw _0x51e864[_0xccdd19(0x342)];const _0x4cfd81=_0x51e864['m2Prime'][0x0]['params'][_0xccdd19(0x26a)];Array['isArray'](_0x4cfd81)&&_0x4cfd81[_0xccdd19(0x3c5)]&&_0x29b4c8[_0xccdd19(0x356)](_0x4cfd81[0x0]);}};_0x484246=_0x1461aa([_0x4d9235(0x0,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x38a)])),_0x4d9235(0x1,_0x40fcc9['ITransformService']),_0x4d9235(0x2,_0x49d167[_0x122628(0x198)])],_0x484246);var _0x59f029=Object[_0x122628(0x22e)],_0x2ff0d7=(_0x5c10bc,_0x590133,_0x3aa08c,_0x3b4737)=>{const _0x277839=_0x122628;for(var _0x1b40a5=_0x3b4737>0x1?void 0x0:_0x3b4737?_0x59f029(_0x590133,_0x3aa08c):_0x590133,_0x232f4f=_0x5c10bc[_0x277839(0x3c5)]-0x1,_0x3f8d4a;_0x232f4f>=0x0;_0x232f4f--)(_0x3f8d4a=_0x5c10bc[_0x232f4f])&&(_0x1b40a5=_0x3f8d4a(_0x1b40a5)||_0x1b40a5);return _0x1b40a5;},_0x331e21=(_0x2a8148,_0x249811)=>(_0x335887,_0x4045db)=>_0x249811(_0x335887,_0x4045db,_0x2a8148);let _0x5d8230=class{constructor(_0x3842bd,_0x177f14,_0x47eaa7){const _0x15ec32=_0x122628;this[_0x15ec32(0x157)]=_0x3842bd,this[_0x15ec32(0x2da)]=_0x177f14,this['_docStateChangeManagerService']=_0x47eaa7;}['transformStateCache'](_0x1c742e){this['_transformHistoryAndStateStack'](_0x1c742e);}['transformRemoteChangeset'](_0x1f5ce4){const _0x3681e4=_0x122628,{unitID:_0x4ffe03}=_0x1f5ce4,{collaboration:_0x280cbf}=this['_docStateChangeManagerService'][_0x3681e4(0x307)](_0x4ffe03);if(_0x280cbf['length']===0x0)return _0x1f5ce4;let _0x1493ce=_0x3dc819[_0x3681e4(0x167)][_0x3681e4(0x24c)](_0x1f5ce4[_0x3681e4(0x38b)][0x0]);for(let _0x23ac2e=0x0;_0x23ac2e<_0x280cbf[_0x3681e4(0x3c5)];_0x23ac2e++){const _0x2f738f={'id':_0x3681e4(0x1c1),'params':{'unitId':_0x280cbf[_0x23ac2e][_0x3681e4(0x3a3)],..._0x280cbf[_0x23ac2e][_0x3681e4(0x2a4)]}},_0xa5df0a=this[_0x3681e4(0x2da)]['transformMutation'](_0x1493ce,_0x2f738f,!0x1);if(_0x40fcc9['isTransformMutationFailure'](_0xa5df0a))throw _0xa5df0a[_0x3681e4(0x342)];_0x1493ce=_0xa5df0a['m1Prime'];}return{..._0x3dc819['Tools'][_0x3681e4(0x24c)](_0x1f5ce4),'mutations':[_0x1493ce]};}[_0x122628(0x22a)](_0x550571){const _0x54103c=_0x122628,{unitID:_0xe4bb3d}=_0x550571,{history:_0x4100c0,collaboration:_0x57da75}=this[_0x54103c(0x260)][_0x54103c(0x307)](_0xe4bb3d);if(_0x4100c0[_0x54103c(0x3c5)]===0x0&&_0x57da75['length']===0x0)return;const _0x32840b=[],_0xc8d1ae=[];let _0x12ccab=_0x3dc819['Tools'][_0x54103c(0x24c)](_0x550571[_0x54103c(0x38b)][0x0]),_0x3a7956=_0x3dc819[_0x54103c(0x167)]['deepClone'](_0x550571[_0x54103c(0x38b)][0x0]);for(let _0xf10a0a=_0x4100c0[_0x54103c(0x3c5)]-0x1;_0xf10a0a>=0x0;_0xf10a0a--){const _0x57b9db={'id':_0x54103c(0x1c1),'params':{'unitId':_0x4100c0[_0xf10a0a][_0x54103c(0x3a3)],..._0x4100c0[_0xf10a0a][_0x54103c(0x3a0)]}},_0x45a53f={'id':_0x54103c(0x1c1),'params':{'unitId':_0x4100c0[_0xf10a0a][_0x54103c(0x3a3)],..._0x4100c0[_0xf10a0a][_0x54103c(0x2a4)]}},_0x2398f3=this[_0x54103c(0x2da)][_0x54103c(0x24e)](_0x12ccab,_0x57b9db,!0x1),_0x5d12e2=this[_0x54103c(0x2da)][_0x54103c(0x24e)](_0x3a7956,_0x45a53f,!0x1);if(_0x40fcc9[_0x54103c(0x3bf)](_0x2398f3))throw _0x2398f3[_0x54103c(0x342)];if(_0x40fcc9['isTransformMutationFailure'](_0x5d12e2))throw _0x5d12e2['error'];_0x32840b[_0x54103c(0x20c)]({..._0x4100c0[_0xf10a0a],'undoState':_0x2398f3[_0x54103c(0x375)][_0x54103c(0x3af)],'redoState':_0x5d12e2[_0x54103c(0x375)][_0x54103c(0x3af)]}),_0x12ccab=_0x2398f3['m1Prime'],_0x3a7956=_0x5d12e2[_0x54103c(0x3be)];}_0x12ccab=_0x3dc819[_0x54103c(0x167)][_0x54103c(0x24c)](_0x550571['mutations'][0x0]),_0x3a7956=_0x3dc819[_0x54103c(0x167)]['deepClone'](_0x550571[_0x54103c(0x38b)][0x0]);for(let _0x4db6b6=_0x57da75[_0x54103c(0x3c5)]-0x1;_0x4db6b6>=0x0;_0x4db6b6--){const _0x5f31ff={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x57da75[_0x4db6b6]['unitId'],..._0x57da75[_0x4db6b6][_0x54103c(0x3a0)]}},_0x1371d9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x57da75[_0x4db6b6][_0x54103c(0x3a3)],..._0x57da75[_0x4db6b6][_0x54103c(0x2a4)]}},_0x462d2a=this[_0x54103c(0x2da)]['transformMutation'](_0x12ccab,_0x5f31ff,!0x1),_0x1d2735=this[_0x54103c(0x2da)]['transformMutation'](_0x3a7956,_0x1371d9,!0x1);if(_0x40fcc9[_0x54103c(0x3bf)](_0x462d2a))throw _0x462d2a['error'];if(_0x40fcc9[_0x54103c(0x3bf)](_0x1d2735))throw _0x1d2735['error'];_0xc8d1ae[_0x54103c(0x20c)]({..._0x57da75[_0x4db6b6],'undoState':_0x462d2a['m2Prime'][_0x54103c(0x3af)],'redoState':_0x1d2735[_0x54103c(0x375)]['params']}),_0x12ccab=_0x462d2a[_0x54103c(0x3be)],_0x3a7956=_0x1d2735[_0x54103c(0x3be)];}this['_docStateChangeManagerService'][_0x54103c(0x1fb)](_0xe4bb3d,{'history':_0x32840b,'collaboration':_0xc8d1ae});}};_0x5d8230=_0x2ff0d7([_0x331e21(0x0,_0x3dc819['Inject'](_0x3dc819[_0x122628(0x38a)])),_0x331e21(0x1,_0x40fcc9[_0x122628(0x1f7)]),_0x331e21(0x2,_0x3dc819[_0x122628(0x393)](_0x4c4bbe[_0x122628(0x2b4)]))],_0x5d8230);var _0x319628=Object['getOwnPropertyDescriptor'],_0x114dc1=(_0x2a7ba6,_0x5af6c1,_0x271254,_0x135dde)=>{const _0x2817f6=_0x122628;for(var _0x2b215d=_0x135dde>0x1?void 0x0:_0x135dde?_0x319628(_0x5af6c1,_0x271254):_0x5af6c1,_0x3d5d3a=_0x2a7ba6[_0x2817f6(0x3c5)]-0x1,_0x12dec2;_0x3d5d3a>=0x0;_0x3d5d3a--)(_0x12dec2=_0x2a7ba6[_0x3d5d3a])&&(_0x2b215d=_0x12dec2(_0x2b215d)||_0x2b215d);return _0x2b215d;},_0x50d3c6=(_0x313c7d,_0x5acce7)=>(_0x1cb399,_0x82fc8c)=>_0x5acce7(_0x1cb399,_0x82fc8c,_0x313c7d);let _0x4da10c=class{constructor(_0x4c7506,_0x489d90){const _0x40aaf4=_0x122628;this['_injector']=_0x4c7506,this[_0x40aaf4(0x2da)]=_0x489d90;}[_0x122628(0x1c3)](_0x4a12fc){const _0x6982c2=_0x122628;var _0x5cf99a;const _0x1deeb0=this[_0x6982c2(0x157)]['get'](_0x358a5a[_0x6982c2(0x2fc)]),_0x4cd3e3=(_0x5cf99a=_0x1deeb0['getDocRanges']())!=null?_0x5cf99a:[];if(_0x4cd3e3[_0x6982c2(0x3c5)]===0x0)return;const _0x5d91b0=_0x4a12fc[_0x6982c2(0x301)],_0x5ec2a1=[{'id':_0x6982c2(0x1c1),'params':{'unitId':_0x5d91b0,'actions':null,'textRanges':_0x4cd3e3}}],_0xa2e06c=this[_0x6982c2(0x2da)][_0x6982c2(0x15d)](_0x4a12fc,_0x5ec2a1);if(!_0x40fcc9[_0x6982c2(0x1ff)](_0xa2e06c))throw _0xa2e06c[_0x6982c2(0x342)];const _0x487562=_0xa2e06c['m2Prime'][0x0][_0x6982c2(0x3af)][_0x6982c2(0x26a)];Array[_0x6982c2(0x3d4)](_0x487562)&&_0x487562[_0x6982c2(0x3c5)]&&_0x1deeb0[_0x6982c2(0x34c)](_0x487562,{'unitId':_0x5d91b0,'subUnitId':_0x5d91b0},!0x1);}};_0x4da10c=_0x114dc1([_0x50d3c6(0x0,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x38a)])),_0x50d3c6(0x1,_0x40fcc9[_0x122628(0x1f7)])],_0x4da10c);var _0x5efb4=Object['getOwnPropertyDescriptor'],_0x14e865=(_0x45dde2,_0x48a90f,_0x1f78b6,_0x361b9e)=>{for(var _0x5f17dd=_0x361b9e>0x1?void 0x0:_0x361b9e?_0x5efb4(_0x48a90f,_0x1f78b6):_0x48a90f,_0x5b1ac7=_0x45dde2['length']-0x1,_0x184550;_0x5b1ac7>=0x0;_0x5b1ac7--)(_0x184550=_0x45dde2[_0x5b1ac7])&&(_0x5f17dd=_0x184550(_0x5f17dd)||_0x5f17dd);return _0x5f17dd;},_0x4f29fb=(_0x3ede73,_0x1a5d5f)=>(_0x528dbc,_0x51a756)=>_0x1a5d5f(_0x528dbc,_0x51a756,_0x3ede73);let _0x3a6115=class extends _0x3dc819[_0x122628(0x219)]{constructor(_0x50637b,_0x14cda4,_0x180927,_0x1c6be3,_0x5a73d4,_0x217447,_0x2855cd,_0x16d1b0){const _0x14cc13=_0x122628;super(),_0x1e4415(this,'_status$',new _0x5c682c[(_0x14cc13(0x2e8))](_0x1062f6[_0x14cc13(0x2ef)][_0x14cc13(0x2c5)])),(this[_0x14cc13(0x260)]=_0x50637b,this[_0x14cc13(0x32c)]=_0x14cda4,this[_0x14cc13(0x1b0)]=_0x180927,this[_0x14cc13(0x306)]=_0x1c6be3,this[_0x14cc13(0x3c9)]=_0x5a73d4,this[_0x14cc13(0x30f)]=_0x217447,this[_0x14cc13(0x3c4)]=_0x2855cd,this[_0x14cc13(0x194)]=_0x16d1b0,this[_0x14cc13(0x176)]());}['_initEntityListener'](){const _0x36f6ff=_0x122628;this[_0x36f6ff(0x3e3)](this[_0x36f6ff(0x32c)][_0x36f6ff(0x352)][_0x36f6ff(0x230)](_0x25603b=>{const _0x11c49f=_0x36f6ff,_0x18534b=this['_docStateChangeManagerService'][_0x11c49f(0x373)][_0x11c49f(0x230)](_0x47dc29=>{const _0xb08414=_0x11c49f;if(_0x47dc29==null)return;const {unitId:_0x3f83de,redoState:_0x13b278,commandId:_0x573a18}=_0x47dc29;if(_0x3f83de!==_0x25603b[_0xb08414(0x301)])return;const _0x1b5b04={'id':_0x573a18,'type':_0x3dc819['CommandType'][_0xb08414(0x21c)],'params':{'unitId':_0x3f83de,'actions':_0x13b278[_0xb08414(0x1b8)],'textRanges':null}};_0x25603b[_0xb08414(0x17c)](_0x1b5b04);});if(_0x25603b[_0x11c49f(0x3e3)](_0x18534b),_0x25603b instanceof _0x1062f6[_0x11c49f(0x236)]){const _0x37a956={'onTransformIME':_0x171ccb=>this[_0x11c49f(0x1b0)][_0x11c49f(0x1c4)](_0x171ccb),'onTransformState':_0x27377d=>this[_0x11c49f(0x306)][_0x11c49f(0x39a)](_0x27377d),'onTransformSelections':_0x200087=>this[_0x11c49f(0x3c9)][_0x11c49f(0x1c3)](_0x200087),'onSyncEditingCollabCursor':_0x5baebd=>this[_0x11c49f(0x30f)]['syncEditingCollabCursor'](_0x5baebd),'onTransformRemoteChangesetByIMECache':_0x28119f=>this[_0x11c49f(0x1b0)][_0x11c49f(0x2a8)](_0x28119f),'onTransformRemoteChangesetByStateCache':_0x26e64e=>this[_0x11c49f(0x306)]['transformRemoteChangeset'](_0x26e64e)};_0x25603b[_0x11c49f(0x332)](_0x37a956);}}));}};_0x3a6115=_0x14e865([_0x4f29fb(0x0,_0x3dc819['Inject'](_0x4c4bbe[_0x122628(0x2b4)])),_0x4f29fb(0x1,_0x3dc819['Inject'](_0x1062f6['CollaborationController'])),_0x4f29fb(0x2,_0x3dc819['Inject'](_0x484246)),_0x4f29fb(0x3,_0x3dc819[_0x122628(0x393)](_0x5d8230)),_0x4f29fb(0x4,_0x3dc819[_0x122628(0x393)](_0x4da10c)),_0x4f29fb(0x5,_0x3dc819[_0x122628(0x393)](_0x39a5b7)),_0x4f29fb(0x6,_0x3513eb['IMessageService']),_0x4f29fb(0x7,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x282)]))],_0x3a6115);var _0x3c586b=Object['getOwnPropertyDescriptor'],_0x458bc6=(_0x537953,_0x2d99c8,_0x2d4fd5,_0x36b9a8)=>{const _0x509df5=_0x122628;for(var _0x2a669f=_0x36b9a8>0x1?void 0x0:_0x36b9a8?_0x3c586b(_0x2d99c8,_0x2d4fd5):_0x2d99c8,_0x4adf47=_0x537953[_0x509df5(0x3c5)]-0x1,_0xa97251;_0x4adf47>=0x0;_0x4adf47--)(_0xa97251=_0x537953[_0x4adf47])&&(_0x2a669f=_0xa97251(_0x2a669f)||_0x2a669f);return _0x2a669f;},_0x57fcd3=(_0x46f057,_0x35c375)=>(_0x2069cb,_0x1ce08b)=>_0x35c375(_0x2069cb,_0x1ce08b,_0x46f057);let _0x286c51=class extends _0x3dc819['Disposable']{constructor(_0x50c93f,_0x40b923,_0xf852ea){const _0x56dcd5=_0x122628;super(),_0x1e4415(this,_0x56dcd5(0x178),new Map()),_0x1e4415(this,_0x56dcd5(0x3b5),new Map()),_0x1e4415(this,'_disabled',!0x1),(this['_configService']=_0x50c93f,this[_0x56dcd5(0x299)]=_0x40b923,this[_0x56dcd5(0x203)]=_0xf852ea);}[_0x122628(0x27d)](){const _0x15de35=_0x122628;this[_0x15de35(0x19c)]=!0x0;}[_0x122628(0x2b5)](){const _0xddeeb2=_0x122628;this[_0xddeeb2(0x19c)]=!0x1;}get[_0x122628(0x1cb)](){const _0x5ce444=_0x122628;return this[_0x5ce444(0x3b5)];}[_0x122628(0x37e)](){const _0xf9f1f=_0x122628;this['exhaustSavingTask']()[_0xf9f1f(0x279)](()=>super[_0xf9f1f(0x37e)]());}async[_0x122628(0x263)](_0x38baac){const _0x290c53=_0x122628;return this[_0x290c53(0x19c)]?null:this['_localStorageService']['getItem'](_0x1062f6['getLocalCacheKey'](_0x38baac));}async[_0x122628(0x2c3)](_0x40e454,_0xf57bbb){const _0x3509ef=_0x122628;return!!this[_0x3509ef(0x299)][_0x3509ef(0x394)](_0x40e454,_0xf57bbb);}[_0x122628(0x3c3)](_0x2b0114,_0x229858,_0x14ca51,_0x489ee5){const _0x4a2727=_0x122628,_0x32993b=this[_0x4a2727(0x203)]['getCurrentRevOfUnit'](_0x2b0114);this['_cachedData'][_0x4a2727(0x2d5)](_0x2b0114,{'unitID':_0x2b0114,'type':_0x229858,'awaitingChangeset':_0x14ca51,'mutations':_0x489ee5,'rev':_0x32993b}),this[_0x4a2727(0x3b5)][_0x4a2727(0x2e7)](_0x2b0114)||this[_0x4a2727(0x3a2)](_0x2b0114);}[_0x122628(0x3a2)](_0x259980){const _0x5b091a=_0x122628,_0x49c782=this[_0x5b091a(0x27c)]();_0x49c782===0x0?this[_0x5b091a(0x19d)](_0x259980):this[_0x5b091a(0x3b5)][_0x5b091a(0x2d5)](_0x259980,setTimeout(()=>this[_0x5b091a(0x19d)](_0x259980),_0x49c782));}[_0x122628(0x27c)](){const _0x35e464=_0x122628;var _0x22cc60;return(_0x22cc60=this['_configService'][_0x35e464(0x17d)](_0x1062f6[_0x35e464(0x38f)]))!=null?_0x22cc60:_0x1062f6[_0x35e464(0x3cc)];}[_0x122628(0x19d)](_0x2b1686){const _0x2faad3=_0x122628,_0x3f199b=this[_0x2faad3(0x3b5)][_0x2faad3(0x288)](_0x2b1686);return _0x3f199b!==void 0x0&&window[_0x2faad3(0x205)](_0x3f199b),this['_localStorageService'][_0x2faad3(0x394)](_0x1062f6['getLocalCacheKey'](_0x2b1686),this[_0x2faad3(0x178)][_0x2faad3(0x288)](_0x2b1686))[_0x2faad3(0x279)](()=>this[_0x2faad3(0x3b5)][_0x2faad3(0x16d)](_0x2b1686));}async[_0x122628(0x1c8)](){const _0x59809f=_0x122628,_0x197374=[];this[_0x59809f(0x3b5)]['forEach']((_0x5544fd,_0x4937d9)=>{const _0x4768a7=_0x59809f;window[_0x4768a7(0x205)](_0x5544fd),_0x197374['push'](this[_0x4768a7(0x19d)](_0x4937d9)['then'](()=>{const _0x9eb1ae=_0x4768a7;this[_0x9eb1ae(0x3b5)][_0x9eb1ae(0x16d)](_0x4937d9);}));}),await Promise[_0x59809f(0x289)](_0x197374);}};_0x286c51=_0x458bc6([_0x57fcd3(0x0,_0x3dc819[_0x122628(0x2be)]),_0x57fcd3(0x1,_0x3dc819[_0x122628(0x38e)]),_0x57fcd3(0x2,_0x3dc819['Inject'](_0x40fcc9['RevisionService']))],_0x286c51);class _0x4c5d8a extends _0x3dc819[_0x122628(0x3d7)]{constructor(){const _0x2e3f53=_0x122628;super(),_0x1e4415(this,'urlChange$'),this[_0x2e3f53(0x26b)]=_0x5c682c[_0x2e3f53(0x37b)](window,_0x2e3f53(0x191))[_0x2e3f53(0x3aa)](_0x5c682c['takeUntil'](this[_0x2e3f53(0x252)]),_0x5c682c[_0x2e3f53(0x2df)](0x1),_0x5c682c[_0x2e3f53(0x317)](void 0x0));}[_0x122628(0x2b3)](_0x4878c2,_0x86ff10,_0x2a51df=!0x1){const _0x337771=_0x122628,_0x9740b5=new URL(window['location'][_0x337771(0x16f)]);_0x9740b5[_0x337771(0x232)][_0x337771(0x2d5)](_0x4878c2,_0x86ff10),_0x2a51df?window['history']['replaceState']('','',_0x9740b5[_0x337771(0x170)]()):window['history'][_0x337771(0x2f7)]('','',_0x9740b5[_0x337771(0x170)]());}[_0x122628(0x2e6)](_0x375759,_0x2994f9=!0x1){const _0x4eafee=_0x122628,_0x2a15a2=new URL(window[_0x4eafee(0x2d8)][_0x4eafee(0x16f)]);_0x2a15a2[_0x4eafee(0x232)][_0x4eafee(0x16d)](_0x375759),_0x2994f9?window[_0x4eafee(0x2b0)][_0x4eafee(0x1d3)]('','',_0x2a15a2['toString']()):window[_0x4eafee(0x2b0)][_0x4eafee(0x2f7)]('','',_0x2a15a2['toString']());}[_0x122628(0x156)](_0x74c243){const _0x3389f1=_0x122628;var _0x327e65;return(_0x327e65=new URL(window[_0x3389f1(0x2d8)][_0x3389f1(0x16f)])['searchParams'][_0x3389f1(0x288)](_0x74c243))!=null?_0x327e65:void 0x0;}}var _0x55f44a=Object[_0x122628(0x398)],_0x493b4f=Object[_0x122628(0x22e)],_0x523d4e=(_0x5bc192,_0x42faca,_0x49e66b)=>_0x42faca in _0x5bc192?_0x55f44a(_0x5bc192,_0x42faca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49e66b}):_0x5bc192[_0x42faca]=_0x49e66b,_0x2023c3=(_0xa860ab,_0x168425,_0x3d8f59,_0x4237f9)=>{const _0x572528=_0x122628;for(var _0x55ad20=_0x4237f9>0x1?void 0x0:_0x4237f9?_0x493b4f(_0x168425,_0x3d8f59):_0x168425,_0xd3cf88=_0xa860ab[_0x572528(0x3c5)]-0x1,_0x40874d;_0xd3cf88>=0x0;_0xd3cf88--)(_0x40874d=_0xa860ab[_0xd3cf88])&&(_0x55ad20=_0x40874d(_0x55ad20)||_0x55ad20);return _0x55ad20;},_0x387d4c=(_0x2dff44,_0x126273)=>(_0x46a963,_0x351d8c)=>_0x126273(_0x46a963,_0x351d8c,_0x2dff44),_0x126fee=(_0x2994b6,_0x5c8f7d,_0x101aa2)=>_0x523d4e(_0x2994b6,_0x5c8f7d+'',_0x101aa2);const _0x156998=_0x122628(0x265);_0x1ad031[_0x122628(0x290)]=class extends _0x3dc819[_0x122628(0x350)]{constructor(_0x25983b=_0x11888a,_0x59bd3e,_0x4d1b7f,_0x33a703){const _0x1cf5ab=_0x122628;super(),this['_config']=_0x25983b,this['_renderManagerService']=_0x59bd3e,this[_0x1cf5ab(0x157)]=_0x4d1b7f,this['_configService']=_0x33a703;const {..._0x5b63e4}=_0x3dc819[_0x1cf5ab(0x310)]({},_0x11888a,this['_config']);this[_0x1cf5ab(0x32a)][_0x1cf5ab(0x2a0)](_0x149e7d,_0x5b63e4);}[_0x122628(0x237)](){const _0x3ea3ad=_0x122628;this[_0x3ea3ad(0x30b)](),this[_0x3ea3ad(0x353)]();}[_0x122628(0x19e)](){const _0x1f69c0=_0x122628;this[_0x1f69c0(0x2e2)]();}[_0x122628(0x30b)](){const _0x3bc839=_0x122628;var _0x468b47;const _0x4792a8=[[_0x42bb3a],[_0x4da10c],[_0x484246],[_0x5d8230],[_0x39a5b7],[_0x2cfdf3,{'useClass':_0x4c5d8a}],[_0x273bf2[_0x3bc839(0x3cf)],{'useClass':_0x273bf2['WebSocketService']}],[_0x1062f6[_0x3bc839(0x21e)],{'useClass':_0x286c51}],[_0x1ad031[_0x3bc839(0x3cd)]],[_0x3a6115],[_0x34bb21],[_0x2ed875],[_0x5d143f],[_0x1ad031['CollaborationDataLoaderController']]];_0x3dc819['registerDependencies'](this[_0x3bc839(0x157)],_0x3dc819[_0x3bc839(0x1fd)](_0x4792a8,(_0x468b47=this['_config'])==null?void 0x0:_0x468b47['override']));}[_0x122628(0x2e2)](){const _0x48eba4=_0x122628;this[_0x48eba4(0x3e3)](this['_renderManagerService']['registerRenderModule'](_0x3dc819[_0x48eba4(0x34b)][_0x48eba4(0x179)],[_0x44c46c])),this[_0x48eba4(0x3e3)](this[_0x48eba4(0x14f)][_0x48eba4(0x246)](_0x3dc819[_0x48eba4(0x34b)][_0x48eba4(0x325)],[_0x5552a7]));}['_initDependencies'](){const _0x5580a9=_0x122628;_0x3dc819[_0x5580a9(0x18d)](this[_0x5580a9(0x157)],[[_0x2ed875],[_0x1ad031['DesktopCollaborationStatusDisplayController']],[_0x3a6115],[_0x34bb21],[_0x1ad031[_0x5580a9(0x377)]]]);}},_0x126fee(_0x1ad031[_0x122628(0x290)],_0x122628(0x1fc),_0x156998),_0x1ad031['UniverCollaborationClientUIPlugin']=_0x2023c3([_0x3dc819[_0x122628(0x2bc)](_0x1062f6['UniverCollaborationClientPlugin']),_0x387d4c(0x1,_0x49d167[_0x122628(0x198)]),_0x387d4c(0x2,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x38a)])),_0x387d4c(0x3,_0x3dc819[_0x122628(0x2be)])],_0x1ad031['UniverCollaborationClientUIPlugin']);var _0x485886=Object[_0x122628(0x22e)],_0x26321f=(_0xeede42,_0x40773d,_0x1a69db,_0x5272bd)=>{for(var _0xe79005=_0x5272bd>0x1?void 0x0:_0x5272bd?_0x485886(_0x40773d,_0x1a69db):_0x40773d,_0x469d72=_0xeede42['length']-0x1,_0x2782aa;_0x469d72>=0x0;_0x469d72--)(_0x2782aa=_0xeede42[_0x469d72])&&(_0xe79005=_0x2782aa(_0xe79005)||_0xe79005);return _0xe79005;},_0x841e9a=(_0x192eb1,_0x10257d)=>(_0x4da092,_0x4240b2)=>_0x10257d(_0x4da092,_0x4240b2,_0x192eb1);_0x1ad031[_0x122628(0x364)]=class extends _0x1062f6['CollaborationSocketService']{constructor(_0x464b82,_0x782136,_0x4b34d5,_0x205da2,_0x10654f){super(_0x464b82,_0x782136,_0x4b34d5,_0x205da2,_0x10654f);}async[_0x122628(0x2aa)](_0x5b7625){const _0x3fe07d=_0x122628,_0x46e935=await this[_0x3fe07d(0x2cd)](),_0xb522f6=this[_0x3fe07d(0x378)](_0x5b7625,_0x46e935);return this[_0x3fe07d(0x27a)](_0xb522f6);}[_0x122628(0x378)](_0x3dea46,_0x1fa55d){const _0x4d75b5=_0x122628,_0x59dae4=typeof window>'u'?new URL(_0x3dea46):new URL(_0x3dea46,window['location'][_0x4d75b5(0x385)]);_0x59dae4[_0x4d75b5(0x232)][_0x4d75b5(0x2d5)](_0x4d75b5(0x2dc),_0x1fa55d);const _0x3f20ba=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4d75b5(0x2d8)]['search']);return _0x3f20ba[_0x4d75b5(0x288)](_0x4d75b5(0x15f))&&_0x59dae4[_0x4d75b5(0x232)][_0x4d75b5(0x2d5)](_0x4d75b5(0x15f),_0x3f20ba[_0x4d75b5(0x288)](_0x4d75b5(0x15f))),_0x59dae4[_0x4d75b5(0x170)]();}async['_getSessionTicket'](){const _0x55fd3f=_0x122628;var _0x539524,_0x4f0a45,_0x228b92;const _0x57283f=this[_0x55fd3f(0x32a)][_0x55fd3f(0x17d)](_0x1062f6['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x208fba=(_0x539524=_0x57283f==null?void 0x0:_0x57283f[_0x55fd3f(0x3b2)])!=null?_0x539524:_0x1062f6[_0x55fd3f(0x2d0)];return(_0x228b92=(_0x4f0a45=(await this[_0x55fd3f(0x334)]['get'](_0x208fba,{'headers':{'Content-Type':'application/json'}}))[_0x55fd3f(0x3e8)])==null?void 0x0:_0x4f0a45[_0x55fd3f(0x2f6)])!=null?_0x228b92:'';}},_0x1ad031[_0x122628(0x364)]=_0x26321f([_0x841e9a(0x0,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x38a)])),_0x841e9a(0x1,_0x3dc819['Inject'](_0x273bf2[_0x122628(0x2fb)])),_0x841e9a(0x2,_0x3dc819[_0x122628(0x2be)]),_0x841e9a(0x3,_0x3dc819[_0x122628(0x23d)]),_0x841e9a(0x4,_0x40fcc9[_0x122628(0x1b5)])],_0x1ad031[_0x122628(0x364)]);const _0x55c851=0x7530,_0xd6d8c9=_0x122628(0x183);class _0x58fdd5 extends _0x3dc819['Disposable']{constructor(){const _0x236e7a=_0x122628;super(),_0x1e4415(this,_0x236e7a(0x316),_0x3dc819[_0x236e7a(0x2db)]()),_0x1e4415(this,'_selfUnitIDs',new Set()),_0x1e4415(this,'_unitOnClients',new Map()),_0x1e4415(this,_0x236e7a(0x318),null),_0x1e4415(this,_0x236e7a(0x3ae),new Map()),_0x1e4415(this,_0x236e7a(0x3da),new Map()),this[_0x236e7a(0x23b)]();}[_0x122628(0x37e)](){const _0x53e665=_0x122628;super['dispose'](),this[_0x53e665(0x3ae)]['forEach']((_0x5dd8a2,_0x31d060)=>this[_0x53e665(0x35a)](_0x31d060)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x53e665(0x318)]);}[_0x122628(0x188)](_0x407179){const _0x379df2=_0x122628;return this[_0x379df2(0x370)](_0x407179)[_0x379df2(0x3aa)](_0x5c682c[_0x379df2(0x2ac)]());}['editingUnit'](_0x580330){const _0x4ec3b4=_0x122628;this[_0x4ec3b4(0x256)][_0x4ec3b4(0x234)]===0x0&&this[_0x4ec3b4(0x162)](),this['_selfUnitIDs'][_0x4ec3b4(0x3c6)](_0x580330),this[_0x4ec3b4(0x3dc)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x580330],'isForwarded':!0x1});}[_0x122628(0x211)](_0x2b4074){const _0x2cce0b=_0x122628;this[_0x2cce0b(0x256)][_0x2cce0b(0x16d)](_0x2b4074),this['_selfUnitIDs']['size']===0x0&&this[_0x2cce0b(0x318)]&&window['clearInterval'](this[_0x2cce0b(0x318)]);}[_0x122628(0x23b)](){const _0xd99333=_0x122628;this[_0xd99333(0x3e3)](_0x3dc819['toDisposable'](_0x5c682c['fromEvent'](window,_0xd99333(0x25c))['subscribe'](_0x3b7c92=>{const _0x3e7db4=_0xd99333;if(_0x3b7c92[_0x3e7db4(0x267)]!==_0xd6d8c9||!_0x3b7c92[_0x3e7db4(0x242)])return;const _0x24d113=JSON[_0x3e7db4(0x1a5)](_0x3b7c92[_0x3e7db4(0x242)]);this[_0x3e7db4(0x296)](_0x24d113);}))),window[_0xd99333(0x186)](_0xd99333(0x2cc),()=>this[_0xd99333(0x3dc)]({'type':0x1,'memberID':this[_0xd99333(0x316)],'unitIDs':Array['from'](this[_0xd99333(0x256)])}));}[_0x122628(0x296)](_0x39aa84){const _0x5a481f=_0x122628;switch(_0x39aa84[_0x5a481f(0x28e)]){case 0x0:this[_0x5a481f(0x2d3)](_0x39aa84);break;case 0x1:this[_0x5a481f(0x254)](_0x39aa84);break;case 0x2:this['_handleHeartbeatEvent'](_0x39aa84);break;}}[_0x122628(0x2d3)](_0x433090){const _0x4ab36a=_0x122628,{unitIDs:_0x988f43,memberID:_0x3c717b,isForwarded:_0x38a7b7}=_0x433090;_0x988f43[_0x4ab36a(0x164)](_0x16e507=>{const _0x160bb4=_0x4ab36a;if(!_0x38a7b7&&this['_unitOnClients'][_0x160bb4(0x2e7)](_0x16e507)&&this[_0x160bb4(0x370)](_0x16e507)[_0x160bb4(0x37f)](_0x1062f6[_0x160bb4(0x1b4)][_0x160bb4(0x285)]),!this[_0x160bb4(0x1dc)][_0x160bb4(0x2e7)](_0x16e507)||!this[_0x160bb4(0x1dc)]['get'](_0x16e507)[_0x160bb4(0x2e7)](_0x3c717b)){const _0x39382e=this[_0x160bb4(0x1dc)][_0x160bb4(0x288)](_0x16e507)||new Set();_0x39382e['add'](_0x3c717b),this[_0x160bb4(0x1dc)][_0x160bb4(0x2d5)](_0x16e507,_0x39382e),this['_scheduleClearOtherTimer'](_0x3c717b);}}),_0x38a7b7||this[_0x4ab36a(0x3dc)]({'type':0x0,'memberID':this[_0x4ab36a(0x316)],'unitIDs':[...this[_0x4ab36a(0x256)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4b043e){const _0x3c277e=_0x122628;this['_removeClearOtherTimer'](_0x4b043e);const _0xecdb34=window['setTimeout'](()=>{const _0x5052f9=_0x3059;this[_0x5052f9(0x1dc)][_0x5052f9(0x164)](_0x4920d0=>{const _0x497cca=_0x5052f9;_0x4920d0[_0x497cca(0x16d)](_0x4b043e);});},_0x55c851*0x2);this[_0x3c277e(0x3ae)][_0x3c277e(0x2d5)](_0x4b043e,_0xecdb34);}[_0x122628(0x35a)](_0x274daa){const _0x54d851=_0x122628;if(this[_0x54d851(0x3ae)][_0x54d851(0x2e7)](_0x274daa)){const _0x412d64=this[_0x54d851(0x3ae)][_0x54d851(0x288)](_0x274daa);_0x412d64&&window['clearTimeout'](_0x412d64),this[_0x54d851(0x3ae)][_0x54d851(0x2d5)](_0x274daa,null);}}[_0x122628(0x254)](_0x1f44cf){const _0xe4cc7a=_0x122628,{memberID:_0x44d259,unitIDs:_0x4c29f0}=_0x1f44cf;_0x4c29f0[_0xe4cc7a(0x164)](_0x36a16c=>{const _0x212a52=_0xe4cc7a;var _0x2e8fec;const _0x25412e=this['_unitOnClients']['get'](_0x36a16c);_0x25412e&&(_0x25412e[_0x212a52(0x16d)](_0x44d259),(_0x2e8fec=this[_0x212a52(0x370)](_0x36a16c))==null||_0x2e8fec[_0x212a52(0x37f)](_0x25412e[_0x212a52(0x234)]===0x0?_0x1062f6[_0x212a52(0x1b4)][_0x212a52(0x1e6)]:_0x1062f6[_0x212a52(0x1b4)][_0x212a52(0x285)]));}),this[_0xe4cc7a(0x35a)](_0x44d259);}['_handleHeartbeatEvent'](_0x304875){this['_scheduleClearOtherTimer'](_0x304875['memberID']);}[_0x122628(0x3dc)](_0x3d041b){const _0x5cbeae=_0x122628;localStorage['setItem'](_0xd6d8c9,JSON[_0x5cbeae(0x3c0)](_0x3d041b));}[_0x122628(0x162)](){const _0x1921e7=_0x122628;this[_0x1921e7(0x318)]=window[_0x1921e7(0x160)](()=>{const _0x520b9e=_0x1921e7;this[_0x520b9e(0x3dc)]({'type':0x2,'memberID':this[_0x520b9e(0x316)]});},_0x55c851);}['_ensureSubject'](_0x39fbb1){const _0x1a98b7=_0x122628;return this[_0x1a98b7(0x3da)][_0x1a98b7(0x2e7)](_0x39fbb1)||this[_0x1a98b7(0x3da)]['set'](_0x39fbb1,new _0x5c682c[(_0x1a98b7(0x2e8))](_0x1062f6[_0x1a98b7(0x1b4)][_0x1a98b7(0x1e6)])),this[_0x1a98b7(0x3da)][_0x1a98b7(0x288)](_0x39fbb1);}}var _0x4160bd=(_0x563d93=>(_0x563d93[_0x563d93[_0x122628(0x1c6)]=0x0]=_0x122628(0x1c6),_0x563d93[_0x563d93['OK']=0x1]='OK',_0x563d93[_0x563d93[_0x122628(0x1b2)]=0x2]=_0x122628(0x1b2),_0x563d93[_0x563d93[_0x122628(0x1b1)]=0x3]=_0x122628(0x1b1),_0x563d93[_0x563d93['NOT_FOUND']=0x4]='NOT_FOUND',_0x563d93[_0x563d93[_0x122628(0x3de)]=0x5]=_0x122628(0x3de),_0x563d93[_0x563d93[_0x122628(0x367)]=0x6]='ALREADY_EXISTS',_0x563d93[_0x563d93[_0x122628(0x29a)]=0x7]=_0x122628(0x29a),_0x563d93[_0x563d93['TOO_MANY_REQUESTS']=0x8]=_0x122628(0x1a7),_0x563d93[_0x563d93[_0x122628(0x39c)]=0x9]=_0x122628(0x39c),_0x563d93[_0x563d93[_0x122628(0x2af)]=0xa]=_0x122628(0x2af),_0x563d93[_0x563d93['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x122628(0x14e),_0x563d93[_0x563d93[_0x122628(0x2b6)]=0x1771]=_0x122628(0x2b6),_0x563d93[_0x563d93[_0x122628(0x1da)]=0x1772]=_0x122628(0x1da),_0x563d93[_0x563d93[_0x122628(0x17a)]=0x1773]=_0x122628(0x17a),_0x563d93[_0x563d93[_0x122628(0x229)]=0x1b59]=_0x122628(0x229),_0x563d93[_0x563d93[_0x122628(0x22c)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x563d93[_0x563d93[_0x122628(0x1a1)]=0x1b5b]=_0x122628(0x1a1),_0x563d93[_0x563d93['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x122628(0x3c8),_0x563d93[_0x563d93[_0x122628(0x369)]=0x1b5d]=_0x122628(0x369),_0x563d93[_0x563d93[_0x122628(0x208)]=0x1f41]=_0x122628(0x208),_0x563d93[_0x563d93['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x563d93[_0x563d93['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x122628(0x30d),_0x563d93[_0x563d93[_0x122628(0x2a7)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x563d93[_0x563d93[_0x122628(0x23c)]=0x232c]=_0x122628(0x23c),_0x563d93[_0x563d93[_0x122628(0x227)]=0x232d]=_0x122628(0x227),_0x563d93[_0x563d93['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x122628(0x23f),_0x563d93[_0x563d93['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x563d93[_0x563d93[_0x122628(0x31c)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x563d93[_0x563d93[_0x122628(0x304)]=0x2714]=_0x122628(0x304),_0x563d93[_0x563d93['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x122628(0x1fe),_0x563d93[_0x563d93[_0x122628(0x1d5)]=0x271b]=_0x122628(0x1d5),_0x563d93[_0x563d93[_0x122628(0x1f5)]=0x271c]=_0x122628(0x1f5),_0x563d93[_0x563d93[_0x122628(0x3b1)]=0x271d]=_0x122628(0x3b1),_0x563d93[_0x563d93[_0x122628(0x262)]=0x271e]=_0x122628(0x262),_0x563d93[_0x563d93[_0x122628(0x1ae)]=0x271f]=_0x122628(0x1ae),_0x563d93[_0x563d93[_0x122628(0x2d7)]=0x2af9]=_0x122628(0x2d7),_0x563d93[_0x563d93[_0x122628(0x1ce)]=0x2ee1]=_0x122628(0x1ce),_0x563d93[_0x563d93[_0x122628(0x2c9)]=0x2ee2]=_0x122628(0x2c9),_0x563d93[_0x563d93[_0x122628(0x328)]=0x2ee3]=_0x122628(0x328),_0x563d93[_0x563d93['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x563d93[_0x563d93[_0x122628(0x362)]=0x2ee5]=_0x122628(0x362),_0x563d93[_0x563d93[_0x122628(0x343)]=0x32c9]=_0x122628(0x343),_0x563d93[_0x563d93[_0x122628(0x261)]=0x32ca]=_0x122628(0x261),_0x563d93[_0x563d93[_0x122628(0x249)]=0x32cb]=_0x122628(0x249),_0x563d93[_0x563d93[_0x122628(0x2f5)]=-0x1]=_0x122628(0x2f5),_0x563d93))(_0x4160bd||{}),_0x1907dc=Object[_0x122628(0x22e)],_0x4b1004=(_0x12c027,_0x48c223,_0x701b7f,_0x4f6c96)=>{const _0x526e0f=_0x122628;for(var _0x23b777=_0x4f6c96>0x1?void 0x0:_0x4f6c96?_0x1907dc(_0x48c223,_0x701b7f):_0x48c223,_0x20ebf2=_0x12c027[_0x526e0f(0x3c5)]-0x1,_0x2eeb89;_0x20ebf2>=0x0;_0x20ebf2--)(_0x2eeb89=_0x12c027[_0x20ebf2])&&(_0x23b777=_0x2eeb89(_0x23b777)||_0x23b777);return _0x23b777;},_0x30d49a=(_0x163a23,_0x2a65ea)=>(_0x4c5558,_0x5a6cbd)=>_0x2a65ea(_0x4c5558,_0x5a6cbd,_0x163a23);_0x1ad031[_0x122628(0x189)]=class extends _0x3dc819[_0x122628(0x219)]{constructor(_0x19c046,_0x261d83,_0x5d0b8b){const _0x1a1cdc=_0x122628;super(),this[_0x1a1cdc(0x1d0)]=_0x19c046,this[_0x1a1cdc(0x334)]=_0x261d83,this[_0x1a1cdc(0x32a)]=_0x5d0b8b;}async[_0x122628(0x346)](_0x58b44d,_0x3f8368,_0x1080dd,..._0x238215){const _0x5a237d=_0x122628;var _0x2eac62,_0x3ced1c,_0x23473f,_0xcb2690;const _0x9408af=this[_0x5a237d(0x1d0)][_0x5a237d(0x270)]();if(!_0x9408af)throw new Error(_0x5a237d(0x324));const _0x469cbc=((_0x2eac62=this[_0x5a237d(0x32a)][_0x5a237d(0x17d)](_0x1062f6[_0x5a237d(0x2bd)]))!=null?_0x2eac62:_0x1062f6[_0x5a237d(0x1ed)])+'/'+_0x58b44d+_0x5a237d(0x26c)+_0x3f8368,_0x5d04ac=new URL(window[_0x5a237d(0x2d8)][_0x5a237d(0x16f)]),_0x5ab2f2={'scriptId':_0x58b44d,'runId':(_0x3ced1c=_0x5d04ac['searchParams'][_0x5a237d(0x288)](_0x5a237d(0x15f)))!=null?_0x3ced1c:'','function':_0x3f8368,'unitId':_0x9408af[_0x5a237d(0x399)](),'argsOfFunction':JSON[_0x5a237d(0x3c0)](_0x238215),'invokeId':(_0x23473f=_0x1080dd['invokeId'])!=null?_0x23473f:'','executionId':(_0xcb2690=_0x1080dd[_0x5a237d(0x20f)])!=null?_0xcb2690:''};try{const _0x247fcd=await this[_0x5a237d(0x334)][_0x5a237d(0x31d)](_0x469cbc,{'body':_0x5ab2f2});return _0x247fcd['body'][_0x5a237d(0x342)]&&_0x247fcd[_0x5a237d(0x3e8)]['error']['code']!==_0x4160bd['OK']?_0x5a237d(0x3d2):_0x247fcd[_0x5a237d(0x3e8)][_0x5a237d(0x1dd)];}catch{return'Failed';}}},_0x1ad031[_0x122628(0x189)]=_0x4b1004([_0x30d49a(0x0,_0x3dc819['IUniverInstanceService']),_0x30d49a(0x1,_0x3dc819[_0x122628(0x393)](_0x273bf2['HTTPService'])),_0x30d49a(0x2,_0x3dc819['IConfigService'])],_0x1ad031['RemoteUniscriptService']),_0x1ad031[_0x122628(0x1e2)]=_0x186063,_0x1ad031[_0x122628(0x163)]=_0x2cfdf3,_0x1ad031['SheetCollabCursorShape']=_0xc4533c,_0x1ad031['WebBrowserSingleActiveUnitService']=_0x58fdd5,_0x1ad031[_0x122628(0x1a8)]=_0x4c5d8a,Object['defineProperty'](_0x1ad031,Symbol['toStringTag'],{'value':_0x122628(0x349)});}));