@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505161607 → 0.7.0-nightly.202505181606

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 _0x558d(_0x23a4e2,_0x218254){const _0x16ad01=_0x16ad();return _0x558d=function(_0x558d70,_0x2645f8){_0x558d70=_0x558d70-0x80;let _0x2e7c78=_0x16ad01[_0x558d70];return _0x2e7c78;},_0x558d(_0x23a4e2,_0x218254);}(function(_0x2c10b5,_0x2ed8c7){const _0x5d90e9=_0x558d,_0xff3808=_0x2c10b5();while(!![]){try{const _0x3eb726=parseInt(_0x5d90e9(0x8b))/0x1+-parseInt(_0x5d90e9(0x21c))/0x2+parseInt(_0x5d90e9(0x123))/0x3*(-parseInt(_0x5d90e9(0x194))/0x4)+-parseInt(_0x5d90e9(0x242))/0x5+-parseInt(_0x5d90e9(0xce))/0x6*(parseInt(_0x5d90e9(0x2a6))/0x7)+parseInt(_0x5d90e9(0x120))/0x8*(-parseInt(_0x5d90e9(0x254))/0x9)+parseInt(_0x5d90e9(0x270))/0xa*(parseInt(_0x5d90e9(0xf8))/0xb);if(_0x3eb726===_0x2ed8c7)break;else _0xff3808['push'](_0xff3808['shift']());}catch(_0x3eb69e){_0xff3808['push'](_0xff3808['shift']());}}}(_0x16ad,0x92121),function(_0x4b285b,_0x17b39f){const _0x344df2=_0x558d;typeof exports==_0x344df2(0x314)&&typeof module<'u'?_0x17b39f(exports,require('@univerjs-pro/collaboration-client'),require(_0x344df2(0x12a)),require(_0x344df2(0x22f)),require(_0x344df2(0x94)),require(_0x344df2(0x2a3)),require(_0x344df2(0x25c)),require(_0x344df2(0xd1)),require(_0x344df2(0x1b9)),require(_0x344df2(0x1e6)),require(_0x344df2(0x30c)),require(_0x344df2(0x1f9)),require(_0x344df2(0x258)),require(_0x344df2(0xec)),require(_0x344df2(0x247)),require(_0x344df2(0x1a4)),require(_0x344df2(0x144)),require(_0x344df2(0x8e)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x344df2(0x2f7)]?define([_0x344df2(0x170),_0x344df2(0x178),_0x344df2(0x12a),'@univerjs/engine-render',_0x344df2(0x94),_0x344df2(0x2a3),_0x344df2(0x25c),_0x344df2(0xd1),_0x344df2(0x1b9),'@univerjs-pro/collaboration',_0x344df2(0x30c),_0x344df2(0x1f9),_0x344df2(0x258),'@univerjs/sheets-ui',_0x344df2(0x247),_0x344df2(0x1a4),_0x344df2(0x144),_0x344df2(0x8e),_0x344df2(0xdc)],_0x17b39f):(_0x4b285b=typeof globalThis<'u'?globalThis:_0x4b285b||self,_0x17b39f(_0x4b285b[_0x344df2(0x161)]={},_0x4b285b[_0x344df2(0x135)],_0x4b285b[_0x344df2(0x9b)],_0x4b285b[_0x344df2(0x208)],_0x4b285b['UniverNetwork'],_0x4b285b[_0x344df2(0x262)],_0x4b285b[_0x344df2(0xb4)],_0x4b285b[_0x344df2(0xd1)],_0x4b285b['UniverDocs'],_0x4b285b['UniverProCollaboration'],_0x4b285b[_0x344df2(0xde)],_0x4b285b['UniverSheets'],_0x4b285b[_0x344df2(0xd1)][_0x344df2(0x249)],_0x4b285b[_0x344df2(0x311)],_0x4b285b[_0x344df2(0xd8)],_0x4b285b[_0x344df2(0x13b)],_0x4b285b[_0x344df2(0x98)],_0x4b285b[_0x344df2(0xd8)],_0x4b285b[_0x344df2(0x275)]));}(this,function(_0x441943,_0x409e59,_0x4cc78f,_0x5e2b74,_0x38d9ce,_0x1fbd92,_0xc764a2,_0x4e4d08,_0x4029db,_0x20181b,_0xac5091,_0x573987,_0xfd837e,_0x564f17,_0x36d477,_0x320f27,_0x5aae40,_0x32cac2,_0x2cd39d){'use strict';const _0x30e6e2=_0x558d;var _0x2f4494=Object[_0x30e6e2(0x151)],_0x5bbadc=(_0x5ab2e3,_0x1c950a,_0x17a8a6)=>_0x1c950a in _0x5ab2e3?_0x2f4494(_0x5ab2e3,_0x1c950a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17a8a6}):_0x5ab2e3[_0x1c950a]=_0x17a8a6,_0x4751bc=(_0x26584e,_0x479dd9,_0x467b88)=>_0x5bbadc(_0x26584e,typeof _0x479dd9!=_0x30e6e2(0x214)?_0x479dd9+'':_0x479dd9,_0x467b88),_0x3a9e13=Object[_0x30e6e2(0x2d6)],_0xbd544c=(_0x2465ea,_0x334634,_0x232b88,_0x32c9a6)=>{const _0x46f7b2=_0x30e6e2;for(var _0x413c9f=_0x32c9a6>0x1?void 0x0:_0x32c9a6?_0x3a9e13(_0x334634,_0x232b88):_0x334634,_0x11dcf3=_0x2465ea[_0x46f7b2(0x256)]-0x1,_0x53c15f;_0x11dcf3>=0x0;_0x11dcf3--)(_0x53c15f=_0x2465ea[_0x11dcf3])&&(_0x413c9f=_0x53c15f(_0x413c9f)||_0x413c9f);return _0x413c9f;},_0x5e3f39=(_0x1287da,_0xc58ca4)=>(_0x22381c,_0x1a51cf)=>_0xc58ca4(_0x22381c,_0x1a51cf,_0x1287da);let _0x8646b1=class extends _0x4cc78f[_0x30e6e2(0x238)]{constructor(_0x19aa3d,_0x39f16f){const _0x7e63d=_0x30e6e2;super(),this[_0x7e63d(0x111)]=_0x19aa3d,this['_imageIoService']=_0x39f16f,this[_0x7e63d(0x23e)]();}[_0x30e6e2(0x23e)](){const _0x397a0d=_0x30e6e2,_0x19d5b1=this;this[_0x397a0d(0x1b4)](this['_docClipboardService'][_0x397a0d(0x175)]({'onBeforePasteImage':async _0x571266=>{const _0x5b65f3=_0x397a0d,_0xd49a2b=await _0x19d5b1[_0x5b65f3(0x246)]['saveImage'](_0x571266);return _0xd49a2b?{'source':_0xd49a2b[_0x5b65f3(0x1ad)],'imageSourceType':_0xd49a2b[_0x5b65f3(0x24f)]}:null;}}));}};_0x8646b1=_0xbd544c([_0x5e3f39(0x0,_0x1fbd92['IDocClipboardService']),_0x5e3f39(0x1,_0xc764a2[_0x30e6e2(0x1e7)])],_0x8646b1);const _0x10e096=[_0x30e6e2(0x15d),_0x30e6e2(0xc1),'green.600','red.300',_0x30e6e2(0x1f6),_0x30e6e2(0x1b3)];class _0x49cf7f extends _0x4cc78f[_0x30e6e2(0xcf)]{constructor(){const _0x49a3c1=_0x30e6e2;super(...arguments),_0x4751bc(this,_0x49a3c1(0x217),new Map()),_0x4751bc(this,'_colorIndex',0x0);}[_0x30e6e2(0x17c)](_0x46a864){const _0x595514=_0x30e6e2;if(this[_0x595514(0x217)][_0x595514(0x30b)](_0x46a864))return this[_0x595514(0x217)][_0x595514(0x27c)](_0x46a864);const _0x6debc3=_0x10e096[this['_colorIndex']];return this[_0x595514(0x21b)]=(this[_0x595514(0x21b)]+0x1)%_0x10e096[_0x595514(0x256)],this[_0x595514(0x217)][_0x595514(0x220)](_0x46a864,_0x6debc3),_0x6debc3;}}function _0x4c70ee(_0x1105a3){let _0x5d5008='';for(const _0x3331f3 of _0x1105a3){const {startOffset:_0xc0ec06,endOffset:_0x2ee9be,isActive:_0x136a9d,rangeType:_0x46d792,segmentId:_0x7e1894,segmentPage:_0x1256dc}=_0x3331f3;_0x5d5008['length']&&(_0x5d5008+=','),_0x5d5008+=_0xc0ec06+':'+_0x2ee9be+':'+(_0x136a9d?'1':'0')+':'+_0x46d792+':'+_0x7e1894+':'+_0x1256dc;}return _0x5d5008;}function _0x256704(_0x46d28d){const _0x10d602=_0x30e6e2,_0x1f1316=_0x46d28d[_0x10d602(0xcb)](','),_0x4a6b02=[];for(const _0x5854bc of _0x1f1316){const [_0x2deab6,_0x1bb193,_0x4ed124,_0x15d163,_0x3683bc,_0x5097eb]=_0x5854bc['split'](':');_0x4a6b02[_0x10d602(0x285)]({'startOffset':Number(_0x2deab6),'endOffset':Number(_0x1bb193),'collapsed':_0x2deab6===_0x1bb193,'isActive':_0x4ed124==='1','rangeType':_0x15d163===_0x4cc78f[_0x10d602(0x20d)][_0x10d602(0x1c4)]?_0x4cc78f[_0x10d602(0x20d)][_0x10d602(0x1c4)]:_0x4cc78f[_0x10d602(0x20d)][_0x10d602(0x149)],'segmentId':typeof _0x3683bc==_0x10d602(0x1e5)?String(_0x3683bc):'','segmentPage':Number(_0x5097eb!=null?_0x5097eb:-0x1)});}return _0x4a6b02[_0x10d602(0x2bd)](_0xbdd2dc=>_0xbdd2dc[_0x10d602(0x24b)])||(_0x4a6b02[0x0][_0x10d602(0x24b)]=!0x0),_0x4a6b02;}class _0x3b65ae extends _0x4cc78f[_0x30e6e2(0x238)]{constructor(){const _0x1f520a=_0x30e6e2;super(...arguments),_0x4751bc(this,_0x1f520a(0x20f),new _0x4e4d08[(_0x1f520a(0x2de))](null)),_0x4751bc(this,'collabCursorState$',this[_0x1f520a(0x20f)][_0x1f520a(0x2cb)]());}[_0x30e6e2(0x313)](_0xfe29b9){const _0x5144b3=_0x30e6e2,{unitID:_0x5a8d96,memberID:_0x6cb136,textRanges:_0x18fbcd}=_0xfe29b9,_0xd9d8b4=_0x4c70ee(_0x18fbcd);if(_0xd9d8b4==='')return;const _0x496e09={'unitID':_0x5a8d96,'memberID':_0x6cb136,'selection':_0xd9d8b4};this[_0x5144b3(0x20f)][_0x5144b3(0x2a2)](_0x496e09);}}var _0x308140=Object[_0x30e6e2(0x2d6)],_0x420e65=(_0x106eda,_0x41b23f,_0x57e385,_0x4c0471)=>{const _0x502f0f=_0x30e6e2;for(var _0x1197b7=_0x4c0471>0x1?void 0x0:_0x4c0471?_0x308140(_0x41b23f,_0x57e385):_0x41b23f,_0x569bec=_0x106eda[_0x502f0f(0x256)]-0x1,_0x5bc08a;_0x569bec>=0x0;_0x569bec--)(_0x5bc08a=_0x106eda[_0x569bec])&&(_0x1197b7=_0x5bc08a(_0x1197b7)||_0x1197b7);return _0x1197b7;},_0x5c6802=(_0x43727f,_0x9fcb8a)=>(_0x415d7f,_0x1b4929)=>_0x9fcb8a(_0x415d7f,_0x1b4929,_0x43727f);const _0x17e986=0x12c,_0x5f0e23=0x64;let _0x521ae1=class extends _0x4cc78f[_0x30e6e2(0x238)]{constructor(_0x1a6594,_0xad3f1,_0x2bb178,_0x26943c,_0x50c3e6,_0x34b957,_0x4d37b4,_0x319ab9,_0x146105){const _0x1bb8f7=_0x30e6e2;super(),_0x4751bc(this,'_online',!0x1),_0x4751bc(this,_0x1bb8f7(0x23e),!0x1),_0x4751bc(this,_0x1bb8f7(0x13c),new _0x4e4d08[(_0x1bb8f7(0x2de))](new Map())),_0x4751bc(this,_0x1bb8f7(0x223),this[_0x1bb8f7(0x13c)][_0x1bb8f7(0x2cb)]()),_0x4751bc(this,_0x1bb8f7(0xa5),new _0x4e4d08['BehaviorSubject']([])),_0x4751bc(this,_0x1bb8f7(0x90),this['_roomMembers$'][_0x1bb8f7(0x18f)](_0x4e4d08[_0x1bb8f7(0x1d3)](_0x17e986))),_0x4751bc(this,_0x1bb8f7(0x2c2),_0x4cc78f[_0x1bb8f7(0xc2)](_0x8990ea=>{const _0x11954e=_0x1bb8f7,_0x582c1b={'eventID':_0x20181b['CollaborationEvent'][_0x11954e(0x310)],'data':{'unitID':this[_0x11954e(0x87)],'memberID':this[_0x11954e(0x2ec)]['getMemberID'](),'selection':_0x4c70ee(_0x8990ea)}};this[_0x11954e(0x2ec)]['send'](_0x582c1b,this[_0x11954e(0x87)]);},_0x5f0e23)),(this['unitID']=_0x1a6594,this[_0x1bb8f7(0x2ec)]=_0xad3f1,this[_0x1bb8f7(0x2f0)]=_0x2bb178,this[_0x1bb8f7(0x1c0)]=_0x26943c,this[_0x1bb8f7(0x95)]=_0x50c3e6,this['_syncEditingCollabCursorService']=_0x34b957,this[_0x1bb8f7(0x25b)]=_0x4d37b4,this[_0x1bb8f7(0x15b)]=_0x319ab9,this[_0x1bb8f7(0x11f)]=_0x146105);}get[_0x30e6e2(0xfa)](){const _0x44d06b=_0x30e6e2;return this['_cursorInfo$'][_0x44d06b(0x195)]();}get[_0x30e6e2(0x27e)](){const _0x19e281=_0x30e6e2;return this['_roomMembers$'][_0x19e281(0x195)]();}[_0x30e6e2(0x2dd)](){const _0x1e581f=_0x30e6e2;super[_0x1e581f(0x2dd)](),this['_cursorInfo$'][_0x1e581f(0x2a2)](new Map()),this['_cursorInfo$'][_0x1e581f(0x299)](),this[_0x1e581f(0xa5)][_0x1e581f(0x2a2)]([]),this['_roomMembers$']['complete']();}[_0x30e6e2(0x137)](){const _0x3436cb=_0x30e6e2;this[_0x3436cb(0x23e)]||(this[_0x3436cb(0x23e)]=!0x0,this[_0x3436cb(0x2ec)][_0x3436cb(0x10d)][_0x3436cb(0x18f)](_0x4e4d08[_0x3436cb(0x2cc)](this[_0x3436cb(0x2ae)]))['subscribe'](_0x444c76=>{const _0x3b1366=_0x3436cb;_0x444c76===_0x409e59[_0x3b1366(0x318)][_0x3b1366(0x1bd)]?this[_0x3b1366(0x1f1)]():this[_0x3b1366(0x88)]();}),this[_0x3436cb(0x2ec)]['event$'][_0x3436cb(0x18f)](_0x4e4d08[_0x3436cb(0x2cc)](this[_0x3436cb(0x2ae)]))[_0x3436cb(0x19d)](_0x14b215=>{const _0x3aed58=_0x3436cb,_0x20db35=_0x14b215[_0x3aed58(0x25d)];_0x20db35===_0x20181b[_0x3aed58(0x26f)][_0x3aed58(0x310)]&&this['_onCursorUpdate'](_0x14b215),_0x20db35===_0x20181b[_0x3aed58(0x26f)][_0x3aed58(0x1d2)]&&this[_0x3aed58(0x2d0)](_0x14b215);}),this[_0x3436cb(0x1b4)](this[_0x3436cb(0x11f)][_0x3436cb(0x288)](_0x25e3c0=>{const _0x1e191e=_0x3436cb,_0x481c14=_0x25e3c0[_0x1e191e(0x9f)];_0x481c14!=null&&this[_0x1e191e(0x26c)]&&_0x25e3c0['id']===_0x4029db['SetTextSelectionsOperation']['id']&&_0x481c14['unitId']===this[_0x1e191e(0x87)]&&_0x481c14['isEditing']===!0x1&&_0x481c14[_0x1e191e(0x1f8)][_0x1e191e(0x256)]>0x0&&this['_updateLocalCursor'](_0x481c14[_0x1e191e(0x1f8)]);})),this[_0x3436cb(0x102)][_0x3436cb(0x15f)]['pipe'](_0x4e4d08['takeUntil'](this[_0x3436cb(0x2ae)]))[_0x3436cb(0x19d)](_0x775231=>{const _0x45e8fa=_0x3436cb;if((_0x775231==null?void 0x0:_0x775231[_0x45e8fa(0x87)])!==this[_0x45e8fa(0x87)])return;const _0x59bcb1={'eventID':_0x20181b[_0x45e8fa(0x26f)][_0x45e8fa(0x310)],'data':_0x775231};this[_0x45e8fa(0xc6)](_0x59bcb1);}),this[_0x3436cb(0x1b4)](this['_commandService'][_0x3436cb(0x288)](_0x3c23fa=>{const _0x5bd5ea=_0x3436cb;if(_0x3c23fa['params']==null)return;const _0x434558=_0x3c23fa[_0x5bd5ea(0x9f)];if(_0x3c23fa['id']!==_0x4029db[_0x5bd5ea(0x1fd)]['id']||_0x434558[_0x5bd5ea(0x248)]!==this['unitID'])return;const _0x4a6fb4={'id':'doc.mutation.rich-text-editing','params':_0x434558},_0xcee034=this['cursorInfo'];for(const [_0x25f0c3,_0x5257b4]of _0xcee034){const _0x79153b={'id':_0x5bd5ea(0x1d1),'params':{'unitId':this[_0x5bd5ea(0x87)],'actions':null,'textRanges':_0x5257b4[_0x5bd5ea(0x1f8)]}},_0x58c1b1=this['_transformService'][_0x5bd5ea(0x25e)](_0x4a6fb4,_0x79153b,!0x1);if(_0x20181b[_0x5bd5ea(0x1f0)](_0x58c1b1))throw _0x58c1b1[_0x5bd5ea(0x155)];_0xcee034[_0x5bd5ea(0x220)](_0x25f0c3,{..._0x5257b4,'ranges':_0x58c1b1[_0x5bd5ea(0x2bc)][_0x5bd5ea(0x9f)]['textRanges']});}queueMicrotask(()=>{const _0x126085=_0x5bd5ea;this['_cursorInfo$'][_0x126085(0x2a2)](_0xcee034);});})));}[_0x30e6e2(0xc6)](_0x238562){const _0x48422f=_0x30e6e2;var _0x4dacc9,_0xf2cfd4;const {memberID:_0x1e648d,selection:_0x2abde0}=_0x238562[_0x48422f(0x172)],_0x52f110=_0x256704(_0x2abde0),_0x25b485=(_0xf2cfd4=(_0x4dacc9=this[_0x48422f(0x95)][_0x48422f(0x29e)](this[_0x48422f(0x87)],_0x1e648d))==null?void 0x0:_0x4dacc9[_0x48422f(0xea)])!=null?_0xf2cfd4:'Unknown\x20user',_0x4da176={'color':this[_0x48422f(0x1c0)][_0x48422f(0x17c)](_0x1e648d),'name':_0x25b485,'ranges':_0x52f110},_0x27c2fa=this['cursorInfo'];_0x27c2fa['set'](_0x1e648d,_0x4da176),this[_0x48422f(0x13c)][_0x48422f(0x2a2)](_0x27c2fa);}[_0x30e6e2(0x2d0)](_0x514e6e){const _0x4295fa=_0x30e6e2,{memberID:_0x2ab6ec}=_0x514e6e['data'],_0x4e87f5=this[_0x4295fa(0xfa)];_0x4e87f5['delete'](_0x2ab6ec),this[_0x4295fa(0x13c)]['next'](_0x4e87f5);}['_toggleOnline'](){const _0x39aec3=_0x30e6e2;var _0x3c4e22;if(this[_0x39aec3(0x26c)]=!0x0,((_0x3c4e22=this[_0x39aec3(0x15b)][_0x39aec3(0x2ad)]())==null?void 0x0:_0x3c4e22[_0x39aec3(0x1f4)]())!==this[_0x39aec3(0x87)])return;const _0x3755d9=this[_0x39aec3(0x2f0)][_0x39aec3(0x27c)](_0x4029db['DocSelectionManagerService'])[_0x39aec3(0x204)]();Array[_0x39aec3(0xc7)](_0x3755d9)&&_0x3755d9[_0x39aec3(0x256)]>0x0&&this[_0x39aec3(0x2c2)](_0x3755d9);}['_toggleOffline'](){const _0x5471ae=_0x30e6e2;this[_0x5471ae(0x26c)]=!0x1;}};_0x521ae1=_0x420e65([_0x5c6802(0x2,_0x4cc78f[_0x30e6e2(0x2aa)](_0x4cc78f[_0x30e6e2(0x27d)])),_0x5c6802(0x3,_0x4cc78f[_0x30e6e2(0x2aa)](_0x49cf7f)),_0x5c6802(0x4,_0x4cc78f[_0x30e6e2(0x2aa)](_0x409e59[_0x30e6e2(0x2d7)])),_0x5c6802(0x5,_0x4cc78f[_0x30e6e2(0x2aa)](_0x3b65ae)),_0x5c6802(0x6,_0x20181b[_0x30e6e2(0x12c)]),_0x5c6802(0x7,_0x4cc78f[_0x30e6e2(0x176)]),_0x5c6802(0x8,_0x4cc78f['ICommandService'])],_0x521ae1);var _0x478a3d=Object['getOwnPropertyDescriptor'],_0x4b7156=(_0x2d2371,_0xf8f7ec,_0x142dc0,_0x2d04b9)=>{for(var _0x1a773c=_0x2d04b9>0x1?void 0x0:_0x2d04b9?_0x478a3d(_0xf8f7ec,_0x142dc0):_0xf8f7ec,_0x5b2e57=_0x2d2371['length']-0x1,_0x263a9c;_0x5b2e57>=0x0;_0x5b2e57--)(_0x263a9c=_0x2d2371[_0x5b2e57])&&(_0x1a773c=_0x263a9c(_0x1a773c)||_0x1a773c);return _0x1a773c;},_0x3805af=(_0x9bc211,_0x197442)=>(_0x232a44,_0x4e6267)=>_0x197442(_0x232a44,_0x4e6267,_0x9bc211);const _0x5816f2=0x12c,_0x2a189f=0x64,_0x26bf56=()=>{let _0x16c9fc=[],_0x1c8b59=!0x1;return _0x211fc3=>{_0x16c9fc['push'](_0x211fc3),_0x1c8b59||(_0x1c8b59=!0x0,setTimeout(()=>{_0x16c9fc['forEach'](_0x38331d=>_0x38331d()),_0x16c9fc=[],_0x1c8b59=!0x1;}));};};let _0x47968c=class extends _0x4cc78f[_0x30e6e2(0x238)]{constructor(_0x13717d,_0x3be83c,_0xb63b04,_0x247278,_0x465aa7,_0x398b8c,_0x25fdd6,_0xbcf249){const _0x2b166a=_0x30e6e2;super(),_0x4751bc(this,_0x2b166a(0x26c),!0x1),_0x4751bc(this,_0x2b166a(0x23e),!0x1),_0x4751bc(this,_0x2b166a(0x13c),new _0x4e4d08[(_0x2b166a(0x2de))](new Map())),_0x4751bc(this,_0x2b166a(0x223),this[_0x2b166a(0x13c)][_0x2b166a(0x2cb)]()),_0x4751bc(this,_0x2b166a(0xa5),new _0x4e4d08[(_0x2b166a(0x2de))]([])),_0x4751bc(this,_0x2b166a(0x90),this[_0x2b166a(0xa5)][_0x2b166a(0x18f)](_0x4e4d08[_0x2b166a(0x1d3)](_0x5816f2))),_0x4751bc(this,_0x2b166a(0x2c2),_0x4cc78f[_0x2b166a(0xc2)]((_0x330acd,_0x34a444)=>{const _0x28c469=_0x2b166a,_0x263f3f={'eventID':_0x20181b[_0x28c469(0x26f)][_0x28c469(0x310)],'data':{'unitID':this[_0x28c469(0x87)],'memberID':this[_0x28c469(0x2ec)][_0x28c469(0x192)](),'selection':_0xac5091[_0x28c469(0x10e)](_0x330acd,_0x34a444[_0x28c469(0xfb)])}};this[_0x28c469(0x2ec)][_0x28c469(0x221)](_0x263f3f,this[_0x28c469(0x87)]);},_0x2a189f)),(this[_0x2b166a(0x87)]=_0x13717d,this[_0x2b166a(0x2ec)]=_0x3be83c,this[_0x2b166a(0x2f0)]=_0xb63b04,this[_0x2b166a(0x1c0)]=_0x247278,this[_0x2b166a(0x95)]=_0x465aa7,this[_0x2b166a(0x15b)]=_0x398b8c,this[_0x2b166a(0x11f)]=_0x25fdd6,this[_0x2b166a(0x2ab)]=_0xbcf249);}get['cursorInfo'](){const _0x310598=_0x30e6e2;return this[_0x310598(0x13c)][_0x310598(0x195)]();}get[_0x30e6e2(0x27e)](){const _0x3c1e82=_0x30e6e2;return this[_0x3c1e82(0xa5)][_0x3c1e82(0x195)]();}[_0x30e6e2(0x2dd)](){const _0x2cd6d8=_0x30e6e2;super[_0x2cd6d8(0x2dd)](),this[_0x2cd6d8(0x13c)][_0x2cd6d8(0x2a2)](new Map()),this[_0x2cd6d8(0x13c)][_0x2cd6d8(0x299)](),this['_roomMembers$'][_0x2cd6d8(0x2a2)]([]),this[_0x2cd6d8(0xa5)][_0x2cd6d8(0x299)]();}[_0x30e6e2(0x137)](){const _0x18bd52=_0x30e6e2;this[_0x18bd52(0x23e)]||(this['_init']=!0x0,this[_0x18bd52(0x2ec)][_0x18bd52(0x10d)]['pipe'](_0x4e4d08['takeUntil'](this[_0x18bd52(0x2ae)]))[_0x18bd52(0x19d)](_0x134034=>{const _0x452b67=_0x18bd52;_0x134034===_0x409e59['SessionStatus'][_0x452b67(0x1bd)]?this[_0x452b67(0x1f1)]():this[_0x452b67(0x88)]();}),this[_0x18bd52(0x2ec)]['event$'][_0x18bd52(0x18f)](_0x4e4d08['takeUntil'](this[_0x18bd52(0x2ae)]))[_0x18bd52(0x19d)](_0x2d0fb6=>{const _0x427460=_0x18bd52,_0x147fc1=_0x2d0fb6[_0x427460(0x25d)];_0x147fc1===_0x20181b[_0x427460(0x26f)]['UPDATE_CURSOR']&&this[_0x427460(0xc6)](_0x2d0fb6),_0x147fc1===_0x20181b[_0x427460(0x26f)][_0x427460(0x1d2)]&&this[_0x427460(0x2d0)](_0x2d0fb6);}),this[_0x18bd52(0x269)](),this['disposeWithMe'](this[_0x18bd52(0x11f)][_0x18bd52(0x288)](_0x1c82fc=>{const _0x5e750f=_0x18bd52;if(this[_0x5e750f(0x26c)]&&_0x1c82fc['id']===_0x573987[_0x5e750f(0x1ec)]['id']&&_0x1c82fc[_0x5e750f(0x9f)][_0x5e750f(0x248)]===this[_0x5e750f(0x87)]){const _0x366515=_0x1c82fc[_0x5e750f(0x9f)];this[_0x5e750f(0x2c2)](_0x366515[_0x5e750f(0x2d4)],_0x366515[_0x5e750f(0x1d9)][0x0]);}})));}[_0x30e6e2(0xc6)](_0x50b429){const _0x47628d=_0x30e6e2;var _0x358176,_0x270de1;const {memberID:_0x1e03d1,selection:_0x402e49}=_0x50b429[_0x47628d(0x172)],{sheetName:_0x4e9c03,range:_0x1aac54}=_0xac5091[_0x47628d(0x2ea)](_0x402e49),_0x8b2558={'name':(_0x270de1=(_0x358176=this[_0x47628d(0x95)]['getMember'](this['unitID'],_0x1e03d1))==null?void 0x0:_0x358176[_0x47628d(0xea)])!=null?_0x270de1:_0x47628d(0x26b),'range':this[_0x47628d(0x233)](_0x4e9c03,_0x1aac54),'sheetID':_0x4e9c03,'color':this['_colorAssignService'][_0x47628d(0x17c)](_0x1e03d1),'selection':_0x402e49},_0x39a974=this['cursorInfo'];_0x39a974['set'](_0x1e03d1,_0x8b2558),this[_0x47628d(0x13c)][_0x47628d(0x2a2)](_0x39a974);}[_0x30e6e2(0x2d0)](_0x24f691){const _0x45469b=_0x30e6e2,{memberID:_0x8fb0e2}=_0x24f691['data'],_0x4437d5=this['cursorInfo'];_0x4437d5[_0x45469b(0xee)](_0x8fb0e2),this[_0x45469b(0x13c)][_0x45469b(0x2a2)](_0x4437d5);}[_0x30e6e2(0x233)](_0xdc78de,_0x3627eb){const _0x99aa25=_0x30e6e2;var _0x283bf6,_0x51d128;const _0x3c27ed=(_0x51d128=(_0x283bf6=this[_0x99aa25(0x15b)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x283bf6[_0x99aa25(0x122)](_0xdc78de))==null?void 0x0:_0x51d128[_0x99aa25(0x26a)]();return(_0x3c27ed==null?void 0x0:_0x3c27ed['find'](_0x30d204=>_0x4cc78f['Rectangle']['contains'](_0x30d204,_0x3627eb)))||_0x3627eb;}[_0x30e6e2(0x269)](){const _0xb7851c=_0x30e6e2,_0x5a223f=new _0x4cc78f[(_0xb7851c(0x2c3))](),_0x1b4d70=_0x26bf56(),_0x49b6f1=()=>{const _0x123f47=_0xb7851c;_0x5a223f[_0x123f47(0x2dd)]();const _0x10268b=(_0x3b263a,_0x503ac8,_0x3aae46,_0x2aee39)=>{const _0x2aa8c5=_0x123f47;let _0xccfa23=[];switch(_0x3b263a['id']){case _0x573987['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0xccfa23=_0x573987[_0x2aa8c5(0x1d0)](_0x3b263a,_0x2aee39);break;}case _0x573987[_0x2aa8c5(0x28a)][_0x2aa8c5(0x1db)]:{_0xccfa23=_0x573987[_0x2aa8c5(0xb5)](_0x3b263a,_0x2aee39);break;}case _0x573987['EffectRefRangId'][_0x2aa8c5(0x117)]:{_0xccfa23=_0x573987[_0x2aa8c5(0xbc)](_0x3b263a,_0x2aee39);break;}case _0x573987[_0x2aa8c5(0x28a)][_0x2aa8c5(0xa4)]:{_0xccfa23=_0x573987[_0x2aa8c5(0x112)](_0x3b263a,_0x2aee39);break;}case _0x573987[_0x2aa8c5(0x28a)]['InsertRangeMoveRightCommandId']:{_0xccfa23=_0x573987['handleInsertRangeMoveRight'](_0x3b263a,_0x2aee39);break;}case _0x573987[_0x2aa8c5(0x28a)][_0x2aa8c5(0x30e)]:{_0xccfa23=_0x573987[_0x2aa8c5(0x9c)](_0x3b263a,_0x2aee39);break;}case _0x573987[_0x2aa8c5(0x28a)][_0x2aa8c5(0x173)]:{_0xccfa23=_0x573987[_0x2aa8c5(0x307)](_0x3b263a,_0x2aee39);break;}case _0x573987[_0x2aa8c5(0x28a)]['RemoveColCommandId']:{_0xccfa23=_0x573987[_0x2aa8c5(0x148)](_0x3b263a,_0x2aee39);break;}case _0x573987[_0x2aa8c5(0x28a)][_0x2aa8c5(0xb8)]:{_0xccfa23=_0x573987[_0x2aa8c5(0x1cd)](_0x3b263a,_0x2aee39);break;}}const _0x2481a0=_0x573987[_0x2aa8c5(0x210)](_0xccfa23,_0x2aee39),_0x5e1132=this[_0x2aa8c5(0xfa)][_0x2aa8c5(0x27c)](_0x503ac8);if(_0x5e1132&&_0x2481a0){const _0x39988d={..._0x5e1132,'range':_0x2481a0};this['cursorInfo']['set'](_0x503ac8,_0x39988d),_0x1b4d70(()=>{const _0x597d54=_0x2aa8c5,_0x8d0594=this[_0x597d54(0x2ab)]['registerRefRange'](_0x2481a0,_0x221f16=>(_0x8d0594[_0x597d54(0x2dd)](),_0x10268b(_0x221f16,_0x503ac8,_0x3aae46,_0x2481a0)));_0x5a223f[_0x597d54(0x308)](_0x8d0594);});}return{'redos':[],'undos':[]};};this[_0x123f47(0xfa)][_0x123f47(0x22b)]((_0x4ea02a,_0x44d39e)=>{const _0x380d3a=_0x123f47,{range:_0x19e6b8,sheetID:_0x407276}=_0x4ea02a,_0x1a481c=this[_0x380d3a(0x2ab)]['registerRefRange'](_0x19e6b8,_0x285a0e=>(_0x1a481c[_0x380d3a(0x2dd)](),_0x10268b(_0x285a0e,_0x44d39e,_0x407276,_0x19e6b8)));_0x5a223f[_0x380d3a(0x308)](_0x1a481c);});};this[_0xb7851c(0x1b4)](_0x4cc78f[_0xb7851c(0x2e9)](this[_0xb7851c(0x13c)][_0xb7851c(0x19d)](()=>{_0x49b6f1();})));}[_0x30e6e2(0x1f1)](){const _0x273986=_0x30e6e2;var _0x56f2b7,_0x4a92ee;if(this['_online']=!0x0,((_0x56f2b7=this[_0x273986(0x15b)][_0x273986(0x2ad)]())==null?void 0x0:_0x56f2b7['getUnitId']())!==this[_0x273986(0x87)])return;const _0x262eae=(_0x4a92ee=this[_0x273986(0x2f0)][_0x273986(0x27c)](_0x573987['SheetsSelectionsService'])[_0x273986(0xe6)]())==null?void 0x0:_0x4a92ee[0x0],_0x34ed2e=this[_0x273986(0x15b)]['getCurrentUnitForType'](_0x4cc78f[_0x273986(0x93)][_0x273986(0x2fd)])[_0x273986(0xd2)]();_0x262eae&&_0x34ed2e&&this[_0x273986(0x2c2)](_0x34ed2e['getSheetId'](),_0x262eae);}[_0x30e6e2(0x88)](){const _0x5e4af9=_0x30e6e2;this[_0x5e4af9(0x26c)]=!0x1;}};_0x47968c=_0x4b7156([_0x3805af(0x2,_0x4cc78f[_0x30e6e2(0x2aa)](_0x4cc78f[_0x30e6e2(0x27d)])),_0x3805af(0x3,_0x4cc78f[_0x30e6e2(0x2aa)](_0x49cf7f)),_0x3805af(0x4,_0x4cc78f['Inject'](_0x409e59['MemberService'])),_0x3805af(0x5,_0x4cc78f[_0x30e6e2(0x176)]),_0x3805af(0x6,_0x4cc78f[_0x30e6e2(0x11d)]),_0x3805af(0x7,_0x4cc78f['Inject'](_0x573987['RefRangeService']))],_0x47968c);var _0xc491f8=Object['getOwnPropertyDescriptor'],_0x5d308c=(_0xd225c0,_0x10209e,_0x4caab6,_0x4e89fb)=>{const _0x34ca16=_0x30e6e2;for(var _0x500786=_0x4e89fb>0x1?void 0x0:_0x4e89fb?_0xc491f8(_0x10209e,_0x4caab6):_0x10209e,_0x418837=_0xd225c0[_0x34ca16(0x256)]-0x1,_0x1005ca;_0x418837>=0x0;_0x418837--)(_0x1005ca=_0xd225c0[_0x418837])&&(_0x500786=_0x1005ca(_0x500786)||_0x500786);return _0x500786;},_0x20ea16=(_0x10c163,_0x4dc2f1)=>(_0x200c7f,_0x130fda)=>_0x4dc2f1(_0x200c7f,_0x130fda,_0x10c163);let _0x3807ed=class extends _0x4cc78f['RxDisposable']{constructor(_0x23022c,_0x2ca72a,_0x2b8e1e){const _0x4cc80e=_0x30e6e2;super(),_0x4751bc(this,'_entities',new Map()),_0x4751bc(this,_0x4cc80e(0x118),new _0x4e4d08[(_0x4cc80e(0x29d))]()),(this[_0x4cc80e(0x15b)]=_0x23022c,this[_0x4cc80e(0x2f0)]=_0x2ca72a,this[_0x4cc80e(0x1fe)]=_0x2b8e1e,this[_0x4cc80e(0x23e)]());}[_0x30e6e2(0x2dd)](){const _0x2a55aa=_0x30e6e2;super[_0x2a55aa(0x2dd)](),this['_entityInit$'][_0x2a55aa(0x299)](),this[_0x2a55aa(0x2b4)][_0x2a55aa(0x22b)](_0x1bd127=>_0x1bd127[_0x2a55aa(0x2dd)]());}[_0x30e6e2(0x1b2)](_0x537467){const _0x2d01d3=_0x30e6e2;return this[_0x2d01d3(0x2b4)]['has'](_0x537467)?this[_0x2d01d3(0x2b4)][_0x2d01d3(0x27c)](_0x537467)[_0x2d01d3(0x223)]:this['_entityInit$'][_0x2d01d3(0x18f)](_0x4e4d08['filter'](_0x59b68b=>_0x59b68b[_0x2d01d3(0x87)]===_0x537467),_0x4e4d08[_0x2d01d3(0x1b8)](_0x1935c7=>_0x1935c7[_0x2d01d3(0x223)]));}['_init'](){const _0x596e2e=_0x30e6e2;this[_0x596e2e(0x15b)][_0x596e2e(0x1ca)](_0x4cc78f[_0x596e2e(0x93)][_0x596e2e(0x2fd)])[_0x596e2e(0x18f)](_0x4e4d08[_0x596e2e(0x2cc)](this[_0x596e2e(0x2ae)]))[_0x596e2e(0x19d)](async _0x1d29dc=>{const _0x2514e8=_0x596e2e,_0x49b1b3=_0x1d29dc['getUnitId'](),_0x5c4092=await this[_0x2514e8(0x1f3)](_0x49b1b3);this[_0x2514e8(0x118)][_0x2514e8(0x2a2)](_0x5c4092),this[_0x2514e8(0x2b4)][_0x2514e8(0x220)](_0x49b1b3,_0x5c4092);}),this[_0x596e2e(0x15b)][_0x596e2e(0x1ca)](_0x4cc78f['UniverInstanceType'][_0x596e2e(0x23d)])[_0x596e2e(0x18f)](_0x4e4d08[_0x596e2e(0x2cc)](this['dispose$']))[_0x596e2e(0x18f)](_0x4e4d08[_0x596e2e(0x292)](_0x5a0e83=>!_0x5a0e83['getUnitId']()[_0x596e2e(0xfd)]('__')))[_0x596e2e(0x19d)](async _0x25a3a5=>{const _0x2c48b9=_0x596e2e,_0x1c765f=_0x25a3a5[_0x2c48b9(0x1f4)](),_0x507731=await this['_startDocCollabCursor'](_0x1c765f);this[_0x2c48b9(0x118)][_0x2c48b9(0x2a2)](_0x507731),this['_entities']['set'](_0x1c765f,_0x507731);}),_0x4e4d08['merge'](this[_0x596e2e(0x15b)][_0x596e2e(0x141)](_0x4cc78f['UniverInstanceType']['UNIVER_DOC']),this['_univerInstanceService'][_0x596e2e(0x141)](_0x4cc78f[_0x596e2e(0x93)]['UNIVER_SHEET']))['pipe'](_0x4e4d08[_0x596e2e(0x2cc)](this['dispose$']))[_0x596e2e(0x19d)](_0x12adbc=>{const _0x4f0bdd=_0x596e2e,_0x29a022=_0x12adbc[_0x4f0bdd(0x1f4)](),_0x4e2438=this[_0x4f0bdd(0x2b4)]['get'](_0x29a022);_0x4e2438&&(_0x4e2438[_0x4f0bdd(0x2dd)](),this[_0x4f0bdd(0x2b4)][_0x4f0bdd(0xee)](_0x29a022));});}async[_0x30e6e2(0x1f3)](_0x5b08a3){const _0xd6ad18=_0x30e6e2,_0x207816=await this[_0xd6ad18(0x1fe)][_0xd6ad18(0x2ca)](_0x5b08a3),_0x240ff4=this[_0xd6ad18(0x2f0)][_0xd6ad18(0x1d4)](_0x47968c,_0x5b08a3,_0x207816);return _0x240ff4[_0xd6ad18(0x137)](),_0x240ff4;}async[_0x30e6e2(0x1a1)](_0x2d41ff){const _0x523070=_0x30e6e2,_0x3ee163=await this[_0x523070(0x1fe)][_0x523070(0x2ca)](_0x2d41ff),_0x39ba17=this['_injector'][_0x523070(0x1d4)](_0x521ae1,_0x2d41ff,_0x3ee163);return _0x39ba17[_0x523070(0x137)](),_0x39ba17;}};_0x3807ed=_0x5d308c([_0x20ea16(0x0,_0x4cc78f[_0x30e6e2(0x176)]),_0x20ea16(0x1,_0x4cc78f['Inject'](_0x4cc78f[_0x30e6e2(0x27d)])),_0x20ea16(0x2,_0x4cc78f[_0x30e6e2(0x2aa)](_0x409e59[_0x30e6e2(0x13e)]))],_0x3807ed);const _0x16a0c5=0x14,_0x3ab0a8=0xc8,_0x2a9e59=0x4,_0x66427b=0x5;function _0x212b27(_0xe37663,_0x565c60){const _0x16185f=_0x30e6e2;let {radius:_0xb4a059,width:_0x1e70c2,height:_0x2d75f9}=_0x565c60;_0xb4a059=_0xb4a059!=null?_0xb4a059:0x0,_0x1e70c2=_0x1e70c2!=null?_0x1e70c2:0x1e,_0x2d75f9=_0x2d75f9!=null?_0x2d75f9:0x1e;let _0x30cee4=0x0,_0x4ed5a3=0x0,_0x47bac4=0x0;_0x30cee4=_0x4ed5a3=_0x47bac4=Math[_0x16185f(0x2fa)](_0xb4a059,_0x1e70c2/0x2,_0x2d75f9/0x2),_0xe37663[_0x16185f(0x1e0)](),_0xe37663[_0x16185f(0x19a)](_0x30cee4,0x0),_0xe37663[_0x16185f(0x301)](_0x1e70c2-_0x4ed5a3,0x0),_0xe37663[_0x16185f(0x1ba)](_0x1e70c2-_0x4ed5a3,_0x4ed5a3,_0x4ed5a3,Math['PI']*0x3/0x2,0x0,!0x1),_0xe37663[_0x16185f(0x301)](_0x1e70c2,_0x2d75f9-_0x47bac4),_0xe37663[_0x16185f(0x1ba)](_0x1e70c2-_0x47bac4,_0x2d75f9-_0x47bac4,_0x47bac4,0x0,Math['PI']/0x2,!0x1),_0xe37663['lineTo'](0x0,_0x2d75f9),_0xe37663[_0x16185f(0x301)](0x0,_0x30cee4),_0xe37663[_0x16185f(0x1ba)](_0x30cee4,_0x30cee4,_0x30cee4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xe37663['closePath'](),_0x565c60[_0x16185f(0x27f)]&&(_0xe37663[_0x16185f(0x1e4)](),_0xe37663[_0x16185f(0x2f6)]=_0x565c60[_0x16185f(0x27f)],_0x565c60[_0x16185f(0x2a4)]===_0x16185f(0x1aa)?_0xe37663[_0x16185f(0x27f)](_0x16185f(0x1aa)):_0xe37663[_0x16185f(0x27f)](),_0xe37663[_0x16185f(0x1c6)]());}class _0x5bb1bb extends _0x5e2b74[_0x30e6e2(0x110)]{constructor(_0x41be6c,_0x52088c){const _0x2a630e=_0x30e6e2;super(_0x41be6c,_0x52088c),_0x4751bc(this,'color'),_0x4751bc(this,_0x2a630e(0x131)),(this[_0x2a630e(0x2a9)]=_0x52088c==null?void 0x0:_0x52088c[_0x2a630e(0x2a9)],this['text']=_0x52088c==null?void 0x0:_0x52088c[_0x2a630e(0x131)]);}static[_0x30e6e2(0x2d3)](_0x45b40b,_0x36415b){const _0x26078c=_0x30e6e2,{text:_0x26cc02,color:_0xba91fa}=_0x36415b;_0x45b40b[_0x26078c(0x1e4)](),_0x45b40b[_0x26078c(0xd6)]=_0x26078c(0x10c);const _0x3f2830=_0x45b40b[_0x26078c(0x160)](_0x26cc02)['width'],_0x40b706=Math[_0x26078c(0x2fa)](_0x3f2830+0x2*_0x2a9e59,_0x3ab0a8);_0x212b27(_0x45b40b,{'height':_0x16a0c5,'radius':0x4,'width':_0x40b706,'fill':_0xba91fa}),_0x45b40b[_0x26078c(0x2f6)]=_0x26078c(0xef);const _0x403933=_0x2a9e59,_0x170ee=_0x16a0c5-_0x66427b,_0x2aadab=_0x3ab0a8-0x2*_0x2a9e59;if(_0x3f2830>_0x2aadab){let _0x302d0d='',_0x3ed42c=0x0;for(const _0x47b2fc of _0x26cc02){const _0x27398e=_0x45b40b['measureText'](_0x47b2fc)['width'];if(_0x3ed42c+_0x27398e<=_0x2aadab-_0x45b40b['measureText']('...')['width'])_0x302d0d+=_0x47b2fc,_0x3ed42c+=_0x27398e;else{_0x302d0d+='...';break;}}_0x45b40b[_0x26078c(0x2ba)](_0x302d0d,_0x403933,_0x170ee);}else _0x45b40b[_0x26078c(0x2ba)](_0x26cc02,_0x403933,_0x170ee);_0x45b40b[_0x26078c(0x1c6)]();}[_0x30e6e2(0x133)](_0x43d0c6){const _0x261c0f=_0x30e6e2;_0x5bb1bb[_0x261c0f(0x2d3)](_0x43d0c6,this);}}const _0xc59f05='collab-text-anchor-',_0x113c7e=_0x30e6e2(0x143),_0x31bd19=_0x30e6e2(0x2c4),_0x18facb=0x6,_0x1195f4=1.5,_0x9e5ef=0x4,_0x408d7c=1.5,_0x4a5787=_0x30e6e2(0x81);class _0x120579{constructor(_0x31939d,_0x338500,_0xae26aa,_0x3380ba){const _0x31c7ac=_0x30e6e2;_0x4751bc(this,_0x31c7ac(0x157),[]),_0x4751bc(this,_0x31c7ac(0x11c),null),_0x4751bc(this,_0x31c7ac(0x145),null),_0x4751bc(this,_0x31c7ac(0xba),null),_0x4751bc(this,_0x31c7ac(0x26e),null),_0x4751bc(this,'_eventUnsubscribe',null),(this[_0x31c7ac(0x24a)]=_0x31939d,this[_0x31c7ac(0x286)]=_0x338500,this[_0x31c7ac(0x1c3)]=_0xae26aa,this['_document']=_0x3380ba,this[_0x31c7ac(0x1c8)]());}set[_0x30e6e2(0x206)](_0x1a8d2b){const _0x35a901=_0x30e6e2;_0x1a8d2b?(this[_0x35a901(0xba)]&&this[_0x35a901(0xba)]['hide'](),this['_textBubble']&&this['_textBubble'][_0x35a901(0xdd)]()):(this[_0x35a901(0xba)]&&this[_0x35a901(0xba)][_0x35a901(0xdd)](),this[_0x35a901(0x145)]&&this[_0x35a901(0x145)]['hide']());}['dispose'](){const _0x36fea0=_0x30e6e2;for(const _0x13e2fb of this[_0x36fea0(0x157)])_0x13e2fb[_0x36fea0(0x2dd)]();this[_0x36fea0(0x145)]&&this[_0x36fea0(0x145)]['dispose'](),this[_0x36fea0(0xba)]&&this[_0x36fea0(0xba)]['dispose'](),this[_0x36fea0(0x11c)]&&this[_0x36fea0(0x11c)][_0x36fea0(0x2dd)](),this[_0x36fea0(0x305)]&&this[_0x36fea0(0x305)]();}[_0x30e6e2(0x1c8)](){const _0x598282=_0x30e6e2;var _0x534e0c;const {_docSkeleton:_0x3208bb,_document:_0x468a79}=this,{color:_0x426d7c,name:_0x5375be,ranges:_0x463484}=this[_0x598282(0x24a)],_0x591d9f=_0x468a79[_0x598282(0x1af)](),{docsLeft:_0x4f4ea0,docsTop:_0x16b403}=_0x591d9f,_0x1c2963=new _0x1fbd92[(_0x598282(0x97))](_0x591d9f,_0x3208bb);for(const {startOffset:_0x550ad9,endOffset:_0x119b49,rangeType:_0x46f674,segmentId:_0x141ecf,segmentPage:_0x471305,collapsed:_0x57dc6d,isActive:_0x2d4493}of _0x463484){const _0x14551c=_0x3208bb['findNodePositionByCharIndex'](_0x550ad9,!0x0,_0x141ecf,_0x471305);let _0x4200bf=_0x3208bb[_0x598282(0x266)](_0x119b49,!0x0,_0x141ecf,_0x471305);if(_0x4200bf==null&&(_0x4200bf=_0x3208bb[_0x598282(0x266)](_0x119b49-0x1,!0x1,_0x141ecf,_0x471305)),_0x2d4493){const {contentBoxPointGroup:_0x11206e}=_0x1c2963[_0x598282(0xf7)](_0x4200bf,_0x4200bf);if(_0x11206e[_0x598282(0x256)]===0x0)continue;this[_0x598282(0x167)](_0x426d7c,_0x11206e,_0x4f4ea0,_0x16b403,_0x5375be),this[_0x598282(0x305)]=this['_handleHover']();}if(_0x14551c&&_0x4200bf){if(_0x46f674===_0x4cc78f[_0x598282(0x20d)]['RECT']){const _0x275f38=new _0x1fbd92[(_0x598282(0x191))](_0x591d9f,_0x3208bb),{pointGroup:_0x2a2a90}=(_0x534e0c=_0x275f38[_0x598282(0xf7)](_0x14551c,_0x4200bf))!=null?_0x534e0c:{};if(_0x2a2a90==null||_0x2a2a90['length']===0x0)continue;this['_drawRectRange'](_0x426d7c,_0x2a2a90,_0x4f4ea0,_0x16b403);}else{if(!_0x57dc6d){const {borderBoxPointGroup:_0x53986e}=_0x1c2963[_0x598282(0xf7)](_0x14551c,_0x4200bf);if(_0x53986e[_0x598282(0x256)]===0x0)continue;this[_0x598282(0x218)](_0x426d7c,_0x53986e,_0x4f4ea0,_0x16b403);}}}}}[_0x30e6e2(0x167)](_0x327c71,_0xe0f34,_0x101fbf,_0x3541cb,_0x16f1e0){const _0x18c609=_0x30e6e2,_0x3cdc72=this[_0x18c609(0x2c5)](_0xe0f34),{left:_0x2af63e,top:_0x2b3a48,height:_0x3abcc7}=_0x3cdc72,_0x55289e=this[_0x18c609(0x116)](),_0x495d53=_0x408d7c/_0x55289e,_0x239f8b=new _0x5e2b74['Rect'](_0xc59f05+_0x4cc78f[_0x18c609(0x89)]['generateRandomId'](_0x18facb),{'left':_0x2af63e+_0x101fbf-_0x495d53,'top':_0x2b3a48+_0x3541cb,'height':_0x3abcc7,'width':_0x1195f4,'fill':_0x327c71||_0x5e2b74[_0x18c609(0x273)](_0x4cc78f[_0x18c609(0x159)][_0x18c609(0x22d)],0x0),'strokeWidth':_0x495d53,'stroke':_0x4a5787,'evented':!0x0});this[_0x18c609(0x11c)]=_0x239f8b,this[_0x18c609(0x286)][_0x18c609(0x2a5)](_0x239f8b,_0x1fbd92[_0x18c609(0x19b)]);const _0x1d0750=new _0x5e2b74['Rect'](_0xc59f05+_0x4cc78f[_0x18c609(0x89)][_0x18c609(0x295)](_0x18facb),{'left':_0x2af63e+_0x101fbf-_0x495d53,'top':_0x2b3a48+_0x3541cb-_0x9e5ef/0x2,'height':_0x9e5ef,'width':_0x9e5ef,'fill':_0x327c71||_0x5e2b74['getColor'](_0x4cc78f['COLORS'][_0x18c609(0x22d)],0x0),'strokeWidth':0x0,'stroke':_0x327c71||_0x5e2b74[_0x18c609(0x273)](_0x4cc78f[_0x18c609(0x159)][_0x18c609(0x22d)],0x0),'evented':!0x1});this[_0x18c609(0xba)]=_0x1d0750,this[_0x18c609(0x286)][_0x18c609(0x2a5)](_0x1d0750,_0x1fbd92['TEXT_RANGE_LAYER_INDEX']);const _0x5dd0e1=new _0x5bb1bb(_0xc59f05+_0x4cc78f[_0x18c609(0x89)]['generateRandomId'](_0x18facb),{'left':_0x2af63e+_0x101fbf-_0x495d53,'top':_0x2b3a48+_0x3541cb-_0x16a0c5,'text':_0x16f1e0,'color':_0x327c71});this[_0x18c609(0x145)]=_0x5dd0e1,this[_0x18c609(0x286)][_0x18c609(0x2a5)](_0x5dd0e1,_0x1fbd92[_0x18c609(0x19b)]),this['_hover']=!0x1;}[_0x30e6e2(0xf5)](){const _0xdf6a32=_0x30e6e2,_0x49c9aa=this[_0xdf6a32(0x11c)]['onPointerEnter$'][_0xdf6a32(0x92)](()=>{const _0x2bf0b5=_0xdf6a32;this[_0x2bf0b5(0x206)]=!0x0;}),_0x2e2411=this[_0xdf6a32(0x11c)]['onPointerLeave$'][_0xdf6a32(0x92)](()=>{const _0x24cd4c=_0xdf6a32;this['_hideTimer']&&clearTimeout(this[_0x24cd4c(0x26e)]),this[_0x24cd4c(0x26e)]=setTimeout(()=>{const _0x30601f=_0x24cd4c;this[_0x30601f(0x206)]=!0x1;},0x7d0);});return()=>{const _0x3b3ade=_0xdf6a32;_0x49c9aa[_0x3b3ade(0x12e)](),_0x2e2411[_0x3b3ade(0x12e)]();};}[_0x30e6e2(0x218)](_0x12b5ed,_0x4cee42,_0x481a70,_0x5b0478){const _0x22304c=_0x30e6e2,_0x1c8439=new _0x4cc78f['ColorKit'](_0x12b5ed)[_0x22304c(0x113)](0.2)[_0x22304c(0x8f)](),_0x20fa34=new _0x5e2b74['RegularPolygon'](_0x113c7e+_0x4cc78f['Tools']['generateRandomId'](_0x18facb),{'pointsGroup':_0x4cee42,'fill':_0x1c8439||_0x5e2b74[_0x22304c(0x273)](_0x4cc78f[_0x22304c(0x159)][_0x22304c(0x22d)],0.2),'left':_0x481a70,'top':_0x5b0478,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x22304c(0x157)]['push'](_0x20fa34),this[_0x22304c(0x286)]['addObject'](_0x20fa34,_0x1fbd92[_0x22304c(0x19b)]);}[_0x30e6e2(0x150)](_0x1db115,_0x2e3c37,_0x333cc5,_0x2c944a){const _0x46d47e=_0x30e6e2,_0x18e6da=new _0x4cc78f[(_0x46d47e(0x2e7))](_0x1db115)[_0x46d47e(0x113)](0.2)[_0x46d47e(0x8f)](),_0x20b88f=new _0x5e2b74['RegularPolygon'](_0x31bd19+_0x4cc78f[_0x46d47e(0x89)]['generateRandomId'](_0x18facb),{'pointsGroup':_0x2e3c37,'fill':_0x18e6da||_0x5e2b74[_0x46d47e(0x273)](_0x4cc78f[_0x46d47e(0x159)]['black'],0.2),'left':_0x333cc5,'top':_0x2c944a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46d47e(0x157)][_0x46d47e(0x285)](_0x20b88f),this[_0x46d47e(0x286)]['addObject'](_0x20b88f,_0x1fbd92[_0x46d47e(0x19b)]);}[_0x30e6e2(0x2c5)](_0x465679){const _0x57963d=_0x465679[0x0],_0x41dacc=_0x57963d[0x0],_0x894858=_0x57963d[0x2],{x:_0x30b3df,y:_0x74dc7b}=_0x41dacc,{x:_0x2190b0,y:_0x9c66a9}=_0x894858;return{'left':_0x30b3df,'top':_0x74dc7b,'width':_0x2190b0-_0x30b3df,'height':_0x9c66a9-_0x74dc7b};}[_0x30e6e2(0x116)](){const _0x123e6d=_0x30e6e2,{scaleX:_0x15fb0f,scaleY:_0x36fbd3}=this['_scene'][_0x123e6d(0x29a)]();return Math['max'](_0x15fb0f,_0x36fbd3);}}var _0x420665=Object[_0x30e6e2(0x2d6)],_0x38701a=(_0x3deb04,_0x47dc30,_0xaa2c9d,_0x485733)=>{const _0x290b04=_0x30e6e2;for(var _0x3c9538=_0x485733>0x1?void 0x0:_0x485733?_0x420665(_0x47dc30,_0xaa2c9d):_0x47dc30,_0x5751a8=_0x3deb04[_0x290b04(0x256)]-0x1,_0x20268c;_0x5751a8>=0x0;_0x5751a8--)(_0x20268c=_0x3deb04[_0x5751a8])&&(_0x3c9538=_0x20268c(_0x3c9538)||_0x3c9538);return _0x3c9538;},_0x3f9bc0=(_0x1cc8ed,_0x516a64)=>(_0x55737d,_0x4ee28e)=>_0x516a64(_0x55737d,_0x4ee28e,_0x1cc8ed);let _0x5a55ea=class extends _0x4cc78f[_0x30e6e2(0x238)]{constructor(_0x157ea4,_0x5b894f,_0xc8abcf,_0x3489a3,_0x8bcca7){const _0x4f4114=_0x30e6e2;super(),_0x4751bc(this,_0x4f4114(0x228),[]),_0x4751bc(this,_0x4f4114(0x2a8),[]),(this[_0x4f4114(0x28c)]=_0x157ea4,this[_0x4f4114(0x12f)]=_0x5b894f,this[_0x4f4114(0x153)]=_0xc8abcf,this['_commandService']=_0x3489a3,this[_0x4f4114(0x16e)]=_0x8bcca7,this[_0x4f4114(0x23e)]());}[_0x30e6e2(0x23e)](){const _0x27ccfa=_0x30e6e2,_0x47b9ff=this[_0x27ccfa(0x28c)]['unitId'],_0x285c20=this['_docSkeletonManagerService'];this[_0x27ccfa(0x1b4)](_0x4e4d08['combineLatest']([this[_0x27ccfa(0x153)][_0x27ccfa(0x1b2)](_0x47b9ff),this[_0x27ccfa(0x16e)][_0x27ccfa(0x2e3)]])['pipe'](_0xfd837e[_0x27ccfa(0x1de)](([_0x217853,_0x31ca4d])=>({'skeleton':_0x285c20[_0x27ccfa(0x2c6)](),'cursors':[..._0x217853[_0x27ccfa(0x283)]()]['flatMap'](_0x2998b8=>({..._0x2998b8,'color':this['_themeService'][_0x27ccfa(0x103)](_0x2998b8[_0x27ccfa(0x2a9)])}))})))[_0x27ccfa(0x19d)](_0x1d749f=>{const _0x4d891d=_0x27ccfa;if(this[_0x4d891d(0x287)](),_0x1d749f){const {skeleton:_0x1ee07d,cursors:_0x204e04}=_0x1d749f;this[_0x4d891d(0xd3)](_0x1ee07d,_0x204e04);}})),this['_initResize'](),this[_0x27ccfa(0x224)]();}[_0x30e6e2(0xd3)](_0x3c2a67,_0x54e678){const _0x47b6c1=_0x30e6e2,{scene:_0x3f42ca,mainComponent:_0x26cd3e}=this['_context'],_0x2135b2=_0x54e678[_0x47b6c1(0x1de)](_0x19242b=>new _0x120579(_0x19242b,_0x3f42ca,_0x3c2a67,_0x26cd3e));this[_0x47b6c1(0x228)]=_0x2135b2,this[_0x47b6c1(0x2a8)]=_0x54e678;}['_refreshCollabCursors'](){const _0x31ae9a=_0x30e6e2;this[_0x31ae9a(0x287)]();const {scene:_0x55a683,mainComponent:_0x3596d5}=this[_0x31ae9a(0x28c)],_0x28ea8e=this[_0x31ae9a(0x12f)]['getSkeleton'](),_0x7425ec=this['_cursors']['map'](_0x29d9fe=>new _0x120579(_0x29d9fe,_0x55a683,_0x28ea8e,_0x3596d5));this[_0x31ae9a(0x228)]=_0x7425ec;}[_0x30e6e2(0x287)](){const _0x4bb1a9=_0x30e6e2;this['_cursorShapes'][_0x4bb1a9(0x22b)](_0x564816=>_0x564816['dispose']()),this[_0x4bb1a9(0x228)]=[];}[_0x30e6e2(0x224)](){const _0x1edf33=_0x30e6e2,_0x22d281=[_0x1fbd92[_0x1edf33(0x2f3)]['id']];this[_0x1edf33(0x1b4)](this['_commandService']['onCommandExecuted'](_0xd72bc9=>{const _0x30f03f=_0x1edf33;_0x22d281[_0x30f03f(0xf3)](_0xd72bc9['id'])&&_0xd72bc9[_0x30f03f(0x9f)][_0x30f03f(0x248)]===this[_0x30f03f(0x28c)][_0x30f03f(0x248)]&&this[_0x30f03f(0x284)]();}));}['_initResize'](){const _0x3927ff=_0x30e6e2;this[_0x3927ff(0x1b4)](_0x4cc78f[_0x3927ff(0x100)](this[_0x3927ff(0x28c)]['engine']['onTransformChange$'])['pipe'](_0xfd837e[_0x3927ff(0x292)](_0x4f98df=>_0x4f98df[_0x3927ff(0x1a7)]===_0x5e2b74[_0x3927ff(0x17a)][_0x3927ff(0xed)]),_0xfd837e['throttleTime'](0x10))['subscribe'](()=>{const _0x31dfd2=_0x3927ff;this[_0x31dfd2(0x284)]();}));}};_0x5a55ea=_0x38701a([_0x3f9bc0(0x1,_0x4cc78f[_0x30e6e2(0x2aa)](_0x4029db[_0x30e6e2(0x13a)])),_0x3f9bc0(0x2,_0x4cc78f[_0x30e6e2(0x2aa)](_0x3807ed)),_0x3f9bc0(0x3,_0x4cc78f[_0x30e6e2(0x11d)]),_0x3f9bc0(0x4,_0x4cc78f['Inject'](_0x4cc78f['ThemeService']))],_0x5a55ea);const _0x1efe8d=0x1,_0x19f446=1.5;class _0x58ae6b extends _0x5e2b74[_0x30e6e2(0x110)]{constructor(_0x5b55a7,_0x3b1932){const _0x4fc393=_0x30e6e2;super(_0x5b55a7,_0x3b1932),_0x4751bc(this,'_color'),_0x4751bc(this,_0x4fc393(0x23f),!0x1),_0x4751bc(this,_0x4fc393(0x1c5)),_0x4751bc(this,_0x4fc393(0x16d),''),_0x4751bc(this,_0x4fc393(0x298),_0x4fc393(0x1e3)),_0x4751bc(this,'_backgroundColor'),(_0x3b1932&&this[_0x4fc393(0x180)](_0x3b1932),this[_0x4fc393(0xd5)][_0x4fc393(0x92)](()=>this[_0x4fc393(0x180)]({'hovered':!0x0})),this[_0x4fc393(0x236)][_0x4fc393(0x92)](()=>this[_0x4fc393(0x180)]({'hovered':!0x1})));}[_0x30e6e2(0x180)](_0x35fec1){const _0x1bdebb=_0x30e6e2;var _0x5ee369,_0x4edbea,_0x59c176,_0x184217,_0x3f7239,_0x410102;this[_0x1bdebb(0x17f)]=(_0x5ee369=_0x35fec1['color'])!=null?_0x5ee369:this[_0x1bdebb(0x17f)],this[_0x1bdebb(0x23f)]=(_0x4edbea=_0x35fec1[_0x1bdebb(0x1f7)])!=null?_0x4edbea:this[_0x1bdebb(0x23f)],this[_0x1bdebb(0x1c5)]=(_0x59c176=_0x35fec1['range'])!=null?_0x59c176:this[_0x1bdebb(0x1c5)],this['_name']=(_0x184217=_0x35fec1[_0x1bdebb(0xea)])!=null?_0x184217:this[_0x1bdebb(0x16d)],this[_0x1bdebb(0x298)]=(_0x3f7239=_0x35fec1[_0x1bdebb(0x230)])!=null?_0x3f7239:this[_0x1bdebb(0x298)],this['_backgroundColor']=(_0x410102=_0x35fec1[_0x1bdebb(0x244)])!=null?_0x410102:this['_backgroundColor'],this[_0x1bdebb(0xe3)]({'width':_0x35fec1[_0x1bdebb(0xab)],'height':_0x35fec1['height']});}['onMouseMove'](_0x2eba0f){const _0x23ac92=_0x30e6e2,{row:_0x475ebe,column:_0x3c211a}=_0x2eba0f;if(_0x475ebe>=this[_0x23ac92(0x1c5)]['startRow']&&_0x475ebe<=this[_0x23ac92(0x1c5)][_0x23ac92(0x107)]&&_0x3c211a>=this[_0x23ac92(0x1c5)]['startColumn']&&_0x3c211a<=this[_0x23ac92(0x1c5)][_0x23ac92(0x2f2)]){this[_0x23ac92(0x180)]({'hovered':!0x0});return;}this[_0x23ac92(0x180)]({'hovered':!0x1});}[_0x30e6e2(0x2ee)](_0x2f190f){return!0x1;}[_0x30e6e2(0x133)](_0x2d29c8){const _0xf9d74c=_0x30e6e2;_0x5e2b74['Rect'][_0xf9d74c(0x2d3)](_0x2d29c8,{'width':this[_0xf9d74c(0xab)],'height':this[_0xf9d74c(0x2e2)],'strokeWidth':_0x19f446,'stroke':this[_0xf9d74c(0x17f)],'evented':!0x1,'fill':this[_0xf9d74c(0x23b)]}),this[_0xf9d74c(0x23f)]&&(_0x2d29c8[_0xf9d74c(0x1e4)](),_0x2d29c8[_0xf9d74c(0x1ab)](0x1,0x0,0x0,0x1,this[_0xf9d74c(0xab)],this[_0xf9d74c(0x298)]===_0xf9d74c(0x300)?0x0:-0x14),_0x5bb1bb[_0xf9d74c(0x2d3)](_0x2d29c8,{'text':this[_0xf9d74c(0x16d)],'color':this['_color']}),_0x2d29c8[_0xf9d74c(0x1c6)]());}}var _0x3be824=Object['getOwnPropertyDescriptor'],_0x1233ac=(_0x4952b0,_0x49cbd7,_0x4a5691,_0x33b332)=>{const _0x32ba0a=_0x30e6e2;for(var _0x3bdc01=_0x33b332>0x1?void 0x0:_0x33b332?_0x3be824(_0x49cbd7,_0x4a5691):_0x49cbd7,_0x438d88=_0x4952b0[_0x32ba0a(0x256)]-0x1,_0x40cdae;_0x438d88>=0x0;_0x438d88--)(_0x40cdae=_0x4952b0[_0x438d88])&&(_0x3bdc01=_0x40cdae(_0x3bdc01)||_0x3bdc01);return _0x3bdc01;},_0x94719a=(_0x1fa194,_0x526b49)=>(_0x12e3e4,_0x412e01)=>_0x526b49(_0x12e3e4,_0x412e01,_0x1fa194);const _0x1917e0=0x1389;let _0x351a30=class extends _0x4cc78f[_0x30e6e2(0x238)]{constructor(_0x2901d6,_0x2d5986,_0x3cdd73,_0x4516a5){const _0x185bb9=_0x30e6e2;super(),_0x4751bc(this,'_cursors',new Set()),_0x4751bc(this,_0x185bb9(0x8d),null),(this[_0x185bb9(0x28c)]=_0x2901d6,this[_0x185bb9(0x2d1)]=_0x2d5986,this[_0x185bb9(0x153)]=_0x3cdd73,this[_0x185bb9(0x16e)]=_0x4516a5,this[_0x185bb9(0x23e)]());}[_0x30e6e2(0x23e)](){const _0xecb049=_0x30e6e2;this[_0xecb049(0x2d1)][_0xecb049(0x1ce)][_0xecb049(0x18f)](_0xfd837e['takeUntil'](this[_0xecb049(0x2ae)]),_0xfd837e[_0xecb049(0x1b8)](_0x59fa69=>{const _0x4dd2f2=_0xecb049;if(_0x59fa69){const _0x48069d=_0x59fa69['sheetId'];return _0x4e4d08[_0x4dd2f2(0x306)](this[_0x4dd2f2(0x153)][_0x4dd2f2(0x1b2)](this[_0x4dd2f2(0x28c)][_0x4dd2f2(0x248)]),this[_0x4dd2f2(0x16e)][_0x4dd2f2(0x2e3)])[_0x4dd2f2(0x18f)](_0xfd837e[_0x4dd2f2(0x1de)](([_0x43a686,_0x404bd1])=>{const _0x4b61ae=_0x4dd2f2,_0x58af29=new Map();return _0x43a686[_0x4b61ae(0x22b)]((_0x3c975c,_0x1072eb)=>{const _0x2d4827=_0x4b61ae;if(_0x3c975c[_0x2d4827(0x2d5)]===_0x48069d){const _0x2114fa={..._0x3c975c};_0x2114fa[_0x2d4827(0x2a9)]=this['_themeService'][_0x2d4827(0x103)](_0x3c975c['color']),_0x58af29[_0x2d4827(0x220)](_0x1072eb,_0x2114fa);}}),{'skeleton':_0x59fa69,'cursors':_0x58af29};}));}return _0x4e4d08['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x26c4c0,cursors:_0x49a53b})=>{const _0x4e4d00=_0xecb049;this[_0x4e4d00(0x287)](),_0x26c4c0&&this[_0x4e4d00(0xd3)](_0x26c4c0,_0x49a53b);}),this[_0xecb049(0x2d1)][_0xecb049(0x1ce)][_0xecb049(0x19d)](_0x27cf50=>{const _0x26e846=_0xecb049;if(_0x27cf50==null)return;const {skeleton:_0x208952}=_0x27cf50,{scene:_0x565a83}=this['_context'];_0x565a83['onPointerMove$']['subscribeEvent'](_0x4cc78f[_0x26e846(0xc2)](_0x5960a4=>{const _0x5db899=_0x26e846;var _0x5fd142,_0x37e8f5;const {offsetX:_0x35b038,offsetY:_0x564e1f}=_0x5960a4,{x:_0x593891,y:_0x34109c}=_0x565a83[_0x5db899(0x85)](_0x5e2b74[_0x5db899(0x106)][_0x5db899(0xa9)]([_0x35b038,_0x564e1f])),{scaleX:_0x5ab627,scaleY:_0x519ebe}=_0x565a83[_0x5db899(0x29a)](),_0x5cf2e6=_0x565a83[_0x5db899(0xc4)](_0x5e2b74[_0x5db899(0xcd)][_0x5db899(0x105)]),_0x1b6a26=_0x565a83[_0x5db899(0x1cb)](_0x5e2b74[_0x5db899(0x106)][_0x5db899(0xa9)]([_0x593891,_0x34109c]),_0x5cf2e6),_0x4f6d88=_0x208952['getCellPositionByOffset'](_0x35b038,_0x564e1f,_0x5ab627,_0x519ebe,_0x1b6a26);((_0x5fd142=this['_lastPointer'])==null?void 0x0:_0x5fd142['column'])===_0x4f6d88[_0x5db899(0x196)]&&((_0x37e8f5=this[_0x5db899(0x8d)])==null?void 0x0:_0x37e8f5[_0x5db899(0x183)])===_0x4f6d88['row']||this[_0x5db899(0x2a8)][_0x5db899(0x22b)](_0xb49744=>{_0xb49744['onMouseMove'](_0x4f6d88);});},0x64));});}['_updateCollabCursors'](_0x3fce1c,_0xc9f140){const _0x4b5642=_0x30e6e2;var _0x194465;const _0x74b0b=(_0x194465=this[_0x4b5642(0x2d1)][_0x4b5642(0x10f)]())==null?void 0x0:_0x194465[_0x4b5642(0x1c9)];if(!_0x74b0b)return;const _0x53c32c=this[_0x4b5642(0x1ed)]();if(!_0x53c32c)return;this[_0x4b5642(0x2a8)]['forEach'](_0x98d5d8=>{const _0x4ba33c=_0x4b5642;_0x98d5d8[_0x4ba33c(0x1ea)]();});const {scene:_0x4986cd}=_0x53c32c,_0xce515f=_0x471485(Array[_0x4b5642(0xd7)](_0xc9f140[_0x4b5642(0x283)]()))[_0x4b5642(0x1de)](_0x3c16b6=>{const _0x156ee3=_0x4b5642,{color:_0xf04e59,range:_0x1f2566,name:_0x13450b,selection:_0x5cfa73,sheetID:_0x4e1b78}=_0x3c16b6,{startColumn:_0xa6e722,startRow:_0x319ccb,endColumn:_0x526799,endRow:_0xe651ca}=_0x1f2566,_0x547725=_0x564f17[_0x156ee3(0x193)](_0x319ccb,_0xa6e722,_0x4986cd,_0x74b0b),_0x1cd4fd=_0x564f17[_0x156ee3(0x193)](_0xe651ca,_0x526799,_0x4986cd,_0x74b0b),{columnHeaderHeightAndMarginTop:_0x292afb}=_0x74b0b,{startX:_0x386ef1,startY:_0xe6ffdd}=_0x547725,{endX:_0x50fd3a,endY:_0x1fa82f}=_0x1cd4fd,_0xe21125=_0x50fd3a-_0x386ef1,_0x33059c=_0x1fa82f-_0xe6ffdd,_0x399ff6={'labelPosition':_0xe6ffdd-_0x292afb>=_0x16a0c5?_0x156ee3(0x1e3):_0x156ee3(0x300),'sheetID':_0x4e1b78,'range':_0x1f2566,'color':_0xf04e59,'name':_0x13450b,'selection':_0x5cfa73,'left':_0x386ef1,'top':_0xe6ffdd,'width':_0xe21125,'height':_0x33059c,'evented':!0x1,'zIndex':_0x1917e0};return new _0x58ae6b(_0x13450b,_0x399ff6);});_0x4986cd[_0x4b5642(0xb6)](_0xce515f,_0x1efe8d),this[_0x4b5642(0x2a8)]=new Set(_0xce515f);}[_0x30e6e2(0x287)](){const _0x39a4f9=_0x30e6e2;var _0x427667;(_0x427667=this[_0x39a4f9(0x2a8)])==null||_0x427667[_0x39a4f9(0x22b)](_0x383ea1=>_0x383ea1[_0x39a4f9(0x2dd)]());}[_0x30e6e2(0x1ed)](){const _0x19c6e4=_0x30e6e2;return _0x564f17[_0x19c6e4(0x225)](this[_0x19c6e4(0x28c)]['unit'],this[_0x19c6e4(0x28c)]);}};_0x351a30=_0x1233ac([_0x94719a(0x1,_0x4cc78f['Inject'](_0x564f17[_0x30e6e2(0x2e0)])),_0x94719a(0x2,_0x4cc78f['Inject'](_0x3807ed)),_0x94719a(0x3,_0x4cc78f[_0x30e6e2(0x2aa)](_0x4cc78f['ThemeService']))],_0x351a30);function _0x471485(_0x2de19a){const _0x41747d=_0x30e6e2,_0x32abe9=new Map();return _0x2de19a[_0x41747d(0x22b)](_0x3816b3=>{const _0x285a1b=_0x41747d;if(_0x32abe9[_0x285a1b(0x30b)](_0x3816b3[_0x285a1b(0x1ee)])){const _0x17d314=_0x32abe9['get'](_0x3816b3[_0x285a1b(0x1ee)]);_0x17d314['name']+=',\x20'+_0x3816b3[_0x285a1b(0xea)];}else _0x32abe9['set'](_0x3816b3[_0x285a1b(0x1ee)],_0x3816b3);}),Array[_0x41747d(0xd7)](_0x32abe9[_0x41747d(0x283)]());}var _0x42d410=function(){const _0x4d2981=_0x30e6e2;return _0x42d410=Object[_0x4d2981(0x121)]||function(_0x306a88){const _0x437df4=_0x4d2981;for(var _0x366e6a,_0x25b50b=0x1,_0x387bc0=arguments['length'];_0x25b50b<_0x387bc0;_0x25b50b++){_0x366e6a=arguments[_0x25b50b];for(var _0x2960ee in _0x366e6a)Object[_0x437df4(0x119)][_0x437df4(0x2ce)]['call'](_0x366e6a,_0x2960ee)&&(_0x306a88[_0x2960ee]=_0x366e6a[_0x2960ee]);}return _0x306a88;},_0x42d410[_0x4d2981(0x1a9)](this,arguments);},_0x1e5311=function(_0x5bd86d,_0x5ac980){const _0x40ef17=_0x30e6e2;var _0x401f01={};for(var _0x4e4298 in _0x5bd86d)Object['prototype'][_0x40ef17(0x2ce)][_0x40ef17(0x200)](_0x5bd86d,_0x4e4298)&&_0x5ac980[_0x40ef17(0x251)](_0x4e4298)<0x0&&(_0x401f01[_0x4e4298]=_0x5bd86d[_0x4e4298]);if(_0x5bd86d!=null&&typeof Object['getOwnPropertySymbols']==_0x40ef17(0x2e8)){for(var _0x4946d5=0x0,_0x4e4298=Object['getOwnPropertySymbols'](_0x5bd86d);_0x4946d5<_0x4e4298[_0x40ef17(0x256)];_0x4946d5++)_0x5ac980[_0x40ef17(0x251)](_0x4e4298[_0x4946d5])<0x0&&Object[_0x40ef17(0x119)][_0x40ef17(0x226)]['call'](_0x5bd86d,_0x4e4298[_0x4946d5])&&(_0x401f01[_0x4e4298[_0x4946d5]]=_0x5bd86d[_0x4e4298[_0x4946d5]]);}return _0x401f01;},_0x2676fd=_0x32cac2[_0x30e6e2(0x1fb)](function(_0x22cb10,_0x36908b){const _0xafc665=_0x30e6e2;var _0x489055=_0x22cb10[_0xafc665(0x281)],_0x1007d4=_0x22cb10['id'],_0x5eae9e=_0x22cb10['className'],_0x149f9e=_0x22cb10[_0xafc665(0x2fb)],_0xbe150d=_0x1e5311(_0x22cb10,[_0xafc665(0x281),'id','className',_0xafc665(0x2fb)]),_0x523238=_0xafc665(0x2a0)[_0xafc665(0x2ed)](_0x1007d4,'\x20')['concat'](_0x5eae9e||'')[_0xafc665(0x1e8)](),_0x3f9fbb=_0x32cac2['useRef']('_'[_0xafc665(0x2ed)](_0x25bf4e()));return _0x5e3c47(_0x489055,''[_0xafc665(0x2ed)](_0x1007d4),{'defIds':_0x489055[_0xafc665(0x20b)],'idSuffix':_0x3f9fbb[_0xafc665(0x241)]},_0x42d410({'ref':_0x36908b,'className':_0x523238},_0xbe150d),_0x149f9e);});function _0x5e3c47(_0x4be5e3,_0xa64d68,_0x589fa6,_0x218700,_0x2f2838){const _0x5b1d7a=_0x30e6e2;return _0x32cac2['createElement'](_0x4be5e3[_0x5b1d7a(0x304)],_0x42d410(_0x42d410({'key':_0xa64d68},_0xb48513(_0x4be5e3,_0x589fa6,_0x2f2838)),_0x218700),(_0x40bfc2(_0x4be5e3,_0x589fa6)[_0x5b1d7a(0xeb)]||[])[_0x5b1d7a(0x1de)](function(_0x7b9ac8,_0x41d899){const _0x2873ca=_0x5b1d7a;return _0x5e3c47(_0x7b9ac8,''[_0x2873ca(0x2ed)](_0xa64d68,'-')[_0x2873ca(0x2ed)](_0x4be5e3[_0x2873ca(0x304)],'-')[_0x2873ca(0x2ed)](_0x41d899),_0x589fa6,void 0x0,_0x2f2838);}));}function _0xb48513(_0x158d25,_0x2652aa,_0xac2610){const _0x3cd583=_0x30e6e2;var _0x3312f6=_0x42d410({},_0x158d25['attrs']);_0xac2610!=null&&_0xac2610[_0x3cd583(0x1b5)]&&_0x3312f6[_0x3cd583(0x27f)]===_0x3cd583(0x1b5)&&(_0x3312f6[_0x3cd583(0x27f)]=_0xac2610[_0x3cd583(0x1b5)]),_0x158d25[_0x3cd583(0x304)]===_0x3cd583(0x2b7)&&_0x3312f6['id']&&(_0x3312f6['id']=_0x3312f6['id']+_0x2652aa['idSuffix']),Object[_0x3cd583(0xcc)](_0x3312f6)['forEach'](function(_0x21e20e){const _0x3b5e55=_0x3cd583;var _0xbaae53=_0x21e20e[0x0],_0x585575=_0x21e20e[0x1];_0xbaae53===_0x3b5e55(0x2b7)&&typeof _0x585575==_0x3b5e55(0x1e5)&&(_0x3312f6[_0xbaae53]=_0x585575[_0x3b5e55(0x212)](/url\(#(.*)\)/,_0x3b5e55(0x1ff)[_0x3b5e55(0x2ed)](_0x2652aa[_0x3b5e55(0x2bb)],')')));});var _0x4eb194=_0x2652aa['defIds'];return!_0x4eb194||_0x4eb194['length']===0x0||(_0x158d25[_0x3cd583(0x304)]===_0x3cd583(0x2eb)&&_0x3312f6['xlink:href']&&(_0x3312f6[_0x3cd583(0x2a7)]=_0x3312f6['xlink:href']+_0x2652aa[_0x3cd583(0x2bb)]),Object[_0x3cd583(0xcc)](_0x3312f6)[_0x3cd583(0x22b)](function(_0x270a90){const _0x4e440c=_0x3cd583;var _0x441bfe=_0x270a90[0x0],_0x439d92=_0x270a90[0x1];typeof _0x439d92=='string'&&(_0x3312f6[_0x441bfe]=_0x439d92[_0x4e440c(0x212)](/url\(#(.*)\)/,_0x4e440c(0x1ff)[_0x4e440c(0x2ed)](_0x2652aa[_0x4e440c(0x2bb)],')')));})),_0x3312f6;}function _0x40bfc2(_0x36b659,_0x42eed2){const _0x3304f2=_0x30e6e2;var _0x53e673,_0x13ff24=_0x42eed2['defIds'];return!_0x13ff24||_0x13ff24['length']===0x0?_0x36b659:_0x36b659['tag']===_0x3304f2(0x1ae)&&(!((_0x53e673=_0x36b659[_0x3304f2(0xeb)])===null||_0x53e673===void 0x0)&&_0x53e673[_0x3304f2(0x256)])?_0x42d410(_0x42d410({},_0x36b659),{'children':_0x36b659['children'][_0x3304f2(0x1de)](function(_0xd183f9){const _0x2fb791=_0x3304f2;return typeof _0xd183f9[_0x2fb791(0xdb)]['id']==_0x2fb791(0x1e5)&&_0x13ff24&&_0x13ff24[_0x2fb791(0x251)](_0xd183f9[_0x2fb791(0xdb)]['id'])>-0x1?_0x42d410(_0x42d410({},_0xd183f9),{'attrs':_0x42d410(_0x42d410({},_0xd183f9[_0x2fb791(0xdb)]),{'id':_0xd183f9[_0x2fb791(0xdb)]['id']+_0x42eed2[_0x2fb791(0x2bb)]})}):_0xd183f9;})}):_0x36b659;}function _0x25bf4e(){const _0x30cc01=_0x30e6e2;return Math[_0x30cc01(0x319)]()[_0x30cc01(0x2e4)](0x24)[_0x30cc01(0x2b5)](0x2,0x8);}_0x2676fd[_0x30e6e2(0x18e)]=_0x30e6e2(0xbf);var _0x4c9489={'tag':'svg','attrs':{'fill':_0x30e6e2(0x197),'viewBox':_0x30e6e2(0x177),'width':_0x30e6e2(0xbe),'height':_0x30e6e2(0xbe)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x30e6e2(0x187),'attrs':{'stroke':'currentColor','d':_0x30e6e2(0x17e),'strokeLinecap':_0x30e6e2(0x1ac),'strokeLinejoin':_0x30e6e2(0x1ac),'strokeWidth':1.2}}]},{'tag':_0x30e6e2(0x1ae),'attrs':{},'children':[{'tag':_0x30e6e2(0x1b6),'attrs':{'id':_0x30e6e2(0x20c)},'children':[{'tag':'path','attrs':{'fill':_0x30e6e2(0x2c8),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x30e6e2(0x20c)]},_0x51683f=_0x32cac2[_0x30e6e2(0x1fb)](function(_0x3071b4,_0x22b29d){const _0x1175e1=_0x30e6e2;return _0x32cac2['createElement'](_0x2676fd,Object[_0x1175e1(0x121)]({},_0x3071b4,{'id':'off-line-single','ref':_0x22b29d,'icon':_0x4c9489}));});_0x51683f['displayName']='OffLineSingle';var _0x3e0143={'tag':_0x30e6e2(0xf4),'attrs':{'fill':_0x30e6e2(0x197),'viewBox':_0x30e6e2(0x132),'width':_0x30e6e2(0xbe),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x30e6e2(0x1c1)},'children':[{'tag':'path','attrs':{'stroke':_0x30e6e2(0x271),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x30e6e2(0x1ac),'strokeLinejoin':_0x30e6e2(0x1ac),'strokeWidth':1.2}}]},{'tag':_0x30e6e2(0x1ae),'attrs':{},'children':[{'tag':_0x30e6e2(0x1b6),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x30e6e2(0x187),'attrs':{'fill':_0x30e6e2(0x2c8),'d':'M0\x200H16V16H0z','transform':_0x30e6e2(0x1d7)}}]}]}],'defIds':[_0x30e6e2(0x16c)]},_0x7261e=_0x32cac2[_0x30e6e2(0x1fb)](function(_0x2f33df,_0x2b551d){const _0x40b11d=_0x30e6e2;return _0x32cac2[_0x40b11d(0x302)](_0x2676fd,Object['assign']({},_0x2f33df,{'id':_0x40b11d(0x11b),'ref':_0x2b551d,'icon':_0x3e0143}));});_0x7261e[_0x30e6e2(0x18e)]=_0x30e6e2(0xaf);function _0x27b19b(_0x54206d){const _0x2f0866=_0x30e6e2;switch(_0x54206d){case _0x409e59['CollaborationStatus'][_0x2f0866(0x268)]:return _0x2f0866(0x276);case _0x409e59[_0x2f0866(0x2cf)][_0x2f0866(0x171)]:return _0x2f0866(0x9e);case _0x409e59['CollaborationStatus'][_0x2f0866(0x213)]:return _0x2f0866(0x250);case _0x409e59[_0x2f0866(0x2cf)][_0x2f0866(0x1b0)]:return _0x2f0866(0x29b);case _0x409e59[_0x2f0866(0x2cf)][_0x2f0866(0xca)]:case _0x409e59[_0x2f0866(0x2cf)][_0x2f0866(0x1f5)]:return _0x2f0866(0x12d);case _0x409e59[_0x2f0866(0x2cf)][_0x2f0866(0x14e)]:case _0x409e59[_0x2f0866(0x2cf)][_0x2f0866(0x185)]:return _0x2f0866(0x163);}}function _0x3eb53b(_0x3afdfc){const _0x191899=_0x30e6e2,{status$:_0x5daf98}=_0x3afdfc,_0x36c9d3=_0x320f27[_0x191899(0x274)](_0x5daf98,_0x409e59[_0x191899(0x2cf)][_0x191899(0x1b0)]),_0x492ea2=_0x320f27['useDependency'](_0x4cc78f[_0x191899(0x245)]),_0xad09c0=_0x320f27[_0x191899(0x2f1)](_0x409e59[_0x191899(0x13e)]),_0x502ef0=_0x36c9d3!==_0x409e59['CollaborationStatus'][_0x191899(0x268)],_0xe8859f=_0x492ea2['t'](_0x27b19b(_0x36c9d3)),_0x273c49=_0x502ef0?_0x36d477['jsx'](_0x7261e,{}):_0x36d477[_0x191899(0x19e)](_0x51683f,{}),_0x5df3e2=_0x32cac2[_0x191899(0x234)](()=>{_0x502ef0||_0xad09c0['reconnect']();},[_0x502ef0,_0xad09c0]);function _0x1ec3fc(){const _0x58eed1=_0x191899;return _0x36d477[_0x58eed1(0x303)](_0x58eed1(0xbb),{'className':_0x58eed1(0x1e1),'onClick':_0x5df3e2,'children':[_0x36d477[_0x58eed1(0x19e)](_0x58eed1(0xbb),{'className':_0x5aae40[_0x58eed1(0x231)](_0x58eed1(0x174),{'univer-text-green-500':_0x502ef0,'univer-text-red-500':!_0x502ef0}),'children':_0x273c49}),_0x36d477[_0x58eed1(0x19e)](_0x58eed1(0xbb),{'className':_0x58eed1(0x309),'children':_0xe8859f})]});}return _0x502ef0?_0x1ec3fc():_0x36d477[_0x191899(0x19e)](_0x5aae40[_0x191899(0x114)],{'title':_0x492ea2['t'](_0x191899(0xe2)),'children':_0x1ec3fc()});}var _0x222242=Object['getOwnPropertyDescriptor'],_0x3fbf44=(_0x2bae43,_0x377d8d,_0x1407fb,_0x4ecf0d)=>{const _0x3b2e27=_0x30e6e2;for(var _0x2a05ba=_0x4ecf0d>0x1?void 0x0:_0x4ecf0d?_0x222242(_0x377d8d,_0x1407fb):_0x377d8d,_0x5835d4=_0x2bae43[_0x3b2e27(0x256)]-0x1,_0x1ff05b;_0x5835d4>=0x0;_0x5835d4--)(_0x1ff05b=_0x2bae43[_0x5835d4])&&(_0x2a05ba=_0x1ff05b(_0x2a05ba)||_0x2a05ba);return _0x2a05ba;},_0x27b401=(_0xd75dcf,_0x19e8c3)=>(_0x3526dd,_0x325db1)=>_0x19e8c3(_0x3526dd,_0x325db1,_0xd75dcf);_0x441943[_0x30e6e2(0x25f)]=class extends _0x4cc78f[_0x30e6e2(0xcf)]{constructor(_0x12c165,_0x17e051,_0x4be152,_0x56ffff){const _0x36170b=_0x30e6e2;super(),_0x4751bc(this,_0x36170b(0x21a),new _0x4e4d08[(_0x36170b(0x2de))](_0x409e59[_0x36170b(0x2cf)][_0x36170b(0x1b0)])),(this[_0x36170b(0x15b)]=_0x12c165,this[_0x36170b(0x2f0)]=_0x17e051,this[_0x36170b(0x29c)]=_0x4be152,this[_0x36170b(0x30a)]=_0x56ffff,this[_0x36170b(0x28d)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x88762c=_0x30e6e2;this['disposeWithMe'](this['_univerInstanceService'][_0x88762c(0xe1)][_0x88762c(0x18f)](_0x4e4d08[_0x88762c(0x1b8)](()=>{const _0x57a861=_0x88762c,_0x5d7135=this[_0x57a861(0x15b)][_0x57a861(0x2ad)]();return _0x5d7135?this[_0x57a861(0x29c)][_0x57a861(0x2c9)](_0x5d7135[_0x57a861(0x1f4)]()):_0x4e4d08['of'](null);}),_0x4e4d08[_0x88762c(0x1b8)](_0x3ec648=>_0x3ec648?_0x3ec648[_0x88762c(0xb3)]:_0x4e4d08['of'](_0x409e59[_0x88762c(0x2cf)]['NOT_COLLAB'])))[_0x88762c(0x19d)](_0x2e001b=>{const _0x2b1228=_0x88762c;this['_status$'][_0x2b1228(0x2a2)](_0x2e001b);}));}[_0x30e6e2(0x28d)](){const _0x107ebc=_0x30e6e2;this[_0x107ebc(0x1b4)](this[_0x107ebc(0x30a)]['registerComponent'](_0x320f27[_0x107ebc(0x154)][_0x107ebc(0x1da)],()=>_0x320f27['connectInjector'](_0x4dc23c({'status$':this[_0x107ebc(0x21a)][_0x107ebc(0x2cb)]()}),this['_injector'])));}},_0x441943[_0x30e6e2(0x25f)]=_0x3fbf44([_0x27b401(0x0,_0x4cc78f[_0x30e6e2(0x176)]),_0x27b401(0x1,_0x4cc78f[_0x30e6e2(0x2aa)](_0x4cc78f['Injector'])),_0x27b401(0x2,_0x4cc78f[_0x30e6e2(0x2aa)](_0x409e59['CollaborationController'])),_0x27b401(0x3,_0x320f27[_0x30e6e2(0xa2)])],_0x441943[_0x30e6e2(0x25f)]);function _0x4dc23c(_0x5a4547){const {status$:_0xf1d79f}=_0x5a4547;return function(){const _0x3ccf8a=_0x558d;return _0x36d477[_0x3ccf8a(0x19e)](_0x3eb53b,{'status$':_0xf1d79f});};}var _0x5767ad=Object['getOwnPropertyDescriptor'],_0x54055c=(_0x45e277,_0x39e5a5,_0x3cf7cd,_0x4b77e2)=>{const _0x158734=_0x30e6e2;for(var _0x4398f8=_0x4b77e2>0x1?void 0x0:_0x4b77e2?_0x5767ad(_0x39e5a5,_0x3cf7cd):_0x39e5a5,_0x1ea89b=_0x45e277[_0x158734(0x256)]-0x1,_0x1adf92;_0x1ea89b>=0x0;_0x1ea89b--)(_0x1adf92=_0x45e277[_0x1ea89b])&&(_0x4398f8=_0x1adf92(_0x4398f8)||_0x4398f8);return _0x4398f8;},_0x85abbd=(_0x340139,_0x1041dd)=>(_0x9d480c,_0x48142e)=>_0x1041dd(_0x9d480c,_0x48142e,_0x340139);let _0x19fa4e=class extends _0x4cc78f['Disposable']{constructor(_0x5c6552,_0x320c4a,_0x2d72c2,_0x47195d,_0x2a6b04,_0x1bef64){const _0x94b50c=_0x30e6e2;super(),this[_0x94b50c(0x126)]=_0x5c6552,this[_0x94b50c(0x27a)]=_0x320c4a,this[_0x94b50c(0x99)]=_0x2d72c2,this[_0x94b50c(0x139)]=_0x47195d,this['_notificationService']=_0x2a6b04,this[_0x94b50c(0x24e)]=_0x1bef64,this[_0x94b50c(0xc3)](),this[_0x94b50c(0x168)]();}[_0x30e6e2(0xc3)](){const _0x4cc1f0=_0x30e6e2;this[_0x4cc1f0(0x1b4)](this[_0x4cc1f0(0x126)][_0x4cc1f0(0x216)](()=>{const _0x4dedaa=_0x4cc1f0;if(this[_0x4dedaa(0x27a)][_0x4dedaa(0xb2)]['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x30e6e2(0x168)](){const _0x587eb7=_0x30e6e2;this[_0x587eb7(0x1b4)](this['_collaborationUIEventService']['event$'][_0x587eb7(0x19d)](_0x54f77c=>{const _0x48e2e8=_0x587eb7;_0x54f77c['id']===_0x409e59[_0x48e2e8(0x20a)][_0x48e2e8(0x1d5)]&&this[_0x48e2e8(0x139)][_0x48e2e8(0xdd)]({'type':_0x5aae40['MessageType'][_0x48e2e8(0x315)],'content':this[_0x48e2e8(0x24e)]['t'](_0x48e2e8(0xe4))}),_0x54f77c['id']===_0x409e59[_0x48e2e8(0x20a)][_0x48e2e8(0x190)]&&this[_0x48e2e8(0x139)][_0x48e2e8(0xdd)]({'type':_0x5aae40[_0x48e2e8(0x1a3)]['Warning'],'content':this[_0x48e2e8(0x24e)]['t'](_0x48e2e8(0x2df))}),_0x54f77c['id']===_0x409e59[_0x48e2e8(0x20a)][_0x48e2e8(0x26d)]&&this[_0x48e2e8(0x30d)]['show']({'title':this[_0x48e2e8(0x24e)]['t'](_0x48e2e8(0x23a)),'content':this['_localeService']['t'](_0x48e2e8(0x14a)),'type':_0x48e2e8(0x155),'duration':0x0}),_0x54f77c['id']===_0x409e59[_0x48e2e8(0x20a)][_0x48e2e8(0x171)]&&this[_0x48e2e8(0x139)][_0x48e2e8(0xdd)]({'type':_0x5aae40[_0x48e2e8(0x1a3)][_0x48e2e8(0x291)],'content':this[_0x48e2e8(0x24e)]['t'](_0x48e2e8(0x2df))+'('+_0x54f77c[_0x48e2e8(0x172)]+')'}),_0x54f77c['id']===_0x409e59['CollaborationUIEventId'][_0x48e2e8(0x215)]&&this[_0x48e2e8(0x139)][_0x48e2e8(0xdd)]({'type':_0x5aae40['MessageType']['Warning'],'content':this[_0x48e2e8(0x24e)]['t'](_0x54f77c['data']||'')}),_0x54f77c['id']===_0x409e59[_0x48e2e8(0x20a)]['SOCKET_FAILED_RETRY']&&this[_0x48e2e8(0x139)]['show']({'type':_0x5aae40[_0x48e2e8(0x1a3)][_0x48e2e8(0x315)],'content':this[_0x48e2e8(0x24e)]['t'](_0x48e2e8(0x297))}),_0x54f77c['id']===_0x409e59[_0x48e2e8(0x20a)][_0x48e2e8(0x209)]&&this['_messageService']['show']({'type':_0x5aae40['MessageType'][_0x48e2e8(0x291)],'content':this['_localeService']['t'](_0x48e2e8(0xe9))}),_0x54f77c['id']===_0x409e59[_0x48e2e8(0x20a)][_0x48e2e8(0x17b)]&&this[_0x48e2e8(0x139)][_0x48e2e8(0xdd)]({'type':_0x5aae40[_0x48e2e8(0x1a3)][_0x48e2e8(0x291)],'content':this[_0x48e2e8(0x24e)]['t'](_0x48e2e8(0x9a))});}));}};_0x19fa4e=_0x54055c([_0x85abbd(0x0,_0x320f27[_0x30e6e2(0xe5)]),_0x85abbd(0x1,_0x409e59[_0x30e6e2(0x18d)]),_0x85abbd(0x2,_0x4cc78f[_0x30e6e2(0x2aa)](_0x409e59[_0x30e6e2(0x1eb)])),_0x85abbd(0x3,_0x320f27[_0x30e6e2(0x182)]),_0x85abbd(0x4,_0x320f27[_0x30e6e2(0x2ac)]),_0x85abbd(0x5,_0x4cc78f['Inject'](_0x4cc78f[_0x30e6e2(0x245)]))],_0x19fa4e);const _0x1c572a='collaboration-client-ui.config',_0x5202f0={},_0x302fa3=_0x4cc78f[_0x30e6e2(0x1dc)](_0x30e6e2(0x2b0));var _0x5085b2=Object[_0x30e6e2(0x2d6)],_0x102999=(_0xfe2ef1,_0x406fd6,_0x1d8bd,_0x6d73bb)=>{const _0x2641c9=_0x30e6e2;for(var _0x5c2807=_0x6d73bb>0x1?void 0x0:_0x6d73bb?_0x5085b2(_0x406fd6,_0x1d8bd):_0x406fd6,_0x28981e=_0xfe2ef1[_0x2641c9(0x256)]-0x1,_0x458264;_0x28981e>=0x0;_0x28981e--)(_0x458264=_0xfe2ef1[_0x28981e])&&(_0x5c2807=_0x458264(_0x5c2807)||_0x5c2807);return _0x5c2807;},_0x137aa6=(_0x2b0a80,_0x80dea)=>(_0x38ca71,_0x35cfd1)=>_0x80dea(_0x38ca71,_0x35cfd1,_0x2b0a80);_0x441943[_0x30e6e2(0x2cd)]=class extends _0x4cc78f[_0x30e6e2(0x238)]{constructor(_0x35c206,_0x5057a3,_0x106009,_0x89f179,_0x143646){const _0x59a948=_0x30e6e2;super(),this['_urlService']=_0x35c206,this[_0x59a948(0xa0)]=_0x5057a3,this[_0x59a948(0x11f)]=_0x106009,this[_0x59a948(0x18a)]=_0x89f179,_0x143646?_0x143646==null||_0x143646[_0x59a948(0x211)]()[_0x59a948(0x2bf)](()=>this[_0x59a948(0x23e)]()):(this[_0x59a948(0xa0)][_0x59a948(0x219)]('[CollaborationDataLoaderController]',_0x59a948(0x2d8)),this['_init']());}async[_0x30e6e2(0x23e)](){const _0x8ddafe=_0x30e6e2,_0x582c8d=this[_0x8ddafe(0x165)][_0x8ddafe(0x15c)](_0x8ddafe(0x229)),_0x20c758=this[_0x8ddafe(0x165)]['getParam']('type'),_0x9e6765=this[_0x8ddafe(0x165)][_0x8ddafe(0x15c)](_0x8ddafe(0x13f));if(!_0x582c8d||!_0x20c758){this['_logService'][_0x8ddafe(0x219)](_0x8ddafe(0x30f),_0x8ddafe(0x2d9));return;}const _0x5e7f9b=await this['_dataLoaderService'][_0x8ddafe(0x13d)](_0x582c8d,Number(_0x20c758),_0x9e6765);_0x5e7f9b&&_0x5e7f9b instanceof _0x4cc78f[_0x8ddafe(0x96)]&&this[_0x8ddafe(0x108)](_0x5e7f9b);}async['_setupSubUnitSync'](_0x570a58){const _0x2697e8=_0x30e6e2;await this[_0x2697e8(0x2f9)](_0x570a58),_0x570a58[_0x2697e8(0xd0)]['pipe'](_0x4e4d08[_0x2697e8(0x2cc)](this[_0x2697e8(0x2ae)]))[_0x2697e8(0x19d)](_0x430b04=>{const _0x395fa7=_0x2697e8;_0x430b04&&this[_0x395fa7(0x8c)](_0x430b04);}),this[_0x2697e8(0x165)][_0x2697e8(0x21f)]['pipe'](_0x4e4d08[_0x2697e8(0x2cc)](this['dispose$']))[_0x2697e8(0x19d)](()=>this['_updateSubUnitFromURLParams'](_0x570a58));}[_0x30e6e2(0x8c)](_0x234e6d,_0x9935d9=!0x1){const _0x48848f=_0x30e6e2,_0x345bb7=this['_urlService'][_0x48848f(0x15c)](_0x48848f(0x13f));_0x234e6d[_0x48848f(0x156)]()!==_0x345bb7&&this[_0x48848f(0x165)][_0x48848f(0x162)](_0x48848f(0x13f),_0x234e6d[_0x48848f(0x156)](),_0x9935d9);}async[_0x30e6e2(0x2f9)](_0x59d331){const _0x2d2172=_0x30e6e2;var _0x2308bd;const _0xbdec87=this[_0x2d2172(0x165)]['getParam'](_0x2d2172(0x13f));if(!_0xbdec87||!_0x59d331[_0x2d2172(0x122)](_0xbdec87)){const _0x3da2ac=_0x59d331[_0x2d2172(0x312)]()[0x0],_0x5d837c=_0x59d331[_0x2d2172(0x122)](_0x3da2ac);if(!_0x5d837c)return;this[_0x2d2172(0x8c)](_0x5d837c,!0x0),await this[_0x2d2172(0x11f)][_0x2d2172(0x140)](_0x573987[_0x2d2172(0x2db)]['id'],{'unitId':_0x59d331['getUnitId'](),'subUnitId':_0x3da2ac});return;}((_0x2308bd=_0x59d331[_0x2d2172(0xd2)]())==null?void 0x0:_0x2308bd[_0x2d2172(0x156)]())!==_0xbdec87&&await this[_0x2d2172(0x11f)][_0x2d2172(0x140)](_0x573987[_0x2d2172(0x2db)]['id'],{'unitId':_0x59d331[_0x2d2172(0x1f4)](),'subUnitId':_0xbdec87});}},_0x441943['CollaborationDataLoaderController']=_0x102999([_0x137aa6(0x0,_0x302fa3),_0x137aa6(0x1,_0x4cc78f[_0x30e6e2(0x267)]),_0x137aa6(0x2,_0x4cc78f[_0x30e6e2(0x11d)]),_0x137aa6(0x3,_0x4cc78f[_0x30e6e2(0x2aa)](_0x409e59[_0x30e6e2(0x29f)])),_0x137aa6(0x4,_0x4cc78f[_0x30e6e2(0x237)](_0x2cd39d['IRemoteInstanceService']))],_0x441943[_0x30e6e2(0x2cd)]);var _0x49f08a=Object[_0x30e6e2(0x2d6)],_0x6e83b0=(_0x26dc14,_0x3591ff,_0x426d22,_0x42c85d)=>{const _0x240deb=_0x30e6e2;for(var _0x46689d=_0x42c85d>0x1?void 0x0:_0x42c85d?_0x49f08a(_0x3591ff,_0x426d22):_0x3591ff,_0xf5676e=_0x26dc14[_0x240deb(0x256)]-0x1,_0x562adc;_0xf5676e>=0x0;_0xf5676e--)(_0x562adc=_0x26dc14[_0xf5676e])&&(_0x46689d=_0x562adc(_0x46689d)||_0x46689d);return _0x46689d;},_0x5d3773=(_0x4492ca,_0x3a8082)=>(_0x103db8,_0x144554)=>_0x3a8082(_0x103db8,_0x144554,_0x4492ca);let _0x362619=class{constructor(_0x21b859,_0x5a1911,_0x18e965){const _0x4f13a8=_0x30e6e2;this[_0x4f13a8(0x2f0)]=_0x21b859,this['_transformService']=_0x5a1911,this[_0x4f13a8(0xc8)]=_0x18e965;}[_0x30e6e2(0xff)](_0x568894){const _0x443f2e=_0x30e6e2;this[_0x443f2e(0x179)](_0x568894),this[_0x443f2e(0x235)](_0x568894);}['transformRemoteChangeset'](_0x1e3036){const _0x22cebc=_0x30e6e2,{unitID:_0x403cef}=_0x1e3036,_0x4df907=this[_0x22cebc(0xc8)][_0x22cebc(0x264)](_0x403cef)[_0x22cebc(0x8a)](_0x1fbd92['DocIMEInputManagerService']),{redoCache:_0x1c131a}=_0x4df907[_0x22cebc(0x2c0)]();if(_0x1c131a[_0x22cebc(0x256)]===0x0)return _0x1e3036;let _0x431dfe=_0x4cc78f[_0x22cebc(0x89)][_0x22cebc(0x2b8)](_0x1e3036[_0x22cebc(0xb1)][0x0]);for(let _0x3fedf4=0x0;_0x3fedf4<_0x1c131a[_0x22cebc(0x256)];_0x3fedf4++){const _0x19e842={'id':'doc.mutation.rich-text-editing','params':{..._0x1c131a[_0x3fedf4]}},_0x2caa05=this[_0x22cebc(0x25b)]['transformMutation'](_0x431dfe,_0x19e842,!0x1);if(_0x20181b['isTransformMutationFailure'](_0x2caa05))throw _0x2caa05['error'];_0x431dfe=_0x2caa05[_0x22cebc(0x1bf)];}return{..._0x4cc78f[_0x22cebc(0x89)][_0x22cebc(0x2b8)](_0x1e3036),'mutations':[_0x431dfe]};}[_0x30e6e2(0x179)](_0x44bc68){const _0x390ad7=_0x30e6e2,{unitID:_0x3b38ed}=_0x44bc68,_0x577445=this['_renderManagerService'][_0x390ad7(0x264)](_0x3b38ed)['with'](_0x1fbd92[_0x390ad7(0x252)]),{undoCache:_0x5b5555,redoCache:_0x5550cf}=_0x577445[_0x390ad7(0x2c0)]();if(_0x5b5555['length']===0x0||_0x5550cf[_0x390ad7(0x256)]===0x0)return;const _0x5d70c1=[],_0xffbbb9=[];let _0xb9f7d2=_0x4cc78f['Tools']['deepClone'](_0x44bc68[_0x390ad7(0xb1)][0x0]),_0x3b5d41=_0x4cc78f[_0x390ad7(0x89)][_0x390ad7(0x2b8)](_0x44bc68['mutations'][0x0]);for(let _0x55e397=_0x5b5555[_0x390ad7(0x256)]-0x1;_0x55e397>=0x0;_0x55e397--){const _0x159ec4={'id':_0x390ad7(0x1d1),'params':{..._0x5b5555[_0x55e397]}},_0x3b0d2a={'id':_0x390ad7(0x1d1),'params':{..._0x5550cf[_0x55e397]}},_0x40e011=this[_0x390ad7(0x25b)][_0x390ad7(0x25e)](_0xb9f7d2,_0x159ec4,!0x1),_0x828e9b=this['_transformService'][_0x390ad7(0x25e)](_0x3b5d41,_0x3b0d2a,!0x1);if(_0x20181b[_0x390ad7(0x1f0)](_0x40e011))throw _0x40e011[_0x390ad7(0x155)];if(_0x20181b[_0x390ad7(0x1f0)](_0x828e9b))throw _0x828e9b['error'];_0x5d70c1['unshift'](_0x40e011[_0x390ad7(0x2bc)][_0x390ad7(0x9f)]),_0xffbbb9[_0x390ad7(0x289)](_0x828e9b[_0x390ad7(0x2bc)][_0x390ad7(0x9f)]),_0xb9f7d2=_0x40e011['m1Prime'],_0x3b5d41=_0x828e9b[_0x390ad7(0x1bf)];}_0x577445[_0x390ad7(0x261)]({'undoCache':_0x5d70c1,'redoCache':_0xffbbb9});}[_0x30e6e2(0x235)](_0x576ea5){const _0x501ef7=_0x30e6e2,{unitID:_0x4e8b54}=_0x576ea5,_0x48d944=this[_0x501ef7(0xc8)][_0x501ef7(0x264)](_0x4e8b54)[_0x501ef7(0x8a)](_0x1fbd92['DocIMEInputManagerService']),_0x13b473=_0x48d944['getActiveRange']();if(_0x13b473==null)return;const _0xe0ea95=[{'id':_0x501ef7(0x1d1),'params':{'unitId':_0x576ea5[_0x501ef7(0x87)],'actions':null,'textRanges':[_0x13b473]}}],_0x3037ff=this[_0x501ef7(0x25b)][_0x501ef7(0x84)](_0x576ea5,_0xe0ea95);if(!_0x20181b[_0x501ef7(0x22a)](_0x3037ff))throw _0x3037ff[_0x501ef7(0x155)];const _0x300322=_0x3037ff[_0x501ef7(0x2bc)][0x0][_0x501ef7(0x9f)][_0x501ef7(0x28b)];Array['isArray'](_0x300322)&&_0x300322[_0x501ef7(0x256)]&&_0x48d944['setActiveRange'](_0x300322[0x0]);}};_0x362619=_0x6e83b0([_0x5d3773(0x0,_0x4cc78f[_0x30e6e2(0x2aa)](_0x4cc78f[_0x30e6e2(0x27d)])),_0x5d3773(0x1,_0x20181b[_0x30e6e2(0x12c)]),_0x5d3773(0x2,_0x5e2b74[_0x30e6e2(0x227)])],_0x362619);var _0x4fcf31=Object[_0x30e6e2(0x2d6)],_0x1621b6=(_0x45d71e,_0x5f598c,_0x56a5c2,_0x2e59fd)=>{const _0x3b67b4=_0x30e6e2;for(var _0x132e4c=_0x2e59fd>0x1?void 0x0:_0x2e59fd?_0x4fcf31(_0x5f598c,_0x56a5c2):_0x5f598c,_0x22348d=_0x45d71e[_0x3b67b4(0x256)]-0x1,_0x3066f8;_0x22348d>=0x0;_0x22348d--)(_0x3066f8=_0x45d71e[_0x22348d])&&(_0x132e4c=_0x3066f8(_0x132e4c)||_0x132e4c);return _0x132e4c;},_0x29171d=(_0x1b4178,_0x1b4ed3)=>(_0x452c67,_0x4b2c4f)=>_0x1b4ed3(_0x452c67,_0x4b2c4f,_0x1b4178);let _0x4ce2a3=class{constructor(_0x254be1,_0xacd528,_0x253fcc){const _0x18f959=_0x30e6e2;this[_0x18f959(0x2f0)]=_0x254be1,this[_0x18f959(0x25b)]=_0xacd528,this['_docStateChangeManagerService']=_0x253fcc;}[_0x30e6e2(0x198)](_0x414efc){this['_transformHistoryAndStateStack'](_0x414efc);}[_0x30e6e2(0x257)](_0x2b8cb3){const _0x3cf5fd=_0x30e6e2,{unitID:_0x2a3009}=_0x2b8cb3,{collaboration:_0x452e1d}=this[_0x3cf5fd(0x125)][_0x3cf5fd(0xe8)](_0x2a3009);if(_0x452e1d['length']===0x0)return _0x2b8cb3;let _0x3f3a1f=_0x4cc78f[_0x3cf5fd(0x89)]['deepClone'](_0x2b8cb3[_0x3cf5fd(0xb1)][0x0]);for(let _0x3b05e8=0x0;_0x3b05e8<_0x452e1d['length'];_0x3b05e8++){const _0x31fa62={'id':_0x3cf5fd(0x1d1),'params':{'unitId':_0x452e1d[_0x3b05e8][_0x3cf5fd(0x248)],..._0x452e1d[_0x3b05e8][_0x3cf5fd(0x136)]}},_0x26c84a=this['_transformService'][_0x3cf5fd(0x25e)](_0x3f3a1f,_0x31fa62,!0x1);if(_0x20181b[_0x3cf5fd(0x1f0)](_0x26c84a))throw _0x26c84a[_0x3cf5fd(0x155)];_0x3f3a1f=_0x26c84a[_0x3cf5fd(0x1bf)];}return{..._0x4cc78f[_0x3cf5fd(0x89)][_0x3cf5fd(0x2b8)](_0x2b8cb3),'mutations':[_0x3f3a1f]};}['_transformHistoryAndStateStack'](_0x14119f){const _0x19077f=_0x30e6e2,{unitID:_0x419d00}=_0x14119f,{history:_0x4f4cf1,collaboration:_0x28cfaa}=this[_0x19077f(0x125)][_0x19077f(0xe8)](_0x419d00);if(_0x4f4cf1[_0x19077f(0x256)]===0x0&&_0x28cfaa[_0x19077f(0x256)]===0x0)return;const _0x64c6ca=[],_0x4ced3f=[];let _0xc185b7=_0x4cc78f[_0x19077f(0x89)]['deepClone'](_0x14119f[_0x19077f(0xb1)][0x0]),_0x2412c3=_0x4cc78f['Tools']['deepClone'](_0x14119f[_0x19077f(0xb1)][0x0]);for(let _0x5eb708=_0x4f4cf1[_0x19077f(0x256)]-0x1;_0x5eb708>=0x0;_0x5eb708--){const _0x58034f={'id':_0x19077f(0x1d1),'params':{'unitId':_0x4f4cf1[_0x5eb708][_0x19077f(0x248)],..._0x4f4cf1[_0x5eb708]['undoState']}},_0x14e49d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4f4cf1[_0x5eb708][_0x19077f(0x248)],..._0x4f4cf1[_0x5eb708][_0x19077f(0x136)]}},_0x2b92ad=this[_0x19077f(0x25b)][_0x19077f(0x25e)](_0xc185b7,_0x58034f,!0x1),_0x1c4a17=this[_0x19077f(0x25b)][_0x19077f(0x25e)](_0x2412c3,_0x14e49d,!0x1);if(_0x20181b[_0x19077f(0x1f0)](_0x2b92ad))throw _0x2b92ad[_0x19077f(0x155)];if(_0x20181b[_0x19077f(0x1f0)](_0x1c4a17))throw _0x1c4a17[_0x19077f(0x155)];_0x64c6ca[_0x19077f(0x289)]({..._0x4f4cf1[_0x5eb708],'undoState':_0x2b92ad[_0x19077f(0x2bc)][_0x19077f(0x9f)],'redoState':_0x1c4a17[_0x19077f(0x2bc)][_0x19077f(0x9f)]}),_0xc185b7=_0x2b92ad[_0x19077f(0x1bf)],_0x2412c3=_0x1c4a17[_0x19077f(0x1bf)];}_0xc185b7=_0x4cc78f[_0x19077f(0x89)][_0x19077f(0x2b8)](_0x14119f[_0x19077f(0xb1)][0x0]),_0x2412c3=_0x4cc78f[_0x19077f(0x89)][_0x19077f(0x2b8)](_0x14119f[_0x19077f(0xb1)][0x0]);for(let _0x39e6c7=_0x28cfaa['length']-0x1;_0x39e6c7>=0x0;_0x39e6c7--){const _0x9871eb={'id':_0x19077f(0x1d1),'params':{'unitId':_0x28cfaa[_0x39e6c7][_0x19077f(0x248)],..._0x28cfaa[_0x39e6c7][_0x19077f(0xf1)]}},_0x4582d9={'id':_0x19077f(0x1d1),'params':{'unitId':_0x28cfaa[_0x39e6c7][_0x19077f(0x248)],..._0x28cfaa[_0x39e6c7]['redoState']}},_0x56c8a4=this[_0x19077f(0x25b)][_0x19077f(0x25e)](_0xc185b7,_0x9871eb,!0x1),_0x59b984=this[_0x19077f(0x25b)][_0x19077f(0x25e)](_0x2412c3,_0x4582d9,!0x1);if(_0x20181b['isTransformMutationFailure'](_0x56c8a4))throw _0x56c8a4['error'];if(_0x20181b[_0x19077f(0x1f0)](_0x59b984))throw _0x59b984[_0x19077f(0x155)];_0x4ced3f[_0x19077f(0x289)]({..._0x28cfaa[_0x39e6c7],'undoState':_0x56c8a4['m2Prime'][_0x19077f(0x9f)],'redoState':_0x59b984['m2Prime']['params']}),_0xc185b7=_0x56c8a4[_0x19077f(0x1bf)],_0x2412c3=_0x59b984['m1Prime'];}this[_0x19077f(0x125)][_0x19077f(0x2b9)](_0x419d00,{'history':_0x64c6ca,'collaboration':_0x4ced3f});}};_0x4ce2a3=_0x1621b6([_0x29171d(0x0,_0x4cc78f[_0x30e6e2(0x2aa)](_0x4cc78f[_0x30e6e2(0x27d)])),_0x29171d(0x1,_0x20181b[_0x30e6e2(0x12c)]),_0x29171d(0x2,_0x4cc78f[_0x30e6e2(0x2aa)](_0x1fbd92['DocStateChangeManagerService']))],_0x4ce2a3);var _0x164a85=Object[_0x30e6e2(0x2d6)],_0x23c1a2=(_0x2de362,_0x3aca30,_0x13b3f6,_0x27abf0)=>{const _0x210bde=_0x30e6e2;for(var _0x2a1231=_0x27abf0>0x1?void 0x0:_0x27abf0?_0x164a85(_0x3aca30,_0x13b3f6):_0x3aca30,_0x245c67=_0x2de362[_0x210bde(0x256)]-0x1,_0x50c6bb;_0x245c67>=0x0;_0x245c67--)(_0x50c6bb=_0x2de362[_0x245c67])&&(_0x2a1231=_0x50c6bb(_0x2a1231)||_0x2a1231);return _0x2a1231;},_0x237afa=(_0x282f26,_0x548a68)=>(_0x349270,_0x2bd9ba)=>_0x548a68(_0x349270,_0x2bd9ba,_0x282f26);let _0x23ab6e=class{constructor(_0x54b61f,_0xd87755){this['_injector']=_0x54b61f,this['_transformService']=_0xd87755;}[_0x30e6e2(0x240)](_0x3433f6){const _0x4ed072=_0x30e6e2;var _0x5c57ce;const _0x362379=this['_injector'][_0x4ed072(0x27c)](_0x4029db['DocSelectionManagerService']),_0x174bfd=(_0x5c57ce=_0x362379[_0x4ed072(0x204)]())!=null?_0x5c57ce:[];if(_0x174bfd[_0x4ed072(0x256)]===0x0)return;const _0x3adb2a=_0x3433f6[_0x4ed072(0x87)],_0x55c2ee=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3adb2a,'actions':null,'textRanges':_0x174bfd}}],_0x1b74a1=this[_0x4ed072(0x25b)]['transformMutationsWithChangeset'](_0x3433f6,_0x55c2ee);if(!_0x20181b[_0x4ed072(0x22a)](_0x1b74a1))throw _0x1b74a1[_0x4ed072(0x155)];const _0x16b522=_0x1b74a1['m2Prime'][0x0][_0x4ed072(0x9f)][_0x4ed072(0x28b)];Array['isArray'](_0x16b522)&&_0x16b522[_0x4ed072(0x256)]&&_0x362379[_0x4ed072(0x24d)](_0x16b522,{'unitId':_0x3adb2a,'subUnitId':_0x3adb2a},!0x1);}};_0x23ab6e=_0x23c1a2([_0x237afa(0x0,_0x4cc78f['Inject'](_0x4cc78f['Injector'])),_0x237afa(0x1,_0x20181b[_0x30e6e2(0x12c)])],_0x23ab6e);var _0x31d50c=Object[_0x30e6e2(0x2d6)],_0x589396=(_0x5bab05,_0x1ac951,_0x393566,_0x1e711d)=>{const _0x426dba=_0x30e6e2;for(var _0xe010e4=_0x1e711d>0x1?void 0x0:_0x1e711d?_0x31d50c(_0x1ac951,_0x393566):_0x1ac951,_0x3d25ba=_0x5bab05[_0x426dba(0x256)]-0x1,_0x23c2ea;_0x3d25ba>=0x0;_0x3d25ba--)(_0x23c2ea=_0x5bab05[_0x3d25ba])&&(_0xe010e4=_0x23c2ea(_0xe010e4)||_0xe010e4);return _0xe010e4;},_0x41f2bb=(_0x2b21b4,_0x5e10df)=>(_0x27b7ce,_0x254433)=>_0x5e10df(_0x27b7ce,_0x254433,_0x2b21b4);let _0x10498a=class extends _0x4cc78f[_0x30e6e2(0xcf)]{constructor(_0x1e3bb5,_0x4b97c8,_0x21f755,_0xb90fe2,_0xb6d90d,_0x442be3,_0x3188df,_0x26c092){const _0x40d855=_0x30e6e2;super(),_0x4751bc(this,_0x40d855(0x21a),new _0x4e4d08[(_0x40d855(0x2de))](_0x409e59[_0x40d855(0x2cf)][_0x40d855(0x1b0)])),(this['_docStateChangeManagerService']=_0x1e3bb5,this[_0x40d855(0x29c)]=_0x4b97c8,this[_0x40d855(0x2ff)]=_0x21f755,this[_0x40d855(0x12b)]=_0xb90fe2,this['_docTransformSelectionsService']=_0xb6d90d,this[_0x40d855(0x1df)]=_0x442be3,this['_messageService']=_0x3188df,this['_localeService']=_0x26c092,this['_initEntityListener']());}['_initEntityListener'](){const _0xbc418d=_0x30e6e2;this['disposeWithMe'](this['_collaborationController']['entityInit$'][_0xbc418d(0x19d)](_0x20cb60=>{const _0x5a0a29=_0xbc418d,_0x535b8a=this['_docStateChangeManagerService'][_0x5a0a29(0x293)]['subscribe'](_0x14e00f=>{const _0x446424=_0x5a0a29;if(_0x14e00f==null)return;const {unitId:_0x23dcf0,redoState:_0x21a4c6,commandId:_0x10e7ef}=_0x14e00f;if(_0x23dcf0!==_0x20cb60[_0x446424(0x87)])return;const _0x339c8c={'id':_0x10e7ef,'type':_0x4cc78f[_0x446424(0x2b6)][_0x446424(0x2d2)],'params':{'unitId':_0x23dcf0,'actions':_0x21a4c6[_0x446424(0xfe)],'textRanges':null}};_0x20cb60['onLocalMutation'](_0x339c8c);});if(_0x20cb60['disposeWithMe'](_0x535b8a),_0x20cb60 instanceof _0x409e59[_0x5a0a29(0x1c2)]){const _0x22a455={'onTransformIME':_0x2af0a6=>this[_0x5a0a29(0x2ff)][_0x5a0a29(0xff)](_0x2af0a6),'onTransformState':_0x45766f=>this[_0x5a0a29(0x12b)][_0x5a0a29(0x198)](_0x45766f),'onTransformSelections':_0x59fa41=>this['_docTransformSelectionsService'][_0x5a0a29(0x240)](_0x59fa41),'onSyncEditingCollabCursor':_0x2e2349=>this[_0x5a0a29(0x1df)]['syncEditingCollabCursor'](_0x2e2349),'onTransformRemoteChangesetByIMECache':_0x2395df=>this[_0x5a0a29(0x2ff)][_0x5a0a29(0x257)](_0x2395df),'onTransformRemoteChangesetByStateCache':_0x27e39c=>this[_0x5a0a29(0x12b)][_0x5a0a29(0x257)](_0x27e39c)};_0x20cb60['addHandlerCallback'](_0x22a455);}}));}};_0x10498a=_0x589396([_0x41f2bb(0x0,_0x4cc78f['Inject'](_0x1fbd92[_0x30e6e2(0x282)])),_0x41f2bb(0x1,_0x4cc78f[_0x30e6e2(0x2aa)](_0x409e59[_0x30e6e2(0xac)])),_0x41f2bb(0x2,_0x4cc78f['Inject'](_0x362619)),_0x41f2bb(0x3,_0x4cc78f[_0x30e6e2(0x2aa)](_0x4ce2a3)),_0x41f2bb(0x4,_0x4cc78f[_0x30e6e2(0x2aa)](_0x23ab6e)),_0x41f2bb(0x5,_0x4cc78f[_0x30e6e2(0x2aa)](_0x3b65ae)),_0x41f2bb(0x6,_0x320f27[_0x30e6e2(0x182)]),_0x41f2bb(0x7,_0x4cc78f[_0x30e6e2(0x2aa)](_0x4cc78f[_0x30e6e2(0x245)]))],_0x10498a);var _0x3d4284=Object[_0x30e6e2(0x2d6)],_0x547063=(_0x301d9c,_0x5466c8,_0x3359aa,_0x469a08)=>{const _0x530833=_0x30e6e2;for(var _0x55ffac=_0x469a08>0x1?void 0x0:_0x469a08?_0x3d4284(_0x5466c8,_0x3359aa):_0x5466c8,_0x57a60d=_0x301d9c[_0x530833(0x256)]-0x1,_0x1436d4;_0x57a60d>=0x0;_0x57a60d--)(_0x1436d4=_0x301d9c[_0x57a60d])&&(_0x55ffac=_0x1436d4(_0x55ffac)||_0x55ffac);return _0x55ffac;},_0x1c1c51=(_0x2990ce,_0x390d35)=>(_0x4d2bf0,_0x19c4bc)=>_0x390d35(_0x4d2bf0,_0x19c4bc,_0x2990ce);let _0x279a31=class extends _0x4cc78f[_0x30e6e2(0xcf)]{constructor(_0x2c254a,_0x2ff585,_0x2da549){const _0x3d19ae=_0x30e6e2;super(),_0x4751bc(this,_0x3d19ae(0xf6),new Map()),_0x4751bc(this,_0x3d19ae(0x18b),new Map()),_0x4751bc(this,_0x3d19ae(0xa6),!0x1),(this[_0x3d19ae(0x9d)]=_0x2c254a,this['_localStorageService']=_0x2ff585,this[_0x3d19ae(0x109)]=_0x2da549);}[_0x30e6e2(0x2a1)](){const _0x5447fe=_0x30e6e2;this[_0x5447fe(0xa6)]=!0x0;}[_0x30e6e2(0x243)](){const _0x2ef458=_0x30e6e2;this[_0x2ef458(0xa6)]=!0x1;}get[_0x30e6e2(0xb2)](){const _0x38429b=_0x30e6e2;return this[_0x38429b(0x18b)];}[_0x30e6e2(0x2dd)](){const _0x468413=_0x30e6e2;this['exhaustSavingTask']()[_0x468413(0x2bf)](()=>super['dispose']());}async[_0x30e6e2(0xfc)](_0x45a5e7){const _0x4a5da8=_0x30e6e2;return this[_0x4a5da8(0xa6)]?null:this['_localStorageService'][_0x4a5da8(0x147)](_0x409e59[_0x4a5da8(0x239)](_0x45a5e7));}async['saveOfflineData'](_0x49dd30,_0x4efc31){const _0xab5013=_0x30e6e2;return!!this['_localStorageService'][_0xab5013(0x18c)](_0x49dd30,_0x4efc31);}[_0x30e6e2(0x259)](_0x5c2df1,_0x5e6541,_0x5bd619,_0x26ae83){const _0x1a0967=_0x30e6e2,_0x204b5c=this[_0x1a0967(0x109)][_0x1a0967(0x2da)](_0x5c2df1);this[_0x1a0967(0xf6)][_0x1a0967(0x220)](_0x5c2df1,{'unitID':_0x5c2df1,'type':_0x5e6541,'awaitingChangeset':_0x5bd619,'mutations':_0x26ae83,'rev':_0x204b5c}),this['_saveTaskMap'][_0x1a0967(0x30b)](_0x5c2df1)||this[_0x1a0967(0x164)](_0x5c2df1);}[_0x30e6e2(0x164)](_0xa51f29){const _0x296254=_0x30e6e2,_0x5b3222=this[_0x296254(0x260)]();_0x5b3222===0x0?this[_0x296254(0x10b)](_0xa51f29):this[_0x296254(0x18b)][_0x296254(0x220)](_0xa51f29,setTimeout(()=>this[_0x296254(0x10b)](_0xa51f29),_0x5b3222));}[_0x30e6e2(0x260)](){const _0x69f66e=_0x30e6e2;var _0x451820;return(_0x451820=this[_0x69f66e(0x9d)][_0x69f66e(0x222)](_0x409e59['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x451820:_0x409e59[_0x69f66e(0x2b1)];}[_0x30e6e2(0x10b)](_0x214bd5){const _0x3db4ae=_0x30e6e2,_0x4d18d5=this[_0x3db4ae(0x18b)][_0x3db4ae(0x27c)](_0x214bd5);return _0x4d18d5!==void 0x0&&window[_0x3db4ae(0x2e5)](_0x4d18d5),this[_0x3db4ae(0x2c1)]['setItem'](_0x409e59['getLocalCacheKey'](_0x214bd5),this[_0x3db4ae(0xf6)][_0x3db4ae(0x27c)](_0x214bd5))[_0x3db4ae(0x2bf)](()=>this[_0x3db4ae(0x18b)][_0x3db4ae(0xee)](_0x214bd5));}async[_0x30e6e2(0x31a)](){const _0x677a25=_0x30e6e2,_0x5a3be4=[];this[_0x677a25(0x18b)]['forEach']((_0x53085c,_0x476dbd)=>{const _0x438ce5=_0x677a25;window[_0x438ce5(0x2e5)](_0x53085c),_0x5a3be4[_0x438ce5(0x285)](this[_0x438ce5(0x10b)](_0x476dbd)[_0x438ce5(0x2bf)](()=>{const _0x543953=_0x438ce5;this[_0x543953(0x18b)][_0x543953(0xee)](_0x476dbd);}));}),await Promise[_0x677a25(0x253)](_0x5a3be4);}};_0x279a31=_0x547063([_0x1c1c51(0x0,_0x4cc78f[_0x30e6e2(0x14c)]),_0x1c1c51(0x1,_0x4cc78f[_0x30e6e2(0x104)]),_0x1c1c51(0x2,_0x4cc78f['Inject'](_0x20181b['RevisionService']))],_0x279a31);class _0x450afb extends _0x4cc78f[_0x30e6e2(0x238)]{constructor(){const _0x4f1a5a=_0x30e6e2;super(),_0x4751bc(this,_0x4f1a5a(0x21f)),this[_0x4f1a5a(0x21f)]=_0x4e4d08[_0x4f1a5a(0x86)](window,_0x4f1a5a(0x1f2))['pipe'](_0x4e4d08[_0x4f1a5a(0x2cc)](this['dispose$']),_0x4e4d08[_0x4f1a5a(0x1be)](0x1),_0x4e4d08['mapTo'](void 0x0));}[_0x30e6e2(0x162)](_0x12affc,_0x5df6fb,_0xccff69=!0x1){const _0x4f40c1=_0x30e6e2,_0x4df2d3=new URL(window[_0x4f40c1(0x22c)][_0x4f40c1(0xe0)]);_0x4df2d3[_0x4f40c1(0x186)][_0x4f40c1(0x220)](_0x12affc,_0x5df6fb),_0xccff69?window[_0x4f40c1(0x316)][_0x4f40c1(0x199)]('','',_0x4df2d3[_0x4f40c1(0x2e4)]()):window[_0x4f40c1(0x316)][_0x4f40c1(0x207)]('','',_0x4df2d3['toString']());}['removeParam'](_0x3fd581,_0x3a5c14=!0x1){const _0x5bd84b=_0x30e6e2,_0x3aa33c=new URL(window['location'][_0x5bd84b(0xe0)]);_0x3aa33c[_0x5bd84b(0x186)][_0x5bd84b(0xee)](_0x3fd581),_0x3a5c14?window[_0x5bd84b(0x316)][_0x5bd84b(0x199)]('','',_0x3aa33c[_0x5bd84b(0x2e4)]()):window[_0x5bd84b(0x316)][_0x5bd84b(0x207)]('','',_0x3aa33c['toString']());}[_0x30e6e2(0x15c)](_0x4d7352){const _0x2fa1ef=_0x30e6e2;var _0x56ba4b;return(_0x56ba4b=new URL(window[_0x2fa1ef(0x22c)]['href'])['searchParams'][_0x2fa1ef(0x27c)](_0x4d7352))!=null?_0x56ba4b:void 0x0;}}var _0x4cc567=Object[_0x30e6e2(0x151)],_0x31382d=Object[_0x30e6e2(0x2d6)],_0x3b6310=(_0xfdc70a,_0x38249c,_0x2f9382)=>_0x38249c in _0xfdc70a?_0x4cc567(_0xfdc70a,_0x38249c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f9382}):_0xfdc70a[_0x38249c]=_0x2f9382,_0x27707b=(_0x5d8bcf,_0x3c1634,_0x9b3876,_0x53f26d)=>{const _0x8bb065=_0x30e6e2;for(var _0x362dcb=_0x53f26d>0x1?void 0x0:_0x53f26d?_0x31382d(_0x3c1634,_0x9b3876):_0x3c1634,_0x3c1929=_0x5d8bcf[_0x8bb065(0x256)]-0x1,_0x48fad7;_0x3c1929>=0x0;_0x3c1929--)(_0x48fad7=_0x5d8bcf[_0x3c1929])&&(_0x362dcb=_0x48fad7(_0x362dcb)||_0x362dcb);return _0x362dcb;},_0x23b935=(_0x4ff0f7,_0xe3ab0d)=>(_0xf5e569,_0x20370a)=>_0xe3ab0d(_0xf5e569,_0x20370a,_0x4ff0f7),_0x2ca58d=(_0x118313,_0x52428e,_0x24255d)=>_0x3b6310(_0x118313,_0x52428e+'',_0x24255d);const _0x4948ac=_0x30e6e2(0xa7);_0x441943[_0x30e6e2(0x290)]=class extends _0x4cc78f['Plugin']{constructor(_0x227f17=_0x5202f0,_0x3a16be,_0xcd3141,_0xd4961d){const _0x54ecac=_0x30e6e2;super(),this['_config']=_0x227f17,this['_renderManagerService']=_0x3a16be,this['_injector']=_0xcd3141,this[_0x54ecac(0x9d)]=_0xd4961d;const {..._0x2ef6ab}=_0x4cc78f[_0x54ecac(0x181)]({},_0x5202f0,this[_0x54ecac(0x101)]);this[_0x54ecac(0x9d)][_0x54ecac(0x27b)](_0x1c572a,_0x2ef6ab);}[_0x30e6e2(0x1bb)](){const _0x48287f=_0x30e6e2;this[_0x48287f(0x10a)](),this[_0x48287f(0xc0)]();}[_0x30e6e2(0x166)](){const _0x3edb25=_0x30e6e2;this[_0x3edb25(0x189)]();}[_0x30e6e2(0x10a)](){const _0x3acf10=_0x30e6e2;var _0x2ec079;const _0xe0671c=[[_0x49cf7f],[_0x23ab6e],[_0x362619],[_0x4ce2a3],[_0x3b65ae],[_0x302fa3,{'useClass':_0x450afb}],[_0x38d9ce[_0x3acf10(0x2af)],{'useClass':_0x38d9ce['WebSocketService']}],[_0x409e59['ILocalCacheService'],{'useClass':_0x279a31}],[_0x441943[_0x3acf10(0x25f)]],[_0x10498a],[_0x19fa4e],[_0x3807ed],[_0x8646b1],[_0x441943[_0x3acf10(0x2cd)]]];_0x4cc78f[_0x3acf10(0x14d)](this[_0x3acf10(0x2f0)],_0x4cc78f[_0x3acf10(0x1b7)](_0xe0671c,(_0x2ec079=this[_0x3acf10(0x101)])==null?void 0x0:_0x2ec079['override']));}[_0x30e6e2(0x189)](){const _0x5cff2d=_0x30e6e2;this['disposeWithMe'](this[_0x5cff2d(0xc8)][_0x5cff2d(0xc5)](_0x4cc78f[_0x5cff2d(0x93)][_0x5cff2d(0x23d)],[_0x5a55ea])),this[_0x5cff2d(0x1b4)](this[_0x5cff2d(0xc8)]['registerRenderModule'](_0x4cc78f[_0x5cff2d(0x93)][_0x5cff2d(0x2fd)],[_0x351a30]));}['_initDependencies'](){const _0x2d3cc7=_0x30e6e2;_0x4cc78f['touchDependencies'](this[_0x2d3cc7(0x2f0)],[[_0x3807ed],[_0x441943[_0x2d3cc7(0x25f)]],[_0x10498a],[_0x19fa4e],[_0x441943['CollaborationDataLoaderController']]]);}},_0x2ca58d(_0x441943[_0x30e6e2(0x290)],_0x30e6e2(0x25a),_0x4948ac),_0x441943[_0x30e6e2(0x290)]=_0x27707b([_0x4cc78f[_0x30e6e2(0x1fa)](_0x409e59[_0x30e6e2(0x265)]),_0x23b935(0x1,_0x5e2b74[_0x30e6e2(0x227)]),_0x23b935(0x2,_0x4cc78f['Inject'](_0x4cc78f[_0x30e6e2(0x27d)])),_0x23b935(0x3,_0x4cc78f[_0x30e6e2(0x14c)])],_0x441943[_0x30e6e2(0x290)]);var _0x389c6d=Object[_0x30e6e2(0x2d6)],_0x2b4121=(_0x1ae327,_0x14e618,_0x1dbc7f,_0x581087)=>{for(var _0x4a3719=_0x581087>0x1?void 0x0:_0x581087?_0x389c6d(_0x14e618,_0x1dbc7f):_0x14e618,_0x1a73e0=_0x1ae327['length']-0x1,_0x1e28e9;_0x1a73e0>=0x0;_0x1a73e0--)(_0x1e28e9=_0x1ae327[_0x1a73e0])&&(_0x4a3719=_0x1e28e9(_0x4a3719)||_0x4a3719);return _0x4a3719;},_0x17209d=(_0x2f9613,_0x32b229)=>(_0x561d5d,_0x50d2dc)=>_0x32b229(_0x561d5d,_0x50d2dc,_0x2f9613);_0x441943['BrowserCollaborationSocketService']=class extends _0x409e59[_0x30e6e2(0x277)]{constructor(_0x58c703,_0x1533c4,_0x3d187c,_0x6b9acb,_0x3857d3){super(_0x58c703,_0x1533c4,_0x3d187c,_0x6b9acb,_0x3857d3);}async[_0x30e6e2(0x2f4)](_0x1fdc98){const _0x313322=_0x30e6e2,_0x22f514=await this['_getSessionTicket'](),_0x40e419=this[_0x313322(0x129)](_0x1fdc98,_0x22f514);return this[_0x313322(0x294)](_0x40e419);}[_0x30e6e2(0x129)](_0x42852f,_0x529f4d){const _0x2a479b=_0x30e6e2,_0x54c03f=typeof window>'u'?new URL(_0x42852f):new URL(_0x42852f,window[_0x2a479b(0x22c)]['origin']);_0x54c03f[_0x2a479b(0x186)][_0x2a479b(0x220)](_0x2a479b(0x2fc),_0x529f4d);const _0xe3af22=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2a479b(0x22c)][_0x2a479b(0x1a6)]);return _0xe3af22['get'](_0x2a479b(0x296))&&_0x54c03f['searchParams']['set'](_0x2a479b(0x296),_0xe3af22[_0x2a479b(0x27c)](_0x2a479b(0x296))),_0x54c03f['toString']();}async['_getSessionTicket'](){const _0x524777=_0x30e6e2;var _0x340fc0,_0x2505a3,_0x10a17b;const _0x32cc4f=this[_0x524777(0x9d)][_0x524777(0x222)](_0x409e59['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x2da11c=(_0x340fc0=_0x32cc4f==null?void 0x0:_0x32cc4f[_0x524777(0xb9)])!=null?_0x340fc0:_0x409e59[_0x524777(0xa8)];return(_0x10a17b=(_0x2505a3=(await this[_0x524777(0xad)]['get'](_0x2da11c,{'headers':{'Content-Type':_0x524777(0x16a)}}))[_0x524777(0x21d)])==null?void 0x0:_0x2505a3[_0x524777(0x128)])!=null?_0x10a17b:'';}},_0x441943[_0x30e6e2(0x16f)]=_0x2b4121([_0x17209d(0x0,_0x4cc78f[_0x30e6e2(0x2aa)](_0x4cc78f[_0x30e6e2(0x27d)])),_0x17209d(0x1,_0x4cc78f[_0x30e6e2(0x2aa)](_0x38d9ce[_0x30e6e2(0x1a8)])),_0x17209d(0x2,_0x4cc78f[_0x30e6e2(0x14c)]),_0x17209d(0x3,_0x4cc78f[_0x30e6e2(0x267)]),_0x17209d(0x4,_0x20181b[_0x30e6e2(0xd9)])],_0x441943[_0x30e6e2(0x16f)]);const _0x341243=0x7530,_0x4b767c=_0x30e6e2(0x2fe);class _0x23e7a7 extends _0x4cc78f[_0x30e6e2(0xcf)]{constructor(){const _0x5f26f5=_0x30e6e2;super(),_0x4751bc(this,_0x5f26f5(0x15e),_0x4cc78f[_0x5f26f5(0x295)]()),_0x4751bc(this,_0x5f26f5(0xd4),new Set()),_0x4751bc(this,'_unitOnClients',new Map()),_0x4751bc(this,_0x5f26f5(0x2f8),null),_0x4751bc(this,_0x5f26f5(0x15a),new Map()),_0x4751bc(this,_0x5f26f5(0x2ef),new Map()),this[_0x5f26f5(0x23e)]();}['dispose'](){const _0x236ab0=_0x30e6e2;super['dispose'](),this[_0x236ab0(0x15a)][_0x236ab0(0x22b)]((_0x2c966e,_0x4b8744)=>this[_0x236ab0(0x28e)](_0x4b8744)),this['_heartbeatTimer']&&window[_0x236ab0(0x1a5)](this[_0x236ab0(0x2f8)]);}[_0x30e6e2(0x1ef)](_0x3ef42c){const _0x2183d0=_0x30e6e2;return this['_ensureSubject'](_0x3ef42c)[_0x2183d0(0x18f)](_0x4e4d08[_0x2183d0(0x1e2)]());}[_0x30e6e2(0xc9)](_0x4f9a6f){const _0x2c5d8d=_0x30e6e2;this[_0x2c5d8d(0xd4)][_0x2c5d8d(0x1d6)]===0x0&&this['_scheduleHeartbeat'](),this[_0x2c5d8d(0xd4)][_0x2c5d8d(0x308)](_0x4f9a6f),this[_0x2c5d8d(0xda)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x4f9a6f],'isForwarded':!0x1});}[_0x30e6e2(0x91)](_0x47e68d){const _0x47b87a=_0x30e6e2;this[_0x47b87a(0xd4)]['delete'](_0x47e68d),this['_selfUnitIDs'][_0x47b87a(0x1d6)]===0x0&&this[_0x47b87a(0x2f8)]&&window['clearInterval'](this[_0x47b87a(0x2f8)]);}['_init'](){const _0xab7058=_0x30e6e2;this[_0xab7058(0x1b4)](_0x4cc78f['toDisposable'](_0x4e4d08['fromEvent'](window,_0xab7058(0x1e9))[_0xab7058(0x19d)](_0x24f746=>{const _0x160695=_0xab7058;if(_0x24f746['key']!==_0x4b767c||!_0x24f746[_0x160695(0x2e6)])return;const _0x4c1781=JSON[_0x160695(0x16b)](_0x24f746[_0x160695(0x2e6)]);this[_0x160695(0x2e1)](_0x4c1781);}))),window[_0xab7058(0x1fc)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0xab7058(0xd7)](this[_0xab7058(0xd4)])}));}[_0x30e6e2(0x2e1)](_0x35b874){const _0x1a4290=_0x30e6e2;switch(_0x35b874['type']){case 0x0:this['_handleJoinEvent'](_0x35b874);break;case 0x1:this[_0x1a4290(0x1bc)](_0x35b874);break;case 0x2:this[_0x1a4290(0x20e)](_0x35b874);break;}}['_handleJoinEvent'](_0x59bec5){const _0x23d0dc=_0x30e6e2,{unitIDs:_0x2136cd,memberID:_0x27075a,isForwarded:_0x2a4c11}=_0x59bec5;_0x2136cd[_0x23d0dc(0x22b)](_0x32f900=>{const _0x1aadbd=_0x23d0dc;if(!_0x2a4c11&&this['_unitOnClients']['has'](_0x32f900)&&this[_0x1aadbd(0x14b)](_0x32f900)[_0x1aadbd(0x2a2)](_0x409e59['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x1aadbd(0x2f5)][_0x1aadbd(0x30b)](_0x32f900)||!this[_0x1aadbd(0x2f5)]['get'](_0x32f900)['has'](_0x27075a)){const _0x2de99d=this[_0x1aadbd(0x2f5)]['get'](_0x32f900)||new Set();_0x2de99d[_0x1aadbd(0x308)](_0x27075a),this['_unitOnClients'][_0x1aadbd(0x220)](_0x32f900,_0x2de99d),this['_scheduleClearOtherTimer'](_0x27075a);}}),_0x2a4c11||this[_0x23d0dc(0xda)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x23d0dc(0xd4)]],'isForwarded':!0x0});}[_0x30e6e2(0xbd)](_0x460716){const _0x3a7e20=_0x30e6e2;this[_0x3a7e20(0x28e)](_0x460716);const _0x295646=window[_0x3a7e20(0x2b2)](()=>{const _0x46ee9c=_0x3a7e20;this[_0x46ee9c(0x2f5)][_0x46ee9c(0x22b)](_0x54e6e2=>{const _0x516a90=_0x46ee9c;_0x54e6e2[_0x516a90(0xee)](_0x460716);});},_0x341243*0x2);this[_0x3a7e20(0x15a)][_0x3a7e20(0x220)](_0x460716,_0x295646);}[_0x30e6e2(0x28e)](_0x2a69f8){const _0x4b625d=_0x30e6e2;if(this[_0x4b625d(0x15a)]['has'](_0x2a69f8)){const _0x1d0068=this[_0x4b625d(0x15a)][_0x4b625d(0x27c)](_0x2a69f8);_0x1d0068&&window['clearTimeout'](_0x1d0068),this[_0x4b625d(0x15a)][_0x4b625d(0x220)](_0x2a69f8,null);}}[_0x30e6e2(0x1bc)](_0x22c6bb){const _0x13dfba=_0x30e6e2,{memberID:_0x4c8ebf,unitIDs:_0x1b2052}=_0x22c6bb;_0x1b2052[_0x13dfba(0x22b)](_0x205705=>{const _0x194965=_0x13dfba;var _0x45dede;const _0x2a0a5f=this[_0x194965(0x2f5)]['get'](_0x205705);_0x2a0a5f&&(_0x2a0a5f[_0x194965(0xee)](_0x4c8ebf),(_0x45dede=this['_ensureSubject'](_0x205705))==null||_0x45dede[_0x194965(0x2a2)](_0x2a0a5f[_0x194965(0x1d6)]===0x0?_0x409e59[_0x194965(0x232)][_0x194965(0x158)]:_0x409e59[_0x194965(0x232)][_0x194965(0xb0)]));}),this[_0x13dfba(0x28e)](_0x4c8ebf);}['_handleHeartbeatEvent'](_0x410e5b){const _0x78a4fc=_0x30e6e2;this[_0x78a4fc(0xbd)](_0x410e5b['memberID']);}[_0x30e6e2(0xda)](_0x1c1f1e){const _0x383c2e=_0x30e6e2;localStorage[_0x383c2e(0x18c)](_0x4b767c,JSON[_0x383c2e(0xa1)](_0x1c1f1e));}['_scheduleHeartbeat'](){const _0x4e4052=_0x30e6e2;this[_0x4e4052(0x2f8)]=window[_0x4e4052(0x201)](()=>{const _0x24ede1=_0x4e4052;this[_0x24ede1(0xda)]({'type':0x2,'memberID':this[_0x24ede1(0x15e)]});},_0x341243);}[_0x30e6e2(0x14b)](_0x3ff3fc){const _0xe48fba=_0x30e6e2;return this[_0xe48fba(0x2ef)]['has'](_0x3ff3fc)||this[_0xe48fba(0x2ef)][_0xe48fba(0x220)](_0x3ff3fc,new _0x4e4d08[(_0xe48fba(0x2de))](_0x409e59[_0xe48fba(0x232)][_0xe48fba(0x158)])),this[_0xe48fba(0x2ef)][_0xe48fba(0x27c)](_0x3ff3fc);}}var _0x25af03=(_0x35b995=>(_0x35b995[_0x35b995[_0x30e6e2(0x279)]=0x0]='UNDEFINED',_0x35b995[_0x35b995['OK']=0x1]='OK',_0x35b995[_0x35b995[_0x30e6e2(0x1a0)]=0x2]='INTERNAL_ERROR',_0x35b995[_0x35b995[_0x30e6e2(0x26d)]=0x3]=_0x30e6e2(0x26d),_0x35b995[_0x35b995[_0x30e6e2(0x124)]=0x4]=_0x30e6e2(0x124),_0x35b995[_0x35b995['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x35b995[_0x35b995[_0x30e6e2(0x1d8)]=0x6]='ALREADY_EXISTS',_0x35b995[_0x35b995[_0x30e6e2(0x142)]=0x7]=_0x30e6e2(0x142),_0x35b995[_0x35b995[_0x30e6e2(0x80)]=0x8]=_0x30e6e2(0x80),_0x35b995[_0x35b995[_0x30e6e2(0x2b3)]=0x9]='COMPLETION_FINISHED',_0x35b995[_0x35b995[_0x30e6e2(0x130)]=0xa]=_0x30e6e2(0x130),_0x35b995[_0x35b995[_0x30e6e2(0x202)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x35b995[_0x35b995[_0x30e6e2(0xe7)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x35b995[_0x35b995[_0x30e6e2(0x188)]=0x1772]=_0x30e6e2(0x188),_0x35b995[_0x35b995[_0x30e6e2(0x152)]=0x1773]=_0x30e6e2(0x152),_0x35b995[_0x35b995[_0x30e6e2(0x2be)]=0x1b59]=_0x30e6e2(0x2be),_0x35b995[_0x35b995['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x30e6e2(0x203),_0x35b995[_0x35b995[_0x30e6e2(0x255)]=0x1b5b]=_0x30e6e2(0x255),_0x35b995[_0x35b995[_0x30e6e2(0x127)]=0x1b5c]=_0x30e6e2(0x127),_0x35b995[_0x35b995[_0x30e6e2(0x272)]=0x1b5d]=_0x30e6e2(0x272),_0x35b995[_0x35b995[_0x30e6e2(0x83)]=0x1f41]=_0x30e6e2(0x83),_0x35b995[_0x35b995['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x30e6e2(0x280),_0x35b995[_0x35b995[_0x30e6e2(0x278)]=0x232a]=_0x30e6e2(0x278),_0x35b995[_0x35b995[_0x30e6e2(0x184)]=0x232b]=_0x30e6e2(0x184),_0x35b995[_0x35b995['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x30e6e2(0x11e),_0x35b995[_0x35b995['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x35b995[_0x35b995[_0x30e6e2(0xf9)]=0x2711]=_0x30e6e2(0xf9),_0x35b995[_0x35b995[_0x30e6e2(0x115)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x35b995[_0x35b995[_0x30e6e2(0xa3)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x35b995[_0x35b995[_0x30e6e2(0xdf)]=0x2714]=_0x30e6e2(0xdf),_0x35b995[_0x35b995[_0x30e6e2(0x19c)]=0x271a]=_0x30e6e2(0x19c),_0x35b995[_0x35b995[_0x30e6e2(0x1b1)]=0x271b]=_0x30e6e2(0x1b1),_0x35b995[_0x35b995['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x35b995[_0x35b995['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x35b995[_0x35b995[_0x30e6e2(0x205)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x35b995[_0x35b995['YUUMI_AI_RUN_FAILED']=0x271f]=_0x30e6e2(0x82),_0x35b995[_0x35b995[_0x30e6e2(0x19f)]=0x2af9]=_0x30e6e2(0x19f),_0x35b995[_0x35b995[_0x30e6e2(0x22e)]=0x2ee1]=_0x30e6e2(0x22e),_0x35b995[_0x35b995[_0x30e6e2(0xb7)]=0x2ee2]=_0x30e6e2(0xb7),_0x35b995[_0x35b995['INVITE_CODE_REQUIRED']=0x2ee3]=_0x30e6e2(0x11a),_0x35b995[_0x35b995[_0x30e6e2(0xf2)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x35b995[_0x35b995[_0x30e6e2(0xf0)]=0x2ee5]=_0x30e6e2(0xf0),_0x35b995[_0x35b995[_0x30e6e2(0x14f)]=0x32c9]=_0x30e6e2(0x14f),_0x35b995[_0x35b995['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x30e6e2(0x2dc),_0x35b995[_0x35b995[_0x30e6e2(0x263)]=0x32cb]=_0x30e6e2(0x263),_0x35b995[_0x35b995[_0x30e6e2(0x169)]=-0x1]=_0x30e6e2(0x169),_0x35b995))(_0x25af03||{}),_0x587c4a=Object['getOwnPropertyDescriptor'],_0x5cfcac=(_0x525d6e,_0x3caf2e,_0x56aa6d,_0x342e08)=>{const _0x4a3256=_0x30e6e2;for(var _0x2ae94e=_0x342e08>0x1?void 0x0:_0x342e08?_0x587c4a(_0x3caf2e,_0x56aa6d):_0x3caf2e,_0x2fb1f9=_0x525d6e[_0x4a3256(0x256)]-0x1,_0x55d015;_0x2fb1f9>=0x0;_0x2fb1f9--)(_0x55d015=_0x525d6e[_0x2fb1f9])&&(_0x2ae94e=_0x55d015(_0x2ae94e)||_0x2ae94e);return _0x2ae94e;},_0x3bcd57=(_0x47f29b,_0x51ae5d)=>(_0x1b67f5,_0x3f8f1c)=>_0x51ae5d(_0x1b67f5,_0x3f8f1c,_0x47f29b);_0x441943['RemoteUniscriptService']=class extends _0x4cc78f[_0x30e6e2(0xcf)]{constructor(_0x19d05a,_0x34a8fa,_0x37127c){const _0x50d04b=_0x30e6e2;super(),this['_instanceService']=_0x19d05a,this[_0x50d04b(0xad)]=_0x34a8fa,this[_0x50d04b(0x9d)]=_0x37127c;}async[_0x30e6e2(0x28f)](_0x5dd016,_0x5aa3e1,_0x2206d9,..._0x1cd4e2){const _0x2bc44d=_0x30e6e2;var _0x4f9c70,_0x87252,_0x463853,_0x1b394f;const _0x352aac=this[_0x2bc44d(0xaa)][_0x2bc44d(0x2ad)]();if(!_0x352aac)throw new Error(_0x2bc44d(0x1a2));const _0x4c2a8d=((_0x4f9c70=this['_configService'][_0x2bc44d(0x222)](_0x409e59[_0x2bc44d(0x138)]))!=null?_0x4f9c70:_0x409e59['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5dd016+_0x2bc44d(0x17d)+_0x5aa3e1,_0x10bd63=new URL(window[_0x2bc44d(0x22c)][_0x2bc44d(0xe0)]),_0x47a32d={'scriptId':_0x5dd016,'runId':(_0x87252=_0x10bd63[_0x2bc44d(0x186)][_0x2bc44d(0x27c)](_0x2bc44d(0x296)))!=null?_0x87252:'','function':_0x5aa3e1,'unitId':_0x352aac[_0x2bc44d(0x1f4)](),'argsOfFunction':JSON[_0x2bc44d(0xa1)](_0x1cd4e2),'invokeId':(_0x463853=_0x2206d9[_0x2bc44d(0x23c)])!=null?_0x463853:'','executionId':(_0x1b394f=_0x2206d9['executionId'])!=null?_0x1b394f:''};try{const _0x29db09=await this['_httpService'][_0x2bc44d(0x1cf)](_0x4c2a8d,{'body':_0x47a32d});return _0x29db09[_0x2bc44d(0x21d)][_0x2bc44d(0x155)]&&_0x29db09[_0x2bc44d(0x21d)][_0x2bc44d(0x155)]['code']!==_0x25af03['OK']?_0x2bc44d(0x146):_0x29db09[_0x2bc44d(0x21d)][_0x2bc44d(0x317)];}catch{return'Failed';}}},_0x441943[_0x30e6e2(0x1cc)]=_0x5cfcac([_0x3bcd57(0x0,_0x4cc78f[_0x30e6e2(0x176)]),_0x3bcd57(0x1,_0x4cc78f['Inject'](_0x38d9ce[_0x30e6e2(0x1a8)])),_0x3bcd57(0x2,_0x4cc78f['IConfigService'])],_0x441943[_0x30e6e2(0x1cc)]),_0x441943[_0x30e6e2(0x1dd)]=_0x3eb53b,_0x441943[_0x30e6e2(0x21e)]=_0x302fa3,_0x441943[_0x30e6e2(0xae)]=_0x58ae6b,_0x441943[_0x30e6e2(0x1c7)]=_0x23e7a7,_0x441943[_0x30e6e2(0x134)]=_0x450afb,Object[_0x30e6e2(0x151)](_0x441943,Symbol[_0x30e6e2(0x24c)],{'value':_0x30e6e2(0x2c7)});}));function _0x16ad(){const _0x10bd16=['docStateChange$','_doCreateSocket','generateRandomId','runId','session.will-retry','_labelPosition','complete','getAncestorScale','collabStatus.notCollab','_collaborationController','Subject','getMember','DataLoaderService','univerjs-icon\x20univerjs-icon-','disableLocalCache','next','@univerjs/docs-ui','fillRule','addObject','70Lqbedo','xlink:href','_cursors','color','Inject','_refRangeService','INotificationService','getFocusedUnit','dispose$','ISocketService','uni.network.url-service','LOCAL_CACHE_INTERVAL','setTimeout','COMPLETION_FINISHED','_entities','substring','CommandType','mask','deepClone','setStateCache','fillText','idSuffix','m2Prime','some','APPLY_REJECT','then','getUndoRedoMutationParamsCache','_localStorageService','_updateLocalCursor','DisposableCollection','collab-rect-range-','_getAnchorBounding','getSkeleton','Module','#fff','getCollabEntity$','requireSession','asObservable','takeUntil','CollaborationDataLoaderController','hasOwnProperty','CollaborationStatus','_onCursorDelete','_sheetSkeletonManagerService','MUTATION','drawWith','subUnitId','sheetID','getOwnPropertyDescriptor','MemberService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getCurrentRevOfUnit','SetWorksheetActivateCommand','MOBILE_HAS_BEEN_BOUND','dispose','BehaviorSubject','collaboration.closeRoom','SheetSkeletonManagerService','_handleEvent','height','currentTheme$','toString','clearTimeout','newValue','ColorKit','function','toDisposable','deserializeRangeWithSheet','use','_session','concat','triggerDblclick','_unitStatus','_injector','useDependency','endColumn','SetDocZoomRatioOperation','createSocket','_unitOnClients','fillStyle','amd','_heartbeatTimer','_updateSubUnitFromURLParams','min','extend','sessionTicket','UNIVER_SHEET','ACTIVE_UNIT_EVENT_CHANNEL','_docTransformIMECacheService','bottom','lineTo','createElement','jsxs','tag','_eventUnsubscribe','combineLatest','handleMoveRange','add','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_uiPartsService','has','@univerjs/engine-formula','_notificationService','InsertRowCommandId','[CollaborationDataLoaderController]','UPDATE_CURSOR','UniverSheetsUi','getUnhiddenWorksheets','syncEditingCollabCursor','object','Warning','history','result','SessionStatus','random','exhaustSavingTask','TOO_MANY_REQUESTS','rgba(255,\x20255,\x20255,\x200.01)','YUUMI_AI_RUN_FAILED','CONNECTOR_DATA_TOO_LARGE','transformMutationsWithChangeset','getRelativeToViewportCoord','fromEvent','unitID','_toggleOffline','Tools','with','39215yHUuPe','_updateURLWithCurrentState','_lastPointer','react','toRgbString','roomMembers$','disposeUnit','subscribeEvent','UniverInstanceType','@univerjs/network','_memberService','Workbook','NodePositionConvertToCursor','UniverDesign','_collaborationUIEventService','session.collaboration-timeout','UniverCore','handleInsertRow','_configService','collabStatus.conflict','params','_logService','stringify','IUIPartsService','YUUMI_RATE_OVER_LIMIT','InsertRangeMoveDownCommandId','_roomMembers$','_disabled','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','DEFAULT_WS_SESSION_TICKET_URL','FromArray','_instanceService','width','CollaborationController','_httpService','SheetCollabCursorShape','OnLineSingle','OTHER_CLIENTS_EDITING','mutations','saveTaskMap','status$','UniverDrawing','handleDeleteRangeMoveUp','addObjects','INVALID_INVITE_CODE','RemoveRowCommandId','wsSessionTicketUrl','_anchorDot','div','handleInsertCol','_scheduleClearOtherTimer','1em','UniverIcon','_initDependencies','jiqing.500','debounce','_setupBeforeClosingHandler','getViewport','registerRenderModule','_onCursorUpdate','isArray','_renderManagerService','editingUnit','AWAITING','split','entries','SHEET_VIEWPORT_KEY','159870GkCxhS','Disposable','activeSheet$','rxjs','getActiveSheet','_updateCollabCursors','_selfUnitIDs','onPointerEnter$','font','from','React','ISnapshotServerService','_send','attrs','@univerjs/rpc','show','UniverEngineFormula','YUUMI_SUBSCRIPTION_NOT_FOUND','href','focused$','collab-client.tooltip.reconnect','transformByState','collaboration.single-unit.warning','IBeforeCloseService','getCurrentSelections','SNAPSHOT_INVALID_SNAPSHOT','getStateCache','session.connection-failed','name','children','@univerjs/sheets-ui','resize','delete','#FFF','INVITE_CODE_ALREADY_BOUND','undoState','USER_NOT_INVITED_CODE','includes','svg','_handleHover','_cachedData','getRangePointData','12419hSvhlV','YUUMI_UNABLE_LOAD_URL','cursorInfo','range','loadOfflineData','startsWith','actions','transformIMECache','fromEventSubject','_config','_syncEditingCollabCursorService','getColorFromTheme','ILocalStorageService','VIEW_MAIN','Vector2','endRow','_setupSubUnitSync','_revisionService','_registerDependencies','_saveCache','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','sessionStatus$','serializeRangeWithSheet','getCurrent','Shape','_docClipboardService','handleInsertRangeMoveDown','setAlpha','Tooltip','YUUMI_URL_COL_OUT_OF_RANGE','_getScale','InsertColCommandId','_entityInit$','prototype','INVITE_CODE_REQUIRED','on-line-single','_anchor','ICommandService','LICENSE_EXPORT_SIZE_EXCEEDED','_commandService','56344uHkvQe','assign','getSheetBySheetId','2554401jJQDtV','NOT_FOUND','_docStateChangeManagerService','_beforeCloseService','APPLY_PERMISSION_DENIED','ticket','_createSocketURL','@univerjs/core','_docTransformStateCacheService','ITransformService','collabStatus.syncing','unsubscribe','_docSkeletonManagerService','LOGIN_FAILED','text','0\x200\x2017\x2016','_draw','WebURLService','UniverProCollaborationClient','redoState','init','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_messageService','DocSkeletonManagerService','UniverUi','_cursorInfo$','loadUnit','CollaborationSessionService','subunit','executeCommand','getTypeOfUnitDisposed$','INVALID_ARGUMENT','collab-text-range-','@univerjs/design','_textBubble','Failed','getItem','handleIRemoveCol','RECT','permission.content','_ensureSubject','IConfigService','registerDependencies','SYNCED','WECHAT_HAS_BEEN_BOUND','_drawRectRange','defineProperty','ENSURE_SNAPSHOT_EXECUTION','_collabCursorController','BuiltInUIPart','error','getSheetId','_shapes','NO_OTHER_CLIENTS_EDITING','COLORS','_clearOtherTimers','_univerInstanceService','getParam','purple.300','_id','collabCursorState$','measureText','UniverProCollaborationClientUi','setParam','collabStatus.synced','_scheduleSaving','_urlService','onRendered','_drawAnchor','_initEvent','UNRECOGNIZED','application/json','parse','on-line-single_clip0_910_349','_name','_themeService','BrowserCollaborationSocketService','exports','CONFLICT','data','MoveRangeCommandId','univer-flex\x20univer-mr-2\x20univer-text-xl','addClipboardHook','IUniverInstanceService','0\x200\x2016\x2016','@univerjs-pro/collaboration-client','_transformUndoRedoStack','TRANSFORM_CHANGE_OBSERVABLE_TYPE','SUBMIT_CHANGESET_TIMEOUT','assignAColorForMemberID','/run/','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','_color','setShapeProps','merge','IMessageService','row','LICENSE_IMPORT_SIZE_EXCEEDED','PENDING','searchParams','path','SNAPSHOT_HAS_BEEN_REMOVED','_registerRenderDependencies','_dataLoaderService','_saveTaskMap','setItem','ILocalCacheService','displayName','pipe','CLOSE_ROOM','NodePositionConvertToRectRange','getMemberID','getCoordByCell','4JCXJSW','getValue','column','none','transformStateCache','replaceState','moveTo','TEXT_RANGE_LAYER_INDEX','YUUMI_NO_CUBOID_FOR_QUESTION','subscribe','jsx','PY_RUNTIME_SCRIPT_ERROR','INTERNAL_ERROR','_startDocCollabCursor','[RemoteUniscriptService]:\x20no\x20focused\x20unit','MessageType','@univerjs/ui','clearInterval','search','type','HTTPService','apply','evenodd','transform','round','source','defs','getOffsetConfig','NOT_COLLAB','YUUMI_ASYNCIO_CANCELLED','getCollabCursors$','yellow.400','disposeWithMe','colorChannel1','clipPath','mergeOverrideWithDependencies','switchMap','@univerjs/docs','arc','onStarting','_handleLeaveEvent','ONLINE','shareReplay','m1Prime','_colorAssignService','url(#on-line-single_clip0_910_349)','DocCollaborationEntity','_docSkeleton','TEXT','_range','restore','WebBrowserSingleActiveUnitService','_render','skeleton','getTypeOfUnitAdded$','getVpScrollXYInfoByPosToVp','RemoteUniscriptService','handleIRemoveRow','currentSkeleton$','post','handleDeleteRangeMoveLeft','doc.mutation.rich-text-editing','USERS_LEAVE','debounceTime','createInstance','OTHER_CLIENT_EDITING','size','translate(.97)','ALREADY_EXISTS','selections','HEADER_MENU','DeleteRangeMoveUpCommandId','createIdentifier','CollaborationStatusDisplay','map','_docSyncEditingCollabCursorService','beginPath','univer-flex\x20univer-items-center','distinctUntilChanged','top','save','string','@univerjs-pro/collaboration','IImageIoService','trim','storage','makeDirty','CollaborationUIEventService','SetSelectionsOperation','_getSheetObject','selection','getUnitStatus$','isTransformMutationFailure','_toggleOnline','popstate','_startSheetCollabCursor','getUnitId','AWAITING_WITH_PENDING','blue.400','hovered','ranges','@univerjs/sheets','DependentOn','forwardRef','addEventListener','RichTextEditingMutation','_collabSessionService','url(#$1','call','setInterval','CHANGESET_REVISION_CONFILICT','APPLY_NON_SEQUENTIAL_REVISION','getDocRanges','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_hover','pushState','UniverEngineRender','SOCKET_FAILED','CollaborationUIEventId','defIds','off-line-single_clip0_910_343','DOC_RANGE_TYPE','_handleHeartbeatEvent','_collabCursorState$','runRefRangeMutations','whenReady','replace','FETCH_MISS','symbol','JOIN_ROOM_FAILED','registerBeforeClose','_assignedColors','_drawTextRange','debug','_status$','_colorIndex','2209990gCVoCL','body','IURLService','urlChange$','set','send','getConfig','cursorInfo$','_initCommandExecutedListener','getSheetObject','propertyIsEnumerable','IRenderManagerService','_cursorShapes','unit','isTransformMutationsWithChangesetSuccess','forEach','location','black','INVITE_CODE_HAS_BEEN_UES','@univerjs/engine-render','labelPosition','clsx','UnitStatus','_getMergeRange','useCallback','_transformPreviousActiveRange','onPointerLeave$','Optional','RxDisposable','getLocalCacheKey','permission.title','_backgroundColor','invokeId','UNIVER_DOC','_init','_hovered','transformSelections','current','4259330cTrxmW','enableLocalCache','backgroundColor','LocaleService','_imageIoService','react/jsx-runtime','unitId','operators','_cursor','isActive','toStringTag','replaceDocRanges','_localeService','imageSourceType','collabStatus.fetchMiss','indexOf','DocIMEInputManagerService','all','315COnHpW','APPLY_REVISION_CONFILICT','length','transformRemoteChangeset','rxjs/operators','updateOfflineData','pluginName','_transformService','@univerjs/drawing','eventID','transformMutation','DesktopCollaborationStatusDisplayController','_getSaveTimeout','setUndoRedoMutationParamsCache','UniverDocsUi','EMAIL_HAS_BEEN_BOUND','getRenderById','UniverCollaborationClientPlugin','findNodePositionByCharIndex','ILogService','OFFLINE','_onRefRangeChange','getMergeData','Unknown\x20user','_online','PERMISSION_DENIED','_hideTimer','CollaborationEvent','34370MfyofF','currentColor','APPLY_DUPLICATED','getColor','useObservable','UniverRpc','collabStatus.offline','CollaborationSocketService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNDEFINED','_localCacheService','setConfig','get','Injector','roomMembers','fill','LICENSE_MAX_UNITS_EXCEEDED','icon','DocStateChangeManagerService','values','_refreshCollabCursors','push','_scene','_removeCollabCursors','onCommandExecuted','unshift','EffectRefRangId','textRanges','_context','_initStatusComponent','_removeClearOtherTimer','runOnServer','UniverCollaborationClientUIPlugin','Error','filter'];_0x16ad=function(){return _0x10bd16;};return _0x16ad();}
1
+ function _0x222d(_0xcd4c06,_0x5efa0b){const _0x32d0fd=_0x32d0();return _0x222d=function(_0x222d7b,_0x25a689){_0x222d7b=_0x222d7b-0x114;let _0x49c271=_0x32d0fd[_0x222d7b];return _0x49c271;},_0x222d(_0xcd4c06,_0x5efa0b);}function _0x32d0(){const _0x51a3e4=['attrs','sheetID','getLocalCacheKey','0\x200\x2016\x2016','18VeUjvk','resize','_uiPartsService','debounceTime','APPLY_NON_SEQUENTIAL_REVISION','min','INVITE_CODE_REQUIRED','getDocRanges','includes','_scheduleHeartbeat','connectInjector','UniverEngineRender','range','disposeWithMe','Shape','useDependency','_color','_anchor','registerRefRange','setActiveRange','_lastPointer','HTTPService','MUTATION','apply','runOnServer','getUnhiddenWorksheets','transformStateCache','startsWith','ALREADY_EXISTS','operators','_send','JOIN_ROOM_FAILED','UniverCollaborationClientPlugin','black','DocIMEInputManagerService','registerRenderModule','restore','_eventUnsubscribe','getMergeData','transformMutation','_startSheetCollabCursor','getCollabCursors$','createInstance','2224602hFiDuz','jsx','_updateSubUnitFromURLParams','handleInsertCol','evenodd','map','CollaborationEvent','row','getUnitId','IMessageService','_handleJoinEvent','next','useObservable','OTHER_CLIENTS_EDITING','asObservable','getRelativeToViewportCoord','jiqing.500','saveOfflineData','session.connection-failed','init','INVITE_CODE_HAS_BEEN_UES','handleIRemoveCol','setUndoRedoMutationParamsCache','_saveCache','getUniverSheetInstance','UniverSheetsUi','saveTaskMap','_anchorDot','180138XnGURl','getFocusedUnit','xlink:href','_saveTaskMap','ColorKit','_collabCursorState$','measureText','backgroundColor','_status$','addObjects','getCellPositionByOffset','Inject','extend','BrowserCollaborationSocketService','RxDisposable','_getMergeRange','trim','_cursorShapes','_injector','BehaviorSubject','imageSourceType','SetWorksheetActivateCommand','values','getSheetObject','onPointerMove$','SetDocZoomRatioOperation','contains','MemberService','_id','_unitOnClients','whenReady','handleDeleteRangeMoveLeft','skeleton','_docTransformStateCacheService','setParam','location','_docClipboardService','clearInterval','NOT_COLLAB','getColorFromTheme','jsxs','Module','unsubscribe','stringify','debug','TEXT','clipPath','fromEvent','substring','@univerjs/sheets','APPLY_REJECT','_name','_selfUnitIDs','LICENSE_IMPORT_SIZE_EXCEEDED','_setupBeforeClosingHandler','createSocket','InsertRangeMoveRightCommandId','_render','[CollaborationDataLoaderController]','Failed','SNAPSHOT_INVALID_SNAPSHOT','combineLatest','merge','ITransformService','9BKtRmr','_updateURLWithCurrentState','handleInsertRow','font','IRemoteInstanceService','CONNECTOR_DATA_TOO_LARGE','shareReplay','isActive','YUUMI_URL_COL_OUT_OF_RANGE','makeDirty','Subject','send','react','getSheetId','_labelPosition','3008410SkGtsu','_initResize','InsertRowCommandId','_getScale','registerBeforeClose','hovered','complete','collabStatus.fetchMiss','mapTo','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','getViewport','RefRangeService','getParam','SOCKET_FAILED_RETRY','color','LOGIN_FAILED','replaceState','searchParams','UniverDocs','isTransformMutationsWithChangesetSuccess','use','sessionTicket','collabStatus.notCollab','ACTIVE_UNIT_EVENT_CHANNEL','0\x200\x2017\x2016','_session','_unitStatus','requireSession','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_ensureSubject','InsertRangeMoveDownCommandId','_online','roomMembers','UniverDocsUi','RECT','_updateLocalCursor','@univerjs/design','YUUMI_ALL_TABLES_IS_INVALID','handleMoveRange','IDocClipboardService','getOffsetConfig','collab-text-anchor-','get','entries','_shapes','UPDATE_CURSOR','doc.mutation.rich-text-editing','LICENSE_DISTRO_REJECTED','tag','pushState','_transformHistoryAndStateStack','displayName','_notificationService','name','SYNCED','IURLService','HEADER_MENU','collaboration.closeRoom','then','FromArray','_createSocketURL','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','@univerjs/sheets-ui','collabStatus.conflict','INVALID_INVITE_CODE','_context','UniverUi','4791809RBjXZA','object','from','36031hRzOMz','_toggleOffline','transformSelections','green.600','react/jsx-runtime','_textBubble','takeUntil','_sheetSkeletonManagerService','getUndoRedoMutationParamsCache','@univerjs/engine-formula','addObject','getTypeOfUnitAdded$','_heartbeatTimer','syncEditingCollabCursor','232GNiJBr','LOCAL_CACHE_INTERVAL','eventID','BuiltInUIPart','CollaborationController','UNIVER_DOC','_httpService','removeParam','MOBILE_HAS_BEEN_BOUND','memberID','debounce','FETCH_MISS','runRefRangeMutations','currentColor','assign','_removeClearOtherTimer','getOwnPropertyDescriptor','UNRECOGNIZED','throttleTime','children','OffLineSingle','YUUMI_RATE_OVER_LIMIT','_handleHeartbeatEvent','_docTransformSelectionsService','CollaborationUIEventId','generateRandomId','delete','getAncestorScale','permission.content','WebURLService','IUniverInstanceService','ILocalCacheService','defIds','session.collaboration-timeout','_transformPreviousActiveRange','_localStorageService','executeCommand','_cursors','getActiveRange','subUnitId','YUUMI_SUBSCRIPTION_NOT_FOUND','exports','rgba(255,\x20255,\x20255,\x200.01)','hasOwnProperty','top','CLOSE_ROOM','beginPath','INVALID_ARGUMENT','textRanges','@univerjs/rpc','actions','_initCommandExecutedListener','getRenderById','YUUMI_ASYNCIO_CANCELLED','YUUMI_NO_CUBOID_FOR_QUESTION','_initDependencies','invokeId','592970OoRclH','_colorIndex','activeSheet$','red.300','UniverProCollaborationClientUi','_clearOtherTimers','concat','_renderManagerService','getStateCache','getItem','collab-rect-range-','rxjs/operators','CollaborationStatusDisplay','Unknown\x20user','#FFF','_collabCursorController','getOwnPropertySymbols','max','_onCursorUpdate','event$','UNIVER_SHEET','Disposable','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','endColumn','SheetsSelectionsService','forEach','DocSkeletonManagerService','ONLINE','RichTextEditingMutation','_getSheetObject','_dataLoaderService','find','IConfigService','pipe','CHANGESET_REVISION_CONFILICT','MoveRangeCommandId','Plugin','filter','SetSelectionsOperation','_scheduleClearOtherTimer','SHEET_VIEWPORT_KEY','sheetId','triggerDblclick','_commandService','popstate','result','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','all','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UniverDesign','has','height','642364CBytUf','updateOfflineData','setConfig','Injector','getCoordByCell','_handleEvent','flatMap','_cachedData','size','DocStateChangeManagerService','_scene','UniverEngineFormula','_initEntityListener','CollaborationSocketService','_cursor','_hover','isEditing','_collabSessionService','onRendered','cursorInfo','_transformUndoRedoStack','_entities','_transformService','url(#on-line-single_clip0_910_349)','getMember','SetTextSelectionsOperation','LICENSE_MAX_UNITS_EXCEEDED','getVpScrollXYInfoByPosToVp','off-line-single_clip0_910_343','_drawTextRange','loadOfflineData','selection','INotificationService','getCurrent','M0\x200H16V16H0z','getColor','NodePositionConvertToRectRange','newValue','UniverInstanceType','_localeService','indexOf','runId','ThemeService','_colorAssignService','IUIPartsService','bottom','url(#$1','serializeRangeWithSheet','defs','ticket','unitID','@univerjs/drawing','div','selections','rxjs','save','_messageService','push','TEXT_RANGE_LAYER_INDEX','@univerjs/docs-ui','SOCKET_FAILED','useRef','_cursorInfo$','origin','APPLY_DUPLICATED','subscribe','forwardRef','Rectangle','_collaborationUIEventService','call','handleInsertRangeMoveDown','IRenderManagerService','_config','clearTimeout','source','_disabled','UniverNetwork','@univerjs/engine-render','ranges','EMAIL_HAS_BEEN_BOUND','USERS_LEAVE','#fff','path','UniverProCollaborationClient','wsSessionTicketUrl','width','code','set','DesktopCollaborationStatusDisplayController','_getSessionTicket','_registerRenderDependencies','Workbook','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','isTransformMutationFailure','transformMutationsWithChangeset','WebBrowserSingleActiveUnitService','setTimeout','symbol','setShapeProps','onMouseMove','none','switchMap','RevisionService','_docStateChangeManagerService','CollaborationStatus','findNodePositionByCharIndex','registerDependencies','getSheetBySheetId','EffectRefRangId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','DeleteRangeMoveLeftCommandId','dispose$','_refRangeService','@univerjs/ui','ILogService','APPLY_REVISION_CONFILICT','application/json','CONFLICT','_docSyncEditingCollabCursorService','RemoveColCommandId','body','_document','setAlpha','setInterval','saveImage','NO_OTHER_CLIENTS_EDITING','add','_scheduleSaving','toRgbString','_registerDependencies','_themeService','MessageType','currentSkeleton$','PERMISSION_DENIED','_drawRectRange','_roomMembers$','Tools','unshift','@univerjs-pro/collaboration-client','entityInit$','PENDING','_hideTimer','@univerjs/core','exhaustSavingTask','parse','_configService','unit','_startDocCollabCursor','CollaborationDataLoaderController','roomMembers$','type','1em','_backgroundColor','_docSkeletonManagerService','function','_urlService','_toggleOnline','transformIMECache','string','_revisionService','_onCursorDelete','show','_imageIoService','_initEvent','getTypeOfUnitDisposed$','_localCacheService','DOC_RANGE_TYPE','_handleHover','SessionStatus','collab-text-range-','labelPosition','Vector2','undoState','ISocketService','_range','getSkeleton','lineTo','_memberService','_instanceService','_getSaveTimeout','colorChannel1','onPointerLeave$','moveTo','transformRemoteChangeset','getConfig','round','cursorInfo$','setItem','with','_init','toDisposable','DEFAULT_WS_SESSION_TICKET_URL','fillRule','COMPLETION_FINISHED','onCommandExecuted','onLocalMutation','_drawAnchor','endRow','m2Prime','arc','_collaborationController','Rect','_docTransformIMECacheService','45DQsNDf','getCollabEntity$','handleIRemoveRow','column','toString','COLORS','unitId','amd','split','drawWith','RegularPolygon','defineProperty','DataLoaderService','_updateCollabCursors','TOO_MANY_REQUESTS','params','svg','sessionStatus$','_beforeCloseService','OTHER_CLIENT_EDITING','SheetSkeletonManagerService','getCurrentSelections','handleInsertRangeMoveRight','React','getUnitStatus$','deserializeRangeWithSheet','AWAITING_WITH_PENDING','UNDEFINED','editingUnit','unload','_entityInit$','mask','urlChange$','_hovered','data','RemoteUniscriptService','UniverCore','collabCursorState$','UniverProCollaboration','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collaboration-client-ui.config','subscribeEvent','registerComponent','WECHAT_HAS_BEEN_BOUND','LocaleService','mergeOverrideWithDependencies','Warning','_refreshCollabCursors','clsx','UniverCollaborationClientUIPlugin','DisposableCollection','some','getRangePointData','idSuffix','UnitStatus','history','...','WebSocketService','on-line-single','fillText','assignAColorForMemberID','_handleLeaveEvent','_syncEditingCollabCursorService','icon','getMemberID','fill','dispose','YUUMI_AI_RUN_FAILED','className','DocCollaborationEntity','prototype','ICommandService','hide','uni.network.url-service','Error','currentTheme$','current','UniverDrawing','DocSelectionManagerService','_setupSubUnitSync','PY_RUNTIME_SCRIPT_ERROR','USER_NOT_INVITED_CODE','length','transform','href','redoState','UNAUTHENTICATED','OFFLINE','m1Prime','_draw','subunit','_assignedColors','@univerjs/network','collaboration-client.offline-data-not-saved','touchDependencies','session.will-retry','collabStatus.syncing','_univerInstanceService','INVITE_CODE_ALREADY_BOUND','collaboration.single-unit.warning','APPLY_PERMISSION_DENIED','univerjs-icon\x20univerjs-icon-','createIdentifier','IBeforeCloseService','deepClone','collab-client.tooltip.reconnect','mutations','storage','CollaborationSessionService','purple.300','addClipboardHook','LICENSE_EXPORT_SIZE_EXCEEDED','random','error','replace','text','createElement','SNAPSHOT_HAS_BEEN_REMOVED','onPointerEnter$','YUUMI_UNABLE_LOAD_URL','enableLocalCache','INTERNAL_ERROR','_removeCollabCursors','isArray','getValue','_initStatusComponent','@univerjs/docs','SheetCollabCursorShape'];_0x32d0=function(){return _0x51a3e4;};return _0x32d0();}(function(_0x3325b4,_0x5a5ae2){const _0x2df7ee=_0x222d,_0x536d40=_0x3325b4();while(!![]){try{const _0x37f0c4=-parseInt(_0x2df7ee(0x2e1))/0x1*(parseInt(_0x2df7ee(0x205))/0x2)+parseInt(_0x2df7ee(0x28c))/0x3*(-parseInt(_0x2df7ee(0x35c))/0x4)+-parseInt(_0x2df7ee(0x29b))/0x5+parseInt(_0x2df7ee(0x230))/0x6+-parseInt(_0x2df7ee(0x24c))/0x7*(-parseInt(_0x2df7ee(0x2ef))/0x8)+parseInt(_0x2df7ee(0x181))/0x9*(parseInt(_0x2df7ee(0x328))/0xa)+parseInt(_0x2df7ee(0x2de))/0xb;if(_0x37f0c4===_0x5a5ae2)break;else _0x536d40['push'](_0x536d40['shift']());}catch(_0x9d8598){_0x536d40['push'](_0x536d40['shift']());}}}(_0x32d0,0x6bc4f),function(_0x31f457,_0x348fa5){const _0x5efd31=_0x222d;typeof exports==_0x5efd31(0x2df)&&typeof module<'u'?_0x348fa5(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require(_0x5efd31(0x3a9)),require(_0x5efd31(0x1dd)),require('@univerjs/docs-ui'),require(_0x5efd31(0x38f)),require(_0x5efd31(0x392)),require(_0x5efd31(0x1ff)),require('@univerjs-pro/collaboration'),require(_0x5efd31(0x2ea)),require(_0x5efd31(0x27d)),require(_0x5efd31(0x333)),require(_0x5efd31(0x2d9)),require('react/jsx-runtime'),require('@univerjs/ui'),require(_0x5efd31(0x2bf)),require(_0x5efd31(0x298)),require(_0x5efd31(0x320))):typeof define=='function'&&define[_0x5efd31(0x188)]?define([_0x5efd31(0x318),_0x5efd31(0x140),_0x5efd31(0x144),'@univerjs/engine-render',_0x5efd31(0x1dd),_0x5efd31(0x397),'@univerjs/drawing',_0x5efd31(0x392),_0x5efd31(0x1ff),'@univerjs-pro/collaboration','@univerjs/engine-formula',_0x5efd31(0x27d),_0x5efd31(0x333),'@univerjs/sheets-ui',_0x5efd31(0x2e5),_0x5efd31(0x127),_0x5efd31(0x2bf),'react','@univerjs/rpc'],_0x348fa5):(_0x31f457=typeof globalThis<'u'?globalThis:_0x31f457||self,_0x348fa5(_0x31f457[_0x5efd31(0x32c)]={},_0x31f457[_0x5efd31(0x3af)],_0x31f457[_0x5efd31(0x1a5)],_0x31f457[_0x5efd31(0x210)],_0x31f457[_0x5efd31(0x3a8)],_0x31f457[_0x5efd31(0x2bc)],_0x31f457[_0x5efd31(0x1ce)],_0x31f457['rxjs'],_0x31f457[_0x5efd31(0x2ad)],_0x31f457[_0x5efd31(0x1a7)],_0x31f457[_0x5efd31(0x367)],_0x31f457['UniverSheets'],_0x31f457[_0x5efd31(0x392)][_0x5efd31(0x222)],_0x31f457[_0x5efd31(0x249)],_0x31f457[_0x5efd31(0x198)],_0x31f457[_0x5efd31(0x2dd)],_0x31f457[_0x5efd31(0x359)],_0x31f457[_0x5efd31(0x198)],_0x31f457['UniverRpc']));}(this,function(_0x58baf5,_0x2023db,_0x58b3ad,_0x839618,_0x22d557,_0x2e0d09,_0x4a52f9,_0x6dabd3,_0x54ca13,_0x44c456,_0xd290cd,_0x3a3c4e,_0x2f5382,_0x31b2f1,_0x5116ef,_0x1a2ea0,_0x43985a,_0xf0b2ac,_0x47f72b){'use strict';const _0x4db1c3=_0x222d;var _0x3e77b4=Object['defineProperty'],_0x308c07=(_0x2fc093,_0x424520,_0x55c710)=>_0x424520 in _0x2fc093?_0x3e77b4(_0x2fc093,_0x424520,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55c710}):_0x2fc093[_0x424520]=_0x55c710,_0x1fc77e=(_0x1ef3cb,_0x43ef71,_0xf6bbcf)=>_0x308c07(_0x1ef3cb,typeof _0x43ef71!=_0x4db1c3(0x117)?_0x43ef71+'':_0x43ef71,_0xf6bbcf),_0x14a1cc=Object['getOwnPropertyDescriptor'],_0x166f6f=(_0x567d0b,_0x3f3df0,_0x52983f,_0x4314d3)=>{const _0x112798=_0x4db1c3;for(var _0x3da7e1=_0x4314d3>0x1?void 0x0:_0x4314d3?_0x14a1cc(_0x3f3df0,_0x52983f):_0x3f3df0,_0x270562=_0x567d0b[_0x112798(0x1d3)]-0x1,_0x1f7b48;_0x270562>=0x0;_0x270562--)(_0x1f7b48=_0x567d0b[_0x270562])&&(_0x3da7e1=_0x1f7b48(_0x3da7e1)||_0x3da7e1);return _0x3da7e1;},_0x4c6900=(_0x194bf3,_0x4a8520)=>(_0x493e73,_0x469a55)=>_0x4a8520(_0x493e73,_0x469a55,_0x194bf3);let _0x10030f=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x1d60c3,_0x12bce1){const _0xdbdcd4=_0x4db1c3;super(),this[_0xdbdcd4(0x270)]=_0x1d60c3,this[_0xdbdcd4(0x158)]=_0x12bce1,this['_init']();}[_0x4db1c3(0x173)](){const _0x2e5186=_0x4db1c3,_0x41294e=this;this[_0x2e5186(0x212)](this['_docClipboardService'][_0x2e5186(0x1ef)]({'onBeforePasteImage':async _0x136745=>{const _0x5d5c65=_0x2e5186,_0x5bf58e=await _0x41294e['_imageIoService'][_0x5d5c65(0x132)](_0x136745);return _0x5bf58e?{'source':_0x5bf58e[_0x5d5c65(0x3a6)],'imageSourceType':_0x5bf58e[_0x5d5c65(0x260)]}:null;}}));}};_0x10030f=_0x166f6f([_0x4c6900(0x0,_0x2e0d09[_0x4db1c3(0x2c2)]),_0x4c6900(0x1,_0x4a52f9['IImageIoService'])],_0x10030f);const _0x1ba055=[_0x4db1c3(0x1ee),_0x4db1c3(0x240),_0x4db1c3(0x2e4),_0x4db1c3(0x32b),'blue.400','yellow.400'];class _0x3b2cd0 extends _0x58b3ad['Disposable']{constructor(){const _0x376bd6=_0x4db1c3;super(...arguments),_0x1fc77e(this,_0x376bd6(0x1dc),new Map()),_0x1fc77e(this,_0x376bd6(0x329),0x0);}[_0x4db1c3(0x1bd)](_0x41a309){const _0x2ec50f=_0x4db1c3;if(this[_0x2ec50f(0x1dc)][_0x2ec50f(0x35a)](_0x41a309))return this[_0x2ec50f(0x1dc)]['get'](_0x41a309);const _0x563b34=_0x1ba055[this[_0x2ec50f(0x329)]];return this[_0x2ec50f(0x329)]=(this[_0x2ec50f(0x329)]+0x1)%_0x1ba055[_0x2ec50f(0x1d3)],this[_0x2ec50f(0x1dc)][_0x2ec50f(0x3b3)](_0x41a309,_0x563b34),_0x563b34;}}function _0x435a91(_0x5c8d75){const _0x2981ff=_0x4db1c3;let _0x1992c6='';for(const _0x230f8a of _0x5c8d75){const {startOffset:_0x5bcd11,endOffset:_0x502419,isActive:_0x21a183,rangeType:_0x548813,segmentId:_0x8bfc46,segmentPage:_0x182975}=_0x230f8a;_0x1992c6[_0x2981ff(0x1d3)]&&(_0x1992c6+=','),_0x1992c6+=_0x5bcd11+':'+_0x502419+':'+(_0x21a183?'1':'0')+':'+_0x548813+':'+_0x8bfc46+':'+_0x182975;}return _0x1992c6;}function _0x1aabfe(_0x4e9807){const _0x5693b2=_0x4db1c3,_0x44f90e=_0x4e9807['split'](','),_0x5c3737=[];for(const _0x1f4c90 of _0x44f90e){const [_0x5ef6b2,_0x7f1fc6,_0x4aaf0a,_0x2a6563,_0x506771,_0x5014a6]=_0x1f4c90[_0x5693b2(0x189)](':');_0x5c3737[_0x5693b2(0x395)]({'startOffset':Number(_0x5ef6b2),'endOffset':Number(_0x7f1fc6),'collapsed':_0x5ef6b2===_0x7f1fc6,'isActive':_0x4aaf0a==='1','rangeType':_0x2a6563===_0x58b3ad[_0x5693b2(0x15c)][_0x5693b2(0x279)]?_0x58b3ad[_0x5693b2(0x15c)][_0x5693b2(0x279)]:_0x58b3ad[_0x5693b2(0x15c)]['RECT'],'segmentId':typeof _0x506771==_0x5693b2(0x154)?String(_0x506771):'','segmentPage':Number(_0x5014a6!=null?_0x5014a6:-0x1)});}return _0x5c3737[_0x5693b2(0x1b4)](_0x5639af=>_0x5639af[_0x5693b2(0x293)])||(_0x5c3737[0x0]['isActive']=!0x0),_0x5c3737;}class _0x5ba099 extends _0x58b3ad['RxDisposable']{constructor(){const _0x21d71e=_0x4db1c3;super(...arguments),_0x1fc77e(this,_0x21d71e(0x251),new _0x6dabd3['BehaviorSubject'](null)),_0x1fc77e(this,'collabCursorState$',this[_0x21d71e(0x251)][_0x21d71e(0x23e)]());}[_0x4db1c3(0x2ee)](_0x322fc4){const _0x5446f4=_0x4db1c3,{unitID:_0x47aef7,memberID:_0x5e0a07,textRanges:_0x37d0a8}=_0x322fc4,_0x192c1b=_0x435a91(_0x37d0a8);if(_0x192c1b==='')return;const _0x21af74={'unitID':_0x47aef7,'memberID':_0x5e0a07,'selection':_0x192c1b};this[_0x5446f4(0x251)]['next'](_0x21af74);}}var _0x206811=Object[_0x4db1c3(0x2ff)],_0xf5046d=(_0xd20b27,_0x13c5fe,_0x32cb2c,_0x3f2810)=>{const _0x577455=_0x4db1c3;for(var _0x3fc68b=_0x3f2810>0x1?void 0x0:_0x3f2810?_0x206811(_0x13c5fe,_0x32cb2c):_0x13c5fe,_0x3ba6ad=_0xd20b27[_0x577455(0x1d3)]-0x1,_0x41cc77;_0x3ba6ad>=0x0;_0x3ba6ad--)(_0x41cc77=_0xd20b27[_0x3ba6ad])&&(_0x3fc68b=_0x41cc77(_0x3fc68b)||_0x3fc68b);return _0x3fc68b;},_0x3ba9d7=(_0x96f591,_0x296097)=>(_0x4adf40,_0x5a38ec)=>_0x296097(_0x4adf40,_0x5a38ec,_0x96f591);const _0x309e61=0x12c,_0x1b79d5=0x64;let _0x508d12=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x4686a1,_0x305f16,_0x2f85fa,_0x41a371,_0x1d31a9,_0xa00281,_0x4a5efa,_0x41f1c4,_0x2e3fea){const _0x5e36f8=_0x4db1c3;super(),_0x1fc77e(this,_0x5e36f8(0x2ba),!0x1),_0x1fc77e(this,_0x5e36f8(0x173),!0x1),_0x1fc77e(this,_0x5e36f8(0x39a),new _0x6dabd3['BehaviorSubject'](new Map())),_0x1fc77e(this,_0x5e36f8(0x170),this['_cursorInfo$'][_0x5e36f8(0x23e)]()),_0x1fc77e(this,_0x5e36f8(0x13d),new _0x6dabd3[(_0x5e36f8(0x25f))]([])),_0x1fc77e(this,'roomMembers$',this[_0x5e36f8(0x13d)][_0x5e36f8(0x349)](_0x6dabd3['debounceTime'](_0x309e61))),_0x1fc77e(this,_0x5e36f8(0x2be),_0x58b3ad[_0x5e36f8(0x2f9)](_0x244ccf=>{const _0xdfdf0=_0x5e36f8,_0x36deb8={'eventID':_0x44c456['CollaborationEvent'][_0xdfdf0(0x2c8)],'data':{'unitID':this[_0xdfdf0(0x38e)],'memberID':this[_0xdfdf0(0x2b4)][_0xdfdf0(0x1c1)](),'selection':_0x435a91(_0x244ccf)}};this[_0xdfdf0(0x2b4)][_0xdfdf0(0x297)](_0x36deb8,this[_0xdfdf0(0x38e)]);},_0x1b79d5)),(this[_0x5e36f8(0x38e)]=_0x4686a1,this[_0x5e36f8(0x2b4)]=_0x305f16,this[_0x5e36f8(0x25e)]=_0x2f85fa,this[_0x5e36f8(0x387)]=_0x41a371,this[_0x5e36f8(0x167)]=_0x1d31a9,this[_0x5e36f8(0x1bf)]=_0xa00281,this[_0x5e36f8(0x372)]=_0x4a5efa,this['_univerInstanceService']=_0x41f1c4,this[_0x5e36f8(0x353)]=_0x2e3fea);}get['cursorInfo'](){const _0x1dc740=_0x4db1c3;return this[_0x1dc740(0x39a)]['getValue']();}get[_0x4db1c3(0x2bb)](){const _0x5c6e6d=_0x4db1c3;return this[_0x5c6e6d(0x13d)][_0x5c6e6d(0x1fd)]();}[_0x4db1c3(0x1c3)](){const _0x45bda3=_0x4db1c3;super[_0x45bda3(0x1c3)](),this[_0x45bda3(0x39a)][_0x45bda3(0x23b)](new Map()),this[_0x45bda3(0x39a)]['complete'](),this['_roomMembers$']['next']([]),this[_0x45bda3(0x13d)][_0x45bda3(0x2a1)]();}[_0x4db1c3(0x243)](){const _0x3e7c6d=_0x4db1c3;this[_0x3e7c6d(0x173)]||(this['_init']=!0x0,this[_0x3e7c6d(0x2b4)]['sessionStatus$'][_0x3e7c6d(0x349)](_0x6dabd3['takeUntil'](this[_0x3e7c6d(0x125)]))[_0x3e7c6d(0x39d)](_0x405997=>{const _0x447646=_0x3e7c6d;_0x405997===_0x2023db[_0x447646(0x15e)][_0x447646(0x343)]?this[_0x447646(0x152)]():this[_0x447646(0x2e2)]();}),this[_0x3e7c6d(0x2b4)][_0x3e7c6d(0x33b)]['pipe'](_0x6dabd3[_0x3e7c6d(0x2e7)](this['dispose$']))[_0x3e7c6d(0x39d)](_0x212b14=>{const _0x37b758=_0x3e7c6d,_0xb9f9ee=_0x212b14[_0x37b758(0x2f1)];_0xb9f9ee===_0x44c456[_0x37b758(0x236)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x212b14),_0xb9f9ee===_0x44c456[_0x37b758(0x236)][_0x37b758(0x3ac)]&&this[_0x37b758(0x156)](_0x212b14);}),this['disposeWithMe'](this[_0x3e7c6d(0x353)]['onCommandExecuted'](_0x1bd34c=>{const _0x310fbc=_0x3e7c6d,_0x15a108=_0x1bd34c[_0x310fbc(0x190)];_0x15a108!=null&&this['_online']&&_0x1bd34c['id']===_0x54ca13[_0x310fbc(0x375)]['id']&&_0x15a108[_0x310fbc(0x187)]===this['unitID']&&_0x15a108[_0x310fbc(0x36c)]===!0x1&&_0x15a108['ranges']['length']>0x0&&this[_0x310fbc(0x2be)](_0x15a108[_0x310fbc(0x3aa)]);})),this['_syncEditingCollabCursorService'][_0x3e7c6d(0x1a6)][_0x3e7c6d(0x349)](_0x6dabd3[_0x3e7c6d(0x2e7)](this[_0x3e7c6d(0x125)]))[_0x3e7c6d(0x39d)](_0x2ed579=>{const _0x3aaaa4=_0x3e7c6d;if((_0x2ed579==null?void 0x0:_0x2ed579[_0x3aaaa4(0x38e)])!==this[_0x3aaaa4(0x38e)])return;const _0x44649f={'eventID':_0x44c456[_0x3aaaa4(0x236)][_0x3aaaa4(0x2c8)],'data':_0x2ed579};this['_onCursorUpdate'](_0x44649f);}),this[_0x3e7c6d(0x212)](this['_commandService'][_0x3e7c6d(0x178)](_0x1b7407=>{const _0x28fd67=_0x3e7c6d;if(_0x1b7407[_0x28fd67(0x190)]==null)return;const _0x4ca499=_0x1b7407[_0x28fd67(0x190)];if(_0x1b7407['id']!==_0x54ca13[_0x28fd67(0x344)]['id']||_0x4ca499[_0x28fd67(0x187)]!==this[_0x28fd67(0x38e)])return;const _0x308203={'id':_0x28fd67(0x2c9),'params':_0x4ca499},_0x4415bc=this[_0x28fd67(0x36f)];for(const [_0x1b0d9d,_0x1c3b88]of _0x4415bc){const _0x2d5b81={'id':_0x28fd67(0x2c9),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1c3b88[_0x28fd67(0x3aa)]}},_0x26b08f=this['_transformService'][_0x28fd67(0x22c)](_0x308203,_0x2d5b81,!0x1);if(_0x44c456[_0x28fd67(0x3b9)](_0x26b08f))throw _0x26b08f['error'];_0x4415bc[_0x28fd67(0x3b3)](_0x1b0d9d,{..._0x1c3b88,'ranges':_0x26b08f[_0x28fd67(0x17c)][_0x28fd67(0x190)][_0x28fd67(0x31f)]});}queueMicrotask(()=>{const _0x2b3b50=_0x28fd67;this[_0x2b3b50(0x39a)]['next'](_0x4415bc);});})));}[_0x4db1c3(0x33a)](_0x32efc){const _0x34d7ff=_0x4db1c3;var _0x3e72f5,_0x24a94a;const {memberID:_0x2ecbcb,selection:_0x270cda}=_0x32efc[_0x34d7ff(0x1a3)],_0x1d6010=_0x1aabfe(_0x270cda),_0x371abc=(_0x24a94a=(_0x3e72f5=this[_0x34d7ff(0x167)][_0x34d7ff(0x374)](this[_0x34d7ff(0x38e)],_0x2ecbcb))==null?void 0x0:_0x3e72f5[_0x34d7ff(0x2d0)])!=null?_0x24a94a:_0x34d7ff(0x335),_0x2740c4={'color':this[_0x34d7ff(0x387)][_0x34d7ff(0x1bd)](_0x2ecbcb),'name':_0x371abc,'ranges':_0x1d6010},_0x2826a4=this[_0x34d7ff(0x36f)];_0x2826a4['set'](_0x2ecbcb,_0x2740c4),this[_0x34d7ff(0x39a)][_0x34d7ff(0x23b)](_0x2826a4);}[_0x4db1c3(0x156)](_0x1ba011){const _0x536cb4=_0x4db1c3,{memberID:_0x879d55}=_0x1ba011[_0x536cb4(0x1a3)],_0x4c4945=this[_0x536cb4(0x36f)];_0x4c4945[_0x536cb4(0x309)](_0x879d55),this['_cursorInfo$'][_0x536cb4(0x23b)](_0x4c4945);}['_toggleOnline'](){const _0xb1d557=_0x4db1c3;var _0x290104;if(this[_0xb1d557(0x2ba)]=!0x0,((_0x290104=this[_0xb1d557(0x1e2)][_0xb1d557(0x24d)]())==null?void 0x0:_0x290104['getUnitId']())!==this['unitID'])return;const _0x31654b=this[_0xb1d557(0x25e)]['get'](_0x54ca13[_0xb1d557(0x1cf)])[_0xb1d557(0x20c)]();Array[_0xb1d557(0x1fc)](_0x31654b)&&_0x31654b[_0xb1d557(0x1d3)]>0x0&&this[_0xb1d557(0x2be)](_0x31654b);}[_0x4db1c3(0x2e2)](){const _0x1da1a2=_0x4db1c3;this[_0x1da1a2(0x2ba)]=!0x1;}};_0x508d12=_0xf5046d([_0x3ba9d7(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x35f)])),_0x3ba9d7(0x3,_0x58b3ad[_0x4db1c3(0x257)](_0x3b2cd0)),_0x3ba9d7(0x4,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db[_0x4db1c3(0x267)])),_0x3ba9d7(0x5,_0x58b3ad['Inject'](_0x5ba099)),_0x3ba9d7(0x6,_0x44c456[_0x4db1c3(0x28b)]),_0x3ba9d7(0x7,_0x58b3ad[_0x4db1c3(0x30d)]),_0x3ba9d7(0x8,_0x58b3ad['ICommandService'])],_0x508d12);var _0x426de4=Object[_0x4db1c3(0x2ff)],_0xa544e4=(_0x5f3355,_0x36e6d9,_0x5806c4,_0x9e752f)=>{const _0x430d18=_0x4db1c3;for(var _0x3da4e4=_0x9e752f>0x1?void 0x0:_0x9e752f?_0x426de4(_0x36e6d9,_0x5806c4):_0x36e6d9,_0x5c5e4e=_0x5f3355[_0x430d18(0x1d3)]-0x1,_0x4ba025;_0x5c5e4e>=0x0;_0x5c5e4e--)(_0x4ba025=_0x5f3355[_0x5c5e4e])&&(_0x3da4e4=_0x4ba025(_0x3da4e4)||_0x3da4e4);return _0x3da4e4;},_0x4ac81b=(_0x552d71,_0x1ef232)=>(_0x5f233a,_0x38c1f5)=>_0x1ef232(_0x5f233a,_0x38c1f5,_0x552d71);const _0x479bd1=0x12c,_0x44726d=0x64,_0x48c7b0=()=>{let _0x5e663f=[],_0xbda748=!0x1;return _0x3fbc49=>{const _0x2f869d=_0x222d;_0x5e663f[_0x2f869d(0x395)](_0x3fbc49),_0xbda748||(_0xbda748=!0x0,setTimeout(()=>{const _0x3b66d3=_0x2f869d;_0x5e663f[_0x3b66d3(0x341)](_0x2421a6=>_0x2421a6()),_0x5e663f=[],_0xbda748=!0x1;}));};};let _0x44f3d5=class extends _0x58b3ad['RxDisposable']{constructor(_0x290703,_0x30570e,_0x1fb515,_0x11bef3,_0x170887,_0x11b788,_0x3e3181,_0x39fd63){const _0x55f3f6=_0x4db1c3;super(),_0x1fc77e(this,_0x55f3f6(0x2ba),!0x1),_0x1fc77e(this,_0x55f3f6(0x173),!0x1),_0x1fc77e(this,_0x55f3f6(0x39a),new _0x6dabd3['BehaviorSubject'](new Map())),_0x1fc77e(this,_0x55f3f6(0x170),this[_0x55f3f6(0x39a)][_0x55f3f6(0x23e)]()),_0x1fc77e(this,_0x55f3f6(0x13d),new _0x6dabd3[(_0x55f3f6(0x25f))]([])),_0x1fc77e(this,_0x55f3f6(0x14b),this[_0x55f3f6(0x13d)][_0x55f3f6(0x349)](_0x6dabd3[_0x55f3f6(0x208)](_0x479bd1))),_0x1fc77e(this,_0x55f3f6(0x2be),_0x58b3ad[_0x55f3f6(0x2f9)]((_0x16b229,_0x4c6813)=>{const _0x27a964=_0x55f3f6,_0x50c2b8={'eventID':_0x44c456[_0x27a964(0x236)][_0x27a964(0x2c8)],'data':{'unitID':this[_0x27a964(0x38e)],'memberID':this[_0x27a964(0x2b4)][_0x27a964(0x1c1)](),'selection':_0xd290cd[_0x27a964(0x38b)](_0x16b229,_0x4c6813['range'])}};this[_0x27a964(0x2b4)][_0x27a964(0x297)](_0x50c2b8,this[_0x27a964(0x38e)]);},_0x44726d)),(this[_0x55f3f6(0x38e)]=_0x290703,this[_0x55f3f6(0x2b4)]=_0x30570e,this[_0x55f3f6(0x25e)]=_0x1fb515,this['_colorAssignService']=_0x11bef3,this[_0x55f3f6(0x167)]=_0x170887,this[_0x55f3f6(0x1e2)]=_0x11b788,this[_0x55f3f6(0x353)]=_0x3e3181,this[_0x55f3f6(0x126)]=_0x39fd63);}get[_0x4db1c3(0x36f)](){const _0x1a42e5=_0x4db1c3;return this['_cursorInfo$'][_0x1a42e5(0x1fd)]();}get[_0x4db1c3(0x2bb)](){const _0x4f9b21=_0x4db1c3;return this[_0x4f9b21(0x13d)][_0x4f9b21(0x1fd)]();}[_0x4db1c3(0x1c3)](){const _0x16c3e1=_0x4db1c3;super['dispose'](),this['_cursorInfo$'][_0x16c3e1(0x23b)](new Map()),this['_cursorInfo$'][_0x16c3e1(0x2a1)](),this[_0x16c3e1(0x13d)][_0x16c3e1(0x23b)]([]),this['_roomMembers$'][_0x16c3e1(0x2a1)]();}[_0x4db1c3(0x243)](){const _0x5ea525=_0x4db1c3;this['_init']||(this[_0x5ea525(0x173)]=!0x0,this[_0x5ea525(0x2b4)][_0x5ea525(0x192)]['pipe'](_0x6dabd3[_0x5ea525(0x2e7)](this[_0x5ea525(0x125)]))[_0x5ea525(0x39d)](_0x2d110b=>{const _0x319cdf=_0x5ea525;_0x2d110b===_0x2023db[_0x319cdf(0x15e)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x5ea525(0x2b4)][_0x5ea525(0x33b)]['pipe'](_0x6dabd3['takeUntil'](this[_0x5ea525(0x125)]))[_0x5ea525(0x39d)](_0x40f3b9=>{const _0x129f8c=_0x5ea525,_0x5b2956=_0x40f3b9[_0x129f8c(0x2f1)];_0x5b2956===_0x44c456[_0x129f8c(0x236)][_0x129f8c(0x2c8)]&&this['_onCursorUpdate'](_0x40f3b9),_0x5b2956===_0x44c456[_0x129f8c(0x236)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x40f3b9);}),this['_onRefRangeChange'](),this[_0x5ea525(0x212)](this[_0x5ea525(0x353)][_0x5ea525(0x178)](_0x12e88a=>{const _0x4006be=_0x5ea525;if(this[_0x4006be(0x2ba)]&&_0x12e88a['id']===_0x3a3c4e[_0x4006be(0x34e)]['id']&&_0x12e88a[_0x4006be(0x190)][_0x4006be(0x187)]===this[_0x4006be(0x38e)]){const _0x2e3349=_0x12e88a['params'];this[_0x4006be(0x2be)](_0x2e3349[_0x4006be(0x316)],_0x2e3349[_0x4006be(0x391)][0x0]);}})));}[_0x4db1c3(0x33a)](_0xec1cd2){const _0x29f31a=_0x4db1c3;var _0x178d7f,_0x2cfd04;const {memberID:_0x1ecf5c,selection:_0x1391b6}=_0xec1cd2[_0x29f31a(0x1a3)],{sheetName:_0xb49106,range:_0x153585}=_0xd290cd[_0x29f31a(0x19a)](_0x1391b6),_0x2750d2={'name':(_0x2cfd04=(_0x178d7f=this[_0x29f31a(0x167)][_0x29f31a(0x374)](this['unitID'],_0x1ecf5c))==null?void 0x0:_0x178d7f[_0x29f31a(0x2d0)])!=null?_0x2cfd04:_0x29f31a(0x335),'range':this['_getMergeRange'](_0xb49106,_0x153585),'sheetID':_0xb49106,'color':this['_colorAssignService'][_0x29f31a(0x1bd)](_0x1ecf5c),'selection':_0x1391b6},_0x2a8ebd=this[_0x29f31a(0x36f)];_0x2a8ebd[_0x29f31a(0x3b3)](_0x1ecf5c,_0x2750d2),this[_0x29f31a(0x39a)][_0x29f31a(0x23b)](_0x2a8ebd);}[_0x4db1c3(0x156)](_0x352023){const _0x254f7a=_0x4db1c3,{memberID:_0x6736ba}=_0x352023[_0x254f7a(0x1a3)],_0x43602e=this[_0x254f7a(0x36f)];_0x43602e[_0x254f7a(0x309)](_0x6736ba),this[_0x254f7a(0x39a)]['next'](_0x43602e);}[_0x4db1c3(0x25b)](_0x4a0053,_0x410324){const _0x5f4a1b=_0x4db1c3;var _0x867519,_0x1b967a;const _0x38c287=(_0x1b967a=(_0x867519=this[_0x5f4a1b(0x1e2)][_0x5f4a1b(0x248)](this[_0x5f4a1b(0x38e)]))==null?void 0x0:_0x867519[_0x5f4a1b(0x121)](_0x4a0053))==null?void 0x0:_0x1b967a[_0x5f4a1b(0x22b)]();return(_0x38c287==null?void 0x0:_0x38c287[_0x5f4a1b(0x347)](_0x30c3c2=>_0x58b3ad[_0x5f4a1b(0x39f)][_0x5f4a1b(0x266)](_0x30c3c2,_0x410324)))||_0x410324;}['_onRefRangeChange'](){const _0x12038=_0x4db1c3,_0x6dbbc8=new _0x58b3ad[(_0x12038(0x1b3))](),_0x3c823c=_0x48c7b0(),_0x4456c3=()=>{const _0x2b8324=_0x12038;_0x6dbbc8[_0x2b8324(0x1c3)]();const _0x5ee55e=(_0x43dab8,_0x3ade5e,_0x36db8f,_0x3da41a)=>{const _0x595c95=_0x2b8324;let _0x1fd9b1=[];switch(_0x43dab8['id']){case _0x3a3c4e['EffectRefRangId'][_0x595c95(0x124)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x26b)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x1fd9b1=_0x3a3c4e['handleDeleteRangeMoveUp'](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e[_0x595c95(0x122)]['InsertColCommandId']:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x233)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e[_0x595c95(0x122)][_0x595c95(0x2b9)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x3a2)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e['EffectRefRangId'][_0x595c95(0x284)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x197)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e[_0x595c95(0x122)][_0x595c95(0x29d)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x28e)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e['EffectRefRangId'][_0x595c95(0x34b)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x2c1)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e['EffectRefRangId'][_0x595c95(0x12d)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x245)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e['EffectRefRangId']['RemoveRowCommandId']:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x183)](_0x43dab8,_0x3da41a);break;}}const _0x82137f=_0x3a3c4e[_0x595c95(0x2fb)](_0x1fd9b1,_0x3da41a),_0x3b7a53=this['cursorInfo'][_0x595c95(0x2c5)](_0x3ade5e);if(_0x3b7a53&&_0x82137f){const _0x3a05b1={..._0x3b7a53,'range':_0x82137f};this[_0x595c95(0x36f)][_0x595c95(0x3b3)](_0x3ade5e,_0x3a05b1),_0x3c823c(()=>{const _0x4b8f1b=_0x595c95,_0x33efc4=this[_0x4b8f1b(0x126)][_0x4b8f1b(0x217)](_0x82137f,_0x37d3e7=>(_0x33efc4[_0x4b8f1b(0x1c3)](),_0x5ee55e(_0x37d3e7,_0x3ade5e,_0x36db8f,_0x82137f)));_0x6dbbc8[_0x4b8f1b(0x134)](_0x33efc4);});}return{'redos':[],'undos':[]};};this[_0x2b8324(0x36f)]['forEach']((_0x2d1177,_0x35efec)=>{const _0x487ac2=_0x2b8324,{range:_0x416771,sheetID:_0x158fbf}=_0x2d1177,_0x67bc44=this[_0x487ac2(0x126)][_0x487ac2(0x217)](_0x416771,_0x527a80=>(_0x67bc44['dispose'](),_0x5ee55e(_0x527a80,_0x35efec,_0x158fbf,_0x416771)));_0x6dbbc8[_0x487ac2(0x134)](_0x67bc44);});};this[_0x12038(0x212)](_0x58b3ad['toDisposable'](this[_0x12038(0x39a)][_0x12038(0x39d)](()=>{_0x4456c3();})));}[_0x4db1c3(0x152)](){const _0x192477=_0x4db1c3;var _0x27084b,_0x1df15c;if(this[_0x192477(0x2ba)]=!0x0,((_0x27084b=this[_0x192477(0x1e2)][_0x192477(0x24d)]())==null?void 0x0:_0x27084b[_0x192477(0x238)]())!==this[_0x192477(0x38e)])return;const _0x105ab9=(_0x1df15c=this['_injector'][_0x192477(0x2c5)](_0x3a3c4e[_0x192477(0x340)])[_0x192477(0x196)]())==null?void 0x0:_0x1df15c[0x0],_0x545f2a=this[_0x192477(0x1e2)]['getCurrentUnitForType'](_0x58b3ad[_0x192477(0x382)]['UNIVER_SHEET'])['getActiveSheet']();_0x105ab9&&_0x545f2a&&this[_0x192477(0x2be)](_0x545f2a['getSheetId'](),_0x105ab9);}[_0x4db1c3(0x2e2)](){const _0x1530eb=_0x4db1c3;this[_0x1530eb(0x2ba)]=!0x1;}};_0x44f3d5=_0xa544e4([_0x4ac81b(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x35f)])),_0x4ac81b(0x3,_0x58b3ad[_0x4db1c3(0x257)](_0x3b2cd0)),_0x4ac81b(0x4,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db['MemberService'])),_0x4ac81b(0x5,_0x58b3ad[_0x4db1c3(0x30d)]),_0x4ac81b(0x6,_0x58b3ad[_0x4db1c3(0x1c8)]),_0x4ac81b(0x7,_0x58b3ad[_0x4db1c3(0x257)](_0x3a3c4e[_0x4db1c3(0x2a6)]))],_0x44f3d5);var _0x8b2e26=Object['getOwnPropertyDescriptor'],_0x34333e=(_0xa385f0,_0x5ac42a,_0x498cac,_0x1fb288)=>{const _0x48ced2=_0x4db1c3;for(var _0x5560e0=_0x1fb288>0x1?void 0x0:_0x1fb288?_0x8b2e26(_0x5ac42a,_0x498cac):_0x5ac42a,_0x35a83e=_0xa385f0[_0x48ced2(0x1d3)]-0x1,_0x430d0a;_0x35a83e>=0x0;_0x35a83e--)(_0x430d0a=_0xa385f0[_0x35a83e])&&(_0x5560e0=_0x430d0a(_0x5560e0)||_0x5560e0);return _0x5560e0;},_0x4f45a1=(_0x4296c7,_0x2b9118)=>(_0x499f7f,_0x19c878)=>_0x2b9118(_0x499f7f,_0x19c878,_0x4296c7);let _0x37f18b=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x2b7a0d,_0x185ff2,_0x480fe5){const _0x533e20=_0x4db1c3;super(),_0x1fc77e(this,_0x533e20(0x371),new Map()),_0x1fc77e(this,_0x533e20(0x19f),new _0x6dabd3[(_0x533e20(0x296))]()),(this['_univerInstanceService']=_0x2b7a0d,this['_injector']=_0x185ff2,this[_0x533e20(0x36d)]=_0x480fe5,this[_0x533e20(0x173)]());}[_0x4db1c3(0x1c3)](){const _0x1a93aa=_0x4db1c3;super[_0x1a93aa(0x1c3)](),this[_0x1a93aa(0x19f)][_0x1a93aa(0x2a1)](),this['_entities']['forEach'](_0xbb5f60=>_0xbb5f60[_0x1a93aa(0x1c3)]());}[_0x4db1c3(0x22e)](_0x29b7bf){const _0xc30a64=_0x4db1c3;return this[_0xc30a64(0x371)][_0xc30a64(0x35a)](_0x29b7bf)?this['_entities'][_0xc30a64(0x2c5)](_0x29b7bf)['cursorInfo$']:this['_entityInit$'][_0xc30a64(0x349)](_0x6dabd3['filter'](_0x333b2e=>_0x333b2e[_0xc30a64(0x38e)]===_0x29b7bf),_0x6dabd3[_0xc30a64(0x11b)](_0x30e106=>_0x30e106[_0xc30a64(0x170)]));}[_0x4db1c3(0x173)](){const _0x438884=_0x4db1c3;this['_univerInstanceService'][_0x438884(0x2ec)](_0x58b3ad[_0x438884(0x382)][_0x438884(0x33c)])[_0x438884(0x349)](_0x6dabd3[_0x438884(0x2e7)](this[_0x438884(0x125)]))[_0x438884(0x39d)](async _0x442dac=>{const _0xac5415=_0x438884,_0x450d72=_0x442dac[_0xac5415(0x238)](),_0x215640=await this[_0xac5415(0x22d)](_0x450d72);this[_0xac5415(0x19f)][_0xac5415(0x23b)](_0x215640),this['_entities'][_0xac5415(0x3b3)](_0x450d72,_0x215640);}),this['_univerInstanceService'][_0x438884(0x2ec)](_0x58b3ad['UniverInstanceType'][_0x438884(0x2f4)])[_0x438884(0x349)](_0x6dabd3[_0x438884(0x2e7)](this['dispose$']))[_0x438884(0x349)](_0x6dabd3[_0x438884(0x34d)](_0x1a9558=>!_0x1a9558[_0x438884(0x238)]()[_0x438884(0x220)]('__')))[_0x438884(0x39d)](async _0x18ead8=>{const _0x3d786a=_0x438884,_0x872a38=_0x18ead8[_0x3d786a(0x238)](),_0x44787a=await this[_0x3d786a(0x149)](_0x872a38);this['_entityInit$'][_0x3d786a(0x23b)](_0x44787a),this[_0x3d786a(0x371)]['set'](_0x872a38,_0x44787a);}),_0x6dabd3[_0x438884(0x28a)](this['_univerInstanceService'][_0x438884(0x15a)](_0x58b3ad[_0x438884(0x382)]['UNIVER_DOC']),this[_0x438884(0x1e2)]['getTypeOfUnitDisposed$'](_0x58b3ad[_0x438884(0x382)][_0x438884(0x33c)]))[_0x438884(0x349)](_0x6dabd3['takeUntil'](this[_0x438884(0x125)]))[_0x438884(0x39d)](_0x3246a3=>{const _0x40cde7=_0x438884,_0x5f32e4=_0x3246a3[_0x40cde7(0x238)](),_0x22e1b6=this[_0x40cde7(0x371)][_0x40cde7(0x2c5)](_0x5f32e4);_0x22e1b6&&(_0x22e1b6[_0x40cde7(0x1c3)](),this[_0x40cde7(0x371)][_0x40cde7(0x309)](_0x5f32e4));});}async[_0x4db1c3(0x22d)](_0x3ee89f){const _0x32c482=_0x4db1c3,_0x3d10c9=await this['_collabSessionService'][_0x32c482(0x2b6)](_0x3ee89f),_0x2a8f84=this['_injector'][_0x32c482(0x22f)](_0x44f3d5,_0x3ee89f,_0x3d10c9);return _0x2a8f84[_0x32c482(0x243)](),_0x2a8f84;}async['_startDocCollabCursor'](_0x50c2ef){const _0x40333d=_0x4db1c3,_0x34919d=await this[_0x40333d(0x36d)][_0x40333d(0x2b6)](_0x50c2ef),_0x3d042a=this[_0x40333d(0x25e)][_0x40333d(0x22f)](_0x508d12,_0x50c2ef,_0x34919d);return _0x3d042a[_0x40333d(0x243)](),_0x3d042a;}};_0x37f18b=_0x34333e([_0x4f45a1(0x0,_0x58b3ad['IUniverInstanceService']),_0x4f45a1(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad['Injector'])),_0x4f45a1(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db[_0x4db1c3(0x1ed)]))],_0x37f18b);const _0x2f36af=0x14,_0x19becf=0xc8,_0x1ed6cd=0x4,_0x2f49d5=0x5;function _0x187791(_0x6cef6b,_0x4b045b){const _0xbb2086=_0x4db1c3;let {radius:_0x1e7292,width:_0x342015,height:_0x5575a6}=_0x4b045b;_0x1e7292=_0x1e7292!=null?_0x1e7292:0x0,_0x342015=_0x342015!=null?_0x342015:0x1e,_0x5575a6=_0x5575a6!=null?_0x5575a6:0x1e;let _0x5331f7=0x0,_0x1c81d0=0x0,_0x7ee8cd=0x0;_0x5331f7=_0x1c81d0=_0x7ee8cd=Math[_0xbb2086(0x20a)](_0x1e7292,_0x342015/0x2,_0x5575a6/0x2),_0x6cef6b[_0xbb2086(0x31d)](),_0x6cef6b[_0xbb2086(0x16c)](_0x5331f7,0x0),_0x6cef6b[_0xbb2086(0x166)](_0x342015-_0x1c81d0,0x0),_0x6cef6b[_0xbb2086(0x17d)](_0x342015-_0x1c81d0,_0x1c81d0,_0x1c81d0,Math['PI']*0x3/0x2,0x0,!0x1),_0x6cef6b[_0xbb2086(0x166)](_0x342015,_0x5575a6-_0x7ee8cd),_0x6cef6b[_0xbb2086(0x17d)](_0x342015-_0x7ee8cd,_0x5575a6-_0x7ee8cd,_0x7ee8cd,0x0,Math['PI']/0x2,!0x1),_0x6cef6b['lineTo'](0x0,_0x5575a6),_0x6cef6b[_0xbb2086(0x166)](0x0,_0x5331f7),_0x6cef6b['arc'](_0x5331f7,_0x5331f7,_0x5331f7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x6cef6b['closePath'](),_0x4b045b['fill']&&(_0x6cef6b[_0xbb2086(0x393)](),_0x6cef6b['fillStyle']=_0x4b045b[_0xbb2086(0x1c2)],_0x4b045b[_0xbb2086(0x176)]===_0xbb2086(0x234)?_0x6cef6b[_0xbb2086(0x1c2)](_0xbb2086(0x234)):_0x6cef6b[_0xbb2086(0x1c2)](),_0x6cef6b[_0xbb2086(0x229)]());}class _0x2a5523 extends _0x839618[_0x4db1c3(0x213)]{constructor(_0x1620d5,_0x2b5ada){const _0x21bee5=_0x4db1c3;super(_0x1620d5,_0x2b5ada),_0x1fc77e(this,_0x21bee5(0x2a9)),_0x1fc77e(this,_0x21bee5(0x1f4)),(this[_0x21bee5(0x2a9)]=_0x2b5ada==null?void 0x0:_0x2b5ada['color'],this[_0x21bee5(0x1f4)]=_0x2b5ada==null?void 0x0:_0x2b5ada['text']);}static['drawWith'](_0x509e7b,_0x5c8cae){const _0x175ca1=_0x4db1c3,{text:_0x1bb341,color:_0x1437ae}=_0x5c8cae;_0x509e7b[_0x175ca1(0x393)](),_0x509e7b[_0x175ca1(0x28f)]=_0x175ca1(0x123);const _0x4f399e=_0x509e7b['measureText'](_0x1bb341)[_0x175ca1(0x3b1)],_0x191626=Math[_0x175ca1(0x20a)](_0x4f399e+0x2*_0x1ed6cd,_0x19becf);_0x187791(_0x509e7b,{'height':_0x2f36af,'radius':0x4,'width':_0x191626,'fill':_0x1437ae}),_0x509e7b['fillStyle']=_0x175ca1(0x336);const _0x919b5a=_0x1ed6cd,_0x332144=_0x2f36af-_0x2f49d5,_0x13d30c=_0x19becf-0x2*_0x1ed6cd;if(_0x4f399e>_0x13d30c){let _0x4b45b7='',_0x12cfc2=0x0;for(const _0x2fed36 of _0x1bb341){const _0x4b15e0=_0x509e7b['measureText'](_0x2fed36)['width'];if(_0x12cfc2+_0x4b15e0<=_0x13d30c-_0x509e7b[_0x175ca1(0x252)](_0x175ca1(0x1b9))[_0x175ca1(0x3b1)])_0x4b45b7+=_0x2fed36,_0x12cfc2+=_0x4b15e0;else{_0x4b45b7+=_0x175ca1(0x1b9);break;}}_0x509e7b[_0x175ca1(0x1bc)](_0x4b45b7,_0x919b5a,_0x332144);}else _0x509e7b[_0x175ca1(0x1bc)](_0x1bb341,_0x919b5a,_0x332144);_0x509e7b[_0x175ca1(0x229)]();}[_0x4db1c3(0x1da)](_0x38af74){const _0x5878a1=_0x4db1c3;_0x2a5523[_0x5878a1(0x18a)](_0x38af74,this);}}const _0x249ec0=_0x4db1c3(0x2c4),_0x5a52b2=_0x4db1c3(0x15f),_0x372e1f=_0x4db1c3(0x332),_0x261a32=0x6,_0x3f96e7=1.5,_0x5cd01c=0x4,_0x5d5301=1.5,_0x39e7d7=_0x4db1c3(0x319);class _0x4152ac{constructor(_0x117bed,_0x3a89d0,_0x291a96,_0x580cfd){const _0x14c29a=_0x4db1c3;_0x1fc77e(this,_0x14c29a(0x2c7),[]),_0x1fc77e(this,_0x14c29a(0x216),null),_0x1fc77e(this,_0x14c29a(0x2e6),null),_0x1fc77e(this,_0x14c29a(0x24b),null),_0x1fc77e(this,'_hideTimer',null),_0x1fc77e(this,'_eventUnsubscribe',null),(this[_0x14c29a(0x36a)]=_0x117bed,this['_scene']=_0x3a89d0,this['_docSkeleton']=_0x291a96,this[_0x14c29a(0x12f)]=_0x580cfd,this[_0x14c29a(0x285)]());}set[_0x4db1c3(0x36b)](_0x16af38){const _0xd7e8c3=_0x4db1c3;_0x16af38?(this['_anchorDot']&&this[_0xd7e8c3(0x24b)][_0xd7e8c3(0x1c9)](),this[_0xd7e8c3(0x2e6)]&&this['_textBubble'][_0xd7e8c3(0x157)]()):(this[_0xd7e8c3(0x24b)]&&this[_0xd7e8c3(0x24b)][_0xd7e8c3(0x157)](),this[_0xd7e8c3(0x2e6)]&&this[_0xd7e8c3(0x2e6)][_0xd7e8c3(0x1c9)]());}[_0x4db1c3(0x1c3)](){const _0xac5c2=_0x4db1c3;for(const _0x1760cd of this[_0xac5c2(0x2c7)])_0x1760cd[_0xac5c2(0x1c3)]();this[_0xac5c2(0x2e6)]&&this[_0xac5c2(0x2e6)][_0xac5c2(0x1c3)](),this[_0xac5c2(0x24b)]&&this[_0xac5c2(0x24b)][_0xac5c2(0x1c3)](),this[_0xac5c2(0x216)]&&this[_0xac5c2(0x216)][_0xac5c2(0x1c3)](),this[_0xac5c2(0x22a)]&&this[_0xac5c2(0x22a)]();}[_0x4db1c3(0x285)](){const _0x4e31be=_0x4db1c3;var _0x482e7b;const {_docSkeleton:_0x59d28b,_document:_0x518573}=this,{color:_0x1f9175,name:_0x448a5c,ranges:_0x4caaf7}=this[_0x4e31be(0x36a)],_0x4ac338=_0x518573[_0x4e31be(0x2c3)](),{docsLeft:_0x3a6012,docsTop:_0x1dfe55}=_0x4ac338,_0x3554d6=new _0x2e0d09['NodePositionConvertToCursor'](_0x4ac338,_0x59d28b);for(const {startOffset:_0x48b4c8,endOffset:_0x4bc699,rangeType:_0x29e29f,segmentId:_0x41ee06,segmentPage:_0x2acd7e,collapsed:_0x49a811,isActive:_0x47018d}of _0x4caaf7){const _0x4e1e7b=_0x59d28b[_0x4e31be(0x11f)](_0x48b4c8,!0x0,_0x41ee06,_0x2acd7e);let _0x17b21d=_0x59d28b[_0x4e31be(0x11f)](_0x4bc699,!0x0,_0x41ee06,_0x2acd7e);if(_0x17b21d==null&&(_0x17b21d=_0x59d28b['findNodePositionByCharIndex'](_0x4bc699-0x1,!0x1,_0x41ee06,_0x2acd7e)),_0x47018d){const {contentBoxPointGroup:_0x666816}=_0x3554d6[_0x4e31be(0x1b5)](_0x17b21d,_0x17b21d);if(_0x666816[_0x4e31be(0x1d3)]===0x0)continue;this[_0x4e31be(0x17a)](_0x1f9175,_0x666816,_0x3a6012,_0x1dfe55,_0x448a5c),this[_0x4e31be(0x22a)]=this[_0x4e31be(0x15d)]();}if(_0x4e1e7b&&_0x17b21d){if(_0x29e29f===_0x58b3ad['DOC_RANGE_TYPE'][_0x4e31be(0x2bd)]){const _0x3439c5=new _0x2e0d09[(_0x4e31be(0x380))](_0x4ac338,_0x59d28b),{pointGroup:_0x16e30c}=(_0x482e7b=_0x3439c5['getRangePointData'](_0x4e1e7b,_0x17b21d))!=null?_0x482e7b:{};if(_0x16e30c==null||_0x16e30c[_0x4e31be(0x1d3)]===0x0)continue;this[_0x4e31be(0x13c)](_0x1f9175,_0x16e30c,_0x3a6012,_0x1dfe55);}else{if(!_0x49a811){const {borderBoxPointGroup:_0xa56b0a}=_0x3554d6['getRangePointData'](_0x4e1e7b,_0x17b21d);if(_0xa56b0a['length']===0x0)continue;this[_0x4e31be(0x379)](_0x1f9175,_0xa56b0a,_0x3a6012,_0x1dfe55);}}}}}[_0x4db1c3(0x17a)](_0x4fe8bb,_0x2b9163,_0x1e8831,_0x6527d8,_0x32ec6a){const _0x52d01d=_0x4db1c3,_0x20027f=this['_getAnchorBounding'](_0x2b9163),{left:_0x40aef8,top:_0x218665,height:_0x188b70}=_0x20027f,_0x3a20cb=this['_getScale'](),_0x34b02d=_0x5d5301/_0x3a20cb,_0x48a195=new _0x839618[(_0x52d01d(0x17f))](_0x249ec0+_0x58b3ad['Tools'][_0x52d01d(0x308)](_0x261a32),{'left':_0x40aef8+_0x1e8831-_0x34b02d,'top':_0x218665+_0x6527d8,'height':_0x188b70,'width':_0x3f96e7,'fill':_0x4fe8bb||_0x839618['getColor'](_0x58b3ad['COLORS'][_0x52d01d(0x226)],0x0),'strokeWidth':_0x34b02d,'stroke':_0x39e7d7,'evented':!0x0});this[_0x52d01d(0x216)]=_0x48a195,this[_0x52d01d(0x366)][_0x52d01d(0x2eb)](_0x48a195,_0x2e0d09[_0x52d01d(0x396)]);const _0x2bd705=new _0x839618['Rect'](_0x249ec0+_0x58b3ad[_0x52d01d(0x13e)]['generateRandomId'](_0x261a32),{'left':_0x40aef8+_0x1e8831-_0x34b02d,'top':_0x218665+_0x6527d8-_0x5cd01c/0x2,'height':_0x5cd01c,'width':_0x5cd01c,'fill':_0x4fe8bb||_0x839618[_0x52d01d(0x37f)](_0x58b3ad[_0x52d01d(0x186)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x4fe8bb||_0x839618[_0x52d01d(0x37f)](_0x58b3ad[_0x52d01d(0x186)][_0x52d01d(0x226)],0x0),'evented':!0x1});this['_anchorDot']=_0x2bd705,this[_0x52d01d(0x366)][_0x52d01d(0x2eb)](_0x2bd705,_0x2e0d09[_0x52d01d(0x396)]);const _0x5d7a48=new _0x2a5523(_0x249ec0+_0x58b3ad[_0x52d01d(0x13e)]['generateRandomId'](_0x261a32),{'left':_0x40aef8+_0x1e8831-_0x34b02d,'top':_0x218665+_0x6527d8-_0x2f36af,'text':_0x32ec6a,'color':_0x4fe8bb});this[_0x52d01d(0x2e6)]=_0x5d7a48,this[_0x52d01d(0x366)]['addObject'](_0x5d7a48,_0x2e0d09[_0x52d01d(0x396)]),this[_0x52d01d(0x36b)]=!0x1;}[_0x4db1c3(0x15d)](){const _0x439065=_0x4db1c3,_0x2af8bf=this[_0x439065(0x216)][_0x439065(0x1f7)][_0x439065(0x1aa)](()=>{const _0x32b22c=_0x439065;this[_0x32b22c(0x36b)]=!0x0;}),_0x5de349=this[_0x439065(0x216)][_0x439065(0x16b)]['subscribeEvent'](()=>{const _0x2382bc=_0x439065;this[_0x2382bc(0x143)]&&clearTimeout(this[_0x2382bc(0x143)]),this[_0x2382bc(0x143)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4411fa=_0x439065;_0x2af8bf[_0x4411fa(0x276)](),_0x5de349[_0x4411fa(0x276)]();};}[_0x4db1c3(0x379)](_0x302120,_0x32557f,_0xd707a6,_0x4c0348){const _0x5eb569=_0x4db1c3,_0x4512c8=new _0x58b3ad['ColorKit'](_0x302120)['setAlpha'](0.2)['toRgbString'](),_0x4bf65d=new _0x839618[(_0x5eb569(0x18b))](_0x5a52b2+_0x58b3ad['Tools'][_0x5eb569(0x308)](_0x261a32),{'pointsGroup':_0x32557f,'fill':_0x4512c8||_0x839618[_0x5eb569(0x37f)](_0x58b3ad[_0x5eb569(0x186)]['black'],0.2),'left':_0xd707a6,'top':_0x4c0348,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5eb569(0x2c7)][_0x5eb569(0x395)](_0x4bf65d),this[_0x5eb569(0x366)][_0x5eb569(0x2eb)](_0x4bf65d,_0x2e0d09[_0x5eb569(0x396)]);}[_0x4db1c3(0x13c)](_0x5dbe90,_0x2cedf9,_0x2c4cbf,_0x32c06f){const _0x7d418b=_0x4db1c3,_0x265bae=new _0x58b3ad[(_0x7d418b(0x250))](_0x5dbe90)[_0x7d418b(0x130)](0.2)[_0x7d418b(0x136)](),_0x381cc1=new _0x839618[(_0x7d418b(0x18b))](_0x372e1f+_0x58b3ad[_0x7d418b(0x13e)][_0x7d418b(0x308)](_0x261a32),{'pointsGroup':_0x2cedf9,'fill':_0x265bae||_0x839618[_0x7d418b(0x37f)](_0x58b3ad[_0x7d418b(0x186)][_0x7d418b(0x226)],0.2),'left':_0x2c4cbf,'top':_0x32c06f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x7d418b(0x395)](_0x381cc1),this[_0x7d418b(0x366)][_0x7d418b(0x2eb)](_0x381cc1,_0x2e0d09[_0x7d418b(0x396)]);}['_getAnchorBounding'](_0x510ad8){const _0x3b4f20=_0x510ad8[0x0],_0x598413=_0x3b4f20[0x0],_0x2de92b=_0x3b4f20[0x2],{x:_0x4eb997,y:_0x3d666d}=_0x598413,{x:_0x200c6a,y:_0x34c082}=_0x2de92b;return{'left':_0x4eb997,'top':_0x3d666d,'width':_0x200c6a-_0x4eb997,'height':_0x34c082-_0x3d666d};}[_0x4db1c3(0x29e)](){const _0x40ccec=_0x4db1c3,{scaleX:_0x302efd,scaleY:_0x1b32ff}=this[_0x40ccec(0x366)][_0x40ccec(0x30a)]();return Math[_0x40ccec(0x339)](_0x302efd,_0x1b32ff);}}var _0xbcd82d=Object[_0x4db1c3(0x2ff)],_0x38742f=(_0x2c9540,_0x5d77a5,_0x10b728,_0x54f90f)=>{const _0xbcaf39=_0x4db1c3;for(var _0x3bd6b2=_0x54f90f>0x1?void 0x0:_0x54f90f?_0xbcd82d(_0x5d77a5,_0x10b728):_0x5d77a5,_0x148231=_0x2c9540[_0xbcaf39(0x1d3)]-0x1,_0x199d85;_0x148231>=0x0;_0x148231--)(_0x199d85=_0x2c9540[_0x148231])&&(_0x3bd6b2=_0x199d85(_0x3bd6b2)||_0x3bd6b2);return _0x3bd6b2;},_0x16c793=(_0x36038f,_0x5a9277)=>(_0x446b9e,_0x4df1a5)=>_0x5a9277(_0x446b9e,_0x4df1a5,_0x36038f);let _0x250bc8=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x4439f4,_0x41413c,_0xef7cfe,_0x533129,_0x5cfd12){const _0x1f4e92=_0x4db1c3;super(),_0x1fc77e(this,'_cursorShapes',[]),_0x1fc77e(this,_0x1f4e92(0x314),[]),(this[_0x1f4e92(0x2dc)]=_0x4439f4,this['_docSkeletonManagerService']=_0x41413c,this[_0x1f4e92(0x337)]=_0xef7cfe,this['_commandService']=_0x533129,this[_0x1f4e92(0x138)]=_0x5cfd12,this['_init']());}[_0x4db1c3(0x173)](){const _0x473cda=_0x4db1c3,_0x5a2724=this['_context']['unitId'],_0x483227=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x6dabd3[_0x473cda(0x289)]([this[_0x473cda(0x337)][_0x473cda(0x22e)](_0x5a2724),this[_0x473cda(0x138)]['currentTheme$']])[_0x473cda(0x349)](_0x2f5382[_0x473cda(0x235)](([_0x16b2c6,_0x190aaa])=>({'skeleton':_0x483227[_0x473cda(0x165)](),'cursors':[..._0x16b2c6[_0x473cda(0x262)]()][_0x473cda(0x362)](_0x13ed92=>({..._0x13ed92,'color':this[_0x473cda(0x138)][_0x473cda(0x273)](_0x13ed92[_0x473cda(0x2a9)])}))})))[_0x473cda(0x39d)](_0x38846d=>{const _0x51285f=_0x473cda;if(this[_0x51285f(0x1fb)](),_0x38846d){const {skeleton:_0x1199f9,cursors:_0x11417b}=_0x38846d;this[_0x51285f(0x18e)](_0x1199f9,_0x11417b);}})),this[_0x473cda(0x29c)](),this[_0x473cda(0x322)]();}[_0x4db1c3(0x18e)](_0x95a5a6,_0x58d5ce){const _0x429ad3=_0x4db1c3,{scene:_0x574e55,mainComponent:_0x256ea7}=this[_0x429ad3(0x2dc)],_0x24bd98=_0x58d5ce['map'](_0x35deaa=>new _0x4152ac(_0x35deaa,_0x574e55,_0x95a5a6,_0x256ea7));this[_0x429ad3(0x25d)]=_0x24bd98,this['_cursors']=_0x58d5ce;}[_0x4db1c3(0x1b0)](){const _0x133bea=_0x4db1c3;this[_0x133bea(0x1fb)]();const {scene:_0x26d5f1,mainComponent:_0x19c518}=this[_0x133bea(0x2dc)],_0x3b0a09=this[_0x133bea(0x14f)]['getSkeleton'](),_0x2edb4e=this['_cursors'][_0x133bea(0x235)](_0x5e0502=>new _0x4152ac(_0x5e0502,_0x26d5f1,_0x3b0a09,_0x19c518));this[_0x133bea(0x25d)]=_0x2edb4e;}[_0x4db1c3(0x1fb)](){const _0x2c274c=_0x4db1c3;this[_0x2c274c(0x25d)]['forEach'](_0xf36e0c=>_0xf36e0c[_0x2c274c(0x1c3)]()),this[_0x2c274c(0x25d)]=[];}[_0x4db1c3(0x322)](){const _0x3f5a7a=_0x4db1c3,_0x4fe0ee=[_0x2e0d09[_0x3f5a7a(0x265)]['id']];this[_0x3f5a7a(0x212)](this['_commandService'][_0x3f5a7a(0x178)](_0x5e7f86=>{const _0x58ab8a=_0x3f5a7a;_0x4fe0ee[_0x58ab8a(0x20d)](_0x5e7f86['id'])&&_0x5e7f86[_0x58ab8a(0x190)][_0x58ab8a(0x187)]===this['_context']['unitId']&&this[_0x58ab8a(0x1b0)]();}));}[_0x4db1c3(0x29c)](){const _0x7a1675=_0x4db1c3;this[_0x7a1675(0x212)](_0x58b3ad['fromEventSubject'](this[_0x7a1675(0x2dc)]['engine']['onTransformChange$'])[_0x7a1675(0x349)](_0x2f5382[_0x7a1675(0x34d)](_0xf62fd0=>_0xf62fd0['type']===_0x839618['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x7a1675(0x206)]),_0x2f5382[_0x7a1675(0x301)](0x10))[_0x7a1675(0x39d)](()=>{this['_refreshCollabCursors']();}));}};_0x250bc8=_0x38742f([_0x16c793(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x54ca13[_0x4db1c3(0x342)])),_0x16c793(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x37f18b)),_0x16c793(0x3,_0x58b3ad['ICommandService']),_0x16c793(0x4,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad['ThemeService']))],_0x250bc8);const _0x1d7c54=0x1,_0x28749=1.5;class _0x2f939e extends _0x839618[_0x4db1c3(0x213)]{constructor(_0x2f72c5,_0x517b4f){const _0x5aca94=_0x4db1c3;super(_0x2f72c5,_0x517b4f),_0x1fc77e(this,_0x5aca94(0x215)),_0x1fc77e(this,_0x5aca94(0x1a2),!0x1),_0x1fc77e(this,_0x5aca94(0x164)),_0x1fc77e(this,'_name',''),_0x1fc77e(this,'_labelPosition',_0x5aca94(0x31b)),_0x1fc77e(this,_0x5aca94(0x14e)),(_0x517b4f&&this[_0x5aca94(0x118)](_0x517b4f),this[_0x5aca94(0x1f7)][_0x5aca94(0x1aa)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x5aca94(0x1aa)](()=>this[_0x5aca94(0x118)]({'hovered':!0x1})));}[_0x4db1c3(0x118)](_0x5cf2f0){const _0x3ac12c=_0x4db1c3;var _0x477c92,_0x51cef6,_0xa58906,_0x2217b6,_0x5d2668,_0x1fa979;this[_0x3ac12c(0x215)]=(_0x477c92=_0x5cf2f0['color'])!=null?_0x477c92:this[_0x3ac12c(0x215)],this['_hovered']=(_0x51cef6=_0x5cf2f0[_0x3ac12c(0x2a0)])!=null?_0x51cef6:this[_0x3ac12c(0x1a2)],this['_range']=(_0xa58906=_0x5cf2f0[_0x3ac12c(0x211)])!=null?_0xa58906:this[_0x3ac12c(0x164)],this[_0x3ac12c(0x27f)]=(_0x2217b6=_0x5cf2f0['name'])!=null?_0x2217b6:this[_0x3ac12c(0x27f)],this[_0x3ac12c(0x29a)]=(_0x5d2668=_0x5cf2f0[_0x3ac12c(0x160)])!=null?_0x5d2668:this['_labelPosition'],this[_0x3ac12c(0x14e)]=(_0x1fa979=_0x5cf2f0[_0x3ac12c(0x253)])!=null?_0x1fa979:this[_0x3ac12c(0x14e)],this['transformByState']({'width':_0x5cf2f0[_0x3ac12c(0x3b1)],'height':_0x5cf2f0[_0x3ac12c(0x35b)]});}[_0x4db1c3(0x119)](_0x5ed783){const _0x1fcbd3=_0x4db1c3,{row:_0x15fa9f,column:_0x2aba08}=_0x5ed783;if(_0x15fa9f>=this[_0x1fcbd3(0x164)]['startRow']&&_0x15fa9f<=this[_0x1fcbd3(0x164)][_0x1fcbd3(0x17b)]&&_0x2aba08>=this[_0x1fcbd3(0x164)]['startColumn']&&_0x2aba08<=this[_0x1fcbd3(0x164)][_0x1fcbd3(0x33f)]){this[_0x1fcbd3(0x118)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x4db1c3(0x352)](_0x3f1419){return!0x1;}[_0x4db1c3(0x1da)](_0x353dec){const _0x3d5cfa=_0x4db1c3;_0x839618['Rect'][_0x3d5cfa(0x18a)](_0x353dec,{'width':this[_0x3d5cfa(0x3b1)],'height':this[_0x3d5cfa(0x35b)],'strokeWidth':_0x28749,'stroke':this[_0x3d5cfa(0x215)],'evented':!0x1,'fill':this[_0x3d5cfa(0x14e)]}),this[_0x3d5cfa(0x1a2)]&&(_0x353dec['save'](),_0x353dec[_0x3d5cfa(0x1d4)](0x1,0x0,0x0,0x1,this[_0x3d5cfa(0x3b1)],this[_0x3d5cfa(0x29a)]===_0x3d5cfa(0x389)?0x0:-0x14),_0x2a5523[_0x3d5cfa(0x18a)](_0x353dec,{'text':this['_name'],'color':this[_0x3d5cfa(0x215)]}),_0x353dec[_0x3d5cfa(0x229)]());}}var _0x5d7326=Object[_0x4db1c3(0x2ff)],_0x116e40=(_0xef63e8,_0x5d2215,_0xcfe57f,_0x5aac97)=>{for(var _0x38df71=_0x5aac97>0x1?void 0x0:_0x5aac97?_0x5d7326(_0x5d2215,_0xcfe57f):_0x5d2215,_0x455072=_0xef63e8['length']-0x1,_0x490781;_0x455072>=0x0;_0x455072--)(_0x490781=_0xef63e8[_0x455072])&&(_0x38df71=_0x490781(_0x38df71)||_0x38df71);return _0x38df71;},_0xe44dfe=(_0x2d8f1c,_0x29d9a2)=>(_0x483ec7,_0x306f39)=>_0x29d9a2(_0x483ec7,_0x306f39,_0x2d8f1c);const _0x5d9545=0x1389;let _0x82a8ef=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x4478b3,_0x40700a,_0x26a34f,_0x1d5816){const _0x3ad447=_0x4db1c3;super(),_0x1fc77e(this,_0x3ad447(0x314),new Set()),_0x1fc77e(this,_0x3ad447(0x219),null),(this[_0x3ad447(0x2dc)]=_0x4478b3,this[_0x3ad447(0x2e8)]=_0x40700a,this[_0x3ad447(0x337)]=_0x26a34f,this[_0x3ad447(0x138)]=_0x1d5816,this[_0x3ad447(0x173)]());}[_0x4db1c3(0x173)](){const _0x5a92d8=_0x4db1c3;this[_0x5a92d8(0x2e8)][_0x5a92d8(0x13a)]['pipe'](_0x2f5382[_0x5a92d8(0x2e7)](this[_0x5a92d8(0x125)]),_0x2f5382[_0x5a92d8(0x11b)](_0x5c872d=>{const _0x46aabd=_0x5a92d8;if(_0x5c872d){const _0x557a65=_0x5c872d[_0x46aabd(0x351)];return _0x6dabd3[_0x46aabd(0x289)](this[_0x46aabd(0x337)]['getCollabCursors$'](this[_0x46aabd(0x2dc)][_0x46aabd(0x187)]),this[_0x46aabd(0x138)][_0x46aabd(0x1cc)])[_0x46aabd(0x349)](_0x2f5382[_0x46aabd(0x235)](([_0xa7cb24,_0x1a6176])=>{const _0x526de8=_0x46aabd,_0x107a16=new Map();return _0xa7cb24[_0x526de8(0x341)]((_0x39351a,_0x4b10f7)=>{const _0xbe115d=_0x526de8;if(_0x39351a[_0xbe115d(0x202)]===_0x557a65){const _0x21a4ab={..._0x39351a};_0x21a4ab[_0xbe115d(0x2a9)]=this['_themeService'][_0xbe115d(0x273)](_0x39351a[_0xbe115d(0x2a9)]),_0x107a16[_0xbe115d(0x3b3)](_0x4b10f7,_0x21a4ab);}}),{'skeleton':_0x5c872d,'cursors':_0x107a16};}));}return _0x6dabd3['of']({'skeleton':null,'cursors':new Map()});}))[_0x5a92d8(0x39d)](({skeleton:_0x2f6cb0,cursors:_0x3e98dd})=>{const _0x30db6d=_0x5a92d8;this[_0x30db6d(0x1fb)](),_0x2f6cb0&&this['_updateCollabCursors'](_0x2f6cb0,_0x3e98dd);}),this[_0x5a92d8(0x2e8)][_0x5a92d8(0x13a)][_0x5a92d8(0x39d)](_0x2c598d=>{const _0x188438=_0x5a92d8;if(_0x2c598d==null)return;const {skeleton:_0x13c69f}=_0x2c598d,{scene:_0x3bafc9}=this[_0x188438(0x2dc)];_0x3bafc9[_0x188438(0x264)][_0x188438(0x1aa)](_0x58b3ad[_0x188438(0x2f9)](_0x2b426=>{const _0x2fd296=_0x188438;var _0xfffe4,_0x1bf70b;const {offsetX:_0x3fda8a,offsetY:_0x50d15f}=_0x2b426,{x:_0xab8267,y:_0x4343fe}=_0x3bafc9[_0x2fd296(0x23f)](_0x839618[_0x2fd296(0x161)][_0x2fd296(0x2d6)]([_0x3fda8a,_0x50d15f])),{scaleX:_0x1a71a9,scaleY:_0x4ba497}=_0x3bafc9[_0x2fd296(0x30a)](),_0x32f281=_0x3bafc9[_0x2fd296(0x2a5)](_0x839618[_0x2fd296(0x350)]['VIEW_MAIN']),_0x2b23af=_0x3bafc9[_0x2fd296(0x377)](_0x839618[_0x2fd296(0x161)][_0x2fd296(0x2d6)]([_0xab8267,_0x4343fe]),_0x32f281),_0x4a15f0=_0x13c69f[_0x2fd296(0x256)](_0x3fda8a,_0x50d15f,_0x1a71a9,_0x4ba497,_0x2b23af);((_0xfffe4=this[_0x2fd296(0x219)])==null?void 0x0:_0xfffe4['column'])===_0x4a15f0[_0x2fd296(0x184)]&&((_0x1bf70b=this[_0x2fd296(0x219)])==null?void 0x0:_0x1bf70b[_0x2fd296(0x237)])===_0x4a15f0[_0x2fd296(0x237)]||this[_0x2fd296(0x314)][_0x2fd296(0x341)](_0x400bab=>{_0x400bab['onMouseMove'](_0x4a15f0);});},0x64));});}[_0x4db1c3(0x18e)](_0x2580fc,_0xf34c){const _0x327ab2=_0x4db1c3;var _0x5f1a2e;const _0x2bb110=(_0x5f1a2e=this['_sheetSkeletonManagerService'][_0x327ab2(0x37d)]())==null?void 0x0:_0x5f1a2e[_0x327ab2(0x26c)];if(!_0x2bb110)return;const _0x5274ef=this[_0x327ab2(0x345)]();if(!_0x5274ef)return;this[_0x327ab2(0x314)][_0x327ab2(0x341)](_0x473522=>{const _0x8f7f07=_0x327ab2;_0x473522[_0x8f7f07(0x295)]();});const {scene:_0x51f99e}=_0x5274ef,_0x54b95e=_0x57f00b(Array[_0x327ab2(0x2e0)](_0xf34c[_0x327ab2(0x262)]()))['map'](_0x27d8ac=>{const _0x189bfc=_0x327ab2,{color:_0x7d9c46,range:_0x1d60ec,name:_0x1158f9,selection:_0xef910e,sheetID:_0x5b6325}=_0x27d8ac,{startColumn:_0x218c74,startRow:_0x1d8f53,endColumn:_0x4c75c9,endRow:_0x3157c6}=_0x1d60ec,_0x55a9c6=_0x31b2f1[_0x189bfc(0x360)](_0x1d8f53,_0x218c74,_0x51f99e,_0x2bb110),_0xd572e9=_0x31b2f1[_0x189bfc(0x360)](_0x3157c6,_0x4c75c9,_0x51f99e,_0x2bb110),{columnHeaderHeightAndMarginTop:_0x38c20f}=_0x2bb110,{startX:_0x4cbc3b,startY:_0x25fb85}=_0x55a9c6,{endX:_0x2a94c9,endY:_0x3f3aa3}=_0xd572e9,_0x3e2314=_0x2a94c9-_0x4cbc3b,_0x31d820=_0x3f3aa3-_0x25fb85,_0x15fd62={'labelPosition':_0x25fb85-_0x38c20f>=_0x2f36af?'top':'bottom','sheetID':_0x5b6325,'range':_0x1d60ec,'color':_0x7d9c46,'name':_0x1158f9,'selection':_0xef910e,'left':_0x4cbc3b,'top':_0x25fb85,'width':_0x3e2314,'height':_0x31d820,'evented':!0x1,'zIndex':_0x5d9545};return new _0x2f939e(_0x1158f9,_0x15fd62);});_0x51f99e[_0x327ab2(0x255)](_0x54b95e,_0x1d7c54),this[_0x327ab2(0x314)]=new Set(_0x54b95e);}[_0x4db1c3(0x1fb)](){const _0x12881a=_0x4db1c3;var _0x4a8923;(_0x4a8923=this[_0x12881a(0x314)])==null||_0x4a8923[_0x12881a(0x341)](_0x58ac13=>_0x58ac13[_0x12881a(0x1c3)]());}['_getSheetObject'](){const _0x162a60=_0x4db1c3;return _0x31b2f1[_0x162a60(0x263)](this[_0x162a60(0x2dc)][_0x162a60(0x148)],this[_0x162a60(0x2dc)]);}};_0x82a8ef=_0x116e40([_0xe44dfe(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x31b2f1[_0x4db1c3(0x195)])),_0xe44dfe(0x2,_0x58b3ad['Inject'](_0x37f18b)),_0xe44dfe(0x3,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x386)]))],_0x82a8ef);function _0x57f00b(_0x1b5178){const _0x481c38=_0x4db1c3,_0x3e8ce6=new Map();return _0x1b5178[_0x481c38(0x341)](_0x5b6090=>{const _0x168cd7=_0x481c38;if(_0x3e8ce6['has'](_0x5b6090['selection'])){const _0x48a1f1=_0x3e8ce6[_0x168cd7(0x2c5)](_0x5b6090[_0x168cd7(0x37b)]);_0x48a1f1['name']+=',\x20'+_0x5b6090[_0x168cd7(0x2d0)];}else _0x3e8ce6['set'](_0x5b6090['selection'],_0x5b6090);}),Array[_0x481c38(0x2e0)](_0x3e8ce6['values']());}var _0x2b2a5d=function(){const _0x25fe08=_0x4db1c3;return _0x2b2a5d=Object[_0x25fe08(0x2fd)]||function(_0x3ffad3){const _0xe6c7a9=_0x25fe08;for(var _0x15fc4b,_0x2f7bf7=0x1,_0x2d56ea=arguments['length'];_0x2f7bf7<_0x2d56ea;_0x2f7bf7++){_0x15fc4b=arguments[_0x2f7bf7];for(var _0x38db0f in _0x15fc4b)Object[_0xe6c7a9(0x1c7)][_0xe6c7a9(0x31a)]['call'](_0x15fc4b,_0x38db0f)&&(_0x3ffad3[_0x38db0f]=_0x15fc4b[_0x38db0f]);}return _0x3ffad3;},_0x2b2a5d[_0x25fe08(0x21c)](this,arguments);},_0x1b5d1b=function(_0x4f929b,_0x12d89f){const _0x85eafe=_0x4db1c3;var _0x253cee={};for(var _0x19c213 in _0x4f929b)Object[_0x85eafe(0x1c7)][_0x85eafe(0x31a)][_0x85eafe(0x3a1)](_0x4f929b,_0x19c213)&&_0x12d89f[_0x85eafe(0x384)](_0x19c213)<0x0&&(_0x253cee[_0x19c213]=_0x4f929b[_0x19c213]);if(_0x4f929b!=null&&typeof Object[_0x85eafe(0x338)]==_0x85eafe(0x150)){for(var _0xb41569=0x0,_0x19c213=Object[_0x85eafe(0x338)](_0x4f929b);_0xb41569<_0x19c213['length'];_0xb41569++)_0x12d89f[_0x85eafe(0x384)](_0x19c213[_0xb41569])<0x0&&Object[_0x85eafe(0x1c7)]['propertyIsEnumerable'][_0x85eafe(0x3a1)](_0x4f929b,_0x19c213[_0xb41569])&&(_0x253cee[_0x19c213[_0xb41569]]=_0x4f929b[_0x19c213[_0xb41569]]);}return _0x253cee;},_0x3286b0=_0xf0b2ac[_0x4db1c3(0x39e)](function(_0x2fb58a,_0x1acca2){const _0x22eeab=_0x4db1c3;var _0x809656=_0x2fb58a[_0x22eeab(0x1c0)],_0x4e9e9e=_0x2fb58a['id'],_0xa61375=_0x2fb58a['className'],_0x40362c=_0x2fb58a[_0x22eeab(0x258)],_0x57b167=_0x1b5d1b(_0x2fb58a,['icon','id',_0x22eeab(0x1c5),_0x22eeab(0x258)]),_0x11542f=_0x22eeab(0x1e6)[_0x22eeab(0x32e)](_0x4e9e9e,'\x20')[_0x22eeab(0x32e)](_0xa61375||'')[_0x22eeab(0x25c)](),_0x5f1e06=_0xf0b2ac[_0x22eeab(0x399)]('_'['concat'](_0xd956d5()));return _0x534f5a(_0x809656,''[_0x22eeab(0x32e)](_0x4e9e9e),{'defIds':_0x809656[_0x22eeab(0x30f)],'idSuffix':_0x5f1e06[_0x22eeab(0x1cd)]},_0x2b2a5d({'ref':_0x1acca2,'className':_0x11542f},_0x57b167),_0x40362c);});function _0x534f5a(_0x542889,_0x3f8322,_0x6116a3,_0x227c7d,_0x462f97){const _0x38e583=_0x4db1c3;return _0xf0b2ac[_0x38e583(0x1f5)](_0x542889[_0x38e583(0x2cb)],_0x2b2a5d(_0x2b2a5d({'key':_0x3f8322},_0xea4ead(_0x542889,_0x6116a3,_0x462f97)),_0x227c7d),(_0x4b963f(_0x542889,_0x6116a3)[_0x38e583(0x302)]||[])[_0x38e583(0x235)](function(_0x379be6,_0x4fda6e){const _0x226990=_0x38e583;return _0x534f5a(_0x379be6,''['concat'](_0x3f8322,'-')[_0x226990(0x32e)](_0x542889['tag'],'-')[_0x226990(0x32e)](_0x4fda6e),_0x6116a3,void 0x0,_0x462f97);}));}function _0xea4ead(_0x4b812e,_0x51ba38,_0x434c5b){const _0x315d16=_0x4db1c3;var _0x4d1395=_0x2b2a5d({},_0x4b812e[_0x315d16(0x201)]);_0x434c5b!=null&&_0x434c5b['colorChannel1']&&_0x4d1395['fill']==='colorChannel1'&&(_0x4d1395[_0x315d16(0x1c2)]=_0x434c5b[_0x315d16(0x16a)]),_0x4b812e[_0x315d16(0x2cb)]===_0x315d16(0x1a0)&&_0x4d1395['id']&&(_0x4d1395['id']=_0x4d1395['id']+_0x51ba38['idSuffix']),Object[_0x315d16(0x2c6)](_0x4d1395)[_0x315d16(0x341)](function(_0xc63eaa){const _0x4b2007=_0x315d16;var _0x5c4c0b=_0xc63eaa[0x0],_0x120f86=_0xc63eaa[0x1];_0x5c4c0b===_0x4b2007(0x1a0)&&typeof _0x120f86==_0x4b2007(0x154)&&(_0x4d1395[_0x5c4c0b]=_0x120f86[_0x4b2007(0x1f3)](/url\(#(.*)\)/,_0x4b2007(0x38a)[_0x4b2007(0x32e)](_0x51ba38[_0x4b2007(0x1b6)],')')));});var _0x15fb1d=_0x51ba38[_0x315d16(0x30f)];return!_0x15fb1d||_0x15fb1d[_0x315d16(0x1d3)]===0x0||(_0x4b812e[_0x315d16(0x2cb)]===_0x315d16(0x2af)&&_0x4d1395[_0x315d16(0x24e)]&&(_0x4d1395[_0x315d16(0x24e)]=_0x4d1395[_0x315d16(0x24e)]+_0x51ba38['idSuffix']),Object[_0x315d16(0x2c6)](_0x4d1395)[_0x315d16(0x341)](function(_0x416f09){const _0x3b1210=_0x315d16;var _0x65e93f=_0x416f09[0x0],_0xb0735=_0x416f09[0x1];typeof _0xb0735=='string'&&(_0x4d1395[_0x65e93f]=_0xb0735['replace'](/url\(#(.*)\)/,'url(#$1'[_0x3b1210(0x32e)](_0x51ba38[_0x3b1210(0x1b6)],')')));})),_0x4d1395;}function _0x4b963f(_0x520ed4,_0x447e1a){const _0x1975e1=_0x4db1c3;var _0x49e33d,_0x303782=_0x447e1a[_0x1975e1(0x30f)];return!_0x303782||_0x303782['length']===0x0?_0x520ed4:_0x520ed4[_0x1975e1(0x2cb)]===_0x1975e1(0x38c)&&(!((_0x49e33d=_0x520ed4['children'])===null||_0x49e33d===void 0x0)&&_0x49e33d[_0x1975e1(0x1d3)])?_0x2b2a5d(_0x2b2a5d({},_0x520ed4),{'children':_0x520ed4[_0x1975e1(0x302)]['map'](function(_0x13a2d){const _0x241f25=_0x1975e1;return typeof _0x13a2d[_0x241f25(0x201)]['id']==_0x241f25(0x154)&&_0x303782&&_0x303782['indexOf'](_0x13a2d[_0x241f25(0x201)]['id'])>-0x1?_0x2b2a5d(_0x2b2a5d({},_0x13a2d),{'attrs':_0x2b2a5d(_0x2b2a5d({},_0x13a2d[_0x241f25(0x201)]),{'id':_0x13a2d[_0x241f25(0x201)]['id']+_0x447e1a[_0x241f25(0x1b6)]})}):_0x13a2d;})}):_0x520ed4;}function _0xd956d5(){const _0x250e14=_0x4db1c3;return Math[_0x250e14(0x1f1)]()[_0x250e14(0x185)](0x24)[_0x250e14(0x27c)](0x2,0x8);}_0x3286b0['displayName']='UniverIcon';var _0xe7c75b={'tag':_0x4db1c3(0x191),'attrs':{'fill':_0x4db1c3(0x11a),'viewBox':_0x4db1c3(0x204),'width':_0x4db1c3(0x14d),'height':_0x4db1c3(0x14d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x4db1c3(0x3ae),'attrs':{'stroke':_0x4db1c3(0x2fc),'d':_0x4db1c3(0x2d8),'strokeLinecap':_0x4db1c3(0x16f),'strokeLinejoin':_0x4db1c3(0x16f),'strokeWidth':1.2}}]},{'tag':_0x4db1c3(0x38c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4db1c3(0x378)},'children':[{'tag':_0x4db1c3(0x3ae),'attrs':{'fill':_0x4db1c3(0x3ad),'d':_0x4db1c3(0x37e)}}]}]}],'defIds':[_0x4db1c3(0x378)]},_0x2ac8dc=_0xf0b2ac[_0x4db1c3(0x39e)](function(_0x15c757,_0x1afad5){const _0x17b4f9=_0x4db1c3;return _0xf0b2ac[_0x17b4f9(0x1f5)](_0x3286b0,Object[_0x17b4f9(0x2fd)]({},_0x15c757,{'id':'off-line-single','ref':_0x1afad5,'icon':_0xe7c75b}));});_0x2ac8dc['displayName']=_0x4db1c3(0x303);var _0x436151={'tag':_0x4db1c3(0x191),'attrs':{'fill':'none','viewBox':_0x4db1c3(0x2b3),'width':_0x4db1c3(0x14d),'height':_0x4db1c3(0x14d)},'children':[{'tag':'g','attrs':{'clipPath':_0x4db1c3(0x373)},'children':[{'tag':_0x4db1c3(0x3ae),'attrs':{'stroke':_0x4db1c3(0x2fc),'d':_0x4db1c3(0x2a4),'strokeLinecap':'round','strokeLinejoin':_0x4db1c3(0x16f),'strokeWidth':1.2}}]},{'tag':_0x4db1c3(0x38c),'attrs':{},'children':[{'tag':_0x4db1c3(0x27a),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x4db1c3(0x3ae),'attrs':{'fill':_0x4db1c3(0x3ad),'d':_0x4db1c3(0x37e),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x2cd5c9=_0xf0b2ac[_0x4db1c3(0x39e)](function(_0x2abcac,_0x22194d){const _0x503062=_0x4db1c3;return _0xf0b2ac['createElement'](_0x3286b0,Object['assign']({},_0x2abcac,{'id':_0x503062(0x1bb),'ref':_0x22194d,'icon':_0x436151}));});_0x2cd5c9[_0x4db1c3(0x2ce)]='OnLineSingle';function _0x39c85a(_0x10bc22){const _0x215768=_0x4db1c3;switch(_0x10bc22){case _0x2023db[_0x215768(0x11e)][_0x215768(0x1d8)]:return'collabStatus.offline';case _0x2023db[_0x215768(0x11e)]['CONFLICT']:return _0x215768(0x2da);case _0x2023db[_0x215768(0x11e)][_0x215768(0x2fa)]:return _0x215768(0x2a2);case _0x2023db[_0x215768(0x11e)][_0x215768(0x272)]:return _0x215768(0x2b1);case _0x2023db[_0x215768(0x11e)]['AWAITING']:case _0x2023db[_0x215768(0x11e)][_0x215768(0x19b)]:return _0x215768(0x1e1);case _0x2023db[_0x215768(0x11e)][_0x215768(0x2d1)]:case _0x2023db[_0x215768(0x11e)][_0x215768(0x142)]:return'collabStatus.synced';}}function _0x478902(_0x27e7d2){const _0x34d488=_0x4db1c3,{status$:_0x21c9c1}=_0x27e7d2,_0x28e3f3=_0x1a2ea0[_0x34d488(0x23c)](_0x21c9c1,_0x2023db[_0x34d488(0x11e)][_0x34d488(0x272)]),_0x143bed=_0x1a2ea0[_0x34d488(0x214)](_0x58b3ad[_0x34d488(0x1ad)]),_0x2eb1a5=_0x1a2ea0['useDependency'](_0x2023db['CollaborationSessionService']),_0x6b9419=_0x28e3f3!==_0x2023db[_0x34d488(0x11e)][_0x34d488(0x1d8)],_0x587d55=_0x143bed['t'](_0x39c85a(_0x28e3f3)),_0x3c6caf=_0x6b9419?_0x5116ef[_0x34d488(0x231)](_0x2cd5c9,{}):_0x5116ef[_0x34d488(0x231)](_0x2ac8dc,{}),_0x2d464f=_0xf0b2ac['useCallback'](()=>{_0x6b9419||_0x2eb1a5['reconnect']();},[_0x6b9419,_0x2eb1a5]);function _0x15ff7a(){const _0x41d075=_0x34d488;return _0x5116ef[_0x41d075(0x274)](_0x41d075(0x390),{'className':'univer-flex\x20univer-items-center','onClick':_0x2d464f,'children':[_0x5116ef[_0x41d075(0x231)](_0x41d075(0x390),{'className':_0x43985a[_0x41d075(0x1b1)]('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x6b9419,'univer-text-red-500':!_0x6b9419}),'children':_0x3c6caf}),_0x5116ef['jsx']('div',{'className':_0x41d075(0x33e),'children':_0x587d55})]});}return _0x6b9419?_0x15ff7a():_0x5116ef['jsx'](_0x43985a['Tooltip'],{'title':_0x143bed['t'](_0x34d488(0x1ea)),'children':_0x15ff7a()});}var _0x793154=Object['getOwnPropertyDescriptor'],_0xb08a6f=(_0x35d285,_0x303173,_0x42c584,_0x5d8271)=>{const _0x310f75=_0x4db1c3;for(var _0xd6bade=_0x5d8271>0x1?void 0x0:_0x5d8271?_0x793154(_0x303173,_0x42c584):_0x303173,_0x5543e6=_0x35d285[_0x310f75(0x1d3)]-0x1,_0x3500ff;_0x5543e6>=0x0;_0x5543e6--)(_0x3500ff=_0x35d285[_0x5543e6])&&(_0xd6bade=_0x3500ff(_0xd6bade)||_0xd6bade);return _0xd6bade;},_0x51536f=(_0x150c01,_0x47064a)=>(_0x254ea0,_0x224e22)=>_0x47064a(_0x254ea0,_0x224e22,_0x150c01);_0x58baf5[_0x4db1c3(0x3b4)]=class extends _0x58b3ad[_0x4db1c3(0x33d)]{constructor(_0x4ecab4,_0x21d377,_0x6da284,_0x177b44){const _0xdbced5=_0x4db1c3;super(),_0x1fc77e(this,_0xdbced5(0x254),new _0x6dabd3[(_0xdbced5(0x25f))](_0x2023db[_0xdbced5(0x11e)][_0xdbced5(0x272)])),(this[_0xdbced5(0x1e2)]=_0x4ecab4,this[_0xdbced5(0x25e)]=_0x21d377,this[_0xdbced5(0x17e)]=_0x6da284,this[_0xdbced5(0x207)]=_0x177b44,this[_0xdbced5(0x1fe)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x376917=_0x4db1c3;this['disposeWithMe'](this[_0x376917(0x1e2)]['focused$'][_0x376917(0x349)](_0x6dabd3[_0x376917(0x11b)](()=>{const _0x56fe7f=_0x376917,_0x5990eb=this[_0x56fe7f(0x1e2)]['getFocusedUnit']();return _0x5990eb?this[_0x56fe7f(0x17e)][_0x56fe7f(0x182)](_0x5990eb[_0x56fe7f(0x238)]()):_0x6dabd3['of'](null);}),_0x6dabd3['switchMap'](_0x528aa9=>_0x528aa9?_0x528aa9['status$']:_0x6dabd3['of'](_0x2023db[_0x376917(0x11e)][_0x376917(0x272)])))[_0x376917(0x39d)](_0x3d4a01=>{const _0x3d5e34=_0x376917;this[_0x3d5e34(0x254)]['next'](_0x3d4a01);}));}[_0x4db1c3(0x1fe)](){const _0x465862=_0x4db1c3;this[_0x465862(0x212)](this['_uiPartsService'][_0x465862(0x1ab)](_0x1a2ea0[_0x465862(0x2f2)][_0x465862(0x2d3)],()=>_0x1a2ea0[_0x465862(0x20f)](_0x2d8bb2({'status$':this[_0x465862(0x254)][_0x465862(0x23e)]()}),this[_0x465862(0x25e)])));}},_0x58baf5[_0x4db1c3(0x3b4)]=_0xb08a6f([_0x51536f(0x0,_0x58b3ad[_0x4db1c3(0x30d)]),_0x51536f(0x1,_0x58b3ad['Inject'](_0x58b3ad['Injector'])),_0x51536f(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db[_0x4db1c3(0x2f3)])),_0x51536f(0x3,_0x1a2ea0[_0x4db1c3(0x388)])],_0x58baf5['DesktopCollaborationStatusDisplayController']);function _0x2d8bb2(_0x46d570){const {status$:_0x29fbae}=_0x46d570;return function(){const _0x56bf8c=_0x222d;return _0x5116ef[_0x56bf8c(0x231)](_0x478902,{'status$':_0x29fbae});};}var _0x13a89f=Object['getOwnPropertyDescriptor'],_0x37a252=(_0x30fef7,_0x4ebf86,_0x4c2899,_0x4b2dc2)=>{const _0x1da6de=_0x4db1c3;for(var _0x469aad=_0x4b2dc2>0x1?void 0x0:_0x4b2dc2?_0x13a89f(_0x4ebf86,_0x4c2899):_0x4ebf86,_0x4f3475=_0x30fef7[_0x1da6de(0x1d3)]-0x1,_0x483804;_0x4f3475>=0x0;_0x4f3475--)(_0x483804=_0x30fef7[_0x4f3475])&&(_0x469aad=_0x483804(_0x469aad)||_0x469aad);return _0x469aad;},_0xcb97ef=(_0x4143d9,_0x11f326)=>(_0x5492cb,_0x19c9d2)=>_0x11f326(_0x5492cb,_0x19c9d2,_0x4143d9);let _0xf7f3cb=class extends _0x58b3ad[_0x4db1c3(0x33d)]{constructor(_0x4424b4,_0x475c97,_0x59f24e,_0xd842ea,_0x5f50ee,_0x18e3b3){const _0x48a808=_0x4db1c3;super(),this[_0x48a808(0x193)]=_0x4424b4,this['_localCacheService']=_0x475c97,this[_0x48a808(0x3a0)]=_0x59f24e,this['_messageService']=_0xd842ea,this[_0x48a808(0x2cf)]=_0x5f50ee,this[_0x48a808(0x383)]=_0x18e3b3,this[_0x48a808(0x282)](),this[_0x48a808(0x159)]();}[_0x4db1c3(0x282)](){const _0x4faba0=_0x4db1c3;this[_0x4faba0(0x212)](this['_beforeCloseService'][_0x4faba0(0x29f)](()=>{const _0x133645=_0x4faba0;if(this[_0x133645(0x15b)][_0x133645(0x24a)][_0x133645(0x364)])return this[_0x133645(0x383)]['t'](_0x133645(0x1de));}));}[_0x4db1c3(0x159)](){const _0x141ded=_0x4db1c3;this['disposeWithMe'](this[_0x141ded(0x3a0)]['event$'][_0x141ded(0x39d)](_0x4cdd9f=>{const _0x4f1f85=_0x141ded;_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x194)]&&this['_messageService'][_0x4f1f85(0x157)]({'type':_0x43985a[_0x4f1f85(0x139)][_0x4f1f85(0x1af)],'content':this[_0x4f1f85(0x383)]['t'](_0x4f1f85(0x1e4))}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x31c)]&&this[_0x4f1f85(0x394)][_0x4f1f85(0x157)]({'type':_0x43985a[_0x4f1f85(0x139)]['Warning'],'content':this[_0x4f1f85(0x383)]['t'](_0x4f1f85(0x2d4))}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x13b)]&&this[_0x4f1f85(0x2cf)][_0x4f1f85(0x157)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x4f1f85(0x383)]['t'](_0x4f1f85(0x30b)),'type':_0x4f1f85(0x1f2),'duration':0x0}),_0x4cdd9f['id']===_0x2023db['CollaborationUIEventId'][_0x4f1f85(0x12b)]&&this['_messageService'][_0x4f1f85(0x157)]({'type':_0x43985a['MessageType'][_0x4f1f85(0x1cb)],'content':this['_localeService']['t'](_0x4f1f85(0x2d4))+'('+_0x4cdd9f[_0x4f1f85(0x1a3)]+')'}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x224)]&&this[_0x4f1f85(0x394)][_0x4f1f85(0x157)]({'type':_0x43985a['MessageType'][_0x4f1f85(0x1af)],'content':this[_0x4f1f85(0x383)]['t'](_0x4cdd9f[_0x4f1f85(0x1a3)]||'')}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x2a8)]&&this[_0x4f1f85(0x394)][_0x4f1f85(0x157)]({'type':_0x43985a[_0x4f1f85(0x139)][_0x4f1f85(0x1af)],'content':this['_localeService']['t'](_0x4f1f85(0x1e0))}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x398)]&&this[_0x4f1f85(0x394)][_0x4f1f85(0x157)]({'type':_0x43985a[_0x4f1f85(0x139)][_0x4f1f85(0x1cb)],'content':this[_0x4f1f85(0x383)]['t'](_0x4f1f85(0x242))}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x4f1f85(0x157)]({'type':_0x43985a['MessageType'][_0x4f1f85(0x1cb)],'content':this[_0x4f1f85(0x383)]['t'](_0x4f1f85(0x310))});}));}};_0xf7f3cb=_0x37a252([_0xcb97ef(0x0,_0x1a2ea0[_0x4db1c3(0x1e8)]),_0xcb97ef(0x1,_0x2023db[_0x4db1c3(0x30e)]),_0xcb97ef(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db['CollaborationUIEventService'])),_0xcb97ef(0x3,_0x1a2ea0[_0x4db1c3(0x239)]),_0xcb97ef(0x4,_0x1a2ea0[_0x4db1c3(0x37c)]),_0xcb97ef(0x5,_0x58b3ad['Inject'](_0x58b3ad[_0x4db1c3(0x1ad)]))],_0xf7f3cb);const _0x121401=_0x4db1c3(0x1a9),_0x5ce969={},_0x5b0fb3=_0x58b3ad[_0x4db1c3(0x1e7)](_0x4db1c3(0x1ca));var _0x4c9615=Object['getOwnPropertyDescriptor'],_0x2be001=(_0x411c5c,_0x177efe,_0x22537f,_0x55351f)=>{const _0x60ce65=_0x4db1c3;for(var _0x204f63=_0x55351f>0x1?void 0x0:_0x55351f?_0x4c9615(_0x177efe,_0x22537f):_0x177efe,_0x30c453=_0x411c5c[_0x60ce65(0x1d3)]-0x1,_0x919e44;_0x30c453>=0x0;_0x30c453--)(_0x919e44=_0x411c5c[_0x30c453])&&(_0x204f63=_0x919e44(_0x204f63)||_0x204f63);return _0x204f63;},_0xa8e7dd=(_0x3ce3e1,_0x5156de)=>(_0x55518d,_0x59be0c)=>_0x5156de(_0x55518d,_0x59be0c,_0x3ce3e1);_0x58baf5[_0x4db1c3(0x14a)]=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x108524,_0x2f6ccc,_0x1686d1,_0x2f3276,_0x12f6b5){const _0x2cd08c=_0x4db1c3;super(),this[_0x2cd08c(0x151)]=_0x108524,this['_logService']=_0x2f6ccc,this[_0x2cd08c(0x353)]=_0x1686d1,this['_dataLoaderService']=_0x2f3276,_0x12f6b5?_0x12f6b5==null||_0x12f6b5[_0x2cd08c(0x26a)]()['then'](()=>this[_0x2cd08c(0x173)]()):(this['_logService'][_0x2cd08c(0x278)](_0x2cd08c(0x286),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x2cd08c(0x173)]());}async[_0x4db1c3(0x173)](){const _0x53f9b8=_0x4db1c3,_0x3bd363=this[_0x53f9b8(0x151)][_0x53f9b8(0x2a7)](_0x53f9b8(0x148)),_0x33d769=this[_0x53f9b8(0x151)]['getParam'](_0x53f9b8(0x14c)),_0x2939d8=this['_urlService']['getParam'](_0x53f9b8(0x1db));if(!_0x3bd363||!_0x33d769){this['_logService'][_0x53f9b8(0x278)](_0x53f9b8(0x286),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x49e71a=await this[_0x53f9b8(0x346)]['loadUnit'](_0x3bd363,Number(_0x33d769),_0x2939d8);_0x49e71a&&_0x49e71a instanceof _0x58b3ad[_0x53f9b8(0x3b7)]&&this[_0x53f9b8(0x1d0)](_0x49e71a);}async[_0x4db1c3(0x1d0)](_0x43d75a){const _0x1a6a67=_0x4db1c3;await this[_0x1a6a67(0x232)](_0x43d75a),_0x43d75a[_0x1a6a67(0x32a)]['pipe'](_0x6dabd3[_0x1a6a67(0x2e7)](this[_0x1a6a67(0x125)]))[_0x1a6a67(0x39d)](_0x111de8=>{const _0x1cde03=_0x1a6a67;_0x111de8&&this[_0x1cde03(0x28d)](_0x111de8);}),this[_0x1a6a67(0x151)]['urlChange$'][_0x1a6a67(0x349)](_0x6dabd3[_0x1a6a67(0x2e7)](this['dispose$']))[_0x1a6a67(0x39d)](()=>this['_updateSubUnitFromURLParams'](_0x43d75a));}[_0x4db1c3(0x28d)](_0x2d558e,_0x453409=!0x1){const _0x50cd25=_0x4db1c3,_0x39fbcd=this[_0x50cd25(0x151)][_0x50cd25(0x2a7)]('subunit');_0x2d558e[_0x50cd25(0x299)]()!==_0x39fbcd&&this[_0x50cd25(0x151)][_0x50cd25(0x26e)](_0x50cd25(0x1db),_0x2d558e[_0x50cd25(0x299)](),_0x453409);}async[_0x4db1c3(0x232)](_0x231093){const _0x33a494=_0x4db1c3;var _0x3e11e8;const _0x9b12b3=this[_0x33a494(0x151)][_0x33a494(0x2a7)](_0x33a494(0x1db));if(!_0x9b12b3||!_0x231093[_0x33a494(0x121)](_0x9b12b3)){const _0x2ed9c5=_0x231093[_0x33a494(0x21e)]()[0x0],_0x51a941=_0x231093[_0x33a494(0x121)](_0x2ed9c5);if(!_0x51a941)return;this[_0x33a494(0x28d)](_0x51a941,!0x0),await this[_0x33a494(0x353)][_0x33a494(0x313)](_0x3a3c4e[_0x33a494(0x261)]['id'],{'unitId':_0x231093[_0x33a494(0x238)](),'subUnitId':_0x2ed9c5});return;}((_0x3e11e8=_0x231093['getActiveSheet']())==null?void 0x0:_0x3e11e8[_0x33a494(0x299)]())!==_0x9b12b3&&await this[_0x33a494(0x353)]['executeCommand'](_0x3a3c4e[_0x33a494(0x261)]['id'],{'unitId':_0x231093['getUnitId'](),'subUnitId':_0x9b12b3});}},_0x58baf5['CollaborationDataLoaderController']=_0x2be001([_0xa8e7dd(0x0,_0x5b0fb3),_0xa8e7dd(0x1,_0x58b3ad[_0x4db1c3(0x128)]),_0xa8e7dd(0x2,_0x58b3ad[_0x4db1c3(0x1c8)]),_0xa8e7dd(0x3,_0x58b3ad['Inject'](_0x2023db[_0x4db1c3(0x18d)])),_0xa8e7dd(0x4,_0x58b3ad['Optional'](_0x47f72b[_0x4db1c3(0x290)]))],_0x58baf5[_0x4db1c3(0x14a)]);var _0x2c8170=Object[_0x4db1c3(0x2ff)],_0x56c37d=(_0x18a7d8,_0x11216d,_0x21adf9,_0x59cf71)=>{const _0x29cc00=_0x4db1c3;for(var _0x24ede6=_0x59cf71>0x1?void 0x0:_0x59cf71?_0x2c8170(_0x11216d,_0x21adf9):_0x11216d,_0x1e805b=_0x18a7d8[_0x29cc00(0x1d3)]-0x1,_0x3e1e16;_0x1e805b>=0x0;_0x1e805b--)(_0x3e1e16=_0x18a7d8[_0x1e805b])&&(_0x24ede6=_0x3e1e16(_0x24ede6)||_0x24ede6);return _0x24ede6;},_0x110b40=(_0x38bbb5,_0x70306a)=>(_0x28c180,_0x48378f)=>_0x70306a(_0x28c180,_0x48378f,_0x38bbb5);let _0x1bcd8a=class{constructor(_0x338313,_0x275988,_0x4681cf){const _0x4776b4=_0x4db1c3;this[_0x4776b4(0x25e)]=_0x338313,this[_0x4776b4(0x372)]=_0x275988,this['_renderManagerService']=_0x4681cf;}[_0x4db1c3(0x153)](_0x1cd518){const _0x787146=_0x4db1c3;this['_transformUndoRedoStack'](_0x1cd518),this[_0x787146(0x311)](_0x1cd518);}[_0x4db1c3(0x16d)](_0x55484e){const _0x1c7aa0=_0x4db1c3,{unitID:_0x2106c7}=_0x55484e,_0x405176=this['_renderManagerService']['getRenderById'](_0x2106c7)[_0x1c7aa0(0x172)](_0x2e0d09[_0x1c7aa0(0x227)]),{redoCache:_0x400320}=_0x405176[_0x1c7aa0(0x2e9)]();if(_0x400320[_0x1c7aa0(0x1d3)]===0x0)return _0x55484e;let _0x293089=_0x58b3ad[_0x1c7aa0(0x13e)]['deepClone'](_0x55484e['mutations'][0x0]);for(let _0x7c915f=0x0;_0x7c915f<_0x400320[_0x1c7aa0(0x1d3)];_0x7c915f++){const _0x2cab7c={'id':_0x1c7aa0(0x2c9),'params':{..._0x400320[_0x7c915f]}},_0x10f6e9=this['_transformService'][_0x1c7aa0(0x22c)](_0x293089,_0x2cab7c,!0x1);if(_0x44c456[_0x1c7aa0(0x3b9)](_0x10f6e9))throw _0x10f6e9[_0x1c7aa0(0x1f2)];_0x293089=_0x10f6e9[_0x1c7aa0(0x1d9)];}return{..._0x58b3ad[_0x1c7aa0(0x13e)]['deepClone'](_0x55484e),'mutations':[_0x293089]};}[_0x4db1c3(0x370)](_0x37bbfe){const _0x400fa7=_0x4db1c3,{unitID:_0x3084ef}=_0x37bbfe,_0x1ea9ec=this[_0x400fa7(0x32f)][_0x400fa7(0x323)](_0x3084ef)[_0x400fa7(0x172)](_0x2e0d09[_0x400fa7(0x227)]),{undoCache:_0x22b07b,redoCache:_0x43df68}=_0x1ea9ec[_0x400fa7(0x2e9)]();if(_0x22b07b['length']===0x0||_0x43df68[_0x400fa7(0x1d3)]===0x0)return;const _0x37728a=[],_0x21ebf6=[];let _0x16eab8=_0x58b3ad[_0x400fa7(0x13e)][_0x400fa7(0x1e9)](_0x37bbfe[_0x400fa7(0x1eb)][0x0]),_0x22327f=_0x58b3ad[_0x400fa7(0x13e)][_0x400fa7(0x1e9)](_0x37bbfe[_0x400fa7(0x1eb)][0x0]);for(let _0x45d2e2=_0x22b07b['length']-0x1;_0x45d2e2>=0x0;_0x45d2e2--){const _0x278e1a={'id':_0x400fa7(0x2c9),'params':{..._0x22b07b[_0x45d2e2]}},_0x4ebdb9={'id':_0x400fa7(0x2c9),'params':{..._0x43df68[_0x45d2e2]}},_0x3712a3=this['_transformService']['transformMutation'](_0x16eab8,_0x278e1a,!0x1),_0x4c322c=this[_0x400fa7(0x372)][_0x400fa7(0x22c)](_0x22327f,_0x4ebdb9,!0x1);if(_0x44c456[_0x400fa7(0x3b9)](_0x3712a3))throw _0x3712a3[_0x400fa7(0x1f2)];if(_0x44c456[_0x400fa7(0x3b9)](_0x4c322c))throw _0x4c322c['error'];_0x37728a[_0x400fa7(0x13f)](_0x3712a3[_0x400fa7(0x17c)][_0x400fa7(0x190)]),_0x21ebf6[_0x400fa7(0x13f)](_0x4c322c[_0x400fa7(0x17c)]['params']),_0x16eab8=_0x3712a3[_0x400fa7(0x1d9)],_0x22327f=_0x4c322c['m1Prime'];}_0x1ea9ec[_0x400fa7(0x246)]({'undoCache':_0x37728a,'redoCache':_0x21ebf6});}[_0x4db1c3(0x311)](_0x4a0078){const _0x591741=_0x4db1c3,{unitID:_0x57904e}=_0x4a0078,_0x1ccc2b=this[_0x591741(0x32f)][_0x591741(0x323)](_0x57904e)[_0x591741(0x172)](_0x2e0d09['DocIMEInputManagerService']),_0x3c376f=_0x1ccc2b[_0x591741(0x315)]();if(_0x3c376f==null)return;const _0x559f06=[{'id':_0x591741(0x2c9),'params':{'unitId':_0x4a0078['unitID'],'actions':null,'textRanges':[_0x3c376f]}}],_0xbcfef5=this[_0x591741(0x372)][_0x591741(0x114)](_0x4a0078,_0x559f06);if(!_0x44c456[_0x591741(0x2ae)](_0xbcfef5))throw _0xbcfef5[_0x591741(0x1f2)];const _0x410ae0=_0xbcfef5[_0x591741(0x17c)][0x0]['params'][_0x591741(0x31f)];Array['isArray'](_0x410ae0)&&_0x410ae0[_0x591741(0x1d3)]&&_0x1ccc2b[_0x591741(0x218)](_0x410ae0[0x0]);}};_0x1bcd8a=_0x56c37d([_0x110b40(0x0,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x35f)])),_0x110b40(0x1,_0x44c456[_0x4db1c3(0x28b)]),_0x110b40(0x2,_0x839618[_0x4db1c3(0x3a3)])],_0x1bcd8a);var _0x3bdbf3=Object[_0x4db1c3(0x2ff)],_0x49a90f=(_0x2c5e50,_0x35a730,_0x28cf57,_0x1b37c3)=>{const _0x784969=_0x4db1c3;for(var _0x20d384=_0x1b37c3>0x1?void 0x0:_0x1b37c3?_0x3bdbf3(_0x35a730,_0x28cf57):_0x35a730,_0x231b36=_0x2c5e50[_0x784969(0x1d3)]-0x1,_0x421ceb;_0x231b36>=0x0;_0x231b36--)(_0x421ceb=_0x2c5e50[_0x231b36])&&(_0x20d384=_0x421ceb(_0x20d384)||_0x20d384);return _0x20d384;},_0x4ff1fa=(_0x5b7132,_0x53acb1)=>(_0x382dd7,_0x3074e4)=>_0x53acb1(_0x382dd7,_0x3074e4,_0x5b7132);let _0x25f93b=class{constructor(_0x3f3058,_0x482557,_0x378f7b){this['_injector']=_0x3f3058,this['_transformService']=_0x482557,this['_docStateChangeManagerService']=_0x378f7b;}[_0x4db1c3(0x21f)](_0xf5488c){const _0x2c5f90=_0x4db1c3;this[_0x2c5f90(0x2cd)](_0xf5488c);}[_0x4db1c3(0x16d)](_0x331b19){const _0x30ea84=_0x4db1c3,{unitID:_0x49ad87}=_0x331b19,{collaboration:_0x21a7c3}=this['_docStateChangeManagerService'][_0x30ea84(0x330)](_0x49ad87);if(_0x21a7c3[_0x30ea84(0x1d3)]===0x0)return _0x331b19;let _0x373ec7=_0x58b3ad[_0x30ea84(0x13e)][_0x30ea84(0x1e9)](_0x331b19[_0x30ea84(0x1eb)][0x0]);for(let _0x5864be=0x0;_0x5864be<_0x21a7c3[_0x30ea84(0x1d3)];_0x5864be++){const _0x4aa5cb={'id':_0x30ea84(0x2c9),'params':{'unitId':_0x21a7c3[_0x5864be][_0x30ea84(0x187)],..._0x21a7c3[_0x5864be][_0x30ea84(0x1d6)]}},_0x598051=this[_0x30ea84(0x372)][_0x30ea84(0x22c)](_0x373ec7,_0x4aa5cb,!0x1);if(_0x44c456[_0x30ea84(0x3b9)](_0x598051))throw _0x598051[_0x30ea84(0x1f2)];_0x373ec7=_0x598051['m1Prime'];}return{..._0x58b3ad['Tools']['deepClone'](_0x331b19),'mutations':[_0x373ec7]};}[_0x4db1c3(0x2cd)](_0x5bb51d){const _0x3e49c4=_0x4db1c3,{unitID:_0x2cb8e7}=_0x5bb51d,{history:_0x53f617,collaboration:_0x3d7ab7}=this[_0x3e49c4(0x11d)]['getStateCache'](_0x2cb8e7);if(_0x53f617[_0x3e49c4(0x1d3)]===0x0&&_0x3d7ab7['length']===0x0)return;const _0x5c3329=[],_0x9bed07=[];let _0x1afb20=_0x58b3ad['Tools'][_0x3e49c4(0x1e9)](_0x5bb51d[_0x3e49c4(0x1eb)][0x0]),_0x4ffb9b=_0x58b3ad[_0x3e49c4(0x13e)]['deepClone'](_0x5bb51d[_0x3e49c4(0x1eb)][0x0]);for(let _0x23c657=_0x53f617[_0x3e49c4(0x1d3)]-0x1;_0x23c657>=0x0;_0x23c657--){const _0x18fc02={'id':_0x3e49c4(0x2c9),'params':{'unitId':_0x53f617[_0x23c657]['unitId'],..._0x53f617[_0x23c657][_0x3e49c4(0x162)]}},_0x239240={'id':_0x3e49c4(0x2c9),'params':{'unitId':_0x53f617[_0x23c657][_0x3e49c4(0x187)],..._0x53f617[_0x23c657][_0x3e49c4(0x1d6)]}},_0x53e69b=this['_transformService'][_0x3e49c4(0x22c)](_0x1afb20,_0x18fc02,!0x1),_0x3fcf50=this[_0x3e49c4(0x372)][_0x3e49c4(0x22c)](_0x4ffb9b,_0x239240,!0x1);if(_0x44c456['isTransformMutationFailure'](_0x53e69b))throw _0x53e69b[_0x3e49c4(0x1f2)];if(_0x44c456[_0x3e49c4(0x3b9)](_0x3fcf50))throw _0x3fcf50['error'];_0x5c3329['unshift']({..._0x53f617[_0x23c657],'undoState':_0x53e69b['m2Prime'][_0x3e49c4(0x190)],'redoState':_0x3fcf50[_0x3e49c4(0x17c)]['params']}),_0x1afb20=_0x53e69b[_0x3e49c4(0x1d9)],_0x4ffb9b=_0x3fcf50[_0x3e49c4(0x1d9)];}_0x1afb20=_0x58b3ad[_0x3e49c4(0x13e)][_0x3e49c4(0x1e9)](_0x5bb51d[_0x3e49c4(0x1eb)][0x0]),_0x4ffb9b=_0x58b3ad[_0x3e49c4(0x13e)][_0x3e49c4(0x1e9)](_0x5bb51d[_0x3e49c4(0x1eb)][0x0]);for(let _0x5795c1=_0x3d7ab7[_0x3e49c4(0x1d3)]-0x1;_0x5795c1>=0x0;_0x5795c1--){const _0x4d0265={'id':_0x3e49c4(0x2c9),'params':{'unitId':_0x3d7ab7[_0x5795c1][_0x3e49c4(0x187)],..._0x3d7ab7[_0x5795c1][_0x3e49c4(0x162)]}},_0x35852f={'id':_0x3e49c4(0x2c9),'params':{'unitId':_0x3d7ab7[_0x5795c1][_0x3e49c4(0x187)],..._0x3d7ab7[_0x5795c1][_0x3e49c4(0x1d6)]}},_0x1058a9=this['_transformService'][_0x3e49c4(0x22c)](_0x1afb20,_0x4d0265,!0x1),_0x2c9c49=this[_0x3e49c4(0x372)]['transformMutation'](_0x4ffb9b,_0x35852f,!0x1);if(_0x44c456['isTransformMutationFailure'](_0x1058a9))throw _0x1058a9[_0x3e49c4(0x1f2)];if(_0x44c456[_0x3e49c4(0x3b9)](_0x2c9c49))throw _0x2c9c49['error'];_0x9bed07['unshift']({..._0x3d7ab7[_0x5795c1],'undoState':_0x1058a9['m2Prime'][_0x3e49c4(0x190)],'redoState':_0x2c9c49['m2Prime']['params']}),_0x1afb20=_0x1058a9[_0x3e49c4(0x1d9)],_0x4ffb9b=_0x2c9c49[_0x3e49c4(0x1d9)];}this[_0x3e49c4(0x11d)]['setStateCache'](_0x2cb8e7,{'history':_0x5c3329,'collaboration':_0x9bed07});}};_0x25f93b=_0x49a90f([_0x4ff1fa(0x0,_0x58b3ad['Inject'](_0x58b3ad[_0x4db1c3(0x35f)])),_0x4ff1fa(0x1,_0x44c456['ITransformService']),_0x4ff1fa(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x2e0d09[_0x4db1c3(0x365)]))],_0x25f93b);var _0x1d900c=Object['getOwnPropertyDescriptor'],_0x140f59=(_0x11ba02,_0x29fb68,_0x2780c9,_0x2554c6)=>{const _0x40f100=_0x4db1c3;for(var _0x4abe35=_0x2554c6>0x1?void 0x0:_0x2554c6?_0x1d900c(_0x29fb68,_0x2780c9):_0x29fb68,_0xb4d78c=_0x11ba02[_0x40f100(0x1d3)]-0x1,_0x4e2627;_0xb4d78c>=0x0;_0xb4d78c--)(_0x4e2627=_0x11ba02[_0xb4d78c])&&(_0x4abe35=_0x4e2627(_0x4abe35)||_0x4abe35);return _0x4abe35;},_0x58703e=(_0x3969f3,_0x3cb846)=>(_0x44c5f9,_0xb2f465)=>_0x3cb846(_0x44c5f9,_0xb2f465,_0x3969f3);let _0xfa4a5c=class{constructor(_0x1ca8ce,_0x391bdb){const _0x2c8ca3=_0x4db1c3;this[_0x2c8ca3(0x25e)]=_0x1ca8ce,this[_0x2c8ca3(0x372)]=_0x391bdb;}[_0x4db1c3(0x2e3)](_0x3769ff){const _0x4881c6=_0x4db1c3;var _0x1b5f51;const _0x1b2135=this['_injector']['get'](_0x54ca13[_0x4881c6(0x1cf)]),_0xef81d2=(_0x1b5f51=_0x1b2135['getDocRanges']())!=null?_0x1b5f51:[];if(_0xef81d2[_0x4881c6(0x1d3)]===0x0)return;const _0x21a8ea=_0x3769ff[_0x4881c6(0x38e)],_0x3bc13f=[{'id':_0x4881c6(0x2c9),'params':{'unitId':_0x21a8ea,'actions':null,'textRanges':_0xef81d2}}],_0x3caeac=this[_0x4881c6(0x372)][_0x4881c6(0x114)](_0x3769ff,_0x3bc13f);if(!_0x44c456[_0x4881c6(0x2ae)](_0x3caeac))throw _0x3caeac['error'];const _0x4d901f=_0x3caeac[_0x4881c6(0x17c)][0x0][_0x4881c6(0x190)][_0x4881c6(0x31f)];Array[_0x4881c6(0x1fc)](_0x4d901f)&&_0x4d901f['length']&&_0x1b2135['replaceDocRanges'](_0x4d901f,{'unitId':_0x21a8ea,'subUnitId':_0x21a8ea},!0x1);}};_0xfa4a5c=_0x140f59([_0x58703e(0x0,_0x58b3ad['Inject'](_0x58b3ad['Injector'])),_0x58703e(0x1,_0x44c456['ITransformService'])],_0xfa4a5c);var _0x545744=Object[_0x4db1c3(0x2ff)],_0x405458=(_0x2aca30,_0x366182,_0xcedbf3,_0x3212af)=>{const _0x3f1464=_0x4db1c3;for(var _0x45e9f5=_0x3212af>0x1?void 0x0:_0x3212af?_0x545744(_0x366182,_0xcedbf3):_0x366182,_0x34f869=_0x2aca30[_0x3f1464(0x1d3)]-0x1,_0x52b2d2;_0x34f869>=0x0;_0x34f869--)(_0x52b2d2=_0x2aca30[_0x34f869])&&(_0x45e9f5=_0x52b2d2(_0x45e9f5)||_0x45e9f5);return _0x45e9f5;},_0x1415b1=(_0x2d7931,_0x2dde6e)=>(_0x21124d,_0x1b4a8a)=>_0x2dde6e(_0x21124d,_0x1b4a8a,_0x2d7931);let _0x5a7032=class extends _0x58b3ad['Disposable']{constructor(_0xdfdc59,_0x272439,_0x4ee4da,_0xd9b6b9,_0x4388c7,_0x1216ec,_0x241984,_0x401f40){const _0x22b08a=_0x4db1c3;super(),_0x1fc77e(this,_0x22b08a(0x254),new _0x6dabd3[(_0x22b08a(0x25f))](_0x2023db['CollaborationStatus']['NOT_COLLAB'])),(this[_0x22b08a(0x11d)]=_0xdfdc59,this['_collaborationController']=_0x272439,this[_0x22b08a(0x180)]=_0x4ee4da,this[_0x22b08a(0x26d)]=_0xd9b6b9,this[_0x22b08a(0x306)]=_0x4388c7,this[_0x22b08a(0x12c)]=_0x1216ec,this[_0x22b08a(0x394)]=_0x241984,this['_localeService']=_0x401f40,this[_0x22b08a(0x368)]());}[_0x4db1c3(0x368)](){const _0x573acf=_0x4db1c3;this[_0x573acf(0x212)](this['_collaborationController'][_0x573acf(0x141)][_0x573acf(0x39d)](_0x106b73=>{const _0x3f2c26=_0x573acf,_0x1371d6=this[_0x3f2c26(0x11d)]['docStateChange$'][_0x3f2c26(0x39d)](_0xe15a22=>{const _0x404bdb=_0x3f2c26;if(_0xe15a22==null)return;const {unitId:_0x39e43c,redoState:_0x25b3fc,commandId:_0x51e238}=_0xe15a22;if(_0x39e43c!==_0x106b73['unitID'])return;const _0x182417={'id':_0x51e238,'type':_0x58b3ad['CommandType'][_0x404bdb(0x21b)],'params':{'unitId':_0x39e43c,'actions':_0x25b3fc[_0x404bdb(0x321)],'textRanges':null}};_0x106b73[_0x404bdb(0x179)](_0x182417);});if(_0x106b73['disposeWithMe'](_0x1371d6),_0x106b73 instanceof _0x2023db[_0x3f2c26(0x1c6)]){const _0x3d56a2={'onTransformIME':_0x123a9d=>this[_0x3f2c26(0x180)][_0x3f2c26(0x153)](_0x123a9d),'onTransformState':_0x45c646=>this[_0x3f2c26(0x26d)][_0x3f2c26(0x21f)](_0x45c646),'onTransformSelections':_0x51890b=>this[_0x3f2c26(0x306)][_0x3f2c26(0x2e3)](_0x51890b),'onSyncEditingCollabCursor':_0x28bc14=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x28bc14),'onTransformRemoteChangesetByIMECache':_0x455ea0=>this[_0x3f2c26(0x180)][_0x3f2c26(0x16d)](_0x455ea0),'onTransformRemoteChangesetByStateCache':_0x575074=>this[_0x3f2c26(0x26d)]['transformRemoteChangeset'](_0x575074)};_0x106b73['addHandlerCallback'](_0x3d56a2);}}));}};_0x5a7032=_0x405458([_0x1415b1(0x0,_0x58b3ad[_0x4db1c3(0x257)](_0x2e0d09['DocStateChangeManagerService'])),_0x1415b1(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db[_0x4db1c3(0x2f3)])),_0x1415b1(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x1bcd8a)),_0x1415b1(0x3,_0x58b3ad[_0x4db1c3(0x257)](_0x25f93b)),_0x1415b1(0x4,_0x58b3ad[_0x4db1c3(0x257)](_0xfa4a5c)),_0x1415b1(0x5,_0x58b3ad[_0x4db1c3(0x257)](_0x5ba099)),_0x1415b1(0x6,_0x1a2ea0[_0x4db1c3(0x239)]),_0x1415b1(0x7,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x1ad)]))],_0x5a7032);var _0x4ca036=Object[_0x4db1c3(0x2ff)],_0xc66d06=(_0x32afce,_0xe04f0b,_0x25e4d4,_0x402ead)=>{const _0x1b97cb=_0x4db1c3;for(var _0xb6a961=_0x402ead>0x1?void 0x0:_0x402ead?_0x4ca036(_0xe04f0b,_0x25e4d4):_0xe04f0b,_0x40ea70=_0x32afce[_0x1b97cb(0x1d3)]-0x1,_0x33f75e;_0x40ea70>=0x0;_0x40ea70--)(_0x33f75e=_0x32afce[_0x40ea70])&&(_0xb6a961=_0x33f75e(_0xb6a961)||_0xb6a961);return _0xb6a961;},_0x1390ba=(_0x25ac3b,_0x3b391a)=>(_0x5caa35,_0x5e1979)=>_0x3b391a(_0x5caa35,_0x5e1979,_0x25ac3b);let _0x1e2bc7=class extends _0x58b3ad[_0x4db1c3(0x33d)]{constructor(_0x290cad,_0x4d5960,_0x3e0175){const _0x45f761=_0x4db1c3;super(),_0x1fc77e(this,'_cachedData',new Map()),_0x1fc77e(this,_0x45f761(0x24f),new Map()),_0x1fc77e(this,'_disabled',!0x1),(this['_configService']=_0x290cad,this[_0x45f761(0x312)]=_0x4d5960,this[_0x45f761(0x155)]=_0x3e0175);}['disableLocalCache'](){const _0x501287=_0x4db1c3;this[_0x501287(0x3a7)]=!0x0;}[_0x4db1c3(0x1f9)](){const _0x394a9a=_0x4db1c3;this[_0x394a9a(0x3a7)]=!0x1;}get[_0x4db1c3(0x24a)](){const _0x4ee889=_0x4db1c3;return this[_0x4ee889(0x24f)];}[_0x4db1c3(0x1c3)](){const _0x353fb2=_0x4db1c3;this[_0x353fb2(0x145)]()['then'](()=>super[_0x353fb2(0x1c3)]());}async[_0x4db1c3(0x37a)](_0x5d3464){const _0x9bb75d=_0x4db1c3;return this[_0x9bb75d(0x3a7)]?null:this[_0x9bb75d(0x312)][_0x9bb75d(0x331)](_0x2023db[_0x9bb75d(0x203)](_0x5d3464));}async[_0x4db1c3(0x241)](_0x1c7abd,_0x31abdc){const _0x553b81=_0x4db1c3;return!!this[_0x553b81(0x312)][_0x553b81(0x171)](_0x1c7abd,_0x31abdc);}[_0x4db1c3(0x35d)](_0x1df0b1,_0x262871,_0x5e6afc,_0x285574){const _0xe61e61=_0x4db1c3,_0x4b297a=this['_revisionService']['getCurrentRevOfUnit'](_0x1df0b1);this[_0xe61e61(0x363)][_0xe61e61(0x3b3)](_0x1df0b1,{'unitID':_0x1df0b1,'type':_0x262871,'awaitingChangeset':_0x5e6afc,'mutations':_0x285574,'rev':_0x4b297a}),this[_0xe61e61(0x24f)][_0xe61e61(0x35a)](_0x1df0b1)||this[_0xe61e61(0x135)](_0x1df0b1);}[_0x4db1c3(0x135)](_0x148e35){const _0xd12841=_0x4db1c3,_0x8606e5=this[_0xd12841(0x169)]();_0x8606e5===0x0?this[_0xd12841(0x247)](_0x148e35):this[_0xd12841(0x24f)][_0xd12841(0x3b3)](_0x148e35,setTimeout(()=>this[_0xd12841(0x247)](_0x148e35),_0x8606e5));}['_getSaveTimeout'](){const _0x3a5c23=_0x4db1c3;var _0xbb194c;return(_0xbb194c=this[_0x3a5c23(0x147)]['getConfig'](_0x2023db['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0xbb194c:_0x2023db[_0x3a5c23(0x2f0)];}['_saveCache'](_0x39e911){const _0x1c8d30=_0x4db1c3,_0x504a93=this[_0x1c8d30(0x24f)][_0x1c8d30(0x2c5)](_0x39e911);return _0x504a93!==void 0x0&&window[_0x1c8d30(0x3a5)](_0x504a93),this[_0x1c8d30(0x312)][_0x1c8d30(0x171)](_0x2023db['getLocalCacheKey'](_0x39e911),this[_0x1c8d30(0x363)][_0x1c8d30(0x2c5)](_0x39e911))[_0x1c8d30(0x2d5)](()=>this[_0x1c8d30(0x24f)][_0x1c8d30(0x309)](_0x39e911));}async[_0x4db1c3(0x145)](){const _0x574ce7=_0x4db1c3,_0x824e8b=[];this[_0x574ce7(0x24f)][_0x574ce7(0x341)]((_0x5b5688,_0x432d59)=>{const _0x185d86=_0x574ce7;window[_0x185d86(0x3a5)](_0x5b5688),_0x824e8b[_0x185d86(0x395)](this['_saveCache'](_0x432d59)[_0x185d86(0x2d5)](()=>{const _0x7d5abc=_0x185d86;this[_0x7d5abc(0x24f)][_0x7d5abc(0x309)](_0x432d59);}));}),await Promise[_0x574ce7(0x357)](_0x824e8b);}};_0x1e2bc7=_0xc66d06([_0x1390ba(0x0,_0x58b3ad['IConfigService']),_0x1390ba(0x1,_0x58b3ad['ILocalStorageService']),_0x1390ba(0x2,_0x58b3ad['Inject'](_0x44c456[_0x4db1c3(0x11c)]))],_0x1e2bc7);class _0x253271 extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(){const _0x528f47=_0x4db1c3;super(),_0x1fc77e(this,_0x528f47(0x1a1)),this[_0x528f47(0x1a1)]=_0x6dabd3[_0x528f47(0x27b)](window,_0x528f47(0x354))[_0x528f47(0x349)](_0x6dabd3[_0x528f47(0x2e7)](this[_0x528f47(0x125)]),_0x6dabd3[_0x528f47(0x292)](0x1),_0x6dabd3[_0x528f47(0x2a3)](void 0x0));}[_0x4db1c3(0x26e)](_0x49f110,_0x3f7357,_0x297029=!0x1){const _0x264713=_0x4db1c3,_0x446bfa=new URL(window[_0x264713(0x26f)]['href']);_0x446bfa['searchParams'][_0x264713(0x3b3)](_0x49f110,_0x3f7357),_0x297029?window['history'][_0x264713(0x2ab)]('','',_0x446bfa[_0x264713(0x185)]()):window['history'][_0x264713(0x2cc)]('','',_0x446bfa[_0x264713(0x185)]());}[_0x4db1c3(0x2f6)](_0x5410fe,_0x3ee81f=!0x1){const _0x15ef3c=_0x4db1c3,_0x4a9fef=new URL(window[_0x15ef3c(0x26f)][_0x15ef3c(0x1d5)]);_0x4a9fef['searchParams'][_0x15ef3c(0x309)](_0x5410fe),_0x3ee81f?window[_0x15ef3c(0x1b8)]['replaceState']('','',_0x4a9fef['toString']()):window[_0x15ef3c(0x1b8)][_0x15ef3c(0x2cc)]('','',_0x4a9fef[_0x15ef3c(0x185)]());}[_0x4db1c3(0x2a7)](_0x44b334){const _0x3d7d89=_0x4db1c3;var _0x211876;return(_0x211876=new URL(window['location'][_0x3d7d89(0x1d5)])[_0x3d7d89(0x2ac)][_0x3d7d89(0x2c5)](_0x44b334))!=null?_0x211876:void 0x0;}}var _0x23fbaf=Object[_0x4db1c3(0x18c)],_0xacffd6=Object[_0x4db1c3(0x2ff)],_0x3eb885=(_0xb3ce3,_0x24fd2f,_0x10ce97)=>_0x24fd2f in _0xb3ce3?_0x23fbaf(_0xb3ce3,_0x24fd2f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10ce97}):_0xb3ce3[_0x24fd2f]=_0x10ce97,_0x321123=(_0x216465,_0x1272f4,_0x571938,_0x144bf5)=>{const _0x31d5c4=_0x4db1c3;for(var _0x8a9c54=_0x144bf5>0x1?void 0x0:_0x144bf5?_0xacffd6(_0x1272f4,_0x571938):_0x1272f4,_0x4b3656=_0x216465[_0x31d5c4(0x1d3)]-0x1,_0x43af5d;_0x4b3656>=0x0;_0x4b3656--)(_0x43af5d=_0x216465[_0x4b3656])&&(_0x8a9c54=_0x43af5d(_0x8a9c54)||_0x8a9c54);return _0x8a9c54;},_0x55b6ad=(_0x1106b5,_0x1cefca)=>(_0x41fb29,_0x52d8ea)=>_0x1cefca(_0x41fb29,_0x52d8ea,_0x1106b5),_0xf8aeec=(_0x2ab365,_0x30dca6,_0x49438d)=>_0x3eb885(_0x2ab365,_0x30dca6+'',_0x49438d);const _0x4e8c98='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x58baf5[_0x4db1c3(0x1b2)]=class extends _0x58b3ad[_0x4db1c3(0x34c)]{constructor(_0x3bedc1=_0x5ce969,_0x5cad64,_0x38802f,_0x4f6b5f){const _0x3d115c=_0x4db1c3;super(),this[_0x3d115c(0x3a4)]=_0x3bedc1,this[_0x3d115c(0x32f)]=_0x5cad64,this[_0x3d115c(0x25e)]=_0x38802f,this[_0x3d115c(0x147)]=_0x4f6b5f;const {..._0x587ac0}=_0x58b3ad[_0x3d115c(0x28a)]({},_0x5ce969,this[_0x3d115c(0x3a4)]);this[_0x3d115c(0x147)][_0x3d115c(0x35e)](_0x121401,_0x587ac0);}['onStarting'](){const _0x4efb3b=_0x4db1c3;this[_0x4efb3b(0x137)](),this[_0x4efb3b(0x326)]();}[_0x4db1c3(0x36e)](){const _0xcd3aec=_0x4db1c3;this[_0xcd3aec(0x3b6)]();}[_0x4db1c3(0x137)](){const _0x3b7efa=_0x4db1c3;var _0x51ccc0;const _0x348c19=[[_0x3b2cd0],[_0xfa4a5c],[_0x1bcd8a],[_0x25f93b],[_0x5ba099],[_0x5b0fb3,{'useClass':_0x253271}],[_0x22d557[_0x3b7efa(0x163)],{'useClass':_0x22d557[_0x3b7efa(0x1ba)]}],[_0x2023db['ILocalCacheService'],{'useClass':_0x1e2bc7}],[_0x58baf5['DesktopCollaborationStatusDisplayController']],[_0x5a7032],[_0xf7f3cb],[_0x37f18b],[_0x10030f],[_0x58baf5['CollaborationDataLoaderController']]];_0x58b3ad[_0x3b7efa(0x120)](this['_injector'],_0x58b3ad[_0x3b7efa(0x1ae)](_0x348c19,(_0x51ccc0=this[_0x3b7efa(0x3a4)])==null?void 0x0:_0x51ccc0['override']));}[_0x4db1c3(0x3b6)](){const _0xdf7baf=_0x4db1c3;this[_0xdf7baf(0x212)](this[_0xdf7baf(0x32f)][_0xdf7baf(0x228)](_0x58b3ad[_0xdf7baf(0x382)]['UNIVER_DOC'],[_0x250bc8])),this[_0xdf7baf(0x212)](this[_0xdf7baf(0x32f)][_0xdf7baf(0x228)](_0x58b3ad[_0xdf7baf(0x382)][_0xdf7baf(0x33c)],[_0x82a8ef]));}[_0x4db1c3(0x326)](){const _0x2a3cdb=_0x4db1c3;_0x58b3ad[_0x2a3cdb(0x1df)](this[_0x2a3cdb(0x25e)],[[_0x37f18b],[_0x58baf5[_0x2a3cdb(0x3b4)]],[_0x5a7032],[_0xf7f3cb],[_0x58baf5[_0x2a3cdb(0x14a)]]]);}},_0xf8aeec(_0x58baf5[_0x4db1c3(0x1b2)],'pluginName',_0x4e8c98),_0x58baf5[_0x4db1c3(0x1b2)]=_0x321123([_0x58b3ad['DependentOn'](_0x2023db[_0x4db1c3(0x225)]),_0x55b6ad(0x1,_0x839618[_0x4db1c3(0x3a3)]),_0x55b6ad(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x35f)])),_0x55b6ad(0x3,_0x58b3ad['IConfigService'])],_0x58baf5[_0x4db1c3(0x1b2)]);var _0x28ec92=Object['getOwnPropertyDescriptor'],_0xca9509=(_0x2abcd9,_0x37980e,_0x35521c,_0x4b3ed7)=>{const _0x219842=_0x4db1c3;for(var _0x3baebd=_0x4b3ed7>0x1?void 0x0:_0x4b3ed7?_0x28ec92(_0x37980e,_0x35521c):_0x37980e,_0x31aad7=_0x2abcd9[_0x219842(0x1d3)]-0x1,_0x23fe89;_0x31aad7>=0x0;_0x31aad7--)(_0x23fe89=_0x2abcd9[_0x31aad7])&&(_0x3baebd=_0x23fe89(_0x3baebd)||_0x3baebd);return _0x3baebd;},_0x40a579=(_0x4df6fa,_0x532efd)=>(_0x1a5acc,_0x20b18a)=>_0x532efd(_0x1a5acc,_0x20b18a,_0x4df6fa);_0x58baf5[_0x4db1c3(0x259)]=class extends _0x2023db[_0x4db1c3(0x369)]{constructor(_0x2c48fa,_0x4d57c9,_0x34899e,_0x317705,_0x222ecd){super(_0x2c48fa,_0x4d57c9,_0x34899e,_0x317705,_0x222ecd);}async[_0x4db1c3(0x283)](_0x355bef){const _0x40ef92=_0x4db1c3,_0x2ddaf7=await this[_0x40ef92(0x3b5)](),_0x2263ea=this['_createSocketURL'](_0x355bef,_0x2ddaf7);return this['_doCreateSocket'](_0x2263ea);}[_0x4db1c3(0x2d7)](_0x5ad2cd,_0x18f14a){const _0x217376=_0x4db1c3,_0x21e464=typeof window>'u'?new URL(_0x5ad2cd):new URL(_0x5ad2cd,window[_0x217376(0x26f)][_0x217376(0x39b)]);_0x21e464[_0x217376(0x2ac)][_0x217376(0x3b3)](_0x217376(0x2b0),_0x18f14a);const _0x3ac599=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x3ac599[_0x217376(0x2c5)](_0x217376(0x385))&&_0x21e464[_0x217376(0x2ac)][_0x217376(0x3b3)]('runId',_0x3ac599[_0x217376(0x2c5)](_0x217376(0x385))),_0x21e464[_0x217376(0x185)]();}async[_0x4db1c3(0x3b5)](){const _0x384d13=_0x4db1c3;var _0xf82a5c,_0x38e292,_0x166d96;const _0xc22714=this[_0x384d13(0x147)][_0x384d13(0x16e)](_0x2023db[_0x384d13(0x3b8)]),_0x535e7e=(_0xf82a5c=_0xc22714==null?void 0x0:_0xc22714[_0x384d13(0x3b0)])!=null?_0xf82a5c:_0x2023db[_0x384d13(0x175)];return(_0x166d96=(_0x38e292=(await this[_0x384d13(0x2f5)]['get'](_0x535e7e,{'headers':{'Content-Type':_0x384d13(0x12a)}}))[_0x384d13(0x12e)])==null?void 0x0:_0x38e292[_0x384d13(0x38d)])!=null?_0x166d96:'';}},_0x58baf5[_0x4db1c3(0x259)]=_0xca9509([_0x40a579(0x0,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x35f)])),_0x40a579(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x22d557[_0x4db1c3(0x21a)])),_0x40a579(0x2,_0x58b3ad[_0x4db1c3(0x348)]),_0x40a579(0x3,_0x58b3ad[_0x4db1c3(0x128)]),_0x40a579(0x4,_0x44c456['ISnapshotServerService'])],_0x58baf5[_0x4db1c3(0x259)]);const _0x518857=0x7530,_0x1fdee7=_0x4db1c3(0x2b2);class _0x395c4c extends _0x58b3ad[_0x4db1c3(0x33d)]{constructor(){const _0x24f3b8=_0x4db1c3;super(),_0x1fc77e(this,_0x24f3b8(0x268),_0x58b3ad[_0x24f3b8(0x308)]()),_0x1fc77e(this,'_selfUnitIDs',new Set()),_0x1fc77e(this,_0x24f3b8(0x269),new Map()),_0x1fc77e(this,_0x24f3b8(0x2ed),null),_0x1fc77e(this,_0x24f3b8(0x32d),new Map()),_0x1fc77e(this,'_unitStatus',new Map()),this[_0x24f3b8(0x173)]();}[_0x4db1c3(0x1c3)](){const _0x244041=_0x4db1c3;super['dispose'](),this[_0x244041(0x32d)][_0x244041(0x341)]((_0x4fdd74,_0x2cb42c)=>this[_0x244041(0x2fe)](_0x2cb42c)),this['_heartbeatTimer']&&window[_0x244041(0x271)](this[_0x244041(0x2ed)]);}[_0x4db1c3(0x199)](_0xc3b67d){const _0x413b23=_0x4db1c3;return this[_0x413b23(0x2b8)](_0xc3b67d)[_0x413b23(0x349)](_0x6dabd3['distinctUntilChanged']());}[_0x4db1c3(0x19d)](_0x2722aa){const _0x5777a2=_0x4db1c3;this[_0x5777a2(0x280)][_0x5777a2(0x364)]===0x0&&this[_0x5777a2(0x20e)](),this[_0x5777a2(0x280)][_0x5777a2(0x134)](_0x2722aa),this[_0x5777a2(0x223)]({'type':0x0,'memberID':this[_0x5777a2(0x268)],'unitIDs':[_0x2722aa],'isForwarded':!0x1});}['disposeUnit'](_0x550106){const _0x1b4d98=_0x4db1c3;this[_0x1b4d98(0x280)][_0x1b4d98(0x309)](_0x550106),this[_0x1b4d98(0x280)][_0x1b4d98(0x364)]===0x0&&this['_heartbeatTimer']&&window[_0x1b4d98(0x271)](this[_0x1b4d98(0x2ed)]);}[_0x4db1c3(0x173)](){const _0x1c32b4=_0x4db1c3;this['disposeWithMe'](_0x58b3ad[_0x1c32b4(0x174)](_0x6dabd3['fromEvent'](window,_0x1c32b4(0x1ec))[_0x1c32b4(0x39d)](_0x1042a8=>{const _0x116482=_0x1c32b4;if(_0x1042a8['key']!==_0x1fdee7||!_0x1042a8[_0x116482(0x381)])return;const _0x22babb=JSON[_0x116482(0x146)](_0x1042a8[_0x116482(0x381)]);this[_0x116482(0x361)](_0x22babb);}))),window['addEventListener'](_0x1c32b4(0x19e),()=>this['_send']({'type':0x1,'memberID':this[_0x1c32b4(0x268)],'unitIDs':Array[_0x1c32b4(0x2e0)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x2c5e7e){const _0x8297b8=_0x4db1c3;switch(_0x2c5e7e['type']){case 0x0:this['_handleJoinEvent'](_0x2c5e7e);break;case 0x1:this[_0x8297b8(0x1be)](_0x2c5e7e);break;case 0x2:this[_0x8297b8(0x305)](_0x2c5e7e);break;}}[_0x4db1c3(0x23a)](_0x31e332){const _0x7dc35c=_0x4db1c3,{unitIDs:_0x661f66,memberID:_0x3276e5,isForwarded:_0x21f8c6}=_0x31e332;_0x661f66[_0x7dc35c(0x341)](_0x1b1f6c=>{const _0x582836=_0x7dc35c;if(!_0x21f8c6&&this[_0x582836(0x269)][_0x582836(0x35a)](_0x1b1f6c)&&this[_0x582836(0x2b8)](_0x1b1f6c)[_0x582836(0x23b)](_0x2023db[_0x582836(0x1b7)][_0x582836(0x23d)]),!this[_0x582836(0x269)][_0x582836(0x35a)](_0x1b1f6c)||!this[_0x582836(0x269)]['get'](_0x1b1f6c)[_0x582836(0x35a)](_0x3276e5)){const _0x4691e6=this['_unitOnClients'][_0x582836(0x2c5)](_0x1b1f6c)||new Set();_0x4691e6['add'](_0x3276e5),this[_0x582836(0x269)]['set'](_0x1b1f6c,_0x4691e6),this[_0x582836(0x34f)](_0x3276e5);}}),_0x21f8c6||this[_0x7dc35c(0x223)]({'type':0x0,'memberID':this[_0x7dc35c(0x268)],'unitIDs':[...this[_0x7dc35c(0x280)]],'isForwarded':!0x0});}[_0x4db1c3(0x34f)](_0x5093fe){const _0x32b68f=_0x4db1c3;this[_0x32b68f(0x2fe)](_0x5093fe);const _0x2f8887=window[_0x32b68f(0x116)](()=>{const _0x5041d5=_0x32b68f;this['_unitOnClients'][_0x5041d5(0x341)](_0x23030c=>{const _0x28bbd9=_0x5041d5;_0x23030c[_0x28bbd9(0x309)](_0x5093fe);});},_0x518857*0x2);this[_0x32b68f(0x32d)][_0x32b68f(0x3b3)](_0x5093fe,_0x2f8887);}[_0x4db1c3(0x2fe)](_0x21e13c){const _0x201959=_0x4db1c3;if(this[_0x201959(0x32d)][_0x201959(0x35a)](_0x21e13c)){const _0x136cd9=this[_0x201959(0x32d)][_0x201959(0x2c5)](_0x21e13c);_0x136cd9&&window[_0x201959(0x3a5)](_0x136cd9),this[_0x201959(0x32d)][_0x201959(0x3b3)](_0x21e13c,null);}}[_0x4db1c3(0x1be)](_0x3ed2b6){const _0x253628=_0x4db1c3,{memberID:_0x5a5aa8,unitIDs:_0x55e65d}=_0x3ed2b6;_0x55e65d[_0x253628(0x341)](_0x1be258=>{const _0x3b97cf=_0x253628;var _0x8ae45c;const _0x232daa=this[_0x3b97cf(0x269)][_0x3b97cf(0x2c5)](_0x1be258);_0x232daa&&(_0x232daa[_0x3b97cf(0x309)](_0x5a5aa8),(_0x8ae45c=this[_0x3b97cf(0x2b8)](_0x1be258))==null||_0x8ae45c['next'](_0x232daa[_0x3b97cf(0x364)]===0x0?_0x2023db['UnitStatus'][_0x3b97cf(0x133)]:_0x2023db[_0x3b97cf(0x1b7)][_0x3b97cf(0x23d)]));}),this[_0x253628(0x2fe)](_0x5a5aa8);}[_0x4db1c3(0x305)](_0x49055a){const _0x2ea774=_0x4db1c3;this['_scheduleClearOtherTimer'](_0x49055a[_0x2ea774(0x2f8)]);}['_send'](_0x5a6a44){const _0xd3b650=_0x4db1c3;localStorage[_0xd3b650(0x171)](_0x1fdee7,JSON['stringify'](_0x5a6a44));}[_0x4db1c3(0x20e)](){const _0x5840ca=_0x4db1c3;this[_0x5840ca(0x2ed)]=window[_0x5840ca(0x131)](()=>{const _0x4027ab=_0x5840ca;this[_0x4027ab(0x223)]({'type':0x2,'memberID':this[_0x4027ab(0x268)]});},_0x518857);}['_ensureSubject'](_0x476a54){const _0xa35928=_0x4db1c3;return this[_0xa35928(0x2b5)][_0xa35928(0x35a)](_0x476a54)||this[_0xa35928(0x2b5)][_0xa35928(0x3b3)](_0x476a54,new _0x6dabd3['BehaviorSubject'](_0x2023db[_0xa35928(0x1b7)][_0xa35928(0x133)])),this[_0xa35928(0x2b5)]['get'](_0x476a54);}}var _0x45bb59=(_0x33e952=>(_0x33e952[_0x33e952[_0x4db1c3(0x19c)]=0x0]=_0x4db1c3(0x19c),_0x33e952[_0x33e952['OK']=0x1]='OK',_0x33e952[_0x33e952[_0x4db1c3(0x1fa)]=0x2]=_0x4db1c3(0x1fa),_0x33e952[_0x33e952[_0x4db1c3(0x13b)]=0x3]=_0x4db1c3(0x13b),_0x33e952[_0x33e952['NOT_FOUND']=0x4]='NOT_FOUND',_0x33e952[_0x33e952[_0x4db1c3(0x1d7)]=0x5]='UNAUTHENTICATED',_0x33e952[_0x33e952[_0x4db1c3(0x221)]=0x6]='ALREADY_EXISTS',_0x33e952[_0x33e952[_0x4db1c3(0x31e)]=0x7]=_0x4db1c3(0x31e),_0x33e952[_0x33e952[_0x4db1c3(0x18f)]=0x8]=_0x4db1c3(0x18f),_0x33e952[_0x33e952['COMPLETION_FINISHED']=0x9]=_0x4db1c3(0x177),_0x33e952[_0x33e952['LOGIN_FAILED']=0xa]=_0x4db1c3(0x2aa),_0x33e952[_0x33e952[_0x4db1c3(0x34a)]=0x1389]=_0x4db1c3(0x34a),_0x33e952[_0x33e952[_0x4db1c3(0x288)]=0x1771]=_0x4db1c3(0x288),_0x33e952[_0x33e952['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4db1c3(0x1f6),_0x33e952[_0x33e952['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x33e952[_0x33e952['APPLY_REJECT']=0x1b59]=_0x4db1c3(0x27e),_0x33e952[_0x33e952[_0x4db1c3(0x209)]=0x1b5a]=_0x4db1c3(0x209),_0x33e952[_0x33e952[_0x4db1c3(0x129)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x33e952[_0x33e952[_0x4db1c3(0x1e5)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x33e952[_0x33e952[_0x4db1c3(0x39c)]=0x1b5d]=_0x4db1c3(0x39c),_0x33e952[_0x33e952[_0x4db1c3(0x291)]=0x1f41]=_0x4db1c3(0x291),_0x33e952[_0x33e952[_0x4db1c3(0x376)]=0x2329]=_0x4db1c3(0x376),_0x33e952[_0x33e952['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x33e952[_0x33e952['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4db1c3(0x281),_0x33e952[_0x33e952['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4db1c3(0x1f0),_0x33e952[_0x33e952[_0x4db1c3(0x2ca)]=0x232d]=_0x4db1c3(0x2ca),_0x33e952[_0x33e952['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4db1c3(0x1f8),_0x33e952[_0x33e952[_0x4db1c3(0x294)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x33e952[_0x33e952[_0x4db1c3(0x304)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x33e952[_0x33e952[_0x4db1c3(0x317)]=0x2714]=_0x4db1c3(0x317),_0x33e952[_0x33e952[_0x4db1c3(0x325)]=0x271a]=_0x4db1c3(0x325),_0x33e952[_0x33e952['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x4db1c3(0x324),_0x33e952[_0x33e952[_0x4db1c3(0x1a8)]=0x271c]=_0x4db1c3(0x1a8),_0x33e952[_0x33e952[_0x4db1c3(0x2c0)]=0x271d]=_0x4db1c3(0x2c0),_0x33e952[_0x33e952[_0x4db1c3(0x356)]=0x271e]=_0x4db1c3(0x356),_0x33e952[_0x33e952[_0x4db1c3(0x1c4)]=0x271f]=_0x4db1c3(0x1c4),_0x33e952[_0x33e952[_0x4db1c3(0x1d1)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x33e952[_0x33e952['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4db1c3(0x244),_0x33e952[_0x33e952['INVALID_INVITE_CODE']=0x2ee2]=_0x4db1c3(0x2db),_0x33e952[_0x33e952[_0x4db1c3(0x20b)]=0x2ee3]=_0x4db1c3(0x20b),_0x33e952[_0x33e952['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4db1c3(0x1d2),_0x33e952[_0x33e952[_0x4db1c3(0x1e3)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x33e952[_0x33e952[_0x4db1c3(0x1ac)]=0x32c9]=_0x4db1c3(0x1ac),_0x33e952[_0x33e952[_0x4db1c3(0x2f7)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x33e952[_0x33e952['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4db1c3(0x3ab),_0x33e952[_0x33e952[_0x4db1c3(0x300)]=-0x1]=_0x4db1c3(0x300),_0x33e952))(_0x45bb59||{}),_0x56bcc8=Object['getOwnPropertyDescriptor'],_0xafe619=(_0x423681,_0x257aef,_0x390de4,_0x127fa9)=>{for(var _0x35d9bb=_0x127fa9>0x1?void 0x0:_0x127fa9?_0x56bcc8(_0x257aef,_0x390de4):_0x257aef,_0x444f6d=_0x423681['length']-0x1,_0x3d844c;_0x444f6d>=0x0;_0x444f6d--)(_0x3d844c=_0x423681[_0x444f6d])&&(_0x35d9bb=_0x3d844c(_0x35d9bb)||_0x35d9bb);return _0x35d9bb;},_0x44a1cf=(_0x5a70c5,_0x3c37c3)=>(_0x2ad1cf,_0x111362)=>_0x3c37c3(_0x2ad1cf,_0x111362,_0x5a70c5);_0x58baf5['RemoteUniscriptService']=class extends _0x58b3ad[_0x4db1c3(0x33d)]{constructor(_0x31efdf,_0x431347,_0x579ee8){const _0x4a1947=_0x4db1c3;super(),this[_0x4a1947(0x168)]=_0x31efdf,this['_httpService']=_0x431347,this[_0x4a1947(0x147)]=_0x579ee8;}async[_0x4db1c3(0x21d)](_0x1f7fbd,_0x23a517,_0xf39e70,..._0x5940a0){const _0x52116d=_0x4db1c3;var _0x4009e3,_0xdc5772,_0x17b7f4,_0x5af63c;const _0x2f5c42=this[_0x52116d(0x168)][_0x52116d(0x24d)]();if(!_0x2f5c42)throw new Error(_0x52116d(0x358));const _0x4bc0df=((_0x4009e3=this[_0x52116d(0x147)][_0x52116d(0x16e)](_0x2023db[_0x52116d(0x2b7)]))!=null?_0x4009e3:_0x2023db['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x1f7fbd+'/run/'+_0x23a517,_0x1ba3b9=new URL(window[_0x52116d(0x26f)][_0x52116d(0x1d5)]),_0x42f873={'scriptId':_0x1f7fbd,'runId':(_0xdc5772=_0x1ba3b9[_0x52116d(0x2ac)][_0x52116d(0x2c5)]('runId'))!=null?_0xdc5772:'','function':_0x23a517,'unitId':_0x2f5c42[_0x52116d(0x238)](),'argsOfFunction':JSON[_0x52116d(0x277)](_0x5940a0),'invokeId':(_0x17b7f4=_0xf39e70[_0x52116d(0x327)])!=null?_0x17b7f4:'','executionId':(_0x5af63c=_0xf39e70['executionId'])!=null?_0x5af63c:''};try{const _0x294695=await this[_0x52116d(0x2f5)]['post'](_0x4bc0df,{'body':_0x42f873});return _0x294695[_0x52116d(0x12e)][_0x52116d(0x1f2)]&&_0x294695[_0x52116d(0x12e)][_0x52116d(0x1f2)][_0x52116d(0x3b2)]!==_0x45bb59['OK']?_0x52116d(0x287):_0x294695[_0x52116d(0x12e)][_0x52116d(0x355)];}catch{return _0x52116d(0x287);}}},_0x58baf5[_0x4db1c3(0x1a4)]=_0xafe619([_0x44a1cf(0x0,_0x58b3ad[_0x4db1c3(0x30d)]),_0x44a1cf(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x22d557[_0x4db1c3(0x21a)])),_0x44a1cf(0x2,_0x58b3ad[_0x4db1c3(0x348)])],_0x58baf5['RemoteUniscriptService']),_0x58baf5[_0x4db1c3(0x334)]=_0x478902,_0x58baf5[_0x4db1c3(0x2d2)]=_0x5b0fb3,_0x58baf5[_0x4db1c3(0x200)]=_0x2f939e,_0x58baf5[_0x4db1c3(0x115)]=_0x395c4c,_0x58baf5[_0x4db1c3(0x30c)]=_0x253271,Object[_0x4db1c3(0x18c)](_0x58baf5,Symbol['toStringTag'],{'value':_0x4db1c3(0x275)});}));