@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202505311606 → 0.8.0-nightly.202506011606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x55bd9a,_0x455c6a){const _0x45c697=_0x1ad9,_0x4c704b=_0x55bd9a();while(!![]){try{const _0x2f44d9=-parseInt(_0x45c697(0x250))/0x1*(-parseInt(_0x45c697(0x12b))/0x2)+parseInt(_0x45c697(0x325))/0x3+-parseInt(_0x45c697(0x1dd))/0x4+-parseInt(_0x45c697(0x15b))/0x5*(-parseInt(_0x45c697(0x290))/0x6)+parseInt(_0x45c697(0x2ad))/0x7+parseInt(_0x45c697(0x2a5))/0x8*(-parseInt(_0x45c697(0x328))/0x9)+-parseInt(_0x45c697(0x206))/0xa;if(_0x2f44d9===_0x455c6a)break;else _0x4c704b['push'](_0x4c704b['shift']());}catch(_0x392259){_0x4c704b['push'](_0x4c704b['shift']());}}}(_0x5005,0xd3e96),function(_0x9a3520,_0x149e06){const _0x139e5f=_0x1ad9;typeof exports=='object'&&typeof module<'u'?_0x149e06(exports,require(_0x139e5f(0x150)),require(_0x139e5f(0x194)),require(_0x139e5f(0x287)),require(_0x139e5f(0x348)),require(_0x139e5f(0x210)),require(_0x139e5f(0x1d0)),require(_0x139e5f(0x1b0)),require('@univerjs/docs'),require(_0x139e5f(0x2b9)),require(_0x139e5f(0x1a4)),require(_0x139e5f(0x27e)),require(_0x139e5f(0x16d)),require(_0x139e5f(0x263)),require(_0x139e5f(0x148)),require(_0x139e5f(0x1ba)),require(_0x139e5f(0x20e)),require(_0x139e5f(0x101)),require(_0x139e5f(0x24b))):typeof define==_0x139e5f(0x274)&&define[_0x139e5f(0x351)]?define(['exports',_0x139e5f(0x150),_0x139e5f(0x194),'@univerjs/engine-render',_0x139e5f(0x348),_0x139e5f(0x210),'@univerjs/drawing',_0x139e5f(0x1b0),_0x139e5f(0x1d4),_0x139e5f(0x2b9),'@univerjs/engine-formula',_0x139e5f(0x27e),_0x139e5f(0x16d),_0x139e5f(0x263),_0x139e5f(0x148),_0x139e5f(0x1ba),_0x139e5f(0x20e),_0x139e5f(0x101),_0x139e5f(0x24b)],_0x149e06):(_0x9a3520=typeof globalThis<'u'?globalThis:_0x9a3520||self,_0x149e06(_0x9a3520[_0x139e5f(0x375)]={},_0x9a3520[_0x139e5f(0x2cc)],_0x9a3520['UniverCore'],_0x9a3520['UniverEngineRender'],_0x9a3520[_0x139e5f(0x15f)],_0x9a3520[_0x139e5f(0x33e)],_0x9a3520[_0x139e5f(0xff)],_0x9a3520[_0x139e5f(0x1b0)],_0x9a3520[_0x139e5f(0x26a)],_0x9a3520[_0x139e5f(0x184)],_0x9a3520[_0x139e5f(0x2ea)],_0x9a3520[_0x139e5f(0x2d7)],_0x9a3520[_0x139e5f(0x1b0)][_0x139e5f(0x28d)],_0x9a3520['UniverSheetsUi'],_0x9a3520[_0x139e5f(0x23d)],_0x9a3520[_0x139e5f(0x17f)],_0x9a3520[_0x139e5f(0x2ce)],_0x9a3520['React'],_0x9a3520[_0x139e5f(0x102)]));}(this,function(_0x125b65,_0x5609d2,_0x1b00e8,_0x57a9e5,_0x193158,_0x233100,_0x32aa1e,_0x29d8fd,_0x2f03d7,_0x18f32f,_0x357d2d,_0x413365,_0x2d8369,_0x5bc04a,_0x2e1e51,_0x4d5864,_0x17355c,_0x54241e,_0x5de1d5){'use strict';const _0x48d395=_0x1ad9;var _0x1cc5f9=Object[_0x48d395(0x259)],_0x2e33e3=(_0x5af749,_0x3ff26c,_0x5843e0)=>_0x3ff26c in _0x5af749?_0x1cc5f9(_0x5af749,_0x3ff26c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5843e0}):_0x5af749[_0x3ff26c]=_0x5843e0,_0x5b557d=(_0xba60b4,_0x140373,_0xcba18)=>_0x2e33e3(_0xba60b4,typeof _0x140373!=_0x48d395(0x2e8)?_0x140373+'':_0x140373,_0xcba18),_0x196023=Object[_0x48d395(0x365)],_0x2d9efa=(_0x493475,_0x58745c,_0x5ca6a7,_0x5542f0)=>{const _0x30be02=_0x48d395;for(var _0x338451=_0x5542f0>0x1?void 0x0:_0x5542f0?_0x196023(_0x58745c,_0x5ca6a7):_0x58745c,_0x25f22e=_0x493475[_0x30be02(0x249)]-0x1,_0x136a2b;_0x25f22e>=0x0;_0x25f22e--)(_0x136a2b=_0x493475[_0x25f22e])&&(_0x338451=_0x136a2b(_0x338451)||_0x338451);return _0x338451;},_0x5d920b=(_0x3ebb32,_0xeecbe2)=>(_0x369e1c,_0x4128b2)=>_0xeecbe2(_0x369e1c,_0x4128b2,_0x3ebb32);let _0x66963b=class extends _0x1b00e8['RxDisposable']{constructor(_0x2ec39f,_0x195570){const _0x7d46e=_0x48d395;super(),this[_0x7d46e(0x2bb)]=_0x2ec39f,this[_0x7d46e(0x35e)]=_0x195570,this['_init']();}[_0x48d395(0x257)](){const _0x1424f2=_0x48d395,_0xcf0213=this;this['disposeWithMe'](this[_0x1424f2(0x2bb)][_0x1424f2(0x30f)]({'onBeforePasteImage':async _0x3a7251=>{const _0x54dd98=_0x1424f2,_0x56d1ae=await _0xcf0213[_0x54dd98(0x35e)][_0x54dd98(0x137)](_0x3a7251);return _0x56d1ae?{'source':_0x56d1ae[_0x54dd98(0x36b)],'imageSourceType':_0x56d1ae[_0x54dd98(0x129)]}:null;}}));}};_0x66963b=_0x2d9efa([_0x5d920b(0x0,_0x233100[_0x48d395(0x230)]),_0x5d920b(0x1,_0x32aa1e[_0x48d395(0x1ff)])],_0x66963b);const _0xb43f6d=[_0x48d395(0x2d2),_0x48d395(0x30b),'green.600','red.300',_0x48d395(0x18e),'yellow.400'];class _0x4b69ae extends _0x1b00e8[_0x48d395(0xee)]{constructor(){const _0x18ebef=_0x48d395;super(...arguments),_0x5b557d(this,_0x18ebef(0x255),new Map()),_0x5b557d(this,_0x18ebef(0x105),0x0);}[_0x48d395(0xe7)](_0xeb8e5d){const _0x200b78=_0x48d395;if(this['_assignedColors'][_0x200b78(0x1fd)](_0xeb8e5d))return this[_0x200b78(0x255)][_0x200b78(0x2da)](_0xeb8e5d);const _0x5833d4=_0xb43f6d[this[_0x200b78(0x105)]];return this['_colorIndex']=(this[_0x200b78(0x105)]+0x1)%_0xb43f6d[_0x200b78(0x249)],this[_0x200b78(0x255)][_0x200b78(0x22d)](_0xeb8e5d,_0x5833d4),_0x5833d4;}}function _0x1c96ca(_0x124542){const _0x56d35c=_0x48d395;let _0x1bf909='';for(const _0x155a50 of _0x124542){const {startOffset:_0x5ae2ce,endOffset:_0x545aad,isActive:_0x3dd4fe,rangeType:_0xca4124,segmentId:_0x2ebb74,segmentPage:_0x3b5083}=_0x155a50;_0x1bf909[_0x56d35c(0x249)]&&(_0x1bf909+=','),_0x1bf909+=_0x5ae2ce+':'+_0x545aad+':'+(_0x3dd4fe?'1':'0')+':'+_0xca4124+':'+_0x2ebb74+':'+_0x3b5083;}return _0x1bf909;}function _0x2331b1(_0x4bce6d){const _0x19f6d8=_0x48d395,_0x540ee2=_0x4bce6d[_0x19f6d8(0x267)](','),_0x52b349=[];for(const _0x16cd60 of _0x540ee2){const [_0x476177,_0x34e4c4,_0x331bfc,_0x14c4a4,_0x39ed77,_0x4a22cb]=_0x16cd60[_0x19f6d8(0x267)](':');_0x52b349[_0x19f6d8(0x14f)]({'startOffset':Number(_0x476177),'endOffset':Number(_0x34e4c4),'collapsed':_0x476177===_0x34e4c4,'isActive':_0x331bfc==='1','rangeType':_0x14c4a4===_0x1b00e8['DOC_RANGE_TYPE'][_0x19f6d8(0x224)]?_0x1b00e8['DOC_RANGE_TYPE'][_0x19f6d8(0x224)]:_0x1b00e8[_0x19f6d8(0x1de)][_0x19f6d8(0x134)],'segmentId':typeof _0x39ed77==_0x19f6d8(0x169)?String(_0x39ed77):'','segmentPage':Number(_0x4a22cb!=null?_0x4a22cb:-0x1)});}return _0x52b349[_0x19f6d8(0x36a)](_0x588b46=>_0x588b46[_0x19f6d8(0x1f0)])||(_0x52b349[0x0][_0x19f6d8(0x1f0)]=!0x0),_0x52b349;}class _0x40ff82 extends _0x1b00e8[_0x48d395(0x369)]{constructor(){const _0x254f49=_0x48d395;super(...arguments),_0x5b557d(this,_0x254f49(0x138),new _0x29d8fd[(_0x254f49(0xeb))](null)),_0x5b557d(this,_0x254f49(0x2de),this[_0x254f49(0x138)]['asObservable']());}['syncEditingCollabCursor'](_0x4b489b){const _0x13d0a4=_0x48d395,{unitID:_0x4f68ce,memberID:_0x1b0c4e,textRanges:_0x494a6c}=_0x4b489b,_0x4afc28=_0x1c96ca(_0x494a6c);if(_0x4afc28==='')return;const _0x374fab={'unitID':_0x4f68ce,'memberID':_0x1b0c4e,'selection':_0x4afc28};this['_collabCursorState$'][_0x13d0a4(0x171)](_0x374fab);}}var _0xc3d50b=Object['getOwnPropertyDescriptor'],_0x2da7d2=(_0x29a100,_0x3a1f9f,_0x11aaa2,_0x2fcd1d)=>{const _0x55a27b=_0x48d395;for(var _0x139960=_0x2fcd1d>0x1?void 0x0:_0x2fcd1d?_0xc3d50b(_0x3a1f9f,_0x11aaa2):_0x3a1f9f,_0x32f5fc=_0x29a100[_0x55a27b(0x249)]-0x1,_0x1e3ead;_0x32f5fc>=0x0;_0x32f5fc--)(_0x1e3ead=_0x29a100[_0x32f5fc])&&(_0x139960=_0x1e3ead(_0x139960)||_0x139960);return _0x139960;},_0x52e772=(_0x386a5c,_0x3d003c)=>(_0x4a8337,_0x454850)=>_0x3d003c(_0x4a8337,_0x454850,_0x386a5c);const _0x195d53=0x12c,_0x5af0e0=0x64;let _0x1da615=class extends _0x1b00e8[_0x48d395(0x369)]{constructor(_0x61ea2d,_0x3dd48d,_0x14d2d3,_0x213b20,_0x31a957,_0x27956f,_0x329b97,_0x50650f,_0x2e45db){const _0x1778cc=_0x48d395;super(),_0x5b557d(this,'_online',!0x1),_0x5b557d(this,'_init',!0x1),_0x5b557d(this,_0x1778cc(0x181),new _0x29d8fd['BehaviorSubject'](new Map())),_0x5b557d(this,'cursorInfo$',this[_0x1778cc(0x181)][_0x1778cc(0xfb)]()),_0x5b557d(this,_0x1778cc(0x2db),new _0x29d8fd['BehaviorSubject']([])),_0x5b557d(this,_0x1778cc(0x1be),this[_0x1778cc(0x2db)][_0x1778cc(0x2a7)](_0x29d8fd['debounceTime'](_0x195d53))),_0x5b557d(this,'_updateLocalCursor',_0x1b00e8[_0x1778cc(0x342)](_0x2a4ed7=>{const _0x3d1082=_0x1778cc,_0x148944={'eventID':_0x18f32f['CollaborationEvent'][_0x3d1082(0xe9)],'data':{'unitID':this[_0x3d1082(0x23f)],'memberID':this[_0x3d1082(0x310)][_0x3d1082(0x214)](),'selection':_0x1c96ca(_0x2a4ed7)}};this[_0x3d1082(0x310)][_0x3d1082(0x162)](_0x148944,this['unitID']);},_0x5af0e0)),(this[_0x1778cc(0x23f)]=_0x61ea2d,this[_0x1778cc(0x310)]=_0x3dd48d,this[_0x1778cc(0x1cb)]=_0x14d2d3,this[_0x1778cc(0x173)]=_0x213b20,this[_0x1778cc(0x2ab)]=_0x31a957,this[_0x1778cc(0x180)]=_0x27956f,this[_0x1778cc(0x221)]=_0x329b97,this[_0x1778cc(0x21a)]=_0x50650f,this[_0x1778cc(0x1da)]=_0x2e45db);}get[_0x48d395(0x34f)](){const _0x3599d3=_0x48d395;return this[_0x3599d3(0x181)][_0x3599d3(0x222)]();}get[_0x48d395(0x208)](){const _0x34db1b=_0x48d395;return this[_0x34db1b(0x2db)][_0x34db1b(0x222)]();}[_0x48d395(0xdc)](){const _0x307fef=_0x48d395;super[_0x307fef(0xdc)](),this['_cursorInfo$']['next'](new Map()),this[_0x307fef(0x181)][_0x307fef(0x232)](),this['_roomMembers$'][_0x307fef(0x171)]([]),this[_0x307fef(0x2db)]['complete']();}[_0x48d395(0x2dd)](){const _0x3195e7=_0x48d395;this['_init']||(this[_0x3195e7(0x257)]=!0x0,this[_0x3195e7(0x310)]['sessionStatus$'][_0x3195e7(0x2a7)](_0x29d8fd[_0x3195e7(0x1a0)](this[_0x3195e7(0x266)]))[_0x3195e7(0x329)](_0x4af68a=>{const _0x1d56da=_0x3195e7;_0x4af68a===_0x5609d2[_0x1d56da(0x357)][_0x1d56da(0x25a)]?this[_0x1d56da(0x110)]():this[_0x1d56da(0x191)]();}),this[_0x3195e7(0x310)]['event$'][_0x3195e7(0x2a7)](_0x29d8fd['takeUntil'](this[_0x3195e7(0x266)]))[_0x3195e7(0x329)](_0xb830b8=>{const _0x3e6286=_0x3195e7,_0x414058=_0xb830b8[_0x3e6286(0x10c)];_0x414058===_0x18f32f['CollaborationEvent'][_0x3e6286(0xe9)]&&this[_0x3e6286(0x308)](_0xb830b8),_0x414058===_0x18f32f[_0x3e6286(0x19d)]['USERS_LEAVE']&&this[_0x3e6286(0x21c)](_0xb830b8);}),this[_0x3195e7(0xe6)](this['_commandService'][_0x3195e7(0x188)](_0x228367=>{const _0xc960f0=_0x3195e7,_0x443689=_0x228367[_0xc960f0(0x1cf)];_0x443689!=null&&this[_0xc960f0(0x2f9)]&&_0x228367['id']===_0x2f03d7[_0xc960f0(0x31b)]['id']&&_0x443689[_0xc960f0(0xf7)]===this[_0xc960f0(0x23f)]&&_0x443689[_0xc960f0(0x1c0)]===!0x1&&_0x443689['ranges'][_0xc960f0(0x249)]>0x0&&this[_0xc960f0(0x20c)](_0x443689[_0xc960f0(0x26e)]);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe'](_0x29d8fd['takeUntil'](this[_0x3195e7(0x266)]))[_0x3195e7(0x329)](_0x19a883=>{const _0xf8cfea=_0x3195e7;if((_0x19a883==null?void 0x0:_0x19a883['unitID'])!==this[_0xf8cfea(0x23f)])return;const _0x3e331d={'eventID':_0x18f32f[_0xf8cfea(0x19d)][_0xf8cfea(0xe9)],'data':_0x19a883};this['_onCursorUpdate'](_0x3e331d);}),this[_0x3195e7(0xe6)](this[_0x3195e7(0x1da)][_0x3195e7(0x188)](_0x47e52a=>{const _0x252b3b=_0x3195e7;if(_0x47e52a[_0x252b3b(0x1cf)]==null)return;const _0x1efd51=_0x47e52a[_0x252b3b(0x1cf)];if(_0x47e52a['id']!==_0x2f03d7[_0x252b3b(0x341)]['id']||_0x1efd51['unitId']!==this[_0x252b3b(0x23f)])return;const _0x56c903={'id':_0x252b3b(0x32d),'params':_0x1efd51},_0x1e0f1d=this[_0x252b3b(0x34f)];for(const [_0x479767,_0x28d5b7]of _0x1e0f1d){const _0x4e57b5={'id':_0x252b3b(0x32d),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x28d5b7[_0x252b3b(0x26e)]}},_0x5f41da=this[_0x252b3b(0x221)][_0x252b3b(0x115)](_0x56c903,_0x4e57b5,!0x1);if(_0x18f32f[_0x252b3b(0x111)](_0x5f41da))throw _0x5f41da[_0x252b3b(0x2fc)];_0x1e0f1d[_0x252b3b(0x22d)](_0x479767,{..._0x28d5b7,'ranges':_0x5f41da[_0x252b3b(0x145)][_0x252b3b(0x1cf)][_0x252b3b(0x2c5)]});}queueMicrotask(()=>{const _0x14d9a0=_0x252b3b;this['_cursorInfo$'][_0x14d9a0(0x171)](_0x1e0f1d);});})));}[_0x48d395(0x308)](_0xd9abc9){const _0x58bf32=_0x48d395;var _0x1b266d,_0x279ce9;const {memberID:_0x5aa739,selection:_0x5b01f7}=_0xd9abc9[_0x58bf32(0x156)],_0x37adc9=_0x2331b1(_0x5b01f7),_0x239140=(_0x279ce9=(_0x1b266d=this[_0x58bf32(0x2ab)]['getMember'](this[_0x58bf32(0x23f)],_0x5aa739))==null?void 0x0:_0x1b266d[_0x58bf32(0x327)])!=null?_0x279ce9:_0x58bf32(0x117),_0x49cb6a={'color':this[_0x58bf32(0x173)][_0x58bf32(0xe7)](_0x5aa739),'name':_0x239140,'ranges':_0x37adc9},_0x38adb3=this[_0x58bf32(0x34f)];_0x38adb3[_0x58bf32(0x22d)](_0x5aa739,_0x49cb6a),this[_0x58bf32(0x181)]['next'](_0x38adb3);}[_0x48d395(0x21c)](_0x4d9006){const _0x1c45df=_0x48d395,{memberID:_0x59f0c7}=_0x4d9006[_0x1c45df(0x156)],_0x3653c6=this[_0x1c45df(0x34f)];_0x3653c6['delete'](_0x59f0c7),this[_0x1c45df(0x181)][_0x1c45df(0x171)](_0x3653c6);}['_toggleOnline'](){const _0x310cb7=_0x48d395;var _0x2cc71b;if(this[_0x310cb7(0x2f9)]=!0x0,((_0x2cc71b=this[_0x310cb7(0x21a)][_0x310cb7(0x153)]())==null?void 0x0:_0x2cc71b[_0x310cb7(0xf4)]())!==this[_0x310cb7(0x23f)])return;const _0x20b9ee=this[_0x310cb7(0x1cb)][_0x310cb7(0x2da)](_0x2f03d7[_0x310cb7(0x18b)])[_0x310cb7(0x225)]();Array[_0x310cb7(0x2f0)](_0x20b9ee)&&_0x20b9ee[_0x310cb7(0x249)]>0x0&&this[_0x310cb7(0x20c)](_0x20b9ee);}[_0x48d395(0x191)](){const _0x5ec931=_0x48d395;this[_0x5ec931(0x2f9)]=!0x1;}};_0x1da615=_0x2da7d2([_0x52e772(0x2,_0x1b00e8[_0x48d395(0x124)](_0x1b00e8['Injector'])),_0x52e772(0x3,_0x1b00e8['Inject'](_0x4b69ae)),_0x52e772(0x4,_0x1b00e8[_0x48d395(0x124)](_0x5609d2['MemberService'])),_0x52e772(0x5,_0x1b00e8['Inject'](_0x40ff82)),_0x52e772(0x6,_0x18f32f[_0x48d395(0x26d)]),_0x52e772(0x7,_0x1b00e8[_0x48d395(0x23e)]),_0x52e772(0x8,_0x1b00e8['ICommandService'])],_0x1da615);var _0x199144=Object['getOwnPropertyDescriptor'],_0x3bffaf=(_0x2fc8cf,_0x1229a9,_0x6886d,_0x8de292)=>{const _0x149233=_0x48d395;for(var _0x1466fc=_0x8de292>0x1?void 0x0:_0x8de292?_0x199144(_0x1229a9,_0x6886d):_0x1229a9,_0x42252c=_0x2fc8cf[_0x149233(0x249)]-0x1,_0x3799db;_0x42252c>=0x0;_0x42252c--)(_0x3799db=_0x2fc8cf[_0x42252c])&&(_0x1466fc=_0x3799db(_0x1466fc)||_0x1466fc);return _0x1466fc;},_0x5a7d55=(_0x539019,_0x1ab792)=>(_0x3bdb23,_0x2c7f78)=>_0x1ab792(_0x3bdb23,_0x2c7f78,_0x539019);const _0x461b4f=0x12c,_0x13f663=0x64,_0x1c8c74=()=>{let _0x22df6f=[],_0x3b9afc=!0x1;return _0x114b3c=>{const _0x7c8e3b=_0x1ad9;_0x22df6f[_0x7c8e3b(0x14f)](_0x114b3c),_0x3b9afc||(_0x3b9afc=!0x0,setTimeout(()=>{_0x22df6f['forEach'](_0x4e0cd7=>_0x4e0cd7()),_0x22df6f=[],_0x3b9afc=!0x1;}));};};let _0x2f347d=class extends _0x1b00e8[_0x48d395(0x369)]{constructor(_0xe3476b,_0x3cbedd,_0x45e900,_0x2af063,_0x5c2230,_0xd03698,_0x3202f3,_0xed89c3){const _0x42215d=_0x48d395;super(),_0x5b557d(this,'_online',!0x1),_0x5b557d(this,'_init',!0x1),_0x5b557d(this,_0x42215d(0x181),new _0x29d8fd[(_0x42215d(0xeb))](new Map())),_0x5b557d(this,'cursorInfo$',this[_0x42215d(0x181)][_0x42215d(0xfb)]()),_0x5b557d(this,_0x42215d(0x2db),new _0x29d8fd[(_0x42215d(0xeb))]([])),_0x5b557d(this,_0x42215d(0x1be),this[_0x42215d(0x2db)][_0x42215d(0x2a7)](_0x29d8fd[_0x42215d(0x1e8)](_0x461b4f))),_0x5b557d(this,_0x42215d(0x20c),_0x1b00e8['debounce']((_0x353d94,_0x177d96)=>{const _0x3a50ec=_0x42215d,_0x365b3e={'eventID':_0x18f32f[_0x3a50ec(0x19d)][_0x3a50ec(0xe9)],'data':{'unitID':this[_0x3a50ec(0x23f)],'memberID':this[_0x3a50ec(0x310)][_0x3a50ec(0x214)](),'selection':_0x357d2d[_0x3a50ec(0x1bf)](_0x353d94,_0x177d96[_0x3a50ec(0x279)])}};this[_0x3a50ec(0x310)][_0x3a50ec(0x162)](_0x365b3e,this['unitID']);},_0x13f663)),(this[_0x42215d(0x23f)]=_0xe3476b,this[_0x42215d(0x310)]=_0x3cbedd,this[_0x42215d(0x1cb)]=_0x45e900,this[_0x42215d(0x173)]=_0x2af063,this[_0x42215d(0x2ab)]=_0x5c2230,this[_0x42215d(0x21a)]=_0xd03698,this[_0x42215d(0x1da)]=_0x3202f3,this[_0x42215d(0x172)]=_0xed89c3);}get[_0x48d395(0x34f)](){const _0x537ea2=_0x48d395;return this[_0x537ea2(0x181)][_0x537ea2(0x222)]();}get[_0x48d395(0x208)](){const _0x3dc6be=_0x48d395;return this[_0x3dc6be(0x2db)][_0x3dc6be(0x222)]();}[_0x48d395(0xdc)](){const _0x4c7990=_0x48d395;super['dispose'](),this[_0x4c7990(0x181)]['next'](new Map()),this[_0x4c7990(0x181)][_0x4c7990(0x232)](),this['_roomMembers$'][_0x4c7990(0x171)]([]),this[_0x4c7990(0x2db)][_0x4c7990(0x232)]();}['init'](){const _0x4ac0cb=_0x48d395;this[_0x4ac0cb(0x257)]||(this['_init']=!0x0,this[_0x4ac0cb(0x310)]['sessionStatus$'][_0x4ac0cb(0x2a7)](_0x29d8fd['takeUntil'](this[_0x4ac0cb(0x266)]))[_0x4ac0cb(0x329)](_0x5b6a62=>{const _0x18d6fb=_0x4ac0cb;_0x5b6a62===_0x5609d2[_0x18d6fb(0x357)]['ONLINE']?this['_toggleOnline']():this[_0x18d6fb(0x191)]();}),this['_session'][_0x4ac0cb(0x2e6)][_0x4ac0cb(0x2a7)](_0x29d8fd[_0x4ac0cb(0x1a0)](this[_0x4ac0cb(0x266)]))[_0x4ac0cb(0x329)](_0x589b40=>{const _0x49eda3=_0x4ac0cb,_0x489b7d=_0x589b40['eventID'];_0x489b7d===_0x18f32f['CollaborationEvent'][_0x49eda3(0xe9)]&&this[_0x49eda3(0x308)](_0x589b40),_0x489b7d===_0x18f32f[_0x49eda3(0x19d)][_0x49eda3(0x13e)]&&this[_0x49eda3(0x21c)](_0x589b40);}),this[_0x4ac0cb(0x12f)](),this[_0x4ac0cb(0xe6)](this[_0x4ac0cb(0x1da)][_0x4ac0cb(0x188)](_0x38da52=>{const _0x9134d=_0x4ac0cb;if(this[_0x9134d(0x2f9)]&&_0x38da52['id']===_0x413365[_0x9134d(0x1fe)]['id']&&_0x38da52[_0x9134d(0x1cf)][_0x9134d(0xf7)]===this[_0x9134d(0x23f)]){const _0x1b213a=_0x38da52[_0x9134d(0x1cf)];this[_0x9134d(0x20c)](_0x1b213a[_0x9134d(0x241)],_0x1b213a[_0x9134d(0x175)][0x0]);}})));}[_0x48d395(0x308)](_0x4ea57c){const _0x5e54e0=_0x48d395;var _0x54683e,_0x5e3dd4;const {memberID:_0x128240,selection:_0xd1252a}=_0x4ea57c[_0x5e54e0(0x156)],{sheetName:_0xcd222c,range:_0x1f67e8}=_0x357d2d['deserializeRangeWithSheet'](_0xd1252a),_0x4b253b={'name':(_0x5e3dd4=(_0x54683e=this[_0x5e54e0(0x2ab)][_0x5e54e0(0x356)](this[_0x5e54e0(0x23f)],_0x128240))==null?void 0x0:_0x54683e['name'])!=null?_0x5e3dd4:_0x5e54e0(0x117),'range':this['_getMergeRange'](_0xcd222c,_0x1f67e8),'sheetID':_0xcd222c,'color':this[_0x5e54e0(0x173)]['assignAColorForMemberID'](_0x128240),'selection':_0xd1252a},_0x3ac699=this[_0x5e54e0(0x34f)];_0x3ac699[_0x5e54e0(0x22d)](_0x128240,_0x4b253b),this[_0x5e54e0(0x181)][_0x5e54e0(0x171)](_0x3ac699);}['_onCursorDelete'](_0x3d1e82){const _0x2bed1c=_0x48d395,{memberID:_0x351126}=_0x3d1e82[_0x2bed1c(0x156)],_0x1142bf=this[_0x2bed1c(0x34f)];_0x1142bf[_0x2bed1c(0x118)](_0x351126),this[_0x2bed1c(0x181)][_0x2bed1c(0x171)](_0x1142bf);}[_0x48d395(0x332)](_0x32da45,_0x7d0922){const _0x3f5a27=_0x48d395;var _0x2a2908,_0x188f42;const _0x525c2b=(_0x188f42=(_0x2a2908=this[_0x3f5a27(0x21a)][_0x3f5a27(0x354)](this[_0x3f5a27(0x23f)]))==null?void 0x0:_0x2a2908['getSheetBySheetId'](_0x32da45))==null?void 0x0:_0x188f42[_0x3f5a27(0x17d)]();return(_0x525c2b==null?void 0x0:_0x525c2b[_0x3f5a27(0x15d)](_0x2d5333=>_0x1b00e8[_0x3f5a27(0x116)][_0x3f5a27(0x239)](_0x2d5333,_0x7d0922)))||_0x7d0922;}[_0x48d395(0x12f)](){const _0x4760d5=_0x48d395,_0x36b9f9=new _0x1b00e8[(_0x4760d5(0x141))](),_0xceb9f0=_0x1c8c74(),_0x28058a=()=>{const _0x23af9d=_0x4760d5;_0x36b9f9[_0x23af9d(0xdc)]();const _0x1f028f=(_0x188d69,_0x46e456,_0x386259,_0x13ae77)=>{const _0xd1f423=_0x23af9d;let _0x3ba8f4=[];switch(_0x188d69['id']){case _0x413365[_0xd1f423(0x135)][_0xd1f423(0x112)]:{_0x3ba8f4=_0x413365[_0xd1f423(0x189)](_0x188d69,_0x13ae77);break;}case _0x413365[_0xd1f423(0x135)][_0xd1f423(0x132)]:{_0x3ba8f4=_0x413365[_0xd1f423(0x146)](_0x188d69,_0x13ae77);break;}case _0x413365[_0xd1f423(0x135)][_0xd1f423(0x157)]:{_0x3ba8f4=_0x413365[_0xd1f423(0x269)](_0x188d69,_0x13ae77);break;}case _0x413365['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x3ba8f4=_0x413365[_0xd1f423(0x19e)](_0x188d69,_0x13ae77);break;}case _0x413365[_0xd1f423(0x135)][_0xd1f423(0x377)]:{_0x3ba8f4=_0x413365['handleInsertRangeMoveRight'](_0x188d69,_0x13ae77);break;}case _0x413365['EffectRefRangId'][_0xd1f423(0x1a1)]:{_0x3ba8f4=_0x413365[_0xd1f423(0x18a)](_0x188d69,_0x13ae77);break;}case _0x413365['EffectRefRangId']['MoveRangeCommandId']:{_0x3ba8f4=_0x413365[_0xd1f423(0x1a5)](_0x188d69,_0x13ae77);break;}case _0x413365[_0xd1f423(0x135)][_0xd1f423(0x100)]:{_0x3ba8f4=_0x413365[_0xd1f423(0x21f)](_0x188d69,_0x13ae77);break;}case _0x413365['EffectRefRangId'][_0xd1f423(0x33c)]:{_0x3ba8f4=_0x413365[_0xd1f423(0x196)](_0x188d69,_0x13ae77);break;}}const _0x2a7cc6=_0x413365[_0xd1f423(0x2e2)](_0x3ba8f4,_0x13ae77),_0x10e545=this[_0xd1f423(0x34f)][_0xd1f423(0x2da)](_0x46e456);if(_0x10e545&&_0x2a7cc6){const _0x55b596={..._0x10e545,'range':_0x2a7cc6};this[_0xd1f423(0x34f)]['set'](_0x46e456,_0x55b596),_0xceb9f0(()=>{const _0x1a20c0=_0xd1f423,_0x4f1190=this[_0x1a20c0(0x172)][_0x1a20c0(0x296)](_0x2a7cc6,_0x4a005d=>(_0x4f1190[_0x1a20c0(0xdc)](),_0x1f028f(_0x4a005d,_0x46e456,_0x386259,_0x2a7cc6)));_0x36b9f9['add'](_0x4f1190);});}return{'redos':[],'undos':[]};};this[_0x23af9d(0x34f)][_0x23af9d(0x190)]((_0x4b20a2,_0x2352c0)=>{const _0x59791f=_0x23af9d,{range:_0x48bdce,sheetID:_0x2a25fa}=_0x4b20a2,_0x402061=this[_0x59791f(0x172)][_0x59791f(0x296)](_0x48bdce,_0x13724a=>(_0x402061[_0x59791f(0xdc)](),_0x1f028f(_0x13724a,_0x2352c0,_0x2a25fa,_0x48bdce)));_0x36b9f9[_0x59791f(0x316)](_0x402061);});};this[_0x4760d5(0xe6)](_0x1b00e8[_0x4760d5(0x1b3)](this[_0x4760d5(0x181)][_0x4760d5(0x329)](()=>{_0x28058a();})));}[_0x48d395(0x110)](){const _0x256e7a=_0x48d395;var _0x5b80dd,_0x30f262;if(this[_0x256e7a(0x2f9)]=!0x0,((_0x5b80dd=this[_0x256e7a(0x21a)][_0x256e7a(0x153)]())==null?void 0x0:_0x5b80dd[_0x256e7a(0xf4)]())!==this[_0x256e7a(0x23f)])return;const _0x4bdbf1=(_0x30f262=this[_0x256e7a(0x1cb)][_0x256e7a(0x2da)](_0x413365['SheetsSelectionsService'])[_0x256e7a(0x270)]())==null?void 0x0:_0x30f262[0x0],_0x3ecbf4=this[_0x256e7a(0x21a)]['getCurrentUnitForType'](_0x1b00e8['UniverInstanceType']['UNIVER_SHEET'])[_0x256e7a(0x177)]();_0x4bdbf1&&_0x3ecbf4&&this[_0x256e7a(0x20c)](_0x3ecbf4[_0x256e7a(0x2c2)](),_0x4bdbf1);}[_0x48d395(0x191)](){this['_online']=!0x1;}};_0x2f347d=_0x3bffaf([_0x5a7d55(0x2,_0x1b00e8[_0x48d395(0x124)](_0x1b00e8['Injector'])),_0x5a7d55(0x3,_0x1b00e8[_0x48d395(0x124)](_0x4b69ae)),_0x5a7d55(0x4,_0x1b00e8[_0x48d395(0x124)](_0x5609d2[_0x48d395(0x23a)])),_0x5a7d55(0x5,_0x1b00e8[_0x48d395(0x23e)]),_0x5a7d55(0x6,_0x1b00e8[_0x48d395(0x1f3)]),_0x5a7d55(0x7,_0x1b00e8[_0x48d395(0x124)](_0x413365[_0x48d395(0x1a9)]))],_0x2f347d);var _0x39a63e=Object['getOwnPropertyDescriptor'],_0x7a42a1=(_0x5e922d,_0x3ee15a,_0xf2e0d,_0x5ecf6a)=>{const _0x2b465b=_0x48d395;for(var _0x2db1b9=_0x5ecf6a>0x1?void 0x0:_0x5ecf6a?_0x39a63e(_0x3ee15a,_0xf2e0d):_0x3ee15a,_0x3ea569=_0x5e922d[_0x2b465b(0x249)]-0x1,_0x26f1f6;_0x3ea569>=0x0;_0x3ea569--)(_0x26f1f6=_0x5e922d[_0x3ea569])&&(_0x2db1b9=_0x26f1f6(_0x2db1b9)||_0x2db1b9);return _0x2db1b9;},_0x381e3e=(_0x2dc099,_0xdca047)=>(_0x2150d4,_0xb8fd5d)=>_0xdca047(_0x2150d4,_0xb8fd5d,_0x2dc099);let _0x56a253=class extends _0x1b00e8['RxDisposable']{constructor(_0x5142a2,_0x1919c7,_0x5caec2){const _0x2c167=_0x48d395;super(),_0x5b557d(this,_0x2c167(0x228),new Map()),_0x5b557d(this,_0x2c167(0x2f8),new _0x29d8fd[(_0x2c167(0x1c3))]()),(this[_0x2c167(0x21a)]=_0x5142a2,this['_injector']=_0x1919c7,this[_0x2c167(0x265)]=_0x5caec2,this[_0x2c167(0x257)]());}['dispose'](){const _0x3a015b=_0x48d395;super[_0x3a015b(0xdc)](),this[_0x3a015b(0x2f8)]['complete'](),this[_0x3a015b(0x228)]['forEach'](_0x30f6cd=>_0x30f6cd[_0x3a015b(0xdc)]());}[_0x48d395(0x166)](_0x31d676){const _0x595932=_0x48d395;return this[_0x595932(0x228)][_0x595932(0x1fd)](_0x31d676)?this[_0x595932(0x228)]['get'](_0x31d676)['cursorInfo$']:this['_entityInit$'][_0x595932(0x2a7)](_0x29d8fd['filter'](_0x47a27d=>_0x47a27d['unitID']===_0x31d676),_0x29d8fd['switchMap'](_0x8947b7=>_0x8947b7['cursorInfo$']));}[_0x48d395(0x257)](){const _0x32dc86=_0x48d395;this[_0x32dc86(0x21a)][_0x32dc86(0x1ec)](_0x1b00e8[_0x32dc86(0x307)]['UNIVER_SHEET'])['pipe'](_0x29d8fd[_0x32dc86(0x1a0)](this['dispose$']))[_0x32dc86(0x329)](async _0x4e3698=>{const _0x51b476=_0x32dc86,_0x14b44b=_0x4e3698[_0x51b476(0xf4)](),_0x38ef62=await this[_0x51b476(0x36e)](_0x14b44b);this[_0x51b476(0x2f8)]['next'](_0x38ef62),this[_0x51b476(0x228)][_0x51b476(0x22d)](_0x14b44b,_0x38ef62);}),this[_0x32dc86(0x21a)]['getTypeOfUnitAdded$'](_0x1b00e8[_0x32dc86(0x307)]['UNIVER_DOC'])[_0x32dc86(0x2a7)](_0x29d8fd[_0x32dc86(0x1a0)](this[_0x32dc86(0x266)]))[_0x32dc86(0x2a7)](_0x29d8fd[_0x32dc86(0x35b)](_0x27dcab=>!_0x27dcab['getUnitId']()['startsWith']('__')))['subscribe'](async _0x12a0c4=>{const _0x24b680=_0x32dc86,_0x47bb35=_0x12a0c4['getUnitId'](),_0x3ac4a0=await this[_0x24b680(0x1ca)](_0x47bb35);this['_entityInit$'][_0x24b680(0x171)](_0x3ac4a0),this['_entities'][_0x24b680(0x22d)](_0x47bb35,_0x3ac4a0);}),_0x29d8fd[_0x32dc86(0x18c)](this['_univerInstanceService'][_0x32dc86(0x24c)](_0x1b00e8[_0x32dc86(0x307)][_0x32dc86(0x122)]),this[_0x32dc86(0x21a)]['getTypeOfUnitDisposed$'](_0x1b00e8['UniverInstanceType'][_0x32dc86(0x2f1)]))[_0x32dc86(0x2a7)](_0x29d8fd['takeUntil'](this['dispose$']))[_0x32dc86(0x329)](_0x3e7103=>{const _0x5233ec=_0x32dc86,_0x53ded3=_0x3e7103[_0x5233ec(0xf4)](),_0x26e75e=this[_0x5233ec(0x228)]['get'](_0x53ded3);_0x26e75e&&(_0x26e75e['dispose'](),this[_0x5233ec(0x228)]['delete'](_0x53ded3));});}async[_0x48d395(0x36e)](_0x4c757c){const _0xead260=_0x48d395,_0x5c428a=await this[_0xead260(0x265)][_0xead260(0x2fa)](_0x4c757c),_0xacc6a3=this[_0xead260(0x1cb)]['createInstance'](_0x2f347d,_0x4c757c,_0x5c428a);return _0xacc6a3['init'](),_0xacc6a3;}async[_0x48d395(0x1ca)](_0x3e97ff){const _0x3bed3b=_0x48d395,_0x567b5d=await this[_0x3bed3b(0x265)][_0x3bed3b(0x2fa)](_0x3e97ff),_0x27d8d0=this['_injector']['createInstance'](_0x1da615,_0x3e97ff,_0x567b5d);return _0x27d8d0[_0x3bed3b(0x2dd)](),_0x27d8d0;}};_0x56a253=_0x7a42a1([_0x381e3e(0x0,_0x1b00e8['IUniverInstanceService']),_0x381e3e(0x1,_0x1b00e8[_0x48d395(0x124)](_0x1b00e8[_0x48d395(0x120)])),_0x381e3e(0x2,_0x1b00e8[_0x48d395(0x124)](_0x5609d2[_0x48d395(0x321)]))],_0x56a253);const _0x2bebc0=0x14,_0x4d781e=0xc8,_0x5d50fa=0x4,_0x5d07d1=0x5;function _0x2f7ccc(_0x31cda8,_0x36cb80){const _0xcd546f=_0x48d395;let {radius:_0x2594af,width:_0x23286f,height:_0x41e4d3}=_0x36cb80;_0x2594af=_0x2594af!=null?_0x2594af:0x0,_0x23286f=_0x23286f!=null?_0x23286f:0x1e,_0x41e4d3=_0x41e4d3!=null?_0x41e4d3:0x1e;let _0x9816d9=0x0,_0x1f5973=0x0,_0x2bbc8a=0x0;_0x9816d9=_0x1f5973=_0x2bbc8a=Math['min'](_0x2594af,_0x23286f/0x2,_0x41e4d3/0x2),_0x31cda8['beginPath'](),_0x31cda8[_0xcd546f(0x229)](_0x9816d9,0x0),_0x31cda8[_0xcd546f(0x187)](_0x23286f-_0x1f5973,0x0),_0x31cda8[_0xcd546f(0x1aa)](_0x23286f-_0x1f5973,_0x1f5973,_0x1f5973,Math['PI']*0x3/0x2,0x0,!0x1),_0x31cda8[_0xcd546f(0x187)](_0x23286f,_0x41e4d3-_0x2bbc8a),_0x31cda8[_0xcd546f(0x1aa)](_0x23286f-_0x2bbc8a,_0x41e4d3-_0x2bbc8a,_0x2bbc8a,0x0,Math['PI']/0x2,!0x1),_0x31cda8['lineTo'](0x0,_0x41e4d3),_0x31cda8[_0xcd546f(0x187)](0x0,_0x9816d9),_0x31cda8[_0xcd546f(0x1aa)](_0x9816d9,_0x9816d9,_0x9816d9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x31cda8['closePath'](),_0x36cb80[_0xcd546f(0xda)]&&(_0x31cda8[_0xcd546f(0x28b)](),_0x31cda8['fillStyle']=_0x36cb80[_0xcd546f(0xda)],_0x36cb80[_0xcd546f(0x347)]===_0xcd546f(0x2b7)?_0x31cda8[_0xcd546f(0xda)](_0xcd546f(0x2b7)):_0x31cda8[_0xcd546f(0xda)](),_0x31cda8[_0xcd546f(0x1b4)]());}class _0x11e3f3 extends _0x57a9e5[_0x48d395(0x15e)]{constructor(_0x50f037,_0x19c006){const _0x1fbf37=_0x48d395;super(_0x50f037,_0x19c006),_0x5b557d(this,_0x1fbf37(0x202)),_0x5b557d(this,'text'),(this[_0x1fbf37(0x202)]=_0x19c006==null?void 0x0:_0x19c006[_0x1fbf37(0x202)],this[_0x1fbf37(0x2e5)]=_0x19c006==null?void 0x0:_0x19c006[_0x1fbf37(0x2e5)]);}static[_0x48d395(0x2f2)](_0x5e36b9,_0x36cc2c){const _0xbc2a8c=_0x48d395,{text:_0x49b138,color:_0x501309}=_0x36cc2c;_0x5e36b9[_0xbc2a8c(0x28b)](),_0x5e36b9[_0xbc2a8c(0xef)]=_0xbc2a8c(0x207);const _0x35c5c8=_0x5e36b9[_0xbc2a8c(0x1b8)](_0x49b138)[_0xbc2a8c(0x278)],_0x4f0bfe=Math[_0xbc2a8c(0x174)](_0x35c5c8+0x2*_0x5d50fa,_0x4d781e);_0x2f7ccc(_0x5e36b9,{'height':_0x2bebc0,'radius':0x4,'width':_0x4f0bfe,'fill':_0x501309}),_0x5e36b9[_0xbc2a8c(0x304)]='#FFF';const _0x1a2865=_0x5d50fa,_0x154269=_0x2bebc0-_0x5d07d1,_0xe9e654=_0x4d781e-0x2*_0x5d50fa;if(_0x35c5c8>_0xe9e654){let _0x3c6005='',_0x5e2ad6=0x0;for(const _0x39de2b of _0x49b138){const _0x11e532=_0x5e36b9[_0xbc2a8c(0x1b8)](_0x39de2b)[_0xbc2a8c(0x278)];if(_0x5e2ad6+_0x11e532<=_0xe9e654-_0x5e36b9[_0xbc2a8c(0x1b8)](_0xbc2a8c(0x19b))[_0xbc2a8c(0x278)])_0x3c6005+=_0x39de2b,_0x5e2ad6+=_0x11e532;else{_0x3c6005+=_0xbc2a8c(0x19b);break;}}_0x5e36b9[_0xbc2a8c(0x17a)](_0x3c6005,_0x1a2865,_0x154269);}else _0x5e36b9[_0xbc2a8c(0x17a)](_0x49b138,_0x1a2865,_0x154269);_0x5e36b9[_0xbc2a8c(0x1b4)]();}[_0x48d395(0x31c)](_0x2c9c04){const _0x4067d8=_0x48d395;_0x11e3f3[_0x4067d8(0x2f2)](_0x2c9c04,this);}}const _0x5d37a3=_0x48d395(0x14c),_0x15148b=_0x48d395(0x22a),_0x11a771='collab-rect-range-',_0x3ad9a4=0x6,_0x45c72a=1.5,_0x42491a=0x4,_0xf9eee2=1.5,_0x65a49='rgba(255,\x20255,\x20255,\x200.01)';class _0x21371c{constructor(_0x22f52b,_0x357029,_0x33ea36,_0x286eb3){const _0x3e668a=_0x48d395;_0x5b557d(this,_0x3e668a(0x335),[]),_0x5b557d(this,_0x3e668a(0x299),null),_0x5b557d(this,_0x3e668a(0x1b2),null),_0x5b557d(this,_0x3e668a(0x151),null),_0x5b557d(this,_0x3e668a(0x1e1),null),_0x5b557d(this,'_eventUnsubscribe',null),(this['_cursor']=_0x22f52b,this['_scene']=_0x357029,this[_0x3e668a(0x284)]=_0x33ea36,this[_0x3e668a(0x1e2)]=_0x286eb3,this[_0x3e668a(0x2af)]());}set[_0x48d395(0x376)](_0x4f6a29){const _0x590a45=_0x48d395;_0x4f6a29?(this[_0x590a45(0x151)]&&this[_0x590a45(0x151)][_0x590a45(0x338)](),this[_0x590a45(0x1b2)]&&this[_0x590a45(0x1b2)][_0x590a45(0x35a)]()):(this[_0x590a45(0x151)]&&this[_0x590a45(0x151)][_0x590a45(0x35a)](),this[_0x590a45(0x1b2)]&&this['_textBubble'][_0x590a45(0x338)]());}[_0x48d395(0xdc)](){const _0xb8b112=_0x48d395;for(const _0x465620 of this[_0xb8b112(0x335)])_0x465620[_0xb8b112(0xdc)]();this[_0xb8b112(0x1b2)]&&this[_0xb8b112(0x1b2)][_0xb8b112(0xdc)](),this[_0xb8b112(0x151)]&&this[_0xb8b112(0x151)][_0xb8b112(0xdc)](),this['_anchor']&&this[_0xb8b112(0x299)][_0xb8b112(0xdc)](),this['_eventUnsubscribe']&&this[_0xb8b112(0x163)]();}[_0x48d395(0x2af)](){const _0x3bb5a1=_0x48d395;var _0x4fb733;const {_docSkeleton:_0x5d4027,_document:_0x251a74}=this,{color:_0x81585,name:_0x3cf3d2,ranges:_0x3a7a14}=this[_0x3bb5a1(0x1d3)],_0x216d3d=_0x251a74[_0x3bb5a1(0x2c8)](),{docsLeft:_0xb05a37,docsTop:_0x385a02}=_0x216d3d,_0x5595f1=new _0x233100[(_0x3bb5a1(0x178))](_0x216d3d,_0x5d4027);for(const {startOffset:_0x23e4de,endOffset:_0x4a8c04,rangeType:_0x131f6c,segmentId:_0x4a9ffa,segmentPage:_0x5262e1,collapsed:_0x2fc39d,isActive:_0x36c1a5}of _0x3a7a14){const _0x8e135a=_0x5d4027[_0x3bb5a1(0x182)](_0x23e4de,!0x0,_0x4a9ffa,_0x5262e1);let _0x2f395f=_0x5d4027[_0x3bb5a1(0x182)](_0x4a8c04,!0x0,_0x4a9ffa,_0x5262e1);if(_0x2f395f==null&&(_0x2f395f=_0x5d4027[_0x3bb5a1(0x182)](_0x4a8c04-0x1,!0x1,_0x4a9ffa,_0x5262e1)),_0x36c1a5){const {contentBoxPointGroup:_0xbc2da1}=_0x5595f1['getRangePointData'](_0x2f395f,_0x2f395f);if(_0xbc2da1['length']===0x0)continue;this[_0x3bb5a1(0x1d7)](_0x81585,_0xbc2da1,_0xb05a37,_0x385a02,_0x3cf3d2),this['_eventUnsubscribe']=this[_0x3bb5a1(0x16f)]();}if(_0x8e135a&&_0x2f395f){if(_0x131f6c===_0x1b00e8['DOC_RANGE_TYPE'][_0x3bb5a1(0x134)]){const _0x389a28=new _0x233100[(_0x3bb5a1(0x360))](_0x216d3d,_0x5d4027),{pointGroup:_0x386526}=(_0x4fb733=_0x389a28['getRangePointData'](_0x8e135a,_0x2f395f))!=null?_0x4fb733:{};if(_0x386526==null||_0x386526[_0x3bb5a1(0x249)]===0x0)continue;this[_0x3bb5a1(0x326)](_0x81585,_0x386526,_0xb05a37,_0x385a02);}else{if(!_0x2fc39d){const {borderBoxPointGroup:_0x2f626c}=_0x5595f1['getRangePointData'](_0x8e135a,_0x2f395f);if(_0x2f626c[_0x3bb5a1(0x249)]===0x0)continue;this[_0x3bb5a1(0x24e)](_0x81585,_0x2f626c,_0xb05a37,_0x385a02);}}}}}[_0x48d395(0x1d7)](_0x2fe079,_0x2869d8,_0x1a4648,_0x4ca54d,_0x13c675){const _0x40b23e=_0x48d395,_0x857336=this[_0x40b23e(0xf8)](_0x2869d8),{left:_0x580d61,top:_0x1cce92,height:_0x4ea8df}=_0x857336,_0x1a8d2b=this[_0x40b23e(0xec)](),_0x1bc9f8=_0xf9eee2/_0x1a8d2b,_0x59dcf7=new _0x57a9e5[(_0x40b23e(0x227))](_0x5d37a3+_0x1b00e8[_0x40b23e(0x36d)][_0x40b23e(0x18d)](_0x3ad9a4),{'left':_0x580d61+_0x1a4648-_0x1bc9f8,'top':_0x1cce92+_0x4ca54d,'height':_0x4ea8df,'width':_0x45c72a,'fill':_0x2fe079||_0x57a9e5[_0x40b23e(0x242)](_0x1b00e8[_0x40b23e(0x322)][_0x40b23e(0x1f8)],0x0),'strokeWidth':_0x1bc9f8,'stroke':_0x65a49,'evented':!0x0});this[_0x40b23e(0x299)]=_0x59dcf7,this[_0x40b23e(0x164)][_0x40b23e(0x213)](_0x59dcf7,_0x233100[_0x40b23e(0x330)]);const _0x21f0e7=new _0x57a9e5[(_0x40b23e(0x227))](_0x5d37a3+_0x1b00e8['Tools'][_0x40b23e(0x18d)](_0x3ad9a4),{'left':_0x580d61+_0x1a4648-_0x1bc9f8,'top':_0x1cce92+_0x4ca54d-_0x42491a/0x2,'height':_0x42491a,'width':_0x42491a,'fill':_0x2fe079||_0x57a9e5[_0x40b23e(0x242)](_0x1b00e8[_0x40b23e(0x322)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x2fe079||_0x57a9e5[_0x40b23e(0x242)](_0x1b00e8[_0x40b23e(0x322)][_0x40b23e(0x1f8)],0x0),'evented':!0x1});this[_0x40b23e(0x151)]=_0x21f0e7,this[_0x40b23e(0x164)][_0x40b23e(0x213)](_0x21f0e7,_0x233100[_0x40b23e(0x330)]);const _0x28af78=new _0x11e3f3(_0x5d37a3+_0x1b00e8['Tools'][_0x40b23e(0x18d)](_0x3ad9a4),{'left':_0x580d61+_0x1a4648-_0x1bc9f8,'top':_0x1cce92+_0x4ca54d-_0x2bebc0,'text':_0x13c675,'color':_0x2fe079});this[_0x40b23e(0x1b2)]=_0x28af78,this[_0x40b23e(0x164)]['addObject'](_0x28af78,_0x233100['TEXT_RANGE_LAYER_INDEX']),this[_0x40b23e(0x376)]=!0x1;}[_0x48d395(0x16f)](){const _0x2c5b24=_0x48d395,_0x1a2e37=this[_0x2c5b24(0x299)][_0x2c5b24(0x1bd)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x4145ef=this[_0x2c5b24(0x299)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x4d059e=_0x2c5b24;this[_0x4d059e(0x1e1)]&&clearTimeout(this[_0x4d059e(0x1e1)]),this[_0x4d059e(0x1e1)]=setTimeout(()=>{const _0x8e9628=_0x4d059e;this[_0x8e9628(0x376)]=!0x1;},0x7d0);});return()=>{const _0x566fff=_0x2c5b24;_0x1a2e37[_0x566fff(0x331)](),_0x4145ef[_0x566fff(0x331)]();};}['_drawTextRange'](_0x1b6c33,_0x1e5a3e,_0x83463a,_0x4f9d5d){const _0x3d2380=_0x48d395,_0x464fb7=new _0x1b00e8[(_0x3d2380(0x123))](_0x1b6c33)['setAlpha'](0.2)['toRgbString'](),_0x472338=new _0x57a9e5[(_0x3d2380(0x254))](_0x15148b+_0x1b00e8[_0x3d2380(0x36d)][_0x3d2380(0x18d)](_0x3ad9a4),{'pointsGroup':_0x1e5a3e,'fill':_0x464fb7||_0x57a9e5['getColor'](_0x1b00e8[_0x3d2380(0x322)][_0x3d2380(0x1f8)],0.2),'left':_0x83463a,'top':_0x4f9d5d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3d2380(0x14f)](_0x472338),this[_0x3d2380(0x164)][_0x3d2380(0x213)](_0x472338,_0x233100[_0x3d2380(0x330)]);}['_drawRectRange'](_0x5c9c93,_0x33b932,_0x31174a,_0x53a21e){const _0x215504=_0x48d395,_0x3f5887=new _0x1b00e8['ColorKit'](_0x5c9c93)['setAlpha'](0.2)['toRgbString'](),_0x111fc1=new _0x57a9e5[(_0x215504(0x254))](_0x11a771+_0x1b00e8[_0x215504(0x36d)]['generateRandomId'](_0x3ad9a4),{'pointsGroup':_0x33b932,'fill':_0x3f5887||_0x57a9e5[_0x215504(0x242)](_0x1b00e8[_0x215504(0x322)][_0x215504(0x1f8)],0.2),'left':_0x31174a,'top':_0x53a21e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x215504(0x335)][_0x215504(0x14f)](_0x111fc1),this['_scene'][_0x215504(0x213)](_0x111fc1,_0x233100[_0x215504(0x330)]);}['_getAnchorBounding'](_0x1139cc){const _0x5dd2ad=_0x1139cc[0x0],_0x522d6d=_0x5dd2ad[0x0],_0x4fc7b9=_0x5dd2ad[0x2],{x:_0x51274e,y:_0x11f728}=_0x522d6d,{x:_0x1ffec6,y:_0x28c019}=_0x4fc7b9;return{'left':_0x51274e,'top':_0x11f728,'width':_0x1ffec6-_0x51274e,'height':_0x28c019-_0x11f728};}[_0x48d395(0xec)](){const _0x2f529c=_0x48d395,{scaleX:_0x361d83,scaleY:_0x24bd68}=this[_0x2f529c(0x164)][_0x2f529c(0x185)]();return Math[_0x2f529c(0x1fc)](_0x361d83,_0x24bd68);}}var _0x470675=Object[_0x48d395(0x365)],_0x9ed1b=(_0x14664a,_0x43b158,_0xb40a48,_0x12cfaa)=>{for(var _0x5ad09f=_0x12cfaa>0x1?void 0x0:_0x12cfaa?_0x470675(_0x43b158,_0xb40a48):_0x43b158,_0x12b0b6=_0x14664a['length']-0x1,_0x402c56;_0x12b0b6>=0x0;_0x12b0b6--)(_0x402c56=_0x14664a[_0x12b0b6])&&(_0x5ad09f=_0x402c56(_0x5ad09f)||_0x5ad09f);return _0x5ad09f;},_0x427c6e=(_0x2ca9c9,_0x486fbf)=>(_0x3f7985,_0x24954e)=>_0x486fbf(_0x3f7985,_0x24954e,_0x2ca9c9);let _0x30523e=class extends _0x1b00e8[_0x48d395(0x369)]{constructor(_0x1e76f7,_0xab5fa2,_0x142aa4,_0x564ff5,_0x455876){const _0x17e71c=_0x48d395;super(),_0x5b557d(this,_0x17e71c(0x27c),[]),_0x5b557d(this,_0x17e71c(0x212),[]),(this[_0x17e71c(0x25c)]=_0x1e76f7,this[_0x17e71c(0x25b)]=_0xab5fa2,this['_collabCursorController']=_0x142aa4,this['_commandService']=_0x564ff5,this[_0x17e71c(0x16e)]=_0x455876,this['_init']());}[_0x48d395(0x257)](){const _0x33e5f7=_0x48d395,_0x959905=this[_0x33e5f7(0x25c)][_0x33e5f7(0xf7)],_0x254fed=this[_0x33e5f7(0x25b)];this['disposeWithMe'](_0x29d8fd['combineLatest']([this['_collabCursorController'][_0x33e5f7(0x166)](_0x959905),this[_0x33e5f7(0x16e)][_0x33e5f7(0x33f)]])[_0x33e5f7(0x2a7)](_0x2d8369[_0x33e5f7(0x2ed)](([_0x4a524e,_0x542ea8])=>({'skeleton':_0x254fed['getSkeleton'](),'cursors':[..._0x4a524e[_0x33e5f7(0x19c)]()][_0x33e5f7(0x318)](_0x5cc560=>({..._0x5cc560,'color':this[_0x33e5f7(0x16e)][_0x33e5f7(0x340)](_0x5cc560[_0x33e5f7(0x202)])}))})))[_0x33e5f7(0x329)](_0x2e2587=>{const _0x3971f3=_0x33e5f7;if(this[_0x3971f3(0x33a)](),_0x2e2587){const {skeleton:_0x196ae3,cursors:_0x1ca002}=_0x2e2587;this[_0x3971f3(0x240)](_0x196ae3,_0x1ca002);}})),this['_initResize'](),this[_0x33e5f7(0x14d)]();}[_0x48d395(0x240)](_0x5c1803,_0x33808f){const _0x4a39db=_0x48d395,{scene:_0x4feb3b,mainComponent:_0xe23b4b}=this[_0x4a39db(0x25c)],_0x36bd05=_0x33808f[_0x4a39db(0x2ed)](_0x32e917=>new _0x21371c(_0x32e917,_0x4feb3b,_0x5c1803,_0xe23b4b));this[_0x4a39db(0x27c)]=_0x36bd05,this['_cursors']=_0x33808f;}[_0x48d395(0x262)](){const _0x1cbee4=_0x48d395;this[_0x1cbee4(0x33a)]();const {scene:_0x3a4e01,mainComponent:_0x1ff8b0}=this[_0x1cbee4(0x25c)],_0x59c3ee=this['_docSkeletonManagerService']['getSkeleton'](),_0x4e7e09=this[_0x1cbee4(0x212)][_0x1cbee4(0x2ed)](_0x330dc3=>new _0x21371c(_0x330dc3,_0x3a4e01,_0x59c3ee,_0x1ff8b0));this[_0x1cbee4(0x27c)]=_0x4e7e09;}[_0x48d395(0x33a)](){const _0x3eb4e0=_0x48d395;this['_cursorShapes'][_0x3eb4e0(0x190)](_0x48f073=>_0x48f073[_0x3eb4e0(0xdc)]()),this['_cursorShapes']=[];}[_0x48d395(0x14d)](){const _0x5d709f=_0x48d395,_0x1c37c3=[_0x233100[_0x5d709f(0x211)]['id']];this[_0x5d709f(0xe6)](this[_0x5d709f(0x1da)][_0x5d709f(0x188)](_0x3ca5bb=>{const _0x533f5f=_0x5d709f;_0x1c37c3[_0x533f5f(0x133)](_0x3ca5bb['id'])&&_0x3ca5bb[_0x533f5f(0x1cf)][_0x533f5f(0xf7)]===this[_0x533f5f(0x25c)]['unitId']&&this[_0x533f5f(0x262)]();}));}[_0x48d395(0x27d)](){const _0x3b8555=_0x48d395;this['disposeWithMe'](_0x1b00e8[_0x3b8555(0x2f4)](this['_context'][_0x3b8555(0x168)]['onTransformChange$'])[_0x3b8555(0x2a7)](_0x2d8369[_0x3b8555(0x35b)](_0x6bd733=>_0x6bd733[_0x3b8555(0x149)]===_0x57a9e5['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x2d8369['throttleTime'](0x10))[_0x3b8555(0x329)](()=>{const _0x1985b0=_0x3b8555;this[_0x1985b0(0x262)]();}));}};_0x30523e=_0x9ed1b([_0x427c6e(0x1,_0x1b00e8[_0x48d395(0x124)](_0x2f03d7[_0x48d395(0x1c7)])),_0x427c6e(0x2,_0x1b00e8[_0x48d395(0x124)](_0x56a253)),_0x427c6e(0x3,_0x1b00e8[_0x48d395(0x1f3)]),_0x427c6e(0x4,_0x1b00e8[_0x48d395(0x124)](_0x1b00e8[_0x48d395(0x297)]))],_0x30523e);const _0x320a52=0x1,_0x49fecd=1.5;class _0x4b1109 extends _0x57a9e5[_0x48d395(0x15e)]{constructor(_0x4ac831,_0x5b0541){const _0x190fe3=_0x48d395;super(_0x4ac831,_0x5b0541),_0x5b557d(this,_0x190fe3(0x1ad)),_0x5b557d(this,_0x190fe3(0x2ac),!0x1),_0x5b557d(this,_0x190fe3(0xe2)),_0x5b557d(this,_0x190fe3(0x1bc),''),_0x5b557d(this,'_labelPosition',_0x190fe3(0x20d)),_0x5b557d(this,_0x190fe3(0x2a2)),(_0x5b0541&&this[_0x190fe3(0x17b)](_0x5b0541),this[_0x190fe3(0x1bd)][_0x190fe3(0x34a)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x190fe3(0xd8)]['subscribeEvent'](()=>this[_0x190fe3(0x17b)]({'hovered':!0x1})));}[_0x48d395(0x17b)](_0x53e707){const _0x16a247=_0x48d395;var _0x2fda19,_0x43196f,_0x390908,_0x9f82c4,_0x5a0288,_0x4f3d82;this[_0x16a247(0x1ad)]=(_0x2fda19=_0x53e707[_0x16a247(0x202)])!=null?_0x2fda19:this[_0x16a247(0x1ad)],this[_0x16a247(0x2ac)]=(_0x43196f=_0x53e707[_0x16a247(0x1db)])!=null?_0x43196f:this[_0x16a247(0x2ac)],this[_0x16a247(0xe2)]=(_0x390908=_0x53e707[_0x16a247(0x279)])!=null?_0x390908:this['_range'],this[_0x16a247(0x1bc)]=(_0x9f82c4=_0x53e707[_0x16a247(0x327)])!=null?_0x9f82c4:this['_name'],this['_labelPosition']=(_0x5a0288=_0x53e707['labelPosition'])!=null?_0x5a0288:this[_0x16a247(0x286)],this[_0x16a247(0x2a2)]=(_0x4f3d82=_0x53e707[_0x16a247(0xf1)])!=null?_0x4f3d82:this[_0x16a247(0x2a2)],this['transformByState']({'width':_0x53e707[_0x16a247(0x278)],'height':_0x53e707[_0x16a247(0x11a)]});}[_0x48d395(0xfe)](_0x3fafa3){const _0x1f841a=_0x48d395,{row:_0x3a97db,column:_0xea791f}=_0x3fafa3;if(_0x3a97db>=this[_0x1f841a(0xe2)]['startRow']&&_0x3a97db<=this[_0x1f841a(0xe2)][_0x1f841a(0x30a)]&&_0xea791f>=this[_0x1f841a(0xe2)][_0x1f841a(0x2f5)]&&_0xea791f<=this[_0x1f841a(0xe2)][_0x1f841a(0x197)]){this[_0x1f841a(0x17b)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0xf58fdf){return!0x1;}[_0x48d395(0x31c)](_0x3ae04a){const _0x2455ee=_0x48d395;_0x57a9e5['Rect']['drawWith'](_0x3ae04a,{'width':this[_0x2455ee(0x278)],'height':this['height'],'strokeWidth':_0x49fecd,'stroke':this[_0x2455ee(0x1ad)],'evented':!0x1,'fill':this[_0x2455ee(0x2a2)]}),this[_0x2455ee(0x2ac)]&&(_0x3ae04a[_0x2455ee(0x28b)](),_0x3ae04a[_0x2455ee(0x1df)](0x1,0x0,0x0,0x1,this[_0x2455ee(0x278)],this['_labelPosition']===_0x2455ee(0x158)?0x0:-0x14),_0x11e3f3['drawWith'](_0x3ae04a,{'text':this[_0x2455ee(0x1bc)],'color':this[_0x2455ee(0x1ad)]}),_0x3ae04a[_0x2455ee(0x1b4)]());}}var _0x24c6f7=Object[_0x48d395(0x365)],_0x47bbc6=(_0x594130,_0x39f382,_0x6b3617,_0x5a30e5)=>{const _0x535e05=_0x48d395;for(var _0x504640=_0x5a30e5>0x1?void 0x0:_0x5a30e5?_0x24c6f7(_0x39f382,_0x6b3617):_0x39f382,_0x580c83=_0x594130[_0x535e05(0x249)]-0x1,_0x276ed6;_0x580c83>=0x0;_0x580c83--)(_0x276ed6=_0x594130[_0x580c83])&&(_0x504640=_0x276ed6(_0x504640)||_0x504640);return _0x504640;},_0xa0261=(_0x2101b1,_0x377fb8)=>(_0x560d17,_0xf5f0bb)=>_0x377fb8(_0x560d17,_0xf5f0bb,_0x2101b1);const _0x2f17b2=0x1389;let _0x14f631=class extends _0x1b00e8[_0x48d395(0x369)]{constructor(_0x68dca5,_0x6a12d9,_0x419e47,_0x18300a){const _0xe098b1=_0x48d395;super(),_0x5b557d(this,_0xe098b1(0x212),new Set()),_0x5b557d(this,'_lastPointer',null),(this['_context']=_0x68dca5,this[_0xe098b1(0x11b)]=_0x6a12d9,this[_0xe098b1(0x22e)]=_0x419e47,this[_0xe098b1(0x16e)]=_0x18300a,this[_0xe098b1(0x257)]());}[_0x48d395(0x257)](){const _0x1e08e2=_0x48d395;this[_0x1e08e2(0x11b)][_0x1e08e2(0x10b)][_0x1e08e2(0x2a7)](_0x2d8369[_0x1e08e2(0x1a0)](this[_0x1e08e2(0x266)]),_0x2d8369[_0x1e08e2(0x14e)](_0x1d0f62=>{const _0x378aa9=_0x1e08e2;if(_0x1d0f62){const _0xfbf349=_0x1d0f62[_0x378aa9(0x1d5)];return _0x29d8fd[_0x378aa9(0x372)](this[_0x378aa9(0x22e)]['getCollabCursors$'](this['_context'][_0x378aa9(0xf7)]),this[_0x378aa9(0x16e)]['currentTheme$'])['pipe'](_0x2d8369[_0x378aa9(0x2ed)](([_0x5840bd,_0x31c619])=>{const _0x3a784e=_0x378aa9,_0xbdd8ab=new Map();return _0x5840bd[_0x3a784e(0x190)]((_0xe9526f,_0x5a6a15)=>{const _0x43681b=_0x3a784e;if(_0xe9526f[_0x43681b(0xd7)]===_0xfbf349){const _0x118aca={..._0xe9526f};_0x118aca[_0x43681b(0x202)]=this['_themeService']['getColorFromTheme'](_0xe9526f[_0x43681b(0x202)]),_0xbdd8ab[_0x43681b(0x22d)](_0x5a6a15,_0x118aca);}}),{'skeleton':_0x1d0f62,'cursors':_0xbdd8ab};}));}return _0x29d8fd['of']({'skeleton':null,'cursors':new Map()});}))[_0x1e08e2(0x329)](({skeleton:_0x4d5b61,cursors:_0x9a9fee})=>{const _0x363553=_0x1e08e2;this[_0x363553(0x33a)](),_0x4d5b61&&this[_0x363553(0x240)](_0x4d5b61,_0x9a9fee);}),this['_sheetSkeletonManagerService'][_0x1e08e2(0x10b)][_0x1e08e2(0x329)](_0x22fa94=>{const _0xd3ab3a=_0x1e08e2;if(_0x22fa94==null)return;const {skeleton:_0x2e427b}=_0x22fa94,{scene:_0x498fa3}=this[_0xd3ab3a(0x25c)];_0x498fa3[_0xd3ab3a(0x2cf)]['subscribeEvent'](_0x1b00e8[_0xd3ab3a(0x342)](_0x5b7124=>{const _0x50e4ef=_0xd3ab3a;var _0x4859a9,_0x27df20;const {offsetX:_0x502a0d,offsetY:_0x3a51a6}=_0x5b7124,{x:_0x2cc8c4,y:_0x5799f5}=_0x498fa3[_0x50e4ef(0x1fa)](_0x57a9e5[_0x50e4ef(0x193)]['FromArray']([_0x502a0d,_0x3a51a6])),{scaleX:_0xadf6f2,scaleY:_0x262ae6}=_0x498fa3[_0x50e4ef(0x185)](),_0x5c7795=_0x498fa3[_0x50e4ef(0x2b5)](_0x57a9e5[_0x50e4ef(0x14a)][_0x50e4ef(0x22c)]),_0x5df29b=_0x498fa3[_0x50e4ef(0x2b1)](_0x57a9e5[_0x50e4ef(0x193)][_0x50e4ef(0x223)]([_0x2cc8c4,_0x5799f5]),_0x5c7795),_0x524d8c=_0x2e427b[_0x50e4ef(0xf5)](_0x502a0d,_0x3a51a6,_0xadf6f2,_0x262ae6,_0x5df29b);((_0x4859a9=this[_0x50e4ef(0x319)])==null?void 0x0:_0x4859a9[_0x50e4ef(0x337)])===_0x524d8c[_0x50e4ef(0x337)]&&((_0x27df20=this['_lastPointer'])==null?void 0x0:_0x27df20[_0x50e4ef(0x1a6)])===_0x524d8c[_0x50e4ef(0x1a6)]||this[_0x50e4ef(0x212)][_0x50e4ef(0x190)](_0x21a186=>{_0x21a186['onMouseMove'](_0x524d8c);});},0x64));});}['_updateCollabCursors'](_0x52ddf6,_0x4ccf60){const _0x59f9ba=_0x48d395;var _0x3157c9;const _0x5142c5=(_0x3157c9=this[_0x59f9ba(0x11b)][_0x59f9ba(0xdd)]())==null?void 0x0:_0x3157c9['skeleton'];if(!_0x5142c5)return;const _0x5c1da6=this[_0x59f9ba(0x13b)]();if(!_0x5c1da6)return;this['_cursors'][_0x59f9ba(0x190)](_0x2893f6=>{const _0x54f2c0=_0x59f9ba;_0x2893f6[_0x54f2c0(0x370)]();});const {scene:_0x4dac9a}=_0x5c1da6,_0x2f18a4=_0x5e162e(Array[_0x59f9ba(0x1ed)](_0x4ccf60['values']()))['map'](_0x4c30fa=>{const _0x2c9065=_0x59f9ba,{color:_0x228d96,range:_0x40825a,name:_0xef208d,selection:_0x3e4a65,sheetID:_0x360f61}=_0x4c30fa,{startColumn:_0x5f3b97,startRow:_0x565926,endColumn:_0x364ccc,endRow:_0x2f47b9}=_0x40825a,_0x150698=_0x5bc04a['getCoordByCell'](_0x565926,_0x5f3b97,_0x4dac9a,_0x5142c5),_0x4a32f3=_0x5bc04a['getCoordByCell'](_0x2f47b9,_0x364ccc,_0x4dac9a,_0x5142c5),{columnHeaderHeightAndMarginTop:_0x260393}=_0x5142c5,{startX:_0xda62bd,startY:_0x53577a}=_0x150698,{endX:_0x318d56,endY:_0x19a932}=_0x4a32f3,_0x1d758a=_0x318d56-_0xda62bd,_0x55818c=_0x19a932-_0x53577a,_0x2e45c6={'labelPosition':_0x53577a-_0x260393>=_0x2bebc0?_0x2c9065(0x20d):'bottom','sheetID':_0x360f61,'range':_0x40825a,'color':_0x228d96,'name':_0xef208d,'selection':_0x3e4a65,'left':_0xda62bd,'top':_0x53577a,'width':_0x1d758a,'height':_0x55818c,'evented':!0x1,'zIndex':_0x2f17b2};return new _0x4b1109(_0xef208d,_0x2e45c6);});_0x4dac9a['addObjects'](_0x2f18a4,_0x320a52),this['_cursors']=new Set(_0x2f18a4);}[_0x48d395(0x33a)](){const _0x3bdbfb=_0x48d395;var _0x5b9bca;(_0x5b9bca=this[_0x3bdbfb(0x212)])==null||_0x5b9bca[_0x3bdbfb(0x190)](_0x4cfdf0=>_0x4cfdf0[_0x3bdbfb(0xdc)]());}[_0x48d395(0x13b)](){const _0x514ba2=_0x48d395;return _0x5bc04a['getSheetObject'](this[_0x514ba2(0x25c)][_0x514ba2(0xed)],this[_0x514ba2(0x25c)]);}};_0x14f631=_0x47bbc6([_0xa0261(0x1,_0x1b00e8[_0x48d395(0x124)](_0x5bc04a['SheetSkeletonManagerService'])),_0xa0261(0x2,_0x1b00e8[_0x48d395(0x124)](_0x56a253)),_0xa0261(0x3,_0x1b00e8[_0x48d395(0x124)](_0x1b00e8[_0x48d395(0x297)]))],_0x14f631);function _0x5e162e(_0x775a3d){const _0x2a723f=_0x48d395,_0x469626=new Map();return _0x775a3d[_0x2a723f(0x190)](_0x378b8a=>{const _0x3955fd=_0x2a723f;if(_0x469626[_0x3955fd(0x1fd)](_0x378b8a[_0x3955fd(0x361)])){const _0x241e5b=_0x469626[_0x3955fd(0x2da)](_0x378b8a[_0x3955fd(0x361)]);_0x241e5b[_0x3955fd(0x327)]+=',\x20'+_0x378b8a['name'];}else _0x469626['set'](_0x378b8a[_0x3955fd(0x361)],_0x378b8a);}),Array[_0x2a723f(0x1ed)](_0x469626['values']());}var _0x2d4876=function(){const _0x9c985=_0x48d395;return _0x2d4876=Object['assign']||function(_0x213735){const _0x1f58c8=_0x1ad9;for(var _0x55035c,_0x33ae70=0x1,_0x2b4f83=arguments['length'];_0x33ae70<_0x2b4f83;_0x33ae70++){_0x55035c=arguments[_0x33ae70];for(var _0x383279 in _0x55035c)Object[_0x1f58c8(0x142)]['hasOwnProperty'][_0x1f58c8(0x16b)](_0x55035c,_0x383279)&&(_0x213735[_0x383279]=_0x55035c[_0x383279]);}return _0x213735;},_0x2d4876[_0x9c985(0x201)](this,arguments);},_0x4d8eb4=function(_0x26de1c,_0x41e06d){const _0x1c01d8=_0x48d395;var _0x39f87e={};for(var _0xb5cd37 in _0x26de1c)Object[_0x1c01d8(0x142)][_0x1c01d8(0x303)][_0x1c01d8(0x16b)](_0x26de1c,_0xb5cd37)&&_0x41e06d[_0x1c01d8(0x320)](_0xb5cd37)<0x0&&(_0x39f87e[_0xb5cd37]=_0x26de1c[_0xb5cd37]);if(_0x26de1c!=null&&typeof Object[_0x1c01d8(0x1f9)]==_0x1c01d8(0x274)){for(var _0x3abcf8=0x0,_0xb5cd37=Object[_0x1c01d8(0x1f9)](_0x26de1c);_0x3abcf8<_0xb5cd37['length'];_0x3abcf8++)_0x41e06d[_0x1c01d8(0x320)](_0xb5cd37[_0x3abcf8])<0x0&&Object[_0x1c01d8(0x142)][_0x1c01d8(0x367)][_0x1c01d8(0x16b)](_0x26de1c,_0xb5cd37[_0x3abcf8])&&(_0x39f87e[_0xb5cd37[_0x3abcf8]]=_0x26de1c[_0xb5cd37[_0x3abcf8]]);}return _0x39f87e;},_0x24f12f=_0x54241e[_0x48d395(0x34b)](function(_0x14d01d,_0x3c2cfb){const _0x39103c=_0x48d395;var _0x320f40=_0x14d01d[_0x39103c(0x1f1)],_0x2eca81=_0x14d01d['id'],_0x1f382e=_0x14d01d[_0x39103c(0x16a)],_0x36e66c=_0x14d01d[_0x39103c(0xd9)],_0x53b3e2=_0x4d8eb4(_0x14d01d,[_0x39103c(0x1f1),'id',_0x39103c(0x16a),'extend']),_0x5b3a77=_0x39103c(0x24a)[_0x39103c(0x2c9)](_0x2eca81,'\x20')['concat'](_0x1f382e||'')[_0x39103c(0x285)](),_0x13fb13=_0x54241e[_0x39103c(0x1f7)]('_'[_0x39103c(0x2c9)](_0xa6b640()));return _0x6b9b29(_0x320f40,''[_0x39103c(0x2c9)](_0x2eca81),{'defIds':_0x320f40[_0x39103c(0x29f)],'idSuffix':_0x13fb13[_0x39103c(0xe1)]},_0x2d4876({'ref':_0x3c2cfb,'className':_0x5b3a77},_0x53b3e2),_0x36e66c);});function _0x6b9b29(_0x9bc9e9,_0xdb1f06,_0x4bd0d9,_0x908a6b,_0x1296f3){const _0x589825=_0x48d395;return _0x54241e[_0x589825(0x366)](_0x9bc9e9['tag'],_0x2d4876(_0x2d4876({'key':_0xdb1f06},_0x4cd6cc(_0x9bc9e9,_0x4bd0d9,_0x1296f3)),_0x908a6b),(_0x4099a7(_0x9bc9e9,_0x4bd0d9)[_0x589825(0x306)]||[])[_0x589825(0x2ed)](function(_0x181340,_0x1f9607){const _0x52f01a=_0x589825;return _0x6b9b29(_0x181340,''[_0x52f01a(0x2c9)](_0xdb1f06,'-')[_0x52f01a(0x2c9)](_0x9bc9e9[_0x52f01a(0x139)],'-')[_0x52f01a(0x2c9)](_0x1f9607),_0x4bd0d9,void 0x0,_0x1296f3);}));}function _0x4cd6cc(_0x332e62,_0x53781e,_0x10b939){const _0x217258=_0x48d395;var _0x2a308d=_0x2d4876({},_0x332e62[_0x217258(0x1c4)]);_0x10b939!=null&&_0x10b939[_0x217258(0x235)]&&_0x2a308d['fill']===_0x217258(0x235)&&(_0x2a308d[_0x217258(0xda)]=_0x10b939[_0x217258(0x235)]),_0x332e62['tag']===_0x217258(0x1e9)&&_0x2a308d['id']&&(_0x2a308d['id']=_0x2a308d['id']+_0x53781e[_0x217258(0x21b)]),Object[_0x217258(0x192)](_0x2a308d)[_0x217258(0x190)](function(_0x22d534){const _0x3e758c=_0x217258;var _0x338992=_0x22d534[0x0],_0x5f4a91=_0x22d534[0x1];_0x338992==='mask'&&typeof _0x5f4a91==_0x3e758c(0x169)&&(_0x2a308d[_0x338992]=_0x5f4a91[_0x3e758c(0x103)](/url\(#(.*)\)/,_0x3e758c(0x261)[_0x3e758c(0x2c9)](_0x53781e['idSuffix'],')')));});var _0x3cc164=_0x53781e['defIds'];return!_0x3cc164||_0x3cc164['length']===0x0||(_0x332e62[_0x217258(0x139)]===_0x217258(0x1b5)&&_0x2a308d[_0x217258(0x1c1)]&&(_0x2a308d[_0x217258(0x1c1)]=_0x2a308d['xlink:href']+_0x53781e[_0x217258(0x21b)]),Object['entries'](_0x2a308d)[_0x217258(0x190)](function(_0x1f9fa8){const _0x207539=_0x217258;var _0x1d44e6=_0x1f9fa8[0x0],_0x22c26c=_0x1f9fa8[0x1];typeof _0x22c26c=='string'&&(_0x2a308d[_0x1d44e6]=_0x22c26c[_0x207539(0x103)](/url\(#(.*)\)/,_0x207539(0x261)[_0x207539(0x2c9)](_0x53781e[_0x207539(0x21b)],')')));})),_0x2a308d;}function _0x4099a7(_0x2af295,_0xa88d80){const _0x222f0b=_0x48d395;var _0x83892a,_0xfb03c7=_0xa88d80[_0x222f0b(0x29f)];return!_0xfb03c7||_0xfb03c7['length']===0x0?_0x2af295:_0x2af295[_0x222f0b(0x139)]===_0x222f0b(0xdb)&&(!((_0x83892a=_0x2af295[_0x222f0b(0x306)])===null||_0x83892a===void 0x0)&&_0x83892a[_0x222f0b(0x249)])?_0x2d4876(_0x2d4876({},_0x2af295),{'children':_0x2af295[_0x222f0b(0x306)]['map'](function(_0x535c72){const _0x493f5a=_0x222f0b;return typeof _0x535c72['attrs']['id']=='string'&&_0xfb03c7&&_0xfb03c7[_0x493f5a(0x133)](_0x535c72[_0x493f5a(0x1c4)]['id'])?_0x2d4876(_0x2d4876({},_0x535c72),{'attrs':_0x2d4876(_0x2d4876({},_0x535c72[_0x493f5a(0x1c4)]),{'id':_0x535c72[_0x493f5a(0x1c4)]['id']+_0xa88d80[_0x493f5a(0x21b)]})}):_0x535c72;})}):_0x2af295;}function _0xa6b640(){const _0x260359=_0x48d395;return Math[_0x260359(0x323)]()[_0x260359(0x13a)](0x24)[_0x260359(0x216)](0x2,0x8);}_0x24f12f[_0x48d395(0x315)]=_0x48d395(0x355);var _0x247c33={'tag':_0x48d395(0x33b),'attrs':{'xmlns':_0x48d395(0x33d),'fill':_0x48d395(0x199),'viewBox':'0\x200\x2016\x2016','width':_0x48d395(0x28e),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x48d395(0x2b3)},'children':[{'tag':_0x48d395(0x1e6),'attrs':{'stroke':_0x48d395(0x155),'d':_0x48d395(0x2b8),'strokeLinecap':_0x48d395(0x2e7),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x48d395(0xdb),'attrs':{},'children':[{'tag':_0x48d395(0x2ba),'attrs':{'id':_0x48d395(0x218)},'children':[{'tag':_0x48d395(0x1e6),'attrs':{'fill':_0x48d395(0x27b),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x177435=_0x54241e[_0x48d395(0x34b)](function(_0x499242,_0x52084b){const _0x1aa5a6=_0x48d395;return _0x54241e[_0x1aa5a6(0x366)](_0x24f12f,Object[_0x1aa5a6(0x2c4)]({},_0x499242,{'id':_0x1aa5a6(0x2bd),'ref':_0x52084b,'icon':_0x247c33}));});_0x177435[_0x48d395(0x315)]=_0x48d395(0x32a);var _0x1a67e1={'tag':_0x48d395(0x33b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x48d395(0x199),'viewBox':'0\x200\x2017\x2016','width':_0x48d395(0x28e),'height':_0x48d395(0x28e)},'children':[{'tag':'g','attrs':{'clipPath':_0x48d395(0x226)},'children':[{'tag':_0x48d395(0x1e6),'attrs':{'stroke':_0x48d395(0x155),'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':_0x48d395(0x2e7),'strokeLinejoin':_0x48d395(0x2e7),'strokeWidth':1.2}}]},{'tag':_0x48d395(0xdb),'attrs':{},'children':[{'tag':_0x48d395(0x2ba),'attrs':{'id':_0x48d395(0x179)},'children':[{'tag':_0x48d395(0x1e6),'attrs':{'fill':_0x48d395(0x27b),'d':_0x48d395(0x19f),'transform':_0x48d395(0x236)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x582ce9=_0x54241e['forwardRef'](function(_0x28524d,_0x3e0958){const _0x159e03=_0x48d395;return _0x54241e['createElement'](_0x24f12f,Object[_0x159e03(0x2c4)]({},_0x28524d,{'id':'on-line-icon','ref':_0x3e0958,'icon':_0x1a67e1}));});_0x582ce9[_0x48d395(0x315)]='OnLineIcon';function _0x15cc50(_0x4e936a){const _0xa5077a=_0x48d395;switch(_0x4e936a){case _0x5609d2[_0xa5077a(0x333)][_0xa5077a(0x36f)]:return'collabStatus.offline';case _0x5609d2[_0xa5077a(0x333)][_0xa5077a(0x2d0)]:return _0xa5077a(0x17e);case _0x5609d2[_0xa5077a(0x333)][_0xa5077a(0xf3)]:return _0xa5077a(0x1b9);case _0x5609d2[_0xa5077a(0x333)]['NOT_COLLAB']:return _0xa5077a(0x20f);case _0x5609d2[_0xa5077a(0x333)][_0xa5077a(0x343)]:case _0x5609d2['CollaborationStatus'][_0xa5077a(0x1bb)]:return _0xa5077a(0x358);case _0x5609d2[_0xa5077a(0x333)]['SYNCED']:case _0x5609d2['CollaborationStatus']['PENDING']:return'collabStatus.synced';}}function _0xc3b106(_0x3beeb7){const _0x24b6d5=_0x48d395,{status$:_0x4ebcca}=_0x3beeb7,_0x3446aa=_0x4d5864[_0x24b6d5(0x353)](_0x4ebcca,_0x5609d2[_0x24b6d5(0x333)][_0x24b6d5(0x245)]),_0x342a71=_0x4d5864[_0x24b6d5(0x248)](_0x1b00e8['LocaleService']),_0x59848b=_0x4d5864['useDependency'](_0x5609d2[_0x24b6d5(0x321)]),_0x26955d=_0x3446aa!==_0x5609d2[_0x24b6d5(0x333)]['OFFLINE'],_0x1e9894=_0x342a71['t'](_0x15cc50(_0x3446aa)),_0x5c4c5b=_0x26955d?_0x2e1e51[_0x24b6d5(0x205)](_0x582ce9,{}):_0x2e1e51[_0x24b6d5(0x205)](_0x177435,{}),_0x12f696=_0x54241e[_0x24b6d5(0x21e)](()=>{const _0x1ec556=_0x24b6d5;_0x26955d||_0x59848b[_0x1ec556(0x34e)]();},[_0x26955d,_0x59848b]);function _0x1bf0be(){const _0x4d6703=_0x24b6d5;return _0x2e1e51[_0x4d6703(0xfa)](_0x4d6703(0x25e),{'className':_0x4d6703(0x345),'onClick':_0x12f696,'children':[_0x2e1e51['jsx'](_0x4d6703(0x25e),{'className':_0x17355c[_0x4d6703(0x147)](_0x4d6703(0x1a8),{'univer-text-green-500':_0x26955d,'univer-text-red-500':!_0x26955d}),'children':_0x5c4c5b}),_0x2e1e51[_0x4d6703(0x205)](_0x4d6703(0x25e),{'className':_0x4d6703(0x15c),'children':_0x1e9894})]});}return _0x26955d?_0x1bf0be():_0x2e1e51[_0x24b6d5(0x205)](_0x17355c[_0x24b6d5(0x2b0)],{'title':_0x342a71['t']('collab-client.tooltip.reconnect'),'children':_0x1bf0be()});}var _0x38b8aa=Object[_0x48d395(0x365)],_0x124db9=(_0x20eead,_0x50898a,_0x4e8970,_0x331e98)=>{const _0x5034c0=_0x48d395;for(var _0x2c5cf1=_0x331e98>0x1?void 0x0:_0x331e98?_0x38b8aa(_0x50898a,_0x4e8970):_0x50898a,_0x265cf6=_0x20eead[_0x5034c0(0x249)]-0x1,_0x5029bb;_0x265cf6>=0x0;_0x265cf6--)(_0x5029bb=_0x20eead[_0x265cf6])&&(_0x2c5cf1=_0x5029bb(_0x2c5cf1)||_0x2c5cf1);return _0x2c5cf1;},_0x49d059=(_0x2511bb,_0xf29d2c)=>(_0x798635,_0x21810d)=>_0xf29d2c(_0x798635,_0x21810d,_0x2511bb);_0x125b65[_0x48d395(0xea)]=class extends _0x1b00e8[_0x48d395(0xee)]{constructor(_0x287152,_0x2882c8,_0x4df17d,_0x5de5f6){const _0x3a8c02=_0x48d395;super(),_0x5b557d(this,_0x3a8c02(0x1f2),new _0x29d8fd[(_0x3a8c02(0xeb))](_0x5609d2['CollaborationStatus']['NOT_COLLAB'])),(this['_univerInstanceService']=_0x287152,this[_0x3a8c02(0x1cb)]=_0x2882c8,this[_0x3a8c02(0x1dc)]=_0x4df17d,this[_0x3a8c02(0x31a)]=_0x5de5f6,this[_0x3a8c02(0x2aa)](),this[_0x3a8c02(0x17c)]());}[_0x48d395(0x17c)](){const _0x55711a=_0x48d395;this['disposeWithMe'](this[_0x55711a(0x21a)]['focused$'][_0x55711a(0x2a7)](_0x29d8fd[_0x55711a(0x14e)](()=>{const _0x4c55e5=_0x55711a,_0x54c30f=this['_univerInstanceService']['getFocusedUnit']();return _0x54c30f?this[_0x4c55e5(0x1dc)]['getCollabEntity$'](_0x54c30f[_0x4c55e5(0xf4)]()):_0x29d8fd['of'](null);}),_0x29d8fd[_0x55711a(0x14e)](_0x331e6f=>_0x331e6f?_0x331e6f[_0x55711a(0x32f)]:_0x29d8fd['of'](_0x5609d2['CollaborationStatus'][_0x55711a(0x245)])))['subscribe'](_0x4b0cd4=>{const _0x377912=_0x55711a;this[_0x377912(0x1f2)][_0x377912(0x171)](_0x4b0cd4);}));}[_0x48d395(0x2aa)](){const _0x4cb2b6=_0x48d395;this[_0x4cb2b6(0xe6)](this[_0x4cb2b6(0x31a)][_0x4cb2b6(0x25d)](_0x4d5864['BuiltInUIPart'][_0x4cb2b6(0x13f)],()=>_0x4d5864[_0x4cb2b6(0x317)](_0x57cf98({'status$':this[_0x4cb2b6(0x1f2)]['asObservable']()}),this[_0x4cb2b6(0x1cb)])));}},_0x125b65['DesktopCollaborationStatusDisplayController']=_0x124db9([_0x49d059(0x0,_0x1b00e8[_0x48d395(0x23e)]),_0x49d059(0x1,_0x1b00e8[_0x48d395(0x124)](_0x1b00e8[_0x48d395(0x120)])),_0x49d059(0x2,_0x1b00e8[_0x48d395(0x124)](_0x5609d2[_0x48d395(0x2e0)])),_0x49d059(0x3,_0x4d5864[_0x48d395(0x126)])],_0x125b65[_0x48d395(0xea)]);function _0x57cf98(_0x1a6fc9){const {status$:_0x476322}=_0x1a6fc9;return function(){const _0x283aca=_0x1ad9;return _0x2e1e51[_0x283aca(0x205)](_0xc3b106,{'status$':_0x476322});};}var _0x5c0db9=Object[_0x48d395(0x365)],_0x1d522e=(_0x1f37fa,_0x12f4a9,_0x31a26c,_0xc9b901)=>{const _0x43b7c7=_0x48d395;for(var _0x15c697=_0xc9b901>0x1?void 0x0:_0xc9b901?_0x5c0db9(_0x12f4a9,_0x31a26c):_0x12f4a9,_0x384942=_0x1f37fa[_0x43b7c7(0x249)]-0x1,_0x237f40;_0x384942>=0x0;_0x384942--)(_0x237f40=_0x1f37fa[_0x384942])&&(_0x15c697=_0x237f40(_0x15c697)||_0x15c697);return _0x15c697;},_0x4378d4=(_0x7b837b,_0x237e83)=>(_0x5dba2b,_0x31e1f3)=>_0x237e83(_0x5dba2b,_0x31e1f3,_0x7b837b);let _0x314898=class extends _0x1b00e8[_0x48d395(0xee)]{constructor(_0x1aed2d,_0x4b9e55,_0x1599e7,_0x36bcf9,_0x5d9736,_0x6591f4){const _0x186ad9=_0x48d395;super(),this[_0x186ad9(0x29a)]=_0x1aed2d,this[_0x186ad9(0x1d9)]=_0x4b9e55,this['_collaborationUIEventService']=_0x1599e7,this['_messageService']=_0x36bcf9,this['_notificationService']=_0x5d9736,this[_0x186ad9(0x154)]=_0x6591f4,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x48d395(0x121)](){const _0x5b2221=_0x48d395;this[_0x5b2221(0xe6)](this[_0x5b2221(0x29a)]['registerBeforeClose'](()=>{const _0x381082=_0x5b2221;if(this[_0x381082(0x1d9)][_0x381082(0x2d1)][_0x381082(0x243)])return this[_0x381082(0x154)]['t'](_0x381082(0x276));}));}['_initEvent'](){const _0x5a6166=_0x48d395;this[_0x5a6166(0xe6)](this[_0x5a6166(0x11d)][_0x5a6166(0x2e6)][_0x5a6166(0x329)](_0x4c28dc=>{const _0x282d70=_0x5a6166;_0x4c28dc['id']===_0x5609d2[_0x282d70(0x311)][_0x282d70(0x2eb)]&&this[_0x282d70(0x143)][_0x282d70(0x35a)]({'type':_0x17355c[_0x282d70(0xe5)][_0x282d70(0x107)],'content':this[_0x282d70(0x154)]['t'](_0x282d70(0x2d8))}),_0x4c28dc['id']===_0x5609d2[_0x282d70(0x311)][_0x282d70(0x298)]&&this[_0x282d70(0x143)][_0x282d70(0x35a)]({'type':_0x17355c[_0x282d70(0xe5)][_0x282d70(0x107)],'content':this[_0x282d70(0x154)]['t']('collaboration.closeRoom')}),_0x4c28dc['id']===_0x5609d2[_0x282d70(0x311)]['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this['_localeService']['t'](_0x282d70(0x2c0)),'content':this[_0x282d70(0x154)]['t'](_0x282d70(0xde)),'type':_0x282d70(0x2fc),'duration':0x0}),_0x4c28dc['id']===_0x5609d2[_0x282d70(0x311)]['CONFLICT']&&this[_0x282d70(0x143)][_0x282d70(0x35a)]({'type':_0x17355c[_0x282d70(0xe5)][_0x282d70(0x346)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x4c28dc[_0x282d70(0x156)]+')'}),_0x4c28dc['id']===_0x5609d2[_0x282d70(0x311)][_0x282d70(0x31f)]&&this['_messageService'][_0x282d70(0x35a)]({'type':_0x17355c[_0x282d70(0xe5)]['Warning'],'content':this['_localeService']['t'](_0x4c28dc[_0x282d70(0x156)]||'')}),_0x4c28dc['id']===_0x5609d2[_0x282d70(0x311)][_0x282d70(0x109)]&&this[_0x282d70(0x143)][_0x282d70(0x35a)]({'type':_0x17355c[_0x282d70(0xe5)][_0x282d70(0x107)],'content':this[_0x282d70(0x154)]['t']('session.will-retry')}),_0x4c28dc['id']===_0x5609d2['CollaborationUIEventId'][_0x282d70(0x160)]&&this['_messageService']['show']({'type':_0x17355c['MessageType']['Error'],'content':this[_0x282d70(0x154)]['t'](_0x282d70(0x152))}),_0x4c28dc['id']===_0x5609d2[_0x282d70(0x311)][_0x282d70(0x108)]&&this[_0x282d70(0x143)]['show']({'type':_0x17355c['MessageType'][_0x282d70(0x346)],'content':this[_0x282d70(0x154)]['t'](_0x282d70(0x1e3))});}));}};_0x314898=_0x1d522e([_0x4378d4(0x0,_0x4d5864[_0x48d395(0x277)]),_0x4378d4(0x1,_0x5609d2[_0x48d395(0x1ee)]),_0x4378d4(0x2,_0x1b00e8['Inject'](_0x5609d2[_0x48d395(0x258)])),_0x4378d4(0x3,_0x4d5864[_0x48d395(0x1e5)]),_0x4378d4(0x4,_0x4d5864[_0x48d395(0x246)]),_0x4378d4(0x5,_0x1b00e8[_0x48d395(0x124)](_0x1b00e8[_0x48d395(0x1f6)]))],_0x314898);const _0x31dc1f=_0x48d395(0x26c),_0x206158={},_0x53b938=_0x1b00e8[_0x48d395(0x283)]('uni.network.url-service');var _0x3a5ce4=Object[_0x48d395(0x365)],_0x31549e=(_0x1893cb,_0x40b368,_0x303c0d,_0x1b348e)=>{const _0x74297d=_0x48d395;for(var _0xe9baad=_0x1b348e>0x1?void 0x0:_0x1b348e?_0x3a5ce4(_0x40b368,_0x303c0d):_0x40b368,_0x3b2473=_0x1893cb[_0x74297d(0x249)]-0x1,_0x143bb9;_0x3b2473>=0x0;_0x3b2473--)(_0x143bb9=_0x1893cb[_0x3b2473])&&(_0xe9baad=_0x143bb9(_0xe9baad)||_0xe9baad);return _0xe9baad;},_0x2d9ea3=(_0x474a17,_0x2c1f17)=>(_0x1d0627,_0xd456a8)=>_0x2c1f17(_0x1d0627,_0xd456a8,_0x474a17);_0x125b65[_0x48d395(0x2a4)]=class extends _0x1b00e8[_0x48d395(0x369)]{constructor(_0x5bc32e,_0x4ce3e6,_0x75e69a,_0x1f8450,_0x13f4ce){const _0x82e36f=_0x48d395;super(),this[_0x82e36f(0xfd)]=_0x5bc32e,this[_0x82e36f(0x125)]=_0x4ce3e6,this['_commandService']=_0x75e69a,this[_0x82e36f(0x2b2)]=_0x1f8450,_0x13f4ce?_0x13f4ce==null||_0x13f4ce['whenReady']()[_0x82e36f(0x252)](()=>this[_0x82e36f(0x257)]()):(this[_0x82e36f(0x125)][_0x82e36f(0x2c7)](_0x82e36f(0x2a0),_0x82e36f(0x20b)),this[_0x82e36f(0x257)]());}async[_0x48d395(0x257)](){const _0x4169cf=_0x48d395,_0x67438a=this[_0x4169cf(0xfd)]['getParam'](_0x4169cf(0xed)),_0x2185d1=this['_urlService'][_0x4169cf(0x140)](_0x4169cf(0x149)),_0x43add6=this[_0x4169cf(0xfd)]['getParam']('subunit');if(!_0x67438a||!_0x2185d1){this[_0x4169cf(0x125)]['debug'](_0x4169cf(0x2a0),_0x4169cf(0x28a));return;}const _0x33c500=await this[_0x4169cf(0x2b2)][_0x4169cf(0x2a6)](_0x67438a,Number(_0x2185d1),_0x43add6);_0x33c500&&_0x33c500 instanceof _0x1b00e8[_0x4169cf(0x2e9)]&&this[_0x4169cf(0x29e)](_0x33c500);}async['_setupSubUnitSync'](_0x1c25a3){const _0x2b8bb5=_0x48d395;await this[_0x2b8bb5(0x251)](_0x1c25a3),_0x1c25a3[_0x2b8bb5(0x29b)][_0x2b8bb5(0x2a7)](_0x29d8fd['takeUntil'](this['dispose$']))[_0x2b8bb5(0x329)](_0x2be8a0=>{const _0x596c01=_0x2b8bb5;_0x2be8a0&&this[_0x596c01(0x300)](_0x2be8a0);}),this['_urlService']['urlChange$'][_0x2b8bb5(0x2a7)](_0x29d8fd[_0x2b8bb5(0x1a0)](this[_0x2b8bb5(0x266)]))[_0x2b8bb5(0x329)](()=>this['_updateSubUnitFromURLParams'](_0x1c25a3));}[_0x48d395(0x300)](_0x5a953f,_0x414608=!0x1){const _0x44c2ae=_0x48d395,_0x4192bb=this['_urlService'][_0x44c2ae(0x140)]('subunit');_0x5a953f[_0x44c2ae(0x2c2)]()!==_0x4192bb&&this['_urlService'][_0x44c2ae(0x32c)](_0x44c2ae(0x324),_0x5a953f[_0x44c2ae(0x2c2)](),_0x414608);}async['_updateSubUnitFromURLParams'](_0x5e0d54){const _0x5142aa=_0x48d395;var _0x3b7a7d;const _0x4b2546=this[_0x5142aa(0xfd)][_0x5142aa(0x140)]('subunit');if(!_0x4b2546||!_0x5e0d54[_0x5142aa(0x2bf)](_0x4b2546)){const _0x31e662=_0x5e0d54['getUnhiddenWorksheets']()[0x0],_0x14d72c=_0x5e0d54[_0x5142aa(0x2bf)](_0x31e662);if(!_0x14d72c)return;this[_0x5142aa(0x300)](_0x14d72c,!0x0),await this['_commandService'][_0x5142aa(0x136)](_0x413365[_0x5142aa(0x144)]['id'],{'unitId':_0x5e0d54[_0x5142aa(0xf4)](),'subUnitId':_0x31e662});return;}((_0x3b7a7d=_0x5e0d54[_0x5142aa(0x177)]())==null?void 0x0:_0x3b7a7d[_0x5142aa(0x2c2)]())!==_0x4b2546&&await this['_commandService'][_0x5142aa(0x136)](_0x413365[_0x5142aa(0x144)]['id'],{'unitId':_0x5e0d54[_0x5142aa(0xf4)](),'subUnitId':_0x4b2546});}},_0x125b65[_0x48d395(0x2a4)]=_0x31549e([_0x2d9ea3(0x0,_0x53b938),_0x2d9ea3(0x1,_0x1b00e8[_0x48d395(0x29d)]),_0x2d9ea3(0x2,_0x1b00e8[_0x48d395(0x1f3)]),_0x2d9ea3(0x3,_0x1b00e8[_0x48d395(0x124)](_0x5609d2['DataLoaderService'])),_0x2d9ea3(0x4,_0x1b00e8[_0x48d395(0x1e4)](_0x5de1d5[_0x48d395(0x301)]))],_0x125b65['CollaborationDataLoaderController']);var _0x5906f9=Object[_0x48d395(0x365)],_0x42e8e5=(_0x288757,_0x55e7d0,_0x26d918,_0x3e8209)=>{for(var _0x52f360=_0x3e8209>0x1?void 0x0:_0x3e8209?_0x5906f9(_0x55e7d0,_0x26d918):_0x55e7d0,_0x1dc3ee=_0x288757['length']-0x1,_0x453f12;_0x1dc3ee>=0x0;_0x1dc3ee--)(_0x453f12=_0x288757[_0x1dc3ee])&&(_0x52f360=_0x453f12(_0x52f360)||_0x52f360);return _0x52f360;},_0xf21554=(_0x47cc8a,_0xf4b075)=>(_0x3afaca,_0x1d4b5b)=>_0xf4b075(_0x3afaca,_0x1d4b5b,_0x47cc8a);let _0x581b85=class{constructor(_0x25e78f,_0x1fab32,_0x3d27d3){const _0x52ed1c=_0x48d395;this[_0x52ed1c(0x1cb)]=_0x25e78f,this[_0x52ed1c(0x221)]=_0x1fab32,this[_0x52ed1c(0x165)]=_0x3d27d3;}[_0x48d395(0xdf)](_0x4aef76){const _0x28cbfb=_0x48d395;this[_0x28cbfb(0x176)](_0x4aef76),this[_0x28cbfb(0x1d1)](_0x4aef76);}[_0x48d395(0x104)](_0x3c88bc){const _0x1da575=_0x48d395,{unitID:_0x28447e}=_0x3c88bc,_0x3fd01f=this[_0x1da575(0x165)][_0x1da575(0x1c9)](_0x28447e)[_0x1da575(0x10f)](_0x233100['DocIMEInputManagerService']),{redoCache:_0x2981d2}=_0x3fd01f[_0x1da575(0x18f)]();if(_0x2981d2[_0x1da575(0x249)]===0x0)return _0x3c88bc;let _0xe85574=_0x1b00e8[_0x1da575(0x36d)][_0x1da575(0x2dc)](_0x3c88bc[_0x1da575(0x1d2)][0x0]);for(let _0x9fc896=0x0;_0x9fc896<_0x2981d2[_0x1da575(0x249)];_0x9fc896++){const _0x3aec22={'id':'doc.mutation.rich-text-editing','params':{..._0x2981d2[_0x9fc896]}},_0x24e881=this['_transformService'][_0x1da575(0x115)](_0xe85574,_0x3aec22,!0x1);if(_0x18f32f[_0x1da575(0x111)](_0x24e881))throw _0x24e881[_0x1da575(0x2fc)];_0xe85574=_0x24e881[_0x1da575(0xf0)];}return{..._0x1b00e8[_0x1da575(0x36d)][_0x1da575(0x2dc)](_0x3c88bc),'mutations':[_0xe85574]};}[_0x48d395(0x176)](_0x1a4dac){const _0x1f5b75=_0x48d395,{unitID:_0x26f334}=_0x1a4dac,_0x4a077f=this[_0x1f5b75(0x165)][_0x1f5b75(0x1c9)](_0x26f334)[_0x1f5b75(0x10f)](_0x233100['DocIMEInputManagerService']),{undoCache:_0x6cc0f9,redoCache:_0x1dd491}=_0x4a077f[_0x1f5b75(0x18f)]();if(_0x6cc0f9[_0x1f5b75(0x249)]===0x0||_0x1dd491[_0x1f5b75(0x249)]===0x0)return;const _0x3baa16=[],_0x3d67dc=[];let _0x51f096=_0x1b00e8['Tools'][_0x1f5b75(0x2dc)](_0x1a4dac['mutations'][0x0]),_0x45f466=_0x1b00e8[_0x1f5b75(0x36d)][_0x1f5b75(0x2dc)](_0x1a4dac[_0x1f5b75(0x1d2)][0x0]);for(let _0x5b1e22=_0x6cc0f9[_0x1f5b75(0x249)]-0x1;_0x5b1e22>=0x0;_0x5b1e22--){const _0x277d2e={'id':_0x1f5b75(0x32d),'params':{..._0x6cc0f9[_0x5b1e22]}},_0x1ce4fd={'id':_0x1f5b75(0x32d),'params':{..._0x1dd491[_0x5b1e22]}},_0x32d772=this['_transformService'][_0x1f5b75(0x115)](_0x51f096,_0x277d2e,!0x1),_0x246840=this['_transformService']['transformMutation'](_0x45f466,_0x1ce4fd,!0x1);if(_0x18f32f[_0x1f5b75(0x111)](_0x32d772))throw _0x32d772[_0x1f5b75(0x2fc)];if(_0x18f32f[_0x1f5b75(0x111)](_0x246840))throw _0x246840[_0x1f5b75(0x2fc)];_0x3baa16['unshift'](_0x32d772['m2Prime'][_0x1f5b75(0x1cf)]),_0x3d67dc[_0x1f5b75(0x204)](_0x246840[_0x1f5b75(0x145)][_0x1f5b75(0x1cf)]),_0x51f096=_0x32d772[_0x1f5b75(0xf0)],_0x45f466=_0x246840[_0x1f5b75(0xf0)];}_0x4a077f[_0x1f5b75(0x2cb)]({'undoCache':_0x3baa16,'redoCache':_0x3d67dc});}['_transformPreviousActiveRange'](_0x50dcfc){const _0x405d2c=_0x48d395,{unitID:_0x98dc70}=_0x50dcfc,_0x240f5e=this[_0x405d2c(0x165)][_0x405d2c(0x1c9)](_0x98dc70)[_0x405d2c(0x10f)](_0x233100[_0x405d2c(0xfc)]),_0x4f8e8f=_0x240f5e['getActiveRange']();if(_0x4f8e8f==null)return;const _0x47c906=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50dcfc[_0x405d2c(0x23f)],'actions':null,'textRanges':[_0x4f8e8f]}}],_0x4f4f4a=this['_transformService']['transformMutationsWithChangeset'](_0x50dcfc,_0x47c906);if(!_0x18f32f['isTransformMutationsWithChangesetSuccess'](_0x4f4f4a))throw _0x4f4f4a[_0x405d2c(0x2fc)];const _0x103c19=_0x4f4f4a[_0x405d2c(0x145)][0x0][_0x405d2c(0x1cf)][_0x405d2c(0x2c5)];Array[_0x405d2c(0x2f0)](_0x103c19)&&_0x103c19['length']&&_0x240f5e[_0x405d2c(0x28c)](_0x103c19[0x0]);}};_0x581b85=_0x42e8e5([_0xf21554(0x0,_0x1b00e8[_0x48d395(0x124)](_0x1b00e8['Injector'])),_0xf21554(0x1,_0x18f32f[_0x48d395(0x26d)]),_0xf21554(0x2,_0x57a9e5[_0x48d395(0x217)])],_0x581b85);var _0x2beb70=Object[_0x48d395(0x365)],_0x501e00=(_0x1dbf4b,_0x129479,_0x4a1e33,_0x6a369)=>{const _0x48a725=_0x48d395;for(var _0x3f0f28=_0x6a369>0x1?void 0x0:_0x6a369?_0x2beb70(_0x129479,_0x4a1e33):_0x129479,_0x37f2ee=_0x1dbf4b[_0x48a725(0x249)]-0x1,_0x5649bb;_0x37f2ee>=0x0;_0x37f2ee--)(_0x5649bb=_0x1dbf4b[_0x37f2ee])&&(_0x3f0f28=_0x5649bb(_0x3f0f28)||_0x3f0f28);return _0x3f0f28;},_0x4c21cf=(_0x2cae07,_0x30dd93)=>(_0x508761,_0x3bd7f1)=>_0x30dd93(_0x508761,_0x3bd7f1,_0x2cae07);let _0x2a64d3=class{constructor(_0x59e411,_0x35833a,_0x5c3a82){const _0x1f7c53=_0x48d395;this[_0x1f7c53(0x1cb)]=_0x59e411,this[_0x1f7c53(0x221)]=_0x35833a,this[_0x1f7c53(0x2e4)]=_0x5c3a82;}['transformStateCache'](_0x5c2656){const _0x294530=_0x48d395;this[_0x294530(0x2d6)](_0x5c2656);}[_0x48d395(0x104)](_0x59002d){const _0x767a2c=_0x48d395,{unitID:_0x41a350}=_0x59002d,{collaboration:_0x51cab1}=this['_docStateChangeManagerService']['getStateCache'](_0x41a350);if(_0x51cab1[_0x767a2c(0x249)]===0x0)return _0x59002d;let _0x4168c2=_0x1b00e8[_0x767a2c(0x36d)][_0x767a2c(0x2dc)](_0x59002d[_0x767a2c(0x1d2)][0x0]);for(let _0x24ae14=0x0;_0x24ae14<_0x51cab1[_0x767a2c(0x249)];_0x24ae14++){const _0xfae113={'id':_0x767a2c(0x32d),'params':{'unitId':_0x51cab1[_0x24ae14][_0x767a2c(0xf7)],..._0x51cab1[_0x24ae14]['redoState']}},_0x325373=this[_0x767a2c(0x221)][_0x767a2c(0x115)](_0x4168c2,_0xfae113,!0x1);if(_0x18f32f[_0x767a2c(0x111)](_0x325373))throw _0x325373[_0x767a2c(0x2fc)];_0x4168c2=_0x325373['m1Prime'];}return{..._0x1b00e8['Tools'][_0x767a2c(0x2dc)](_0x59002d),'mutations':[_0x4168c2]};}['_transformHistoryAndStateStack'](_0x2cf506){const _0x56a689=_0x48d395,{unitID:_0x22a723}=_0x2cf506,{history:_0x3a7203,collaboration:_0x9a68ee}=this[_0x56a689(0x2e4)][_0x56a689(0x339)](_0x22a723);if(_0x3a7203['length']===0x0&&_0x9a68ee[_0x56a689(0x249)]===0x0)return;const _0x4a4f36=[],_0xc8d8af=[];let _0xebe861=_0x1b00e8[_0x56a689(0x36d)][_0x56a689(0x2dc)](_0x2cf506[_0x56a689(0x1d2)][0x0]),_0x3c41cc=_0x1b00e8[_0x56a689(0x36d)][_0x56a689(0x2dc)](_0x2cf506[_0x56a689(0x1d2)][0x0]);for(let _0x2a4f81=_0x3a7203['length']-0x1;_0x2a4f81>=0x0;_0x2a4f81--){const _0x5a7cb9={'id':_0x56a689(0x32d),'params':{'unitId':_0x3a7203[_0x2a4f81][_0x56a689(0xf7)],..._0x3a7203[_0x2a4f81][_0x56a689(0x295)]}},_0xcd77cb={'id':_0x56a689(0x32d),'params':{'unitId':_0x3a7203[_0x2a4f81][_0x56a689(0xf7)],..._0x3a7203[_0x2a4f81][_0x56a689(0x363)]}},_0x4ce015=this[_0x56a689(0x221)]['transformMutation'](_0xebe861,_0x5a7cb9,!0x1),_0xd4a61=this[_0x56a689(0x221)]['transformMutation'](_0x3c41cc,_0xcd77cb,!0x1);if(_0x18f32f['isTransformMutationFailure'](_0x4ce015))throw _0x4ce015['error'];if(_0x18f32f[_0x56a689(0x111)](_0xd4a61))throw _0xd4a61[_0x56a689(0x2fc)];_0x4a4f36[_0x56a689(0x204)]({..._0x3a7203[_0x2a4f81],'undoState':_0x4ce015['m2Prime'][_0x56a689(0x1cf)],'redoState':_0xd4a61[_0x56a689(0x145)][_0x56a689(0x1cf)]}),_0xebe861=_0x4ce015[_0x56a689(0xf0)],_0x3c41cc=_0xd4a61[_0x56a689(0xf0)];}_0xebe861=_0x1b00e8['Tools'][_0x56a689(0x2dc)](_0x2cf506['mutations'][0x0]),_0x3c41cc=_0x1b00e8[_0x56a689(0x36d)][_0x56a689(0x2dc)](_0x2cf506[_0x56a689(0x1d2)][0x0]);for(let _0x4ef5ca=_0x9a68ee['length']-0x1;_0x4ef5ca>=0x0;_0x4ef5ca--){const _0x2e3fe8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x9a68ee[_0x4ef5ca][_0x56a689(0xf7)],..._0x9a68ee[_0x4ef5ca]['undoState']}},_0x1c4e68={'id':_0x56a689(0x32d),'params':{'unitId':_0x9a68ee[_0x4ef5ca][_0x56a689(0xf7)],..._0x9a68ee[_0x4ef5ca][_0x56a689(0x363)]}},_0x926678=this[_0x56a689(0x221)][_0x56a689(0x115)](_0xebe861,_0x2e3fe8,!0x1),_0x3f8190=this['_transformService']['transformMutation'](_0x3c41cc,_0x1c4e68,!0x1);if(_0x18f32f['isTransformMutationFailure'](_0x926678))throw _0x926678[_0x56a689(0x2fc)];if(_0x18f32f[_0x56a689(0x111)](_0x3f8190))throw _0x3f8190['error'];_0xc8d8af['unshift']({..._0x9a68ee[_0x4ef5ca],'undoState':_0x926678[_0x56a689(0x145)]['params'],'redoState':_0x3f8190['m2Prime'][_0x56a689(0x1cf)]}),_0xebe861=_0x926678['m1Prime'],_0x3c41cc=_0x3f8190[_0x56a689(0xf0)];}this['_docStateChangeManagerService'][_0x56a689(0x170)](_0x22a723,{'history':_0x4a4f36,'collaboration':_0xc8d8af});}};_0x2a64d3=_0x501e00([_0x4c21cf(0x0,_0x1b00e8[_0x48d395(0x124)](_0x1b00e8[_0x48d395(0x120)])),_0x4c21cf(0x1,_0x18f32f[_0x48d395(0x26d)]),_0x4c21cf(0x2,_0x1b00e8['Inject'](_0x233100[_0x48d395(0x288)]))],_0x2a64d3);var _0x5552c8=Object[_0x48d395(0x365)],_0x9c5096=(_0x3a6e19,_0x2d668f,_0xcb8896,_0x949103)=>{for(var _0x2369df=_0x949103>0x1?void 0x0:_0x949103?_0x5552c8(_0x2d668f,_0xcb8896):_0x2d668f,_0x64f17d=_0x3a6e19['length']-0x1,_0x1c83bf;_0x64f17d>=0x0;_0x64f17d--)(_0x1c83bf=_0x3a6e19[_0x64f17d])&&(_0x2369df=_0x1c83bf(_0x2369df)||_0x2369df);return _0x2369df;},_0x1f9c84=(_0x8d04a2,_0x4a0ef8)=>(_0x146eed,_0x32fb88)=>_0x4a0ef8(_0x146eed,_0x32fb88,_0x8d04a2);let _0x38fc84=class{constructor(_0x572d3a,_0x596b0b){const _0x4bf045=_0x48d395;this['_injector']=_0x572d3a,this[_0x4bf045(0x221)]=_0x596b0b;}[_0x48d395(0x12c)](_0x33b42f){const _0x43cedc=_0x48d395;var _0x147819;const _0x3f99c0=this[_0x43cedc(0x1cb)][_0x43cedc(0x2da)](_0x2f03d7['DocSelectionManagerService']),_0x1bd7a8=(_0x147819=_0x3f99c0['getDocRanges']())!=null?_0x147819:[];if(_0x1bd7a8[_0x43cedc(0x249)]===0x0)return;const _0x59616f=_0x33b42f['unitID'],_0x87326=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x59616f,'actions':null,'textRanges':_0x1bd7a8}}],_0x30deea=this[_0x43cedc(0x221)][_0x43cedc(0x281)](_0x33b42f,_0x87326);if(!_0x18f32f[_0x43cedc(0x35d)](_0x30deea))throw _0x30deea[_0x43cedc(0x2fc)];const _0x1efe60=_0x30deea[_0x43cedc(0x145)][0x0][_0x43cedc(0x1cf)][_0x43cedc(0x2c5)];Array['isArray'](_0x1efe60)&&_0x1efe60[_0x43cedc(0x249)]&&_0x3f99c0[_0x43cedc(0x13d)](_0x1efe60,{'unitId':_0x59616f,'subUnitId':_0x59616f},!0x1);}};_0x38fc84=_0x9c5096([_0x1f9c84(0x0,_0x1b00e8[_0x48d395(0x124)](_0x1b00e8['Injector'])),_0x1f9c84(0x1,_0x18f32f[_0x48d395(0x26d)])],_0x38fc84);var _0x49fb05=Object[_0x48d395(0x365)],_0x16c81d=(_0x112947,_0x4595d7,_0x5c7ad6,_0x42dd7c)=>{const _0x282aa0=_0x48d395;for(var _0x4b839e=_0x42dd7c>0x1?void 0x0:_0x42dd7c?_0x49fb05(_0x4595d7,_0x5c7ad6):_0x4595d7,_0x25a628=_0x112947[_0x282aa0(0x249)]-0x1,_0x3c1fc6;_0x25a628>=0x0;_0x25a628--)(_0x3c1fc6=_0x112947[_0x25a628])&&(_0x4b839e=_0x3c1fc6(_0x4b839e)||_0x4b839e);return _0x4b839e;},_0x2bdc46=(_0x1ff357,_0xa67001)=>(_0x6c6cae,_0x584d74)=>_0xa67001(_0x6c6cae,_0x584d74,_0x1ff357);let _0x44c6d6=class extends _0x1b00e8['Disposable']{constructor(_0x5794e2,_0x3474b7,_0x45b31e,_0x10adff,_0x3237db,_0x3ce41f,_0xdaf758,_0x326e4f){const _0x4a71dd=_0x48d395;super(),_0x5b557d(this,_0x4a71dd(0x1f2),new _0x29d8fd['BehaviorSubject'](_0x5609d2[_0x4a71dd(0x333)]['NOT_COLLAB'])),(this[_0x4a71dd(0x2e4)]=_0x5794e2,this[_0x4a71dd(0x1dc)]=_0x3474b7,this[_0x4a71dd(0x336)]=_0x45b31e,this[_0x4a71dd(0x344)]=_0x10adff,this[_0x4a71dd(0x1a2)]=_0x3237db,this[_0x4a71dd(0xe0)]=_0x3ce41f,this[_0x4a71dd(0x143)]=_0xdaf758,this['_localeService']=_0x326e4f,this[_0x4a71dd(0x359)]());}[_0x48d395(0x359)](){const _0x2b8283=_0x48d395;this[_0x2b8283(0xe6)](this[_0x2b8283(0x1dc)][_0x2b8283(0x1c6)][_0x2b8283(0x329)](_0x1a8221=>{const _0x257128=_0x2b8283,_0x4b8ef9=this[_0x257128(0x2e4)]['docStateChange$'][_0x257128(0x329)](_0x2f3fb1=>{const _0x5051c3=_0x257128;if(_0x2f3fb1==null)return;const {unitId:_0x26104e,redoState:_0x3461d1,commandId:_0x18a077}=_0x2f3fb1;if(_0x26104e!==_0x1a8221['unitID'])return;const _0x11dfb5={'id':_0x18a077,'type':_0x1b00e8[_0x5051c3(0x273)][_0x5051c3(0x294)],'params':{'unitId':_0x26104e,'actions':_0x3461d1[_0x5051c3(0x10a)],'textRanges':null}};_0x1a8221[_0x5051c3(0x21d)](_0x11dfb5);});if(_0x1a8221['disposeWithMe'](_0x4b8ef9),_0x1a8221 instanceof _0x5609d2[_0x257128(0x215)]){const _0x14d0fa={'onTransformIME':_0x37558f=>this[_0x257128(0x336)]['transformIMECache'](_0x37558f),'onTransformState':_0x40bed2=>this[_0x257128(0x344)][_0x257128(0x24f)](_0x40bed2),'onTransformSelections':_0x411038=>this[_0x257128(0x1a2)][_0x257128(0x12c)](_0x411038),'onSyncEditingCollabCursor':_0x749726=>this[_0x257128(0xe0)]['syncEditingCollabCursor'](_0x749726),'onTransformRemoteChangesetByIMECache':_0x1fe0b1=>this[_0x257128(0x336)][_0x257128(0x104)](_0x1fe0b1),'onTransformRemoteChangesetByStateCache':_0x1730ca=>this[_0x257128(0x344)][_0x257128(0x104)](_0x1730ca)};_0x1a8221[_0x257128(0x1c2)](_0x14d0fa);}}));}};_0x44c6d6=_0x16c81d([_0x2bdc46(0x0,_0x1b00e8[_0x48d395(0x124)](_0x233100['DocStateChangeManagerService'])),_0x2bdc46(0x1,_0x1b00e8[_0x48d395(0x124)](_0x5609d2[_0x48d395(0x2e0)])),_0x2bdc46(0x2,_0x1b00e8[_0x48d395(0x124)](_0x581b85)),_0x2bdc46(0x3,_0x1b00e8['Inject'](_0x2a64d3)),_0x2bdc46(0x4,_0x1b00e8['Inject'](_0x38fc84)),_0x2bdc46(0x5,_0x1b00e8[_0x48d395(0x124)](_0x40ff82)),_0x2bdc46(0x6,_0x4d5864[_0x48d395(0x1e5)]),_0x2bdc46(0x7,_0x1b00e8['Inject'](_0x1b00e8[_0x48d395(0x1f6)]))],_0x44c6d6);var _0x802cc=Object[_0x48d395(0x365)],_0x4605f4=(_0xd0d7f2,_0x32e7e8,_0x38b9a,_0x16cc2e)=>{for(var _0x51dc22=_0x16cc2e>0x1?void 0x0:_0x16cc2e?_0x802cc(_0x32e7e8,_0x38b9a):_0x32e7e8,_0x55fa59=_0xd0d7f2['length']-0x1,_0x4cd979;_0x55fa59>=0x0;_0x55fa59--)(_0x4cd979=_0xd0d7f2[_0x55fa59])&&(_0x51dc22=_0x4cd979(_0x51dc22)||_0x51dc22);return _0x51dc22;},_0x17e688=(_0x480230,_0x4e95a8)=>(_0x24f299,_0x147d9d)=>_0x4e95a8(_0x24f299,_0x147d9d,_0x480230);let _0x37cd72=class extends _0x1b00e8[_0x48d395(0xee)]{constructor(_0x543502,_0x338363,_0x2b2e2f){const _0x3c182c=_0x48d395;super(),_0x5b557d(this,_0x3c182c(0x1cd),new Map()),_0x5b557d(this,_0x3c182c(0xe8),new Map()),_0x5b557d(this,_0x3c182c(0x200),!0x1),(this['_configService']=_0x543502,this[_0x3c182c(0x32e)]=_0x338363,this[_0x3c182c(0x244)]=_0x2b2e2f);}['disableLocalCache'](){const _0x3515ed=_0x48d395;this[_0x3515ed(0x200)]=!0x0;}[_0x48d395(0x1af)](){const _0xd2eacc=_0x48d395;this[_0xd2eacc(0x200)]=!0x1;}get[_0x48d395(0x2d1)](){const _0xf9375a=_0x48d395;return this[_0xf9375a(0xe8)];}[_0x48d395(0xdc)](){const _0x1a2f44=_0x48d395;this['exhaustSavingTask']()[_0x1a2f44(0x252)](()=>super[_0x1a2f44(0xdc)]());}async[_0x48d395(0x2fe)](_0x29675d){const _0x3d84a1=_0x48d395;return this[_0x3d84a1(0x200)]?null:this['_localStorageService']['getItem'](_0x5609d2[_0x3d84a1(0x12a)](_0x29675d));}async[_0x48d395(0x1ae)](_0x25c35e,_0x38364f){const _0x3239c9=_0x48d395;return!!this[_0x3239c9(0x32e)]['setItem'](_0x25c35e,_0x38364f);}[_0x48d395(0x13c)](_0x271a99,_0x4d7307,_0x4207fd,_0x464be4){const _0x1b64ec=_0x48d395,_0x1b03e6=this[_0x1b64ec(0x244)][_0x1b64ec(0x2c1)](_0x271a99);this[_0x1b64ec(0x1cd)]['set'](_0x271a99,{'unitID':_0x271a99,'type':_0x4d7307,'awaitingChangeset':_0x4207fd,'mutations':_0x464be4,'rev':_0x1b03e6}),this[_0x1b64ec(0xe8)]['has'](_0x271a99)||this[_0x1b64ec(0x29c)](_0x271a99);}[_0x48d395(0x29c)](_0x1051ee){const _0x16ac5f=_0x48d395,_0x15a9d3=this[_0x16ac5f(0x34c)]();_0x15a9d3===0x0?this[_0x16ac5f(0x2d4)](_0x1051ee):this['_saveTaskMap']['set'](_0x1051ee,setTimeout(()=>this[_0x16ac5f(0x2d4)](_0x1051ee),_0x15a9d3));}[_0x48d395(0x34c)](){const _0x29c5df=_0x48d395;var _0x296551;return(_0x296551=this['_configService']['getConfig'](_0x5609d2['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x296551:_0x5609d2[_0x29c5df(0x371)];}['_saveCache'](_0x2e2361){const _0x38b7e5=_0x48d395,_0x2a26c5=this[_0x38b7e5(0xe8)]['get'](_0x2e2361);return _0x2a26c5!==void 0x0&&window[_0x38b7e5(0x131)](_0x2a26c5),this[_0x38b7e5(0x32e)][_0x38b7e5(0x1e0)](_0x5609d2[_0x38b7e5(0x12a)](_0x2e2361),this[_0x38b7e5(0x1cd)][_0x38b7e5(0x2da)](_0x2e2361))[_0x38b7e5(0x252)](()=>this[_0x38b7e5(0xe8)][_0x38b7e5(0x118)](_0x2e2361));}async['exhaustSavingTask'](){const _0x23c362=_0x48d395,_0x3e552d=[];this[_0x23c362(0xe8)][_0x23c362(0x190)]((_0x567e9d,_0x208f7c)=>{const _0x326086=_0x23c362;window[_0x326086(0x131)](_0x567e9d),_0x3e552d[_0x326086(0x14f)](this[_0x326086(0x2d4)](_0x208f7c)[_0x326086(0x252)](()=>{const _0x3e8422=_0x326086;this[_0x3e8422(0xe8)]['delete'](_0x208f7c);}));}),await Promise['all'](_0x3e552d);}};_0x37cd72=_0x4605f4([_0x17e688(0x0,_0x1b00e8[_0x48d395(0x1c5)]),_0x17e688(0x1,_0x1b00e8[_0x48d395(0x36c)]),_0x17e688(0x2,_0x1b00e8[_0x48d395(0x124)](_0x18f32f[_0x48d395(0x30e)]))],_0x37cd72);class _0x12443e extends _0x1b00e8[_0x48d395(0x369)]{constructor(){const _0x102c48=_0x48d395;super(),_0x5b557d(this,_0x102c48(0x11c)),this[_0x102c48(0x11c)]=_0x29d8fd[_0x102c48(0x313)](window,_0x102c48(0x1f4))[_0x102c48(0x2a7)](_0x29d8fd['takeUntil'](this[_0x102c48(0x266)]),_0x29d8fd[_0x102c48(0x23b)](0x1),_0x29d8fd['mapTo'](void 0x0));}['setParam'](_0x5b9a64,_0x588e42,_0x2dfac5=!0x1){const _0x149520=_0x48d395,_0xa0d144=new URL(window['location']['href']);_0xa0d144[_0x149520(0x378)][_0x149520(0x22d)](_0x5b9a64,_0x588e42),_0x2dfac5?window[_0x149520(0x106)][_0x149520(0x282)]('','',_0xa0d144[_0x149520(0x13a)]()):window[_0x149520(0x106)][_0x149520(0x1d8)]('','',_0xa0d144[_0x149520(0x13a)]());}[_0x48d395(0xf9)](_0x42e233,_0x45be3f=!0x1){const _0x2e8e8b=_0x48d395,_0x53e4de=new URL(window['location'][_0x2e8e8b(0x22b)]);_0x53e4de[_0x2e8e8b(0x378)][_0x2e8e8b(0x118)](_0x42e233),_0x45be3f?window['history'][_0x2e8e8b(0x282)]('','',_0x53e4de['toString']()):window[_0x2e8e8b(0x106)][_0x2e8e8b(0x1d8)]('','',_0x53e4de['toString']());}[_0x48d395(0x140)](_0x399c90){const _0x1f6289=_0x48d395;var _0x12c30f;return(_0x12c30f=new URL(window[_0x1f6289(0x350)][_0x1f6289(0x22b)])[_0x1f6289(0x378)][_0x1f6289(0x2da)](_0x399c90))!=null?_0x12c30f:void 0x0;}}var _0x285646=Object[_0x48d395(0x259)],_0x41d548=Object[_0x48d395(0x365)],_0x520d40=(_0x3210f4,_0x5dd822,_0x47d0d0)=>_0x5dd822 in _0x3210f4?_0x285646(_0x3210f4,_0x5dd822,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x47d0d0}):_0x3210f4[_0x5dd822]=_0x47d0d0,_0x312fd4=(_0x1b77fb,_0x884ea6,_0xc8866d,_0x1cdc8a)=>{const _0x282f38=_0x48d395;for(var _0x46cd99=_0x1cdc8a>0x1?void 0x0:_0x1cdc8a?_0x41d548(_0x884ea6,_0xc8866d):_0x884ea6,_0x405ea1=_0x1b77fb[_0x282f38(0x249)]-0x1,_0x271291;_0x405ea1>=0x0;_0x405ea1--)(_0x271291=_0x1b77fb[_0x405ea1])&&(_0x46cd99=_0x271291(_0x46cd99)||_0x46cd99);return _0x46cd99;},_0x7dab04=(_0x2f4c05,_0x5a5a90)=>(_0x43d9af,_0x1558fd)=>_0x5a5a90(_0x43d9af,_0x1558fd,_0x2f4c05),_0x46ac7e=(_0x8a2631,_0x862ab1,_0x667e30)=>_0x520d40(_0x8a2631,_0x862ab1+'',_0x667e30);const _0x493d1a=_0x48d395(0x253);_0x125b65['UniverCollaborationClientUIPlugin']=class extends _0x1b00e8[_0x48d395(0x26b)]{constructor(_0x296d7c=_0x206158,_0x36e715,_0x4ad6f0,_0x404f11){const _0x38f244=_0x48d395;super(),this[_0x38f244(0x2d9)]=_0x296d7c,this['_renderManagerService']=_0x36e715,this[_0x38f244(0x1cb)]=_0x4ad6f0,this[_0x38f244(0x293)]=_0x404f11;const {..._0x3a319a}=_0x1b00e8['merge']({},_0x206158,this['_config']);this['_configService']['setConfig'](_0x31dc1f,_0x3a319a);}['onStarting'](){const _0xe7bfcb=_0x48d395;this['_registerDependencies'](),this[_0xe7bfcb(0x2c6)]();}[_0x48d395(0xf6)](){const _0x3a69ee=_0x48d395;this[_0x3a69ee(0x2df)]();}['_registerDependencies'](){const _0x1714f1=_0x48d395;var _0x1e66f0;const _0xb19790=[[_0x4b69ae],[_0x38fc84],[_0x581b85],[_0x2a64d3],[_0x40ff82],[_0x53b938,{'useClass':_0x12443e}],[_0x193158[_0x1714f1(0x2ae)],{'useClass':_0x193158[_0x1714f1(0x19a)]}],[_0x5609d2[_0x1714f1(0x1ee)],{'useClass':_0x37cd72}],[_0x125b65[_0x1714f1(0xea)]],[_0x44c6d6],[_0x314898],[_0x56a253],[_0x66963b],[_0x125b65[_0x1714f1(0x2a4)]]];_0x1b00e8[_0x1714f1(0x2ff)](this['_injector'],_0x1b00e8[_0x1714f1(0x1ac)](_0xb19790,(_0x1e66f0=this[_0x1714f1(0x2d9)])==null?void 0x0:_0x1e66f0[_0x1714f1(0x352)]));}[_0x48d395(0x2df)](){const _0x23ab52=_0x48d395;this[_0x23ab52(0xe6)](this[_0x23ab52(0x165)][_0x23ab52(0x1d6)](_0x1b00e8[_0x23ab52(0x307)][_0x23ab52(0x122)],[_0x30523e])),this[_0x23ab52(0xe6)](this['_renderManagerService']['registerRenderModule'](_0x1b00e8[_0x23ab52(0x307)][_0x23ab52(0x2f1)],[_0x14f631]));}[_0x48d395(0x2c6)](){const _0x3e7b32=_0x48d395;_0x1b00e8[_0x3e7b32(0x15a)](this[_0x3e7b32(0x1cb)],[[_0x56a253],[_0x125b65[_0x3e7b32(0xea)]],[_0x44c6d6],[_0x314898],[_0x125b65['CollaborationDataLoaderController']]]);}},_0x46ac7e(_0x125b65['UniverCollaborationClientUIPlugin'],_0x48d395(0x35c),_0x493d1a),_0x125b65['UniverCollaborationClientUIPlugin']=_0x312fd4([_0x1b00e8[_0x48d395(0x2ec)](_0x5609d2[_0x48d395(0x12e)]),_0x7dab04(0x1,_0x57a9e5[_0x48d395(0x217)]),_0x7dab04(0x2,_0x1b00e8[_0x48d395(0x124)](_0x1b00e8[_0x48d395(0x120)])),_0x7dab04(0x3,_0x1b00e8[_0x48d395(0x1c5)])],_0x125b65[_0x48d395(0x1ea)]);var _0x2d167c=Object[_0x48d395(0x365)],_0x148385=(_0x1d30af,_0xbde629,_0x5e5f42,_0x5a3c6e)=>{const _0x2ac9b9=_0x48d395;for(var _0x2b2722=_0x5a3c6e>0x1?void 0x0:_0x5a3c6e?_0x2d167c(_0xbde629,_0x5e5f42):_0xbde629,_0x482395=_0x1d30af[_0x2ac9b9(0x249)]-0x1,_0x3cf2da;_0x482395>=0x0;_0x482395--)(_0x3cf2da=_0x1d30af[_0x482395])&&(_0x2b2722=_0x3cf2da(_0x2b2722)||_0x2b2722);return _0x2b2722;},_0x48e7ed=(_0x524fae,_0x482daa)=>(_0x4c7bec,_0x340dcb)=>_0x482daa(_0x4c7bec,_0x340dcb,_0x524fae);_0x125b65[_0x48d395(0x130)]=class extends _0x5609d2[_0x48d395(0x186)]{constructor(_0x51ff30,_0x1fcd23,_0x44b164,_0x564071,_0x10de27){super(_0x51ff30,_0x1fcd23,_0x44b164,_0x564071,_0x10de27);}async[_0x48d395(0x374)](_0x49be34){const _0x410818=_0x48d395,_0x1b1a2d=await this[_0x410818(0x256)](),_0x1e9b4a=this['_createSocketURL'](_0x49be34,_0x1b1a2d);return this[_0x410818(0x312)](_0x1e9b4a);}[_0x48d395(0x25f)](_0x2fe1c7,_0x2c5f00){const _0x109e12=_0x48d395,_0x2514d2=typeof window>'u'?new URL(_0x2fe1c7):new URL(_0x2fe1c7,window[_0x109e12(0x350)][_0x109e12(0x128)]);_0x2514d2['searchParams'][_0x109e12(0x22d)](_0x109e12(0x1a3),_0x2c5f00);const _0x2de5b9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x109e12(0x195)]);return _0x2de5b9[_0x109e12(0x2da)](_0x109e12(0x16c))&&_0x2514d2[_0x109e12(0x378)][_0x109e12(0x22d)]('runId',_0x2de5b9[_0x109e12(0x2da)](_0x109e12(0x16c))),_0x2514d2[_0x109e12(0x13a)]();}async[_0x48d395(0x256)](){const _0x5923b3=_0x48d395;var _0x3d957f,_0x70a5e3,_0x175e44;const _0x45dcf3=this['_configService'][_0x5923b3(0x113)](_0x5609d2[_0x5923b3(0x272)]),_0x48d918=(_0x3d957f=_0x45dcf3==null?void 0x0:_0x45dcf3['wsSessionTicketUrl'])!=null?_0x3d957f:_0x5609d2[_0x5923b3(0x2a3)];return(_0x175e44=(_0x70a5e3=(await this[_0x5923b3(0x2ee)][_0x5923b3(0x2da)](_0x48d918,{'headers':{'Content-Type':_0x5923b3(0x2f6)}}))[_0x5923b3(0x220)])==null?void 0x0:_0x70a5e3[_0x5923b3(0x198)])!=null?_0x175e44:'';}},_0x125b65[_0x48d395(0x130)]=_0x148385([_0x48e7ed(0x0,_0x1b00e8[_0x48d395(0x124)](_0x1b00e8[_0x48d395(0x120)])),_0x48e7ed(0x1,_0x1b00e8[_0x48d395(0x124)](_0x193158[_0x48d395(0x1e7)])),_0x48e7ed(0x2,_0x1b00e8[_0x48d395(0x1c5)]),_0x48e7ed(0x3,_0x1b00e8[_0x48d395(0x29d)]),_0x48e7ed(0x4,_0x18f32f[_0x48d395(0x30c)])],_0x125b65['BrowserCollaborationSocketService']);const _0x14d178=0x7530,_0x28b120='ACTIVE_UNIT_EVENT_CHANNEL';class _0x10c6c2 extends _0x1b00e8[_0x48d395(0xee)]{constructor(){const _0x11ed66=_0x48d395;super(),_0x5b557d(this,'_id',_0x1b00e8[_0x11ed66(0x18d)]()),_0x5b557d(this,_0x11ed66(0x2a9),new Set()),_0x5b557d(this,_0x11ed66(0x237),new Map()),_0x5b557d(this,_0x11ed66(0x275),null),_0x5b557d(this,_0x11ed66(0xe4),new Map()),_0x5b557d(this,_0x11ed66(0x238),new Map()),this['_init']();}[_0x48d395(0xdc)](){const _0xfede9=_0x48d395;super[_0xfede9(0xdc)](),this[_0xfede9(0xe4)][_0xfede9(0x190)]((_0x4fd16b,_0x2d9759)=>this[_0xfede9(0x271)](_0x2d9759)),this['_heartbeatTimer']&&window['clearInterval'](this[_0xfede9(0x275)]);}[_0x48d395(0x247)](_0x1679fb){const _0x47f36d=_0x48d395;return this[_0x47f36d(0x1ab)](_0x1679fb)[_0x47f36d(0x2a7)](_0x29d8fd[_0x47f36d(0x305)]());}['editingUnit'](_0x482f73){const _0x458496=_0x48d395;this[_0x458496(0x2a9)][_0x458496(0x243)]===0x0&&this[_0x458496(0x119)](),this[_0x458496(0x2a9)][_0x458496(0x316)](_0x482f73),this[_0x458496(0x2a1)]({'type':0x0,'memberID':this[_0x458496(0x368)],'unitIDs':[_0x482f73],'isForwarded':!0x1});}[_0x48d395(0x2d3)](_0x556838){const _0x585266=_0x48d395;this['_selfUnitIDs'][_0x585266(0x118)](_0x556838),this[_0x585266(0x2a9)]['size']===0x0&&this[_0x585266(0x275)]&&window[_0x585266(0x23c)](this[_0x585266(0x275)]);}['_init'](){const _0x52d80c=_0x48d395;this[_0x52d80c(0xe6)](_0x1b00e8[_0x52d80c(0x1b3)](_0x29d8fd[_0x52d80c(0x313)](window,_0x52d80c(0x159))[_0x52d80c(0x329)](_0x1afbb1=>{const _0x33ef74=_0x52d80c;if(_0x1afbb1[_0x33ef74(0x1a7)]!==_0x28b120||!_0x1afbb1['newValue'])return;const _0x3c2e92=JSON['parse'](_0x1afbb1[_0x33ef74(0x291)]);this['_handleEvent'](_0x3c2e92);}))),window[_0x52d80c(0x209)](_0x52d80c(0x114),()=>this[_0x52d80c(0x2a1)]({'type':0x1,'memberID':this[_0x52d80c(0x368)],'unitIDs':Array[_0x52d80c(0x1ed)](this[_0x52d80c(0x2a9)])}));}[_0x48d395(0x2bc)](_0x4d0eaf){const _0x3cb4af=_0x48d395;switch(_0x4d0eaf[_0x3cb4af(0x149)]){case 0x0:this[_0x3cb4af(0x1cc)](_0x4d0eaf);break;case 0x1:this[_0x3cb4af(0x1eb)](_0x4d0eaf);break;case 0x2:this['_handleHeartbeatEvent'](_0x4d0eaf);break;}}[_0x48d395(0x1cc)](_0x19f780){const _0x5752a4=_0x48d395,{unitIDs:_0x3b1f13,memberID:_0x48cf57,isForwarded:_0x58e6d7}=_0x19f780;_0x3b1f13[_0x5752a4(0x190)](_0x45f70f=>{const _0x28603e=_0x5752a4;if(!_0x58e6d7&&this[_0x28603e(0x237)][_0x28603e(0x1fd)](_0x45f70f)&&this[_0x28603e(0x1ab)](_0x45f70f)[_0x28603e(0x171)](_0x5609d2['UnitStatus'][_0x28603e(0x31d)]),!this[_0x28603e(0x237)][_0x28603e(0x1fd)](_0x45f70f)||!this[_0x28603e(0x237)][_0x28603e(0x2da)](_0x45f70f)[_0x28603e(0x1fd)](_0x48cf57)){const _0x3751e9=this['_unitOnClients']['get'](_0x45f70f)||new Set();_0x3751e9['add'](_0x48cf57),this[_0x28603e(0x237)][_0x28603e(0x22d)](_0x45f70f,_0x3751e9),this[_0x28603e(0x2d5)](_0x48cf57);}}),_0x58e6d7||this['_send']({'type':0x0,'memberID':this[_0x5752a4(0x368)],'unitIDs':[...this[_0x5752a4(0x2a9)]],'isForwarded':!0x0});}[_0x48d395(0x2d5)](_0xe1389){const _0x34c4ae=_0x48d395;this[_0x34c4ae(0x271)](_0xe1389);const _0x5773d4=window[_0x34c4ae(0x1c8)](()=>{const _0x219ebb=_0x34c4ae;this[_0x219ebb(0x237)][_0x219ebb(0x190)](_0x396cf8=>{const _0x295d7a=_0x219ebb;_0x396cf8[_0x295d7a(0x118)](_0xe1389);});},_0x14d178*0x2);this[_0x34c4ae(0xe4)][_0x34c4ae(0x22d)](_0xe1389,_0x5773d4);}[_0x48d395(0x271)](_0x5520f3){const _0x4caa28=_0x48d395;if(this['_clearOtherTimers']['has'](_0x5520f3)){const _0x309841=this[_0x4caa28(0xe4)]['get'](_0x5520f3);_0x309841&&window[_0x4caa28(0x131)](_0x309841),this[_0x4caa28(0xe4)]['set'](_0x5520f3,null);}}['_handleLeaveEvent'](_0x4a0c40){const _0x202f69=_0x48d395,{memberID:_0xd64c1f,unitIDs:_0x71f3db}=_0x4a0c40;_0x71f3db[_0x202f69(0x190)](_0x6134a6=>{const _0x3d0c99=_0x202f69;var _0x39e8cc;const _0x46f85e=this[_0x3d0c99(0x237)][_0x3d0c99(0x2da)](_0x6134a6);_0x46f85e&&(_0x46f85e[_0x3d0c99(0x118)](_0xd64c1f),(_0x39e8cc=this[_0x3d0c99(0x1ab)](_0x6134a6))==null||_0x39e8cc['next'](_0x46f85e['size']===0x0?_0x5609d2[_0x3d0c99(0x127)][_0x3d0c99(0x1b7)]:_0x5609d2[_0x3d0c99(0x127)][_0x3d0c99(0x31d)]));}),this['_removeClearOtherTimer'](_0xd64c1f);}[_0x48d395(0x289)](_0x1fe91b){const _0x5a60b4=_0x48d395;this[_0x5a60b4(0x2d5)](_0x1fe91b[_0x5a60b4(0x28f)]);}[_0x48d395(0x2a1)](_0x287b1e){const _0xc6a859=_0x48d395;localStorage[_0xc6a859(0x1e0)](_0x28b120,JSON['stringify'](_0x287b1e));}[_0x48d395(0x119)](){const _0x85a294=_0x48d395;this[_0x85a294(0x275)]=window[_0x85a294(0x1b6)](()=>{const _0x328666=_0x85a294;this[_0x328666(0x2a1)]({'type':0x2,'memberID':this[_0x328666(0x368)]});},_0x14d178);}['_ensureSubject'](_0x4c7f0b){const _0x75ae21=_0x48d395;return this[_0x75ae21(0x238)]['has'](_0x4c7f0b)||this[_0x75ae21(0x238)]['set'](_0x4c7f0b,new _0x29d8fd[(_0x75ae21(0xeb))](_0x5609d2['UnitStatus'][_0x75ae21(0x1b7)])),this['_unitStatus'][_0x75ae21(0x2da)](_0x4c7f0b);}}var _0x29d45c=(_0x22ebf0=>(_0x22ebf0[_0x22ebf0['UNDEFINED']=0x0]=_0x48d395(0x1b1),_0x22ebf0[_0x22ebf0['OK']=0x1]='OK',_0x22ebf0[_0x22ebf0[_0x48d395(0x349)]=0x2]=_0x48d395(0x349),_0x22ebf0[_0x22ebf0[_0x48d395(0x11f)]=0x3]='PERMISSION_DENIED',_0x22ebf0[_0x22ebf0[_0x48d395(0x2c3)]=0x4]='NOT_FOUND',_0x22ebf0[_0x22ebf0[_0x48d395(0x1ef)]=0x5]=_0x48d395(0x1ef),_0x22ebf0[_0x22ebf0[_0x48d395(0x203)]=0x6]=_0x48d395(0x203),_0x22ebf0[_0x22ebf0[_0x48d395(0x161)]=0x7]=_0x48d395(0x161),_0x22ebf0[_0x22ebf0[_0x48d395(0x373)]=0x8]=_0x48d395(0x373),_0x22ebf0[_0x22ebf0[_0x48d395(0x219)]=0x9]=_0x48d395(0x219),_0x22ebf0[_0x22ebf0[_0x48d395(0x268)]=0xa]=_0x48d395(0x268),_0x22ebf0[_0x22ebf0['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x48d395(0x2b6),_0x22ebf0[_0x22ebf0['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x48d395(0x2e3),_0x22ebf0[_0x22ebf0['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x48d395(0x1f5),_0x22ebf0[_0x22ebf0[_0x48d395(0x2ca)]=0x1773]=_0x48d395(0x2ca),_0x22ebf0[_0x22ebf0[_0x48d395(0xe3)]=0x1b59]=_0x48d395(0xe3),_0x22ebf0[_0x22ebf0[_0x48d395(0x1fb)]=0x1b5a]=_0x48d395(0x1fb),_0x22ebf0[_0x22ebf0[_0x48d395(0x34d)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x22ebf0[_0x22ebf0[_0x48d395(0x231)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x22ebf0[_0x22ebf0[_0x48d395(0x309)]=0x1b5d]=_0x48d395(0x309),_0x22ebf0[_0x22ebf0['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x48d395(0x280),_0x22ebf0[_0x22ebf0[_0x48d395(0x30d)]=0x2329]=_0x48d395(0x30d),_0x22ebf0[_0x22ebf0['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x22ebf0[_0x22ebf0[_0x48d395(0x260)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x22ebf0[_0x22ebf0[_0x48d395(0x32b)]=0x232c]=_0x48d395(0x32b),_0x22ebf0[_0x22ebf0['LICENSE_DISTRO_REJECTED']=0x232d]=_0x48d395(0x167),_0x22ebf0[_0x22ebf0[_0x48d395(0x12d)]=0x2711]=_0x48d395(0x12d),_0x22ebf0[_0x22ebf0[_0x48d395(0x302)]=0x2712]=_0x48d395(0x302),_0x22ebf0[_0x22ebf0[_0x48d395(0x2b4)]=0x2713]=_0x48d395(0x2b4),_0x22ebf0[_0x22ebf0[_0x48d395(0x24d)]=0x2714]=_0x48d395(0x24d),_0x22ebf0[_0x22ebf0['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x48d395(0x364),_0x22ebf0[_0x22ebf0[_0x48d395(0x2ef)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x22ebf0[_0x22ebf0[_0x48d395(0x14b)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x22ebf0[_0x22ebf0[_0x48d395(0x2f3)]=0x271d]=_0x48d395(0x2f3),_0x22ebf0[_0x22ebf0['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x22ebf0[_0x22ebf0['YUUMI_AI_RUN_FAILED']=0x271f]=_0x48d395(0x10d),_0x22ebf0[_0x22ebf0[_0x48d395(0x11e)]=0x2af9]=_0x48d395(0x11e),_0x22ebf0[_0x22ebf0['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x48d395(0x2e1),_0x22ebf0[_0x22ebf0[_0x48d395(0x22f)]=0x2ee2]=_0x48d395(0x22f),_0x22ebf0[_0x22ebf0[_0x48d395(0x233)]=0x2ee3]=_0x48d395(0x233),_0x22ebf0[_0x22ebf0[_0x48d395(0x292)]=0x2ee4]=_0x48d395(0x292),_0x22ebf0[_0x22ebf0[_0x48d395(0x2fb)]=0x2ee5]=_0x48d395(0x2fb),_0x22ebf0[_0x22ebf0[_0x48d395(0x1ce)]=0x32c9]=_0x48d395(0x1ce),_0x22ebf0[_0x22ebf0['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x48d395(0x234),_0x22ebf0[_0x22ebf0['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x22ebf0[_0x22ebf0['UNRECOGNIZED']=-0x1]=_0x48d395(0x10e),_0x22ebf0))(_0x29d45c||{}),_0x105002=Object[_0x48d395(0x365)],_0x371f91=(_0x51ab94,_0x5a1278,_0x349e58,_0x52eb85)=>{const _0x4c4416=_0x48d395;for(var _0x92d46=_0x52eb85>0x1?void 0x0:_0x52eb85?_0x105002(_0x5a1278,_0x349e58):_0x5a1278,_0x3de9e2=_0x51ab94[_0x4c4416(0x249)]-0x1,_0x2e69dc;_0x3de9e2>=0x0;_0x3de9e2--)(_0x2e69dc=_0x51ab94[_0x3de9e2])&&(_0x92d46=_0x2e69dc(_0x92d46)||_0x92d46);return _0x92d46;},_0x3e876f=(_0x421497,_0x3c6d68)=>(_0x282eb1,_0x4d731b)=>_0x3c6d68(_0x282eb1,_0x4d731b,_0x421497);_0x125b65[_0x48d395(0x31e)]=class extends _0x1b00e8[_0x48d395(0xee)]{constructor(_0x450237,_0x47dbed,_0x27b50d){const _0x240ede=_0x48d395;super(),this[_0x240ede(0x35f)]=_0x450237,this['_httpService']=_0x47dbed,this['_configService']=_0x27b50d;}async[_0x48d395(0x27f)](_0x2747e7,_0x415fad,_0x3d803f,..._0x1c5df9){const _0x54a046=_0x48d395;var _0x4fcb3f,_0x50aa4c,_0x4c70ca,_0x23c3cd;const _0x5ecf4f=this[_0x54a046(0x35f)][_0x54a046(0x153)]();if(!_0x5ecf4f)throw new Error(_0x54a046(0x334));const _0x21b392=((_0x4fcb3f=this['_configService'][_0x54a046(0x113)](_0x5609d2[_0x54a046(0xf2)]))!=null?_0x4fcb3f:_0x5609d2[_0x54a046(0x2be)])+'/'+_0x2747e7+_0x54a046(0x2a8)+_0x415fad,_0x24b925=new URL(window[_0x54a046(0x350)]['href']),_0x3c7dd4={'scriptId':_0x2747e7,'runId':(_0x50aa4c=_0x24b925[_0x54a046(0x378)][_0x54a046(0x2da)](_0x54a046(0x16c)))!=null?_0x50aa4c:'','function':_0x415fad,'unitId':_0x5ecf4f[_0x54a046(0xf4)](),'argsOfFunction':JSON[_0x54a046(0x314)](_0x1c5df9),'invokeId':(_0x4c70ca=_0x3d803f['invokeId'])!=null?_0x4c70ca:'','executionId':(_0x23c3cd=_0x3d803f[_0x54a046(0x264)])!=null?_0x23c3cd:''};try{const _0x18c652=await this[_0x54a046(0x2ee)]['post'](_0x21b392,{'body':_0x3c7dd4});return _0x18c652[_0x54a046(0x220)][_0x54a046(0x2fc)]&&_0x18c652[_0x54a046(0x220)][_0x54a046(0x2fc)][_0x54a046(0x27a)]!==_0x29d45c['OK']?'Failed':_0x18c652['body'][_0x54a046(0x2cd)];}catch{return _0x54a046(0x2f7);}}},_0x125b65[_0x48d395(0x31e)]=_0x371f91([_0x3e876f(0x0,_0x1b00e8[_0x48d395(0x23e)]),_0x3e876f(0x1,_0x1b00e8[_0x48d395(0x124)](_0x193158[_0x48d395(0x1e7)])),_0x3e876f(0x2,_0x1b00e8[_0x48d395(0x1c5)])],_0x125b65[_0x48d395(0x31e)]),_0x125b65[_0x48d395(0x2fd)]=_0xc3b106,_0x125b65['IURLService']=_0x53b938,_0x125b65[_0x48d395(0x362)]=_0x4b1109,_0x125b65['WebBrowserSingleActiveUnitService']=_0x10c6c2,_0x125b65[_0x48d395(0x183)]=_0x12443e,Object[_0x48d395(0x259)](_0x125b65,Symbol[_0x48d395(0x26f)],{'value':_0x48d395(0x20a)});}));function _0x1ad9(_0x16dd37,_0xd4ffad){const _0x5005d7=_0x5005();return _0x1ad9=function(_0x1ad99d,_0x19af4d){_0x1ad99d=_0x1ad99d-0xd7;let _0x47ab81=_0x5005d7[_0x1ad99d];return _0x47ab81;},_0x1ad9(_0x16dd37,_0xd4ffad);}function _0x5005(){const _0x3a457e=['@univerjs/core','search','handleIRemoveRow','endColumn','ticket','none','WebSocketService','...','values','CollaborationEvent','handleInsertRangeMoveDown','M0\x200H16V16H0z','takeUntil','InsertRowCommandId','_docTransformSelectionsService','sessionTicket','@univerjs/engine-formula','handleMoveRange','row','key','univer-flex\x20univer-mr-2\x20univer-text-xl','RefRangeService','arc','_ensureSubject','mergeOverrideWithDependencies','_color','saveOfflineData','enableLocalCache','rxjs','UNDEFINED','_textBubble','toDisposable','restore','use','setInterval','NO_OTHER_CLIENTS_EDITING','measureText','collabStatus.fetchMiss','@univerjs/ui','AWAITING_WITH_PENDING','_name','onPointerEnter$','roomMembers$','serializeRangeWithSheet','isEditing','xlink:href','addHandlerCallback','Subject','attrs','IConfigService','entityInit$','DocSkeletonManagerService','setTimeout','getRenderById','_startDocCollabCursor','_injector','_handleJoinEvent','_cachedData','WECHAT_HAS_BEEN_BOUND','params','@univerjs/drawing','_transformPreviousActiveRange','mutations','_cursor','@univerjs/docs','sheetId','registerRenderModule','_drawAnchor','pushState','_localCacheService','_commandService','hovered','_collaborationController','2429324AHDKvb','DOC_RANGE_TYPE','transform','setItem','_hideTimer','_document','session.collaboration-timeout','Optional','IMessageService','path','HTTPService','debounceTime','mask','UniverCollaborationClientUIPlugin','_handleLeaveEvent','getTypeOfUnitAdded$','from','ILocalCacheService','UNAUTHENTICATED','isActive','icon','_status$','ICommandService','popstate','SNAPSHOT_HAS_BEEN_REMOVED','LocaleService','useRef','black','getOwnPropertySymbols','getRelativeToViewportCoord','APPLY_NON_SEQUENTIAL_REVISION','max','has','SetSelectionsOperation','IImageIoService','_disabled','apply','color','ALREADY_EXISTS','unshift','jsx','37523610FiwMuV','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','roomMembers','addEventListener','Module','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_updateLocalCursor','top','@univerjs/design','collabStatus.notCollab','@univerjs/docs-ui','SetDocZoomRatioOperation','_cursors','addObject','getMemberID','DocCollaborationEntity','substring','IRenderManagerService','off-line-icon_clip0_910_343','COMPLETION_FINISHED','_univerInstanceService','idSuffix','_onCursorDelete','onLocalMutation','useCallback','handleIRemoveCol','body','_transformService','getValue','FromArray','TEXT','getDocRanges','url(#on-line-icon_clip0_910_349)','Rect','_entities','moveTo','collab-text-range-','href','VIEW_MAIN','set','_collabCursorController','INVALID_INVITE_CODE','IDocClipboardService','APPLY_PERMISSION_DENIED','complete','INVITE_CODE_REQUIRED','MOBILE_HAS_BEEN_BOUND','colorChannel1','translate(.97)','_unitOnClients','_unitStatus','contains','MemberService','shareReplay','clearInterval','React','IUniverInstanceService','unitID','_updateCollabCursors','subUnitId','getColor','size','_revisionService','NOT_COLLAB','INotificationService','getUnitStatus$','useDependency','length','univerjs-icon\x20univerjs-icon-','@univerjs/rpc','getTypeOfUnitDisposed$','YUUMI_SUBSCRIPTION_NOT_FOUND','_drawTextRange','transformStateCache','76qwkajk','_updateSubUnitFromURLParams','then','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','RegularPolygon','_assignedColors','_getSessionTicket','_init','CollaborationUIEventService','defineProperty','ONLINE','_docSkeletonManagerService','_context','registerComponent','div','_createSocketURL','LICENSE_IMPORT_SIZE_EXCEEDED','url(#$1','_refreshCollabCursors','@univerjs/sheets-ui','executionId','_collabSessionService','dispose$','split','LOGIN_FAILED','handleInsertCol','UniverDocs','Plugin','collaboration-client-ui.config','ITransformService','ranges','toStringTag','getCurrentSelections','_removeClearOtherTimer','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','CommandType','function','_heartbeatTimer','collaboration-client.offline-data-not-saved','IBeforeCloseService','width','range','code','white','_cursorShapes','_initResize','@univerjs/sheets','runOnServer','CONNECTOR_DATA_TOO_LARGE','transformMutationsWithChangeset','replaceState','createIdentifier','_docSkeleton','trim','_labelPosition','@univerjs/engine-render','DocStateChangeManagerService','_handleHeartbeatEvent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','save','setActiveRange','operators','1em','memberID','5596338pDtEbk','newValue','USER_NOT_INVITED_CODE','_configService','MUTATION','undoState','registerRefRange','ThemeService','CLOSE_ROOM','_anchor','_beforeCloseService','activeSheet$','_scheduleSaving','ILogService','_setupSubUnitSync','defIds','[CollaborationDataLoaderController]','_send','_backgroundColor','DEFAULT_WS_SESSION_TICKET_URL','CollaborationDataLoaderController','16uGyQaI','loadUnit','pipe','/run/','_selfUnitIDs','_initStatusComponent','_memberService','_hovered','10783696mcKGio','ISocketService','_render','Tooltip','getVpScrollXYInfoByPosToVp','_dataLoaderService','url(#off-line-icon_clip0_910_343)','YUUMI_RATE_OVER_LIMIT','getViewport','CHANGESET_REVISION_CONFILICT','evenodd','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-pro/collaboration','clipPath','_docClipboardService','_handleEvent','off-line-icon','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getSheetBySheetId','permission.title','getCurrentRevOfUnit','getSheetId','NOT_FOUND','assign','textRanges','_initDependencies','debug','getOffsetConfig','concat','ENSURE_SNAPSHOT_EXECUTION','setUndoRedoMutationParamsCache','UniverProCollaborationClient','result','UniverDesign','onPointerMove$','CONFLICT','saveTaskMap','purple.300','disposeUnit','_saveCache','_scheduleClearOtherTimer','_transformHistoryAndStateStack','UniverSheets','collaboration.single-unit.warning','_config','get','_roomMembers$','deepClone','init','collabCursorState$','_registerRenderDependencies','CollaborationController','INVITE_CODE_HAS_BEEN_UES','runRefRangeMutations','SNAPSHOT_INVALID_SNAPSHOT','_docStateChangeManagerService','text','event$','round','symbol','Workbook','UniverEngineFormula','OTHER_CLIENT_EDITING','DependentOn','map','_httpService','YUUMI_ASYNCIO_CANCELLED','isArray','UNIVER_SHEET','drawWith','YUUMI_ALL_TABLES_IS_INVALID','fromEventSubject','startColumn','application/json','Failed','_entityInit$','_online','requireSession','INVITE_CODE_ALREADY_BOUND','error','CollaborationStatusDisplay','loadOfflineData','registerDependencies','_updateURLWithCurrentState','IRemoteInstanceService','YUUMI_URL_COL_OUT_OF_RANGE','hasOwnProperty','fillStyle','distinctUntilChanged','children','UniverInstanceType','_onCursorUpdate','APPLY_DUPLICATED','endRow','jiqing.500','ISnapshotServerService','LICENSE_MAX_UNITS_EXCEEDED','RevisionService','addClipboardHook','_session','CollaborationUIEventId','_doCreateSocket','fromEvent','stringify','displayName','add','connectInjector','flatMap','_lastPointer','_uiPartsService','SetTextSelectionsOperation','_draw','OTHER_CLIENTS_EDITING','RemoteUniscriptService','JOIN_ROOM_FAILED','indexOf','CollaborationSessionService','COLORS','random','subunit','5087781TnmFnh','_drawRectRange','name','1551078eegyQW','subscribe','OffLineIcon','LICENSE_EXPORT_SIZE_EXCEEDED','setParam','doc.mutation.rich-text-editing','_localStorageService','status$','TEXT_RANGE_LAYER_INDEX','unsubscribe','_getMergeRange','CollaborationStatus','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_shapes','_docTransformIMECacheService','column','hide','getStateCache','_removeCollabCursors','svg','RemoveRowCommandId','http://www.w3.org/2000/svg','UniverDocsUi','currentTheme$','getColorFromTheme','RichTextEditingMutation','debounce','AWAITING','_docTransformStateCacheService','univer-flex\x20univer-items-center','Error','fillRule','@univerjs/network','INTERNAL_ERROR','subscribeEvent','forwardRef','_getSaveTimeout','APPLY_REVISION_CONFILICT','reconnect','cursorInfo','location','amd','override','useObservable','getUniverSheetInstance','UniverIcon','getMember','SessionStatus','collabStatus.syncing','_initEntityListener','show','filter','pluginName','isTransformMutationsWithChangesetSuccess','_imageIoService','_instanceService','NodePositionConvertToRectRange','selection','SheetCollabCursorShape','redoState','YUUMI_NO_CUBOID_FOR_QUESTION','getOwnPropertyDescriptor','createElement','propertyIsEnumerable','_id','RxDisposable','some','source','ILocalStorageService','Tools','_startSheetCollabCursor','OFFLINE','makeDirty','LOCAL_CACHE_INTERVAL','combineLatest','TOO_MANY_REQUESTS','createSocket','UniverProCollaborationClientUi','_hover','InsertRangeMoveRightCommandId','searchParams','sheetID','onPointerLeave$','extend','fill','defs','dispose','getCurrent','permission.content','transformIMECache','_docSyncEditingCollabCursorService','current','_range','APPLY_REJECT','_clearOtherTimers','MessageType','disposeWithMe','assignAColorForMemberID','_saveTaskMap','UPDATE_CURSOR','DesktopCollaborationStatusDisplayController','BehaviorSubject','_getScale','unit','Disposable','font','m1Prime','backgroundColor','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','FETCH_MISS','getUnitId','getCellPositionByOffset','onRendered','unitId','_getAnchorBounding','removeParam','jsxs','asObservable','DocIMEInputManagerService','_urlService','onMouseMove','UniverDrawing','RemoveColCommandId','react','UniverRpc','replace','transformRemoteChangeset','_colorIndex','history','Warning','SUBMIT_CHANGESET_TIMEOUT','SOCKET_FAILED_RETRY','actions','currentSkeleton$','eventID','YUUMI_AI_RUN_FAILED','UNRECOGNIZED','with','_toggleOnline','isTransformMutationFailure','DeleteRangeMoveLeftCommandId','getConfig','unload','transformMutation','Rectangle','Unknown\x20user','delete','_scheduleHeartbeat','height','_sheetSkeletonManagerService','urlChange$','_collaborationUIEventService','PY_RUNTIME_SCRIPT_ERROR','PERMISSION_DENIED','Injector','_setupBeforeClosingHandler','UNIVER_DOC','ColorKit','Inject','_logService','IUIPartsService','UnitStatus','origin','imageSourceType','getLocalCacheKey','36926EgwVvV','transformSelections','YUUMI_UNABLE_LOAD_URL','UniverCollaborationClientPlugin','_onRefRangeChange','BrowserCollaborationSocketService','clearTimeout','DeleteRangeMoveUpCommandId','includes','RECT','EffectRefRangId','executeCommand','saveImage','_collabCursorState$','tag','toString','_getSheetObject','updateOfflineData','replaceDocRanges','USERS_LEAVE','HEADER_MENU','getParam','DisposableCollection','prototype','_messageService','SetWorksheetActivateCommand','m2Prime','handleDeleteRangeMoveUp','clsx','react/jsx-runtime','type','SHEET_VIEWPORT_KEY','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collab-text-anchor-','_initCommandExecutedListener','switchMap','push','@univerjs-pro/collaboration-client','_anchorDot','session.connection-failed','getFocusedUnit','_localeService','currentColor','data','InsertColCommandId','bottom','storage','touchDependencies','5HBGxdP','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','find','Shape','UniverNetwork','SOCKET_FAILED','INVALID_ARGUMENT','send','_eventUnsubscribe','_scene','_renderManagerService','getCollabCursors$','LICENSE_DISTRO_REJECTED','engine','string','className','call','runId','rxjs/operators','_themeService','_handleHover','setStateCache','next','_refRangeService','_colorAssignService','min','selections','_transformUndoRedoStack','getActiveSheet','NodePositionConvertToCursor','on-line-icon_clip0_910_349','fillText','setShapeProps','_initStatusListener','getMergeData','collabStatus.conflict','UniverUi','_syncEditingCollabCursorService','_cursorInfo$','findNodePositionByCharIndex','WebURLService','UniverProCollaboration','getAncestorScale','CollaborationSocketService','lineTo','onCommandExecuted','handleDeleteRangeMoveLeft','handleInsertRow','DocSelectionManagerService','merge','generateRandomId','blue.400','getUndoRedoMutationParamsCache','forEach','_toggleOffline','entries','Vector2'];_0x5005=function(){return _0x3a457e;};return _0x5005();}
|
|
1
|
+
(function(_0x49416b,_0x267d16){const _0xbdff5f=_0x2785,_0x3bccb2=_0x49416b();while(!![]){try{const _0x46f8a3=-parseInt(_0xbdff5f(0x369))/0x1*(-parseInt(_0xbdff5f(0x313))/0x2)+-parseInt(_0xbdff5f(0x436))/0x3+parseInt(_0xbdff5f(0x30b))/0x4+parseInt(_0xbdff5f(0x23d))/0x5+parseInt(_0xbdff5f(0x2c9))/0x6+parseInt(_0xbdff5f(0x408))/0x7*(parseInt(_0xbdff5f(0x231))/0x8)+-parseInt(_0xbdff5f(0x35c))/0x9;if(_0x46f8a3===_0x267d16)break;else _0x3bccb2['push'](_0x3bccb2['shift']());}catch(_0x4be68c){_0x3bccb2['push'](_0x3bccb2['shift']());}}}(_0x375c,0xe073d),function(_0x6d4f61,_0x5d7ef7){const _0x3f10fe=_0x2785;typeof exports==_0x3f10fe(0x2c5)&&typeof module<'u'?_0x5d7ef7(exports,require(_0x3f10fe(0x2e7)),require(_0x3f10fe(0x435)),require(_0x3f10fe(0x200)),require(_0x3f10fe(0x41f)),require(_0x3f10fe(0x34b)),require('@univerjs/drawing'),require(_0x3f10fe(0x3ab)),require(_0x3f10fe(0x35b)),require(_0x3f10fe(0x28d)),require(_0x3f10fe(0x2e2)),require('@univerjs/sheets'),require(_0x3f10fe(0x1f1)),require(_0x3f10fe(0x25d)),require(_0x3f10fe(0x208)),require('@univerjs/ui'),require(_0x3f10fe(0x3af)),require('react'),require(_0x3f10fe(0x28b))):typeof define==_0x3f10fe(0x201)&&define[_0x3f10fe(0x355)]?define([_0x3f10fe(0x38f),_0x3f10fe(0x2e7),_0x3f10fe(0x435),_0x3f10fe(0x200),_0x3f10fe(0x41f),_0x3f10fe(0x34b),'@univerjs/drawing','rxjs',_0x3f10fe(0x35b),_0x3f10fe(0x28d),'@univerjs/engine-formula','@univerjs/sheets',_0x3f10fe(0x1f1),'@univerjs/sheets-ui',_0x3f10fe(0x208),_0x3f10fe(0x356),'@univerjs/design',_0x3f10fe(0x351),_0x3f10fe(0x28b)],_0x5d7ef7):(_0x6d4f61=typeof globalThis<'u'?globalThis:_0x6d4f61||self,_0x5d7ef7(_0x6d4f61[_0x3f10fe(0x1b5)]={},_0x6d4f61[_0x3f10fe(0x1d3)],_0x6d4f61[_0x3f10fe(0x352)],_0x6d4f61[_0x3f10fe(0x2b8)],_0x6d4f61['UniverNetwork'],_0x6d4f61[_0x3f10fe(0x42a)],_0x6d4f61[_0x3f10fe(0x1e2)],_0x6d4f61['rxjs'],_0x6d4f61[_0x3f10fe(0x301)],_0x6d4f61[_0x3f10fe(0x19c)],_0x6d4f61[_0x3f10fe(0x1aa)],_0x6d4f61[_0x3f10fe(0x40d)],_0x6d4f61['rxjs']['operators'],_0x6d4f61[_0x3f10fe(0x1ac)],_0x6d4f61['React'],_0x6d4f61[_0x3f10fe(0x32c)],_0x6d4f61[_0x3f10fe(0x2da)],_0x6d4f61[_0x3f10fe(0x32a)],_0x6d4f61['UniverRpc']));}(this,function(_0x2f60c5,_0xfdd47c,_0x45454d,_0x17a4de,_0x4cb81d,_0x1b66a1,_0x25f2aa,_0x481401,_0x1af111,_0x368b75,_0x3ca4e0,_0x518da4,_0x382509,_0x3497ae,_0x135d70,_0x933c1a,_0x4402cc,_0x54e81b,_0x1c6948){'use strict';const _0x2273bc=_0x2785;var _0x1576c9=Object[_0x2273bc(0x2ee)],_0x4f9554=(_0x542d1e,_0x25aa57,_0x4dc99d)=>_0x25aa57 in _0x542d1e?_0x1576c9(_0x542d1e,_0x25aa57,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dc99d}):_0x542d1e[_0x25aa57]=_0x4dc99d,_0x394afd=(_0x1a8acf,_0x1257e3,_0x47c58a)=>_0x4f9554(_0x1a8acf,typeof _0x1257e3!='symbol'?_0x1257e3+'':_0x1257e3,_0x47c58a),_0x40a020=Object['getOwnPropertyDescriptor'],_0x40f308=(_0x1a1725,_0x50bac8,_0x538c55,_0x138de3)=>{for(var _0x333fbf=_0x138de3>0x1?void 0x0:_0x138de3?_0x40a020(_0x50bac8,_0x538c55):_0x50bac8,_0x297c11=_0x1a1725['length']-0x1,_0x14f72c;_0x297c11>=0x0;_0x297c11--)(_0x14f72c=_0x1a1725[_0x297c11])&&(_0x333fbf=_0x14f72c(_0x333fbf)||_0x333fbf);return _0x333fbf;},_0x1091e=(_0x1ba126,_0x43f520)=>(_0x39f774,_0x603361)=>_0x43f520(_0x39f774,_0x603361,_0x1ba126);let _0x4604dc=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x4f2c05,_0x483565){const _0x1693c2=_0x2273bc;super(),this[_0x1693c2(0x2b4)]=_0x4f2c05,this[_0x1693c2(0x38c)]=_0x483565,this[_0x1693c2(0x27f)]();}[_0x2273bc(0x27f)](){const _0x500241=_0x2273bc,_0x468edf=this;this['disposeWithMe'](this[_0x500241(0x2b4)][_0x500241(0x37e)]({'onBeforePasteImage':async _0x5110c5=>{const _0x37a465=_0x500241,_0xeb9b68=await _0x468edf[_0x37a465(0x38c)][_0x37a465(0x40c)](_0x5110c5);return _0xeb9b68?{'source':_0xeb9b68[_0x37a465(0x2f2)],'imageSourceType':_0xeb9b68[_0x37a465(0x3ee)]}:null;}}));}};_0x4604dc=_0x40f308([_0x1091e(0x0,_0x1b66a1[_0x2273bc(0x3ba)]),_0x1091e(0x1,_0x25f2aa['IImageIoService'])],_0x4604dc);const _0x5c65c5=['purple.300',_0x2273bc(0x1e5),_0x2273bc(0x212),_0x2273bc(0x36e),_0x2273bc(0x393),_0x2273bc(0x26b)];class _0x308b95 extends _0x45454d[_0x2273bc(0x359)]{constructor(){const _0x5cd927=_0x2273bc;super(...arguments),_0x394afd(this,_0x5cd927(0x390),new Map()),_0x394afd(this,_0x5cd927(0x3f3),0x0);}[_0x2273bc(0x247)](_0x526e87){const _0x1cdde3=_0x2273bc;if(this[_0x1cdde3(0x390)][_0x1cdde3(0x385)](_0x526e87))return this[_0x1cdde3(0x390)][_0x1cdde3(0x1ef)](_0x526e87);const _0x20b589=_0x5c65c5[this[_0x1cdde3(0x3f3)]];return this[_0x1cdde3(0x3f3)]=(this[_0x1cdde3(0x3f3)]+0x1)%_0x5c65c5['length'],this[_0x1cdde3(0x390)][_0x1cdde3(0x2e8)](_0x526e87,_0x20b589),_0x20b589;}}function _0x4e0fd4(_0xd366cf){let _0x4be75e='';for(const _0x130a32 of _0xd366cf){const {startOffset:_0x237d86,endOffset:_0x17cf3a,isActive:_0x3f825a,rangeType:_0x1649b1,segmentId:_0x2efb00,segmentPage:_0x482d6a}=_0x130a32;_0x4be75e['length']&&(_0x4be75e+=','),_0x4be75e+=_0x237d86+':'+_0x17cf3a+':'+(_0x3f825a?'1':'0')+':'+_0x1649b1+':'+_0x2efb00+':'+_0x482d6a;}return _0x4be75e;}function _0x2af1b0(_0x35a5fe){const _0x1480ad=_0x2273bc,_0x2d9c17=_0x35a5fe[_0x1480ad(0x3b9)](','),_0x4c2bbb=[];for(const _0x478e57 of _0x2d9c17){const [_0x253361,_0x79b540,_0x30f222,_0x5008fc,_0x48e7a7,_0x5b38ea]=_0x478e57[_0x1480ad(0x3b9)](':');_0x4c2bbb[_0x1480ad(0x273)]({'startOffset':Number(_0x253361),'endOffset':Number(_0x79b540),'collapsed':_0x253361===_0x79b540,'isActive':_0x30f222==='1','rangeType':_0x5008fc===_0x45454d[_0x1480ad(0x287)][_0x1480ad(0x3e2)]?_0x45454d[_0x1480ad(0x287)][_0x1480ad(0x3e2)]:_0x45454d['DOC_RANGE_TYPE'][_0x1480ad(0x317)],'segmentId':typeof _0x48e7a7=='string'?String(_0x48e7a7):'','segmentPage':Number(_0x5b38ea!=null?_0x5b38ea:-0x1)});}return _0x4c2bbb[_0x1480ad(0x1eb)](_0x353b22=>_0x353b22[_0x1480ad(0x404)])||(_0x4c2bbb[0x0][_0x1480ad(0x404)]=!0x0),_0x4c2bbb;}class _0x43f1e3 extends _0x45454d['RxDisposable']{constructor(){const _0x590c1f=_0x2273bc;super(...arguments),_0x394afd(this,'_collabCursorState$',new _0x481401[(_0x590c1f(0x2e4))](null)),_0x394afd(this,_0x590c1f(0x3e7),this[_0x590c1f(0x392)][_0x590c1f(0x39f)]());}[_0x2273bc(0x31d)](_0x3a3da9){const _0x28c2d9=_0x2273bc,{unitID:_0x573a15,memberID:_0x33fc7f,textRanges:_0x515ff7}=_0x3a3da9,_0x253124=_0x4e0fd4(_0x515ff7);if(_0x253124==='')return;const _0x3b25e8={'unitID':_0x573a15,'memberID':_0x33fc7f,'selection':_0x253124};this[_0x28c2d9(0x392)][_0x28c2d9(0x33c)](_0x3b25e8);}}var _0x44f65a=Object[_0x2273bc(0x43a)],_0x640358=(_0x271976,_0x354db5,_0x124465,_0x30c43b)=>{const _0x438080=_0x2273bc;for(var _0x3b8703=_0x30c43b>0x1?void 0x0:_0x30c43b?_0x44f65a(_0x354db5,_0x124465):_0x354db5,_0x366981=_0x271976[_0x438080(0x1cb)]-0x1,_0x54bc0e;_0x366981>=0x0;_0x366981--)(_0x54bc0e=_0x271976[_0x366981])&&(_0x3b8703=_0x54bc0e(_0x3b8703)||_0x3b8703);return _0x3b8703;},_0x256a26=(_0x4ad8cc,_0x1fac5d)=>(_0x40f36e,_0x1fa816)=>_0x1fac5d(_0x40f36e,_0x1fa816,_0x4ad8cc);const _0xb0d87=0x12c,_0x3dcffa=0x64;let _0xe2085d=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x4f3614,_0x34c502,_0x293b9e,_0x423510,_0x2dfe3c,_0x59dabd,_0x263c59,_0x1ee1d8,_0x57f1cb){const _0x5c2e65=_0x2273bc;super(),_0x394afd(this,_0x5c2e65(0x36b),!0x1),_0x394afd(this,'_init',!0x1),_0x394afd(this,_0x5c2e65(0x37c),new _0x481401[(_0x5c2e65(0x2e4))](new Map())),_0x394afd(this,_0x5c2e65(0x20e),this[_0x5c2e65(0x37c)][_0x5c2e65(0x39f)]()),_0x394afd(this,'_roomMembers$',new _0x481401[(_0x5c2e65(0x2e4))]([])),_0x394afd(this,'roomMembers$',this[_0x5c2e65(0x363)][_0x5c2e65(0x262)](_0x481401['debounceTime'](_0xb0d87))),_0x394afd(this,'_updateLocalCursor',_0x45454d[_0x5c2e65(0x29d)](_0x55e3ea=>{const _0x2fb3dd=_0x5c2e65,_0x3db762={'eventID':_0x368b75['CollaborationEvent'][_0x2fb3dd(0x34c)],'data':{'unitID':this[_0x2fb3dd(0x2cb)],'memberID':this[_0x2fb3dd(0x33b)][_0x2fb3dd(0x2ea)](),'selection':_0x4e0fd4(_0x55e3ea)}};this[_0x2fb3dd(0x33b)][_0x2fb3dd(0x401)](_0x3db762,this[_0x2fb3dd(0x2cb)]);},_0x3dcffa)),(this[_0x5c2e65(0x2cb)]=_0x4f3614,this[_0x5c2e65(0x33b)]=_0x34c502,this['_injector']=_0x293b9e,this[_0x5c2e65(0x237)]=_0x423510,this[_0x5c2e65(0x3f8)]=_0x2dfe3c,this['_syncEditingCollabCursorService']=_0x59dabd,this[_0x5c2e65(0x333)]=_0x263c59,this[_0x5c2e65(0x383)]=_0x1ee1d8,this[_0x5c2e65(0x1c1)]=_0x57f1cb);}get[_0x2273bc(0x2f9)](){const _0x99ab42=_0x2273bc;return this['_cursorInfo$'][_0x99ab42(0x3f5)]();}get[_0x2273bc(0x3cf)](){const _0x1e672e=_0x2273bc;return this[_0x1e672e(0x363)][_0x1e672e(0x3f5)]();}['dispose'](){const _0x4d45ba=_0x2273bc;super[_0x4d45ba(0x3b5)](),this[_0x4d45ba(0x37c)]['next'](new Map()),this[_0x4d45ba(0x37c)][_0x4d45ba(0x417)](),this['_roomMembers$'][_0x4d45ba(0x33c)]([]),this[_0x4d45ba(0x363)][_0x4d45ba(0x417)]();}[_0x2273bc(0x3db)](){const _0x267c88=_0x2273bc;this[_0x267c88(0x27f)]||(this['_init']=!0x0,this[_0x267c88(0x33b)][_0x267c88(0x25c)]['pipe'](_0x481401[_0x267c88(0x2f3)](this['dispose$']))[_0x267c88(0x2b7)](_0x11af30=>{const _0x498009=_0x267c88;_0x11af30===_0xfdd47c[_0x498009(0x332)][_0x498009(0x425)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session']['event$'][_0x267c88(0x262)](_0x481401[_0x267c88(0x2f3)](this[_0x267c88(0x1ad)]))['subscribe'](_0x14bb67=>{const _0x330811=_0x267c88,_0x1f3c2c=_0x14bb67[_0x330811(0x1b4)];_0x1f3c2c===_0x368b75[_0x330811(0x43b)][_0x330811(0x34c)]&&this[_0x330811(0x421)](_0x14bb67),_0x1f3c2c===_0x368b75[_0x330811(0x43b)][_0x330811(0x343)]&&this[_0x330811(0x23a)](_0x14bb67);}),this[_0x267c88(0x36f)](this[_0x267c88(0x1c1)][_0x267c88(0x353)](_0x51f354=>{const _0x5559a6=_0x267c88,_0x11b55f=_0x51f354['params'];_0x11b55f!=null&&this['_online']&&_0x51f354['id']===_0x1af111[_0x5559a6(0x3f9)]['id']&&_0x11b55f[_0x5559a6(0x338)]===this[_0x5559a6(0x2cb)]&&_0x11b55f['isEditing']===!0x1&&_0x11b55f[_0x5559a6(0x41c)][_0x5559a6(0x1cb)]>0x0&&this[_0x5559a6(0x35e)](_0x11b55f['ranges']);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x267c88(0x262)](_0x481401['takeUntil'](this['dispose$']))[_0x267c88(0x2b7)](_0x59ec19=>{const _0x4ca96=_0x267c88;if((_0x59ec19==null?void 0x0:_0x59ec19[_0x4ca96(0x2cb)])!==this[_0x4ca96(0x2cb)])return;const _0x5a6a8b={'eventID':_0x368b75[_0x4ca96(0x43b)]['UPDATE_CURSOR'],'data':_0x59ec19};this[_0x4ca96(0x421)](_0x5a6a8b);}),this[_0x267c88(0x36f)](this[_0x267c88(0x1c1)][_0x267c88(0x353)](_0x23eb9e=>{const _0x3565e0=_0x267c88;if(_0x23eb9e[_0x3565e0(0x399)]==null)return;const _0x224a49=_0x23eb9e[_0x3565e0(0x399)];if(_0x23eb9e['id']!==_0x1af111[_0x3565e0(0x39e)]['id']||_0x224a49[_0x3565e0(0x338)]!==this['unitID'])return;const _0x5dc16f={'id':_0x3565e0(0x2b5),'params':_0x224a49},_0x377beb=this[_0x3565e0(0x2f9)];for(const [_0x38beaa,_0x30a7fb]of _0x377beb){const _0x12bb11={'id':_0x3565e0(0x2b5),'params':{'unitId':this[_0x3565e0(0x2cb)],'actions':null,'textRanges':_0x30a7fb['ranges']}},_0x54aeea=this[_0x3565e0(0x333)][_0x3565e0(0x2cc)](_0x5dc16f,_0x12bb11,!0x1);if(_0x368b75[_0x3565e0(0x31e)](_0x54aeea))throw _0x54aeea[_0x3565e0(0x372)];_0x377beb['set'](_0x38beaa,{..._0x30a7fb,'ranges':_0x54aeea[_0x3565e0(0x248)][_0x3565e0(0x399)]['textRanges']});}queueMicrotask(()=>{const _0x33ed7f=_0x3565e0;this[_0x33ed7f(0x37c)]['next'](_0x377beb);});})));}[_0x2273bc(0x421)](_0x4597ef){const _0x40f5e4=_0x2273bc;var _0x4814ad,_0x1c212d;const {memberID:_0x1dbe99,selection:_0x3d7ed8}=_0x4597ef[_0x40f5e4(0x3be)],_0x13b93b=_0x2af1b0(_0x3d7ed8),_0x360089=(_0x1c212d=(_0x4814ad=this[_0x40f5e4(0x3f8)][_0x40f5e4(0x3a7)](this[_0x40f5e4(0x2cb)],_0x1dbe99))==null?void 0x0:_0x4814ad[_0x40f5e4(0x2c8)])!=null?_0x1c212d:_0x40f5e4(0x202),_0x2559af={'color':this[_0x40f5e4(0x237)]['assignAColorForMemberID'](_0x1dbe99),'name':_0x360089,'ranges':_0x13b93b},_0x13f7a0=this[_0x40f5e4(0x2f9)];_0x13f7a0[_0x40f5e4(0x2e8)](_0x1dbe99,_0x2559af),this[_0x40f5e4(0x37c)][_0x40f5e4(0x33c)](_0x13f7a0);}[_0x2273bc(0x23a)](_0x2c40be){const _0x283f03=_0x2273bc,{memberID:_0xdd5014}=_0x2c40be[_0x283f03(0x3be)],_0x4c68ae=this[_0x283f03(0x2f9)];_0x4c68ae[_0x283f03(0x43c)](_0xdd5014),this[_0x283f03(0x37c)]['next'](_0x4c68ae);}[_0x2273bc(0x431)](){const _0x23fa89=_0x2273bc;var _0x17b857;if(this[_0x23fa89(0x36b)]=!0x0,((_0x17b857=this[_0x23fa89(0x383)][_0x23fa89(0x3d2)]())==null?void 0x0:_0x17b857[_0x23fa89(0x318)]())!==this['unitID'])return;const _0x1338fa=this[_0x23fa89(0x3ca)][_0x23fa89(0x1ef)](_0x1af111['DocSelectionManagerService'])[_0x23fa89(0x21f)]();Array[_0x23fa89(0x387)](_0x1338fa)&&_0x1338fa[_0x23fa89(0x1cb)]>0x0&&this[_0x23fa89(0x35e)](_0x1338fa);}[_0x2273bc(0x1c2)](){const _0x2bc11c=_0x2273bc;this[_0x2bc11c(0x36b)]=!0x1;}};_0xe2085d=_0x640358([_0x256a26(0x2,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x256a26(0x3,_0x45454d['Inject'](_0x308b95)),_0x256a26(0x4,_0x45454d['Inject'](_0xfdd47c[_0x2273bc(0x294)])),_0x256a26(0x5,_0x45454d[_0x2273bc(0x37f)](_0x43f1e3)),_0x256a26(0x6,_0x368b75['ITransformService']),_0x256a26(0x7,_0x45454d[_0x2273bc(0x1b1)]),_0x256a26(0x8,_0x45454d[_0x2273bc(0x3d0)])],_0xe2085d);var _0x5b3e29=Object[_0x2273bc(0x43a)],_0x1c0493=(_0x3662ca,_0x1dce5a,_0x2ba60f,_0x1e484c)=>{const _0x36a778=_0x2273bc;for(var _0x2f234b=_0x1e484c>0x1?void 0x0:_0x1e484c?_0x5b3e29(_0x1dce5a,_0x2ba60f):_0x1dce5a,_0x515046=_0x3662ca[_0x36a778(0x1cb)]-0x1,_0x229a51;_0x515046>=0x0;_0x515046--)(_0x229a51=_0x3662ca[_0x515046])&&(_0x2f234b=_0x229a51(_0x2f234b)||_0x2f234b);return _0x2f234b;},_0x33ca4f=(_0x48dda8,_0x4828e9)=>(_0x433ca5,_0x49462d)=>_0x4828e9(_0x433ca5,_0x49462d,_0x48dda8);const _0x2fa893=0x12c,_0x3d468d=0x64,_0x533d0d=()=>{let _0x8118d1=[],_0x3202e5=!0x1;return _0x40c667=>{const _0x514e45=_0x2785;_0x8118d1[_0x514e45(0x273)](_0x40c667),_0x3202e5||(_0x3202e5=!0x0,setTimeout(()=>{const _0x59a416=_0x514e45;_0x8118d1[_0x59a416(0x213)](_0x21024e=>_0x21024e()),_0x8118d1=[],_0x3202e5=!0x1;}));};};let _0x3b6a78=class extends _0x45454d['RxDisposable']{constructor(_0x104901,_0x414fc9,_0x8eba51,_0x2c0a57,_0x257a7e,_0x1b6c1c,_0x382fe2,_0x13d106){const _0x292cd3=_0x2273bc;super(),_0x394afd(this,_0x292cd3(0x36b),!0x1),_0x394afd(this,'_init',!0x1),_0x394afd(this,_0x292cd3(0x37c),new _0x481401[(_0x292cd3(0x2e4))](new Map())),_0x394afd(this,'cursorInfo$',this[_0x292cd3(0x37c)][_0x292cd3(0x39f)]()),_0x394afd(this,_0x292cd3(0x363),new _0x481401['BehaviorSubject']([])),_0x394afd(this,_0x292cd3(0x1bb),this[_0x292cd3(0x363)][_0x292cd3(0x262)](_0x481401['debounceTime'](_0x2fa893))),_0x394afd(this,_0x292cd3(0x35e),_0x45454d[_0x292cd3(0x29d)]((_0x4ac853,_0x32549d)=>{const _0x53dec7=_0x292cd3,_0x41a43f={'eventID':_0x368b75[_0x53dec7(0x43b)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x53dec7(0x33b)]['getMemberID'](),'selection':_0x3ca4e0['serializeRangeWithSheet'](_0x4ac853,_0x32549d[_0x53dec7(0x3c8)])}};this[_0x53dec7(0x33b)][_0x53dec7(0x401)](_0x41a43f,this[_0x53dec7(0x2cb)]);},_0x3d468d)),(this[_0x292cd3(0x2cb)]=_0x104901,this['_session']=_0x414fc9,this['_injector']=_0x8eba51,this['_colorAssignService']=_0x2c0a57,this['_memberService']=_0x257a7e,this[_0x292cd3(0x383)]=_0x1b6c1c,this[_0x292cd3(0x1c1)]=_0x382fe2,this[_0x292cd3(0x382)]=_0x13d106);}get['cursorInfo'](){const _0x6fb14=_0x2273bc;return this[_0x6fb14(0x37c)][_0x6fb14(0x3f5)]();}get[_0x2273bc(0x3cf)](){const _0x801dae=_0x2273bc;return this[_0x801dae(0x363)][_0x801dae(0x3f5)]();}[_0x2273bc(0x3b5)](){const _0xa18340=_0x2273bc;super['dispose'](),this[_0xa18340(0x37c)][_0xa18340(0x33c)](new Map()),this[_0xa18340(0x37c)][_0xa18340(0x417)](),this['_roomMembers$'][_0xa18340(0x33c)]([]),this[_0xa18340(0x363)][_0xa18340(0x417)]();}[_0x2273bc(0x3db)](){const _0x1135d9=_0x2273bc;this[_0x1135d9(0x27f)]||(this[_0x1135d9(0x27f)]=!0x0,this[_0x1135d9(0x33b)][_0x1135d9(0x25c)][_0x1135d9(0x262)](_0x481401['takeUntil'](this['dispose$']))['subscribe'](_0x1c5eb4=>{const _0x15e8ae=_0x1135d9;_0x1c5eb4===_0xfdd47c['SessionStatus']['ONLINE']?this[_0x15e8ae(0x431)]():this[_0x15e8ae(0x1c2)]();}),this[_0x1135d9(0x33b)][_0x1135d9(0x241)]['pipe'](_0x481401[_0x1135d9(0x2f3)](this[_0x1135d9(0x1ad)]))[_0x1135d9(0x2b7)](_0x2ef17b=>{const _0x545d52=_0x1135d9,_0x25740a=_0x2ef17b['eventID'];_0x25740a===_0x368b75['CollaborationEvent'][_0x545d52(0x34c)]&&this[_0x545d52(0x421)](_0x2ef17b),_0x25740a===_0x368b75[_0x545d52(0x43b)][_0x545d52(0x343)]&&this[_0x545d52(0x23a)](_0x2ef17b);}),this[_0x1135d9(0x315)](),this[_0x1135d9(0x36f)](this[_0x1135d9(0x1c1)][_0x1135d9(0x353)](_0x4dc2f3=>{const _0x5d81e1=_0x1135d9;if(this['_online']&&_0x4dc2f3['id']===_0x518da4[_0x5d81e1(0x398)]['id']&&_0x4dc2f3[_0x5d81e1(0x399)][_0x5d81e1(0x338)]===this[_0x5d81e1(0x2cb)]){const _0x2aced9=_0x4dc2f3[_0x5d81e1(0x399)];this['_updateLocalCursor'](_0x2aced9[_0x5d81e1(0x3c4)],_0x2aced9[_0x5d81e1(0x1ca)][0x0]);}})));}[_0x2273bc(0x421)](_0x241be0){const _0x58256c=_0x2273bc;var _0x2b208c,_0x299dc6;const {memberID:_0x4b4b3e,selection:_0x30c48d}=_0x241be0['data'],{sheetName:_0x2453b7,range:_0x17d488}=_0x3ca4e0[_0x58256c(0x319)](_0x30c48d),_0x50d76b={'name':(_0x299dc6=(_0x2b208c=this['_memberService'][_0x58256c(0x3a7)](this[_0x58256c(0x2cb)],_0x4b4b3e))==null?void 0x0:_0x2b208c['name'])!=null?_0x299dc6:_0x58256c(0x202),'range':this[_0x58256c(0x2dc)](_0x2453b7,_0x17d488),'sheetID':_0x2453b7,'color':this[_0x58256c(0x237)][_0x58256c(0x247)](_0x4b4b3e),'selection':_0x30c48d},_0x1706cb=this[_0x58256c(0x2f9)];_0x1706cb['set'](_0x4b4b3e,_0x50d76b),this['_cursorInfo$'][_0x58256c(0x33c)](_0x1706cb);}[_0x2273bc(0x23a)](_0xb660bf){const _0x399aca=_0x2273bc,{memberID:_0x4d4901}=_0xb660bf[_0x399aca(0x3be)],_0x12de01=this['cursorInfo'];_0x12de01[_0x399aca(0x43c)](_0x4d4901),this[_0x399aca(0x37c)]['next'](_0x12de01);}[_0x2273bc(0x2dc)](_0x101671,_0x564b49){const _0x547439=_0x2273bc;var _0x45b573,_0x21216b;const _0x6e875c=(_0x21216b=(_0x45b573=this[_0x547439(0x383)][_0x547439(0x3bc)](this[_0x547439(0x2cb)]))==null?void 0x0:_0x45b573[_0x547439(0x2ca)](_0x101671))==null?void 0x0:_0x21216b[_0x547439(0x39c)]();return(_0x6e875c==null?void 0x0:_0x6e875c['find'](_0x2caacd=>_0x45454d[_0x547439(0x285)]['contains'](_0x2caacd,_0x564b49)))||_0x564b49;}[_0x2273bc(0x315)](){const _0x3bc66d=_0x2273bc,_0x133e4f=new _0x45454d['DisposableCollection'](),_0x783d93=_0x533d0d(),_0x2a2b16=()=>{const _0x2a410c=_0x2785;_0x133e4f[_0x2a410c(0x3b5)]();const _0x3d9061=(_0x5d10f5,_0x9cbaf8,_0x1c39ad,_0x2ca478)=>{const _0x5e816b=_0x2a410c;let _0x7a87e=[];switch(_0x5d10f5['id']){case _0x518da4[_0x5e816b(0x3d9)]['DeleteRangeMoveLeftCommandId']:{_0x7a87e=_0x518da4[_0x5e816b(0x28f)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x2c0)]:{_0x7a87e=_0x518da4[_0x5e816b(0x3ec)](_0x5d10f5,_0x2ca478);break;}case _0x518da4['EffectRefRangId'][_0x5e816b(0x344)]:{_0x7a87e=_0x518da4[_0x5e816b(0x2c4)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x1a6)]:{_0x7a87e=_0x518da4['handleInsertRangeMoveDown'](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x345)]:{_0x7a87e=_0x518da4[_0x5e816b(0x378)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x22f)]:{_0x7a87e=_0x518da4[_0x5e816b(0x386)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x1f6)]:{_0x7a87e=_0x518da4[_0x5e816b(0x26c)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x1e1)]:{_0x7a87e=_0x518da4[_0x5e816b(0x2bf)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x207)]:{_0x7a87e=_0x518da4[_0x5e816b(0x1c7)](_0x5d10f5,_0x2ca478);break;}}const _0xa3a0f2=_0x518da4[_0x5e816b(0x3e6)](_0x7a87e,_0x2ca478),_0x93f9f7=this['cursorInfo'][_0x5e816b(0x1ef)](_0x9cbaf8);if(_0x93f9f7&&_0xa3a0f2){const _0x264500={..._0x93f9f7,'range':_0xa3a0f2};this[_0x5e816b(0x2f9)][_0x5e816b(0x2e8)](_0x9cbaf8,_0x264500),_0x783d93(()=>{const _0x94584c=_0x5e816b,_0x16c5cf=this[_0x94584c(0x382)][_0x94584c(0x419)](_0xa3a0f2,_0xda2086=>(_0x16c5cf['dispose'](),_0x3d9061(_0xda2086,_0x9cbaf8,_0x1c39ad,_0xa3a0f2)));_0x133e4f['add'](_0x16c5cf);});}return{'redos':[],'undos':[]};};this[_0x2a410c(0x2f9)][_0x2a410c(0x213)]((_0x4bdcdd,_0x123b5b)=>{const _0x5243b1=_0x2a410c,{range:_0x5b43fe,sheetID:_0x1fd018}=_0x4bdcdd,_0x587bf3=this[_0x5243b1(0x382)]['registerRefRange'](_0x5b43fe,_0x4ae2e8=>(_0x587bf3[_0x5243b1(0x3b5)](),_0x3d9061(_0x4ae2e8,_0x123b5b,_0x1fd018,_0x5b43fe)));_0x133e4f[_0x5243b1(0x1ee)](_0x587bf3);});};this[_0x3bc66d(0x36f)](_0x45454d[_0x3bc66d(0x1c0)](this[_0x3bc66d(0x37c)][_0x3bc66d(0x2b7)](()=>{_0x2a2b16();})));}[_0x2273bc(0x431)](){const _0x509bb0=_0x2273bc;var _0x81a2fa,_0x3e2c13;if(this['_online']=!0x0,((_0x81a2fa=this[_0x509bb0(0x383)][_0x509bb0(0x3d2)]())==null?void 0x0:_0x81a2fa['getUnitId']())!==this['unitID'])return;const _0x29dc6d=(_0x3e2c13=this['_injector']['get'](_0x518da4['SheetsSelectionsService'])[_0x509bb0(0x3b4)]())==null?void 0x0:_0x3e2c13[0x0],_0x467d73=this['_univerInstanceService'][_0x509bb0(0x429)](_0x45454d[_0x509bb0(0x307)]['UNIVER_SHEET'])['getActiveSheet']();_0x29dc6d&&_0x467d73&&this[_0x509bb0(0x35e)](_0x467d73[_0x509bb0(0x1be)](),_0x29dc6d);}[_0x2273bc(0x1c2)](){const _0x13f5f5=_0x2273bc;this[_0x13f5f5(0x36b)]=!0x1;}};_0x3b6a78=_0x1c0493([_0x33ca4f(0x2,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x33ca4f(0x3,_0x45454d[_0x2273bc(0x37f)](_0x308b95)),_0x33ca4f(0x4,_0x45454d['Inject'](_0xfdd47c[_0x2273bc(0x294)])),_0x33ca4f(0x5,_0x45454d[_0x2273bc(0x1b1)]),_0x33ca4f(0x6,_0x45454d[_0x2273bc(0x3d0)]),_0x33ca4f(0x7,_0x45454d['Inject'](_0x518da4['RefRangeService']))],_0x3b6a78);var _0x3425eb=Object[_0x2273bc(0x43a)],_0x3a0eda=(_0x4d70ad,_0x39a054,_0xf23cde,_0x5d8019)=>{const _0x4824fc=_0x2273bc;for(var _0x35a5e8=_0x5d8019>0x1?void 0x0:_0x5d8019?_0x3425eb(_0x39a054,_0xf23cde):_0x39a054,_0x52c1bf=_0x4d70ad[_0x4824fc(0x1cb)]-0x1,_0x3f4f15;_0x52c1bf>=0x0;_0x52c1bf--)(_0x3f4f15=_0x4d70ad[_0x52c1bf])&&(_0x35a5e8=_0x3f4f15(_0x35a5e8)||_0x35a5e8);return _0x35a5e8;},_0x129d3b=(_0x9f0e54,_0x2583e2)=>(_0x240a39,_0x1b397)=>_0x2583e2(_0x240a39,_0x1b397,_0x9f0e54);let _0x344c8e=class extends _0x45454d['RxDisposable']{constructor(_0x500624,_0xc18da3,_0x5d7217){const _0x3e8590=_0x2273bc;super(),_0x394afd(this,_0x3e8590(0x28c),new Map()),_0x394afd(this,_0x3e8590(0x411),new _0x481401[(_0x3e8590(0x438))]()),(this[_0x3e8590(0x383)]=_0x500624,this[_0x3e8590(0x3ca)]=_0xc18da3,this[_0x3e8590(0x38d)]=_0x5d7217,this[_0x3e8590(0x27f)]());}[_0x2273bc(0x3b5)](){const _0x275f00=_0x2273bc;super[_0x275f00(0x3b5)](),this[_0x275f00(0x411)][_0x275f00(0x417)](),this[_0x275f00(0x28c)][_0x275f00(0x213)](_0x1c7fcc=>_0x1c7fcc['dispose']());}[_0x2273bc(0x249)](_0x13fcc5){const _0x3cfd47=_0x2273bc;return this[_0x3cfd47(0x28c)][_0x3cfd47(0x385)](_0x13fcc5)?this['_entities'][_0x3cfd47(0x1ef)](_0x13fcc5)['cursorInfo$']:this['_entityInit$'][_0x3cfd47(0x262)](_0x481401['filter'](_0x176080=>_0x176080['unitID']===_0x13fcc5),_0x481401[_0x3cfd47(0x275)](_0x588d0a=>_0x588d0a['cursorInfo$']));}[_0x2273bc(0x27f)](){const _0x283163=_0x2273bc;this[_0x283163(0x383)]['getTypeOfUnitAdded$'](_0x45454d['UniverInstanceType']['UNIVER_SHEET'])[_0x283163(0x262)](_0x481401['takeUntil'](this[_0x283163(0x1ad)]))[_0x283163(0x2b7)](async _0x1ef958=>{const _0x13e682=_0x283163,_0x5dc70b=_0x1ef958[_0x13e682(0x318)](),_0x8198b=await this[_0x13e682(0x3c7)](_0x5dc70b);this[_0x13e682(0x411)][_0x13e682(0x33c)](_0x8198b),this[_0x13e682(0x28c)][_0x13e682(0x2e8)](_0x5dc70b,_0x8198b);}),this[_0x283163(0x383)][_0x283163(0x38e)](_0x45454d[_0x283163(0x307)][_0x283163(0x27c)])[_0x283163(0x262)](_0x481401[_0x283163(0x2f3)](this[_0x283163(0x1ad)]))[_0x283163(0x262)](_0x481401[_0x283163(0x334)](_0x16aff4=>!_0x16aff4[_0x283163(0x318)]()[_0x283163(0x42f)]('__')))[_0x283163(0x2b7)](async _0x79ce5e=>{const _0x4518d3=_0x283163,_0x4dddcc=_0x79ce5e[_0x4518d3(0x318)](),_0x4611a5=await this[_0x4518d3(0x304)](_0x4dddcc);this['_entityInit$'][_0x4518d3(0x33c)](_0x4611a5),this['_entities']['set'](_0x4dddcc,_0x4611a5);}),_0x481401['merge'](this[_0x283163(0x383)][_0x283163(0x420)](_0x45454d['UniverInstanceType'][_0x283163(0x27c)]),this[_0x283163(0x383)][_0x283163(0x420)](_0x45454d[_0x283163(0x307)]['UNIVER_SHEET']))[_0x283163(0x262)](_0x481401['takeUntil'](this[_0x283163(0x1ad)]))[_0x283163(0x2b7)](_0x294024=>{const _0x366837=_0x283163,_0x1df501=_0x294024['getUnitId'](),_0x2529dd=this['_entities'][_0x366837(0x1ef)](_0x1df501);_0x2529dd&&(_0x2529dd[_0x366837(0x3b5)](),this['_entities'][_0x366837(0x43c)](_0x1df501));});}async[_0x2273bc(0x3c7)](_0x1937c3){const _0x18c5da=_0x2273bc,_0x2fc7e7=await this[_0x18c5da(0x38d)]['requireSession'](_0x1937c3),_0xf0daa3=this[_0x18c5da(0x3ca)][_0x18c5da(0x250)](_0x3b6a78,_0x1937c3,_0x2fc7e7);return _0xf0daa3[_0x18c5da(0x3db)](),_0xf0daa3;}async['_startDocCollabCursor'](_0x4e5d4b){const _0x3f3b0b=_0x2273bc,_0x54f6d9=await this[_0x3f3b0b(0x38d)][_0x3f3b0b(0x1ed)](_0x4e5d4b),_0x41800b=this[_0x3f3b0b(0x3ca)]['createInstance'](_0xe2085d,_0x4e5d4b,_0x54f6d9);return _0x41800b[_0x3f3b0b(0x3db)](),_0x41800b;}};_0x344c8e=_0x3a0eda([_0x129d3b(0x0,_0x45454d[_0x2273bc(0x1b1)]),_0x129d3b(0x1,_0x45454d['Inject'](_0x45454d[_0x2273bc(0x3b2)])),_0x129d3b(0x2,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c[_0x2273bc(0x1a0)]))],_0x344c8e);const _0x12fb24=0x14,_0x458ef9=0xc8,_0xf971df=0x4,_0x1efc0e=0x5;function _0x19c1b2(_0x1f604a,_0x30f341){const _0x10bdbf=_0x2273bc;let {radius:_0x5abf26,width:_0x2f2c6c,height:_0x4e8c46}=_0x30f341;_0x5abf26=_0x5abf26!=null?_0x5abf26:0x0,_0x2f2c6c=_0x2f2c6c!=null?_0x2f2c6c:0x1e,_0x4e8c46=_0x4e8c46!=null?_0x4e8c46:0x1e;let _0x216f2d=0x0,_0x14f6d2=0x0,_0x194acf=0x0;_0x216f2d=_0x14f6d2=_0x194acf=Math[_0x10bdbf(0x3bd)](_0x5abf26,_0x2f2c6c/0x2,_0x4e8c46/0x2),_0x1f604a['beginPath'](),_0x1f604a[_0x10bdbf(0x303)](_0x216f2d,0x0),_0x1f604a[_0x10bdbf(0x368)](_0x2f2c6c-_0x14f6d2,0x0),_0x1f604a[_0x10bdbf(0x310)](_0x2f2c6c-_0x14f6d2,_0x14f6d2,_0x14f6d2,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f604a[_0x10bdbf(0x368)](_0x2f2c6c,_0x4e8c46-_0x194acf),_0x1f604a[_0x10bdbf(0x310)](_0x2f2c6c-_0x194acf,_0x4e8c46-_0x194acf,_0x194acf,0x0,Math['PI']/0x2,!0x1),_0x1f604a[_0x10bdbf(0x368)](0x0,_0x4e8c46),_0x1f604a[_0x10bdbf(0x368)](0x0,_0x216f2d),_0x1f604a[_0x10bdbf(0x310)](_0x216f2d,_0x216f2d,_0x216f2d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f604a['closePath'](),_0x30f341['fill']&&(_0x1f604a[_0x10bdbf(0x24a)](),_0x1f604a[_0x10bdbf(0x367)]=_0x30f341[_0x10bdbf(0x297)],_0x30f341[_0x10bdbf(0x22d)]===_0x10bdbf(0x1b3)?_0x1f604a[_0x10bdbf(0x297)](_0x10bdbf(0x1b3)):_0x1f604a['fill'](),_0x1f604a[_0x10bdbf(0x2a5)]());}class _0x399458 extends _0x17a4de['Shape']{constructor(_0x4e680a,_0x3fa2ad){const _0x52621e=_0x2273bc;super(_0x4e680a,_0x3fa2ad),_0x394afd(this,'color'),_0x394afd(this,_0x52621e(0x35d)),(this[_0x52621e(0x2df)]=_0x3fa2ad==null?void 0x0:_0x3fa2ad[_0x52621e(0x2df)],this[_0x52621e(0x35d)]=_0x3fa2ad==null?void 0x0:_0x3fa2ad[_0x52621e(0x35d)]);}static['drawWith'](_0x301279,_0x468535){const _0x20fc73=_0x2273bc,{text:_0x2e1cf3,color:_0x5944a4}=_0x468535;_0x301279[_0x20fc73(0x24a)](),_0x301279[_0x20fc73(0x40a)]=_0x20fc73(0x3c0);const _0x45a93c=_0x301279['measureText'](_0x2e1cf3)[_0x20fc73(0x2fb)],_0x18d95a=Math['min'](_0x45a93c+0x2*_0xf971df,_0x458ef9);_0x19c1b2(_0x301279,{'height':_0x12fb24,'radius':0x4,'width':_0x18d95a,'fill':_0x5944a4}),_0x301279['fillStyle']=_0x20fc73(0x1d8);const _0x463440=_0xf971df,_0x2e82df=_0x12fb24-_0x1efc0e,_0xf0c620=_0x458ef9-0x2*_0xf971df;if(_0x45a93c>_0xf0c620){let _0x48a757='',_0x57740a=0x0;for(const _0x49f735 of _0x2e1cf3){const _0x186495=_0x301279[_0x20fc73(0x3c9)](_0x49f735)['width'];if(_0x57740a+_0x186495<=_0xf0c620-_0x301279[_0x20fc73(0x3c9)](_0x20fc73(0x366))[_0x20fc73(0x2fb)])_0x48a757+=_0x49f735,_0x57740a+=_0x186495;else{_0x48a757+=_0x20fc73(0x366);break;}}_0x301279[_0x20fc73(0x1fe)](_0x48a757,_0x463440,_0x2e82df);}else _0x301279['fillText'](_0x2e1cf3,_0x463440,_0x2e82df);_0x301279[_0x20fc73(0x2a5)]();}[_0x2273bc(0x33f)](_0x59f7f4){const _0x3bd5e8=_0x2273bc;_0x399458[_0x3bd5e8(0x2ce)](_0x59f7f4,this);}}const _0x55cfd8=_0x2273bc(0x406),_0xd18c9f=_0x2273bc(0x26f),_0x435355=_0x2273bc(0x21d),_0x2fefc3=0x6,_0x5316e5=1.5,_0x5b7271=0x4,_0x2dade2=1.5,_0x182343=_0x2273bc(0x36a);class _0x4e5939{constructor(_0x41e24a,_0x22ea3f,_0x9d4eae,_0x268a95){const _0xc3523a=_0x2273bc;_0x394afd(this,_0xc3523a(0x2f6),[]),_0x394afd(this,_0xc3523a(0x38b),null),_0x394afd(this,_0xc3523a(0x246),null),_0x394afd(this,_0xc3523a(0x27a),null),_0x394afd(this,_0xc3523a(0x2de),null),_0x394afd(this,_0xc3523a(0x37b),null),(this['_cursor']=_0x41e24a,this[_0xc3523a(0x1fa)]=_0x22ea3f,this[_0xc3523a(0x339)]=_0x9d4eae,this['_document']=_0x268a95,this['_render']());}set['_hover'](_0x468f56){const _0x1f1d5d=_0x2273bc;_0x468f56?(this[_0x1f1d5d(0x27a)]&&this[_0x1f1d5d(0x27a)][_0x1f1d5d(0x1ce)](),this['_textBubble']&&this[_0x1f1d5d(0x246)][_0x1f1d5d(0x3dd)]()):(this[_0x1f1d5d(0x27a)]&&this[_0x1f1d5d(0x27a)][_0x1f1d5d(0x3dd)](),this['_textBubble']&&this[_0x1f1d5d(0x246)]['hide']());}['dispose'](){const _0x42ff2f=_0x2273bc;for(const _0xbea4ff of this['_shapes'])_0xbea4ff[_0x42ff2f(0x3b5)]();this['_textBubble']&&this['_textBubble'][_0x42ff2f(0x3b5)](),this[_0x42ff2f(0x27a)]&&this[_0x42ff2f(0x27a)][_0x42ff2f(0x3b5)](),this[_0x42ff2f(0x38b)]&&this[_0x42ff2f(0x38b)][_0x42ff2f(0x3b5)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x2273bc(0x300)](){const _0x290725=_0x2273bc;var _0x16979e;const {_docSkeleton:_0x36d55d,_document:_0x21c6a8}=this,{color:_0x46ef35,name:_0x4dc8ca,ranges:_0x1a1c9c}=this[_0x290725(0x347)],_0x43ccc0=_0x21c6a8[_0x290725(0x381)](),{docsLeft:_0x3d11c8,docsTop:_0x33c4bb}=_0x43ccc0,_0x5d2245=new _0x1b66a1[(_0x290725(0x2d7))](_0x43ccc0,_0x36d55d);for(const {startOffset:_0x16798b,endOffset:_0x54f893,rangeType:_0xed3904,segmentId:_0x536a8e,segmentPage:_0x21c05e,collapsed:_0x3b464e,isActive:_0x36fc16}of _0x1a1c9c){const _0x57d7de=_0x36d55d[_0x290725(0x1cd)](_0x16798b,!0x0,_0x536a8e,_0x21c05e);let _0x30a4ca=_0x36d55d[_0x290725(0x1cd)](_0x54f893,!0x0,_0x536a8e,_0x21c05e);if(_0x30a4ca==null&&(_0x30a4ca=_0x36d55d[_0x290725(0x1cd)](_0x54f893-0x1,!0x1,_0x536a8e,_0x21c05e)),_0x36fc16){const {contentBoxPointGroup:_0x2b14bc}=_0x5d2245[_0x290725(0x39a)](_0x30a4ca,_0x30a4ca);if(_0x2b14bc[_0x290725(0x1cb)]===0x0)continue;this[_0x290725(0x29b)](_0x46ef35,_0x2b14bc,_0x3d11c8,_0x33c4bb,_0x4dc8ca),this[_0x290725(0x37b)]=this['_handleHover']();}if(_0x57d7de&&_0x30a4ca){if(_0xed3904===_0x45454d[_0x290725(0x287)][_0x290725(0x317)]){const _0x4e8870=new _0x1b66a1[(_0x290725(0x2a9))](_0x43ccc0,_0x36d55d),{pointGroup:_0x5de268}=(_0x16979e=_0x4e8870[_0x290725(0x39a)](_0x57d7de,_0x30a4ca))!=null?_0x16979e:{};if(_0x5de268==null||_0x5de268[_0x290725(0x1cb)]===0x0)continue;this['_drawRectRange'](_0x46ef35,_0x5de268,_0x3d11c8,_0x33c4bb);}else{if(!_0x3b464e){const {borderBoxPointGroup:_0x1809ee}=_0x5d2245[_0x290725(0x39a)](_0x57d7de,_0x30a4ca);if(_0x1809ee[_0x290725(0x1cb)]===0x0)continue;this['_drawTextRange'](_0x46ef35,_0x1809ee,_0x3d11c8,_0x33c4bb);}}}}}[_0x2273bc(0x29b)](_0x2a38c5,_0x249f81,_0x417f5b,_0x30ac43,_0x1e4f51){const _0x353638=_0x2273bc,_0x543746=this['_getAnchorBounding'](_0x249f81),{left:_0x439073,top:_0x3ae2b5,height:_0xad94b8}=_0x543746,_0xe5ff5d=this[_0x353638(0x25b)](),_0x511fd0=_0x2dade2/_0xe5ff5d,_0x4ce70d=new _0x17a4de[(_0x353638(0x256))](_0x55cfd8+_0x45454d[_0x353638(0x400)]['generateRandomId'](_0x2fefc3),{'left':_0x439073+_0x417f5b-_0x511fd0,'top':_0x3ae2b5+_0x30ac43,'height':_0xad94b8,'width':_0x5316e5,'fill':_0x2a38c5||_0x17a4de[_0x353638(0x328)](_0x45454d['COLORS'][_0x353638(0x1bf)],0x0),'strokeWidth':_0x511fd0,'stroke':_0x182343,'evented':!0x0});this['_anchor']=_0x4ce70d,this['_scene'][_0x353638(0x2c3)](_0x4ce70d,_0x1b66a1[_0x353638(0x2c7)]);const _0x1749ed=new _0x17a4de[(_0x353638(0x256))](_0x55cfd8+_0x45454d[_0x353638(0x400)]['generateRandomId'](_0x2fefc3),{'left':_0x439073+_0x417f5b-_0x511fd0,'top':_0x3ae2b5+_0x30ac43-_0x5b7271/0x2,'height':_0x5b7271,'width':_0x5b7271,'fill':_0x2a38c5||_0x17a4de[_0x353638(0x328)](_0x45454d['COLORS'][_0x353638(0x1bf)],0x0),'strokeWidth':0x0,'stroke':_0x2a38c5||_0x17a4de[_0x353638(0x328)](_0x45454d[_0x353638(0x35f)]['black'],0x0),'evented':!0x1});this[_0x353638(0x27a)]=_0x1749ed,this[_0x353638(0x1fa)]['addObject'](_0x1749ed,_0x1b66a1['TEXT_RANGE_LAYER_INDEX']);const _0x3b4ce1=new _0x399458(_0x55cfd8+_0x45454d['Tools'][_0x353638(0x3b0)](_0x2fefc3),{'left':_0x439073+_0x417f5b-_0x511fd0,'top':_0x3ae2b5+_0x30ac43-_0x12fb24,'text':_0x1e4f51,'color':_0x2a38c5});this[_0x353638(0x246)]=_0x3b4ce1,this['_scene'][_0x353638(0x2c3)](_0x3b4ce1,_0x1b66a1[_0x353638(0x2c7)]),this[_0x353638(0x1ae)]=!0x1;}[_0x2273bc(0x321)](){const _0x4f00cf=_0x2273bc,_0x585e64=this[_0x4f00cf(0x38b)][_0x4f00cf(0x412)][_0x4f00cf(0x1c6)](()=>{const _0xe59b7f=_0x4f00cf;this[_0xe59b7f(0x1ae)]=!0x0;}),_0x20a9f6=this['_anchor']['onPointerLeave$'][_0x4f00cf(0x1c6)](()=>{const _0x5d90cb=_0x4f00cf;this[_0x5d90cb(0x2de)]&&clearTimeout(this[_0x5d90cb(0x2de)]),this[_0x5d90cb(0x2de)]=setTimeout(()=>{const _0x45eccd=_0x5d90cb;this[_0x45eccd(0x1ae)]=!0x1;},0x7d0);});return()=>{const _0x168b37=_0x4f00cf;_0x585e64[_0x168b37(0x19a)](),_0x20a9f6['unsubscribe']();};}[_0x2273bc(0x288)](_0x5af3b2,_0x58de59,_0x2e3d0e,_0x23f55b){const _0x214aae=_0x2273bc,_0x286ced=new _0x45454d[(_0x214aae(0x3fb))](_0x5af3b2)['setAlpha'](0.2)[_0x214aae(0x20c)](),_0x2c8b00=new _0x17a4de[(_0x214aae(0x1bc))](_0xd18c9f+_0x45454d[_0x214aae(0x400)][_0x214aae(0x3b0)](_0x2fefc3),{'pointsGroup':_0x58de59,'fill':_0x286ced||_0x17a4de[_0x214aae(0x328)](_0x45454d[_0x214aae(0x35f)][_0x214aae(0x1bf)],0.2),'left':_0x2e3d0e,'top':_0x23f55b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x214aae(0x2f6)][_0x214aae(0x273)](_0x2c8b00),this[_0x214aae(0x1fa)][_0x214aae(0x2c3)](_0x2c8b00,_0x1b66a1['TEXT_RANGE_LAYER_INDEX']);}[_0x2273bc(0x25e)](_0x1fdace,_0x64baa7,_0x2cf832,_0x5b6f40){const _0x1b71d4=_0x2273bc,_0x1eca0b=new _0x45454d[(_0x1b71d4(0x3fb))](_0x1fdace)[_0x1b71d4(0x2fa)](0.2)[_0x1b71d4(0x20c)](),_0x35ba4a=new _0x17a4de[(_0x1b71d4(0x1bc))](_0x435355+_0x45454d[_0x1b71d4(0x400)][_0x1b71d4(0x3b0)](_0x2fefc3),{'pointsGroup':_0x64baa7,'fill':_0x1eca0b||_0x17a4de[_0x1b71d4(0x328)](_0x45454d[_0x1b71d4(0x35f)][_0x1b71d4(0x1bf)],0.2),'left':_0x2cf832,'top':_0x5b6f40,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1b71d4(0x2f6)][_0x1b71d4(0x273)](_0x35ba4a),this[_0x1b71d4(0x1fa)][_0x1b71d4(0x2c3)](_0x35ba4a,_0x1b66a1['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x17dd41){const _0xc60e8f=_0x17dd41[0x0],_0x117c7f=_0xc60e8f[0x0],_0x16eb9a=_0xc60e8f[0x2],{x:_0x2a3658,y:_0x302214}=_0x117c7f,{x:_0x36a9fe,y:_0x58268c}=_0x16eb9a;return{'left':_0x2a3658,'top':_0x302214,'width':_0x36a9fe-_0x2a3658,'height':_0x58268c-_0x302214};}[_0x2273bc(0x25b)](){const _0x118d81=_0x2273bc,{scaleX:_0x4659f7,scaleY:_0x3cac78}=this[_0x118d81(0x1fa)][_0x118d81(0x206)]();return Math[_0x118d81(0x29f)](_0x4659f7,_0x3cac78);}}var _0x340a65=Object[_0x2273bc(0x43a)],_0x2365a7=(_0x4a950e,_0x432b95,_0x57c43a,_0x5bce56)=>{const _0x5e9b3c=_0x2273bc;for(var _0x3a7ae9=_0x5bce56>0x1?void 0x0:_0x5bce56?_0x340a65(_0x432b95,_0x57c43a):_0x432b95,_0x35bf8f=_0x4a950e[_0x5e9b3c(0x1cb)]-0x1,_0x472b10;_0x35bf8f>=0x0;_0x35bf8f--)(_0x472b10=_0x4a950e[_0x35bf8f])&&(_0x3a7ae9=_0x472b10(_0x3a7ae9)||_0x3a7ae9);return _0x3a7ae9;},_0x37d464=(_0x13ec61,_0x147aae)=>(_0x249f06,_0x337869)=>_0x147aae(_0x249f06,_0x337869,_0x13ec61);let _0xd126a4=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x419c01,_0x526719,_0x4ce503,_0x45f82b,_0x2d5d72){const _0x41cc52=_0x2273bc;super(),_0x394afd(this,'_cursorShapes',[]),_0x394afd(this,_0x41cc52(0x225),[]),(this['_context']=_0x419c01,this[_0x41cc52(0x324)]=_0x526719,this['_collabCursorController']=_0x4ce503,this['_commandService']=_0x45f82b,this[_0x41cc52(0x204)]=_0x2d5d72,this['_init']());}['_init'](){const _0x41b59f=_0x2273bc,_0xc2db2b=this[_0x41b59f(0x3b7)][_0x41b59f(0x338)],_0x26c754=this['_docSkeletonManagerService'];this[_0x41b59f(0x36f)](_0x481401['combineLatest']([this[_0x41b59f(0x405)][_0x41b59f(0x249)](_0xc2db2b),this[_0x41b59f(0x204)][_0x41b59f(0x19f)]])[_0x41b59f(0x262)](_0x382509[_0x41b59f(0x2ef)](([_0x45e539,_0x283a5b])=>({'skeleton':_0x26c754[_0x41b59f(0x1e6)](),'cursors':[..._0x45e539['values']()]['flatMap'](_0x4d8b25=>({..._0x4d8b25,'color':this['_themeService']['getColorFromTheme'](_0x4d8b25['color'])}))})))['subscribe'](_0x1a0c6c=>{const _0x578245=_0x41b59f;if(this[_0x578245(0x41d)](),_0x1a0c6c){const {skeleton:_0x4c9b3d,cursors:_0x3c939e}=_0x1a0c6c;this[_0x578245(0x1c9)](_0x4c9b3d,_0x3c939e);}})),this[_0x41b59f(0x26a)](),this[_0x41b59f(0x1ec)]();}[_0x2273bc(0x1c9)](_0x47199c,_0x25c74c){const _0x49a8d6=_0x2273bc,{scene:_0x52fc8e,mainComponent:_0x71106}=this['_context'],_0x4c9322=_0x25c74c[_0x49a8d6(0x2ef)](_0x466dac=>new _0x4e5939(_0x466dac,_0x52fc8e,_0x47199c,_0x71106));this[_0x49a8d6(0x342)]=_0x4c9322,this[_0x49a8d6(0x225)]=_0x25c74c;}[_0x2273bc(0x1a9)](){const _0x4cd9ac=_0x2273bc;this['_removeCollabCursors']();const {scene:_0x329d54,mainComponent:_0x361eda}=this[_0x4cd9ac(0x3b7)],_0x35c5f8=this['_docSkeletonManagerService'][_0x4cd9ac(0x1e6)](),_0x36e61e=this[_0x4cd9ac(0x225)]['map'](_0x57f74e=>new _0x4e5939(_0x57f74e,_0x329d54,_0x35c5f8,_0x361eda));this['_cursorShapes']=_0x36e61e;}['_removeCollabCursors'](){const _0x2bf6c1=_0x2273bc;this[_0x2bf6c1(0x342)]['forEach'](_0x326817=>_0x326817[_0x2bf6c1(0x3b5)]()),this[_0x2bf6c1(0x342)]=[];}[_0x2273bc(0x1ec)](){const _0x1173e3=_0x2273bc,_0x14c54b=[_0x1b66a1[_0x1173e3(0x1fc)]['id']];this['disposeWithMe'](this[_0x1173e3(0x1c1)]['onCommandExecuted'](_0x2f9ef4=>{const _0x3a0c11=_0x1173e3;_0x14c54b[_0x3a0c11(0x3ea)](_0x2f9ef4['id'])&&_0x2f9ef4[_0x3a0c11(0x399)][_0x3a0c11(0x338)]===this['_context'][_0x3a0c11(0x338)]&&this[_0x3a0c11(0x1a9)]();}));}[_0x2273bc(0x26a)](){const _0x79bb5f=_0x2273bc;this[_0x79bb5f(0x36f)](_0x45454d[_0x79bb5f(0x3d3)](this[_0x79bb5f(0x3b7)]['engine']['onTransformChange$'])[_0x79bb5f(0x262)](_0x382509[_0x79bb5f(0x334)](_0x3a9999=>_0x3a9999[_0x79bb5f(0x28e)]===_0x17a4de['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x79bb5f(0x2be)]),_0x382509[_0x79bb5f(0x1df)](0x10))[_0x79bb5f(0x2b7)](()=>{const _0x3413ac=_0x79bb5f;this[_0x3413ac(0x1a9)]();}));}};_0xd126a4=_0x2365a7([_0x37d464(0x1,_0x45454d[_0x2273bc(0x37f)](_0x1af111['DocSkeletonManagerService'])),_0x37d464(0x2,_0x45454d[_0x2273bc(0x37f)](_0x344c8e)),_0x37d464(0x3,_0x45454d[_0x2273bc(0x3d0)]),_0x37d464(0x4,_0x45454d[_0x2273bc(0x37f)](_0x45454d['ThemeService']))],_0xd126a4);const _0x4faee9=0x1,_0x173b07=1.5;class _0x1ce661 extends _0x17a4de[_0x2273bc(0x325)]{constructor(_0x19e91a,_0x500833){const _0x3adbea=_0x2273bc;super(_0x19e91a,_0x500833),_0x394afd(this,_0x3adbea(0x40e)),_0x394afd(this,_0x3adbea(0x3b1),!0x1),_0x394afd(this,'_range'),_0x394afd(this,_0x3adbea(0x365),''),_0x394afd(this,_0x3adbea(0x32f),_0x3adbea(0x31a)),_0x394afd(this,_0x3adbea(0x1da)),(_0x500833&&this[_0x3adbea(0x24c)](_0x500833),this[_0x3adbea(0x412)][_0x3adbea(0x1c6)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x3adbea(0x1c6)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2273bc(0x24c)](_0x4b0140){const _0x4635d6=_0x2273bc;var _0x917070,_0x54d1ff,_0x3b448c,_0x5b6949,_0x1ed02e,_0x5008ea;this[_0x4635d6(0x40e)]=(_0x917070=_0x4b0140[_0x4635d6(0x2df)])!=null?_0x917070:this[_0x4635d6(0x40e)],this[_0x4635d6(0x3b1)]=(_0x54d1ff=_0x4b0140[_0x4635d6(0x33d)])!=null?_0x54d1ff:this[_0x4635d6(0x3b1)],this[_0x4635d6(0x3f1)]=(_0x3b448c=_0x4b0140[_0x4635d6(0x3c8)])!=null?_0x3b448c:this[_0x4635d6(0x3f1)],this[_0x4635d6(0x365)]=(_0x5b6949=_0x4b0140[_0x4635d6(0x2c8)])!=null?_0x5b6949:this[_0x4635d6(0x365)],this[_0x4635d6(0x32f)]=(_0x1ed02e=_0x4b0140['labelPosition'])!=null?_0x1ed02e:this[_0x4635d6(0x32f)],this['_backgroundColor']=(_0x5008ea=_0x4b0140['backgroundColor'])!=null?_0x5008ea:this[_0x4635d6(0x1da)],this[_0x4635d6(0x23b)]({'width':_0x4b0140[_0x4635d6(0x2fb)],'height':_0x4b0140[_0x4635d6(0x2a8)]});}[_0x2273bc(0x24d)](_0x1389e4){const _0x1ea53a=_0x2273bc,{row:_0x824b3f,column:_0x27a707}=_0x1389e4;if(_0x824b3f>=this[_0x1ea53a(0x3f1)][_0x1ea53a(0x23f)]&&_0x824b3f<=this[_0x1ea53a(0x3f1)][_0x1ea53a(0x3d7)]&&_0x27a707>=this[_0x1ea53a(0x3f1)][_0x1ea53a(0x1b2)]&&_0x27a707<=this[_0x1ea53a(0x3f1)][_0x1ea53a(0x222)]){this[_0x1ea53a(0x24c)]({'hovered':!0x0});return;}this[_0x1ea53a(0x24c)]({'hovered':!0x1});}[_0x2273bc(0x2ab)](_0x261f3f){return!0x1;}[_0x2273bc(0x33f)](_0x1fe1d7){const _0x25c034=_0x2273bc;_0x17a4de[_0x25c034(0x256)][_0x25c034(0x2ce)](_0x1fe1d7,{'width':this[_0x25c034(0x2fb)],'height':this[_0x25c034(0x2a8)],'strokeWidth':_0x173b07,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x25c034(0x1da)]}),this[_0x25c034(0x3b1)]&&(_0x1fe1d7[_0x25c034(0x24a)](),_0x1fe1d7[_0x25c034(0x23e)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x25c034(0x1f4)?0x0:-0x14),_0x399458[_0x25c034(0x2ce)](_0x1fe1d7,{'text':this[_0x25c034(0x365)],'color':this[_0x25c034(0x40e)]}),_0x1fe1d7[_0x25c034(0x2a5)]());}}var _0x5c5a0a=Object[_0x2273bc(0x43a)],_0x2abcd1=(_0x4370b9,_0x4d510e,_0x2507b4,_0x549ded)=>{const _0x420c6c=_0x2273bc;for(var _0x144ffd=_0x549ded>0x1?void 0x0:_0x549ded?_0x5c5a0a(_0x4d510e,_0x2507b4):_0x4d510e,_0x5d00b4=_0x4370b9[_0x420c6c(0x1cb)]-0x1,_0x2098d4;_0x5d00b4>=0x0;_0x5d00b4--)(_0x2098d4=_0x4370b9[_0x5d00b4])&&(_0x144ffd=_0x2098d4(_0x144ffd)||_0x144ffd);return _0x144ffd;},_0x4e35ad=(_0x25179f,_0x1be003)=>(_0x44ac95,_0x3f80a7)=>_0x1be003(_0x44ac95,_0x3f80a7,_0x25179f);const _0x934b23=0x1389;let _0x4549a0=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x114de2,_0x39fa90,_0x1bc824,_0x251c1e){const _0x50a55d=_0x2273bc;super(),_0x394afd(this,_0x50a55d(0x225),new Set()),_0x394afd(this,_0x50a55d(0x239),null),(this[_0x50a55d(0x3b7)]=_0x114de2,this[_0x50a55d(0x293)]=_0x39fa90,this[_0x50a55d(0x405)]=_0x1bc824,this[_0x50a55d(0x204)]=_0x251c1e,this[_0x50a55d(0x27f)]());}['_init'](){const _0x271e5a=_0x2273bc;this[_0x271e5a(0x293)][_0x271e5a(0x2e6)][_0x271e5a(0x262)](_0x382509[_0x271e5a(0x2f3)](this['dispose$']),_0x382509['switchMap'](_0x5ba84d=>{const _0x1abba2=_0x271e5a;if(_0x5ba84d){const _0x38561c=_0x5ba84d[_0x1abba2(0x263)];return _0x481401['combineLatest'](this['_collabCursorController'][_0x1abba2(0x249)](this[_0x1abba2(0x3b7)][_0x1abba2(0x338)]),this[_0x1abba2(0x204)][_0x1abba2(0x19f)])[_0x1abba2(0x262)](_0x382509[_0x1abba2(0x2ef)](([_0x55d29a,_0x1a33b8])=>{const _0x4a9ab0=_0x1abba2,_0x20f243=new Map();return _0x55d29a[_0x4a9ab0(0x213)]((_0x25cc16,_0x357cf7)=>{const _0x4a058b=_0x4a9ab0;if(_0x25cc16[_0x4a058b(0x3df)]===_0x38561c){const _0x284424={..._0x25cc16};_0x284424[_0x4a058b(0x2df)]=this[_0x4a058b(0x204)][_0x4a058b(0x24b)](_0x25cc16[_0x4a058b(0x2df)]),_0x20f243['set'](_0x357cf7,_0x284424);}}),{'skeleton':_0x5ba84d,'cursors':_0x20f243};}));}return _0x481401['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4fba66,cursors:_0x290692})=>{const _0x2b03e3=_0x271e5a;this[_0x2b03e3(0x41d)](),_0x4fba66&&this[_0x2b03e3(0x1c9)](_0x4fba66,_0x290692);}),this[_0x271e5a(0x293)][_0x271e5a(0x2e6)][_0x271e5a(0x2b7)](_0x1ea948=>{const _0x3237a0=_0x271e5a;if(_0x1ea948==null)return;const {skeleton:_0x4def76}=_0x1ea948,{scene:_0x1774cf}=this['_context'];_0x1774cf[_0x3237a0(0x3c3)][_0x3237a0(0x1c6)](_0x45454d[_0x3237a0(0x29d)](_0x209a66=>{const _0x53fc2a=_0x3237a0;var _0x1b8909,_0x5cfd35;const {offsetX:_0x254ff5,offsetY:_0x5beb53}=_0x209a66,{x:_0x1bfc6e,y:_0x3a4e80}=_0x1774cf[_0x53fc2a(0x2f0)](_0x17a4de['Vector2'][_0x53fc2a(0x215)]([_0x254ff5,_0x5beb53])),{scaleX:_0x37e5ce,scaleY:_0xe29ce1}=_0x1774cf[_0x53fc2a(0x206)](),_0xd57072=_0x1774cf[_0x53fc2a(0x427)](_0x17a4de['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x1be1b6=_0x1774cf['getVpScrollXYInfoByPosToVp'](_0x17a4de[_0x53fc2a(0x2ba)][_0x53fc2a(0x215)]([_0x1bfc6e,_0x3a4e80]),_0xd57072),_0x278e69=_0x4def76[_0x53fc2a(0x1e9)](_0x254ff5,_0x5beb53,_0x37e5ce,_0xe29ce1,_0x1be1b6);((_0x1b8909=this[_0x53fc2a(0x239)])==null?void 0x0:_0x1b8909[_0x53fc2a(0x20a)])===_0x278e69['column']&&((_0x5cfd35=this[_0x53fc2a(0x239)])==null?void 0x0:_0x5cfd35[_0x53fc2a(0x354)])===_0x278e69['row']||this[_0x53fc2a(0x225)][_0x53fc2a(0x213)](_0xfc7580=>{const _0x42acbf=_0x53fc2a;_0xfc7580[_0x42acbf(0x24d)](_0x278e69);});},0x64));});}[_0x2273bc(0x1c9)](_0x4f29ea,_0x124dfc){const _0x421980=_0x2273bc;var _0x472a3c;const _0x15cdf5=(_0x472a3c=this[_0x421980(0x293)][_0x421980(0x1a5)]())==null?void 0x0:_0x472a3c[_0x421980(0x35a)];if(!_0x15cdf5)return;const _0x28e826=this[_0x421980(0x422)]();if(!_0x28e826)return;this[_0x421980(0x225)]['forEach'](_0x4b35c1=>{const _0x1e7c7f=_0x421980;_0x4b35c1[_0x1e7c7f(0x299)]();});const {scene:_0xa666be}=_0x28e826,_0x8a6ff2=_0x507bfd(Array[_0x421980(0x320)](_0x124dfc['values']()))[_0x421980(0x2ef)](_0x374323=>{const _0x267324=_0x421980,{color:_0xb3830d,range:_0x2d6c02,name:_0x4c7a7f,selection:_0x158185,sheetID:_0x1ed0fc}=_0x374323,{startColumn:_0x109b3b,startRow:_0x22b970,endColumn:_0x2922c9,endRow:_0x3d0b5b}=_0x2d6c02,_0x428ad6=_0x3497ae['getCoordByCell'](_0x22b970,_0x109b3b,_0xa666be,_0x15cdf5),_0x58516b=_0x3497ae[_0x267324(0x3e1)](_0x3d0b5b,_0x2922c9,_0xa666be,_0x15cdf5),{columnHeaderHeightAndMarginTop:_0x1d51cb}=_0x15cdf5,{startX:_0x69354f,startY:_0x2dac4e}=_0x428ad6,{endX:_0x5b8deb,endY:_0x24d85c}=_0x58516b,_0xad5006=_0x5b8deb-_0x69354f,_0x55dd11=_0x24d85c-_0x2dac4e,_0x2bec5b={'labelPosition':_0x2dac4e-_0x1d51cb>=_0x12fb24?_0x267324(0x31a):_0x267324(0x1f4),'sheetID':_0x1ed0fc,'range':_0x2d6c02,'color':_0xb3830d,'name':_0x4c7a7f,'selection':_0x158185,'left':_0x69354f,'top':_0x2dac4e,'width':_0xad5006,'height':_0x55dd11,'evented':!0x1,'zIndex':_0x934b23};return new _0x1ce661(_0x4c7a7f,_0x2bec5b);});_0xa666be[_0x421980(0x3aa)](_0x8a6ff2,_0x4faee9),this[_0x421980(0x225)]=new Set(_0x8a6ff2);}[_0x2273bc(0x41d)](){const _0x46bc17=_0x2273bc;var _0x4618b1;(_0x4618b1=this[_0x46bc17(0x225)])==null||_0x4618b1['forEach'](_0x3d640b=>_0x3d640b[_0x46bc17(0x3b5)]());}[_0x2273bc(0x422)](){const _0x44ff12=_0x2273bc;return _0x3497ae[_0x44ff12(0x423)](this[_0x44ff12(0x3b7)]['unit'],this['_context']);}};_0x4549a0=_0x2abcd1([_0x4e35ad(0x1,_0x45454d[_0x2273bc(0x37f)](_0x3497ae[_0x2273bc(0x272)])),_0x4e35ad(0x2,_0x45454d[_0x2273bc(0x37f)](_0x344c8e)),_0x4e35ad(0x3,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x388)]))],_0x4549a0);function _0x507bfd(_0x2185fd){const _0x5e2138=_0x2273bc,_0x1a06bc=new Map();return _0x2185fd[_0x5e2138(0x213)](_0x29d759=>{const _0x38632d=_0x5e2138;if(_0x1a06bc[_0x38632d(0x385)](_0x29d759[_0x38632d(0x20d)])){const _0xf8948e=_0x1a06bc[_0x38632d(0x1ef)](_0x29d759[_0x38632d(0x20d)]);_0xf8948e[_0x38632d(0x2c8)]+=',\x20'+_0x29d759[_0x38632d(0x2c8)];}else _0x1a06bc[_0x38632d(0x2e8)](_0x29d759[_0x38632d(0x20d)],_0x29d759);}),Array['from'](_0x1a06bc[_0x5e2138(0x2db)]());}var _0x23332e=function(){const _0x3fd0df=_0x2273bc;return _0x23332e=Object[_0x3fd0df(0x252)]||function(_0x411734){const _0x4b1d0b=_0x3fd0df;for(var _0x6e6ac6,_0x17783d=0x1,_0x24cae1=arguments[_0x4b1d0b(0x1cb)];_0x17783d<_0x24cae1;_0x17783d++){_0x6e6ac6=arguments[_0x17783d];for(var _0x33b1d9 in _0x6e6ac6)Object[_0x4b1d0b(0x267)][_0x4b1d0b(0x296)][_0x4b1d0b(0x240)](_0x6e6ac6,_0x33b1d9)&&(_0x411734[_0x33b1d9]=_0x6e6ac6[_0x33b1d9]);}return _0x411734;},_0x23332e['apply'](this,arguments);},_0x2a822d=function(_0x479b67,_0x5e717b){const _0x39c3dc=_0x2273bc;var _0x4fcf5c={};for(var _0x34a7fc in _0x479b67)Object[_0x39c3dc(0x267)][_0x39c3dc(0x296)][_0x39c3dc(0x240)](_0x479b67,_0x34a7fc)&&_0x5e717b[_0x39c3dc(0x279)](_0x34a7fc)<0x0&&(_0x4fcf5c[_0x34a7fc]=_0x479b67[_0x34a7fc]);if(_0x479b67!=null&&typeof Object[_0x39c3dc(0x22c)]==_0x39c3dc(0x201)){for(var _0x531a6c=0x0,_0x34a7fc=Object['getOwnPropertySymbols'](_0x479b67);_0x531a6c<_0x34a7fc[_0x39c3dc(0x1cb)];_0x531a6c++)_0x5e717b[_0x39c3dc(0x279)](_0x34a7fc[_0x531a6c])<0x0&&Object[_0x39c3dc(0x267)][_0x39c3dc(0x1cf)][_0x39c3dc(0x240)](_0x479b67,_0x34a7fc[_0x531a6c])&&(_0x4fcf5c[_0x34a7fc[_0x531a6c]]=_0x479b67[_0x34a7fc[_0x531a6c]]);}return _0x4fcf5c;},_0x55d344=_0x54e81b['forwardRef'](function(_0x3e1ce9,_0x26556d){const _0x1ba26d=_0x2273bc;var _0x5a4a80=_0x3e1ce9['icon'],_0x3a8db1=_0x3e1ce9['id'],_0x59caf9=_0x3e1ce9[_0x1ba26d(0x371)],_0x26712f=_0x3e1ce9[_0x1ba26d(0x28a)],_0x3f516d=_0x2a822d(_0x3e1ce9,[_0x1ba26d(0x27b),'id',_0x1ba26d(0x371),'extend']),_0x44964c=_0x1ba26d(0x2d2)['concat'](_0x3a8db1,'\x20')[_0x1ba26d(0x311)](_0x59caf9||'')[_0x1ba26d(0x220)](),_0x2015ec=_0x54e81b[_0x1ba26d(0x3cb)]('_'[_0x1ba26d(0x311)](_0x189850()));return _0x1b8856(_0x5a4a80,''[_0x1ba26d(0x311)](_0x3a8db1),{'defIds':_0x5a4a80['defIds'],'idSuffix':_0x2015ec[_0x1ba26d(0x3e8)]},_0x23332e({'ref':_0x26556d,'className':_0x44964c},_0x3f516d),_0x26712f);});function _0x1b8856(_0x2bd0cb,_0x2e5e7c,_0x2d673c,_0x51023d,_0x44ea77){const _0x1fb805=_0x2273bc;return _0x54e81b[_0x1fb805(0x2a7)](_0x2bd0cb['tag'],_0x23332e(_0x23332e({'key':_0x2e5e7c},_0x1e4294(_0x2bd0cb,_0x2d673c,_0x44ea77)),_0x51023d),(_0xe717a1(_0x2bd0cb,_0x2d673c)['children']||[])[_0x1fb805(0x2ef)](function(_0x2acd7a,_0x33f6c0){const _0x1818f4=_0x1fb805;return _0x1b8856(_0x2acd7a,''['concat'](_0x2e5e7c,'-')[_0x1818f4(0x311)](_0x2bd0cb['tag'],'-')[_0x1818f4(0x311)](_0x33f6c0),_0x2d673c,void 0x0,_0x44ea77);}));}function _0x1e4294(_0x34be68,_0x14cc05,_0x43cb90){const _0x5359cd=_0x2273bc;var _0x25dd49=_0x23332e({},_0x34be68['attrs']);_0x43cb90!=null&&_0x43cb90[_0x5359cd(0x21e)]&&_0x25dd49[_0x5359cd(0x297)]===_0x5359cd(0x21e)&&(_0x25dd49['fill']=_0x43cb90[_0x5359cd(0x21e)]),_0x34be68[_0x5359cd(0x2f4)]===_0x5359cd(0x281)&&_0x25dd49['id']&&(_0x25dd49['id']=_0x25dd49['id']+_0x14cc05[_0x5359cd(0x397)]),Object[_0x5359cd(0x2e3)](_0x25dd49)[_0x5359cd(0x213)](function(_0x157a05){const _0xb932f9=_0x5359cd;var _0x425144=_0x157a05[0x0],_0x48a2e6=_0x157a05[0x1];_0x425144==='mask'&&typeof _0x48a2e6==_0xb932f9(0x326)&&(_0x25dd49[_0x425144]=_0x48a2e6[_0xb932f9(0x234)](/url\(#(.*)\)/,'url(#$1'[_0xb932f9(0x311)](_0x14cc05[_0xb932f9(0x397)],')')));});var _0x2dd7b8=_0x14cc05[_0x5359cd(0x416)];return!_0x2dd7b8||_0x2dd7b8[_0x5359cd(0x1cb)]===0x0||(_0x34be68[_0x5359cd(0x2f4)]===_0x5359cd(0x396)&&_0x25dd49[_0x5359cd(0x2a6)]&&(_0x25dd49[_0x5359cd(0x2a6)]=_0x25dd49[_0x5359cd(0x2a6)]+_0x14cc05[_0x5359cd(0x397)]),Object[_0x5359cd(0x2e3)](_0x25dd49)[_0x5359cd(0x213)](function(_0x5950f1){const _0x5d6bd9=_0x5359cd;var _0x5ab7e0=_0x5950f1[0x0],_0x1f57bf=_0x5950f1[0x1];typeof _0x1f57bf==_0x5d6bd9(0x326)&&(_0x25dd49[_0x5ab7e0]=_0x1f57bf[_0x5d6bd9(0x234)](/url\(#(.*)\)/,_0x5d6bd9(0x2bc)[_0x5d6bd9(0x311)](_0x14cc05[_0x5d6bd9(0x397)],')')));})),_0x25dd49;}function _0xe717a1(_0x177628,_0xdf730){const _0x32fc27=_0x2273bc;var _0x1ce5f4,_0x16d427=_0xdf730['defIds'];return!_0x16d427||_0x16d427[_0x32fc27(0x1cb)]===0x0?_0x177628:_0x177628[_0x32fc27(0x2f4)]===_0x32fc27(0x2b2)&&(!((_0x1ce5f4=_0x177628[_0x32fc27(0x3d4)])===null||_0x1ce5f4===void 0x0)&&_0x1ce5f4['length'])?_0x23332e(_0x23332e({},_0x177628),{'children':_0x177628[_0x32fc27(0x3d4)][_0x32fc27(0x2ef)](function(_0x10030e){const _0x45cf39=_0x32fc27;return typeof _0x10030e[_0x45cf39(0x286)]['id']==_0x45cf39(0x326)&&_0x16d427&&_0x16d427['includes'](_0x10030e[_0x45cf39(0x286)]['id'])?_0x23332e(_0x23332e({},_0x10030e),{'attrs':_0x23332e(_0x23332e({},_0x10030e[_0x45cf39(0x286)]),{'id':_0x10030e[_0x45cf39(0x286)]['id']+_0xdf730[_0x45cf39(0x397)]})}):_0x10030e;})}):_0x177628;}function _0x189850(){const _0x1c9833=_0x2273bc;return Math[_0x1c9833(0x1de)]()[_0x1c9833(0x439)](0x24)['substring'](0x2,0x8);}_0x55d344[_0x2273bc(0x1d1)]=_0x2273bc(0x3c5);var _0x40f3a8={'tag':'svg','attrs':{'xmlns':_0x2273bc(0x1e3),'fill':_0x2273bc(0x2d1),'viewBox':_0x2273bc(0x3a1),'width':_0x2273bc(0x348),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2273bc(0x1dd)},'children':[{'tag':_0x2273bc(0x437),'attrs':{'stroke':_0x2273bc(0x3dc),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x2273bc(0x3f2),'strokeLinejoin':_0x2273bc(0x3f2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2273bc(0x205),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x2273bc(0x2a0),'d':_0x2273bc(0x214)}}]}]}],'defIds':[_0x2273bc(0x27e)]},_0x3bdc49=_0x54e81b['forwardRef'](function(_0x1d481b,_0x420fb2){const _0x53b3a1=_0x2273bc;return _0x54e81b['createElement'](_0x55d344,Object[_0x53b3a1(0x252)]({},_0x1d481b,{'id':_0x53b3a1(0x229),'ref':_0x420fb2,'icon':_0x40f3a8}));});_0x3bdc49[_0x2273bc(0x1d1)]=_0x2273bc(0x2ae);var _0x4b810d={'tag':_0x2273bc(0x37d),'attrs':{'xmlns':_0x2273bc(0x1e3),'fill':_0x2273bc(0x2d1),'viewBox':'0\x200\x2017\x2016','width':_0x2273bc(0x348),'height':_0x2273bc(0x348)},'children':[{'tag':'g','attrs':{'clipPath':_0x2273bc(0x266)},'children':[{'tag':_0x2273bc(0x437),'attrs':{'stroke':_0x2273bc(0x3dc),'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':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2273bc(0x2b2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x2273bc(0x437),'attrs':{'fill':_0x2273bc(0x2a0),'d':'M0\x200H16V16H0z','transform':_0x2273bc(0x3c2)}}]}]}],'defIds':[_0x2273bc(0x1cc)]},_0x598470=_0x54e81b['forwardRef'](function(_0x332fc7,_0x261a57){const _0xcf0991=_0x2273bc;return _0x54e81b[_0xcf0991(0x2a7)](_0x55d344,Object['assign']({},_0x332fc7,{'id':_0xcf0991(0x1a3),'ref':_0x261a57,'icon':_0x4b810d}));});_0x598470[_0x2273bc(0x1d1)]='OnLineIcon';function _0x4c276e(_0x4b49ac){const _0x476ced=_0x2273bc;switch(_0x4b49ac){case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x3a9)]:return'collabStatus.offline';case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x2c1)]:return _0x476ced(0x276);case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x323)]:return _0x476ced(0x2b6);case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x2ad)]:return _0x476ced(0x2a3);case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x1f8)]:case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x265)]:return _0x476ced(0x433);case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x3fa)]:case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x394)]:return _0x476ced(0x242);}}function _0x3b257c(_0x32186b){const _0x39ee6e=_0x2273bc,{status$:_0x575431}=_0x32186b,_0x252c94=_0x933c1a['useObservable'](_0x575431,_0xfdd47c[_0x39ee6e(0x336)][_0x39ee6e(0x2ad)]),_0x4422d1=_0x933c1a[_0x39ee6e(0x37a)](_0x45454d['LocaleService']),_0x2fd44a=_0x933c1a[_0x39ee6e(0x37a)](_0xfdd47c[_0x39ee6e(0x1a0)]),_0x18bc9b=_0x252c94!==_0xfdd47c[_0x39ee6e(0x336)]['OFFLINE'],_0x1b3180=_0x4422d1['t'](_0x4c276e(_0x252c94)),_0x43271b=_0x18bc9b?_0x135d70['jsx'](_0x598470,{}):_0x135d70[_0x39ee6e(0x2cf)](_0x3bdc49,{}),_0x182884=_0x54e81b[_0x39ee6e(0x3f4)](()=>{const _0x554207=_0x39ee6e;_0x18bc9b||_0x2fd44a[_0x554207(0x264)]();},[_0x18bc9b,_0x2fd44a]);function _0x585965(){const _0x394a2f=_0x39ee6e;return _0x135d70[_0x394a2f(0x3f0)]('div',{'className':_0x394a2f(0x271),'onClick':_0x182884,'children':[_0x135d70['jsx']('div',{'className':_0x4402cc[_0x394a2f(0x1f7)](_0x394a2f(0x32b),{'univer-text-green-500':_0x18bc9b,'univer-text-red-500':!_0x18bc9b}),'children':_0x43271b}),_0x135d70[_0x394a2f(0x2cf)]('div',{'className':_0x394a2f(0x259),'children':_0x1b3180})]});}return _0x18bc9b?_0x585965():_0x135d70[_0x39ee6e(0x2cf)](_0x4402cc[_0x39ee6e(0x3ad)],{'title':_0x4422d1['t'](_0x39ee6e(0x413)),'children':_0x585965()});}var _0x2cbb1a=Object['getOwnPropertyDescriptor'],_0x33b08d=(_0x6eb057,_0x17def1,_0x3a875b,_0x589f5f)=>{const _0x463c25=_0x2273bc;for(var _0x4909a0=_0x589f5f>0x1?void 0x0:_0x589f5f?_0x2cbb1a(_0x17def1,_0x3a875b):_0x17def1,_0x4ff184=_0x6eb057[_0x463c25(0x1cb)]-0x1,_0x1b7634;_0x4ff184>=0x0;_0x4ff184--)(_0x1b7634=_0x6eb057[_0x4ff184])&&(_0x4909a0=_0x1b7634(_0x4909a0)||_0x4909a0);return _0x4909a0;},_0x42a49e=(_0x16ee96,_0x7ce236)=>(_0x1e1148,_0x495059)=>_0x7ce236(_0x1e1148,_0x495059,_0x16ee96);_0x2f60c5[_0x2273bc(0x3f7)]=class extends _0x45454d[_0x2273bc(0x359)]{constructor(_0x56d744,_0x1ee484,_0x3372fb,_0x1109f0){const _0x5208dc=_0x2273bc;super(),_0x394afd(this,_0x5208dc(0x292),new _0x481401[(_0x5208dc(0x2e4))](_0xfdd47c[_0x5208dc(0x336)][_0x5208dc(0x2ad)])),(this[_0x5208dc(0x383)]=_0x56d744,this[_0x5208dc(0x3ca)]=_0x1ee484,this[_0x5208dc(0x305)]=_0x3372fb,this[_0x5208dc(0x3fc)]=_0x1109f0,this[_0x5208dc(0x2b3)](),this[_0x5208dc(0x284)]());}[_0x2273bc(0x284)](){const _0x4221d7=_0x2273bc;this['disposeWithMe'](this[_0x4221d7(0x383)][_0x4221d7(0x2ec)][_0x4221d7(0x262)](_0x481401[_0x4221d7(0x275)](()=>{const _0x43af43=_0x4221d7,_0x51e43e=this[_0x43af43(0x383)][_0x43af43(0x3d2)]();return _0x51e43e?this[_0x43af43(0x305)][_0x43af43(0x39d)](_0x51e43e['getUnitId']()):_0x481401['of'](null);}),_0x481401['switchMap'](_0x1c0ee4=>_0x1c0ee4?_0x1c0ee4['status$']:_0x481401['of'](_0xfdd47c['CollaborationStatus'][_0x4221d7(0x2ad)])))[_0x4221d7(0x2b7)](_0x29ec8f=>{const _0x356188=_0x4221d7;this['_status$'][_0x356188(0x33c)](_0x29ec8f);}));}[_0x2273bc(0x2b3)](){const _0x4f9e88=_0x2273bc;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x933c1a[_0x4f9e88(0x216)][_0x4f9e88(0x19b)],()=>_0x933c1a['connectInjector'](_0x192f4f({'status$':this[_0x4f9e88(0x292)][_0x4f9e88(0x39f)]()}),this[_0x4f9e88(0x3ca)])));}},_0x2f60c5[_0x2273bc(0x3f7)]=_0x33b08d([_0x42a49e(0x0,_0x45454d[_0x2273bc(0x1b1)]),_0x42a49e(0x1,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x42a49e(0x2,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c['CollaborationController'])),_0x42a49e(0x3,_0x933c1a[_0x2273bc(0x244)])],_0x2f60c5[_0x2273bc(0x3f7)]);function _0x192f4f(_0x4e25ea){const {status$:_0x36da8c}=_0x4e25ea;return function(){return _0x135d70['jsx'](_0x3b257c,{'status$':_0x36da8c});};}var _0x2f35c6=Object[_0x2273bc(0x43a)],_0x54f4e8=(_0x2a5aa7,_0x109392,_0x53fa06,_0x4fa624)=>{for(var _0x14d941=_0x4fa624>0x1?void 0x0:_0x4fa624?_0x2f35c6(_0x109392,_0x53fa06):_0x109392,_0x379423=_0x2a5aa7['length']-0x1,_0x2304f6;_0x379423>=0x0;_0x379423--)(_0x2304f6=_0x2a5aa7[_0x379423])&&(_0x14d941=_0x2304f6(_0x14d941)||_0x14d941);return _0x14d941;},_0x1bc95c=(_0x29a769,_0x546397)=>(_0x296f3b,_0x44d3e2)=>_0x546397(_0x296f3b,_0x44d3e2,_0x29a769);let _0x32a402=class extends _0x45454d[_0x2273bc(0x359)]{constructor(_0x44e800,_0xe1a0a6,_0x27bf9d,_0x38d5e4,_0x45e253,_0x1fd025){const _0x3db505=_0x2273bc;super(),this[_0x3db505(0x337)]=_0x44e800,this['_localCacheService']=_0xe1a0a6,this[_0x3db505(0x361)]=_0x27bf9d,this[_0x3db505(0x1d7)]=_0x38d5e4,this['_notificationService']=_0x45e253,this['_localeService']=_0x1fd025,this['_setupBeforeClosingHandler'](),this[_0x3db505(0x350)]();}['_setupBeforeClosingHandler'](){const _0x49ad30=_0x2273bc;this[_0x49ad30(0x36f)](this[_0x49ad30(0x337)][_0x49ad30(0x3c6)](()=>{const _0x227c58=_0x49ad30;if(this[_0x227c58(0x257)]['saveTaskMap'][_0x227c58(0x379)])return this[_0x227c58(0x3e9)]['t'](_0x227c58(0x38a));}));}['_initEvent'](){const _0x269779=_0x2273bc;this[_0x269779(0x36f)](this[_0x269779(0x361)][_0x269779(0x241)]['subscribe'](_0x262b2f=>{const _0x496a20=_0x269779;_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x291)]&&this[_0x496a20(0x1d7)]['show']({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x23c)],'content':this['_localeService']['t'](_0x496a20(0x2e5))}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x295)]&&this[_0x496a20(0x1d7)][_0x496a20(0x3dd)]({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x23c)],'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x40f))}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x341)]&&this['_notificationService']['show']({'title':this['_localeService']['t'](_0x496a20(0x2bb)),'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x233)),'type':'error','duration':0x0}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x2c1)]&&this['_messageService'][_0x496a20(0x3dd)]({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x329)],'content':this[_0x496a20(0x3e9)]['t']('collaboration.closeRoom')+'('+_0x262b2f[_0x496a20(0x3be)]+')'}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x1d9)]&&this[_0x496a20(0x1d7)]['show']({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x23c)],'content':this['_localeService']['t'](_0x262b2f[_0x496a20(0x3be)]||'')}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)]['SOCKET_FAILED_RETRY']&&this[_0x496a20(0x1d7)][_0x496a20(0x3dd)]({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x23c)],'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x33a))}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)]['SOCKET_FAILED']&&this[_0x496a20(0x1d7)]['show']({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x329)],'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x32d))}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x29e)]&&this[_0x496a20(0x1d7)]['show']({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x329)],'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x32e))});}));}};_0x32a402=_0x54f4e8([_0x1bc95c(0x0,_0x933c1a[_0x2273bc(0x24f)]),_0x1bc95c(0x1,_0xfdd47c[_0x2273bc(0x415)]),_0x1bc95c(0x2,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c['CollaborationUIEventService'])),_0x1bc95c(0x3,_0x933c1a[_0x2273bc(0x1ff)]),_0x1bc95c(0x4,_0x933c1a[_0x2273bc(0x243)]),_0x1bc95c(0x5,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x1ba)]))],_0x32a402);const _0x523261=_0x2273bc(0x2dd),_0x217a89={},_0x3f856f=_0x45454d[_0x2273bc(0x36d)](_0x2273bc(0x19e));var _0x1cd880=Object[_0x2273bc(0x43a)],_0x4548e5=(_0xce3f43,_0x23a8c2,_0x448e3b,_0xdfc7b4)=>{const _0x27691b=_0x2273bc;for(var _0xc06539=_0xdfc7b4>0x1?void 0x0:_0xdfc7b4?_0x1cd880(_0x23a8c2,_0x448e3b):_0x23a8c2,_0x15d0ec=_0xce3f43[_0x27691b(0x1cb)]-0x1,_0x59328a;_0x15d0ec>=0x0;_0x15d0ec--)(_0x59328a=_0xce3f43[_0x15d0ec])&&(_0xc06539=_0x59328a(_0xc06539)||_0xc06539);return _0xc06539;},_0x1facf8=(_0x1d1d2e,_0x5abc50)=>(_0x28bfa3,_0x36595e)=>_0x5abc50(_0x28bfa3,_0x36595e,_0x1d1d2e);_0x2f60c5[_0x2273bc(0x3ed)]=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x3be5a3,_0x39a383,_0x4496bd,_0x2ecbdb,_0x4de41a){const _0x314dae=_0x2273bc;super(),this['_urlService']=_0x3be5a3,this[_0x314dae(0x1a2)]=_0x39a383,this['_commandService']=_0x4496bd,this[_0x314dae(0x309)]=_0x2ecbdb,_0x4de41a?_0x4de41a==null||_0x4de41a[_0x314dae(0x364)]()[_0x314dae(0x2d5)](()=>this[_0x314dae(0x27f)]()):(this[_0x314dae(0x1a2)]['debug'](_0x314dae(0x1d6),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x314dae(0x27f)]());}async[_0x2273bc(0x27f)](){const _0x5d24a1=_0x2273bc,_0xcc7577=this[_0x5d24a1(0x22b)]['getParam'](_0x5d24a1(0x3a2)),_0x34b3c0=this[_0x5d24a1(0x22b)][_0x5d24a1(0x330)](_0x5d24a1(0x28e)),_0x38471f=this['_urlService'][_0x5d24a1(0x330)]('subunit');if(!_0xcc7577||!_0x34b3c0){this[_0x5d24a1(0x1a2)][_0x5d24a1(0x219)]('[CollaborationDataLoaderController]',_0x5d24a1(0x1e7));return;}const _0xc22207=await this[_0x5d24a1(0x309)][_0x5d24a1(0x1f2)](_0xcc7577,Number(_0x34b3c0),_0x38471f);_0xc22207&&_0xc22207 instanceof _0x45454d[_0x5d24a1(0x1e0)]&&this['_setupSubUnitSync'](_0xc22207);}async[_0x2273bc(0x370)](_0x4e0c63){const _0x1a87be=_0x2273bc;await this[_0x1a87be(0x34f)](_0x4e0c63),_0x4e0c63['activeSheet$'][_0x1a87be(0x262)](_0x481401[_0x1a87be(0x2f3)](this['dispose$']))['subscribe'](_0x375d69=>{const _0x6e95ef=_0x1a87be;_0x375d69&&this[_0x6e95ef(0x3e3)](_0x375d69);}),this[_0x1a87be(0x22b)][_0x1a87be(0x1d5)][_0x1a87be(0x262)](_0x481401[_0x1a87be(0x2f3)](this['dispose$']))[_0x1a87be(0x2b7)](()=>this['_updateSubUnitFromURLParams'](_0x4e0c63));}[_0x2273bc(0x3e3)](_0x320e35,_0x502eaf=!0x1){const _0x43e0f4=_0x2273bc,_0x51bb69=this[_0x43e0f4(0x22b)][_0x43e0f4(0x330)](_0x43e0f4(0x2d3));_0x320e35['getSheetId']()!==_0x51bb69&&this[_0x43e0f4(0x22b)][_0x43e0f4(0x221)](_0x43e0f4(0x2d3),_0x320e35[_0x43e0f4(0x1be)](),_0x502eaf);}async[_0x2273bc(0x34f)](_0x5668cd){const _0x1552ec=_0x2273bc;var _0x4cb0d5;const _0x5e2d12=this['_urlService']['getParam'](_0x1552ec(0x2d3));if(!_0x5e2d12||!_0x5668cd[_0x1552ec(0x2ca)](_0x5e2d12)){const _0x3a5467=_0x5668cd[_0x1552ec(0x349)]()[0x0],_0x1c93a0=_0x5668cd[_0x1552ec(0x2ca)](_0x3a5467);if(!_0x1c93a0)return;this[_0x1552ec(0x3e3)](_0x1c93a0,!0x0),await this['_commandService'][_0x1552ec(0x238)](_0x518da4[_0x1552ec(0x2a4)]['id'],{'unitId':_0x5668cd[_0x1552ec(0x318)](),'subUnitId':_0x3a5467});return;}((_0x4cb0d5=_0x5668cd[_0x1552ec(0x2f1)]())==null?void 0x0:_0x4cb0d5[_0x1552ec(0x1be)]())!==_0x5e2d12&&await this[_0x1552ec(0x1c1)][_0x1552ec(0x238)](_0x518da4['SetWorksheetActivateCommand']['id'],{'unitId':_0x5668cd[_0x1552ec(0x318)](),'subUnitId':_0x5e2d12});}},_0x2f60c5[_0x2273bc(0x3ed)]=_0x4548e5([_0x1facf8(0x0,_0x3f856f),_0x1facf8(0x1,_0x45454d[_0x2273bc(0x254)]),_0x1facf8(0x2,_0x45454d[_0x2273bc(0x3d0)]),_0x1facf8(0x3,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c[_0x2273bc(0x42c)])),_0x1facf8(0x4,_0x45454d[_0x2273bc(0x362)](_0x1c6948['IRemoteInstanceService']))],_0x2f60c5[_0x2273bc(0x3ed)]);var _0x2a5c9b=Object[_0x2273bc(0x43a)],_0x5a3827=(_0x52c887,_0x56da02,_0x14f43a,_0x14720a)=>{const _0x2ff166=_0x2273bc;for(var _0x40efac=_0x14720a>0x1?void 0x0:_0x14720a?_0x2a5c9b(_0x56da02,_0x14f43a):_0x56da02,_0x30e2c1=_0x52c887[_0x2ff166(0x1cb)]-0x1,_0x91d48d;_0x30e2c1>=0x0;_0x30e2c1--)(_0x91d48d=_0x52c887[_0x30e2c1])&&(_0x40efac=_0x91d48d(_0x40efac)||_0x40efac);return _0x40efac;},_0x1731e2=(_0x30bf50,_0x4295d1)=>(_0x1ce35f,_0x2e9c71)=>_0x4295d1(_0x1ce35f,_0x2e9c71,_0x30bf50);let _0x54f8ab=class{constructor(_0x8c7b4a,_0x24a46b,_0x339833){const _0x4fcc4e=_0x2273bc;this['_injector']=_0x8c7b4a,this[_0x4fcc4e(0x333)]=_0x24a46b,this[_0x4fcc4e(0x3da)]=_0x339833;}[_0x2273bc(0x316)](_0x5abaa8){const _0xcaf42c=_0x2273bc;this[_0xcaf42c(0x357)](_0x5abaa8),this[_0xcaf42c(0x314)](_0x5abaa8);}[_0x2273bc(0x2fc)](_0x410936){const _0x1201d2=_0x2273bc,{unitID:_0x1ff1a3}=_0x410936,_0x3c9c68=this['_renderManagerService'][_0x1201d2(0x270)](_0x1ff1a3)['with'](_0x1b66a1[_0x1201d2(0x430)]),{redoCache:_0x593c73}=_0x3c9c68[_0x1201d2(0x3a8)]();if(_0x593c73[_0x1201d2(0x1cb)]===0x0)return _0x410936;let _0x38013a=_0x45454d[_0x1201d2(0x400)]['deepClone'](_0x410936[_0x1201d2(0x2d4)][0x0]);for(let _0x3af561=0x0;_0x3af561<_0x593c73[_0x1201d2(0x1cb)];_0x3af561++){const _0x3431dc={'id':_0x1201d2(0x2b5),'params':{..._0x593c73[_0x3af561]}},_0x407021=this['_transformService'][_0x1201d2(0x2cc)](_0x38013a,_0x3431dc,!0x1);if(_0x368b75[_0x1201d2(0x31e)](_0x407021))throw _0x407021['error'];_0x38013a=_0x407021[_0x1201d2(0x283)];}return{..._0x45454d['Tools'][_0x1201d2(0x1c3)](_0x410936),'mutations':[_0x38013a]};}[_0x2273bc(0x357)](_0xd15e33){const _0x1b71ef=_0x2273bc,{unitID:_0xbf5ff1}=_0xd15e33,_0x294dc5=this[_0x1b71ef(0x3da)][_0x1b71ef(0x270)](_0xbf5ff1)[_0x1b71ef(0x22e)](_0x1b66a1[_0x1b71ef(0x430)]),{undoCache:_0x4b32fc,redoCache:_0x3b6b8c}=_0x294dc5[_0x1b71ef(0x3a8)]();if(_0x4b32fc[_0x1b71ef(0x1cb)]===0x0||_0x3b6b8c[_0x1b71ef(0x1cb)]===0x0)return;const _0x59a58f=[],_0xcd08a5=[];let _0x19fa17=_0x45454d[_0x1b71ef(0x400)]['deepClone'](_0xd15e33['mutations'][0x0]),_0x5db532=_0x45454d[_0x1b71ef(0x400)]['deepClone'](_0xd15e33['mutations'][0x0]);for(let _0x84ce8b=_0x4b32fc[_0x1b71ef(0x1cb)]-0x1;_0x84ce8b>=0x0;_0x84ce8b--){const _0xe601d2={'id':_0x1b71ef(0x2b5),'params':{..._0x4b32fc[_0x84ce8b]}},_0xe0a785={'id':_0x1b71ef(0x2b5),'params':{..._0x3b6b8c[_0x84ce8b]}},_0x3b165f=this[_0x1b71ef(0x333)]['transformMutation'](_0x19fa17,_0xe601d2,!0x1),_0x15385c=this[_0x1b71ef(0x333)][_0x1b71ef(0x2cc)](_0x5db532,_0xe0a785,!0x1);if(_0x368b75[_0x1b71ef(0x31e)](_0x3b165f))throw _0x3b165f[_0x1b71ef(0x372)];if(_0x368b75[_0x1b71ef(0x31e)](_0x15385c))throw _0x15385c['error'];_0x59a58f[_0x1b71ef(0x3a3)](_0x3b165f['m2Prime'][_0x1b71ef(0x399)]),_0xcd08a5[_0x1b71ef(0x3a3)](_0x15385c[_0x1b71ef(0x248)][_0x1b71ef(0x399)]),_0x19fa17=_0x3b165f[_0x1b71ef(0x283)],_0x5db532=_0x15385c['m1Prime'];}_0x294dc5[_0x1b71ef(0x2f8)]({'undoCache':_0x59a58f,'redoCache':_0xcd08a5});}[_0x2273bc(0x314)](_0x4ec90a){const _0xc2a5df=_0x2273bc,{unitID:_0x14fc38}=_0x4ec90a,_0x3dd27f=this[_0xc2a5df(0x3da)][_0xc2a5df(0x270)](_0x14fc38)[_0xc2a5df(0x22e)](_0x1b66a1['DocIMEInputManagerService']),_0x49c3f3=_0x3dd27f[_0xc2a5df(0x2b0)]();if(_0x49c3f3==null)return;const _0x344e8f=[{'id':_0xc2a5df(0x2b5),'params':{'unitId':_0x4ec90a['unitID'],'actions':null,'textRanges':[_0x49c3f3]}}],_0x50177e=this['_transformService'][_0xc2a5df(0x30c)](_0x4ec90a,_0x344e8f);if(!_0x368b75['isTransformMutationsWithChangesetSuccess'](_0x50177e))throw _0x50177e['error'];const _0x33d436=_0x50177e['m2Prime'][0x0][_0xc2a5df(0x399)]['textRanges'];Array[_0xc2a5df(0x387)](_0x33d436)&&_0x33d436['length']&&_0x3dd27f['setActiveRange'](_0x33d436[0x0]);}};_0x54f8ab=_0x5a3827([_0x1731e2(0x0,_0x45454d[_0x2273bc(0x37f)](_0x45454d['Injector'])),_0x1731e2(0x1,_0x368b75['ITransformService']),_0x1731e2(0x2,_0x17a4de[_0x2273bc(0x19d)])],_0x54f8ab);var _0x16b4af=Object['getOwnPropertyDescriptor'],_0x2c3c09=(_0x36a61f,_0x5887ae,_0x54c79d,_0x191bf8)=>{const _0x5f3365=_0x2273bc;for(var _0x2213a2=_0x191bf8>0x1?void 0x0:_0x191bf8?_0x16b4af(_0x5887ae,_0x54c79d):_0x5887ae,_0x55b8f8=_0x36a61f[_0x5f3365(0x1cb)]-0x1,_0x373b9f;_0x55b8f8>=0x0;_0x55b8f8--)(_0x373b9f=_0x36a61f[_0x55b8f8])&&(_0x2213a2=_0x373b9f(_0x2213a2)||_0x2213a2);return _0x2213a2;},_0x21e813=(_0x5291e2,_0x5c9fa0)=>(_0x7f0d63,_0x5307ed)=>_0x5c9fa0(_0x7f0d63,_0x5307ed,_0x5291e2);let _0x5bc7a6=class{constructor(_0x52b86e,_0x2cc737,_0x3c6628){const _0x553243=_0x2273bc;this[_0x553243(0x3ca)]=_0x52b86e,this[_0x553243(0x333)]=_0x2cc737,this['_docStateChangeManagerService']=_0x3c6628;}[_0x2273bc(0x217)](_0xf46380){const _0x9c85e8=_0x2273bc;this[_0x9c85e8(0x30a)](_0xf46380);}[_0x2273bc(0x2fc)](_0xe6e2a8){const _0x14ed2f=_0x2273bc,{unitID:_0x51f1af}=_0xe6e2a8,{collaboration:_0xa952f2}=this[_0x14ed2f(0x2d9)][_0x14ed2f(0x373)](_0x51f1af);if(_0xa952f2[_0x14ed2f(0x1cb)]===0x0)return _0xe6e2a8;let _0x4be24d=_0x45454d[_0x14ed2f(0x400)][_0x14ed2f(0x1c3)](_0xe6e2a8[_0x14ed2f(0x2d4)][0x0]);for(let _0x127935=0x0;_0x127935<_0xa952f2[_0x14ed2f(0x1cb)];_0x127935++){const _0x5f30fd={'id':_0x14ed2f(0x2b5),'params':{'unitId':_0xa952f2[_0x127935][_0x14ed2f(0x338)],..._0xa952f2[_0x127935][_0x14ed2f(0x25f)]}},_0x6285c5=this[_0x14ed2f(0x333)][_0x14ed2f(0x2cc)](_0x4be24d,_0x5f30fd,!0x1);if(_0x368b75['isTransformMutationFailure'](_0x6285c5))throw _0x6285c5[_0x14ed2f(0x372)];_0x4be24d=_0x6285c5[_0x14ed2f(0x283)];}return{..._0x45454d[_0x14ed2f(0x400)][_0x14ed2f(0x1c3)](_0xe6e2a8),'mutations':[_0x4be24d]};}[_0x2273bc(0x30a)](_0x410b23){const _0x3327ce=_0x2273bc,{unitID:_0x5b950e}=_0x410b23,{history:_0x3f73c1,collaboration:_0x474bf7}=this[_0x3327ce(0x2d9)][_0x3327ce(0x373)](_0x5b950e);if(_0x3f73c1['length']===0x0&&_0x474bf7['length']===0x0)return;const _0x59a43f=[],_0x750fa=[];let _0x2d581d=_0x45454d[_0x3327ce(0x400)][_0x3327ce(0x1c3)](_0x410b23[_0x3327ce(0x2d4)][0x0]),_0x55e4b5=_0x45454d[_0x3327ce(0x400)][_0x3327ce(0x1c3)](_0x410b23['mutations'][0x0]);for(let _0x5bf6d6=_0x3f73c1[_0x3327ce(0x1cb)]-0x1;_0x5bf6d6>=0x0;_0x5bf6d6--){const _0x512145={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3f73c1[_0x5bf6d6][_0x3327ce(0x338)],..._0x3f73c1[_0x5bf6d6][_0x3327ce(0x3d6)]}},_0x36e42={'id':_0x3327ce(0x2b5),'params':{'unitId':_0x3f73c1[_0x5bf6d6][_0x3327ce(0x338)],..._0x3f73c1[_0x5bf6d6][_0x3327ce(0x25f)]}},_0x5caf61=this['_transformService'][_0x3327ce(0x2cc)](_0x2d581d,_0x512145,!0x1),_0x4cfac0=this[_0x3327ce(0x333)][_0x3327ce(0x2cc)](_0x55e4b5,_0x36e42,!0x1);if(_0x368b75[_0x3327ce(0x31e)](_0x5caf61))throw _0x5caf61['error'];if(_0x368b75[_0x3327ce(0x31e)](_0x4cfac0))throw _0x4cfac0[_0x3327ce(0x372)];_0x59a43f[_0x3327ce(0x3a3)]({..._0x3f73c1[_0x5bf6d6],'undoState':_0x5caf61[_0x3327ce(0x248)][_0x3327ce(0x399)],'redoState':_0x4cfac0[_0x3327ce(0x248)][_0x3327ce(0x399)]}),_0x2d581d=_0x5caf61[_0x3327ce(0x283)],_0x55e4b5=_0x4cfac0[_0x3327ce(0x283)];}_0x2d581d=_0x45454d['Tools'][_0x3327ce(0x1c3)](_0x410b23['mutations'][0x0]),_0x55e4b5=_0x45454d[_0x3327ce(0x400)][_0x3327ce(0x1c3)](_0x410b23['mutations'][0x0]);for(let _0x56e3e7=_0x474bf7['length']-0x1;_0x56e3e7>=0x0;_0x56e3e7--){const _0x1afc34={'id':_0x3327ce(0x2b5),'params':{'unitId':_0x474bf7[_0x56e3e7][_0x3327ce(0x338)],..._0x474bf7[_0x56e3e7][_0x3327ce(0x3d6)]}},_0x4c8d2f={'id':_0x3327ce(0x2b5),'params':{'unitId':_0x474bf7[_0x56e3e7][_0x3327ce(0x338)],..._0x474bf7[_0x56e3e7][_0x3327ce(0x25f)]}},_0x4addf7=this[_0x3327ce(0x333)][_0x3327ce(0x2cc)](_0x2d581d,_0x1afc34,!0x1),_0x4e98c0=this[_0x3327ce(0x333)][_0x3327ce(0x2cc)](_0x55e4b5,_0x4c8d2f,!0x1);if(_0x368b75[_0x3327ce(0x31e)](_0x4addf7))throw _0x4addf7[_0x3327ce(0x372)];if(_0x368b75[_0x3327ce(0x31e)](_0x4e98c0))throw _0x4e98c0['error'];_0x750fa[_0x3327ce(0x3a3)]({..._0x474bf7[_0x56e3e7],'undoState':_0x4addf7['m2Prime']['params'],'redoState':_0x4e98c0[_0x3327ce(0x248)][_0x3327ce(0x399)]}),_0x2d581d=_0x4addf7[_0x3327ce(0x283)],_0x55e4b5=_0x4e98c0[_0x3327ce(0x283)];}this['_docStateChangeManagerService'][_0x3327ce(0x3e0)](_0x5b950e,{'history':_0x59a43f,'collaboration':_0x750fa});}};_0x5bc7a6=_0x2c3c09([_0x21e813(0x0,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x21e813(0x1,_0x368b75['ITransformService']),_0x21e813(0x2,_0x45454d[_0x2273bc(0x37f)](_0x1b66a1[_0x2273bc(0x2d6)]))],_0x5bc7a6);var _0x3db08e=Object['getOwnPropertyDescriptor'],_0x5bef3b=(_0x48deb7,_0x4606f2,_0x5d9912,_0x115b76)=>{const _0x2288c6=_0x2273bc;for(var _0xeb89b6=_0x115b76>0x1?void 0x0:_0x115b76?_0x3db08e(_0x4606f2,_0x5d9912):_0x4606f2,_0x57220c=_0x48deb7[_0x2288c6(0x1cb)]-0x1,_0x349f0f;_0x57220c>=0x0;_0x57220c--)(_0x349f0f=_0x48deb7[_0x57220c])&&(_0xeb89b6=_0x349f0f(_0xeb89b6)||_0xeb89b6);return _0xeb89b6;},_0x2c1376=(_0x39f6a8,_0x19e1dd)=>(_0x30f082,_0x36934d)=>_0x19e1dd(_0x30f082,_0x36934d,_0x39f6a8);let _0x1a6bea=class{constructor(_0x4ce9bd,_0x415f79){const _0x269664=_0x2273bc;this[_0x269664(0x3ca)]=_0x4ce9bd,this[_0x269664(0x333)]=_0x415f79;}[_0x2273bc(0x2bd)](_0x489cb5){const _0x57c2b5=_0x2273bc;var _0x43b1a4;const _0x42943a=this[_0x57c2b5(0x3ca)]['get'](_0x1af111[_0x57c2b5(0x41a)]),_0x57af41=(_0x43b1a4=_0x42943a[_0x57c2b5(0x21f)]())!=null?_0x43b1a4:[];if(_0x57af41[_0x57c2b5(0x1cb)]===0x0)return;const _0x5c7ce0=_0x489cb5['unitID'],_0x50c08e=[{'id':_0x57c2b5(0x2b5),'params':{'unitId':_0x5c7ce0,'actions':null,'textRanges':_0x57af41}}],_0x48b9ef=this[_0x57c2b5(0x333)][_0x57c2b5(0x30c)](_0x489cb5,_0x50c08e);if(!_0x368b75[_0x57c2b5(0x2a1)](_0x48b9ef))throw _0x48b9ef[_0x57c2b5(0x372)];const _0x585c1c=_0x48b9ef[_0x57c2b5(0x248)][0x0][_0x57c2b5(0x399)][_0x57c2b5(0x24e)];Array['isArray'](_0x585c1c)&&_0x585c1c['length']&&_0x42943a[_0x57c2b5(0x255)](_0x585c1c,{'unitId':_0x5c7ce0,'subUnitId':_0x5c7ce0},!0x1);}};_0x1a6bea=_0x5bef3b([_0x2c1376(0x0,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x2c1376(0x1,_0x368b75[_0x2273bc(0x432)])],_0x1a6bea);var _0x2c1a5d=Object['getOwnPropertyDescriptor'],_0x4bea5b=(_0x3b1a49,_0x3f6d36,_0x3fa60b,_0x10c689)=>{const _0x1744d2=_0x2273bc;for(var _0x4d3048=_0x10c689>0x1?void 0x0:_0x10c689?_0x2c1a5d(_0x3f6d36,_0x3fa60b):_0x3f6d36,_0x4354a3=_0x3b1a49[_0x1744d2(0x1cb)]-0x1,_0x3c38f1;_0x4354a3>=0x0;_0x4354a3--)(_0x3c38f1=_0x3b1a49[_0x4354a3])&&(_0x4d3048=_0x3c38f1(_0x4d3048)||_0x4d3048);return _0x4d3048;},_0xfec4a4=(_0x2b79f9,_0x58454b)=>(_0x580eec,_0x2d0ce1)=>_0x58454b(_0x580eec,_0x2d0ce1,_0x2b79f9);let _0x3bf269=class extends _0x45454d[_0x2273bc(0x359)]{constructor(_0x48ad9c,_0x2fb01e,_0x27dc27,_0x669534,_0x38594d,_0x507b97,_0x375395,_0x5173e2){const _0x2788cd=_0x2273bc;super(),_0x394afd(this,'_status$',new _0x481401[(_0x2788cd(0x2e4))](_0xfdd47c[_0x2788cd(0x336)]['NOT_COLLAB'])),(this[_0x2788cd(0x2d9)]=_0x48ad9c,this[_0x2788cd(0x305)]=_0x2fb01e,this[_0x2788cd(0x258)]=_0x27dc27,this[_0x2788cd(0x322)]=_0x669534,this[_0x2788cd(0x235)]=_0x38594d,this[_0x2788cd(0x2c2)]=_0x507b97,this[_0x2788cd(0x1d7)]=_0x375395,this[_0x2788cd(0x3e9)]=_0x5173e2,this[_0x2788cd(0x2e1)]());}[_0x2273bc(0x2e1)](){const _0x38e3e7=_0x2273bc;this[_0x38e3e7(0x36f)](this[_0x38e3e7(0x305)][_0x38e3e7(0x2f5)][_0x38e3e7(0x2b7)](_0xf26b9d=>{const _0x5d351a=_0x38e3e7,_0x402aa5=this[_0x5d351a(0x2d9)][_0x5d351a(0x2c6)][_0x5d351a(0x2b7)](_0x298d3c=>{const _0x4d5344=_0x5d351a;if(_0x298d3c==null)return;const {unitId:_0x31ec13,redoState:_0x315108,commandId:_0x4e291d}=_0x298d3c;if(_0x31ec13!==_0xf26b9d[_0x4d5344(0x2cb)])return;const _0x13d97e={'id':_0x4e291d,'type':_0x45454d[_0x4d5344(0x376)][_0x4d5344(0x375)],'params':{'unitId':_0x31ec13,'actions':_0x315108[_0x4d5344(0x33e)],'textRanges':null}};_0xf26b9d[_0x4d5344(0x1b0)](_0x13d97e);});if(_0xf26b9d['disposeWithMe'](_0x402aa5),_0xf26b9d instanceof _0xfdd47c[_0x5d351a(0x3e4)]){const _0x3b1dbe={'onTransformIME':_0x2290bd=>this[_0x5d351a(0x258)][_0x5d351a(0x316)](_0x2290bd),'onTransformState':_0x489d2e=>this[_0x5d351a(0x322)][_0x5d351a(0x217)](_0x489d2e),'onTransformSelections':_0x29eb43=>this[_0x5d351a(0x235)]['transformSelections'](_0x29eb43),'onSyncEditingCollabCursor':_0x2f1d11=>this[_0x5d351a(0x2c2)]['syncEditingCollabCursor'](_0x2f1d11),'onTransformRemoteChangesetByIMECache':_0x20f154=>this['_docTransformIMECacheService'][_0x5d351a(0x2fc)](_0x20f154),'onTransformRemoteChangesetByStateCache':_0x37e197=>this[_0x5d351a(0x322)][_0x5d351a(0x2fc)](_0x37e197)};_0xf26b9d[_0x5d351a(0x1c5)](_0x3b1dbe);}}));}};_0x3bf269=_0x4bea5b([_0xfec4a4(0x0,_0x45454d['Inject'](_0x1b66a1['DocStateChangeManagerService'])),_0xfec4a4(0x1,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c[_0x2273bc(0x391)])),_0xfec4a4(0x2,_0x45454d[_0x2273bc(0x37f)](_0x54f8ab)),_0xfec4a4(0x3,_0x45454d[_0x2273bc(0x37f)](_0x5bc7a6)),_0xfec4a4(0x4,_0x45454d[_0x2273bc(0x37f)](_0x1a6bea)),_0xfec4a4(0x5,_0x45454d['Inject'](_0x43f1e3)),_0xfec4a4(0x6,_0x933c1a[_0x2273bc(0x1ff)]),_0xfec4a4(0x7,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x1ba)]))],_0x3bf269);var _0x8be958=Object[_0x2273bc(0x43a)],_0x365e70=(_0xd62fb8,_0xd85428,_0x4bd220,_0x36f1eb)=>{const _0x2f6c2c=_0x2273bc;for(var _0x58fbd6=_0x36f1eb>0x1?void 0x0:_0x36f1eb?_0x8be958(_0xd85428,_0x4bd220):_0xd85428,_0x3341a2=_0xd62fb8[_0x2f6c2c(0x1cb)]-0x1,_0x2d170d;_0x3341a2>=0x0;_0x3341a2--)(_0x2d170d=_0xd62fb8[_0x3341a2])&&(_0x58fbd6=_0x2d170d(_0x58fbd6)||_0x58fbd6);return _0x58fbd6;},_0x5d978f=(_0x1f4084,_0x4664a6)=>(_0xe37140,_0x1e9889)=>_0x4664a6(_0xe37140,_0x1e9889,_0x1f4084);let _0x2bc1fb=class extends _0x45454d['Disposable']{constructor(_0x2daa27,_0x1fd503,_0x40cd14){const _0x5c836f=_0x2273bc;super(),_0x394afd(this,_0x5c836f(0x428),new Map()),_0x394afd(this,_0x5c836f(0x226),new Map()),_0x394afd(this,_0x5c836f(0x20f),!0x1),(this[_0x5c836f(0x289)]=_0x2daa27,this['_localStorageService']=_0x1fd503,this['_revisionService']=_0x40cd14);}[_0x2273bc(0x302)](){const _0x41f50e=_0x2273bc;this[_0x41f50e(0x20f)]=!0x0;}['enableLocalCache'](){const _0x1883f1=_0x2273bc;this[_0x1883f1(0x20f)]=!0x1;}get['saveTaskMap'](){const _0x1b4b0b=_0x2273bc;return this[_0x1b4b0b(0x226)];}['dispose'](){const _0x148ab5=_0x2273bc;this['exhaustSavingTask']()['then'](()=>super[_0x148ab5(0x3b5)]());}async[_0x2273bc(0x1b8)](_0x1203fb){const _0x4fb99b=_0x2273bc;return this[_0x4fb99b(0x20f)]?null:this[_0x4fb99b(0x34e)][_0x4fb99b(0x1a7)](_0xfdd47c[_0x4fb99b(0x3ac)](_0x1203fb));}async[_0x2273bc(0x3a0)](_0x5a60a1,_0x372a24){const _0x4e8d0d=_0x2273bc;return!!this[_0x4e8d0d(0x34e)][_0x4e8d0d(0x251)](_0x5a60a1,_0x372a24);}['updateOfflineData'](_0x49bfe1,_0x2a2de6,_0x202512,_0x1c8f59){const _0x45d07d=_0x2273bc,_0x91ad76=this[_0x45d07d(0x3fe)][_0x45d07d(0x2d8)](_0x49bfe1);this['_cachedData']['set'](_0x49bfe1,{'unitID':_0x49bfe1,'type':_0x2a2de6,'awaitingChangeset':_0x202512,'mutations':_0x1c8f59,'rev':_0x91ad76}),this[_0x45d07d(0x226)]['has'](_0x49bfe1)||this[_0x45d07d(0x2aa)](_0x49bfe1);}[_0x2273bc(0x2aa)](_0x5702d3){const _0x3db7f1=_0x2273bc,_0x10f059=this['_getSaveTimeout']();_0x10f059===0x0?this[_0x3db7f1(0x360)](_0x5702d3):this[_0x3db7f1(0x226)][_0x3db7f1(0x2e8)](_0x5702d3,setTimeout(()=>this[_0x3db7f1(0x360)](_0x5702d3),_0x10f059));}['_getSaveTimeout'](){const _0x5890ed=_0x2273bc;var _0x48e4f0;return(_0x48e4f0=this[_0x5890ed(0x289)][_0x5890ed(0x2d0)](_0xfdd47c[_0x5890ed(0x402)]))!=null?_0x48e4f0:_0xfdd47c[_0x5890ed(0x380)];}[_0x2273bc(0x360)](_0x529c85){const _0x49396c=_0x2273bc,_0xac4e91=this[_0x49396c(0x226)]['get'](_0x529c85);return _0xac4e91!==void 0x0&&window[_0x49396c(0x3de)](_0xac4e91),this[_0x49396c(0x34e)][_0x49396c(0x251)](_0xfdd47c[_0x49396c(0x3ac)](_0x529c85),this[_0x49396c(0x428)][_0x49396c(0x1ef)](_0x529c85))[_0x49396c(0x2d5)](()=>this[_0x49396c(0x226)]['delete'](_0x529c85));}async['exhaustSavingTask'](){const _0x24c5fa=_0x2273bc,_0x3671a4=[];this[_0x24c5fa(0x226)][_0x24c5fa(0x213)]((_0x3bda65,_0x2e756b)=>{const _0x2653bf=_0x24c5fa;window[_0x2653bf(0x3de)](_0x3bda65),_0x3671a4[_0x2653bf(0x273)](this['_saveCache'](_0x2e756b)[_0x2653bf(0x2d5)](()=>{const _0x475e7c=_0x2653bf;this[_0x475e7c(0x226)]['delete'](_0x2e756b);}));}),await Promise[_0x24c5fa(0x1d0)](_0x3671a4);}};_0x2bc1fb=_0x365e70([_0x5d978f(0x0,_0x45454d['IConfigService']),_0x5d978f(0x1,_0x45454d['ILocalStorageService']),_0x5d978f(0x2,_0x45454d[_0x2273bc(0x37f)](_0x368b75[_0x2273bc(0x1c4)]))],_0x2bc1fb);class _0x2cdbea extends _0x45454d[_0x2273bc(0x42d)]{constructor(){const _0xde6741=_0x2273bc;super(),_0x394afd(this,_0xde6741(0x1d5)),this[_0xde6741(0x1d5)]=_0x481401[_0xde6741(0x224)](window,_0xde6741(0x1f0))['pipe'](_0x481401[_0xde6741(0x2f3)](this[_0xde6741(0x1ad)]),_0x481401[_0xde6741(0x2ed)](0x1),_0x481401[_0xde6741(0x3d8)](void 0x0));}['setParam'](_0x6b0421,_0x3eeba8,_0x5322d3=!0x1){const _0x2164a0=_0x2273bc,_0x5bd3fa=new URL(window[_0x2164a0(0x269)][_0x2164a0(0x3cd)]);_0x5bd3fa[_0x2164a0(0x31c)][_0x2164a0(0x2e8)](_0x6b0421,_0x3eeba8),_0x5322d3?window[_0x2164a0(0x418)]['replaceState']('','',_0x5bd3fa[_0x2164a0(0x439)]()):window['history']['pushState']('','',_0x5bd3fa[_0x2164a0(0x439)]());}[_0x2273bc(0x209)](_0x51ae49,_0x2035b9=!0x1){const _0x2682ff=_0x2273bc,_0x10715b=new URL(window[_0x2682ff(0x269)]['href']);_0x10715b[_0x2682ff(0x31c)][_0x2682ff(0x43c)](_0x51ae49),_0x2035b9?window['history']['replaceState']('','',_0x10715b[_0x2682ff(0x439)]()):window['history']['pushState']('','',_0x10715b['toString']());}[_0x2273bc(0x330)](_0x2973f1){const _0x20bba8=_0x2273bc;var _0x48601;return(_0x48601=new URL(window[_0x20bba8(0x269)]['href'])[_0x20bba8(0x31c)][_0x20bba8(0x1ef)](_0x2973f1))!=null?_0x48601:void 0x0;}}var _0x3f707d=Object[_0x2273bc(0x2ee)],_0x219225=Object[_0x2273bc(0x43a)],_0x3fb5a9=(_0x46ea45,_0x41b5d4,_0x591fbb)=>_0x41b5d4 in _0x46ea45?_0x3f707d(_0x46ea45,_0x41b5d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x591fbb}):_0x46ea45[_0x41b5d4]=_0x591fbb,_0x227552=(_0x23ab93,_0x3001a8,_0x57713a,_0x3e3712)=>{const _0x8720df=_0x2273bc;for(var _0x716dd0=_0x3e3712>0x1?void 0x0:_0x3e3712?_0x219225(_0x3001a8,_0x57713a):_0x3001a8,_0xb4060c=_0x23ab93[_0x8720df(0x1cb)]-0x1,_0x17d53b;_0xb4060c>=0x0;_0xb4060c--)(_0x17d53b=_0x23ab93[_0xb4060c])&&(_0x716dd0=_0x17d53b(_0x716dd0)||_0x716dd0);return _0x716dd0;},_0x464ea7=(_0x531f2a,_0x39cc6f)=>(_0x364aec,_0x11a5fc)=>_0x39cc6f(_0x364aec,_0x11a5fc,_0x531f2a),_0x175cee=(_0x52383e,_0x3d39c7,_0x2f57d8)=>_0x3fb5a9(_0x52383e,_0x3d39c7+'',_0x2f57d8);const _0x15639c='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x2f60c5[_0x2273bc(0x1bd)]=class extends _0x45454d['Plugin']{constructor(_0x2e7460=_0x217a89,_0x2fd60a,_0x5408c5,_0x47cc27){const _0x551a13=_0x2273bc;super(),this[_0x551a13(0x223)]=_0x2e7460,this['_renderManagerService']=_0x2fd60a,this[_0x551a13(0x3ca)]=_0x5408c5,this['_configService']=_0x47cc27;const {..._0xd03fc8}=_0x45454d[_0x551a13(0x340)]({},_0x217a89,this['_config']);this[_0x551a13(0x289)]['setConfig'](_0x523261,_0xd03fc8);}[_0x2273bc(0x1a8)](){const _0x4a6833=_0x2273bc;this[_0x4a6833(0x1dc)](),this[_0x4a6833(0x1b6)]();}['onRendered'](){const _0x406f89=_0x2273bc;this[_0x406f89(0x26e)]();}[_0x2273bc(0x1dc)](){const _0xcdbf1e=_0x2273bc;var _0x59f265;const _0xe77379=[[_0x308b95],[_0x1a6bea],[_0x54f8ab],[_0x5bc7a6],[_0x43f1e3],[_0x3f856f,{'useClass':_0x2cdbea}],[_0x4cb81d[_0xcdbf1e(0x228)],{'useClass':_0x4cb81d[_0xcdbf1e(0x377)]}],[_0xfdd47c[_0xcdbf1e(0x415)],{'useClass':_0x2bc1fb}],[_0x2f60c5[_0xcdbf1e(0x3f7)]],[_0x3bf269],[_0x32a402],[_0x344c8e],[_0x4604dc],[_0x2f60c5[_0xcdbf1e(0x3ed)]]];_0x45454d[_0xcdbf1e(0x1db)](this[_0xcdbf1e(0x3ca)],_0x45454d[_0xcdbf1e(0x2a2)](_0xe77379,(_0x59f265=this[_0xcdbf1e(0x223)])==null?void 0x0:_0x59f265[_0xcdbf1e(0x34d)]));}[_0x2273bc(0x26e)](){const _0x31fe94=_0x2273bc;this['disposeWithMe'](this[_0x31fe94(0x3da)][_0x31fe94(0x2f7)](_0x45454d['UniverInstanceType'][_0x31fe94(0x27c)],[_0xd126a4])),this[_0x31fe94(0x36f)](this[_0x31fe94(0x3da)][_0x31fe94(0x2f7)](_0x45454d[_0x31fe94(0x307)][_0x31fe94(0x41e)],[_0x4549a0]));}[_0x2273bc(0x1b6)](){const _0x4de3f1=_0x2273bc;_0x45454d['touchDependencies'](this['_injector'],[[_0x344c8e],[_0x2f60c5[_0x4de3f1(0x3f7)]],[_0x3bf269],[_0x32a402],[_0x2f60c5['CollaborationDataLoaderController']]]);}},_0x175cee(_0x2f60c5['UniverCollaborationClientUIPlugin'],_0x2273bc(0x1fd),_0x15639c),_0x2f60c5[_0x2273bc(0x1bd)]=_0x227552([_0x45454d[_0x2273bc(0x3d1)](_0xfdd47c[_0x2273bc(0x39b)]),_0x464ea7(0x1,_0x17a4de[_0x2273bc(0x19d)]),_0x464ea7(0x2,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x464ea7(0x3,_0x45454d[_0x2273bc(0x3b8)])],_0x2f60c5[_0x2273bc(0x1bd)]);var _0x594e5f=Object[_0x2273bc(0x43a)],_0x2f0b52=(_0x4f692b,_0x2227c9,_0x10c5ec,_0x3fd949)=>{const _0x52bd42=_0x2273bc;for(var _0x487886=_0x3fd949>0x1?void 0x0:_0x3fd949?_0x594e5f(_0x2227c9,_0x10c5ec):_0x2227c9,_0x1145bd=_0x4f692b[_0x52bd42(0x1cb)]-0x1,_0x4b7bb6;_0x1145bd>=0x0;_0x1145bd--)(_0x4b7bb6=_0x4f692b[_0x1145bd])&&(_0x487886=_0x4b7bb6(_0x487886)||_0x487886);return _0x487886;},_0x2506ac=(_0x55235d,_0x45f405)=>(_0x3ff8d4,_0x1df549)=>_0x45f405(_0x3ff8d4,_0x1df549,_0x55235d);_0x2f60c5[_0x2273bc(0x3ef)]=class extends _0xfdd47c[_0x2273bc(0x1b7)]{constructor(_0xa6ed53,_0x306bde,_0x1f3d3c,_0x368125,_0x41845c){super(_0xa6ed53,_0x306bde,_0x1f3d3c,_0x368125,_0x41845c);}async['createSocket'](_0x24d5ce){const _0x4cd7b2=_0x2273bc,_0x5da434=await this['_getSessionTicket'](),_0xa96eea=this['_createSocketURL'](_0x24d5ce,_0x5da434);return this[_0x4cd7b2(0x1ab)](_0xa96eea);}[_0x2273bc(0x3bf)](_0x5564af,_0x40cdf8){const _0xa07490=_0x2273bc,_0x18abef=typeof window>'u'?new URL(_0x5564af):new URL(_0x5564af,window['location'][_0xa07490(0x3d5)]);_0x18abef[_0xa07490(0x31c)][_0xa07490(0x2e8)](_0xa07490(0x227),_0x40cdf8);const _0x3af352=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0xa07490(0x230)]);return _0x3af352[_0xa07490(0x1ef)](_0xa07490(0x1b9))&&_0x18abef[_0xa07490(0x31c)][_0xa07490(0x2e8)]('runId',_0x3af352[_0xa07490(0x1ef)](_0xa07490(0x1b9))),_0x18abef[_0xa07490(0x439)]();}async[_0x2273bc(0x30d)](){const _0x5c3882=_0x2273bc;var _0x26b579,_0x471785,_0x1014ac;const _0x1d62c5=this['_configService']['getConfig'](_0xfdd47c[_0x5c3882(0x1e8)]),_0x4a0ec0=(_0x26b579=_0x1d62c5==null?void 0x0:_0x1d62c5[_0x5c3882(0x1e4)])!=null?_0x26b579:_0xfdd47c[_0x5c3882(0x312)];return(_0x1014ac=(_0x471785=(await this['_httpService'][_0x5c3882(0x1ef)](_0x4a0ec0,{'headers':{'Content-Type':_0x5c3882(0x410)}}))['body'])==null?void 0x0:_0x471785[_0x5c3882(0x2eb)])!=null?_0x1014ac:'';}},_0x2f60c5[_0x2273bc(0x3ef)]=_0x2f0b52([_0x2506ac(0x0,_0x45454d['Inject'](_0x45454d[_0x2273bc(0x3b2)])),_0x2506ac(0x1,_0x45454d[_0x2273bc(0x37f)](_0x4cb81d[_0x2273bc(0x232)])),_0x2506ac(0x2,_0x45454d['IConfigService']),_0x2506ac(0x3,_0x45454d[_0x2273bc(0x254)]),_0x2506ac(0x4,_0x368b75[_0x2273bc(0x298)])],_0x2f60c5[_0x2273bc(0x3ef)]);const _0x268e66=0x7530,_0x40b229='ACTIVE_UNIT_EVENT_CHANNEL';class _0x34ffca extends _0x45454d['Disposable']{constructor(){const _0x467d20=_0x2273bc;super(),_0x394afd(this,_0x467d20(0x2fd),_0x45454d[_0x467d20(0x3b0)]()),_0x394afd(this,_0x467d20(0x3a4),new Set()),_0x394afd(this,_0x467d20(0x274),new Map()),_0x394afd(this,_0x467d20(0x3cc),null),_0x394afd(this,_0x467d20(0x335),new Map()),_0x394afd(this,_0x467d20(0x2e9),new Map()),this[_0x467d20(0x27f)]();}['dispose'](){const _0x2d2fba=_0x2273bc;super['dispose'](),this[_0x2d2fba(0x335)][_0x2d2fba(0x213)]((_0x214cb1,_0x4ec6a)=>this['_removeClearOtherTimer'](_0x4ec6a)),this['_heartbeatTimer']&&window[_0x2d2fba(0x1d4)](this[_0x2d2fba(0x3cc)]);}[_0x2273bc(0x218)](_0x1f4609){const _0x7a40be=_0x2273bc;return this['_ensureSubject'](_0x1f4609)['pipe'](_0x481401[_0x7a40be(0x1c8)]());}['editingUnit'](_0x1629ae){const _0x4ec8bf=_0x2273bc;this['_selfUnitIDs']['size']===0x0&&this[_0x4ec8bf(0x245)](),this[_0x4ec8bf(0x3a4)]['add'](_0x1629ae),this[_0x4ec8bf(0x261)]({'type':0x0,'memberID':this[_0x4ec8bf(0x2fd)],'unitIDs':[_0x1629ae],'isForwarded':!0x1});}[_0x2273bc(0x290)](_0x57b2da){const _0x33c54f=_0x2273bc;this[_0x33c54f(0x3a4)]['delete'](_0x57b2da),this['_selfUnitIDs'][_0x33c54f(0x379)]===0x0&&this[_0x33c54f(0x3cc)]&&window[_0x33c54f(0x1d4)](this[_0x33c54f(0x3cc)]);}['_init'](){const _0x2752e7=_0x2273bc;this[_0x2752e7(0x36f)](_0x45454d['toDisposable'](_0x481401[_0x2752e7(0x224)](window,_0x2752e7(0x2b1))['subscribe'](_0x10405c=>{const _0x2be4c5=_0x2752e7;if(_0x10405c[_0x2be4c5(0x30e)]!==_0x40b229||!_0x10405c[_0x2be4c5(0x306)])return;const _0xb322f6=JSON['parse'](_0x10405c[_0x2be4c5(0x306)]);this[_0x2be4c5(0x260)](_0xb322f6);}))),window[_0x2752e7(0x20b)](_0x2752e7(0x331),()=>this[_0x2752e7(0x261)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2752e7(0x320)](this[_0x2752e7(0x3a4)])}));}[_0x2273bc(0x260)](_0x56c446){const _0x5248b5=_0x2273bc;switch(_0x56c446[_0x5248b5(0x28e)]){case 0x0:this['_handleJoinEvent'](_0x56c446);break;case 0x1:this[_0x5248b5(0x42b)](_0x56c446);break;case 0x2:this[_0x5248b5(0x282)](_0x56c446);break;}}['_handleJoinEvent'](_0x41bc1c){const _0x536cdf=_0x2273bc,{unitIDs:_0x2fd064,memberID:_0x29c627,isForwarded:_0x451d55}=_0x41bc1c;_0x2fd064[_0x536cdf(0x213)](_0x583d47=>{const _0x429fa5=_0x536cdf;if(!_0x451d55&&this[_0x429fa5(0x274)][_0x429fa5(0x385)](_0x583d47)&&this[_0x429fa5(0x407)](_0x583d47)['next'](_0xfdd47c[_0x429fa5(0x3bb)][_0x429fa5(0x424)]),!this[_0x429fa5(0x274)]['has'](_0x583d47)||!this['_unitOnClients']['get'](_0x583d47)[_0x429fa5(0x385)](_0x29c627)){const _0x338088=this[_0x429fa5(0x274)][_0x429fa5(0x1ef)](_0x583d47)||new Set();_0x338088[_0x429fa5(0x1ee)](_0x29c627),this[_0x429fa5(0x274)][_0x429fa5(0x2e8)](_0x583d47,_0x338088),this[_0x429fa5(0x41b)](_0x29c627);}}),_0x451d55||this[_0x536cdf(0x261)]({'type':0x0,'memberID':this[_0x536cdf(0x2fd)],'unitIDs':[...this[_0x536cdf(0x3a4)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x316419){const _0x21bd66=_0x2273bc;this[_0x21bd66(0x3eb)](_0x316419);const _0x650ed=window[_0x21bd66(0x26d)](()=>{const _0x1de0ee=_0x21bd66;this[_0x1de0ee(0x274)][_0x1de0ee(0x213)](_0x71ac3e=>{const _0x1d9989=_0x1de0ee;_0x71ac3e[_0x1d9989(0x43c)](_0x316419);});},_0x268e66*0x2);this[_0x21bd66(0x335)][_0x21bd66(0x2e8)](_0x316419,_0x650ed);}[_0x2273bc(0x3eb)](_0x5d9f2a){const _0x176f25=_0x2273bc;if(this['_clearOtherTimers']['has'](_0x5d9f2a)){const _0x591185=this['_clearOtherTimers'][_0x176f25(0x1ef)](_0x5d9f2a);_0x591185&&window[_0x176f25(0x3de)](_0x591185),this[_0x176f25(0x335)][_0x176f25(0x2e8)](_0x5d9f2a,null);}}['_handleLeaveEvent'](_0x5f1944){const _0x37bc60=_0x2273bc,{memberID:_0x1ca5cc,unitIDs:_0x21f580}=_0x5f1944;_0x21f580[_0x37bc60(0x213)](_0x4451f6=>{const _0x2bb4f6=_0x37bc60;var _0x2ae748;const _0x1e934c=this[_0x2bb4f6(0x274)][_0x2bb4f6(0x1ef)](_0x4451f6);_0x1e934c&&(_0x1e934c[_0x2bb4f6(0x43c)](_0x1ca5cc),(_0x2ae748=this[_0x2bb4f6(0x407)](_0x4451f6))==null||_0x2ae748['next'](_0x1e934c['size']===0x0?_0xfdd47c[_0x2bb4f6(0x3bb)]['NO_OTHER_CLIENTS_EDITING']:_0xfdd47c[_0x2bb4f6(0x3bb)][_0x2bb4f6(0x424)]));}),this[_0x37bc60(0x3eb)](_0x1ca5cc);}[_0x2273bc(0x282)](_0x36a518){const _0x1800ec=_0x2273bc;this['_scheduleClearOtherTimer'](_0x36a518[_0x1800ec(0x2ff)]);}[_0x2273bc(0x261)](_0x377a2b){const _0x20df45=_0x2273bc;localStorage[_0x20df45(0x251)](_0x40b229,JSON[_0x20df45(0x3b3)](_0x377a2b));}['_scheduleHeartbeat'](){const _0x2bea1e=_0x2273bc;this[_0x2bea1e(0x3cc)]=window['setInterval'](()=>{const _0x4f6632=_0x2bea1e;this[_0x4f6632(0x261)]({'type':0x2,'memberID':this[_0x4f6632(0x2fd)]});},_0x268e66);}[_0x2273bc(0x407)](_0xe1086e){const _0x4ede41=_0x2273bc;return this[_0x4ede41(0x2e9)][_0x4ede41(0x385)](_0xe1086e)||this[_0x4ede41(0x2e9)][_0x4ede41(0x2e8)](_0xe1086e,new _0x481401[(_0x4ede41(0x2e4))](_0xfdd47c[_0x4ede41(0x3bb)][_0x4ede41(0x346)])),this[_0x4ede41(0x2e9)]['get'](_0xe1086e);}}var _0x2e13d2=(_0x53a168=>(_0x53a168[_0x53a168['UNDEFINED']=0x0]=_0x2273bc(0x211),_0x53a168[_0x53a168['OK']=0x1]='OK',_0x53a168[_0x53a168[_0x2273bc(0x2af)]=0x2]=_0x2273bc(0x2af),_0x53a168[_0x53a168[_0x2273bc(0x341)]=0x3]=_0x2273bc(0x341),_0x53a168[_0x53a168[_0x2273bc(0x3f6)]=0x4]='NOT_FOUND',_0x53a168[_0x53a168[_0x2273bc(0x29a)]=0x5]=_0x2273bc(0x29a),_0x53a168[_0x53a168[_0x2273bc(0x22a)]=0x6]=_0x2273bc(0x22a),_0x53a168[_0x53a168['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x53a168[_0x53a168[_0x2273bc(0x268)]=0x8]=_0x2273bc(0x268),_0x53a168[_0x53a168[_0x2273bc(0x1ea)]=0x9]=_0x2273bc(0x1ea),_0x53a168[_0x53a168[_0x2273bc(0x358)]=0xa]=_0x2273bc(0x358),_0x53a168[_0x53a168[_0x2273bc(0x426)]=0x1389]=_0x2273bc(0x426),_0x53a168[_0x53a168[_0x2273bc(0x203)]=0x1771]=_0x2273bc(0x203),_0x53a168[_0x53a168[_0x2273bc(0x1a1)]=0x1772]=_0x2273bc(0x1a1),_0x53a168[_0x53a168['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2273bc(0x1fb),_0x53a168[_0x53a168[_0x2273bc(0x3a6)]=0x1b59]=_0x2273bc(0x3a6),_0x53a168[_0x53a168[_0x2273bc(0x25a)]=0x1b5a]=_0x2273bc(0x25a),_0x53a168[_0x53a168[_0x2273bc(0x1f5)]=0x1b5b]=_0x2273bc(0x1f5),_0x53a168[_0x53a168['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2273bc(0x21a),_0x53a168[_0x53a168[_0x2273bc(0x21c)]=0x1b5d]=_0x2273bc(0x21c),_0x53a168[_0x53a168[_0x2273bc(0x1a4)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x53a168[_0x53a168['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x2273bc(0x3ff),_0x53a168[_0x53a168[_0x2273bc(0x1d2)]=0x232a]=_0x2273bc(0x1d2),_0x53a168[_0x53a168['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2273bc(0x3c1),_0x53a168[_0x53a168[_0x2273bc(0x2ac)]=0x232c]=_0x2273bc(0x2ac),_0x53a168[_0x53a168[_0x2273bc(0x21b)]=0x232d]=_0x2273bc(0x21b),_0x53a168[_0x53a168[_0x2273bc(0x3b6)]=0x2711]=_0x2273bc(0x3b6),_0x53a168[_0x53a168[_0x2273bc(0x34a)]=0x2712]=_0x2273bc(0x34a),_0x53a168[_0x53a168['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x53a168[_0x53a168[_0x2273bc(0x31f)]=0x2714]=_0x2273bc(0x31f),_0x53a168[_0x53a168[_0x2273bc(0x3a5)]=0x271a]=_0x2273bc(0x3a5),_0x53a168[_0x53a168[_0x2273bc(0x3e5)]=0x271b]=_0x2273bc(0x3e5),_0x53a168[_0x53a168[_0x2273bc(0x434)]=0x271c]=_0x2273bc(0x434),_0x53a168[_0x53a168[_0x2273bc(0x3ce)]=0x271d]=_0x2273bc(0x3ce),_0x53a168[_0x53a168[_0x2273bc(0x277)]=0x271e]=_0x2273bc(0x277),_0x53a168[_0x53a168[_0x2273bc(0x374)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x53a168[_0x53a168[_0x2273bc(0x327)]=0x2af9]=_0x2273bc(0x327),_0x53a168[_0x53a168[_0x2273bc(0x3fd)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x53a168[_0x53a168[_0x2273bc(0x42e)]=0x2ee2]=_0x2273bc(0x42e),_0x53a168[_0x53a168[_0x2273bc(0x253)]=0x2ee3]=_0x2273bc(0x253),_0x53a168[_0x53a168[_0x2273bc(0x2cd)]=0x2ee4]=_0x2273bc(0x2cd),_0x53a168[_0x53a168['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x53a168[_0x53a168[_0x2273bc(0x30f)]=0x32c9]=_0x2273bc(0x30f),_0x53a168[_0x53a168[_0x2273bc(0x236)]=0x32ca]=_0x2273bc(0x236),_0x53a168[_0x53a168['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2273bc(0x384),_0x53a168[_0x53a168[_0x2273bc(0x2b9)]=-0x1]='UNRECOGNIZED',_0x53a168))(_0x2e13d2||{}),_0x3db398=Object[_0x2273bc(0x43a)],_0x5831f4=(_0x1b3ebd,_0x48e16d,_0x1f72ca,_0x28423e)=>{for(var _0x2f2902=_0x28423e>0x1?void 0x0:_0x28423e?_0x3db398(_0x48e16d,_0x1f72ca):_0x48e16d,_0x6b2ae=_0x1b3ebd['length']-0x1,_0x2b485c;_0x6b2ae>=0x0;_0x6b2ae--)(_0x2b485c=_0x1b3ebd[_0x6b2ae])&&(_0x2f2902=_0x2b485c(_0x2f2902)||_0x2f2902);return _0x2f2902;},_0x386288=(_0x712917,_0x176842)=>(_0x592fc1,_0x133874)=>_0x176842(_0x592fc1,_0x133874,_0x712917);_0x2f60c5[_0x2273bc(0x395)]=class extends _0x45454d[_0x2273bc(0x359)]{constructor(_0x35e790,_0x28c305,_0xe54dd1){const _0x142e33=_0x2273bc;super(),this[_0x142e33(0x308)]=_0x35e790,this[_0x142e33(0x210)]=_0x28c305,this[_0x142e33(0x289)]=_0xe54dd1;}async[_0x2273bc(0x1f3)](_0x2255ea,_0xf20350,_0x554315,..._0x59fd4c){const _0x471f3e=_0x2273bc;var _0x49c141,_0x3a4561,_0x3fd3a8,_0x196792;const _0x4fbebb=this[_0x471f3e(0x308)][_0x471f3e(0x3d2)]();if(!_0x4fbebb)throw new Error(_0x471f3e(0x1f9));const _0x4b7617=((_0x49c141=this['_configService'][_0x471f3e(0x2d0)](_0xfdd47c[_0x471f3e(0x278)]))!=null?_0x49c141:_0xfdd47c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2255ea+_0x471f3e(0x389)+_0xf20350,_0x537023=new URL(window[_0x471f3e(0x269)][_0x471f3e(0x3cd)]),_0x43556b={'scriptId':_0x2255ea,'runId':(_0x3a4561=_0x537023['searchParams']['get'](_0x471f3e(0x1b9)))!=null?_0x3a4561:'','function':_0xf20350,'unitId':_0x4fbebb[_0x471f3e(0x318)](),'argsOfFunction':JSON[_0x471f3e(0x3b3)](_0x59fd4c),'invokeId':(_0x3fd3a8=_0x554315[_0x471f3e(0x403)])!=null?_0x3fd3a8:'','executionId':(_0x196792=_0x554315[_0x471f3e(0x29c)])!=null?_0x196792:''};try{const _0x5506d3=await this[_0x471f3e(0x210)][_0x471f3e(0x280)](_0x4b7617,{'body':_0x43556b});return _0x5506d3[_0x471f3e(0x3ae)][_0x471f3e(0x372)]&&_0x5506d3[_0x471f3e(0x3ae)][_0x471f3e(0x372)][_0x471f3e(0x1af)]!==_0x2e13d2['OK']?'Failed':_0x5506d3[_0x471f3e(0x3ae)][_0x471f3e(0x40b)];}catch{return _0x471f3e(0x31b);}}},_0x2f60c5[_0x2273bc(0x395)]=_0x5831f4([_0x386288(0x0,_0x45454d['IUniverInstanceService']),_0x386288(0x1,_0x45454d[_0x2273bc(0x37f)](_0x4cb81d[_0x2273bc(0x232)])),_0x386288(0x2,_0x45454d[_0x2273bc(0x3b8)])],_0x2f60c5[_0x2273bc(0x395)]),_0x2f60c5[_0x2273bc(0x2e0)]=_0x3b257c,_0x2f60c5[_0x2273bc(0x2fe)]=_0x3f856f,_0x2f60c5['SheetCollabCursorShape']=_0x1ce661,_0x2f60c5[_0x2273bc(0x36c)]=_0x34ffca,_0x2f60c5['WebURLService']=_0x2cdbea,Object['defineProperty'](_0x2f60c5,Symbol['toStringTag'],{'value':_0x2273bc(0x27d)});}));function _0x2785(_0x1ee551,_0x7c5cb2){const _0x375cfc=_0x375c();return _0x2785=function(_0x2785fe,_0x1fab15){_0x2785fe=_0x2785fe-0x19a;let _0x176f19=_0x375cfc[_0x2785fe];return _0x176f19;},_0x2785(_0x1ee551,_0x7c5cb2);}function _0x375c(){const _0x1d173d=['react','UniverCore','onCommandExecuted','row','amd','@univerjs/ui','_transformUndoRedoStack','LOGIN_FAILED','Disposable','skeleton','@univerjs/docs','5479416iZgobi','text','_updateLocalCursor','COLORS','_saveCache','_collaborationUIEventService','Optional','_roomMembers$','whenReady','_name','...','fillStyle','lineTo','29GTlrQh','rgba(255,\x20255,\x20255,\x200.01)','_online','WebBrowserSingleActiveUnitService','createIdentifier','red.300','disposeWithMe','_setupSubUnitSync','className','error','getStateCache','YUUMI_AI_RUN_FAILED','MUTATION','CommandType','WebSocketService','handleInsertRangeMoveRight','size','useDependency','_eventUnsubscribe','_cursorInfo$','svg','addClipboardHook','Inject','LOCAL_CACHE_INTERVAL','getOffsetConfig','_refRangeService','_univerInstanceService','EMAIL_HAS_BEEN_BOUND','has','handleInsertRow','isArray','ThemeService','/run/','collaboration-client.offline-data-not-saved','_anchor','_imageIoService','_collabSessionService','getTypeOfUnitAdded$','exports','_assignedColors','CollaborationController','_collabCursorState$','blue.400','PENDING','RemoteUniscriptService','use','idSuffix','SetSelectionsOperation','params','getRangePointData','UniverCollaborationClientPlugin','getMergeData','getCollabEntity$','RichTextEditingMutation','asObservable','saveOfflineData','0\x200\x2016\x2016','unit','unshift','_selfUnitIDs','YUUMI_NO_CUBOID_FOR_QUESTION','APPLY_REJECT','getMember','getUndoRedoMutationParamsCache','OFFLINE','addObjects','rxjs','getLocalCacheKey','Tooltip','body','@univerjs/design','generateRandomId','_hovered','Injector','stringify','getCurrentSelections','dispose','YUUMI_UNABLE_LOAD_URL','_context','IConfigService','split','IDocClipboardService','UnitStatus','getUniverSheetInstance','min','data','_createSocketURL','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','LICENSE_IMPORT_SIZE_EXCEEDED','translate(.97)','onPointerMove$','subUnitId','UniverIcon','registerBeforeClose','_startSheetCollabCursor','range','measureText','_injector','useRef','_heartbeatTimer','href','YUUMI_ALL_TABLES_IS_INVALID','roomMembers','ICommandService','DependentOn','getFocusedUnit','fromEventSubject','children','origin','undoState','endRow','mapTo','EffectRefRangId','_renderManagerService','init','currentColor','show','clearTimeout','sheetID','setStateCache','getCoordByCell','TEXT','_updateURLWithCurrentState','DocCollaborationEntity','YUUMI_ASYNCIO_CANCELLED','runRefRangeMutations','collabCursorState$','current','_localeService','includes','_removeClearOtherTimer','handleDeleteRangeMoveUp','CollaborationDataLoaderController','imageSourceType','BrowserCollaborationSocketService','jsxs','_range','round','_colorIndex','useCallback','getValue','NOT_FOUND','DesktopCollaborationStatusDisplayController','_memberService','SetTextSelectionsOperation','SYNCED','ColorKit','_uiPartsService','INVITE_CODE_HAS_BEEN_UES','_revisionService','LICENSE_MAX_UNITS_EXCEEDED','Tools','send','LOCAL_CACHE_INTERVAL_KEY','invokeId','isActive','_collabCursorController','collab-text-anchor-','_ensureSubject','175yhaHPB','MessageType','font','result','saveImage','UniverSheets','_color','collaboration.closeRoom','application/json','_entityInit$','onPointerEnter$','collab-client.tooltip.reconnect','CollaborationUIEventId','ILocalCacheService','defIds','complete','history','registerRefRange','DocSelectionManagerService','_scheduleClearOtherTimer','ranges','_removeCollabCursors','UNIVER_SHEET','@univerjs/network','getTypeOfUnitDisposed$','_onCursorUpdate','_getSheetObject','getSheetObject','OTHER_CLIENTS_EDITING','ONLINE','CHANGESET_REVISION_CONFILICT','getViewport','_cachedData','getCurrentUnitForType','UniverDocsUi','_handleLeaveEvent','DataLoaderService','RxDisposable','INVALID_INVITE_CODE','startsWith','DocIMEInputManagerService','_toggleOnline','ITransformService','collabStatus.syncing','YUUMI_TABLE_NOT_FOUND_IN_UNIT','@univerjs/core','3814869Gipcln','path','Subject','toString','getOwnPropertyDescriptor','CollaborationEvent','delete','unsubscribe','HEADER_MENU','UniverProCollaboration','IRenderManagerService','uni.network.url-service','currentTheme$','CollaborationSessionService','SNAPSHOT_HAS_BEEN_REMOVED','_logService','on-line-icon','CONNECTOR_DATA_TOO_LARGE','getCurrent','InsertRangeMoveDownCommandId','getItem','onStarting','_refreshCollabCursors','UniverEngineFormula','_doCreateSocket','UniverSheetsUi','dispose$','_hover','code','onLocalMutation','IUniverInstanceService','startColumn','evenodd','eventID','UniverProCollaborationClientUi','_initDependencies','CollaborationSocketService','loadOfflineData','runId','LocaleService','roomMembers$','RegularPolygon','UniverCollaborationClientUIPlugin','getSheetId','black','toDisposable','_commandService','_toggleOffline','deepClone','RevisionService','addHandlerCallback','subscribeEvent','handleIRemoveRow','distinctUntilChanged','_updateCollabCursors','selections','length','on-line-icon_clip0_910_349','findNodePositionByCharIndex','hide','propertyIsEnumerable','all','displayName','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UniverProCollaborationClient','clearInterval','urlChange$','[CollaborationDataLoaderController]','_messageService','#FFF','JOIN_ROOM_FAILED','_backgroundColor','registerDependencies','_registerDependencies','url(#off-line-icon_clip0_910_343)','random','throttleTime','Workbook','RemoveColCommandId','UniverDrawing','http://www.w3.org/2000/svg','wsSessionTicketUrl','jiqing.500','getSkeleton','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getCellPositionByOffset','COMPLETION_FINISHED','some','_initCommandExecutedListener','requireSession','add','get','popstate','rxjs/operators','loadUnit','runOnServer','bottom','APPLY_REVISION_CONFILICT','MoveRangeCommandId','clsx','AWAITING','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_scene','ENSURE_SNAPSHOT_EXECUTION','SetDocZoomRatioOperation','pluginName','fillText','IMessageService','@univerjs/engine-render','function','Unknown\x20user','SNAPSHOT_INVALID_SNAPSHOT','_themeService','clipPath','getAncestorScale','RemoveRowCommandId','react/jsx-runtime','removeParam','column','addEventListener','toRgbString','selection','cursorInfo$','_disabled','_httpService','UNDEFINED','green.600','forEach','M0\x200H16V16H0z','FromArray','BuiltInUIPart','transformStateCache','getUnitStatus$','debug','APPLY_PERMISSION_DENIED','LICENSE_DISTRO_REJECTED','APPLY_DUPLICATED','collab-rect-range-','colorChannel1','getDocRanges','trim','setParam','endColumn','_config','fromEvent','_cursors','_saveTaskMap','sessionTicket','ISocketService','off-line-icon','ALREADY_EXISTS','_urlService','getOwnPropertySymbols','fillRule','with','InsertRowCommandId','search','512072IXgPQI','HTTPService','permission.content','replace','_docTransformSelectionsService','MOBILE_HAS_BEEN_BOUND','_colorAssignService','executeCommand','_lastPointer','_onCursorDelete','transformByState','Warning','2236810lvDACR','transform','startRow','call','event$','collabStatus.synced','INotificationService','IUIPartsService','_scheduleHeartbeat','_textBubble','assignAColorForMemberID','m2Prime','getCollabCursors$','save','getColorFromTheme','setShapeProps','onMouseMove','textRanges','IBeforeCloseService','createInstance','setItem','assign','INVITE_CODE_REQUIRED','ILogService','replaceDocRanges','Rect','_localCacheService','_docTransformIMECacheService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','APPLY_NON_SEQUENTIAL_REVISION','_getScale','sessionStatus$','@univerjs/sheets-ui','_drawRectRange','redoState','_handleEvent','_send','pipe','sheetId','reconnect','AWAITING_WITH_PENDING','url(#on-line-icon_clip0_910_349)','prototype','TOO_MANY_REQUESTS','location','_initResize','yellow.400','handleMoveRange','setTimeout','_registerRenderDependencies','collab-text-range-','getRenderById','univer-flex\x20univer-items-center','SheetSkeletonManagerService','push','_unitOnClients','switchMap','collabStatus.conflict','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','indexOf','_anchorDot','icon','UNIVER_DOC','Module','off-line-icon_clip0_910_343','_init','post','mask','_handleHeartbeatEvent','m1Prime','_initStatusListener','Rectangle','attrs','DOC_RANGE_TYPE','_drawTextRange','_configService','extend','@univerjs/rpc','_entities','@univerjs-pro/collaboration','type','handleDeleteRangeMoveLeft','disposeUnit','OTHER_CLIENT_EDITING','_status$','_sheetSkeletonManagerService','MemberService','CLOSE_ROOM','hasOwnProperty','fill','ISnapshotServerService','makeDirty','UNAUTHENTICATED','_drawAnchor','executionId','debounce','SUBMIT_CHANGESET_TIMEOUT','max','white','isTransformMutationsWithChangesetSuccess','mergeOverrideWithDependencies','collabStatus.notCollab','SetWorksheetActivateCommand','restore','xlink:href','createElement','height','NodePositionConvertToRectRange','_scheduleSaving','triggerDblclick','LICENSE_EXPORT_SIZE_EXCEEDED','NOT_COLLAB','OffLineIcon','INTERNAL_ERROR','getActiveRange','storage','defs','_initStatusComponent','_docClipboardService','doc.mutation.rich-text-editing','collabStatus.fetchMiss','subscribe','UniverEngineRender','UNRECOGNIZED','Vector2','permission.title','url(#$1','transformSelections','resize','handleIRemoveCol','DeleteRangeMoveUpCommandId','CONFLICT','_docSyncEditingCollabCursorService','addObject','handleInsertCol','object','docStateChange$','TEXT_RANGE_LAYER_INDEX','name','170742zuDZNY','getSheetBySheetId','unitID','transformMutation','USER_NOT_INVITED_CODE','drawWith','jsx','getConfig','none','univerjs-icon\x20univerjs-icon-','subunit','mutations','then','DocStateChangeManagerService','NodePositionConvertToCursor','getCurrentRevOfUnit','_docStateChangeManagerService','UniverDesign','values','_getMergeRange','collaboration-client-ui.config','_hideTimer','color','CollaborationStatusDisplay','_initEntityListener','@univerjs/engine-formula','entries','BehaviorSubject','collaboration.single-unit.warning','currentSkeleton$','@univerjs-pro/collaboration-client','set','_unitStatus','getMemberID','ticket','focused$','shareReplay','defineProperty','map','getRelativeToViewportCoord','getActiveSheet','source','takeUntil','tag','entityInit$','_shapes','registerRenderModule','setUndoRedoMutationParamsCache','cursorInfo','setAlpha','width','transformRemoteChangeset','_id','IURLService','memberID','_render','UniverDocs','disableLocalCache','moveTo','_startDocCollabCursor','_collaborationController','newValue','UniverInstanceType','_instanceService','_dataLoaderService','_transformHistoryAndStateStack','2282908MHSwJL','transformMutationsWithChangeset','_getSessionTicket','key','WECHAT_HAS_BEEN_BOUND','arc','concat','DEFAULT_WS_SESSION_TICKET_URL','10554jHOVco','_transformPreviousActiveRange','_onRefRangeChange','transformIMECache','RECT','getUnitId','deserializeRangeWithSheet','top','Failed','searchParams','syncEditingCollabCursor','isTransformMutationFailure','YUUMI_SUBSCRIPTION_NOT_FOUND','from','_handleHover','_docTransformStateCacheService','FETCH_MISS','_docSkeletonManagerService','Shape','string','PY_RUNTIME_SCRIPT_ERROR','getColor','Error','React','univer-flex\x20univer-mr-2\x20univer-text-xl','UniverUi','session.connection-failed','session.collaboration-timeout','_labelPosition','getParam','unload','SessionStatus','_transformService','filter','_clearOtherTimers','CollaborationStatus','_beforeCloseService','unitId','_docSkeleton','session.will-retry','_session','next','hovered','actions','_draw','merge','PERMISSION_DENIED','_cursorShapes','USERS_LEAVE','InsertColCommandId','InsertRangeMoveRightCommandId','NO_OTHER_CLIENTS_EDITING','_cursor','1em','getUnhiddenWorksheets','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/docs-ui','UPDATE_CURSOR','override','_localStorageService','_updateSubUnitFromURLParams','_initEvent'];_0x375c=function(){return _0x1d173d;};return _0x375c();}
|