@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250419-1304630 → 0.6.10-experimental.20250419-8f302dd

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 _0x2c9f1d=_0x19d3;(function(_0x3b0034,_0x2b36ee){const _0x223c55=_0x19d3,_0x10b85a=_0x3b0034();while(!![]){try{const _0x32200e=-parseInt(_0x223c55(0x128))/0x1+-parseInt(_0x223c55(0x116))/0x2*(parseInt(_0x223c55(0x11a))/0x3)+parseInt(_0x223c55(0x120))/0x4*(-parseInt(_0x223c55(0x122))/0x5)+-parseInt(_0x223c55(0x11e))/0x6*(parseInt(_0x223c55(0x121))/0x7)+parseInt(_0x223c55(0x11b))/0x8+-parseInt(_0x223c55(0x126))/0x9*(-parseInt(_0x223c55(0x11d))/0xa)+-parseInt(_0x223c55(0x127))/0xb*(-parseInt(_0x223c55(0x124))/0xc);if(_0x32200e===_0x2b36ee)break;else _0x10b85a['push'](_0x10b85a['shift']());}catch(_0x1012bb){_0x10b85a['push'](_0x10b85a['shift']());}}}(_0x130c,0xcef51));function _0x130c(){const _0x289098=['extend','FUniver','_injector','12aTqhFW','10534728sJDjLz','@univerjs/core/facade','32050GqgHdZ','816cJBzoJ','runOnServer','4052MzUaQa','7021aYiUza','5965INUlgP','RemoteUniscriptService','5166672EXBoqH','get','2727VfwANx','22uTKdLj','847106neJOAr','54674BEYoTy'];_0x130c=function(){return _0x289098;};return _0x130c();}const t=require('@univerjs-pro/collaboration-client-ui'),e=require(_0x2c9f1d(0x11c));function _0x19d3(_0x290036,_0x317c6e){const _0x130c07=_0x130c();return _0x19d3=function(_0x19d364,_0x141ead){_0x19d364=_0x19d364-0x116;let _0x5e8626=_0x130c07[_0x19d364];return _0x5e8626;},_0x19d3(_0x290036,_0x317c6e);}class c extends e[_0x2c9f1d(0x118)]{[_0x2c9f1d(0x11f)](_0x1f9390,_0x1c2c00,..._0x46534c){const _0x4bbf07=_0x2c9f1d;return this[_0x4bbf07(0x119)][_0x4bbf07(0x125)](t[_0x4bbf07(0x123)])[_0x4bbf07(0x11f)](_0x1f9390,_0x1c2c00,{},..._0x46534c);}}e[_0x2c9f1d(0x118)][_0x2c9f1d(0x117)](c);
1
+ 'use strict';function _0x4ef0(){const _0x517e51=['@univerjs-pro/collaboration-client-ui','9SHGlUh','6565768SXxVEE','get','536952ZBFYih','33109870lzxLLm','RemoteUniscriptService','runOnServer','5174946Rxqqql','198269kqUetF','7949697leRZWg','5dXdDDd','extend','12ZRYJFP','FUniver','4574392SHDSXL'];_0x4ef0=function(){return _0x517e51;};return _0x4ef0();}const _0x1e5ded=_0x333c;function _0x333c(_0x5e0bf2,_0xfc362){const _0x4ef0ad=_0x4ef0();return _0x333c=function(_0x333c12,_0x5b5198){_0x333c12=_0x333c12-0x8f;let _0x40a4fe=_0x4ef0ad[_0x333c12];return _0x40a4fe;},_0x333c(_0x5e0bf2,_0xfc362);}(function(_0x394457,_0x46e094){const _0x294c96=_0x333c,_0x4c54aa=_0x394457();while(!![]){try{const _0x5f4ae5=parseInt(_0x294c96(0x98))/0x1*(-parseInt(_0x294c96(0x9c))/0x2)+parseInt(_0x294c96(0x93))/0x3+-parseInt(_0x294c96(0x9e))/0x4*(parseInt(_0x294c96(0x9a))/0x5)+-parseInt(_0x294c96(0x97))/0x6+parseInt(_0x294c96(0x99))/0x7+parseInt(_0x294c96(0x91))/0x8*(-parseInt(_0x294c96(0x90))/0x9)+parseInt(_0x294c96(0x94))/0xa;if(_0x5f4ae5===_0x46e094)break;else _0x4c54aa['push'](_0x4c54aa['shift']());}catch(_0x27c7a1){_0x4c54aa['push'](_0x4c54aa['shift']());}}}(_0x4ef0,0x94bc2));const t=require(_0x1e5ded(0x8f)),e=require('@univerjs/core/facade');class c extends e['FUniver']{['runOnServer'](_0x1263a2,_0x10351d,..._0x1198ec){const _0x33e919=_0x1e5ded;return this['_injector'][_0x33e919(0x92)](t[_0x33e919(0x95)])[_0x33e919(0x96)](_0x1263a2,_0x10351d,{},..._0x1198ec);}}e[_0x1e5ded(0x9d)][_0x1e5ded(0x9b)](c);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x3e6264=_0x5852;(function(_0x4f627e,_0xf58bb4){const _0x598491=_0x5852,_0x368b9d=_0x4f627e();while(!![]){try{const _0x4b077a=-parseInt(_0x598491(0x14f))/0x1*(-parseInt(_0x598491(0x3ab))/0x2)+-parseInt(_0x598491(0x38f))/0x3+parseInt(_0x598491(0x314))/0x4*(-parseInt(_0x598491(0x34a))/0x5)+-parseInt(_0x598491(0x1d9))/0x6*(-parseInt(_0x598491(0x1e8))/0x7)+-parseInt(_0x598491(0x1b8))/0x8*(parseInt(_0x598491(0x35e))/0x9)+parseInt(_0x598491(0x20a))/0xa+-parseInt(_0x598491(0x16a))/0xb*(-parseInt(_0x598491(0x1a6))/0xc);if(_0x4b077a===_0xf58bb4)break;else _0x368b9d['push'](_0x368b9d['shift']());}catch(_0x3b2e57){_0x368b9d['push'](_0x368b9d['shift']());}}}(_0x4b4f,0xc83fe));var Xe=Object['defineProperty'],Ge=(_0x55ecb6,_0x59093e,_0x19ba8d)=>_0x59093e in _0x55ecb6?Xe(_0x55ecb6,_0x59093e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19ba8d}):_0x55ecb6[_0x59093e]=_0x19ba8d,_=(_0xf40add,_0x2336b8,_0xc3c768)=>Ge(_0xf40add,typeof _0x2336b8!=_0x3e6264(0x235)?_0x2336b8+'':_0x2336b8,_0xc3c768);Object[_0x3e6264(0x1e0)](exports,Symbol[_0x3e6264(0x37e)],{'value':_0x3e6264(0x338)});const u=require('@univerjs-pro/collaboration-client'),a=require(_0x3e6264(0x2bb)),p=require(_0x3e6264(0x1f6)),q=require(_0x3e6264(0x180)),b=require(_0x3e6264(0x369)),qe=require(_0x3e6264(0x267)),d=require(_0x3e6264(0x21f)),Y=require(_0x3e6264(0x227)),m=require(_0x3e6264(0x2ca)),Te=require(_0x3e6264(0x230)),g=require(_0x3e6264(0x363)),$=require('rxjs/operators'),G=require(_0x3e6264(0x1b3)),P=require(_0x3e6264(0x254)),O=require(_0x3e6264(0x2ff)),T=require(_0x3e6264(0x296)),M=require('react'),Ke=require(_0x3e6264(0x22f));function _0x5852(_0x262219,_0x44a8bb){const _0x4b4fec=_0x4b4f();return _0x5852=function(_0x585268,_0x26fc8b){_0x585268=_0x585268-0x143;let _0xe523c=_0x4b4fec[_0x585268];return _0xe523c;},_0x5852(_0x262219,_0x44a8bb);}var ze=Object[_0x3e6264(0x2f9)],Je=(_0x30c8dc,_0x43fe9d,_0x233d20,_0x279733)=>{const _0x353591=_0x3e6264;for(var _0x8859a1=_0x279733>0x1?void 0x0:_0x279733?ze(_0x43fe9d,_0x233d20):_0x43fe9d,_0x3a44f0=_0x30c8dc[_0x353591(0x26b)]-0x1,_0x25ea79;_0x3a44f0>=0x0;_0x3a44f0--)(_0x25ea79=_0x30c8dc[_0x3a44f0])&&(_0x8859a1=_0x25ea79(_0x8859a1)||_0x8859a1);return _0x8859a1;},Oe=(_0x517873,_0x5d5cf7)=>(_0x3d30ee,_0x18fc0b)=>_0x5d5cf7(_0x3d30ee,_0x18fc0b,_0x517873);let fe=class extends a['RxDisposable']{constructor(_0x5669ea,_0x5055bd){const _0x4d0690=_0x3e6264;super(),this[_0x4d0690(0x2a9)]=_0x5669ea,this[_0x4d0690(0x2c6)]=_0x5055bd,this[_0x4d0690(0x3d1)]();}['_init'](){const _0x10425c=_0x3e6264,_0x55e683=this;this[_0x10425c(0x337)](this[_0x10425c(0x2a9)][_0x10425c(0x30e)]({'onBeforePasteImage':async _0x49b691=>{const _0x279966=_0x10425c,_0x5b8f2c=await _0x55e683[_0x279966(0x2c6)]['saveImage'](_0x49b691);return _0x5b8f2c?{'source':_0x5b8f2c[_0x279966(0x23b)],'imageSourceType':_0x5b8f2c[_0x279966(0x166)]}:null;}}));}};fe=Je([Oe(0x0,b[_0x3e6264(0x221)]),Oe(0x1,qe[_0x3e6264(0x350)])],fe);const Re=[_0x3e6264(0x3bb),_0x3e6264(0x361),'verdancy600',_0x3e6264(0x20d),_0x3e6264(0x312),_0x3e6264(0x3a9)];class Ce extends a['Disposable']{constructor(){const _0x3bd2d0=_0x3e6264;super(...arguments),_(this,_0x3bd2d0(0x31b),new Map()),_(this,_0x3bd2d0(0x2ea),0x0);}[_0x3e6264(0x375)](_0x5d9873){const _0x2f2627=_0x3e6264;if(this[_0x2f2627(0x31b)][_0x2f2627(0x1d0)](_0x5d9873))return this[_0x2f2627(0x31b)][_0x2f2627(0x320)](_0x5d9873);const _0x2ac697=Re[this[_0x2f2627(0x2ea)]];return this[_0x2f2627(0x2ea)]=(this[_0x2f2627(0x2ea)]+0x1)%Re[_0x2f2627(0x26b)],this[_0x2f2627(0x31b)][_0x2f2627(0x2a6)](_0x5d9873,_0x2ac697),_0x2ac697;}}function we(_0x217099){const _0x523f63=_0x3e6264;let _0x55ebd3='';for(const _0x595cf3 of _0x217099){const {startOffset:_0x50d062,endOffset:_0x1f05ee,isActive:_0x507a84,rangeType:_0x25f8fd,segmentId:_0x4f1ed6,segmentPage:_0x5988dd}=_0x595cf3;_0x55ebd3[_0x523f63(0x26b)]&&(_0x55ebd3+=','),_0x55ebd3+=_0x50d062+':'+_0x1f05ee+':'+(_0x507a84?'1':'0')+':'+_0x25f8fd+':'+_0x4f1ed6+':'+_0x5988dd;}return _0x55ebd3;}function Ze(_0x2bc359){const _0x434f52=_0x3e6264,_0x175b28=_0x2bc359[_0x434f52(0x1c7)](','),_0x5acdf0=[];for(const _0xec2d57 of _0x175b28){const [_0x2e7f72,_0x2885b8,_0x32004,_0xc7675a,_0x20918b,_0x3efe2e]=_0xec2d57['split'](':');_0x5acdf0[_0x434f52(0x228)]({'startOffset':Number(_0x2e7f72),'endOffset':Number(_0x2885b8),'collapsed':_0x2e7f72===_0x2885b8,'isActive':_0x32004==='1','rangeType':_0xc7675a===a[_0x434f52(0x260)][_0x434f52(0x25a)]?a[_0x434f52(0x260)]['TEXT']:a[_0x434f52(0x260)][_0x434f52(0x269)],'segmentId':typeof _0x20918b==_0x434f52(0x3b8)?String(_0x20918b):'','segmentPage':Number(_0x3efe2e!=null?_0x3efe2e:-0x1)});}return _0x5acdf0[_0x434f52(0x146)](_0x4c2493=>_0x4c2493[_0x434f52(0x22b)])||(_0x5acdf0[0x0][_0x434f52(0x22b)]=!0x0),_0x5acdf0;}class pe extends a[_0x3e6264(0x38b)]{constructor(){const _0x5a83df=_0x3e6264;super(...arguments),_(this,_0x5a83df(0x1ff),new d['BehaviorSubject'](null)),_(this,_0x5a83df(0x376),this[_0x5a83df(0x1ff)][_0x5a83df(0x301)]());}[_0x3e6264(0x2ba)](_0xceffaf){const _0x41591f=_0x3e6264,{unitID:_0x5a5451,memberID:_0x42b024,textRanges:_0x4eeea9}=_0xceffaf,_0x3321c0=we(_0x4eeea9);if(_0x3321c0==='')return;const _0x38488c={'unitID':_0x5a5451,'memberID':_0x42b024,'selection':_0x3321c0};this[_0x41591f(0x1ff)][_0x41591f(0x360)](_0x38488c);}}var Qe=Object[_0x3e6264(0x2f9)],et=(_0x18fe43,_0x4add70,_0x3778f1,_0x1c355)=>{const _0x519ed5=_0x3e6264;for(var _0x507801=_0x1c355>0x1?void 0x0:_0x1c355?Qe(_0x4add70,_0x3778f1):_0x4add70,_0x34afc2=_0x18fe43[_0x519ed5(0x26b)]-0x1,_0x8dbbc7;_0x34afc2>=0x0;_0x34afc2--)(_0x8dbbc7=_0x18fe43[_0x34afc2])&&(_0x507801=_0x8dbbc7(_0x507801)||_0x507801);return _0x507801;},L=(_0x280293,_0x3a679f)=>(_0x2629e9,_0x27d574)=>_0x3a679f(_0x2629e9,_0x27d574,_0x280293);const tt=0x12c,st=0x64;let Se=class extends a[_0x3e6264(0x38b)]{constructor(_0x3934ef,_0x2fdfa2,_0x5d018f,_0x1ec258,_0x3d1f40,_0x4b3443,_0x49c0a2,_0x30a52e,_0x20aeca){const _0x5692b8=_0x3e6264;super(),_(this,'_online',!0x1),_(this,_0x5692b8(0x3d1),!0x1),_(this,_0x5692b8(0x265),new d[(_0x5692b8(0x2cc))](new Map())),_(this,_0x5692b8(0x1db),this[_0x5692b8(0x265)]['asObservable']()),_(this,_0x5692b8(0x36e),new d[(_0x5692b8(0x2cc))]([])),_(this,_0x5692b8(0x1a0),this[_0x5692b8(0x36e)]['pipe'](d['debounceTime'](tt))),_(this,_0x5692b8(0x3a2),a['debounce'](_0x1e29f6=>{const _0x5a37a0=_0x5692b8,_0x4c4e47={'eventID':m[_0x5a37a0(0x192)][_0x5a37a0(0x172)],'data':{'unitID':this[_0x5a37a0(0x255)],'memberID':this[_0x5a37a0(0x293)][_0x5a37a0(0x3d4)](),'selection':we(_0x1e29f6)}};this[_0x5a37a0(0x293)]['send'](_0x4c4e47,this['unitID']);},st)),(this[_0x5692b8(0x255)]=_0x3934ef,this['_session']=_0x2fdfa2,this[_0x5692b8(0x1eb)]=_0x5d018f,this[_0x5692b8(0x20c)]=_0x1ec258,this[_0x5692b8(0x2e9)]=_0x3d1f40,this[_0x5692b8(0x3b5)]=_0x4b3443,this[_0x5692b8(0x191)]=_0x49c0a2,this['_univerInstanceService']=_0x30a52e,this[_0x5692b8(0x277)]=_0x20aeca);}get[_0x3e6264(0x23a)](){const _0x5d31aa=_0x3e6264;return this[_0x5d31aa(0x265)][_0x5d31aa(0x21c)]();}get[_0x3e6264(0x187)](){const _0x1e4702=_0x3e6264;return this['_roomMembers$'][_0x1e4702(0x21c)]();}[_0x3e6264(0x2b7)](){const _0x505538=_0x3e6264;super['dispose'](),this['_cursorInfo$'][_0x505538(0x360)](new Map()),this[_0x505538(0x265)][_0x505538(0x197)](),this[_0x505538(0x36e)]['next']([]),this['_roomMembers$'][_0x505538(0x197)]();}[_0x3e6264(0x256)](){const _0x47b860=_0x3e6264;this[_0x47b860(0x3d1)]||(this[_0x47b860(0x3d1)]=!0x0,this[_0x47b860(0x293)][_0x47b860(0x2d8)][_0x47b860(0x170)](d['takeUntil'](this['dispose$']))[_0x47b860(0x349)](_0x4c62b7=>{const _0x5a9b88=_0x47b860;_0x4c62b7===u[_0x5a9b88(0x1c3)][_0x5a9b88(0x1d6)]?this[_0x5a9b88(0x2e6)]():this[_0x5a9b88(0x1d3)]();}),this[_0x47b860(0x293)]['event$'][_0x47b860(0x170)](d[_0x47b860(0x1b7)](this[_0x47b860(0x1c2)]))[_0x47b860(0x349)](_0x4f392a=>{const _0x5ce12f=_0x47b860,_0x247bcd=_0x4f392a[_0x5ce12f(0x357)];_0x247bcd===m[_0x5ce12f(0x192)][_0x5ce12f(0x172)]&&this['_onCursorUpdate'](_0x4f392a),_0x247bcd===m[_0x5ce12f(0x192)][_0x5ce12f(0x261)]&&this['_onCursorDelete'](_0x4f392a);}),this[_0x47b860(0x337)](this[_0x47b860(0x277)][_0x47b860(0x374)](_0xcaaffb=>{const _0x681395=_0x47b860,_0xe95ec3=_0xcaaffb[_0x681395(0x2d9)];_0xe95ec3!=null&&this[_0x681395(0x28e)]&&_0xcaaffb['id']===Y[_0x681395(0x330)]['id']&&_0xe95ec3[_0x681395(0x358)]===this['unitID']&&_0xe95ec3[_0x681395(0x33c)]===!0x1&&_0xe95ec3['ranges'][_0x681395(0x26b)]>0x0&&this['_updateLocalCursor'](_0xe95ec3[_0x681395(0x25d)]);})),this[_0x47b860(0x3b5)][_0x47b860(0x376)][_0x47b860(0x170)](d[_0x47b860(0x1b7)](this[_0x47b860(0x1c2)]))[_0x47b860(0x349)](_0x30459d=>{const _0x11a4f9=_0x47b860;if((_0x30459d==null?void 0x0:_0x30459d[_0x11a4f9(0x255)])!==this[_0x11a4f9(0x255)])return;const _0x4b6924={'eventID':m[_0x11a4f9(0x192)]['UPDATE_CURSOR'],'data':_0x30459d};this[_0x11a4f9(0x29e)](_0x4b6924);}),this['disposeWithMe'](this[_0x47b860(0x277)][_0x47b860(0x374)](_0x528bda=>{const _0x6a394c=_0x47b860;if(_0x528bda[_0x6a394c(0x2d9)]==null)return;const _0x5d206e=_0x528bda['params'];if(_0x528bda['id']!==Y[_0x6a394c(0x1a8)]['id']||_0x5d206e[_0x6a394c(0x358)]!==this['unitID'])return;const _0x45c04c={'id':_0x6a394c(0x2e7),'params':_0x5d206e},_0x5de099=this[_0x6a394c(0x23a)];for(const [_0x4493f0,_0x4670f3]of _0x5de099){const _0x581279={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x4670f3[_0x6a394c(0x25d)]}},_0x42918d=this['_transformService'][_0x6a394c(0x2af)](_0x45c04c,_0x581279,!0x1);if(m['isTransformMutationFailure'](_0x42918d))throw _0x42918d[_0x6a394c(0x328)];_0x5de099[_0x6a394c(0x2a6)](_0x4493f0,{..._0x4670f3,'ranges':_0x42918d[_0x6a394c(0x203)][_0x6a394c(0x2d9)][_0x6a394c(0x22c)]});}queueMicrotask(()=>{const _0x5d450d=_0x6a394c;this[_0x5d450d(0x265)]['next'](_0x5de099);});})));}[_0x3e6264(0x29e)](_0x360a71){const _0x349237=_0x3e6264;var _0x1b348c,_0x4f916d;const {memberID:_0x23f39e,selection:_0x27c9c7}=_0x360a71[_0x349237(0x27e)],_0x2de169=Ze(_0x27c9c7),_0x5e36a4=(_0x4f916d=(_0x1b348c=this['_memberService'][_0x349237(0x272)](this[_0x349237(0x255)],_0x23f39e))==null?void 0x0:_0x1b348c[_0x349237(0x33f)])!=null?_0x4f916d:_0x349237(0x150),_0x3cac6e={'color':this['_colorAssignService'][_0x349237(0x375)](_0x23f39e),'name':_0x5e36a4,'ranges':_0x2de169},_0x1cfdf1=this[_0x349237(0x23a)];_0x1cfdf1[_0x349237(0x2a6)](_0x23f39e,_0x3cac6e),this[_0x349237(0x265)][_0x349237(0x360)](_0x1cfdf1);}[_0x3e6264(0x1bc)](_0x3a722c){const _0xfa9e16=_0x3e6264,{memberID:_0x55a908}=_0x3a722c['data'],_0x527a11=this['cursorInfo'];_0x527a11[_0xfa9e16(0x1fd)](_0x55a908),this[_0xfa9e16(0x265)][_0xfa9e16(0x360)](_0x527a11);}['_toggleOnline'](){const _0x3cb539=_0x3e6264;var _0x1b28c1;if(this['_online']=!0x0,((_0x1b28c1=this[_0x3cb539(0x2e3)][_0x3cb539(0x195)]())==null?void 0x0:_0x1b28c1[_0x3cb539(0x2ac)]())!==this['unitID'])return;const _0x3293a5=this[_0x3cb539(0x1eb)][_0x3cb539(0x320)](Y[_0x3cb539(0x35a)])[_0x3cb539(0x367)]();Array['isArray'](_0x3293a5)&&_0x3293a5[_0x3cb539(0x26b)]>0x0&&this[_0x3cb539(0x3a2)](_0x3293a5);}[_0x3e6264(0x1d3)](){const _0x247935=_0x3e6264;this[_0x247935(0x28e)]=!0x1;}};Se=et([L(0x2,a[_0x3e6264(0x1f4)](a[_0x3e6264(0x37d)])),L(0x3,a['Inject'](Ce)),L(0x4,a[_0x3e6264(0x1f4)](u[_0x3e6264(0x1ee)])),L(0x5,a[_0x3e6264(0x1f4)](pe)),L(0x6,m[_0x3e6264(0x278)]),L(0x7,a['IUniverInstanceService']),L(0x8,a[_0x3e6264(0x39f)])],Se);var nt=Object[_0x3e6264(0x2f9)],it=(_0xd4afca,_0x2ec3e3,_0x496a7e,_0x55a745)=>{const _0x3d65ef=_0x3e6264;for(var _0x5500aa=_0x55a745>0x1?void 0x0:_0x55a745?nt(_0x2ec3e3,_0x496a7e):_0x2ec3e3,_0xad94d5=_0xd4afca[_0x3d65ef(0x26b)]-0x1,_0x282d71;_0xad94d5>=0x0;_0xad94d5--)(_0x282d71=_0xd4afca[_0xad94d5])&&(_0x5500aa=_0x282d71(_0x5500aa)||_0x5500aa);return _0x5500aa;},A=(_0x20581a,_0x178b5)=>(_0x267f60,_0x22401a)=>_0x178b5(_0x267f60,_0x22401a,_0x20581a);const rt=0x12c,ot=0x64,at=()=>{let _0x1a33bc=[],_0x330dcf=!0x1;return _0x1c51c1=>{_0x1a33bc['push'](_0x1c51c1),_0x330dcf||(_0x330dcf=!0x0,setTimeout(()=>{const _0x1d7946=_0x5852;_0x1a33bc[_0x1d7946(0x3c8)](_0x5336dd=>_0x5336dd()),_0x1a33bc=[],_0x330dcf=!0x1;}));};};let Ie=class extends a['RxDisposable']{constructor(_0x2a3dd3,_0x46ab75,_0x23475f,_0x508d13,_0x507ad5,_0x33b84c,_0x10c833,_0xfe4a1e){const _0x428b76=_0x3e6264;super(),_(this,_0x428b76(0x28e),!0x1),_(this,_0x428b76(0x3d1),!0x1),_(this,'_cursorInfo$',new d[(_0x428b76(0x2cc))](new Map())),_(this,_0x428b76(0x1db),this[_0x428b76(0x265)][_0x428b76(0x301)]()),_(this,_0x428b76(0x36e),new d[(_0x428b76(0x2cc))]([])),_(this,_0x428b76(0x1a0),this[_0x428b76(0x36e)]['pipe'](d[_0x428b76(0x32e)](rt))),_(this,_0x428b76(0x3a2),a[_0x428b76(0x2d4)]((_0x4b91a1,_0x199804)=>{const _0x149c66=_0x428b76,_0x57a5b3={'eventID':m['CollaborationEvent'][_0x149c66(0x172)],'data':{'unitID':this[_0x149c66(0x255)],'memberID':this[_0x149c66(0x293)][_0x149c66(0x3d4)](),'selection':Te[_0x149c66(0x26d)](_0x4b91a1,_0x199804[_0x149c66(0x2d2)])}};this['_session'][_0x149c66(0x25e)](_0x57a5b3,this[_0x149c66(0x255)]);},ot)),(this['unitID']=_0x2a3dd3,this[_0x428b76(0x293)]=_0x46ab75,this['_injector']=_0x23475f,this['_colorAssignService']=_0x508d13,this[_0x428b76(0x2e9)]=_0x507ad5,this[_0x428b76(0x2e3)]=_0x33b84c,this['_commandService']=_0x10c833,this[_0x428b76(0x2c0)]=_0xfe4a1e);}get['cursorInfo'](){const _0x50d5de=_0x3e6264;return this[_0x50d5de(0x265)]['getValue']();}get['roomMembers'](){const _0x3a6850=_0x3e6264;return this[_0x3a6850(0x36e)]['getValue']();}['dispose'](){const _0x3575cd=_0x3e6264;super['dispose'](),this[_0x3575cd(0x265)][_0x3575cd(0x360)](new Map()),this[_0x3575cd(0x265)][_0x3575cd(0x197)](),this[_0x3575cd(0x36e)][_0x3575cd(0x360)]([]),this[_0x3575cd(0x36e)][_0x3575cd(0x197)]();}[_0x3e6264(0x256)](){const _0x2ba915=_0x3e6264;this['_init']||(this[_0x2ba915(0x3d1)]=!0x0,this[_0x2ba915(0x293)][_0x2ba915(0x2d8)][_0x2ba915(0x170)](d[_0x2ba915(0x1b7)](this[_0x2ba915(0x1c2)]))[_0x2ba915(0x349)](_0x3fdb9b=>{const _0x8cac89=_0x2ba915;_0x3fdb9b===u[_0x8cac89(0x1c3)][_0x8cac89(0x1d6)]?this[_0x8cac89(0x2e6)]():this[_0x8cac89(0x1d3)]();}),this['_session']['event$'][_0x2ba915(0x170)](d[_0x2ba915(0x1b7)](this['dispose$']))[_0x2ba915(0x349)](_0x59f61a=>{const _0x5c832f=_0x2ba915,_0xd8ef8d=_0x59f61a[_0x5c832f(0x357)];_0xd8ef8d===m['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x5c832f(0x29e)](_0x59f61a),_0xd8ef8d===m[_0x5c832f(0x192)]['USERS_LEAVE']&&this[_0x5c832f(0x1bc)](_0x59f61a);}),this['_onRefRangeChange'](),this[_0x2ba915(0x337)](this[_0x2ba915(0x277)][_0x2ba915(0x374)](_0xf90e79=>{const _0x33a1b5=_0x2ba915;if(this[_0x33a1b5(0x28e)]&&_0xf90e79['id']===g[_0x33a1b5(0x313)]['id']&&_0xf90e79[_0x33a1b5(0x2d9)][_0x33a1b5(0x358)]===this[_0x33a1b5(0x255)]){const _0x290344=_0xf90e79[_0x33a1b5(0x2d9)];this[_0x33a1b5(0x3a2)](_0x290344[_0x33a1b5(0x16f)],_0x290344[_0x33a1b5(0x143)][0x0]);}})));}[_0x3e6264(0x29e)](_0x2985f6){const _0x5be3af=_0x3e6264;var _0x3769df,_0x56cc55;const {memberID:_0x1270cb,selection:_0x27f14d}=_0x2985f6[_0x5be3af(0x27e)],{sheetName:_0x3776db,range:_0x20f4d6}=Te[_0x5be3af(0x2c3)](_0x27f14d),_0x23ca1a={'name':(_0x56cc55=(_0x3769df=this[_0x5be3af(0x2e9)][_0x5be3af(0x272)](this[_0x5be3af(0x255)],_0x1270cb))==null?void 0x0:_0x3769df[_0x5be3af(0x33f)])!=null?_0x56cc55:'Unknown\x20user','range':this[_0x5be3af(0x2ec)](_0x3776db,_0x20f4d6),'sheetID':_0x3776db,'color':this[_0x5be3af(0x20c)][_0x5be3af(0x375)](_0x1270cb),'selection':_0x27f14d},_0x5c99c2=this[_0x5be3af(0x23a)];_0x5c99c2[_0x5be3af(0x2a6)](_0x1270cb,_0x23ca1a),this[_0x5be3af(0x265)][_0x5be3af(0x360)](_0x5c99c2);}[_0x3e6264(0x1bc)](_0x3183fa){const _0xc3b942=_0x3e6264,{memberID:_0x11fa25}=_0x3183fa[_0xc3b942(0x27e)],_0x27b679=this['cursorInfo'];_0x27b679['delete'](_0x11fa25),this[_0xc3b942(0x265)][_0xc3b942(0x360)](_0x27b679);}[_0x3e6264(0x2ec)](_0x4dfecf,_0x1339cb){const _0x547765=_0x3e6264;var _0x33244b,_0x59fdd5;const _0x25ac26=(_0x59fdd5=(_0x33244b=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x33244b[_0x547765(0x15e)](_0x4dfecf))==null?void 0x0:_0x59fdd5['getMergeData']();return(_0x25ac26==null?void 0x0:_0x25ac26[_0x547765(0x30b)](_0x5f2cdb=>a[_0x547765(0x2ce)][_0x547765(0x3c4)](_0x5f2cdb,_0x1339cb)))||_0x1339cb;}[_0x3e6264(0x31f)](){const _0x234ec2=_0x3e6264,_0x406de2=new a[(_0x234ec2(0x3af))](),_0x19c0c1=at(),_0x387d9e=()=>{const _0x6820c=_0x234ec2;_0x406de2[_0x6820c(0x2b7)]();const _0x18cef9=(_0x3858be,_0x32b8b9,_0x39a388,_0x1ae921)=>{const _0x39d1ac=_0x6820c;let _0x346e7a=[];switch(_0x3858be['id']){case g[_0x39d1ac(0x318)][_0x39d1ac(0x1b2)]:{_0x346e7a=g[_0x39d1ac(0x1ec)](_0x3858be,_0x1ae921);break;}case g['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x346e7a=g[_0x39d1ac(0x28f)](_0x3858be,_0x1ae921);break;}case g['EffectRefRangId']['InsertColCommandId']:{_0x346e7a=g['handleInsertCol'](_0x3858be,_0x1ae921);break;}case g[_0x39d1ac(0x318)][_0x39d1ac(0x284)]:{_0x346e7a=g[_0x39d1ac(0x2da)](_0x3858be,_0x1ae921);break;}case g['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x346e7a=g[_0x39d1ac(0x1df)](_0x3858be,_0x1ae921);break;}case g['EffectRefRangId'][_0x39d1ac(0x339)]:{_0x346e7a=g['handleInsertRow'](_0x3858be,_0x1ae921);break;}case g['EffectRefRangId'][_0x39d1ac(0x210)]:{_0x346e7a=g[_0x39d1ac(0x1ac)](_0x3858be,_0x1ae921);break;}case g['EffectRefRangId'][_0x39d1ac(0x346)]:{_0x346e7a=g[_0x39d1ac(0x319)](_0x3858be,_0x1ae921);break;}case g[_0x39d1ac(0x318)][_0x39d1ac(0x36b)]:{_0x346e7a=g['handleIRemoveRow'](_0x3858be,_0x1ae921);break;}}const _0x273589=g[_0x39d1ac(0x164)](_0x346e7a,_0x1ae921),_0x2f185b=this[_0x39d1ac(0x23a)][_0x39d1ac(0x320)](_0x32b8b9);if(_0x2f185b&&_0x273589){const _0x4a4d5d={..._0x2f185b,'range':_0x273589};this[_0x39d1ac(0x23a)][_0x39d1ac(0x2a6)](_0x32b8b9,_0x4a4d5d),_0x19c0c1(()=>{const _0xcd407e=_0x39d1ac,_0x5171b1=this[_0xcd407e(0x2c0)]['registerRefRange'](_0x273589,_0x575009=>(_0x5171b1['dispose'](),_0x18cef9(_0x575009,_0x32b8b9,_0x39a388,_0x273589)));_0x406de2[_0xcd407e(0x229)](_0x5171b1);});}return{'redos':[],'undos':[]};};this[_0x6820c(0x23a)][_0x6820c(0x3c8)]((_0x421ec9,_0x44fcde)=>{const _0x39850b=_0x6820c,{range:_0x400e9c,sheetID:_0x108560}=_0x421ec9,_0x251541=this[_0x39850b(0x2c0)][_0x39850b(0x2a2)](_0x400e9c,_0x1d38d7=>(_0x251541[_0x39850b(0x2b7)](),_0x18cef9(_0x1d38d7,_0x44fcde,_0x108560,_0x400e9c)));_0x406de2[_0x39850b(0x229)](_0x251541);});};this[_0x234ec2(0x337)](a[_0x234ec2(0x22e)](this[_0x234ec2(0x265)][_0x234ec2(0x349)](()=>{_0x387d9e();})));}[_0x3e6264(0x2e6)](){const _0x1c3a8a=_0x3e6264;var _0x156f07,_0x108d06;if(this[_0x1c3a8a(0x28e)]=!0x0,((_0x156f07=this['_univerInstanceService'][_0x1c3a8a(0x195)]())==null?void 0x0:_0x156f07[_0x1c3a8a(0x2ac)]())!==this[_0x1c3a8a(0x255)])return;const _0x1d2bb5=(_0x108d06=this[_0x1c3a8a(0x1eb)]['get'](g[_0x1c3a8a(0x27f)])[_0x1c3a8a(0x24c)]())==null?void 0x0:_0x108d06[0x0],_0x5b2cbc=this[_0x1c3a8a(0x2e3)][_0x1c3a8a(0x292)](a[_0x1c3a8a(0x359)][_0x1c3a8a(0x1b6)])['getActiveSheet']();_0x1d2bb5&&_0x5b2cbc&&this[_0x1c3a8a(0x3a2)](_0x5b2cbc[_0x1c3a8a(0x290)](),_0x1d2bb5);}[_0x3e6264(0x1d3)](){const _0x280058=_0x3e6264;this[_0x280058(0x28e)]=!0x1;}};Ie=it([A(0x2,a[_0x3e6264(0x1f4)](a[_0x3e6264(0x37d)])),A(0x3,a[_0x3e6264(0x1f4)](Ce)),A(0x4,a[_0x3e6264(0x1f4)](u[_0x3e6264(0x1ee)])),A(0x5,a[_0x3e6264(0x26a)]),A(0x6,a[_0x3e6264(0x39f)]),A(0x7,a[_0x3e6264(0x1f4)](g[_0x3e6264(0x1c6)]))],Ie);var ct=Object[_0x3e6264(0x2f9)],lt=(_0x2cf040,_0x2acaf2,_0x57f35e,_0x318399)=>{const _0x39063c=_0x3e6264;for(var _0x80b099=_0x318399>0x1?void 0x0:_0x318399?ct(_0x2acaf2,_0x57f35e):_0x2acaf2,_0x24ac54=_0x2cf040[_0x39063c(0x26b)]-0x1,_0x51070b;_0x24ac54>=0x0;_0x24ac54--)(_0x51070b=_0x2cf040[_0x24ac54])&&(_0x80b099=_0x51070b(_0x80b099)||_0x80b099);return _0x80b099;},ie=(_0x1bbd15,_0x2a9f41)=>(_0x11b5b1,_0x4d02d7)=>_0x2a9f41(_0x11b5b1,_0x4d02d7,_0x1bbd15);let x=class extends a['RxDisposable']{constructor(_0x3b0bc1,_0x186667,_0x44a00f){const _0x193419=_0x3e6264;super(),_(this,'_entities',new Map()),_(this,_0x193419(0x3b2),new d[(_0x193419(0x31a))]()),(this[_0x193419(0x2e3)]=_0x3b0bc1,this[_0x193419(0x1eb)]=_0x186667,this['_collabSessionService']=_0x44a00f,this[_0x193419(0x3d1)]());}[_0x3e6264(0x2b7)](){const _0x1490a3=_0x3e6264;super[_0x1490a3(0x2b7)](),this[_0x1490a3(0x3b2)][_0x1490a3(0x197)](),this['_entities']['forEach'](_0x1b9747=>_0x1b9747[_0x1490a3(0x2b7)]());}[_0x3e6264(0x309)](_0x4f847c){const _0x561774=_0x3e6264;return this['_entities'][_0x561774(0x1d0)](_0x4f847c)?this[_0x561774(0x3a3)][_0x561774(0x320)](_0x4f847c)[_0x561774(0x1db)]:this[_0x561774(0x3b2)][_0x561774(0x170)](d['filter'](_0x165a9d=>_0x165a9d['unitID']===_0x4f847c),d[_0x561774(0x317)](_0x251269=>_0x251269[_0x561774(0x1db)]));}[_0x3e6264(0x3d1)](){const _0x250312=_0x3e6264;this[_0x250312(0x2e3)][_0x250312(0x169)](a[_0x250312(0x359)][_0x250312(0x1b6)])['pipe'](d[_0x250312(0x1b7)](this[_0x250312(0x1c2)]))[_0x250312(0x349)](async _0x32a1b4=>{const _0x46ea92=_0x250312,_0x8b451b=_0x32a1b4['getUnitId'](),_0x599e5a=await this[_0x46ea92(0x380)](_0x8b451b);this[_0x46ea92(0x3b2)]['next'](_0x599e5a),this[_0x46ea92(0x3a3)][_0x46ea92(0x2a6)](_0x8b451b,_0x599e5a);}),this[_0x250312(0x2e3)]['getTypeOfUnitAdded$'](a[_0x250312(0x359)]['UNIVER_DOC'])[_0x250312(0x170)](d[_0x250312(0x1b7)](this[_0x250312(0x1c2)]))[_0x250312(0x170)](d[_0x250312(0x246)](_0x4c2244=>!_0x4c2244['getUnitId']()[_0x250312(0x1f2)]('__')))[_0x250312(0x349)](async _0x5dccb6=>{const _0x2d58c9=_0x250312,_0x32ef1d=_0x5dccb6[_0x2d58c9(0x2ac)](),_0xc9f353=await this[_0x2d58c9(0x2f7)](_0x32ef1d);this[_0x2d58c9(0x3b2)][_0x2d58c9(0x360)](_0xc9f353),this['_entities'][_0x2d58c9(0x2a6)](_0x32ef1d,_0xc9f353);}),d[_0x250312(0x1e9)](this[_0x250312(0x2e3)]['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_DOC']),this[_0x250312(0x2e3)][_0x250312(0x199)](a[_0x250312(0x359)][_0x250312(0x1b6)]))['pipe'](d[_0x250312(0x1b7)](this[_0x250312(0x1c2)]))[_0x250312(0x349)](_0x2910d7=>{const _0x51afba=_0x250312,_0x25b17e=_0x2910d7['getUnitId'](),_0x7e655f=this['_entities'][_0x51afba(0x320)](_0x25b17e);_0x7e655f&&(_0x7e655f[_0x51afba(0x2b7)](),this[_0x51afba(0x3a3)]['delete'](_0x25b17e));});}async[_0x3e6264(0x380)](_0x52d23f){const _0x1ebe24=_0x3e6264,_0x3c8eb8=await this['_collabSessionService'][_0x1ebe24(0x247)](_0x52d23f),_0x45da03=this['_injector'][_0x1ebe24(0x154)](Ie,_0x52d23f,_0x3c8eb8);return _0x45da03[_0x1ebe24(0x256)](),_0x45da03;}async['_startDocCollabCursor'](_0x487897){const _0x54d66d=_0x3e6264,_0x533bc2=await this[_0x54d66d(0x302)][_0x54d66d(0x247)](_0x487897),_0x23a29c=this[_0x54d66d(0x1eb)]['createInstance'](Se,_0x487897,_0x533bc2);return _0x23a29c[_0x54d66d(0x256)](),_0x23a29c;}};x=lt([ie(0x0,a[_0x3e6264(0x26a)]),ie(0x1,a[_0x3e6264(0x1f4)](a[_0x3e6264(0x37d)])),ie(0x2,a[_0x3e6264(0x1f4)](u[_0x3e6264(0x32b)]))],x);const K=0x14,De=0xc8,re=0x4,_t=0x5;function ht(_0x4144ad,_0x1bef7c){const _0x84c353=_0x3e6264;let {radius:_0x20435f,width:_0xfc917f,height:_0x4c3a0a}=_0x1bef7c;_0x20435f=_0x20435f!=null?_0x20435f:0x0,_0xfc917f=_0xfc917f!=null?_0xfc917f:0x1e,_0x4c3a0a=_0x4c3a0a!=null?_0x4c3a0a:0x1e;let _0x1bb84c=0x0,_0x1f349c=0x0,_0x235a60=0x0;_0x1bb84c=_0x1f349c=_0x235a60=Math[_0x84c353(0x396)](_0x20435f,_0xfc917f/0x2,_0x4c3a0a/0x2),_0x4144ad[_0x84c353(0x2a4)](),_0x4144ad[_0x84c353(0x2bc)](_0x1bb84c,0x0),_0x4144ad[_0x84c353(0x215)](_0xfc917f-_0x1f349c,0x0),_0x4144ad[_0x84c353(0x325)](_0xfc917f-_0x1f349c,_0x1f349c,_0x1f349c,Math['PI']*0x3/0x2,0x0,!0x1),_0x4144ad[_0x84c353(0x215)](_0xfc917f,_0x4c3a0a-_0x235a60),_0x4144ad[_0x84c353(0x325)](_0xfc917f-_0x235a60,_0x4c3a0a-_0x235a60,_0x235a60,0x0,Math['PI']/0x2,!0x1),_0x4144ad[_0x84c353(0x215)](0x0,_0x4c3a0a),_0x4144ad[_0x84c353(0x215)](0x0,_0x1bb84c),_0x4144ad['arc'](_0x1bb84c,_0x1bb84c,_0x1bb84c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4144ad[_0x84c353(0x2d6)](),_0x1bef7c[_0x84c353(0x36c)]&&(_0x4144ad[_0x84c353(0x354)](),_0x4144ad[_0x84c353(0x304)]=_0x1bef7c[_0x84c353(0x36c)],_0x1bef7c['fillRule']===_0x84c353(0x29a)?_0x4144ad[_0x84c353(0x36c)](_0x84c353(0x29a)):_0x4144ad[_0x84c353(0x36c)](),_0x4144ad[_0x84c353(0x29f)]());}class te extends p[_0x3e6264(0x316)]{constructor(_0x47744c,_0x51540c){const _0x1893c0=_0x3e6264;super(_0x47744c,_0x51540c),_(this,'color'),_(this,_0x1893c0(0x38c)),(this[_0x1893c0(0x2d5)]=_0x51540c==null?void 0x0:_0x51540c[_0x1893c0(0x2d5)],this['text']=_0x51540c==null?void 0x0:_0x51540c[_0x1893c0(0x38c)]);}static['drawWith'](_0xa9bf8f,_0x326194){const _0x3fd57b=_0x3e6264,{text:_0x3d0b97,color:_0x3a4f7c}=_0x326194;_0xa9bf8f[_0x3fd57b(0x354)](),_0xa9bf8f['font']=_0x3fd57b(0x2b3);const _0x2abf68=_0xa9bf8f[_0x3fd57b(0x14b)](_0x3d0b97)[_0x3fd57b(0x3cd)],_0x450edb=Math[_0x3fd57b(0x396)](_0x2abf68+0x2*re,De);ht(_0xa9bf8f,{'height':K,'radius':0x4,'width':_0x450edb,'fill':_0x3a4f7c}),_0xa9bf8f[_0x3fd57b(0x304)]='#FFF';const _0x35b92a=re,_0x2f2f8d=K-_t,_0x92f87b=De-0x2*re;if(_0x2abf68>_0x92f87b){let _0x513f0a='',_0x49a43e=0x0;for(const _0x311f3f of _0x3d0b97){const _0x47177f=_0xa9bf8f[_0x3fd57b(0x14b)](_0x311f3f)['width'];if(_0x49a43e+_0x47177f<=_0x92f87b-_0xa9bf8f[_0x3fd57b(0x14b)](_0x3fd57b(0x205))['width'])_0x513f0a+=_0x311f3f,_0x49a43e+=_0x47177f;else{_0x513f0a+='...';break;}}_0xa9bf8f['fillText'](_0x513f0a,_0x35b92a,_0x2f2f8d);}else _0xa9bf8f['fillText'](_0x3d0b97,_0x35b92a,_0x2f2f8d);_0xa9bf8f[_0x3fd57b(0x29f)]();}[_0x3e6264(0x1f5)](_0xf9f539){const _0x689f74=_0x3e6264;te[_0x689f74(0x2c5)](_0xf9f539,this);}}const oe='collab-text-anchor-',ut=_0x3e6264(0x3d0),dt='collab-rect-range-',k=0x6,ft=1.5,ae=0x4,St=1.5,It=_0x3e6264(0x237);class Ue{constructor(_0x59ca74,_0x1f5582,_0x5abf49,_0x5a185f){const _0x15b3df=_0x3e6264;_(this,_0x15b3df(0x345),[]),_(this,_0x15b3df(0x151),null),_(this,_0x15b3df(0x324),null),_(this,_0x15b3df(0x391),null),_(this,'_hideTimer',null),_(this,_0x15b3df(0x1a9),null),(this['_cursor']=_0x59ca74,this['_scene']=_0x1f5582,this[_0x15b3df(0x17d)]=_0x5abf49,this[_0x15b3df(0x177)]=_0x5a185f,this[_0x15b3df(0x1d8)]());}set[_0x3e6264(0x275)](_0x311cae){const _0x7aea7=_0x3e6264;_0x311cae?(this[_0x7aea7(0x391)]&&this[_0x7aea7(0x391)][_0x7aea7(0x165)](),this[_0x7aea7(0x324)]&&this[_0x7aea7(0x324)]['show']()):(this[_0x7aea7(0x391)]&&this['_anchorDot'][_0x7aea7(0x1c8)](),this[_0x7aea7(0x324)]&&this['_textBubble'][_0x7aea7(0x165)]());}[_0x3e6264(0x2b7)](){const _0x170b6a=_0x3e6264;for(const _0xf86585 of this[_0x170b6a(0x345)])_0xf86585['dispose']();this[_0x170b6a(0x324)]&&this[_0x170b6a(0x324)][_0x170b6a(0x2b7)](),this[_0x170b6a(0x391)]&&this[_0x170b6a(0x391)]['dispose'](),this[_0x170b6a(0x151)]&&this[_0x170b6a(0x151)][_0x170b6a(0x2b7)](),this['_eventUnsubscribe']&&this[_0x170b6a(0x1a9)]();}['_render'](){const _0x521a83=_0x3e6264;var _0x54bcdb;const {_docSkeleton:_0x40c15f,_document:_0x59fbb0}=this,{color:_0x7e1a9a,name:_0x228a3d,ranges:_0x47cc83}=this[_0x521a83(0x2df)],_0x351cfd=_0x59fbb0[_0x521a83(0x340)](),{docsLeft:_0x50611f,docsTop:_0x2509f3}=_0x351cfd,_0x1ea602=new b[(_0x521a83(0x19e))](_0x351cfd,_0x40c15f);for(const {startOffset:_0x133fe7,endOffset:_0x53894a,rangeType:_0x3953df,segmentId:_0x254e36,segmentPage:_0x37687c,collapsed:_0x41b996,isActive:_0x2ea029}of _0x47cc83){const _0x3d52bd=_0x40c15f[_0x521a83(0x15a)](_0x133fe7,!0x0,_0x254e36,_0x37687c);let _0x501362=_0x40c15f[_0x521a83(0x15a)](_0x53894a,!0x0,_0x254e36,_0x37687c);if(_0x501362==null&&(_0x501362=_0x40c15f[_0x521a83(0x15a)](_0x53894a-0x1,!0x1,_0x254e36,_0x37687c)),_0x2ea029){const {contentBoxPointGroup:_0x16ce9a}=_0x1ea602['getRangePointData'](_0x501362,_0x501362);if(_0x16ce9a['length']===0x0)continue;this[_0x521a83(0x178)](_0x7e1a9a,_0x16ce9a,_0x50611f,_0x2509f3,_0x228a3d),this[_0x521a83(0x1a9)]=this[_0x521a83(0x252)]();}if(_0x3d52bd&&_0x501362){if(_0x3953df===a[_0x521a83(0x260)][_0x521a83(0x269)]){const _0x43e7b0=new b['NodePositionConvertToRectRange'](_0x351cfd,_0x40c15f),{pointGroup:_0x24eece}=(_0x54bcdb=_0x43e7b0['getRangePointData'](_0x3d52bd,_0x501362))!=null?_0x54bcdb:{};if(_0x24eece==null||_0x24eece[_0x521a83(0x26b)]===0x0)continue;this[_0x521a83(0x356)](_0x7e1a9a,_0x24eece,_0x50611f,_0x2509f3);}else{if(!_0x41b996){const {borderBoxPointGroup:_0x2b92f3}=_0x1ea602['getRangePointData'](_0x3d52bd,_0x501362);if(_0x2b92f3[_0x521a83(0x26b)]===0x0)continue;this[_0x521a83(0x2c1)](_0x7e1a9a,_0x2b92f3,_0x50611f,_0x2509f3);}}}}}[_0x3e6264(0x178)](_0x1b939e,_0x1ec6b4,_0x4833f1,_0x305cbf,_0x312132){const _0x3f32e6=_0x3e6264,_0x51308c=this[_0x3f32e6(0x2f5)](_0x1ec6b4),{left:_0x4c18a4,top:_0x2671e4,height:_0x41b86d}=_0x51308c,_0x4f6f77=this[_0x3f32e6(0x1da)](),_0x4ce368=St/_0x4f6f77,_0x1886d4=new p[(_0x3f32e6(0x162))](oe+a[_0x3f32e6(0x336)][_0x3f32e6(0x3b7)](k),{'left':_0x4c18a4+_0x4833f1-_0x4ce368,'top':_0x2671e4+_0x305cbf,'height':_0x41b86d,'width':ft,'fill':_0x1b939e||p[_0x3f32e6(0x2db)](a[_0x3f32e6(0x32a)][_0x3f32e6(0x2cb)],0x0),'strokeWidth':_0x4ce368,'stroke':It,'evented':!0x0});this[_0x3f32e6(0x151)]=_0x1886d4,this[_0x3f32e6(0x1ca)][_0x3f32e6(0x163)](_0x1886d4,b[_0x3f32e6(0x29b)]);const _0x5531a4=new p['Rect'](oe+a[_0x3f32e6(0x336)][_0x3f32e6(0x3b7)](k),{'left':_0x4c18a4+_0x4833f1-_0x4ce368,'top':_0x2671e4+_0x305cbf-ae/0x2,'height':ae,'width':ae,'fill':_0x1b939e||p[_0x3f32e6(0x2db)](a[_0x3f32e6(0x32a)][_0x3f32e6(0x2cb)],0x0),'strokeWidth':0x0,'stroke':_0x1b939e||p[_0x3f32e6(0x2db)](a[_0x3f32e6(0x32a)][_0x3f32e6(0x2cb)],0x0),'evented':!0x1});this['_anchorDot']=_0x5531a4,this[_0x3f32e6(0x1ca)]['addObject'](_0x5531a4,b[_0x3f32e6(0x29b)]);const _0x16d7a7=new te(oe+a[_0x3f32e6(0x336)][_0x3f32e6(0x3b7)](k),{'left':_0x4c18a4+_0x4833f1-_0x4ce368,'top':_0x2671e4+_0x305cbf-K,'text':_0x312132,'color':_0x1b939e});this[_0x3f32e6(0x324)]=_0x16d7a7,this[_0x3f32e6(0x1ca)][_0x3f32e6(0x163)](_0x16d7a7,b[_0x3f32e6(0x29b)]),this[_0x3f32e6(0x275)]=!0x1;}[_0x3e6264(0x252)](){const _0x261c8a=_0x3e6264,_0x3bebb1=this['_anchor'][_0x261c8a(0x32f)]['subscribeEvent'](()=>{const _0x35b412=_0x261c8a;this[_0x35b412(0x275)]=!0x0;}),_0x4c4ac9=this[_0x261c8a(0x151)][_0x261c8a(0x15b)][_0x261c8a(0x398)](()=>{const _0x429a6d=_0x261c8a;this[_0x429a6d(0x204)]&&clearTimeout(this['_hideTimer']),this[_0x429a6d(0x204)]=setTimeout(()=>{const _0x589452=_0x429a6d;this[_0x589452(0x275)]=!0x1;},0x7d0);});return()=>{const _0x373bbb=_0x261c8a;_0x3bebb1[_0x373bbb(0x394)](),_0x4c4ac9['unsubscribe']();};}[_0x3e6264(0x2c1)](_0x3c1dfa,_0x1a071a,_0x492779,_0x279c2c){const _0x55acb7=_0x3e6264,_0x19c55e=new a[(_0x55acb7(0x381))](_0x3c1dfa)['setAlpha'](0.2)['toRgbString'](),_0x3a70a6=new p[(_0x55acb7(0x1f3))](ut+a[_0x55acb7(0x336)][_0x55acb7(0x3b7)](k),{'pointsGroup':_0x1a071a,'fill':_0x19c55e||p[_0x55acb7(0x2db)](a['COLORS'][_0x55acb7(0x2cb)],0.2),'left':_0x492779,'top':_0x279c2c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x55acb7(0x345)][_0x55acb7(0x228)](_0x3a70a6),this[_0x55acb7(0x1ca)][_0x55acb7(0x163)](_0x3a70a6,b[_0x55acb7(0x29b)]);}[_0x3e6264(0x356)](_0x4143de,_0x1b1106,_0x561649,_0x1051d1){const _0x489ab8=_0x3e6264,_0x44dd7d=new a['ColorKit'](_0x4143de)['setAlpha'](0.2)[_0x489ab8(0x3aa)](),_0x2be151=new p[(_0x489ab8(0x1f3))](dt+a[_0x489ab8(0x336)][_0x489ab8(0x3b7)](k),{'pointsGroup':_0x1b1106,'fill':_0x44dd7d||p[_0x489ab8(0x2db)](a['COLORS'][_0x489ab8(0x2cb)],0.2),'left':_0x561649,'top':_0x1051d1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x489ab8(0x345)][_0x489ab8(0x228)](_0x2be151),this[_0x489ab8(0x1ca)]['addObject'](_0x2be151,b[_0x489ab8(0x29b)]);}[_0x3e6264(0x2f5)](_0x559bc0){const _0x303967=_0x559bc0[0x0],_0x4b4fd5=_0x303967[0x0],_0x1b46e6=_0x303967[0x2],{x:_0x3e3390,y:_0x1a3464}=_0x4b4fd5,{x:_0x4c68a9,y:_0x422d64}=_0x1b46e6;return{'left':_0x3e3390,'top':_0x1a3464,'width':_0x4c68a9-_0x3e3390,'height':_0x422d64-_0x1a3464};}['_getScale'](){const _0x3a9541=_0x3e6264,{scaleX:_0x436ff8,scaleY:_0x454d11}=this[_0x3a9541(0x1ca)][_0x3a9541(0x253)]();return Math[_0x3a9541(0x24f)](_0x436ff8,_0x454d11);}}var vt=Object[_0x3e6264(0x2f9)],gt=(_0x41bf97,_0x7c99e1,_0x49337a,_0x38d0cb)=>{const _0x25080d=_0x3e6264;for(var _0x2e02e8=_0x38d0cb>0x1?void 0x0:_0x38d0cb?vt(_0x7c99e1,_0x49337a):_0x7c99e1,_0x3180dc=_0x41bf97[_0x25080d(0x26b)]-0x1,_0x5f2aee;_0x3180dc>=0x0;_0x3180dc--)(_0x5f2aee=_0x41bf97[_0x3180dc])&&(_0x2e02e8=_0x5f2aee(_0x2e02e8)||_0x2e02e8);return _0x2e02e8;},V=(_0x59bae2,_0x25a35c)=>(_0xd01561,_0x1deb83)=>_0x25a35c(_0xd01561,_0x1deb83,_0x59bae2);let ve=class extends a[_0x3e6264(0x38b)]{constructor(_0x147746,_0xb3c2ca,_0x524d4c,_0x2f4136,_0x1cc510){const _0x5a7511=_0x3e6264;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this['_context']=_0x147746,this[_0x5a7511(0x19d)]=_0xb3c2ca,this[_0x5a7511(0x353)]=_0x524d4c,this[_0x5a7511(0x277)]=_0x2f4136,this[_0x5a7511(0x3b0)]=_0x1cc510,this[_0x5a7511(0x3d1)]());}['_init'](){const _0x1a98a7=_0x3e6264,_0x21fa24=this[_0x1a98a7(0x1c1)]['unitId'],_0x13f106=this[_0x1a98a7(0x19d)];this[_0x1a98a7(0x337)](d[_0x1a98a7(0x2a1)]([this[_0x1a98a7(0x353)][_0x1a98a7(0x309)](_0x21fa24),this[_0x1a98a7(0x3b0)][_0x1a98a7(0x240)]])['pipe']($[_0x1a98a7(0x1e6)](([_0x1892ee,_0x4beb39])=>({'skeleton':_0x13f106[_0x1a98a7(0x190)](),'cursors':[..._0x1892ee[_0x1a98a7(0x181)]()][_0x1a98a7(0x14c)](_0xee1b14=>({..._0xee1b14,'color':_0x4beb39[_0xee1b14['color']]}))})))[_0x1a98a7(0x349)](_0x5687f4=>{const _0x2335a5=_0x1a98a7;if(this[_0x2335a5(0x343)](),_0x5687f4){const {skeleton:_0x4a2fb9,cursors:_0x4b9c24}=_0x5687f4;this[_0x2335a5(0x362)](_0x4a2fb9,_0x4b9c24);}})),this['_initResize'](),this[_0x1a98a7(0x188)]();}[_0x3e6264(0x362)](_0xaa7136,_0x59c525){const _0x537b9f=_0x3e6264,{scene:_0x572ad4,mainComponent:_0xba7f26}=this[_0x537b9f(0x1c1)],_0x28a50b=_0x59c525['map'](_0xb90893=>new Ue(_0xb90893,_0x572ad4,_0xaa7136,_0xba7f26));this[_0x537b9f(0x259)]=_0x28a50b,this[_0x537b9f(0x383)]=_0x59c525;}[_0x3e6264(0x377)](){const _0x3bf32f=_0x3e6264;this[_0x3bf32f(0x343)]();const {scene:_0x37d7b9,mainComponent:_0x5311b2}=this['_context'],_0x2f9140=this[_0x3bf32f(0x19d)][_0x3bf32f(0x190)](),_0x4d636c=this['_cursors'][_0x3bf32f(0x1e6)](_0x318010=>new Ue(_0x318010,_0x37d7b9,_0x2f9140,_0x5311b2));this['_cursorShapes']=_0x4d636c;}[_0x3e6264(0x343)](){const _0x128283=_0x3e6264;this[_0x128283(0x259)][_0x128283(0x3c8)](_0x297563=>_0x297563[_0x128283(0x2b7)]()),this[_0x128283(0x259)]=[];}[_0x3e6264(0x188)](){const _0x217b29=_0x3e6264,_0x3501be=[b[_0x217b29(0x29d)]['id']];this[_0x217b29(0x337)](this[_0x217b29(0x277)][_0x217b29(0x374)](_0x30225f=>{const _0x7c68fe=_0x217b29;_0x3501be[_0x7c68fe(0x333)](_0x30225f['id'])&&_0x30225f[_0x7c68fe(0x2d9)]['unitId']===this[_0x7c68fe(0x1c1)][_0x7c68fe(0x358)]&&this[_0x7c68fe(0x377)]();}));}['_initResize'](){const _0x4cb51d=_0x3e6264;this[_0x4cb51d(0x337)](a[_0x4cb51d(0x321)](this[_0x4cb51d(0x1c1)][_0x4cb51d(0x183)][_0x4cb51d(0x2d0)])['pipe']($[_0x4cb51d(0x246)](_0x485a15=>_0x485a15[_0x4cb51d(0x33a)]===p[_0x4cb51d(0x176)][_0x4cb51d(0x3ce)]),$[_0x4cb51d(0x38d)](0x10))['subscribe'](()=>{const _0x38d48d=_0x4cb51d;this[_0x38d48d(0x377)]();}));}};ve=gt([V(0x1,a[_0x3e6264(0x1f4)](Y[_0x3e6264(0x2a7)])),V(0x2,a[_0x3e6264(0x1f4)](x)),V(0x3,a[_0x3e6264(0x39f)]),V(0x4,a[_0x3e6264(0x1f4)](a['ThemeService']))],ve);const mt=0x1,Ct=1.5;class Ae extends p[_0x3e6264(0x316)]{constructor(_0x166d6d,_0x7b4e81){const _0x380f31=_0x3e6264;super(_0x166d6d,_0x7b4e81),_(this,_0x380f31(0x2ad)),_(this,_0x380f31(0x224),!0x1),_(this,_0x380f31(0x397)),_(this,_0x380f31(0x326),''),_(this,_0x380f31(0x271),_0x380f31(0x257)),_(this,'_backgroundColor'),(_0x7b4e81&&this[_0x380f31(0x2bf)](_0x7b4e81),this['onPointerEnter$'][_0x380f31(0x398)](()=>this[_0x380f31(0x2bf)]({'hovered':!0x0})),this[_0x380f31(0x15b)][_0x380f31(0x398)](()=>this[_0x380f31(0x2bf)]({'hovered':!0x1})));}[_0x3e6264(0x2bf)](_0x29e77f){const _0x13b13f=_0x3e6264;var _0x2edc90,_0x2c2353,_0x239ffd,_0x151f5b,_0x320e92,_0x2b0600;this['_color']=(_0x2edc90=_0x29e77f[_0x13b13f(0x2d5)])!=null?_0x2edc90:this[_0x13b13f(0x2ad)],this['_hovered']=(_0x2c2353=_0x29e77f['hovered'])!=null?_0x2c2353:this[_0x13b13f(0x224)],this[_0x13b13f(0x397)]=(_0x239ffd=_0x29e77f[_0x13b13f(0x2d2)])!=null?_0x239ffd:this['_range'],this[_0x13b13f(0x326)]=(_0x151f5b=_0x29e77f['name'])!=null?_0x151f5b:this[_0x13b13f(0x326)],this[_0x13b13f(0x271)]=(_0x320e92=_0x29e77f[_0x13b13f(0x1a4)])!=null?_0x320e92:this[_0x13b13f(0x271)],this[_0x13b13f(0x297)]=(_0x2b0600=_0x29e77f[_0x13b13f(0x168)])!=null?_0x2b0600:this[_0x13b13f(0x297)],this['transformByState']({'width':_0x29e77f[_0x13b13f(0x3cd)],'height':_0x29e77f['height']});}[_0x3e6264(0x3a5)](_0x5128a2){const _0x206994=_0x3e6264,{row:_0x186a1b,column:_0x27b176}=_0x5128a2;if(_0x186a1b>=this['_range'][_0x206994(0x280)]&&_0x186a1b<=this[_0x206994(0x397)][_0x206994(0x34d)]&&_0x27b176>=this[_0x206994(0x397)][_0x206994(0x390)]&&_0x27b176<=this[_0x206994(0x397)][_0x206994(0x273)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x206994(0x2bf)]({'hovered':!0x1});}['triggerDblclick'](_0x4e849d){return!0x1;}[_0x3e6264(0x1f5)](_0x1d2034){const _0x45932f=_0x3e6264;p[_0x45932f(0x162)][_0x45932f(0x2c5)](_0x1d2034,{'width':this[_0x45932f(0x3cd)],'height':this['height'],'strokeWidth':Ct,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x45932f(0x297)]}),this[_0x45932f(0x224)]&&(_0x1d2034[_0x45932f(0x354)](),_0x1d2034[_0x45932f(0x214)](0x1,0x0,0x0,0x1,this[_0x45932f(0x3cd)],this[_0x45932f(0x271)]==='bottom'?0x0:-0x14),te[_0x45932f(0x2c5)](_0x1d2034,{'text':this['_name'],'color':this['_color']}),_0x1d2034[_0x45932f(0x29f)]());}}var pt=Object[_0x3e6264(0x2f9)],bt=(_0x4e4993,_0x1f920c,_0x1fd700,_0x1041f0)=>{const _0x23161a=_0x3e6264;for(var _0x1977f7=_0x1041f0>0x1?void 0x0:_0x1041f0?pt(_0x1f920c,_0x1fd700):_0x1f920c,_0x2679fe=_0x4e4993[_0x23161a(0x26b)]-0x1,_0x2d6601;_0x2679fe>=0x0;_0x2679fe--)(_0x2d6601=_0x4e4993[_0x2679fe])&&(_0x1977f7=_0x2d6601(_0x1977f7)||_0x1977f7);return _0x1977f7;},ce=(_0x2e484a,_0x1f8f35)=>(_0x2cb8a8,_0x1b7fe4)=>_0x1f8f35(_0x2cb8a8,_0x1b7fe4,_0x2e484a);const Et=0x1389;let ge=class extends a['RxDisposable']{constructor(_0x51f590,_0x602068,_0x50a04f,_0x26c579){const _0x518ecf=_0x3e6264;super(),_(this,_0x518ecf(0x383),new Set()),_(this,_0x518ecf(0x152),null),(this[_0x518ecf(0x1c1)]=_0x51f590,this[_0x518ecf(0x3a0)]=_0x602068,this[_0x518ecf(0x353)]=_0x50a04f,this[_0x518ecf(0x3b0)]=_0x26c579,this['_init']());}[_0x3e6264(0x3d1)](){const _0x11910b=_0x3e6264;this[_0x11910b(0x3a0)][_0x11910b(0x3b9)]['pipe']($[_0x11910b(0x1b7)](this[_0x11910b(0x1c2)]),$[_0x11910b(0x317)](_0x212fe3=>{const _0x27a9d8=_0x11910b;if(_0x212fe3){const _0x2f1ca5=_0x212fe3[_0x27a9d8(0x207)];return d[_0x27a9d8(0x2a1)](this[_0x27a9d8(0x353)][_0x27a9d8(0x309)](this[_0x27a9d8(0x1c1)][_0x27a9d8(0x358)]),this['_themeService'][_0x27a9d8(0x240)])['pipe']($[_0x27a9d8(0x1e6)](([_0xf6062e,_0x4f7246])=>{const _0x16f70b=new Map();return _0xf6062e['forEach']((_0x423ace,_0x24d983)=>{const _0x13ec5b=_0x5852;if(_0x423ace[_0x13ec5b(0x3c2)]===_0x2f1ca5){const _0x27f832={..._0x423ace};_0x27f832[_0x13ec5b(0x2d5)]=_0x4f7246[_0x423ace[_0x13ec5b(0x2d5)]],_0x16f70b['set'](_0x24d983,_0x27f832);}}),{'skeleton':_0x212fe3,'cursors':_0x16f70b};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x137f0b,cursors:_0x26ce0d})=>{const _0x1b868c=_0x11910b;this[_0x1b868c(0x343)](),_0x137f0b&&this['_updateCollabCursors'](_0x137f0b,_0x26ce0d);}),this[_0x11910b(0x3a0)][_0x11910b(0x3b9)][_0x11910b(0x349)](_0xa01341=>{const _0x4ccbcf=_0x11910b;if(_0xa01341==null)return;const {skeleton:_0x5a9dcd}=_0xa01341,{scene:_0x9d78b2}=this['_context'];_0x9d78b2[_0x4ccbcf(0x17c)][_0x4ccbcf(0x398)](a[_0x4ccbcf(0x2d4)](_0xd82e04=>{const _0x549efa=_0x4ccbcf;var _0x834faf,_0x54f5d2;const {offsetX:_0x1a5e6d,offsetY:_0x5af8ab}=_0xd82e04,{x:_0x80cd28,y:_0x43002c}=_0x9d78b2[_0x549efa(0x27d)](p['Vector2']['FromArray']([_0x1a5e6d,_0x5af8ab])),{scaleX:_0x538a98,scaleY:_0x2c0a54}=_0x9d78b2[_0x549efa(0x253)](),_0x3a2aa6=_0x9d78b2[_0x549efa(0x1d4)](p[_0x549efa(0x2fc)][_0x549efa(0x1fb)]),_0x268b8d=_0x9d78b2[_0x549efa(0x144)](p[_0x549efa(0x2f3)]['FromArray']([_0x80cd28,_0x43002c]),_0x3a2aa6),_0x332065=_0x5a9dcd[_0x549efa(0x1d2)](_0x1a5e6d,_0x5af8ab,_0x538a98,_0x2c0a54,_0x268b8d);((_0x834faf=this['_lastPointer'])==null?void 0x0:_0x834faf[_0x549efa(0x2cf)])===_0x332065[_0x549efa(0x2cf)]&&((_0x54f5d2=this[_0x549efa(0x152)])==null?void 0x0:_0x54f5d2[_0x549efa(0x334)])===_0x332065[_0x549efa(0x334)]||this[_0x549efa(0x383)][_0x549efa(0x3c8)](_0x97180=>{const _0x521e20=_0x549efa;_0x97180[_0x521e20(0x3a5)](_0x332065);});},0x64));});}[_0x3e6264(0x362)](_0x17d820,_0x26a899){const _0x16ade6=_0x3e6264;var _0x302991;const _0x27b4d8=(_0x302991=this[_0x16ade6(0x3a0)]['getCurrent']())==null?void 0x0:_0x302991['skeleton'];if(!_0x27b4d8)return;const _0xc7685a=this[_0x16ade6(0x31e)]();if(!_0xc7685a)return;this[_0x16ade6(0x383)][_0x16ade6(0x3c8)](_0x5ad6a8=>{const _0x2a41d8=_0x16ade6;_0x5ad6a8[_0x2a41d8(0x2c4)]();});const {scene:_0x4ea533}=_0xc7685a,_0xdfaa5c=Tt(Array[_0x16ade6(0x182)](_0x26a899[_0x16ade6(0x181)]()))[_0x16ade6(0x1e6)](_0xb44509=>{const _0x166a5a=_0x16ade6,{color:_0x2048da,range:_0x3a3637,name:_0x234d34,selection:_0x7c702d,sheetID:_0x9a732a}=_0xb44509,{startColumn:_0x4dbb66,startRow:_0x3d4ce8,endColumn:_0x2b5682,endRow:_0x2a3e60}=_0x3a3637,_0x52663f=G[_0x166a5a(0x16e)](_0x3d4ce8,_0x4dbb66,_0x4ea533,_0x27b4d8),_0x43def9=G[_0x166a5a(0x16e)](_0x2a3e60,_0x2b5682,_0x4ea533,_0x27b4d8),{columnHeaderHeightAndMarginTop:_0x5309eb}=_0x27b4d8,{startX:_0x2ac114,startY:_0x484df3}=_0x52663f,{endX:_0x49635a,endY:_0xa8f705}=_0x43def9,_0x5d71d7=_0x49635a-_0x2ac114,_0x84c40f=_0xa8f705-_0x484df3,_0x4e110c={'labelPosition':_0x484df3-_0x5309eb>=K?_0x166a5a(0x257):'bottom','sheetID':_0x9a732a,'range':_0x3a3637,'color':_0x2048da,'name':_0x234d34,'selection':_0x7c702d,'left':_0x2ac114,'top':_0x484df3,'width':_0x5d71d7,'height':_0x84c40f,'evented':!0x1,'zIndex':Et};return new Ae(_0x234d34,_0x4e110c);});_0x4ea533['addObjects'](_0xdfaa5c,mt),this['_cursors']=new Set(_0xdfaa5c);}[_0x3e6264(0x343)](){const _0x30a582=_0x3e6264;var _0x735227;(_0x735227=this[_0x30a582(0x383)])==null||_0x735227[_0x30a582(0x3c8)](_0x4b56b8=>_0x4b56b8[_0x30a582(0x2b7)]());}['_getSheetObject'](){const _0x4869bc=_0x3e6264;return G[_0x4869bc(0x395)](this[_0x4869bc(0x1c1)][_0x4869bc(0x27b)],this[_0x4869bc(0x1c1)]);}};ge=bt([ce(0x1,a['Inject'](G[_0x3e6264(0x239)])),ce(0x2,a['Inject'](x)),ce(0x3,a['Inject'](a[_0x3e6264(0x268)]))],ge);function Tt(_0x3475a9){const _0x3012e9=_0x3e6264,_0xdef90f=new Map();return _0x3475a9['forEach'](_0x307fae=>{const _0x4c8f6d=_0x5852;if(_0xdef90f['has'](_0x307fae[_0x4c8f6d(0x1f9)])){const _0x4459b1=_0xdef90f['get'](_0x307fae[_0x4c8f6d(0x1f9)]);_0x4459b1[_0x4c8f6d(0x33f)]+=',\x20'+_0x307fae[_0x4c8f6d(0x33f)];}else _0xdef90f['set'](_0x307fae[_0x4c8f6d(0x1f9)],_0x307fae);}),Array[_0x3012e9(0x182)](_0xdef90f['values']());}var E=function(){const _0x286ac7=_0x3e6264;return E=Object[_0x286ac7(0x238)]||function(_0x8131aa){const _0x1c3184=_0x286ac7;for(var _0x1ccc84,_0x38b0be=0x1,_0x1e5dd0=arguments[_0x1c3184(0x26b)];_0x38b0be<_0x1e5dd0;_0x38b0be++){_0x1ccc84=arguments[_0x38b0be];for(var _0x3d09d2 in _0x1ccc84)Object[_0x1c3184(0x3be)][_0x1c3184(0x1a1)][_0x1c3184(0x250)](_0x1ccc84,_0x3d09d2)&&(_0x8131aa[_0x3d09d2]=_0x1ccc84[_0x3d09d2]);}return _0x8131aa;},E[_0x286ac7(0x1cc)](this,arguments);},Ot=function(_0x10625a,_0xb3bc4f){const _0x267a74=_0x3e6264;var _0x108cd1={};for(var _0x46315a in _0x10625a)Object[_0x267a74(0x3be)][_0x267a74(0x1a1)][_0x267a74(0x250)](_0x10625a,_0x46315a)&&_0xb3bc4f[_0x267a74(0x1bb)](_0x46315a)<0x0&&(_0x108cd1[_0x46315a]=_0x10625a[_0x46315a]);if(_0x10625a!=null&&typeof Object['getOwnPropertySymbols']==_0x267a74(0x25b)){for(var _0x251068=0x0,_0x46315a=Object[_0x267a74(0x384)](_0x10625a);_0x251068<_0x46315a[_0x267a74(0x26b)];_0x251068++)_0xb3bc4f[_0x267a74(0x1bb)](_0x46315a[_0x251068])<0x0&&Object[_0x267a74(0x3be)][_0x267a74(0x1c5)][_0x267a74(0x250)](_0x10625a,_0x46315a[_0x251068])&&(_0x108cd1[_0x46315a[_0x251068]]=_0x10625a[_0x46315a[_0x251068]]);}return _0x108cd1;},be=M['forwardRef'](function(_0x1069af,_0x5ecb87){const _0x414c38=_0x3e6264;var _0x2f1e81=_0x1069af['icon'],_0x388132=_0x1069af['id'],_0x2a5dc0=_0x1069af['className'],_0x2ed230=_0x1069af[_0x414c38(0x39c)],_0x4148ec=Ot(_0x1069af,[_0x414c38(0x2c8),'id',_0x414c38(0x156),_0x414c38(0x39c)]),_0x378d94=_0x414c38(0x173)['concat'](_0x388132,'\x20')['concat'](_0x2a5dc0||'')[_0x414c38(0x2d1)](),_0x1dae8d=M['useRef']('_'[_0x414c38(0x3cb)](Ut()));return ye(_0x2f1e81,''[_0x414c38(0x3cb)](_0x388132),{'defIds':_0x2f1e81[_0x414c38(0x1e5)],'idSuffix':_0x1dae8d[_0x414c38(0x231)]},E({'ref':_0x5ecb87,'className':_0x378d94},_0x4148ec),_0x2ed230);});function ye(_0xfc4812,_0x28af74,_0x1f38bc,_0x57532f,_0x4dc1e5){const _0x57680f=_0x3e6264;return M['createElement'](_0xfc4812[_0x57680f(0x171)],E(E({'key':_0x28af74},Rt(_0xfc4812,_0x1f38bc,_0x4dc1e5)),_0x57532f),(Dt(_0xfc4812,_0x1f38bc)[_0x57680f(0x29c)]||[])[_0x57680f(0x1e6)](function(_0x3e0296,_0x2255ae){const _0x56f98a=_0x57680f;return ye(_0x3e0296,''[_0x56f98a(0x3cb)](_0x28af74,'-')['concat'](_0xfc4812[_0x56f98a(0x171)],'-')[_0x56f98a(0x3cb)](_0x2255ae),_0x1f38bc,void 0x0,_0x4dc1e5);}));}function Rt(_0x2a2603,_0x5da12b,_0x3dc522){const _0x2a5f11=_0x3e6264;var _0x47459e=E({},_0x2a2603[_0x2a5f11(0x1a7)]);_0x3dc522!=null&&_0x3dc522[_0x2a5f11(0x2aa)]&&_0x47459e['fill']===_0x2a5f11(0x2aa)&&(_0x47459e[_0x2a5f11(0x36c)]=_0x3dc522[_0x2a5f11(0x2aa)]),_0x2a2603[_0x2a5f11(0x171)]===_0x2a5f11(0x32d)&&_0x47459e['id']&&(_0x47459e['id']=_0x47459e['id']+_0x5da12b[_0x2a5f11(0x347)]),Object[_0x2a5f11(0x2fa)](_0x47459e)['forEach'](function(_0x3b576b){const _0x4a3dc3=_0x2a5f11;var _0x357e65=_0x3b576b[0x0],_0x4d5ef4=_0x3b576b[0x1];_0x357e65==='mask'&&typeof _0x4d5ef4==_0x4a3dc3(0x3b8)&&(_0x47459e[_0x357e65]=_0x4d5ef4[_0x4a3dc3(0x2eb)](/url\(#(.*)\)/,_0x4a3dc3(0x34e)[_0x4a3dc3(0x3cb)](_0x5da12b[_0x4a3dc3(0x347)],')')));});var _0x42f039=_0x5da12b[_0x2a5f11(0x1e5)];return!_0x42f039||_0x42f039[_0x2a5f11(0x26b)]===0x0||(_0x2a2603[_0x2a5f11(0x171)]===_0x2a5f11(0x372)&&_0x47459e['xlink:href']&&(_0x47459e[_0x2a5f11(0x35d)]=_0x47459e[_0x2a5f11(0x35d)]+_0x5da12b[_0x2a5f11(0x347)]),Object[_0x2a5f11(0x2fa)](_0x47459e)[_0x2a5f11(0x3c8)](function(_0x17f2b2){const _0x12dcb6=_0x2a5f11;var _0x4f06d5=_0x17f2b2[0x0],_0x2f6346=_0x17f2b2[0x1];typeof _0x2f6346==_0x12dcb6(0x3b8)&&(_0x47459e[_0x4f06d5]=_0x2f6346[_0x12dcb6(0x2eb)](/url\(#(.*)\)/,'url(#$1'[_0x12dcb6(0x3cb)](_0x5da12b[_0x12dcb6(0x347)],')')));})),_0x47459e;}function Dt(_0x2f7b4d,_0x167efa){const _0x4e10b4=_0x3e6264;var _0x195ce2,_0x503ff0=_0x167efa[_0x4e10b4(0x1e5)];return!_0x503ff0||_0x503ff0['length']===0x0?_0x2f7b4d:_0x2f7b4d[_0x4e10b4(0x171)]===_0x4e10b4(0x35c)&&(!((_0x195ce2=_0x2f7b4d['children'])===null||_0x195ce2===void 0x0)&&_0x195ce2[_0x4e10b4(0x26b)])?E(E({},_0x2f7b4d),{'children':_0x2f7b4d['children'][_0x4e10b4(0x1e6)](function(_0x326381){const _0x40e9f9=_0x4e10b4;return typeof _0x326381['attrs']['id']==_0x40e9f9(0x3b8)&&_0x503ff0&&_0x503ff0[_0x40e9f9(0x1bb)](_0x326381[_0x40e9f9(0x1a7)]['id'])>-0x1?E(E({},_0x326381),{'attrs':E(E({},_0x326381[_0x40e9f9(0x1a7)]),{'id':_0x326381[_0x40e9f9(0x1a7)]['id']+_0x167efa[_0x40e9f9(0x347)]})}):_0x326381;})}):_0x2f7b4d;}function Ut(){const _0x1be801=_0x3e6264;return Math[_0x1be801(0x1b5)]()[_0x1be801(0x31d)](0x24)['substring'](0x2,0x8);}be[_0x3e6264(0x373)]=_0x3e6264(0x368);var Nt={'tag':_0x3e6264(0x184),'attrs':{'fill':_0x3e6264(0x382),'viewBox':_0x3e6264(0x1ae),'width':'1em','height':_0x3e6264(0x248)},'children':[{'tag':'g','attrs':{'clipPath':_0x3e6264(0x22a)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','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':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3e6264(0x35c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3e6264(0x174)},'children':[{'tag':'path','attrs':{'fill':_0x3e6264(0x1f7),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},$e=M[_0x3e6264(0x2be)](function(_0x322cbf,_0x53b950){return M['createElement'](be,Object['assign']({},_0x322cbf,{'id':'off-line-single','ref':_0x53b950,'icon':Nt}));});$e[_0x3e6264(0x373)]=_0x3e6264(0x285);var Mt={'tag':_0x3e6264(0x184),'attrs':{'fill':_0x3e6264(0x382),'viewBox':_0x3e6264(0x1a2),'width':_0x3e6264(0x248),'height':_0x3e6264(0x248)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x3e6264(0x145),'d':_0x3e6264(0x24b),'strokeLinecap':_0x3e6264(0x38a),'strokeLinejoin':_0x3e6264(0x38a),'strokeWidth':1.2}}]},{'tag':_0x3e6264(0x35c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3e6264(0x3b4)},'children':[{'tag':_0x3e6264(0x2bd),'attrs':{'fill':'#fff','d':_0x3e6264(0x36d),'transform':_0x3e6264(0x1bd)}}]}]}],'defIds':[_0x3e6264(0x3b4)]},xe=M['forwardRef'](function(_0x344f39,_0x59f8be){const _0x28bb19=_0x3e6264;return M[_0x28bb19(0x2cd)](be,Object[_0x28bb19(0x238)]({},_0x344f39,{'id':_0x28bb19(0x3a7),'ref':_0x59f8be,'icon':Mt}));});xe[_0x3e6264(0x373)]=_0x3e6264(0x3c6);const Lt=_0x3e6264(0x1af),Pt=_0x3e6264(0x1a5),wt=_0x3e6264(0x385),At=_0x3e6264(0x18d),yt=_0x3e6264(0x249),H={'onlineStatusIcon':Lt,'onlineStatusTitle':Pt,'onlineStatus':wt,'online':At,'offline':yt};function $t(_0x877694){const _0x5ac23c=_0x3e6264;switch(_0x877694){case u[_0x5ac23c(0x1b9)][_0x5ac23c(0x26c)]:return _0x5ac23c(0x153);case u[_0x5ac23c(0x1b9)][_0x5ac23c(0x1c0)]:return'collabStatus.conflict';case u[_0x5ac23c(0x1b9)][_0x5ac23c(0x1b4)]:return _0x5ac23c(0x35f);case u[_0x5ac23c(0x1b9)][_0x5ac23c(0x36a)]:return _0x5ac23c(0x323);case u[_0x5ac23c(0x1b9)][_0x5ac23c(0x200)]:case u[_0x5ac23c(0x1b9)]['AWAITING_WITH_PENDING']:return _0x5ac23c(0x2b4);case u[_0x5ac23c(0x1b9)][_0x5ac23c(0x208)]:case u[_0x5ac23c(0x1b9)][_0x5ac23c(0x1fe)]:return'collabStatus.synced';}}function je(_0x3a413e){const _0xf65259=_0x3e6264,{status$:_0x4c785c}=_0x3a413e,_0x2b3fb0=O[_0xf65259(0x3ba)](_0x4c785c,u[_0xf65259(0x1b9)][_0xf65259(0x36a)]),_0x142223=O[_0xf65259(0x1dc)](a[_0xf65259(0x213)]),_0x46e57c=O[_0xf65259(0x1dc)](u[_0xf65259(0x32b)]),_0x85d8dd=_0x2b3fb0!==u[_0xf65259(0x1b9)][_0xf65259(0x26c)],_0x18ab23=_0x142223['t']($t(_0x2b3fb0)),_0x228e3d=T[_0xf65259(0x270)](H['onlineStatus'],{[H['online']]:_0x85d8dd,[H[_0xf65259(0x234)]]:!_0x85d8dd}),_0x2e1ad7=_0x85d8dd?P[_0xf65259(0x266)](xe,{}):P[_0xf65259(0x266)]($e,{}),_0x2a633d=M['useCallback'](()=>{_0x85d8dd||_0x46e57c['reconnect']();},[_0x85d8dd,_0x46e57c]);function _0x5cefdc(){const _0x43958d=_0xf65259;return P[_0x43958d(0x3ca)]('div',{'className':T[_0x43958d(0x270)](_0x228e3d,_0x43958d(0x30a)),'onClick':_0x2a633d,'children':[P['jsx'](_0x43958d(0x2fd),{'className':H['onlineStatusIcon'],'children':_0x2e1ad7}),P[_0x43958d(0x266)](_0x43958d(0x2fd),{'className':H[_0x43958d(0x2b9)],'children':_0x18ab23})]});}return _0x85d8dd?_0x5cefdc():P[_0xf65259(0x266)](T[_0xf65259(0x220)],{'title':_0x142223['t'](_0xf65259(0x2dd)),'children':_0x5cefdc()});}var xt=Object['getOwnPropertyDescriptor'],jt=(_0x495fcc,_0x40bdb0,_0xb59e55,_0x56f529)=>{const _0x3bea87=_0x3e6264;for(var _0x12e9c5=_0x56f529>0x1?void 0x0:_0x56f529?xt(_0x40bdb0,_0xb59e55):_0x40bdb0,_0x1ed2c0=_0x495fcc[_0x3bea87(0x26b)]-0x1,_0x24a792;_0x1ed2c0>=0x0;_0x1ed2c0--)(_0x24a792=_0x495fcc[_0x1ed2c0])&&(_0x12e9c5=_0x24a792(_0x12e9c5)||_0x12e9c5);return _0x12e9c5;},X=(_0x53fd00,_0x5e911b)=>(_0x23da89,_0x2029c9)=>_0x5e911b(_0x23da89,_0x2029c9,_0x53fd00);exports[_0x3e6264(0x251)]=class extends a[_0x3e6264(0x2e5)]{constructor(_0x16a9d1,_0x2e64d2,_0x543eee,_0x4ade16){const _0x45aa54=_0x3e6264;super(),_(this,'_status$',new d[(_0x45aa54(0x2cc))](u[_0x45aa54(0x1b9)][_0x45aa54(0x36a)])),(this[_0x45aa54(0x2e3)]=_0x16a9d1,this[_0x45aa54(0x1eb)]=_0x2e64d2,this[_0x45aa54(0x327)]=_0x543eee,this[_0x45aa54(0x37f)]=_0x4ade16,this[_0x45aa54(0x264)](),this[_0x45aa54(0x341)]());}[_0x3e6264(0x341)](){const _0x123d10=_0x3e6264;this[_0x123d10(0x337)](this[_0x123d10(0x2e3)][_0x123d10(0x1bf)][_0x123d10(0x170)](d[_0x123d10(0x317)](()=>{const _0x1ff36c=_0x123d10,_0x27e526=this['_univerInstanceService'][_0x1ff36c(0x195)]();return _0x27e526?this['_collaborationController'][_0x1ff36c(0x21d)](_0x27e526[_0x1ff36c(0x2ac)]()):d['of'](null);}),d[_0x123d10(0x317)](_0x312074=>_0x312074?_0x312074[_0x123d10(0x30c)]:d['of'](u[_0x123d10(0x1b9)][_0x123d10(0x36a)])))[_0x123d10(0x349)](_0x4b0cef=>{const _0x5ca387=_0x123d10;this[_0x5ca387(0x3cf)][_0x5ca387(0x360)](_0x4b0cef);}));}['_initStatusComponent'](){const _0x100c4d=_0x3e6264;this[_0x100c4d(0x337)](this[_0x100c4d(0x37f)]['registerComponent'](O[_0x100c4d(0x33d)][_0x100c4d(0x202)],()=>O[_0x100c4d(0x2e4)](Bt({'status$':this[_0x100c4d(0x3cf)][_0x100c4d(0x301)]()}),this[_0x100c4d(0x1eb)])));}},exports[_0x3e6264(0x251)]=jt([X(0x0,a[_0x3e6264(0x26a)]),X(0x1,a[_0x3e6264(0x1f4)](a[_0x3e6264(0x37d)])),X(0x2,a[_0x3e6264(0x1f4)](u[_0x3e6264(0x294)])),X(0x3,O[_0x3e6264(0x225)])],exports[_0x3e6264(0x251)]);function Bt(_0x4287c1){const {status$:_0x20d937}=_0x4287c1;return function(){const _0x3ebb71=_0x5852;return P[_0x3ebb71(0x266)](je,{'status$':_0x20d937});};}var kt=Object[_0x3e6264(0x2f9)],Ht=(_0x5a465a,_0x1778e9,_0x6fe1f6,_0x29cfe4)=>{const _0x511089=_0x3e6264;for(var _0x3006e0=_0x29cfe4>0x1?void 0x0:_0x29cfe4?kt(_0x1778e9,_0x6fe1f6):_0x1778e9,_0x112c40=_0x5a465a[_0x511089(0x26b)]-0x1,_0x32a099;_0x112c40>=0x0;_0x112c40--)(_0x32a099=_0x5a465a[_0x112c40])&&(_0x3006e0=_0x32a099(_0x3006e0)||_0x3006e0);return _0x3006e0;},y=(_0x2e06de,_0x446872)=>(_0x39e9d8,_0x3ca46c)=>_0x446872(_0x39e9d8,_0x3ca46c,_0x2e06de);let z=class extends a[_0x3e6264(0x2e5)]{constructor(_0x32a2c4,_0xb1c10b,_0x10b156,_0x17ea4a,_0x5584d3,_0x3dc14b){const _0x332d6d=_0x3e6264;super(),this[_0x332d6d(0x287)]=_0x32a2c4,this[_0x332d6d(0x3c0)]=_0xb1c10b,this[_0x332d6d(0x236)]=_0x10b156,this['_messageService']=_0x17ea4a,this['_notificationService']=_0x5584d3,this[_0x332d6d(0x14e)]=_0x3dc14b,this['_setupBeforeClosingHandler'](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x194aac=_0x3e6264;this['disposeWithMe'](this[_0x194aac(0x287)][_0x194aac(0x1cf)](()=>{const _0x399d1e=_0x194aac;if(this[_0x399d1e(0x3c0)]['saveTaskMap']['size'])return this[_0x399d1e(0x14e)]['t'](_0x399d1e(0x16b));}));}['_initEvent'](){const _0x79f3f1=_0x3e6264;this[_0x79f3f1(0x337)](this['_collaborationUIEventService'][_0x79f3f1(0x306)][_0x79f3f1(0x349)](_0x325668=>{const _0x4755b9=_0x79f3f1;_0x325668['id']===u[_0x4755b9(0x274)][_0x4755b9(0x2e8)]&&this['_messageService'][_0x4755b9(0x1c8)]({'type':T[_0x4755b9(0x2e2)][_0x4755b9(0x283)],'content':this[_0x4755b9(0x14e)]['t'](_0x4755b9(0x279))}),_0x325668['id']===u['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x4755b9(0x38e)][_0x4755b9(0x1c8)]({'type':T[_0x4755b9(0x2e2)][_0x4755b9(0x283)],'content':this[_0x4755b9(0x14e)]['t'](_0x4755b9(0x196))}),_0x325668['id']===u['CollaborationUIEventId'][_0x4755b9(0x1ea)]&&this[_0x4755b9(0x19a)]['show']({'title':this['_localeService']['t']('permission.title'),'content':this[_0x4755b9(0x14e)]['t'](_0x4755b9(0x24a)),'type':'error','duration':0x0}),_0x325668['id']===u[_0x4755b9(0x274)][_0x4755b9(0x1c0)]&&this[_0x4755b9(0x38e)][_0x4755b9(0x1c8)]({'type':T['MessageType'][_0x4755b9(0x2e0)],'content':this[_0x4755b9(0x14e)]['t']('collaboration.closeRoom')+'('+_0x325668[_0x4755b9(0x27e)]+')'}),_0x325668['id']===u[_0x4755b9(0x274)][_0x4755b9(0x26e)]&&this['_messageService'][_0x4755b9(0x1c8)]({'type':T['MessageType'][_0x4755b9(0x283)],'content':this['_localeService']['t'](_0x325668[_0x4755b9(0x27e)]||'')}),_0x325668['id']===u[_0x4755b9(0x274)][_0x4755b9(0x2fe)]&&this['_messageService']['show']({'type':T[_0x4755b9(0x2e2)][_0x4755b9(0x283)],'content':this[_0x4755b9(0x14e)]['t']('session.will-retry')}),_0x325668['id']===u['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x4755b9(0x38e)][_0x4755b9(0x1c8)]({'type':T[_0x4755b9(0x2e2)]['Error'],'content':this[_0x4755b9(0x14e)]['t']('session.connection-failed')}),_0x325668['id']===u[_0x4755b9(0x274)][_0x4755b9(0x352)]&&this['_messageService'][_0x4755b9(0x1c8)]({'type':T['MessageType'][_0x4755b9(0x2e0)],'content':this[_0x4755b9(0x14e)]['t'](_0x4755b9(0x2f2))});}));}};z=Ht([y(0x0,O[_0x3e6264(0x2ae)]),y(0x1,u[_0x3e6264(0x1b0)]),y(0x2,a['Inject'](u[_0x3e6264(0x1fa)])),y(0x3,O['IMessageService']),y(0x4,O[_0x3e6264(0x1e4)]),y(0x5,a[_0x3e6264(0x1f4)](a[_0x3e6264(0x213)]))],z);const Ft=_0x3e6264(0x217),Ne={},Ee=a[_0x3e6264(0x159)](_0x3e6264(0x30f));var Wt=Object[_0x3e6264(0x2f9)],Yt=(_0x205e57,_0x3ff717,_0x753230,_0xd23bad)=>{const _0x1f01bf=_0x3e6264;for(var _0x2f2ba9=_0xd23bad>0x1?void 0x0:_0xd23bad?Wt(_0x3ff717,_0x753230):_0x3ff717,_0x164287=_0x205e57[_0x1f01bf(0x26b)]-0x1,_0x47c4b1;_0x164287>=0x0;_0x164287--)(_0x47c4b1=_0x205e57[_0x164287])&&(_0x2f2ba9=_0x47c4b1(_0x2f2ba9)||_0x2f2ba9);return _0x2f2ba9;},F=(_0x2727fb,_0x32bd02)=>(_0x522e07,_0x3d7866)=>_0x32bd02(_0x522e07,_0x3d7866,_0x2727fb);exports['CollaborationDataLoaderController']=class extends a[_0x3e6264(0x38b)]{constructor(_0x61f6e9,_0x4aa1ae,_0x2bace6,_0x4ed085,_0x5ee3c9){const _0x58dbf0=_0x3e6264;super(),this[_0x58dbf0(0x3a4)]=_0x61f6e9,this[_0x58dbf0(0x25f)]=_0x4aa1ae,this[_0x58dbf0(0x277)]=_0x2bace6,this[_0x58dbf0(0x19c)]=_0x4ed085,_0x5ee3c9?_0x5ee3c9==null||_0x5ee3c9['whenReady']()[_0x58dbf0(0x2b1)](()=>this[_0x58dbf0(0x3d1)]()):(this['_logService']['debug'](_0x58dbf0(0x3c3),_0x58dbf0(0x3c1)),this[_0x58dbf0(0x3d1)]());}async[_0x3e6264(0x3d1)](){const _0x5ac751=_0x3e6264,_0x1cb0ec=this[_0x5ac751(0x3a4)][_0x5ac751(0x147)](_0x5ac751(0x27b)),_0x54323d=this[_0x5ac751(0x3a4)][_0x5ac751(0x147)](_0x5ac751(0x33a)),_0x28b643=this['_urlService'][_0x5ac751(0x147)]('subunit');if(!_0x1cb0ec||!_0x54323d){this[_0x5ac751(0x25f)][_0x5ac751(0x18e)](_0x5ac751(0x3c3),_0x5ac751(0x241));return;}const _0x464495=await this[_0x5ac751(0x19c)][_0x5ac751(0x2b6)](_0x1cb0ec,Number(_0x54323d),_0x28b643);_0x464495&&_0x464495 instanceof a[_0x5ac751(0x21e)]&&this[_0x5ac751(0x379)](_0x464495);}async[_0x3e6264(0x379)](_0x22e6dd){const _0x1bbf06=_0x3e6264;await this[_0x1bbf06(0x331)](_0x22e6dd),_0x22e6dd[_0x1bbf06(0x1fc)][_0x1bbf06(0x170)](d[_0x1bbf06(0x1b7)](this[_0x1bbf06(0x1c2)]))['subscribe'](_0x1ce903=>{const _0x4ad965=_0x1bbf06;_0x1ce903&&this[_0x4ad965(0x2dc)](_0x1ce903);}),this[_0x1bbf06(0x3a4)]['urlChange$'][_0x1bbf06(0x170)](d[_0x1bbf06(0x1b7)](this[_0x1bbf06(0x1c2)]))[_0x1bbf06(0x349)](()=>this[_0x1bbf06(0x331)](_0x22e6dd));}[_0x3e6264(0x2dc)](_0x3a1141,_0x5e1f58=!0x1){const _0x2f62cc=_0x3e6264,_0x27f7f4=this[_0x2f62cc(0x3a4)]['getParam'](_0x2f62cc(0x157));_0x3a1141['getSheetId']()!==_0x27f7f4&&this['_urlService'][_0x2f62cc(0x218)](_0x2f62cc(0x157),_0x3a1141[_0x2f62cc(0x290)](),_0x5e1f58);}async[_0x3e6264(0x331)](_0x47b199){const _0x11439a=_0x3e6264;var _0x6770b;const _0x4edc20=this[_0x11439a(0x3a4)][_0x11439a(0x147)](_0x11439a(0x157));if(!_0x4edc20||!_0x47b199[_0x11439a(0x15e)](_0x4edc20)){const _0x3c1a97=_0x47b199['getUnhiddenWorksheets']()[0x0],_0x59c3ed=_0x47b199[_0x11439a(0x15e)](_0x3c1a97);if(!_0x59c3ed)return;this[_0x11439a(0x2dc)](_0x59c3ed,!0x0),await this[_0x11439a(0x277)]['executeCommand'](g[_0x11439a(0x315)]['id'],{'unitId':_0x47b199[_0x11439a(0x2ac)](),'subUnitId':_0x3c1a97});return;}((_0x6770b=_0x47b199[_0x11439a(0x286)]())==null?void 0x0:_0x6770b[_0x11439a(0x290)]())!==_0x4edc20&&await this[_0x11439a(0x277)][_0x11439a(0x23d)](g[_0x11439a(0x315)]['id'],{'unitId':_0x47b199[_0x11439a(0x2ac)](),'subUnitId':_0x4edc20});}},exports[_0x3e6264(0x23e)]=Yt([F(0x0,Ee),F(0x1,a[_0x3e6264(0x388)]),F(0x2,a[_0x3e6264(0x39f)]),F(0x3,a[_0x3e6264(0x1f4)](u['DataLoaderService'])),F(0x4,a[_0x3e6264(0x1f8)](Ke[_0x3e6264(0x244)]))],exports[_0x3e6264(0x23e)]);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x2db6c0,_0x1bd2de,_0x525783,_0x142c18)=>{const _0xf96c49=_0x3e6264;for(var _0x574710=_0x142c18>0x1?void 0x0:_0x142c18?Vt(_0x1bd2de,_0x525783):_0x1bd2de,_0x2c2ac3=_0x2db6c0[_0xf96c49(0x26b)]-0x1,_0x3a2cbe;_0x2c2ac3>=0x0;_0x2c2ac3--)(_0x3a2cbe=_0x2db6c0[_0x2c2ac3])&&(_0x574710=_0x3a2cbe(_0x574710)||_0x574710);return _0x574710;},le=(_0x10def4,_0x478735)=>(_0x5c7df3,_0x2228f5)=>_0x478735(_0x5c7df3,_0x2228f5,_0x10def4);let J=class{constructor(_0x40ed4c,_0xc0b608,_0x41f156){const _0xf5de3c=_0x3e6264;this['_injector']=_0x40ed4c,this['_transformService']=_0xc0b608,this[_0xf5de3c(0x348)]=_0x41f156;}[_0x3e6264(0x34b)](_0x48568f){const _0x271a27=_0x3e6264;this[_0x271a27(0x2b2)](_0x48568f),this[_0x271a27(0x193)](_0x48568f);}[_0x3e6264(0x28c)](_0x120504){const _0x2582f4=_0x3e6264,{unitID:_0x44e05c}=_0x120504,_0x5c851a=this[_0x2582f4(0x348)][_0x2582f4(0x1f1)](_0x44e05c)[_0x2582f4(0x2a3)](b['DocIMEInputManagerService']),{redoCache:_0x386eb3}=_0x5c851a['getUndoRedoMutationParamsCache']();if(_0x386eb3[_0x2582f4(0x26b)]===0x0)return _0x120504;let _0x4d0741=a['Tools'][_0x2582f4(0x19b)](_0x120504[_0x2582f4(0x233)][0x0]);for(let _0x20690a=0x0;_0x20690a<_0x386eb3[_0x2582f4(0x26b)];_0x20690a++){const _0x4f8786={'id':_0x2582f4(0x2e7),'params':{..._0x386eb3[_0x20690a]}},_0x323e0d=this['_transformService'][_0x2582f4(0x2af)](_0x4d0741,_0x4f8786,!0x1);if(m[_0x2582f4(0x186)](_0x323e0d))throw _0x323e0d[_0x2582f4(0x328)];_0x4d0741=_0x323e0d[_0x2582f4(0x311)];}return{...a['Tools'][_0x2582f4(0x19b)](_0x120504),'mutations':[_0x4d0741]};}[_0x3e6264(0x2b2)](_0x1c048a){const _0x28bca3=_0x3e6264,{unitID:_0x5a6280}=_0x1c048a,_0x2af8e0=this[_0x28bca3(0x348)][_0x28bca3(0x1f1)](_0x5a6280)[_0x28bca3(0x2a3)](b['DocIMEInputManagerService']),{undoCache:_0x29daa6,redoCache:_0x22363b}=_0x2af8e0[_0x28bca3(0x355)]();if(_0x29daa6[_0x28bca3(0x26b)]===0x0||_0x22363b[_0x28bca3(0x26b)]===0x0)return;const _0x4b229f=[],_0xb8e995=[];let _0x48c528=a[_0x28bca3(0x336)]['deepClone'](_0x1c048a[_0x28bca3(0x233)][0x0]),_0x159ffa=a[_0x28bca3(0x336)][_0x28bca3(0x19b)](_0x1c048a[_0x28bca3(0x233)][0x0]);for(let _0x3ce90a=_0x29daa6[_0x28bca3(0x26b)]-0x1;_0x3ce90a>=0x0;_0x3ce90a--){const _0x332d18={'id':_0x28bca3(0x2e7),'params':{..._0x29daa6[_0x3ce90a]}},_0x39cc82={'id':_0x28bca3(0x2e7),'params':{..._0x22363b[_0x3ce90a]}},_0x320a99=this['_transformService'][_0x28bca3(0x2af)](_0x48c528,_0x332d18,!0x1),_0x98dbef=this[_0x28bca3(0x191)][_0x28bca3(0x2af)](_0x159ffa,_0x39cc82,!0x1);if(m[_0x28bca3(0x186)](_0x320a99))throw _0x320a99[_0x28bca3(0x328)];if(m['isTransformMutationFailure'](_0x98dbef))throw _0x98dbef[_0x28bca3(0x328)];_0x4b229f['unshift'](_0x320a99['m2Prime'][_0x28bca3(0x2d9)]),_0xb8e995[_0x28bca3(0x160)](_0x98dbef[_0x28bca3(0x203)][_0x28bca3(0x2d9)]),_0x48c528=_0x320a99[_0x28bca3(0x311)],_0x159ffa=_0x98dbef[_0x28bca3(0x311)];}_0x2af8e0['setUndoRedoMutationParamsCache']({'undoCache':_0x4b229f,'redoCache':_0xb8e995});}[_0x3e6264(0x193)](_0x38df3f){const _0x2933b8=_0x3e6264,{unitID:_0x50b74c}=_0x38df3f,_0x15848a=this[_0x2933b8(0x348)][_0x2933b8(0x1f1)](_0x50b74c)[_0x2933b8(0x2a3)](b['DocIMEInputManagerService']),_0x437539=_0x15848a['getActiveRange']();if(_0x437539==null)return;const _0x4077ab=[{'id':_0x2933b8(0x2e7),'params':{'unitId':_0x38df3f[_0x2933b8(0x255)],'actions':null,'textRanges':[_0x437539]}}],_0x286302=this['_transformService']['transformMutationsWithChangeset'](_0x38df3f,_0x4077ab);if(!m[_0x2933b8(0x1aa)](_0x286302))throw _0x286302[_0x2933b8(0x328)];const _0x42bee0=_0x286302[_0x2933b8(0x203)][0x0][_0x2933b8(0x2d9)][_0x2933b8(0x22c)];Array[_0x2933b8(0x307)](_0x42bee0)&&_0x42bee0[_0x2933b8(0x26b)]&&_0x15848a[_0x2933b8(0x2d3)](_0x42bee0[0x0]);}};J=Xt([le(0x0,a[_0x3e6264(0x1f4)](a[_0x3e6264(0x37d)])),le(0x1,m[_0x3e6264(0x278)]),le(0x2,p['IRenderManagerService'])],J);var Gt=Object['getOwnPropertyDescriptor'],qt=(_0x11b153,_0x370fdf,_0x5a8106,_0x348b62)=>{const _0xeadaa4=_0x3e6264;for(var _0x1c854f=_0x348b62>0x1?void 0x0:_0x348b62?Gt(_0x370fdf,_0x5a8106):_0x370fdf,_0x22345f=_0x11b153[_0xeadaa4(0x26b)]-0x1,_0x1e4bd9;_0x22345f>=0x0;_0x22345f--)(_0x1e4bd9=_0x11b153[_0x22345f])&&(_0x1c854f=_0x1e4bd9(_0x1c854f)||_0x1c854f);return _0x1c854f;},_e=(_0x50d7f7,_0x18f32e)=>(_0x5c1815,_0x23c942)=>_0x18f32e(_0x5c1815,_0x23c942,_0x50d7f7);let Z=class{constructor(_0x5add12,_0x479545,_0x4854bf){const _0x59c9f0=_0x3e6264;this[_0x59c9f0(0x1eb)]=_0x5add12,this[_0x59c9f0(0x191)]=_0x479545,this['_docStateChangeManagerService']=_0x4854bf;}[_0x3e6264(0x167)](_0x1034fe){const _0x57c6ab=_0x3e6264;this[_0x57c6ab(0x222)](_0x1034fe);}[_0x3e6264(0x28c)](_0x200851){const _0x4d3ab2=_0x3e6264,{unitID:_0x3f112c}=_0x200851,{collaboration:_0x178845}=this[_0x4d3ab2(0x19f)][_0x4d3ab2(0x28b)](_0x3f112c);if(_0x178845[_0x4d3ab2(0x26b)]===0x0)return _0x200851;let _0x13b3e0=a[_0x4d3ab2(0x336)][_0x4d3ab2(0x19b)](_0x200851['mutations'][0x0]);for(let _0x32b126=0x0;_0x32b126<_0x178845[_0x4d3ab2(0x26b)];_0x32b126++){const _0x526254={'id':_0x4d3ab2(0x2e7),'params':{'unitId':_0x178845[_0x32b126]['unitId'],..._0x178845[_0x32b126][_0x4d3ab2(0x20b)]}},_0x3b6eb9=this[_0x4d3ab2(0x191)][_0x4d3ab2(0x2af)](_0x13b3e0,_0x526254,!0x1);if(m[_0x4d3ab2(0x186)](_0x3b6eb9))throw _0x3b6eb9[_0x4d3ab2(0x328)];_0x13b3e0=_0x3b6eb9[_0x4d3ab2(0x311)];}return{...a[_0x4d3ab2(0x336)][_0x4d3ab2(0x19b)](_0x200851),'mutations':[_0x13b3e0]};}[_0x3e6264(0x222)](_0x368b18){const _0x18ccc8=_0x3e6264,{unitID:_0x5090e0}=_0x368b18,{history:_0x2804e0,collaboration:_0x2db443}=this[_0x18ccc8(0x19f)][_0x18ccc8(0x28b)](_0x5090e0);if(_0x2804e0[_0x18ccc8(0x26b)]===0x0&&_0x2db443[_0x18ccc8(0x26b)]===0x0)return;const _0x48062a=[],_0x100da7=[];let _0x529a73=a[_0x18ccc8(0x336)][_0x18ccc8(0x19b)](_0x368b18[_0x18ccc8(0x233)][0x0]),_0x3407a0=a[_0x18ccc8(0x336)]['deepClone'](_0x368b18[_0x18ccc8(0x233)][0x0]);for(let _0x3c3ecb=_0x2804e0[_0x18ccc8(0x26b)]-0x1;_0x3c3ecb>=0x0;_0x3c3ecb--){const _0x42299d={'id':_0x18ccc8(0x2e7),'params':{'unitId':_0x2804e0[_0x3c3ecb]['unitId'],..._0x2804e0[_0x3c3ecb][_0x18ccc8(0x3ad)]}},_0x179648={'id':_0x18ccc8(0x2e7),'params':{'unitId':_0x2804e0[_0x3c3ecb][_0x18ccc8(0x358)],..._0x2804e0[_0x3c3ecb][_0x18ccc8(0x20b)]}},_0x1b2e8f=this['_transformService']['transformMutation'](_0x529a73,_0x42299d,!0x1),_0x52e6df=this[_0x18ccc8(0x191)]['transformMutation'](_0x3407a0,_0x179648,!0x1);if(m['isTransformMutationFailure'](_0x1b2e8f))throw _0x1b2e8f[_0x18ccc8(0x328)];if(m[_0x18ccc8(0x186)](_0x52e6df))throw _0x52e6df[_0x18ccc8(0x328)];_0x48062a[_0x18ccc8(0x160)]({..._0x2804e0[_0x3c3ecb],'undoState':_0x1b2e8f[_0x18ccc8(0x203)][_0x18ccc8(0x2d9)],'redoState':_0x52e6df['m2Prime']['params']}),_0x529a73=_0x1b2e8f['m1Prime'],_0x3407a0=_0x52e6df[_0x18ccc8(0x311)];}_0x529a73=a['Tools'][_0x18ccc8(0x19b)](_0x368b18['mutations'][0x0]),_0x3407a0=a[_0x18ccc8(0x336)]['deepClone'](_0x368b18[_0x18ccc8(0x233)][0x0]);for(let _0x5ebf59=_0x2db443[_0x18ccc8(0x26b)]-0x1;_0x5ebf59>=0x0;_0x5ebf59--){const _0x5886c2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2db443[_0x5ebf59]['unitId'],..._0x2db443[_0x5ebf59][_0x18ccc8(0x3ad)]}},_0x3fb768={'id':_0x18ccc8(0x2e7),'params':{'unitId':_0x2db443[_0x5ebf59]['unitId'],..._0x2db443[_0x5ebf59]['redoState']}},_0x4f633c=this[_0x18ccc8(0x191)][_0x18ccc8(0x2af)](_0x529a73,_0x5886c2,!0x1),_0x4312ec=this[_0x18ccc8(0x191)][_0x18ccc8(0x2af)](_0x3407a0,_0x3fb768,!0x1);if(m[_0x18ccc8(0x186)](_0x4f633c))throw _0x4f633c[_0x18ccc8(0x328)];if(m[_0x18ccc8(0x186)](_0x4312ec))throw _0x4312ec[_0x18ccc8(0x328)];_0x100da7[_0x18ccc8(0x160)]({..._0x2db443[_0x5ebf59],'undoState':_0x4f633c[_0x18ccc8(0x203)]['params'],'redoState':_0x4312ec[_0x18ccc8(0x203)][_0x18ccc8(0x2d9)]}),_0x529a73=_0x4f633c[_0x18ccc8(0x311)],_0x3407a0=_0x4312ec[_0x18ccc8(0x311)];}this[_0x18ccc8(0x19f)]['setStateCache'](_0x5090e0,{'history':_0x48062a,'collaboration':_0x100da7});}};Z=qt([_e(0x0,a[_0x3e6264(0x1f4)](a[_0x3e6264(0x37d)])),_e(0x1,m[_0x3e6264(0x278)]),_e(0x2,a[_0x3e6264(0x1f4)](b[_0x3e6264(0x219)]))],Z);var Kt=Object[_0x3e6264(0x2f9)],zt=(_0x10770d,_0x1d9eef,_0x5a7181,_0x1740ec)=>{const _0x2357e7=_0x3e6264;for(var _0x51cb7f=_0x1740ec>0x1?void 0x0:_0x1740ec?Kt(_0x1d9eef,_0x5a7181):_0x1d9eef,_0xf5c8bd=_0x10770d[_0x2357e7(0x26b)]-0x1,_0x1b7b38;_0xf5c8bd>=0x0;_0xf5c8bd--)(_0x1b7b38=_0x10770d[_0xf5c8bd])&&(_0x51cb7f=_0x1b7b38(_0x51cb7f)||_0x51cb7f);return _0x51cb7f;},Me=(_0x37d615,_0x2c7099)=>(_0x1625f4,_0x184d07)=>_0x2c7099(_0x1625f4,_0x184d07,_0x37d615);let Q=class{constructor(_0x3ec647,_0x1ff47a){const _0x14ed63=_0x3e6264;this['_injector']=_0x3ec647,this[_0x14ed63(0x191)]=_0x1ff47a;}['transformSelections'](_0x124b48){const _0x4337bf=_0x3e6264;var _0x451f3f;const _0x50b657=this[_0x4337bf(0x1eb)][_0x4337bf(0x320)](Y[_0x4337bf(0x35a)]),_0x24d799=(_0x451f3f=_0x50b657['getDocRanges']())!=null?_0x451f3f:[];if(_0x24d799['length']===0x0)return;const _0x433d61=_0x124b48['unitID'],_0x1def5b=[{'id':_0x4337bf(0x2e7),'params':{'unitId':_0x433d61,'actions':null,'textRanges':_0x24d799}}],_0x3f8f66=this['_transformService'][_0x4337bf(0x34f)](_0x124b48,_0x1def5b);if(!m[_0x4337bf(0x1aa)](_0x3f8f66))throw _0x3f8f66['error'];const _0x6af180=_0x3f8f66[_0x4337bf(0x203)][0x0]['params'][_0x4337bf(0x22c)];Array[_0x4337bf(0x307)](_0x6af180)&&_0x6af180['length']&&_0x50b657[_0x4337bf(0x288)](_0x6af180,{'unitId':_0x433d61,'subUnitId':_0x433d61},!0x1);}};Q=zt([Me(0x0,a['Inject'](a[_0x3e6264(0x37d)])),Me(0x1,m['ITransformService'])],Q);var Jt=Object[_0x3e6264(0x2f9)],Zt=(_0xa8b3c4,_0x3c830b,_0x3a08fc,_0xde4076)=>{const _0x422dcc=_0x3e6264;for(var _0x21562c=_0xde4076>0x1?void 0x0:_0xde4076?Jt(_0x3c830b,_0x3a08fc):_0x3c830b,_0x3f7ebf=_0xa8b3c4[_0x422dcc(0x26b)]-0x1,_0x2b047f;_0x3f7ebf>=0x0;_0x3f7ebf--)(_0x2b047f=_0xa8b3c4[_0x3f7ebf])&&(_0x21562c=_0x2b047f(_0x21562c)||_0x21562c);return _0x21562c;},N=(_0xaee51b,_0x3fab59)=>(_0x72639b,_0xd9d21c)=>_0x3fab59(_0x72639b,_0xd9d21c,_0xaee51b);let ee=class extends a[_0x3e6264(0x2e5)]{constructor(_0x57cff7,_0x380578,_0x4f7ef4,_0x105e41,_0x5e9efe,_0x2ab377,_0x5389b2,_0x399e13){const _0x2b7675=_0x3e6264;super(),_(this,'_status$',new d[(_0x2b7675(0x2cc))](u['CollaborationStatus'][_0x2b7675(0x36a)])),(this[_0x2b7675(0x19f)]=_0x57cff7,this[_0x2b7675(0x327)]=_0x380578,this[_0x2b7675(0x387)]=_0x4f7ef4,this[_0x2b7675(0x3b3)]=_0x105e41,this[_0x2b7675(0x232)]=_0x5e9efe,this['_docSyncEditingCollabCursorService']=_0x2ab377,this[_0x2b7675(0x38e)]=_0x5389b2,this[_0x2b7675(0x14e)]=_0x399e13,this[_0x2b7675(0x27a)]());}['_initEntityListener'](){const _0x2fd00b=_0x3e6264;this['disposeWithMe'](this[_0x2fd00b(0x327)][_0x2fd00b(0x37a)][_0x2fd00b(0x349)](_0x358305=>{const _0x3daad8=_0x2fd00b,_0x77bd27=this[_0x3daad8(0x19f)]['docStateChange$'][_0x3daad8(0x349)](_0x3ed49a=>{const _0x42a1d2=_0x3daad8;if(_0x3ed49a==null)return;const {unitId:_0x49971f,redoState:_0x4e81fe,commandId:_0x12dd9b}=_0x3ed49a;if(_0x49971f!==_0x358305[_0x42a1d2(0x255)])return;const _0x92aac1={'id':_0x12dd9b,'type':a[_0x42a1d2(0x33b)][_0x42a1d2(0x1d1)],'params':{'unitId':_0x49971f,'actions':_0x4e81fe['actions'],'textRanges':null}};_0x358305[_0x42a1d2(0x366)](_0x92aac1);});if(_0x358305['disposeWithMe'](_0x77bd27),_0x358305 instanceof u[_0x3daad8(0x303)]){const _0x557568={'onTransformIME':_0xc5206d=>this['_docTransformIMECacheService'][_0x3daad8(0x34b)](_0xc5206d),'onTransformState':_0x245e79=>this[_0x3daad8(0x3b3)][_0x3daad8(0x167)](_0x245e79),'onTransformSelections':_0x352305=>this[_0x3daad8(0x232)][_0x3daad8(0x2c7)](_0x352305),'onSyncEditingCollabCursor':_0x31f180=>this[_0x3daad8(0x198)]['syncEditingCollabCursor'](_0x31f180),'onTransformRemoteChangesetByIMECache':_0x47fb42=>this['_docTransformIMECacheService'][_0x3daad8(0x28c)](_0x47fb42),'onTransformRemoteChangesetByStateCache':_0x36cecd=>this[_0x3daad8(0x3b3)]['transformRemoteChangeset'](_0x36cecd)};_0x358305[_0x3daad8(0x17e)](_0x557568);}}));}};ee=Zt([N(0x0,a[_0x3e6264(0x1f4)](b[_0x3e6264(0x219)])),N(0x1,a[_0x3e6264(0x1f4)](u[_0x3e6264(0x294)])),N(0x2,a[_0x3e6264(0x1f4)](J)),N(0x3,a[_0x3e6264(0x1f4)](Z)),N(0x4,a[_0x3e6264(0x1f4)](Q)),N(0x5,a['Inject'](pe)),N(0x6,O['IMessageService']),N(0x7,a['Inject'](a[_0x3e6264(0x213)]))],ee);var Qt=Object[_0x3e6264(0x2f9)],es=(_0x5a0566,_0x31795c,_0x60ee7,_0x52053b)=>{const _0x384b7c=_0x3e6264;for(var _0x3b0b68=_0x52053b>0x1?void 0x0:_0x52053b?Qt(_0x31795c,_0x60ee7):_0x31795c,_0x128284=_0x5a0566[_0x384b7c(0x26b)]-0x1,_0x1a168e;_0x128284>=0x0;_0x128284--)(_0x1a168e=_0x5a0566[_0x128284])&&(_0x3b0b68=_0x1a168e(_0x3b0b68)||_0x3b0b68);return _0x3b0b68;},he=(_0x839ebe,_0x2e910c)=>(_0x5d9446,_0x4d19e4)=>_0x2e910c(_0x5d9446,_0x4d19e4,_0x839ebe);let me=class extends a[_0x3e6264(0x2e5)]{constructor(_0xd595f4,_0x210b28,_0x141837){const _0x4bb41e=_0x3e6264;super(),_(this,_0x4bb41e(0x3bf),new Map()),_(this,_0x4bb41e(0x1d5),new Map()),_(this,_0x4bb41e(0x39a),!0x1),(this['_configService']=_0xd595f4,this[_0x4bb41e(0x3a1)]=_0x210b28,this[_0x4bb41e(0x1de)]=_0x141837);}[_0x3e6264(0x226)](){const _0x43c674=_0x3e6264;this[_0x43c674(0x39a)]=!0x0;}['enableLocalCache'](){const _0x397649=_0x3e6264;this[_0x397649(0x39a)]=!0x1;}get['saveTaskMap'](){const _0x1fce27=_0x3e6264;return this[_0x1fce27(0x1d5)];}[_0x3e6264(0x2b7)](){const _0x3a6b4a=_0x3e6264;this['exhaustSavingTask']()[_0x3a6b4a(0x2b1)](()=>super[_0x3a6b4a(0x2b7)]());}async[_0x3e6264(0x2c9)](_0x9e91e1){const _0x20d189=_0x3e6264;return this[_0x20d189(0x39a)]?null:this[_0x20d189(0x3a1)][_0x20d189(0x3c9)](u[_0x20d189(0x329)](_0x9e91e1));}async[_0x3e6264(0x299)](_0x120fc3,_0x3319bf){const _0x42b8cc=_0x3e6264;return!!this[_0x42b8cc(0x3a1)][_0x42b8cc(0x262)](_0x120fc3,_0x3319bf);}[_0x3e6264(0x1ab)](_0x103175,_0x4267c7,_0x116235,_0x468a7e){const _0x71520a=_0x3e6264,_0x3bfca2=this[_0x71520a(0x1de)][_0x71520a(0x189)](_0x103175);this[_0x71520a(0x3bf)]['set'](_0x103175,{'unitID':_0x103175,'type':_0x4267c7,'awaitingChangeset':_0x116235,'mutations':_0x468a7e,'rev':_0x3bfca2}),this['_saveTaskMap'][_0x71520a(0x1d0)](_0x103175)||this[_0x71520a(0x211)](_0x103175);}['_scheduleSaving'](_0x5141a0){const _0x373f6a=_0x3e6264,_0x996e72=this[_0x373f6a(0x351)]();_0x996e72===0x0?this['_saveCache'](_0x5141a0):this[_0x373f6a(0x1d5)]['set'](_0x5141a0,setTimeout(()=>this[_0x373f6a(0x1e1)](_0x5141a0),_0x996e72));}['_getSaveTimeout'](){const _0x2b0ef4=_0x3e6264;var _0x49e3b2;return(_0x49e3b2=this['_configService'][_0x2b0ef4(0x1cb)](u[_0x2b0ef4(0x15c)]))!=null?_0x49e3b2:u[_0x2b0ef4(0x2b0)];}['_saveCache'](_0x2a7133){const _0x1bfef6=_0x3e6264,_0x2fb550=this[_0x1bfef6(0x1d5)][_0x1bfef6(0x320)](_0x2a7133);return _0x2fb550!==void 0x0&&window[_0x1bfef6(0x3bc)](_0x2fb550),this[_0x1bfef6(0x3a1)][_0x1bfef6(0x262)](u[_0x1bfef6(0x329)](_0x2a7133),this['_cachedData'][_0x1bfef6(0x320)](_0x2a7133))[_0x1bfef6(0x2b1)](()=>this[_0x1bfef6(0x1d5)][_0x1bfef6(0x1fd)](_0x2a7133));}async[_0x3e6264(0x258)](){const _0x2bc692=_0x3e6264,_0x518762=[];this[_0x2bc692(0x1d5)][_0x2bc692(0x3c8)]((_0xe5124,_0x4068f8)=>{const _0x326c52=_0x2bc692;window[_0x326c52(0x3bc)](_0xe5124),_0x518762[_0x326c52(0x228)](this[_0x326c52(0x1e1)](_0x4068f8)[_0x326c52(0x2b1)](()=>{const _0xd14990=_0x326c52;this['_saveTaskMap'][_0xd14990(0x1fd)](_0x4068f8);}));}),await Promise['all'](_0x518762);}};me=es([he(0x0,a[_0x3e6264(0x2f6)]),he(0x1,a['ILocalStorageService']),he(0x2,a[_0x3e6264(0x1f4)](m[_0x3e6264(0x36f)]))],me);class Be extends a[_0x3e6264(0x38b)]{constructor(){const _0x1c7e03=_0x3e6264;super(),_(this,'urlChange$'),this[_0x1c7e03(0x399)]=d[_0x1c7e03(0x2e1)](window,'popstate')[_0x1c7e03(0x170)](d[_0x1c7e03(0x1b7)](this[_0x1c7e03(0x1c2)]),d[_0x1c7e03(0x242)](0x1),d['mapTo'](void 0x0));}['setParam'](_0x2152e6,_0x181af6,_0x12e1a5=!0x1){const _0x1e417a=_0x3e6264,_0x516e25=new URL(window[_0x1e417a(0x1e2)][_0x1e417a(0x30d)]);_0x516e25['searchParams']['set'](_0x2152e6,_0x181af6),_0x12e1a5?window[_0x1e417a(0x344)][_0x1e417a(0x3c7)]('','',_0x516e25[_0x1e417a(0x31d)]()):window['history'][_0x1e417a(0x20f)]('','',_0x516e25[_0x1e417a(0x31d)]());}[_0x3e6264(0x1b1)](_0x1c45ca,_0x181c77=!0x1){const _0x135475=_0x3e6264,_0x294a5d=new URL(window[_0x135475(0x1e2)]['href']);_0x294a5d[_0x135475(0x175)][_0x135475(0x1fd)](_0x1c45ca),_0x181c77?window[_0x135475(0x344)][_0x135475(0x3c7)]('','',_0x294a5d['toString']()):window[_0x135475(0x344)]['pushState']('','',_0x294a5d[_0x135475(0x31d)]());}[_0x3e6264(0x147)](_0x25a3c8){const _0x36c4bf=_0x3e6264;var _0x2f320e;return(_0x2f320e=new URL(window[_0x36c4bf(0x1e2)][_0x36c4bf(0x30d)])[_0x36c4bf(0x175)][_0x36c4bf(0x320)](_0x25a3c8))!=null?_0x2f320e:void 0x0;}}var ts=Object[_0x3e6264(0x1e0)],ss=Object[_0x3e6264(0x2f9)],ns=(_0x490ffe,_0x56d066,_0x3f4dce)=>_0x56d066 in _0x490ffe?ts(_0x490ffe,_0x56d066,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f4dce}):_0x490ffe[_0x56d066]=_0x3f4dce,is=(_0x3a6376,_0x4a3728,_0x29c6b4,_0x8d720b)=>{for(var _0x59d152=_0x8d720b>0x1?void 0x0:_0x8d720b?ss(_0x4a3728,_0x29c6b4):_0x4a3728,_0x1abda6=_0x3a6376['length']-0x1,_0x6fa324;_0x1abda6>=0x0;_0x1abda6--)(_0x6fa324=_0x3a6376[_0x1abda6])&&(_0x59d152=_0x6fa324(_0x59d152)||_0x59d152);return _0x59d152;},ue=(_0x2af7a8,_0x45c197)=>(_0x18b01c,_0x5a6698)=>_0x45c197(_0x18b01c,_0x5a6698,_0x2af7a8),rs=(_0x4753a4,_0x53ca2e,_0x53fe06)=>ns(_0x4753a4,_0x53ca2e+'',_0x53fe06);const os='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports[_0x3e6264(0x289)]=class extends a['Plugin']{constructor(_0x49115c=Ne,_0x170e05,_0x234d5b,_0x934ec2){const _0x3da77b=_0x3e6264;super(),this[_0x3da77b(0x281)]=_0x49115c,this['_renderManagerService']=_0x170e05,this[_0x3da77b(0x1eb)]=_0x234d5b,this[_0x3da77b(0x18a)]=_0x934ec2;const {..._0x57d4d9}=a['merge']({},Ne,this[_0x3da77b(0x281)]);this[_0x3da77b(0x18a)][_0x3da77b(0x216)](Ft,_0x57d4d9);}[_0x3e6264(0x1c4)](){const _0x4b1b88=_0x3e6264;this[_0x4b1b88(0x3b6)](),this[_0x4b1b88(0x212)]();}[_0x3e6264(0x155)](){const _0x26e487=_0x3e6264;this[_0x26e487(0x2c2)]();}[_0x3e6264(0x3b6)](){const _0x2d94d4=_0x3e6264;var _0x5aafac;const _0x2fc5e9=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':Be}],[q[_0x2d94d4(0x16c)],{'useClass':q['WebSocketService']}],[u[_0x2d94d4(0x1b0)],{'useClass':me}],[exports[_0x2d94d4(0x251)]],[ee],[z],[x],[fe],[exports[_0x2d94d4(0x23e)]]];a[_0x2d94d4(0x2f1)](this[_0x2d94d4(0x1eb)],a[_0x2d94d4(0x17b)](_0x2fc5e9,(_0x5aafac=this['_config'])==null?void 0x0:_0x5aafac[_0x2d94d4(0x3bd)]));}['_registerRenderDependencies'](){const _0x26e5ff=_0x3e6264;this[_0x26e5ff(0x337)](this[_0x26e5ff(0x348)][_0x26e5ff(0x21b)](a['UniverInstanceType'][_0x26e5ff(0x20e)],[ve])),this['disposeWithMe'](this[_0x26e5ff(0x348)]['registerRenderModule'](a[_0x26e5ff(0x359)]['UNIVER_SHEET'],[ge]));}[_0x3e6264(0x212)](){const _0x266cc2=_0x3e6264;a[_0x266cc2(0x23f)](this['_injector'],[[x],[exports['DesktopCollaborationStatusDisplayController']],[ee],[z],[exports[_0x266cc2(0x23e)]]]);}},rs(exports[_0x3e6264(0x289)],_0x3e6264(0x386),os),exports[_0x3e6264(0x289)]=is([a[_0x3e6264(0x295)](u[_0x3e6264(0x2f0)]),ue(0x1,p['IRenderManagerService']),ue(0x2,a[_0x3e6264(0x1f4)](a[_0x3e6264(0x37d)])),ue(0x3,a[_0x3e6264(0x2f6)])],exports['UniverCollaborationClientUIPlugin']);var as=Object['getOwnPropertyDescriptor'],cs=(_0x3080ba,_0x18d9e4,_0x451e9b,_0x33366d)=>{const _0x4ab6a9=_0x3e6264;for(var _0x4b2286=_0x33366d>0x1?void 0x0:_0x33366d?as(_0x18d9e4,_0x451e9b):_0x18d9e4,_0xb98091=_0x3080ba[_0x4ab6a9(0x26b)]-0x1,_0x4f0e3c;_0xb98091>=0x0;_0xb98091--)(_0x4f0e3c=_0x3080ba[_0xb98091])&&(_0x4b2286=_0x4f0e3c(_0x4b2286)||_0x4b2286);return _0x4b2286;},W=(_0x4f5509,_0x19d3fd)=>(_0x108f39,_0x885608)=>_0x19d3fd(_0x108f39,_0x885608,_0x4f5509);exports[_0x3e6264(0x1ce)]=class extends u[_0x3e6264(0x298)]{constructor(_0x196e60,_0xb1545c,_0x20e9d4,_0x23f741,_0x432fad){super(_0x196e60,_0xb1545c,_0x20e9d4,_0x23f741,_0x432fad);}async['createSocket'](_0xdc1c11){const _0x2a3b43=_0x3e6264,_0x2bb211=await this[_0x2a3b43(0x2ee)](),_0x2c81a3=this[_0x2a3b43(0x16d)](_0xdc1c11,_0x2bb211);return this[_0x2a3b43(0x37b)](_0x2c81a3);}[_0x3e6264(0x16d)](_0x33a18a,_0x399d5a){const _0x5b37fb=_0x3e6264,_0x168224=typeof window>'u'?new URL(_0x33a18a):new URL(_0x33a18a,window[_0x5b37fb(0x1e2)][_0x5b37fb(0x2fb)]);_0x168224['searchParams'][_0x5b37fb(0x2a6)](_0x5b37fb(0x370),_0x399d5a);const _0x55edf0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5b37fb(0x1e2)][_0x5b37fb(0x37c)]);return _0x55edf0[_0x5b37fb(0x320)]('runId')&&_0x168224[_0x5b37fb(0x175)]['set'](_0x5b37fb(0x15d),_0x55edf0['get'](_0x5b37fb(0x15d))),_0x168224[_0x5b37fb(0x31d)]();}async['_getSessionTicket'](){const _0x1622d3=_0x3e6264;var _0x1bea11,_0xa56cd5,_0x153e87;const _0x4b7713=this[_0x1622d3(0x18a)]['getConfig'](u[_0x1622d3(0x28d)]),_0xcaf9b3=(_0x1bea11=_0x4b7713==null?void 0x0:_0x4b7713[_0x1622d3(0x14a)])!=null?_0x1bea11:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x153e87=(_0xa56cd5=(await this[_0x1622d3(0x3b1)]['get'](_0xcaf9b3,{'headers':{'Content-Type':_0x1622d3(0x201)}}))[_0x1622d3(0x149)])==null?void 0x0:_0xa56cd5[_0x1622d3(0x24d)])!=null?_0x153e87:'';}},exports[_0x3e6264(0x1ce)]=cs([W(0x0,a[_0x3e6264(0x1f4)](a[_0x3e6264(0x37d)])),W(0x1,a[_0x3e6264(0x1f4)](q[_0x3e6264(0x34c)])),W(0x2,a[_0x3e6264(0x2f6)]),W(0x3,a[_0x3e6264(0x388)]),W(0x4,m[_0x3e6264(0x1ef)])],exports[_0x3e6264(0x1ce)]);const Le=0x7530,Pe=_0x3e6264(0x3a6);function _0x4b4f(){const _0x2485e6=['INVALID_INVITE_CODE','Tools','disposeWithMe','Module','InsertRowCommandId','type','CommandType','isEditing','BuiltInUIPart','Failed','name','getOffsetConfig','_initStatusListener','_handleJoinEvent','_removeCollabCursors','history','_shapes','RemoveColCommandId','idSuffix','_renderManagerService','subscribe','78095mtZAFI','transformIMECache','HTTPService','endRow','url(#$1','transformMutationsWithChangeset','IImageIoService','_getSaveTimeout','SUBMIT_CHANGESET_TIMEOUT','_collabCursorController','save','getUndoRedoMutationParamsCache','_drawRectRange','eventID','unitId','UniverInstanceType','DocSelectionManagerService','YUUMI_URL_COL_OUT_OF_RANGE','defs','xlink:href','9QAlVVa','collabStatus.fetchMiss','next','jiqing500','_updateCollabCursors','@univerjs/sheets','APPLY_NON_SEQUENTIAL_REVISION','_scheduleHeartbeat','onLocalMutation','getDocRanges','UniverIcon','@univerjs/docs-ui','NOT_COLLAB','RemoveRowCommandId','fill','M0\x200H16V16H0z','_roomMembers$','RevisionService','sessionTicket','_instanceService','use','displayName','onCommandExecuted','assignAColorForMemberID','collabCursorState$','_refreshCollabCursors','SheetCollabCursorShape','_setupSubUnitSync','entityInit$','_doCreateSocket','search','Injector','toStringTag','_uiPartsService','_startSheetCollabCursor','ColorKit','none','_cursors','getOwnPropertySymbols','univer-online-status','pluginName','_docTransformIMECacheService','ILogService','APPLY_REJECT','round','RxDisposable','text','throttleTime','_messageService','2783583wTYzxu','startColumn','_anchorDot','WebURLService','MOBILE_HAS_BEEN_BOUND','unsubscribe','getSheetObject','min','_range','subscribeEvent','urlChange$','_disabled','getUnitStatus$','extend','_unitStatus','_send','ICommandService','_sheetSkeletonManagerService','_localStorageService','_updateLocalCursor','_entities','_urlService','onMouseMove','ACTIVE_UNIT_EVENT_CHANNEL','on-line-single','NO_OTHER_CLIENTS_EDITING','gold400','toRgbString','2YwkHOz','APPLY_DUPLICATED','undoState','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DisposableCollection','_themeService','_httpService','_entityInit$','_docTransformStateCacheService','on-line-single_clip0_910_349','_syncEditingCollabCursorService','_registerDependencies','generateRandomId','string','currentSkeleton$','useObservable','purple300','clearTimeout','override','prototype','_cachedData','_localCacheService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','sheetID','[CollaborationDataLoaderController]','contains','EMAIL_HAS_BEEN_BOUND','OnLineSingle','replaceState','forEach','getItem','jsxs','concat','clearInterval','width','resize','_status$','collab-text-range-','_init','UNAUTHENTICATED','WECHAT_HAS_BEEN_BOUND','getMemberID','selections','getVpScrollXYInfoByPosToVp','currentColor','some','getParam','runOnServer','body','wsSessionTicketUrl','measureText','flatMap','YUUMI_UNABLE_LOAD_URL','_localeService','1231273KSXlHi','Unknown\x20user','_anchor','_lastPointer','collabStatus.offline','createInstance','onRendered','className','subunit','distinctUntilChanged','createIdentifier','findNodePositionByCharIndex','onPointerLeave$','LOCAL_CACHE_INTERVAL_KEY','runId','getSheetBySheetId','ENSURE_SNAPSHOT_EXECUTION','unshift','_removeClearOtherTimer','Rect','addObject','runRefRangeMutations','hide','imageSourceType','transformStateCache','backgroundColor','getTypeOfUnitAdded$','2234342FissSA','collaboration-client.offline-data-not-saved','ISocketService','_createSocketURL','getCoordByCell','subUnitId','pipe','tag','UPDATE_CURSOR','univerjs-icon\x20univerjs-icon-','off-line-single_clip0_910_343','searchParams','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_document','_drawAnchor','LOGIN_FAILED','LICENSE_DISTRO_REJECTED','mergeOverrideWithDependencies','onPointerMove$','_docSkeleton','addHandlerCallback','size','@univerjs/network','values','from','engine','svg','APPLY_PERMISSION_DENIED','isTransformMutationFailure','roomMembers','_initCommandExecutedListener','getCurrentRevOfUnit','_configService','NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','univer-online','debug','parse','getSkeleton','_transformService','CollaborationEvent','_transformPreviousActiveRange','OTHER_CLIENTS_EDITING','getFocusedUnit','collaboration.closeRoom','complete','_docSyncEditingCollabCursorService','getTypeOfUnitDisposed$','_notificationService','deepClone','_dataLoaderService','_docSkeletonManagerService','NodePositionConvertToCursor','_docStateChangeManagerService','roomMembers$','hasOwnProperty','0\x200\x2017\x2016','INVALID_ARGUMENT','labelPosition','univer-online-status-title','36FBxDqH','attrs','RichTextEditingMutation','_eventUnsubscribe','isTransformMutationsWithChangesetSuccess','updateOfflineData','handleMoveRange','SNAPSHOT_HAS_BEEN_REMOVED','0\x200\x2016\x2016','univer-online-status-icon','ILocalCacheService','removeParam','DeleteRangeMoveLeftCommandId','@univerjs/sheets-ui','FETCH_MISS','random','UNIVER_SHEET','takeUntil','3949016TiTZtO','CollaborationStatus','INTERNAL_ERROR','indexOf','_onCursorDelete','translate(.97)','UNDEFINED','focused$','CONFLICT','_context','dispose$','SessionStatus','onStarting','propertyIsEnumerable','RefRangeService','split','show','RemoteUniscriptService','_scene','getConfig','apply','ALREADY_EXISTS','BrowserCollaborationSocketService','registerBeforeClose','has','MUTATION','getCellPositionByOffset','_toggleOffline','getViewport','_saveTaskMap','ONLINE','_selfUnitIDs','_render','12bwvTiV','_getScale','cursorInfo$','useDependency','INVITE_CODE_HAS_BEEN_UES','_revisionService','handleInsertRangeMoveRight','defineProperty','_saveCache','location','_clearOtherTimers','INotificationService','defIds','map','_scheduleClearOtherTimer','4788931kfOiFW','merge','PERMISSION_DENIED','_injector','handleDeleteRangeMoveLeft','CollaborationStatusDisplay','MemberService','ISnapshotServerService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getRenderById','startsWith','RegularPolygon','Inject','_draw','@univerjs/engine-render','#fff','Optional','selection','CollaborationUIEventService','VIEW_MAIN','activeSheet$','delete','PENDING','_collabCursorState$','AWAITING','application/json','HEADER_MENU','m2Prime','_hideTimer','...','UnitStatus','sheetId','SYNCED','addEventListener','480400euXECa','redoState','_colorAssignService','red300','UNIVER_DOC','pushState','MoveRangeCommandId','_scheduleSaving','_initDependencies','LocaleService','transform','lineTo','setConfig','collaboration-client-ui.config','setParam','DocStateChangeManagerService','CONNECTOR_DATA_TOO_LARGE','registerRenderModule','getValue','getCollabEntity$','Workbook','rxjs','Tooltip','IDocClipboardService','_transformHistoryAndStateStack','INVITE_CODE_ALREADY_BOUND','_hovered','IUIPartsService','disableLocalCache','@univerjs/docs','push','add','url(#off-line-single_clip0_910_343)','isActive','textRanges','invokeId','toDisposable','@univerjs/rpc','@univerjs/engine-formula','current','_docTransformSelectionsService','mutations','offline','symbol','_collaborationUIEventService','rgba(255,\x20255,\x20255,\x200.01)','assign','SheetSkeletonManagerService','cursorInfo','source','IURLService','executeCommand','CollaborationDataLoaderController','touchDependencies','currentTheme$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','shareReplay','UNRECOGNIZED','IRemoteInstanceService','storage','filter','requireSession','1em','univer-offline','permission.content','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','getCurrentSelections','ticket','[RemoteUniscriptService]:\x20no\x20focused\x20unit','max','call','DesktopCollaborationStatusDisplayController','_handleHover','getAncestorScale','react/jsx-runtime','unitID','init','top','exhaustSavingTask','_cursorShapes','TEXT','function','setTimeout','ranges','send','_logService','DOC_RANGE_TYPE','USERS_LEAVE','setItem','_unitOnClients','_initStatusComponent','_cursorInfo$','jsx','@univerjs/drawing','ThemeService','RECT','IUniverInstanceService','length','OFFLINE','serializeRangeWithSheet','JOIN_ROOM_FAILED','unload','clsx','_labelPosition','getMember','endColumn','CollaborationUIEventId','_hover','COMPLETION_FINISHED','_commandService','ITransformService','collaboration.single-unit.warning','_initEntityListener','unit','_ensureSubject','getRelativeToViewportCoord','data','SheetsSelectionsService','startRow','_config','INVITE_CODE_REQUIRED','Warning','InsertRangeMoveDownCommandId','OffLineSingle','getActiveSheet','_beforeCloseService','replaceDocRanges','UniverCollaborationClientUIPlugin','TOO_MANY_REQUESTS','getStateCache','transformRemoteChangeset','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_online','handleDeleteRangeMoveUp','getSheetId','stringify','getCurrentUnitForType','_session','CollaborationController','DependentOn','@univerjs/design','_backgroundColor','CollaborationSocketService','saveOfflineData','evenodd','TEXT_RANGE_LAYER_INDEX','children','SetDocZoomRatioOperation','_onCursorUpdate','restore','result','combineLatest','registerRefRange','with','beginPath','_handleHeartbeatEvent','set','DocSkeletonManagerService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_docClipboardService','colorChannel1','SNAPSHOT_INVALID_SNAPSHOT','getUnitId','_color','IBeforeCloseService','transformMutation','LOCAL_CACHE_INTERVAL','then','_transformUndoRedoStack','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','collabStatus.syncing','_handleLeaveEvent','loadUnit','dispose','YUUMI_ASYNCIO_CANCELLED','onlineStatusTitle','syncEditingCollabCursor','@univerjs/core','moveTo','path','forwardRef','setShapeProps','_refRangeService','_drawTextRange','_registerRenderDependencies','deserializeRangeWithSheet','makeDirty','drawWith','_imageIoService','transformSelections','icon','loadOfflineData','@univerjs-pro/collaboration','black','BehaviorSubject','createElement','Rectangle','column','onTransformChange$','trim','range','setActiveRange','debounce','color','closePath','LICENSE_MAX_UNITS_EXCEEDED','sessionStatus$','params','handleInsertRangeMoveDown','getColor','_updateURLWithCurrentState','collab-client.tooltip.reconnect','YUUMI_RATE_OVER_LIMIT','_cursor','Error','fromEvent','MessageType','_univerInstanceService','connectInjector','Disposable','_toggleOnline','doc.mutation.rich-text-editing','OTHER_CLIENT_EDITING','_memberService','_colorIndex','replace','_getMergeRange','YUUMI_NO_CUBOID_FOR_QUESTION','_getSessionTicket','LICENSE_IMPORT_SIZE_EXCEEDED','UniverCollaborationClientPlugin','registerDependencies','session.collaboration-timeout','Vector2','newValue','_getAnchorBounding','IConfigService','_startDocCollabCursor','editingUnit','getOwnPropertyDescriptor','entries','origin','SHEET_VIEWPORT_KEY','div','SOCKET_FAILED_RETRY','@univerjs/ui','disposeUnit','asObservable','_collabSessionService','DocCollaborationEntity','fillStyle','APPLY_REVISION_CONFILICT','event$','isArray','YUUMI_SUBSCRIPTION_NOT_FOUND','getCollabCursors$','univer-flex\x20univer-items-center','find','status$','href','addClipboardHook','uni.network.url-service','_heartbeatTimer','m1Prime','blue400','SetSelectionsOperation','260Oseeyk','SetWorksheetActivateCommand','Shape','switchMap','EffectRefRangId','handleIRemoveCol','Subject','_assignedColors','LICENSE_EXPORT_SIZE_EXCEEDED','toString','_getSheetObject','_onRefRangeChange','get','fromEventSubject','WebBrowserSingleActiveUnitService','collabStatus.notCollab','_textBubble','arc','_name','_collaborationController','error','getLocalCacheKey','COLORS','CollaborationSessionService','_id','mask','debounceTime','onPointerEnter$','SetTextSelectionsOperation','_updateSubUnitFromURLParams','CHANGESET_REVISION_CONFILICT','includes','row'];_0x4b4f=function(){return _0x2485e6;};return _0x4b4f();}class ls extends a[_0x3e6264(0x2e5)]{constructor(){const _0x1da919=_0x3e6264;super(),_(this,'_id',a[_0x1da919(0x3b7)]()),_(this,_0x1da919(0x1d7),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x1da919(0x310),null),_(this,_0x1da919(0x1e3),new Map()),_(this,_0x1da919(0x39d),new Map()),this['_init']();}['dispose'](){const _0x379d03=_0x3e6264;super[_0x379d03(0x2b7)](),this['_clearOtherTimers'][_0x379d03(0x3c8)]((_0x28a411,_0x4005c9)=>this['_removeClearOtherTimer'](_0x4005c9)),this[_0x379d03(0x310)]&&window[_0x379d03(0x3cc)](this[_0x379d03(0x310)]);}[_0x3e6264(0x39b)](_0x10d1ea){const _0x18a386=_0x3e6264;return this[_0x18a386(0x27c)](_0x10d1ea)[_0x18a386(0x170)](d[_0x18a386(0x158)]());}[_0x3e6264(0x2f8)](_0x5e6429){const _0x256b11=_0x3e6264;this[_0x256b11(0x1d7)]['size']===0x0&&this[_0x256b11(0x365)](),this['_selfUnitIDs'][_0x256b11(0x229)](_0x5e6429),this['_send']({'type':0x0,'memberID':this[_0x256b11(0x32c)],'unitIDs':[_0x5e6429],'isForwarded':!0x1});}[_0x3e6264(0x300)](_0x2ea5d1){const _0x195181=_0x3e6264;this[_0x195181(0x1d7)][_0x195181(0x1fd)](_0x2ea5d1),this[_0x195181(0x1d7)][_0x195181(0x17f)]===0x0&&this[_0x195181(0x310)]&&window[_0x195181(0x3cc)](this[_0x195181(0x310)]);}[_0x3e6264(0x3d1)](){const _0x194630=_0x3e6264;this[_0x194630(0x337)](a[_0x194630(0x22e)](d[_0x194630(0x2e1)](window,_0x194630(0x245))[_0x194630(0x349)](_0x56191d=>{const _0x1cbcad=_0x194630;if(_0x56191d['key']!==Pe||!_0x56191d[_0x1cbcad(0x2f4)])return;const _0x3781da=JSON[_0x1cbcad(0x18f)](_0x56191d[_0x1cbcad(0x2f4)]);this['_handleEvent'](_0x3781da);}))),window[_0x194630(0x209)](_0x194630(0x26f),()=>this[_0x194630(0x39e)]({'type':0x1,'memberID':this[_0x194630(0x32c)],'unitIDs':Array[_0x194630(0x182)](this[_0x194630(0x1d7)])}));}['_handleEvent'](_0x520532){const _0x2e3ed8=_0x3e6264;switch(_0x520532[_0x2e3ed8(0x33a)]){case 0x0:this[_0x2e3ed8(0x342)](_0x520532);break;case 0x1:this[_0x2e3ed8(0x2b5)](_0x520532);break;case 0x2:this['_handleHeartbeatEvent'](_0x520532);break;}}[_0x3e6264(0x342)](_0x428653){const _0x1ea932=_0x3e6264,{unitIDs:_0x45363c,memberID:_0x561fca,isForwarded:_0x584bd5}=_0x428653;_0x45363c[_0x1ea932(0x3c8)](_0x39787d=>{const _0x18185c=_0x1ea932;if(!_0x584bd5&&this[_0x18185c(0x263)][_0x18185c(0x1d0)](_0x39787d)&&this[_0x18185c(0x27c)](_0x39787d)[_0x18185c(0x360)](u[_0x18185c(0x206)][_0x18185c(0x194)]),!this[_0x18185c(0x263)][_0x18185c(0x1d0)](_0x39787d)||!this[_0x18185c(0x263)][_0x18185c(0x320)](_0x39787d)['has'](_0x561fca)){const _0x3ff208=this[_0x18185c(0x263)][_0x18185c(0x320)](_0x39787d)||new Set();_0x3ff208[_0x18185c(0x229)](_0x561fca),this[_0x18185c(0x263)][_0x18185c(0x2a6)](_0x39787d,_0x3ff208),this[_0x18185c(0x1e7)](_0x561fca);}}),_0x584bd5||this[_0x1ea932(0x39e)]({'type':0x0,'memberID':this[_0x1ea932(0x32c)],'unitIDs':[...this[_0x1ea932(0x1d7)]],'isForwarded':!0x0});}[_0x3e6264(0x1e7)](_0xe2ec06){const _0x239885=_0x3e6264;this[_0x239885(0x161)](_0xe2ec06);const _0x192892=window[_0x239885(0x25c)](()=>{const _0x2fa36b=_0x239885;this['_unitOnClients'][_0x2fa36b(0x3c8)](_0x4e5a85=>{const _0x15c1ee=_0x2fa36b;_0x4e5a85[_0x15c1ee(0x1fd)](_0xe2ec06);});},Le*0x2);this['_clearOtherTimers'][_0x239885(0x2a6)](_0xe2ec06,_0x192892);}[_0x3e6264(0x161)](_0x2f9aa0){const _0x162386=_0x3e6264;if(this[_0x162386(0x1e3)]['has'](_0x2f9aa0)){const _0x442a36=this[_0x162386(0x1e3)][_0x162386(0x320)](_0x2f9aa0);_0x442a36&&window['clearTimeout'](_0x442a36),this[_0x162386(0x1e3)][_0x162386(0x2a6)](_0x2f9aa0,null);}}[_0x3e6264(0x2b5)](_0x587240){const _0x3fb42b=_0x3e6264,{memberID:_0x18dba1,unitIDs:_0x213340}=_0x587240;_0x213340['forEach'](_0x57309e=>{const _0x2a8c7f=_0x5852;var _0x1ecfee;const _0x2ca1c5=this[_0x2a8c7f(0x263)]['get'](_0x57309e);_0x2ca1c5&&(_0x2ca1c5[_0x2a8c7f(0x1fd)](_0x18dba1),(_0x1ecfee=this[_0x2a8c7f(0x27c)](_0x57309e))==null||_0x1ecfee[_0x2a8c7f(0x360)](_0x2ca1c5[_0x2a8c7f(0x17f)]===0x0?u[_0x2a8c7f(0x206)][_0x2a8c7f(0x3a8)]:u['UnitStatus'][_0x2a8c7f(0x194)]));}),this[_0x3fb42b(0x161)](_0x18dba1);}[_0x3e6264(0x2a5)](_0x24f652){this['_scheduleClearOtherTimer'](_0x24f652['memberID']);}[_0x3e6264(0x39e)](_0x46d165){const _0x79a8ca=_0x3e6264;localStorage[_0x79a8ca(0x262)](Pe,JSON[_0x79a8ca(0x291)](_0x46d165));}[_0x3e6264(0x365)](){const _0x366c68=_0x3e6264;this[_0x366c68(0x310)]=window['setInterval'](()=>{const _0x158f9e=_0x366c68;this[_0x158f9e(0x39e)]({'type':0x2,'memberID':this[_0x158f9e(0x32c)]});},Le);}['_ensureSubject'](_0x5dc99e){const _0x3a4f46=_0x3e6264;return this[_0x3a4f46(0x39d)][_0x3a4f46(0x1d0)](_0x5dc99e)||this[_0x3a4f46(0x39d)][_0x3a4f46(0x2a6)](_0x5dc99e,new d[(_0x3a4f46(0x2cc))](u['UnitStatus'][_0x3a4f46(0x3a8)])),this[_0x3a4f46(0x39d)][_0x3a4f46(0x320)](_0x5dc99e);}}var ke=(_0x48e052=>(_0x48e052[_0x48e052[_0x3e6264(0x1be)]=0x0]='UNDEFINED',_0x48e052[_0x48e052['OK']=0x1]='OK',_0x48e052[_0x48e052[_0x3e6264(0x1ba)]=0x2]=_0x3e6264(0x1ba),_0x48e052[_0x48e052[_0x3e6264(0x1ea)]=0x3]=_0x3e6264(0x1ea),_0x48e052[_0x48e052[_0x3e6264(0x18b)]=0x4]=_0x3e6264(0x18b),_0x48e052[_0x48e052[_0x3e6264(0x3d2)]=0x5]=_0x3e6264(0x3d2),_0x48e052[_0x48e052[_0x3e6264(0x1cd)]=0x6]='ALREADY_EXISTS',_0x48e052[_0x48e052[_0x3e6264(0x1a3)]=0x7]=_0x3e6264(0x1a3),_0x48e052[_0x48e052[_0x3e6264(0x28a)]=0x8]=_0x3e6264(0x28a),_0x48e052[_0x48e052[_0x3e6264(0x276)]=0x9]=_0x3e6264(0x276),_0x48e052[_0x48e052['LOGIN_FAILED']=0xa]=_0x3e6264(0x179),_0x48e052[_0x48e052[_0x3e6264(0x332)]=0x1389]=_0x3e6264(0x332),_0x48e052[_0x48e052[_0x3e6264(0x2ab)]=0x1771]=_0x3e6264(0x2ab),_0x48e052[_0x48e052[_0x3e6264(0x1ad)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x48e052[_0x48e052[_0x3e6264(0x15f)]=0x1773]=_0x3e6264(0x15f),_0x48e052[_0x48e052[_0x3e6264(0x389)]=0x1b59]='APPLY_REJECT',_0x48e052[_0x48e052[_0x3e6264(0x364)]=0x1b5a]=_0x3e6264(0x364),_0x48e052[_0x48e052[_0x3e6264(0x305)]=0x1b5b]=_0x3e6264(0x305),_0x48e052[_0x48e052[_0x3e6264(0x185)]=0x1b5c]=_0x3e6264(0x185),_0x48e052[_0x48e052[_0x3e6264(0x3ac)]=0x1b5d]='APPLY_DUPLICATED',_0x48e052[_0x48e052[_0x3e6264(0x21a)]=0x1f41]=_0x3e6264(0x21a),_0x48e052[_0x48e052[_0x3e6264(0x2d7)]=0x2329]=_0x3e6264(0x2d7),_0x48e052[_0x48e052[_0x3e6264(0x1f0)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x48e052[_0x48e052[_0x3e6264(0x2ef)]=0x232b]=_0x3e6264(0x2ef),_0x48e052[_0x48e052[_0x3e6264(0x31c)]=0x232c]=_0x3e6264(0x31c),_0x48e052[_0x48e052[_0x3e6264(0x17a)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x48e052[_0x48e052['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3e6264(0x14d),_0x48e052[_0x48e052[_0x3e6264(0x35b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x48e052[_0x48e052[_0x3e6264(0x2de)]=0x2713]=_0x3e6264(0x2de),_0x48e052[_0x48e052[_0x3e6264(0x308)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x48e052[_0x48e052[_0x3e6264(0x2ed)]=0x271a]=_0x3e6264(0x2ed),_0x48e052[_0x48e052[_0x3e6264(0x2b8)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x48e052[_0x48e052[_0x3e6264(0x18c)]=0x2af9]=_0x3e6264(0x18c),_0x48e052[_0x48e052[_0x3e6264(0x1dd)]=0x2ee1]=_0x3e6264(0x1dd),_0x48e052[_0x48e052[_0x3e6264(0x335)]=0x2ee2]='INVALID_INVITE_CODE',_0x48e052[_0x48e052[_0x3e6264(0x282)]=0x2ee3]=_0x3e6264(0x282),_0x48e052[_0x48e052['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x48e052[_0x48e052[_0x3e6264(0x223)]=0x2ee5]=_0x3e6264(0x223),_0x48e052[_0x48e052[_0x3e6264(0x3d3)]=0x32c9]=_0x3e6264(0x3d3),_0x48e052[_0x48e052[_0x3e6264(0x393)]=0x32ca]=_0x3e6264(0x393),_0x48e052[_0x48e052[_0x3e6264(0x3c5)]=0x32cb]=_0x3e6264(0x3c5),_0x48e052[_0x48e052['UNRECOGNIZED']=-0x1]=_0x3e6264(0x243),_0x48e052))(ke||{}),_s=Object[_0x3e6264(0x2f9)],hs=(_0x5694ba,_0x4b4e0c,_0x378803,_0x43596b)=>{const _0x1d1891=_0x3e6264;for(var _0x7791f2=_0x43596b>0x1?void 0x0:_0x43596b?_s(_0x4b4e0c,_0x378803):_0x4b4e0c,_0xc38bde=_0x5694ba[_0x1d1891(0x26b)]-0x1,_0x516197;_0xc38bde>=0x0;_0xc38bde--)(_0x516197=_0x5694ba[_0xc38bde])&&(_0x7791f2=_0x516197(_0x7791f2)||_0x7791f2);return _0x7791f2;},de=(_0x13e525,_0x12ab6e)=>(_0x56990e,_0x5990a6)=>_0x12ab6e(_0x56990e,_0x5990a6,_0x13e525);exports[_0x3e6264(0x1c9)]=class extends a[_0x3e6264(0x2e5)]{constructor(_0x5e3e81,_0x288c4e,_0x5a4c1d){const _0x6a59b1=_0x3e6264;super(),this[_0x6a59b1(0x371)]=_0x5e3e81,this['_httpService']=_0x288c4e,this[_0x6a59b1(0x18a)]=_0x5a4c1d;}async[_0x3e6264(0x148)](_0x317b58,_0x2c1367,_0x36e4e5,..._0x4c8e0a){const _0x1c30f4=_0x3e6264;var _0x3fed8e,_0x568a49,_0xb2c734,_0x5e27fa;const _0x2b012b=this[_0x1c30f4(0x371)][_0x1c30f4(0x195)]();if(!_0x2b012b)throw new Error(_0x1c30f4(0x24e));const _0x2757ee=((_0x3fed8e=this[_0x1c30f4(0x18a)][_0x1c30f4(0x1cb)](u[_0x1c30f4(0x3ae)]))!=null?_0x3fed8e:u[_0x1c30f4(0x2a8)])+'/'+_0x317b58+'/run/'+_0x2c1367,_0x126837=new URL(window[_0x1c30f4(0x1e2)][_0x1c30f4(0x30d)]),_0x5d36c1={'scriptId':_0x317b58,'runId':(_0x568a49=_0x126837[_0x1c30f4(0x175)][_0x1c30f4(0x320)]('runId'))!=null?_0x568a49:'','function':_0x2c1367,'unitId':_0x2b012b[_0x1c30f4(0x2ac)](),'argsOfFunction':JSON['stringify'](_0x4c8e0a),'invokeId':(_0xb2c734=_0x36e4e5[_0x1c30f4(0x22d)])!=null?_0xb2c734:'','executionId':(_0x5e27fa=_0x36e4e5['executionId'])!=null?_0x5e27fa:''};try{const _0x3afd92=await this[_0x1c30f4(0x3b1)]['post'](_0x2757ee,{'body':_0x5d36c1});return _0x3afd92[_0x1c30f4(0x149)][_0x1c30f4(0x328)]&&_0x3afd92[_0x1c30f4(0x149)]['error']['code']!==ke['OK']?_0x1c30f4(0x33e):_0x3afd92[_0x1c30f4(0x149)][_0x1c30f4(0x2a0)];}catch{return _0x1c30f4(0x33e);}}},exports[_0x3e6264(0x1c9)]=hs([de(0x0,a['IUniverInstanceService']),de(0x1,a['Inject'](q[_0x3e6264(0x34c)])),de(0x2,a[_0x3e6264(0x2f6)])],exports['RemoteUniscriptService']),exports[_0x3e6264(0x1ed)]=je,exports[_0x3e6264(0x23c)]=Ee,exports[_0x3e6264(0x378)]=Ae,exports[_0x3e6264(0x322)]=ls,exports[_0x3e6264(0x392)]=Be;
1
+ 'use strict';const _0x5b8990=_0x18a2;(function(_0x2a78e6,_0x2307a8){const _0x41a609=_0x18a2,_0x1259ce=_0x2a78e6();while(!![]){try{const _0x430f2e=parseInt(_0x41a609(0x3be))/0x1*(parseInt(_0x41a609(0x180))/0x2)+parseInt(_0x41a609(0x1fc))/0x3+parseInt(_0x41a609(0x2c9))/0x4*(-parseInt(_0x41a609(0x1d6))/0x5)+parseInt(_0x41a609(0x38b))/0x6*(parseInt(_0x41a609(0x3ee))/0x7)+parseInt(_0x41a609(0x3b1))/0x8+-parseInt(_0x41a609(0x36f))/0x9+parseInt(_0x41a609(0x1da))/0xa;if(_0x430f2e===_0x2307a8)break;else _0x1259ce['push'](_0x1259ce['shift']());}catch(_0x1817cf){_0x1259ce['push'](_0x1259ce['shift']());}}}(_0x1f87,0x7e600));var Xe=Object[_0x5b8990(0x255)],Ge=(_0x569b6f,_0x2bc8b7,_0x553f26)=>_0x2bc8b7 in _0x569b6f?Xe(_0x569b6f,_0x2bc8b7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x553f26}):_0x569b6f[_0x2bc8b7]=_0x553f26,_=(_0x4d6e5d,_0x51410f,_0x3270a7)=>Ge(_0x4d6e5d,typeof _0x51410f!=_0x5b8990(0x2ce)?_0x51410f+'':_0x51410f,_0x3270a7);Object[_0x5b8990(0x255)](exports,Symbol['toStringTag'],{'value':'Module'});const u=require(_0x5b8990(0x351)),a=require(_0x5b8990(0x3ce)),p=require(_0x5b8990(0x330)),q=require(_0x5b8990(0x2ea)),b=require(_0x5b8990(0x359)),qe=require(_0x5b8990(0x1b5)),d=require(_0x5b8990(0x303)),Y=require(_0x5b8990(0x22e)),m=require(_0x5b8990(0x2a9)),Te=require(_0x5b8990(0x295)),g=require('@univerjs/sheets'),$=require(_0x5b8990(0x376)),G=require(_0x5b8990(0x391)),P=require(_0x5b8990(0x272)),O=require(_0x5b8990(0x313)),T=require(_0x5b8990(0x377)),M=require(_0x5b8990(0x3bc)),Ke=require(_0x5b8990(0x2e1));var ze=Object[_0x5b8990(0x184)],Je=(_0xe21a6d,_0x18a1db,_0x29b3a7,_0x168cb7)=>{for(var _0x3ee2cb=_0x168cb7>0x1?void 0x0:_0x168cb7?ze(_0x18a1db,_0x29b3a7):_0x18a1db,_0x2c1331=_0xe21a6d['length']-0x1,_0x4912a4;_0x2c1331>=0x0;_0x2c1331--)(_0x4912a4=_0xe21a6d[_0x2c1331])&&(_0x3ee2cb=_0x4912a4(_0x3ee2cb)||_0x3ee2cb);return _0x3ee2cb;},Oe=(_0x12e504,_0x7e1dc0)=>(_0x58660d,_0x278b6c)=>_0x7e1dc0(_0x58660d,_0x278b6c,_0x12e504);let fe=class extends a[_0x5b8990(0x3d0)]{constructor(_0x1373c2,_0x3c61c3){const _0x3cb1cf=_0x5b8990;super(),this['_docClipboardService']=_0x1373c2,this[_0x3cb1cf(0x2d1)]=_0x3c61c3,this[_0x3cb1cf(0x2c4)]();}[_0x5b8990(0x2c4)](){const _0x1d66f8=_0x5b8990,_0x24088d=this;this['disposeWithMe'](this[_0x1d66f8(0x1b0)][_0x1d66f8(0x3cc)]({'onBeforePasteImage':async _0x527dfa=>{const _0x4e6987=_0x1d66f8,_0x37377d=await _0x24088d['_imageIoService'][_0x4e6987(0x337)](_0x527dfa);return _0x37377d?{'source':_0x37377d[_0x4e6987(0x254)],'imageSourceType':_0x37377d['imageSourceType']}:null;}}));}};fe=Je([Oe(0x0,b[_0x5b8990(0x36b)]),Oe(0x1,qe[_0x5b8990(0x3df)])],fe);const Re=[_0x5b8990(0x2e9),_0x5b8990(0x252),_0x5b8990(0x259),'red300','blue400','gold400'];class Ce extends a['Disposable']{constructor(){const _0x34110f=_0x5b8990;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x34110f(0x1b9),0x0);}[_0x5b8990(0x3cb)](_0x566271){const _0x5eb7c5=_0x5b8990;if(this[_0x5eb7c5(0x24b)]['has'](_0x566271))return this[_0x5eb7c5(0x24b)]['get'](_0x566271);const _0x303fad=Re[this[_0x5eb7c5(0x1b9)]];return this[_0x5eb7c5(0x1b9)]=(this['_colorIndex']+0x1)%Re[_0x5eb7c5(0x3e7)],this[_0x5eb7c5(0x24b)][_0x5eb7c5(0x1a0)](_0x566271,_0x303fad),_0x303fad;}}function we(_0x339d87){const _0x1761df=_0x5b8990;let _0x706aaf='';for(const _0x17ff2c of _0x339d87){const {startOffset:_0x1cf7c1,endOffset:_0x95f7fb,isActive:_0x40e26a,rangeType:_0x459b54,segmentId:_0x8ebc1a,segmentPage:_0x38009e}=_0x17ff2c;_0x706aaf[_0x1761df(0x3e7)]&&(_0x706aaf+=','),_0x706aaf+=_0x1cf7c1+':'+_0x95f7fb+':'+(_0x40e26a?'1':'0')+':'+_0x459b54+':'+_0x8ebc1a+':'+_0x38009e;}return _0x706aaf;}function Ze(_0x4a77e2){const _0x5ecd9c=_0x5b8990,_0x4ec725=_0x4a77e2[_0x5ecd9c(0x1a3)](','),_0x9121b1=[];for(const _0x295943 of _0x4ec725){const [_0x425560,_0x2cbd48,_0xa5c61e,_0x1c5d7a,_0x3f9a4f,_0x5dbd4f]=_0x295943[_0x5ecd9c(0x1a3)](':');_0x9121b1['push']({'startOffset':Number(_0x425560),'endOffset':Number(_0x2cbd48),'collapsed':_0x425560===_0x2cbd48,'isActive':_0xa5c61e==='1','rangeType':_0x1c5d7a===a[_0x5ecd9c(0x2b6)][_0x5ecd9c(0x28b)]?a[_0x5ecd9c(0x2b6)]['TEXT']:a[_0x5ecd9c(0x2b6)]['RECT'],'segmentId':typeof _0x3f9a4f==_0x5ecd9c(0x300)?String(_0x3f9a4f):'','segmentPage':Number(_0x5dbd4f!=null?_0x5dbd4f:-0x1)});}return _0x9121b1[_0x5ecd9c(0x1b7)](_0x322244=>_0x322244[_0x5ecd9c(0x1c4)])||(_0x9121b1[0x0]['isActive']=!0x0),_0x9121b1;}class pe extends a['RxDisposable']{constructor(){const _0x5c8e89=_0x5b8990;super(...arguments),_(this,'_collabCursorState$',new d[(_0x5c8e89(0x3e4))](null)),_(this,_0x5c8e89(0x31b),this[_0x5c8e89(0x3d3)][_0x5c8e89(0x20c)]());}[_0x5b8990(0x16e)](_0x3153c8){const {unitID:_0x1033fb,memberID:_0x17b853,textRanges:_0x5c47e8}=_0x3153c8,_0x2c6319=we(_0x5c47e8);if(_0x2c6319==='')return;const _0x4729e7={'unitID':_0x1033fb,'memberID':_0x17b853,'selection':_0x2c6319};this['_collabCursorState$']['next'](_0x4729e7);}}var Qe=Object[_0x5b8990(0x184)],et=(_0x1e626e,_0x564793,_0x370178,_0x2a74ff)=>{const _0x221330=_0x5b8990;for(var _0x1e275b=_0x2a74ff>0x1?void 0x0:_0x2a74ff?Qe(_0x564793,_0x370178):_0x564793,_0x2e3252=_0x1e626e[_0x221330(0x3e7)]-0x1,_0x3e6d6e;_0x2e3252>=0x0;_0x2e3252--)(_0x3e6d6e=_0x1e626e[_0x2e3252])&&(_0x1e275b=_0x3e6d6e(_0x1e275b)||_0x1e275b);return _0x1e275b;},L=(_0x4c8e82,_0x42b0d5)=>(_0x49db30,_0x1534ba)=>_0x42b0d5(_0x49db30,_0x1534ba,_0x4c8e82);const tt=0x12c,st=0x64;let Se=class extends a[_0x5b8990(0x3d0)]{constructor(_0x4af531,_0x779c4,_0x4d4092,_0x120c5e,_0x9915b7,_0x1a51bf,_0x6db53d,_0x2ccf2c,_0x22de13){const _0x4ae830=_0x5b8990;super(),_(this,_0x4ae830(0x3d2),!0x1),_(this,_0x4ae830(0x2c4),!0x1),_(this,_0x4ae830(0x34e),new d[(_0x4ae830(0x3e4))](new Map())),_(this,_0x4ae830(0x320),this[_0x4ae830(0x34e)][_0x4ae830(0x20c)]()),_(this,_0x4ae830(0x3c4),new d[(_0x4ae830(0x3e4))]([])),_(this,'roomMembers$',this[_0x4ae830(0x3c4)]['pipe'](d[_0x4ae830(0x3ab)](tt))),_(this,_0x4ae830(0x1ac),a[_0x4ae830(0x287)](_0x214493=>{const _0x59f238=_0x4ae830,_0x2555d6={'eventID':m[_0x59f238(0x1fb)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x59f238(0x299)],'memberID':this[_0x59f238(0x1f5)]['getMemberID'](),'selection':we(_0x214493)}};this['_session'][_0x59f238(0x3d1)](_0x2555d6,this[_0x59f238(0x299)]);},st)),(this['unitID']=_0x4af531,this[_0x4ae830(0x1f5)]=_0x779c4,this['_injector']=_0x4d4092,this[_0x4ae830(0x329)]=_0x120c5e,this['_memberService']=_0x9915b7,this[_0x4ae830(0x23f)]=_0x1a51bf,this[_0x4ae830(0x2a1)]=_0x6db53d,this[_0x4ae830(0x2d5)]=_0x2ccf2c,this[_0x4ae830(0x20b)]=_0x22de13);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x5b8990(0x1f3)](){const _0x3a2b95=_0x5b8990;return this['_roomMembers$'][_0x3a2b95(0x364)]();}[_0x5b8990(0x232)](){const _0x179e43=_0x5b8990;super[_0x179e43(0x232)](),this[_0x179e43(0x34e)]['next'](new Map()),this['_cursorInfo$'][_0x179e43(0x1f1)](),this[_0x179e43(0x3c4)][_0x179e43(0x2c7)]([]),this['_roomMembers$'][_0x179e43(0x1f1)]();}[_0x5b8990(0x1af)](){const _0xce02a5=_0x5b8990;this['_init']||(this[_0xce02a5(0x2c4)]=!0x0,this[_0xce02a5(0x1f5)]['sessionStatus$'][_0xce02a5(0x27c)](d[_0xce02a5(0x2dd)](this[_0xce02a5(0x33a)]))['subscribe'](_0x4469a0=>{const _0x3a8d80=_0xce02a5;_0x4469a0===u['SessionStatus'][_0x3a8d80(0x1cd)]?this[_0x3a8d80(0x1ae)]():this[_0x3a8d80(0x393)]();}),this[_0xce02a5(0x1f5)][_0xce02a5(0x290)][_0xce02a5(0x27c)](d['takeUntil'](this[_0xce02a5(0x33a)]))[_0xce02a5(0x1f0)](_0x98e0b7=>{const _0xdfef61=_0xce02a5,_0x2c6877=_0x98e0b7[_0xdfef61(0x2ae)];_0x2c6877===m[_0xdfef61(0x1fb)][_0xdfef61(0x3ae)]&&this['_onCursorUpdate'](_0x98e0b7),_0x2c6877===m[_0xdfef61(0x1fb)][_0xdfef61(0x22a)]&&this[_0xdfef61(0x2d3)](_0x98e0b7);}),this[_0xce02a5(0x2ee)](this[_0xce02a5(0x20b)]['onCommandExecuted'](_0xcbb14d=>{const _0x7150b6=_0xce02a5,_0x56dd42=_0xcbb14d[_0x7150b6(0x3a3)];_0x56dd42!=null&&this[_0x7150b6(0x3d2)]&&_0xcbb14d['id']===Y[_0x7150b6(0x346)]['id']&&_0x56dd42[_0x7150b6(0x39c)]===this[_0x7150b6(0x299)]&&_0x56dd42[_0x7150b6(0x2c3)]===!0x1&&_0x56dd42[_0x7150b6(0x325)][_0x7150b6(0x3e7)]>0x0&&this[_0x7150b6(0x1ac)](_0x56dd42['ranges']);})),this[_0xce02a5(0x23f)][_0xce02a5(0x31b)][_0xce02a5(0x27c)](d['takeUntil'](this['dispose$']))[_0xce02a5(0x1f0)](_0x29904c=>{const _0x25847e=_0xce02a5;if((_0x29904c==null?void 0x0:_0x29904c[_0x25847e(0x299)])!==this['unitID'])return;const _0x11e620={'eventID':m[_0x25847e(0x1fb)][_0x25847e(0x3ae)],'data':_0x29904c};this[_0x25847e(0x362)](_0x11e620);}),this[_0xce02a5(0x2ee)](this[_0xce02a5(0x20b)][_0xce02a5(0x23b)](_0xce334b=>{const _0x1c2384=_0xce02a5;if(_0xce334b[_0x1c2384(0x3a3)]==null)return;const _0x372ef8=_0xce334b[_0x1c2384(0x3a3)];if(_0xce334b['id']!==Y[_0x1c2384(0x261)]['id']||_0x372ef8[_0x1c2384(0x39c)]!==this['unitID'])return;const _0x4875d3={'id':_0x1c2384(0x3ea),'params':_0x372ef8},_0x5e175f=this[_0x1c2384(0x336)];for(const [_0x64470a,_0xca5052]of _0x5e175f){const _0x27a205={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0xca5052[_0x1c2384(0x325)]}},_0x44c9ef=this['_transformService'][_0x1c2384(0x25b)](_0x4875d3,_0x27a205,!0x1);if(m[_0x1c2384(0x188)](_0x44c9ef))throw _0x44c9ef[_0x1c2384(0x1e5)];_0x5e175f['set'](_0x64470a,{..._0xca5052,'ranges':_0x44c9ef[_0x1c2384(0x2ed)][_0x1c2384(0x3a3)]['textRanges']});}queueMicrotask(()=>{const _0x9e20a1=_0x1c2384;this[_0x9e20a1(0x34e)]['next'](_0x5e175f);});})));}['_onCursorUpdate'](_0xe0c1e7){const _0x163e76=_0x5b8990;var _0x28dfad,_0x2c0c47;const {memberID:_0x434937,selection:_0x15da7c}=_0xe0c1e7[_0x163e76(0x1ea)],_0x4b3bfa=Ze(_0x15da7c),_0x461b3e=(_0x2c0c47=(_0x28dfad=this[_0x163e76(0x3f0)][_0x163e76(0x170)](this['unitID'],_0x434937))==null?void 0x0:_0x28dfad[_0x163e76(0x29a)])!=null?_0x2c0c47:_0x163e76(0x387),_0x498063={'color':this[_0x163e76(0x329)][_0x163e76(0x3cb)](_0x434937),'name':_0x461b3e,'ranges':_0x4b3bfa},_0x7c38d4=this[_0x163e76(0x336)];_0x7c38d4[_0x163e76(0x1a0)](_0x434937,_0x498063),this[_0x163e76(0x34e)][_0x163e76(0x2c7)](_0x7c38d4);}[_0x5b8990(0x2d3)](_0x1bf32f){const _0x34d7c5=_0x5b8990,{memberID:_0x5e0fff}=_0x1bf32f[_0x34d7c5(0x1ea)],_0x8c291e=this[_0x34d7c5(0x336)];_0x8c291e[_0x34d7c5(0x371)](_0x5e0fff),this[_0x34d7c5(0x34e)][_0x34d7c5(0x2c7)](_0x8c291e);}[_0x5b8990(0x1ae)](){const _0x29ccc2=_0x5b8990;var _0x109b4c;if(this[_0x29ccc2(0x3d2)]=!0x0,((_0x109b4c=this[_0x29ccc2(0x2d5)]['getFocusedUnit']())==null?void 0x0:_0x109b4c[_0x29ccc2(0x257)]())!==this[_0x29ccc2(0x299)])return;const _0x2b2cbc=this[_0x29ccc2(0x1a8)]['get'](Y[_0x29ccc2(0x3cf)])['getDocRanges']();Array[_0x29ccc2(0x242)](_0x2b2cbc)&&_0x2b2cbc['length']>0x0&&this[_0x29ccc2(0x1ac)](_0x2b2cbc);}[_0x5b8990(0x393)](){const _0x307c5e=_0x5b8990;this[_0x307c5e(0x3d2)]=!0x1;}};Se=et([L(0x2,a[_0x5b8990(0x25d)](a[_0x5b8990(0x39d)])),L(0x3,a[_0x5b8990(0x25d)](Ce)),L(0x4,a[_0x5b8990(0x25d)](u[_0x5b8990(0x215)])),L(0x5,a[_0x5b8990(0x25d)](pe)),L(0x6,m['ITransformService']),L(0x7,a[_0x5b8990(0x35f)]),L(0x8,a[_0x5b8990(0x267)])],Se);var nt=Object[_0x5b8990(0x184)],it=(_0x2c7cec,_0x2dd669,_0x40b1e9,_0x30e939)=>{const _0x44a5af=_0x5b8990;for(var _0x60f475=_0x30e939>0x1?void 0x0:_0x30e939?nt(_0x2dd669,_0x40b1e9):_0x2dd669,_0xafe464=_0x2c7cec[_0x44a5af(0x3e7)]-0x1,_0x766c99;_0xafe464>=0x0;_0xafe464--)(_0x766c99=_0x2c7cec[_0xafe464])&&(_0x60f475=_0x766c99(_0x60f475)||_0x60f475);return _0x60f475;},A=(_0x501e7b,_0x2c19e4)=>(_0x3b50c1,_0x55d863)=>_0x2c19e4(_0x3b50c1,_0x55d863,_0x501e7b);const rt=0x12c,ot=0x64,at=()=>{let _0x4cd224=[],_0x3097c4=!0x1;return _0x4b72ee=>{const _0x40fd9b=_0x18a2;_0x4cd224[_0x40fd9b(0x3e8)](_0x4b72ee),_0x3097c4||(_0x3097c4=!0x0,setTimeout(()=>{const _0x2e8880=_0x40fd9b;_0x4cd224[_0x2e8880(0x312)](_0xa28390=>_0xa28390()),_0x4cd224=[],_0x3097c4=!0x1;}));};};let Ie=class extends a[_0x5b8990(0x3d0)]{constructor(_0x5a6b58,_0x1691f5,_0x4ebd3c,_0x81dff4,_0x8572,_0x52f6cc,_0x313950,_0x55fc37){const _0x49e6c4=_0x5b8990;super(),_(this,_0x49e6c4(0x3d2),!0x1),_(this,_0x49e6c4(0x2c4),!0x1),_(this,'_cursorInfo$',new d[(_0x49e6c4(0x3e4))](new Map())),_(this,'cursorInfo$',this[_0x49e6c4(0x34e)][_0x49e6c4(0x20c)]()),_(this,_0x49e6c4(0x3c4),new d['BehaviorSubject']([])),_(this,_0x49e6c4(0x3f4),this['_roomMembers$'][_0x49e6c4(0x27c)](d['debounceTime'](rt))),_(this,_0x49e6c4(0x1ac),a[_0x49e6c4(0x287)]((_0x27709b,_0x41a29d)=>{const _0x2786f9=_0x49e6c4,_0x1729d0={'eventID':m[_0x2786f9(0x1fb)][_0x2786f9(0x3ae)],'data':{'unitID':this[_0x2786f9(0x299)],'memberID':this['_session'][_0x2786f9(0x1fe)](),'selection':Te['serializeRangeWithSheet'](_0x27709b,_0x41a29d[_0x2786f9(0x1d4)])}};this[_0x2786f9(0x1f5)][_0x2786f9(0x3d1)](_0x1729d0,this[_0x2786f9(0x299)]);},ot)),(this[_0x49e6c4(0x299)]=_0x5a6b58,this[_0x49e6c4(0x1f5)]=_0x1691f5,this[_0x49e6c4(0x1a8)]=_0x4ebd3c,this['_colorAssignService']=_0x81dff4,this[_0x49e6c4(0x3f0)]=_0x8572,this['_univerInstanceService']=_0x52f6cc,this[_0x49e6c4(0x20b)]=_0x313950,this[_0x49e6c4(0x16a)]=_0x55fc37);}get['cursorInfo'](){const _0x1338fa=_0x5b8990;return this['_cursorInfo$'][_0x1338fa(0x364)]();}get[_0x5b8990(0x1f3)](){const _0xe02215=_0x5b8990;return this[_0xe02215(0x3c4)][_0xe02215(0x364)]();}['dispose'](){const _0x47817f=_0x5b8990;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x47817f(0x34e)][_0x47817f(0x1f1)](),this[_0x47817f(0x3c4)][_0x47817f(0x2c7)]([]),this[_0x47817f(0x3c4)][_0x47817f(0x1f1)]();}['init'](){const _0x5d46a8=_0x5b8990;this['_init']||(this[_0x5d46a8(0x2c4)]=!0x0,this['_session'][_0x5d46a8(0x24a)]['pipe'](d[_0x5d46a8(0x2dd)](this[_0x5d46a8(0x33a)]))[_0x5d46a8(0x1f0)](_0x1b8301=>{const _0x217a2c=_0x5d46a8;_0x1b8301===u[_0x217a2c(0x222)][_0x217a2c(0x1cd)]?this[_0x217a2c(0x1ae)]():this[_0x217a2c(0x393)]();}),this[_0x5d46a8(0x1f5)][_0x5d46a8(0x290)][_0x5d46a8(0x27c)](d['takeUntil'](this[_0x5d46a8(0x33a)]))['subscribe'](_0x289b92=>{const _0x50d5aa=_0x5d46a8,_0x1cd0fe=_0x289b92[_0x50d5aa(0x2ae)];_0x1cd0fe===m[_0x50d5aa(0x1fb)][_0x50d5aa(0x3ae)]&&this['_onCursorUpdate'](_0x289b92),_0x1cd0fe===m[_0x50d5aa(0x1fb)][_0x50d5aa(0x22a)]&&this['_onCursorDelete'](_0x289b92);}),this[_0x5d46a8(0x27d)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x5c8008=>{const _0x556f4a=_0x5d46a8;if(this[_0x556f4a(0x3d2)]&&_0x5c8008['id']===g[_0x556f4a(0x199)]['id']&&_0x5c8008[_0x556f4a(0x3a3)][_0x556f4a(0x39c)]===this[_0x556f4a(0x299)]){const _0x30a304=_0x5c8008['params'];this['_updateLocalCursor'](_0x30a304[_0x556f4a(0x1a2)],_0x30a304[_0x556f4a(0x2bd)][0x0]);}})));}['_onCursorUpdate'](_0x90aa5c){const _0x41428a=_0x5b8990;var _0x47194c,_0x3c2a77;const {memberID:_0x1eac58,selection:_0x4a9c15}=_0x90aa5c[_0x41428a(0x1ea)],{sheetName:_0xd7fd93,range:_0xcbae08}=Te[_0x41428a(0x1fa)](_0x4a9c15),_0x213db3={'name':(_0x3c2a77=(_0x47194c=this[_0x41428a(0x3f0)][_0x41428a(0x170)](this[_0x41428a(0x299)],_0x1eac58))==null?void 0x0:_0x47194c[_0x41428a(0x29a)])!=null?_0x3c2a77:'Unknown\x20user','range':this[_0x41428a(0x285)](_0xd7fd93,_0xcbae08),'sheetID':_0xd7fd93,'color':this[_0x41428a(0x329)][_0x41428a(0x3cb)](_0x1eac58),'selection':_0x4a9c15},_0x83cdb3=this[_0x41428a(0x336)];_0x83cdb3[_0x41428a(0x1a0)](_0x1eac58,_0x213db3),this[_0x41428a(0x34e)][_0x41428a(0x2c7)](_0x83cdb3);}[_0x5b8990(0x2d3)](_0x537983){const _0x4330b7=_0x5b8990,{memberID:_0x1ce734}=_0x537983[_0x4330b7(0x1ea)],_0x2e8291=this[_0x4330b7(0x336)];_0x2e8291['delete'](_0x1ce734),this['_cursorInfo$'][_0x4330b7(0x2c7)](_0x2e8291);}[_0x5b8990(0x285)](_0x295109,_0x461aa1){const _0x4685fa=_0x5b8990;var _0x54cd48,_0x50aaae;const _0x38a8c9=(_0x50aaae=(_0x54cd48=this[_0x4685fa(0x2d5)][_0x4685fa(0x32a)](this['unitID']))==null?void 0x0:_0x54cd48['getSheetBySheetId'](_0x295109))==null?void 0x0:_0x50aaae['getMergeData']();return(_0x38a8c9==null?void 0x0:_0x38a8c9[_0x4685fa(0x304)](_0x1c92d1=>a[_0x4685fa(0x17e)][_0x4685fa(0x38c)](_0x1c92d1,_0x461aa1)))||_0x461aa1;}[_0x5b8990(0x27d)](){const _0x55b2d3=_0x5b8990,_0x541dc3=new a[(_0x55b2d3(0x33d))](),_0xd64e38=at(),_0x333aa4=()=>{const _0x535177=_0x55b2d3;_0x541dc3[_0x535177(0x232)]();const _0x9724c8=(_0x3c345a,_0x440bbd,_0x43e6b6,_0x6680bb)=>{const _0x5d2f4d=_0x535177;let _0x2f782b=[];switch(_0x3c345a['id']){case g['EffectRefRangId'][_0x5d2f4d(0x1a9)]:{_0x2f782b=g[_0x5d2f4d(0x37c)](_0x3c345a,_0x6680bb);break;}case g[_0x5d2f4d(0x29b)]['DeleteRangeMoveUpCommandId']:{_0x2f782b=g[_0x5d2f4d(0x213)](_0x3c345a,_0x6680bb);break;}case g['EffectRefRangId'][_0x5d2f4d(0x260)]:{_0x2f782b=g[_0x5d2f4d(0x1f8)](_0x3c345a,_0x6680bb);break;}case g[_0x5d2f4d(0x29b)][_0x5d2f4d(0x3d8)]:{_0x2f782b=g[_0x5d2f4d(0x2a2)](_0x3c345a,_0x6680bb);break;}case g[_0x5d2f4d(0x29b)][_0x5d2f4d(0x24e)]:{_0x2f782b=g[_0x5d2f4d(0x3c6)](_0x3c345a,_0x6680bb);break;}case g[_0x5d2f4d(0x29b)][_0x5d2f4d(0x1e8)]:{_0x2f782b=g[_0x5d2f4d(0x3ef)](_0x3c345a,_0x6680bb);break;}case g[_0x5d2f4d(0x29b)]['MoveRangeCommandId']:{_0x2f782b=g[_0x5d2f4d(0x318)](_0x3c345a,_0x6680bb);break;}case g[_0x5d2f4d(0x29b)][_0x5d2f4d(0x3ad)]:{_0x2f782b=g['handleIRemoveCol'](_0x3c345a,_0x6680bb);break;}case g['EffectRefRangId']['RemoveRowCommandId']:{_0x2f782b=g[_0x5d2f4d(0x34d)](_0x3c345a,_0x6680bb);break;}}const _0x1cadf2=g['runRefRangeMutations'](_0x2f782b,_0x6680bb),_0x1f602e=this['cursorInfo'][_0x5d2f4d(0x2ad)](_0x440bbd);if(_0x1f602e&&_0x1cadf2){const _0x193e55={..._0x1f602e,'range':_0x1cadf2};this[_0x5d2f4d(0x336)][_0x5d2f4d(0x1a0)](_0x440bbd,_0x193e55),_0xd64e38(()=>{const _0x3ce8e1=_0x5d2f4d,_0x1afb37=this[_0x3ce8e1(0x16a)]['registerRefRange'](_0x1cadf2,_0x2b4248=>(_0x1afb37[_0x3ce8e1(0x232)](),_0x9724c8(_0x2b4248,_0x440bbd,_0x43e6b6,_0x1cadf2)));_0x541dc3[_0x3ce8e1(0x23c)](_0x1afb37);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x535177(0x312)]((_0x184de3,_0x2838e2)=>{const _0x25001f=_0x535177,{range:_0x1bd94a,sheetID:_0x3b2fbb}=_0x184de3,_0x45dd69=this[_0x25001f(0x16a)]['registerRefRange'](_0x1bd94a,_0x5688f4=>(_0x45dd69['dispose'](),_0x9724c8(_0x5688f4,_0x2838e2,_0x3b2fbb,_0x1bd94a)));_0x541dc3[_0x25001f(0x23c)](_0x45dd69);});};this[_0x55b2d3(0x2ee)](a[_0x55b2d3(0x349)](this[_0x55b2d3(0x34e)][_0x55b2d3(0x1f0)](()=>{_0x333aa4();})));}[_0x5b8990(0x1ae)](){const _0x28cef0=_0x5b8990;var _0x1309e5,_0x13f836;if(this[_0x28cef0(0x3d2)]=!0x0,((_0x1309e5=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x1309e5['getUnitId']())!==this[_0x28cef0(0x299)])return;const _0x2582fc=(_0x13f836=this[_0x28cef0(0x1a8)]['get'](g[_0x28cef0(0x167)])[_0x28cef0(0x210)]())==null?void 0x0:_0x13f836[0x0],_0x468cb4=this[_0x28cef0(0x2d5)]['getCurrentUnitForType'](a['UniverInstanceType'][_0x28cef0(0x3bf)])[_0x28cef0(0x2b9)]();_0x2582fc&&_0x468cb4&&this[_0x28cef0(0x1ac)](_0x468cb4[_0x28cef0(0x3a4)](),_0x2582fc);}[_0x5b8990(0x393)](){const _0x5ae576=_0x5b8990;this[_0x5ae576(0x3d2)]=!0x1;}};Ie=it([A(0x2,a[_0x5b8990(0x25d)](a[_0x5b8990(0x39d)])),A(0x3,a[_0x5b8990(0x25d)](Ce)),A(0x4,a[_0x5b8990(0x25d)](u['MemberService'])),A(0x5,a[_0x5b8990(0x35f)]),A(0x6,a[_0x5b8990(0x267)]),A(0x7,a['Inject'](g[_0x5b8990(0x250)]))],Ie);var ct=Object[_0x5b8990(0x184)],lt=(_0x3de765,_0x6fa143,_0x1298c1,_0x328810)=>{for(var _0x1adb93=_0x328810>0x1?void 0x0:_0x328810?ct(_0x6fa143,_0x1298c1):_0x6fa143,_0xa55115=_0x3de765['length']-0x1,_0x53ea2e;_0xa55115>=0x0;_0xa55115--)(_0x53ea2e=_0x3de765[_0xa55115])&&(_0x1adb93=_0x53ea2e(_0x1adb93)||_0x1adb93);return _0x1adb93;},ie=(_0x1bfc8d,_0x209eb2)=>(_0x156364,_0x21abd8)=>_0x209eb2(_0x156364,_0x21abd8,_0x1bfc8d);let x=class extends a[_0x5b8990(0x3d0)]{constructor(_0x3b8c47,_0x96fbe2,_0x2cdcfc){const _0x3525b6=_0x5b8990;super(),_(this,_0x3525b6(0x3b0),new Map()),_(this,_0x3525b6(0x3d9),new d[(_0x3525b6(0x3c0))]()),(this['_univerInstanceService']=_0x3b8c47,this[_0x3525b6(0x1a8)]=_0x96fbe2,this[_0x3525b6(0x32f)]=_0x2cdcfc,this[_0x3525b6(0x2c4)]());}[_0x5b8990(0x232)](){const _0xc21fe9=_0x5b8990;super[_0xc21fe9(0x232)](),this['_entityInit$'][_0xc21fe9(0x1f1)](),this['_entities']['forEach'](_0x46808=>_0x46808[_0xc21fe9(0x232)]());}[_0x5b8990(0x331)](_0x2376ab){const _0x142909=_0x5b8990;return this['_entities'][_0x142909(0x181)](_0x2376ab)?this[_0x142909(0x3b0)][_0x142909(0x2ad)](_0x2376ab)[_0x142909(0x320)]:this[_0x142909(0x3d9)][_0x142909(0x27c)](d[_0x142909(0x3db)](_0x2189aa=>_0x2189aa[_0x142909(0x299)]===_0x2376ab),d['switchMap'](_0x1f182b=>_0x1f182b[_0x142909(0x320)]));}['_init'](){const _0x1d9673=_0x5b8990;this[_0x1d9673(0x2d5)][_0x1d9673(0x23e)](a[_0x1d9673(0x2ab)][_0x1d9673(0x3bf)])[_0x1d9673(0x27c)](d[_0x1d9673(0x2dd)](this[_0x1d9673(0x33a)]))['subscribe'](async _0x2665ee=>{const _0x4529ec=_0x1d9673,_0x55c621=_0x2665ee[_0x4529ec(0x257)](),_0x247f72=await this[_0x4529ec(0x317)](_0x55c621);this[_0x4529ec(0x3d9)][_0x4529ec(0x2c7)](_0x247f72),this[_0x4529ec(0x3b0)]['set'](_0x55c621,_0x247f72);}),this[_0x1d9673(0x2d5)][_0x1d9673(0x23e)](a['UniverInstanceType'][_0x1d9673(0x203)])[_0x1d9673(0x27c)](d[_0x1d9673(0x2dd)](this[_0x1d9673(0x33a)]))[_0x1d9673(0x27c)](d[_0x1d9673(0x3db)](_0x5daba5=>!_0x5daba5['getUnitId']()[_0x1d9673(0x2e0)]('__')))[_0x1d9673(0x1f0)](async _0x1202fb=>{const _0x1f367e=_0x1d9673,_0x2e39d0=_0x1202fb[_0x1f367e(0x257)](),_0x1d6fc6=await this[_0x1f367e(0x3a0)](_0x2e39d0);this[_0x1f367e(0x3d9)][_0x1f367e(0x2c7)](_0x1d6fc6),this['_entities']['set'](_0x2e39d0,_0x1d6fc6);}),d[_0x1d9673(0x1df)](this[_0x1d9673(0x2d5)][_0x1d9673(0x335)](a[_0x1d9673(0x2ab)][_0x1d9673(0x203)]),this[_0x1d9673(0x2d5)][_0x1d9673(0x335)](a[_0x1d9673(0x2ab)]['UNIVER_SHEET']))[_0x1d9673(0x27c)](d[_0x1d9673(0x2dd)](this['dispose$']))[_0x1d9673(0x1f0)](_0xa71e84=>{const _0x2173c7=_0x1d9673,_0x5776da=_0xa71e84[_0x2173c7(0x257)](),_0x5f3076=this[_0x2173c7(0x3b0)]['get'](_0x5776da);_0x5f3076&&(_0x5f3076[_0x2173c7(0x232)](),this['_entities'][_0x2173c7(0x371)](_0x5776da));});}async[_0x5b8990(0x317)](_0x33076e){const _0x43a62d=_0x5b8990,_0x1b8664=await this[_0x43a62d(0x32f)][_0x43a62d(0x33c)](_0x33076e),_0x5192e5=this[_0x43a62d(0x1a8)][_0x43a62d(0x1a4)](Ie,_0x33076e,_0x1b8664);return _0x5192e5[_0x43a62d(0x1af)](),_0x5192e5;}async['_startDocCollabCursor'](_0x5977b9){const _0x2099b9=_0x5b8990,_0x2afdc5=await this[_0x2099b9(0x32f)]['requireSession'](_0x5977b9),_0x3c7844=this[_0x2099b9(0x1a8)][_0x2099b9(0x1a4)](Se,_0x5977b9,_0x2afdc5);return _0x3c7844[_0x2099b9(0x1af)](),_0x3c7844;}};x=lt([ie(0x0,a[_0x5b8990(0x35f)]),ie(0x1,a[_0x5b8990(0x25d)](a['Injector'])),ie(0x2,a[_0x5b8990(0x25d)](u['CollaborationSessionService']))],x);const K=0x14,De=0xc8,re=0x4,_t=0x5;function ht(_0x6ea0ee,_0x453006){const _0x1258c0=_0x5b8990;let {radius:_0x368a84,width:_0x1d3992,height:_0x169eef}=_0x453006;_0x368a84=_0x368a84!=null?_0x368a84:0x0,_0x1d3992=_0x1d3992!=null?_0x1d3992:0x1e,_0x169eef=_0x169eef!=null?_0x169eef:0x1e;let _0x1cdfd1=0x0,_0x20b20b=0x0,_0x238d73=0x0;_0x1cdfd1=_0x20b20b=_0x238d73=Math[_0x1258c0(0x2af)](_0x368a84,_0x1d3992/0x2,_0x169eef/0x2),_0x6ea0ee[_0x1258c0(0x3bb)](),_0x6ea0ee[_0x1258c0(0x1d7)](_0x1cdfd1,0x0),_0x6ea0ee['lineTo'](_0x1d3992-_0x20b20b,0x0),_0x6ea0ee[_0x1258c0(0x1ad)](_0x1d3992-_0x20b20b,_0x20b20b,_0x20b20b,Math['PI']*0x3/0x2,0x0,!0x1),_0x6ea0ee[_0x1258c0(0x3ec)](_0x1d3992,_0x169eef-_0x238d73),_0x6ea0ee[_0x1258c0(0x1ad)](_0x1d3992-_0x238d73,_0x169eef-_0x238d73,_0x238d73,0x0,Math['PI']/0x2,!0x1),_0x6ea0ee[_0x1258c0(0x3ec)](0x0,_0x169eef),_0x6ea0ee['lineTo'](0x0,_0x1cdfd1),_0x6ea0ee[_0x1258c0(0x1ad)](_0x1cdfd1,_0x1cdfd1,_0x1cdfd1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x6ea0ee['closePath'](),_0x453006[_0x1258c0(0x2ff)]&&(_0x6ea0ee[_0x1258c0(0x244)](),_0x6ea0ee[_0x1258c0(0x360)]=_0x453006[_0x1258c0(0x2ff)],_0x453006['fillRule']===_0x1258c0(0x399)?_0x6ea0ee[_0x1258c0(0x2ff)](_0x1258c0(0x399)):_0x6ea0ee[_0x1258c0(0x2ff)](),_0x6ea0ee[_0x1258c0(0x226)]());}class te extends p[_0x5b8990(0x2b0)]{constructor(_0x51bad1,_0x3e7c42){const _0x52640a=_0x5b8990;super(_0x51bad1,_0x3e7c42),_(this,'color'),_(this,_0x52640a(0x202)),(this[_0x52640a(0x328)]=_0x3e7c42==null?void 0x0:_0x3e7c42[_0x52640a(0x328)],this[_0x52640a(0x202)]=_0x3e7c42==null?void 0x0:_0x3e7c42[_0x52640a(0x202)]);}static[_0x5b8990(0x2e4)](_0xc62f5a,_0x247a67){const _0x2ac3b0=_0x5b8990,{text:_0x5d0fb7,color:_0x588ac3}=_0x247a67;_0xc62f5a[_0x2ac3b0(0x244)](),_0xc62f5a[_0x2ac3b0(0x1c1)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x5debd1=_0xc62f5a['measureText'](_0x5d0fb7)[_0x2ac3b0(0x18c)],_0x228a44=Math[_0x2ac3b0(0x2af)](_0x5debd1+0x2*re,De);ht(_0xc62f5a,{'height':K,'radius':0x4,'width':_0x228a44,'fill':_0x588ac3}),_0xc62f5a[_0x2ac3b0(0x360)]=_0x2ac3b0(0x19f);const _0x2c310c=re,_0x19c888=K-_t,_0x1ba318=De-0x2*re;if(_0x5debd1>_0x1ba318){let _0x4d73ba='',_0x17d292=0x0;for(const _0x24bc43 of _0x5d0fb7){const _0x47e34d=_0xc62f5a[_0x2ac3b0(0x2db)](_0x24bc43)['width'];if(_0x17d292+_0x47e34d<=_0x1ba318-_0xc62f5a[_0x2ac3b0(0x2db)](_0x2ac3b0(0x18f))[_0x2ac3b0(0x18c)])_0x4d73ba+=_0x24bc43,_0x17d292+=_0x47e34d;else{_0x4d73ba+='...';break;}}_0xc62f5a['fillText'](_0x4d73ba,_0x2c310c,_0x19c888);}else _0xc62f5a[_0x2ac3b0(0x20e)](_0x5d0fb7,_0x2c310c,_0x19c888);_0xc62f5a[_0x2ac3b0(0x226)]();}[_0x5b8990(0x17c)](_0x165623){const _0x179da8=_0x5b8990;te[_0x179da8(0x2e4)](_0x165623,this);}}const oe='collab-text-anchor-',ut=_0x5b8990(0x2f0),dt=_0x5b8990(0x37a),k=0x6,ft=1.5,ae=0x4,St=1.5,It=_0x5b8990(0x386);class Ue{constructor(_0x2b490c,_0x5bbf97,_0x40ffc1,_0x5c15f3){const _0xb8daaa=_0x5b8990;_(this,_0xb8daaa(0x372),[]),_(this,_0xb8daaa(0x297),null),_(this,_0xb8daaa(0x394),null),_(this,'_anchorDot',null),_(this,_0xb8daaa(0x223),null),_(this,'_eventUnsubscribe',null),(this[_0xb8daaa(0x275)]=_0x2b490c,this['_scene']=_0x5bbf97,this[_0xb8daaa(0x3e9)]=_0x40ffc1,this[_0xb8daaa(0x34f)]=_0x5c15f3,this[_0xb8daaa(0x218)]());}set[_0x5b8990(0x2f2)](_0x5b4baa){const _0x20dfce=_0x5b8990;_0x5b4baa?(this[_0x20dfce(0x1b2)]&&this['_anchorDot'][_0x20dfce(0x288)](),this['_textBubble']&&this[_0x20dfce(0x394)][_0x20dfce(0x289)]()):(this[_0x20dfce(0x1b2)]&&this['_anchorDot'][_0x20dfce(0x289)](),this['_textBubble']&&this[_0x20dfce(0x394)][_0x20dfce(0x288)]());}[_0x5b8990(0x232)](){const _0x155c42=_0x5b8990;for(const _0x5dda31 of this['_shapes'])_0x5dda31[_0x155c42(0x232)]();this[_0x155c42(0x394)]&&this[_0x155c42(0x394)]['dispose'](),this[_0x155c42(0x1b2)]&&this[_0x155c42(0x1b2)][_0x155c42(0x232)](),this[_0x155c42(0x297)]&&this[_0x155c42(0x297)]['dispose'](),this['_eventUnsubscribe']&&this[_0x155c42(0x2d8)]();}['_render'](){const _0xa93307=_0x5b8990;var _0x13a4e8;const {_docSkeleton:_0xbf0f04,_document:_0x724d93}=this,{color:_0x17ca26,name:_0x3b0231,ranges:_0x55b01b}=this[_0xa93307(0x275)],_0x2222be=_0x724d93[_0xa93307(0x193)](),{docsLeft:_0x5ec860,docsTop:_0x6897cb}=_0x2222be,_0xdfafc=new b['NodePositionConvertToCursor'](_0x2222be,_0xbf0f04);for(const {startOffset:_0x56eb83,endOffset:_0x1ea90c,rangeType:_0x7d6fb7,segmentId:_0xffc8b0,segmentPage:_0x370111,collapsed:_0x203107,isActive:_0x4e09b4}of _0x55b01b){const _0x2e5654=_0xbf0f04[_0xa93307(0x23d)](_0x56eb83,!0x0,_0xffc8b0,_0x370111);let _0x536412=_0xbf0f04[_0xa93307(0x23d)](_0x1ea90c,!0x0,_0xffc8b0,_0x370111);if(_0x536412==null&&(_0x536412=_0xbf0f04['findNodePositionByCharIndex'](_0x1ea90c-0x1,!0x1,_0xffc8b0,_0x370111)),_0x4e09b4){const {contentBoxPointGroup:_0x59809c}=_0xdfafc[_0xa93307(0x216)](_0x536412,_0x536412);if(_0x59809c[_0xa93307(0x3e7)]===0x0)continue;this[_0xa93307(0x29d)](_0x17ca26,_0x59809c,_0x5ec860,_0x6897cb,_0x3b0231),this['_eventUnsubscribe']=this[_0xa93307(0x308)]();}if(_0x2e5654&&_0x536412){if(_0x7d6fb7===a[_0xa93307(0x2b6)][_0xa93307(0x1e0)]){const _0x4435ac=new b[(_0xa93307(0x1d1))](_0x2222be,_0xbf0f04),{pointGroup:_0x175464}=(_0x13a4e8=_0x4435ac[_0xa93307(0x216)](_0x2e5654,_0x536412))!=null?_0x13a4e8:{};if(_0x175464==null||_0x175464[_0xa93307(0x3e7)]===0x0)continue;this['_drawRectRange'](_0x17ca26,_0x175464,_0x5ec860,_0x6897cb);}else{if(!_0x203107){const {borderBoxPointGroup:_0x38e315}=_0xdfafc['getRangePointData'](_0x2e5654,_0x536412);if(_0x38e315[_0xa93307(0x3e7)]===0x0)continue;this[_0xa93307(0x1c5)](_0x17ca26,_0x38e315,_0x5ec860,_0x6897cb);}}}}}[_0x5b8990(0x29d)](_0x573de7,_0x722907,_0x3c203a,_0x1832c1,_0x380f76){const _0x4cb58c=_0x5b8990,_0x36206a=this[_0x4cb58c(0x381)](_0x722907),{left:_0x1635dc,top:_0x3a7711,height:_0x42cfe7}=_0x36206a,_0x2f36c0=this['_getScale'](),_0x306bdc=St/_0x2f36c0,_0x204c48=new p[(_0x4cb58c(0x209))](oe+a[_0x4cb58c(0x270)][_0x4cb58c(0x2b3)](k),{'left':_0x1635dc+_0x3c203a-_0x306bdc,'top':_0x3a7711+_0x1832c1,'height':_0x42cfe7,'width':ft,'fill':_0x573de7||p[_0x4cb58c(0x224)](a['COLORS'][_0x4cb58c(0x2e7)],0x0),'strokeWidth':_0x306bdc,'stroke':It,'evented':!0x0});this[_0x4cb58c(0x297)]=_0x204c48,this[_0x4cb58c(0x280)][_0x4cb58c(0x31c)](_0x204c48,b[_0x4cb58c(0x2d0)]);const _0x24a5fa=new p[(_0x4cb58c(0x209))](oe+a['Tools']['generateRandomId'](k),{'left':_0x1635dc+_0x3c203a-_0x306bdc,'top':_0x3a7711+_0x1832c1-ae/0x2,'height':ae,'width':ae,'fill':_0x573de7||p['getColor'](a['COLORS'][_0x4cb58c(0x2e7)],0x0),'strokeWidth':0x0,'stroke':_0x573de7||p['getColor'](a[_0x4cb58c(0x2e6)][_0x4cb58c(0x2e7)],0x0),'evented':!0x1});this[_0x4cb58c(0x1b2)]=_0x24a5fa,this['_scene'][_0x4cb58c(0x31c)](_0x24a5fa,b[_0x4cb58c(0x2d0)]);const _0x583f33=new te(oe+a[_0x4cb58c(0x270)][_0x4cb58c(0x2b3)](k),{'left':_0x1635dc+_0x3c203a-_0x306bdc,'top':_0x3a7711+_0x1832c1-K,'text':_0x380f76,'color':_0x573de7});this['_textBubble']=_0x583f33,this[_0x4cb58c(0x280)][_0x4cb58c(0x31c)](_0x583f33,b[_0x4cb58c(0x2d0)]),this[_0x4cb58c(0x2f2)]=!0x1;}[_0x5b8990(0x308)](){const _0x5f281d=_0x5b8990,_0x311c92=this[_0x5f281d(0x297)][_0x5f281d(0x17b)][_0x5f281d(0x2c1)](()=>{const _0x1d3c45=_0x5f281d;this[_0x1d3c45(0x2f2)]=!0x0;}),_0x9b3b2=this[_0x5f281d(0x297)][_0x5f281d(0x1d9)][_0x5f281d(0x2c1)](()=>{const _0x2e2b0e=_0x5f281d;this[_0x2e2b0e(0x223)]&&clearTimeout(this[_0x2e2b0e(0x223)]),this[_0x2e2b0e(0x223)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3888db=_0x5f281d;_0x311c92['unsubscribe'](),_0x9b3b2[_0x3888db(0x2b7)]();};}[_0x5b8990(0x1c5)](_0x1de91b,_0x35bd60,_0x2fc499,_0x3bbc77){const _0x2b7cd0=_0x5b8990,_0x24d304=new a[(_0x2b7cd0(0x1b6))](_0x1de91b)['setAlpha'](0.2)[_0x2b7cd0(0x16d)](),_0x466e59=new p[(_0x2b7cd0(0x305))](ut+a['Tools'][_0x2b7cd0(0x2b3)](k),{'pointsGroup':_0x35bd60,'fill':_0x24d304||p[_0x2b7cd0(0x224)](a[_0x2b7cd0(0x2e6)][_0x2b7cd0(0x2e7)],0.2),'left':_0x2fc499,'top':_0x3bbc77,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2b7cd0(0x372)][_0x2b7cd0(0x3e8)](_0x466e59),this[_0x2b7cd0(0x280)][_0x2b7cd0(0x31c)](_0x466e59,b[_0x2b7cd0(0x2d0)]);}[_0x5b8990(0x314)](_0x287612,_0x134c4e,_0x506fef,_0x3b2b13){const _0x1b6dbf=_0x5b8990,_0x50dbec=new a[(_0x1b6dbf(0x1b6))](_0x287612)[_0x1b6dbf(0x1cb)](0.2)['toRgbString'](),_0x557864=new p[(_0x1b6dbf(0x305))](dt+a[_0x1b6dbf(0x270)][_0x1b6dbf(0x2b3)](k),{'pointsGroup':_0x134c4e,'fill':_0x50dbec||p[_0x1b6dbf(0x224)](a[_0x1b6dbf(0x2e6)][_0x1b6dbf(0x2e7)],0.2),'left':_0x506fef,'top':_0x3b2b13,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1b6dbf(0x372)][_0x1b6dbf(0x3e8)](_0x557864),this['_scene'][_0x1b6dbf(0x31c)](_0x557864,b[_0x1b6dbf(0x2d0)]);}[_0x5b8990(0x381)](_0x5590d2){const _0x5cbade=_0x5590d2[0x0],_0x13df55=_0x5cbade[0x0],_0x20c5f0=_0x5cbade[0x2],{x:_0x130fd0,y:_0x217564}=_0x13df55,{x:_0x38a7aa,y:_0x52685c}=_0x20c5f0;return{'left':_0x130fd0,'top':_0x217564,'width':_0x38a7aa-_0x130fd0,'height':_0x52685c-_0x217564};}['_getScale'](){const _0x260ac6=_0x5b8990,{scaleX:_0x4b88ec,scaleY:_0x1bde10}=this[_0x260ac6(0x280)][_0x260ac6(0x217)]();return Math['max'](_0x4b88ec,_0x1bde10);}}var vt=Object['getOwnPropertyDescriptor'],gt=(_0x22b581,_0x1c3c9b,_0xa76d1f,_0x5093a2)=>{const _0x2bdd4b=_0x5b8990;for(var _0x22b58d=_0x5093a2>0x1?void 0x0:_0x5093a2?vt(_0x1c3c9b,_0xa76d1f):_0x1c3c9b,_0x1a2879=_0x22b581[_0x2bdd4b(0x3e7)]-0x1,_0x23d67c;_0x1a2879>=0x0;_0x1a2879--)(_0x23d67c=_0x22b581[_0x1a2879])&&(_0x22b58d=_0x23d67c(_0x22b58d)||_0x22b58d);return _0x22b58d;},V=(_0x3317ec,_0x40465e)=>(_0x2fe043,_0x53b0e1)=>_0x40465e(_0x2fe043,_0x53b0e1,_0x3317ec);let ve=class extends a[_0x5b8990(0x3d0)]{constructor(_0x3a8e79,_0x1384da,_0x5c0450,_0x4dbf37,_0x2e274b){const _0x1a6c30=_0x5b8990;super(),_(this,_0x1a6c30(0x187),[]),_(this,_0x1a6c30(0x3ba),[]),(this[_0x1a6c30(0x3b3)]=_0x3a8e79,this[_0x1a6c30(0x338)]=_0x1384da,this[_0x1a6c30(0x256)]=_0x5c0450,this[_0x1a6c30(0x20b)]=_0x4dbf37,this[_0x1a6c30(0x31d)]=_0x2e274b,this[_0x1a6c30(0x2c4)]());}['_init'](){const _0x9f5957=_0x5b8990,_0x5db9be=this[_0x9f5957(0x3b3)][_0x9f5957(0x39c)],_0x18b8d6=this[_0x9f5957(0x338)];this[_0x9f5957(0x2ee)](d[_0x9f5957(0x323)]([this[_0x9f5957(0x256)][_0x9f5957(0x331)](_0x5db9be),this['_themeService'][_0x9f5957(0x205)]])[_0x9f5957(0x27c)]($[_0x9f5957(0x26f)](([_0x3617d7,_0x3fe4d7])=>({'skeleton':_0x18b8d6['getSkeleton'](),'cursors':[..._0x3617d7[_0x9f5957(0x2a6)]()][_0x9f5957(0x309)](_0x52b4ed=>({..._0x52b4ed,'color':_0x3fe4d7[_0x52b4ed['color']]}))})))[_0x9f5957(0x1f0)](_0x16d9c2=>{const _0x43e870=_0x9f5957;if(this['_removeCollabCursors'](),_0x16d9c2){const {skeleton:_0x4f5187,cursors:_0x5b8275}=_0x16d9c2;this[_0x43e870(0x2b5)](_0x4f5187,_0x5b8275);}})),this[_0x9f5957(0x20a)](),this[_0x9f5957(0x39e)]();}['_updateCollabCursors'](_0x1896e6,_0x17e187){const _0x52c498=_0x5b8990,{scene:_0x2a99ae,mainComponent:_0x4c1525}=this[_0x52c498(0x3b3)],_0x4940ba=_0x17e187[_0x52c498(0x26f)](_0x4972ec=>new Ue(_0x4972ec,_0x2a99ae,_0x1896e6,_0x4c1525));this['_cursorShapes']=_0x4940ba,this[_0x52c498(0x3ba)]=_0x17e187;}[_0x5b8990(0x302)](){const _0x44a4f5=_0x5b8990;this[_0x44a4f5(0x2aa)]();const {scene:_0x5c7d40,mainComponent:_0x29b214}=this[_0x44a4f5(0x3b3)],_0xfc24e4=this[_0x44a4f5(0x338)][_0x44a4f5(0x1a5)](),_0x83a5bf=this[_0x44a4f5(0x3ba)][_0x44a4f5(0x26f)](_0x319c48=>new Ue(_0x319c48,_0x5c7d40,_0xfc24e4,_0x29b214));this[_0x44a4f5(0x187)]=_0x83a5bf;}[_0x5b8990(0x2aa)](){const _0x1f76b1=_0x5b8990;this[_0x1f76b1(0x187)]['forEach'](_0xc36276=>_0xc36276[_0x1f76b1(0x232)]()),this[_0x1f76b1(0x187)]=[];}['_initCommandExecutedListener'](){const _0x1286da=_0x5b8990,_0x3eff02=[b[_0x1286da(0x198)]['id']];this['disposeWithMe'](this[_0x1286da(0x20b)][_0x1286da(0x23b)](_0x387f94=>{const _0x36c4ae=_0x1286da;_0x3eff02[_0x36c4ae(0x18a)](_0x387f94['id'])&&_0x387f94[_0x36c4ae(0x3a3)][_0x36c4ae(0x39c)]===this[_0x36c4ae(0x3b3)][_0x36c4ae(0x39c)]&&this[_0x36c4ae(0x302)]();}));}[_0x5b8990(0x20a)](){const _0x3042b1=_0x5b8990;this[_0x3042b1(0x2ee)](a['fromEventSubject'](this[_0x3042b1(0x3b3)][_0x3042b1(0x292)]['onTransformChange$'])[_0x3042b1(0x27c)]($[_0x3042b1(0x3db)](_0x79210c=>_0x79210c['type']===p[_0x3042b1(0x225)][_0x3042b1(0x2e8)]),$[_0x3042b1(0x1fd)](0x10))[_0x3042b1(0x1f0)](()=>{const _0x52b2ec=_0x3042b1;this[_0x52b2ec(0x302)]();}));}};ve=gt([V(0x1,a[_0x5b8990(0x25d)](Y[_0x5b8990(0x382)])),V(0x2,a[_0x5b8990(0x25d)](x)),V(0x3,a[_0x5b8990(0x267)]),V(0x4,a[_0x5b8990(0x25d)](a[_0x5b8990(0x234)]))],ve);const mt=0x1,Ct=1.5;class Ae extends p[_0x5b8990(0x2b0)]{constructor(_0x42f7d4,_0x1b93c7){const _0x1d3e24=_0x5b8990;super(_0x42f7d4,_0x1b93c7),_(this,'_color'),_(this,'_hovered',!0x1),_(this,'_range'),_(this,'_name',''),_(this,'_labelPosition',_0x1d3e24(0x365)),_(this,_0x1d3e24(0x284)),(_0x1b93c7&&this[_0x1d3e24(0x1c8)](_0x1b93c7),this[_0x1d3e24(0x17b)][_0x1d3e24(0x2c1)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x1d3e24(0x1d9)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x5b8990(0x1c8)](_0x265fed){const _0x4de02a=_0x5b8990;var _0x2a6813,_0x474268,_0x401ae8,_0x383ef6,_0x37fa03,_0x391751;this[_0x4de02a(0x32e)]=(_0x2a6813=_0x265fed[_0x4de02a(0x328)])!=null?_0x2a6813:this[_0x4de02a(0x32e)],this[_0x4de02a(0x358)]=(_0x474268=_0x265fed[_0x4de02a(0x2f8)])!=null?_0x474268:this['_hovered'],this[_0x4de02a(0x1cf)]=(_0x401ae8=_0x265fed[_0x4de02a(0x1d4)])!=null?_0x401ae8:this[_0x4de02a(0x1cf)],this[_0x4de02a(0x34a)]=(_0x383ef6=_0x265fed[_0x4de02a(0x29a)])!=null?_0x383ef6:this[_0x4de02a(0x34a)],this['_labelPosition']=(_0x37fa03=_0x265fed[_0x4de02a(0x276)])!=null?_0x37fa03:this[_0x4de02a(0x17d)],this[_0x4de02a(0x284)]=(_0x391751=_0x265fed[_0x4de02a(0x2bf)])!=null?_0x391751:this[_0x4de02a(0x284)],this[_0x4de02a(0x25a)]({'width':_0x265fed['width'],'height':_0x265fed['height']});}['onMouseMove'](_0x1c3d94){const _0x3ed8bc=_0x5b8990,{row:_0x312965,column:_0x253880}=_0x1c3d94;if(_0x312965>=this['_range'][_0x3ed8bc(0x3c8)]&&_0x312965<=this['_range'][_0x3ed8bc(0x341)]&&_0x253880>=this[_0x3ed8bc(0x1cf)]['startColumn']&&_0x253880<=this[_0x3ed8bc(0x1cf)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x5b8990(0x1eb)](_0x459e94){return!0x1;}[_0x5b8990(0x17c)](_0x5adb18){const _0x576bde=_0x5b8990;p[_0x576bde(0x209)][_0x576bde(0x2e4)](_0x5adb18,{'width':this['width'],'height':this['height'],'strokeWidth':Ct,'stroke':this[_0x576bde(0x32e)],'evented':!0x1,'fill':this[_0x576bde(0x284)]}),this[_0x576bde(0x358)]&&(_0x5adb18[_0x576bde(0x244)](),_0x5adb18[_0x576bde(0x195)](0x1,0x0,0x0,0x1,this[_0x576bde(0x18c)],this[_0x576bde(0x17d)]==='bottom'?0x0:-0x14),te['drawWith'](_0x5adb18,{'text':this[_0x576bde(0x34a)],'color':this['_color']}),_0x5adb18['restore']());}}var pt=Object[_0x5b8990(0x184)],bt=(_0x4eb3f6,_0x5c548b,_0x3b899e,_0x260952)=>{const _0x5bcdc3=_0x5b8990;for(var _0x274b58=_0x260952>0x1?void 0x0:_0x260952?pt(_0x5c548b,_0x3b899e):_0x5c548b,_0x4124ff=_0x4eb3f6[_0x5bcdc3(0x3e7)]-0x1,_0x44ac39;_0x4124ff>=0x0;_0x4124ff--)(_0x44ac39=_0x4eb3f6[_0x4124ff])&&(_0x274b58=_0x44ac39(_0x274b58)||_0x274b58);return _0x274b58;},ce=(_0x48ca5c,_0x3fd02e)=>(_0x5e7027,_0x2f672e)=>_0x3fd02e(_0x5e7027,_0x2f672e,_0x48ca5c);const Et=0x1389;let ge=class extends a[_0x5b8990(0x3d0)]{constructor(_0x4666d6,_0x46db4f,_0x123df8,_0xfe3150){const _0x577220=_0x5b8990;super(),_(this,_0x577220(0x3ba),new Set()),_(this,_0x577220(0x186),null),(this['_context']=_0x4666d6,this[_0x577220(0x1e6)]=_0x46db4f,this[_0x577220(0x256)]=_0x123df8,this[_0x577220(0x31d)]=_0xfe3150,this[_0x577220(0x2c4)]());}[_0x5b8990(0x2c4)](){const _0x47a2c0=_0x5b8990;this[_0x47a2c0(0x1e6)]['currentSkeleton$']['pipe']($[_0x47a2c0(0x2dd)](this[_0x47a2c0(0x33a)]),$[_0x47a2c0(0x3c2)](_0x241e1a=>{const _0x31f4d6=_0x47a2c0;if(_0x241e1a){const _0x354767=_0x241e1a['sheetId'];return d[_0x31f4d6(0x323)](this[_0x31f4d6(0x256)][_0x31f4d6(0x331)](this[_0x31f4d6(0x3b3)][_0x31f4d6(0x39c)]),this[_0x31f4d6(0x31d)][_0x31f4d6(0x205)])['pipe']($['map'](([_0x8dab84,_0x41bafd])=>{const _0x38999e=_0x31f4d6,_0xaffdb0=new Map();return _0x8dab84[_0x38999e(0x312)]((_0x15d050,_0x27faee)=>{const _0xa47a78=_0x38999e;if(_0x15d050[_0xa47a78(0x326)]===_0x354767){const _0x2b06cd={..._0x15d050};_0x2b06cd[_0xa47a78(0x328)]=_0x41bafd[_0x15d050['color']],_0xaffdb0[_0xa47a78(0x1a0)](_0x27faee,_0x2b06cd);}}),{'skeleton':_0x241e1a,'cursors':_0xaffdb0};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5592ba,cursors:_0x3ad6b4})=>{const _0x7b28ba=_0x47a2c0;this[_0x7b28ba(0x2aa)](),_0x5592ba&&this[_0x7b28ba(0x2b5)](_0x5592ba,_0x3ad6b4);}),this[_0x47a2c0(0x1e6)][_0x47a2c0(0x25f)]['subscribe'](_0x10ebaa=>{const _0x28973d=_0x47a2c0;if(_0x10ebaa==null)return;const {skeleton:_0x214793}=_0x10ebaa,{scene:_0x1b12fc}=this['_context'];_0x1b12fc[_0x28973d(0x174)][_0x28973d(0x2c1)](a['debounce'](_0x54347a=>{const _0x497061=_0x28973d;var _0xe1356b,_0x37e383;const {offsetX:_0x445eef,offsetY:_0x5a4553}=_0x54347a,{x:_0x172b8e,y:_0x51cb09}=_0x1b12fc['getRelativeToViewportCoord'](p[_0x497061(0x1b3)][_0x497061(0x2da)]([_0x445eef,_0x5a4553])),{scaleX:_0x57ab48,scaleY:_0x2cd1ca}=_0x1b12fc['getAncestorScale'](),_0x10a24d=_0x1b12fc[_0x497061(0x1ca)](p[_0x497061(0x231)][_0x497061(0x1e9)]),_0xe6509b=_0x1b12fc['getVpScrollXYInfoByPosToVp'](p[_0x497061(0x1b3)][_0x497061(0x2da)]([_0x172b8e,_0x51cb09]),_0x10a24d),_0x3dd25a=_0x214793[_0x497061(0x2a4)](_0x445eef,_0x5a4553,_0x57ab48,_0x2cd1ca,_0xe6509b);((_0xe1356b=this[_0x497061(0x186)])==null?void 0x0:_0xe1356b[_0x497061(0x196)])===_0x3dd25a[_0x497061(0x196)]&&((_0x37e383=this['_lastPointer'])==null?void 0x0:_0x37e383['row'])===_0x3dd25a[_0x497061(0x2a0)]||this['_cursors'][_0x497061(0x312)](_0x5f0aa1=>{const _0x464f34=_0x497061;_0x5f0aa1[_0x464f34(0x171)](_0x3dd25a);});},0x64));});}['_updateCollabCursors'](_0x20a1cd,_0xb8e783){const _0x27ee22=_0x5b8990;var _0x17e885;const _0x47ed08=(_0x17e885=this[_0x27ee22(0x1e6)][_0x27ee22(0x3ca)]())==null?void 0x0:_0x17e885[_0x27ee22(0x1e1)];if(!_0x47ed08)return;const _0x8aff16=this[_0x27ee22(0x176)]();if(!_0x8aff16)return;this[_0x27ee22(0x3ba)][_0x27ee22(0x312)](_0x1673b4=>{const _0x3de3d5=_0x27ee22;_0x1673b4[_0x3de3d5(0x1de)]();});const {scene:_0x37a448}=_0x8aff16,_0x888055=Tt(Array[_0x27ee22(0x1dc)](_0xb8e783[_0x27ee22(0x2a6)]()))[_0x27ee22(0x26f)](_0x9a6b26=>{const _0x43f0f2=_0x27ee22,{color:_0x8d2639,range:_0x3d312b,name:_0x13c855,selection:_0x576517,sheetID:_0x273900}=_0x9a6b26,{startColumn:_0x68c339,startRow:_0x4b7cdd,endColumn:_0x3660f4,endRow:_0x29f30e}=_0x3d312b,_0x32a105=G['getCoordByCell'](_0x4b7cdd,_0x68c339,_0x37a448,_0x47ed08),_0x271489=G[_0x43f0f2(0x1f9)](_0x29f30e,_0x3660f4,_0x37a448,_0x47ed08),{columnHeaderHeightAndMarginTop:_0xd33a59}=_0x47ed08,{startX:_0xe6d47d,startY:_0x170843}=_0x32a105,{endX:_0x4892f9,endY:_0x13d6a7}=_0x271489,_0x147a41=_0x4892f9-_0xe6d47d,_0x43d4c7=_0x13d6a7-_0x170843,_0x1e8e46={'labelPosition':_0x170843-_0xd33a59>=K?_0x43f0f2(0x365):_0x43f0f2(0x2fc),'sheetID':_0x273900,'range':_0x3d312b,'color':_0x8d2639,'name':_0x13c855,'selection':_0x576517,'left':_0xe6d47d,'top':_0x170843,'width':_0x147a41,'height':_0x43d4c7,'evented':!0x1,'zIndex':Et};return new Ae(_0x13c855,_0x1e8e46);});_0x37a448[_0x27ee22(0x30e)](_0x888055,mt),this[_0x27ee22(0x3ba)]=new Set(_0x888055);}[_0x5b8990(0x2aa)](){const _0x46ed28=_0x5b8990;var _0x19cf7b;(_0x19cf7b=this[_0x46ed28(0x3ba)])==null||_0x19cf7b[_0x46ed28(0x312)](_0x2f4ee3=>_0x2f4ee3[_0x46ed28(0x232)]());}[_0x5b8990(0x176)](){const _0x220c17=_0x5b8990;return G[_0x220c17(0x1e2)](this['_context']['unit'],this['_context']);}};ge=bt([ce(0x1,a[_0x5b8990(0x25d)](G[_0x5b8990(0x1ba)])),ce(0x2,a[_0x5b8990(0x25d)](x)),ce(0x3,a['Inject'](a[_0x5b8990(0x234)]))],ge);function Tt(_0x1d5a85){const _0x4afc8a=_0x5b8990,_0x159de1=new Map();return _0x1d5a85[_0x4afc8a(0x312)](_0x1d5bbd=>{const _0x4796b2=_0x4afc8a;if(_0x159de1['has'](_0x1d5bbd[_0x4796b2(0x342)])){const _0x58062b=_0x159de1['get'](_0x1d5bbd['selection']);_0x58062b[_0x4796b2(0x29a)]+=',\x20'+_0x1d5bbd[_0x4796b2(0x29a)];}else _0x159de1[_0x4796b2(0x1a0)](_0x1d5bbd[_0x4796b2(0x342)],_0x1d5bbd);}),Array[_0x4afc8a(0x1dc)](_0x159de1[_0x4afc8a(0x2a6)]());}var E=function(){const _0x273e32=_0x5b8990;return E=Object[_0x273e32(0x2c6)]||function(_0x3e1887){const _0x39c4c0=_0x273e32;for(var _0x124956,_0x4cb317=0x1,_0x51c982=arguments[_0x39c4c0(0x3e7)];_0x4cb317<_0x51c982;_0x4cb317++){_0x124956=arguments[_0x4cb317];for(var _0x5a9454 in _0x124956)Object[_0x39c4c0(0x1ef)][_0x39c4c0(0x3a2)][_0x39c4c0(0x2d9)](_0x124956,_0x5a9454)&&(_0x3e1887[_0x5a9454]=_0x124956[_0x5a9454]);}return _0x3e1887;},E[_0x273e32(0x26a)](this,arguments);},Ot=function(_0x2cbb43,_0x322f87){const _0x397475=_0x5b8990;var _0xb501ac={};for(var _0x467798 in _0x2cbb43)Object[_0x397475(0x1ef)][_0x397475(0x3a2)]['call'](_0x2cbb43,_0x467798)&&_0x322f87['indexOf'](_0x467798)<0x0&&(_0xb501ac[_0x467798]=_0x2cbb43[_0x467798]);if(_0x2cbb43!=null&&typeof Object['getOwnPropertySymbols']==_0x397475(0x2e2)){for(var _0x54267e=0x0,_0x467798=Object[_0x397475(0x2cd)](_0x2cbb43);_0x54267e<_0x467798['length'];_0x54267e++)_0x322f87['indexOf'](_0x467798[_0x54267e])<0x0&&Object[_0x397475(0x1ef)][_0x397475(0x253)][_0x397475(0x2d9)](_0x2cbb43,_0x467798[_0x54267e])&&(_0xb501ac[_0x467798[_0x54267e]]=_0x2cbb43[_0x467798[_0x54267e]]);}return _0xb501ac;},be=M[_0x5b8990(0x2d7)](function(_0x2f81ed,_0x34b6a5){const _0x30e147=_0x5b8990;var _0x4c2762=_0x2f81ed[_0x30e147(0x1d3)],_0x53dfd0=_0x2f81ed['id'],_0x3f6088=_0x2f81ed[_0x30e147(0x2dc)],_0x2e3ded=_0x2f81ed[_0x30e147(0x355)],_0x35dfbf=Ot(_0x2f81ed,[_0x30e147(0x1d3),'id','className',_0x30e147(0x355)]),_0x519d56='univerjs-icon\x20univerjs-icon-'[_0x30e147(0x2de)](_0x53dfd0,'\x20')[_0x30e147(0x2de)](_0x3f6088||'')['trim'](),_0x1a5ac0=M[_0x30e147(0x2be)]('_'[_0x30e147(0x2de)](Ut()));return ye(_0x4c2762,''[_0x30e147(0x2de)](_0x53dfd0),{'defIds':_0x4c2762[_0x30e147(0x389)],'idSuffix':_0x1a5ac0[_0x30e147(0x27e)]},E({'ref':_0x34b6a5,'className':_0x519d56},_0x35dfbf),_0x2e3ded);});function ye(_0x2d7a8d,_0x4e8adf,_0x28aa8d,_0x11200c,_0x14944e){const _0x242265=_0x5b8990;return M['createElement'](_0x2d7a8d['tag'],E(E({'key':_0x4e8adf},Rt(_0x2d7a8d,_0x28aa8d,_0x14944e)),_0x11200c),(Dt(_0x2d7a8d,_0x28aa8d)[_0x242265(0x22b)]||[])['map'](function(_0x20c6cf,_0x28491c){const _0x49695c=_0x242265;return ye(_0x20c6cf,''[_0x49695c(0x2de)](_0x4e8adf,'-')[_0x49695c(0x2de)](_0x2d7a8d[_0x49695c(0x207)],'-')['concat'](_0x28491c),_0x28aa8d,void 0x0,_0x14944e);}));}function Rt(_0x19e9e9,_0x4b58ed,_0xf6f47c){const _0x15fa52=_0x5b8990;var _0x2e4d7d=E({},_0x19e9e9[_0x15fa52(0x2a3)]);_0xf6f47c!=null&&_0xf6f47c[_0x15fa52(0x311)]&&_0x2e4d7d[_0x15fa52(0x2ff)]===_0x15fa52(0x311)&&(_0x2e4d7d['fill']=_0xf6f47c[_0x15fa52(0x311)]),_0x19e9e9[_0x15fa52(0x207)]==='mask'&&_0x2e4d7d['id']&&(_0x2e4d7d['id']=_0x2e4d7d['id']+_0x4b58ed[_0x15fa52(0x2a7)]),Object[_0x15fa52(0x1b8)](_0x2e4d7d)[_0x15fa52(0x312)](function(_0x5859ce){const _0x186446=_0x15fa52;var _0x17faaf=_0x5859ce[0x0],_0xf1248c=_0x5859ce[0x1];_0x17faaf==='mask'&&typeof _0xf1248c==_0x186446(0x300)&&(_0x2e4d7d[_0x17faaf]=_0xf1248c[_0x186446(0x344)](/url\(#(.*)\)/,_0x186446(0x32c)[_0x186446(0x2de)](_0x4b58ed[_0x186446(0x2a7)],')')));});var _0x5d3a4f=_0x4b58ed[_0x15fa52(0x389)];return!_0x5d3a4f||_0x5d3a4f[_0x15fa52(0x3e7)]===0x0||(_0x19e9e9['tag']==='use'&&_0x2e4d7d[_0x15fa52(0x348)]&&(_0x2e4d7d[_0x15fa52(0x348)]=_0x2e4d7d[_0x15fa52(0x348)]+_0x4b58ed[_0x15fa52(0x2a7)]),Object['entries'](_0x2e4d7d)['forEach'](function(_0x25213e){const _0x5f144a=_0x15fa52;var _0x474166=_0x25213e[0x0],_0x1ddfb0=_0x25213e[0x1];typeof _0x1ddfb0==_0x5f144a(0x300)&&(_0x2e4d7d[_0x474166]=_0x1ddfb0['replace'](/url\(#(.*)\)/,_0x5f144a(0x32c)[_0x5f144a(0x2de)](_0x4b58ed[_0x5f144a(0x2a7)],')')));})),_0x2e4d7d;}function Dt(_0x5b3b70,_0x177b02){const _0x520f34=_0x5b8990;var _0x349240,_0x171e01=_0x177b02['defIds'];return!_0x171e01||_0x171e01[_0x520f34(0x3e7)]===0x0?_0x5b3b70:_0x5b3b70[_0x520f34(0x207)]===_0x520f34(0x3af)&&(!((_0x349240=_0x5b3b70[_0x520f34(0x22b)])===null||_0x349240===void 0x0)&&_0x349240[_0x520f34(0x3e7)])?E(E({},_0x5b3b70),{'children':_0x5b3b70[_0x520f34(0x22b)][_0x520f34(0x26f)](function(_0x9ecc8f){const _0x2f7c31=_0x520f34;return typeof _0x9ecc8f[_0x2f7c31(0x2a3)]['id']=='string'&&_0x171e01&&_0x171e01['indexOf'](_0x9ecc8f['attrs']['id'])>-0x1?E(E({},_0x9ecc8f),{'attrs':E(E({},_0x9ecc8f[_0x2f7c31(0x2a3)]),{'id':_0x9ecc8f['attrs']['id']+_0x177b02[_0x2f7c31(0x2a7)]})}):_0x9ecc8f;})}):_0x5b3b70;}function Ut(){const _0x3098f8=_0x5b8990;return Math[_0x3098f8(0x37e)]()[_0x3098f8(0x27b)](0x24)[_0x3098f8(0x28a)](0x2,0x8);}be[_0x5b8990(0x26e)]=_0x5b8990(0x26b);var Nt={'tag':'svg','attrs':{'fill':_0x5b8990(0x33f),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x5b8990(0x172)},'children':[{'tag':'g','attrs':{'clipPath':_0x5b8990(0x245)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5b8990(0x1d5),'strokeLinecap':_0x5b8990(0x22f),'strokeLinejoin':_0x5b8990(0x22f),'strokeWidth':1.2}}]},{'tag':_0x5b8990(0x3af),'attrs':{},'children':[{'tag':_0x5b8990(0x396),'attrs':{'id':_0x5b8990(0x291)},'children':[{'tag':_0x5b8990(0x2ca),'attrs':{'fill':'#fff','d':_0x5b8990(0x18d)}}]}]}],'defIds':[_0x5b8990(0x291)]},$e=M['forwardRef'](function(_0x47c565,_0x399d82){const _0xff8334=_0x5b8990;return M[_0xff8334(0x3dc)](be,Object[_0xff8334(0x2c6)]({},_0x47c565,{'id':_0xff8334(0x1ed),'ref':_0x399d82,'icon':Nt}));});$e['displayName']=_0x5b8990(0x28d);var Mt={'tag':_0x5b8990(0x22d),'attrs':{'fill':_0x5b8990(0x33f),'viewBox':_0x5b8990(0x24f),'width':_0x5b8990(0x172),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5b8990(0x298)},'children':[{'tag':'path','attrs':{'stroke':_0x5b8990(0x1ee),'d':_0x5b8990(0x185),'strokeLinecap':_0x5b8990(0x22f),'strokeLinejoin':_0x5b8990(0x22f),'strokeWidth':1.2}}]},{'tag':_0x5b8990(0x3af),'attrs':{},'children':[{'tag':_0x5b8990(0x396),'attrs':{'id':_0x5b8990(0x30a)},'children':[{'tag':_0x5b8990(0x2ca),'attrs':{'fill':_0x5b8990(0x249),'d':_0x5b8990(0x18d),'transform':_0x5b8990(0x21e)}}]}]}],'defIds':[_0x5b8990(0x30a)]},xe=M[_0x5b8990(0x2d7)](function(_0x20785a,_0x2c9d76){const _0x31b09a=_0x5b8990;return M[_0x31b09a(0x3dc)](be,Object[_0x31b09a(0x2c6)]({},_0x20785a,{'id':'on-line-single','ref':_0x2c9d76,'icon':Mt}));});xe[_0x5b8990(0x26e)]='OnLineSingle';const Lt=_0x5b8990(0x1a7),Pt=_0x5b8990(0x18b),wt=_0x5b8990(0x179),At=_0x5b8990(0x3f6),yt=_0x5b8990(0x38d),H={'onlineStatusIcon':Lt,'onlineStatusTitle':Pt,'onlineStatus':wt,'online':At,'offline':yt};function $t(_0x3e6285){const _0x598fe1=_0x5b8990;switch(_0x3e6285){case u[_0x598fe1(0x36d)]['OFFLINE']:return _0x598fe1(0x30c);case u[_0x598fe1(0x36d)][_0x598fe1(0x2d6)]:return _0x598fe1(0x369);case u[_0x598fe1(0x36d)]['FETCH_MISS']:return'collabStatus.fetchMiss';case u[_0x598fe1(0x36d)]['NOT_COLLAB']:return _0x598fe1(0x379);case u[_0x598fe1(0x36d)][_0x598fe1(0x31e)]:case u[_0x598fe1(0x36d)][_0x598fe1(0x268)]:return _0x598fe1(0x35a);case u['CollaborationStatus'][_0x598fe1(0x37b)]:case u[_0x598fe1(0x36d)][_0x598fe1(0x28f)]:return _0x598fe1(0x35c);}}function je(_0xcf9e9){const _0x12616d=_0x5b8990,{status$:_0x84c67e}=_0xcf9e9,_0x392d2b=O[_0x12616d(0x273)](_0x84c67e,u[_0x12616d(0x36d)][_0x12616d(0x322)]),_0x169859=O[_0x12616d(0x1d8)](a[_0x12616d(0x175)]),_0x347943=O[_0x12616d(0x1d8)](u['CollaborationSessionService']),_0x52bd7b=_0x392d2b!==u[_0x12616d(0x36d)][_0x12616d(0x388)],_0xe9a9fc=_0x169859['t']($t(_0x392d2b)),_0xb76f01=T['clsx'](H[_0x12616d(0x192)],{[H[_0x12616d(0x3d7)]]:_0x52bd7b,[H[_0x12616d(0x282)]]:!_0x52bd7b}),_0x279bf9=_0x52bd7b?P['jsx'](xe,{}):P[_0x12616d(0x343)]($e,{}),_0x38e33a=M[_0x12616d(0x3c3)](()=>{const _0x407c28=_0x12616d;_0x52bd7b||_0x347943[_0x407c28(0x169)]();},[_0x52bd7b,_0x347943]);function _0x5ca404(){const _0x2ef002=_0x12616d;return P['jsxs'](_0x2ef002(0x340),{'className':T[_0x2ef002(0x2c0)](_0xb76f01,_0x2ef002(0x2c5)),'onClick':_0x38e33a,'children':[P[_0x2ef002(0x343)](_0x2ef002(0x340),{'className':H['onlineStatusIcon'],'children':_0x279bf9}),P['jsx']('div',{'className':H['onlineStatusTitle'],'children':_0xe9a9fc})]});}return _0x52bd7b?_0x5ca404():P[_0x12616d(0x343)](T['Tooltip'],{'title':_0x169859['t'](_0x12616d(0x397)),'children':_0x5ca404()});}var xt=Object[_0x5b8990(0x184)],jt=(_0xf9985d,_0x52de0,_0x1fe95f,_0x9041a2)=>{const _0x29fb5e=_0x5b8990;for(var _0x42132e=_0x9041a2>0x1?void 0x0:_0x9041a2?xt(_0x52de0,_0x1fe95f):_0x52de0,_0x415022=_0xf9985d[_0x29fb5e(0x3e7)]-0x1,_0x41a31e;_0x415022>=0x0;_0x415022--)(_0x41a31e=_0xf9985d[_0x415022])&&(_0x42132e=_0x41a31e(_0x42132e)||_0x42132e);return _0x42132e;},X=(_0x937395,_0x50a273)=>(_0xd4d2d4,_0x599b45)=>_0x50a273(_0xd4d2d4,_0x599b45,_0x937395);exports[_0x5b8990(0x2df)]=class extends a[_0x5b8990(0x19a)]{constructor(_0x2792ba,_0x36e994,_0x5498ae,_0x3b72cd){const _0x5e7724=_0x5b8990;super(),_(this,_0x5e7724(0x385),new d[(_0x5e7724(0x3e4))](u[_0x5e7724(0x36d)][_0x5e7724(0x322)])),(this[_0x5e7724(0x2d5)]=_0x2792ba,this[_0x5e7724(0x1a8)]=_0x36e994,this[_0x5e7724(0x240)]=_0x5498ae,this['_uiPartsService']=_0x3b72cd,this['_initStatusComponent'](),this[_0x5e7724(0x1bf)]());}[_0x5b8990(0x1bf)](){const _0x24193a=_0x5b8990;this[_0x24193a(0x2ee)](this[_0x24193a(0x2d5)][_0x24193a(0x1c0)][_0x24193a(0x27c)](d[_0x24193a(0x3c2)](()=>{const _0x41662b=_0x24193a,_0x154943=this[_0x41662b(0x2d5)]['getFocusedUnit']();return _0x154943?this[_0x41662b(0x240)][_0x41662b(0x35b)](_0x154943[_0x41662b(0x257)]()):d['of'](null);}),d[_0x24193a(0x3c2)](_0x579930=>_0x579930?_0x579930[_0x24193a(0x3f3)]:d['of'](u[_0x24193a(0x36d)][_0x24193a(0x322)])))[_0x24193a(0x1f0)](_0x550352=>{const _0x4154bb=_0x24193a;this[_0x4154bb(0x385)][_0x4154bb(0x2c7)](_0x550352);}));}[_0x5b8990(0x3a6)](){const _0x4863e4=_0x5b8990;this['disposeWithMe'](this[_0x4863e4(0x332)][_0x4863e4(0x258)](O[_0x4863e4(0x2f9)]['HEADER_MENU'],()=>O[_0x4863e4(0x3b7)](Bt({'status$':this['_status$']['asObservable']()}),this[_0x4863e4(0x1a8)])));}},exports[_0x5b8990(0x2df)]=jt([X(0x0,a[_0x5b8990(0x35f)]),X(0x1,a[_0x5b8990(0x25d)](a[_0x5b8990(0x39d)])),X(0x2,a[_0x5b8990(0x25d)](u[_0x5b8990(0x214)])),X(0x3,O['IUIPartsService'])],exports[_0x5b8990(0x2df)]);function Bt(_0x32a2d6){const {status$:_0x54e83a}=_0x32a2d6;return function(){const _0x57d4bc=_0x18a2;return P[_0x57d4bc(0x343)](je,{'status$':_0x54e83a});};}var kt=Object[_0x5b8990(0x184)],Ht=(_0x787544,_0x4d90c9,_0x113add,_0x5d5ede)=>{const _0x33cf68=_0x5b8990;for(var _0x3928a3=_0x5d5ede>0x1?void 0x0:_0x5d5ede?kt(_0x4d90c9,_0x113add):_0x4d90c9,_0x4e01be=_0x787544[_0x33cf68(0x3e7)]-0x1,_0x401393;_0x4e01be>=0x0;_0x4e01be--)(_0x401393=_0x787544[_0x4e01be])&&(_0x3928a3=_0x401393(_0x3928a3)||_0x3928a3);return _0x3928a3;},y=(_0x417ecb,_0x49b522)=>(_0x4e1c6d,_0x3814bd)=>_0x49b522(_0x4e1c6d,_0x3814bd,_0x417ecb);let z=class extends a[_0x5b8990(0x19a)]{constructor(_0x1d047f,_0xb64b8a,_0x2f31e7,_0xb49300,_0x35f330,_0x2a97be){const _0x1bf13f=_0x5b8990;super(),this[_0x1bf13f(0x191)]=_0x1d047f,this['_localCacheService']=_0xb64b8a,this['_collaborationUIEventService']=_0x2f31e7,this[_0x1bf13f(0x3e2)]=_0xb49300,this['_notificationService']=_0x35f330,this[_0x1bf13f(0x36a)]=_0x2a97be,this[_0x1bf13f(0x2bb)](),this[_0x1bf13f(0x2fe)]();}[_0x5b8990(0x2bb)](){const _0x2446ee=_0x5b8990;this[_0x2446ee(0x2ee)](this[_0x2446ee(0x191)][_0x2446ee(0x2f6)](()=>{const _0x1d62c1=_0x2446ee;if(this[_0x1d62c1(0x3d5)][_0x1d62c1(0x1c9)]['size'])return this['_localeService']['t'](_0x1d62c1(0x219));}));}[_0x5b8990(0x2fe)](){const _0x3d8bc6=_0x5b8990;this['disposeWithMe'](this[_0x3d8bc6(0x3b9)][_0x3d8bc6(0x290)][_0x3d8bc6(0x1f0)](_0x5c57da=>{const _0x3bf086=_0x3d8bc6;_0x5c57da['id']===u[_0x3bf086(0x247)]['OTHER_CLIENT_EDITING']&&this[_0x3bf086(0x3e2)][_0x3bf086(0x289)]({'type':T[_0x3bf086(0x352)][_0x3bf086(0x35d)],'content':this[_0x3bf086(0x36a)]['t'](_0x3bf086(0x266))}),_0x5c57da['id']===u['CollaborationUIEventId'][_0x3bf086(0x2b2)]&&this[_0x3bf086(0x3e2)][_0x3bf086(0x289)]({'type':T[_0x3bf086(0x352)][_0x3bf086(0x35d)],'content':this[_0x3bf086(0x36a)]['t'](_0x3bf086(0x2cf))}),_0x5c57da['id']===u['CollaborationUIEventId'][_0x3bf086(0x2fd)]&&this[_0x3bf086(0x243)]['show']({'title':this[_0x3bf086(0x36a)]['t'](_0x3bf086(0x307)),'content':this['_localeService']['t'](_0x3bf086(0x248)),'type':_0x3bf086(0x1e5),'duration':0x0}),_0x5c57da['id']===u[_0x3bf086(0x247)][_0x3bf086(0x2d6)]&&this['_messageService'][_0x3bf086(0x289)]({'type':T['MessageType'][_0x3bf086(0x274)],'content':this['_localeService']['t'](_0x3bf086(0x2cf))+'('+_0x5c57da['data']+')'}),_0x5c57da['id']===u[_0x3bf086(0x247)][_0x3bf086(0x353)]&&this['_messageService']['show']({'type':T[_0x3bf086(0x352)][_0x3bf086(0x35d)],'content':this[_0x3bf086(0x36a)]['t'](_0x5c57da[_0x3bf086(0x1ea)]||'')}),_0x5c57da['id']===u[_0x3bf086(0x247)][_0x3bf086(0x17f)]&&this['_messageService'][_0x3bf086(0x289)]({'type':T[_0x3bf086(0x352)]['Warning'],'content':this['_localeService']['t'](_0x3bf086(0x2fb))}),_0x5c57da['id']===u[_0x3bf086(0x247)][_0x3bf086(0x233)]&&this['_messageService'][_0x3bf086(0x289)]({'type':T[_0x3bf086(0x352)][_0x3bf086(0x274)],'content':this[_0x3bf086(0x36a)]['t']('session.connection-failed')}),_0x5c57da['id']===u[_0x3bf086(0x247)][_0x3bf086(0x3b2)]&&this['_messageService']['show']({'type':T[_0x3bf086(0x352)][_0x3bf086(0x274)],'content':this[_0x3bf086(0x36a)]['t'](_0x3bf086(0x380))});}));}};z=Ht([y(0x0,O[_0x5b8990(0x19d)]),y(0x1,u[_0x5b8990(0x246)]),y(0x2,a[_0x5b8990(0x25d)](u[_0x5b8990(0x31a)])),y(0x3,O[_0x5b8990(0x21f)]),y(0x4,O['INotificationService']),y(0x5,a[_0x5b8990(0x25d)](a[_0x5b8990(0x175)]))],z);const Ft=_0x5b8990(0x38e),Ne={},Ee=a[_0x5b8990(0x293)](_0x5b8990(0x37f));var Wt=Object[_0x5b8990(0x184)],Yt=(_0x360bb7,_0x4cb17c,_0x5dd099,_0x4c4d61)=>{const _0xcf48cd=_0x5b8990;for(var _0x11274f=_0x4c4d61>0x1?void 0x0:_0x4c4d61?Wt(_0x4cb17c,_0x5dd099):_0x4cb17c,_0x4961ef=_0x360bb7[_0xcf48cd(0x3e7)]-0x1,_0x337c40;_0x4961ef>=0x0;_0x4961ef--)(_0x337c40=_0x360bb7[_0x4961ef])&&(_0x11274f=_0x337c40(_0x11274f)||_0x11274f);return _0x11274f;},F=(_0x40e9d1,_0xa613e0)=>(_0x1162a9,_0x38bafe)=>_0xa613e0(_0x1162a9,_0x38bafe,_0x40e9d1);exports[_0x5b8990(0x3e0)]=class extends a['RxDisposable']{constructor(_0x5a43f9,_0x107a1a,_0x14ceca,_0x5e18ef,_0xed0f88){const _0x5b0ed2=_0x5b8990;super(),this['_urlService']=_0x5a43f9,this[_0x5b0ed2(0x3eb)]=_0x107a1a,this[_0x5b0ed2(0x20b)]=_0x14ceca,this[_0x5b0ed2(0x16f)]=_0x5e18ef,_0xed0f88?_0xed0f88==null||_0xed0f88[_0x5b0ed2(0x333)]()['then'](()=>this[_0x5b0ed2(0x2c4)]()):(this['_logService']['debug'](_0x5b0ed2(0x241),_0x5b0ed2(0x368)),this['_init']());}async[_0x5b8990(0x2c4)](){const _0x5c3855=_0x5b8990,_0x2185ee=this[_0x5c3855(0x18e)][_0x5c3855(0x357)](_0x5c3855(0x237)),_0x99aac5=this['_urlService'][_0x5c3855(0x357)]('type'),_0x592bee=this['_urlService'][_0x5c3855(0x357)](_0x5c3855(0x1ec));if(!_0x2185ee||!_0x99aac5){this['_logService'][_0x5c3855(0x27f)](_0x5c3855(0x241),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4d5786=await this['_dataLoaderService'][_0x5c3855(0x208)](_0x2185ee,Number(_0x99aac5),_0x592bee);_0x4d5786&&_0x4d5786 instanceof a[_0x5c3855(0x384)]&&this['_setupSubUnitSync'](_0x4d5786);}async['_setupSubUnitSync'](_0x4f2595){const _0x153b56=_0x5b8990;await this[_0x153b56(0x36c)](_0x4f2595),_0x4f2595[_0x153b56(0x264)][_0x153b56(0x27c)](d[_0x153b56(0x2dd)](this[_0x153b56(0x33a)]))[_0x153b56(0x1f0)](_0x4dcd18=>{_0x4dcd18&&this['_updateURLWithCurrentState'](_0x4dcd18);}),this[_0x153b56(0x18e)][_0x153b56(0x33e)][_0x153b56(0x27c)](d[_0x153b56(0x2dd)](this[_0x153b56(0x33a)]))['subscribe'](()=>this[_0x153b56(0x36c)](_0x4f2595));}[_0x5b8990(0x182)](_0x45b628,_0x2c0c4b=!0x1){const _0x5ad369=_0x5b8990,_0x522e2d=this['_urlService'][_0x5ad369(0x357)](_0x5ad369(0x1ec));_0x45b628[_0x5ad369(0x3a4)]()!==_0x522e2d&&this['_urlService'][_0x5ad369(0x1a1)](_0x5ad369(0x1ec),_0x45b628[_0x5ad369(0x3a4)](),_0x2c0c4b);}async[_0x5b8990(0x36c)](_0x35ce53){const _0x3c2276=_0x5b8990;var _0x4e3e4c;const _0x4f1ecd=this[_0x3c2276(0x18e)][_0x3c2276(0x357)]('subunit');if(!_0x4f1ecd||!_0x35ce53['getSheetBySheetId'](_0x4f1ecd)){const _0x2c92cc=_0x35ce53[_0x3c2276(0x26d)]()[0x0],_0x471236=_0x35ce53[_0x3c2276(0x1bc)](_0x2c92cc);if(!_0x471236)return;this[_0x3c2276(0x182)](_0x471236,!0x0),await this['_commandService'][_0x3c2276(0x2ec)](g[_0x3c2276(0x2bc)]['id'],{'unitId':_0x35ce53[_0x3c2276(0x257)](),'subUnitId':_0x2c92cc});return;}((_0x4e3e4c=_0x35ce53[_0x3c2276(0x2b9)]())==null?void 0x0:_0x4e3e4c['getSheetId']())!==_0x4f1ecd&&await this[_0x3c2276(0x20b)][_0x3c2276(0x2ec)](g[_0x3c2276(0x2bc)]['id'],{'unitId':_0x35ce53['getUnitId'](),'subUnitId':_0x4f1ecd});}},exports[_0x5b8990(0x3e0)]=Yt([F(0x0,Ee),F(0x1,a[_0x5b8990(0x1e7)]),F(0x2,a[_0x5b8990(0x267)]),F(0x3,a[_0x5b8990(0x25d)](u['DataLoaderService'])),F(0x4,a[_0x5b8990(0x2c8)](Ke[_0x5b8990(0x3c7)]))],exports['CollaborationDataLoaderController']);function _0x18a2(_0x250035,_0x1ed6ca){const _0x1f87d2=_0x1f87();return _0x18a2=function(_0x18a248,_0x515a61){_0x18a248=_0x18a248-0x167;let _0x55efdf=_0x1f87d2[_0x18a248];return _0x55efdf;},_0x18a2(_0x250035,_0x1ed6ca);}var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x1c642d,_0x349932,_0x599866,_0x4b36ed)=>{for(var _0x49a96e=_0x4b36ed>0x1?void 0x0:_0x4b36ed?Vt(_0x349932,_0x599866):_0x349932,_0x21b97d=_0x1c642d['length']-0x1,_0x58b051;_0x21b97d>=0x0;_0x21b97d--)(_0x58b051=_0x1c642d[_0x21b97d])&&(_0x49a96e=_0x58b051(_0x49a96e)||_0x49a96e);return _0x49a96e;},le=(_0x41deed,_0x58fe05)=>(_0x14c642,_0x50bd84)=>_0x58fe05(_0x14c642,_0x50bd84,_0x41deed);let J=class{constructor(_0x745eb0,_0x26c830,_0x306ce4){const _0x50f3a5=_0x5b8990;this[_0x50f3a5(0x1a8)]=_0x745eb0,this[_0x50f3a5(0x2a1)]=_0x26c830,this[_0x50f3a5(0x1db)]=_0x306ce4;}[_0x5b8990(0x177)](_0x27ebe8){const _0x401143=_0x5b8990;this[_0x401143(0x29e)](_0x27ebe8),this[_0x401143(0x1c7)](_0x27ebe8);}['transformRemoteChangeset'](_0x4f8c9f){const _0x33cbce=_0x5b8990,{unitID:_0x38a479}=_0x4f8c9f,_0x5afe2e=this[_0x33cbce(0x1db)][_0x33cbce(0x212)](_0x38a479)[_0x33cbce(0x204)](b[_0x33cbce(0x324)]),{redoCache:_0x5cba00}=_0x5afe2e[_0x33cbce(0x39a)]();if(_0x5cba00[_0x33cbce(0x3e7)]===0x0)return _0x4f8c9f;let _0x25f100=a[_0x33cbce(0x270)][_0x33cbce(0x21d)](_0x4f8c9f[_0x33cbce(0x310)][0x0]);for(let _0x5d3e59=0x0;_0x5d3e59<_0x5cba00[_0x33cbce(0x3e7)];_0x5d3e59++){const _0x29138f={'id':'doc.mutation.rich-text-editing','params':{..._0x5cba00[_0x5d3e59]}},_0x5d014a=this['_transformService'][_0x33cbce(0x25b)](_0x25f100,_0x29138f,!0x1);if(m[_0x33cbce(0x188)](_0x5d014a))throw _0x5d014a[_0x33cbce(0x1e5)];_0x25f100=_0x5d014a['m1Prime'];}return{...a['Tools']['deepClone'](_0x4f8c9f),'mutations':[_0x25f100]};}[_0x5b8990(0x29e)](_0x19157a){const _0x27fe34=_0x5b8990,{unitID:_0x3e7a4a}=_0x19157a,_0x10f23d=this[_0x27fe34(0x1db)][_0x27fe34(0x212)](_0x3e7a4a)[_0x27fe34(0x204)](b[_0x27fe34(0x324)]),{undoCache:_0x148503,redoCache:_0x23b081}=_0x10f23d[_0x27fe34(0x39a)]();if(_0x148503[_0x27fe34(0x3e7)]===0x0||_0x23b081[_0x27fe34(0x3e7)]===0x0)return;const _0x30b489=[],_0xa461d0=[];let _0x11510f=a[_0x27fe34(0x270)][_0x27fe34(0x21d)](_0x19157a[_0x27fe34(0x310)][0x0]),_0x34c48d=a['Tools']['deepClone'](_0x19157a['mutations'][0x0]);for(let _0x49efb2=_0x148503[_0x27fe34(0x3e7)]-0x1;_0x49efb2>=0x0;_0x49efb2--){const _0x5bdab0={'id':_0x27fe34(0x3ea),'params':{..._0x148503[_0x49efb2]}},_0x40c012={'id':_0x27fe34(0x3ea),'params':{..._0x23b081[_0x49efb2]}},_0x36be8e=this[_0x27fe34(0x2a1)][_0x27fe34(0x25b)](_0x11510f,_0x5bdab0,!0x1),_0x1b0fc1=this[_0x27fe34(0x2a1)][_0x27fe34(0x25b)](_0x34c48d,_0x40c012,!0x1);if(m[_0x27fe34(0x188)](_0x36be8e))throw _0x36be8e['error'];if(m[_0x27fe34(0x188)](_0x1b0fc1))throw _0x1b0fc1['error'];_0x30b489[_0x27fe34(0x2a8)](_0x36be8e['m2Prime'][_0x27fe34(0x3a3)]),_0xa461d0['unshift'](_0x1b0fc1[_0x27fe34(0x2ed)][_0x27fe34(0x3a3)]),_0x11510f=_0x36be8e[_0x27fe34(0x39f)],_0x34c48d=_0x1b0fc1['m1Prime'];}_0x10f23d[_0x27fe34(0x1c6)]({'undoCache':_0x30b489,'redoCache':_0xa461d0});}[_0x5b8990(0x1c7)](_0x347dce){const _0x13f76d=_0x5b8990,{unitID:_0x15452e}=_0x347dce,_0x101ba5=this[_0x13f76d(0x1db)][_0x13f76d(0x212)](_0x15452e)['with'](b[_0x13f76d(0x324)]),_0x343c4a=_0x101ba5[_0x13f76d(0x2c2)]();if(_0x343c4a==null)return;const _0x1a3cd0=[{'id':_0x13f76d(0x3ea),'params':{'unitId':_0x347dce[_0x13f76d(0x299)],'actions':null,'textRanges':[_0x343c4a]}}],_0x3f1a99=this['_transformService'][_0x13f76d(0x319)](_0x347dce,_0x1a3cd0);if(!m[_0x13f76d(0x374)](_0x3f1a99))throw _0x3f1a99['error'];const _0x2e0859=_0x3f1a99['m2Prime'][0x0][_0x13f76d(0x3a3)][_0x13f76d(0x383)];Array['isArray'](_0x2e0859)&&_0x2e0859['length']&&_0x101ba5[_0x13f76d(0x23a)](_0x2e0859[0x0]);}};J=Xt([le(0x0,a[_0x5b8990(0x25d)](a['Injector'])),le(0x1,m[_0x5b8990(0x173)]),le(0x2,p[_0x5b8990(0x28c)])],J);var Gt=Object['getOwnPropertyDescriptor'],qt=(_0x4fb035,_0x57fb90,_0x392a33,_0x1a6d57)=>{const _0x6174a7=_0x5b8990;for(var _0x52ea46=_0x1a6d57>0x1?void 0x0:_0x1a6d57?Gt(_0x57fb90,_0x392a33):_0x57fb90,_0x4eab95=_0x4fb035[_0x6174a7(0x3e7)]-0x1,_0xc31a01;_0x4eab95>=0x0;_0x4eab95--)(_0xc31a01=_0x4fb035[_0x4eab95])&&(_0x52ea46=_0xc31a01(_0x52ea46)||_0x52ea46);return _0x52ea46;},_e=(_0x13ea26,_0x8ea985)=>(_0x4d697a,_0x4e388f)=>_0x8ea985(_0x4d697a,_0x4e388f,_0x13ea26);let Z=class{constructor(_0x29d7b1,_0xa4e41b,_0x5ce355){const _0x248f27=_0x5b8990;this[_0x248f27(0x1a8)]=_0x29d7b1,this[_0x248f27(0x2a1)]=_0xa4e41b,this[_0x248f27(0x3c5)]=_0x5ce355;}[_0x5b8990(0x197)](_0xe753de){const _0x51750d=_0x5b8990;this[_0x51750d(0x1f2)](_0xe753de);}[_0x5b8990(0x38f)](_0x231ce9){const _0x351c55=_0x5b8990,{unitID:_0x3278f3}=_0x231ce9,{collaboration:_0x12e825}=this[_0x351c55(0x3c5)][_0x351c55(0x24c)](_0x3278f3);if(_0x12e825[_0x351c55(0x3e7)]===0x0)return _0x231ce9;let _0x4cbd4c=a[_0x351c55(0x270)]['deepClone'](_0x231ce9[_0x351c55(0x310)][0x0]);for(let _0x223006=0x0;_0x223006<_0x12e825['length'];_0x223006++){const _0x5e7733={'id':_0x351c55(0x3ea),'params':{'unitId':_0x12e825[_0x223006][_0x351c55(0x39c)],..._0x12e825[_0x223006][_0x351c55(0x278)]}},_0x50295b=this[_0x351c55(0x2a1)][_0x351c55(0x25b)](_0x4cbd4c,_0x5e7733,!0x1);if(m[_0x351c55(0x188)](_0x50295b))throw _0x50295b['error'];_0x4cbd4c=_0x50295b['m1Prime'];}return{...a[_0x351c55(0x270)][_0x351c55(0x21d)](_0x231ce9),'mutations':[_0x4cbd4c]};}[_0x5b8990(0x1f2)](_0x37e9a3){const _0x2cf231=_0x5b8990,{unitID:_0x1f469e}=_0x37e9a3,{history:_0x567fa6,collaboration:_0x51521d}=this[_0x2cf231(0x3c5)]['getStateCache'](_0x1f469e);if(_0x567fa6[_0x2cf231(0x3e7)]===0x0&&_0x51521d[_0x2cf231(0x3e7)]===0x0)return;const _0x5e5f7d=[],_0x4d7868=[];let _0x3b956b=a[_0x2cf231(0x270)]['deepClone'](_0x37e9a3[_0x2cf231(0x310)][0x0]),_0x4ead5c=a['Tools'][_0x2cf231(0x21d)](_0x37e9a3[_0x2cf231(0x310)][0x0]);for(let _0x23a247=_0x567fa6[_0x2cf231(0x3e7)]-0x1;_0x23a247>=0x0;_0x23a247--){const _0x51f2e6={'id':_0x2cf231(0x3ea),'params':{'unitId':_0x567fa6[_0x23a247][_0x2cf231(0x39c)],..._0x567fa6[_0x23a247][_0x2cf231(0x2b4)]}},_0xbc6919={'id':_0x2cf231(0x3ea),'params':{'unitId':_0x567fa6[_0x23a247][_0x2cf231(0x39c)],..._0x567fa6[_0x23a247]['redoState']}},_0x3cb3ba=this[_0x2cf231(0x2a1)][_0x2cf231(0x25b)](_0x3b956b,_0x51f2e6,!0x1),_0x2a8c4f=this[_0x2cf231(0x2a1)]['transformMutation'](_0x4ead5c,_0xbc6919,!0x1);if(m[_0x2cf231(0x188)](_0x3cb3ba))throw _0x3cb3ba['error'];if(m[_0x2cf231(0x188)](_0x2a8c4f))throw _0x2a8c4f['error'];_0x5e5f7d['unshift']({..._0x567fa6[_0x23a247],'undoState':_0x3cb3ba[_0x2cf231(0x2ed)][_0x2cf231(0x3a3)],'redoState':_0x2a8c4f[_0x2cf231(0x2ed)]['params']}),_0x3b956b=_0x3cb3ba['m1Prime'],_0x4ead5c=_0x2a8c4f['m1Prime'];}_0x3b956b=a[_0x2cf231(0x270)][_0x2cf231(0x21d)](_0x37e9a3[_0x2cf231(0x310)][0x0]),_0x4ead5c=a['Tools'][_0x2cf231(0x21d)](_0x37e9a3[_0x2cf231(0x310)][0x0]);for(let _0x3c8f3f=_0x51521d['length']-0x1;_0x3c8f3f>=0x0;_0x3c8f3f--){const _0x19503c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x51521d[_0x3c8f3f]['unitId'],..._0x51521d[_0x3c8f3f][_0x2cf231(0x2b4)]}},_0x44c319={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x51521d[_0x3c8f3f][_0x2cf231(0x39c)],..._0x51521d[_0x3c8f3f][_0x2cf231(0x278)]}},_0x5c0697=this[_0x2cf231(0x2a1)][_0x2cf231(0x25b)](_0x3b956b,_0x19503c,!0x1),_0x56e451=this[_0x2cf231(0x2a1)][_0x2cf231(0x25b)](_0x4ead5c,_0x44c319,!0x1);if(m['isTransformMutationFailure'](_0x5c0697))throw _0x5c0697[_0x2cf231(0x1e5)];if(m['isTransformMutationFailure'](_0x56e451))throw _0x56e451['error'];_0x4d7868[_0x2cf231(0x2a8)]({..._0x51521d[_0x3c8f3f],'undoState':_0x5c0697['m2Prime']['params'],'redoState':_0x56e451[_0x2cf231(0x2ed)][_0x2cf231(0x3a3)]}),_0x3b956b=_0x5c0697[_0x2cf231(0x39f)],_0x4ead5c=_0x56e451[_0x2cf231(0x39f)];}this[_0x2cf231(0x3c5)][_0x2cf231(0x1e3)](_0x1f469e,{'history':_0x5e5f7d,'collaboration':_0x4d7868});}};Z=qt([_e(0x0,a[_0x5b8990(0x25d)](a[_0x5b8990(0x39d)])),_e(0x1,m['ITransformService']),_e(0x2,a[_0x5b8990(0x25d)](b['DocStateChangeManagerService']))],Z);var Kt=Object[_0x5b8990(0x184)],zt=(_0x2e19d6,_0x5c8a3,_0x295b9d,_0x57db85)=>{const _0xee97d8=_0x5b8990;for(var _0x26271c=_0x57db85>0x1?void 0x0:_0x57db85?Kt(_0x5c8a3,_0x295b9d):_0x5c8a3,_0x491733=_0x2e19d6[_0xee97d8(0x3e7)]-0x1,_0x3be0cd;_0x491733>=0x0;_0x491733--)(_0x3be0cd=_0x2e19d6[_0x491733])&&(_0x26271c=_0x3be0cd(_0x26271c)||_0x26271c);return _0x26271c;},Me=(_0x35d7d3,_0x22450d)=>(_0x79d284,_0x4d9e1e)=>_0x22450d(_0x79d284,_0x4d9e1e,_0x35d7d3);let Q=class{constructor(_0x55c5d9,_0x236e6f){const _0x53fdb6=_0x5b8990;this['_injector']=_0x55c5d9,this[_0x53fdb6(0x2a1)]=_0x236e6f;}[_0x5b8990(0x16b)](_0x101eff){const _0x3170ca=_0x5b8990;var _0x5aef3c;const _0x115588=this[_0x3170ca(0x1a8)]['get'](Y[_0x3170ca(0x3cf)]),_0x344d77=(_0x5aef3c=_0x115588[_0x3170ca(0x375)]())!=null?_0x5aef3c:[];if(_0x344d77['length']===0x0)return;const _0x1c567a=_0x101eff[_0x3170ca(0x299)],_0x5d9ba4=[{'id':_0x3170ca(0x3ea),'params':{'unitId':_0x1c567a,'actions':null,'textRanges':_0x344d77}}],_0x17b757=this[_0x3170ca(0x2a1)][_0x3170ca(0x319)](_0x101eff,_0x5d9ba4);if(!m[_0x3170ca(0x374)](_0x17b757))throw _0x17b757[_0x3170ca(0x1e5)];const _0x228eb4=_0x17b757['m2Prime'][0x0][_0x3170ca(0x3a3)][_0x3170ca(0x383)];Array[_0x3170ca(0x242)](_0x228eb4)&&_0x228eb4[_0x3170ca(0x3e7)]&&_0x115588[_0x3170ca(0x221)](_0x228eb4,{'unitId':_0x1c567a,'subUnitId':_0x1c567a},!0x1);}};Q=zt([Me(0x0,a[_0x5b8990(0x25d)](a[_0x5b8990(0x39d)])),Me(0x1,m[_0x5b8990(0x173)])],Q);var Jt=Object['getOwnPropertyDescriptor'],Zt=(_0x560c95,_0x3a38cc,_0xe0cf1e,_0xe81bc9)=>{const _0x3b556d=_0x5b8990;for(var _0x5bc113=_0xe81bc9>0x1?void 0x0:_0xe81bc9?Jt(_0x3a38cc,_0xe0cf1e):_0x3a38cc,_0x4ab09c=_0x560c95[_0x3b556d(0x3e7)]-0x1,_0xb5b71a;_0x4ab09c>=0x0;_0x4ab09c--)(_0xb5b71a=_0x560c95[_0x4ab09c])&&(_0x5bc113=_0xb5b71a(_0x5bc113)||_0x5bc113);return _0x5bc113;},N=(_0x20e774,_0x18df22)=>(_0x48b8e4,_0x2fa0d8)=>_0x18df22(_0x48b8e4,_0x2fa0d8,_0x20e774);let ee=class extends a['Disposable']{constructor(_0x4c6e1b,_0x3637fe,_0xf33801,_0x2968ad,_0x336f9f,_0x4059f6,_0x918c68,_0x2fc73c){const _0x57c3df=_0x5b8990;super(),_(this,_0x57c3df(0x385),new d['BehaviorSubject'](u[_0x57c3df(0x36d)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x4c6e1b,this[_0x57c3df(0x240)]=_0x3637fe,this[_0x57c3df(0x238)]=_0xf33801,this[_0x57c3df(0x24d)]=_0x2968ad,this['_docTransformSelectionsService']=_0x336f9f,this[_0x57c3df(0x3a1)]=_0x4059f6,this[_0x57c3df(0x3e2)]=_0x918c68,this[_0x57c3df(0x36a)]=_0x2fc73c,this[_0x57c3df(0x32d)]());}['_initEntityListener'](){const _0x391330=_0x5b8990;this['disposeWithMe'](this['_collaborationController'][_0x391330(0x3d4)][_0x391330(0x1f0)](_0x8856df=>{const _0x667ebc=_0x391330,_0x517cb8=this[_0x667ebc(0x3c5)][_0x667ebc(0x2e3)]['subscribe'](_0x55a4f7=>{const _0x378665=_0x667ebc;if(_0x55a4f7==null)return;const {unitId:_0xeac571,redoState:_0x536573,commandId:_0x22a346}=_0x55a4f7;if(_0xeac571!==_0x8856df[_0x378665(0x299)])return;const _0x4ee75a={'id':_0x22a346,'type':a['CommandType'][_0x378665(0x321)],'params':{'unitId':_0xeac571,'actions':_0x536573['actions'],'textRanges':null}};_0x8856df[_0x378665(0x3b6)](_0x4ee75a);});if(_0x8856df['disposeWithMe'](_0x517cb8),_0x8856df instanceof u['DocCollaborationEntity']){const _0x422ac9={'onTransformIME':_0x53d5fc=>this[_0x667ebc(0x238)][_0x667ebc(0x177)](_0x53d5fc),'onTransformState':_0x205335=>this[_0x667ebc(0x24d)][_0x667ebc(0x197)](_0x205335),'onTransformSelections':_0x64c836=>this[_0x667ebc(0x32b)][_0x667ebc(0x16b)](_0x64c836),'onSyncEditingCollabCursor':_0x553bc2=>this[_0x667ebc(0x3a1)][_0x667ebc(0x16e)](_0x553bc2),'onTransformRemoteChangesetByIMECache':_0x17358b=>this[_0x667ebc(0x238)][_0x667ebc(0x38f)](_0x17358b),'onTransformRemoteChangesetByStateCache':_0x11f3da=>this[_0x667ebc(0x24d)][_0x667ebc(0x38f)](_0x11f3da)};_0x8856df['addHandlerCallback'](_0x422ac9);}}));}};ee=Zt([N(0x0,a[_0x5b8990(0x25d)](b['DocStateChangeManagerService'])),N(0x1,a[_0x5b8990(0x25d)](u['CollaborationController'])),N(0x2,a[_0x5b8990(0x25d)](J)),N(0x3,a[_0x5b8990(0x25d)](Z)),N(0x4,a[_0x5b8990(0x25d)](Q)),N(0x5,a[_0x5b8990(0x25d)](pe)),N(0x6,O[_0x5b8990(0x21f)]),N(0x7,a[_0x5b8990(0x25d)](a[_0x5b8990(0x175)]))],ee);var Qt=Object['getOwnPropertyDescriptor'],es=(_0x1604ef,_0x31d9ba,_0x1c88d5,_0x512c02)=>{for(var _0x254188=_0x512c02>0x1?void 0x0:_0x512c02?Qt(_0x31d9ba,_0x1c88d5):_0x31d9ba,_0xd1ec57=_0x1604ef['length']-0x1,_0x5e51db;_0xd1ec57>=0x0;_0xd1ec57--)(_0x5e51db=_0x1604ef[_0xd1ec57])&&(_0x254188=_0x5e51db(_0x254188)||_0x254188);return _0x254188;},he=(_0x4904a0,_0x36668b)=>(_0x147449,_0x43fd95)=>_0x36668b(_0x147449,_0x43fd95,_0x4904a0);let me=class extends a['Disposable']{constructor(_0x787fe0,_0x2d0901,_0x25ca5e){const _0x3584f1=_0x5b8990;super(),_(this,_0x3584f1(0x2f1),new Map()),_(this,_0x3584f1(0x3a7),new Map()),_(this,_0x3584f1(0x30d),!0x1),(this[_0x3584f1(0x201)]=_0x787fe0,this[_0x3584f1(0x36e)]=_0x2d0901,this[_0x3584f1(0x339)]=_0x25ca5e);}[_0x5b8990(0x230)](){const _0x5d766d=_0x5b8990;this[_0x5d766d(0x30d)]=!0x0;}[_0x5b8990(0x3b8)](){this['_disabled']=!0x1;}get[_0x5b8990(0x1c9)](){const _0x1dc877=_0x5b8990;return this[_0x1dc877(0x3a7)];}[_0x5b8990(0x232)](){const _0x35351e=_0x5b8990;this[_0x35351e(0x370)]()['then'](()=>super[_0x35351e(0x232)]());}async[_0x5b8990(0x1dd)](_0x3a7aaa){const _0x40aa5e=_0x5b8990;return this[_0x40aa5e(0x30d)]?null:this[_0x40aa5e(0x36e)][_0x40aa5e(0x38a)](u['getLocalCacheKey'](_0x3a7aaa));}async[_0x5b8990(0x3c9)](_0x34fcce,_0x1e4a8f){const _0xe11af6=_0x5b8990;return!!this[_0xe11af6(0x36e)][_0xe11af6(0x398)](_0x34fcce,_0x1e4a8f);}['updateOfflineData'](_0x15841c,_0x483b1b,_0x2fe4bf,_0x55ee66){const _0x4d3b16=_0x5b8990,_0x370b43=this[_0x4d3b16(0x339)][_0x4d3b16(0x3a9)](_0x15841c);this[_0x4d3b16(0x2f1)][_0x4d3b16(0x1a0)](_0x15841c,{'unitID':_0x15841c,'type':_0x483b1b,'awaitingChangeset':_0x2fe4bf,'mutations':_0x55ee66,'rev':_0x370b43}),this[_0x4d3b16(0x3a7)][_0x4d3b16(0x181)](_0x15841c)||this[_0x4d3b16(0x37d)](_0x15841c);}['_scheduleSaving'](_0x52d75c){const _0x5cbaa1=_0x5b8990,_0x2ab957=this['_getSaveTimeout']();_0x2ab957===0x0?this[_0x5cbaa1(0x286)](_0x52d75c):this[_0x5cbaa1(0x3a7)][_0x5cbaa1(0x1a0)](_0x52d75c,setTimeout(()=>this[_0x5cbaa1(0x286)](_0x52d75c),_0x2ab957));}['_getSaveTimeout'](){const _0x4fa0d6=_0x5b8990;var _0x744110;return(_0x744110=this[_0x4fa0d6(0x201)]['getConfig'](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x744110:u[_0x4fa0d6(0x3e3)];}['_saveCache'](_0x3d9fbf){const _0x171ae9=_0x5b8990,_0xfa8b9c=this[_0x171ae9(0x3a7)][_0x171ae9(0x2ad)](_0x3d9fbf);return _0xfa8b9c!==void 0x0&&window[_0x171ae9(0x265)](_0xfa8b9c),this['_localStorageService'][_0x171ae9(0x398)](u[_0x171ae9(0x3d6)](_0x3d9fbf),this[_0x171ae9(0x2f1)][_0x171ae9(0x2ad)](_0x3d9fbf))[_0x171ae9(0x3a5)](()=>this[_0x171ae9(0x3a7)][_0x171ae9(0x371)](_0x3d9fbf));}async['exhaustSavingTask'](){const _0x1f6776=_0x5b8990,_0x9a8e22=[];this[_0x1f6776(0x3a7)][_0x1f6776(0x312)]((_0x2fb8bb,_0x574fd6)=>{const _0x156900=_0x1f6776;window[_0x156900(0x265)](_0x2fb8bb),_0x9a8e22['push'](this[_0x156900(0x286)](_0x574fd6)[_0x156900(0x3a5)](()=>{const _0x5db8c9=_0x156900;this[_0x5db8c9(0x3a7)][_0x5db8c9(0x371)](_0x574fd6);}));}),await Promise['all'](_0x9a8e22);}};me=es([he(0x0,a[_0x5b8990(0x239)]),he(0x1,a[_0x5b8990(0x1e4)]),he(0x2,a['Inject'](m[_0x5b8990(0x2f7)]))],me);class Be extends a[_0x5b8990(0x3d0)]{constructor(){const _0x51f063=_0x5b8990;super(),_(this,_0x51f063(0x33e)),this[_0x51f063(0x33e)]=d[_0x51f063(0x378)](window,_0x51f063(0x2fa))['pipe'](d[_0x51f063(0x2dd)](this['dispose$']),d[_0x51f063(0x1ff)](0x1),d[_0x51f063(0x367)](void 0x0));}[_0x5b8990(0x1a1)](_0x1c1f33,_0x5ccd48,_0x379cdb=!0x1){const _0x3245c3=_0x5b8990,_0x183e3b=new URL(window[_0x3245c3(0x283)][_0x3245c3(0x263)]);_0x183e3b[_0x3245c3(0x3da)]['set'](_0x1c1f33,_0x5ccd48),_0x379cdb?window[_0x3245c3(0x1a6)][_0x3245c3(0x334)]('','',_0x183e3b['toString']()):window[_0x3245c3(0x1a6)][_0x3245c3(0x271)]('','',_0x183e3b[_0x3245c3(0x27b)]());}['removeParam'](_0x3d3e56,_0x383b95=!0x1){const _0x2e472e=_0x5b8990,_0x54106b=new URL(window[_0x2e472e(0x283)]['href']);_0x54106b[_0x2e472e(0x3da)][_0x2e472e(0x371)](_0x3d3e56),_0x383b95?window[_0x2e472e(0x1a6)][_0x2e472e(0x334)]('','',_0x54106b[_0x2e472e(0x27b)]()):window[_0x2e472e(0x1a6)][_0x2e472e(0x271)]('','',_0x54106b['toString']());}[_0x5b8990(0x357)](_0x419e7d){const _0x40e3e2=_0x5b8990;var _0x35e83d;return(_0x35e83d=new URL(window['location'][_0x40e3e2(0x263)])[_0x40e3e2(0x3da)][_0x40e3e2(0x2ad)](_0x419e7d))!=null?_0x35e83d:void 0x0;}}var ts=Object['defineProperty'],ss=Object[_0x5b8990(0x184)],ns=(_0x151bf6,_0x454ae9,_0x39bb0c)=>_0x454ae9 in _0x151bf6?ts(_0x151bf6,_0x454ae9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x39bb0c}):_0x151bf6[_0x454ae9]=_0x39bb0c,is=(_0x5ded12,_0x12c550,_0x160baf,_0xf3bae2)=>{const _0x4adb78=_0x5b8990;for(var _0x15e2d0=_0xf3bae2>0x1?void 0x0:_0xf3bae2?ss(_0x12c550,_0x160baf):_0x12c550,_0x2c9e3f=_0x5ded12[_0x4adb78(0x3e7)]-0x1,_0x1246c5;_0x2c9e3f>=0x0;_0x2c9e3f--)(_0x1246c5=_0x5ded12[_0x2c9e3f])&&(_0x15e2d0=_0x1246c5(_0x15e2d0)||_0x15e2d0);return _0x15e2d0;},ue=(_0x188d0a,_0x15cc3c)=>(_0x19b1d3,_0x3f8af7)=>_0x15cc3c(_0x19b1d3,_0x3f8af7,_0x188d0a),rs=(_0x3ddce0,_0x1b3c92,_0x1fef12)=>ns(_0x3ddce0,_0x1b3c92+'',_0x1fef12);const os=_0x5b8990(0x3ac);exports[_0x5b8990(0x3b4)]=class extends a[_0x5b8990(0x1be)]{constructor(_0x6d2d7d=Ne,_0x5c6ed9,_0x16cda8,_0x302197){const _0x4eaf7e=_0x5b8990;super(),this['_config']=_0x6d2d7d,this[_0x4eaf7e(0x1db)]=_0x5c6ed9,this[_0x4eaf7e(0x1a8)]=_0x16cda8,this[_0x4eaf7e(0x201)]=_0x302197;const {..._0x1ce24d}=a[_0x4eaf7e(0x1df)]({},Ne,this[_0x4eaf7e(0x1d2)]);this[_0x4eaf7e(0x201)][_0x4eaf7e(0x294)](Ft,_0x1ce24d);}[_0x5b8990(0x220)](){const _0x47a0ff=_0x5b8990;this[_0x47a0ff(0x168)](),this[_0x47a0ff(0x361)]();}['onRendered'](){const _0x248964=_0x5b8990;this[_0x248964(0x277)]();}[_0x5b8990(0x168)](){const _0x1b5ce9=_0x5b8990;var _0x4f193e;const _0x5a85ee=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':Be}],[q[_0x1b5ce9(0x366)],{'useClass':q[_0x1b5ce9(0x279)]}],[u[_0x1b5ce9(0x246)],{'useClass':me}],[exports[_0x1b5ce9(0x2df)]],[ee],[z],[x],[fe],[exports[_0x1b5ce9(0x3e0)]]];a[_0x1b5ce9(0x20f)](this['_injector'],a[_0x1b5ce9(0x2ba)](_0x5a85ee,(_0x4f193e=this[_0x1b5ce9(0x1d2)])==null?void 0x0:_0x4f193e[_0x1b5ce9(0x39b)]));}[_0x5b8990(0x277)](){const _0xa957ca=_0x5b8990;this[_0xa957ca(0x2ee)](this[_0xa957ca(0x1db)][_0xa957ca(0x316)](a['UniverInstanceType'][_0xa957ca(0x203)],[ve])),this[_0xa957ca(0x2ee)](this['_renderManagerService'][_0xa957ca(0x316)](a[_0xa957ca(0x2ab)][_0xa957ca(0x3bf)],[ge]));}['_initDependencies'](){const _0x44f53a=_0x5b8990;a[_0x44f53a(0x3f1)](this['_injector'],[[x],[exports['DesktopCollaborationStatusDisplayController']],[ee],[z],[exports[_0x44f53a(0x3e0)]]]);}},rs(exports[_0x5b8990(0x3b4)],'pluginName',os),exports[_0x5b8990(0x3b4)]=is([a['DependentOn'](u[_0x5b8990(0x350)]),ue(0x1,p[_0x5b8990(0x28c)]),ue(0x2,a[_0x5b8990(0x25d)](a[_0x5b8990(0x39d)])),ue(0x3,a[_0x5b8990(0x239)])],exports[_0x5b8990(0x3b4)]);var as=Object['getOwnPropertyDescriptor'],cs=(_0x28f7eb,_0x49bca5,_0x5d4e82,_0x56fc0a)=>{const _0x1daeaa=_0x5b8990;for(var _0x4ef9ee=_0x56fc0a>0x1?void 0x0:_0x56fc0a?as(_0x49bca5,_0x5d4e82):_0x49bca5,_0x10e4c2=_0x28f7eb[_0x1daeaa(0x3e7)]-0x1,_0x2e7806;_0x10e4c2>=0x0;_0x10e4c2--)(_0x2e7806=_0x28f7eb[_0x10e4c2])&&(_0x4ef9ee=_0x2e7806(_0x4ef9ee)||_0x4ef9ee);return _0x4ef9ee;},W=(_0x148f8c,_0x2ad0b0)=>(_0xc31bde,_0x59cab8)=>_0x2ad0b0(_0xc31bde,_0x59cab8,_0x148f8c);exports[_0x5b8990(0x200)]=class extends u[_0x5b8990(0x269)]{constructor(_0x8ac370,_0x48b53b,_0x540b1d,_0x4b1f77,_0x4471cc){super(_0x8ac370,_0x48b53b,_0x540b1d,_0x4b1f77,_0x4471cc);}async[_0x5b8990(0x262)](_0x836f8e){const _0x4904c9=_0x5b8990,_0x2dcc3a=await this['_getSessionTicket'](),_0x46f979=this[_0x4904c9(0x1cc)](_0x836f8e,_0x2dcc3a);return this[_0x4904c9(0x1c2)](_0x46f979);}[_0x5b8990(0x1cc)](_0x28f7e3,_0x5db9ee){const _0x337e79=_0x5b8990,_0x189ca3=typeof window>'u'?new URL(_0x28f7e3):new URL(_0x28f7e3,window['location']['origin']);_0x189ca3[_0x337e79(0x3da)][_0x337e79(0x1a0)]('sessionTicket',_0x5db9ee);const _0x49aafc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x337e79(0x283)][_0x337e79(0x3ed)]);return _0x49aafc[_0x337e79(0x2ad)](_0x337e79(0x30b))&&_0x189ca3[_0x337e79(0x3da)][_0x337e79(0x1a0)](_0x337e79(0x30b),_0x49aafc[_0x337e79(0x2ad)](_0x337e79(0x30b))),_0x189ca3[_0x337e79(0x27b)]();}async[_0x5b8990(0x301)](){const _0x51ada9=_0x5b8990;var _0x51abab,_0x1246fa,_0x32daf8;const _0x58de6a=this[_0x51ada9(0x201)][_0x51ada9(0x251)](u[_0x51ada9(0x306)]),_0x5aaf8c=(_0x51abab=_0x58de6a==null?void 0x0:_0x58de6a[_0x51ada9(0x34b)])!=null?_0x51abab:u[_0x51ada9(0x2e5)];return(_0x32daf8=(_0x1246fa=(await this[_0x51ada9(0x1d0)][_0x51ada9(0x2ad)](_0x5aaf8c,{'headers':{'Content-Type':_0x51ada9(0x29f)}}))[_0x51ada9(0x3e1)])==null?void 0x0:_0x1246fa[_0x51ada9(0x236)])!=null?_0x32daf8:'';}},exports[_0x5b8990(0x200)]=cs([W(0x0,a[_0x5b8990(0x25d)](a['Injector'])),W(0x1,a['Inject'](q[_0x5b8990(0x194)])),W(0x2,a[_0x5b8990(0x239)]),W(0x3,a[_0x5b8990(0x1e7)]),W(0x4,m[_0x5b8990(0x1f7)])],exports[_0x5b8990(0x200)]);const Le=0x7530,Pe=_0x5b8990(0x3cd);class ls extends a[_0x5b8990(0x19a)]{constructor(){const _0x52e05b=_0x5b8990;super(),_(this,'_id',a[_0x52e05b(0x2b3)]()),_(this,_0x52e05b(0x2f4),new Set()),_(this,_0x52e05b(0x345),new Map()),_(this,_0x52e05b(0x3aa),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x52e05b(0x21b),new Map()),this[_0x52e05b(0x2c4)]();}[_0x5b8990(0x232)](){const _0x2639bb=_0x5b8990;super['dispose'](),this[_0x2639bb(0x189)][_0x2639bb(0x312)]((_0x21e1da,_0x5548fe)=>this['_removeClearOtherTimer'](_0x5548fe)),this[_0x2639bb(0x3aa)]&&window[_0x2639bb(0x347)](this['_heartbeatTimer']);}[_0x5b8990(0x211)](_0x14f6b4){const _0x44fa9b=_0x5b8990;return this[_0x44fa9b(0x356)](_0x14f6b4)['pipe'](d['distinctUntilChanged']());}[_0x5b8990(0x3b5)](_0x6366c8){const _0x32f4e3=_0x5b8990;this[_0x32f4e3(0x2f4)][_0x32f4e3(0x227)]===0x0&&this[_0x32f4e3(0x29c)](),this[_0x32f4e3(0x2f4)][_0x32f4e3(0x23c)](_0x6366c8),this[_0x32f4e3(0x2b8)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x6366c8],'isForwarded':!0x1});}[_0x5b8990(0x26c)](_0x1e6c5b){const _0x15f6e1=_0x5b8990;this['_selfUnitIDs'][_0x15f6e1(0x371)](_0x1e6c5b),this[_0x15f6e1(0x2f4)][_0x15f6e1(0x227)]===0x0&&this[_0x15f6e1(0x3aa)]&&window['clearInterval'](this[_0x15f6e1(0x3aa)]);}[_0x5b8990(0x2c4)](){const _0x5a48c5=_0x5b8990;this[_0x5a48c5(0x2ee)](a[_0x5a48c5(0x349)](d[_0x5a48c5(0x378)](window,'storage')[_0x5a48c5(0x1f0)](_0x1d25b3=>{const _0x3da87b=_0x5a48c5;if(_0x1d25b3[_0x3da87b(0x327)]!==Pe||!_0x1d25b3['newValue'])return;const _0x934b08=JSON[_0x3da87b(0x31f)](_0x1d25b3['newValue']);this['_handleEvent'](_0x934b08);}))),window[_0x5a48c5(0x3de)](_0x5a48c5(0x229),()=>this[_0x5a48c5(0x2b8)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x5a48c5(0x1dc)](this[_0x5a48c5(0x2f4)])}));}[_0x5b8990(0x1f4)](_0x37794d){const _0x29afdb=_0x5b8990;switch(_0x37794d[_0x29afdb(0x390)]){case 0x0:this[_0x29afdb(0x3dd)](_0x37794d);break;case 0x1:this['_handleLeaveEvent'](_0x37794d);break;case 0x2:this[_0x29afdb(0x21a)](_0x37794d);break;}}['_handleJoinEvent'](_0x5b0c50){const _0x1cdbc0=_0x5b8990,{unitIDs:_0x18ff90,memberID:_0x497878,isForwarded:_0x5de145}=_0x5b0c50;_0x18ff90[_0x1cdbc0(0x312)](_0x5574c3=>{const _0x3a7fab=_0x1cdbc0;if(!_0x5de145&&this['_unitOnClients'][_0x3a7fab(0x181)](_0x5574c3)&&this[_0x3a7fab(0x356)](_0x5574c3)[_0x3a7fab(0x2c7)](u[_0x3a7fab(0x3f2)][_0x3a7fab(0x1ce)]),!this[_0x3a7fab(0x345)][_0x3a7fab(0x181)](_0x5574c3)||!this[_0x3a7fab(0x345)][_0x3a7fab(0x2ad)](_0x5574c3)['has'](_0x497878)){const _0x180bbe=this['_unitOnClients']['get'](_0x5574c3)||new Set();_0x180bbe[_0x3a7fab(0x23c)](_0x497878),this['_unitOnClients'][_0x3a7fab(0x1a0)](_0x5574c3,_0x180bbe),this[_0x3a7fab(0x1b1)](_0x497878);}}),_0x5de145||this[_0x1cdbc0(0x2b8)]({'type':0x0,'memberID':this[_0x1cdbc0(0x2ef)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5b8990(0x1b1)](_0x327dfc){const _0x4d0227=_0x5b8990;this[_0x4d0227(0x28e)](_0x327dfc);const _0x3801d2=window[_0x4d0227(0x235)](()=>{const _0x48140a=_0x4d0227;this[_0x48140a(0x345)][_0x48140a(0x312)](_0x239958=>{_0x239958['delete'](_0x327dfc);});},Le*0x2);this['_clearOtherTimers']['set'](_0x327dfc,_0x3801d2);}[_0x5b8990(0x28e)](_0x403ea9){const _0x71b69d=_0x5b8990;if(this[_0x71b69d(0x189)]['has'](_0x403ea9)){const _0x509de0=this['_clearOtherTimers'][_0x71b69d(0x2ad)](_0x403ea9);_0x509de0&&window[_0x71b69d(0x265)](_0x509de0),this[_0x71b69d(0x189)][_0x71b69d(0x1a0)](_0x403ea9,null);}}[_0x5b8990(0x16c)](_0x4c5407){const _0x4a6d47=_0x5b8990,{memberID:_0x3d12ef,unitIDs:_0xfc6fa4}=_0x4c5407;_0xfc6fa4[_0x4a6d47(0x312)](_0x91625a=>{const _0x6eb2a5=_0x4a6d47;var _0x383c8a;const _0x35c157=this[_0x6eb2a5(0x345)][_0x6eb2a5(0x2ad)](_0x91625a);_0x35c157&&(_0x35c157[_0x6eb2a5(0x371)](_0x3d12ef),(_0x383c8a=this[_0x6eb2a5(0x356)](_0x91625a))==null||_0x383c8a[_0x6eb2a5(0x2c7)](_0x35c157[_0x6eb2a5(0x227)]===0x0?u[_0x6eb2a5(0x3f2)][_0x6eb2a5(0x2eb)]:u[_0x6eb2a5(0x3f2)]['OTHER_CLIENTS_EDITING']));}),this[_0x4a6d47(0x28e)](_0x3d12ef);}[_0x5b8990(0x21a)](_0x106de3){const _0x35a003=_0x5b8990;this[_0x35a003(0x1b1)](_0x106de3['memberID']);}[_0x5b8990(0x2b8)](_0x1a00d1){const _0xf73ac4=_0x5b8990;localStorage[_0xf73ac4(0x398)](Pe,JSON[_0xf73ac4(0x3c1)](_0x1a00d1));}[_0x5b8990(0x29c)](){const _0x36b3f8=_0x5b8990;this[_0x36b3f8(0x3aa)]=window['setInterval'](()=>{const _0x258adb=_0x36b3f8;this[_0x258adb(0x2b8)]({'type':0x2,'memberID':this[_0x258adb(0x2ef)]});},Le);}[_0x5b8990(0x356)](_0xb5c171){const _0x4591b7=_0x5b8990;return this[_0x4591b7(0x21b)][_0x4591b7(0x181)](_0xb5c171)||this[_0x4591b7(0x21b)][_0x4591b7(0x1a0)](_0xb5c171,new d[(_0x4591b7(0x3e4))](u[_0x4591b7(0x3f2)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x4591b7(0x21b)][_0x4591b7(0x2ad)](_0xb5c171);}}var ke=(_0x46f12d=>(_0x46f12d[_0x46f12d[_0x5b8990(0x373)]=0x0]=_0x5b8990(0x373),_0x46f12d[_0x46f12d['OK']=0x1]='OK',_0x46f12d[_0x46f12d['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x46f12d[_0x46f12d[_0x5b8990(0x2fd)]=0x3]=_0x5b8990(0x2fd),_0x46f12d[_0x46f12d[_0x5b8990(0x19e)]=0x4]=_0x5b8990(0x19e),_0x46f12d[_0x46f12d[_0x5b8990(0x354)]=0x5]=_0x5b8990(0x354),_0x46f12d[_0x46f12d[_0x5b8990(0x206)]=0x6]=_0x5b8990(0x206),_0x46f12d[_0x46f12d['INVALID_ARGUMENT']=0x7]=_0x5b8990(0x3e5),_0x46f12d[_0x46f12d[_0x5b8990(0x1b4)]=0x8]=_0x5b8990(0x1b4),_0x46f12d[_0x46f12d['COMPLETION_FINISHED']=0x9]=_0x5b8990(0x3e6),_0x46f12d[_0x46f12d[_0x5b8990(0x35e)]=0xa]=_0x5b8990(0x35e),_0x46f12d[_0x46f12d[_0x5b8990(0x1bb)]=0x1389]=_0x5b8990(0x1bb),_0x46f12d[_0x46f12d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5b8990(0x3f5),_0x46f12d[_0x46f12d[_0x5b8990(0x2d4)]=0x1772]=_0x5b8990(0x2d4),_0x46f12d[_0x46f12d[_0x5b8990(0x281)]=0x1773]=_0x5b8990(0x281),_0x46f12d[_0x46f12d[_0x5b8990(0x1aa)]=0x1b59]='APPLY_REJECT',_0x46f12d[_0x46f12d[_0x5b8990(0x19b)]=0x1b5a]=_0x5b8990(0x19b),_0x46f12d[_0x46f12d[_0x5b8990(0x27a)]=0x1b5b]=_0x5b8990(0x27a),_0x46f12d[_0x46f12d[_0x5b8990(0x228)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x46f12d[_0x46f12d[_0x5b8990(0x25c)]=0x1b5d]=_0x5b8990(0x25c),_0x46f12d[_0x46f12d[_0x5b8990(0x2cb)]=0x1f41]=_0x5b8990(0x2cb),_0x46f12d[_0x46f12d[_0x5b8990(0x315)]=0x2329]=_0x5b8990(0x315),_0x46f12d[_0x46f12d[_0x5b8990(0x2cc)]=0x232a]=_0x5b8990(0x2cc),_0x46f12d[_0x46f12d[_0x5b8990(0x1ab)]=0x232b]=_0x5b8990(0x1ab),_0x46f12d[_0x46f12d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5b8990(0x392),_0x46f12d[_0x46f12d['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x46f12d[_0x46f12d[_0x5b8990(0x178)]=0x2711]=_0x5b8990(0x178),_0x46f12d[_0x46f12d[_0x5b8990(0x34c)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x46f12d[_0x46f12d['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5b8990(0x2d2),_0x46f12d[_0x46f12d[_0x5b8990(0x363)]=0x2714]=_0x5b8990(0x363),_0x46f12d[_0x46f12d[_0x5b8990(0x2a5)]=0x271a]=_0x5b8990(0x2a5),_0x46f12d[_0x46f12d[_0x5b8990(0x395)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x46f12d[_0x46f12d[_0x5b8990(0x1c3)]=0x2af9]=_0x5b8990(0x1c3),_0x46f12d[_0x46f12d[_0x5b8990(0x2f5)]=0x2ee1]=_0x5b8990(0x2f5),_0x46f12d[_0x46f12d[_0x5b8990(0x22c)]=0x2ee2]='INVALID_INVITE_CODE',_0x46f12d[_0x46f12d['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5b8990(0x25e),_0x46f12d[_0x46f12d['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x46f12d[_0x46f12d[_0x5b8990(0x30f)]=0x2ee5]=_0x5b8990(0x30f),_0x46f12d[_0x46f12d[_0x5b8990(0x296)]=0x32c9]=_0x5b8990(0x296),_0x46f12d[_0x46f12d[_0x5b8990(0x19c)]=0x32ca]=_0x5b8990(0x19c),_0x46f12d[_0x46f12d[_0x5b8990(0x1f6)]=0x32cb]=_0x5b8990(0x1f6),_0x46f12d[_0x46f12d[_0x5b8990(0x1bd)]=-0x1]='UNRECOGNIZED',_0x46f12d))(ke||{}),_s=Object[_0x5b8990(0x184)],hs=(_0x1cf34e,_0x7d4220,_0x5cec7b,_0x3f7af2)=>{const _0x1afd36=_0x5b8990;for(var _0x520699=_0x3f7af2>0x1?void 0x0:_0x3f7af2?_s(_0x7d4220,_0x5cec7b):_0x7d4220,_0x339978=_0x1cf34e[_0x1afd36(0x3e7)]-0x1,_0x5d724e;_0x339978>=0x0;_0x339978--)(_0x5d724e=_0x1cf34e[_0x339978])&&(_0x520699=_0x5d724e(_0x520699)||_0x520699);return _0x520699;},de=(_0x1ca29c,_0x41cc10)=>(_0x15256c,_0x5cf110)=>_0x41cc10(_0x15256c,_0x5cf110,_0x1ca29c);function _0x1f87(){const _0x4e2171=['call','FromArray','measureText','className','takeUntil','concat','DesktopCollaborationStatusDisplayController','startsWith','@univerjs/rpc','function','docStateChange$','drawWith','DEFAULT_WS_SESSION_TICKET_URL','COLORS','black','resize','purple300','@univerjs/network','NO_OTHER_CLIENTS_EDITING','executeCommand','m2Prime','disposeWithMe','_id','collab-text-range-','_cachedData','_hover','RemoteUniscriptService','_selfUnitIDs','INVITE_CODE_HAS_BEEN_UES','registerBeforeClose','RevisionService','hovered','BuiltInUIPart','popstate','session.will-retry','bottom','PERMISSION_DENIED','_initEvent','fill','string','_getSessionTicket','_refreshCollabCursors','rxjs','find','RegularPolygon','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','permission.title','_handleHover','flatMap','on-line-single_clip0_910_349','runId','collabStatus.offline','_disabled','addObjects','INVITE_CODE_ALREADY_BOUND','mutations','colorChannel1','forEach','@univerjs/ui','_drawRectRange','LICENSE_MAX_UNITS_EXCEEDED','registerRenderModule','_startSheetCollabCursor','handleMoveRange','transformMutationsWithChangeset','CollaborationUIEventService','collabCursorState$','addObject','_themeService','AWAITING','parse','cursorInfo$','MUTATION','NOT_COLLAB','combineLatest','DocIMEInputManagerService','ranges','sheetID','key','color','_colorAssignService','getUniverSheetInstance','_docTransformSelectionsService','url(#$1','_initEntityListener','_color','_collabSessionService','@univerjs/engine-render','getCollabCursors$','_uiPartsService','whenReady','replaceState','getTypeOfUnitDisposed$','cursorInfo','saveImage','_docSkeletonManagerService','_revisionService','dispose$','getFocusedUnit','requireSession','DisposableCollection','urlChange$','none','div','endRow','selection','jsx','replace','_unitOnClients','SetTextSelectionsOperation','clearInterval','xlink:href','toDisposable','_name','wsSessionTicketUrl','YUUMI_URL_COL_OUT_OF_RANGE','handleIRemoveRow','_cursorInfo$','_document','UniverCollaborationClientPlugin','@univerjs-pro/collaboration-client','MessageType','JOIN_ROOM_FAILED','UNAUTHENTICATED','extend','_ensureSubject','getParam','_hovered','@univerjs/docs-ui','collabStatus.syncing','getCollabEntity$','collabStatus.synced','Warning','LOGIN_FAILED','IUniverInstanceService','fillStyle','_initDependencies','_onCursorUpdate','YUUMI_SUBSCRIPTION_NOT_FOUND','getValue','top','ISocketService','mapTo','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collabStatus.conflict','_localeService','IDocClipboardService','_updateSubUnitFromURLParams','CollaborationStatus','_localStorageService','8713575aFCvcX','exhaustSavingTask','delete','_shapes','UNDEFINED','isTransformMutationsWithChangesetSuccess','getDocRanges','rxjs/operators','@univerjs/design','fromEvent','collabStatus.notCollab','collab-rect-range-','SYNCED','handleDeleteRangeMoveLeft','_scheduleSaving','random','uni.network.url-service','session.collaboration-timeout','_getAnchorBounding','DocSkeletonManagerService','textRanges','Workbook','_status$','rgba(255,\x20255,\x20255,\x200.01)','Unknown\x20user','OFFLINE','defIds','getItem','62982JyZisQ','contains','univer-offline','collaboration-client-ui.config','transformRemoteChangeset','type','@univerjs/sheets-ui','LICENSE_EXPORT_SIZE_EXCEEDED','_toggleOffline','_textBubble','YUUMI_ASYNCIO_CANCELLED','clipPath','collab-client.tooltip.reconnect','setItem','evenodd','getUndoRedoMutationParamsCache','override','unitId','Injector','_initCommandExecutedListener','m1Prime','_startDocCollabCursor','_docSyncEditingCollabCursorService','hasOwnProperty','params','getSheetId','then','_initStatusComponent','_saveTaskMap','CollaborationStatusDisplay','getCurrentRevOfUnit','_heartbeatTimer','debounceTime','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','RemoveColCommandId','UPDATE_CURSOR','defs','_entities','4003808YXBxcU','SUBMIT_CHANGESET_TIMEOUT','_context','UniverCollaborationClientUIPlugin','editingUnit','onLocalMutation','connectInjector','enableLocalCache','_collaborationUIEventService','_cursors','beginPath','react','[RemoteUniscriptService]:\x20no\x20focused\x20unit','26360FKiXLq','UNIVER_SHEET','Subject','stringify','switchMap','useCallback','_roomMembers$','_docStateChangeManagerService','handleInsertRangeMoveRight','IRemoteInstanceService','startRow','saveOfflineData','getCurrent','assignAColorForMemberID','addClipboardHook','ACTIVE_UNIT_EVENT_CHANNEL','@univerjs/core','DocSelectionManagerService','RxDisposable','send','_online','_collabCursorState$','entityInit$','_localCacheService','getLocalCacheKey','online','InsertRangeMoveDownCommandId','_entityInit$','searchParams','filter','createElement','_handleJoinEvent','addEventListener','IImageIoService','CollaborationDataLoaderController','body','_messageService','LOCAL_CACHE_INTERVAL','BehaviorSubject','INVALID_ARGUMENT','COMPLETION_FINISHED','length','push','_docSkeleton','doc.mutation.rich-text-editing','_logService','lineTo','search','49AUmqrW','handleInsertRow','_memberService','touchDependencies','UnitStatus','status$','roomMembers$','SNAPSHOT_INVALID_SNAPSHOT','univer-online','SheetsSelectionsService','_registerDependencies','reconnect','_refRangeService','transformSelections','_handleLeaveEvent','toRgbString','syncEditingCollabCursor','_dataLoaderService','getMember','onMouseMove','1em','ITransformService','onPointerMove$','LocaleService','_getSheetObject','transformIMECache','YUUMI_UNABLE_LOAD_URL','univer-online-status','WebBrowserSingleActiveUnitService','onPointerEnter$','_draw','_labelPosition','Rectangle','SOCKET_FAILED_RETRY','6CUwruA','has','_updateURLWithCurrentState','post','getOwnPropertyDescriptor','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','_lastPointer','_cursorShapes','isTransformMutationFailure','_clearOtherTimers','includes','univer-online-status-title','width','M0\x200H16V16H0z','_urlService','...','SheetCollabCursorShape','_beforeCloseService','onlineStatus','getOffsetConfig','HTTPService','transform','column','transformStateCache','SetDocZoomRatioOperation','SetSelectionsOperation','Disposable','APPLY_NON_SEQUENTIAL_REVISION','MOBILE_HAS_BEEN_BOUND','IBeforeCloseService','NOT_FOUND','#FFF','set','setParam','subUnitId','split','createInstance','getSkeleton','history','univer-online-status-icon','_injector','DeleteRangeMoveLeftCommandId','APPLY_REJECT','LICENSE_IMPORT_SIZE_EXCEEDED','_updateLocalCursor','arc','_toggleOnline','init','_docClipboardService','_scheduleClearOtherTimer','_anchorDot','Vector2','TOO_MANY_REQUESTS','@univerjs/drawing','ColorKit','some','entries','_colorIndex','SheetSkeletonManagerService','CHANGESET_REVISION_CONFILICT','getSheetBySheetId','UNRECOGNIZED','Plugin','_initStatusListener','focused$','font','_doCreateSocket','PY_RUNTIME_SCRIPT_ERROR','isActive','_drawTextRange','setUndoRedoMutationParamsCache','_transformPreviousActiveRange','setShapeProps','saveTaskMap','getViewport','setAlpha','_createSocketURL','ONLINE','OTHER_CLIENTS_EDITING','_range','_httpService','NodePositionConvertToRectRange','_config','icon','range','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','22790xQchkH','moveTo','useDependency','onPointerLeave$','1866320vtlMZy','_renderManagerService','from','loadOfflineData','makeDirty','merge','RECT','skeleton','getSheetObject','setStateCache','ILocalStorageService','error','_sheetSkeletonManagerService','ILogService','InsertRowCommandId','VIEW_MAIN','data','triggerDblclick','subunit','off-line-single','currentColor','prototype','subscribe','complete','_transformHistoryAndStateStack','roomMembers','_handleEvent','_session','EMAIL_HAS_BEEN_BOUND','ISnapshotServerService','handleInsertCol','getCoordByCell','deserializeRangeWithSheet','CollaborationEvent','2526402QeTblw','throttleTime','getMemberID','shareReplay','BrowserCollaborationSocketService','_configService','text','UNIVER_DOC','with','currentTheme$','ALREADY_EXISTS','tag','loadUnit','Rect','_initResize','_commandService','asObservable','executionId','fillText','registerDependencies','getCurrentSelections','getUnitStatus$','getRenderById','handleDeleteRangeMoveUp','CollaborationController','MemberService','getRangePointData','getAncestorScale','_render','collaboration-client.offline-data-not-saved','_handleHeartbeatEvent','_unitStatus','invokeId','deepClone','translate(.97)','IMessageService','onStarting','replaceDocRanges','SessionStatus','_hideTimer','getColor','TRANSFORM_CHANGE_OBSERVABLE_TYPE','restore','size','APPLY_PERMISSION_DENIED','unload','USERS_LEAVE','children','INVALID_INVITE_CODE','svg','@univerjs/docs','round','disableLocalCache','SHEET_VIEWPORT_KEY','dispose','SOCKET_FAILED','ThemeService','setTimeout','ticket','unit','_docTransformIMECacheService','IConfigService','setActiveRange','onCommandExecuted','add','findNodePositionByCharIndex','getTypeOfUnitAdded$','_syncEditingCollabCursorService','_collaborationController','[CollaborationDataLoaderController]','isArray','_notificationService','save','url(#off-line-single_clip0_910_343)','ILocalCacheService','CollaborationUIEventId','permission.content','#fff','sessionStatus$','_assignedColors','getStateCache','_docTransformStateCacheService','InsertRangeMoveRightCommandId','0\x200\x2017\x2016','RefRangeService','getConfig','jiqing500','propertyIsEnumerable','source','defineProperty','_collabCursorController','getUnitId','registerComponent','verdancy600','transformByState','transformMutation','APPLY_DUPLICATED','Inject','INVITE_CODE_REQUIRED','currentSkeleton$','InsertColCommandId','RichTextEditingMutation','createSocket','href','activeSheet$','clearTimeout','collaboration.single-unit.warning','ICommandService','AWAITING_WITH_PENDING','CollaborationSocketService','apply','UniverIcon','disposeUnit','getUnhiddenWorksheets','displayName','map','Tools','pushState','react/jsx-runtime','useObservable','Error','_cursor','labelPosition','_registerRenderDependencies','redoState','WebSocketService','APPLY_REVISION_CONFILICT','toString','pipe','_onRefRangeChange','current','debug','_scene','ENSURE_SNAPSHOT_EXECUTION','offline','location','_backgroundColor','_getMergeRange','_saveCache','debounce','hide','show','substring','TEXT','IRenderManagerService','OffLineSingle','_removeClearOtherTimer','PENDING','event$','off-line-single_clip0_910_343','engine','createIdentifier','setConfig','@univerjs/engine-formula','WECHAT_HAS_BEEN_BOUND','_anchor','url(#on-line-single_clip0_910_349)','unitID','name','EffectRefRangId','_scheduleHeartbeat','_drawAnchor','_transformUndoRedoStack','application/json','row','_transformService','handleInsertRangeMoveDown','attrs','getCellPositionByOffset','YUUMI_NO_CUBOID_FOR_QUESTION','values','idSuffix','unshift','@univerjs-pro/collaboration','_removeCollabCursors','UniverInstanceType','result','get','eventID','min','Shape','_instanceService','CLOSE_ROOM','generateRandomId','undoState','_updateCollabCursors','DOC_RANGE_TYPE','unsubscribe','_send','getActiveSheet','mergeOverrideWithDependencies','_setupBeforeClosingHandler','SetWorksheetActivateCommand','selections','useRef','backgroundColor','clsx','subscribeEvent','getActiveRange','isEditing','_init','univer-flex\x20univer-items-center','assign','next','Optional','172GWZAuh','path','CONNECTOR_DATA_TOO_LARGE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getOwnPropertySymbols','symbol','collaboration.closeRoom','TEXT_RANGE_LAYER_INDEX','_imageIoService','YUUMI_RATE_OVER_LIMIT','_onCursorDelete','SNAPSHOT_HAS_BEEN_REMOVED','_univerInstanceService','CONFLICT','forwardRef','_eventUnsubscribe'];_0x1f87=function(){return _0x4e2171;};return _0x1f87();}exports[_0x5b8990(0x2f3)]=class extends a['Disposable']{constructor(_0x467e60,_0x482984,_0x2b06f9){const _0x162905=_0x5b8990;super(),this[_0x162905(0x2b1)]=_0x467e60,this[_0x162905(0x1d0)]=_0x482984,this[_0x162905(0x201)]=_0x2b06f9;}async['runOnServer'](_0x5bcede,_0x1a3e48,_0x5e04ee,..._0x407ace){const _0x105c5e=_0x5b8990;var _0x5c3285,_0x4d4922,_0x4a6cee,_0xd82315;const _0x14cd77=this[_0x105c5e(0x2b1)][_0x105c5e(0x33b)]();if(!_0x14cd77)throw new Error(_0x105c5e(0x3bd));const _0x1c0475=((_0x5c3285=this[_0x105c5e(0x201)][_0x105c5e(0x251)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x5c3285:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5bcede+'/run/'+_0x1a3e48,_0x20bf20=new URL(window['location'][_0x105c5e(0x263)]),_0x300309={'scriptId':_0x5bcede,'runId':(_0x4d4922=_0x20bf20[_0x105c5e(0x3da)][_0x105c5e(0x2ad)](_0x105c5e(0x30b)))!=null?_0x4d4922:'','function':_0x1a3e48,'unitId':_0x14cd77[_0x105c5e(0x257)](),'argsOfFunction':JSON[_0x105c5e(0x3c1)](_0x407ace),'invokeId':(_0x4a6cee=_0x5e04ee[_0x105c5e(0x21c)])!=null?_0x4a6cee:'','executionId':(_0xd82315=_0x5e04ee[_0x105c5e(0x20d)])!=null?_0xd82315:''};try{const _0x19047f=await this[_0x105c5e(0x1d0)][_0x105c5e(0x183)](_0x1c0475,{'body':_0x300309});return _0x19047f[_0x105c5e(0x3e1)]['error']&&_0x19047f['body'][_0x105c5e(0x1e5)]['code']!==ke['OK']?'Failed':_0x19047f[_0x105c5e(0x3e1)][_0x105c5e(0x2ac)];}catch{return'Failed';}}},exports[_0x5b8990(0x2f3)]=hs([de(0x0,a[_0x5b8990(0x35f)]),de(0x1,a[_0x5b8990(0x25d)](q[_0x5b8990(0x194)])),de(0x2,a[_0x5b8990(0x239)])],exports['RemoteUniscriptService']),exports[_0x5b8990(0x3a8)]=je,exports['IURLService']=Ee,exports[_0x5b8990(0x190)]=Ae,exports[_0x5b8990(0x17a)]=ls,exports['WebURLService']=Be;
@@ -1 +1 @@
1
- 'use strict';const _0x45ca94=_0xf1f1;(function(_0x5a91c2,_0x47bab6){const _0x5d8d22=_0xf1f1,_0x3d9a47=_0x5a91c2();while(!![]){try{const _0x3c567d=parseInt(_0x5d8d22(0xbf))/0x1+-parseInt(_0x5d8d22(0xca))/0x2*(-parseInt(_0x5d8d22(0xbc))/0x3)+parseInt(_0x5d8d22(0xc9))/0x4*(parseInt(_0x5d8d22(0xcb))/0x5)+-parseInt(_0x5d8d22(0xc1))/0x6+parseInt(_0x5d8d22(0xc8))/0x7*(-parseInt(_0x5d8d22(0xc5))/0x8)+parseInt(_0x5d8d22(0xd3))/0x9+-parseInt(_0x5d8d22(0xd0))/0xa*(parseInt(_0x5d8d22(0xc3))/0xb);if(_0x3c567d===_0x47bab6)break;else _0x3d9a47['push'](_0x3d9a47['shift']());}catch(_0x17dd6b){_0x3d9a47['push'](_0x3d9a47['shift']());}}}(_0x2453,0x67e66));function _0xf1f1(_0xd4a2ea,_0x17e914){const _0x24537e=_0x2453();return _0xf1f1=function(_0xf1f109,_0x25de9f){_0xf1f109=_0xf1f109-0xba;let _0x367089=_0x24537e[_0xf1f109];return _0x367089;},_0xf1f1(_0xd4a2ea,_0x17e914);}const e={'collab-client':{'tooltip':{'reconnect':_0x45ca94(0xd2)}},'collabStatus':{'fetchMiss':_0x45ca94(0xbb),'conflict':_0x45ca94(0xbd),'notCollab':_0x45ca94(0xcd),'synced':_0x45ca94(0xba),'syncing':_0x45ca94(0xc0),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x45ca94(0xcc),'will-retry':_0x45ca94(0xc4),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x45ca94(0xc2)},'conflict':{'title':_0x45ca94(0xc7),'content':_0x45ca94(0xc6)},'permission':{'title':'Authentication\x20Error','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':_0x45ca94(0xcf)},'closeRoom':_0x45ca94(0xd1)},'auth':{'needGotoLoginAlert':_0x45ca94(0xbe)}};module[_0x45ca94(0xce)]=e;function _0x2453(){const _0x58f8f3=['715190WcuFAM','Syncing...','3968418HnclDc','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','7336703jKpjAF','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','32yamCCv','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.','Collaboration\x20Conflict','313901QUaMRr','4aJquky','226IjXFlC','1125240wshDUB','Connection\x20failed,\x20please\x20check\x20your\x20network.','Local\x20file','exports','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','10STVzhF','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Click\x20to\x20Reconnect','7523109unQXFb','Synced','Syncing\x20server\x20data...','4173olCuMp','Edit\x20conflicts','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x2453=function(){return _0x58f8f3;};return _0x2453();}
1
+ 'use strict';function _0x2a75(_0x35a140,_0x3844ec){const _0x4ed18c=_0x4ed1();return _0x2a75=function(_0x2a7508,_0x4382c9){_0x2a7508=_0x2a7508-0x7c;let _0x5f3ecc=_0x4ed18c[_0x2a7508];return _0x5f3ecc;},_0x2a75(_0x35a140,_0x3844ec);}const _0x31d015=_0x2a75;(function(_0x3c8601,_0x10a506){const _0x491971=_0x2a75,_0x47b011=_0x3c8601();while(!![]){try{const _0x5a16ee=parseInt(_0x491971(0x83))/0x1+parseInt(_0x491971(0x86))/0x2+-parseInt(_0x491971(0x87))/0x3*(-parseInt(_0x491971(0x91))/0x4)+parseInt(_0x491971(0x90))/0x5+-parseInt(_0x491971(0x84))/0x6+-parseInt(_0x491971(0x80))/0x7+-parseInt(_0x491971(0x7e))/0x8;if(_0x5a16ee===_0x10a506)break;else _0x47b011['push'](_0x47b011['shift']());}catch(_0xf2d974){_0x47b011['push'](_0x47b011['shift']());}}}(_0x4ed1,0x1ac73));const e={'collab-client':{'tooltip':{'reconnect':_0x31d015(0x82)}},'collabStatus':{'fetchMiss':_0x31d015(0x85),'conflict':_0x31d015(0x7d),'notCollab':'Local\x20file','synced':_0x31d015(0x8d),'syncing':_0x31d015(0x93),'offline':_0x31d015(0x7f)},'session':{'connection-failed':_0x31d015(0x92),'will-retry':_0x31d015(0x8a),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x31d015(0x88)},'conflict':{'title':_0x31d015(0x8c),'content':_0x31d015(0x81)},'permission':{'title':_0x31d015(0x8e),'content':_0x31d015(0x8f)},'collaboration':{'single-unit':{'warning':_0x31d015(0x8b)},'closeRoom':_0x31d015(0x7c)},'auth':{'needGotoLoginAlert':_0x31d015(0x89)}};function _0x4ed1(){const _0x404aed=['382986qDYvLE','Syncing\x20server\x20data...','136512RzQgRc','15NYikfU','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Collaboration\x20Conflict','Synced','Authentication\x20Error','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','305490KcEmdw','10808dcpbdI','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts','474272JrDvxf','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','892647fQMQMx','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.','Click\x20to\x20Reconnect','217455tMcINv'];_0x4ed1=function(){return _0x404aed;};return _0x4ed1();}module['exports']=e;