@univerjs-pro/collaboration-client 0.5.1-nightly.202412021606 → 0.5.1-nightly.202412031606

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/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x361975=_0x3094;(function(_0x527525,_0x4941d4){const _0x2f307d=_0x3094,_0x2d2ca3=_0x527525();while(!![]){try{const _0x7f9e87=-parseInt(_0x2f307d(0x4d5))/0x1+parseInt(_0x2f307d(0x201))/0x2*(parseInt(_0x2f307d(0x61a))/0x3)+parseInt(_0x2f307d(0x670))/0x4+-parseInt(_0x2f307d(0x3e6))/0x5*(-parseInt(_0x2f307d(0x1ea))/0x6)+-parseInt(_0x2f307d(0x3a0))/0x7+-parseInt(_0x2f307d(0x695))/0x8+parseInt(_0x2f307d(0x5b5))/0x9;if(_0x7f9e87===_0x4941d4)break;else _0x2d2ca3['push'](_0x2d2ca3['shift']());}catch(_0x6c30c3){_0x2d2ca3['push'](_0x2d2ca3['shift']());}}}(_0x4507,0x30153));var Fi=Object[_0x361975(0x23f)],Vi=(_0x59abab,_0xfa9fbe,_0x4bf74a)=>_0xfa9fbe in _0x59abab?Fi(_0x59abab,_0xfa9fbe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bf74a}):_0x59abab[_0xfa9fbe]=_0x4bf74a,I=(_0x497f76,_0x239bbc,_0x116405)=>Vi(_0x497f76,typeof _0x239bbc!=_0x361975(0x3b5)?_0x239bbc+'':_0x239bbc,_0x116405);Object[_0x361975(0x23f)](exports,Symbol[_0x361975(0x432)],{'value':_0x361975(0x261)});const a=require('@univerjs/core'),N=require('rxjs'),V=require(_0x361975(0x508)),Ce=require(_0x361975(0x2f2)),z=require(_0x361975(0x415)),ee=require(_0x361975(0x517)),m=require('@univerjs-pro/collaboration'),Gi=require('@univerjs/telemetry'),Ie=require(_0x361975(0x210)),J=require(_0x361975(0x378)),k=require('@univerjs/sheets'),Y=require(_0x361975(0x3ca)),te=require(_0x361975(0x4c1)),$t=require(_0x361975(0x52f)),Le=require(_0x361975(0x4a1)),oe=require(_0x361975(0x502)),Yi=require(_0x361975(0x476)),fi=_0x361975(0x44c),qi=_0x361975(0x249),vi=_0x361975(0x409),Ki='SEND_CHANGESET_TIMEOUT',zi=0x7d0,Si='COLLAB_WEB_SOCKET_URL',Xi='ws://127.0.0.1:8000/universer-api/comb/connect',Ji='/universer-api/user/session-ticket',pi=_0x361975(0x2d6),Zi=0x7530,Dt=_0x361975(0x333),mi=0x4e20,Qi=0x4e20,gi=_0x361975(0x65d),en=0x3,Ii=_0x361975(0x3b2),tn=0x3e8,Ci='COLLAB_SUBMIT_CHANGESET_URL',nn=_0x361975(0x323),Ei=_0x361975(0x584),rn=_0x361975(0x258);var bi=(_0x4285af=>(_0x4285af[_0x4285af[_0x361975(0x5ed)]=0x0]='UNDEFINED',_0x4285af[_0x4285af['OK']=0x1]='OK',_0x4285af[_0x4285af[_0x361975(0x310)]=0x2]='INTERNAL_ERROR',_0x4285af[_0x4285af[_0x361975(0x3cc)]=0x3]='PERMISSION_DENIED',_0x4285af[_0x4285af[_0x361975(0x69c)]=0x4]='NOT_FOUND',_0x4285af[_0x4285af[_0x361975(0x4d7)]=0x5]=_0x361975(0x4d7),_0x4285af[_0x4285af[_0x361975(0x278)]=0x6]=_0x361975(0x278),_0x4285af[_0x4285af[_0x361975(0x4ca)]=0x7]='INVALID_ARGUMENT',_0x4285af[_0x4285af[_0x361975(0x301)]=0x8]='TOO_MANY_REQUESTS',_0x4285af[_0x4285af[_0x361975(0x2e0)]=0x9]=_0x361975(0x2e0),_0x4285af[_0x4285af[_0x361975(0x3d1)]=0x1389]=_0x361975(0x3d1),_0x4285af[_0x4285af['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4285af[_0x4285af['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4285af[_0x4285af[_0x361975(0x349)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4285af[_0x4285af[_0x361975(0x1f9)]=0x1b59]=_0x361975(0x1f9),_0x4285af[_0x4285af[_0x361975(0x648)]=0x1b5a]=_0x361975(0x648),_0x4285af[_0x4285af[_0x361975(0x373)]=0x1b5b]=_0x361975(0x373),_0x4285af[_0x4285af[_0x361975(0x4a4)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4285af[_0x4285af[_0x361975(0x4ed)]=0x1b5d]='APPLY_DUPLICATED',_0x4285af[_0x4285af[_0x361975(0x2f9)]=0x1f41]=_0x361975(0x2f9),_0x4285af[_0x4285af[_0x361975(0x3a2)]=0x2329]=_0x361975(0x3a2),_0x4285af[_0x4285af['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x361975(0x4fa),_0x4285af[_0x4285af[_0x361975(0x571)]=0x232b]=_0x361975(0x571),_0x4285af[_0x4285af[_0x361975(0x244)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x4285af[_0x4285af[_0x361975(0x367)]=0x232d]=_0x361975(0x367),_0x4285af[_0x4285af[_0x361975(0x5e1)]=0x2711]=_0x361975(0x5e1),_0x4285af[_0x4285af[_0x361975(0x42e)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4285af[_0x4285af[_0x361975(0x2c4)]=0x2713]=_0x361975(0x2c4),_0x4285af[_0x4285af[_0x361975(0x474)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4285af[_0x4285af[_0x361975(0x47e)]=-0x1]='UNRECOGNIZED',_0x4285af))(bi||{}),ie=(_0x29fea5=>(_0x29fea5[_0x29fea5['UNIVER_UNKNOWN']=0x0]=_0x361975(0x342),_0x29fea5[_0x29fea5[_0x361975(0x5f5)]=0x1]=_0x361975(0x5f5),_0x29fea5[_0x29fea5[_0x361975(0x327)]=0x2]=_0x361975(0x327),_0x29fea5[_0x29fea5[_0x361975(0x422)]=0x3]=_0x361975(0x422),_0x29fea5[_0x29fea5[_0x361975(0x683)]=0x4]='UNIVER_PROJECT',_0x29fea5[_0x29fea5[_0x361975(0x47e)]=-0x1]=_0x361975(0x47e),_0x29fea5))(ie||{}),G=(_0x48eb97=>(_0x48eb97[_0x48eb97[_0x361975(0x285)]=0x0]=_0x361975(0x285),_0x48eb97[_0x48eb97[_0x361975(0x1ff)]=0x1]=_0x361975(0x1ff),_0x48eb97[_0x48eb97[_0x361975(0x569)]=0x2]=_0x361975(0x569),_0x48eb97[_0x48eb97[_0x361975(0x231)]=0x3]=_0x361975(0x231),_0x48eb97[_0x48eb97[_0x361975(0x55f)]=0x4]=_0x361975(0x55f),_0x48eb97[_0x48eb97[_0x361975(0x319)]=0x5]=_0x361975(0x319),_0x48eb97[_0x48eb97[_0x361975(0x300)]=0x6]=_0x361975(0x300),_0x48eb97[_0x48eb97[_0x361975(0x47e)]=-0x1]=_0x361975(0x47e),_0x48eb97))(G||{}),ge=(_0x35837f=>(_0x35837f[_0x35837f['UNKNOWN_CODE']=0x0]=_0x361975(0x57b),_0x35837f[_0x35837f['OK']=0x1]='OK',_0x35837f[_0x35837f[_0x361975(0x578)]=0x2]=_0x361975(0x578),_0x35837f[_0x35837f[_0x361975(0x3ee)]=0x3e9]=_0x361975(0x3ee),_0x35837f[_0x35837f[_0x361975(0x356)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x35837f[_0x35837f['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x361975(0x2da),_0x35837f[_0x35837f[_0x361975(0x475)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x35837f[_0x35837f[_0x361975(0x47e)]=-0x1]=_0x361975(0x47e),_0x35837f))(ge||{}),Ti=(_0x19d70a=>(_0x19d70a[_0x19d70a[_0x361975(0x629)]=0x0]='Undefined',_0x19d70a[_0x19d70a[_0x361975(0x4e7)]=0x1]='HttpImport',_0x19d70a[_0x19d70a[_0x361975(0x350)]=0x2]='HttpExport',_0x19d70a[_0x19d70a[_0x361975(0x618)]=0x3]=_0x361975(0x618),_0x19d70a[_0x19d70a[_0x361975(0x4e9)]=0x4]=_0x361975(0x4e9),_0x19d70a[_0x19d70a[_0x361975(0x47e)]=-0x1]='UNRECOGNIZED',_0x19d70a))(Ti||{});const Z=_0x361975(0x6a5),sn={};function Ri(_0x520cca){const _0x5749ee=_0x361975;var _0x5010d6,_0x1df1ca,_0x3558c0,_0x1096fc,_0x26e3f4;const _0xd3fc8d=_0x520cca[_0x5749ee(0x405)],_0x2b06dc=JSON[_0x5749ee(0x345)](_0xd3fc8d);switch(_0x2b06dc[_0x5749ee(0x290)]){case G[_0x5749ee(0x319)]:case G[_0x5749ee(0x1ff)]:{const _0x2c71a4=_0x2b06dc[_0x5749ee(0x38e)];return{..._0x2b06dc,'data':_0x2c71a4,'cmd':_0x2b06dc[_0x5749ee(0x290)]};}case G[_0x5749ee(0x569)]:{const _0x42e361=_0x2b06dc[_0x5749ee(0x5ee)];return{..._0x2b06dc,'data':_0x42e361,'cmd':_0x2b06dc[_0x5749ee(0x290)]};}case G[_0x5749ee(0x300)]:{const _0x3a0ccc=_0x2b06dc['collaMsg'];switch(_0x3a0ccc[_0x5749ee(0x395)]){case m['CollaborationEvent'][_0x5749ee(0x50e)]:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':(_0x5010d6=_0x3a0ccc[_0x5749ee(0x576)])==null?void 0x0:_0x5010d6['cs']},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m['CollaborationEvent']['CHANGESET_ACK']:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':(_0x1df1ca=_0x3a0ccc['csAckEvent'])==null?void 0x0:_0x1df1ca['cs']},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m[_0x5749ee(0x3aa)][_0x5749ee(0x3ed)]:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':(_0x3558c0=_0x3a0ccc[_0x5749ee(0x2b7)])==null?void 0x0:_0x3558c0['cs']},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m['CollaborationEvent']['CHANGESET_REJ']:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':(_0x1096fc=_0x3a0ccc[_0x5749ee(0x597)])==null?void 0x0:_0x1096fc['cs']},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m[_0x5749ee(0x3aa)][_0x5749ee(0x3f5)]:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':(_0x26e3f4=_0x3a0ccc[_0x5749ee(0x448)])==null?void 0x0:_0x26e3f4['cs']},'cmd':_0x2b06dc['cmd']};case m[_0x5749ee(0x3aa)]['UPDATE_CURSOR']:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc['updateCursorEvent']},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m[_0x5749ee(0x3aa)][_0x5749ee(0x637)]:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc[_0x5749ee(0x2ec)]},'cmd':_0x2b06dc['cmd']};case m['CollaborationEvent'][_0x5749ee(0x5cd)]:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc[_0x5749ee(0x358)]},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m['CollaborationEvent'][_0x5749ee(0x3e4)]:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc[_0x5749ee(0x4f4)]},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m['CollaborationEvent'][_0x5749ee(0x49c)]:case m['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc['liveShareOperation']},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m[_0x5749ee(0x3aa)][_0x5749ee(0x581)]:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc[_0x5749ee(0x4f4)]},'cmd':_0x2b06dc['cmd']};case m[_0x5749ee(0x3aa)][_0x5749ee(0x4a7)]:return{..._0x2b06dc,'data':_0x3a0ccc,'cmd':_0x2b06dc['cmd']};case m[_0x5749ee(0x3aa)]['COMMENT_UPDATE']:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc[_0x5749ee(0x248)]},'cmd':_0x2b06dc['cmd']};case m[_0x5749ee(0x3aa)]['UPDATE_PERMISSION_OBJ']:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc[_0x5749ee(0x2b6)]},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m[_0x5749ee(0x3aa)][_0x5749ee(0x1f0)]:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc[_0x5749ee(0x44b)]},'cmd':_0x2b06dc[_0x5749ee(0x290)]};default:return _0x2b06dc;}}default:return _0x2b06dc;}}function Oi(_0x17f698){const _0x4ec15e=_0x361975;switch(_0x17f698[_0x4ec15e(0x290)]){case G[_0x4ec15e(0x319)]:case G[_0x4ec15e(0x1ff)]:return JSON['stringify']({'cmd':_0x17f698['cmd'],'routeKey':_0x17f698[_0x4ec15e(0x3db)]});case G['INGEST']:{let _0x54531c;switch(_0x17f698['data'][_0x4ec15e(0x395)]){case m[_0x4ec15e(0x3aa)][_0x4ec15e(0x5a8)]:{_0x54531c={'eventID':m['CollaborationEvent'][_0x4ec15e(0x5a8)],'updateCursorEvent':_0x17f698['data'][_0x4ec15e(0x405)]};break;}case m[_0x4ec15e(0x3aa)][_0x4ec15e(0x5cd)]:{_0x54531c={'eventID':m[_0x4ec15e(0x3aa)][_0x4ec15e(0x5cd)],'leaveEvent':_0x17f698[_0x4ec15e(0x405)][_0x4ec15e(0x405)]};break;}case m['CollaborationEvent'][_0x4ec15e(0x637)]:{_0x54531c={'eventID':m[_0x4ec15e(0x3aa)][_0x4ec15e(0x637)],'joinEvent':_0x17f698[_0x4ec15e(0x405)][_0x4ec15e(0x405)]};break;}case m[_0x4ec15e(0x3aa)]['LIVESHARE_NEW_HOST']:{_0x54531c={'eventID':m[_0x4ec15e(0x3aa)][_0x4ec15e(0x3e4)],'liveShareNewHost':_0x17f698[_0x4ec15e(0x405)][_0x4ec15e(0x405)]};break;}case m[_0x4ec15e(0x3aa)][_0x4ec15e(0x4a5)]:{_0x54531c={'eventID':m['CollaborationEvent'][_0x4ec15e(0x4a5)],'liveShareOperation':_0x17f698[_0x4ec15e(0x405)]['data']};break;}case m[_0x4ec15e(0x3aa)]['LIVESHARE_TERMINATE']:{_0x54531c={'eventID':m['CollaborationEvent'][_0x4ec15e(0x581)],'liveShareTerminate':_0x17f698[_0x4ec15e(0x405)][_0x4ec15e(0x405)]};break;}case m[_0x4ec15e(0x3aa)][_0x4ec15e(0x5bb)]:{_0x54531c={'eventID':m[_0x4ec15e(0x3aa)][_0x4ec15e(0x5bb)],'liveShareRequestHost':_0x17f698[_0x4ec15e(0x405)][_0x4ec15e(0x405)]};break;}case m[_0x4ec15e(0x3aa)]['LIVESHARE_FETCH_OPERATIONS']:{_0x54531c={'eventID':m['CollaborationEvent'][_0x4ec15e(0x49c)]};break;}default:_0x54531c={'eventID':_0x17f698[_0x4ec15e(0x405)][_0x4ec15e(0x395)]};}return JSON[_0x4ec15e(0x5a9)]({'cmd':_0x17f698['cmd'],'routeKey':_0x17f698[_0x4ec15e(0x3db)],'collaMsg':_0x54531c});}case G['JOIN']:return JSON['stringify']({'cmd':_0x17f698[_0x4ec15e(0x290)],'routeKey':_0x17f698[_0x4ec15e(0x3db)],'joinReq':_0x17f698[_0x4ec15e(0x405)]});case G[_0x4ec15e(0x231)]:return JSON[_0x4ec15e(0x5a9)]({'cmd':_0x17f698[_0x4ec15e(0x290)],'routeKey':_0x17f698[_0x4ec15e(0x3db)],'leaveReq':_0x17f698[_0x4ec15e(0x405)]});default:throw new Error(_0x4ec15e(0x34f));}}var on=Object[_0x361975(0x23f)],an=Object[_0x361975(0x3bb)],cn=(_0x6dd22b,_0x33f9e6,_0x484817,_0x2ca137)=>{const _0x587e22=_0x361975;for(var _0x298ca9=_0x2ca137>0x1?void 0x0:_0x2ca137?an(_0x33f9e6,_0x484817):_0x33f9e6,_0x30a69b=_0x6dd22b[_0x587e22(0x31c)]-0x1,_0x520c8b;_0x30a69b>=0x0;_0x30a69b--)(_0x520c8b=_0x6dd22b[_0x30a69b])&&(_0x298ca9=(_0x2ca137?_0x520c8b(_0x33f9e6,_0x484817,_0x298ca9):_0x520c8b(_0x298ca9))||_0x298ca9);return _0x2ca137&&_0x298ca9&&on(_0x33f9e6,_0x484817,_0x298ca9),_0x298ca9;},De=(_0x51ac32,_0x4a3bb9)=>(_0x1c4258,_0x338181)=>_0x4a3bb9(_0x1c4258,_0x338181,_0x51ac32);const Pt=a[_0x361975(0x386)](_0x361975(0x57a));function ln(_0x4485e1,_0x13579a,_0x283499){const _0x11d13e=_0x361975;return _0x4485e1+'/'+_0x13579a+_0x11d13e(0x341)+_0x283499+_0x11d13e(0x425);}exports[_0x361975(0x451)]=class extends a[_0x361975(0x2ee)]{constructor(_0x1c2ed9,_0x50ca50,_0x16c9b8,_0x21748d,_0x5078d3){const _0x166b88=_0x361975;super(),this[_0x166b88(0x421)]=_0x1c2ed9,this['_ws']=_0x50ca50,this[_0x166b88(0x32b)]=_0x16c9b8,this['_logService']=_0x21748d,this[_0x166b88(0x351)]=_0x5078d3;}[_0x361975(0x67c)](_0x2905b8){const _0x2fdddf=_0x361975,_0x220cf3=this['_ws'][_0x2fdddf(0x67c)](_0x2905b8);if(!_0x220cf3)throw new Error(_0x2fdddf(0x3f2));const _0x33be18=new a[(_0x2fdddf(0x5b6))](),_0x5ede7f=new N[(_0x2fdddf(0x3e1))]();_0x33be18[_0x2fdddf(0x277)](_0x220cf3['close$']['subscribe'](_0x99ded5=>_0x5ede7f[_0x2fdddf(0x514)](_0x99ded5))),_0x33be18[_0x2fdddf(0x277)](a['toDisposable'](()=>_0x5ede7f[_0x2fdddf(0x29e)]()));const _0x45c4ed=new N['Subject']();_0x33be18[_0x2fdddf(0x277)](_0x220cf3[_0x2fdddf(0x69d)][_0x2fdddf(0x2d2)](_0x161700=>_0x45c4ed[_0x2fdddf(0x514)](_0x161700))),_0x33be18[_0x2fdddf(0x277)](a['toDisposable'](()=>_0x45c4ed['complete']()));const _0x5c5e5b=new N[(_0x2fdddf(0x3e1))]();_0x33be18[_0x2fdddf(0x277)](_0x220cf3[_0x2fdddf(0x477)][_0x2fdddf(0x2d2)](_0x50c173=>{const _0x1ec781=_0x2fdddf,_0x16b93c=Ri(_0x50c173);_0x5c5e5b[_0x1ec781(0x514)](_0x16b93c);})),_0x33be18[_0x2fdddf(0x277)](a['toDisposable'](()=>_0x5c5e5b[_0x2fdddf(0x29e)]()));let _0x17e2fc;const _0xf504eb=()=>{const _0x39dd50=_0x2fdddf;_0x45c4ed['next'](new Event(_0x39dd50(0x283))),_0x5ede7f[_0x39dd50(0x514)](new CloseEvent(_0x39dd50(0x283))),_0x17e2fc[_0x39dd50(0x684)]();};return _0x17e2fc={'memberID':'','close$':_0x5ede7f['asObservable'](),'error$':_0x45c4ed[_0x2fdddf(0x2aa)](),'open$':_0x220cf3[_0x2fdddf(0x68b)],'message$':_0x5c5e5b['asObservable'](),'send':_0x1f39f7=>{const _0x22a84a=_0x2fdddf;if(_0x1f39f7[_0x22a84a(0x290)]===G[_0x22a84a(0x55f)]){if(_0x1f39f7[_0x22a84a(0x405)][_0x22a84a(0x395)]===m[_0x22a84a(0x3aa)]['SUBMIT_CHANGESET']){this[_0x22a84a(0x45c)](_0x17e2fc,_0x1f39f7[_0x22a84a(0x405)])[_0x22a84a(0x276)](_0x1d2977=>{const _0x447958=_0x22a84a;this[_0x447958(0x442)][_0x447958(0x384)](_0x1d2977),_0xf504eb();});return;}if(_0x1f39f7[_0x22a84a(0x405)][_0x22a84a(0x395)]===m[_0x22a84a(0x3aa)][_0x22a84a(0x6a6)]){const _0xdd7397=_0x1f39f7[_0x22a84a(0x405)];this[_0x22a84a(0x2c1)](_0xdd7397)['then'](_0x52382c=>{const _0x373db0=_0x22a84a;_0x5c5e5b['next']({'cmd':G[_0x373db0(0x300)],'code':ge['OK'],'routeKey':_0xdd7397[_0x373db0(0x405)][_0x373db0(0x332)],'routeType':'','data':{'eventID':m[_0x373db0(0x3aa)][_0x373db0(0x420)],'data':{'changesets':_0x52382c}}});})[_0x22a84a(0x276)](_0x50ee4a=>{const _0x42fcf9=_0x22a84a;this['_logService'][_0x42fcf9(0x384)](_0x50ee4a),_0xf504eb();});return;}}_0x220cf3[_0x22a84a(0x223)](Oi(_0x1f39f7));},'close':()=>{const _0x334836=_0x2fdddf;_0x220cf3[_0x334836(0x684)](),_0x33be18['dispose']();}},_0x17e2fc;}async['_submitChangeset'](_0x2b424c,_0x3e3539){const _0x4e858b=_0x361975;var _0x9b8674,_0x37bb8d;const {unitType:_0x5a4322,unitID:_0x2d7d3a,changeset:_0xf8b60c}=_0x3e3539[_0x4e858b(0x405)],_0xdf1ee3={'unitID':_0x2d7d3a,'memberID':_0x2b424c[_0x4e858b(0x691)],'type':_0x5a4322,'changeset':m['parseChangesetToProtocol'](_0xf8b60c)},_0x453c7f=this[_0x4e858b(0x32b)][_0x4e858b(0x269)](Ci),_0x53aed2=this[_0x4e858b(0x32b)]['getConfig'](Z),_0x2fe546=ln((_0x37bb8d=(_0x9b8674=_0x53aed2==null?void 0x0:_0x53aed2['collabSubmitChangesetUrl'])!=null?_0x9b8674:_0x453c7f)!=null?_0x37bb8d:nn,_0x5a4322,_0x2d7d3a);try{await this[_0x4e858b(0x421)][_0x4e858b(0x37f)](_0x2fe546,{'body':_0xdf1ee3});}catch(_0x32e524){throw this[_0x4e858b(0x442)][_0x4e858b(0x384)](_0x4e858b(0x50d),_0x4e858b(0x598)),_0x32e524;}}async['_fetchMissChangesets'](_0x476e52){const _0x38a0af=_0x361975,{unitID:_0x326846,from:_0x4781b2,to:_0x2ba94a,unitType:_0x1e7d18}=_0x476e52['data'];return(await this[_0x38a0af(0x351)][_0x38a0af(0x642)]({'metadata':void 0x0},{'unitID':_0x326846,'type':_0x1e7d18,'from':_0x4781b2,'to':_0x2ba94a}))[_0x38a0af(0x5fc)];}},exports[_0x361975(0x451)]=cn([De(0x0,a[_0x361975(0x4b5)](z[_0x361975(0x4c2)])),De(0x1,a[_0x361975(0x4b5)](z[_0x361975(0x676)])),De(0x2,a[_0x361975(0x314)]),De(0x3,a[_0x361975(0x68e)]),De(0x4,m[_0x361975(0x2ed)])],exports[_0x361975(0x451)]);const hn='collaboration_new_changeset';function _n(_0x318689){const _0x2a04a3=_0x361975;return JSON[_0x2a04a3(0x5a9)](_0x318689)[_0x2a04a3(0x31c)];}class wt{constructor(){const _0x2b7c69=_0x361975;I(this,'_commentUpdate$',new N[(_0x2b7c69(0x3e1))]()),I(this,_0x2b7c69(0x61f),this[_0x2b7c69(0x24f)][_0x2b7c69(0x2aa)]());}[_0x361975(0x3fb)](_0x4f3cbc){const _0x3cca05=_0x361975;this[_0x3cca05(0x24f)]['next'](_0x4f3cbc);}}var un=Object['defineProperty'],dn=Object[_0x361975(0x3bb)],fn=(_0x2e4ca3,_0x5abc0b,_0x157dfc,_0x2e69d7)=>{const _0x7e52e6=_0x361975;for(var _0x1dbe06=_0x2e69d7>0x1?void 0x0:_0x2e69d7?dn(_0x5abc0b,_0x157dfc):_0x5abc0b,_0x504276=_0x2e4ca3[_0x7e52e6(0x31c)]-0x1,_0x18b977;_0x504276>=0x0;_0x504276--)(_0x18b977=_0x2e4ca3[_0x504276])&&(_0x1dbe06=(_0x2e69d7?_0x18b977(_0x5abc0b,_0x157dfc,_0x1dbe06):_0x18b977(_0x1dbe06))||_0x1dbe06);return _0x2e69d7&&_0x1dbe06&&un(_0x5abc0b,_0x157dfc,_0x1dbe06),_0x1dbe06;},jt=(_0x411a4b,_0x4448af)=>(_0x57093a,_0x396d2b)=>_0x4448af(_0x57093a,_0x396d2b,_0x411a4b);exports[_0x361975(0x486)]=class extends a['Disposable']{constructor(_0x2e9e56,_0x25bbe4){const _0x2e6671=_0x361975;super(),I(this,_0x2e6671(0x522),new Map()),(this[_0x2e6671(0x491)]=_0x2e9e56,this['_userManagerService']=_0x25bbe4,this[_0x2e6671(0x259)](a[_0x2e6671(0x4f1)](N[_0x2e6671(0x5dd)](this[_0x2e6671(0x491)][_0x2e6671(0x59f)](a[_0x2e6671(0x481)][_0x2e6671(0x327)])[_0x2e6671(0x256)](V[_0x2e6671(0x4ec)](_0x557b60=>_0x557b60[_0x2e6671(0x5db)]())),this[_0x2e6671(0x491)]['getTypeOfUnitDisposed$'](a[_0x2e6671(0x481)][_0x2e6671(0x5f5)])[_0x2e6671(0x256)](V[_0x2e6671(0x4ec)](_0x7ae6b0=>_0x7ae6b0[_0x2e6671(0x5db)]())),this['_univerInstanceService'][_0x2e6671(0x59f)](a[_0x2e6671(0x481)]['UNIVER_SLIDE'])[_0x2e6671(0x256)](V[_0x2e6671(0x4ec)](_0x5f0b9c=>_0x5f0b9c['getUnitId']())))['subscribe'](_0x213c19=>this['_removeRoom'](_0x213c19)))));}[_0x361975(0x43c)](_0x560417){const _0x533f86=_0x361975;this[_0x533f86(0x2f3)][_0x533f86(0x43c)](_0x560417);}[_0x361975(0x5b8)](){const _0x57ddb9=_0x361975;return this[_0x57ddb9(0x2f3)][_0x57ddb9(0x5b8)]();}[_0x361975(0x206)](_0x1a7886,_0x406654){const _0xa1eee3=_0x361975;let _0x6df1dd=this['_roomMembers'][_0xa1eee3(0x5e3)](_0x1a7886);_0x6df1dd||(_0x6df1dd=new vn(),this['_roomMembers'][_0xa1eee3(0x69a)](_0x1a7886,_0x6df1dd)),_0x6df1dd[_0xa1eee3(0x206)](_0x406654);}['removeMember'](_0x1cd842,_0x432c79){const _0xe7230e=_0x361975,_0x5debb3=this[_0xe7230e(0x522)][_0xe7230e(0x5e3)](_0x1cd842);_0x5debb3&&_0x5debb3[_0xe7230e(0x5d4)](_0x432c79);}['getRoom'](_0x1f455d){const _0x176643=_0x361975;return this[_0x176643(0x522)][_0x176643(0x5e3)](_0x1f455d);}['getMember'](_0x359aa3,_0x16d460){const _0x13aadf=_0x361975,_0x312d18=this[_0x13aadf(0x522)]['get'](_0x359aa3);if(_0x312d18)return _0x312d18[_0x13aadf(0x348)](_0x16d460);}[_0x361975(0x633)](_0x127fdc){const _0x145844=_0x361975,_0x4ca59b=this[_0x145844(0x522)][_0x145844(0x5e3)](_0x127fdc);_0x4ca59b&&(_0x4ca59b[_0x145844(0x2a2)](),this[_0x145844(0x522)][_0x145844(0x335)](_0x127fdc));}['dispose'](){const _0x4486a0=_0x361975;this[_0x4486a0(0x522)][_0x4486a0(0x3d7)](_0x2f44ad=>_0x2f44ad[_0x4486a0(0x2a2)]()),this['_roomMembers'][_0x4486a0(0x2f1)]();}},exports[_0x361975(0x486)]=fn([jt(0x0,a['IUniverInstanceService']),jt(0x1,a['Inject'](a['UserManagerService']))],exports['MemberService']);class vn extends a['Disposable']{constructor(){const _0x50661d=_0x361975;super(...arguments),I(this,_0x50661d(0x5e8),new Map());}[_0x361975(0x2a2)](){const _0x1087df=_0x361975;this['_members'][_0x1087df(0x2f1)]();}[_0x361975(0x206)](_0x91d8f4){const _0x36c2a7=_0x361975;this['_members'][_0x36c2a7(0x69a)](_0x91d8f4[_0x36c2a7(0x691)],_0x91d8f4);}[_0x361975(0x5d4)](_0x38217b){const _0x20a8c4=_0x361975;this[_0x20a8c4(0x5e8)][_0x20a8c4(0x335)](_0x38217b);}[_0x361975(0x348)](_0x247e54){const _0x4a9290=_0x361975;return this[_0x4a9290(0x5e8)]['get'](_0x247e54);}[_0x361975(0x4df)](){const _0x56ea33=_0x361975;return Array[_0x56ea33(0x4fb)](this['_members']['values']());}}var Sn=Object[_0x361975(0x23f)],pn=Object[_0x361975(0x3bb)],mn=(_0x1e1f74,_0x1ab5ea,_0x1df8c7,_0x4e4553)=>{const _0x32898a=_0x361975;for(var _0x90fbb2=_0x4e4553>0x1?void 0x0:_0x4e4553?pn(_0x1ab5ea,_0x1df8c7):_0x1ab5ea,_0x1f2a71=_0x1e1f74[_0x32898a(0x31c)]-0x1,_0x432eb0;_0x1f2a71>=0x0;_0x1f2a71--)(_0x432eb0=_0x1e1f74[_0x1f2a71])&&(_0x90fbb2=(_0x4e4553?_0x432eb0(_0x1ab5ea,_0x1df8c7,_0x90fbb2):_0x432eb0(_0x90fbb2))||_0x90fbb2);return _0x4e4553&&_0x90fbb2&&Sn(_0x1ab5ea,_0x1df8c7,_0x90fbb2),_0x90fbb2;},ue=(_0x569987,_0x116910)=>(_0x36d009,_0x2e196e)=>_0x116910(_0x36d009,_0x2e196e,_0x569987),ne=(_0xd2e309=>(_0xd2e309[_0xd2e309['IDLE']=0x0]=_0x361975(0x450),_0xd2e309[_0xd2e309[_0x361975(0x4f9)]=0x1]=_0x361975(0x4f9),_0xd2e309[_0xd2e309[_0x361975(0x48f)]=0x2]=_0x361975(0x48f),_0xd2e309[_0xd2e309['ONLINE']=0x3]=_0x361975(0x2af),_0xd2e309))(ne||{});const Ht={[ge['FAIL']]:_0x361975(0x404),[ge['JOIN_ROOM_FULL']]:_0x361975(0x3d0),[ge[_0x361975(0x356)]]:'session.room-not-exists',[ge[_0x361975(0x2da)]]:'session.room-permission-denied',[ge[_0x361975(0x475)]]:_0x361975(0x550)};exports['CollaborationSession']=class extends a['RxDisposable']{constructor(_0x146138,_0x21927f,_0x1f4fad,_0x206814,_0x41a449,_0x37aca0,_0x1392b7,_0x1d575c,_0x852641,_0x562e2b){const _0x4f0f32=_0x361975;super(),I(this,_0x4f0f32(0x21e),new N[(_0x4f0f32(0x392))](0x0)),I(this,_0x4f0f32(0x658),this[_0x4f0f32(0x21e)][_0x4f0f32(0x2aa)]()),I(this,_0x4f0f32(0x2ea),new N[(_0x4f0f32(0x3e1))]()),I(this,'event$',this['_event$'][_0x4f0f32(0x2aa)]()),I(this,'_socket'),I(this,'_socketMessageSubscription'),I(this,_0x4f0f32(0x5c1)),I(this,_0x4f0f32(0x5a7),!0x1),I(this,_0x4f0f32(0x305),null),(this['_unitID']=_0x146138,this['_logService']=_0x1f4fad,this['_beforeCloseService']=_0x206814,this[_0x4f0f32(0x4b9)]=_0x41a449,this[_0x4f0f32(0x32b)]=_0x37aca0,this[_0x4f0f32(0x312)]=_0x1392b7,this[_0x4f0f32(0x527)]=_0x1d575c,this[_0x4f0f32(0x6a3)]=_0x852641,this[_0x4f0f32(0x443)]=_0x562e2b,this[_0x4f0f32(0x5a7)]=!!this['_telemetryService'],_0x21927f[_0x4f0f32(0x256)](N[_0x4f0f32(0x23d)](this[_0x4f0f32(0x3cd)]))[_0x4f0f32(0x2d2)](_0x19792f=>{const _0x4f1663=_0x4f0f32;var _0x8032a5;typeof _0x19792f>'u'||(this['_socket']=_0x19792f,_0x19792f?(this[_0x4f1663(0x556)](_0x19792f),this[_0x4f1663(0x672)]=_0x19792f[_0x4f1663(0x477)][_0x4f1663(0x2d2)](_0x3c100b=>{const _0x42d9ea=_0x4f1663;_0x3c100b[_0x42d9ea(0x3db)]===this['_unitID']&&this['_onCombEvent'](_0x3c100b);})):(this[_0x4f1663(0x229)](),this[_0x4f1663(0x21e)][_0x4f1663(0x514)](0x2),(_0x8032a5=this[_0x4f1663(0x672)])==null||_0x8032a5['unsubscribe'](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this[_0x4f0f32(0x640)][_0x4f0f32(0x634)](()=>{const _0x533d93=_0x4f0f32;var _0x4c30e9;(_0x4c30e9=this[_0x533d93(0x433)])==null||_0x4c30e9[_0x533d93(0x223)]({'cmd':G[_0x533d93(0x231)],'data':{'roomID':this['_unitID']}});})));}get['sessionStatus'](){const _0xdf9792=_0x361975;return this[_0xdf9792(0x21e)]['getValue']();}[_0x361975(0x61c)](){const _0x4ceb88=_0x361975;var _0x46e088,_0x3f6153;return(_0x3f6153=(_0x46e088=this[_0x4ceb88(0x433)])==null?void 0x0:_0x46e088[_0x4ceb88(0x691)])!=null?_0x3f6153:null;}[_0x361975(0x2a2)](){const _0x2000e2=_0x361975;super[_0x2000e2(0x2a2)](),this[_0x2000e2(0x3cd)][_0x2000e2(0x514)](),this[_0x2000e2(0x3cd)][_0x2000e2(0x29e)]();}[_0x361975(0x684)](){const _0x991e64=_0x361975;var _0x414af1,_0x23838c;this[_0x991e64(0x229)](),(_0x414af1=this[_0x991e64(0x433)])==null||_0x414af1[_0x991e64(0x223)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x991e64(0x22f)]}}),(_0x23838c=this[_0x991e64(0x433)])==null||_0x23838c['close'](),this['_event$'][_0x991e64(0x29e)](),this[_0x991e64(0x21e)][_0x991e64(0x29e)](),this[_0x991e64(0x2a2)]();}['_onCombEvent'](_0x3e0e71){const _0x53bc6c=_0x361975;_0x3e0e71['cmd']===G[_0x53bc6c(0x569)]?this['_onJoinRoomEvent'](_0x3e0e71):_0x3e0e71['cmd']===G[_0x53bc6c(0x300)]&&this[_0x53bc6c(0x547)](_0x3e0e71);}['_joinRoom'](_0x32d547){const _0x30b5c6=_0x361975;this[_0x30b5c6(0x21e)][_0x30b5c6(0x514)](0x1),_0x32d547['send']({'cmd':G[_0x30b5c6(0x569)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x361975(0x2bf)](_0x3bf338){const _0x24e448=_0x361975;var _0x3f83e9;if(_0x3bf338[_0x24e448(0x331)]in Ht){this[_0x24e448(0x4b9)]['show']({'type':Ce[_0x24e448(0x42c)][_0x24e448(0x657)],'content':this[_0x24e448(0x312)]['t'](Ht[_0x3bf338[_0x24e448(0x331)]])}),this[_0x24e448(0x21e)][_0x24e448(0x514)](0x2);return;}this[_0x24e448(0x21e)][_0x24e448(0x514)](0x3);const _0x1eee6a=(_0x3f83e9=_0x3bf338[_0x24e448(0x405)][_0x24e448(0x6a8)][this[_0x24e448(0x22f)]])==null?void 0x0:_0x3f83e9[_0x24e448(0x526)];_0x1eee6a&&_0x1eee6a[_0x24e448(0x3d7)](_0x593cea=>this[_0x24e448(0x527)][_0x24e448(0x206)](this[_0x24e448(0x22f)],_0x593cea));}[_0x361975(0x547)](_0x3803c1){const _0x4eb045=_0x361975;try{const _0x165a82=_0x3803c1[_0x4eb045(0x405)];switch(_0x165a82[_0x4eb045(0x395)]){case m['CollaborationEvent'][_0x4eb045(0x637)]:this['_onUserJoin'](_0x165a82),this[_0x4eb045(0x2ea)][_0x4eb045(0x514)](_0x165a82);break;case m[_0x4eb045(0x3aa)]['USERS_LEAVE']:this['_onUserLeave'](_0x165a82),this['_event$'][_0x4eb045(0x514)](_0x165a82);break;case m['CollaborationEvent'][_0x4eb045(0x25c)]:case m[_0x4eb045(0x3aa)][_0x4eb045(0x3f5)]:this[_0x4eb045(0x339)](),this[_0x4eb045(0x419)](),this[_0x4eb045(0x2ea)][_0x4eb045(0x514)](_0x165a82);break;case m[_0x4eb045(0x3aa)][_0x4eb045(0x4a7)]:this[_0x4eb045(0x442)][_0x4eb045(0x384)](_0x4eb045(0x5c3)+JSON['stringify'](_0x165a82)),this[_0x4eb045(0x2ea)][_0x4eb045(0x514)](_0x165a82);break;case m['CollaborationEvent'][_0x4eb045(0x539)]:this[_0x4eb045(0x6a3)][_0x4eb045(0x3fb)](_0x165a82[_0x4eb045(0x405)]),this[_0x4eb045(0x2ea)]['next'](_0x165a82);break;default:this[_0x4eb045(0x2ea)][_0x4eb045(0x514)](_0x165a82);}}catch(_0x4878cc){this[_0x4eb045(0x442)][_0x4eb045(0x384)](_0x4878cc,_0x3803c1);}}[_0x361975(0x217)](_0x8cb6ab){const _0x18c9f7=_0x361975;this[_0x18c9f7(0x527)]['updateMember'](this[_0x18c9f7(0x22f)],_0x8cb6ab['data']);}[_0x361975(0x2e5)](_0x487c41){const _0x105cf9=_0x361975;this[_0x105cf9(0x527)][_0x105cf9(0x5d4)](this['_unitID'],_0x487c41[_0x105cf9(0x405)][_0x105cf9(0x691)]);}async[_0x361975(0x223)](_0x264746,_0x12e24b){const _0x2d9b88=_0x361975;if(this[_0x2d9b88(0x363)]!==0x3||!this[_0x2d9b88(0x433)])throw new Error(_0x2d9b88(0x662));try{_0x264746[_0x2d9b88(0x395)]===m[_0x2d9b88(0x3aa)][_0x2d9b88(0x63a)]&&(this[_0x2d9b88(0x4b3)](),this[_0x2d9b88(0x56d)](_0x264746)),this[_0x2d9b88(0x433)][_0x2d9b88(0x223)]({'cmd':G[_0x2d9b88(0x55f)],'routeKey':_0x12e24b,'routeType':'','data':_0x264746});}catch(_0x5a28e8){this[_0x2d9b88(0x442)][_0x2d9b88(0x384)](_0x5a28e8);}}[_0x361975(0x4b3)](){const _0x27a79b=_0x361975;var _0xf623af;this[_0x27a79b(0x5c1)]=window[_0x27a79b(0x59e)](()=>{const _0x53c5c3=_0x27a79b;this[_0x53c5c3(0x5c1)]=null,this[_0x53c5c3(0x4b9)][_0x53c5c3(0x4d8)]({'type':Ce[_0x53c5c3(0x42c)][_0x53c5c3(0x44f)],'content':this['_localeService']['t'](_0x53c5c3(0x63f))});},(_0xf623af=this[_0x27a79b(0x32b)][_0x27a79b(0x269)](Dt))!=null?_0xf623af:mi);}[_0x361975(0x419)](){const _0x4c82ce=_0x361975;this[_0x4c82ce(0x5c1)]&&(clearTimeout(this[_0x4c82ce(0x5c1)]),this['_collaborationTimeoutTimer']=null);}[_0x361975(0x56d)](_0x20f01f){const _0x3e5385=_0x361975;if(!this[_0x3e5385(0x5a7)])return;const {data:_0x374e91}=_0x20f01f,{unitID:_0x5b0f57,changeset:_0x4ef7fa}=_0x374e91,{mutations:_0x148717,type:_0x2d692a}=_0x4ef7fa;this['_telemetryInfo']={'unitId':_0x5b0f57,'type':_0x2d692a,'startTime':performance[_0x3e5385(0x603)](),'stopTime':0x0,'duration':0x0,'size':_n(_0x148717)};}[_0x361975(0x339)](){const _0x3b994e=_0x361975;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this['_logService'][_0x3b994e(0x384)](_0x3b994e(0x50d),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3b994e(0x305)][_0x3b994e(0x610)]=performance['now'](),this[_0x3b994e(0x305)][_0x3b994e(0x680)]=this[_0x3b994e(0x305)][_0x3b994e(0x610)]-this[_0x3b994e(0x305)][_0x3b994e(0x540)],this[_0x3b994e(0x443)][_0x3b994e(0x2e9)](hn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x361975(0x229)](){const _0x4d87b1=_0x361975;this[_0x4d87b1(0x305)]=null;}},exports[_0x361975(0x243)]=mn([ue(0x2,a[_0x361975(0x68e)]),ue(0x3,ee[_0x361975(0x5fd)]),ue(0x4,ee[_0x361975(0x4a0)]),ue(0x5,a[_0x361975(0x314)]),ue(0x6,a['Inject'](a['LocaleService'])),ue(0x7,a[_0x361975(0x4b5)](exports[_0x361975(0x486)])),ue(0x8,a[_0x361975(0x4b5)](wt)),ue(0x9,a[_0x361975(0x580)](Gi[_0x361975(0x5b0)]))],exports[_0x361975(0x243)]);var gn=Object['defineProperty'],In=Object['getOwnPropertyDescriptor'],Cn=(_0x5ec2cb,_0x9a787f,_0x232d86,_0x3caa35)=>{const _0x5b05f0=_0x361975;for(var _0x484960=_0x3caa35>0x1?void 0x0:_0x3caa35?In(_0x9a787f,_0x232d86):_0x9a787f,_0x9f5ce=_0x5ec2cb[_0x5b05f0(0x31c)]-0x1,_0x4da4c9;_0x9f5ce>=0x0;_0x9f5ce--)(_0x4da4c9=_0x5ec2cb[_0x9f5ce])&&(_0x484960=(_0x3caa35?_0x4da4c9(_0x9a787f,_0x232d86,_0x484960):_0x4da4c9(_0x484960))||_0x484960);return _0x3caa35&&_0x484960&&gn(_0x9a787f,_0x232d86,_0x484960),_0x484960;},Se=(_0x4656c6,_0x4d32c8)=>(_0xad6203,_0x42f6f4)=>_0x4d32c8(_0xad6203,_0x42f6f4,_0x4656c6);exports[_0x361975(0x245)]=class extends a['Disposable']{constructor(_0x47227c,_0x18f97b,_0x46058a,_0x25fecd,_0x3b8c0c,_0x4ddeea,_0x4ba4ca){const _0xaadb3f=_0x361975;super(),I(this,_0xaadb3f(0x2c7),new N[(_0xaadb3f(0x392))](void 0x0)),I(this,_0xaadb3f(0x216),this[_0xaadb3f(0x2c7)][_0xaadb3f(0x2aa)]()),I(this,'_candidateSocket',null),I(this,'_sessions',new Map()),I(this,_0xaadb3f(0x50b),new N['BehaviorSubject'](ne[_0xaadb3f(0x450)])),I(this,'status$',this[_0xaadb3f(0x50b)][_0xaadb3f(0x2aa)]()),I(this,'_socketReady',!0x1),I(this,_0xaadb3f(0x45f)),I(this,_0xaadb3f(0x394),0x0),I(this,_0xaadb3f(0x458)),I(this,_0xaadb3f(0x3cf)),(this['_injector']=_0x47227c,this[_0xaadb3f(0x312)]=_0x18f97b,this['_messageService']=_0x46058a,this[_0xaadb3f(0x442)]=_0x25fecd,this[_0xaadb3f(0x32b)]=_0x3b8c0c,this[_0xaadb3f(0x689)]=_0x4ddeea,this[_0xaadb3f(0x53b)]=_0x4ba4ca,this[_0xaadb3f(0x466)]());}get[_0x361975(0x433)](){const _0x3ff588=_0x361975;return this['_socket$'][_0x3ff588(0x62d)]();}[_0x361975(0x466)](){const _0x352b8e=_0x361975;this[_0x352b8e(0x40a)](),this[_0x352b8e(0x3c5)]();}[_0x361975(0x2a2)](){const _0x3a8261=_0x361975;super[_0x3a8261(0x2a2)](),this[_0x3a8261(0x5e5)][_0x3a8261(0x3d7)](_0x198652=>_0x198652[_0x3a8261(0x2a2)]()),this[_0x3a8261(0x5e5)][_0x3a8261(0x2f1)](),this[_0x3a8261(0x50b)][_0x3a8261(0x29e)]();}async[_0x361975(0x21c)](_0x16574b){const _0x2e74a0=_0x361975;if(this[_0x2e74a0(0x5e5)][_0x2e74a0(0x638)](_0x16574b))return this[_0x2e74a0(0x5e5)][_0x2e74a0(0x5e3)](_0x16574b);this[_0x2e74a0(0x593)]();const _0x11acb7=this[_0x2e74a0(0x5f2)][_0x2e74a0(0x665)](exports[_0x2e74a0(0x243)],_0x16574b,this[_0x2e74a0(0x2c7)][_0x2e74a0(0x2aa)]());return this[_0x2e74a0(0x5e5)][_0x2e74a0(0x69a)](_0x16574b,_0x11acb7),_0x11acb7;}['closeSession'](_0x415979){const _0x575e26=_0x361975;var _0x2c259f;const _0x50131c=this[_0x575e26(0x5e5)][_0x575e26(0x5e3)](_0x415979);_0x50131c&&(this[_0x575e26(0x5e5)][_0x575e26(0x335)](_0x415979),_0x50131c[_0x575e26(0x684)]()),this[_0x575e26(0x5e5)][_0x575e26(0x24d)]||(_0x2c259f=this['_socket'])==null||_0x2c259f[_0x575e26(0x684)]();}[_0x361975(0x48d)](){const _0x410e03=_0x361975;this[_0x410e03(0x394)]=0x0,this[_0x410e03(0x45f)]!=null&&(clearTimeout(this[_0x410e03(0x45f)]),this[_0x410e03(0x45f)]=null),this['_tryReconnect']();}async['_getSessionTicket'](){const _0x585d82=_0x361975;var _0x495c07,_0x3bd0f3,_0x17d590;const _0x303939=this[_0x585d82(0x32b)][_0x585d82(0x269)](Z),_0x51395d=(_0x495c07=_0x303939==null?void 0x0:_0x303939[_0x585d82(0x211)])!=null?_0x495c07:Ji;return(_0x17d590=(_0x3bd0f3=(await this['_httpService']['get'](_0x51395d,{'headers':{'Content-Type':_0x585d82(0x5c5)}}))[_0x585d82(0x2eb)])==null?void 0x0:_0x3bd0f3['ticket'])!=null?_0x17d590:'';}[_0x361975(0x251)](_0x52e015){const _0x544378=_0x361975;var _0x498f9b,_0x43bf59;const _0x24bbf7=this[_0x544378(0x32b)][_0x544378(0x269)](Si),_0x5e037c=this[_0x544378(0x32b)][_0x544378(0x269)](Z),_0x554719=(_0x43bf59=(_0x498f9b=_0x5e037c==null?void 0x0:_0x5e037c['collabWebSocketUrl'])!=null?_0x498f9b:_0x24bbf7)!=null?_0x43bf59:Xi,_0x580fcb=new URL(_0x554719,window[_0x544378(0x313)][_0x544378(0x370)]);return _0x580fcb[_0x544378(0x220)][_0x544378(0x69a)](_0x544378(0x357),_0x52e015),_0x580fcb[_0x544378(0x620)]();}async[_0x361975(0x69b)](){const _0x2efe3b=_0x361975,_0x4acdf8=await this['_getSessionTicket'](),_0x4ec1c8=this[_0x2efe3b(0x251)](_0x4acdf8),_0x170045=this['_socketService']['createSocket'](_0x4ec1c8);return this[_0x2efe3b(0x449)]=_0x170045,_0x170045;}async[_0x361975(0x593)](){const _0x12f56b=_0x361975;var _0x53f55a,_0x5e40c6;try{const _0xe3282d=(_0x5e40c6=(_0x53f55a=this['_socket'])!=null?_0x53f55a:this[_0x12f56b(0x449)])!=null?_0x5e40c6:await this['_createSocket']();if(_0xe3282d){const _0x2443c5=_0xe3282d['send'];_0xe3282d[_0x12f56b(0x223)]=_0x50a254=>(this[_0x12f56b(0x2c0)](),_0x2443c5[_0x12f56b(0x2f5)](_0xe3282d,[_0x50a254])),_0xe3282d[_0x12f56b(0x477)][_0x12f56b(0x2d2)](_0x5e1036=>this[_0x12f56b(0x382)](_0xe3282d,_0x5e1036)),_0xe3282d['error$'][_0x12f56b(0x256)](V[_0x12f56b(0x28f)](0x1))[_0x12f56b(0x2d2)](_0x1c2eb2=>this[_0x12f56b(0x442)]['error'](_0x12f56b(0x3c7),_0x1c2eb2)),_0xe3282d[_0x12f56b(0x68b)][_0x12f56b(0x256)](V[_0x12f56b(0x28f)](0x1))[_0x12f56b(0x2d2)](()=>{const _0x51aeff=_0x12f56b;this[_0x51aeff(0x36a)](_0xe3282d);}),_0xe3282d['close$'][_0x12f56b(0x256)](V['take'](0x1))[_0x12f56b(0x2d2)](_0x48d74c=>{const _0x3216bc=_0x12f56b;this[_0x3216bc(0x442)][_0x3216bc(0x653)](_0x3216bc(0x518),_0x3216bc(0x3cb),_0x48d74c),this['_onConnectionFailed']();});}}catch(_0x565121){this[_0x12f56b(0x442)][_0x12f56b(0x384)](_0x565121),this[_0x12f56b(0x4eb)]();}}['_onConnectionOpen'](_0x5d1e38){const _0x4838f2=_0x361975;this[_0x4838f2(0x442)][_0x4838f2(0x653)]('[CollaborationSessionService]',_0x4838f2(0x359)),_0x5d1e38[_0x4838f2(0x223)]({'cmd':G[_0x4838f2(0x1ff)]}),this[_0x4838f2(0x2c0)]();}[_0x361975(0x40a)](){const _0x21e013=_0x361975;window['addEventListener']('offline',()=>this[_0x21e013(0x463)]());}[_0x361975(0x463)](){const _0x3f393=_0x361975;this[_0x3f393(0x609)]=!0x1,this[_0x3f393(0x449)]=null,this[_0x3f393(0x50b)][_0x3f393(0x514)](ne[_0x3f393(0x48f)]),this['_socket$'][_0x3f393(0x514)](null),this['_clearTimeoutTimer'](),this[_0x3f393(0x51c)]();}[_0x361975(0x4eb)](){const _0x4c207b=_0x361975;var _0x5e4edd;this[_0x4c207b(0x463)](),this[_0x4c207b(0x394)]<((_0x5e4edd=this[_0x4c207b(0x32b)][_0x4c207b(0x269)](gi))!=null?_0x5e4edd:en)?(this[_0x4c207b(0x4b9)]['show']({'key':_0x4c207b(0x493),'type':Ce[_0x4c207b(0x42c)]['Warning'],'content':this[_0x4c207b(0x312)]['t'](_0x4c207b(0x612))}),this[_0x4c207b(0x31d)]()):this[_0x4c207b(0x4b9)][_0x4c207b(0x4d8)]({'key':_0x4c207b(0x493),'type':Ce[_0x4c207b(0x42c)][_0x4c207b(0x44f)],'content':this[_0x4c207b(0x312)]['t'](_0x4c207b(0x635))});}[_0x361975(0x3c5)](){const _0x8390fe=_0x361975,_0x14a6f1=()=>{const _0x5938c9=_0x3094;this[_0x5938c9(0x433)]||this[_0x5938c9(0x48d)]();},_0x170ced=()=>{const _0x457e81=_0x3094;this[_0x457e81(0x433)]||document[_0x457e81(0x48a)]==='hidden'||this[_0x457e81(0x48d)]();};window['addEventListener'](_0x8390fe(0x2b4),_0x14a6f1),document[_0x8390fe(0x3bf)](_0x8390fe(0x5c9),_0x170ced);}[_0x361975(0x31d)](){const _0x2c1817=_0x361975;var _0x4c7595;const _0x1ec018=this[_0x2c1817(0x394)],_0x12b1a1=this[_0x2c1817(0x32b)]['getConfig'](Z),_0x46bc1c=_0x1ec018===0x0?0x0:((_0x4c7595=_0x12b1a1==null?void 0x0:_0x12b1a1['retryConnectingInterval'])!=null?_0x4c7595:Qi)*0x2**_0x1ec018;this['_retryConnectingTimer']=window[_0x2c1817(0x59e)](()=>{const _0x1dd746=_0x2c1817;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x1dd746(0x593)]();},_0x46bc1c),this['_retryCount']+=0x1;}[_0x361975(0x382)](_0x4b5fea,_0x39ea07){const _0x34886d=_0x361975,{cmd:_0x1966e5}=_0x39ea07;_0x1966e5===G['HELLO']&&!this['_socketReady']&&(_0x4b5fea[_0x34886d(0x691)]=_0x39ea07[_0x34886d(0x405)][_0x34886d(0x691)],this[_0x34886d(0x2c7)]['next'](_0x4b5fea),this[_0x34886d(0x50b)][_0x34886d(0x514)](ne[_0x34886d(0x2af)]),this[_0x34886d(0x609)]=!0x0,this['_candidateSocket']=null),_0x1966e5===G[_0x34886d(0x319)]&&this[_0x34886d(0x5ea)](),this['_rescheduleHeartbeat']();}[_0x361975(0x2c0)](){const _0x491cf2=_0x361975;var _0x3ee426;this[_0x491cf2(0x51c)](),this[_0x491cf2(0x458)]=window[_0x491cf2(0x59e)](()=>this['_sendHeartbeat'](),(_0x3ee426=this['_configService'][_0x491cf2(0x269)](pi))!=null?_0x3ee426:Zi);}[_0x361975(0x60a)](){const _0x37c32f=_0x361975;this[_0x37c32f(0x433)]['send']({'cmd':G[_0x37c32f(0x319)]}),this[_0x37c32f(0x557)]();}[_0x361975(0x557)](){const _0x18e61=_0x361975;var _0x3edfeb;this[_0x18e61(0x3cf)]=window[_0x18e61(0x59e)](()=>this[_0x18e61(0x4eb)](),(_0x3edfeb=this[_0x18e61(0x32b)][_0x18e61(0x269)](Dt))!=null?_0x3edfeb:mi);}[_0x361975(0x51c)](){const _0x1812bb=_0x361975;this[_0x1812bb(0x458)]!=null&&(clearTimeout(this[_0x1812bb(0x458)]),this[_0x1812bb(0x458)]=null);}[_0x361975(0x5ea)](){const _0x4eeb36=_0x361975;this[_0x4eeb36(0x3cf)]!=null&&(clearTimeout(this[_0x4eeb36(0x3cf)]),this[_0x4eeb36(0x3cf)]=null);}},exports[_0x361975(0x245)]=Cn([Se(0x0,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),Se(0x1,a[_0x361975(0x4b5)](a[_0x361975(0x34e)])),Se(0x2,ee['IMessageService']),Se(0x3,a[_0x361975(0x68e)]),Se(0x4,a[_0x361975(0x314)]),Se(0x5,Pt),Se(0x6,a['Inject'](z['HTTPService']))],exports[_0x361975(0x245)]);const q=[];for(let r=0x0;r<0x100;++r)q[_0x361975(0x297)]((r+0x100)[_0x361975(0x620)](0x10)[_0x361975(0x64c)](0x1));function En(_0x336b5b,_0x23b68a=0x0){const _0x39ac55=_0x361975;return(q[_0x336b5b[_0x23b68a+0x0]]+q[_0x336b5b[_0x23b68a+0x1]]+q[_0x336b5b[_0x23b68a+0x2]]+q[_0x336b5b[_0x23b68a+0x3]]+'-'+q[_0x336b5b[_0x23b68a+0x4]]+q[_0x336b5b[_0x23b68a+0x5]]+'-'+q[_0x336b5b[_0x23b68a+0x6]]+q[_0x336b5b[_0x23b68a+0x7]]+'-'+q[_0x336b5b[_0x23b68a+0x8]]+q[_0x336b5b[_0x23b68a+0x9]]+'-'+q[_0x336b5b[_0x23b68a+0xa]]+q[_0x336b5b[_0x23b68a+0xb]]+q[_0x336b5b[_0x23b68a+0xc]]+q[_0x336b5b[_0x23b68a+0xd]]+q[_0x336b5b[_0x23b68a+0xe]]+q[_0x336b5b[_0x23b68a+0xf]])[_0x39ac55(0x1f6)]();}let lt;const bn=new Uint8Array(0x10);function Tn(){const _0x5558c9=_0x361975;if(!lt){if(typeof crypto>'u'||!crypto[_0x5558c9(0x44d)])throw new Error(_0x5558c9(0x459));lt=crypto[_0x5558c9(0x44d)][_0x5558c9(0x49f)](crypto);}return lt(bn);}const Rn=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x361975(0x30f)][_0x361975(0x49f)](crypto),Bt={'randomUUID':Rn};function On(_0x3514c1,_0x1cc3e3,_0x479d1d){const _0x4fa7b0=_0x361975;if(Bt[_0x4fa7b0(0x30f)]&&!_0x1cc3e3&&!_0x3514c1)return Bt[_0x4fa7b0(0x30f)]();_0x3514c1=_0x3514c1||{};const _0x51e72f=_0x3514c1['random']||(_0x3514c1[_0x4fa7b0(0x32f)]||Tn)();return _0x51e72f[0x6]=_0x51e72f[0x6]&0xf|0x40,_0x51e72f[0x8]=_0x51e72f[0x8]&0x3f|0x80,En(_0x51e72f);}var yn=Object[_0x361975(0x23f)],Dn=Object['getOwnPropertyDescriptor'],Pn=(_0x4b5cd8,_0x2cd8ef,_0x3730e7,_0x710cff)=>{const _0x236082=_0x361975;for(var _0x40a3ad=_0x710cff>0x1?void 0x0:_0x710cff?Dn(_0x2cd8ef,_0x3730e7):_0x2cd8ef,_0x4f3e82=_0x4b5cd8[_0x236082(0x31c)]-0x1,_0x2f3dd5;_0x4f3e82>=0x0;_0x4f3e82--)(_0x2f3dd5=_0x4b5cd8[_0x4f3e82])&&(_0x40a3ad=(_0x710cff?_0x2f3dd5(_0x2cd8ef,_0x3730e7,_0x40a3ad):_0x2f3dd5(_0x40a3ad))||_0x40a3ad);return _0x710cff&&_0x40a3ad&&yn(_0x2cd8ef,_0x3730e7,_0x40a3ad),_0x40a3ad;},ht=(_0x17937b,_0x4a3de6)=>(_0x5ebc14,_0x554b5b)=>_0x4a3de6(_0x5ebc14,_0x554b5b,_0x17937b);let Ze=class{constructor(_0x59f214,_0x4b0b32,_0x2134e0){const _0x32a746=_0x361975;this[_0x32a746(0x5f2)]=_0x59f214,this[_0x32a746(0x1e8)]=_0x4b0b32,this[_0x32a746(0x594)]=_0x2134e0;}[_0x361975(0x520)](_0x593615){const _0x43c97e=_0x361975;this[_0x43c97e(0x2db)](_0x593615),this[_0x43c97e(0x2df)](_0x593615);}[_0x361975(0x4cf)](_0x3c2cd5){const _0x1beeba=_0x361975,{unitID:_0x2c7719}=_0x3c2cd5,_0xd6ef58=this[_0x1beeba(0x594)][_0x1beeba(0x579)](_0x2c7719)['with'](J[_0x1beeba(0x568)]),{redoCache:_0x48807a}=_0xd6ef58['getUndoRedoMutationParamsCache']();if(_0x48807a[_0x1beeba(0x31c)]===0x0)return _0x3c2cd5;let _0x25b7db=a[_0x1beeba(0x344)][_0x1beeba(0x2a4)](_0x3c2cd5[_0x1beeba(0x1ec)][0x0]);for(let _0x31d135=0x0;_0x31d135<_0x48807a['length'];_0x31d135++){const _0x9ade82={'id':_0x1beeba(0x4c4),'params':{..._0x48807a[_0x31d135]}},_0x4ca022=this[_0x1beeba(0x1e8)][_0x1beeba(0x516)](_0x25b7db,_0x9ade82,!0x1);if(m[_0x1beeba(0x6a4)](_0x4ca022))throw _0x4ca022[_0x1beeba(0x384)];_0x25b7db=_0x4ca022[_0x1beeba(0x1f4)];}return{...a[_0x1beeba(0x344)][_0x1beeba(0x2a4)](_0x3c2cd5),'mutations':[_0x25b7db]};}[_0x361975(0x2db)](_0x45f0c4){const _0x13a894=_0x361975,{unitID:_0xfd91a5}=_0x45f0c4,_0x55aec5=this[_0x13a894(0x594)][_0x13a894(0x579)](_0xfd91a5)[_0x13a894(0x6b8)](J[_0x13a894(0x568)]),{undoCache:_0x353dcf,redoCache:_0x995036}=_0x55aec5[_0x13a894(0x66c)]();if(_0x353dcf[_0x13a894(0x31c)]===0x0||_0x995036[_0x13a894(0x31c)]===0x0)return;const _0x4c43fb=[],_0x24b410=[];let _0x455fd5=a[_0x13a894(0x344)][_0x13a894(0x2a4)](_0x45f0c4[_0x13a894(0x1ec)][0x0]),_0xbefb4d=a['Tools'][_0x13a894(0x2a4)](_0x45f0c4['mutations'][0x0]);for(let _0x54f812=_0x353dcf[_0x13a894(0x31c)]-0x1;_0x54f812>=0x0;_0x54f812--){const _0xab6a6c={'id':'doc.mutation.rich-text-editing','params':{..._0x353dcf[_0x54f812]}},_0x1a3e5e={'id':_0x13a894(0x4c4),'params':{..._0x995036[_0x54f812]}},_0x3db7d1=this[_0x13a894(0x1e8)][_0x13a894(0x516)](_0x455fd5,_0xab6a6c,!0x1),_0x313cf4=this[_0x13a894(0x1e8)]['transformMutation'](_0xbefb4d,_0x1a3e5e,!0x1);if(m[_0x13a894(0x6a4)](_0x3db7d1))throw _0x3db7d1[_0x13a894(0x384)];if(m['isTransformMutationFailure'](_0x313cf4))throw _0x313cf4[_0x13a894(0x384)];_0x4c43fb[_0x13a894(0x67e)](_0x3db7d1['m2Prime'][_0x13a894(0x509)]),_0x24b410[_0x13a894(0x67e)](_0x313cf4[_0x13a894(0x298)]['params']),_0x455fd5=_0x3db7d1[_0x13a894(0x1f4)],_0xbefb4d=_0x313cf4[_0x13a894(0x1f4)];}_0x55aec5[_0x13a894(0x429)]({'undoCache':_0x4c43fb,'redoCache':_0x24b410});}['_transformPreviousActiveRange'](_0x2eccb9){const _0x25f3bc=_0x361975,{unitID:_0x4aa78d}=_0x2eccb9,_0x4796fe=this[_0x25f3bc(0x594)][_0x25f3bc(0x579)](_0x4aa78d)[_0x25f3bc(0x6b8)](J['DocIMEInputManagerService']),_0x3e8a83=_0x4796fe[_0x25f3bc(0x6af)]();if(_0x3e8a83==null)return;const _0x2a89e8=[{'id':_0x25f3bc(0x4c4),'params':{'unitId':_0x2eccb9[_0x25f3bc(0x332)],'actions':null,'textRanges':[_0x3e8a83]}}],_0x2f3d20=this['_transformService'][_0x25f3bc(0x600)](_0x2eccb9,_0x2a89e8);if(!m[_0x25f3bc(0x371)](_0x2f3d20))throw _0x2f3d20[_0x25f3bc(0x384)];const _0xfa30be=_0x2f3d20[_0x25f3bc(0x298)][0x0][_0x25f3bc(0x509)][_0x25f3bc(0x33b)];Array[_0x25f3bc(0x5d2)](_0xfa30be)&&_0xfa30be[_0x25f3bc(0x31c)]&&_0x4796fe[_0x25f3bc(0x484)](_0xfa30be[0x0]);}};Ze=Pn([ht(0x0,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),ht(0x1,m[_0x361975(0x24c)]),ht(0x2,Y[_0x361975(0x468)])],Ze);var wn=Object[_0x361975(0x23f)],Un=Object[_0x361975(0x3bb)],Mn=(_0x226772,_0x4980f7,_0x21e089,_0x15c779)=>{for(var _0x1d3761=_0x15c779>0x1?void 0x0:_0x15c779?Un(_0x4980f7,_0x21e089):_0x4980f7,_0x6e6a46=_0x226772['length']-0x1,_0x194684;_0x6e6a46>=0x0;_0x6e6a46--)(_0x194684=_0x226772[_0x6e6a46])&&(_0x1d3761=(_0x15c779?_0x194684(_0x4980f7,_0x21e089,_0x1d3761):_0x194684(_0x1d3761))||_0x1d3761);return _0x15c779&&_0x1d3761&&wn(_0x4980f7,_0x21e089,_0x1d3761),_0x1d3761;},Pe=(_0x5d4df3,_0x10285b)=>(_0x2eadbd,_0x3f50ae)=>_0x10285b(_0x2eadbd,_0x3f50ae,_0x5d4df3);exports[_0x361975(0x436)]=class extends a[_0x361975(0x2ee)]{constructor(_0x12ac79,_0x19454a,_0x4ff0e9,_0x43e4eb,_0x1732cb){const _0x1dfc06=_0x361975;super(),I(this,_0x1dfc06(0x519),new Map()),I(this,'_saveTaskMap',new Map()),I(this,_0x1dfc06(0x23b),!0x1),(this[_0x1dfc06(0x32b)]=_0x12ac79,this['_localStorageService']=_0x19454a,this[_0x1dfc06(0x640)]=_0x4ff0e9,this[_0x1dfc06(0x312)]=_0x43e4eb,this['_revisionService']=_0x1732cb,this['_setupBeforeClosingHandler']());}['disableLocalCache'](){const _0x209570=_0x361975;this[_0x209570(0x23b)]=!0x0;}[_0x361975(0x27b)](){const _0x4b479a=_0x361975;this[_0x4b479a(0x23b)]=!0x1;}['dispose'](){const _0x8578a8=_0x361975;this[_0x8578a8(0x64a)]()['then'](()=>super[_0x8578a8(0x2a2)]());}async[_0x361975(0x4b8)](_0x1c8d87){const _0x240659=_0x361975;return this[_0x240659(0x23b)]?null:this[_0x240659(0x237)][_0x240659(0x375)](kt(_0x1c8d87));}async[_0x361975(0x555)](_0x3a7a4f,_0x33ae4a){const _0x1d5a52=_0x361975;return!!this[_0x1d5a52(0x237)][_0x1d5a52(0x3a1)](_0x3a7a4f,_0x33ae4a);}['updateOfflineData'](_0x1aa7df,_0x16592e,_0x29c83f,_0x519af1){const _0x235a87=_0x361975,_0x48a179=this[_0x235a87(0x3b8)][_0x235a87(0x615)](_0x1aa7df);this['_cachedData'][_0x235a87(0x69a)](_0x1aa7df,{'unitID':_0x1aa7df,'type':_0x16592e,'awaitingChangeset':_0x29c83f,'mutations':_0x519af1,'rev':_0x48a179}),this[_0x235a87(0x632)][_0x235a87(0x638)](_0x1aa7df)||this[_0x235a87(0x299)](_0x1aa7df);}[_0x361975(0x299)](_0x4a4048){const _0x5077e1=_0x361975,_0x9b89e=this[_0x5077e1(0x3ad)]();_0x9b89e===0x0?this[_0x5077e1(0x4a2)](_0x4a4048):this['_saveTaskMap'][_0x5077e1(0x69a)](_0x4a4048,setTimeout(()=>this[_0x5077e1(0x4a2)](_0x4a4048),_0x9b89e));}[_0x361975(0x3ad)](){const _0x1c331b=_0x361975;var _0x4ce70c;return(_0x4ce70c=this[_0x1c331b(0x32b)][_0x1c331b(0x269)](Ii))!=null?_0x4ce70c:tn;}[_0x361975(0x4a2)](_0x1d03a4){const _0x2e09fd=_0x361975,_0x3d57fb=this[_0x2e09fd(0x632)][_0x2e09fd(0x5e3)](_0x1d03a4);return _0x3d57fb!==void 0x0&&window[_0x2e09fd(0x627)](_0x3d57fb),this[_0x2e09fd(0x237)][_0x2e09fd(0x3a1)](kt(_0x1d03a4),this[_0x2e09fd(0x519)][_0x2e09fd(0x5e3)](_0x1d03a4))[_0x2e09fd(0x264)](()=>this[_0x2e09fd(0x632)][_0x2e09fd(0x335)](_0x1d03a4));}async[_0x361975(0x64a)](){const _0x217770=_0x361975,_0x36c32f=[];this[_0x217770(0x632)][_0x217770(0x3d7)]((_0x361c99,_0x4f1e72)=>{const _0x1b3fc9=_0x217770;window[_0x1b3fc9(0x627)](_0x361c99),_0x36c32f['push'](this[_0x1b3fc9(0x4a2)](_0x4f1e72)[_0x1b3fc9(0x264)](()=>{const _0x77a1bf=_0x1b3fc9;this[_0x77a1bf(0x632)]['delete'](_0x4f1e72);}));}),await Promise['all'](_0x36c32f);}[_0x361975(0x317)](){const _0x107f29=_0x361975;this[_0x107f29(0x259)](this[_0x107f29(0x640)][_0x107f29(0x424)](()=>{const _0xbadbc1=_0x107f29;if(this['_saveTaskMap'][_0xbadbc1(0x24d)])return this[_0xbadbc1(0x312)]['t']('collaboration-client.offline-data-not-saved');}));}},exports[_0x361975(0x436)]=Mn([Pe(0x0,a[_0x361975(0x314)]),Pe(0x1,a['ILocalStorageService']),Pe(0x2,ee[_0x361975(0x5fd)]),Pe(0x3,a[_0x361975(0x4b5)](a[_0x361975(0x34e)])),Pe(0x4,a[_0x361975(0x4b5)](m[_0x361975(0x2cb)]))],exports[_0x361975(0x436)]);function kt(_0x1609a7){return'unit-cache-'+_0x1609a7;}var Nn=Object[_0x361975(0x23f)],An=Object[_0x361975(0x3bb)],Ln=(_0x15d63c,_0x342ad5,_0x243101,_0x117435)=>{for(var _0xb17372=_0x117435>0x1?void 0x0:_0x117435?An(_0x342ad5,_0x243101):_0x342ad5,_0x4ae3a6=_0x15d63c['length']-0x1,_0x4d6951;_0x4ae3a6>=0x0;_0x4ae3a6--)(_0x4d6951=_0x15d63c[_0x4ae3a6])&&(_0xb17372=(_0x117435?_0x4d6951(_0x342ad5,_0x243101,_0xb17372):_0x4d6951(_0xb17372))||_0xb17372);return _0x117435&&_0xb17372&&Nn(_0x342ad5,_0x243101,_0xb17372),_0xb17372;},_t=(_0xea6348,_0x36177c)=>(_0x513929,_0x1d628f)=>_0x36177c(_0x513929,_0x1d628f,_0xea6348);function xn(_0x51b7ad){const _0x1ad1e5=_0x361975,{unitID:_0x172d75,mutations:_0x135483}=_0x51b7ad;return{'unitId':_0x172d75,'subUnitId':_0x135483[0x0][_0x1ad1e5(0x509)]['subUnitId']};}let Qe=class{constructor(_0x322229,_0x3d0fb1,_0x5adeff){const _0x57f447=_0x361975;this[_0x57f447(0x5f2)]=_0x322229,this[_0x57f447(0x1e8)]=_0x3d0fb1,this[_0x57f447(0x2a6)]=_0x5adeff;}[_0x361975(0x43f)](_0xf93a3f){const _0x5bff16=_0x361975;var _0x5b86c0,_0x5ea861,_0x428228,_0x158bc3;const _0x5b5d24=this['_injector'][_0x5bff16(0x5e3)](k[_0x5bff16(0x534)]),{unitId:_0x9bae19,subUnitId:_0x4bced5}=xn(_0xf93a3f),_0x5260ab=_0x5b5d24[_0x5bff16(0x5ac)](_0x9bae19)['getCurrentSelections'](),_0x84836c=(_0x5ea861=(_0x5b86c0=this[_0x5bff16(0x2a6)]['getUnit'](_0x9bae19))==null?void 0x0:_0x5b86c0[_0x5bff16(0x5c4)]())==null?void 0x0:_0x5ea861[_0x5bff16(0x54f)]();if(_0x5260ab[_0x5bff16(0x31c)]===0x0||!_0x9bae19||!_0x4bced5)return;const _0x2d44b1=[{'id':k[_0x5bff16(0x5d9)]['id'],'params':{'unitId':_0x9bae19,'subUnitId':_0x84836c,'selections':a[_0x5bff16(0x344)][_0x5bff16(0x2a4)](_0x5260ab)}}],_0x440b2e=this[_0x5bff16(0x1e8)][_0x5bff16(0x600)](_0xf93a3f,_0x2d44b1);if(!m[_0x5bff16(0x371)](_0x440b2e))throw _0x440b2e[_0x5bff16(0x384)];const _0x3a945c=(_0x158bc3=(_0x428228=_0x440b2e[_0x5bff16(0x298)][0x0])==null?void 0x0:_0x428228[_0x5bff16(0x509)])==null?void 0x0:_0x158bc3[_0x5bff16(0x564)];if(Array['isArray'](_0x3a945c)&&_0x3a945c['length']){if(_0x3a945c[_0x5bff16(0x31c)]===_0x2d44b1[0x0]['params'][_0x5bff16(0x564)][_0x5bff16(0x31c)]&&_0x3a945c[_0x5bff16(0x55c)]((_0x5e2f05,_0x54410b)=>a[_0x5bff16(0x412)][_0x5bff16(0x401)](_0x5e2f05['range'],_0x2d44b1[0x0]['params'][_0x5bff16(0x564)][_0x54410b]['range'])))return;this[_0x5bff16(0x5f2)][_0x5bff16(0x5e3)](a[_0x5bff16(0x67f)])['executeCommand'](k[_0x5bff16(0x5d9)]['id'],{'unitId':_0x9bae19,'subUnitId':_0x84836c,'selections':_0x3a945c});}}};Qe=Ln([_t(0x0,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),_t(0x1,m[_0x361975(0x24c)]),_t(0x2,a[_0x361975(0x63c)])],Qe);const at=a[_0x361975(0x386)](_0x361975(0x2d3));var yi=(_0x4ac264=>(_0x4ac264[_0x4ac264[_0x361975(0x2cd)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4ac264[_0x4ac264['OTHER_CLIENTS_EDITING']=0x1]=_0x361975(0x625),_0x4ac264))(yi||{});const Wt=0x7530,Ft=_0x361975(0x408);class $n extends a[_0x361975(0x2ee)]{constructor(){const _0x3ae779=_0x361975;super(),I(this,_0x3ae779(0x528),a[_0x3ae779(0x344)][_0x3ae779(0x22d)]()),I(this,_0x3ae779(0x566),new Set()),I(this,'_unitOnClients',new Map()),I(this,_0x3ae779(0x40c),null),I(this,'_clearOtherTimers',new Map()),I(this,_0x3ae779(0x30e),new Map()),this['_init']();}[_0x361975(0x2a2)](){const _0x4b9550=_0x361975;super[_0x4b9550(0x2a2)](),this[_0x4b9550(0x3b9)][_0x4b9550(0x3d7)]((_0x277f3a,_0x2fcada)=>this[_0x4b9550(0x41a)](_0x2fcada)),this['_heartbeatTimer']&&window[_0x4b9550(0x2d5)](this[_0x4b9550(0x40c)]);}[_0x361975(0x400)](_0x16c095){const _0x53483d=_0x361975;return this[_0x53483d(0x498)](_0x16c095)[_0x53483d(0x256)](N[_0x53483d(0x4f2)]());}[_0x361975(0x346)](_0xea3e65){const _0x410e34=_0x361975;this[_0x410e34(0x566)][_0x410e34(0x24d)]===0x0&&this[_0x410e34(0x334)](),this[_0x410e34(0x566)][_0x410e34(0x277)](_0xea3e65),this[_0x410e34(0x4bc)]({'type':0x0,'memberID':this[_0x410e34(0x528)],'unitIDs':[_0xea3e65],'isForwarded':!0x1});}[_0x361975(0x5b7)](_0x431351){const _0x362604=_0x361975;this[_0x362604(0x566)][_0x362604(0x335)](_0x431351),this['_selfUnitIDs'][_0x362604(0x24d)]===0x0&&this[_0x362604(0x40c)]&&window['clearInterval'](this[_0x362604(0x40c)]);}[_0x361975(0x272)](){const _0x4e4052=_0x361975;this['disposeWithMe'](a[_0x4e4052(0x4f1)](N[_0x4e4052(0x388)](window,_0x4e4052(0x320))[_0x4e4052(0x2d2)](_0x16abd8=>{const _0x58706b=_0x4e4052;if(_0x16abd8['key']!==Ft||!_0x16abd8[_0x58706b(0x1e9)])return;const _0x23ab23=JSON[_0x58706b(0x345)](_0x16abd8[_0x58706b(0x1e9)]);this[_0x58706b(0x4bb)](_0x23ab23);}))),window[_0x4e4052(0x3bf)]('unload',()=>this[_0x4e4052(0x4bc)]({'type':0x1,'memberID':this[_0x4e4052(0x528)],'unitIDs':Array[_0x4e4052(0x4fb)](this[_0x4e4052(0x566)])}));}[_0x361975(0x4bb)](_0x158705){const _0x55958a=_0x361975;switch(_0x158705['type']){case 0x0:this[_0x55958a(0x2e8)](_0x158705);break;case 0x1:this['_handleLeaveEvent'](_0x158705);break;case 0x2:this['_handleHeartbeatEvent'](_0x158705);break;}}['_handleJoinEvent'](_0x33ca75){const _0x3b4533=_0x361975,{unitIDs:_0x44c73a,memberID:_0xc070c,isForwarded:_0x42b1bf}=_0x33ca75;_0x44c73a['forEach'](_0x221d9b=>{const _0x442591=_0x3094;if(!_0x42b1bf&&this['_unitOnClients']['has'](_0x221d9b)&&this[_0x442591(0x498)](_0x221d9b)[_0x442591(0x514)](0x1),!this[_0x442591(0x5ce)][_0x442591(0x638)](_0x221d9b)||!this[_0x442591(0x5ce)][_0x442591(0x5e3)](_0x221d9b)[_0x442591(0x638)](_0xc070c)){const _0x3bf904=this[_0x442591(0x5ce)][_0x442591(0x5e3)](_0x221d9b)||new Set();_0x3bf904[_0x442591(0x277)](_0xc070c),this[_0x442591(0x5ce)]['set'](_0x221d9b,_0x3bf904),this[_0x442591(0x2e6)](_0xc070c);}}),_0x42b1bf||this[_0x3b4533(0x4bc)]({'type':0x0,'memberID':this[_0x3b4533(0x528)],'unitIDs':[...this[_0x3b4533(0x566)]],'isForwarded':!0x0});}[_0x361975(0x2e6)](_0x46e25c){const _0x584504=_0x361975;this['_removeClearOtherTimer'](_0x46e25c);const _0x5d77c6=window['setTimeout'](()=>{const _0x585630=_0x3094;this['_unitOnClients'][_0x585630(0x3d7)](_0x13998b=>{const _0x3b426a=_0x585630;_0x13998b[_0x3b426a(0x335)](_0x46e25c);});},Wt*0x2);this[_0x584504(0x3b9)][_0x584504(0x69a)](_0x46e25c,_0x5d77c6);}[_0x361975(0x41a)](_0x4dcff8){const _0x43be68=_0x361975;if(this[_0x43be68(0x3b9)]['has'](_0x4dcff8)){const _0x110229=this[_0x43be68(0x3b9)]['get'](_0x4dcff8);_0x110229&&window[_0x43be68(0x627)](_0x110229),this['_clearOtherTimers'][_0x43be68(0x69a)](_0x4dcff8,null);}}['_handleLeaveEvent'](_0x1b20f4){const {memberID:_0x18ff2a,unitIDs:_0x5ac2a8}=_0x1b20f4;_0x5ac2a8['forEach'](_0x4d7228=>{const _0x214f0e=_0x3094;var _0x489277;const _0x129aa0=this[_0x214f0e(0x5ce)][_0x214f0e(0x5e3)](_0x4d7228);_0x129aa0&&(_0x129aa0[_0x214f0e(0x335)](_0x18ff2a),(_0x489277=this['_ensureSubject'](_0x4d7228))==null||_0x489277[_0x214f0e(0x514)](_0x129aa0[_0x214f0e(0x24d)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x18ff2a);}['_handleHeartbeatEvent'](_0xc77157){const _0x2ebde5=_0x361975;this[_0x2ebde5(0x2e6)](_0xc77157[_0x2ebde5(0x691)]);}[_0x361975(0x4bc)](_0x20025a){const _0x10f587=_0x361975;localStorage[_0x10f587(0x3a1)](Ft,JSON['stringify'](_0x20025a));}[_0x361975(0x334)](){const _0x445104=_0x361975;this['_heartbeatTimer']=window[_0x445104(0x55d)](()=>{const _0x298e48=_0x445104;this[_0x298e48(0x4bc)]({'type':0x2,'memberID':this[_0x298e48(0x528)]});},Wt);}['_ensureSubject'](_0x49af6e){const _0x511447=_0x361975;return this['_unitStatus']['has'](_0x49af6e)||this[_0x511447(0x30e)][_0x511447(0x69a)](_0x49af6e,new N[(_0x511447(0x392))](0x0)),this[_0x511447(0x30e)][_0x511447(0x5e3)](_0x49af6e);}}var jn=Object[_0x361975(0x23f)],Hn=Object[_0x361975(0x3bb)],Bn=(_0x293134,_0x4b2b02,_0x42ef11,_0x30bc96)=>{const _0x529e00=_0x361975;for(var _0x51927f=_0x30bc96>0x1?void 0x0:_0x30bc96?Hn(_0x4b2b02,_0x42ef11):_0x4b2b02,_0x241a00=_0x293134[_0x529e00(0x31c)]-0x1,_0x583e99;_0x241a00>=0x0;_0x241a00--)(_0x583e99=_0x293134[_0x241a00])&&(_0x51927f=(_0x30bc96?_0x583e99(_0x4b2b02,_0x42ef11,_0x51927f):_0x583e99(_0x51927f))||_0x51927f);return _0x30bc96&&_0x51927f&&jn(_0x4b2b02,_0x42ef11,_0x51927f),_0x51927f;},ut=(_0xd4b17b,_0x3c7da7)=>(_0x2c8ae2,_0x53ab8a)=>_0x3c7da7(_0x2c8ae2,_0x53ab8a,_0xd4b17b);let et=class{constructor(_0x154d40,_0x24e83d,_0x5749bb){const _0x36e218=_0x361975;this[_0x36e218(0x5f2)]=_0x154d40,this[_0x36e218(0x1e8)]=_0x24e83d,this[_0x36e218(0x2b9)]=_0x5749bb;}[_0x361975(0x239)](_0x162f96){const _0x4e6a0c=_0x361975;this[_0x4e6a0c(0x20e)](_0x162f96);}[_0x361975(0x4cf)](_0x33f63b){const _0x43ff7f=_0x361975,{unitID:_0x3b72c9}=_0x33f63b,{collaboration:_0xafc71}=this[_0x43ff7f(0x2b9)][_0x43ff7f(0x374)](_0x3b72c9);if(_0xafc71[_0x43ff7f(0x31c)]===0x0)return _0x33f63b;let _0xc3096e=a[_0x43ff7f(0x344)][_0x43ff7f(0x2a4)](_0x33f63b['mutations'][0x0]);for(let _0x176b3e=0x0;_0x176b3e<_0xafc71[_0x43ff7f(0x31c)];_0x176b3e++){const _0x3a2ac4={'id':_0x43ff7f(0x4c4),'params':{'unitId':_0xafc71[_0x176b3e]['unitId'],..._0xafc71[_0x176b3e][_0x43ff7f(0x224)]}},_0x1e40c6=this[_0x43ff7f(0x1e8)]['transformMutation'](_0xc3096e,_0x3a2ac4,!0x1);if(m[_0x43ff7f(0x6a4)](_0x1e40c6))throw _0x1e40c6[_0x43ff7f(0x384)];_0xc3096e=_0x1e40c6[_0x43ff7f(0x1f4)];}return{...a['Tools'][_0x43ff7f(0x2a4)](_0x33f63b),'mutations':[_0xc3096e]};}[_0x361975(0x20e)](_0xc22618){const _0xf43452=_0x361975,{unitID:_0x25584b}=_0xc22618,{history:_0x15815f,collaboration:_0x3c16a7}=this[_0xf43452(0x2b9)]['getStateCache'](_0x25584b);if(_0x15815f['length']===0x0&&_0x3c16a7[_0xf43452(0x31c)]===0x0)return;const _0x18c496=[],_0x3e765a=[];let _0x30b0fb=a['Tools'][_0xf43452(0x2a4)](_0xc22618[_0xf43452(0x1ec)][0x0]),_0x387329=a[_0xf43452(0x344)]['deepClone'](_0xc22618[_0xf43452(0x1ec)][0x0]);for(let _0x5dc04e=_0x15815f[_0xf43452(0x31c)]-0x1;_0x5dc04e>=0x0;_0x5dc04e--){const _0x148fc0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x15815f[_0x5dc04e][_0xf43452(0x693)],..._0x15815f[_0x5dc04e][_0xf43452(0x515)]}},_0x1d0073={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x15815f[_0x5dc04e]['unitId'],..._0x15815f[_0x5dc04e][_0xf43452(0x224)]}},_0x4983fc=this[_0xf43452(0x1e8)][_0xf43452(0x516)](_0x30b0fb,_0x148fc0,!0x1),_0x308904=this[_0xf43452(0x1e8)][_0xf43452(0x516)](_0x387329,_0x1d0073,!0x1);if(m[_0xf43452(0x6a4)](_0x4983fc))throw _0x4983fc[_0xf43452(0x384)];if(m[_0xf43452(0x6a4)](_0x308904))throw _0x308904['error'];_0x18c496['unshift']({..._0x15815f[_0x5dc04e],'undoState':_0x4983fc[_0xf43452(0x298)][_0xf43452(0x509)],'redoState':_0x308904[_0xf43452(0x298)][_0xf43452(0x509)]}),_0x30b0fb=_0x4983fc['m1Prime'],_0x387329=_0x308904[_0xf43452(0x1f4)];}_0x30b0fb=a['Tools'][_0xf43452(0x2a4)](_0xc22618[_0xf43452(0x1ec)][0x0]),_0x387329=a[_0xf43452(0x344)][_0xf43452(0x2a4)](_0xc22618[_0xf43452(0x1ec)][0x0]);for(let _0x354958=_0x3c16a7[_0xf43452(0x31c)]-0x1;_0x354958>=0x0;_0x354958--){const _0x3a9d9d={'id':_0xf43452(0x4c4),'params':{'unitId':_0x3c16a7[_0x354958]['unitId'],..._0x3c16a7[_0x354958][_0xf43452(0x515)]}},_0x4f3f4a={'id':_0xf43452(0x4c4),'params':{'unitId':_0x3c16a7[_0x354958][_0xf43452(0x693)],..._0x3c16a7[_0x354958][_0xf43452(0x224)]}},_0x2e36b7=this['_transformService'][_0xf43452(0x516)](_0x30b0fb,_0x3a9d9d,!0x1),_0x5db1cc=this[_0xf43452(0x1e8)][_0xf43452(0x516)](_0x387329,_0x4f3f4a,!0x1);if(m[_0xf43452(0x6a4)](_0x2e36b7))throw _0x2e36b7['error'];if(m[_0xf43452(0x6a4)](_0x5db1cc))throw _0x5db1cc[_0xf43452(0x384)];_0x3e765a[_0xf43452(0x67e)]({..._0x3c16a7[_0x354958],'undoState':_0x2e36b7[_0xf43452(0x298)]['params'],'redoState':_0x5db1cc[_0xf43452(0x298)][_0xf43452(0x509)]}),_0x30b0fb=_0x2e36b7[_0xf43452(0x1f4)],_0x387329=_0x5db1cc[_0xf43452(0x1f4)];}this[_0xf43452(0x2b9)][_0xf43452(0x53d)](_0x25584b,{'history':_0x18c496,'collaboration':_0x3e765a});}};et=Bn([ut(0x0,a[_0x361975(0x4b5)](a['Injector'])),ut(0x1,m[_0x361975(0x24c)]),ut(0x2,a[_0x361975(0x4b5)](J[_0x361975(0x667)]))],et);function Di(_0x20f1c8){let _0xaba5bb='';for(const _0x41643b of _0x20f1c8){const {startOffset:_0x2664a5,endOffset:_0x35fa55,isActive:_0x28d9e7,rangeType:_0x6e87f0,segmentId:_0x149c78,segmentPage:_0x5cd338}=_0x41643b;_0xaba5bb['length']&&(_0xaba5bb+=','),_0xaba5bb+=_0x2664a5+':'+_0x35fa55+':'+(_0x28d9e7?'1':'0')+':'+_0x6e87f0+':'+_0x149c78+':'+_0x5cd338;}return _0xaba5bb;}function kn(_0x72b7e4){const _0x4cbbc9=_0x361975,_0x9ef225=_0x72b7e4['split'](','),_0x2c5310=[];for(const _0x14eed6 of _0x9ef225){const [_0x52c792,_0x7e4150,_0xd8b515,_0x2e3c69,_0x17193d,_0x434daf]=_0x14eed6['split'](':');_0x2c5310[_0x4cbbc9(0x297)]({'startOffset':Number(_0x52c792),'endOffset':Number(_0x7e4150),'collapsed':_0x52c792===_0x7e4150,'isActive':_0xd8b515==='1','rangeType':_0x2e3c69===a[_0x4cbbc9(0x260)]['TEXT']?a[_0x4cbbc9(0x260)][_0x4cbbc9(0x641)]:a[_0x4cbbc9(0x260)]['RECT'],'segmentId':typeof _0x17193d==_0x4cbbc9(0x4ce)?String(_0x17193d):'','segmentPage':Number(_0x434daf!=null?_0x434daf:-0x1)});}return _0x2c5310['some'](_0x49d266=>_0x49d266['isActive'])||(_0x2c5310[0x0]['isActive']=!0x0),_0x2c5310;}class Ut extends a[_0x361975(0x353)]{constructor(){const _0x544f0a=_0x361975;super(...arguments),I(this,_0x544f0a(0x34b),new N[(_0x544f0a(0x392))](null)),I(this,_0x544f0a(0x296),this[_0x544f0a(0x34b)][_0x544f0a(0x2aa)]());}[_0x361975(0x235)](_0x38b689){const _0x528b08=_0x361975,{unitID:_0x5dc8c7,memberID:_0x57d1c2,textRanges:_0x25582b}=_0x38b689,_0x4dd9c2=Di(_0x25582b);if(_0x4dd9c2==='')return;const _0x38d32b={'unitID':_0x5dc8c7,'memberID':_0x57d1c2,'selection':_0x4dd9c2};this[_0x528b08(0x34b)][_0x528b08(0x514)](_0x38d32b);}}var Wn=Object[_0x361975(0x23f)],Fn=Object[_0x361975(0x3bb)],Vn=(_0x3a7974,_0x561402,_0x199606,_0x27ce01)=>{const _0x55e59f=_0x361975;for(var _0x4d6117=_0x27ce01>0x1?void 0x0:_0x27ce01?Fn(_0x561402,_0x199606):_0x561402,_0x4da374=_0x3a7974[_0x55e59f(0x31c)]-0x1,_0x34daa7;_0x4da374>=0x0;_0x4da374--)(_0x34daa7=_0x3a7974[_0x4da374])&&(_0x4d6117=(_0x27ce01?_0x34daa7(_0x561402,_0x199606,_0x4d6117):_0x34daa7(_0x4d6117))||_0x4d6117);return _0x27ce01&&_0x4d6117&&Wn(_0x561402,_0x199606,_0x4d6117),_0x4d6117;},Vt=(_0x505191,_0x57c36a)=>(_0x517b45,_0x29c5d1)=>_0x57c36a(_0x517b45,_0x29c5d1,_0x505191);let tt=class{constructor(_0x3d977e,_0x5f3fba){const _0x19b7f7=_0x361975;this['_injector']=_0x3d977e,this[_0x19b7f7(0x1e8)]=_0x5f3fba;}[_0x361975(0x43f)](_0x2cc703){const _0x4479a7=_0x361975;var _0x241b71;const _0x26cdd4=this['_injector']['get'](Ie[_0x4479a7(0x6b6)]),_0x355148=(_0x241b71=_0x26cdd4[_0x4479a7(0x510)]())!=null?_0x241b71:[];if(_0x355148[_0x4479a7(0x31c)]===0x0)return;const _0x314617=_0x2cc703['unitID'],_0x45e1d4=[{'id':_0x4479a7(0x4c4),'params':{'unitId':_0x314617,'actions':null,'textRanges':_0x355148}}],_0x17b1c7=this[_0x4479a7(0x1e8)]['transformMutationsWithChangeset'](_0x2cc703,_0x45e1d4);if(!m['isTransformMutationsWithChangesetSuccess'](_0x17b1c7))throw _0x17b1c7[_0x4479a7(0x384)];const _0xce10ea=_0x17b1c7[_0x4479a7(0x298)][0x0][_0x4479a7(0x509)][_0x4479a7(0x33b)];Array[_0x4479a7(0x5d2)](_0xce10ea)&&_0xce10ea[_0x4479a7(0x31c)]&&_0x26cdd4['replaceDocRanges'](_0xce10ea,{'unitId':_0x314617,'subUnitId':_0x314617},!0x1);}};tt=Vn([Vt(0x0,a['Inject'](a['Injector'])),Vt(0x1,m[_0x361975(0x24c)])],tt);const Gn=new Set([k[_0x361975(0x3e0)]['id']]);function Gt(_0x1d2fa1,_0x56df5b,_0x54a15f,_0x567b1d,_0x2590af){const _0x4c2166=_0x361975;var _0x8a7979,_0x165d59,_0x3aa418,_0xe76a9e;const _0x12611a=[];for(const _0x323703 of _0x1d2fa1)if(Gn['has'](_0x323703['id'])){if(_0x12611a[_0x4c2166(0x31c)]>0x0)break;_0x12611a['push'](_0x323703);break;}else _0x12611a[_0x4c2166(0x297)](_0x323703);const _0x1fbf7c=(_0x165d59=(_0x8a7979=_0x2590af[_0x4c2166(0x5b8)]())==null?void 0x0:_0x8a7979[_0x4c2166(0x4ea)])!=null?_0x165d59:_0x4c2166(0x605),_0x281885=(_0xe76a9e=(_0x3aa418=_0x2590af[_0x4c2166(0x5b8)]())==null?void 0x0:_0x3aa418[_0x4c2166(0x691)])!=null?_0xe76a9e:_0x4c2166(0x605);return{'changeset':{'unitID':_0x56df5b,'type':m[_0x4c2166(0x441)](_0x54a15f[_0x4c2166(0x5fe)](_0x56df5b)),'baseRev':_0x567b1d[_0x4c2166(0x615)](_0x56df5b),'revision':0x0,'userID':_0x1fbf7c,'memberID':_0x281885,'mutations':_0x12611a},'pendingMutations':_0x1d2fa1[_0x4c2166(0x64c)](_0x12611a[_0x4c2166(0x31c)])};}function Yn(_0x41cfe1,_0x234f8a,_0x10305b,_0x3a30a6,_0x48092c){const _0x2cb327=_0x361975;var _0xa655e,_0x3daeb5,_0x4e8a48,_0x3730c3;const _0x61cb72=[_0x41cfe1[_0x2cb327(0x22e)]((_0x529aa4,_0x486861)=>{const _0x302f33=_0x2cb327;var _0x73e56b;const {id:_0x4be247}=_0x529aa4,{id:_0x31cc3e,type:_0x3f5c88}=_0x486861,_0x5b9c9f=(_0x73e56b=_0x529aa4[_0x302f33(0x509)])!=null?_0x73e56b:{'actions':null},_0x5ed23a=_0x486861[_0x302f33(0x509)];if(_0x4be247&&_0x4be247!==_0x31cc3e)throw new Error(_0x302f33(0x2f4)+_0x4be247+'\x20-\x20'+_0x31cc3e+'.');return{..._0x529aa4,'id':_0x31cc3e,'type':_0x3f5c88,'params':{'unitId':_0x5ed23a[_0x302f33(0x693)],'textRanges':_0x5ed23a['textRanges'],'actions':a[_0x302f33(0x3a3)]['compose'](_0x5b9c9f[_0x302f33(0x23c)],_0x5ed23a[_0x302f33(0x23c)])}};},{})],_0x4f2fba=(_0x3daeb5=(_0xa655e=_0x48092c[_0x2cb327(0x5b8)]())==null?void 0x0:_0xa655e[_0x2cb327(0x4ea)])!=null?_0x3daeb5:_0x2cb327(0x605),_0x32d5d9=(_0x3730c3=(_0x4e8a48=_0x48092c[_0x2cb327(0x5b8)]())==null?void 0x0:_0x4e8a48[_0x2cb327(0x691)])!=null?_0x3730c3:_0x2cb327(0x605);return{'changeset':{'unitID':_0x234f8a,'type':m[_0x2cb327(0x441)](_0x10305b[_0x2cb327(0x5fe)](_0x234f8a)),'baseRev':_0x3a30a6[_0x2cb327(0x615)](_0x234f8a),'revision':0x0,'userID':_0x4f2fba,'memberID':_0x32d5d9,'mutations':_0x61cb72},'pendingMutations':[]};}function Pi(_0x3b8d8d,_0x3d94e3){const _0x28d105=_0x361975,_0x2cdf43=new N[(_0x28d105(0x2a5))](0x1);return setTimeout(()=>_0x2cdf43[_0x28d105(0x514)](_0x3d94e3),_0x3b8d8d),_0x2cdf43[_0x28d105(0x2aa)]()[_0x28d105(0x256)](N[_0x28d105(0x28f)](0x1));}const qn={'id':k[_0x361975(0x338)]['id'],'type':a[_0x361975(0x688)]['MUTATION'],'params':{}};var Kn=Object['defineProperty'],zn=Object['getOwnPropertyDescriptor'],Ee=(_0x22a3bc,_0x4b0ab5,_0x1fdca1,_0x34e343)=>{const _0x241f1a=_0x361975;for(var _0x27762c=_0x34e343>0x1?void 0x0:_0x34e343?zn(_0x4b0ab5,_0x1fdca1):_0x4b0ab5,_0x40f8b6=_0x22a3bc[_0x241f1a(0x31c)]-0x1,_0x2671fe;_0x40f8b6>=0x0;_0x40f8b6--)(_0x2671fe=_0x22a3bc[_0x40f8b6])&&(_0x27762c=(_0x34e343?_0x2671fe(_0x4b0ab5,_0x1fdca1,_0x27762c):_0x2671fe(_0x27762c))||_0x27762c);return _0x34e343&&_0x27762c&&Kn(_0x4b0ab5,_0x1fdca1,_0x27762c),_0x27762c;},A=(_0x2c0fd1,_0x305a51)=>(_0x46b94e,_0x4d85f6)=>_0x305a51(_0x46b94e,_0x4d85f6,_0x2c0fd1),K=(_0x1f5495=>(_0x1f5495['NOT_COLLAB']='not_collab',_0x1f5495[_0x361975(0x452)]=_0x361975(0x293),_0x1f5495[_0x361975(0x268)]=_0x361975(0x5da),_0x1f5495[_0x361975(0x574)]=_0x361975(0x55e),_0x1f5495['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x1f5495[_0x361975(0x304)]='fetch_missing',_0x1f5495[_0x361975(0x411)]=_0x361975(0x232),_0x1f5495[_0x361975(0x48f)]='offline',_0x1f5495))(K||{});const wi=0xea60;class be{constructor(_0x5bb9e8,_0x4255b9,_0x389d55,_0x5e3864,_0x4a4717,_0xf35aa0,_0x507c0c,_0x17998c,_0x5a73c2){const _0x590641=_0x361975;I(this,_0x590641(0x368),null),I(this,_0x590641(0x6ac),[]),(this['unitID']=_0x5bb9e8,this[_0x590641(0x585)]=_0x4255b9,this['_handler']=_0x4a4717,this[_0x590641(0x39e)]=_0xf35aa0,this[_0x590641(0x5a3)]=_0x507c0c,this[_0x590641(0x3b8)]=_0x17998c,this[_0x590641(0x4ac)]=_0x5a73c2,this[_0x590641(0x368)]=_0x389d55,this[_0x590641(0x6ac)]=_0x5e3864);}[_0x361975(0x628)](_0x361b04){const _0x5d5df3=_0x361975,_0x1af1a5=this['_revisionService'][_0x5d5df3(0x615)](this[_0x5d5df3(0x332)]);return _0x361b04[_0x5d5df3(0x497)]>_0x1af1a5+0x1?(this[_0x5d5df3(0x4cd)]['onMissingChangesets']({'from':_0x1af1a5,'to':_0x361b04[_0x5d5df3(0x497)]-0x1}),!0x0):!0x1;}[_0x361975(0x4c9)](_0x4a2ad4){const _0x326abe=_0x361975;this[_0x326abe(0x5a3)][_0x326abe(0x4cc)](this[_0x326abe(0x332)],_0x4a2ad4);}['_transformSelections'](_0x3c6890){const _0x218935=_0x361975;var _0x5ede11,_0x2c3e71;(_0x2c3e71=(_0x5ede11=this[_0x218935(0x4cd)])[_0x218935(0x5dc)])==null||_0x2c3e71[_0x218935(0x489)](_0x5ede11,_0x3c6890);}['_transformIMECache'](_0x5aa217){const _0x503b6b=_0x361975;var _0x207eb7,_0x5864a8;return(_0x5864a8=(_0x207eb7=this[_0x503b6b(0x4cd)])[_0x503b6b(0x5d6)])==null?void 0x0:_0x5864a8[_0x503b6b(0x489)](_0x207eb7,_0x5aa217);}[_0x361975(0x295)](_0x1fed64){const _0x17c856=_0x361975;var _0x1ec712,_0x5b102e;return(_0x5b102e=(_0x1ec712=this['_handler'])[_0x17c856(0x560)])==null?void 0x0:_0x5b102e[_0x17c856(0x489)](_0x1ec712,_0x1fed64);}[_0x361975(0x596)](_0x4266d8){const _0x4f90a6=_0x361975;var _0x37f4a0,_0x140f43,_0xa8e166;return(_0xa8e166=(_0x140f43=(_0x37f4a0=this[_0x4f90a6(0x4cd)])[_0x4f90a6(0x4db)])==null?void 0x0:_0x140f43[_0x4f90a6(0x489)](_0x37f4a0,_0x4266d8))!=null?_0xa8e166:_0x4266d8;}[_0x361975(0x246)](_0x52c44a){const _0x5f45ef=_0x361975;var _0x5e579c,_0x417e03,_0x1d187e;return(_0x1d187e=(_0x417e03=(_0x5e579c=this[_0x5f45ef(0x4cd)])[_0x5f45ef(0x530)])==null?void 0x0:_0x417e03[_0x5f45ef(0x489)](_0x5e579c,_0x52c44a))!=null?_0x1d187e:_0x52c44a;}[_0x361975(0x2c2)](_0x3ea4ef){const _0x4d7c55=_0x361975;var _0x2d5218,_0x431c23;if(this[_0x4d7c55(0x585)]===ie[_0x4d7c55(0x5f5)]){const {unitID:_0x1e5b35,mutations:_0x2cce07,memberID:_0xe648a1}=_0x3ea4ef,_0x2aed01=_0x2cce07[0x0][_0x4d7c55(0x509)][_0x4d7c55(0x33b)];Array[_0x4d7c55(0x5d2)](_0x2aed01)&&_0x2aed01[_0x4d7c55(0x31c)]>0x0&&((_0x431c23=(_0x2d5218=this[_0x4d7c55(0x4cd)])[_0x4d7c55(0x4f7)])==null||_0x431c23[_0x4d7c55(0x489)](_0x2d5218,{'unitID':_0x1e5b35,'memberID':_0xe648a1,'textRanges':_0x2aed01}));}}['_updateLocalCache'](){const _0x465f6c=_0x361975;this[_0x465f6c(0x4ac)][_0x465f6c(0x33c)](this['unitID'],this[_0x465f6c(0x585)],this[_0x465f6c(0x368)],this[_0x465f6c(0x6ac)]);}[_0x361975(0x27d)](){const _0x5616cb=_0x361975;return this['_revisionService'][_0x5616cb(0x615)](this['unitID']);}[_0x361975(0x2cc)](){const _0xb5b495=_0x361975;this[_0xb5b495(0x3b8)][_0xb5b495(0x3d4)](this[_0xb5b495(0x332)]);}[_0x361975(0x221)](_0x17e588){const _0x32d22e=_0x361975;var _0x5d09e3;let _0x5b0a81=this['_transformRemoteChangesetByIMECache'](_0x17e588);_0x5b0a81=this['_transformRemoteChangesetByStateCache'](_0x5b0a81);const _0x5eebdb=a[_0x32d22e(0x5b4)](_0x5b0a81[_0x32d22e(0x1ec)],this[_0x32d22e(0x39e)],{'fromCollab':!0x0});if(!_0x5eebdb['result'])throw _0x5eebdb[_0x32d22e(0x384)]instanceof Error?_0x5eebdb[_0x32d22e(0x384)]:new Error((_0x5d09e3=_0x5eebdb[_0x32d22e(0x384)])!=null?_0x5d09e3:_0x32d22e(0x326));this[_0x32d22e(0x533)](_0x5b0a81),this[_0x32d22e(0x295)](_0x5b0a81),this[_0x32d22e(0x4c9)](_0x17e588),this['_transformSelections'](_0x5b0a81),this[_0x32d22e(0x2c2)](_0x5b0a81),this[_0x32d22e(0x2cc)]();}}let Oe=class extends be{constructor(_0x3eaf5f,_0x28973f,_0x43ac81,_0x5a325b,_0x62f53e,_0x598bfe,_0x2c6cc6,_0x21f276,_0x1a5e45,_0x555e7e){const _0x2e8008=_0x361975;super(_0x3eaf5f,_0x28973f,null,[],_0x43ac81,_0x21f276,_0x2c6cc6,_0x5a325b,_0x62f53e),I(this,'status',_0x2e8008(0x293)),(this[_0x2e8008(0x5f2)]=_0x598bfe,this[_0x2e8008(0x442)]=_0x1a5e45,this[_0x2e8008(0x1e8)]=_0x555e7e);}[_0x361975(0x2a9)](_0x312488){const _0x1cbfa7=_0x361975,_0x32a4f6=this[_0x1cbfa7(0x5f2)][_0x1cbfa7(0x665)](ae,this[_0x1cbfa7(0x332)],this['type'],[_0x312488],this['_handler']);return _0x32a4f6[_0x1cbfa7(0x45e)](),_0x32a4f6['_updateLocalCache'](),_0x32a4f6;}[_0x361975(0x5a2)](_0x25d638){const _0x4ae404=_0x361975;if(this['_checkMissing'](_0x25d638))return this[_0x4ae404(0x5f2)][_0x4ae404(0x665)](re,this['unitID'],this[_0x4ae404(0x585)],null,[],null,[_0x25d638],this[_0x4ae404(0x4cd)]);try{const _0x35099a=this['_transformService'][_0x4ae404(0x600)](_0x25d638,[qn]);if(m[_0x4ae404(0x371)](_0x35099a)){const {c1Prime:_0x1af281}=_0x35099a;return this[_0x4ae404(0x221)](_0x1af281),this;}throw _0x35099a['error'];}catch(_0x2bec05){return this['_logService']['error'](_0x2bec05),this[_0x4ae404(0x1fc)](!0x1);}}['_onConflict'](_0x59ad3b){const _0x33bc11=_0x361975;return this['_injector'][_0x33bc11(0x665)](fe,this[_0x33bc11(0x332)],this[_0x33bc11(0x585)],null,[],this[_0x33bc11(0x4cd)],_0x59ad3b);}[_0x361975(0x3f9)](){const _0x2b3f53=_0x361975;throw new Error(_0x2b3f53(0x622));}[_0x361975(0x588)](){const _0x2d8db8=_0x361975;throw new Error(_0x2d8db8(0x5ff));}[_0x361975(0x611)](){return this;}['toggleOffline'](){const _0x50a0ba=_0x361975;return this[_0x50a0ba(0x5f2)][_0x50a0ba(0x665)](ve,this[_0x50a0ba(0x332)],this['type'],null,[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){const _0x2938f4=_0x361975;throw new Error(_0x2938f4(0x5f1));}[_0x361975(0x4bf)](){const _0x4a6ed1=_0x361975,_0xd36ed6=this[_0x4a6ed1(0x3b8)][_0x4a6ed1(0x615)](this[_0x4a6ed1(0x332)]);return this[_0x4a6ed1(0x4cd)][_0x4a6ed1(0x6a7)]({'from':_0xd36ed6,'to':0x0}),this[_0x4a6ed1(0x5f2)][_0x4a6ed1(0x665)](re,this[_0x4a6ed1(0x332)],this[_0x4a6ed1(0x585)],null,[],null,[],this[_0x4a6ed1(0x4cd)]);}};Oe=Ee([A(0x3,a['Inject'](m['RevisionService'])),A(0x4,a[_0x361975(0x4b5)](exports[_0x361975(0x436)])),A(0x5,a['Inject'](a[_0x361975(0x2fc)])),A(0x6,a['IUndoRedoService']),A(0x7,a[_0x361975(0x67f)]),A(0x8,a[_0x361975(0x68e)]),A(0x9,m[_0x361975(0x24c)])],Oe);let ae=class extends be{constructor(_0xa92d18,_0x3a928a,_0x1b5e65,_0x23f7b4,_0x3c946f,_0x5b1b45,_0x500511,_0x17681d,_0x20224a,_0x593b48,_0xef7ea7,_0x54c776,_0x28481b,_0x467e03){const _0x5b52b1=_0x361975;super(_0xa92d18,_0x3a928a,null,_0x1b5e65,_0x23f7b4,_0x593b48,_0x467e03,_0x5b1b45,_0x500511),I(this,_0x5b52b1(0x58f),_0x5b52b1(0x5da)),I(this,'_scheduleTimestamp',null),I(this,_0x5b52b1(0x5af),null),(this['_injector']=_0x3c946f,this[_0x5b52b1(0x527)]=_0x17681d,this[_0x5b52b1(0x442)]=_0x20224a,this[_0x5b52b1(0x32b)]=_0xef7ea7,this['_transformService']=_0x54c776,this[_0x5b52b1(0x491)]=_0x28481b);}[_0x361975(0x2a9)](_0x40b5f5){const _0x47d742=_0x361975;return this[_0x47d742(0x6ac)][_0x47d742(0x297)](_0x40b5f5),this[_0x47d742(0x242)](),this;}['onRemoteChangeset'](_0x476882){const _0x5bd9df=_0x361975;if(this['_checkMissing'](_0x476882))return this[_0x5bd9df(0x47d)](),this['_injector'][_0x5bd9df(0x665)](re,this[_0x5bd9df(0x332)],this[_0x5bd9df(0x585)],null,this[_0x5bd9df(0x6ac)],null,[_0x476882],this[_0x5bd9df(0x4cd)]);try{const _0x1ce405=this[_0x5bd9df(0x1e8)]['transformMutationsWithChangeset'](_0x476882,this['_pendingMutations']);if(m[_0x5bd9df(0x371)](_0x1ce405)){const {c1Prime:_0x286e72,m2Prime:_0x216d34}=_0x1ce405;this['_executeRemoteChangeset'](_0x286e72);const _0x6383e9=this[_0x5bd9df(0x5f2)][_0x5bd9df(0x665)](ae,this[_0x5bd9df(0x332)],this[_0x5bd9df(0x585)],_0x216d34,this[_0x5bd9df(0x4cd)]);return this['_clearScheduledTask'](),_0x6383e9['_schedule'](this[_0x5bd9df(0x51e)]?Math[_0x5bd9df(0x685)](0x0,new Date()[_0x5bd9df(0x3f7)]()-this['_scheduleTimestamp']):this[_0x5bd9df(0x4a6)]()),_0x6383e9;}throw _0x1ce405[_0x5bd9df(0x384)];}catch(_0x138709){return this[_0x5bd9df(0x442)]['error'](_0x138709),this['_onConflict'](!0x1);}}[_0x361975(0x3f9)](){const _0x33b177=_0x361975;throw new Error(_0x33b177(0x575));}[_0x361975(0x588)](){const _0x3ac125=_0x361975;throw new Error(_0x3ac125(0x50a));}[_0x361975(0x611)](){return this;}['toggleOffline'](){const _0x22e44e=_0x361975;return this['_clearScheduledTask'](),this[_0x22e44e(0x5f2)][_0x22e44e(0x665)](ve,this[_0x22e44e(0x332)],this[_0x22e44e(0x585)],null,this['_pendingMutations'],this[_0x22e44e(0x4cd)]);}[_0x361975(0x4c7)](){return this;}[_0x361975(0x45e)](_0xb4c1ab){const _0x2221fd=_0x361975,_0x5a30a8=_0xb4c1ab!=null?_0xb4c1ab:this[_0x2221fd(0x4a6)]();this[_0x2221fd(0x51e)]=new Date()[_0x2221fd(0x3f7)](),this['_sendingTimer']=window[_0x2221fd(0x59e)](()=>{const _0x2d575d=_0x2221fd;this[_0x2d575d(0x47d)]();let _0x20f215=null;switch(this[_0x2d575d(0x585)]){case ie['UNIVER_SHEET']:{_0x20f215=Gt(this[_0x2d575d(0x6ac)],this[_0x2d575d(0x332)],this[_0x2d575d(0x491)],this[_0x2d575d(0x3b8)],this['_memberService']);break;}case ie['UNIVER_DOC']:{this['_pendingMutations']['every'](_0xc2866f=>_0xc2866f['id']===Ie[_0x2d575d(0x5be)]['id'])?_0x20f215=Yn(this[_0x2d575d(0x6ac)],this[_0x2d575d(0x332)],this[_0x2d575d(0x491)],this[_0x2d575d(0x3b8)],this['_memberService']):_0x20f215=Gt(this[_0x2d575d(0x6ac)],this[_0x2d575d(0x332)],this[_0x2d575d(0x491)],this['_revisionService'],this[_0x2d575d(0x527)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x2d575d(0x585)]+_0x2d575d(0x54e));}const {changeset:_0x2e52a1,pendingMutations:_0x53d119}=_0x20f215;this[_0x2d575d(0x4cd)][_0x2d575d(0x654)](_0x2e52a1);const _0x5b18da=_0x53d119['length']?this[_0x2d575d(0x5f2)][_0x2d575d(0x665)](ce,this[_0x2d575d(0x332)],this[_0x2d575d(0x585)],_0x2e52a1,_0x53d119,this['_handler'],void 0x0):this['_injector']['createInstance'](de,this['unitID'],this[_0x2d575d(0x585)],_0x2e52a1,this['_handler']);_0x5b18da[_0x2d575d(0x242)](),this[_0x2d575d(0x4cd)]['onStateChange'](this,_0x5b18da);},_0x5a30a8);}[_0x361975(0x4a6)](){const _0x29aec9=_0x361975;var _0x2ea628;const _0x39c0d3=this[_0x29aec9(0x32b)][_0x29aec9(0x269)](Z);return(_0x2ea628=_0x39c0d3==null?void 0x0:_0x39c0d3[_0x29aec9(0x46c)])!=null?_0x2ea628:zi;}[_0x361975(0x454)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x361975(0x47d)](){const _0xa4e5f8=_0x361975;this['_sendingTimer']!=null&&(clearTimeout(this[_0xa4e5f8(0x5af)]),this[_0xa4e5f8(0x5af)]=null);}[_0x361975(0x1fc)](_0x184c9d){const _0x14d2d0=_0x361975;return this[_0x14d2d0(0x47d)](),this[_0x14d2d0(0x5f2)][_0x14d2d0(0x665)](fe,this[_0x14d2d0(0x332)],this[_0x14d2d0(0x585)],null,this[_0x14d2d0(0x6ac)],this[_0x14d2d0(0x4cd)],_0x184c9d);}};ae=Ee([A(0x4,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),A(0x5,a[_0x361975(0x4b5)](m[_0x361975(0x2cb)])),A(0x6,a['Inject'](exports['LocalCacheService'])),A(0x7,a[_0x361975(0x4b5)](exports[_0x361975(0x486)])),A(0x8,a[_0x361975(0x68e)]),A(0x9,a['ICommandService']),A(0xa,a[_0x361975(0x314)]),A(0xb,m['ITransformService']),A(0xc,a[_0x361975(0x63c)]),A(0xd,a['IUndoRedoService'])],ae);let de=class extends be{constructor(_0x211bab,_0x315f44,_0x3291f6,_0x17444e,_0x20bf82,_0x11ef13,_0x1e6b10,_0x553e32,_0x5784ca,_0x150811,_0x403522){const _0x29d470=_0x361975;super(_0x211bab,_0x315f44,_0x3291f6,[],_0x17444e,_0x553e32,_0x403522,_0x11ef13,_0x1e6b10),I(this,_0x29d470(0x58f),_0x29d470(0x55e)),I(this,_0x29d470(0x645),0x0),I(this,'_resendTimer'),I(this,_0x29d470(0x5f6)),(this[_0x29d470(0x5f2)]=_0x20bf82,this[_0x29d470(0x442)]=_0x5784ca,this[_0x29d470(0x1e8)]=_0x150811);}[_0x361975(0x2a9)](_0x6a59cc){const _0x4212a6=_0x361975;this['_clearScheduledTask']();const _0x43c076=this[_0x4212a6(0x5f2)]['createInstance'](ce,this[_0x4212a6(0x332)],this['type'],this[_0x4212a6(0x368)],[_0x6a59cc],this[_0x4212a6(0x4cd)],this['_resendTimer']);return _0x43c076['_updateLocalCache'](),_0x43c076;}[_0x361975(0x5a2)](_0x5bda3d){const _0x104a79=_0x361975;if(this[_0x104a79(0x628)](_0x5bda3d))return this[_0x104a79(0x47d)](),this['_injector'][_0x104a79(0x665)](re,this[_0x104a79(0x332)],this[_0x104a79(0x585)],this[_0x104a79(0x368)],[],null,[_0x5bda3d],this[_0x104a79(0x4cd)]);try{const _0x38b35b=this[_0x104a79(0x1e8)][_0x104a79(0x5cb)]([_0x5bda3d],[this['_awaitingChangeset']],!0x1);if(m['isTransformChangesetsSuccess'](_0x38b35b)){const {c1Prime:_0x398ff7,c2Prime:_0x549e5f}=_0x38b35b;this[_0x104a79(0x221)](_0x398ff7[0x0]),_0x549e5f[0x0][_0x104a79(0x66e)]=this[_0x104a79(0x27d)](),this[_0x104a79(0x47d)]();const _0x512d6f=this[_0x104a79(0x5f2)]['createInstance'](de,this[_0x104a79(0x332)],this[_0x104a79(0x585)],_0x549e5f[0x0],this[_0x104a79(0x4cd)]);return _0x512d6f['_updateLocalCache'](),_0x512d6f;}return this[_0x104a79(0x1fc)](!0x1);}catch(_0x3afd31){return this[_0x104a79(0x442)][_0x104a79(0x384)](_0x3afd31),this[_0x104a79(0x1fc)](!0x1);}}[_0x361975(0x3f9)](_0x7d58ff){const _0x2bb9e8=_0x361975;this[_0x2bb9e8(0x47d)]();const _0x326f57=this[_0x2bb9e8(0x3b8)]['getCurrentRevOfUnit'](this[_0x2bb9e8(0x332)]);if(_0x7d58ff['revision']<_0x326f57-0x1)return this;if(this[_0x2bb9e8(0x628)](_0x7d58ff))return this['_injector'][_0x2bb9e8(0x665)](re,this[_0x2bb9e8(0x332)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x2bb9e8(0x4cd)]);this[_0x2bb9e8(0x2cc)]();const _0x2862dc=this[_0x2bb9e8(0x5f2)][_0x2bb9e8(0x665)](Oe,this[_0x2bb9e8(0x332)],this[_0x2bb9e8(0x585)],this[_0x2bb9e8(0x4cd)]);return _0x2862dc[_0x2bb9e8(0x242)](),_0x2862dc;}['onRemoteRej'](_0x212d61){const _0xa3c699=_0x361975;return this[_0xa3c699(0x1fc)](!!(_0x212d61!=null&&_0x212d61[_0xa3c699(0x604)]));}[_0x361975(0x611)](_0x1149fb){const _0x4c235a=_0x361975;return this[_0x4c235a(0x645)]>wi?this[_0x4c235a(0x44a)]():(this['_resendTimer']=Pi(this[_0x4c235a(0x645)],{'timeout':this[_0x4c235a(0x645)],'reqId':_0x1149fb[_0x4c235a(0x53e)]}),this['_sender']=this[_0x4c235a(0x3fe)][_0x4c235a(0x2d2)](({reqId:_0x1b9a69,timeout:_0x58ce06})=>{const _0x989154=_0x4c235a;this[_0x989154(0x513)](_0x1b9a69,_0x58ce06);}),this);}[_0x361975(0x44a)](){const _0xdd6f8f=_0x361975;return this[_0xdd6f8f(0x47d)](),this[_0xdd6f8f(0x5f2)][_0xdd6f8f(0x665)](ve,this[_0xdd6f8f(0x332)],this['type'],this[_0xdd6f8f(0x368)],[],this['_handler']);}[_0x361975(0x4c7)](){return this;}[_0x361975(0x454)](){const _0x209d5b=_0x361975;this[_0x209d5b(0x4cd)][_0x209d5b(0x654)](this[_0x209d5b(0x368)]);}['_onConflict'](_0x223a41){const _0x4ad6b3=_0x361975;return this[_0x4ad6b3(0x47d)](),this[_0x4ad6b3(0x5f2)]['createInstance'](fe,this[_0x4ad6b3(0x332)],this[_0x4ad6b3(0x585)],this[_0x4ad6b3(0x368)],[],this[_0x4ad6b3(0x4cd)],_0x223a41);}[_0x361975(0x513)](_0x18ee71,_0x2d7ebd){const _0x47c29c=_0x361975;var _0x4ddf11;_0x18ee71===((_0x4ddf11=this[_0x47c29c(0x368)])==null?void 0x0:_0x4ddf11[_0x47c29c(0x53e)])&&(this[_0x47c29c(0x454)](),this['_resendTimeout']=_0x2d7ebd===0x0?0x3e8:_0x2d7ebd*0x2);}[_0x361975(0x47d)](){const _0x306a97=_0x361975;var _0x3966cc;(_0x3966cc=this[_0x306a97(0x5f6)])==null||_0x3966cc[_0x306a97(0x253)](),this[_0x306a97(0x645)]=0x0;}};de=Ee([A(0x4,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),A(0x5,a[_0x361975(0x4b5)](m[_0x361975(0x2cb)])),A(0x6,a[_0x361975(0x4b5)](exports[_0x361975(0x436)])),A(0x7,a['ICommandService']),A(0x8,a[_0x361975(0x68e)]),A(0x9,m[_0x361975(0x24c)]),A(0xa,a['IUndoRedoService'])],de);let ce=class extends be{constructor(_0x4671b2,_0x1117c1,_0x4a7952,_0x210b9e,_0x2307bc,_0x181254,_0x393928,_0x4cefdc,_0x37ad4c,_0x1b2623,_0x1c764b,_0x1e682f,_0x44df4e){const _0x2801c1=_0x361975;super(_0x4671b2,_0x1117c1,_0x4a7952,_0x210b9e,_0x2307bc,_0x1b2623,_0x44df4e,_0x4cefdc,_0x37ad4c),I(this,_0x2801c1(0x58f),'awaiting_with_pending'),I(this,'_resendTimeout',0x0),I(this,_0x2801c1(0x3fe)),I(this,_0x2801c1(0x5f6)),(this[_0x2801c1(0x5f2)]=_0x393928,this[_0x2801c1(0x442)]=_0x1c764b,this['_transformService']=_0x1e682f,_0x181254&&(this[_0x2801c1(0x3fe)]=_0x181254,this[_0x2801c1(0x5f6)]=this['_resendTimer'][_0x2801c1(0x2d2)](({reqId:_0x9fd3cf,timeout:_0x5acb1d})=>{const _0x1ca73c=_0x2801c1;this[_0x1ca73c(0x513)](_0x9fd3cf,_0x5acb1d);})));}[_0x361975(0x2a9)](_0x291f00){const _0x34d9b7=_0x361975;return this[_0x34d9b7(0x6ac)][_0x34d9b7(0x297)](_0x291f00),this;}[_0x361975(0x5a2)](_0x35ceb7){const _0xaef5f5=_0x361975;if(this[_0xaef5f5(0x628)](_0x35ceb7))return this[_0xaef5f5(0x47d)](),this[_0xaef5f5(0x5f2)][_0xaef5f5(0x665)](re,this['unitID'],this[_0xaef5f5(0x585)],this[_0xaef5f5(0x368)],this['_pendingMutations'],null,[_0x35ceb7],this[_0xaef5f5(0x4cd)]);try{const _0x51e48f=this['_transformService'][_0xaef5f5(0x5cb)]([_0x35ceb7],[this[_0xaef5f5(0x368)]],!0x1);if(m['isTransformChangesetsSuccess'](_0x51e48f)){const {c1Prime:_0xb52908,c2Prime:_0x30a119}=_0x51e48f,_0x359914=this[_0xaef5f5(0x1e8)]['transformMutationsWithChangeset'](_0xb52908[0x0],this['_pendingMutations']);if(m['isTransformMutationsWithChangesetSuccess'](_0x359914)){const {c1Prime:_0x4b42d5,m2Prime:_0xe7df1c}=_0x359914;return this['_executeRemoteChangeset'](_0x4b42d5),_0x30a119[0x0][_0xaef5f5(0x66e)]=this[_0xaef5f5(0x27d)](),this[_0xaef5f5(0x47d)](),this['_injector'][_0xaef5f5(0x665)](ce,this[_0xaef5f5(0x332)],this[_0xaef5f5(0x585)],_0x30a119[0x0],_0xe7df1c,this[_0xaef5f5(0x4cd)],void 0x0);}throw _0x359914['error'];}throw _0x51e48f[_0xaef5f5(0x384)];}catch(_0xf3b058){return this['_logService']['error'](_0xf3b058),this[_0xaef5f5(0x1fc)](!0x1);}}[_0x361975(0x3f9)](_0x2ccb94){const _0x578f18=_0x361975;if(this[_0x578f18(0x47d)](),this[_0x578f18(0x628)](_0x2ccb94))return this['_injector']['createInstance'](re,this['unitID'],this[_0x578f18(0x585)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x578f18(0x4cd)]);this[_0x578f18(0x2cc)]();const _0x5d6002=this[_0x578f18(0x5f2)][_0x578f18(0x665)](ae,this['unitID'],this[_0x578f18(0x585)],this[_0x578f18(0x6ac)],this[_0x578f18(0x4cd)]);return _0x5d6002['_schedule'](),_0x5d6002[_0x578f18(0x242)](),_0x5d6002;}[_0x361975(0x588)](_0x408f9c){const _0x372c18=_0x361975;return this[_0x372c18(0x1fc)](!!(_0x408f9c!=null&&_0x408f9c[_0x372c18(0x604)]));}[_0x361975(0x611)](_0xa32c8){const _0x46d44d=_0x361975;return this[_0x46d44d(0x645)]>wi?this[_0x46d44d(0x44a)]():(this[_0x46d44d(0x3fe)]=Pi(this[_0x46d44d(0x645)],{'timeout':this[_0x46d44d(0x645)],'reqId':_0xa32c8[_0x46d44d(0x53e)]}),this[_0x46d44d(0x5f6)]=this[_0x46d44d(0x3fe)][_0x46d44d(0x2d2)](({reqId:_0x42a19c,timeout:_0x2310f2})=>{const _0x6993b8=_0x46d44d;this[_0x6993b8(0x513)](_0x42a19c,_0x2310f2);}),this);}[_0x361975(0x44a)](){const _0x88df70=_0x361975;return this[_0x88df70(0x47d)](),this[_0x88df70(0x5f2)][_0x88df70(0x665)](ve,this['unitID'],this['type'],this[_0x88df70(0x368)],this['_pendingMutations'],this[_0x88df70(0x4cd)]);}[_0x361975(0x4c7)](){return this;}[_0x361975(0x454)](){const _0x1182de=_0x361975;this[_0x1182de(0x4cd)]['onSendChangeset'](this[_0x1182de(0x368)]);}[_0x361975(0x1fc)](_0x1952bd){const _0x40e9f2=_0x361975;return this[_0x40e9f2(0x47d)](),this['_injector'][_0x40e9f2(0x665)](fe,this[_0x40e9f2(0x332)],this[_0x40e9f2(0x585)],null,this[_0x40e9f2(0x6ac)],this[_0x40e9f2(0x4cd)],_0x1952bd);}[_0x361975(0x513)](_0x3e3357,_0x23cae0){const _0x4833e3=_0x361975;var _0x216e24;_0x3e3357===((_0x216e24=this['_awaitingChangeset'])==null?void 0x0:_0x216e24[_0x4833e3(0x53e)])&&(this['resend'](),this[_0x4833e3(0x645)]=_0x23cae0===0x0?0x3e8:_0x23cae0*0x2);}[_0x361975(0x47d)](){const _0x7ebf7e=_0x361975;var _0x4ed777;(_0x4ed777=this[_0x7ebf7e(0x5f6)])==null||_0x4ed777[_0x7ebf7e(0x253)](),this[_0x7ebf7e(0x645)]=0x0;}};ce=Ee([A(0x6,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),A(0x7,a['Inject'](m['RevisionService'])),A(0x8,a[_0x361975(0x4b5)](exports['LocalCacheService'])),A(0x9,a[_0x361975(0x67f)]),A(0xa,a[_0x361975(0x68e)]),A(0xb,m[_0x361975(0x24c)]),A(0xc,a[_0x361975(0x233)])],ce);let fe=class extends be{constructor(_0x452c2d,_0x424463,_0x4ff3a9,_0x140df5,_0x32de9c,_0x24654a=!0x1,_0x3d5a20,_0x26526d,_0x23b65b,_0x36b3ef,_0xffce1a,_0x12fe73,_0x43db2d){const _0x37dd1d=_0x361975;super(_0x452c2d,_0x424463,_0x4ff3a9,_0x140df5,_0x32de9c,_0x26526d,_0x23b65b,_0xffce1a,_0x36b3ef),I(this,_0x37dd1d(0x58f),_0x37dd1d(0x232)),(this[_0x37dd1d(0x4bd)]=_0x24654a,this[_0x37dd1d(0x27a)]=_0x3d5a20,this[_0x37dd1d(0x312)]=_0x12fe73,this[_0x37dd1d(0x3a6)]=_0x43db2d,this['_showConflictNotification'](),this[_0x37dd1d(0x531)](),this[_0x37dd1d(0x4ee)]());}[_0x361975(0x2a9)](){return this;}[_0x361975(0x5a2)](){return this;}['onRemoteAck'](){return this;}[_0x361975(0x588)](){return this;}['onRemoteRetry'](){return this;}[_0x361975(0x44a)](){return this;}[_0x361975(0x4c7)](){return this;}[_0x361975(0x454)](){const _0x5ad1c7=_0x361975;throw new Error(_0x5ad1c7(0x60e));}[_0x361975(0x531)](){const _0x1ba0c6=_0x361975;this[_0x1ba0c6(0x4ac)][_0x1ba0c6(0x33c)](this[_0x1ba0c6(0x332)],this[_0x1ba0c6(0x585)],null,[]);}['_showConflictNotification'](){const _0x2511bc=_0x361975;this[_0x2511bc(0x4bd)]?this[_0x2511bc(0x3a6)][_0x2511bc(0x4d8)]({'title':this[_0x2511bc(0x312)]['t']('permission.title'),'content':this[_0x2511bc(0x312)]['t']('permission.content'),'type':_0x2511bc(0x384),'duration':0x0}):this[_0x2511bc(0x3a6)][_0x2511bc(0x4d8)]({'title':this[_0x2511bc(0x312)]['t'](_0x2511bc(0x2c5)),'content':this[_0x2511bc(0x312)]['t'](_0x2511bc(0x696)),'type':_0x2511bc(0x384),'duration':0x0});}[_0x361975(0x4ee)](){const _0x13ec5c=_0x361975;this[_0x13ec5c(0x27a)][_0x13ec5c(0x5ba)](new k[(_0x13ec5c(0x361))](this[_0x13ec5c(0x332)])['id'],!0x1);}};fe=Ee([A(0x6,a[_0x361975(0x4b5)](a[_0x361975(0x53f)])),A(0x7,a['ICommandService']),A(0x8,a[_0x361975(0x233)]),A(0x9,a[_0x361975(0x4b5)](exports['LocalCacheService'])),A(0xa,a[_0x361975(0x4b5)](m[_0x361975(0x2cb)])),A(0xb,a[_0x361975(0x4b5)](a[_0x361975(0x34e)])),A(0xc,ee['INotificationService'])],fe);let ve=class extends be{constructor(_0x2b174b,_0x27bab3,_0x3afbeb,_0x670fa6,_0x5e9256,_0x56c1c9,_0x336524,_0xe672d5,_0x4e5514,_0x2e1262){const _0x199692=_0x361975;super(_0x2b174b,_0x27bab3,_0x3afbeb,_0x670fa6,_0x5e9256,_0x4e5514,_0x2e1262,_0x336524,_0xe672d5),I(this,_0x199692(0x58f),'offline'),this['_injector']=_0x56c1c9;}[_0x361975(0x2a9)](_0x1dec3b){const _0x586e2f=_0x361975;return this['_pendingMutations'][_0x586e2f(0x297)](_0x1dec3b),this[_0x586e2f(0x242)](),this;}[_0x361975(0x5a2)](_0x9de03c){const _0x451eca=_0x361975;throw new Error(_0x451eca(0x2dc));}[_0x361975(0x3f9)](){const _0x44e3b8=_0x361975;throw new Error(_0x44e3b8(0x2b8));}[_0x361975(0x588)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x361975(0x611)](){return this;}[_0x361975(0x44a)](){return this;}[_0x361975(0x4c7)](){const _0xbbe65d=_0x361975,{_injector:_0x3f609b,_pendingMutations:_0x2b1469,_awaitingChangeset:_0x25f247,unitID:_0x5724bc,_handler:_0x289e0c,type:_0x1dc912}=this,_0x15a9f9=Ui(_0x3f609b,_0x5724bc,_0x1dc912,_0x25f247,_0x2b1469,_0x289e0c);return _0x15a9f9 instanceof ae?_0x15a9f9[_0xbbe65d(0x45e)]():(_0x15a9f9 instanceof ce||_0x15a9f9 instanceof de)&&_0x15a9f9[_0xbbe65d(0x454)](),_0x15a9f9;}[_0x361975(0x454)](){const _0x1a0b58=_0x361975;throw new Error(_0x1a0b58(0x21f));}};ve=Ee([A(0x5,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),A(0x6,a[_0x361975(0x4b5)](m['RevisionService'])),A(0x7,a[_0x361975(0x4b5)](exports[_0x361975(0x436)])),A(0x8,a[_0x361975(0x67f)]),A(0x9,a['IUndoRedoService'])],ve);let re=class extends be{constructor(_0xc3c5a2,_0x3fcbe7,_0x3af187,_0xc496ce,_0x47ecc8,_0x46ab90,_0x30a0eb,_0x516621,_0xc1141f,_0x182cef,_0xd2486e,_0xd7bb24,_0x46e12b,_0x5f41e4){const _0x21002c=_0x361975;super(_0xc3c5a2,_0x3fcbe7,_0x3af187,_0xc496ce,_0x30a0eb,_0xd7bb24,_0x46e12b,_0xc1141f,_0x182cef),I(this,_0x21002c(0x58f),_0x21002c(0x3e3)),(this[_0x21002c(0x68f)]=_0x47ecc8,this['_queuedRemoteChangesets']=_0x46ab90,this[_0x21002c(0x5f2)]=_0x516621,this[_0x21002c(0x442)]=_0xd2486e,this[_0x21002c(0x1e8)]=_0x5f41e4);}['onMissedChangesetFetched'](_0x1a29a1){const _0x599012=_0x361975;try{const _0x3d854a=[..._0x1a29a1,...this[_0x599012(0x343)]],_0x16303f=[this[_0x599012(0x368)]||this[_0x599012(0x68f)]][_0x599012(0x4f0)](_0x870a44=>!!_0x870a44);let _0x6f0d4e,_0x47f47d;if(_0x16303f['length']){const _0x346c17=this[_0x599012(0x1e8)][_0x599012(0x5cb)](_0x3d854a,_0x16303f,!0x1);if(!m['isTransformChangesetsSuccess'](_0x346c17))throw _0x346c17[_0x599012(0x384)];_0x6f0d4e=_0x346c17[_0x599012(0x4ae)],_0x47f47d=_0x346c17[_0x599012(0x66f)];}else _0x6f0d4e=_0x3d854a,_0x47f47d=[];let _0x4711fb=this[_0x599012(0x6ac)];_0x6f0d4e['forEach'](_0x46d915=>{const _0x6b1c83=_0x599012;let _0x370750;if(_0x4711fb['length']){const _0x31c1b6=this[_0x6b1c83(0x1e8)]['transformMutationsWithChangeset'](_0x46d915,_0x4711fb);if(!m[_0x6b1c83(0x371)](_0x31c1b6))throw _0x31c1b6[_0x6b1c83(0x384)];_0x370750=_0x31c1b6[_0x6b1c83(0x4ae)],_0x4711fb=_0x31c1b6[_0x6b1c83(0x298)];}else _0x370750=_0x46d915;this[_0x6b1c83(0x221)](_0x370750);}),this[_0x599012(0x68f)]&&this[_0x599012(0x2cc)](),this['_awaitingChangeset']&&_0x47f47d[_0x599012(0x31c)]&&(_0x47f47d[0x0]['baseRev']=this[_0x599012(0x27d)]());let _0x167b99;if(this[_0x599012(0x368)]&&_0x4711fb['length']!==0x0)_0x167b99=this[_0x599012(0x5f2)][_0x599012(0x665)](ce,this['unitID'],this[_0x599012(0x585)],_0x47f47d[0x0],_0x4711fb,this[_0x599012(0x4cd)],void 0x0);else{if(this[_0x599012(0x368)]&&_0x4711fb[_0x599012(0x31c)]===0x0)_0x47f47d[0x0][_0x599012(0x66e)]=this['_getCurrentRevision'](),_0x167b99=this[_0x599012(0x5f2)][_0x599012(0x665)](de,this[_0x599012(0x332)],this[_0x599012(0x585)],_0x47f47d[0x0],this['_handler']);else{if(_0x4711fb[_0x599012(0x31c)]!==0x0){const _0x567310=this[_0x599012(0x5f2)][_0x599012(0x665)](ae,this[_0x599012(0x332)],this['type'],_0x4711fb,this['_handler']);_0x567310['_schedule'](),_0x167b99=_0x567310;}else _0x167b99=this[_0x599012(0x5f2)][_0x599012(0x665)](Oe,this[_0x599012(0x332)],this['type'],this[_0x599012(0x4cd)]);}}return _0x167b99['_updateLocalCache'](),_0x167b99;}catch(_0x3376fa){return this['_logService'][_0x599012(0x384)](_0x599012(0x68d),_0x599012(0x54d),_0x3376fa),this['_injector'][_0x599012(0x665)](fe,this[_0x599012(0x332)],this['type'],this[_0x599012(0x368)],this['_pendingMutations'],this[_0x599012(0x4cd)],!0x1);}}[_0x361975(0x454)](){const _0x47baee=_0x361975;throw new Error(_0x47baee(0x583));}[_0x361975(0x2a9)](_0x4bfb72){const _0x5a056e=_0x361975;return this[_0x5a056e(0x6ac)][_0x5a056e(0x297)](_0x4bfb72),this;}[_0x361975(0x5a2)](_0x40cb51){const _0x4652a6=_0x361975;return this[_0x4652a6(0x343)][_0x4652a6(0x297)](_0x40cb51),this;}[_0x361975(0x3f9)](_0x148f51){const _0x3002d3=_0x361975;if(this[_0x3002d3(0x368)])return this[_0x3002d3(0x68f)]=this[_0x3002d3(0x368)],this['_awaitingChangeset']=null,this;throw new Error(_0x3002d3(0x4a8));}[_0x361975(0x588)](_0x6a5dcf){const _0x14750f=_0x361975;return this[_0x14750f(0x1fc)](!!(_0x6a5dcf!=null&&_0x6a5dcf[_0x14750f(0x604)]));}['onRemoteRetry'](){return this;}[_0x361975(0x44a)](){const _0x27c1dc=_0x361975;return this[_0x27c1dc(0x5f2)]['createInstance'](ve,this['unitID'],this['type'],this[_0x27c1dc(0x368)],this[_0x27c1dc(0x6ac)],this[_0x27c1dc(0x4cd)]);}[_0x361975(0x4c7)](){return this;}['_onConflict'](_0x8a739b){const _0x5a476d=_0x361975;return this[_0x5a476d(0x5f2)][_0x5a476d(0x665)](fe,this[_0x5a476d(0x332)],this[_0x5a476d(0x585)],this[_0x5a476d(0x368)],this[_0x5a476d(0x6ac)],this[_0x5a476d(0x4cd)],_0x8a739b);}};re=Ee([A(0x7,a['Inject'](a['Injector'])),A(0x8,a[_0x361975(0x4b5)](m[_0x361975(0x2cb)])),A(0x9,a['Inject'](exports[_0x361975(0x436)])),A(0xa,a[_0x361975(0x68e)]),A(0xb,a[_0x361975(0x67f)]),A(0xc,a[_0x361975(0x233)]),A(0xd,m['ITransformService'])],re);function Ui(_0x16c8ce,_0x31400d,_0x15eddf,_0x109c6c,_0x3b4ddb,_0x41683a){const _0x37446f=_0x361975;return _0x109c6c&&_0x3b4ddb[_0x37446f(0x31c)]?_0x16c8ce[_0x37446f(0x665)](ce,_0x31400d,_0x15eddf,_0x109c6c,_0x3b4ddb,_0x41683a,void 0x0):_0x109c6c?_0x16c8ce['createInstance'](de,_0x31400d,_0x15eddf,_0x109c6c,_0x41683a):_0x3b4ddb[_0x37446f(0x31c)]?_0x16c8ce[_0x37446f(0x665)](ae,_0x31400d,_0x15eddf,_0x3b4ddb,_0x41683a):_0x16c8ce['createInstance'](Oe,_0x31400d,_0x15eddf,_0x41683a);}var Xn=Object['defineProperty'],Jn=Object[_0x361975(0x3bb)],Mt=(_0x4c8f22,_0x1288f1,_0x30bc3b,_0x1b5080)=>{const _0x5b9c73=_0x361975;for(var _0x43bd3f=_0x1b5080>0x1?void 0x0:_0x1b5080?Jn(_0x1288f1,_0x30bc3b):_0x1288f1,_0x21b3c3=_0x4c8f22[_0x5b9c73(0x31c)]-0x1,_0x37b0d7;_0x21b3c3>=0x0;_0x21b3c3--)(_0x37b0d7=_0x4c8f22[_0x21b3c3])&&(_0x43bd3f=(_0x1b5080?_0x37b0d7(_0x1288f1,_0x30bc3b,_0x43bd3f):_0x37b0d7(_0x43bd3f))||_0x43bd3f);return _0x1b5080&&_0x43bd3f&&Xn(_0x1288f1,_0x30bc3b,_0x43bd3f),_0x43bd3f;},H=(_0x2077d8,_0x4b9bcb)=>(_0x2ed59b,_0x219d54)=>_0x4b9bcb(_0x2ed59b,_0x219d54,_0x2077d8);exports[_0x361975(0x41b)]=class extends a['RxDisposable']{constructor(_0x3243f7,_0xdc48ac,_0x120b85,_0x110d48,_0x5be199,_0x823343,_0x376874,_0x5be441,_0x327312,_0x17aa44,_0x4a35cd,_0x4ac96d,_0x44b983){const _0x343ac6=_0x361975;super(),I(this,_0x343ac6(0x545),new N[(_0x343ac6(0x392))](null)),I(this,_0x343ac6(0x562),this[_0x343ac6(0x545)][_0x343ac6(0x2aa)]()),I(this,_0x343ac6(0x3de)),I(this,_0x343ac6(0x3bd),!0x1),I(this,_0x343ac6(0x45b),''),I(this,'_changesetReqId',0x0),I(this,_0x343ac6(0x230),this[_0x343ac6(0x562)][_0x343ac6(0x256)](N[_0x343ac6(0x4ec)](_0x90598a=>_0x90598a?_0x90598a[_0x343ac6(0x58f)]:K[_0x343ac6(0x48f)]),N[_0x343ac6(0x3d9)](0x1))),I(this,'_transitionLocked',!0x1),I(this,_0x343ac6(0x6a2),[]),(this[_0x343ac6(0x332)]=_0x3243f7,this[_0x343ac6(0x3df)]=_0xdc48ac,this[_0x343ac6(0x20f)]=_0x120b85,this[_0x343ac6(0x5f2)]=_0x110d48,this[_0x343ac6(0x4ac)]=_0x5be199,this[_0x343ac6(0x250)]=_0x823343,this[_0x343ac6(0x312)]=_0x376874,this['_revisionService']=_0x5be441,this[_0x343ac6(0x442)]=_0x327312,this[_0x343ac6(0x39e)]=_0x17aa44,this[_0x343ac6(0x4b9)]=_0x4a35cd,this[_0x343ac6(0x27a)]=_0x4ac96d,this[_0x343ac6(0x4d9)]=_0x44b983);}get[_0x361975(0x410)](){return this['_state'];}async['init'](){const _0x52b006=_0x361975;if(this[_0x52b006(0x410)])throw new Error(_0x52b006(0x6a1));await this[_0x52b006(0x272)]();}['pauseCollaboration'](){const _0x174bf9=_0x361975;return this[_0x174bf9(0x3bd)]=!0x0,a[_0x174bf9(0x4f1)](()=>{const _0x7a2307=_0x174bf9;this[_0x7a2307(0x3bd)]=!0x1,this[_0x7a2307(0x5ca)]();});}[_0x361975(0x549)](_0x370397){const _0x2a94d4=_0x361975;this[_0x2a94d4(0x3de)]=_0x370397,this[_0x2a94d4(0x545)][_0x2a94d4(0x514)](_0x370397);}async[_0x361975(0x272)](){const _0x141611=_0x361975;var _0x5dbd85;this[_0x141611(0x549)](await this[_0x141611(0x40b)]()),this[_0x141611(0x4d9)]&&((_0x5dbd85=this[_0x141611(0x4d9)])==null||_0x5dbd85[_0x141611(0x346)](this[_0x141611(0x332)]),this[_0x141611(0x259)](this[_0x141611(0x4d9)][_0x141611(0x400)](this[_0x141611(0x332)])[_0x141611(0x2d2)](_0x40b5d9=>{const _0x42066d=_0x141611;this['_logService'][_0x42066d(0x653)](_0x42066d(0x236),'editing\x20status\x20changed\x20to',_0x40b5d9),_0x40b5d9===yi[_0x42066d(0x625)]?(this[_0x42066d(0x4b9)][_0x42066d(0x4d8)]({'content':this[_0x42066d(0x312)]['t'](_0x42066d(0x49e)),'type':Ce[_0x42066d(0x42c)]['Warning']}),this[_0x42066d(0x27a)][_0x42066d(0x5ba)](new k[(_0x42066d(0x361))](this[_0x42066d(0x332)])['id'],!0x1),this[_0x42066d(0x27a)]['setShowComponents'](!0x1)):(this[_0x42066d(0x27a)][_0x42066d(0x5ba)](new k[(_0x42066d(0x361))](this['unitID'])['id'],!0x0),this['_permissionService'][_0x42066d(0x27e)](!0x0));})));let _0x5aa321=!0x1;return this['disposeWithMe'](this[_0x141611(0x3df)][_0x141611(0x658)][_0x141611(0x2d2)](_0xddac48=>{const _0x414590=_0x141611;_0xddac48===ne[_0x414590(0x2af)]?this[_0x414590(0x512)](_0x5aa321):_0xddac48===ne[_0x414590(0x48f)]&&(_0x5aa321=!0x0,this[_0x414590(0x1fe)]());})),this[_0x141611(0x259)](this[_0x141611(0x3df)][_0x141611(0x52e)][_0x141611(0x2d2)](_0x53da9b=>{const _0x596554=_0x141611;try{switch(_0x53da9b[_0x596554(0x395)]){case m['CollaborationEvent'][_0x596554(0x3ed)]:{this[_0x596554(0x55b)](m[_0x596554(0x66d)](_0x53da9b[_0x596554(0x405)]));break;}case m[_0x596554(0x3aa)][_0x596554(0x25c)]:{this['_onRemoteACK'](_0x53da9b[_0x596554(0x405)]);break;}case m[_0x596554(0x3aa)][_0x596554(0x366)]:{this[_0x596554(0x48c)]();break;}case m[_0x596554(0x3aa)]['CHANGESET_SHOULD_RETRY']:{this[_0x596554(0x3fd)](_0x53da9b['data']);break;}case m[_0x596554(0x3aa)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x53da9b[_0x596554(0x405)][_0x596554(0x5fc)][_0x596554(0x4ec)](_0x437731=>m[_0x596554(0x66d)](_0x437731)));break;}case m['CollaborationEvent']['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0xb48f){throw console[_0x596554(0x384)]('Error\x20on\x20receiving\x20event',_0xb48f),_0xb48f;}})),this[_0x141611(0x3de)];}['_unlockTransition'](){const _0x12488b=_0x361975;this[_0x12488b(0x690)]=!0x1;}[_0x361975(0x630)](){const _0x42e6c3=_0x361975;if(this[_0x42e6c3(0x690)])throw new Error(_0x42e6c3(0x2e4));this[_0x42e6c3(0x690)]=!0x0;}['_onLocalMutation'](_0xcecf8d){const _0x5f4fc0=_0x361975;this['_lockTransition'](),this[_0x5f4fc0(0x549)](this[_0x5f4fc0(0x3de)][_0x5f4fc0(0x2a9)](_0xcecf8d)),this[_0x5f4fc0(0x558)]();}[_0x361975(0x55b)](_0x4a2220){const _0x115ab6=_0x361975;if(!(_0x4a2220[_0x115ab6(0x497)]<=this[_0x115ab6(0x3b8)][_0x115ab6(0x615)](this[_0x115ab6(0x332)]))){if(this[_0x115ab6(0x3bd)]){this['_remoteChangesetQueue'][_0x115ab6(0x297)](_0x4a2220);return;}this['_applyRemoteChangeset'](_0x4a2220);}}[_0x361975(0x5ca)](){const _0x129b32=_0x361975;this[_0x129b32(0x6a2)][_0x129b32(0x3d7)](_0xa8ecf=>this[_0x129b32(0x402)](_0xa8ecf)),this['_remoteChangesetQueue']=[];}[_0x361975(0x402)](_0x374331){const _0x4c0be4=_0x361975,_0xd17fe6=this[_0x4c0be4(0x250)][_0x4c0be4(0x3b4)][_0x4c0be4(0x5e2)](this[_0x4c0be4(0x250)][_0x4c0be4(0x3b4)][_0x4c0be4(0x671)]()[_0x4c0be4(0x391)])(_0x374331['mutations'],null)||_0x374331['mutations'],_0x57dbe4={..._0x374331,'mutations':_0xd17fe6};this[_0x4c0be4(0x630)](),this[_0x4c0be4(0x549)](this[_0x4c0be4(0x3de)][_0x4c0be4(0x5a2)](_0x57dbe4)),this['_unlockTransition']();}[_0x361975(0x646)](_0xa2df02){const _0x1812b5=_0x361975;this[_0x1812b5(0x630)](),this[_0x1812b5(0x549)](this[_0x1812b5(0x3de)][_0x1812b5(0x3f9)](_0xa2df02)),this[_0x1812b5(0x558)]();}[_0x361975(0x48c)](_0x42f2c7){const _0x569f98=_0x361975;this[_0x569f98(0x630)](),this['_updateState'](this['_state'][_0x569f98(0x588)](_0x42f2c7)),this['_unlockTransition']();}[_0x361975(0x3fd)](_0x133989){const _0xaf24f8=_0x361975;this[_0xaf24f8(0x630)](),this[_0xaf24f8(0x549)](this[_0xaf24f8(0x3de)][_0xaf24f8(0x611)](_0x133989)),this[_0xaf24f8(0x558)]();}[_0x361975(0x495)](_0x2c0e26){const _0x4dbfdd=_0x361975;if(!(this[_0x4dbfdd(0x3de)]instanceof re))throw new TypeError(_0x4dbfdd(0x33e));const _0x44e41a=_0x2c0e26[_0x4dbfdd(0x4ec)](_0x19472d=>{const _0x21b8fb=_0x4dbfdd,_0x2ce06d=this[_0x21b8fb(0x250)][_0x21b8fb(0x3b4)][_0x21b8fb(0x5e2)](this[_0x21b8fb(0x250)]['interceptor'][_0x21b8fb(0x671)]()[_0x21b8fb(0x391)])(_0x19472d[_0x21b8fb(0x1ec)],null)||_0x19472d[_0x21b8fb(0x1ec)];return{..._0x19472d,'mutations':_0x2ce06d};});this[_0x4dbfdd(0x630)](),this[_0x4dbfdd(0x549)](this[_0x4dbfdd(0x3de)][_0x4dbfdd(0x417)](_0x44e41a)),this[_0x4dbfdd(0x558)]();}['_toggleOffline'](){const _0x1df6c1=_0x361975;this[_0x1df6c1(0x630)](),this[_0x1df6c1(0x549)](this[_0x1df6c1(0x3de)][_0x1df6c1(0x44a)]()),this[_0x1df6c1(0x558)]();}[_0x361975(0x512)](_0x25345a=!0x1){const _0x39ce1c=_0x361975;this[_0x39ce1c(0x630)](),this[_0x39ce1c(0x549)](this[_0x39ce1c(0x3de)]['toggleOnline']()),this[_0x39ce1c(0x558)]();const _0x58e3fe=this[_0x39ce1c(0x3de)];_0x25345a&&_0x58e3fe instanceof Oe&&(this[_0x39ce1c(0x630)](),this['_updateState'](_0x58e3fe[_0x39ce1c(0x4bf)]()),this[_0x39ce1c(0x558)]());}async[_0x361975(0x40b)](){return new Promise(_0x4313e9=>{const _0x4fc7c8=_0x3094;this[_0x4fc7c8(0x3df)][_0x4fc7c8(0x658)][_0x4fc7c8(0x256)](N[_0x4fc7c8(0x28f)](0x1))['subscribe'](async _0x24de6e=>{const _0xac72a2=_0x4fc7c8;_0x4313e9(await this[_0xac72a2(0x501)](_0x24de6e===ne['ONLINE']));});});}[_0x361975(0x3b6)](){const _0x580b95=this['unitID'];return{'onStateChange':(_0x2d3d0e,_0x5799a0)=>{const _0x1c9880=_0x3094;if(_0x2d3d0e!==this[_0x1c9880(0x3de)])throw new Error(_0x1c9880(0x456)+_0x2d3d0e[_0x1c9880(0x58f)]+'\x0aAfter:\x20'+_0x5799a0[_0x1c9880(0x58f)]+_0x1c9880(0x3c8)+this['_state'][_0x1c9880(0x58f)]);this[_0x1c9880(0x549)](_0x5799a0);},'onSendChangeset':_0x183d10=>{const _0x360086=_0x3094;_0x183d10[_0x360086(0x309)]||(_0x183d10[_0x360086(0x309)]=this[_0x360086(0x45b)],_0x183d10[_0x360086(0x53e)]=++this[_0x360086(0x3ab)]);const _0x14ef64={'eventID':m[_0x360086(0x3aa)][_0x360086(0x63a)],'data':{'unitID':_0x183d10[_0x360086(0x332)],'unitType':this[_0x360086(0x20f)],'changeset':_0x183d10,'memberID':this['session'][_0x360086(0x61c)]()}};this[_0x360086(0x3df)]['send'](_0x14ef64,this[_0x360086(0x332)]);},'onMissingChangesets':({from:_0x18885a,to:_0x218f8f})=>{const _0x1b8298=_0x3094;this[_0x1b8298(0x442)]['debug'](_0x1b8298(0x236),_0x1b8298(0x28b)+_0x18885a+_0x1b8298(0x389)+_0x218f8f);const _0x205d07={'eventID':m[_0x1b8298(0x3aa)][_0x1b8298(0x6a6)],'data':{'unitID':_0x580b95,'unitType':this['_type'],'from':_0x18885a,'to':_0x218f8f}};this['session'][_0x1b8298(0x223)](_0x205d07,this[_0x1b8298(0x332)]);}};}async[_0x361975(0x501)](_0x56f7eb){const _0x5e9ee0=_0x361975;var _0x35181d,_0x25c4f0;const _0x52dbd2=await this[_0x5e9ee0(0x4ac)][_0x5e9ee0(0x4b8)](this[_0x5e9ee0(0x332)]),_0x3f61ff=(_0x35181d=_0x52dbd2==null?void 0x0:_0x52dbd2['mutations'])!=null?_0x35181d:[],_0x2822e9=(_0x25c4f0=_0x52dbd2==null?void 0x0:_0x52dbd2[_0x5e9ee0(0x219)])!=null?_0x25c4f0:null,_0x33e1ca=!!(_0x2822e9!=null&&_0x2822e9[_0x5e9ee0(0x309)])&&!!(_0x2822e9!=null&&_0x2822e9[_0x5e9ee0(0x53e)]);this[_0x5e9ee0(0x45b)]=_0x33e1ca?_0x2822e9[_0x5e9ee0(0x309)]:On(),this[_0x5e9ee0(0x3ab)]=_0x33e1ca?_0x2822e9[_0x5e9ee0(0x53e)]:0x0;const _0x287808=this[_0x5e9ee0(0x332)];try{this[_0x5e9ee0(0x608)](_0x2822e9,_0x3f61ff);}catch(_0x135985){this['_logService'][_0x5e9ee0(0x384)](_0x135985);}const _0x43786b=this[_0x5e9ee0(0x3b6)]();if(_0x56f7eb){const _0x327407=Ui(this[_0x5e9ee0(0x5f2)],_0x287808,this[_0x5e9ee0(0x20f)],_0x2822e9,_0x3f61ff,_0x43786b);return _0x327407 instanceof ae?_0x327407[_0x5e9ee0(0x45e)]():(_0x327407 instanceof ce||_0x327407 instanceof de)&&_0x327407['resend'](),_0x327407;}return this[_0x5e9ee0(0x5f2)]['createInstance'](ve,_0x287808,this[_0x5e9ee0(0x20f)],_0x2822e9,_0x3f61ff,_0x43786b);}['_replayCachedMutations'](_0x5ec112,_0x3f82e7){const _0x53a355=_0x361975;var _0xdb9aa7,_0x13bcff;const _0x4594d8=this[_0x53a355(0x250)]['interceptor'][_0x53a355(0x5e2)](this[_0x53a355(0x250)][_0x53a355(0x3b4)]['getInterceptPoints']()[_0x53a355(0x391)]);(_0xdb9aa7=_0x4594d8((_0x5ec112==null?void 0x0:_0x5ec112[_0x53a355(0x1ec)])||[],null))==null||_0xdb9aa7[_0x53a355(0x3d7)](_0x5f1cb4=>this[_0x53a355(0x39e)]['executeCommand'](_0x5f1cb4['id'],_0x5f1cb4[_0x53a355(0x509)])),(_0x13bcff=_0x4594d8(_0x3f82e7||[],null))==null||_0x13bcff[_0x53a355(0x3d7)](_0x9a9235=>this[_0x53a355(0x39e)]['executeCommand'](_0x9a9235['id'],_0x9a9235[_0x53a355(0x509)]));}},exports[_0x361975(0x41b)]=Mt([H(0x3,a['Inject'](a[_0x361975(0x2fc)])),H(0x4,a[_0x361975(0x4b5)](exports[_0x361975(0x436)])),H(0x5,a[_0x361975(0x4b5)](m[_0x361975(0x647)])),H(0x6,a[_0x361975(0x4b5)](a[_0x361975(0x34e)])),H(0x7,a[_0x361975(0x4b5)](m[_0x361975(0x2cb)])),H(0x8,a[_0x361975(0x68e)]),H(0x9,a[_0x361975(0x67f)]),H(0xa,ee[_0x361975(0x4a0)]),H(0xb,a[_0x361975(0x53f)]),H(0xc,a[_0x361975(0x580)](at))],exports[_0x361975(0x41b)]),exports[_0x361975(0x4b7)]=class extends exports['CollaborationEntity']{constructor(_0xfbb3d2,_0xa645d3,_0x2ac6e4,_0x34437d,_0x48f711,_0x567993,_0x42787b,_0x20150e,_0xb8cbb4,_0x3271b7,_0x1b2557,_0x4d114c,_0x3be6d1,_0x5bb671,_0x1a72f4,_0x12fd39,_0x4399bd,_0x38dd93){const _0x365e0d=_0x361975;super(_0xfbb3d2,_0x2ac6e4,_0xa645d3,_0x34437d,_0x48f711,_0x567993,_0x42787b,_0x20150e,_0x5bb671,_0x1a72f4,_0x12fd39,_0x4399bd,_0x38dd93),this[_0x365e0d(0x332)]=_0xfbb3d2,this[_0x365e0d(0x585)]=_0xa645d3,this[_0x365e0d(0x2b9)]=_0xb8cbb4,this[_0x365e0d(0x53c)]=_0x3271b7,this[_0x365e0d(0x274)]=_0x1b2557,this[_0x365e0d(0x5e7)]=_0x4d114c,this[_0x365e0d(0x2a1)]=_0x3be6d1;}[_0x361975(0x3b6)](){const _0x4ad190=_0x361975,_0x1af5d5=super[_0x4ad190(0x3b6)]();return _0x1af5d5[_0x4ad190(0x5d6)]=_0x309fd7=>this[_0x4ad190(0x53c)][_0x4ad190(0x520)](_0x309fd7),_0x1af5d5[_0x4ad190(0x560)]=_0x35b73f=>this['_docTransformStateCacheService']['transformStateCache'](_0x35b73f),_0x1af5d5[_0x4ad190(0x5dc)]=_0x18974a=>this[_0x4ad190(0x5e7)][_0x4ad190(0x43f)](_0x18974a),_0x1af5d5[_0x4ad190(0x4f7)]=_0x22bfae=>this[_0x4ad190(0x2a1)][_0x4ad190(0x235)](_0x22bfae),_0x1af5d5[_0x4ad190(0x4db)]=_0x16836a=>this[_0x4ad190(0x53c)][_0x4ad190(0x4cf)](_0x16836a),_0x1af5d5[_0x4ad190(0x530)]=_0x548581=>this[_0x4ad190(0x274)][_0x4ad190(0x4cf)](_0x548581),_0x1af5d5;}async[_0x361975(0x272)](){const _0x42df68=_0x361975,_0x567452=await super[_0x42df68(0x272)]();return this[_0x42df68(0x259)](this['_docStateChangeManagerService'][_0x42df68(0x2d1)][_0x42df68(0x256)](N[_0x42df68(0x23d)](this[_0x42df68(0x3cd)]))[_0x42df68(0x2d2)](_0x120822=>{const _0x33f00a=_0x42df68;if(_0x120822==null)return;const {unitId:_0x53e53b,redoState:_0x1d0147,commandId:_0x441456}=_0x120822;if(_0x53e53b!==this[_0x33f00a(0x332)])return;const _0x508604={'id':_0x441456,'type':a[_0x33f00a(0x688)][_0x33f00a(0x26b)],'params':{'unitId':_0x53e53b,'actions':_0x1d0147[_0x33f00a(0x23c)],'textRanges':null}};this['_onLocalMutation'](_0x508604);})),this['disposeWithMe'](this[_0x42df68(0x39e)][_0x42df68(0x6b7)]((_0xca45dd,_0x39126b)=>{const _0x38891c=_0x42df68;if(_0xca45dd['type']!==a[_0x38891c(0x688)][_0x38891c(0x26b)]||_0x39126b!=null&&_0x39126b[_0x38891c(0x65e)]||_0x39126b!=null&&_0x39126b[_0x38891c(0x505)]||_0xca45dd['id']===Ie[_0x38891c(0x5be)]['id'])return;const _0x2ea62f=_0xca45dd[_0x38891c(0x509)];if((_0x2ea62f==null?void 0x0:_0x2ea62f[_0x38891c(0x693)])!==this['unitID'])return;const _0x13054e=_0xca45dd,_0x9c6da4=this[_0x38891c(0x250)][_0x38891c(0x3b4)][_0x38891c(0x5e2)](this[_0x38891c(0x250)][_0x38891c(0x3b4)][_0x38891c(0x671)]()[_0x38891c(0x482)])([_0x13054e],null)||[_0x13054e];this[_0x38891c(0x554)](_0x9c6da4[0x0]);})),_0x567452;}},exports[_0x361975(0x4b7)]=Mt([H(0x3,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),H(0x4,a[_0x361975(0x4b5)](exports[_0x361975(0x436)])),H(0x5,a[_0x361975(0x4b5)](m[_0x361975(0x647)])),H(0x6,a['Inject'](a[_0x361975(0x34e)])),H(0x7,a[_0x361975(0x4b5)](m[_0x361975(0x2cb)])),H(0x8,a['Inject'](J[_0x361975(0x667)])),H(0x9,a[_0x361975(0x4b5)](Ze)),H(0xa,a[_0x361975(0x4b5)](et)),H(0xb,a[_0x361975(0x4b5)](tt)),H(0xc,a[_0x361975(0x4b5)](Ut)),H(0xd,a['ILogService']),H(0xe,a[_0x361975(0x67f)]),H(0xf,ee[_0x361975(0x4a0)]),H(0x10,a[_0x361975(0x53f)]),H(0x11,a[_0x361975(0x580)](at))],exports[_0x361975(0x4b7)]),exports[_0x361975(0x418)]=class extends exports[_0x361975(0x41b)]{constructor(_0x4ac6f0,_0x1bcb5a,_0x2ce239,_0x1ba031,_0x1dc0a6,_0x2af444,_0x232317,_0x292ea4,_0x4da86d,_0x2fa57c,_0x346fd4,_0x13d205,_0x51206e,_0x1561b4){const _0x55cfab=_0x361975;super(_0x4ac6f0,_0x2ce239,_0x1bcb5a,_0x1ba031,_0x1dc0a6,_0x2af444,_0x232317,_0x292ea4,_0x2fa57c,_0x346fd4,_0x13d205,_0x51206e,_0x1561b4),this[_0x55cfab(0x332)]=_0x4ac6f0,this[_0x55cfab(0x585)]=_0x1bcb5a,this[_0x55cfab(0x212)]=_0x4da86d;}[_0x361975(0x3b6)](){const _0x25cf78=_0x361975,_0x3f4521=super[_0x25cf78(0x3b6)]();return _0x3f4521[_0x25cf78(0x5dc)]=_0x1e1307=>this[_0x25cf78(0x212)][_0x25cf78(0x43f)](_0x1e1307),_0x3f4521;}async[_0x361975(0x272)](){const _0x2c8df6=_0x361975,_0x27df83=await super[_0x2c8df6(0x272)]();return this[_0x2c8df6(0x259)](this['_commandService'][_0x2c8df6(0x6b7)]((_0xa06f47,_0x2139d3)=>{const _0x51238f=_0x2c8df6;if(_0xa06f47[_0x51238f(0x585)]!==a[_0x51238f(0x688)]['MUTATION']||_0x2139d3!=null&&_0x2139d3['fromCollab']||_0x2139d3!=null&&_0x2139d3[_0x51238f(0x505)])return;const _0x1b9c38=_0xa06f47[_0x51238f(0x509)];if((_0x1b9c38==null?void 0x0:_0x1b9c38[_0x51238f(0x693)])!==this[_0x51238f(0x332)])return;const _0xd567f5=_0xa06f47,_0x40c197=this[_0x51238f(0x250)][_0x51238f(0x3b4)][_0x51238f(0x5e2)](this[_0x51238f(0x250)][_0x51238f(0x3b4)][_0x51238f(0x671)]()[_0x51238f(0x482)])([_0xd567f5],null)||[_0xd567f5];this['_onLocalMutation'](_0x40c197[0x0]);})),_0x27df83;}},exports['SheetCollaborationEntity']=Mt([H(0x3,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),H(0x4,a[_0x361975(0x4b5)](exports[_0x361975(0x436)])),H(0x5,a[_0x361975(0x4b5)](m[_0x361975(0x647)])),H(0x6,a[_0x361975(0x4b5)](a[_0x361975(0x34e)])),H(0x7,a[_0x361975(0x4b5)](m[_0x361975(0x2cb)])),H(0x8,a[_0x361975(0x4b5)](Qe)),H(0x9,a[_0x361975(0x68e)]),H(0xa,a[_0x361975(0x67f)]),H(0xb,ee[_0x361975(0x4a0)]),H(0xc,a['IPermissionService']),H(0xd,a[_0x361975(0x580)](at))],exports['SheetCollaborationEntity']);var Zn=Object[_0x361975(0x23f)],Qn=Object[_0x361975(0x3bb)],er=(_0x4b32b6,_0x2c10ca,_0x406b2e,_0x32b5d0)=>{const _0x51dc09=_0x361975;for(var _0x35d39d=_0x32b5d0>0x1?void 0x0:_0x32b5d0?Qn(_0x2c10ca,_0x406b2e):_0x2c10ca,_0x116704=_0x4b32b6[_0x51dc09(0x31c)]-0x1,_0x591e8d;_0x116704>=0x0;_0x116704--)(_0x591e8d=_0x4b32b6[_0x116704])&&(_0x35d39d=(_0x32b5d0?_0x591e8d(_0x2c10ca,_0x406b2e,_0x35d39d):_0x591e8d(_0x35d39d))||_0x35d39d);return _0x32b5d0&&_0x35d39d&&Zn(_0x2c10ca,_0x406b2e,_0x35d39d),_0x35d39d;},dt=(_0x4bd4c7,_0x4f0da1)=>(_0x2bb351,_0x2cba31)=>_0x4f0da1(_0x2bb351,_0x2cba31,_0x4bd4c7);exports[_0x361975(0x6b2)]=class extends a[_0x361975(0x353)]{constructor(_0x173208,_0x558f8f,_0xf26687){const _0x50460c=_0x361975;super(),I(this,_0x50460c(0x2be),new Map()),I(this,'_entityInit$',new N['Subject']()),(this[_0x50460c(0x5f2)]=_0x173208,this[_0x50460c(0x5e0)]=_0x558f8f,this[_0x50460c(0x491)]=_0xf26687,this['_init']());}[_0x361975(0x2a2)](){const _0x63692a=_0x361975;super[_0x63692a(0x2a2)](),this['_entities'][_0x63692a(0x3d7)](_0xefaa02=>_0xefaa02['dispose']()),this['_entities'][_0x63692a(0x2f1)]();}[_0x361975(0x42d)](_0x1e2ae6){const _0x48e331=_0x361975;var _0x11fad0;return(_0x11fad0=this[_0x48e331(0x2be)][_0x48e331(0x5e3)](_0x1e2ae6))!=null?_0x11fad0:null;}[_0x361975(0x1f5)](_0x14eaff){const _0x482a68=_0x361975,_0x5a6404=this[_0x482a68(0x42d)](_0x14eaff);return _0x5a6404?N['of'](_0x5a6404):this[_0x482a68(0x699)][_0x482a68(0x256)](V[_0x482a68(0x4f0)](_0x4ec57d=>_0x4ec57d[_0x482a68(0x332)]===_0x14eaff));}[_0x361975(0x272)](){const _0x25f07e=_0x361975;this[_0x25f07e(0x491)][_0x25f07e(0x6ad)](a[_0x25f07e(0x481)][_0x25f07e(0x327)])[_0x25f07e(0x256)](N[_0x25f07e(0x23d)](this['dispose$']),V[_0x25f07e(0x525)](0x10))[_0x25f07e(0x2d2)](async _0x5fb852=>{const _0x8cd3db=_0x25f07e,_0xdb0032=_0x5fb852['getUnitId'](),_0x27c8b6=await this['_startCollaboration'](_0xdb0032,ie[_0x8cd3db(0x327)]);this['_entities'][_0x8cd3db(0x69a)](_0xdb0032,_0x27c8b6);}),this[_0x25f07e(0x491)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x25f07e(0x5f5)])[_0x25f07e(0x256)](N[_0x25f07e(0x23d)](this[_0x25f07e(0x3cd)]),V[_0x25f07e(0x525)](0x10))[_0x25f07e(0x256)](V['filter'](_0x4b3f52=>!_0x4b3f52[_0x25f07e(0x5db)]()[_0x25f07e(0x4aa)]('__')))[_0x25f07e(0x2d2)](async _0x51edb4=>{const _0x57fdb3=_0x25f07e,_0x5baf80=_0x51edb4[_0x57fdb3(0x5db)](),_0x1c65f9=await this['_startCollaboration'](_0x5baf80,ie[_0x57fdb3(0x5f5)]);this[_0x57fdb3(0x2be)][_0x57fdb3(0x69a)](_0x5baf80,_0x1c65f9);}),N['merge'](this[_0x25f07e(0x491)]['getTypeOfUnitDisposed$'](a[_0x25f07e(0x481)][_0x25f07e(0x327)]),this[_0x25f07e(0x491)][_0x25f07e(0x59f)](a[_0x25f07e(0x481)][_0x25f07e(0x5f5)]))['pipe'](N[_0x25f07e(0x23d)](this['dispose$']))['subscribe'](_0x18b4d7=>{const _0x2771d3=_0x25f07e,_0x15b089=_0x18b4d7[_0x2771d3(0x5db)](),_0x5b3c43=this['_entities'][_0x2771d3(0x5e3)](_0x15b089);_0x5b3c43&&(_0x5b3c43[_0x2771d3(0x2a2)](),this[_0x2771d3(0x2be)][_0x2771d3(0x335)](_0x15b089));});}async['_startCollaboration'](_0xb7ff78,_0x168158){const _0x284107=_0x361975,_0x49595d=await this[_0x284107(0x5e0)][_0x284107(0x21c)](_0xb7ff78),_0x15211c=this[_0x284107(0x5f2)][_0x284107(0x665)](this[_0x284107(0x365)](_0x168158),_0xb7ff78,_0x168158,_0x49595d);return await _0x15211c[_0x284107(0x66b)](),this['_entityInit$']['next'](_0x15211c),_0x15211c;}[_0x361975(0x365)](_0x2130d3){const _0x4d48bb=_0x361975;switch(_0x2130d3){case ie[_0x4d48bb(0x5f5)]:return exports['DocCollaborationEntity'];case ie['UNIVER_SHEET']:return exports[_0x4d48bb(0x418)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2130d3);}}},exports[_0x361975(0x6b2)]=er([dt(0x0,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),dt(0x1,a[_0x361975(0x4b5)](exports[_0x361975(0x245)])),dt(0x2,a['IUniverInstanceService'])],exports[_0x361975(0x6b2)]);var tr=Object[_0x361975(0x23f)],ir=Object[_0x361975(0x3bb)],nr=(_0x40ddd2,_0x4acd14,_0x430793,_0x51576d)=>{const _0x40837c=_0x361975;for(var _0x2c8f19=_0x51576d>0x1?void 0x0:_0x51576d?ir(_0x4acd14,_0x430793):_0x4acd14,_0xd76867=_0x40ddd2[_0x40837c(0x31c)]-0x1,_0x13a945;_0xd76867>=0x0;_0xd76867--)(_0x13a945=_0x40ddd2[_0xd76867])&&(_0x2c8f19=(_0x51576d?_0x13a945(_0x4acd14,_0x430793,_0x2c8f19):_0x13a945(_0x2c8f19))||_0x2c8f19);return _0x51576d&&_0x2c8f19&&tr(_0x4acd14,_0x430793,_0x2c8f19),_0x2c8f19;},Yt=(_0x105403,_0x40486c)=>(_0x4120f9,_0x1c2035)=>_0x40486c(_0x4120f9,_0x1c2035,_0x105403);let it=class extends a[_0x361975(0x353)]{constructor(_0x83e418,_0xc3cdf5){const _0x49a4f3=_0x361975;super(),this[_0x49a4f3(0x4c5)]=_0x83e418,this['_imageIoService']=_0xc3cdf5,this[_0x49a4f3(0x272)]();}[_0x361975(0x272)](){const _0x3734bf=_0x361975,_0x30d5a9=this;this[_0x3734bf(0x259)](this[_0x3734bf(0x4c5)]['addClipboardHook']({'onBeforePasteImage':async _0x18d920=>{const _0xd6121a=_0x3734bf,_0x189ceb=await _0x30d5a9['_imageIoService'][_0xd6121a(0x453)](_0x18d920);return _0x189ceb?{'source':_0x189ceb['source'],'imageSourceType':_0x189ceb['imageSourceType']}:null;}}));}};it=nr([Yt(0x0,J[_0x361975(0x67d)]),Yt(0x1,te['IImageIoService'])],it);function _0x3094(_0x370ace,_0x17cbad){const _0x4507a8=_0x4507();return _0x3094=function(_0x30947a,_0x5ee8de){_0x30947a=_0x30947a-0x1e7;let _0x212eea=_0x4507a8[_0x30947a];return _0x212eea;},_0x3094(_0x370ace,_0x17cbad);}const qt=[_0x361975(0x39d),_0x361975(0x4b1),'verdancy600',_0x361975(0x2e7),_0x361975(0x3ac),_0x361975(0x42f)];class Nt extends a['Disposable']{constructor(){super(...arguments),I(this,'_assignedColors',new Map()),I(this,'_colorIndex',0x0);}[_0x361975(0x3d6)](_0x1abed6){const _0x124ec9=_0x361975;if(this[_0x124ec9(0x548)][_0x124ec9(0x638)](_0x1abed6))return this['_assignedColors'][_0x124ec9(0x5e3)](_0x1abed6);const _0x3f4de5=qt[this[_0x124ec9(0x39c)]];return this[_0x124ec9(0x39c)]=(this[_0x124ec9(0x39c)]+0x1)%qt[_0x124ec9(0x31c)],this[_0x124ec9(0x548)][_0x124ec9(0x69a)](_0x1abed6,_0x3f4de5),_0x3f4de5;}}var rr=Object['defineProperty'],sr=Object['getOwnPropertyDescriptor'],or=(_0x1107db,_0x4f6ceb,_0x2c7dff,_0x5e45b8)=>{const _0x27aaf4=_0x361975;for(var _0x453c89=_0x5e45b8>0x1?void 0x0:_0x5e45b8?sr(_0x4f6ceb,_0x2c7dff):_0x4f6ceb,_0x3e6718=_0x1107db[_0x27aaf4(0x31c)]-0x1,_0x331f5c;_0x3e6718>=0x0;_0x3e6718--)(_0x331f5c=_0x1107db[_0x3e6718])&&(_0x453c89=(_0x5e45b8?_0x331f5c(_0x4f6ceb,_0x2c7dff,_0x453c89):_0x331f5c(_0x453c89))||_0x453c89);return _0x5e45b8&&_0x453c89&&rr(_0x4f6ceb,_0x2c7dff,_0x453c89),_0x453c89;},pe=(_0x4e80b8,_0x5a2bc4)=>(_0x477903,_0x34b5ce)=>_0x5a2bc4(_0x477903,_0x34b5ce,_0x4e80b8);const ar=0x12c,cr=0x64;let bt=class extends a[_0x361975(0x353)]{constructor(_0xe15588,_0x4dd100,_0x239e7e,_0x36f368,_0x5b59ef,_0x1b5831,_0x3767e3,_0x591e73,_0x4dd783){const _0x490588=_0x361975;super(),I(this,_0x490588(0x62a),!0x1),I(this,'_init',!0x1),I(this,_0x490588(0x241),new N['BehaviorSubject'](new Map())),I(this,_0x490588(0x60b),this[_0x490588(0x241)][_0x490588(0x2aa)]()),I(this,_0x490588(0x488),new N[(_0x490588(0x392))]([])),I(this,_0x490588(0x3ce),this['_roomMembers$']['pipe'](N['debounceTime'](ar))),I(this,_0x490588(0x22c),a[_0x490588(0x355)](_0x275905=>{const _0x24da63=_0x490588,_0x1572a2={'eventID':m['CollaborationEvent'][_0x24da63(0x5a8)],'data':{'unitID':this[_0x24da63(0x332)],'memberID':this[_0x24da63(0x1fd)][_0x24da63(0x61c)](),'selection':Di(_0x275905)}};this[_0x24da63(0x1fd)][_0x24da63(0x223)](_0x1572a2,this[_0x24da63(0x332)]);},cr)),(this[_0x490588(0x332)]=_0xe15588,this[_0x490588(0x1fd)]=_0x4dd100,this[_0x490588(0x5f2)]=_0x239e7e,this['_colorAssignService']=_0x36f368,this[_0x490588(0x527)]=_0x5b59ef,this[_0x490588(0x6b1)]=_0x1b5831,this[_0x490588(0x1e8)]=_0x3767e3,this[_0x490588(0x491)]=_0x591e73,this[_0x490588(0x39e)]=_0x4dd783);}get[_0x361975(0x2e2)](){const _0x372d47=_0x361975;return this[_0x372d47(0x241)][_0x372d47(0x62d)]();}get[_0x361975(0x4f8)](){const _0x244f7f=_0x361975;return this[_0x244f7f(0x488)]['getValue']();}['dispose'](){const _0x59f248=_0x361975;super[_0x59f248(0x2a2)](),this[_0x59f248(0x241)][_0x59f248(0x514)](new Map()),this['_cursorInfo$'][_0x59f248(0x29e)](),this[_0x59f248(0x488)][_0x59f248(0x514)]([]),this[_0x59f248(0x488)]['complete']();}['init'](){const _0x154f67=_0x361975;this['_init']||(this[_0x154f67(0x272)]=!0x0,this[_0x154f67(0x1fd)][_0x154f67(0x658)][_0x154f67(0x256)](N[_0x154f67(0x23d)](this[_0x154f67(0x3cd)]))[_0x154f67(0x2d2)](_0x444ab2=>{const _0x465616=_0x154f67;_0x444ab2===ne['ONLINE']?this[_0x465616(0x512)]():this[_0x465616(0x1fe)]();}),this[_0x154f67(0x1fd)][_0x154f67(0x52e)]['pipe'](N[_0x154f67(0x23d)](this[_0x154f67(0x3cd)]))[_0x154f67(0x2d2)](_0x497492=>{const _0x522be9=_0x154f67,_0xe4bb1c=_0x497492[_0x522be9(0x395)];_0xe4bb1c===m['CollaborationEvent'][_0x522be9(0x5a8)]&&this[_0x522be9(0x291)](_0x497492),_0xe4bb1c===m['CollaborationEvent'][_0x522be9(0x5cd)]&&this[_0x522be9(0x623)](_0x497492);}),this[_0x154f67(0x259)](this[_0x154f67(0x39e)][_0x154f67(0x6b7)](_0x2fc7c8=>{const _0x516fa9=_0x154f67,_0x32ef77=_0x2fc7c8[_0x516fa9(0x509)];_0x32ef77!=null&&this[_0x516fa9(0x62a)]&&_0x2fc7c8['id']===Ie[_0x516fa9(0x213)]['id']&&_0x32ef77['unitId']===this[_0x516fa9(0x332)]&&_0x32ef77[_0x516fa9(0x35f)]===!0x1&&_0x32ef77[_0x516fa9(0x496)][_0x516fa9(0x31c)]>0x0&&this[_0x516fa9(0x22c)](_0x32ef77[_0x516fa9(0x496)]);})),this[_0x154f67(0x6b1)]['collabCursorState$']['pipe'](N['takeUntil'](this[_0x154f67(0x3cd)]))[_0x154f67(0x2d2)](_0x589081=>{const _0xead958=_0x154f67;if((_0x589081==null?void 0x0:_0x589081['unitID'])!==this['unitID'])return;const _0x56085c={'eventID':m[_0xead958(0x3aa)][_0xead958(0x5a8)],'data':_0x589081};this['_onCursorUpdate'](_0x56085c);}),this[_0x154f67(0x259)](this[_0x154f67(0x39e)][_0x154f67(0x6b7)](_0x3562d8=>{const _0x38d913=_0x154f67;if(_0x3562d8[_0x38d913(0x509)]==null)return;const _0x265881=_0x3562d8[_0x38d913(0x509)];if(_0x3562d8['id']!==Ie[_0x38d913(0x5be)]['id']||_0x265881[_0x38d913(0x693)]!==this[_0x38d913(0x332)])return;const _0x28d379={'id':'doc.mutation.rich-text-editing','params':_0x265881},_0x3406d7=this['cursorInfo'];for(const [_0x392f8c,_0x4fad89]of _0x3406d7){const _0x3c2956={'id':_0x38d913(0x4c4),'params':{'unitId':this[_0x38d913(0x332)],'actions':null,'textRanges':_0x4fad89[_0x38d913(0x496)]}},_0x4c1611=this[_0x38d913(0x1e8)][_0x38d913(0x516)](_0x28d379,_0x3c2956,!0x1);if(m[_0x38d913(0x6a4)](_0x4c1611))throw _0x4c1611[_0x38d913(0x384)];_0x3406d7[_0x38d913(0x69a)](_0x392f8c,{..._0x4fad89,'ranges':_0x4c1611[_0x38d913(0x298)][_0x38d913(0x509)]['textRanges']});}queueMicrotask(()=>{const _0x4cdc45=_0x38d913;this[_0x4cdc45(0x241)][_0x4cdc45(0x514)](_0x3406d7);});})));}['_onCursorUpdate'](_0x1cab42){const _0x37da3b=_0x361975;var _0x50ad00,_0x4afaa3;const {memberID:_0x6324a3,selection:_0x5af67a}=_0x1cab42[_0x37da3b(0x405)],_0xc4dac5=kn(_0x5af67a),_0x146716=(_0x4afaa3=(_0x50ad00=this['_memberService'][_0x37da3b(0x348)](this[_0x37da3b(0x332)],_0x6324a3))==null?void 0x0:_0x50ad00[_0x37da3b(0x5a6)])!=null?_0x4afaa3:_0x37da3b(0x57c),_0x547a7d={'color':this['_colorAssignService'][_0x37da3b(0x3d6)](_0x6324a3),'name':_0x146716,'ranges':_0xc4dac5},_0x1ebbc3=this[_0x37da3b(0x2e2)];_0x1ebbc3[_0x37da3b(0x69a)](_0x6324a3,_0x547a7d),this[_0x37da3b(0x241)]['next'](_0x1ebbc3);}[_0x361975(0x623)](_0x2597ac){const _0x1fd576=_0x361975,{memberID:_0x321821}=_0x2597ac[_0x1fd576(0x405)],_0x1f953d=this[_0x1fd576(0x2e2)];_0x1f953d['delete'](_0x321821),this[_0x1fd576(0x241)][_0x1fd576(0x514)](_0x1f953d);}[_0x361975(0x512)](){const _0x44fd0c=_0x361975;var _0x5349b2;if(this[_0x44fd0c(0x62a)]=!0x0,((_0x5349b2=this[_0x44fd0c(0x491)][_0x44fd0c(0x42b)]())==null?void 0x0:_0x5349b2[_0x44fd0c(0x5db)]())!==this[_0x44fd0c(0x332)])return;const _0x58a8bc=this['_injector']['get'](Ie[_0x44fd0c(0x6b6)])[_0x44fd0c(0x510)]();Array[_0x44fd0c(0x5d2)](_0x58a8bc)&&_0x58a8bc['length']>0x0&&this[_0x44fd0c(0x22c)](_0x58a8bc);}[_0x361975(0x1fe)](){const _0x1984a6=_0x361975;this[_0x1984a6(0x62a)]=!0x1;}};bt=or([pe(0x2,a[_0x361975(0x4b5)](a['Injector'])),pe(0x3,a['Inject'](Nt)),pe(0x4,a[_0x361975(0x4b5)](exports[_0x361975(0x486)])),pe(0x5,a[_0x361975(0x4b5)](Ut)),pe(0x6,m['ITransformService']),pe(0x7,a[_0x361975(0x63c)]),pe(0x8,a['ICommandService'])],bt);var lr=Object['defineProperty'],hr=Object[_0x361975(0x3bb)],_r=(_0x3265bd,_0x50704f,_0x88441f,_0xdc9fad)=>{const _0x1b81b2=_0x361975;for(var _0x54e6f1=_0xdc9fad>0x1?void 0x0:_0xdc9fad?hr(_0x50704f,_0x88441f):_0x50704f,_0x2ba723=_0x3265bd[_0x1b81b2(0x31c)]-0x1,_0x5e9d8e;_0x2ba723>=0x0;_0x2ba723--)(_0x5e9d8e=_0x3265bd[_0x2ba723])&&(_0x54e6f1=(_0xdc9fad?_0x5e9d8e(_0x50704f,_0x88441f,_0x54e6f1):_0x5e9d8e(_0x54e6f1))||_0x54e6f1);return _0xdc9fad&&_0x54e6f1&&lr(_0x50704f,_0x88441f,_0x54e6f1),_0x54e6f1;},Te=(_0x5654e7,_0xd386d1)=>(_0x2972ec,_0x130c07)=>_0xd386d1(_0x2972ec,_0x130c07,_0x5654e7);const ur=0x12c,dr=0x64,fr=()=>{let _0x803d4d=[],_0x34fac2=!0x1;return _0x2311e3=>{const _0x4a1b82=_0x3094;_0x803d4d[_0x4a1b82(0x297)](_0x2311e3),_0x34fac2||(_0x34fac2=!0x0,setTimeout(()=>{const _0x34e4d3=_0x4a1b82;_0x803d4d[_0x34e4d3(0x3d7)](_0x19ccf8=>_0x19ccf8()),_0x803d4d=[],_0x34fac2=!0x1;}));};};let Tt=class extends a[_0x361975(0x353)]{constructor(_0x53488d,_0x23aef8,_0x3a1610,_0x29f9a4,_0x375325,_0x177233,_0x4f170f,_0x2b85ed){const _0x46030=_0x361975;super(),I(this,_0x46030(0x62a),!0x1),I(this,_0x46030(0x272),!0x1),I(this,_0x46030(0x241),new N[(_0x46030(0x392))](new Map())),I(this,_0x46030(0x60b),this[_0x46030(0x241)][_0x46030(0x2aa)]()),I(this,_0x46030(0x488),new N['BehaviorSubject']([])),I(this,_0x46030(0x3ce),this[_0x46030(0x488)][_0x46030(0x256)](N[_0x46030(0x1f3)](ur))),I(this,_0x46030(0x22c),a[_0x46030(0x355)]((_0xe7e4aa,_0x48759e)=>{const _0x33bac4=_0x46030,_0x569b5d={'eventID':m['CollaborationEvent'][_0x33bac4(0x5a8)],'data':{'unitID':this['unitID'],'memberID':this[_0x33bac4(0x1fd)][_0x33bac4(0x61c)](),'selection':$t[_0x33bac4(0x3fa)](_0xe7e4aa,_0x48759e[_0x33bac4(0x63e)])}};this['_session'][_0x33bac4(0x223)](_0x569b5d,this['unitID']);},dr)),(this[_0x46030(0x332)]=_0x53488d,this['_session']=_0x23aef8,this[_0x46030(0x5f2)]=_0x3a1610,this[_0x46030(0x227)]=_0x29f9a4,this[_0x46030(0x527)]=_0x375325,this[_0x46030(0x491)]=_0x177233,this[_0x46030(0x39e)]=_0x4f170f,this['_refRangeService']=_0x2b85ed);}get['cursorInfo'](){const _0x4cf539=_0x361975;return this[_0x4cf539(0x241)][_0x4cf539(0x62d)]();}get[_0x361975(0x4f8)](){const _0x2dd2d8=_0x361975;return this[_0x2dd2d8(0x488)]['getValue']();}[_0x361975(0x2a2)](){const _0x449be3=_0x361975;super[_0x449be3(0x2a2)](),this['_cursorInfo$'][_0x449be3(0x514)](new Map()),this['_cursorInfo$'][_0x449be3(0x29e)](),this[_0x449be3(0x488)]['next']([]),this[_0x449be3(0x488)][_0x449be3(0x29e)]();}[_0x361975(0x66b)](){const _0x283b5e=_0x361975;this[_0x283b5e(0x272)]||(this[_0x283b5e(0x272)]=!0x0,this[_0x283b5e(0x1fd)][_0x283b5e(0x658)][_0x283b5e(0x256)](N['takeUntil'](this[_0x283b5e(0x3cd)]))[_0x283b5e(0x2d2)](_0x589505=>{const _0x7fe8c8=_0x283b5e;_0x589505===ne['ONLINE']?this[_0x7fe8c8(0x512)]():this[_0x7fe8c8(0x1fe)]();}),this['_session'][_0x283b5e(0x52e)][_0x283b5e(0x256)](N[_0x283b5e(0x23d)](this['dispose$']))['subscribe'](_0x4f6ea3=>{const _0xf67d1f=_0x283b5e,_0x5ed940=_0x4f6ea3['eventID'];_0x5ed940===m[_0xf67d1f(0x3aa)][_0xf67d1f(0x5a8)]&&this[_0xf67d1f(0x291)](_0x4f6ea3),_0x5ed940===m['CollaborationEvent'][_0xf67d1f(0x5cd)]&&this[_0xf67d1f(0x623)](_0x4f6ea3);}),this['_onRefRangeChange'](),this[_0x283b5e(0x259)](this['_commandService'][_0x283b5e(0x6b7)](_0x1d8224=>{const _0x4eb127=_0x283b5e;if(this[_0x4eb127(0x62a)]&&_0x1d8224['id']===k[_0x4eb127(0x5d9)]['id']&&_0x1d8224[_0x4eb127(0x509)][_0x4eb127(0x693)]===this['unitID']){const _0x35e8ce=_0x1d8224[_0x4eb127(0x509)];this[_0x4eb127(0x22c)](_0x35e8ce[_0x4eb127(0x5fa)],_0x35e8ce[_0x4eb127(0x564)][0x0]);}})));}[_0x361975(0x291)](_0x4f9897){const _0x495bc6=_0x361975;var _0x52a2cf,_0x105655;const {memberID:_0x5e8afe,selection:_0x12b7fb}=_0x4f9897[_0x495bc6(0x405)],{sheetName:_0x33da03,range:_0x23e88d}=$t[_0x495bc6(0x5f7)](_0x12b7fb),_0x48271a={'name':(_0x105655=(_0x52a2cf=this[_0x495bc6(0x527)][_0x495bc6(0x348)](this[_0x495bc6(0x332)],_0x5e8afe))==null?void 0x0:_0x52a2cf[_0x495bc6(0x5a6)])!=null?_0x105655:_0x495bc6(0x57c),'range':this[_0x495bc6(0x286)](_0x33da03,_0x23e88d),'sheetID':_0x33da03,'color':this[_0x495bc6(0x227)][_0x495bc6(0x3d6)](_0x5e8afe),'selection':_0x12b7fb},_0x2c00d6=this[_0x495bc6(0x2e2)];_0x2c00d6['set'](_0x5e8afe,_0x48271a),this[_0x495bc6(0x241)]['next'](_0x2c00d6);}['_onCursorDelete'](_0x5d0b12){const _0x4619e2=_0x361975,{memberID:_0x500c81}=_0x5d0b12['data'],_0x176906=this[_0x4619e2(0x2e2)];_0x176906['delete'](_0x500c81),this[_0x4619e2(0x241)][_0x4619e2(0x514)](_0x176906);}['_getMergeRange'](_0x41b54a,_0x560900){const _0x173f73=_0x361975;var _0x34a752,_0x2861fd;const _0x3a7f55=(_0x2861fd=(_0x34a752=this[_0x173f73(0x491)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x34a752['getSheetBySheetId'](_0x41b54a))==null?void 0x0:_0x2861fd[_0x173f73(0x3ec)]();return(_0x3a7f55==null?void 0x0:_0x3a7f55['find'](_0x540ffa=>a['Rectangle'][_0x173f73(0x445)](_0x540ffa,_0x560900)))||_0x560900;}['_onRefRangeChange'](){const _0x17f8b3=_0x361975,_0x507fca=new a[(_0x17f8b3(0x5b6))](),_0x30c95f=fr(),_0x10e01b=()=>{const _0x3f1fbf=_0x17f8b3;_0x507fca[_0x3f1fbf(0x2a2)]();const _0x356691=(_0x16eea7,_0x19fdb1,_0x2526b9,_0x2bd979)=>{const _0x372220=_0x3f1fbf;let _0x81bb88=[];switch(_0x16eea7['id']){case k[_0x372220(0x1ee)][_0x372220(0x25a)]:{_0x81bb88=k[_0x372220(0x262)](_0x16eea7,_0x2bd979);break;}case k[_0x372220(0x1ee)][_0x372220(0x5aa)]:{_0x81bb88=k[_0x372220(0x2fa)](_0x16eea7,_0x2bd979);break;}case k['EffectRefRangId']['InsertColCommandId']:{_0x81bb88=k[_0x372220(0x694)](_0x16eea7,_0x2bd979);break;}case k[_0x372220(0x1ee)][_0x372220(0x37b)]:{_0x81bb88=k['handleInsertRangeMoveDown'](_0x16eea7,_0x2bd979);break;}case k[_0x372220(0x1ee)][_0x372220(0x511)]:{_0x81bb88=k[_0x372220(0x204)](_0x16eea7,_0x2bd979);break;}case k['EffectRefRangId'][_0x372220(0x4e6)]:{_0x81bb88=k[_0x372220(0x228)](_0x16eea7,_0x2bd979);break;}case k[_0x372220(0x1ee)][_0x372220(0x428)]:{_0x81bb88=k[_0x372220(0x5eb)](_0x16eea7,_0x2bd979);break;}case k[_0x372220(0x1ee)]['RemoveColCommandId']:{_0x81bb88=k['handleIRemoveCol'](_0x16eea7,_0x2bd979);break;}case k['EffectRefRangId']['RemoveRowCommandId']:{_0x81bb88=k[_0x372220(0x360)](_0x16eea7,_0x2bd979);break;}}const _0x50d651=k[_0x372220(0x565)](_0x81bb88,_0x2bd979),_0x489efa=this[_0x372220(0x2e2)][_0x372220(0x5e3)](_0x19fdb1);if(_0x489efa&&_0x50d651){const _0x6c165b={..._0x489efa,'range':_0x50d651};this[_0x372220(0x2e2)][_0x372220(0x69a)](_0x19fdb1,_0x6c165b),_0x30c95f(()=>{const _0x1a7ea7=_0x372220,_0x4dd7e5=this['_refRangeService'][_0x1a7ea7(0x546)](_0x50d651,_0x117258=>(_0x4dd7e5[_0x1a7ea7(0x2a2)](),_0x356691(_0x117258,_0x19fdb1,_0x2526b9,_0x50d651)));_0x507fca[_0x1a7ea7(0x277)](_0x4dd7e5);});}return{'redos':[],'undos':[]};};this[_0x3f1fbf(0x2e2)][_0x3f1fbf(0x3d7)]((_0x4896c0,_0x5f24f3)=>{const _0x634f60=_0x3f1fbf,{range:_0x5c498b,sheetID:_0x20fc93}=_0x4896c0,_0x3537ab=this[_0x634f60(0x43b)][_0x634f60(0x546)](_0x5c498b,_0x1d0f6a=>(_0x3537ab['dispose'](),_0x356691(_0x1d0f6a,_0x5f24f3,_0x20fc93,_0x5c498b)));_0x507fca[_0x634f60(0x277)](_0x3537ab);});};this[_0x17f8b3(0x259)](a[_0x17f8b3(0x4f1)](this['_cursorInfo$']['subscribe'](()=>{_0x10e01b();})));}['_toggleOnline'](){const _0x3b53be=_0x361975;var _0x3cd0cb,_0x269206;if(this[_0x3b53be(0x62a)]=!0x0,((_0x3cd0cb=this[_0x3b53be(0x491)][_0x3b53be(0x42b)]())==null?void 0x0:_0x3cd0cb[_0x3b53be(0x5db)]())!==this[_0x3b53be(0x332)])return;const _0x19dca5=(_0x269206=this[_0x3b53be(0x5f2)][_0x3b53be(0x5e3)](k[_0x3b53be(0x534)])['getCurrentSelections']())==null?void 0x0:_0x269206[0x0],_0x43f3cf=this[_0x3b53be(0x491)]['getCurrentUnitForType'](a[_0x3b53be(0x481)][_0x3b53be(0x327)])[_0x3b53be(0x5c4)]();_0x19dca5&&_0x43f3cf&&this[_0x3b53be(0x22c)](_0x43f3cf['getSheetId'](),_0x19dca5);}['_toggleOffline'](){const _0x4cbf2b=_0x361975;this[_0x4cbf2b(0x62a)]=!0x1;}};Tt=_r([Te(0x2,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),Te(0x3,a[_0x361975(0x4b5)](Nt)),Te(0x4,a[_0x361975(0x4b5)](exports[_0x361975(0x486)])),Te(0x5,a['IUniverInstanceService']),Te(0x6,a[_0x361975(0x67f)]),Te(0x7,a['Inject'](k[_0x361975(0x649)]))],Tt);var vr=Object[_0x361975(0x23f)],Sr=Object[_0x361975(0x3bb)],pr=(_0x49a6a8,_0x950987,_0x5a2e16,_0x359254)=>{for(var _0x24a8c7=_0x359254>0x1?void 0x0:_0x359254?Sr(_0x950987,_0x5a2e16):_0x950987,_0x47890b=_0x49a6a8['length']-0x1,_0xd57587;_0x47890b>=0x0;_0x47890b--)(_0xd57587=_0x49a6a8[_0x47890b])&&(_0x24a8c7=(_0x359254?_0xd57587(_0x950987,_0x5a2e16,_0x24a8c7):_0xd57587(_0x24a8c7))||_0x24a8c7);return _0x359254&&_0x24a8c7&&vr(_0x950987,_0x5a2e16,_0x24a8c7),_0x24a8c7;},ft=(_0x3c2994,_0x245d16)=>(_0x2f8e00,_0xb4c5e5)=>_0x245d16(_0x2f8e00,_0xb4c5e5,_0x3c2994);let ye=class extends a[_0x361975(0x353)]{constructor(_0x354706,_0x177a94,_0x308357){const _0x2c05ae=_0x361975;super(),I(this,'_entities',new Map()),I(this,_0x2c05ae(0x699),new N[(_0x2c05ae(0x3e1))]()),(this[_0x2c05ae(0x491)]=_0x354706,this[_0x2c05ae(0x5f2)]=_0x177a94,this['_collabSessionService']=_0x308357,this[_0x2c05ae(0x272)]());}[_0x361975(0x2a2)](){const _0x3eee08=_0x361975;super['dispose'](),this['_entityInit$'][_0x3eee08(0x29e)](),this['_entities'][_0x3eee08(0x3d7)](_0xe61d26=>_0xe61d26['dispose']());}[_0x361975(0x63b)](_0xeecef){const _0x34eb97=_0x361975;return this[_0x34eb97(0x2be)]['has'](_0xeecef)?this[_0x34eb97(0x2be)][_0x34eb97(0x5e3)](_0xeecef)['cursorInfo$']:this[_0x34eb97(0x699)][_0x34eb97(0x256)](N[_0x34eb97(0x4f0)](_0x56fb86=>_0x56fb86[_0x34eb97(0x332)]===_0xeecef),N['switchMap'](_0x14dd32=>_0x14dd32['cursorInfo$']));}[_0x361975(0x272)](){const _0x3bebc9=_0x361975;this[_0x3bebc9(0x491)][_0x3bebc9(0x6ad)](a['UniverInstanceType'][_0x3bebc9(0x327)])[_0x3bebc9(0x256)](N['takeUntil'](this[_0x3bebc9(0x3cd)]))[_0x3bebc9(0x2d2)](async _0x4ef35a=>{const _0x5c54cc=_0x3bebc9,_0x29baee=_0x4ef35a[_0x5c54cc(0x5db)](),_0x4e70e8=await this[_0x5c54cc(0x626)](_0x29baee);this['_entityInit$'][_0x5c54cc(0x514)](_0x4e70e8),this[_0x5c54cc(0x2be)][_0x5c54cc(0x69a)](_0x29baee,_0x4e70e8);}),this['_univerInstanceService'][_0x3bebc9(0x6ad)](a[_0x3bebc9(0x481)][_0x3bebc9(0x5f5)])[_0x3bebc9(0x256)](N[_0x3bebc9(0x23d)](this[_0x3bebc9(0x3cd)]))[_0x3bebc9(0x256)](N['filter'](_0x3e668e=>!_0x3e668e['getUnitId']()[_0x3bebc9(0x4aa)]('__')))[_0x3bebc9(0x2d2)](async _0x3c786e=>{const _0x51417f=_0x3bebc9,_0x11cb5f=_0x3c786e[_0x51417f(0x5db)](),_0x52e1a2=await this[_0x51417f(0x3f8)](_0x11cb5f);this[_0x51417f(0x699)][_0x51417f(0x514)](_0x52e1a2),this[_0x51417f(0x2be)][_0x51417f(0x69a)](_0x11cb5f,_0x52e1a2);}),N[_0x3bebc9(0x5dd)](this[_0x3bebc9(0x491)][_0x3bebc9(0x59f)](a['UniverInstanceType'][_0x3bebc9(0x5f5)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x3bebc9(0x481)]['UNIVER_SHEET']))[_0x3bebc9(0x256)](N[_0x3bebc9(0x23d)](this[_0x3bebc9(0x3cd)]))[_0x3bebc9(0x2d2)](_0x4126f4=>{const _0x195ab4=_0x3bebc9,_0x348096=_0x4126f4['getUnitId'](),_0xec2a13=this[_0x195ab4(0x2be)][_0x195ab4(0x5e3)](_0x348096);_0xec2a13&&(_0xec2a13[_0x195ab4(0x2a2)](),this[_0x195ab4(0x2be)][_0x195ab4(0x335)](_0x348096));});}async[_0x361975(0x626)](_0x343a14){const _0x23fd89=_0x361975,_0x27669b=await this[_0x23fd89(0x5e0)][_0x23fd89(0x21c)](_0x343a14),_0x396f70=this[_0x23fd89(0x5f2)][_0x23fd89(0x665)](Tt,_0x343a14,_0x27669b);return _0x396f70[_0x23fd89(0x66b)](),_0x396f70;}async[_0x361975(0x3f8)](_0x365db3){const _0x471b13=_0x361975,_0xdf4229=await this[_0x471b13(0x5e0)][_0x471b13(0x21c)](_0x365db3),_0x1b02b6=this['_injector'][_0x471b13(0x665)](bt,_0x365db3,_0xdf4229);return _0x1b02b6[_0x471b13(0x66b)](),_0x1b02b6;}};ye=pr([ft(0x0,a[_0x361975(0x63c)]),ft(0x1,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),ft(0x2,a[_0x361975(0x4b5)](exports[_0x361975(0x245)]))],ye);const xe=0x14,Kt=0xc8,vt=0x4,mr=0x5;function gr(_0x555767,_0x401ff5){const _0x4ed974=_0x361975;let {radius:_0x53cb61,width:_0x5b150b,height:_0x23f108}=_0x401ff5;_0x53cb61=_0x53cb61!=null?_0x53cb61:0x0,_0x5b150b=_0x5b150b!=null?_0x5b150b:0x1e,_0x23f108=_0x23f108!=null?_0x23f108:0x1e;let _0x316927=0x0,_0x58e230=0x0,_0x400e55=0x0;_0x316927=_0x58e230=_0x400e55=Math[_0x4ed974(0x38b)](_0x53cb61,_0x5b150b/0x2,_0x23f108/0x2),_0x555767[_0x4ed974(0x4be)](),_0x555767[_0x4ed974(0x64b)](_0x316927,0x0),_0x555767['lineTo'](_0x5b150b-_0x58e230,0x0),_0x555767[_0x4ed974(0x2b2)](_0x5b150b-_0x58e230,_0x58e230,_0x58e230,Math['PI']*0x3/0x2,0x0,!0x1),_0x555767[_0x4ed974(0x5a0)](_0x5b150b,_0x23f108-_0x400e55),_0x555767[_0x4ed974(0x2b2)](_0x5b150b-_0x400e55,_0x23f108-_0x400e55,_0x400e55,0x0,Math['PI']/0x2,!0x1),_0x555767[_0x4ed974(0x5a0)](0x0,_0x23f108),_0x555767[_0x4ed974(0x5a0)](0x0,_0x316927),_0x555767[_0x4ed974(0x2b2)](_0x316927,_0x316927,_0x316927,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x555767['closePath'](),_0x401ff5[_0x4ed974(0x2bc)]&&(_0x555767['save'](),_0x555767[_0x4ed974(0x347)]=_0x401ff5[_0x4ed974(0x2bc)],_0x401ff5[_0x4ed974(0x280)]===_0x4ed974(0x62c)?_0x555767[_0x4ed974(0x2bc)](_0x4ed974(0x62c)):_0x555767[_0x4ed974(0x2bc)](),_0x555767[_0x4ed974(0x24e)]());}class ct extends Y[_0x361975(0x385)]{constructor(_0x5f476c,_0x17cd6d){const _0x30ad7d=_0x361975;super(_0x5f476c,_0x17cd6d),I(this,_0x30ad7d(0x37e)),I(this,_0x30ad7d(0x434)),(this[_0x30ad7d(0x37e)]=_0x17cd6d==null?void 0x0:_0x17cd6d['color'],this[_0x30ad7d(0x434)]=_0x17cd6d==null?void 0x0:_0x17cd6d[_0x30ad7d(0x434)]);}static[_0x361975(0x65a)](_0xb46ed0,_0x375067){const _0x5f1edb=_0x361975,{text:_0x36d02d,color:_0x4a771c}=_0x375067;_0xb46ed0[_0x5f1edb(0x4c3)](),_0xb46ed0[_0x5f1edb(0x3b1)]=_0x5f1edb(0x22a);const _0xc98ae9=_0xb46ed0['measureText'](_0x36d02d)[_0x5f1edb(0x29b)],_0x56a808=Math[_0x5f1edb(0x38b)](_0xc98ae9+0x2*vt,Kt);gr(_0xb46ed0,{'height':xe,'radius':0x4,'width':_0x56a808,'fill':_0x4a771c,'evented':!0x1}),_0xb46ed0[_0x5f1edb(0x347)]=_0x5f1edb(0x616);const _0x17c842=vt,_0x3801c5=xe-mr,_0xb7d8d5=Kt-0x2*vt;if(_0xc98ae9>_0xb7d8d5){let _0xf292f8='',_0xe41a1e=0x0;for(const _0x39dd64 of _0x36d02d){const _0x59df9b=_0xb46ed0[_0x5f1edb(0x655)](_0x39dd64)['width'];if(_0xe41a1e+_0x59df9b<=_0xb7d8d5-_0xb46ed0[_0x5f1edb(0x655)](_0x5f1edb(0x38c))[_0x5f1edb(0x29b)])_0xf292f8+=_0x39dd64,_0xe41a1e+=_0x59df9b;else{_0xf292f8+='...';break;}}_0xb46ed0['fillText'](_0xf292f8,_0x17c842,_0x3801c5);}else _0xb46ed0[_0x5f1edb(0x3ff)](_0x36d02d,_0x17c842,_0x3801c5);_0xb46ed0['restore']();}[_0x361975(0x3f4)](_0x598b64){const _0x374a40=_0x361975;ct[_0x374a40(0x65a)](_0x598b64,this);}}const St=_0x361975(0x306),Ir=_0x361975(0x4d2),Cr=_0x361975(0x4e2),we=0x6,Er=1.5,pt=0x4,br=1.5,Tr=_0x361975(0x273);class zt{constructor(_0x1aaae9,_0x293a0f,_0x3c0609,_0x3d962d){const _0x3d0f71=_0x361975;I(this,_0x3d0f71(0x467),[]),I(this,'_anchor',null),I(this,_0x3d0f71(0x30a),null),I(this,_0x3d0f71(0x5d5),null),I(this,'_hideTimer',null),I(this,_0x3d0f71(0x523),null),(this[_0x3d0f71(0x51d)]=_0x1aaae9,this[_0x3d0f71(0x369)]=_0x293a0f,this[_0x3d0f71(0x659)]=_0x3c0609,this[_0x3d0f71(0x376)]=_0x3d962d,this[_0x3d0f71(0x21a)]());}set[_0x361975(0x595)](_0x3dbec8){const _0x50601f=_0x361975;_0x3dbec8?(this[_0x50601f(0x5d5)]&&this[_0x50601f(0x5d5)][_0x50601f(0x27f)](),this['_textBubble']&&this[_0x50601f(0x30a)][_0x50601f(0x4d8)]()):(this[_0x50601f(0x5d5)]&&this['_anchorDot']['show'](),this[_0x50601f(0x30a)]&&this['_textBubble']['hide']());}['dispose'](){const _0x320302=_0x361975;for(const _0xf2071d of this['_shapes'])_0xf2071d['dispose']();this[_0x320302(0x30a)]&&this['_textBubble'][_0x320302(0x2a2)](),this['_anchorDot']&&this[_0x320302(0x5d5)]['dispose'](),this[_0x320302(0x234)]&&this[_0x320302(0x234)][_0x320302(0x2a2)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0xe86b51=_0x361975;var _0x1d5437;const {_docSkeleton:_0x1279ca,_document:_0xd65b32}=this,{color:_0x50413f,name:_0x1e7a04,ranges:_0x44ba5b}=this[_0xe86b51(0x51d)],_0x498940=_0xd65b32[_0xe86b51(0x479)](),{docsLeft:_0x4db12d,docsTop:_0x5444e8}=_0x498940,_0x3445e9=new J[(_0xe86b51(0x423))](_0x498940,_0x1279ca);for(const {startOffset:_0x3fefd6,endOffset:_0x1dd388,rangeType:_0x2adedc,segmentId:_0x52a321,segmentPage:_0x3f571b,collapsed:_0x191db3,isActive:_0x2fc829}of _0x44ba5b){const _0x5b851e=_0x1279ca['findNodePositionByCharIndex'](_0x3fefd6,!0x0,_0x52a321,_0x3f571b);let _0x20fc50=_0x1279ca[_0xe86b51(0x287)](_0x1dd388,!0x0,_0x52a321,_0x3f571b);if(_0x20fc50==null&&(_0x20fc50=_0x1279ca[_0xe86b51(0x287)](_0x1dd388-0x1,!0x1,_0x52a321,_0x3f571b)),_0x2fc829){const {contentBoxPointGroup:_0x59c53c}=_0x3445e9[_0xe86b51(0x35b)](_0x20fc50,_0x20fc50);if(_0x59c53c[_0xe86b51(0x31c)]===0x0)continue;this[_0xe86b51(0x29a)](_0x50413f,_0x59c53c,_0x4db12d,_0x5444e8,_0x1e7a04),this['_eventUnsubscribe']=this[_0xe86b51(0x6b5)]();}if(_0x5b851e&&_0x20fc50){if(_0x2adedc===a[_0xe86b51(0x260)][_0xe86b51(0x47c)]){const _0x5ba823=new J[(_0xe86b51(0x36d))](_0x498940,_0x1279ca),{pointGroup:_0x491bb3}=(_0x1d5437=_0x5ba823[_0xe86b51(0x35b)](_0x5b851e,_0x20fc50))!=null?_0x1d5437:{};if(_0x491bb3==null||_0x491bb3[_0xe86b51(0x31c)]===0x0)continue;this[_0xe86b51(0x541)](_0x50413f,_0x491bb3,_0x4db12d,_0x5444e8);}else{if(!_0x191db3){const {borderBoxPointGroup:_0x446b4e}=_0x3445e9[_0xe86b51(0x35b)](_0x5b851e,_0x20fc50);if(_0x446b4e[_0xe86b51(0x31c)]===0x0)continue;this['_drawTextRange'](_0x50413f,_0x446b4e,_0x4db12d,_0x5444e8);}}}}}['_drawAnchor'](_0x124099,_0x113040,_0x2070d2,_0x175c70,_0x1599a8){const _0x1f102a=_0x361975,_0x2e3c58=this['_getAnchorBounding'](_0x113040),{left:_0x484fc2,top:_0xd4dcd9,height:_0x43ce64}=_0x2e3c58,_0x490723=this[_0x1f102a(0x472)](),_0x4d28ab=br/_0x490723,_0x4e5c7a=new Y['Rect'](St+a[_0x1f102a(0x344)]['generateRandomId'](we),{'left':_0x484fc2+_0x2070d2-_0x4d28ab,'top':_0xd4dcd9+_0x175c70,'height':_0x43ce64,'width':Er,'fill':_0x124099||Y[_0x1f102a(0x617)](a[_0x1f102a(0x464)][_0x1f102a(0x2de)],0x0),'strokeWidth':_0x4d28ab,'stroke':Tr,'evented':!0x0});this['_anchor']=_0x4e5c7a,this[_0x1f102a(0x369)]['addObject'](_0x4e5c7a,J[_0x1f102a(0x621)]);const _0x64a756=new Y[(_0x1f102a(0x20c))](St+a[_0x1f102a(0x344)][_0x1f102a(0x22d)](we),{'left':_0x484fc2+_0x2070d2-_0x4d28ab,'top':_0xd4dcd9+_0x175c70-pt/0x2,'height':pt,'width':pt,'fill':_0x124099||Y['getColor'](a['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x124099||Y[_0x1f102a(0x617)](a[_0x1f102a(0x464)][_0x1f102a(0x2de)],0x0),'evented':!0x1});this[_0x1f102a(0x5d5)]=_0x64a756,this[_0x1f102a(0x369)][_0x1f102a(0x68c)](_0x64a756,J[_0x1f102a(0x621)]);const _0x1e0904=new ct(St+a[_0x1f102a(0x344)][_0x1f102a(0x22d)](we),{'left':_0x484fc2+_0x2070d2-_0x4d28ab,'top':_0xd4dcd9+_0x175c70-xe,'text':_0x1599a8,'color':_0x124099});this[_0x1f102a(0x30a)]=_0x1e0904,this[_0x1f102a(0x369)][_0x1f102a(0x68c)](_0x1e0904,J[_0x1f102a(0x621)]),this[_0x1f102a(0x595)]=!0x1;}[_0x361975(0x6b5)](){const _0x30e7e5=_0x361975,_0x5b88cf=this[_0x30e7e5(0x234)][_0x30e7e5(0x58d)][_0x30e7e5(0x41e)](()=>{const _0x1bed01=_0x30e7e5;this[_0x1bed01(0x595)]=!0x0;}),_0x2bf154=this['_anchor'][_0x30e7e5(0x1f7)][_0x30e7e5(0x41e)](()=>{const _0x5ad6cc=_0x30e7e5;this[_0x5ad6cc(0x381)]&&clearTimeout(this['_hideTimer']),this[_0x5ad6cc(0x381)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x5b88cf['unsubscribe'](),_0x2bf154['unsubscribe']();};}[_0x361975(0x553)](_0x2f211,_0x1267f6,_0x8286b9,_0x24eb5a){const _0x5a0840=_0x361975,_0xd9b19b=new a[(_0x5a0840(0x69f))](_0x2f211)[_0x5a0840(0x59a)](0.2)[_0x5a0840(0x2d9)](),_0x1cf0b8=new Y[(_0x5a0840(0x58c))](Ir+a[_0x5a0840(0x344)][_0x5a0840(0x22d)](we),{'pointsGroup':_0x1267f6,'fill':_0xd9b19b||Y[_0x5a0840(0x617)](a['COLORS']['black'],0.2),'left':_0x8286b9,'top':_0x24eb5a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5a0840(0x467)][_0x5a0840(0x297)](_0x1cf0b8),this['_scene']['addObject'](_0x1cf0b8,J[_0x5a0840(0x621)]);}[_0x361975(0x541)](_0x88dd5a,_0xa5891c,_0x137cef,_0x3f0199){const _0x5ec5e6=_0x361975,_0x52851b=new a[(_0x5ec5e6(0x69f))](_0x88dd5a)['setAlpha'](0.2)[_0x5ec5e6(0x2d9)](),_0x6ede5=new Y[(_0x5ec5e6(0x58c))](Cr+a[_0x5ec5e6(0x344)][_0x5ec5e6(0x22d)](we),{'pointsGroup':_0xa5891c,'fill':_0x52851b||Y[_0x5ec5e6(0x617)](a['COLORS'][_0x5ec5e6(0x2de)],0.2),'left':_0x137cef,'top':_0x3f0199,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5ec5e6(0x467)][_0x5ec5e6(0x297)](_0x6ede5),this['_scene']['addObject'](_0x6ede5,J['TEXT_RANGE_LAYER_INDEX']);}[_0x361975(0x675)](_0x39f2bb){const _0x1ae7a0=_0x39f2bb[0x0],_0x4c509b=_0x1ae7a0[0x0],_0x3f6c03=_0x1ae7a0[0x2],{x:_0x4aee9c,y:_0x46f620}=_0x4c509b,{x:_0x1dc604,y:_0x164e83}=_0x3f6c03;return{'left':_0x4aee9c,'top':_0x46f620,'width':_0x1dc604-_0x4aee9c,'height':_0x164e83-_0x46f620};}['_getScale'](){const _0x137690=_0x361975,{scaleX:_0x3bc672,scaleY:_0x1fcc3e}=this[_0x137690(0x369)][_0x137690(0x65f)]();return Math[_0x137690(0x685)](_0x3bc672,_0x1fcc3e);}}var Rr=Object['defineProperty'],Or=Object[_0x361975(0x3bb)],yr=(_0x5eb922,_0x1b4e90,_0x158f1c,_0x3917da)=>{const _0x56540b=_0x361975;for(var _0x2ff8fe=_0x3917da>0x1?void 0x0:_0x3917da?Or(_0x1b4e90,_0x158f1c):_0x1b4e90,_0x27e70c=_0x5eb922[_0x56540b(0x31c)]-0x1,_0x53675a;_0x27e70c>=0x0;_0x27e70c--)(_0x53675a=_0x5eb922[_0x27e70c])&&(_0x2ff8fe=(_0x3917da?_0x53675a(_0x1b4e90,_0x158f1c,_0x2ff8fe):_0x53675a(_0x2ff8fe))||_0x2ff8fe);return _0x3917da&&_0x2ff8fe&&Rr(_0x1b4e90,_0x158f1c,_0x2ff8fe),_0x2ff8fe;},je=(_0x52c83e,_0xc64849)=>(_0x1153fe,_0x5a78be)=>_0xc64849(_0x1153fe,_0x5a78be,_0x52c83e);let Rt=class extends a[_0x361975(0x353)]{constructor(_0x48375e,_0x2da89a,_0x4e6db5,_0x47b743,_0x42b967){const _0x1b85d2=_0x361975;super(),I(this,_0x1b85d2(0x61e),[]),I(this,_0x1b85d2(0x643),[]),(this['_context']=_0x48375e,this[_0x1b85d2(0x364)]=_0x2da89a,this[_0x1b85d2(0x4a9)]=_0x4e6db5,this[_0x1b85d2(0x39e)]=_0x47b743,this[_0x1b85d2(0x3be)]=_0x42b967,this[_0x1b85d2(0x272)]());}[_0x361975(0x272)](){const _0x5751f7=_0x361975,_0x4a078f=this[_0x5751f7(0x46a)][_0x5751f7(0x693)],_0x3b0113=this[_0x5751f7(0x364)];this[_0x5751f7(0x259)](N[_0x5751f7(0x20b)]([this['_collabCursorController'][_0x5751f7(0x63b)](_0x4a078f),this['_themeService'][_0x5751f7(0x3b0)]])[_0x5751f7(0x256)](V[_0x5751f7(0x4ec)](([_0x126fc9,_0x425fba])=>({'skeleton':_0x3b0113[_0x5751f7(0x3c3)](),'cursors':[..._0x126fc9['values']()][_0x5751f7(0x3dd)](_0x2abad9=>({..._0x2abad9,'color':_0x425fba[_0x2abad9[_0x5751f7(0x37e)]]}))})))[_0x5751f7(0x2d2)](_0x12fc3e=>{const _0x4281ce=_0x5751f7;if(this[_0x4281ce(0x407)](),_0x12fc3e){const {skeleton:_0x5b5e32,cursors:_0x928e9d}=_0x12fc3e;this['_updateCollabCursors'](_0x5b5e32,_0x928e9d);}})),this[_0x5751f7(0x41d)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x497fdb,_0x6cf89f){const _0x4f0a28=_0x361975,{scene:_0x5a6496,mainComponent:_0x8a12c2}=this[_0x4f0a28(0x46a)],_0x5a5288=_0x6cf89f[_0x4f0a28(0x4ec)](_0x220fb1=>new zt(_0x220fb1,_0x5a6496,_0x497fdb,_0x8a12c2));this['_cursorShapes']=_0x5a5288,this[_0x4f0a28(0x643)]=_0x6cf89f;}[_0x361975(0x664)](){const _0x1e832f=_0x361975;this[_0x1e832f(0x407)]();const {scene:_0x40d7fc,mainComponent:_0x322d9c}=this[_0x1e832f(0x46a)],_0x502be1=this['_docSkeletonManagerService'][_0x1e832f(0x3c3)](),_0x43665d=this[_0x1e832f(0x643)][_0x1e832f(0x4ec)](_0x103c49=>new zt(_0x103c49,_0x40d7fc,_0x502be1,_0x322d9c));this[_0x1e832f(0x61e)]=_0x43665d;}['_removeCollabCursors'](){const _0x12cad8=_0x361975;this[_0x12cad8(0x61e)][_0x12cad8(0x3d7)](_0x394f14=>_0x394f14[_0x12cad8(0x2a2)]()),this[_0x12cad8(0x61e)]=[];}['_initCommandExecutedListener'](){const _0x480e03=_0x361975,_0xf01ace=[J[_0x480e03(0x5df)]['id']];this[_0x480e03(0x259)](this['_commandService'][_0x480e03(0x6b7)](_0x5a5e10=>{const _0x49e64c=_0x480e03;_0xf01ace[_0x49e64c(0x406)](_0x5a5e10['id'])&&_0x5a5e10[_0x49e64c(0x509)][_0x49e64c(0x693)]===this[_0x49e64c(0x46a)][_0x49e64c(0x693)]&&this[_0x49e64c(0x664)]();}));}[_0x361975(0x41d)](){const _0x1c7a96=_0x361975;this[_0x1c7a96(0x259)](a[_0x1c7a96(0x39b)](this['_context'][_0x1c7a96(0x31f)][_0x1c7a96(0x40e)])[_0x1c7a96(0x256)](V[_0x1c7a96(0x4f0)](_0x360a12=>_0x360a12[_0x1c7a96(0x585)]===Y['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x1c7a96(0x416)]),V['throttleTime'](0x10))[_0x1c7a96(0x2d2)](()=>{const _0x46aee2=_0x1c7a96;this[_0x46aee2(0x664)]();}));}};Rt=yr([je(0x1,a['Inject'](Ie[_0x361975(0x275)])),je(0x2,a[_0x361975(0x4b5)](ye)),je(0x3,a[_0x361975(0x67f)]),je(0x4,a[_0x361975(0x4b5)](a[_0x361975(0x46e)]))],Rt);const Dr=0x1,Pr=1.5;class Mi extends Y[_0x361975(0x385)]{constructor(_0x2520f1,_0x59a7a8){const _0x1f4620=_0x361975;super(_0x2520f1,_0x59a7a8),I(this,_0x1f4620(0x532)),I(this,'_hovered',!0x1),I(this,_0x1f4620(0x521)),I(this,_0x1f4620(0x587),''),I(this,_0x1f4620(0x5e4),_0x1f4620(0x266)),I(this,_0x1f4620(0x20d)),(_0x59a7a8&&this['setShapeProps'](_0x59a7a8),this['onPointerEnter$'][_0x1f4620(0x41e)](()=>this[_0x1f4620(0x3d5)]({'hovered':!0x0})),this[_0x1f4620(0x1f7)][_0x1f4620(0x41e)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x361975(0x3d5)](_0x2f5ab1){const _0x3b514d=_0x361975;var _0x52e455,_0x460b8a,_0x546f1d,_0x192e5f,_0x3952a4,_0x56abcd;this[_0x3b514d(0x532)]=(_0x52e455=_0x2f5ab1[_0x3b514d(0x37e)])!=null?_0x52e455:this[_0x3b514d(0x532)],this[_0x3b514d(0x46b)]=(_0x460b8a=_0x2f5ab1[_0x3b514d(0x6a9)])!=null?_0x460b8a:this[_0x3b514d(0x46b)],this['_range']=(_0x546f1d=_0x2f5ab1['range'])!=null?_0x546f1d:this[_0x3b514d(0x521)],this[_0x3b514d(0x587)]=(_0x192e5f=_0x2f5ab1[_0x3b514d(0x5a6)])!=null?_0x192e5f:this[_0x3b514d(0x587)],this[_0x3b514d(0x5e4)]=(_0x3952a4=_0x2f5ab1['labelPosition'])!=null?_0x3952a4:this[_0x3b514d(0x5e4)],this[_0x3b514d(0x20d)]=(_0x56abcd=_0x2f5ab1[_0x3b514d(0x58e)])!=null?_0x56abcd:this[_0x3b514d(0x20d)],this['transformByState']({'width':_0x2f5ab1['width'],'height':_0x2f5ab1['height']});}[_0x361975(0x444)](_0x4566e9){const _0x529396=_0x361975,{row:_0x391f3c,column:_0x22683f}=_0x4566e9;if(_0x391f3c>=this[_0x529396(0x521)]['startRow']&&_0x391f3c<=this[_0x529396(0x521)][_0x529396(0x5b3)]&&_0x22683f>=this[_0x529396(0x521)][_0x529396(0x4ab)]&&_0x22683f<=this[_0x529396(0x521)][_0x529396(0x46d)]){this[_0x529396(0x3d5)]({'hovered':!0x0});return;}this[_0x529396(0x3d5)]({'hovered':!0x1});}[_0x361975(0x3fc)](_0x1fd4df){return!0x1;}['_draw'](_0x363167){const _0x1dd2b2=_0x361975;Y['Rect'][_0x1dd2b2(0x65a)](_0x363167,{'width':this['width'],'height':this['height'],'strokeWidth':Pr,'stroke':this[_0x1dd2b2(0x532)],'evented':!0x1,'fill':this[_0x1dd2b2(0x20d)]}),this[_0x1dd2b2(0x46b)]&&(_0x363167[_0x1dd2b2(0x4c3)](),_0x363167['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x1dd2b2(0x58b)?0x0:-xe),ct[_0x1dd2b2(0x65a)](_0x363167,{'text':this['_name'],'color':this[_0x1dd2b2(0x532)]}),_0x363167['restore']());}}var wr=Object['defineProperty'],Ur=Object[_0x361975(0x3bb)],Mr=(_0x1d80d1,_0x346a82,_0x8d48c4,_0x8c0d68)=>{const _0x236161=_0x361975;for(var _0x2d9648=_0x8c0d68>0x1?void 0x0:_0x8c0d68?Ur(_0x346a82,_0x8d48c4):_0x346a82,_0x1b72a5=_0x1d80d1[_0x236161(0x31c)]-0x1,_0x9ba1ab;_0x1b72a5>=0x0;_0x1b72a5--)(_0x9ba1ab=_0x1d80d1[_0x1b72a5])&&(_0x2d9648=(_0x8c0d68?_0x9ba1ab(_0x346a82,_0x8d48c4,_0x2d9648):_0x9ba1ab(_0x2d9648))||_0x2d9648);return _0x8c0d68&&_0x2d9648&&wr(_0x346a82,_0x8d48c4,_0x2d9648),_0x2d9648;},mt=(_0x1fce3b,_0x478b8a)=>(_0x1367cf,_0x87a6cd)=>_0x478b8a(_0x1367cf,_0x87a6cd,_0x1fce3b);const Nr=0x1389;let Ot=class extends a[_0x361975(0x353)]{constructor(_0x575dd5,_0x542044,_0x3cd90e,_0x5ecde9){const _0x220cfa=_0x361975;super(),I(this,_0x220cfa(0x643),new Set()),I(this,'_lastPointer',null),(this[_0x220cfa(0x46a)]=_0x575dd5,this['_sheetSkeletonManagerService']=_0x542044,this[_0x220cfa(0x4a9)]=_0x3cd90e,this['_themeService']=_0x5ecde9,this['_init']());}[_0x361975(0x272)](){const _0x55998e=_0x361975;this[_0x55998e(0x4d4)][_0x55998e(0x2c8)][_0x55998e(0x256)](V[_0x55998e(0x23d)](this[_0x55998e(0x3cd)]),V[_0x55998e(0x397)](_0x2f1069=>{const _0x12432b=_0x55998e;if(_0x2f1069){const _0x3ad090=_0x2f1069['sheetId'];return N[_0x12432b(0x20b)](this[_0x12432b(0x4a9)][_0x12432b(0x63b)](this[_0x12432b(0x46a)][_0x12432b(0x693)]),this[_0x12432b(0x3be)][_0x12432b(0x3b0)])[_0x12432b(0x256)](V[_0x12432b(0x4ec)](([_0x3c56f2,_0x2dc462])=>{const _0x5f02ab=_0x12432b,_0x336003=new Map();return _0x3c56f2[_0x5f02ab(0x3d7)]((_0x4ef4d2,_0x45b852)=>{const _0x2c0121=_0x5f02ab;if(_0x4ef4d2[_0x2c0121(0x64f)]===_0x3ad090){const _0xf34c83={..._0x4ef4d2};_0xf34c83[_0x2c0121(0x37e)]=_0x2dc462[_0x4ef4d2[_0x2c0121(0x37e)]],_0x336003[_0x2c0121(0x69a)](_0x45b852,_0xf34c83);}}),{'skeleton':_0x2f1069,'cursors':_0x336003};}));}return N['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x196223,cursors:_0x2b9df4})=>{const _0x819f73=_0x55998e;this['_removeCollabCursors'](),_0x196223&&this[_0x819f73(0x36e)](_0x196223,_0x2b9df4);}),this[_0x55998e(0x4d4)][_0x55998e(0x2c8)][_0x55998e(0x2d2)](_0x3d4eef=>{const _0x5aef36=_0x55998e;if(_0x3d4eef==null)return;const {skeleton:_0x3e6d00}=_0x3d4eef,{scene:_0xbf1c48}=this[_0x5aef36(0x46a)];_0xbf1c48[_0x5aef36(0x2b5)]['subscribeEvent'](a[_0x5aef36(0x355)](_0x52b409=>{const _0x10de1e=_0x5aef36;var _0x1c036a,_0x2f1cb3;const {offsetX:_0x2c7728,offsetY:_0x3cfc13}=_0x52b409,{x:_0x5637e1,y:_0x469931}=_0xbf1c48['getRelativeToViewportCoord'](Y[_0x10de1e(0x438)][_0x10de1e(0x573)]([_0x2c7728,_0x3cfc13])),{scaleX:_0x5f40d8,scaleY:_0x294818}=_0xbf1c48[_0x10de1e(0x65f)](),_0x375e67=_0xbf1c48[_0x10de1e(0x430)](Y[_0x10de1e(0x5c0)][_0x10de1e(0x352)]),_0x5a80e0=_0xbf1c48[_0x10de1e(0x5de)](Y['Vector2'][_0x10de1e(0x573)]([_0x5637e1,_0x469931]),_0x375e67),_0x206c32=_0x3e6d00[_0x10de1e(0x4fc)](_0x2c7728,_0x3cfc13,_0x5f40d8,_0x294818,_0x5a80e0);((_0x1c036a=this[_0x10de1e(0x25b)])==null?void 0x0:_0x1c036a['column'])===_0x206c32['column']&&((_0x2f1cb3=this[_0x10de1e(0x25b)])==null?void 0x0:_0x2f1cb3['row'])===_0x206c32[_0x10de1e(0x4e4)]||this[_0x10de1e(0x643)][_0x10de1e(0x3d7)](_0xf60dad=>{const _0x159a66=_0x10de1e;_0xf60dad[_0x159a66(0x444)](_0x206c32);});},0x64));});}['_updateCollabCursors'](_0x94d6e2,_0x461616){const _0x2c4bb9=_0x361975;var _0x380f07;const _0x9d3d1b=(_0x380f07=this[_0x2c4bb9(0x4d4)][_0x2c4bb9(0x61d)]())==null?void 0x0:_0x380f07[_0x2c4bb9(0x619)];if(!_0x9d3d1b)return;const _0xa6415d=this[_0x2c4bb9(0x37d)]();if(!_0xa6415d)return;this['_cursors']['forEach'](_0x3d5cee=>{const _0x553799=_0x2c4bb9;_0x3d5cee[_0x553799(0x60c)]();});const {scene:_0x40dd90}=_0xa6415d,_0x1d9fd8=Ar(Array[_0x2c4bb9(0x4fb)](_0x461616[_0x2c4bb9(0x3a7)]()))[_0x2c4bb9(0x4ec)](_0xb529a7=>{const _0x5ad188=_0x2c4bb9,{color:_0x125865,range:_0x52d7f4,name:_0x1bddb6,selection:_0x374b9a,sheetID:_0x9f5e15}=_0xb529a7,{startColumn:_0x988544,startRow:_0x1f5ee5,endColumn:_0x27ea9d,endRow:_0x2844e1}=_0x52d7f4,_0x383839=Le['getCoordByCell'](_0x1f5ee5,_0x988544,_0x40dd90,_0x9d3d1b),_0x2aa249=Le[_0x5ad188(0x494)](_0x2844e1,_0x27ea9d,_0x40dd90,_0x9d3d1b),{columnHeaderHeightAndMarginTop:_0x12c73d}=_0x9d3d1b,{startX:_0x1bd96c,startY:_0x1ee485}=_0x383839,{endX:_0x32a50b,endY:_0x4be2e6}=_0x2aa249,_0x3bc18c=_0x32a50b-_0x1bd96c,_0x2653e8=_0x4be2e6-_0x1ee485,_0xb04a6e={'labelPosition':_0x1ee485-_0x12c73d>=xe?'top':_0x5ad188(0x58b),'sheetID':_0x9f5e15,'range':_0x52d7f4,'color':_0x125865,'name':_0x1bddb6,'selection':_0x374b9a,'left':_0x1bd96c,'top':_0x1ee485,'width':_0x3bc18c,'height':_0x2653e8,'evented':!0x1,'zIndex':Nr};return new Mi(_0x1bddb6,_0xb04a6e);});_0x40dd90[_0x2c4bb9(0x340)](_0x1d9fd8,Dr),this[_0x2c4bb9(0x643)]=new Set(_0x1d9fd8);}[_0x361975(0x407)](){const _0xd96315=_0x361975;var _0x4f981a;(_0x4f981a=this['_cursors'])==null||_0x4f981a['forEach'](_0x5b6af2=>_0x5b6af2[_0xd96315(0x2a2)]());}[_0x361975(0x37d)](){const _0x2ccd7f=_0x361975;return Le[_0x2ccd7f(0x30b)](this[_0x2ccd7f(0x46a)][_0x2ccd7f(0x4ef)],this[_0x2ccd7f(0x46a)]);}};Ot=Mr([mt(0x1,a[_0x361975(0x4b5)](Le[_0x361975(0x4b2)])),mt(0x2,a[_0x361975(0x4b5)](ye)),mt(0x3,a[_0x361975(0x4b5)](a[_0x361975(0x46e)]))],Ot);function Ar(_0x1227f0){const _0xb7a0f4=_0x361975,_0x450cdf=new Map();return _0x1227f0['forEach'](_0x54e57f=>{const _0x3b8ff0=_0x3094;if(_0x450cdf[_0x3b8ff0(0x638)](_0x54e57f[_0x3b8ff0(0x311)])){const _0x49b546=_0x450cdf[_0x3b8ff0(0x5e3)](_0x54e57f[_0x3b8ff0(0x311)]);_0x49b546['name']+=',\x20'+_0x54e57f[_0x3b8ff0(0x5a6)];}else _0x450cdf[_0x3b8ff0(0x69a)](_0x54e57f[_0x3b8ff0(0x311)],_0x54e57f);}),Array['from'](_0x450cdf[_0xb7a0f4(0x3a7)]());}var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0xf61666){const _0x39e3cf=_0x361975;return _0xf61666&&_0xf61666[_0x39e3cf(0x47a)]&&Object[_0x39e3cf(0x6ab)]['hasOwnProperty']['call'](_0xf61666,_0x39e3cf(0x5a1))?_0xf61666[_0x39e3cf(0x5a1)]:_0xf61666;}var It={'exports':{}},Ue={},Xt;function Lr(){const _0x3a3948=_0x361975;if(Xt)return Ue;Xt=0x1;var _0xe66239=oe,_0x41dfcd=Symbol[_0x3a3948(0x644)](_0x3a3948(0x53a)),_0x1ebd92=Symbol['for'](_0x3a3948(0x5bc)),_0x39bd82=Object['prototype'][_0x3a3948(0x51f)],_0x335459=_0xe66239[_0x3a3948(0x2bd)][_0x3a3948(0x33f)],_0x433a46={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x164eb3(_0x4917fe,_0x81cb15,_0x52e841){const _0x597d1b=_0x3a3948;var _0x172811,_0x2d3b3e={},_0x4f4b2c=null,_0x456219=null;_0x52e841!==void 0x0&&(_0x4f4b2c=''+_0x52e841),_0x81cb15[_0x597d1b(0x25d)]!==void 0x0&&(_0x4f4b2c=''+_0x81cb15[_0x597d1b(0x25d)]),_0x81cb15[_0x597d1b(0x398)]!==void 0x0&&(_0x456219=_0x81cb15[_0x597d1b(0x398)]);for(_0x172811 in _0x81cb15)_0x39bd82[_0x597d1b(0x489)](_0x81cb15,_0x172811)&&!_0x433a46[_0x597d1b(0x51f)](_0x172811)&&(_0x2d3b3e[_0x172811]=_0x81cb15[_0x172811]);if(_0x4917fe&&_0x4917fe[_0x597d1b(0x4f3)]){for(_0x172811 in(_0x81cb15=_0x4917fe['defaultProps'],_0x81cb15))_0x2d3b3e[_0x172811]===void 0x0&&(_0x2d3b3e[_0x172811]=_0x81cb15[_0x172811]);}return{'$$typeof':_0x41dfcd,'type':_0x4917fe,'key':_0x4f4b2c,'ref':_0x456219,'props':_0x2d3b3e,'_owner':_0x335459[_0x597d1b(0x639)]};}return Ue['Fragment']=_0x1ebd92,Ue[_0x3a3948(0x316)]=_0x164eb3,Ue[_0x3a3948(0x3e2)]=_0x164eb3,Ue;}var Jt;function xr(){const _0x2b440d=_0x361975;return Jt||(Jt=0x1,It[_0x2b440d(0x4dd)]=Lr()),It['exports'];}var me=xr(),Q=function(){const _0x2c6121=_0x361975;return Q=Object[_0x2c6121(0x5cc)]||function(_0xa7523f){const _0x5edbc5=_0x2c6121;for(var _0x3c9112,_0x162ba3=0x1,_0x1edb3d=arguments[_0x5edbc5(0x31c)];_0x162ba3<_0x1edb3d;_0x162ba3++){_0x3c9112=arguments[_0x162ba3];for(var _0x39f7cc in _0x3c9112)Object[_0x5edbc5(0x6ab)][_0x5edbc5(0x51f)][_0x5edbc5(0x489)](_0x3c9112,_0x39f7cc)&&(_0xa7523f[_0x39f7cc]=_0x3c9112[_0x39f7cc]);}return _0xa7523f;},Q[_0x2c6121(0x2f5)](this,arguments);},$r=function(_0x1282eb,_0x329147){const _0x2fe520=_0x361975;var _0x14f535={};for(var _0x22682d in _0x1282eb)Object[_0x2fe520(0x6ab)][_0x2fe520(0x51f)][_0x2fe520(0x489)](_0x1282eb,_0x22682d)&&_0x329147[_0x2fe520(0x354)](_0x22682d)<0x0&&(_0x14f535[_0x22682d]=_0x1282eb[_0x22682d]);if(_0x1282eb!=null&&typeof Object[_0x2fe520(0x393)]==_0x2fe520(0x455)){for(var _0x4bd4eb=0x0,_0x22682d=Object[_0x2fe520(0x393)](_0x1282eb);_0x4bd4eb<_0x22682d[_0x2fe520(0x31c)];_0x4bd4eb++)_0x329147['indexOf'](_0x22682d[_0x4bd4eb])<0x0&&Object[_0x2fe520(0x6ab)][_0x2fe520(0x54a)][_0x2fe520(0x489)](_0x1282eb,_0x22682d[_0x4bd4eb])&&(_0x14f535[_0x22682d[_0x4bd4eb]]=_0x1282eb[_0x22682d[_0x4bd4eb]]);}return _0x14f535;},At=oe['forwardRef'](function(_0x3a0cfa,_0x38805e){const _0x5ea5e5=_0x361975;var _0x46846f=_0x3a0cfa[_0x5ea5e5(0x61b)],_0x477d7a=_0x3a0cfa['id'],_0x28010a=_0x3a0cfa['className'],_0x25d1f3=_0x3a0cfa[_0x5ea5e5(0x56c)],_0x45e646=$r(_0x3a0cfa,[_0x5ea5e5(0x61b),'id',_0x5ea5e5(0x591),_0x5ea5e5(0x56c)]),_0x2ba776='univerjs-icon\x20univerjs-icon-'[_0x5ea5e5(0x2d4)](_0x477d7a,'\x20')[_0x5ea5e5(0x2d4)](_0x28010a||'')[_0x5ea5e5(0x62e)](),_0x39646f=oe[_0x5ea5e5(0x4e0)]('_'['concat'](Br()));return Ni(_0x46846f,''[_0x5ea5e5(0x2d4)](_0x477d7a),{'defIds':_0x46846f[_0x5ea5e5(0x4e1)],'idSuffix':_0x39646f[_0x5ea5e5(0x639)]},Q({'ref':_0x38805e,'className':_0x2ba776},_0x45e646),_0x25d1f3);});function Ni(_0x440e77,_0x1eb599,_0x3a7a8d,_0x2fdbc4,_0x1fbc87){const _0x540912=_0x361975;return oe['createElement'](_0x440e77[_0x540912(0x3eb)],Q(Q({'key':_0x1eb599},jr(_0x440e77,_0x3a7a8d,_0x1fbc87)),_0x2fdbc4),(Hr(_0x440e77,_0x3a7a8d)['children']||[])['map'](function(_0x100d89,_0x156185){const _0x2c816d=_0x540912;return Ni(_0x100d89,''['concat'](_0x1eb599,'-')[_0x2c816d(0x2d4)](_0x440e77[_0x2c816d(0x3eb)],'-')[_0x2c816d(0x2d4)](_0x156185),_0x3a7a8d,void 0x0,_0x1fbc87);}));}function jr(_0x4499b7,_0x20855a,_0x474fcd){const _0x5176b9=_0x361975;var _0x323c45=Q({},_0x4499b7[_0x5176b9(0x50c)]);_0x474fcd!=null&&_0x474fcd[_0x5176b9(0x56e)]&&_0x323c45[_0x5176b9(0x2bc)]===_0x5176b9(0x56e)&&(_0x323c45['fill']=_0x474fcd[_0x5176b9(0x56e)]);var _0x1c0ed1=_0x20855a[_0x5176b9(0x4e1)];return!_0x1c0ed1||_0x1c0ed1[_0x5176b9(0x31c)]===0x0||(_0x4499b7[_0x5176b9(0x3eb)]===_0x5176b9(0x592)&&_0x323c45['xlink:href']&&(_0x323c45[_0x5176b9(0x289)]=_0x323c45[_0x5176b9(0x289)]+_0x20855a['idSuffix']),Object['entries'](_0x323c45)[_0x5176b9(0x3d7)](function(_0x250aba){const _0x596c96=_0x5176b9;var _0x392b07=_0x250aba[0x0],_0x28fe75=_0x250aba[0x1];typeof _0x28fe75==_0x596c96(0x4ce)&&(_0x323c45[_0x392b07]=_0x28fe75[_0x596c96(0x4fd)](/url\(#(.*)\)/,_0x596c96(0x205)[_0x596c96(0x2d4)](_0x20855a[_0x596c96(0x5cf)],')')));})),_0x323c45;}function _0x4507(){const _0x56adad=['IUniverInstanceService','_initStatusComponent','range','session.collaboration-timeout','_beforeCloseService','TEXT','fetchMissingChangesets','_cursors','for','_resendTimeout','_onRemoteACK','CompressMutationService','APPLY_NON_SEQUENTIAL_REVISION','RefRangeService','exhaustSavingTask','moveTo','slice','compute','/universer-api/authz','sheetID','_decreaseWaiting','SHA1','createDecryptor','debug','onSendChangeset','measureText','ImageSourceType','Warning','sessionStatus$','_docSkeleton','drawWith','OpenSSL','StreamCipher','RETRY_CONNECTING_MAX_COUNT','fromCollab','getAncestorScale','[CollaborationUndoRedoService]','url','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_clearRedo','_refreshCollabCursors','createInstance','blockSize','DocStateChangeManagerService','_getAPIPrefix','HEARTBEAT_TIMEOUT_KEY','concatMap','init','getUndoRedoMutationParamsCache','parseProtocolChangeset','baseRev','c2Prime','224852mpVIKZ','getInterceptPoints','_socketMessageSubscription','loginUrlKey','Decryptor','_getAnchorBounding','WebSocketService','registerHTTPInterceptor','COLLAB_WEB_SOCKET_URL_KEY','list','?url=','socketService','createSocket','IDocClipboardService','unshift','ICommandService','duration','_getUndoStack','downloadEndpointUrl','UNIVER_PROJECT','close','max','replaceState','Utf8','CommandType','_socketService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','open$','addObject','[FetchMissState]','ILogService','_acknowledgedAwaitingChangeset','_transitionLocked','memberID','Univer','unitId','handleInsertCol','927696mUVcTT','conflict.content','_keySchedule','LOCAL_CACHE_INTERVAL_KEY','_entityInit$','set','_createSocket','NOT_FOUND','error$','_initStatusListener','ColorKit','_updateStatus','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_remoteChangesetQueue','_commentService','isTransformMutationFailure','collaboration-client.config','FETCH_MISSING','onMissingChangesets','roomInfos','hovered','_doCryptBlock','prototype','_pendingMutations','getTypeOfUnitAdded$','_uiPartsService','getActiveRange','_append','_syncEditingCollabCursorService','CollaborationController','history','onReady','_handleHover','DocSelectionManagerService','onCommandExecuted','with','FileId','_transformService','newValue','6DQpiXe','ICollaborationSocketService','mutations','IUIPartsService','EffectRefRangId','Malformed\x20UTF-8\x20data','SHOULD_CLOSE_CONN','_registerRenderDependencies','ERROR_EXCEED_SIZE','debounceTime','m1Prime','getCollabEntity$','toLowerCase','onPointerLeave$','Tooltip','APPLY_REJECT','_HTTPService','pad','_onConflict','_session','_toggleOffline','HELLO','_getDownloadEndpointURL','219614EOwzQS','div','saveChangeset','handleInsertRangeMoveRight','url(#$1','updateMember','change$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','AuthzIoHttpService','clone','combineLatest','Rect','_backgroundColor','_transformHistoryAndStateStack','_type','@univerjs/docs','wsSessionTicketUrl','_sheetTransformSelectionsService','SetTextSelectionsOperation','_createHelper','COLLAB_SUBMIT_CHANGESET_URL_KEY','socket$','_onUserJoin','collabStatus.fetchMiss','awaitingChangeset','_render','__creator','requireSession','entries','_sessionStatus$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','searchParams','_executeRemoteChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','send','redoState','univer-online-status','_keyPriorReset','_colorAssignService','handleInsertRow','_throwTelemetryCollaborationNewChangeset','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','off-line-single','_updateLocalCursor','generateRandomId','reduce','_unitID','status$','LEAVE','conflict','IUndoRedoService','_anchor','syncEditingCollabCursor','[CollaborationEntity]','_localStorageService','IImageIoService','transformStateCache','crypto','_disabled','actions','takeUntil','translate(.97)','defineProperty','_prevBlock','_cursorInfo$','_updateLocalCache','CollaborationSession','LICENSE_EXPORT_SIZE_EXCEEDED','CollaborationSessionService','_transformRemoteChangesetByStateCache','defs','commentUpdateEvent','/universer-api/snapshot','Could\x20not\x20dynamically\x20require\x20\x22','/rev/','ITransformService','size','restore','_commentUpdate$','_compressMutationService','_createSocketURL','rev','unsubscribe','DEFAULT_FILE_NAME','CollaborationStatusDisplay','pipe','image/png','/universer-api/oidc/authpage','disposeWithMe','DeleteRangeMoveLeftCommandId','_lastPointer','CHANGESET_ACK','key','CollabrationImageIoService','Hasher','DOC_RANGE_TYPE','Module','handleDeleteRangeMoveLeft','_replaceFileID','then','_urlService','top','_undoStacks','PENDING','getConfig','_nDataBytes','MUTATION','ceil','object','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','NOT_COLLAB','HmacSHA1','put','_init','rgba(255,\x20255,\x20255,\x200.01)','_docTransformStateCacheService','DocSkeletonManagerService','catch','add','ALREADY_EXISTS','encode','_permissionService','enableLocalCache','children','_getCurrentRevision','setShowComponents','hide','fillRule','?size=','withCredentials','connection\x20error','registerComponent','UNKNOWN_CMD','_getMergeRange','findNodePositionByCharIndex','confirm','xlink:href','_updateSubUnitFromURLParams','fetching\x20missing\x20changesets\x20from\x20','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_collaborationController','_clearUndo','take','cmd','_onCursorUpdate','words','synced','initWorkbookPermissionChange','_transformStateCache','collabCursorState$','push','m2Prime','_scheduleSaving','_drawAnchor','width','snapshot','deserializeToCombResponse','complete','execute','format','_docSyncEditingCollabCursorService','dispose','listRoles','deepClone','ReplaySubject','_instanceService','_key','_change$','appendMutation','asObservable','auth.needGotoLoginAlert','SessionStatus','mergeOverrideWithDependencies','UniverNetworkPlugin','ONLINE','SnapshotServerOverHTTPService','connectInjector','arc','BuiltInUIPart','online','onPointerMove$','updatePermissionObjEvent','newCsEvent','[OfflineState]:\x20received\x20acknowledgement.','_docStateChangeManagerService','enableOfflineEditing','repeat','fill','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_entities','_onJoinRoomEvent','_rescheduleHeartbeat','_fetchMissChangesets','_syncEditingCollabCursor','salt','YUUMI_RATE_OVER_LIMIT','conflict.title','authzUrl','_socket$','currentSkeleton$','snapshotServerUrl','getImageSourceCache','RevisionService','_incrementRevisionNumber','NO_OTHER_CLIENTS_EDITING','onlineStatusTitle','IContextService','create','docStateChange$','subscribe','univer-pro.collaboration-client.single-active-unit-service','concat','clearInterval','HEARTBEAT_INTERVAL','IMentionIOService','transformStack\x20failed!','toRgbString','JOIN_ROOM_PERMISSION_DENIED','_transformUndoRedoStack','[OfflineState]:\x20received\x20changeset.','uni.network.url-service','black','_transformPreviousActiveRange','COMPLETION_FINISHED','onRendered','cursorInfo','objectActions','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','_onUserLeave','_scheduleClearOtherTimer','red300','_handleJoinEvent','capture','_event$','body','joinEvent','ISnapshotServerService','Disposable','univer-online-status-icon','reverse','clear','@univerjs/design','_userManagerService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','apply','DependentOn','Base64','mapTo','CONNECTOR_DATA_TOO_LARGE','handleDeleteRangeMoveUp','localeService','Injector','closeSession','getLatestCsReqIdBySid','/object/','RECV','TOO_MANY_REQUESTS','forwardRef','Base','FETCH_MISS','_telemetryInfo','collab-text-anchor-','_getRedoStack','override','sid','_textBubble','getSheetObject','1em','collaboratorID','_unitStatus','randomUUID','INTERNAL_ERROR','selection','_localeService','location','IConfigService','msCrypto','jsx','_setupBeforeClosingHandler','touchDependencies','HEARTBEAT','file','_doFinalize','length','_tryReconnect','_parse','engine','storage','M0\x200H16V16H0z','_transformStack','/universer-api/comb','PERSON','[UniverCollaborationClientPlugin]','[CollaborationState]:\x20apply\x20error!','UNIVER_SHEET','charCodeAt','urlChange$','setParam','_configService','/resources','_hash','UniverIcon','rng','_minBufferSize','code','unitID','HEARTBEAT_TIMEOUT','_scheduleHeartbeat','delete','createCollaborator','LocalUndoRedoService','EmptyMutation','_stopTelemetryCollaborationNewChangeset','src','textRanges','updateOfflineData','method','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ReactCurrentOwner','addObjects','/unit/','UNIVER_UNKNOWN','_queuedRemoteChangesets','Tools','parse','editingUnit','fillStyle','getMember','ENSURE_SNAPSHOT_EXECUTION','unpad','_collabCursorState$','iterations','onlineStatusIcon','LocaleService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','HttpExport','_snapshotServerService','VIEW_MAIN','RxDisposable','indexOf','debounce','JOIN_ROOM_NOT_EXISTS','sessionTicket','leaveEvent','socket\x20open.','MD5','getRangePointData','mode','whenReady','collaboration.closeRoom','isEditing','handleIRemoveRow','WorkbookEditablePermission','batchAllowed','sessionStatus','_docSkeletonManagerService','_getCtorByUniverType','CHANGESET_REJ','LICENSE_DISTRO_REJECTED','_awaitingChangeset','_scene','_onConnectionOpen','x-univer-host','_loadDoc','NodePositionConvertToRectRange','_updateCollabCursors','_getSignURL','origin','isTransformMutationsWithChangesetSuccess','0\x200\x2016\x2016','APPLY_REVISION_CONFILICT','getStateCache','getItem','_document','getImage','@univerjs/docs-ui','MentionType','CollaborationStatus','InsertRangeMoveDownCommandId','MergeInterceptorFactory','_getSheetObject','color','post','displayName','_hideTimer','_onMessage','Hex','error','Shape','createIdentifier','SetWorksheetActivateCommand','fromEvent','\x20to\x20','algo','min','...','title','infoRsp','activeSheet$','_getUploadFileURL','COMPRESS_MUTATION_APPLY','BehaviorSubject','getOwnPropertySymbols','_retryCount','eventID','url(#on-line-single_clip0_910_349)','switchMap','ref','roles','UniverCollaborationClientPlugin','fromEventSubject','_colorIndex','purple300','_commandService','refreshPermission','374339jfcgjV','setItem','LICENSE_MAX_UNITS_EXCEEDED','JSONX','responseType','image/jpeg','_notificationService','values','_iKey','WebURLService','CollaborationEvent','_changesetReqId','blue400','_getSaveTimeout','useObservable','action','currentTheme$','font','LOCAL_CACHE_INTERVAL','0\x200\x2017\x2016','interceptor','symbol','_createHandler','deleteCollaborator','_revisionService','_clearOtherTimers','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','getOwnPropertyDescriptor','ivSize','_collaborationPaused','_themeService','addEventListener','useDependency','WordArray','objectID','getSkeleton','objectType','_listenToOnlineEvent','unitId\x20is\x20not\x20found','[CollaborationSessionService]:\x20socket\x20error','\x0aCurrent:\x20','SUCCUSS','@univerjs/engine-render','socket\x20close','PERMISSION_DENIED','dispose$','roomMembers$','_timeoutTimer','session.room-full','CHANGESET_REVISION_CONFILICT','pushState','abs','incrementRevOfUnit','setShapeProps','assignAColorForMemberID','forEach','none','shareReplay','_substituteUndoStack','routeKey','/universer-api/file/{fileID}/sign-url','flatMap','_state','session','InsertSheetMutation','Subject','jsxs','fetch_missing','LIVESHARE_NEW_HOST','putCollaborators','287825xzFehT','/object','resourceIDs','HEADER_MENU','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','tag','getMergeData','NEW_CHANGESETS','JOIN_ROOM_FULL','update','HMAC','clamp','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_doProcessBlock','_draw','CHANGESET_SHOULD_RETRY','cfg','getTime','_startDocCollabCursor','onRemoteAck','serializeRangeWithSheet','onCommentUpdate','triggerDblclick','_onRemoteRetry','_resendTimer','fillText','getUnitStatus$','equals','_applyRemoteChangeset','hasher','session.join-failed','data','includes','_removeCollabCursors','ACTIVE_UNIT_EVENT_CHANNEL','SNAPSHOT_URL_KEY','_listenToOfflineEvent','_createInitialState','_heartbeatTimer','AUTHZ_URL_KEY','onTransformChange$','isTransformMutationsWithChangesetFailure','state','CONFLICT','Rectangle','collaborators','_oKey','@univerjs/network','resize','onMissedChangesetFetched','SheetCollaborationEntity','_clearCollaborationTimeoutTimer','_removeClearOtherTimer','CollaborationEntity','_hasher','_initResize','subscribeEvent','MentionIoHttpService','PSEUDO_FETCH_MISSING_RESULT','_http','UNIVER_SLIDE','NodePositionConvertToCursor','registerBeforeClose','/new_changes','Latin1','svg','MoveRangeCommandId','setUndoRedoMutationParamsCache','Cipher','getFocusedUnit','MessageType','getCollabEntity','YUUMI_URL_COL_OUT_OF_RANGE','gold400','getViewport','Plugin','toStringTag','_socket','text','originalMeta','LocalCacheService','encrypt','Vector2','_updateURLWithCurrentState','copyFileMeta','_refRangeService','setCurrentUser','ImageUploadStatusType','substring','transformSelections','byteOffset','mapDocumentTypeToUniverType','_logService','_telemetryService','onMouseMove','contains','resolve','executeCommand','csShouldRetryEvent','_candidateSocket','toggleOffline','shouldCloseConn','SNAPSHOT_SERVER_URL_KEY','getRandomValues','univer-online-status-title','Error','IDLE','CollaborationSocketService','SYNCED','saveImage','resend','function','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_sendHeartbeatTimer','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','/role','_changesetSessionId','_submitChangeset','keySize','_schedule','_retryConnectingTimer','kdf','enableSingleActiveInstanceLock','BufferedBlockAlgorithm','_onOffline','COLORS','/block/','_initEventListeners','_shapes','IRenderManagerService','_createHmacHelper','_context','_hovered','sendChangesetTimeout','endColumn','ThemeService','onStarting','join','CBC','_getScale','collabStatus.conflict','YUUMI_SUBSCRIPTION_NOT_FOUND','GLOBAL_ROOMS_CNT_EXCEEDS','@univerjs/rpc','message$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getOffsetConfig','__esModule','getSheetBlock','RECT','_clearScheduledTask','UNRECOGNIZED','allowed','addImageSourceCache','UniverInstanceType','COMPRESS_MUTATION_SEND','$super','setActiveRange','popstate','MemberService','_initMergeInterceptor','_roomMembers$','call','visibilityState','/fetchmissing?from=','_onRemoteRejected','reconnect','round','OFFLINE','byteLength','_univerInstanceService','HTTPRequest','collaboration-session-retry','getCoordByCell','_onFetchMissResult','ranges','revision','_ensureSubject','getParam','_waitCount','getSheetBySheetId','LIVESHARE_FETCH_OPERATIONS','fromCharCode','collaboration.single-unit.warning','bind','IMessageService','@univerjs/sheets-ui','_saveCache','onlineStatus','APPLY_PERMISSION_DENIED','LIVESHARE_OPERATION','_getSendChangesetTimeout','MSG_FOR_ERROR','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_collabCursorController','startsWith','startColumn','_localCacheService','BlockCipher','c1Prime','Pkcs7','on-line-single','jiqing500','SheetSkeletonManagerService','_scheduleCollaborationTimeoutTimer','AES','Inject','_loadSheet','DocCollaborationEntity','loadOfflineData','_messageService','__Key__','_handleEvent','_send','_isPermissionRej','beginPath','fetchMiss','b64DecodeUnicode','@univerjs/drawing','HTTPService','save','doc.mutation.rich-text-editing','_docClipboardService','_substituteRedoStack','toggleOnline','setConfig','_transformUndoredo','INVALID_ARGUMENT','sin','transformUndoRedo','_handler','string','transformRemoteChangeset','#fff','_getAPIPrefixPath','collab-text-range-','collabStatus.synced','_sheetSkeletonManagerService','262169detBjc','sigBytes','UNAUTHENTICATED','show','_singleActiveUnitService','enc','onTransformRemoteChangesetByIMECache','_data','exports','_doReset','getAllMembers','useRef','defIds','collab-rect-range-','buffer','row','_collaborationSessionService','InsertRowCommandId','HttpImport','DesktopCollaborationStatusDisplayController','UnitSnapshot','userID','_onConnectionFailed','map','APPLY_DUPLICATED','_disableEditing','unit','filter','toDisposable','distinctUntilChanged','defaultProps','liveShareNewHost','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','off-line-single_clip0_910_343','onSyncEditingCollabCursor','roomMembers','JOINING','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','from','getCellPositionByOffset','replace','SEND_CHANGESET_TIMEOUT_KEY','createEncryptor','&to=','_createInitialStateImpl','react','json','finalize','onlyLocal','lib','OffLineSingle','rxjs/operators','params','[PendingState]:\x20received\x20rejection.','_status$','attrs','[CollaborationSession]','PERMISSION_REJ','[DataLoaderController]','getDocRanges','InsertRangeMoveRightCommandId','_toggleOnline','_resendWithTimeout','next','undoState','transformMutation','@univerjs/ui','[CollaborationSessionService]','_cachedData','mixIn','_setupSubUnitSync','_clearHeartbeatTimer','_cursor','_scheduleTimestamp','hasOwnProperty','transformIMECache','_range','_roomMembers','_eventUnsubscribe','find','delay','members','_memberService','_id','objects','{fileID}','subunit','listCollaborators','_xformMode','event$','@univerjs/engine-formula','onTransformRemoteChangesetByStateCache','_clearLocalCache','_color','_transformIMECache','SheetsSelectionsService','POST','loadDoc','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','DataLoaderController','COMMENT_UPDATE','react.element','_httpService','_docTransformIMECacheService','setStateCache','reqId','IPermissionService','startTime','_drawRectRange','_initDependencies','SheetPermissionInitController','univer-offline','_state$','registerRefRange','_onRecvEvent','_assignedColors','_updateState','propertyIsEnumerable','UPDATE_PERMISSION_OBJ','ERROR_IMAGE','failed\x20to\x20apply\x20missed\x20changesets!','\x20in\x20_schedule.','getSheetId','session.room-cnt-exceeds','splice','_cipher','_drawTextRange','_onLocalMutation','saveOfflineData','_joinRoom','_waitForHeartbeatResponse','_unlockTransition','clipPath','setWaitCount','_onRemoteChangeset','every','setInterval','awaiting','INGEST','onTransformState','Encryptor','state$','image/jpg','selections','runRefRangeMutations','_selfUnitIDs','_getLoginPath','DocIMEInputManagerService','JOIN','offline','_ENC_XFORM_MODE','extend','_startTelemetryCollaborationNewChangeset','colorChannel1','_nRounds','serializeCombRequest','LICENSE_IMPORT_SIZE_EXCEEDED','pluginName','FromArray','AWAITING','[PendingState]:\x20received\x20acknowledgement.','permissionRejEvent','_imageSourceCache','FAIL','getRenderById','univer-pro.collaboration-client-socket-service','UNKNOWN_CODE','Unknown\x20user','/universer-api/snapshot/','_config','_DEC_XFORM_MODE','Optional','LIVESHARE_TERMINATE','random','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','LOGIN_URL_KEY','type','_registerDependencies','_name','onRemoteRej','encodeURIComponent','path','bottom','RegularPolygon','onPointerEnter$','backgroundColor','status','&source=','className','use','_tryEnsureSocket','_renderManagerService','_hover','_transformRemoteChangesetByIMECache','csRejEvent','submit\x20changeset\x20error!','reset','setAlpha','EvpKDF','image/gif','requestParams','setTimeout','getTypeOfUnitDisposed$','lineTo','default','onRemoteChangeset','_undoRedoService','SerializableCipher','ERROR_IMAGE_TYPE','name','_shouldReportTelemetry','UPDATE_CURSOR','stringify','DeleteRangeMoveUpCommandId','SnapshotService','getWorkbookSelections','getSnapshotAPIPath','IAuthzIoService','_sendingTimer','ITelemetryService','sheets','removeParam','endRow','sequenceExecute','3644730LyiniL','DisposableCollection','disposeUnit','getCurrentUser','padding','updatePermissionPoint','LIVESHARE_REQUEST_HOST','react.fragment','signUrlServerUrl','RichTextEditingMutation','saveSheetBlock','SHEET_VIEWPORT_KEY','_collaborationTimeoutTimer','floor','save\x20fail\x20reason\x20is\x20','getActiveSheet','application/json','/allowed','CommentService','/collaborator','visibilitychange','_exhaustRemoteChangesetQueue','transformChangesets','assign','USERS_LEAVE','_unitOnClients','idSuffix','randomBytes','NoPadding','isArray','BASE64','removeMember','_anchorDot','onTransformIME','OnLineSingle','_initCloseConn','SetSelectionsOperation','pending','getUnitId','onTransformSelections','merge','getVpScrollXYInfoByPosToVp','SetDocZoomRatioOperation','_collabSessionService','YUUMI_UNABLE_LOAD_URL','fetchThroughInterceptors','get','_labelPosition','_sessions','_initUnitPermissionChange','_docTransformSelectionsService','_members','target','_clearTimeoutTimer','handleMoveRange','IURLService','UNDEFINED','joinRsp','collab-client.tooltip.reconnect','_reverseMap','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_injector','saveSnapshot','reject','UNIVER_DOC','_sender','deserializeRangeWithSheet','_mode','href','subUnitId','_map','changesets','IBeforeCloseService','getUnitType','[SyncedState]:\x20received\x20rejection.','transformMutationsWithChangeset','_iv','isInternalEditorID','now','isPermissionRej','unknown','subject','decrypt','_replayCachedMutations','_socketReady','_sendHeartbeat','cursorInfo$','makeDirty','processBlock','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_snapshotService','stopTime','onRemoteRetry','session.will-retry','_initRequestHeader','_process','getCurrentRevOfUnit','#FFF','getColor','UnitEmbedded','skeleton','3vVgnhm','icon','getMemberID','getCurrent','_cursorShapes','commentUpdate$','toString','TEXT_RANGE_LAYER_INDEX','[SyncedState]:\x20received\x20acknowledgement.','_onCursorDelete','ciphertext','OTHER_CLIENTS_EDITING','_startSheetCollabCursor','clearTimeout','_checkMissing','Undefined','_online','_redoStacks','evenodd','getValue','trim','/-/object/-/batch_allowed','_lockTransition','collabStatus.syncing','_saveTaskMap','_removeRoom','registerOnClose','session.connection-failed','collabStatus.notCollab','USERS_ENTER','has','current','SUBMIT_CHANGESET','getCollabCursors$'];_0x4507=function(){return _0x56adad;};return _0x4507();}function Hr(_0x3bca50,_0x456ac4){const _0x263797=_0x361975;var _0x29bd2c,_0x4c6a5f=_0x456ac4[_0x263797(0x4e1)];return!_0x4c6a5f||_0x4c6a5f['length']===0x0?_0x3bca50:_0x3bca50[_0x263797(0x3eb)]===_0x263797(0x247)&&(!((_0x29bd2c=_0x3bca50[_0x263797(0x27c)])===null||_0x29bd2c===void 0x0)&&_0x29bd2c[_0x263797(0x31c)])?Q(Q({},_0x3bca50),{'children':_0x3bca50[_0x263797(0x27c)][_0x263797(0x4ec)](function(_0x3f72e7){const _0xb9b320=_0x263797;return typeof _0x3f72e7['attrs']['id']==_0xb9b320(0x4ce)&&_0x4c6a5f&&_0x4c6a5f['indexOf'](_0x3f72e7[_0xb9b320(0x50c)]['id'])>-0x1?Q(Q({},_0x3f72e7),{'attrs':Q(Q({},_0x3f72e7[_0xb9b320(0x50c)]),{'id':_0x3f72e7[_0xb9b320(0x50c)]['id']+_0x456ac4[_0xb9b320(0x5cf)]})}):_0x3f72e7;})}):_0x3bca50;}function Br(){const _0x2c0ecd=_0x361975;return Math['random']()[_0x2c0ecd(0x620)](0x24)[_0x2c0ecd(0x43e)](0x2,0x8);}At[_0x361975(0x380)]=_0x361975(0x32e);var kr={'tag':_0x361975(0x427),'attrs':{'fill':_0x361975(0x3d8),'viewBox':_0x361975(0x372),'width':_0x361975(0x30c),'height':_0x361975(0x30c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x361975(0x58a),'attrs':{'stroke':'currentColor','d':_0x361975(0x3ea),'strokeLinecap':_0x361975(0x48e),'strokeLinejoin':_0x361975(0x48e),'strokeWidth':1.2}}]},{'tag':_0x361975(0x247),'attrs':{},'children':[{'tag':_0x361975(0x559),'attrs':{'id':_0x361975(0x4f6)},'children':[{'tag':_0x361975(0x58a),'attrs':{'fill':_0x361975(0x4d0),'d':_0x361975(0x321)}}]}]}],'defIds':[_0x361975(0x4f6)]},Ai=oe[_0x361975(0x302)](function(_0x4de50d,_0x356fc4){const _0x1fe58d=_0x361975;return oe['createElement'](At,Object[_0x1fe58d(0x5cc)]({},_0x4de50d,{'id':_0x1fe58d(0x22b),'ref':_0x356fc4,'icon':kr}));});Ai[_0x361975(0x380)]=_0x361975(0x507);var Wr={'tag':_0x361975(0x427),'attrs':{'fill':'none','viewBox':_0x361975(0x3b3),'width':_0x361975(0x30c),'height':_0x361975(0x30c)},'children':[{'tag':'g','attrs':{'clipPath':_0x361975(0x396)},'children':[{'tag':_0x361975(0x58a),'attrs':{'stroke':'currentColor','d':_0x361975(0x3ba),'strokeLinecap':_0x361975(0x48e),'strokeLinejoin':_0x361975(0x48e),'strokeWidth':1.2}}]},{'tag':_0x361975(0x247),'attrs':{},'children':[{'tag':_0x361975(0x559),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x361975(0x4d0),'d':_0x361975(0x321),'transform':_0x361975(0x23e)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Li=oe['forwardRef'](function(_0x2be4ba,_0x5f5812){const _0x2ee170=_0x361975;return oe['createElement'](At,Object[_0x2ee170(0x5cc)]({},_0x2be4ba,{'id':_0x2ee170(0x4b0),'ref':_0x5f5812,'icon':Wr}));});Li[_0x361975(0x380)]=_0x361975(0x5d7);function xi(_0x44235b){const _0x249ebd=_0x361975;var _0x16d6fc,_0x365500,_0xbcb8d3='';if(typeof _0x44235b=='string'||typeof _0x44235b=='number')_0xbcb8d3+=_0x44235b;else{if(typeof _0x44235b==_0x249ebd(0x26d)){if(Array[_0x249ebd(0x5d2)](_0x44235b)){var _0x284507=_0x44235b['length'];for(_0x16d6fc=0x0;_0x16d6fc<_0x284507;_0x16d6fc++)_0x44235b[_0x16d6fc]&&(_0x365500=xi(_0x44235b[_0x16d6fc]))&&(_0xbcb8d3&&(_0xbcb8d3+='\x20'),_0xbcb8d3+=_0x365500);}else{for(_0x365500 in _0x44235b)_0x44235b[_0x365500]&&(_0xbcb8d3&&(_0xbcb8d3+='\x20'),_0xbcb8d3+=_0x365500);}}}return _0xbcb8d3;}function Fr(){for(var _0x471cd6,_0x3d63e0,_0xb085ca=0x0,_0x1e6461='',_0x10d391=arguments['length'];_0xb085ca<_0x10d391;_0xb085ca++)(_0x471cd6=arguments[_0xb085ca])&&(_0x3d63e0=xi(_0x471cd6))&&(_0x1e6461&&(_0x1e6461+='\x20'),_0x1e6461+=_0x3d63e0);return _0x1e6461;}const Vr=_0x361975(0x2ef),Gr=_0x361975(0x44e),Yr=_0x361975(0x225),qr='univer-online',Kr=_0x361975(0x544),Me={'onlineStatusIcon':Vr,'onlineStatusTitle':Gr,'onlineStatus':Yr,'online':qr,'offline':Kr};function zr(_0x2839b6){const _0x3435c0=_0x361975;switch(_0x2839b6){case K['OFFLINE']:return'collabStatus.offline';case K['CONFLICT']:return _0x3435c0(0x473);case K['FETCH_MISS']:return _0x3435c0(0x218);case K[_0x3435c0(0x26f)]:return _0x3435c0(0x636);case K[_0x3435c0(0x574)]:case K['AWAITING_WITH_PENDING']:return _0x3435c0(0x631);case K[_0x3435c0(0x452)]:case K[_0x3435c0(0x268)]:return _0x3435c0(0x4d3);}}function $i(_0x570431){const _0x924e93=_0x361975,{status$:_0x4ca739}=_0x570431,_0x2e6f53=ee[_0x924e93(0x3ae)](_0x4ca739,K[_0x924e93(0x26f)]),_0x5d63b8=a['useDependency'](a[_0x924e93(0x34e)]),_0x55882f=a[_0x924e93(0x3c0)](exports[_0x924e93(0x245)]),_0xa325b9=_0x2e6f53!==K[_0x924e93(0x48f)],_0x2cb688=_0x5d63b8['t'](zr(_0x2e6f53)),_0x4b79de=Fr(Me[_0x924e93(0x4a3)],{[Me[_0x924e93(0x2b4)]]:_0xa325b9,[Me[_0x924e93(0x56a)]]:!_0xa325b9}),_0x2ea10=_0xa325b9?me[_0x924e93(0x316)](Li,{}):me[_0x924e93(0x316)](Ai,{}),_0x2bceab=oe['useCallback'](()=>{const _0x5b2002=_0x924e93;_0xa325b9||_0x55882f[_0x5b2002(0x48d)]();},[_0xa325b9,_0x55882f]);function _0x54e95c(){const _0x284255=_0x924e93;return me[_0x284255(0x3e2)](_0x284255(0x202),{'className':_0x4b79de,'onClick':_0x2bceab,'children':[me[_0x284255(0x316)](_0x284255(0x202),{'className':Me[_0x284255(0x34d)],'children':_0x2ea10}),me[_0x284255(0x316)](_0x284255(0x202),{'className':Me[_0x284255(0x2ce)],'children':_0x2cb688})]});}return _0xa325b9?_0x54e95c():me[_0x924e93(0x316)](Ce[_0x924e93(0x1f8)],{'title':_0x5d63b8['t'](_0x924e93(0x5ef)),'children':_0x54e95c()});}var Xr=Object[_0x361975(0x23f)],Jr=Object[_0x361975(0x3bb)],Zr=(_0x540c50,_0x1f31aa,_0x1d6e63,_0x3e0fa2)=>{const _0x42e992=_0x361975;for(var _0xf9f917=_0x3e0fa2>0x1?void 0x0:_0x3e0fa2?Jr(_0x1f31aa,_0x1d6e63):_0x1f31aa,_0x5bcb83=_0x540c50[_0x42e992(0x31c)]-0x1,_0x5203d7;_0x5bcb83>=0x0;_0x5bcb83--)(_0x5203d7=_0x540c50[_0x5bcb83])&&(_0xf9f917=(_0x3e0fa2?_0x5203d7(_0x1f31aa,_0x1d6e63,_0xf9f917):_0x5203d7(_0xf9f917))||_0xf9f917);return _0x3e0fa2&&_0xf9f917&&Xr(_0x1f31aa,_0x1d6e63,_0xf9f917),_0xf9f917;},He=(_0x1a7aaa,_0x3fda06)=>(_0x48d0ef,_0x4e9d17)=>_0x3fda06(_0x48d0ef,_0x4e9d17,_0x1a7aaa);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x361975(0x2ee)]{constructor(_0x2e6d7b,_0x5d5ada,_0x42b357,_0x31d3e6){const _0x52ee6e=_0x361975;super(),I(this,_0x52ee6e(0x50b),new N[(_0x52ee6e(0x392))](K[_0x52ee6e(0x26f)])),(this[_0x52ee6e(0x491)]=_0x2e6d7b,this['_uiPartsService']=_0x5d5ada,this[_0x52ee6e(0x5f2)]=_0x42b357,this[_0x52ee6e(0x28d)]=_0x31d3e6,this[_0x52ee6e(0x63d)](),this[_0x52ee6e(0x69e)]());}[_0x361975(0x69e)](){const _0x422ed9=_0x361975;this[_0x422ed9(0x259)](this[_0x422ed9(0x491)]['focused$']['pipe'](N[_0x422ed9(0x397)](()=>{const _0x7f3d7e=_0x422ed9,_0x5519cb=this[_0x7f3d7e(0x491)]['getFocusedUnit']();return _0x5519cb?this[_0x7f3d7e(0x28d)][_0x7f3d7e(0x1f5)](_0x5519cb['getUnitId']()):N['of'](null);}),N[_0x422ed9(0x397)](_0x31578a=>_0x31578a?_0x31578a[_0x422ed9(0x230)]:N['of'](K[_0x422ed9(0x26f)])))[_0x422ed9(0x2d2)](_0x1e1256=>{const _0x2fdc32=_0x422ed9;this[_0x2fdc32(0x50b)][_0x2fdc32(0x514)](_0x1e1256);}));}[_0x361975(0x63d)](){const _0x40aa90=_0x361975;this[_0x40aa90(0x259)](this[_0x40aa90(0x6ae)][_0x40aa90(0x284)](ee[_0x40aa90(0x2b3)][_0x40aa90(0x3e9)],()=>a[_0x40aa90(0x2b1)](Qr({'status$':this[_0x40aa90(0x50b)][_0x40aa90(0x2aa)]()}),this[_0x40aa90(0x5f2)])));}},exports[_0x361975(0x4e8)]=Zr([He(0x0,a[_0x361975(0x63c)]),He(0x1,ee[_0x361975(0x1ed)]),He(0x2,a[_0x361975(0x4b5)](a['Injector'])),He(0x3,a[_0x361975(0x4b5)](exports['CollaborationController']))],exports[_0x361975(0x4e8)]);function Qr(_0x2af52e){const {status$:_0x5f51ec}=_0x2af52e;return function(){const _0x2f7217=_0x3094;return me[_0x2f7217(0x316)]($i,{'status$':_0x5f51ec});};}const Lt=a['createIdentifier'](_0x361975(0x2dd));var es=Object[_0x361975(0x23f)],ts=Object[_0x361975(0x3bb)],is=(_0x1e08ab,_0x69136,_0x34baa1,_0x31bddb)=>{const _0x31f441=_0x361975;for(var _0x3b4809=_0x31bddb>0x1?void 0x0:_0x31bddb?ts(_0x69136,_0x34baa1):_0x69136,_0x192edd=_0x1e08ab[_0x31f441(0x31c)]-0x1,_0x422397;_0x192edd>=0x0;_0x192edd--)(_0x422397=_0x1e08ab[_0x192edd])&&(_0x3b4809=(_0x31bddb?_0x422397(_0x69136,_0x34baa1,_0x3b4809):_0x422397(_0x3b4809))||_0x3b4809);return _0x31bddb&&_0x3b4809&&es(_0x69136,_0x34baa1,_0x3b4809),_0x3b4809;},Re=(_0x21a9c2,_0x45961f)=>(_0x56af29,_0x3f0a16)=>_0x45961f(_0x56af29,_0x3f0a16,_0x21a9c2);exports[_0x361975(0x538)]=class extends a[_0x361975(0x353)]{constructor(_0x3006e5,_0x2ffa0c,_0x1019a0,_0xcb682d,_0x425dae,_0x2fcbbb){const _0x37a679=_0x361975;super(),this[_0x37a679(0x265)]=_0x3006e5,this['_logService']=_0x2ffa0c,this[_0x37a679(0x39e)]=_0x1019a0,this['_localCacheService']=_0xcb682d,this[_0x37a679(0x60f)]=_0x425dae,_0x2fcbbb?_0x2fcbbb==null||_0x2fcbbb[_0x37a679(0x35d)]()[_0x37a679(0x264)](()=>this[_0x37a679(0x272)]()):(this[_0x37a679(0x442)][_0x37a679(0x653)]('[DataLoaderController]',_0x37a679(0x457)),this['_init']());}async[_0x361975(0x272)](){const _0x1c2f67=_0x361975,_0x4da6d0=this['_urlService']['getParam'](_0x1c2f67(0x4ef)),_0x31b6a5=this['_urlService'][_0x1c2f67(0x499)](_0x1c2f67(0x585));if(!_0x4da6d0||!_0x31b6a5){this[_0x1c2f67(0x442)][_0x1c2f67(0x653)](_0x1c2f67(0x50f),_0x1c2f67(0x26e));return;}switch(Number(_0x31b6a5)){case ie[_0x1c2f67(0x327)]:{const _0x3e9bfc=await this['_loadSheet'](_0x4da6d0);this[_0x1c2f67(0x51b)](_0x3e9bfc);break;}case ie['UNIVER_DOC']:{await this[_0x1c2f67(0x36c)](_0x4da6d0);break;}default:{this[_0x1c2f67(0x442)][_0x1c2f67(0x384)](_0x1c2f67(0x50f),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x361975(0x51b)](_0x132c04){const _0x5d226e=_0x361975;await this[_0x5d226e(0x28a)](_0x132c04),_0x132c04[_0x5d226e(0x38f)][_0x5d226e(0x256)](N[_0x5d226e(0x23d)](this[_0x5d226e(0x3cd)]))['subscribe'](_0x26e7e3=>{const _0x139efe=_0x5d226e;_0x26e7e3&&this[_0x139efe(0x439)](_0x26e7e3);}),this[_0x5d226e(0x265)][_0x5d226e(0x329)][_0x5d226e(0x256)](N['takeUntil'](this[_0x5d226e(0x3cd)]))[_0x5d226e(0x2d2)](()=>this[_0x5d226e(0x28a)](_0x132c04));}[_0x361975(0x439)](_0x129cbf,_0x58065b=!0x1){const _0xcc4b60=_0x361975,_0x14df6f=this[_0xcc4b60(0x265)][_0xcc4b60(0x499)]('subunit');_0x129cbf[_0xcc4b60(0x54f)]()!==_0x14df6f&&this[_0xcc4b60(0x265)][_0xcc4b60(0x32a)](_0xcc4b60(0x52b),_0x129cbf[_0xcc4b60(0x54f)](),_0x58065b);}async['_updateSubUnitFromURLParams'](_0x149a65){const _0x48625b=_0x361975;var _0x14f0d8;const _0x511605=this['_urlService']['getParam'](_0x48625b(0x52b));if(!_0x511605||!_0x149a65[_0x48625b(0x49b)](_0x511605)){const _0xad8c72=_0x149a65['getUnhiddenWorksheets']()[0x0],_0x31e045=_0x149a65[_0x48625b(0x49b)](_0xad8c72);if(!_0x31e045)return;this[_0x48625b(0x439)](_0x31e045,!0x0),await this[_0x48625b(0x39e)]['executeCommand'](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x149a65[_0x48625b(0x5db)](),'subUnitId':_0xad8c72});return;}((_0x14f0d8=_0x149a65['getActiveSheet']())==null?void 0x0:_0x14f0d8[_0x48625b(0x54f)]())!==_0x511605&&await this[_0x48625b(0x39e)][_0x48625b(0x447)](k[_0x48625b(0x387)]['id'],{'unitId':_0x149a65[_0x48625b(0x5db)](),'subUnitId':_0x511605});}async[_0x361975(0x4b6)](_0x5ce3e2){const _0x4db1aa=_0x361975;let _0x6ca244=0x0;const _0x4cd046=await this[_0x4db1aa(0x4ac)][_0x4db1aa(0x4b8)](_0x5ce3e2);return _0x4cd046&&(_0x4cd046[_0x4db1aa(0x219)]||_0x4cd046['mutations'][_0x4db1aa(0x31c)]!==0x0)&&(_0x6ca244=_0x4cd046['rev']),_0x6ca244===0x0&&this[_0x4db1aa(0x442)][_0x4db1aa(0x653)]('[DataLoaderController]',_0x4db1aa(0x68a)),this[_0x4db1aa(0x60f)]['loadSheet'](_0x5ce3e2,_0x6ca244);}async[_0x361975(0x36c)](_0x528ecd){const _0x32721b=_0x361975;let _0xdf162d=0x0;const _0xc5d642=await this[_0x32721b(0x4ac)]['loadOfflineData'](_0x528ecd);return _0xc5d642&&(_0xc5d642[_0x32721b(0x219)]||_0xc5d642[_0x32721b(0x1ec)]['length']!==0x0)&&(_0xdf162d=_0xc5d642[_0x32721b(0x252)]),_0xdf162d===0x0&&this['_logService']['debug'](_0x32721b(0x50f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x32721b(0x60f)][_0x32721b(0x536)](_0x528ecd,_0xdf162d);}},exports[_0x361975(0x538)]=is([Re(0x0,Lt),Re(0x1,a[_0x361975(0x68e)]),Re(0x2,a[_0x361975(0x67f)]),Re(0x3,a[_0x361975(0x4b5)](exports[_0x361975(0x436)])),Re(0x4,a[_0x361975(0x4b5)](m[_0x361975(0x5ab)])),Re(0x5,a[_0x361975(0x580)](Yi['IRemoteInstanceService']))],exports[_0x361975(0x538)]);var ns=Object[_0x361975(0x23f)],rs=Object[_0x361975(0x3bb)],ss=(_0x4eee6a,_0x468538,_0x1f64d1,_0x37d399)=>{const _0x13619c=_0x361975;for(var _0x19ac76=_0x37d399>0x1?void 0x0:_0x37d399?rs(_0x468538,_0x1f64d1):_0x468538,_0xd8c0be=_0x4eee6a[_0x13619c(0x31c)]-0x1,_0xa1c6cb;_0xd8c0be>=0x0;_0xd8c0be--)(_0xa1c6cb=_0x4eee6a[_0xd8c0be])&&(_0x19ac76=(_0x37d399?_0xa1c6cb(_0x468538,_0x1f64d1,_0x19ac76):_0xa1c6cb(_0x19ac76))||_0x19ac76);return _0x37d399&&_0x19ac76&&ns(_0x468538,_0x1f64d1,_0x19ac76),_0x19ac76;},Zt=(_0x4cabcb,_0xd0638b)=>(_0x50faf9,_0x4df87a)=>_0xd0638b(_0x50faf9,_0x4df87a,_0x4cabcb);const os=_0x361975(0x254),as=_0x361975(0x692);let nt=class extends a['Disposable']{constructor(_0x217f53,_0x5e568e){const _0xb912b=_0x361975;super(),this['_univerInstanceService']=_0x217f53,this[_0xb912b(0x32b)]=_0x5e568e,this[_0xb912b(0x272)]();}[_0x361975(0x272)](){const _0xae7b56=_0x361975;this[_0xae7b56(0x259)](this['_univerInstanceService']['focused$'][_0xae7b56(0x2d2)](()=>{const _0x431334=_0xae7b56;var _0x38189c;const _0x1cd3d3=this['_univerInstanceService'][_0x431334(0x42b)]();let _0x1a97bf=(_0x38189c=this['_configService']['getConfig'](os))!=null?_0x38189c:as;_0x1cd3d3 instanceof a['Workbook']&&(_0x1a97bf=_0x1cd3d3[_0x431334(0x5a6)]),document[_0x431334(0x38d)]=_0x1a97bf;}));}};nt=ss([Zt(0x0,a[_0x361975(0x63c)]),Zt(0x1,a[_0x361975(0x314)])],nt);var cs=Object[_0x361975(0x23f)],ls=Object['getOwnPropertyDescriptor'],hs=(_0x31ee95,_0x15d3cd,_0xdc05df,_0x5c4e66)=>{for(var _0x2d2b62=_0x5c4e66>0x1?void 0x0:_0x5c4e66?ls(_0x15d3cd,_0xdc05df):_0x15d3cd,_0x81bf5=_0x31ee95['length']-0x1,_0x1ba525;_0x81bf5>=0x0;_0x81bf5--)(_0x1ba525=_0x31ee95[_0x81bf5])&&(_0x2d2b62=(_0x5c4e66?_0x1ba525(_0x15d3cd,_0xdc05df,_0x2d2b62):_0x1ba525(_0x2d2b62))||_0x2d2b62);return _0x5c4e66&&_0x2d2b62&&cs(_0x15d3cd,_0xdc05df,_0x2d2b62),_0x2d2b62;},Ct=(_0x41a0f6,_0x5d9958)=>(_0xd9f912,_0x3d0673)=>_0x5d9958(_0xd9f912,_0x3d0673,_0x41a0f6);let rt=class{constructor(_0x285fe1,_0x122f2d,_0x1a81ce){const _0x1042ab=_0x361975;this[_0x1042ab(0x32b)]=_0x285fe1,this['_httpService']=_0x122f2d,this[_0x1042ab(0x2fb)]=_0x1a81ce,this[_0x1042ab(0x66b)]();}[_0x361975(0x66b)](){const _0x4e0a3f=_0x361975;this[_0x4e0a3f(0x53b)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x17645e,_0x5629bb)=>_0x5629bb(_0x17645e)[_0x4e0a3f(0x256)](N[_0x4e0a3f(0x66a)](async _0x1e15b2=>{const _0x1af3d1=_0x4e0a3f,_0x3e5e15=_0x1e15b2;if(_0x3e5e15[_0x1af3d1(0x58f)]===0x191&&window[_0x1af3d1(0x288)](this[_0x1af3d1(0x2fb)]['t'](_0x1af3d1(0x2ab)))){const _0x2765c0=window[_0x1af3d1(0x589)](window[_0x1af3d1(0x313)][_0x1af3d1(0x5f9)]);window[_0x1af3d1(0x313)][_0x1af3d1(0x5f9)]=this[_0x1af3d1(0x567)]()+_0x1af3d1(0x67a)+_0x2765c0;}return _0x3e5e15;}))});}[_0x361975(0x567)](){const _0x3d32cc=_0x361975;var _0x704da6,_0x31217b;const _0x46f60d=this[_0x3d32cc(0x32b)][_0x3d32cc(0x269)](Ei),_0x344f4e=this[_0x3d32cc(0x32b)]['getConfig'](Z);return(_0x31217b=(_0x704da6=_0x344f4e==null?void 0x0:_0x344f4e[_0x3d32cc(0x673)])!=null?_0x704da6:_0x46f60d)!=null?_0x31217b:rn;}};rt=hs([Ct(0x0,a[_0x361975(0x314)]),Ct(0x1,a[_0x361975(0x4b5)](z[_0x361975(0x4c2)])),Ct(0x2,a[_0x361975(0x4b5)](a[_0x361975(0x34e)]))],rt);var _s=Object[_0x361975(0x23f)],us=Object['getOwnPropertyDescriptor'],ds=(_0x43243c,_0x29250a,_0x4b6d76,_0xdf6819)=>{const _0x26d518=_0x361975;for(var _0x4f344c=_0xdf6819>0x1?void 0x0:_0xdf6819?us(_0x29250a,_0x4b6d76):_0x29250a,_0x4860e6=_0x43243c[_0x26d518(0x31c)]-0x1,_0x2b5b29;_0x4860e6>=0x0;_0x4860e6--)(_0x2b5b29=_0x43243c[_0x4860e6])&&(_0x4f344c=(_0xdf6819?_0x2b5b29(_0x29250a,_0x4b6d76,_0x4f344c):_0x2b5b29(_0x4f344c))||_0x4f344c);return _0xdf6819&&_0x4f344c&&_s(_0x29250a,_0x4b6d76,_0x4f344c),_0x4f344c;},Qt=(_0x49ba9d,_0x5cff60)=>(_0x2993e5,_0x496f52)=>_0x5cff60(_0x2993e5,_0x496f52,_0x49ba9d);const xt=_0x361975(0x40d),fs=_0x361975(0x64e);exports[_0x361975(0x209)]=class extends a['Disposable']{constructor(_0x4a8442,_0x67a21b){const _0x25951c=_0x361975;super(),this[_0x25951c(0x1fa)]=_0x4a8442,this[_0x25951c(0x32b)]=_0x67a21b,this[_0x25951c(0x487)]();}[_0x361975(0x487)](){const _0x34bc4d=_0x361975,_0x2fc2a1=this;this['disposeWithMe'](this[_0x34bc4d(0x1fa)][_0x34bc4d(0x677)]({'priority':0x3e7,'interceptor':z[_0x34bc4d(0x37c)]({'isMatch'(_0x358b08){const _0x56def0=_0x34bc4d;var _0x3e66eb;if(_0x358b08[_0x56def0(0x33d)]===_0x56def0(0x535)&&((_0x3e66eb=_0x358b08[_0x56def0(0x59d)])!=null&&_0x3e66eb['body'])){const {objectID:_0x1532b2,objectType:_0x4b6ea0}=_0x358b08['requestParams'][_0x56def0(0x2eb)]||{};if(!_0x1532b2||_0x4b6ea0===void 0x0)return!0x1;const _0x369516=_0x2fc2a1[_0x56def0(0x4d1)]()+'/'+_0x4b6ea0+'/object/'+_0x1532b2+_0x56def0(0x5c6);if(_0x358b08[_0x56def0(0x661)]===_0x369516)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5df752){const _0x36263b=_0x34bc4d;var _0x155223;return(_0x155223=_0x5df752[_0x36263b(0x59d)])==null?void 0x0:_0x155223[_0x36263b(0x2eb)];},'mergeParamsToRequest'(_0xc4680e,_0x15524e){const _0x3dccb6=_0x34bc4d,_0x199aad=_0x2fc2a1[_0x3dccb6(0x4d1)]()+_0x3dccb6(0x62f),_0x3f7b40=_0xc4680e[_0x3dccb6(0x22e)]((_0x469def,_0x3ea73a)=>{const _0xba0746=_0x3dccb6,{unitID:_0x580d38,objectID:_0x12f499,objectType:_0x1bc97f,actions:_0x2d5dbb}=_0x3ea73a;return _0x469def[_0x580d38]||(_0x469def[_0x580d38]={}),_0x469def[_0x580d38][_0x12f499]||(_0x469def[_0x580d38][_0x12f499]={'objectID':_0x12f499,'objectType':_0x1bc97f,'actions':[]}),_0x469def[_0x580d38][_0x12f499]['actions'][_0xba0746(0x297)](..._0x2d5dbb),_0x469def;},{}),_0x1d7261=[];for(const _0x253f8c in _0x3f7b40)for(const _0x418dca in _0x3f7b40[_0x253f8c]){const {actions:_0x4e2ad0,objectType:_0x4e6926}=_0x3f7b40[_0x253f8c][_0x418dca],_0x548fac=[...new Set(_0x4e2ad0)];_0x1d7261['push']({'unitID':_0x253f8c,'objectID':_0x418dca,'objectType':_0x4e6926,'actions':_0x548fac});}return new z[(_0x3dccb6(0x492))]('POST',_0x199aad,{'headers':_0x15524e['headers'],'withCredentials':_0x15524e[_0x3dccb6(0x282)],'responseType':_0x15524e[_0x3dccb6(0x3a4)],'body':{'requests':_0x1d7261}});}},{'distributeResult'(_0x5dc5e8,_0x329fac){const {objectActions:_0x3c5b00}=_0x5dc5e8;return _0x329fac['map'](_0x157530=>{const _0x47e284=_0x3094,{unitID:_0x22fb68,objectID:_0x21f9eb,actions:_0xb5191e}=_0x157530,_0x383af0=_0x3c5b00[_0x47e284(0x524)](_0x48ca42=>_0x48ca42[_0x47e284(0x332)]===_0x22fb68&&_0x48ca42[_0x47e284(0x3c2)]===_0x21f9eb),_0xfdb619=_0xb5191e[_0x47e284(0x4ec)](_0x1a6779=>_0x383af0==null?void 0x0:_0x383af0[_0x47e284(0x23c)]['find'](_0x21aa1e=>_0x21aa1e[_0x47e284(0x3af)]===_0x1a6779))[_0x47e284(0x4f0)](_0x567c12=>!!_0x567c12);return{'config':_0x157530,'result':{'actions':_0xfdb619,'error':_0x5dc5e8[_0x47e284(0x384)]}};});}})}));}[_0x361975(0x4d1)](){const _0x131ba1=_0x361975;var _0x562dd9,_0x527326;const _0x244df4=this['_configService'][_0x131ba1(0x269)](xt),_0x4c2fde=this[_0x131ba1(0x32b)]['getConfig'](Z);return(_0x527326=(_0x562dd9=_0x4c2fde==null?void 0x0:_0x4c2fde[_0x131ba1(0x2c6)])!=null?_0x562dd9:_0x244df4)!=null?_0x527326:fs;}async[_0x361975(0x2d0)](_0x1190b0){const _0x2ba506=_0x361975,_0x1c8978=this[_0x2ba506(0x4d1)]()+'/'+_0x1190b0[_0x2ba506(0x3c4)]+_0x2ba506(0x3e7);return(await this[_0x2ba506(0x1fa)][_0x2ba506(0x37f)](_0x1c8978,{'body':_0x1190b0}))['body'][_0x2ba506(0x3c2)]||'';}async['list'](_0x25dcb0){const _0x34c7c2=_0x361975,_0x52d6cb=this['_getAPIPrefixPath']()+'/-/object/list';return(await this['_HTTPService'][_0x34c7c2(0x37f)](_0x52d6cb,{'body':_0x25dcb0}))[_0x34c7c2(0x2eb)][_0x34c7c2(0x529)];}async['update'](_0x2403fa){const _0x53d697=_0x361975,_0x286300=this[_0x53d697(0x4d1)]()+'/'+_0x2403fa[_0x53d697(0x3c4)]+'/object/'+_0x2403fa[_0x53d697(0x3c2)];await this[_0x53d697(0x1fa)]['put'](_0x286300,{'body':_0x2403fa});}async[_0x361975(0x47f)](_0xb6a10c){const _0x428cca=_0x361975,_0x2a0359=this[_0x428cca(0x4d1)]()+'/'+_0xb6a10c[_0x428cca(0x3c4)]+_0x428cca(0x2ff)+_0xb6a10c[_0x428cca(0x3c2)]+_0x428cca(0x5c6);return(await this[_0x428cca(0x1fa)][_0x428cca(0x37f)](_0x2a0359,{'body':_0xb6a10c}))['body'][_0x428cca(0x23c)];}async[_0x361975(0x362)](_0x143371){const _0x3dc7a9=_0x361975,_0x2719ec=this[_0x3dc7a9(0x4d1)]()+_0x3dc7a9(0x62f);return(await this[_0x3dc7a9(0x1fa)]['post'](_0x2719ec,{'body':{'requests':_0x143371}}))[_0x3dc7a9(0x2eb)][_0x3dc7a9(0x2e3)];}async[_0x361975(0x2a3)](_0x5a0234){const _0x52670e=_0x361975,_0x5a8ef7=this[_0x52670e(0x4d1)]()+'/'+_0x5a0234[_0x52670e(0x3c4)]+_0x52670e(0x45a),_0x2fdd19=await this[_0x52670e(0x1fa)][_0x52670e(0x37f)](_0x5a8ef7,{'body':_0x5a0234});return{'roles':_0x2fdd19[_0x52670e(0x2eb)][_0x52670e(0x399)],'actions':_0x2fdd19[_0x52670e(0x2eb)][_0x52670e(0x23c)]};}async[_0x361975(0x3b7)](_0x5f17d3){const _0x15fd7a=_0x361975,_0x5e97a6=this[_0x15fd7a(0x4d1)]()+'/collaborator';await this[_0x15fd7a(0x1fa)][_0x15fd7a(0x335)](_0x5e97a6,{'params':{'collaboratorID':_0x5f17d3[_0x15fd7a(0x30d)],'objectID':_0x5f17d3[_0x15fd7a(0x3c2)],'unitID':_0x5f17d3['unitID']}});}async['updateCollaborator'](_0x5d3b6d){const _0x2caac6=_0x361975,_0x4bca96=this['_getAPIPrefixPath']()+_0x2caac6(0x5c8);await this['_HTTPService']['patch'](_0x4bca96,{'body':_0x5d3b6d});}async[_0x361975(0x336)](_0x138070){const _0x14b8be=_0x361975,_0x116084=this[_0x14b8be(0x4d1)]()+_0x14b8be(0x5c8);await this[_0x14b8be(0x1fa)][_0x14b8be(0x37f)](_0x116084,{'body':_0x138070});}async[_0x361975(0x52c)](_0x2840b7){const _0x4d656e=_0x361975,_0x1c96fb=this[_0x4d656e(0x4d1)]()+_0x4d656e(0x5c8);return(await this['_HTTPService']['get'](_0x1c96fb,{'params':{'objectID':_0x2840b7[_0x4d656e(0x3c2)],'unitID':_0x2840b7['unitID']}}))['body'][_0x4d656e(0x413)];}async[_0x361975(0x3e5)](_0x355be3){const _0x36252b=_0x361975,_0xd49eaf=this[_0x36252b(0x4d1)]()+'/collaborator';await this[_0x36252b(0x1fa)][_0x36252b(0x271)](_0xd49eaf,{'body':_0x355be3});}},exports[_0x361975(0x209)]=ds([Qt(0x0,a[_0x361975(0x4b5)](z[_0x361975(0x4c2)])),Qt(0x1,a[_0x361975(0x4b5)](a[_0x361975(0x314)]))],exports[_0x361975(0x209)]);var ke={'exports':{}};function vs(_0x3ba9c9){const _0xe152c8=_0x361975;throw new Error(_0xe152c8(0x24a)+_0x3ba9c9+_0xe152c8(0x28c));}var We={'exports':{}},Ss=We[_0x361975(0x4dd)],ei;function se(){const _0x24956f=_0x361975;return ei||(ei=0x1,function(_0x1f1f32,_0x567da6){(function(_0x407c86,_0xbef7c2){const _0xb936af=_0x3094;_0x1f1f32[_0xb936af(0x4dd)]=_0xbef7c2();}(Ss,function(){var _0x465762=_0x465762||function(_0x831c9c,_0x4b18cf){const _0x576ef9=_0x3094;var _0x5c2199;if(typeof window<'u'&&window[_0x576ef9(0x23a)]&&(_0x5c2199=window[_0x576ef9(0x23a)]),typeof self<'u'&&self[_0x576ef9(0x23a)]&&(_0x5c2199=self[_0x576ef9(0x23a)]),typeof globalThis<'u'&&globalThis[_0x576ef9(0x23a)]&&(_0x5c2199=globalThis[_0x576ef9(0x23a)]),!_0x5c2199&&typeof window<'u'&&window[_0x576ef9(0x315)]&&(_0x5c2199=window[_0x576ef9(0x315)]),!_0x5c2199&&typeof gt<'u'&&gt[_0x576ef9(0x23a)]&&(_0x5c2199=gt[_0x576ef9(0x23a)]),!_0x5c2199&&typeof vs==_0x576ef9(0x455))try{_0x5c2199=require(_0x576ef9(0x23a));}catch{}var _0x509c65=function(){const _0x264e76=_0x576ef9;if(_0x5c2199){if(typeof _0x5c2199[_0x264e76(0x44d)]==_0x264e76(0x455))try{return _0x5c2199[_0x264e76(0x44d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5c2199[_0x264e76(0x5d0)]==_0x264e76(0x455))try{return _0x5c2199[_0x264e76(0x5d0)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x264e76(0x4f5));},_0xd44b87=Object[_0x576ef9(0x2d0)]||(function(){function _0x183c22(){}return function(_0x184024){const _0x43619f=_0x3094;var _0x354299;return _0x183c22[_0x43619f(0x6ab)]=_0x184024,_0x354299=new _0x183c22(),_0x183c22[_0x43619f(0x6ab)]=null,_0x354299;};}()),_0x2157a6={},_0xf46464=_0x2157a6[_0x576ef9(0x506)]={},_0x54ad8e=_0xf46464[_0x576ef9(0x303)]=(function(){return{'extend':function(_0x9f3298){const _0x4bb51c=_0x3094;var _0x5a7f12=_0xd44b87(this);return _0x9f3298&&_0x5a7f12[_0x4bb51c(0x51a)](_0x9f3298),(!_0x5a7f12[_0x4bb51c(0x51f)](_0x4bb51c(0x66b))||this[_0x4bb51c(0x66b)]===_0x5a7f12[_0x4bb51c(0x66b)])&&(_0x5a7f12[_0x4bb51c(0x66b)]=function(){const _0x3e96db=_0x4bb51c;_0x5a7f12[_0x3e96db(0x483)][_0x3e96db(0x66b)][_0x3e96db(0x2f5)](this,arguments);}),_0x5a7f12[_0x4bb51c(0x66b)][_0x4bb51c(0x6ab)]=_0x5a7f12,_0x5a7f12[_0x4bb51c(0x483)]=this,_0x5a7f12;},'create':function(){const _0x2a2f18=_0x3094;var _0x305ed0=this[_0x2a2f18(0x56c)]();return _0x305ed0['init'][_0x2a2f18(0x2f5)](_0x305ed0,arguments),_0x305ed0;},'init':function(){},'mixIn':function(_0x3e304e){const _0x3d0038=_0x3094;for(var _0x76a72a in _0x3e304e)_0x3e304e[_0x3d0038(0x51f)](_0x76a72a)&&(this[_0x76a72a]=_0x3e304e[_0x76a72a]);_0x3e304e[_0x3d0038(0x51f)](_0x3d0038(0x620))&&(this[_0x3d0038(0x620)]=_0x3e304e[_0x3d0038(0x620)]);},'clone':function(){const _0x1da720=_0x3094;return this['init'][_0x1da720(0x6ab)]['extend'](this);}};}()),_0x38c95d=_0xf46464[_0x576ef9(0x3c1)]=_0x54ad8e[_0x576ef9(0x56c)]({'init':function(_0xeb45d6,_0x3dd4b4){const _0x2a143b=_0x576ef9;_0xeb45d6=this[_0x2a143b(0x292)]=_0xeb45d6||[],_0x3dd4b4!=_0x4b18cf?this[_0x2a143b(0x4d6)]=_0x3dd4b4:this[_0x2a143b(0x4d6)]=_0xeb45d6[_0x2a143b(0x31c)]*0x4;},'toString':function(_0x17114f){const _0x1ca266=_0x576ef9;return(_0x17114f||_0x410b18)[_0x1ca266(0x5a9)](this);},'concat':function(_0x978f6c){const _0x5ab009=_0x576ef9;var _0x309446=this['words'],_0x3e259f=_0x978f6c[_0x5ab009(0x292)],_0x2b7a81=this['sigBytes'],_0x2d5072=_0x978f6c[_0x5ab009(0x4d6)];if(this[_0x5ab009(0x3f1)](),_0x2b7a81%0x4)for(var _0x43e828=0x0;_0x43e828<_0x2d5072;_0x43e828++){var _0x4bea65=_0x3e259f[_0x43e828>>>0x2]>>>0x18-_0x43e828%0x4*0x8&0xff;_0x309446[_0x2b7a81+_0x43e828>>>0x2]|=_0x4bea65<<0x18-(_0x2b7a81+_0x43e828)%0x4*0x8;}else{for(var _0x5cc6c5=0x0;_0x5cc6c5<_0x2d5072;_0x5cc6c5+=0x4)_0x309446[_0x2b7a81+_0x5cc6c5>>>0x2]=_0x3e259f[_0x5cc6c5>>>0x2];}return this[_0x5ab009(0x4d6)]+=_0x2d5072,this;},'clamp':function(){const _0x4f0a07=_0x576ef9;var _0x10e581=this[_0x4f0a07(0x292)],_0x5e7e41=this['sigBytes'];_0x10e581[_0x5e7e41>>>0x2]&=0xffffffff<<0x20-_0x5e7e41%0x4*0x8,_0x10e581[_0x4f0a07(0x31c)]=_0x831c9c[_0x4f0a07(0x26c)](_0x5e7e41/0x4);},'clone':function(){const _0x4f0724=_0x576ef9;var _0x536712=_0x54ad8e[_0x4f0724(0x20a)]['call'](this);return _0x536712[_0x4f0724(0x292)]=this[_0x4f0724(0x292)][_0x4f0724(0x64c)](0x0),_0x536712;},'random':function(_0x28db40){const _0x52ff1b=_0x576ef9;for(var _0x226c74=[],_0x467a32=0x0;_0x467a32<_0x28db40;_0x467a32+=0x4)_0x226c74[_0x52ff1b(0x297)](_0x509c65());return new _0x38c95d[(_0x52ff1b(0x66b))](_0x226c74,_0x28db40);}}),_0x100f49=_0x2157a6[_0x576ef9(0x4da)]={},_0x410b18=_0x100f49[_0x576ef9(0x383)]={'stringify':function(_0x2b8ae7){const _0x59b879=_0x576ef9;for(var _0x256f38=_0x2b8ae7['words'],_0x4c764b=_0x2b8ae7[_0x59b879(0x4d6)],_0x30afeb=[],_0x59a626=0x0;_0x59a626<_0x4c764b;_0x59a626++){var _0x20517e=_0x256f38[_0x59a626>>>0x2]>>>0x18-_0x59a626%0x4*0x8&0xff;_0x30afeb[_0x59b879(0x297)]((_0x20517e>>>0x4)[_0x59b879(0x620)](0x10)),_0x30afeb['push']((_0x20517e&0xf)[_0x59b879(0x620)](0x10));}return _0x30afeb[_0x59b879(0x470)]('');},'parse':function(_0x445262){const _0x3cc4b4=_0x576ef9;for(var _0x1fb884=_0x445262['length'],_0x1a0991=[],_0x1adac6=0x0;_0x1adac6<_0x1fb884;_0x1adac6+=0x2)_0x1a0991[_0x1adac6>>>0x3]|=parseInt(_0x445262['substr'](_0x1adac6,0x2),0x10)<<0x18-_0x1adac6%0x8*0x4;return new _0x38c95d[(_0x3cc4b4(0x66b))](_0x1a0991,_0x1fb884/0x2);}},_0x1b6cec=_0x100f49[_0x576ef9(0x426)]={'stringify':function(_0x40d5ce){const _0x3bd19d=_0x576ef9;for(var _0x2a36bd=_0x40d5ce[_0x3bd19d(0x292)],_0x290c0d=_0x40d5ce[_0x3bd19d(0x4d6)],_0x20a3e9=[],_0x3cc14a=0x0;_0x3cc14a<_0x290c0d;_0x3cc14a++){var _0x4a3cd2=_0x2a36bd[_0x3cc14a>>>0x2]>>>0x18-_0x3cc14a%0x4*0x8&0xff;_0x20a3e9['push'](String['fromCharCode'](_0x4a3cd2));}return _0x20a3e9['join']('');},'parse':function(_0x154705){const _0x488a65=_0x576ef9;for(var _0x55c82a=_0x154705[_0x488a65(0x31c)],_0x298310=[],_0x4e9eec=0x0;_0x4e9eec<_0x55c82a;_0x4e9eec++)_0x298310[_0x4e9eec>>>0x2]|=(_0x154705[_0x488a65(0x328)](_0x4e9eec)&0xff)<<0x18-_0x4e9eec%0x4*0x8;return new _0x38c95d[(_0x488a65(0x66b))](_0x298310,_0x55c82a);}},_0x438ad9=_0x100f49['Utf8']={'stringify':function(_0x4c3353){const _0x559356=_0x576ef9;try{return decodeURIComponent(escape(_0x1b6cec[_0x559356(0x5a9)](_0x4c3353)));}catch{throw new Error(_0x559356(0x1ef));}},'parse':function(_0x7e136c){const _0x3d4a31=_0x576ef9;return _0x1b6cec[_0x3d4a31(0x345)](unescape(encodeURIComponent(_0x7e136c)));}},_0x285f3a=_0xf46464[_0x576ef9(0x462)]=_0x54ad8e[_0x576ef9(0x56c)]({'reset':function(){this['_data']=new _0x38c95d['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x1c2612){const _0x50d23d=_0x576ef9;typeof _0x1c2612==_0x50d23d(0x4ce)&&(_0x1c2612=_0x438ad9[_0x50d23d(0x345)](_0x1c2612)),this[_0x50d23d(0x4dc)][_0x50d23d(0x2d4)](_0x1c2612),this[_0x50d23d(0x26a)]+=_0x1c2612['sigBytes'];},'_process':function(_0x376e08){const _0x633f20=_0x576ef9;var _0xb0c6f6,_0x54781d=this[_0x633f20(0x4dc)],_0x3b7c83=_0x54781d[_0x633f20(0x292)],_0xf3f2aa=_0x54781d[_0x633f20(0x4d6)],_0x25e2dc=this[_0x633f20(0x666)],_0x40fff6=_0x25e2dc*0x4,_0x4d456b=_0xf3f2aa/_0x40fff6;_0x376e08?_0x4d456b=_0x831c9c[_0x633f20(0x26c)](_0x4d456b):_0x4d456b=_0x831c9c[_0x633f20(0x685)]((_0x4d456b|0x0)-this[_0x633f20(0x330)],0x0);var _0x90e698=_0x4d456b*_0x25e2dc,_0x2dc0f0=_0x831c9c[_0x633f20(0x38b)](_0x90e698*0x4,_0xf3f2aa);if(_0x90e698){for(var _0x18938f=0x0;_0x18938f<_0x90e698;_0x18938f+=_0x25e2dc)this[_0x633f20(0x3f3)](_0x3b7c83,_0x18938f);_0xb0c6f6=_0x3b7c83[_0x633f20(0x551)](0x0,_0x90e698),_0x54781d[_0x633f20(0x4d6)]-=_0x2dc0f0;}return new _0x38c95d[(_0x633f20(0x66b))](_0xb0c6f6,_0x2dc0f0);},'clone':function(){const _0x241da4=_0x576ef9;var _0x18c900=_0x54ad8e[_0x241da4(0x20a)][_0x241da4(0x489)](this);return _0x18c900[_0x241da4(0x4dc)]=this[_0x241da4(0x4dc)][_0x241da4(0x20a)](),_0x18c900;},'_minBufferSize':0x0});_0xf46464[_0x576ef9(0x25f)]=_0x285f3a[_0x576ef9(0x56c)]({'cfg':_0x54ad8e[_0x576ef9(0x56c)](),'init':function(_0x45e744){const _0x2fa3b9=_0x576ef9;this[_0x2fa3b9(0x3f6)]=this[_0x2fa3b9(0x3f6)][_0x2fa3b9(0x56c)](_0x45e744),this[_0x2fa3b9(0x599)]();},'reset':function(){const _0x5bcbf4=_0x576ef9;_0x285f3a[_0x5bcbf4(0x599)][_0x5bcbf4(0x489)](this),this[_0x5bcbf4(0x4de)]();},'update':function(_0x21cc99){const _0x42d1c1=_0x576ef9;return this['_append'](_0x21cc99),this[_0x42d1c1(0x614)](),this;},'finalize':function(_0x4bb8b9){const _0x2983b7=_0x576ef9;_0x4bb8b9&&this[_0x2983b7(0x6b0)](_0x4bb8b9);var _0x46becc=this[_0x2983b7(0x31b)]();return _0x46becc;},'blockSize':0x10,'_createHelper':function(_0xf56b6f){return function(_0x3110ed,_0x1a72e1){const _0x20b2d4=_0x3094;return new _0xf56b6f[(_0x20b2d4(0x66b))](_0x1a72e1)[_0x20b2d4(0x504)](_0x3110ed);};},'_createHmacHelper':function(_0x4a4cd0){return function(_0x59e841,_0x4bf4b0){const _0x20d3bf=_0x3094;return new _0x9e9b9d[(_0x20d3bf(0x3f0))][(_0x20d3bf(0x66b))](_0x4a4cd0,_0x4bf4b0)[_0x20d3bf(0x504)](_0x59e841);};}});var _0x9e9b9d=_0x2157a6[_0x576ef9(0x38a)]={};return _0x2157a6;}(Math);return _0x465762;}));}(We)),We[_0x24956f(0x4dd)];}var Fe={'exports':{}},ps=Fe[_0x361975(0x4dd)],ti;function ji(){const _0x247b5a=_0x361975;return ti||(ti=0x1,function(_0x2092b1,_0x28478f){(function(_0x22ab8e,_0x4bd95e){const _0x4b4a17=_0x3094;_0x2092b1[_0x4b4a17(0x4dd)]=_0x4bd95e(se());}(ps,function(_0x43e528){const _0x5db3ea=_0x3094;return(function(){const _0xfd21b3=_0x3094;var _0x34a3a5=_0x43e528,_0x39134f=_0x34a3a5[_0xfd21b3(0x506)],_0xa3ec63=_0x39134f['WordArray'],_0x566eb7=_0x34a3a5[_0xfd21b3(0x4da)];_0x566eb7[_0xfd21b3(0x2f7)]={'stringify':function(_0x4416ff){const _0x1b4e65=_0xfd21b3;var _0x4807b8=_0x4416ff[_0x1b4e65(0x292)],_0x98f10c=_0x4416ff[_0x1b4e65(0x4d6)],_0x4e73e8=this['_map'];_0x4416ff[_0x1b4e65(0x3f1)]();for(var _0x1f65e8=[],_0x27ea47=0x0;_0x27ea47<_0x98f10c;_0x27ea47+=0x3)for(var _0x1d4383=_0x4807b8[_0x27ea47>>>0x2]>>>0x18-_0x27ea47%0x4*0x8&0xff,_0x7e320d=_0x4807b8[_0x27ea47+0x1>>>0x2]>>>0x18-(_0x27ea47+0x1)%0x4*0x8&0xff,_0x5c1ddf=_0x4807b8[_0x27ea47+0x2>>>0x2]>>>0x18-(_0x27ea47+0x2)%0x4*0x8&0xff,_0x9d7b89=_0x1d4383<<0x10|_0x7e320d<<0x8|_0x5c1ddf,_0x5f24ab=0x0;_0x5f24ab<0x4&&_0x27ea47+_0x5f24ab*0.75<_0x98f10c;_0x5f24ab++)_0x1f65e8['push'](_0x4e73e8['charAt'](_0x9d7b89>>>0x6*(0x3-_0x5f24ab)&0x3f));var _0x30d77a=_0x4e73e8['charAt'](0x40);if(_0x30d77a){for(;_0x1f65e8[_0x1b4e65(0x31c)]%0x4;)_0x1f65e8[_0x1b4e65(0x297)](_0x30d77a);}return _0x1f65e8[_0x1b4e65(0x470)]('');},'parse':function(_0x31756c){const _0x165ba6=_0xfd21b3;var _0x35f50d=_0x31756c['length'],_0x58c02f=this[_0x165ba6(0x5fb)],_0x11d84=this[_0x165ba6(0x5f0)];if(!_0x11d84){_0x11d84=this['_reverseMap']=[];for(var _0xde0a0=0x0;_0xde0a0<_0x58c02f[_0x165ba6(0x31c)];_0xde0a0++)_0x11d84[_0x58c02f['charCodeAt'](_0xde0a0)]=_0xde0a0;}var _0x361fbf=_0x58c02f['charAt'](0x40);if(_0x361fbf){var _0x151bd4=_0x31756c['indexOf'](_0x361fbf);_0x151bd4!==-0x1&&(_0x35f50d=_0x151bd4);}return _0x4203eb(_0x31756c,_0x35f50d,_0x11d84);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x4203eb(_0x2b2923,_0x4dae65,_0x46d831){const _0x488900=_0xfd21b3;for(var _0x17a396=[],_0x1f4064=0x0,_0x432642=0x0;_0x432642<_0x4dae65;_0x432642++)if(_0x432642%0x4){var _0x3b156f=_0x46d831[_0x2b2923['charCodeAt'](_0x432642-0x1)]<<_0x432642%0x4*0x2,_0x4574e6=_0x46d831[_0x2b2923['charCodeAt'](_0x432642)]>>>0x6-_0x432642%0x4*0x2,_0x36382d=_0x3b156f|_0x4574e6;_0x17a396[_0x1f4064>>>0x2]|=_0x36382d<<0x18-_0x1f4064%0x4*0x8,_0x1f4064++;}return _0xa3ec63[_0x488900(0x2d0)](_0x17a396,_0x1f4064);}}()),_0x43e528['enc'][_0x5db3ea(0x2f7)];}));}(Fe)),Fe[_0x247b5a(0x4dd)];}var Ve={'exports':{}},ms=Ve[_0x361975(0x4dd)],ii;function gs(){return ii||(ii=0x1,function(_0x428cf7,_0x57b82c){(function(_0x529ea2,_0x412c6b){const _0x3aebd3=_0x3094;_0x428cf7[_0x3aebd3(0x4dd)]=_0x412c6b(se());}(ms,function(_0x4a5826){return function(_0x1a6894){const _0x56a421=_0x3094;var _0x205530=_0x4a5826,_0x2e1998=_0x205530[_0x56a421(0x506)],_0x4e7701=_0x2e1998['WordArray'],_0x7b301e=_0x2e1998['Hasher'],_0x1136b3=_0x205530[_0x56a421(0x38a)],_0x23217d=[];(function(){const _0x19b3b4=_0x56a421;for(var _0x36c52a=0x0;_0x36c52a<0x40;_0x36c52a++)_0x23217d[_0x36c52a]=_0x1a6894[_0x19b3b4(0x3d3)](_0x1a6894[_0x19b3b4(0x4cb)](_0x36c52a+0x1))*0x100000000|0x0;}());var _0x282bd3=_0x1136b3[_0x56a421(0x35a)]=_0x7b301e[_0x56a421(0x56c)]({'_doReset':function(){const _0x3a773a=_0x56a421;this[_0x3a773a(0x32d)]=new _0x4e7701[(_0x3a773a(0x66b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x199ef6,_0x118d39){const _0x22f1bf=_0x56a421;for(var _0x38ef2d=0x0;_0x38ef2d<0x10;_0x38ef2d++){var _0x133480=_0x118d39+_0x38ef2d,_0x539c84=_0x199ef6[_0x133480];_0x199ef6[_0x133480]=(_0x539c84<<0x8|_0x539c84>>>0x18)&0xff00ff|(_0x539c84<<0x18|_0x539c84>>>0x8)&0xff00ff00;}var _0x4c63c9=this['_hash'][_0x22f1bf(0x292)],_0x4f7f39=_0x199ef6[_0x118d39+0x0],_0x37dfb2=_0x199ef6[_0x118d39+0x1],_0x412f08=_0x199ef6[_0x118d39+0x2],_0x48660d=_0x199ef6[_0x118d39+0x3],_0x4ff2bc=_0x199ef6[_0x118d39+0x4],_0x2e5264=_0x199ef6[_0x118d39+0x5],_0x54041b=_0x199ef6[_0x118d39+0x6],_0x2a5a9a=_0x199ef6[_0x118d39+0x7],_0xdeb652=_0x199ef6[_0x118d39+0x8],_0x554f2c=_0x199ef6[_0x118d39+0x9],_0x2616b0=_0x199ef6[_0x118d39+0xa],_0x3fbc4f=_0x199ef6[_0x118d39+0xb],_0x841b4d=_0x199ef6[_0x118d39+0xc],_0xea631=_0x199ef6[_0x118d39+0xd],_0x54e8a6=_0x199ef6[_0x118d39+0xe],_0x267003=_0x199ef6[_0x118d39+0xf],_0x211bc4=_0x4c63c9[0x0],_0xc93177=_0x4c63c9[0x1],_0x192d6d=_0x4c63c9[0x2],_0x4ddfde=_0x4c63c9[0x3];_0x211bc4=_0x4911fd(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x4f7f39,0x7,_0x23217d[0x0]),_0x4ddfde=_0x4911fd(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x37dfb2,0xc,_0x23217d[0x1]),_0x192d6d=_0x4911fd(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x412f08,0x11,_0x23217d[0x2]),_0xc93177=_0x4911fd(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x48660d,0x16,_0x23217d[0x3]),_0x211bc4=_0x4911fd(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x4ff2bc,0x7,_0x23217d[0x4]),_0x4ddfde=_0x4911fd(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x2e5264,0xc,_0x23217d[0x5]),_0x192d6d=_0x4911fd(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x54041b,0x11,_0x23217d[0x6]),_0xc93177=_0x4911fd(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x2a5a9a,0x16,_0x23217d[0x7]),_0x211bc4=_0x4911fd(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0xdeb652,0x7,_0x23217d[0x8]),_0x4ddfde=_0x4911fd(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x554f2c,0xc,_0x23217d[0x9]),_0x192d6d=_0x4911fd(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x2616b0,0x11,_0x23217d[0xa]),_0xc93177=_0x4911fd(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x3fbc4f,0x16,_0x23217d[0xb]),_0x211bc4=_0x4911fd(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x841b4d,0x7,_0x23217d[0xc]),_0x4ddfde=_0x4911fd(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0xea631,0xc,_0x23217d[0xd]),_0x192d6d=_0x4911fd(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x54e8a6,0x11,_0x23217d[0xe]),_0xc93177=_0x4911fd(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x267003,0x16,_0x23217d[0xf]),_0x211bc4=_0x44e15c(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x37dfb2,0x5,_0x23217d[0x10]),_0x4ddfde=_0x44e15c(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x54041b,0x9,_0x23217d[0x11]),_0x192d6d=_0x44e15c(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x3fbc4f,0xe,_0x23217d[0x12]),_0xc93177=_0x44e15c(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x4f7f39,0x14,_0x23217d[0x13]),_0x211bc4=_0x44e15c(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x2e5264,0x5,_0x23217d[0x14]),_0x4ddfde=_0x44e15c(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x2616b0,0x9,_0x23217d[0x15]),_0x192d6d=_0x44e15c(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x267003,0xe,_0x23217d[0x16]),_0xc93177=_0x44e15c(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x4ff2bc,0x14,_0x23217d[0x17]),_0x211bc4=_0x44e15c(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x554f2c,0x5,_0x23217d[0x18]),_0x4ddfde=_0x44e15c(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x54e8a6,0x9,_0x23217d[0x19]),_0x192d6d=_0x44e15c(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x48660d,0xe,_0x23217d[0x1a]),_0xc93177=_0x44e15c(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0xdeb652,0x14,_0x23217d[0x1b]),_0x211bc4=_0x44e15c(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0xea631,0x5,_0x23217d[0x1c]),_0x4ddfde=_0x44e15c(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x412f08,0x9,_0x23217d[0x1d]),_0x192d6d=_0x44e15c(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x2a5a9a,0xe,_0x23217d[0x1e]),_0xc93177=_0x44e15c(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x841b4d,0x14,_0x23217d[0x1f]),_0x211bc4=_0x39f286(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x2e5264,0x4,_0x23217d[0x20]),_0x4ddfde=_0x39f286(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0xdeb652,0xb,_0x23217d[0x21]),_0x192d6d=_0x39f286(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x3fbc4f,0x10,_0x23217d[0x22]),_0xc93177=_0x39f286(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x54e8a6,0x17,_0x23217d[0x23]),_0x211bc4=_0x39f286(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x37dfb2,0x4,_0x23217d[0x24]),_0x4ddfde=_0x39f286(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x4ff2bc,0xb,_0x23217d[0x25]),_0x192d6d=_0x39f286(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x2a5a9a,0x10,_0x23217d[0x26]),_0xc93177=_0x39f286(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x2616b0,0x17,_0x23217d[0x27]),_0x211bc4=_0x39f286(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0xea631,0x4,_0x23217d[0x28]),_0x4ddfde=_0x39f286(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x4f7f39,0xb,_0x23217d[0x29]),_0x192d6d=_0x39f286(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x48660d,0x10,_0x23217d[0x2a]),_0xc93177=_0x39f286(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x54041b,0x17,_0x23217d[0x2b]),_0x211bc4=_0x39f286(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x554f2c,0x4,_0x23217d[0x2c]),_0x4ddfde=_0x39f286(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x841b4d,0xb,_0x23217d[0x2d]),_0x192d6d=_0x39f286(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x267003,0x10,_0x23217d[0x2e]),_0xc93177=_0x39f286(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x412f08,0x17,_0x23217d[0x2f]),_0x211bc4=_0x56d21e(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x4f7f39,0x6,_0x23217d[0x30]),_0x4ddfde=_0x56d21e(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x2a5a9a,0xa,_0x23217d[0x31]),_0x192d6d=_0x56d21e(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x54e8a6,0xf,_0x23217d[0x32]),_0xc93177=_0x56d21e(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x2e5264,0x15,_0x23217d[0x33]),_0x211bc4=_0x56d21e(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x841b4d,0x6,_0x23217d[0x34]),_0x4ddfde=_0x56d21e(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x48660d,0xa,_0x23217d[0x35]),_0x192d6d=_0x56d21e(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x2616b0,0xf,_0x23217d[0x36]),_0xc93177=_0x56d21e(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x37dfb2,0x15,_0x23217d[0x37]),_0x211bc4=_0x56d21e(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0xdeb652,0x6,_0x23217d[0x38]),_0x4ddfde=_0x56d21e(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x267003,0xa,_0x23217d[0x39]),_0x192d6d=_0x56d21e(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x54041b,0xf,_0x23217d[0x3a]),_0xc93177=_0x56d21e(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0xea631,0x15,_0x23217d[0x3b]),_0x211bc4=_0x56d21e(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x4ff2bc,0x6,_0x23217d[0x3c]),_0x4ddfde=_0x56d21e(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x3fbc4f,0xa,_0x23217d[0x3d]),_0x192d6d=_0x56d21e(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x412f08,0xf,_0x23217d[0x3e]),_0xc93177=_0x56d21e(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x554f2c,0x15,_0x23217d[0x3f]),_0x4c63c9[0x0]=_0x4c63c9[0x0]+_0x211bc4|0x0,_0x4c63c9[0x1]=_0x4c63c9[0x1]+_0xc93177|0x0,_0x4c63c9[0x2]=_0x4c63c9[0x2]+_0x192d6d|0x0,_0x4c63c9[0x3]=_0x4c63c9[0x3]+_0x4ddfde|0x0;},'_doFinalize':function(){const _0x2f80c2=_0x56a421;var _0x4d4d11=this[_0x2f80c2(0x4dc)],_0xf7d978=_0x4d4d11[_0x2f80c2(0x292)],_0x9ff53e=this[_0x2f80c2(0x26a)]*0x8,_0xc1509e=_0x4d4d11[_0x2f80c2(0x4d6)]*0x8;_0xf7d978[_0xc1509e>>>0x5]|=0x80<<0x18-_0xc1509e%0x20;var _0x268c3f=_0x1a6894['floor'](_0x9ff53e/0x100000000),_0x5cc9a6=_0x9ff53e;_0xf7d978[(_0xc1509e+0x40>>>0x9<<0x4)+0xf]=(_0x268c3f<<0x8|_0x268c3f>>>0x18)&0xff00ff|(_0x268c3f<<0x18|_0x268c3f>>>0x8)&0xff00ff00,_0xf7d978[(_0xc1509e+0x40>>>0x9<<0x4)+0xe]=(_0x5cc9a6<<0x8|_0x5cc9a6>>>0x18)&0xff00ff|(_0x5cc9a6<<0x18|_0x5cc9a6>>>0x8)&0xff00ff00,_0x4d4d11['sigBytes']=(_0xf7d978['length']+0x1)*0x4,this[_0x2f80c2(0x614)]();for(var _0x49c9a7=this[_0x2f80c2(0x32d)],_0x5c9252=_0x49c9a7['words'],_0x2acd64=0x0;_0x2acd64<0x4;_0x2acd64++){var _0x509935=_0x5c9252[_0x2acd64];_0x5c9252[_0x2acd64]=(_0x509935<<0x8|_0x509935>>>0x18)&0xff00ff|(_0x509935<<0x18|_0x509935>>>0x8)&0xff00ff00;}return _0x49c9a7;},'clone':function(){const _0x297d52=_0x56a421;var _0x34f415=_0x7b301e[_0x297d52(0x20a)]['call'](this);return _0x34f415['_hash']=this[_0x297d52(0x32d)][_0x297d52(0x20a)](),_0x34f415;}});function _0x4911fd(_0x545269,_0x4e2b8f,_0x582c3a,_0x5452b5,_0x2166fd,_0x1ee679,_0x4fe3ad){var _0x27387a=_0x545269+(_0x4e2b8f&_0x582c3a|~_0x4e2b8f&_0x5452b5)+_0x2166fd+_0x4fe3ad;return(_0x27387a<<_0x1ee679|_0x27387a>>>0x20-_0x1ee679)+_0x4e2b8f;}function _0x44e15c(_0x1e6ab2,_0x1d54d4,_0x3ea584,_0x89af90,_0x41f1f5,_0x1e1d03,_0x934544){var _0x3ef740=_0x1e6ab2+(_0x1d54d4&_0x89af90|_0x3ea584&~_0x89af90)+_0x41f1f5+_0x934544;return(_0x3ef740<<_0x1e1d03|_0x3ef740>>>0x20-_0x1e1d03)+_0x1d54d4;}function _0x39f286(_0x504a82,_0x509755,_0x105c67,_0x5567e9,_0x460916,_0x854fe8,_0x2c8538){var _0x3d7cbb=_0x504a82+(_0x509755^_0x105c67^_0x5567e9)+_0x460916+_0x2c8538;return(_0x3d7cbb<<_0x854fe8|_0x3d7cbb>>>0x20-_0x854fe8)+_0x509755;}function _0x56d21e(_0x3be0f8,_0x136b80,_0x15ad52,_0x4380af,_0x2b1763,_0x187363,_0x37dda0){var _0xe266d6=_0x3be0f8+(_0x15ad52^(_0x136b80|~_0x4380af))+_0x2b1763+_0x37dda0;return(_0xe266d6<<_0x187363|_0xe266d6>>>0x20-_0x187363)+_0x136b80;}_0x205530[_0x56a421(0x35a)]=_0x7b301e['_createHelper'](_0x282bd3),_0x205530['HmacMD5']=_0x7b301e[_0x56a421(0x469)](_0x282bd3);}(Math),_0x4a5826['MD5'];}));}(Ve)),Ve['exports'];}var Ge={'exports':{}},Ye={'exports':{}},Is=Ye[_0x361975(0x4dd)],ni;function Cs(){const _0x2ef9ac=_0x361975;return ni||(ni=0x1,function(_0x7c416d,_0xfddb48){(function(_0x3665a1,_0x117913){const _0x3d5fe1=_0x3094;_0x7c416d[_0x3d5fe1(0x4dd)]=_0x117913(se());}(Is,function(_0x5ace3d){return(function(){const _0x56ce31=_0x3094;var _0x42ea2f=_0x5ace3d,_0x1d0e0b=_0x42ea2f['lib'],_0x16993a=_0x1d0e0b['WordArray'],_0x1e8d1e=_0x1d0e0b[_0x56ce31(0x25f)],_0x4f6245=_0x42ea2f['algo'],_0x4e8c03=[],_0x204318=_0x4f6245[_0x56ce31(0x651)]=_0x1e8d1e[_0x56ce31(0x56c)]({'_doReset':function(){const _0x5c04d8=_0x56ce31;this['_hash']=new _0x16993a[(_0x5c04d8(0x66b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2e6982,_0x3ac9fd){const _0x50b39e=_0x56ce31;for(var _0xa9d541=this[_0x50b39e(0x32d)][_0x50b39e(0x292)],_0x2bb6a9=_0xa9d541[0x0],_0x599053=_0xa9d541[0x1],_0x5a05e0=_0xa9d541[0x2],_0x3d2f3a=_0xa9d541[0x3],_0x2cf9dd=_0xa9d541[0x4],_0x3dc18e=0x0;_0x3dc18e<0x50;_0x3dc18e++){if(_0x3dc18e<0x10)_0x4e8c03[_0x3dc18e]=_0x2e6982[_0x3ac9fd+_0x3dc18e]|0x0;else{var _0x1c5452=_0x4e8c03[_0x3dc18e-0x3]^_0x4e8c03[_0x3dc18e-0x8]^_0x4e8c03[_0x3dc18e-0xe]^_0x4e8c03[_0x3dc18e-0x10];_0x4e8c03[_0x3dc18e]=_0x1c5452<<0x1|_0x1c5452>>>0x1f;}var _0x5e4350=(_0x2bb6a9<<0x5|_0x2bb6a9>>>0x1b)+_0x2cf9dd+_0x4e8c03[_0x3dc18e];_0x3dc18e<0x14?_0x5e4350+=(_0x599053&_0x5a05e0|~_0x599053&_0x3d2f3a)+0x5a827999:_0x3dc18e<0x28?_0x5e4350+=(_0x599053^_0x5a05e0^_0x3d2f3a)+0x6ed9eba1:_0x3dc18e<0x3c?_0x5e4350+=(_0x599053&_0x5a05e0|_0x599053&_0x3d2f3a|_0x5a05e0&_0x3d2f3a)-0x70e44324:_0x5e4350+=(_0x599053^_0x5a05e0^_0x3d2f3a)-0x359d3e2a,_0x2cf9dd=_0x3d2f3a,_0x3d2f3a=_0x5a05e0,_0x5a05e0=_0x599053<<0x1e|_0x599053>>>0x2,_0x599053=_0x2bb6a9,_0x2bb6a9=_0x5e4350;}_0xa9d541[0x0]=_0xa9d541[0x0]+_0x2bb6a9|0x0,_0xa9d541[0x1]=_0xa9d541[0x1]+_0x599053|0x0,_0xa9d541[0x2]=_0xa9d541[0x2]+_0x5a05e0|0x0,_0xa9d541[0x3]=_0xa9d541[0x3]+_0x3d2f3a|0x0,_0xa9d541[0x4]=_0xa9d541[0x4]+_0x2cf9dd|0x0;},'_doFinalize':function(){const _0x5ce734=_0x56ce31;var _0x42a644=this[_0x5ce734(0x4dc)],_0x18415a=_0x42a644[_0x5ce734(0x292)],_0x4cff3d=this[_0x5ce734(0x26a)]*0x8,_0x38d3fa=_0x42a644[_0x5ce734(0x4d6)]*0x8;return _0x18415a[_0x38d3fa>>>0x5]|=0x80<<0x18-_0x38d3fa%0x20,_0x18415a[(_0x38d3fa+0x40>>>0x9<<0x4)+0xe]=Math[_0x5ce734(0x5c2)](_0x4cff3d/0x100000000),_0x18415a[(_0x38d3fa+0x40>>>0x9<<0x4)+0xf]=_0x4cff3d,_0x42a644[_0x5ce734(0x4d6)]=_0x18415a[_0x5ce734(0x31c)]*0x4,this[_0x5ce734(0x614)](),this[_0x5ce734(0x32d)];},'clone':function(){const _0x5dfffe=_0x56ce31;var _0xe2adea=_0x1e8d1e[_0x5dfffe(0x20a)][_0x5dfffe(0x489)](this);return _0xe2adea[_0x5dfffe(0x32d)]=this[_0x5dfffe(0x32d)][_0x5dfffe(0x20a)](),_0xe2adea;}});_0x42ea2f['SHA1']=_0x1e8d1e['_createHelper'](_0x204318),_0x42ea2f[_0x56ce31(0x270)]=_0x1e8d1e[_0x56ce31(0x469)](_0x204318);}()),_0x5ace3d['SHA1'];}));}(Ye)),Ye[_0x2ef9ac(0x4dd)];}var qe={'exports':{}},Es=qe[_0x361975(0x4dd)],ri;function bs(){const _0x38d9ea=_0x361975;return ri||(ri=0x1,function(_0x5c7da4,_0xa9dc3b){(function(_0x19e9bf,_0x3e904f){const _0x512e5c=_0x3094;_0x5c7da4[_0x512e5c(0x4dd)]=_0x3e904f(se());}(Es,function(_0x4a89f3){(function(){const _0x9bca8c=_0x3094;var _0xfdaf11=_0x4a89f3,_0x528bea=_0xfdaf11[_0x9bca8c(0x506)],_0x3beaa1=_0x528bea[_0x9bca8c(0x303)],_0x14f2c0=_0xfdaf11[_0x9bca8c(0x4da)],_0x19b533=_0x14f2c0[_0x9bca8c(0x687)],_0x9d15db=_0xfdaf11['algo'];_0x9d15db['HMAC']=_0x3beaa1[_0x9bca8c(0x56c)]({'init':function(_0x2151cb,_0x41801a){const _0x2554f0=_0x9bca8c;_0x2151cb=this['_hasher']=new _0x2151cb[(_0x2554f0(0x66b))](),typeof _0x41801a==_0x2554f0(0x4ce)&&(_0x41801a=_0x19b533[_0x2554f0(0x345)](_0x41801a));var _0x5bbb30=_0x2151cb[_0x2554f0(0x666)],_0x454728=_0x5bbb30*0x4;_0x41801a[_0x2554f0(0x4d6)]>_0x454728&&(_0x41801a=_0x2151cb['finalize'](_0x41801a)),_0x41801a['clamp']();for(var _0x373e99=this[_0x2554f0(0x414)]=_0x41801a[_0x2554f0(0x20a)](),_0x276f62=this['_iKey']=_0x41801a[_0x2554f0(0x20a)](),_0xd70288=_0x373e99['words'],_0x278263=_0x276f62[_0x2554f0(0x292)],_0x5a9c2e=0x0;_0x5a9c2e<_0x5bbb30;_0x5a9c2e++)_0xd70288[_0x5a9c2e]^=0x5c5c5c5c,_0x278263[_0x5a9c2e]^=0x36363636;_0x373e99[_0x2554f0(0x4d6)]=_0x276f62[_0x2554f0(0x4d6)]=_0x454728,this[_0x2554f0(0x599)]();},'reset':function(){const _0x277a7c=_0x9bca8c;var _0x415fd2=this[_0x277a7c(0x41c)];_0x415fd2[_0x277a7c(0x599)](),_0x415fd2[_0x277a7c(0x3ef)](this[_0x277a7c(0x3a8)]);},'update':function(_0x169298){const _0x3dfeba=_0x9bca8c;return this['_hasher'][_0x3dfeba(0x3ef)](_0x169298),this;},'finalize':function(_0x4ba44a){const _0x5455c6=_0x9bca8c;var _0x361296=this[_0x5455c6(0x41c)],_0x885157=_0x361296[_0x5455c6(0x504)](_0x4ba44a);_0x361296[_0x5455c6(0x599)]();var _0x5c1261=_0x361296[_0x5455c6(0x504)](this[_0x5455c6(0x414)][_0x5455c6(0x20a)]()[_0x5455c6(0x2d4)](_0x885157));return _0x5c1261;}});}());}));}(qe)),qe[_0x38d9ea(0x4dd)];}var Ts=Ge['exports'],si;function Hi(){return si||(si=0x1,function(_0x88d6f1,_0x221cf1){(function(_0x3f2c0b,_0x1d7242,_0x91be05){_0x88d6f1['exports']=_0x1d7242(se(),Cs(),bs());}(Ts,function(_0x5d1c68){const _0x111a24=_0x3094;return(function(){const _0x50f164=_0x3094;var _0xc79b9a=_0x5d1c68,_0x1b6e34=_0xc79b9a[_0x50f164(0x506)],_0x1f6d38=_0x1b6e34[_0x50f164(0x303)],_0x4636ed=_0x1b6e34[_0x50f164(0x3c1)],_0x24d39c=_0xc79b9a[_0x50f164(0x38a)],_0x574159=_0x24d39c[_0x50f164(0x35a)],_0x3f520c=_0x24d39c['EvpKDF']=_0x1f6d38[_0x50f164(0x56c)]({'cfg':_0x1f6d38[_0x50f164(0x56c)]({'keySize':0x80/0x20,'hasher':_0x574159,'iterations':0x1}),'init':function(_0x4024c1){const _0x1a33b6=_0x50f164;this[_0x1a33b6(0x3f6)]=this[_0x1a33b6(0x3f6)][_0x1a33b6(0x56c)](_0x4024c1);},'compute':function(_0x2e4027,_0x4651af){const _0x224739=_0x50f164;for(var _0x3e0b9a,_0x4c8344=this[_0x224739(0x3f6)],_0x245461=_0x4c8344[_0x224739(0x403)]['create'](),_0x2ba0d6=_0x4636ed['create'](),_0x2b9626=_0x2ba0d6[_0x224739(0x292)],_0x1d7f39=_0x4c8344[_0x224739(0x45d)],_0xe7ef6=_0x4c8344[_0x224739(0x34c)];_0x2b9626[_0x224739(0x31c)]<_0x1d7f39;){_0x3e0b9a&&_0x245461[_0x224739(0x3ef)](_0x3e0b9a),_0x3e0b9a=_0x245461[_0x224739(0x3ef)](_0x2e4027)['finalize'](_0x4651af),_0x245461[_0x224739(0x599)]();for(var _0xd4b78f=0x1;_0xd4b78f<_0xe7ef6;_0xd4b78f++)_0x3e0b9a=_0x245461[_0x224739(0x504)](_0x3e0b9a),_0x245461[_0x224739(0x599)]();_0x2ba0d6[_0x224739(0x2d4)](_0x3e0b9a);}return _0x2ba0d6[_0x224739(0x4d6)]=_0x1d7f39*0x4,_0x2ba0d6;}});_0xc79b9a[_0x50f164(0x59b)]=function(_0x1687d6,_0x4f458f,_0x2f0f9c){const _0x29c8e0=_0x50f164;return _0x3f520c[_0x29c8e0(0x2d0)](_0x2f0f9c)[_0x29c8e0(0x64d)](_0x1687d6,_0x4f458f);};}()),_0x5d1c68[_0x111a24(0x59b)];}));}(Ge)),Ge['exports'];}var Ke={'exports':{}},Rs=Ke[_0x361975(0x4dd)],oi;function Bi(){const _0x1cd41e=_0x361975;return oi||(oi=0x1,function(_0x245f8c,_0xa0076c){(function(_0xe3c8a6,_0xe257e,_0x3480dc){const _0x1a6d8b=_0x3094;_0x245f8c[_0x1a6d8b(0x4dd)]=_0xe257e(se(),Hi());}(Rs,function(_0xf76438){const _0x45e9dd=_0x3094;_0xf76438[_0x45e9dd(0x506)][_0x45e9dd(0x42a)]||function(_0x2d1730){const _0x5957df=_0x45e9dd;var _0x16a98d=_0xf76438,_0x4a0757=_0x16a98d['lib'],_0x5a60ae=_0x4a0757[_0x5957df(0x303)],_0x50d09e=_0x4a0757[_0x5957df(0x3c1)],_0x4274da=_0x4a0757[_0x5957df(0x462)],_0x31f7ea=_0x16a98d['enc'];_0x31f7ea['Utf8'];var _0x2b4246=_0x31f7ea[_0x5957df(0x2f7)],_0x5d2162=_0x16a98d[_0x5957df(0x38a)],_0x35a3ee=_0x5d2162[_0x5957df(0x59b)],_0x282113=_0x4a0757[_0x5957df(0x42a)]=_0x4274da['extend']({'cfg':_0x5a60ae['extend'](),'createEncryptor':function(_0x33c25f,_0x2fcddf){return this['create'](this['_ENC_XFORM_MODE'],_0x33c25f,_0x2fcddf);},'createDecryptor':function(_0x9fb8d6,_0x4afc84){const _0x184a76=_0x5957df;return this[_0x184a76(0x2d0)](this[_0x184a76(0x57f)],_0x9fb8d6,_0x4afc84);},'init':function(_0xff5f87,_0x468208,_0x3e9c0){const _0x370341=_0x5957df;this[_0x370341(0x3f6)]=this['cfg'][_0x370341(0x56c)](_0x3e9c0),this['_xformMode']=_0xff5f87,this[_0x370341(0x2a7)]=_0x468208,this[_0x370341(0x599)]();},'reset':function(){const _0x23fcf7=_0x5957df;_0x4274da[_0x23fcf7(0x599)][_0x23fcf7(0x489)](this),this[_0x23fcf7(0x4de)]();},'process':function(_0x19328f){const _0xeda80c=_0x5957df;return this['_append'](_0x19328f),this[_0xeda80c(0x614)]();},'finalize':function(_0x1b9a71){const _0x401634=_0x5957df;_0x1b9a71&&this[_0x401634(0x6b0)](_0x1b9a71);var _0x3c395a=this[_0x401634(0x31b)]();return _0x3c395a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2d2fe0(_0x598ecc){return typeof _0x598ecc=='string'?_0x4ddfce:_0x391f4f;}return function(_0x1fe930){return{'encrypt':function(_0x31fcb6,_0x1c80f4,_0x2b26f6){const _0x3f2192=_0x3094;return _0x2d2fe0(_0x1c80f4)[_0x3f2192(0x437)](_0x1fe930,_0x31fcb6,_0x1c80f4,_0x2b26f6);},'decrypt':function(_0x5607fb,_0x2f7770,_0x5a13fc){const _0x4ddd90=_0x3094;return _0x2d2fe0(_0x2f7770)[_0x4ddd90(0x607)](_0x1fe930,_0x5607fb,_0x2f7770,_0x5a13fc);}};};}())});_0x4a0757[_0x5957df(0x65c)]=_0x282113['extend']({'_doFinalize':function(){var _0x1d2d64=this['_process'](!0x0);return _0x1d2d64;},'blockSize':0x1});var _0x603c99=_0x16a98d[_0x5957df(0x35c)]={},_0x119684=_0x4a0757['BlockCipherMode']=_0x5a60ae[_0x5957df(0x56c)]({'createEncryptor':function(_0xde40a7,_0x1f37dd){const _0xb24ca7=_0x5957df;return this['Encryptor'][_0xb24ca7(0x2d0)](_0xde40a7,_0x1f37dd);},'createDecryptor':function(_0x5cf72b,_0x5d27ee){const _0x1e6ad2=_0x5957df;return this['Decryptor'][_0x1e6ad2(0x2d0)](_0x5cf72b,_0x5d27ee);},'init':function(_0x598651,_0x1e8d9a){const _0x1d1093=_0x5957df;this['_cipher']=_0x598651,this[_0x1d1093(0x601)]=_0x1e8d9a;}}),_0x379f8b=_0x603c99[_0x5957df(0x471)]=(function(){const _0x4c5693=_0x5957df;var _0x5b50c2=_0x119684[_0x4c5693(0x56c)]();_0x5b50c2[_0x4c5693(0x561)]=_0x5b50c2[_0x4c5693(0x56c)]({'processBlock':function(_0x57c414,_0x532c82){const _0x21766a=_0x4c5693;var _0x42f62c=this['_cipher'],_0x24b357=_0x42f62c[_0x21766a(0x666)];_0x19d4bf['call'](this,_0x57c414,_0x532c82,_0x24b357),_0x42f62c['encryptBlock'](_0x57c414,_0x532c82),this['_prevBlock']=_0x57c414['slice'](_0x532c82,_0x532c82+_0x24b357);}}),_0x5b50c2[_0x4c5693(0x674)]=_0x5b50c2[_0x4c5693(0x56c)]({'processBlock':function(_0x325d82,_0x1d0d3c){const _0x548863=_0x4c5693;var _0x407451=this[_0x548863(0x552)],_0x4da1dd=_0x407451[_0x548863(0x666)],_0x554858=_0x325d82[_0x548863(0x64c)](_0x1d0d3c,_0x1d0d3c+_0x4da1dd);_0x407451['decryptBlock'](_0x325d82,_0x1d0d3c),_0x19d4bf[_0x548863(0x489)](this,_0x325d82,_0x1d0d3c,_0x4da1dd),this[_0x548863(0x240)]=_0x554858;}});function _0x19d4bf(_0xde6c63,_0x157d47,_0x355c0c){const _0x213481=_0x4c5693;var _0x3a6631,_0x1830d5=this['_iv'];_0x1830d5?(_0x3a6631=_0x1830d5,this[_0x213481(0x601)]=_0x2d1730):_0x3a6631=this[_0x213481(0x240)];for(var _0x8d7083=0x0;_0x8d7083<_0x355c0c;_0x8d7083++)_0xde6c63[_0x157d47+_0x8d7083]^=_0x3a6631[_0x8d7083];}return _0x5b50c2;}()),_0x56789b=_0x16a98d['pad']={},_0x431527=_0x56789b[_0x5957df(0x4af)]={'pad':function(_0x3e4c23,_0xcb2080){const _0x5cbd95=_0x5957df;for(var _0x558816=_0xcb2080*0x4,_0x158dfd=_0x558816-_0x3e4c23[_0x5cbd95(0x4d6)]%_0x558816,_0x988c10=_0x158dfd<<0x18|_0x158dfd<<0x10|_0x158dfd<<0x8|_0x158dfd,_0x1a3592=[],_0x241a92=0x0;_0x241a92<_0x158dfd;_0x241a92+=0x4)_0x1a3592[_0x5cbd95(0x297)](_0x988c10);var _0x569891=_0x50d09e[_0x5cbd95(0x2d0)](_0x1a3592,_0x158dfd);_0x3e4c23[_0x5cbd95(0x2d4)](_0x569891);},'unpad':function(_0x18309d){const _0x48dc04=_0x5957df;var _0x12db4c=_0x18309d['words'][_0x18309d[_0x48dc04(0x4d6)]-0x1>>>0x2]&0xff;_0x18309d[_0x48dc04(0x4d6)]-=_0x12db4c;}};_0x4a0757['BlockCipher']=_0x282113['extend']({'cfg':_0x282113[_0x5957df(0x3f6)][_0x5957df(0x56c)]({'mode':_0x379f8b,'padding':_0x431527}),'reset':function(){const _0x366e4b=_0x5957df;var _0x281ee6;_0x282113[_0x366e4b(0x599)]['call'](this);var _0x2c8282=this['cfg'],_0x39ec4f=_0x2c8282['iv'],_0x28c65a=_0x2c8282[_0x366e4b(0x35c)];this[_0x366e4b(0x52d)]==this[_0x366e4b(0x56b)]?_0x281ee6=_0x28c65a[_0x366e4b(0x4ff)]:(_0x281ee6=_0x28c65a[_0x366e4b(0x652)],this[_0x366e4b(0x330)]=0x1),this[_0x366e4b(0x5f8)]&&this[_0x366e4b(0x5f8)][_0x366e4b(0x21b)]==_0x281ee6?this[_0x366e4b(0x5f8)][_0x366e4b(0x66b)](this,_0x39ec4f&&_0x39ec4f[_0x366e4b(0x292)]):(this['_mode']=_0x281ee6[_0x366e4b(0x489)](_0x28c65a,this,_0x39ec4f&&_0x39ec4f[_0x366e4b(0x292)]),this['_mode'][_0x366e4b(0x21b)]=_0x281ee6);},'_doProcessBlock':function(_0x5e1484,_0x156368){const _0x44a236=_0x5957df;this['_mode'][_0x44a236(0x60d)](_0x5e1484,_0x156368);},'_doFinalize':function(){const _0x29c652=_0x5957df;var _0x1dc9ce,_0x1f79a1=this[_0x29c652(0x3f6)][_0x29c652(0x5b9)];return this[_0x29c652(0x52d)]==this[_0x29c652(0x56b)]?(_0x1f79a1[_0x29c652(0x1fb)](this[_0x29c652(0x4dc)],this['blockSize']),_0x1dc9ce=this[_0x29c652(0x614)](!0x0)):(_0x1dc9ce=this[_0x29c652(0x614)](!0x0),_0x1f79a1[_0x29c652(0x34a)](_0x1dc9ce)),_0x1dc9ce;},'blockSize':0x80/0x20});var _0x49a70e=_0x4a0757['CipherParams']=_0x5a60ae[_0x5957df(0x56c)]({'init':function(_0x3e1633){this['mixIn'](_0x3e1633);},'toString':function(_0x4634e1){const _0xdd6e2a=_0x5957df;return(_0x4634e1||this['formatter'])[_0xdd6e2a(0x5a9)](this);}}),_0x47b935=_0x16a98d[_0x5957df(0x2a0)]={},_0xcf7aad=_0x47b935[_0x5957df(0x65b)]={'stringify':function(_0x216546){const _0x49ecf7=_0x5957df;var _0x4ef83a,_0x3aa63d=_0x216546[_0x49ecf7(0x624)],_0x598ba1=_0x216546[_0x49ecf7(0x2c3)];return _0x598ba1?_0x4ef83a=_0x50d09e[_0x49ecf7(0x2d0)]([0x53616c74,0x65645f5f])[_0x49ecf7(0x2d4)](_0x598ba1)[_0x49ecf7(0x2d4)](_0x3aa63d):_0x4ef83a=_0x3aa63d,_0x4ef83a['toString'](_0x2b4246);},'parse':function(_0xfad29b){const _0x193705=_0x5957df;var _0x2b1049,_0x3efee0=_0x2b4246[_0x193705(0x345)](_0xfad29b),_0x574952=_0x3efee0['words'];return _0x574952[0x0]==0x53616c74&&_0x574952[0x1]==0x65645f5f&&(_0x2b1049=_0x50d09e['create'](_0x574952[_0x193705(0x64c)](0x2,0x4)),_0x574952[_0x193705(0x551)](0x0,0x4),_0x3efee0[_0x193705(0x4d6)]-=0x10),_0x49a70e[_0x193705(0x2d0)]({'ciphertext':_0x3efee0,'salt':_0x2b1049});}},_0x391f4f=_0x4a0757[_0x5957df(0x5a4)]=_0x5a60ae['extend']({'cfg':_0x5a60ae[_0x5957df(0x56c)]({'format':_0xcf7aad}),'encrypt':function(_0x357f8b,_0x2942cd,_0x622198,_0x5f4b39){const _0x52c106=_0x5957df;_0x5f4b39=this[_0x52c106(0x3f6)][_0x52c106(0x56c)](_0x5f4b39);var _0x2ff92d=_0x357f8b[_0x52c106(0x4ff)](_0x622198,_0x5f4b39),_0x5a36df=_0x2ff92d[_0x52c106(0x504)](_0x2942cd),_0x5b271d=_0x2ff92d['cfg'];return _0x49a70e[_0x52c106(0x2d0)]({'ciphertext':_0x5a36df,'key':_0x622198,'iv':_0x5b271d['iv'],'algorithm':_0x357f8b,'mode':_0x5b271d[_0x52c106(0x35c)],'padding':_0x5b271d[_0x52c106(0x5b9)],'blockSize':_0x357f8b[_0x52c106(0x666)],'formatter':_0x5f4b39[_0x52c106(0x2a0)]});},'decrypt':function(_0x5c1bd3,_0x5119f5,_0x55d474,_0x16ed58){const _0xbbeb49=_0x5957df;_0x16ed58=this[_0xbbeb49(0x3f6)][_0xbbeb49(0x56c)](_0x16ed58),_0x5119f5=this[_0xbbeb49(0x31e)](_0x5119f5,_0x16ed58[_0xbbeb49(0x2a0)]);var _0x1e29ed=_0x5c1bd3[_0xbbeb49(0x652)](_0x55d474,_0x16ed58)[_0xbbeb49(0x504)](_0x5119f5[_0xbbeb49(0x624)]);return _0x1e29ed;},'_parse':function(_0x331669,_0x181d6e){const _0xfeab84=_0x5957df;return typeof _0x331669==_0xfeab84(0x4ce)?_0x181d6e['parse'](_0x331669,this):_0x331669;}}),_0x469c95=_0x16a98d[_0x5957df(0x460)]={},_0x1ac11a=_0x469c95['OpenSSL']={'execute':function(_0x17beb7,_0x1da36c,_0x50864e,_0x5e2e5a,_0x472f9e){const _0xf9d8e8=_0x5957df;if(_0x5e2e5a||(_0x5e2e5a=_0x50d09e[_0xf9d8e8(0x582)](0x40/0x8)),_0x472f9e)var _0x16848b=_0x35a3ee[_0xf9d8e8(0x2d0)]({'keySize':_0x1da36c+_0x50864e,'hasher':_0x472f9e})['compute'](_0x17beb7,_0x5e2e5a);else var _0x16848b=_0x35a3ee[_0xf9d8e8(0x2d0)]({'keySize':_0x1da36c+_0x50864e})['compute'](_0x17beb7,_0x5e2e5a);var _0xad58c2=_0x50d09e[_0xf9d8e8(0x2d0)](_0x16848b[_0xf9d8e8(0x292)][_0xf9d8e8(0x64c)](_0x1da36c),_0x50864e*0x4);return _0x16848b[_0xf9d8e8(0x4d6)]=_0x1da36c*0x4,_0x49a70e[_0xf9d8e8(0x2d0)]({'key':_0x16848b,'iv':_0xad58c2,'salt':_0x5e2e5a});}},_0x4ddfce=_0x4a0757['PasswordBasedCipher']=_0x391f4f[_0x5957df(0x56c)]({'cfg':_0x391f4f[_0x5957df(0x3f6)][_0x5957df(0x56c)]({'kdf':_0x1ac11a}),'encrypt':function(_0x2cfef8,_0x124439,_0x50c7d8,_0x1a0952){const _0x1f4391=_0x5957df;_0x1a0952=this['cfg'][_0x1f4391(0x56c)](_0x1a0952);var _0x3cf273=_0x1a0952['kdf'][_0x1f4391(0x29f)](_0x50c7d8,_0x2cfef8[_0x1f4391(0x45d)],_0x2cfef8[_0x1f4391(0x3bc)],_0x1a0952[_0x1f4391(0x2c3)],_0x1a0952[_0x1f4391(0x403)]);_0x1a0952['iv']=_0x3cf273['iv'];var _0x459a67=_0x391f4f[_0x1f4391(0x437)]['call'](this,_0x2cfef8,_0x124439,_0x3cf273['key'],_0x1a0952);return _0x459a67[_0x1f4391(0x51a)](_0x3cf273),_0x459a67;},'decrypt':function(_0x45a9b2,_0x27f4ff,_0x3452f3,_0x4c2e36){const _0x5afc36=_0x5957df;_0x4c2e36=this['cfg'][_0x5afc36(0x56c)](_0x4c2e36),_0x27f4ff=this[_0x5afc36(0x31e)](_0x27f4ff,_0x4c2e36[_0x5afc36(0x2a0)]);var _0x3bdaea=_0x4c2e36[_0x5afc36(0x460)][_0x5afc36(0x29f)](_0x3452f3,_0x45a9b2[_0x5afc36(0x45d)],_0x45a9b2[_0x5afc36(0x3bc)],_0x27f4ff['salt'],_0x4c2e36[_0x5afc36(0x403)]);_0x4c2e36['iv']=_0x3bdaea['iv'];var _0x5b43b4=_0x391f4f[_0x5afc36(0x607)][_0x5afc36(0x489)](this,_0x45a9b2,_0x27f4ff,_0x3bdaea['key'],_0x4c2e36);return _0x5b43b4;}});}();}));}(Ke)),Ke[_0x1cd41e(0x4dd)];}var Os=ke['exports'],ai;function ys(){const _0x7b3f76=_0x361975;return ai||(ai=0x1,function(_0x1232c0,_0xfc7095){(function(_0x30dabb,_0x1d10c3,_0x48dce0){const _0x3d6452=_0x3094;_0x1232c0[_0x3d6452(0x4dd)]=_0x1d10c3(se(),ji(),gs(),Hi(),Bi());}(Os,function(_0x3af075){return(function(){const _0x44df15=_0x3094;var _0x651e7e=_0x3af075,_0x3abff8=_0x651e7e[_0x44df15(0x506)],_0x22ea2f=_0x3abff8[_0x44df15(0x4ad)],_0x459cd6=_0x651e7e['algo'],_0x3bfe5c=[],_0x15cebb=[],_0x42cbeb=[],_0x7f8b98=[],_0x528c0b=[],_0x123af4=[],_0x60de71=[],_0x4ee4ef=[],_0x2ccb4b=[],_0x54091a=[];(function(){for(var _0x97063e=[],_0x1dd836=0x0;_0x1dd836<0x100;_0x1dd836++)_0x1dd836<0x80?_0x97063e[_0x1dd836]=_0x1dd836<<0x1:_0x97063e[_0x1dd836]=_0x1dd836<<0x1^0x11b;for(var _0x4607bd=0x0,_0x454b48=0x0,_0x1dd836=0x0;_0x1dd836<0x100;_0x1dd836++){var _0x5934f6=_0x454b48^_0x454b48<<0x1^_0x454b48<<0x2^_0x454b48<<0x3^_0x454b48<<0x4;_0x5934f6=_0x5934f6>>>0x8^_0x5934f6&0xff^0x63,_0x3bfe5c[_0x4607bd]=_0x5934f6,_0x15cebb[_0x5934f6]=_0x4607bd;var _0x56c319=_0x97063e[_0x4607bd],_0x4cfaa4=_0x97063e[_0x56c319],_0x318753=_0x97063e[_0x4cfaa4],_0xab4fd4=_0x97063e[_0x5934f6]*0x101^_0x5934f6*0x1010100;_0x42cbeb[_0x4607bd]=_0xab4fd4<<0x18|_0xab4fd4>>>0x8,_0x7f8b98[_0x4607bd]=_0xab4fd4<<0x10|_0xab4fd4>>>0x10,_0x528c0b[_0x4607bd]=_0xab4fd4<<0x8|_0xab4fd4>>>0x18,_0x123af4[_0x4607bd]=_0xab4fd4;var _0xab4fd4=_0x318753*0x1010101^_0x4cfaa4*0x10001^_0x56c319*0x101^_0x4607bd*0x1010100;_0x60de71[_0x5934f6]=_0xab4fd4<<0x18|_0xab4fd4>>>0x8,_0x4ee4ef[_0x5934f6]=_0xab4fd4<<0x10|_0xab4fd4>>>0x10,_0x2ccb4b[_0x5934f6]=_0xab4fd4<<0x8|_0xab4fd4>>>0x18,_0x54091a[_0x5934f6]=_0xab4fd4,_0x4607bd?(_0x4607bd=_0x56c319^_0x97063e[_0x97063e[_0x97063e[_0x318753^_0x56c319]]],_0x454b48^=_0x97063e[_0x97063e[_0x454b48]]):_0x4607bd=_0x454b48=0x1;}}());var _0x27dce8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1a0ead=_0x459cd6[_0x44df15(0x4b4)]=_0x22ea2f[_0x44df15(0x56c)]({'_doReset':function(){const _0x4bcb47=_0x44df15;var _0x236878;if(!(this['_nRounds']&&this[_0x4bcb47(0x226)]===this[_0x4bcb47(0x2a7)])){for(var _0x194d3f=this[_0x4bcb47(0x226)]=this['_key'],_0x15d342=_0x194d3f['words'],_0xbfe8a=_0x194d3f['sigBytes']/0x4,_0x37036d=this[_0x4bcb47(0x56f)]=_0xbfe8a+0x6,_0x59640b=(_0x37036d+0x1)*0x4,_0x1ae4c3=this['_keySchedule']=[],_0x3944ff=0x0;_0x3944ff<_0x59640b;_0x3944ff++)_0x3944ff<_0xbfe8a?_0x1ae4c3[_0x3944ff]=_0x15d342[_0x3944ff]:(_0x236878=_0x1ae4c3[_0x3944ff-0x1],_0x3944ff%_0xbfe8a?_0xbfe8a>0x6&&_0x3944ff%_0xbfe8a==0x4&&(_0x236878=_0x3bfe5c[_0x236878>>>0x18]<<0x18|_0x3bfe5c[_0x236878>>>0x10&0xff]<<0x10|_0x3bfe5c[_0x236878>>>0x8&0xff]<<0x8|_0x3bfe5c[_0x236878&0xff]):(_0x236878=_0x236878<<0x8|_0x236878>>>0x18,_0x236878=_0x3bfe5c[_0x236878>>>0x18]<<0x18|_0x3bfe5c[_0x236878>>>0x10&0xff]<<0x10|_0x3bfe5c[_0x236878>>>0x8&0xff]<<0x8|_0x3bfe5c[_0x236878&0xff],_0x236878^=_0x27dce8[_0x3944ff/_0xbfe8a|0x0]<<0x18),_0x1ae4c3[_0x3944ff]=_0x1ae4c3[_0x3944ff-_0xbfe8a]^_0x236878);for(var _0x4c51b2=this['_invKeySchedule']=[],_0x4ad820=0x0;_0x4ad820<_0x59640b;_0x4ad820++){var _0x3944ff=_0x59640b-_0x4ad820;if(_0x4ad820%0x4)var _0x236878=_0x1ae4c3[_0x3944ff];else var _0x236878=_0x1ae4c3[_0x3944ff-0x4];_0x4ad820<0x4||_0x3944ff<=0x4?_0x4c51b2[_0x4ad820]=_0x236878:_0x4c51b2[_0x4ad820]=_0x60de71[_0x3bfe5c[_0x236878>>>0x18]]^_0x4ee4ef[_0x3bfe5c[_0x236878>>>0x10&0xff]]^_0x2ccb4b[_0x3bfe5c[_0x236878>>>0x8&0xff]]^_0x54091a[_0x3bfe5c[_0x236878&0xff]];}}},'encryptBlock':function(_0x37a5d6,_0x1bff78){const _0x56fad1=_0x44df15;this['_doCryptBlock'](_0x37a5d6,_0x1bff78,this[_0x56fad1(0x697)],_0x42cbeb,_0x7f8b98,_0x528c0b,_0x123af4,_0x3bfe5c);},'decryptBlock':function(_0x30a6ee,_0x3eb6a8){const _0x1e1841=_0x44df15;var _0x3f640d=_0x30a6ee[_0x3eb6a8+0x1];_0x30a6ee[_0x3eb6a8+0x1]=_0x30a6ee[_0x3eb6a8+0x3],_0x30a6ee[_0x3eb6a8+0x3]=_0x3f640d,this[_0x1e1841(0x6aa)](_0x30a6ee,_0x3eb6a8,this['_invKeySchedule'],_0x60de71,_0x4ee4ef,_0x2ccb4b,_0x54091a,_0x15cebb);var _0x3f640d=_0x30a6ee[_0x3eb6a8+0x1];_0x30a6ee[_0x3eb6a8+0x1]=_0x30a6ee[_0x3eb6a8+0x3],_0x30a6ee[_0x3eb6a8+0x3]=_0x3f640d;},'_doCryptBlock':function(_0x13f3a9,_0x23890b,_0x3f09c7,_0x361783,_0x51ad1b,_0x4f263d,_0x4e45f4,_0x3be146){for(var _0x1a5484=this['_nRounds'],_0x3ab0ba=_0x13f3a9[_0x23890b]^_0x3f09c7[0x0],_0x69cf74=_0x13f3a9[_0x23890b+0x1]^_0x3f09c7[0x1],_0x33a217=_0x13f3a9[_0x23890b+0x2]^_0x3f09c7[0x2],_0x18a493=_0x13f3a9[_0x23890b+0x3]^_0x3f09c7[0x3],_0x8f3369=0x4,_0x581a07=0x1;_0x581a07<_0x1a5484;_0x581a07++){var _0x2b7fe8=_0x361783[_0x3ab0ba>>>0x18]^_0x51ad1b[_0x69cf74>>>0x10&0xff]^_0x4f263d[_0x33a217>>>0x8&0xff]^_0x4e45f4[_0x18a493&0xff]^_0x3f09c7[_0x8f3369++],_0x172abf=_0x361783[_0x69cf74>>>0x18]^_0x51ad1b[_0x33a217>>>0x10&0xff]^_0x4f263d[_0x18a493>>>0x8&0xff]^_0x4e45f4[_0x3ab0ba&0xff]^_0x3f09c7[_0x8f3369++],_0x58cc9c=_0x361783[_0x33a217>>>0x18]^_0x51ad1b[_0x18a493>>>0x10&0xff]^_0x4f263d[_0x3ab0ba>>>0x8&0xff]^_0x4e45f4[_0x69cf74&0xff]^_0x3f09c7[_0x8f3369++],_0x189013=_0x361783[_0x18a493>>>0x18]^_0x51ad1b[_0x3ab0ba>>>0x10&0xff]^_0x4f263d[_0x69cf74>>>0x8&0xff]^_0x4e45f4[_0x33a217&0xff]^_0x3f09c7[_0x8f3369++];_0x3ab0ba=_0x2b7fe8,_0x69cf74=_0x172abf,_0x33a217=_0x58cc9c,_0x18a493=_0x189013;}var _0x2b7fe8=(_0x3be146[_0x3ab0ba>>>0x18]<<0x18|_0x3be146[_0x69cf74>>>0x10&0xff]<<0x10|_0x3be146[_0x33a217>>>0x8&0xff]<<0x8|_0x3be146[_0x18a493&0xff])^_0x3f09c7[_0x8f3369++],_0x172abf=(_0x3be146[_0x69cf74>>>0x18]<<0x18|_0x3be146[_0x33a217>>>0x10&0xff]<<0x10|_0x3be146[_0x18a493>>>0x8&0xff]<<0x8|_0x3be146[_0x3ab0ba&0xff])^_0x3f09c7[_0x8f3369++],_0x58cc9c=(_0x3be146[_0x33a217>>>0x18]<<0x18|_0x3be146[_0x18a493>>>0x10&0xff]<<0x10|_0x3be146[_0x3ab0ba>>>0x8&0xff]<<0x8|_0x3be146[_0x69cf74&0xff])^_0x3f09c7[_0x8f3369++],_0x189013=(_0x3be146[_0x18a493>>>0x18]<<0x18|_0x3be146[_0x3ab0ba>>>0x10&0xff]<<0x10|_0x3be146[_0x69cf74>>>0x8&0xff]<<0x8|_0x3be146[_0x33a217&0xff])^_0x3f09c7[_0x8f3369++];_0x13f3a9[_0x23890b]=_0x2b7fe8,_0x13f3a9[_0x23890b+0x1]=_0x172abf,_0x13f3a9[_0x23890b+0x2]=_0x58cc9c,_0x13f3a9[_0x23890b+0x3]=_0x189013;},'keySize':0x100/0x20});_0x651e7e[_0x44df15(0x4b4)]=_0x22ea2f[_0x44df15(0x214)](_0x1a0ead);}()),_0x3af075['AES'];}));}(ke)),ke[_0x7b3f76(0x4dd)];}var Ds=ys();const Ps=$e(Ds);var ws=ji();const ci=$e(ws);var ze={'exports':{}},Us=ze[_0x361975(0x4dd)],li;function Ms(){const _0x4129d6=_0x361975;return li||(li=0x1,function(_0x472e80,_0x4e6e93){(function(_0x5a4ea9,_0x443609){_0x472e80['exports']=_0x443609(se());}(Us,function(_0x43a189){const _0x1a7f66=_0x3094;return _0x43a189[_0x1a7f66(0x4da)][_0x1a7f66(0x687)];}));}(ze)),ze[_0x4129d6(0x4dd)];}var Ns=Ms();const As=$e(Ns);var Xe={'exports':{}},Ls=Xe[_0x361975(0x4dd)],hi;function xs(){const _0x42b71b=_0x361975;return hi||(hi=0x1,function(_0x446cdc,_0x38ffa0){(function(_0x39d763,_0x3a34b3){const _0x1dafe0=_0x3094;_0x446cdc[_0x1dafe0(0x4dd)]=_0x3a34b3(se());}(Ls,function(_0xc5fac3){const _0x586c52=_0x3094;return(function(){const _0x5e0754=_0x3094;if(typeof ArrayBuffer==_0x5e0754(0x455)){var _0x5f037=_0xc5fac3,_0x330ec9=_0x5f037[_0x5e0754(0x506)],_0x3b9c3a=_0x330ec9[_0x5e0754(0x3c1)],_0xf6d670=_0x3b9c3a[_0x5e0754(0x66b)],_0x2d70a7=_0x3b9c3a[_0x5e0754(0x66b)]=function(_0x326c6b){const _0x56f519=_0x5e0754;if(_0x326c6b instanceof ArrayBuffer&&(_0x326c6b=new Uint8Array(_0x326c6b)),(_0x326c6b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x326c6b instanceof Uint8ClampedArray||_0x326c6b instanceof Int16Array||_0x326c6b instanceof Uint16Array||_0x326c6b instanceof Int32Array||_0x326c6b instanceof Uint32Array||_0x326c6b instanceof Float32Array||_0x326c6b instanceof Float64Array)&&(_0x326c6b=new Uint8Array(_0x326c6b[_0x56f519(0x4e3)],_0x326c6b[_0x56f519(0x440)],_0x326c6b[_0x56f519(0x490)])),_0x326c6b instanceof Uint8Array){for(var _0x196ab0=_0x326c6b[_0x56f519(0x490)],_0x4d0204=[],_0x363b33=0x0;_0x363b33<_0x196ab0;_0x363b33++)_0x4d0204[_0x363b33>>>0x2]|=_0x326c6b[_0x363b33]<<0x18-_0x363b33%0x4*0x8;_0xf6d670[_0x56f519(0x489)](this,_0x4d0204,_0x196ab0);}else _0xf6d670['apply'](this,arguments);};_0x2d70a7['prototype']=_0x3b9c3a;}}()),_0xc5fac3['lib'][_0x586c52(0x3c1)];}));}(Xe)),Xe[_0x42b71b(0x4dd)];}var $s=xs();const js=$e($s);var Je={'exports':{}},Hs=Je[_0x361975(0x4dd)],_i;function Bs(){return _i||(_i=0x1,function(_0x179e59,_0x10b5fe){(function(_0x10f13e,_0x4f751d,_0x3921ee){const _0x2aeecd=_0x3094;_0x179e59[_0x2aeecd(0x4dd)]=_0x4f751d(se(),Bi());}(Hs,function(_0x59908d){const _0x2765d9=_0x3094;return _0x59908d[_0x2765d9(0x1fb)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x59908d[_0x2765d9(0x1fb)][_0x2765d9(0x5d1)];}));}(Je)),Je['exports'];}var ks=Bs();const Ws=$e(ks);function Fs(_0x31f626,_0x29b31d){const _0x2d57b9=_0x361975,_0x54f40d=_0x29b31d-_0x31f626[_0x2d57b9(0x31c)]%_0x29b31d,_0x21ab00=String[_0x2d57b9(0x49d)](_0x54f40d)[_0x2d57b9(0x2bb)](_0x54f40d);return _0x31f626+_0x21ab00;}function Vs(_0x2954bd,_0x26c221){const _0x1879e2=_0x361975,_0x2264e2=js[_0x1879e2(0x582)](0x10),_0x2350f4=Fs(_0x2954bd,0x10),_0x3d015c=Ps['encrypt'](As[_0x1879e2(0x345)](_0x2350f4),ci['parse'](_0x26c221),{'iv':_0x2264e2,'padding':Ws});return _0x2264e2[_0x1879e2(0x2d4)](_0x3d015c[_0x1879e2(0x624)])[_0x1879e2(0x620)](ci);}function Gs(){const _0x3cb360=_0x361975,_0x22fdee=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x3cb360(0x4ba)];if(_0x22fdee){const _0x2abab7={'time':Math[_0x3cb360(0x5c2)](Date['now']()/0x3e8),'domain':location['hostname']};return Vs(JSON[_0x3cb360(0x5a9)](_0x2abab7),_0x22fdee);}}var Ys=Object['defineProperty'],qs=Object[_0x361975(0x3bb)],Ks=(_0x5c64d4,_0x4cafeb,_0x2be3fa,_0x224248)=>{const _0x2c518b=_0x361975;for(var _0xec61b0=_0x224248>0x1?void 0x0:_0x224248?qs(_0x4cafeb,_0x2be3fa):_0x4cafeb,_0x332dcf=_0x5c64d4[_0x2c518b(0x31c)]-0x1,_0x23f5fb;_0x332dcf>=0x0;_0x332dcf--)(_0x23f5fb=_0x5c64d4[_0x332dcf])&&(_0xec61b0=(_0x224248?_0x23f5fb(_0x4cafeb,_0x2be3fa,_0xec61b0):_0x23f5fb(_0xec61b0))||_0xec61b0);return _0x224248&&_0xec61b0&&Ys(_0x4cafeb,_0x2be3fa,_0xec61b0),_0xec61b0;},zs=(_0x1258b4,_0x2db7fe)=>(_0x2c718c,_0x4d36da)=>_0x2db7fe(_0x2c718c,_0x4d36da,_0x1258b4);let st=class{constructor(_0x200aa3){const _0x5c1aaf=_0x361975;this['_httpService']=_0x200aa3,this[_0x5c1aaf(0x613)]();}['_initRequestHeader'](){const _0x44d3e2=_0x361975;this[_0x44d3e2(0x53b)][_0x44d3e2(0x677)]({'interceptor':(_0x5e36bc,_0x802dc8)=>{const _0x3e5769=_0x44d3e2,_0x5bf0a4=_0x5e36bc['headers'],_0x2a4a9d=Gs();return _0x2a4a9d&&_0x5bf0a4[_0x3e5769(0x69a)](_0x3e5769(0x36b),_0x2a4a9d),_0x802dc8(_0x5e36bc);}});}};st=Ks([zs(0x0,a['Inject'](z['HTTPService']))],st);var Xs=Object['defineProperty'],Js=Object[_0x361975(0x3bb)],Zs=(_0x2ea65a,_0xe9aa3b,_0x2838b0,_0x369e71)=>{const _0x447c25=_0x361975;for(var _0x3a689f=_0x369e71>0x1?void 0x0:_0x369e71?Js(_0xe9aa3b,_0x2838b0):_0xe9aa3b,_0x4a24f5=_0x2ea65a[_0x447c25(0x31c)]-0x1,_0x46fe37;_0x4a24f5>=0x0;_0x4a24f5--)(_0x46fe37=_0x2ea65a[_0x4a24f5])&&(_0x3a689f=(_0x369e71?_0x46fe37(_0xe9aa3b,_0x2838b0,_0x3a689f):_0x46fe37(_0x3a689f))||_0x3a689f);return _0x369e71&&_0x3a689f&&Xs(_0xe9aa3b,_0x2838b0,_0x3a689f),_0x3a689f;},Et=(_0x55b817,_0x3d66d4)=>(_0x346088,_0x47a52f)=>_0x3d66d4(_0x346088,_0x47a52f,_0x55b817);const Qs=[_0x361975(0x257),_0x361975(0x3a5),_0x361975(0x563),_0x361975(0x59c),'image/bmp'],eo=0x5*0x400*0x400,to=_0x361975(0x537),io='/universer-api/stream/file/upload',no='EXCHANGE_SIGN_URL_SERVER_URL_KEY',ro=_0x361975(0x3dc);exports[_0x361975(0x25e)]=class{constructor(_0x26617a,_0x1305b3,_0x1f84ce){const _0x211f81=_0x361975;I(this,_0x211f81(0x49a),0x0),I(this,_0x211f81(0x2a8),new N[(_0x211f81(0x3e1))]()),I(this,_0x211f81(0x207),this[_0x211f81(0x2a8)]),I(this,_0x211f81(0x577),new Map()),(this[_0x211f81(0x53b)]=_0x26617a,this[_0x211f81(0x32b)]=_0x1305b3,this['_univerInstanceService']=_0x1f84ce);}[_0x361975(0x55a)](_0x533795){const _0x3611f0=_0x361975;this[_0x3611f0(0x49a)]=_0x533795,this[_0x3611f0(0x2a8)][_0x3611f0(0x514)](_0x533795);}[_0x361975(0x2ca)](_0x13ea23,_0x1c6c64){const _0x5959ab=_0x361975;if(_0x1c6c64===te[_0x5959ab(0x656)]['BASE64']){const _0x97801f=new Image();return _0x97801f[_0x5959ab(0x33a)]=_0x13ea23,_0x97801f;}return this['_imageSourceCache'][_0x5959ab(0x5e3)](_0x13ea23);}[_0x361975(0x480)](_0x10c61a,_0x3e0d29,_0x412f2d){const _0x4924f3=_0x361975;_0x3e0d29===te[_0x4924f3(0x656)][_0x4924f3(0x5d3)]||_0x412f2d==null||this[_0x4924f3(0x577)]['set'](_0x10c61a,_0x412f2d);}async[_0x361975(0x377)](_0x381191){const _0x57adde=_0x361975;try{const _0x556e98=this[_0x57adde(0x263)](this[_0x57adde(0x36f)](),''+_0x381191),_0x36e528=(await this[_0x57adde(0x53b)][_0x57adde(0x5e3)](_0x556e98))[_0x57adde(0x2eb)];if(_0x36e528[_0x57adde(0x384)]&&_0x36e528[_0x57adde(0x384)]['code']===bi['OK']){const _0x331359=new URL(_0x36e528[_0x57adde(0x661)],this[_0x57adde(0x200)]())['toString']();return Promise[_0x57adde(0x446)](_0x331359);}return Promise[_0x57adde(0x5f4)](_0x36e528[_0x57adde(0x384)]);}catch(_0x554694){return Promise[_0x57adde(0x5f4)](_0x554694);}}async[_0x361975(0x453)](_0x11c7a7){const _0xd37a70=_0x361975;let _0x36e45='';if(!Qs[_0xd37a70(0x406)](_0x11c7a7[_0xd37a70(0x585)]))return this[_0xd37a70(0x650)](),Promise[_0xd37a70(0x5f4)](new Error(te[_0xd37a70(0x43d)][_0xd37a70(0x5a5)]));if(_0x11c7a7['size']>eo)return this[_0xd37a70(0x650)](),Promise[_0xd37a70(0x5f4)](new Error(te[_0xd37a70(0x43d)][_0xd37a70(0x1f2)]));try{const _0xef689b=new FormData();_0xef689b['append'](_0xd37a70(0x31a),_0x11c7a7);const _0x113ac4=this[_0xd37a70(0x491)]['getFocusedUnit'](),_0x141661=_0x113ac4==null?void 0x0:_0x113ac4['getUnitId']();if(!_0x141661)throw new Error(_0xd37a70(0x3c6));const _0x6d18ff=this[_0xd37a70(0x390)]()+_0xd37a70(0x281)+_0x11c7a7[_0xd37a70(0x24d)]['toString']()+_0xd37a70(0x590)+Ti[_0xd37a70(0x618)]+'&assign='+encodeURIComponent(_0x141661),_0x4e2f4c=await(await fetch(_0x6d18ff,{'method':'POST','body':_0xef689b}))[_0xd37a70(0x503)]();if(typeof _0x4e2f4c[_0xd37a70(0x1e7)]!='string')return this[_0xd37a70(0x650)](),Promise[_0xd37a70(0x5f4)](new Error(te['ImageUploadStatusType'][_0xd37a70(0x54c)]));_0x36e45=_0x4e2f4c[_0xd37a70(0x1e7)];}catch{return this[_0xd37a70(0x650)](),Promise['reject'](new Error(te[_0xd37a70(0x43d)][_0xd37a70(0x54c)]));}return new Promise((_0x5c1b0f,_0xfaaf1)=>{const _0x59d0c3=new FileReader();_0x59d0c3['readAsDataURL'](_0x11c7a7),_0x59d0c3['onload']=_0x433415=>{const _0x5f4be6=_0x3094;var _0x35f976;const _0x1de946=(_0x35f976=_0x433415[_0x5f4be6(0x5e9)])==null?void 0x0:_0x35f976['result'];if(_0x1de946==null){this[_0x5f4be6(0x650)](),_0xfaaf1(new Error(te[_0x5f4be6(0x43d)][_0x5f4be6(0x54c)]));return;}const _0x3b946d=a[_0x5f4be6(0x344)][_0x5f4be6(0x22d)](0x6);_0x5c1b0f({'imageId':_0x3b946d,'imageSourceType':te[_0x5f4be6(0x656)]['UUID'],'source':_0x36e45,'base64Cache':_0x1de946,'status':te[_0x5f4be6(0x43d)][_0x5f4be6(0x3c9)]}),this[_0x5f4be6(0x650)]();};});}[_0x361975(0x390)](){const _0x4e0275=_0x361975;var _0x2eb5bc,_0x436c14;const _0xaad570=this[_0x4e0275(0x32b)][_0x4e0275(0x269)](to),_0x783440=this[_0x4e0275(0x32b)][_0x4e0275(0x269)](Z);return(_0x436c14=(_0x2eb5bc=_0x783440==null?void 0x0:_0x783440['uploadFileServerUrl'])!=null?_0x2eb5bc:_0xaad570)!=null?_0x436c14:io;}[_0x361975(0x36f)](){const _0x468c36=_0x361975;var _0x280900,_0x21eb0b;const _0x5d7093=this[_0x468c36(0x32b)][_0x468c36(0x269)](no),_0x19d63a=this[_0x468c36(0x32b)][_0x468c36(0x269)](Z);return(_0x21eb0b=(_0x280900=_0x19d63a==null?void 0x0:_0x19d63a[_0x468c36(0x5bd)])!=null?_0x280900:_0x5d7093)!=null?_0x21eb0b:ro;}[_0x361975(0x200)](){const _0x57071f=_0x361975;var _0x4eba9f;const _0xb3a6c4=this[_0x57071f(0x32b)][_0x57071f(0x269)](Z);return(_0x4eba9f=_0xb3a6c4==null?void 0x0:_0xb3a6c4[_0x57071f(0x682)])!=null?_0x4eba9f:location[_0x57071f(0x370)];}['_replaceFileID'](_0x3a7045,_0xb10235){const _0x2a9d51=_0x361975;return _0x3a7045['replace'](_0x2a9d51(0x52a),_0xb10235);}[_0x361975(0x650)](){const _0x45237f=_0x361975;this[_0x45237f(0x49a)]-=0x1,this[_0x45237f(0x2a8)][_0x45237f(0x514)](this['_waitCount']);}},exports[_0x361975(0x25e)]=Zs([Et(0x0,a['Inject'](z['HTTPService'])),Et(0x1,a['IConfigService']),Et(0x2,a[_0x361975(0x4b5)](a['IUniverInstanceService']))],exports[_0x361975(0x25e)]);var so=Object[_0x361975(0x23f)],oo=Object[_0x361975(0x3bb)],ao=(_0x2f884b,_0x15f977,_0x4c540f,_0x552c28)=>{for(var _0x462de4=_0x552c28>0x1?void 0x0:_0x552c28?oo(_0x15f977,_0x4c540f):_0x15f977,_0xe4cc23=_0x2f884b['length']-0x1,_0x452edf;_0xe4cc23>=0x0;_0xe4cc23--)(_0x452edf=_0x2f884b[_0xe4cc23])&&(_0x462de4=(_0x552c28?_0x452edf(_0x15f977,_0x4c540f,_0x462de4):_0x452edf(_0x462de4))||_0x462de4);return _0x552c28&&_0x462de4&&so(_0x15f977,_0x4c540f,_0x462de4),_0x462de4;},ui=(_0x5981f9,_0x54a854)=>(_0x123c69,_0x38c34c)=>_0x54a854(_0x123c69,_0x38c34c,_0x5981f9);const co=_0x361975(0x64e);exports[_0x361975(0x41f)]=class{constructor(_0x7c818b,_0x52c0d7){this['_configService']=_0x7c818b,this['_HTTPService']=_0x52c0d7;}[_0x361975(0x4d1)](){const _0x2d3f84=_0x361975;var _0x5aa25a,_0x5aae2a;const _0xd01cf5=this['_configService'][_0x2d3f84(0x269)](xt),_0xbf4807=this[_0x2d3f84(0x32b)]['getConfig'](Z);return(_0x5aae2a=(_0x5aa25a=_0xbf4807==null?void 0x0:_0xbf4807['authzUrl'])!=null?_0x5aa25a:_0xd01cf5)!=null?_0x5aae2a:co;}async[_0x361975(0x679)](_0x1bc798){const _0x41dd94=_0x361975,_0x197fb2=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x41dd94(0x1fa)][_0x41dd94(0x5e3)](_0x197fb2,{'params':{'objectID':_0x1bc798[_0x41dd94(0x693)],'unitID':_0x1bc798['unitId']}}))[_0x41dd94(0x2eb)][_0x41dd94(0x413)][_0x41dd94(0x4ec)](_0x58e05c=>({'objectId':_0x58e05c['id'],'name':_0x58e05c[_0x41dd94(0x606)]['name'],'metadata':{'icon':_0x58e05c[_0x41dd94(0x606)]['avatar']},'label':_0x58e05c['subject'][_0x41dd94(0x5a6)],'objectType':a[_0x41dd94(0x379)][_0x41dd94(0x324)]})),'metadata':{},'type':a['MentionType'][_0x41dd94(0x324)]}]};}},exports[_0x361975(0x41f)]=ao([ui(0x0,a[_0x361975(0x4b5)](a[_0x361975(0x314)])),ui(0x1,a['Inject'](z[_0x361975(0x4c2)]))],exports[_0x361975(0x41f)]);var lo=Object[_0x361975(0x23f)],ho=Object[_0x361975(0x3bb)],_o=(_0x4e46cb,_0xf90116,_0x18c2bf,_0x5eec8b)=>{const _0x2bc356=_0x361975;for(var _0x13180=_0x5eec8b>0x1?void 0x0:_0x5eec8b?ho(_0xf90116,_0x18c2bf):_0xf90116,_0xd14476=_0x4e46cb[_0x2bc356(0x31c)]-0x1,_0x5ee2c0;_0xd14476>=0x0;_0xd14476--)(_0x5ee2c0=_0x4e46cb[_0xd14476])&&(_0x13180=(_0x5eec8b?_0x5ee2c0(_0xf90116,_0x18c2bf,_0x13180):_0x5ee2c0(_0x13180))||_0x13180);return _0x5eec8b&&_0x13180&&lo(_0xf90116,_0x18c2bf,_0x13180),_0x13180;},Ne=(_0x1e2c1e,_0x1fdeed)=>(_0x25b25c,_0x3e0894)=>_0x1fdeed(_0x25b25c,_0x3e0894,_0x1e2c1e);let ot=class extends a['RxDisposable']{constructor(_0x277c70,_0x597f61,_0x280554,_0x46443f,_0x3f3cfa){const _0x32e4ce=_0x361975;super(),this[_0x32e4ce(0x5f2)]=_0x277c70,this[_0x32e4ce(0x491)]=_0x597f61,this[_0x32e4ce(0x27a)]=_0x280554,this['_collaborationSessionService']=_0x46443f,this['_localeService']=_0x3f3cfa,this[_0x32e4ce(0x5e6)](),this[_0x32e4ce(0x5d8)]();}[_0x361975(0x5d8)](){const _0x3b3fd3=_0x361975,_0x132343=async _0x5b179b=>{const _0x231ae8=_0x3094;(await this[_0x231ae8(0x4e5)][_0x231ae8(0x21c)](_0x5b179b))[_0x231ae8(0x52e)][_0x231ae8(0x256)](V['filter'](_0x330874=>_0x330874[_0x231ae8(0x395)]===m[_0x231ae8(0x3aa)][_0x231ae8(0x1f0)]),V[_0x231ae8(0x23d)](this['dispose$']))[_0x231ae8(0x2d2)](_0x674fcd=>{const _0x2a952c=_0x231ae8,_0x2d4301=_0x674fcd,{reason:_0x595545}=_0x2d4301[_0x2a952c(0x405)];this[_0x2a952c(0x5f2)][_0x2a952c(0x5e3)](ee[_0x2a952c(0x4a0)])[_0x2a952c(0x4d8)]({'type':Ce[_0x2a952c(0x42c)][_0x2a952c(0x44f)],'content':this[_0x2a952c(0x312)]['t'](_0x2a952c(0x35e))+'('+_0x595545+')'}),this['_permissionService'][_0x2a952c(0x5ba)](new k[(_0x2a952c(0x361))](_0x5b179b)['id'],!0x1),this[_0x2a952c(0x4e5)][_0x2a952c(0x2fd)](_0x5b179b);});};N[_0x3b3fd3(0x5dd)](this[_0x3b3fd3(0x491)][_0x3b3fd3(0x6ad)](a[_0x3b3fd3(0x481)][_0x3b3fd3(0x327)]),this[_0x3b3fd3(0x491)][_0x3b3fd3(0x6ad)](a[_0x3b3fd3(0x481)]['UNIVER_DOC']))['pipe'](V[_0x3b3fd3(0x4ec)](_0x4d28f6=>_0x4d28f6['getUnitId']()),V[_0x3b3fd3(0x4f0)](_0x421c4b=>!a[_0x3b3fd3(0x602)](_0x421c4b)),V[_0x3b3fd3(0x23d)](this[_0x3b3fd3(0x3cd)]))[_0x3b3fd3(0x2d2)](_0x27f7a=>{_0x132343(_0x27f7a);});}['_initUnitPermissionChange'](){const _0x5a37d2=_0x361975,_0x255eb6=async _0x1691a1=>{const _0x47b2c1=_0x3094;(await this['_collaborationSessionService']['requireSession'](_0x1691a1))[_0x47b2c1(0x52e)][_0x47b2c1(0x256)](V[_0x47b2c1(0x4f0)](_0x94ebad=>_0x94ebad['eventID']===m['CollaborationEvent'][_0x47b2c1(0x54b)]),V[_0x47b2c1(0x23d)](this['dispose$']))['subscribe'](_0x523133=>{const _0x87e659=_0x47b2c1,_0x4f5dfa=_0x523133,{objectId:_0x10d2c4}=_0x4f5dfa['data'],_0x2291cf=this[_0x87e659(0x5f2)][_0x87e659(0x5e3)](Le[_0x87e659(0x543)]);_0x10d2c4===_0x1691a1?_0x2291cf[_0x87e659(0x294)](_0x1691a1):_0x2291cf[_0x87e659(0x39f)](_0x1691a1,_0x10d2c4);});};N['merge'](this[_0x5a37d2(0x491)][_0x5a37d2(0x6ad)](a[_0x5a37d2(0x481)][_0x5a37d2(0x327)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x5a37d2(0x5f5)]))['pipe'](V[_0x5a37d2(0x4ec)](_0x2cce3c=>_0x2cce3c[_0x5a37d2(0x5db)]()),V['filter'](_0x15eab6=>!a['isInternalEditorID'](_0x15eab6)),V[_0x5a37d2(0x23d)](this[_0x5a37d2(0x3cd)]))['subscribe'](_0x7f4ffc=>{_0x255eb6(_0x7f4ffc);});}};ot=_o([Ne(0x0,a[_0x361975(0x4b5)](a['Injector'])),Ne(0x1,a[_0x361975(0x63c)]),Ne(0x2,a[_0x361975(0x53f)]),Ne(0x3,a[_0x361975(0x4b5)](exports[_0x361975(0x245)])),Ne(0x4,a[_0x361975(0x4b5)](a['LocaleService']))],ot);var uo=Object[_0x361975(0x23f)],fo=Object[_0x361975(0x3bb)],vo=(_0x4e84c4,_0x395a0d,_0x4375f2,_0x50d5b9)=>{for(var _0x4a91d8=_0x50d5b9>0x1?void 0x0:_0x50d5b9?fo(_0x395a0d,_0x4375f2):_0x395a0d,_0xcf908=_0x4e84c4['length']-0x1,_0x268916;_0xcf908>=0x0;_0xcf908--)(_0x268916=_0x4e84c4[_0xcf908])&&(_0x4a91d8=(_0x50d5b9?_0x268916(_0x395a0d,_0x4375f2,_0x4a91d8):_0x268916(_0x4a91d8))||_0x4a91d8);return _0x50d5b9&&_0x4a91d8&&uo(_0x395a0d,_0x4375f2,_0x4a91d8),_0x4a91d8;},di=(_0x997385,_0x32aa0b)=>(_0x175c7e,_0x515ffb)=>_0x32aa0b(_0x175c7e,_0x515ffb,_0x997385);exports[_0x361975(0x2b0)]=class{constructor(_0x3617e2,_0x4548d7){const _0x5f4c99=_0x361975;this[_0x5f4c99(0x32b)]=_0x3617e2,this[_0x5f4c99(0x53b)]=_0x4548d7;}async['getUnitOnRev'](_0x318ad3,_0x37b113){const _0x1f2456=_0x361975;var _0x13fbc5;const {unitID:_0x8ffd2,type:_0x389248,revision:_0x2f90fc=0x0}=_0x37b113,_0x2458c5=this[_0x1f2456(0x5ad)]()+'/'+_0x389248+_0x1f2456(0x341)+_0x8ffd2+_0x1f2456(0x24b)+_0x2f90fc,_0x4b6488=(await this[_0x1f2456(0x53b)][_0x1f2456(0x5e3)](_0x2458c5))[_0x1f2456(0x2eb)],_0x3ad7b3=(_0x13fbc5=_0x4b6488[_0x1f2456(0x29c)])==null?void 0x0:_0x13fbc5['workbook'];if(_0x3ad7b3){const _0x41269d=_0x3ad7b3==null?void 0x0:_0x3ad7b3[_0x1f2456(0x435)],_0x628462=m['textEncoder'][_0x1f2456(0x279)](m[_0x1f2456(0x4c0)](_0x41269d));_0x3ad7b3[_0x1f2456(0x435)]=_0x628462,Object[_0x1f2456(0x21d)](_0x3ad7b3[_0x1f2456(0x5b1)])[_0x1f2456(0x3d7)](([,_0x2c77ed])=>{const _0x20b484=_0x1f2456,_0x32dbf5=_0x2c77ed[_0x20b484(0x435)],_0x61877=m['textEncoder'][_0x20b484(0x279)](m[_0x20b484(0x4c0)](_0x32dbf5));_0x2c77ed[_0x20b484(0x435)]=_0x61877;});}return _0x4b6488;}async[_0x361975(0x47b)](_0x4b98dc,_0x346a76){const _0x17ab8c=_0x361975,{unitID:_0x249657,type:_0x20b745,blockID:_0x8d666}=_0x346a76,_0x315cb7=this[_0x17ab8c(0x668)]()+'/'+_0x20b745+_0x17ab8c(0x341)+_0x249657+'/block/'+_0x8d666;return(await this[_0x17ab8c(0x53b)][_0x17ab8c(0x5e3)](_0x315cb7))['body'];}async['getDeserializedSheetBlock'](_0x1db6e0,_0x3aa77a){const _0x202e8b=_0x361975,{unitID:_0x14f5db,type:_0x426e1a,blockID:_0x497c1b}=_0x3aa77a,_0x15d294=this[_0x202e8b(0x668)]()+'/block/'+_0x426e1a+_0x202e8b(0x341)+_0x14f5db+_0x202e8b(0x465)+_0x497c1b;return(await this['_httpService'][_0x202e8b(0x5e3)](_0x15d294))['body'];}async[_0x361975(0x642)](_0x5b668a,_0x14dcc3){const _0x11efca=_0x361975,{unitID:_0x30bce4,type:_0x416517,from:_0x238422,to:_0x44a899}=_0x14dcc3,_0xefb023=this[_0x11efca(0x668)]()+'/'+_0x416517+'/unit/'+_0x30bce4+_0x11efca(0x48b)+_0x238422+_0x11efca(0x500)+_0x44a899;return(await this['_httpService'][_0x11efca(0x5e3)](_0xefb023))['body'];}[_0x361975(0x5ad)](){const _0x3e859b=_0x361975;var _0x54f1fd;return(_0x54f1fd=this[_0x3e859b(0x32b)][_0x3e859b(0x269)](vi))!=null?_0x54f1fd:this['_getAPIPrefix']();}[_0x361975(0x668)](){const _0x47b52a=_0x361975;var _0x1732c8,_0x3bc2d9;const _0x1d32b6=this[_0x47b52a(0x32b)][_0x47b52a(0x269)](fi),_0x3a6075=this[_0x47b52a(0x32b)]['getConfig'](Z);return(_0x3bc2d9=(_0x1732c8=_0x3a6075==null?void 0x0:_0x3a6075[_0x47b52a(0x2c9)])!=null?_0x1732c8:_0x1d32b6)!=null?_0x3bc2d9:qi;}async['getResourcesRequest'](_0x1cc00e,_0x214100){const _0x23fdcd=_0x361975,_0x51f2fa=_0x23fdcd(0x57d)+_0x214100['type']+_0x23fdcd(0x341)+_0x214100['unitID']+_0x23fdcd(0x32c);return(await this[_0x23fdcd(0x53b)][_0x23fdcd(0x5e3)](_0x51f2fa,{'params':{'resourceId':JSON['stringify'](_0x214100[_0x23fdcd(0x3e8)])}}))['body'];}[_0x361975(0x5f3)](){const _0x1e0cfb=_0x361975;throw new Error(_0x1e0cfb(0x208));}[_0x361975(0x5bf)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x361975(0x203)](){const _0x107d99=_0x361975;throw new Error(_0x107d99(0x208));}[_0x361975(0x43a)](){const _0x4e94bf=_0x361975;throw new Error(_0x4e94bf(0x208));}[_0x361975(0x2fe)](){const _0x5608d5=_0x361975;throw new Error(_0x5608d5(0x208));}},exports[_0x361975(0x2b0)]=vo([di(0x0,a[_0x361975(0x314)]),di(0x1,a[_0x361975(0x4b5)](z[_0x361975(0x4c2)]))],exports[_0x361975(0x2b0)]);var So=Object[_0x361975(0x23f)],po=Object['getOwnPropertyDescriptor'],mo=(_0x4a16b3,_0x26e3c9,_0x4e06f8,_0x27d056)=>{const _0x2f988b=_0x361975;for(var _0xf89879=_0x27d056>0x1?void 0x0:_0x27d056?po(_0x26e3c9,_0x4e06f8):_0x26e3c9,_0x31541a=_0x4a16b3[_0x2f988b(0x31c)]-0x1,_0xd8dbdf;_0x31541a>=0x0;_0x31541a--)(_0xd8dbdf=_0x4a16b3[_0x31541a])&&(_0xf89879=(_0x27d056?_0xd8dbdf(_0x26e3c9,_0x4e06f8,_0xf89879):_0xd8dbdf(_0xf89879))||_0xf89879);return _0x27d056&&_0xf89879&&So(_0x26e3c9,_0x4e06f8,_0xf89879),_0xf89879;},Ae=(_0x2a9fd5,_0x233f93)=>(_0x3d7344,_0x598608)=>_0x233f93(_0x3d7344,_0x598608,_0x2a9fd5);let yt=class extends a[_0x361975(0x337)]{constructor(_0x49101b,_0x460b03,_0xe0202b,_0x1351ca,_0x2dfa1a){const _0xffca89=_0x361975;super(_0x49101b,_0x460b03,_0xe0202b),this[_0xffca89(0x1e8)]=_0x1351ca,this[_0xffca89(0x442)]=_0x2dfa1a;}[_0x361975(0x4cc)](_0x8ee43a,_0x156f49){const _0x279bb7=_0x361975,_0x2a6198=this[_0x279bb7(0x681)](_0x8ee43a);if(_0x2a6198)try{const _0x4102de=this[_0x279bb7(0x322)](_0x2a6198,_0x156f49);this[_0x279bb7(0x3da)](_0x8ee43a,_0x4102de);}catch(_0x22387a){this[_0x279bb7(0x442)][_0x279bb7(0x384)](_0x279bb7(0x660),_0x22387a),this[_0x279bb7(0x28e)](_0x8ee43a);}const _0x60dc9f=this[_0x279bb7(0x307)](_0x8ee43a);if(_0x60dc9f)try{const _0x127fb6=this[_0x279bb7(0x322)](_0x60dc9f,_0x156f49);this[_0x279bb7(0x4c6)](_0x8ee43a,_0x127fb6);}catch(_0xab601e){this[_0x279bb7(0x442)][_0x279bb7(0x384)](_0xab601e),this[_0x279bb7(0x663)](_0x8ee43a);}}[_0x361975(0x28e)](_0x4dea07){const _0x388c55=_0x361975,_0x36d7ea=this['_getUndoStack'](_0x4dea07);_0x36d7ea&&(_0x36d7ea[_0x388c55(0x31c)]=0x0,this[_0x388c55(0x6a0)]());}[_0x361975(0x663)](_0x268edf){const _0x26dddb=_0x361975,_0x54d9dc=this[_0x26dddb(0x307)](_0x268edf);_0x54d9dc&&(_0x54d9dc[_0x26dddb(0x31c)]=0x0,this[_0x26dddb(0x6a0)]());}['_substituteUndoStack'](_0x394e3e,_0x430fe8){const _0x5e1c70=_0x361975;this[_0x5e1c70(0x267)][_0x5e1c70(0x69a)](_0x394e3e,_0x430fe8),this[_0x5e1c70(0x6a0)]();}[_0x361975(0x4c6)](_0x57b8ab,_0x52f432){const _0x4dbb8a=_0x361975;this[_0x4dbb8a(0x62b)]['set'](_0x57b8ab,_0x52f432),this[_0x4dbb8a(0x6a0)]();}[_0x361975(0x322)](_0x54e008,_0x34e83e){const _0x461e2e=_0x361975,_0x2ddba4=[];let _0x1ac331=_0x34e83e,_0xf6dafc=_0x34e83e;for(let _0x225e27=_0x54e008['length']-0x1;_0x225e27>=0x0;_0x225e27--){const {unitID:_0x763a91,undoMutations:_0x21ed95,redoMutations:_0x1a9789}=_0x54e008[_0x225e27],_0x1339f4=this[_0x461e2e(0x1e8)][_0x461e2e(0x600)](_0x1ac331,_0x21ed95),_0x2c53c7=this[_0x461e2e(0x1e8)][_0x461e2e(0x600)](_0xf6dafc,_0x1a9789);if(m[_0x461e2e(0x40f)](_0x1339f4)||m['isTransformMutationsWithChangesetFailure'](_0x2c53c7)){this[_0x461e2e(0x442)][_0x461e2e(0x384)](_0x461e2e(0x660),_0x461e2e(0x2d8),_0x1339f4,_0x2c53c7);break;}_0x1ac331=_0x1339f4['c1Prime'],_0xf6dafc=_0x2c53c7[_0x461e2e(0x4ae)],_0x2ddba4[_0x461e2e(0x297)]({'unitID':_0x763a91,'undoMutations':_0x1339f4[_0x461e2e(0x298)],'redoMutations':_0x2c53c7[_0x461e2e(0x298)]});}return _0x2ddba4[_0x461e2e(0x2f0)]();}};yt=mo([Ae(0x0,a['IUniverInstanceService']),Ae(0x1,a['ICommandService']),Ae(0x2,a[_0x361975(0x2cf)]),Ae(0x3,m[_0x361975(0x24c)]),Ae(0x4,a[_0x361975(0x68e)])],yt);class ki extends a['RxDisposable']{constructor(){const _0x471611=_0x361975;super(),I(this,_0x471611(0x329)),this['urlChange$']=N[_0x471611(0x388)](window,_0x471611(0x485))[_0x471611(0x256)](N[_0x471611(0x23d)](this['dispose$']),N[_0x471611(0x3d9)](0x1),N[_0x471611(0x2f8)](void 0x0));}[_0x361975(0x32a)](_0x52611d,_0xf16c60,_0x46433f=!0x1){const _0x2c4f5f=_0x361975,_0x3009ad=new URL(window['location']['href']);_0x3009ad[_0x2c4f5f(0x220)][_0x2c4f5f(0x69a)](_0x52611d,_0xf16c60),_0x46433f?window[_0x2c4f5f(0x6b3)][_0x2c4f5f(0x686)]('','',_0x3009ad['toString']()):window[_0x2c4f5f(0x6b3)][_0x2c4f5f(0x3d2)]('','',_0x3009ad[_0x2c4f5f(0x620)]());}[_0x361975(0x5b2)](_0x189cbf,_0x246481=!0x1){const _0x166be1=_0x361975,_0x73e3ae=new URL(window['location'][_0x166be1(0x5f9)]);_0x73e3ae[_0x166be1(0x220)][_0x166be1(0x335)](_0x189cbf),_0x246481?window[_0x166be1(0x6b3)][_0x166be1(0x686)]('','',_0x73e3ae[_0x166be1(0x620)]()):window[_0x166be1(0x6b3)][_0x166be1(0x3d2)]('','',_0x73e3ae[_0x166be1(0x620)]());}[_0x361975(0x499)](_0x4f64b6){const _0x2924e9=_0x361975;var _0x297691;return(_0x297691=new URL(window[_0x2924e9(0x313)][_0x2924e9(0x5f9)])['searchParams'][_0x2924e9(0x5e3)](_0x4f64b6))!=null?_0x297691:void 0x0;}}var Wi=Object[_0x361975(0x23f)],go=Object[_0x361975(0x3bb)],Io=(_0x1f5a04,_0x5919a8,_0x19d7cd)=>_0x5919a8 in _0x1f5a04?Wi(_0x1f5a04,_0x5919a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19d7cd}):_0x1f5a04[_0x5919a8]=_0x19d7cd,Co=(_0x54796d,_0x5a1bd7,_0x2c91e9,_0x4ccfe8)=>{const _0x3b7954=_0x361975;for(var _0x1db163=_0x4ccfe8>0x1?void 0x0:_0x4ccfe8?go(_0x5a1bd7,_0x2c91e9):_0x5a1bd7,_0x2e75ff=_0x54796d[_0x3b7954(0x31c)]-0x1,_0x1b554f;_0x2e75ff>=0x0;_0x2e75ff--)(_0x1b554f=_0x54796d[_0x2e75ff])&&(_0x1db163=(_0x4ccfe8?_0x1b554f(_0x5a1bd7,_0x2c91e9,_0x1db163):_0x1b554f(_0x1db163))||_0x1db163);return _0x4ccfe8&&_0x1db163&&Wi(_0x5a1bd7,_0x2c91e9,_0x1db163),_0x1db163;},Be=(_0x198fc1,_0x5dbc1b)=>(_0x12959d,_0x4dddf9)=>_0x5dbc1b(_0x12959d,_0x4dddf9,_0x198fc1),Eo=(_0x546fcb,_0x411e3c,_0x70f7b2)=>Io(_0x546fcb,_0x411e3c+'',_0x70f7b2);const bo='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports['UniverCollaborationClientPlugin']=class extends a[_0x361975(0x431)]{constructor(_0x38d73d=sn,_0x1c56f3,_0x156f66,_0x309978,_0x30b399){const _0x130d21=_0x361975;super(),this[_0x130d21(0x57e)]=_0x38d73d,this[_0x130d21(0x442)]=_0x1c56f3,this[_0x130d21(0x594)]=_0x156f66,this[_0x130d21(0x5f2)]=_0x309978,this[_0x130d21(0x32b)]=_0x30b399;const {..._0x119924}=this[_0x130d21(0x57e)];this[_0x130d21(0x32b)][_0x130d21(0x4c8)](Z,_0x119924);}[_0x361975(0x46f)](){const _0x2f74d9=_0x361975;this[_0x2f74d9(0x586)](),this[_0x2f74d9(0x542)]();}[_0x361975(0x6b4)](){const _0x3e0b0=_0x361975;a[_0x3e0b0(0x318)](this[_0x3e0b0(0x5f2)],[[nt],[it]]);}[_0x361975(0x2e1)](){const _0x445fb5=_0x361975;this[_0x445fb5(0x1f1)]();}[_0x361975(0x586)](){const _0x105106=_0x361975;var _0x1986ae,_0x59516e,_0x16bcec,_0x13ac89;this[_0x105106(0x5f2)][_0x105106(0x638)](a['IUndoRedoService'])&&this[_0x105106(0x442)]['error'](_0x105106(0x325),_0x105106(0x222));const _0x529075=[[a[_0x105106(0x233)],{'useClass':yt}],[exports[_0x105106(0x245)]],[Nt],[Lt,{'useClass':ki}],[exports['MemberService']],[exports[_0x105106(0x436)]],[z[_0x105106(0x676)]],[Qe],[tt],[Ze],[et],[Ut],[rt],[st],[wt],[ot],[Pt,{'useClass':(_0x59516e=(_0x1986ae=this[_0x105106(0x57e)])==null?void 0x0:_0x1986ae[_0x105106(0x67b)])!=null?_0x59516e:exports[_0x105106(0x451)]}],[m[_0x105106(0x2ed)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x105106(0x5ae)],{'useClass':exports['AuthzIoHttpService']}],[te[_0x105106(0x238)],{'useClass':exports[_0x105106(0x25e)]}],[a[_0x105106(0x2d7)],{'useClass':exports[_0x105106(0x41f)]}],[exports['CollaborationController']],[exports[_0x105106(0x538)]],[exports[_0x105106(0x4e8)]],[nt],[ye],[it]];(_0x16bcec=this[_0x105106(0x57e)])!=null&&_0x16bcec[_0x105106(0x461)]&&_0x529075['push']([at,{'useClass':$n}]),a['registerDependencies'](this[_0x105106(0x5f2)],a[_0x105106(0x2ad)](_0x529075,(_0x13ac89=this[_0x105106(0x57e)])==null?void 0x0:_0x13ac89[_0x105106(0x308)]));}[_0x361975(0x1f1)](){const _0x1a2621=_0x361975;this[_0x1a2621(0x259)](this[_0x1a2621(0x594)]['registerRenderModule'](a[_0x1a2621(0x481)]['UNIVER_DOC'],[Rt])),this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](a[_0x1a2621(0x481)]['UNIVER_SHEET'],[Ot]));}[_0x361975(0x542)](){const _0x3345fc=_0x361975;var _0x1fec08,_0x45d404;this[_0x3345fc(0x5f2)]['get'](z[_0x3345fc(0x4c2)])[_0x3345fc(0x677)]({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x1fec08=this[_0x3345fc(0x57e)])!=null&&_0x1fec08[_0x3345fc(0x2ba)]||this[_0x3345fc(0x5f2)]['get'](exports[_0x3345fc(0x436)])['disableLocalCache'](),(_0x45d404=this[_0x3345fc(0x57e)])!=null&&_0x45d404['enableAuthServer']&&a['touchDependencies'](this[_0x3345fc(0x5f2)],[[rt]]),a[_0x3345fc(0x318)](this[_0x3345fc(0x5f2)],[[st],[ye],[exports['DataLoaderController']],[exports[_0x3345fc(0x6b2)]],[exports['DesktopCollaborationStatusDisplayController']],[ot]]);}},Eo(exports[_0x361975(0x39a)],_0x361975(0x572),bo),exports['UniverCollaborationClientPlugin']=Co([a[_0x361975(0x2f6)](m['UniverCollaborationPlugin'],z[_0x361975(0x2ae)]),Be(0x1,a['ILogService']),Be(0x2,Y[_0x361975(0x468)]),Be(0x3,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),Be(0x4,a[_0x361975(0x314)])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=xt,exports[_0x361975(0x478)]=Z,exports[_0x361975(0x215)]=Ci,exports[_0x361975(0x678)]=Si,exports[_0x361975(0x37a)]=K,exports[_0x361975(0x255)]=$i,exports[_0x361975(0x5c7)]=wt,exports['HEARTBEAT_INTERVAL_KEY']=pi,exports[_0x361975(0x669)]=Dt,exports[_0x361975(0x1eb)]=Pt,exports[_0x361975(0x5ec)]=Lt,exports[_0x361975(0x698)]=Ii,exports[_0x361975(0x584)]=Ei,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=gi,exports[_0x361975(0x4fe)]=Ki,exports[_0x361975(0x44c)]=fi,exports[_0x361975(0x409)]=vi,exports[_0x361975(0x2ac)]=ne,exports['SheetCollabCursorShape']=Mi,exports[_0x361975(0x3a9)]=ki,exports[_0x361975(0x29d)]=Ri,exports[_0x361975(0x570)]=Oi;
1
+ 'use strict';const _0x1ab38c=_0x33d2;(function(_0x19e6d8,_0x1e5c3c){const _0x4d88a1=_0x33d2,_0x3d64c3=_0x19e6d8();while(!![]){try{const _0x4e11ef=parseInt(_0x4d88a1(0x2ea))/0x1+parseInt(_0x4d88a1(0x171))/0x2+parseInt(_0x4d88a1(0x5c1))/0x3*(-parseInt(_0x4d88a1(0x2c4))/0x4)+-parseInt(_0x4d88a1(0x59f))/0x5+-parseInt(_0x4d88a1(0x5e9))/0x6*(-parseInt(_0x4d88a1(0x2fe))/0x7)+-parseInt(_0x4d88a1(0x2ce))/0x8*(parseInt(_0x4d88a1(0x584))/0x9)+parseInt(_0x4d88a1(0x5d1))/0xa;if(_0x4e11ef===_0x1e5c3c)break;else _0x3d64c3['push'](_0x3d64c3['shift']());}catch(_0x4b2685){_0x3d64c3['push'](_0x3d64c3['shift']());}}}(_0x2a33,0xef51d));var Fi=Object['defineProperty'],Vi=(_0x4d66d7,_0x31939b,_0x2315e9)=>_0x31939b in _0x4d66d7?Fi(_0x4d66d7,_0x31939b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2315e9}):_0x4d66d7[_0x31939b]=_0x2315e9,I=(_0x2c9aa1,_0x47f251,_0xccc494)=>Vi(_0x2c9aa1,typeof _0x47f251!=_0x1ab38c(0x177)?_0x47f251+'':_0x47f251,_0xccc494);Object[_0x1ab38c(0x322)](exports,Symbol['toStringTag'],{'value':_0x1ab38c(0x550)});const a=require(_0x1ab38c(0x316)),N=require(_0x1ab38c(0x577)),V=require(_0x1ab38c(0x360)),Ce=require('@univerjs/design'),z=require(_0x1ab38c(0x42f)),ee=require(_0x1ab38c(0x383)),m=require(_0x1ab38c(0x431)),Gi=require(_0x1ab38c(0x340)),Ie=require(_0x1ab38c(0x23b)),J=require('@univerjs/docs-ui'),k=require(_0x1ab38c(0x4c8)),Y=require(_0x1ab38c(0x2fa)),te=require(_0x1ab38c(0x253)),$t=require(_0x1ab38c(0x55b)),Le=require(_0x1ab38c(0x2ae)),oe=require('react'),Yi=require(_0x1ab38c(0x197)),fi='SNAPSHOT_SERVER_URL_KEY',qi=_0x1ab38c(0x55c),vi=_0x1ab38c(0x272),Ki=_0x1ab38c(0x504),zi=0x7d0,Si='COLLAB_WEB_SOCKET_URL',Xi='ws://127.0.0.1:8000/universer-api/comb/connect',Ji=_0x1ab38c(0x1b2),pi='HEARTBEAT_INTERVAL',Zi=0x7530,Dt=_0x1ab38c(0x352),mi=0x4e20,Qi=0x4e20,gi=_0x1ab38c(0x554),en=0x3,Ii=_0x1ab38c(0x563),tn=0x3e8,Ci=_0x1ab38c(0x1a8),nn=_0x1ab38c(0x26a),Ei=_0x1ab38c(0x285),rn=_0x1ab38c(0x3a9);var bi=(_0x2fae6e=>(_0x2fae6e[_0x2fae6e['UNDEFINED']=0x0]=_0x1ab38c(0x415),_0x2fae6e[_0x2fae6e['OK']=0x1]='OK',_0x2fae6e[_0x2fae6e['INTERNAL_ERROR']=0x2]=_0x1ab38c(0x345),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x45d)]=0x3]=_0x1ab38c(0x45d),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x2de)]=0x4]=_0x1ab38c(0x2de),_0x2fae6e[_0x2fae6e['UNAUTHENTICATED']=0x5]=_0x1ab38c(0x388),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x2a3)]=0x6]=_0x1ab38c(0x2a3),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x1de)]=0x7]=_0x1ab38c(0x1de),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x604)]=0x8]=_0x1ab38c(0x604),_0x2fae6e[_0x2fae6e['COMPLETION_FINISHED']=0x9]=_0x1ab38c(0x1c9),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x3e7)]=0x1389]=_0x1ab38c(0x3e7),_0x2fae6e[_0x2fae6e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1ab38c(0x170),_0x2fae6e[_0x2fae6e['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2fae6e[_0x2fae6e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1ab38c(0x2f1),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x3e5)]=0x1b59]=_0x1ab38c(0x3e5),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x35e)]=0x1b5a]=_0x1ab38c(0x35e),_0x2fae6e[_0x2fae6e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1ab38c(0x48f),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x3c1)]=0x1b5c]=_0x1ab38c(0x3c1),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x491)]=0x1b5d]=_0x1ab38c(0x491),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x400)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2fae6e[_0x2fae6e[_0x1ab38c(0x3c3)]=0x2329]=_0x1ab38c(0x3c3),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x5e4)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2fae6e[_0x2fae6e[_0x1ab38c(0x298)]=0x232b]=_0x1ab38c(0x298),_0x2fae6e[_0x2fae6e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2fae6e[_0x2fae6e[_0x1ab38c(0x1d2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2fae6e[_0x2fae6e['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2fae6e[_0x2fae6e[_0x1ab38c(0x33b)]=0x2712]=_0x1ab38c(0x33b),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x3e1)]=0x2713]=_0x1ab38c(0x3e1),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x4bd)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2fae6e[_0x2fae6e['UNRECOGNIZED']=-0x1]=_0x1ab38c(0x4d4),_0x2fae6e))(bi||{}),ie=(_0x275d48=>(_0x275d48[_0x275d48['UNIVER_UNKNOWN']=0x0]=_0x1ab38c(0x4b4),_0x275d48[_0x275d48[_0x1ab38c(0x355)]=0x1]='UNIVER_DOC',_0x275d48[_0x275d48[_0x1ab38c(0x2e0)]=0x2]=_0x1ab38c(0x2e0),_0x275d48[_0x275d48[_0x1ab38c(0x175)]=0x3]='UNIVER_SLIDE',_0x275d48[_0x275d48[_0x1ab38c(0x5f8)]=0x4]=_0x1ab38c(0x5f8),_0x275d48[_0x275d48[_0x1ab38c(0x4d4)]=-0x1]=_0x1ab38c(0x4d4),_0x275d48))(ie||{}),G=(_0x187214=>(_0x187214[_0x187214[_0x1ab38c(0x5e5)]=0x0]=_0x1ab38c(0x5e5),_0x187214[_0x187214[_0x1ab38c(0x622)]=0x1]=_0x1ab38c(0x622),_0x187214[_0x187214[_0x1ab38c(0x4ec)]=0x2]=_0x1ab38c(0x4ec),_0x187214[_0x187214[_0x1ab38c(0x59a)]=0x3]=_0x1ab38c(0x59a),_0x187214[_0x187214[_0x1ab38c(0x273)]=0x4]=_0x1ab38c(0x273),_0x187214[_0x187214[_0x1ab38c(0x27e)]=0x5]=_0x1ab38c(0x27e),_0x187214[_0x187214[_0x1ab38c(0x484)]=0x6]='RECV',_0x187214[_0x187214[_0x1ab38c(0x4d4)]=-0x1]='UNRECOGNIZED',_0x187214))(G||{}),ge=(_0x134194=>(_0x134194[_0x134194[_0x1ab38c(0x5e8)]=0x0]=_0x1ab38c(0x5e8),_0x134194[_0x134194['OK']=0x1]='OK',_0x134194[_0x134194[_0x1ab38c(0x50d)]=0x2]=_0x1ab38c(0x50d),_0x134194[_0x134194[_0x1ab38c(0x23e)]=0x3e9]='JOIN_ROOM_FULL',_0x134194[_0x134194['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x1ab38c(0x511),_0x134194[_0x134194[_0x1ab38c(0x19d)]=0x3eb]=_0x1ab38c(0x19d),_0x134194[_0x134194[_0x1ab38c(0x3f1)]=0x3ec]=_0x1ab38c(0x3f1),_0x134194[_0x134194[_0x1ab38c(0x4d4)]=-0x1]='UNRECOGNIZED',_0x134194))(ge||{}),Ti=(_0x46b6ad=>(_0x46b6ad[_0x46b6ad[_0x1ab38c(0x1d0)]=0x0]=_0x1ab38c(0x1d0),_0x46b6ad[_0x46b6ad[_0x1ab38c(0x296)]=0x1]='HttpImport',_0x46b6ad[_0x46b6ad[_0x1ab38c(0x594)]=0x2]='HttpExport',_0x46b6ad[_0x46b6ad['UnitEmbedded']=0x3]=_0x1ab38c(0x5a4),_0x46b6ad[_0x46b6ad[_0x1ab38c(0x2fd)]=0x4]=_0x1ab38c(0x2fd),_0x46b6ad[_0x46b6ad[_0x1ab38c(0x4d4)]=-0x1]='UNRECOGNIZED',_0x46b6ad))(Ti||{});const Z=_0x1ab38c(0x5c7),sn={};function Ri(_0x4432b8){const _0x2f5fb3=_0x1ab38c;var _0x32a5f8,_0x41d20e,_0x4e52e5,_0x1b5fbd,_0x5f542e;const _0x22d151=_0x4432b8['data'],_0xd95104=JSON[_0x2f5fb3(0x625)](_0x22d151);switch(_0xd95104[_0x2f5fb3(0x3ef)]){case G['HEARTBEAT']:case G[_0x2f5fb3(0x622)]:{const _0x48aa12=_0xd95104[_0x2f5fb3(0x558)];return{..._0xd95104,'data':_0x48aa12,'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};}case G[_0x2f5fb3(0x4ec)]:{const _0x5e139e=_0xd95104['joinRsp'];return{..._0xd95104,'data':_0x5e139e,'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};}case G[_0x2f5fb3(0x484)]:{const _0x4d5ee6=_0xd95104['collaMsg'];switch(_0x4d5ee6[_0x2f5fb3(0x25e)]){case m['CollaborationEvent'][_0x2f5fb3(0x399)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':(_0x32a5f8=_0x4d5ee6['permissionRejEvent'])==null?void 0x0:_0x32a5f8['cs']},'cmd':_0xd95104['cmd']};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x405)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':(_0x41d20e=_0x4d5ee6[_0x2f5fb3(0x50e)])==null?void 0x0:_0x41d20e['cs']},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x465)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':(_0x4e52e5=_0x4d5ee6[_0x2f5fb3(0x628)])==null?void 0x0:_0x4e52e5['cs']},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m['CollaborationEvent']['CHANGESET_REJ']:return{..._0xd95104,'data':{..._0x4d5ee6,'data':(_0x1b5fbd=_0x4d5ee6[_0x2f5fb3(0x3cd)])==null?void 0x0:_0x1b5fbd['cs']},'cmd':_0xd95104['cmd']};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x3e6)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':(_0x5f542e=_0x4d5ee6[_0x2f5fb3(0x1e6)])==null?void 0x0:_0x5f542e['cs']},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x57f)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x3d6)]},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m['CollaborationEvent'][_0x2f5fb3(0x3a0)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x523)]},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x1c0)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6['leaveEvent']},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)]['LIVESHARE_NEW_HOST']:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x4e9)]},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x336)]:case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x478)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x387)]},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)]['LIVESHARE_TERMINATE']:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x4e9)]},'cmd':_0xd95104['cmd']};case m['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0xd95104,'data':_0x4d5ee6,'cmd':_0xd95104['cmd']};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x581)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x1fa)]},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x231)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x329)]},'cmd':_0xd95104['cmd']};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x60f)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x420)]},'cmd':_0xd95104['cmd']};default:return _0xd95104;}}default:return _0xd95104;}}function Oi(_0x9ccd72){const _0x24e1e8=_0x1ab38c;switch(_0x9ccd72[_0x24e1e8(0x3ef)]){case G['HEARTBEAT']:case G[_0x24e1e8(0x622)]:return JSON[_0x24e1e8(0x330)]({'cmd':_0x9ccd72[_0x24e1e8(0x3ef)],'routeKey':_0x9ccd72[_0x24e1e8(0x505)]});case G[_0x24e1e8(0x273)]:{let _0x42f1ef;switch(_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x25e)]){case m[_0x24e1e8(0x60d)][_0x24e1e8(0x57f)]:{_0x42f1ef={'eventID':m[_0x24e1e8(0x60d)]['UPDATE_CURSOR'],'updateCursorEvent':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m[_0x24e1e8(0x60d)][_0x24e1e8(0x1c0)]:{_0x42f1ef={'eventID':m['CollaborationEvent'][_0x24e1e8(0x1c0)],'leaveEvent':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m['CollaborationEvent'][_0x24e1e8(0x3a0)]:{_0x42f1ef={'eventID':m['CollaborationEvent'][_0x24e1e8(0x3a0)],'joinEvent':_0x9ccd72['data'][_0x24e1e8(0x372)]};break;}case m[_0x24e1e8(0x60d)][_0x24e1e8(0x546)]:{_0x42f1ef={'eventID':m['CollaborationEvent'][_0x24e1e8(0x546)],'liveShareNewHost':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m['CollaborationEvent'][_0x24e1e8(0x478)]:{_0x42f1ef={'eventID':m[_0x24e1e8(0x60d)][_0x24e1e8(0x478)],'liveShareOperation':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x42f1ef={'eventID':m[_0x24e1e8(0x60d)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m[_0x24e1e8(0x60d)][_0x24e1e8(0x35c)]:{_0x42f1ef={'eventID':m['CollaborationEvent'][_0x24e1e8(0x35c)],'liveShareRequestHost':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m[_0x24e1e8(0x60d)][_0x24e1e8(0x336)]:{_0x42f1ef={'eventID':m['CollaborationEvent'][_0x24e1e8(0x336)]};break;}default:_0x42f1ef={'eventID':_0x9ccd72[_0x24e1e8(0x372)]['eventID']};}return JSON[_0x24e1e8(0x330)]({'cmd':_0x9ccd72[_0x24e1e8(0x3ef)],'routeKey':_0x9ccd72['routeKey'],'collaMsg':_0x42f1ef});}case G[_0x24e1e8(0x4ec)]:return JSON['stringify']({'cmd':_0x9ccd72[_0x24e1e8(0x3ef)],'routeKey':_0x9ccd72[_0x24e1e8(0x505)],'joinReq':_0x9ccd72[_0x24e1e8(0x372)]});case G[_0x24e1e8(0x59a)]:return JSON[_0x24e1e8(0x330)]({'cmd':_0x9ccd72[_0x24e1e8(0x3ef)],'routeKey':_0x9ccd72[_0x24e1e8(0x505)],'leaveReq':_0x9ccd72[_0x24e1e8(0x372)]});default:throw new Error(_0x24e1e8(0x45f));}}var on=Object[_0x1ab38c(0x322)],an=Object[_0x1ab38c(0x5da)],cn=(_0x3221ef,_0x2823c7,_0x3336ea,_0x54e938)=>{for(var _0x539267=_0x54e938>0x1?void 0x0:_0x54e938?an(_0x2823c7,_0x3336ea):_0x2823c7,_0x34b059=_0x3221ef['length']-0x1,_0x1b2c01;_0x34b059>=0x0;_0x34b059--)(_0x1b2c01=_0x3221ef[_0x34b059])&&(_0x539267=(_0x54e938?_0x1b2c01(_0x2823c7,_0x3336ea,_0x539267):_0x1b2c01(_0x539267))||_0x539267);return _0x54e938&&_0x539267&&on(_0x2823c7,_0x3336ea,_0x539267),_0x539267;},De=(_0x10102d,_0x1e142a)=>(_0x10479a,_0x489abc)=>_0x1e142a(_0x10479a,_0x489abc,_0x10102d);const Pt=a[_0x1ab38c(0x4d5)](_0x1ab38c(0x23c));function ln(_0x52271e,_0x23f33a,_0x52f9d8){const _0x1424df=_0x1ab38c;return _0x52271e+'/'+_0x23f33a+_0x1424df(0x57d)+_0x52f9d8+_0x1424df(0x374);}exports[_0x1ab38c(0x5dd)]=class extends a[_0x1ab38c(0x382)]{constructor(_0x212ab0,_0x1cbe65,_0x16b780,_0x4afff1,_0xbab996){const _0x251bbb=_0x1ab38c;super(),this[_0x251bbb(0x2df)]=_0x212ab0,this[_0x251bbb(0x3ad)]=_0x1cbe65,this['_configService']=_0x16b780,this['_logService']=_0x4afff1,this['_snapshotServerService']=_0xbab996;}[_0x1ab38c(0x4ad)](_0x1f46a3){const _0x3adaa5=_0x1ab38c,_0x370051=this[_0x3adaa5(0x3ad)][_0x3adaa5(0x4ad)](_0x1f46a3);if(!_0x370051)throw new Error(_0x3adaa5(0x536));const _0x2d1a43=new a[(_0x3adaa5(0x568))](),_0x4e8cc0=new N[(_0x3adaa5(0x2dc))]();_0x2d1a43[_0x3adaa5(0x3ed)](_0x370051[_0x3adaa5(0x561)]['subscribe'](_0x579fa5=>_0x4e8cc0['next'](_0x579fa5))),_0x2d1a43[_0x3adaa5(0x3ed)](a[_0x3adaa5(0x1fb)](()=>_0x4e8cc0[_0x3adaa5(0x1b0)]()));const _0x51f881=new N[(_0x3adaa5(0x2dc))]();_0x2d1a43['add'](_0x370051['error$'][_0x3adaa5(0x2cc)](_0x277550=>_0x51f881[_0x3adaa5(0x2c0)](_0x277550))),_0x2d1a43[_0x3adaa5(0x3ed)](a[_0x3adaa5(0x1fb)](()=>_0x51f881[_0x3adaa5(0x1b0)]()));const _0xc73501=new N[(_0x3adaa5(0x2dc))]();_0x2d1a43[_0x3adaa5(0x3ed)](_0x370051[_0x3adaa5(0x233)][_0x3adaa5(0x2cc)](_0x1b23be=>{const _0x103899=_0x3adaa5,_0x52962d=Ri(_0x1b23be);_0xc73501[_0x103899(0x2c0)](_0x52962d);})),_0x2d1a43[_0x3adaa5(0x3ed)](a[_0x3adaa5(0x1fb)](()=>_0xc73501[_0x3adaa5(0x1b0)]()));let _0x31013c;const _0x4c0fc1=()=>{const _0x378eea=_0x3adaa5;_0x51f881['next'](new Event(_0x378eea(0x29f))),_0x4e8cc0[_0x378eea(0x2c0)](new CloseEvent('connection\x20error')),_0x31013c[_0x378eea(0x4d2)]();};return _0x31013c={'memberID':'','close$':_0x4e8cc0[_0x3adaa5(0x3b4)](),'error$':_0x51f881[_0x3adaa5(0x3b4)](),'open$':_0x370051[_0x3adaa5(0x492)],'message$':_0xc73501[_0x3adaa5(0x3b4)](),'send':_0x306ed8=>{const _0x5ec128=_0x3adaa5;if(_0x306ed8[_0x5ec128(0x3ef)]===G['INGEST']){if(_0x306ed8[_0x5ec128(0x372)][_0x5ec128(0x25e)]===m[_0x5ec128(0x60d)][_0x5ec128(0x25a)]){this[_0x5ec128(0x2e9)](_0x31013c,_0x306ed8[_0x5ec128(0x372)])['catch'](_0x37047e=>{const _0x3e1ba1=_0x5ec128;this[_0x3e1ba1(0x4d3)][_0x3e1ba1(0x48d)](_0x37047e),_0x4c0fc1();});return;}if(_0x306ed8[_0x5ec128(0x372)][_0x5ec128(0x25e)]===m[_0x5ec128(0x60d)][_0x5ec128(0x288)]){const _0x365fc5=_0x306ed8['data'];this[_0x5ec128(0x506)](_0x365fc5)['then'](_0xfd7cc5=>{const _0x565424=_0x5ec128;_0xc73501[_0x565424(0x2c0)]({'cmd':G['RECV'],'code':ge['OK'],'routeKey':_0x365fc5[_0x565424(0x372)][_0x565424(0x3d4)],'routeType':'','data':{'eventID':m['CollaborationEvent'][_0x565424(0x4e8)],'data':{'changesets':_0xfd7cc5}}});})[_0x5ec128(0x3fe)](_0x40d57c=>{const _0xc839cc=_0x5ec128;this[_0xc839cc(0x4d3)][_0xc839cc(0x48d)](_0x40d57c),_0x4c0fc1();});return;}}_0x370051['send'](Oi(_0x306ed8));},'close':()=>{const _0x5d1b6a=_0x3adaa5;_0x370051[_0x5d1b6a(0x4d2)](),_0x2d1a43[_0x5d1b6a(0x31c)]();}},_0x31013c;}async[_0x1ab38c(0x2e9)](_0x39a200,_0x26340b){const _0x5ee5cf=_0x1ab38c;var _0x46bca4,_0x2e5067;const {unitType:_0x149823,unitID:_0x1f3ea3,changeset:_0x5f04c4}=_0x26340b[_0x5ee5cf(0x372)],_0x4757d3={'unitID':_0x1f3ea3,'memberID':_0x39a200[_0x5ee5cf(0x4c3)],'type':_0x149823,'changeset':m[_0x5ee5cf(0x1ed)](_0x5f04c4)},_0x596967=this[_0x5ee5cf(0x3fd)]['getConfig'](Ci),_0x13f910=this[_0x5ee5cf(0x3fd)]['getConfig'](Z),_0x1a824e=ln((_0x2e5067=(_0x46bca4=_0x13f910==null?void 0x0:_0x13f910[_0x5ee5cf(0x512)])!=null?_0x46bca4:_0x596967)!=null?_0x2e5067:nn,_0x149823,_0x1f3ea3);try{await this[_0x5ee5cf(0x2df)]['post'](_0x1a824e,{'body':_0x4757d3});}catch(_0x2f5e6c){throw this[_0x5ee5cf(0x4d3)]['error'](_0x5ee5cf(0x615),_0x5ee5cf(0x45a)),_0x2f5e6c;}}async[_0x1ab38c(0x506)](_0x949984){const _0x3e074c=_0x1ab38c,{unitID:_0x2399d1,from:_0x111428,to:_0x2d9c16,unitType:_0x4b1e67}=_0x949984[_0x3e074c(0x372)];return(await this[_0x3e074c(0x3fc)][_0x3e074c(0x476)]({'metadata':void 0x0},{'unitID':_0x2399d1,'type':_0x4b1e67,'from':_0x111428,'to':_0x2d9c16}))[_0x3e074c(0x51e)];}},exports[_0x1ab38c(0x5dd)]=cn([De(0x0,a['Inject'](z['HTTPService'])),De(0x1,a[_0x1ab38c(0x56d)](z['WebSocketService'])),De(0x2,a[_0x1ab38c(0x5bc)]),De(0x3,a['ILogService']),De(0x4,m['ISnapshotServerService'])],exports['CollaborationSocketService']);const hn=_0x1ab38c(0x267);function _n(_0xc9f98c){const _0x26aa4c=_0x1ab38c;return JSON[_0x26aa4c(0x330)](_0xc9f98c)[_0x26aa4c(0x2b7)];}class wt{constructor(){const _0x5141a5=_0x1ab38c;I(this,_0x5141a5(0x45b),new N['Subject']()),I(this,_0x5141a5(0x559),this['_commentUpdate$']['asObservable']());}[_0x1ab38c(0x21b)](_0x1cfe42){const _0x26739a=_0x1ab38c;this[_0x26739a(0x45b)]['next'](_0x1cfe42);}}var un=Object[_0x1ab38c(0x322)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x51e982,_0x6ab513,_0x3cc4ee,_0x3fc6e9)=>{const _0x4f6660=_0x1ab38c;for(var _0x5233c8=_0x3fc6e9>0x1?void 0x0:_0x3fc6e9?dn(_0x6ab513,_0x3cc4ee):_0x6ab513,_0x5aced7=_0x51e982[_0x4f6660(0x2b7)]-0x1,_0x3d72ef;_0x5aced7>=0x0;_0x5aced7--)(_0x3d72ef=_0x51e982[_0x5aced7])&&(_0x5233c8=(_0x3fc6e9?_0x3d72ef(_0x6ab513,_0x3cc4ee,_0x5233c8):_0x3d72ef(_0x5233c8))||_0x5233c8);return _0x3fc6e9&&_0x5233c8&&un(_0x6ab513,_0x3cc4ee,_0x5233c8),_0x5233c8;},jt=(_0x4d40c3,_0x45ec35)=>(_0x51d2a6,_0xd93703)=>_0x45ec35(_0x51d2a6,_0xd93703,_0x4d40c3);exports[_0x1ab38c(0x32f)]=class extends a[_0x1ab38c(0x382)]{constructor(_0x1dba97,_0x20f7a7){const _0x4de5a7=_0x1ab38c;super(),I(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0x1dba97,this[_0x4de5a7(0x5d5)]=_0x20f7a7,this[_0x4de5a7(0x4ae)](a[_0x4de5a7(0x1fb)](N[_0x4de5a7(0x24f)](this[_0x4de5a7(0x3b6)]['getTypeOfUnitDisposed$'](a[_0x4de5a7(0x564)][_0x4de5a7(0x2e0)])[_0x4de5a7(0x21a)](V['map'](_0x1073d2=>_0x1073d2[_0x4de5a7(0x2f9)]())),this['_univerInstanceService'][_0x4de5a7(0x4cd)](a[_0x4de5a7(0x564)]['UNIVER_DOC'])[_0x4de5a7(0x21a)](V['map'](_0x5f15e6=>_0x5f15e6[_0x4de5a7(0x2f9)]())),this[_0x4de5a7(0x3b6)]['getTypeOfUnitDisposed$'](a[_0x4de5a7(0x564)]['UNIVER_SLIDE'])[_0x4de5a7(0x21a)](V['map'](_0x25cfff=>_0x25cfff[_0x4de5a7(0x2f9)]())))['subscribe'](_0x24299f=>this[_0x4de5a7(0x3f8)](_0x24299f)))));}[_0x1ab38c(0x5aa)](_0x1ec41e){const _0x5d6328=_0x1ab38c;this[_0x5d6328(0x5d5)][_0x5d6328(0x5aa)](_0x1ec41e);}[_0x1ab38c(0x4f4)](){const _0x1bce71=_0x1ab38c;return this[_0x1bce71(0x5d5)]['getCurrentUser']();}[_0x1ab38c(0x183)](_0x38289a,_0x281d97){const _0x2d0491=_0x1ab38c;let _0x259556=this['_roomMembers'][_0x2d0491(0x3f9)](_0x38289a);_0x259556||(_0x259556=new vn(),this[_0x2d0491(0x24e)][_0x2d0491(0x1c6)](_0x38289a,_0x259556)),_0x259556[_0x2d0491(0x183)](_0x281d97);}[_0x1ab38c(0x447)](_0x5180d6,_0x6af4e7){const _0x4c2529=_0x1ab38c,_0x5abbb8=this[_0x4c2529(0x24e)][_0x4c2529(0x3f9)](_0x5180d6);_0x5abbb8&&_0x5abbb8[_0x4c2529(0x447)](_0x6af4e7);}[_0x1ab38c(0x445)](_0xbf3a7e){const _0x359234=_0x1ab38c;return this[_0x359234(0x24e)][_0x359234(0x3f9)](_0xbf3a7e);}['getMember'](_0x50916f,_0xb86f54){const _0x189f9f=_0x1ab38c,_0x41fbfb=this['_roomMembers']['get'](_0x50916f);if(_0x41fbfb)return _0x41fbfb[_0x189f9f(0x530)](_0xb86f54);}[_0x1ab38c(0x3f8)](_0x30ca1d){const _0x1baa2c=_0x1ab38c,_0x5ddca3=this[_0x1baa2c(0x24e)][_0x1baa2c(0x3f9)](_0x30ca1d);_0x5ddca3&&(_0x5ddca3['dispose'](),this[_0x1baa2c(0x24e)][_0x1baa2c(0x5d0)](_0x30ca1d));}[_0x1ab38c(0x31c)](){const _0x82f325=_0x1ab38c;this['_roomMembers'][_0x82f325(0x3f4)](_0x93395=>_0x93395[_0x82f325(0x31c)]()),this[_0x82f325(0x24e)][_0x82f325(0x5c8)]();}},exports[_0x1ab38c(0x32f)]=fn([jt(0x0,a[_0x1ab38c(0x585)]),jt(0x1,a['Inject'](a[_0x1ab38c(0x416)]))],exports[_0x1ab38c(0x32f)]);class vn extends a[_0x1ab38c(0x382)]{constructor(){const _0x328b99=_0x1ab38c;super(...arguments),I(this,_0x328b99(0x2b5),new Map());}[_0x1ab38c(0x31c)](){const _0x32d8e4=_0x1ab38c;this[_0x32d8e4(0x2b5)][_0x32d8e4(0x5c8)]();}[_0x1ab38c(0x183)](_0x5ed3ff){const _0x2e3dd3=_0x1ab38c;this[_0x2e3dd3(0x2b5)]['set'](_0x5ed3ff[_0x2e3dd3(0x4c3)],_0x5ed3ff);}[_0x1ab38c(0x447)](_0x777b4b){const _0x5ac4d2=_0x1ab38c;this[_0x5ac4d2(0x2b5)]['delete'](_0x777b4b);}[_0x1ab38c(0x530)](_0x322597){const _0x572418=_0x1ab38c;return this[_0x572418(0x2b5)][_0x572418(0x3f9)](_0x322597);}['getAllMembers'](){const _0x51f005=_0x1ab38c;return Array[_0x51f005(0x17c)](this[_0x51f005(0x2b5)][_0x51f005(0x611)]());}}var Sn=Object[_0x1ab38c(0x322)],pn=Object['getOwnPropertyDescriptor'],mn=(_0x3a6125,_0x3276b6,_0x3f6170,_0x1615a8)=>{for(var _0x17afd6=_0x1615a8>0x1?void 0x0:_0x1615a8?pn(_0x3276b6,_0x3f6170):_0x3276b6,_0x5e1941=_0x3a6125['length']-0x1,_0x2d371a;_0x5e1941>=0x0;_0x5e1941--)(_0x2d371a=_0x3a6125[_0x5e1941])&&(_0x17afd6=(_0x1615a8?_0x2d371a(_0x3276b6,_0x3f6170,_0x17afd6):_0x2d371a(_0x17afd6))||_0x17afd6);return _0x1615a8&&_0x17afd6&&Sn(_0x3276b6,_0x3f6170,_0x17afd6),_0x17afd6;},ue=(_0x27aaad,_0x1bbdda)=>(_0x5a2f13,_0x2c9a24)=>_0x1bbdda(_0x5a2f13,_0x2c9a24,_0x27aaad),ne=(_0x38fca1=>(_0x38fca1[_0x38fca1[_0x1ab38c(0x315)]=0x0]=_0x1ab38c(0x315),_0x38fca1[_0x38fca1[_0x1ab38c(0x3c0)]=0x1]=_0x1ab38c(0x3c0),_0x38fca1[_0x38fca1[_0x1ab38c(0x1e7)]=0x2]=_0x1ab38c(0x1e7),_0x38fca1[_0x38fca1[_0x1ab38c(0x36a)]=0x3]=_0x1ab38c(0x36a),_0x38fca1))(ne||{});const Ht={[ge[_0x1ab38c(0x50d)]]:_0x1ab38c(0x2ad),[ge[_0x1ab38c(0x23e)]]:'session.room-full',[ge[_0x1ab38c(0x511)]]:'session.room-not-exists',[ge[_0x1ab38c(0x19d)]]:_0x1ab38c(0x38a),[ge[_0x1ab38c(0x3f1)]]:'session.room-cnt-exceeds'};exports[_0x1ab38c(0x3db)]=class extends a[_0x1ab38c(0x579)]{constructor(_0x2b5aa3,_0x1bfecf,_0x148061,_0xbbd782,_0x54d5ee,_0x1ffe8e,_0x239733,_0x2aa2fd,_0x40d0a1,_0x10b6eb){const _0x5301fc=_0x1ab38c;super(),I(this,'_sessionStatus$',new N['BehaviorSubject'](0x0)),I(this,_0x5301fc(0x596),this['_sessionStatus$'][_0x5301fc(0x3b4)]()),I(this,_0x5301fc(0x1f5),new N['Subject']()),I(this,'event$',this[_0x5301fc(0x1f5)][_0x5301fc(0x3b4)]()),I(this,'_socket'),I(this,_0x5301fc(0x62c)),I(this,_0x5301fc(0x32a)),I(this,_0x5301fc(0x30e),!0x1),I(this,_0x5301fc(0x514),null),(this[_0x5301fc(0x629)]=_0x2b5aa3,this[_0x5301fc(0x4d3)]=_0x148061,this['_beforeCloseService']=_0xbbd782,this[_0x5301fc(0x3d9)]=_0x54d5ee,this[_0x5301fc(0x3fd)]=_0x1ffe8e,this[_0x5301fc(0x1e1)]=_0x239733,this[_0x5301fc(0x361)]=_0x2aa2fd,this[_0x5301fc(0x2aa)]=_0x40d0a1,this[_0x5301fc(0x1b3)]=_0x10b6eb,this[_0x5301fc(0x30e)]=!!this[_0x5301fc(0x1b3)],_0x1bfecf[_0x5301fc(0x21a)](N[_0x5301fc(0x37c)](this[_0x5301fc(0x326)]))[_0x5301fc(0x2cc)](_0x2d4109=>{const _0xf668e5=_0x5301fc;var _0x30c75d;typeof _0x2d4109>'u'||(this[_0xf668e5(0x599)]=_0x2d4109,_0x2d4109?(this[_0xf668e5(0x42a)](_0x2d4109),this[_0xf668e5(0x62c)]=_0x2d4109[_0xf668e5(0x233)][_0xf668e5(0x2cc)](_0x56b169=>{const _0x346f2e=_0xf668e5;_0x56b169[_0x346f2e(0x505)]===this[_0x346f2e(0x629)]&&this[_0x346f2e(0x34c)](_0x56b169);})):(this[_0xf668e5(0x631)](),this[_0xf668e5(0x201)][_0xf668e5(0x2c0)](0x2),(_0x30c75d=this[_0xf668e5(0x62c)])==null||_0x30c75d[_0xf668e5(0x1f0)](),this[_0xf668e5(0x62c)]=null));}),this['disposeWithMe'](this[_0x5301fc(0x605)][_0x5301fc(0x39d)](()=>{const _0x438b3f=_0x5301fc;var _0x208a9f;(_0x208a9f=this[_0x438b3f(0x599)])==null||_0x208a9f[_0x438b3f(0x5fb)]({'cmd':G['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get[_0x1ab38c(0x562)](){const _0x16a34c=_0x1ab38c;return this[_0x16a34c(0x201)][_0x16a34c(0x2f7)]();}[_0x1ab38c(0x342)](){const _0x695557=_0x1ab38c;var _0x4c80db,_0x52075e;return(_0x52075e=(_0x4c80db=this[_0x695557(0x599)])==null?void 0x0:_0x4c80db['memberID'])!=null?_0x52075e:null;}[_0x1ab38c(0x31c)](){const _0x2cbabd=_0x1ab38c;super[_0x2cbabd(0x31c)](),this[_0x2cbabd(0x326)][_0x2cbabd(0x2c0)](),this[_0x2cbabd(0x326)][_0x2cbabd(0x1b0)]();}[_0x1ab38c(0x4d2)](){const _0x549b22=_0x1ab38c;var _0xbaab2e,_0x48968b;this['_throwTelemetryCollaborationNewChangeset'](),(_0xbaab2e=this['_socket'])==null||_0xbaab2e[_0x549b22(0x5fb)]({'cmd':G[_0x549b22(0x59a)],'data':{'roomID':this['_unitID']}}),(_0x48968b=this[_0x549b22(0x599)])==null||_0x48968b[_0x549b22(0x4d2)](),this[_0x549b22(0x1f5)]['complete'](),this[_0x549b22(0x201)]['complete'](),this[_0x549b22(0x31c)]();}[_0x1ab38c(0x34c)](_0x112c69){const _0x15975c=_0x1ab38c;_0x112c69[_0x15975c(0x3ef)]===G[_0x15975c(0x4ec)]?this[_0x15975c(0x332)](_0x112c69):_0x112c69[_0x15975c(0x3ef)]===G[_0x15975c(0x484)]&&this[_0x15975c(0x417)](_0x112c69);}[_0x1ab38c(0x42a)](_0x2bc289){const _0x1f46e8=_0x1ab38c;this[_0x1f46e8(0x201)][_0x1f46e8(0x2c0)](0x1),_0x2bc289[_0x1f46e8(0x5fb)]({'cmd':G['JOIN'],'routeKey':this[_0x1f46e8(0x629)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1f46e8(0x629)]}]}});}[_0x1ab38c(0x332)](_0x4e288f){const _0x40a060=_0x1ab38c;var _0x4d1afa;if(_0x4e288f[_0x40a060(0x482)]in Ht){this['_messageService'][_0x40a060(0x19e)]({'type':Ce[_0x40a060(0x16e)][_0x40a060(0x475)],'content':this[_0x40a060(0x1e1)]['t'](Ht[_0x4e288f['code']])}),this['_sessionStatus$']['next'](0x2);return;}this[_0x40a060(0x201)]['next'](0x3);const _0x53a629=(_0x4d1afa=_0x4e288f[_0x40a060(0x372)][_0x40a060(0x498)][this['_unitID']])==null?void 0x0:_0x4d1afa[_0x40a060(0x588)];_0x53a629&&_0x53a629['forEach'](_0x4f59ea=>this[_0x40a060(0x361)][_0x40a060(0x183)](this['_unitID'],_0x4f59ea));}[_0x1ab38c(0x417)](_0x1cf103){const _0x1e5338=_0x1ab38c;try{const _0x17357d=_0x1cf103['data'];switch(_0x17357d[_0x1e5338(0x25e)]){case m[_0x1e5338(0x60d)][_0x1e5338(0x3a0)]:this[_0x1e5338(0x1cf)](_0x17357d),this[_0x1e5338(0x1f5)]['next'](_0x17357d);break;case m[_0x1e5338(0x60d)][_0x1e5338(0x1c0)]:this[_0x1e5338(0x299)](_0x17357d),this[_0x1e5338(0x1f5)][_0x1e5338(0x2c0)](_0x17357d);break;case m[_0x1e5338(0x60d)]['CHANGESET_ACK']:case m[_0x1e5338(0x60d)]['CHANGESET_SHOULD_RETRY']:this[_0x1e5338(0x4ce)](),this[_0x1e5338(0x279)](),this[_0x1e5338(0x1f5)][_0x1e5338(0x2c0)](_0x17357d);break;case m[_0x1e5338(0x60d)][_0x1e5338(0x3a8)]:this[_0x1e5338(0x4d3)][_0x1e5338(0x48d)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x17357d)),this[_0x1e5338(0x1f5)][_0x1e5338(0x2c0)](_0x17357d);break;case m[_0x1e5338(0x60d)][_0x1e5338(0x581)]:this[_0x1e5338(0x2aa)][_0x1e5338(0x21b)](_0x17357d[_0x1e5338(0x372)]),this[_0x1e5338(0x1f5)]['next'](_0x17357d);break;default:this['_event$'][_0x1e5338(0x2c0)](_0x17357d);}}catch(_0x4e6c6a){this[_0x1e5338(0x4d3)][_0x1e5338(0x48d)](_0x4e6c6a,_0x1cf103);}}[_0x1ab38c(0x1cf)](_0x16ebeb){const _0x330795=_0x1ab38c;this['_memberService']['updateMember'](this[_0x330795(0x629)],_0x16ebeb['data']);}[_0x1ab38c(0x299)](_0x5c3c1e){const _0xb1fe1c=_0x1ab38c;this[_0xb1fe1c(0x361)][_0xb1fe1c(0x447)](this['_unitID'],_0x5c3c1e[_0xb1fe1c(0x372)][_0xb1fe1c(0x4c3)]);}async[_0x1ab38c(0x5fb)](_0x588cbb,_0x440688){const _0x4487e4=_0x1ab38c;if(this[_0x4487e4(0x562)]!==0x3||!this[_0x4487e4(0x599)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x588cbb['eventID']===m[_0x4487e4(0x60d)][_0x4487e4(0x25a)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4487e4(0x43d)](_0x588cbb)),this['_socket'][_0x4487e4(0x5fb)]({'cmd':G[_0x4487e4(0x273)],'routeKey':_0x440688,'routeType':'','data':_0x588cbb});}catch(_0x5a596f){this[_0x4487e4(0x4d3)]['error'](_0x5a596f);}}['_scheduleCollaborationTimeoutTimer'](){const _0x26bf5c=_0x1ab38c;var _0x5d422c;this['_collaborationTimeoutTimer']=window[_0x26bf5c(0x45c)](()=>{const _0x5b9f8e=_0x26bf5c;this['_collaborationTimeoutTimer']=null,this['_messageService']['show']({'type':Ce[_0x5b9f8e(0x16e)][_0x5b9f8e(0x527)],'content':this[_0x5b9f8e(0x1e1)]['t'](_0x5b9f8e(0x319))});},(_0x5d422c=this['_configService'][_0x26bf5c(0x489)](Dt))!=null?_0x5d422c:mi);}[_0x1ab38c(0x279)](){const _0x46014a=_0x1ab38c;this[_0x46014a(0x32a)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x46014a(0x32a)]=null);}[_0x1ab38c(0x43d)](_0x119b8b){const _0x1fc455=_0x1ab38c;if(!this[_0x1fc455(0x30e)])return;const {data:_0x558680}=_0x119b8b,{unitID:_0x1707f0,changeset:_0x5eaf25}=_0x558680,{mutations:_0x35e59b,type:_0x794c07}=_0x5eaf25;this['_telemetryInfo']={'unitId':_0x1707f0,'type':_0x794c07,'startTime':performance[_0x1fc455(0x2b1)](),'stopTime':0x0,'duration':0x0,'size':_n(_0x35e59b)};}[_0x1ab38c(0x4ce)](){const _0x3d7582=_0x1ab38c;if(this[_0x3d7582(0x30e)]){if(!this[_0x3d7582(0x514)]){this['_logService'][_0x3d7582(0x48d)](_0x3d7582(0x615),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3d7582(0x514)][_0x3d7582(0x258)]=performance['now'](),this[_0x3d7582(0x514)][_0x3d7582(0x4a7)]=this[_0x3d7582(0x514)][_0x3d7582(0x258)]-this[_0x3d7582(0x514)][_0x3d7582(0x34f)],this[_0x3d7582(0x1b3)][_0x3d7582(0x221)](hn,this[_0x3d7582(0x514)]),this[_0x3d7582(0x514)]=null;}}[_0x1ab38c(0x631)](){const _0x2865a3=_0x1ab38c;this[_0x2865a3(0x514)]=null;}},exports[_0x1ab38c(0x3db)]=mn([ue(0x2,a['ILogService']),ue(0x3,ee[_0x1ab38c(0x179)]),ue(0x4,ee['IMessageService']),ue(0x5,a[_0x1ab38c(0x5bc)]),ue(0x6,a[_0x1ab38c(0x56d)](a['LocaleService'])),ue(0x7,a[_0x1ab38c(0x56d)](exports['MemberService'])),ue(0x8,a[_0x1ab38c(0x56d)](wt)),ue(0x9,a[_0x1ab38c(0x627)](Gi[_0x1ab38c(0x61f)]))],exports['CollaborationSession']);var gn=Object['defineProperty'],In=Object['getOwnPropertyDescriptor'],Cn=(_0x2ac848,_0x5d166d,_0x15721b,_0x133887)=>{const _0x20296f=_0x1ab38c;for(var _0x1718dd=_0x133887>0x1?void 0x0:_0x133887?In(_0x5d166d,_0x15721b):_0x5d166d,_0x3fb34a=_0x2ac848[_0x20296f(0x2b7)]-0x1,_0x4938b0;_0x3fb34a>=0x0;_0x3fb34a--)(_0x4938b0=_0x2ac848[_0x3fb34a])&&(_0x1718dd=(_0x133887?_0x4938b0(_0x5d166d,_0x15721b,_0x1718dd):_0x4938b0(_0x1718dd))||_0x1718dd);return _0x133887&&_0x1718dd&&gn(_0x5d166d,_0x15721b,_0x1718dd),_0x1718dd;},Se=(_0x3400de,_0x4ee5d4)=>(_0x3c30e2,_0x1eb071)=>_0x4ee5d4(_0x3c30e2,_0x1eb071,_0x3400de);exports[_0x1ab38c(0x1fc)]=class extends a[_0x1ab38c(0x382)]{constructor(_0x3b0fd2,_0x11f8c9,_0x3005d9,_0x3ecbbc,_0x1008c7,_0x3be00f,_0x21b3db){const _0x5b7917=_0x1ab38c;super(),I(this,_0x5b7917(0x483),new N['BehaviorSubject'](void 0x0)),I(this,_0x5b7917(0x632),this['_socket$'][_0x5b7917(0x3b4)]()),I(this,'_candidateSocket',null),I(this,_0x5b7917(0x473),new Map()),I(this,'_status$',new N[(_0x5b7917(0x3bd))](ne[_0x5b7917(0x315)])),I(this,_0x5b7917(0x1af),this[_0x5b7917(0x4f8)]['asObservable']()),I(this,'_socketReady',!0x1),I(this,_0x5b7917(0x370)),I(this,_0x5b7917(0x30c),0x0),I(this,_0x5b7917(0x2fc)),I(this,_0x5b7917(0x229)),(this[_0x5b7917(0x2f8)]=_0x3b0fd2,this[_0x5b7917(0x1e1)]=_0x11f8c9,this[_0x5b7917(0x3d9)]=_0x3005d9,this[_0x5b7917(0x4d3)]=_0x3ecbbc,this[_0x5b7917(0x3fd)]=_0x1008c7,this['_socketService']=_0x3be00f,this[_0x5b7917(0x544)]=_0x21b3db,this[_0x5b7917(0x538)]());}get['_socket'](){const _0xd78bb3=_0x1ab38c;return this[_0xd78bb3(0x483)][_0xd78bb3(0x2f7)]();}[_0x1ab38c(0x538)](){const _0x3b48de=_0x1ab38c;this[_0x3b48de(0x40c)](),this[_0x3b48de(0x1d4)]();}[_0x1ab38c(0x31c)](){const _0x41cc19=_0x1ab38c;super['dispose'](),this[_0x41cc19(0x473)][_0x41cc19(0x3f4)](_0x499971=>_0x499971[_0x41cc19(0x31c)]()),this['_sessions'][_0x41cc19(0x5c8)](),this[_0x41cc19(0x4f8)][_0x41cc19(0x1b0)]();}async[_0x1ab38c(0x1e0)](_0x1638b8){const _0x23b7cf=_0x1ab38c;if(this[_0x23b7cf(0x473)][_0x23b7cf(0x392)](_0x1638b8))return this[_0x23b7cf(0x473)][_0x23b7cf(0x3f9)](_0x1638b8);this['_tryEnsureSocket']();const _0x37493a=this[_0x23b7cf(0x2f8)][_0x23b7cf(0x440)](exports['CollaborationSession'],_0x1638b8,this[_0x23b7cf(0x483)]['asObservable']());return this['_sessions'][_0x23b7cf(0x1c6)](_0x1638b8,_0x37493a),_0x37493a;}[_0x1ab38c(0x40a)](_0x293e10){const _0x54e1e5=_0x1ab38c;var _0x1dbeee;const _0x47726d=this[_0x54e1e5(0x473)][_0x54e1e5(0x3f9)](_0x293e10);_0x47726d&&(this[_0x54e1e5(0x473)]['delete'](_0x293e10),_0x47726d[_0x54e1e5(0x4d2)]()),this['_sessions']['size']||(_0x1dbeee=this['_socket'])==null||_0x1dbeee[_0x54e1e5(0x4d2)]();}['reconnect'](){const _0x29828d=_0x1ab38c;this[_0x29828d(0x30c)]=0x0,this[_0x29828d(0x370)]!=null&&(clearTimeout(this[_0x29828d(0x370)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async[_0x1ab38c(0x1df)](){const _0x1eb8fb=_0x1ab38c;var _0x552016,_0x21ccfa,_0x171c1c;const _0x2cf909=this[_0x1eb8fb(0x3fd)]['getConfig'](Z),_0x59d0c3=(_0x552016=_0x2cf909==null?void 0x0:_0x2cf909[_0x1eb8fb(0x5b9)])!=null?_0x552016:Ji;return(_0x171c1c=(_0x21ccfa=(await this[_0x1eb8fb(0x544)]['get'](_0x59d0c3,{'headers':{'Content-Type':_0x1eb8fb(0x19a)}}))[_0x1eb8fb(0x4cf)])==null?void 0x0:_0x21ccfa['ticket'])!=null?_0x171c1c:'';}[_0x1ab38c(0x4e7)](_0x3c7eef){const _0x371fff=_0x1ab38c;var _0x5b4c52,_0x4499fc;const _0x5d9985=this[_0x371fff(0x3fd)][_0x371fff(0x489)](Si),_0x12514a=this[_0x371fff(0x3fd)][_0x371fff(0x489)](Z),_0x4b64d5=(_0x4499fc=(_0x5b4c52=_0x12514a==null?void 0x0:_0x12514a[_0x371fff(0x472)])!=null?_0x5b4c52:_0x5d9985)!=null?_0x4499fc:Xi,_0x487c69=new URL(_0x4b64d5,window[_0x371fff(0x56a)]['origin']);return _0x487c69['searchParams'][_0x371fff(0x1c6)](_0x371fff(0x39b),_0x3c7eef),_0x487c69[_0x371fff(0x612)]();}async[_0x1ab38c(0x3a3)](){const _0x270d1e=_0x1ab38c,_0x58e49c=await this[_0x270d1e(0x1df)](),_0x2a5476=this[_0x270d1e(0x4e7)](_0x58e49c),_0xaa9fe9=this[_0x270d1e(0x532)][_0x270d1e(0x4ad)](_0x2a5476);return this['_candidateSocket']=_0xaa9fe9,_0xaa9fe9;}async['_tryEnsureSocket'](){const _0x34a292=_0x1ab38c;var _0x41e1e0,_0x13bf39;try{const _0x473fc9=(_0x13bf39=(_0x41e1e0=this[_0x34a292(0x599)])!=null?_0x41e1e0:this[_0x34a292(0x49b)])!=null?_0x13bf39:await this['_createSocket']();if(_0x473fc9){const _0x59863d=_0x473fc9[_0x34a292(0x5fb)];_0x473fc9['send']=_0x3c3c5b=>(this[_0x34a292(0x41f)](),_0x59863d[_0x34a292(0x444)](_0x473fc9,[_0x3c3c5b])),_0x473fc9[_0x34a292(0x233)]['subscribe'](_0x167ff3=>this['_onMessage'](_0x473fc9,_0x167ff3)),_0x473fc9['error$'][_0x34a292(0x21a)](V['take'](0x1))[_0x34a292(0x2cc)](_0x172fbc=>this[_0x34a292(0x4d3)][_0x34a292(0x48d)]('[CollaborationSessionService]:\x20socket\x20error',_0x172fbc)),_0x473fc9[_0x34a292(0x492)][_0x34a292(0x21a)](V[_0x34a292(0x184)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x473fc9);}),_0x473fc9['close$'][_0x34a292(0x21a)](V[_0x34a292(0x184)](0x1))[_0x34a292(0x2cc)](_0x3ec994=>{const _0x49e80a=_0x34a292;this[_0x49e80a(0x4d3)]['debug'](_0x49e80a(0x21f),_0x49e80a(0x31d),_0x3ec994),this[_0x49e80a(0x53f)]();});}}catch(_0x573ad3){this[_0x34a292(0x4d3)][_0x34a292(0x48d)](_0x573ad3),this[_0x34a292(0x53f)]();}}[_0x1ab38c(0x2c3)](_0x167db2){const _0x5bf81b=_0x1ab38c;this[_0x5bf81b(0x4d3)][_0x5bf81b(0x479)](_0x5bf81b(0x21f),_0x5bf81b(0x245)),_0x167db2[_0x5bf81b(0x5fb)]({'cmd':G['HELLO']}),this[_0x5bf81b(0x41f)]();}[_0x1ab38c(0x40c)](){const _0x35a4e4=_0x1ab38c;window[_0x35a4e4(0x5b7)]('offline',()=>this[_0x35a4e4(0x411)]());}['_onOffline'](){const _0x5a457d=_0x1ab38c;this[_0x5a457d(0x4f3)]=!0x1,this[_0x5a457d(0x49b)]=null,this[_0x5a457d(0x4f8)][_0x5a457d(0x2c0)](ne[_0x5a457d(0x1e7)]),this['_socket$'][_0x5a457d(0x2c0)](null),this[_0x5a457d(0x350)](),this['_clearHeartbeatTimer']();}[_0x1ab38c(0x53f)](){const _0x2fe8ae=_0x1ab38c;var _0x4175fb;this[_0x2fe8ae(0x411)](),this['_retryCount']<((_0x4175fb=this['_configService'][_0x2fe8ae(0x489)](gi))!=null?_0x4175fb:en)?(this['_messageService'][_0x2fe8ae(0x19e)]({'key':'collaboration-session-retry','type':Ce['MessageType'][_0x2fe8ae(0x475)],'content':this['_localeService']['t'](_0x2fe8ae(0x4ee))}),this[_0x2fe8ae(0x38e)]()):this[_0x2fe8ae(0x3d9)][_0x2fe8ae(0x19e)]({'key':_0x2fe8ae(0x21d),'type':Ce[_0x2fe8ae(0x16e)]['Error'],'content':this[_0x2fe8ae(0x1e1)]['t']('session.connection-failed')});}[_0x1ab38c(0x1d4)](){const _0x187237=_0x1ab38c,_0x42dca0=()=>{const _0x2e67cc=_0x33d2;this[_0x2e67cc(0x599)]||this[_0x2e67cc(0x1eb)]();},_0x154552=()=>{const _0x43d911=_0x33d2;this[_0x43d911(0x599)]||document['visibilityState']===_0x43d911(0x610)||this[_0x43d911(0x1eb)]();};window['addEventListener'](_0x187237(0x46e),_0x42dca0),document[_0x187237(0x5b7)](_0x187237(0x5c4),_0x154552);}[_0x1ab38c(0x38e)](){const _0x28d909=_0x1ab38c;var _0x4daaaa;const _0x1fc068=this[_0x28d909(0x30c)],_0x1152c8=this['_configService']['getConfig'](Z),_0x425ee0=_0x1fc068===0x0?0x0:((_0x4daaaa=_0x1152c8==null?void 0x0:_0x1152c8['retryConnectingInterval'])!=null?_0x4daaaa:Qi)*0x2**_0x1fc068;this[_0x28d909(0x370)]=window[_0x28d909(0x45c)](()=>{const _0x27025c=_0x28d909;clearTimeout(this[_0x27025c(0x370)]),this[_0x27025c(0x370)]=null,this['_tryEnsureSocket']();},_0x425ee0),this['_retryCount']+=0x1;}['_onMessage'](_0x34a343,_0x5b69e3){const _0x367de3=_0x1ab38c,{cmd:_0x2d0c55}=_0x5b69e3;_0x2d0c55===G[_0x367de3(0x622)]&&!this['_socketReady']&&(_0x34a343[_0x367de3(0x4c3)]=_0x5b69e3[_0x367de3(0x372)][_0x367de3(0x4c3)],this[_0x367de3(0x483)][_0x367de3(0x2c0)](_0x34a343),this['_status$'][_0x367de3(0x2c0)](ne[_0x367de3(0x36a)]),this['_socketReady']=!0x0,this[_0x367de3(0x49b)]=null),_0x2d0c55===G['HEARTBEAT']&&this[_0x367de3(0x350)](),this[_0x367de3(0x41f)]();}[_0x1ab38c(0x41f)](){const _0x386a9b=_0x1ab38c;var _0x2b8028;this[_0x386a9b(0x5d6)](),this[_0x386a9b(0x2fc)]=window[_0x386a9b(0x45c)](()=>this['_sendHeartbeat'](),(_0x2b8028=this[_0x386a9b(0x3fd)][_0x386a9b(0x489)](pi))!=null?_0x2b8028:Zi);}[_0x1ab38c(0x3f5)](){const _0x19e921=_0x1ab38c;this[_0x19e921(0x599)][_0x19e921(0x5fb)]({'cmd':G['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x1ab38c(0x53d)](){const _0x562688=_0x1ab38c;var _0x2a842c;this[_0x562688(0x229)]=window['setTimeout'](()=>this[_0x562688(0x53f)](),(_0x2a842c=this[_0x562688(0x3fd)]['getConfig'](Dt))!=null?_0x2a842c:mi);}[_0x1ab38c(0x5d6)](){const _0x3632f5=_0x1ab38c;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x3632f5(0x2fc)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){const _0x3d2515=_0x1ab38c;this[_0x3d2515(0x229)]!=null&&(clearTimeout(this[_0x3d2515(0x229)]),this[_0x3d2515(0x229)]=null);}},exports[_0x1ab38c(0x1fc)]=Cn([Se(0x0,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),Se(0x1,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x394)])),Se(0x2,ee['IMessageService']),Se(0x3,a[_0x1ab38c(0x626)]),Se(0x4,a['IConfigService']),Se(0x5,Pt),Se(0x6,a[_0x1ab38c(0x56d)](z[_0x1ab38c(0x3a1)]))],exports[_0x1ab38c(0x1fc)]);const q=[];for(let r=0x0;r<0x100;++r)q[_0x1ab38c(0x2e4)]((r+0x100)[_0x1ab38c(0x612)](0x10)[_0x1ab38c(0x543)](0x1));function En(_0x1179fb,_0x323b02=0x0){const _0xf10faa=_0x1ab38c;return(q[_0x1179fb[_0x323b02+0x0]]+q[_0x1179fb[_0x323b02+0x1]]+q[_0x1179fb[_0x323b02+0x2]]+q[_0x1179fb[_0x323b02+0x3]]+'-'+q[_0x1179fb[_0x323b02+0x4]]+q[_0x1179fb[_0x323b02+0x5]]+'-'+q[_0x1179fb[_0x323b02+0x6]]+q[_0x1179fb[_0x323b02+0x7]]+'-'+q[_0x1179fb[_0x323b02+0x8]]+q[_0x1179fb[_0x323b02+0x9]]+'-'+q[_0x1179fb[_0x323b02+0xa]]+q[_0x1179fb[_0x323b02+0xb]]+q[_0x1179fb[_0x323b02+0xc]]+q[_0x1179fb[_0x323b02+0xd]]+q[_0x1179fb[_0x323b02+0xe]]+q[_0x1179fb[_0x323b02+0xf]])[_0xf10faa(0x291)]();}let lt;const bn=new Uint8Array(0x10);function Tn(){const _0x1ca6a8=_0x1ab38c;if(!lt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');lt=crypto[_0x1ca6a8(0x443)][_0x1ca6a8(0x213)](crypto);}return lt(bn);}const Rn=typeof crypto<'u'&&crypto[_0x1ab38c(0x194)]&&crypto[_0x1ab38c(0x194)][_0x1ab38c(0x213)](crypto),Bt={'randomUUID':Rn};function On(_0x4be070,_0x34dc02,_0xb6b301){const _0x1e9139=_0x1ab38c;if(Bt['randomUUID']&&!_0x34dc02&&!_0x4be070)return Bt[_0x1e9139(0x194)]();_0x4be070=_0x4be070||{};const _0xf44069=_0x4be070['random']||(_0x4be070[_0x1e9139(0x313)]||Tn)();return _0xf44069[0x6]=_0xf44069[0x6]&0xf|0x40,_0xf44069[0x8]=_0xf44069[0x8]&0x3f|0x80,En(_0xf44069);}var yn=Object['defineProperty'],Dn=Object[_0x1ab38c(0x5da)],Pn=(_0x4a9cc6,_0x35c73b,_0x3fdadf,_0x5de0d1)=>{const _0x41d648=_0x1ab38c;for(var _0x1190a4=_0x5de0d1>0x1?void 0x0:_0x5de0d1?Dn(_0x35c73b,_0x3fdadf):_0x35c73b,_0x45fdf4=_0x4a9cc6[_0x41d648(0x2b7)]-0x1,_0x2cc1f2;_0x45fdf4>=0x0;_0x45fdf4--)(_0x2cc1f2=_0x4a9cc6[_0x45fdf4])&&(_0x1190a4=(_0x5de0d1?_0x2cc1f2(_0x35c73b,_0x3fdadf,_0x1190a4):_0x2cc1f2(_0x1190a4))||_0x1190a4);return _0x5de0d1&&_0x1190a4&&yn(_0x35c73b,_0x3fdadf,_0x1190a4),_0x1190a4;},ht=(_0x854825,_0x39378f)=>(_0x13c223,_0x201eda)=>_0x39378f(_0x13c223,_0x201eda,_0x854825);let Ze=class{constructor(_0x340092,_0x4c70d8,_0x12e01c){const _0x42a45a=_0x1ab38c;this[_0x42a45a(0x2f8)]=_0x340092,this['_transformService']=_0x4c70d8,this['_renderManagerService']=_0x12e01c;}[_0x1ab38c(0x18c)](_0x2deaf9){const _0x33acbf=_0x1ab38c;this[_0x33acbf(0x25b)](_0x2deaf9),this['_transformPreviousActiveRange'](_0x2deaf9);}[_0x1ab38c(0x1f3)](_0xf940ec){const _0x40061c=_0x1ab38c,{unitID:_0x5b88b3}=_0xf940ec,_0x4ebdcb=this['_renderManagerService']['getRenderById'](_0x5b88b3)[_0x40061c(0x1bf)](J['DocIMEInputManagerService']),{redoCache:_0x6786e6}=_0x4ebdcb[_0x40061c(0x541)]();if(_0x6786e6[_0x40061c(0x2b7)]===0x0)return _0xf940ec;let _0x448411=a['Tools'][_0x40061c(0x252)](_0xf940ec[_0x40061c(0x4ea)][0x0]);for(let _0x56c76b=0x0;_0x56c76b<_0x6786e6[_0x40061c(0x2b7)];_0x56c76b++){const _0x40014a={'id':_0x40061c(0x401),'params':{..._0x6786e6[_0x56c76b]}},_0xf571e6=this[_0x40061c(0x4bc)][_0x40061c(0x5cc)](_0x448411,_0x40014a,!0x1);if(m['isTransformMutationFailure'](_0xf571e6))throw _0xf571e6['error'];_0x448411=_0xf571e6['m1Prime'];}return{...a[_0x40061c(0x5ed)][_0x40061c(0x252)](_0xf940ec),'mutations':[_0x448411]};}['_transformUndoRedoStack'](_0x17118f){const _0x3cbd50=_0x1ab38c,{unitID:_0x30024e}=_0x17118f,_0x4d6337=this[_0x3cbd50(0x173)][_0x3cbd50(0x449)](_0x30024e)[_0x3cbd50(0x1bf)](J[_0x3cbd50(0x375)]),{undoCache:_0x18e7cd,redoCache:_0x5afd4e}=_0x4d6337['getUndoRedoMutationParamsCache']();if(_0x18e7cd[_0x3cbd50(0x2b7)]===0x0||_0x5afd4e[_0x3cbd50(0x2b7)]===0x0)return;const _0x6894b6=[],_0xeca9e6=[];let _0x873eee=a[_0x3cbd50(0x5ed)][_0x3cbd50(0x252)](_0x17118f[_0x3cbd50(0x4ea)][0x0]),_0x1039a0=a['Tools'][_0x3cbd50(0x252)](_0x17118f['mutations'][0x0]);for(let _0x1c45db=_0x18e7cd['length']-0x1;_0x1c45db>=0x0;_0x1c45db--){const _0x36a2c3={'id':_0x3cbd50(0x401),'params':{..._0x18e7cd[_0x1c45db]}},_0x508ae3={'id':_0x3cbd50(0x401),'params':{..._0x5afd4e[_0x1c45db]}},_0x3d67c6=this[_0x3cbd50(0x4bc)][_0x3cbd50(0x5cc)](_0x873eee,_0x36a2c3,!0x1),_0x372bef=this['_transformService'][_0x3cbd50(0x5cc)](_0x1039a0,_0x508ae3,!0x1);if(m['isTransformMutationFailure'](_0x3d67c6))throw _0x3d67c6[_0x3cbd50(0x48d)];if(m[_0x3cbd50(0x226)](_0x372bef))throw _0x372bef['error'];_0x6894b6['unshift'](_0x3d67c6[_0x3cbd50(0x1cb)][_0x3cbd50(0x1f8)]),_0xeca9e6['unshift'](_0x372bef[_0x3cbd50(0x1cb)]['params']),_0x873eee=_0x3d67c6[_0x3cbd50(0x5ad)],_0x1039a0=_0x372bef[_0x3cbd50(0x5ad)];}_0x4d6337[_0x3cbd50(0x37b)]({'undoCache':_0x6894b6,'redoCache':_0xeca9e6});}['_transformPreviousActiveRange'](_0x216fdc){const _0x5838e2=_0x1ab38c,{unitID:_0x4ee520}=_0x216fdc,_0x253157=this[_0x5838e2(0x173)][_0x5838e2(0x449)](_0x4ee520)[_0x5838e2(0x1bf)](J[_0x5838e2(0x375)]),_0x2e68ee=_0x253157['getActiveRange']();if(_0x2e68ee==null)return;const _0x135209=[{'id':_0x5838e2(0x401),'params':{'unitId':_0x216fdc[_0x5838e2(0x3d4)],'actions':null,'textRanges':[_0x2e68ee]}}],_0x3ec2ac=this[_0x5838e2(0x4bc)]['transformMutationsWithChangeset'](_0x216fdc,_0x135209);if(!m[_0x5838e2(0x60c)](_0x3ec2ac))throw _0x3ec2ac[_0x5838e2(0x48d)];const _0x511c03=_0x3ec2ac[_0x5838e2(0x1cb)][0x0][_0x5838e2(0x1f8)][_0x5838e2(0x480)];Array[_0x5838e2(0x28e)](_0x511c03)&&_0x511c03[_0x5838e2(0x2b7)]&&_0x253157[_0x5838e2(0x44f)](_0x511c03[0x0]);}};Ze=Pn([ht(0x0,a['Inject'](a[_0x1ab38c(0x26b)])),ht(0x1,m['ITransformService']),ht(0x2,Y['IRenderManagerService'])],Ze);var wn=Object[_0x1ab38c(0x322)],Un=Object[_0x1ab38c(0x5da)],Mn=(_0x41336f,_0x56284b,_0x4f516f,_0x488041)=>{for(var _0x1f1877=_0x488041>0x1?void 0x0:_0x488041?Un(_0x56284b,_0x4f516f):_0x56284b,_0x13b97f=_0x41336f['length']-0x1,_0x5a6c7b;_0x13b97f>=0x0;_0x13b97f--)(_0x5a6c7b=_0x41336f[_0x13b97f])&&(_0x1f1877=(_0x488041?_0x5a6c7b(_0x56284b,_0x4f516f,_0x1f1877):_0x5a6c7b(_0x1f1877))||_0x1f1877);return _0x488041&&_0x1f1877&&wn(_0x56284b,_0x4f516f,_0x1f1877),_0x1f1877;},Pe=(_0x251fa5,_0x44dd2a)=>(_0x45a5da,_0x16a7cd)=>_0x44dd2a(_0x45a5da,_0x16a7cd,_0x251fa5);exports[_0x1ab38c(0x516)]=class extends a['Disposable']{constructor(_0x48fc8c,_0x2a40a8,_0x5de009,_0x2c9669,_0x5f1a46){const _0x26c068=_0x1ab38c;super(),I(this,_0x26c068(0x206),new Map()),I(this,_0x26c068(0x31f),new Map()),I(this,'_disabled',!0x1),(this[_0x26c068(0x3fd)]=_0x48fc8c,this['_localStorageService']=_0x2a40a8,this[_0x26c068(0x605)]=_0x5de009,this[_0x26c068(0x1e1)]=_0x2c9669,this[_0x26c068(0x276)]=_0x5f1a46,this[_0x26c068(0x1b6)]());}[_0x1ab38c(0x379)](){const _0x5b1d12=_0x1ab38c;this[_0x5b1d12(0x28c)]=!0x0;}['enableLocalCache'](){const _0xa37ff=_0x1ab38c;this[_0xa37ff(0x28c)]=!0x1;}[_0x1ab38c(0x31c)](){const _0x37cb3f=_0x1ab38c;this[_0x37cb3f(0x2b9)]()[_0x37cb3f(0x4f9)](()=>super[_0x37cb3f(0x31c)]());}async[_0x1ab38c(0x309)](_0x532b9a){const _0x563f85=_0x1ab38c;return this[_0x563f85(0x28c)]?null:this['_localStorageService'][_0x563f85(0x27f)](kt(_0x532b9a));}async['saveOfflineData'](_0x2ea53b,_0x104666){const _0x27ac30=_0x1ab38c;return!!this[_0x27ac30(0x335)]['setItem'](_0x2ea53b,_0x104666);}[_0x1ab38c(0x2db)](_0x41ccb2,_0x2e6b1a,_0x313649,_0x381cfa){const _0x4d9a5d=_0x1ab38c,_0x43bce2=this['_revisionService'][_0x4d9a5d(0x56f)](_0x41ccb2);this[_0x4d9a5d(0x206)][_0x4d9a5d(0x1c6)](_0x41ccb2,{'unitID':_0x41ccb2,'type':_0x2e6b1a,'awaitingChangeset':_0x313649,'mutations':_0x381cfa,'rev':_0x43bce2}),this['_saveTaskMap'][_0x4d9a5d(0x392)](_0x41ccb2)||this[_0x4d9a5d(0x262)](_0x41ccb2);}[_0x1ab38c(0x262)](_0x473ce3){const _0x57e354=_0x1ab38c,_0x5f90a7=this[_0x57e354(0x265)]();_0x5f90a7===0x0?this[_0x57e354(0x21e)](_0x473ce3):this[_0x57e354(0x31f)][_0x57e354(0x1c6)](_0x473ce3,setTimeout(()=>this['_saveCache'](_0x473ce3),_0x5f90a7));}[_0x1ab38c(0x265)](){const _0x2da87c=_0x1ab38c;var _0x5c63e2;return(_0x5c63e2=this[_0x2da87c(0x3fd)]['getConfig'](Ii))!=null?_0x5c63e2:tn;}['_saveCache'](_0x33c6d5){const _0x188750=_0x1ab38c,_0x163b62=this[_0x188750(0x31f)][_0x188750(0x3f9)](_0x33c6d5);return _0x163b62!==void 0x0&&window[_0x188750(0x1db)](_0x163b62),this[_0x188750(0x335)][_0x188750(0x34e)](kt(_0x33c6d5),this[_0x188750(0x206)]['get'](_0x33c6d5))[_0x188750(0x4f9)](()=>this[_0x188750(0x31f)][_0x188750(0x5d0)](_0x33c6d5));}async['exhaustSavingTask'](){const _0x5a5a0b=_0x1ab38c,_0xf57a30=[];this['_saveTaskMap']['forEach']((_0x41c2c1,_0x3db097)=>{const _0x24295c=_0x33d2;window['clearTimeout'](_0x41c2c1),_0xf57a30['push'](this[_0x24295c(0x21e)](_0x3db097)[_0x24295c(0x4f9)](()=>{const _0x29368a=_0x24295c;this[_0x29368a(0x31f)][_0x29368a(0x5d0)](_0x3db097);}));}),await Promise[_0x5a5a0b(0x522)](_0xf57a30);}[_0x1ab38c(0x1b6)](){const _0x498da6=_0x1ab38c;this['disposeWithMe'](this[_0x498da6(0x605)][_0x498da6(0x2ab)](()=>{const _0x3a98bb=_0x498da6;if(this['_saveTaskMap'][_0x3a98bb(0x36b)])return this[_0x3a98bb(0x1e1)]['t'](_0x3a98bb(0x23d));}));}},exports[_0x1ab38c(0x516)]=Mn([Pe(0x0,a[_0x1ab38c(0x5bc)]),Pe(0x1,a[_0x1ab38c(0x2a1)]),Pe(0x2,ee[_0x1ab38c(0x179)]),Pe(0x3,a['Inject'](a['LocaleService'])),Pe(0x4,a[_0x1ab38c(0x56d)](m['RevisionService']))],exports[_0x1ab38c(0x516)]);function kt(_0x12a8a4){const _0x1e7fda=_0x1ab38c;return _0x1e7fda(0x4a1)+_0x12a8a4;}var Nn=Object[_0x1ab38c(0x322)],An=Object[_0x1ab38c(0x5da)],Ln=(_0x5e4b7a,_0xe79cef,_0x2bd8f3,_0x453ad5)=>{const _0x1a8aff=_0x1ab38c;for(var _0x4ee7ab=_0x453ad5>0x1?void 0x0:_0x453ad5?An(_0xe79cef,_0x2bd8f3):_0xe79cef,_0x3e08c1=_0x5e4b7a[_0x1a8aff(0x2b7)]-0x1,_0x5a977e;_0x3e08c1>=0x0;_0x3e08c1--)(_0x5a977e=_0x5e4b7a[_0x3e08c1])&&(_0x4ee7ab=(_0x453ad5?_0x5a977e(_0xe79cef,_0x2bd8f3,_0x4ee7ab):_0x5a977e(_0x4ee7ab))||_0x4ee7ab);return _0x453ad5&&_0x4ee7ab&&Nn(_0xe79cef,_0x2bd8f3,_0x4ee7ab),_0x4ee7ab;},_t=(_0x43ca89,_0x2c9aa2)=>(_0x50c494,_0x37feb2)=>_0x2c9aa2(_0x50c494,_0x37feb2,_0x43ca89);function xn(_0x3da07a){const _0x18deff=_0x1ab38c,{unitID:_0x25d214,mutations:_0x1e1ea2}=_0x3da07a;return{'unitId':_0x25d214,'subUnitId':_0x1e1ea2[0x0][_0x18deff(0x1f8)][_0x18deff(0x3aa)]};}let Qe=class{constructor(_0x35f196,_0x1b4945,_0x579123){const _0x40326f=_0x1ab38c;this[_0x40326f(0x2f8)]=_0x35f196,this['_transformService']=_0x1b4945,this['_instanceService']=_0x579123;}['transformSelections'](_0x222b03){const _0x3104cb=_0x1ab38c;var _0x149b1f,_0x12cfd2,_0x55ce88,_0x337618;const _0x4ea75b=this[_0x3104cb(0x2f8)][_0x3104cb(0x3f9)](k[_0x3104cb(0x23a)]),{unitId:_0x47ca3f,subUnitId:_0x20682e}=xn(_0x222b03),_0x26d0ad=_0x4ea75b[_0x3104cb(0x317)](_0x47ca3f)[_0x3104cb(0x188)](),_0x23e24c=(_0x12cfd2=(_0x149b1f=this[_0x3104cb(0x5a9)]['getUnit'](_0x47ca3f))==null?void 0x0:_0x149b1f[_0x3104cb(0x1c1)]())==null?void 0x0:_0x12cfd2[_0x3104cb(0x62b)]();if(_0x26d0ad[_0x3104cb(0x2b7)]===0x0||!_0x47ca3f||!_0x20682e)return;const _0x2320d5=[{'id':k[_0x3104cb(0x1b4)]['id'],'params':{'unitId':_0x47ca3f,'subUnitId':_0x23e24c,'selections':a['Tools']['deepClone'](_0x26d0ad)}}],_0x293df1=this['_transformService']['transformMutationsWithChangeset'](_0x222b03,_0x2320d5);if(!m[_0x3104cb(0x60c)](_0x293df1))throw _0x293df1['error'];const _0x446607=(_0x337618=(_0x55ce88=_0x293df1[_0x3104cb(0x1cb)][0x0])==null?void 0x0:_0x55ce88['params'])==null?void 0x0:_0x337618[_0x3104cb(0x2d4)];if(Array['isArray'](_0x446607)&&_0x446607[_0x3104cb(0x2b7)]){if(_0x446607[_0x3104cb(0x2b7)]===_0x2320d5[0x0][_0x3104cb(0x1f8)][_0x3104cb(0x2d4)][_0x3104cb(0x2b7)]&&_0x446607[_0x3104cb(0x3af)]((_0xe5ae7,_0x308b52)=>a['Rectangle'][_0x3104cb(0x606)](_0xe5ae7[_0x3104cb(0x1ea)],_0x2320d5[0x0]['params']['selections'][_0x308b52]['range'])))return;this[_0x3104cb(0x2f8)][_0x3104cb(0x3f9)](a[_0x3104cb(0x430)])[_0x3104cb(0x59c)](k['SetSelectionsOperation']['id'],{'unitId':_0x47ca3f,'subUnitId':_0x23e24c,'selections':_0x446607});}}};Qe=Ln([_t(0x0,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),_t(0x1,m['ITransformService']),_t(0x2,a[_0x1ab38c(0x585)])],Qe);const at=a[_0x1ab38c(0x4d5)](_0x1ab38c(0x49e));var yi=(_0x2033d8=>(_0x2033d8[_0x2033d8[_0x1ab38c(0x24a)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2033d8[_0x2033d8[_0x1ab38c(0x42c)]=0x1]=_0x1ab38c(0x42c),_0x2033d8))(yi||{});const Wt=0x7530,Ft=_0x1ab38c(0x2e5);class $n extends a['Disposable']{constructor(){const _0x3387f6=_0x1ab38c;super(),I(this,_0x3387f6(0x242),a[_0x3387f6(0x5ed)][_0x3387f6(0x33c)]()),I(this,'_selfUnitIDs',new Set()),I(this,_0x3387f6(0x22f),new Map()),I(this,_0x3387f6(0x432),null),I(this,_0x3387f6(0x2c8),new Map()),I(this,_0x3387f6(0x174),new Map()),this[_0x3387f6(0x419)]();}[_0x1ab38c(0x31c)](){const _0x3a6955=_0x1ab38c;super[_0x3a6955(0x31c)](),this[_0x3a6955(0x2c8)][_0x3a6955(0x3f4)]((_0x4754ff,_0x2fead2)=>this[_0x3a6955(0x495)](_0x2fead2)),this['_heartbeatTimer']&&window[_0x3a6955(0x57a)](this[_0x3a6955(0x432)]);}['getUnitStatus$'](_0x233f95){const _0x5bb33d=_0x1ab38c;return this['_ensureSubject'](_0x233f95)['pipe'](N[_0x5bb33d(0x59b)]());}[_0x1ab38c(0x548)](_0x43b706){const _0x5897e2=_0x1ab38c;this[_0x5897e2(0x346)][_0x5897e2(0x36b)]===0x0&&this[_0x5897e2(0x426)](),this[_0x5897e2(0x346)]['add'](_0x43b706),this['_send']({'type':0x0,'memberID':this[_0x5897e2(0x242)],'unitIDs':[_0x43b706],'isForwarded':!0x1});}[_0x1ab38c(0x260)](_0x25080b){const _0xb076ed=_0x1ab38c;this[_0xb076ed(0x346)][_0xb076ed(0x5d0)](_0x25080b),this[_0xb076ed(0x346)][_0xb076ed(0x36b)]===0x0&&this['_heartbeatTimer']&&window[_0xb076ed(0x57a)](this[_0xb076ed(0x432)]);}[_0x1ab38c(0x419)](){const _0x65b1dc=_0x1ab38c;this[_0x65b1dc(0x4ae)](a[_0x65b1dc(0x1fb)](N[_0x65b1dc(0x4d0)](window,_0x65b1dc(0x2dd))['subscribe'](_0x448727=>{const _0x450c5d=_0x65b1dc;if(_0x448727['key']!==Ft||!_0x448727[_0x450c5d(0x5e2)])return;const _0x57b1f3=JSON[_0x450c5d(0x625)](_0x448727[_0x450c5d(0x5e2)]);this['_handleEvent'](_0x57b1f3);}))),window['addEventListener'](_0x65b1dc(0x556),()=>this[_0x65b1dc(0x466)]({'type':0x1,'memberID':this[_0x65b1dc(0x242)],'unitIDs':Array[_0x65b1dc(0x17c)](this[_0x65b1dc(0x346)])}));}['_handleEvent'](_0x3105c1){const _0x520e1a=_0x1ab38c;switch(_0x3105c1[_0x520e1a(0x57b)]){case 0x0:this[_0x520e1a(0x215)](_0x3105c1);break;case 0x1:this[_0x520e1a(0x3b9)](_0x3105c1);break;case 0x2:this[_0x520e1a(0x4df)](_0x3105c1);break;}}[_0x1ab38c(0x215)](_0x2f6b3f){const _0x43bba5=_0x1ab38c,{unitIDs:_0x11c395,memberID:_0x3ae4ac,isForwarded:_0x31772c}=_0x2f6b3f;_0x11c395[_0x43bba5(0x3f4)](_0x1878b7=>{const _0x2d03fd=_0x43bba5;if(!_0x31772c&&this[_0x2d03fd(0x22f)][_0x2d03fd(0x392)](_0x1878b7)&&this[_0x2d03fd(0x3bf)](_0x1878b7)[_0x2d03fd(0x2c0)](0x1),!this[_0x2d03fd(0x22f)][_0x2d03fd(0x392)](_0x1878b7)||!this[_0x2d03fd(0x22f)][_0x2d03fd(0x3f9)](_0x1878b7)[_0x2d03fd(0x392)](_0x3ae4ac)){const _0x4630bd=this['_unitOnClients'][_0x2d03fd(0x3f9)](_0x1878b7)||new Set();_0x4630bd[_0x2d03fd(0x3ed)](_0x3ae4ac),this[_0x2d03fd(0x22f)][_0x2d03fd(0x1c6)](_0x1878b7,_0x4630bd),this[_0x2d03fd(0x5ea)](_0x3ae4ac);}}),_0x31772c||this[_0x43bba5(0x466)]({'type':0x0,'memberID':this[_0x43bba5(0x242)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1ab38c(0x5ea)](_0x5f083e){const _0x4e63c2=_0x1ab38c;this[_0x4e63c2(0x495)](_0x5f083e);const _0xdea6c4=window[_0x4e63c2(0x45c)](()=>{const _0x23b2e3=_0x4e63c2;this['_unitOnClients'][_0x23b2e3(0x3f4)](_0x1bbdc8=>{_0x1bbdc8['delete'](_0x5f083e);});},Wt*0x2);this[_0x4e63c2(0x2c8)]['set'](_0x5f083e,_0xdea6c4);}[_0x1ab38c(0x495)](_0x3c8e8c){const _0x20e1ca=_0x1ab38c;if(this[_0x20e1ca(0x2c8)][_0x20e1ca(0x392)](_0x3c8e8c)){const _0x514e75=this[_0x20e1ca(0x2c8)][_0x20e1ca(0x3f9)](_0x3c8e8c);_0x514e75&&window[_0x20e1ca(0x1db)](_0x514e75),this['_clearOtherTimers']['set'](_0x3c8e8c,null);}}[_0x1ab38c(0x3b9)](_0x2e9cf8){const _0xacc78e=_0x1ab38c,{memberID:_0x27f788,unitIDs:_0xa911a0}=_0x2e9cf8;_0xa911a0['forEach'](_0x5139c9=>{const _0x539939=_0x33d2;var _0x3376be;const _0x40e929=this[_0x539939(0x22f)][_0x539939(0x3f9)](_0x5139c9);_0x40e929&&(_0x40e929[_0x539939(0x5d0)](_0x27f788),(_0x3376be=this[_0x539939(0x3bf)](_0x5139c9))==null||_0x3376be[_0x539939(0x2c0)](_0x40e929[_0x539939(0x36b)]===0x0?0x0:0x1));}),this[_0xacc78e(0x495)](_0x27f788);}['_handleHeartbeatEvent'](_0xe9e553){const _0x2c53f8=_0x1ab38c;this['_scheduleClearOtherTimer'](_0xe9e553[_0x2c53f8(0x4c3)]);}['_send'](_0x34b3e0){const _0x5e3ab2=_0x1ab38c;localStorage[_0x5e3ab2(0x34e)](Ft,JSON['stringify'](_0x34b3e0));}['_scheduleHeartbeat'](){const _0x57450b=_0x1ab38c;this['_heartbeatTimer']=window[_0x57450b(0x618)](()=>{const _0x3549f2=_0x57450b;this[_0x3549f2(0x466)]({'type':0x2,'memberID':this[_0x3549f2(0x242)]});},Wt);}[_0x1ab38c(0x3bf)](_0xb9f260){const _0x2920fa=_0x1ab38c;return this[_0x2920fa(0x174)]['has'](_0xb9f260)||this[_0x2920fa(0x174)][_0x2920fa(0x1c6)](_0xb9f260,new N[(_0x2920fa(0x3bd))](0x0)),this[_0x2920fa(0x174)][_0x2920fa(0x3f9)](_0xb9f260);}}var jn=Object[_0x1ab38c(0x322)],Hn=Object[_0x1ab38c(0x5da)],Bn=(_0x2917ee,_0x36c4b2,_0x56fe33,_0x591dbd)=>{for(var _0x481f0d=_0x591dbd>0x1?void 0x0:_0x591dbd?Hn(_0x36c4b2,_0x56fe33):_0x36c4b2,_0x4dd6ad=_0x2917ee['length']-0x1,_0x45988d;_0x4dd6ad>=0x0;_0x4dd6ad--)(_0x45988d=_0x2917ee[_0x4dd6ad])&&(_0x481f0d=(_0x591dbd?_0x45988d(_0x36c4b2,_0x56fe33,_0x481f0d):_0x45988d(_0x481f0d))||_0x481f0d);return _0x591dbd&&_0x481f0d&&jn(_0x36c4b2,_0x56fe33,_0x481f0d),_0x481f0d;},ut=(_0x253be4,_0x103456)=>(_0x2b5836,_0x394c7c)=>_0x103456(_0x2b5836,_0x394c7c,_0x253be4);let et=class{constructor(_0x3e852d,_0x23c35d,_0x2adde4){const _0xba4036=_0x1ab38c;this[_0xba4036(0x2f8)]=_0x3e852d,this[_0xba4036(0x4bc)]=_0x23c35d,this[_0xba4036(0x3b3)]=_0x2adde4;}[_0x1ab38c(0x2f2)](_0x4112ab){const _0x55e6b2=_0x1ab38c;this[_0x55e6b2(0x5cd)](_0x4112ab);}[_0x1ab38c(0x1f3)](_0x5ee15e){const _0x6ef51c=_0x1ab38c,{unitID:_0x1c36e7}=_0x5ee15e,{collaboration:_0x338785}=this[_0x6ef51c(0x3b3)][_0x6ef51c(0x218)](_0x1c36e7);if(_0x338785['length']===0x0)return _0x5ee15e;let _0x3b81f0=a['Tools']['deepClone'](_0x5ee15e[_0x6ef51c(0x4ea)][0x0]);for(let _0x3b3a8b=0x0;_0x3b3a8b<_0x338785[_0x6ef51c(0x2b7)];_0x3b3a8b++){const _0x1ab302={'id':_0x6ef51c(0x401),'params':{'unitId':_0x338785[_0x3b3a8b]['unitId'],..._0x338785[_0x3b3a8b][_0x6ef51c(0x410)]}},_0x2969ad=this[_0x6ef51c(0x4bc)][_0x6ef51c(0x5cc)](_0x3b81f0,_0x1ab302,!0x1);if(m['isTransformMutationFailure'](_0x2969ad))throw _0x2969ad[_0x6ef51c(0x48d)];_0x3b81f0=_0x2969ad['m1Prime'];}return{...a[_0x6ef51c(0x5ed)][_0x6ef51c(0x252)](_0x5ee15e),'mutations':[_0x3b81f0]};}[_0x1ab38c(0x5cd)](_0x56c8c5){const _0x5d853a=_0x1ab38c,{unitID:_0x5b01a0}=_0x56c8c5,{history:_0x70a19a,collaboration:_0x420e2b}=this['_docStateChangeManagerService'][_0x5d853a(0x218)](_0x5b01a0);if(_0x70a19a[_0x5d853a(0x2b7)]===0x0&&_0x420e2b[_0x5d853a(0x2b7)]===0x0)return;const _0x2d7943=[],_0x217f90=[];let _0x49eb28=a[_0x5d853a(0x5ed)][_0x5d853a(0x252)](_0x56c8c5[_0x5d853a(0x4ea)][0x0]),_0x5cba5f=a['Tools']['deepClone'](_0x56c8c5[_0x5d853a(0x4ea)][0x0]);for(let _0xe7a461=_0x70a19a[_0x5d853a(0x2b7)]-0x1;_0xe7a461>=0x0;_0xe7a461--){const _0x175db8={'id':_0x5d853a(0x401),'params':{'unitId':_0x70a19a[_0xe7a461][_0x5d853a(0x1d7)],..._0x70a19a[_0xe7a461][_0x5d853a(0x35b)]}},_0x471034={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x70a19a[_0xe7a461][_0x5d853a(0x1d7)],..._0x70a19a[_0xe7a461][_0x5d853a(0x410)]}},_0x3e6cab=this[_0x5d853a(0x4bc)][_0x5d853a(0x5cc)](_0x49eb28,_0x175db8,!0x1),_0x19e8d6=this[_0x5d853a(0x4bc)][_0x5d853a(0x5cc)](_0x5cba5f,_0x471034,!0x1);if(m['isTransformMutationFailure'](_0x3e6cab))throw _0x3e6cab['error'];if(m[_0x5d853a(0x226)](_0x19e8d6))throw _0x19e8d6[_0x5d853a(0x48d)];_0x2d7943[_0x5d853a(0x5df)]({..._0x70a19a[_0xe7a461],'undoState':_0x3e6cab['m2Prime'][_0x5d853a(0x1f8)],'redoState':_0x19e8d6[_0x5d853a(0x1cb)][_0x5d853a(0x1f8)]}),_0x49eb28=_0x3e6cab['m1Prime'],_0x5cba5f=_0x19e8d6['m1Prime'];}_0x49eb28=a['Tools'][_0x5d853a(0x252)](_0x56c8c5['mutations'][0x0]),_0x5cba5f=a[_0x5d853a(0x5ed)]['deepClone'](_0x56c8c5[_0x5d853a(0x4ea)][0x0]);for(let _0x23c717=_0x420e2b['length']-0x1;_0x23c717>=0x0;_0x23c717--){const _0x4a1277={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x420e2b[_0x23c717][_0x5d853a(0x1d7)],..._0x420e2b[_0x23c717]['undoState']}},_0x5e62b1={'id':_0x5d853a(0x401),'params':{'unitId':_0x420e2b[_0x23c717]['unitId'],..._0x420e2b[_0x23c717]['redoState']}},_0x3d47f4=this['_transformService'][_0x5d853a(0x5cc)](_0x49eb28,_0x4a1277,!0x1),_0x2884b3=this['_transformService'][_0x5d853a(0x5cc)](_0x5cba5f,_0x5e62b1,!0x1);if(m['isTransformMutationFailure'](_0x3d47f4))throw _0x3d47f4[_0x5d853a(0x48d)];if(m['isTransformMutationFailure'](_0x2884b3))throw _0x2884b3[_0x5d853a(0x48d)];_0x217f90[_0x5d853a(0x5df)]({..._0x420e2b[_0x23c717],'undoState':_0x3d47f4[_0x5d853a(0x1cb)][_0x5d853a(0x1f8)],'redoState':_0x2884b3[_0x5d853a(0x1cb)][_0x5d853a(0x1f8)]}),_0x49eb28=_0x3d47f4[_0x5d853a(0x5ad)],_0x5cba5f=_0x2884b3[_0x5d853a(0x5ad)];}this[_0x5d853a(0x3b3)][_0x5d853a(0x487)](_0x5b01a0,{'history':_0x2d7943,'collaboration':_0x217f90});}};et=Bn([ut(0x0,a['Inject'](a[_0x1ab38c(0x26b)])),ut(0x1,m[_0x1ab38c(0x1d9)]),ut(0x2,a[_0x1ab38c(0x56d)](J[_0x1ab38c(0x553)]))],et);function Di(_0x4efcac){const _0x75b81d=_0x1ab38c;let _0x52233c='';for(const _0xf8074f of _0x4efcac){const {startOffset:_0x56924a,endOffset:_0x21db5f,isActive:_0x2ec448,rangeType:_0x512dd5,segmentId:_0xb260ab,segmentPage:_0x20582b}=_0xf8074f;_0x52233c[_0x75b81d(0x2b7)]&&(_0x52233c+=','),_0x52233c+=_0x56924a+':'+_0x21db5f+':'+(_0x2ec448?'1':'0')+':'+_0x512dd5+':'+_0xb260ab+':'+_0x20582b;}return _0x52233c;}function kn(_0x2e7129){const _0x32bf9e=_0x1ab38c,_0x1702cb=_0x2e7129[_0x32bf9e(0x463)](','),_0x238e5a=[];for(const _0x49a8f4 of _0x1702cb){const [_0xe49cb8,_0x536710,_0x3f6eff,_0x535a64,_0x82ae09,_0x287007]=_0x49a8f4[_0x32bf9e(0x463)](':');_0x238e5a[_0x32bf9e(0x2e4)]({'startOffset':Number(_0xe49cb8),'endOffset':Number(_0x536710),'collapsed':_0xe49cb8===_0x536710,'isActive':_0x3f6eff==='1','rangeType':_0x535a64===a[_0x32bf9e(0x5e6)][_0x32bf9e(0x349)]?a[_0x32bf9e(0x5e6)]['TEXT']:a['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x82ae09==_0x32bf9e(0x3a2)?String(_0x82ae09):'','segmentPage':Number(_0x287007!=null?_0x287007:-0x1)});}return _0x238e5a[_0x32bf9e(0x418)](_0x2a4c14=>_0x2a4c14[_0x32bf9e(0x2fb)])||(_0x238e5a[0x0]['isActive']=!0x0),_0x238e5a;}class Ut extends a[_0x1ab38c(0x579)]{constructor(){const _0x5490bc=_0x1ab38c;super(...arguments),I(this,_0x5490bc(0x609),new N['BehaviorSubject'](null)),I(this,_0x5490bc(0x4c0),this[_0x5490bc(0x609)]['asObservable']());}[_0x1ab38c(0x20e)](_0x4146ce){const _0x25e2e9=_0x1ab38c,{unitID:_0x3f984a,memberID:_0x45a8d2,textRanges:_0x1a2d1d}=_0x4146ce,_0xeaf1f3=Di(_0x1a2d1d);if(_0xeaf1f3==='')return;const _0xf69a26={'unitID':_0x3f984a,'memberID':_0x45a8d2,'selection':_0xeaf1f3};this[_0x25e2e9(0x609)][_0x25e2e9(0x2c0)](_0xf69a26);}}var Wn=Object[_0x1ab38c(0x322)],Fn=Object[_0x1ab38c(0x5da)],Vn=(_0x4776d1,_0x39eb2a,_0x4eceaf,_0x28966a)=>{const _0x4ef428=_0x1ab38c;for(var _0xa67b94=_0x28966a>0x1?void 0x0:_0x28966a?Fn(_0x39eb2a,_0x4eceaf):_0x39eb2a,_0x43fb0b=_0x4776d1[_0x4ef428(0x2b7)]-0x1,_0x2f7126;_0x43fb0b>=0x0;_0x43fb0b--)(_0x2f7126=_0x4776d1[_0x43fb0b])&&(_0xa67b94=(_0x28966a?_0x2f7126(_0x39eb2a,_0x4eceaf,_0xa67b94):_0x2f7126(_0xa67b94))||_0xa67b94);return _0x28966a&&_0xa67b94&&Wn(_0x39eb2a,_0x4eceaf,_0xa67b94),_0xa67b94;},Vt=(_0x373b90,_0x2d3eef)=>(_0x2ed5b9,_0x3e4940)=>_0x2d3eef(_0x2ed5b9,_0x3e4940,_0x373b90);let tt=class{constructor(_0x599b12,_0x1d71e6){const _0xd91fe8=_0x1ab38c;this[_0xd91fe8(0x2f8)]=_0x599b12,this[_0xd91fe8(0x4bc)]=_0x1d71e6;}['transformSelections'](_0x2df201){const _0x57502d=_0x1ab38c;var _0x4e4287;const _0x53ebfc=this['_injector']['get'](Ie[_0x57502d(0x195)]),_0x385d6f=(_0x4e4287=_0x53ebfc[_0x57502d(0x5fa)]())!=null?_0x4e4287:[];if(_0x385d6f[_0x57502d(0x2b7)]===0x0)return;const _0x5c1714=_0x2df201[_0x57502d(0x3d4)],_0x49d85e=[{'id':_0x57502d(0x401),'params':{'unitId':_0x5c1714,'actions':null,'textRanges':_0x385d6f}}],_0x229229=this[_0x57502d(0x4bc)]['transformMutationsWithChangeset'](_0x2df201,_0x49d85e);if(!m[_0x57502d(0x60c)](_0x229229))throw _0x229229['error'];const _0x148ce5=_0x229229[_0x57502d(0x1cb)][0x0][_0x57502d(0x1f8)][_0x57502d(0x480)];Array[_0x57502d(0x28e)](_0x148ce5)&&_0x148ce5[_0x57502d(0x2b7)]&&_0x53ebfc[_0x57502d(0x457)](_0x148ce5,{'unitId':_0x5c1714,'subUnitId':_0x5c1714},!0x1);}};tt=Vn([Vt(0x0,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),Vt(0x1,m[_0x1ab38c(0x1d9)])],tt);const Gn=new Set([k['InsertSheetMutation']['id']]);function Gt(_0xb1e6a,_0x17b3e9,_0x1e09e7,_0xb3b88f,_0x257678){const _0x39c837=_0x1ab38c;var _0x1e17aa,_0x124c17,_0x30d481,_0x2fd90b;const _0x1e7efd=[];for(const _0x32af42 of _0xb1e6a)if(Gn['has'](_0x32af42['id'])){if(_0x1e7efd[_0x39c837(0x2b7)]>0x0)break;_0x1e7efd[_0x39c837(0x2e4)](_0x32af42);break;}else _0x1e7efd[_0x39c837(0x2e4)](_0x32af42);const _0xe36949=(_0x124c17=(_0x1e17aa=_0x257678[_0x39c837(0x4f4)]())==null?void 0x0:_0x1e17aa[_0x39c837(0x438)])!=null?_0x124c17:_0x39c837(0x211),_0x508cfc=(_0x2fd90b=(_0x30d481=_0x257678[_0x39c837(0x4f4)]())==null?void 0x0:_0x30d481['memberID'])!=null?_0x2fd90b:_0x39c837(0x211);return{'changeset':{'unitID':_0x17b3e9,'type':m[_0x39c837(0x61d)](_0x1e09e7[_0x39c837(0x30d)](_0x17b3e9)),'baseRev':_0xb3b88f[_0x39c837(0x56f)](_0x17b3e9),'revision':0x0,'userID':_0xe36949,'memberID':_0x508cfc,'mutations':_0x1e7efd},'pendingMutations':_0xb1e6a['slice'](_0x1e7efd['length'])};}function Yn(_0x2eb868,_0x48553a,_0x117053,_0x24e399,_0x4e4d7a){const _0x1523fa=_0x1ab38c;var _0x1b13fb,_0x30a41d,_0x253940,_0x433311;const _0x3d0c30=[_0x2eb868['reduce']((_0x2ac7cb,_0x1ce342)=>{const _0x1bb804=_0x33d2;var _0x208913;const {id:_0x35f335}=_0x2ac7cb,{id:_0x147ddf,type:_0x2e0115}=_0x1ce342,_0x1eaca6=(_0x208913=_0x2ac7cb['params'])!=null?_0x208913:{'actions':null},_0x2705b2=_0x1ce342[_0x1bb804(0x1f8)];if(_0x35f335&&_0x35f335!==_0x147ddf)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x35f335+_0x1bb804(0x534)+_0x147ddf+'.');return{..._0x2ac7cb,'id':_0x147ddf,'type':_0x2e0115,'params':{'unitId':_0x2705b2['unitId'],'textRanges':_0x2705b2[_0x1bb804(0x480)],'actions':a[_0x1bb804(0x283)][_0x1bb804(0x531)](_0x1eaca6[_0x1bb804(0x1dc)],_0x2705b2[_0x1bb804(0x1dc)])}};},{})],_0x40ee62=(_0x30a41d=(_0x1b13fb=_0x4e4d7a['getCurrentUser']())==null?void 0x0:_0x1b13fb[_0x1523fa(0x438)])!=null?_0x30a41d:_0x1523fa(0x211),_0x4f0d65=(_0x433311=(_0x253940=_0x4e4d7a[_0x1523fa(0x4f4)]())==null?void 0x0:_0x253940[_0x1523fa(0x4c3)])!=null?_0x433311:'unknown';return{'changeset':{'unitID':_0x48553a,'type':m[_0x1523fa(0x61d)](_0x117053['getUnitType'](_0x48553a)),'baseRev':_0x24e399[_0x1523fa(0x56f)](_0x48553a),'revision':0x0,'userID':_0x40ee62,'memberID':_0x4f0d65,'mutations':_0x3d0c30},'pendingMutations':[]};}function Pi(_0x49c9b9,_0x1bae13){const _0x5b58c1=_0x1ab38c,_0x2d8f71=new N['ReplaySubject'](0x1);return setTimeout(()=>_0x2d8f71['next'](_0x1bae13),_0x49c9b9),_0x2d8f71[_0x5b58c1(0x3b4)]()[_0x5b58c1(0x21a)](N[_0x5b58c1(0x184)](0x1));}const qn={'id':k[_0x1ab38c(0x236)]['id'],'type':a[_0x1ab38c(0x395)][_0x1ab38c(0x28b)],'params':{}};var Kn=Object[_0x1ab38c(0x322)],zn=Object['getOwnPropertyDescriptor'],Ee=(_0x35401,_0x4aa565,_0x5b569a,_0x253cfd)=>{const _0x118ee7=_0x1ab38c;for(var _0x2d3607=_0x253cfd>0x1?void 0x0:_0x253cfd?zn(_0x4aa565,_0x5b569a):_0x4aa565,_0x4385f2=_0x35401[_0x118ee7(0x2b7)]-0x1,_0x265108;_0x4385f2>=0x0;_0x4385f2--)(_0x265108=_0x35401[_0x4385f2])&&(_0x2d3607=(_0x253cfd?_0x265108(_0x4aa565,_0x5b569a,_0x2d3607):_0x265108(_0x2d3607))||_0x2d3607);return _0x253cfd&&_0x2d3607&&Kn(_0x4aa565,_0x5b569a,_0x2d3607),_0x2d3607;},A=(_0x18de0d,_0xe8d9f6)=>(_0x5e5bda,_0x4ae30d)=>_0xe8d9f6(_0x5e5bda,_0x4ae30d,_0x18de0d),K=(_0x297549=>(_0x297549[_0x1ab38c(0x1d1)]=_0x1ab38c(0x5a5),_0x297549[_0x1ab38c(0x533)]=_0x1ab38c(0x396),_0x297549[_0x1ab38c(0x320)]='pending',_0x297549[_0x1ab38c(0x261)]=_0x1ab38c(0x3d7),_0x297549[_0x1ab38c(0x5b0)]=_0x1ab38c(0x1ff),_0x297549['FETCH_MISS']=_0x1ab38c(0x450),_0x297549[_0x1ab38c(0x5f1)]='conflict',_0x297549[_0x1ab38c(0x1e7)]=_0x1ab38c(0x573),_0x297549))(K||{});const wi=0xea60;class be{constructor(_0x1712e5,_0x59c917,_0x2aa0e3,_0x31a1d4,_0x54bc75,_0x32c537,_0x4035df,_0x3d1fe1,_0x39da37){const _0x5e6637=_0x1ab38c;I(this,_0x5e6637(0x4c5),null),I(this,_0x5e6637(0x1a9),[]),(this[_0x5e6637(0x3d4)]=_0x1712e5,this[_0x5e6637(0x57b)]=_0x59c917,this[_0x5e6637(0x25d)]=_0x54bc75,this[_0x5e6637(0x223)]=_0x32c537,this[_0x5e6637(0x4db)]=_0x4035df,this[_0x5e6637(0x276)]=_0x3d1fe1,this[_0x5e6637(0x28a)]=_0x39da37,this[_0x5e6637(0x4c5)]=_0x2aa0e3,this[_0x5e6637(0x1a9)]=_0x31a1d4);}[_0x1ab38c(0x52c)](_0x329ae1){const _0x4af840=_0x1ab38c,_0xc4d31e=this[_0x4af840(0x276)][_0x4af840(0x56f)](this['unitID']);return _0x329ae1['revision']>_0xc4d31e+0x1?(this[_0x4af840(0x25d)][_0x4af840(0x35d)]({'from':_0xc4d31e,'to':_0x329ae1[_0x4af840(0x3fa)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x2cc297){const _0x3f3bcc=_0x1ab38c;this[_0x3f3bcc(0x4db)][_0x3f3bcc(0x2a2)](this[_0x3f3bcc(0x3d4)],_0x2cc297);}[_0x1ab38c(0x18b)](_0x2d84a1){const _0x193982=_0x1ab38c;var _0x8c942b,_0x5ba53a;(_0x5ba53a=(_0x8c942b=this[_0x193982(0x25d)])['onTransformSelections'])==null||_0x5ba53a[_0x193982(0x4fd)](_0x8c942b,_0x2d84a1);}[_0x1ab38c(0x54e)](_0x15932d){const _0x337045=_0x1ab38c;var _0x4de85f,_0x28a751;return(_0x28a751=(_0x4de85f=this[_0x337045(0x25d)])[_0x337045(0x3c8)])==null?void 0x0:_0x28a751[_0x337045(0x4fd)](_0x4de85f,_0x15932d);}[_0x1ab38c(0x217)](_0x348d82){const _0x1c4d8e=_0x1ab38c;var _0x1cb85c,_0x1a1f9b;return(_0x1a1f9b=(_0x1cb85c=this[_0x1c4d8e(0x25d)])[_0x1c4d8e(0x216)])==null?void 0x0:_0x1a1f9b[_0x1c4d8e(0x4fd)](_0x1cb85c,_0x348d82);}[_0x1ab38c(0x4a4)](_0x249bf1){const _0x3ce19b=_0x1ab38c;var _0x5aae07,_0x501717,_0x556d91;return(_0x556d91=(_0x501717=(_0x5aae07=this['_handler'])[_0x3ce19b(0x597)])==null?void 0x0:_0x501717[_0x3ce19b(0x4fd)](_0x5aae07,_0x249bf1))!=null?_0x556d91:_0x249bf1;}[_0x1ab38c(0x630)](_0x2124b8){const _0xfe95f6=_0x1ab38c;var _0x95cb3e,_0x50ff23,_0x3037f2;return(_0x3037f2=(_0x50ff23=(_0x95cb3e=this['_handler'])[_0xfe95f6(0x26c)])==null?void 0x0:_0x50ff23[_0xfe95f6(0x4fd)](_0x95cb3e,_0x2124b8))!=null?_0x3037f2:_0x2124b8;}[_0x1ab38c(0x51b)](_0x35d6ef){const _0x4e9432=_0x1ab38c;var _0x1e18b0,_0x7a3a82;if(this[_0x4e9432(0x57b)]===ie[_0x4e9432(0x355)]){const {unitID:_0x1fb1e3,mutations:_0x57a48e,memberID:_0x222389}=_0x35d6ef,_0x285c0e=_0x57a48e[0x0][_0x4e9432(0x1f8)][_0x4e9432(0x480)];Array[_0x4e9432(0x28e)](_0x285c0e)&&_0x285c0e[_0x4e9432(0x2b7)]>0x0&&((_0x7a3a82=(_0x1e18b0=this[_0x4e9432(0x25d)])[_0x4e9432(0x46b)])==null||_0x7a3a82[_0x4e9432(0x4fd)](_0x1e18b0,{'unitID':_0x1fb1e3,'memberID':_0x222389,'textRanges':_0x285c0e}));}}[_0x1ab38c(0x293)](){const _0x22b124=_0x1ab38c;this[_0x22b124(0x28a)][_0x22b124(0x2db)](this[_0x22b124(0x3d4)],this['type'],this[_0x22b124(0x4c5)],this[_0x22b124(0x1a9)]);}[_0x1ab38c(0x1fe)](){const _0x23272e=_0x1ab38c;return this['_revisionService'][_0x23272e(0x56f)](this[_0x23272e(0x3d4)]);}['_incrementRevisionNumber'](){const _0x2524a7=_0x1ab38c;this['_revisionService'][_0x2524a7(0x46c)](this['unitID']);}['_executeRemoteChangeset'](_0x494ef4){const _0x5f8992=_0x1ab38c;var _0x352559;let _0x34d789=this[_0x5f8992(0x4a4)](_0x494ef4);_0x34d789=this[_0x5f8992(0x630)](_0x34d789);const _0x5cbd1b=a['sequenceExecute'](_0x34d789[_0x5f8992(0x4ea)],this[_0x5f8992(0x223)],{'fromCollab':!0x0});if(!_0x5cbd1b[_0x5f8992(0x590)])throw _0x5cbd1b[_0x5f8992(0x48d)]instanceof Error?_0x5cbd1b[_0x5f8992(0x48d)]:new Error((_0x352559=_0x5cbd1b[_0x5f8992(0x48d)])!=null?_0x352559:_0x5f8992(0x1b5));this[_0x5f8992(0x54e)](_0x34d789),this['_transformStateCache'](_0x34d789),this['_transformUndoredo'](_0x494ef4),this[_0x5f8992(0x18b)](_0x34d789),this[_0x5f8992(0x51b)](_0x34d789),this[_0x5f8992(0x3cb)]();}}let Oe=class extends be{constructor(_0x402c70,_0x3cb580,_0x2ece78,_0x2bff97,_0x3b0f54,_0x18f196,_0x188844,_0x481ab5,_0x46a5cf,_0x58353b){const _0xb5a1d5=_0x1ab38c;super(_0x402c70,_0x3cb580,null,[],_0x2ece78,_0x481ab5,_0x188844,_0x2bff97,_0x3b0f54),I(this,_0xb5a1d5(0x338),_0xb5a1d5(0x396)),(this[_0xb5a1d5(0x2f8)]=_0x18f196,this['_logService']=_0x46a5cf,this[_0xb5a1d5(0x4bc)]=_0x58353b);}[_0x1ab38c(0x4d7)](_0x4a9bbf){const _0x2e8cd9=_0x1ab38c,_0x156cc0=this['_injector']['createInstance'](ae,this['unitID'],this[_0x2e8cd9(0x57b)],[_0x4a9bbf],this[_0x2e8cd9(0x25d)]);return _0x156cc0[_0x2e8cd9(0x1e2)](),_0x156cc0[_0x2e8cd9(0x293)](),_0x156cc0;}[_0x1ab38c(0x452)](_0x18572a){const _0x24551f=_0x1ab38c;if(this['_checkMissing'](_0x18572a))return this[_0x24551f(0x2f8)][_0x24551f(0x440)](re,this[_0x24551f(0x3d4)],this['type'],null,[],null,[_0x18572a],this['_handler']);try{const _0x220bd5=this[_0x24551f(0x4bc)][_0x24551f(0x435)](_0x18572a,[qn]);if(m[_0x24551f(0x60c)](_0x220bd5)){const {c1Prime:_0x343bec}=_0x220bd5;return this[_0x24551f(0x357)](_0x343bec),this;}throw _0x220bd5['error'];}catch(_0x298f68){return this['_logService'][_0x24551f(0x48d)](_0x298f68),this['_onConflict'](!0x1);}}[_0x1ab38c(0x209)](_0x3c7231){const _0x57c330=_0x1ab38c;return this['_injector'][_0x57c330(0x440)](fe,this['unitID'],this[_0x57c330(0x57b)],null,[],this['_handler'],_0x3c7231);}[_0x1ab38c(0x60a)](){const _0x480f40=_0x1ab38c;throw new Error(_0x480f40(0x515));}['onRemoteRej'](){const _0x3ca32a=_0x1ab38c;throw new Error(_0x3ca32a(0x3b1));}['onRemoteRetry'](){return this;}[_0x1ab38c(0x2d2)](){const _0x2c0db5=_0x1ab38c;return this['_injector'][_0x2c0db5(0x440)](ve,this[_0x2c0db5(0x3d4)],this['type'],null,[],this[_0x2c0db5(0x25d)]);}[_0x1ab38c(0x22a)](){return this;}[_0x1ab38c(0x3ce)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1ab38c(0x4a2)](){const _0x5e3e93=_0x1ab38c,_0x387357=this['_revisionService'][_0x5e3e93(0x56f)](this[_0x5e3e93(0x3d4)]);return this[_0x5e3e93(0x25d)][_0x5e3e93(0x35d)]({'from':_0x387357,'to':0x0}),this[_0x5e3e93(0x2f8)][_0x5e3e93(0x440)](re,this[_0x5e3e93(0x3d4)],this[_0x5e3e93(0x57b)],null,[],null,[],this[_0x5e3e93(0x25d)]);}};Oe=Ee([A(0x3,a['Inject'](m[_0x1ab38c(0x187)])),A(0x4,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x516)])),A(0x5,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x6,a['IUndoRedoService']),A(0x7,a[_0x1ab38c(0x430)]),A(0x8,a[_0x1ab38c(0x626)]),A(0x9,m[_0x1ab38c(0x1d9)])],Oe);let ae=class extends be{constructor(_0x491b5d,_0x39c5a3,_0x218c7a,_0x2e0546,_0x462c4e,_0x5ecd5c,_0x2f1857,_0x1aa8c7,_0x2005a8,_0xae96a5,_0xdbc98b,_0x2e6e30,_0x408ed8,_0x21519f){const _0x4a3952=_0x1ab38c;super(_0x491b5d,_0x39c5a3,null,_0x218c7a,_0x2e0546,_0xae96a5,_0x21519f,_0x5ecd5c,_0x2f1857),I(this,_0x4a3952(0x338),_0x4a3952(0x16a)),I(this,_0x4a3952(0x49c),null),I(this,'_sendingTimer',null),(this[_0x4a3952(0x2f8)]=_0x462c4e,this[_0x4a3952(0x361)]=_0x1aa8c7,this[_0x4a3952(0x4d3)]=_0x2005a8,this[_0x4a3952(0x3fd)]=_0xdbc98b,this[_0x4a3952(0x4bc)]=_0x2e6e30,this[_0x4a3952(0x3b6)]=_0x408ed8);}[_0x1ab38c(0x4d7)](_0x1e57ff){const _0x44dfb6=_0x1ab38c;return this[_0x44dfb6(0x1a9)][_0x44dfb6(0x2e4)](_0x1e57ff),this[_0x44dfb6(0x293)](),this;}['onRemoteChangeset'](_0x53bbd1){const _0x2222ba=_0x1ab38c;if(this[_0x2222ba(0x52c)](_0x53bbd1))return this[_0x2222ba(0x1ae)](),this[_0x2222ba(0x2f8)][_0x2222ba(0x440)](re,this['unitID'],this[_0x2222ba(0x57b)],null,this[_0x2222ba(0x1a9)],null,[_0x53bbd1],this[_0x2222ba(0x25d)]);try{const _0x51b9db=this[_0x2222ba(0x4bc)][_0x2222ba(0x435)](_0x53bbd1,this['_pendingMutations']);if(m[_0x2222ba(0x60c)](_0x51b9db)){const {c1Prime:_0x26032f,m2Prime:_0x4c5b52}=_0x51b9db;this['_executeRemoteChangeset'](_0x26032f);const _0x3afcc4=this[_0x2222ba(0x2f8)][_0x2222ba(0x440)](ae,this[_0x2222ba(0x3d4)],this['type'],_0x4c5b52,this[_0x2222ba(0x25d)]);return this[_0x2222ba(0x1ae)](),_0x3afcc4['_schedule'](this[_0x2222ba(0x49c)]?Math[_0x2222ba(0x412)](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0x2222ba(0x434)]()),_0x3afcc4;}throw _0x51b9db[_0x2222ba(0x48d)];}catch(_0x2230c5){return this[_0x2222ba(0x4d3)][_0x2222ba(0x48d)](_0x2230c5),this['_onConflict'](!0x1);}}[_0x1ab38c(0x60a)](){const _0x2d3384=_0x1ab38c;throw new Error(_0x2d3384(0x524));}[_0x1ab38c(0x1ab)](){const _0x11963e=_0x1ab38c;throw new Error(_0x11963e(0x2ec));}[_0x1ab38c(0x51c)](){return this;}[_0x1ab38c(0x2d2)](){const _0x5db1e1=_0x1ab38c;return this[_0x5db1e1(0x1ae)](),this[_0x5db1e1(0x2f8)][_0x5db1e1(0x440)](ve,this[_0x5db1e1(0x3d4)],this['type'],null,this[_0x5db1e1(0x1a9)],this[_0x5db1e1(0x25d)]);}[_0x1ab38c(0x22a)](){return this;}[_0x1ab38c(0x1e2)](_0x47344c){const _0x507b30=_0x1ab38c,_0x1561ed=_0x47344c!=null?_0x47344c:this[_0x507b30(0x434)]();this[_0x507b30(0x49c)]=new Date()[_0x507b30(0x2ee)](),this['_sendingTimer']=window[_0x507b30(0x45c)](()=>{const _0x364bf7=_0x507b30;this[_0x364bf7(0x1ae)]();let _0x279b68=null;switch(this[_0x364bf7(0x57b)]){case ie[_0x364bf7(0x2e0)]:{_0x279b68=Gt(this[_0x364bf7(0x1a9)],this[_0x364bf7(0x3d4)],this[_0x364bf7(0x3b6)],this[_0x364bf7(0x276)],this[_0x364bf7(0x361)]);break;}case ie[_0x364bf7(0x355)]:{this[_0x364bf7(0x1a9)][_0x364bf7(0x3af)](_0x26cf2e=>_0x26cf2e['id']===Ie[_0x364bf7(0x2a5)]['id'])?_0x279b68=Yn(this[_0x364bf7(0x1a9)],this[_0x364bf7(0x3d4)],this[_0x364bf7(0x3b6)],this[_0x364bf7(0x276)],this[_0x364bf7(0x361)]):_0x279b68=Gt(this[_0x364bf7(0x1a9)],this[_0x364bf7(0x3d4)],this['_univerInstanceService'],this[_0x364bf7(0x276)],this[_0x364bf7(0x361)]);break;}default:throw new Error(_0x364bf7(0x5a2)+this[_0x364bf7(0x57b)]+'\x20in\x20_schedule.');}const {changeset:_0x6fe67f,pendingMutations:_0x4ac80f}=_0x279b68;this[_0x364bf7(0x25d)][_0x364bf7(0x55d)](_0x6fe67f);const _0x1b5341=_0x4ac80f[_0x364bf7(0x2b7)]?this['_injector']['createInstance'](ce,this['unitID'],this['type'],_0x6fe67f,_0x4ac80f,this[_0x364bf7(0x25d)],void 0x0):this[_0x364bf7(0x2f8)]['createInstance'](de,this['unitID'],this[_0x364bf7(0x57b)],_0x6fe67f,this[_0x364bf7(0x25d)]);_0x1b5341[_0x364bf7(0x293)](),this['_handler'][_0x364bf7(0x44c)](this,_0x1b5341);},_0x1561ed);}[_0x1ab38c(0x434)](){const _0x3604df=_0x1ab38c;var _0x1d191b;const _0x3f4182=this[_0x3604df(0x3fd)][_0x3604df(0x489)](Z);return(_0x1d191b=_0x3f4182==null?void 0x0:_0x3f4182[_0x3604df(0x62f)])!=null?_0x1d191b:zi;}[_0x1ab38c(0x3ce)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1ab38c(0x1ae)](){const _0x40ab8c=_0x1ab38c;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x40ab8c(0x334)]=null);}[_0x1ab38c(0x209)](_0x1b1054){const _0xdba55a=_0x1ab38c;return this['_clearScheduledTask'](),this['_injector']['createInstance'](fe,this[_0xdba55a(0x3d4)],this[_0xdba55a(0x57b)],null,this[_0xdba55a(0x1a9)],this[_0xdba55a(0x25d)],_0x1b1054);}};ae=Ee([A(0x4,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x5,a[_0x1ab38c(0x56d)](m['RevisionService'])),A(0x6,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x516)])),A(0x7,a['Inject'](exports[_0x1ab38c(0x32f)])),A(0x8,a['ILogService']),A(0x9,a['ICommandService']),A(0xa,a[_0x1ab38c(0x5bc)]),A(0xb,m[_0x1ab38c(0x1d9)]),A(0xc,a['IUniverInstanceService']),A(0xd,a['IUndoRedoService'])],ae);let de=class extends be{constructor(_0x3e1b13,_0x2be1de,_0x3422d1,_0x45889c,_0x3f59a7,_0x1b3020,_0x3d4995,_0x27ca98,_0x4d2e75,_0x25679f,_0x293f7f){const _0xd7cac3=_0x1ab38c;super(_0x3e1b13,_0x2be1de,_0x3422d1,[],_0x45889c,_0x27ca98,_0x293f7f,_0x1b3020,_0x3d4995),I(this,'status',_0xd7cac3(0x3d7)),I(this,_0xd7cac3(0x61a),0x0),I(this,'_resendTimer'),I(this,'_sender'),(this['_injector']=_0x3f59a7,this[_0xd7cac3(0x4d3)]=_0x4d2e75,this['_transformService']=_0x25679f);}[_0x1ab38c(0x4d7)](_0xf73317){const _0x5f13e1=_0x1ab38c;this[_0x5f13e1(0x1ae)]();const _0x34ad2a=this[_0x5f13e1(0x2f8)]['createInstance'](ce,this['unitID'],this[_0x5f13e1(0x57b)],this[_0x5f13e1(0x4c5)],[_0xf73317],this[_0x5f13e1(0x25d)],this[_0x5f13e1(0x409)]);return _0x34ad2a['_updateLocalCache'](),_0x34ad2a;}['onRemoteChangeset'](_0x1d4b15){const _0x20f7e8=_0x1ab38c;if(this[_0x20f7e8(0x52c)](_0x1d4b15))return this['_clearScheduledTask'](),this[_0x20f7e8(0x2f8)][_0x20f7e8(0x440)](re,this['unitID'],this['type'],this[_0x20f7e8(0x4c5)],[],null,[_0x1d4b15],this[_0x20f7e8(0x25d)]);try{const _0x27e6e0=this[_0x20f7e8(0x4bc)][_0x20f7e8(0x1d6)]([_0x1d4b15],[this[_0x20f7e8(0x4c5)]],!0x1);if(m[_0x20f7e8(0x60b)](_0x27e6e0)){const {c1Prime:_0x4d2f5d,c2Prime:_0x158f28}=_0x27e6e0;this[_0x20f7e8(0x357)](_0x4d2f5d[0x0]),_0x158f28[0x0][_0x20f7e8(0x212)]=this[_0x20f7e8(0x1fe)](),this[_0x20f7e8(0x1ae)]();const _0x157f18=this[_0x20f7e8(0x2f8)][_0x20f7e8(0x440)](de,this[_0x20f7e8(0x3d4)],this[_0x20f7e8(0x57b)],_0x158f28[0x0],this['_handler']);return _0x157f18['_updateLocalCache'](),_0x157f18;}return this[_0x20f7e8(0x209)](!0x1);}catch(_0x2f7f40){return this[_0x20f7e8(0x4d3)][_0x20f7e8(0x48d)](_0x2f7f40),this['_onConflict'](!0x1);}}[_0x1ab38c(0x60a)](_0x3aaf03){const _0x463c53=_0x1ab38c;this['_clearScheduledTask']();const _0x29e29c=this[_0x463c53(0x276)]['getCurrentRevOfUnit'](this[_0x463c53(0x3d4)]);if(_0x3aaf03[_0x463c53(0x3fa)]<_0x29e29c-0x1)return this;if(this[_0x463c53(0x52c)](_0x3aaf03))return this['_injector'][_0x463c53(0x440)](re,this['unitID'],this[_0x463c53(0x57b)],null,[],this['_awaitingChangeset'],[],this[_0x463c53(0x25d)]);this['_incrementRevisionNumber']();const _0x2c946e=this['_injector']['createInstance'](Oe,this[_0x463c53(0x3d4)],this[_0x463c53(0x57b)],this['_handler']);return _0x2c946e[_0x463c53(0x293)](),_0x2c946e;}[_0x1ab38c(0x1ab)](_0x51ea33){return this['_onConflict'](!!(_0x51ea33!=null&&_0x51ea33['isPermissionRej']));}[_0x1ab38c(0x51c)](_0x2135e2){const _0x4a98e7=_0x1ab38c;return this['_resendTimeout']>wi?this[_0x4a98e7(0x2d2)]():(this[_0x4a98e7(0x409)]=Pi(this[_0x4a98e7(0x61a)],{'timeout':this['_resendTimeout'],'reqId':_0x2135e2[_0x4a98e7(0x4f6)]}),this[_0x4a98e7(0x3f3)]=this[_0x4a98e7(0x409)]['subscribe'](({reqId:_0xa1de82,timeout:_0x382db9})=>{const _0x29b219=_0x4a98e7;this[_0x29b219(0x2bc)](_0xa1de82,_0x382db9);}),this);}[_0x1ab38c(0x2d2)](){const _0x321bfb=_0x1ab38c;return this[_0x321bfb(0x1ae)](),this['_injector'][_0x321bfb(0x440)](ve,this['unitID'],this[_0x321bfb(0x57b)],this[_0x321bfb(0x4c5)],[],this[_0x321bfb(0x25d)]);}['toggleOnline'](){return this;}[_0x1ab38c(0x3ce)](){const _0x1a015c=_0x1ab38c;this[_0x1a015c(0x25d)][_0x1a015c(0x55d)](this[_0x1a015c(0x4c5)]);}[_0x1ab38c(0x209)](_0x2d9e21){const _0x143a24=_0x1ab38c;return this[_0x143a24(0x1ae)](),this[_0x143a24(0x2f8)][_0x143a24(0x440)](fe,this[_0x143a24(0x3d4)],this[_0x143a24(0x57b)],this[_0x143a24(0x4c5)],[],this[_0x143a24(0x25d)],_0x2d9e21);}[_0x1ab38c(0x2bc)](_0x247cf7,_0x35dfd4){const _0x4d459e=_0x1ab38c;var _0x3a398c;_0x247cf7===((_0x3a398c=this[_0x4d459e(0x4c5)])==null?void 0x0:_0x3a398c['reqId'])&&(this['resend'](),this[_0x4d459e(0x61a)]=_0x35dfd4===0x0?0x3e8:_0x35dfd4*0x2);}['_clearScheduledTask'](){const _0x350b42=_0x1ab38c;var _0x226cd4;(_0x226cd4=this[_0x350b42(0x3f3)])==null||_0x226cd4['unsubscribe'](),this['_resendTimeout']=0x0;}};de=Ee([A(0x4,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x5,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x187)])),A(0x6,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x516)])),A(0x7,a[_0x1ab38c(0x430)]),A(0x8,a[_0x1ab38c(0x626)]),A(0x9,m['ITransformService']),A(0xa,a[_0x1ab38c(0x248)])],de);let ce=class extends be{constructor(_0x4296de,_0x2c3b3,_0x147847,_0x4de519,_0x3f6942,_0x42245e,_0x52dd06,_0xeaa4c7,_0x2305d1,_0x42164d,_0x24553f,_0x5bc040,_0x55d43e){const _0x3f8c59=_0x1ab38c;super(_0x4296de,_0x2c3b3,_0x147847,_0x4de519,_0x3f6942,_0x42164d,_0x55d43e,_0xeaa4c7,_0x2305d1),I(this,_0x3f8c59(0x338),_0x3f8c59(0x1ff)),I(this,'_resendTimeout',0x0),I(this,_0x3f8c59(0x409)),I(this,_0x3f8c59(0x3f3)),(this[_0x3f8c59(0x2f8)]=_0x52dd06,this['_logService']=_0x24553f,this[_0x3f8c59(0x4bc)]=_0x5bc040,_0x42245e&&(this[_0x3f8c59(0x409)]=_0x42245e,this[_0x3f8c59(0x3f3)]=this[_0x3f8c59(0x409)]['subscribe'](({reqId:_0x20a7d9,timeout:_0x3e567b})=>{const _0x10d887=_0x3f8c59;this[_0x10d887(0x2bc)](_0x20a7d9,_0x3e567b);})));}[_0x1ab38c(0x4d7)](_0x3ff937){const _0x1ac0b9=_0x1ab38c;return this[_0x1ac0b9(0x1a9)]['push'](_0x3ff937),this;}[_0x1ab38c(0x452)](_0x51371f){const _0x5105e5=_0x1ab38c;if(this[_0x5105e5(0x52c)](_0x51371f))return this[_0x5105e5(0x1ae)](),this[_0x5105e5(0x2f8)]['createInstance'](re,this['unitID'],this[_0x5105e5(0x57b)],this[_0x5105e5(0x4c5)],this['_pendingMutations'],null,[_0x51371f],this[_0x5105e5(0x25d)]);try{const _0x486e49=this[_0x5105e5(0x4bc)][_0x5105e5(0x1d6)]([_0x51371f],[this['_awaitingChangeset']],!0x1);if(m[_0x5105e5(0x60b)](_0x486e49)){const {c1Prime:_0x1a56c7,c2Prime:_0x1d66f1}=_0x486e49,_0x12897b=this[_0x5105e5(0x4bc)][_0x5105e5(0x435)](_0x1a56c7[0x0],this[_0x5105e5(0x1a9)]);if(m[_0x5105e5(0x60c)](_0x12897b)){const {c1Prime:_0xf25e20,m2Prime:_0x215112}=_0x12897b;return this['_executeRemoteChangeset'](_0xf25e20),_0x1d66f1[0x0][_0x5105e5(0x212)]=this[_0x5105e5(0x1fe)](),this[_0x5105e5(0x1ae)](),this[_0x5105e5(0x2f8)][_0x5105e5(0x440)](ce,this[_0x5105e5(0x3d4)],this[_0x5105e5(0x57b)],_0x1d66f1[0x0],_0x215112,this[_0x5105e5(0x25d)],void 0x0);}throw _0x12897b['error'];}throw _0x486e49['error'];}catch(_0x38cd68){return this[_0x5105e5(0x4d3)][_0x5105e5(0x48d)](_0x38cd68),this[_0x5105e5(0x209)](!0x1);}}[_0x1ab38c(0x60a)](_0x572d0e){const _0x1b44fe=_0x1ab38c;if(this[_0x1b44fe(0x1ae)](),this[_0x1b44fe(0x52c)](_0x572d0e))return this[_0x1b44fe(0x2f8)][_0x1b44fe(0x440)](re,this[_0x1b44fe(0x3d4)],this[_0x1b44fe(0x57b)],null,this[_0x1b44fe(0x1a9)],this[_0x1b44fe(0x4c5)],[],this[_0x1b44fe(0x25d)]);this['_incrementRevisionNumber']();const _0x14c47b=this[_0x1b44fe(0x2f8)][_0x1b44fe(0x440)](ae,this['unitID'],this['type'],this[_0x1b44fe(0x1a9)],this['_handler']);return _0x14c47b[_0x1b44fe(0x1e2)](),_0x14c47b[_0x1b44fe(0x293)](),_0x14c47b;}[_0x1ab38c(0x1ab)](_0x16a695){const _0x507863=_0x1ab38c;return this[_0x507863(0x209)](!!(_0x16a695!=null&&_0x16a695[_0x507863(0x519)]));}[_0x1ab38c(0x51c)](_0x526469){const _0x18cee6=_0x1ab38c;return this[_0x18cee6(0x61a)]>wi?this[_0x18cee6(0x2d2)]():(this['_resendTimer']=Pi(this[_0x18cee6(0x61a)],{'timeout':this[_0x18cee6(0x61a)],'reqId':_0x526469['reqId']}),this[_0x18cee6(0x3f3)]=this[_0x18cee6(0x409)]['subscribe'](({reqId:_0x5aaf08,timeout:_0x5d0b02})=>{const _0x515f62=_0x18cee6;this[_0x515f62(0x2bc)](_0x5aaf08,_0x5d0b02);}),this);}[_0x1ab38c(0x2d2)](){const _0x156002=_0x1ab38c;return this[_0x156002(0x1ae)](),this[_0x156002(0x2f8)][_0x156002(0x440)](ve,this[_0x156002(0x3d4)],this['type'],this[_0x156002(0x4c5)],this['_pendingMutations'],this[_0x156002(0x25d)]);}[_0x1ab38c(0x22a)](){return this;}['resend'](){const _0x5ac75a=_0x1ab38c;this[_0x5ac75a(0x25d)][_0x5ac75a(0x55d)](this[_0x5ac75a(0x4c5)]);}[_0x1ab38c(0x209)](_0x1ce00f){const _0x2494bb=_0x1ab38c;return this['_clearScheduledTask'](),this[_0x2494bb(0x2f8)][_0x2494bb(0x440)](fe,this[_0x2494bb(0x3d4)],this[_0x2494bb(0x57b)],null,this[_0x2494bb(0x1a9)],this[_0x2494bb(0x25d)],_0x1ce00f);}[_0x1ab38c(0x2bc)](_0x2d338b,_0x50a334){const _0x3dad09=_0x1ab38c;var _0x51f8f9;_0x2d338b===((_0x51f8f9=this[_0x3dad09(0x4c5)])==null?void 0x0:_0x51f8f9[_0x3dad09(0x4f6)])&&(this[_0x3dad09(0x3ce)](),this[_0x3dad09(0x61a)]=_0x50a334===0x0?0x3e8:_0x50a334*0x2);}[_0x1ab38c(0x1ae)](){const _0x2c34cd=_0x1ab38c;var _0x5dbab6;(_0x5dbab6=this[_0x2c34cd(0x3f3)])==null||_0x5dbab6[_0x2c34cd(0x1f0)](),this['_resendTimeout']=0x0;}};ce=Ee([A(0x6,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x7,a['Inject'](m[_0x1ab38c(0x187)])),A(0x8,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x516)])),A(0x9,a[_0x1ab38c(0x430)]),A(0xa,a[_0x1ab38c(0x626)]),A(0xb,m[_0x1ab38c(0x1d9)]),A(0xc,a[_0x1ab38c(0x248)])],ce);let fe=class extends be{constructor(_0x4f399b,_0x486826,_0x28c175,_0x2ede05,_0x5f0a68,_0x5d92f1=!0x1,_0x59f2af,_0x101be8,_0x268845,_0x27b0c4,_0x8d58f2,_0x4bbeba,_0x467ea7){const _0x377a4f=_0x1ab38c;super(_0x4f399b,_0x486826,_0x28c175,_0x2ede05,_0x5f0a68,_0x101be8,_0x268845,_0x8d58f2,_0x27b0c4),I(this,'status',_0x377a4f(0x496)),(this[_0x377a4f(0x34a)]=_0x5d92f1,this[_0x377a4f(0x50b)]=_0x59f2af,this[_0x377a4f(0x1e1)]=_0x4bbeba,this['_notificationService']=_0x467ea7,this[_0x377a4f(0x613)](),this[_0x377a4f(0x27d)](),this['_disableEditing']());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x1ab38c(0x60a)](){return this;}[_0x1ab38c(0x1ab)](){return this;}[_0x1ab38c(0x51c)](){return this;}[_0x1ab38c(0x2d2)](){return this;}[_0x1ab38c(0x22a)](){return this;}[_0x1ab38c(0x3ce)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1ab38c(0x27d)](){const _0x3860c3=_0x1ab38c;this[_0x3860c3(0x28a)][_0x3860c3(0x2db)](this['unitID'],this[_0x3860c3(0x57b)],null,[]);}[_0x1ab38c(0x613)](){const _0x25266f=_0x1ab38c;this[_0x25266f(0x34a)]?this[_0x25266f(0x5f5)][_0x25266f(0x19e)]({'title':this[_0x25266f(0x1e1)]['t']('permission.title'),'content':this[_0x25266f(0x1e1)]['t'](_0x25266f(0x616)),'type':_0x25266f(0x48d),'duration':0x0}):this[_0x25266f(0x5f5)][_0x25266f(0x19e)]({'title':this[_0x25266f(0x1e1)]['t'](_0x25266f(0x259)),'content':this[_0x25266f(0x1e1)]['t'](_0x25266f(0x351)),'type':_0x25266f(0x48d),'duration':0x0});}[_0x1ab38c(0x3e8)](){const _0x57a53b=_0x1ab38c;this[_0x57a53b(0x50b)][_0x57a53b(0x3f0)](new k['WorkbookEditablePermission'](this[_0x57a53b(0x3d4)])['id'],!0x1);}};fe=Ee([A(0x6,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x47f)])),A(0x7,a[_0x1ab38c(0x430)]),A(0x8,a['IUndoRedoService']),A(0x9,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x516)])),A(0xa,a['Inject'](m[_0x1ab38c(0x187)])),A(0xb,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x394)])),A(0xc,ee['INotificationService'])],fe);let ve=class extends be{constructor(_0x38f528,_0x33306a,_0x19d860,_0x3b5a77,_0x58659d,_0x551d86,_0x8a6a37,_0x2629bb,_0x2af58e,_0x279a49){const _0x2fec5c=_0x1ab38c;super(_0x38f528,_0x33306a,_0x19d860,_0x3b5a77,_0x58659d,_0x2af58e,_0x279a49,_0x8a6a37,_0x2629bb),I(this,_0x2fec5c(0x338),_0x2fec5c(0x573)),this[_0x2fec5c(0x2f8)]=_0x551d86;}[_0x1ab38c(0x4d7)](_0x17d739){const _0x3b3c12=_0x1ab38c;return this[_0x3b3c12(0x1a9)][_0x3b3c12(0x2e4)](_0x17d739),this[_0x3b3c12(0x293)](),this;}[_0x1ab38c(0x452)](_0x4b3399){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x469e70=_0x1ab38c;throw new Error(_0x469e70(0x5f7));}['onRemoteRej'](){const _0x117bda=_0x1ab38c;throw new Error(_0x117bda(0x318));}[_0x1ab38c(0x51c)](){return this;}[_0x1ab38c(0x2d2)](){return this;}[_0x1ab38c(0x22a)](){const _0x1c8125=_0x1ab38c,{_injector:_0x44ad5c,_pendingMutations:_0x57d96d,_awaitingChangeset:_0x169a06,unitID:_0x4f673d,_handler:_0x36d022,type:_0x22e09a}=this,_0x5ed5ec=Ui(_0x44ad5c,_0x4f673d,_0x22e09a,_0x169a06,_0x57d96d,_0x36d022);return _0x5ed5ec instanceof ae?_0x5ed5ec[_0x1c8125(0x1e2)]():(_0x5ed5ec instanceof ce||_0x5ed5ec instanceof de)&&_0x5ed5ec['resend'](),_0x5ed5ec;}[_0x1ab38c(0x3ce)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ve=Ee([A(0x5,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x6,a['Inject'](m[_0x1ab38c(0x187)])),A(0x7,a[_0x1ab38c(0x56d)](exports['LocalCacheService'])),A(0x8,a['ICommandService']),A(0x9,a[_0x1ab38c(0x248)])],ve);let re=class extends be{constructor(_0x1ff214,_0x195eb8,_0x3395b8,_0x5dbd47,_0x43b37c,_0x3c27e5,_0x22f671,_0x4a3ad4,_0xa5b1e3,_0x2c02dd,_0x519d67,_0x18d17a,_0x2ae10e,_0x3b3a8d){const _0x2b73fb=_0x1ab38c;super(_0x1ff214,_0x195eb8,_0x3395b8,_0x5dbd47,_0x22f671,_0x18d17a,_0x2ae10e,_0xa5b1e3,_0x2c02dd),I(this,'status',_0x2b73fb(0x450)),(this['_acknowledgedAwaitingChangeset']=_0x43b37c,this[_0x2b73fb(0x619)]=_0x3c27e5,this[_0x2b73fb(0x2f8)]=_0x4a3ad4,this['_logService']=_0x519d67,this[_0x2b73fb(0x4bc)]=_0x3b3a8d);}[_0x1ab38c(0x18a)](_0x30dc76){const _0x1ee473=_0x1ab38c;try{const _0x3a345e=[..._0x30dc76,...this[_0x1ee473(0x619)]],_0x3eafea=[this[_0x1ee473(0x4c5)]||this['_acknowledgedAwaitingChangeset']][_0x1ee473(0x4b6)](_0x3d8196=>!!_0x3d8196);let _0x1677c4,_0x1e5f99;if(_0x3eafea[_0x1ee473(0x2b7)]){const _0x545698=this[_0x1ee473(0x4bc)][_0x1ee473(0x1d6)](_0x3a345e,_0x3eafea,!0x1);if(!m[_0x1ee473(0x60b)](_0x545698))throw _0x545698['error'];_0x1677c4=_0x545698[_0x1ee473(0x16d)],_0x1e5f99=_0x545698[_0x1ee473(0x191)];}else _0x1677c4=_0x3a345e,_0x1e5f99=[];let _0x460b64=this[_0x1ee473(0x1a9)];_0x1677c4[_0x1ee473(0x3f4)](_0x284e4d=>{const _0x8917ea=_0x1ee473;let _0x1818b6;if(_0x460b64['length']){const _0x1aef87=this[_0x8917ea(0x4bc)][_0x8917ea(0x435)](_0x284e4d,_0x460b64);if(!m[_0x8917ea(0x60c)](_0x1aef87))throw _0x1aef87['error'];_0x1818b6=_0x1aef87[_0x8917ea(0x16d)],_0x460b64=_0x1aef87[_0x8917ea(0x1cb)];}else _0x1818b6=_0x284e4d;this[_0x8917ea(0x357)](_0x1818b6);}),this[_0x1ee473(0x58e)]&&this[_0x1ee473(0x3cb)](),this[_0x1ee473(0x4c5)]&&_0x1e5f99[_0x1ee473(0x2b7)]&&(_0x1e5f99[0x0][_0x1ee473(0x212)]=this['_getCurrentRevision']());let _0x390b72;if(this['_awaitingChangeset']&&_0x460b64['length']!==0x0)_0x390b72=this[_0x1ee473(0x2f8)][_0x1ee473(0x440)](ce,this[_0x1ee473(0x3d4)],this[_0x1ee473(0x57b)],_0x1e5f99[0x0],_0x460b64,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x460b64[_0x1ee473(0x2b7)]===0x0)_0x1e5f99[0x0][_0x1ee473(0x212)]=this[_0x1ee473(0x1fe)](),_0x390b72=this[_0x1ee473(0x2f8)][_0x1ee473(0x440)](de,this['unitID'],this[_0x1ee473(0x57b)],_0x1e5f99[0x0],this[_0x1ee473(0x25d)]);else{if(_0x460b64[_0x1ee473(0x2b7)]!==0x0){const _0x5874c9=this['_injector']['createInstance'](ae,this['unitID'],this[_0x1ee473(0x57b)],_0x460b64,this[_0x1ee473(0x25d)]);_0x5874c9['_schedule'](),_0x390b72=_0x5874c9;}else _0x390b72=this[_0x1ee473(0x2f8)]['createInstance'](Oe,this[_0x1ee473(0x3d4)],this['type'],this[_0x1ee473(0x25d)]);}}return _0x390b72[_0x1ee473(0x293)](),_0x390b72;}catch(_0x5b3e67){return this[_0x1ee473(0x4d3)][_0x1ee473(0x48d)](_0x1ee473(0x5a6),'failed\x20to\x20apply\x20missed\x20changesets!',_0x5b3e67),this['_injector']['createInstance'](fe,this['unitID'],this['type'],this[_0x1ee473(0x4c5)],this['_pendingMutations'],this[_0x1ee473(0x25d)],!0x1);}}[_0x1ab38c(0x3ce)](){const _0x21fb57=_0x1ab38c;throw new Error(_0x21fb57(0x54f));}[_0x1ab38c(0x4d7)](_0x356c64){const _0x1ec815=_0x1ab38c;return this['_pendingMutations'][_0x1ec815(0x2e4)](_0x356c64),this;}[_0x1ab38c(0x452)](_0x4d29f6){const _0x5d63fb=_0x1ab38c;return this[_0x5d63fb(0x619)][_0x5d63fb(0x2e4)](_0x4d29f6),this;}['onRemoteAck'](_0x8dc274){const _0x42813e=_0x1ab38c;if(this[_0x42813e(0x4c5)])return this['_acknowledgedAwaitingChangeset']=this[_0x42813e(0x4c5)],this[_0x42813e(0x4c5)]=null,this;throw new Error(_0x42813e(0x37e));}[_0x1ab38c(0x1ab)](_0xbf1a88){const _0x4c9b62=_0x1ab38c;return this[_0x4c9b62(0x209)](!!(_0xbf1a88!=null&&_0xbf1a88[_0x4c9b62(0x519)]));}[_0x1ab38c(0x51c)](){return this;}[_0x1ab38c(0x2d2)](){const _0x1da66a=_0x1ab38c;return this[_0x1da66a(0x2f8)][_0x1da66a(0x440)](ve,this[_0x1da66a(0x3d4)],this[_0x1da66a(0x57b)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1da66a(0x25d)]);}[_0x1ab38c(0x22a)](){return this;}[_0x1ab38c(0x209)](_0x37dcc8){const _0x128c62=_0x1ab38c;return this[_0x128c62(0x2f8)][_0x128c62(0x440)](fe,this[_0x128c62(0x3d4)],this['type'],this['_awaitingChangeset'],this[_0x128c62(0x1a9)],this['_handler'],_0x37dcc8);}};re=Ee([A(0x7,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x8,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x187)])),A(0x9,a['Inject'](exports[_0x1ab38c(0x516)])),A(0xa,a[_0x1ab38c(0x626)]),A(0xb,a[_0x1ab38c(0x430)]),A(0xc,a['IUndoRedoService']),A(0xd,m['ITransformService'])],re);function Ui(_0x16773e,_0x1f0452,_0x4d6eb7,_0x1bfc08,_0x8f7d60,_0x18a9af){const _0x2ce3ac=_0x1ab38c;return _0x1bfc08&&_0x8f7d60[_0x2ce3ac(0x2b7)]?_0x16773e[_0x2ce3ac(0x440)](ce,_0x1f0452,_0x4d6eb7,_0x1bfc08,_0x8f7d60,_0x18a9af,void 0x0):_0x1bfc08?_0x16773e[_0x2ce3ac(0x440)](de,_0x1f0452,_0x4d6eb7,_0x1bfc08,_0x18a9af):_0x8f7d60['length']?_0x16773e[_0x2ce3ac(0x440)](ae,_0x1f0452,_0x4d6eb7,_0x8f7d60,_0x18a9af):_0x16773e[_0x2ce3ac(0x440)](Oe,_0x1f0452,_0x4d6eb7,_0x18a9af);}var Xn=Object[_0x1ab38c(0x322)],Jn=Object[_0x1ab38c(0x5da)],Mt=(_0xd34aaf,_0x3e5501,_0x3506eb,_0x32a664)=>{const _0x3430e4=_0x1ab38c;for(var _0x392a4f=_0x32a664>0x1?void 0x0:_0x32a664?Jn(_0x3e5501,_0x3506eb):_0x3e5501,_0x281b91=_0xd34aaf[_0x3430e4(0x2b7)]-0x1,_0x2bd2c7;_0x281b91>=0x0;_0x281b91--)(_0x2bd2c7=_0xd34aaf[_0x281b91])&&(_0x392a4f=(_0x32a664?_0x2bd2c7(_0x3e5501,_0x3506eb,_0x392a4f):_0x2bd2c7(_0x392a4f))||_0x392a4f);return _0x32a664&&_0x392a4f&&Xn(_0x3e5501,_0x3506eb,_0x392a4f),_0x392a4f;},H=(_0x321156,_0x57e65f)=>(_0x2731da,_0x2a0c12)=>_0x57e65f(_0x2731da,_0x2a0c12,_0x321156);exports['CollaborationEntity']=class extends a[_0x1ab38c(0x579)]{constructor(_0x37bf06,_0x28bd1c,_0x3a1851,_0x1a2942,_0x3659a9,_0x3e9b48,_0xee1a19,_0x358e88,_0x4fe44a,_0x175c40,_0x3962d5,_0x138e5f,_0x472ddb){const _0xe89502=_0x1ab38c;super(),I(this,'_state$',new N[(_0xe89502(0x3bd))](null)),I(this,_0xe89502(0x5ff),this[_0xe89502(0x52f)][_0xe89502(0x3b4)]()),I(this,_0xe89502(0x33f)),I(this,_0xe89502(0x249),!0x1),I(this,_0xe89502(0x1bc),''),I(this,_0xe89502(0x3e9),0x0),I(this,_0xe89502(0x1af),this[_0xe89502(0x5ff)][_0xe89502(0x21a)](N[_0xe89502(0x4e4)](_0x4893fc=>_0x4893fc?_0x4893fc[_0xe89502(0x338)]:K['OFFLINE']),N['shareReplay'](0x1))),I(this,_0xe89502(0x569),!0x1),I(this,_0xe89502(0x29d),[]),(this[_0xe89502(0x3d4)]=_0x37bf06,this[_0xe89502(0x227)]=_0x28bd1c,this[_0xe89502(0x3fb)]=_0x3a1851,this[_0xe89502(0x2f8)]=_0x1a2942,this['_localCacheService']=_0x3659a9,this[_0xe89502(0x37d)]=_0x3e9b48,this['_localeService']=_0xee1a19,this[_0xe89502(0x276)]=_0x358e88,this[_0xe89502(0x4d3)]=_0x4fe44a,this[_0xe89502(0x223)]=_0x175c40,this['_messageService']=_0x3962d5,this[_0xe89502(0x50b)]=_0x138e5f,this[_0xe89502(0x1ca)]=_0x472ddb);}get[_0x1ab38c(0x5de)](){const _0x38158a=_0x1ab38c;return this[_0x38158a(0x33f)];}async['init'](){const _0x4ec0e2=_0x1ab38c;if(this['state'])throw new Error(_0x4ec0e2(0x2e7));await this['_init']();}['pauseCollaboration'](){const _0x459291=_0x1ab38c;return this[_0x459291(0x249)]=!0x0,a['toDisposable'](()=>{const _0x53a7b5=_0x459291;this[_0x53a7b5(0x249)]=!0x1,this[_0x53a7b5(0x367)]();});}[_0x1ab38c(0x40f)](_0xd32912){const _0x40731b=_0x1ab38c;this[_0x40731b(0x33f)]=_0xd32912,this['_state$'][_0x40731b(0x2c0)](_0xd32912);}async[_0x1ab38c(0x419)](){const _0x52f462=_0x1ab38c;var _0x252bd5;this[_0x52f462(0x40f)](await this[_0x52f462(0x2d7)]()),this[_0x52f462(0x1ca)]&&((_0x252bd5=this[_0x52f462(0x1ca)])==null||_0x252bd5[_0x52f462(0x548)](this[_0x52f462(0x3d4)]),this[_0x52f462(0x4ae)](this[_0x52f462(0x1ca)]['getUnitStatus$'](this[_0x52f462(0x3d4)])['subscribe'](_0x21889c=>{const _0x2aa7bc=_0x52f462;this['_logService']['debug'](_0x2aa7bc(0x333),'editing\x20status\x20changed\x20to',_0x21889c),_0x21889c===yi['OTHER_CLIENTS_EDITING']?(this[_0x2aa7bc(0x3d9)][_0x2aa7bc(0x19e)]({'content':this[_0x2aa7bc(0x1e1)]['t']('collaboration.single-unit.warning'),'type':Ce[_0x2aa7bc(0x16e)][_0x2aa7bc(0x475)]}),this['_permissionService'][_0x2aa7bc(0x3f0)](new k[(_0x2aa7bc(0x269))](this[_0x2aa7bc(0x3d4)])['id'],!0x1),this[_0x2aa7bc(0x50b)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x2aa7bc(0x3f0)](new k['WorkbookEditablePermission'](this[_0x2aa7bc(0x3d4)])['id'],!0x0),this[_0x2aa7bc(0x50b)][_0x2aa7bc(0x239)](!0x0));})));let _0x50f47c=!0x1;return this['disposeWithMe'](this['session'][_0x52f462(0x596)]['subscribe'](_0x31368c=>{const _0x485a48=_0x52f462;_0x31368c===ne[_0x485a48(0x36a)]?this[_0x485a48(0x5b8)](_0x50f47c):_0x31368c===ne[_0x485a48(0x1e7)]&&(_0x50f47c=!0x0,this['_toggleOffline']());})),this[_0x52f462(0x4ae)](this[_0x52f462(0x227)][_0x52f462(0x4b8)][_0x52f462(0x2cc)](_0x38e2b6=>{const _0xda53ce=_0x52f462;try{switch(_0x38e2b6[_0xda53ce(0x25e)]){case m['CollaborationEvent'][_0xda53ce(0x465)]:{this[_0xda53ce(0x2d9)](m[_0xda53ce(0x348)](_0x38e2b6[_0xda53ce(0x372)]));break;}case m['CollaborationEvent'][_0xda53ce(0x405)]:{this['_onRemoteACK'](_0x38e2b6[_0xda53ce(0x372)]);break;}case m[_0xda53ce(0x60d)][_0xda53ce(0x24c)]:{this[_0xda53ce(0x485)]();break;}case m['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this[_0xda53ce(0x2a9)](_0x38e2b6[_0xda53ce(0x372)]);break;}case m['CollaborationEvent'][_0xda53ce(0x4e8)]:{this['_onFetchMissResult'](_0x38e2b6[_0xda53ce(0x372)]['changesets'][_0xda53ce(0x4e4)](_0x4cc796=>m['parseProtocolChangeset'](_0x4cc796)));break;}case m[_0xda53ce(0x60d)]['PERMISSION_REJ']:this[_0xda53ce(0x485)]({'isPermissionRej':!0x0});}}catch(_0x5d19ea){throw console['error'](_0xda53ce(0x583),_0x5d19ea),_0x5d19ea;}})),this['_state'];}[_0x1ab38c(0x2f6)](){this['_transitionLocked']=!0x1;}[_0x1ab38c(0x169)](){const _0x4f2aba=_0x1ab38c;if(this['_transitionLocked'])throw new Error(_0x4f2aba(0x428));this[_0x4f2aba(0x569)]=!0x0;}['_onLocalMutation'](_0x4cc32e){const _0x15862c=_0x1ab38c;this[_0x15862c(0x169)](),this[_0x15862c(0x40f)](this['_state']['appendMutation'](_0x4cc32e)),this[_0x15862c(0x2f6)]();}[_0x1ab38c(0x2d9)](_0x70fa03){const _0x363a7f=_0x1ab38c;if(!(_0x70fa03[_0x363a7f(0x3fa)]<=this[_0x363a7f(0x276)][_0x363a7f(0x56f)](this[_0x363a7f(0x3d4)]))){if(this[_0x363a7f(0x249)]){this[_0x363a7f(0x29d)][_0x363a7f(0x2e4)](_0x70fa03);return;}this[_0x363a7f(0x22e)](_0x70fa03);}}[_0x1ab38c(0x367)](){const _0x294db0=_0x1ab38c;this[_0x294db0(0x29d)][_0x294db0(0x3f4)](_0xd2ccd9=>this['_applyRemoteChangeset'](_0xd2ccd9)),this[_0x294db0(0x29d)]=[];}[_0x1ab38c(0x22e)](_0x2c4ab0){const _0x4d06e3=_0x1ab38c,_0x270851=this[_0x4d06e3(0x37d)][_0x4d06e3(0x4b5)][_0x4d06e3(0x17e)](this['_compressMutationService'][_0x4d06e3(0x4b5)][_0x4d06e3(0x5db)]()[_0x4d06e3(0x423)])(_0x2c4ab0[_0x4d06e3(0x4ea)],null)||_0x2c4ab0[_0x4d06e3(0x4ea)],_0x4f5300={..._0x2c4ab0,'mutations':_0x270851};this['_lockTransition'](),this['_updateState'](this['_state'][_0x4d06e3(0x452)](_0x4f5300)),this[_0x4d06e3(0x2f6)]();}[_0x1ab38c(0x48c)](_0x3641b5){const _0x168cf4=_0x1ab38c;this[_0x168cf4(0x169)](),this[_0x168cf4(0x40f)](this['_state'][_0x168cf4(0x60a)](_0x3641b5)),this[_0x168cf4(0x2f6)]();}[_0x1ab38c(0x485)](_0x8e1d87){const _0x4a8af4=_0x1ab38c;this[_0x4a8af4(0x169)](),this[_0x4a8af4(0x40f)](this[_0x4a8af4(0x33f)][_0x4a8af4(0x1ab)](_0x8e1d87)),this[_0x4a8af4(0x2f6)]();}[_0x1ab38c(0x2a9)](_0x4f0dc7){const _0x288776=_0x1ab38c;this[_0x288776(0x169)](),this[_0x288776(0x40f)](this[_0x288776(0x33f)]['onRemoteRetry'](_0x4f0dc7)),this[_0x288776(0x2f6)]();}['_onFetchMissResult'](_0x595d2a){const _0x569b7f=_0x1ab38c;if(!(this[_0x569b7f(0x33f)]instanceof re))throw new TypeError(_0x569b7f(0x403));const _0x479f81=_0x595d2a[_0x569b7f(0x4e4)](_0x93da25=>{const _0x432323=_0x569b7f,_0x410f26=this['_compressMutationService'][_0x432323(0x4b5)][_0x432323(0x17e)](this[_0x432323(0x37d)][_0x432323(0x4b5)][_0x432323(0x5db)]()['COMPRESS_MUTATION_APPLY'])(_0x93da25[_0x432323(0x4ea)],null)||_0x93da25[_0x432323(0x4ea)];return{..._0x93da25,'mutations':_0x410f26};});this[_0x569b7f(0x169)](),this[_0x569b7f(0x40f)](this[_0x569b7f(0x33f)][_0x569b7f(0x18a)](_0x479f81)),this[_0x569b7f(0x2f6)]();}[_0x1ab38c(0x574)](){const _0x4b897c=_0x1ab38c;this[_0x4b897c(0x169)](),this['_updateState'](this[_0x4b897c(0x33f)][_0x4b897c(0x2d2)]()),this['_unlockTransition']();}[_0x1ab38c(0x5b8)](_0x141614=!0x1){const _0x1239c4=_0x1ab38c;this[_0x1239c4(0x169)](),this[_0x1239c4(0x40f)](this[_0x1239c4(0x33f)][_0x1239c4(0x22a)]()),this[_0x1239c4(0x2f6)]();const _0x466d98=this[_0x1239c4(0x33f)];_0x141614&&_0x466d98 instanceof Oe&&(this[_0x1239c4(0x169)](),this[_0x1239c4(0x40f)](_0x466d98[_0x1239c4(0x4a2)]()),this[_0x1239c4(0x2f6)]());}async['_createInitialState'](){return new Promise(_0x178918=>{const _0x4048cb=_0x33d2;this[_0x4048cb(0x227)][_0x4048cb(0x596)][_0x4048cb(0x21a)](N[_0x4048cb(0x184)](0x1))[_0x4048cb(0x2cc)](async _0x4d1682=>{const _0x4a1af6=_0x4048cb;_0x178918(await this[_0x4a1af6(0x40e)](_0x4d1682===ne[_0x4a1af6(0x36a)]));});});}[_0x1ab38c(0x192)](){const _0x56f302=_0x1ab38c,_0x583096=this[_0x56f302(0x3d4)];return{'onStateChange':(_0x2fefe3,_0x202611)=>{const _0x4fdb13=_0x56f302;if(_0x2fefe3!==this[_0x4fdb13(0x33f)])throw new Error(_0x4fdb13(0x301)+_0x2fefe3[_0x4fdb13(0x338)]+'\x0aAfter:\x20'+_0x202611[_0x4fdb13(0x338)]+_0x4fdb13(0x5fc)+this[_0x4fdb13(0x33f)][_0x4fdb13(0x338)]);this['_updateState'](_0x202611);},'onSendChangeset':_0xd0e7b8=>{const _0x155336=_0x56f302;_0xd0e7b8['sid']||(_0xd0e7b8[_0x155336(0x26f)]=this['_changesetSessionId'],_0xd0e7b8['reqId']=++this[_0x155336(0x3e9)]);const _0x18a50f={'eventID':m[_0x155336(0x60d)]['SUBMIT_CHANGESET'],'data':{'unitID':_0xd0e7b8['unitID'],'unitType':this['_type'],'changeset':_0xd0e7b8,'memberID':this['session'][_0x155336(0x342)]()}};this[_0x155336(0x227)][_0x155336(0x5fb)](_0x18a50f,this['unitID']);},'onMissingChangesets':({from:_0x276510,to:_0x1d68ee})=>{const _0x28ffbb=_0x56f302;this[_0x28ffbb(0x4d3)][_0x28ffbb(0x479)](_0x28ffbb(0x333),'fetching\x20missing\x20changesets\x20from\x20'+_0x276510+'\x20to\x20'+_0x1d68ee);const _0x100dce={'eventID':m[_0x28ffbb(0x60d)][_0x28ffbb(0x288)],'data':{'unitID':_0x583096,'unitType':this[_0x28ffbb(0x3fb)],'from':_0x276510,'to':_0x1d68ee}};this[_0x28ffbb(0x227)][_0x28ffbb(0x5fb)](_0x100dce,this[_0x28ffbb(0x3d4)]);}};}async[_0x1ab38c(0x40e)](_0x27d4c2){const _0x381278=_0x1ab38c;var _0x3999bf,_0x24044f;const _0x266111=await this[_0x381278(0x28a)][_0x381278(0x309)](this[_0x381278(0x3d4)]),_0x24fb82=(_0x3999bf=_0x266111==null?void 0x0:_0x266111[_0x381278(0x4ea)])!=null?_0x3999bf:[],_0x3eb518=(_0x24044f=_0x266111==null?void 0x0:_0x266111[_0x381278(0x228)])!=null?_0x24044f:null,_0x328e2c=!!(_0x3eb518!=null&&_0x3eb518[_0x381278(0x26f)])&&!!(_0x3eb518!=null&&_0x3eb518[_0x381278(0x4f6)]);this[_0x381278(0x1bc)]=_0x328e2c?_0x3eb518[_0x381278(0x26f)]:On(),this[_0x381278(0x3e9)]=_0x328e2c?_0x3eb518[_0x381278(0x4f6)]:0x0;const _0x525ea1=this[_0x381278(0x3d4)];try{this[_0x381278(0x1cd)](_0x3eb518,_0x24fb82);}catch(_0xf1f17){this[_0x381278(0x4d3)][_0x381278(0x48d)](_0xf1f17);}const _0x72d784=this[_0x381278(0x192)]();if(_0x27d4c2){const _0x15da15=Ui(this[_0x381278(0x2f8)],_0x525ea1,this[_0x381278(0x3fb)],_0x3eb518,_0x24fb82,_0x72d784);return _0x15da15 instanceof ae?_0x15da15[_0x381278(0x1e2)]():(_0x15da15 instanceof ce||_0x15da15 instanceof de)&&_0x15da15['resend'](),_0x15da15;}return this[_0x381278(0x2f8)][_0x381278(0x440)](ve,_0x525ea1,this[_0x381278(0x3fb)],_0x3eb518,_0x24fb82,_0x72d784);}[_0x1ab38c(0x1cd)](_0x53c628,_0x2aa7c0){const _0x22aa37=_0x1ab38c;var _0x4a9117,_0x37542d;const _0x465f6f=this[_0x22aa37(0x37d)][_0x22aa37(0x4b5)][_0x22aa37(0x17e)](this['_compressMutationService']['interceptor'][_0x22aa37(0x5db)]()['COMPRESS_MUTATION_APPLY']);(_0x4a9117=_0x465f6f((_0x53c628==null?void 0x0:_0x53c628[_0x22aa37(0x4ea)])||[],null))==null||_0x4a9117[_0x22aa37(0x3f4)](_0xfffa53=>this[_0x22aa37(0x223)]['executeCommand'](_0xfffa53['id'],_0xfffa53[_0x22aa37(0x1f8)])),(_0x37542d=_0x465f6f(_0x2aa7c0||[],null))==null||_0x37542d[_0x22aa37(0x3f4)](_0x2007af=>this['_commandService'][_0x22aa37(0x59c)](_0x2007af['id'],_0x2007af[_0x22aa37(0x1f8)]));}},exports[_0x1ab38c(0x2cd)]=Mt([H(0x3,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),H(0x4,a['Inject'](exports[_0x1ab38c(0x516)])),H(0x5,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x4b2)])),H(0x6,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x394)])),H(0x7,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x187)])),H(0x8,a['ILogService']),H(0x9,a[_0x1ab38c(0x430)]),H(0xa,ee[_0x1ab38c(0x592)]),H(0xb,a[_0x1ab38c(0x47f)]),H(0xc,a['Optional'](at))],exports[_0x1ab38c(0x2cd)]),exports['DocCollaborationEntity']=class extends exports[_0x1ab38c(0x2cd)]{constructor(_0x44a808,_0x4ce598,_0x45256b,_0x1c6bd8,_0x479758,_0x14e698,_0x296216,_0x36db15,_0x29983f,_0x1afd78,_0x251445,_0x3371dd,_0x4cc911,_0x2cd6de,_0x4a0a1a,_0x45e1df,_0x2e834c,_0x25e368){const _0x704401=_0x1ab38c;super(_0x44a808,_0x45256b,_0x4ce598,_0x1c6bd8,_0x479758,_0x14e698,_0x296216,_0x36db15,_0x2cd6de,_0x4a0a1a,_0x45e1df,_0x2e834c,_0x25e368),this[_0x704401(0x3d4)]=_0x44a808,this[_0x704401(0x57b)]=_0x4ce598,this['_docStateChangeManagerService']=_0x29983f,this[_0x704401(0x3bc)]=_0x1afd78,this[_0x704401(0x62d)]=_0x251445,this[_0x704401(0x186)]=_0x3371dd,this['_docSyncEditingCollabCursorService']=_0x4cc911;}[_0x1ab38c(0x192)](){const _0x3b0000=_0x1ab38c,_0x198a91=super['_createHandler']();return _0x198a91['onTransformIME']=_0x4f4e2f=>this[_0x3b0000(0x3bc)]['transformIMECache'](_0x4f4e2f),_0x198a91[_0x3b0000(0x216)]=_0xbfba7c=>this[_0x3b0000(0x62d)][_0x3b0000(0x2f2)](_0xbfba7c),_0x198a91[_0x3b0000(0x453)]=_0x2395bc=>this[_0x3b0000(0x186)][_0x3b0000(0x3ab)](_0x2395bc),_0x198a91[_0x3b0000(0x46b)]=_0x4ef5d8=>this[_0x3b0000(0x5c9)][_0x3b0000(0x20e)](_0x4ef5d8),_0x198a91['onTransformRemoteChangesetByIMECache']=_0x2b1bea=>this[_0x3b0000(0x3bc)][_0x3b0000(0x1f3)](_0x2b1bea),_0x198a91[_0x3b0000(0x26c)]=_0x367740=>this[_0x3b0000(0x62d)][_0x3b0000(0x1f3)](_0x367740),_0x198a91;}async[_0x1ab38c(0x419)](){const _0x21957b=_0x1ab38c,_0x55421b=await super[_0x21957b(0x419)]();return this[_0x21957b(0x4ae)](this[_0x21957b(0x3b3)][_0x21957b(0x266)][_0x21957b(0x21a)](N['takeUntil'](this[_0x21957b(0x326)]))[_0x21957b(0x2cc)](_0x553e86=>{const _0x22c092=_0x21957b;if(_0x553e86==null)return;const {unitId:_0x1e658d,redoState:_0x9753e2,commandId:_0x6ded14}=_0x553e86;if(_0x1e658d!==this[_0x22c092(0x3d4)])return;const _0x94025a={'id':_0x6ded14,'type':a[_0x22c092(0x395)][_0x22c092(0x28b)],'params':{'unitId':_0x1e658d,'actions':_0x9753e2[_0x22c092(0x1dc)],'textRanges':null}};this[_0x22c092(0x4b7)](_0x94025a);})),this[_0x21957b(0x4ae)](this[_0x21957b(0x223)][_0x21957b(0x365)]((_0x45a6b7,_0x3d933b)=>{const _0x360ce6=_0x21957b;if(_0x45a6b7[_0x360ce6(0x57b)]!==a[_0x360ce6(0x395)][_0x360ce6(0x28b)]||_0x3d933b!=null&&_0x3d933b[_0x360ce6(0x4de)]||_0x3d933b!=null&&_0x3d933b[_0x360ce6(0x36f)]||_0x45a6b7['id']===Ie[_0x360ce6(0x2a5)]['id'])return;const _0x1a6155=_0x45a6b7[_0x360ce6(0x1f8)];if((_0x1a6155==null?void 0x0:_0x1a6155[_0x360ce6(0x1d7)])!==this[_0x360ce6(0x3d4)])return;const _0x213905=_0x45a6b7,_0x2610a4=this[_0x360ce6(0x37d)]['interceptor'][_0x360ce6(0x17e)](this[_0x360ce6(0x37d)][_0x360ce6(0x4b5)][_0x360ce6(0x5db)]()[_0x360ce6(0x4f2)])([_0x213905],null)||[_0x213905];this[_0x360ce6(0x4b7)](_0x2610a4[0x0]);})),_0x55421b;}},exports['DocCollaborationEntity']=Mt([H(0x3,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),H(0x4,a['Inject'](exports[_0x1ab38c(0x516)])),H(0x5,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x4b2)])),H(0x6,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x394)])),H(0x7,a['Inject'](m[_0x1ab38c(0x187)])),H(0x8,a[_0x1ab38c(0x56d)](J[_0x1ab38c(0x553)])),H(0x9,a[_0x1ab38c(0x56d)](Ze)),H(0xa,a['Inject'](et)),H(0xb,a[_0x1ab38c(0x56d)](tt)),H(0xc,a['Inject'](Ut)),H(0xd,a[_0x1ab38c(0x626)]),H(0xe,a[_0x1ab38c(0x430)]),H(0xf,ee['IMessageService']),H(0x10,a['IPermissionService']),H(0x11,a[_0x1ab38c(0x627)](at))],exports[_0x1ab38c(0x290)]),exports[_0x1ab38c(0x3d8)]=class extends exports['CollaborationEntity']{constructor(_0x3df5ae,_0x19af30,_0x8a60b5,_0x4e7569,_0x2e9490,_0x51cc2a,_0x4a7d5b,_0x4da525,_0x47599f,_0x169134,_0x41b3a8,_0x46f674,_0x23d365,_0x52900b){const _0x1f23ce=_0x1ab38c;super(_0x3df5ae,_0x8a60b5,_0x19af30,_0x4e7569,_0x2e9490,_0x51cc2a,_0x4a7d5b,_0x4da525,_0x169134,_0x41b3a8,_0x46f674,_0x23d365,_0x52900b),this[_0x1f23ce(0x3d4)]=_0x3df5ae,this['type']=_0x19af30,this[_0x1f23ce(0x3cc)]=_0x47599f;}['_createHandler'](){const _0x419a81=_0x1ab38c,_0x1d8f5c=super[_0x419a81(0x192)]();return _0x1d8f5c[_0x419a81(0x453)]=_0x23b680=>this[_0x419a81(0x3cc)]['transformSelections'](_0x23b680),_0x1d8f5c;}async[_0x1ab38c(0x419)](){const _0x7765c3=_0x1ab38c,_0x3f960f=await super[_0x7765c3(0x419)]();return this[_0x7765c3(0x4ae)](this['_commandService'][_0x7765c3(0x365)]((_0x305423,_0x2b708a)=>{const _0x286eed=_0x7765c3;if(_0x305423[_0x286eed(0x57b)]!==a['CommandType']['MUTATION']||_0x2b708a!=null&&_0x2b708a[_0x286eed(0x4de)]||_0x2b708a!=null&&_0x2b708a[_0x286eed(0x36f)])return;const _0x1031a9=_0x305423[_0x286eed(0x1f8)];if((_0x1031a9==null?void 0x0:_0x1031a9[_0x286eed(0x1d7)])!==this[_0x286eed(0x3d4)])return;const _0x56da04=_0x305423,_0x5b3ff6=this[_0x286eed(0x37d)][_0x286eed(0x4b5)]['fetchThroughInterceptors'](this[_0x286eed(0x37d)][_0x286eed(0x4b5)][_0x286eed(0x5db)]()['COMPRESS_MUTATION_SEND'])([_0x56da04],null)||[_0x56da04];this['_onLocalMutation'](_0x5b3ff6[0x0]);})),_0x3f960f;}},exports['SheetCollaborationEntity']=Mt([H(0x3,a['Inject'](a[_0x1ab38c(0x26b)])),H(0x4,a['Inject'](exports[_0x1ab38c(0x516)])),H(0x5,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x4b2)])),H(0x6,a['Inject'](a['LocaleService'])),H(0x7,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x187)])),H(0x8,a[_0x1ab38c(0x56d)](Qe)),H(0x9,a['ILogService']),H(0xa,a['ICommandService']),H(0xb,ee['IMessageService']),H(0xc,a['IPermissionService']),H(0xd,a['Optional'](at))],exports['SheetCollaborationEntity']);var Zn=Object[_0x1ab38c(0x322)],Qn=Object[_0x1ab38c(0x5da)],er=(_0xef0c43,_0x1273ae,_0x33ea3f,_0x9c58e7)=>{const _0x38f801=_0x1ab38c;for(var _0x217b51=_0x9c58e7>0x1?void 0x0:_0x9c58e7?Qn(_0x1273ae,_0x33ea3f):_0x1273ae,_0x47c178=_0xef0c43[_0x38f801(0x2b7)]-0x1,_0x4c46f8;_0x47c178>=0x0;_0x47c178--)(_0x4c46f8=_0xef0c43[_0x47c178])&&(_0x217b51=(_0x9c58e7?_0x4c46f8(_0x1273ae,_0x33ea3f,_0x217b51):_0x4c46f8(_0x217b51))||_0x217b51);return _0x9c58e7&&_0x217b51&&Zn(_0x1273ae,_0x33ea3f,_0x217b51),_0x217b51;},dt=(_0x50db6d,_0x43926e)=>(_0x4753ac,_0x111ab8)=>_0x43926e(_0x4753ac,_0x111ab8,_0x50db6d);exports['CollaborationController']=class extends a[_0x1ab38c(0x579)]{constructor(_0x2ca652,_0x570c6d,_0x6d1a4){const _0x46cc68=_0x1ab38c;super(),I(this,_0x46cc68(0x2c5),new Map()),I(this,_0x46cc68(0x422),new N[(_0x46cc68(0x2dc))]()),(this[_0x46cc68(0x2f8)]=_0x2ca652,this[_0x46cc68(0x25f)]=_0x570c6d,this[_0x46cc68(0x3b6)]=_0x6d1a4,this['_init']());}[_0x1ab38c(0x31c)](){const _0x10e425=_0x1ab38c;super[_0x10e425(0x31c)](),this[_0x10e425(0x2c5)][_0x10e425(0x3f4)](_0x2d702e=>_0x2d702e[_0x10e425(0x31c)]()),this[_0x10e425(0x2c5)]['clear']();}[_0x1ab38c(0x42e)](_0x70b5fe){const _0x3cf764=_0x1ab38c;var _0x24512b;return(_0x24512b=this[_0x3cf764(0x2c5)][_0x3cf764(0x3f9)](_0x70b5fe))!=null?_0x24512b:null;}['getCollabEntity$'](_0x4309f0){const _0x524a76=_0x1ab38c,_0x4c6cd0=this[_0x524a76(0x42e)](_0x4309f0);return _0x4c6cd0?N['of'](_0x4c6cd0):this[_0x524a76(0x422)][_0x524a76(0x21a)](V['filter'](_0x77c003=>_0x77c003[_0x524a76(0x3d4)]===_0x4309f0));}[_0x1ab38c(0x419)](){const _0x12821b=_0x1ab38c;this[_0x12821b(0x3b6)][_0x12821b(0x1c4)](a[_0x12821b(0x564)][_0x12821b(0x2e0)])[_0x12821b(0x21a)](N[_0x12821b(0x37c)](this[_0x12821b(0x326)]),V[_0x12821b(0x5fd)](0x10))[_0x12821b(0x2cc)](async _0x1a09b4=>{const _0x355143=_0x12821b,_0x25044b=_0x1a09b4['getUnitId'](),_0x192a15=await this['_startCollaboration'](_0x25044b,ie[_0x355143(0x2e0)]);this['_entities'][_0x355143(0x1c6)](_0x25044b,_0x192a15);}),this[_0x12821b(0x3b6)][_0x12821b(0x1c4)](a['UniverInstanceType'][_0x12821b(0x355)])['pipe'](N[_0x12821b(0x37c)](this['dispose$']),V[_0x12821b(0x5fd)](0x10))['pipe'](V[_0x12821b(0x4b6)](_0x20937b=>!_0x20937b['getUnitId']()[_0x12821b(0x3c5)]('__')))[_0x12821b(0x2cc)](async _0x5a6588=>{const _0x36f6dd=_0x12821b,_0x5e1b62=_0x5a6588[_0x36f6dd(0x2f9)](),_0xfc4b8e=await this[_0x36f6dd(0x2d1)](_0x5e1b62,ie[_0x36f6dd(0x355)]);this[_0x36f6dd(0x2c5)][_0x36f6dd(0x1c6)](_0x5e1b62,_0xfc4b8e);}),N[_0x12821b(0x24f)](this[_0x12821b(0x3b6)][_0x12821b(0x4cd)](a[_0x12821b(0x564)][_0x12821b(0x2e0)]),this[_0x12821b(0x3b6)][_0x12821b(0x4cd)](a['UniverInstanceType'][_0x12821b(0x355)]))['pipe'](N['takeUntil'](this[_0x12821b(0x326)]))['subscribe'](_0xe46015=>{const _0x4b4bc4=_0x12821b,_0x4bc371=_0xe46015[_0x4b4bc4(0x2f9)](),_0x4b4165=this[_0x4b4bc4(0x2c5)][_0x4b4bc4(0x3f9)](_0x4bc371);_0x4b4165&&(_0x4b4165['dispose'](),this[_0x4b4bc4(0x2c5)][_0x4b4bc4(0x5d0)](_0x4bc371));});}async[_0x1ab38c(0x2d1)](_0x3360f,_0x3aaeab){const _0x56fefd=_0x1ab38c,_0x1b4c7f=await this['_collabSessionService'][_0x56fefd(0x1e0)](_0x3360f),_0x1a7f82=this[_0x56fefd(0x2f8)][_0x56fefd(0x440)](this[_0x56fefd(0x1bd)](_0x3aaeab),_0x3360f,_0x3aaeab,_0x1b4c7f);return await _0x1a7f82[_0x56fefd(0x238)](),this[_0x56fefd(0x422)][_0x56fefd(0x2c0)](_0x1a7f82),_0x1a7f82;}['_getCtorByUniverType'](_0x32a2e6){const _0x580c73=_0x1ab38c;switch(_0x32a2e6){case ie[_0x580c73(0x355)]:return exports[_0x580c73(0x290)];case ie[_0x580c73(0x2e0)]:return exports[_0x580c73(0x3d8)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x32a2e6);}}},exports[_0x1ab38c(0x1d8)]=er([dt(0x0,a['Inject'](a['Injector'])),dt(0x1,a['Inject'](exports[_0x1ab38c(0x1fc)])),dt(0x2,a[_0x1ab38c(0x585)])],exports[_0x1ab38c(0x1d8)]);var tr=Object[_0x1ab38c(0x322)],ir=Object[_0x1ab38c(0x5da)],nr=(_0x80ddc,_0x1a0682,_0x263584,_0x4f60c1)=>{for(var _0x19bb37=_0x4f60c1>0x1?void 0x0:_0x4f60c1?ir(_0x1a0682,_0x263584):_0x1a0682,_0x599880=_0x80ddc['length']-0x1,_0x5e43d2;_0x599880>=0x0;_0x599880--)(_0x5e43d2=_0x80ddc[_0x599880])&&(_0x19bb37=(_0x4f60c1?_0x5e43d2(_0x1a0682,_0x263584,_0x19bb37):_0x5e43d2(_0x19bb37))||_0x19bb37);return _0x4f60c1&&_0x19bb37&&tr(_0x1a0682,_0x263584,_0x19bb37),_0x19bb37;},Yt=(_0x211b95,_0x5b603f)=>(_0x5f4116,_0x5245c5)=>_0x5b603f(_0x5f4116,_0x5245c5,_0x211b95);let it=class extends a[_0x1ab38c(0x579)]{constructor(_0x2a758b,_0x1260f8){const _0x35cc16=_0x1ab38c;super(),this[_0x35cc16(0x1b7)]=_0x2a758b,this[_0x35cc16(0x571)]=_0x1260f8,this[_0x35cc16(0x419)]();}[_0x1ab38c(0x419)](){const _0x125d0c=_0x1ab38c,_0x48b441=this;this['disposeWithMe'](this[_0x125d0c(0x1b7)][_0x125d0c(0x32e)]({'onBeforePasteImage':async _0xeecf81=>{const _0x39d7b9=_0x125d0c,_0x50c805=await _0x48b441[_0x39d7b9(0x571)][_0x39d7b9(0x1c3)](_0xeecf81);return _0x50c805?{'source':_0x50c805['source'],'imageSourceType':_0x50c805[_0x39d7b9(0x565)]}:null;}}));}};it=nr([Yt(0x0,J[_0x1ab38c(0x26d)]),Yt(0x1,te[_0x1ab38c(0x4c6)])],it);const qt=[_0x1ab38c(0x46a),_0x1ab38c(0x446),_0x1ab38c(0x28f),_0x1ab38c(0x1e3),_0x1ab38c(0x458),'gold400'];class Nt extends a[_0x1ab38c(0x382)]{constructor(){const _0x98cff=_0x1ab38c;super(...arguments),I(this,_0x98cff(0x17d),new Map()),I(this,'_colorIndex',0x0);}[_0x1ab38c(0x369)](_0x114b5a){const _0x3a4320=_0x1ab38c;if(this['_assignedColors'][_0x3a4320(0x392)](_0x114b5a))return this[_0x3a4320(0x17d)][_0x3a4320(0x3f9)](_0x114b5a);const _0x1e7b3f=qt[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%qt[_0x3a4320(0x2b7)],this['_assignedColors'][_0x3a4320(0x1c6)](_0x114b5a,_0x1e7b3f),_0x1e7b3f;}}var rr=Object[_0x1ab38c(0x322)],sr=Object[_0x1ab38c(0x5da)],or=(_0x3997c4,_0x3e8662,_0x461a88,_0x5532e9)=>{const _0x3a2b14=_0x1ab38c;for(var _0x2e259d=_0x5532e9>0x1?void 0x0:_0x5532e9?sr(_0x3e8662,_0x461a88):_0x3e8662,_0x472911=_0x3997c4[_0x3a2b14(0x2b7)]-0x1,_0x500c3b;_0x472911>=0x0;_0x472911--)(_0x500c3b=_0x3997c4[_0x472911])&&(_0x2e259d=(_0x5532e9?_0x500c3b(_0x3e8662,_0x461a88,_0x2e259d):_0x500c3b(_0x2e259d))||_0x2e259d);return _0x5532e9&&_0x2e259d&&rr(_0x3e8662,_0x461a88,_0x2e259d),_0x2e259d;},pe=(_0x42abc3,_0x2e3b84)=>(_0x10d9e5,_0x3f68a4)=>_0x2e3b84(_0x10d9e5,_0x3f68a4,_0x42abc3);const ar=0x12c,cr=0x64;let bt=class extends a['RxDisposable']{constructor(_0x3a5a90,_0x1e2d19,_0x1d22d7,_0x1a9e9b,_0x56593d,_0xfa496f,_0x244d72,_0x27f6aa,_0x4d0f4a){const _0x3a0f38=_0x1ab38c;super(),I(this,_0x3a0f38(0x44e),!0x1),I(this,_0x3a0f38(0x419),!0x1),I(this,_0x3a0f38(0x4af),new N['BehaviorSubject'](new Map())),I(this,_0x3a0f38(0x2bf),this[_0x3a0f38(0x4af)][_0x3a0f38(0x3b4)]()),I(this,_0x3a0f38(0x204),new N[(_0x3a0f38(0x3bd))]([])),I(this,_0x3a0f38(0x61c),this[_0x3a0f38(0x204)][_0x3a0f38(0x21a)](N[_0x3a0f38(0x36e)](ar))),I(this,_0x3a0f38(0x364),a[_0x3a0f38(0x30f)](_0x15b6a1=>{const _0x362540=_0x3a0f38,_0x19514d={'eventID':m[_0x362540(0x60d)][_0x362540(0x57f)],'data':{'unitID':this[_0x362540(0x3d4)],'memberID':this[_0x362540(0x1e9)]['getMemberID'](),'selection':Di(_0x15b6a1)}};this[_0x362540(0x1e9)][_0x362540(0x5fb)](_0x19514d,this[_0x362540(0x3d4)]);},cr)),(this[_0x3a0f38(0x3d4)]=_0x3a5a90,this[_0x3a0f38(0x1e9)]=_0x1e2d19,this[_0x3a0f38(0x2f8)]=_0x1d22d7,this[_0x3a0f38(0x182)]=_0x1a9e9b,this[_0x3a0f38(0x361)]=_0x56593d,this[_0x3a0f38(0x196)]=_0xfa496f,this[_0x3a0f38(0x4bc)]=_0x244d72,this[_0x3a0f38(0x3b6)]=_0x27f6aa,this['_commandService']=_0x4d0f4a);}get[_0x1ab38c(0x53e)](){const _0x369085=_0x1ab38c;return this[_0x369085(0x4af)][_0x369085(0x2f7)]();}get[_0x1ab38c(0x2b4)](){const _0x547d56=_0x1ab38c;return this['_roomMembers$'][_0x547d56(0x2f7)]();}[_0x1ab38c(0x31c)](){const _0x1dab88=_0x1ab38c;super['dispose'](),this[_0x1dab88(0x4af)][_0x1dab88(0x2c0)](new Map()),this[_0x1dab88(0x4af)][_0x1dab88(0x1b0)](),this[_0x1dab88(0x204)][_0x1dab88(0x2c0)]([]),this[_0x1dab88(0x204)]['complete']();}['init'](){const _0x43bbf5=_0x1ab38c;this[_0x43bbf5(0x419)]||(this[_0x43bbf5(0x419)]=!0x0,this[_0x43bbf5(0x1e9)][_0x43bbf5(0x596)][_0x43bbf5(0x21a)](N['takeUntil'](this[_0x43bbf5(0x326)]))[_0x43bbf5(0x2cc)](_0x35bd20=>{const _0x30f354=_0x43bbf5;_0x35bd20===ne[_0x30f354(0x36a)]?this['_toggleOnline']():this[_0x30f354(0x574)]();}),this[_0x43bbf5(0x1e9)][_0x43bbf5(0x4b8)][_0x43bbf5(0x21a)](N[_0x43bbf5(0x37c)](this['dispose$']))['subscribe'](_0x2dd59f=>{const _0x277b4a=_0x43bbf5,_0xd50787=_0x2dd59f[_0x277b4a(0x25e)];_0xd50787===m['CollaborationEvent'][_0x277b4a(0x57f)]&&this[_0x277b4a(0x42d)](_0x2dd59f),_0xd50787===m[_0x277b4a(0x60d)][_0x277b4a(0x1c0)]&&this[_0x277b4a(0x205)](_0x2dd59f);}),this[_0x43bbf5(0x4ae)](this[_0x43bbf5(0x223)]['onCommandExecuted'](_0x3a308e=>{const _0x4bd5ed=_0x43bbf5,_0x252ff3=_0x3a308e[_0x4bd5ed(0x1f8)];_0x252ff3!=null&&this['_online']&&_0x3a308e['id']===Ie[_0x4bd5ed(0x5ce)]['id']&&_0x252ff3[_0x4bd5ed(0x1d7)]===this['unitID']&&_0x252ff3[_0x4bd5ed(0x5c6)]===!0x1&&_0x252ff3[_0x4bd5ed(0x38d)][_0x4bd5ed(0x2b7)]>0x0&&this[_0x4bd5ed(0x364)](_0x252ff3[_0x4bd5ed(0x38d)]);})),this['_syncEditingCollabCursorService'][_0x43bbf5(0x4c0)][_0x43bbf5(0x21a)](N[_0x43bbf5(0x37c)](this[_0x43bbf5(0x326)]))[_0x43bbf5(0x2cc)](_0x122bc9=>{const _0x44583e=_0x43bbf5;if((_0x122bc9==null?void 0x0:_0x122bc9['unitID'])!==this[_0x44583e(0x3d4)])return;const _0x4c5905={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x122bc9};this[_0x44583e(0x42d)](_0x4c5905);}),this[_0x43bbf5(0x4ae)](this[_0x43bbf5(0x223)]['onCommandExecuted'](_0xfaaf91=>{const _0x1a35a1=_0x43bbf5;if(_0xfaaf91[_0x1a35a1(0x1f8)]==null)return;const _0x494875=_0xfaaf91[_0x1a35a1(0x1f8)];if(_0xfaaf91['id']!==Ie[_0x1a35a1(0x2a5)]['id']||_0x494875[_0x1a35a1(0x1d7)]!==this[_0x1a35a1(0x3d4)])return;const _0x1cb5a9={'id':_0x1a35a1(0x401),'params':_0x494875},_0x32228e=this[_0x1a35a1(0x53e)];for(const [_0x198f0a,_0xba7cd4]of _0x32228e){const _0x4e4afe={'id':_0x1a35a1(0x401),'params':{'unitId':this[_0x1a35a1(0x3d4)],'actions':null,'textRanges':_0xba7cd4[_0x1a35a1(0x38d)]}},_0x1d9fa0=this[_0x1a35a1(0x4bc)]['transformMutation'](_0x1cb5a9,_0x4e4afe,!0x1);if(m['isTransformMutationFailure'](_0x1d9fa0))throw _0x1d9fa0[_0x1a35a1(0x48d)];_0x32228e['set'](_0x198f0a,{..._0xba7cd4,'ranges':_0x1d9fa0['m2Prime'][_0x1a35a1(0x1f8)][_0x1a35a1(0x480)]});}queueMicrotask(()=>{const _0x32204a=_0x1a35a1;this[_0x32204a(0x4af)][_0x32204a(0x2c0)](_0x32228e);});})));}['_onCursorUpdate'](_0x4ba86e){const _0x4971e4=_0x1ab38c;var _0x58a37b,_0x1b84e9;const {memberID:_0x1ba495,selection:_0x44333c}=_0x4ba86e['data'],_0x85b2b3=kn(_0x44333c),_0x29370d=(_0x1b84e9=(_0x58a37b=this[_0x4971e4(0x361)][_0x4971e4(0x530)](this['unitID'],_0x1ba495))==null?void 0x0:_0x58a37b[_0x4971e4(0x4e0)])!=null?_0x1b84e9:'Unknown\x20user',_0x3c8cd3={'color':this[_0x4971e4(0x182)][_0x4971e4(0x369)](_0x1ba495),'name':_0x29370d,'ranges':_0x85b2b3},_0x1b14ed=this[_0x4971e4(0x53e)];_0x1b14ed[_0x4971e4(0x1c6)](_0x1ba495,_0x3c8cd3),this[_0x4971e4(0x4af)][_0x4971e4(0x2c0)](_0x1b14ed);}['_onCursorDelete'](_0x195707){const _0x243db8=_0x1ab38c,{memberID:_0x3bc883}=_0x195707[_0x243db8(0x372)],_0x2ac1f8=this['cursorInfo'];_0x2ac1f8[_0x243db8(0x5d0)](_0x3bc883),this['_cursorInfo$'][_0x243db8(0x2c0)](_0x2ac1f8);}[_0x1ab38c(0x5b8)](){const _0x29bdf1=_0x1ab38c;var _0x3a85d6;if(this['_online']=!0x0,((_0x3a85d6=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x3a85d6[_0x29bdf1(0x2f9)]())!==this['unitID'])return;const _0x3929c2=this[_0x29bdf1(0x2f8)]['get'](Ie[_0x29bdf1(0x195)])[_0x29bdf1(0x5fa)]();Array[_0x29bdf1(0x28e)](_0x3929c2)&&_0x3929c2[_0x29bdf1(0x2b7)]>0x0&&this['_updateLocalCursor'](_0x3929c2);}[_0x1ab38c(0x574)](){const _0x7f78bd=_0x1ab38c;this[_0x7f78bd(0x44e)]=!0x1;}};bt=or([pe(0x2,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),pe(0x3,a[_0x1ab38c(0x56d)](Nt)),pe(0x4,a['Inject'](exports['MemberService'])),pe(0x5,a[_0x1ab38c(0x56d)](Ut)),pe(0x6,m['ITransformService']),pe(0x7,a[_0x1ab38c(0x585)]),pe(0x8,a[_0x1ab38c(0x430)])],bt);var lr=Object[_0x1ab38c(0x322)],hr=Object[_0x1ab38c(0x5da)],_r=(_0x537b10,_0x511819,_0x13384e,_0x49464e)=>{const _0x1f5007=_0x1ab38c;for(var _0x4d48b7=_0x49464e>0x1?void 0x0:_0x49464e?hr(_0x511819,_0x13384e):_0x511819,_0x3d6fae=_0x537b10[_0x1f5007(0x2b7)]-0x1,_0x365bb5;_0x3d6fae>=0x0;_0x3d6fae--)(_0x365bb5=_0x537b10[_0x3d6fae])&&(_0x4d48b7=(_0x49464e?_0x365bb5(_0x511819,_0x13384e,_0x4d48b7):_0x365bb5(_0x4d48b7))||_0x4d48b7);return _0x49464e&&_0x4d48b7&&lr(_0x511819,_0x13384e,_0x4d48b7),_0x4d48b7;},Te=(_0x24c8b8,_0x517f7f)=>(_0x47a031,_0x1a7dc9)=>_0x517f7f(_0x47a031,_0x1a7dc9,_0x24c8b8);const ur=0x12c,dr=0x64,fr=()=>{let _0x4521b2=[],_0x3d7b90=!0x1;return _0x7979a5=>{const _0x1735bb=_0x33d2;_0x4521b2[_0x1735bb(0x2e4)](_0x7979a5),_0x3d7b90||(_0x3d7b90=!0x0,setTimeout(()=>{const _0x4f8eef=_0x1735bb;_0x4521b2[_0x4f8eef(0x3f4)](_0x127c73=>_0x127c73()),_0x4521b2=[],_0x3d7b90=!0x1;}));};};let Tt=class extends a['RxDisposable']{constructor(_0x5579d9,_0x2f660c,_0x3ae3b6,_0x522bbc,_0x1429bc,_0x37efa4,_0x1a3c8c,_0x35301e){const _0x381d9d=_0x1ab38c;super(),I(this,_0x381d9d(0x44e),!0x1),I(this,_0x381d9d(0x419),!0x1),I(this,_0x381d9d(0x4af),new N[(_0x381d9d(0x3bd))](new Map())),I(this,_0x381d9d(0x2bf),this[_0x381d9d(0x4af)][_0x381d9d(0x3b4)]()),I(this,_0x381d9d(0x204),new N['BehaviorSubject']([])),I(this,_0x381d9d(0x61c),this[_0x381d9d(0x204)][_0x381d9d(0x21a)](N[_0x381d9d(0x36e)](ur))),I(this,_0x381d9d(0x364),a['debounce']((_0x458731,_0x2c3b94)=>{const _0x425d31=_0x381d9d,_0x573eed={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x425d31(0x3d4)],'memberID':this[_0x425d31(0x1e9)][_0x425d31(0x342)](),'selection':$t[_0x425d31(0x460)](_0x458731,_0x2c3b94[_0x425d31(0x1ea)])}};this[_0x425d31(0x1e9)]['send'](_0x573eed,this[_0x425d31(0x3d4)]);},dr)),(this['unitID']=_0x5579d9,this[_0x381d9d(0x1e9)]=_0x2f660c,this[_0x381d9d(0x2f8)]=_0x3ae3b6,this[_0x381d9d(0x182)]=_0x522bbc,this[_0x381d9d(0x361)]=_0x1429bc,this[_0x381d9d(0x3b6)]=_0x37efa4,this[_0x381d9d(0x223)]=_0x1a3c8c,this[_0x381d9d(0x3eb)]=_0x35301e);}get['cursorInfo'](){const _0x402b55=_0x1ab38c;return this[_0x402b55(0x4af)][_0x402b55(0x2f7)]();}get[_0x1ab38c(0x2b4)](){const _0x3d28e1=_0x1ab38c;return this['_roomMembers$'][_0x3d28e1(0x2f7)]();}[_0x1ab38c(0x31c)](){const _0xc453ea=_0x1ab38c;super[_0xc453ea(0x31c)](),this[_0xc453ea(0x4af)][_0xc453ea(0x2c0)](new Map()),this[_0xc453ea(0x4af)][_0xc453ea(0x1b0)](),this[_0xc453ea(0x204)][_0xc453ea(0x2c0)]([]),this[_0xc453ea(0x204)][_0xc453ea(0x1b0)]();}['init'](){const _0x549d77=_0x1ab38c;this['_init']||(this['_init']=!0x0,this[_0x549d77(0x1e9)][_0x549d77(0x596)][_0x549d77(0x21a)](N['takeUntil'](this[_0x549d77(0x326)]))[_0x549d77(0x2cc)](_0x4133a6=>{const _0x59746e=_0x549d77;_0x4133a6===ne['ONLINE']?this[_0x59746e(0x5b8)]():this[_0x59746e(0x574)]();}),this[_0x549d77(0x1e9)]['event$'][_0x549d77(0x21a)](N[_0x549d77(0x37c)](this[_0x549d77(0x326)]))['subscribe'](_0x45a638=>{const _0x583f68=_0x549d77,_0x1c3ffb=_0x45a638[_0x583f68(0x25e)];_0x1c3ffb===m[_0x583f68(0x60d)][_0x583f68(0x57f)]&&this['_onCursorUpdate'](_0x45a638),_0x1c3ffb===m[_0x583f68(0x60d)]['USERS_LEAVE']&&this[_0x583f68(0x205)](_0x45a638);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x549d77(0x223)][_0x549d77(0x365)](_0x48246e=>{const _0x5e95b2=_0x549d77;if(this[_0x5e95b2(0x44e)]&&_0x48246e['id']===k[_0x5e95b2(0x1b4)]['id']&&_0x48246e['params'][_0x5e95b2(0x1d7)]===this['unitID']){const _0x5d82cf=_0x48246e[_0x5e95b2(0x1f8)];this[_0x5e95b2(0x364)](_0x5d82cf[_0x5e95b2(0x3aa)],_0x5d82cf['selections'][0x0]);}})));}[_0x1ab38c(0x42d)](_0x2510e8){const _0x39b6c9=_0x1ab38c;var _0x5e1eaa,_0x491bcf;const {memberID:_0x1828e0,selection:_0x37fb2f}=_0x2510e8[_0x39b6c9(0x372)],{sheetName:_0x17dc91,range:_0x737a2e}=$t[_0x39b6c9(0x429)](_0x37fb2f),_0x3ad2bd={'name':(_0x491bcf=(_0x5e1eaa=this[_0x39b6c9(0x361)][_0x39b6c9(0x530)](this['unitID'],_0x1828e0))==null?void 0x0:_0x5e1eaa[_0x39b6c9(0x4e0)])!=null?_0x491bcf:_0x39b6c9(0x3c4),'range':this['_getMergeRange'](_0x17dc91,_0x737a2e),'sheetID':_0x17dc91,'color':this[_0x39b6c9(0x182)]['assignAColorForMemberID'](_0x1828e0),'selection':_0x37fb2f},_0xff0765=this['cursorInfo'];_0xff0765[_0x39b6c9(0x1c6)](_0x1828e0,_0x3ad2bd),this['_cursorInfo$'][_0x39b6c9(0x2c0)](_0xff0765);}['_onCursorDelete'](_0x39085a){const _0x4ace0c=_0x1ab38c,{memberID:_0x513e71}=_0x39085a['data'],_0x28ba25=this['cursorInfo'];_0x28ba25[_0x4ace0c(0x5d0)](_0x513e71),this['_cursorInfo$'][_0x4ace0c(0x2c0)](_0x28ba25);}[_0x1ab38c(0x2c6)](_0xf2edbb,_0xee9c57){const _0x5a8119=_0x1ab38c;var _0xab72e2,_0x3109c1;const _0x494399=(_0x3109c1=(_0xab72e2=this[_0x5a8119(0x3b6)]['getUniverSheetInstance'](this[_0x5a8119(0x3d4)]))==null?void 0x0:_0xab72e2[_0x5a8119(0x54a)](_0xf2edbb))==null?void 0x0:_0x3109c1[_0x5a8119(0x520)]();return(_0x494399==null?void 0x0:_0x494399[_0x5a8119(0x2e3)](_0x4cba18=>a[_0x5a8119(0x3c9)][_0x5a8119(0x1b8)](_0x4cba18,_0xee9c57)))||_0xee9c57;}[_0x1ab38c(0x4e6)](){const _0xff5ae6=_0x1ab38c,_0x51953f=new a[(_0xff5ae6(0x568))](),_0x2c09b2=fr(),_0x2f5835=()=>{const _0x38c777=_0xff5ae6;_0x51953f[_0x38c777(0x31c)]();const _0x37e884=(_0x5ce96e,_0x35b24d,_0x41410d,_0x404130)=>{const _0xacfd28=_0x38c777;let _0xe44d4=[];switch(_0x5ce96e['id']){case k[_0xacfd28(0x2b2)][_0xacfd28(0x4d1)]:{_0xe44d4=k[_0xacfd28(0x2c9)](_0x5ce96e,_0x404130);break;}case k['EffectRefRangId'][_0xacfd28(0x56b)]:{_0xe44d4=k[_0xacfd28(0x3be)](_0x5ce96e,_0x404130);break;}case k[_0xacfd28(0x2b2)][_0xacfd28(0x5b2)]:{_0xe44d4=k[_0xacfd28(0x3dc)](_0x5ce96e,_0x404130);break;}case k['EffectRefRangId'][_0xacfd28(0x542)]:{_0xe44d4=k[_0xacfd28(0x4ca)](_0x5ce96e,_0x404130);break;}case k[_0xacfd28(0x2b2)][_0xacfd28(0x566)]:{_0xe44d4=k[_0xacfd28(0x1cc)](_0x5ce96e,_0x404130);break;}case k['EffectRefRangId'][_0xacfd28(0x5bb)]:{_0xe44d4=k[_0xacfd28(0x5a7)](_0x5ce96e,_0x404130);break;}case k[_0xacfd28(0x2b2)][_0xacfd28(0x5ba)]:{_0xe44d4=k[_0xacfd28(0x52b)](_0x5ce96e,_0x404130);break;}case k['EffectRefRangId']['RemoveColCommandId']:{_0xe44d4=k[_0xacfd28(0x17b)](_0x5ce96e,_0x404130);break;}case k[_0xacfd28(0x2b2)][_0xacfd28(0x250)]:{_0xe44d4=k[_0xacfd28(0x17f)](_0x5ce96e,_0x404130);break;}}const _0x286796=k[_0xacfd28(0x1c7)](_0xe44d4,_0x404130),_0x482565=this[_0xacfd28(0x53e)][_0xacfd28(0x3f9)](_0x35b24d);if(_0x482565&&_0x286796){const _0x246ac1={..._0x482565,'range':_0x286796};this[_0xacfd28(0x53e)][_0xacfd28(0x1c6)](_0x35b24d,_0x246ac1),_0x2c09b2(()=>{const _0x1cdf72=_0xacfd28,_0x744806=this[_0x1cdf72(0x3eb)][_0x1cdf72(0x48a)](_0x286796,_0x1de93c=>(_0x744806[_0x1cdf72(0x31c)](),_0x37e884(_0x1de93c,_0x35b24d,_0x41410d,_0x286796)));_0x51953f[_0x1cdf72(0x3ed)](_0x744806);});}return{'redos':[],'undos':[]};};this[_0x38c777(0x53e)][_0x38c777(0x3f4)]((_0x481282,_0x59ccc0)=>{const _0x3f4dff=_0x38c777,{range:_0x14841a,sheetID:_0x2bb3ae}=_0x481282,_0x420c78=this[_0x3f4dff(0x3eb)][_0x3f4dff(0x48a)](_0x14841a,_0x28cbac=>(_0x420c78['dispose'](),_0x37e884(_0x28cbac,_0x59ccc0,_0x2bb3ae,_0x14841a)));_0x51953f[_0x3f4dff(0x3ed)](_0x420c78);});};this[_0xff5ae6(0x4ae)](a[_0xff5ae6(0x1fb)](this[_0xff5ae6(0x4af)]['subscribe'](()=>{_0x2f5835();})));}[_0x1ab38c(0x5b8)](){const _0x22b5ef=_0x1ab38c;var _0x52f8c9,_0x396f3f;if(this[_0x22b5ef(0x44e)]=!0x0,((_0x52f8c9=this[_0x22b5ef(0x3b6)][_0x22b5ef(0x425)]())==null?void 0x0:_0x52f8c9[_0x22b5ef(0x2f9)]())!==this[_0x22b5ef(0x3d4)])return;const _0x225014=(_0x396f3f=this[_0x22b5ef(0x2f8)][_0x22b5ef(0x3f9)](k['SheetsSelectionsService'])[_0x22b5ef(0x188)]())==null?void 0x0:_0x396f3f[0x0],_0x5f2577=this[_0x22b5ef(0x3b6)]['getCurrentUnitForType'](a[_0x22b5ef(0x564)]['UNIVER_SHEET'])['getActiveSheet']();_0x225014&&_0x5f2577&&this[_0x22b5ef(0x364)](_0x5f2577[_0x22b5ef(0x62b)](),_0x225014);}['_toggleOffline'](){const _0x3d0d87=_0x1ab38c;this[_0x3d0d87(0x44e)]=!0x1;}};Tt=_r([Te(0x2,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),Te(0x3,a[_0x1ab38c(0x56d)](Nt)),Te(0x4,a['Inject'](exports['MemberService'])),Te(0x5,a[_0x1ab38c(0x585)]),Te(0x6,a['ICommandService']),Te(0x7,a['Inject'](k['RefRangeService']))],Tt);var vr=Object[_0x1ab38c(0x322)],Sr=Object[_0x1ab38c(0x5da)],pr=(_0x1362ea,_0xe9802b,_0x45e4ac,_0x1fe49e)=>{const _0x542020=_0x1ab38c;for(var _0x1ef12d=_0x1fe49e>0x1?void 0x0:_0x1fe49e?Sr(_0xe9802b,_0x45e4ac):_0xe9802b,_0xa3dc41=_0x1362ea[_0x542020(0x2b7)]-0x1,_0x3a9b81;_0xa3dc41>=0x0;_0xa3dc41--)(_0x3a9b81=_0x1362ea[_0xa3dc41])&&(_0x1ef12d=(_0x1fe49e?_0x3a9b81(_0xe9802b,_0x45e4ac,_0x1ef12d):_0x3a9b81(_0x1ef12d))||_0x1ef12d);return _0x1fe49e&&_0x1ef12d&&vr(_0xe9802b,_0x45e4ac,_0x1ef12d),_0x1ef12d;},ft=(_0x8a1023,_0x72185)=>(_0x116b93,_0x304ddd)=>_0x72185(_0x116b93,_0x304ddd,_0x8a1023);let ye=class extends a[_0x1ab38c(0x579)]{constructor(_0x58d7d9,_0x26e99a,_0x3e9c88){const _0x38c2b0=_0x1ab38c;super(),I(this,_0x38c2b0(0x2c5),new Map()),I(this,_0x38c2b0(0x422),new N['Subject']()),(this[_0x38c2b0(0x3b6)]=_0x58d7d9,this[_0x38c2b0(0x2f8)]=_0x26e99a,this[_0x38c2b0(0x25f)]=_0x3e9c88,this[_0x38c2b0(0x419)]());}[_0x1ab38c(0x31c)](){const _0x273468=_0x1ab38c;super[_0x273468(0x31c)](),this[_0x273468(0x422)][_0x273468(0x1b0)](),this['_entities'][_0x273468(0x3f4)](_0x4371ca=>_0x4371ca[_0x273468(0x31c)]());}['getCollabCursors$'](_0x5f34f1){const _0x2e06cb=_0x1ab38c;return this['_entities'][_0x2e06cb(0x392)](_0x5f34f1)?this[_0x2e06cb(0x2c5)]['get'](_0x5f34f1)[_0x2e06cb(0x2bf)]:this['_entityInit$']['pipe'](N[_0x2e06cb(0x4b6)](_0x369ed6=>_0x369ed6[_0x2e06cb(0x3d4)]===_0x5f34f1),N[_0x2e06cb(0x600)](_0x1fb4de=>_0x1fb4de[_0x2e06cb(0x2bf)]));}['_init'](){const _0x55508c=_0x1ab38c;this['_univerInstanceService'][_0x55508c(0x1c4)](a['UniverInstanceType'][_0x55508c(0x2e0)])[_0x55508c(0x21a)](N[_0x55508c(0x37c)](this[_0x55508c(0x326)]))['subscribe'](async _0x52136f=>{const _0x4bd1ca=_0x55508c,_0x4d3c9c=_0x52136f[_0x4bd1ca(0x2f9)](),_0x1a5f45=await this['_startSheetCollabCursor'](_0x4d3c9c);this[_0x4bd1ca(0x422)][_0x4bd1ca(0x2c0)](_0x1a5f45),this[_0x4bd1ca(0x2c5)][_0x4bd1ca(0x1c6)](_0x4d3c9c,_0x1a5f45);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x55508c(0x564)]['UNIVER_DOC'])[_0x55508c(0x21a)](N[_0x55508c(0x37c)](this[_0x55508c(0x326)]))[_0x55508c(0x21a)](N['filter'](_0x20a3bd=>!_0x20a3bd['getUnitId']()[_0x55508c(0x3c5)]('__')))[_0x55508c(0x2cc)](async _0x5976fb=>{const _0x4a3536=_0x55508c,_0x3fa149=_0x5976fb[_0x4a3536(0x2f9)](),_0xbba65e=await this[_0x4a3536(0x582)](_0x3fa149);this[_0x4a3536(0x422)]['next'](_0xbba65e),this[_0x4a3536(0x2c5)][_0x4a3536(0x1c6)](_0x3fa149,_0xbba65e);}),N['merge'](this['_univerInstanceService'][_0x55508c(0x4cd)](a['UniverInstanceType'][_0x55508c(0x355)]),this[_0x55508c(0x3b6)][_0x55508c(0x4cd)](a['UniverInstanceType']['UNIVER_SHEET']))[_0x55508c(0x21a)](N[_0x55508c(0x37c)](this['dispose$']))['subscribe'](_0x6eb909=>{const _0xef3480=_0x55508c,_0x5b8981=_0x6eb909[_0xef3480(0x2f9)](),_0x289fb1=this[_0xef3480(0x2c5)][_0xef3480(0x3f9)](_0x5b8981);_0x289fb1&&(_0x289fb1['dispose'](),this['_entities'][_0xef3480(0x5d0)](_0x5b8981));});}async['_startSheetCollabCursor'](_0x674f87){const _0xd80545=_0x1ab38c,_0x586e42=await this[_0xd80545(0x25f)][_0xd80545(0x1e0)](_0x674f87),_0x3f0a39=this[_0xd80545(0x2f8)][_0xd80545(0x440)](Tt,_0x674f87,_0x586e42);return _0x3f0a39[_0xd80545(0x238)](),_0x3f0a39;}async[_0x1ab38c(0x582)](_0x2bc806){const _0x583a2b=_0x1ab38c,_0x14142f=await this[_0x583a2b(0x25f)][_0x583a2b(0x1e0)](_0x2bc806),_0x534ba9=this[_0x583a2b(0x2f8)][_0x583a2b(0x440)](bt,_0x2bc806,_0x14142f);return _0x534ba9[_0x583a2b(0x238)](),_0x534ba9;}};ye=pr([ft(0x0,a[_0x1ab38c(0x585)]),ft(0x1,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),ft(0x2,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x1fc)]))],ye);const xe=0x14,Kt=0xc8,vt=0x4,mr=0x5;function gr(_0x3ff666,_0x4ab361){const _0xf4dc82=_0x1ab38c;let {radius:_0x477adb,width:_0x51bc98,height:_0x3ad638}=_0x4ab361;_0x477adb=_0x477adb!=null?_0x477adb:0x0,_0x51bc98=_0x51bc98!=null?_0x51bc98:0x1e,_0x3ad638=_0x3ad638!=null?_0x3ad638:0x1e;let _0x5b3331=0x0,_0x396aaf=0x0,_0x39ee22=0x0;_0x5b3331=_0x396aaf=_0x39ee22=Math[_0xf4dc82(0x509)](_0x477adb,_0x51bc98/0x2,_0x3ad638/0x2),_0x3ff666[_0xf4dc82(0x48b)](),_0x3ff666[_0xf4dc82(0x51f)](_0x5b3331,0x0),_0x3ff666[_0xf4dc82(0x3d2)](_0x51bc98-_0x396aaf,0x0),_0x3ff666[_0xf4dc82(0x2e6)](_0x51bc98-_0x396aaf,_0x396aaf,_0x396aaf,Math['PI']*0x3/0x2,0x0,!0x1),_0x3ff666[_0xf4dc82(0x3d2)](_0x51bc98,_0x3ad638-_0x39ee22),_0x3ff666[_0xf4dc82(0x2e6)](_0x51bc98-_0x39ee22,_0x3ad638-_0x39ee22,_0x39ee22,0x0,Math['PI']/0x2,!0x1),_0x3ff666['lineTo'](0x0,_0x3ad638),_0x3ff666[_0xf4dc82(0x3d2)](0x0,_0x5b3331),_0x3ff666[_0xf4dc82(0x2e6)](_0x5b3331,_0x5b3331,_0x5b3331,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3ff666['closePath'](),_0x4ab361[_0xf4dc82(0x2d6)]&&(_0x3ff666[_0xf4dc82(0x617)](),_0x3ff666[_0xf4dc82(0x4b0)]=_0x4ab361[_0xf4dc82(0x2d6)],_0x4ab361[_0xf4dc82(0x5d3)]==='evenodd'?_0x3ff666[_0xf4dc82(0x2d6)](_0xf4dc82(0x5f4)):_0x3ff666[_0xf4dc82(0x2d6)](),_0x3ff666[_0xf4dc82(0x2cf)]());}class ct extends Y[_0x1ab38c(0x50c)]{constructor(_0x357c4f,_0x293255){const _0x58566c=_0x1ab38c;super(_0x357c4f,_0x293255),I(this,'color'),I(this,_0x58566c(0x61e)),(this[_0x58566c(0x42b)]=_0x293255==null?void 0x0:_0x293255[_0x58566c(0x42b)],this[_0x58566c(0x61e)]=_0x293255==null?void 0x0:_0x293255[_0x58566c(0x61e)]);}static[_0x1ab38c(0x289)](_0x4039d1,_0x29b7b8){const _0x1659e9=_0x1ab38c,{text:_0x54215e,color:_0x25ce4b}=_0x29b7b8;_0x4039d1[_0x1659e9(0x617)](),_0x4039d1[_0x1659e9(0x481)]=_0x1659e9(0x467);const _0x4cac64=_0x4039d1[_0x1659e9(0x47a)](_0x54215e)[_0x1659e9(0x24b)],_0x21dd66=Math['min'](_0x4cac64+0x2*vt,Kt);gr(_0x4039d1,{'height':xe,'radius':0x4,'width':_0x21dd66,'fill':_0x25ce4b,'evented':!0x1}),_0x4039d1['fillStyle']='#FFF';const _0x36422b=vt,_0x323377=xe-mr,_0x34ceab=Kt-0x2*vt;if(_0x4cac64>_0x34ceab){let _0x5ce351='',_0x133951=0x0;for(const _0x322c57 of _0x54215e){const _0x43bdfd=_0x4039d1[_0x1659e9(0x47a)](_0x322c57)[_0x1659e9(0x24b)];if(_0x133951+_0x43bdfd<=_0x34ceab-_0x4039d1[_0x1659e9(0x47a)](_0x1659e9(0x46d))[_0x1659e9(0x24b)])_0x5ce351+=_0x322c57,_0x133951+=_0x43bdfd;else{_0x5ce351+=_0x1659e9(0x46d);break;}}_0x4039d1['fillText'](_0x5ce351,_0x36422b,_0x323377);}else _0x4039d1[_0x1659e9(0x20d)](_0x54215e,_0x36422b,_0x323377);_0x4039d1[_0x1659e9(0x2cf)]();}[_0x1ab38c(0x621)](_0xd4b4f){ct['drawWith'](_0xd4b4f,this);}}const St=_0x1ab38c(0x1c5),Ir=_0x1ab38c(0x4fa),Cr=_0x1ab38c(0x398),we=0x6,Er=1.5,pt=0x4,br=1.5,Tr=_0x1ab38c(0x2ed);class zt{constructor(_0x1e235c,_0xcf6461,_0x215859,_0x44e792){const _0x49a792=_0x1ab38c;I(this,_0x49a792(0x4a3),[]),I(this,_0x49a792(0x353),null),I(this,_0x49a792(0x198),null),I(this,'_anchorDot',null),I(this,'_hideTimer',null),I(this,_0x49a792(0x499),null),(this[_0x49a792(0x202)]=_0x1e235c,this['_scene']=_0xcf6461,this[_0x49a792(0x200)]=_0x215859,this[_0x49a792(0x247)]=_0x44e792,this['_render']());}set[_0x1ab38c(0x4bf)](_0x4794f8){const _0x3b7292=_0x1ab38c;_0x4794f8?(this[_0x3b7292(0x337)]&&this[_0x3b7292(0x337)][_0x3b7292(0x328)](),this[_0x3b7292(0x198)]&&this[_0x3b7292(0x198)][_0x3b7292(0x19e)]()):(this[_0x3b7292(0x337)]&&this[_0x3b7292(0x337)][_0x3b7292(0x19e)](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x1ab38c(0x31c)](){const _0x50019a=_0x1ab38c;for(const _0x1f98ac of this[_0x50019a(0x4a3)])_0x1f98ac[_0x50019a(0x31c)]();this[_0x50019a(0x198)]&&this[_0x50019a(0x198)][_0x50019a(0x31c)](),this['_anchorDot']&&this['_anchorDot'][_0x50019a(0x31c)](),this[_0x50019a(0x353)]&&this['_anchor'][_0x50019a(0x31c)](),this[_0x50019a(0x499)]&&this[_0x50019a(0x499)]();}['_render'](){const _0x5833c0=_0x1ab38c;var _0x581917;const {_docSkeleton:_0x6445,_document:_0x6f938a}=this,{color:_0x38d6bf,name:_0x48cfa3,ranges:_0x4f65ca}=this[_0x5833c0(0x202)],_0x128989=_0x6f938a[_0x5833c0(0x595)](),{docsLeft:_0x4e21e9,docsTop:_0x1fa4cb}=_0x128989,_0x34e36b=new J[(_0x5833c0(0x5a1))](_0x128989,_0x6445);for(const {startOffset:_0x34e267,endOffset:_0x2b3780,rangeType:_0x5526b7,segmentId:_0x259fec,segmentPage:_0xe05a7e,collapsed:_0x1850ec,isActive:_0x10381e}of _0x4f65ca){const _0xdd9014=_0x6445['findNodePositionByCharIndex'](_0x34e267,!0x0,_0x259fec,_0xe05a7e);let _0x249ced=_0x6445[_0x5833c0(0x20c)](_0x2b3780,!0x0,_0x259fec,_0xe05a7e);if(_0x249ced==null&&(_0x249ced=_0x6445[_0x5833c0(0x20c)](_0x2b3780-0x1,!0x1,_0x259fec,_0xe05a7e)),_0x10381e){const {contentBoxPointGroup:_0x3eed21}=_0x34e36b[_0x5833c0(0x540)](_0x249ced,_0x249ced);if(_0x3eed21[_0x5833c0(0x2b7)]===0x0)continue;this[_0x5833c0(0x50f)](_0x38d6bf,_0x3eed21,_0x4e21e9,_0x1fa4cb,_0x48cfa3),this[_0x5833c0(0x499)]=this[_0x5833c0(0x2c1)]();}if(_0xdd9014&&_0x249ced){if(_0x5526b7===a[_0x5833c0(0x5e6)]['RECT']){const _0x1e016a=new J[(_0x5833c0(0x2cb))](_0x128989,_0x6445),{pointGroup:_0x1eaf64}=(_0x581917=_0x1e016a[_0x5833c0(0x540)](_0xdd9014,_0x249ced))!=null?_0x581917:{};if(_0x1eaf64==null||_0x1eaf64[_0x5833c0(0x2b7)]===0x0)continue;this[_0x5833c0(0x3b5)](_0x38d6bf,_0x1eaf64,_0x4e21e9,_0x1fa4cb);}else{if(!_0x1850ec){const {borderBoxPointGroup:_0x16e537}=_0x34e36b[_0x5833c0(0x540)](_0xdd9014,_0x249ced);if(_0x16e537[_0x5833c0(0x2b7)]===0x0)continue;this['_drawTextRange'](_0x38d6bf,_0x16e537,_0x4e21e9,_0x1fa4cb);}}}}}[_0x1ab38c(0x50f)](_0x5cb9a9,_0x10e8d2,_0x120d6d,_0x2d1e0d,_0xc119c3){const _0x3c1be3=_0x1ab38c,_0x52e91b=this[_0x3c1be3(0x3f2)](_0x10e8d2),{left:_0xaed3fa,top:_0x1c22d0,height:_0xde40a1}=_0x52e91b,_0x2e3793=this[_0x3c1be3(0x3a6)](),_0x59760b=br/_0x2e3793,_0x56957e=new Y['Rect'](St+a['Tools'][_0x3c1be3(0x33c)](we),{'left':_0xaed3fa+_0x120d6d-_0x59760b,'top':_0x1c22d0+_0x2d1e0d,'height':_0xde40a1,'width':Er,'fill':_0x5cb9a9||Y[_0x3c1be3(0x2e8)](a[_0x3c1be3(0x251)][_0x3c1be3(0x551)],0x0),'strokeWidth':_0x59760b,'stroke':Tr,'evented':!0x0});this[_0x3c1be3(0x353)]=_0x56957e,this['_scene'][_0x3c1be3(0x5d2)](_0x56957e,J[_0x3c1be3(0x486)]);const _0xf28e95=new Y[(_0x3c1be3(0x448))](St+a['Tools'][_0x3c1be3(0x33c)](we),{'left':_0xaed3fa+_0x120d6d-_0x59760b,'top':_0x1c22d0+_0x2d1e0d-pt/0x2,'height':pt,'width':pt,'fill':_0x5cb9a9||Y['getColor'](a[_0x3c1be3(0x251)][_0x3c1be3(0x551)],0x0),'strokeWidth':0x0,'stroke':_0x5cb9a9||Y[_0x3c1be3(0x2e8)](a['COLORS'][_0x3c1be3(0x551)],0x0),'evented':!0x1});this['_anchorDot']=_0xf28e95,this[_0x3c1be3(0x31e)]['addObject'](_0xf28e95,J[_0x3c1be3(0x486)]);const _0x13918f=new ct(St+a[_0x3c1be3(0x5ed)]['generateRandomId'](we),{'left':_0xaed3fa+_0x120d6d-_0x59760b,'top':_0x1c22d0+_0x2d1e0d-xe,'text':_0xc119c3,'color':_0x5cb9a9});this[_0x3c1be3(0x198)]=_0x13918f,this[_0x3c1be3(0x31e)][_0x3c1be3(0x5d2)](_0x13918f,J['TEXT_RANGE_LAYER_INDEX']),this[_0x3c1be3(0x4bf)]=!0x1;}[_0x1ab38c(0x2c1)](){const _0x12a3f3=_0x1ab38c,_0x3470c6=this['_anchor'][_0x12a3f3(0x323)][_0x12a3f3(0x38b)](()=>{const _0x59e81c=_0x12a3f3;this[_0x59e81c(0x4bf)]=!0x0;}),_0xfaeb1f=this[_0x12a3f3(0x353)][_0x12a3f3(0x603)]['subscribeEvent'](()=>{const _0x2cf355=_0x12a3f3;this[_0x2cf355(0x377)]&&clearTimeout(this['_hideTimer']),this[_0x2cf355(0x377)]=setTimeout(()=>{const _0x13c286=_0x2cf355;this[_0x13c286(0x4bf)]=!0x1;},0x7d0);});return()=>{const _0x740573=_0x12a3f3;_0x3470c6['unsubscribe'](),_0xfaeb1f[_0x740573(0x1f0)]();};}['_drawTextRange'](_0x392d55,_0x47b762,_0x2fb9e5,_0x4889e7){const _0x46f9c2=_0x1ab38c,_0x5786c1=new a[(_0x46f9c2(0x210))](_0x392d55)[_0x46f9c2(0x3ee)](0.2)[_0x46f9c2(0x237)](),_0x58996f=new Y['RegularPolygon'](Ir+a[_0x46f9c2(0x5ed)][_0x46f9c2(0x33c)](we),{'pointsGroup':_0x47b762,'fill':_0x5786c1||Y[_0x46f9c2(0x2e8)](a['COLORS'][_0x46f9c2(0x551)],0.2),'left':_0x2fb9e5,'top':_0x4889e7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46f9c2(0x4a3)][_0x46f9c2(0x2e4)](_0x58996f),this[_0x46f9c2(0x31e)][_0x46f9c2(0x5d2)](_0x58996f,J[_0x46f9c2(0x486)]);}['_drawRectRange'](_0x238633,_0x42cf2a,_0x131bea,_0x40d98a){const _0x1c0704=_0x1ab38c,_0x43b33c=new a[(_0x1c0704(0x210))](_0x238633)['setAlpha'](0.2)[_0x1c0704(0x237)](),_0x36a5fd=new Y['RegularPolygon'](Cr+a[_0x1c0704(0x5ed)][_0x1c0704(0x33c)](we),{'pointsGroup':_0x42cf2a,'fill':_0x43b33c||Y[_0x1c0704(0x2e8)](a['COLORS'][_0x1c0704(0x551)],0.2),'left':_0x131bea,'top':_0x40d98a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c0704(0x4a3)][_0x1c0704(0x2e4)](_0x36a5fd),this[_0x1c0704(0x31e)][_0x1c0704(0x5d2)](_0x36a5fd,J[_0x1c0704(0x486)]);}['_getAnchorBounding'](_0xa6aa41){const _0x179e9b=_0xa6aa41[0x0],_0x150185=_0x179e9b[0x0],_0x3dd566=_0x179e9b[0x2],{x:_0x33214a,y:_0x4c4a2d}=_0x150185,{x:_0x34a603,y:_0x2359db}=_0x3dd566;return{'left':_0x33214a,'top':_0x4c4a2d,'width':_0x34a603-_0x33214a,'height':_0x2359db-_0x4c4a2d};}['_getScale'](){const _0x1be502=_0x1ab38c,{scaleX:_0x5b9a6d,scaleY:_0x3c938c}=this[_0x1be502(0x31e)]['getAncestorScale']();return Math[_0x1be502(0x412)](_0x5b9a6d,_0x3c938c);}}var Rr=Object[_0x1ab38c(0x322)],Or=Object[_0x1ab38c(0x5da)],yr=(_0x4deaba,_0x153bd1,_0x11f2e5,_0x355c04)=>{const _0x4f13d5=_0x1ab38c;for(var _0x365ae1=_0x355c04>0x1?void 0x0:_0x355c04?Or(_0x153bd1,_0x11f2e5):_0x153bd1,_0xfcfeb7=_0x4deaba[_0x4f13d5(0x2b7)]-0x1,_0x1c800f;_0xfcfeb7>=0x0;_0xfcfeb7--)(_0x1c800f=_0x4deaba[_0xfcfeb7])&&(_0x365ae1=(_0x355c04?_0x1c800f(_0x153bd1,_0x11f2e5,_0x365ae1):_0x1c800f(_0x365ae1))||_0x365ae1);return _0x355c04&&_0x365ae1&&Rr(_0x153bd1,_0x11f2e5,_0x365ae1),_0x365ae1;},je=(_0x382b59,_0x71b9c7)=>(_0x29bb6d,_0x2c9f74)=>_0x71b9c7(_0x29bb6d,_0x2c9f74,_0x382b59);let Rt=class extends a['RxDisposable']{constructor(_0x214559,_0x3ebc89,_0x51fa8a,_0x4b8571,_0xbf2606){const _0xa80ea6=_0x1ab38c;super(),I(this,_0xa80ea6(0x54b),[]),I(this,_0xa80ea6(0x4bb),[]),(this[_0xa80ea6(0x58c)]=_0x214559,this['_docSkeletonManagerService']=_0x3ebc89,this[_0xa80ea6(0x2a6)]=_0x51fa8a,this[_0xa80ea6(0x223)]=_0x4b8571,this[_0xa80ea6(0x3ca)]=_0xbf2606,this[_0xa80ea6(0x419)]());}[_0x1ab38c(0x419)](){const _0x30ef16=_0x1ab38c,_0x1fbf7e=this['_context'][_0x30ef16(0x1d7)],_0xc76ef3=this['_docSkeletonManagerService'];this[_0x30ef16(0x4ae)](N[_0x30ef16(0x3d1)]([this[_0x30ef16(0x2a6)][_0x30ef16(0x3df)](_0x1fbf7e),this[_0x30ef16(0x3ca)]['currentTheme$']])[_0x30ef16(0x21a)](V[_0x30ef16(0x4e4)](([_0x41c6a0,_0x5e361e])=>({'skeleton':_0xc76ef3['getSkeleton'](),'cursors':[..._0x41c6a0[_0x30ef16(0x611)]()][_0x30ef16(0x2a8)](_0x14ae86=>({..._0x14ae86,'color':_0x5e361e[_0x14ae86[_0x30ef16(0x42b)]]}))})))[_0x30ef16(0x2cc)](_0x3c2cf4=>{const _0x4ed1f4=_0x30ef16;if(this['_removeCollabCursors'](),_0x3c2cf4){const {skeleton:_0x523ddf,cursors:_0x2d7034}=_0x3c2cf4;this[_0x4ed1f4(0x49f)](_0x523ddf,_0x2d7034);}})),this[_0x30ef16(0x5bd)](),this[_0x30ef16(0x549)]();}[_0x1ab38c(0x49f)](_0x43152b,_0x26c8a2){const _0x51d0e7=_0x1ab38c,{scene:_0x2e9d04,mainComponent:_0x55abaa}=this['_context'],_0x57cf3e=_0x26c8a2[_0x51d0e7(0x4e4)](_0x39f301=>new zt(_0x39f301,_0x2e9d04,_0x43152b,_0x55abaa));this[_0x51d0e7(0x54b)]=_0x57cf3e,this[_0x51d0e7(0x4bb)]=_0x26c8a2;}[_0x1ab38c(0x607)](){const _0x4eefb1=_0x1ab38c;this[_0x4eefb1(0x638)]();const {scene:_0x5a0fb3,mainComponent:_0x227d43}=this['_context'],_0x334ac3=this[_0x4eefb1(0x2e1)][_0x4eefb1(0x172)](),_0x516226=this['_cursors'][_0x4eefb1(0x4e4)](_0x4b8618=>new zt(_0x4b8618,_0x5a0fb3,_0x334ac3,_0x227d43));this[_0x4eefb1(0x54b)]=_0x516226;}[_0x1ab38c(0x638)](){const _0x7e410c=_0x1ab38c;this[_0x7e410c(0x54b)][_0x7e410c(0x3f4)](_0x372cb6=>_0x372cb6[_0x7e410c(0x31c)]()),this[_0x7e410c(0x54b)]=[];}[_0x1ab38c(0x549)](){const _0x404752=_0x1ab38c,_0x281a1c=[J[_0x404752(0x277)]['id']];this['disposeWithMe'](this[_0x404752(0x223)][_0x404752(0x365)](_0x12ea99=>{const _0x14c10c=_0x404752;_0x281a1c[_0x14c10c(0x35a)](_0x12ea99['id'])&&_0x12ea99[_0x14c10c(0x1f8)][_0x14c10c(0x1d7)]===this[_0x14c10c(0x58c)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x1ab38c(0x5bd)](){const _0x291a4e=_0x1ab38c;this[_0x291a4e(0x4ae)](a[_0x291a4e(0x40b)](this[_0x291a4e(0x58c)][_0x291a4e(0x4f7)][_0x291a4e(0x436)])[_0x291a4e(0x21a)](V[_0x291a4e(0x4b6)](_0x2368a1=>_0x2368a1[_0x291a4e(0x57b)]===Y[_0x291a4e(0x598)][_0x291a4e(0x1a0)]),V['throttleTime'](0x10))[_0x291a4e(0x2cc)](()=>{this['_refreshCollabCursors']();}));}};Rt=yr([je(0x1,a[_0x1ab38c(0x56d)](Ie[_0x1ab38c(0x180)])),je(0x2,a[_0x1ab38c(0x56d)](ye)),je(0x3,a[_0x1ab38c(0x430)]),je(0x4,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x308)]))],Rt);function _0x33d2(_0xb05b6,_0x38d21a){const _0x2a3317=_0x2a33();return _0x33d2=function(_0x33d23c,_0x20c9b7){_0x33d23c=_0x33d23c-0x167;let _0x6f5ea=_0x2a3317[_0x33d23c];return _0x6f5ea;},_0x33d2(_0xb05b6,_0x38d21a);}const Dr=0x1,Pr=1.5;class Mi extends Y[_0x1ab38c(0x50c)]{constructor(_0x2a1730,_0xbfc08b){const _0x396013=_0x1ab38c;super(_0x2a1730,_0xbfc08b),I(this,'_color'),I(this,'_hovered',!0x1),I(this,_0x396013(0x241)),I(this,_0x396013(0x3d3),''),I(this,'_labelPosition',_0x396013(0x28d)),I(this,_0x396013(0x2eb)),(_0xbfc08b&&this[_0x396013(0x1e8)](_0xbfc08b),this[_0x396013(0x323)][_0x396013(0x38b)](()=>this[_0x396013(0x1e8)]({'hovered':!0x0})),this[_0x396013(0x603)]['subscribeEvent'](()=>this[_0x396013(0x1e8)]({'hovered':!0x1})));}[_0x1ab38c(0x1e8)](_0x2f230e){const _0x1ed58f=_0x1ab38c;var _0x486883,_0x39290e,_0x1a6209,_0x5a4105,_0x57b05c,_0x394db0;this[_0x1ed58f(0x5be)]=(_0x486883=_0x2f230e[_0x1ed58f(0x42b)])!=null?_0x486883:this[_0x1ed58f(0x5be)],this[_0x1ed58f(0x54d)]=(_0x39290e=_0x2f230e[_0x1ed58f(0x4ac)])!=null?_0x39290e:this[_0x1ed58f(0x54d)],this[_0x1ed58f(0x241)]=(_0x1a6209=_0x2f230e[_0x1ed58f(0x1ea)])!=null?_0x1a6209:this[_0x1ed58f(0x241)],this[_0x1ed58f(0x3d3)]=(_0x5a4105=_0x2f230e['name'])!=null?_0x5a4105:this[_0x1ed58f(0x3d3)],this['_labelPosition']=(_0x57b05c=_0x2f230e[_0x1ed58f(0x63a)])!=null?_0x57b05c:this[_0x1ed58f(0x4b3)],this[_0x1ed58f(0x2eb)]=(_0x394db0=_0x2f230e[_0x1ed58f(0x2ca)])!=null?_0x394db0:this[_0x1ed58f(0x2eb)],this[_0x1ed58f(0x468)]({'width':_0x2f230e[_0x1ed58f(0x24b)],'height':_0x2f230e[_0x1ed58f(0x256)]});}['onMouseMove'](_0x1691a4){const _0x531033=_0x1ab38c,{row:_0x260d2e,column:_0x481959}=_0x1691a4;if(_0x260d2e>=this[_0x531033(0x241)][_0x531033(0x225)]&&_0x260d2e<=this[_0x531033(0x241)][_0x531033(0x343)]&&_0x481959>=this[_0x531033(0x241)]['startColumn']&&_0x481959<=this['_range'][_0x531033(0x55e)]){this[_0x531033(0x1e8)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1ab38c(0x601)](_0x26f495){return!0x1;}['_draw'](_0x409e82){const _0x268aac=_0x1ab38c;Y[_0x268aac(0x448)][_0x268aac(0x289)](_0x409e82,{'width':this['width'],'height':this[_0x268aac(0x256)],'strokeWidth':Pr,'stroke':this[_0x268aac(0x5be)],'evented':!0x1,'fill':this[_0x268aac(0x2eb)]}),this[_0x268aac(0x54d)]&&(_0x409e82[_0x268aac(0x617)](),_0x409e82['transform'](0x1,0x0,0x0,0x1,this[_0x268aac(0x24b)],this[_0x268aac(0x4b3)]===_0x268aac(0x5b1)?0x0:-xe),ct['drawWith'](_0x409e82,{'text':this[_0x268aac(0x3d3)],'color':this[_0x268aac(0x5be)]}),_0x409e82['restore']());}}var wr=Object[_0x1ab38c(0x322)],Ur=Object[_0x1ab38c(0x5da)],Mr=(_0x23f0b9,_0x1c7287,_0x182c8a,_0x75d095)=>{for(var _0x53985f=_0x75d095>0x1?void 0x0:_0x75d095?Ur(_0x1c7287,_0x182c8a):_0x1c7287,_0x4d46d9=_0x23f0b9['length']-0x1,_0x2caae4;_0x4d46d9>=0x0;_0x4d46d9--)(_0x2caae4=_0x23f0b9[_0x4d46d9])&&(_0x53985f=(_0x75d095?_0x2caae4(_0x1c7287,_0x182c8a,_0x53985f):_0x2caae4(_0x53985f))||_0x53985f);return _0x75d095&&_0x53985f&&wr(_0x1c7287,_0x182c8a,_0x53985f),_0x53985f;},mt=(_0x132225,_0x303f27)=>(_0x552f64,_0xf049f4)=>_0x303f27(_0x552f64,_0xf049f4,_0x132225);const Nr=0x1389;let Ot=class extends a[_0x1ab38c(0x579)]{constructor(_0x357e8b,_0x5e1577,_0x30398f,_0x233d29){const _0x37dfff=_0x1ab38c;super(),I(this,_0x37dfff(0x4bb),new Set()),I(this,_0x37dfff(0x56e),null),(this[_0x37dfff(0x58c)]=_0x357e8b,this['_sheetSkeletonManagerService']=_0x5e1577,this[_0x37dfff(0x2a6)]=_0x30398f,this[_0x37dfff(0x3ca)]=_0x233d29,this[_0x37dfff(0x419)]());}['_init'](){const _0x36b367=_0x1ab38c;this[_0x36b367(0x185)][_0x36b367(0x421)][_0x36b367(0x21a)](V[_0x36b367(0x37c)](this[_0x36b367(0x326)]),V[_0x36b367(0x600)](_0x32281e=>{const _0x45f09b=_0x36b367;if(_0x32281e){const _0x41fb51=_0x32281e[_0x45f09b(0x57e)];return N[_0x45f09b(0x3d1)](this['_collabCursorController']['getCollabCursors$'](this[_0x45f09b(0x58c)]['unitId']),this[_0x45f09b(0x3ca)][_0x45f09b(0x391)])[_0x45f09b(0x21a)](V['map'](([_0x5db8fc,_0x255ad8])=>{const _0x45fe79=_0x45f09b,_0x284ab9=new Map();return _0x5db8fc[_0x45fe79(0x3f4)]((_0x408b0f,_0x1ceda7)=>{const _0x259063=_0x45fe79;if(_0x408b0f[_0x259063(0x58d)]===_0x41fb51){const _0x44a219={..._0x408b0f};_0x44a219['color']=_0x255ad8[_0x408b0f[_0x259063(0x42b)]],_0x284ab9['set'](_0x1ceda7,_0x44a219);}}),{'skeleton':_0x32281e,'cursors':_0x284ab9};}));}return N['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4e354d,cursors:_0x4ec3e6})=>{const _0x332568=_0x36b367;this['_removeCollabCursors'](),_0x4e354d&&this[_0x332568(0x49f)](_0x4e354d,_0x4ec3e6);}),this['_sheetSkeletonManagerService'][_0x36b367(0x421)][_0x36b367(0x2cc)](_0x1f0ba2=>{const _0x1c7802=_0x36b367;if(_0x1f0ba2==null)return;const {skeleton:_0x18a9bd}=_0x1f0ba2,{scene:_0x49a4e9}=this[_0x1c7802(0x58c)];_0x49a4e9[_0x1c7802(0x513)][_0x1c7802(0x38b)](a['debounce'](_0x3a77fb=>{const _0x49e5db=_0x1c7802;var _0x3584a4,_0x23aefc;const {offsetX:_0xdd2639,offsetY:_0x43ccdb}=_0x3a77fb,{x:_0x15cd7a,y:_0x1aafc7}=_0x49a4e9[_0x49e5db(0x281)](Y['Vector2']['FromArray']([_0xdd2639,_0x43ccdb])),{scaleX:_0x3d2de0,scaleY:_0x51d93f}=_0x49a4e9[_0x49e5db(0x16c)](),_0x4285e6=_0x49a4e9[_0x49e5db(0x306)](Y[_0x49e5db(0x623)][_0x49e5db(0x5b3)]),_0x118fc1=_0x49a4e9[_0x49e5db(0x3b0)](Y[_0x49e5db(0x4ed)][_0x49e5db(0x404)]([_0x15cd7a,_0x1aafc7]),_0x4285e6),_0x4c637d=_0x18a9bd['getCellPositionByOffset'](_0xdd2639,_0x43ccdb,_0x3d2de0,_0x51d93f,_0x118fc1);((_0x3584a4=this['_lastPointer'])==null?void 0x0:_0x3584a4['column'])===_0x4c637d['column']&&((_0x23aefc=this[_0x49e5db(0x56e)])==null?void 0x0:_0x23aefc['row'])===_0x4c637d['row']||this[_0x49e5db(0x4bb)][_0x49e5db(0x3f4)](_0x4b8f7b=>{const _0x438647=_0x49e5db;_0x4b8f7b[_0x438647(0x5e0)](_0x4c637d);});},0x64));});}['_updateCollabCursors'](_0x4814a5,_0x26674d){const _0x1f5583=_0x1ab38c;var _0x18f739;const _0x94a048=(_0x18f739=this[_0x1f5583(0x185)]['getCurrent']())==null?void 0x0:_0x18f739[_0x1f5583(0x407)];if(!_0x94a048)return;const _0x2a9892=this[_0x1f5583(0x1bb)]();if(!_0x2a9892)return;this[_0x1f5583(0x4bb)][_0x1f5583(0x3f4)](_0x163a95=>{const _0x1f53bd=_0x1f5583;_0x163a95[_0x1f53bd(0x31a)]();});const {scene:_0x432004}=_0x2a9892,_0x58086d=Ar(Array[_0x1f5583(0x17c)](_0x26674d[_0x1f5583(0x611)]()))['map'](_0x374f84=>{const _0x1bccf9=_0x1f5583,{color:_0x3d257f,range:_0xbc94be,name:_0x1e71be,selection:_0x36d224,sheetID:_0x102240}=_0x374f84,{startColumn:_0x3fd4c6,startRow:_0x3d36b7,endColumn:_0x36df70,endRow:_0x447ca7}=_0xbc94be,_0x449ee0=Le['getCoordByCell'](_0x3d36b7,_0x3fd4c6,_0x432004,_0x94a048),_0x4dc5e0=Le[_0x1bccf9(0x381)](_0x447ca7,_0x36df70,_0x432004,_0x94a048),{columnHeaderHeightAndMarginTop:_0x33c679}=_0x94a048,{startX:_0x4b8873,startY:_0x595832}=_0x449ee0,{endX:_0xf9d5dd,endY:_0x45728c}=_0x4dc5e0,_0x15b6da=_0xf9d5dd-_0x4b8873,_0x54a26b=_0x45728c-_0x595832,_0x18a029={'labelPosition':_0x595832-_0x33c679>=xe?_0x1bccf9(0x28d):'bottom','sheetID':_0x102240,'range':_0xbc94be,'color':_0x3d257f,'name':_0x1e71be,'selection':_0x36d224,'left':_0x4b8873,'top':_0x595832,'width':_0x15b6da,'height':_0x54a26b,'evented':!0x1,'zIndex':Nr};return new Mi(_0x1e71be,_0x18a029);});_0x432004[_0x1f5583(0x33a)](_0x58086d,Dr),this[_0x1f5583(0x4bb)]=new Set(_0x58086d);}[_0x1ab38c(0x638)](){const _0x2efc0e=_0x1ab38c;var _0x5762d5;(_0x5762d5=this['_cursors'])==null||_0x5762d5[_0x2efc0e(0x3f4)](_0x115e42=>_0x115e42['dispose']());}[_0x1ab38c(0x1bb)](){const _0x3cfdee=_0x1ab38c;return Le[_0x3cfdee(0x576)](this['_context'][_0x3cfdee(0x310)],this[_0x3cfdee(0x58c)]);}};Ot=Mr([mt(0x1,a[_0x1ab38c(0x56d)](Le['SheetSkeletonManagerService'])),mt(0x2,a['Inject'](ye)),mt(0x3,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x308)]))],Ot);function Ar(_0x23e51b){const _0x1b1613=_0x1ab38c,_0x5389b9=new Map();return _0x23e51b['forEach'](_0x1095a2=>{const _0x44b904=_0x33d2;if(_0x5389b9[_0x44b904(0x392)](_0x1095a2[_0x44b904(0x1b1)])){const _0x3e1748=_0x5389b9[_0x44b904(0x3f9)](_0x1095a2[_0x44b904(0x1b1)]);_0x3e1748[_0x44b904(0x4e0)]+=',\x20'+_0x1095a2['name'];}else _0x5389b9[_0x44b904(0x1c6)](_0x1095a2['selection'],_0x1095a2);}),Array[_0x1b1613(0x17c)](_0x5389b9[_0x1b1613(0x611)]());}var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x45a630){const _0x120766=_0x1ab38c;return _0x45a630&&_0x45a630['__esModule']&&Object[_0x120766(0x29c)][_0x120766(0x5a3)]['call'](_0x45a630,_0x120766(0x16f))?_0x45a630[_0x120766(0x16f)]:_0x45a630;}var It={'exports':{}},Ue={},Xt;function Lr(){const _0x539936=_0x1ab38c;if(Xt)return Ue;Xt=0x1;var _0x1a0b04=oe,_0x3b4ce7=Symbol[_0x539936(0x47c)](_0x539936(0x57c)),_0x497710=Symbol[_0x539936(0x47c)]('react.fragment'),_0x25f6f0=Object[_0x539936(0x29c)][_0x539936(0x5a3)],_0x33b619=_0x1a0b04['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED']['ReactCurrentOwner'],_0x4e7d17={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0xc2246(_0x5db64d,_0x981545,_0x9671ab){const _0x35aefc=_0x539936;var _0x405884,_0x5b2a1c={},_0x83cb03=null,_0x1804cd=null;_0x9671ab!==void 0x0&&(_0x83cb03=''+_0x9671ab),_0x981545[_0x35aefc(0x634)]!==void 0x0&&(_0x83cb03=''+_0x981545[_0x35aefc(0x634)]),_0x981545[_0x35aefc(0x587)]!==void 0x0&&(_0x1804cd=_0x981545[_0x35aefc(0x587)]);for(_0x405884 in _0x981545)_0x25f6f0[_0x35aefc(0x4fd)](_0x981545,_0x405884)&&!_0x4e7d17[_0x35aefc(0x5a3)](_0x405884)&&(_0x5b2a1c[_0x405884]=_0x981545[_0x405884]);if(_0x5db64d&&_0x5db64d[_0x35aefc(0x2d3)]){for(_0x405884 in(_0x981545=_0x5db64d[_0x35aefc(0x2d3)],_0x981545))_0x5b2a1c[_0x405884]===void 0x0&&(_0x5b2a1c[_0x405884]=_0x981545[_0x405884]);}return{'$$typeof':_0x3b4ce7,'type':_0x5db64d,'key':_0x83cb03,'ref':_0x1804cd,'props':_0x5b2a1c,'_owner':_0x33b619[_0x35aefc(0x4be)]};}return Ue[_0x539936(0x17a)]=_0x497710,Ue[_0x539936(0x5c5)]=_0xc2246,Ue['jsxs']=_0xc2246,Ue;}var Jt;function xr(){const _0x21724d=_0x1ab38c;return Jt||(Jt=0x1,It[_0x21724d(0x5ca)]=Lr()),It[_0x21724d(0x5ca)];}var me=xr(),Q=function(){const _0x3a60bd=_0x1ab38c;return Q=Object['assign']||function(_0x465d77){const _0x9f5f29=_0x33d2;for(var _0x1d42fa,_0x1e8fb5=0x1,_0x1b75ce=arguments[_0x9f5f29(0x2b7)];_0x1e8fb5<_0x1b75ce;_0x1e8fb5++){_0x1d42fa=arguments[_0x1e8fb5];for(var _0x889dcb in _0x1d42fa)Object[_0x9f5f29(0x29c)][_0x9f5f29(0x5a3)][_0x9f5f29(0x4fd)](_0x1d42fa,_0x889dcb)&&(_0x465d77[_0x889dcb]=_0x1d42fa[_0x889dcb]);}return _0x465d77;},Q[_0x3a60bd(0x444)](this,arguments);},$r=function(_0x3153d5,_0xfc1e4a){const _0x332929=_0x1ab38c;var _0x2cba55={};for(var _0x57a2b8 in _0x3153d5)Object[_0x332929(0x29c)][_0x332929(0x5a3)][_0x332929(0x4fd)](_0x3153d5,_0x57a2b8)&&_0xfc1e4a[_0x332929(0x5b6)](_0x57a2b8)<0x0&&(_0x2cba55[_0x57a2b8]=_0x3153d5[_0x57a2b8]);if(_0x3153d5!=null&&typeof Object[_0x332929(0x39f)]=='function'){for(var _0x28d5eb=0x0,_0x57a2b8=Object['getOwnPropertySymbols'](_0x3153d5);_0x28d5eb<_0x57a2b8['length'];_0x28d5eb++)_0xfc1e4a[_0x332929(0x5b6)](_0x57a2b8[_0x28d5eb])<0x0&&Object[_0x332929(0x29c)]['propertyIsEnumerable']['call'](_0x3153d5,_0x57a2b8[_0x28d5eb])&&(_0x2cba55[_0x57a2b8[_0x28d5eb]]=_0x3153d5[_0x57a2b8[_0x28d5eb]]);}return _0x2cba55;},At=oe['forwardRef'](function(_0x36a60a,_0x355e83){const _0xcbd9ad=_0x1ab38c;var _0x183f18=_0x36a60a[_0xcbd9ad(0x39e)],_0x84cd07=_0x36a60a['id'],_0x5eb1bc=_0x36a60a[_0xcbd9ad(0x5f9)],_0x4a80b9=_0x36a60a[_0xcbd9ad(0x270)],_0x30911f=$r(_0x36a60a,[_0xcbd9ad(0x39e),'id','className',_0xcbd9ad(0x270)]),_0x1dbe14=_0xcbd9ad(0x493)[_0xcbd9ad(0x1ac)](_0x84cd07,'\x20')[_0xcbd9ad(0x1ac)](_0x5eb1bc||'')[_0xcbd9ad(0x295)](),_0x18aacf=oe[_0xcbd9ad(0x624)]('_'[_0xcbd9ad(0x1ac)](Br()));return Ni(_0x183f18,''['concat'](_0x84cd07),{'defIds':_0x183f18[_0xcbd9ad(0x3da)],'idSuffix':_0x18aacf[_0xcbd9ad(0x4be)]},Q({'ref':_0x355e83,'className':_0x1dbe14},_0x30911f),_0x4a80b9);});function Ni(_0x394550,_0x48ba76,_0x486508,_0x34efe5,_0x46e9c4){const _0x2e411f=_0x1ab38c;return oe['createElement'](_0x394550['tag'],Q(Q({'key':_0x48ba76},jr(_0x394550,_0x486508,_0x46e9c4)),_0x34efe5),(Hr(_0x394550,_0x486508)[_0x2e411f(0x1d3)]||[])[_0x2e411f(0x4e4)](function(_0x1f1a5c,_0x26b2be){const _0x41a5da=_0x2e411f;return Ni(_0x1f1a5c,''[_0x41a5da(0x1ac)](_0x48ba76,'-')[_0x41a5da(0x1ac)](_0x394550[_0x41a5da(0x292)],'-')[_0x41a5da(0x1ac)](_0x26b2be),_0x486508,void 0x0,_0x46e9c4);}));}function jr(_0x574cdc,_0x41df65,_0x174adf){const _0x3866cd=_0x1ab38c;var _0x1687e9=Q({},_0x574cdc[_0x3866cd(0x1d5)]);_0x174adf!=null&&_0x174adf[_0x3866cd(0x18d)]&&_0x1687e9[_0x3866cd(0x2d6)]==='colorChannel1'&&(_0x1687e9['fill']=_0x174adf['colorChannel1']);var _0x553ae0=_0x41df65['defIds'];return!_0x553ae0||_0x553ae0['length']===0x0||(_0x574cdc[_0x3866cd(0x292)]===_0x3866cd(0x5f2)&&_0x1687e9[_0x3866cd(0x547)]&&(_0x1687e9['xlink:href']=_0x1687e9[_0x3866cd(0x547)]+_0x41df65['idSuffix']),Object[_0x3866cd(0x1f7)](_0x1687e9)[_0x3866cd(0x3f4)](function(_0x5d0b98){const _0x48c018=_0x3866cd;var _0x481e0c=_0x5d0b98[0x0],_0xabc714=_0x5d0b98[0x1];typeof _0xabc714=='string'&&(_0x1687e9[_0x481e0c]=_0xabc714[_0x48c018(0x5e1)](/url\(#(.*)\)/,'url(#$1'[_0x48c018(0x1ac)](_0x41df65[_0x48c018(0x2ba)],')')));})),_0x1687e9;}function Hr(_0x5d2155,_0xda7dbb){const _0x2d8b74=_0x1ab38c;var _0x35ba75,_0x5e6395=_0xda7dbb[_0x2d8b74(0x3da)];return!_0x5e6395||_0x5e6395[_0x2d8b74(0x2b7)]===0x0?_0x5d2155:_0x5d2155[_0x2d8b74(0x292)]===_0x2d8b74(0x4ba)&&(!((_0x35ba75=_0x5d2155[_0x2d8b74(0x1d3)])===null||_0x35ba75===void 0x0)&&_0x35ba75[_0x2d8b74(0x2b7)])?Q(Q({},_0x5d2155),{'children':_0x5d2155[_0x2d8b74(0x1d3)][_0x2d8b74(0x4e4)](function(_0x5748d4){const _0x14ea25=_0x2d8b74;return typeof _0x5748d4['attrs']['id']==_0x14ea25(0x3a2)&&_0x5e6395&&_0x5e6395[_0x14ea25(0x5b6)](_0x5748d4['attrs']['id'])>-0x1?Q(Q({},_0x5748d4),{'attrs':Q(Q({},_0x5748d4['attrs']),{'id':_0x5748d4['attrs']['id']+_0xda7dbb[_0x14ea25(0x2ba)]})}):_0x5748d4;})}):_0x5d2155;}function Br(){const _0x5733ad=_0x1ab38c;return Math[_0x5733ad(0x3b8)]()[_0x5733ad(0x612)](0x24)[_0x5733ad(0x3ea)](0x2,0x8);}At[_0x1ab38c(0x3c2)]=_0x1ab38c(0x1dd);var kr={'tag':_0x1ab38c(0x19c),'attrs':{'fill':_0x1ab38c(0x222),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x1ab38c(0x62e)},'children':[{'tag':'g','attrs':{'clipPath':_0x1ab38c(0x5a0)},'children':[{'tag':_0x1ab38c(0x324),'attrs':{'stroke':_0x1ab38c(0x526),'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':_0x1ab38c(0x363),'strokeLinejoin':_0x1ab38c(0x363),'strokeWidth':1.2}}]},{'tag':_0x1ab38c(0x4ba),'attrs':{},'children':[{'tag':_0x1ab38c(0x1f2),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x1ab38c(0x2f3),'d':_0x1ab38c(0x580)}}]}]}],'defIds':[_0x1ab38c(0x358)]},Ai=oe[_0x1ab38c(0x235)](function(_0x3576c5,_0x12b15f){const _0x510085=_0x1ab38c;return oe['createElement'](At,Object[_0x510085(0x307)]({},_0x3576c5,{'id':_0x510085(0x2ac),'ref':_0x12b15f,'icon':kr}));});Ai[_0x1ab38c(0x3c2)]=_0x1ab38c(0x189);var Wr={'tag':_0x1ab38c(0x19c),'attrs':{'fill':_0x1ab38c(0x222),'viewBox':_0x1ab38c(0x3e3),'width':'1em','height':_0x1ab38c(0x62e)},'children':[{'tag':'g','attrs':{'clipPath':_0x1ab38c(0x27a)},'children':[{'tag':_0x1ab38c(0x324),'attrs':{'stroke':_0x1ab38c(0x526),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1ab38c(0x4ba),'attrs':{},'children':[{'tag':_0x1ab38c(0x1f2),'attrs':{'id':_0x1ab38c(0x243)},'children':[{'tag':_0x1ab38c(0x324),'attrs':{'fill':_0x1ab38c(0x2f3),'d':_0x1ab38c(0x580),'transform':_0x1ab38c(0x2b3)}}]}]}],'defIds':[_0x1ab38c(0x243)]},Li=oe[_0x1ab38c(0x235)](function(_0x549a8a,_0x3564c7){const _0x501439=_0x1ab38c;return oe[_0x501439(0x474)](At,Object[_0x501439(0x307)]({},_0x549a8a,{'id':_0x501439(0x25c),'ref':_0x3564c7,'icon':Wr}));});Li[_0x1ab38c(0x3c2)]=_0x1ab38c(0x36d);function xi(_0x5ec539){const _0x1ee7f6=_0x1ab38c;var _0x54d655,_0x3f6ceb,_0x22464a='';if(typeof _0x5ec539=='string'||typeof _0x5ec539=='number')_0x22464a+=_0x5ec539;else{if(typeof _0x5ec539=='object'){if(Array['isArray'](_0x5ec539)){var _0x7f2878=_0x5ec539[_0x1ee7f6(0x2b7)];for(_0x54d655=0x0;_0x54d655<_0x7f2878;_0x54d655++)_0x5ec539[_0x54d655]&&(_0x3f6ceb=xi(_0x5ec539[_0x54d655]))&&(_0x22464a&&(_0x22464a+='\x20'),_0x22464a+=_0x3f6ceb);}else{for(_0x3f6ceb in _0x5ec539)_0x5ec539[_0x3f6ceb]&&(_0x22464a&&(_0x22464a+='\x20'),_0x22464a+=_0x3f6ceb);}}}return _0x22464a;}function Fr(){const _0x17b442=_0x1ab38c;for(var _0x1a80e8,_0x4cf67c,_0x46f190=0x0,_0x5ce23e='',_0xbc0d7e=arguments[_0x17b442(0x2b7)];_0x46f190<_0xbc0d7e;_0x46f190++)(_0x1a80e8=arguments[_0x46f190])&&(_0x4cf67c=xi(_0x1a80e8))&&(_0x5ce23e&&(_0x5ce23e+='\x20'),_0x5ce23e+=_0x4cf67c);return _0x5ce23e;}const Vr='univer-online-status-icon',Gr=_0x1ab38c(0x314),Yr=_0x1ab38c(0x2f4),qr='univer-online',Kr=_0x1ab38c(0x55f),Me={'onlineStatusIcon':Vr,'onlineStatusTitle':Gr,'onlineStatus':Yr,'online':qr,'offline':Kr};function zr(_0x388866){const _0x5cb792=_0x1ab38c;switch(_0x388866){case K[_0x5cb792(0x1e7)]:return _0x5cb792(0x176);case K[_0x5cb792(0x5f1)]:return _0x5cb792(0x451);case K[_0x5cb792(0x303)]:return _0x5cb792(0x4aa);case K[_0x5cb792(0x1d1)]:return _0x5cb792(0x4cc);case K[_0x5cb792(0x261)]:case K['AWAITING_WITH_PENDING']:return _0x5cb792(0x4f5);case K['SYNCED']:case K[_0x5cb792(0x320)]:return _0x5cb792(0x58b);}}function $i(_0x2ce871){const _0x2f7465=_0x1ab38c,{status$:_0x4861c5}=_0x2ce871,_0x5f11de=ee[_0x2f7465(0x1be)](_0x4861c5,K['NOT_COLLAB']),_0x14b488=a[_0x2f7465(0x59d)](a[_0x2f7465(0x394)]),_0xb62107=a[_0x2f7465(0x59d)](exports[_0x2f7465(0x1fc)]),_0x545ccd=_0x5f11de!==K[_0x2f7465(0x1e7)],_0x1c1d25=_0x14b488['t'](zr(_0x5f11de)),_0x35f09c=Fr(Me[_0x2f7465(0x380)],{[Me['online']]:_0x545ccd,[Me[_0x2f7465(0x573)]]:!_0x545ccd}),_0x37c735=_0x545ccd?me['jsx'](Li,{}):me['jsx'](Ai,{}),_0x2ded1b=oe[_0x2f7465(0x39c)](()=>{_0x545ccd||_0xb62107['reconnect']();},[_0x545ccd,_0xb62107]);function _0x404bcf(){const _0x111189=_0x2f7465;return me[_0x111189(0x508)]('div',{'className':_0x35f09c,'onClick':_0x2ded1b,'children':[me['jsx'](_0x111189(0x224),{'className':Me[_0x111189(0x5f0)],'children':_0x37c735}),me[_0x111189(0x5c5)](_0x111189(0x224),{'className':Me['onlineStatusTitle'],'children':_0x1c1d25})]});}return _0x545ccd?_0x404bcf():me[_0x2f7465(0x5c5)](Ce[_0x2f7465(0x305)],{'title':_0x14b488['t'](_0x2f7465(0x371)),'children':_0x404bcf()});}var Xr=Object['defineProperty'],Jr=Object[_0x1ab38c(0x5da)],Zr=(_0x507833,_0x53b533,_0x38711a,_0x45710f)=>{const _0x11e188=_0x1ab38c;for(var _0x299165=_0x45710f>0x1?void 0x0:_0x45710f?Jr(_0x53b533,_0x38711a):_0x53b533,_0xe27f6=_0x507833[_0x11e188(0x2b7)]-0x1,_0x383279;_0xe27f6>=0x0;_0xe27f6--)(_0x383279=_0x507833[_0xe27f6])&&(_0x299165=(_0x45710f?_0x383279(_0x53b533,_0x38711a,_0x299165):_0x383279(_0x299165))||_0x299165);return _0x45710f&&_0x299165&&Xr(_0x53b533,_0x38711a,_0x299165),_0x299165;},He=(_0x3fd06f,_0x51bc02)=>(_0x2bdd7c,_0x3e2023)=>_0x51bc02(_0x2bdd7c,_0x3e2023,_0x3fd06f);exports[_0x1ab38c(0x347)]=class extends a[_0x1ab38c(0x382)]{constructor(_0x4685db,_0x1f74e7,_0x554502,_0x5ac69f){const _0xcf3ba2=_0x1ab38c;super(),I(this,_0xcf3ba2(0x4f8),new N[(_0xcf3ba2(0x3bd))](K[_0xcf3ba2(0x1d1)])),(this[_0xcf3ba2(0x3b6)]=_0x4685db,this[_0xcf3ba2(0x53a)]=_0x1f74e7,this['_injector']=_0x554502,this[_0xcf3ba2(0x27b)]=_0x5ac69f,this[_0xcf3ba2(0x1a2)](),this[_0xcf3ba2(0x294)]());}[_0x1ab38c(0x294)](){const _0x33b823=_0x1ab38c;this[_0x33b823(0x4ae)](this[_0x33b823(0x3b6)]['focused$']['pipe'](N[_0x33b823(0x600)](()=>{const _0xe568a8=_0x33b823,_0x2f4007=this[_0xe568a8(0x3b6)][_0xe568a8(0x425)]();return _0x2f4007?this[_0xe568a8(0x27b)][_0xe568a8(0x29b)](_0x2f4007[_0xe568a8(0x2f9)]()):N['of'](null);}),N['switchMap'](_0x3168ba=>_0x3168ba?_0x3168ba[_0x33b823(0x1af)]:N['of'](K[_0x33b823(0x1d1)])))[_0x33b823(0x2cc)](_0x16efca=>{this['_status$']['next'](_0x16efca);}));}['_initStatusComponent'](){const _0x3f67fa=_0x1ab38c;this[_0x3f67fa(0x4ae)](this[_0x3f67fa(0x53a)][_0x3f67fa(0x30b)](ee['BuiltInUIPart'][_0x3f67fa(0x2d8)],()=>a['connectInjector'](Qr({'status$':this[_0x3f67fa(0x4f8)][_0x3f67fa(0x3b4)]()}),this[_0x3f67fa(0x2f8)])));}},exports[_0x1ab38c(0x347)]=Zr([He(0x0,a[_0x1ab38c(0x585)]),He(0x1,ee[_0x1ab38c(0x1ee)]),He(0x2,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),He(0x3,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x1d8)]))],exports['DesktopCollaborationStatusDisplayController']);function Qr(_0x230886){const {status$:_0x5f0918}=_0x230886;return function(){const _0x3cba04=_0x33d2;return me[_0x3cba04(0x5c5)]($i,{'status$':_0x5f0918});};}const Lt=a[_0x1ab38c(0x4d5)](_0x1ab38c(0x464));var es=Object['defineProperty'],ts=Object['getOwnPropertyDescriptor'],is=(_0x80fb75,_0x3683ad,_0xd4986,_0x38d76d)=>{const _0x4ec907=_0x1ab38c;for(var _0xd434d3=_0x38d76d>0x1?void 0x0:_0x38d76d?ts(_0x3683ad,_0xd4986):_0x3683ad,_0x50cc76=_0x80fb75[_0x4ec907(0x2b7)]-0x1,_0x1efa11;_0x50cc76>=0x0;_0x50cc76--)(_0x1efa11=_0x80fb75[_0x50cc76])&&(_0xd434d3=(_0x38d76d?_0x1efa11(_0x3683ad,_0xd4986,_0xd434d3):_0x1efa11(_0xd434d3))||_0xd434d3);return _0x38d76d&&_0xd434d3&&es(_0x3683ad,_0xd4986,_0xd434d3),_0xd434d3;},Re=(_0x358beb,_0x58df59)=>(_0x379419,_0x14b137)=>_0x58df59(_0x379419,_0x14b137,_0x358beb);exports[_0x1ab38c(0x535)]=class extends a['RxDisposable']{constructor(_0x2f73ca,_0x4ba5c0,_0x579ef1,_0x26c5f3,_0x3e404b,_0x2ef285){const _0x422d46=_0x1ab38c;super(),this[_0x422d46(0x427)]=_0x2f73ca,this[_0x422d46(0x4d3)]=_0x4ba5c0,this[_0x422d46(0x223)]=_0x579ef1,this['_localCacheService']=_0x26c5f3,this['_snapshotService']=_0x3e404b,_0x2ef285?_0x2ef285==null||_0x2ef285['whenReady']()[_0x422d46(0x4f9)](()=>this[_0x422d46(0x419)]()):(this['_logService'][_0x422d46(0x479)](_0x422d46(0x2b0),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x4263d4=_0x1ab38c,_0x3cafab=this['_urlService'][_0x4263d4(0x53c)](_0x4263d4(0x310)),_0x5d6896=this[_0x4263d4(0x427)]['getParam'](_0x4263d4(0x57b));if(!_0x3cafab||!_0x5d6896){this[_0x4263d4(0x4d3)][_0x4263d4(0x479)](_0x4263d4(0x2b0),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x5d6896)){case ie[_0x4263d4(0x2e0)]:{const _0x3d5488=await this[_0x4263d4(0x4ab)](_0x3cafab);this[_0x4263d4(0x3ff)](_0x3d5488);break;}case ie[_0x4263d4(0x355)]:{await this[_0x4263d4(0x402)](_0x3cafab);break;}default:{this['_logService'][_0x4263d4(0x48d)](_0x4263d4(0x2b0),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x1ab38c(0x3ff)](_0x2309bd){const _0x1fd9bc=_0x1ab38c;await this['_updateSubUnitFromURLParams'](_0x2309bd),_0x2309bd[_0x1fd9bc(0x278)][_0x1fd9bc(0x21a)](N['takeUntil'](this[_0x1fd9bc(0x326)]))[_0x1fd9bc(0x2cc)](_0x27a67a=>{const _0x4a17bd=_0x1fd9bc;_0x27a67a&&this[_0x4a17bd(0x168)](_0x27a67a);}),this[_0x1fd9bc(0x427)][_0x1fd9bc(0x4a8)][_0x1fd9bc(0x21a)](N[_0x1fd9bc(0x37c)](this[_0x1fd9bc(0x326)]))[_0x1fd9bc(0x2cc)](()=>this[_0x1fd9bc(0x5b4)](_0x2309bd));}['_updateURLWithCurrentState'](_0x414c20,_0x47c5c7=!0x1){const _0x32aff7=_0x1ab38c,_0x215163=this[_0x32aff7(0x427)]['getParam'](_0x32aff7(0x254));_0x414c20[_0x32aff7(0x62b)]()!==_0x215163&&this[_0x32aff7(0x427)]['setParam'](_0x32aff7(0x254),_0x414c20['getSheetId'](),_0x47c5c7);}async['_updateSubUnitFromURLParams'](_0x1624cf){const _0x26db47=_0x1ab38c;var _0x4c9677;const _0x4b2d80=this['_urlService'][_0x26db47(0x53c)](_0x26db47(0x254));if(!_0x4b2d80||!_0x1624cf[_0x26db47(0x54a)](_0x4b2d80)){const _0x45e28b=_0x1624cf[_0x26db47(0x43a)]()[0x0],_0xe58e95=_0x1624cf['getSheetBySheetId'](_0x45e28b);if(!_0xe58e95)return;this[_0x26db47(0x168)](_0xe58e95,!0x0),await this[_0x26db47(0x223)]['executeCommand'](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x1624cf[_0x26db47(0x2f9)](),'subUnitId':_0x45e28b});return;}((_0x4c9677=_0x1624cf['getActiveSheet']())==null?void 0x0:_0x4c9677['getSheetId']())!==_0x4b2d80&&await this['_commandService'][_0x26db47(0x59c)](k[_0x26db47(0x5cb)]['id'],{'unitId':_0x1624cf[_0x26db47(0x2f9)](),'subUnitId':_0x4b2d80});}async[_0x1ab38c(0x4ab)](_0x462cbe){const _0x3e731f=_0x1ab38c;let _0xed56d1=0x0;const _0x1a7e80=await this[_0x3e731f(0x28a)][_0x3e731f(0x309)](_0x462cbe);return _0x1a7e80&&(_0x1a7e80[_0x3e731f(0x228)]||_0x1a7e80[_0x3e731f(0x4ea)][_0x3e731f(0x2b7)]!==0x0)&&(_0xed56d1=_0x1a7e80[_0x3e731f(0x557)]),_0xed56d1===0x0&&this[_0x3e731f(0x4d3)][_0x3e731f(0x479)](_0x3e731f(0x2b0),_0x3e731f(0x34b)),this[_0x3e731f(0x5ee)][_0x3e731f(0x5c3)](_0x462cbe,_0xed56d1);}async['_loadDoc'](_0x3d6d65){const _0x579a49=_0x1ab38c;let _0x1ade3a=0x0;const _0x1d9c92=await this[_0x579a49(0x28a)]['loadOfflineData'](_0x3d6d65);return _0x1d9c92&&(_0x1d9c92[_0x579a49(0x228)]||_0x1d9c92[_0x579a49(0x4ea)][_0x579a49(0x2b7)]!==0x0)&&(_0x1ade3a=_0x1d9c92[_0x579a49(0x557)]),_0x1ade3a===0x0&&this[_0x579a49(0x4d3)][_0x579a49(0x479)](_0x579a49(0x2b0),_0x579a49(0x34b)),this[_0x579a49(0x5ee)][_0x579a49(0x4d6)](_0x3d6d65,_0x1ade3a);}},exports[_0x1ab38c(0x535)]=is([Re(0x0,Lt),Re(0x1,a[_0x1ab38c(0x626)]),Re(0x2,a[_0x1ab38c(0x430)]),Re(0x3,a['Inject'](exports['LocalCacheService'])),Re(0x4,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x4b1)])),Re(0x5,a[_0x1ab38c(0x627)](Yi[_0x1ab38c(0x56c)]))],exports[_0x1ab38c(0x535)]);var ns=Object['defineProperty'],rs=Object['getOwnPropertyDescriptor'],ss=(_0x339a6a,_0x19e7c5,_0x593e54,_0x526f4e)=>{const _0x577260=_0x1ab38c;for(var _0x335365=_0x526f4e>0x1?void 0x0:_0x526f4e?rs(_0x19e7c5,_0x593e54):_0x19e7c5,_0x1042d5=_0x339a6a[_0x577260(0x2b7)]-0x1,_0x2a7000;_0x1042d5>=0x0;_0x1042d5--)(_0x2a7000=_0x339a6a[_0x1042d5])&&(_0x335365=(_0x526f4e?_0x2a7000(_0x19e7c5,_0x593e54,_0x335365):_0x2a7000(_0x335365))||_0x335365);return _0x526f4e&&_0x335365&&ns(_0x19e7c5,_0x593e54,_0x335365),_0x335365;},Zt=(_0x11f4cd,_0x2ab334)=>(_0x3b858d,_0x2c7554)=>_0x2ab334(_0x3b858d,_0x2c7554,_0x11f4cd);const os='DEFAULT_FILE_NAME',as=_0x1ab38c(0x490);let nt=class extends a['Disposable']{constructor(_0x557349,_0x39ad46){const _0x2d0a01=_0x1ab38c;super(),this[_0x2d0a01(0x3b6)]=_0x557349,this[_0x2d0a01(0x3fd)]=_0x39ad46,this[_0x2d0a01(0x419)]();}[_0x1ab38c(0x419)](){const _0x93d948=_0x1ab38c;this[_0x93d948(0x4ae)](this[_0x93d948(0x3b6)][_0x93d948(0x275)][_0x93d948(0x2cc)](()=>{const _0x50881b=_0x93d948;var _0x3ba2f0;const _0x1ff086=this[_0x50881b(0x3b6)][_0x50881b(0x425)]();let _0x52e410=(_0x3ba2f0=this[_0x50881b(0x3fd)][_0x50881b(0x489)](os))!=null?_0x3ba2f0:as;_0x1ff086 instanceof a[_0x50881b(0x470)]&&(_0x52e410=_0x1ff086[_0x50881b(0x4e0)]),document['title']=_0x52e410;}));}};nt=ss([Zt(0x0,a[_0x1ab38c(0x585)]),Zt(0x1,a[_0x1ab38c(0x5bc)])],nt);var cs=Object[_0x1ab38c(0x322)],ls=Object['getOwnPropertyDescriptor'],hs=(_0x2f7ca8,_0x536c77,_0xf6bfe3,_0x57e029)=>{const _0x363a0c=_0x1ab38c;for(var _0xa74a56=_0x57e029>0x1?void 0x0:_0x57e029?ls(_0x536c77,_0xf6bfe3):_0x536c77,_0x2f168c=_0x2f7ca8[_0x363a0c(0x2b7)]-0x1,_0x2de900;_0x2f168c>=0x0;_0x2f168c--)(_0x2de900=_0x2f7ca8[_0x2f168c])&&(_0xa74a56=(_0x57e029?_0x2de900(_0x536c77,_0xf6bfe3,_0xa74a56):_0x2de900(_0xa74a56))||_0xa74a56);return _0x57e029&&_0xa74a56&&cs(_0x536c77,_0xf6bfe3,_0xa74a56),_0xa74a56;},Ct=(_0x45b5de,_0x2ace36)=>(_0x5641c8,_0x32453f)=>_0x2ace36(_0x5641c8,_0x32453f,_0x45b5de);let rt=class{constructor(_0x38df39,_0x21e862,_0x497efd){const _0x3f18ec=_0x1ab38c;this[_0x3f18ec(0x3fd)]=_0x38df39,this[_0x3f18ec(0x544)]=_0x21e862,this[_0x3f18ec(0x37f)]=_0x497efd,this['init']();}[_0x1ab38c(0x238)](){const _0x65cfe5=_0x1ab38c;this[_0x65cfe5(0x544)][_0x65cfe5(0x4d9)]({'priority':0x1,'interceptor':(_0x4863a7,_0x258e30)=>_0x258e30(_0x4863a7)[_0x65cfe5(0x21a)](N['concatMap'](async _0x279081=>{const _0x2d9a67=_0x65cfe5,_0x335182=_0x279081;if(_0x335182[_0x2d9a67(0x338)]===0x191&&window[_0x2d9a67(0x280)](this[_0x2d9a67(0x37f)]['t'](_0x2d9a67(0x44d)))){const _0xc2a064=window[_0x2d9a67(0x4c7)](window[_0x2d9a67(0x56a)][_0x2d9a67(0x32d)]);window[_0x2d9a67(0x56a)]['href']=this[_0x2d9a67(0x181)]()+_0x2d9a67(0x5d8)+_0xc2a064;}return _0x335182;}))});}[_0x1ab38c(0x181)](){const _0x3793d5=_0x1ab38c;var _0x5eaca7,_0x2bc36e;const _0x56cdf5=this[_0x3793d5(0x3fd)][_0x3793d5(0x489)](Ei),_0x2d1010=this[_0x3793d5(0x3fd)][_0x3793d5(0x489)](Z);return(_0x2bc36e=(_0x5eaca7=_0x2d1010==null?void 0x0:_0x2d1010[_0x3793d5(0x439)])!=null?_0x5eaca7:_0x56cdf5)!=null?_0x2bc36e:rn;}};rt=hs([Ct(0x0,a['IConfigService']),Ct(0x1,a[_0x1ab38c(0x56d)](z[_0x1ab38c(0x3a1)])),Ct(0x2,a['Inject'](a[_0x1ab38c(0x394)]))],rt);var _s=Object[_0x1ab38c(0x322)],us=Object[_0x1ab38c(0x5da)],ds=(_0x142a1a,_0x25d92e,_0x135151,_0x1502ec)=>{const _0x447f87=_0x1ab38c;for(var _0x56b10b=_0x1502ec>0x1?void 0x0:_0x1502ec?us(_0x25d92e,_0x135151):_0x25d92e,_0x5f5678=_0x142a1a[_0x447f87(0x2b7)]-0x1,_0x381aa9;_0x5f5678>=0x0;_0x5f5678--)(_0x381aa9=_0x142a1a[_0x5f5678])&&(_0x56b10b=(_0x1502ec?_0x381aa9(_0x25d92e,_0x135151,_0x56b10b):_0x381aa9(_0x56b10b))||_0x56b10b);return _0x1502ec&&_0x56b10b&&_s(_0x25d92e,_0x135151,_0x56b10b),_0x56b10b;},Qt=(_0x4a38d7,_0x3077bc)=>(_0x54b58f,_0x4f9860)=>_0x3077bc(_0x54b58f,_0x4f9860,_0x4a38d7);const xt=_0x1ab38c(0x4c9),fs='/universer-api/authz';exports[_0x1ab38c(0x456)]=class extends a[_0x1ab38c(0x382)]{constructor(_0xc293fe,_0x469c6d){const _0x396ef4=_0x1ab38c;super(),this['_HTTPService']=_0xc293fe,this[_0x396ef4(0x3fd)]=_0x469c6d,this[_0x396ef4(0x33e)]();}[_0x1ab38c(0x33e)](){const _0x394493=_0x1ab38c,_0x125d0e=this;this[_0x394493(0x4ae)](this[_0x394493(0x3d0)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':z[_0x394493(0x5c0)]({'isMatch'(_0x67b39c){const _0x868f4e=_0x394493;var _0x949b6;if(_0x67b39c[_0x868f4e(0x591)]===_0x868f4e(0x5d9)&&((_0x949b6=_0x67b39c[_0x868f4e(0x497)])!=null&&_0x949b6[_0x868f4e(0x4cf)])){const {objectID:_0x8243a6,objectType:_0xac341}=_0x67b39c[_0x868f4e(0x497)][_0x868f4e(0x4cf)]||{};if(!_0x8243a6||_0xac341===void 0x0)return!0x1;const _0xc3a38e=_0x125d0e['_getAPIPrefixPath']()+'/'+_0xac341+'/object/'+_0x8243a6+_0x868f4e(0x43f);if(_0x67b39c[_0x868f4e(0x304)]===_0xc3a38e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x51024a){var _0x4ed617;return(_0x4ed617=_0x51024a['requestParams'])==null?void 0x0:_0x4ed617['body'];},'mergeParamsToRequest'(_0x21df22,_0x28044a){const _0x194537=_0x394493,_0x4d30ac=_0x125d0e[_0x194537(0x5f6)]()+_0x194537(0x414),_0x3dd570=_0x21df22['reduce']((_0x5a5875,_0x488158)=>{const _0xf2d319=_0x194537,{unitID:_0x3e892c,objectID:_0x5c05a1,objectType:_0x383088,actions:_0x2e943f}=_0x488158;return _0x5a5875[_0x3e892c]||(_0x5a5875[_0x3e892c]={}),_0x5a5875[_0x3e892c][_0x5c05a1]||(_0x5a5875[_0x3e892c][_0x5c05a1]={'objectID':_0x5c05a1,'objectType':_0x383088,'actions':[]}),_0x5a5875[_0x3e892c][_0x5c05a1][_0xf2d319(0x1dc)][_0xf2d319(0x2e4)](..._0x2e943f),_0x5a5875;},{}),_0x4a2b38=[];for(const _0x2a1f22 in _0x3dd570)for(const _0x335939 in _0x3dd570[_0x2a1f22]){const {actions:_0x6e272,objectType:_0x4d1e64}=_0x3dd570[_0x2a1f22][_0x335939],_0x399597=[...new Set(_0x6e272)];_0x4a2b38[_0x194537(0x2e4)]({'unitID':_0x2a1f22,'objectID':_0x335939,'objectType':_0x4d1e64,'actions':_0x399597});}return new z[(_0x194537(0x50a))](_0x194537(0x5d9),_0x4d30ac,{'headers':_0x28044a[_0x194537(0x408)],'withCredentials':_0x28044a[_0x194537(0x4da)],'responseType':_0x28044a[_0x194537(0x41d)],'body':{'requests':_0x4a2b38}});}},{'distributeResult'(_0x23d43c,_0x1c2b9f){const {objectActions:_0x351a24}=_0x23d43c;return _0x1c2b9f['map'](_0x239d5e=>{const _0x42d87f=_0x33d2,{unitID:_0x3b437b,objectID:_0x4cb6d7,actions:_0x24548a}=_0x239d5e,_0x5c396c=_0x351a24['find'](_0x282ec8=>_0x282ec8[_0x42d87f(0x3d4)]===_0x3b437b&&_0x282ec8[_0x42d87f(0x1ec)]===_0x4cb6d7),_0x22b8cc=_0x24548a[_0x42d87f(0x4e4)](_0x46229e=>_0x5c396c==null?void 0x0:_0x5c396c[_0x42d87f(0x1dc)]['find'](_0x2374ab=>_0x2374ab['action']===_0x46229e))['filter'](_0x21d685=>!!_0x21d685);return{'config':_0x239d5e,'result':{'actions':_0x22b8cc,'error':_0x23d43c[_0x42d87f(0x48d)]}};});}})}));}['_getAPIPrefixPath'](){const _0x35aabf=_0x1ab38c;var _0x477fb2,_0x4a259f;const _0x30c859=this[_0x35aabf(0x3fd)][_0x35aabf(0x489)](xt),_0x391d31=this[_0x35aabf(0x3fd)][_0x35aabf(0x489)](Z);return(_0x4a259f=(_0x477fb2=_0x391d31==null?void 0x0:_0x391d31[_0x35aabf(0x286)])!=null?_0x477fb2:_0x30c859)!=null?_0x4a259f:fs;}async[_0x1ab38c(0x442)](_0xe1fadf){const _0x1f859b=_0x1ab38c,_0x52a086=this[_0x1f859b(0x5f6)]()+'/'+_0xe1fadf[_0x1f859b(0x5ab)]+_0x1f859b(0x1a3);return(await this[_0x1f859b(0x3d0)][_0x1f859b(0x22b)](_0x52a086,{'body':_0xe1fadf}))[_0x1f859b(0x4cf)][_0x1f859b(0x1ec)]||'';}async[_0x1ab38c(0x1ef)](_0x19b74c){const _0x3624b4=_0x1ab38c,_0x38de42=this[_0x3624b4(0x5f6)]()+_0x3624b4(0x5eb);return(await this[_0x3624b4(0x3d0)]['post'](_0x38de42,{'body':_0x19b74c}))['body'][_0x3624b4(0x31b)];}async[_0x1ab38c(0x47d)](_0x5446a9){const _0xfe6283=_0x1ab38c,_0xdee4a5=this[_0xfe6283(0x5f6)]()+'/'+_0x5446a9[_0xfe6283(0x5ab)]+_0xfe6283(0x608)+_0x5446a9[_0xfe6283(0x1ec)];await this[_0xfe6283(0x3d0)]['put'](_0xdee4a5,{'body':_0x5446a9});}async[_0x1ab38c(0x500)](_0x25d74f){const _0x24a02c=_0x1ab38c,_0x2d648e=this[_0x24a02c(0x5f6)]()+'/'+_0x25d74f[_0x24a02c(0x5ab)]+_0x24a02c(0x608)+_0x25d74f['objectID']+_0x24a02c(0x43f);return(await this['_HTTPService'][_0x24a02c(0x22b)](_0x2d648e,{'body':_0x25d74f}))[_0x24a02c(0x4cf)][_0x24a02c(0x1dc)];}async[_0x1ab38c(0x2c2)](_0x4dfab6){const _0x29ec19=_0x1ab38c,_0x345a5f=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x29ec19(0x3d0)][_0x29ec19(0x22b)](_0x345a5f,{'body':{'requests':_0x4dfab6}}))[_0x29ec19(0x4cf)]['objectActions'];}async[_0x1ab38c(0x61b)](_0x47cedc){const _0x3d5af1=_0x1ab38c,_0x2b1165=this[_0x3d5af1(0x5f6)]()+'/'+_0x47cedc[_0x3d5af1(0x5ab)]+_0x3d5af1(0x2be),_0x1a29c2=await this[_0x3d5af1(0x3d0)][_0x3d5af1(0x22b)](_0x2b1165,{'body':_0x47cedc});return{'roles':_0x1a29c2[_0x3d5af1(0x4cf)][_0x3d5af1(0x503)],'actions':_0x1a29c2[_0x3d5af1(0x4cf)]['actions']};}async[_0x1ab38c(0x1a7)](_0x3833e4){const _0x595d05=_0x1ab38c,_0x52bd63=this[_0x595d05(0x5f6)]()+'/collaborator';await this[_0x595d05(0x3d0)][_0x595d05(0x5d0)](_0x52bd63,{'params':{'collaboratorID':_0x3833e4[_0x595d05(0x51d)],'objectID':_0x3833e4[_0x595d05(0x1ec)],'unitID':_0x3833e4[_0x595d05(0x3d4)]}});}async['updateCollaborator'](_0xbd0b5b){const _0x44fe72=_0x1ab38c,_0x3ef22e=this[_0x44fe72(0x5f6)]()+_0x44fe72(0x27c);await this[_0x44fe72(0x3d0)][_0x44fe72(0x41e)](_0x3ef22e,{'body':_0xbd0b5b});}async[_0x1ab38c(0x4f0)](_0x5b95f6){const _0x1a8dc5=_0x1ab38c,_0x291f7b=this[_0x1a8dc5(0x5f6)]()+'/collaborator';await this['_HTTPService'][_0x1a8dc5(0x22b)](_0x291f7b,{'body':_0x5b95f6});}async['listCollaborators'](_0x2c541c){const _0x377876=_0x1ab38c,_0x2b838e=this[_0x377876(0x5f6)]()+_0x377876(0x27c);return(await this[_0x377876(0x3d0)][_0x377876(0x3f9)](_0x2b838e,{'params':{'objectID':_0x2c541c[_0x377876(0x1ec)],'unitID':_0x2c541c['unitID']}}))[_0x377876(0x4cf)]['collaborators'];}async[_0x1ab38c(0x1e4)](_0x1eb298){const _0x448950=_0x1ab38c,_0x4dd61e=this['_getAPIPrefixPath']()+_0x448950(0x27c);await this['_HTTPService'][_0x448950(0x529)](_0x4dd61e,{'body':_0x1eb298});}},exports[_0x1ab38c(0x456)]=ds([Qt(0x0,a[_0x1ab38c(0x56d)](z[_0x1ab38c(0x3a1)])),Qt(0x1,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x5bc)]))],exports['AuthzIoHttpService']);var ke={'exports':{}};function vs(_0x30e428){const _0x4867f0=_0x1ab38c;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x30e428+_0x4867f0(0x4ff));}var We={'exports':{}},Ss=We[_0x1ab38c(0x5ca)],ei;function se(){const _0x107f5e=_0x1ab38c;return ei||(ei=0x1,function(_0x45088e,_0x3c0bd6){(function(_0x20282a,_0x47ed54){const _0x37eb85=_0x33d2;_0x45088e[_0x37eb85(0x5ca)]=_0x47ed54();}(Ss,function(){var _0x373422=_0x373422||function(_0x2711a1,_0x382c29){const _0x1cf92b=_0x33d2;var _0xa97198;if(typeof window<'u'&&window[_0x1cf92b(0x41b)]&&(_0xa97198=window['crypto']),typeof self<'u'&&self[_0x1cf92b(0x41b)]&&(_0xa97198=self[_0x1cf92b(0x41b)]),typeof globalThis<'u'&&globalThis[_0x1cf92b(0x41b)]&&(_0xa97198=globalThis[_0x1cf92b(0x41b)]),!_0xa97198&&typeof window<'u'&&window[_0x1cf92b(0x58f)]&&(_0xa97198=window[_0x1cf92b(0x58f)]),!_0xa97198&&typeof gt<'u'&&gt[_0x1cf92b(0x41b)]&&(_0xa97198=gt[_0x1cf92b(0x41b)]),!_0xa97198&&typeof vs==_0x1cf92b(0x3e2))try{_0xa97198=require('crypto');}catch{}var _0x39e31c=function(){const _0x2403ee=_0x1cf92b;if(_0xa97198){if(typeof _0xa97198['getRandomValues']==_0x2403ee(0x3e2))try{return _0xa97198['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xa97198[_0x2403ee(0x4c2)]=='function')try{return _0xa97198[_0x2403ee(0x4c2)](0x4)[_0x2403ee(0x1aa)]();}catch{}}throw new Error(_0x2403ee(0x240));},_0x4eec7a=Object[_0x1cf92b(0x442)]||(function(){function _0x3941c2(){}return function(_0x540d9b){const _0x2341b7=_0x33d2;var _0x1e3d45;return _0x3941c2[_0x2341b7(0x29c)]=_0x540d9b,_0x1e3d45=new _0x3941c2(),_0x3941c2['prototype']=null,_0x1e3d45;};}()),_0x2ccf33={},_0x408801=_0x2ccf33[_0x1cf92b(0x502)]={},_0x223bd4=_0x408801[_0x1cf92b(0x4d8)]=(function(){return{'extend':function(_0x1f164f){const _0x17f2cd=_0x33d2;var _0x39244f=_0x4eec7a(this);return _0x1f164f&&_0x39244f['mixIn'](_0x1f164f),(!_0x39244f[_0x17f2cd(0x5a3)](_0x17f2cd(0x238))||this[_0x17f2cd(0x238)]===_0x39244f[_0x17f2cd(0x238)])&&(_0x39244f[_0x17f2cd(0x238)]=function(){const _0x283482=_0x17f2cd;_0x39244f[_0x283482(0x38f)][_0x283482(0x238)]['apply'](this,arguments);}),_0x39244f[_0x17f2cd(0x238)][_0x17f2cd(0x29c)]=_0x39244f,_0x39244f['$super']=this,_0x39244f;},'create':function(){const _0x39266f=_0x33d2;var _0x3835eb=this[_0x39266f(0x270)]();return _0x3835eb[_0x39266f(0x238)]['apply'](_0x3835eb,arguments),_0x3835eb;},'init':function(){},'mixIn':function(_0x5c3948){const _0x78a3d0=_0x33d2;for(var _0x3986d3 in _0x5c3948)_0x5c3948['hasOwnProperty'](_0x3986d3)&&(this[_0x3986d3]=_0x5c3948[_0x3986d3]);_0x5c3948[_0x78a3d0(0x5a3)](_0x78a3d0(0x612))&&(this[_0x78a3d0(0x612)]=_0x5c3948[_0x78a3d0(0x612)]);},'clone':function(){const _0xea56f9=_0x33d2;return this[_0xea56f9(0x238)][_0xea56f9(0x29c)]['extend'](this);}};}()),_0x3a0ad7=_0x408801[_0x1cf92b(0x389)]=_0x223bd4[_0x1cf92b(0x270)]({'init':function(_0x40f044,_0x5b568a){const _0x4172f2=_0x1cf92b;_0x40f044=this['words']=_0x40f044||[],_0x5b568a!=_0x382c29?this[_0x4172f2(0x36c)]=_0x5b568a:this[_0x4172f2(0x36c)]=_0x40f044[_0x4172f2(0x2b7)]*0x4;},'toString':function(_0x125c5d){const _0x331fd2=_0x1cf92b;return(_0x125c5d||_0x15567f)[_0x331fd2(0x330)](this);},'concat':function(_0x4cfca7){const _0x25187a=_0x1cf92b;var _0x5d3a7d=this[_0x25187a(0x5dc)],_0x55a4ee=_0x4cfca7[_0x25187a(0x5dc)],_0x14be87=this[_0x25187a(0x36c)],_0x1bb561=_0x4cfca7[_0x25187a(0x36c)];if(this['clamp'](),_0x14be87%0x4)for(var _0xb6e670=0x0;_0xb6e670<_0x1bb561;_0xb6e670++){var _0x4c777d=_0x55a4ee[_0xb6e670>>>0x2]>>>0x18-_0xb6e670%0x4*0x8&0xff;_0x5d3a7d[_0x14be87+_0xb6e670>>>0x2]|=_0x4c777d<<0x18-(_0x14be87+_0xb6e670)%0x4*0x8;}else{for(var _0x4c4673=0x0;_0x4c4673<_0x1bb561;_0x4c4673+=0x4)_0x5d3a7d[_0x14be87+_0x4c4673>>>0x2]=_0x55a4ee[_0x4c4673>>>0x2];}return this[_0x25187a(0x36c)]+=_0x1bb561,this;},'clamp':function(){const _0x1c6fe4=_0x1cf92b;var _0x12fea8=this[_0x1c6fe4(0x5dc)],_0x3c8190=this[_0x1c6fe4(0x36c)];_0x12fea8[_0x3c8190>>>0x2]&=0xffffffff<<0x20-_0x3c8190%0x4*0x8,_0x12fea8[_0x1c6fe4(0x2b7)]=_0x2711a1['ceil'](_0x3c8190/0x4);},'clone':function(){const _0x48ed06=_0x1cf92b;var _0x489443=_0x223bd4['clone'][_0x48ed06(0x4fd)](this);return _0x489443[_0x48ed06(0x5dc)]=this['words'][_0x48ed06(0x543)](0x0),_0x489443;},'random':function(_0x4ffabd){const _0xa07cd=_0x1cf92b;for(var _0x57b452=[],_0x3b81eb=0x0;_0x3b81eb<_0x4ffabd;_0x3b81eb+=0x4)_0x57b452['push'](_0x39e31c());return new _0x3a0ad7[(_0xa07cd(0x238))](_0x57b452,_0x4ffabd);}}),_0x48f941=_0x2ccf33[_0x1cf92b(0x5ef)]={},_0x15567f=_0x48f941[_0x1cf92b(0x4e5)]={'stringify':function(_0x46a6c4){const _0x38db63=_0x1cf92b;for(var _0x4909c4=_0x46a6c4[_0x38db63(0x5dc)],_0x269bbe=_0x46a6c4[_0x38db63(0x36c)],_0xf55eee=[],_0x44f218=0x0;_0x44f218<_0x269bbe;_0x44f218++){var _0x4515e9=_0x4909c4[_0x44f218>>>0x2]>>>0x18-_0x44f218%0x4*0x8&0xff;_0xf55eee[_0x38db63(0x2e4)]((_0x4515e9>>>0x4)[_0x38db63(0x612)](0x10)),_0xf55eee[_0x38db63(0x2e4)]((_0x4515e9&0xf)['toString'](0x10));}return _0xf55eee[_0x38db63(0x20f)]('');},'parse':function(_0x1bb5c9){const _0x23b841=_0x1cf92b;for(var _0x41619c=_0x1bb5c9[_0x23b841(0x2b7)],_0x4fa6b9=[],_0x5c4521=0x0;_0x5c4521<_0x41619c;_0x5c4521+=0x2)_0x4fa6b9[_0x5c4521>>>0x3]|=parseInt(_0x1bb5c9[_0x23b841(0x193)](_0x5c4521,0x2),0x10)<<0x18-_0x5c4521%0x8*0x4;return new _0x3a0ad7[(_0x23b841(0x238))](_0x4fa6b9,_0x41619c/0x2);}},_0x287db4=_0x48f941[_0x1cf92b(0x29e)]={'stringify':function(_0x584be9){const _0x58d1fd=_0x1cf92b;for(var _0x52a610=_0x584be9[_0x58d1fd(0x5dc)],_0x492825=_0x584be9[_0x58d1fd(0x36c)],_0x284b41=[],_0x42065c=0x0;_0x42065c<_0x492825;_0x42065c++){var _0x5ab191=_0x52a610[_0x42065c>>>0x2]>>>0x18-_0x42065c%0x4*0x8&0xff;_0x284b41[_0x58d1fd(0x2e4)](String['fromCharCode'](_0x5ab191));}return _0x284b41[_0x58d1fd(0x20f)]('');},'parse':function(_0x16414a){const _0x4958d7=_0x1cf92b;for(var _0x2e861d=_0x16414a['length'],_0x5e5ee9=[],_0x2d8b04=0x0;_0x2d8b04<_0x2e861d;_0x2d8b04++)_0x5e5ee9[_0x2d8b04>>>0x2]|=(_0x16414a['charCodeAt'](_0x2d8b04)&0xff)<<0x18-_0x2d8b04%0x4*0x8;return new _0x3a0ad7[(_0x4958d7(0x238))](_0x5e5ee9,_0x2e861d);}},_0x230381=_0x48f941[_0x1cf92b(0x4a9)]={'stringify':function(_0x2cf30c){const _0x31b9f5=_0x1cf92b;try{return decodeURIComponent(escape(_0x287db4['stringify'](_0x2cf30c)));}catch{throw new Error(_0x31b9f5(0x5a8));}},'parse':function(_0x53ce38){return _0x287db4['parse'](unescape(encodeURIComponent(_0x53ce38)));}},_0x5c3862=_0x408801[_0x1cf92b(0x441)]=_0x223bd4[_0x1cf92b(0x270)]({'reset':function(){const _0x20b02a=_0x1cf92b;this[_0x20b02a(0x3b2)]=new _0x3a0ad7[(_0x20b02a(0x238))](),this['_nDataBytes']=0x0;},'_append':function(_0x203db4){const _0x5c22d4=_0x1cf92b;typeof _0x203db4==_0x5c22d4(0x3a2)&&(_0x203db4=_0x230381[_0x5c22d4(0x625)](_0x203db4)),this[_0x5c22d4(0x3b2)][_0x5c22d4(0x1ac)](_0x203db4),this[_0x5c22d4(0x4a6)]+=_0x203db4[_0x5c22d4(0x36c)];},'_process':function(_0x59b05c){const _0xd39f50=_0x1cf92b;var _0x11af06,_0x4547d3=this[_0xd39f50(0x3b2)],_0x4f0368=_0x4547d3['words'],_0x5d7a26=_0x4547d3[_0xd39f50(0x36c)],_0xff7f70=this['blockSize'],_0x463236=_0xff7f70*0x4,_0xa4d898=_0x5d7a26/_0x463236;_0x59b05c?_0xa4d898=_0x2711a1[_0xd39f50(0x3f7)](_0xa4d898):_0xa4d898=_0x2711a1['max']((_0xa4d898|0x0)-this[_0xd39f50(0x2f0)],0x0);var _0x5bf152=_0xa4d898*_0xff7f70,_0x1c1010=_0x2711a1[_0xd39f50(0x509)](_0x5bf152*0x4,_0x5d7a26);if(_0x5bf152){for(var _0x4adb29=0x0;_0x4adb29<_0x5bf152;_0x4adb29+=_0xff7f70)this[_0xd39f50(0x586)](_0x4f0368,_0x4adb29);_0x11af06=_0x4f0368['splice'](0x0,_0x5bf152),_0x4547d3['sigBytes']-=_0x1c1010;}return new _0x3a0ad7[(_0xd39f50(0x238))](_0x11af06,_0x1c1010);},'clone':function(){const _0x1b288c=_0x1cf92b;var _0x29a3d1=_0x223bd4[_0x1b288c(0x22d)][_0x1b288c(0x4fd)](this);return _0x29a3d1[_0x1b288c(0x3b2)]=this[_0x1b288c(0x3b2)]['clone'](),_0x29a3d1;},'_minBufferSize':0x0});_0x408801[_0x1cf92b(0x40d)]=_0x5c3862[_0x1cf92b(0x270)]({'cfg':_0x223bd4[_0x1cf92b(0x270)](),'init':function(_0xe99c20){const _0xfb2fcf=_0x1cf92b;this['cfg']=this[_0xfb2fcf(0x572)][_0xfb2fcf(0x270)](_0xe99c20),this['reset']();},'reset':function(){const _0x1ede0f=_0x1cf92b;_0x5c3862['reset'][_0x1ede0f(0x4fd)](this),this['_doReset']();},'update':function(_0x20f9c2){const _0x142790=_0x1cf92b;return this[_0x142790(0x5f3)](_0x20f9c2),this['_process'](),this;},'finalize':function(_0x113071){const _0x343def=_0x1cf92b;_0x113071&&this[_0x343def(0x5f3)](_0x113071);var _0x29815b=this[_0x343def(0x5e3)]();return _0x29815b;},'blockSize':0x10,'_createHelper':function(_0x71cdfc){return function(_0x31f5bf,_0x411169){const _0x39ff63=_0x33d2;return new _0x71cdfc[(_0x39ff63(0x238))](_0x411169)[_0x39ff63(0x4e3)](_0x31f5bf);};},'_createHmacHelper':function(_0x1d762c){return function(_0x294b05,_0x3df1d0){const _0x1a1848=_0x33d2;return new _0x89556b[(_0x1a1848(0x3e4))][(_0x1a1848(0x238))](_0x1d762c,_0x3df1d0)[_0x1a1848(0x4e3)](_0x294b05);};}});var _0x89556b=_0x2ccf33[_0x1cf92b(0x331)]={};return _0x2ccf33;}(Math);return _0x373422;}));}(We)),We[_0x107f5e(0x5ca)];}var Fe={'exports':{}},ps=Fe['exports'],ti;function ji(){const _0x39eb16=_0x1ab38c;return ti||(ti=0x1,function(_0x30b118,_0x5556b5){(function(_0x2aefd5,_0x206c90){const _0x3555aa=_0x33d2;_0x30b118[_0x3555aa(0x5ca)]=_0x206c90(se());}(ps,function(_0x2cf3bd){const _0x1749ad=_0x33d2;return(function(){const _0x5c7014=_0x33d2;var _0x714be0=_0x2cf3bd,_0xbbc0ba=_0x714be0['lib'],_0x2e1777=_0xbbc0ba[_0x5c7014(0x389)],_0x363fb8=_0x714be0['enc'];_0x363fb8[_0x5c7014(0x3a7)]={'stringify':function(_0xfbaa5a){const _0x10e1ca=_0x5c7014;var _0x775353=_0xfbaa5a[_0x10e1ca(0x5dc)],_0x5922e1=_0xfbaa5a[_0x10e1ca(0x36c)],_0x704fe1=this['_map'];_0xfbaa5a[_0x10e1ca(0x52a)]();for(var _0x12c8be=[],_0x1445d2=0x0;_0x1445d2<_0x5922e1;_0x1445d2+=0x3)for(var _0x47b4ad=_0x775353[_0x1445d2>>>0x2]>>>0x18-_0x1445d2%0x4*0x8&0xff,_0x68f6d1=_0x775353[_0x1445d2+0x1>>>0x2]>>>0x18-(_0x1445d2+0x1)%0x4*0x8&0xff,_0x3352e2=_0x775353[_0x1445d2+0x2>>>0x2]>>>0x18-(_0x1445d2+0x2)%0x4*0x8&0xff,_0x2cde12=_0x47b4ad<<0x10|_0x68f6d1<<0x8|_0x3352e2,_0x572551=0x0;_0x572551<0x4&&_0x1445d2+_0x572551*0.75<_0x5922e1;_0x572551++)_0x12c8be[_0x10e1ca(0x2e4)](_0x704fe1[_0x10e1ca(0x302)](_0x2cde12>>>0x6*(0x3-_0x572551)&0x3f));var _0x14fd32=_0x704fe1[_0x10e1ca(0x302)](0x40);if(_0x14fd32){for(;_0x12c8be['length']%0x4;)_0x12c8be[_0x10e1ca(0x2e4)](_0x14fd32);}return _0x12c8be[_0x10e1ca(0x20f)]('');},'parse':function(_0x1ccdfc){const _0x44be8e=_0x5c7014;var _0x1cc2ca=_0x1ccdfc[_0x44be8e(0x2b7)],_0x7bcc3=this[_0x44be8e(0x4e2)],_0x554e70=this[_0x44be8e(0x32c)];if(!_0x554e70){_0x554e70=this[_0x44be8e(0x32c)]=[];for(var _0x3eeebf=0x0;_0x3eeebf<_0x7bcc3['length'];_0x3eeebf++)_0x554e70[_0x7bcc3[_0x44be8e(0x2af)](_0x3eeebf)]=_0x3eeebf;}var _0x436b44=_0x7bcc3[_0x44be8e(0x302)](0x40);if(_0x436b44){var _0x40bb55=_0x1ccdfc['indexOf'](_0x436b44);_0x40bb55!==-0x1&&(_0x1cc2ca=_0x40bb55);}return _0x5790a5(_0x1ccdfc,_0x1cc2ca,_0x554e70);},'_map':_0x5c7014(0x4dd)};function _0x5790a5(_0xc5f55e,_0x3f812e,_0x5a82f6){const _0x2aba01=_0x5c7014;for(var _0x1186b4=[],_0x1c5dcb=0x0,_0x3f1e42=0x0;_0x3f1e42<_0x3f812e;_0x3f1e42++)if(_0x3f1e42%0x4){var _0x5bf902=_0x5a82f6[_0xc5f55e['charCodeAt'](_0x3f1e42-0x1)]<<_0x3f1e42%0x4*0x2,_0x2522f2=_0x5a82f6[_0xc5f55e['charCodeAt'](_0x3f1e42)]>>>0x6-_0x3f1e42%0x4*0x2,_0x540c92=_0x5bf902|_0x2522f2;_0x1186b4[_0x1c5dcb>>>0x2]|=_0x540c92<<0x18-_0x1c5dcb%0x4*0x8,_0x1c5dcb++;}return _0x2e1777[_0x2aba01(0x442)](_0x1186b4,_0x1c5dcb);}}()),_0x2cf3bd[_0x1749ad(0x5ef)][_0x1749ad(0x3a7)];}));}(Fe)),Fe[_0x39eb16(0x5ca)];}var Ve={'exports':{}},ms=Ve[_0x1ab38c(0x5ca)],ii;function gs(){const _0x59951d=_0x1ab38c;return ii||(ii=0x1,function(_0x104304,_0xce9046){(function(_0x5b7db0,_0x5ff593){const _0x4cd594=_0x33d2;_0x104304[_0x4cd594(0x5ca)]=_0x5ff593(se());}(ms,function(_0x237504){return function(_0x4fb1a7){const _0x210436=_0x33d2;var _0x40ba18=_0x237504,_0x546304=_0x40ba18[_0x210436(0x502)],_0x44c57b=_0x546304[_0x210436(0x389)],_0x5c2db3=_0x546304[_0x210436(0x40d)],_0xdf52ff=_0x40ba18[_0x210436(0x331)],_0x1d031d=[];(function(){const _0x56c6fb=_0x210436;for(var _0x550c0e=0x0;_0x550c0e<0x40;_0x550c0e++)_0x1d031d[_0x550c0e]=_0x4fb1a7[_0x56c6fb(0x614)](_0x4fb1a7[_0x56c6fb(0x49a)](_0x550c0e+0x1))*0x100000000|0x0;}());var _0x48cf45=_0xdf52ff['MD5']=_0x5c2db3[_0x210436(0x270)]({'_doReset':function(){const _0x24aff8=_0x210436;this[_0x24aff8(0x555)]=new _0x44c57b[(_0x24aff8(0x238))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x56413e,_0x11f16c){const _0x2f26bc=_0x210436;for(var _0x463900=0x0;_0x463900<0x10;_0x463900++){var _0x4ffc58=_0x11f16c+_0x463900,_0x4e70ba=_0x56413e[_0x4ffc58];_0x56413e[_0x4ffc58]=(_0x4e70ba<<0x8|_0x4e70ba>>>0x18)&0xff00ff|(_0x4e70ba<<0x18|_0x4e70ba>>>0x8)&0xff00ff00;}var _0x7ccec5=this[_0x2f26bc(0x555)]['words'],_0x5e1e34=_0x56413e[_0x11f16c+0x0],_0x5082dc=_0x56413e[_0x11f16c+0x1],_0xfc5340=_0x56413e[_0x11f16c+0x2],_0x30d4dd=_0x56413e[_0x11f16c+0x3],_0x508327=_0x56413e[_0x11f16c+0x4],_0x401766=_0x56413e[_0x11f16c+0x5],_0x11ea1b=_0x56413e[_0x11f16c+0x6],_0x4eceb8=_0x56413e[_0x11f16c+0x7],_0x37ad07=_0x56413e[_0x11f16c+0x8],_0x228209=_0x56413e[_0x11f16c+0x9],_0x537890=_0x56413e[_0x11f16c+0xa],_0x404546=_0x56413e[_0x11f16c+0xb],_0x32fc38=_0x56413e[_0x11f16c+0xc],_0x3dedae=_0x56413e[_0x11f16c+0xd],_0x6ff9a=_0x56413e[_0x11f16c+0xe],_0x5f2681=_0x56413e[_0x11f16c+0xf],_0x36dee4=_0x7ccec5[0x0],_0x15daef=_0x7ccec5[0x1],_0x4b9be3=_0x7ccec5[0x2],_0x148d2a=_0x7ccec5[0x3];_0x36dee4=_0x2d4bb2(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x5e1e34,0x7,_0x1d031d[0x0]),_0x148d2a=_0x2d4bb2(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x5082dc,0xc,_0x1d031d[0x1]),_0x4b9be3=_0x2d4bb2(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0xfc5340,0x11,_0x1d031d[0x2]),_0x15daef=_0x2d4bb2(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x30d4dd,0x16,_0x1d031d[0x3]),_0x36dee4=_0x2d4bb2(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x508327,0x7,_0x1d031d[0x4]),_0x148d2a=_0x2d4bb2(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x401766,0xc,_0x1d031d[0x5]),_0x4b9be3=_0x2d4bb2(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x11ea1b,0x11,_0x1d031d[0x6]),_0x15daef=_0x2d4bb2(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x4eceb8,0x16,_0x1d031d[0x7]),_0x36dee4=_0x2d4bb2(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x37ad07,0x7,_0x1d031d[0x8]),_0x148d2a=_0x2d4bb2(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x228209,0xc,_0x1d031d[0x9]),_0x4b9be3=_0x2d4bb2(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x537890,0x11,_0x1d031d[0xa]),_0x15daef=_0x2d4bb2(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x404546,0x16,_0x1d031d[0xb]),_0x36dee4=_0x2d4bb2(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x32fc38,0x7,_0x1d031d[0xc]),_0x148d2a=_0x2d4bb2(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x3dedae,0xc,_0x1d031d[0xd]),_0x4b9be3=_0x2d4bb2(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x6ff9a,0x11,_0x1d031d[0xe]),_0x15daef=_0x2d4bb2(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x5f2681,0x16,_0x1d031d[0xf]),_0x36dee4=_0x100eb5(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x5082dc,0x5,_0x1d031d[0x10]),_0x148d2a=_0x100eb5(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x11ea1b,0x9,_0x1d031d[0x11]),_0x4b9be3=_0x100eb5(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x404546,0xe,_0x1d031d[0x12]),_0x15daef=_0x100eb5(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x5e1e34,0x14,_0x1d031d[0x13]),_0x36dee4=_0x100eb5(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x401766,0x5,_0x1d031d[0x14]),_0x148d2a=_0x100eb5(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x537890,0x9,_0x1d031d[0x15]),_0x4b9be3=_0x100eb5(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x5f2681,0xe,_0x1d031d[0x16]),_0x15daef=_0x100eb5(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x508327,0x14,_0x1d031d[0x17]),_0x36dee4=_0x100eb5(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x228209,0x5,_0x1d031d[0x18]),_0x148d2a=_0x100eb5(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x6ff9a,0x9,_0x1d031d[0x19]),_0x4b9be3=_0x100eb5(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x30d4dd,0xe,_0x1d031d[0x1a]),_0x15daef=_0x100eb5(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x37ad07,0x14,_0x1d031d[0x1b]),_0x36dee4=_0x100eb5(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x3dedae,0x5,_0x1d031d[0x1c]),_0x148d2a=_0x100eb5(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0xfc5340,0x9,_0x1d031d[0x1d]),_0x4b9be3=_0x100eb5(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x4eceb8,0xe,_0x1d031d[0x1e]),_0x15daef=_0x100eb5(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x32fc38,0x14,_0x1d031d[0x1f]),_0x36dee4=_0x387b42(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x401766,0x4,_0x1d031d[0x20]),_0x148d2a=_0x387b42(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x37ad07,0xb,_0x1d031d[0x21]),_0x4b9be3=_0x387b42(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x404546,0x10,_0x1d031d[0x22]),_0x15daef=_0x387b42(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x6ff9a,0x17,_0x1d031d[0x23]),_0x36dee4=_0x387b42(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x5082dc,0x4,_0x1d031d[0x24]),_0x148d2a=_0x387b42(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x508327,0xb,_0x1d031d[0x25]),_0x4b9be3=_0x387b42(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x4eceb8,0x10,_0x1d031d[0x26]),_0x15daef=_0x387b42(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x537890,0x17,_0x1d031d[0x27]),_0x36dee4=_0x387b42(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x3dedae,0x4,_0x1d031d[0x28]),_0x148d2a=_0x387b42(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x5e1e34,0xb,_0x1d031d[0x29]),_0x4b9be3=_0x387b42(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x30d4dd,0x10,_0x1d031d[0x2a]),_0x15daef=_0x387b42(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x11ea1b,0x17,_0x1d031d[0x2b]),_0x36dee4=_0x387b42(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x228209,0x4,_0x1d031d[0x2c]),_0x148d2a=_0x387b42(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x32fc38,0xb,_0x1d031d[0x2d]),_0x4b9be3=_0x387b42(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x5f2681,0x10,_0x1d031d[0x2e]),_0x15daef=_0x387b42(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0xfc5340,0x17,_0x1d031d[0x2f]),_0x36dee4=_0x2074a8(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x5e1e34,0x6,_0x1d031d[0x30]),_0x148d2a=_0x2074a8(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x4eceb8,0xa,_0x1d031d[0x31]),_0x4b9be3=_0x2074a8(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x6ff9a,0xf,_0x1d031d[0x32]),_0x15daef=_0x2074a8(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x401766,0x15,_0x1d031d[0x33]),_0x36dee4=_0x2074a8(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x32fc38,0x6,_0x1d031d[0x34]),_0x148d2a=_0x2074a8(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x30d4dd,0xa,_0x1d031d[0x35]),_0x4b9be3=_0x2074a8(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x537890,0xf,_0x1d031d[0x36]),_0x15daef=_0x2074a8(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x5082dc,0x15,_0x1d031d[0x37]),_0x36dee4=_0x2074a8(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x37ad07,0x6,_0x1d031d[0x38]),_0x148d2a=_0x2074a8(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x5f2681,0xa,_0x1d031d[0x39]),_0x4b9be3=_0x2074a8(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x11ea1b,0xf,_0x1d031d[0x3a]),_0x15daef=_0x2074a8(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x3dedae,0x15,_0x1d031d[0x3b]),_0x36dee4=_0x2074a8(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x508327,0x6,_0x1d031d[0x3c]),_0x148d2a=_0x2074a8(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x404546,0xa,_0x1d031d[0x3d]),_0x4b9be3=_0x2074a8(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0xfc5340,0xf,_0x1d031d[0x3e]),_0x15daef=_0x2074a8(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x228209,0x15,_0x1d031d[0x3f]),_0x7ccec5[0x0]=_0x7ccec5[0x0]+_0x36dee4|0x0,_0x7ccec5[0x1]=_0x7ccec5[0x1]+_0x15daef|0x0,_0x7ccec5[0x2]=_0x7ccec5[0x2]+_0x4b9be3|0x0,_0x7ccec5[0x3]=_0x7ccec5[0x3]+_0x148d2a|0x0;},'_doFinalize':function(){const _0x5c9fb1=_0x210436;var _0x1bc0c3=this[_0x5c9fb1(0x3b2)],_0x182ba3=_0x1bc0c3[_0x5c9fb1(0x5dc)],_0x35919c=this[_0x5c9fb1(0x4a6)]*0x8,_0x433407=_0x1bc0c3['sigBytes']*0x8;_0x182ba3[_0x433407>>>0x5]|=0x80<<0x18-_0x433407%0x20;var _0x3fb65f=_0x4fb1a7[_0x5c9fb1(0x494)](_0x35919c/0x100000000),_0x41275d=_0x35919c;_0x182ba3[(_0x433407+0x40>>>0x9<<0x4)+0xf]=(_0x3fb65f<<0x8|_0x3fb65f>>>0x18)&0xff00ff|(_0x3fb65f<<0x18|_0x3fb65f>>>0x8)&0xff00ff00,_0x182ba3[(_0x433407+0x40>>>0x9<<0x4)+0xe]=(_0x41275d<<0x8|_0x41275d>>>0x18)&0xff00ff|(_0x41275d<<0x18|_0x41275d>>>0x8)&0xff00ff00,_0x1bc0c3[_0x5c9fb1(0x36c)]=(_0x182ba3[_0x5c9fb1(0x2b7)]+0x1)*0x4,this['_process']();for(var _0x564be4=this[_0x5c9fb1(0x555)],_0x7a749=_0x564be4['words'],_0x332d50=0x0;_0x332d50<0x4;_0x332d50++){var _0x1c2956=_0x7a749[_0x332d50];_0x7a749[_0x332d50]=(_0x1c2956<<0x8|_0x1c2956>>>0x18)&0xff00ff|(_0x1c2956<<0x18|_0x1c2956>>>0x8)&0xff00ff00;}return _0x564be4;},'clone':function(){const _0x91203f=_0x210436;var _0x5a88a5=_0x5c2db3['clone']['call'](this);return _0x5a88a5[_0x91203f(0x555)]=this[_0x91203f(0x555)][_0x91203f(0x22d)](),_0x5a88a5;}});function _0x2d4bb2(_0x5847c6,_0x6867d7,_0x41b351,_0x270353,_0xc70ab9,_0x3a3b40,_0x22bc82){var _0x42a49a=_0x5847c6+(_0x6867d7&_0x41b351|~_0x6867d7&_0x270353)+_0xc70ab9+_0x22bc82;return(_0x42a49a<<_0x3a3b40|_0x42a49a>>>0x20-_0x3a3b40)+_0x6867d7;}function _0x100eb5(_0xd8babb,_0x181c4c,_0x168830,_0x286c52,_0x5c5ef6,_0x4a1dfb,_0x493496){var _0x406a96=_0xd8babb+(_0x181c4c&_0x286c52|_0x168830&~_0x286c52)+_0x5c5ef6+_0x493496;return(_0x406a96<<_0x4a1dfb|_0x406a96>>>0x20-_0x4a1dfb)+_0x181c4c;}function _0x387b42(_0x13d7e5,_0x3fcf40,_0x19e9cc,_0x41e3bd,_0x366641,_0x4b50b1,_0x34c8aa){var _0x3195e9=_0x13d7e5+(_0x3fcf40^_0x19e9cc^_0x41e3bd)+_0x366641+_0x34c8aa;return(_0x3195e9<<_0x4b50b1|_0x3195e9>>>0x20-_0x4b50b1)+_0x3fcf40;}function _0x2074a8(_0x1ef7b2,_0x5b8d80,_0x23567d,_0x584cad,_0x33078e,_0x7ce61b,_0xc5cc69){var _0x5d8c62=_0x1ef7b2+(_0x23567d^(_0x5b8d80|~_0x584cad))+_0x33078e+_0xc5cc69;return(_0x5d8c62<<_0x7ce61b|_0x5d8c62>>>0x20-_0x7ce61b)+_0x5b8d80;}_0x40ba18[_0x210436(0x570)]=_0x5c2db3[_0x210436(0x5ae)](_0x48cf45),_0x40ba18['HmacMD5']=_0x5c2db3[_0x210436(0x339)](_0x48cf45);}(Math),_0x237504['MD5'];}));}(Ve)),Ve[_0x59951d(0x5ca)];}var Ge={'exports':{}},Ye={'exports':{}},Is=Ye[_0x1ab38c(0x5ca)],ni;function Cs(){const _0x3c9c91=_0x1ab38c;return ni||(ni=0x1,function(_0x21fab9,_0x27451f){(function(_0x3a4197,_0x4d4314){_0x21fab9['exports']=_0x4d4314(se());}(Is,function(_0x2f36c8){const _0x3a667f=_0x33d2;return(function(){const _0x2cefb2=_0x33d2;var _0x4099f4=_0x2f36c8,_0x409ea6=_0x4099f4['lib'],_0x33761a=_0x409ea6[_0x2cefb2(0x389)],_0x3cdad9=_0x409ea6[_0x2cefb2(0x40d)],_0x4fe534=_0x4099f4[_0x2cefb2(0x331)],_0x438073=[],_0x4c1454=_0x4fe534[_0x2cefb2(0x190)]=_0x3cdad9[_0x2cefb2(0x270)]({'_doReset':function(){const _0xe64d66=_0x2cefb2;this['_hash']=new _0x33761a[(_0xe64d66(0x238))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x123d02,_0x4a4f85){for(var _0x18d926=this['_hash']['words'],_0x47a38f=_0x18d926[0x0],_0x1f0079=_0x18d926[0x1],_0x253266=_0x18d926[0x2],_0x4e3238=_0x18d926[0x3],_0x4df1d8=_0x18d926[0x4],_0x38bfc7=0x0;_0x38bfc7<0x50;_0x38bfc7++){if(_0x38bfc7<0x10)_0x438073[_0x38bfc7]=_0x123d02[_0x4a4f85+_0x38bfc7]|0x0;else{var _0x57f0ec=_0x438073[_0x38bfc7-0x3]^_0x438073[_0x38bfc7-0x8]^_0x438073[_0x38bfc7-0xe]^_0x438073[_0x38bfc7-0x10];_0x438073[_0x38bfc7]=_0x57f0ec<<0x1|_0x57f0ec>>>0x1f;}var _0x36acc8=(_0x47a38f<<0x5|_0x47a38f>>>0x1b)+_0x4df1d8+_0x438073[_0x38bfc7];_0x38bfc7<0x14?_0x36acc8+=(_0x1f0079&_0x253266|~_0x1f0079&_0x4e3238)+0x5a827999:_0x38bfc7<0x28?_0x36acc8+=(_0x1f0079^_0x253266^_0x4e3238)+0x6ed9eba1:_0x38bfc7<0x3c?_0x36acc8+=(_0x1f0079&_0x253266|_0x1f0079&_0x4e3238|_0x253266&_0x4e3238)-0x70e44324:_0x36acc8+=(_0x1f0079^_0x253266^_0x4e3238)-0x359d3e2a,_0x4df1d8=_0x4e3238,_0x4e3238=_0x253266,_0x253266=_0x1f0079<<0x1e|_0x1f0079>>>0x2,_0x1f0079=_0x47a38f,_0x47a38f=_0x36acc8;}_0x18d926[0x0]=_0x18d926[0x0]+_0x47a38f|0x0,_0x18d926[0x1]=_0x18d926[0x1]+_0x1f0079|0x0,_0x18d926[0x2]=_0x18d926[0x2]+_0x253266|0x0,_0x18d926[0x3]=_0x18d926[0x3]+_0x4e3238|0x0,_0x18d926[0x4]=_0x18d926[0x4]+_0x4df1d8|0x0;},'_doFinalize':function(){const _0x51888c=_0x2cefb2;var _0x48ec27=this['_data'],_0x42fbc8=_0x48ec27[_0x51888c(0x5dc)],_0x1f85af=this[_0x51888c(0x4a6)]*0x8,_0x464884=_0x48ec27[_0x51888c(0x36c)]*0x8;return _0x42fbc8[_0x464884>>>0x5]|=0x80<<0x18-_0x464884%0x20,_0x42fbc8[(_0x464884+0x40>>>0x9<<0x4)+0xe]=Math[_0x51888c(0x494)](_0x1f85af/0x100000000),_0x42fbc8[(_0x464884+0x40>>>0x9<<0x4)+0xf]=_0x1f85af,_0x48ec27[_0x51888c(0x36c)]=_0x42fbc8['length']*0x4,this[_0x51888c(0x203)](),this[_0x51888c(0x555)];},'clone':function(){const _0x3e70f9=_0x2cefb2;var _0x4aa7cf=_0x3cdad9[_0x3e70f9(0x22d)][_0x3e70f9(0x4fd)](this);return _0x4aa7cf[_0x3e70f9(0x555)]=this[_0x3e70f9(0x555)][_0x3e70f9(0x22d)](),_0x4aa7cf;}});_0x4099f4['SHA1']=_0x3cdad9['_createHelper'](_0x4c1454),_0x4099f4[_0x2cefb2(0x1ad)]=_0x3cdad9[_0x2cefb2(0x339)](_0x4c1454);}()),_0x2f36c8[_0x3a667f(0x190)];}));}(Ye)),Ye[_0x3c9c91(0x5ca)];}var qe={'exports':{}},Es=qe[_0x1ab38c(0x5ca)],ri;function bs(){const _0x1647b8=_0x1ab38c;return ri||(ri=0x1,function(_0x52f7a4,_0x28e094){(function(_0x44d227,_0x6970dc){const _0x270404=_0x33d2;_0x52f7a4[_0x270404(0x5ca)]=_0x6970dc(se());}(Es,function(_0x464850){(function(){const _0x5ba997=_0x33d2;var _0x322402=_0x464850,_0xd5ab01=_0x322402['lib'],_0x6d2a76=_0xd5ab01[_0x5ba997(0x4d8)],_0x29dc28=_0x322402[_0x5ba997(0x5ef)],_0x4a9684=_0x29dc28[_0x5ba997(0x4a9)],_0x598031=_0x322402[_0x5ba997(0x331)];_0x598031['HMAC']=_0x6d2a76[_0x5ba997(0x270)]({'init':function(_0x26fa51,_0x5bdd85){const _0x13f7f7=_0x5ba997;_0x26fa51=this[_0x13f7f7(0x539)]=new _0x26fa51['init'](),typeof _0x5bdd85==_0x13f7f7(0x3a2)&&(_0x5bdd85=_0x4a9684[_0x13f7f7(0x625)](_0x5bdd85));var _0x426d7a=_0x26fa51[_0x13f7f7(0x1a6)],_0x1c907f=_0x426d7a*0x4;_0x5bdd85[_0x13f7f7(0x36c)]>_0x1c907f&&(_0x5bdd85=_0x26fa51[_0x13f7f7(0x4e3)](_0x5bdd85)),_0x5bdd85[_0x13f7f7(0x52a)]();for(var _0x3c54b2=this['_oKey']=_0x5bdd85[_0x13f7f7(0x22d)](),_0x41a1dc=this[_0x13f7f7(0x52e)]=_0x5bdd85[_0x13f7f7(0x22d)](),_0x57ee31=_0x3c54b2[_0x13f7f7(0x5dc)],_0x357082=_0x41a1dc[_0x13f7f7(0x5dc)],_0x2949f9=0x0;_0x2949f9<_0x426d7a;_0x2949f9++)_0x57ee31[_0x2949f9]^=0x5c5c5c5c,_0x357082[_0x2949f9]^=0x36363636;_0x3c54b2[_0x13f7f7(0x36c)]=_0x41a1dc[_0x13f7f7(0x36c)]=_0x1c907f,this[_0x13f7f7(0x178)]();},'reset':function(){const _0x1e54fe=_0x5ba997;var _0x3095d0=this['_hasher'];_0x3095d0[_0x1e54fe(0x178)](),_0x3095d0[_0x1e54fe(0x47d)](this[_0x1e54fe(0x52e)]);},'update':function(_0x5ef7ef){const _0x4f7362=_0x5ba997;return this['_hasher'][_0x4f7362(0x47d)](_0x5ef7ef),this;},'finalize':function(_0x5b2d3a){const _0x541b88=_0x5ba997;var _0x1e1814=this[_0x541b88(0x539)],_0x247e45=_0x1e1814[_0x541b88(0x4e3)](_0x5b2d3a);_0x1e1814[_0x541b88(0x178)]();var _0x551bf3=_0x1e1814[_0x541b88(0x4e3)](this[_0x541b88(0x602)][_0x541b88(0x22d)]()['concat'](_0x247e45));return _0x551bf3;}});}());}));}(qe)),qe[_0x1647b8(0x5ca)];}var Ts=Ge[_0x1ab38c(0x5ca)],si;function Hi(){return si||(si=0x1,function(_0x3a5d2d,_0x4ec80a){(function(_0x34bbc5,_0x1dfb6a,_0x45c279){_0x3a5d2d['exports']=_0x1dfb6a(se(),Cs(),bs());}(Ts,function(_0x1c7a10){return(function(){const _0x120a05=_0x33d2;var _0x15a9d7=_0x1c7a10,_0x535b46=_0x15a9d7[_0x120a05(0x502)],_0x97ed40=_0x535b46[_0x120a05(0x4d8)],_0x4c4d1a=_0x535b46[_0x120a05(0x389)],_0x207da4=_0x15a9d7[_0x120a05(0x331)],_0x504027=_0x207da4['MD5'],_0x510737=_0x207da4[_0x120a05(0x3ba)]=_0x97ed40[_0x120a05(0x270)]({'cfg':_0x97ed40[_0x120a05(0x270)]({'keySize':0x80/0x20,'hasher':_0x504027,'iterations':0x1}),'init':function(_0xb4d48e){const _0x2b0e76=_0x120a05;this['cfg']=this['cfg'][_0x2b0e76(0x270)](_0xb4d48e);},'compute':function(_0x18f847,_0x12b08a){const _0x2f973b=_0x120a05;for(var _0x1ca013,_0x518e53=this['cfg'],_0x4faa60=_0x518e53[_0x2f973b(0x43b)][_0x2f973b(0x442)](),_0x174755=_0x4c4d1a[_0x2f973b(0x442)](),_0x653f21=_0x174755[_0x2f973b(0x5dc)],_0x229527=_0x518e53[_0x2f973b(0x44a)],_0x45ca41=_0x518e53[_0x2f973b(0x21c)];_0x653f21[_0x2f973b(0x2b7)]<_0x229527;){_0x1ca013&&_0x4faa60[_0x2f973b(0x47d)](_0x1ca013),_0x1ca013=_0x4faa60['update'](_0x18f847)['finalize'](_0x12b08a),_0x4faa60[_0x2f973b(0x178)]();for(var _0x17ffef=0x1;_0x17ffef<_0x45ca41;_0x17ffef++)_0x1ca013=_0x4faa60[_0x2f973b(0x4e3)](_0x1ca013),_0x4faa60['reset']();_0x174755['concat'](_0x1ca013);}return _0x174755[_0x2f973b(0x36c)]=_0x229527*0x4,_0x174755;}});_0x15a9d7[_0x120a05(0x3ba)]=function(_0x56e540,_0x404bed,_0x262b28){const _0x589718=_0x120a05;return _0x510737['create'](_0x262b28)[_0x589718(0x321)](_0x56e540,_0x404bed);};}()),_0x1c7a10['EvpKDF'];}));}(Ge)),Ge['exports'];}var Ke={'exports':{}},Rs=Ke[_0x1ab38c(0x5ca)],oi;function Bi(){const _0x45af7b=_0x1ab38c;return oi||(oi=0x1,function(_0x5f4a65,_0x44e32d){(function(_0x52bd4d,_0x1e2786,_0x51dc55){const _0x278a5a=_0x33d2;_0x5f4a65[_0x278a5a(0x5ca)]=_0x1e2786(se(),Hi());}(Rs,function(_0x3da002){const _0xfdbe67=_0x33d2;_0x3da002[_0xfdbe67(0x502)][_0xfdbe67(0x1c8)]||function(_0x318274){const _0x509cb2=_0xfdbe67;var _0x5be34c=_0x3da002,_0x79c0ac=_0x5be34c[_0x509cb2(0x502)],_0x4cd83e=_0x79c0ac[_0x509cb2(0x4d8)],_0x4e9f60=_0x79c0ac[_0x509cb2(0x389)],_0xef348f=_0x79c0ac[_0x509cb2(0x441)],_0x23cd87=_0x5be34c[_0x509cb2(0x5ef)];_0x23cd87[_0x509cb2(0x4a9)];var _0x248df3=_0x23cd87['Base64'],_0x5b86ba=_0x5be34c['algo'],_0x44c58a=_0x5b86ba[_0x509cb2(0x3ba)],_0xb874d7=_0x79c0ac['Cipher']=_0xef348f[_0x509cb2(0x270)]({'cfg':_0x4cd83e[_0x509cb2(0x270)](),'createEncryptor':function(_0x59e5f,_0xfda11b){const _0x375964=_0x509cb2;return this[_0x375964(0x442)](this[_0x375964(0x24d)],_0x59e5f,_0xfda11b);},'createDecryptor':function(_0x13170b,_0x4181eb){const _0xee2745=_0x509cb2;return this[_0xee2745(0x442)](this['_DEC_XFORM_MODE'],_0x13170b,_0x4181eb);},'init':function(_0x47881f,_0xd56afe,_0x14e6d9){const _0x321bf6=_0x509cb2;this[_0x321bf6(0x572)]=this[_0x321bf6(0x572)][_0x321bf6(0x270)](_0x14e6d9),this[_0x321bf6(0x26e)]=_0x47881f,this['_key']=_0xd56afe,this[_0x321bf6(0x178)]();},'reset':function(){const _0x43bd79=_0x509cb2;_0xef348f[_0x43bd79(0x178)]['call'](this),this[_0x43bd79(0x3ae)]();},'process':function(_0x307552){const _0x2687d6=_0x509cb2;return this[_0x2687d6(0x5f3)](_0x307552),this[_0x2687d6(0x203)]();},'finalize':function(_0x134ba2){const _0x4a8fd4=_0x509cb2;_0x134ba2&&this[_0x4a8fd4(0x5f3)](_0x134ba2);var _0x4e8a65=this['_doFinalize']();return _0x4e8a65;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xa76415(_0x36f855){return typeof _0x36f855=='string'?_0x266191:_0xb4374;}return function(_0x2f14fb){return{'encrypt':function(_0x11b16c,_0x1bba15,_0x53e4a1){const _0x138350=_0x33d2;return _0xa76415(_0x1bba15)[_0x138350(0x433)](_0x2f14fb,_0x11b16c,_0x1bba15,_0x53e4a1);},'decrypt':function(_0x308e65,_0x274f7c,_0x1d8162){const _0x3746dc=_0x33d2;return _0xa76415(_0x274f7c)[_0x3746dc(0x3cf)](_0x2f14fb,_0x308e65,_0x274f7c,_0x1d8162);}};};}())});_0x79c0ac[_0x509cb2(0x2d5)]=_0xb874d7[_0x509cb2(0x270)]({'_doFinalize':function(){var _0x2ad3a5=this['_process'](!0x0);return _0x2ad3a5;},'blockSize':0x1});var _0x1e3b45=_0x5be34c[_0x509cb2(0x43e)]={},_0x418fcd=_0x79c0ac[_0x509cb2(0x5ac)]=_0x4cd83e['extend']({'createEncryptor':function(_0x6e1df0,_0x3a819b){const _0xf4dff6=_0x509cb2;return this['Encryptor'][_0xf4dff6(0x442)](_0x6e1df0,_0x3a819b);},'createDecryptor':function(_0xd93aca,_0x4e8a81){const _0x4ea747=_0x509cb2;return this['Decryptor'][_0x4ea747(0x442)](_0xd93aca,_0x4e8a81);},'init':function(_0x565d9f,_0x1fcce5){const _0x49a4bf=_0x509cb2;this['_cipher']=_0x565d9f,this[_0x49a4bf(0x545)]=_0x1fcce5;}}),_0x2814fa=_0x1e3b45[_0x509cb2(0x560)]=(function(){const _0x2e4efd=_0x509cb2;var _0x4771d8=_0x418fcd[_0x2e4efd(0x270)]();_0x4771d8[_0x2e4efd(0x60e)]=_0x4771d8['extend']({'processBlock':function(_0x2f6871,_0x5af1bf){const _0x5b58ee=_0x2e4efd;var _0x93012d=this[_0x5b58ee(0x1f1)],_0x39594d=_0x93012d[_0x5b58ee(0x1a6)];_0x294df3[_0x5b58ee(0x4fd)](this,_0x2f6871,_0x5af1bf,_0x39594d),_0x93012d[_0x5b58ee(0x637)](_0x2f6871,_0x5af1bf),this[_0x5b58ee(0x5fe)]=_0x2f6871['slice'](_0x5af1bf,_0x5af1bf+_0x39594d);}}),_0x4771d8[_0x2e4efd(0x207)]=_0x4771d8[_0x2e4efd(0x270)]({'processBlock':function(_0x303838,_0x9829fa){const _0x26f8ec=_0x2e4efd;var _0x3a0a54=this[_0x26f8ec(0x1f1)],_0x1a9f51=_0x3a0a54['blockSize'],_0x78aa0=_0x303838[_0x26f8ec(0x543)](_0x9829fa,_0x9829fa+_0x1a9f51);_0x3a0a54[_0x26f8ec(0x54c)](_0x303838,_0x9829fa),_0x294df3[_0x26f8ec(0x4fd)](this,_0x303838,_0x9829fa,_0x1a9f51),this[_0x26f8ec(0x5fe)]=_0x78aa0;}});function _0x294df3(_0x1eec9b,_0x201da3,_0x2eb10a){const _0x5d2105=_0x2e4efd;var _0x138942,_0x17c638=this[_0x5d2105(0x545)];_0x17c638?(_0x138942=_0x17c638,this[_0x5d2105(0x545)]=_0x318274):_0x138942=this[_0x5d2105(0x5fe)];for(var _0x31b13a=0x0;_0x31b13a<_0x2eb10a;_0x31b13a++)_0x1eec9b[_0x201da3+_0x31b13a]^=_0x138942[_0x31b13a];}return _0x4771d8;}()),_0x2da7e8=_0x5be34c[_0x509cb2(0x327)]={},_0x3ffcf5=_0x2da7e8[_0x509cb2(0x4fc)]={'pad':function(_0x3605da,_0x3729a4){const _0x3fe91f=_0x509cb2;for(var _0x71cec2=_0x3729a4*0x4,_0x40fd1c=_0x71cec2-_0x3605da[_0x3fe91f(0x36c)]%_0x71cec2,_0x925d6e=_0x40fd1c<<0x18|_0x40fd1c<<0x10|_0x40fd1c<<0x8|_0x40fd1c,_0x2f9d18=[],_0x41c76a=0x0;_0x41c76a<_0x40fd1c;_0x41c76a+=0x4)_0x2f9d18['push'](_0x925d6e);var _0x4ed350=_0x4e9f60['create'](_0x2f9d18,_0x40fd1c);_0x3605da[_0x3fe91f(0x1ac)](_0x4ed350);},'unpad':function(_0x36f90d){const _0x109acf=_0x509cb2;var _0x413789=_0x36f90d[_0x109acf(0x5dc)][_0x36f90d[_0x109acf(0x36c)]-0x1>>>0x2]&0xff;_0x36f90d[_0x109acf(0x36c)]-=_0x413789;}};_0x79c0ac[_0x509cb2(0x45e)]=_0xb874d7['extend']({'cfg':_0xb874d7[_0x509cb2(0x572)][_0x509cb2(0x270)]({'mode':_0x2814fa,'padding':_0x3ffcf5}),'reset':function(){const _0x471702=_0x509cb2;var _0x4ca144;_0xb874d7[_0x471702(0x178)][_0x471702(0x4fd)](this);var _0x301d9c=this['cfg'],_0x2f8540=_0x301d9c['iv'],_0x227349=_0x301d9c['mode'];this[_0x471702(0x26e)]==this[_0x471702(0x24d)]?_0x4ca144=_0x227349[_0x471702(0x282)]:(_0x4ca144=_0x227349['createDecryptor'],this[_0x471702(0x2f0)]=0x1),this[_0x471702(0x1da)]&&this[_0x471702(0x1da)][_0x471702(0x5bf)]==_0x4ca144?this[_0x471702(0x1da)][_0x471702(0x238)](this,_0x2f8540&&_0x2f8540['words']):(this[_0x471702(0x1da)]=_0x4ca144['call'](_0x227349,this,_0x2f8540&&_0x2f8540[_0x471702(0x5dc)]),this[_0x471702(0x1da)][_0x471702(0x5bf)]=_0x4ca144);},'_doProcessBlock':function(_0x6fe2a7,_0x10b68e){const _0x343de8=_0x509cb2;this[_0x343de8(0x1da)]['processBlock'](_0x6fe2a7,_0x10b68e);},'_doFinalize':function(){const _0x14fa9f=_0x509cb2;var _0x228d04,_0x80107e=this[_0x14fa9f(0x572)]['padding'];return this[_0x14fa9f(0x26e)]==this['_ENC_XFORM_MODE']?(_0x80107e[_0x14fa9f(0x327)](this[_0x14fa9f(0x3b2)],this['blockSize']),_0x228d04=this['_process'](!0x0)):(_0x228d04=this[_0x14fa9f(0x203)](!0x0),_0x80107e[_0x14fa9f(0x393)](_0x228d04)),_0x228d04;},'blockSize':0x80/0x20});var _0x273c8e=_0x79c0ac[_0x509cb2(0x578)]=_0x4cd83e[_0x509cb2(0x270)]({'init':function(_0x2f5748){const _0x15cbdc=_0x509cb2;this[_0x15cbdc(0x3ec)](_0x2f5748);},'toString':function(_0x4206bd){const _0x11df35=_0x509cb2;return(_0x4206bd||this['formatter'])[_0x11df35(0x330)](this);}}),_0x2cb07f=_0x5be34c[_0x509cb2(0x2c7)]={},_0x25606b=_0x2cb07f[_0x509cb2(0x38c)]={'stringify':function(_0x25b81e){const _0xf7cf4c=_0x509cb2;var _0x4e1ff6,_0x5e97d9=_0x25b81e[_0xf7cf4c(0x44b)],_0x34024e=_0x25b81e[_0xf7cf4c(0x362)];return _0x34024e?_0x4e1ff6=_0x4e9f60[_0xf7cf4c(0x442)]([0x53616c74,0x65645f5f])[_0xf7cf4c(0x1ac)](_0x34024e)[_0xf7cf4c(0x1ac)](_0x5e97d9):_0x4e1ff6=_0x5e97d9,_0x4e1ff6[_0xf7cf4c(0x612)](_0x248df3);},'parse':function(_0x4408a2){const _0x5018c9=_0x509cb2;var _0x3501d6,_0x58fe41=_0x248df3[_0x5018c9(0x625)](_0x4408a2),_0x213302=_0x58fe41[_0x5018c9(0x5dc)];return _0x213302[0x0]==0x53616c74&&_0x213302[0x1]==0x65645f5f&&(_0x3501d6=_0x4e9f60[_0x5018c9(0x442)](_0x213302[_0x5018c9(0x543)](0x2,0x4)),_0x213302['splice'](0x0,0x4),_0x58fe41[_0x5018c9(0x36c)]-=0x10),_0x273c8e[_0x5018c9(0x442)]({'ciphertext':_0x58fe41,'salt':_0x3501d6});}},_0xb4374=_0x79c0ac[_0x509cb2(0x3ac)]=_0x4cd83e[_0x509cb2(0x270)]({'cfg':_0x4cd83e[_0x509cb2(0x270)]({'format':_0x25606b}),'encrypt':function(_0x53dcaa,_0x2cf195,_0x5d3149,_0x255697){const _0x3bf596=_0x509cb2;_0x255697=this[_0x3bf596(0x572)][_0x3bf596(0x270)](_0x255697);var _0x14c241=_0x53dcaa[_0x3bf596(0x282)](_0x5d3149,_0x255697),_0x13249f=_0x14c241['finalize'](_0x2cf195),_0x403bb4=_0x14c241[_0x3bf596(0x572)];return _0x273c8e[_0x3bf596(0x442)]({'ciphertext':_0x13249f,'key':_0x5d3149,'iv':_0x403bb4['iv'],'algorithm':_0x53dcaa,'mode':_0x403bb4['mode'],'padding':_0x403bb4[_0x3bf596(0x214)],'blockSize':_0x53dcaa[_0x3bf596(0x1a6)],'formatter':_0x255697['format']});},'decrypt':function(_0x4cfb7b,_0x5ec536,_0x2cd8bc,_0x41abb0){const _0xd19117=_0x509cb2;_0x41abb0=this[_0xd19117(0x572)]['extend'](_0x41abb0),_0x5ec536=this[_0xd19117(0x2d0)](_0x5ec536,_0x41abb0[_0xd19117(0x2c7)]);var _0x1fc62b=_0x4cfb7b[_0xd19117(0x208)](_0x2cd8bc,_0x41abb0)[_0xd19117(0x4e3)](_0x5ec536['ciphertext']);return _0x1fc62b;},'_parse':function(_0x1e8501,_0x5fe83e){const _0x46951b=_0x509cb2;return typeof _0x1e8501==_0x46951b(0x3a2)?_0x5fe83e[_0x46951b(0x625)](_0x1e8501,this):_0x1e8501;}}),_0x3d2d6d=_0x5be34c['kdf']={},_0x2d3dc7=_0x3d2d6d[_0x509cb2(0x38c)]={'execute':function(_0x1517d8,_0x1ba4e0,_0x23ffa1,_0x8a4b69,_0x39aea8){const _0x3261da=_0x509cb2;if(_0x8a4b69||(_0x8a4b69=_0x4e9f60[_0x3261da(0x3b8)](0x40/0x8)),_0x39aea8)var _0x5b08cc=_0x44c58a['create']({'keySize':_0x1ba4e0+_0x23ffa1,'hasher':_0x39aea8})['compute'](_0x1517d8,_0x8a4b69);else var _0x5b08cc=_0x44c58a[_0x3261da(0x442)]({'keySize':_0x1ba4e0+_0x23ffa1})[_0x3261da(0x321)](_0x1517d8,_0x8a4b69);var _0x7ad87b=_0x4e9f60[_0x3261da(0x442)](_0x5b08cc[_0x3261da(0x5dc)]['slice'](_0x1ba4e0),_0x23ffa1*0x4);return _0x5b08cc[_0x3261da(0x36c)]=_0x1ba4e0*0x4,_0x273c8e['create']({'key':_0x5b08cc,'iv':_0x7ad87b,'salt':_0x8a4b69});}},_0x266191=_0x79c0ac[_0x509cb2(0x2da)]=_0xb4374[_0x509cb2(0x270)]({'cfg':_0xb4374['cfg'][_0x509cb2(0x270)]({'kdf':_0x2d3dc7}),'encrypt':function(_0x1cf097,_0x4ac9a5,_0x693757,_0x4aad01){const _0x427c19=_0x509cb2;_0x4aad01=this[_0x427c19(0x572)][_0x427c19(0x270)](_0x4aad01);var _0x5dca2e=_0x4aad01[_0x427c19(0x5e7)]['execute'](_0x693757,_0x1cf097[_0x427c19(0x44a)],_0x1cf097[_0x427c19(0x525)],_0x4aad01[_0x427c19(0x362)],_0x4aad01['hasher']);_0x4aad01['iv']=_0x5dca2e['iv'];var _0x1ca26c=_0xb4374[_0x427c19(0x433)]['call'](this,_0x1cf097,_0x4ac9a5,_0x5dca2e['key'],_0x4aad01);return _0x1ca26c[_0x427c19(0x3ec)](_0x5dca2e),_0x1ca26c;},'decrypt':function(_0x48d7a7,_0x5ac8ee,_0x193311,_0x3c012b){const _0x1d4d09=_0x509cb2;_0x3c012b=this['cfg'][_0x1d4d09(0x270)](_0x3c012b),_0x5ac8ee=this[_0x1d4d09(0x2d0)](_0x5ac8ee,_0x3c012b[_0x1d4d09(0x2c7)]);var _0x4f37fe=_0x3c012b[_0x1d4d09(0x5e7)][_0x1d4d09(0x30a)](_0x193311,_0x48d7a7[_0x1d4d09(0x44a)],_0x48d7a7[_0x1d4d09(0x525)],_0x5ac8ee[_0x1d4d09(0x362)],_0x3c012b[_0x1d4d09(0x43b)]);_0x3c012b['iv']=_0x4f37fe['iv'];var _0x2f71fd=_0xb4374[_0x1d4d09(0x3cf)][_0x1d4d09(0x4fd)](this,_0x48d7a7,_0x5ac8ee,_0x4f37fe[_0x1d4d09(0x634)],_0x3c012b);return _0x2f71fd;}});}();}));}(Ke)),Ke[_0x45af7b(0x5ca)];}var Os=ke[_0x1ab38c(0x5ca)],ai;function ys(){const _0x1ebe98=_0x1ab38c;return ai||(ai=0x1,function(_0x3ece5d,_0x5b3397){(function(_0x7eb812,_0x3c6997,_0x265f51){const _0x2878cd=_0x33d2;_0x3ece5d[_0x2878cd(0x5ca)]=_0x3c6997(se(),ji(),gs(),Hi(),Bi());}(Os,function(_0x4dee19){return(function(){const _0xd6afa1=_0x33d2;var _0x6afabd=_0x4dee19,_0x7c7caa=_0x6afabd['lib'],_0x36da3c=_0x7c7caa[_0xd6afa1(0x45e)],_0x48eb5a=_0x6afabd[_0xd6afa1(0x331)],_0x41dbe3=[],_0x21b217=[],_0x54c0fd=[],_0x3c1d3d=[],_0x1eb984=[],_0x34b3d7=[],_0x5485fb=[],_0x16814e=[],_0x3ab0da=[],_0x3ece81=[];(function(){for(var _0x457cdc=[],_0x535fe5=0x0;_0x535fe5<0x100;_0x535fe5++)_0x535fe5<0x80?_0x457cdc[_0x535fe5]=_0x535fe5<<0x1:_0x457cdc[_0x535fe5]=_0x535fe5<<0x1^0x11b;for(var _0x4e396c=0x0,_0x2ce118=0x0,_0x535fe5=0x0;_0x535fe5<0x100;_0x535fe5++){var _0x1d4e38=_0x2ce118^_0x2ce118<<0x1^_0x2ce118<<0x2^_0x2ce118<<0x3^_0x2ce118<<0x4;_0x1d4e38=_0x1d4e38>>>0x8^_0x1d4e38&0xff^0x63,_0x41dbe3[_0x4e396c]=_0x1d4e38,_0x21b217[_0x1d4e38]=_0x4e396c;var _0x3eb8e4=_0x457cdc[_0x4e396c],_0x126e02=_0x457cdc[_0x3eb8e4],_0x57de9c=_0x457cdc[_0x126e02],_0x2a63cf=_0x457cdc[_0x1d4e38]*0x101^_0x1d4e38*0x1010100;_0x54c0fd[_0x4e396c]=_0x2a63cf<<0x18|_0x2a63cf>>>0x8,_0x3c1d3d[_0x4e396c]=_0x2a63cf<<0x10|_0x2a63cf>>>0x10,_0x1eb984[_0x4e396c]=_0x2a63cf<<0x8|_0x2a63cf>>>0x18,_0x34b3d7[_0x4e396c]=_0x2a63cf;var _0x2a63cf=_0x57de9c*0x1010101^_0x126e02*0x10001^_0x3eb8e4*0x101^_0x4e396c*0x1010100;_0x5485fb[_0x1d4e38]=_0x2a63cf<<0x18|_0x2a63cf>>>0x8,_0x16814e[_0x1d4e38]=_0x2a63cf<<0x10|_0x2a63cf>>>0x10,_0x3ab0da[_0x1d4e38]=_0x2a63cf<<0x8|_0x2a63cf>>>0x18,_0x3ece81[_0x1d4e38]=_0x2a63cf,_0x4e396c?(_0x4e396c=_0x3eb8e4^_0x457cdc[_0x457cdc[_0x457cdc[_0x57de9c^_0x3eb8e4]]],_0x2ce118^=_0x457cdc[_0x457cdc[_0x2ce118]]):_0x4e396c=_0x2ce118=0x1;}}());var _0x3ff624=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x150b9c=_0x48eb5a['AES']=_0x36da3c['extend']({'_doReset':function(){const _0x955760=_0xd6afa1;var _0xfc761c;if(!(this['_nRounds']&&this[_0x955760(0x2a0)]===this['_key'])){for(var _0x25f736=this['_keyPriorReset']=this['_key'],_0x38ad41=_0x25f736[_0x955760(0x5dc)],_0x4256f7=_0x25f736['sigBytes']/0x4,_0x52f7dc=this[_0x955760(0x2bd)]=_0x4256f7+0x6,_0x57f793=(_0x52f7dc+0x1)*0x4,_0x3a3ff3=this[_0x955760(0x4dc)]=[],_0x2724dc=0x0;_0x2724dc<_0x57f793;_0x2724dc++)_0x2724dc<_0x4256f7?_0x3a3ff3[_0x2724dc]=_0x38ad41[_0x2724dc]:(_0xfc761c=_0x3a3ff3[_0x2724dc-0x1],_0x2724dc%_0x4256f7?_0x4256f7>0x6&&_0x2724dc%_0x4256f7==0x4&&(_0xfc761c=_0x41dbe3[_0xfc761c>>>0x18]<<0x18|_0x41dbe3[_0xfc761c>>>0x10&0xff]<<0x10|_0x41dbe3[_0xfc761c>>>0x8&0xff]<<0x8|_0x41dbe3[_0xfc761c&0xff]):(_0xfc761c=_0xfc761c<<0x8|_0xfc761c>>>0x18,_0xfc761c=_0x41dbe3[_0xfc761c>>>0x18]<<0x18|_0x41dbe3[_0xfc761c>>>0x10&0xff]<<0x10|_0x41dbe3[_0xfc761c>>>0x8&0xff]<<0x8|_0x41dbe3[_0xfc761c&0xff],_0xfc761c^=_0x3ff624[_0x2724dc/_0x4256f7|0x0]<<0x18),_0x3a3ff3[_0x2724dc]=_0x3a3ff3[_0x2724dc-_0x4256f7]^_0xfc761c);for(var _0x158036=this[_0x955760(0x284)]=[],_0x39e83f=0x0;_0x39e83f<_0x57f793;_0x39e83f++){var _0x2724dc=_0x57f793-_0x39e83f;if(_0x39e83f%0x4)var _0xfc761c=_0x3a3ff3[_0x2724dc];else var _0xfc761c=_0x3a3ff3[_0x2724dc-0x4];_0x39e83f<0x4||_0x2724dc<=0x4?_0x158036[_0x39e83f]=_0xfc761c:_0x158036[_0x39e83f]=_0x5485fb[_0x41dbe3[_0xfc761c>>>0x18]]^_0x16814e[_0x41dbe3[_0xfc761c>>>0x10&0xff]]^_0x3ab0da[_0x41dbe3[_0xfc761c>>>0x8&0xff]]^_0x3ece81[_0x41dbe3[_0xfc761c&0xff]];}}},'encryptBlock':function(_0x403cb7,_0x1b8574){const _0x2a2d2a=_0xd6afa1;this[_0x2a2d2a(0x230)](_0x403cb7,_0x1b8574,this[_0x2a2d2a(0x4dc)],_0x54c0fd,_0x3c1d3d,_0x1eb984,_0x34b3d7,_0x41dbe3);},'decryptBlock':function(_0x5e612d,_0x507830){const _0x17572b=_0xd6afa1;var _0x3f5a9b=_0x5e612d[_0x507830+0x1];_0x5e612d[_0x507830+0x1]=_0x5e612d[_0x507830+0x3],_0x5e612d[_0x507830+0x3]=_0x3f5a9b,this[_0x17572b(0x230)](_0x5e612d,_0x507830,this[_0x17572b(0x284)],_0x5485fb,_0x16814e,_0x3ab0da,_0x3ece81,_0x21b217);var _0x3f5a9b=_0x5e612d[_0x507830+0x1];_0x5e612d[_0x507830+0x1]=_0x5e612d[_0x507830+0x3],_0x5e612d[_0x507830+0x3]=_0x3f5a9b;},'_doCryptBlock':function(_0x77a1c,_0x4d0d19,_0x57f8fc,_0x498600,_0x4abf19,_0x10566e,_0x1aeffb,_0x1f88e){for(var _0x3de5d1=this['_nRounds'],_0x3903ab=_0x77a1c[_0x4d0d19]^_0x57f8fc[0x0],_0x4a368b=_0x77a1c[_0x4d0d19+0x1]^_0x57f8fc[0x1],_0x2d3445=_0x77a1c[_0x4d0d19+0x2]^_0x57f8fc[0x2],_0xe1cac8=_0x77a1c[_0x4d0d19+0x3]^_0x57f8fc[0x3],_0x1a4731=0x4,_0xc6caa6=0x1;_0xc6caa6<_0x3de5d1;_0xc6caa6++){var _0x30e20f=_0x498600[_0x3903ab>>>0x18]^_0x4abf19[_0x4a368b>>>0x10&0xff]^_0x10566e[_0x2d3445>>>0x8&0xff]^_0x1aeffb[_0xe1cac8&0xff]^_0x57f8fc[_0x1a4731++],_0x2b0cb9=_0x498600[_0x4a368b>>>0x18]^_0x4abf19[_0x2d3445>>>0x10&0xff]^_0x10566e[_0xe1cac8>>>0x8&0xff]^_0x1aeffb[_0x3903ab&0xff]^_0x57f8fc[_0x1a4731++],_0x5ea028=_0x498600[_0x2d3445>>>0x18]^_0x4abf19[_0xe1cac8>>>0x10&0xff]^_0x10566e[_0x3903ab>>>0x8&0xff]^_0x1aeffb[_0x4a368b&0xff]^_0x57f8fc[_0x1a4731++],_0x570aa4=_0x498600[_0xe1cac8>>>0x18]^_0x4abf19[_0x3903ab>>>0x10&0xff]^_0x10566e[_0x4a368b>>>0x8&0xff]^_0x1aeffb[_0x2d3445&0xff]^_0x57f8fc[_0x1a4731++];_0x3903ab=_0x30e20f,_0x4a368b=_0x2b0cb9,_0x2d3445=_0x5ea028,_0xe1cac8=_0x570aa4;}var _0x30e20f=(_0x1f88e[_0x3903ab>>>0x18]<<0x18|_0x1f88e[_0x4a368b>>>0x10&0xff]<<0x10|_0x1f88e[_0x2d3445>>>0x8&0xff]<<0x8|_0x1f88e[_0xe1cac8&0xff])^_0x57f8fc[_0x1a4731++],_0x2b0cb9=(_0x1f88e[_0x4a368b>>>0x18]<<0x18|_0x1f88e[_0x2d3445>>>0x10&0xff]<<0x10|_0x1f88e[_0xe1cac8>>>0x8&0xff]<<0x8|_0x1f88e[_0x3903ab&0xff])^_0x57f8fc[_0x1a4731++],_0x5ea028=(_0x1f88e[_0x2d3445>>>0x18]<<0x18|_0x1f88e[_0xe1cac8>>>0x10&0xff]<<0x10|_0x1f88e[_0x3903ab>>>0x8&0xff]<<0x8|_0x1f88e[_0x4a368b&0xff])^_0x57f8fc[_0x1a4731++],_0x570aa4=(_0x1f88e[_0xe1cac8>>>0x18]<<0x18|_0x1f88e[_0x3903ab>>>0x10&0xff]<<0x10|_0x1f88e[_0x4a368b>>>0x8&0xff]<<0x8|_0x1f88e[_0x2d3445&0xff])^_0x57f8fc[_0x1a4731++];_0x77a1c[_0x4d0d19]=_0x30e20f,_0x77a1c[_0x4d0d19+0x1]=_0x2b0cb9,_0x77a1c[_0x4d0d19+0x2]=_0x5ea028,_0x77a1c[_0x4d0d19+0x3]=_0x570aa4;},'keySize':0x100/0x20});_0x6afabd[_0xd6afa1(0x386)]=_0x36da3c[_0xd6afa1(0x5ae)](_0x150b9c);}()),_0x4dee19['AES'];}));}(ke)),ke[_0x1ebe98(0x5ca)];}var Ds=ys();const Ps=$e(Ds);var ws=ji();const ci=$e(ws);var ze={'exports':{}},Us=ze[_0x1ab38c(0x5ca)],li;function Ms(){const _0x1a10e2=_0x1ab38c;return li||(li=0x1,function(_0x43d96b,_0x40be98){(function(_0x1eff8b,_0x336288){_0x43d96b['exports']=_0x336288(se());}(Us,function(_0x4a9d87){return _0x4a9d87['enc']['Utf8'];}));}(ze)),ze[_0x1a10e2(0x5ca)];}var Ns=Ms();const As=$e(Ns);var Xe={'exports':{}},Ls=Xe[_0x1ab38c(0x5ca)],hi;function xs(){const _0x438208=_0x1ab38c;return hi||(hi=0x1,function(_0x1ceb9b,_0xf5a15){(function(_0x3e1005,_0x657bdf){const _0xb88f25=_0x33d2;_0x1ceb9b[_0xb88f25(0x5ca)]=_0x657bdf(se());}(Ls,function(_0x7abef3){return(function(){const _0x379f54=_0x33d2;if(typeof ArrayBuffer=='function'){var _0x3821f4=_0x7abef3,_0x2bf5da=_0x3821f4[_0x379f54(0x502)],_0x894465=_0x2bf5da[_0x379f54(0x389)],_0x4c32ca=_0x894465[_0x379f54(0x238)],_0x5aa2c1=_0x894465[_0x379f54(0x238)]=function(_0x52f0fb){const _0x3835cc=_0x379f54;if(_0x52f0fb instanceof ArrayBuffer&&(_0x52f0fb=new Uint8Array(_0x52f0fb)),(_0x52f0fb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x52f0fb instanceof Uint8ClampedArray||_0x52f0fb instanceof Int16Array||_0x52f0fb instanceof Uint16Array||_0x52f0fb instanceof Int32Array||_0x52f0fb instanceof Uint32Array||_0x52f0fb instanceof Float32Array||_0x52f0fb instanceof Float64Array)&&(_0x52f0fb=new Uint8Array(_0x52f0fb[_0x3835cc(0x575)],_0x52f0fb['byteOffset'],_0x52f0fb['byteLength'])),_0x52f0fb instanceof Uint8Array){for(var _0xa1e56f=_0x52f0fb['byteLength'],_0x544ec7=[],_0x5e63f3=0x0;_0x5e63f3<_0xa1e56f;_0x5e63f3++)_0x544ec7[_0x5e63f3>>>0x2]|=_0x52f0fb[_0x5e63f3]<<0x18-_0x5e63f3%0x4*0x8;_0x4c32ca['call'](this,_0x544ec7,_0xa1e56f);}else _0x4c32ca[_0x3835cc(0x444)](this,arguments);};_0x5aa2c1['prototype']=_0x894465;}}()),_0x7abef3['lib']['WordArray'];}));}(Xe)),Xe[_0x438208(0x5ca)];}var $s=xs();const js=$e($s);var Je={'exports':{}},Hs=Je[_0x1ab38c(0x5ca)],_i;function Bs(){const _0x541084=_0x1ab38c;return _i||(_i=0x1,function(_0x3baa15,_0x1f0afa){(function(_0x5e2bf8,_0x474aed,_0x2df735){const _0x35349f=_0x33d2;_0x3baa15[_0x35349f(0x5ca)]=_0x474aed(se(),Bi());}(Hs,function(_0x215bab){const _0x5eb7b4=_0x33d2;return _0x215bab[_0x5eb7b4(0x327)][_0x5eb7b4(0x356)]={'pad':function(){},'unpad':function(){}},_0x215bab['pad'][_0x5eb7b4(0x356)];}));}(Je)),Je[_0x541084(0x5ca)];}var ks=Bs();const Ws=$e(ks);function Fs(_0xd896cc,_0x2a49d9){const _0x168cb0=_0x1ab38c,_0x50882f=_0x2a49d9-_0xd896cc[_0x168cb0(0x2b7)]%_0x2a49d9,_0x2ec450=String[_0x168cb0(0x4a0)](_0x50882f)['repeat'](_0x50882f);return _0xd896cc+_0x2ec450;}function Vs(_0x3668f1,_0x67dae0){const _0x2f0865=_0x1ab38c,_0x106482=js[_0x2f0865(0x3b8)](0x10),_0x3e1ccb=Fs(_0x3668f1,0x10),_0x54e7fe=Ps[_0x2f0865(0x433)](As[_0x2f0865(0x625)](_0x3e1ccb),ci[_0x2f0865(0x625)](_0x67dae0),{'iv':_0x106482,'padding':Ws});return _0x106482[_0x2f0865(0x1ac)](_0x54e7fe[_0x2f0865(0x44b)])[_0x2f0865(0x612)](ci);}function Gs(){const _0x2d8206=_0x1ab38c,_0x2db943=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x2d8206(0x2e2)];if(_0x2db943){const _0x179657={'time':Math[_0x2d8206(0x494)](Date[_0x2d8206(0x2b1)]()/0x3e8),'domain':location[_0x2d8206(0x23f)]};return Vs(JSON[_0x2d8206(0x330)](_0x179657),_0x2db943);}}var Ys=Object[_0x1ab38c(0x322)],qs=Object['getOwnPropertyDescriptor'],Ks=(_0xf2873c,_0x4b5ea0,_0x3583e4,_0x3604ba)=>{const _0x3d2582=_0x1ab38c;for(var _0x10dcb6=_0x3604ba>0x1?void 0x0:_0x3604ba?qs(_0x4b5ea0,_0x3583e4):_0x4b5ea0,_0x20a22a=_0xf2873c[_0x3d2582(0x2b7)]-0x1,_0x51f4cb;_0x20a22a>=0x0;_0x20a22a--)(_0x51f4cb=_0xf2873c[_0x20a22a])&&(_0x10dcb6=(_0x3604ba?_0x51f4cb(_0x4b5ea0,_0x3583e4,_0x10dcb6):_0x51f4cb(_0x10dcb6))||_0x10dcb6);return _0x3604ba&&_0x10dcb6&&Ys(_0x4b5ea0,_0x3583e4,_0x10dcb6),_0x10dcb6;},zs=(_0x57b6f1,_0x584e06)=>(_0x561896,_0x376c85)=>_0x584e06(_0x561896,_0x376c85,_0x57b6f1);let st=class{constructor(_0x532dda){const _0x25cf85=_0x1ab38c;this['_httpService']=_0x532dda,this[_0x25cf85(0x3e0)]();}[_0x1ab38c(0x3e0)](){const _0x30b61f=_0x1ab38c;this[_0x30b61f(0x544)][_0x30b61f(0x4d9)]({'interceptor':(_0x538211,_0x2d37e1)=>{const _0x4cd7b6=_0x30b61f,_0x4fa8af=_0x538211[_0x4cd7b6(0x408)],_0x4a6ba5=Gs();return _0x4a6ba5&&_0x4fa8af[_0x4cd7b6(0x1c6)](_0x4cd7b6(0x274),_0x4a6ba5),_0x2d37e1(_0x538211);}});}};st=Ks([zs(0x0,a[_0x1ab38c(0x56d)](z['HTTPService']))],st);var Xs=Object[_0x1ab38c(0x322)],Js=Object[_0x1ab38c(0x5da)],Zs=(_0xd360fe,_0x19d399,_0x4960ca,_0x385dc7)=>{const _0x4fc9ed=_0x1ab38c;for(var _0x17ae93=_0x385dc7>0x1?void 0x0:_0x385dc7?Js(_0x19d399,_0x4960ca):_0x19d399,_0x1df241=_0xd360fe[_0x4fc9ed(0x2b7)]-0x1,_0x6f7183;_0x1df241>=0x0;_0x1df241--)(_0x6f7183=_0xd360fe[_0x1df241])&&(_0x17ae93=(_0x385dc7?_0x6f7183(_0x19d399,_0x4960ca,_0x17ae93):_0x6f7183(_0x17ae93))||_0x17ae93);return _0x385dc7&&_0x17ae93&&Xs(_0x19d399,_0x4960ca,_0x17ae93),_0x17ae93;},Et=(_0x218478,_0x148490)=>(_0xec1e7,_0x56603a)=>_0x148490(_0xec1e7,_0x56603a,_0x218478);const Qs=[_0x1ab38c(0x29a),'image/jpeg','image/jpg',_0x1ab38c(0x1f6),_0x1ab38c(0x368)],eo=0x5*0x400*0x400,to=_0x1ab38c(0x39a),io=_0x1ab38c(0x5cf),no=_0x1ab38c(0x19f),ro=_0x1ab38c(0x2ef);exports[_0x1ab38c(0x16b)]=class{constructor(_0x426abe,_0x1bb1ed,_0x20456d){const _0x468f19=_0x1ab38c;I(this,_0x468f19(0x48e),0x0),I(this,'_change$',new N[(_0x468f19(0x2dc))]()),I(this,_0x468f19(0x5ec),this[_0x468f19(0x397)]),I(this,_0x468f19(0x264),new Map()),(this[_0x468f19(0x544)]=_0x426abe,this['_configService']=_0x1bb1ed,this[_0x468f19(0x3b6)]=_0x20456d);}[_0x1ab38c(0x22c)](_0x29657a){const _0x59ba16=_0x1ab38c;this[_0x59ba16(0x48e)]=_0x29657a,this['_change$'][_0x59ba16(0x2c0)](_0x29657a);}[_0x1ab38c(0x1f9)](_0x1dbfe8,_0x24fb75){const _0x2eb894=_0x1ab38c;if(_0x24fb75===te[_0x2eb894(0x510)][_0x2eb894(0x4a5)]){const _0x19c2a2=new Image();return _0x19c2a2[_0x2eb894(0x552)]=_0x1dbfe8,_0x19c2a2;}return this[_0x2eb894(0x264)][_0x2eb894(0x3f9)](_0x1dbfe8);}[_0x1ab38c(0x312)](_0x3fde99,_0xea1483,_0x14c5bc){const _0x1e5762=_0x1ab38c;_0xea1483===te['ImageSourceType'][_0x1e5762(0x4a5)]||_0x14c5bc==null||this[_0x1e5762(0x264)][_0x1e5762(0x1c6)](_0x3fde99,_0x14c5bc);}async[_0x1ab38c(0x3c7)](_0x3fa1bb){const _0x2da0e4=_0x1ab38c;try{const _0x3a05b1=this[_0x2da0e4(0x3dd)](this[_0x2da0e4(0x41a)](),''+_0x3fa1bb),_0x3751dc=(await this[_0x2da0e4(0x544)][_0x2da0e4(0x3f9)](_0x3a05b1))[_0x2da0e4(0x4cf)];if(_0x3751dc[_0x2da0e4(0x48d)]&&_0x3751dc['error'][_0x2da0e4(0x482)]===bi['OK']){const _0x52a8ad=new URL(_0x3751dc[_0x2da0e4(0x304)],this[_0x2da0e4(0x373)]())[_0x2da0e4(0x612)]();return Promise['resolve'](_0x52a8ad);}return Promise[_0x2da0e4(0x5d7)](_0x3751dc[_0x2da0e4(0x48d)]);}catch(_0x555fca){return Promise[_0x2da0e4(0x5d7)](_0x555fca);}}async[_0x1ab38c(0x1c3)](_0x1e25d8){const _0x3712a8=_0x1ab38c;let _0x937cfc='';if(!Qs[_0x3712a8(0x35a)](_0x1e25d8[_0x3712a8(0x57b)]))return this[_0x3712a8(0x55a)](),Promise[_0x3712a8(0x5d7)](new Error(te[_0x3712a8(0x633)]['ERROR_IMAGE_TYPE']));if(_0x1e25d8['size']>eo)return this['_decreaseWaiting'](),Promise['reject'](new Error(te[_0x3712a8(0x633)][_0x3712a8(0x41c)]));try{const _0x184e2b=new FormData();_0x184e2b[_0x3712a8(0x271)](_0x3712a8(0x311),_0x1e25d8);const _0x12c82f=this['_univerInstanceService'][_0x3712a8(0x425)](),_0x455fd8=_0x12c82f==null?void 0x0:_0x12c82f[_0x3712a8(0x2f9)]();if(!_0x455fd8)throw new Error(_0x3712a8(0x20b));const _0x459d09=this['_getUploadFileURL']()+_0x3712a8(0x1a5)+_0x1e25d8[_0x3712a8(0x36b)][_0x3712a8(0x612)]()+_0x3712a8(0x469)+Ti[_0x3712a8(0x5a4)]+_0x3712a8(0x635)+encodeURIComponent(_0x455fd8),_0x2a1702=await(await fetch(_0x459d09,{'method':'POST','body':_0x184e2b}))[_0x3712a8(0x287)]();if(typeof _0x2a1702[_0x3712a8(0x1ce)]!=_0x3712a8(0x3a2))return this[_0x3712a8(0x55a)](),Promise[_0x3712a8(0x5d7)](new Error(te['ImageUploadStatusType'][_0x3712a8(0x4b9)]));_0x937cfc=_0x2a1702[_0x3712a8(0x1ce)];}catch{return this[_0x3712a8(0x55a)](),Promise['reject'](new Error(te[_0x3712a8(0x633)]['ERROR_IMAGE']));}return new Promise((_0xd1731a,_0x1c84ef)=>{const _0x192a74=_0x3712a8,_0x4a1ebd=new FileReader();_0x4a1ebd[_0x192a74(0x459)](_0x1e25d8),_0x4a1ebd[_0x192a74(0x4f1)]=_0x483660=>{const _0x4a0f6f=_0x192a74;var _0x19cfad;const _0x2217d5=(_0x19cfad=_0x483660['target'])==null?void 0x0:_0x19cfad['result'];if(_0x2217d5==null){this[_0x4a0f6f(0x55a)](),_0x1c84ef(new Error(te[_0x4a0f6f(0x633)][_0x4a0f6f(0x4b9)]));return;}const _0xa380d7=a['Tools'][_0x4a0f6f(0x33c)](0x6);_0xd1731a({'imageId':_0xa380d7,'imageSourceType':te[_0x4a0f6f(0x510)]['UUID'],'source':_0x937cfc,'base64Cache':_0x2217d5,'status':te[_0x4a0f6f(0x633)][_0x4a0f6f(0x5d4)]}),this[_0x4a0f6f(0x55a)]();};});}['_getUploadFileURL'](){const _0x2862bb=_0x1ab38c;var _0x2f25d6,_0x563f59;const _0x323f64=this[_0x2862bb(0x3fd)][_0x2862bb(0x489)](to),_0xb040d9=this[_0x2862bb(0x3fd)]['getConfig'](Z);return(_0x563f59=(_0x2f25d6=_0xb040d9==null?void 0x0:_0xb040d9['uploadFileServerUrl'])!=null?_0x2f25d6:_0x323f64)!=null?_0x563f59:io;}[_0x1ab38c(0x41a)](){const _0x3c149d=_0x1ab38c;var _0x1d55a3,_0x1badf1;const _0x13d379=this[_0x3c149d(0x3fd)][_0x3c149d(0x489)](no),_0x13b54d=this[_0x3c149d(0x3fd)][_0x3c149d(0x489)](Z);return(_0x1badf1=(_0x1d55a3=_0x13b54d==null?void 0x0:_0x13b54d[_0x3c149d(0x378)])!=null?_0x1d55a3:_0x13d379)!=null?_0x1badf1:ro;}[_0x1ab38c(0x373)](){const _0x4015dc=_0x1ab38c;var _0x47451a;const _0x289a62=this[_0x4015dc(0x3fd)]['getConfig'](Z);return(_0x47451a=_0x289a62==null?void 0x0:_0x289a62[_0x4015dc(0x62a)])!=null?_0x47451a:location['origin'];}['_replaceFileID'](_0x2b51ad,_0x2f5efa){const _0x201a38=_0x1ab38c;return _0x2b51ad[_0x201a38(0x5e1)](_0x201a38(0x390),_0x2f5efa);}[_0x1ab38c(0x55a)](){const _0x1c2577=_0x1ab38c;this[_0x1c2577(0x48e)]-=0x1,this['_change$'][_0x1c2577(0x2c0)](this[_0x1c2577(0x48e)]);}},exports[_0x1ab38c(0x16b)]=Zs([Et(0x0,a[_0x1ab38c(0x56d)](z['HTTPService'])),Et(0x1,a['IConfigService']),Et(0x2,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x585)]))],exports[_0x1ab38c(0x16b)]);var so=Object[_0x1ab38c(0x322)],oo=Object[_0x1ab38c(0x5da)],ao=(_0x4e6784,_0x1fddbc,_0x262c24,_0x3bb8a1)=>{const _0x500063=_0x1ab38c;for(var _0x225c17=_0x3bb8a1>0x1?void 0x0:_0x3bb8a1?oo(_0x1fddbc,_0x262c24):_0x1fddbc,_0x2e02dd=_0x4e6784[_0x500063(0x2b7)]-0x1,_0x3efa2a;_0x2e02dd>=0x0;_0x2e02dd--)(_0x3efa2a=_0x4e6784[_0x2e02dd])&&(_0x225c17=(_0x3bb8a1?_0x3efa2a(_0x1fddbc,_0x262c24,_0x225c17):_0x3efa2a(_0x225c17))||_0x225c17);return _0x3bb8a1&&_0x225c17&&so(_0x1fddbc,_0x262c24,_0x225c17),_0x225c17;},ui=(_0x577d9b,_0x4cecb3)=>(_0x1c9ba6,_0x5e09c2)=>_0x4cecb3(_0x1c9ba6,_0x5e09c2,_0x577d9b);const co=_0x1ab38c(0x366);exports['MentionIoHttpService']=class{constructor(_0x43c4f4,_0x162331){const _0x4fd549=_0x1ab38c;this[_0x4fd549(0x3fd)]=_0x43c4f4,this[_0x4fd549(0x3d0)]=_0x162331;}[_0x1ab38c(0x5f6)](){const _0x55fcfa=_0x1ab38c;var _0x268a50,_0x447876;const _0x172f13=this[_0x55fcfa(0x3fd)][_0x55fcfa(0x489)](xt),_0x371155=this[_0x55fcfa(0x3fd)][_0x55fcfa(0x489)](Z);return(_0x447876=(_0x268a50=_0x371155==null?void 0x0:_0x371155[_0x55fcfa(0x286)])!=null?_0x268a50:_0x172f13)!=null?_0x447876:co;}async[_0x1ab38c(0x1ef)](_0x2e5fb5){const _0xb9fa57=_0x1ab38c,_0x39ca80=this[_0xb9fa57(0x5f6)]()+'/collaborator';return{'list':[{'title':_0xb9fa57(0x528),'mentions':(await this[_0xb9fa57(0x3d0)][_0xb9fa57(0x3f9)](_0x39ca80,{'params':{'objectID':_0x2e5fb5[_0xb9fa57(0x1d7)],'unitID':_0x2e5fb5[_0xb9fa57(0x1d7)]}}))[_0xb9fa57(0x4cf)]['collaborators'][_0xb9fa57(0x4e4)](_0x5cce47=>({'objectId':_0x5cce47['id'],'name':_0x5cce47['subject'][_0xb9fa57(0x4e0)],'metadata':{'icon':_0x5cce47[_0xb9fa57(0x51a)][_0xb9fa57(0x639)]},'label':_0x5cce47[_0xb9fa57(0x51a)]['name'],'objectType':a[_0xb9fa57(0x4ef)][_0xb9fa57(0x19b)]})),'metadata':{},'type':a[_0xb9fa57(0x4ef)][_0xb9fa57(0x19b)]}]};}},exports[_0x1ab38c(0x3de)]=ao([ui(0x0,a['Inject'](a['IConfigService'])),ui(0x1,a[_0x1ab38c(0x56d)](z['HTTPService']))],exports[_0x1ab38c(0x3de)]);var lo=Object[_0x1ab38c(0x322)],ho=Object['getOwnPropertyDescriptor'],_o=(_0x2fa846,_0x33d271,_0x3dc720,_0x1d0a8b)=>{const _0x73e7f=_0x1ab38c;for(var _0x46df2d=_0x1d0a8b>0x1?void 0x0:_0x1d0a8b?ho(_0x33d271,_0x3dc720):_0x33d271,_0x42cb10=_0x2fa846[_0x73e7f(0x2b7)]-0x1,_0x58f285;_0x42cb10>=0x0;_0x42cb10--)(_0x58f285=_0x2fa846[_0x42cb10])&&(_0x46df2d=(_0x1d0a8b?_0x58f285(_0x33d271,_0x3dc720,_0x46df2d):_0x58f285(_0x46df2d))||_0x46df2d);return _0x1d0a8b&&_0x46df2d&&lo(_0x33d271,_0x3dc720,_0x46df2d),_0x46df2d;},Ne=(_0x1a9fe2,_0x12b495)=>(_0x542535,_0x963df7)=>_0x12b495(_0x542535,_0x963df7,_0x1a9fe2);let ot=class extends a[_0x1ab38c(0x579)]{constructor(_0x368946,_0x32933a,_0x1bcc6d,_0x3489ac,_0x2309b7){const _0x5c7f02=_0x1ab38c;super(),this[_0x5c7f02(0x2f8)]=_0x368946,this[_0x5c7f02(0x3b6)]=_0x32933a,this[_0x5c7f02(0x50b)]=_0x1bcc6d,this['_collaborationSessionService']=_0x3489ac,this[_0x5c7f02(0x1e1)]=_0x2309b7,this[_0x5c7f02(0x257)](),this[_0x5c7f02(0x5c2)]();}['_initCloseConn'](){const _0x5a8181=_0x1ab38c,_0x50da29=async _0x1273eb=>{const _0x382d64=_0x33d2;(await this[_0x382d64(0x5af)][_0x382d64(0x1e0)](_0x1273eb))[_0x382d64(0x4b8)]['pipe'](V['filter'](_0xc88328=>_0xc88328[_0x382d64(0x25e)]===m[_0x382d64(0x60d)]['SHOULD_CLOSE_CONN']),V['takeUntil'](this[_0x382d64(0x326)]))[_0x382d64(0x2cc)](_0x30b031=>{const _0x3226f0=_0x382d64,_0x565183=_0x30b031,{reason:_0x31bd35}=_0x565183[_0x3226f0(0x372)];this[_0x3226f0(0x2f8)][_0x3226f0(0x3f9)](ee[_0x3226f0(0x592)])[_0x3226f0(0x19e)]({'type':Ce[_0x3226f0(0x16e)][_0x3226f0(0x527)],'content':this[_0x3226f0(0x1e1)]['t'](_0x3226f0(0x4c1))+'('+_0x31bd35+')'}),this['_permissionService'][_0x3226f0(0x3f0)](new k[(_0x3226f0(0x269))](_0x1273eb)['id'],!0x1),this[_0x3226f0(0x5af)][_0x3226f0(0x40a)](_0x1273eb);});};N[_0x5a8181(0x24f)](this['_univerInstanceService'][_0x5a8181(0x1c4)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x5a8181(0x3b6)][_0x5a8181(0x1c4)](a[_0x5a8181(0x564)]['UNIVER_DOC']))[_0x5a8181(0x21a)](V[_0x5a8181(0x4e4)](_0x58327b=>_0x58327b[_0x5a8181(0x2f9)]()),V[_0x5a8181(0x4b6)](_0x280308=>!a['isInternalEditorID'](_0x280308)),V[_0x5a8181(0x37c)](this['dispose$']))[_0x5a8181(0x2cc)](_0x2e98b7=>{_0x50da29(_0x2e98b7);});}[_0x1ab38c(0x257)](){const _0x22f9e4=_0x1ab38c,_0x14785b=async _0x175049=>{const _0x9c7094=_0x33d2;(await this['_collaborationSessionService'][_0x9c7094(0x1e0)](_0x175049))['event$']['pipe'](V[_0x9c7094(0x4b6)](_0x12f898=>_0x12f898[_0x9c7094(0x25e)]===m[_0x9c7094(0x60d)]['UPDATE_PERMISSION_OBJ']),V[_0x9c7094(0x37c)](this['dispose$']))[_0x9c7094(0x2cc)](_0x5ec380=>{const _0x3b5833=_0x9c7094,_0x8425d6=_0x5ec380,{objectId:_0x295937}=_0x8425d6[_0x3b5833(0x372)],_0x3bec84=this[_0x3b5833(0x2f8)][_0x3b5833(0x3f9)](Le[_0x3b5833(0x521)]);_0x295937===_0x175049?_0x3bec84[_0x3b5833(0x4cb)](_0x175049):_0x3bec84[_0x3b5833(0x4eb)](_0x175049,_0x295937);});};N[_0x22f9e4(0x24f)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x22f9e4(0x564)][_0x22f9e4(0x2e0)]),this[_0x22f9e4(0x3b6)][_0x22f9e4(0x1c4)](a[_0x22f9e4(0x564)]['UNIVER_DOC']))[_0x22f9e4(0x21a)](V[_0x22f9e4(0x4e4)](_0x2f1680=>_0x2f1680[_0x22f9e4(0x2f9)]()),V[_0x22f9e4(0x4b6)](_0x258171=>!a[_0x22f9e4(0x220)](_0x258171)),V[_0x22f9e4(0x37c)](this[_0x22f9e4(0x326)]))['subscribe'](_0x2c38c5=>{_0x14785b(_0x2c38c5);});}};ot=_o([Ne(0x0,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),Ne(0x1,a['IUniverInstanceService']),Ne(0x2,a[_0x1ab38c(0x47f)]),Ne(0x3,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x1fc)])),Ne(0x4,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x394)]))],ot);function _0x2a33(){const _0x5c05a9=['session.will-retry','MentionType','createCollaborator','onload','COMPRESS_MUTATION_SEND','_socketReady','getCurrentUser','collabStatus.syncing','reqId','engine','_status$','then','collab-text-range-','_undoStacks','Pkcs7','call','_substituteUndoStack','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','allowed','enableSingleActiveInstanceLock','lib','roles','SEND_CHANGESET_TIMEOUT','routeKey','_fetchMissChangesets','WebSocketService','jsxs','min','HTTPRequest','_permissionService','Shape','FAIL','csAckEvent','_drawAnchor','ImageSourceType','JOIN_ROOM_NOT_EXISTS','collabSubmitChangesetUrl','onPointerMove$','_telemetryInfo','[SyncedState]:\x20received\x20acknowledgement.','LocalCacheService','/universer-api/snapshot/','getLatestCsReqIdBySid','isPermissionRej','subject','_syncEditingCollabCursor','onRemoteRetry','collaboratorID','changesets','moveTo','getMergeData','SheetPermissionInitController','all','joinEvent','[PendingState]:\x20received\x20acknowledgement.','ivSize','currentColor','Error','People','put','clamp','handleMoveRange','_checkMissing','_redoStacks','_iKey','_state$','getMember','compose','_socketService','SYNCED','\x20-\x20','DataLoaderController','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','socketService','_initEventListeners','_hasher','_uiPartsService','snapshotServerUrl','getParam','_waitForHeartbeatResponse','cursorInfo','_onConnectionFailed','getRangePointData','getUndoRedoMutationParamsCache','InsertRangeMoveDownCommandId','slice','_httpService','_iv','LIVESHARE_NEW_HOST','xlink:href','editingUnit','_initCommandExecutedListener','getSheetBySheetId','_cursorShapes','decryptBlock','_hovered','_transformIMECache','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','Module','black','src','DocStateChangeManagerService','RETRY_CONNECTING_MAX_COUNT','_hash','unload','rev','infoRsp','commentUpdate$','_decreaseWaiting','@univerjs/engine-formula','/universer-api/snapshot','onSendChangeset','endColumn','univer-offline','CBC','close$','sessionStatus','LOCAL_CACHE_INTERVAL','UniverInstanceType','imageSourceType','InsertRangeMoveRightCommandId','_clearUndo','DisposableCollection','_transitionLocked','location','DeleteRangeMoveUpCommandId','IRemoteInstanceService','Inject','_lastPointer','getCurrentRevOfUnit','MD5','_imageIoService','cfg','offline','_toggleOffline','buffer','getSheetObject','rxjs','CipherParams','RxDisposable','clearInterval','type','react.element','/unit/','sheetId','UPDATE_CURSOR','M0\x200H16V16H0z','COMMENT_UPDATE','_startDocCollabCursor','Error\x20on\x20receiving\x20event','168489KwrYEy','IUniverInstanceService','_doProcessBlock','ref','members','_substituteRedoStack','IAuthzIoService','collabStatus.synced','_context','sheetID','_acknowledgedAwaitingChangeset','msCrypto','result','method','IMessageService','replaceState','HttpExport','getOffsetConfig','sessionStatus$','onTransformRemoteChangesetByIMECache','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_socket','LEAVE','distinctUntilChanged','executeCommand','useDependency','originalMeta','5269505eNVQRp','url(#off-line-single_clip0_910_343)','NodePositionConvertToCursor','[PendingState]:\x20unhandled\x20univer\x20type:\x20','hasOwnProperty','UnitEmbedded','not_collab','[FetchMissState]','handleInsertRow','Malformed\x20UTF-8\x20data','_instanceService','setCurrentUser','objectType','BlockCipherMode','m1Prime','_createHelper','_collaborationSessionService','AWAITING_WITH_PENDING','bottom','InsertColCommandId','VIEW_MAIN','_updateSubUnitFromURLParams','onRendered','indexOf','addEventListener','_toggleOnline','wsSessionTicketUrl','MoveRangeCommandId','InsertRowCommandId','IConfigService','_initResize','_color','__creator','MergeInterceptorFactory','3DkQjId','_initCloseConn','loadSheet','visibilitychange','jsx','isEditing','collaboration-client.config','clear','_docSyncEditingCollabCursorService','exports','SetWorksheetActivateCommand','transformMutation','_transformHistoryAndStateStack','SetTextSelectionsOperation','/universer-api/stream/file/upload','delete','14967300NaIzfE','addObject','fillRule','SUCCUSS','_userManagerService','_clearHeartbeatTimer','reject','?url=','POST','getOwnPropertyDescriptor','getInterceptPoints','words','CollaborationSocketService','state','unshift','onMouseMove','replace','newValue','_doFinalize','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNKNOWN_CMD','DOC_RANGE_TYPE','kdf','UNKNOWN_CODE','798660ywAyXX','_scheduleClearOtherTimer','/-/object/list','change$','Tools','_snapshotService','enc','onlineStatusIcon','CONFLICT','use','_append','evenodd','_notificationService','_getAPIPrefixPath','[OfflineState]:\x20received\x20acknowledgement.','UNIVER_PROJECT','className','getDocRanges','send','\x0aCurrent:\x20','delay','_prevBlock','state$','switchMap','triggerDblclick','_oKey','onPointerLeave$','TOO_MANY_REQUESTS','_beforeCloseService','equals','_refreshCollabCursors','/object/','_collabCursorState$','onRemoteAck','isTransformChangesetsSuccess','isTransformMutationsWithChangesetSuccess','CollaborationEvent','Encryptor','SHOULD_CLOSE_CONN','hidden','values','toString','_showConflictNotification','abs','[CollaborationSession]','permission.content','save','setInterval','_queuedRemoteChangesets','_resendTimeout','listRoles','roomMembers$','mapDocumentTypeToUniverType','text','ITelemetryService','UniverNetworkPlugin','_draw','HELLO','SHEET_VIEWPORT_KEY','useRef','parse','ILogService','Optional','newCsEvent','_unitID','downloadEndpointUrl','getSheetId','_socketMessageSubscription','_docTransformStateCacheService','1em','sendChangesetTimeout','_transformRemoteChangesetByStateCache','_throwTelemetryCollaborationNewChangeset','socket$','ImageUploadStatusType','key','&assign=','_registerRenderDependencies','encryptBlock','_removeCollabCursors','avatar','labelPosition','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_updateURLWithCurrentState','_lockTransition','pending','CollabrationImageIoService','getAncestorScale','c1Prime','MessageType','default','SNAPSHOT_INVALID_SNAPSHOT','2350584wNuYmC','getSkeleton','_renderManagerService','_unitStatus','UNIVER_SLIDE','collabStatus.offline','symbol','reset','IBeforeCloseService','Fragment','handleIRemoveCol','from','_assignedColors','fetchThroughInterceptors','handleIRemoveRow','DocSkeletonManagerService','_getLoginPath','_colorAssignService','updateMember','take','_sheetSkeletonManagerService','_docTransformSelectionsService','RevisionService','getCurrentSelections','OffLineSingle','onMissedChangesetFetched','_transformSelections','transformIMECache','colorChannel1','enableAuthServer','getUnitOnRev','SHA1','c2Prime','_createHandler','substr','randomUUID','DocSelectionManagerService','_syncEditingCollabCursorService','@univerjs/rpc','_textBubble','SessionStatus','application/json','PERSON','svg','JOIN_ROOM_PERMISSION_DENIED','show','EXCHANGE_SIGN_URL_SERVER_URL_KEY','resize','_getRedoStack','_initStatusComponent','/object','searchParams','?size=','blockSize','deleteCollaborator','COLLAB_SUBMIT_CHANGESET_URL','_pendingMutations','readInt32LE','onRemoteRej','concat','HmacSHA1','_clearScheduledTask','status$','complete','selection','/universer-api/user/session-ticket','_telemetryService','SetSelectionsOperation','[CollaborationState]:\x20apply\x20error!','_setupBeforeClosingHandler','_docClipboardService','contains','CollaborationStatusDisplay','workbook','_getSheetObject','_changesetSessionId','_getCtorByUniverType','useObservable','with','USERS_LEAVE','getActiveSheet','reverse','saveImage','getTypeOfUnitAdded$','collab-text-anchor-','set','runRefRangeMutations','Cipher','COMPLETION_FINISHED','_singleActiveUnitService','m2Prime','handleInsertRangeMoveRight','_replayCachedMutations','FileId','_onUserJoin','Undefined','NOT_COLLAB','LICENSE_DISTRO_REJECTED','children','_listenToOnlineEvent','attrs','transformChangesets','unitId','CollaborationController','ITransformService','_mode','clearTimeout','actions','UniverIcon','INVALID_ARGUMENT','_getSessionTicket','requireSession','_localeService','_schedule','red300','putCollaborators','IMentionIOService','csShouldRetryEvent','OFFLINE','setShapeProps','_session','range','reconnect','objectID','parseChangesetToProtocol','IUIPartsService','list','unsubscribe','_cipher','clipPath','transformRemoteChangeset','/block/','_event$','image/gif','entries','params','getImageSourceCache','commentUpdateEvent','toDisposable','CollaborationSessionService','getSheetBlock','_getCurrentRevision','awaiting_with_pending','_docSkeleton','_sessionStatus$','_cursor','_process','_roomMembers$','_onCursorDelete','_cachedData','Decryptor','createDecryptor','_onConflict','serializeCombRequest','unitId\x20is\x20not\x20found','findNodePositionByCharIndex','fillText','syncEditingCollabCursor','join','ColorKit','unknown','baseRev','bind','padding','_handleJoinEvent','onTransformState','_transformStateCache','getStateCache','pushState','pipe','onCommentUpdate','iterations','collaboration-session-retry','_saveCache','[CollaborationSessionService]','isInternalEditorID','capture','none','_commandService','div','startRow','isTransformMutationFailure','session','awaitingChangeset','_timeoutTimer','toggleOnline','post','setWaitCount','clone','_applyRemoteChangeset','_unitOnClients','_doCryptBlock','UPDATE_PERMISSION_OBJ','_clearRedo','message$','_getUndoStack','forwardRef','EmptyMutation','toRgbString','init','setShowComponents','SheetsSelectionsService','@univerjs/docs','univer-pro.collaboration-client-socket-service','collaboration-client.offline-data-not-saved','JOIN_ROOM_FULL','hostname','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_range','_id','on-line-single_clip0_910_349','CommentService','socket\x20open.','COLLAB_WEB_SOCKET_URL_KEY','_document','IUndoRedoService','_collaborationPaused','NO_OTHER_CLIENTS_EDITING','width','CHANGESET_REJ','_ENC_XFORM_MODE','_roomMembers','merge','RemoveRowCommandId','COLORS','deepClone','@univerjs/drawing','subunit','ICollaborationSocketService','height','_initUnitPermissionChange','stopTime','conflict.title','SUBMIT_CHANGESET','_transformUndoRedoStack','on-line-single','_handler','eventID','_collabSessionService','disposeUnit','AWAITING','_scheduleSaving','getDeserializedSheetBlock','_imageSourceCache','_getSaveTimeout','docStateChange$','collaboration_new_changeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','WorkbookEditablePermission','/universer-api/comb','Injector','onTransformRemoteChangesetByStateCache','IDocClipboardService','_xformMode','sid','extend','append','SNAPSHOT_URL_KEY','INGEST','x-univer-host','focused$','_revisionService','SetDocZoomRatioOperation','activeSheet$','_clearCollaborationTimeoutTimer','url(#on-line-single_clip0_910_349)','_collaborationController','/collaborator','_clearLocalCache','HEARTBEAT','getItem','confirm','getRelativeToViewportCoord','createEncryptor','JSONX','_invKeySchedule','LOGIN_URL_KEY','authzUrl','json','FETCH_MISSING','drawWith','_localCacheService','MUTATION','_disabled','top','isArray','verdancy600','DocCollaborationEntity','toLowerCase','tag','_updateLocalCache','_initStatusListener','trim','HttpImport','CollaborationStatus','LICENSE_IMPORT_SIZE_EXCEEDED','_onUserLeave','image/png','getCollabEntity$','prototype','_remoteChangesetQueue','Latin1','connection\x20error','_keyPriorReset','ILocalStorageService','transformUndoRedo','ALREADY_EXISTS','WebURLService','RichTextEditingMutation','_collabCursorController','_registerDependencies','flatMap','_onRemoteRetry','_commentService','registerBeforeClose','off-line-single','session.join-failed','@univerjs/sheets-ui','charCodeAt','[DataLoaderController]','now','EffectRefRangId','translate(.97)','roomMembers','_members','getSnapshotAPIPath','length','sheets','exhaustSavingTask','idSuffix','UniverCollaborationPlugin','_resendWithTimeout','_nRounds','/role','cursorInfo$','next','_handleHover','batchAllowed','_onConnectionOpen','5184664gfeZSU','_entities','_getMergeRange','format','_clearOtherTimers','handleDeleteRangeMoveLeft','backgroundColor','NodePositionConvertToRectRange','subscribe','CollaborationEntity','8gmTaMX','restore','_parse','_startCollaboration','toggleOffline','defaultProps','selections','StreamCipher','fill','_createInitialState','HEADER_MENU','_onRemoteChangeset','PasswordBasedCipher','updateOfflineData','Subject','storage','NOT_FOUND','_http','UNIVER_SHEET','_docSkeletonManagerService','__Key__','find','push','ACTIVE_UNIT_EVENT_CHANNEL','arc','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','getColor','_submitChangeset','410799oBfNyu','_backgroundColor','[PendingState]:\x20received\x20rejection.','rgba(255,\x20255,\x20255,\x200.01)','getTime','/universer-api/file/{fileID}/sign-url','_minBufferSize','ENSURE_SNAPSHOT_EXECUTION','transformStateCache','#fff','univer-online-status','_updateStatus','_unlockTransition','getValue','_injector','getUnitId','@univerjs/engine-render','isActive','_sendHeartbeatTimer','UnitSnapshot','14nVhJrI','[UniverCollaborationClientPlugin]','enableOfflineEditing','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','charAt','FETCH_MISS','url','Tooltip','getViewport','assign','ThemeService','loadOfflineData','execute','registerComponent','_retryCount','getUnitType','_shouldReportTelemetry','debounce','unit','file','addImageSourceCache','rng','univer-online-status-title','IDLE','@univerjs/core','getWorkbookSelections','[OfflineState]:\x20received\x20rejection.','session.collaboration-timeout','makeDirty','objects','dispose','socket\x20close','_scene','_saveTaskMap','PENDING','compute','defineProperty','onPointerEnter$','path','resourceIDs','dispose$','pad','hide','updatePermissionObjEvent','_collaborationTimeoutTimer','history','_reverseMap','href','addClipboardHook','MemberService','stringify','algo','_onJoinRoomEvent','[CollaborationEntity]','_sendingTimer','_localStorageService','LIVESHARE_FETCH_OPERATIONS','_anchorDot','status','_createHmacHelper','addObjects','YUUMI_URL_COL_OUT_OF_RANGE','generateRandomId','setParam','_initMergeInterceptor','_state','@univerjs/telemetry','DependentOn','getMemberID','endRow','_initDependencies','INTERNAL_ERROR','_selfUnitIDs','DesktopCollaborationStatusDisplayController','parseProtocolChangeset','TEXT','_isPermissionRej','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_onCombEvent','transformStack\x20failed!','setItem','startTime','_clearTimeoutTimer','conflict.content','HEARTBEAT_TIMEOUT','_anchor','ISnapshotServerService','UNIVER_DOC','NoPadding','_executeRemoteChangeset','off-line-single_clip0_910_343','_transformStack','includes','undoState','LIVESHARE_REQUEST_HOST','onMissingChangesets','APPLY_NON_SEQUENTIAL_REVISION','IURLService','rxjs/operators','_memberService','salt','round','_updateLocalCursor','onCommandExecuted','/universer-api/authz','_exhaustRemoteChangesetQueue','image/bmp','assignAColorForMemberID','ONLINE','size','sigBytes','OnLineSingle','debounceTime','onlyLocal','_retryConnectingTimer','collab-client.tooltip.reconnect','data','_getDownloadEndpointURL','/new_changes','DocIMEInputManagerService','isTransformMutationsWithChangesetFailure','_hideTimer','signUrlServerUrl','disableLocalCache','IContextService','setUndoRedoMutationParamsCache','takeUntil','_compressMutationService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','localeService','onlineStatus','getCoordByCell','Disposable','@univerjs/ui','touchDependencies','textEncoder','AES','liveShareOperation','UNAUTHENTICATED','WordArray','session.room-permission-denied','subscribeEvent','OpenSSL','ranges','_tryReconnect','$super','{fileID}','currentTheme$','has','unpad','LocaleService','CommandType','synced','_change$','collab-rect-range-','PERMISSION_REJ','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','sessionTicket','useCallback','registerOnClose','icon','getOwnPropertySymbols','USERS_ENTER','HTTPService','string','_createSocket','onReady','COLLAB_SUBMIT_CHANGESET_URL_KEY','_getScale','Base64','MSG_FOR_ERROR','/universer-api/oidc/authpage','subUnitId','transformSelections','SerializableCipher','_ws','_doReset','every','getVpScrollXYInfoByPosToVp','[SyncedState]:\x20received\x20rejection.','_data','_docStateChangeManagerService','asObservable','_drawRectRange','_univerInstanceService','_getAPIPrefix','random','_handleLeaveEvent','EvpKDF','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_docTransformIMECacheService','BehaviorSubject','handleDeleteRangeMoveUp','_ensureSubject','JOINING','APPLY_PERMISSION_DENIED','displayName','LICENSE_MAX_UNITS_EXCEEDED','Unknown\x20user','startsWith','saveSnapshot','getImage','onTransformIME','Rectangle','_themeService','_incrementRevisionNumber','_sheetTransformSelectionsService','csRejEvent','resend','decrypt','_HTTPService','combineLatest','lineTo','_name','unitID','UNIVER_COLLABORATION_CLIENT_PLUGIN','updateCursorEvent','awaiting','SheetCollaborationEntity','_messageService','defIds','CollaborationSession','handleInsertCol','_replaceFileID','MentionIoHttpService','getCollabCursors$','_initRequestHeader','YUUMI_RATE_OVER_LIMIT','function','0\x200\x2017\x2016','HMAC','APPLY_REJECT','CHANGESET_SHOULD_RETRY','CHANGESET_REVISION_CONFILICT','_disableEditing','_changesetReqId','substring','_refRangeService','mixIn','add','setAlpha','cmd','updatePermissionPoint','GLOBAL_ROOMS_CNT_EXCEEDS','_getAnchorBounding','_sender','forEach','_sendHeartbeat','registerRenderModule','ceil','_removeRoom','get','revision','_type','_snapshotServerService','_configService','catch','_setupSubUnitSync','CONNECTOR_DATA_TOO_LARGE','doc.mutation.rich-text-editing','_loadDoc','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','FromArray','CHANGESET_ACK','snapshot','skeleton','headers','_resendTimer','closeSession','fromEventSubject','_listenToOfflineEvent','Hasher','_createInitialStateImpl','_updateState','redoState','_onOffline','max','/rev/','/-/object/-/batch_allowed','UNDEFINED','UserManagerService','_onRecvEvent','some','_init','_getSignURL','crypto','ERROR_EXCEED_SIZE','responseType','patch','_rescheduleHeartbeat','shouldCloseConn','currentSkeleton$','_entityInit$','COMPRESS_MUTATION_APPLY','UniverCollaborationClientPlugin','getFocusedUnit','_scheduleHeartbeat','_urlService','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','deserializeRangeWithSheet','_joinRoom','color','OTHER_CLIENTS_EDITING','_onCursorUpdate','getCollabEntity','@univerjs/network','ICommandService','@univerjs-pro/collaboration','_heartbeatTimer','encrypt','_getSendChangesetTimeout','transformMutationsWithChangeset','onTransformChange$','[CollaborationUndoRedoService]','userID','loginUrlKey','getUnhiddenWorksheets','hasher','setConfig','_startTelemetryCollaborationNewChangeset','mode','/allowed','createInstance','BufferedBlockAlgorithm','create','getRandomValues','apply','getRoom','jiqing500','removeMember','Rect','getRenderById','keySize','ciphertext','onStateChange','auth.needGotoLoginAlert','_online','setActiveRange','fetch_missing','collabStatus.conflict','onRemoteChangeset','onTransformSelections','SnapshotServerOverHTTPService','saveSheetBlock','AuthzIoHttpService','replaceDocRanges','blue400','readAsDataURL','submit\x20changeset\x20error!','_commentUpdate$','setTimeout','PERMISSION_DENIED','BlockCipher','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','serializeRangeWithSheet','b64DecodeUnicode','mergeOverrideWithDependencies','split','uni.network.url-service','NEW_CHANGESETS','_send','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','transformByState','&source=','purple300','onSyncEditingCollabCursor','incrementRevOfUnit','...','online','encode','Workbook','LOCAL_CACHE_INTERVAL_KEY','collabWebSocketUrl','_sessions','createElement','Warning','fetchMissingChangesets','SNAPSHOT_SERVER_URL_KEY','LIVESHARE_OPERATION','debug','measureText','pluginName','for','update','SheetCollabCursorShape','IPermissionService','textRanges','font','code','_socket$','RECV','_onRemoteRejected','TEXT_RANGE_LAYER_INDEX','setStateCache','_config','getConfig','registerRefRange','beginPath','_onRemoteACK','error','_waitCount','APPLY_REVISION_CONFILICT','Univer','APPLY_DUPLICATED','open$','univerjs-icon\x20univerjs-icon-','floor','_removeClearOtherTimer','conflict','requestParams','roomInfos','_eventUnsubscribe','sin','_candidateSocket','_scheduleTimestamp','override','univer-pro.collaboration-client.single-active-unit-service','_updateCollabCursors','fromCharCode','unit-cache-','fetchMiss','_shapes','_transformRemoteChangesetByIMECache','BASE64','_nDataBytes','duration','urlChange$','Utf8','collabStatus.fetchMiss','_loadSheet','hovered','createSocket','disposeWithMe','_cursorInfo$','fillStyle','SnapshotService','CompressMutationService','_labelPosition','UNIVER_UNKNOWN','interceptor','filter','_onLocalMutation','event$','ERROR_IMAGE','defs','_cursors','_transformService','YUUMI_SUBSCRIPTION_NOT_FOUND','current','_hover','collabCursorState$','collaboration.closeRoom','randomBytes','memberID','HEARTBEAT_TIMEOUT_KEY','_awaitingChangeset','IImageIoService','encodeURIComponent','@univerjs/sheets','AUTHZ_URL_KEY','handleInsertRangeMoveDown','initWorkbookPermissionChange','collabStatus.notCollab','getTypeOfUnitDisposed$','_stopTelemetryCollaborationNewChangeset','body','fromEvent','DeleteRangeMoveLeftCommandId','close','_logService','UNRECOGNIZED','createIdentifier','loadDoc','appendMutation','Base','registerHTTPInterceptor','withCredentials','_undoRedoService','_keySchedule','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','fromCollab','_handleHeartbeatEvent','name','copyFileMeta','_map','finalize','map','Hex','_onRefRangeChange','_createSocketURL','PSEUDO_FETCH_MISSING_RESULT','liveShareNewHost','mutations','refreshPermission','JOIN','Vector2'];_0x2a33=function(){return _0x5c05a9;};return _0x2a33();}var uo=Object[_0x1ab38c(0x322)],fo=Object[_0x1ab38c(0x5da)],vo=(_0x4dcbe6,_0x4f898f,_0xb1e508,_0x49cb8d)=>{const _0x4ba05f=_0x1ab38c;for(var _0xc29184=_0x49cb8d>0x1?void 0x0:_0x49cb8d?fo(_0x4f898f,_0xb1e508):_0x4f898f,_0x569242=_0x4dcbe6[_0x4ba05f(0x2b7)]-0x1,_0x3dd8b0;_0x569242>=0x0;_0x569242--)(_0x3dd8b0=_0x4dcbe6[_0x569242])&&(_0xc29184=(_0x49cb8d?_0x3dd8b0(_0x4f898f,_0xb1e508,_0xc29184):_0x3dd8b0(_0xc29184))||_0xc29184);return _0x49cb8d&&_0xc29184&&uo(_0x4f898f,_0xb1e508,_0xc29184),_0xc29184;},di=(_0x10b70d,_0x3207be)=>(_0x44cff6,_0x284a9e)=>_0x3207be(_0x44cff6,_0x284a9e,_0x10b70d);exports[_0x1ab38c(0x454)]=class{constructor(_0x5ec91f,_0x4c43ca){const _0x46d423=_0x1ab38c;this[_0x46d423(0x3fd)]=_0x5ec91f,this[_0x46d423(0x544)]=_0x4c43ca;}async[_0x1ab38c(0x18f)](_0x26f827,_0x239554){const _0x58d497=_0x1ab38c;var _0x3cd21f;const {unitID:_0x156514,type:_0x5909a0,revision:_0x1a0004=0x0}=_0x239554,_0x1c4eea=this[_0x58d497(0x2b6)]()+'/'+_0x5909a0+_0x58d497(0x57d)+_0x156514+_0x58d497(0x413)+_0x1a0004,_0x493546=(await this[_0x58d497(0x544)][_0x58d497(0x3f9)](_0x1c4eea))[_0x58d497(0x4cf)],_0x3478b2=(_0x3cd21f=_0x493546[_0x58d497(0x406)])==null?void 0x0:_0x3cd21f[_0x58d497(0x1ba)];if(_0x3478b2){const _0x586187=_0x3478b2==null?void 0x0:_0x3478b2[_0x58d497(0x59e)],_0x7c46b4=m[_0x58d497(0x385)]['encode'](m['b64DecodeUnicode'](_0x586187));_0x3478b2[_0x58d497(0x59e)]=_0x7c46b4,Object[_0x58d497(0x1f7)](_0x3478b2[_0x58d497(0x2b8)])[_0x58d497(0x3f4)](([,_0x11c23b])=>{const _0xab87d0=_0x58d497,_0x5e848b=_0x11c23b[_0xab87d0(0x59e)],_0x33ae58=m['textEncoder'][_0xab87d0(0x46f)](m[_0xab87d0(0x461)](_0x5e848b));_0x11c23b[_0xab87d0(0x59e)]=_0x33ae58;});}return _0x493546;}async[_0x1ab38c(0x1fd)](_0x22a4a8,_0x36b42a){const _0x1272d=_0x1ab38c,{unitID:_0x1a1b6e,type:_0x4426ff,blockID:_0x4b330f}=_0x36b42a,_0xb7912d=this[_0x1272d(0x3b7)]()+'/'+_0x4426ff+_0x1272d(0x57d)+_0x1a1b6e+_0x1272d(0x1f4)+_0x4b330f;return(await this[_0x1272d(0x544)][_0x1272d(0x3f9)](_0xb7912d))[_0x1272d(0x4cf)];}async[_0x1ab38c(0x263)](_0x546310,_0x33e78a){const _0x41bb2b=_0x1ab38c,{unitID:_0x4ba594,type:_0x13130d,blockID:_0x4aaa49}=_0x33e78a,_0x3286d8=this[_0x41bb2b(0x3b7)]()+'/block/'+_0x13130d+_0x41bb2b(0x57d)+_0x4ba594+_0x41bb2b(0x1f4)+_0x4aaa49;return(await this['_httpService'][_0x41bb2b(0x3f9)](_0x3286d8))[_0x41bb2b(0x4cf)];}async[_0x1ab38c(0x476)](_0x1575a5,_0x83cd91){const _0x31bad4=_0x1ab38c,{unitID:_0x124654,type:_0x146e00,from:_0xf1191f,to:_0x42972b}=_0x83cd91,_0x3203eb=this[_0x31bad4(0x3b7)]()+'/'+_0x146e00+_0x31bad4(0x57d)+_0x124654+'/fetchmissing?from='+_0xf1191f+'&to='+_0x42972b;return(await this[_0x31bad4(0x544)][_0x31bad4(0x3f9)](_0x3203eb))['body'];}[_0x1ab38c(0x2b6)](){const _0x519cce=_0x1ab38c;var _0x561947;return(_0x561947=this[_0x519cce(0x3fd)]['getConfig'](vi))!=null?_0x561947:this['_getAPIPrefix']();}[_0x1ab38c(0x3b7)](){const _0x9f5430=_0x1ab38c;var _0x34c8f2,_0x5902ea;const _0x474c4e=this[_0x9f5430(0x3fd)][_0x9f5430(0x489)](fi),_0x58da9e=this[_0x9f5430(0x3fd)]['getConfig'](Z);return(_0x5902ea=(_0x34c8f2=_0x58da9e==null?void 0x0:_0x58da9e[_0x9f5430(0x53b)])!=null?_0x34c8f2:_0x474c4e)!=null?_0x5902ea:qi;}async['getResourcesRequest'](_0x29a204,_0x4684ca){const _0x25fb89=_0x1ab38c,_0x4f9f4a=_0x25fb89(0x517)+_0x4684ca['type']+_0x25fb89(0x57d)+_0x4684ca[_0x25fb89(0x3d4)]+'/resources';return(await this[_0x25fb89(0x544)][_0x25fb89(0x3f9)](_0x4f9f4a,{'params':{'resourceId':JSON[_0x25fb89(0x330)](_0x4684ca[_0x25fb89(0x325)])}}))['body'];}[_0x1ab38c(0x3c6)](){const _0x42aa76=_0x1ab38c;throw new Error(_0x42aa76(0x3bb));}[_0x1ab38c(0x455)](){const _0x145baf=_0x1ab38c;throw new Error(_0x145baf(0x3bb));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1ab38c(0x4e1)](){const _0x394645=_0x1ab38c;throw new Error(_0x394645(0x3bb));}[_0x1ab38c(0x518)](){const _0x42a0d8=_0x1ab38c;throw new Error(_0x42a0d8(0x3bb));}},exports[_0x1ab38c(0x454)]=vo([di(0x0,a[_0x1ab38c(0x5bc)]),di(0x1,a['Inject'](z[_0x1ab38c(0x3a1)]))],exports['SnapshotServerOverHTTPService']);var So=Object['defineProperty'],po=Object[_0x1ab38c(0x5da)],mo=(_0xb1efa9,_0x2ea90d,_0x3a291b,_0x12ad89)=>{const _0x345f8f=_0x1ab38c;for(var _0x3d87c4=_0x12ad89>0x1?void 0x0:_0x12ad89?po(_0x2ea90d,_0x3a291b):_0x2ea90d,_0x450b48=_0xb1efa9[_0x345f8f(0x2b7)]-0x1,_0xf524f9;_0x450b48>=0x0;_0x450b48--)(_0xf524f9=_0xb1efa9[_0x450b48])&&(_0x3d87c4=(_0x12ad89?_0xf524f9(_0x2ea90d,_0x3a291b,_0x3d87c4):_0xf524f9(_0x3d87c4))||_0x3d87c4);return _0x12ad89&&_0x3d87c4&&So(_0x2ea90d,_0x3a291b,_0x3d87c4),_0x3d87c4;},Ae=(_0x478108,_0xb4fceb)=>(_0x37ab22,_0x1bad41)=>_0xb4fceb(_0x37ab22,_0x1bad41,_0x478108);let yt=class extends a['LocalUndoRedoService']{constructor(_0x360879,_0x41eda6,_0x516b36,_0x2e32e8,_0x5a4d98){const _0x773c18=_0x1ab38c;super(_0x360879,_0x41eda6,_0x516b36),this['_transformService']=_0x2e32e8,this[_0x773c18(0x4d3)]=_0x5a4d98;}[_0x1ab38c(0x2a2)](_0x5e274e,_0x5a5293){const _0x3d3dcb=_0x1ab38c,_0x5efc8c=this[_0x3d3dcb(0x234)](_0x5e274e);if(_0x5efc8c)try{const _0x1802dd=this['_transformStack'](_0x5efc8c,_0x5a5293);this[_0x3d3dcb(0x4fe)](_0x5e274e,_0x1802dd);}catch(_0x30e4f1){this[_0x3d3dcb(0x4d3)][_0x3d3dcb(0x48d)](_0x3d3dcb(0x437),_0x30e4f1),this[_0x3d3dcb(0x567)](_0x5e274e);}const _0x457dfd=this[_0x3d3dcb(0x1a1)](_0x5e274e);if(_0x457dfd)try{const _0x3a6612=this[_0x3d3dcb(0x359)](_0x457dfd,_0x5a5293);this[_0x3d3dcb(0x589)](_0x5e274e,_0x3a6612);}catch(_0xd72d74){this[_0x3d3dcb(0x4d3)][_0x3d3dcb(0x48d)](_0xd72d74),this[_0x3d3dcb(0x232)](_0x5e274e);}}['_clearUndo'](_0x32e78d){const _0x2b8b79=_0x1ab38c,_0x3c1978=this[_0x2b8b79(0x234)](_0x32e78d);_0x3c1978&&(_0x3c1978[_0x2b8b79(0x2b7)]=0x0,this[_0x2b8b79(0x2f5)]());}['_clearRedo'](_0x1c0c5c){const _0x428369=_0x1ab38c,_0x516c35=this['_getRedoStack'](_0x1c0c5c);_0x516c35&&(_0x516c35[_0x428369(0x2b7)]=0x0,this[_0x428369(0x2f5)]());}[_0x1ab38c(0x4fe)](_0x8df9ed,_0x2ff961){const _0x5b74f0=_0x1ab38c;this[_0x5b74f0(0x4fb)][_0x5b74f0(0x1c6)](_0x8df9ed,_0x2ff961),this[_0x5b74f0(0x2f5)]();}[_0x1ab38c(0x589)](_0x3b471a,_0x52091f){const _0x331a69=_0x1ab38c;this[_0x331a69(0x52d)]['set'](_0x3b471a,_0x52091f),this['_updateStatus']();}[_0x1ab38c(0x359)](_0x1c3c6a,_0x5e30c6){const _0xf029b3=_0x1ab38c,_0x544303=[];let _0x3dedd8=_0x5e30c6,_0x232a34=_0x5e30c6;for(let _0x5742a3=_0x1c3c6a[_0xf029b3(0x2b7)]-0x1;_0x5742a3>=0x0;_0x5742a3--){const {unitID:_0x1db17f,undoMutations:_0x40c282,redoMutations:_0x41f837}=_0x1c3c6a[_0x5742a3],_0x348ecc=this[_0xf029b3(0x4bc)]['transformMutationsWithChangeset'](_0x3dedd8,_0x40c282),_0x36766c=this[_0xf029b3(0x4bc)][_0xf029b3(0x435)](_0x232a34,_0x41f837);if(m[_0xf029b3(0x376)](_0x348ecc)||m[_0xf029b3(0x376)](_0x36766c)){this[_0xf029b3(0x4d3)][_0xf029b3(0x48d)](_0xf029b3(0x437),_0xf029b3(0x34d),_0x348ecc,_0x36766c);break;}_0x3dedd8=_0x348ecc[_0xf029b3(0x16d)],_0x232a34=_0x36766c[_0xf029b3(0x16d)],_0x544303[_0xf029b3(0x2e4)]({'unitID':_0x1db17f,'undoMutations':_0x348ecc[_0xf029b3(0x1cb)],'redoMutations':_0x36766c[_0xf029b3(0x1cb)]});}return _0x544303[_0xf029b3(0x1c2)]();}};yt=mo([Ae(0x0,a[_0x1ab38c(0x585)]),Ae(0x1,a[_0x1ab38c(0x430)]),Ae(0x2,a[_0x1ab38c(0x37a)]),Ae(0x3,m[_0x1ab38c(0x1d9)]),Ae(0x4,a['ILogService'])],yt);class ki extends a['RxDisposable']{constructor(){const _0x3759c0=_0x1ab38c;super(),I(this,_0x3759c0(0x4a8)),this[_0x3759c0(0x4a8)]=N['fromEvent'](window,'popstate')['pipe'](N['takeUntil'](this[_0x3759c0(0x326)]),N['shareReplay'](0x1),N['mapTo'](void 0x0));}[_0x1ab38c(0x33d)](_0x5889ea,_0x4934e6,_0x27d519=!0x1){const _0x57b5a0=_0x1ab38c,_0x22c38d=new URL(window[_0x57b5a0(0x56a)][_0x57b5a0(0x32d)]);_0x22c38d[_0x57b5a0(0x1a4)][_0x57b5a0(0x1c6)](_0x5889ea,_0x4934e6),_0x27d519?window['history'][_0x57b5a0(0x593)]('','',_0x22c38d[_0x57b5a0(0x612)]()):window[_0x57b5a0(0x32b)]['pushState']('','',_0x22c38d[_0x57b5a0(0x612)]());}['removeParam'](_0x3e90c2,_0x2e4818=!0x1){const _0x46d09a=_0x1ab38c,_0x483c31=new URL(window['location'][_0x46d09a(0x32d)]);_0x483c31[_0x46d09a(0x1a4)]['delete'](_0x3e90c2),_0x2e4818?window[_0x46d09a(0x32b)]['replaceState']('','',_0x483c31[_0x46d09a(0x612)]()):window['history'][_0x46d09a(0x219)]('','',_0x483c31[_0x46d09a(0x612)]());}[_0x1ab38c(0x53c)](_0x23c4d2){const _0x4daf4b=_0x1ab38c;var _0x1bda3e;return(_0x1bda3e=new URL(window['location'][_0x4daf4b(0x32d)])[_0x4daf4b(0x1a4)]['get'](_0x23c4d2))!=null?_0x1bda3e:void 0x0;}}var Wi=Object['defineProperty'],go=Object['getOwnPropertyDescriptor'],Io=(_0xe77c42,_0x42d8f4,_0x401e21)=>_0x42d8f4 in _0xe77c42?Wi(_0xe77c42,_0x42d8f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x401e21}):_0xe77c42[_0x42d8f4]=_0x401e21,Co=(_0x4e156a,_0x5789c6,_0x20e602,_0x5d7065)=>{for(var _0x5b2d4c=_0x5d7065>0x1?void 0x0:_0x5d7065?go(_0x5789c6,_0x20e602):_0x5789c6,_0x2f7764=_0x4e156a['length']-0x1,_0xf463b;_0x2f7764>=0x0;_0x2f7764--)(_0xf463b=_0x4e156a[_0x2f7764])&&(_0x5b2d4c=(_0x5d7065?_0xf463b(_0x5789c6,_0x20e602,_0x5b2d4c):_0xf463b(_0x5b2d4c))||_0x5b2d4c);return _0x5d7065&&_0x5b2d4c&&Wi(_0x5789c6,_0x20e602,_0x5b2d4c),_0x5b2d4c;},Be=(_0x299c8a,_0x31a6ff)=>(_0x3c152e,_0x3fd7ad)=>_0x31a6ff(_0x3c152e,_0x3fd7ad,_0x299c8a),Eo=(_0x36c080,_0x2ca10e,_0x3d3841)=>Io(_0x36c080,_0x2ca10e+'',_0x3d3841);const bo=_0x1ab38c(0x3d5);exports[_0x1ab38c(0x424)]=class extends a['Plugin']{constructor(_0x1c7e7f=sn,_0x8cd1f5,_0x43c3dd,_0x5cc7ce,_0x463f06){const _0x55d985=_0x1ab38c;super(),this['_config']=_0x1c7e7f,this[_0x55d985(0x4d3)]=_0x8cd1f5,this[_0x55d985(0x173)]=_0x43c3dd,this[_0x55d985(0x2f8)]=_0x5cc7ce,this['_configService']=_0x463f06;const {..._0xeda17}=this[_0x55d985(0x488)];this[_0x55d985(0x3fd)][_0x55d985(0x43c)](Z,_0xeda17);}['onStarting'](){const _0xa753c0=_0x1ab38c;this[_0xa753c0(0x2a7)](),this[_0xa753c0(0x344)]();}[_0x1ab38c(0x3a4)](){const _0x51fe3b=_0x1ab38c;a[_0x51fe3b(0x384)](this[_0x51fe3b(0x2f8)],[[nt],[it]]);}[_0x1ab38c(0x5b5)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x5123ce=_0x1ab38c;var _0x24ce77,_0x2f32e8,_0x3148c2,_0x3bfd06;this[_0x5123ce(0x2f8)][_0x5123ce(0x392)](a['IUndoRedoService'])&&this[_0x5123ce(0x4d3)][_0x5123ce(0x48d)](_0x5123ce(0x2ff),_0x5123ce(0x268));const _0x5a5c52=[[a[_0x5123ce(0x248)],{'useClass':yt}],[exports[_0x5123ce(0x1fc)]],[Nt],[Lt,{'useClass':ki}],[exports[_0x5123ce(0x32f)]],[exports[_0x5123ce(0x516)]],[z[_0x5123ce(0x507)]],[Qe],[tt],[Ze],[et],[Ut],[rt],[st],[wt],[ot],[Pt,{'useClass':(_0x2f32e8=(_0x24ce77=this['_config'])==null?void 0x0:_0x24ce77[_0x5123ce(0x537)])!=null?_0x2f32e8:exports['CollaborationSocketService']}],[m[_0x5123ce(0x354)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x5123ce(0x58a)],{'useClass':exports[_0x5123ce(0x456)]}],[te[_0x5123ce(0x4c6)],{'useClass':exports['CollabrationImageIoService']}],[a[_0x5123ce(0x1e5)],{'useClass':exports[_0x5123ce(0x3de)]}],[exports['CollaborationController']],[exports['DataLoaderController']],[exports[_0x5123ce(0x347)]],[nt],[ye],[it]];(_0x3148c2=this['_config'])!=null&&_0x3148c2[_0x5123ce(0x501)]&&_0x5a5c52[_0x5123ce(0x2e4)]([at,{'useClass':$n}]),a['registerDependencies'](this[_0x5123ce(0x2f8)],a[_0x5123ce(0x462)](_0x5a5c52,(_0x3bfd06=this[_0x5123ce(0x488)])==null?void 0x0:_0x3bfd06[_0x5123ce(0x49d)]));}[_0x1ab38c(0x636)](){const _0x41ddae=_0x1ab38c;this[_0x41ddae(0x4ae)](this[_0x41ddae(0x173)][_0x41ddae(0x3f6)](a[_0x41ddae(0x564)]['UNIVER_DOC'],[Rt])),this[_0x41ddae(0x4ae)](this[_0x41ddae(0x173)][_0x41ddae(0x3f6)](a['UniverInstanceType']['UNIVER_SHEET'],[Ot]));}['_initDependencies'](){const _0x74d4be=_0x1ab38c;var _0x389f36,_0xb1c703;this['_injector'][_0x74d4be(0x3f9)](z['HTTPService'])[_0x74d4be(0x4d9)]({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x389f36=this['_config'])!=null&&_0x389f36[_0x74d4be(0x300)]||this[_0x74d4be(0x2f8)]['get'](exports[_0x74d4be(0x516)])[_0x74d4be(0x379)](),(_0xb1c703=this[_0x74d4be(0x488)])!=null&&_0xb1c703[_0x74d4be(0x18e)]&&a['touchDependencies'](this[_0x74d4be(0x2f8)],[[rt]]),a[_0x74d4be(0x384)](this[_0x74d4be(0x2f8)],[[st],[ye],[exports[_0x74d4be(0x535)]],[exports[_0x74d4be(0x1d8)]],[exports[_0x74d4be(0x347)]],[ot]]);}},Eo(exports[_0x1ab38c(0x424)],_0x1ab38c(0x47b),bo),exports[_0x1ab38c(0x424)]=Co([a[_0x1ab38c(0x341)](m[_0x1ab38c(0x2bb)],z[_0x1ab38c(0x620)]),Be(0x1,a['ILogService']),Be(0x2,Y['IRenderManagerService']),Be(0x3,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),Be(0x4,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=xt,exports[_0x1ab38c(0x167)]=Z,exports[_0x1ab38c(0x3a5)]=Ci,exports[_0x1ab38c(0x246)]=Si,exports[_0x1ab38c(0x297)]=K,exports[_0x1ab38c(0x1b9)]=$i,exports[_0x1ab38c(0x244)]=wt,exports['HEARTBEAT_INTERVAL_KEY']=pi,exports[_0x1ab38c(0x4c4)]=Dt,exports[_0x1ab38c(0x255)]=Pt,exports[_0x1ab38c(0x35f)]=Lt,exports[_0x1ab38c(0x471)]=Ii,exports['LOGIN_URL_KEY']=Ei,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=gi,exports['SEND_CHANGESET_TIMEOUT_KEY']=Ki,exports[_0x1ab38c(0x477)]=fi,exports['SNAPSHOT_URL_KEY']=vi,exports[_0x1ab38c(0x199)]=ne,exports[_0x1ab38c(0x47e)]=Mi,exports[_0x1ab38c(0x2a4)]=ki,exports['deserializeToCombResponse']=Ri,exports[_0x1ab38c(0x20a)]=Oi;