@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250428-63779a3 → 0.6.10-experimental.20250428-8c74c87

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x117383=_0x3cfb;function _0x3cfb(_0x5428b2,_0x3b23b0){const _0x54de3c=_0x54de();return _0x3cfb=function(_0x3cfbfb,_0x368b0c){_0x3cfbfb=_0x3cfbfb-0x1d7;let _0xc1579f=_0x54de3c[_0x3cfbfb];return _0xc1579f;},_0x3cfb(_0x5428b2,_0x3b23b0);}(function(_0x42ba7f,_0x1b339e){const _0x3ca1c7=_0x3cfb,_0x2e68b8=_0x42ba7f();while(!![]){try{const _0x5b3940=-parseInt(_0x3ca1c7(0x1e1))/0x1*(parseInt(_0x3ca1c7(0x1de))/0x2)+parseInt(_0x3ca1c7(0x1da))/0x3+-parseInt(_0x3ca1c7(0x1dc))/0x4+parseInt(_0x3ca1c7(0x1d8))/0x5*(parseInt(_0x3ca1c7(0x1dd))/0x6)+parseInt(_0x3ca1c7(0x1d7))/0x7*(-parseInt(_0x3ca1c7(0x1df))/0x8)+-parseInt(_0x3ca1c7(0x1e7))/0x9*(parseInt(_0x3ca1c7(0x1d9))/0xa)+parseInt(_0x3ca1c7(0x1e0))/0xb*(parseInt(_0x3ca1c7(0x1e5))/0xc);if(_0x5b3940===_0x1b339e)break;else _0x2e68b8['push'](_0x2e68b8['shift']());}catch(_0x52b136){_0x2e68b8['push'](_0x2e68b8['shift']());}}}(_0x54de,0x417cc));const t=require(_0x117383(0x1e6)),e=require(_0x117383(0x1e2));class c extends e[_0x117383(0x1e3)]{['runOnServer'](_0x2d913b,_0x284f7d,..._0x2de1ee){const _0x553882=_0x117383;return this['_injector'][_0x553882(0x1e4)](t[_0x553882(0x1db)])['runOnServer'](_0x2d913b,_0x284f7d,{},..._0x2de1ee);}}e[_0x117383(0x1e3)]['extend'](c);function _0x54de(){const _0x22de89=['29984iluDhy','22IcFdIN','501xnPoTa','@univerjs/core/facade','FUniver','get','5243844UmfBCQ','@univerjs-pro/collaboration-client-ui','2134953kHFtLx','707zEghxR','5MCtIlB','10bvGGVt','572325gLNHTp','RemoteUniscriptService','946460cilzyU','1215960nLAAbA','586POFsQl'];_0x54de=function(){return _0x22de89;};return _0x54de();}
1
+ 'use strict';const _0x546f54=_0xbfd4;function _0x2f8f(){const _0x382a09=['3333080pPagjh','1623190szDLyI','@univerjs-pro/collaboration-client-ui','get','RemoteUniscriptService','442439SAAfyK','570220MtsQmd','@univerjs/core/facade','extend','53270KlJrAx','FUniver','138442FYBapV','_injector','36eUnYRY','runOnServer','926661QOTtBR'];_0x2f8f=function(){return _0x382a09;};return _0x2f8f();}function _0xbfd4(_0x438c43,_0x534db1){const _0x2f8f48=_0x2f8f();return _0xbfd4=function(_0xbfd4ec,_0x1c4eb1){_0xbfd4ec=_0xbfd4ec-0xf4;let _0x229dbf=_0x2f8f48[_0xbfd4ec];return _0x229dbf;},_0xbfd4(_0x438c43,_0x534db1);}(function(_0x5645c6,_0x4eadb4){const _0x586b01=_0xbfd4,_0x5a3e7f=_0x5645c6();while(!![]){try{const _0x1a2e18=-parseInt(_0x586b01(0x102))/0x1+-parseInt(_0x586b01(0xf8))/0x2+parseInt(_0x586b01(0xfc))/0x3+-parseInt(_0x586b01(0x103))/0x4+parseInt(_0x586b01(0xfe))/0x5+parseInt(_0x586b01(0xfa))/0x6*(-parseInt(_0x586b01(0xf6))/0x7)+parseInt(_0x586b01(0xfd))/0x8;if(_0x1a2e18===_0x4eadb4)break;else _0x5a3e7f['push'](_0x5a3e7f['shift']());}catch(_0x14bab5){_0x5a3e7f['push'](_0x5a3e7f['shift']());}}}(_0x2f8f,0x5584d));const t=require(_0x546f54(0xff)),e=require(_0x546f54(0xf4));class c extends e['FUniver']{['runOnServer'](_0x28b55f,_0x39190a,..._0x1e00a6){const _0x33f754=_0x546f54;return this[_0x33f754(0xf9)][_0x33f754(0x100)](t[_0x33f754(0x101)])[_0x33f754(0xfb)](_0x28b55f,_0x39190a,{},..._0x1e00a6);}}e[_0x546f54(0xf7)][_0x546f54(0xf5)](c);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x5db9f2=_0x5398;(function(_0x200ec2,_0x112c20){const _0x4c712b=_0x5398,_0x5948=_0x200ec2();while(!![]){try{const _0x55d4fe=parseInt(_0x4c712b(0x302))/0x1*(parseInt(_0x4c712b(0x3ba))/0x2)+parseInt(_0x4c712b(0x3f2))/0x3+-parseInt(_0x4c712b(0x2ed))/0x4+parseInt(_0x4c712b(0x1c5))/0x5*(parseInt(_0x4c712b(0x1be))/0x6)+parseInt(_0x4c712b(0x21c))/0x7+parseInt(_0x4c712b(0x21a))/0x8*(parseInt(_0x4c712b(0x212))/0x9)+-parseInt(_0x4c712b(0x194))/0xa*(parseInt(_0x4c712b(0x34c))/0xb);if(_0x55d4fe===_0x112c20)break;else _0x5948['push'](_0x5948['shift']());}catch(_0x1367d3){_0x5948['push'](_0x5948['shift']());}}}(_0x19b5,0xe38f5));var Ve=Object[_0x5db9f2(0x1a1)],Xe=(_0x4a4f82,_0x4ec37a,_0x361abf)=>_0x4ec37a in _0x4a4f82?Ve(_0x4a4f82,_0x4ec37a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x361abf}):_0x4a4f82[_0x4ec37a]=_0x361abf,h=(_0xd5291f,_0x1fcdd3,_0x41315d)=>Xe(_0xd5291f,typeof _0x1fcdd3!=_0x5db9f2(0x329)?_0x1fcdd3+'':_0x1fcdd3,_0x41315d);Object[_0x5db9f2(0x1a1)](exports,Symbol[_0x5db9f2(0x1b3)],{'value':_0x5db9f2(0x1e2)});const u=require(_0x5db9f2(0x3bb)),a=require(_0x5db9f2(0x2fc)),p=require(_0x5db9f2(0x191)),G=require('@univerjs/network'),b=require(_0x5db9f2(0x2f4)),Ge=require(_0x5db9f2(0x190)),d=require(_0x5db9f2(0x367)),W=require(_0x5db9f2(0x209)),m=require('@univerjs-pro/collaboration'),Ee=require(_0x5db9f2(0x378)),g=require(_0x5db9f2(0x224)),$=require(_0x5db9f2(0x2e9)),X=require(_0x5db9f2(0x391)),P=require(_0x5db9f2(0x322)),T=require(_0x5db9f2(0x236)),D=require(_0x5db9f2(0x33c)),M=require('react'),qe=require(_0x5db9f2(0x277));var Ke=Object['getOwnPropertyDescriptor'],ze=(_0x15f268,_0x1dd6d8,_0x5cb1dc,_0x201a47)=>{const _0x5e1728=_0x5db9f2;for(var _0x3a0005=_0x201a47>0x1?void 0x0:_0x201a47?Ke(_0x1dd6d8,_0x5cb1dc):_0x1dd6d8,_0x2e258c=_0x15f268[_0x5e1728(0x229)]-0x1,_0x542606;_0x2e258c>=0x0;_0x2e258c--)(_0x542606=_0x15f268[_0x2e258c])&&(_0x3a0005=_0x542606(_0x3a0005)||_0x3a0005);return _0x3a0005;},Te=(_0x30fd0f,_0x57b98d)=>(_0x3e66be,_0x254d2f)=>_0x57b98d(_0x3e66be,_0x254d2f,_0x30fd0f);let de=class extends a['RxDisposable']{constructor(_0x16d629,_0x1c7de3){const _0x5ed789=_0x5db9f2;super(),this['_docClipboardService']=_0x16d629,this[_0x5ed789(0x34b)]=_0x1c7de3,this['_init']();}[_0x5db9f2(0x16c)](){const _0x515244=_0x5db9f2,_0x595c96=this;this[_0x515244(0x2a4)](this[_0x515244(0x1ae)][_0x515244(0x350)]({'onBeforePasteImage':async _0xfa4ea5=>{const _0x2386f0=_0x515244,_0x4a4cb5=await _0x595c96[_0x2386f0(0x34b)][_0x2386f0(0x243)](_0xfa4ea5);return _0x4a4cb5?{'source':_0x4a4cb5['source'],'imageSourceType':_0x4a4cb5[_0x2386f0(0x2c3)]}:null;}}));}};de=ze([Te(0x0,b[_0x5db9f2(0x35c)]),Te(0x1,Ge[_0x5db9f2(0x3a1)])],de);const Oe=[_0x5db9f2(0x3b4),_0x5db9f2(0x2cd),_0x5db9f2(0x2b5),_0x5db9f2(0x27b),_0x5db9f2(0x1d5),_0x5db9f2(0x266)];class me extends a[_0x5db9f2(0x309)]{constructor(){const _0xf9d347=_0x5db9f2;super(...arguments),h(this,_0xf9d347(0x280),new Map()),h(this,'_colorIndex',0x0);}[_0x5db9f2(0x219)](_0x408218){const _0x3e39f5=_0x5db9f2;if(this['_assignedColors']['has'](_0x408218))return this[_0x3e39f5(0x280)]['get'](_0x408218);const _0x26de04=Oe[this[_0x3e39f5(0x2df)]];return this[_0x3e39f5(0x2df)]=(this[_0x3e39f5(0x2df)]+0x1)%Oe['length'],this['_assignedColors']['set'](_0x408218,_0x26de04),_0x26de04;}}function Pe(_0x3ab55b){let _0x19dfe7='';for(const _0x45a710 of _0x3ab55b){const {startOffset:_0x1e7429,endOffset:_0x187205,isActive:_0xe4205b,rangeType:_0x52e109,segmentId:_0x5d7f72,segmentPage:_0x21b24e}=_0x45a710;_0x19dfe7['length']&&(_0x19dfe7+=','),_0x19dfe7+=_0x1e7429+':'+_0x187205+':'+(_0xe4205b?'1':'0')+':'+_0x52e109+':'+_0x5d7f72+':'+_0x21b24e;}return _0x19dfe7;}function Je(_0x2654c6){const _0xc1a29a=_0x5db9f2,_0x320424=_0x2654c6[_0xc1a29a(0x3c5)](','),_0x16d1bd=[];for(const _0x33fcd7 of _0x320424){const [_0x475535,_0x142bfd,_0x358fc1,_0x2e80df,_0x46cb68,_0x226d6c]=_0x33fcd7[_0xc1a29a(0x3c5)](':');_0x16d1bd[_0xc1a29a(0x1e0)]({'startOffset':Number(_0x475535),'endOffset':Number(_0x142bfd),'collapsed':_0x475535===_0x142bfd,'isActive':_0x358fc1==='1','rangeType':_0x2e80df===a['DOC_RANGE_TYPE'][_0xc1a29a(0x37f)]?a[_0xc1a29a(0x3a9)]['TEXT']:a[_0xc1a29a(0x3a9)]['RECT'],'segmentId':typeof _0x46cb68==_0xc1a29a(0x3b2)?String(_0x46cb68):'','segmentPage':Number(_0x226d6c!=null?_0x226d6c:-0x1)});}return _0x16d1bd['some'](_0xc8de19=>_0xc8de19[_0xc1a29a(0x351)])||(_0x16d1bd[0x0][_0xc1a29a(0x351)]=!0x0),_0x16d1bd;}class Ce extends a['RxDisposable']{constructor(){const _0x3913ec=_0x5db9f2;super(...arguments),h(this,_0x3913ec(0x26b),new d['BehaviorSubject'](null)),h(this,_0x3913ec(0x2f1),this[_0x3913ec(0x26b)][_0x3913ec(0x2d2)]());}[_0x5db9f2(0x2d4)](_0x3bb008){const _0x398539=_0x5db9f2,{unitID:_0x11195a,memberID:_0x241c66,textRanges:_0x319acd}=_0x3bb008,_0x30c7f3=Pe(_0x319acd);if(_0x30c7f3==='')return;const _0x446a61={'unitID':_0x11195a,'memberID':_0x241c66,'selection':_0x30c7f3};this[_0x398539(0x26b)][_0x398539(0x1e5)](_0x446a61);}}var Ze=Object['getOwnPropertyDescriptor'],Qe=(_0x49b73b,_0x4669a6,_0x169e14,_0x44e126)=>{for(var _0x5d7632=_0x44e126>0x1?void 0x0:_0x44e126?Ze(_0x4669a6,_0x169e14):_0x4669a6,_0x4e418c=_0x49b73b['length']-0x1,_0x306a0d;_0x4e418c>=0x0;_0x4e418c--)(_0x306a0d=_0x49b73b[_0x4e418c])&&(_0x5d7632=_0x306a0d(_0x5d7632)||_0x5d7632);return _0x5d7632;},L=(_0x53344a,_0x1f135d)=>(_0x39fbff,_0x4ba122)=>_0x1f135d(_0x39fbff,_0x4ba122,_0x53344a);const et=0x12c,tt=0x64;let fe=class extends a[_0x5db9f2(0x321)]{constructor(_0x21a8ed,_0x2e1ef2,_0x341b6d,_0x17bd1a,_0x2b8ffd,_0x45caac,_0x464675,_0x43baf5,_0x2fba2d){const _0x560b19=_0x5db9f2;super(),h(this,_0x560b19(0x38b),!0x1),h(this,_0x560b19(0x16c),!0x1),h(this,_0x560b19(0x3e4),new d['BehaviorSubject'](new Map())),h(this,_0x560b19(0x32d),this['_cursorInfo$'][_0x560b19(0x2d2)]()),h(this,_0x560b19(0x342),new d[(_0x560b19(0x3b3))]([])),h(this,_0x560b19(0x21d),this[_0x560b19(0x342)]['pipe'](d[_0x560b19(0x298)](et))),h(this,'_updateLocalCursor',a['debounce'](_0x41b0ad=>{const _0x141344=_0x560b19,_0x3cb654={'eventID':m[_0x141344(0x3f3)][_0x141344(0x2a1)],'data':{'unitID':this[_0x141344(0x1dc)],'memberID':this[_0x141344(0x2da)]['getMemberID'](),'selection':Pe(_0x41b0ad)}};this[_0x141344(0x2da)][_0x141344(0x3c6)](_0x3cb654,this[_0x141344(0x1dc)]);},tt)),(this[_0x560b19(0x1dc)]=_0x21a8ed,this[_0x560b19(0x2da)]=_0x2e1ef2,this[_0x560b19(0x17d)]=_0x341b6d,this[_0x560b19(0x1ce)]=_0x17bd1a,this['_memberService']=_0x2b8ffd,this['_syncEditingCollabCursorService']=_0x45caac,this['_transformService']=_0x464675,this[_0x560b19(0x3d8)]=_0x43baf5,this['_commandService']=_0x2fba2d);}get[_0x5db9f2(0x259)](){const _0x1f7cb7=_0x5db9f2;return this[_0x1f7cb7(0x3e4)][_0x1f7cb7(0x2bd)]();}get['roomMembers'](){const _0xadddcc=_0x5db9f2;return this[_0xadddcc(0x342)][_0xadddcc(0x2bd)]();}[_0x5db9f2(0x25e)](){const _0x484402=_0x5db9f2;super['dispose'](),this[_0x484402(0x3e4)][_0x484402(0x1e5)](new Map()),this['_cursorInfo$'][_0x484402(0x1c0)](),this['_roomMembers$'][_0x484402(0x1e5)]([]),this[_0x484402(0x342)]['complete']();}[_0x5db9f2(0x254)](){const _0x11cc56=_0x5db9f2;this['_init']||(this['_init']=!0x0,this[_0x11cc56(0x2da)][_0x11cc56(0x33b)][_0x11cc56(0x37b)](d[_0x11cc56(0x2a3)](this['dispose$']))[_0x11cc56(0x2dc)](_0x31b651=>{const _0x18c080=_0x11cc56;_0x31b651===u['SessionStatus']['ONLINE']?this[_0x18c080(0x1ec)]():this['_toggleOffline']();}),this[_0x11cc56(0x2da)]['event$'][_0x11cc56(0x37b)](d[_0x11cc56(0x2a3)](this[_0x11cc56(0x3c7)]))[_0x11cc56(0x2dc)](_0x108af4=>{const _0xdd3a43=_0x11cc56,_0xf2af08=_0x108af4[_0xdd3a43(0x2c6)];_0xf2af08===m[_0xdd3a43(0x3f3)][_0xdd3a43(0x2a1)]&&this[_0xdd3a43(0x389)](_0x108af4),_0xf2af08===m['CollaborationEvent'][_0xdd3a43(0x292)]&&this[_0xdd3a43(0x2d9)](_0x108af4);}),this['disposeWithMe'](this[_0x11cc56(0x1fe)][_0x11cc56(0x32c)](_0x3810b6=>{const _0x1078d7=_0x11cc56,_0x3a5ef9=_0x3810b6[_0x1078d7(0x33e)];_0x3a5ef9!=null&&this[_0x1078d7(0x38b)]&&_0x3810b6['id']===W[_0x1078d7(0x2ca)]['id']&&_0x3a5ef9['unitId']===this[_0x1078d7(0x1dc)]&&_0x3a5ef9[_0x1078d7(0x29d)]===!0x1&&_0x3a5ef9[_0x1078d7(0x263)]['length']>0x0&&this['_updateLocalCursor'](_0x3a5ef9[_0x1078d7(0x263)]);})),this[_0x11cc56(0x2f7)]['collabCursorState$'][_0x11cc56(0x37b)](d[_0x11cc56(0x2a3)](this[_0x11cc56(0x3c7)]))[_0x11cc56(0x2dc)](_0x110aa8=>{const _0x4b8d26=_0x11cc56;if((_0x110aa8==null?void 0x0:_0x110aa8[_0x4b8d26(0x1dc)])!==this[_0x4b8d26(0x1dc)])return;const _0x29a31f={'eventID':m[_0x4b8d26(0x3f3)]['UPDATE_CURSOR'],'data':_0x110aa8};this[_0x4b8d26(0x389)](_0x29a31f);}),this[_0x11cc56(0x2a4)](this[_0x11cc56(0x1fe)][_0x11cc56(0x32c)](_0x3bf9b7=>{const _0x2462a8=_0x11cc56;if(_0x3bf9b7[_0x2462a8(0x33e)]==null)return;const _0xe77f5a=_0x3bf9b7[_0x2462a8(0x33e)];if(_0x3bf9b7['id']!==W[_0x2462a8(0x1b4)]['id']||_0xe77f5a[_0x2462a8(0x1bd)]!==this['unitID'])return;const _0x1e62a3={'id':'doc.mutation.rich-text-editing','params':_0xe77f5a},_0x5523d1=this['cursorInfo'];for(const [_0x293bad,_0x43a21c]of _0x5523d1){const _0x463ae7={'id':_0x2462a8(0x356),'params':{'unitId':this[_0x2462a8(0x1dc)],'actions':null,'textRanges':_0x43a21c[_0x2462a8(0x263)]}},_0x4fbd0d=this[_0x2462a8(0x379)][_0x2462a8(0x369)](_0x1e62a3,_0x463ae7,!0x1);if(m[_0x2462a8(0x3db)](_0x4fbd0d))throw _0x4fbd0d[_0x2462a8(0x250)];_0x5523d1[_0x2462a8(0x335)](_0x293bad,{..._0x43a21c,'ranges':_0x4fbd0d['m2Prime'][_0x2462a8(0x33e)][_0x2462a8(0x2be)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x5523d1);});})));}['_onCursorUpdate'](_0x2f4c8f){const _0x74da61=_0x5db9f2;var _0x5714e7,_0x31a953;const {memberID:_0x18e2fa,selection:_0x25fdfc}=_0x2f4c8f[_0x74da61(0x33d)],_0x34ab68=Je(_0x25fdfc),_0xd91520=(_0x31a953=(_0x5714e7=this[_0x74da61(0x2c0)][_0x74da61(0x3ef)](this['unitID'],_0x18e2fa))==null?void 0x0:_0x5714e7[_0x74da61(0x2a0)])!=null?_0x31a953:_0x74da61(0x2ec),_0x2dfb0e={'color':this[_0x74da61(0x1ce)][_0x74da61(0x219)](_0x18e2fa),'name':_0xd91520,'ranges':_0x34ab68},_0x3c2812=this[_0x74da61(0x259)];_0x3c2812[_0x74da61(0x335)](_0x18e2fa,_0x2dfb0e),this[_0x74da61(0x3e4)][_0x74da61(0x1e5)](_0x3c2812);}['_onCursorDelete'](_0x2a4a91){const _0x4cad90=_0x5db9f2,{memberID:_0x290c0b}=_0x2a4a91['data'],_0xed979c=this[_0x4cad90(0x259)];_0xed979c[_0x4cad90(0x1aa)](_0x290c0b),this[_0x4cad90(0x3e4)][_0x4cad90(0x1e5)](_0xed979c);}[_0x5db9f2(0x1ec)](){const _0x51b4ae=_0x5db9f2;var _0x2b8458;if(this[_0x51b4ae(0x38b)]=!0x0,((_0x2b8458=this[_0x51b4ae(0x3d8)]['getFocusedUnit']())==null?void 0x0:_0x2b8458['getUnitId']())!==this[_0x51b4ae(0x1dc)])return;const _0x5085a1=this[_0x51b4ae(0x17d)][_0x51b4ae(0x1b2)](W['DocSelectionManagerService'])['getDocRanges']();Array['isArray'](_0x5085a1)&&_0x5085a1['length']>0x0&&this[_0x51b4ae(0x23d)](_0x5085a1);}[_0x5db9f2(0x2b9)](){const _0xf61536=_0x5db9f2;this[_0xf61536(0x38b)]=!0x1;}};fe=Qe([L(0x2,a['Inject'](a[_0x5db9f2(0x204)])),L(0x3,a[_0x5db9f2(0x319)](me)),L(0x4,a[_0x5db9f2(0x319)](u['MemberService'])),L(0x5,a[_0x5db9f2(0x319)](Ce)),L(0x6,m[_0x5db9f2(0x3bc)]),L(0x7,a[_0x5db9f2(0x24f)]),L(0x8,a[_0x5db9f2(0x3b8)])],fe);var st=Object['getOwnPropertyDescriptor'],it=(_0xdd3c37,_0x3df8f2,_0x594d25,_0x192ddd)=>{const _0x3d0e98=_0x5db9f2;for(var _0x1f335a=_0x192ddd>0x1?void 0x0:_0x192ddd?st(_0x3df8f2,_0x594d25):_0x3df8f2,_0x2126fe=_0xdd3c37[_0x3d0e98(0x229)]-0x1,_0x3f3669;_0x2126fe>=0x0;_0x2126fe--)(_0x3f3669=_0xdd3c37[_0x2126fe])&&(_0x1f335a=_0x3f3669(_0x1f335a)||_0x1f335a);return _0x1f335a;},A=(_0xc228d0,_0x18d79b)=>(_0xbfc39e,_0x1ad8cc)=>_0x18d79b(_0xbfc39e,_0x1ad8cc,_0xc228d0);const nt=0x12c,rt=0x64,ot=()=>{let _0x2c6319=[],_0x350aea=!0x1;return _0x442701=>{const _0x308e97=_0x5398;_0x2c6319[_0x308e97(0x1e0)](_0x442701),_0x350aea||(_0x350aea=!0x0,setTimeout(()=>{const _0x19164b=_0x308e97;_0x2c6319[_0x19164b(0x39e)](_0x342c8f=>_0x342c8f()),_0x2c6319=[],_0x350aea=!0x1;}));};};let Se=class extends a[_0x5db9f2(0x321)]{constructor(_0x3edb7b,_0x383b6a,_0x35fcde,_0x4a6053,_0x32ed53,_0x316a69,_0xc7aa3c,_0x21411a){const _0x481f17=_0x5db9f2;super(),h(this,_0x481f17(0x38b),!0x1),h(this,_0x481f17(0x16c),!0x1),h(this,_0x481f17(0x3e4),new d[(_0x481f17(0x3b3))](new Map())),h(this,'cursorInfo$',this['_cursorInfo$'][_0x481f17(0x2d2)]()),h(this,_0x481f17(0x342),new d[(_0x481f17(0x3b3))]([])),h(this,'roomMembers$',this[_0x481f17(0x342)][_0x481f17(0x37b)](d[_0x481f17(0x298)](nt))),h(this,_0x481f17(0x23d),a[_0x481f17(0x215)]((_0x50e143,_0x3ed0dd)=>{const _0x397fee=_0x481f17,_0x8f476b={'eventID':m['CollaborationEvent'][_0x397fee(0x2a1)],'data':{'unitID':this[_0x397fee(0x1dc)],'memberID':this[_0x397fee(0x2da)]['getMemberID'](),'selection':Ee['serializeRangeWithSheet'](_0x50e143,_0x3ed0dd[_0x397fee(0x1ba)])}};this[_0x397fee(0x2da)]['send'](_0x8f476b,this[_0x397fee(0x1dc)]);},rt)),(this[_0x481f17(0x1dc)]=_0x3edb7b,this[_0x481f17(0x2da)]=_0x383b6a,this['_injector']=_0x35fcde,this[_0x481f17(0x1ce)]=_0x4a6053,this[_0x481f17(0x2c0)]=_0x32ed53,this[_0x481f17(0x3d8)]=_0x316a69,this['_commandService']=_0xc7aa3c,this[_0x481f17(0x34a)]=_0x21411a);}get[_0x5db9f2(0x259)](){const _0x20d10a=_0x5db9f2;return this[_0x20d10a(0x3e4)][_0x20d10a(0x2bd)]();}get[_0x5db9f2(0x267)](){const _0x8c848d=_0x5db9f2;return this[_0x8c848d(0x342)][_0x8c848d(0x2bd)]();}[_0x5db9f2(0x25e)](){const _0x26a38d=_0x5db9f2;super[_0x26a38d(0x25e)](),this[_0x26a38d(0x3e4)]['next'](new Map()),this[_0x26a38d(0x3e4)][_0x26a38d(0x1c0)](),this[_0x26a38d(0x342)][_0x26a38d(0x1e5)]([]),this[_0x26a38d(0x342)][_0x26a38d(0x1c0)]();}[_0x5db9f2(0x254)](){const _0x249f46=_0x5db9f2;this['_init']||(this[_0x249f46(0x16c)]=!0x0,this[_0x249f46(0x2da)][_0x249f46(0x33b)][_0x249f46(0x37b)](d['takeUntil'](this['dispose$']))[_0x249f46(0x2dc)](_0x51736d=>{const _0x13108e=_0x249f46;_0x51736d===u['SessionStatus'][_0x13108e(0x16e)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x249f46(0x2da)][_0x249f46(0x1df)][_0x249f46(0x37b)](d[_0x249f46(0x2a3)](this[_0x249f46(0x3c7)]))['subscribe'](_0x4020a0=>{const _0x30a893=_0x249f46,_0x23c797=_0x4020a0['eventID'];_0x23c797===m[_0x30a893(0x3f3)][_0x30a893(0x2a1)]&&this[_0x30a893(0x389)](_0x4020a0),_0x23c797===m[_0x30a893(0x3f3)]['USERS_LEAVE']&&this[_0x30a893(0x2d9)](_0x4020a0);}),this[_0x249f46(0x1ea)](),this[_0x249f46(0x2a4)](this['_commandService'][_0x249f46(0x32c)](_0x63cb57=>{const _0x14a9ee=_0x249f46;if(this[_0x14a9ee(0x38b)]&&_0x63cb57['id']===g[_0x14a9ee(0x373)]['id']&&_0x63cb57[_0x14a9ee(0x33e)][_0x14a9ee(0x1bd)]===this['unitID']){const _0x4d12cd=_0x63cb57[_0x14a9ee(0x33e)];this['_updateLocalCursor'](_0x4d12cd[_0x14a9ee(0x385)],_0x4d12cd[_0x14a9ee(0x1c1)][0x0]);}})));}[_0x5db9f2(0x389)](_0x48d50a){const _0x2ddd14=_0x5db9f2;var _0x2ababa,_0x4ea05c;const {memberID:_0x4824da,selection:_0x40ee19}=_0x48d50a[_0x2ddd14(0x33d)],{sheetName:_0x2cc5f8,range:_0x5e1d27}=Ee['deserializeRangeWithSheet'](_0x40ee19),_0x2365f8={'name':(_0x4ea05c=(_0x2ababa=this['_memberService'][_0x2ddd14(0x3ef)](this[_0x2ddd14(0x1dc)],_0x4824da))==null?void 0x0:_0x2ababa['name'])!=null?_0x4ea05c:_0x2ddd14(0x2ec),'range':this[_0x2ddd14(0x360)](_0x2cc5f8,_0x5e1d27),'sheetID':_0x2cc5f8,'color':this[_0x2ddd14(0x1ce)][_0x2ddd14(0x219)](_0x4824da),'selection':_0x40ee19},_0x5be068=this[_0x2ddd14(0x259)];_0x5be068[_0x2ddd14(0x335)](_0x4824da,_0x2365f8),this[_0x2ddd14(0x3e4)][_0x2ddd14(0x1e5)](_0x5be068);}[_0x5db9f2(0x2d9)](_0x516034){const _0x51892d=_0x5db9f2,{memberID:_0x416525}=_0x516034[_0x51892d(0x33d)],_0x23b4cb=this['cursorInfo'];_0x23b4cb[_0x51892d(0x1aa)](_0x416525),this[_0x51892d(0x3e4)][_0x51892d(0x1e5)](_0x23b4cb);}[_0x5db9f2(0x360)](_0x5b9b24,_0x3e9d92){const _0x34a3d3=_0x5db9f2;var _0x3c5d98,_0x4e0284;const _0x5c5770=(_0x4e0284=(_0x3c5d98=this[_0x34a3d3(0x3d8)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x3c5d98[_0x34a3d3(0x2a9)](_0x5b9b24))==null?void 0x0:_0x4e0284[_0x34a3d3(0x248)]();return(_0x5c5770==null?void 0x0:_0x5c5770['find'](_0x1ac652=>a[_0x34a3d3(0x3d4)][_0x34a3d3(0x18d)](_0x1ac652,_0x3e9d92)))||_0x3e9d92;}['_onRefRangeChange'](){const _0x2f49bb=_0x5db9f2,_0x4141fa=new a[(_0x2f49bb(0x3f0))](),_0xd0ff20=ot(),_0x35110c=()=>{const _0x232d41=_0x2f49bb;_0x4141fa[_0x232d41(0x25e)]();const _0x8177f9=(_0x55030b,_0x5d3043,_0x2b0402,_0x2774bf)=>{const _0x3fc744=_0x232d41;let _0x5b13bc=[];switch(_0x55030b['id']){case g[_0x3fc744(0x2f5)][_0x3fc744(0x275)]:{_0x5b13bc=g[_0x3fc744(0x3b7)](_0x55030b,_0x2774bf);break;}case g[_0x3fc744(0x2f5)][_0x3fc744(0x1da)]:{_0x5b13bc=g[_0x3fc744(0x241)](_0x55030b,_0x2774bf);break;}case g['EffectRefRangId'][_0x3fc744(0x3ab)]:{_0x5b13bc=g[_0x3fc744(0x328)](_0x55030b,_0x2774bf);break;}case g['EffectRefRangId'][_0x3fc744(0x1fa)]:{_0x5b13bc=g['handleInsertRangeMoveDown'](_0x55030b,_0x2774bf);break;}case g[_0x3fc744(0x2f5)][_0x3fc744(0x2db)]:{_0x5b13bc=g[_0x3fc744(0x3aa)](_0x55030b,_0x2774bf);break;}case g['EffectRefRangId'][_0x3fc744(0x2ac)]:{_0x5b13bc=g[_0x3fc744(0x1a4)](_0x55030b,_0x2774bf);break;}case g['EffectRefRangId'][_0x3fc744(0x32f)]:{_0x5b13bc=g[_0x3fc744(0x3df)](_0x55030b,_0x2774bf);break;}case g[_0x3fc744(0x2f5)][_0x3fc744(0x1cc)]:{_0x5b13bc=g[_0x3fc744(0x364)](_0x55030b,_0x2774bf);break;}case g['EffectRefRangId'][_0x3fc744(0x2e4)]:{_0x5b13bc=g['handleIRemoveRow'](_0x55030b,_0x2774bf);break;}}const _0x529194=g['runRefRangeMutations'](_0x5b13bc,_0x2774bf),_0x27ee85=this[_0x3fc744(0x259)][_0x3fc744(0x1b2)](_0x5d3043);if(_0x27ee85&&_0x529194){const _0x41ed11={..._0x27ee85,'range':_0x529194};this[_0x3fc744(0x259)][_0x3fc744(0x335)](_0x5d3043,_0x41ed11),_0xd0ff20(()=>{const _0x310cc6=_0x3fc744,_0x9ace0e=this[_0x310cc6(0x34a)][_0x310cc6(0x22b)](_0x529194,_0x4b1e9e=>(_0x9ace0e[_0x310cc6(0x25e)](),_0x8177f9(_0x4b1e9e,_0x5d3043,_0x2b0402,_0x529194)));_0x4141fa[_0x310cc6(0x365)](_0x9ace0e);});}return{'redos':[],'undos':[]};};this[_0x232d41(0x259)]['forEach']((_0x1d01ba,_0x20814b)=>{const _0x5be53d=_0x232d41,{range:_0x5204fd,sheetID:_0xd377b4}=_0x1d01ba,_0x103510=this[_0x5be53d(0x34a)][_0x5be53d(0x22b)](_0x5204fd,_0x55c91f=>(_0x103510[_0x5be53d(0x25e)](),_0x8177f9(_0x55c91f,_0x20814b,_0xd377b4,_0x5204fd)));_0x4141fa['add'](_0x103510);});};this[_0x2f49bb(0x2a4)](a[_0x2f49bb(0x32a)](this[_0x2f49bb(0x3e4)][_0x2f49bb(0x2dc)](()=>{_0x35110c();})));}[_0x5db9f2(0x1ec)](){const _0x186cc8=_0x5db9f2;var _0x4be97d,_0x1ce7ec;if(this[_0x186cc8(0x38b)]=!0x0,((_0x4be97d=this['_univerInstanceService'][_0x186cc8(0x24e)]())==null?void 0x0:_0x4be97d[_0x186cc8(0x312)]())!==this['unitID'])return;const _0x170eaf=(_0x1ce7ec=this['_injector'][_0x186cc8(0x1b2)](g[_0x186cc8(0x3f1)])[_0x186cc8(0x2bb)]())==null?void 0x0:_0x1ce7ec[0x0],_0x35e9d3=this[_0x186cc8(0x3d8)][_0x186cc8(0x251)](a['UniverInstanceType'][_0x186cc8(0x178)])[_0x186cc8(0x3e2)]();_0x170eaf&&_0x35e9d3&&this['_updateLocalCursor'](_0x35e9d3[_0x186cc8(0x2e5)](),_0x170eaf);}['_toggleOffline'](){const _0x3e34a8=_0x5db9f2;this[_0x3e34a8(0x38b)]=!0x1;}};Se=it([A(0x2,a[_0x5db9f2(0x319)](a[_0x5db9f2(0x204)])),A(0x3,a['Inject'](me)),A(0x4,a[_0x5db9f2(0x319)](u[_0x5db9f2(0x25d)])),A(0x5,a[_0x5db9f2(0x24f)]),A(0x6,a[_0x5db9f2(0x3b8)]),A(0x7,a['Inject'](g[_0x5db9f2(0x2de)]))],Se);var at=Object[_0x5db9f2(0x3ce)],ct=(_0x334519,_0x7f25c4,_0xd3debe,_0x2b8435)=>{const _0x20c83d=_0x5db9f2;for(var _0xdff6cf=_0x2b8435>0x1?void 0x0:_0x2b8435?at(_0x7f25c4,_0xd3debe):_0x7f25c4,_0x52e46a=_0x334519[_0x20c83d(0x229)]-0x1,_0x3f1452;_0x52e46a>=0x0;_0x52e46a--)(_0x3f1452=_0x334519[_0x52e46a])&&(_0xdff6cf=_0x3f1452(_0xdff6cf)||_0xdff6cf);return _0xdff6cf;},ie=(_0x48943b,_0x23a1f5)=>(_0x1f241d,_0x1844a7)=>_0x23a1f5(_0x1f241d,_0x1844a7,_0x48943b);let x=class extends a[_0x5db9f2(0x321)]{constructor(_0x4ede62,_0xd7b337,_0x23cf95){const _0x3393f2=_0x5db9f2;super(),h(this,_0x3393f2(0x1c6),new Map()),h(this,'_entityInit$',new d['Subject']()),(this[_0x3393f2(0x3d8)]=_0x4ede62,this[_0x3393f2(0x17d)]=_0xd7b337,this[_0x3393f2(0x2ab)]=_0x23cf95,this[_0x3393f2(0x16c)]());}[_0x5db9f2(0x25e)](){const _0x4bf06a=_0x5db9f2;super['dispose'](),this[_0x4bf06a(0x299)]['complete'](),this[_0x4bf06a(0x1c6)]['forEach'](_0x3e2d3b=>_0x3e2d3b[_0x4bf06a(0x25e)]());}[_0x5db9f2(0x216)](_0x51c8c4){const _0x175be5=_0x5db9f2;return this[_0x175be5(0x1c6)]['has'](_0x51c8c4)?this['_entities'][_0x175be5(0x1b2)](_0x51c8c4)[_0x175be5(0x32d)]:this[_0x175be5(0x299)][_0x175be5(0x37b)](d[_0x175be5(0x19e)](_0x35bfdd=>_0x35bfdd[_0x175be5(0x1dc)]===_0x51c8c4),d[_0x175be5(0x2ef)](_0x1a59ae=>_0x1a59ae[_0x175be5(0x32d)]));}[_0x5db9f2(0x16c)](){const _0x239e32=_0x5db9f2;this['_univerInstanceService'][_0x239e32(0x1e9)](a[_0x239e32(0x317)][_0x239e32(0x178)])['pipe'](d[_0x239e32(0x2a3)](this[_0x239e32(0x3c7)]))['subscribe'](async _0x177006=>{const _0x5bae1a=_0x239e32,_0x575d90=_0x177006[_0x5bae1a(0x312)](),_0x9115eb=await this[_0x5bae1a(0x2ae)](_0x575d90);this['_entityInit$']['next'](_0x9115eb),this[_0x5bae1a(0x1c6)][_0x5bae1a(0x335)](_0x575d90,_0x9115eb);}),this['_univerInstanceService'][_0x239e32(0x1e9)](a['UniverInstanceType'][_0x239e32(0x2c1)])[_0x239e32(0x37b)](d[_0x239e32(0x2a3)](this[_0x239e32(0x3c7)]))[_0x239e32(0x37b)](d[_0x239e32(0x19e)](_0x154817=>!_0x154817[_0x239e32(0x312)]()['startsWith']('__')))[_0x239e32(0x2dc)](async _0x5e3e0b=>{const _0x295ce2=_0x239e32,_0x308bed=_0x5e3e0b[_0x295ce2(0x312)](),_0x44cd6c=await this[_0x295ce2(0x355)](_0x308bed);this['_entityInit$'][_0x295ce2(0x1e5)](_0x44cd6c),this[_0x295ce2(0x1c6)]['set'](_0x308bed,_0x44cd6c);}),d[_0x239e32(0x347)](this[_0x239e32(0x3d8)][_0x239e32(0x274)](a[_0x239e32(0x317)][_0x239e32(0x2c1)]),this[_0x239e32(0x3d8)][_0x239e32(0x274)](a[_0x239e32(0x317)][_0x239e32(0x178)]))['pipe'](d['takeUntil'](this['dispose$']))['subscribe'](_0x342164=>{const _0x18a5be=_0x239e32,_0x52b94d=_0x342164[_0x18a5be(0x312)](),_0x3ce02b=this[_0x18a5be(0x1c6)][_0x18a5be(0x1b2)](_0x52b94d);_0x3ce02b&&(_0x3ce02b[_0x18a5be(0x25e)](),this[_0x18a5be(0x1c6)]['delete'](_0x52b94d));});}async[_0x5db9f2(0x2ae)](_0x289fed){const _0x3d2cdb=_0x5db9f2,_0x11b516=await this[_0x3d2cdb(0x2ab)][_0x3d2cdb(0x318)](_0x289fed),_0x36d6b0=this[_0x3d2cdb(0x17d)][_0x3d2cdb(0x28f)](Se,_0x289fed,_0x11b516);return _0x36d6b0[_0x3d2cdb(0x254)](),_0x36d6b0;}async['_startDocCollabCursor'](_0x48fb91){const _0x171707=_0x5db9f2,_0x17bfcf=await this['_collabSessionService'][_0x171707(0x318)](_0x48fb91),_0x349903=this[_0x171707(0x17d)][_0x171707(0x28f)](fe,_0x48fb91,_0x17bfcf);return _0x349903['init'](),_0x349903;}};x=ct([ie(0x0,a[_0x5db9f2(0x24f)]),ie(0x1,a[_0x5db9f2(0x319)](a[_0x5db9f2(0x204)])),ie(0x2,a[_0x5db9f2(0x319)](u[_0x5db9f2(0x376)]))],x);const q=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x4617f6,_0x49a73f){const _0x2d18e7=_0x5db9f2;let {radius:_0x5545b9,width:_0x163d3e,height:_0x195018}=_0x49a73f;_0x5545b9=_0x5545b9!=null?_0x5545b9:0x0,_0x163d3e=_0x163d3e!=null?_0x163d3e:0x1e,_0x195018=_0x195018!=null?_0x195018:0x1e;let _0xa72bfd=0x0,_0x4071b9=0x0,_0x3b5ae9=0x0;_0xa72bfd=_0x4071b9=_0x3b5ae9=Math[_0x2d18e7(0x3d7)](_0x5545b9,_0x163d3e/0x2,_0x195018/0x2),_0x4617f6[_0x2d18e7(0x28c)](),_0x4617f6[_0x2d18e7(0x393)](_0xa72bfd,0x0),_0x4617f6[_0x2d18e7(0x1c4)](_0x163d3e-_0x4071b9,0x0),_0x4617f6[_0x2d18e7(0x32b)](_0x163d3e-_0x4071b9,_0x4071b9,_0x4071b9,Math['PI']*0x3/0x2,0x0,!0x1),_0x4617f6[_0x2d18e7(0x1c4)](_0x163d3e,_0x195018-_0x3b5ae9),_0x4617f6[_0x2d18e7(0x32b)](_0x163d3e-_0x3b5ae9,_0x195018-_0x3b5ae9,_0x3b5ae9,0x0,Math['PI']/0x2,!0x1),_0x4617f6[_0x2d18e7(0x1c4)](0x0,_0x195018),_0x4617f6[_0x2d18e7(0x1c4)](0x0,_0xa72bfd),_0x4617f6[_0x2d18e7(0x32b)](_0xa72bfd,_0xa72bfd,_0xa72bfd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4617f6[_0x2d18e7(0x29a)](),_0x49a73f[_0x2d18e7(0x294)]&&(_0x4617f6[_0x2d18e7(0x1f6)](),_0x4617f6[_0x2d18e7(0x381)]=_0x49a73f[_0x2d18e7(0x294)],_0x49a73f['fillRule']===_0x2d18e7(0x313)?_0x4617f6[_0x2d18e7(0x294)](_0x2d18e7(0x313)):_0x4617f6[_0x2d18e7(0x294)](),_0x4617f6['restore']());}class ee extends p['Shape']{constructor(_0x205322,_0x565650){const _0x442005=_0x5db9f2;super(_0x205322,_0x565650),h(this,'color'),h(this,_0x442005(0x245)),(this['color']=_0x565650==null?void 0x0:_0x565650[_0x442005(0x28e)],this[_0x442005(0x245)]=_0x565650==null?void 0x0:_0x565650[_0x442005(0x245)]);}static[_0x5db9f2(0x30f)](_0x30f2e9,_0x42476f){const _0x35dc3b=_0x5db9f2,{text:_0x524269,color:_0xae5690}=_0x42476f;_0x30f2e9[_0x35dc3b(0x1f6)](),_0x30f2e9[_0x35dc3b(0x2b4)]=_0x35dc3b(0x2f9);const _0x1a44c4=_0x30f2e9[_0x35dc3b(0x2fb)](_0x524269)[_0x35dc3b(0x197)],_0x528455=Math[_0x35dc3b(0x3d7)](_0x1a44c4+0x2*ne,Re);_t(_0x30f2e9,{'height':q,'radius':0x4,'width':_0x528455,'fill':_0xae5690}),_0x30f2e9['fillStyle']='#FFF';const _0x333338=ne,_0x266d3b=q-lt,_0x3263c8=Re-0x2*ne;if(_0x1a44c4>_0x3263c8){let _0x14701e='',_0x173e2b=0x0;for(const _0x27ac5b of _0x524269){const _0xab5da8=_0x30f2e9[_0x35dc3b(0x2fb)](_0x27ac5b)[_0x35dc3b(0x197)];if(_0x173e2b+_0xab5da8<=_0x3263c8-_0x30f2e9[_0x35dc3b(0x2fb)](_0x35dc3b(0x279))[_0x35dc3b(0x197)])_0x14701e+=_0x27ac5b,_0x173e2b+=_0xab5da8;else{_0x14701e+=_0x35dc3b(0x279);break;}}_0x30f2e9[_0x35dc3b(0x19b)](_0x14701e,_0x333338,_0x266d3b);}else _0x30f2e9['fillText'](_0x524269,_0x333338,_0x266d3b);_0x30f2e9[_0x35dc3b(0x38f)]();}['_draw'](_0x1c838b){const _0x3a960c=_0x5db9f2;ee[_0x3a960c(0x30f)](_0x1c838b,this);}}const re=_0x5db9f2(0x30e),ht=_0x5db9f2(0x21f),ut=_0x5db9f2(0x37c),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x5db9f2(0x18f);class De{constructor(_0x21d3f4,_0x3f3648,_0x3ba1f6,_0x592de5){const _0x5c8e02=_0x5db9f2;h(this,_0x5c8e02(0x2f0),[]),h(this,_0x5c8e02(0x233),null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,_0x5c8e02(0x281),null),h(this,_0x5c8e02(0x173),null),(this[_0x5c8e02(0x2ff)]=_0x21d3f4,this[_0x5c8e02(0x32e)]=_0x3f3648,this[_0x5c8e02(0x336)]=_0x3ba1f6,this['_document']=_0x592de5,this[_0x5c8e02(0x2a5)]());}set[_0x5db9f2(0x182)](_0x3969cc){const _0x2fe18b=_0x5db9f2;_0x3969cc?(this[_0x2fe18b(0x34d)]&&this[_0x2fe18b(0x34d)]['hide'](),this[_0x2fe18b(0x395)]&&this[_0x2fe18b(0x395)][_0x2fe18b(0x1a0)]()):(this[_0x2fe18b(0x34d)]&&this[_0x2fe18b(0x34d)][_0x2fe18b(0x1a0)](),this[_0x2fe18b(0x395)]&&this[_0x2fe18b(0x395)][_0x2fe18b(0x196)]());}[_0x5db9f2(0x25e)](){const _0x1fcb90=_0x5db9f2;for(const _0x4f3116 of this[_0x1fcb90(0x2f0)])_0x4f3116[_0x1fcb90(0x25e)]();this[_0x1fcb90(0x395)]&&this['_textBubble'][_0x1fcb90(0x25e)](),this[_0x1fcb90(0x34d)]&&this['_anchorDot'][_0x1fcb90(0x25e)](),this['_anchor']&&this[_0x1fcb90(0x233)][_0x1fcb90(0x25e)](),this[_0x1fcb90(0x173)]&&this[_0x1fcb90(0x173)]();}[_0x5db9f2(0x2a5)](){const _0x3067c1=_0x5db9f2;var _0x995887;const {_docSkeleton:_0xb8ca61,_document:_0x10930d}=this,{color:_0x55792e,name:_0x40376e,ranges:_0x19e5f9}=this[_0x3067c1(0x2ff)],_0x504f07=_0x10930d[_0x3067c1(0x337)](),{docsLeft:_0x1e847f,docsTop:_0x5097ab}=_0x504f07,_0x3f0200=new b[(_0x3067c1(0x3e5))](_0x504f07,_0xb8ca61);for(const {startOffset:_0x2613ee,endOffset:_0x575767,rangeType:_0x2a8dbc,segmentId:_0x24ebb8,segmentPage:_0x2c3717,collapsed:_0x2a4362,isActive:_0x11cdd2}of _0x19e5f9){const _0x31d9b7=_0xb8ca61[_0x3067c1(0x33a)](_0x2613ee,!0x0,_0x24ebb8,_0x2c3717);let _0x581abd=_0xb8ca61['findNodePositionByCharIndex'](_0x575767,!0x0,_0x24ebb8,_0x2c3717);if(_0x581abd==null&&(_0x581abd=_0xb8ca61[_0x3067c1(0x33a)](_0x575767-0x1,!0x1,_0x24ebb8,_0x2c3717)),_0x11cdd2){const {contentBoxPointGroup:_0x28f8fd}=_0x3f0200['getRangePointData'](_0x581abd,_0x581abd);if(_0x28f8fd[_0x3067c1(0x229)]===0x0)continue;this[_0x3067c1(0x2a7)](_0x55792e,_0x28f8fd,_0x1e847f,_0x5097ab,_0x40376e),this[_0x3067c1(0x173)]=this[_0x3067c1(0x19a)]();}if(_0x31d9b7&&_0x581abd){if(_0x2a8dbc===a['DOC_RANGE_TYPE'][_0x3067c1(0x273)]){const _0x482dac=new b['NodePositionConvertToRectRange'](_0x504f07,_0xb8ca61),{pointGroup:_0x2e64b0}=(_0x995887=_0x482dac[_0x3067c1(0x249)](_0x31d9b7,_0x581abd))!=null?_0x995887:{};if(_0x2e64b0==null||_0x2e64b0[_0x3067c1(0x229)]===0x0)continue;this[_0x3067c1(0x3d0)](_0x55792e,_0x2e64b0,_0x1e847f,_0x5097ab);}else{if(!_0x2a4362){const {borderBoxPointGroup:_0x39c5c7}=_0x3f0200['getRangePointData'](_0x31d9b7,_0x581abd);if(_0x39c5c7['length']===0x0)continue;this[_0x3067c1(0x208)](_0x55792e,_0x39c5c7,_0x1e847f,_0x5097ab);}}}}}[_0x5db9f2(0x2a7)](_0x255fb9,_0x2c1700,_0x3dc228,_0x354b00,_0x1b5643){const _0x533d54=_0x5db9f2,_0x56de1d=this['_getAnchorBounding'](_0x2c1700),{left:_0xdd4f2a,top:_0x25b104,height:_0x157b22}=_0x56de1d,_0x384f21=this[_0x533d54(0x17f)](),_0x83b57e=ft/_0x384f21,_0x2c2602=new p[(_0x533d54(0x1ee))](re+a[_0x533d54(0x1cf)][_0x533d54(0x202)](k),{'left':_0xdd4f2a+_0x3dc228-_0x83b57e,'top':_0x25b104+_0x354b00,'height':_0x157b22,'width':dt,'fill':_0x255fb9||p[_0x533d54(0x3e7)](a['COLORS'][_0x533d54(0x222)],0x0),'strokeWidth':_0x83b57e,'stroke':St,'evented':!0x0});this[_0x533d54(0x233)]=_0x2c2602,this[_0x533d54(0x32e)]['addObject'](_0x2c2602,b[_0x533d54(0x332)]);const _0x1426ce=new p['Rect'](re+a[_0x533d54(0x1cf)][_0x533d54(0x202)](k),{'left':_0xdd4f2a+_0x3dc228-_0x83b57e,'top':_0x25b104+_0x354b00-oe/0x2,'height':oe,'width':oe,'fill':_0x255fb9||p[_0x533d54(0x3e7)](a[_0x533d54(0x256)][_0x533d54(0x222)],0x0),'strokeWidth':0x0,'stroke':_0x255fb9||p[_0x533d54(0x3e7)](a['COLORS'][_0x533d54(0x222)],0x0),'evented':!0x1});this[_0x533d54(0x34d)]=_0x1426ce,this[_0x533d54(0x32e)][_0x533d54(0x346)](_0x1426ce,b[_0x533d54(0x332)]);const _0x1dcbf4=new ee(re+a[_0x533d54(0x1cf)]['generateRandomId'](k),{'left':_0xdd4f2a+_0x3dc228-_0x83b57e,'top':_0x25b104+_0x354b00-q,'text':_0x1b5643,'color':_0x255fb9});this[_0x533d54(0x395)]=_0x1dcbf4,this[_0x533d54(0x32e)][_0x533d54(0x346)](_0x1dcbf4,b[_0x533d54(0x332)]),this[_0x533d54(0x182)]=!0x1;}['_handleHover'](){const _0x3251ba=_0x5db9f2,_0x3cf58a=this[_0x3251ba(0x233)][_0x3251ba(0x1bc)][_0x3251ba(0x354)](()=>{const _0x5987ca=_0x3251ba;this[_0x5987ca(0x182)]=!0x0;}),_0x372112=this[_0x3251ba(0x233)][_0x3251ba(0x2ea)][_0x3251ba(0x354)](()=>{const _0x23da77=_0x3251ba;this['_hideTimer']&&clearTimeout(this[_0x23da77(0x281)]),this[_0x23da77(0x281)]=setTimeout(()=>{const _0x47121f=_0x23da77;this[_0x47121f(0x182)]=!0x1;},0x7d0);});return()=>{const _0x20f827=_0x3251ba;_0x3cf58a[_0x20f827(0x268)](),_0x372112[_0x20f827(0x268)]();};}[_0x5db9f2(0x208)](_0x262db6,_0xe33d49,_0x4f0567,_0x18853b){const _0x3db880=_0x5db9f2,_0x2f214e=new a[(_0x3db880(0x305))](_0x262db6)[_0x3db880(0x368)](0.2)['toRgbString'](),_0xc41697=new p[(_0x3db880(0x29b))](ht+a[_0x3db880(0x1cf)]['generateRandomId'](k),{'pointsGroup':_0xe33d49,'fill':_0x2f214e||p[_0x3db880(0x3e7)](a[_0x3db880(0x256)][_0x3db880(0x222)],0.2),'left':_0x4f0567,'top':_0x18853b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3db880(0x2f0)][_0x3db880(0x1e0)](_0xc41697),this[_0x3db880(0x32e)]['addObject'](_0xc41697,b[_0x3db880(0x332)]);}['_drawRectRange'](_0x17db64,_0x3d5e4b,_0x57a24f,_0x560ece){const _0x2bc9e9=_0x5db9f2,_0x3d52d8=new a[(_0x2bc9e9(0x305))](_0x17db64)['setAlpha'](0.2)[_0x2bc9e9(0x327)](),_0x13d270=new p[(_0x2bc9e9(0x29b))](ut+a[_0x2bc9e9(0x1cf)][_0x2bc9e9(0x202)](k),{'pointsGroup':_0x3d5e4b,'fill':_0x3d52d8||p['getColor'](a[_0x2bc9e9(0x256)][_0x2bc9e9(0x222)],0.2),'left':_0x57a24f,'top':_0x560ece,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2bc9e9(0x2f0)][_0x2bc9e9(0x1e0)](_0x13d270),this[_0x2bc9e9(0x32e)][_0x2bc9e9(0x346)](_0x13d270,b[_0x2bc9e9(0x332)]);}['_getAnchorBounding'](_0x4ba4a5){const _0x501cc8=_0x4ba4a5[0x0],_0x14efdc=_0x501cc8[0x0],_0x7c16ae=_0x501cc8[0x2],{x:_0x5b6ac6,y:_0x326871}=_0x14efdc,{x:_0x529309,y:_0x236673}=_0x7c16ae;return{'left':_0x5b6ac6,'top':_0x326871,'width':_0x529309-_0x5b6ac6,'height':_0x236673-_0x326871};}[_0x5db9f2(0x17f)](){const _0x30ce5c=_0x5db9f2,{scaleX:_0x2331f9,scaleY:_0x4f4b4c}=this[_0x30ce5c(0x32e)][_0x30ce5c(0x239)]();return Math[_0x30ce5c(0x31c)](_0x2331f9,_0x4f4b4c);}}var It=Object['getOwnPropertyDescriptor'],vt=(_0x521ea9,_0x2c22fc,_0x47efc2,_0x4b5194)=>{const _0x58290a=_0x5db9f2;for(var _0x3409a1=_0x4b5194>0x1?void 0x0:_0x4b5194?It(_0x2c22fc,_0x47efc2):_0x2c22fc,_0x36a846=_0x521ea9[_0x58290a(0x229)]-0x1,_0x1870ce;_0x36a846>=0x0;_0x36a846--)(_0x1870ce=_0x521ea9[_0x36a846])&&(_0x3409a1=_0x1870ce(_0x3409a1)||_0x3409a1);return _0x3409a1;},Y=(_0x70a9c0,_0x3ee978)=>(_0x3bbd41,_0x2c21ec)=>_0x3ee978(_0x3bbd41,_0x2c21ec,_0x70a9c0);let Ie=class extends a['RxDisposable']{constructor(_0x207ae4,_0x1c09ca,_0x515183,_0x15d34b,_0x278ad7){const _0x40cf75=_0x5db9f2;super(),h(this,'_cursorShapes',[]),h(this,_0x40cf75(0x1b8),[]),(this[_0x40cf75(0x353)]=_0x207ae4,this[_0x40cf75(0x207)]=_0x1c09ca,this[_0x40cf75(0x30c)]=_0x515183,this[_0x40cf75(0x1fe)]=_0x15d34b,this[_0x40cf75(0x2b8)]=_0x278ad7,this[_0x40cf75(0x16c)]());}[_0x5db9f2(0x16c)](){const _0x2e7d60=_0x5db9f2,_0x3c9a9e=this[_0x2e7d60(0x353)][_0x2e7d60(0x1bd)],_0xb0a3c0=this[_0x2e7d60(0x207)];this['disposeWithMe'](d[_0x2e7d60(0x258)]([this['_collabCursorController'][_0x2e7d60(0x216)](_0x3c9a9e),this[_0x2e7d60(0x2b8)][_0x2e7d60(0x1f2)]])[_0x2e7d60(0x37b)]($[_0x2e7d60(0x230)](([_0xc1d44d,_0x4fc0c3])=>({'skeleton':_0xb0a3c0[_0x2e7d60(0x29e)](),'cursors':[..._0xc1d44d[_0x2e7d60(0x308)]()]['flatMap'](_0x20b66e=>({..._0x20b66e,'color':_0x4fc0c3[_0x20b66e[_0x2e7d60(0x28e)]]}))})))[_0x2e7d60(0x2dc)](_0x259fef=>{const _0x5acae6=_0x2e7d60;if(this[_0x5acae6(0x36c)](),_0x259fef){const {skeleton:_0xbbcb30,cursors:_0x1e12be}=_0x259fef;this['_updateCollabCursors'](_0xbbcb30,_0x1e12be);}})),this['_initResize'](),this[_0x2e7d60(0x34e)]();}[_0x5db9f2(0x19d)](_0x308b11,_0x1de079){const _0x4d69ff=_0x5db9f2,{scene:_0x4fb621,mainComponent:_0x570382}=this[_0x4d69ff(0x353)],_0x3465b5=_0x1de079[_0x4d69ff(0x230)](_0x5e98e6=>new De(_0x5e98e6,_0x4fb621,_0x308b11,_0x570382));this[_0x4d69ff(0x307)]=_0x3465b5,this[_0x4d69ff(0x1b8)]=_0x1de079;}['_refreshCollabCursors'](){const _0x47243c=_0x5db9f2;this['_removeCollabCursors']();const {scene:_0x37716c,mainComponent:_0x304159}=this[_0x47243c(0x353)],_0x2e4c6c=this[_0x47243c(0x207)]['getSkeleton'](),_0x551a14=this['_cursors'][_0x47243c(0x230)](_0x250f94=>new De(_0x250f94,_0x37716c,_0x2e4c6c,_0x304159));this[_0x47243c(0x307)]=_0x551a14;}[_0x5db9f2(0x36c)](){const _0x5e47eb=_0x5db9f2;this[_0x5e47eb(0x307)][_0x5e47eb(0x39e)](_0x4fa33a=>_0x4fa33a[_0x5e47eb(0x25e)]()),this[_0x5e47eb(0x307)]=[];}[_0x5db9f2(0x34e)](){const _0x1b0e69=_0x5db9f2,_0x29757b=[b[_0x1b0e69(0x3d2)]['id']];this[_0x1b0e69(0x2a4)](this[_0x1b0e69(0x1fe)]['onCommandExecuted'](_0x5e3af5=>{const _0x304191=_0x1b0e69;_0x29757b[_0x304191(0x1d8)](_0x5e3af5['id'])&&_0x5e3af5[_0x304191(0x33e)]['unitId']===this[_0x304191(0x353)][_0x304191(0x1bd)]&&this['_refreshCollabCursors']();}));}[_0x5db9f2(0x2aa)](){const _0x53bd83=_0x5db9f2;this[_0x53bd83(0x2a4)](a[_0x53bd83(0x16d)](this[_0x53bd83(0x353)][_0x53bd83(0x2ee)][_0x53bd83(0x3da)])[_0x53bd83(0x37b)]($[_0x53bd83(0x19e)](_0x305b06=>_0x305b06['type']===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),$[_0x53bd83(0x242)](0x10))[_0x53bd83(0x2dc)](()=>{const _0x1e0857=_0x53bd83;this[_0x1e0857(0x345)]();}));}};Ie=vt([Y(0x1,a[_0x5db9f2(0x319)](W[_0x5db9f2(0x358)])),Y(0x2,a[_0x5db9f2(0x319)](x)),Y(0x3,a[_0x5db9f2(0x3b8)]),Y(0x4,a[_0x5db9f2(0x319)](a[_0x5db9f2(0x27d)]))],Ie);const gt=0x1,mt=1.5;class we extends p[_0x5db9f2(0x2f2)]{constructor(_0x537571,_0x299540){const _0x32fe5c=_0x5db9f2;super(_0x537571,_0x299540),h(this,'_color'),h(this,_0x32fe5c(0x3c3),!0x1),h(this,'_range'),h(this,'_name',''),h(this,_0x32fe5c(0x221),_0x32fe5c(0x22e)),h(this,_0x32fe5c(0x1e1)),(_0x299540&&this[_0x32fe5c(0x324)](_0x299540),this['onPointerEnter$'][_0x32fe5c(0x354)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x32fe5c(0x2ea)][_0x32fe5c(0x354)](()=>this[_0x32fe5c(0x324)]({'hovered':!0x1})));}[_0x5db9f2(0x324)](_0x3e324f){const _0xa34560=_0x5db9f2;var _0x58c1ce,_0x28a41d,_0x3eb6ab,_0x41b4e1,_0x5dfc4e,_0x4e3ebc;this[_0xa34560(0x1bb)]=(_0x58c1ce=_0x3e324f[_0xa34560(0x28e)])!=null?_0x58c1ce:this[_0xa34560(0x1bb)],this[_0xa34560(0x3c3)]=(_0x28a41d=_0x3e324f[_0xa34560(0x1f4)])!=null?_0x28a41d:this[_0xa34560(0x3c3)],this['_range']=(_0x3eb6ab=_0x3e324f[_0xa34560(0x1ba)])!=null?_0x3eb6ab:this[_0xa34560(0x1e6)],this['_name']=(_0x41b4e1=_0x3e324f[_0xa34560(0x2a0)])!=null?_0x41b4e1:this[_0xa34560(0x265)],this[_0xa34560(0x221)]=(_0x5dfc4e=_0x3e324f['labelPosition'])!=null?_0x5dfc4e:this[_0xa34560(0x221)],this[_0xa34560(0x1e1)]=(_0x4e3ebc=_0x3e324f[_0xa34560(0x21b)])!=null?_0x4e3ebc:this[_0xa34560(0x1e1)],this['transformByState']({'width':_0x3e324f[_0xa34560(0x197)],'height':_0x3e324f[_0xa34560(0x1ed)]});}[_0x5db9f2(0x362)](_0x5a0d63){const _0xcefa42=_0x5db9f2,{row:_0x114efb,column:_0x35ff85}=_0x5a0d63;if(_0x114efb>=this[_0xcefa42(0x1e6)][_0xcefa42(0x2cb)]&&_0x114efb<=this[_0xcefa42(0x1e6)][_0xcefa42(0x325)]&&_0x35ff85>=this[_0xcefa42(0x1e6)][_0xcefa42(0x31b)]&&_0x35ff85<=this[_0xcefa42(0x1e6)]['endColumn']){this[_0xcefa42(0x324)]({'hovered':!0x0});return;}this[_0xcefa42(0x324)]({'hovered':!0x1});}['triggerDblclick'](_0xf8e650){return!0x1;}[_0x5db9f2(0x3ec)](_0x522b88){const _0x206f34=_0x5db9f2;p[_0x206f34(0x1ee)]['drawWith'](_0x522b88,{'width':this[_0x206f34(0x197)],'height':this[_0x206f34(0x1ed)],'strokeWidth':mt,'stroke':this[_0x206f34(0x1bb)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x522b88[_0x206f34(0x1f6)](),_0x522b88[_0x206f34(0x1f0)](0x1,0x0,0x0,0x1,this[_0x206f34(0x197)],this['_labelPosition']===_0x206f34(0x199)?0x0:-0x14),ee[_0x206f34(0x30f)](_0x522b88,{'text':this['_name'],'color':this[_0x206f34(0x1bb)]}),_0x522b88[_0x206f34(0x38f)]());}}var Ct=Object['getOwnPropertyDescriptor'],pt=(_0x3347dd,_0x2008c1,_0x102ba9,_0x51ca5a)=>{const _0x408990=_0x5db9f2;for(var _0x4923c0=_0x51ca5a>0x1?void 0x0:_0x51ca5a?Ct(_0x2008c1,_0x102ba9):_0x2008c1,_0x28e1be=_0x3347dd[_0x408990(0x229)]-0x1,_0x5d7080;_0x28e1be>=0x0;_0x28e1be--)(_0x5d7080=_0x3347dd[_0x28e1be])&&(_0x4923c0=_0x5d7080(_0x4923c0)||_0x4923c0);return _0x4923c0;},ae=(_0x5de49a,_0x39d208)=>(_0x43d818,_0x51295d)=>_0x39d208(_0x43d818,_0x51295d,_0x5de49a);const bt=0x1389;let ve=class extends a[_0x5db9f2(0x321)]{constructor(_0x5e8e97,_0x443c10,_0x2663be,_0x4798a1){const _0x26d606=_0x5db9f2;super(),h(this,_0x26d606(0x1b8),new Set()),h(this,'_lastPointer',null),(this[_0x26d606(0x353)]=_0x5e8e97,this['_sheetSkeletonManagerService']=_0x443c10,this[_0x26d606(0x30c)]=_0x2663be,this[_0x26d606(0x2b8)]=_0x4798a1,this[_0x26d606(0x16c)]());}[_0x5db9f2(0x16c)](){const _0x2b466a=_0x5db9f2;this['_sheetSkeletonManagerService'][_0x2b466a(0x20d)][_0x2b466a(0x37b)]($[_0x2b466a(0x2a3)](this[_0x2b466a(0x3c7)]),$['switchMap'](_0x13393d=>{const _0x1cb2f6=_0x2b466a;if(_0x13393d){const _0x58151c=_0x13393d[_0x1cb2f6(0x38d)];return d[_0x1cb2f6(0x258)](this[_0x1cb2f6(0x30c)]['getCollabCursors$'](this[_0x1cb2f6(0x353)]['unitId']),this[_0x1cb2f6(0x2b8)][_0x1cb2f6(0x1f2)])['pipe']($[_0x1cb2f6(0x230)](([_0x447485,_0x1acefc])=>{const _0x17b8af=_0x1cb2f6,_0x3847c3=new Map();return _0x447485[_0x17b8af(0x39e)]((_0x5b70ec,_0x531cba)=>{const _0x18668c=_0x17b8af;if(_0x5b70ec[_0x18668c(0x255)]===_0x58151c){const _0x473a0f={..._0x5b70ec};_0x473a0f[_0x18668c(0x28e)]=_0x1acefc[_0x5b70ec['color']],_0x3847c3[_0x18668c(0x335)](_0x531cba,_0x473a0f);}}),{'skeleton':_0x13393d,'cursors':_0x3847c3};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x2b466a(0x2dc)](({skeleton:_0x1e3edb,cursors:_0x418230})=>{const _0x1dc906=_0x2b466a;this[_0x1dc906(0x36c)](),_0x1e3edb&&this[_0x1dc906(0x19d)](_0x1e3edb,_0x418230);}),this[_0x2b466a(0x387)][_0x2b466a(0x20d)]['subscribe'](_0x2fad0b=>{const _0x505ced=_0x2b466a;if(_0x2fad0b==null)return;const {skeleton:_0x5c0802}=_0x2fad0b,{scene:_0x19965d}=this[_0x505ced(0x353)];_0x19965d[_0x505ced(0x232)][_0x505ced(0x354)](a['debounce'](_0x12e00e=>{const _0x5e2183=_0x505ced;var _0x33031a,_0x50a6f2;const {offsetX:_0x516238,offsetY:_0xc0f9b7}=_0x12e00e,{x:_0x3bf9e6,y:_0xad0a29}=_0x19965d[_0x5e2183(0x3b0)](p[_0x5e2183(0x31d)][_0x5e2183(0x3b6)]([_0x516238,_0xc0f9b7])),{scaleX:_0x4c0e25,scaleY:_0x2ed7a6}=_0x19965d[_0x5e2183(0x239)](),_0x283be3=_0x19965d['getViewport'](p['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x580f84=_0x19965d[_0x5e2183(0x276)](p[_0x5e2183(0x31d)]['FromArray']([_0x3bf9e6,_0xad0a29]),_0x283be3),_0x398b13=_0x5c0802['getCellPositionByOffset'](_0x516238,_0xc0f9b7,_0x4c0e25,_0x2ed7a6,_0x580f84);((_0x33031a=this[_0x5e2183(0x17c)])==null?void 0x0:_0x33031a[_0x5e2183(0x1a7)])===_0x398b13[_0x5e2183(0x1a7)]&&((_0x50a6f2=this[_0x5e2183(0x17c)])==null?void 0x0:_0x50a6f2[_0x5e2183(0x39f)])===_0x398b13['row']||this['_cursors'][_0x5e2183(0x39e)](_0xe14f83=>{const _0x2ece76=_0x5e2183;_0xe14f83[_0x2ece76(0x362)](_0x398b13);});},0x64));});}[_0x5db9f2(0x19d)](_0x59e9fe,_0x436aa6){const _0x1327fb=_0x5db9f2;var _0x4907b3;const _0x5476cb=(_0x4907b3=this[_0x1327fb(0x387)][_0x1327fb(0x24a)]())==null?void 0x0:_0x4907b3[_0x1327fb(0x375)];if(!_0x5476cb)return;const _0x82e491=this['_getSheetObject']();if(!_0x82e491)return;this[_0x1327fb(0x1b8)][_0x1327fb(0x39e)](_0x5d395a=>{const _0x3e90b0=_0x1327fb;_0x5d395a[_0x3e90b0(0x272)]();});const {scene:_0x1e93e5}=_0x82e491,_0x2f314c=Et(Array[_0x1327fb(0x3d6)](_0x436aa6['values']()))[_0x1327fb(0x230)](_0x408b58=>{const _0x40696a=_0x1327fb,{color:_0x414839,range:_0x2144e0,name:_0xc0379b,selection:_0x10e77f,sheetID:_0x7ad0ac}=_0x408b58,{startColumn:_0x559951,startRow:_0x33b74b,endColumn:_0x54ec43,endRow:_0x3c75a2}=_0x2144e0,_0x4b2d80=X[_0x40696a(0x37d)](_0x33b74b,_0x559951,_0x1e93e5,_0x5476cb),_0x295cdc=X[_0x40696a(0x37d)](_0x3c75a2,_0x54ec43,_0x1e93e5,_0x5476cb),{columnHeaderHeightAndMarginTop:_0x38af5a}=_0x5476cb,{startX:_0x437002,startY:_0x176df8}=_0x4b2d80,{endX:_0x1e5d0f,endY:_0x629ef7}=_0x295cdc,_0x2b081c=_0x1e5d0f-_0x437002,_0x10c66b=_0x629ef7-_0x176df8,_0xf60a49={'labelPosition':_0x176df8-_0x38af5a>=q?_0x40696a(0x22e):_0x40696a(0x199),'sheetID':_0x7ad0ac,'range':_0x2144e0,'color':_0x414839,'name':_0xc0379b,'selection':_0x10e77f,'left':_0x437002,'top':_0x176df8,'width':_0x2b081c,'height':_0x10c66b,'evented':!0x1,'zIndex':bt};return new we(_0xc0379b,_0xf60a49);});_0x1e93e5['addObjects'](_0x2f314c,gt),this[_0x1327fb(0x1b8)]=new Set(_0x2f314c);}['_removeCollabCursors'](){const _0x4e509b=_0x5db9f2;var _0x1ae377;(_0x1ae377=this['_cursors'])==null||_0x1ae377[_0x4e509b(0x39e)](_0xd5d4f7=>_0xd5d4f7['dispose']());}[_0x5db9f2(0x24d)](){const _0x196c5=_0x5db9f2;return X[_0x196c5(0x3cf)](this[_0x196c5(0x353)][_0x196c5(0x2e3)],this[_0x196c5(0x353)]);}};ve=pt([ae(0x1,a[_0x5db9f2(0x319)](X[_0x5db9f2(0x23f)])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0x5db9f2(0x319)](a['ThemeService']))],ve);function Et(_0x4eb6b0){const _0xdb0eb4=_0x5db9f2,_0xdd69d8=new Map();return _0x4eb6b0[_0xdb0eb4(0x39e)](_0x11abff=>{const _0x2522d3=_0xdb0eb4;if(_0xdd69d8[_0x2522d3(0x2a6)](_0x11abff[_0x2522d3(0x1c9)])){const _0x5adcd4=_0xdd69d8[_0x2522d3(0x1b2)](_0x11abff[_0x2522d3(0x1c9)]);_0x5adcd4[_0x2522d3(0x2a0)]+=',\x20'+_0x11abff[_0x2522d3(0x2a0)];}else _0xdd69d8[_0x2522d3(0x335)](_0x11abff[_0x2522d3(0x1c9)],_0x11abff);}),Array[_0xdb0eb4(0x3d6)](_0xdd69d8[_0xdb0eb4(0x308)]());}var E=function(){const _0x4e85b8=_0x5db9f2;return E=Object[_0x4e85b8(0x334)]||function(_0x36a3a3){const _0x554fbd=_0x4e85b8;for(var _0x1950e4,_0x305d7c=0x1,_0x336c23=arguments[_0x554fbd(0x229)];_0x305d7c<_0x336c23;_0x305d7c++){_0x1950e4=arguments[_0x305d7c];for(var _0x5c0dd3 in _0x1950e4)Object['prototype']['hasOwnProperty'][_0x554fbd(0x2bf)](_0x1950e4,_0x5c0dd3)&&(_0x36a3a3[_0x5c0dd3]=_0x1950e4[_0x5c0dd3]);}return _0x36a3a3;},E[_0x4e85b8(0x304)](this,arguments);},Tt=function(_0x2afe3d,_0x58d00d){const _0x24d079=_0x5db9f2;var _0x10326a={};for(var _0x5bcf5a in _0x2afe3d)Object['prototype'][_0x24d079(0x210)][_0x24d079(0x2bf)](_0x2afe3d,_0x5bcf5a)&&_0x58d00d[_0x24d079(0x339)](_0x5bcf5a)<0x0&&(_0x10326a[_0x5bcf5a]=_0x2afe3d[_0x5bcf5a]);if(_0x2afe3d!=null&&typeof Object['getOwnPropertySymbols']==_0x24d079(0x174)){for(var _0x2fba65=0x0,_0x5bcf5a=Object[_0x24d079(0x3c8)](_0x2afe3d);_0x2fba65<_0x5bcf5a['length'];_0x2fba65++)_0x58d00d[_0x24d079(0x339)](_0x5bcf5a[_0x2fba65])<0x0&&Object[_0x24d079(0x27e)][_0x24d079(0x3e3)][_0x24d079(0x2bf)](_0x2afe3d,_0x5bcf5a[_0x2fba65])&&(_0x10326a[_0x5bcf5a[_0x2fba65]]=_0x2afe3d[_0x5bcf5a[_0x2fba65]]);}return _0x10326a;},pe=M[_0x5db9f2(0x2dd)](function(_0x33c756,_0x9a9577){const _0x5b9600=_0x5db9f2;var _0x149d49=_0x33c756[_0x5b9600(0x363)],_0x2dbf01=_0x33c756['id'],_0x2a5eed=_0x33c756[_0x5b9600(0x28b)],_0x4d1e4a=_0x33c756[_0x5b9600(0x186)],_0x573046=Tt(_0x33c756,[_0x5b9600(0x363),'id',_0x5b9600(0x28b),_0x5b9600(0x186)]),_0x3dc1f1=_0x5b9600(0x2e8)[_0x5b9600(0x293)](_0x2dbf01,'\x20')['concat'](_0x2a5eed||'')[_0x5b9600(0x2f8)](),_0x163df4=M[_0x5b9600(0x20c)]('_'[_0x5b9600(0x293)](Dt()));return Ae(_0x149d49,''[_0x5b9600(0x293)](_0x2dbf01),{'defIds':_0x149d49[_0x5b9600(0x1a3)],'idSuffix':_0x163df4[_0x5b9600(0x3d9)]},E({'ref':_0x9a9577,'className':_0x3dc1f1},_0x573046),_0x4d1e4a);});function Ae(_0x41592e,_0x4d22cd,_0x2b0b05,_0x593ebe,_0x106aa5){const _0x2e97a3=_0x5db9f2;return M[_0x2e97a3(0x2ce)](_0x41592e['tag'],E(E({'key':_0x4d22cd},Ot(_0x41592e,_0x2b0b05,_0x106aa5)),_0x593ebe),(Rt(_0x41592e,_0x2b0b05)[_0x2e97a3(0x36b)]||[])[_0x2e97a3(0x230)](function(_0x592fdb,_0x599ef8){const _0x5807a3=_0x2e97a3;return Ae(_0x592fdb,''[_0x5807a3(0x293)](_0x4d22cd,'-')[_0x5807a3(0x293)](_0x41592e[_0x5807a3(0x3e6)],'-')[_0x5807a3(0x293)](_0x599ef8),_0x2b0b05,void 0x0,_0x106aa5);}));}function Ot(_0x5408e6,_0x1da343,_0x253013){const _0x1c2d87=_0x5db9f2;var _0x21492e=E({},_0x5408e6[_0x1c2d87(0x231)]);_0x253013!=null&&_0x253013[_0x1c2d87(0x25c)]&&_0x21492e[_0x1c2d87(0x294)]===_0x1c2d87(0x25c)&&(_0x21492e[_0x1c2d87(0x294)]=_0x253013['colorChannel1']),_0x5408e6[_0x1c2d87(0x3e6)]===_0x1c2d87(0x260)&&_0x21492e['id']&&(_0x21492e['id']=_0x21492e['id']+_0x1da343[_0x1c2d87(0x394)]),Object[_0x1c2d87(0x31f)](_0x21492e)[_0x1c2d87(0x39e)](function(_0xd48a60){const _0x423823=_0x1c2d87;var _0x11f536=_0xd48a60[0x0],_0x1d20d2=_0xd48a60[0x1];_0x11f536==='mask'&&typeof _0x1d20d2==_0x423823(0x3b2)&&(_0x21492e[_0x11f536]=_0x1d20d2[_0x423823(0x22a)](/url\(#(.*)\)/,_0x423823(0x34f)[_0x423823(0x293)](_0x1da343[_0x423823(0x394)],')')));});var _0x86fd34=_0x1da343[_0x1c2d87(0x1a3)];return!_0x86fd34||_0x86fd34[_0x1c2d87(0x229)]===0x0||(_0x5408e6[_0x1c2d87(0x3e6)]===_0x1c2d87(0x1bf)&&_0x21492e[_0x1c2d87(0x349)]&&(_0x21492e[_0x1c2d87(0x349)]=_0x21492e[_0x1c2d87(0x349)]+_0x1da343['idSuffix']),Object[_0x1c2d87(0x31f)](_0x21492e)[_0x1c2d87(0x39e)](function(_0x28c59e){const _0x49db73=_0x1c2d87;var _0x3f39b3=_0x28c59e[0x0],_0x62843e=_0x28c59e[0x1];typeof _0x62843e=='string'&&(_0x21492e[_0x3f39b3]=_0x62843e['replace'](/url\(#(.*)\)/,_0x49db73(0x34f)[_0x49db73(0x293)](_0x1da343['idSuffix'],')')));})),_0x21492e;}function Rt(_0x17417d,_0x25a7b2){const _0x1255a5=_0x5db9f2;var _0x362390,_0x231004=_0x25a7b2['defIds'];return!_0x231004||_0x231004[_0x1255a5(0x229)]===0x0?_0x17417d:_0x17417d[_0x1255a5(0x3e6)]===_0x1255a5(0x228)&&(!((_0x362390=_0x17417d[_0x1255a5(0x36b)])===null||_0x362390===void 0x0)&&_0x362390[_0x1255a5(0x229)])?E(E({},_0x17417d),{'children':_0x17417d['children']['map'](function(_0x420331){const _0x54ff13=_0x1255a5;return typeof _0x420331['attrs']['id']==_0x54ff13(0x3b2)&&_0x231004&&_0x231004[_0x54ff13(0x339)](_0x420331[_0x54ff13(0x231)]['id'])>-0x1?E(E({},_0x420331),{'attrs':E(E({},_0x420331['attrs']),{'id':_0x420331[_0x54ff13(0x231)]['id']+_0x25a7b2['idSuffix']})}):_0x420331;})}):_0x17417d;}function Dt(){const _0x5e58d2=_0x5db9f2;return Math[_0x5e58d2(0x176)]()['toString'](0x24)[_0x5e58d2(0x170)](0x2,0x8);}function _0x5398(_0x1f2592,_0x21ac2b){const _0x19b5f7=_0x19b5();return _0x5398=function(_0x539849,_0x3349f6){_0x539849=_0x539849-0x16a;let _0x478bde=_0x19b5f7[_0x539849];return _0x478bde;},_0x5398(_0x1f2592,_0x21ac2b);}pe[_0x5db9f2(0x348)]=_0x5db9f2(0x235);var Ut={'tag':_0x5db9f2(0x38a),'attrs':{'fill':_0x5db9f2(0x36e),'viewBox':'0\x200\x2016\x2016','width':_0x5db9f2(0x193),'height':_0x5db9f2(0x193)},'children':[{'tag':'g','attrs':{'clipPath':_0x5db9f2(0x24b)},'children':[{'tag':'path','attrs':{'stroke':_0x5db9f2(0x2b3),'d':_0x5db9f2(0x1ab),'strokeLinecap':_0x5db9f2(0x1fc),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5db9f2(0x228),'attrs':{},'children':[{'tag':_0x5db9f2(0x26e),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x5db9f2(0x311),'attrs':{'fill':'#fff','d':_0x5db9f2(0x2b1)}}]}]}],'defIds':[_0x5db9f2(0x38e)]},ye=M[_0x5db9f2(0x2dd)](function(_0x20c731,_0x26a142){const _0x23e526=_0x5db9f2;return M[_0x23e526(0x2ce)](pe,Object[_0x23e526(0x334)]({},_0x20c731,{'id':'off-line-single','ref':_0x26a142,'icon':Ut}));});ye[_0x5db9f2(0x348)]=_0x5db9f2(0x217);var Nt={'tag':_0x5db9f2(0x38a),'attrs':{'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x5db9f2(0x193),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5db9f2(0x2d0)},'children':[{'tag':_0x5db9f2(0x311),'attrs':{'stroke':_0x5db9f2(0x2b3),'d':_0x5db9f2(0x3a5),'strokeLinecap':'round','strokeLinejoin':_0x5db9f2(0x1fc),'strokeWidth':1.2}}]},{'tag':_0x5db9f2(0x228),'attrs':{},'children':[{'tag':_0x5db9f2(0x26e),'attrs':{'id':_0x5db9f2(0x1fb)},'children':[{'tag':_0x5db9f2(0x311),'attrs':{'fill':_0x5db9f2(0x2c9),'d':'M0\x200H16V16H0z','transform':_0x5db9f2(0x1f5)}}]}]}],'defIds':['on-line-single_clip0_910_349']},$e=M[_0x5db9f2(0x2dd)](function(_0x517d83,_0x20975b){const _0x82df0=_0x5db9f2;return M[_0x82df0(0x2ce)](pe,Object[_0x82df0(0x334)]({},_0x517d83,{'id':_0x82df0(0x240),'ref':_0x20975b,'icon':Nt}));});$e['displayName']=_0x5db9f2(0x382);function Mt(_0x9e7e7){const _0x411573=_0x5db9f2;switch(_0x9e7e7){case u[_0x411573(0x257)][_0x411573(0x295)]:return _0x411573(0x1d4);case u[_0x411573(0x257)][_0x411573(0x287)]:return _0x411573(0x3a7);case u[_0x411573(0x257)][_0x411573(0x175)]:return _0x411573(0x22c);case u[_0x411573(0x257)][_0x411573(0x2f3)]:return _0x411573(0x352);case u[_0x411573(0x257)]['AWAITING']:case u[_0x411573(0x257)][_0x411573(0x1fd)]:return'collabStatus.syncing';case u[_0x411573(0x257)][_0x411573(0x2c7)]:case u[_0x411573(0x257)][_0x411573(0x357)]:return _0x411573(0x2a2);}}function xe(_0x46c2db){const _0x5db080=_0x5db9f2,{status$:_0x4e9d42}=_0x46c2db,_0x3cb527=T[_0x5db080(0x1c3)](_0x4e9d42,u['CollaborationStatus']['NOT_COLLAB']),_0x394b19=T['useDependency'](a[_0x5db080(0x2cf)]),_0x286f4a=T[_0x5db080(0x331)](u[_0x5db080(0x376)]),_0x24f591=_0x3cb527!==u['CollaborationStatus']['OFFLINE'],_0x754e5=_0x394b19['t'](Mt(_0x3cb527)),_0x32f0fa=_0x24f591?P[_0x5db080(0x16b)]($e,{}):P[_0x5db080(0x16b)](ye,{}),_0x13e8fc=M['useCallback'](()=>{_0x24f591||_0x286f4a['reconnect']();},[_0x24f591,_0x286f4a]);function _0x1aa0e3(){const _0x41ceec=_0x5db080;return P[_0x41ceec(0x3ca)](_0x41ceec(0x38c),{'className':_0x41ceec(0x3ea),'onClick':_0x13e8fc,'children':[P['jsx']('div',{'className':D['clsx'](_0x41ceec(0x3a4),_0x24f591?_0x41ceec(0x205):_0x41ceec(0x3d3)),'children':_0x32f0fa}),P[_0x41ceec(0x16b)](_0x41ceec(0x38c),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x754e5})]});}return _0x24f591?_0x1aa0e3():P[_0x5db080(0x16b)](D[_0x5db080(0x3e1)],{'title':_0x394b19['t'](_0x5db080(0x384)),'children':_0x1aa0e3()});}var Lt=Object['getOwnPropertyDescriptor'],Pt=(_0x25d92f,_0x4435ef,_0x185e9b,_0x2dde64)=>{const _0xb7561d=_0x5db9f2;for(var _0x2934ba=_0x2dde64>0x1?void 0x0:_0x2dde64?Lt(_0x4435ef,_0x185e9b):_0x4435ef,_0x48d8f1=_0x25d92f[_0xb7561d(0x229)]-0x1,_0x14d918;_0x48d8f1>=0x0;_0x48d8f1--)(_0x14d918=_0x25d92f[_0x48d8f1])&&(_0x2934ba=_0x14d918(_0x2934ba)||_0x2934ba);return _0x2934ba;},V=(_0x5047c1,_0xa8ee50)=>(_0x4fca67,_0x52bbdb)=>_0xa8ee50(_0x4fca67,_0x52bbdb,_0x5047c1);exports[_0x5db9f2(0x20a)]=class extends a[_0x5db9f2(0x309)]{constructor(_0x449a58,_0x5ef329,_0x653c0c,_0x437c61){const _0x17c8ff=_0x5db9f2;super(),h(this,_0x17c8ff(0x35a),new d[(_0x17c8ff(0x3b3))](u['CollaborationStatus'][_0x17c8ff(0x2f3)])),(this[_0x17c8ff(0x3d8)]=_0x449a58,this['_injector']=_0x5ef329,this[_0x17c8ff(0x282)]=_0x653c0c,this[_0x17c8ff(0x27f)]=_0x437c61,this[_0x17c8ff(0x271)](),this[_0x17c8ff(0x3b5)]());}['_initStatusListener'](){const _0x48e4c2=_0x5db9f2;this[_0x48e4c2(0x2a4)](this[_0x48e4c2(0x3d8)][_0x48e4c2(0x252)][_0x48e4c2(0x37b)](d[_0x48e4c2(0x2ef)](()=>{const _0x3713aa=_0x48e4c2,_0x377385=this['_univerInstanceService'][_0x3713aa(0x24e)]();return _0x377385?this[_0x3713aa(0x282)][_0x3713aa(0x344)](_0x377385['getUnitId']()):d['of'](null);}),d[_0x48e4c2(0x2ef)](_0x767421=>_0x767421?_0x767421['status$']:d['of'](u['CollaborationStatus'][_0x48e4c2(0x2f3)])))[_0x48e4c2(0x2dc)](_0x374fba=>{const _0x36e936=_0x48e4c2;this[_0x36e936(0x35a)][_0x36e936(0x1e5)](_0x374fba);}));}[_0x5db9f2(0x271)](){const _0x49cb=_0x5db9f2;this[_0x49cb(0x2a4)](this[_0x49cb(0x27f)][_0x49cb(0x396)](T[_0x49cb(0x226)][_0x49cb(0x2ba)],()=>T[_0x49cb(0x3dd)](wt({'status$':this[_0x49cb(0x35a)]['asObservable']()}),this[_0x49cb(0x17d)])));}},exports[_0x5db9f2(0x20a)]=Pt([V(0x0,a[_0x5db9f2(0x24f)]),V(0x1,a[_0x5db9f2(0x319)](a['Injector'])),V(0x2,a[_0x5db9f2(0x319)](u[_0x5db9f2(0x3ad)])),V(0x3,T[_0x5db9f2(0x3cb)])],exports[_0x5db9f2(0x20a)]);function wt(_0x224a0f){const {status$:_0x3c96d5}=_0x224a0f;return function(){const _0x4604dc=_0x5398;return P[_0x4604dc(0x16b)](xe,{'status$':_0x3c96d5});};}var At=Object[_0x5db9f2(0x3ce)],yt=(_0x153554,_0x5aa091,_0x2ec108,_0x1dd456)=>{const _0x19640f=_0x5db9f2;for(var _0x534265=_0x1dd456>0x1?void 0x0:_0x1dd456?At(_0x5aa091,_0x2ec108):_0x5aa091,_0x14b802=_0x153554[_0x19640f(0x229)]-0x1,_0x2529af;_0x14b802>=0x0;_0x14b802--)(_0x2529af=_0x153554[_0x14b802])&&(_0x534265=_0x2529af(_0x534265)||_0x534265);return _0x534265;},y=(_0x351516,_0x58241e)=>(_0x44cf20,_0x31493d)=>_0x58241e(_0x44cf20,_0x31493d,_0x351516);let K=class extends a[_0x5db9f2(0x309)]{constructor(_0x4f5120,_0x42bc75,_0x375c1c,_0x52bdab,_0x2d6811,_0x4a9adb){const _0x1b14d1=_0x5db9f2;super(),this['_beforeCloseService']=_0x4f5120,this['_localCacheService']=_0x42bc75,this[_0x1b14d1(0x1a2)]=_0x375c1c,this[_0x1b14d1(0x301)]=_0x52bdab,this['_notificationService']=_0x2d6811,this['_localeService']=_0x4a9adb,this[_0x1b14d1(0x20e)](),this[_0x1b14d1(0x1ff)]();}[_0x5db9f2(0x20e)](){const _0xfdcc0b=_0x5db9f2;this[_0xfdcc0b(0x2a4)](this[_0xfdcc0b(0x3d5)]['registerBeforeClose'](()=>{const _0x9cb48b=_0xfdcc0b;if(this['_localCacheService']['saveTaskMap'][_0x9cb48b(0x25b)])return this['_localeService']['t'](_0x9cb48b(0x3be));}));}[_0x5db9f2(0x1ff)](){const _0x5f051a=_0x5db9f2;this['disposeWithMe'](this['_collaborationUIEventService']['event$'][_0x5f051a(0x2dc)](_0x158899=>{const _0x56e13f=_0x5f051a;_0x158899['id']===u[_0x56e13f(0x291)][_0x56e13f(0x1d9)]&&this[_0x56e13f(0x301)][_0x56e13f(0x1a0)]({'type':D[_0x56e13f(0x343)]['Warning'],'content':this[_0x56e13f(0x17a)]['t']('collaboration.single-unit.warning')}),_0x158899['id']===u[_0x56e13f(0x291)][_0x56e13f(0x3e9)]&&this['_messageService'][_0x56e13f(0x1a0)]({'type':D['MessageType'][_0x56e13f(0x39c)],'content':this[_0x56e13f(0x17a)]['t'](_0x56e13f(0x18b))}),_0x158899['id']===u[_0x56e13f(0x291)]['PERMISSION_DENIED']&&this[_0x56e13f(0x1cb)][_0x56e13f(0x1a0)]({'title':this[_0x56e13f(0x17a)]['t'](_0x56e13f(0x2d5)),'content':this['_localeService']['t'](_0x56e13f(0x18e)),'type':_0x56e13f(0x250),'duration':0x0}),_0x158899['id']===u[_0x56e13f(0x291)][_0x56e13f(0x287)]&&this[_0x56e13f(0x301)][_0x56e13f(0x1a0)]({'type':D[_0x56e13f(0x343)][_0x56e13f(0x2bc)],'content':this[_0x56e13f(0x17a)]['t']('collaboration.closeRoom')+'('+_0x158899[_0x56e13f(0x33d)]+')'}),_0x158899['id']===u[_0x56e13f(0x291)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x56e13f(0x1a0)]({'type':D[_0x56e13f(0x343)]['Warning'],'content':this[_0x56e13f(0x17a)]['t'](_0x158899[_0x56e13f(0x33d)]||'')}),_0x158899['id']===u[_0x56e13f(0x291)][_0x56e13f(0x3c1)]&&this[_0x56e13f(0x301)][_0x56e13f(0x1a0)]({'type':D[_0x56e13f(0x343)][_0x56e13f(0x39c)],'content':this[_0x56e13f(0x17a)]['t'](_0x56e13f(0x2e1))}),_0x158899['id']===u[_0x56e13f(0x291)][_0x56e13f(0x341)]&&this[_0x56e13f(0x301)][_0x56e13f(0x1a0)]({'type':D[_0x56e13f(0x343)]['Error'],'content':this[_0x56e13f(0x17a)]['t']('session.connection-failed')}),_0x158899['id']===u[_0x56e13f(0x291)][_0x56e13f(0x36d)]&&this[_0x56e13f(0x301)][_0x56e13f(0x1a0)]({'type':D[_0x56e13f(0x343)]['Error'],'content':this[_0x56e13f(0x17a)]['t'](_0x56e13f(0x2a8))});}));}};K=yt([y(0x0,T['IBeforeCloseService']),y(0x1,u['ILocalCacheService']),y(0x2,a[_0x5db9f2(0x319)](u['CollaborationUIEventService'])),y(0x3,T['IMessageService']),y(0x4,T[_0x5db9f2(0x340)]),y(0x5,a[_0x5db9f2(0x319)](a[_0x5db9f2(0x2cf)]))],K);const $t='collaboration-client-ui.config',Ue={},be=a[_0x5db9f2(0x23b)]('uni.network.url-service');function _0x19b5(){const _0x1dff4a=['USERS_LEAVE','concat','fill','OFFLINE','CHANGESET_REVISION_CONFILICT','setItem','debounceTime','_entityInit$','closePath','RegularPolygon','addEventListener','isEditing','getSkeleton','key','name','UPDATE_CURSOR','collabStatus.synced','takeUntil','disposeWithMe','_render','has','_drawAnchor','session.collaboration-timeout','getSheetBySheetId','_initResize','_collabSessionService','InsertRowCommandId','distinctUntilChanged','_startSheetCollabCursor','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','undoState','M0\x200H16V16H0z','_send','currentColor','font','verdancy600','transformSelections','_config','_themeService','_toggleOffline','HEADER_MENU','getCurrentSelections','Error','getValue','textRanges','call','_memberService','UNIVER_DOC','DocCollaborationEntity','imageSourceType','_dataLoaderService','ENSURE_SNAPSHOT_EXECUTION','eventID','SYNCED','href','#fff','SetTextSelectionsOperation','startRow','location','jiqing500','createElement','LocaleService','url(#on-line-single_clip0_910_349)','LICENSE_IMPORT_SIZE_EXCEEDED','asObservable','disposeUnit','syncEditingCollabCursor','permission.title','application/json','PY_RUNTIME_SCRIPT_ERROR','UNAUTHENTICATED','_onCursorDelete','_session','InsertRangeMoveRightCommandId','subscribe','forwardRef','RefRangeService','_colorIndex','IMessageService','session.will-retry','INVITE_CODE_ALREADY_BOUND','unit','RemoveRowCommandId','getSheetId','runId','search','univerjs-icon\x20univerjs-icon-','rxjs/operators','onPointerLeave$','_handleEvent','Unknown\x20user','6619496avkBvn','engine','switchMap','_shapes','collabCursorState$','Shape','NOT_COLLAB','@univerjs/docs-ui','EffectRefRangId','with','_syncEditingCollabCursorService','trim','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_registerDependencies','measureText','@univerjs/core','YUUMI_UNABLE_LOAD_URL','getStateCache','_cursor','saveOfflineData','_messageService','2287pSRmnN','WebSocketService','apply','ColorKit','YUUMI_SUBSCRIPTION_NOT_FOUND','_cursorShapes','values','Disposable','CONNECTOR_DATA_TOO_LARGE','LOCAL_CACHE_INTERVAL','_collabCursorController','UNRECOGNIZED','collab-text-anchor-','drawWith','unload','path','getUnitId','evenodd','setInterval','clearTimeout','searchParams','UniverInstanceType','requireSession','Inject','APPLY_PERMISSION_DENIED','startColumn','max','Vector2','invokeId','entries','DataLoaderService','RxDisposable','react/jsx-runtime','PERMISSION_DENIED','setShapeProps','endRow','m2Prime','toRgbString','handleInsertCol','symbol','toDisposable','arc','onCommandExecuted','cursorInfo$','_scene','MoveRangeCommandId','fromEvent','useDependency','TEXT_RANGE_LAYER_INDEX','updateOfflineData','assign','set','_docSkeleton','getOffsetConfig','EMAIL_HAS_BEEN_BOUND','indexOf','findNodePositionByCharIndex','sessionStatus$','@univerjs/design','data','params','newValue','INotificationService','SOCKET_FAILED','_roomMembers$','MessageType','getCollabEntity$','_refreshCollabCursors','addObject','merge','displayName','xlink:href','_refRangeService','_imageIoService','11JRARzt','_anchorDot','_initCommandExecutedListener','url(#$1','addClipboardHook','isActive','collabStatus.notCollab','_context','subscribeEvent','_startDocCollabCursor','doc.mutation.rich-text-editing','PENDING','DocSkeletonManagerService','toString','_status$','setConfig','IDocClipboardService','getUndoRedoMutationParamsCache','_saveTaskMap','popstate','_getMergeRange','getParam','onMouseMove','icon','handleIRemoveCol','add','LICENSE_EXPORT_SIZE_EXCEEDED','rxjs','setAlpha','transformMutation','unshift','children','_removeCollabCursors','SUBMIT_CHANGESET_TIMEOUT','none','INVALID_ARGUMENT','redoState','YUUMI_RATE_OVER_LIMIT','getLocalCacheKey','SetSelectionsOperation','IConfigService','skeleton','CollaborationSessionService','YUUMI_NO_CUBOID_FOR_QUESTION','@univerjs/engine-formula','_transformService','IRenderManagerService','pipe','collab-rect-range-','getCoordByCell','origin','TEXT','_id','fillStyle','OnLineSingle','DocSelectionManagerService','collab-client.tooltip.reconnect','subUnitId','LICENSE_DISTRO_REJECTED','_sheetSkeletonManagerService','transformIMECache','_onCursorUpdate','svg','_online','div','sheetId','off-line-single_clip0_910_343','restore','getItem','@univerjs/sheets-ui','createSocket','moveTo','idSuffix','_textBubble','registerComponent','_docStateChangeManagerService','_docTransformIMECacheService','MOBILE_HAS_BEEN_BOUND','actions','_disabled','Warning','OTHER_CLIENTS_EDITING','forEach','row','_scheduleClearOtherTimer','IImageIoService','loadOfflineData','RemoteUniscriptService','univer-flex\x20univer-mr-2\x20univer-text-[20px]','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','onRendered','collabStatus.conflict','editingUnit','DOC_RANGE_TYPE','handleInsertRangeMoveRight','InsertColCommandId','_getSaveTimeout','CollaborationController','stringify','all','getRelativeToViewportCoord','_handleLeaveEvent','string','BehaviorSubject','purple300','_initStatusListener','FromArray','handleDeleteRangeMoveLeft','ICommandService','_unitStatus','32iIFQMH','@univerjs-pro/collaboration-client','ITransformService','COMPLETION_FINISHED','collaboration-client.offline-data-not-saved','Plugin','memberID','SOCKET_FAILED_RETRY','setUndoRedoMutationParamsCache','_hovered','APPLY_REVISION_CONFILICT','split','send','dispose$','getOwnPropertySymbols','getCurrentRevOfUnit','jsxs','IUIPartsService','history','Failed','getOwnPropertyDescriptor','getSheetObject','_drawRectRange','Optional','SetDocZoomRatioOperation','univer-text-red-500','Rectangle','_beforeCloseService','from','min','_univerInstanceService','current','onTransformChange$','isTransformMutationFailure','onStarting','connectInjector','_transformPreviousActiveRange','handleMoveRange','_setupSubUnitSync','Tooltip','getActiveSheet','propertyIsEnumerable','_cursorInfo$','NodePositionConvertToCursor','tag','getColor','DocStateChangeManagerService','CLOSE_ROOM','univer-flex\x20univer-items-center','INTERNAL_ERROR','_draw','getUnitStatus$','CollaborationSocketService','getMember','DisposableCollection','SheetsSelectionsService','2035059QthXUx','CollaborationEvent','addHandlerCallback','jsx','_init','fromEventSubject','ONLINE','_instanceService','substring','code','_docTransformSelectionsService','_eventUnsubscribe','function','FETCH_MISS','random','[CollaborationDataLoaderController]','UNIVER_SHEET','_removeClearOtherTimer','_localeService','NO_OTHER_CLIENTS_EDITING','_lastPointer','_injector','WebURLService','_getScale','ALREADY_EXISTS','APPLY_DUPLICATED','_hover','DocIMEInputManagerService','MUTATION','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','extend','_renderManagerService','registerDependencies','m1Prime','APPLY_REJECT','collaboration.closeRoom','INVITE_CODE_REQUIRED','contains','permission.content','rgba(255,\x20255,\x20255,\x200.01)','@univerjs/drawing','@univerjs/engine-render','replaceState','1em','5950190DIWNnb','urlChange$','hide','width','ILogService','bottom','_handleHover','fillText','docStateChange$','_updateCollabCursors','filter','SetWorksheetActivateCommand','show','defineProperty','_collaborationUIEventService','defIds','handleInsertRow','APPLY_NON_SEQUENTIAL_REVISION','USER_NOT_INVITED_CODE','column','replaceDocRanges','_scheduleHeartbeat','delete','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','UniverCollaborationClientUIPlugin','IURLService','_docClipboardService','_saveCache','_initDependencies','Workbook','get','toStringTag','RichTextEditingMutation','ILocalStorageService','touchDependencies','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_cursors','mutations','range','_color','onPointerEnter$','unitId','1331604rAMCyh','use','complete','selections','_docSyncEditingCollabCursorService','useObservable','lineTo','5FgKweb','_entities','transformMutationsWithChangeset','SNAPSHOT_INVALID_SNAPSHOT','selection','UNDEFINED','_notificationService','RemoveColCommandId','LICENSE_MAX_UNITS_EXCEEDED','_colorAssignService','Tools','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','isTransformMutationsWithChangesetSuccess','_heartbeatTimer','then','collabStatus.offline','blue400','_transformUndoRedoStack','deepClone','includes','OTHER_CLIENT_EDITING','DeleteRangeMoveUpCommandId','_cachedData','unitID','_initEntityListener','NOT_FOUND','event$','push','_backgroundColor','Module','executeCommand','_logService','next','_range','_getSessionTicket','CommandType','getTypeOfUnitAdded$','_onRefRangeChange','setParam','_toggleOnline','height','Rect','ACTIVE_UNIT_EVENT_CHANNEL','transform','HTTPService','currentTheme$','RevisionService','hovered','translate(.97)','save','body','onLocalMutation','getConfig','InsertRangeMoveDownCommandId','on-line-single_clip0_910_349','round','AWAITING_WITH_PENDING','_commandService','_initEvent','setActiveRange','_configService','generateRandomId','INVITE_CODE_HAS_BEEN_UES','Injector','univer-text-green-500','LOCAL_CACHE_INTERVAL_KEY','_docSkeletonManagerService','_drawTextRange','@univerjs/docs','DesktopCollaborationStatusDisplayController','_localStorageService','useRef','currentSkeleton$','_setupBeforeClosingHandler','mergeOverrideWithDependencies','hasOwnProperty','_docTransformStateCacheService','189QrtrFC','_handleJoinEvent','TOO_MANY_REQUESTS','debounce','getCollabCursors$','OffLineSingle','registerRenderModule','assignAColorForMemberID','605504UWYuYO','backgroundColor','4589557XrcPQc','roomMembers$','SNAPSHOT_HAS_BEEN_REMOVED','collab-text-range-','YUUMI_URL_COL_OUT_OF_RANGE','_labelPosition','black','enableLocalCache','@univerjs/sheets','WECHAT_HAS_BEEN_BOUND','BuiltInUIPart','_unitOnClients','defs','length','replace','registerRefRange','collabStatus.fetchMiss','DEFAULT_WS_SESSION_TICKET_URL','top','saveTaskMap','map','attrs','onPointerMove$','_anchor','setTimeout','UniverIcon','@univerjs/ui','disableLocalCache','transformRemoteChangeset','getAncestorScale','transformStateCache','createIdentifier','_clearOtherTimers','_updateLocalCursor','LOGIN_FAILED','SheetSkeletonManagerService','on-line-single','handleDeleteRangeMoveUp','throttleTime','saveImage','runOnServer','text','getRenderById','_scheduleSaving','getMergeData','getRangePointData','getCurrent','url(#off-line-single_clip0_910_343)','sessionTicket','_getSheetObject','getFocusedUnit','IUniverInstanceService','error','getCurrentUnitForType','focused$','subunit','init','sheetID','COLORS','CollaborationStatus','combineLatest','cursorInfo','_handleHeartbeatEvent','size','colorChannel1','MemberService','dispose','_selfUnitIDs','mask','UnitStatus','CollaborationDataLoaderController','ranges','shareReplay','_name','gold400','roomMembers','unsubscribe','clearInterval','ISocketService','_collabCursorState$','exhaustSavingTask','YUUMI_ASYNCIO_CANCELLED','clipPath','isArray','_urlService','_initStatusComponent','makeDirty','RECT','getTypeOfUnitDisposed$','DeleteRangeMoveLeftCommandId','getVpScrollXYInfoByPosToVp','@univerjs/rpc','UniverCollaborationClientPlugin','...','INVALID_INVITE_CODE','red300','WebBrowserSingleActiveUnitService','ThemeService','prototype','_uiPartsService','_assignedColors','_hideTimer','_collaborationController','getUnhiddenWorksheets','ticket','pushState','_httpService','CONFLICT','_createSocketURL','_updateSubUnitFromURLParams','_transformHistoryAndStateStack','className','beginPath','BrowserCollaborationSocketService','color','createInstance','_ensureSubject','CollaborationUIEventId'];_0x19b5=function(){return _0x1dff4a;};return _0x19b5();}var xt=Object[_0x5db9f2(0x3ce)],jt=(_0x4c6730,_0x5f36c3,_0x151867,_0x333040)=>{const _0x1b5465=_0x5db9f2;for(var _0x346501=_0x333040>0x1?void 0x0:_0x333040?xt(_0x5f36c3,_0x151867):_0x5f36c3,_0x3d766f=_0x4c6730[_0x1b5465(0x229)]-0x1,_0x3d67da;_0x3d766f>=0x0;_0x3d766f--)(_0x3d67da=_0x4c6730[_0x3d766f])&&(_0x346501=_0x3d67da(_0x346501)||_0x346501);return _0x346501;},H=(_0x18c5e0,_0x592917)=>(_0x1d32f6,_0xd807c4)=>_0x592917(_0x1d32f6,_0xd807c4,_0x18c5e0);exports['CollaborationDataLoaderController']=class extends a[_0x5db9f2(0x321)]{constructor(_0x20e743,_0x28b736,_0x4737f2,_0x3faafd,_0x38499f){const _0x3e78f9=_0x5db9f2;super(),this[_0x3e78f9(0x270)]=_0x20e743,this[_0x3e78f9(0x1e4)]=_0x28b736,this[_0x3e78f9(0x1fe)]=_0x4737f2,this[_0x3e78f9(0x2c4)]=_0x3faafd,_0x38499f?_0x38499f==null||_0x38499f['whenReady']()[_0x3e78f9(0x1d3)](()=>this[_0x3e78f9(0x16c)]()):(this[_0x3e78f9(0x1e4)]['debug'](_0x3e78f9(0x177),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x5a72d6=_0x5db9f2,_0x19df2b=this['_urlService'][_0x5a72d6(0x361)]('unit'),_0x87af6e=this[_0x5a72d6(0x270)][_0x5a72d6(0x361)]('type'),_0x482d1c=this[_0x5a72d6(0x270)]['getParam'](_0x5a72d6(0x253));if(!_0x19df2b||!_0x87af6e){this[_0x5a72d6(0x1e4)]['debug'](_0x5a72d6(0x177),_0x5a72d6(0x1d0));return;}const _0x5c6272=await this[_0x5a72d6(0x2c4)]['loadUnit'](_0x19df2b,Number(_0x87af6e),_0x482d1c);_0x5c6272&&_0x5c6272 instanceof a[_0x5a72d6(0x1b1)]&&this[_0x5a72d6(0x3e0)](_0x5c6272);}async[_0x5db9f2(0x3e0)](_0x16937b){const _0x1ff289=_0x5db9f2;await this[_0x1ff289(0x289)](_0x16937b),_0x16937b['activeSheet$'][_0x1ff289(0x37b)](d[_0x1ff289(0x2a3)](this['dispose$']))[_0x1ff289(0x2dc)](_0x1c8b73=>{_0x1c8b73&&this['_updateURLWithCurrentState'](_0x1c8b73);}),this[_0x1ff289(0x270)]['urlChange$'][_0x1ff289(0x37b)](d[_0x1ff289(0x2a3)](this['dispose$']))[_0x1ff289(0x2dc)](()=>this[_0x1ff289(0x289)](_0x16937b));}['_updateURLWithCurrentState'](_0x37762a,_0x4e56b5=!0x1){const _0x503601=_0x5db9f2,_0x5a25c0=this[_0x503601(0x270)][_0x503601(0x361)](_0x503601(0x253));_0x37762a[_0x503601(0x2e5)]()!==_0x5a25c0&&this['_urlService']['setParam'](_0x503601(0x253),_0x37762a[_0x503601(0x2e5)](),_0x4e56b5);}async['_updateSubUnitFromURLParams'](_0x3b7186){const _0x1bfba5=_0x5db9f2;var _0x574a8d;const _0x58564c=this[_0x1bfba5(0x270)][_0x1bfba5(0x361)](_0x1bfba5(0x253));if(!_0x58564c||!_0x3b7186[_0x1bfba5(0x2a9)](_0x58564c)){const _0x154be6=_0x3b7186[_0x1bfba5(0x283)]()[0x0],_0x448d24=_0x3b7186[_0x1bfba5(0x2a9)](_0x154be6);if(!_0x448d24)return;this['_updateURLWithCurrentState'](_0x448d24,!0x0),await this['_commandService'][_0x1bfba5(0x1e3)](g[_0x1bfba5(0x19f)]['id'],{'unitId':_0x3b7186[_0x1bfba5(0x312)](),'subUnitId':_0x154be6});return;}((_0x574a8d=_0x3b7186['getActiveSheet']())==null?void 0x0:_0x574a8d[_0x1bfba5(0x2e5)]())!==_0x58564c&&await this[_0x1bfba5(0x1fe)][_0x1bfba5(0x1e3)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x3b7186[_0x1bfba5(0x312)](),'subUnitId':_0x58564c});}},exports[_0x5db9f2(0x262)]=jt([H(0x0,be),H(0x1,a[_0x5db9f2(0x198)]),H(0x2,a['ICommandService']),H(0x3,a['Inject'](u[_0x5db9f2(0x320)])),H(0x4,a[_0x5db9f2(0x3d1)](qe['IRemoteInstanceService']))],exports[_0x5db9f2(0x262)]);var Bt=Object[_0x5db9f2(0x3ce)],kt=(_0x843323,_0x4f2bf6,_0x524d2d,_0x31eac9)=>{const _0x1a3557=_0x5db9f2;for(var _0x412b86=_0x31eac9>0x1?void 0x0:_0x31eac9?Bt(_0x4f2bf6,_0x524d2d):_0x4f2bf6,_0x3adc14=_0x843323[_0x1a3557(0x229)]-0x1,_0x47818e;_0x3adc14>=0x0;_0x3adc14--)(_0x47818e=_0x843323[_0x3adc14])&&(_0x412b86=_0x47818e(_0x412b86)||_0x412b86);return _0x412b86;},ce=(_0x373775,_0x145931)=>(_0x588342,_0x287b79)=>_0x145931(_0x588342,_0x287b79,_0x373775);let z=class{constructor(_0x114754,_0x20c265,_0x4afbce){const _0x12aba7=_0x5db9f2;this[_0x12aba7(0x17d)]=_0x114754,this[_0x12aba7(0x379)]=_0x20c265,this[_0x12aba7(0x187)]=_0x4afbce;}[_0x5db9f2(0x388)](_0x1bfee7){const _0x2312db=_0x5db9f2;this[_0x2312db(0x1d6)](_0x1bfee7),this['_transformPreviousActiveRange'](_0x1bfee7);}[_0x5db9f2(0x238)](_0x110b49){const _0x5ba33c=_0x5db9f2,{unitID:_0x1ff86c}=_0x110b49,_0x14c7f7=this[_0x5ba33c(0x187)][_0x5ba33c(0x246)](_0x1ff86c)[_0x5ba33c(0x2f6)](b[_0x5ba33c(0x183)]),{redoCache:_0x5236dd}=_0x14c7f7['getUndoRedoMutationParamsCache']();if(_0x5236dd['length']===0x0)return _0x110b49;let _0x4cd2d5=a[_0x5ba33c(0x1cf)]['deepClone'](_0x110b49[_0x5ba33c(0x1b9)][0x0]);for(let _0x937ba=0x0;_0x937ba<_0x5236dd[_0x5ba33c(0x229)];_0x937ba++){const _0x268657={'id':'doc.mutation.rich-text-editing','params':{..._0x5236dd[_0x937ba]}},_0x4590e0=this['_transformService']['transformMutation'](_0x4cd2d5,_0x268657,!0x1);if(m['isTransformMutationFailure'](_0x4590e0))throw _0x4590e0[_0x5ba33c(0x250)];_0x4cd2d5=_0x4590e0['m1Prime'];}return{...a['Tools'][_0x5ba33c(0x1d7)](_0x110b49),'mutations':[_0x4cd2d5]};}[_0x5db9f2(0x1d6)](_0x2910f3){const _0x2f0eeb=_0x5db9f2,{unitID:_0x149f45}=_0x2910f3,_0x39a62a=this[_0x2f0eeb(0x187)][_0x2f0eeb(0x246)](_0x149f45)['with'](b[_0x2f0eeb(0x183)]),{undoCache:_0x2da5c8,redoCache:_0x208eb5}=_0x39a62a[_0x2f0eeb(0x35d)]();if(_0x2da5c8[_0x2f0eeb(0x229)]===0x0||_0x208eb5[_0x2f0eeb(0x229)]===0x0)return;const _0x4654cf=[],_0x26f52b=[];let _0x4cf5c5=a[_0x2f0eeb(0x1cf)]['deepClone'](_0x2910f3[_0x2f0eeb(0x1b9)][0x0]),_0xa4dede=a[_0x2f0eeb(0x1cf)][_0x2f0eeb(0x1d7)](_0x2910f3[_0x2f0eeb(0x1b9)][0x0]);for(let _0x222d7c=_0x2da5c8['length']-0x1;_0x222d7c>=0x0;_0x222d7c--){const _0x35328c={'id':_0x2f0eeb(0x356),'params':{..._0x2da5c8[_0x222d7c]}},_0x27e28e={'id':_0x2f0eeb(0x356),'params':{..._0x208eb5[_0x222d7c]}},_0x1af628=this[_0x2f0eeb(0x379)][_0x2f0eeb(0x369)](_0x4cf5c5,_0x35328c,!0x1),_0x2e09e0=this[_0x2f0eeb(0x379)][_0x2f0eeb(0x369)](_0xa4dede,_0x27e28e,!0x1);if(m[_0x2f0eeb(0x3db)](_0x1af628))throw _0x1af628[_0x2f0eeb(0x250)];if(m['isTransformMutationFailure'](_0x2e09e0))throw _0x2e09e0[_0x2f0eeb(0x250)];_0x4654cf[_0x2f0eeb(0x36a)](_0x1af628[_0x2f0eeb(0x326)][_0x2f0eeb(0x33e)]),_0x26f52b['unshift'](_0x2e09e0['m2Prime'][_0x2f0eeb(0x33e)]),_0x4cf5c5=_0x1af628[_0x2f0eeb(0x189)],_0xa4dede=_0x2e09e0[_0x2f0eeb(0x189)];}_0x39a62a[_0x2f0eeb(0x3c2)]({'undoCache':_0x4654cf,'redoCache':_0x26f52b});}[_0x5db9f2(0x3de)](_0x36a868){const _0x141af2=_0x5db9f2,{unitID:_0x5b157e}=_0x36a868,_0x564248=this[_0x141af2(0x187)]['getRenderById'](_0x5b157e)[_0x141af2(0x2f6)](b[_0x141af2(0x183)]),_0x2f2366=_0x564248['getActiveRange']();if(_0x2f2366==null)return;const _0xb8a58b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36a868['unitID'],'actions':null,'textRanges':[_0x2f2366]}}],_0x4ed556=this[_0x141af2(0x379)]['transformMutationsWithChangeset'](_0x36a868,_0xb8a58b);if(!m[_0x141af2(0x1d1)](_0x4ed556))throw _0x4ed556[_0x141af2(0x250)];const _0xc6fdc3=_0x4ed556[_0x141af2(0x326)][0x0][_0x141af2(0x33e)][_0x141af2(0x2be)];Array['isArray'](_0xc6fdc3)&&_0xc6fdc3[_0x141af2(0x229)]&&_0x564248[_0x141af2(0x200)](_0xc6fdc3[0x0]);}};z=kt([ce(0x0,a['Inject'](a[_0x5db9f2(0x204)])),ce(0x1,m[_0x5db9f2(0x3bc)]),ce(0x2,p['IRenderManagerService'])],z);var Ht=Object[_0x5db9f2(0x3ce)],Ft=(_0x39b147,_0x175893,_0x3ea71f,_0x1e9921)=>{const _0x47686b=_0x5db9f2;for(var _0x4b5267=_0x1e9921>0x1?void 0x0:_0x1e9921?Ht(_0x175893,_0x3ea71f):_0x175893,_0x11b968=_0x39b147[_0x47686b(0x229)]-0x1,_0x3acf00;_0x11b968>=0x0;_0x11b968--)(_0x3acf00=_0x39b147[_0x11b968])&&(_0x4b5267=_0x3acf00(_0x4b5267)||_0x4b5267);return _0x4b5267;},le=(_0x65dee1,_0x2cc0a9)=>(_0x58e603,_0x36276b)=>_0x2cc0a9(_0x58e603,_0x36276b,_0x65dee1);let J=class{constructor(_0x59cc8e,_0x197dc5,_0x17f320){const _0x539551=_0x5db9f2;this[_0x539551(0x17d)]=_0x59cc8e,this[_0x539551(0x379)]=_0x197dc5,this[_0x539551(0x397)]=_0x17f320;}['transformStateCache'](_0x8f8405){const _0x227cd5=_0x5db9f2;this[_0x227cd5(0x28a)](_0x8f8405);}[_0x5db9f2(0x238)](_0x46a951){const _0x3f085c=_0x5db9f2,{unitID:_0xb14d7f}=_0x46a951,{collaboration:_0xf62754}=this[_0x3f085c(0x397)][_0x3f085c(0x2fe)](_0xb14d7f);if(_0xf62754[_0x3f085c(0x229)]===0x0)return _0x46a951;let _0x2183ae=a[_0x3f085c(0x1cf)]['deepClone'](_0x46a951[_0x3f085c(0x1b9)][0x0]);for(let _0x5366fc=0x0;_0x5366fc<_0xf62754['length'];_0x5366fc++){const _0x4852d8={'id':_0x3f085c(0x356),'params':{'unitId':_0xf62754[_0x5366fc]['unitId'],..._0xf62754[_0x5366fc][_0x3f085c(0x370)]}},_0x506578=this['_transformService'][_0x3f085c(0x369)](_0x2183ae,_0x4852d8,!0x1);if(m[_0x3f085c(0x3db)](_0x506578))throw _0x506578['error'];_0x2183ae=_0x506578[_0x3f085c(0x189)];}return{...a[_0x3f085c(0x1cf)][_0x3f085c(0x1d7)](_0x46a951),'mutations':[_0x2183ae]};}[_0x5db9f2(0x28a)](_0x4dfcf6){const _0x473e44=_0x5db9f2,{unitID:_0x33c628}=_0x4dfcf6,{history:_0xa82619,collaboration:_0x1fb353}=this[_0x473e44(0x397)][_0x473e44(0x2fe)](_0x33c628);if(_0xa82619[_0x473e44(0x229)]===0x0&&_0x1fb353[_0x473e44(0x229)]===0x0)return;const _0x12a1e0=[],_0x272322=[];let _0x3ac84f=a[_0x473e44(0x1cf)][_0x473e44(0x1d7)](_0x4dfcf6[_0x473e44(0x1b9)][0x0]),_0x1ba24a=a[_0x473e44(0x1cf)][_0x473e44(0x1d7)](_0x4dfcf6[_0x473e44(0x1b9)][0x0]);for(let _0x3e424b=_0xa82619[_0x473e44(0x229)]-0x1;_0x3e424b>=0x0;_0x3e424b--){const _0x464349={'id':_0x473e44(0x356),'params':{'unitId':_0xa82619[_0x3e424b]['unitId'],..._0xa82619[_0x3e424b][_0x473e44(0x2b0)]}},_0x36d513={'id':_0x473e44(0x356),'params':{'unitId':_0xa82619[_0x3e424b][_0x473e44(0x1bd)],..._0xa82619[_0x3e424b][_0x473e44(0x370)]}},_0x500a30=this['_transformService'][_0x473e44(0x369)](_0x3ac84f,_0x464349,!0x1),_0x1cc1fb=this[_0x473e44(0x379)][_0x473e44(0x369)](_0x1ba24a,_0x36d513,!0x1);if(m[_0x473e44(0x3db)](_0x500a30))throw _0x500a30[_0x473e44(0x250)];if(m[_0x473e44(0x3db)](_0x1cc1fb))throw _0x1cc1fb[_0x473e44(0x250)];_0x12a1e0[_0x473e44(0x36a)]({..._0xa82619[_0x3e424b],'undoState':_0x500a30[_0x473e44(0x326)][_0x473e44(0x33e)],'redoState':_0x1cc1fb[_0x473e44(0x326)][_0x473e44(0x33e)]}),_0x3ac84f=_0x500a30[_0x473e44(0x189)],_0x1ba24a=_0x1cc1fb[_0x473e44(0x189)];}_0x3ac84f=a[_0x473e44(0x1cf)][_0x473e44(0x1d7)](_0x4dfcf6[_0x473e44(0x1b9)][0x0]),_0x1ba24a=a[_0x473e44(0x1cf)]['deepClone'](_0x4dfcf6['mutations'][0x0]);for(let _0x5f0121=_0x1fb353[_0x473e44(0x229)]-0x1;_0x5f0121>=0x0;_0x5f0121--){const _0x57f74f={'id':_0x473e44(0x356),'params':{'unitId':_0x1fb353[_0x5f0121]['unitId'],..._0x1fb353[_0x5f0121][_0x473e44(0x2b0)]}},_0x10de4e={'id':_0x473e44(0x356),'params':{'unitId':_0x1fb353[_0x5f0121]['unitId'],..._0x1fb353[_0x5f0121][_0x473e44(0x370)]}},_0x2ff040=this['_transformService'][_0x473e44(0x369)](_0x3ac84f,_0x57f74f,!0x1),_0x2d3dc4=this['_transformService'][_0x473e44(0x369)](_0x1ba24a,_0x10de4e,!0x1);if(m[_0x473e44(0x3db)](_0x2ff040))throw _0x2ff040[_0x473e44(0x250)];if(m[_0x473e44(0x3db)](_0x2d3dc4))throw _0x2d3dc4[_0x473e44(0x250)];_0x272322[_0x473e44(0x36a)]({..._0x1fb353[_0x5f0121],'undoState':_0x2ff040[_0x473e44(0x326)]['params'],'redoState':_0x2d3dc4[_0x473e44(0x326)][_0x473e44(0x33e)]}),_0x3ac84f=_0x2ff040[_0x473e44(0x189)],_0x1ba24a=_0x2d3dc4['m1Prime'];}this[_0x473e44(0x397)]['setStateCache'](_0x33c628,{'history':_0x12a1e0,'collaboration':_0x272322});}};J=Ft([le(0x0,a[_0x5db9f2(0x319)](a[_0x5db9f2(0x204)])),le(0x1,m['ITransformService']),le(0x2,a[_0x5db9f2(0x319)](b['DocStateChangeManagerService']))],J);var Wt=Object[_0x5db9f2(0x3ce)],Yt=(_0x3d7cb4,_0x3c3e2f,_0x3ccd76,_0x4b4c4e)=>{const _0x1db520=_0x5db9f2;for(var _0x56d5db=_0x4b4c4e>0x1?void 0x0:_0x4b4c4e?Wt(_0x3c3e2f,_0x3ccd76):_0x3c3e2f,_0x4a3e43=_0x3d7cb4[_0x1db520(0x229)]-0x1,_0x19ecf9;_0x4a3e43>=0x0;_0x4a3e43--)(_0x19ecf9=_0x3d7cb4[_0x4a3e43])&&(_0x56d5db=_0x19ecf9(_0x56d5db)||_0x56d5db);return _0x56d5db;},Ne=(_0xe8e5ec,_0x5620b5)=>(_0x1eded0,_0x40f00b)=>_0x5620b5(_0x1eded0,_0x40f00b,_0xe8e5ec);let Z=class{constructor(_0x309138,_0x58c2b6){const _0x31eea6=_0x5db9f2;this[_0x31eea6(0x17d)]=_0x309138,this[_0x31eea6(0x379)]=_0x58c2b6;}[_0x5db9f2(0x2b6)](_0x40a804){const _0x288ffd=_0x5db9f2;var _0x2b424d;const _0x57480=this[_0x288ffd(0x17d)][_0x288ffd(0x1b2)](W[_0x288ffd(0x383)]),_0x4fb6e5=(_0x2b424d=_0x57480['getDocRanges']())!=null?_0x2b424d:[];if(_0x4fb6e5[_0x288ffd(0x229)]===0x0)return;const _0x1d4393=_0x40a804[_0x288ffd(0x1dc)],_0x53f8d6=[{'id':_0x288ffd(0x356),'params':{'unitId':_0x1d4393,'actions':null,'textRanges':_0x4fb6e5}}],_0x581f99=this[_0x288ffd(0x379)][_0x288ffd(0x1c7)](_0x40a804,_0x53f8d6);if(!m[_0x288ffd(0x1d1)](_0x581f99))throw _0x581f99['error'];const _0x44c28b=_0x581f99['m2Prime'][0x0][_0x288ffd(0x33e)][_0x288ffd(0x2be)];Array[_0x288ffd(0x26f)](_0x44c28b)&&_0x44c28b[_0x288ffd(0x229)]&&_0x57480[_0x288ffd(0x1a8)](_0x44c28b,{'unitId':_0x1d4393,'subUnitId':_0x1d4393},!0x1);}};Z=Yt([Ne(0x0,a[_0x5db9f2(0x319)](a[_0x5db9f2(0x204)])),Ne(0x1,m[_0x5db9f2(0x3bc)])],Z);var Vt=Object[_0x5db9f2(0x3ce)],Xt=(_0xdc01eb,_0x5e7589,_0x2faf16,_0x5621f3)=>{for(var _0x5d1e51=_0x5621f3>0x1?void 0x0:_0x5621f3?Vt(_0x5e7589,_0x2faf16):_0x5e7589,_0xee752a=_0xdc01eb['length']-0x1,_0x606f2e;_0xee752a>=0x0;_0xee752a--)(_0x606f2e=_0xdc01eb[_0xee752a])&&(_0x5d1e51=_0x606f2e(_0x5d1e51)||_0x5d1e51);return _0x5d1e51;},N=(_0x172f63,_0x4f3450)=>(_0x31e877,_0x4ef0df)=>_0x4f3450(_0x31e877,_0x4ef0df,_0x172f63);let Q=class extends a['Disposable']{constructor(_0xff17c9,_0x1aef2b,_0x1674e4,_0x170979,_0x5c3369,_0x3a93a3,_0x46e70a,_0x2d51fb){const _0x2988a9=_0x5db9f2;super(),h(this,_0x2988a9(0x35a),new d[(_0x2988a9(0x3b3))](u[_0x2988a9(0x257)][_0x2988a9(0x2f3)])),(this[_0x2988a9(0x397)]=_0xff17c9,this[_0x2988a9(0x282)]=_0x1aef2b,this['_docTransformIMECacheService']=_0x1674e4,this[_0x2988a9(0x211)]=_0x170979,this[_0x2988a9(0x172)]=_0x5c3369,this['_docSyncEditingCollabCursorService']=_0x3a93a3,this[_0x2988a9(0x301)]=_0x46e70a,this[_0x2988a9(0x17a)]=_0x2d51fb,this[_0x2988a9(0x1dd)]());}[_0x5db9f2(0x1dd)](){const _0x445096=_0x5db9f2;this[_0x445096(0x2a4)](this[_0x445096(0x282)]['entityInit$']['subscribe'](_0xdf089c=>{const _0x29819c=_0x445096,_0x26f110=this['_docStateChangeManagerService'][_0x29819c(0x19c)][_0x29819c(0x2dc)](_0x5b1cc4=>{const _0x519f61=_0x29819c;if(_0x5b1cc4==null)return;const {unitId:_0x445972,redoState:_0x2cb7cd,commandId:_0x1e450f}=_0x5b1cc4;if(_0x445972!==_0xdf089c['unitID'])return;const _0x15449f={'id':_0x1e450f,'type':a[_0x519f61(0x1e8)][_0x519f61(0x184)],'params':{'unitId':_0x445972,'actions':_0x2cb7cd[_0x519f61(0x39a)],'textRanges':null}};_0xdf089c[_0x519f61(0x1f8)](_0x15449f);});if(_0xdf089c[_0x29819c(0x2a4)](_0x26f110),_0xdf089c instanceof u[_0x29819c(0x2c2)]){const _0x2ef88c={'onTransformIME':_0x9fe936=>this[_0x29819c(0x398)]['transformIMECache'](_0x9fe936),'onTransformState':_0x4a1b67=>this[_0x29819c(0x211)][_0x29819c(0x23a)](_0x4a1b67),'onTransformSelections':_0x3258b0=>this['_docTransformSelectionsService'][_0x29819c(0x2b6)](_0x3258b0),'onSyncEditingCollabCursor':_0x1ee9e2=>this[_0x29819c(0x1c2)][_0x29819c(0x2d4)](_0x1ee9e2),'onTransformRemoteChangesetByIMECache':_0x41aab3=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x41aab3),'onTransformRemoteChangesetByStateCache':_0x2c9cfc=>this[_0x29819c(0x211)][_0x29819c(0x238)](_0x2c9cfc)};_0xdf089c[_0x29819c(0x16a)](_0x2ef88c);}}));}};Q=Xt([N(0x0,a[_0x5db9f2(0x319)](b[_0x5db9f2(0x3e8)])),N(0x1,a[_0x5db9f2(0x319)](u['CollaborationController'])),N(0x2,a[_0x5db9f2(0x319)](z)),N(0x3,a[_0x5db9f2(0x319)](J)),N(0x4,a[_0x5db9f2(0x319)](Z)),N(0x5,a[_0x5db9f2(0x319)](Ce)),N(0x6,T[_0x5db9f2(0x2e0)]),N(0x7,a['Inject'](a[_0x5db9f2(0x2cf)]))],Q);var Gt=Object[_0x5db9f2(0x3ce)],qt=(_0x150be0,_0x2b3cea,_0x12c632,_0x5461f2)=>{const _0x5cb7bc=_0x5db9f2;for(var _0x405aa8=_0x5461f2>0x1?void 0x0:_0x5461f2?Gt(_0x2b3cea,_0x12c632):_0x2b3cea,_0x34f1d2=_0x150be0[_0x5cb7bc(0x229)]-0x1,_0x6a403c;_0x34f1d2>=0x0;_0x34f1d2--)(_0x6a403c=_0x150be0[_0x34f1d2])&&(_0x405aa8=_0x6a403c(_0x405aa8)||_0x405aa8);return _0x405aa8;},_e=(_0x58a49f,_0xdbdcc1)=>(_0x3fc47b,_0x24ae22)=>_0xdbdcc1(_0x3fc47b,_0x24ae22,_0x58a49f);let ge=class extends a['Disposable']{constructor(_0x895c08,_0x579ccc,_0x500dba){const _0x572305=_0x5db9f2;super(),h(this,_0x572305(0x1db),new Map()),h(this,_0x572305(0x35e),new Map()),h(this,_0x572305(0x39b),!0x1),(this['_configService']=_0x895c08,this[_0x572305(0x20b)]=_0x579ccc,this['_revisionService']=_0x500dba);}[_0x5db9f2(0x237)](){this['_disabled']=!0x0;}[_0x5db9f2(0x223)](){const _0x1412d6=_0x5db9f2;this[_0x1412d6(0x39b)]=!0x1;}get[_0x5db9f2(0x22f)](){const _0x9a9c52=_0x5db9f2;return this[_0x9a9c52(0x35e)];}[_0x5db9f2(0x25e)](){const _0x3702a8=_0x5db9f2;this[_0x3702a8(0x26c)]()['then'](()=>super[_0x3702a8(0x25e)]());}async[_0x5db9f2(0x3a2)](_0x3deb4f){const _0x19cca2=_0x5db9f2;return this[_0x19cca2(0x39b)]?null:this[_0x19cca2(0x20b)][_0x19cca2(0x390)](u[_0x19cca2(0x372)](_0x3deb4f));}async[_0x5db9f2(0x300)](_0x4d5917,_0x363598){const _0x770de0=_0x5db9f2;return!!this[_0x770de0(0x20b)][_0x770de0(0x297)](_0x4d5917,_0x363598);}[_0x5db9f2(0x333)](_0x241192,_0x24cf10,_0xcdee30,_0x1170b8){const _0x40336d=_0x5db9f2,_0x34f9b3=this['_revisionService'][_0x40336d(0x3c9)](_0x241192);this['_cachedData'][_0x40336d(0x335)](_0x241192,{'unitID':_0x241192,'type':_0x24cf10,'awaitingChangeset':_0xcdee30,'mutations':_0x1170b8,'rev':_0x34f9b3}),this[_0x40336d(0x35e)][_0x40336d(0x2a6)](_0x241192)||this[_0x40336d(0x247)](_0x241192);}[_0x5db9f2(0x247)](_0x579a5e){const _0x1ea956=_0x5db9f2,_0x5801c3=this[_0x1ea956(0x3ac)]();_0x5801c3===0x0?this[_0x1ea956(0x1af)](_0x579a5e):this['_saveTaskMap']['set'](_0x579a5e,setTimeout(()=>this[_0x1ea956(0x1af)](_0x579a5e),_0x5801c3));}[_0x5db9f2(0x3ac)](){const _0x270758=_0x5db9f2;var _0x14038c;return(_0x14038c=this[_0x270758(0x201)][_0x270758(0x1f9)](u[_0x270758(0x206)]))!=null?_0x14038c:u[_0x270758(0x30b)];}['_saveCache'](_0x5e8c14){const _0x1d478b=_0x5db9f2,_0x409e0c=this[_0x1d478b(0x35e)][_0x1d478b(0x1b2)](_0x5e8c14);return _0x409e0c!==void 0x0&&window[_0x1d478b(0x315)](_0x409e0c),this[_0x1d478b(0x20b)][_0x1d478b(0x297)](u[_0x1d478b(0x372)](_0x5e8c14),this['_cachedData'][_0x1d478b(0x1b2)](_0x5e8c14))[_0x1d478b(0x1d3)](()=>this['_saveTaskMap'][_0x1d478b(0x1aa)](_0x5e8c14));}async['exhaustSavingTask'](){const _0x5dafa7=_0x5db9f2,_0x59cbe5=[];this[_0x5dafa7(0x35e)]['forEach']((_0x12d870,_0x119135)=>{const _0x44087e=_0x5dafa7;window[_0x44087e(0x315)](_0x12d870),_0x59cbe5[_0x44087e(0x1e0)](this[_0x44087e(0x1af)](_0x119135)[_0x44087e(0x1d3)](()=>{const _0x33c162=_0x44087e;this['_saveTaskMap'][_0x33c162(0x1aa)](_0x119135);}));}),await Promise[_0x5dafa7(0x3af)](_0x59cbe5);}};ge=qt([_e(0x0,a['IConfigService']),_e(0x1,a[_0x5db9f2(0x1b5)]),_e(0x2,a[_0x5db9f2(0x319)](m[_0x5db9f2(0x1f3)]))],ge);class je extends a[_0x5db9f2(0x321)]{constructor(){const _0x363511=_0x5db9f2;super(),h(this,_0x363511(0x195)),this[_0x363511(0x195)]=d['fromEvent'](window,_0x363511(0x35f))[_0x363511(0x37b)](d[_0x363511(0x2a3)](this[_0x363511(0x3c7)]),d[_0x363511(0x264)](0x1),d['mapTo'](void 0x0));}[_0x5db9f2(0x1eb)](_0x368206,_0x5abdd8,_0x3f62da=!0x1){const _0x436b9f=_0x5db9f2,_0x318ef0=new URL(window[_0x436b9f(0x2cc)][_0x436b9f(0x2c8)]);_0x318ef0['searchParams'][_0x436b9f(0x335)](_0x368206,_0x5abdd8),_0x3f62da?window[_0x436b9f(0x3cc)][_0x436b9f(0x192)]('','',_0x318ef0[_0x436b9f(0x359)]()):window[_0x436b9f(0x3cc)][_0x436b9f(0x285)]('','',_0x318ef0['toString']());}['removeParam'](_0x49628e,_0x4599dd=!0x1){const _0x3d921d=_0x5db9f2,_0x2f574c=new URL(window[_0x3d921d(0x2cc)][_0x3d921d(0x2c8)]);_0x2f574c[_0x3d921d(0x316)]['delete'](_0x49628e),_0x4599dd?window['history'][_0x3d921d(0x192)]('','',_0x2f574c[_0x3d921d(0x359)]()):window['history'][_0x3d921d(0x285)]('','',_0x2f574c['toString']());}['getParam'](_0x3b05c8){const _0x125500=_0x5db9f2;var _0xae0aaa;return(_0xae0aaa=new URL(window[_0x125500(0x2cc)][_0x125500(0x2c8)])['searchParams'][_0x125500(0x1b2)](_0x3b05c8))!=null?_0xae0aaa:void 0x0;}}var Kt=Object[_0x5db9f2(0x1a1)],zt=Object[_0x5db9f2(0x3ce)],Jt=(_0x391f53,_0x4c46b9,_0xb13e65)=>_0x4c46b9 in _0x391f53?Kt(_0x391f53,_0x4c46b9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb13e65}):_0x391f53[_0x4c46b9]=_0xb13e65,Zt=(_0x308126,_0x11ee87,_0x27023a,_0x210c94)=>{const _0x141c17=_0x5db9f2;for(var _0x1f1e92=_0x210c94>0x1?void 0x0:_0x210c94?zt(_0x11ee87,_0x27023a):_0x11ee87,_0xd3c0eb=_0x308126[_0x141c17(0x229)]-0x1,_0x2c062f;_0xd3c0eb>=0x0;_0xd3c0eb--)(_0x2c062f=_0x308126[_0xd3c0eb])&&(_0x1f1e92=_0x2c062f(_0x1f1e92)||_0x1f1e92);return _0x1f1e92;},he=(_0x1ec8bd,_0x563e62)=>(_0x493d24,_0x4c6aff)=>_0x563e62(_0x493d24,_0x4c6aff,_0x1ec8bd),Qt=(_0x2e8bb7,_0x344a45,_0x57d88d)=>Jt(_0x2e8bb7,_0x344a45+'',_0x57d88d);const es=_0x5db9f2(0x1b7);exports[_0x5db9f2(0x1ac)]=class extends a[_0x5db9f2(0x3bf)]{constructor(_0x545bc3=Ue,_0x15bda8,_0x2de63e,_0x2f3b72){const _0x5d2c0b=_0x5db9f2;super(),this[_0x5d2c0b(0x2b7)]=_0x545bc3,this[_0x5d2c0b(0x187)]=_0x15bda8,this[_0x5d2c0b(0x17d)]=_0x2de63e,this['_configService']=_0x2f3b72;const {..._0x307579}=a[_0x5d2c0b(0x347)]({},Ue,this[_0x5d2c0b(0x2b7)]);this['_configService'][_0x5d2c0b(0x35b)]($t,_0x307579);}[_0x5db9f2(0x3dc)](){const _0x4108d1=_0x5db9f2;this['_registerDependencies'](),this[_0x4108d1(0x1b0)]();}[_0x5db9f2(0x3a6)](){this['_registerRenderDependencies']();}[_0x5db9f2(0x2fa)](){const _0x4262a1=_0x5db9f2;var _0x5778bd;const _0x3739d7=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x4262a1(0x26a)],{'useClass':G[_0x4262a1(0x303)]}],[u['ILocalCacheService'],{'useClass':ge}],[exports[_0x4262a1(0x20a)]],[Q],[K],[x],[de],[exports[_0x4262a1(0x262)]]];a[_0x4262a1(0x188)](this[_0x4262a1(0x17d)],a[_0x4262a1(0x20f)](_0x3739d7,(_0x5778bd=this[_0x4262a1(0x2b7)])==null?void 0x0:_0x5778bd['override']));}['_registerRenderDependencies'](){const _0x529a99=_0x5db9f2;this[_0x529a99(0x2a4)](this['_renderManagerService'][_0x529a99(0x218)](a['UniverInstanceType']['UNIVER_DOC'],[Ie])),this['disposeWithMe'](this[_0x529a99(0x187)][_0x529a99(0x218)](a[_0x529a99(0x317)]['UNIVER_SHEET'],[ve]));}['_initDependencies'](){const _0x43892e=_0x5db9f2;a[_0x43892e(0x1b6)](this[_0x43892e(0x17d)],[[x],[exports[_0x43892e(0x20a)]],[Q],[K],[exports[_0x43892e(0x262)]]]);}},Qt(exports[_0x5db9f2(0x1ac)],'pluginName',es),exports[_0x5db9f2(0x1ac)]=Zt([a['DependentOn'](u[_0x5db9f2(0x278)]),he(0x1,p[_0x5db9f2(0x37a)]),he(0x2,a[_0x5db9f2(0x319)](a['Injector'])),he(0x3,a[_0x5db9f2(0x374)])],exports[_0x5db9f2(0x1ac)]);var ts=Object[_0x5db9f2(0x3ce)],ss=(_0x45e2a3,_0x3c25bc,_0x42597b,_0x7c4c2b)=>{const _0x29d1f7=_0x5db9f2;for(var _0x19e4d1=_0x7c4c2b>0x1?void 0x0:_0x7c4c2b?ts(_0x3c25bc,_0x42597b):_0x3c25bc,_0x6f2a0f=_0x45e2a3[_0x29d1f7(0x229)]-0x1,_0x5f1f2a;_0x6f2a0f>=0x0;_0x6f2a0f--)(_0x5f1f2a=_0x45e2a3[_0x6f2a0f])&&(_0x19e4d1=_0x5f1f2a(_0x19e4d1)||_0x19e4d1);return _0x19e4d1;},F=(_0x454113,_0x9f16d0)=>(_0x59f90d,_0x4cea7e)=>_0x9f16d0(_0x59f90d,_0x4cea7e,_0x454113);exports[_0x5db9f2(0x28d)]=class extends u[_0x5db9f2(0x3ee)]{constructor(_0x5f3eec,_0x44a921,_0x21580a,_0x59fbf0,_0x31bf1c){super(_0x5f3eec,_0x44a921,_0x21580a,_0x59fbf0,_0x31bf1c);}async[_0x5db9f2(0x392)](_0x4fec7b){const _0x5cab79=_0x5db9f2,_0x26cf99=await this['_getSessionTicket'](),_0x28cf5e=this[_0x5cab79(0x288)](_0x4fec7b,_0x26cf99);return this['_doCreateSocket'](_0x28cf5e);}['_createSocketURL'](_0x163657,_0x2ab048){const _0x358051=_0x5db9f2,_0xa1ee44=typeof window>'u'?new URL(_0x163657):new URL(_0x163657,window[_0x358051(0x2cc)][_0x358051(0x37e)]);_0xa1ee44[_0x358051(0x316)][_0x358051(0x335)](_0x358051(0x24c),_0x2ab048);const _0x1f9427=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x358051(0x2e7)]);return _0x1f9427[_0x358051(0x1b2)]('runId')&&_0xa1ee44[_0x358051(0x316)][_0x358051(0x335)]('runId',_0x1f9427['get']('runId')),_0xa1ee44[_0x358051(0x359)]();}async[_0x5db9f2(0x1e7)](){const _0x2f8d17=_0x5db9f2;var _0x5913ce,_0x3933ae,_0x4712bd;const _0x5dc196=this['_configService'][_0x2f8d17(0x1f9)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x22af85=(_0x5913ce=_0x5dc196==null?void 0x0:_0x5dc196['wsSessionTicketUrl'])!=null?_0x5913ce:u[_0x2f8d17(0x22d)];return(_0x4712bd=(_0x3933ae=(await this[_0x2f8d17(0x286)][_0x2f8d17(0x1b2)](_0x22af85,{'headers':{'Content-Type':_0x2f8d17(0x2d6)}}))[_0x2f8d17(0x1f7)])==null?void 0x0:_0x3933ae[_0x2f8d17(0x284)])!=null?_0x4712bd:'';}},exports['BrowserCollaborationSocketService']=ss([F(0x0,a['Inject'](a[_0x5db9f2(0x204)])),F(0x1,a[_0x5db9f2(0x319)](G[_0x5db9f2(0x1f1)])),F(0x2,a['IConfigService']),F(0x3,a[_0x5db9f2(0x198)]),F(0x4,m['ISnapshotServerService'])],exports['BrowserCollaborationSocketService']);const Me=0x7530,Le=_0x5db9f2(0x1ef);class is extends a['Disposable']{constructor(){const _0x2fe047=_0x5db9f2;super(),h(this,_0x2fe047(0x380),a[_0x2fe047(0x202)]()),h(this,_0x2fe047(0x25f),new Set()),h(this,_0x2fe047(0x227),new Map()),h(this,_0x2fe047(0x1d2),null),h(this,_0x2fe047(0x23c),new Map()),h(this,_0x2fe047(0x3b9),new Map()),this[_0x2fe047(0x16c)]();}[_0x5db9f2(0x25e)](){const _0x22cdc0=_0x5db9f2;super[_0x22cdc0(0x25e)](),this['_clearOtherTimers'][_0x22cdc0(0x39e)]((_0x38588b,_0x4361ac)=>this[_0x22cdc0(0x179)](_0x4361ac)),this[_0x22cdc0(0x1d2)]&&window[_0x22cdc0(0x269)](this[_0x22cdc0(0x1d2)]);}[_0x5db9f2(0x3ed)](_0x517171){const _0x1cc846=_0x5db9f2;return this[_0x1cc846(0x290)](_0x517171)[_0x1cc846(0x37b)](d[_0x1cc846(0x2ad)]());}[_0x5db9f2(0x3a8)](_0x105290){const _0x4a3029=_0x5db9f2;this[_0x4a3029(0x25f)][_0x4a3029(0x25b)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4a3029(0x25f)][_0x4a3029(0x365)](_0x105290),this[_0x4a3029(0x2b2)]({'type':0x0,'memberID':this[_0x4a3029(0x380)],'unitIDs':[_0x105290],'isForwarded':!0x1});}[_0x5db9f2(0x2d3)](_0x5e9a59){const _0x52aca9=_0x5db9f2;this[_0x52aca9(0x25f)]['delete'](_0x5e9a59),this[_0x52aca9(0x25f)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x52aca9(0x269)](this[_0x52aca9(0x1d2)]);}[_0x5db9f2(0x16c)](){const _0x2f9d1e=_0x5db9f2;this[_0x2f9d1e(0x2a4)](a['toDisposable'](d[_0x2f9d1e(0x330)](window,'storage')[_0x2f9d1e(0x2dc)](_0x26b88a=>{const _0x2fb69d=_0x2f9d1e;if(_0x26b88a[_0x2fb69d(0x29f)]!==Le||!_0x26b88a[_0x2fb69d(0x33f)])return;const _0x5c9eaa=JSON['parse'](_0x26b88a['newValue']);this[_0x2fb69d(0x2eb)](_0x5c9eaa);}))),window[_0x2f9d1e(0x29c)](_0x2f9d1e(0x310),()=>this[_0x2f9d1e(0x2b2)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2f9d1e(0x3d6)](this[_0x2f9d1e(0x25f)])}));}[_0x5db9f2(0x2eb)](_0x99fcb5){const _0x34ef6d=_0x5db9f2;switch(_0x99fcb5['type']){case 0x0:this[_0x34ef6d(0x213)](_0x99fcb5);break;case 0x1:this[_0x34ef6d(0x3b1)](_0x99fcb5);break;case 0x2:this[_0x34ef6d(0x25a)](_0x99fcb5);break;}}[_0x5db9f2(0x213)](_0x21fa4b){const _0x13e2be=_0x5db9f2,{unitIDs:_0x42069f,memberID:_0x9857bf,isForwarded:_0x128f2e}=_0x21fa4b;_0x42069f[_0x13e2be(0x39e)](_0x3e9b06=>{const _0x4fa6bd=_0x13e2be;if(!_0x128f2e&&this[_0x4fa6bd(0x227)][_0x4fa6bd(0x2a6)](_0x3e9b06)&&this[_0x4fa6bd(0x290)](_0x3e9b06)['next'](u[_0x4fa6bd(0x261)][_0x4fa6bd(0x39d)]),!this[_0x4fa6bd(0x227)][_0x4fa6bd(0x2a6)](_0x3e9b06)||!this['_unitOnClients'][_0x4fa6bd(0x1b2)](_0x3e9b06)[_0x4fa6bd(0x2a6)](_0x9857bf)){const _0x123816=this['_unitOnClients']['get'](_0x3e9b06)||new Set();_0x123816[_0x4fa6bd(0x365)](_0x9857bf),this[_0x4fa6bd(0x227)]['set'](_0x3e9b06,_0x123816),this[_0x4fa6bd(0x3a0)](_0x9857bf);}}),_0x128f2e||this[_0x13e2be(0x2b2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x13e2be(0x25f)]],'isForwarded':!0x0});}[_0x5db9f2(0x3a0)](_0x9a88ee){const _0x4bd654=_0x5db9f2;this['_removeClearOtherTimer'](_0x9a88ee);const _0x296f1f=window[_0x4bd654(0x234)](()=>{const _0x4967fe=_0x4bd654;this[_0x4967fe(0x227)][_0x4967fe(0x39e)](_0x3d3e45=>{const _0xf28bd3=_0x4967fe;_0x3d3e45[_0xf28bd3(0x1aa)](_0x9a88ee);});},Me*0x2);this[_0x4bd654(0x23c)][_0x4bd654(0x335)](_0x9a88ee,_0x296f1f);}['_removeClearOtherTimer'](_0xaecf54){const _0x24449c=_0x5db9f2;if(this[_0x24449c(0x23c)][_0x24449c(0x2a6)](_0xaecf54)){const _0x3b02fb=this[_0x24449c(0x23c)][_0x24449c(0x1b2)](_0xaecf54);_0x3b02fb&&window[_0x24449c(0x315)](_0x3b02fb),this[_0x24449c(0x23c)][_0x24449c(0x335)](_0xaecf54,null);}}[_0x5db9f2(0x3b1)](_0x5be0a9){const _0x5c5370=_0x5db9f2,{memberID:_0x2cda5c,unitIDs:_0x3ec96a}=_0x5be0a9;_0x3ec96a[_0x5c5370(0x39e)](_0x4ca04b=>{const _0x30b152=_0x5c5370;var _0x296b08;const _0x3a5ed6=this[_0x30b152(0x227)]['get'](_0x4ca04b);_0x3a5ed6&&(_0x3a5ed6[_0x30b152(0x1aa)](_0x2cda5c),(_0x296b08=this[_0x30b152(0x290)](_0x4ca04b))==null||_0x296b08[_0x30b152(0x1e5)](_0x3a5ed6[_0x30b152(0x25b)]===0x0?u[_0x30b152(0x261)][_0x30b152(0x17b)]:u['UnitStatus'][_0x30b152(0x39d)]));}),this[_0x5c5370(0x179)](_0x2cda5c);}[_0x5db9f2(0x25a)](_0x2b9bd5){const _0x6cd971=_0x5db9f2;this['_scheduleClearOtherTimer'](_0x2b9bd5[_0x6cd971(0x3c0)]);}['_send'](_0x59335c){const _0x3d1963=_0x5db9f2;localStorage['setItem'](Le,JSON[_0x3d1963(0x3ae)](_0x59335c));}[_0x5db9f2(0x1a9)](){const _0x367319=_0x5db9f2;this[_0x367319(0x1d2)]=window[_0x367319(0x314)](()=>{const _0x178081=_0x367319;this[_0x178081(0x2b2)]({'type':0x2,'memberID':this[_0x178081(0x380)]});},Me);}['_ensureSubject'](_0x25fd81){const _0x26593b=_0x5db9f2;return this[_0x26593b(0x3b9)][_0x26593b(0x2a6)](_0x25fd81)||this[_0x26593b(0x3b9)][_0x26593b(0x335)](_0x25fd81,new d[(_0x26593b(0x3b3))](u[_0x26593b(0x261)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x26593b(0x3b9)][_0x26593b(0x1b2)](_0x25fd81);}}var Be=(_0xfbfddf=>(_0xfbfddf[_0xfbfddf['UNDEFINED']=0x0]=_0x5db9f2(0x1ca),_0xfbfddf[_0xfbfddf['OK']=0x1]='OK',_0xfbfddf[_0xfbfddf['INTERNAL_ERROR']=0x2]=_0x5db9f2(0x3eb),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x323)]=0x3]=_0x5db9f2(0x323),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x1de)]=0x4]=_0x5db9f2(0x1de),_0xfbfddf[_0xfbfddf['UNAUTHENTICATED']=0x5]=_0x5db9f2(0x2d8),_0xfbfddf[_0xfbfddf['ALREADY_EXISTS']=0x6]=_0x5db9f2(0x180),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x36f)]=0x7]=_0x5db9f2(0x36f),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x214)]=0x8]=_0x5db9f2(0x214),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x3bd)]=0x9]=_0x5db9f2(0x3bd),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x23e)]=0xa]=_0x5db9f2(0x23e),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x296)]=0x1389]=_0x5db9f2(0x296),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x1c8)]=0x1771]=_0x5db9f2(0x1c8),_0xfbfddf[_0xfbfddf['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x5db9f2(0x21e),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x2c5)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xfbfddf[_0xfbfddf[_0x5db9f2(0x18a)]=0x1b59]=_0x5db9f2(0x18a),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x1a5)]=0x1b5a]=_0x5db9f2(0x1a5),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x3c4)]=0x1b5b]=_0x5db9f2(0x3c4),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x31a)]=0x1b5c]=_0x5db9f2(0x31a),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x181)]=0x1b5d]=_0x5db9f2(0x181),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x30a)]=0x1f41]=_0x5db9f2(0x30a),_0xfbfddf[_0xfbfddf['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5db9f2(0x1cd),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x185)]=0x232a]=_0x5db9f2(0x185),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x2d1)]=0x232b]=_0x5db9f2(0x2d1),_0xfbfddf[_0xfbfddf['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5db9f2(0x366),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x386)]=0x232d]=_0x5db9f2(0x386),_0xfbfddf[_0xfbfddf['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5db9f2(0x2fd),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x220)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xfbfddf[_0xfbfddf[_0x5db9f2(0x371)]=0x2713]=_0x5db9f2(0x371),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x306)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xfbfddf[_0xfbfddf['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x5db9f2(0x377),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x26d)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xfbfddf[_0xfbfddf[_0x5db9f2(0x2d7)]=0x2af9]=_0x5db9f2(0x2d7),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x203)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xfbfddf[_0xfbfddf[_0x5db9f2(0x27a)]=0x2ee2]=_0x5db9f2(0x27a),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x18c)]=0x2ee3]='INVITE_CODE_REQUIRED',_0xfbfddf[_0xfbfddf[_0x5db9f2(0x1a6)]=0x2ee4]=_0x5db9f2(0x1a6),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x2e2)]=0x2ee5]=_0x5db9f2(0x2e2),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x225)]=0x32c9]=_0x5db9f2(0x225),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x399)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xfbfddf[_0xfbfddf[_0x5db9f2(0x338)]=0x32cb]=_0x5db9f2(0x338),_0xfbfddf[_0xfbfddf['UNRECOGNIZED']=-0x1]=_0x5db9f2(0x30d),_0xfbfddf))(Be||{}),ns=Object[_0x5db9f2(0x3ce)],rs=(_0x2f9ab0,_0x1e1bd9,_0x19d630,_0x4cd693)=>{const _0x23cce3=_0x5db9f2;for(var _0xaac6ec=_0x4cd693>0x1?void 0x0:_0x4cd693?ns(_0x1e1bd9,_0x19d630):_0x1e1bd9,_0x46a488=_0x2f9ab0[_0x23cce3(0x229)]-0x1,_0x55865e;_0x46a488>=0x0;_0x46a488--)(_0x55865e=_0x2f9ab0[_0x46a488])&&(_0xaac6ec=_0x55865e(_0xaac6ec)||_0xaac6ec);return _0xaac6ec;},ue=(_0x4f1662,_0x5e9bf2)=>(_0x39cec5,_0x1a735e)=>_0x5e9bf2(_0x39cec5,_0x1a735e,_0x4f1662);exports[_0x5db9f2(0x3a3)]=class extends a['Disposable']{constructor(_0x4ac71d,_0x1d2500,_0xd13ce0){const _0xca6d96=_0x5db9f2;super(),this[_0xca6d96(0x16f)]=_0x4ac71d,this[_0xca6d96(0x286)]=_0x1d2500,this['_configService']=_0xd13ce0;}async[_0x5db9f2(0x244)](_0x40f518,_0x20b325,_0xe07156,..._0x7b53e1){const _0x20e123=_0x5db9f2;var _0x2a6e74,_0x34fff2,_0xca56e9,_0x2b7408;const _0x21711b=this['_instanceService'][_0x20e123(0x24e)]();if(!_0x21711b)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5d996b=((_0x2a6e74=this['_configService'][_0x20e123(0x1f9)](u[_0x20e123(0x2af)]))!=null?_0x2a6e74:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x40f518+'/run/'+_0x20b325,_0x5b578d=new URL(window[_0x20e123(0x2cc)][_0x20e123(0x2c8)]),_0x317f71={'scriptId':_0x40f518,'runId':(_0x34fff2=_0x5b578d[_0x20e123(0x316)]['get'](_0x20e123(0x2e6)))!=null?_0x34fff2:'','function':_0x20b325,'unitId':_0x21711b[_0x20e123(0x312)](),'argsOfFunction':JSON[_0x20e123(0x3ae)](_0x7b53e1),'invokeId':(_0xca56e9=_0xe07156[_0x20e123(0x31e)])!=null?_0xca56e9:'','executionId':(_0x2b7408=_0xe07156['executionId'])!=null?_0x2b7408:''};try{const _0x4ef283=await this['_httpService']['post'](_0x5d996b,{'body':_0x317f71});return _0x4ef283[_0x20e123(0x1f7)][_0x20e123(0x250)]&&_0x4ef283[_0x20e123(0x1f7)]['error'][_0x20e123(0x171)]!==Be['OK']?_0x20e123(0x3cd):_0x4ef283[_0x20e123(0x1f7)]['result'];}catch{return'Failed';}}},exports['RemoteUniscriptService']=rs([ue(0x0,a[_0x5db9f2(0x24f)]),ue(0x1,a[_0x5db9f2(0x319)](G[_0x5db9f2(0x1f1)])),ue(0x2,a[_0x5db9f2(0x374)])],exports[_0x5db9f2(0x3a3)]),exports['CollaborationStatusDisplay']=xe,exports[_0x5db9f2(0x1ad)]=be,exports['SheetCollabCursorShape']=we,exports[_0x5db9f2(0x27c)]=is,exports[_0x5db9f2(0x17e)]=je;
1
+ 'use strict';const _0xe0cd3b=_0x2793;(function(_0x195c4c,_0x42fb21){const _0x56851e=_0x2793,_0x1d238a=_0x195c4c();while(!![]){try{const _0x3834ad=parseInt(_0x56851e(0x24a))/0x1+-parseInt(_0x56851e(0x1a6))/0x2*(-parseInt(_0x56851e(0x300))/0x3)+-parseInt(_0x56851e(0x390))/0x4+parseInt(_0x56851e(0x168))/0x5*(parseInt(_0x56851e(0x318))/0x6)+parseInt(_0x56851e(0x34c))/0x7+-parseInt(_0x56851e(0x2c2))/0x8*(parseInt(_0x56851e(0x213))/0x9)+-parseInt(_0x56851e(0x389))/0xa*(parseInt(_0x56851e(0x334))/0xb);if(_0x3834ad===_0x42fb21)break;else _0x1d238a['push'](_0x1d238a['shift']());}catch(_0x8e0b63){_0x1d238a['push'](_0x1d238a['shift']());}}}(_0x6ca9,0x3f52c));var Ve=Object[_0xe0cd3b(0x394)],Xe=(_0xf3e10a,_0x23ef34,_0x30b4e0)=>_0x23ef34 in _0xf3e10a?Ve(_0xf3e10a,_0x23ef34,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30b4e0}):_0xf3e10a[_0x23ef34]=_0x30b4e0,h=(_0x187da9,_0x31a04,_0x160cfe)=>Xe(_0x187da9,typeof _0x31a04!=_0xe0cd3b(0x31b)?_0x31a04+'':_0x31a04,_0x160cfe);Object[_0xe0cd3b(0x394)](exports,Symbol[_0xe0cd3b(0x2ad)],{'value':_0xe0cd3b(0x179)});const u=require(_0xe0cd3b(0x303)),a=require(_0xe0cd3b(0x30a)),p=require(_0xe0cd3b(0x252)),G=require(_0xe0cd3b(0x327)),b=require(_0xe0cd3b(0x366)),Ge=require(_0xe0cd3b(0x2b1)),d=require(_0xe0cd3b(0x33e)),W=require(_0xe0cd3b(0x322)),m=require(_0xe0cd3b(0x3c1)),Ee=require(_0xe0cd3b(0x248)),g=require('@univerjs/sheets'),$=require(_0xe0cd3b(0x28f)),X=require('@univerjs/sheets-ui'),P=require(_0xe0cd3b(0x1f6)),T=require(_0xe0cd3b(0x2cb)),D=require(_0xe0cd3b(0x2e2)),M=require(_0xe0cd3b(0x283)),qe=require(_0xe0cd3b(0x2eb));var Ke=Object[_0xe0cd3b(0x1a0)],ze=(_0x32975c,_0x1983e9,_0x5a38c3,_0x5ad664)=>{const _0x7a6e36=_0xe0cd3b;for(var _0x1750af=_0x5ad664>0x1?void 0x0:_0x5ad664?Ke(_0x1983e9,_0x5a38c3):_0x1983e9,_0x2d9fc6=_0x32975c[_0x7a6e36(0x3c2)]-0x1,_0x4c00ee;_0x2d9fc6>=0x0;_0x2d9fc6--)(_0x4c00ee=_0x32975c[_0x2d9fc6])&&(_0x1750af=_0x4c00ee(_0x1750af)||_0x1750af);return _0x1750af;},Te=(_0x6b05e3,_0x55d46c)=>(_0x321443,_0x382634)=>_0x55d46c(_0x321443,_0x382634,_0x6b05e3);let de=class extends a[_0xe0cd3b(0x2f8)]{constructor(_0x4d9af2,_0x551139){const _0x4126e4=_0xe0cd3b;super(),this[_0x4126e4(0x2aa)]=_0x4d9af2,this[_0x4126e4(0x254)]=_0x551139,this[_0x4126e4(0x378)]();}[_0xe0cd3b(0x378)](){const _0x5870c0=_0xe0cd3b,_0x5d7974=this;this[_0x5870c0(0x1d3)](this[_0x5870c0(0x2aa)]['addClipboardHook']({'onBeforePasteImage':async _0x4a9f68=>{const _0x418fb3=_0x5870c0,_0x332912=await _0x5d7974['_imageIoService'][_0x418fb3(0x232)](_0x4a9f68);return _0x332912?{'source':_0x332912['source'],'imageSourceType':_0x332912[_0x418fb3(0x161)]}:null;}}));}};de=ze([Te(0x0,b['IDocClipboardService']),Te(0x1,Ge[_0xe0cd3b(0x20e)])],de);const Oe=[_0xe0cd3b(0x33a),_0xe0cd3b(0x221),_0xe0cd3b(0x345),_0xe0cd3b(0x1b1),'blue400',_0xe0cd3b(0x27a)];class me extends a[_0xe0cd3b(0x1e4)]{constructor(){const _0x4814f9=_0xe0cd3b;super(...arguments),h(this,_0x4814f9(0x360),new Map()),h(this,_0x4814f9(0x316),0x0);}[_0xe0cd3b(0x2ee)](_0xd42d16){const _0x1bf2b6=_0xe0cd3b;if(this[_0x1bf2b6(0x360)][_0x1bf2b6(0x199)](_0xd42d16))return this[_0x1bf2b6(0x360)][_0x1bf2b6(0x2f1)](_0xd42d16);const _0x10c238=Oe[this[_0x1bf2b6(0x316)]];return this[_0x1bf2b6(0x316)]=(this[_0x1bf2b6(0x316)]+0x1)%Oe[_0x1bf2b6(0x3c2)],this[_0x1bf2b6(0x360)][_0x1bf2b6(0x2f7)](_0xd42d16,_0x10c238),_0x10c238;}}function Pe(_0x5b89bc){const _0x13a2cd=_0xe0cd3b;let _0x274581='';for(const _0x157bd3 of _0x5b89bc){const {startOffset:_0x50955c,endOffset:_0xcc87c3,isActive:_0x1b74de,rangeType:_0x2776e6,segmentId:_0x32462e,segmentPage:_0x2b9ace}=_0x157bd3;_0x274581[_0x13a2cd(0x3c2)]&&(_0x274581+=','),_0x274581+=_0x50955c+':'+_0xcc87c3+':'+(_0x1b74de?'1':'0')+':'+_0x2776e6+':'+_0x32462e+':'+_0x2b9ace;}return _0x274581;}function Je(_0x61afac){const _0x26eefe=_0xe0cd3b,_0x12da9c=_0x61afac[_0x26eefe(0x1e1)](','),_0x29c13a=[];for(const _0xb22712 of _0x12da9c){const [_0x4b0c37,_0x4dcbb1,_0xcc7818,_0x536bb4,_0x3a1ad8,_0x414a1f]=_0xb22712['split'](':');_0x29c13a[_0x26eefe(0x225)]({'startOffset':Number(_0x4b0c37),'endOffset':Number(_0x4dcbb1),'collapsed':_0x4b0c37===_0x4dcbb1,'isActive':_0xcc7818==='1','rangeType':_0x536bb4===a[_0x26eefe(0x173)][_0x26eefe(0x165)]?a[_0x26eefe(0x173)][_0x26eefe(0x165)]:a[_0x26eefe(0x173)][_0x26eefe(0x1b4)],'segmentId':typeof _0x3a1ad8==_0x26eefe(0x1a3)?String(_0x3a1ad8):'','segmentPage':Number(_0x414a1f!=null?_0x414a1f:-0x1)});}return _0x29c13a[_0x26eefe(0x305)](_0x729c61=>_0x729c61['isActive'])||(_0x29c13a[0x0][_0x26eefe(0x21c)]=!0x0),_0x29c13a;}class Ce extends a['RxDisposable']{constructor(){const _0x4ef546=_0xe0cd3b;super(...arguments),h(this,'_collabCursorState$',new d[(_0x4ef546(0x2b4))](null)),h(this,_0x4ef546(0x265),this[_0x4ef546(0x23e)][_0x4ef546(0x336)]());}[_0xe0cd3b(0x2d2)](_0x38d538){const _0x4bb539=_0xe0cd3b,{unitID:_0xaafbf5,memberID:_0x800763,textRanges:_0x14446e}=_0x38d538,_0x16060c=Pe(_0x14446e);if(_0x16060c==='')return;const _0x163ce7={'unitID':_0xaafbf5,'memberID':_0x800763,'selection':_0x16060c};this[_0x4bb539(0x23e)][_0x4bb539(0x294)](_0x163ce7);}}var Ze=Object[_0xe0cd3b(0x1a0)],Qe=(_0x4d7904,_0x283ac6,_0x42d75c,_0x50a758)=>{const _0x332adf=_0xe0cd3b;for(var _0x5651b4=_0x50a758>0x1?void 0x0:_0x50a758?Ze(_0x283ac6,_0x42d75c):_0x283ac6,_0xc44de8=_0x4d7904[_0x332adf(0x3c2)]-0x1,_0xca4e0c;_0xc44de8>=0x0;_0xc44de8--)(_0xca4e0c=_0x4d7904[_0xc44de8])&&(_0x5651b4=_0xca4e0c(_0x5651b4)||_0x5651b4);return _0x5651b4;},L=(_0x481291,_0x35b634)=>(_0x4d5cd2,_0x50440d)=>_0x35b634(_0x4d5cd2,_0x50440d,_0x481291);const et=0x12c,tt=0x64;let fe=class extends a[_0xe0cd3b(0x2f8)]{constructor(_0x15220f,_0x1971fe,_0x2b4ce6,_0xeb2272,_0x1e1da0,_0x1e745c,_0x1832e5,_0x4a6671,_0x145972){const _0x57077e=_0xe0cd3b;super(),h(this,_0x57077e(0x1cc),!0x1),h(this,_0x57077e(0x378),!0x1),h(this,_0x57077e(0x2cf),new d[(_0x57077e(0x2b4))](new Map())),h(this,_0x57077e(0x1a9),this[_0x57077e(0x2cf)]['asObservable']()),h(this,_0x57077e(0x1f3),new d[(_0x57077e(0x2b4))]([])),h(this,_0x57077e(0x31f),this['_roomMembers$'][_0x57077e(0x191)](d[_0x57077e(0x207)](et))),h(this,_0x57077e(0x273),a[_0x57077e(0x3be)](_0x496b6e=>{const _0x32ef49=_0x57077e,_0x5a5295={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x32ef49(0x216)],'memberID':this[_0x32ef49(0x15d)][_0x32ef49(0x2c5)](),'selection':Pe(_0x496b6e)}};this[_0x32ef49(0x15d)][_0x32ef49(0x2de)](_0x5a5295,this['unitID']);},tt)),(this[_0x57077e(0x216)]=_0x15220f,this['_session']=_0x1971fe,this[_0x57077e(0x1d0)]=_0x2b4ce6,this['_colorAssignService']=_0xeb2272,this['_memberService']=_0x1e1da0,this[_0x57077e(0x2a9)]=_0x1e745c,this[_0x57077e(0x2bf)]=_0x1832e5,this[_0x57077e(0x2a5)]=_0x4a6671,this[_0x57077e(0x242)]=_0x145972);}get[_0xe0cd3b(0x1aa)](){const _0x735cc5=_0xe0cd3b;return this['_cursorInfo$'][_0x735cc5(0x2a2)]();}get[_0xe0cd3b(0x19f)](){const _0x46b016=_0xe0cd3b;return this[_0x46b016(0x1f3)][_0x46b016(0x2a2)]();}[_0xe0cd3b(0x37f)](){const _0x5edda8=_0xe0cd3b;super[_0x5edda8(0x37f)](),this[_0x5edda8(0x2cf)]['next'](new Map()),this[_0x5edda8(0x2cf)][_0x5edda8(0x20d)](),this[_0x5edda8(0x1f3)][_0x5edda8(0x294)]([]),this[_0x5edda8(0x1f3)][_0x5edda8(0x20d)]();}['init'](){const _0x1603cf=_0xe0cd3b;this[_0x1603cf(0x378)]||(this['_init']=!0x0,this[_0x1603cf(0x15d)]['sessionStatus$'][_0x1603cf(0x191)](d[_0x1603cf(0x2c3)](this[_0x1603cf(0x1bf)]))['subscribe'](_0x5d8835=>{const _0x2dd037=_0x1603cf;_0x5d8835===u['SessionStatus']['ONLINE']?this[_0x2dd037(0x354)]():this['_toggleOffline']();}),this[_0x1603cf(0x15d)][_0x1603cf(0x249)][_0x1603cf(0x191)](d[_0x1603cf(0x2c3)](this[_0x1603cf(0x1bf)]))[_0x1603cf(0x29c)](_0x348ac6=>{const _0x317207=_0x1603cf,_0x4d5d9b=_0x348ac6['eventID'];_0x4d5d9b===m[_0x317207(0x148)]['UPDATE_CURSOR']&&this[_0x317207(0x26c)](_0x348ac6),_0x4d5d9b===m[_0x317207(0x148)][_0x317207(0x3a1)]&&this[_0x317207(0x1fc)](_0x348ac6);}),this[_0x1603cf(0x1d3)](this[_0x1603cf(0x242)][_0x1603cf(0x399)](_0x3d46d4=>{const _0xfdb861=_0x1603cf,_0x5364a8=_0x3d46d4[_0xfdb861(0x24c)];_0x5364a8!=null&&this[_0xfdb861(0x1cc)]&&_0x3d46d4['id']===W[_0xfdb861(0x247)]['id']&&_0x5364a8[_0xfdb861(0x351)]===this['unitID']&&_0x5364a8[_0xfdb861(0x185)]===!0x1&&_0x5364a8[_0xfdb861(0x27f)][_0xfdb861(0x3c2)]>0x0&&this[_0xfdb861(0x273)](_0x5364a8['ranges']);})),this[_0x1603cf(0x2a9)][_0x1603cf(0x265)][_0x1603cf(0x191)](d[_0x1603cf(0x2c3)](this[_0x1603cf(0x1bf)]))[_0x1603cf(0x29c)](_0x36a428=>{const _0x4c9d20=_0x1603cf;if((_0x36a428==null?void 0x0:_0x36a428[_0x4c9d20(0x216)])!==this[_0x4c9d20(0x216)])return;const _0x41d2f1={'eventID':m[_0x4c9d20(0x148)][_0x4c9d20(0x2e3)],'data':_0x36a428};this[_0x4c9d20(0x26c)](_0x41d2f1);}),this[_0x1603cf(0x1d3)](this[_0x1603cf(0x242)][_0x1603cf(0x399)](_0x26d21e=>{const _0x473c21=_0x1603cf;if(_0x26d21e[_0x473c21(0x24c)]==null)return;const _0x33cc87=_0x26d21e[_0x473c21(0x24c)];if(_0x26d21e['id']!==W[_0x473c21(0x3ad)]['id']||_0x33cc87[_0x473c21(0x351)]!==this[_0x473c21(0x216)])return;const _0x883d39={'id':_0x473c21(0x3b9),'params':_0x33cc87},_0x4c62c1=this[_0x473c21(0x1aa)];for(const [_0x4d902c,_0x4cd937]of _0x4c62c1){const _0x5deb76={'id':_0x473c21(0x3b9),'params':{'unitId':this[_0x473c21(0x216)],'actions':null,'textRanges':_0x4cd937[_0x473c21(0x27f)]}},_0x5e3c68=this[_0x473c21(0x2bf)][_0x473c21(0x260)](_0x883d39,_0x5deb76,!0x1);if(m['isTransformMutationFailure'](_0x5e3c68))throw _0x5e3c68[_0x473c21(0x274)];_0x4c62c1[_0x473c21(0x2f7)](_0x4d902c,{..._0x4cd937,'ranges':_0x5e3c68[_0x473c21(0x2f2)][_0x473c21(0x24c)][_0x473c21(0x2b3)]});}queueMicrotask(()=>{const _0x2d3096=_0x473c21;this[_0x2d3096(0x2cf)][_0x2d3096(0x294)](_0x4c62c1);});})));}['_onCursorUpdate'](_0x29d924){const _0x1395d4=_0xe0cd3b;var _0x48055e,_0x3d8946;const {memberID:_0x24801e,selection:_0x18d3ae}=_0x29d924[_0x1395d4(0x16d)],_0xbe6f24=Je(_0x18d3ae),_0x38d458=(_0x3d8946=(_0x48055e=this[_0x1395d4(0x24b)][_0x1395d4(0x23f)](this[_0x1395d4(0x216)],_0x24801e))==null?void 0x0:_0x48055e[_0x1395d4(0x268)])!=null?_0x3d8946:_0x1395d4(0x291),_0x46653e={'color':this[_0x1395d4(0x1b3)][_0x1395d4(0x2ee)](_0x24801e),'name':_0x38d458,'ranges':_0xbe6f24},_0x3f4e35=this[_0x1395d4(0x1aa)];_0x3f4e35[_0x1395d4(0x2f7)](_0x24801e,_0x46653e),this[_0x1395d4(0x2cf)]['next'](_0x3f4e35);}[_0xe0cd3b(0x1fc)](_0x28f502){const _0x50c139=_0xe0cd3b,{memberID:_0x54ba94}=_0x28f502[_0x50c139(0x16d)],_0x2f9c18=this[_0x50c139(0x1aa)];_0x2f9c18['delete'](_0x54ba94),this[_0x50c139(0x2cf)][_0x50c139(0x294)](_0x2f9c18);}['_toggleOnline'](){const _0x584059=_0xe0cd3b;var _0x50d4be;if(this[_0x584059(0x1cc)]=!0x0,((_0x50d4be=this[_0x584059(0x2a5)][_0x584059(0x154)]())==null?void 0x0:_0x50d4be[_0x584059(0x266)]())!==this[_0x584059(0x216)])return;const _0x2bea8c=this['_injector'][_0x584059(0x2f1)](W[_0x584059(0x3b6)])[_0x584059(0x17a)]();Array['isArray'](_0x2bea8c)&&_0x2bea8c[_0x584059(0x3c2)]>0x0&&this[_0x584059(0x273)](_0x2bea8c);}[_0xe0cd3b(0x180)](){const _0x5d49f5=_0xe0cd3b;this[_0x5d49f5(0x1cc)]=!0x1;}};fe=Qe([L(0x2,a['Inject'](a['Injector'])),L(0x3,a[_0xe0cd3b(0x297)](me)),L(0x4,a[_0xe0cd3b(0x297)](u[_0xe0cd3b(0x202)])),L(0x5,a[_0xe0cd3b(0x297)](Ce)),L(0x6,m[_0xe0cd3b(0x38d)]),L(0x7,a[_0xe0cd3b(0x34a)]),L(0x8,a[_0xe0cd3b(0x1f7)])],fe);var st=Object[_0xe0cd3b(0x1a0)],it=(_0x4f49bd,_0x4ced69,_0x3edca7,_0x1611bb)=>{const _0x504427=_0xe0cd3b;for(var _0x2f0732=_0x1611bb>0x1?void 0x0:_0x1611bb?st(_0x4ced69,_0x3edca7):_0x4ced69,_0x151a5d=_0x4f49bd[_0x504427(0x3c2)]-0x1,_0x1a2888;_0x151a5d>=0x0;_0x151a5d--)(_0x1a2888=_0x4f49bd[_0x151a5d])&&(_0x2f0732=_0x1a2888(_0x2f0732)||_0x2f0732);return _0x2f0732;},A=(_0xce3d3d,_0x560f37)=>(_0x58f8bb,_0x3310b9)=>_0x560f37(_0x58f8bb,_0x3310b9,_0xce3d3d);const nt=0x12c,rt=0x64,ot=()=>{let _0x50ba1f=[],_0x5f002b=!0x1;return _0x13533b=>{const _0x263c46=_0x2793;_0x50ba1f[_0x263c46(0x225)](_0x13533b),_0x5f002b||(_0x5f002b=!0x0,setTimeout(()=>{const _0x49a593=_0x263c46;_0x50ba1f[_0x49a593(0x1c1)](_0x3a9674=>_0x3a9674()),_0x50ba1f=[],_0x5f002b=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x55587d,_0x1a5e35,_0x34dbb7,_0x1e463e,_0xbf7614,_0x4250e9,_0xfab4c4,_0x6eee82){const _0xb71311=_0xe0cd3b;super(),h(this,_0xb71311(0x1cc),!0x1),h(this,_0xb71311(0x378),!0x1),h(this,_0xb71311(0x2cf),new d[(_0xb71311(0x2b4))](new Map())),h(this,'cursorInfo$',this[_0xb71311(0x2cf)][_0xb71311(0x336)]()),h(this,_0xb71311(0x1f3),new d['BehaviorSubject']([])),h(this,_0xb71311(0x31f),this[_0xb71311(0x1f3)][_0xb71311(0x191)](d[_0xb71311(0x207)](nt))),h(this,_0xb71311(0x273),a['debounce']((_0x1ed57b,_0x4dd088)=>{const _0x47a2b5=_0xb71311,_0x4d09b8={'eventID':m[_0x47a2b5(0x148)][_0x47a2b5(0x2e3)],'data':{'unitID':this[_0x47a2b5(0x216)],'memberID':this[_0x47a2b5(0x15d)][_0x47a2b5(0x2c5)](),'selection':Ee[_0x47a2b5(0x353)](_0x1ed57b,_0x4dd088[_0x47a2b5(0x172)])}};this[_0x47a2b5(0x15d)][_0x47a2b5(0x2de)](_0x4d09b8,this[_0x47a2b5(0x216)]);},rt)),(this['unitID']=_0x55587d,this['_session']=_0x1a5e35,this[_0xb71311(0x1d0)]=_0x34dbb7,this[_0xb71311(0x1b3)]=_0x1e463e,this[_0xb71311(0x24b)]=_0xbf7614,this[_0xb71311(0x2a5)]=_0x4250e9,this[_0xb71311(0x242)]=_0xfab4c4,this[_0xb71311(0x33f)]=_0x6eee82);}get[_0xe0cd3b(0x1aa)](){const _0x46859b=_0xe0cd3b;return this[_0x46859b(0x2cf)]['getValue']();}get[_0xe0cd3b(0x19f)](){const _0x2077e5=_0xe0cd3b;return this[_0x2077e5(0x1f3)]['getValue']();}[_0xe0cd3b(0x37f)](){const _0x4155d6=_0xe0cd3b;super[_0x4155d6(0x37f)](),this[_0x4155d6(0x2cf)][_0x4155d6(0x294)](new Map()),this[_0x4155d6(0x2cf)][_0x4155d6(0x20d)](),this[_0x4155d6(0x1f3)]['next']([]),this['_roomMembers$'][_0x4155d6(0x20d)]();}['init'](){const _0x1f18bd=_0xe0cd3b;this[_0x1f18bd(0x378)]||(this[_0x1f18bd(0x378)]=!0x0,this['_session']['sessionStatus$'][_0x1f18bd(0x191)](d[_0x1f18bd(0x2c3)](this[_0x1f18bd(0x1bf)]))[_0x1f18bd(0x29c)](_0x366a79=>{const _0x26c1a2=_0x1f18bd;_0x366a79===u[_0x26c1a2(0x1ea)][_0x26c1a2(0x2a4)]?this[_0x26c1a2(0x354)]():this[_0x26c1a2(0x180)]();}),this[_0x1f18bd(0x15d)][_0x1f18bd(0x249)][_0x1f18bd(0x191)](d[_0x1f18bd(0x2c3)](this['dispose$']))[_0x1f18bd(0x29c)](_0x1cea18=>{const _0x1abc2a=_0x1f18bd,_0xe30ac2=_0x1cea18[_0x1abc2a(0x1f2)];_0xe30ac2===m[_0x1abc2a(0x148)][_0x1abc2a(0x2e3)]&&this['_onCursorUpdate'](_0x1cea18),_0xe30ac2===m['CollaborationEvent'][_0x1abc2a(0x3a1)]&&this[_0x1abc2a(0x1fc)](_0x1cea18);}),this[_0x1f18bd(0x1ad)](),this['disposeWithMe'](this[_0x1f18bd(0x242)]['onCommandExecuted'](_0x3f47b9=>{const _0x4894a7=_0x1f18bd;if(this[_0x4894a7(0x1cc)]&&_0x3f47b9['id']===g[_0x4894a7(0x1f8)]['id']&&_0x3f47b9[_0x4894a7(0x24c)][_0x4894a7(0x351)]===this[_0x4894a7(0x216)]){const _0x534f9b=_0x3f47b9['params'];this[_0x4894a7(0x273)](_0x534f9b[_0x4894a7(0x367)],_0x534f9b[_0x4894a7(0x177)][0x0]);}})));}[_0xe0cd3b(0x26c)](_0xf5c8fa){const _0x23708b=_0xe0cd3b;var _0x39f43d,_0x370b9e;const {memberID:_0x22afc3,selection:_0x39155f}=_0xf5c8fa[_0x23708b(0x16d)],{sheetName:_0xb0aaa5,range:_0x452cfe}=Ee[_0x23708b(0x18e)](_0x39155f),_0x2eac13={'name':(_0x370b9e=(_0x39f43d=this[_0x23708b(0x24b)][_0x23708b(0x23f)](this[_0x23708b(0x216)],_0x22afc3))==null?void 0x0:_0x39f43d[_0x23708b(0x268)])!=null?_0x370b9e:_0x23708b(0x291),'range':this[_0x23708b(0x218)](_0xb0aaa5,_0x452cfe),'sheetID':_0xb0aaa5,'color':this[_0x23708b(0x1b3)][_0x23708b(0x2ee)](_0x22afc3),'selection':_0x39155f},_0x30b670=this[_0x23708b(0x1aa)];_0x30b670[_0x23708b(0x2f7)](_0x22afc3,_0x2eac13),this['_cursorInfo$'][_0x23708b(0x294)](_0x30b670);}[_0xe0cd3b(0x1fc)](_0x269046){const _0x60b220=_0xe0cd3b,{memberID:_0x458bd9}=_0x269046[_0x60b220(0x16d)],_0x573734=this['cursorInfo'];_0x573734['delete'](_0x458bd9),this[_0x60b220(0x2cf)][_0x60b220(0x294)](_0x573734);}[_0xe0cd3b(0x218)](_0x10cff7,_0x4a6e60){const _0x586fe9=_0xe0cd3b;var _0x4aa157,_0xb49b0f;const _0x100c0f=(_0xb49b0f=(_0x4aa157=this['_univerInstanceService'][_0x586fe9(0x341)](this[_0x586fe9(0x216)]))==null?void 0x0:_0x4aa157['getSheetBySheetId'](_0x10cff7))==null?void 0x0:_0xb49b0f[_0x586fe9(0x347)]();return(_0x100c0f==null?void 0x0:_0x100c0f[_0x586fe9(0x182)](_0x26c956=>a[_0x586fe9(0x34d)][_0x586fe9(0x1dc)](_0x26c956,_0x4a6e60)))||_0x4a6e60;}[_0xe0cd3b(0x1ad)](){const _0x13d87c=_0xe0cd3b,_0x23bf7a=new a[(_0x13d87c(0x2db))](),_0x231b95=ot(),_0x2aa194=()=>{const _0x5cc2a5=_0x13d87c;_0x23bf7a['dispose']();const _0x3770e7=(_0x418fd7,_0x39aeec,_0x2a9aea,_0x2c8a37)=>{const _0x26fd87=_0x2793;let _0x150c50=[];switch(_0x418fd7['id']){case g[_0x26fd87(0x29a)][_0x26fd87(0x246)]:{_0x150c50=g['handleDeleteRangeMoveLeft'](_0x418fd7,_0x2c8a37);break;}case g['EffectRefRangId'][_0x26fd87(0x1e3)]:{_0x150c50=g[_0x26fd87(0x3a4)](_0x418fd7,_0x2c8a37);break;}case g[_0x26fd87(0x29a)][_0x26fd87(0x17d)]:{_0x150c50=g[_0x26fd87(0x290)](_0x418fd7,_0x2c8a37);break;}case g[_0x26fd87(0x29a)]['InsertRangeMoveDownCommandId']:{_0x150c50=g[_0x26fd87(0x2a3)](_0x418fd7,_0x2c8a37);break;}case g[_0x26fd87(0x29a)]['InsertRangeMoveRightCommandId']:{_0x150c50=g[_0x26fd87(0x21b)](_0x418fd7,_0x2c8a37);break;}case g[_0x26fd87(0x29a)][_0x26fd87(0x231)]:{_0x150c50=g[_0x26fd87(0x17f)](_0x418fd7,_0x2c8a37);break;}case g[_0x26fd87(0x29a)][_0x26fd87(0x335)]:{_0x150c50=g[_0x26fd87(0x2e0)](_0x418fd7,_0x2c8a37);break;}case g[_0x26fd87(0x29a)]['RemoveColCommandId']:{_0x150c50=g[_0x26fd87(0x2f6)](_0x418fd7,_0x2c8a37);break;}case g[_0x26fd87(0x29a)][_0x26fd87(0x18c)]:{_0x150c50=g[_0x26fd87(0x1bd)](_0x418fd7,_0x2c8a37);break;}}const _0x6be32f=g[_0x26fd87(0x2bc)](_0x150c50,_0x2c8a37),_0x3b8c40=this[_0x26fd87(0x1aa)][_0x26fd87(0x2f1)](_0x39aeec);if(_0x3b8c40&&_0x6be32f){const _0x2c1f49={..._0x3b8c40,'range':_0x6be32f};this[_0x26fd87(0x1aa)]['set'](_0x39aeec,_0x2c1f49),_0x231b95(()=>{const _0x4e0b48=_0x26fd87,_0xeb5c86=this['_refRangeService'][_0x4e0b48(0x1ca)](_0x6be32f,_0x26c1a1=>(_0xeb5c86['dispose'](),_0x3770e7(_0x26c1a1,_0x39aeec,_0x2a9aea,_0x6be32f)));_0x23bf7a[_0x4e0b48(0x200)](_0xeb5c86);});}return{'redos':[],'undos':[]};};this[_0x5cc2a5(0x1aa)][_0x5cc2a5(0x1c1)]((_0x33c075,_0x4bd64d)=>{const _0x66edf8=_0x5cc2a5,{range:_0x4da1dd,sheetID:_0x5b6dab}=_0x33c075,_0x44b377=this['_refRangeService'][_0x66edf8(0x1ca)](_0x4da1dd,_0x2904b6=>(_0x44b377[_0x66edf8(0x37f)](),_0x3770e7(_0x2904b6,_0x4bd64d,_0x5b6dab,_0x4da1dd)));_0x23bf7a[_0x66edf8(0x200)](_0x44b377);});};this['disposeWithMe'](a[_0x13d87c(0x26f)](this[_0x13d87c(0x2cf)][_0x13d87c(0x29c)](()=>{_0x2aa194();})));}[_0xe0cd3b(0x354)](){const _0x56db62=_0xe0cd3b;var _0xa7a514,_0x540205;if(this[_0x56db62(0x1cc)]=!0x0,((_0xa7a514=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0xa7a514[_0x56db62(0x266)]())!==this[_0x56db62(0x216)])return;const _0x288ae7=(_0x540205=this[_0x56db62(0x1d0)][_0x56db62(0x2f1)](g[_0x56db62(0x301)])[_0x56db62(0x388)]())==null?void 0x0:_0x540205[0x0],_0x33b23c=this[_0x56db62(0x2a5)][_0x56db62(0x166)](a[_0x56db62(0x1a1)][_0x56db62(0x25b)])[_0x56db62(0x350)]();_0x288ae7&&_0x33b23c&&this[_0x56db62(0x273)](_0x33b23c[_0x56db62(0x2d7)](),_0x288ae7);}['_toggleOffline'](){const _0x46ffef=_0xe0cd3b;this[_0x46ffef(0x1cc)]=!0x1;}};Se=it([A(0x2,a[_0xe0cd3b(0x297)](a['Injector'])),A(0x3,a['Inject'](me)),A(0x4,a['Inject'](u[_0xe0cd3b(0x202)])),A(0x5,a[_0xe0cd3b(0x34a)]),A(0x6,a[_0xe0cd3b(0x1f7)]),A(0x7,a[_0xe0cd3b(0x297)](g[_0xe0cd3b(0x158)]))],Se);var at=Object[_0xe0cd3b(0x1a0)],ct=(_0x238cac,_0x5619ad,_0x4c6f27,_0x252fbd)=>{for(var _0x29d578=_0x252fbd>0x1?void 0x0:_0x252fbd?at(_0x5619ad,_0x4c6f27):_0x5619ad,_0x311402=_0x238cac['length']-0x1,_0x311b51;_0x311402>=0x0;_0x311402--)(_0x311b51=_0x238cac[_0x311402])&&(_0x29d578=_0x311b51(_0x29d578)||_0x29d578);return _0x29d578;},ie=(_0x1bc0f7,_0x174e2b)=>(_0x2b3f45,_0x4452b2)=>_0x174e2b(_0x2b3f45,_0x4452b2,_0x1bc0f7);let x=class extends a[_0xe0cd3b(0x2f8)]{constructor(_0x10e7e0,_0x3f72ca,_0x230f65){const _0x29792c=_0xe0cd3b;super(),h(this,'_entities',new Map()),h(this,_0x29792c(0x2b5),new d[(_0x29792c(0x27c))]()),(this[_0x29792c(0x2a5)]=_0x10e7e0,this[_0x29792c(0x1d0)]=_0x3f72ca,this[_0x29792c(0x22c)]=_0x230f65,this[_0x29792c(0x378)]());}['dispose'](){const _0xa9d524=_0xe0cd3b;super['dispose'](),this[_0xa9d524(0x2b5)][_0xa9d524(0x20d)](),this[_0xa9d524(0x16f)][_0xa9d524(0x1c1)](_0x153683=>_0x153683[_0xa9d524(0x37f)]());}[_0xe0cd3b(0x259)](_0x55dab6){const _0x456f8e=_0xe0cd3b;return this['_entities'][_0x456f8e(0x199)](_0x55dab6)?this[_0x456f8e(0x16f)][_0x456f8e(0x2f1)](_0x55dab6)[_0x456f8e(0x1a9)]:this[_0x456f8e(0x2b5)][_0x456f8e(0x191)](d[_0x456f8e(0x36d)](_0x3408c7=>_0x3408c7[_0x456f8e(0x216)]===_0x55dab6),d[_0x456f8e(0x325)](_0x58ae52=>_0x58ae52[_0x456f8e(0x1a9)]));}[_0xe0cd3b(0x378)](){const _0x448746=_0xe0cd3b;this['_univerInstanceService'][_0x448746(0x3c3)](a[_0x448746(0x1a1)][_0x448746(0x25b)])[_0x448746(0x191)](d[_0x448746(0x2c3)](this[_0x448746(0x1bf)]))['subscribe'](async _0x20f476=>{const _0x1a5a87=_0x448746,_0x4c1bc0=_0x20f476[_0x1a5a87(0x266)](),_0x1c123a=await this[_0x1a5a87(0x342)](_0x4c1bc0);this[_0x1a5a87(0x2b5)][_0x1a5a87(0x294)](_0x1c123a),this[_0x1a5a87(0x16f)][_0x1a5a87(0x2f7)](_0x4c1bc0,_0x1c123a);}),this[_0x448746(0x2a5)][_0x448746(0x3c3)](a[_0x448746(0x1a1)]['UNIVER_DOC'])[_0x448746(0x191)](d[_0x448746(0x2c3)](this[_0x448746(0x1bf)]))[_0x448746(0x191)](d['filter'](_0xe06482=>!_0xe06482[_0x448746(0x266)]()['startsWith']('__')))[_0x448746(0x29c)](async _0x8b8e61=>{const _0x329508=_0x448746,_0x45ef42=_0x8b8e61[_0x329508(0x266)](),_0x982672=await this[_0x329508(0x398)](_0x45ef42);this[_0x329508(0x2b5)][_0x329508(0x294)](_0x982672),this['_entities'][_0x329508(0x2f7)](_0x45ef42,_0x982672);}),d['merge'](this[_0x448746(0x2a5)][_0x448746(0x37e)](a[_0x448746(0x1a1)][_0x448746(0x150)]),this[_0x448746(0x2a5)][_0x448746(0x37e)](a['UniverInstanceType']['UNIVER_SHEET']))[_0x448746(0x191)](d['takeUntil'](this[_0x448746(0x1bf)]))[_0x448746(0x29c)](_0x330fe6=>{const _0x80b0bb=_0x448746,_0x394252=_0x330fe6[_0x80b0bb(0x266)](),_0x570c0c=this[_0x80b0bb(0x16f)][_0x80b0bb(0x2f1)](_0x394252);_0x570c0c&&(_0x570c0c[_0x80b0bb(0x37f)](),this[_0x80b0bb(0x16f)][_0x80b0bb(0x271)](_0x394252));});}async[_0xe0cd3b(0x342)](_0xd64285){const _0x4234ae=_0xe0cd3b,_0x45b632=await this[_0x4234ae(0x22c)]['requireSession'](_0xd64285),_0x5b3964=this['_injector'][_0x4234ae(0x25c)](Se,_0xd64285,_0x45b632);return _0x5b3964['init'](),_0x5b3964;}async[_0xe0cd3b(0x398)](_0x455bd0){const _0x24ffba=_0xe0cd3b,_0xdae174=await this[_0x24ffba(0x22c)][_0x24ffba(0x2f3)](_0x455bd0),_0x143d89=this['_injector'][_0x24ffba(0x25c)](fe,_0x455bd0,_0xdae174);return _0x143d89[_0x24ffba(0x299)](),_0x143d89;}};x=ct([ie(0x0,a[_0xe0cd3b(0x34a)]),ie(0x1,a[_0xe0cd3b(0x297)](a[_0xe0cd3b(0x17b)])),ie(0x2,a[_0xe0cd3b(0x297)](u[_0xe0cd3b(0x3ac)]))],x);const q=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x2156c9,_0x4ecfc4){const _0x4117ca=_0xe0cd3b;let {radius:_0x473033,width:_0x426349,height:_0x291300}=_0x4ecfc4;_0x473033=_0x473033!=null?_0x473033:0x0,_0x426349=_0x426349!=null?_0x426349:0x1e,_0x291300=_0x291300!=null?_0x291300:0x1e;let _0x3d6a52=0x0,_0x4ddfdb=0x0,_0x4e0931=0x0;_0x3d6a52=_0x4ddfdb=_0x4e0931=Math[_0x4117ca(0x386)](_0x473033,_0x426349/0x2,_0x291300/0x2),_0x2156c9[_0x4117ca(0x1b0)](),_0x2156c9[_0x4117ca(0x1c3)](_0x3d6a52,0x0),_0x2156c9[_0x4117ca(0x1b2)](_0x426349-_0x4ddfdb,0x0),_0x2156c9['arc'](_0x426349-_0x4ddfdb,_0x4ddfdb,_0x4ddfdb,Math['PI']*0x3/0x2,0x0,!0x1),_0x2156c9[_0x4117ca(0x1b2)](_0x426349,_0x291300-_0x4e0931),_0x2156c9[_0x4117ca(0x1b7)](_0x426349-_0x4e0931,_0x291300-_0x4e0931,_0x4e0931,0x0,Math['PI']/0x2,!0x1),_0x2156c9[_0x4117ca(0x1b2)](0x0,_0x291300),_0x2156c9['lineTo'](0x0,_0x3d6a52),_0x2156c9[_0x4117ca(0x1b7)](_0x3d6a52,_0x3d6a52,_0x3d6a52,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2156c9[_0x4117ca(0x2fb)](),_0x4ecfc4[_0x4117ca(0x25a)]&&(_0x2156c9[_0x4117ca(0x1b6)](),_0x2156c9['fillStyle']=_0x4ecfc4[_0x4117ca(0x25a)],_0x4ecfc4[_0x4117ca(0x3bb)]==='evenodd'?_0x2156c9[_0x4117ca(0x25a)]('evenodd'):_0x2156c9[_0x4117ca(0x25a)](),_0x2156c9[_0x4117ca(0x27e)]());}class ee extends p[_0xe0cd3b(0x1c9)]{constructor(_0x55ec94,_0x379816){const _0x229b54=_0xe0cd3b;super(_0x55ec94,_0x379816),h(this,_0x229b54(0x34b)),h(this,_0x229b54(0x18a)),(this[_0x229b54(0x34b)]=_0x379816==null?void 0x0:_0x379816[_0x229b54(0x34b)],this['text']=_0x379816==null?void 0x0:_0x379816[_0x229b54(0x18a)]);}static[_0xe0cd3b(0x2cd)](_0x2f1496,_0x228a4e){const _0x23865f=_0xe0cd3b,{text:_0x278cdd,color:_0x548076}=_0x228a4e;_0x2f1496[_0x23865f(0x1b6)](),_0x2f1496['font']=_0x23865f(0x36f);const _0x1df100=_0x2f1496[_0x23865f(0x38c)](_0x278cdd)[_0x23865f(0x1ed)],_0xad6bcd=Math[_0x23865f(0x386)](_0x1df100+0x2*ne,Re);_t(_0x2f1496,{'height':q,'radius':0x4,'width':_0xad6bcd,'fill':_0x548076}),_0x2f1496[_0x23865f(0x1f5)]=_0x23865f(0x304);const _0x2e546c=ne,_0x284faa=q-lt,_0x1ca90f=Re-0x2*ne;if(_0x1df100>_0x1ca90f){let _0x4530e6='',_0x3a05be=0x0;for(const _0x905a5c of _0x278cdd){const _0xa7a85=_0x2f1496['measureText'](_0x905a5c)['width'];if(_0x3a05be+_0xa7a85<=_0x1ca90f-_0x2f1496[_0x23865f(0x38c)](_0x23865f(0x2b2))[_0x23865f(0x1ed)])_0x4530e6+=_0x905a5c,_0x3a05be+=_0xa7a85;else{_0x4530e6+=_0x23865f(0x2b2);break;}}_0x2f1496['fillText'](_0x4530e6,_0x2e546c,_0x284faa);}else _0x2f1496['fillText'](_0x278cdd,_0x2e546c,_0x284faa);_0x2f1496['restore']();}[_0xe0cd3b(0x1ec)](_0x174702){ee['drawWith'](_0x174702,this);}}function _0x6ca9(){const _0x242b05=['getSheetId','selection','createSocket','UniverIcon','DisposableCollection','combineLatest','_beforeCloseService','send','_drawRectRange','handleMoveRange','skeleton','@univerjs/design','UPDATE_CURSOR','addHandlerCallback','LOGIN_FAILED','_localCacheService','unshift','getRenderById','getSheetObject','tag','@univerjs/rpc','_handleHover','_collaborationUIEventService','assignAColorForMemberID','with','YUUMI_URL_COL_OUT_OF_RANGE','get','m2Prime','requireSession','WebURLService','replaceState','handleIRemoveCol','set','RxDisposable','all','RegularPolygon','closePath','DEFAULT_WS_SESSION_TICKET_URL','stringify','isTransformMutationsWithChangesetSuccess','body','651DWNxnB','SheetsSelectionsService','urlChange$','@univerjs-pro/collaboration-client','#FFF','some','_initCommandExecutedListener','saveTaskMap','clearTimeout','permission.title','@univerjs/core','current','column','createElement','currentColor','univer-flex\x20univer-items-center','parse','_ensureSubject','_unitOnClients','Vector2','apply','extend','_colorIndex','getSkeleton','446754aDajvZ','collabStatus.synced','_localStorageService','symbol','IBeforeCloseService','_clearOtherTimers','off-line-single_clip0_910_343','roomMembers$','_collaborationController','useCallback','@univerjs/docs','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LICENSE_DISTRO_REJECTED','switchMap','useRef','@univerjs/network','AWAITING','DocCollaborationEntity','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getUnitStatus$','_docTransformSelectionsService','getOwnPropertySymbols','APPLY_REVISION_CONFILICT','Workbook','_transformPreviousActiveRange','resize','DocStateChangeManagerService','runId','11dmCMRG','MoveRangeCommandId','asObservable','onStarting','_cachedData','_notificationService','purple300','defs','CHANGESET_REVISION_CONFILICT','runOnServer','rxjs','_refRangeService','_updateURLWithCurrentState','getUniverSheetInstance','_startSheetCollabCursor','JOIN_ROOM_FAILED','CollaborationStatus','verdancy600','LocaleService','getMergeData','touchDependencies','generateRandomId','IUniverInstanceService','color','2866458pTjQIv','Rectangle','setUndoRedoMutationParamsCache','UniverCollaborationClientUIPlugin','getActiveSheet','unitId','getViewport','serializeRangeWithSheet','_toggleOnline','YUUMI_SUBSCRIPTION_NOT_FOUND','WebSocketService','RevisionService','wsSessionTicketUrl','colorChannel1','_docTransformIMECacheService','registerBeforeClose','univer-text-green-500','hide','_setupSubUnitSync','whenReady','_assignedColors','ACTIVE_UNIT_EVENT_CHANNEL','_themeService','_eventUnsubscribe','_hovered','_removeCollabCursors','@univerjs/docs-ui','subUnitId','PY_RUNTIME_SCRIPT_ERROR','m1Prime','ticket','_docTransformStateCacheService','_initResize','filter','_cursor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_id','max','use','_getSaveTimeout','flatMap','getOffsetConfig','#fff','transform','_init','_initDependencies','_scheduleHeartbeat','function','endRow','UniverCollaborationClientPlugin','getTypeOfUnitDisposed$','dispose','setConfig','LICENSE_EXPORT_SIZE_EXCEEDED','transformIMECache','exhaustSavingTask','_localeService','SNAPSHOT_INVALID_SNAPSHOT','min','addEventListener','getCurrentSelections','4235090VbJeSd','_anchorDot','SheetCollabCursorShape','measureText','ITransformService','getColor','on-line-single_clip0_910_349','354012lpjiCb','_sheetSkeletonManagerService','INVITE_CODE_ALREADY_BOUND','post','defineProperty','reconnect','_urlService','RemoteUniscriptService','_startDocCollabCursor','onCommandExecuted','_range','enableLocalCache','MessageType','_initEvent','disableLocalCache','DataLoaderService','PENDING','USERS_LEAVE','SHEET_VIEWPORT_KEY','debug','handleDeleteRangeMoveUp','replace','HEADER_MENU','session.connection-failed','TEXT_RANGE_LAYER_INDEX','history','IUIPartsService','YUUMI_ASYNCIO_CANCELLED','CollaborationSessionService','RichTextEditingMutation','path','onMouseMove','DocIMEInputManagerService','SNAPSHOT_HAS_BEEN_REMOVED','mergeOverrideWithDependencies','univer-text-red-500','IRenderManagerService','defIds','DocSelectionManagerService','attrs','collaboration.closeRoom','doc.mutation.rich-text-editing','redoState','fillRule','_doCreateSocket','_heartbeatTimer','debounce','DesktopCollaborationStatusDisplayController','storage','@univerjs-pro/collaboration','length','getTypeOfUnitAdded$','black','xlink:href','LICENSE_MAX_UNITS_EXCEEDED','onPointerMove$','displayName','CollaborationEvent','_unitStatus','WECHAT_HAS_BEEN_BOUND','_dataLoaderService','_config','_scheduleSaving','fromEvent','uni.network.url-service','UNIVER_DOC','NO_OTHER_CLIENTS_EDITING','subunit','values','getFocusedUnit','setAlpha','clipPath','1em','RefRangeService','_selfUnitIDs','Optional','Tools','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','_session','FromArray','getUnhiddenWorksheets','UnitStatus','imageSourceType','from','_instanceService','_initStatusListener','TEXT','getCurrentUnitForType','VIEW_MAIN','25LhBuyv','_handleEvent','round','_cursorShapes','USER_NOT_INVITED_CODE','data','_backgroundColor','_entities','INotificationService','show','range','DOC_RANGE_TYPE','_docSyncEditingCollabCursorService','result','collabStatus.fetchMiss','selections','_initEntityListener','Module','getDocRanges','Injector','saveOfflineData','InsertColCommandId','collab-client.tooltip.reconnect','handleInsertRow','_toggleOffline','addObject','find','SetDocZoomRatioOperation','_textBubble','isEditing','collabStatus.offline','entries','div','_updateSubUnitFromURLParams','text','override','RemoveRowCommandId','href','deserializeRangeWithSheet','onPointerLeave$','BuiltInUIPart','pipe','currentSkeleton$','engine','idSuffix','toRgbString','UNAUTHENTICATED','getSheetBySheetId','ColorKit','has','_getSessionTicket','_cursors','_uiPartsService','HTTPService','getCurrentRevOfUnit','roomMembers','getOwnPropertyDescriptor','UniverInstanceType','height','string','CONFLICT','useObservable','962FQSsWn','_hideTimer','M0\x200H16V16H0z','cursorInfo$','cursorInfo','UNDEFINED','key','_onRefRangeChange','setInterval','SOCKET_FAILED','beginPath','red300','lineTo','_colorAssignService','RECT','_revisionService','save','arc','CONNECTOR_DATA_TOO_LARGE','transformMutationsWithChangeset','_disabled','getCurrent','_transformUndoRedoStack','handleIRemoveRow','_renderManagerService','dispose$','assign','forEach','_anchor','moveTo','disposeUnit','session.collaboration-timeout','svg','forwardRef','deepClone','Shape','registerRefRange','none','_online','getParam','row','collab-rect-range-','_injector','createIdentifier','onTransformChange$','disposeWithMe','ILocalCacheService','transformByState','_messageService','mask','_getScale','getItem','getStateCache','_createSocketURL','contains','_render','origin','activeSheet$','_scheduleClearOtherTimer','split','_hover','DeleteRangeMoveUpCommandId','Disposable','AWAITING_WITH_PENDING','getCollabEntity$','undoState','setParam','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','SessionStatus','_context','_draw','width','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','then','SOCKET_FAILED_RETRY','COMPLETION_FINISHED','eventID','_roomMembers$','location','fillStyle','react/jsx-runtime','ICommandService','SetSelectionsOperation','startColumn','endColumn','jsxs','_onCursorDelete','_updateCollabCursors','currentTheme$','IRemoteInstanceService','add','_status$','MemberService','_initStatusComponent','_handleJoinEvent','_registerDependencies','sheetId','debounceTime','setStateCache','clsx','getVpScrollXYInfoByPosToVp','getCoordByCell','CollaborationDataLoaderController','complete','IImageIoService','_color','bottom','findNodePositionByCharIndex','sheetID','1899fCQrbe','collabStatus.notCollab','CollaborationUIEventId','unitID','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getMergeRange','WebBrowserSingleActiveUnitService','transformSelections','handleInsertRangeMoveRight','isActive','UNRECOGNIZED','backgroundColor','collab-text-anchor-','DependentOn','jiqing500','0\x200\x2017\x2016','APPLY_NON_SEQUENTIAL_REVISION','_docSkeletonManagerService','push','INVITE_CODE_REQUIRED','useDependency','getActiveRange','OTHER_CLIENTS_EDITING','includes','executeCommand','_collabSessionService','YUUMI_UNABLE_LOAD_URL','unsubscribe','collabStatus.syncing','_handleLeaveEvent','InsertRowCommandId','saveImage','univer-flex\x20univer-mr-2\x20univer-text-[20px]','CollaborationSocketService','IConfigService','type','ENSURE_SNAPSHOT_EXECUTION','setTimeout','[RemoteUniscriptService]:\x20no\x20focused\x20unit','unload','concat','TOO_MANY_REQUESTS','_lastPointer','_collabCursorState$','getMember','YUUMI_NO_CUBOID_FOR_QUESTION','getRangePointData','_commandService','SetWorksheetActivateCommand','_drawAnchor','jsx','DeleteRangeMoveLeftCommandId','SetTextSelectionsOperation','@univerjs/engine-formula','event$','180407QKcbsB','_memberService','params','_configService','Warning','INVALID_INVITE_CODE','univerjs-icon\x20univerjs-icon-','substring','@univerjs/engine-render','Rect','_imageIoService','fromEventSubject','mutations','_saveCache','removeParam','getCollabCursors$','fill','UNIVER_SHEET','createInstance','_getAnchorBounding','pushState','OffLineSingle','transformMutation','collabStatus.conflict','getLocalCacheKey','PERMISSION_DENIED','MOBILE_HAS_BEEN_BOUND','collabCursorState$','getUnitId','_labelPosition','name','[CollaborationDataLoaderController]','editingUnit','transformRemoteChangeset','_onCursorUpdate','code','OTHER_CLIENT_EDITING','toDisposable','SUBMIT_CHANGESET_TIMEOUT','delete','setShapeProps','_updateLocalCursor','error','focused$','_collabCursorController','size','collaboration-client-ui.config','Plugin','gold400','className','Subject','translate(.97)','restore','ranges','DocSkeletonManagerService','NOT_COLLAB','prototype','react','Error','Failed','indexOf','COLORS','APPLY_REJECT','FETCH_MISS','onRendered','toString','map','CollaborationStatusDisplay','getConfig','rxjs/operators','handleInsertCol','Unknown\x20user','subscribeEvent','newValue','next','_removeClearOtherTimer','0\x200\x2016\x2016','Inject','_saveTaskMap','init','EffectRefRangId','icon','subscribe','_drawTextRange','IMessageService','APPLY_DUPLICATED','isTransformMutationFailure','clearInterval','getValue','handleInsertRangeMoveDown','ONLINE','_univerInstanceService','LOCAL_CACHE_INTERVAL','NOT_FOUND','NodePositionConvertToRectRange','_syncEditingCollabCursorService','_docClipboardService','setItem','_registerRenderDependencies','toStringTag','_scene','labelPosition','session.will-retry','@univerjs/drawing','...','textRanges','BehaviorSubject','_entityInit$','_handleHeartbeatEvent','_httpService','url(#$1','children','searchParams','ILogService','runRefRangeMutations','getRelativeToViewportCoord','_send','_transformService','INVALID_ARGUMENT','onLocalMutation','11192NgnAIc','takeUntil','getAncestorScale','getMemberID','_docStateChangeManagerService','_name','_getSheetObject','rgba(255,\x20255,\x20255,\x200.01)','search','@univerjs/ui','permission.content','drawWith','_transformHistoryAndStateStack','_cursorInfo$','hasOwnProperty','_shapes','syncEditingCollabCursor','_refreshCollabCursors','YUUMI_RATE_OVER_LIMIT','_logService','INVITE_CODE_HAS_BEEN_UES'];_0x6ca9=function(){return _0x242b05;};return _0x6ca9();}const re=_0xe0cd3b(0x21f),ht='collab-text-range-',ut=_0xe0cd3b(0x1cf),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0xe0cd3b(0x2c9);class De{constructor(_0x409175,_0xa742e9,_0x21029a,_0x533973){const _0x45f1db=_0xe0cd3b;h(this,_0x45f1db(0x2d1),[]),h(this,_0x45f1db(0x1c2),null),h(this,_0x45f1db(0x184),null),h(this,_0x45f1db(0x38a),null),h(this,_0x45f1db(0x1a7),null),h(this,_0x45f1db(0x363),null),(this[_0x45f1db(0x36e)]=_0x409175,this[_0x45f1db(0x2ae)]=_0xa742e9,this['_docSkeleton']=_0x21029a,this['_document']=_0x533973,this[_0x45f1db(0x1dd)]());}set[_0xe0cd3b(0x1e2)](_0x5eaf1c){const _0x269e5e=_0xe0cd3b;_0x5eaf1c?(this['_anchorDot']&&this[_0x269e5e(0x38a)][_0x269e5e(0x35d)](),this[_0x269e5e(0x184)]&&this[_0x269e5e(0x184)][_0x269e5e(0x171)]()):(this[_0x269e5e(0x38a)]&&this[_0x269e5e(0x38a)][_0x269e5e(0x171)](),this[_0x269e5e(0x184)]&&this[_0x269e5e(0x184)][_0x269e5e(0x35d)]());}[_0xe0cd3b(0x37f)](){const _0x518177=_0xe0cd3b;for(const _0x54ab75 of this[_0x518177(0x2d1)])_0x54ab75[_0x518177(0x37f)]();this[_0x518177(0x184)]&&this[_0x518177(0x184)][_0x518177(0x37f)](),this[_0x518177(0x38a)]&&this[_0x518177(0x38a)]['dispose'](),this[_0x518177(0x1c2)]&&this[_0x518177(0x1c2)][_0x518177(0x37f)](),this['_eventUnsubscribe']&&this[_0x518177(0x363)]();}[_0xe0cd3b(0x1dd)](){const _0x22efc5=_0xe0cd3b;var _0x911799;const {_docSkeleton:_0x21d921,_document:_0x13a8b4}=this,{color:_0x270ca4,name:_0x36ceca,ranges:_0x21c274}=this['_cursor'],_0x10abeb=_0x13a8b4[_0x22efc5(0x375)](),{docsLeft:_0x1c027a,docsTop:_0x1e65ec}=_0x10abeb,_0x5a014c=new b['NodePositionConvertToCursor'](_0x10abeb,_0x21d921);for(const {startOffset:_0x594213,endOffset:_0x33fb0a,rangeType:_0x3eac65,segmentId:_0x111924,segmentPage:_0x5d3694,collapsed:_0x23305b,isActive:_0x3c164c}of _0x21c274){const _0x4e0b68=_0x21d921['findNodePositionByCharIndex'](_0x594213,!0x0,_0x111924,_0x5d3694);let _0xf536ab=_0x21d921['findNodePositionByCharIndex'](_0x33fb0a,!0x0,_0x111924,_0x5d3694);if(_0xf536ab==null&&(_0xf536ab=_0x21d921[_0x22efc5(0x211)](_0x33fb0a-0x1,!0x1,_0x111924,_0x5d3694)),_0x3c164c){const {contentBoxPointGroup:_0x8f6f41}=_0x5a014c['getRangePointData'](_0xf536ab,_0xf536ab);if(_0x8f6f41[_0x22efc5(0x3c2)]===0x0)continue;this[_0x22efc5(0x244)](_0x270ca4,_0x8f6f41,_0x1c027a,_0x1e65ec,_0x36ceca),this[_0x22efc5(0x363)]=this[_0x22efc5(0x2ec)]();}if(_0x4e0b68&&_0xf536ab){if(_0x3eac65===a['DOC_RANGE_TYPE'][_0x22efc5(0x1b4)]){const _0x94d273=new b[(_0x22efc5(0x2a8))](_0x10abeb,_0x21d921),{pointGroup:_0x2f65b7}=(_0x911799=_0x94d273[_0x22efc5(0x241)](_0x4e0b68,_0xf536ab))!=null?_0x911799:{};if(_0x2f65b7==null||_0x2f65b7[_0x22efc5(0x3c2)]===0x0)continue;this[_0x22efc5(0x2df)](_0x270ca4,_0x2f65b7,_0x1c027a,_0x1e65ec);}else{if(!_0x23305b){const {borderBoxPointGroup:_0x184c29}=_0x5a014c[_0x22efc5(0x241)](_0x4e0b68,_0xf536ab);if(_0x184c29[_0x22efc5(0x3c2)]===0x0)continue;this[_0x22efc5(0x29d)](_0x270ca4,_0x184c29,_0x1c027a,_0x1e65ec);}}}}}[_0xe0cd3b(0x244)](_0x4f7fa9,_0x4dc92d,_0x44d277,_0x5c0672,_0x51315e){const _0x13d63a=_0xe0cd3b,_0x2183a2=this[_0x13d63a(0x25d)](_0x4dc92d),{left:_0x20bdaa,top:_0x36ddb3,height:_0x54d026}=_0x2183a2,_0x1f0574=this[_0x13d63a(0x1d8)](),_0x2fe095=ft/_0x1f0574,_0x20fb67=new p[(_0x13d63a(0x253))](re+a[_0x13d63a(0x15b)][_0x13d63a(0x349)](k),{'left':_0x20bdaa+_0x44d277-_0x2fe095,'top':_0x36ddb3+_0x5c0672,'height':_0x54d026,'width':dt,'fill':_0x4f7fa9||p[_0x13d63a(0x38e)](a['COLORS']['black'],0x0),'strokeWidth':_0x2fe095,'stroke':St,'evented':!0x0});this['_anchor']=_0x20fb67,this[_0x13d63a(0x2ae)]['addObject'](_0x20fb67,b[_0x13d63a(0x3a8)]);const _0x377eb5=new p[(_0x13d63a(0x253))](re+a[_0x13d63a(0x15b)]['generateRandomId'](k),{'left':_0x20bdaa+_0x44d277-_0x2fe095,'top':_0x36ddb3+_0x5c0672-oe/0x2,'height':oe,'width':oe,'fill':_0x4f7fa9||p['getColor'](a[_0x13d63a(0x287)][_0x13d63a(0x3c4)],0x0),'strokeWidth':0x0,'stroke':_0x4f7fa9||p[_0x13d63a(0x38e)](a[_0x13d63a(0x287)][_0x13d63a(0x3c4)],0x0),'evented':!0x1});this[_0x13d63a(0x38a)]=_0x377eb5,this[_0x13d63a(0x2ae)][_0x13d63a(0x181)](_0x377eb5,b[_0x13d63a(0x3a8)]);const _0x15ee36=new ee(re+a[_0x13d63a(0x15b)][_0x13d63a(0x349)](k),{'left':_0x20bdaa+_0x44d277-_0x2fe095,'top':_0x36ddb3+_0x5c0672-q,'text':_0x51315e,'color':_0x4f7fa9});this['_textBubble']=_0x15ee36,this[_0x13d63a(0x2ae)]['addObject'](_0x15ee36,b[_0x13d63a(0x3a8)]),this[_0x13d63a(0x1e2)]=!0x1;}[_0xe0cd3b(0x2ec)](){const _0x5a0509=_0xe0cd3b,_0x5a717e=this[_0x5a0509(0x1c2)]['onPointerEnter$'][_0x5a0509(0x292)](()=>{const _0x34fea2=_0x5a0509;this[_0x34fea2(0x1e2)]=!0x0;}),_0x8c5c49=this[_0x5a0509(0x1c2)][_0x5a0509(0x18f)][_0x5a0509(0x292)](()=>{const _0x1745ed=_0x5a0509;this[_0x1745ed(0x1a7)]&&clearTimeout(this[_0x1745ed(0x1a7)]),this['_hideTimer']=setTimeout(()=>{const _0x2c6376=_0x1745ed;this[_0x2c6376(0x1e2)]=!0x1;},0x7d0);});return()=>{const _0x1c87cb=_0x5a0509;_0x5a717e[_0x1c87cb(0x22e)](),_0x8c5c49[_0x1c87cb(0x22e)]();};}[_0xe0cd3b(0x29d)](_0xbbdeef,_0x57a0b5,_0x3f5c56,_0x156e8d){const _0x5311e3=_0xe0cd3b,_0x5ad735=new a[(_0x5311e3(0x198))](_0xbbdeef)['setAlpha'](0.2)[_0x5311e3(0x195)](),_0x28a72f=new p[(_0x5311e3(0x2fa))](ht+a[_0x5311e3(0x15b)][_0x5311e3(0x349)](k),{'pointsGroup':_0x57a0b5,'fill':_0x5ad735||p[_0x5311e3(0x38e)](a[_0x5311e3(0x287)][_0x5311e3(0x3c4)],0.2),'left':_0x3f5c56,'top':_0x156e8d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5311e3(0x2d1)][_0x5311e3(0x225)](_0x28a72f),this['_scene'][_0x5311e3(0x181)](_0x28a72f,b['TEXT_RANGE_LAYER_INDEX']);}[_0xe0cd3b(0x2df)](_0x1321f0,_0x20d53f,_0x254508,_0x2dbcdf){const _0x4cdbb8=_0xe0cd3b,_0x549195=new a[(_0x4cdbb8(0x198))](_0x1321f0)[_0x4cdbb8(0x155)](0.2)[_0x4cdbb8(0x195)](),_0x38afc5=new p[(_0x4cdbb8(0x2fa))](ut+a[_0x4cdbb8(0x15b)][_0x4cdbb8(0x349)](k),{'pointsGroup':_0x20d53f,'fill':_0x549195||p['getColor'](a[_0x4cdbb8(0x287)][_0x4cdbb8(0x3c4)],0.2),'left':_0x254508,'top':_0x2dbcdf,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4cdbb8(0x2d1)][_0x4cdbb8(0x225)](_0x38afc5),this[_0x4cdbb8(0x2ae)]['addObject'](_0x38afc5,b[_0x4cdbb8(0x3a8)]);}[_0xe0cd3b(0x25d)](_0x2a0b62){const _0xb421b0=_0x2a0b62[0x0],_0x11bd01=_0xb421b0[0x0],_0x293d45=_0xb421b0[0x2],{x:_0x5d4078,y:_0x16d05f}=_0x11bd01,{x:_0x4149e7,y:_0x18d5f5}=_0x293d45;return{'left':_0x5d4078,'top':_0x16d05f,'width':_0x4149e7-_0x5d4078,'height':_0x18d5f5-_0x16d05f};}[_0xe0cd3b(0x1d8)](){const _0x54fa33=_0xe0cd3b,{scaleX:_0x122c2c,scaleY:_0x52aa0d}=this[_0x54fa33(0x2ae)][_0x54fa33(0x2c4)]();return Math[_0x54fa33(0x371)](_0x122c2c,_0x52aa0d);}}var It=Object[_0xe0cd3b(0x1a0)],vt=(_0x2396cc,_0x230c90,_0x376aaf,_0x158cde)=>{for(var _0x3a8804=_0x158cde>0x1?void 0x0:_0x158cde?It(_0x230c90,_0x376aaf):_0x230c90,_0x322167=_0x2396cc['length']-0x1,_0x8878de;_0x322167>=0x0;_0x322167--)(_0x8878de=_0x2396cc[_0x322167])&&(_0x3a8804=_0x8878de(_0x3a8804)||_0x3a8804);return _0x3a8804;},Y=(_0x11ec34,_0x474670)=>(_0x552aa5,_0x79528a)=>_0x474670(_0x552aa5,_0x79528a,_0x11ec34);let Ie=class extends a[_0xe0cd3b(0x2f8)]{constructor(_0x4b94ab,_0x50f7ec,_0x59d0d7,_0x443d1d,_0x4cb377){const _0x3022fe=_0xe0cd3b;super(),h(this,_0x3022fe(0x16b),[]),h(this,_0x3022fe(0x19b),[]),(this[_0x3022fe(0x1eb)]=_0x4b94ab,this[_0x3022fe(0x224)]=_0x50f7ec,this[_0x3022fe(0x276)]=_0x59d0d7,this[_0x3022fe(0x242)]=_0x443d1d,this['_themeService']=_0x4cb377,this[_0x3022fe(0x378)]());}['_init'](){const _0xe86d2c=_0xe0cd3b,_0x214818=this['_context'][_0xe86d2c(0x351)],_0x58905c=this['_docSkeletonManagerService'];this[_0xe86d2c(0x1d3)](d['combineLatest']([this['_collabCursorController'][_0xe86d2c(0x259)](_0x214818),this[_0xe86d2c(0x362)][_0xe86d2c(0x1fe)]])[_0xe86d2c(0x191)]($[_0xe86d2c(0x28c)](([_0x267f9c,_0x90a022])=>({'skeleton':_0x58905c[_0xe86d2c(0x317)](),'cursors':[..._0x267f9c[_0xe86d2c(0x153)]()][_0xe86d2c(0x374)](_0x23c21b=>({..._0x23c21b,'color':_0x90a022[_0x23c21b[_0xe86d2c(0x34b)]]}))})))[_0xe86d2c(0x29c)](_0x1b9a2c=>{const _0x1a7a5c=_0xe86d2c;if(this[_0x1a7a5c(0x365)](),_0x1b9a2c){const {skeleton:_0x34649c,cursors:_0xce0709}=_0x1b9a2c;this['_updateCollabCursors'](_0x34649c,_0xce0709);}})),this['_initResize'](),this[_0xe86d2c(0x306)]();}[_0xe0cd3b(0x1fd)](_0xecaa60,_0x396d57){const _0x29cf2d=_0xe0cd3b,{scene:_0x483c94,mainComponent:_0x55ffef}=this['_context'],_0x5e7363=_0x396d57[_0x29cf2d(0x28c)](_0xbab5b9=>new De(_0xbab5b9,_0x483c94,_0xecaa60,_0x55ffef));this[_0x29cf2d(0x16b)]=_0x5e7363,this[_0x29cf2d(0x19b)]=_0x396d57;}[_0xe0cd3b(0x2d3)](){const _0x2802c2=_0xe0cd3b;this[_0x2802c2(0x365)]();const {scene:_0x3f4c63,mainComponent:_0x3f7453}=this[_0x2802c2(0x1eb)],_0x5ab489=this[_0x2802c2(0x224)]['getSkeleton'](),_0x3e4076=this[_0x2802c2(0x19b)][_0x2802c2(0x28c)](_0x9851c8=>new De(_0x9851c8,_0x3f4c63,_0x5ab489,_0x3f7453));this[_0x2802c2(0x16b)]=_0x3e4076;}[_0xe0cd3b(0x365)](){const _0x3a8114=_0xe0cd3b;this[_0x3a8114(0x16b)][_0x3a8114(0x1c1)](_0x32329d=>_0x32329d[_0x3a8114(0x37f)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x57a355=_0xe0cd3b,_0x2c8d7b=[b[_0x57a355(0x183)]['id']];this[_0x57a355(0x1d3)](this[_0x57a355(0x242)][_0x57a355(0x399)](_0x4c50c7=>{const _0x51bd7e=_0x57a355;_0x2c8d7b[_0x51bd7e(0x22a)](_0x4c50c7['id'])&&_0x4c50c7['params'][_0x51bd7e(0x351)]===this[_0x51bd7e(0x1eb)][_0x51bd7e(0x351)]&&this[_0x51bd7e(0x2d3)]();}));}[_0xe0cd3b(0x36c)](){const _0x28219f=_0xe0cd3b;this[_0x28219f(0x1d3)](a[_0x28219f(0x255)](this['_context'][_0x28219f(0x193)][_0x28219f(0x1d2)])[_0x28219f(0x191)]($[_0x28219f(0x36d)](_0x46751b=>_0x46751b[_0x28219f(0x236)]===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x28219f(0x331)]),$['throttleTime'](0x10))[_0x28219f(0x29c)](()=>{const _0x4e4ca7=_0x28219f;this[_0x4e4ca7(0x2d3)]();}));}};Ie=vt([Y(0x1,a[_0xe0cd3b(0x297)](W[_0xe0cd3b(0x280)])),Y(0x2,a[_0xe0cd3b(0x297)](x)),Y(0x3,a[_0xe0cd3b(0x1f7)]),Y(0x4,a[_0xe0cd3b(0x297)](a['ThemeService']))],Ie);const gt=0x1,mt=1.5;class we extends p[_0xe0cd3b(0x1c9)]{constructor(_0x22a364,_0x4cb7a4){const _0x469915=_0xe0cd3b;super(_0x22a364,_0x4cb7a4),h(this,'_color'),h(this,_0x469915(0x364),!0x1),h(this,_0x469915(0x39a)),h(this,'_name',''),h(this,_0x469915(0x267),'top'),h(this,'_backgroundColor'),(_0x4cb7a4&&this[_0x469915(0x272)](_0x4cb7a4),this['onPointerEnter$'][_0x469915(0x292)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x469915(0x292)](()=>this[_0x469915(0x272)]({'hovered':!0x1})));}['setShapeProps'](_0x1f37d6){const _0x3d1ba9=_0xe0cd3b;var _0x1904c0,_0x31dfe1,_0x2dc295,_0x5137b7,_0x202f4d,_0x28f2e8;this['_color']=(_0x1904c0=_0x1f37d6['color'])!=null?_0x1904c0:this[_0x3d1ba9(0x20f)],this[_0x3d1ba9(0x364)]=(_0x31dfe1=_0x1f37d6['hovered'])!=null?_0x31dfe1:this[_0x3d1ba9(0x364)],this[_0x3d1ba9(0x39a)]=(_0x2dc295=_0x1f37d6[_0x3d1ba9(0x172)])!=null?_0x2dc295:this[_0x3d1ba9(0x39a)],this[_0x3d1ba9(0x2c7)]=(_0x5137b7=_0x1f37d6[_0x3d1ba9(0x268)])!=null?_0x5137b7:this[_0x3d1ba9(0x2c7)],this['_labelPosition']=(_0x202f4d=_0x1f37d6[_0x3d1ba9(0x2af)])!=null?_0x202f4d:this[_0x3d1ba9(0x267)],this['_backgroundColor']=(_0x28f2e8=_0x1f37d6[_0x3d1ba9(0x21e)])!=null?_0x28f2e8:this['_backgroundColor'],this[_0x3d1ba9(0x1d5)]({'width':_0x1f37d6['width'],'height':_0x1f37d6[_0x3d1ba9(0x1a2)]});}['onMouseMove'](_0x53f689){const _0x4d65a0=_0xe0cd3b,{row:_0x185004,column:_0x561001}=_0x53f689;if(_0x185004>=this[_0x4d65a0(0x39a)]['startRow']&&_0x185004<=this['_range'][_0x4d65a0(0x37c)]&&_0x561001>=this[_0x4d65a0(0x39a)][_0x4d65a0(0x1f9)]&&_0x561001<=this[_0x4d65a0(0x39a)][_0x4d65a0(0x1fa)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4d65a0(0x272)]({'hovered':!0x1});}['triggerDblclick'](_0x5c42e2){return!0x1;}['_draw'](_0x18777a){const _0x1eff98=_0xe0cd3b;p[_0x1eff98(0x253)][_0x1eff98(0x2cd)](_0x18777a,{'width':this[_0x1eff98(0x1ed)],'height':this['height'],'strokeWidth':mt,'stroke':this[_0x1eff98(0x20f)],'evented':!0x1,'fill':this[_0x1eff98(0x16e)]}),this['_hovered']&&(_0x18777a[_0x1eff98(0x1b6)](),_0x18777a[_0x1eff98(0x377)](0x1,0x0,0x0,0x1,this[_0x1eff98(0x1ed)],this[_0x1eff98(0x267)]===_0x1eff98(0x210)?0x0:-0x14),ee[_0x1eff98(0x2cd)](_0x18777a,{'text':this['_name'],'color':this[_0x1eff98(0x20f)]}),_0x18777a[_0x1eff98(0x27e)]());}}var Ct=Object[_0xe0cd3b(0x1a0)],pt=(_0x3dfe1f,_0xd5f924,_0x29cc92,_0xd29b81)=>{const _0x81fc37=_0xe0cd3b;for(var _0x3c2205=_0xd29b81>0x1?void 0x0:_0xd29b81?Ct(_0xd5f924,_0x29cc92):_0xd5f924,_0x20432b=_0x3dfe1f[_0x81fc37(0x3c2)]-0x1,_0x163cff;_0x20432b>=0x0;_0x20432b--)(_0x163cff=_0x3dfe1f[_0x20432b])&&(_0x3c2205=_0x163cff(_0x3c2205)||_0x3c2205);return _0x3c2205;},ae=(_0x12b5c9,_0x2fa117)=>(_0x5c4316,_0x4e6fba)=>_0x2fa117(_0x5c4316,_0x4e6fba,_0x12b5c9);const bt=0x1389;let ve=class extends a[_0xe0cd3b(0x2f8)]{constructor(_0x1ff394,_0x1a3ba6,_0x126f6e,_0x3b5ab2){const _0x53efb9=_0xe0cd3b;super(),h(this,_0x53efb9(0x19b),new Set()),h(this,_0x53efb9(0x23d),null),(this['_context']=_0x1ff394,this[_0x53efb9(0x391)]=_0x1a3ba6,this[_0x53efb9(0x276)]=_0x126f6e,this[_0x53efb9(0x362)]=_0x3b5ab2,this[_0x53efb9(0x378)]());}['_init'](){const _0x30e4b9=_0xe0cd3b;this['_sheetSkeletonManagerService'][_0x30e4b9(0x192)][_0x30e4b9(0x191)]($[_0x30e4b9(0x2c3)](this[_0x30e4b9(0x1bf)]),$[_0x30e4b9(0x325)](_0x385d13=>{const _0x25eb80=_0x30e4b9;if(_0x385d13){const _0x3112c7=_0x385d13[_0x25eb80(0x206)];return d[_0x25eb80(0x2dc)](this[_0x25eb80(0x276)]['getCollabCursors$'](this[_0x25eb80(0x1eb)][_0x25eb80(0x351)]),this[_0x25eb80(0x362)]['currentTheme$'])[_0x25eb80(0x191)]($[_0x25eb80(0x28c)](([_0x18710a,_0x5f3fa8])=>{const _0x1e9542=_0x25eb80,_0x21ec59=new Map();return _0x18710a[_0x1e9542(0x1c1)]((_0x19786c,_0x394d04)=>{const _0x173c90=_0x1e9542;if(_0x19786c[_0x173c90(0x212)]===_0x3112c7){const _0xa74b9b={..._0x19786c};_0xa74b9b[_0x173c90(0x34b)]=_0x5f3fa8[_0x19786c['color']],_0x21ec59[_0x173c90(0x2f7)](_0x394d04,_0xa74b9b);}}),{'skeleton':_0x385d13,'cursors':_0x21ec59};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x30e4b9(0x29c)](({skeleton:_0x35ddbd,cursors:_0x6cf529})=>{const _0x57712e=_0x30e4b9;this[_0x57712e(0x365)](),_0x35ddbd&&this['_updateCollabCursors'](_0x35ddbd,_0x6cf529);}),this[_0x30e4b9(0x391)]['currentSkeleton$']['subscribe'](_0x1a6c4a=>{const _0x3a8092=_0x30e4b9;if(_0x1a6c4a==null)return;const {skeleton:_0x31482e}=_0x1a6c4a,{scene:_0x78ac44}=this[_0x3a8092(0x1eb)];_0x78ac44[_0x3a8092(0x146)][_0x3a8092(0x292)](a[_0x3a8092(0x3be)](_0x150f14=>{const _0x645ea3=_0x3a8092;var _0x183cde,_0x563a99;const {offsetX:_0xd190c4,offsetY:_0x569194}=_0x150f14,{x:_0x595b9b,y:_0x17b8b9}=_0x78ac44[_0x645ea3(0x2bd)](p['Vector2'][_0x645ea3(0x15e)]([_0xd190c4,_0x569194])),{scaleX:_0x5d2c41,scaleY:_0x588711}=_0x78ac44['getAncestorScale'](),_0x51bacc=_0x78ac44[_0x645ea3(0x352)](p[_0x645ea3(0x3a2)][_0x645ea3(0x167)]),_0x2ee1ef=_0x78ac44[_0x645ea3(0x20a)](p[_0x645ea3(0x313)][_0x645ea3(0x15e)]([_0x595b9b,_0x17b8b9]),_0x51bacc),_0x48bc37=_0x31482e['getCellPositionByOffset'](_0xd190c4,_0x569194,_0x5d2c41,_0x588711,_0x2ee1ef);((_0x183cde=this['_lastPointer'])==null?void 0x0:_0x183cde['column'])===_0x48bc37[_0x645ea3(0x30c)]&&((_0x563a99=this[_0x645ea3(0x23d)])==null?void 0x0:_0x563a99['row'])===_0x48bc37[_0x645ea3(0x1ce)]||this[_0x645ea3(0x19b)]['forEach'](_0x5b01e8=>{const _0x3e116c=_0x645ea3;_0x5b01e8[_0x3e116c(0x3af)](_0x48bc37);});},0x64));});}[_0xe0cd3b(0x1fd)](_0x537b08,_0x318c22){const _0x443d86=_0xe0cd3b;var _0x421062;const _0x539a00=(_0x421062=this['_sheetSkeletonManagerService'][_0x443d86(0x1bb)]())==null?void 0x0:_0x421062[_0x443d86(0x2e1)];if(!_0x539a00)return;const _0x2ad6fd=this[_0x443d86(0x2c8)]();if(!_0x2ad6fd)return;this[_0x443d86(0x19b)][_0x443d86(0x1c1)](_0x1949ea=>{_0x1949ea['makeDirty']();});const {scene:_0x46aa61}=_0x2ad6fd,_0x46fdf3=Et(Array['from'](_0x318c22[_0x443d86(0x153)]()))[_0x443d86(0x28c)](_0x47711f=>{const _0x3f1d3b=_0x443d86,{color:_0x937a46,range:_0x4e5933,name:_0x16e8a9,selection:_0x42c424,sheetID:_0xa8a588}=_0x47711f,{startColumn:_0x298cb7,startRow:_0x48f381,endColumn:_0x430dbb,endRow:_0x2d41ca}=_0x4e5933,_0x317ff8=X[_0x3f1d3b(0x20b)](_0x48f381,_0x298cb7,_0x46aa61,_0x539a00),_0x31b627=X[_0x3f1d3b(0x20b)](_0x2d41ca,_0x430dbb,_0x46aa61,_0x539a00),{columnHeaderHeightAndMarginTop:_0x4fc9a9}=_0x539a00,{startX:_0x2c248f,startY:_0x52b8ff}=_0x317ff8,{endX:_0x5dc96c,endY:_0x32f477}=_0x31b627,_0x18d602=_0x5dc96c-_0x2c248f,_0xff09ef=_0x32f477-_0x52b8ff,_0x27c7f6={'labelPosition':_0x52b8ff-_0x4fc9a9>=q?'top':_0x3f1d3b(0x210),'sheetID':_0xa8a588,'range':_0x4e5933,'color':_0x937a46,'name':_0x16e8a9,'selection':_0x42c424,'left':_0x2c248f,'top':_0x52b8ff,'width':_0x18d602,'height':_0xff09ef,'evented':!0x1,'zIndex':bt};return new we(_0x16e8a9,_0x27c7f6);});_0x46aa61['addObjects'](_0x46fdf3,gt),this[_0x443d86(0x19b)]=new Set(_0x46fdf3);}[_0xe0cd3b(0x365)](){const _0x5168b9=_0xe0cd3b;var _0x2d672c;(_0x2d672c=this[_0x5168b9(0x19b)])==null||_0x2d672c[_0x5168b9(0x1c1)](_0x26ff50=>_0x26ff50[_0x5168b9(0x37f)]());}[_0xe0cd3b(0x2c8)](){const _0x4f1cb4=_0xe0cd3b;return X[_0x4f1cb4(0x2e9)](this[_0x4f1cb4(0x1eb)]['unit'],this['_context']);}};ve=pt([ae(0x1,a[_0xe0cd3b(0x297)](X['SheetSkeletonManagerService'])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0xe0cd3b(0x297)](a['ThemeService']))],ve);function Et(_0x3ae07d){const _0x565ff5=_0xe0cd3b,_0xc47074=new Map();return _0x3ae07d[_0x565ff5(0x1c1)](_0x58e70c=>{const _0x339aee=_0x565ff5;if(_0xc47074['has'](_0x58e70c['selection'])){const _0x58687e=_0xc47074[_0x339aee(0x2f1)](_0x58e70c[_0x339aee(0x2d8)]);_0x58687e[_0x339aee(0x268)]+=',\x20'+_0x58e70c[_0x339aee(0x268)];}else _0xc47074[_0x339aee(0x2f7)](_0x58e70c[_0x339aee(0x2d8)],_0x58e70c);}),Array[_0x565ff5(0x162)](_0xc47074[_0x565ff5(0x153)]());}var E=function(){const _0x1f42a5=_0xe0cd3b;return E=Object[_0x1f42a5(0x1c0)]||function(_0x4f58bd){const _0x199fdd=_0x1f42a5;for(var _0x486935,_0x9fa1ab=0x1,_0x39c8c1=arguments[_0x199fdd(0x3c2)];_0x9fa1ab<_0x39c8c1;_0x9fa1ab++){_0x486935=arguments[_0x9fa1ab];for(var _0x46ce4c in _0x486935)Object[_0x199fdd(0x282)][_0x199fdd(0x2d0)]['call'](_0x486935,_0x46ce4c)&&(_0x4f58bd[_0x46ce4c]=_0x486935[_0x46ce4c]);}return _0x4f58bd;},E[_0x1f42a5(0x314)](this,arguments);},Tt=function(_0x5ca51a,_0x3bbc4b){const _0x434f80=_0xe0cd3b;var _0x9b7a81={};for(var _0x499a86 in _0x5ca51a)Object[_0x434f80(0x282)][_0x434f80(0x2d0)]['call'](_0x5ca51a,_0x499a86)&&_0x3bbc4b['indexOf'](_0x499a86)<0x0&&(_0x9b7a81[_0x499a86]=_0x5ca51a[_0x499a86]);if(_0x5ca51a!=null&&typeof Object[_0x434f80(0x32d)]==_0x434f80(0x37b)){for(var _0x36cfd9=0x0,_0x499a86=Object[_0x434f80(0x32d)](_0x5ca51a);_0x36cfd9<_0x499a86['length'];_0x36cfd9++)_0x3bbc4b[_0x434f80(0x286)](_0x499a86[_0x36cfd9])<0x0&&Object[_0x434f80(0x282)]['propertyIsEnumerable']['call'](_0x5ca51a,_0x499a86[_0x36cfd9])&&(_0x9b7a81[_0x499a86[_0x36cfd9]]=_0x5ca51a[_0x499a86[_0x36cfd9]]);}return _0x9b7a81;},pe=M['forwardRef'](function(_0x15074f,_0x58f7fb){const _0x4d40e9=_0xe0cd3b;var _0x466a14=_0x15074f['icon'],_0x5e004d=_0x15074f['id'],_0x155ba4=_0x15074f['className'],_0x1f467d=_0x15074f[_0x4d40e9(0x315)],_0x4ace34=Tt(_0x15074f,[_0x4d40e9(0x29b),'id',_0x4d40e9(0x27b),_0x4d40e9(0x315)]),_0x490526=_0x4d40e9(0x250)[_0x4d40e9(0x23b)](_0x5e004d,'\x20')[_0x4d40e9(0x23b)](_0x155ba4||'')['trim'](),_0x5b207c=M[_0x4d40e9(0x326)]('_'['concat'](Dt()));return Ae(_0x466a14,''[_0x4d40e9(0x23b)](_0x5e004d),{'defIds':_0x466a14[_0x4d40e9(0x3b5)],'idSuffix':_0x5b207c[_0x4d40e9(0x30b)]},E({'ref':_0x58f7fb,'className':_0x490526},_0x4ace34),_0x1f467d);});function Ae(_0x24f1e1,_0x2c055b,_0x2c81b0,_0x3920e0,_0x498511){const _0x5f2ad9=_0xe0cd3b;return M[_0x5f2ad9(0x30d)](_0x24f1e1['tag'],E(E({'key':_0x2c055b},Ot(_0x24f1e1,_0x2c81b0,_0x498511)),_0x3920e0),(Rt(_0x24f1e1,_0x2c81b0)[_0x5f2ad9(0x2b9)]||[])[_0x5f2ad9(0x28c)](function(_0x180d38,_0x27ab42){const _0x19b05e=_0x5f2ad9;return Ae(_0x180d38,''[_0x19b05e(0x23b)](_0x2c055b,'-')[_0x19b05e(0x23b)](_0x24f1e1[_0x19b05e(0x2ea)],'-')[_0x19b05e(0x23b)](_0x27ab42),_0x2c81b0,void 0x0,_0x498511);}));}function Ot(_0x4c3689,_0x1e1355,_0x5fc478){const _0x18ef8c=_0xe0cd3b;var _0x204ef4=E({},_0x4c3689[_0x18ef8c(0x3b7)]);_0x5fc478!=null&&_0x5fc478[_0x18ef8c(0x359)]&&_0x204ef4[_0x18ef8c(0x25a)]===_0x18ef8c(0x359)&&(_0x204ef4[_0x18ef8c(0x25a)]=_0x5fc478['colorChannel1']),_0x4c3689['tag']==='mask'&&_0x204ef4['id']&&(_0x204ef4['id']=_0x204ef4['id']+_0x1e1355[_0x18ef8c(0x194)]),Object[_0x18ef8c(0x187)](_0x204ef4)['forEach'](function(_0x53f121){const _0x3f0b08=_0x18ef8c;var _0x13c0cc=_0x53f121[0x0],_0xf8bf3b=_0x53f121[0x1];_0x13c0cc===_0x3f0b08(0x1d7)&&typeof _0xf8bf3b=='string'&&(_0x204ef4[_0x13c0cc]=_0xf8bf3b[_0x3f0b08(0x3a5)](/url\(#(.*)\)/,'url(#$1'[_0x3f0b08(0x23b)](_0x1e1355[_0x3f0b08(0x194)],')')));});var _0x3a148f=_0x1e1355[_0x18ef8c(0x3b5)];return!_0x3a148f||_0x3a148f[_0x18ef8c(0x3c2)]===0x0||(_0x4c3689[_0x18ef8c(0x2ea)]===_0x18ef8c(0x372)&&_0x204ef4['xlink:href']&&(_0x204ef4[_0x18ef8c(0x3c5)]=_0x204ef4[_0x18ef8c(0x3c5)]+_0x1e1355[_0x18ef8c(0x194)]),Object[_0x18ef8c(0x187)](_0x204ef4)['forEach'](function(_0x499fb2){const _0x51469c=_0x18ef8c;var _0x3e6003=_0x499fb2[0x0],_0x399003=_0x499fb2[0x1];typeof _0x399003==_0x51469c(0x1a3)&&(_0x204ef4[_0x3e6003]=_0x399003[_0x51469c(0x3a5)](/url\(#(.*)\)/,_0x51469c(0x2b8)[_0x51469c(0x23b)](_0x1e1355[_0x51469c(0x194)],')')));})),_0x204ef4;}function Rt(_0x1cd859,_0x5790d6){const _0x4f646a=_0xe0cd3b;var _0xa95945,_0x5e9d21=_0x5790d6[_0x4f646a(0x3b5)];return!_0x5e9d21||_0x5e9d21[_0x4f646a(0x3c2)]===0x0?_0x1cd859:_0x1cd859[_0x4f646a(0x2ea)]===_0x4f646a(0x33b)&&(!((_0xa95945=_0x1cd859['children'])===null||_0xa95945===void 0x0)&&_0xa95945['length'])?E(E({},_0x1cd859),{'children':_0x1cd859[_0x4f646a(0x2b9)]['map'](function(_0x39866c){const _0x187def=_0x4f646a;return typeof _0x39866c['attrs']['id']==_0x187def(0x1a3)&&_0x5e9d21&&_0x5e9d21[_0x187def(0x286)](_0x39866c[_0x187def(0x3b7)]['id'])>-0x1?E(E({},_0x39866c),{'attrs':E(E({},_0x39866c['attrs']),{'id':_0x39866c[_0x187def(0x3b7)]['id']+_0x5790d6[_0x187def(0x194)]})}):_0x39866c;})}):_0x1cd859;}function Dt(){const _0x35793a=_0xe0cd3b;return Math['random']()['toString'](0x24)[_0x35793a(0x251)](0x2,0x8);}pe['displayName']=_0xe0cd3b(0x2da);var Ut={'tag':'svg','attrs':{'fill':_0xe0cd3b(0x1cb),'viewBox':_0xe0cd3b(0x296),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0xe0cd3b(0x3ae),'attrs':{'stroke':_0xe0cd3b(0x30e),'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':_0xe0cd3b(0x16a),'strokeLinejoin':_0xe0cd3b(0x16a),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xe0cd3b(0x156),'attrs':{'id':_0xe0cd3b(0x31e)},'children':[{'tag':_0xe0cd3b(0x3ae),'attrs':{'fill':'#fff','d':_0xe0cd3b(0x1a8)}}]}]}],'defIds':[_0xe0cd3b(0x31e)]},ye=M[_0xe0cd3b(0x1c7)](function(_0x47f729,_0x2574eb){return M['createElement'](pe,Object['assign']({},_0x47f729,{'id':'off-line-single','ref':_0x2574eb,'icon':Ut}));});ye[_0xe0cd3b(0x147)]=_0xe0cd3b(0x25f);var Nt={'tag':_0xe0cd3b(0x1c6),'attrs':{'fill':_0xe0cd3b(0x1cb),'viewBox':_0xe0cd3b(0x222),'width':_0xe0cd3b(0x157),'height':_0xe0cd3b(0x157)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0xe0cd3b(0x3ae),'attrs':{'stroke':_0xe0cd3b(0x30e),'d':_0xe0cd3b(0x15c),'strokeLinecap':_0xe0cd3b(0x16a),'strokeLinejoin':_0xe0cd3b(0x16a),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xe0cd3b(0x156),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0xe0cd3b(0x3ae),'attrs':{'fill':_0xe0cd3b(0x376),'d':'M0\x200H16V16H0z','transform':_0xe0cd3b(0x27d)}}]}]}],'defIds':[_0xe0cd3b(0x38f)]},$e=M[_0xe0cd3b(0x1c7)](function(_0x2a161b,_0x258e73){const _0x3400b8=_0xe0cd3b;return M[_0x3400b8(0x30d)](pe,Object[_0x3400b8(0x1c0)]({},_0x2a161b,{'id':'on-line-single','ref':_0x258e73,'icon':Nt}));});$e[_0xe0cd3b(0x147)]='OnLineSingle';function Mt(_0x2fe706){const _0x102cac=_0xe0cd3b;switch(_0x2fe706){case u['CollaborationStatus']['OFFLINE']:return _0x102cac(0x186);case u[_0x102cac(0x344)]['CONFLICT']:return _0x102cac(0x261);case u[_0x102cac(0x344)][_0x102cac(0x289)]:return _0x102cac(0x176);case u[_0x102cac(0x344)]['NOT_COLLAB']:return _0x102cac(0x214);case u[_0x102cac(0x344)][_0x102cac(0x328)]:case u[_0x102cac(0x344)][_0x102cac(0x1e5)]:return _0x102cac(0x22f);case u[_0x102cac(0x344)]['SYNCED']:case u[_0x102cac(0x344)][_0x102cac(0x3a0)]:return _0x102cac(0x319);}}function xe(_0x56b819){const _0x2367f2=_0xe0cd3b,{status$:_0x1ef5e1}=_0x56b819,_0x4b65ff=T[_0x2367f2(0x1a5)](_0x1ef5e1,u[_0x2367f2(0x344)]['NOT_COLLAB']),_0x2cf07d=T[_0x2367f2(0x227)](a[_0x2367f2(0x346)]),_0x104d17=T['useDependency'](u['CollaborationSessionService']),_0xfa528f=_0x4b65ff!==u['CollaborationStatus']['OFFLINE'],_0x1c12db=_0x2cf07d['t'](Mt(_0x4b65ff)),_0x1b16db=_0xfa528f?P[_0x2367f2(0x245)]($e,{}):P[_0x2367f2(0x245)](ye,{}),_0xb667ac=M[_0x2367f2(0x321)](()=>{const _0x2307ec=_0x2367f2;_0xfa528f||_0x104d17[_0x2307ec(0x395)]();},[_0xfa528f,_0x104d17]);function _0x4696d5(){const _0x5e95e6=_0x2367f2;return P[_0x5e95e6(0x1fb)](_0x5e95e6(0x188),{'className':_0x5e95e6(0x30f),'onClick':_0xb667ac,'children':[P[_0x5e95e6(0x245)](_0x5e95e6(0x188),{'className':D[_0x5e95e6(0x209)](_0x5e95e6(0x233),_0xfa528f?_0x5e95e6(0x35c):_0x5e95e6(0x3b3)),'children':_0x1b16db}),P['jsx']('div',{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x1c12db})]});}return _0xfa528f?_0x4696d5():P['jsx'](D['Tooltip'],{'title':_0x2cf07d['t'](_0x2367f2(0x17e)),'children':_0x4696d5()});}var Lt=Object[_0xe0cd3b(0x1a0)],Pt=(_0x341147,_0x5e5c35,_0x455976,_0x2136c7)=>{const _0x1ff568=_0xe0cd3b;for(var _0x5cfdb0=_0x2136c7>0x1?void 0x0:_0x2136c7?Lt(_0x5e5c35,_0x455976):_0x5e5c35,_0xac711=_0x341147[_0x1ff568(0x3c2)]-0x1,_0xdc2b49;_0xac711>=0x0;_0xac711--)(_0xdc2b49=_0x341147[_0xac711])&&(_0x5cfdb0=_0xdc2b49(_0x5cfdb0)||_0x5cfdb0);return _0x5cfdb0;},V=(_0x35dfbe,_0x4d2010)=>(_0x209901,_0x2615b2)=>_0x4d2010(_0x209901,_0x2615b2,_0x35dfbe);exports[_0xe0cd3b(0x3bf)]=class extends a[_0xe0cd3b(0x1e4)]{constructor(_0x14585f,_0x509a97,_0x84612f,_0x584f88){const _0x40cdaa=_0xe0cd3b;super(),h(this,'_status$',new d['BehaviorSubject'](u[_0x40cdaa(0x344)]['NOT_COLLAB'])),(this[_0x40cdaa(0x2a5)]=_0x14585f,this['_injector']=_0x509a97,this[_0x40cdaa(0x320)]=_0x84612f,this[_0x40cdaa(0x19c)]=_0x584f88,this['_initStatusComponent'](),this['_initStatusListener']());}[_0xe0cd3b(0x164)](){const _0x51ad67=_0xe0cd3b;this['disposeWithMe'](this[_0x51ad67(0x2a5)][_0x51ad67(0x275)][_0x51ad67(0x191)](d[_0x51ad67(0x325)](()=>{const _0x31e59e=_0x51ad67,_0x18dee5=this[_0x31e59e(0x2a5)][_0x31e59e(0x154)]();return _0x18dee5?this[_0x31e59e(0x320)][_0x31e59e(0x1e6)](_0x18dee5[_0x31e59e(0x266)]()):d['of'](null);}),d[_0x51ad67(0x325)](_0x3ce456=>_0x3ce456?_0x3ce456['status$']:d['of'](u[_0x51ad67(0x344)][_0x51ad67(0x281)])))[_0x51ad67(0x29c)](_0x560f6e=>{const _0x55e25e=_0x51ad67;this[_0x55e25e(0x201)][_0x55e25e(0x294)](_0x560f6e);}));}[_0xe0cd3b(0x203)](){const _0xaf505e=_0xe0cd3b;this[_0xaf505e(0x1d3)](this['_uiPartsService']['registerComponent'](T[_0xaf505e(0x190)][_0xaf505e(0x3a6)],()=>T['connectInjector'](wt({'status$':this[_0xaf505e(0x201)]['asObservable']()}),this['_injector'])));}},exports['DesktopCollaborationStatusDisplayController']=Pt([V(0x0,a[_0xe0cd3b(0x34a)]),V(0x1,a['Inject'](a[_0xe0cd3b(0x17b)])),V(0x2,a[_0xe0cd3b(0x297)](u['CollaborationController'])),V(0x3,T[_0xe0cd3b(0x3aa)])],exports[_0xe0cd3b(0x3bf)]);function wt(_0x438b40){const {status$:_0x444885}=_0x438b40;return function(){const _0x4c061c=_0x2793;return P[_0x4c061c(0x245)](xe,{'status$':_0x444885});};}var At=Object[_0xe0cd3b(0x1a0)],yt=(_0x47bcb9,_0x3279fd,_0x4eea31,_0x1f41a5)=>{for(var _0x421c7c=_0x1f41a5>0x1?void 0x0:_0x1f41a5?At(_0x3279fd,_0x4eea31):_0x3279fd,_0x5b3903=_0x47bcb9['length']-0x1,_0x5b5a59;_0x5b3903>=0x0;_0x5b3903--)(_0x5b5a59=_0x47bcb9[_0x5b3903])&&(_0x421c7c=_0x5b5a59(_0x421c7c)||_0x421c7c);return _0x421c7c;},y=(_0x3c971c,_0x3991dc)=>(_0x10e76e,_0x5c8f71)=>_0x3991dc(_0x10e76e,_0x5c8f71,_0x3c971c);let K=class extends a[_0xe0cd3b(0x1e4)]{constructor(_0x22242f,_0x5703d5,_0x43f3bf,_0x1cf9f5,_0x2260f5,_0x2b63d4){const _0x2ebab9=_0xe0cd3b;super(),this[_0x2ebab9(0x2dd)]=_0x22242f,this[_0x2ebab9(0x2e6)]=_0x5703d5,this[_0x2ebab9(0x2ed)]=_0x43f3bf,this[_0x2ebab9(0x1d6)]=_0x1cf9f5,this[_0x2ebab9(0x339)]=_0x2260f5,this[_0x2ebab9(0x384)]=_0x2b63d4,this['_setupBeforeClosingHandler'](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x5ccf=_0xe0cd3b;this['disposeWithMe'](this[_0x5ccf(0x2dd)][_0x5ccf(0x35b)](()=>{const _0x55f4f4=_0x5ccf;if(this['_localCacheService'][_0x55f4f4(0x307)][_0x55f4f4(0x277)])return this[_0x55f4f4(0x384)]['t']('collaboration-client.offline-data-not-saved');}));}[_0xe0cd3b(0x39d)](){const _0x386f4f=_0xe0cd3b;this[_0x386f4f(0x1d3)](this[_0x386f4f(0x2ed)]['event$']['subscribe'](_0x34fcd1=>{const _0x2c47bd=_0x386f4f;_0x34fcd1['id']===u[_0x2c47bd(0x215)][_0x2c47bd(0x26e)]&&this['_messageService']['show']({'type':D[_0x2c47bd(0x39c)]['Warning'],'content':this[_0x2c47bd(0x384)]['t']('collaboration.single-unit.warning')}),_0x34fcd1['id']===u[_0x2c47bd(0x215)]['CLOSE_ROOM']&&this[_0x2c47bd(0x1d6)][_0x2c47bd(0x171)]({'type':D[_0x2c47bd(0x39c)][_0x2c47bd(0x24e)],'content':this[_0x2c47bd(0x384)]['t'](_0x2c47bd(0x3b8))}),_0x34fcd1['id']===u[_0x2c47bd(0x215)][_0x2c47bd(0x263)]&&this[_0x2c47bd(0x339)][_0x2c47bd(0x171)]({'title':this['_localeService']['t'](_0x2c47bd(0x309)),'content':this[_0x2c47bd(0x384)]['t'](_0x2c47bd(0x2cc)),'type':_0x2c47bd(0x274),'duration':0x0}),_0x34fcd1['id']===u[_0x2c47bd(0x215)][_0x2c47bd(0x1a4)]&&this['_messageService'][_0x2c47bd(0x171)]({'type':D[_0x2c47bd(0x39c)][_0x2c47bd(0x284)],'content':this[_0x2c47bd(0x384)]['t'](_0x2c47bd(0x3b8))+'('+_0x34fcd1[_0x2c47bd(0x16d)]+')'}),_0x34fcd1['id']===u[_0x2c47bd(0x215)][_0x2c47bd(0x343)]&&this[_0x2c47bd(0x1d6)][_0x2c47bd(0x171)]({'type':D[_0x2c47bd(0x39c)][_0x2c47bd(0x24e)],'content':this[_0x2c47bd(0x384)]['t'](_0x34fcd1['data']||'')}),_0x34fcd1['id']===u[_0x2c47bd(0x215)][_0x2c47bd(0x1f0)]&&this[_0x2c47bd(0x1d6)][_0x2c47bd(0x171)]({'type':D[_0x2c47bd(0x39c)][_0x2c47bd(0x24e)],'content':this['_localeService']['t'](_0x2c47bd(0x2b0))}),_0x34fcd1['id']===u[_0x2c47bd(0x215)][_0x2c47bd(0x1af)]&&this['_messageService'][_0x2c47bd(0x171)]({'type':D[_0x2c47bd(0x39c)][_0x2c47bd(0x284)],'content':this[_0x2c47bd(0x384)]['t'](_0x2c47bd(0x3a7))}),_0x34fcd1['id']===u[_0x2c47bd(0x215)][_0x2c47bd(0x270)]&&this[_0x2c47bd(0x1d6)][_0x2c47bd(0x171)]({'type':D[_0x2c47bd(0x39c)][_0x2c47bd(0x284)],'content':this[_0x2c47bd(0x384)]['t'](_0x2c47bd(0x1c5))});}));}};K=yt([y(0x0,T[_0xe0cd3b(0x31c)]),y(0x1,u[_0xe0cd3b(0x1d4)]),y(0x2,a['Inject'](u['CollaborationUIEventService'])),y(0x3,T[_0xe0cd3b(0x29e)]),y(0x4,T[_0xe0cd3b(0x170)]),y(0x5,a[_0xe0cd3b(0x297)](a['LocaleService']))],K);const $t=_0xe0cd3b(0x278),Ue={},be=a[_0xe0cd3b(0x1d1)](_0xe0cd3b(0x14f));var xt=Object[_0xe0cd3b(0x1a0)],jt=(_0x3c3d3c,_0x23a3d9,_0x56596d,_0x423fe0)=>{const _0x105ffe=_0xe0cd3b;for(var _0x36fdf7=_0x423fe0>0x1?void 0x0:_0x423fe0?xt(_0x23a3d9,_0x56596d):_0x23a3d9,_0x5747cd=_0x3c3d3c[_0x105ffe(0x3c2)]-0x1,_0x5117a1;_0x5747cd>=0x0;_0x5747cd--)(_0x5117a1=_0x3c3d3c[_0x5747cd])&&(_0x36fdf7=_0x5117a1(_0x36fdf7)||_0x36fdf7);return _0x36fdf7;},H=(_0x4151fd,_0x56d21a)=>(_0x20fd57,_0x1af67b)=>_0x56d21a(_0x20fd57,_0x1af67b,_0x4151fd);exports[_0xe0cd3b(0x20c)]=class extends a[_0xe0cd3b(0x2f8)]{constructor(_0xb27fcf,_0x1a2f2a,_0x528c9f,_0x487f46,_0x55ae78){const _0x410e49=_0xe0cd3b;super(),this[_0x410e49(0x396)]=_0xb27fcf,this['_logService']=_0x1a2f2a,this[_0x410e49(0x242)]=_0x528c9f,this[_0x410e49(0x14b)]=_0x487f46,_0x55ae78?_0x55ae78==null||_0x55ae78[_0x410e49(0x35f)]()['then'](()=>this[_0x410e49(0x378)]()):(this[_0x410e49(0x2d5)]['debug'](_0x410e49(0x269),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x410e49(0x378)]());}async[_0xe0cd3b(0x378)](){const _0x3e74e1=_0xe0cd3b,_0x183736=this['_urlService']['getParam']('unit'),_0x116375=this[_0x3e74e1(0x396)]['getParam'](_0x3e74e1(0x236)),_0x3fb1dc=this[_0x3e74e1(0x396)][_0x3e74e1(0x1cd)](_0x3e74e1(0x152));if(!_0x183736||!_0x116375){this[_0x3e74e1(0x2d5)][_0x3e74e1(0x3a3)](_0x3e74e1(0x269),_0x3e74e1(0x323));return;}const _0x4fd28c=await this[_0x3e74e1(0x14b)]['loadUnit'](_0x183736,Number(_0x116375),_0x3fb1dc);_0x4fd28c&&_0x4fd28c instanceof a[_0x3e74e1(0x32f)]&&this[_0x3e74e1(0x35e)](_0x4fd28c);}async[_0xe0cd3b(0x35e)](_0x37909a){const _0x451d17=_0xe0cd3b;await this['_updateSubUnitFromURLParams'](_0x37909a),_0x37909a[_0x451d17(0x1df)][_0x451d17(0x191)](d[_0x451d17(0x2c3)](this[_0x451d17(0x1bf)]))[_0x451d17(0x29c)](_0x1e9fce=>{_0x1e9fce&&this['_updateURLWithCurrentState'](_0x1e9fce);}),this[_0x451d17(0x396)][_0x451d17(0x302)][_0x451d17(0x191)](d[_0x451d17(0x2c3)](this['dispose$']))[_0x451d17(0x29c)](()=>this[_0x451d17(0x189)](_0x37909a));}[_0xe0cd3b(0x340)](_0x58940f,_0x5d29a0=!0x1){const _0x476b5f=_0xe0cd3b,_0x45cb04=this[_0x476b5f(0x396)][_0x476b5f(0x1cd)](_0x476b5f(0x152));_0x58940f[_0x476b5f(0x2d7)]()!==_0x45cb04&&this['_urlService'][_0x476b5f(0x1e8)](_0x476b5f(0x152),_0x58940f['getSheetId'](),_0x5d29a0);}async[_0xe0cd3b(0x189)](_0x50284f){const _0x1f947c=_0xe0cd3b;var _0x13cbac;const _0x5a4e4f=this[_0x1f947c(0x396)][_0x1f947c(0x1cd)](_0x1f947c(0x152));if(!_0x5a4e4f||!_0x50284f[_0x1f947c(0x197)](_0x5a4e4f)){const _0x1abd1f=_0x50284f[_0x1f947c(0x15f)]()[0x0],_0x543493=_0x50284f['getSheetBySheetId'](_0x1abd1f);if(!_0x543493)return;this[_0x1f947c(0x340)](_0x543493,!0x0),await this[_0x1f947c(0x242)][_0x1f947c(0x22b)](g[_0x1f947c(0x243)]['id'],{'unitId':_0x50284f[_0x1f947c(0x266)](),'subUnitId':_0x1abd1f});return;}((_0x13cbac=_0x50284f[_0x1f947c(0x350)]())==null?void 0x0:_0x13cbac[_0x1f947c(0x2d7)]())!==_0x5a4e4f&&await this[_0x1f947c(0x242)]['executeCommand'](g[_0x1f947c(0x243)]['id'],{'unitId':_0x50284f[_0x1f947c(0x266)](),'subUnitId':_0x5a4e4f});}},exports['CollaborationDataLoaderController']=jt([H(0x0,be),H(0x1,a[_0xe0cd3b(0x2bb)]),H(0x2,a['ICommandService']),H(0x3,a[_0xe0cd3b(0x297)](u[_0xe0cd3b(0x39f)])),H(0x4,a[_0xe0cd3b(0x15a)](qe[_0xe0cd3b(0x1ff)]))],exports[_0xe0cd3b(0x20c)]);var Bt=Object[_0xe0cd3b(0x1a0)],kt=(_0x54b42f,_0x32c869,_0x32c047,_0x3d24b0)=>{for(var _0x417402=_0x3d24b0>0x1?void 0x0:_0x3d24b0?Bt(_0x32c869,_0x32c047):_0x32c869,_0x5e39c5=_0x54b42f['length']-0x1,_0x52d0f6;_0x5e39c5>=0x0;_0x5e39c5--)(_0x52d0f6=_0x54b42f[_0x5e39c5])&&(_0x417402=_0x52d0f6(_0x417402)||_0x417402);return _0x417402;},ce=(_0x3cff73,_0x3ec137)=>(_0x347036,_0xf0eae3)=>_0x3ec137(_0x347036,_0xf0eae3,_0x3cff73);let z=class{constructor(_0x1478e2,_0x40db7b,_0x123e83){const _0x491841=_0xe0cd3b;this[_0x491841(0x1d0)]=_0x1478e2,this[_0x491841(0x2bf)]=_0x40db7b,this[_0x491841(0x1be)]=_0x123e83;}['transformIMECache'](_0x3e0f57){const _0x130dfc=_0xe0cd3b;this[_0x130dfc(0x1bc)](_0x3e0f57),this[_0x130dfc(0x330)](_0x3e0f57);}[_0xe0cd3b(0x26b)](_0x249a6e){const _0x13807f=_0xe0cd3b,{unitID:_0x24b5fb}=_0x249a6e,_0x502b7a=this[_0x13807f(0x1be)]['getRenderById'](_0x24b5fb)[_0x13807f(0x2ef)](b['DocIMEInputManagerService']),{redoCache:_0x4857b1}=_0x502b7a['getUndoRedoMutationParamsCache']();if(_0x4857b1[_0x13807f(0x3c2)]===0x0)return _0x249a6e;let _0x1c002e=a[_0x13807f(0x15b)][_0x13807f(0x1c8)](_0x249a6e[_0x13807f(0x256)][0x0]);for(let _0x3d2935=0x0;_0x3d2935<_0x4857b1[_0x13807f(0x3c2)];_0x3d2935++){const _0xba9436={'id':_0x13807f(0x3b9),'params':{..._0x4857b1[_0x3d2935]}},_0x761284=this[_0x13807f(0x2bf)]['transformMutation'](_0x1c002e,_0xba9436,!0x1);if(m['isTransformMutationFailure'](_0x761284))throw _0x761284['error'];_0x1c002e=_0x761284[_0x13807f(0x369)];}return{...a['Tools'][_0x13807f(0x1c8)](_0x249a6e),'mutations':[_0x1c002e]};}[_0xe0cd3b(0x1bc)](_0x39300b){const _0x573dde=_0xe0cd3b,{unitID:_0xc6b75e}=_0x39300b,_0x2c6a15=this[_0x573dde(0x1be)]['getRenderById'](_0xc6b75e)[_0x573dde(0x2ef)](b[_0x573dde(0x3b0)]),{undoCache:_0x4fd6b9,redoCache:_0x24d59d}=_0x2c6a15['getUndoRedoMutationParamsCache']();if(_0x4fd6b9[_0x573dde(0x3c2)]===0x0||_0x24d59d[_0x573dde(0x3c2)]===0x0)return;const _0x7376a2=[],_0x1bb80d=[];let _0x252b95=a['Tools']['deepClone'](_0x39300b[_0x573dde(0x256)][0x0]),_0x5a4b9a=a[_0x573dde(0x15b)][_0x573dde(0x1c8)](_0x39300b[_0x573dde(0x256)][0x0]);for(let _0x355af7=_0x4fd6b9['length']-0x1;_0x355af7>=0x0;_0x355af7--){const _0xde51b8={'id':_0x573dde(0x3b9),'params':{..._0x4fd6b9[_0x355af7]}},_0x491424={'id':_0x573dde(0x3b9),'params':{..._0x24d59d[_0x355af7]}},_0x528a59=this['_transformService'][_0x573dde(0x260)](_0x252b95,_0xde51b8,!0x1),_0x4104f7=this[_0x573dde(0x2bf)][_0x573dde(0x260)](_0x5a4b9a,_0x491424,!0x1);if(m[_0x573dde(0x2a0)](_0x528a59))throw _0x528a59[_0x573dde(0x274)];if(m[_0x573dde(0x2a0)](_0x4104f7))throw _0x4104f7[_0x573dde(0x274)];_0x7376a2[_0x573dde(0x2e7)](_0x528a59[_0x573dde(0x2f2)][_0x573dde(0x24c)]),_0x1bb80d['unshift'](_0x4104f7[_0x573dde(0x2f2)][_0x573dde(0x24c)]),_0x252b95=_0x528a59[_0x573dde(0x369)],_0x5a4b9a=_0x4104f7[_0x573dde(0x369)];}_0x2c6a15[_0x573dde(0x34e)]({'undoCache':_0x7376a2,'redoCache':_0x1bb80d});}[_0xe0cd3b(0x330)](_0x15c9aa){const _0x741458=_0xe0cd3b,{unitID:_0x4ea3cf}=_0x15c9aa,_0x2f1b6f=this[_0x741458(0x1be)][_0x741458(0x2e8)](_0x4ea3cf)[_0x741458(0x2ef)](b[_0x741458(0x3b0)]),_0x47b1ff=_0x2f1b6f[_0x741458(0x228)]();if(_0x47b1ff==null)return;const _0x3d1c46=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x15c9aa[_0x741458(0x216)],'actions':null,'textRanges':[_0x47b1ff]}}],_0x4bf59c=this[_0x741458(0x2bf)]['transformMutationsWithChangeset'](_0x15c9aa,_0x3d1c46);if(!m[_0x741458(0x2fe)](_0x4bf59c))throw _0x4bf59c[_0x741458(0x274)];const _0x1bb020=_0x4bf59c[_0x741458(0x2f2)][0x0][_0x741458(0x24c)][_0x741458(0x2b3)];Array['isArray'](_0x1bb020)&&_0x1bb020['length']&&_0x2f1b6f['setActiveRange'](_0x1bb020[0x0]);}};z=kt([ce(0x0,a['Inject'](a[_0xe0cd3b(0x17b)])),ce(0x1,m['ITransformService']),ce(0x2,p[_0xe0cd3b(0x3b4)])],z);var Ht=Object[_0xe0cd3b(0x1a0)],Ft=(_0x5d3af1,_0x458a8f,_0xfeb7df,_0x79f8d0)=>{const _0x2c0812=_0xe0cd3b;for(var _0x3a7c91=_0x79f8d0>0x1?void 0x0:_0x79f8d0?Ht(_0x458a8f,_0xfeb7df):_0x458a8f,_0x5ee922=_0x5d3af1[_0x2c0812(0x3c2)]-0x1,_0x18fea8;_0x5ee922>=0x0;_0x5ee922--)(_0x18fea8=_0x5d3af1[_0x5ee922])&&(_0x3a7c91=_0x18fea8(_0x3a7c91)||_0x3a7c91);return _0x3a7c91;},le=(_0x29aa60,_0x15c84d)=>(_0x122b19,_0x58ee6d)=>_0x15c84d(_0x122b19,_0x58ee6d,_0x29aa60);let J=class{constructor(_0x393098,_0x4fd1ac,_0x54844c){const _0x4f7f6b=_0xe0cd3b;this[_0x4f7f6b(0x1d0)]=_0x393098,this[_0x4f7f6b(0x2bf)]=_0x4fd1ac,this[_0x4f7f6b(0x2c6)]=_0x54844c;}['transformStateCache'](_0x1ea561){this['_transformHistoryAndStateStack'](_0x1ea561);}[_0xe0cd3b(0x26b)](_0x241333){const _0x2911d4=_0xe0cd3b,{unitID:_0x6f8621}=_0x241333,{collaboration:_0x35f002}=this[_0x2911d4(0x2c6)][_0x2911d4(0x1da)](_0x6f8621);if(_0x35f002[_0x2911d4(0x3c2)]===0x0)return _0x241333;let _0x4f685e=a[_0x2911d4(0x15b)][_0x2911d4(0x1c8)](_0x241333[_0x2911d4(0x256)][0x0]);for(let _0x33af32=0x0;_0x33af32<_0x35f002[_0x2911d4(0x3c2)];_0x33af32++){const _0x48b0e8={'id':_0x2911d4(0x3b9),'params':{'unitId':_0x35f002[_0x33af32]['unitId'],..._0x35f002[_0x33af32][_0x2911d4(0x3ba)]}},_0x1891ed=this[_0x2911d4(0x2bf)][_0x2911d4(0x260)](_0x4f685e,_0x48b0e8,!0x1);if(m[_0x2911d4(0x2a0)](_0x1891ed))throw _0x1891ed[_0x2911d4(0x274)];_0x4f685e=_0x1891ed[_0x2911d4(0x369)];}return{...a['Tools'][_0x2911d4(0x1c8)](_0x241333),'mutations':[_0x4f685e]};}[_0xe0cd3b(0x2ce)](_0x9eeb1){const _0x7a4065=_0xe0cd3b,{unitID:_0x407b8f}=_0x9eeb1,{history:_0x104a9a,collaboration:_0x2f9047}=this[_0x7a4065(0x2c6)][_0x7a4065(0x1da)](_0x407b8f);if(_0x104a9a[_0x7a4065(0x3c2)]===0x0&&_0x2f9047[_0x7a4065(0x3c2)]===0x0)return;const _0x2ece9c=[],_0x44fd9f=[];let _0x221dc4=a[_0x7a4065(0x15b)]['deepClone'](_0x9eeb1[_0x7a4065(0x256)][0x0]),_0x5a1f3b=a[_0x7a4065(0x15b)][_0x7a4065(0x1c8)](_0x9eeb1[_0x7a4065(0x256)][0x0]);for(let _0x4545b6=_0x104a9a[_0x7a4065(0x3c2)]-0x1;_0x4545b6>=0x0;_0x4545b6--){const _0x378328={'id':_0x7a4065(0x3b9),'params':{'unitId':_0x104a9a[_0x4545b6][_0x7a4065(0x351)],..._0x104a9a[_0x4545b6][_0x7a4065(0x1e7)]}},_0x5048d5={'id':_0x7a4065(0x3b9),'params':{'unitId':_0x104a9a[_0x4545b6][_0x7a4065(0x351)],..._0x104a9a[_0x4545b6][_0x7a4065(0x3ba)]}},_0x1798c3=this['_transformService'][_0x7a4065(0x260)](_0x221dc4,_0x378328,!0x1),_0x2dd7a=this[_0x7a4065(0x2bf)][_0x7a4065(0x260)](_0x5a1f3b,_0x5048d5,!0x1);if(m['isTransformMutationFailure'](_0x1798c3))throw _0x1798c3['error'];if(m[_0x7a4065(0x2a0)](_0x2dd7a))throw _0x2dd7a['error'];_0x2ece9c[_0x7a4065(0x2e7)]({..._0x104a9a[_0x4545b6],'undoState':_0x1798c3['m2Prime'][_0x7a4065(0x24c)],'redoState':_0x2dd7a[_0x7a4065(0x2f2)]['params']}),_0x221dc4=_0x1798c3[_0x7a4065(0x369)],_0x5a1f3b=_0x2dd7a[_0x7a4065(0x369)];}_0x221dc4=a[_0x7a4065(0x15b)]['deepClone'](_0x9eeb1[_0x7a4065(0x256)][0x0]),_0x5a1f3b=a['Tools'][_0x7a4065(0x1c8)](_0x9eeb1[_0x7a4065(0x256)][0x0]);for(let _0x4aef63=_0x2f9047[_0x7a4065(0x3c2)]-0x1;_0x4aef63>=0x0;_0x4aef63--){const _0x32bf13={'id':_0x7a4065(0x3b9),'params':{'unitId':_0x2f9047[_0x4aef63][_0x7a4065(0x351)],..._0x2f9047[_0x4aef63][_0x7a4065(0x1e7)]}},_0x2aa03a={'id':_0x7a4065(0x3b9),'params':{'unitId':_0x2f9047[_0x4aef63][_0x7a4065(0x351)],..._0x2f9047[_0x4aef63][_0x7a4065(0x3ba)]}},_0x2850c1=this[_0x7a4065(0x2bf)][_0x7a4065(0x260)](_0x221dc4,_0x32bf13,!0x1),_0x35da95=this[_0x7a4065(0x2bf)][_0x7a4065(0x260)](_0x5a1f3b,_0x2aa03a,!0x1);if(m[_0x7a4065(0x2a0)](_0x2850c1))throw _0x2850c1['error'];if(m[_0x7a4065(0x2a0)](_0x35da95))throw _0x35da95['error'];_0x44fd9f['unshift']({..._0x2f9047[_0x4aef63],'undoState':_0x2850c1['m2Prime'][_0x7a4065(0x24c)],'redoState':_0x35da95[_0x7a4065(0x2f2)][_0x7a4065(0x24c)]}),_0x221dc4=_0x2850c1[_0x7a4065(0x369)],_0x5a1f3b=_0x35da95[_0x7a4065(0x369)];}this[_0x7a4065(0x2c6)][_0x7a4065(0x208)](_0x407b8f,{'history':_0x2ece9c,'collaboration':_0x44fd9f});}};J=Ft([le(0x0,a['Inject'](a['Injector'])),le(0x1,m[_0xe0cd3b(0x38d)]),le(0x2,a[_0xe0cd3b(0x297)](b[_0xe0cd3b(0x332)]))],J);var Wt=Object['getOwnPropertyDescriptor'],Yt=(_0x3dd332,_0x226607,_0x5dd138,_0x3f730d)=>{const _0x372b73=_0xe0cd3b;for(var _0x678e90=_0x3f730d>0x1?void 0x0:_0x3f730d?Wt(_0x226607,_0x5dd138):_0x226607,_0x13c9ae=_0x3dd332[_0x372b73(0x3c2)]-0x1,_0x34774e;_0x13c9ae>=0x0;_0x13c9ae--)(_0x34774e=_0x3dd332[_0x13c9ae])&&(_0x678e90=_0x34774e(_0x678e90)||_0x678e90);return _0x678e90;},Ne=(_0xfd9152,_0x4ab180)=>(_0x5b534d,_0x1ca462)=>_0x4ab180(_0x5b534d,_0x1ca462,_0xfd9152);let Z=class{constructor(_0xdf2846,_0x52476a){const _0x16a24e=_0xe0cd3b;this[_0x16a24e(0x1d0)]=_0xdf2846,this['_transformService']=_0x52476a;}[_0xe0cd3b(0x21a)](_0x5b1182){const _0x141e66=_0xe0cd3b;var _0x3d09ad;const _0x3c3d9b=this[_0x141e66(0x1d0)][_0x141e66(0x2f1)](W['DocSelectionManagerService']),_0x41239f=(_0x3d09ad=_0x3c3d9b['getDocRanges']())!=null?_0x3d09ad:[];if(_0x41239f['length']===0x0)return;const _0x1dec13=_0x5b1182[_0x141e66(0x216)],_0x2a0f4d=[{'id':_0x141e66(0x3b9),'params':{'unitId':_0x1dec13,'actions':null,'textRanges':_0x41239f}}],_0x296950=this[_0x141e66(0x2bf)][_0x141e66(0x1b9)](_0x5b1182,_0x2a0f4d);if(!m[_0x141e66(0x2fe)](_0x296950))throw _0x296950['error'];const _0x1579a7=_0x296950['m2Prime'][0x0][_0x141e66(0x24c)]['textRanges'];Array['isArray'](_0x1579a7)&&_0x1579a7[_0x141e66(0x3c2)]&&_0x3c3d9b['replaceDocRanges'](_0x1579a7,{'unitId':_0x1dec13,'subUnitId':_0x1dec13},!0x1);}};Z=Yt([Ne(0x0,a[_0xe0cd3b(0x297)](a[_0xe0cd3b(0x17b)])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object[_0xe0cd3b(0x1a0)],Xt=(_0x1cd9b6,_0x53dd86,_0x5cf33f,_0x1084f8)=>{const _0x38f782=_0xe0cd3b;for(var _0x4007b6=_0x1084f8>0x1?void 0x0:_0x1084f8?Vt(_0x53dd86,_0x5cf33f):_0x53dd86,_0x2ebea0=_0x1cd9b6[_0x38f782(0x3c2)]-0x1,_0x2cab57;_0x2ebea0>=0x0;_0x2ebea0--)(_0x2cab57=_0x1cd9b6[_0x2ebea0])&&(_0x4007b6=_0x2cab57(_0x4007b6)||_0x4007b6);return _0x4007b6;},N=(_0x55ca3e,_0x1375ff)=>(_0x4b19f6,_0x178783)=>_0x1375ff(_0x4b19f6,_0x178783,_0x55ca3e);let Q=class extends a[_0xe0cd3b(0x1e4)]{constructor(_0x395f44,_0x4f66e5,_0x346b49,_0x3daea9,_0x3104a4,_0xaee695,_0x3ed281,_0x583861){const _0x16a535=_0xe0cd3b;super(),h(this,_0x16a535(0x201),new d[(_0x16a535(0x2b4))](u[_0x16a535(0x344)]['NOT_COLLAB'])),(this[_0x16a535(0x2c6)]=_0x395f44,this['_collaborationController']=_0x4f66e5,this[_0x16a535(0x35a)]=_0x346b49,this[_0x16a535(0x36b)]=_0x3daea9,this[_0x16a535(0x32c)]=_0x3104a4,this['_docSyncEditingCollabCursorService']=_0xaee695,this[_0x16a535(0x1d6)]=_0x3ed281,this[_0x16a535(0x384)]=_0x583861,this[_0x16a535(0x178)]());}[_0xe0cd3b(0x178)](){const _0x40ad54=_0xe0cd3b;this[_0x40ad54(0x1d3)](this[_0x40ad54(0x320)]['entityInit$'][_0x40ad54(0x29c)](_0x3509c5=>{const _0x1236d4=_0x40ad54,_0x55cf2f=this[_0x1236d4(0x2c6)]['docStateChange$'][_0x1236d4(0x29c)](_0x5ce53b=>{const _0x302ecf=_0x1236d4;if(_0x5ce53b==null)return;const {unitId:_0x24a4f5,redoState:_0x67f6fd,commandId:_0x3b26ed}=_0x5ce53b;if(_0x24a4f5!==_0x3509c5[_0x302ecf(0x216)])return;const _0x45d4f3={'id':_0x3b26ed,'type':a['CommandType']['MUTATION'],'params':{'unitId':_0x24a4f5,'actions':_0x67f6fd['actions'],'textRanges':null}};_0x3509c5[_0x302ecf(0x2c1)](_0x45d4f3);});if(_0x3509c5[_0x1236d4(0x1d3)](_0x55cf2f),_0x3509c5 instanceof u[_0x1236d4(0x329)]){const _0x4a8397={'onTransformIME':_0x1014d3=>this[_0x1236d4(0x35a)][_0x1236d4(0x382)](_0x1014d3),'onTransformState':_0x385187=>this['_docTransformStateCacheService']['transformStateCache'](_0x385187),'onTransformSelections':_0x4a8ce7=>this[_0x1236d4(0x32c)][_0x1236d4(0x21a)](_0x4a8ce7),'onSyncEditingCollabCursor':_0x3c4359=>this[_0x1236d4(0x174)][_0x1236d4(0x2d2)](_0x3c4359),'onTransformRemoteChangesetByIMECache':_0x108b7a=>this[_0x1236d4(0x35a)][_0x1236d4(0x26b)](_0x108b7a),'onTransformRemoteChangesetByStateCache':_0x8a4ef2=>this[_0x1236d4(0x36b)][_0x1236d4(0x26b)](_0x8a4ef2)};_0x3509c5[_0x1236d4(0x2e4)](_0x4a8397);}}));}};Q=Xt([N(0x0,a[_0xe0cd3b(0x297)](b[_0xe0cd3b(0x332)])),N(0x1,a[_0xe0cd3b(0x297)](u['CollaborationController'])),N(0x2,a[_0xe0cd3b(0x297)](z)),N(0x3,a[_0xe0cd3b(0x297)](J)),N(0x4,a[_0xe0cd3b(0x297)](Z)),N(0x5,a[_0xe0cd3b(0x297)](Ce)),N(0x6,T[_0xe0cd3b(0x29e)]),N(0x7,a['Inject'](a[_0xe0cd3b(0x346)]))],Q);var Gt=Object[_0xe0cd3b(0x1a0)],qt=(_0x36d0be,_0x9e4141,_0x3a4c6f,_0x5893df)=>{const _0x3a8c1a=_0xe0cd3b;for(var _0x38d57a=_0x5893df>0x1?void 0x0:_0x5893df?Gt(_0x9e4141,_0x3a4c6f):_0x9e4141,_0x5866fc=_0x36d0be[_0x3a8c1a(0x3c2)]-0x1,_0x18f84d;_0x5866fc>=0x0;_0x5866fc--)(_0x18f84d=_0x36d0be[_0x5866fc])&&(_0x38d57a=_0x18f84d(_0x38d57a)||_0x38d57a);return _0x38d57a;},_e=(_0x3b2702,_0x5791b2)=>(_0x57eb50,_0x413fe1)=>_0x5791b2(_0x57eb50,_0x413fe1,_0x3b2702);let ge=class extends a[_0xe0cd3b(0x1e4)]{constructor(_0x34f743,_0x5de1f2,_0x3ea077){const _0x1ba5c5=_0xe0cd3b;super(),h(this,'_cachedData',new Map()),h(this,_0x1ba5c5(0x298),new Map()),h(this,_0x1ba5c5(0x1ba),!0x1),(this[_0x1ba5c5(0x24d)]=_0x34f743,this[_0x1ba5c5(0x31a)]=_0x5de1f2,this['_revisionService']=_0x3ea077);}[_0xe0cd3b(0x39e)](){const _0x1e4b71=_0xe0cd3b;this[_0x1e4b71(0x1ba)]=!0x0;}[_0xe0cd3b(0x39b)](){const _0x3d189b=_0xe0cd3b;this[_0x3d189b(0x1ba)]=!0x1;}get[_0xe0cd3b(0x307)](){const _0x2e674b=_0xe0cd3b;return this[_0x2e674b(0x298)];}[_0xe0cd3b(0x37f)](){const _0x501fb8=_0xe0cd3b;this[_0x501fb8(0x383)]()[_0x501fb8(0x1ef)](()=>super['dispose']());}async['loadOfflineData'](_0x251a71){const _0x2098eb=_0xe0cd3b;return this['_disabled']?null:this[_0x2098eb(0x31a)][_0x2098eb(0x1d9)](u[_0x2098eb(0x262)](_0x251a71));}async[_0xe0cd3b(0x17c)](_0x3f5526,_0x547e01){const _0x45781a=_0xe0cd3b;return!!this[_0x45781a(0x31a)][_0x45781a(0x2ab)](_0x3f5526,_0x547e01);}['updateOfflineData'](_0x589358,_0x5bfd4b,_0x288d8c,_0x1cdbc0){const _0x1af421=_0xe0cd3b,_0xc71e2c=this[_0x1af421(0x1b5)][_0x1af421(0x19e)](_0x589358);this[_0x1af421(0x338)][_0x1af421(0x2f7)](_0x589358,{'unitID':_0x589358,'type':_0x5bfd4b,'awaitingChangeset':_0x288d8c,'mutations':_0x1cdbc0,'rev':_0xc71e2c}),this[_0x1af421(0x298)]['has'](_0x589358)||this[_0x1af421(0x14d)](_0x589358);}[_0xe0cd3b(0x14d)](_0x14e8dd){const _0x8fa0bb=_0xe0cd3b,_0x366a2b=this[_0x8fa0bb(0x373)]();_0x366a2b===0x0?this['_saveCache'](_0x14e8dd):this['_saveTaskMap'][_0x8fa0bb(0x2f7)](_0x14e8dd,setTimeout(()=>this[_0x8fa0bb(0x257)](_0x14e8dd),_0x366a2b));}['_getSaveTimeout'](){const _0x32b8fd=_0xe0cd3b;var _0x41bade;return(_0x41bade=this[_0x32b8fd(0x24d)][_0x32b8fd(0x28e)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x41bade:u[_0x32b8fd(0x2a6)];}['_saveCache'](_0x1ec59a){const _0x96acdc=_0xe0cd3b,_0x341b0f=this[_0x96acdc(0x298)][_0x96acdc(0x2f1)](_0x1ec59a);return _0x341b0f!==void 0x0&&window[_0x96acdc(0x308)](_0x341b0f),this['_localStorageService'][_0x96acdc(0x2ab)](u[_0x96acdc(0x262)](_0x1ec59a),this[_0x96acdc(0x338)]['get'](_0x1ec59a))[_0x96acdc(0x1ef)](()=>this['_saveTaskMap'][_0x96acdc(0x271)](_0x1ec59a));}async['exhaustSavingTask'](){const _0x32627f=_0xe0cd3b,_0x319331=[];this[_0x32627f(0x298)][_0x32627f(0x1c1)]((_0x2b5cce,_0x16b21c)=>{const _0x42d450=_0x32627f;window[_0x42d450(0x308)](_0x2b5cce),_0x319331[_0x42d450(0x225)](this[_0x42d450(0x257)](_0x16b21c)['then'](()=>{const _0x405c21=_0x42d450;this[_0x405c21(0x298)][_0x405c21(0x271)](_0x16b21c);}));}),await Promise[_0x32627f(0x2f9)](_0x319331);}};ge=qt([_e(0x0,a[_0xe0cd3b(0x235)]),_e(0x1,a['ILocalStorageService']),_e(0x2,a[_0xe0cd3b(0x297)](m[_0xe0cd3b(0x357)]))],ge);function _0x2793(_0x25b06a,_0x4b0d01){const _0x6ca9fc=_0x6ca9();return _0x2793=function(_0x27937d,_0x1b3e2b){_0x27937d=_0x27937d-0x146;let _0x435628=_0x6ca9fc[_0x27937d];return _0x435628;},_0x2793(_0x25b06a,_0x4b0d01);}class je extends a[_0xe0cd3b(0x2f8)]{constructor(){const _0x1a5605=_0xe0cd3b;super(),h(this,'urlChange$'),this[_0x1a5605(0x302)]=d[_0x1a5605(0x14e)](window,'popstate')[_0x1a5605(0x191)](d['takeUntil'](this[_0x1a5605(0x1bf)]),d['shareReplay'](0x1),d['mapTo'](void 0x0));}[_0xe0cd3b(0x1e8)](_0x408312,_0x2cf2df,_0x2f4998=!0x1){const _0x83b305=_0xe0cd3b,_0x2123ff=new URL(window[_0x83b305(0x1f4)][_0x83b305(0x18d)]);_0x2123ff[_0x83b305(0x2ba)][_0x83b305(0x2f7)](_0x408312,_0x2cf2df),_0x2f4998?window[_0x83b305(0x3a9)][_0x83b305(0x2f5)]('','',_0x2123ff[_0x83b305(0x28b)]()):window[_0x83b305(0x3a9)]['pushState']('','',_0x2123ff['toString']());}[_0xe0cd3b(0x258)](_0x28fca0,_0x32c283=!0x1){const _0x4bead9=_0xe0cd3b,_0x42ca4d=new URL(window['location'][_0x4bead9(0x18d)]);_0x42ca4d[_0x4bead9(0x2ba)][_0x4bead9(0x271)](_0x28fca0),_0x32c283?window[_0x4bead9(0x3a9)][_0x4bead9(0x2f5)]('','',_0x42ca4d[_0x4bead9(0x28b)]()):window[_0x4bead9(0x3a9)][_0x4bead9(0x25e)]('','',_0x42ca4d['toString']());}[_0xe0cd3b(0x1cd)](_0x3479e6){const _0x4f00ca=_0xe0cd3b;var _0x5121d8;return(_0x5121d8=new URL(window[_0x4f00ca(0x1f4)][_0x4f00ca(0x18d)])[_0x4f00ca(0x2ba)][_0x4f00ca(0x2f1)](_0x3479e6))!=null?_0x5121d8:void 0x0;}}var Kt=Object[_0xe0cd3b(0x394)],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x41c891,_0x31ed2a,_0x6de772)=>_0x31ed2a in _0x41c891?Kt(_0x41c891,_0x31ed2a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x6de772}):_0x41c891[_0x31ed2a]=_0x6de772,Zt=(_0x84a60a,_0x17a183,_0x54f243,_0x509523)=>{const _0x2d8465=_0xe0cd3b;for(var _0x3c8e22=_0x509523>0x1?void 0x0:_0x509523?zt(_0x17a183,_0x54f243):_0x17a183,_0x1ba16e=_0x84a60a[_0x2d8465(0x3c2)]-0x1,_0x386db4;_0x1ba16e>=0x0;_0x1ba16e--)(_0x386db4=_0x84a60a[_0x1ba16e])&&(_0x3c8e22=_0x386db4(_0x3c8e22)||_0x3c8e22);return _0x3c8e22;},he=(_0x5c244f,_0x38bad9)=>(_0x195bf5,_0x33ba59)=>_0x38bad9(_0x195bf5,_0x33ba59,_0x5c244f),Qt=(_0x438ff2,_0x3f3748,_0x4cbe86)=>Jt(_0x438ff2,_0x3f3748+'',_0x4cbe86);const es=_0xe0cd3b(0x1e9);exports['UniverCollaborationClientUIPlugin']=class extends a[_0xe0cd3b(0x279)]{constructor(_0x46d003=Ue,_0x2b3dd2,_0x4d19eb,_0x1197dc){const _0x448747=_0xe0cd3b;super(),this[_0x448747(0x14c)]=_0x46d003,this[_0x448747(0x1be)]=_0x2b3dd2,this['_injector']=_0x4d19eb,this[_0x448747(0x24d)]=_0x1197dc;const {..._0x6365bd}=a['merge']({},Ue,this[_0x448747(0x14c)]);this[_0x448747(0x24d)][_0x448747(0x380)]($t,_0x6365bd);}[_0xe0cd3b(0x337)](){const _0x538196=_0xe0cd3b;this[_0x538196(0x205)](),this[_0x538196(0x379)]();}[_0xe0cd3b(0x28a)](){const _0x34ddf8=_0xe0cd3b;this[_0x34ddf8(0x2ac)]();}[_0xe0cd3b(0x205)](){const _0x549fb9=_0xe0cd3b;var _0x84e3c8;const _0x58db0d=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G['ISocketService'],{'useClass':G[_0x549fb9(0x356)]}],[u[_0x549fb9(0x1d4)],{'useClass':ge}],[exports[_0x549fb9(0x3bf)]],[Q],[K],[x],[de],[exports[_0x549fb9(0x20c)]]];a['registerDependencies'](this[_0x549fb9(0x1d0)],a[_0x549fb9(0x3b2)](_0x58db0d,(_0x84e3c8=this[_0x549fb9(0x14c)])==null?void 0x0:_0x84e3c8[_0x549fb9(0x18b)]));}[_0xe0cd3b(0x2ac)](){const _0x1ae86a=_0xe0cd3b;this[_0x1ae86a(0x1d3)](this['_renderManagerService']['registerRenderModule'](a['UniverInstanceType']['UNIVER_DOC'],[Ie])),this[_0x1ae86a(0x1d3)](this['_renderManagerService']['registerRenderModule'](a['UniverInstanceType'][_0x1ae86a(0x25b)],[ve]));}[_0xe0cd3b(0x379)](){const _0x52501f=_0xe0cd3b;a[_0x52501f(0x348)](this['_injector'],[[x],[exports[_0x52501f(0x3bf)]],[Q],[K],[exports[_0x52501f(0x20c)]]]);}},Qt(exports[_0xe0cd3b(0x34f)],'pluginName',es),exports['UniverCollaborationClientUIPlugin']=Zt([a[_0xe0cd3b(0x220)](u[_0xe0cd3b(0x37d)]),he(0x1,p[_0xe0cd3b(0x3b4)]),he(0x2,a['Inject'](a[_0xe0cd3b(0x17b)])),he(0x3,a[_0xe0cd3b(0x235)])],exports[_0xe0cd3b(0x34f)]);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x4f8256,_0xb9f5d3,_0x26bcb0,_0x4c6729)=>{for(var _0x290dd6=_0x4c6729>0x1?void 0x0:_0x4c6729?ts(_0xb9f5d3,_0x26bcb0):_0xb9f5d3,_0x116b80=_0x4f8256['length']-0x1,_0x43353c;_0x116b80>=0x0;_0x116b80--)(_0x43353c=_0x4f8256[_0x116b80])&&(_0x290dd6=_0x43353c(_0x290dd6)||_0x290dd6);return _0x290dd6;},F=(_0x9e74b1,_0x2c88f8)=>(_0x4108b6,_0x3faaf0)=>_0x2c88f8(_0x4108b6,_0x3faaf0,_0x9e74b1);exports['BrowserCollaborationSocketService']=class extends u[_0xe0cd3b(0x234)]{constructor(_0x20d89f,_0x3c5e4c,_0x56c896,_0x2f8ff6,_0x4e2832){super(_0x20d89f,_0x3c5e4c,_0x56c896,_0x2f8ff6,_0x4e2832);}async[_0xe0cd3b(0x2d9)](_0x35ba44){const _0xfbe2f=_0xe0cd3b,_0x2bbae3=await this[_0xfbe2f(0x19a)](),_0x5ee8c2=this[_0xfbe2f(0x1db)](_0x35ba44,_0x2bbae3);return this[_0xfbe2f(0x3bc)](_0x5ee8c2);}['_createSocketURL'](_0x2599f5,_0x46d233){const _0x14c52f=_0xe0cd3b,_0x18e8c3=typeof window>'u'?new URL(_0x2599f5):new URL(_0x2599f5,window[_0x14c52f(0x1f4)][_0x14c52f(0x1de)]);_0x18e8c3[_0x14c52f(0x2ba)][_0x14c52f(0x2f7)]('sessionTicket',_0x46d233);const _0x2fa85b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x14c52f(0x1f4)][_0x14c52f(0x2ca)]);return _0x2fa85b[_0x14c52f(0x2f1)](_0x14c52f(0x333))&&_0x18e8c3[_0x14c52f(0x2ba)][_0x14c52f(0x2f7)](_0x14c52f(0x333),_0x2fa85b['get'](_0x14c52f(0x333))),_0x18e8c3[_0x14c52f(0x28b)]();}async[_0xe0cd3b(0x19a)](){const _0x44250a=_0xe0cd3b;var _0x41ddb8,_0x55bdb5,_0x1b8f23;const _0x2248d1=this[_0x44250a(0x24d)]['getConfig'](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x21b7cd=(_0x41ddb8=_0x2248d1==null?void 0x0:_0x2248d1[_0x44250a(0x358)])!=null?_0x41ddb8:u[_0x44250a(0x2fc)];return(_0x1b8f23=(_0x55bdb5=(await this['_httpService']['get'](_0x21b7cd,{'headers':{'Content-Type':'application/json'}}))[_0x44250a(0x2ff)])==null?void 0x0:_0x55bdb5[_0x44250a(0x36a)])!=null?_0x1b8f23:'';}},exports['BrowserCollaborationSocketService']=ss([F(0x0,a[_0xe0cd3b(0x297)](a[_0xe0cd3b(0x17b)])),F(0x1,a[_0xe0cd3b(0x297)](G[_0xe0cd3b(0x19d)])),F(0x2,a['IConfigService']),F(0x3,a[_0xe0cd3b(0x2bb)]),F(0x4,m['ISnapshotServerService'])],exports['BrowserCollaborationSocketService']);const Me=0x7530,Le=_0xe0cd3b(0x361);class is extends a['Disposable']{constructor(){const _0x365a92=_0xe0cd3b;super(),h(this,'_id',a['generateRandomId']()),h(this,_0x365a92(0x159),new Set()),h(this,_0x365a92(0x312),new Map()),h(this,'_heartbeatTimer',null),h(this,_0x365a92(0x31d),new Map()),h(this,_0x365a92(0x149),new Map()),this[_0x365a92(0x378)]();}[_0xe0cd3b(0x37f)](){const _0x39b529=_0xe0cd3b;super[_0x39b529(0x37f)](),this[_0x39b529(0x31d)]['forEach']((_0x13bef2,_0x449eb3)=>this[_0x39b529(0x295)](_0x449eb3)),this[_0x39b529(0x3bd)]&&window[_0x39b529(0x2a1)](this[_0x39b529(0x3bd)]);}[_0xe0cd3b(0x32b)](_0x3b3e6e){const _0x5920e2=_0xe0cd3b;return this[_0x5920e2(0x311)](_0x3b3e6e)[_0x5920e2(0x191)](d['distinctUntilChanged']());}[_0xe0cd3b(0x26a)](_0x463018){const _0xf398d2=_0xe0cd3b;this[_0xf398d2(0x159)]['size']===0x0&&this[_0xf398d2(0x37a)](),this['_selfUnitIDs'][_0xf398d2(0x200)](_0x463018),this[_0xf398d2(0x2be)]({'type':0x0,'memberID':this[_0xf398d2(0x370)],'unitIDs':[_0x463018],'isForwarded':!0x1});}[_0xe0cd3b(0x1c4)](_0x3dfab1){const _0x2dfa00=_0xe0cd3b;this[_0x2dfa00(0x159)][_0x2dfa00(0x271)](_0x3dfab1),this[_0x2dfa00(0x159)][_0x2dfa00(0x277)]===0x0&&this[_0x2dfa00(0x3bd)]&&window['clearInterval'](this[_0x2dfa00(0x3bd)]);}[_0xe0cd3b(0x378)](){const _0x18a3e9=_0xe0cd3b;this[_0x18a3e9(0x1d3)](a[_0x18a3e9(0x26f)](d[_0x18a3e9(0x14e)](window,_0x18a3e9(0x3c0))[_0x18a3e9(0x29c)](_0x331200=>{const _0x3a4a6a=_0x18a3e9;if(_0x331200[_0x3a4a6a(0x1ac)]!==Le||!_0x331200[_0x3a4a6a(0x293)])return;const _0x5c7932=JSON[_0x3a4a6a(0x310)](_0x331200[_0x3a4a6a(0x293)]);this[_0x3a4a6a(0x169)](_0x5c7932);}))),window[_0x18a3e9(0x387)](_0x18a3e9(0x23a),()=>this['_send']({'type':0x1,'memberID':this[_0x18a3e9(0x370)],'unitIDs':Array[_0x18a3e9(0x162)](this[_0x18a3e9(0x159)])}));}[_0xe0cd3b(0x169)](_0x198e05){const _0x3940b9=_0xe0cd3b;switch(_0x198e05['type']){case 0x0:this['_handleJoinEvent'](_0x198e05);break;case 0x1:this[_0x3940b9(0x230)](_0x198e05);break;case 0x2:this[_0x3940b9(0x2b6)](_0x198e05);break;}}[_0xe0cd3b(0x204)](_0x1dcf64){const _0xe4f9c0=_0xe0cd3b,{unitIDs:_0x2590a9,memberID:_0x4bb45b,isForwarded:_0x499161}=_0x1dcf64;_0x2590a9[_0xe4f9c0(0x1c1)](_0x446c67=>{const _0x33c548=_0xe4f9c0;if(!_0x499161&&this[_0x33c548(0x312)][_0x33c548(0x199)](_0x446c67)&&this['_ensureSubject'](_0x446c67)[_0x33c548(0x294)](u['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x33c548(0x312)]['has'](_0x446c67)||!this[_0x33c548(0x312)][_0x33c548(0x2f1)](_0x446c67)[_0x33c548(0x199)](_0x4bb45b)){const _0x23edb1=this['_unitOnClients'][_0x33c548(0x2f1)](_0x446c67)||new Set();_0x23edb1[_0x33c548(0x200)](_0x4bb45b),this[_0x33c548(0x312)][_0x33c548(0x2f7)](_0x446c67,_0x23edb1),this[_0x33c548(0x1e0)](_0x4bb45b);}}),_0x499161||this[_0xe4f9c0(0x2be)]({'type':0x0,'memberID':this[_0xe4f9c0(0x370)],'unitIDs':[...this[_0xe4f9c0(0x159)]],'isForwarded':!0x0});}[_0xe0cd3b(0x1e0)](_0x43bc37){const _0x4155f7=_0xe0cd3b;this[_0x4155f7(0x295)](_0x43bc37);const _0x21b477=window[_0x4155f7(0x238)](()=>{const _0x57ac51=_0x4155f7;this['_unitOnClients'][_0x57ac51(0x1c1)](_0x28eada=>{const _0x5cf25d=_0x57ac51;_0x28eada[_0x5cf25d(0x271)](_0x43bc37);});},Me*0x2);this[_0x4155f7(0x31d)][_0x4155f7(0x2f7)](_0x43bc37,_0x21b477);}[_0xe0cd3b(0x295)](_0x22d67e){const _0x1786f3=_0xe0cd3b;if(this[_0x1786f3(0x31d)][_0x1786f3(0x199)](_0x22d67e)){const _0x2bf92d=this[_0x1786f3(0x31d)]['get'](_0x22d67e);_0x2bf92d&&window[_0x1786f3(0x308)](_0x2bf92d),this[_0x1786f3(0x31d)][_0x1786f3(0x2f7)](_0x22d67e,null);}}['_handleLeaveEvent'](_0x1de8fa){const _0x54f3c5=_0xe0cd3b,{memberID:_0x1c3698,unitIDs:_0x3efd0b}=_0x1de8fa;_0x3efd0b[_0x54f3c5(0x1c1)](_0x1c252c=>{const _0x3748b5=_0x54f3c5;var _0x1623a9;const _0x67b7e=this[_0x3748b5(0x312)]['get'](_0x1c252c);_0x67b7e&&(_0x67b7e[_0x3748b5(0x271)](_0x1c3698),(_0x1623a9=this[_0x3748b5(0x311)](_0x1c252c))==null||_0x1623a9[_0x3748b5(0x294)](_0x67b7e['size']===0x0?u[_0x3748b5(0x160)][_0x3748b5(0x151)]:u[_0x3748b5(0x160)][_0x3748b5(0x229)]));}),this['_removeClearOtherTimer'](_0x1c3698);}[_0xe0cd3b(0x2b6)](_0x48a63c){this['_scheduleClearOtherTimer'](_0x48a63c['memberID']);}[_0xe0cd3b(0x2be)](_0x380ac4){const _0x4df80a=_0xe0cd3b;localStorage[_0x4df80a(0x2ab)](Le,JSON[_0x4df80a(0x2fd)](_0x380ac4));}[_0xe0cd3b(0x37a)](){const _0x3d6f6e=_0xe0cd3b;this[_0x3d6f6e(0x3bd)]=window[_0x3d6f6e(0x1ae)](()=>{const _0x3b57a0=_0x3d6f6e;this[_0x3b57a0(0x2be)]({'type':0x2,'memberID':this[_0x3b57a0(0x370)]});},Me);}[_0xe0cd3b(0x311)](_0x4c5421){const _0x552c78=_0xe0cd3b;return this[_0x552c78(0x149)][_0x552c78(0x199)](_0x4c5421)||this['_unitStatus']['set'](_0x4c5421,new d[(_0x552c78(0x2b4))](u[_0x552c78(0x160)][_0x552c78(0x151)])),this['_unitStatus'][_0x552c78(0x2f1)](_0x4c5421);}}var Be=(_0x11b458=>(_0x11b458[_0x11b458['UNDEFINED']=0x0]=_0xe0cd3b(0x1ab),_0x11b458[_0x11b458['OK']=0x1]='OK',_0x11b458[_0x11b458['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x11b458[_0x11b458[_0xe0cd3b(0x263)]=0x3]=_0xe0cd3b(0x263),_0x11b458[_0x11b458[_0xe0cd3b(0x2a7)]=0x4]='NOT_FOUND',_0x11b458[_0x11b458[_0xe0cd3b(0x196)]=0x5]=_0xe0cd3b(0x196),_0x11b458[_0x11b458['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x11b458[_0x11b458[_0xe0cd3b(0x2c0)]=0x7]=_0xe0cd3b(0x2c0),_0x11b458[_0x11b458[_0xe0cd3b(0x23c)]=0x8]=_0xe0cd3b(0x23c),_0x11b458[_0x11b458['COMPLETION_FINISHED']=0x9]=_0xe0cd3b(0x1f1),_0x11b458[_0x11b458[_0xe0cd3b(0x2e5)]=0xa]='LOGIN_FAILED',_0x11b458[_0x11b458[_0xe0cd3b(0x33c)]=0x1389]=_0xe0cd3b(0x33c),_0x11b458[_0x11b458[_0xe0cd3b(0x385)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x11b458[_0x11b458[_0xe0cd3b(0x3b1)]=0x1772]=_0xe0cd3b(0x3b1),_0x11b458[_0x11b458['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xe0cd3b(0x237),_0x11b458[_0x11b458[_0xe0cd3b(0x288)]=0x1b59]=_0xe0cd3b(0x288),_0x11b458[_0x11b458[_0xe0cd3b(0x223)]=0x1b5a]=_0xe0cd3b(0x223),_0x11b458[_0x11b458[_0xe0cd3b(0x32e)]=0x1b5b]=_0xe0cd3b(0x32e),_0x11b458[_0x11b458['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x11b458[_0x11b458[_0xe0cd3b(0x29f)]=0x1b5d]='APPLY_DUPLICATED',_0x11b458[_0x11b458[_0xe0cd3b(0x1b8)]=0x1f41]=_0xe0cd3b(0x1b8),_0x11b458[_0x11b458[_0xe0cd3b(0x3c6)]=0x2329]=_0xe0cd3b(0x3c6),_0x11b458[_0x11b458['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xe0cd3b(0x1ee),_0x11b458[_0x11b458['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x11b458[_0x11b458[_0xe0cd3b(0x381)]=0x232c]=_0xe0cd3b(0x381),_0x11b458[_0x11b458[_0xe0cd3b(0x324)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x11b458[_0x11b458[_0xe0cd3b(0x22d)]=0x2711]=_0xe0cd3b(0x22d),_0x11b458[_0x11b458[_0xe0cd3b(0x2f0)]=0x2712]=_0xe0cd3b(0x2f0),_0x11b458[_0x11b458[_0xe0cd3b(0x2d4)]=0x2713]=_0xe0cd3b(0x2d4),_0x11b458[_0x11b458[_0xe0cd3b(0x355)]=0x2714]=_0xe0cd3b(0x355),_0x11b458[_0x11b458['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xe0cd3b(0x240),_0x11b458[_0x11b458[_0xe0cd3b(0x3ab)]=0x271b]=_0xe0cd3b(0x3ab),_0x11b458[_0x11b458[_0xe0cd3b(0x368)]=0x2af9]=_0xe0cd3b(0x368),_0x11b458[_0x11b458[_0xe0cd3b(0x2d6)]=0x2ee1]=_0xe0cd3b(0x2d6),_0x11b458[_0x11b458[_0xe0cd3b(0x24f)]=0x2ee2]=_0xe0cd3b(0x24f),_0x11b458[_0x11b458['INVITE_CODE_REQUIRED']=0x2ee3]=_0xe0cd3b(0x226),_0x11b458[_0x11b458[_0xe0cd3b(0x16c)]=0x2ee4]=_0xe0cd3b(0x16c),_0x11b458[_0x11b458[_0xe0cd3b(0x392)]=0x2ee5]=_0xe0cd3b(0x392),_0x11b458[_0x11b458[_0xe0cd3b(0x14a)]=0x32c9]=_0xe0cd3b(0x14a),_0x11b458[_0x11b458[_0xe0cd3b(0x264)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x11b458[_0x11b458['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x11b458[_0x11b458[_0xe0cd3b(0x21d)]=-0x1]='UNRECOGNIZED',_0x11b458))(Be||{}),ns=Object[_0xe0cd3b(0x1a0)],rs=(_0x1d7416,_0x38ff2c,_0x3c33ac,_0x32c9d9)=>{for(var _0x283e0d=_0x32c9d9>0x1?void 0x0:_0x32c9d9?ns(_0x38ff2c,_0x3c33ac):_0x38ff2c,_0x25a7c5=_0x1d7416['length']-0x1,_0x2ade57;_0x25a7c5>=0x0;_0x25a7c5--)(_0x2ade57=_0x1d7416[_0x25a7c5])&&(_0x283e0d=_0x2ade57(_0x283e0d)||_0x283e0d);return _0x283e0d;},ue=(_0x5678e9,_0x21090d)=>(_0x466861,_0x5bbc84)=>_0x21090d(_0x466861,_0x5bbc84,_0x5678e9);exports[_0xe0cd3b(0x397)]=class extends a[_0xe0cd3b(0x1e4)]{constructor(_0xc25d0a,_0x481913,_0x78018a){const _0x260ef7=_0xe0cd3b;super(),this[_0x260ef7(0x163)]=_0xc25d0a,this['_httpService']=_0x481913,this['_configService']=_0x78018a;}async[_0xe0cd3b(0x33d)](_0x140be4,_0x28e2f3,_0x321b1e,..._0x4fd3ca){const _0x1b46b5=_0xe0cd3b;var _0x2a602e,_0x4ee3df,_0x423314,_0x2b115c;const _0x556665=this[_0x1b46b5(0x163)][_0x1b46b5(0x154)]();if(!_0x556665)throw new Error(_0x1b46b5(0x239));const _0x6a76ed=((_0x2a602e=this[_0x1b46b5(0x24d)][_0x1b46b5(0x28e)](u[_0x1b46b5(0x217)]))!=null?_0x2a602e:u[_0x1b46b5(0x32a)])+'/'+_0x140be4+'/run/'+_0x28e2f3,_0x75b1ba=new URL(window[_0x1b46b5(0x1f4)]['href']),_0x2c3189={'scriptId':_0x140be4,'runId':(_0x4ee3df=_0x75b1ba[_0x1b46b5(0x2ba)]['get'](_0x1b46b5(0x333)))!=null?_0x4ee3df:'','function':_0x28e2f3,'unitId':_0x556665[_0x1b46b5(0x266)](),'argsOfFunction':JSON[_0x1b46b5(0x2fd)](_0x4fd3ca),'invokeId':(_0x423314=_0x321b1e['invokeId'])!=null?_0x423314:'','executionId':(_0x2b115c=_0x321b1e['executionId'])!=null?_0x2b115c:''};try{const _0x19bc10=await this[_0x1b46b5(0x2b7)][_0x1b46b5(0x393)](_0x6a76ed,{'body':_0x2c3189});return _0x19bc10[_0x1b46b5(0x2ff)]['error']&&_0x19bc10[_0x1b46b5(0x2ff)][_0x1b46b5(0x274)][_0x1b46b5(0x26d)]!==Be['OK']?_0x1b46b5(0x285):_0x19bc10[_0x1b46b5(0x2ff)][_0x1b46b5(0x175)];}catch{return _0x1b46b5(0x285);}}},exports[_0xe0cd3b(0x397)]=rs([ue(0x0,a[_0xe0cd3b(0x34a)]),ue(0x1,a[_0xe0cd3b(0x297)](G['HTTPService'])),ue(0x2,a['IConfigService'])],exports[_0xe0cd3b(0x397)]),exports[_0xe0cd3b(0x28d)]=xe,exports['IURLService']=be,exports[_0xe0cd3b(0x38b)]=we,exports[_0xe0cd3b(0x219)]=is,exports[_0xe0cd3b(0x2f4)]=je;
@@ -1 +1 @@
1
- 'use strict';const _0x125c9b=_0x494d;function _0x494d(_0x34a6b8,_0x50bd66){const _0x55479f=_0x5547();return _0x494d=function(_0x494d1f,_0x3124e9){_0x494d1f=_0x494d1f-0x93;let _0x5d3571=_0x55479f[_0x494d1f];return _0x5d3571;},_0x494d(_0x34a6b8,_0x50bd66);}(function(_0x35ec19,_0x3e92f8){const _0x1ff3a0=_0x494d,_0x25d6b3=_0x35ec19();while(!![]){try{const _0x14e506=-parseInt(_0x1ff3a0(0x9b))/0x1+-parseInt(_0x1ff3a0(0x95))/0x2+-parseInt(_0x1ff3a0(0xa7))/0x3*(parseInt(_0x1ff3a0(0xa4))/0x4)+-parseInt(_0x1ff3a0(0x9d))/0x5*(-parseInt(_0x1ff3a0(0xa1))/0x6)+parseInt(_0x1ff3a0(0x94))/0x7*(parseInt(_0x1ff3a0(0x9a))/0x8)+-parseInt(_0x1ff3a0(0xa3))/0x9*(parseInt(_0x1ff3a0(0xa5))/0xa)+parseInt(_0x1ff3a0(0x9c))/0xb;if(_0x14e506===_0x3e92f8)break;else _0x25d6b3['push'](_0x25d6b3['shift']());}catch(_0x367af9){_0x25d6b3['push'](_0x25d6b3['shift']());}}}(_0x5547,0x692e8));function _0x5547(){const _0x5cce75=['990969FUQwMi','804878yGYvcM','Syncing\x20server\x20data...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Synced','32TleqWO','416853GgOvKH','11375276avdWDd','36020mFbNbI','Edit\x20conflicts','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','318rlbGoC','exports','96696NwCNBQ','12NaqiCp','590plnodr','Collaboration\x20Conflict','98184cNpllO','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Authentication\x20Error','Syncing...'];_0x5547=function(){return _0x5cce75;};return _0x5547();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x125c9b(0x96),'conflict':_0x125c9b(0x9e),'notCollab':'Local\x20file','synced':_0x125c9b(0x99),'syncing':_0x125c9b(0x93),'offline':_0x125c9b(0x98)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x125c9b(0xa8),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x125c9b(0xa6),'content':_0x125c9b(0x9f)},'permission':{'title':_0x125c9b(0xa9),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x125c9b(0x97)},'auth':{'needGotoLoginAlert':_0x125c9b(0xa0)}};module[_0x125c9b(0xa2)]=e;
1
+ 'use strict';function _0xe836(){const _0x20d100=['Collaboration\x20Conflict','Click\x20to\x20Reconnect','14698duJbqj','10ZzSbDT','2030214rbLTCn','12EWQyae','Synced','Edit\x20conflicts','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Syncing...','123950CzloGh','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','exports','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','603tWEJTR','425922MjomAJ','13439475XsKHtO','137UsCOtG','1389000HUjckg','Authentication\x20Error','24OTdCwE','30283473VQaqwP','Local\x20file'];_0xe836=function(){return _0x20d100;};return _0xe836();}function _0x46c8(_0x4e41ff,_0xf4edae){const _0xe836c6=_0xe836();return _0x46c8=function(_0x46c816,_0x59f032){_0x46c816=_0x46c816-0x1be;let _0x390e70=_0xe836c6[_0x46c816];return _0x390e70;},_0x46c8(_0x4e41ff,_0xf4edae);}const _0x214ec4=_0x46c8;(function(_0x18ed58,_0x38b205){const _0x55426d=_0x46c8,_0x378b07=_0x18ed58();while(!![]){try{const _0x28350a=-parseInt(_0x55426d(0x1da))/0x1*(-parseInt(_0x55426d(0x1c5))/0x2)+-parseInt(_0x55426d(0x1d8))/0x3*(parseInt(_0x55426d(0x1c0))/0x4)+-parseInt(_0x55426d(0x1c6))/0x5*(parseInt(_0x55426d(0x1c7))/0x6)+-parseInt(_0x55426d(0x1d9))/0x7+-parseInt(_0x55426d(0x1be))/0x8+-parseInt(_0x55426d(0x1d7))/0x9*(-parseInt(_0x55426d(0x1d1))/0xa)+-parseInt(_0x55426d(0x1c1))/0xb*(-parseInt(_0x55426d(0x1c8))/0xc);if(_0x28350a===_0x38b205)break;else _0x378b07['push'](_0x378b07['shift']());}catch(_0x3c2a93){_0x378b07['push'](_0x378b07['shift']());}}}(_0xe836,0xec5fd));const e={'collab-client':{'tooltip':{'reconnect':_0x214ec4(0x1c4)}},'collabStatus':{'fetchMiss':_0x214ec4(0x1ce),'conflict':_0x214ec4(0x1ca),'notCollab':_0x214ec4(0x1c2),'synced':_0x214ec4(0x1c9),'syncing':_0x214ec4(0x1d0),'offline':_0x214ec4(0x1d6)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x214ec4(0x1d2),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x214ec4(0x1cd)},'conflict':{'title':_0x214ec4(0x1c3),'content':_0x214ec4(0x1cf)},'permission':{'title':_0x214ec4(0x1bf),'content':_0x214ec4(0x1cc)},'collaboration':{'single-unit':{'warning':_0x214ec4(0x1d4)},'closeRoom':_0x214ec4(0x1cb)},'auth':{'needGotoLoginAlert':_0x214ec4(0x1d5)}};module[_0x214ec4(0x1d3)]=e;