@univerjs-pro/collaboration-client 0.5.0-nightly.202411231605 → 0.5.0-nightly.202411241606

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 _0x543e24=_0x4acf;(function(_0x4ed19d,_0x116d9b){const _0x1934de=_0x4acf,_0x4c91c1=_0x4ed19d();while(!![]){try{const _0x3bd276=parseInt(_0x1934de(0x68a))/0x1+parseInt(_0x1934de(0x351))/0x2+parseInt(_0x1934de(0x3fc))/0x3*(-parseInt(_0x1934de(0x601))/0x4)+parseInt(_0x1934de(0x215))/0x5+parseInt(_0x1934de(0x4d9))/0x6*(parseInt(_0x1934de(0x39d))/0x7)+-parseInt(_0x1934de(0x2f5))/0x8+-parseInt(_0x1934de(0x515))/0x9;if(_0x3bd276===_0x116d9b)break;else _0x4c91c1['push'](_0x4c91c1['shift']());}catch(_0x32bf7e){_0x4c91c1['push'](_0x4c91c1['shift']());}}}(_0x6745,0x77096));var ji=Object[_0x543e24(0x685)],$i=(_0x1ff2db,_0x38d6b7,_0x2abb04)=>_0x38d6b7 in _0x1ff2db?ji(_0x1ff2db,_0x38d6b7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2abb04}):_0x1ff2db[_0x38d6b7]=_0x2abb04,I=(_0x34dc43,_0xb21009,_0x5e023d)=>$i(_0x34dc43,typeof _0xb21009!=_0x543e24(0x317)?_0xb21009+'':_0xb21009,_0x5e023d);Object[_0x543e24(0x685)](exports,Symbol[_0x543e24(0x593)],{'value':_0x543e24(0x336)});const a=require(_0x543e24(0x44b)),A=require('rxjs'),V=require(_0x543e24(0x5d4)),Ce=require(_0x543e24(0x27b)),z=require('@univerjs/network'),te=require(_0x543e24(0x55e)),p=require('@univerjs-pro/collaboration'),Hi=require(_0x543e24(0x477)),Ie=require(_0x543e24(0x66d)),J=require(_0x543e24(0x2a4)),k=require('@univerjs/sheets'),K=require(_0x543e24(0x347)),ie=require(_0x543e24(0x220)),Mt=require(_0x543e24(0x4e9)),ye=require(_0x543e24(0x54f)),ae=require(_0x543e24(0x551)),Bi=require(_0x543e24(0x4e4)),ii=_0x543e24(0x445),ki=_0x543e24(0x5f7),ni=_0x543e24(0x23b),Wi=_0x543e24(0x699),Fi=0x7d0,si=_0x543e24(0x1fd),Vi=_0x543e24(0x389),Gi=_0x543e24(0x338),ri='HEARTBEAT_INTERVAL',Yi=0x7530,Et=_0x543e24(0x60d),oi=0x4e20,Ki=0x4e20,ai=_0x543e24(0x33a),qi=0x3,ci=_0x543e24(0x5be),zi=0x3e8,li=_0x543e24(0x67c),Xi=_0x543e24(0x376),hi=_0x543e24(0x5f4),Ji=_0x543e24(0x219);var _i=(_0x26bda3=>(_0x26bda3[_0x26bda3[_0x543e24(0x34f)]=0x0]='UNDEFINED',_0x26bda3[_0x26bda3['OK']=0x1]='OK',_0x26bda3[_0x26bda3[_0x543e24(0x436)]=0x2]=_0x543e24(0x436),_0x26bda3[_0x26bda3['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x26bda3[_0x26bda3[_0x543e24(0x3af)]=0x4]=_0x543e24(0x3af),_0x26bda3[_0x26bda3[_0x543e24(0x205)]=0x5]=_0x543e24(0x205),_0x26bda3[_0x26bda3[_0x543e24(0x53b)]=0x6]='ALREADY_EXISTS',_0x26bda3[_0x26bda3['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x26bda3[_0x26bda3[_0x543e24(0x451)]=0x8]=_0x543e24(0x451),_0x26bda3[_0x26bda3[_0x543e24(0x28a)]=0x9]=_0x543e24(0x28a),_0x26bda3[_0x26bda3['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x26bda3[_0x26bda3[_0x543e24(0x556)]=0x1771]=_0x543e24(0x556),_0x26bda3[_0x26bda3[_0x543e24(0x2a7)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x26bda3[_0x26bda3['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x543e24(0x58e),_0x26bda3[_0x26bda3['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x26bda3[_0x26bda3[_0x543e24(0x40a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x26bda3[_0x26bda3[_0x543e24(0x25a)]=0x1b5b]=_0x543e24(0x25a),_0x26bda3[_0x26bda3[_0x543e24(0x5a9)]=0x1b5c]=_0x543e24(0x5a9),_0x26bda3[_0x26bda3[_0x543e24(0x34b)]=0x1b5d]=_0x543e24(0x34b),_0x26bda3[_0x26bda3[_0x543e24(0x38f)]=0x1f41]=_0x543e24(0x38f),_0x26bda3[_0x26bda3[_0x543e24(0x29d)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x26bda3[_0x26bda3[_0x543e24(0x526)]=0x232a]=_0x543e24(0x526),_0x26bda3[_0x26bda3[_0x543e24(0x504)]=0x232b]=_0x543e24(0x504),_0x26bda3[_0x26bda3[_0x543e24(0x48a)]=0x232c]=_0x543e24(0x48a),_0x26bda3[_0x26bda3[_0x543e24(0x608)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x26bda3[_0x26bda3['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x26bda3[_0x26bda3['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x543e24(0x2ec),_0x26bda3[_0x26bda3[_0x543e24(0x34e)]=0x2713]=_0x543e24(0x34e),_0x26bda3[_0x26bda3[_0x543e24(0x415)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x26bda3[_0x26bda3[_0x543e24(0x2a9)]=-0x1]=_0x543e24(0x2a9),_0x26bda3))(_i||{}),ne=(_0x10e254=>(_0x10e254[_0x10e254[_0x543e24(0x1db)]=0x0]='UNIVER_UNKNOWN',_0x10e254[_0x10e254[_0x543e24(0x395)]=0x1]='UNIVER_DOC',_0x10e254[_0x10e254[_0x543e24(0x34c)]=0x2]=_0x543e24(0x34c),_0x10e254[_0x10e254[_0x543e24(0x413)]=0x3]=_0x543e24(0x413),_0x10e254[_0x10e254[_0x543e24(0x1e2)]=0x4]=_0x543e24(0x1e2),_0x10e254[_0x10e254['UNRECOGNIZED']=-0x1]=_0x543e24(0x2a9),_0x10e254))(ne||{}),G=(_0xf50633=>(_0xf50633[_0xf50633[_0x543e24(0x5b2)]=0x0]=_0x543e24(0x5b2),_0xf50633[_0xf50633['HELLO']=0x1]='HELLO',_0xf50633[_0xf50633[_0x543e24(0x5a8)]=0x2]='JOIN',_0xf50633[_0xf50633['LEAVE']=0x3]=_0x543e24(0x694),_0xf50633[_0xf50633[_0x543e24(0x617)]=0x4]='INGEST',_0xf50633[_0xf50633[_0x543e24(0x671)]=0x5]=_0x543e24(0x671),_0xf50633[_0xf50633[_0x543e24(0x54a)]=0x6]=_0x543e24(0x54a),_0xf50633[_0xf50633[_0x543e24(0x2a9)]=-0x1]=_0x543e24(0x2a9),_0xf50633))(G||{}),bt=(_0x3836cf=>(_0x3836cf[_0x3836cf[_0x543e24(0x5f6)]=0x0]=_0x543e24(0x5f6),_0x3836cf[_0x3836cf['OK']=0x1]='OK',_0x3836cf[_0x3836cf[_0x543e24(0x263)]=0x2]=_0x543e24(0x263),_0x3836cf[_0x3836cf['JOIN_ROOM_FULL']=0x3e9]=_0x543e24(0x3ce),_0x3836cf[_0x3836cf[_0x543e24(0x4e3)]=0x3ea]='JOIN_ROOM_NOT_ALLOWED',_0x3836cf[_0x3836cf['UNRECOGNIZED']=-0x1]=_0x543e24(0x2a9),_0x3836cf))(bt||{}),ui=(_0x489e1a=>(_0x489e1a[_0x489e1a['Undefined']=0x0]=_0x543e24(0x416),_0x489e1a[_0x489e1a['HttpImport']=0x1]='HttpImport',_0x489e1a[_0x489e1a[_0x543e24(0x5e0)]=0x2]=_0x543e24(0x5e0),_0x489e1a[_0x489e1a[_0x543e24(0x651)]=0x3]=_0x543e24(0x651),_0x489e1a[_0x489e1a[_0x543e24(0x595)]=0x4]=_0x543e24(0x595),_0x489e1a[_0x489e1a[_0x543e24(0x2a9)]=-0x1]=_0x543e24(0x2a9),_0x489e1a))(ui||{});const Q=_0x543e24(0x525),Zi={};function di(_0x1557b7){const _0x22225d=_0x543e24;var _0x3c6add,_0x54a36a,_0x406415,_0x5cb6eb,_0x4d6c05;const _0x2dcebd=_0x1557b7['data'],_0x44c486=JSON['parse'](_0x2dcebd);switch(_0x44c486[_0x22225d(0x47a)]){case G['HEARTBEAT']:case G[_0x22225d(0x5b1)]:{const _0x5be1d8=_0x44c486['infoRsp'];return{..._0x44c486,'data':_0x5be1d8,'cmd':_0x44c486[_0x22225d(0x47a)]};}case G[_0x22225d(0x5a8)]:{const _0x10531f=_0x44c486[_0x22225d(0x372)];return{..._0x44c486,'data':_0x10531f,'cmd':_0x44c486[_0x22225d(0x47a)]};}case G[_0x22225d(0x54a)]:{const _0x50ada8=_0x44c486['collaMsg'];switch(_0x50ada8['eventID']){case p[_0x22225d(0x612)]['PERMISSION_REJ']:return{..._0x44c486,'data':{..._0x50ada8,'data':(_0x3c6add=_0x50ada8[_0x22225d(0x433)])==null?void 0x0:_0x3c6add['cs']},'cmd':_0x44c486[_0x22225d(0x47a)]};case p[_0x22225d(0x612)][_0x22225d(0x6a0)]:return{..._0x44c486,'data':{..._0x50ada8,'data':(_0x54a36a=_0x50ada8['csAckEvent'])==null?void 0x0:_0x54a36a['cs']},'cmd':_0x44c486[_0x22225d(0x47a)]};case p[_0x22225d(0x612)][_0x22225d(0x354)]:return{..._0x44c486,'data':{..._0x50ada8,'data':(_0x406415=_0x50ada8[_0x22225d(0x575)])==null?void 0x0:_0x406415['cs']},'cmd':_0x44c486[_0x22225d(0x47a)]};case p[_0x22225d(0x612)]['CHANGESET_REJ']:return{..._0x44c486,'data':{..._0x50ada8,'data':(_0x5cb6eb=_0x50ada8[_0x22225d(0x371)])==null?void 0x0:_0x5cb6eb['cs']},'cmd':_0x44c486['cmd']};case p['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x44c486,'data':{..._0x50ada8,'data':(_0x4d6c05=_0x50ada8[_0x22225d(0x532)])==null?void 0x0:_0x4d6c05['cs']},'cmd':_0x44c486[_0x22225d(0x47a)]};case p[_0x22225d(0x612)]['UPDATE_CURSOR']:return{..._0x44c486,'data':{..._0x50ada8,'data':_0x50ada8[_0x22225d(0x2eb)]},'cmd':_0x44c486[_0x22225d(0x47a)]};case p[_0x22225d(0x612)][_0x22225d(0x386)]:return{..._0x44c486,'data':{..._0x50ada8,'data':_0x50ada8['joinEvent']},'cmd':_0x44c486[_0x22225d(0x47a)]};case p[_0x22225d(0x612)]['USERS_LEAVE']:return{..._0x44c486,'data':{..._0x50ada8,'data':_0x50ada8['leaveEvent']},'cmd':_0x44c486[_0x22225d(0x47a)]};case p[_0x22225d(0x612)][_0x22225d(0x52a)]:return{..._0x44c486,'data':{..._0x50ada8,'data':_0x50ada8[_0x22225d(0x454)]},'cmd':_0x44c486[_0x22225d(0x47a)]};case p[_0x22225d(0x612)][_0x22225d(0x67d)]:case p[_0x22225d(0x612)][_0x22225d(0x5fe)]:return{..._0x44c486,'data':{..._0x50ada8,'data':_0x50ada8[_0x22225d(0x615)]},'cmd':_0x44c486[_0x22225d(0x47a)]};case p[_0x22225d(0x612)][_0x22225d(0x2ce)]:return{..._0x44c486,'data':{..._0x50ada8,'data':_0x50ada8[_0x22225d(0x454)]},'cmd':_0x44c486['cmd']};case p[_0x22225d(0x612)]['MSG_FOR_ERROR']:return{..._0x44c486,'data':_0x50ada8,'cmd':_0x44c486[_0x22225d(0x47a)]};case p[_0x22225d(0x612)][_0x22225d(0x370)]:return{..._0x44c486,'data':{..._0x50ada8,'data':_0x50ada8[_0x22225d(0x37b)]},'cmd':_0x44c486[_0x22225d(0x47a)]};case p['CollaborationEvent'][_0x22225d(0x440)]:return{..._0x44c486,'data':{..._0x50ada8,'data':_0x50ada8[_0x22225d(0x42c)]},'cmd':_0x44c486[_0x22225d(0x47a)]};case p['CollaborationEvent'][_0x22225d(0x2ac)]:return{..._0x44c486,'data':{..._0x50ada8,'data':_0x50ada8[_0x22225d(0x29b)]},'cmd':_0x44c486[_0x22225d(0x47a)]};default:return _0x44c486;}}default:return _0x44c486;}}function fi(_0x168ea7){const _0x313294=_0x543e24;switch(_0x168ea7[_0x313294(0x47a)]){case G[_0x313294(0x671)]:case G[_0x313294(0x5b1)]:return JSON[_0x313294(0x403)]({'cmd':_0x168ea7[_0x313294(0x47a)],'routeKey':_0x168ea7[_0x313294(0x61b)]});case G[_0x313294(0x617)]:{let _0x42fc15;switch(_0x168ea7[_0x313294(0x606)][_0x313294(0x62c)]){case p['CollaborationEvent']['UPDATE_CURSOR']:{_0x42fc15={'eventID':p[_0x313294(0x612)]['UPDATE_CURSOR'],'updateCursorEvent':_0x168ea7[_0x313294(0x606)][_0x313294(0x606)]};break;}case p[_0x313294(0x612)][_0x313294(0x3f0)]:{_0x42fc15={'eventID':p[_0x313294(0x612)][_0x313294(0x3f0)],'leaveEvent':_0x168ea7[_0x313294(0x606)]['data']};break;}case p[_0x313294(0x612)][_0x313294(0x386)]:{_0x42fc15={'eventID':p[_0x313294(0x612)][_0x313294(0x386)],'joinEvent':_0x168ea7[_0x313294(0x606)][_0x313294(0x606)]};break;}case p[_0x313294(0x612)][_0x313294(0x52a)]:{_0x42fc15={'eventID':p[_0x313294(0x612)][_0x313294(0x52a)],'liveShareNewHost':_0x168ea7[_0x313294(0x606)][_0x313294(0x606)]};break;}case p[_0x313294(0x612)][_0x313294(0x5fe)]:{_0x42fc15={'eventID':p[_0x313294(0x612)][_0x313294(0x5fe)],'liveShareOperation':_0x168ea7[_0x313294(0x606)][_0x313294(0x606)]};break;}case p['CollaborationEvent'][_0x313294(0x2ce)]:{_0x42fc15={'eventID':p[_0x313294(0x612)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x168ea7[_0x313294(0x606)][_0x313294(0x606)]};break;}case p['CollaborationEvent'][_0x313294(0x484)]:{_0x42fc15={'eventID':p[_0x313294(0x612)][_0x313294(0x484)],'liveShareRequestHost':_0x168ea7['data']['data']};break;}case p[_0x313294(0x612)][_0x313294(0x67d)]:{_0x42fc15={'eventID':p[_0x313294(0x612)][_0x313294(0x67d)]};break;}default:_0x42fc15={'eventID':_0x168ea7[_0x313294(0x606)][_0x313294(0x62c)]};}return JSON['stringify']({'cmd':_0x168ea7[_0x313294(0x47a)],'routeKey':_0x168ea7[_0x313294(0x61b)],'collaMsg':_0x42fc15});}case G[_0x313294(0x5a8)]:return JSON[_0x313294(0x403)]({'cmd':_0x168ea7[_0x313294(0x47a)],'routeKey':_0x168ea7[_0x313294(0x61b)],'joinReq':_0x168ea7[_0x313294(0x606)]});case G['LEAVE']:return JSON[_0x313294(0x403)]({'cmd':_0x168ea7[_0x313294(0x47a)],'routeKey':_0x168ea7[_0x313294(0x61b)],'leaveReq':_0x168ea7['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Qi=Object[_0x543e24(0x685)],en=Object[_0x543e24(0x3e8)],tn=(_0x3390ee,_0x4144ea,_0xe914bf,_0x506480)=>{const _0x1562d9=_0x543e24;for(var _0x19c0d6=_0x506480>0x1?void 0x0:_0x506480?en(_0x4144ea,_0xe914bf):_0x4144ea,_0x3eed0b=_0x3390ee[_0x1562d9(0x65c)]-0x1,_0x17bbf2;_0x3eed0b>=0x0;_0x3eed0b--)(_0x17bbf2=_0x3390ee[_0x3eed0b])&&(_0x19c0d6=(_0x506480?_0x17bbf2(_0x4144ea,_0xe914bf,_0x19c0d6):_0x17bbf2(_0x19c0d6))||_0x19c0d6);return _0x506480&&_0x19c0d6&&Qi(_0x4144ea,_0xe914bf,_0x19c0d6),_0x19c0d6;},Pe=(_0x24e1e3,_0xc3ac93)=>(_0x1cc93f,_0x3e0fca)=>_0xc3ac93(_0x1cc93f,_0x3e0fca,_0x24e1e3);const Tt=a[_0x543e24(0x364)](_0x543e24(0x54c));function nn(_0x13342d,_0x1b03f2,_0x7269ad){const _0x5ceb27=_0x543e24;return _0x13342d+'/'+_0x1b03f2+'/unit/'+_0x7269ad+_0x5ceb27(0x2f3);}exports['CollaborationSocketService']=class extends a['Disposable']{constructor(_0x5e3351,_0x3c9a68,_0x5919e1,_0x2c511f,_0x34193e){const _0x42194b=_0x543e24;super(),this[_0x42194b(0x446)]=_0x5e3351,this['_ws']=_0x3c9a68,this[_0x42194b(0x518)]=_0x5919e1,this[_0x42194b(0x5d8)]=_0x2c511f,this[_0x42194b(0x2ff)]=_0x34193e;}[_0x543e24(0x378)](_0x58e291){const _0x41a9ba=_0x543e24,_0x1e8f01=this['_ws'][_0x41a9ba(0x378)](_0x58e291);if(!_0x1e8f01)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x496a68=new a[(_0x41a9ba(0x2fa))](),_0x23cdf8=new A[(_0x41a9ba(0x4f2))]();_0x496a68['add'](_0x1e8f01['close$']['subscribe'](_0x2da2ee=>_0x23cdf8[_0x41a9ba(0x218)](_0x2da2ee))),_0x496a68['add'](a[_0x41a9ba(0x42e)](()=>_0x23cdf8[_0x41a9ba(0x3db)]()));const _0xa50dab=new A['Subject']();_0x496a68['add'](_0x1e8f01['error$'][_0x41a9ba(0x397)](_0x279459=>_0xa50dab[_0x41a9ba(0x218)](_0x279459))),_0x496a68[_0x41a9ba(0x43c)](a[_0x41a9ba(0x42e)](()=>_0xa50dab['complete']()));const _0x193027=new A[(_0x41a9ba(0x4f2))]();_0x496a68['add'](_0x1e8f01[_0x41a9ba(0x5b3)]['subscribe'](_0x30e90d=>{const _0x1f5487=_0x41a9ba,_0x30dbe3=di(_0x30e90d);_0x193027[_0x1f5487(0x218)](_0x30dbe3);})),_0x496a68['add'](a[_0x41a9ba(0x42e)](()=>_0x193027['complete']()));let _0x185fb2;const _0x57e213=()=>{const _0x3d6ffc=_0x41a9ba;_0xa50dab[_0x3d6ffc(0x218)](new Event('connection\x20error')),_0x23cdf8[_0x3d6ffc(0x218)](new CloseEvent(_0x3d6ffc(0x25e))),_0x185fb2[_0x3d6ffc(0x47d)]();};return _0x185fb2={'memberID':'','close$':_0x23cdf8[_0x41a9ba(0x1ea)](),'error$':_0xa50dab['asObservable'](),'open$':_0x1e8f01[_0x41a9ba(0x48d)],'message$':_0x193027[_0x41a9ba(0x1ea)](),'send':_0x3c6323=>{const _0x1d0b65=_0x41a9ba;if(_0x3c6323[_0x1d0b65(0x47a)]===G[_0x1d0b65(0x617)]){if(_0x3c6323[_0x1d0b65(0x606)][_0x1d0b65(0x62c)]===p[_0x1d0b65(0x612)]['SUBMIT_CHANGESET']){this[_0x1d0b65(0x686)](_0x185fb2,_0x3c6323['data'])[_0x1d0b65(0x4f8)](_0xe44f99=>{const _0x85bd90=_0x1d0b65;this[_0x85bd90(0x5d8)][_0x85bd90(0x624)](_0xe44f99),_0x57e213();});return;}if(_0x3c6323[_0x1d0b65(0x606)]['eventID']===p[_0x1d0b65(0x612)][_0x1d0b65(0x57f)]){const _0x17d8b9=_0x3c6323['data'];this[_0x1d0b65(0x638)](_0x17d8b9)[_0x1d0b65(0x4c2)](_0x491cba=>{const _0xc34518=_0x1d0b65;_0x193027['next']({'cmd':G[_0xc34518(0x54a)],'code':bt['OK'],'routeKey':_0x17d8b9[_0xc34518(0x606)]['unitID'],'routeType':'','data':{'eventID':p['CollaborationEvent'][_0xc34518(0x258)],'data':{'changesets':_0x491cba}}});})[_0x1d0b65(0x4f8)](_0x1ebc66=>{const _0x5e9281=_0x1d0b65;this['_logService'][_0x5e9281(0x624)](_0x1ebc66),_0x57e213();});return;}}_0x1e8f01[_0x1d0b65(0x4f3)](fi(_0x3c6323));},'close':()=>{const _0x42e696=_0x41a9ba;_0x1e8f01['close'](),_0x496a68[_0x42e696(0x5db)]();}},_0x185fb2;}async['_submitChangeset'](_0x56666e,_0x241e88){const _0x49e644=_0x543e24;var _0x14be07,_0x13edea;const {unitType:_0xda5d33,unitID:_0x28ce9d,changeset:_0x50e876}=_0x241e88['data'],_0x252ce0={'unitID':_0x28ce9d,'memberID':_0x56666e[_0x49e644(0x49c)],'type':_0xda5d33,'changeset':p['parseChangesetToProtocol'](_0x50e876)},_0x416573=this[_0x49e644(0x518)][_0x49e644(0x46d)](li),_0x169580=this[_0x49e644(0x518)][_0x49e644(0x46d)](Q),_0xda56af=nn((_0x13edea=(_0x14be07=_0x169580==null?void 0x0:_0x169580['collabSubmitChangesetUrl'])!=null?_0x14be07:_0x416573)!=null?_0x13edea:Xi,_0xda5d33,_0x28ce9d);try{await this[_0x49e644(0x446)][_0x49e644(0x234)](_0xda56af,{'body':_0x252ce0});}catch(_0x2a2172){throw this[_0x49e644(0x5d8)]['error'](_0x49e644(0x516),_0x49e644(0x26e)),_0x2a2172;}}async['_fetchMissChangesets'](_0x3ba735){const _0x11b41d=_0x543e24,{unitID:_0x470061,from:_0x2a2b95,to:_0x5e0086,unitType:_0x51b9ab}=_0x3ba735[_0x11b41d(0x606)];return(await this[_0x11b41d(0x2ff)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x470061,'type':_0x51b9ab,'from':_0x2a2b95,'to':_0x5e0086}))[_0x11b41d(0x2b8)];}},exports[_0x543e24(0x36b)]=tn([Pe(0x0,a[_0x543e24(0x432)](z['HTTPService'])),Pe(0x1,a['Inject'](z[_0x543e24(0x4e8)])),Pe(0x2,a['IConfigService']),Pe(0x3,a[_0x543e24(0x488)]),Pe(0x4,p[_0x543e24(0x2df)])],exports[_0x543e24(0x36b)]);const sn=_0x543e24(0x41c);function rn(_0x592982){const _0x36c5b4=_0x543e24;return JSON[_0x36c5b4(0x403)](_0x592982)[_0x36c5b4(0x65c)];}class Rt{constructor(){const _0x1d1e23=_0x543e24;I(this,_0x1d1e23(0x49d),new A[(_0x1d1e23(0x4f2))]()),I(this,_0x1d1e23(0x48b),this[_0x1d1e23(0x49d)]['asObservable']());}['onCommentUpdate'](_0x2900fe){const _0x573e31=_0x543e24;this[_0x573e31(0x49d)]['next'](_0x2900fe);}}var on=Object[_0x543e24(0x685)],an=Object[_0x543e24(0x3e8)],cn=(_0x432e7b,_0x5ace07,_0x3b06af,_0x5bd443)=>{const _0x286256=_0x543e24;for(var _0x4d59be=_0x5bd443>0x1?void 0x0:_0x5bd443?an(_0x5ace07,_0x3b06af):_0x5ace07,_0x359745=_0x432e7b[_0x286256(0x65c)]-0x1,_0x40daae;_0x359745>=0x0;_0x359745--)(_0x40daae=_0x432e7b[_0x359745])&&(_0x4d59be=(_0x5bd443?_0x40daae(_0x5ace07,_0x3b06af,_0x4d59be):_0x40daae(_0x4d59be))||_0x4d59be);return _0x5bd443&&_0x4d59be&&on(_0x5ace07,_0x3b06af,_0x4d59be),_0x4d59be;},At=(_0x2c9853,_0x411d21)=>(_0x563167,_0x5142b6)=>_0x411d21(_0x563167,_0x5142b6,_0x2c9853);exports['MemberService']=class extends a[_0x543e24(0x3f3)]{constructor(_0x53ae0c,_0x370092){const _0x4dbc16=_0x543e24;super(),I(this,'_roomMembers',new Map()),(this[_0x4dbc16(0x47c)]=_0x53ae0c,this[_0x4dbc16(0x513)]=_0x370092,this[_0x4dbc16(0x419)](a[_0x4dbc16(0x42e)](A[_0x4dbc16(0x4d4)](this[_0x4dbc16(0x47c)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x4dbc16(0x34c)])[_0x4dbc16(0x449)](V[_0x4dbc16(0x31d)](_0x3cbff7=>_0x3cbff7['getUnitId']())),this[_0x4dbc16(0x47c)][_0x4dbc16(0x44d)](a[_0x4dbc16(0x4f9)]['UNIVER_DOC'])['pipe'](V[_0x4dbc16(0x31d)](_0x13dcb1=>_0x13dcb1[_0x4dbc16(0x346)]())),this[_0x4dbc16(0x47c)][_0x4dbc16(0x44d)](a[_0x4dbc16(0x4f9)][_0x4dbc16(0x413)])[_0x4dbc16(0x449)](V[_0x4dbc16(0x31d)](_0x395e07=>_0x395e07['getUnitId']())))['subscribe'](_0x426df3=>this[_0x4dbc16(0x3ec)](_0x426df3)))));}[_0x543e24(0x4da)](_0xb5ee06){const _0x5c9d57=_0x543e24;this[_0x5c9d57(0x513)][_0x5c9d57(0x4da)](_0xb5ee06);}[_0x543e24(0x623)](){const _0x25f925=_0x543e24;return this['_userManagerService'][_0x25f925(0x623)]();}[_0x543e24(0x1f6)](_0x3cda97,_0xc32b63){const _0x3e80f7=_0x543e24;let _0x54983c=this[_0x3e80f7(0x553)][_0x3e80f7(0x5e6)](_0x3cda97);_0x54983c||(_0x54983c=new ln(),this[_0x3e80f7(0x553)][_0x3e80f7(0x4b5)](_0x3cda97,_0x54983c)),_0x54983c[_0x3e80f7(0x1f6)](_0xc32b63);}['removeMember'](_0x402195,_0x58f116){const _0x2a79dd=_0x543e24,_0x431fd8=this[_0x2a79dd(0x553)]['get'](_0x402195);_0x431fd8&&_0x431fd8[_0x2a79dd(0x27d)](_0x58f116);}[_0x543e24(0x5cb)](_0x222842){const _0x5b393b=_0x543e24;return this[_0x5b393b(0x553)]['get'](_0x222842);}['getMember'](_0x3dc86b,_0x146f95){const _0x349bc6=_0x543e24,_0x22610b=this[_0x349bc6(0x553)][_0x349bc6(0x5e6)](_0x3dc86b);if(_0x22610b)return _0x22610b['getMember'](_0x146f95);}[_0x543e24(0x3ec)](_0x49d29e){const _0x373a80=_0x543e24,_0xac5015=this['_roomMembers'][_0x373a80(0x5e6)](_0x49d29e);_0xac5015&&(_0xac5015[_0x373a80(0x5db)](),this[_0x373a80(0x553)][_0x373a80(0x22d)](_0x49d29e));}['dispose'](){const _0x10bee0=_0x543e24;this[_0x10bee0(0x553)][_0x10bee0(0x3f5)](_0x195f78=>_0x195f78[_0x10bee0(0x5db)]()),this[_0x10bee0(0x553)][_0x10bee0(0x3f2)]();}},exports[_0x543e24(0x447)]=cn([At(0x0,a[_0x543e24(0x316)]),At(0x1,a[_0x543e24(0x432)](a['UserManagerService']))],exports[_0x543e24(0x447)]);class ln extends a[_0x543e24(0x3f3)]{constructor(){const _0x53cf75=_0x543e24;super(...arguments),I(this,_0x53cf75(0x40f),new Map());}[_0x543e24(0x5db)](){const _0x291bad=_0x543e24;this[_0x291bad(0x40f)][_0x291bad(0x3f2)]();}[_0x543e24(0x1f6)](_0x340ad9){const _0x164854=_0x543e24;this[_0x164854(0x40f)]['set'](_0x340ad9[_0x164854(0x49c)],_0x340ad9);}[_0x543e24(0x27d)](_0x4ea2e1){const _0x3786d7=_0x543e24;this[_0x3786d7(0x40f)][_0x3786d7(0x22d)](_0x4ea2e1);}[_0x543e24(0x374)](_0x3ec291){const _0x213fd6=_0x543e24;return this[_0x213fd6(0x40f)]['get'](_0x3ec291);}['getAllMembers'](){const _0x4faffb=_0x543e24;return Array[_0x4faffb(0x28f)](this['_members'][_0x4faffb(0x2e6)]());}}var hn=Object[_0x543e24(0x685)],_n=Object[_0x543e24(0x3e8)],un=(_0x2671bd,_0x57b12f,_0x45b1c1,_0x533749)=>{const _0x2ba1a4=_0x543e24;for(var _0x1692c4=_0x533749>0x1?void 0x0:_0x533749?_n(_0x57b12f,_0x45b1c1):_0x57b12f,_0x1a48af=_0x2671bd[_0x2ba1a4(0x65c)]-0x1,_0x38a2ac;_0x1a48af>=0x0;_0x1a48af--)(_0x38a2ac=_0x2671bd[_0x1a48af])&&(_0x1692c4=(_0x533749?_0x38a2ac(_0x57b12f,_0x45b1c1,_0x1692c4):_0x38a2ac(_0x1692c4))||_0x1692c4);return _0x533749&&_0x1692c4&&hn(_0x57b12f,_0x45b1c1,_0x1692c4),_0x1692c4;},de=(_0x4a2e86,_0x28e8d7)=>(_0x3e6d1f,_0x5826df)=>_0x28e8d7(_0x3e6d1f,_0x5826df,_0x4a2e86),se=(_0xe6c2ba=>(_0xe6c2ba[_0xe6c2ba[_0x543e24(0x40b)]=0x0]='IDLE',_0xe6c2ba[_0xe6c2ba[_0x543e24(0x3fb)]=0x1]=_0x543e24(0x3fb),_0xe6c2ba[_0xe6c2ba[_0x543e24(0x677)]=0x2]='OFFLINE',_0xe6c2ba[_0xe6c2ba[_0x543e24(0x292)]=0x3]=_0x543e24(0x292),_0xe6c2ba))(se||{});exports[_0x543e24(0x571)]=class extends a[_0x543e24(0x49e)]{constructor(_0x24387b,_0x28842d,_0x2810c1,_0x582f88,_0x1aca2c,_0x364324,_0x492de1,_0x460abc,_0x2bf751,_0x2ddf8d){const _0x1e2a51=_0x543e24;super(),I(this,'_sessionStatus$',new A[(_0x1e2a51(0x421))](0x0)),I(this,_0x1e2a51(0x405),this[_0x1e2a51(0x200)][_0x1e2a51(0x1ea)]()),I(this,_0x1e2a51(0x1d6),new A[(_0x1e2a51(0x4f2))]()),I(this,_0x1e2a51(0x684),this[_0x1e2a51(0x1d6)][_0x1e2a51(0x1ea)]()),I(this,_0x1e2a51(0x649)),I(this,_0x1e2a51(0x460)),I(this,_0x1e2a51(0x452)),I(this,_0x1e2a51(0x55a),!0x1),I(this,'_telemetryInfo',null),(this[_0x1e2a51(0x435)]=_0x24387b,this['_logService']=_0x2810c1,this[_0x1e2a51(0x30d)]=_0x582f88,this[_0x1e2a51(0x464)]=_0x1aca2c,this['_configService']=_0x364324,this['_localeService']=_0x492de1,this[_0x1e2a51(0x46f)]=_0x460abc,this[_0x1e2a51(0x348)]=_0x2bf751,this[_0x1e2a51(0x247)]=_0x2ddf8d,this[_0x1e2a51(0x55a)]=!!this['_telemetryService'],_0x28842d[_0x1e2a51(0x449)](A[_0x1e2a51(0x49b)](this[_0x1e2a51(0x21e)]))['subscribe'](_0x34d384=>{const _0x55ac1e=_0x1e2a51;var _0x5f0383;typeof _0x34d384>'u'||(this[_0x55ac1e(0x649)]=_0x34d384,_0x34d384?(this[_0x55ac1e(0x4bf)](_0x34d384),this['_socketMessageSubscription']=_0x34d384[_0x55ac1e(0x5b3)][_0x55ac1e(0x397)](_0x5b91bc=>{const _0x54da94=_0x55ac1e;_0x5b91bc[_0x54da94(0x61b)]===this[_0x54da94(0x435)]&&this['_onCombEvent'](_0x5b91bc);})):(this[_0x55ac1e(0x491)](),this[_0x55ac1e(0x200)][_0x55ac1e(0x218)](0x2),(_0x5f0383=this[_0x55ac1e(0x460)])==null||_0x5f0383[_0x55ac1e(0x412)](),this[_0x55ac1e(0x460)]=null));}),this['disposeWithMe'](this[_0x1e2a51(0x30d)]['registerOnClose'](()=>{const _0x183a86=_0x1e2a51;var _0x440de0;(_0x440de0=this[_0x183a86(0x649)])==null||_0x440de0[_0x183a86(0x4f3)]({'cmd':G[_0x183a86(0x694)],'data':{'roomID':this[_0x183a86(0x435)]}});})));}get['sessionStatus'](){const _0x2f0c15=_0x543e24;return this[_0x2f0c15(0x200)][_0x2f0c15(0x60f)]();}['getMemberID'](){const _0x558140=_0x543e24;var _0x4080d7,_0x5c8139;return(_0x5c8139=(_0x4080d7=this[_0x558140(0x649)])==null?void 0x0:_0x4080d7[_0x558140(0x49c)])!=null?_0x5c8139:null;}['dispose'](){const _0x4a852e=_0x543e24;super[_0x4a852e(0x5db)](),this[_0x4a852e(0x21e)][_0x4a852e(0x218)](),this['dispose$'][_0x4a852e(0x3db)]();}[_0x543e24(0x47d)](){const _0x35bae5=_0x543e24;var _0x4f99af,_0x2c599b;this[_0x35bae5(0x491)](),(_0x4f99af=this[_0x35bae5(0x649)])==null||_0x4f99af[_0x35bae5(0x4f3)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x35bae5(0x435)]}}),(_0x2c599b=this[_0x35bae5(0x649)])==null||_0x2c599b['close'](),this[_0x35bae5(0x1d6)]['complete'](),this[_0x35bae5(0x200)]['complete'](),this['dispose']();}[_0x543e24(0x414)](_0x1aa7ee){const _0x522390=_0x543e24;_0x1aa7ee['cmd']===G[_0x522390(0x5a8)]?this[_0x522390(0x24a)](_0x1aa7ee):_0x1aa7ee[_0x522390(0x47a)]===G[_0x522390(0x54a)]&&this[_0x522390(0x221)](_0x1aa7ee);}[_0x543e24(0x4bf)](_0x103869){const _0x5d554d=_0x543e24;this[_0x5d554d(0x200)][_0x5d554d(0x218)](0x1),_0x103869[_0x5d554d(0x4f3)]({'cmd':G[_0x5d554d(0x5a8)],'routeKey':this[_0x5d554d(0x435)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5d554d(0x435)]}]}});}[_0x543e24(0x24a)](_0x3cf022){const _0x3e4e20=_0x543e24;var _0x4c4170;if(_0x3cf022[_0x3e4e20(0x278)]===bt[_0x3e4e20(0x263)]){this[_0x3e4e20(0x464)][_0x3e4e20(0x401)]({'type':Ce[_0x3e4e20(0x5b9)][_0x3e4e20(0x20e)],'content':this[_0x3e4e20(0x34d)]['t']('session.room-full')}),this[_0x3e4e20(0x200)][_0x3e4e20(0x218)](0x2);return;}this[_0x3e4e20(0x200)][_0x3e4e20(0x218)](0x3);const _0x3a6270=(_0x4c4170=_0x3cf022[_0x3e4e20(0x606)][_0x3e4e20(0x456)][this[_0x3e4e20(0x435)]])==null?void 0x0:_0x4c4170[_0x3e4e20(0x528)];_0x3a6270&&_0x3a6270['forEach'](_0x5927d7=>this[_0x3e4e20(0x46f)][_0x3e4e20(0x1f6)](this[_0x3e4e20(0x435)],_0x5927d7));}[_0x543e24(0x221)](_0x59087a){const _0x506514=_0x543e24;try{const _0x41bca9=_0x59087a[_0x506514(0x606)];switch(_0x41bca9[_0x506514(0x62c)]){case p['CollaborationEvent']['USERS_ENTER']:this[_0x506514(0x4d5)](_0x41bca9),this['_event$'][_0x506514(0x218)](_0x41bca9);break;case p[_0x506514(0x612)][_0x506514(0x3f0)]:this[_0x506514(0x4cc)](_0x41bca9),this[_0x506514(0x1d6)][_0x506514(0x218)](_0x41bca9);break;case p['CollaborationEvent']['CHANGESET_ACK']:case p[_0x506514(0x612)][_0x506514(0x2d9)]:this[_0x506514(0x4ee)](),this[_0x506514(0x57e)](),this[_0x506514(0x1d6)]['next'](_0x41bca9);break;case p[_0x506514(0x612)]['MSG_FOR_ERROR']:this['_logService'][_0x506514(0x624)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x41bca9)),this[_0x506514(0x1d6)][_0x506514(0x218)](_0x41bca9);break;case p[_0x506514(0x612)][_0x506514(0x370)]:this[_0x506514(0x348)][_0x506514(0x510)](_0x41bca9['data']),this['_event$'][_0x506514(0x218)](_0x41bca9);break;default:this[_0x506514(0x1d6)][_0x506514(0x218)](_0x41bca9);}}catch(_0xed91ce){this[_0x506514(0x5d8)]['error'](_0xed91ce,_0x59087a);}}[_0x543e24(0x4d5)](_0x58c091){const _0x2d406f=_0x543e24;this['_memberService']['updateMember'](this[_0x2d406f(0x435)],_0x58c091[_0x2d406f(0x606)]);}[_0x543e24(0x4cc)](_0x245157){const _0x13cc2e=_0x543e24;this[_0x13cc2e(0x46f)][_0x13cc2e(0x27d)](this[_0x13cc2e(0x435)],_0x245157[_0x13cc2e(0x606)][_0x13cc2e(0x49c)]);}async[_0x543e24(0x4f3)](_0x4eca2c,_0x1fddab){const _0x494f66=_0x543e24;if(this[_0x494f66(0x5b6)]!==0x3||!this[_0x494f66(0x649)])throw new Error(_0x494f66(0x2cf));try{_0x4eca2c[_0x494f66(0x62c)]===p[_0x494f66(0x612)][_0x494f66(0x1e0)]&&(this[_0x494f66(0x55b)](),this['_startTelemetryCollaborationNewChangeset'](_0x4eca2c)),this['_socket']['send']({'cmd':G[_0x494f66(0x617)],'routeKey':_0x1fddab,'routeType':'','data':_0x4eca2c});}catch(_0x540782){this[_0x494f66(0x5d8)][_0x494f66(0x624)](_0x540782);}}[_0x543e24(0x55b)](){const _0xe8bd86=_0x543e24;var _0xf11455;this['_collaborationTimeoutTimer']=window[_0xe8bd86(0x68e)](()=>{const _0x15c885=_0xe8bd86;this[_0x15c885(0x452)]=null,this[_0x15c885(0x464)][_0x15c885(0x401)]({'type':Ce[_0x15c885(0x5b9)][_0x15c885(0x5da)],'content':this[_0x15c885(0x34d)]['t']('session.collaboration-timeout')});},(_0xf11455=this[_0xe8bd86(0x518)][_0xe8bd86(0x46d)](Et))!=null?_0xf11455:oi);}[_0x543e24(0x57e)](){const _0x4c2453=_0x543e24;this[_0x4c2453(0x452)]&&(clearTimeout(this[_0x4c2453(0x452)]),this[_0x4c2453(0x452)]=null);}[_0x543e24(0x30c)](_0x2c5968){if(!this['_shouldReportTelemetry'])return;const {data:_0x13a110}=_0x2c5968,{unitID:_0x3b82ab,changeset:_0x5cae23}=_0x13a110,{mutations:_0xd8177c,type:_0x23a8c7}=_0x5cae23;this['_telemetryInfo']={'unitId':_0x3b82ab,'type':_0x23a8c7,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':rn(_0xd8177c)};}[_0x543e24(0x4ee)](){const _0x607667=_0x543e24;if(this['_shouldReportTelemetry']){if(!this[_0x607667(0x22c)]){this[_0x607667(0x5d8)]['error'](_0x607667(0x516),_0x607667(0x573));return;}this[_0x607667(0x22c)][_0x607667(0x497)]=performance['now'](),this[_0x607667(0x22c)][_0x607667(0x3c6)]=this['_telemetryInfo'][_0x607667(0x497)]-this[_0x607667(0x22c)][_0x607667(0x36c)],this['_telemetryService']['capture'](sn,this[_0x607667(0x22c)]),this[_0x607667(0x22c)]=null;}}[_0x543e24(0x491)](){const _0xb1a6a0=_0x543e24;this[_0xb1a6a0(0x22c)]=null;}},exports[_0x543e24(0x571)]=un([de(0x2,a[_0x543e24(0x488)]),de(0x3,te['IBeforeCloseService']),de(0x4,te[_0x543e24(0x59d)]),de(0x5,a['IConfigService']),de(0x6,a['Inject'](a[_0x543e24(0x264)])),de(0x7,a[_0x543e24(0x432)](exports[_0x543e24(0x447)])),de(0x8,a[_0x543e24(0x432)](Rt)),de(0x9,a[_0x543e24(0x3d6)](Hi['ITelemetryService']))],exports[_0x543e24(0x571)]);var dn=Object[_0x543e24(0x685)],fn=Object['getOwnPropertyDescriptor'],vn=(_0x39e10b,_0x1d0b58,_0x2b9358,_0x31de1b)=>{const _0x9011ef=_0x543e24;for(var _0x3458a0=_0x31de1b>0x1?void 0x0:_0x31de1b?fn(_0x1d0b58,_0x2b9358):_0x1d0b58,_0x2d815d=_0x39e10b[_0x9011ef(0x65c)]-0x1,_0x548773;_0x2d815d>=0x0;_0x2d815d--)(_0x548773=_0x39e10b[_0x2d815d])&&(_0x3458a0=(_0x31de1b?_0x548773(_0x1d0b58,_0x2b9358,_0x3458a0):_0x548773(_0x3458a0))||_0x3458a0);return _0x31de1b&&_0x3458a0&&dn(_0x1d0b58,_0x2b9358,_0x3458a0),_0x3458a0;},pe=(_0x44cf02,_0x478ee7)=>(_0x21335f,_0x11e3ab)=>_0x478ee7(_0x21335f,_0x11e3ab,_0x44cf02);exports[_0x543e24(0x210)]=class extends a[_0x543e24(0x3f3)]{constructor(_0x207566,_0x5e2ba8,_0x559e68,_0x322e67,_0x38fe3b,_0x532548,_0x4bf86d){const _0x2abf41=_0x543e24;super(),I(this,'_socket$',new A[(_0x2abf41(0x421))](void 0x0)),I(this,_0x2abf41(0x373),this[_0x2abf41(0x2a8)]['asObservable']()),I(this,_0x2abf41(0x5c9),null),I(this,_0x2abf41(0x468),new Map()),I(this,_0x2abf41(0x41a),new A[(_0x2abf41(0x421))](se['IDLE'])),I(this,_0x2abf41(0x46e),this[_0x2abf41(0x41a)][_0x2abf41(0x1ea)]()),I(this,_0x2abf41(0x56e),!0x1),I(this,'_retryConnectingTimer'),I(this,_0x2abf41(0x30e),0x0),I(this,_0x2abf41(0x340)),I(this,'_timeoutTimer'),(this['_injector']=_0x207566,this[_0x2abf41(0x34d)]=_0x5e2ba8,this[_0x2abf41(0x464)]=_0x559e68,this['_logService']=_0x322e67,this[_0x2abf41(0x518)]=_0x38fe3b,this[_0x2abf41(0x56f)]=_0x532548,this[_0x2abf41(0x2d6)]=_0x4bf86d,this['_initEventListeners']());}get[_0x543e24(0x649)](){const _0x2d88fc=_0x543e24;return this[_0x2d88fc(0x2a8)][_0x2d88fc(0x60f)]();}[_0x543e24(0x5fc)](){const _0x124360=_0x543e24;this[_0x124360(0x3a3)](),this[_0x124360(0x289)]();}[_0x543e24(0x5db)](){const _0x185cc0=_0x543e24;super[_0x185cc0(0x5db)](),this[_0x185cc0(0x468)][_0x185cc0(0x3f5)](_0x18e70c=>_0x18e70c['dispose']()),this[_0x185cc0(0x468)][_0x185cc0(0x3f2)](),this[_0x185cc0(0x41a)][_0x185cc0(0x3db)]();}async['requireSession'](_0x29e9a6){const _0x4cf5dc=_0x543e24;if(this[_0x4cf5dc(0x468)]['has'](_0x29e9a6))return this[_0x4cf5dc(0x468)][_0x4cf5dc(0x5e6)](_0x29e9a6);this[_0x4cf5dc(0x3b4)]();const _0x2a8da7=this[_0x4cf5dc(0x5b0)]['createInstance'](exports[_0x4cf5dc(0x571)],_0x29e9a6,this[_0x4cf5dc(0x2a8)]['asObservable']());return this[_0x4cf5dc(0x468)][_0x4cf5dc(0x4b5)](_0x29e9a6,_0x2a8da7),_0x2a8da7;}[_0x543e24(0x5c4)](_0x399462){const _0x2071f9=_0x543e24;var _0xb8eed8;const _0x49c263=this[_0x2071f9(0x468)][_0x2071f9(0x5e6)](_0x399462);_0x49c263&&(this[_0x2071f9(0x468)][_0x2071f9(0x22d)](_0x399462),_0x49c263[_0x2071f9(0x47d)]()),this[_0x2071f9(0x468)][_0x2071f9(0x59e)]||(_0xb8eed8=this[_0x2071f9(0x649)])==null||_0xb8eed8[_0x2071f9(0x47d)]();}[_0x543e24(0x642)](){const _0xa19c3b=_0x543e24;this[_0xa19c3b(0x30e)]=0x0,this[_0xa19c3b(0x479)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0xa19c3b(0x479)]=null),this['_tryReconnect']();}async[_0x543e24(0x2e1)](){const _0x1af5d4=_0x543e24;var _0x44edef,_0x5d834f,_0x320096;const _0x3ffa19=this[_0x1af5d4(0x518)][_0x1af5d4(0x46d)](Q),_0x5959c8=(_0x44edef=_0x3ffa19==null?void 0x0:_0x3ffa19[_0x1af5d4(0x27c)])!=null?_0x44edef:Gi;return(_0x320096=(_0x5d834f=(await this[_0x1af5d4(0x2d6)]['get'](_0x5959c8,{'headers':{'Content-Type':_0x1af5d4(0x5ca)}}))[_0x1af5d4(0x542)])==null?void 0x0:_0x5d834f[_0x1af5d4(0x22a)])!=null?_0x320096:'';}[_0x543e24(0x23e)](_0x17ac4e){const _0x2f360c=_0x543e24;var _0x596ecd,_0x552f4b;const _0x3ca9f0=this[_0x2f360c(0x518)][_0x2f360c(0x46d)](si),_0xe0bd12=this[_0x2f360c(0x518)]['getConfig'](Q),_0xd92114=(_0x552f4b=(_0x596ecd=_0xe0bd12==null?void 0x0:_0xe0bd12[_0x2f360c(0x203)])!=null?_0x596ecd:_0x3ca9f0)!=null?_0x552f4b:Vi,_0x405d34=new URL(_0xd92114,window[_0x2f360c(0x4af)][_0x2f360c(0x5f8)]);return _0x405d34[_0x2f360c(0x245)][_0x2f360c(0x4b5)](_0x2f360c(0x269),_0x17ac4e),_0x405d34[_0x2f360c(0x5c8)]();}async[_0x543e24(0x4d3)](){const _0x49ae84=_0x543e24,_0x5a171e=await this[_0x49ae84(0x2e1)](),_0x2b919a=this[_0x49ae84(0x23e)](_0x5a171e),_0x2478b5=this[_0x49ae84(0x56f)][_0x49ae84(0x378)](_0x2b919a);return this[_0x49ae84(0x5c9)]=_0x2478b5,_0x2478b5;}async['_tryEnsureSocket'](){const _0x409c31=_0x543e24;var _0x5ed09a,_0x5461ad;try{const _0x18316e=(_0x5461ad=(_0x5ed09a=this[_0x409c31(0x649)])!=null?_0x5ed09a:this[_0x409c31(0x5c9)])!=null?_0x5461ad:await this[_0x409c31(0x4d3)]();if(_0x18316e){const _0x136156=_0x18316e[_0x409c31(0x4f3)];_0x18316e[_0x409c31(0x4f3)]=_0xbdd0cc=>(this[_0x409c31(0x2c0)](),_0x136156[_0x409c31(0x3b2)](_0x18316e,[_0xbdd0cc])),_0x18316e[_0x409c31(0x5b3)]['subscribe'](_0x4e857c=>this[_0x409c31(0x67b)](_0x18316e,_0x4e857c)),_0x18316e[_0x409c31(0x647)][_0x409c31(0x449)](V[_0x409c31(0x5b5)](0x1))[_0x409c31(0x397)](_0x45be9f=>this['_logService'][_0x409c31(0x624)](_0x409c31(0x66a),_0x45be9f)),_0x18316e[_0x409c31(0x48d)][_0x409c31(0x449)](V['take'](0x1))['subscribe'](()=>{const _0x36216e=_0x409c31;this[_0x36216e(0x2ab)](_0x18316e);}),_0x18316e['close$'][_0x409c31(0x449)](V[_0x409c31(0x5b5)](0x1))[_0x409c31(0x397)](_0x283e0a=>{const _0x36db50=_0x409c31;this[_0x36db50(0x5d8)]['debug'](_0x36db50(0x41d),'socket\x20close',_0x283e0a),this[_0x36db50(0x594)]();});}}catch(_0x41e2df){this[_0x409c31(0x5d8)][_0x409c31(0x624)](_0x41e2df),this[_0x409c31(0x594)]();}}[_0x543e24(0x2ab)](_0x482c6a){const _0x2c7e46=_0x543e24;this[_0x2c7e46(0x5d8)][_0x2c7e46(0x2cb)](_0x2c7e46(0x41d),_0x2c7e46(0x44c)),_0x482c6a['send']({'cmd':G['HELLO']}),this[_0x2c7e46(0x2c0)]();}[_0x543e24(0x3a3)](){const _0x3f65a5=_0x543e24;window[_0x3f65a5(0x2b9)](_0x3f65a5(0x64a),()=>this[_0x3f65a5(0x68b)]());}['_onOffline'](){const _0x158609=_0x543e24;this[_0x158609(0x56e)]=!0x1,this[_0x158609(0x5c9)]=null,this['_status$'][_0x158609(0x218)](se[_0x158609(0x677)]),this[_0x158609(0x2a8)][_0x158609(0x218)](null),this[_0x158609(0x589)](),this[_0x158609(0x4f7)]();}['_onConnectionFailed'](){const _0x12ee2c=_0x543e24;var _0x44201e;this[_0x12ee2c(0x68b)](),this[_0x12ee2c(0x30e)]<((_0x44201e=this[_0x12ee2c(0x518)]['getConfig'](ai))!=null?_0x44201e:qi)?(this[_0x12ee2c(0x464)][_0x12ee2c(0x401)]({'key':_0x12ee2c(0x28b),'type':Ce[_0x12ee2c(0x5b9)][_0x12ee2c(0x20e)],'content':this[_0x12ee2c(0x34d)]['t'](_0x12ee2c(0x2c2))}),this[_0x12ee2c(0x58d)]()):this[_0x12ee2c(0x464)][_0x12ee2c(0x401)]({'key':_0x12ee2c(0x28b),'type':Ce[_0x12ee2c(0x5b9)][_0x12ee2c(0x5da)],'content':this[_0x12ee2c(0x34d)]['t'](_0x12ee2c(0x591))});}[_0x543e24(0x289)](){const _0x19172f=_0x543e24,_0x28084f=()=>{const _0x3c49a4=_0x4acf;this['_socket']||this[_0x3c49a4(0x642)]();},_0x13a993=()=>{const _0x303676=_0x4acf;this[_0x303676(0x649)]||document[_0x303676(0x45e)]==='hidden'||this[_0x303676(0x642)]();};window[_0x19172f(0x2b9)](_0x19172f(0x1f9),_0x28084f),document[_0x19172f(0x2b9)](_0x19172f(0x32f),_0x13a993);}[_0x543e24(0x58d)](){const _0x4c6757=_0x543e24;var _0x5d0547;const _0x346a6e=this[_0x4c6757(0x30e)],_0x51a6b7=this[_0x4c6757(0x518)][_0x4c6757(0x46d)](Q),_0x1ca529=_0x346a6e===0x0?0x0:((_0x5d0547=_0x51a6b7==null?void 0x0:_0x51a6b7[_0x4c6757(0x2c1)])!=null?_0x5d0547:Ki)*0x2**_0x346a6e;this[_0x4c6757(0x479)]=window['setTimeout'](()=>{const _0x147be7=_0x4c6757;clearTimeout(this[_0x147be7(0x479)]),this[_0x147be7(0x479)]=null,this[_0x147be7(0x3b4)]();},_0x1ca529),this[_0x4c6757(0x30e)]+=0x1;}['_onMessage'](_0x309232,_0x5c6440){const _0x21c109=_0x543e24,{cmd:_0x16858f}=_0x5c6440;_0x16858f===G['HELLO']&&!this['_socketReady']&&(_0x309232[_0x21c109(0x49c)]=_0x5c6440[_0x21c109(0x606)][_0x21c109(0x49c)],this[_0x21c109(0x2a8)]['next'](_0x309232),this[_0x21c109(0x41a)]['next'](se[_0x21c109(0x292)]),this[_0x21c109(0x56e)]=!0x0,this[_0x21c109(0x5c9)]=null),_0x16858f===G['HEARTBEAT']&&this[_0x21c109(0x589)](),this[_0x21c109(0x2c0)]();}[_0x543e24(0x2c0)](){const _0x2030f0=_0x543e24;var _0x40fbc8;this[_0x2030f0(0x4f7)](),this[_0x2030f0(0x340)]=window[_0x2030f0(0x68e)](()=>this[_0x2030f0(0x480)](),(_0x40fbc8=this[_0x2030f0(0x518)][_0x2030f0(0x46d)](ri))!=null?_0x40fbc8:Yi);}[_0x543e24(0x480)](){const _0x4b005f=_0x543e24;this[_0x4b005f(0x649)]['send']({'cmd':G[_0x4b005f(0x671)]}),this[_0x4b005f(0x24d)]();}[_0x543e24(0x24d)](){const _0x22a73=_0x543e24;var _0x3be49f;this[_0x22a73(0x3c3)]=window[_0x22a73(0x68e)](()=>this['_onConnectionFailed'](),(_0x3be49f=this[_0x22a73(0x518)]['getConfig'](Et))!=null?_0x3be49f:oi);}[_0x543e24(0x4f7)](){const _0x87f229=_0x543e24;this[_0x87f229(0x340)]!=null&&(clearTimeout(this[_0x87f229(0x340)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){const _0x4b65f3=_0x543e24;this[_0x4b65f3(0x3c3)]!=null&&(clearTimeout(this[_0x4b65f3(0x3c3)]),this[_0x4b65f3(0x3c3)]=null);}},exports[_0x543e24(0x210)]=vn([pe(0x0,a['Inject'](a[_0x543e24(0x2e7)])),pe(0x1,a['Inject'](a[_0x543e24(0x264)])),pe(0x2,te[_0x543e24(0x59d)]),pe(0x3,a[_0x543e24(0x488)]),pe(0x4,a[_0x543e24(0x693)]),pe(0x5,Tt),pe(0x6,a[_0x543e24(0x432)](z[_0x543e24(0x1df)]))],exports[_0x543e24(0x210)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x543e24(0x43b)]((s+0x100)['toString'](0x10)[_0x543e24(0x554)](0x1));function Sn(_0x5ed13e,_0x1fe0b8=0x0){const _0x150e37=_0x543e24;return(Y[_0x5ed13e[_0x1fe0b8+0x0]]+Y[_0x5ed13e[_0x1fe0b8+0x1]]+Y[_0x5ed13e[_0x1fe0b8+0x2]]+Y[_0x5ed13e[_0x1fe0b8+0x3]]+'-'+Y[_0x5ed13e[_0x1fe0b8+0x4]]+Y[_0x5ed13e[_0x1fe0b8+0x5]]+'-'+Y[_0x5ed13e[_0x1fe0b8+0x6]]+Y[_0x5ed13e[_0x1fe0b8+0x7]]+'-'+Y[_0x5ed13e[_0x1fe0b8+0x8]]+Y[_0x5ed13e[_0x1fe0b8+0x9]]+'-'+Y[_0x5ed13e[_0x1fe0b8+0xa]]+Y[_0x5ed13e[_0x1fe0b8+0xb]]+Y[_0x5ed13e[_0x1fe0b8+0xc]]+Y[_0x5ed13e[_0x1fe0b8+0xd]]+Y[_0x5ed13e[_0x1fe0b8+0xe]]+Y[_0x5ed13e[_0x1fe0b8+0xf]])[_0x150e37(0x450)]();}let Ze;const pn=new Uint8Array(0x10);function mn(){const _0x446a05=_0x543e24;if(!Ze){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x446a05(0x2bd));Ze=crypto['getRandomValues'][_0x446a05(0x332)](crypto);}return Ze(pn);}const gn=typeof crypto<'u'&&crypto[_0x543e24(0x696)]&&crypto['randomUUID'][_0x543e24(0x332)](crypto),Nt={'randomUUID':gn};function In(_0x5c2d23,_0x513a2c,_0x5454bd){const _0x262f4d=_0x543e24;if(Nt[_0x262f4d(0x696)]&&!_0x513a2c&&!_0x5c2d23)return Nt['randomUUID']();_0x5c2d23=_0x5c2d23||{};const _0x194c5b=_0x5c2d23[_0x262f4d(0x68c)]||(_0x5c2d23[_0x262f4d(0x457)]||mn)();return _0x194c5b[0x6]=_0x194c5b[0x6]&0xf|0x40,_0x194c5b[0x8]=_0x194c5b[0x8]&0x3f|0x80,Sn(_0x194c5b);}var Cn=Object[_0x543e24(0x685)],En=Object['getOwnPropertyDescriptor'],bn=(_0x328dab,_0x18e5a5,_0x3ef855,_0x34cf30)=>{for(var _0x4cd08d=_0x34cf30>0x1?void 0x0:_0x34cf30?En(_0x18e5a5,_0x3ef855):_0x18e5a5,_0x3c9347=_0x328dab['length']-0x1,_0xb231c8;_0x3c9347>=0x0;_0x3c9347--)(_0xb231c8=_0x328dab[_0x3c9347])&&(_0x4cd08d=(_0x34cf30?_0xb231c8(_0x18e5a5,_0x3ef855,_0x4cd08d):_0xb231c8(_0x4cd08d))||_0x4cd08d);return _0x34cf30&&_0x4cd08d&&Cn(_0x18e5a5,_0x3ef855,_0x4cd08d),_0x4cd08d;},Qe=(_0x20eec6,_0x3ebd9f)=>(_0x3eccb1,_0x17d9e5)=>_0x3ebd9f(_0x3eccb1,_0x17d9e5,_0x20eec6);let Be=class{constructor(_0x4b48a3,_0x17d314,_0x1615cd){const _0x3e5b22=_0x543e24;this[_0x3e5b22(0x5b0)]=_0x4b48a3,this['_transformService']=_0x17d314,this[_0x3e5b22(0x31a)]=_0x1615cd;}['transformIMECache'](_0x1ba76e){const _0x1970f5=_0x543e24;this[_0x1970f5(0x486)](_0x1ba76e),this[_0x1970f5(0x5ac)](_0x1ba76e);}[_0x543e24(0x283)](_0x3b0812){const _0x2f7e29=_0x543e24,{unitID:_0xa0ef4c}=_0x3b0812,_0x1937fa=this[_0x2f7e29(0x31a)][_0x2f7e29(0x5c1)](_0xa0ef4c)[_0x2f7e29(0x2cc)](J[_0x2f7e29(0x50a)]),{redoCache:_0x178cc1}=_0x1937fa[_0x2f7e29(0x1e1)]();if(_0x178cc1[_0x2f7e29(0x65c)]===0x0)return _0x3b0812;let _0x47dec8=a[_0x2f7e29(0x327)][_0x2f7e29(0x531)](_0x3b0812[_0x2f7e29(0x313)][0x0]);for(let _0x5bce5b=0x0;_0x5bce5b<_0x178cc1[_0x2f7e29(0x65c)];_0x5bce5b++){const _0x154719={'id':_0x2f7e29(0x5cf),'params':{..._0x178cc1[_0x5bce5b]}},_0x57d45c=this[_0x2f7e29(0x4c5)]['transformMutation'](_0x47dec8,_0x154719,!0x1);if(p[_0x2f7e29(0x4dc)](_0x57d45c))throw _0x57d45c[_0x2f7e29(0x624)];_0x47dec8=_0x57d45c['m1Prime'];}return{...a[_0x2f7e29(0x327)]['deepClone'](_0x3b0812),'mutations':[_0x47dec8]};}[_0x543e24(0x486)](_0x15d9b3){const _0x155e32=_0x543e24,{unitID:_0x34f5d6}=_0x15d9b3,_0x1561ad=this[_0x155e32(0x31a)][_0x155e32(0x5c1)](_0x34f5d6)[_0x155e32(0x2cc)](J['DocIMEInputManagerService']),{undoCache:_0x34bd7a,redoCache:_0x5306b0}=_0x1561ad['getUndoRedoMutationParamsCache']();if(_0x34bd7a['length']===0x0||_0x5306b0['length']===0x0)return;const _0xd2654f=[],_0x3b25df=[];let _0x10e379=a['Tools']['deepClone'](_0x15d9b3[_0x155e32(0x313)][0x0]),_0x878b4c=a[_0x155e32(0x327)][_0x155e32(0x531)](_0x15d9b3[_0x155e32(0x313)][0x0]);for(let _0xb7b8fb=_0x34bd7a['length']-0x1;_0xb7b8fb>=0x0;_0xb7b8fb--){const _0x373bad={'id':'doc.mutation.rich-text-editing','params':{..._0x34bd7a[_0xb7b8fb]}},_0xce94c4={'id':_0x155e32(0x5cf),'params':{..._0x5306b0[_0xb7b8fb]}},_0x30d8ef=this[_0x155e32(0x4c5)]['transformMutation'](_0x10e379,_0x373bad,!0x1),_0x5fc248=this[_0x155e32(0x4c5)][_0x155e32(0x287)](_0x878b4c,_0xce94c4,!0x1);if(p[_0x155e32(0x4dc)](_0x30d8ef))throw _0x30d8ef[_0x155e32(0x624)];if(p[_0x155e32(0x4dc)](_0x5fc248))throw _0x5fc248[_0x155e32(0x624)];_0xd2654f[_0x155e32(0x369)](_0x30d8ef['m2Prime'][_0x155e32(0x256)]),_0x3b25df[_0x155e32(0x369)](_0x5fc248[_0x155e32(0x4e6)]['params']),_0x10e379=_0x30d8ef[_0x155e32(0x609)],_0x878b4c=_0x5fc248['m1Prime'];}_0x1561ad['setUndoRedoMutationParamsCache']({'undoCache':_0xd2654f,'redoCache':_0x3b25df});}[_0x543e24(0x5ac)](_0x2aff14){const _0x20b9cd=_0x543e24,{unitID:_0xd788ea}=_0x2aff14,_0x26acdf=this['_renderManagerService'][_0x20b9cd(0x5c1)](_0xd788ea)[_0x20b9cd(0x2cc)](J['DocIMEInputManagerService']),_0x1b9d50=_0x26acdf[_0x20b9cd(0x66f)]();if(_0x1b9d50==null)return;const _0x3507f5=[{'id':_0x20b9cd(0x5cf),'params':{'unitId':_0x2aff14[_0x20b9cd(0x5dd)],'actions':null,'textRanges':[_0x1b9d50]}}],_0x3e910a=this['_transformService'][_0x20b9cd(0x38e)](_0x2aff14,_0x3507f5);if(!p[_0x20b9cd(0x344)](_0x3e910a))throw _0x3e910a[_0x20b9cd(0x624)];const _0x42c12b=_0x3e910a[_0x20b9cd(0x4e6)][0x0][_0x20b9cd(0x256)][_0x20b9cd(0x52f)];Array[_0x20b9cd(0x343)](_0x42c12b)&&_0x42c12b['length']&&_0x26acdf[_0x20b9cd(0x3fa)](_0x42c12b[0x0]);}};Be=bn([Qe(0x0,a[_0x543e24(0x432)](a[_0x543e24(0x2e7)])),Qe(0x1,p[_0x543e24(0x36e)]),Qe(0x2,K[_0x543e24(0x537)])],Be);var Tn=Object[_0x543e24(0x685)],Rn=Object[_0x543e24(0x3e8)],yn=(_0x17cd90,_0x185caf,_0x44c7a3,_0x37063b)=>{for(var _0x466aa5=_0x37063b>0x1?void 0x0:_0x37063b?Rn(_0x185caf,_0x44c7a3):_0x185caf,_0x2519dc=_0x17cd90['length']-0x1,_0x4f3d05;_0x2519dc>=0x0;_0x2519dc--)(_0x4f3d05=_0x17cd90[_0x2519dc])&&(_0x466aa5=(_0x37063b?_0x4f3d05(_0x185caf,_0x44c7a3,_0x466aa5):_0x4f3d05(_0x466aa5))||_0x466aa5);return _0x37063b&&_0x466aa5&&Tn(_0x185caf,_0x44c7a3,_0x466aa5),_0x466aa5;},we=(_0x875d9d,_0x2e742a)=>(_0xcb2500,_0x341eaf)=>_0x2e742a(_0xcb2500,_0x341eaf,_0x875d9d);exports[_0x543e24(0x566)]=class extends a[_0x543e24(0x3f3)]{constructor(_0x530488,_0x5ba8f6,_0x1f9e85,_0x2cee19,_0x30aade){const _0x4c4df1=_0x543e24;super(),I(this,_0x4c4df1(0x530),new Map()),I(this,_0x4c4df1(0x279),new Map()),I(this,_0x4c4df1(0x1d9),!0x1),(this[_0x4c4df1(0x518)]=_0x530488,this[_0x4c4df1(0x490)]=_0x5ba8f6,this[_0x4c4df1(0x30d)]=_0x1f9e85,this['_localeService']=_0x2cee19,this[_0x4c4df1(0x2b5)]=_0x30aade,this[_0x4c4df1(0x690)]());}[_0x543e24(0x441)](){this['_disabled']=!0x0;}[_0x543e24(0x4ab)](){const _0x202dd9=_0x543e24;this[_0x202dd9(0x1d9)]=!0x1;}[_0x543e24(0x5db)](){const _0x502596=_0x543e24;this[_0x502596(0x548)]()['then'](()=>super[_0x502596(0x5db)]());}async[_0x543e24(0x398)](_0x5ee57b){const _0x503c1a=_0x543e24;return this[_0x503c1a(0x1d9)]?null:this[_0x503c1a(0x490)][_0x503c1a(0x2a6)](Lt(_0x5ee57b));}async['saveOfflineData'](_0x50933f,_0x471b62){const _0x33bda3=_0x543e24;return!!this[_0x33bda3(0x490)][_0x33bda3(0x4db)](_0x50933f,_0x471b62);}[_0x543e24(0x2a3)](_0xb54ede,_0x42bba6,_0x2dfea2,_0x2f7597){const _0x246ccf=_0x543e24,_0x3b1d25=this[_0x246ccf(0x2b5)][_0x246ccf(0x5bf)](_0xb54ede);this['_cachedData'][_0x246ccf(0x4b5)](_0xb54ede,{'unitID':_0xb54ede,'type':_0x42bba6,'awaitingChangeset':_0x2dfea2,'mutations':_0x2f7597,'rev':_0x3b1d25}),this[_0x246ccf(0x279)][_0x246ccf(0x65f)](_0xb54ede)||this['_scheduleSaving'](_0xb54ede);}['_scheduleSaving'](_0x57f027){const _0x377155=_0x543e24,_0x312707=this[_0x377155(0x2f9)]();_0x312707===0x0?this[_0x377155(0x4ea)](_0x57f027):this[_0x377155(0x279)][_0x377155(0x4b5)](_0x57f027,setTimeout(()=>this[_0x377155(0x4ea)](_0x57f027),_0x312707));}[_0x543e24(0x2f9)](){const _0x21fd31=_0x543e24;var _0x4e3a2b;return(_0x4e3a2b=this[_0x21fd31(0x518)][_0x21fd31(0x46d)](ci))!=null?_0x4e3a2b:zi;}[_0x543e24(0x4ea)](_0xe5be0e){const _0x5b248b=_0x543e24,_0x466150=this['_saveTaskMap'][_0x5b248b(0x5e6)](_0xe5be0e);return _0x466150!==void 0x0&&window[_0x5b248b(0x4cf)](_0x466150),this[_0x5b248b(0x490)][_0x5b248b(0x4db)](Lt(_0xe5be0e),this['_cachedData']['get'](_0xe5be0e))[_0x5b248b(0x4c2)](()=>this[_0x5b248b(0x279)]['delete'](_0xe5be0e));}async[_0x543e24(0x548)](){const _0x3321ed=_0x543e24,_0x30ad84=[];this[_0x3321ed(0x279)][_0x3321ed(0x3f5)]((_0x227ea6,_0xb9a901)=>{const _0x30d1a4=_0x3321ed;window[_0x30d1a4(0x4cf)](_0x227ea6),_0x30ad84[_0x30d1a4(0x43b)](this[_0x30d1a4(0x4ea)](_0xb9a901)[_0x30d1a4(0x4c2)](()=>{const _0x5a89fa=_0x30d1a4;this[_0x5a89fa(0x279)]['delete'](_0xb9a901);}));}),await Promise[_0x3321ed(0x2c8)](_0x30ad84);}[_0x543e24(0x690)](){const _0x48ae0c=_0x543e24;this[_0x48ae0c(0x419)](this[_0x48ae0c(0x30d)][_0x48ae0c(0x27a)](()=>{const _0x125432=_0x48ae0c;if(this['_saveTaskMap'][_0x125432(0x59e)])return this[_0x125432(0x34d)]['t'](_0x125432(0x463));}));}},exports[_0x543e24(0x566)]=yn([we(0x0,a[_0x543e24(0x693)]),we(0x1,a[_0x543e24(0x261)]),we(0x2,te[_0x543e24(0x23f)]),we(0x3,a['Inject'](a['LocaleService'])),we(0x4,a[_0x543e24(0x432)](p[_0x543e24(0x277)]))],exports[_0x543e24(0x566)]);function Lt(_0x55e941){const _0x43898=_0x543e24;return _0x43898(0x23a)+_0x55e941;}var On=Object[_0x543e24(0x685)],Dn=Object[_0x543e24(0x3e8)],Pn=(_0x467156,_0xc8cdcc,_0x423b4b,_0x1dda9a)=>{for(var _0x34236e=_0x1dda9a>0x1?void 0x0:_0x1dda9a?Dn(_0xc8cdcc,_0x423b4b):_0xc8cdcc,_0xda3eb4=_0x467156['length']-0x1,_0x2b13ba;_0xda3eb4>=0x0;_0xda3eb4--)(_0x2b13ba=_0x467156[_0xda3eb4])&&(_0x34236e=(_0x1dda9a?_0x2b13ba(_0xc8cdcc,_0x423b4b,_0x34236e):_0x2b13ba(_0x34236e))||_0x34236e);return _0x1dda9a&&_0x34236e&&On(_0xc8cdcc,_0x423b4b,_0x34236e),_0x34236e;},et=(_0xd3b37f,_0x28024c)=>(_0x3446c5,_0x25b151)=>_0x28024c(_0x3446c5,_0x25b151,_0xd3b37f);function wn(_0x14e6fe){const {unitID:_0x343a87,mutations:_0x1a6bfc}=_0x14e6fe;return{'unitId':_0x343a87,'subUnitId':_0x1a6bfc[0x0]['params']['subUnitId']};}let ke=class{constructor(_0xa765fe,_0x225d16,_0xe99940){const _0xcb0c76=_0x543e24;this[_0xcb0c76(0x5b0)]=_0xa765fe,this[_0xcb0c76(0x4c5)]=_0x225d16,this[_0xcb0c76(0x1d7)]=_0xe99940;}[_0x543e24(0x2aa)](_0xfe7c7e){const _0x457b58=_0x543e24;var _0x2d7329,_0x59276d,_0x23db15,_0x113fb3;const _0x1368fa=this[_0x457b58(0x5b0)][_0x457b58(0x5e6)](k[_0x457b58(0x568)]),{unitId:_0x31af7f,subUnitId:_0x24e9cd}=wn(_0xfe7c7e),_0x3b20c3=_0x1368fa['getWorkbookSelections'](_0x31af7f)[_0x457b58(0x3ca)](),_0x414bc4=(_0x59276d=(_0x2d7329=this[_0x457b58(0x1d7)][_0x457b58(0x365)](_0x31af7f))==null?void 0x0:_0x2d7329[_0x457b58(0x242)]())==null?void 0x0:_0x59276d[_0x457b58(0x4a8)]();if(_0x3b20c3[_0x457b58(0x65c)]===0x0||!_0x31af7f||!_0x24e9cd)return;const _0x5f16b4=[{'id':k[_0x457b58(0x524)]['id'],'params':{'unitId':_0x31af7f,'subUnitId':_0x414bc4,'selections':a[_0x457b58(0x327)]['deepClone'](_0x3b20c3)}}],_0x5e93e4=this['_transformService'][_0x457b58(0x38e)](_0xfe7c7e,_0x5f16b4);if(!p[_0x457b58(0x344)](_0x5e93e4))throw _0x5e93e4['error'];const _0x3fb4f5=(_0x113fb3=(_0x23db15=_0x5e93e4[_0x457b58(0x4e6)][0x0])==null?void 0x0:_0x23db15[_0x457b58(0x256)])==null?void 0x0:_0x113fb3[_0x457b58(0x5cc)];if(Array['isArray'](_0x3fb4f5)&&_0x3fb4f5[_0x457b58(0x65c)]){if(_0x3fb4f5[_0x457b58(0x65c)]===_0x5f16b4[0x0]['params']['selections'][_0x457b58(0x65c)]&&_0x3fb4f5[_0x457b58(0x1e7)]((_0x77de5f,_0x57d0b7)=>a[_0x457b58(0x26d)][_0x457b58(0x64b)](_0x77de5f[_0x457b58(0x65d)],_0x5f16b4[0x0]['params'][_0x457b58(0x5cc)][_0x57d0b7]['range'])))return;this[_0x457b58(0x5b0)][_0x457b58(0x5e6)](a[_0x457b58(0x323)])[_0x457b58(0x4ff)](k['SetSelectionsOperation']['id'],{'unitId':_0x31af7f,'subUnitId':_0x414bc4,'selections':_0x3fb4f5});}}};ke=Pn([et(0x0,a[_0x543e24(0x432)](a[_0x543e24(0x2e7)])),et(0x1,p[_0x543e24(0x36e)]),et(0x2,a[_0x543e24(0x316)])],ke);const ze=a[_0x543e24(0x364)](_0x543e24(0x341));var vi=(_0x5ef0ac=>(_0x5ef0ac[_0x5ef0ac[_0x543e24(0x46b)]=0x0]=_0x543e24(0x46b),_0x5ef0ac[_0x5ef0ac[_0x543e24(0x469)]=0x1]=_0x543e24(0x469),_0x5ef0ac))(vi||{});const xt=0x7530,jt=_0x543e24(0x5e7);class Un extends a['Disposable']{constructor(){const _0x44b86e=_0x543e24;super(),I(this,_0x44b86e(0x3e2),a[_0x44b86e(0x327)][_0x44b86e(0x2e5)]()),I(this,_0x44b86e(0x4ec),new Set()),I(this,_0x44b86e(0x362),new Map()),I(this,_0x44b86e(0x324),null),I(this,_0x44b86e(0x585),new Map()),I(this,_0x44b86e(0x66c),new Map()),this[_0x44b86e(0x69b)]();}[_0x543e24(0x5db)](){const _0x6116da=_0x543e24;super[_0x6116da(0x5db)](),this[_0x6116da(0x585)][_0x6116da(0x3f5)]((_0x58e4f2,_0x35f591)=>this[_0x6116da(0x29e)](_0x35f591)),this['_heartbeatTimer']&&window[_0x6116da(0x2ca)](this[_0x6116da(0x324)]);}['getUnitStatus$'](_0x440950){const _0x3ed3d5=_0x543e24;return this['_ensureSubject'](_0x440950)['pipe'](A[_0x3ed3d5(0x69f)]());}[_0x543e24(0x5ec)](_0x25f275){const _0x5c3055=_0x543e24;this[_0x5c3055(0x4ec)][_0x5c3055(0x59e)]===0x0&&this[_0x5c3055(0x533)](),this[_0x5c3055(0x4ec)]['add'](_0x25f275),this[_0x5c3055(0x49f)]({'type':0x0,'memberID':this[_0x5c3055(0x3e2)],'unitIDs':[_0x25f275],'isForwarded':!0x1});}[_0x543e24(0x54d)](_0x592438){const _0x31f446=_0x543e24;this[_0x31f446(0x4ec)][_0x31f446(0x22d)](_0x592438),this[_0x31f446(0x4ec)]['size']===0x0&&this[_0x31f446(0x324)]&&window[_0x31f446(0x2ca)](this[_0x31f446(0x324)]);}[_0x543e24(0x69b)](){const _0x46249d=_0x543e24;this[_0x46249d(0x419)](a[_0x46249d(0x42e)](A[_0x46249d(0x361)](window,_0x46249d(0x48e))['subscribe'](_0x11984a=>{const _0x3c27d6=_0x46249d;if(_0x11984a[_0x3c27d6(0x5a1)]!==jt||!_0x11984a[_0x3c27d6(0x2e8)])return;const _0x2d9bbb=JSON['parse'](_0x11984a[_0x3c27d6(0x2e8)]);this[_0x3c27d6(0x310)](_0x2d9bbb);}))),window[_0x46249d(0x2b9)](_0x46249d(0x4b0),()=>this[_0x46249d(0x49f)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x46249d(0x28f)](this[_0x46249d(0x4ec)])}));}['_handleEvent'](_0x4c60e6){const _0x2ac6f1=_0x543e24;switch(_0x4c60e6[_0x2ac6f1(0x267)]){case 0x0:this['_handleJoinEvent'](_0x4c60e6);break;case 0x1:this['_handleLeaveEvent'](_0x4c60e6);break;case 0x2:this[_0x2ac6f1(0x33d)](_0x4c60e6);break;}}[_0x543e24(0x614)](_0x31477d){const _0x14136d=_0x543e24,{unitIDs:_0x589385,memberID:_0x32bcd0,isForwarded:_0x51bf95}=_0x31477d;_0x589385[_0x14136d(0x3f5)](_0x1239ef=>{const _0x45247b=_0x14136d;if(!_0x51bf95&&this[_0x45247b(0x362)]['has'](_0x1239ef)&&this['_ensureSubject'](_0x1239ef)[_0x45247b(0x218)](0x1),!this['_unitOnClients'][_0x45247b(0x65f)](_0x1239ef)||!this[_0x45247b(0x362)][_0x45247b(0x5e6)](_0x1239ef)[_0x45247b(0x65f)](_0x32bcd0)){const _0x181d64=this['_unitOnClients']['get'](_0x1239ef)||new Set();_0x181d64[_0x45247b(0x43c)](_0x32bcd0),this[_0x45247b(0x362)]['set'](_0x1239ef,_0x181d64),this[_0x45247b(0x288)](_0x32bcd0);}}),_0x51bf95||this[_0x14136d(0x49f)]({'type':0x0,'memberID':this[_0x14136d(0x3e2)],'unitIDs':[...this[_0x14136d(0x4ec)]],'isForwarded':!0x0});}[_0x543e24(0x288)](_0xca3de2){const _0x294d94=_0x543e24;this[_0x294d94(0x29e)](_0xca3de2);const _0x591a8b=window[_0x294d94(0x68e)](()=>{const _0x231467=_0x294d94;this[_0x231467(0x362)]['forEach'](_0x3c3cfd=>{const _0x5686f4=_0x231467;_0x3c3cfd[_0x5686f4(0x22d)](_0xca3de2);});},xt*0x2);this[_0x294d94(0x585)][_0x294d94(0x4b5)](_0xca3de2,_0x591a8b);}[_0x543e24(0x29e)](_0x119d68){const _0x2d5f85=_0x543e24;if(this[_0x2d5f85(0x585)][_0x2d5f85(0x65f)](_0x119d68)){const _0x254fcf=this[_0x2d5f85(0x585)][_0x2d5f85(0x5e6)](_0x119d68);_0x254fcf&&window[_0x2d5f85(0x4cf)](_0x254fcf),this[_0x2d5f85(0x585)][_0x2d5f85(0x4b5)](_0x119d68,null);}}[_0x543e24(0x698)](_0x29ce01){const _0x371825=_0x543e24,{memberID:_0x42bc03,unitIDs:_0x3cb559}=_0x29ce01;_0x3cb559[_0x371825(0x3f5)](_0x187560=>{const _0x322ee8=_0x371825;var _0x12c712;const _0x2808df=this[_0x322ee8(0x362)][_0x322ee8(0x5e6)](_0x187560);_0x2808df&&(_0x2808df[_0x322ee8(0x22d)](_0x42bc03),(_0x12c712=this[_0x322ee8(0x3a6)](_0x187560))==null||_0x12c712[_0x322ee8(0x218)](_0x2808df[_0x322ee8(0x59e)]===0x0?0x0:0x1));}),this[_0x371825(0x29e)](_0x42bc03);}[_0x543e24(0x33d)](_0x1f11e7){const _0x4316cf=_0x543e24;this[_0x4316cf(0x288)](_0x1f11e7[_0x4316cf(0x49c)]);}[_0x543e24(0x49f)](_0x59adda){const _0x385e3e=_0x543e24;localStorage[_0x385e3e(0x4db)](jt,JSON[_0x385e3e(0x403)](_0x59adda));}[_0x543e24(0x533)](){const _0x564f0b=_0x543e24;this[_0x564f0b(0x324)]=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},xt);}[_0x543e24(0x3a6)](_0x11c690){const _0xa81515=_0x543e24;return this[_0xa81515(0x66c)]['has'](_0x11c690)||this[_0xa81515(0x66c)][_0xa81515(0x4b5)](_0x11c690,new A['BehaviorSubject'](0x0)),this[_0xa81515(0x66c)]['get'](_0x11c690);}}var Mn=Object[_0x543e24(0x685)],An=Object[_0x543e24(0x3e8)],Nn=(_0x19b491,_0x535f30,_0x2f3762,_0xd17be9)=>{const _0x5a9959=_0x543e24;for(var _0x34ceef=_0xd17be9>0x1?void 0x0:_0xd17be9?An(_0x535f30,_0x2f3762):_0x535f30,_0x5cddbb=_0x19b491[_0x5a9959(0x65c)]-0x1,_0x288b3f;_0x5cddbb>=0x0;_0x5cddbb--)(_0x288b3f=_0x19b491[_0x5cddbb])&&(_0x34ceef=(_0xd17be9?_0x288b3f(_0x535f30,_0x2f3762,_0x34ceef):_0x288b3f(_0x34ceef))||_0x34ceef);return _0xd17be9&&_0x34ceef&&Mn(_0x535f30,_0x2f3762,_0x34ceef),_0x34ceef;},tt=(_0x21f865,_0x286aff)=>(_0x132591,_0x3f94c0)=>_0x286aff(_0x132591,_0x3f94c0,_0x21f865);let We=class{constructor(_0x1e123f,_0x41ac74,_0x2287db){const _0x46e1a7=_0x543e24;this[_0x46e1a7(0x5b0)]=_0x1e123f,this[_0x46e1a7(0x4c5)]=_0x41ac74,this[_0x46e1a7(0x4b2)]=_0x2287db;}[_0x543e24(0x60e)](_0x33b7d9){this['_transformHistoryAndStateStack'](_0x33b7d9);}[_0x543e24(0x283)](_0x121476){const _0x2ed25b=_0x543e24,{unitID:_0x1c2bda}=_0x121476,{collaboration:_0x3d4d1b}=this[_0x2ed25b(0x4b2)][_0x2ed25b(0x312)](_0x1c2bda);if(_0x3d4d1b[_0x2ed25b(0x65c)]===0x0)return _0x121476;let _0x1447f1=a[_0x2ed25b(0x327)]['deepClone'](_0x121476['mutations'][0x0]);for(let _0x223186=0x0;_0x223186<_0x3d4d1b['length'];_0x223186++){const _0x2ea2ca={'id':_0x2ed25b(0x5cf),'params':{'unitId':_0x3d4d1b[_0x223186][_0x2ed25b(0x32c)],..._0x3d4d1b[_0x223186]['redoState']}},_0x33b55c=this[_0x2ed25b(0x4c5)][_0x2ed25b(0x287)](_0x1447f1,_0x2ea2ca,!0x1);if(p[_0x2ed25b(0x4dc)](_0x33b55c))throw _0x33b55c[_0x2ed25b(0x624)];_0x1447f1=_0x33b55c[_0x2ed25b(0x609)];}return{...a[_0x2ed25b(0x327)][_0x2ed25b(0x531)](_0x121476),'mutations':[_0x1447f1]};}[_0x543e24(0x44e)](_0x4abf3b){const _0x4947e9=_0x543e24,{unitID:_0x179ea4}=_0x4abf3b,{history:_0x3005b4,collaboration:_0x451b21}=this[_0x4947e9(0x4b2)][_0x4947e9(0x312)](_0x179ea4);if(_0x3005b4['length']===0x0&&_0x451b21['length']===0x0)return;const _0x38b7db=[],_0xb5f925=[];let _0x51b595=a[_0x4947e9(0x327)][_0x4947e9(0x531)](_0x4abf3b[_0x4947e9(0x313)][0x0]),_0x165a00=a['Tools']['deepClone'](_0x4abf3b[_0x4947e9(0x313)][0x0]);for(let _0x1f78b3=_0x3005b4[_0x4947e9(0x65c)]-0x1;_0x1f78b3>=0x0;_0x1f78b3--){const _0x3345e6={'id':_0x4947e9(0x5cf),'params':{'unitId':_0x3005b4[_0x1f78b3][_0x4947e9(0x32c)],..._0x3005b4[_0x1f78b3][_0x4947e9(0x62a)]}},_0x12e5dc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3005b4[_0x1f78b3][_0x4947e9(0x32c)],..._0x3005b4[_0x1f78b3]['redoState']}},_0x3ed2e1=this[_0x4947e9(0x4c5)][_0x4947e9(0x287)](_0x51b595,_0x3345e6,!0x1),_0x3bb207=this[_0x4947e9(0x4c5)][_0x4947e9(0x287)](_0x165a00,_0x12e5dc,!0x1);if(p['isTransformMutationFailure'](_0x3ed2e1))throw _0x3ed2e1[_0x4947e9(0x624)];if(p['isTransformMutationFailure'](_0x3bb207))throw _0x3bb207[_0x4947e9(0x624)];_0x38b7db[_0x4947e9(0x369)]({..._0x3005b4[_0x1f78b3],'undoState':_0x3ed2e1[_0x4947e9(0x4e6)][_0x4947e9(0x256)],'redoState':_0x3bb207['m2Prime']['params']}),_0x51b595=_0x3ed2e1[_0x4947e9(0x609)],_0x165a00=_0x3bb207[_0x4947e9(0x609)];}_0x51b595=a[_0x4947e9(0x327)][_0x4947e9(0x531)](_0x4abf3b[_0x4947e9(0x313)][0x0]),_0x165a00=a[_0x4947e9(0x327)]['deepClone'](_0x4abf3b[_0x4947e9(0x313)][0x0]);for(let _0x591604=_0x451b21[_0x4947e9(0x65c)]-0x1;_0x591604>=0x0;_0x591604--){const _0x53e7cf={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x451b21[_0x591604][_0x4947e9(0x32c)],..._0x451b21[_0x591604][_0x4947e9(0x62a)]}},_0x27b7f7={'id':_0x4947e9(0x5cf),'params':{'unitId':_0x451b21[_0x591604][_0x4947e9(0x32c)],..._0x451b21[_0x591604]['redoState']}},_0x4f5bed=this[_0x4947e9(0x4c5)][_0x4947e9(0x287)](_0x51b595,_0x53e7cf,!0x1),_0x24b7cb=this[_0x4947e9(0x4c5)][_0x4947e9(0x287)](_0x165a00,_0x27b7f7,!0x1);if(p[_0x4947e9(0x4dc)](_0x4f5bed))throw _0x4f5bed[_0x4947e9(0x624)];if(p[_0x4947e9(0x4dc)](_0x24b7cb))throw _0x24b7cb['error'];_0xb5f925[_0x4947e9(0x369)]({..._0x451b21[_0x591604],'undoState':_0x4f5bed['m2Prime'][_0x4947e9(0x256)],'redoState':_0x24b7cb[_0x4947e9(0x4e6)][_0x4947e9(0x256)]}),_0x51b595=_0x4f5bed[_0x4947e9(0x609)],_0x165a00=_0x24b7cb['m1Prime'];}this[_0x4947e9(0x4b2)]['setStateCache'](_0x179ea4,{'history':_0x38b7db,'collaboration':_0xb5f925});}};We=Nn([tt(0x0,a[_0x543e24(0x432)](a['Injector'])),tt(0x1,p[_0x543e24(0x36e)]),tt(0x2,a[_0x543e24(0x432)](J[_0x543e24(0x32d)]))],We);function Si(_0x21bfb5){const _0x336ba4=_0x543e24;let _0xab0c9f='';for(const _0x3687c1 of _0x21bfb5){const {startOffset:_0x1ea81e,endOffset:_0x167af8,isActive:_0x4d39b1,rangeType:_0x344771,segmentId:_0x11378c,segmentPage:_0x21a357}=_0x3687c1;_0xab0c9f[_0x336ba4(0x65c)]&&(_0xab0c9f+=','),_0xab0c9f+=_0x1ea81e+':'+_0x167af8+':'+(_0x4d39b1?'1':'0')+':'+_0x344771+':'+_0x11378c+':'+_0x21a357;}return _0xab0c9f;}function Ln(_0x5d54ab){const _0x11e7a4=_0x543e24,_0xea48d9=_0x5d54ab[_0x11e7a4(0x619)](','),_0x4a1cd5=[];for(const _0x1e35cf of _0xea48d9){const [_0x3e4b12,_0x27ab0c,_0x16cf25,_0x5cfba2,_0x4920ac,_0x361e79]=_0x1e35cf[_0x11e7a4(0x619)](':');_0x4a1cd5['push']({'startOffset':Number(_0x3e4b12),'endOffset':Number(_0x27ab0c),'collapsed':_0x3e4b12===_0x27ab0c,'isActive':_0x16cf25==='1','rangeType':_0x5cfba2===a[_0x11e7a4(0x28c)][_0x11e7a4(0x59b)]?a[_0x11e7a4(0x28c)][_0x11e7a4(0x59b)]:a['DOC_RANGE_TYPE'][_0x11e7a4(0x63b)],'segmentId':typeof _0x4920ac=='string'?String(_0x4920ac):'','segmentPage':Number(_0x361e79!=null?_0x361e79:-0x1)});}return _0x4a1cd5[_0x11e7a4(0x349)](_0x5bf30a=>_0x5bf30a['isActive'])||(_0x4a1cd5[0x0]['isActive']=!0x0),_0x4a1cd5;}class yt extends a[_0x543e24(0x49e)]{constructor(){const _0x41ad6d=_0x543e24;super(...arguments),I(this,_0x41ad6d(0x3bf),new A[(_0x41ad6d(0x421))](null)),I(this,'collabCursorState$',this[_0x41ad6d(0x3bf)][_0x41ad6d(0x1ea)]());}[_0x543e24(0x668)](_0x18ab62){const _0x4c7d3c=_0x543e24,{unitID:_0x47c2c1,memberID:_0x945224,textRanges:_0x4c7a63}=_0x18ab62,_0x10bcb7=Si(_0x4c7a63);if(_0x10bcb7==='')return;const _0x15d4da={'unitID':_0x47c2c1,'memberID':_0x945224,'selection':_0x10bcb7};this[_0x4c7d3c(0x3bf)][_0x4c7d3c(0x218)](_0x15d4da);}}var xn=Object[_0x543e24(0x685)],jn=Object['getOwnPropertyDescriptor'],$n=(_0xb6bc12,_0x2a72a5,_0x474c84,_0x37bbe9)=>{const _0x3b2c79=_0x543e24;for(var _0x5394f0=_0x37bbe9>0x1?void 0x0:_0x37bbe9?jn(_0x2a72a5,_0x474c84):_0x2a72a5,_0x1f865d=_0xb6bc12[_0x3b2c79(0x65c)]-0x1,_0x3bb108;_0x1f865d>=0x0;_0x1f865d--)(_0x3bb108=_0xb6bc12[_0x1f865d])&&(_0x5394f0=(_0x37bbe9?_0x3bb108(_0x2a72a5,_0x474c84,_0x5394f0):_0x3bb108(_0x5394f0))||_0x5394f0);return _0x37bbe9&&_0x5394f0&&xn(_0x2a72a5,_0x474c84,_0x5394f0),_0x5394f0;},$t=(_0x1fcf01,_0x2de0f7)=>(_0x225220,_0x15a010)=>_0x2de0f7(_0x225220,_0x15a010,_0x1fcf01);let Fe=class{constructor(_0x17b725,_0x3a2bc3){const _0x94854b=_0x543e24;this[_0x94854b(0x5b0)]=_0x17b725,this[_0x94854b(0x4c5)]=_0x3a2bc3;}['transformSelections'](_0x201ef4){const _0x84daf5=_0x543e24;var _0x58cd04;const _0x2f9948=this[_0x84daf5(0x5b0)][_0x84daf5(0x5e6)](Ie['DocSelectionManagerService']),_0x93f47b=(_0x58cd04=_0x2f9948[_0x84daf5(0x4c3)]())!=null?_0x58cd04:[];if(_0x93f47b[_0x84daf5(0x65c)]===0x0)return;const _0x2d7412=_0x201ef4[_0x84daf5(0x5dd)],_0xd5647d=[{'id':_0x84daf5(0x5cf),'params':{'unitId':_0x2d7412,'actions':null,'textRanges':_0x93f47b}}],_0x4341a5=this[_0x84daf5(0x4c5)][_0x84daf5(0x38e)](_0x201ef4,_0xd5647d);if(!p[_0x84daf5(0x344)](_0x4341a5))throw _0x4341a5[_0x84daf5(0x624)];const _0x255b55=_0x4341a5[_0x84daf5(0x4e6)][0x0][_0x84daf5(0x256)][_0x84daf5(0x52f)];Array[_0x84daf5(0x343)](_0x255b55)&&_0x255b55['length']&&_0x2f9948[_0x84daf5(0x2d5)](_0x255b55,{'unitId':_0x2d7412,'subUnitId':_0x2d7412},!0x1);}};Fe=$n([$t(0x0,a[_0x543e24(0x432)](a['Injector'])),$t(0x1,p[_0x543e24(0x36e)])],Fe);const Hn=new Set([k['InsertSheetMutation']['id']]);function Ht(_0x2026a4,_0x176f4f,_0x3c63de,_0x14884f,_0x55c12c){const _0x225f21=_0x543e24;var _0x33e5df,_0x40e3cb,_0x25483c,_0x426ba7;const _0x26563c=[];for(const _0xdfad29 of _0x2026a4)if(Hn[_0x225f21(0x65f)](_0xdfad29['id'])){if(_0x26563c[_0x225f21(0x65c)]>0x0)break;_0x26563c[_0x225f21(0x43b)](_0xdfad29);break;}else _0x26563c[_0x225f21(0x43b)](_0xdfad29);const _0x3a1055=(_0x40e3cb=(_0x33e5df=_0x55c12c[_0x225f21(0x623)]())==null?void 0x0:_0x33e5df[_0x225f21(0x36a)])!=null?_0x40e3cb:_0x225f21(0x1fb),_0x541300=(_0x426ba7=(_0x25483c=_0x55c12c['getCurrentUser']())==null?void 0x0:_0x25483c[_0x225f21(0x49c)])!=null?_0x426ba7:_0x225f21(0x1fb);return{'changeset':{'unitID':_0x176f4f,'type':p[_0x225f21(0x231)](_0x3c63de[_0x225f21(0x429)](_0x176f4f)),'baseRev':_0x14884f[_0x225f21(0x5bf)](_0x176f4f),'revision':0x0,'userID':_0x3a1055,'memberID':_0x541300,'mutations':_0x26563c},'pendingMutations':_0x2026a4[_0x225f21(0x554)](_0x26563c[_0x225f21(0x65c)])};}function Bn(_0x3592d5,_0x1baddc,_0x3808a0,_0x4879f9,_0x9fa3a6){const _0x49732f=_0x543e24;var _0x23eded,_0x348444,_0x47529b,_0x5a5e19;const _0xda9f55=[_0x3592d5['reduce']((_0x5c2a53,_0xfd0e68)=>{const _0x5ae3b0=_0x4acf;var _0x43dcec;const {id:_0x22058a}=_0x5c2a53,{id:_0x43d404,type:_0x251c62}=_0xfd0e68,_0xa1a927=(_0x43dcec=_0x5c2a53['params'])!=null?_0x43dcec:{'actions':null},_0x42a3d5=_0xfd0e68[_0x5ae3b0(0x256)];if(_0x22058a&&_0x22058a!==_0x43d404)throw new Error(_0x5ae3b0(0x309)+_0x22058a+'\x20-\x20'+_0x43d404+'.');return{..._0x5c2a53,'id':_0x43d404,'type':_0x251c62,'params':{'unitId':_0x42a3d5[_0x5ae3b0(0x32c)],'textRanges':_0x42a3d5['textRanges'],'actions':a[_0x5ae3b0(0x37e)][_0x5ae3b0(0x1de)](_0xa1a927[_0x5ae3b0(0x4e2)],_0x42a3d5[_0x5ae3b0(0x4e2)])}};},{})],_0x3f9131=(_0x348444=(_0x23eded=_0x9fa3a6[_0x49732f(0x623)]())==null?void 0x0:_0x23eded[_0x49732f(0x36a)])!=null?_0x348444:'unknown',_0x421513=(_0x5a5e19=(_0x47529b=_0x9fa3a6[_0x49732f(0x623)]())==null?void 0x0:_0x47529b[_0x49732f(0x49c)])!=null?_0x5a5e19:_0x49732f(0x1fb);return{'changeset':{'unitID':_0x1baddc,'type':p[_0x49732f(0x231)](_0x3808a0[_0x49732f(0x429)](_0x1baddc)),'baseRev':_0x4879f9[_0x49732f(0x5bf)](_0x1baddc),'revision':0x0,'userID':_0x3f9131,'memberID':_0x421513,'mutations':_0xda9f55},'pendingMutations':[]};}function pi(_0x267a4d,_0x1471dc){const _0x2ea077=_0x543e24,_0x313535=new A[(_0x2ea077(0x381))](0x1);return setTimeout(()=>_0x313535[_0x2ea077(0x218)](_0x1471dc),_0x267a4d),_0x313535[_0x2ea077(0x1ea)]()['pipe'](A[_0x2ea077(0x5b5)](0x1));}const kn={'id':k[_0x543e24(0x33b)]['id'],'type':a[_0x543e24(0x663)][_0x543e24(0x235)],'params':{}};var Wn=Object[_0x543e24(0x685)],Fn=Object[_0x543e24(0x3e8)],Ee=(_0x56a08a,_0x2596e5,_0x4f6957,_0x33e85b)=>{const _0x3293cc=_0x543e24;for(var _0x5c31b3=_0x33e85b>0x1?void 0x0:_0x33e85b?Fn(_0x2596e5,_0x4f6957):_0x2596e5,_0x107288=_0x56a08a[_0x3293cc(0x65c)]-0x1,_0x1df68e;_0x107288>=0x0;_0x107288--)(_0x1df68e=_0x56a08a[_0x107288])&&(_0x5c31b3=(_0x33e85b?_0x1df68e(_0x2596e5,_0x4f6957,_0x5c31b3):_0x1df68e(_0x5c31b3))||_0x5c31b3);return _0x33e85b&&_0x5c31b3&&Wn(_0x2596e5,_0x4f6957,_0x5c31b3),_0x5c31b3;},N=(_0x513f3c,_0x249d1e)=>(_0x467482,_0x17900c)=>_0x249d1e(_0x467482,_0x17900c,_0x513f3c),q=(_0x527ea8=>(_0x527ea8[_0x543e24(0x33f)]=_0x543e24(0x382),_0x527ea8['SYNCED']=_0x543e24(0x4e1),_0x527ea8['PENDING']=_0x543e24(0x672),_0x527ea8['AWAITING']='awaiting',_0x527ea8[_0x543e24(0x273)]=_0x543e24(0x579),_0x527ea8[_0x543e24(0x1da)]=_0x543e24(0x4ef),_0x527ea8[_0x543e24(0x69a)]='conflict',_0x527ea8['OFFLINE']='offline',_0x527ea8))(q||{});const mi=0xea60;class be{constructor(_0x59fece,_0x49afb6,_0x5820c1,_0x321162,_0x324c57,_0x1aec70,_0x1e4bf4,_0x3d216e,_0x37fcdf){const _0x1d0d60=_0x543e24;I(this,_0x1d0d60(0x409),null),I(this,'_pendingMutations',[]),(this['unitID']=_0x59fece,this['type']=_0x49afb6,this[_0x1d0d60(0x5d0)]=_0x324c57,this['_commandService']=_0x1aec70,this[_0x1d0d60(0x458)]=_0x1e4bf4,this[_0x1d0d60(0x2b5)]=_0x3d216e,this[_0x1d0d60(0x58a)]=_0x37fcdf,this['_awaitingChangeset']=_0x5820c1,this[_0x1d0d60(0x625)]=_0x321162);}[_0x543e24(0x2bb)](_0x176434){const _0x1da0cc=_0x543e24,_0x44f215=this[_0x1da0cc(0x2b5)][_0x1da0cc(0x5bf)](this['unitID']);return _0x176434[_0x1da0cc(0x272)]>_0x44f215+0x1?(this[_0x1da0cc(0x5d0)]['onMissingChangesets']({'from':_0x44f215,'to':_0x176434[_0x1da0cc(0x272)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x28b6a){const _0x1f3b47=_0x543e24;this[_0x1f3b47(0x458)][_0x1f3b47(0x521)](this['unitID'],_0x28b6a);}[_0x543e24(0x675)](_0x3ba2a2){const _0x3d0b1f=_0x543e24;var _0xa7abbe,_0x1ce558;(_0x1ce558=(_0xa7abbe=this[_0x3d0b1f(0x5d0)])['onTransformSelections'])==null||_0x1ce558[_0x3d0b1f(0x353)](_0xa7abbe,_0x3ba2a2);}[_0x543e24(0x3e4)](_0x683f6e){const _0x45145d=_0x543e24;var _0x177d31,_0x393b67;return(_0x393b67=(_0x177d31=this[_0x45145d(0x5d0)])[_0x45145d(0x2c7)])==null?void 0x0:_0x393b67[_0x45145d(0x353)](_0x177d31,_0x683f6e);}[_0x543e24(0x4f4)](_0x586a6d){const _0x22cc18=_0x543e24;var _0x523469,_0x2dacfd;return(_0x2dacfd=(_0x523469=this[_0x22cc18(0x5d0)])[_0x22cc18(0x212)])==null?void 0x0:_0x2dacfd['call'](_0x523469,_0x586a6d);}[_0x543e24(0x3e9)](_0x5f3808){const _0x29c237=_0x543e24;var _0x2c4e89,_0x401704,_0x273a63;return(_0x273a63=(_0x401704=(_0x2c4e89=this[_0x29c237(0x5d0)])[_0x29c237(0x584)])==null?void 0x0:_0x401704['call'](_0x2c4e89,_0x5f3808))!=null?_0x273a63:_0x5f3808;}[_0x543e24(0x3a1)](_0x450598){const _0x59f9d9=_0x543e24;var _0x3016ee,_0x569a35,_0x549d14;return(_0x549d14=(_0x569a35=(_0x3016ee=this[_0x59f9d9(0x5d0)])[_0x59f9d9(0x3c4)])==null?void 0x0:_0x569a35[_0x59f9d9(0x353)](_0x3016ee,_0x450598))!=null?_0x549d14:_0x450598;}[_0x543e24(0x300)](_0xb13492){const _0x4b95a1=_0x543e24;var _0xb533ec,_0x2df269;if(this['type']===ne[_0x4b95a1(0x395)]){const {unitID:_0x1c1226,mutations:_0x39eba4,memberID:_0x2ce4b9}=_0xb13492,_0x3347aa=_0x39eba4[0x0]['params'][_0x4b95a1(0x52f)];Array[_0x4b95a1(0x343)](_0x3347aa)&&_0x3347aa[_0x4b95a1(0x65c)]>0x0&&((_0x2df269=(_0xb533ec=this[_0x4b95a1(0x5d0)])[_0x4b95a1(0x54e)])==null||_0x2df269[_0x4b95a1(0x353)](_0xb533ec,{'unitID':_0x1c1226,'memberID':_0x2ce4b9,'textRanges':_0x3347aa}));}}['_updateLocalCache'](){const _0x5e3b32=_0x543e24;this['_localCacheService'][_0x5e3b32(0x2a3)](this[_0x5e3b32(0x5dd)],this[_0x5e3b32(0x267)],this[_0x5e3b32(0x409)],this[_0x5e3b32(0x625)]);}[_0x543e24(0x643)](){const _0x1fc501=_0x543e24;return this['_revisionService'][_0x1fc501(0x5bf)](this['unitID']);}[_0x543e24(0x68f)](){const _0x5c8525=_0x543e24;this[_0x5c8525(0x2b5)][_0x5c8525(0x5bb)](this[_0x5c8525(0x5dd)]);}[_0x543e24(0x302)](_0x36501e){const _0x56b082=_0x543e24;var _0x151657;let _0x3521e1=this[_0x56b082(0x3e9)](_0x36501e);_0x3521e1=this[_0x56b082(0x3a1)](_0x3521e1);const _0xb43f7a=a[_0x56b082(0x5de)](_0x3521e1[_0x56b082(0x313)],this[_0x56b082(0x4cb)],{'fromCollab':!0x0});if(!_0xb43f7a['result'])throw _0xb43f7a[_0x56b082(0x624)]instanceof Error?_0xb43f7a[_0x56b082(0x624)]:new Error((_0x151657=_0xb43f7a['error'])!=null?_0x151657:_0x56b082(0x3a4));this[_0x56b082(0x3e4)](_0x3521e1),this[_0x56b082(0x4f4)](_0x3521e1),this[_0x56b082(0x26f)](_0x36501e),this[_0x56b082(0x675)](_0x3521e1),this[_0x56b082(0x300)](_0x3521e1),this[_0x56b082(0x68f)]();}}let Oe=class extends be{constructor(_0x1e97e2,_0x5d0448,_0x27d24a,_0x32bf43,_0x274a87,_0x3a2c62,_0x282b47,_0x4a99bd,_0x40c9e2,_0xd04e73){const _0x497a62=_0x543e24;super(_0x1e97e2,_0x5d0448,null,[],_0x27d24a,_0x4a99bd,_0x282b47,_0x32bf43,_0x274a87),I(this,'status','synced'),(this[_0x497a62(0x5b0)]=_0x3a2c62,this[_0x497a62(0x5d8)]=_0x40c9e2,this[_0x497a62(0x4c5)]=_0xd04e73);}['appendMutation'](_0x901b13){const _0x2c7acf=_0x543e24,_0x481312=this['_injector']['createInstance'](ce,this[_0x2c7acf(0x5dd)],this[_0x2c7acf(0x267)],[_0x901b13],this[_0x2c7acf(0x5d0)]);return _0x481312[_0x2c7acf(0x689)](),_0x481312[_0x2c7acf(0x5d5)](),_0x481312;}['onRemoteChangeset'](_0x3f8147){const _0x44d3cd=_0x543e24;if(this[_0x44d3cd(0x2bb)](_0x3f8147))return this[_0x44d3cd(0x5b0)][_0x44d3cd(0x25d)](re,this[_0x44d3cd(0x5dd)],this[_0x44d3cd(0x267)],null,[],null,[_0x3f8147],this[_0x44d3cd(0x5d0)]);try{const _0x4edad9=this['_transformService'][_0x44d3cd(0x38e)](_0x3f8147,[kn]);if(p[_0x44d3cd(0x344)](_0x4edad9)){const {c1Prime:_0x3b4f3e}=_0x4edad9;return this[_0x44d3cd(0x302)](_0x3b4f3e),this;}throw _0x4edad9['error'];}catch(_0x487662){return this['_logService']['error'](_0x487662),this['_onConflict'](!0x1);}}[_0x543e24(0x652)](_0x23b87f){const _0x55089b=_0x543e24;return this[_0x55089b(0x5b0)][_0x55089b(0x25d)](ve,this['unitID'],this[_0x55089b(0x267)],null,[],this[_0x55089b(0x5d0)],_0x23b87f);}[_0x543e24(0x2d3)](){const _0x3e346c=_0x543e24;throw new Error(_0x3e346c(0x610));}['onRemoteRej'](){const _0x167299=_0x543e24;throw new Error(_0x167299(0x3bd));}[_0x543e24(0x40e)](){return this;}['toggleOffline'](){const _0x593ac7=_0x543e24;return this[_0x593ac7(0x5b0)][_0x593ac7(0x25d)](Se,this[_0x593ac7(0x5dd)],this[_0x593ac7(0x267)],null,[],this[_0x593ac7(0x5d0)]);}[_0x543e24(0x496)](){return this;}[_0x543e24(0x3ee)](){const _0x557eee=_0x543e24;throw new Error(_0x557eee(0x428));}['fetchMiss'](){const _0x82481b=_0x543e24,_0x292229=this['_revisionService'][_0x82481b(0x5bf)](this[_0x82481b(0x5dd)]);return this[_0x82481b(0x5d0)]['onMissingChangesets']({'from':_0x292229,'to':0x0}),this['_injector']['createInstance'](re,this[_0x82481b(0x5dd)],this['type'],null,[],null,[],this[_0x82481b(0x5d0)]);}};Oe=Ee([N(0x3,a[_0x543e24(0x432)](p[_0x543e24(0x277)])),N(0x4,a[_0x543e24(0x432)](exports[_0x543e24(0x566)])),N(0x5,a[_0x543e24(0x432)](a[_0x543e24(0x2e7)])),N(0x6,a[_0x543e24(0x431)]),N(0x7,a[_0x543e24(0x323)]),N(0x8,a[_0x543e24(0x488)]),N(0x9,p['ITransformService'])],Oe);let ce=class extends be{constructor(_0x2cb814,_0x4b9e9b,_0x5bee1c,_0x38a9e9,_0x4c2ae8,_0x1b5e97,_0x181f39,_0x6fb8de,_0x42ecf9,_0x409617,_0xf14ca0,_0x32ca12,_0x14369c,_0xfd6df8){const _0x2fa0ca=_0x543e24;super(_0x2cb814,_0x4b9e9b,null,_0x5bee1c,_0x38a9e9,_0x409617,_0xfd6df8,_0x1b5e97,_0x181f39),I(this,_0x2fa0ca(0x39b),_0x2fa0ca(0x672)),I(this,'_scheduleTimestamp',null),I(this,_0x2fa0ca(0x5a7),null),(this['_injector']=_0x4c2ae8,this[_0x2fa0ca(0x46f)]=_0x6fb8de,this[_0x2fa0ca(0x5d8)]=_0x42ecf9,this['_configService']=_0xf14ca0,this[_0x2fa0ca(0x4c5)]=_0x32ca12,this['_univerInstanceService']=_0x14369c);}[_0x543e24(0x4d7)](_0x3512dd){const _0x794ca1=_0x543e24;return this[_0x794ca1(0x625)][_0x794ca1(0x43b)](_0x3512dd),this[_0x794ca1(0x5d5)](),this;}['onRemoteChangeset'](_0x5aa324){const _0x541ecf=_0x543e24;if(this[_0x541ecf(0x2bb)](_0x5aa324))return this['_clearScheduledTask'](),this[_0x541ecf(0x5b0)][_0x541ecf(0x25d)](re,this[_0x541ecf(0x5dd)],this['type'],null,this['_pendingMutations'],null,[_0x5aa324],this[_0x541ecf(0x5d0)]);try{const _0x3231f6=this[_0x541ecf(0x4c5)][_0x541ecf(0x38e)](_0x5aa324,this['_pendingMutations']);if(p[_0x541ecf(0x344)](_0x3231f6)){const {c1Prime:_0x97273c,m2Prime:_0x5670ee}=_0x3231f6;this[_0x541ecf(0x302)](_0x97273c);const _0x164d9b=this[_0x541ecf(0x5b0)][_0x541ecf(0x25d)](ce,this[_0x541ecf(0x5dd)],this[_0x541ecf(0x267)],_0x5670ee,this[_0x541ecf(0x5d0)]);return this[_0x541ecf(0x209)](),_0x164d9b[_0x541ecf(0x689)](this[_0x541ecf(0x2c3)]?Math['max'](0x0,new Date()[_0x541ecf(0x2e3)]()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x164d9b;}throw _0x3231f6[_0x541ecf(0x624)];}catch(_0x2d5b3a){return this['_logService'][_0x541ecf(0x624)](_0x2d5b3a),this[_0x541ecf(0x652)](!0x1);}}[_0x543e24(0x2d3)](){const _0x22ce3b=_0x543e24;throw new Error(_0x22ce3b(0x26b));}[_0x543e24(0x586)](){const _0x10772d=_0x543e24;throw new Error(_0x10772d(0x427));}[_0x543e24(0x40e)](){return this;}[_0x543e24(0x23d)](){const _0xc2ac7e=_0x543e24;return this['_clearScheduledTask'](),this[_0xc2ac7e(0x5b0)][_0xc2ac7e(0x25d)](Se,this[_0xc2ac7e(0x5dd)],this['type'],null,this[_0xc2ac7e(0x625)],this[_0xc2ac7e(0x5d0)]);}[_0x543e24(0x496)](){return this;}['_schedule'](_0xf8e67){const _0x3b74be=_0x543e24,_0x2c0b0f=_0xf8e67!=null?_0xf8e67:this[_0x3b74be(0x505)]();this[_0x3b74be(0x2c3)]=new Date()['getTime'](),this[_0x3b74be(0x5a7)]=window[_0x3b74be(0x68e)](()=>{const _0x344725=_0x3b74be;this[_0x344725(0x209)]();let _0x58903a=null;switch(this[_0x344725(0x267)]){case ne[_0x344725(0x34c)]:{_0x58903a=Ht(this[_0x344725(0x625)],this[_0x344725(0x5dd)],this['_univerInstanceService'],this[_0x344725(0x2b5)],this['_memberService']);break;}case ne[_0x344725(0x395)]:{this[_0x344725(0x625)][_0x344725(0x1e7)](_0x56814d=>_0x56814d['id']===Ie[_0x344725(0x38a)]['id'])?_0x58903a=Bn(this[_0x344725(0x625)],this['unitID'],this[_0x344725(0x47c)],this[_0x344725(0x2b5)],this[_0x344725(0x46f)]):_0x58903a=Ht(this['_pendingMutations'],this[_0x344725(0x5dd)],this[_0x344725(0x47c)],this['_revisionService'],this[_0x344725(0x46f)]);break;}default:throw new Error(_0x344725(0x424)+this[_0x344725(0x267)]+_0x344725(0x214));}const {changeset:_0x5df63f,pendingMutations:_0x4eecb6}=_0x58903a;this[_0x344725(0x5d0)][_0x344725(0x3e3)](_0x5df63f);const _0x99258d=_0x4eecb6['length']?this[_0x344725(0x5b0)][_0x344725(0x25d)](le,this[_0x344725(0x5dd)],this[_0x344725(0x267)],_0x5df63f,_0x4eecb6,this[_0x344725(0x5d0)],void 0x0):this[_0x344725(0x5b0)][_0x344725(0x25d)](fe,this[_0x344725(0x5dd)],this[_0x344725(0x267)],_0x5df63f,this[_0x344725(0x5d0)]);_0x99258d[_0x344725(0x5d5)](),this[_0x344725(0x5d0)][_0x344725(0x5fb)](this,_0x99258d);},_0x2c0b0f);}[_0x543e24(0x505)](){var _0x533db0;const _0x437830=this['_configService']['getConfig'](Q);return(_0x533db0=_0x437830==null?void 0x0:_0x437830['sendChangesetTimeout'])!=null?_0x533db0:Fi;}[_0x543e24(0x3ee)](){const _0x5a85de=_0x543e24;throw new Error(_0x5a85de(0x204));}[_0x543e24(0x209)](){const _0x35882c=_0x543e24;this[_0x35882c(0x5a7)]!=null&&(clearTimeout(this[_0x35882c(0x5a7)]),this[_0x35882c(0x5a7)]=null);}[_0x543e24(0x652)](_0x590bcb){const _0x9a188d=_0x543e24;return this['_clearScheduledTask'](),this[_0x9a188d(0x5b0)][_0x9a188d(0x25d)](ve,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x9a188d(0x5d0)],_0x590bcb);}};ce=Ee([N(0x4,a[_0x543e24(0x432)](a[_0x543e24(0x2e7)])),N(0x5,a[_0x543e24(0x432)](p['RevisionService'])),N(0x6,a[_0x543e24(0x432)](exports[_0x543e24(0x566)])),N(0x7,a[_0x543e24(0x432)](exports[_0x543e24(0x447)])),N(0x8,a[_0x543e24(0x488)]),N(0x9,a['ICommandService']),N(0xa,a[_0x543e24(0x693)]),N(0xb,p[_0x543e24(0x36e)]),N(0xc,a[_0x543e24(0x316)]),N(0xd,a[_0x543e24(0x431)])],ce);let fe=class extends be{constructor(_0x41a9fb,_0x5dddae,_0x2957c8,_0x16e940,_0x1cdce4,_0x3c5452,_0x46b9e0,_0x2de413,_0x2025e7,_0xc43966,_0x589002){const _0x3d5a9f=_0x543e24;super(_0x41a9fb,_0x5dddae,_0x2957c8,[],_0x16e940,_0x2de413,_0x589002,_0x3c5452,_0x46b9e0),I(this,_0x3d5a9f(0x39b),_0x3d5a9f(0x442)),I(this,_0x3d5a9f(0x65e),0x0),I(this,_0x3d5a9f(0x59c)),I(this,'_sender'),(this[_0x3d5a9f(0x5b0)]=_0x1cdce4,this[_0x3d5a9f(0x5d8)]=_0x2025e7,this['_transformService']=_0xc43966);}[_0x543e24(0x4d7)](_0x5de5a8){const _0x41efd7=_0x543e24;this[_0x41efd7(0x209)]();const _0x74425b=this[_0x41efd7(0x5b0)]['createInstance'](le,this['unitID'],this[_0x41efd7(0x267)],this['_awaitingChangeset'],[_0x5de5a8],this[_0x41efd7(0x5d0)],this[_0x41efd7(0x59c)]);return _0x74425b[_0x41efd7(0x5d5)](),_0x74425b;}[_0x543e24(0x301)](_0x54fc7f){const _0x54762e=_0x543e24;if(this[_0x54762e(0x2bb)](_0x54fc7f))return this[_0x54762e(0x209)](),this[_0x54762e(0x5b0)][_0x54762e(0x25d)](re,this[_0x54762e(0x5dd)],this[_0x54762e(0x267)],this['_awaitingChangeset'],[],null,[_0x54fc7f],this['_handler']);try{const _0x5ef741=this['_transformService'][_0x54762e(0x319)]([_0x54fc7f],[this[_0x54762e(0x409)]],!0x1);if(p[_0x54762e(0x35b)](_0x5ef741)){const {c1Prime:_0x54816d,c2Prime:_0x32f02b}=_0x5ef741;this[_0x54762e(0x302)](_0x54816d[0x0]),_0x32f02b[0x0][_0x54762e(0x680)]=this[_0x54762e(0x643)](),this[_0x54762e(0x209)]();const _0x58e709=this[_0x54762e(0x5b0)][_0x54762e(0x25d)](fe,this[_0x54762e(0x5dd)],this[_0x54762e(0x267)],_0x32f02b[0x0],this['_handler']);return _0x58e709[_0x54762e(0x5d5)](),_0x58e709;}return this[_0x54762e(0x652)](!0x1);}catch(_0x3b34c2){return this[_0x54762e(0x5d8)][_0x54762e(0x624)](_0x3b34c2),this[_0x54762e(0x652)](!0x1);}}[_0x543e24(0x2d3)](_0x285760){const _0x414d9c=_0x543e24;this[_0x414d9c(0x209)]();const _0x3ffbbf=this[_0x414d9c(0x2b5)][_0x414d9c(0x5bf)](this['unitID']);if(_0x285760[_0x414d9c(0x272)]<_0x3ffbbf-0x1)return this;if(this[_0x414d9c(0x2bb)](_0x285760))return this[_0x414d9c(0x5b0)][_0x414d9c(0x25d)](re,this[_0x414d9c(0x5dd)],this[_0x414d9c(0x267)],null,[],this[_0x414d9c(0x409)],[],this[_0x414d9c(0x5d0)]);this['_incrementRevisionNumber']();const _0x2c0438=this[_0x414d9c(0x5b0)][_0x414d9c(0x25d)](Oe,this[_0x414d9c(0x5dd)],this[_0x414d9c(0x267)],this[_0x414d9c(0x5d0)]);return _0x2c0438[_0x414d9c(0x5d5)](),_0x2c0438;}[_0x543e24(0x586)](_0x3cf73e){const _0x43fd90=_0x543e24;return this[_0x43fd90(0x652)](!!(_0x3cf73e!=null&&_0x3cf73e[_0x43fd90(0x618)]));}[_0x543e24(0x40e)](_0x323f4f){const _0x4c25b4=_0x543e24;return this[_0x4c25b4(0x65e)]>mi?this[_0x4c25b4(0x23d)]():(this[_0x4c25b4(0x59c)]=pi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x323f4f['reqId']}),this[_0x4c25b4(0x3ef)]=this[_0x4c25b4(0x59c)]['subscribe'](({reqId:_0x483814,timeout:_0x1d70ec})=>{const _0x54f555=_0x4c25b4;this[_0x54f555(0x3c2)](_0x483814,_0x1d70ec);}),this);}[_0x543e24(0x23d)](){const _0x189c25=_0x543e24;return this['_clearScheduledTask'](),this[_0x189c25(0x5b0)][_0x189c25(0x25d)](Se,this[_0x189c25(0x5dd)],this[_0x189c25(0x267)],this[_0x189c25(0x409)],[],this[_0x189c25(0x5d0)]);}['toggleOnline'](){return this;}[_0x543e24(0x3ee)](){const _0x26eb65=_0x543e24;this[_0x26eb65(0x5d0)][_0x26eb65(0x3e3)](this[_0x26eb65(0x409)]);}[_0x543e24(0x652)](_0x2064e5){const _0x2565e4=_0x543e24;return this[_0x2565e4(0x209)](),this[_0x2565e4(0x5b0)][_0x2565e4(0x25d)](ve,this[_0x2565e4(0x5dd)],this[_0x2565e4(0x267)],this[_0x2565e4(0x409)],[],this[_0x2565e4(0x5d0)],_0x2064e5);}[_0x543e24(0x3c2)](_0x4a5532,_0x325b20){const _0x24a982=_0x543e24;var _0x106e62;_0x4a5532===((_0x106e62=this['_awaitingChangeset'])==null?void 0x0:_0x106e62[_0x24a982(0x47f)])&&(this['resend'](),this[_0x24a982(0x65e)]=_0x325b20===0x0?0x3e8:_0x325b20*0x2);}['_clearScheduledTask'](){const _0x21d9e8=_0x543e24;var _0x49d372;(_0x49d372=this['_sender'])==null||_0x49d372['unsubscribe'](),this[_0x21d9e8(0x65e)]=0x0;}};fe=Ee([N(0x4,a[_0x543e24(0x432)](a[_0x543e24(0x2e7)])),N(0x5,a[_0x543e24(0x432)](p[_0x543e24(0x277)])),N(0x6,a['Inject'](exports[_0x543e24(0x566)])),N(0x7,a[_0x543e24(0x323)]),N(0x8,a[_0x543e24(0x488)]),N(0x9,p[_0x543e24(0x36e)]),N(0xa,a[_0x543e24(0x431)])],fe);let le=class extends be{constructor(_0x636a03,_0x517cb8,_0x1a851f,_0x2b6faf,_0x32d0da,_0x27c45a,_0x25a540,_0x578a41,_0x527182,_0x3bd5a7,_0x46d01,_0x3301f0,_0x2cca5d){const _0x4fe974=_0x543e24;super(_0x636a03,_0x517cb8,_0x1a851f,_0x2b6faf,_0x32d0da,_0x3bd5a7,_0x2cca5d,_0x578a41,_0x527182),I(this,'status',_0x4fe974(0x579)),I(this,'_resendTimeout',0x0),I(this,_0x4fe974(0x59c)),I(this,_0x4fe974(0x3ef)),(this['_injector']=_0x25a540,this['_logService']=_0x46d01,this[_0x4fe974(0x4c5)]=_0x3301f0,_0x27c45a&&(this[_0x4fe974(0x59c)]=_0x27c45a,this['_sender']=this[_0x4fe974(0x59c)]['subscribe'](({reqId:_0x88827,timeout:_0xdd3cf2})=>{this['_resendWithTimeout'](_0x88827,_0xdd3cf2);})));}['appendMutation'](_0x2e6539){const _0x211b64=_0x543e24;return this[_0x211b64(0x625)][_0x211b64(0x43b)](_0x2e6539),this;}[_0x543e24(0x301)](_0x138ee8){const _0x4e5419=_0x543e24;if(this[_0x4e5419(0x2bb)](_0x138ee8))return this['_clearScheduledTask'](),this['_injector'][_0x4e5419(0x25d)](re,this['unitID'],this['type'],this[_0x4e5419(0x409)],this[_0x4e5419(0x625)],null,[_0x138ee8],this['_handler']);try{const _0x350b09=this[_0x4e5419(0x4c5)][_0x4e5419(0x319)]([_0x138ee8],[this[_0x4e5419(0x409)]],!0x1);if(p[_0x4e5419(0x35b)](_0x350b09)){const {c1Prime:_0x457bd3,c2Prime:_0x147480}=_0x350b09,_0x139799=this['_transformService'][_0x4e5419(0x38e)](_0x457bd3[0x0],this[_0x4e5419(0x625)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x139799)){const {c1Prime:_0x5332c5,m2Prime:_0x3a7af0}=_0x139799;return this['_executeRemoteChangeset'](_0x5332c5),_0x147480[0x0]['baseRev']=this[_0x4e5419(0x643)](),this[_0x4e5419(0x209)](),this[_0x4e5419(0x5b0)][_0x4e5419(0x25d)](le,this[_0x4e5419(0x5dd)],this[_0x4e5419(0x267)],_0x147480[0x0],_0x3a7af0,this[_0x4e5419(0x5d0)],void 0x0);}throw _0x139799[_0x4e5419(0x624)];}throw _0x350b09['error'];}catch(_0x43de92){return this[_0x4e5419(0x5d8)][_0x4e5419(0x624)](_0x43de92),this[_0x4e5419(0x652)](!0x1);}}[_0x543e24(0x2d3)](_0x58824b){const _0x230a27=_0x543e24;if(this[_0x230a27(0x209)](),this[_0x230a27(0x2bb)](_0x58824b))return this['_injector'][_0x230a27(0x25d)](re,this[_0x230a27(0x5dd)],this['type'],null,this['_pendingMutations'],this[_0x230a27(0x409)],[],this[_0x230a27(0x5d0)]);this[_0x230a27(0x68f)]();const _0x1d814c=this[_0x230a27(0x5b0)]['createInstance'](ce,this[_0x230a27(0x5dd)],this[_0x230a27(0x267)],this[_0x230a27(0x625)],this['_handler']);return _0x1d814c[_0x230a27(0x689)](),_0x1d814c['_updateLocalCache'](),_0x1d814c;}[_0x543e24(0x586)](_0x3afd8d){const _0x14df17=_0x543e24;return this[_0x14df17(0x652)](!!(_0x3afd8d!=null&&_0x3afd8d[_0x14df17(0x618)]));}[_0x543e24(0x40e)](_0x2657e7){const _0x32137d=_0x543e24;return this[_0x32137d(0x65e)]>mi?this[_0x32137d(0x23d)]():(this['_resendTimer']=pi(this[_0x32137d(0x65e)],{'timeout':this['_resendTimeout'],'reqId':_0x2657e7['reqId']}),this[_0x32137d(0x3ef)]=this[_0x32137d(0x59c)][_0x32137d(0x397)](({reqId:_0x4e9645,timeout:_0x5db483})=>{const _0xc931cc=_0x32137d;this[_0xc931cc(0x3c2)](_0x4e9645,_0x5db483);}),this);}[_0x543e24(0x23d)](){const _0x452246=_0x543e24;return this[_0x452246(0x209)](),this[_0x452246(0x5b0)][_0x452246(0x25d)](Se,this[_0x452246(0x5dd)],this[_0x452246(0x267)],this['_awaitingChangeset'],this[_0x452246(0x625)],this[_0x452246(0x5d0)]);}[_0x543e24(0x496)](){return this;}[_0x543e24(0x3ee)](){const _0x225b6b=_0x543e24;this[_0x225b6b(0x5d0)][_0x225b6b(0x3e3)](this[_0x225b6b(0x409)]);}['_onConflict'](_0x3db1fa){const _0x173af1=_0x543e24;return this['_clearScheduledTask'](),this['_injector'][_0x173af1(0x25d)](ve,this['unitID'],this[_0x173af1(0x267)],null,this['_pendingMutations'],this[_0x173af1(0x5d0)],_0x3db1fa);}[_0x543e24(0x3c2)](_0x12e64f,_0x37f4f2){const _0x33e201=_0x543e24;var _0x29b246;_0x12e64f===((_0x29b246=this['_awaitingChangeset'])==null?void 0x0:_0x29b246[_0x33e201(0x47f)])&&(this[_0x33e201(0x3ee)](),this[_0x33e201(0x65e)]=_0x37f4f2===0x0?0x3e8:_0x37f4f2*0x2);}[_0x543e24(0x209)](){const _0x14e5f4=_0x543e24;var _0x5ca94d;(_0x5ca94d=this['_sender'])==null||_0x5ca94d[_0x14e5f4(0x412)](),this[_0x14e5f4(0x65e)]=0x0;}};le=Ee([N(0x6,a['Inject'](a[_0x543e24(0x2e7)])),N(0x7,a['Inject'](p['RevisionService'])),N(0x8,a[_0x543e24(0x432)](exports[_0x543e24(0x566)])),N(0x9,a['ICommandService']),N(0xa,a[_0x543e24(0x488)]),N(0xb,p[_0x543e24(0x36e)]),N(0xc,a[_0x543e24(0x431)])],le);let ve=class extends be{constructor(_0x3f3227,_0xa85de6,_0x36a78f,_0x1c5ed4,_0x174f37,_0x2df86d=!0x1,_0x4fa2b4,_0x46d40e,_0x1d05f8,_0x2a22dc,_0xcda6fe,_0x490403,_0x16c456){const _0x492b09=_0x543e24;super(_0x3f3227,_0xa85de6,_0x36a78f,_0x1c5ed4,_0x174f37,_0x46d40e,_0x1d05f8,_0xcda6fe,_0x2a22dc),I(this,'status','conflict'),(this['_isPermissionRej']=_0x2df86d,this[_0x492b09(0x58f)]=_0x4fa2b4,this[_0x492b09(0x34d)]=_0x490403,this[_0x492b09(0x406)]=_0x16c456,this[_0x492b09(0x4ed)](),this[_0x492b09(0x580)](),this[_0x492b09(0x357)]());}[_0x543e24(0x4d7)](){return this;}['onRemoteChangeset'](){return this;}[_0x543e24(0x2d3)](){return this;}[_0x543e24(0x586)](){return this;}[_0x543e24(0x40e)](){return this;}['toggleOffline'](){return this;}[_0x543e24(0x496)](){return this;}[_0x543e24(0x3ee)](){const _0x10ee59=_0x543e24;throw new Error(_0x10ee59(0x46a));}[_0x543e24(0x580)](){const _0x3b0c04=_0x543e24;this['_localCacheService'][_0x3b0c04(0x2a3)](this[_0x3b0c04(0x5dd)],this[_0x3b0c04(0x267)],null,[]);}[_0x543e24(0x4ed)](){const _0x3c75b8=_0x543e24;this[_0x3c75b8(0x509)]?this[_0x3c75b8(0x406)][_0x3c75b8(0x401)]({'title':this[_0x3c75b8(0x34d)]['t'](_0x3c75b8(0x596)),'content':this[_0x3c75b8(0x34d)]['t'](_0x3c75b8(0x632)),'type':_0x3c75b8(0x624),'duration':0x0}):this[_0x3c75b8(0x406)]['show']({'title':this[_0x3c75b8(0x34d)]['t'](_0x3c75b8(0x3e5)),'content':this[_0x3c75b8(0x34d)]['t'](_0x3c75b8(0x4e0)),'type':_0x3c75b8(0x624),'duration':0x0});}[_0x543e24(0x357)](){const _0x1f95b8=_0x543e24;this[_0x1f95b8(0x58f)][_0x1f95b8(0x49a)](new k[(_0x1f95b8(0x1e6))](this[_0x1f95b8(0x5dd)])['id'],!0x1);}};ve=Ee([N(0x6,a[_0x543e24(0x432)](a[_0x543e24(0x502)])),N(0x7,a['ICommandService']),N(0x8,a[_0x543e24(0x431)]),N(0x9,a[_0x543e24(0x432)](exports[_0x543e24(0x566)])),N(0xa,a[_0x543e24(0x432)](p[_0x543e24(0x277)])),N(0xb,a[_0x543e24(0x432)](a[_0x543e24(0x264)])),N(0xc,te[_0x543e24(0x61e)])],ve);let Se=class extends be{constructor(_0x4d53dc,_0x3eb957,_0x1d78e0,_0x5dabc0,_0xe2845e,_0x2a494a,_0x53a88d,_0x8920e9,_0x4bd2af,_0x3d878d){const _0x8d73d6=_0x543e24;super(_0x4d53dc,_0x3eb957,_0x1d78e0,_0x5dabc0,_0xe2845e,_0x4bd2af,_0x3d878d,_0x53a88d,_0x8920e9),I(this,'status',_0x8d73d6(0x64a)),this[_0x8d73d6(0x5b0)]=_0x2a494a;}[_0x543e24(0x4d7)](_0xc4dd18){const _0xfc9bc7=_0x543e24;return this[_0xfc9bc7(0x625)][_0xfc9bc7(0x43b)](_0xc4dd18),this['_updateLocalCache'](),this;}[_0x543e24(0x301)](_0x3b7c29){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x543e24(0x2d3)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x543e24(0x586)](){const _0x216c05=_0x543e24;throw new Error(_0x216c05(0x52c));}['onRemoteRetry'](){return this;}[_0x543e24(0x23d)](){return this;}[_0x543e24(0x496)](){const _0x657a3b=_0x543e24,{_injector:_0x1a1529,_pendingMutations:_0x428756,_awaitingChangeset:_0x5a5280,unitID:_0x2f2aae,_handler:_0x4822bd,type:_0x326853}=this,_0x33e1e8=gi(_0x1a1529,_0x2f2aae,_0x326853,_0x5a5280,_0x428756,_0x4822bd);return _0x33e1e8 instanceof ce?_0x33e1e8[_0x657a3b(0x689)]():(_0x33e1e8 instanceof le||_0x33e1e8 instanceof fe)&&_0x33e1e8[_0x657a3b(0x3ee)](),_0x33e1e8;}[_0x543e24(0x3ee)](){const _0x1c4809=_0x543e24;throw new Error(_0x1c4809(0x444));}};Se=Ee([N(0x5,a[_0x543e24(0x432)](a[_0x543e24(0x2e7)])),N(0x6,a['Inject'](p[_0x543e24(0x277)])),N(0x7,a[_0x543e24(0x432)](exports[_0x543e24(0x566)])),N(0x8,a[_0x543e24(0x323)]),N(0x9,a['IUndoRedoService'])],Se);let re=class extends be{constructor(_0x35c6b4,_0x58de99,_0x3d38cd,_0x52e1a1,_0x30f399,_0x2e503b,_0xcb1596,_0x3ed23f,_0x920575,_0x57f2f6,_0x5bce89,_0x390263,_0x296955,_0x1801c2){const _0x1b1cb8=_0x543e24;super(_0x35c6b4,_0x58de99,_0x3d38cd,_0x52e1a1,_0xcb1596,_0x390263,_0x296955,_0x920575,_0x57f2f6),I(this,'status',_0x1b1cb8(0x4ef)),(this['_acknowledgedAwaitingChangeset']=_0x30f399,this[_0x1b1cb8(0x511)]=_0x2e503b,this[_0x1b1cb8(0x5b0)]=_0x3ed23f,this[_0x1b1cb8(0x5d8)]=_0x5bce89,this[_0x1b1cb8(0x4c5)]=_0x1801c2);}[_0x543e24(0x2c6)](_0x479f3b){const _0xfbb920=_0x543e24;try{const _0x39a7aa=[..._0x479f3b,...this[_0xfbb920(0x511)]],_0x55cd0f=[this[_0xfbb920(0x409)]||this['_acknowledgedAwaitingChangeset']][_0xfbb920(0x565)](_0x3d8c69=>!!_0x3d8c69);let _0x3c873b,_0x270885;if(_0x55cd0f[_0xfbb920(0x65c)]){const _0x5e10cf=this['_transformService'][_0xfbb920(0x319)](_0x39a7aa,_0x55cd0f,!0x1);if(!p[_0xfbb920(0x35b)](_0x5e10cf))throw _0x5e10cf[_0xfbb920(0x624)];_0x3c873b=_0x5e10cf[_0xfbb920(0x4e5)],_0x270885=_0x5e10cf['c2Prime'];}else _0x3c873b=_0x39a7aa,_0x270885=[];let _0x1573d1=this[_0xfbb920(0x625)];_0x3c873b[_0xfbb920(0x3f5)](_0x5b6e20=>{const _0x16cfaf=_0xfbb920;let _0xfe8d37;if(_0x1573d1[_0x16cfaf(0x65c)]){const _0x293150=this[_0x16cfaf(0x4c5)][_0x16cfaf(0x38e)](_0x5b6e20,_0x1573d1);if(!p[_0x16cfaf(0x344)](_0x293150))throw _0x293150['error'];_0xfe8d37=_0x293150[_0x16cfaf(0x4e5)],_0x1573d1=_0x293150[_0x16cfaf(0x4e6)];}else _0xfe8d37=_0x5b6e20;this['_executeRemoteChangeset'](_0xfe8d37);}),this['_acknowledgedAwaitingChangeset']&&this[_0xfbb920(0x68f)](),this['_awaitingChangeset']&&_0x270885[_0xfbb920(0x65c)]&&(_0x270885[0x0]['baseRev']=this[_0xfbb920(0x643)]());let _0x595beb;if(this[_0xfbb920(0x409)]&&_0x1573d1[_0xfbb920(0x65c)]!==0x0)_0x595beb=this['_injector'][_0xfbb920(0x25d)](le,this[_0xfbb920(0x5dd)],this['type'],_0x270885[0x0],_0x1573d1,this[_0xfbb920(0x5d0)],void 0x0);else{if(this[_0xfbb920(0x409)]&&_0x1573d1[_0xfbb920(0x65c)]===0x0)_0x270885[0x0][_0xfbb920(0x680)]=this[_0xfbb920(0x643)](),_0x595beb=this[_0xfbb920(0x5b0)][_0xfbb920(0x25d)](fe,this[_0xfbb920(0x5dd)],this[_0xfbb920(0x267)],_0x270885[0x0],this['_handler']);else{if(_0x1573d1[_0xfbb920(0x65c)]!==0x0){const _0x462ea9=this[_0xfbb920(0x5b0)]['createInstance'](ce,this[_0xfbb920(0x5dd)],this['type'],_0x1573d1,this[_0xfbb920(0x5d0)]);_0x462ea9[_0xfbb920(0x689)](),_0x595beb=_0x462ea9;}else _0x595beb=this[_0xfbb920(0x5b0)][_0xfbb920(0x25d)](Oe,this['unitID'],this['type'],this[_0xfbb920(0x5d0)]);}}return _0x595beb[_0xfbb920(0x5d5)](),_0x595beb;}catch(_0x18111c){return this[_0xfbb920(0x5d8)][_0xfbb920(0x624)](_0xfbb920(0x583),'failed\x20to\x20apply\x20missed\x20changesets!',_0x18111c),this[_0xfbb920(0x5b0)][_0xfbb920(0x25d)](ve,this[_0xfbb920(0x5dd)],this[_0xfbb920(0x267)],this[_0xfbb920(0x409)],this[_0xfbb920(0x625)],this['_handler'],!0x1);}}[_0x543e24(0x3ee)](){const _0x4ba077=_0x543e24;throw new Error(_0x4ba077(0x2a2));}['appendMutation'](_0x26d7d3){const _0x1203fa=_0x543e24;return this[_0x1203fa(0x625)][_0x1203fa(0x43b)](_0x26d7d3),this;}[_0x543e24(0x301)](_0x2aee59){const _0x4a25cf=_0x543e24;return this['_queuedRemoteChangesets'][_0x4a25cf(0x43b)](_0x2aee59),this;}[_0x543e24(0x2d3)](_0x42da60){const _0x46ada9=_0x543e24;if(this[_0x46ada9(0x409)])return this[_0x46ada9(0x62b)]=this['_awaitingChangeset'],this[_0x46ada9(0x409)]=null,this;throw new Error(_0x46ada9(0x305));}[_0x543e24(0x586)](_0x586104){const _0x485723=_0x543e24;return this[_0x485723(0x652)](!!(_0x586104!=null&&_0x586104['isPermissionRej']));}[_0x543e24(0x40e)](){return this;}['toggleOffline'](){const _0x3bc8e9=_0x543e24;return this[_0x3bc8e9(0x5b0)][_0x3bc8e9(0x25d)](Se,this[_0x3bc8e9(0x5dd)],this[_0x3bc8e9(0x267)],this['_awaitingChangeset'],this[_0x3bc8e9(0x625)],this[_0x3bc8e9(0x5d0)]);}[_0x543e24(0x496)](){return this;}[_0x543e24(0x652)](_0x3a3231){const _0x1cb808=_0x543e24;return this[_0x1cb808(0x5b0)]['createInstance'](ve,this['unitID'],this[_0x1cb808(0x267)],this['_awaitingChangeset'],this[_0x1cb808(0x625)],this[_0x1cb808(0x5d0)],_0x3a3231);}};re=Ee([N(0x7,a[_0x543e24(0x432)](a['Injector'])),N(0x8,a[_0x543e24(0x432)](p[_0x543e24(0x277)])),N(0x9,a[_0x543e24(0x432)](exports[_0x543e24(0x566)])),N(0xa,a[_0x543e24(0x488)]),N(0xb,a['ICommandService']),N(0xc,a['IUndoRedoService']),N(0xd,p['ITransformService'])],re);function gi(_0x25302e,_0x5a3a97,_0xd184dd,_0x3b60b0,_0x542839,_0x1b98a2){const _0x33f070=_0x543e24;return _0x3b60b0&&_0x542839['length']?_0x25302e['createInstance'](le,_0x5a3a97,_0xd184dd,_0x3b60b0,_0x542839,_0x1b98a2,void 0x0):_0x3b60b0?_0x25302e[_0x33f070(0x25d)](fe,_0x5a3a97,_0xd184dd,_0x3b60b0,_0x1b98a2):_0x542839[_0x33f070(0x65c)]?_0x25302e[_0x33f070(0x25d)](ce,_0x5a3a97,_0xd184dd,_0x542839,_0x1b98a2):_0x25302e[_0x33f070(0x25d)](Oe,_0x5a3a97,_0xd184dd,_0x1b98a2);}var Vn=Object['defineProperty'],Gn=Object[_0x543e24(0x3e8)],Ot=(_0x35d429,_0x50e675,_0x3e4965,_0x82fa86)=>{const _0x12947c=_0x543e24;for(var _0x21cf43=_0x82fa86>0x1?void 0x0:_0x82fa86?Gn(_0x50e675,_0x3e4965):_0x50e675,_0x77e469=_0x35d429[_0x12947c(0x65c)]-0x1,_0x51d621;_0x77e469>=0x0;_0x77e469--)(_0x51d621=_0x35d429[_0x77e469])&&(_0x21cf43=(_0x82fa86?_0x51d621(_0x50e675,_0x3e4965,_0x21cf43):_0x51d621(_0x21cf43))||_0x21cf43);return _0x82fa86&&_0x21cf43&&Vn(_0x50e675,_0x3e4965,_0x21cf43),_0x21cf43;},H=(_0x12f623,_0x8783b8)=>(_0x2d5ce5,_0x4eb591)=>_0x8783b8(_0x2d5ce5,_0x4eb591,_0x12f623);exports[_0x543e24(0x67a)]=class extends a[_0x543e24(0x49e)]{constructor(_0xfcabbd,_0x4fd1ee,_0x20bcd2,_0x559f31,_0x379083,_0x56f66d,_0xadaaae,_0x279f8c,_0x597099,_0x5090d0,_0x240e83,_0x4caab9,_0x5ed53a){const _0x5a8828=_0x543e24;super(),I(this,_0x5a8828(0x541),new A['BehaviorSubject'](null)),I(this,_0x5a8828(0x45c),this['_state$'][_0x5a8828(0x1ea)]()),I(this,_0x5a8828(0x448)),I(this,_0x5a8828(0x39c),!0x1),I(this,_0x5a8828(0x422),''),I(this,'_changesetReqId',0x0),I(this,'status$',this[_0x5a8828(0x45c)]['pipe'](A[_0x5a8828(0x31d)](_0x4e7a59=>_0x4e7a59?_0x4e7a59[_0x5a8828(0x39b)]:q[_0x5a8828(0x677)]),A[_0x5a8828(0x3c1)](0x1))),I(this,_0x5a8828(0x213),!0x1),I(this,_0x5a8828(0x388),[]),(this[_0x5a8828(0x5dd)]=_0xfcabbd,this[_0x5a8828(0x57b)]=_0x4fd1ee,this[_0x5a8828(0x48c)]=_0x20bcd2,this[_0x5a8828(0x5b0)]=_0x559f31,this[_0x5a8828(0x58a)]=_0x379083,this['_compressMutationService']=_0x56f66d,this[_0x5a8828(0x34d)]=_0xadaaae,this[_0x5a8828(0x2b5)]=_0x279f8c,this[_0x5a8828(0x5d8)]=_0x597099,this['_commandService']=_0x5090d0,this[_0x5a8828(0x464)]=_0x240e83,this['_permissionService']=_0x4caab9,this[_0x5a8828(0x352)]=_0x5ed53a);}get['state'](){return this['_state'];}async[_0x543e24(0x201)](){const _0x3c61f9=_0x543e24;if(this[_0x3c61f9(0x555)])throw new Error(_0x3c61f9(0x487));await this['_init']();}[_0x543e24(0x2f6)](){return this['_collaborationPaused']=!0x0,a['toDisposable'](()=>{const _0x3073d8=_0x4acf;this[_0x3073d8(0x39c)]=!0x1,this[_0x3073d8(0x59f)]();});}['_updateState'](_0x7760a){const _0x362b39=_0x543e24;this[_0x362b39(0x448)]=_0x7760a,this[_0x362b39(0x541)][_0x362b39(0x218)](_0x7760a);}async[_0x543e24(0x69b)](){const _0x97641f=_0x543e24;var _0x5d9da2;this['_updateState'](await this[_0x97641f(0x206)]()),this['_singleActiveUnitService']&&((_0x5d9da2=this['_singleActiveUnitService'])==null||_0x5d9da2[_0x97641f(0x5ec)](this[_0x97641f(0x5dd)]),this[_0x97641f(0x419)](this[_0x97641f(0x352)][_0x97641f(0x4a5)](this[_0x97641f(0x5dd)])[_0x97641f(0x397)](_0x38e000=>{const _0x1ec8ae=_0x97641f;this[_0x1ec8ae(0x5d8)]['debug'](_0x1ec8ae(0x602),'editing\x20status\x20changed\x20to',_0x38e000),_0x38e000===vi['OTHER_CLIENTS_EDITING']?(this[_0x1ec8ae(0x464)]['show']({'content':this['_localeService']['t']('collaboration.single-unit.warning'),'type':Ce['MessageType'][_0x1ec8ae(0x20e)]}),this[_0x1ec8ae(0x58f)][_0x1ec8ae(0x49a)](new k[(_0x1ec8ae(0x1e6))](this[_0x1ec8ae(0x5dd)])['id'],!0x1),this[_0x1ec8ae(0x58f)]['setShowComponents'](!0x1)):(this[_0x1ec8ae(0x58f)]['updatePermissionPoint'](new k['WorkbookEditablePermission'](this[_0x1ec8ae(0x5dd)])['id'],!0x0),this[_0x1ec8ae(0x58f)][_0x1ec8ae(0x65b)](!0x0));})));let _0x1226b2=!0x1;return this[_0x97641f(0x419)](this['session'][_0x97641f(0x405)]['subscribe'](_0x15bfd2=>{const _0x59fe09=_0x97641f;_0x15bfd2===se['ONLINE']?this[_0x59fe09(0x3da)](_0x1226b2):_0x15bfd2===se[_0x59fe09(0x677)]&&(_0x1226b2=!0x0,this[_0x59fe09(0x3de)]());})),this['disposeWithMe'](this[_0x97641f(0x57b)]['event$'][_0x97641f(0x397)](_0x2f2454=>{const _0x134b0f=_0x97641f;try{switch(_0x2f2454['eventID']){case p[_0x134b0f(0x612)]['NEW_CHANGESETS']:{this[_0x134b0f(0x5d2)](p[_0x134b0f(0x500)](_0x2f2454['data']));break;}case p[_0x134b0f(0x612)]['CHANGESET_ACK']:{this[_0x134b0f(0x20f)](_0x2f2454[_0x134b0f(0x606)]);break;}case p['CollaborationEvent'][_0x134b0f(0x5e1)]:{this[_0x134b0f(0x30f)]();break;}case p['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this[_0x134b0f(0x35e)](_0x2f2454[_0x134b0f(0x606)]);break;}case p[_0x134b0f(0x612)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x134b0f(0x43a)](_0x2f2454['data'][_0x134b0f(0x2b8)][_0x134b0f(0x31d)](_0x36db67=>p[_0x134b0f(0x500)](_0x36db67)));break;}case p[_0x134b0f(0x612)]['PERMISSION_REJ']:this[_0x134b0f(0x30f)]({'isPermissionRej':!0x0});}}catch(_0x3d2b47){throw console[_0x134b0f(0x624)](_0x134b0f(0x507),_0x3d2b47),_0x3d2b47;}})),this['_state'];}[_0x543e24(0x402)](){const _0x479229=_0x543e24;this[_0x479229(0x213)]=!0x1;}[_0x543e24(0x667)](){const _0x37d355=_0x543e24;if(this['_transitionLocked'])throw new Error(_0x37d355(0x57c));this[_0x37d355(0x213)]=!0x0;}['_onLocalMutation'](_0x11d88d){const _0x460b0a=_0x543e24;this['_lockTransition'](),this[_0x460b0a(0x66e)](this['_state'][_0x460b0a(0x4d7)](_0x11d88d)),this['_unlockTransition']();}[_0x543e24(0x5d2)](_0x4f225d){const _0x19ddb9=_0x543e24;if(!(_0x4f225d[_0x19ddb9(0x272)]<=this[_0x19ddb9(0x2b5)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x19ddb9(0x39c)]){this[_0x19ddb9(0x388)]['push'](_0x4f225d);return;}this['_applyRemoteChangeset'](_0x4f225d);}}[_0x543e24(0x59f)](){const _0x3eaeda=_0x543e24;this[_0x3eaeda(0x388)][_0x3eaeda(0x3f5)](_0x536f3a=>this[_0x3eaeda(0x4b7)](_0x536f3a)),this[_0x3eaeda(0x388)]=[];}[_0x543e24(0x4b7)](_0x39b8a3){const _0x4a01fc=_0x543e24,_0x43599d=this['_compressMutationService'][_0x4a01fc(0x697)][_0x4a01fc(0x4aa)](this[_0x4a01fc(0x683)][_0x4a01fc(0x697)][_0x4a01fc(0x31c)]()[_0x4a01fc(0x290)])(_0x39b8a3[_0x4a01fc(0x313)],null)||_0x39b8a3[_0x4a01fc(0x313)],_0x1b4be1={..._0x39b8a3,'mutations':_0x43599d};this['_lockTransition'](),this[_0x4a01fc(0x66e)](this[_0x4a01fc(0x448)][_0x4a01fc(0x301)](_0x1b4be1)),this[_0x4a01fc(0x402)]();}['_onRemoteACK'](_0x423123){const _0x43eee7=_0x543e24;this['_lockTransition'](),this[_0x43eee7(0x66e)](this[_0x43eee7(0x448)][_0x43eee7(0x2d3)](_0x423123)),this[_0x43eee7(0x402)]();}[_0x543e24(0x30f)](_0x5235c7){const _0x17c597=_0x543e24;this['_lockTransition'](),this['_updateState'](this['_state']['onRemoteRej'](_0x5235c7)),this[_0x17c597(0x402)]();}[_0x543e24(0x35e)](_0xb9c090){const _0x1f07d7=_0x543e24;this[_0x1f07d7(0x667)](),this[_0x1f07d7(0x66e)](this[_0x1f07d7(0x448)][_0x1f07d7(0x40e)](_0xb9c090)),this[_0x1f07d7(0x402)]();}[_0x543e24(0x43a)](_0x4c0810){const _0x19593a=_0x543e24;if(!(this[_0x19593a(0x448)]instanceof re))throw new TypeError(_0x19593a(0x2ee));const _0x124195=_0x4c0810[_0x19593a(0x31d)](_0x195403=>{const _0x198ec1=_0x19593a,_0x4038b0=this['_compressMutationService'][_0x198ec1(0x697)][_0x198ec1(0x4aa)](this['_compressMutationService'][_0x198ec1(0x697)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x195403['mutations'],null)||_0x195403[_0x198ec1(0x313)];return{..._0x195403,'mutations':_0x4038b0};});this[_0x19593a(0x667)](),this[_0x19593a(0x66e)](this[_0x19593a(0x448)][_0x19593a(0x2c6)](_0x124195)),this[_0x19593a(0x402)]();}[_0x543e24(0x3de)](){const _0x53f73b=_0x543e24;this['_lockTransition'](),this[_0x53f73b(0x66e)](this[_0x53f73b(0x448)][_0x53f73b(0x23d)]()),this[_0x53f73b(0x402)]();}['_toggleOnline'](_0x42a726=!0x1){const _0x49d017=_0x543e24;this['_lockTransition'](),this[_0x49d017(0x66e)](this['_state'][_0x49d017(0x496)]()),this['_unlockTransition']();const _0x1159da=this[_0x49d017(0x448)];_0x42a726&&_0x1159da instanceof Oe&&(this[_0x49d017(0x667)](),this[_0x49d017(0x66e)](_0x1159da[_0x49d017(0x61c)]()),this[_0x49d017(0x402)]());}async['_createInitialState'](){return new Promise(_0x476e57=>{const _0x5dfb79=_0x4acf;this[_0x5dfb79(0x57b)][_0x5dfb79(0x405)][_0x5dfb79(0x449)](A[_0x5dfb79(0x5b5)](0x1))[_0x5dfb79(0x397)](async _0x5c72a5=>{const _0x4c166e=_0x5dfb79;_0x476e57(await this['_createInitialStateImpl'](_0x5c72a5===se[_0x4c166e(0x292)]));});});}[_0x543e24(0x2bc)](){const _0x171ea2=_0x543e24,_0x48328a=this[_0x171ea2(0x5dd)];return{'onStateChange':(_0x21adfb,_0x2e162c)=>{const _0x1a70ed=_0x171ea2;if(_0x21adfb!==this[_0x1a70ed(0x448)])throw new Error(_0x1a70ed(0x1f1)+_0x21adfb[_0x1a70ed(0x39b)]+_0x1a70ed(0x53c)+_0x2e162c[_0x1a70ed(0x39b)]+_0x1a70ed(0x676)+this[_0x1a70ed(0x448)]['status']);this['_updateState'](_0x2e162c);},'onSendChangeset':_0x3d8e69=>{const _0x5978ba=_0x171ea2;_0x3d8e69['sid']||(_0x3d8e69[_0x5978ba(0x61f)]=this['_changesetSessionId'],_0x3d8e69[_0x5978ba(0x47f)]=++this[_0x5978ba(0x48f)]);const _0x2c23a2={'eventID':p[_0x5978ba(0x612)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x3d8e69[_0x5978ba(0x5dd)],'unitType':this['_type'],'changeset':_0x3d8e69,'memberID':this[_0x5978ba(0x57b)][_0x5978ba(0x434)]()}};this[_0x5978ba(0x57b)][_0x5978ba(0x4f3)](_0x2c23a2,this['unitID']);},'onMissingChangesets':({from:_0x1abcc5,to:_0x13ac99})=>{const _0xf3cf70=_0x171ea2;this[_0xf3cf70(0x5d8)][_0xf3cf70(0x2cb)]('[CollaborationEntity]',_0xf3cf70(0x679)+_0x1abcc5+'\x20to\x20'+_0x13ac99);const _0x4e470a={'eventID':p[_0xf3cf70(0x612)][_0xf3cf70(0x57f)],'data':{'unitID':_0x48328a,'unitType':this[_0xf3cf70(0x48c)],'from':_0x1abcc5,'to':_0x13ac99}};this['session'][_0xf3cf70(0x4f3)](_0x4e470a,this[_0xf3cf70(0x5dd)]);}};}async[_0x543e24(0x549)](_0x406fc5){const _0xe8f142=_0x543e24;var _0x56fa32,_0x15e766;const _0x47d4e4=await this[_0xe8f142(0x58a)][_0xe8f142(0x398)](this[_0xe8f142(0x5dd)]),_0x578153=(_0x56fa32=_0x47d4e4==null?void 0x0:_0x47d4e4[_0xe8f142(0x313)])!=null?_0x56fa32:[],_0x52326b=(_0x15e766=_0x47d4e4==null?void 0x0:_0x47d4e4['awaitingChangeset'])!=null?_0x15e766:null,_0x613401=!!(_0x52326b!=null&&_0x52326b['sid'])&&!!(_0x52326b!=null&&_0x52326b['reqId']);this[_0xe8f142(0x422)]=_0x613401?_0x52326b[_0xe8f142(0x61f)]:In(),this[_0xe8f142(0x48f)]=_0x613401?_0x52326b[_0xe8f142(0x47f)]:0x0;const _0x3e5874=this['unitID'];try{this[_0xe8f142(0x240)](_0x52326b,_0x578153);}catch(_0x445b56){this[_0xe8f142(0x5d8)][_0xe8f142(0x624)](_0x445b56);}const _0x4f3bbb=this['_createHandler']();if(_0x406fc5){const _0x25672f=gi(this[_0xe8f142(0x5b0)],_0x3e5874,this[_0xe8f142(0x48c)],_0x52326b,_0x578153,_0x4f3bbb);return _0x25672f instanceof ce?_0x25672f['_schedule']():(_0x25672f instanceof le||_0x25672f instanceof fe)&&_0x25672f[_0xe8f142(0x3ee)](),_0x25672f;}return this[_0xe8f142(0x5b0)][_0xe8f142(0x25d)](Se,_0x3e5874,this[_0xe8f142(0x48c)],_0x52326b,_0x578153,_0x4f3bbb);}[_0x543e24(0x240)](_0x22a5a4,_0x2f9388){const _0x52b708=_0x543e24;var _0x2d9f64,_0x10183a;const _0x4d99ef=this[_0x52b708(0x683)][_0x52b708(0x697)]['fetchThroughInterceptors'](this[_0x52b708(0x683)]['interceptor'][_0x52b708(0x31c)]()[_0x52b708(0x290)]);(_0x2d9f64=_0x4d99ef((_0x22a5a4==null?void 0x0:_0x22a5a4[_0x52b708(0x313)])||[],null))==null||_0x2d9f64[_0x52b708(0x3f5)](_0x57a145=>this[_0x52b708(0x4cb)][_0x52b708(0x4ff)](_0x57a145['id'],_0x57a145[_0x52b708(0x256)])),(_0x10183a=_0x4d99ef(_0x2f9388||[],null))==null||_0x10183a[_0x52b708(0x3f5)](_0x301d5f=>this[_0x52b708(0x4cb)][_0x52b708(0x4ff)](_0x301d5f['id'],_0x301d5f['params']));}},exports[_0x543e24(0x67a)]=Ot([H(0x3,a[_0x543e24(0x432)](a[_0x543e24(0x2e7)])),H(0x4,a[_0x543e24(0x432)](exports['LocalCacheService'])),H(0x5,a['Inject'](p['CompressMutationService'])),H(0x6,a[_0x543e24(0x432)](a[_0x543e24(0x264)])),H(0x7,a[_0x543e24(0x432)](p[_0x543e24(0x277)])),H(0x8,a[_0x543e24(0x488)]),H(0x9,a['ICommandService']),H(0xa,te[_0x543e24(0x59d)]),H(0xb,a[_0x543e24(0x502)]),H(0xc,a[_0x543e24(0x3d6)](ze))],exports['CollaborationEntity']),exports[_0x543e24(0x51d)]=class extends exports[_0x543e24(0x67a)]{constructor(_0x257f0c,_0x570c54,_0x2e5a3f,_0x22d690,_0x292e61,_0x1074e8,_0x39bc4b,_0x4c6e39,_0x1d8c22,_0x3f6245,_0x324c0f,_0x26b647,_0x1979d5,_0x257b4e,_0x267929,_0x3cf62a,_0x30308a,_0x1a5464){const _0x23b820=_0x543e24;super(_0x257f0c,_0x2e5a3f,_0x570c54,_0x22d690,_0x292e61,_0x1074e8,_0x39bc4b,_0x4c6e39,_0x257b4e,_0x267929,_0x3cf62a,_0x30308a,_0x1a5464),this['unitID']=_0x257f0c,this[_0x23b820(0x267)]=_0x570c54,this[_0x23b820(0x4b2)]=_0x1d8c22,this['_docTransformIMECacheService']=_0x3f6245,this[_0x23b820(0x5f2)]=_0x324c0f,this[_0x23b820(0x21d)]=_0x26b647,this[_0x23b820(0x233)]=_0x1979d5;}[_0x543e24(0x2bc)](){const _0x1b7e05=_0x543e24,_0xbb1285=super[_0x1b7e05(0x2bc)]();return _0xbb1285[_0x1b7e05(0x2c7)]=_0x33c50d=>this[_0x1b7e05(0x321)][_0x1b7e05(0x266)](_0x33c50d),_0xbb1285[_0x1b7e05(0x212)]=_0x8325e6=>this['_docTransformStateCacheService']['transformStateCache'](_0x8325e6),_0xbb1285[_0x1b7e05(0x1e3)]=_0x4f09a1=>this[_0x1b7e05(0x21d)][_0x1b7e05(0x2aa)](_0x4f09a1),_0xbb1285[_0x1b7e05(0x54e)]=_0x4a01fe=>this['_docSyncEditingCollabCursorService'][_0x1b7e05(0x668)](_0x4a01fe),_0xbb1285['onTransformRemoteChangesetByIMECache']=_0x1e2700=>this[_0x1b7e05(0x321)][_0x1b7e05(0x283)](_0x1e2700),_0xbb1285[_0x1b7e05(0x3c4)]=_0x72a3c3=>this[_0x1b7e05(0x5f2)]['transformRemoteChangeset'](_0x72a3c3),_0xbb1285;}async['_init'](){const _0x382db5=_0x543e24,_0x4f5574=await super[_0x382db5(0x69b)]();return this[_0x382db5(0x419)](this['_docStateChangeManagerService'][_0x382db5(0x35c)][_0x382db5(0x449)](A[_0x382db5(0x49b)](this['dispose$']))[_0x382db5(0x397)](_0x48fd66=>{const _0x4af187=_0x382db5;if(_0x48fd66==null)return;const {unitId:_0x4b9e27,redoState:_0x2713c6,commandId:_0x39cafe}=_0x48fd66;if(_0x4b9e27!==this[_0x4af187(0x5dd)])return;const _0x2d5ed8={'id':_0x39cafe,'type':a['CommandType'][_0x4af187(0x235)],'params':{'unitId':_0x4b9e27,'actions':_0x2713c6['actions'],'textRanges':null}};this['_onLocalMutation'](_0x2d5ed8);})),this[_0x382db5(0x419)](this['_commandService'][_0x382db5(0x24e)]((_0x2bc1d9,_0x49458a)=>{const _0x5e5591=_0x382db5;if(_0x2bc1d9['type']!==a[_0x5e5591(0x663)][_0x5e5591(0x235)]||_0x49458a!=null&&_0x49458a[_0x5e5591(0x4fb)]||_0x49458a!=null&&_0x49458a[_0x5e5591(0x3c0)]||_0x2bc1d9['id']===Ie[_0x5e5591(0x38a)]['id'])return;const _0xa6db9f=_0x2bc1d9[_0x5e5591(0x256)];if((_0xa6db9f==null?void 0x0:_0xa6db9f[_0x5e5591(0x32c)])!==this[_0x5e5591(0x5dd)])return;const _0x35dcac=_0x2bc1d9,_0x3a58b9=this[_0x5e5591(0x683)][_0x5e5591(0x697)][_0x5e5591(0x4aa)](this['_compressMutationService'][_0x5e5591(0x697)][_0x5e5591(0x31c)]()[_0x5e5591(0x35a)])([_0x35dcac],null)||[_0x35dcac];this['_onLocalMutation'](_0x3a58b9[0x0]);})),_0x4f5574;}},exports[_0x543e24(0x51d)]=Ot([H(0x3,a[_0x543e24(0x432)](a['Injector'])),H(0x4,a[_0x543e24(0x432)](exports[_0x543e24(0x566)])),H(0x5,a[_0x543e24(0x432)](p[_0x543e24(0x621)])),H(0x6,a[_0x543e24(0x432)](a[_0x543e24(0x264)])),H(0x7,a[_0x543e24(0x432)](p[_0x543e24(0x277)])),H(0x8,a[_0x543e24(0x432)](J[_0x543e24(0x32d)])),H(0x9,a[_0x543e24(0x432)](Be)),H(0xa,a['Inject'](We)),H(0xb,a[_0x543e24(0x432)](Fe)),H(0xc,a[_0x543e24(0x432)](yt)),H(0xd,a[_0x543e24(0x488)]),H(0xe,a[_0x543e24(0x323)]),H(0xf,te[_0x543e24(0x59d)]),H(0x10,a['IPermissionService']),H(0x11,a[_0x543e24(0x3d6)](ze))],exports['DocCollaborationEntity']),exports[_0x543e24(0x5f9)]=class extends exports[_0x543e24(0x67a)]{constructor(_0x152fdd,_0x3e8d7a,_0x35ed40,_0x43fb16,_0x1b4960,_0x557b00,_0x5a4fdc,_0x2db6fb,_0x553413,_0x364816,_0x17d454,_0x2d497c,_0x2bfff9,_0x26086b){const _0x590dbc=_0x543e24;super(_0x152fdd,_0x35ed40,_0x3e8d7a,_0x43fb16,_0x1b4960,_0x557b00,_0x5a4fdc,_0x2db6fb,_0x364816,_0x17d454,_0x2d497c,_0x2bfff9,_0x26086b),this['unitID']=_0x152fdd,this[_0x590dbc(0x267)]=_0x3e8d7a,this['_sheetTransformSelectionsService']=_0x553413;}[_0x543e24(0x2bc)](){const _0x58f058=_0x543e24,_0x13eec8=super[_0x58f058(0x2bc)]();return _0x13eec8[_0x58f058(0x1e3)]=_0x558975=>this[_0x58f058(0x3b8)][_0x58f058(0x2aa)](_0x558975),_0x13eec8;}async[_0x543e24(0x69b)](){const _0x4f5461=_0x543e24,_0x52d073=await super[_0x4f5461(0x69b)]();return this[_0x4f5461(0x419)](this['_commandService'][_0x4f5461(0x24e)]((_0x412231,_0x4bfeb7)=>{const _0x10bd1e=_0x4f5461;if(_0x412231['type']!==a[_0x10bd1e(0x663)]['MUTATION']||_0x4bfeb7!=null&&_0x4bfeb7[_0x10bd1e(0x4fb)]||_0x4bfeb7!=null&&_0x4bfeb7[_0x10bd1e(0x3c0)])return;const _0x17724c=_0x412231[_0x10bd1e(0x256)];if((_0x17724c==null?void 0x0:_0x17724c[_0x10bd1e(0x32c)])!==this[_0x10bd1e(0x5dd)])return;const _0xb130c5=_0x412231,_0x10c7c4=this['_compressMutationService'][_0x10bd1e(0x697)][_0x10bd1e(0x4aa)](this[_0x10bd1e(0x683)][_0x10bd1e(0x697)][_0x10bd1e(0x31c)]()['COMPRESS_MUTATION_SEND'])([_0xb130c5],null)||[_0xb130c5];this[_0x10bd1e(0x3be)](_0x10c7c4[0x0]);})),_0x52d073;}},exports[_0x543e24(0x5f9)]=Ot([H(0x3,a[_0x543e24(0x432)](a[_0x543e24(0x2e7)])),H(0x4,a['Inject'](exports['LocalCacheService'])),H(0x5,a[_0x543e24(0x432)](p['CompressMutationService'])),H(0x6,a[_0x543e24(0x432)](a[_0x543e24(0x264)])),H(0x7,a[_0x543e24(0x432)](p[_0x543e24(0x277)])),H(0x8,a[_0x543e24(0x432)](ke)),H(0x9,a[_0x543e24(0x488)]),H(0xa,a[_0x543e24(0x323)]),H(0xb,te[_0x543e24(0x59d)]),H(0xc,a['IPermissionService']),H(0xd,a[_0x543e24(0x3d6)](ze))],exports[_0x543e24(0x5f9)]);var Yn=Object['defineProperty'],Kn=Object[_0x543e24(0x3e8)],qn=(_0x436a93,_0xfc93d3,_0x5cc3d0,_0x23f9d1)=>{for(var _0x4592c3=_0x23f9d1>0x1?void 0x0:_0x23f9d1?Kn(_0xfc93d3,_0x5cc3d0):_0xfc93d3,_0x305551=_0x436a93['length']-0x1,_0x55920e;_0x305551>=0x0;_0x305551--)(_0x55920e=_0x436a93[_0x305551])&&(_0x4592c3=(_0x23f9d1?_0x55920e(_0xfc93d3,_0x5cc3d0,_0x4592c3):_0x55920e(_0x4592c3))||_0x4592c3);return _0x23f9d1&&_0x4592c3&&Yn(_0xfc93d3,_0x5cc3d0,_0x4592c3),_0x4592c3;},it=(_0x4ce497,_0x31783b)=>(_0x3388f3,_0x3d3310)=>_0x31783b(_0x3388f3,_0x3d3310,_0x4ce497);exports[_0x543e24(0x407)]=class extends a['RxDisposable']{constructor(_0x1fc910,_0x269479,_0x92b72e){const _0xdaeeaf=_0x543e24;super(),I(this,_0xdaeeaf(0x3d4),new Map()),I(this,'_entityInit$',new A[(_0xdaeeaf(0x4f2))]()),(this['_injector']=_0x1fc910,this['_collabSessionService']=_0x269479,this['_univerInstanceService']=_0x92b72e,this[_0xdaeeaf(0x69b)]());}[_0x543e24(0x5db)](){const _0x20a033=_0x543e24;super[_0x20a033(0x5db)](),this['_entities'][_0x20a033(0x3f5)](_0x5218c1=>_0x5218c1[_0x20a033(0x5db)]()),this[_0x20a033(0x3d4)][_0x20a033(0x3f2)]();}[_0x543e24(0x483)](_0xf5ba0c){const _0x592acd=_0x543e24;var _0x4a5d2e;return(_0x4a5d2e=this[_0x592acd(0x3d4)][_0x592acd(0x5e6)](_0xf5ba0c))!=null?_0x4a5d2e:null;}[_0x543e24(0x320)](_0x11385b){const _0x7328a8=_0x543e24,_0x5286ff=this[_0x7328a8(0x483)](_0x11385b);return _0x5286ff?A['of'](_0x5286ff):this['_entityInit$'][_0x7328a8(0x449)](V[_0x7328a8(0x565)](_0x2f07b9=>_0x2f07b9[_0x7328a8(0x5dd)]===_0x11385b));}[_0x543e24(0x69b)](){const _0x2a8664=_0x543e24;this[_0x2a8664(0x47c)][_0x2a8664(0x37f)](a[_0x2a8664(0x4f9)]['UNIVER_SHEET'])[_0x2a8664(0x449)](A[_0x2a8664(0x49b)](this[_0x2a8664(0x21e)]),V[_0x2a8664(0x3f1)](0x10))['subscribe'](async _0x197b19=>{const _0x3d8b97=_0x2a8664,_0x57dce8=_0x197b19[_0x3d8b97(0x346)](),_0x400b1b=await this[_0x3d8b97(0x276)](_0x57dce8,ne[_0x3d8b97(0x34c)]);this['_entities'][_0x3d8b97(0x4b5)](_0x57dce8,_0x400b1b);}),this[_0x2a8664(0x47c)][_0x2a8664(0x37f)](a[_0x2a8664(0x4f9)][_0x2a8664(0x395)])[_0x2a8664(0x449)](A[_0x2a8664(0x49b)](this[_0x2a8664(0x21e)]),V[_0x2a8664(0x3f1)](0x10))[_0x2a8664(0x449)](V[_0x2a8664(0x565)](_0x58c4b6=>!_0x58c4b6['getUnitId']()[_0x2a8664(0x29a)]('__')))[_0x2a8664(0x397)](async _0x390c1a=>{const _0x3dbc5e=_0x2a8664,_0x3962e6=_0x390c1a['getUnitId'](),_0xdfb8c=await this[_0x3dbc5e(0x276)](_0x3962e6,ne[_0x3dbc5e(0x395)]);this[_0x3dbc5e(0x3d4)][_0x3dbc5e(0x4b5)](_0x3962e6,_0xdfb8c);}),A[_0x2a8664(0x4d4)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x2a8664(0x4f9)][_0x2a8664(0x34c)]),this[_0x2a8664(0x47c)][_0x2a8664(0x44d)](a[_0x2a8664(0x4f9)][_0x2a8664(0x395)]))[_0x2a8664(0x449)](A[_0x2a8664(0x49b)](this['dispose$']))[_0x2a8664(0x397)](_0x1c3496=>{const _0x338145=_0x2a8664,_0x26ef67=_0x1c3496['getUnitId'](),_0x1bd1da=this['_entities'][_0x338145(0x5e6)](_0x26ef67);_0x1bd1da&&(_0x1bd1da[_0x338145(0x5db)](),this[_0x338145(0x3d4)]['delete'](_0x26ef67));});}async[_0x543e24(0x276)](_0x4eddb1,_0x1f5ff3){const _0x3fe632=_0x543e24,_0x4ebdc8=await this[_0x3fe632(0x207)][_0x3fe632(0x3d5)](_0x4eddb1),_0x106078=this[_0x3fe632(0x5b0)][_0x3fe632(0x25d)](this[_0x3fe632(0x224)](_0x1f5ff3),_0x4eddb1,_0x1f5ff3,_0x4ebdc8);return await _0x106078['init'](),this[_0x3fe632(0x333)]['next'](_0x106078),_0x106078;}['_getCtorByUniverType'](_0x3b4937){const _0x114390=_0x543e24;switch(_0x3b4937){case ne[_0x114390(0x395)]:return exports['DocCollaborationEntity'];case ne[_0x114390(0x34c)]:return exports[_0x114390(0x5f9)];default:throw new Error(_0x114390(0x1e4)+_0x3b4937);}}},exports[_0x543e24(0x407)]=qn([it(0x0,a[_0x543e24(0x432)](a['Injector'])),it(0x1,a['Inject'](exports[_0x543e24(0x210)])),it(0x2,a[_0x543e24(0x316)])],exports['CollaborationController']);var zn=Object[_0x543e24(0x685)],Xn=Object[_0x543e24(0x3e8)],Jn=(_0x569709,_0x4549d1,_0x4be45e,_0xa5c762)=>{const _0x260e63=_0x543e24;for(var _0x3eb8f8=_0xa5c762>0x1?void 0x0:_0xa5c762?Xn(_0x4549d1,_0x4be45e):_0x4549d1,_0x42b5f9=_0x569709[_0x260e63(0x65c)]-0x1,_0x31f4cf;_0x42b5f9>=0x0;_0x42b5f9--)(_0x31f4cf=_0x569709[_0x42b5f9])&&(_0x3eb8f8=(_0xa5c762?_0x31f4cf(_0x4549d1,_0x4be45e,_0x3eb8f8):_0x31f4cf(_0x3eb8f8))||_0x3eb8f8);return _0xa5c762&&_0x3eb8f8&&zn(_0x4549d1,_0x4be45e,_0x3eb8f8),_0x3eb8f8;},Bt=(_0xd0a5fa,_0x2a43a0)=>(_0x3e8d9e,_0x2f5aee)=>_0x2a43a0(_0x3e8d9e,_0x2f5aee,_0xd0a5fa);let Ve=class extends a[_0x543e24(0x49e)]{constructor(_0x7409aa,_0x5d3701){const _0x36be67=_0x543e24;super(),this[_0x36be67(0x5ad)]=_0x7409aa,this[_0x36be67(0x380)]=_0x5d3701,this[_0x36be67(0x69b)]();}[_0x543e24(0x69b)](){const _0x141b42=_0x543e24,_0x5c0100=this;this['disposeWithMe'](this[_0x141b42(0x5ad)][_0x141b42(0x239)]({'onBeforePasteImage':async _0x1fd0f2=>{const _0x4d322f=_0x141b42,_0x116c11=await _0x5c0100['_imageIoService'][_0x4d322f(0x501)](_0x1fd0f2);return _0x116c11?{'source':_0x116c11[_0x4d322f(0x519)],'imageSourceType':_0x116c11[_0x4d322f(0x28d)]}:null;}}));}};Ve=Jn([Bt(0x0,J['IDocClipboardService']),Bt(0x1,ie['IImageIoService'])],Ve);const kt=['purple300',_0x543e24(0x2d7),'verdancy600','red300',_0x543e24(0x2db),_0x543e24(0x474)];class Dt extends a[_0x543e24(0x3f3)]{constructor(){const _0x5e38f9=_0x543e24;super(...arguments),I(this,_0x5e38f9(0x1e5),new Map()),I(this,_0x5e38f9(0x230),0x0);}[_0x543e24(0x252)](_0x55a65b){const _0xec3ac7=_0x543e24;if(this['_assignedColors'][_0xec3ac7(0x65f)](_0x55a65b))return this[_0xec3ac7(0x1e5)][_0xec3ac7(0x5e6)](_0x55a65b);const _0x35b0ec=kt[this[_0xec3ac7(0x230)]];return this[_0xec3ac7(0x230)]=(this[_0xec3ac7(0x230)]+0x1)%kt[_0xec3ac7(0x65c)],this[_0xec3ac7(0x1e5)][_0xec3ac7(0x4b5)](_0x55a65b,_0x35b0ec),_0x35b0ec;}}var Zn=Object[_0x543e24(0x685)],Qn=Object[_0x543e24(0x3e8)],es=(_0x28c485,_0x45b854,_0x40532d,_0x45b70c)=>{const _0x33d300=_0x543e24;for(var _0x470172=_0x45b70c>0x1?void 0x0:_0x45b70c?Qn(_0x45b854,_0x40532d):_0x45b854,_0x9441a=_0x28c485[_0x33d300(0x65c)]-0x1,_0x2bd5aa;_0x9441a>=0x0;_0x9441a--)(_0x2bd5aa=_0x28c485[_0x9441a])&&(_0x470172=(_0x45b70c?_0x2bd5aa(_0x45b854,_0x40532d,_0x470172):_0x2bd5aa(_0x470172))||_0x470172);return _0x45b70c&&_0x470172&&Zn(_0x45b854,_0x40532d,_0x470172),_0x470172;},me=(_0xb167f2,_0x485b2d)=>(_0x2230b2,_0x19ff30)=>_0x485b2d(_0x2230b2,_0x19ff30,_0xb167f2);const ts=0x12c,is=0x64;let pt=class extends a['RxDisposable']{constructor(_0x36e709,_0x5aef1d,_0x5bb2a2,_0x599cbb,_0x69ac0f,_0x5d0c1d,_0x4a481c,_0x1956de,_0x38612e){const _0x2a4e01=_0x543e24;super(),I(this,_0x2a4e01(0x2f8),!0x1),I(this,_0x2a4e01(0x69b),!0x1),I(this,_0x2a4e01(0x5c7),new A[(_0x2a4e01(0x421))](new Map())),I(this,'cursorInfo$',this[_0x2a4e01(0x5c7)][_0x2a4e01(0x1ea)]()),I(this,_0x2a4e01(0x394),new A[(_0x2a4e01(0x421))]([])),I(this,_0x2a4e01(0x33e),this[_0x2a4e01(0x394)][_0x2a4e01(0x449)](A[_0x2a4e01(0x42f)](ts))),I(this,_0x2a4e01(0x572),a['debounce'](_0x34cd6b=>{const _0x277c47=_0x2a4e01,_0x54f14a={'eventID':p[_0x277c47(0x612)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x277c47(0x545)][_0x277c47(0x434)](),'selection':Si(_0x34cd6b)}};this[_0x277c47(0x545)][_0x277c47(0x4f3)](_0x54f14a,this[_0x277c47(0x5dd)]);},is)),(this[_0x2a4e01(0x5dd)]=_0x36e709,this[_0x2a4e01(0x545)]=_0x5aef1d,this[_0x2a4e01(0x5b0)]=_0x5bb2a2,this[_0x2a4e01(0x5ff)]=_0x599cbb,this[_0x2a4e01(0x46f)]=_0x69ac0f,this[_0x2a4e01(0x294)]=_0x5d0c1d,this[_0x2a4e01(0x4c5)]=_0x4a481c,this['_univerInstanceService']=_0x1956de,this[_0x2a4e01(0x4cb)]=_0x38612e);}get['cursorInfo'](){const _0x2c2c01=_0x543e24;return this['_cursorInfo$'][_0x2c2c01(0x60f)]();}get[_0x543e24(0x4f1)](){const _0x17dfd7=_0x543e24;return this['_roomMembers$'][_0x17dfd7(0x60f)]();}[_0x543e24(0x5db)](){const _0x533353=_0x543e24;super['dispose'](),this[_0x533353(0x5c7)][_0x533353(0x218)](new Map()),this[_0x533353(0x5c7)]['complete'](),this[_0x533353(0x394)][_0x533353(0x218)]([]),this[_0x533353(0x394)][_0x533353(0x3db)]();}[_0x543e24(0x201)](){const _0x5bbfae=_0x543e24;this['_init']||(this[_0x5bbfae(0x69b)]=!0x0,this[_0x5bbfae(0x545)][_0x5bbfae(0x405)][_0x5bbfae(0x449)](A[_0x5bbfae(0x49b)](this[_0x5bbfae(0x21e)]))[_0x5bbfae(0x397)](_0x10052c=>{const _0x1dd192=_0x5bbfae;_0x10052c===se['ONLINE']?this[_0x1dd192(0x3da)]():this[_0x1dd192(0x3de)]();}),this[_0x5bbfae(0x545)][_0x5bbfae(0x684)][_0x5bbfae(0x449)](A[_0x5bbfae(0x49b)](this[_0x5bbfae(0x21e)]))['subscribe'](_0xc7f0c=>{const _0x3f794a=_0x5bbfae,_0x579e48=_0xc7f0c[_0x3f794a(0x62c)];_0x579e48===p[_0x3f794a(0x612)][_0x3f794a(0x2dc)]&&this[_0x3f794a(0x26a)](_0xc7f0c),_0x579e48===p[_0x3f794a(0x612)][_0x3f794a(0x3f0)]&&this['_onCursorDelete'](_0xc7f0c);}),this[_0x5bbfae(0x419)](this[_0x5bbfae(0x4cb)]['onCommandExecuted'](_0x241bc7=>{const _0x186788=_0x5bbfae,_0x10a5bc=_0x241bc7['params'];_0x10a5bc!=null&&this['_online']&&_0x241bc7['id']===Ie[_0x186788(0x3ad)]['id']&&_0x10a5bc[_0x186788(0x32c)]===this[_0x186788(0x5dd)]&&_0x10a5bc[_0x186788(0x244)]===!0x1&&_0x10a5bc[_0x186788(0x1d8)]['length']>0x0&&this['_updateLocalCursor'](_0x10a5bc[_0x186788(0x1d8)]);})),this[_0x5bbfae(0x294)]['collabCursorState$'][_0x5bbfae(0x449)](A[_0x5bbfae(0x49b)](this['dispose$']))[_0x5bbfae(0x397)](_0x4fdf08=>{const _0x192ca4=_0x5bbfae;if((_0x4fdf08==null?void 0x0:_0x4fdf08['unitID'])!==this[_0x192ca4(0x5dd)])return;const _0x264551={'eventID':p[_0x192ca4(0x612)][_0x192ca4(0x2dc)],'data':_0x4fdf08};this[_0x192ca4(0x26a)](_0x264551);}),this[_0x5bbfae(0x419)](this[_0x5bbfae(0x4cb)][_0x5bbfae(0x24e)](_0x88923d=>{const _0x5ed6cb=_0x5bbfae;if(_0x88923d[_0x5ed6cb(0x256)]==null)return;const _0xc58beb=_0x88923d['params'];if(_0x88923d['id']!==Ie[_0x5ed6cb(0x38a)]['id']||_0xc58beb['unitId']!==this['unitID'])return;const _0x5737e6={'id':_0x5ed6cb(0x5cf),'params':_0xc58beb},_0x2b2491=this[_0x5ed6cb(0x43e)];for(const [_0x5e42a7,_0x3c117c]of _0x2b2491){const _0x2dab0c={'id':_0x5ed6cb(0x5cf),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3c117c[_0x5ed6cb(0x1d8)]}},_0x3d0aa9=this[_0x5ed6cb(0x4c5)]['transformMutation'](_0x5737e6,_0x2dab0c,!0x1);if(p['isTransformMutationFailure'](_0x3d0aa9))throw _0x3d0aa9[_0x5ed6cb(0x624)];_0x2b2491[_0x5ed6cb(0x4b5)](_0x5e42a7,{..._0x3c117c,'ranges':_0x3d0aa9[_0x5ed6cb(0x4e6)][_0x5ed6cb(0x256)][_0x5ed6cb(0x52f)]});}queueMicrotask(()=>{const _0x4de84e=_0x5ed6cb;this[_0x4de84e(0x5c7)][_0x4de84e(0x218)](_0x2b2491);});})));}[_0x543e24(0x26a)](_0x3b8252){const _0x5c7363=_0x543e24;var _0x2253c1,_0x591c62;const {memberID:_0x580e0b,selection:_0x160c03}=_0x3b8252[_0x5c7363(0x606)],_0x1ce89a=Ln(_0x160c03),_0x518ef7=(_0x591c62=(_0x2253c1=this[_0x5c7363(0x46f)]['getMember'](this[_0x5c7363(0x5dd)],_0x580e0b))==null?void 0x0:_0x2253c1[_0x5c7363(0x36f)])!=null?_0x591c62:'Unknown\x20user',_0x3f881e={'color':this[_0x5c7363(0x5ff)][_0x5c7363(0x252)](_0x580e0b),'name':_0x518ef7,'ranges':_0x1ce89a},_0x16e5a1=this['cursorInfo'];_0x16e5a1[_0x5c7363(0x4b5)](_0x580e0b,_0x3f881e),this[_0x5c7363(0x5c7)][_0x5c7363(0x218)](_0x16e5a1);}[_0x543e24(0x489)](_0x315160){const _0x443579=_0x543e24,{memberID:_0xaf53a3}=_0x315160[_0x443579(0x606)],_0x31ea66=this['cursorInfo'];_0x31ea66['delete'](_0xaf53a3),this[_0x443579(0x5c7)][_0x443579(0x218)](_0x31ea66);}[_0x543e24(0x3da)](){const _0x34f9f9=_0x543e24;var _0x368830;if(this[_0x34f9f9(0x2f8)]=!0x0,((_0x368830=this['_univerInstanceService'][_0x34f9f9(0x328)]())==null?void 0x0:_0x368830[_0x34f9f9(0x346)]())!==this[_0x34f9f9(0x5dd)])return;const _0x495664=this[_0x34f9f9(0x5b0)]['get'](Ie[_0x34f9f9(0x281)])[_0x34f9f9(0x4c3)]();Array[_0x34f9f9(0x343)](_0x495664)&&_0x495664[_0x34f9f9(0x65c)]>0x0&&this[_0x34f9f9(0x572)](_0x495664);}[_0x543e24(0x3de)](){const _0x3a52a3=_0x543e24;this[_0x3a52a3(0x2f8)]=!0x1;}};pt=es([me(0x2,a['Inject'](a['Injector'])),me(0x3,a['Inject'](Dt)),me(0x4,a[_0x543e24(0x432)](exports[_0x543e24(0x447)])),me(0x5,a['Inject'](yt)),me(0x6,p[_0x543e24(0x36e)]),me(0x7,a[_0x543e24(0x316)]),me(0x8,a[_0x543e24(0x323)])],pt);var ns=Object[_0x543e24(0x685)],ss=Object[_0x543e24(0x3e8)],rs=(_0x92919d,_0x23d75b,_0x36e329,_0x218a1d)=>{const _0x55de41=_0x543e24;for(var _0x38fcd5=_0x218a1d>0x1?void 0x0:_0x218a1d?ss(_0x23d75b,_0x36e329):_0x23d75b,_0x1a7951=_0x92919d[_0x55de41(0x65c)]-0x1,_0x2f8eed;_0x1a7951>=0x0;_0x1a7951--)(_0x2f8eed=_0x92919d[_0x1a7951])&&(_0x38fcd5=(_0x218a1d?_0x2f8eed(_0x23d75b,_0x36e329,_0x38fcd5):_0x2f8eed(_0x38fcd5))||_0x38fcd5);return _0x218a1d&&_0x38fcd5&&ns(_0x23d75b,_0x36e329,_0x38fcd5),_0x38fcd5;},Te=(_0x41a9f4,_0x11f656)=>(_0x5e2183,_0x6c9e13)=>_0x11f656(_0x5e2183,_0x6c9e13,_0x41a9f4);const os=0x12c,as=0x64,cs=()=>{let _0x38b3ba=[],_0x407327=!0x1;return _0x75444e=>{const _0x5d090d=_0x4acf;_0x38b3ba[_0x5d090d(0x43b)](_0x75444e),_0x407327||(_0x407327=!0x0,setTimeout(()=>{const _0x2be101=_0x5d090d;_0x38b3ba[_0x2be101(0x3f5)](_0x3c2c02=>_0x3c2c02()),_0x38b3ba=[],_0x407327=!0x1;}));};};let mt=class extends a['RxDisposable']{constructor(_0x49ad31,_0x522c5f,_0x4d2088,_0x4ee0a4,_0x519501,_0x50efc4,_0x1af170,_0x356a67){const _0x335b95=_0x543e24;super(),I(this,_0x335b95(0x2f8),!0x1),I(this,'_init',!0x1),I(this,_0x335b95(0x5c7),new A[(_0x335b95(0x421))](new Map())),I(this,'cursorInfo$',this[_0x335b95(0x5c7)][_0x335b95(0x1ea)]()),I(this,_0x335b95(0x394),new A[(_0x335b95(0x421))]([])),I(this,_0x335b95(0x33e),this[_0x335b95(0x394)][_0x335b95(0x449)](A['debounceTime'](os))),I(this,_0x335b95(0x572),a['debounce']((_0x1daf2a,_0x5499a5)=>{const _0x37c8cd=_0x335b95,_0x5ce439={'eventID':p[_0x37c8cd(0x612)][_0x37c8cd(0x2dc)],'data':{'unitID':this[_0x37c8cd(0x5dd)],'memberID':this['_session']['getMemberID'](),'selection':Mt['serializeRangeWithSheet'](_0x1daf2a,_0x5499a5['range'])}};this[_0x37c8cd(0x545)][_0x37c8cd(0x4f3)](_0x5ce439,this['unitID']);},as)),(this['unitID']=_0x49ad31,this[_0x335b95(0x545)]=_0x522c5f,this[_0x335b95(0x5b0)]=_0x4d2088,this[_0x335b95(0x5ff)]=_0x4ee0a4,this[_0x335b95(0x46f)]=_0x519501,this[_0x335b95(0x47c)]=_0x50efc4,this[_0x335b95(0x4cb)]=_0x1af170,this[_0x335b95(0x257)]=_0x356a67);}get[_0x543e24(0x43e)](){const _0x565dd3=_0x543e24;return this[_0x565dd3(0x5c7)]['getValue']();}get[_0x543e24(0x4f1)](){const _0x11e578=_0x543e24;return this[_0x11e578(0x394)]['getValue']();}[_0x543e24(0x5db)](){const _0x57e05a=_0x543e24;super[_0x57e05a(0x5db)](),this[_0x57e05a(0x5c7)][_0x57e05a(0x218)](new Map()),this['_cursorInfo$'][_0x57e05a(0x3db)](),this[_0x57e05a(0x394)][_0x57e05a(0x218)]([]),this[_0x57e05a(0x394)][_0x57e05a(0x3db)]();}[_0x543e24(0x201)](){const _0x3a35ab=_0x543e24;this[_0x3a35ab(0x69b)]||(this[_0x3a35ab(0x69b)]=!0x0,this[_0x3a35ab(0x545)][_0x3a35ab(0x405)]['pipe'](A[_0x3a35ab(0x49b)](this['dispose$']))[_0x3a35ab(0x397)](_0x32dcfd=>{const _0x129e41=_0x3a35ab;_0x32dcfd===se['ONLINE']?this['_toggleOnline']():this[_0x129e41(0x3de)]();}),this['_session'][_0x3a35ab(0x684)][_0x3a35ab(0x449)](A[_0x3a35ab(0x49b)](this[_0x3a35ab(0x21e)]))['subscribe'](_0x42767a=>{const _0x2eed50=_0x3a35ab,_0x259a5e=_0x42767a[_0x2eed50(0x62c)];_0x259a5e===p[_0x2eed50(0x612)][_0x2eed50(0x2dc)]&&this[_0x2eed50(0x26a)](_0x42767a),_0x259a5e===p[_0x2eed50(0x612)][_0x2eed50(0x3f0)]&&this['_onCursorDelete'](_0x42767a);}),this[_0x3a35ab(0x664)](),this['disposeWithMe'](this[_0x3a35ab(0x4cb)][_0x3a35ab(0x24e)](_0x34a543=>{const _0x5d5fc2=_0x3a35ab;if(this['_online']&&_0x34a543['id']===k[_0x5d5fc2(0x524)]['id']&&_0x34a543[_0x5d5fc2(0x256)][_0x5d5fc2(0x32c)]===this['unitID']){const _0x59c3b7=_0x34a543[_0x5d5fc2(0x256)];this[_0x5d5fc2(0x572)](_0x59c3b7[_0x5d5fc2(0x1e8)],_0x59c3b7[_0x5d5fc2(0x5cc)][0x0]);}})));}[_0x543e24(0x26a)](_0x5427cf){const _0x4600dc=_0x543e24;var _0x253124,_0x2c56b4;const {memberID:_0x42c2c7,selection:_0x1a0f03}=_0x5427cf['data'],{sheetName:_0x11763e,range:_0x1b9f61}=Mt['deserializeRangeWithSheet'](_0x1a0f03),_0x1dd41f={'name':(_0x2c56b4=(_0x253124=this[_0x4600dc(0x46f)]['getMember'](this['unitID'],_0x42c2c7))==null?void 0x0:_0x253124[_0x4600dc(0x36f)])!=null?_0x2c56b4:_0x4600dc(0x325),'range':this['_getMergeRange'](_0x11763e,_0x1b9f61),'sheetID':_0x11763e,'color':this['_colorAssignService'][_0x4600dc(0x252)](_0x42c2c7),'selection':_0x1a0f03},_0x529275=this[_0x4600dc(0x43e)];_0x529275[_0x4600dc(0x4b5)](_0x42c2c7,_0x1dd41f),this[_0x4600dc(0x5c7)][_0x4600dc(0x218)](_0x529275);}['_onCursorDelete'](_0x1813b1){const _0x5d200d=_0x543e24,{memberID:_0x2d2402}=_0x1813b1['data'],_0x418e86=this[_0x5d200d(0x43e)];_0x418e86[_0x5d200d(0x22d)](_0x2d2402),this[_0x5d200d(0x5c7)]['next'](_0x418e86);}[_0x543e24(0x30a)](_0x407467,_0x2f08c2){const _0x3bdfde=_0x543e24;var _0x1b4503,_0x50a4be;const _0x239e1d=(_0x50a4be=(_0x1b4503=this['_univerInstanceService'][_0x3bdfde(0x3eb)](this['unitID']))==null?void 0x0:_0x1b4503[_0x3bdfde(0x669)](_0x407467))==null?void 0x0:_0x50a4be[_0x3bdfde(0x600)]();return(_0x239e1d==null?void 0x0:_0x239e1d[_0x3bdfde(0x1d3)](_0x4da88d=>a['Rectangle'][_0x3bdfde(0x640)](_0x4da88d,_0x2f08c2)))||_0x2f08c2;}[_0x543e24(0x664)](){const _0x5db33a=_0x543e24,_0x3e373e=new a[(_0x5db33a(0x2fa))](),_0x1a6f79=cs(),_0xf4d453=()=>{const _0x3790e8=_0x5db33a;_0x3e373e[_0x3790e8(0x5db)]();const _0x4c2617=(_0x14b8dc,_0x537db5,_0x18fdc0,_0x13d0de)=>{const _0x5231cf=_0x3790e8;let _0x188f96=[];switch(_0x14b8dc['id']){case k[_0x5231cf(0x3f6)][_0x5231cf(0x506)]:{_0x188f96=k[_0x5231cf(0x520)](_0x14b8dc,_0x13d0de);break;}case k[_0x5231cf(0x3f6)][_0x5231cf(0x466)]:{_0x188f96=k[_0x5231cf(0x66b)](_0x14b8dc,_0x13d0de);break;}case k[_0x5231cf(0x3f6)]['InsertColCommandId']:{_0x188f96=k['handleInsertCol'](_0x14b8dc,_0x13d0de);break;}case k[_0x5231cf(0x3f6)]['InsertRangeMoveDownCommandId']:{_0x188f96=k[_0x5231cf(0x687)](_0x14b8dc,_0x13d0de);break;}case k[_0x5231cf(0x3f6)]['InsertRangeMoveRightCommandId']:{_0x188f96=k[_0x5231cf(0x69e)](_0x14b8dc,_0x13d0de);break;}case k[_0x5231cf(0x3f6)][_0x5231cf(0x5b8)]:{_0x188f96=k[_0x5231cf(0x69c)](_0x14b8dc,_0x13d0de);break;}case k['EffectRefRangId'][_0x5231cf(0x5af)]:{_0x188f96=k[_0x5231cf(0x38c)](_0x14b8dc,_0x13d0de);break;}case k[_0x5231cf(0x3f6)][_0x5231cf(0x329)]:{_0x188f96=k['handleIRemoveCol'](_0x14b8dc,_0x13d0de);break;}case k[_0x5231cf(0x3f6)][_0x5231cf(0x51a)]:{_0x188f96=k[_0x5231cf(0x384)](_0x14b8dc,_0x13d0de);break;}}const _0x1ba823=k[_0x5231cf(0x4dd)](_0x188f96,_0x13d0de),_0x15ec92=this[_0x5231cf(0x43e)][_0x5231cf(0x5e6)](_0x537db5);if(_0x15ec92&&_0x1ba823){const _0x6e4720={..._0x15ec92,'range':_0x1ba823};this[_0x5231cf(0x43e)][_0x5231cf(0x4b5)](_0x537db5,_0x6e4720),_0x1a6f79(()=>{const _0x4aa3d1=_0x5231cf,_0xf64d79=this[_0x4aa3d1(0x257)]['registerRefRange'](_0x1ba823,_0x4b29ea=>(_0xf64d79[_0x4aa3d1(0x5db)](),_0x4c2617(_0x4b29ea,_0x537db5,_0x18fdc0,_0x1ba823)));_0x3e373e['add'](_0xf64d79);});}return{'redos':[],'undos':[]};};this[_0x3790e8(0x43e)][_0x3790e8(0x3f5)]((_0xa62a76,_0x4f461d)=>{const _0x461ae8=_0x3790e8,{range:_0x959733,sheetID:_0x51dcd6}=_0xa62a76,_0x2bc8ca=this[_0x461ae8(0x257)][_0x461ae8(0x51b)](_0x959733,_0x5939d9=>(_0x2bc8ca[_0x461ae8(0x5db)](),_0x4c2617(_0x5939d9,_0x4f461d,_0x51dcd6,_0x959733)));_0x3e373e['add'](_0x2bc8ca);});};this['disposeWithMe'](a[_0x5db33a(0x42e)](this[_0x5db33a(0x5c7)]['subscribe'](()=>{_0xf4d453();})));}[_0x543e24(0x3da)](){const _0x26dab5=_0x543e24;var _0xa1e6b6,_0x17072c;if(this['_online']=!0x0,((_0xa1e6b6=this[_0x26dab5(0x47c)][_0x26dab5(0x328)]())==null?void 0x0:_0xa1e6b6['getUnitId']())!==this['unitID'])return;const _0x1a3e82=(_0x17072c=this[_0x26dab5(0x5b0)][_0x26dab5(0x5e6)](k[_0x26dab5(0x568)])['getCurrentSelections']())==null?void 0x0:_0x17072c[0x0],_0x637a03=this['_univerInstanceService'][_0x26dab5(0x2b2)](a[_0x26dab5(0x4f9)]['UNIVER_SHEET'])['getActiveSheet']();_0x1a3e82&&_0x637a03&&this[_0x26dab5(0x572)](_0x637a03[_0x26dab5(0x4a8)](),_0x1a3e82);}['_toggleOffline'](){const _0x303ff8=_0x543e24;this[_0x303ff8(0x2f8)]=!0x1;}};mt=rs([Te(0x2,a['Inject'](a[_0x543e24(0x2e7)])),Te(0x3,a['Inject'](Dt)),Te(0x4,a[_0x543e24(0x432)](exports[_0x543e24(0x447)])),Te(0x5,a['IUniverInstanceService']),Te(0x6,a[_0x543e24(0x323)]),Te(0x7,a[_0x543e24(0x432)](k[_0x543e24(0x4f6)]))],mt);var ls=Object[_0x543e24(0x685)],hs=Object['getOwnPropertyDescriptor'],_s=(_0xbf1bf1,_0x1b5e8d,_0xcf5c4c,_0x43fa9c)=>{const _0x3ffd98=_0x543e24;for(var _0x186cb5=_0x43fa9c>0x1?void 0x0:_0x43fa9c?hs(_0x1b5e8d,_0xcf5c4c):_0x1b5e8d,_0x27ec84=_0xbf1bf1[_0x3ffd98(0x65c)]-0x1,_0x38f8e7;_0x27ec84>=0x0;_0x27ec84--)(_0x38f8e7=_0xbf1bf1[_0x27ec84])&&(_0x186cb5=(_0x43fa9c?_0x38f8e7(_0x1b5e8d,_0xcf5c4c,_0x186cb5):_0x38f8e7(_0x186cb5))||_0x186cb5);return _0x43fa9c&&_0x186cb5&&ls(_0x1b5e8d,_0xcf5c4c,_0x186cb5),_0x186cb5;},nt=(_0x4c7c6e,_0x1bec87)=>(_0x2e9066,_0x131cf7)=>_0x1bec87(_0x2e9066,_0x131cf7,_0x4c7c6e);let De=class extends a[_0x543e24(0x49e)]{constructor(_0x1fad13,_0x3a1ead,_0x17f629){const _0x3d6eab=_0x543e24;super(),I(this,_0x3d6eab(0x3d4),new Map()),I(this,_0x3d6eab(0x333),new A[(_0x3d6eab(0x4f2))]()),(this['_univerInstanceService']=_0x1fad13,this[_0x3d6eab(0x5b0)]=_0x3a1ead,this[_0x3d6eab(0x207)]=_0x17f629,this['_init']());}['dispose'](){const _0x4b7ffb=_0x543e24;super[_0x4b7ffb(0x5db)](),this[_0x4b7ffb(0x333)][_0x4b7ffb(0x3db)](),this['_entities'][_0x4b7ffb(0x3f5)](_0x35366e=>_0x35366e['dispose']());}[_0x543e24(0x2bf)](_0x1e5035){const _0x497d36=_0x543e24;return this[_0x497d36(0x3d4)][_0x497d36(0x65f)](_0x1e5035)?this[_0x497d36(0x3d4)]['get'](_0x1e5035)[_0x497d36(0x43f)]:this[_0x497d36(0x333)][_0x497d36(0x449)](A[_0x497d36(0x565)](_0x233664=>_0x233664[_0x497d36(0x5dd)]===_0x1e5035),A['switchMap'](_0x3802d3=>_0x3802d3[_0x497d36(0x43f)]));}[_0x543e24(0x69b)](){const _0x354e7f=_0x543e24;this[_0x354e7f(0x47c)][_0x354e7f(0x37f)](a['UniverInstanceType'][_0x354e7f(0x34c)])['pipe'](A['takeUntil'](this['dispose$']))[_0x354e7f(0x397)](async _0x4ae956=>{const _0x12d876=_0x354e7f,_0x42d8a6=_0x4ae956[_0x12d876(0x346)](),_0x4861e4=await this['_startSheetCollabCursor'](_0x42d8a6);this[_0x12d876(0x333)]['next'](_0x4861e4),this['_entities'][_0x12d876(0x4b5)](_0x42d8a6,_0x4861e4);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x354e7f(0x4f9)][_0x354e7f(0x395)])[_0x354e7f(0x449)](A[_0x354e7f(0x49b)](this['dispose$']))[_0x354e7f(0x449)](A[_0x354e7f(0x565)](_0x11bf09=>!_0x11bf09[_0x354e7f(0x346)]()['startsWith']('__')))[_0x354e7f(0x397)](async _0x28484c=>{const _0x3a99cd=_0x354e7f,_0x41c246=_0x28484c[_0x3a99cd(0x346)](),_0x274d94=await this[_0x3a99cd(0x5c0)](_0x41c246);this[_0x3a99cd(0x333)][_0x3a99cd(0x218)](_0x274d94),this['_entities'][_0x3a99cd(0x4b5)](_0x41c246,_0x274d94);}),A[_0x354e7f(0x4d4)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x354e7f(0x4f9)][_0x354e7f(0x395)]),this[_0x354e7f(0x47c)]['getTypeOfUnitDisposed$'](a[_0x354e7f(0x4f9)][_0x354e7f(0x34c)]))[_0x354e7f(0x449)](A[_0x354e7f(0x49b)](this[_0x354e7f(0x21e)]))[_0x354e7f(0x397)](_0x2bd7ca=>{const _0x5df7bc=_0x354e7f,_0x8bcce6=_0x2bd7ca[_0x5df7bc(0x346)](),_0x5622c7=this[_0x5df7bc(0x3d4)]['get'](_0x8bcce6);_0x5622c7&&(_0x5622c7[_0x5df7bc(0x5db)](),this[_0x5df7bc(0x3d4)][_0x5df7bc(0x22d)](_0x8bcce6));});}async[_0x543e24(0x355)](_0x2cefdc){const _0x20fb84=_0x543e24,_0x2f43b9=await this[_0x20fb84(0x207)][_0x20fb84(0x3d5)](_0x2cefdc),_0x3236a0=this[_0x20fb84(0x5b0)][_0x20fb84(0x25d)](mt,_0x2cefdc,_0x2f43b9);return _0x3236a0['init'](),_0x3236a0;}async[_0x543e24(0x5c0)](_0xb09c67){const _0xc5fa47=_0x543e24,_0x20abdb=await this[_0xc5fa47(0x207)][_0xc5fa47(0x3d5)](_0xb09c67),_0x3aecb5=this[_0xc5fa47(0x5b0)][_0xc5fa47(0x25d)](pt,_0xb09c67,_0x20abdb);return _0x3aecb5['init'](),_0x3aecb5;}};De=_s([nt(0x0,a[_0x543e24(0x316)]),nt(0x1,a[_0x543e24(0x432)](a[_0x543e24(0x2e7)])),nt(0x2,a['Inject'](exports[_0x543e24(0x210)]))],De);const Le=0x14,Wt=0xc8,st=0x4,us=0x5;function ds(_0xb89453,_0x43b10b){const _0x53fdd8=_0x543e24;let {radius:_0x211b10,width:_0x3b25c5,height:_0x41ca1c}=_0x43b10b;_0x211b10=_0x211b10!=null?_0x211b10:0x0,_0x3b25c5=_0x3b25c5!=null?_0x3b25c5:0x1e,_0x41ca1c=_0x41ca1c!=null?_0x41ca1c:0x1e;let _0x89707=0x0,_0x31b2b8=0x0,_0x4568b3=0x0;_0x89707=_0x31b2b8=_0x4568b3=Math[_0x53fdd8(0x674)](_0x211b10,_0x3b25c5/0x2,_0x41ca1c/0x2),_0xb89453[_0x53fdd8(0x237)](),_0xb89453['moveTo'](_0x89707,0x0),_0xb89453[_0x53fdd8(0x67e)](_0x3b25c5-_0x31b2b8,0x0),_0xb89453[_0x53fdd8(0x529)](_0x3b25c5-_0x31b2b8,_0x31b2b8,_0x31b2b8,Math['PI']*0x3/0x2,0x0,!0x1),_0xb89453[_0x53fdd8(0x67e)](_0x3b25c5,_0x41ca1c-_0x4568b3),_0xb89453[_0x53fdd8(0x529)](_0x3b25c5-_0x4568b3,_0x41ca1c-_0x4568b3,_0x4568b3,0x0,Math['PI']/0x2,!0x1),_0xb89453[_0x53fdd8(0x67e)](0x0,_0x41ca1c),_0xb89453[_0x53fdd8(0x67e)](0x0,_0x89707),_0xb89453[_0x53fdd8(0x529)](_0x89707,_0x89707,_0x89707,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xb89453[_0x53fdd8(0x563)](),_0x43b10b[_0x53fdd8(0x540)]&&(_0xb89453[_0x53fdd8(0x2fb)](),_0xb89453[_0x53fdd8(0x253)]=_0x43b10b[_0x53fdd8(0x540)],_0x43b10b[_0x53fdd8(0x222)]===_0x53fdd8(0x3c5)?_0xb89453[_0x53fdd8(0x540)](_0x53fdd8(0x3c5)):_0xb89453['fill'](),_0xb89453['restore']());}class Xe extends K[_0x543e24(0x238)]{constructor(_0x523fd8,_0x2d15){const _0x2b654e=_0x543e24;super(_0x523fd8,_0x2d15),I(this,_0x2b654e(0x285)),I(this,_0x2b654e(0x426)),(this[_0x2b654e(0x285)]=_0x2d15==null?void 0x0:_0x2d15[_0x2b654e(0x285)],this[_0x2b654e(0x426)]=_0x2d15==null?void 0x0:_0x2d15[_0x2b654e(0x426)]);}static[_0x543e24(0x1ff)](_0x4ecb5f,_0x5f440c){const _0x414c34=_0x543e24,{text:_0x2bf214,color:_0xc6a391}=_0x5f440c;_0x4ecb5f[_0x414c34(0x2fb)](),_0x4ecb5f['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1b98c6=_0x4ecb5f[_0x414c34(0x36d)](_0x2bf214)[_0x414c34(0x574)],_0xcab971=Math[_0x414c34(0x674)](_0x1b98c6+0x2*st,Wt);ds(_0x4ecb5f,{'height':Le,'radius':0x4,'width':_0xcab971,'fill':_0xc6a391,'evented':!0x1}),_0x4ecb5f[_0x414c34(0x253)]=_0x414c34(0x522);const _0x151005=st,_0x5a0a61=Le-us,_0x582dd2=Wt-0x2*st;if(_0x1b98c6>_0x582dd2){let _0x53828b='',_0x53f689=0x0;for(const _0x341ff4 of _0x2bf214){const _0x55815a=_0x4ecb5f[_0x414c34(0x36d)](_0x341ff4)[_0x414c34(0x574)];if(_0x53f689+_0x55815a<=_0x582dd2-_0x4ecb5f[_0x414c34(0x36d)](_0x414c34(0x375))[_0x414c34(0x574)])_0x53828b+=_0x341ff4,_0x53f689+=_0x55815a;else{_0x53828b+=_0x414c34(0x375);break;}}_0x4ecb5f[_0x414c34(0x443)](_0x53828b,_0x151005,_0x5a0a61);}else _0x4ecb5f[_0x414c34(0x443)](_0x2bf214,_0x151005,_0x5a0a61);_0x4ecb5f[_0x414c34(0x3a8)]();}['_draw'](_0x2c5588){const _0xbd78d0=_0x543e24;Xe[_0xbd78d0(0x1ff)](_0x2c5588,this);}}const rt=_0x543e24(0x475),fs=_0x543e24(0x514),vs=_0x543e24(0x297),Ue=0x6,Ss=1.5,ot=0x4,ps=1.5,ms=_0x543e24(0x2f0);class Ft{constructor(_0x27fe67,_0x38096f,_0x16d0cb,_0x239d89){const _0x4238bd=_0x543e24;I(this,_0x4238bd(0x4b9),[]),I(this,'_anchor',null),I(this,_0x4238bd(0x4b3),null),I(this,_0x4238bd(0x587),null),I(this,_0x4238bd(0x645),null),I(this,_0x4238bd(0x4ce),null),(this['_cursor']=_0x27fe67,this[_0x4238bd(0x2ba)]=_0x38096f,this[_0x4238bd(0x430)]=_0x16d0cb,this[_0x4238bd(0x334)]=_0x239d89,this[_0x4238bd(0x605)]());}set[_0x543e24(0x578)](_0x1f4c60){const _0x4cd1af=_0x543e24;_0x1f4c60?(this[_0x4cd1af(0x587)]&&this[_0x4cd1af(0x587)][_0x4cd1af(0x41f)](),this[_0x4cd1af(0x4b3)]&&this[_0x4cd1af(0x4b3)]['show']()):(this[_0x4cd1af(0x587)]&&this[_0x4cd1af(0x587)][_0x4cd1af(0x401)](),this[_0x4cd1af(0x4b3)]&&this['_textBubble']['hide']());}[_0x543e24(0x5db)](){const _0x9245d2=_0x543e24;for(const _0x53b83b of this[_0x9245d2(0x4b9)])_0x53b83b[_0x9245d2(0x5db)]();this[_0x9245d2(0x4b3)]&&this[_0x9245d2(0x4b3)]['dispose'](),this[_0x9245d2(0x587)]&&this[_0x9245d2(0x587)]['dispose'](),this[_0x9245d2(0x3d1)]&&this[_0x9245d2(0x3d1)][_0x9245d2(0x5db)](),this[_0x9245d2(0x4ce)]&&this[_0x9245d2(0x4ce)]();}[_0x543e24(0x605)](){const _0xd9f441=_0x543e24;var _0x145c46;const {_docSkeleton:_0x4ba769,_document:_0xca562a}=this,{color:_0xf63a0,name:_0x1baec3,ranges:_0x1eb8fd}=this['_cursor'],_0x3d2541=_0xca562a[_0xd9f441(0x2de)](),{docsLeft:_0x3662d5,docsTop:_0x131781}=_0x3d2541,_0xea2914=new J[(_0xd9f441(0x41e))](_0x3d2541,_0x4ba769);for(const {startOffset:_0x51e3dd,endOffset:_0x2dfe44,rangeType:_0x1b31a8,segmentId:_0x4002c4,segmentPage:_0x43f6ab,collapsed:_0x37d77d,isActive:_0x34b0b9}of _0x1eb8fd){const _0x4337f7=_0x4ba769[_0xd9f441(0x603)](_0x51e3dd,!0x0,_0x4002c4,_0x43f6ab);let _0x45eb13=_0x4ba769[_0xd9f441(0x603)](_0x2dfe44,!0x0,_0x4002c4,_0x43f6ab);if(_0x45eb13==null&&(_0x45eb13=_0x4ba769[_0xd9f441(0x603)](_0x2dfe44-0x1,!0x1,_0x4002c4,_0x43f6ab)),_0x34b0b9){const {contentBoxPointGroup:_0x3b09c3}=_0xea2914[_0xd9f441(0x607)](_0x45eb13,_0x45eb13);if(_0x3b09c3['length']===0x0)continue;this[_0xd9f441(0x298)](_0xf63a0,_0x3b09c3,_0x3662d5,_0x131781,_0x1baec3),this['_eventUnsubscribe']=this[_0xd9f441(0x262)]();}if(_0x4337f7&&_0x45eb13){if(_0x1b31a8===a[_0xd9f441(0x28c)][_0xd9f441(0x63b)]){const _0x5acb50=new J['NodePositionConvertToRectRange'](_0x3d2541,_0x4ba769),{pointGroup:_0x4da2b8}=(_0x145c46=_0x5acb50[_0xd9f441(0x607)](_0x4337f7,_0x45eb13))!=null?_0x145c46:{};if(_0x4da2b8==null||_0x4da2b8[_0xd9f441(0x65c)]===0x0)continue;this[_0xd9f441(0x255)](_0xf63a0,_0x4da2b8,_0x3662d5,_0x131781);}else{if(!_0x37d77d){const {borderBoxPointGroup:_0x1294b4}=_0xea2914[_0xd9f441(0x607)](_0x4337f7,_0x45eb13);if(_0x1294b4[_0xd9f441(0x65c)]===0x0)continue;this[_0xd9f441(0x3dc)](_0xf63a0,_0x1294b4,_0x3662d5,_0x131781);}}}}}[_0x543e24(0x298)](_0x5eb9e6,_0x32f19d,_0x1c971e,_0x18e546,_0x3d7ed1){const _0x409f4e=_0x543e24,_0x45b46a=this['_getAnchorBounding'](_0x32f19d),{left:_0x450a62,top:_0x20d2a5,height:_0x4dfc64}=_0x45b46a,_0x2bdb45=this[_0x409f4e(0x577)](),_0x2da720=ps/_0x2bdb45,_0x4d03c6=new K[(_0x409f4e(0x335))](rt+a['Tools'][_0x409f4e(0x2e5)](Ue),{'left':_0x450a62+_0x1c971e-_0x2da720,'top':_0x20d2a5+_0x18e546,'height':_0x4dfc64,'width':Ss,'fill':_0x5eb9e6||K[_0x409f4e(0x5e4)](a[_0x409f4e(0x3ff)][_0x409f4e(0x408)],0x0),'strokeWidth':_0x2da720,'stroke':ms,'evented':!0x0});this[_0x409f4e(0x3d1)]=_0x4d03c6,this[_0x409f4e(0x2ba)][_0x409f4e(0x51f)](_0x4d03c6,J[_0x409f4e(0x293)]);const _0x1fdc67=new K['Rect'](rt+a[_0x409f4e(0x327)][_0x409f4e(0x2e5)](Ue),{'left':_0x450a62+_0x1c971e-_0x2da720,'top':_0x20d2a5+_0x18e546-ot/0x2,'height':ot,'width':ot,'fill':_0x5eb9e6||K['getColor'](a[_0x409f4e(0x3ff)][_0x409f4e(0x408)],0x0),'strokeWidth':0x0,'stroke':_0x5eb9e6||K[_0x409f4e(0x5e4)](a['COLORS'][_0x409f4e(0x408)],0x0),'evented':!0x1});this[_0x409f4e(0x587)]=_0x1fdc67,this[_0x409f4e(0x2ba)][_0x409f4e(0x51f)](_0x1fdc67,J[_0x409f4e(0x293)]);const _0x182d73=new Xe(rt+a['Tools']['generateRandomId'](Ue),{'left':_0x450a62+_0x1c971e-_0x2da720,'top':_0x20d2a5+_0x18e546-Le,'text':_0x3d7ed1,'color':_0x5eb9e6});this['_textBubble']=_0x182d73,this['_scene'][_0x409f4e(0x51f)](_0x182d73,J[_0x409f4e(0x293)]),this[_0x409f4e(0x578)]=!0x1;}['_handleHover'](){const _0x3f6aa3=_0x543e24,_0x4becad=this[_0x3f6aa3(0x3d1)][_0x3f6aa3(0x3aa)][_0x3f6aa3(0x2a0)](()=>{const _0x398921=_0x3f6aa3;this[_0x398921(0x578)]=!0x0;}),_0x24430b=this[_0x3f6aa3(0x3d1)][_0x3f6aa3(0x1fe)][_0x3f6aa3(0x2a0)](()=>{const _0x574df5=_0x3f6aa3;this[_0x574df5(0x645)]&&clearTimeout(this[_0x574df5(0x645)]),this[_0x574df5(0x645)]=setTimeout(()=>{const _0x350ed9=_0x574df5;this[_0x350ed9(0x578)]=!0x1;},0x7d0);});return()=>{const _0xae1165=_0x3f6aa3;_0x4becad['unsubscribe'](),_0x24430b[_0xae1165(0x412)]();};}[_0x543e24(0x3dc)](_0x366b37,_0x267a2b,_0x364e7d,_0x4f7fca){const _0x2aaa00=_0x543e24,_0x548c4c=new a[(_0x2aaa00(0x5e2))](_0x366b37)[_0x2aaa00(0x665)](0.2)[_0x2aaa00(0x236)](),_0x4c4c4b=new K['RegularPolygon'](fs+a['Tools'][_0x2aaa00(0x2e5)](Ue),{'pointsGroup':_0x267a2b,'fill':_0x548c4c||K[_0x2aaa00(0x5e4)](a['COLORS'][_0x2aaa00(0x408)],0.2),'left':_0x364e7d,'top':_0x4f7fca,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2aaa00(0x43b)](_0x4c4c4b),this[_0x2aaa00(0x2ba)]['addObject'](_0x4c4c4b,J['TEXT_RANGE_LAYER_INDEX']);}[_0x543e24(0x255)](_0xbc3de6,_0x57e76e,_0x2e6d28,_0x7cc078){const _0x582305=_0x543e24,_0x419eb7=new a[(_0x582305(0x5e2))](_0xbc3de6)[_0x582305(0x665)](0.2)[_0x582305(0x236)](),_0x18308c=new K[(_0x582305(0x58c))](vs+a[_0x582305(0x327)][_0x582305(0x2e5)](Ue),{'pointsGroup':_0x57e76e,'fill':_0x419eb7||K['getColor'](a[_0x582305(0x3ff)][_0x582305(0x408)],0.2),'left':_0x2e6d28,'top':_0x7cc078,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x582305(0x4b9)]['push'](_0x18308c),this[_0x582305(0x2ba)][_0x582305(0x51f)](_0x18308c,J['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x3d203c){const _0x51852d=_0x3d203c[0x0],_0x4e64ac=_0x51852d[0x0],_0x90598=_0x51852d[0x2],{x:_0x5776a5,y:_0x1b0d5d}=_0x4e64ac,{x:_0x22b4bf,y:_0x381cb8}=_0x90598;return{'left':_0x5776a5,'top':_0x1b0d5d,'width':_0x22b4bf-_0x5776a5,'height':_0x381cb8-_0x1b0d5d};}['_getScale'](){const _0xcc523e=_0x543e24,{scaleX:_0x234d68,scaleY:_0x4ff693}=this[_0xcc523e(0x2ba)][_0xcc523e(0x503)]();return Math[_0xcc523e(0x3c7)](_0x234d68,_0x4ff693);}}var gs=Object['defineProperty'],Is=Object[_0x543e24(0x3e8)],Cs=(_0x32db60,_0x50cbe6,_0x2cde96,_0x2e046f)=>{for(var _0xf11fdf=_0x2e046f>0x1?void 0x0:_0x2e046f?Is(_0x50cbe6,_0x2cde96):_0x50cbe6,_0x43e946=_0x32db60['length']-0x1,_0x490eea;_0x43e946>=0x0;_0x43e946--)(_0x490eea=_0x32db60[_0x43e946])&&(_0xf11fdf=(_0x2e046f?_0x490eea(_0x50cbe6,_0x2cde96,_0xf11fdf):_0x490eea(_0xf11fdf))||_0xf11fdf);return _0x2e046f&&_0xf11fdf&&gs(_0x50cbe6,_0x2cde96,_0xf11fdf),_0xf11fdf;},je=(_0xb11e45,_0x14d0e0)=>(_0x356dee,_0x2f4512)=>_0x14d0e0(_0x356dee,_0x2f4512,_0xb11e45);let gt=class extends a[_0x543e24(0x49e)]{constructor(_0x3dc8d9,_0x57a6ff,_0x1122b5,_0xa62a57,_0x1583bd){const _0x233961=_0x543e24;super(),I(this,_0x233961(0x42b),[]),I(this,'_cursors',[]),(this[_0x233961(0x5df)]=_0x3dc8d9,this['_docSkeletonManagerService']=_0x57a6ff,this[_0x233961(0x3b6)]=_0x1122b5,this[_0x233961(0x4cb)]=_0xa62a57,this[_0x233961(0x560)]=_0x1583bd,this['_init']());}[_0x543e24(0x69b)](){const _0x29899c=_0x543e24,_0xe3c93e=this[_0x29899c(0x5df)]['unitId'],_0x16c772=this['_docSkeletonManagerService'];this[_0x29899c(0x419)](A['combineLatest']([this[_0x29899c(0x3b6)][_0x29899c(0x2bf)](_0xe3c93e),this[_0x29899c(0x560)][_0x29899c(0x265)]])[_0x29899c(0x449)](V['map'](([_0x3edd7e,_0x552e4c])=>({'skeleton':_0x16c772['getSkeleton'](),'cursors':[..._0x3edd7e['values']()][_0x29899c(0x63f)](_0x28751e=>({..._0x28751e,'color':_0x552e4c[_0x28751e[_0x29899c(0x285)]]}))})))[_0x29899c(0x397)](_0x5b4ec2=>{const _0x3ab5ff=_0x29899c;if(this[_0x3ab5ff(0x5c3)](),_0x5b4ec2){const {skeleton:_0x3b2a28,cursors:_0x517472}=_0x5b4ec2;this['_updateCollabCursors'](_0x3b2a28,_0x517472);}})),this[_0x29899c(0x3c8)](),this[_0x29899c(0x383)]();}['_updateCollabCursors'](_0x3f08f9,_0x47b3b){const _0x9ba857=_0x543e24,{scene:_0x78ea21,mainComponent:_0x236eeb}=this[_0x9ba857(0x5df)],_0x1acb8b=_0x47b3b[_0x9ba857(0x31d)](_0x22f3ab=>new Ft(_0x22f3ab,_0x78ea21,_0x3f08f9,_0x236eeb));this[_0x9ba857(0x42b)]=_0x1acb8b,this[_0x9ba857(0x2be)]=_0x47b3b;}[_0x543e24(0x63c)](){const _0x2ed93b=_0x543e24;this[_0x2ed93b(0x5c3)]();const {scene:_0x5ed642,mainComponent:_0x3842a5}=this[_0x2ed93b(0x5df)],_0x28b784=this['_docSkeletonManagerService'][_0x2ed93b(0x2a5)](),_0x186b1b=this['_cursors'][_0x2ed93b(0x31d)](_0x4c1c68=>new Ft(_0x4c1c68,_0x5ed642,_0x28b784,_0x3842a5));this[_0x2ed93b(0x42b)]=_0x186b1b;}[_0x543e24(0x5c3)](){const _0x56678d=_0x543e24;this['_cursorShapes'][_0x56678d(0x3f5)](_0x5b69ff=>_0x5b69ff[_0x56678d(0x5db)]()),this[_0x56678d(0x42b)]=[];}[_0x543e24(0x383)](){const _0x50d9f7=_0x543e24,_0x523899=[J['SetDocZoomRatioOperation']['id']];this[_0x50d9f7(0x419)](this[_0x50d9f7(0x4cb)][_0x50d9f7(0x24e)](_0x203b05=>{const _0x880b93=_0x50d9f7;_0x523899[_0x880b93(0x32b)](_0x203b05['id'])&&_0x203b05[_0x880b93(0x256)]['unitId']===this['_context'][_0x880b93(0x32c)]&&this[_0x880b93(0x63c)]();}));}[_0x543e24(0x3c8)](){const _0x3b230c=_0x543e24;this[_0x3b230c(0x419)](a[_0x3b230c(0x465)](this[_0x3b230c(0x5df)][_0x3b230c(0x246)][_0x3b230c(0x2fe)])[_0x3b230c(0x449)](V['filter'](_0x4750bc=>_0x4750bc['type']===K[_0x3b230c(0x22f)]['resize']),V['throttleTime'](0x10))[_0x3b230c(0x397)](()=>{const _0x534a1a=_0x3b230c;this[_0x534a1a(0x63c)]();}));}};gt=Cs([je(0x1,a[_0x543e24(0x432)](Ie['DocSkeletonManagerService'])),je(0x2,a[_0x543e24(0x432)](De)),je(0x3,a['ICommandService']),je(0x4,a[_0x543e24(0x432)](a[_0x543e24(0x4d1)]))],gt);const Es=0x1,bs=1.5;class Ii extends K[_0x543e24(0x238)]{constructor(_0x23cc9c,_0x2d1323){const _0x298331=_0x543e24;super(_0x23cc9c,_0x2d1323),I(this,'_color'),I(this,'_hovered',!0x1),I(this,_0x298331(0x399)),I(this,_0x298331(0x5f1),''),I(this,_0x298331(0x611),_0x298331(0x660)),I(this,_0x298331(0x564)),(_0x2d1323&&this[_0x298331(0x60b)](_0x2d1323),this[_0x298331(0x3aa)][_0x298331(0x2a0)](()=>this[_0x298331(0x60b)]({'hovered':!0x0})),this[_0x298331(0x1fe)][_0x298331(0x2a0)](()=>this[_0x298331(0x60b)]({'hovered':!0x1})));}[_0x543e24(0x60b)](_0x3552f6){const _0x1f4029=_0x543e24;var _0x2904b4,_0x3ed0e0,_0x498208,_0x3fdaa7,_0x3a9cd8,_0x1cb0b6;this[_0x1f4029(0x3b1)]=(_0x2904b4=_0x3552f6['color'])!=null?_0x2904b4:this['_color'],this['_hovered']=(_0x3ed0e0=_0x3552f6[_0x1f4029(0x44f)])!=null?_0x3ed0e0:this[_0x1f4029(0x42d)],this[_0x1f4029(0x399)]=(_0x498208=_0x3552f6[_0x1f4029(0x65d)])!=null?_0x498208:this['_range'],this[_0x1f4029(0x5f1)]=(_0x3fdaa7=_0x3552f6['name'])!=null?_0x3fdaa7:this['_name'],this[_0x1f4029(0x611)]=(_0x3a9cd8=_0x3552f6[_0x1f4029(0x599)])!=null?_0x3a9cd8:this[_0x1f4029(0x611)],this[_0x1f4029(0x564)]=(_0x1cb0b6=_0x3552f6[_0x1f4029(0x4bb)])!=null?_0x1cb0b6:this[_0x1f4029(0x564)],this[_0x1f4029(0x243)]({'width':_0x3552f6[_0x1f4029(0x574)],'height':_0x3552f6[_0x1f4029(0x31f)]});}[_0x543e24(0x3cc)](_0x543be9){const _0x2e3d6d=_0x543e24,{row:_0x327db6,column:_0x583709}=_0x543be9;if(_0x327db6>=this['_range'][_0x2e3d6d(0x628)]&&_0x327db6<=this['_range'][_0x2e3d6d(0x620)]&&_0x583709>=this[_0x2e3d6d(0x399)][_0x2e3d6d(0x3dd)]&&_0x583709<=this[_0x2e3d6d(0x399)][_0x2e3d6d(0x3cb)]){this[_0x2e3d6d(0x60b)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x5c0e81){return!0x1;}[_0x543e24(0x2ea)](_0x54eb05){const _0x3c4104=_0x543e24;K[_0x3c4104(0x335)][_0x3c4104(0x1ff)](_0x54eb05,{'width':this[_0x3c4104(0x574)],'height':this[_0x3c4104(0x31f)],'strokeWidth':bs,'stroke':this[_0x3c4104(0x3b1)],'evented':!0x1,'fill':this[_0x3c4104(0x564)]}),this['_hovered']&&(_0x54eb05[_0x3c4104(0x2fb)](),_0x54eb05[_0x3c4104(0x5a6)](0x1,0x0,0x0,0x1,this[_0x3c4104(0x574)],this['_labelPosition']==='bottom'?0x0:-Le),Xe['drawWith'](_0x54eb05,{'text':this[_0x3c4104(0x5f1)],'color':this[_0x3c4104(0x3b1)]}),_0x54eb05[_0x3c4104(0x3a8)]());}}var Ts=Object[_0x543e24(0x685)],Rs=Object['getOwnPropertyDescriptor'],ys=(_0x42193f,_0x201974,_0x5a7b57,_0x5cfb65)=>{const _0x6f1c68=_0x543e24;for(var _0x53ab9b=_0x5cfb65>0x1?void 0x0:_0x5cfb65?Rs(_0x201974,_0x5a7b57):_0x201974,_0x352dce=_0x42193f[_0x6f1c68(0x65c)]-0x1,_0x346160;_0x352dce>=0x0;_0x352dce--)(_0x346160=_0x42193f[_0x352dce])&&(_0x53ab9b=(_0x5cfb65?_0x346160(_0x201974,_0x5a7b57,_0x53ab9b):_0x346160(_0x53ab9b))||_0x53ab9b);return _0x5cfb65&&_0x53ab9b&&Ts(_0x201974,_0x5a7b57,_0x53ab9b),_0x53ab9b;},at=(_0x507342,_0x1cbee9)=>(_0xff84b2,_0x5250f4)=>_0x1cbee9(_0xff84b2,_0x5250f4,_0x507342);const Os=0x1389;let It=class extends a[_0x543e24(0x49e)]{constructor(_0x5efd1d,_0x1190d5,_0x300f6f,_0x4f0cd2){const _0x321e6d=_0x543e24;super(),I(this,'_cursors',new Set()),I(this,_0x321e6d(0x342),null),(this[_0x321e6d(0x5df)]=_0x5efd1d,this[_0x321e6d(0x5d9)]=_0x1190d5,this[_0x321e6d(0x3b6)]=_0x300f6f,this[_0x321e6d(0x560)]=_0x4f0cd2,this[_0x321e6d(0x69b)]());}[_0x543e24(0x69b)](){const _0x5c5dfb=_0x543e24;this[_0x5c5dfb(0x5d9)][_0x5c5dfb(0x5fd)][_0x5c5dfb(0x449)](V[_0x5c5dfb(0x49b)](this[_0x5c5dfb(0x21e)]),V[_0x5c5dfb(0x581)](_0x35fc8f=>{const _0xd1fd69=_0x5c5dfb;if(_0x35fc8f){const _0x868e92=_0x35fc8f[_0xd1fd69(0x1dd)];return A[_0xd1fd69(0x4d0)](this[_0xd1fd69(0x3b6)][_0xd1fd69(0x2bf)](this[_0xd1fd69(0x5df)][_0xd1fd69(0x32c)]),this['_themeService'][_0xd1fd69(0x265)])[_0xd1fd69(0x449)](V['map'](([_0x5d404c,_0xbc064])=>{const _0x1eb4b2=_0xd1fd69,_0x21f907=new Map();return _0x5d404c[_0x1eb4b2(0x3f5)]((_0x122fb2,_0x35c5f2)=>{const _0x18c893=_0x1eb4b2;if(_0x122fb2[_0x18c893(0x616)]===_0x868e92){const _0x5a94bf={..._0x122fb2};_0x5a94bf[_0x18c893(0x285)]=_0xbc064[_0x122fb2['color']],_0x21f907[_0x18c893(0x4b5)](_0x35c5f2,_0x5a94bf);}}),{'skeleton':_0x35fc8f,'cursors':_0x21f907};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x5c5dfb(0x397)](({skeleton:_0x394108,cursors:_0x296ac7})=>{const _0x5ab653=_0x5c5dfb;this[_0x5ab653(0x5c3)](),_0x394108&&this[_0x5ab653(0x467)](_0x394108,_0x296ac7);}),this[_0x5c5dfb(0x5d9)][_0x5c5dfb(0x5fd)]['subscribe'](_0x1e7ab7=>{const _0x5ea3b2=_0x5c5dfb;if(_0x1e7ab7==null)return;const {skeleton:_0x3e73b3}=_0x1e7ab7,{scene:_0x2e4488}=this['_context'];_0x2e4488[_0x5ea3b2(0x1f0)][_0x5ea3b2(0x2a0)](a['debounce'](_0x117039=>{const _0x2a139d=_0x5ea3b2;var _0x251142,_0x2bf288;const {offsetX:_0x229884,offsetY:_0x129796}=_0x117039,{x:_0x38b063,y:_0x35b0c5}=_0x2e4488[_0x2a139d(0x646)](K['Vector2'][_0x2a139d(0x1ec)]([_0x229884,_0x129796])),{scaleX:_0x1a5c72,scaleY:_0x49f40d}=_0x2e4488[_0x2a139d(0x503)](),_0xcd9c9d=_0x2e4488[_0x2a139d(0x5b4)](ye[_0x2a139d(0x1f3)]['VIEW_MAIN']),_0x36c13d=_0x2e4488[_0x2a139d(0x570)](K[_0x2a139d(0x5a0)][_0x2a139d(0x1ec)]([_0x38b063,_0x35b0c5]),_0xcd9c9d),_0x5eef26=_0x3e73b3[_0x2a139d(0x385)](_0x229884,_0x129796,_0x1a5c72,_0x49f40d,_0x36c13d);((_0x251142=this[_0x2a139d(0x342)])==null?void 0x0:_0x251142[_0x2a139d(0x3bb)])===_0x5eef26['column']&&((_0x2bf288=this['_lastPointer'])==null?void 0x0:_0x2bf288[_0x2a139d(0x29f)])===_0x5eef26['row']||this[_0x2a139d(0x2be)][_0x2a139d(0x3f5)](_0x44fcc2=>{const _0x388b9e=_0x2a139d;_0x44fcc2[_0x388b9e(0x3cc)](_0x5eef26);});},0x64));});}[_0x543e24(0x467)](_0x542438,_0x180ddb){const _0x135855=_0x543e24;var _0x4bed25;const _0x1904d1=(_0x4bed25=this[_0x135855(0x5d9)][_0x135855(0x557)]())==null?void 0x0:_0x4bed25[_0x135855(0x47b)];if(!_0x1904d1)return;const _0x4db6b3=this[_0x135855(0x330)]();if(!_0x4db6b3)return;this[_0x135855(0x2be)]['forEach'](_0x5d8d3d=>{const _0x36aac2=_0x135855;_0x5d8d3d[_0x36aac2(0x3e7)]();});const {scene:_0x14c9f6}=_0x4db6b3,_0x7a0e4b=Ds(Array[_0x135855(0x28f)](_0x180ddb[_0x135855(0x2e6)]()))[_0x135855(0x31d)](_0x35efcb=>{const _0x3e2f83=_0x135855,{color:_0x3b45d7,range:_0x2ddd29,name:_0x3f109a,selection:_0x357c6f,sheetID:_0x262aeb}=_0x35efcb,{startColumn:_0x18a878,startRow:_0x5bb1b8,endColumn:_0x343bfb,endRow:_0x250dea}=_0x2ddd29,_0x5337aa=ye[_0x3e2f83(0x358)](_0x5bb1b8,_0x18a878,_0x14c9f6,_0x1904d1),_0x46c6bf=ye[_0x3e2f83(0x358)](_0x250dea,_0x343bfb,_0x14c9f6,_0x1904d1),{columnHeaderHeightAndMarginTop:_0x3d08b6}=_0x1904d1,{startX:_0x5aa1b4,startY:_0x55fb7f}=_0x5337aa,{endX:_0x28faa6,endY:_0x1bda5e}=_0x46c6bf,_0x4d3412=_0x28faa6-_0x5aa1b4,_0x21f0ec=_0x1bda5e-_0x55fb7f,_0xb0d089={'labelPosition':_0x55fb7f-_0x3d08b6>=Le?_0x3e2f83(0x660):_0x3e2f83(0x5ee),'sheetID':_0x262aeb,'range':_0x2ddd29,'color':_0x3b45d7,'name':_0x3f109a,'selection':_0x357c6f,'left':_0x5aa1b4,'top':_0x55fb7f,'width':_0x4d3412,'height':_0x21f0ec,'evented':!0x1,'zIndex':Os};return new Ii(_0x3f109a,_0xb0d089);});_0x14c9f6['addObjects'](_0x7a0e4b,Es),this[_0x135855(0x2be)]=new Set(_0x7a0e4b);}[_0x543e24(0x5c3)](){const _0x5d6c1b=_0x543e24;var _0x49b483;(_0x49b483=this['_cursors'])==null||_0x49b483['forEach'](_0x51f148=>_0x51f148[_0x5d6c1b(0x5db)]());}[_0x543e24(0x330)](){const _0x38cebe=_0x543e24;return ye[_0x38cebe(0x4a6)](this['_context'][_0x38cebe(0x3f4)],this[_0x38cebe(0x5df)]);}};It=ys([at(0x1,a[_0x543e24(0x432)](ye[_0x543e24(0x2af)])),at(0x2,a[_0x543e24(0x432)](De)),at(0x3,a['Inject'](a[_0x543e24(0x4d1)]))],It);function Ds(_0x51382e){const _0x166697=_0x543e24,_0x5901d6=new Map();return _0x51382e[_0x166697(0x3f5)](_0x57522b=>{const _0x5dd404=_0x166697;if(_0x5901d6[_0x5dd404(0x65f)](_0x57522b[_0x5dd404(0x512)])){const _0x32b2c6=_0x5901d6[_0x5dd404(0x5e6)](_0x57522b[_0x5dd404(0x512)]);_0x32b2c6[_0x5dd404(0x36f)]+=',\x20'+_0x57522b[_0x5dd404(0x36f)];}else _0x5901d6[_0x5dd404(0x4b5)](_0x57522b['selection'],_0x57522b);}),Array[_0x166697(0x28f)](_0x5901d6[_0x166697(0x2e6)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x153672){const _0x575af2=_0x543e24;return _0x153672&&_0x153672[_0x575af2(0x208)]&&Object['prototype']['hasOwnProperty'][_0x575af2(0x353)](_0x153672,'default')?_0x153672[_0x575af2(0x471)]:_0x153672;}var Ci={'exports':{}},Je={},Ps=ae,ws=Symbol[_0x543e24(0x4eb)]('react.element'),Us=Symbol[_0x543e24(0x4eb)]('react.fragment'),Ms=Object['prototype']['hasOwnProperty'],As=Ps[_0x543e24(0x53f)]['ReactCurrentOwner'],Ns={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function Ei(_0xfc92d2,_0x3653f8,_0x2482cc){const _0x143691=_0x543e24;var _0xda7cd1,_0x2c8c39={},_0x25531d=null,_0x35fa5d=null;_0x2482cc!==void 0x0&&(_0x25531d=''+_0x2482cc),_0x3653f8[_0x143691(0x5a1)]!==void 0x0&&(_0x25531d=''+_0x3653f8[_0x143691(0x5a1)]),_0x3653f8[_0x143691(0x4b1)]!==void 0x0&&(_0x35fa5d=_0x3653f8['ref']);for(_0xda7cd1 in _0x3653f8)Ms['call'](_0x3653f8,_0xda7cd1)&&!Ns[_0x143691(0x2d4)](_0xda7cd1)&&(_0x2c8c39[_0xda7cd1]=_0x3653f8[_0xda7cd1]);if(_0xfc92d2&&_0xfc92d2[_0x143691(0x517)]){for(_0xda7cd1 in(_0x3653f8=_0xfc92d2[_0x143691(0x517)],_0x3653f8))_0x2c8c39[_0xda7cd1]===void 0x0&&(_0x2c8c39[_0xda7cd1]=_0x3653f8[_0xda7cd1]);}return{'$$typeof':ws,'type':_0xfc92d2,'key':_0x25531d,'ref':_0x35fa5d,'props':_0x2c8c39,'_owner':As[_0x143691(0x47e)]};}Je[_0x543e24(0x51e)]=Us,Je[_0x543e24(0x631)]=Ei,Je[_0x543e24(0x227)]=Ei,Ci[_0x543e24(0x682)]=Je;var ge=Ci[_0x543e24(0x682)],ee=function(){const _0x5adb2f=_0x543e24;return ee=Object[_0x5adb2f(0x4ae)]||function(_0x11cc7e){const _0x41dfb1=_0x5adb2f;for(var _0xf123e3,_0x2b473b=0x1,_0x204f67=arguments['length'];_0x2b473b<_0x204f67;_0x2b473b++){_0xf123e3=arguments[_0x2b473b];for(var _0x2ba161 in _0xf123e3)Object[_0x41dfb1(0x20a)][_0x41dfb1(0x2d4)][_0x41dfb1(0x353)](_0xf123e3,_0x2ba161)&&(_0x11cc7e[_0x2ba161]=_0xf123e3[_0x2ba161]);}return _0x11cc7e;},ee[_0x5adb2f(0x3b2)](this,arguments);},Ls=function(_0x4cd27a,_0x42bcb5){const _0x4ba2af=_0x543e24;var _0x21ef66={};for(var _0x4b3df6 in _0x4cd27a)Object[_0x4ba2af(0x20a)]['hasOwnProperty']['call'](_0x4cd27a,_0x4b3df6)&&_0x42bcb5[_0x4ba2af(0x636)](_0x4b3df6)<0x0&&(_0x21ef66[_0x4b3df6]=_0x4cd27a[_0x4b3df6]);if(_0x4cd27a!=null&&typeof Object['getOwnPropertySymbols']==_0x4ba2af(0x3ae)){for(var _0x47fece=0x0,_0x4b3df6=Object[_0x4ba2af(0x546)](_0x4cd27a);_0x47fece<_0x4b3df6['length'];_0x47fece++)_0x42bcb5[_0x4ba2af(0x636)](_0x4b3df6[_0x47fece])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x4cd27a,_0x4b3df6[_0x47fece])&&(_0x21ef66[_0x4b3df6[_0x47fece]]=_0x4cd27a[_0x4b3df6[_0x47fece]]);}return _0x21ef66;},Pt=ae[_0x543e24(0x4f0)](function(_0x3e5907,_0x9f0171){const _0x563542=_0x543e24;var _0x26c4fb=_0x3e5907[_0x563542(0x286)],_0x1a2f00=_0x3e5907['id'],_0x35325e=_0x3e5907[_0x563542(0x314)],_0x1eacc1=_0x3e5907[_0x563542(0x25c)],_0xdd802a=Ls(_0x3e5907,[_0x563542(0x286),'id','className','extend']),_0x2d6141=_0x563542(0x254)[_0x563542(0x307)](_0x1a2f00,'\x20')[_0x563542(0x307)](_0x35325e||'')['trim'](),_0x2ec025=ae['useRef']('_'['concat']($s()));return bi(_0x26c4fb,''[_0x563542(0x307)](_0x1a2f00),{'defIds':_0x26c4fb[_0x563542(0x3d2)],'idSuffix':_0x2ec025['current']},ee({'ref':_0x9f0171,'className':_0x2d6141},_0xdd802a),_0x1eacc1);});function bi(_0x1390ba,_0x3522f2,_0x28a83a,_0x43df50,_0x48e347){const _0x4a5071=_0x543e24;return ae[_0x4a5071(0x4a9)](_0x1390ba[_0x4a5071(0x562)],ee(ee({'key':_0x3522f2},xs(_0x1390ba,_0x28a83a,_0x48e347)),_0x43df50),(js(_0x1390ba,_0x28a83a)['children']||[])[_0x4a5071(0x31d)](function(_0x89c74e,_0x206b45){const _0xf6ebd4=_0x4a5071;return bi(_0x89c74e,''[_0xf6ebd4(0x307)](_0x3522f2,'-')[_0xf6ebd4(0x307)](_0x1390ba[_0xf6ebd4(0x562)],'-')[_0xf6ebd4(0x307)](_0x206b45),_0x28a83a,void 0x0,_0x48e347);}));}function xs(_0x800271,_0x4e5845,_0x3535f5){const _0x52b1e7=_0x543e24;var _0x261dc8=ee({},_0x800271['attrs']);_0x3535f5!=null&&_0x3535f5[_0x52b1e7(0x3a0)]&&_0x261dc8[_0x52b1e7(0x540)]===_0x52b1e7(0x3a0)&&(_0x261dc8['fill']=_0x3535f5[_0x52b1e7(0x3a0)]);var _0x6ce2dd=_0x4e5845[_0x52b1e7(0x3d2)];return!_0x6ce2dd||_0x6ce2dd[_0x52b1e7(0x65c)]===0x0||(_0x800271[_0x52b1e7(0x562)]===_0x52b1e7(0x5aa)&&_0x261dc8['xlink:href']&&(_0x261dc8[_0x52b1e7(0x459)]=_0x261dc8[_0x52b1e7(0x459)]+_0x4e5845[_0x52b1e7(0x3f9)]),Object[_0x52b1e7(0x41b)](_0x261dc8)[_0x52b1e7(0x3f5)](function(_0x265a8b){const _0x122ea2=_0x52b1e7;var _0x579610=_0x265a8b[0x0],_0x3cbbe8=_0x265a8b[0x1];typeof _0x3cbbe8==_0x122ea2(0x3fe)&&(_0x261dc8[_0x579610]=_0x3cbbe8['replace'](/url\(#(.*)\)/,_0x122ea2(0x493)[_0x122ea2(0x307)](_0x4e5845['idSuffix'],')')));})),_0x261dc8;}function js(_0x1002ff,_0x20aaaa){const _0x4016f5=_0x543e24;var _0x3d150e,_0x11c00b=_0x20aaaa['defIds'];return!_0x11c00b||_0x11c00b[_0x4016f5(0x65c)]===0x0?_0x1002ff:_0x1002ff['tag']===_0x4016f5(0x21a)&&(!((_0x3d150e=_0x1002ff[_0x4016f5(0x538)])===null||_0x3d150e===void 0x0)&&_0x3d150e[_0x4016f5(0x65c)])?ee(ee({},_0x1002ff),{'children':_0x1002ff[_0x4016f5(0x538)][_0x4016f5(0x31d)](function(_0x39e88c){const _0x34f1df=_0x4016f5;return typeof _0x39e88c[_0x34f1df(0x57a)]['id']==_0x34f1df(0x3fe)&&_0x11c00b&&_0x11c00b['indexOf'](_0x39e88c[_0x34f1df(0x57a)]['id'])>-0x1?ee(ee({},_0x39e88c),{'attrs':ee(ee({},_0x39e88c[_0x34f1df(0x57a)]),{'id':_0x39e88c['attrs']['id']+_0x20aaaa[_0x34f1df(0x3f9)]})}):_0x39e88c;})}):_0x1002ff;}function $s(){const _0x1fba1b=_0x543e24;return Math[_0x1fba1b(0x68c)]()[_0x1fba1b(0x5c8)](0x24)[_0x1fba1b(0x387)](0x2,0x8);}Pt[_0x543e24(0x536)]=_0x543e24(0x5a4);var Hs={'tag':_0x543e24(0x3b0),'attrs':{'fill':_0x543e24(0x56d),'viewBox':_0x543e24(0x55c),'width':_0x543e24(0x4cd),'height':_0x543e24(0x4cd)},'children':[{'tag':'g','attrs':{'clipPath':_0x543e24(0x52b)},'children':[{'tag':_0x543e24(0x64e),'attrs':{'stroke':_0x543e24(0x1ef),'d':_0x543e24(0x2cd),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x543e24(0x1eb),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x543e24(0x64e),'attrs':{'fill':_0x543e24(0x308),'d':_0x543e24(0x3a5)}}]}]}],'defIds':[_0x543e24(0x4ca)]},Ti=ae[_0x543e24(0x4f0)](function(_0x1dcf2d,_0x46a048){const _0x34762d=_0x543e24;return ae[_0x34762d(0x4a9)](Pt,Object[_0x34762d(0x4ae)]({},_0x1dcf2d,{'id':_0x34762d(0x438),'ref':_0x46a048,'icon':Hs}));});Ti[_0x543e24(0x536)]=_0x543e24(0x249);var Bs={'tag':_0x543e24(0x3b0),'attrs':{'fill':_0x543e24(0x56d),'viewBox':'0\x200\x2017\x2016','width':_0x543e24(0x4cd),'height':_0x543e24(0x4cd)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x543e24(0x64e),'attrs':{'stroke':_0x543e24(0x1ef),'d':_0x543e24(0x644),'strokeLinecap':_0x543e24(0x3f7),'strokeLinejoin':_0x543e24(0x3f7),'strokeWidth':1.2}}]},{'tag':_0x543e24(0x21a),'attrs':{},'children':[{'tag':_0x543e24(0x1eb),'attrs':{'id':_0x543e24(0x5ce)},'children':[{'tag':_0x543e24(0x64e),'attrs':{'fill':_0x543e24(0x308),'d':_0x543e24(0x3a5),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},Ri=ae[_0x543e24(0x4f0)](function(_0x4222ca,_0x34030c){const _0x1d63f4=_0x543e24;return ae[_0x1d63f4(0x4a9)](Pt,Object[_0x1d63f4(0x4ae)]({},_0x4222ca,{'id':_0x1d63f4(0x359),'ref':_0x34030c,'icon':Bs}));});Ri[_0x543e24(0x536)]='OnLineSingle';function yi(_0x71315c){const _0x3983e1=_0x543e24;var _0x1ae714,_0x95b103,_0x5cc2e0='';if(typeof _0x71315c==_0x3983e1(0x3fe)||typeof _0x71315c==_0x3983e1(0x53e))_0x5cc2e0+=_0x71315c;else{if(typeof _0x71315c==_0x3983e1(0x4a7)){if(Array[_0x3983e1(0x343)](_0x71315c)){var _0x5b35c7=_0x71315c[_0x3983e1(0x65c)];for(_0x1ae714=0x0;_0x1ae714<_0x5b35c7;_0x1ae714++)_0x71315c[_0x1ae714]&&(_0x95b103=yi(_0x71315c[_0x1ae714]))&&(_0x5cc2e0&&(_0x5cc2e0+='\x20'),_0x5cc2e0+=_0x95b103);}else{for(_0x95b103 in _0x71315c)_0x71315c[_0x95b103]&&(_0x5cc2e0&&(_0x5cc2e0+='\x20'),_0x5cc2e0+=_0x95b103);}}}return _0x5cc2e0;}function ks(){const _0x3f1b95=_0x543e24;for(var _0x385b37,_0x227839,_0x16f8f5=0x0,_0x4c2562='',_0x11076c=arguments[_0x3f1b95(0x65c)];_0x16f8f5<_0x11076c;_0x16f8f5++)(_0x385b37=arguments[_0x16f8f5])&&(_0x227839=yi(_0x385b37))&&(_0x4c2562&&(_0x4c2562+='\x20'),_0x4c2562+=_0x227839);return _0x4c2562;}const Ws=_0x543e24(0x558),Fs=_0x543e24(0x1ed),Vs='univer-online-status',Gs=_0x543e24(0x331),Ys=_0x543e24(0x559),Me={'onlineStatusIcon':Ws,'onlineStatusTitle':Fs,'onlineStatus':Vs,'online':Gs,'offline':Ys};function Ks(_0x33bbe8){const _0x5a67ad=_0x543e24;switch(_0x33bbe8){case q[_0x5a67ad(0x677)]:return _0x5a67ad(0x482);case q[_0x5a67ad(0x69a)]:return'collabStatus.conflict';case q[_0x5a67ad(0x1da)]:return'collabStatus.fetchMiss';case q[_0x5a67ad(0x33f)]:return _0x5a67ad(0x547);case q[_0x5a67ad(0x2c5)]:case q['AWAITING_WITH_PENDING']:return _0x5a67ad(0x223);case q[_0x5a67ad(0x32a)]:case q[_0x5a67ad(0x4ac)]:return _0x5a67ad(0x62e);}}function Oi(_0x4a719e){const _0x281a6c=_0x543e24,{status$:_0x124590}=_0x4a719e,_0xcdf517=te['useObservable'](_0x124590,q[_0x281a6c(0x33f)]),_0x51bcf2=a[_0x281a6c(0x673)](a[_0x281a6c(0x264)]),_0x128dec=a['useDependency'](exports[_0x281a6c(0x210)]),_0x1b4657=_0xcdf517!==q[_0x281a6c(0x677)],_0x307136=_0x51bcf2['t'](Ks(_0xcdf517)),_0x2a904b=ks(Me['onlineStatus'],{[Me['online']]:_0x1b4657,[Me[_0x281a6c(0x64a)]]:!_0x1b4657}),_0x44bcf1=_0x1b4657?ge[_0x281a6c(0x631)](Ri,{}):ge['jsx'](Ti,{}),_0x1cc6cb=ae['useCallback'](()=>{const _0x5ea2dd=_0x281a6c;_0x1b4657||_0x128dec[_0x5ea2dd(0x642)]();},[_0x1b4657,_0x128dec]);function _0x27521b(){const _0x4bf730=_0x281a6c;return ge[_0x4bf730(0x227)]('div',{'className':_0x2a904b,'onClick':_0x1cc6cb,'children':[ge[_0x4bf730(0x631)](_0x4bf730(0x4d2),{'className':Me[_0x4bf730(0x296)],'children':_0x44bcf1}),ge[_0x4bf730(0x631)](_0x4bf730(0x4d2),{'className':Me[_0x4bf730(0x5ef)],'children':_0x307136})]});}return _0x1b4657?_0x27521b():ge[_0x281a6c(0x631)](Ce['Tooltip'],{'title':_0x51bcf2['t'](_0x281a6c(0x299)),'children':_0x27521b()});}var qs=Object[_0x543e24(0x685)],zs=Object[_0x543e24(0x3e8)],Xs=(_0x3d4749,_0x2205ab,_0x2436d8,_0xe511fb)=>{const _0x12d103=_0x543e24;for(var _0x241abf=_0xe511fb>0x1?void 0x0:_0xe511fb?zs(_0x2205ab,_0x2436d8):_0x2205ab,_0x5a1177=_0x3d4749[_0x12d103(0x65c)]-0x1,_0x27c4e5;_0x5a1177>=0x0;_0x5a1177--)(_0x27c4e5=_0x3d4749[_0x5a1177])&&(_0x241abf=(_0xe511fb?_0x27c4e5(_0x2205ab,_0x2436d8,_0x241abf):_0x27c4e5(_0x241abf))||_0x241abf);return _0xe511fb&&_0x241abf&&qs(_0x2205ab,_0x2436d8,_0x241abf),_0x241abf;},$e=(_0x466802,_0x2a6267)=>(_0x4d5534,_0x37c11e)=>_0x2a6267(_0x4d5534,_0x37c11e,_0x466802);exports[_0x543e24(0x453)]=class extends a['Disposable']{constructor(_0x5de425,_0xfa2ccf,_0x2057a4,_0x1e4652){const _0x1e63e7=_0x543e24;super(),I(this,_0x1e63e7(0x41a),new A[(_0x1e63e7(0x421))](q[_0x1e63e7(0x33f)])),(this['_univerInstanceService']=_0x5de425,this[_0x1e63e7(0x655)]=_0xfa2ccf,this[_0x1e63e7(0x5b0)]=_0x2057a4,this[_0x1e63e7(0x569)]=_0x1e4652,this[_0x1e63e7(0x656)](),this[_0x1e63e7(0x4a2)]());}[_0x543e24(0x4a2)](){const _0x4dfad0=_0x543e24;this[_0x4dfad0(0x419)](this[_0x4dfad0(0x47c)]['focused$'][_0x4dfad0(0x449)](A[_0x4dfad0(0x581)](()=>{const _0x59d3cf=_0x4dfad0,_0x153a2d=this[_0x59d3cf(0x47c)][_0x59d3cf(0x328)]();return _0x153a2d?this[_0x59d3cf(0x569)][_0x59d3cf(0x320)](_0x153a2d[_0x59d3cf(0x346)]()):A['of'](null);}),A[_0x4dfad0(0x581)](_0x3cbaab=>_0x3cbaab?_0x3cbaab[_0x4dfad0(0x46e)]:A['of'](q[_0x4dfad0(0x33f)])))[_0x4dfad0(0x397)](_0x28cc45=>{const _0x4880e4=_0x4dfad0;this[_0x4880e4(0x41a)][_0x4880e4(0x218)](_0x28cc45);}));}[_0x543e24(0x656)](){const _0x27f0b1=_0x543e24;this[_0x27f0b1(0x419)](this['_uiPartsService'][_0x27f0b1(0x51c)](te[_0x27f0b1(0x63d)][_0x27f0b1(0x3d8)],()=>a[_0x27f0b1(0x64d)](Js({'status$':this['_status$'][_0x27f0b1(0x1ea)]()}),this[_0x27f0b1(0x5b0)])));}},exports[_0x543e24(0x453)]=Xs([$e(0x0,a[_0x543e24(0x316)]),$e(0x1,te[_0x543e24(0x303)]),$e(0x2,a['Inject'](a[_0x543e24(0x2e7)])),$e(0x3,a[_0x543e24(0x432)](exports[_0x543e24(0x407)]))],exports[_0x543e24(0x453)]);function Js(_0x22a99f){const {status$:_0x4e9469}=_0x22a99f;return function(){const _0x503557=_0x4acf;return ge[_0x503557(0x631)](Oi,{'status$':_0x4e9469});};}const wt=a[_0x543e24(0x364)](_0x543e24(0x3d9));var Zs=Object['defineProperty'],Qs=Object[_0x543e24(0x3e8)],er=(_0x44050e,_0x311bfb,_0x3ba84d,_0x385333)=>{for(var _0x317b9f=_0x385333>0x1?void 0x0:_0x385333?Qs(_0x311bfb,_0x3ba84d):_0x311bfb,_0x40c642=_0x44050e['length']-0x1,_0x39eb94;_0x40c642>=0x0;_0x40c642--)(_0x39eb94=_0x44050e[_0x40c642])&&(_0x317b9f=(_0x385333?_0x39eb94(_0x311bfb,_0x3ba84d,_0x317b9f):_0x39eb94(_0x317b9f))||_0x317b9f);return _0x385333&&_0x317b9f&&Zs(_0x311bfb,_0x3ba84d,_0x317b9f),_0x317b9f;},Re=(_0x1b509e,_0x4fd890)=>(_0x42fb46,_0x24cc5d)=>_0x4fd890(_0x42fb46,_0x24cc5d,_0x1b509e);exports[_0x543e24(0x5a3)]=class extends a[_0x543e24(0x49e)]{constructor(_0x217e13,_0x172692,_0x43cda8,_0x14fc43,_0xa52a63,_0x2e4335){const _0x314f06=_0x543e24;super(),this[_0x314f06(0x62f)]=_0x217e13,this[_0x314f06(0x5d8)]=_0x172692,this[_0x314f06(0x4cb)]=_0x43cda8,this[_0x314f06(0x58a)]=_0x14fc43,this[_0x314f06(0x4d6)]=_0xa52a63,_0x2e4335?_0x2e4335==null||_0x2e4335[_0x314f06(0x544)]()['then'](()=>this[_0x314f06(0x69b)]()):(this[_0x314f06(0x5d8)][_0x314f06(0x2cb)]('[DataLoaderController]',_0x314f06(0x3a9)),this['_init']());}async[_0x543e24(0x69b)](){const _0x226198=_0x543e24,_0x3040a6=this[_0x226198(0x62f)][_0x226198(0x2fc)](_0x226198(0x3f4)),_0x410cc1=this[_0x226198(0x62f)]['getParam'](_0x226198(0x267));if(!_0x3040a6||!_0x410cc1){this[_0x226198(0x5d8)][_0x226198(0x2cb)]('[DataLoaderController]',_0x226198(0x2ad));return;}switch(Number(_0x410cc1)){case ne[_0x226198(0x34c)]:{const _0x9bb247=await this[_0x226198(0x4df)](_0x3040a6);this['_setupSubUnitSync'](_0x9bb247);break;}case ne['UNIVER_DOC']:{await this[_0x226198(0x508)](_0x3040a6);break;}default:{this[_0x226198(0x5d8)]['error'](_0x226198(0x24c),_0x226198(0x22e));break;}}}async[_0x543e24(0x5f0)](_0x55af98){const _0xad2e29=_0x543e24;await this[_0xad2e29(0x58b)](_0x55af98),_0x55af98[_0xad2e29(0x1f4)][_0xad2e29(0x449)](A[_0xad2e29(0x49b)](this['dispose$']))[_0xad2e29(0x397)](_0x10098c=>{const _0x57fafe=_0xad2e29;_0x10098c&&this[_0x57fafe(0x561)](_0x10098c);}),this[_0xad2e29(0x62f)][_0xad2e29(0x45b)]['pipe'](A[_0xad2e29(0x49b)](this['dispose$']))[_0xad2e29(0x397)](()=>this[_0xad2e29(0x58b)](_0x55af98));}[_0x543e24(0x561)](_0x5e5e44,_0x5e03eb=!0x1){const _0x3560c8=_0x543e24,_0x594374=this[_0x3560c8(0x62f)][_0x3560c8(0x2fc)](_0x3560c8(0x271));_0x5e5e44[_0x3560c8(0x4a8)]()!==_0x594374&&this[_0x3560c8(0x62f)][_0x3560c8(0x481)](_0x3560c8(0x271),_0x5e5e44[_0x3560c8(0x4a8)](),_0x5e03eb);}async[_0x543e24(0x58b)](_0x272a47){const _0x2574d9=_0x543e24;var _0x5ad2de;const _0x4ae17c=this[_0x2574d9(0x62f)][_0x2574d9(0x2fc)](_0x2574d9(0x271));if(!_0x4ae17c||!_0x272a47[_0x2574d9(0x669)](_0x4ae17c)){const _0x3b5165=_0x272a47[_0x2574d9(0x3e0)]()[0x0],_0xdebd10=_0x272a47[_0x2574d9(0x669)](_0x3b5165);if(!_0xdebd10)return;this[_0x2574d9(0x561)](_0xdebd10,!0x0),await this[_0x2574d9(0x4cb)]['executeCommand'](k[_0x2574d9(0x56b)]['id'],{'unitId':_0x272a47[_0x2574d9(0x346)](),'subUnitId':_0x3b5165});return;}((_0x5ad2de=_0x272a47['getActiveSheet']())==null?void 0x0:_0x5ad2de[_0x2574d9(0x4a8)]())!==_0x4ae17c&&await this[_0x2574d9(0x4cb)]['executeCommand'](k[_0x2574d9(0x56b)]['id'],{'unitId':_0x272a47[_0x2574d9(0x346)](),'subUnitId':_0x4ae17c});}async['_loadSheet'](_0x54f2c9){const _0x46dd42=_0x543e24;let _0x29842c=0x0;const _0x223cc3=await this[_0x46dd42(0x58a)][_0x46dd42(0x398)](_0x54f2c9);return _0x223cc3&&(_0x223cc3[_0x46dd42(0x5b7)]||_0x223cc3[_0x46dd42(0x313)][_0x46dd42(0x65c)]!==0x0)&&(_0x29842c=_0x223cc3['rev']),_0x29842c===0x0&&this['_logService'][_0x46dd42(0x2cb)](_0x46dd42(0x24c),_0x46dd42(0x216)),this[_0x46dd42(0x4d6)]['loadSheet'](_0x54f2c9,_0x29842c);}async[_0x543e24(0x508)](_0x1395b8){const _0x4ded0b=_0x543e24;let _0x184171=0x0;const _0x5e2b84=await this['_localCacheService'][_0x4ded0b(0x398)](_0x1395b8);return _0x5e2b84&&(_0x5e2b84[_0x4ded0b(0x5b7)]||_0x5e2b84[_0x4ded0b(0x313)][_0x4ded0b(0x65c)]!==0x0)&&(_0x184171=_0x5e2b84[_0x4ded0b(0x590)]),_0x184171===0x0&&this[_0x4ded0b(0x5d8)]['debug'](_0x4ded0b(0x24c),_0x4ded0b(0x216)),this[_0x4ded0b(0x4d6)][_0x4ded0b(0x270)](_0x1395b8,_0x184171);}},exports[_0x543e24(0x5a3)]=er([Re(0x0,wt),Re(0x1,a[_0x543e24(0x488)]),Re(0x2,a[_0x543e24(0x323)]),Re(0x3,a[_0x543e24(0x432)](exports[_0x543e24(0x566)])),Re(0x4,a['Inject'](p['SnapshotService'])),Re(0x5,a[_0x543e24(0x3d6)](Bi[_0x543e24(0x29c)]))],exports[_0x543e24(0x5a3)]);var tr=Object[_0x543e24(0x685)],ir=Object[_0x543e24(0x3e8)],nr=(_0x2eea94,_0x42e85c,_0x50fe16,_0x178056)=>{for(var _0x5ccc52=_0x178056>0x1?void 0x0:_0x178056?ir(_0x42e85c,_0x50fe16):_0x42e85c,_0x4b0901=_0x2eea94['length']-0x1,_0x5ed20e;_0x4b0901>=0x0;_0x4b0901--)(_0x5ed20e=_0x2eea94[_0x4b0901])&&(_0x5ccc52=(_0x178056?_0x5ed20e(_0x42e85c,_0x50fe16,_0x5ccc52):_0x5ed20e(_0x5ccc52))||_0x5ccc52);return _0x178056&&_0x5ccc52&&tr(_0x42e85c,_0x50fe16,_0x5ccc52),_0x5ccc52;},Vt=(_0x35f0dc,_0x364ad0)=>(_0x55f49f,_0x403ffd)=>_0x364ad0(_0x55f49f,_0x403ffd,_0x35f0dc);const sr='DEFAULT_FILE_NAME',rr='Univer';let Ge=class extends a[_0x543e24(0x3f3)]{constructor(_0x2cdb6a,_0x5284c4){const _0x57db71=_0x543e24;super(),this[_0x57db71(0x47c)]=_0x2cdb6a,this[_0x57db71(0x518)]=_0x5284c4,this[_0x57db71(0x69b)]();}['_init'](){const _0x449f5a=_0x543e24;this[_0x449f5a(0x419)](this[_0x449f5a(0x47c)][_0x449f5a(0x45d)][_0x449f5a(0x397)](()=>{const _0x101f68=_0x449f5a;var _0x5326c9;const _0x3192a8=this['_univerInstanceService'][_0x101f68(0x328)]();let _0x343629=(_0x5326c9=this[_0x101f68(0x518)][_0x101f68(0x46d)](sr))!=null?_0x5326c9:rr;_0x3192a8 instanceof a[_0x101f68(0x1f2)]&&(_0x343629=_0x3192a8['name']),document[_0x101f68(0x63e)]=_0x343629;}));}};Ge=nr([Vt(0x0,a[_0x543e24(0x316)]),Vt(0x1,a[_0x543e24(0x693)])],Ge);var or=Object[_0x543e24(0x685)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x3a171f,_0x1a606c,_0x5ba36e,_0x5ec628)=>{const _0x80741c=_0x543e24;for(var _0x32d63a=_0x5ec628>0x1?void 0x0:_0x5ec628?ar(_0x1a606c,_0x5ba36e):_0x1a606c,_0x3e8e69=_0x3a171f[_0x80741c(0x65c)]-0x1,_0x54114f;_0x3e8e69>=0x0;_0x3e8e69--)(_0x54114f=_0x3a171f[_0x3e8e69])&&(_0x32d63a=(_0x5ec628?_0x54114f(_0x1a606c,_0x5ba36e,_0x32d63a):_0x54114f(_0x32d63a))||_0x32d63a);return _0x5ec628&&_0x32d63a&&or(_0x1a606c,_0x5ba36e,_0x32d63a),_0x32d63a;},ct=(_0x4aea44,_0x581c7d)=>(_0x3d455d,_0x57a5c7)=>_0x581c7d(_0x3d455d,_0x57a5c7,_0x4aea44);let Ye=class{constructor(_0x350e1d,_0x177a54,_0x675150){const _0x40302d=_0x543e24;this['_configService']=_0x350e1d,this[_0x40302d(0x2d6)]=_0x177a54,this[_0x40302d(0x360)]=_0x675150,this[_0x40302d(0x201)]();}[_0x543e24(0x201)](){const _0x4d8c2a=_0x543e24;this['_httpService'][_0x4d8c2a(0x52e)]({'priority':0x1,'interceptor':(_0x585e82,_0x361a5b)=>_0x361a5b(_0x585e82)[_0x4d8c2a(0x449)](A['concatMap'](async _0x4f0445=>{const _0x1a1ec9=_0x4d8c2a,_0x2dc6fd=_0x4f0445;if(_0x2dc6fd['status']===0x191&&window[_0x1a1ec9(0x4c8)](this[_0x1a1ec9(0x360)]['t'](_0x1a1ec9(0x24f)))){const _0x36fd2a=window[_0x1a1ec9(0x2f7)](window['location'][_0x1a1ec9(0x3ba)]);window[_0x1a1ec9(0x4af)][_0x1a1ec9(0x3ba)]=this['_getLoginPath']()+_0x1a1ec9(0x366)+_0x36fd2a;}return _0x2dc6fd;}))});}[_0x543e24(0x4ad)](){const _0x48f2d2=_0x543e24;var _0xf3a32c,_0x1fc815;const _0x56f196=this[_0x48f2d2(0x518)]['getConfig'](hi),_0x4b34a6=this[_0x48f2d2(0x518)][_0x48f2d2(0x46d)](Q);return(_0x1fc815=(_0xf3a32c=_0x4b34a6==null?void 0x0:_0x4b34a6[_0x48f2d2(0x691)])!=null?_0xf3a32c:_0x56f196)!=null?_0x1fc815:Ji;}};Ye=cr([ct(0x0,a[_0x543e24(0x693)]),ct(0x1,a[_0x543e24(0x432)](z['HTTPService'])),ct(0x2,a['Inject'](a['LocaleService']))],Ye);var lr=Object[_0x543e24(0x685)],hr=Object['getOwnPropertyDescriptor'],_r=(_0x820878,_0x34c71e,_0x1b9aaa,_0x5265ab)=>{const _0x474bff=_0x543e24;for(var _0x2a42a2=_0x5265ab>0x1?void 0x0:_0x5265ab?hr(_0x34c71e,_0x1b9aaa):_0x34c71e,_0x38c0d0=_0x820878[_0x474bff(0x65c)]-0x1,_0x461ad3;_0x38c0d0>=0x0;_0x38c0d0--)(_0x461ad3=_0x820878[_0x38c0d0])&&(_0x2a42a2=(_0x5265ab?_0x461ad3(_0x34c71e,_0x1b9aaa,_0x2a42a2):_0x461ad3(_0x2a42a2))||_0x2a42a2);return _0x5265ab&&_0x2a42a2&&lr(_0x34c71e,_0x1b9aaa,_0x2a42a2),_0x2a42a2;},Gt=(_0x4d2353,_0x6d08b5)=>(_0x295d3c,_0x2ebe34)=>_0x6d08b5(_0x295d3c,_0x2ebe34,_0x4d2353);const Ut=_0x543e24(0x654),ur=_0x543e24(0x1f8);exports[_0x543e24(0x60a)]=class extends a[_0x543e24(0x3f3)]{constructor(_0xe5ab35,_0x442b49){const _0x4cabae=_0x543e24;super(),this['_HTTPService']=_0xe5ab35,this[_0x4cabae(0x518)]=_0x442b49,this[_0x4cabae(0x318)]();}[_0x543e24(0x318)](){const _0x355f01=_0x543e24,_0x997b5b=this;this['disposeWithMe'](this[_0x355f01(0x3b7)][_0x355f01(0x52e)]({'priority':0x3e7,'interceptor':z['MergeInterceptorFactory']({'isMatch'(_0x53183f){const _0x429269=_0x355f01;var _0x2c9b86;if(_0x53183f[_0x429269(0x588)]==='POST'&&((_0x2c9b86=_0x53183f[_0x429269(0x695)])!=null&&_0x2c9b86[_0x429269(0x542)])){const {objectID:_0x4d8c18,objectType:_0x198388}=_0x53183f[_0x429269(0x695)][_0x429269(0x542)]||{};if(!_0x4d8c18||_0x198388===void 0x0)return!0x1;const _0x1f74e2=_0x997b5b['_getAPIPrefixPath']()+'/'+_0x198388+_0x429269(0x2dd)+_0x4d8c18+_0x429269(0x4a4);if(_0x53183f[_0x429269(0x598)]===_0x1f74e2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x10f0f3){const _0x3a7a97=_0x355f01;var _0x2beb32;return(_0x2beb32=_0x10f0f3[_0x3a7a97(0x695)])==null?void 0x0:_0x2beb32[_0x3a7a97(0x542)];},'mergeParamsToRequest'(_0x262be0,_0x54496c){const _0x383e95=_0x355f01,_0x3efb99=_0x997b5b['_getAPIPrefixPath']()+_0x383e95(0x21b),_0x2f8574=_0x262be0[_0x383e95(0x56c)]((_0x3d8a10,_0x52d190)=>{const _0x1026d9=_0x383e95,{unitID:_0x55318b,objectID:_0x1a7d65,objectType:_0x205926,actions:_0x2517ac}=_0x52d190;return _0x3d8a10[_0x55318b]||(_0x3d8a10[_0x55318b]={}),_0x3d8a10[_0x55318b][_0x1a7d65]||(_0x3d8a10[_0x55318b][_0x1a7d65]={'objectID':_0x1a7d65,'objectType':_0x205926,'actions':[]}),_0x3d8a10[_0x55318b][_0x1a7d65][_0x1026d9(0x4e2)]['push'](..._0x2517ac),_0x3d8a10;},{}),_0x27859a=[];for(const _0x371b2d in _0x2f8574)for(const _0x3c7d04 in _0x2f8574[_0x371b2d]){const {actions:_0x1679e4,objectType:_0x525936}=_0x2f8574[_0x371b2d][_0x3c7d04],_0x7197e9=[...new Set(_0x1679e4)];_0x27859a['push']({'unitID':_0x371b2d,'objectID':_0x3c7d04,'objectType':_0x525936,'actions':_0x7197e9});}return new z[(_0x383e95(0x473))](_0x383e95(0x68d),_0x3efb99,{'headers':_0x54496c[_0x383e95(0x260)],'withCredentials':_0x54496c['withCredentials'],'responseType':_0x54496c[_0x383e95(0x54b)],'body':{'requests':_0x27859a}});}},{'distributeResult'(_0x130bdb,_0x13c0a5){const _0x3b43b7=_0x355f01,{objectActions:_0xeb455}=_0x130bdb;return _0x13c0a5[_0x3b43b7(0x31d)](_0x20c0f1=>{const _0x14769a=_0x3b43b7,{unitID:_0x32a2db,objectID:_0x3065c8,actions:_0x2e2cce}=_0x20c0f1,_0x457562=_0xeb455[_0x14769a(0x1d3)](_0x2024b2=>_0x2024b2[_0x14769a(0x5dd)]===_0x32a2db&&_0x2024b2['objectID']===_0x3065c8),_0xbbe1b4=_0x2e2cce[_0x14769a(0x31d)](_0x491b69=>_0x457562==null?void 0x0:_0x457562[_0x14769a(0x4e2)][_0x14769a(0x1d3)](_0x4017d7=>_0x4017d7[_0x14769a(0x396)]===_0x491b69))['filter'](_0x2aea63=>!!_0x2aea63);return{'config':_0x20c0f1,'result':{'actions':_0xbbe1b4,'error':_0x130bdb[_0x14769a(0x624)]}};});}})}));}['_getAPIPrefixPath'](){const _0x497226=_0x543e24;var _0x42cfc3,_0x39ec87;const _0xb124f=this[_0x497226(0x518)][_0x497226(0x46d)](Ut),_0x441e8b=this['_configService'][_0x497226(0x46d)](Q);return(_0x39ec87=(_0x42cfc3=_0x441e8b==null?void 0x0:_0x441e8b[_0x497226(0x52d)])!=null?_0x42cfc3:_0xb124f)!=null?_0x39ec87:ur;}async[_0x543e24(0x27f)](_0x366b66){const _0x50e3e6=_0x543e24,_0x2ffb0b=this[_0x50e3e6(0x228)]()+'/'+_0x366b66[_0x50e3e6(0x5f5)]+'/object';return(await this['_HTTPService'][_0x50e3e6(0x234)](_0x2ffb0b,{'body':_0x366b66}))[_0x50e3e6(0x542)][_0x50e3e6(0x2d2)]||'';}async['list'](_0x1754a1){const _0x13c990=_0x543e24,_0x540a9c=this[_0x13c990(0x228)]()+'/-/object/list';return(await this['_HTTPService'][_0x13c990(0x234)](_0x540a9c,{'body':_0x1754a1}))[_0x13c990(0x542)][_0x13c990(0x1f7)];}async[_0x543e24(0x2f4)](_0x409bad){const _0x4717e0=_0x543e24,_0x2efe2d=this[_0x4717e0(0x228)]()+'/'+_0x409bad['objectType']+'/object/'+_0x409bad['objectID'];await this[_0x4717e0(0x3b7)]['put'](_0x2efe2d,{'body':_0x409bad});}async[_0x543e24(0x3e1)](_0x229da6){const _0x321baf=_0x543e24,_0x3f1124=this[_0x321baf(0x228)]()+'/'+_0x229da6['objectType']+_0x321baf(0x2dd)+_0x229da6[_0x321baf(0x2d2)]+'/allowed';return(await this[_0x321baf(0x3b7)]['post'](_0x3f1124,{'body':_0x229da6}))[_0x321baf(0x542)][_0x321baf(0x4e2)];}async['batchAllowed'](_0x1abd58){const _0x2f5654=_0x543e24,_0x128512=this[_0x2f5654(0x228)]()+_0x2f5654(0x21b);return(await this[_0x2f5654(0x3b7)][_0x2f5654(0x234)](_0x128512,{'body':{'requests':_0x1abd58}}))[_0x2f5654(0x542)][_0x2f5654(0x3bc)];}async['listRoles'](_0x2647e3){const _0x4b6708=_0x543e24,_0x37cb83=this[_0x4b6708(0x228)]()+'/'+_0x2647e3['objectType']+_0x4b6708(0x639),_0x2262fe=await this[_0x4b6708(0x3b7)]['post'](_0x37cb83,{'body':_0x2647e3});return{'roles':_0x2262fe['body'][_0x4b6708(0x2ed)],'actions':_0x2262fe[_0x4b6708(0x542)]['actions']};}async[_0x543e24(0x650)](_0x5d4a98){const _0x57f3a5=_0x543e24,_0x3036b6=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x57f3a5(0x3b7)]['delete'](_0x3036b6,{'params':{'collaboratorID':_0x5d4a98[_0x57f3a5(0x2fd)],'objectID':_0x5d4a98['objectID'],'unitID':_0x5d4a98[_0x57f3a5(0x5dd)]}});}async['updateCollaborator'](_0x598d28){const _0x329d80=_0x543e24,_0x7ab9e1=this[_0x329d80(0x228)]()+_0x329d80(0x5c5);await this[_0x329d80(0x3b7)][_0x329d80(0x5fa)](_0x7ab9e1,{'body':_0x598d28});}async[_0x543e24(0x4bc)](_0x2c35f1){const _0x8b1042=_0x543e24,_0x83554a=this[_0x8b1042(0x228)]()+'/collaborator';await this['_HTTPService'][_0x8b1042(0x234)](_0x83554a,{'body':_0x2c35f1});}async[_0x543e24(0x4c4)](_0x5f0495){const _0x46d10a=_0x543e24,_0x3930ee=this[_0x46d10a(0x228)]()+_0x46d10a(0x5c5);return(await this[_0x46d10a(0x3b7)][_0x46d10a(0x5e6)](_0x3930ee,{'params':{'objectID':_0x5f0495[_0x46d10a(0x2d2)],'unitID':_0x5f0495[_0x46d10a(0x5dd)]}}))[_0x46d10a(0x542)]['collaborators'];}async[_0x543e24(0x248)](_0x370bd3){const _0x4389af=_0x543e24,_0x1fe891=this['_getAPIPrefixPath']()+_0x4389af(0x5c5);await this[_0x4389af(0x3b7)][_0x4389af(0x62d)](_0x1fe891,{'body':_0x370bd3});}},exports[_0x543e24(0x60a)]=_r([Gt(0x0,a['Inject'](z['HTTPService'])),Gt(0x1,a[_0x543e24(0x432)](a['IConfigService']))],exports['AuthzIoHttpService']);var Di={'exports':{}};function dr(_0x512d5e){const _0x3cfcbc=_0x543e24;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x512d5e+_0x3cfcbc(0x470));}var lt={'exports':{}},Yt;function oe(){return Yt||(Yt=0x1,function(_0x1ba615,_0x42b545){(function(_0x4868bc,_0x27c03b){const _0x317bc2=_0x4acf;_0x1ba615[_0x317bc2(0x682)]=_0x27c03b();}(Z,function(){var _0x3c3cc6=_0x3c3cc6||function(_0x9e006b,_0x44a3d1){const _0x21ccb4=_0x4acf;var _0x157647;if(typeof window<'u'&&window[_0x21ccb4(0x45f)]&&(_0x157647=window[_0x21ccb4(0x45f)]),typeof self<'u'&&self[_0x21ccb4(0x45f)]&&(_0x157647=self[_0x21ccb4(0x45f)]),typeof globalThis<'u'&&globalThis[_0x21ccb4(0x45f)]&&(_0x157647=globalThis[_0x21ccb4(0x45f)]),!_0x157647&&typeof window<'u'&&window[_0x21ccb4(0x495)]&&(_0x157647=window['msCrypto']),!_0x157647&&typeof Z<'u'&&Z[_0x21ccb4(0x45f)]&&(_0x157647=Z['crypto']),!_0x157647&&typeof dr=='function')try{_0x157647=require(_0x21ccb4(0x45f));}catch{}var _0x5f49da=function(){const _0xf00ccc=_0x21ccb4;if(_0x157647){if(typeof _0x157647[_0xf00ccc(0x634)]=='function')try{return _0x157647[_0xf00ccc(0x634)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x157647[_0xf00ccc(0x211)]==_0xf00ccc(0x3ae))try{return _0x157647[_0xf00ccc(0x211)](0x4)[_0xf00ccc(0x5ab)]();}catch{}}throw new Error(_0xf00ccc(0x2d1));},_0x36f08b=Object[_0x21ccb4(0x27f)]||(function(){function _0x59c43f(){}return function(_0x3ad146){const _0x1a9a55=_0x4acf;var _0x512f6b;return _0x59c43f[_0x1a9a55(0x20a)]=_0x3ad146,_0x512f6b=new _0x59c43f(),_0x59c43f[_0x1a9a55(0x20a)]=null,_0x512f6b;};}()),_0x1ef32b={},_0x505f28=_0x1ef32b[_0x21ccb4(0x5d6)]={},_0x56b850=_0x505f28['Base']=(function(){return{'extend':function(_0x41f870){const _0x1bca17=_0x4acf;var _0x25d2d2=_0x36f08b(this);return _0x41f870&&_0x25d2d2[_0x1bca17(0x30b)](_0x41f870),(!_0x25d2d2['hasOwnProperty'](_0x1bca17(0x201))||this['init']===_0x25d2d2[_0x1bca17(0x201)])&&(_0x25d2d2[_0x1bca17(0x201)]=function(){const _0x50dbe5=_0x1bca17;_0x25d2d2[_0x50dbe5(0x367)][_0x50dbe5(0x201)][_0x50dbe5(0x3b2)](this,arguments);}),_0x25d2d2[_0x1bca17(0x201)][_0x1bca17(0x20a)]=_0x25d2d2,_0x25d2d2[_0x1bca17(0x367)]=this,_0x25d2d2;},'create':function(){const _0x2317c9=_0x4acf;var _0x23717a=this[_0x2317c9(0x25c)]();return _0x23717a[_0x2317c9(0x201)][_0x2317c9(0x3b2)](_0x23717a,arguments),_0x23717a;},'init':function(){},'mixIn':function(_0x1a89e3){const _0x22f964=_0x4acf;for(var _0x3ede71 in _0x1a89e3)_0x1a89e3[_0x22f964(0x2d4)](_0x3ede71)&&(this[_0x3ede71]=_0x1a89e3[_0x3ede71]);_0x1a89e3[_0x22f964(0x2d4)](_0x22f964(0x5c8))&&(this[_0x22f964(0x5c8)]=_0x1a89e3[_0x22f964(0x5c8)]);},'clone':function(){const _0x3ab34b=_0x4acf;return this[_0x3ab34b(0x201)]['prototype']['extend'](this);}};}()),_0x4df2fe=_0x505f28[_0x21ccb4(0x2da)]=_0x56b850[_0x21ccb4(0x25c)]({'init':function(_0x592730,_0x495985){const _0x2033d6=_0x21ccb4;_0x592730=this[_0x2033d6(0x315)]=_0x592730||[],_0x495985!=_0x44a3d1?this[_0x2033d6(0x567)]=_0x495985:this[_0x2033d6(0x567)]=_0x592730[_0x2033d6(0x65c)]*0x4;},'toString':function(_0x3bd470){const _0x293d08=_0x21ccb4;return(_0x3bd470||_0x5322ae)[_0x293d08(0x403)](this);},'concat':function(_0x49e211){const _0x12ea9d=_0x21ccb4;var _0xa2152d=this[_0x12ea9d(0x315)],_0x5a02cd=_0x49e211[_0x12ea9d(0x315)],_0x5b2817=this['sigBytes'],_0x201e58=_0x49e211[_0x12ea9d(0x567)];if(this[_0x12ea9d(0x400)](),_0x5b2817%0x4)for(var _0xd2ec7d=0x0;_0xd2ec7d<_0x201e58;_0xd2ec7d++){var _0xcd71a1=_0x5a02cd[_0xd2ec7d>>>0x2]>>>0x18-_0xd2ec7d%0x4*0x8&0xff;_0xa2152d[_0x5b2817+_0xd2ec7d>>>0x2]|=_0xcd71a1<<0x18-(_0x5b2817+_0xd2ec7d)%0x4*0x8;}else{for(var _0x40841f=0x0;_0x40841f<_0x201e58;_0x40841f+=0x4)_0xa2152d[_0x5b2817+_0x40841f>>>0x2]=_0x5a02cd[_0x40841f>>>0x2];}return this[_0x12ea9d(0x567)]+=_0x201e58,this;},'clamp':function(){const _0x28ab01=_0x21ccb4;var _0x4438d2=this['words'],_0x41e3ba=this[_0x28ab01(0x567)];_0x4438d2[_0x41e3ba>>>0x2]&=0xffffffff<<0x20-_0x41e3ba%0x4*0x8,_0x4438d2[_0x28ab01(0x65c)]=_0x9e006b['ceil'](_0x41e3ba/0x4);},'clone':function(){const _0x2d5976=_0x21ccb4;var _0x22c67a=_0x56b850[_0x2d5976(0x2a1)][_0x2d5976(0x353)](this);return _0x22c67a[_0x2d5976(0x315)]=this[_0x2d5976(0x315)]['slice'](0x0),_0x22c67a;},'random':function(_0x1a618d){const _0x595a45=_0x21ccb4;for(var _0x5f1901=[],_0x44aca9=0x0;_0x44aca9<_0x1a618d;_0x44aca9+=0x4)_0x5f1901['push'](_0x5f49da());return new _0x4df2fe[(_0x595a45(0x201))](_0x5f1901,_0x1a618d);}}),_0x587d55=_0x1ef32b[_0x21ccb4(0x3b5)]={},_0x5322ae=_0x587d55[_0x21ccb4(0x658)]={'stringify':function(_0x33c6a2){const _0x3342ea=_0x21ccb4;for(var _0x2baf30=_0x33c6a2[_0x3342ea(0x315)],_0x1ad929=_0x33c6a2[_0x3342ea(0x567)],_0x26de4e=[],_0x59dcaa=0x0;_0x59dcaa<_0x1ad929;_0x59dcaa++){var _0x4119f9=_0x2baf30[_0x59dcaa>>>0x2]>>>0x18-_0x59dcaa%0x4*0x8&0xff;_0x26de4e['push']((_0x4119f9>>>0x4)[_0x3342ea(0x5c8)](0x10)),_0x26de4e[_0x3342ea(0x43b)]((_0x4119f9&0xf)[_0x3342ea(0x5c8)](0x10));}return _0x26de4e['join']('');},'parse':function(_0x34eea1){const _0x4d1ab6=_0x21ccb4;for(var _0xd0c11c=_0x34eea1[_0x4d1ab6(0x65c)],_0x53961a=[],_0x161160=0x0;_0x161160<_0xd0c11c;_0x161160+=0x2)_0x53961a[_0x161160>>>0x3]|=parseInt(_0x34eea1[_0x4d1ab6(0x43d)](_0x161160,0x2),0x10)<<0x18-_0x161160%0x8*0x4;return new _0x4df2fe[(_0x4d1ab6(0x201))](_0x53961a,_0xd0c11c/0x2);}},_0x52a03e=_0x587d55[_0x21ccb4(0x1dc)]={'stringify':function(_0x4fa424){const _0x49bb5c=_0x21ccb4;for(var _0x288b58=_0x4fa424[_0x49bb5c(0x315)],_0xe62c91=_0x4fa424[_0x49bb5c(0x567)],_0x3c888e=[],_0x49538c=0x0;_0x49538c<_0xe62c91;_0x49538c++){var _0x30aadc=_0x288b58[_0x49538c>>>0x2]>>>0x18-_0x49538c%0x4*0x8&0xff;_0x3c888e[_0x49bb5c(0x43b)](String['fromCharCode'](_0x30aadc));}return _0x3c888e[_0x49bb5c(0x5ed)]('');},'parse':function(_0x40cb9c){const _0x9f6153=_0x21ccb4;for(var _0x1d6e43=_0x40cb9c[_0x9f6153(0x65c)],_0x40d08c=[],_0x2778e8=0x0;_0x2778e8<_0x1d6e43;_0x2778e8++)_0x40d08c[_0x2778e8>>>0x2]|=(_0x40cb9c[_0x9f6153(0x2b4)](_0x2778e8)&0xff)<<0x18-_0x2778e8%0x4*0x8;return new _0x4df2fe['init'](_0x40d08c,_0x1d6e43);}},_0x39fc55=_0x587d55[_0x21ccb4(0x28e)]={'stringify':function(_0x6554c2){const _0x3e1ba7=_0x21ccb4;try{return decodeURIComponent(escape(_0x52a03e['stringify'](_0x6554c2)));}catch{throw new Error(_0x3e1ba7(0x659));}},'parse':function(_0x4a868c){return _0x52a03e['parse'](unescape(encodeURIComponent(_0x4a868c)));}},_0x203a42=_0x505f28[_0x21ccb4(0x229)]=_0x56b850[_0x21ccb4(0x25c)]({'reset':function(){const _0x3602a7=_0x21ccb4;this[_0x3602a7(0x217)]=new _0x4df2fe[(_0x3602a7(0x201))](),this[_0x3602a7(0x629)]=0x0;},'_append':function(_0x84aa25){const _0x3cfd1c=_0x21ccb4;typeof _0x84aa25=='string'&&(_0x84aa25=_0x39fc55[_0x3cfd1c(0x25f)](_0x84aa25)),this['_data'][_0x3cfd1c(0x307)](_0x84aa25),this['_nDataBytes']+=_0x84aa25[_0x3cfd1c(0x567)];},'_process':function(_0x2857c4){const _0x28e208=_0x21ccb4;var _0x541d85,_0x1ac84f=this[_0x28e208(0x217)],_0x2d3b47=_0x1ac84f['words'],_0xedccfc=_0x1ac84f['sigBytes'],_0x2ac3ed=this[_0x28e208(0x478)],_0x5a13e3=_0x2ac3ed*0x4,_0x210a16=_0xedccfc/_0x5a13e3;_0x2857c4?_0x210a16=_0x9e006b[_0x28e208(0x5bd)](_0x210a16):_0x210a16=_0x9e006b['max']((_0x210a16|0x0)-this['_minBufferSize'],0x0);var _0x23d983=_0x210a16*_0x2ac3ed,_0x4b0252=_0x9e006b['min'](_0x23d983*0x4,_0xedccfc);if(_0x23d983){for(var _0x547bee=0x0;_0x547bee<_0x23d983;_0x547bee+=_0x2ac3ed)this[_0x28e208(0x337)](_0x2d3b47,_0x547bee);_0x541d85=_0x2d3b47[_0x28e208(0x535)](0x0,_0x23d983),_0x1ac84f[_0x28e208(0x567)]-=_0x4b0252;}return new _0x4df2fe['init'](_0x541d85,_0x4b0252);},'clone':function(){const _0x5e0eb2=_0x21ccb4;var _0x2327c8=_0x56b850[_0x5e0eb2(0x2a1)]['call'](this);return _0x2327c8['_data']=this['_data'][_0x5e0eb2(0x2a1)](),_0x2327c8;},'_minBufferSize':0x0});_0x505f28[_0x21ccb4(0x5f3)]=_0x203a42['extend']({'cfg':_0x56b850[_0x21ccb4(0x25c)](),'init':function(_0x2644e5){const _0x24a5ab=_0x21ccb4;this['cfg']=this[_0x24a5ab(0x22b)][_0x24a5ab(0x25c)](_0x2644e5),this[_0x24a5ab(0x653)]();},'reset':function(){const _0x1d0318=_0x21ccb4;_0x203a42[_0x1d0318(0x653)]['call'](this),this[_0x1d0318(0x39e)]();},'update':function(_0x16190a){const _0x96fc78=_0x21ccb4;return this[_0x96fc78(0x626)](_0x16190a),this[_0x96fc78(0x45a)](),this;},'finalize':function(_0x126408){const _0x281a08=_0x21ccb4;_0x126408&&this[_0x281a08(0x626)](_0x126408);var _0x3f8c15=this['_doFinalize']();return _0x3f8c15;},'blockSize':0x10,'_createHelper':function(_0x44ae33){return function(_0x181b69,_0x268d01){const _0x41dc0b=_0x4acf;return new _0x44ae33['init'](_0x268d01)[_0x41dc0b(0x582)](_0x181b69);};},'_createHmacHelper':function(_0x517aab){return function(_0xd898ee,_0x4863f8){const _0x468019=_0x4acf;return new _0x2fe894['HMAC'][(_0x468019(0x201))](_0x517aab,_0x4863f8)[_0x468019(0x582)](_0xd898ee);};}});var _0x2fe894=_0x1ef32b['algo']={};return _0x1ef32b;}(Math);return _0x3c3cc6;}));}(lt)),lt['exports'];}var ht={'exports':{}},Kt;function Pi(){return Kt||(Kt=0x1,function(_0x1d5c2d,_0x34ec83){(function(_0x28156a,_0x470549){const _0x2f07d0=_0x4acf;_0x1d5c2d[_0x2f07d0(0x682)]=_0x470549(oe());}(Z,function(_0x27f4fc){const _0x4ee651=_0x4acf;return(function(){const _0x43b88f=_0x4acf;var _0x1c61f5=_0x27f4fc,_0x58b654=_0x1c61f5[_0x43b88f(0x5d6)],_0xa8eff4=_0x58b654[_0x43b88f(0x2da)],_0x492321=_0x1c61f5[_0x43b88f(0x3b5)];_0x492321[_0x43b88f(0x27e)]={'stringify':function(_0x41d881){const _0x2cda53=_0x43b88f;var _0x415af3=_0x41d881[_0x2cda53(0x315)],_0x5c3b5a=_0x41d881['sigBytes'],_0x231653=this['_map'];_0x41d881[_0x2cda53(0x400)]();for(var _0x42976c=[],_0x35e101=0x0;_0x35e101<_0x5c3b5a;_0x35e101+=0x3)for(var _0x19cbef=_0x415af3[_0x35e101>>>0x2]>>>0x18-_0x35e101%0x4*0x8&0xff,_0x3d83cd=_0x415af3[_0x35e101+0x1>>>0x2]>>>0x18-(_0x35e101+0x1)%0x4*0x8&0xff,_0x45c382=_0x415af3[_0x35e101+0x2>>>0x2]>>>0x18-(_0x35e101+0x2)%0x4*0x8&0xff,_0x7e54eb=_0x19cbef<<0x10|_0x3d83cd<<0x8|_0x45c382,_0x44c12d=0x0;_0x44c12d<0x4&&_0x35e101+_0x44c12d*0.75<_0x5c3b5a;_0x44c12d++)_0x42976c[_0x2cda53(0x43b)](_0x231653[_0x2cda53(0x4a0)](_0x7e54eb>>>0x6*(0x3-_0x44c12d)&0x3f));var _0x4bbb47=_0x231653['charAt'](0x40);if(_0x4bbb47){for(;_0x42976c[_0x2cda53(0x65c)]%0x4;)_0x42976c[_0x2cda53(0x43b)](_0x4bbb47);}return _0x42976c[_0x2cda53(0x5ed)]('');},'parse':function(_0x4b4a4c){const _0x33ade9=_0x43b88f;var _0x33b11e=_0x4b4a4c['length'],_0xe5c3e4=this[_0x33ade9(0x20b)],_0x29322f=this[_0x33ade9(0x67f)];if(!_0x29322f){_0x29322f=this[_0x33ade9(0x67f)]=[];for(var _0x174a3d=0x0;_0x174a3d<_0xe5c3e4[_0x33ade9(0x65c)];_0x174a3d++)_0x29322f[_0xe5c3e4['charCodeAt'](_0x174a3d)]=_0x174a3d;}var _0x1ba9e1=_0xe5c3e4[_0x33ade9(0x4a0)](0x40);if(_0x1ba9e1){var _0x2b407f=_0x4b4a4c[_0x33ade9(0x636)](_0x1ba9e1);_0x2b407f!==-0x1&&(_0x33b11e=_0x2b407f);}return _0x359efd(_0x4b4a4c,_0x33b11e,_0x29322f);},'_map':_0x43b88f(0x50e)};function _0x359efd(_0x4eb538,_0x100d14,_0xde1bf7){const _0x803f7b=_0x43b88f;for(var _0x54b58a=[],_0x6886cd=0x0,_0x2bee3f=0x0;_0x2bee3f<_0x100d14;_0x2bee3f++)if(_0x2bee3f%0x4){var _0x5f4f0f=_0xde1bf7[_0x4eb538[_0x803f7b(0x2b4)](_0x2bee3f-0x1)]<<_0x2bee3f%0x4*0x2,_0x362bbe=_0xde1bf7[_0x4eb538['charCodeAt'](_0x2bee3f)]>>>0x6-_0x2bee3f%0x4*0x2,_0x328a1b=_0x5f4f0f|_0x362bbe;_0x54b58a[_0x6886cd>>>0x2]|=_0x328a1b<<0x18-_0x6886cd%0x4*0x8,_0x6886cd++;}return _0xa8eff4[_0x803f7b(0x27f)](_0x54b58a,_0x6886cd);}}()),_0x27f4fc['enc'][_0x4ee651(0x27e)];}));}(ht)),ht['exports'];}var _t={'exports':{}},qt;function fr(){return qt||(qt=0x1,function(_0x84536e,_0x254c7f){(function(_0x20fffb,_0x4c99a8){const _0x58756d=_0x4acf;_0x84536e[_0x58756d(0x682)]=_0x4c99a8(oe());}(Z,function(_0x43c923){const _0x49670e=_0x4acf;return function(_0x1629ff){const _0xa8c463=_0x4acf;var _0x12019c=_0x43c923,_0x25dd81=_0x12019c['lib'],_0x37ca52=_0x25dd81[_0xa8c463(0x2da)],_0x312a5b=_0x25dd81[_0xa8c463(0x5f3)],_0x8c89c4=_0x12019c['algo'],_0x358348=[];(function(){const _0x5e45cb=_0xa8c463;for(var _0x135699=0x0;_0x135699<0x40;_0x135699++)_0x358348[_0x135699]=_0x1629ff['abs'](_0x1629ff[_0x5e45cb(0x1e9)](_0x135699+0x1))*0x100000000|0x0;}());var _0x2899f3=_0x8c89c4[_0xa8c463(0x5e9)]=_0x312a5b[_0xa8c463(0x25c)]({'_doReset':function(){const _0x5dea83=_0xa8c463;this[_0x5dea83(0x225)]=new _0x37ca52[(_0x5dea83(0x201))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x314181,_0x22ca0d){const _0x5b1c44=_0xa8c463;for(var _0x5a6512=0x0;_0x5a6512<0x10;_0x5a6512++){var _0x561729=_0x22ca0d+_0x5a6512,_0x53f99a=_0x314181[_0x561729];_0x314181[_0x561729]=(_0x53f99a<<0x8|_0x53f99a>>>0x18)&0xff00ff|(_0x53f99a<<0x18|_0x53f99a>>>0x8)&0xff00ff00;}var _0x4176f9=this['_hash'][_0x5b1c44(0x315)],_0x415179=_0x314181[_0x22ca0d+0x0],_0x19baad=_0x314181[_0x22ca0d+0x1],_0xd38dc9=_0x314181[_0x22ca0d+0x2],_0x50f0f6=_0x314181[_0x22ca0d+0x3],_0x20aa42=_0x314181[_0x22ca0d+0x4],_0x2a4459=_0x314181[_0x22ca0d+0x5],_0x59b1b6=_0x314181[_0x22ca0d+0x6],_0xb27a1a=_0x314181[_0x22ca0d+0x7],_0x3adc07=_0x314181[_0x22ca0d+0x8],_0x161fa6=_0x314181[_0x22ca0d+0x9],_0x36edfc=_0x314181[_0x22ca0d+0xa],_0x36c82b=_0x314181[_0x22ca0d+0xb],_0x336e18=_0x314181[_0x22ca0d+0xc],_0x2e355c=_0x314181[_0x22ca0d+0xd],_0x233fbb=_0x314181[_0x22ca0d+0xe],_0x46b346=_0x314181[_0x22ca0d+0xf],_0x23b3c5=_0x4176f9[0x0],_0x4d5108=_0x4176f9[0x1],_0x465023=_0x4176f9[0x2],_0x412e1c=_0x4176f9[0x3];_0x23b3c5=_0x58f172(_0x23b3c5,_0x4d5108,_0x465023,_0x412e1c,_0x415179,0x7,_0x358348[0x0]),_0x412e1c=_0x58f172(_0x412e1c,_0x23b3c5,_0x4d5108,_0x465023,_0x19baad,0xc,_0x358348[0x1]),_0x465023=_0x58f172(_0x465023,_0x412e1c,_0x23b3c5,_0x4d5108,_0xd38dc9,0x11,_0x358348[0x2]),_0x4d5108=_0x58f172(_0x4d5108,_0x465023,_0x412e1c,_0x23b3c5,_0x50f0f6,0x16,_0x358348[0x3]),_0x23b3c5=_0x58f172(_0x23b3c5,_0x4d5108,_0x465023,_0x412e1c,_0x20aa42,0x7,_0x358348[0x4]),_0x412e1c=_0x58f172(_0x412e1c,_0x23b3c5,_0x4d5108,_0x465023,_0x2a4459,0xc,_0x358348[0x5]),_0x465023=_0x58f172(_0x465023,_0x412e1c,_0x23b3c5,_0x4d5108,_0x59b1b6,0x11,_0x358348[0x6]),_0x4d5108=_0x58f172(_0x4d5108,_0x465023,_0x412e1c,_0x23b3c5,_0xb27a1a,0x16,_0x358348[0x7]),_0x23b3c5=_0x58f172(_0x23b3c5,_0x4d5108,_0x465023,_0x412e1c,_0x3adc07,0x7,_0x358348[0x8]),_0x412e1c=_0x58f172(_0x412e1c,_0x23b3c5,_0x4d5108,_0x465023,_0x161fa6,0xc,_0x358348[0x9]),_0x465023=_0x58f172(_0x465023,_0x412e1c,_0x23b3c5,_0x4d5108,_0x36edfc,0x11,_0x358348[0xa]),_0x4d5108=_0x58f172(_0x4d5108,_0x465023,_0x412e1c,_0x23b3c5,_0x36c82b,0x16,_0x358348[0xb]),_0x23b3c5=_0x58f172(_0x23b3c5,_0x4d5108,_0x465023,_0x412e1c,_0x336e18,0x7,_0x358348[0xc]),_0x412e1c=_0x58f172(_0x412e1c,_0x23b3c5,_0x4d5108,_0x465023,_0x2e355c,0xc,_0x358348[0xd]),_0x465023=_0x58f172(_0x465023,_0x412e1c,_0x23b3c5,_0x4d5108,_0x233fbb,0x11,_0x358348[0xe]),_0x4d5108=_0x58f172(_0x4d5108,_0x465023,_0x412e1c,_0x23b3c5,_0x46b346,0x16,_0x358348[0xf]),_0x23b3c5=_0x126104(_0x23b3c5,_0x4d5108,_0x465023,_0x412e1c,_0x19baad,0x5,_0x358348[0x10]),_0x412e1c=_0x126104(_0x412e1c,_0x23b3c5,_0x4d5108,_0x465023,_0x59b1b6,0x9,_0x358348[0x11]),_0x465023=_0x126104(_0x465023,_0x412e1c,_0x23b3c5,_0x4d5108,_0x36c82b,0xe,_0x358348[0x12]),_0x4d5108=_0x126104(_0x4d5108,_0x465023,_0x412e1c,_0x23b3c5,_0x415179,0x14,_0x358348[0x13]),_0x23b3c5=_0x126104(_0x23b3c5,_0x4d5108,_0x465023,_0x412e1c,_0x2a4459,0x5,_0x358348[0x14]),_0x412e1c=_0x126104(_0x412e1c,_0x23b3c5,_0x4d5108,_0x465023,_0x36edfc,0x9,_0x358348[0x15]),_0x465023=_0x126104(_0x465023,_0x412e1c,_0x23b3c5,_0x4d5108,_0x46b346,0xe,_0x358348[0x16]),_0x4d5108=_0x126104(_0x4d5108,_0x465023,_0x412e1c,_0x23b3c5,_0x20aa42,0x14,_0x358348[0x17]),_0x23b3c5=_0x126104(_0x23b3c5,_0x4d5108,_0x465023,_0x412e1c,_0x161fa6,0x5,_0x358348[0x18]),_0x412e1c=_0x126104(_0x412e1c,_0x23b3c5,_0x4d5108,_0x465023,_0x233fbb,0x9,_0x358348[0x19]),_0x465023=_0x126104(_0x465023,_0x412e1c,_0x23b3c5,_0x4d5108,_0x50f0f6,0xe,_0x358348[0x1a]),_0x4d5108=_0x126104(_0x4d5108,_0x465023,_0x412e1c,_0x23b3c5,_0x3adc07,0x14,_0x358348[0x1b]),_0x23b3c5=_0x126104(_0x23b3c5,_0x4d5108,_0x465023,_0x412e1c,_0x2e355c,0x5,_0x358348[0x1c]),_0x412e1c=_0x126104(_0x412e1c,_0x23b3c5,_0x4d5108,_0x465023,_0xd38dc9,0x9,_0x358348[0x1d]),_0x465023=_0x126104(_0x465023,_0x412e1c,_0x23b3c5,_0x4d5108,_0xb27a1a,0xe,_0x358348[0x1e]),_0x4d5108=_0x126104(_0x4d5108,_0x465023,_0x412e1c,_0x23b3c5,_0x336e18,0x14,_0x358348[0x1f]),_0x23b3c5=_0x5b1dd7(_0x23b3c5,_0x4d5108,_0x465023,_0x412e1c,_0x2a4459,0x4,_0x358348[0x20]),_0x412e1c=_0x5b1dd7(_0x412e1c,_0x23b3c5,_0x4d5108,_0x465023,_0x3adc07,0xb,_0x358348[0x21]),_0x465023=_0x5b1dd7(_0x465023,_0x412e1c,_0x23b3c5,_0x4d5108,_0x36c82b,0x10,_0x358348[0x22]),_0x4d5108=_0x5b1dd7(_0x4d5108,_0x465023,_0x412e1c,_0x23b3c5,_0x233fbb,0x17,_0x358348[0x23]),_0x23b3c5=_0x5b1dd7(_0x23b3c5,_0x4d5108,_0x465023,_0x412e1c,_0x19baad,0x4,_0x358348[0x24]),_0x412e1c=_0x5b1dd7(_0x412e1c,_0x23b3c5,_0x4d5108,_0x465023,_0x20aa42,0xb,_0x358348[0x25]),_0x465023=_0x5b1dd7(_0x465023,_0x412e1c,_0x23b3c5,_0x4d5108,_0xb27a1a,0x10,_0x358348[0x26]),_0x4d5108=_0x5b1dd7(_0x4d5108,_0x465023,_0x412e1c,_0x23b3c5,_0x36edfc,0x17,_0x358348[0x27]),_0x23b3c5=_0x5b1dd7(_0x23b3c5,_0x4d5108,_0x465023,_0x412e1c,_0x2e355c,0x4,_0x358348[0x28]),_0x412e1c=_0x5b1dd7(_0x412e1c,_0x23b3c5,_0x4d5108,_0x465023,_0x415179,0xb,_0x358348[0x29]),_0x465023=_0x5b1dd7(_0x465023,_0x412e1c,_0x23b3c5,_0x4d5108,_0x50f0f6,0x10,_0x358348[0x2a]),_0x4d5108=_0x5b1dd7(_0x4d5108,_0x465023,_0x412e1c,_0x23b3c5,_0x59b1b6,0x17,_0x358348[0x2b]),_0x23b3c5=_0x5b1dd7(_0x23b3c5,_0x4d5108,_0x465023,_0x412e1c,_0x161fa6,0x4,_0x358348[0x2c]),_0x412e1c=_0x5b1dd7(_0x412e1c,_0x23b3c5,_0x4d5108,_0x465023,_0x336e18,0xb,_0x358348[0x2d]),_0x465023=_0x5b1dd7(_0x465023,_0x412e1c,_0x23b3c5,_0x4d5108,_0x46b346,0x10,_0x358348[0x2e]),_0x4d5108=_0x5b1dd7(_0x4d5108,_0x465023,_0x412e1c,_0x23b3c5,_0xd38dc9,0x17,_0x358348[0x2f]),_0x23b3c5=_0x4b7672(_0x23b3c5,_0x4d5108,_0x465023,_0x412e1c,_0x415179,0x6,_0x358348[0x30]),_0x412e1c=_0x4b7672(_0x412e1c,_0x23b3c5,_0x4d5108,_0x465023,_0xb27a1a,0xa,_0x358348[0x31]),_0x465023=_0x4b7672(_0x465023,_0x412e1c,_0x23b3c5,_0x4d5108,_0x233fbb,0xf,_0x358348[0x32]),_0x4d5108=_0x4b7672(_0x4d5108,_0x465023,_0x412e1c,_0x23b3c5,_0x2a4459,0x15,_0x358348[0x33]),_0x23b3c5=_0x4b7672(_0x23b3c5,_0x4d5108,_0x465023,_0x412e1c,_0x336e18,0x6,_0x358348[0x34]),_0x412e1c=_0x4b7672(_0x412e1c,_0x23b3c5,_0x4d5108,_0x465023,_0x50f0f6,0xa,_0x358348[0x35]),_0x465023=_0x4b7672(_0x465023,_0x412e1c,_0x23b3c5,_0x4d5108,_0x36edfc,0xf,_0x358348[0x36]),_0x4d5108=_0x4b7672(_0x4d5108,_0x465023,_0x412e1c,_0x23b3c5,_0x19baad,0x15,_0x358348[0x37]),_0x23b3c5=_0x4b7672(_0x23b3c5,_0x4d5108,_0x465023,_0x412e1c,_0x3adc07,0x6,_0x358348[0x38]),_0x412e1c=_0x4b7672(_0x412e1c,_0x23b3c5,_0x4d5108,_0x465023,_0x46b346,0xa,_0x358348[0x39]),_0x465023=_0x4b7672(_0x465023,_0x412e1c,_0x23b3c5,_0x4d5108,_0x59b1b6,0xf,_0x358348[0x3a]),_0x4d5108=_0x4b7672(_0x4d5108,_0x465023,_0x412e1c,_0x23b3c5,_0x2e355c,0x15,_0x358348[0x3b]),_0x23b3c5=_0x4b7672(_0x23b3c5,_0x4d5108,_0x465023,_0x412e1c,_0x20aa42,0x6,_0x358348[0x3c]),_0x412e1c=_0x4b7672(_0x412e1c,_0x23b3c5,_0x4d5108,_0x465023,_0x36c82b,0xa,_0x358348[0x3d]),_0x465023=_0x4b7672(_0x465023,_0x412e1c,_0x23b3c5,_0x4d5108,_0xd38dc9,0xf,_0x358348[0x3e]),_0x4d5108=_0x4b7672(_0x4d5108,_0x465023,_0x412e1c,_0x23b3c5,_0x161fa6,0x15,_0x358348[0x3f]),_0x4176f9[0x0]=_0x4176f9[0x0]+_0x23b3c5|0x0,_0x4176f9[0x1]=_0x4176f9[0x1]+_0x4d5108|0x0,_0x4176f9[0x2]=_0x4176f9[0x2]+_0x465023|0x0,_0x4176f9[0x3]=_0x4176f9[0x3]+_0x412e1c|0x0;},'_doFinalize':function(){const _0x28c218=_0xa8c463;var _0x37abd8=this['_data'],_0x47ae2d=_0x37abd8[_0x28c218(0x315)],_0x4482d6=this[_0x28c218(0x629)]*0x8,_0x1bf8bb=_0x37abd8[_0x28c218(0x567)]*0x8;_0x47ae2d[_0x1bf8bb>>>0x5]|=0x80<<0x18-_0x1bf8bb%0x20;var _0x57813a=_0x1629ff[_0x28c218(0x462)](_0x4482d6/0x100000000),_0x4139d3=_0x4482d6;_0x47ae2d[(_0x1bf8bb+0x40>>>0x9<<0x4)+0xf]=(_0x57813a<<0x8|_0x57813a>>>0x18)&0xff00ff|(_0x57813a<<0x18|_0x57813a>>>0x8)&0xff00ff00,_0x47ae2d[(_0x1bf8bb+0x40>>>0x9<<0x4)+0xe]=(_0x4139d3<<0x8|_0x4139d3>>>0x18)&0xff00ff|(_0x4139d3<<0x18|_0x4139d3>>>0x8)&0xff00ff00,_0x37abd8[_0x28c218(0x567)]=(_0x47ae2d[_0x28c218(0x65c)]+0x1)*0x4,this['_process']();for(var _0x2bddde=this['_hash'],_0x4af723=_0x2bddde[_0x28c218(0x315)],_0x491e66=0x0;_0x491e66<0x4;_0x491e66++){var _0x416f97=_0x4af723[_0x491e66];_0x4af723[_0x491e66]=(_0x416f97<<0x8|_0x416f97>>>0x18)&0xff00ff|(_0x416f97<<0x18|_0x416f97>>>0x8)&0xff00ff00;}return _0x2bddde;},'clone':function(){const _0x2d6b98=_0xa8c463;var _0xc4a3ed=_0x312a5b[_0x2d6b98(0x2a1)][_0x2d6b98(0x353)](this);return _0xc4a3ed[_0x2d6b98(0x225)]=this['_hash'][_0x2d6b98(0x2a1)](),_0xc4a3ed;}});function _0x58f172(_0xb9d0a1,_0x22aa46,_0x51c027,_0x401f1a,_0x37ffa9,_0x433b8f,_0x17dce4){var _0x4e9dd2=_0xb9d0a1+(_0x22aa46&_0x51c027|~_0x22aa46&_0x401f1a)+_0x37ffa9+_0x17dce4;return(_0x4e9dd2<<_0x433b8f|_0x4e9dd2>>>0x20-_0x433b8f)+_0x22aa46;}function _0x126104(_0x2418d1,_0x2beea3,_0x5ca782,_0x457138,_0x3e4ee8,_0x3eba74,_0x136eb4){var _0x254b79=_0x2418d1+(_0x2beea3&_0x457138|_0x5ca782&~_0x457138)+_0x3e4ee8+_0x136eb4;return(_0x254b79<<_0x3eba74|_0x254b79>>>0x20-_0x3eba74)+_0x2beea3;}function _0x5b1dd7(_0x396f86,_0x5130fd,_0x96382b,_0x3ecf1f,_0x40d59d,_0x1ffe05,_0x3ee23d){var _0x289a62=_0x396f86+(_0x5130fd^_0x96382b^_0x3ecf1f)+_0x40d59d+_0x3ee23d;return(_0x289a62<<_0x1ffe05|_0x289a62>>>0x20-_0x1ffe05)+_0x5130fd;}function _0x4b7672(_0x2d0e43,_0x4f09f9,_0x125479,_0x398f34,_0x2139cf,_0x5a53de,_0x4ba3d5){var _0x316bd6=_0x2d0e43+(_0x125479^(_0x4f09f9|~_0x398f34))+_0x2139cf+_0x4ba3d5;return(_0x316bd6<<_0x5a53de|_0x316bd6>>>0x20-_0x5a53de)+_0x4f09f9;}_0x12019c[_0xa8c463(0x5e9)]=_0x312a5b['_createHelper'](_0x2899f3),_0x12019c['HmacMD5']=_0x312a5b[_0xa8c463(0x1f5)](_0x2899f3);}(Math),_0x43c923[_0x49670e(0x5e9)];}));}(_t)),_t['exports'];}var ut={'exports':{}},dt={'exports':{}},zt;function vr(){const _0x59a357=_0x543e24;return zt||(zt=0x1,function(_0x20d4b6,_0x5a46d5){(function(_0x31b3a4,_0x24c693){const _0x3c8ddb=_0x4acf;_0x20d4b6[_0x3c8ddb(0x682)]=_0x24c693(oe());}(Z,function(_0x3ae39e){const _0xdbbff7=_0x4acf;return(function(){const _0x1085d0=_0x4acf;var _0x404d3d=_0x3ae39e,_0x219e76=_0x404d3d[_0x1085d0(0x5d6)],_0xe029bb=_0x219e76[_0x1085d0(0x2da)],_0x4bcd32=_0x219e76[_0x1085d0(0x5f3)],_0x189d1e=_0x404d3d['algo'],_0x49361c=[],_0x29e1bc=_0x189d1e[_0x1085d0(0x2b1)]=_0x4bcd32[_0x1085d0(0x25c)]({'_doReset':function(){const _0x4c0e8b=_0x1085d0;this[_0x4c0e8b(0x225)]=new _0xe029bb['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x8048aa,_0x484ef6){const _0x419b2d=_0x1085d0;for(var _0x5e33a1=this[_0x419b2d(0x225)][_0x419b2d(0x315)],_0xd91073=_0x5e33a1[0x0],_0x357112=_0x5e33a1[0x1],_0x29745d=_0x5e33a1[0x2],_0x5b69dc=_0x5e33a1[0x3],_0x36b579=_0x5e33a1[0x4],_0x188d33=0x0;_0x188d33<0x50;_0x188d33++){if(_0x188d33<0x10)_0x49361c[_0x188d33]=_0x8048aa[_0x484ef6+_0x188d33]|0x0;else{var _0x101f14=_0x49361c[_0x188d33-0x3]^_0x49361c[_0x188d33-0x8]^_0x49361c[_0x188d33-0xe]^_0x49361c[_0x188d33-0x10];_0x49361c[_0x188d33]=_0x101f14<<0x1|_0x101f14>>>0x1f;}var _0x1ccd0a=(_0xd91073<<0x5|_0xd91073>>>0x1b)+_0x36b579+_0x49361c[_0x188d33];_0x188d33<0x14?_0x1ccd0a+=(_0x357112&_0x29745d|~_0x357112&_0x5b69dc)+0x5a827999:_0x188d33<0x28?_0x1ccd0a+=(_0x357112^_0x29745d^_0x5b69dc)+0x6ed9eba1:_0x188d33<0x3c?_0x1ccd0a+=(_0x357112&_0x29745d|_0x357112&_0x5b69dc|_0x29745d&_0x5b69dc)-0x70e44324:_0x1ccd0a+=(_0x357112^_0x29745d^_0x5b69dc)-0x359d3e2a,_0x36b579=_0x5b69dc,_0x5b69dc=_0x29745d,_0x29745d=_0x357112<<0x1e|_0x357112>>>0x2,_0x357112=_0xd91073,_0xd91073=_0x1ccd0a;}_0x5e33a1[0x0]=_0x5e33a1[0x0]+_0xd91073|0x0,_0x5e33a1[0x1]=_0x5e33a1[0x1]+_0x357112|0x0,_0x5e33a1[0x2]=_0x5e33a1[0x2]+_0x29745d|0x0,_0x5e33a1[0x3]=_0x5e33a1[0x3]+_0x5b69dc|0x0,_0x5e33a1[0x4]=_0x5e33a1[0x4]+_0x36b579|0x0;},'_doFinalize':function(){const _0x4cdc1c=_0x1085d0;var _0x570dd5=this[_0x4cdc1c(0x217)],_0x951cc1=_0x570dd5[_0x4cdc1c(0x315)],_0x49a62d=this[_0x4cdc1c(0x629)]*0x8,_0x26e923=_0x570dd5[_0x4cdc1c(0x567)]*0x8;return _0x951cc1[_0x26e923>>>0x5]|=0x80<<0x18-_0x26e923%0x20,_0x951cc1[(_0x26e923+0x40>>>0x9<<0x4)+0xe]=Math[_0x4cdc1c(0x462)](_0x49a62d/0x100000000),_0x951cc1[(_0x26e923+0x40>>>0x9<<0x4)+0xf]=_0x49a62d,_0x570dd5[_0x4cdc1c(0x567)]=_0x951cc1['length']*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x2392ad=_0x1085d0;var _0x272ef7=_0x4bcd32[_0x2392ad(0x2a1)][_0x2392ad(0x353)](this);return _0x272ef7[_0x2392ad(0x225)]=this[_0x2392ad(0x225)][_0x2392ad(0x2a1)](),_0x272ef7;}});_0x404d3d['SHA1']=_0x4bcd32[_0x1085d0(0x681)](_0x29e1bc),_0x404d3d[_0x1085d0(0x20c)]=_0x4bcd32['_createHmacHelper'](_0x29e1bc);}()),_0x3ae39e[_0xdbbff7(0x2b1)];}));}(dt)),dt[_0x59a357(0x682)];}var ft={'exports':{}},Xt;function Sr(){return Xt||(Xt=0x1,function(_0x469edd,_0x1126bd){(function(_0x2c7c1b,_0x3c1a75){const _0x25cc45=_0x4acf;_0x469edd[_0x25cc45(0x682)]=_0x3c1a75(oe());}(Z,function(_0xe97fc0){(function(){const _0xa71969=_0x4acf;var _0x4ff944=_0xe97fc0,_0x4e6bf4=_0x4ff944[_0xa71969(0x5d6)],_0x5359f9=_0x4e6bf4[_0xa71969(0x4a1)],_0x515b1e=_0x4ff944[_0xa71969(0x3b5)],_0x102676=_0x515b1e['Utf8'],_0xfe6384=_0x4ff944[_0xa71969(0x604)];_0xfe6384[_0xa71969(0x4fe)]=_0x5359f9['extend']({'init':function(_0x1cb710,_0x306f78){const _0xd5cc9a=_0xa71969;_0x1cb710=this[_0xd5cc9a(0x2e2)]=new _0x1cb710[(_0xd5cc9a(0x201))](),typeof _0x306f78==_0xd5cc9a(0x3fe)&&(_0x306f78=_0x102676[_0xd5cc9a(0x25f)](_0x306f78));var _0x1021f5=_0x1cb710[_0xd5cc9a(0x478)],_0x34d599=_0x1021f5*0x4;_0x306f78[_0xd5cc9a(0x567)]>_0x34d599&&(_0x306f78=_0x1cb710[_0xd5cc9a(0x582)](_0x306f78)),_0x306f78['clamp']();for(var _0x4651a7=this[_0xd5cc9a(0x1fa)]=_0x306f78[_0xd5cc9a(0x2a1)](),_0x3e73fc=this[_0xd5cc9a(0x4c9)]=_0x306f78[_0xd5cc9a(0x2a1)](),_0x62b459=_0x4651a7[_0xd5cc9a(0x315)],_0x58b4a6=_0x3e73fc[_0xd5cc9a(0x315)],_0x2df38b=0x0;_0x2df38b<_0x1021f5;_0x2df38b++)_0x62b459[_0x2df38b]^=0x5c5c5c5c,_0x58b4a6[_0x2df38b]^=0x36363636;_0x4651a7['sigBytes']=_0x3e73fc[_0xd5cc9a(0x567)]=_0x34d599,this['reset']();},'reset':function(){const _0x1ad1ef=_0xa71969;var _0x2737fa=this['_hasher'];_0x2737fa[_0x1ad1ef(0x653)](),_0x2737fa[_0x1ad1ef(0x2f4)](this[_0x1ad1ef(0x4c9)]);},'update':function(_0x164375){const _0x3a6777=_0xa71969;return this[_0x3a6777(0x2e2)][_0x3a6777(0x2f4)](_0x164375),this;},'finalize':function(_0x426318){const _0x4136ba=_0xa71969;var _0x263b53=this['_hasher'],_0x276e7b=_0x263b53[_0x4136ba(0x582)](_0x426318);_0x263b53['reset']();var _0x4cd613=_0x263b53[_0x4136ba(0x582)](this['_oKey'][_0x4136ba(0x2a1)]()['concat'](_0x276e7b));return _0x4cd613;}});}());}));}(ft)),ft['exports'];}var Jt;function wi(){const _0x38ae07=_0x543e24;return Jt||(Jt=0x1,function(_0x104ba5,_0x27fc88){(function(_0x2e00df,_0x5d6fa3,_0x3b1152){_0x104ba5['exports']=_0x5d6fa3(oe(),vr(),Sr());}(Z,function(_0xe08fcb){return(function(){const _0x25b7ae=_0x4acf;var _0x32383c=_0xe08fcb,_0x297430=_0x32383c[_0x25b7ae(0x5d6)],_0x54334a=_0x297430['Base'],_0x3c44d4=_0x297430['WordArray'],_0x5d89ea=_0x32383c[_0x25b7ae(0x604)],_0x4a5f0b=_0x5d89ea['MD5'],_0x134038=_0x5d89ea[_0x25b7ae(0x1fc)]=_0x54334a['extend']({'cfg':_0x54334a[_0x25b7ae(0x25c)]({'keySize':0x80/0x20,'hasher':_0x4a5f0b,'iterations':0x1}),'init':function(_0x5a6c0e){const _0x594949=_0x25b7ae;this[_0x594949(0x22b)]=this['cfg'][_0x594949(0x25c)](_0x5a6c0e);},'compute':function(_0x5e6b99,_0x8dfaf1){const _0xe842c8=_0x25b7ae;for(var _0x5c06d9,_0x4c56d3=this[_0xe842c8(0x22b)],_0x57ca10=_0x4c56d3[_0xe842c8(0x2ae)][_0xe842c8(0x27f)](),_0x488f00=_0x3c44d4[_0xe842c8(0x27f)](),_0x222ecc=_0x488f00[_0xe842c8(0x315)],_0x333c1c=_0x4c56d3['keySize'],_0x2e4cb7=_0x4c56d3['iterations'];_0x222ecc[_0xe842c8(0x65c)]<_0x333c1c;){_0x5c06d9&&_0x57ca10[_0xe842c8(0x2f4)](_0x5c06d9),_0x5c06d9=_0x57ca10[_0xe842c8(0x2f4)](_0x5e6b99)[_0xe842c8(0x582)](_0x8dfaf1),_0x57ca10['reset']();for(var _0x17d7e6=0x1;_0x17d7e6<_0x2e4cb7;_0x17d7e6++)_0x5c06d9=_0x57ca10[_0xe842c8(0x582)](_0x5c06d9),_0x57ca10[_0xe842c8(0x653)]();_0x488f00['concat'](_0x5c06d9);}return _0x488f00[_0xe842c8(0x567)]=_0x333c1c*0x4,_0x488f00;}});_0x32383c[_0x25b7ae(0x1fc)]=function(_0x19e754,_0x4d32bb,_0x128639){const _0x1343ed=_0x25b7ae;return _0x134038[_0x1343ed(0x27f)](_0x128639)['compute'](_0x19e754,_0x4d32bb);};}()),_0xe08fcb['EvpKDF'];}));}(ut)),ut[_0x38ae07(0x682)];}var vt={'exports':{}},Zt;function Ui(){const _0x4c225f=_0x543e24;return Zt||(Zt=0x1,function(_0x5770f8,_0x54d5f7){(function(_0x4dfa03,_0x1ef0ac,_0xe64e66){const _0x406579=_0x4acf;_0x5770f8[_0x406579(0x682)]=_0x1ef0ac(oe(),wi());}(Z,function(_0x1bb2b9){const _0x39b3b9=_0x4acf;_0x1bb2b9['lib'][_0x39b3b9(0x576)]||function(_0x1a52b3){const _0x2dd59d=_0x39b3b9;var _0x35f11c=_0x1bb2b9,_0x5cbe11=_0x35f11c[_0x2dd59d(0x5d6)],_0x39e602=_0x5cbe11[_0x2dd59d(0x4a1)],_0x16e12f=_0x5cbe11[_0x2dd59d(0x2da)],_0x54f7a5=_0x5cbe11[_0x2dd59d(0x229)],_0x55dfc7=_0x35f11c[_0x2dd59d(0x3b5)];_0x55dfc7[_0x2dd59d(0x28e)];var _0x3dc2df=_0x55dfc7[_0x2dd59d(0x27e)],_0x26cfa5=_0x35f11c['algo'],_0x106260=_0x26cfa5[_0x2dd59d(0x1fc)],_0x576c87=_0x5cbe11[_0x2dd59d(0x576)]=_0x54f7a5[_0x2dd59d(0x25c)]({'cfg':_0x39e602[_0x2dd59d(0x25c)](),'createEncryptor':function(_0x5850cf,_0x5a131d){const _0x442eef=_0x2dd59d;return this[_0x442eef(0x27f)](this[_0x442eef(0x472)],_0x5850cf,_0x5a131d);},'createDecryptor':function(_0x554696,_0x5ef922){const _0x238501=_0x2dd59d;return this[_0x238501(0x27f)](this[_0x238501(0x423)],_0x554696,_0x5ef922);},'init':function(_0x561fda,_0x293b15,_0x574ea2){const _0x3da156=_0x2dd59d;this[_0x3da156(0x22b)]=this[_0x3da156(0x22b)][_0x3da156(0x25c)](_0x574ea2),this[_0x3da156(0x494)]=_0x561fda,this['_key']=_0x293b15,this[_0x3da156(0x653)]();},'reset':function(){const _0x1c3aa6=_0x2dd59d;_0x54f7a5[_0x1c3aa6(0x653)][_0x1c3aa6(0x353)](this),this[_0x1c3aa6(0x39e)]();},'process':function(_0x6869c9){const _0x30c333=_0x2dd59d;return this[_0x30c333(0x626)](_0x6869c9),this[_0x30c333(0x45a)]();},'finalize':function(_0x4a8d9b){const _0x4575b6=_0x2dd59d;_0x4a8d9b&&this['_append'](_0x4a8d9b);var _0x32742f=this[_0x4575b6(0x485)]();return _0x32742f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x316c0f(_0x1fe007){const _0x3ee2a8=_0x4acf;return typeof _0x1fe007==_0x3ee2a8(0x3fe)?_0x2795c7:_0x4c6ee5;}return function(_0x399969){return{'encrypt':function(_0x2380cb,_0x4a7b89,_0x43ce25){const _0x2fed4d=_0x4acf;return _0x316c0f(_0x4a7b89)[_0x2fed4d(0x2c9)](_0x399969,_0x2380cb,_0x4a7b89,_0x43ce25);},'decrypt':function(_0xa5858f,_0x5874c8,_0x512411){return _0x316c0f(_0x5874c8)['decrypt'](_0x399969,_0xa5858f,_0x5874c8,_0x512411);}};};}())});_0x5cbe11[_0x2dd59d(0x661)]=_0x576c87[_0x2dd59d(0x25c)]({'_doFinalize':function(){const _0xab31b9=_0x2dd59d;var _0x10f698=this[_0xab31b9(0x45a)](!0x0);return _0x10f698;},'blockSize':0x1});var _0x33ecc0=_0x35f11c[_0x2dd59d(0x4fd)]={},_0x47b11f=_0x5cbe11[_0x2dd59d(0x345)]=_0x39e602[_0x2dd59d(0x25c)]({'createEncryptor':function(_0x59a702,_0x13a05e){const _0x19ebdc=_0x2dd59d;return this[_0x19ebdc(0x391)]['create'](_0x59a702,_0x13a05e);},'createDecryptor':function(_0x76dec4,_0xf003bc){const _0x566ffe=_0x2dd59d;return this[_0x566ffe(0x50b)][_0x566ffe(0x27f)](_0x76dec4,_0xf003bc);},'init':function(_0x11e417,_0x58e94d){const _0x3976e7=_0x2dd59d;this[_0x3976e7(0x5ea)]=_0x11e417,this[_0x3976e7(0x5ba)]=_0x58e94d;}}),_0x5f4710=_0x33ecc0[_0x2dd59d(0x635)]=(function(){const _0x1fa96e=_0x2dd59d;var _0x4ee855=_0x47b11f[_0x1fa96e(0x25c)]();_0x4ee855[_0x1fa96e(0x391)]=_0x4ee855[_0x1fa96e(0x25c)]({'processBlock':function(_0x1e83ae,_0x441fd2){const _0xcaecf5=_0x1fa96e;var _0x4cb509=this[_0xcaecf5(0x5ea)],_0x5b1ff1=_0x4cb509[_0xcaecf5(0x478)];_0xd68371[_0xcaecf5(0x353)](this,_0x1e83ae,_0x441fd2,_0x5b1ff1),_0x4cb509[_0xcaecf5(0x527)](_0x1e83ae,_0x441fd2),this[_0xcaecf5(0x597)]=_0x1e83ae['slice'](_0x441fd2,_0x441fd2+_0x5b1ff1);}}),_0x4ee855[_0x1fa96e(0x50b)]=_0x4ee855[_0x1fa96e(0x25c)]({'processBlock':function(_0x23e3e8,_0x11a26e){const _0x447511=_0x1fa96e;var _0x329b46=this[_0x447511(0x5ea)],_0x1ad121=_0x329b46[_0x447511(0x478)],_0x1957db=_0x23e3e8['slice'](_0x11a26e,_0x11a26e+_0x1ad121);_0x329b46[_0x447511(0x3ab)](_0x23e3e8,_0x11a26e),_0xd68371[_0x447511(0x353)](this,_0x23e3e8,_0x11a26e,_0x1ad121),this[_0x447511(0x597)]=_0x1957db;}});function _0xd68371(_0x46b171,_0x1e0e75,_0x1a614a){const _0x5f416f=_0x1fa96e;var _0x4f6b57,_0xcca3ab=this[_0x5f416f(0x5ba)];_0xcca3ab?(_0x4f6b57=_0xcca3ab,this[_0x5f416f(0x5ba)]=_0x1a52b3):_0x4f6b57=this[_0x5f416f(0x597)];for(var _0x54fcb2=0x0;_0x54fcb2<_0x1a614a;_0x54fcb2++)_0x46b171[_0x1e0e75+_0x54fcb2]^=_0x4f6b57[_0x54fcb2];}return _0x4ee855;}()),_0x296e2e=_0x35f11c[_0x2dd59d(0x1ee)]={},_0x16f8ba=_0x296e2e[_0x2dd59d(0x2d0)]={'pad':function(_0x1fa946,_0xfde6ff){const _0x1a28f4=_0x2dd59d;for(var _0x597bf6=_0xfde6ff*0x4,_0x20ccb8=_0x597bf6-_0x1fa946[_0x1a28f4(0x567)]%_0x597bf6,_0x1eb13f=_0x20ccb8<<0x18|_0x20ccb8<<0x10|_0x20ccb8<<0x8|_0x20ccb8,_0x30b007=[],_0x51e851=0x0;_0x51e851<_0x20ccb8;_0x51e851+=0x4)_0x30b007['push'](_0x1eb13f);var _0x33d427=_0x16e12f[_0x1a28f4(0x27f)](_0x30b007,_0x20ccb8);_0x1fa946[_0x1a28f4(0x307)](_0x33d427);},'unpad':function(_0xfd6d63){const _0x587e0c=_0x2dd59d;var _0x1025e1=_0xfd6d63[_0x587e0c(0x315)][_0xfd6d63[_0x587e0c(0x567)]-0x1>>>0x2]&0xff;_0xfd6d63[_0x587e0c(0x567)]-=_0x1025e1;}};_0x5cbe11[_0x2dd59d(0x326)]=_0x576c87[_0x2dd59d(0x25c)]({'cfg':_0x576c87['cfg'][_0x2dd59d(0x25c)]({'mode':_0x5f4710,'padding':_0x16f8ba}),'reset':function(){const _0x5449a2=_0x2dd59d;var _0x470b3f;_0x576c87[_0x5449a2(0x653)][_0x5449a2(0x353)](this);var _0x27e645=this[_0x5449a2(0x22b)],_0x5d2db0=_0x27e645['iv'],_0x4eea9e=_0x27e645['mode'];this[_0x5449a2(0x494)]==this['_ENC_XFORM_MODE']?_0x470b3f=_0x4eea9e[_0x5449a2(0x1d4)]:(_0x470b3f=_0x4eea9e[_0x5449a2(0x26c)],this[_0x5449a2(0x379)]=0x1),this[_0x5449a2(0x4b6)]&&this[_0x5449a2(0x4b6)]['__creator']==_0x470b3f?this['_mode'][_0x5449a2(0x201)](this,_0x5d2db0&&_0x5d2db0[_0x5449a2(0x315)]):(this[_0x5449a2(0x4b6)]=_0x470b3f['call'](_0x4eea9e,this,_0x5d2db0&&_0x5d2db0[_0x5449a2(0x315)]),this['_mode'][_0x5449a2(0x53a)]=_0x470b3f);},'_doProcessBlock':function(_0x4aa220,_0x3b372d){const _0x1c8354=_0x2dd59d;this[_0x1c8354(0x4b6)][_0x1c8354(0x25b)](_0x4aa220,_0x3b372d);},'_doFinalize':function(){const _0x19eb1c=_0x2dd59d;var _0x176544,_0x33471b=this[_0x19eb1c(0x22b)][_0x19eb1c(0x38d)];return this[_0x19eb1c(0x494)]==this['_ENC_XFORM_MODE']?(_0x33471b[_0x19eb1c(0x1ee)](this[_0x19eb1c(0x217)],this['blockSize']),_0x176544=this[_0x19eb1c(0x45a)](!0x0)):(_0x176544=this['_process'](!0x0),_0x33471b[_0x19eb1c(0x306)](_0x176544)),_0x176544;},'blockSize':0x80/0x20});var _0x20f150=_0x5cbe11[_0x2dd59d(0x3ea)]=_0x39e602[_0x2dd59d(0x25c)]({'init':function(_0x30b65c){this['mixIn'](_0x30b65c);},'toString':function(_0x547e40){const _0xe6c935=_0x2dd59d;return(_0x547e40||this[_0xe6c935(0x4b4)])[_0xe6c935(0x403)](this);}}),_0x135c33=_0x35f11c['format']={},_0xec0ad7=_0x135c33[_0x2dd59d(0x390)]={'stringify':function(_0x222018){const _0x4e79be=_0x2dd59d;var _0x53e32e,_0xda597b=_0x222018['ciphertext'],_0x5c78b0=_0x222018[_0x4e79be(0x3ac)];return _0x5c78b0?_0x53e32e=_0x16e12f[_0x4e79be(0x27f)]([0x53616c74,0x65645f5f])['concat'](_0x5c78b0)[_0x4e79be(0x307)](_0xda597b):_0x53e32e=_0xda597b,_0x53e32e[_0x4e79be(0x5c8)](_0x3dc2df);},'parse':function(_0x5c4741){const _0x5c397d=_0x2dd59d;var _0x4f45b1,_0x4c352f=_0x3dc2df[_0x5c397d(0x25f)](_0x5c4741),_0x5f2141=_0x4c352f['words'];return _0x5f2141[0x0]==0x53616c74&&_0x5f2141[0x1]==0x65645f5f&&(_0x4f45b1=_0x16e12f[_0x5c397d(0x27f)](_0x5f2141[_0x5c397d(0x554)](0x2,0x4)),_0x5f2141[_0x5c397d(0x535)](0x0,0x4),_0x4c352f['sigBytes']-=0x10),_0x20f150[_0x5c397d(0x27f)]({'ciphertext':_0x4c352f,'salt':_0x4f45b1});}},_0x4c6ee5=_0x5cbe11['SerializableCipher']=_0x39e602[_0x2dd59d(0x25c)]({'cfg':_0x39e602[_0x2dd59d(0x25c)]({'format':_0xec0ad7}),'encrypt':function(_0x4ed0d9,_0x37baeb,_0x9309d7,_0x4086b7){const _0xf9db17=_0x2dd59d;_0x4086b7=this[_0xf9db17(0x22b)][_0xf9db17(0x25c)](_0x4086b7);var _0x54fb87=_0x4ed0d9[_0xf9db17(0x1d4)](_0x9309d7,_0x4086b7),_0x2d4f08=_0x54fb87[_0xf9db17(0x582)](_0x37baeb),_0x5d02f0=_0x54fb87['cfg'];return _0x20f150['create']({'ciphertext':_0x2d4f08,'key':_0x9309d7,'iv':_0x5d02f0['iv'],'algorithm':_0x4ed0d9,'mode':_0x5d02f0['mode'],'padding':_0x5d02f0[_0xf9db17(0x38d)],'blockSize':_0x4ed0d9[_0xf9db17(0x478)],'formatter':_0x4086b7['format']});},'decrypt':function(_0xde5f3a,_0x223547,_0x3bd718,_0x1ba815){const _0x22aa0e=_0x2dd59d;_0x1ba815=this[_0x22aa0e(0x22b)][_0x22aa0e(0x25c)](_0x1ba815),_0x223547=this[_0x22aa0e(0x499)](_0x223547,_0x1ba815[_0x22aa0e(0x3df)]);var _0x147d9c=_0xde5f3a[_0x22aa0e(0x26c)](_0x3bd718,_0x1ba815)[_0x22aa0e(0x582)](_0x223547[_0x22aa0e(0x2e4)]);return _0x147d9c;},'_parse':function(_0x56e0c9,_0x5e4bcc){const _0x4f8712=_0x2dd59d;return typeof _0x56e0c9==_0x4f8712(0x3fe)?_0x5e4bcc[_0x4f8712(0x25f)](_0x56e0c9,this):_0x56e0c9;}}),_0x8aac19=_0x35f11c['kdf']={},_0x5836ab=_0x8aac19['OpenSSL']={'execute':function(_0x424912,_0x3c6f5d,_0x74831a,_0x59fb6a,_0x16d84f){const _0x543d48=_0x2dd59d;if(_0x59fb6a||(_0x59fb6a=_0x16e12f['random'](0x40/0x8)),_0x16d84f)var _0x1065b4=_0x106260['create']({'keySize':_0x3c6f5d+_0x74831a,'hasher':_0x16d84f})[_0x543d48(0x539)](_0x424912,_0x59fb6a);else var _0x1065b4=_0x106260[_0x543d48(0x27f)]({'keySize':_0x3c6f5d+_0x74831a})[_0x543d48(0x539)](_0x424912,_0x59fb6a);var _0x2ebf86=_0x16e12f[_0x543d48(0x27f)](_0x1065b4[_0x543d48(0x315)][_0x543d48(0x554)](_0x3c6f5d),_0x74831a*0x4);return _0x1065b4[_0x543d48(0x567)]=_0x3c6f5d*0x4,_0x20f150[_0x543d48(0x27f)]({'key':_0x1065b4,'iv':_0x2ebf86,'salt':_0x59fb6a});}},_0x2795c7=_0x5cbe11['PasswordBasedCipher']=_0x4c6ee5[_0x2dd59d(0x25c)]({'cfg':_0x4c6ee5[_0x2dd59d(0x22b)][_0x2dd59d(0x25c)]({'kdf':_0x5836ab}),'encrypt':function(_0x3b7d21,_0xb82dda,_0x3719fd,_0x2be88d){const _0x332fc8=_0x2dd59d;_0x2be88d=this[_0x332fc8(0x22b)][_0x332fc8(0x25c)](_0x2be88d);var _0x5d929a=_0x2be88d[_0x332fc8(0x4e7)][_0x332fc8(0x37a)](_0x3719fd,_0x3b7d21[_0x332fc8(0x40d)],_0x3b7d21['ivSize'],_0x2be88d[_0x332fc8(0x3ac)],_0x2be88d[_0x332fc8(0x2ae)]);_0x2be88d['iv']=_0x5d929a['iv'];var _0x1d1192=_0x4c6ee5[_0x332fc8(0x2c9)][_0x332fc8(0x353)](this,_0x3b7d21,_0xb82dda,_0x5d929a[_0x332fc8(0x5a1)],_0x2be88d);return _0x1d1192[_0x332fc8(0x30b)](_0x5d929a),_0x1d1192;},'decrypt':function(_0x1d3fa9,_0x43ed9c,_0x18ed99,_0x3c0a2f){const _0x348531=_0x2dd59d;_0x3c0a2f=this['cfg'][_0x348531(0x25c)](_0x3c0a2f),_0x43ed9c=this['_parse'](_0x43ed9c,_0x3c0a2f['format']);var _0x1705fb=_0x3c0a2f[_0x348531(0x4e7)]['execute'](_0x18ed99,_0x1d3fa9[_0x348531(0x40d)],_0x1d3fa9[_0x348531(0x250)],_0x43ed9c[_0x348531(0x3ac)],_0x3c0a2f['hasher']);_0x3c0a2f['iv']=_0x1705fb['iv'];var _0x316ef0=_0x4c6ee5[_0x348531(0x55d)][_0x348531(0x353)](this,_0x1d3fa9,_0x43ed9c,_0x1705fb['key'],_0x3c0a2f);return _0x316ef0;}});}();}));}(vt)),vt[_0x4c225f(0x682)];}(function(_0x44a82e,_0x2b8d8f){(function(_0x1f9344,_0x471cd5,_0x3a3660){const _0x271848=_0x4acf;_0x44a82e[_0x271848(0x682)]=_0x471cd5(oe(),Pi(),fr(),wi(),Ui());}(Z,function(_0x415000){const _0x59507e=_0x4acf;return(function(){const _0x4493dd=_0x4acf;var _0x891087=_0x415000,_0x447b84=_0x891087[_0x4493dd(0x5d6)],_0x17aedf=_0x447b84[_0x4493dd(0x326)],_0x256ddf=_0x891087[_0x4493dd(0x604)],_0x473602=[],_0xaac575=[],_0x340401=[],_0x2f7972=[],_0x1d4bdc=[],_0xdc39ee=[],_0x1c2155=[],_0x346898=[],_0xdb122c=[],_0x2adca4=[];(function(){for(var _0x3a85d7=[],_0x57e5a9=0x0;_0x57e5a9<0x100;_0x57e5a9++)_0x57e5a9<0x80?_0x3a85d7[_0x57e5a9]=_0x57e5a9<<0x1:_0x3a85d7[_0x57e5a9]=_0x57e5a9<<0x1^0x11b;for(var _0xc88be2=0x0,_0x619c33=0x0,_0x57e5a9=0x0;_0x57e5a9<0x100;_0x57e5a9++){var _0x9a7e83=_0x619c33^_0x619c33<<0x1^_0x619c33<<0x2^_0x619c33<<0x3^_0x619c33<<0x4;_0x9a7e83=_0x9a7e83>>>0x8^_0x9a7e83&0xff^0x63,_0x473602[_0xc88be2]=_0x9a7e83,_0xaac575[_0x9a7e83]=_0xc88be2;var _0x32eae8=_0x3a85d7[_0xc88be2],_0x5782a0=_0x3a85d7[_0x32eae8],_0x24d465=_0x3a85d7[_0x5782a0],_0x2f6190=_0x3a85d7[_0x9a7e83]*0x101^_0x9a7e83*0x1010100;_0x340401[_0xc88be2]=_0x2f6190<<0x18|_0x2f6190>>>0x8,_0x2f7972[_0xc88be2]=_0x2f6190<<0x10|_0x2f6190>>>0x10,_0x1d4bdc[_0xc88be2]=_0x2f6190<<0x8|_0x2f6190>>>0x18,_0xdc39ee[_0xc88be2]=_0x2f6190;var _0x2f6190=_0x24d465*0x1010101^_0x5782a0*0x10001^_0x32eae8*0x101^_0xc88be2*0x1010100;_0x1c2155[_0x9a7e83]=_0x2f6190<<0x18|_0x2f6190>>>0x8,_0x346898[_0x9a7e83]=_0x2f6190<<0x10|_0x2f6190>>>0x10,_0xdb122c[_0x9a7e83]=_0x2f6190<<0x8|_0x2f6190>>>0x18,_0x2adca4[_0x9a7e83]=_0x2f6190,_0xc88be2?(_0xc88be2=_0x32eae8^_0x3a85d7[_0x3a85d7[_0x3a85d7[_0x24d465^_0x32eae8]]],_0x619c33^=_0x3a85d7[_0x3a85d7[_0x619c33]]):_0xc88be2=_0x619c33=0x1;}}());var _0x1b80bc=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x40e795=_0x256ddf[_0x4493dd(0x259)]=_0x17aedf[_0x4493dd(0x25c)]({'_doReset':function(){const _0x439b22=_0x4493dd;var _0xdd8226;if(!(this[_0x439b22(0x59a)]&&this[_0x439b22(0x363)]===this[_0x439b22(0x2f1)])){for(var _0x66946f=this[_0x439b22(0x363)]=this[_0x439b22(0x2f1)],_0x2c7e1a=_0x66946f[_0x439b22(0x315)],_0xbee94d=_0x66946f['sigBytes']/0x4,_0x2fdd97=this['_nRounds']=_0xbee94d+0x6,_0x10dd97=(_0x2fdd97+0x1)*0x4,_0x412093=this[_0x439b22(0x2d8)]=[],_0x23fa8c=0x0;_0x23fa8c<_0x10dd97;_0x23fa8c++)_0x23fa8c<_0xbee94d?_0x412093[_0x23fa8c]=_0x2c7e1a[_0x23fa8c]:(_0xdd8226=_0x412093[_0x23fa8c-0x1],_0x23fa8c%_0xbee94d?_0xbee94d>0x6&&_0x23fa8c%_0xbee94d==0x4&&(_0xdd8226=_0x473602[_0xdd8226>>>0x18]<<0x18|_0x473602[_0xdd8226>>>0x10&0xff]<<0x10|_0x473602[_0xdd8226>>>0x8&0xff]<<0x8|_0x473602[_0xdd8226&0xff]):(_0xdd8226=_0xdd8226<<0x8|_0xdd8226>>>0x18,_0xdd8226=_0x473602[_0xdd8226>>>0x18]<<0x18|_0x473602[_0xdd8226>>>0x10&0xff]<<0x10|_0x473602[_0xdd8226>>>0x8&0xff]<<0x8|_0x473602[_0xdd8226&0xff],_0xdd8226^=_0x1b80bc[_0x23fa8c/_0xbee94d|0x0]<<0x18),_0x412093[_0x23fa8c]=_0x412093[_0x23fa8c-_0xbee94d]^_0xdd8226);for(var _0x4447b8=this[_0x439b22(0x613)]=[],_0x4f124b=0x0;_0x4f124b<_0x10dd97;_0x4f124b++){var _0x23fa8c=_0x10dd97-_0x4f124b;if(_0x4f124b%0x4)var _0xdd8226=_0x412093[_0x23fa8c];else var _0xdd8226=_0x412093[_0x23fa8c-0x4];_0x4f124b<0x4||_0x23fa8c<=0x4?_0x4447b8[_0x4f124b]=_0xdd8226:_0x4447b8[_0x4f124b]=_0x1c2155[_0x473602[_0xdd8226>>>0x18]]^_0x346898[_0x473602[_0xdd8226>>>0x10&0xff]]^_0xdb122c[_0x473602[_0xdd8226>>>0x8&0xff]]^_0x2adca4[_0x473602[_0xdd8226&0xff]];}}},'encryptBlock':function(_0x1506dd,_0x5bbaf2){const _0x1447ed=_0x4493dd;this[_0x1447ed(0x295)](_0x1506dd,_0x5bbaf2,this[_0x1447ed(0x2d8)],_0x340401,_0x2f7972,_0x1d4bdc,_0xdc39ee,_0x473602);},'decryptBlock':function(_0x47d5d4,_0x31fdd8){const _0x10d3f5=_0x4493dd;var _0x11954b=_0x47d5d4[_0x31fdd8+0x1];_0x47d5d4[_0x31fdd8+0x1]=_0x47d5d4[_0x31fdd8+0x3],_0x47d5d4[_0x31fdd8+0x3]=_0x11954b,this[_0x10d3f5(0x295)](_0x47d5d4,_0x31fdd8,this[_0x10d3f5(0x613)],_0x1c2155,_0x346898,_0xdb122c,_0x2adca4,_0xaac575);var _0x11954b=_0x47d5d4[_0x31fdd8+0x1];_0x47d5d4[_0x31fdd8+0x1]=_0x47d5d4[_0x31fdd8+0x3],_0x47d5d4[_0x31fdd8+0x3]=_0x11954b;},'_doCryptBlock':function(_0x58d588,_0x1c6d73,_0x535d54,_0x4a9464,_0x5d5900,_0x51d17b,_0x13655b,_0x38293d){const _0x343442=_0x4493dd;for(var _0x5e1d78=this[_0x343442(0x59a)],_0x252bc0=_0x58d588[_0x1c6d73]^_0x535d54[0x0],_0x320742=_0x58d588[_0x1c6d73+0x1]^_0x535d54[0x1],_0x1c181f=_0x58d588[_0x1c6d73+0x2]^_0x535d54[0x2],_0x18cf1d=_0x58d588[_0x1c6d73+0x3]^_0x535d54[0x3],_0x211b99=0x4,_0x477f5b=0x1;_0x477f5b<_0x5e1d78;_0x477f5b++){var _0x4fa67d=_0x4a9464[_0x252bc0>>>0x18]^_0x5d5900[_0x320742>>>0x10&0xff]^_0x51d17b[_0x1c181f>>>0x8&0xff]^_0x13655b[_0x18cf1d&0xff]^_0x535d54[_0x211b99++],_0x5ea397=_0x4a9464[_0x320742>>>0x18]^_0x5d5900[_0x1c181f>>>0x10&0xff]^_0x51d17b[_0x18cf1d>>>0x8&0xff]^_0x13655b[_0x252bc0&0xff]^_0x535d54[_0x211b99++],_0x59918b=_0x4a9464[_0x1c181f>>>0x18]^_0x5d5900[_0x18cf1d>>>0x10&0xff]^_0x51d17b[_0x252bc0>>>0x8&0xff]^_0x13655b[_0x320742&0xff]^_0x535d54[_0x211b99++],_0x512395=_0x4a9464[_0x18cf1d>>>0x18]^_0x5d5900[_0x252bc0>>>0x10&0xff]^_0x51d17b[_0x320742>>>0x8&0xff]^_0x13655b[_0x1c181f&0xff]^_0x535d54[_0x211b99++];_0x252bc0=_0x4fa67d,_0x320742=_0x5ea397,_0x1c181f=_0x59918b,_0x18cf1d=_0x512395;}var _0x4fa67d=(_0x38293d[_0x252bc0>>>0x18]<<0x18|_0x38293d[_0x320742>>>0x10&0xff]<<0x10|_0x38293d[_0x1c181f>>>0x8&0xff]<<0x8|_0x38293d[_0x18cf1d&0xff])^_0x535d54[_0x211b99++],_0x5ea397=(_0x38293d[_0x320742>>>0x18]<<0x18|_0x38293d[_0x1c181f>>>0x10&0xff]<<0x10|_0x38293d[_0x18cf1d>>>0x8&0xff]<<0x8|_0x38293d[_0x252bc0&0xff])^_0x535d54[_0x211b99++],_0x59918b=(_0x38293d[_0x1c181f>>>0x18]<<0x18|_0x38293d[_0x18cf1d>>>0x10&0xff]<<0x10|_0x38293d[_0x252bc0>>>0x8&0xff]<<0x8|_0x38293d[_0x320742&0xff])^_0x535d54[_0x211b99++],_0x512395=(_0x38293d[_0x18cf1d>>>0x18]<<0x18|_0x38293d[_0x252bc0>>>0x10&0xff]<<0x10|_0x38293d[_0x320742>>>0x8&0xff]<<0x8|_0x38293d[_0x1c181f&0xff])^_0x535d54[_0x211b99++];_0x58d588[_0x1c6d73]=_0x4fa67d,_0x58d588[_0x1c6d73+0x1]=_0x5ea397,_0x58d588[_0x1c6d73+0x2]=_0x59918b,_0x58d588[_0x1c6d73+0x3]=_0x512395;},'keySize':0x100/0x20});_0x891087['AES']=_0x17aedf[_0x4493dd(0x681)](_0x40e795);}()),_0x415000[_0x59507e(0x259)];}));}(Di));var pr=Di[_0x543e24(0x682)];const mr=xe(pr);var gr=Pi();const Qt=xe(gr);var Mi={'exports':{}};(function(_0x365a86,_0x10733b){(function(_0x2e76e,_0x59a322){const _0x46ad53=_0x4acf;_0x365a86[_0x46ad53(0x682)]=_0x59a322(oe());}(Z,function(_0x528605){const _0x3cdd3b=_0x4acf;return _0x528605[_0x3cdd3b(0x3b5)][_0x3cdd3b(0x28e)];}));}(Mi));var Ir=Mi[_0x543e24(0x682)];const Cr=xe(Ir);var Ai={'exports':{}};(function(_0x1e1b7a,_0x2f7441){(function(_0x5707bf,_0x43f619){const _0x36692a=_0x4acf;_0x1e1b7a[_0x36692a(0x682)]=_0x43f619(oe());}(Z,function(_0x5a6e9e){const _0x1731f7=_0x4acf;return(function(){const _0x3af222=_0x4acf;if(typeof ArrayBuffer==_0x3af222(0x3ae)){var _0x43684a=_0x5a6e9e,_0x27feae=_0x43684a[_0x3af222(0x5d6)],_0x2be940=_0x27feae[_0x3af222(0x2da)],_0x334645=_0x2be940['init'],_0x116e6c=_0x2be940[_0x3af222(0x201)]=function(_0x274a91){const _0x154d26=_0x3af222;if(_0x274a91 instanceof ArrayBuffer&&(_0x274a91=new Uint8Array(_0x274a91)),(_0x274a91 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x274a91 instanceof Uint8ClampedArray||_0x274a91 instanceof Int16Array||_0x274a91 instanceof Uint16Array||_0x274a91 instanceof Int32Array||_0x274a91 instanceof Uint32Array||_0x274a91 instanceof Float32Array||_0x274a91 instanceof Float64Array)&&(_0x274a91=new Uint8Array(_0x274a91['buffer'],_0x274a91[_0x154d26(0x282)],_0x274a91[_0x154d26(0x5dc)])),_0x274a91 instanceof Uint8Array){for(var _0x2b148c=_0x274a91[_0x154d26(0x5dc)],_0x23f108=[],_0x1b1966=0x0;_0x1b1966<_0x2b148c;_0x1b1966++)_0x23f108[_0x1b1966>>>0x2]|=_0x274a91[_0x1b1966]<<0x18-_0x1b1966%0x4*0x8;_0x334645[_0x154d26(0x353)](this,_0x23f108,_0x2b148c);}else _0x334645[_0x154d26(0x3b2)](this,arguments);};_0x116e6c[_0x3af222(0x20a)]=_0x2be940;}}()),_0x5a6e9e[_0x1731f7(0x5d6)][_0x1731f7(0x2da)];}));}(Ai));var Er=Ai['exports'];const br=xe(Er);var Ni={'exports':{}};(function(_0xde50b4,_0x4f7c7c){(function(_0x740010,_0x2a8259,_0x3c0d68){const _0x5f0165=_0x4acf;_0xde50b4[_0x5f0165(0x682)]=_0x2a8259(oe(),Ui());}(Z,function(_0x533da1){const _0x208719=_0x4acf;return _0x533da1['pad'][_0x208719(0x498)]={'pad':function(){},'unpad':function(){}},_0x533da1[_0x208719(0x1ee)][_0x208719(0x498)];}));}(Ni));var Tr=Ni[_0x543e24(0x682)];function _0x4acf(_0x35b35a,_0x534765){const _0x674530=_0x6745();return _0x4acf=function(_0x4acf57,_0x5d3543){_0x4acf57=_0x4acf57-0x1d3;let _0x297c00=_0x674530[_0x4acf57];return _0x297c00;},_0x4acf(_0x35b35a,_0x534765);}const Rr=xe(Tr);function yr(_0x436a7e,_0x23a377){const _0x399add=_0x23a377-_0x436a7e['length']%_0x23a377,_0x2ede37=String['fromCharCode'](_0x399add)['repeat'](_0x399add);return _0x436a7e+_0x2ede37;}function Or(_0x27206b,_0x4e0a81){const _0xf3f169=_0x543e24,_0x4cc4bd=br[_0xf3f169(0x68c)](0x10),_0x474626=yr(_0x27206b,0x10),_0x42c49b=mr[_0xf3f169(0x2c9)](Cr[_0xf3f169(0x25f)](_0x474626),Qt[_0xf3f169(0x25f)](_0x4e0a81),{'iv':_0x4cc4bd,'padding':Rr});return _0x4cc4bd[_0xf3f169(0x307)](_0x42c49b[_0xf3f169(0x2e4)])['toString'](Qt);}function Dr(){const _0x275f8b=_0x543e24,_0x3e0a71=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x275f8b(0x356)];if(_0x3e0a71){const _0x421728={'time':Math[_0x275f8b(0x462)](Date[_0x275f8b(0x4c6)]()/0x3e8),'domain':location[_0x275f8b(0x3ed)]};return Or(JSON['stringify'](_0x421728),_0x3e0a71);}}var Pr=Object[_0x543e24(0x685)],wr=Object[_0x543e24(0x3e8)],Ur=(_0x2ef3a7,_0x4da185,_0x1ffbff,_0x55d68b)=>{const _0x66f6be=_0x543e24;for(var _0xa2e23d=_0x55d68b>0x1?void 0x0:_0x55d68b?wr(_0x4da185,_0x1ffbff):_0x4da185,_0x2ebf84=_0x2ef3a7[_0x66f6be(0x65c)]-0x1,_0xb4b28a;_0x2ebf84>=0x0;_0x2ebf84--)(_0xb4b28a=_0x2ef3a7[_0x2ebf84])&&(_0xa2e23d=(_0x55d68b?_0xb4b28a(_0x4da185,_0x1ffbff,_0xa2e23d):_0xb4b28a(_0xa2e23d))||_0xa2e23d);return _0x55d68b&&_0xa2e23d&&Pr(_0x4da185,_0x1ffbff,_0xa2e23d),_0xa2e23d;},Mr=(_0x15c051,_0xc8a6fd)=>(_0xa145c0,_0x4a7b9d)=>_0xc8a6fd(_0xa145c0,_0x4a7b9d,_0x15c051);let Ke=class{constructor(_0x252a36){const _0x3f3131=_0x543e24;this[_0x3f3131(0x2d6)]=_0x252a36,this['_initRequestHeader']();}[_0x543e24(0x24b)](){const _0x48f6f2=_0x543e24;this[_0x48f6f2(0x2d6)][_0x48f6f2(0x52e)]({'interceptor':(_0x31edfa,_0x3923b4)=>{const _0x4d60c6=_0x48f6f2,_0x8a3e0b=_0x31edfa[_0x4d60c6(0x260)],_0x1c9114=Dr();return _0x1c9114&&_0x8a3e0b[_0x4d60c6(0x4b5)](_0x4d60c6(0x4f5),_0x1c9114),_0x3923b4(_0x31edfa);}});}};Ke=Ur([Mr(0x0,a[_0x543e24(0x432)](z[_0x543e24(0x1df)]))],Ke);var Ar=Object[_0x543e24(0x685)],Nr=Object['getOwnPropertyDescriptor'],Lr=(_0x54c576,_0x3fe719,_0x231fc6,_0x296ffd)=>{const _0x5456fc=_0x543e24;for(var _0x3f0478=_0x296ffd>0x1?void 0x0:_0x296ffd?Nr(_0x3fe719,_0x231fc6):_0x3fe719,_0x31f3f3=_0x54c576[_0x5456fc(0x65c)]-0x1,_0x53fc72;_0x31f3f3>=0x0;_0x31f3f3--)(_0x53fc72=_0x54c576[_0x31f3f3])&&(_0x3f0478=(_0x296ffd?_0x53fc72(_0x3fe719,_0x231fc6,_0x3f0478):_0x53fc72(_0x3f0478))||_0x3f0478);return _0x296ffd&&_0x3f0478&&Ar(_0x3fe719,_0x231fc6,_0x3f0478),_0x3f0478;},St=(_0x4ee59b,_0x31d79a)=>(_0x2140ba,_0x2d62e0)=>_0x31d79a(_0x2140ba,_0x2d62e0,_0x4ee59b);const xr=[_0x543e24(0x425),_0x543e24(0x3a7),'image/jpg','image/gif','image/bmp'],jr=0x5*0x400*0x400,$r=_0x543e24(0x44a),Hr=_0x543e24(0x437),Br=_0x543e24(0x2b7),kr=_0x543e24(0x393);exports[_0x543e24(0x3d7)]=class{constructor(_0x17090,_0x271ad4,_0x10b406){const _0x15ba99=_0x543e24;I(this,_0x15ba99(0x31e),0x0),I(this,_0x15ba99(0x3f8),new A['Subject']()),I(this,_0x15ba99(0x418),this['_change$']),I(this,_0x15ba99(0x339),new Map()),(this['_httpService']=_0x17090,this[_0x15ba99(0x518)]=_0x271ad4,this[_0x15ba99(0x47c)]=_0x10b406);}['setWaitCount'](_0x2b6eb2){const _0x3244d3=_0x543e24;this[_0x3244d3(0x31e)]=_0x2b6eb2,this[_0x3244d3(0x3f8)][_0x3244d3(0x218)](_0x2b6eb2);}[_0x543e24(0x64c)](_0xf9561a,_0x480193){const _0x5b39d9=_0x543e24;if(_0x480193===ie[_0x5b39d9(0x4fc)][_0x5b39d9(0x304)]){const _0xb0235=new Image();return _0xb0235['src']=_0xf9561a,_0xb0235;}return this['_imageSourceCache'][_0x5b39d9(0x5e6)](_0xf9561a);}[_0x543e24(0x5d3)](_0x20ce17,_0x2791dc,_0xc67b81){const _0x1cd800=_0x543e24;_0x2791dc===ie[_0x1cd800(0x4fc)][_0x1cd800(0x304)]||_0xc67b81==null||this[_0x1cd800(0x339)][_0x1cd800(0x4b5)](_0x20ce17,_0xc67b81);}async['getImage'](_0x345865){const _0x197b78=_0x543e24;try{const _0x3a17cf=this['_replaceFileID'](this[_0x197b78(0x55f)](),''+_0x345865),_0x2a756d=(await this['_httpService'][_0x197b78(0x5e6)](_0x3a17cf))[_0x197b78(0x542)];if(_0x2a756d[_0x197b78(0x624)]&&_0x2a756d[_0x197b78(0x624)][_0x197b78(0x278)]===_i['OK']){const _0x3e235a=new URL(_0x2a756d[_0x197b78(0x598)],this[_0x197b78(0x57d)]())[_0x197b78(0x5c8)]();return Promise['resolve'](_0x3e235a);}return Promise[_0x197b78(0x678)](_0x2a756d[_0x197b78(0x624)]);}catch(_0x886710){return Promise[_0x197b78(0x678)](_0x886710);}}async[_0x543e24(0x501)](_0x11e8cc){const _0x2fee9a=_0x543e24;let _0xbe5908='';if(!xr['includes'](_0x11e8cc[_0x2fee9a(0x267)]))return this[_0x2fee9a(0x21f)](),Promise[_0x2fee9a(0x678)](new Error(ie['ImageUploadStatusType'][_0x2fee9a(0x4b8)]));if(_0x11e8cc[_0x2fee9a(0x59e)]>jr)return this['_decreaseWaiting'](),Promise[_0x2fee9a(0x678)](new Error(ie['ImageUploadStatusType'][_0x2fee9a(0x1d5)]));try{const _0x2e88eb=new FormData();_0x2e88eb[_0x2fee9a(0x455)](_0x2fee9a(0x439),_0x11e8cc);const _0x5de683=this[_0x2fee9a(0x47c)]['getFocusedUnit'](),_0x39c309=_0x5de683==null?void 0x0:_0x5de683['getUnitId']();if(!_0x39c309)throw new Error(_0x2fee9a(0x60c));const _0x50984f=this[_0x2fee9a(0x39a)]()+_0x2fee9a(0x4be)+_0x11e8cc[_0x2fee9a(0x59e)][_0x2fee9a(0x5c8)]()+'&source='+ui['UnitEmbedded']+_0x2fee9a(0x5a2)+encodeURIComponent(_0x39c309),_0x23c04a=await(await fetch(_0x50984f,{'method':_0x2fee9a(0x68d),'body':_0x2e88eb}))[_0x2fee9a(0x552)]();if(typeof _0x23c04a[_0x2fee9a(0x662)]!='string')return this[_0x2fee9a(0x21f)](),Promise['reject'](new Error(ie[_0x2fee9a(0x40c)][_0x2fee9a(0x23c)]));_0xbe5908=_0x23c04a[_0x2fee9a(0x662)];}catch{return this[_0x2fee9a(0x21f)](),Promise[_0x2fee9a(0x678)](new Error(ie[_0x2fee9a(0x40c)][_0x2fee9a(0x23c)]));}return new Promise((_0x452598,_0x4e3b5f)=>{const _0x51dffa=_0x2fee9a,_0x20188d=new FileReader();_0x20188d[_0x51dffa(0x2f2)](_0x11e8cc),_0x20188d[_0x51dffa(0x5e3)]=_0x3ba68e=>{const _0xff7092=_0x51dffa;var _0x4c32b7;const _0x5b9090=(_0x4c32b7=_0x3ba68e[_0xff7092(0x3fd)])==null?void 0x0:_0x4c32b7[_0xff7092(0x42a)];if(_0x5b9090==null){this[_0xff7092(0x21f)](),_0x4e3b5f(new Error(ie[_0xff7092(0x40c)]['ERROR_IMAGE']));return;}const _0x160baa=a['Tools'][_0xff7092(0x2e5)](0x6);_0x452598({'imageId':_0x160baa,'imageSourceType':ie[_0xff7092(0x4fc)][_0xff7092(0x202)],'source':_0xbe5908,'base64Cache':_0x5b9090,'status':ie[_0xff7092(0x40c)][_0xff7092(0x274)]}),this['_decreaseWaiting']();};});}[_0x543e24(0x39a)](){const _0x4b166d=_0x543e24;var _0x2d0130,_0x149da3;const _0x546cd4=this[_0x4b166d(0x518)][_0x4b166d(0x46d)]($r),_0x27ead5=this[_0x4b166d(0x518)]['getConfig'](Q);return(_0x149da3=(_0x2d0130=_0x27ead5==null?void 0x0:_0x27ead5[_0x4b166d(0x268)])!=null?_0x2d0130:_0x546cd4)!=null?_0x149da3:Hr;}['_getSignURL'](){const _0x4d525b=_0x543e24;var _0x4e8675,_0x81e0a9;const _0x3f8758=this['_configService'][_0x4d525b(0x46d)](Br),_0xd9b939=this[_0x4d525b(0x518)][_0x4d525b(0x46d)](Q);return(_0x81e0a9=(_0x4e8675=_0xd9b939==null?void 0x0:_0xd9b939[_0x4d525b(0x4a3)])!=null?_0x4e8675:_0x3f8758)!=null?_0x81e0a9:kr;}[_0x543e24(0x57d)](){const _0x4979f4=_0x543e24;var _0x1c34db;const _0x10ecde=this[_0x4979f4(0x518)][_0x4979f4(0x46d)](Q);return(_0x1c34db=_0x10ecde==null?void 0x0:_0x10ecde[_0x4979f4(0x5a5)])!=null?_0x1c34db:location[_0x4979f4(0x5f8)];}[_0x543e24(0x368)](_0x1b9312,_0x1b0526){const _0x31bd55=_0x543e24;return _0x1b9312[_0x31bd55(0x46c)](_0x31bd55(0x641),_0x1b0526);}[_0x543e24(0x21f)](){const _0x32cbc2=_0x543e24;this[_0x32cbc2(0x31e)]-=0x1,this['_change$'][_0x32cbc2(0x218)](this[_0x32cbc2(0x31e)]);}},exports[_0x543e24(0x3d7)]=Lr([St(0x0,a['Inject'](z['HTTPService'])),St(0x1,a[_0x543e24(0x693)]),St(0x2,a[_0x543e24(0x432)](a[_0x543e24(0x316)]))],exports[_0x543e24(0x3d7)]);function _0x6745(){const _0x1db920=['switchMap','finalize','[FetchMissState]','onTransformRemoteChangesetByIMECache','_clearOtherTimers','onRemoteRej','_anchorDot','method','_clearTimeoutTimer','_localCacheService','_updateSubUnitFromURLParams','RegularPolygon','_tryReconnect','ENSURE_SNAPSHOT_EXECUTION','_permissionService','rev','session.connection-failed','IImageIoService','toStringTag','_onConnectionFailed','UnitSnapshot','permission.title','_prevBlock','url','labelPosition','_nRounds','TEXT','_resendTimer','IMessageService','size','_exhaustRemoteChangesetQueue','Vector2','key','&assign=','DataLoaderController','UniverIcon','downloadEndpointUrl','transform','_sendingTimer','JOIN','APPLY_PERMISSION_DENIED','use','readInt32LE','_transformPreviousActiveRange','_docClipboardService','encode','MoveRangeCommandId','_injector','HELLO','UNKNOWN_CMD','message$','getViewport','take','sessionStatus','awaitingChangeset','InsertRowCommandId','MessageType','_iv','incrementRevOfUnit','getSheetBlock','ceil','LOCAL_CACHE_INTERVAL','getCurrentRevOfUnit','_startDocCollabCursor','getRenderById','UniverNetworkPlugin','_removeCollabCursors','closeSession','/collaborator','DependentOn','_cursorInfo$','toString','_candidateSocket','application/json','getRoom','selections','SEND_CHANGESET_TIMEOUT_KEY','on-line-single_clip0_910_349','doc.mutation.rich-text-editing','_handler','list','_onRemoteChangeset','addImageSourceCache','rxjs/operators','_updateLocalCache','lib','history','_logService','_sheetSkeletonManagerService','Error','dispose','byteLength','unitID','sequenceExecute','_context','HttpExport','CHANGESET_REJ','ColorKit','onload','getColor','IContextService','get','ACTIVE_UNIT_EVENT_CHANNEL','mapTo','MD5','_cipher','UNIVER_COLLABORATION_CLIENT_PLUGIN','editingUnit','join','bottom','onlineStatusTitle','_setupSubUnitSync','_name','_docTransformStateCacheService','Hasher','LOGIN_URL_KEY','objectType','UNKNOWN_CODE','/universer-api/snapshot','origin','SheetCollaborationEntity','patch','onStateChange','_initEventListeners','currentSkeleton$','LIVESHARE_OPERATION','_colorAssignService','getMergeData','544408NBncxF','[CollaborationEntity]','findNodePositionByCharIndex','algo','_render','data','getRangePointData','LICENSE_DISTRO_REJECTED','m1Prime','AuthzIoHttpService','setShapeProps','unitId\x20is\x20not\x20found','HEARTBEAT_TIMEOUT','transformStateCache','getValue','[SyncedState]:\x20received\x20acknowledgement.','_labelPosition','CollaborationEvent','_invKeySchedule','_handleJoinEvent','liveShareOperation','sheetID','INGEST','isPermissionRej','split','fetchMissingChangesets','routeKey','fetchMiss','reverse','INotificationService','sid','endRow','CompressMutationService','getResourcesRequest','getCurrentUser','error','_pendingMutations','_append','_registerRenderDependencies','startRow','_nDataBytes','undoState','_acknowledgedAwaitingChangeset','eventID','put','collabStatus.synced','_urlService','enableAuthServer','jsx','permission.content','_clearRedo','getRandomValues','CBC','indexOf','onStarting','_fetchMissChangesets','/role','refreshPermission','RECT','_refreshCollabCursors','BuiltInUIPart','title','flatMap','contains','{fileID}','reconnect','_getCurrentRevision','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','_hideTimer','getRelativeToViewportCoord','error$','_getRedoStack','_socket','offline','equals','getImageSourceCache','connectInjector','path','getUnitOnRev','deleteCollaborator','UnitEmbedded','_onConflict','reset','AUTHZ_URL_KEY','_uiPartsService','_initStatusComponent','_substituteUndoStack','Hex','Malformed\x20UTF-8\x20data','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','setShowComponents','length','range','_resendTimeout','has','top','StreamCipher','FileId','CommandType','_onRefRangeChange','setAlpha','HEARTBEAT_TIMEOUT_KEY','_lockTransition','syncEditingCollabCursor','getSheetBySheetId','[CollaborationSessionService]:\x20socket\x20error','handleDeleteRangeMoveUp','_unitStatus','@univerjs/docs','_updateState','getActiveRange','resourceIDs','HEARTBEAT','pending','useDependency','min','_transformSelections','\x0aCurrent:\x20','OFFLINE','reject','fetching\x20missing\x20changesets\x20from\x20','CollaborationEntity','_onMessage','COLLAB_SUBMIT_CHANGESET_URL','LIVESHARE_FETCH_OPERATIONS','lineTo','_reverseMap','baseRev','_createHelper','exports','_compressMutationService','event$','defineProperty','_submitChangeset','handleInsertRangeMoveDown','_undoStacks','_schedule','55455ZEVoLO','_onOffline','random','POST','setTimeout','_incrementRevisionNumber','_setupBeforeClosingHandler','loginUrlKey','/universer-api/snapshot/','IConfigService','LEAVE','requestParams','randomUUID','interceptor','_handleLeaveEvent','SEND_CHANGESET_TIMEOUT','CONFLICT','_init','handleInsertRow','replaceState','handleInsertRangeMoveRight','distinctUntilChanged','CHANGESET_ACK','find','createEncryptor','ERROR_EXCEED_SIZE','_event$','_instanceService','ranges','_disabled','FETCH_MISS','UNIVER_UNKNOWN','Latin1','sheetId','compose','HTTPService','SUBMIT_CHANGESET','getUndoRedoMutationParamsCache','UNIVER_PROJECT','onTransformSelections','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_assignedColors','WorkbookEditablePermission','every','subUnitId','sin','asObservable','clipPath','FromArray','univer-online-status-title','pad','currentColor','onPointerMove$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','Workbook','VIEWPORT_KEY','activeSheet$','_createHmacHelper','updateMember','objects','/universer-api/authz','online','_oKey','unknown','EvpKDF','COLLAB_WEB_SOCKET_URL','onPointerLeave$','drawWith','_sessionStatus$','init','UUID','collabWebSocketUrl','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','UNAUTHENTICATED','_createInitialState','_collabSessionService','__esModule','_clearScheduledTask','prototype','_map','HmacSHA1','MentionIoHttpService','Warning','_onRemoteACK','CollaborationSessionService','randomBytes','onTransformState','_transitionLocked','\x20in\x20_schedule.','3030150jARzrx','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_data','next','/universer-api/oidc/authpage','defs','/-/object/-/batch_allowed','isInternalEditorID','_docTransformSelectionsService','dispose$','_decreaseWaiting','@univerjs/drawing','_onRecvEvent','fillRule','collabStatus.syncing','_getCtorByUniverType','_hash','SheetPermissionInitController','jsxs','_getAPIPrefixPath','BufferedBlockAlgorithm','ticket','cfg','_telemetryInfo','delete','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_colorIndex','mapDocumentTypeToUniverType','originalMeta','_docSyncEditingCollabCursorService','post','MUTATION','toRgbString','beginPath','Shape','addClipboardHook','unit-cache-','SNAPSHOT_URL_KEY','ERROR_IMAGE','toggleOffline','_createSocketURL','IBeforeCloseService','_replayCachedMutations','_clearUndo','getActiveSheet','transformByState','isEditing','searchParams','engine','_telemetryService','putCollaborators','OffLineSingle','_onJoinRoomEvent','_initRequestHeader','[DataLoaderController]','_waitForHeartbeatResponse','onCommandExecuted','auth.needGotoLoginAlert','ivSize','_initUnitPermissionChange','assignAColorForMemberID','fillStyle','univerjs-icon\x20univerjs-icon-','_drawRectRange','params','_refRangeService','PSEUDO_FETCH_MISSING_RESULT','AES','APPLY_REVISION_CONFILICT','processBlock','extend','createInstance','connection\x20error','parse','headers','ILocalStorageService','_handleHover','FAIL','LocaleService','currentTheme$','transformIMECache','type','uploadFileServerUrl','sessionTicket','_onCursorUpdate','[PendingState]:\x20received\x20acknowledgement.','createDecryptor','Rectangle','submit\x20changeset\x20error!','_transformUndoredo','loadDoc','subunit','revision','AWAITING_WITH_PENDING','SUCCUSS','IMentionIOService','_startCollaboration','RevisionService','code','_saveTaskMap','registerBeforeClose','@univerjs/design','wsSessionTicketUrl','removeMember','Base64','create','b64DecodeUnicode','DocSelectionManagerService','byteOffset','transformRemoteChangeset','Plugin','color','icon','transformMutation','_scheduleClearOtherTimer','_listenToOnlineEvent','COMPLETION_FINISHED','collaboration-session-retry','DOC_RANGE_TYPE','imageSourceType','Utf8','from','COMPRESS_MUTATION_APPLY','IAuthzIoService','ONLINE','TEXT_RANGE_LAYER_INDEX','_syncEditingCollabCursorService','_doCryptBlock','onlineStatusIcon','collab-rect-range-','_drawAnchor','collab-client.tooltip.reconnect','startsWith','shouldCloseConn','IRemoteInstanceService','LICENSE_MAX_UNITS_EXCEEDED','_removeClearOtherTimer','row','subscribeEvent','clone','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','updateOfflineData','@univerjs/docs-ui','getSkeleton','getItem','SNAPSHOT_HAS_BEEN_REMOVED','_socket$','UNRECOGNIZED','transformSelections','_onConnectionOpen','SHOULD_CLOSE_CONN','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','hasher','SheetSkeletonManagerService','enableSingleActiveInstanceLock','SHA1','getCurrentUnitForType','[CollaborationUndoRedoService]','charCodeAt','_revisionService','CollaborationStatus','EXCHANGE_SIGN_URL_SERVER_URL_KEY','changesets','addEventListener','_scene','_checkMissing','_createHandler','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_cursors','getCollabCursors$','_rescheduleHeartbeat','retryConnectingInterval','session.will-retry','_scheduleTimestamp','/rev/','AWAITING','onMissedChangesetFetched','onTransformIME','all','encrypt','clearInterval','debug','with','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','LIVESHARE_TERMINATE','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','Pkcs7','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','objectID','onRemoteAck','hasOwnProperty','replaceDocRanges','_httpService','jiqing500','_keySchedule','CHANGESET_SHOULD_RETRY','WordArray','blue400','UPDATE_CURSOR','/object/','getOffsetConfig','ISnapshotServerService','HEARTBEAT_INTERVAL_KEY','_getSessionTicket','_hasher','getTime','ciphertext','generateRandomId','values','Injector','newValue','_transformStack','_draw','updateCursorEvent','YUUMI_URL_COL_OUT_OF_RANGE','roles','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','/resources','rgba(255,\x20255,\x20255,\x200.01)','_key','readAsDataURL','/new_changes','update','4736664eMXIsE','pauseCollaboration','encodeURIComponent','_online','_getSaveTimeout','DisposableCollection','save','getParam','collaboratorID','onTransformChange$','_snapshotServerService','_syncEditingCollabCursor','onRemoteChangeset','_executeRemoteChangeset','IUIPartsService','BASE64','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','unpad','concat','#fff','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_getMergeRange','mixIn','_startTelemetryCollaborationNewChangeset','_beforeCloseService','_retryCount','_onRemoteRejected','_handleEvent','snapshot','getStateCache','mutations','className','words','IUniverInstanceService','symbol','_initMergeInterceptor','transformChangesets','_renderManagerService','CollaborationStatusDisplay','getInterceptPoints','map','_waitCount','height','getCollabEntity$','_docTransformIMECacheService','PERSON','ICommandService','_heartbeatTimer','Unknown\x20user','BlockCipher','Tools','getFocusedUnit','RemoveColCommandId','SYNCED','includes','unitId','DocStateChangeManagerService','_initDependencies','visibilitychange','_getSheetObject','univer-online','bind','_entityInit$','_document','Rect','Module','_doProcessBlock','/universer-api/user/session-ticket','_imageSourceCache','RETRY_CONNECTING_MAX_COUNT','EmptyMutation','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_handleHeartbeatEvent','roomMembers$','NOT_COLLAB','_sendHeartbeatTimer','univer-pro.collaboration-client.single-active-unit-service','_lastPointer','isArray','isTransformMutationsWithChangesetSuccess','BlockCipherMode','getUnitId','@univerjs/engine-render','_commentService','some','subject','APPLY_DUPLICATED','UNIVER_SHEET','_localeService','YUUMI_RATE_OVER_LIMIT','UNDEFINED','/fetchmissing?from=','1147540mPPrJN','_singleActiveUnitService','call','NEW_CHANGESETS','_startSheetCollabCursor','__Key__','_disableEditing','getCoordByCell','on-line-single','COMPRESS_MUTATION_SEND','isTransformChangesetsSuccess','docStateChange$','isTransformMutationsWithChangesetFailure','_onRemoteRetry','_getSnapshotAPIPrefix','localeService','fromEvent','_unitOnClients','_keyPriorReset','createIdentifier','getUnit','?url=','$super','_replaceFileID','unshift','userID','CollaborationSocketService','startTime','measureText','ITransformService','name','COMMENT_UPDATE','csRejEvent','joinRsp','socket$','getMember','...','/universer-api/comb','copyFileMeta','createSocket','_minBufferSize','execute','commentUpdateEvent','_getAPIPrefix','onReady','JSONX','getTypeOfUnitAdded$','_imageIoService','ReplaySubject','not_collab','_initCommandExecutedListener','handleIRemoveRow','getCellPositionByOffset','USERS_ENTER','substring','_remoteChangesetQueue','ws://127.0.0.1:8000/universer-api/comb/connect','RichTextEditingMutation','override','handleMoveRange','padding','transformMutationsWithChangeset','CONNECTOR_DATA_TOO_LARGE','OpenSSL','Encryptor','UniverCollaborationClientPlugin','/universer-api/file/{fileID}/sign-url','_roomMembers$','UNIVER_DOC','action','subscribe','loadOfflineData','_range','_getUploadFileURL','status','_collaborationPaused','2074996NvoQST','_doReset','serializeCombRequest','colorChannel1','_transformRemoteChangesetByStateCache','onRendered','_listenToOfflineEvent','[CollaborationState]:\x20apply\x20error!','M0\x200H16V16H0z','_ensureSubject','image/jpeg','restore','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','onPointerEnter$','decryptBlock','salt','SetTextSelectionsOperation','function','NOT_FOUND','svg','_color','apply','transformStack\x20failed!','_tryEnsureSocket','enc','_collabCursorController','_HTTPService','_sheetTransformSelectionsService','deserializeToCombResponse','href','column','objectActions','[SyncedState]:\x20received\x20rejection.','_onLocalMutation','_collabCursorState$','onlyLocal','shareReplay','_resendWithTimeout','_timeoutTimer','onTransformRemoteChangesetByStateCache','evenodd','duration','max','_initResize','SnapshotServerOverHTTPService','getCurrentSelections','endColumn','onMouseMove','COLLAB_WEB_SOCKET_URL_KEY','JOIN_ROOM_FULL','touchDependencies','textEncoder','_anchor','defIds','_redoStacks','_entities','requireSession','Optional','ImageIoService','HEADER_MENU','uni.network.url-service','_toggleOnline','complete','_drawTextRange','startColumn','_toggleOffline','format','getUnhiddenWorksheets','allowed','_id','onSendChangeset','_transformIMECache','conflict.title','_initCloseConn','makeDirty','getOwnPropertyDescriptor','_transformRemoteChangesetByIMECache','CipherParams','getUniverSheetInstance','_removeRoom','hostname','resend','_sender','USERS_LEAVE','delay','clear','Disposable','unit','forEach','EffectRefRangId','round','_change$','idSuffix','setActiveRange','JOINING','21KGWFPL','target','string','COLORS','clamp','show','_unlockTransition','stringify','getDeserializedSheetBlock','sessionStatus$','_notificationService','CollaborationController','black','_awaitingChangeset','APPLY_NON_SEQUENTIAL_REVISION','IDLE','ImageUploadStatusType','keySize','onRemoteRetry','_members','saveSnapshot','ICollaborationSocketService','unsubscribe','UNIVER_SLIDE','_onCombEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','Undefined','_registerDependencies','change$','disposeWithMe','_status$','entries','collaboration_new_changeset','[CollaborationSessionService]','NodePositionConvertToCursor','hide','UniverCollaborationPlugin','BehaviorSubject','_changesetSessionId','_DEC_XFORM_MODE','[PendingState]:\x20unhandled\x20univer\x20type:\x20','image/png','text','[PendingState]:\x20received\x20rejection.','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnitType','result','_cursorShapes','updatePermissionObjEvent','_hovered','toDisposable','debounceTime','_docSkeleton','IUndoRedoService','Inject','permissionRejEvent','getMemberID','_unitID','INTERNAL_ERROR','/universer-api/stream/file/upload','off-line-single','file','_onFetchMissResult','push','add','substr','cursorInfo','cursorInfo$','UPDATE_PERMISSION_OBJ','disableLocalCache','awaiting','fillText','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','SNAPSHOT_SERVER_URL_KEY','_http','MemberService','_state','pipe','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','@univerjs/core','socket\x20open.','getTypeOfUnitDisposed$','_transformHistoryAndStateStack','hovered','toLowerCase','TOO_MANY_REQUESTS','_collaborationTimeoutTimer','DesktopCollaborationStatusDisplayController','liveShareNewHost','append','roomInfos','rng','_undoRedoService','xlink:href','_process','urlChange$','state$','focused$','visibilityState','crypto','_socketMessageSubscription','MentionType','floor','collaboration-client.offline-data-not-saved','_messageService','fromEventSubject','DeleteRangeMoveUpCommandId','_updateCollabCursors','_sessions','OTHER_CLIENTS_EDITING','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','NO_OTHER_CLIENTS_EDITING','replace','getConfig','status$','_memberService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','default','_ENC_XFORM_MODE','HTTPRequest','gold400','collab-text-anchor-','&to=','@univerjs/telemetry','blockSize','_retryConnectingTimer','cmd','skeleton','_univerInstanceService','close','current','reqId','_sendHeartbeat','setParam','collabStatus.offline','getCollabEntity','LIVESHARE_REQUEST_HOST','_doFinalize','_transformUndoRedoStack','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','ILogService','_onCursorDelete','LICENSE_EXPORT_SIZE_EXCEEDED','commentUpdate$','_type','open$','storage','_changesetReqId','_localStorageService','_throwTelemetryCollaborationNewChangeset','/unit/','url(#$1','_xformMode','msCrypto','toggleOnline','stopTime','NoPadding','_parse','updatePermissionPoint','takeUntil','memberID','_commentUpdate$','RxDisposable','_send','charAt','Base','_initStatusListener','signUrlServerUrl','/allowed','getUnitStatus$','getSheetObject','object','getSheetId','createElement','fetchThroughInterceptors','enableLocalCache','PENDING','_getLoginPath','assign','location','unload','ref','_docStateChangeManagerService','_textBubble','formatter','set','_mode','_applyRemoteChangeset','ERROR_IMAGE_TYPE','_shapes','avatar','backgroundColor','createCollaborator','_updateStatus','?size=','_joinRoom','registerRenderModule','pushState','then','getDocRanges','listCollaborators','_transformService','now','socketService','confirm','_iKey','off-line-single_clip0_910_343','_commandService','_onUserLeave','1em','_eventUnsubscribe','clearTimeout','combineLatest','ThemeService','div','_createSocket','merge','_onUserJoin','_snapshotService','appendMutation','collaborators','18EgHUWj','setCurrentUser','setItem','isTransformMutationFailure','runRefRangeMutations','_getUndoStack','_loadSheet','conflict.content','synced','actions','JOIN_ROOM_NOT_ALLOWED','@univerjs/rpc','c1Prime','m2Prime','kdf','WebSocketService','@univerjs/engine-formula','_saveCache','for','_selfUnitIDs','_showConflictNotification','_stopTelemetryCollaborationNewChangeset','fetch_missing','forwardRef','roomMembers','Subject','send','_transformStateCache','x-univer-host','RefRangeService','_clearHeartbeatTimer','catch','UniverInstanceType','_substituteRedoStack','fromCollab','ImageSourceType','mode','HMAC','executeCommand','parseProtocolChangeset','saveImage','IPermissionService','getAncestorScale','LICENSE_IMPORT_SIZE_EXCEEDED','_getSendChangesetTimeout','DeleteRangeMoveLeftCommandId','Error\x20on\x20receiving\x20event','_loadDoc','_isPermissionRej','DocIMEInputManagerService','Decryptor','_collaborationSessionService','saveChangeset','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','/block/','onCommentUpdate','_queuedRemoteChangesets','selection','_userManagerService','collab-text-range-','829512AyUDIb','[CollaborationSession]','defaultProps','_configService','source','RemoveRowCommandId','registerRefRange','registerComponent','DocCollaborationEntity','Fragment','addObject','handleDeleteRangeMoveLeft','transformUndoRedo','#FFF','ThresholdInterceptorFactory','SetSelectionsOperation','collaboration-client.config','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','encryptBlock','members','arc','LIVESHARE_NEW_HOST','url(#off-line-single_clip0_910_343)','[OfflineState]:\x20received\x20rejection.','authzUrl','registerHTTPInterceptor','textRanges','_cachedData','deepClone','csShouldRetryEvent','_scheduleHeartbeat','COLLAB_CLIENT_CONFIG_KEY','splice','displayName','IRenderManagerService','children','compute','__creator','ALREADY_EXISTS','\x0aAfter:\x20','SheetCollabCursorShape','number','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','fill','_state$','body','registerDependencies','whenReady','_session','getOwnPropertySymbols','collabStatus.notCollab','exhaustSavingTask','_createInitialStateImpl','RECV','responseType','univer-pro.collaboration-client-socket-service','disposeUnit','onSyncEditingCollabCursor','@univerjs/sheets-ui','_config','react','json','_roomMembers','slice','state','SNAPSHOT_INVALID_SNAPSHOT','getCurrent','univer-online-status-icon','univer-offline','_shouldReportTelemetry','_scheduleCollaborationTimeoutTimer','0\x200\x2016\x2016','decrypt','@univerjs/ui','_getSignURL','_themeService','_updateURLWithCurrentState','tag','closePath','_backgroundColor','filter','LocalCacheService','sigBytes','SheetsSelectionsService','_collaborationController','collaboration.closeRoom','SetWorksheetActivateCommand','reduce','none','_socketReady','_socketService','getVpScrollXYInfoByPosToVp','CollaborationSession','_updateLocalCursor','telemetry\x20info\x20is\x20not\x20initialized','width','newCsEvent','Cipher','_getScale','_hover','awaiting_with_pending','attrs','session','[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.','_getDownloadEndpointURL','_clearCollaborationTimeoutTimer','FETCH_MISSING','_clearLocalCache'];_0x6745=function(){return _0x1db920;};return _0x6745();}var Wr=Object['defineProperty'],Fr=Object[_0x543e24(0x3e8)],Vr=(_0x21ddb2,_0x161214,_0x2680bd,_0x4edb18)=>{for(var _0x461be2=_0x4edb18>0x1?void 0x0:_0x4edb18?Fr(_0x161214,_0x2680bd):_0x161214,_0x57daf8=_0x21ddb2['length']-0x1,_0x1d9d6f;_0x57daf8>=0x0;_0x57daf8--)(_0x1d9d6f=_0x21ddb2[_0x57daf8])&&(_0x461be2=(_0x4edb18?_0x1d9d6f(_0x161214,_0x2680bd,_0x461be2):_0x1d9d6f(_0x461be2))||_0x461be2);return _0x4edb18&&_0x461be2&&Wr(_0x161214,_0x2680bd,_0x461be2),_0x461be2;},ei=(_0x3dcb4f,_0x537e81)=>(_0x1af4c7,_0x2b58bc)=>_0x537e81(_0x1af4c7,_0x2b58bc,_0x3dcb4f);const Gr=_0x543e24(0x1f8);exports['MentionIoHttpService']=class{constructor(_0x54c308,_0x43b3fc){const _0x3d56f7=_0x543e24;this[_0x3d56f7(0x518)]=_0x54c308,this[_0x3d56f7(0x3b7)]=_0x43b3fc;}[_0x543e24(0x228)](){const _0xeb3748=_0x543e24;var _0x3a3b7a,_0x5f09db;const _0x1091ab=this['_configService']['getConfig'](Ut),_0x148a89=this['_configService'][_0xeb3748(0x46d)](Q);return(_0x5f09db=(_0x3a3b7a=_0x148a89==null?void 0x0:_0x148a89[_0xeb3748(0x52d)])!=null?_0x3a3b7a:_0x1091ab)!=null?_0x5f09db:Gr;}async[_0x543e24(0x5d1)](_0x3ca03b){const _0x22d860=_0x543e24,_0x239a18=this[_0x22d860(0x228)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x22d860(0x3b7)][_0x22d860(0x5e6)](_0x239a18,{'params':{'objectID':_0x3ca03b[_0x22d860(0x32c)],'unitID':_0x3ca03b[_0x22d860(0x32c)]}}))['body'][_0x22d860(0x4d8)][_0x22d860(0x31d)](_0x1014ff=>({'objectId':_0x1014ff['id'],'name':_0x1014ff[_0x22d860(0x34a)][_0x22d860(0x36f)],'metadata':{'icon':_0x1014ff[_0x22d860(0x34a)][_0x22d860(0x4ba)]},'label':_0x1014ff[_0x22d860(0x34a)][_0x22d860(0x36f)],'objectType':a['MentionType'][_0x22d860(0x322)]})),'metadata':{},'type':a[_0x22d860(0x461)][_0x22d860(0x322)]}]};}},exports[_0x543e24(0x20d)]=Vr([ei(0x0,a['Inject'](a['IConfigService'])),ei(0x1,a['Inject'](z['HTTPService']))],exports[_0x543e24(0x20d)]);var Yr=Object[_0x543e24(0x685)],Kr=Object[_0x543e24(0x3e8)],qr=(_0x5b0bb7,_0x44ce21,_0x15d261,_0x20c047)=>{const _0x42f372=_0x543e24;for(var _0x4d244e=_0x20c047>0x1?void 0x0:_0x20c047?Kr(_0x44ce21,_0x15d261):_0x44ce21,_0x2c1404=_0x5b0bb7[_0x42f372(0x65c)]-0x1,_0x20fd06;_0x2c1404>=0x0;_0x2c1404--)(_0x20fd06=_0x5b0bb7[_0x2c1404])&&(_0x4d244e=(_0x20c047?_0x20fd06(_0x44ce21,_0x15d261,_0x4d244e):_0x20fd06(_0x4d244e))||_0x4d244e);return _0x20c047&&_0x4d244e&&Yr(_0x44ce21,_0x15d261,_0x4d244e),_0x4d244e;},Ae=(_0x5a3a7e,_0x267f93)=>(_0x11ed18,_0x146c45)=>_0x267f93(_0x11ed18,_0x146c45,_0x5a3a7e);let qe=class extends a['RxDisposable']{constructor(_0x7d3ab7,_0x4deec5,_0x1c2b0c,_0x401540,_0xd0d97a){const _0x17c819=_0x543e24;super(),this['_injector']=_0x7d3ab7,this[_0x17c819(0x47c)]=_0x4deec5,this[_0x17c819(0x58f)]=_0x1c2b0c,this[_0x17c819(0x50c)]=_0x401540,this[_0x17c819(0x34d)]=_0xd0d97a,this[_0x17c819(0x251)](),this[_0x17c819(0x3e6)]();}[_0x543e24(0x3e6)](){const _0x4c16df=_0x543e24,_0x24576b=async _0x4af729=>{const _0x1d16b0=_0x4acf;(await this['_collaborationSessionService'][_0x1d16b0(0x3d5)](_0x4af729))[_0x1d16b0(0x684)][_0x1d16b0(0x449)](V[_0x1d16b0(0x565)](_0x48fd95=>_0x48fd95['eventID']===p['CollaborationEvent'][_0x1d16b0(0x2ac)]),V[_0x1d16b0(0x49b)](this[_0x1d16b0(0x21e)]))['subscribe'](_0x257446=>{const _0x3a463f=_0x1d16b0,_0x3a17d3=_0x257446,{reason:_0x471512}=_0x3a17d3[_0x3a463f(0x606)];this['_injector'][_0x3a463f(0x5e6)](te[_0x3a463f(0x59d)])[_0x3a463f(0x401)]({'type':Ce[_0x3a463f(0x5b9)]['Error'],'content':this['_localeService']['t'](_0x3a463f(0x56a))+'('+_0x471512+')'}),this['_permissionService'][_0x3a463f(0x49a)](new k[(_0x3a463f(0x1e6))](_0x4af729)['id'],!0x1),this[_0x3a463f(0x50c)]['closeSession'](_0x4af729);});};A[_0x4c16df(0x4d4)](this[_0x4c16df(0x47c)][_0x4c16df(0x37f)](a[_0x4c16df(0x4f9)]['UNIVER_SHEET']),this[_0x4c16df(0x47c)][_0x4c16df(0x37f)](a['UniverInstanceType'][_0x4c16df(0x395)]))['pipe'](V['map'](_0x1ae6ee=>_0x1ae6ee[_0x4c16df(0x346)]()),V[_0x4c16df(0x565)](_0x4dde93=>!a[_0x4c16df(0x21c)](_0x4dde93)),V[_0x4c16df(0x49b)](this[_0x4c16df(0x21e)]))['subscribe'](_0x237f9f=>{_0x24576b(_0x237f9f);});}[_0x543e24(0x251)](){const _0x5cbb2b=_0x543e24,_0x4db4c0=async _0x4a3768=>{const _0x232739=_0x4acf;(await this['_collaborationSessionService']['requireSession'](_0x4a3768))['event$']['pipe'](V[_0x232739(0x565)](_0xeac1ac=>_0xeac1ac[_0x232739(0x62c)]===p[_0x232739(0x612)][_0x232739(0x440)]),V[_0x232739(0x49b)](this['dispose$']))[_0x232739(0x397)](_0x39d3ff=>{const _0x3728fa=_0x232739,_0x6e6668=_0x39d3ff,{objectId:_0x5d398f}=_0x6e6668[_0x3728fa(0x606)],_0x522331=this[_0x3728fa(0x5b0)][_0x3728fa(0x5e6)](ye[_0x3728fa(0x226)]);_0x5d398f===_0x4a3768?_0x522331['initWorkbookPermissionChange'](_0x4a3768):_0x522331[_0x3728fa(0x63a)](_0x4a3768,_0x5d398f);});};A[_0x5cbb2b(0x4d4)](this[_0x5cbb2b(0x47c)][_0x5cbb2b(0x37f)](a['UniverInstanceType'][_0x5cbb2b(0x34c)]),this['_univerInstanceService'][_0x5cbb2b(0x37f)](a[_0x5cbb2b(0x4f9)][_0x5cbb2b(0x395)]))[_0x5cbb2b(0x449)](V[_0x5cbb2b(0x31d)](_0x57933b=>_0x57933b['getUnitId']()),V['filter'](_0x3333c6=>!a[_0x5cbb2b(0x21c)](_0x3333c6)),V[_0x5cbb2b(0x49b)](this[_0x5cbb2b(0x21e)]))[_0x5cbb2b(0x397)](_0x5323c7=>{_0x4db4c0(_0x5323c7);});}};qe=qr([Ae(0x0,a[_0x543e24(0x432)](a['Injector'])),Ae(0x1,a[_0x543e24(0x316)]),Ae(0x2,a['IPermissionService']),Ae(0x3,a[_0x543e24(0x432)](exports[_0x543e24(0x210)])),Ae(0x4,a['Inject'](a[_0x543e24(0x264)]))],qe);var zr=Object[_0x543e24(0x685)],Xr=Object[_0x543e24(0x3e8)],Jr=(_0x42a3a9,_0x35ba04,_0x5c1fdd,_0x27a758)=>{const _0x33233d=_0x543e24;for(var _0x38e4bb=_0x27a758>0x1?void 0x0:_0x27a758?Xr(_0x35ba04,_0x5c1fdd):_0x35ba04,_0x2c5e22=_0x42a3a9[_0x33233d(0x65c)]-0x1,_0x34ab18;_0x2c5e22>=0x0;_0x2c5e22--)(_0x34ab18=_0x42a3a9[_0x2c5e22])&&(_0x38e4bb=(_0x27a758?_0x34ab18(_0x35ba04,_0x5c1fdd,_0x38e4bb):_0x34ab18(_0x38e4bb))||_0x38e4bb);return _0x27a758&&_0x38e4bb&&zr(_0x35ba04,_0x5c1fdd,_0x38e4bb),_0x38e4bb;},ti=(_0x111417,_0x36b6e1)=>(_0x1c0d5c,_0x46021f)=>_0x36b6e1(_0x1c0d5c,_0x46021f,_0x111417);exports[_0x543e24(0x3c9)]=class{constructor(_0x442798,_0x509542){const _0x143593=_0x543e24;this[_0x143593(0x518)]=_0x442798,this[_0x143593(0x2d6)]=_0x509542;}async[_0x543e24(0x64f)](_0x4f03e2,_0x34fcb7){const _0xb8dd3=_0x543e24;var _0x136715;const {unitID:_0x7be291,type:_0xdaf35f,revision:_0x2736a6=0x0}=_0x34fcb7,_0x14336e=this[_0xb8dd3(0x35f)]()+'/'+_0xdaf35f+_0xb8dd3(0x492)+_0x7be291+_0xb8dd3(0x2c4)+_0x2736a6,_0x4f3bdc=(await this[_0xb8dd3(0x2d6)][_0xb8dd3(0x5e6)](_0x14336e))['body'],_0x2e9173=(_0x136715=_0x4f3bdc[_0xb8dd3(0x311)])==null?void 0x0:_0x136715['workbook'];if(_0x2e9173){const _0x5731e1=_0x2e9173==null?void 0x0:_0x2e9173[_0xb8dd3(0x232)],_0x58e23a=p[_0xb8dd3(0x3d0)][_0xb8dd3(0x5ae)](p[_0xb8dd3(0x280)](_0x5731e1));_0x2e9173[_0xb8dd3(0x232)]=_0x58e23a,Object[_0xb8dd3(0x41b)](_0x2e9173['sheets'])[_0xb8dd3(0x3f5)](([,_0x3d6d79])=>{const _0x4ce40f=_0xb8dd3,_0x5b25f8=_0x3d6d79['originalMeta'],_0x3b2c13=p[_0x4ce40f(0x3d0)][_0x4ce40f(0x5ae)](p[_0x4ce40f(0x280)](_0x5b25f8));_0x3d6d79[_0x4ce40f(0x232)]=_0x3b2c13;});}return _0x4f3bdc;}async[_0x543e24(0x5bc)](_0x4f9ffc,_0x11e523){const _0x5d317f=_0x543e24,{unitID:_0x4b3f7f,type:_0x1abb4d,blockID:_0x3fdcdf}=_0x11e523,_0xc37144=this[_0x5d317f(0x37c)]()+'/'+_0x1abb4d+_0x5d317f(0x492)+_0x4b3f7f+_0x5d317f(0x50f)+_0x3fdcdf;return(await this[_0x5d317f(0x2d6)][_0x5d317f(0x5e6)](_0xc37144))[_0x5d317f(0x542)];}async[_0x543e24(0x404)](_0x18c67b,_0x1e99b5){const _0x8dd56a=_0x543e24,{unitID:_0x24aac8,type:_0x33ec6c,blockID:_0x3e86fa}=_0x1e99b5,_0x58c1d4=this[_0x8dd56a(0x37c)]()+_0x8dd56a(0x50f)+_0x33ec6c+_0x8dd56a(0x492)+_0x24aac8+_0x8dd56a(0x50f)+_0x3e86fa;return(await this[_0x8dd56a(0x2d6)][_0x8dd56a(0x5e6)](_0x58c1d4))[_0x8dd56a(0x542)];}async[_0x543e24(0x61a)](_0x44502d,_0x4a7837){const _0x5f16ba=_0x543e24,{unitID:_0x4b0827,type:_0x533c03,from:_0x1556d5,to:_0x5e24f5}=_0x4a7837,_0x2b612d=this[_0x5f16ba(0x37c)]()+'/'+_0x533c03+_0x5f16ba(0x492)+_0x4b0827+_0x5f16ba(0x350)+_0x1556d5+_0x5f16ba(0x476)+_0x5e24f5;return(await this[_0x5f16ba(0x2d6)][_0x5f16ba(0x5e6)](_0x2b612d))[_0x5f16ba(0x542)];}[_0x543e24(0x35f)](){const _0xceca77=_0x543e24;var _0x475cd4;return(_0x475cd4=this['_configService'][_0xceca77(0x46d)](ni))!=null?_0x475cd4:this[_0xceca77(0x37c)]();}[_0x543e24(0x37c)](){const _0x15fc77=_0x543e24;var _0x165c64,_0x1adcbd;const _0x3f2868=this[_0x15fc77(0x518)][_0x15fc77(0x46d)](ii),_0x440de3=this['_configService']['getConfig'](Q);return(_0x1adcbd=(_0x165c64=_0x440de3==null?void 0x0:_0x440de3['snapshotServerUrl'])!=null?_0x165c64:_0x3f2868)!=null?_0x1adcbd:ki;}async[_0x543e24(0x622)](_0x329e4e,_0x387314){const _0xf84d59=_0x543e24,_0x1278f5=_0xf84d59(0x692)+_0x387314[_0xf84d59(0x267)]+'/unit/'+_0x387314[_0xf84d59(0x5dd)]+_0xf84d59(0x2ef);return(await this[_0xf84d59(0x2d6)][_0xf84d59(0x5e6)](_0x1278f5,{'params':{'resourceId':JSON[_0xf84d59(0x403)](_0x387314[_0xf84d59(0x670)])}}))[_0xf84d59(0x542)];}[_0x543e24(0x410)](){const _0x3d24fe=_0x543e24;throw new Error(_0x3d24fe(0x65a));}['saveSheetBlock'](){const _0xa5a4f7=_0x543e24;throw new Error(_0xa5a4f7(0x65a));}[_0x543e24(0x50d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x543e24(0x377)](){const _0x2c8217=_0x543e24;throw new Error(_0x2c8217(0x65a));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports['SnapshotServerOverHTTPService']=Jr([ti(0x0,a[_0x543e24(0x693)]),ti(0x1,a['Inject'](z[_0x543e24(0x1df)]))],exports[_0x543e24(0x3c9)]);var Zr=Object[_0x543e24(0x685)],Qr=Object[_0x543e24(0x3e8)],eo=(_0x480fbc,_0xc10c2,_0x4f1743,_0x5764f8)=>{const _0x3a13d8=_0x543e24;for(var _0x3df005=_0x5764f8>0x1?void 0x0:_0x5764f8?Qr(_0xc10c2,_0x4f1743):_0xc10c2,_0x3ddeba=_0x480fbc[_0x3a13d8(0x65c)]-0x1,_0x5afda9;_0x3ddeba>=0x0;_0x3ddeba--)(_0x5afda9=_0x480fbc[_0x3ddeba])&&(_0x3df005=(_0x5764f8?_0x5afda9(_0xc10c2,_0x4f1743,_0x3df005):_0x5afda9(_0x3df005))||_0x3df005);return _0x5764f8&&_0x3df005&&Zr(_0xc10c2,_0x4f1743,_0x3df005),_0x3df005;},Ne=(_0x1f959c,_0x32d40c)=>(_0x4757e1,_0x209bea)=>_0x32d40c(_0x4757e1,_0x209bea,_0x1f959c);let Ct=class extends a['LocalUndoRedoService']{constructor(_0x53b485,_0x495efa,_0x7c8de8,_0x3ec101,_0x49e74){const _0x3f5807=_0x543e24;super(_0x53b485,_0x495efa,_0x7c8de8),this[_0x3f5807(0x4c5)]=_0x3ec101,this[_0x3f5807(0x5d8)]=_0x49e74;}[_0x543e24(0x521)](_0x4c505e,_0x44f5cb){const _0x4d5245=_0x543e24,_0x421f82=this[_0x4d5245(0x4de)](_0x4c505e);if(_0x421f82)try{const _0x2294e0=this['_transformStack'](_0x421f82,_0x44f5cb);this['_substituteUndoStack'](_0x4c505e,_0x2294e0);}catch(_0x230b1a){this[_0x4d5245(0x5d8)][_0x4d5245(0x624)](_0x4d5245(0x2b3),_0x230b1a),this[_0x4d5245(0x241)](_0x4c505e);}const _0x207c56=this[_0x4d5245(0x648)](_0x4c505e);if(_0x207c56)try{const _0x3fc75b=this['_transformStack'](_0x207c56,_0x44f5cb);this[_0x4d5245(0x4fa)](_0x4c505e,_0x3fc75b);}catch(_0x5128d1){this['_logService']['error'](_0x5128d1),this[_0x4d5245(0x633)](_0x4c505e);}}['_clearUndo'](_0x32fc43){const _0x53b3d2=_0x543e24,_0x557900=this['_getUndoStack'](_0x32fc43);_0x557900&&(_0x557900[_0x53b3d2(0x65c)]=0x0,this[_0x53b3d2(0x4bd)]());}[_0x543e24(0x633)](_0x5b4fcb){const _0x54948f=_0x543e24,_0x4db241=this[_0x54948f(0x648)](_0x5b4fcb);_0x4db241&&(_0x4db241[_0x54948f(0x65c)]=0x0,this['_updateStatus']());}[_0x543e24(0x657)](_0x17e136,_0x23d767){const _0xbb2d6=_0x543e24;this[_0xbb2d6(0x688)]['set'](_0x17e136,_0x23d767),this[_0xbb2d6(0x4bd)]();}[_0x543e24(0x4fa)](_0x19e6b0,_0x47e8ef){const _0x5c4988=_0x543e24;this[_0x5c4988(0x3d3)]['set'](_0x19e6b0,_0x47e8ef),this[_0x5c4988(0x4bd)]();}[_0x543e24(0x2e9)](_0x4400d9,_0xab0c0c){const _0x91806=_0x543e24,_0x131cba=[];let _0xbfc332=_0xab0c0c,_0x1eab90=_0xab0c0c;for(let _0x29933e=_0x4400d9[_0x91806(0x65c)]-0x1;_0x29933e>=0x0;_0x29933e--){const {unitID:_0x6a5852,undoMutations:_0x18f862,redoMutations:_0x4585fc}=_0x4400d9[_0x29933e],_0x1214be=this[_0x91806(0x4c5)][_0x91806(0x38e)](_0xbfc332,_0x18f862),_0x41a969=this[_0x91806(0x4c5)]['transformMutationsWithChangeset'](_0x1eab90,_0x4585fc);if(p[_0x91806(0x35d)](_0x1214be)||p['isTransformMutationsWithChangesetFailure'](_0x41a969)){this[_0x91806(0x5d8)]['error'](_0x91806(0x2b3),_0x91806(0x3b3),_0x1214be,_0x41a969);break;}_0xbfc332=_0x1214be[_0x91806(0x4e5)],_0x1eab90=_0x41a969[_0x91806(0x4e5)],_0x131cba[_0x91806(0x43b)]({'unitID':_0x6a5852,'undoMutations':_0x1214be[_0x91806(0x4e6)],'redoMutations':_0x41a969[_0x91806(0x4e6)]});}return _0x131cba[_0x91806(0x61d)]();}};Ct=eo([Ne(0x0,a['IUniverInstanceService']),Ne(0x1,a[_0x543e24(0x323)]),Ne(0x2,a[_0x543e24(0x5e5)]),Ne(0x3,p[_0x543e24(0x36e)]),Ne(0x4,a[_0x543e24(0x488)])],Ct);class Li extends a[_0x543e24(0x49e)]{constructor(){const _0x19e151=_0x543e24;super(),I(this,_0x19e151(0x45b)),this[_0x19e151(0x45b)]=A[_0x19e151(0x361)](window,'popstate')[_0x19e151(0x449)](A['takeUntil'](this['dispose$']),A[_0x19e151(0x3c1)](0x1),A[_0x19e151(0x5e8)](void 0x0));}['setParam'](_0x591858,_0x27a6bd,_0x7f7180=!0x1){const _0x57e965=_0x543e24,_0xd00e4=new URL(window[_0x57e965(0x4af)]['href']);_0xd00e4[_0x57e965(0x245)]['set'](_0x591858,_0x27a6bd),_0x7f7180?window[_0x57e965(0x5d7)][_0x57e965(0x69d)]('','',_0xd00e4[_0x57e965(0x5c8)]()):window[_0x57e965(0x5d7)][_0x57e965(0x4c1)]('','',_0xd00e4[_0x57e965(0x5c8)]());}['removeParam'](_0x3d8cd1,_0x16df02=!0x1){const _0x3ff54c=_0x543e24,_0x20814f=new URL(window[_0x3ff54c(0x4af)][_0x3ff54c(0x3ba)]);_0x20814f[_0x3ff54c(0x245)][_0x3ff54c(0x22d)](_0x3d8cd1),_0x16df02?window[_0x3ff54c(0x5d7)][_0x3ff54c(0x69d)]('','',_0x20814f[_0x3ff54c(0x5c8)]()):window['history']['pushState']('','',_0x20814f[_0x3ff54c(0x5c8)]());}['getParam'](_0xac3f04){const _0x21d252=_0x543e24;var _0x3a0c2f;return(_0x3a0c2f=new URL(window[_0x21d252(0x4af)][_0x21d252(0x3ba)])[_0x21d252(0x245)]['get'](_0xac3f04))!=null?_0x3a0c2f:void 0x0;}}var xi=Object['defineProperty'],to=Object[_0x543e24(0x3e8)],io=(_0x4d32c7,_0x331b48,_0x588406)=>_0x331b48 in _0x4d32c7?xi(_0x4d32c7,_0x331b48,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x588406}):_0x4d32c7[_0x331b48]=_0x588406,no=(_0x1bb80d,_0x45eef1,_0x5d6d86,_0x2a1c1f)=>{const _0x187bc2=_0x543e24;for(var _0x1ac9a4=_0x2a1c1f>0x1?void 0x0:_0x2a1c1f?to(_0x45eef1,_0x5d6d86):_0x45eef1,_0x31329b=_0x1bb80d[_0x187bc2(0x65c)]-0x1,_0x2e9138;_0x31329b>=0x0;_0x31329b--)(_0x2e9138=_0x1bb80d[_0x31329b])&&(_0x1ac9a4=(_0x2a1c1f?_0x2e9138(_0x45eef1,_0x5d6d86,_0x1ac9a4):_0x2e9138(_0x1ac9a4))||_0x1ac9a4);return _0x2a1c1f&&_0x1ac9a4&&xi(_0x45eef1,_0x5d6d86,_0x1ac9a4),_0x1ac9a4;},He=(_0x419f16,_0x3ae0e0)=>(_0xd79845,_0x4cd545)=>_0x3ae0e0(_0xd79845,_0x4cd545,_0x419f16),so=(_0x3a7db6,_0x185dc0,_0x4feb99)=>io(_0x3a7db6,_0x185dc0+'',_0x4feb99);const ro=_0x543e24(0x5eb);exports[_0x543e24(0x392)]=class extends a[_0x543e24(0x284)]{constructor(_0x33e963=Zi,_0x11f988,_0x491ead,_0x234af2,_0x45a8ad){const _0x45a614=_0x543e24;super(),this[_0x45a614(0x550)]=_0x33e963,this[_0x45a614(0x5d8)]=_0x11f988,this[_0x45a614(0x31a)]=_0x491ead,this[_0x45a614(0x5b0)]=_0x234af2,this[_0x45a614(0x518)]=_0x45a8ad;const {..._0x525ed4}=this[_0x45a614(0x550)];this[_0x45a614(0x518)]['setConfig'](Q,_0x525ed4);}[_0x543e24(0x637)](){const _0x4c2596=_0x543e24;this[_0x4c2596(0x417)](),this[_0x4c2596(0x32e)]();}[_0x543e24(0x37d)](){const _0x5a30e4=_0x543e24;a['touchDependencies'](this[_0x5a30e4(0x5b0)],[[Ge],[Ve]]);}[_0x543e24(0x3a2)](){const _0x5731e0=_0x543e24;this[_0x5731e0(0x627)]();}[_0x543e24(0x417)](){const _0x22f8d9=_0x543e24;var _0x4af22b,_0x4cbc92,_0x41bf54,_0x1a153a;this[_0x22f8d9(0x5b0)][_0x22f8d9(0x65f)](a[_0x22f8d9(0x431)])&&this[_0x22f8d9(0x5d8)][_0x22f8d9(0x624)]('[UniverCollaborationClientPlugin]',_0x22f8d9(0x33c));const _0xf1034c=[[a[_0x22f8d9(0x431)],{'useClass':Ct}],[exports[_0x22f8d9(0x210)]],[Dt],[wt,{'useClass':Li}],[exports[_0x22f8d9(0x447)]],[exports[_0x22f8d9(0x566)]],[z[_0x22f8d9(0x4e8)]],[ke],[Fe],[Be],[We],[yt],[Ye],[Ke],[Rt],[qe],[Tt,{'useClass':(_0x4cbc92=(_0x4af22b=this[_0x22f8d9(0x550)])==null?void 0x0:_0x4af22b[_0x22f8d9(0x4c7)])!=null?_0x4cbc92:exports[_0x22f8d9(0x36b)]}],[p[_0x22f8d9(0x2df)],{'useClass':exports[_0x22f8d9(0x3c9)]}],[a[_0x22f8d9(0x291)],{'useClass':exports[_0x22f8d9(0x60a)]}],[ie[_0x22f8d9(0x592)],{'useClass':exports[_0x22f8d9(0x3d7)]}],[a[_0x22f8d9(0x275)],{'useClass':exports[_0x22f8d9(0x20d)]}],[exports['CollaborationController']],[exports[_0x22f8d9(0x5a3)]],[exports[_0x22f8d9(0x453)]],[Ge],[De],[Ve]];(_0x41bf54=this[_0x22f8d9(0x550)])!=null&&_0x41bf54[_0x22f8d9(0x2b0)]&&_0xf1034c[_0x22f8d9(0x43b)]([ze,{'useClass':Un}]),a[_0x22f8d9(0x543)](this[_0x22f8d9(0x5b0)],a['mergeOverrideWithDependencies'](_0xf1034c,(_0x1a153a=this[_0x22f8d9(0x550)])==null?void 0x0:_0x1a153a[_0x22f8d9(0x38b)]));}['_registerRenderDependencies'](){const _0x395166=_0x543e24;this['disposeWithMe'](this[_0x395166(0x31a)]['registerRenderModule'](a[_0x395166(0x4f9)][_0x395166(0x395)],[gt])),this[_0x395166(0x419)](this['_renderManagerService'][_0x395166(0x4c0)](a['UniverInstanceType']['UNIVER_SHEET'],[It]));}[_0x543e24(0x32e)](){const _0x47cc86=_0x543e24;var _0x4f8c90,_0x159493;this['_injector'][_0x47cc86(0x5e6)](z[_0x47cc86(0x1df)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':z[_0x47cc86(0x523)]({'maxParallel':0x6})}),(_0x4f8c90=this[_0x47cc86(0x550)])!=null&&_0x4f8c90['enableOfflineEditing']||this['_injector'][_0x47cc86(0x5e6)](exports[_0x47cc86(0x566)])[_0x47cc86(0x441)](),(_0x159493=this[_0x47cc86(0x550)])!=null&&_0x159493[_0x47cc86(0x630)]&&a[_0x47cc86(0x3cf)](this['_injector'],[[Ye]]),a['touchDependencies'](this[_0x47cc86(0x5b0)],[[Ke],[De],[exports[_0x47cc86(0x5a3)]],[exports['CollaborationController']],[exports[_0x47cc86(0x453)]],[qe]]);}},so(exports[_0x543e24(0x392)],'pluginName',ro),exports[_0x543e24(0x392)]=no([a[_0x543e24(0x5c6)](p[_0x543e24(0x420)],z[_0x543e24(0x5c2)]),He(0x1,a[_0x543e24(0x488)]),He(0x2,K[_0x543e24(0x537)]),He(0x3,a[_0x543e24(0x432)](a['Injector'])),He(0x4,a[_0x543e24(0x693)])],exports[_0x543e24(0x392)]),exports[_0x543e24(0x654)]=Ut,exports[_0x543e24(0x534)]=Q,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=li,exports[_0x543e24(0x3cd)]=si,exports[_0x543e24(0x2b6)]=q,exports[_0x543e24(0x31b)]=Oi,exports['CommentService']=Rt,exports[_0x543e24(0x2e0)]=ri,exports[_0x543e24(0x666)]=Et,exports[_0x543e24(0x411)]=Tt,exports['IURLService']=wt,exports['LOCAL_CACHE_INTERVAL_KEY']=ci,exports['LOGIN_URL_KEY']=hi,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ai,exports[_0x543e24(0x5cd)]=Wi,exports[_0x543e24(0x445)]=ii,exports[_0x543e24(0x23b)]=ni,exports['SessionStatus']=se,exports[_0x543e24(0x53d)]=Ii,exports['WebURLService']=Li,exports[_0x543e24(0x3b9)]=di,exports[_0x543e24(0x39f)]=fi;
1
+ 'use strict';const _0x1cc768=_0x3a60;(function(_0x5ad99d,_0x4e8244){const _0x548516=_0x3a60,_0x567784=_0x5ad99d();while(!![]){try{const _0x417219=-parseInt(_0x548516(0x484))/0x1+-parseInt(_0x548516(0x43c))/0x2*(parseInt(_0x548516(0x2e9))/0x3)+parseInt(_0x548516(0x2db))/0x4*(parseInt(_0x548516(0x21e))/0x5)+-parseInt(_0x548516(0x5af))/0x6+-parseInt(_0x548516(0x2b2))/0x7*(parseInt(_0x548516(0x37e))/0x8)+parseInt(_0x548516(0x18c))/0x9+parseInt(_0x548516(0x321))/0xa;if(_0x417219===_0x4e8244)break;else _0x567784['push'](_0x567784['shift']());}catch(_0x4acacc){_0x567784['push'](_0x567784['shift']());}}}(_0x4d1c,0x33efc));var ji=Object[_0x1cc768(0x244)],$i=(_0x44d6fa,_0x3fe53b,_0x21afa5)=>_0x3fe53b in _0x44d6fa?ji(_0x44d6fa,_0x3fe53b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21afa5}):_0x44d6fa[_0x3fe53b]=_0x21afa5,I=(_0x32f988,_0x262172,_0x3583b1)=>$i(_0x32f988,typeof _0x262172!='symbol'?_0x262172+'':_0x262172,_0x3583b1);Object[_0x1cc768(0x244)](exports,Symbol[_0x1cc768(0x5a3)],{'value':_0x1cc768(0x2d1)});const a=require(_0x1cc768(0xfe)),A=require(_0x1cc768(0x297)),V=require(_0x1cc768(0x1f1)),Ce=require(_0x1cc768(0x308)),z=require(_0x1cc768(0x1fd)),te=require(_0x1cc768(0x35f)),p=require(_0x1cc768(0x3ce)),Hi=require(_0x1cc768(0x470)),Ie=require('@univerjs/docs'),J=require(_0x1cc768(0x209)),k=require('@univerjs/sheets'),K=require(_0x1cc768(0x149)),ie=require(_0x1cc768(0x180)),Mt=require(_0x1cc768(0x4fa)),ye=require(_0x1cc768(0x120)),ae=require(_0x1cc768(0x1d8)),Bi=require('@univerjs/rpc'),ii=_0x1cc768(0x12e),ki=_0x1cc768(0x19a),ni='SNAPSHOT_URL_KEY',Wi=_0x1cc768(0x200),Fi=0x7d0,si=_0x1cc768(0x226),Vi=_0x1cc768(0x262),Gi=_0x1cc768(0x5d4),ri=_0x1cc768(0x45f),Yi=0x7530,Et=_0x1cc768(0x1fc),oi=0x4e20,Ki=0x4e20,ai=_0x1cc768(0x5b3),qi=0x3,ci=_0x1cc768(0x3ff),zi=0x3e8,li='COLLAB_SUBMIT_CHANGESET_URL',Xi=_0x1cc768(0x23b),hi=_0x1cc768(0x572),Ji=_0x1cc768(0x486);var _i=(_0x47773f=>(_0x47773f[_0x47773f[_0x1cc768(0x3e3)]=0x0]=_0x1cc768(0x3e3),_0x47773f[_0x47773f['OK']=0x1]='OK',_0x47773f[_0x47773f[_0x1cc768(0x2d2)]=0x2]=_0x1cc768(0x2d2),_0x47773f[_0x47773f[_0x1cc768(0x1ef)]=0x3]='PERMISSION_DENIED',_0x47773f[_0x47773f[_0x1cc768(0x316)]=0x4]=_0x1cc768(0x316),_0x47773f[_0x47773f[_0x1cc768(0x3cf)]=0x5]=_0x1cc768(0x3cf),_0x47773f[_0x47773f[_0x1cc768(0x2c9)]=0x6]=_0x1cc768(0x2c9),_0x47773f[_0x47773f[_0x1cc768(0x4e1)]=0x7]=_0x1cc768(0x4e1),_0x47773f[_0x47773f[_0x1cc768(0x126)]=0x8]=_0x1cc768(0x126),_0x47773f[_0x47773f[_0x1cc768(0x365)]=0x9]=_0x1cc768(0x365),_0x47773f[_0x47773f[_0x1cc768(0x144)]=0x1389]=_0x1cc768(0x144),_0x47773f[_0x47773f[_0x1cc768(0x2ff)]=0x1771]=_0x1cc768(0x2ff),_0x47773f[_0x47773f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1cc768(0x1f9),_0x47773f[_0x47773f[_0x1cc768(0x56b)]=0x1773]=_0x1cc768(0x56b),_0x47773f[_0x47773f['APPLY_REJECT']=0x1b59]=_0x1cc768(0x284),_0x47773f[_0x47773f[_0x1cc768(0x5b8)]=0x1b5a]=_0x1cc768(0x5b8),_0x47773f[_0x47773f[_0x1cc768(0x32e)]=0x1b5b]=_0x1cc768(0x32e),_0x47773f[_0x47773f['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x47773f[_0x47773f[_0x1cc768(0x4a1)]=0x1b5d]=_0x1cc768(0x4a1),_0x47773f[_0x47773f[_0x1cc768(0x4a4)]=0x1f41]=_0x1cc768(0x4a4),_0x47773f[_0x47773f[_0x1cc768(0x5b6)]=0x2329]=_0x1cc768(0x5b6),_0x47773f[_0x47773f[_0x1cc768(0x15e)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x47773f[_0x47773f[_0x1cc768(0x2e3)]=0x232b]=_0x1cc768(0x2e3),_0x47773f[_0x47773f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1cc768(0x4fc),_0x47773f[_0x47773f[_0x1cc768(0x547)]=0x232d]=_0x1cc768(0x547),_0x47773f[_0x47773f[_0x1cc768(0x19c)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x47773f[_0x47773f[_0x1cc768(0x510)]=0x2712]=_0x1cc768(0x510),_0x47773f[_0x47773f[_0x1cc768(0x441)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x47773f[_0x47773f['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1cc768(0x568),_0x47773f[_0x47773f[_0x1cc768(0x17e)]=-0x1]='UNRECOGNIZED',_0x47773f))(_i||{}),ne=(_0x28acd7=>(_0x28acd7[_0x28acd7[_0x1cc768(0x1de)]=0x0]=_0x1cc768(0x1de),_0x28acd7[_0x28acd7[_0x1cc768(0x408)]=0x1]=_0x1cc768(0x408),_0x28acd7[_0x28acd7[_0x1cc768(0x452)]=0x2]=_0x1cc768(0x452),_0x28acd7[_0x28acd7['UNIVER_SLIDE']=0x3]=_0x1cc768(0x1a9),_0x28acd7[_0x28acd7[_0x1cc768(0x443)]=0x4]='UNIVER_PROJECT',_0x28acd7[_0x28acd7[_0x1cc768(0x17e)]=-0x1]=_0x1cc768(0x17e),_0x28acd7))(ne||{}),G=(_0x2ab1e2=>(_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x5b5)]=0x0]=_0x1cc768(0x5b5),_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x215)]=0x1]='HELLO',_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x232)]=0x2]=_0x1cc768(0x232),_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x5d5)]=0x3]='LEAVE',_0x2ab1e2[_0x2ab1e2['INGEST']=0x4]=_0x1cc768(0x455),_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x165)]=0x5]=_0x1cc768(0x165),_0x2ab1e2[_0x2ab1e2['RECV']=0x6]=_0x1cc768(0x39c),_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x17e)]=-0x1]=_0x1cc768(0x17e),_0x2ab1e2))(G||{}),bt=(_0x1f0b0f=>(_0x1f0b0f[_0x1f0b0f['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x1f0b0f[_0x1f0b0f['OK']=0x1]='OK',_0x1f0b0f[_0x1f0b0f[_0x1cc768(0x17b)]=0x2]=_0x1cc768(0x17b),_0x1f0b0f[_0x1f0b0f[_0x1cc768(0x2f3)]=0x3e9]='JOIN_ROOM_FULL',_0x1f0b0f[_0x1f0b0f[_0x1cc768(0x503)]=0x3ea]=_0x1cc768(0x503),_0x1f0b0f[_0x1f0b0f[_0x1cc768(0x17e)]=-0x1]='UNRECOGNIZED',_0x1f0b0f))(bt||{}),ui=(_0x92427=>(_0x92427[_0x92427[_0x1cc768(0x257)]=0x0]=_0x1cc768(0x257),_0x92427[_0x92427[_0x1cc768(0x4be)]=0x1]=_0x1cc768(0x4be),_0x92427[_0x92427[_0x1cc768(0x589)]=0x2]=_0x1cc768(0x589),_0x92427[_0x92427[_0x1cc768(0x3ca)]=0x3]='UnitEmbedded',_0x92427[_0x92427[_0x1cc768(0x219)]=0x4]=_0x1cc768(0x219),_0x92427[_0x92427[_0x1cc768(0x17e)]=-0x1]=_0x1cc768(0x17e),_0x92427))(ui||{});const Q=_0x1cc768(0x258),Zi={};function di(_0x41c20a){const _0x2d3280=_0x1cc768;var _0x1b7045,_0x4ed5fe,_0xe5f7a5,_0x12336d,_0xf17158;const _0x358185=_0x41c20a[_0x2d3280(0x48a)],_0x235f54=JSON['parse'](_0x358185);switch(_0x235f54[_0x2d3280(0x217)]){case G[_0x2d3280(0x165)]:case G[_0x2d3280(0x215)]:{const _0x43c56d=_0x235f54['infoRsp'];return{..._0x235f54,'data':_0x43c56d,'cmd':_0x235f54[_0x2d3280(0x217)]};}case G[_0x2d3280(0x232)]:{const _0x53aac6=_0x235f54[_0x2d3280(0x579)];return{..._0x235f54,'data':_0x53aac6,'cmd':_0x235f54[_0x2d3280(0x217)]};}case G[_0x2d3280(0x39c)]:{const _0x2a4972=_0x235f54[_0x2d3280(0x1a1)];switch(_0x2a4972['eventID']){case p[_0x2d3280(0x59c)][_0x2d3280(0x576)]:return{..._0x235f54,'data':{..._0x2a4972,'data':(_0x1b7045=_0x2a4972[_0x2d3280(0x2a6)])==null?void 0x0:_0x1b7045['cs']},'cmd':_0x235f54['cmd']};case p['CollaborationEvent'][_0x2d3280(0x4a5)]:return{..._0x235f54,'data':{..._0x2a4972,'data':(_0x4ed5fe=_0x2a4972[_0x2d3280(0x37a)])==null?void 0x0:_0x4ed5fe['cs']},'cmd':_0x235f54[_0x2d3280(0x217)]};case p['CollaborationEvent'][_0x2d3280(0x24b)]:return{..._0x235f54,'data':{..._0x2a4972,'data':(_0xe5f7a5=_0x2a4972['newCsEvent'])==null?void 0x0:_0xe5f7a5['cs']},'cmd':_0x235f54[_0x2d3280(0x217)]};case p['CollaborationEvent']['CHANGESET_REJ']:return{..._0x235f54,'data':{..._0x2a4972,'data':(_0x12336d=_0x2a4972[_0x2d3280(0x598)])==null?void 0x0:_0x12336d['cs']},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x4ac)]:return{..._0x235f54,'data':{..._0x2a4972,'data':(_0xf17158=_0x2a4972[_0x2d3280(0x280)])==null?void 0x0:_0xf17158['cs']},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x59b)]:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x2f4)]},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x41c)]:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x27d)]},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x52f)]:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x372)]},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)]['LIVESHARE_NEW_HOST']:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972['liveShareNewHost']},'cmd':_0x235f54['cmd']};case p['CollaborationEvent'][_0x2d3280(0x4ba)]:case p[_0x2d3280(0x59c)][_0x2d3280(0x3e4)]:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x558)]},'cmd':_0x235f54['cmd']};case p['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x1cb)]},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x47b)]:return{..._0x235f54,'data':_0x2a4972,'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)]['COMMENT_UPDATE']:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x496)]},'cmd':_0x235f54['cmd']};case p[_0x2d3280(0x59c)]['UPDATE_PERMISSION_OBJ']:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x374)]},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x3a3)]:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x2e8)]},'cmd':_0x235f54[_0x2d3280(0x217)]};default:return _0x235f54;}}default:return _0x235f54;}}function fi(_0x1f80c9){const _0x4c6f35=_0x1cc768;switch(_0x1f80c9[_0x4c6f35(0x217)]){case G['HEARTBEAT']:case G[_0x4c6f35(0x215)]:return JSON['stringify']({'cmd':_0x1f80c9[_0x4c6f35(0x217)],'routeKey':_0x1f80c9['routeKey']});case G[_0x4c6f35(0x455)]:{let _0x31ed52;switch(_0x1f80c9['data'][_0x4c6f35(0x1c1)]){case p[_0x4c6f35(0x59c)][_0x4c6f35(0x59b)]:{_0x31ed52={'eventID':p[_0x4c6f35(0x59c)][_0x4c6f35(0x59b)],'updateCursorEvent':_0x1f80c9[_0x4c6f35(0x48a)][_0x4c6f35(0x48a)]};break;}case p[_0x4c6f35(0x59c)]['USERS_LEAVE']:{_0x31ed52={'eventID':p[_0x4c6f35(0x59c)]['USERS_LEAVE'],'leaveEvent':_0x1f80c9['data'][_0x4c6f35(0x48a)]};break;}case p['CollaborationEvent'][_0x4c6f35(0x41c)]:{_0x31ed52={'eventID':p[_0x4c6f35(0x59c)][_0x4c6f35(0x41c)],'joinEvent':_0x1f80c9[_0x4c6f35(0x48a)]['data']};break;}case p[_0x4c6f35(0x59c)]['LIVESHARE_NEW_HOST']:{_0x31ed52={'eventID':p[_0x4c6f35(0x59c)][_0x4c6f35(0x379)],'liveShareNewHost':_0x1f80c9[_0x4c6f35(0x48a)][_0x4c6f35(0x48a)]};break;}case p[_0x4c6f35(0x59c)]['LIVESHARE_OPERATION']:{_0x31ed52={'eventID':p['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x1f80c9[_0x4c6f35(0x48a)][_0x4c6f35(0x48a)]};break;}case p[_0x4c6f35(0x59c)][_0x4c6f35(0x4f1)]:{_0x31ed52={'eventID':p['CollaborationEvent'][_0x4c6f35(0x4f1)],'liveShareTerminate':_0x1f80c9[_0x4c6f35(0x48a)][_0x4c6f35(0x48a)]};break;}case p[_0x4c6f35(0x59c)][_0x4c6f35(0x440)]:{_0x31ed52={'eventID':p[_0x4c6f35(0x59c)][_0x4c6f35(0x440)],'liveShareRequestHost':_0x1f80c9[_0x4c6f35(0x48a)][_0x4c6f35(0x48a)]};break;}case p['CollaborationEvent'][_0x4c6f35(0x4ba)]:{_0x31ed52={'eventID':p['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x31ed52={'eventID':_0x1f80c9['data'][_0x4c6f35(0x1c1)]};}return JSON['stringify']({'cmd':_0x1f80c9['cmd'],'routeKey':_0x1f80c9[_0x4c6f35(0x1f7)],'collaMsg':_0x31ed52});}case G[_0x4c6f35(0x232)]:return JSON[_0x4c6f35(0x236)]({'cmd':_0x1f80c9[_0x4c6f35(0x217)],'routeKey':_0x1f80c9[_0x4c6f35(0x1f7)],'joinReq':_0x1f80c9[_0x4c6f35(0x48a)]});case G[_0x4c6f35(0x5d5)]:return JSON['stringify']({'cmd':_0x1f80c9[_0x4c6f35(0x217)],'routeKey':_0x1f80c9[_0x4c6f35(0x1f7)],'leaveReq':_0x1f80c9['data']});default:throw new Error(_0x4c6f35(0x255));}}var Qi=Object[_0x1cc768(0x244)],en=Object[_0x1cc768(0x263)],tn=(_0xd47315,_0x445e79,_0x23e509,_0x1be700)=>{const _0x311d0c=_0x1cc768;for(var _0x4e1bd9=_0x1be700>0x1?void 0x0:_0x1be700?en(_0x445e79,_0x23e509):_0x445e79,_0x103421=_0xd47315[_0x311d0c(0x31e)]-0x1,_0x9ca47d;_0x103421>=0x0;_0x103421--)(_0x9ca47d=_0xd47315[_0x103421])&&(_0x4e1bd9=(_0x1be700?_0x9ca47d(_0x445e79,_0x23e509,_0x4e1bd9):_0x9ca47d(_0x4e1bd9))||_0x4e1bd9);return _0x1be700&&_0x4e1bd9&&Qi(_0x445e79,_0x23e509,_0x4e1bd9),_0x4e1bd9;},Pe=(_0x29f621,_0x123f2c)=>(_0x1ef250,_0x4d8895)=>_0x123f2c(_0x1ef250,_0x4d8895,_0x29f621);const Tt=a[_0x1cc768(0x415)]('univer-pro.collaboration-client-socket-service');function nn(_0x8e9ad2,_0x13df2a,_0xe0677c){const _0x44c554=_0x1cc768;return _0x8e9ad2+'/'+_0x13df2a+_0x44c554(0x480)+_0xe0677c+_0x44c554(0x3b2);}exports['CollaborationSocketService']=class extends a[_0x1cc768(0x1c0)]{constructor(_0x2a1455,_0x2e98d8,_0x2b0b36,_0x18b33d,_0x533024){const _0x1ce5bc=_0x1cc768;super(),this[_0x1ce5bc(0x4e0)]=_0x2a1455,this[_0x1ce5bc(0x16d)]=_0x2e98d8,this[_0x1ce5bc(0x2c0)]=_0x2b0b36,this['_logService']=_0x18b33d,this[_0x1ce5bc(0x2aa)]=_0x533024;}['createSocket'](_0x36a300){const _0x705b4a=_0x1cc768,_0x58238e=this[_0x705b4a(0x16d)][_0x705b4a(0x535)](_0x36a300);if(!_0x58238e)throw new Error(_0x705b4a(0x323));const _0x50452d=new a[(_0x705b4a(0x35d))](),_0x5e143c=new A[(_0x705b4a(0x3f0))]();_0x50452d[_0x705b4a(0x2dd)](_0x58238e['close$'][_0x705b4a(0x556)](_0x26d783=>_0x5e143c[_0x705b4a(0x122)](_0x26d783))),_0x50452d['add'](a[_0x705b4a(0x329)](()=>_0x5e143c[_0x705b4a(0x4e2)]()));const _0x271489=new A[(_0x705b4a(0x3f0))]();_0x50452d['add'](_0x58238e[_0x705b4a(0x306)]['subscribe'](_0x1f74d3=>_0x271489[_0x705b4a(0x122)](_0x1f74d3))),_0x50452d[_0x705b4a(0x2dd)](a['toDisposable'](()=>_0x271489[_0x705b4a(0x4e2)]()));const _0xfcf8ca=new A[(_0x705b4a(0x3f0))]();_0x50452d[_0x705b4a(0x2dd)](_0x58238e[_0x705b4a(0x49e)]['subscribe'](_0x440aec=>{const _0x596d9e=_0x705b4a,_0x337d3d=di(_0x440aec);_0xfcf8ca[_0x596d9e(0x122)](_0x337d3d);})),_0x50452d[_0x705b4a(0x2dd)](a[_0x705b4a(0x329)](()=>_0xfcf8ca[_0x705b4a(0x4e2)]()));let _0x3cd567;const _0x159451=()=>{const _0x48b42b=_0x705b4a;_0x271489['next'](new Event(_0x48b42b(0x343))),_0x5e143c[_0x48b42b(0x122)](new CloseEvent(_0x48b42b(0x343))),_0x3cd567['close']();};return _0x3cd567={'memberID':'','close$':_0x5e143c['asObservable'](),'error$':_0x271489[_0x705b4a(0x575)](),'open$':_0x58238e['open$'],'message$':_0xfcf8ca['asObservable'](),'send':_0x1c263e=>{const _0x443c8e=_0x705b4a;if(_0x1c263e[_0x443c8e(0x217)]===G['INGEST']){if(_0x1c263e['data'][_0x443c8e(0x1c1)]===p[_0x443c8e(0x59c)][_0x443c8e(0x54a)]){this[_0x443c8e(0x245)](_0x3cd567,_0x1c263e[_0x443c8e(0x48a)])[_0x443c8e(0x146)](_0xc22a6f=>{const _0x134419=_0x443c8e;this['_logService'][_0x134419(0x1c4)](_0xc22a6f),_0x159451();});return;}if(_0x1c263e[_0x443c8e(0x48a)]['eventID']===p[_0x443c8e(0x59c)]['FETCH_MISSING']){const _0xd317f5=_0x1c263e['data'];this[_0x443c8e(0x19b)](_0xd317f5)['then'](_0x2d9f1c=>{const _0x4bd678=_0x443c8e;_0xfcf8ca[_0x4bd678(0x122)]({'cmd':G['RECV'],'code':bt['OK'],'routeKey':_0xd317f5[_0x4bd678(0x48a)][_0x4bd678(0x4ed)],'routeType':'','data':{'eventID':p[_0x4bd678(0x59c)][_0x4bd678(0x5d0)],'data':{'changesets':_0x2d9f1c}}});})['catch'](_0x45914e=>{const _0x426baa=_0x443c8e;this[_0x426baa(0x10c)][_0x426baa(0x1c4)](_0x45914e),_0x159451();});return;}}_0x58238e[_0x443c8e(0x48e)](fi(_0x1c263e));},'close':()=>{const _0x30a292=_0x705b4a;_0x58238e['close'](),_0x50452d[_0x30a292(0x14c)]();}},_0x3cd567;}async[_0x1cc768(0x245)](_0x4908d2,_0x231556){const _0x50143b=_0x1cc768;var _0x5cd2d8,_0x413013;const {unitType:_0x34249f,unitID:_0x58dd3b,changeset:_0x453f69}=_0x231556[_0x50143b(0x48a)],_0x5860aa={'unitID':_0x58dd3b,'memberID':_0x4908d2['memberID'],'type':_0x34249f,'changeset':p[_0x50143b(0x1cf)](_0x453f69)},_0x583c2b=this[_0x50143b(0x2c0)][_0x50143b(0x555)](li),_0x401ada=this[_0x50143b(0x2c0)][_0x50143b(0x555)](Q),_0x3ef8d3=nn((_0x413013=(_0x5cd2d8=_0x401ada==null?void 0x0:_0x401ada[_0x50143b(0x2bc)])!=null?_0x5cd2d8:_0x583c2b)!=null?_0x413013:Xi,_0x34249f,_0x58dd3b);try{await this[_0x50143b(0x4e0)][_0x50143b(0x4a3)](_0x3ef8d3,{'body':_0x5860aa});}catch(_0x4714cc){throw this[_0x50143b(0x10c)]['error'](_0x50143b(0x499),_0x50143b(0x593)),_0x4714cc;}}async[_0x1cc768(0x19b)](_0x348344){const _0x56943e=_0x1cc768,{unitID:_0x2a7333,from:_0x51863e,to:_0x1c62e8,unitType:_0x53e780}=_0x348344[_0x56943e(0x48a)];return(await this[_0x56943e(0x2aa)][_0x56943e(0x107)]({'metadata':void 0x0},{'unitID':_0x2a7333,'type':_0x53e780,'from':_0x51863e,'to':_0x1c62e8}))[_0x56943e(0x59e)];}},exports[_0x1cc768(0x3de)]=tn([Pe(0x0,a[_0x1cc768(0x2ca)](z[_0x1cc768(0x1db)])),Pe(0x1,a[_0x1cc768(0x2ca)](z[_0x1cc768(0x104)])),Pe(0x2,a[_0x1cc768(0x56f)]),Pe(0x3,a[_0x1cc768(0x1a0)]),Pe(0x4,p[_0x1cc768(0x533)])],exports['CollaborationSocketService']);const sn=_0x1cc768(0x51f);function rn(_0x1b10e5){const _0x1023d6=_0x1cc768;return JSON[_0x1023d6(0x236)](_0x1b10e5)['length'];}class Rt{constructor(){const _0xb8510b=_0x1cc768;I(this,_0xb8510b(0x2dc),new A[(_0xb8510b(0x3f0))]()),I(this,'commentUpdate$',this[_0xb8510b(0x2dc)][_0xb8510b(0x575)]());}[_0x1cc768(0x2e4)](_0x24127d){const _0x46204d=_0x1cc768;this['_commentUpdate$'][_0x46204d(0x122)](_0x24127d);}}var on=Object[_0x1cc768(0x244)],an=Object['getOwnPropertyDescriptor'],cn=(_0x2db426,_0x2904ea,_0x2b38a6,_0x96984d)=>{const _0x278921=_0x1cc768;for(var _0x45b592=_0x96984d>0x1?void 0x0:_0x96984d?an(_0x2904ea,_0x2b38a6):_0x2904ea,_0x3feb11=_0x2db426[_0x278921(0x31e)]-0x1,_0x156222;_0x3feb11>=0x0;_0x3feb11--)(_0x156222=_0x2db426[_0x3feb11])&&(_0x45b592=(_0x96984d?_0x156222(_0x2904ea,_0x2b38a6,_0x45b592):_0x156222(_0x45b592))||_0x45b592);return _0x96984d&&_0x45b592&&on(_0x2904ea,_0x2b38a6,_0x45b592),_0x45b592;},At=(_0x28422f,_0x4c3d0f)=>(_0x391e21,_0x1f761b)=>_0x4c3d0f(_0x391e21,_0x1f761b,_0x28422f);exports['MemberService']=class extends a[_0x1cc768(0x1c0)]{constructor(_0x3c0e07,_0x4bb70d){const _0x50e318=_0x1cc768;super(),I(this,'_roomMembers',new Map()),(this[_0x50e318(0x114)]=_0x3c0e07,this['_userManagerService']=_0x4bb70d,this[_0x50e318(0x27e)](a[_0x50e318(0x329)](A[_0x50e318(0x57c)](this[_0x50e318(0x114)][_0x50e318(0x3c3)](a[_0x50e318(0x1a7)]['UNIVER_SHEET'])[_0x50e318(0x154)](V[_0x50e318(0x130)](_0x35996c=>_0x35996c[_0x50e318(0x1f0)]())),this[_0x50e318(0x114)][_0x50e318(0x3c3)](a[_0x50e318(0x1a7)][_0x50e318(0x408)])['pipe'](V[_0x50e318(0x130)](_0x29b75c=>_0x29b75c[_0x50e318(0x1f0)]())),this[_0x50e318(0x114)]['getTypeOfUnitDisposed$'](a[_0x50e318(0x1a7)]['UNIVER_SLIDE'])['pipe'](V['map'](_0x2c6b11=>_0x2c6b11[_0x50e318(0x1f0)]())))[_0x50e318(0x556)](_0x4a7f0d=>this[_0x50e318(0x342)](_0x4a7f0d)))));}['setCurrentUser'](_0x9b6534){const _0x4b55d9=_0x1cc768;this['_userManagerService'][_0x4b55d9(0x2fc)](_0x9b6534);}[_0x1cc768(0x1b0)](){const _0x37d3f4=_0x1cc768;return this[_0x37d3f4(0x56c)][_0x37d3f4(0x1b0)]();}['updateMember'](_0x1094d0,_0x46a62f){const _0x235e8c=_0x1cc768;let _0xde3ae0=this[_0x235e8c(0x2fa)][_0x235e8c(0x4f7)](_0x1094d0);_0xde3ae0||(_0xde3ae0=new ln(),this[_0x235e8c(0x2fa)][_0x235e8c(0x31f)](_0x1094d0,_0xde3ae0)),_0xde3ae0[_0x235e8c(0x22d)](_0x46a62f);}[_0x1cc768(0x347)](_0x21d229,_0x241b32){const _0x50e4e2=_0x1cc768,_0x5c8c00=this[_0x50e4e2(0x2fa)][_0x50e4e2(0x4f7)](_0x21d229);_0x5c8c00&&_0x5c8c00[_0x50e4e2(0x347)](_0x241b32);}[_0x1cc768(0x5d8)](_0x400b89){const _0x3a447d=_0x1cc768;return this[_0x3a447d(0x2fa)]['get'](_0x400b89);}['getMember'](_0x3b0bb0,_0x41f499){const _0x3ea41b=_0x1cc768,_0x5ac280=this[_0x3ea41b(0x2fa)][_0x3ea41b(0x4f7)](_0x3b0bb0);if(_0x5ac280)return _0x5ac280[_0x3ea41b(0x1ed)](_0x41f499);}[_0x1cc768(0x342)](_0x203832){const _0x477ab2=_0x1cc768,_0x4636b6=this['_roomMembers']['get'](_0x203832);_0x4636b6&&(_0x4636b6[_0x477ab2(0x14c)](),this[_0x477ab2(0x2fa)][_0x477ab2(0x24c)](_0x203832));}[_0x1cc768(0x14c)](){const _0x5781d7=_0x1cc768;this[_0x5781d7(0x2fa)][_0x5781d7(0x380)](_0x2317f3=>_0x2317f3[_0x5781d7(0x14c)]()),this[_0x5781d7(0x2fa)][_0x5781d7(0x43d)]();}},exports[_0x1cc768(0x1a6)]=cn([At(0x0,a[_0x1cc768(0x3bd)]),At(0x1,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x275)]))],exports['MemberService']);class ln extends a[_0x1cc768(0x1c0)]{constructor(){super(...arguments),I(this,'_members',new Map());}[_0x1cc768(0x14c)](){const _0x273eb2=_0x1cc768;this[_0x273eb2(0x4d4)][_0x273eb2(0x43d)]();}[_0x1cc768(0x22d)](_0x5b8ca6){const _0x34632d=_0x1cc768;this[_0x34632d(0x4d4)]['set'](_0x5b8ca6[_0x34632d(0x336)],_0x5b8ca6);}[_0x1cc768(0x347)](_0x485b61){const _0xa1879=_0x1cc768;this['_members'][_0xa1879(0x24c)](_0x485b61);}['getMember'](_0x382cac){const _0x233271=_0x1cc768;return this[_0x233271(0x4d4)][_0x233271(0x4f7)](_0x382cac);}[_0x1cc768(0x210)](){const _0x1b8bb4=_0x1cc768;return Array[_0x1b8bb4(0x491)](this[_0x1b8bb4(0x4d4)][_0x1b8bb4(0x3c9)]());}}var hn=Object[_0x1cc768(0x244)],_n=Object[_0x1cc768(0x263)],un=(_0x5e060a,_0x4f6cdd,_0x5c1df0,_0x42caa6)=>{const _0x5716db=_0x1cc768;for(var _0x415a67=_0x42caa6>0x1?void 0x0:_0x42caa6?_n(_0x4f6cdd,_0x5c1df0):_0x4f6cdd,_0x2a4eed=_0x5e060a[_0x5716db(0x31e)]-0x1,_0x3fc2d4;_0x2a4eed>=0x0;_0x2a4eed--)(_0x3fc2d4=_0x5e060a[_0x2a4eed])&&(_0x415a67=(_0x42caa6?_0x3fc2d4(_0x4f6cdd,_0x5c1df0,_0x415a67):_0x3fc2d4(_0x415a67))||_0x415a67);return _0x42caa6&&_0x415a67&&hn(_0x4f6cdd,_0x5c1df0,_0x415a67),_0x415a67;},de=(_0x13aa11,_0x132e8d)=>(_0x2ad7c9,_0x4ac202)=>_0x132e8d(_0x2ad7c9,_0x4ac202,_0x13aa11),se=(_0x47b60b=>(_0x47b60b[_0x47b60b[_0x1cc768(0x394)]=0x0]=_0x1cc768(0x394),_0x47b60b[_0x47b60b[_0x1cc768(0x5a8)]=0x1]=_0x1cc768(0x5a8),_0x47b60b[_0x47b60b[_0x1cc768(0x1b1)]=0x2]=_0x1cc768(0x1b1),_0x47b60b[_0x47b60b[_0x1cc768(0x586)]=0x3]=_0x1cc768(0x586),_0x47b60b))(se||{});exports[_0x1cc768(0x46e)]=class extends a[_0x1cc768(0x35a)]{constructor(_0x37f67e,_0x1c367b,_0xf86a66,_0x203677,_0x53f969,_0x33575a,_0xb2d015,_0x3929e1,_0x2cb85f,_0x29b972){const _0x5b18ac=_0x1cc768;super(),I(this,_0x5b18ac(0x2c6),new A[(_0x5b18ac(0x118))](0x0)),I(this,_0x5b18ac(0x272),this['_sessionStatus$']['asObservable']()),I(this,_0x5b18ac(0x2ab),new A[(_0x5b18ac(0x3f0))]()),I(this,_0x5b18ac(0x3a0),this[_0x5b18ac(0x2ab)]['asObservable']()),I(this,_0x5b18ac(0x26f)),I(this,_0x5b18ac(0x515)),I(this,_0x5b18ac(0x333)),I(this,'_shouldReportTelemetry',!0x1),I(this,_0x5b18ac(0x22f),null),(this['_unitID']=_0x37f67e,this[_0x5b18ac(0x10c)]=_0xf86a66,this['_beforeCloseService']=_0x203677,this['_messageService']=_0x53f969,this[_0x5b18ac(0x2c0)]=_0x33575a,this[_0x5b18ac(0x133)]=_0xb2d015,this[_0x5b18ac(0x222)]=_0x3929e1,this[_0x5b18ac(0x4de)]=_0x2cb85f,this[_0x5b18ac(0x433)]=_0x29b972,this[_0x5b18ac(0x1a4)]=!!this[_0x5b18ac(0x433)],_0x1c367b['pipe'](A[_0x5b18ac(0x4cf)](this[_0x5b18ac(0x36e)]))[_0x5b18ac(0x556)](_0x13a749=>{const _0x48b711=_0x5b18ac;var _0x5ba2f9;typeof _0x13a749>'u'||(this['_socket']=_0x13a749,_0x13a749?(this[_0x48b711(0x3b5)](_0x13a749),this[_0x48b711(0x515)]=_0x13a749[_0x48b711(0x49e)][_0x48b711(0x556)](_0x1b859c=>{const _0x3980bd=_0x48b711;_0x1b859c['routeKey']===this[_0x3980bd(0x36f)]&&this[_0x3980bd(0x51e)](_0x1b859c);})):(this[_0x48b711(0x2d9)](),this['_sessionStatus$'][_0x48b711(0x122)](0x2),(_0x5ba2f9=this[_0x48b711(0x515)])==null||_0x5ba2f9[_0x48b711(0x1ca)](),this[_0x48b711(0x515)]=null));}),this['disposeWithMe'](this[_0x5b18ac(0x1e7)]['registerOnClose'](()=>{const _0xe015fa=_0x5b18ac;var _0x4dae6e;(_0x4dae6e=this[_0xe015fa(0x26f)])==null||_0x4dae6e[_0xe015fa(0x48e)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0xe015fa(0x36f)]}});})));}get[_0x1cc768(0x4da)](){const _0x27eee5=_0x1cc768;return this[_0x27eee5(0x2c6)][_0x27eee5(0x3b3)]();}[_0x1cc768(0x519)](){const _0x42ba2e=_0x1cc768;var _0x409be7,_0x3974be;return(_0x3974be=(_0x409be7=this[_0x42ba2e(0x26f)])==null?void 0x0:_0x409be7[_0x42ba2e(0x336)])!=null?_0x3974be:null;}['dispose'](){const _0x19d64f=_0x1cc768;super[_0x19d64f(0x14c)](),this[_0x19d64f(0x36e)]['next'](),this[_0x19d64f(0x36e)]['complete']();}['close'](){const _0x531e08=_0x1cc768;var _0x29a0d1,_0x160691;this['_throwTelemetryCollaborationNewChangeset'](),(_0x29a0d1=this[_0x531e08(0x26f)])==null||_0x29a0d1[_0x531e08(0x48e)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x531e08(0x36f)]}}),(_0x160691=this['_socket'])==null||_0x160691[_0x531e08(0x5b1)](),this[_0x531e08(0x2ab)]['complete'](),this['_sessionStatus$'][_0x531e08(0x4e2)](),this[_0x531e08(0x14c)]();}[_0x1cc768(0x51e)](_0x1e333a){const _0x52dff9=_0x1cc768;_0x1e333a[_0x52dff9(0x217)]===G[_0x52dff9(0x232)]?this[_0x52dff9(0x2ea)](_0x1e333a):_0x1e333a[_0x52dff9(0x217)]===G[_0x52dff9(0x39c)]&&this[_0x52dff9(0x5a4)](_0x1e333a);}[_0x1cc768(0x3b5)](_0x3fdc91){const _0x1845a8=_0x1cc768;this[_0x1845a8(0x2c6)][_0x1845a8(0x122)](0x1),_0x3fdc91[_0x1845a8(0x48e)]({'cmd':G[_0x1845a8(0x232)],'routeKey':this[_0x1845a8(0x36f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1845a8(0x36f)]}]}});}['_onJoinRoomEvent'](_0x3683e2){const _0x5e9b25=_0x1cc768;var _0x2d0ba7;if(_0x3683e2['code']===bt['FAIL']){this[_0x5e9b25(0x124)]['show']({'type':Ce[_0x5e9b25(0x14d)]['Warning'],'content':this[_0x5e9b25(0x133)]['t'](_0x5e9b25(0x57a))}),this[_0x5e9b25(0x2c6)][_0x5e9b25(0x122)](0x2);return;}this[_0x5e9b25(0x2c6)]['next'](0x3);const _0xce0770=(_0x2d0ba7=_0x3683e2['data']['roomInfos'][this['_unitID']])==null?void 0x0:_0x2d0ba7[_0x5e9b25(0x5a6)];_0xce0770&&_0xce0770['forEach'](_0x292476=>this[_0x5e9b25(0x222)][_0x5e9b25(0x22d)](this[_0x5e9b25(0x36f)],_0x292476));}[_0x1cc768(0x5a4)](_0x220811){const _0xbc7bae=_0x1cc768;try{const _0x48a21d=_0x220811[_0xbc7bae(0x48a)];switch(_0x48a21d[_0xbc7bae(0x1c1)]){case p[_0xbc7bae(0x59c)][_0xbc7bae(0x41c)]:this[_0xbc7bae(0x52e)](_0x48a21d),this[_0xbc7bae(0x2ab)]['next'](_0x48a21d);break;case p[_0xbc7bae(0x59c)][_0xbc7bae(0x52f)]:this[_0xbc7bae(0x426)](_0x48a21d),this['_event$']['next'](_0x48a21d);break;case p[_0xbc7bae(0x59c)]['CHANGESET_ACK']:case p[_0xbc7bae(0x59c)][_0xbc7bae(0x4ac)]:this[_0xbc7bae(0x115)](),this[_0xbc7bae(0x17f)](),this['_event$'][_0xbc7bae(0x122)](_0x48a21d);break;case p[_0xbc7bae(0x59c)][_0xbc7bae(0x47b)]:this[_0xbc7bae(0x10c)][_0xbc7bae(0x1c4)](_0xbc7bae(0x11a)+JSON[_0xbc7bae(0x236)](_0x48a21d)),this[_0xbc7bae(0x2ab)]['next'](_0x48a21d);break;case p[_0xbc7bae(0x59c)][_0xbc7bae(0x4ea)]:this['_commentService'][_0xbc7bae(0x2e4)](_0x48a21d[_0xbc7bae(0x48a)]),this['_event$']['next'](_0x48a21d);break;default:this[_0xbc7bae(0x2ab)][_0xbc7bae(0x122)](_0x48a21d);}}catch(_0x59758f){this[_0xbc7bae(0x10c)][_0xbc7bae(0x1c4)](_0x59758f,_0x220811);}}[_0x1cc768(0x52e)](_0x4bc8c8){const _0x4e276e=_0x1cc768;this[_0x4e276e(0x222)][_0x4e276e(0x22d)](this[_0x4e276e(0x36f)],_0x4bc8c8['data']);}[_0x1cc768(0x426)](_0xef0c77){const _0x3e7f96=_0x1cc768;this[_0x3e7f96(0x222)][_0x3e7f96(0x347)](this['_unitID'],_0xef0c77['data']['memberID']);}async[_0x1cc768(0x48e)](_0x48f504,_0x1bcb30){const _0x3201f5=_0x1cc768;if(this[_0x3201f5(0x4da)]!==0x3||!this[_0x3201f5(0x26f)])throw new Error(_0x3201f5(0x314));try{_0x48f504[_0x3201f5(0x1c1)]===p[_0x3201f5(0x59c)][_0x3201f5(0x54a)]&&(this[_0x3201f5(0x2f8)](),this[_0x3201f5(0x543)](_0x48f504)),this['_socket'][_0x3201f5(0x48e)]({'cmd':G['INGEST'],'routeKey':_0x1bcb30,'routeType':'','data':_0x48f504});}catch(_0x2f6a8c){this[_0x3201f5(0x10c)][_0x3201f5(0x1c4)](_0x2f6a8c);}}['_scheduleCollaborationTimeoutTimer'](){const _0x290bae=_0x1cc768;var _0x103bc7;this['_collaborationTimeoutTimer']=window[_0x290bae(0x2e7)](()=>{const _0x4eb8dc=_0x290bae;this[_0x4eb8dc(0x333)]=null,this[_0x4eb8dc(0x124)][_0x4eb8dc(0x242)]({'type':Ce[_0x4eb8dc(0x14d)][_0x4eb8dc(0x4ef)],'content':this['_localeService']['t'](_0x4eb8dc(0x478))});},(_0x103bc7=this[_0x290bae(0x2c0)][_0x290bae(0x555)](Et))!=null?_0x103bc7:oi);}[_0x1cc768(0x17f)](){const _0x239f7b=_0x1cc768;this[_0x239f7b(0x333)]&&(clearTimeout(this[_0x239f7b(0x333)]),this['_collaborationTimeoutTimer']=null);}[_0x1cc768(0x543)](_0x84f1af){const _0xbe68a1=_0x1cc768;if(!this[_0xbe68a1(0x1a4)])return;const {data:_0x32cf60}=_0x84f1af,{unitID:_0x56ca11,changeset:_0x3e9020}=_0x32cf60,{mutations:_0x4e9e68,type:_0x4310d5}=_0x3e9020;this[_0xbe68a1(0x22f)]={'unitId':_0x56ca11,'type':_0x4310d5,'startTime':performance[_0xbe68a1(0x4f5)](),'stopTime':0x0,'duration':0x0,'size':rn(_0x4e9e68)};}[_0x1cc768(0x115)](){const _0x264fed=_0x1cc768;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x264fed(0x10c)]['error'](_0x264fed(0x499),_0x264fed(0x5ba));return;}this[_0x264fed(0x22f)][_0x264fed(0x526)]=performance[_0x264fed(0x4f5)](),this[_0x264fed(0x22f)][_0x264fed(0x59f)]=this[_0x264fed(0x22f)][_0x264fed(0x526)]-this[_0x264fed(0x22f)][_0x264fed(0x201)],this[_0x264fed(0x433)][_0x264fed(0x406)](sn,this[_0x264fed(0x22f)]),this['_telemetryInfo']=null;}}[_0x1cc768(0x2d9)](){const _0x4c64ed=_0x1cc768;this[_0x4c64ed(0x22f)]=null;}},exports[_0x1cc768(0x46e)]=un([de(0x2,a[_0x1cc768(0x1a0)]),de(0x3,te[_0x1cc768(0x42d)]),de(0x4,te[_0x1cc768(0x1e5)]),de(0x5,a[_0x1cc768(0x56f)]),de(0x6,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)])),de(0x7,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x1a6)])),de(0x8,a[_0x1cc768(0x2ca)](Rt)),de(0x9,a['Optional'](Hi[_0x1cc768(0x3bb)]))],exports[_0x1cc768(0x46e)]);var dn=Object[_0x1cc768(0x244)],fn=Object[_0x1cc768(0x263)],vn=(_0x3ca5b3,_0x3f4abc,_0x5bff74,_0x22490b)=>{const _0x3c3f5d=_0x1cc768;for(var _0x154ddb=_0x22490b>0x1?void 0x0:_0x22490b?fn(_0x3f4abc,_0x5bff74):_0x3f4abc,_0x41b251=_0x3ca5b3[_0x3c3f5d(0x31e)]-0x1,_0x280109;_0x41b251>=0x0;_0x41b251--)(_0x280109=_0x3ca5b3[_0x41b251])&&(_0x154ddb=(_0x22490b?_0x280109(_0x3f4abc,_0x5bff74,_0x154ddb):_0x280109(_0x154ddb))||_0x154ddb);return _0x22490b&&_0x154ddb&&dn(_0x3f4abc,_0x5bff74,_0x154ddb),_0x154ddb;},pe=(_0x1cbfb7,_0xe96fec)=>(_0x7aa79f,_0x893683)=>_0xe96fec(_0x7aa79f,_0x893683,_0x1cbfb7);exports[_0x1cc768(0x2e1)]=class extends a[_0x1cc768(0x1c0)]{constructor(_0x58af4f,_0x42666f,_0x5b8fd8,_0x1d74b4,_0x6a113e,_0x185fee,_0x4e3253){const _0x57b28f=_0x1cc768;super(),I(this,_0x57b28f(0x540),new A['BehaviorSubject'](void 0x0)),I(this,_0x57b28f(0x2d6),this['_socket$'][_0x57b28f(0x575)]()),I(this,_0x57b28f(0x387),null),I(this,_0x57b28f(0x545),new Map()),I(this,_0x57b28f(0x52a),new A[(_0x57b28f(0x118))](se[_0x57b28f(0x394)])),I(this,_0x57b28f(0x495),this[_0x57b28f(0x52a)][_0x57b28f(0x575)]()),I(this,_0x57b28f(0x590),!0x1),I(this,'_retryConnectingTimer'),I(this,_0x57b28f(0x25a),0x0),I(this,_0x57b28f(0x551)),I(this,_0x57b28f(0x3c5)),(this[_0x57b28f(0x310)]=_0x58af4f,this['_localeService']=_0x42666f,this[_0x57b28f(0x124)]=_0x5b8fd8,this[_0x57b28f(0x10c)]=_0x1d74b4,this[_0x57b28f(0x2c0)]=_0x6a113e,this[_0x57b28f(0x569)]=_0x185fee,this[_0x57b28f(0x2d5)]=_0x4e3253,this[_0x57b28f(0x4c2)]());}get[_0x1cc768(0x26f)](){const _0x40d418=_0x1cc768;return this[_0x40d418(0x540)]['getValue']();}[_0x1cc768(0x4c2)](){const _0x4ae464=_0x1cc768;this['_listenToOfflineEvent'](),this[_0x4ae464(0x53c)]();}[_0x1cc768(0x14c)](){const _0x537f5f=_0x1cc768;super[_0x537f5f(0x14c)](),this[_0x537f5f(0x545)]['forEach'](_0x42a09f=>_0x42a09f[_0x537f5f(0x14c)]()),this[_0x537f5f(0x545)][_0x537f5f(0x43d)](),this[_0x537f5f(0x52a)]['complete']();}async['requireSession'](_0x2e64d4){const _0xdf3ddf=_0x1cc768;if(this[_0xdf3ddf(0x545)]['has'](_0x2e64d4))return this['_sessions']['get'](_0x2e64d4);this[_0xdf3ddf(0x3d3)]();const _0x137bf7=this['_injector']['createInstance'](exports[_0xdf3ddf(0x46e)],_0x2e64d4,this['_socket$']['asObservable']());return this['_sessions'][_0xdf3ddf(0x31f)](_0x2e64d4,_0x137bf7),_0x137bf7;}[_0x1cc768(0x44a)](_0x3826d0){const _0x376aea=_0x1cc768;var _0x476ba4;const _0xb8a4ac=this[_0x376aea(0x545)][_0x376aea(0x4f7)](_0x3826d0);_0xb8a4ac&&(this['_sessions'][_0x376aea(0x24c)](_0x3826d0),_0xb8a4ac[_0x376aea(0x5b1)]()),this['_sessions']['size']||(_0x476ba4=this['_socket'])==null||_0x476ba4[_0x376aea(0x5b1)]();}[_0x1cc768(0x421)](){const _0x304f1f=_0x1cc768;this[_0x304f1f(0x25a)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x304f1f(0x300)]),this[_0x304f1f(0x300)]=null),this[_0x304f1f(0xfd)]();}async['_getSessionTicket'](){const _0x3ba7d1=_0x1cc768;var _0x4249ac,_0x5ef5bd,_0x28297c;const _0x5c19f3=this[_0x3ba7d1(0x2c0)][_0x3ba7d1(0x555)](Q),_0x3fa4b7=(_0x4249ac=_0x5c19f3==null?void 0x0:_0x5c19f3[_0x3ba7d1(0x4f2)])!=null?_0x4249ac:Gi;return(_0x28297c=(_0x5ef5bd=(await this[_0x3ba7d1(0x2d5)][_0x3ba7d1(0x4f7)](_0x3fa4b7,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x5ef5bd[_0x3ba7d1(0x11c)])!=null?_0x28297c:'';}[_0x1cc768(0x117)](_0x372181){const _0x3911e1=_0x1cc768;var _0xebe134,_0x50bcc1;const _0x312b69=this['_configService'][_0x3911e1(0x555)](si),_0x5c13a5=this['_configService'][_0x3911e1(0x555)](Q),_0x4d947f=(_0x50bcc1=(_0xebe134=_0x5c13a5==null?void 0x0:_0x5c13a5['collabWebSocketUrl'])!=null?_0xebe134:_0x312b69)!=null?_0x50bcc1:Vi,_0x46c494=new URL(_0x4d947f,window[_0x3911e1(0x19f)]['origin']);return _0x46c494['searchParams'][_0x3911e1(0x31f)]('sessionTicket',_0x372181),_0x46c494[_0x3911e1(0x3df)]();}async[_0x1cc768(0x288)](){const _0x582bc4=_0x1cc768,_0x2ce64b=await this[_0x582bc4(0x3b8)](),_0xb7f596=this['_createSocketURL'](_0x2ce64b),_0x4202e6=this[_0x582bc4(0x569)][_0x582bc4(0x535)](_0xb7f596);return this[_0x582bc4(0x387)]=_0x4202e6,_0x4202e6;}async['_tryEnsureSocket'](){const _0x12cfa8=_0x1cc768;var _0x22287d,_0x2c6120;try{const _0x246178=(_0x2c6120=(_0x22287d=this['_socket'])!=null?_0x22287d:this[_0x12cfa8(0x387)])!=null?_0x2c6120:await this[_0x12cfa8(0x288)]();if(_0x246178){const _0x3b1c1f=_0x246178['send'];_0x246178[_0x12cfa8(0x48e)]=_0x1a668d=>(this[_0x12cfa8(0x285)](),_0x3b1c1f[_0x12cfa8(0x119)](_0x246178,[_0x1a668d])),_0x246178[_0x12cfa8(0x49e)][_0x12cfa8(0x556)](_0x33807d=>this[_0x12cfa8(0x238)](_0x246178,_0x33807d)),_0x246178[_0x12cfa8(0x306)][_0x12cfa8(0x154)](V['take'](0x1))[_0x12cfa8(0x556)](_0x465cca=>this[_0x12cfa8(0x10c)][_0x12cfa8(0x1c4)](_0x12cfa8(0x446),_0x465cca)),_0x246178['open$']['pipe'](V['take'](0x1))[_0x12cfa8(0x556)](()=>{const _0x5f4ba1=_0x12cfa8;this[_0x5f4ba1(0x3fa)](_0x246178);}),_0x246178[_0x12cfa8(0x335)][_0x12cfa8(0x154)](V[_0x12cfa8(0x459)](0x1))[_0x12cfa8(0x556)](_0x4f2fb1=>{const _0x278366=_0x12cfa8;this[_0x278366(0x10c)][_0x278366(0x157)](_0x278366(0x29f),_0x278366(0x51c),_0x4f2fb1),this[_0x278366(0x250)]();});}}catch(_0x305592){this['_logService'][_0x12cfa8(0x1c4)](_0x305592),this[_0x12cfa8(0x250)]();}}[_0x1cc768(0x3fa)](_0x4adeef){const _0x190545=_0x1cc768;this[_0x190545(0x10c)][_0x190545(0x157)](_0x190545(0x29f),_0x190545(0x13d)),_0x4adeef[_0x190545(0x48e)]({'cmd':G[_0x190545(0x215)]}),this[_0x190545(0x285)]();}[_0x1cc768(0x438)](){const _0x282bb4=_0x1cc768;window['addEventListener'](_0x282bb4(0x2a7),()=>this['_onOffline']());}[_0x1cc768(0x59d)](){const _0x14f22b=_0x1cc768;this[_0x14f22b(0x590)]=!0x1,this[_0x14f22b(0x387)]=null,this[_0x14f22b(0x52a)][_0x14f22b(0x122)](se[_0x14f22b(0x1b1)]),this[_0x14f22b(0x540)][_0x14f22b(0x122)](null),this[_0x14f22b(0x2c4)](),this[_0x14f22b(0x20d)]();}[_0x1cc768(0x250)](){const _0x5c80f6=_0x1cc768;var _0x311526;this[_0x5c80f6(0x59d)](),this['_retryCount']<((_0x311526=this[_0x5c80f6(0x2c0)][_0x5c80f6(0x555)](ai))!=null?_0x311526:qi)?(this[_0x5c80f6(0x124)]['show']({'key':_0x5c80f6(0x301),'type':Ce['MessageType'][_0x5c80f6(0x268)],'content':this[_0x5c80f6(0x133)]['t'](_0x5c80f6(0x412))}),this[_0x5c80f6(0xfd)]()):this[_0x5c80f6(0x124)][_0x5c80f6(0x242)]({'key':'collaboration-session-retry','type':Ce[_0x5c80f6(0x14d)][_0x5c80f6(0x4ef)],'content':this[_0x5c80f6(0x133)]['t'](_0x5c80f6(0x3e0))});}['_listenToOnlineEvent'](){const _0x547ee2=_0x1cc768,_0x52b1db=()=>{this['_socket']||this['reconnect']();},_0x419f93=()=>{const _0x583536=_0x3a60;this[_0x583536(0x26f)]||document[_0x583536(0x185)]===_0x583536(0x41a)||this['reconnect']();};window['addEventListener'](_0x547ee2(0x3c6),_0x52b1db),document['addEventListener'](_0x547ee2(0x488),_0x419f93);}['_tryReconnect'](){const _0x42ae92=_0x1cc768;var _0x495139;const _0x5b0c07=this[_0x42ae92(0x25a)],_0x48c684=this[_0x42ae92(0x2c0)]['getConfig'](Q),_0x495821=_0x5b0c07===0x0?0x0:((_0x495139=_0x48c684==null?void 0x0:_0x48c684['retryConnectingInterval'])!=null?_0x495139:Ki)*0x2**_0x5b0c07;this[_0x42ae92(0x300)]=window[_0x42ae92(0x2e7)](()=>{const _0x8d31f8=_0x42ae92;clearTimeout(this[_0x8d31f8(0x300)]),this[_0x8d31f8(0x300)]=null,this[_0x8d31f8(0x3d3)]();},_0x495821),this[_0x42ae92(0x25a)]+=0x1;}[_0x1cc768(0x238)](_0x5f4e71,_0x209122){const _0x18dc86=_0x1cc768,{cmd:_0x5d6f73}=_0x209122;_0x5d6f73===G[_0x18dc86(0x215)]&&!this['_socketReady']&&(_0x5f4e71['memberID']=_0x209122['data']['memberID'],this[_0x18dc86(0x540)]['next'](_0x5f4e71),this[_0x18dc86(0x52a)][_0x18dc86(0x122)](se[_0x18dc86(0x586)]),this[_0x18dc86(0x590)]=!0x0,this[_0x18dc86(0x387)]=null),_0x5d6f73===G['HEARTBEAT']&&this[_0x18dc86(0x2c4)](),this[_0x18dc86(0x285)]();}[_0x1cc768(0x285)](){const _0x40cbf1=_0x1cc768;var _0x418ae7;this[_0x40cbf1(0x20d)](),this[_0x40cbf1(0x551)]=window[_0x40cbf1(0x2e7)](()=>this[_0x40cbf1(0x267)](),(_0x418ae7=this[_0x40cbf1(0x2c0)][_0x40cbf1(0x555)](ri))!=null?_0x418ae7:Yi);}[_0x1cc768(0x267)](){const _0x21ece0=_0x1cc768;this['_socket'][_0x21ece0(0x48e)]({'cmd':G[_0x21ece0(0x165)]}),this[_0x21ece0(0x4b7)]();}[_0x1cc768(0x4b7)](){const _0x45ae66=_0x1cc768;var _0x295ba1;this[_0x45ae66(0x3c5)]=window[_0x45ae66(0x2e7)](()=>this[_0x45ae66(0x250)](),(_0x295ba1=this[_0x45ae66(0x2c0)][_0x45ae66(0x555)](Et))!=null?_0x295ba1:oi);}[_0x1cc768(0x20d)](){const _0x28c75e=_0x1cc768;this[_0x28c75e(0x551)]!=null&&(clearTimeout(this[_0x28c75e(0x551)]),this[_0x28c75e(0x551)]=null);}[_0x1cc768(0x2c4)](){const _0x1001d6=_0x1cc768;this[_0x1001d6(0x3c5)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1001d6(0x3c5)]=null);}},exports['CollaborationSessionService']=vn([pe(0x0,a['Inject'](a[_0x1cc768(0x4d2)])),pe(0x1,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)])),pe(0x2,te[_0x1cc768(0x1e5)]),pe(0x3,a[_0x1cc768(0x1a0)]),pe(0x4,a[_0x1cc768(0x56f)]),pe(0x5,Tt),pe(0x6,a[_0x1cc768(0x2ca)](z[_0x1cc768(0x1db)]))],exports[_0x1cc768(0x2e1)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x1cc768(0x102)]((s+0x100)['toString'](0x10)[_0x1cc768(0x158)](0x1));function Sn(_0x2d22d1,_0x49a0e8=0x0){const _0x108c83=_0x1cc768;return(Y[_0x2d22d1[_0x49a0e8+0x0]]+Y[_0x2d22d1[_0x49a0e8+0x1]]+Y[_0x2d22d1[_0x49a0e8+0x2]]+Y[_0x2d22d1[_0x49a0e8+0x3]]+'-'+Y[_0x2d22d1[_0x49a0e8+0x4]]+Y[_0x2d22d1[_0x49a0e8+0x5]]+'-'+Y[_0x2d22d1[_0x49a0e8+0x6]]+Y[_0x2d22d1[_0x49a0e8+0x7]]+'-'+Y[_0x2d22d1[_0x49a0e8+0x8]]+Y[_0x2d22d1[_0x49a0e8+0x9]]+'-'+Y[_0x2d22d1[_0x49a0e8+0xa]]+Y[_0x2d22d1[_0x49a0e8+0xb]]+Y[_0x2d22d1[_0x49a0e8+0xc]]+Y[_0x2d22d1[_0x49a0e8+0xd]]+Y[_0x2d22d1[_0x49a0e8+0xe]]+Y[_0x2d22d1[_0x49a0e8+0xf]])[_0x108c83(0x112)]();}function _0x4d1c(){const _0x273c22=['file','c2Prime','LIVESHARE_FETCH_OPERATIONS','hostname','SUCCUSS','find','HttpImport','padding','editingUnit','RefRangeService','_initEventListeners','SetSelectionsOperation','COLORS','getResourcesRequest','RETRY_CONNECTING_MAX_COUNT_KEY','onTransformRemoteChangesetByIMECache','_showConflictNotification','byteLength','substr','Plugin','jsxs','getRenderById','_getMergeRange','takeUntil','getDocRanges','unpad','Injector','_invKeySchedule','_members','decrypt','subscribeEvent','c1Prime','list','_isPermissionRej','sessionStatus','history','with','IAuthzIoService','_commentService','size','_http','INVALID_ARGUMENT','complete','deserializeRangeWithSheet','x-univer-host','_getAPIPrefix','textRanges','clearTimeout','_config','drawWith','COMMENT_UPDATE','sheetId','measureText','unitID','getUndoRedoMutationParamsCache','Error','_updateLocalCache','LIVESHARE_TERMINATE','wsSessionTicketUrl','_updateState','indexOf','now','sheets','get','_cursorInfo$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','@univerjs/engine-formula','session','LICENSE_EXPORT_SIZE_EXCEEDED','react.fragment','url(#off-line-single_clip0_910_343)','onMouseMove','enableOfflineEditing','mapDocumentTypeToUniverType','ref','JOIN_ROOM_NOT_ALLOWED','Tooltip','_colorAssignService','OTHER_CLIENTS_EDITING','collabStatus.syncing','transformIMECache','origin','has','_cachedData','_registerDependencies','EffectRefRangId','_decreaseWaiting','_onFetchMissResult','YUUMI_URL_COL_OUT_OF_RANGE','image/jpg','sigBytes','_waitCount','_imageSourceCache','_socketMessageSubscription','DocSelectionManagerService','updatePermissionPoint','init','getMemberID','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','SheetCollaborationEntity','socket\x20close','abs','_onCombEvent','collaboration_new_changeset','all','IRemoteInstanceService','_entityInit$','conflict.title','fill','_executeRemoteChangeset','stopTime','onStarting','revision','onSyncEditingCollabCursor','_status$','subject','FETCH_MISSING','_getSheetObject','_onUserJoin','USERS_LEAVE','params','_handleJoinEvent','getUnitOnRev','ISnapshotServerService','Latin1','createSocket','_docTransformSelectionsService','triggerDblclick','_collaborationSessionService','url','sheetID','_hash','_listenToOnlineEvent','registerHTTPInterceptor','objectType','SYNCED','_socket$','_setupBeforeClosingHandler','IUndoRedoService','_startTelemetryCollaborationNewChangeset','BufferedBlockAlgorithm','_sessions','_iv','LICENSE_DISTRO_REJECTED','Could\x20not\x20dynamically\x20require\x20\x22','syncEditingCollabCursor','SUBMIT_CHANGESET','getCollabEntity$','saveOfflineData','_acknowledgedAwaitingChangeset','awaitingChangeset','resourceIDs','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_sendHeartbeatTimer','SnapshotService','_mode','actions','getConfig','subscribe','startColumn','liveShareOperation','permission.content','isActive','rev','unitId\x20is\x20not\x20found','getFocusedUnit','onRemoteRej','#fff','algo','\x20to\x20','Shape','buffer','collabCursorState$','getRelativeToViewportCoord','appendMutation','_handleHeartbeatEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','_socketService','getStateCache','ENSURE_SNAPSHOT_EXECUTION','_userManagerService','collaboration.single-unit.warning','_change$','IConfigService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_resendTimeout','LOGIN_URL_KEY','disposeUnit','onMissedChangesetFetched','asObservable','PERMISSION_REJ','charCodeAt','every','joinRsp','session.room-full','localeService','merge','cfg','onPointerEnter$','signUrlServerUrl','black','univerjs-icon\x20univerjs-icon-','_collabCursorController','replace','CollaborationStatus','_clearRedo','ONLINE','ILocalStorageService','encrypt','HttpExport','/universer-api/authz','collab-rect-range-','_createInitialState','transformByState','MoveRangeCommandId','getOwnPropertySymbols','_socketReady','none','finalize','submit\x20changeset\x20error!','_clearUndo','_transformUndoredo','[OfflineState]:\x20received\x20acknowledgement.','transformUndoRedo','csRejEvent','entries','b64DecodeUnicode','UPDATE_CURSOR','CollaborationEvent','_onOffline','changesets','duration','AUTHZ_URL_KEY','SEND_CHANGESET_TIMEOUT_KEY','onRemoteRetry','toStringTag','_onRecvEvent','IImageIoService','members','handleDeleteRangeMoveUp','JOINING','RECT','getSheetBlock','_toggleOnline','getTypeOfUnitAdded$','DocSkeletonManagerService','sequenceExecute','138912KsfqSN','cursorInfo','close','fromEvent','RETRY_CONNECTING_MAX_COUNT','[UniverCollaborationClientPlugin]','UNKNOWN_CMD','LICENSE_MAX_UNITS_EXCEEDED','font','APPLY_NON_SEQUENTIAL_REVISION','_initStatusListener','telemetry\x20info\x20is\x20not\x20initialized','_hover','/universer-api/snapshot/','Hasher','use','downloadEndpointUrl','_context','jsx','HTTPRequest','_onLocalMutation','_resendTimer','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','function','/-/object/list','DocIMEInputManagerService','for','loadOfflineData','PERSON','charAt','backgroundColor','_toggleOffline','unknown','PSEUDO_FETCH_MISSING_RESULT','change$','InsertRangeMoveDownCommandId','getViewport','/universer-api/user/session-ticket','LEAVE','_undoRedoService','_loadSheet','getRoom','onlyLocal','_tryReconnect','@univerjs/core','focused$','handleInsertRangeMoveDown','debounceTime','push','string','WebSocketService','height','Fragment','fetchMissingChangesets','patch','/resources','_getUndoStack','refreshPermission','_logService','setUndoRedoMutationParamsCache','createEncryptor','enc','_minBufferSize','getColor','toLowerCase','_clearOtherTimers','_univerInstanceService','_stopTelemetryCollaborationNewChangeset','createDecryptor','_createSocketURL','BehaviorSubject','apply','save\x20fail\x20reason\x20is\x20','Error\x20on\x20receiving\x20event','ticket','__creator','setShapeProps','ICommandService','@univerjs/sheets-ui','createElement','next','ImageUploadStatusType','_messageService','delay','TOO_MANY_REQUESTS','AWAITING','ReactCurrentOwner','_getLoginPath','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getTime','_collaborationPaused','[SyncedState]:\x20received\x20rejection.','SNAPSHOT_SERVER_URL_KEY','onSendChangeset','map','_roomMembers$','_anchorDot','_localeService','_commandService','_substituteRedoStack','encodeURIComponent','encode','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','activeSheet$','m1Prime','iterations','top','socket\x20open.','reject','floor','userID','currentSkeleton$','getAncestorScale','_init','CHANGESET_REVISION_CONFILICT','_send','catch','getCollabCursors$','{fileID}','@univerjs/engine-render','_online','getSheetBySheetId','dispose','MessageType','AES','roomMembers','DOC_RANGE_TYPE','isEditing','UniverIcon','state$','pipe','_unitStatus','_labelPosition','debug','slice','SerializableCipher','image/gif','onCommandExecuted','RemoveRowCommandId','_session','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DeleteRangeMoveUpCommandId','_localStorageService','hovered','setActiveRange','imageSourceType','unit','HEARTBEAT','_getCtorByUniverType','getImage','handleDeleteRangeMoveLeft','forwardRef','toggleOnline','listRoles','OpenSSL','_ws','univer-online-status-icon','_xformMode','_createHelper','fillRule','ranges','displayName','onTransformIME','idSuffix','_unlockTransition','getLatestCsReqIdBySid','processBlock','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','DocStateChangeManagerService','FAIL','MUTATION','defaultProps','UNRECOGNIZED','_clearCollaborationTimeoutTimer','@univerjs/drawing','_entities','_awaitingChangeset','throttleTime','_instanceService','visibilityState','requireSession','getParam','LOCAL_CACHE_INTERVAL_KEY','initWorkbookPermissionChange','ERROR_IMAGE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','3489741HTqCty','_unitOnClients','_singleActiveUnitService','/fetchmissing?from=','NoPadding','then','/universer-api/stream/file/upload','_applyRemoteChangeset','isArray','labelPosition','newValue','textEncoder','updateOfflineData','svg','/universer-api/snapshot','_fetchMissChangesets','YUUMI_UNABLE_LOAD_URL','0\x200\x2017\x2016','_selfUnitIDs','location','ILogService','collaMsg','subunit','title','_shouldReportTelemetry','CommentService','MemberService','UniverInstanceType','max','UNIVER_SLIDE','requestParams','POST','DEFAULT_FILE_NAME','collab-text-anchor-','_shapes','icon','getCurrentUser','OFFLINE','_ensureSubject','_eventUnsubscribe','_onRemoteRetry','_updateSubUnitFromURLParams','/-/object/-/batch_allowed','InsertRangeMoveRightCommandId','_getAPIPrefixPath','debounce','conflict.content','_redoStacks','getUnit','collabStatus.offline','_onRemoteACK','defIds','Disposable','eventID','setWaitCount','Malformed\x20UTF-8\x20data','error','onRemoteChangeset','transformSelections','_scheduleTimestamp','parseProtocolChangeset','_snapshotService','unsubscribe','liveShareNewHost','action','_getUploadFileURL','blockSize','parseChangesetToProtocol','authzUrl','onTransformSelections','WorkbookEditablePermission','[OfflineState]:\x20received\x20changeset.','conflict','InsertSheetMutation','handleInsertRow','_syncEditingCollabCursorService','react','Pkcs7','getSkeleton','HTTPService','univer-online-status','bind','UNIVER_UNKNOWN','_startDocCollabCursor','[DataLoaderController]','getCurrentSelections','currentTheme$','onTransformRemoteChangesetByStateCache','roomMembers$','IMessageService','transformMutation','_beforeCloseService','rgba(255,\x20255,\x20255,\x200.01)','ERROR_IMAGE_TYPE','_nDataBytes','_initStatusComponent','useCallback','getMember','image/png','PERMISSION_DENIED','getUnitId','rxjs/operators','Optional','getRangePointData','fetching\x20missing\x20changesets\x20from\x20','sid','InsertRowCommandId','routeKey','resize','SNAPSHOT_HAS_BEEN_REMOVED','_transformService','collaboratorID','HEARTBEAT_TIMEOUT','@univerjs/network','fetchMiss','_clearScheduledTask','SEND_CHANGESET_TIMEOUT','startTime','BuiltInUIPart','href','encryptBlock','ivSize','EmptyMutation','hasOwnProperty','_permissionService','@univerjs/docs-ui','IContextService','_transformHistoryAndStateStack','workbook','_clearHeartbeatTimer','reduce','_state','getAllMembers','_nRounds','&to=','reqId','Vector2','HELLO','DependentOn','cmd','className','UnitSnapshot','defs','incrementRevOfUnit','setShowComponents','ImageSourceType','678320YmdGUx','object','target','_checkMissing','_memberService','originalMeta','_incrementRevisionNumber','serializeCombRequest','COLLAB_WEB_SOCKET_URL','searchParams','randomBytes','/block/','_initCommandExecutedListener','_resendWithTimeout','range','updateMember','_docSkeleton','_telemetryInfo','_loadDoc','gold400','JOIN','collab-text-range-','concatMap','fillStyle','stringify','_handleHover','_onMessage','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getCollabEntity','/universer-api/comb','getMergeData','mapTo','updateCollaborator','_data','min','getInterceptPoints','show','_disableEditing','defineProperty','_submitChangeset','_saveTaskMap','m2Prime','sin','setAlpha','SessionStatus','NEW_CHANGESETS','delete','Workbook','COMPRESS_MUTATION_APPLY','equals','_onConnectionFailed','_color','div','getItem','deleteCollaborator','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_lastPointer','Undefined','collaboration-client.config','_createHandler','_retryCount','state','findNodePositionByCharIndex','/rev/','_sendingTimer','_docClipboardService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_cursors','ws://127.0.0.1:8000/universer-api/comb/connect','getOwnPropertyDescriptor','handleInsertRangeMoveRight','_substituteUndoStack','tag','_sendHeartbeat','Warning','Univer','_keySchedule','_queuedRemoteChangesets','1em','code','enableSingleActiveInstanceLock','_socket','RemoveColCommandId','resend','sessionStatus$','_scheduleSaving','uni.network.url-service','UserManagerService','concat','ThresholdInterceptorFactory','_saveCache','extend','_hasher','endRow','name','joinEvent','disposeWithMe','_DEC_XFORM_MODE','csShouldRetryEvent','_remoteChangesetQueue','listCollaborators','serializeRangeWithSheet','APPLY_REJECT','_rescheduleHeartbeat','_hovered','_collabSessionService','_createSocket','onload','lineTo','HMAC','EvpKDF','_onConflict','text','VIEWPORT_KEY','_handleLeaveEvent','subUnitId','_getSaveTimeout','_docStateChangeManagerService','_initCloseConn','Hex','allowed','rxjs','...','addClipboardHook','getImageSourceCache','xlink:href','FETCH_MISS','startRow','_handleEvent','[CollaborationSessionService]','clone','_drawRectRange','_cursor','keySize','IURLService','_onRemoteRejected','permissionRejEvent','offline','_scheduleHeartbeat','_doCryptBlock','_snapshotServerService','_event$','UniverCollaborationClientPlugin','_textBubble','assignAColorForMemberID','update','BlockCipher','IMentionIOService','336kTSNhc','__Key__','MentionType','round','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_getSnapshotAPIPrefix','&assign=','exports','_transitionLocked','RichTextEditingMutation','collabSubmitChangesetUrl','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','handleInsertCol','COMPRESS_MUTATION_SEND','_configService','OffLineSingle','socketService','putCollaborators','_clearTimeoutTimer','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_sessionStatus$','status','compute','ALREADY_EXISTS','Inject','startsWith','some','_transformRemoteChangesetByStateCache','univer-online-status-title','[FetchMissState]','_prevBlock','Module','INTERNAL_ERROR','_transformUndoRedoStack','ImageIoService','_httpService','socket$','collaborators','pluginName','_throwTelemetryCollaborationNewChangeset','IRenderManagerService','4odAhdH','_commentUpdate$','add','getCurrentRevOfUnit','objectActions','TEXT_RANGE_LAYER_INDEX','CollaborationSessionService','CompressMutationService','LICENSE_IMPORT_SIZE_EXCEEDED','onCommentUpdate','objectID','sendChangesetTimeout','setTimeout','shouldCloseConn','568473OfNUIm','_onJoinRoomEvent','onRendered','colorChannel1','registerRefRange','_themeService','color','onPointerLeave$','unitId','_disabled','JOIN_ROOM_FULL','updateCursorEvent','WordArray','SheetsSelectionsService','$super','_scheduleCollaborationTimeoutTimer','Unknown\x20user','_roomMembers','Decryptor','setCurrentUser','_getAnchorBounding','_draw','SNAPSHOT_INVALID_SNAPSHOT','_retryConnectingTimer','collaboration-session-retry','CommandType','salt','[SyncedState]:\x20received\x20acknowledgement.','LocalCacheService','error$','doc.mutation.rich-text-editing','@univerjs/design','_renderManagerService','createInstance','save','addImageSourceCache','off-line-single_clip0_910_343','onlineStatus','\x0aCurrent:\x20','_injector','_exhaustRemoteChangesetQueue','_syncEditingCollabCursor','_HTTPService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_colorIndex','NOT_FOUND','_registerRenderDependencies','_transformSelections','addObject','_collaborationController','_onCursorUpdate','_updateURLWithCurrentState','Utf8','length','set','attrs','1404940oraiJO','assign','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','decryptBlock','_compressMutationService','SetTextSelectionsOperation','InsertColCommandId','_heartbeatTimer','toDisposable','_range','arc','getCurrentUnitForType','kdf','APPLY_REVISION_CONFILICT','_notificationService','contains','ceil','storage','_collaborationTimeoutTimer','collaboration-client.offline-data-not-saved','close$','memberID','create','saveSheetBlock','_getScale','MergeInterceptorFactory','M0\x200H16V16H0z','_updateStatus','_initResize','LocaleService','AWAITING_WITH_PENDING','pending','useDependency','_removeRoom','connection\x20error','BASE64','INotificationService','_cursorShapes','removeMember','baseRev','runRefRangeMutations','skeleton','execute','_state$','SetWorksheetActivateCommand','UNIVER_COLLABORATION_CLIENT_PLUGIN','combineLatest','_parse','headers','_startCollaboration','IDocClipboardService','awaiting','_updateCollabCursors','on-line-single_clip0_910_349','CONFLICT','currentColor','ERROR_EXCEED_SIZE','RxDisposable','append','AuthzIoHttpService','DisposableCollection','DocCollaborationEntity','@univerjs/ui','NO_OTHER_CLIENTS_EDITING','mode','_onRemoteChangeset','format','current','COMPLETION_FINISHED','awaiting_with_pending','_collabCursorState$','/collaborator','Tools','pauseCollaboration','SNAPSHOT_URL_KEY','collabStatus.fetchMiss','readAsDataURL','dispose$','_unitID','deserializeToCombResponse','HEARTBEAT_INTERVAL_KEY','leaveEvent','touchDependencies','updatePermissionObjEvent','split','put','[CollaborationState]:\x20apply\x20error!','getCellPositionByOffset','LIVESHARE_NEW_HOST','csAckEvent','DataLoaderController','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','number','34096TcNnrr','MD5','forEach','msCrypto','DesktopCollaborationStatusDisplayController','reset','toRgbString','transformRemoteChangeset','_initMergeInterceptor','_candidateSocket','closePath','CollaborationEntity','_handler','_createHmacHelper','CollaborationController','beginPath','width','TEXT','generateRandomId','_updateLocalCursor','_anchor','[OfflineState]:\x20received\x20rejection.','IDLE','Rectangle','prototype','_drawAnchor','type','mixIn','_cipher','result','RECV','synced','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','failed\x20to\x20apply\x20missed\x20changesets!','event$','replaceDocRanges','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','SHOULD_CLOSE_CONN','row','_sender','call','HmacMD5','Cipher','_imageIoService','/object/','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','clearInterval','TRANSFORM_CHANGE_OBSERVABLE_TYPE','/universer-api/file/{fileID}/sign-url','saveImage','shareReplay','FromArray','/new_changes','getValue','toggleOffline','_joinRoom','roles','_transformPreviousActiveRange','_getSessionTicket','PENDING','key','ITelemetryService','pad','IUniverInstanceService','onPointerMove$','_scheduleClearOtherTimer','isTransformMutationsWithChangesetFailure','jiqing500','registerDependencies','getTypeOfUnitDisposed$','disableLocalCache','_timeoutTimer','online','_undoStacks','transformStack\x20failed!','values','UnitEmbedded','_scene','_transformRemoteChangesetByIMECache','/role','@univerjs-pro/collaboration','UNAUTHENTICATED','setItem','lib','_removeCollabCursors','_tryEnsureSocket','setParam','JSONX','_backgroundColor','column','clamp','_oKey','_transformStack','_pendingMutations','onlineStatusIcon','_clearLocalCache','CollaborationSocketService','toString','session.connection-failed','RevisionService','collaboration.closeRoom','UNDEFINED','LIVESHARE_OPERATION','redoState','_key','cursorInfo$','[PendingState]:\x20received\x20acknowledgement.','loadSheet','_changesetReqId','_getCurrentRevision','url(#on-line-single_clip0_910_349)','[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.','bottom','NOT_COLLAB','Subject','_createInitialStateImpl','loginUrlKey','_localCacheService','_drawTextRange','join','ThemeService','purple300','executeCommand','CipherParams','_onConnectionOpen','setInterval','removeParam','on-line-single','flatMap','LOCAL_CACHE_INTERVAL','transformMutationsWithChangeset','randomUUID','byteOffset','compose','transformStateCache','_sheetSkeletonManagerService','capture','ReplaySubject','UNIVER_DOC','ColorKit','selection','_document','COLLAB_SUBMIT_CHANGESET_URL_KEY','urlChange$','IUIPartsService','red300','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_doFinalize','session.will-retry','People','_id','createIdentifier','children','_name','substring','EXCHANGE_SIGN_URL_SERVER_URL_KEY','hidden','registerRenderModule','USERS_ENTER','mutations','MentionIoHttpService','interceptor','override','reconnect','transformChangesets','?url=','_initUnitPermissionChange','[CollaborationUndoRedoService]','_onUserLeave','isPermissionRej','hasher','transform','_getRedoStack','_initRequestHeader','IPermissionService','IBeforeCloseService','ICollaborationSocketService','fillText','isInternalEditorID','fetchThroughInterceptors','_removeClearOtherTimer','_telemetryService','SnapshotServerOverHTTPService','registerComponent','url(#$1','_refRangeService','_listenToOfflineEvent','onTransformChange$','_docSkeletonManagerService','Encryptor','2jeicnV','clear','getWorkbookSelections','COLLAB_WEB_SOCKET_URL_KEY','LIVESHARE_REQUEST_HOST','YUUMI_RATE_OVER_LIMIT','\x20-\x20','UNIVER_PROJECT','Base64','_replayCachedMutations','[CollaborationSessionService]:\x20socket\x20error','restore','getRandomValues','HmacSHA1','closeSession','collab-client.tooltip.reconnect','_assignedColors','splice','objects','switchMap','source','_schedule','UNIVER_SHEET','_docTransformIMECacheService','random','INGEST','getUnhiddenWorksheets','Rect','_append','take','enableAuthServer','exhaustSavingTask','saveSnapshot','pushState','connectInjector','HEARTBEAT_INTERVAL','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','unit-cache-','_type','isTransformChangesetsSuccess','filter','deepClone','ciphertext','handleIRemoveCol','DeleteRangeMoveLeftCommandId','_replaceFileID','_initDependencies','onStateChange','default','body','CollaborationSession','crypto','@univerjs/telemetry','_keyPriorReset','parse','getUnitType','Base','_lockTransition','_docTransformStateCacheService','includes','session.collaboration-timeout','responseType','_revisionService','MSG_FOR_ERROR','_doReset','RegularPolygon','_refreshCollabCursors','OnLineSingle','/unit/','_sheetTransformSelectionsService','isTransformMutationsWithChangesetSuccess','[CollaborationEntity]','33956VqBOAb','_reverseMap','/universer-api/oidc/authpage','onTransformState','visibilitychange','clipPath','data','_ENC_XFORM_MODE','_process','ITransformService','send','_hideTimer','image/bmp','from','_onRefRangeChange','unshift','_getSendChangesetTimeout','status$','commentUpdateEvent','fetch_missing','path','[CollaborationSession]','selections','_transformIMECache','_urlService','getUnitStatus$','message$','words','SHA1','APPLY_DUPLICATED','onRemoteAck','post','CONNECTOR_DATA_TOO_LARGE','CHANGESET_ACK','\x0aAfter:\x20','univer-offline','/allowed','replaceState','translate(.97)','getSheetId','CHANGESET_SHOULD_RETRY','_onCursorDelete','docStateChange$','auth.needGotoLoginAlert','handleMoveRange','_changesetSessionId','isTransformMutationFailure','distinctUntilChanged','onMissingChangesets','getSheetObject','undoState','_waitForHeartbeatResponse'];_0x4d1c=function(){return _0x273c22;};return _0x4d1c();}let Ze;const pn=new Uint8Array(0x10);function mn(){const _0x42e4a7=_0x1cc768;if(!Ze){if(typeof crypto>'u'||!crypto[_0x42e4a7(0x448)])throw new Error(_0x42e4a7(0x12a));Ze=crypto[_0x42e4a7(0x448)][_0x42e4a7(0x1dd)](crypto);}return Ze(pn);}const gn=typeof crypto<'u'&&crypto[_0x1cc768(0x401)]&&crypto[_0x1cc768(0x401)][_0x1cc768(0x1dd)](crypto),Nt={'randomUUID':gn};function In(_0x40b98e,_0x5b899b,_0xe076e6){const _0x187a2a=_0x1cc768;if(Nt['randomUUID']&&!_0x5b899b&&!_0x40b98e)return Nt[_0x187a2a(0x401)]();_0x40b98e=_0x40b98e||{};const _0x3b7b67=_0x40b98e[_0x187a2a(0x454)]||(_0x40b98e['rng']||mn)();return _0x3b7b67[0x6]=_0x3b7b67[0x6]&0xf|0x40,_0x3b7b67[0x8]=_0x3b7b67[0x8]&0x3f|0x80,Sn(_0x3b7b67);}var Cn=Object[_0x1cc768(0x244)],En=Object[_0x1cc768(0x263)],bn=(_0x5ab325,_0x450c6e,_0x2afc08,_0x452a5b)=>{const _0x54c41c=_0x1cc768;for(var _0x36c7a8=_0x452a5b>0x1?void 0x0:_0x452a5b?En(_0x450c6e,_0x2afc08):_0x450c6e,_0x2eff20=_0x5ab325[_0x54c41c(0x31e)]-0x1,_0xd50269;_0x2eff20>=0x0;_0x2eff20--)(_0xd50269=_0x5ab325[_0x2eff20])&&(_0x36c7a8=(_0x452a5b?_0xd50269(_0x450c6e,_0x2afc08,_0x36c7a8):_0xd50269(_0x36c7a8))||_0x36c7a8);return _0x452a5b&&_0x36c7a8&&Cn(_0x450c6e,_0x2afc08,_0x36c7a8),_0x36c7a8;},Qe=(_0x468184,_0x390e6c)=>(_0x3792d6,_0x2055bb)=>_0x390e6c(_0x3792d6,_0x2055bb,_0x468184);let Be=class{constructor(_0x2b36f1,_0x28ffe3,_0x1415d3){const _0x270e00=_0x1cc768;this[_0x270e00(0x310)]=_0x2b36f1,this[_0x270e00(0x1fa)]=_0x28ffe3,this[_0x270e00(0x309)]=_0x1415d3;}['transformIMECache'](_0x458215){const _0x3f7938=_0x1cc768;this[_0x3f7938(0x2d3)](_0x458215),this[_0x3f7938(0x3b7)](_0x458215);}[_0x1cc768(0x385)](_0x41db13){const _0x34ff6e=_0x1cc768,{unitID:_0x3f70e6}=_0x41db13,_0x4559c6=this[_0x34ff6e(0x309)][_0x34ff6e(0x4cd)](_0x3f70e6)[_0x34ff6e(0x4dc)](J[_0x34ff6e(0x5c8)]),{redoCache:_0x35373c}=_0x4559c6[_0x34ff6e(0x4ee)]();if(_0x35373c[_0x34ff6e(0x31e)]===0x0)return _0x41db13;let _0x1851d7=a[_0x34ff6e(0x369)][_0x34ff6e(0x465)](_0x41db13[_0x34ff6e(0x41d)][0x0]);for(let _0x40677a=0x0;_0x40677a<_0x35373c[_0x34ff6e(0x31e)];_0x40677a++){const _0x3f960={'id':_0x34ff6e(0x307),'params':{..._0x35373c[_0x40677a]}},_0x587be5=this[_0x34ff6e(0x1fa)]['transformMutation'](_0x1851d7,_0x3f960,!0x1);if(p[_0x34ff6e(0x4b2)](_0x587be5))throw _0x587be5[_0x34ff6e(0x1c4)];_0x1851d7=_0x587be5[_0x34ff6e(0x13a)];}return{...a[_0x34ff6e(0x369)][_0x34ff6e(0x465)](_0x41db13),'mutations':[_0x1851d7]};}[_0x1cc768(0x2d3)](_0xc2740c){const _0x100e2b=_0x1cc768,{unitID:_0x4622e9}=_0xc2740c,_0x1875af=this['_renderManagerService'][_0x100e2b(0x4cd)](_0x4622e9)['with'](J['DocIMEInputManagerService']),{undoCache:_0x2f58d1,redoCache:_0xb0f56f}=_0x1875af[_0x100e2b(0x4ee)]();if(_0x2f58d1[_0x100e2b(0x31e)]===0x0||_0xb0f56f['length']===0x0)return;const _0x4dd65d=[],_0x1244a2=[];let _0x2c8646=a[_0x100e2b(0x369)][_0x100e2b(0x465)](_0xc2740c[_0x100e2b(0x41d)][0x0]),_0x4cc7b5=a[_0x100e2b(0x369)][_0x100e2b(0x465)](_0xc2740c[_0x100e2b(0x41d)][0x0]);for(let _0xf9446e=_0x2f58d1[_0x100e2b(0x31e)]-0x1;_0xf9446e>=0x0;_0xf9446e--){const _0x1a224c={'id':'doc.mutation.rich-text-editing','params':{..._0x2f58d1[_0xf9446e]}},_0xcf31b={'id':_0x100e2b(0x307),'params':{..._0xb0f56f[_0xf9446e]}},_0x4bbc55=this[_0x100e2b(0x1fa)]['transformMutation'](_0x2c8646,_0x1a224c,!0x1),_0x83aa0=this[_0x100e2b(0x1fa)]['transformMutation'](_0x4cc7b5,_0xcf31b,!0x1);if(p[_0x100e2b(0x4b2)](_0x4bbc55))throw _0x4bbc55[_0x100e2b(0x1c4)];if(p['isTransformMutationFailure'](_0x83aa0))throw _0x83aa0['error'];_0x4dd65d[_0x100e2b(0x493)](_0x4bbc55[_0x100e2b(0x247)][_0x100e2b(0x530)]),_0x1244a2[_0x100e2b(0x493)](_0x83aa0[_0x100e2b(0x247)]['params']),_0x2c8646=_0x4bbc55['m1Prime'],_0x4cc7b5=_0x83aa0[_0x100e2b(0x13a)];}_0x1875af[_0x100e2b(0x10d)]({'undoCache':_0x4dd65d,'redoCache':_0x1244a2});}[_0x1cc768(0x3b7)](_0x2788ef){const _0x13c195=_0x1cc768,{unitID:_0x312e6d}=_0x2788ef,_0x438482=this[_0x13c195(0x309)]['getRenderById'](_0x312e6d)[_0x13c195(0x4dc)](J[_0x13c195(0x5c8)]),_0x267763=_0x438482['getActiveRange']();if(_0x267763==null)return;const _0x5a6971=[{'id':_0x13c195(0x307),'params':{'unitId':_0x2788ef[_0x13c195(0x4ed)],'actions':null,'textRanges':[_0x267763]}}],_0x4dbae8=this[_0x13c195(0x1fa)]['transformMutationsWithChangeset'](_0x2788ef,_0x5a6971);if(!p['isTransformMutationsWithChangesetSuccess'](_0x4dbae8))throw _0x4dbae8[_0x13c195(0x1c4)];const _0x5894bf=_0x4dbae8[_0x13c195(0x247)][0x0][_0x13c195(0x530)][_0x13c195(0x4e6)];Array['isArray'](_0x5894bf)&&_0x5894bf[_0x13c195(0x31e)]&&_0x438482[_0x13c195(0x162)](_0x5894bf[0x0]);}};Be=bn([Qe(0x0,a['Inject'](a['Injector'])),Qe(0x1,p['ITransformService']),Qe(0x2,K[_0x1cc768(0x2da)])],Be);var Tn=Object[_0x1cc768(0x244)],Rn=Object['getOwnPropertyDescriptor'],yn=(_0x5a7ed7,_0x3f4e85,_0x55540b,_0x5aa9ad)=>{const _0x415146=_0x1cc768;for(var _0x2c5e99=_0x5aa9ad>0x1?void 0x0:_0x5aa9ad?Rn(_0x3f4e85,_0x55540b):_0x3f4e85,_0x1b12b7=_0x5a7ed7[_0x415146(0x31e)]-0x1,_0x38b99b;_0x1b12b7>=0x0;_0x1b12b7--)(_0x38b99b=_0x5a7ed7[_0x1b12b7])&&(_0x2c5e99=(_0x5aa9ad?_0x38b99b(_0x3f4e85,_0x55540b,_0x2c5e99):_0x38b99b(_0x2c5e99))||_0x2c5e99);return _0x5aa9ad&&_0x2c5e99&&Tn(_0x3f4e85,_0x55540b,_0x2c5e99),_0x2c5e99;},we=(_0x3bfd22,_0x2897df)=>(_0x43641d,_0x18bbf0)=>_0x2897df(_0x43641d,_0x18bbf0,_0x3bfd22);exports[_0x1cc768(0x305)]=class extends a[_0x1cc768(0x1c0)]{constructor(_0x16dc7c,_0x12df41,_0x4fbd5a,_0x5733ab,_0x455db0){const _0x1049d1=_0x1cc768;super(),I(this,_0x1049d1(0x50b),new Map()),I(this,_0x1049d1(0x246),new Map()),I(this,_0x1049d1(0x2f2),!0x1),(this[_0x1049d1(0x2c0)]=_0x16dc7c,this[_0x1049d1(0x160)]=_0x12df41,this[_0x1049d1(0x1e7)]=_0x4fbd5a,this['_localeService']=_0x5733ab,this[_0x1049d1(0x47a)]=_0x455db0,this[_0x1049d1(0x541)]());}[_0x1cc768(0x3c4)](){const _0x103f91=_0x1cc768;this[_0x103f91(0x2f2)]=!0x0;}['enableLocalCache'](){const _0x494555=_0x1cc768;this[_0x494555(0x2f2)]=!0x1;}[_0x1cc768(0x14c)](){const _0x33029e=_0x1cc768;this[_0x33029e(0x45b)]()[_0x33029e(0x191)](()=>super[_0x33029e(0x14c)]());}async[_0x1cc768(0x5ca)](_0x1586ce){const _0x13ee58=_0x1cc768;return this[_0x13ee58(0x2f2)]?null:this[_0x13ee58(0x160)][_0x13ee58(0x253)](Lt(_0x1586ce));}async[_0x1cc768(0x54c)](_0x22387e,_0xeeac6a){const _0x888dad=_0x1cc768;return!!this[_0x888dad(0x160)]['setItem'](_0x22387e,_0xeeac6a);}[_0x1cc768(0x198)](_0x3ac5a6,_0x1e53f1,_0x5b9a19,_0x1bddb0){const _0x428e97=_0x1cc768,_0x3c4094=this[_0x428e97(0x47a)][_0x428e97(0x2de)](_0x3ac5a6);this[_0x428e97(0x50b)][_0x428e97(0x31f)](_0x3ac5a6,{'unitID':_0x3ac5a6,'type':_0x1e53f1,'awaitingChangeset':_0x5b9a19,'mutations':_0x1bddb0,'rev':_0x3c4094}),this[_0x428e97(0x246)][_0x428e97(0x50a)](_0x3ac5a6)||this[_0x428e97(0x273)](_0x3ac5a6);}[_0x1cc768(0x273)](_0xbb64e8){const _0x3c7eef=_0x1cc768,_0x2d6448=this['_getSaveTimeout']();_0x2d6448===0x0?this[_0x3c7eef(0x278)](_0xbb64e8):this[_0x3c7eef(0x246)][_0x3c7eef(0x31f)](_0xbb64e8,setTimeout(()=>this[_0x3c7eef(0x278)](_0xbb64e8),_0x2d6448));}[_0x1cc768(0x292)](){const _0x460846=_0x1cc768;var _0x29f793;return(_0x29f793=this[_0x460846(0x2c0)]['getConfig'](ci))!=null?_0x29f793:zi;}[_0x1cc768(0x278)](_0x8395e6){const _0x4ff6de=_0x1cc768,_0xe24bc5=this[_0x4ff6de(0x246)][_0x4ff6de(0x4f7)](_0x8395e6);return _0xe24bc5!==void 0x0&&window[_0x4ff6de(0x4e7)](_0xe24bc5),this['_localStorageService'][_0x4ff6de(0x3d0)](Lt(_0x8395e6),this[_0x4ff6de(0x50b)]['get'](_0x8395e6))['then'](()=>this[_0x4ff6de(0x246)][_0x4ff6de(0x24c)](_0x8395e6));}async[_0x1cc768(0x45b)](){const _0x29e335=_0x1cc768,_0x3d6593=[];this['_saveTaskMap'][_0x29e335(0x380)]((_0xeef8b1,_0x4ce0d0)=>{const _0x203650=_0x29e335;window[_0x203650(0x4e7)](_0xeef8b1),_0x3d6593[_0x203650(0x102)](this[_0x203650(0x278)](_0x4ce0d0)[_0x203650(0x191)](()=>{const _0x2acc14=_0x203650;this[_0x2acc14(0x246)][_0x2acc14(0x24c)](_0x4ce0d0);}));}),await Promise[_0x29e335(0x520)](_0x3d6593);}[_0x1cc768(0x541)](){const _0x2c1578=_0x1cc768;this[_0x2c1578(0x27e)](this[_0x2c1578(0x1e7)]['registerBeforeClose'](()=>{const _0x5a255c=_0x2c1578;if(this['_saveTaskMap'][_0x5a255c(0x4df)])return this[_0x5a255c(0x133)]['t'](_0x5a255c(0x334));}));}},exports['LocalCacheService']=yn([we(0x0,a[_0x1cc768(0x56f)]),we(0x1,a[_0x1cc768(0x587)]),we(0x2,te[_0x1cc768(0x42d)]),we(0x3,a['Inject'](a[_0x1cc768(0x33e)])),we(0x4,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)]))],exports[_0x1cc768(0x305)]);function Lt(_0x1c5559){const _0x120097=_0x1cc768;return _0x120097(0x461)+_0x1c5559;}var On=Object[_0x1cc768(0x244)],Dn=Object[_0x1cc768(0x263)],Pn=(_0x1e7a02,_0x5cb768,_0x4aead3,_0x186c46)=>{const _0x2709f9=_0x1cc768;for(var _0x2e7b39=_0x186c46>0x1?void 0x0:_0x186c46?Dn(_0x5cb768,_0x4aead3):_0x5cb768,_0x1f87b9=_0x1e7a02[_0x2709f9(0x31e)]-0x1,_0x13682e;_0x1f87b9>=0x0;_0x1f87b9--)(_0x13682e=_0x1e7a02[_0x1f87b9])&&(_0x2e7b39=(_0x186c46?_0x13682e(_0x5cb768,_0x4aead3,_0x2e7b39):_0x13682e(_0x2e7b39))||_0x2e7b39);return _0x186c46&&_0x2e7b39&&On(_0x5cb768,_0x4aead3,_0x2e7b39),_0x2e7b39;},et=(_0x1d3d6c,_0x4fe10c)=>(_0xcc7ceb,_0xbb5443)=>_0x4fe10c(_0xcc7ceb,_0xbb5443,_0x1d3d6c);function wn(_0x168be2){const _0x5e1ffc=_0x1cc768,{unitID:_0x22ee91,mutations:_0x271d27}=_0x168be2;return{'unitId':_0x22ee91,'subUnitId':_0x271d27[0x0][_0x5e1ffc(0x530)][_0x5e1ffc(0x291)]};}let ke=class{constructor(_0x3f6e61,_0xa37e43,_0x102e5b){const _0x31b48f=_0x1cc768;this[_0x31b48f(0x310)]=_0x3f6e61,this[_0x31b48f(0x1fa)]=_0xa37e43,this['_instanceService']=_0x102e5b;}[_0x1cc768(0x1c6)](_0x493b75){const _0x1fa032=_0x1cc768;var _0xb5afdd,_0x4aa63e,_0x51e2c7,_0x265778;const _0x4d9e90=this['_injector'][_0x1fa032(0x4f7)](k[_0x1fa032(0x2f6)]),{unitId:_0x22738b,subUnitId:_0x2cd733}=wn(_0x493b75),_0x524095=_0x4d9e90[_0x1fa032(0x43e)](_0x22738b)[_0x1fa032(0x1e1)](),_0x4b5d38=(_0x4aa63e=(_0xb5afdd=this[_0x1fa032(0x184)][_0x1fa032(0x1bc)](_0x22738b))==null?void 0x0:_0xb5afdd['getActiveSheet']())==null?void 0x0:_0x4aa63e['getSheetId']();if(_0x524095[_0x1fa032(0x31e)]===0x0||!_0x22738b||!_0x2cd733)return;const _0x5ddde8=[{'id':k[_0x1fa032(0x4c3)]['id'],'params':{'unitId':_0x22738b,'subUnitId':_0x4b5d38,'selections':a[_0x1fa032(0x369)]['deepClone'](_0x524095)}}],_0x682daf=this[_0x1fa032(0x1fa)][_0x1fa032(0x400)](_0x493b75,_0x5ddde8);if(!p['isTransformMutationsWithChangesetSuccess'](_0x682daf))throw _0x682daf[_0x1fa032(0x1c4)];const _0x33d842=(_0x265778=(_0x51e2c7=_0x682daf['m2Prime'][0x0])==null?void 0x0:_0x51e2c7[_0x1fa032(0x530)])==null?void 0x0:_0x265778[_0x1fa032(0x49a)];if(Array[_0x1fa032(0x194)](_0x33d842)&&_0x33d842['length']){if(_0x33d842['length']===_0x5ddde8[0x0][_0x1fa032(0x530)][_0x1fa032(0x49a)]['length']&&_0x33d842[_0x1fa032(0x578)]((_0xde0767,_0x546f56)=>a[_0x1fa032(0x395)][_0x1fa032(0x24f)](_0xde0767[_0x1fa032(0x22c)],_0x5ddde8[0x0]['params'][_0x1fa032(0x49a)][_0x546f56]['range'])))return;this[_0x1fa032(0x310)]['get'](a[_0x1fa032(0x11f)])[_0x1fa032(0x3f8)](k['SetSelectionsOperation']['id'],{'unitId':_0x22738b,'subUnitId':_0x4b5d38,'selections':_0x33d842});}}};ke=Pn([et(0x0,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),et(0x1,p[_0x1cc768(0x48d)]),et(0x2,a[_0x1cc768(0x3bd)])],ke);const ze=a[_0x1cc768(0x415)]('univer-pro.collaboration-client.single-active-unit-service');var vi=(_0x17bbd6=>(_0x17bbd6[_0x17bbd6[_0x1cc768(0x360)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x17bbd6[_0x17bbd6[_0x1cc768(0x506)]=0x1]=_0x1cc768(0x506),_0x17bbd6))(vi||{});const xt=0x7530,jt='ACTIVE_UNIT_EVENT_CHANNEL';class Un extends a[_0x1cc768(0x1c0)]{constructor(){const _0x52d4ed=_0x1cc768;super(),I(this,_0x52d4ed(0x414),a[_0x52d4ed(0x369)]['generateRandomId']()),I(this,_0x52d4ed(0x19e),new Set()),I(this,'_unitOnClients',new Map()),I(this,_0x52d4ed(0x328),null),I(this,_0x52d4ed(0x113),new Map()),I(this,_0x52d4ed(0x155),new Map()),this[_0x52d4ed(0x143)]();}[_0x1cc768(0x14c)](){const _0x308264=_0x1cc768;super[_0x308264(0x14c)](),this[_0x308264(0x113)][_0x308264(0x380)]((_0x266610,_0x2c98ea)=>this[_0x308264(0x432)](_0x2c98ea)),this[_0x308264(0x328)]&&window[_0x308264(0x3ac)](this['_heartbeatTimer']);}[_0x1cc768(0x49d)](_0x281e1b){const _0x1e7fb2=_0x1cc768;return this[_0x1e7fb2(0x1b2)](_0x281e1b)['pipe'](A[_0x1e7fb2(0x4b3)]());}[_0x1cc768(0x4c0)](_0x814e39){const _0x18da8f=_0x1cc768;this[_0x18da8f(0x19e)][_0x18da8f(0x4df)]===0x0&&this[_0x18da8f(0x2a8)](),this['_selfUnitIDs']['add'](_0x814e39),this[_0x18da8f(0x145)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x814e39],'isForwarded':!0x1});}[_0x1cc768(0x573)](_0x4f63dd){const _0x3ee48b=_0x1cc768;this[_0x3ee48b(0x19e)]['delete'](_0x4f63dd),this['_selfUnitIDs'][_0x3ee48b(0x4df)]===0x0&&this[_0x3ee48b(0x328)]&&window[_0x3ee48b(0x3ac)](this[_0x3ee48b(0x328)]);}['_init'](){const _0x4144a9=_0x1cc768;this[_0x4144a9(0x27e)](a[_0x4144a9(0x329)](A[_0x4144a9(0x5b2)](window,_0x4144a9(0x332))['subscribe'](_0x5827e8=>{const _0x1e8bff=_0x4144a9;if(_0x5827e8['key']!==jt||!_0x5827e8['newValue'])return;const _0x8e2401=JSON['parse'](_0x5827e8[_0x1e8bff(0x196)]);this[_0x1e8bff(0x29e)](_0x8e2401);}))),window['addEventListener']('unload',()=>this[_0x4144a9(0x145)]({'type':0x1,'memberID':this[_0x4144a9(0x414)],'unitIDs':Array[_0x4144a9(0x491)](this[_0x4144a9(0x19e)])}));}[_0x1cc768(0x29e)](_0x12b316){const _0x20469c=_0x1cc768;switch(_0x12b316[_0x20469c(0x398)]){case 0x0:this[_0x20469c(0x531)](_0x12b316);break;case 0x1:this[_0x20469c(0x290)](_0x12b316);break;case 0x2:this[_0x20469c(0x567)](_0x12b316);break;}}[_0x1cc768(0x531)](_0x11272e){const _0x19d0ce=_0x1cc768,{unitIDs:_0x4f6032,memberID:_0x1f81dd,isForwarded:_0x178712}=_0x11272e;_0x4f6032['forEach'](_0x2fdc85=>{const _0x1e0f2c=_0x3a60;if(!_0x178712&&this[_0x1e0f2c(0x18d)][_0x1e0f2c(0x50a)](_0x2fdc85)&&this[_0x1e0f2c(0x1b2)](_0x2fdc85)[_0x1e0f2c(0x122)](0x1),!this[_0x1e0f2c(0x18d)][_0x1e0f2c(0x50a)](_0x2fdc85)||!this['_unitOnClients'][_0x1e0f2c(0x4f7)](_0x2fdc85)[_0x1e0f2c(0x50a)](_0x1f81dd)){const _0x42e008=this[_0x1e0f2c(0x18d)][_0x1e0f2c(0x4f7)](_0x2fdc85)||new Set();_0x42e008[_0x1e0f2c(0x2dd)](_0x1f81dd),this[_0x1e0f2c(0x18d)]['set'](_0x2fdc85,_0x42e008),this[_0x1e0f2c(0x3bf)](_0x1f81dd);}}),_0x178712||this[_0x19d0ce(0x145)]({'type':0x0,'memberID':this[_0x19d0ce(0x414)],'unitIDs':[...this[_0x19d0ce(0x19e)]],'isForwarded':!0x0});}[_0x1cc768(0x3bf)](_0x163851){const _0x4455b6=_0x1cc768;this['_removeClearOtherTimer'](_0x163851);const _0x1d6cce=window[_0x4455b6(0x2e7)](()=>{const _0x52cec5=_0x4455b6;this[_0x52cec5(0x18d)][_0x52cec5(0x380)](_0x2e6fc5=>{const _0x4df9c6=_0x52cec5;_0x2e6fc5[_0x4df9c6(0x24c)](_0x163851);});},xt*0x2);this[_0x4455b6(0x113)][_0x4455b6(0x31f)](_0x163851,_0x1d6cce);}[_0x1cc768(0x432)](_0x2f52a9){const _0x3302b7=_0x1cc768;if(this['_clearOtherTimers'][_0x3302b7(0x50a)](_0x2f52a9)){const _0x3fec8b=this[_0x3302b7(0x113)][_0x3302b7(0x4f7)](_0x2f52a9);_0x3fec8b&&window['clearTimeout'](_0x3fec8b),this[_0x3302b7(0x113)][_0x3302b7(0x31f)](_0x2f52a9,null);}}[_0x1cc768(0x290)](_0x386189){const _0x529278=_0x1cc768,{memberID:_0x935178,unitIDs:_0x166c7b}=_0x386189;_0x166c7b[_0x529278(0x380)](_0x4fb356=>{const _0x559913=_0x529278;var _0x7be80a;const _0x237e89=this[_0x559913(0x18d)]['get'](_0x4fb356);_0x237e89&&(_0x237e89[_0x559913(0x24c)](_0x935178),(_0x7be80a=this['_ensureSubject'](_0x4fb356))==null||_0x7be80a[_0x559913(0x122)](_0x237e89[_0x559913(0x4df)]===0x0?0x0:0x1));}),this[_0x529278(0x432)](_0x935178);}[_0x1cc768(0x567)](_0x14b31e){const _0x8d49dc=_0x1cc768;this['_scheduleClearOtherTimer'](_0x14b31e[_0x8d49dc(0x336)]);}['_send'](_0x541876){const _0x4daa00=_0x1cc768;localStorage[_0x4daa00(0x3d0)](jt,JSON[_0x4daa00(0x236)](_0x541876));}[_0x1cc768(0x2a8)](){const _0x243822=_0x1cc768;this[_0x243822(0x328)]=window[_0x243822(0x3fb)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},xt);}['_ensureSubject'](_0x31a3b2){const _0x10768f=_0x1cc768;return this['_unitStatus']['has'](_0x31a3b2)||this[_0x10768f(0x155)][_0x10768f(0x31f)](_0x31a3b2,new A['BehaviorSubject'](0x0)),this[_0x10768f(0x155)][_0x10768f(0x4f7)](_0x31a3b2);}}var Mn=Object[_0x1cc768(0x244)],An=Object[_0x1cc768(0x263)],Nn=(_0x4372a9,_0x1838f0,_0x9f7c8d,_0x322e4d)=>{const _0x1c2546=_0x1cc768;for(var _0x449949=_0x322e4d>0x1?void 0x0:_0x322e4d?An(_0x1838f0,_0x9f7c8d):_0x1838f0,_0x52626a=_0x4372a9[_0x1c2546(0x31e)]-0x1,_0xfe5085;_0x52626a>=0x0;_0x52626a--)(_0xfe5085=_0x4372a9[_0x52626a])&&(_0x449949=(_0x322e4d?_0xfe5085(_0x1838f0,_0x9f7c8d,_0x449949):_0xfe5085(_0x449949))||_0x449949);return _0x322e4d&&_0x449949&&Mn(_0x1838f0,_0x9f7c8d,_0x449949),_0x449949;},tt=(_0x4472a4,_0x471d64)=>(_0x3e98d8,_0x5cf446)=>_0x471d64(_0x3e98d8,_0x5cf446,_0x4472a4);let We=class{constructor(_0x4cb054,_0x4d2135,_0x49a3e8){const _0x3ca6f7=_0x1cc768;this[_0x3ca6f7(0x310)]=_0x4cb054,this[_0x3ca6f7(0x1fa)]=_0x4d2135,this[_0x3ca6f7(0x293)]=_0x49a3e8;}['transformStateCache'](_0x3b746e){const _0x20bf99=_0x1cc768;this[_0x20bf99(0x20b)](_0x3b746e);}[_0x1cc768(0x385)](_0x308b5c){const _0x4fb782=_0x1cc768,{unitID:_0x289101}=_0x308b5c,{collaboration:_0x3ac5eb}=this[_0x4fb782(0x293)][_0x4fb782(0x56a)](_0x289101);if(_0x3ac5eb[_0x4fb782(0x31e)]===0x0)return _0x308b5c;let _0x5e688c=a[_0x4fb782(0x369)]['deepClone'](_0x308b5c[_0x4fb782(0x41d)][0x0]);for(let _0x3db230=0x0;_0x3db230<_0x3ac5eb['length'];_0x3db230++){const _0x5c2d5a={'id':_0x4fb782(0x307),'params':{'unitId':_0x3ac5eb[_0x3db230]['unitId'],..._0x3ac5eb[_0x3db230][_0x4fb782(0x3e5)]}},_0x1eaa63=this[_0x4fb782(0x1fa)]['transformMutation'](_0x5e688c,_0x5c2d5a,!0x1);if(p[_0x4fb782(0x4b2)](_0x1eaa63))throw _0x1eaa63[_0x4fb782(0x1c4)];_0x5e688c=_0x1eaa63[_0x4fb782(0x13a)];}return{...a['Tools'][_0x4fb782(0x465)](_0x308b5c),'mutations':[_0x5e688c]};}[_0x1cc768(0x20b)](_0x42a67c){const _0x4b7e8d=_0x1cc768,{unitID:_0x37eaae}=_0x42a67c,{history:_0x16f965,collaboration:_0x5805f3}=this[_0x4b7e8d(0x293)][_0x4b7e8d(0x56a)](_0x37eaae);if(_0x16f965[_0x4b7e8d(0x31e)]===0x0&&_0x5805f3[_0x4b7e8d(0x31e)]===0x0)return;const _0x466872=[],_0x4dae7c=[];let _0x36313e=a[_0x4b7e8d(0x369)][_0x4b7e8d(0x465)](_0x42a67c[_0x4b7e8d(0x41d)][0x0]),_0x3cbc6a=a[_0x4b7e8d(0x369)][_0x4b7e8d(0x465)](_0x42a67c[_0x4b7e8d(0x41d)][0x0]);for(let _0x35d804=_0x16f965[_0x4b7e8d(0x31e)]-0x1;_0x35d804>=0x0;_0x35d804--){const _0x327bd0={'id':_0x4b7e8d(0x307),'params':{'unitId':_0x16f965[_0x35d804][_0x4b7e8d(0x2f1)],..._0x16f965[_0x35d804][_0x4b7e8d(0x4b6)]}},_0x1f442e={'id':_0x4b7e8d(0x307),'params':{'unitId':_0x16f965[_0x35d804][_0x4b7e8d(0x2f1)],..._0x16f965[_0x35d804][_0x4b7e8d(0x3e5)]}},_0x20e99d=this[_0x4b7e8d(0x1fa)][_0x4b7e8d(0x1e6)](_0x36313e,_0x327bd0,!0x1),_0x524a85=this['_transformService'][_0x4b7e8d(0x1e6)](_0x3cbc6a,_0x1f442e,!0x1);if(p[_0x4b7e8d(0x4b2)](_0x20e99d))throw _0x20e99d[_0x4b7e8d(0x1c4)];if(p['isTransformMutationFailure'](_0x524a85))throw _0x524a85[_0x4b7e8d(0x1c4)];_0x466872[_0x4b7e8d(0x493)]({..._0x16f965[_0x35d804],'undoState':_0x20e99d[_0x4b7e8d(0x247)]['params'],'redoState':_0x524a85[_0x4b7e8d(0x247)][_0x4b7e8d(0x530)]}),_0x36313e=_0x20e99d['m1Prime'],_0x3cbc6a=_0x524a85[_0x4b7e8d(0x13a)];}_0x36313e=a[_0x4b7e8d(0x369)][_0x4b7e8d(0x465)](_0x42a67c[_0x4b7e8d(0x41d)][0x0]),_0x3cbc6a=a[_0x4b7e8d(0x369)][_0x4b7e8d(0x465)](_0x42a67c[_0x4b7e8d(0x41d)][0x0]);for(let _0x383284=_0x5805f3[_0x4b7e8d(0x31e)]-0x1;_0x383284>=0x0;_0x383284--){const _0x25039d={'id':_0x4b7e8d(0x307),'params':{'unitId':_0x5805f3[_0x383284][_0x4b7e8d(0x2f1)],..._0x5805f3[_0x383284][_0x4b7e8d(0x4b6)]}},_0x1401a={'id':_0x4b7e8d(0x307),'params':{'unitId':_0x5805f3[_0x383284][_0x4b7e8d(0x2f1)],..._0x5805f3[_0x383284][_0x4b7e8d(0x3e5)]}},_0x36adf7=this[_0x4b7e8d(0x1fa)][_0x4b7e8d(0x1e6)](_0x36313e,_0x25039d,!0x1),_0xca45c1=this[_0x4b7e8d(0x1fa)][_0x4b7e8d(0x1e6)](_0x3cbc6a,_0x1401a,!0x1);if(p[_0x4b7e8d(0x4b2)](_0x36adf7))throw _0x36adf7[_0x4b7e8d(0x1c4)];if(p[_0x4b7e8d(0x4b2)](_0xca45c1))throw _0xca45c1[_0x4b7e8d(0x1c4)];_0x4dae7c[_0x4b7e8d(0x493)]({..._0x5805f3[_0x383284],'undoState':_0x36adf7[_0x4b7e8d(0x247)][_0x4b7e8d(0x530)],'redoState':_0xca45c1['m2Prime']['params']}),_0x36313e=_0x36adf7[_0x4b7e8d(0x13a)],_0x3cbc6a=_0xca45c1[_0x4b7e8d(0x13a)];}this['_docStateChangeManagerService']['setStateCache'](_0x37eaae,{'history':_0x466872,'collaboration':_0x4dae7c});}};We=Nn([tt(0x0,a['Inject'](a[_0x1cc768(0x4d2)])),tt(0x1,p['ITransformService']),tt(0x2,a[_0x1cc768(0x2ca)](J[_0x1cc768(0x17a)]))],We);function Si(_0x2a8c9c){const _0x27c26e=_0x1cc768;let _0x39b8f7='';for(const _0x22b726 of _0x2a8c9c){const {startOffset:_0x48436c,endOffset:_0x305c91,isActive:_0x41718d,rangeType:_0x15bc19,segmentId:_0x43543e,segmentPage:_0x471a98}=_0x22b726;_0x39b8f7[_0x27c26e(0x31e)]&&(_0x39b8f7+=','),_0x39b8f7+=_0x48436c+':'+_0x305c91+':'+(_0x41718d?'1':'0')+':'+_0x15bc19+':'+_0x43543e+':'+_0x471a98;}return _0x39b8f7;}function Ln(_0xeb19ae){const _0x5a4489=_0x1cc768,_0x5c8e7d=_0xeb19ae[_0x5a4489(0x375)](','),_0x348162=[];for(const _0x6bb38c of _0x5c8e7d){const [_0x44fb37,_0x46489c,_0x9b0263,_0x3c9dbb,_0xe3acbe,_0x3e6ba0]=_0x6bb38c[_0x5a4489(0x375)](':');_0x348162[_0x5a4489(0x102)]({'startOffset':Number(_0x44fb37),'endOffset':Number(_0x46489c),'collapsed':_0x44fb37===_0x46489c,'isActive':_0x9b0263==='1','rangeType':_0x3c9dbb===a[_0x5a4489(0x150)]['TEXT']?a[_0x5a4489(0x150)][_0x5a4489(0x38f)]:a[_0x5a4489(0x150)][_0x5a4489(0x5a9)],'segmentId':typeof _0xe3acbe=='string'?String(_0xe3acbe):'','segmentPage':Number(_0x3e6ba0!=null?_0x3e6ba0:-0x1)});}return _0x348162[_0x5a4489(0x2cc)](_0x5f29b6=>_0x5f29b6[_0x5a4489(0x55a)])||(_0x348162[0x0][_0x5a4489(0x55a)]=!0x0),_0x348162;}class yt extends a[_0x1cc768(0x35a)]{constructor(){const _0x406040=_0x1cc768;super(...arguments),I(this,_0x406040(0x367),new A[(_0x406040(0x118))](null)),I(this,_0x406040(0x564),this[_0x406040(0x367)][_0x406040(0x575)]());}['syncEditingCollabCursor'](_0x266e9e){const _0x5f5b39=_0x1cc768,{unitID:_0x349de5,memberID:_0x4a02bf,textRanges:_0x456bf7}=_0x266e9e,_0x28483c=Si(_0x456bf7);if(_0x28483c==='')return;const _0x294a92={'unitID':_0x349de5,'memberID':_0x4a02bf,'selection':_0x28483c};this[_0x5f5b39(0x367)][_0x5f5b39(0x122)](_0x294a92);}}var xn=Object['defineProperty'],jn=Object[_0x1cc768(0x263)],$n=(_0x7263d5,_0x31be3c,_0x40cbc6,_0x2d5bc0)=>{for(var _0x555c93=_0x2d5bc0>0x1?void 0x0:_0x2d5bc0?jn(_0x31be3c,_0x40cbc6):_0x31be3c,_0xe75a7e=_0x7263d5['length']-0x1,_0x401c47;_0xe75a7e>=0x0;_0xe75a7e--)(_0x401c47=_0x7263d5[_0xe75a7e])&&(_0x555c93=(_0x2d5bc0?_0x401c47(_0x31be3c,_0x40cbc6,_0x555c93):_0x401c47(_0x555c93))||_0x555c93);return _0x2d5bc0&&_0x555c93&&xn(_0x31be3c,_0x40cbc6,_0x555c93),_0x555c93;},$t=(_0x4ea7ba,_0x178061)=>(_0x2d62dd,_0x4d104e)=>_0x178061(_0x2d62dd,_0x4d104e,_0x4ea7ba);let Fe=class{constructor(_0x3fd533,_0x2bd28c){const _0x121524=_0x1cc768;this[_0x121524(0x310)]=_0x3fd533,this['_transformService']=_0x2bd28c;}[_0x1cc768(0x1c6)](_0x13aa25){const _0x54a503=_0x1cc768;var _0x385c02;const _0x58df10=this['_injector'][_0x54a503(0x4f7)](Ie['DocSelectionManagerService']),_0x37fe44=(_0x385c02=_0x58df10[_0x54a503(0x4d0)]())!=null?_0x385c02:[];if(_0x37fe44[_0x54a503(0x31e)]===0x0)return;const _0x5a826a=_0x13aa25[_0x54a503(0x4ed)],_0x5eed99=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a826a,'actions':null,'textRanges':_0x37fe44}}],_0x178475=this[_0x54a503(0x1fa)][_0x54a503(0x400)](_0x13aa25,_0x5eed99);if(!p[_0x54a503(0x482)](_0x178475))throw _0x178475[_0x54a503(0x1c4)];const _0xc3b510=_0x178475[_0x54a503(0x247)][0x0]['params'][_0x54a503(0x4e6)];Array[_0x54a503(0x194)](_0xc3b510)&&_0xc3b510[_0x54a503(0x31e)]&&_0x58df10[_0x54a503(0x3a1)](_0xc3b510,{'unitId':_0x5a826a,'subUnitId':_0x5a826a},!0x1);}};Fe=$n([$t(0x0,a[_0x1cc768(0x2ca)](a['Injector'])),$t(0x1,p[_0x1cc768(0x48d)])],Fe);const Hn=new Set([k[_0x1cc768(0x1d5)]['id']]);function Ht(_0x75d2ee,_0x5b8a30,_0x3e2b1c,_0x2e0fad,_0x1975f1){const _0x45e222=_0x1cc768;var _0x17bc35,_0x1cef01,_0xc7fc0a,_0x5ea267;const _0x2ae7d9=[];for(const _0x4e0dbd of _0x75d2ee)if(Hn[_0x45e222(0x50a)](_0x4e0dbd['id'])){if(_0x2ae7d9['length']>0x0)break;_0x2ae7d9[_0x45e222(0x102)](_0x4e0dbd);break;}else _0x2ae7d9[_0x45e222(0x102)](_0x4e0dbd);const _0x19088b=(_0x1cef01=(_0x17bc35=_0x1975f1['getCurrentUser']())==null?void 0x0:_0x17bc35[_0x45e222(0x140)])!=null?_0x1cef01:'unknown',_0x206ad4=(_0x5ea267=(_0xc7fc0a=_0x1975f1['getCurrentUser']())==null?void 0x0:_0xc7fc0a[_0x45e222(0x336)])!=null?_0x5ea267:_0x45e222(0x5cf);return{'changeset':{'unitID':_0x5b8a30,'type':p[_0x45e222(0x501)](_0x3e2b1c[_0x45e222(0x473)](_0x5b8a30)),'baseRev':_0x2e0fad['getCurrentRevOfUnit'](_0x5b8a30),'revision':0x0,'userID':_0x19088b,'memberID':_0x206ad4,'mutations':_0x2ae7d9},'pendingMutations':_0x75d2ee['slice'](_0x2ae7d9[_0x45e222(0x31e)])};}function Bn(_0x135f65,_0x564ae2,_0xeae072,_0x5b2a8f,_0xe29dce){const _0xbb1c9c=_0x1cc768;var _0x677a8e,_0x45856c,_0x550f3f,_0x26433e;const _0x1a968c=[_0x135f65[_0xbb1c9c(0x20e)]((_0x136da2,_0x57f5ab)=>{const _0x4a6a21=_0xbb1c9c;var _0x39155f;const {id:_0x1720b8}=_0x136da2,{id:_0x63a6cc,type:_0x97fd65}=_0x57f5ab,_0x185301=(_0x39155f=_0x136da2[_0x4a6a21(0x530)])!=null?_0x39155f:{'actions':null},_0x14c8eb=_0x57f5ab['params'];if(_0x1720b8&&_0x1720b8!==_0x63a6cc)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1720b8+_0x4a6a21(0x442)+_0x63a6cc+'.');return{..._0x136da2,'id':_0x63a6cc,'type':_0x97fd65,'params':{'unitId':_0x14c8eb[_0x4a6a21(0x2f1)],'textRanges':_0x14c8eb[_0x4a6a21(0x4e6)],'actions':a[_0x4a6a21(0x3d5)][_0x4a6a21(0x403)](_0x185301['actions'],_0x14c8eb['actions'])}};},{})],_0x219190=(_0x45856c=(_0x677a8e=_0xe29dce[_0xbb1c9c(0x1b0)]())==null?void 0x0:_0x677a8e[_0xbb1c9c(0x140)])!=null?_0x45856c:_0xbb1c9c(0x5cf),_0x9f8bb2=(_0x26433e=(_0x550f3f=_0xe29dce[_0xbb1c9c(0x1b0)]())==null?void 0x0:_0x550f3f[_0xbb1c9c(0x336)])!=null?_0x26433e:'unknown';return{'changeset':{'unitID':_0x564ae2,'type':p[_0xbb1c9c(0x501)](_0xeae072['getUnitType'](_0x564ae2)),'baseRev':_0x5b2a8f[_0xbb1c9c(0x2de)](_0x564ae2),'revision':0x0,'userID':_0x219190,'memberID':_0x9f8bb2,'mutations':_0x1a968c},'pendingMutations':[]};}function pi(_0xad7ea3,_0x17e464){const _0x31dbbd=_0x1cc768,_0x1ce2d0=new A[(_0x31dbbd(0x407))](0x1);return setTimeout(()=>_0x1ce2d0['next'](_0x17e464),_0xad7ea3),_0x1ce2d0['asObservable']()[_0x31dbbd(0x154)](A[_0x31dbbd(0x459)](0x1));}const kn={'id':k[_0x1cc768(0x206)]['id'],'type':a[_0x1cc768(0x302)][_0x1cc768(0x17c)],'params':{}};var Wn=Object[_0x1cc768(0x244)],Fn=Object['getOwnPropertyDescriptor'],Ee=(_0x1fd6d8,_0x59d41f,_0x4aaac4,_0x1a4a01)=>{const _0x5e9855=_0x1cc768;for(var _0x231f0e=_0x1a4a01>0x1?void 0x0:_0x1a4a01?Fn(_0x59d41f,_0x4aaac4):_0x59d41f,_0x13099d=_0x1fd6d8[_0x5e9855(0x31e)]-0x1,_0x210574;_0x13099d>=0x0;_0x13099d--)(_0x210574=_0x1fd6d8[_0x13099d])&&(_0x231f0e=(_0x1a4a01?_0x210574(_0x59d41f,_0x4aaac4,_0x231f0e):_0x210574(_0x231f0e))||_0x231f0e);return _0x1a4a01&&_0x231f0e&&Wn(_0x59d41f,_0x4aaac4,_0x231f0e),_0x231f0e;},N=(_0xac9bd4,_0x6b6704)=>(_0x3195bd,_0x88f789)=>_0x6b6704(_0x3195bd,_0x88f789,_0xac9bd4),q=(_0x69fee=>(_0x69fee[_0x1cc768(0x3ef)]='not_collab',_0x69fee['SYNCED']='synced',_0x69fee[_0x1cc768(0x3b9)]='pending',_0x69fee['AWAITING']=_0x1cc768(0x354),_0x69fee[_0x1cc768(0x33f)]=_0x1cc768(0x366),_0x69fee[_0x1cc768(0x29c)]=_0x1cc768(0x497),_0x69fee[_0x1cc768(0x357)]=_0x1cc768(0x1d4),_0x69fee[_0x1cc768(0x1b1)]=_0x1cc768(0x2a7),_0x69fee))(q||{});const mi=0xea60;class be{constructor(_0x43556c,_0x25312c,_0x52fc2d,_0x5498a2,_0x2b43b6,_0x44e0ed,_0x2672b9,_0x2501d1,_0x2e439){const _0x89b3e3=_0x1cc768;I(this,'_awaitingChangeset',null),I(this,_0x89b3e3(0x3db),[]),(this[_0x89b3e3(0x4ed)]=_0x43556c,this[_0x89b3e3(0x398)]=_0x25312c,this[_0x89b3e3(0x38a)]=_0x2b43b6,this[_0x89b3e3(0x134)]=_0x44e0ed,this[_0x89b3e3(0x5d6)]=_0x2672b9,this[_0x89b3e3(0x47a)]=_0x2501d1,this['_localCacheService']=_0x2e439,this[_0x89b3e3(0x182)]=_0x52fc2d,this[_0x89b3e3(0x3db)]=_0x5498a2);}[_0x1cc768(0x221)](_0x1902c4){const _0x50c428=_0x1cc768,_0x4288e8=this['_revisionService'][_0x50c428(0x2de)](this['unitID']);return _0x1902c4[_0x50c428(0x528)]>_0x4288e8+0x1?(this[_0x50c428(0x38a)][_0x50c428(0x4b4)]({'from':_0x4288e8,'to':_0x1902c4[_0x50c428(0x528)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5b9805){const _0x40ffa7=_0x1cc768;this[_0x40ffa7(0x5d6)][_0x40ffa7(0x597)](this[_0x40ffa7(0x4ed)],_0x5b9805);}['_transformSelections'](_0x22edc9){const _0x491c3b=_0x1cc768;var _0xfc469,_0x158fa4;(_0x158fa4=(_0xfc469=this[_0x491c3b(0x38a)])['onTransformSelections'])==null||_0x158fa4['call'](_0xfc469,_0x22edc9);}[_0x1cc768(0x49b)](_0x1fd9c8){const _0xd5970e=_0x1cc768;var _0x551a59,_0x10d2a0;return(_0x10d2a0=(_0x551a59=this[_0xd5970e(0x38a)])[_0xd5970e(0x174)])==null?void 0x0:_0x10d2a0[_0xd5970e(0x3a6)](_0x551a59,_0x1fd9c8);}['_transformStateCache'](_0x27dba0){const _0x37a502=_0x1cc768;var _0x40c84e,_0x148b14;return(_0x148b14=(_0x40c84e=this[_0x37a502(0x38a)])[_0x37a502(0x487)])==null?void 0x0:_0x148b14['call'](_0x40c84e,_0x27dba0);}['_transformRemoteChangesetByIMECache'](_0x2df90a){const _0x478dfd=_0x1cc768;var _0x45ca9d,_0x13bcfe,_0x5b4a75;return(_0x5b4a75=(_0x13bcfe=(_0x45ca9d=this[_0x478dfd(0x38a)])[_0x478dfd(0x4c7)])==null?void 0x0:_0x13bcfe[_0x478dfd(0x3a6)](_0x45ca9d,_0x2df90a))!=null?_0x5b4a75:_0x2df90a;}['_transformRemoteChangesetByStateCache'](_0x5d39b4){const _0x522603=_0x1cc768;var _0x151e1f,_0x2afea7,_0x4ce750;return(_0x4ce750=(_0x2afea7=(_0x151e1f=this[_0x522603(0x38a)])[_0x522603(0x1e3)])==null?void 0x0:_0x2afea7['call'](_0x151e1f,_0x5d39b4))!=null?_0x4ce750:_0x5d39b4;}['_syncEditingCollabCursor'](_0x4f2447){const _0x3ed15a=_0x1cc768;var _0xdeea9a,_0x54d8f0;if(this[_0x3ed15a(0x398)]===ne[_0x3ed15a(0x408)]){const {unitID:_0x2abaef,mutations:_0x19a182,memberID:_0x454460}=_0x4f2447,_0x4a631f=_0x19a182[0x0]['params']['textRanges'];Array[_0x3ed15a(0x194)](_0x4a631f)&&_0x4a631f[_0x3ed15a(0x31e)]>0x0&&((_0x54d8f0=(_0xdeea9a=this[_0x3ed15a(0x38a)])[_0x3ed15a(0x529)])==null||_0x54d8f0['call'](_0xdeea9a,{'unitID':_0x2abaef,'memberID':_0x454460,'textRanges':_0x4a631f}));}}['_updateLocalCache'](){const _0x1fa35c=_0x1cc768;this[_0x1fa35c(0x3f3)][_0x1fa35c(0x198)](this[_0x1fa35c(0x4ed)],this['type'],this[_0x1fa35c(0x182)],this[_0x1fa35c(0x3db)]);}['_getCurrentRevision'](){const _0x3ccc0f=_0x1cc768;return this['_revisionService'][_0x3ccc0f(0x2de)](this[_0x3ccc0f(0x4ed)]);}[_0x1cc768(0x224)](){const _0x316753=_0x1cc768;this['_revisionService'][_0x316753(0x21b)](this[_0x316753(0x4ed)]);}[_0x1cc768(0x525)](_0x40b3e7){const _0x22e073=_0x1cc768;var _0x5ebfdc;let _0x33e3d7=this[_0x22e073(0x3cc)](_0x40b3e7);_0x33e3d7=this[_0x22e073(0x2cd)](_0x33e3d7);const _0x504ab6=a[_0x22e073(0x5ae)](_0x33e3d7['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x504ab6[_0x22e073(0x39b)])throw _0x504ab6[_0x22e073(0x1c4)]instanceof Error?_0x504ab6[_0x22e073(0x1c4)]:new Error((_0x5ebfdc=_0x504ab6[_0x22e073(0x1c4)])!=null?_0x5ebfdc:_0x22e073(0x377));this[_0x22e073(0x49b)](_0x33e3d7),this['_transformStateCache'](_0x33e3d7),this[_0x22e073(0x595)](_0x40b3e7),this[_0x22e073(0x318)](_0x33e3d7),this[_0x22e073(0x312)](_0x33e3d7),this[_0x22e073(0x224)]();}}let Oe=class extends be{constructor(_0x5bad5b,_0x5f3ec2,_0x15b2dd,_0x24b05d,_0x9d194b,_0x27da7d,_0x45281a,_0x27971c,_0x3f77fb,_0x8c2dc5){const _0x23d9b0=_0x1cc768;super(_0x5bad5b,_0x5f3ec2,null,[],_0x15b2dd,_0x27971c,_0x45281a,_0x24b05d,_0x9d194b),I(this,'status',_0x23d9b0(0x39d)),(this[_0x23d9b0(0x310)]=_0x27da7d,this[_0x23d9b0(0x10c)]=_0x3f77fb,this[_0x23d9b0(0x1fa)]=_0x8c2dc5);}[_0x1cc768(0x566)](_0xe552ca){const _0x240c5a=_0x1cc768,_0x251277=this[_0x240c5a(0x310)][_0x240c5a(0x30a)](ce,this['unitID'],this[_0x240c5a(0x398)],[_0xe552ca],this[_0x240c5a(0x38a)]);return _0x251277[_0x240c5a(0x451)](),_0x251277[_0x240c5a(0x4f0)](),_0x251277;}[_0x1cc768(0x1c5)](_0x3da9e7){const _0x2a7b20=_0x1cc768;if(this[_0x2a7b20(0x221)](_0x3da9e7))return this[_0x2a7b20(0x310)]['createInstance'](re,this[_0x2a7b20(0x4ed)],this[_0x2a7b20(0x398)],null,[],null,[_0x3da9e7],this[_0x2a7b20(0x38a)]);try{const _0x1eb4a9=this[_0x2a7b20(0x1fa)][_0x2a7b20(0x400)](_0x3da9e7,[kn]);if(p[_0x2a7b20(0x482)](_0x1eb4a9)){const {c1Prime:_0xdd94d8}=_0x1eb4a9;return this['_executeRemoteChangeset'](_0xdd94d8),this;}throw _0x1eb4a9['error'];}catch(_0x1f9a2f){return this['_logService'][_0x2a7b20(0x1c4)](_0x1f9a2f),this[_0x2a7b20(0x28d)](!0x1);}}[_0x1cc768(0x28d)](_0x31d331){const _0x3531c6=_0x1cc768;return this['_injector'][_0x3531c6(0x30a)](ve,this[_0x3531c6(0x4ed)],this[_0x3531c6(0x398)],null,[],this[_0x3531c6(0x38a)],_0x31d331);}[_0x1cc768(0x4a2)](){const _0x482afe=_0x1cc768;throw new Error(_0x482afe(0x304));}[_0x1cc768(0x55e)](){const _0x4a2e70=_0x1cc768;throw new Error(_0x4a2e70(0x12d));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x83cce2=_0x1cc768;return this[_0x83cce2(0x310)][_0x83cce2(0x30a)](Se,this[_0x83cce2(0x4ed)],this[_0x83cce2(0x398)],null,[],this[_0x83cce2(0x38a)]);}['toggleOnline'](){return this;}['resend'](){const _0x2733e8=_0x1cc768;throw new Error(_0x2733e8(0x2c5));}['fetchMiss'](){const _0xc9d162=_0x1cc768,_0x535e26=this['_revisionService'][_0xc9d162(0x2de)](this[_0xc9d162(0x4ed)]);return this['_handler']['onMissingChangesets']({'from':_0x535e26,'to':0x0}),this[_0xc9d162(0x310)][_0xc9d162(0x30a)](re,this[_0xc9d162(0x4ed)],this[_0xc9d162(0x398)],null,[],null,[],this['_handler']);}};Oe=Ee([N(0x3,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)])),N(0x4,a['Inject'](exports['LocalCacheService'])),N(0x5,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),N(0x6,a[_0x1cc768(0x542)]),N(0x7,a[_0x1cc768(0x11f)]),N(0x8,a[_0x1cc768(0x1a0)]),N(0x9,p[_0x1cc768(0x48d)])],Oe);let ce=class extends be{constructor(_0x2a0d34,_0x4e4cb0,_0x197a58,_0x5e2462,_0x5a8fd7,_0x44ba14,_0x1d3fda,_0x31e179,_0x189efc,_0x35480e,_0x13ec05,_0x291dd5,_0x1e0894,_0x5c6468){const _0x555221=_0x1cc768;super(_0x2a0d34,_0x4e4cb0,null,_0x197a58,_0x5e2462,_0x35480e,_0x5c6468,_0x44ba14,_0x1d3fda),I(this,'status',_0x555221(0x340)),I(this,'_scheduleTimestamp',null),I(this,_0x555221(0x25e),null),(this[_0x555221(0x310)]=_0x5a8fd7,this[_0x555221(0x222)]=_0x31e179,this[_0x555221(0x10c)]=_0x189efc,this[_0x555221(0x2c0)]=_0x13ec05,this[_0x555221(0x1fa)]=_0x291dd5,this['_univerInstanceService']=_0x1e0894);}[_0x1cc768(0x566)](_0x395bd2){const _0x52ddac=_0x1cc768;return this[_0x52ddac(0x3db)][_0x52ddac(0x102)](_0x395bd2),this['_updateLocalCache'](),this;}[_0x1cc768(0x1c5)](_0x13c577){const _0x2a7439=_0x1cc768;if(this[_0x2a7439(0x221)](_0x13c577))return this[_0x2a7439(0x1ff)](),this[_0x2a7439(0x310)][_0x2a7439(0x30a)](re,this['unitID'],this[_0x2a7439(0x398)],null,this[_0x2a7439(0x3db)],null,[_0x13c577],this[_0x2a7439(0x38a)]);try{const _0x2c4658=this[_0x2a7439(0x1fa)]['transformMutationsWithChangeset'](_0x13c577,this[_0x2a7439(0x3db)]);if(p[_0x2a7439(0x482)](_0x2c4658)){const {c1Prime:_0x3563b5,m2Prime:_0x30ee0d}=_0x2c4658;this[_0x2a7439(0x525)](_0x3563b5);const _0x311b0f=this[_0x2a7439(0x310)][_0x2a7439(0x30a)](ce,this[_0x2a7439(0x4ed)],this[_0x2a7439(0x398)],_0x30ee0d,this[_0x2a7439(0x38a)]);return this[_0x2a7439(0x1ff)](),_0x311b0f['_schedule'](this[_0x2a7439(0x1c7)]?Math[_0x2a7439(0x1a8)](0x0,new Date()[_0x2a7439(0x12b)]()-this[_0x2a7439(0x1c7)]):this[_0x2a7439(0x494)]()),_0x311b0f;}throw _0x2c4658[_0x2a7439(0x1c4)];}catch(_0x53d65b){return this['_logService'][_0x2a7439(0x1c4)](_0x53d65b),this['_onConflict'](!0x1);}}[_0x1cc768(0x4a2)](){const _0x34282e=_0x1cc768;throw new Error(_0x34282e(0x3e8));}[_0x1cc768(0x55e)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x1cc768(0x5a2)](){return this;}[_0x1cc768(0x3b4)](){const _0x27a1dd=_0x1cc768;return this[_0x27a1dd(0x1ff)](),this[_0x27a1dd(0x310)][_0x27a1dd(0x30a)](Se,this[_0x27a1dd(0x4ed)],this[_0x27a1dd(0x398)],null,this[_0x27a1dd(0x3db)],this[_0x27a1dd(0x38a)]);}[_0x1cc768(0x16a)](){return this;}[_0x1cc768(0x451)](_0x1ea019){const _0x271a35=_0x1cc768,_0x132558=_0x1ea019!=null?_0x1ea019:this[_0x271a35(0x494)]();this['_scheduleTimestamp']=new Date()[_0x271a35(0x12b)](),this[_0x271a35(0x25e)]=window[_0x271a35(0x2e7)](()=>{const _0x4f5579=_0x271a35;this[_0x4f5579(0x1ff)]();let _0x4f0f73=null;switch(this[_0x4f5579(0x398)]){case ne['UNIVER_SHEET']:{_0x4f0f73=Ht(this[_0x4f5579(0x3db)],this[_0x4f5579(0x4ed)],this[_0x4f5579(0x114)],this[_0x4f5579(0x47a)],this[_0x4f5579(0x222)]);break;}case ne['UNIVER_DOC']:{this['_pendingMutations'][_0x4f5579(0x578)](_0x2b0e95=>_0x2b0e95['id']===Ie[_0x4f5579(0x2bb)]['id'])?_0x4f0f73=Bn(this[_0x4f5579(0x3db)],this[_0x4f5579(0x4ed)],this['_univerInstanceService'],this['_revisionService'],this[_0x4f5579(0x222)]):_0x4f0f73=Ht(this[_0x4f5579(0x3db)],this[_0x4f5579(0x4ed)],this[_0x4f5579(0x114)],this['_revisionService'],this[_0x4f5579(0x222)]);break;}default:throw new Error(_0x4f5579(0x239)+this[_0x4f5579(0x398)]+'\x20in\x20_schedule.');}const {changeset:_0x466352,pendingMutations:_0x1adc35}=_0x4f0f73;this[_0x4f5579(0x38a)][_0x4f5579(0x12f)](_0x466352);const _0x5d7185=_0x1adc35[_0x4f5579(0x31e)]?this[_0x4f5579(0x310)][_0x4f5579(0x30a)](le,this[_0x4f5579(0x4ed)],this[_0x4f5579(0x398)],_0x466352,_0x1adc35,this[_0x4f5579(0x38a)],void 0x0):this[_0x4f5579(0x310)]['createInstance'](fe,this[_0x4f5579(0x4ed)],this[_0x4f5579(0x398)],_0x466352,this['_handler']);_0x5d7185['_updateLocalCache'](),this[_0x4f5579(0x38a)][_0x4f5579(0x46b)](this,_0x5d7185);},_0x132558);}[_0x1cc768(0x494)](){const _0x3b21d3=_0x1cc768;var _0x2b4371;const _0x2317d0=this['_configService'][_0x3b21d3(0x555)](Q);return(_0x2b4371=_0x2317d0==null?void 0x0:_0x2317d0[_0x3b21d3(0x2e6)])!=null?_0x2b4371:Fi;}[_0x1cc768(0x271)](){const _0x5816e0=_0x1cc768;throw new Error(_0x5816e0(0x179));}[_0x1cc768(0x1ff)](){const _0x32c438=_0x1cc768;this[_0x32c438(0x25e)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x1cc768(0x28d)](_0x5065cb){const _0x54c9f6=_0x1cc768;return this[_0x54c9f6(0x1ff)](),this[_0x54c9f6(0x310)][_0x54c9f6(0x30a)](ve,this['unitID'],this[_0x54c9f6(0x398)],null,this[_0x54c9f6(0x3db)],this[_0x54c9f6(0x38a)],_0x5065cb);}};ce=Ee([N(0x4,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),N(0x5,a['Inject'](p[_0x1cc768(0x3e1)])),N(0x6,a['Inject'](exports[_0x1cc768(0x305)])),N(0x7,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x1a6)])),N(0x8,a[_0x1cc768(0x1a0)]),N(0x9,a[_0x1cc768(0x11f)]),N(0xa,a['IConfigService']),N(0xb,p[_0x1cc768(0x48d)]),N(0xc,a[_0x1cc768(0x3bd)]),N(0xd,a['IUndoRedoService'])],ce);let fe=class extends be{constructor(_0x3d1b9d,_0x4d8294,_0x5e5c43,_0x2a2d00,_0x497b4f,_0x58dcf9,_0x53b282,_0x4d711c,_0x1ece80,_0x101e9a,_0x4fd5a8){const _0x2ef539=_0x1cc768;super(_0x3d1b9d,_0x4d8294,_0x5e5c43,[],_0x2a2d00,_0x4d711c,_0x4fd5a8,_0x58dcf9,_0x53b282),I(this,_0x2ef539(0x2c7),_0x2ef539(0x354)),I(this,'_resendTimeout',0x0),I(this,_0x2ef539(0x5c4)),I(this,_0x2ef539(0x3a5)),(this[_0x2ef539(0x310)]=_0x497b4f,this[_0x2ef539(0x10c)]=_0x1ece80,this[_0x2ef539(0x1fa)]=_0x101e9a);}[_0x1cc768(0x566)](_0x172429){const _0x429a0b=_0x1cc768;this[_0x429a0b(0x1ff)]();const _0xf25899=this[_0x429a0b(0x310)][_0x429a0b(0x30a)](le,this[_0x429a0b(0x4ed)],this[_0x429a0b(0x398)],this[_0x429a0b(0x182)],[_0x172429],this[_0x429a0b(0x38a)],this['_resendTimer']);return _0xf25899['_updateLocalCache'](),_0xf25899;}[_0x1cc768(0x1c5)](_0x2253f3){const _0x18c855=_0x1cc768;if(this[_0x18c855(0x221)](_0x2253f3))return this[_0x18c855(0x1ff)](),this[_0x18c855(0x310)][_0x18c855(0x30a)](re,this[_0x18c855(0x4ed)],this[_0x18c855(0x398)],this[_0x18c855(0x182)],[],null,[_0x2253f3],this[_0x18c855(0x38a)]);try{const _0x3e2288=this[_0x18c855(0x1fa)][_0x18c855(0x422)]([_0x2253f3],[this['_awaitingChangeset']],!0x1);if(p[_0x18c855(0x463)](_0x3e2288)){const {c1Prime:_0x4f84c3,c2Prime:_0x5ad462}=_0x3e2288;this[_0x18c855(0x525)](_0x4f84c3[0x0]),_0x5ad462[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x21f47a=this['_injector'][_0x18c855(0x30a)](fe,this[_0x18c855(0x4ed)],this[_0x18c855(0x398)],_0x5ad462[0x0],this[_0x18c855(0x38a)]);return _0x21f47a[_0x18c855(0x4f0)](),_0x21f47a;}return this[_0x18c855(0x28d)](!0x1);}catch(_0x352d04){return this[_0x18c855(0x10c)][_0x18c855(0x1c4)](_0x352d04),this[_0x18c855(0x28d)](!0x1);}}[_0x1cc768(0x4a2)](_0x2d9824){const _0x21f845=_0x1cc768;this[_0x21f845(0x1ff)]();const _0x3d2489=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);if(_0x2d9824[_0x21f845(0x528)]<_0x3d2489-0x1)return this;if(this[_0x21f845(0x221)](_0x2d9824))return this['_injector'][_0x21f845(0x30a)](re,this[_0x21f845(0x4ed)],this[_0x21f845(0x398)],null,[],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0xe0a23b=this[_0x21f845(0x310)][_0x21f845(0x30a)](Oe,this[_0x21f845(0x4ed)],this[_0x21f845(0x398)],this[_0x21f845(0x38a)]);return _0xe0a23b[_0x21f845(0x4f0)](),_0xe0a23b;}['onRemoteRej'](_0x270954){const _0x562fb4=_0x1cc768;return this[_0x562fb4(0x28d)](!!(_0x270954!=null&&_0x270954[_0x562fb4(0x427)]));}[_0x1cc768(0x5a2)](_0x20a5e7){const _0x241f60=_0x1cc768;return this[_0x241f60(0x571)]>mi?this[_0x241f60(0x3b4)]():(this[_0x241f60(0x5c4)]=pi(this[_0x241f60(0x571)],{'timeout':this['_resendTimeout'],'reqId':_0x20a5e7[_0x241f60(0x213)]}),this[_0x241f60(0x3a5)]=this[_0x241f60(0x5c4)][_0x241f60(0x556)](({reqId:_0x723abe,timeout:_0x4c7828})=>{const _0x3608aa=_0x241f60;this[_0x3608aa(0x22b)](_0x723abe,_0x4c7828);}),this);}['toggleOffline'](){const _0x5c88e5=_0x1cc768;return this[_0x5c88e5(0x1ff)](),this[_0x5c88e5(0x310)][_0x5c88e5(0x30a)](Se,this[_0x5c88e5(0x4ed)],this[_0x5c88e5(0x398)],this[_0x5c88e5(0x182)],[],this[_0x5c88e5(0x38a)]);}[_0x1cc768(0x16a)](){return this;}[_0x1cc768(0x271)](){const _0x21bcc9=_0x1cc768;this[_0x21bcc9(0x38a)]['onSendChangeset'](this[_0x21bcc9(0x182)]);}[_0x1cc768(0x28d)](_0x1a8807){const _0x3b79cc=_0x1cc768;return this['_clearScheduledTask'](),this['_injector'][_0x3b79cc(0x30a)](ve,this[_0x3b79cc(0x4ed)],this['type'],this[_0x3b79cc(0x182)],[],this[_0x3b79cc(0x38a)],_0x1a8807);}['_resendWithTimeout'](_0x21a546,_0x1ab975){const _0x1f49a2=_0x1cc768;var _0x45fa72;_0x21a546===((_0x45fa72=this[_0x1f49a2(0x182)])==null?void 0x0:_0x45fa72[_0x1f49a2(0x213)])&&(this[_0x1f49a2(0x271)](),this[_0x1f49a2(0x571)]=_0x1ab975===0x0?0x3e8:_0x1ab975*0x2);}[_0x1cc768(0x1ff)](){const _0xa964d3=_0x1cc768;var _0x62a8ff;(_0x62a8ff=this[_0xa964d3(0x3a5)])==null||_0x62a8ff[_0xa964d3(0x1ca)](),this[_0xa964d3(0x571)]=0x0;}};fe=Ee([N(0x4,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),N(0x5,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)])),N(0x6,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),N(0x7,a[_0x1cc768(0x11f)]),N(0x8,a[_0x1cc768(0x1a0)]),N(0x9,p[_0x1cc768(0x48d)]),N(0xa,a[_0x1cc768(0x542)])],fe);let le=class extends be{constructor(_0x258728,_0x563adc,_0x3fd5c0,_0x395e92,_0x32bc8c,_0x9e7fed,_0x176f0f,_0x3001a6,_0x378fe9,_0x4f5fb7,_0x536d2e,_0x3b0662,_0x40ad07){const _0x187382=_0x1cc768;super(_0x258728,_0x563adc,_0x3fd5c0,_0x395e92,_0x32bc8c,_0x4f5fb7,_0x40ad07,_0x3001a6,_0x378fe9),I(this,_0x187382(0x2c7),_0x187382(0x366)),I(this,_0x187382(0x571),0x0),I(this,_0x187382(0x5c4)),I(this,_0x187382(0x3a5)),(this[_0x187382(0x310)]=_0x176f0f,this[_0x187382(0x10c)]=_0x536d2e,this[_0x187382(0x1fa)]=_0x3b0662,_0x9e7fed&&(this[_0x187382(0x5c4)]=_0x9e7fed,this[_0x187382(0x3a5)]=this[_0x187382(0x5c4)][_0x187382(0x556)](({reqId:_0x35e5f6,timeout:_0x511ac4})=>{const _0x545781=_0x187382;this[_0x545781(0x22b)](_0x35e5f6,_0x511ac4);})));}[_0x1cc768(0x566)](_0x47581c){const _0x2dbd59=_0x1cc768;return this[_0x2dbd59(0x3db)]['push'](_0x47581c),this;}['onRemoteChangeset'](_0x1c996d){const _0x6e5097=_0x1cc768;if(this[_0x6e5097(0x221)](_0x1c996d))return this[_0x6e5097(0x1ff)](),this[_0x6e5097(0x310)]['createInstance'](re,this[_0x6e5097(0x4ed)],this[_0x6e5097(0x398)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x1c996d],this[_0x6e5097(0x38a)]);try{const _0x330c8f=this[_0x6e5097(0x1fa)][_0x6e5097(0x422)]([_0x1c996d],[this['_awaitingChangeset']],!0x1);if(p[_0x6e5097(0x463)](_0x330c8f)){const {c1Prime:_0x467f63,c2Prime:_0x2b172a}=_0x330c8f,_0x20224b=this[_0x6e5097(0x1fa)]['transformMutationsWithChangeset'](_0x467f63[0x0],this[_0x6e5097(0x3db)]);if(p[_0x6e5097(0x482)](_0x20224b)){const {c1Prime:_0x400882,m2Prime:_0xeabf0a}=_0x20224b;return this[_0x6e5097(0x525)](_0x400882),_0x2b172a[0x0][_0x6e5097(0x348)]=this[_0x6e5097(0x3eb)](),this[_0x6e5097(0x1ff)](),this[_0x6e5097(0x310)][_0x6e5097(0x30a)](le,this[_0x6e5097(0x4ed)],this[_0x6e5097(0x398)],_0x2b172a[0x0],_0xeabf0a,this[_0x6e5097(0x38a)],void 0x0);}throw _0x20224b[_0x6e5097(0x1c4)];}throw _0x330c8f['error'];}catch(_0x302575){return this[_0x6e5097(0x10c)]['error'](_0x302575),this[_0x6e5097(0x28d)](!0x1);}}['onRemoteAck'](_0xc79485){const _0x2e2aef=_0x1cc768;if(this[_0x2e2aef(0x1ff)](),this[_0x2e2aef(0x221)](_0xc79485))return this[_0x2e2aef(0x310)]['createInstance'](re,this[_0x2e2aef(0x4ed)],this[_0x2e2aef(0x398)],null,this[_0x2e2aef(0x3db)],this[_0x2e2aef(0x182)],[],this[_0x2e2aef(0x38a)]);this[_0x2e2aef(0x224)]();const _0xa6dad6=this[_0x2e2aef(0x310)]['createInstance'](ce,this['unitID'],this[_0x2e2aef(0x398)],this[_0x2e2aef(0x3db)],this[_0x2e2aef(0x38a)]);return _0xa6dad6[_0x2e2aef(0x451)](),_0xa6dad6[_0x2e2aef(0x4f0)](),_0xa6dad6;}['onRemoteRej'](_0x42209c){const _0x18ee2b=_0x1cc768;return this[_0x18ee2b(0x28d)](!!(_0x42209c!=null&&_0x42209c['isPermissionRej']));}[_0x1cc768(0x5a2)](_0x23aaf2){const _0x502c96=_0x1cc768;return this['_resendTimeout']>mi?this['toggleOffline']():(this[_0x502c96(0x5c4)]=pi(this[_0x502c96(0x571)],{'timeout':this[_0x502c96(0x571)],'reqId':_0x23aaf2[_0x502c96(0x213)]}),this[_0x502c96(0x3a5)]=this[_0x502c96(0x5c4)]['subscribe'](({reqId:_0x164103,timeout:_0x37e8fd})=>{this['_resendWithTimeout'](_0x164103,_0x37e8fd);}),this);}['toggleOffline'](){const _0x4c85c6=_0x1cc768;return this[_0x4c85c6(0x1ff)](),this[_0x4c85c6(0x310)][_0x4c85c6(0x30a)](Se,this[_0x4c85c6(0x4ed)],this[_0x4c85c6(0x398)],this[_0x4c85c6(0x182)],this['_pendingMutations'],this[_0x4c85c6(0x38a)]);}[_0x1cc768(0x16a)](){return this;}[_0x1cc768(0x271)](){const _0x47aa59=_0x1cc768;this[_0x47aa59(0x38a)]['onSendChangeset'](this[_0x47aa59(0x182)]);}[_0x1cc768(0x28d)](_0x410d6f){const _0x56b6a2=_0x1cc768;return this['_clearScheduledTask'](),this[_0x56b6a2(0x310)][_0x56b6a2(0x30a)](ve,this[_0x56b6a2(0x4ed)],this[_0x56b6a2(0x398)],null,this[_0x56b6a2(0x3db)],this[_0x56b6a2(0x38a)],_0x410d6f);}[_0x1cc768(0x22b)](_0x2ffc3b,_0x3cc273){const _0x297d8c=_0x1cc768;var _0x45b06a;_0x2ffc3b===((_0x45b06a=this[_0x297d8c(0x182)])==null?void 0x0:_0x45b06a[_0x297d8c(0x213)])&&(this[_0x297d8c(0x271)](),this[_0x297d8c(0x571)]=_0x3cc273===0x0?0x3e8:_0x3cc273*0x2);}[_0x1cc768(0x1ff)](){const _0x4effa3=_0x1cc768;var _0x119b94;(_0x119b94=this[_0x4effa3(0x3a5)])==null||_0x119b94['unsubscribe'](),this['_resendTimeout']=0x0;}};le=Ee([N(0x6,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),N(0x7,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)])),N(0x8,a['Inject'](exports['LocalCacheService'])),N(0x9,a[_0x1cc768(0x11f)]),N(0xa,a['ILogService']),N(0xb,p[_0x1cc768(0x48d)]),N(0xc,a['IUndoRedoService'])],le);let ve=class extends be{constructor(_0x1d5e32,_0x2e77a6,_0xeabbca,_0x463e45,_0x3369b8,_0x2315ea=!0x1,_0x5916c7,_0x38739e,_0x32b1ec,_0x109774,_0x382070,_0x19a378,_0x145f05){const _0xb26ffe=_0x1cc768;super(_0x1d5e32,_0x2e77a6,_0xeabbca,_0x463e45,_0x3369b8,_0x38739e,_0x32b1ec,_0x382070,_0x109774),I(this,_0xb26ffe(0x2c7),'conflict'),(this[_0xb26ffe(0x4d9)]=_0x2315ea,this[_0xb26ffe(0x208)]=_0x5916c7,this[_0xb26ffe(0x133)]=_0x19a378,this[_0xb26ffe(0x32f)]=_0x145f05,this[_0xb26ffe(0x4c8)](),this[_0xb26ffe(0x3dd)](),this[_0xb26ffe(0x243)]());}['appendMutation'](){return this;}[_0x1cc768(0x1c5)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x1cc768(0x5a2)](){return this;}[_0x1cc768(0x3b4)](){return this;}[_0x1cc768(0x16a)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1cc768(0x3dd)](){const _0x591b6e=_0x1cc768;this[_0x591b6e(0x3f3)][_0x591b6e(0x198)](this['unitID'],this[_0x591b6e(0x398)],null,[]);}[_0x1cc768(0x4c8)](){const _0x43b70b=_0x1cc768;this[_0x43b70b(0x4d9)]?this[_0x43b70b(0x32f)]['show']({'title':this[_0x43b70b(0x133)]['t']('permission.title'),'content':this['_localeService']['t'](_0x43b70b(0x559)),'type':'error','duration':0x0}):this[_0x43b70b(0x32f)][_0x43b70b(0x242)]({'title':this['_localeService']['t'](_0x43b70b(0x523)),'content':this['_localeService']['t'](_0x43b70b(0x1ba)),'type':_0x43b70b(0x1c4),'duration':0x0});}[_0x1cc768(0x243)](){const _0x32bd16=_0x1cc768;this['_permissionService']['updatePermissionPoint'](new k[(_0x32bd16(0x1d2))](this['unitID'])['id'],!0x1);}};ve=Ee([N(0x6,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x42c)])),N(0x7,a['ICommandService']),N(0x8,a['IUndoRedoService']),N(0x9,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),N(0xa,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)])),N(0xb,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)])),N(0xc,te[_0x1cc768(0x345)])],ve);let Se=class extends be{constructor(_0x3f107f,_0x24dfb4,_0x43ecce,_0x2b3620,_0x2e123f,_0x175b98,_0x55f038,_0x1a8766,_0x74c270,_0x28383b){const _0x42f7c9=_0x1cc768;super(_0x3f107f,_0x24dfb4,_0x43ecce,_0x2b3620,_0x2e123f,_0x74c270,_0x28383b,_0x55f038,_0x1a8766),I(this,_0x42f7c9(0x2c7),_0x42f7c9(0x2a7)),this[_0x42f7c9(0x310)]=_0x175b98;}[_0x1cc768(0x566)](_0x5a22da){const _0x201439=_0x1cc768;return this[_0x201439(0x3db)][_0x201439(0x102)](_0x5a22da),this['_updateLocalCache'](),this;}[_0x1cc768(0x1c5)](_0x4d6bd2){const _0x27f702=_0x1cc768;throw new Error(_0x27f702(0x1d3));}[_0x1cc768(0x4a2)](){const _0x31df20=_0x1cc768;throw new Error(_0x31df20(0x596));}[_0x1cc768(0x55e)](){const _0x738646=_0x1cc768;throw new Error(_0x738646(0x393));}[_0x1cc768(0x5a2)](){return this;}[_0x1cc768(0x3b4)](){return this;}['toggleOnline'](){const _0x28c76d=_0x1cc768,{_injector:_0xab21cf,_pendingMutations:_0x4c8d92,_awaitingChangeset:_0x7a229a,unitID:_0x86ab9c,_handler:_0xa10773,type:_0x219fcf}=this,_0x240c6b=gi(_0xab21cf,_0x86ab9c,_0x219fcf,_0x7a229a,_0x4c8d92,_0xa10773);return _0x240c6b instanceof ce?_0x240c6b[_0x28c76d(0x451)]():(_0x240c6b instanceof le||_0x240c6b instanceof fe)&&_0x240c6b[_0x28c76d(0x271)](),_0x240c6b;}[_0x1cc768(0x271)](){const _0x26e1f3=_0x1cc768;throw new Error(_0x26e1f3(0x51a));}};Se=Ee([N(0x5,a[_0x1cc768(0x2ca)](a['Injector'])),N(0x6,a['Inject'](p['RevisionService'])),N(0x7,a['Inject'](exports[_0x1cc768(0x305)])),N(0x8,a[_0x1cc768(0x11f)]),N(0x9,a['IUndoRedoService'])],Se);let re=class extends be{constructor(_0x4291d6,_0x2bb125,_0x1398e6,_0x2f856d,_0x2a4fdc,_0x263e09,_0x36c4db,_0x32e208,_0xe66d8f,_0x366863,_0x376662,_0x514328,_0x103391,_0x2c6f53){const _0x4b7b9c=_0x1cc768;super(_0x4291d6,_0x2bb125,_0x1398e6,_0x2f856d,_0x36c4db,_0x514328,_0x103391,_0xe66d8f,_0x366863),I(this,_0x4b7b9c(0x2c7),'fetch_missing'),(this[_0x4b7b9c(0x54d)]=_0x2a4fdc,this[_0x4b7b9c(0x26b)]=_0x263e09,this[_0x4b7b9c(0x310)]=_0x32e208,this[_0x4b7b9c(0x10c)]=_0x376662,this[_0x4b7b9c(0x1fa)]=_0x2c6f53);}[_0x1cc768(0x574)](_0x4eaf3b){const _0x44c716=_0x1cc768;try{const _0x237ace=[..._0x4eaf3b,...this[_0x44c716(0x26b)]],_0x1f8794=[this[_0x44c716(0x182)]||this[_0x44c716(0x54d)]]['filter'](_0x1f3384=>!!_0x1f3384);let _0xf205b2,_0x48a0fb;if(_0x1f8794['length']){const _0x50836e=this[_0x44c716(0x1fa)][_0x44c716(0x422)](_0x237ace,_0x1f8794,!0x1);if(!p[_0x44c716(0x463)](_0x50836e))throw _0x50836e[_0x44c716(0x1c4)];_0xf205b2=_0x50836e['c1Prime'],_0x48a0fb=_0x50836e[_0x44c716(0x4b9)];}else _0xf205b2=_0x237ace,_0x48a0fb=[];let _0x525ea8=this[_0x44c716(0x3db)];_0xf205b2['forEach'](_0x33acf3=>{const _0x57e57a=_0x44c716;let _0x333488;if(_0x525ea8[_0x57e57a(0x31e)]){const _0x84c33a=this[_0x57e57a(0x1fa)][_0x57e57a(0x400)](_0x33acf3,_0x525ea8);if(!p[_0x57e57a(0x482)](_0x84c33a))throw _0x84c33a[_0x57e57a(0x1c4)];_0x333488=_0x84c33a[_0x57e57a(0x4d7)],_0x525ea8=_0x84c33a['m2Prime'];}else _0x333488=_0x33acf3;this[_0x57e57a(0x525)](_0x333488);}),this[_0x44c716(0x54d)]&&this[_0x44c716(0x224)](),this['_awaitingChangeset']&&_0x48a0fb['length']&&(_0x48a0fb[0x0][_0x44c716(0x348)]=this[_0x44c716(0x3eb)]());let _0x34146e;if(this[_0x44c716(0x182)]&&_0x525ea8[_0x44c716(0x31e)]!==0x0)_0x34146e=this[_0x44c716(0x310)]['createInstance'](le,this[_0x44c716(0x4ed)],this['type'],_0x48a0fb[0x0],_0x525ea8,this[_0x44c716(0x38a)],void 0x0);else{if(this[_0x44c716(0x182)]&&_0x525ea8['length']===0x0)_0x48a0fb[0x0][_0x44c716(0x348)]=this[_0x44c716(0x3eb)](),_0x34146e=this[_0x44c716(0x310)][_0x44c716(0x30a)](fe,this['unitID'],this[_0x44c716(0x398)],_0x48a0fb[0x0],this[_0x44c716(0x38a)]);else{if(_0x525ea8[_0x44c716(0x31e)]!==0x0){const _0x23631e=this[_0x44c716(0x310)][_0x44c716(0x30a)](ce,this[_0x44c716(0x4ed)],this['type'],_0x525ea8,this[_0x44c716(0x38a)]);_0x23631e['_schedule'](),_0x34146e=_0x23631e;}else _0x34146e=this['_injector'][_0x44c716(0x30a)](Oe,this[_0x44c716(0x4ed)],this[_0x44c716(0x398)],this[_0x44c716(0x38a)]);}}return _0x34146e['_updateLocalCache'](),_0x34146e;}catch(_0x102d5d){return this['_logService']['error'](_0x44c716(0x2cf),_0x44c716(0x39f),_0x102d5d),this[_0x44c716(0x310)]['createInstance'](ve,this[_0x44c716(0x4ed)],this[_0x44c716(0x398)],this[_0x44c716(0x182)],this[_0x44c716(0x3db)],this[_0x44c716(0x38a)],!0x1);}}[_0x1cc768(0x271)](){const _0xd8993=_0x1cc768;throw new Error(_0xd8993(0x138));}[_0x1cc768(0x566)](_0xbacc03){const _0x2f53e4=_0x1cc768;return this[_0x2f53e4(0x3db)]['push'](_0xbacc03),this;}[_0x1cc768(0x1c5)](_0x205c92){return this['_queuedRemoteChangesets']['push'](_0x205c92),this;}[_0x1cc768(0x4a2)](_0x32c36c){const _0x1854a9=_0x1cc768;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x1854a9(0x182)],this['_awaitingChangeset']=null,this;throw new Error(_0x1854a9(0x2bd));}[_0x1cc768(0x55e)](_0x1db5d7){const _0x224e23=_0x1cc768;return this[_0x224e23(0x28d)](!!(_0x1db5d7!=null&&_0x1db5d7[_0x224e23(0x427)]));}[_0x1cc768(0x5a2)](){return this;}[_0x1cc768(0x3b4)](){const _0x57b743=_0x1cc768;return this['_injector'][_0x57b743(0x30a)](Se,this['unitID'],this[_0x57b743(0x398)],this['_awaitingChangeset'],this[_0x57b743(0x3db)],this['_handler']);}[_0x1cc768(0x16a)](){return this;}[_0x1cc768(0x28d)](_0x17b002){const _0x4e6935=_0x1cc768;return this[_0x4e6935(0x310)][_0x4e6935(0x30a)](ve,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x4e6935(0x3db)],this['_handler'],_0x17b002);}};re=Ee([N(0x7,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),N(0x8,a['Inject'](p[_0x1cc768(0x3e1)])),N(0x9,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),N(0xa,a[_0x1cc768(0x1a0)]),N(0xb,a[_0x1cc768(0x11f)]),N(0xc,a[_0x1cc768(0x542)]),N(0xd,p[_0x1cc768(0x48d)])],re);function gi(_0x3e6ea0,_0x34e641,_0x41ffdd,_0x5ac145,_0x1031bd,_0x584ce1){const _0x5d46ba=_0x1cc768;return _0x5ac145&&_0x1031bd['length']?_0x3e6ea0['createInstance'](le,_0x34e641,_0x41ffdd,_0x5ac145,_0x1031bd,_0x584ce1,void 0x0):_0x5ac145?_0x3e6ea0['createInstance'](fe,_0x34e641,_0x41ffdd,_0x5ac145,_0x584ce1):_0x1031bd[_0x5d46ba(0x31e)]?_0x3e6ea0['createInstance'](ce,_0x34e641,_0x41ffdd,_0x1031bd,_0x584ce1):_0x3e6ea0[_0x5d46ba(0x30a)](Oe,_0x34e641,_0x41ffdd,_0x584ce1);}var Vn=Object[_0x1cc768(0x244)],Gn=Object[_0x1cc768(0x263)],Ot=(_0xc44ad7,_0x2ca748,_0x4920d3,_0x6dfabb)=>{const _0x23d168=_0x1cc768;for(var _0x45e792=_0x6dfabb>0x1?void 0x0:_0x6dfabb?Gn(_0x2ca748,_0x4920d3):_0x2ca748,_0x2fc1af=_0xc44ad7[_0x23d168(0x31e)]-0x1,_0x2e199f;_0x2fc1af>=0x0;_0x2fc1af--)(_0x2e199f=_0xc44ad7[_0x2fc1af])&&(_0x45e792=(_0x6dfabb?_0x2e199f(_0x2ca748,_0x4920d3,_0x45e792):_0x2e199f(_0x45e792))||_0x45e792);return _0x6dfabb&&_0x45e792&&Vn(_0x2ca748,_0x4920d3,_0x45e792),_0x45e792;},H=(_0x596050,_0x40e87b)=>(_0x14dee8,_0x3f6332)=>_0x40e87b(_0x14dee8,_0x3f6332,_0x596050);exports[_0x1cc768(0x389)]=class extends a[_0x1cc768(0x35a)]{constructor(_0x5dd1ce,_0x2ab812,_0x5ecaf7,_0x36152c,_0x5f58df,_0x3f89ae,_0x36bbd1,_0x16bd0e,_0x410eee,_0x58e408,_0x4e3144,_0x42fcc0,_0x1bb10f){const _0x330425=_0x1cc768;super(),I(this,_0x330425(0x34c),new A[(_0x330425(0x118))](null)),I(this,_0x330425(0x153),this['_state$'][_0x330425(0x575)]()),I(this,_0x330425(0x20f)),I(this,'_collaborationPaused',!0x1),I(this,_0x330425(0x4b1),''),I(this,_0x330425(0x3ea),0x0),I(this,_0x330425(0x495),this[_0x330425(0x153)][_0x330425(0x154)](A[_0x330425(0x130)](_0x235e91=>_0x235e91?_0x235e91['status']:q[_0x330425(0x1b1)]),A[_0x330425(0x3b0)](0x1))),I(this,_0x330425(0x2ba),!0x1),I(this,_0x330425(0x281),[]),(this[_0x330425(0x4ed)]=_0x5dd1ce,this[_0x330425(0x4fb)]=_0x2ab812,this['_type']=_0x5ecaf7,this[_0x330425(0x310)]=_0x36152c,this[_0x330425(0x3f3)]=_0x5f58df,this['_compressMutationService']=_0x3f89ae,this[_0x330425(0x133)]=_0x36bbd1,this['_revisionService']=_0x16bd0e,this['_logService']=_0x410eee,this[_0x330425(0x134)]=_0x58e408,this['_messageService']=_0x4e3144,this[_0x330425(0x208)]=_0x42fcc0,this[_0x330425(0x18e)]=_0x1bb10f);}get['state'](){return this['_state'];}async[_0x1cc768(0x518)](){const _0x369d38=_0x1cc768;if(this[_0x369d38(0x25b)])throw new Error(_0x369d38(0x260));await this[_0x369d38(0x143)]();}[_0x1cc768(0x36a)](){const _0x1340c4=_0x1cc768;return this['_collaborationPaused']=!0x0,a[_0x1340c4(0x329)](()=>{const _0x577dbd=_0x1340c4;this[_0x577dbd(0x12c)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['_updateState'](_0x506040){const _0x20058e=_0x1cc768;this[_0x20058e(0x20f)]=_0x506040,this[_0x20058e(0x34c)]['next'](_0x506040);}async[_0x1cc768(0x143)](){const _0x2be841=_0x1cc768;var _0x3da0f5;this['_updateState'](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x3da0f5=this[_0x2be841(0x18e)])==null||_0x3da0f5[_0x2be841(0x4c0)](this['unitID']),this[_0x2be841(0x27e)](this[_0x2be841(0x18e)][_0x2be841(0x49d)](this[_0x2be841(0x4ed)])[_0x2be841(0x556)](_0x1d8d91=>{const _0x2a5080=_0x2be841;this[_0x2a5080(0x10c)][_0x2a5080(0x157)](_0x2a5080(0x483),'editing\x20status\x20changed\x20to',_0x1d8d91),_0x1d8d91===vi[_0x2a5080(0x506)]?(this[_0x2a5080(0x124)][_0x2a5080(0x242)]({'content':this[_0x2a5080(0x133)]['t'](_0x2a5080(0x56d)),'type':Ce[_0x2a5080(0x14d)][_0x2a5080(0x268)]}),this[_0x2a5080(0x208)][_0x2a5080(0x517)](new k[(_0x2a5080(0x1d2))](this['unitID'])['id'],!0x1),this[_0x2a5080(0x208)][_0x2a5080(0x21c)](!0x1)):(this[_0x2a5080(0x208)][_0x2a5080(0x517)](new k[(_0x2a5080(0x1d2))](this[_0x2a5080(0x4ed)])['id'],!0x0),this[_0x2a5080(0x208)][_0x2a5080(0x21c)](!0x0));})));let _0x322e7a=!0x1;return this['disposeWithMe'](this[_0x2be841(0x4fb)][_0x2be841(0x272)][_0x2be841(0x556)](_0x3302d4=>{const _0x3a43a0=_0x2be841;_0x3302d4===se['ONLINE']?this['_toggleOnline'](_0x322e7a):_0x3302d4===se[_0x3a43a0(0x1b1)]&&(_0x322e7a=!0x0,this['_toggleOffline']());})),this[_0x2be841(0x27e)](this[_0x2be841(0x4fb)]['event$']['subscribe'](_0x548eb1=>{const _0x258e66=_0x2be841;try{switch(_0x548eb1[_0x258e66(0x1c1)]){case p[_0x258e66(0x59c)][_0x258e66(0x24b)]:{this[_0x258e66(0x362)](p[_0x258e66(0x1c8)](_0x548eb1[_0x258e66(0x48a)]));break;}case p[_0x258e66(0x59c)]['CHANGESET_ACK']:{this[_0x258e66(0x1be)](_0x548eb1[_0x258e66(0x48a)]);break;}case p[_0x258e66(0x59c)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case p[_0x258e66(0x59c)][_0x258e66(0x4ac)]:{this['_onRemoteRetry'](_0x548eb1['data']);break;}case p[_0x258e66(0x59c)][_0x258e66(0x5d0)]:{this[_0x258e66(0x50f)](_0x548eb1[_0x258e66(0x48a)][_0x258e66(0x59e)][_0x258e66(0x130)](_0x109261=>p['parseProtocolChangeset'](_0x109261)));break;}case p[_0x258e66(0x59c)][_0x258e66(0x576)]:this[_0x258e66(0x2a5)]({'isPermissionRej':!0x0});}}catch(_0xdf55ad){throw console[_0x258e66(0x1c4)](_0x258e66(0x11b),_0xdf55ad),_0xdf55ad;}})),this[_0x2be841(0x20f)];}['_unlockTransition'](){const _0x3ffbac=_0x1cc768;this[_0x3ffbac(0x2ba)]=!0x1;}[_0x1cc768(0x475)](){const _0x33e050=_0x1cc768;if(this[_0x33e050(0x2ba)])throw new Error(_0x33e050(0x3ed));this['_transitionLocked']=!0x0;}[_0x1cc768(0x5c3)](_0x2fabdb){const _0x278577=_0x1cc768;this['_lockTransition'](),this[_0x278577(0x4f3)](this[_0x278577(0x20f)]['appendMutation'](_0x2fabdb)),this[_0x278577(0x176)]();}[_0x1cc768(0x362)](_0x2f60b6){const _0x2825b9=_0x1cc768;if(!(_0x2f60b6[_0x2825b9(0x528)]<=this[_0x2825b9(0x47a)][_0x2825b9(0x2de)](this[_0x2825b9(0x4ed)]))){if(this[_0x2825b9(0x12c)]){this[_0x2825b9(0x281)]['push'](_0x2f60b6);return;}this[_0x2825b9(0x193)](_0x2f60b6);}}[_0x1cc768(0x311)](){const _0x5da049=_0x1cc768;this['_remoteChangesetQueue'][_0x5da049(0x380)](_0x445760=>this['_applyRemoteChangeset'](_0x445760)),this[_0x5da049(0x281)]=[];}[_0x1cc768(0x193)](_0x294cfc){const _0x352af9=_0x1cc768,_0x46e47d=this[_0x352af9(0x325)][_0x352af9(0x41f)]['fetchThroughInterceptors'](this[_0x352af9(0x325)]['interceptor'][_0x352af9(0x241)]()[_0x352af9(0x24e)])(_0x294cfc[_0x352af9(0x41d)],null)||_0x294cfc[_0x352af9(0x41d)],_0x1d237d={..._0x294cfc,'mutations':_0x46e47d};this[_0x352af9(0x475)](),this[_0x352af9(0x4f3)](this[_0x352af9(0x20f)][_0x352af9(0x1c5)](_0x1d237d)),this[_0x352af9(0x176)]();}[_0x1cc768(0x1be)](_0x497973){const _0xdb286a=_0x1cc768;this[_0xdb286a(0x475)](),this[_0xdb286a(0x4f3)](this[_0xdb286a(0x20f)]['onRemoteAck'](_0x497973)),this['_unlockTransition']();}[_0x1cc768(0x2a5)](_0x97dcf1){const _0x3a3712=_0x1cc768;this['_lockTransition'](),this[_0x3a3712(0x4f3)](this[_0x3a3712(0x20f)][_0x3a3712(0x55e)](_0x97dcf1)),this['_unlockTransition']();}[_0x1cc768(0x1b4)](_0x9e0e0){const _0x514393=_0x1cc768;this[_0x514393(0x475)](),this[_0x514393(0x4f3)](this[_0x514393(0x20f)][_0x514393(0x5a2)](_0x9e0e0)),this['_unlockTransition']();}['_onFetchMissResult'](_0x378cf9){const _0x644e7c=_0x1cc768;if(!(this['_state']instanceof re))throw new TypeError(_0x644e7c(0x18b));const _0x50a552=_0x378cf9[_0x644e7c(0x130)](_0x3747ac=>{const _0x379950=_0x644e7c,_0x38137d=this[_0x379950(0x325)]['interceptor'][_0x379950(0x431)](this[_0x379950(0x325)]['interceptor'][_0x379950(0x241)]()['COMPRESS_MUTATION_APPLY'])(_0x3747ac[_0x379950(0x41d)],null)||_0x3747ac[_0x379950(0x41d)];return{..._0x3747ac,'mutations':_0x38137d};});this[_0x644e7c(0x475)](),this[_0x644e7c(0x4f3)](this[_0x644e7c(0x20f)][_0x644e7c(0x574)](_0x50a552)),this[_0x644e7c(0x176)]();}[_0x1cc768(0x5ce)](){const _0x5587bd=_0x1cc768;this['_lockTransition'](),this[_0x5587bd(0x4f3)](this[_0x5587bd(0x20f)][_0x5587bd(0x3b4)]()),this[_0x5587bd(0x176)]();}[_0x1cc768(0x5ab)](_0x3cc07d=!0x1){const _0xe618fa=_0x1cc768;this['_lockTransition'](),this[_0xe618fa(0x4f3)](this['_state'][_0xe618fa(0x16a)]()),this[_0xe618fa(0x176)]();const _0x16a1f3=this[_0xe618fa(0x20f)];_0x3cc07d&&_0x16a1f3 instanceof Oe&&(this[_0xe618fa(0x475)](),this[_0xe618fa(0x4f3)](_0x16a1f3[_0xe618fa(0x1fe)]()),this['_unlockTransition']());}async[_0x1cc768(0x58c)](){return new Promise(_0x30bf03=>{const _0x4b52d6=_0x3a60;this['session'][_0x4b52d6(0x272)][_0x4b52d6(0x154)](A[_0x4b52d6(0x459)](0x1))['subscribe'](async _0x40c93b=>{const _0x1eb600=_0x4b52d6;_0x30bf03(await this[_0x1eb600(0x3f1)](_0x40c93b===se['ONLINE']));});});}[_0x1cc768(0x259)](){const _0x5e18d7=_0x1cc768,_0x2f5665=this[_0x5e18d7(0x4ed)];return{'onStateChange':(_0x10c5c0,_0xb41088)=>{const _0x5d0110=_0x5e18d7;if(_0x10c5c0!==this[_0x5d0110(0x20f)])throw new Error(_0x5d0110(0x39e)+_0x10c5c0[_0x5d0110(0x2c7)]+_0x5d0110(0x4a6)+_0xb41088[_0x5d0110(0x2c7)]+_0x5d0110(0x30f)+this[_0x5d0110(0x20f)][_0x5d0110(0x2c7)]);this[_0x5d0110(0x4f3)](_0xb41088);},'onSendChangeset':_0x3a8711=>{const _0x47b6c9=_0x5e18d7;_0x3a8711[_0x47b6c9(0x1f5)]||(_0x3a8711['sid']=this[_0x47b6c9(0x4b1)],_0x3a8711[_0x47b6c9(0x213)]=++this[_0x47b6c9(0x3ea)]);const _0x2a2be1={'eventID':p[_0x47b6c9(0x59c)][_0x47b6c9(0x54a)],'data':{'unitID':_0x3a8711[_0x47b6c9(0x4ed)],'unitType':this['_type'],'changeset':_0x3a8711,'memberID':this[_0x47b6c9(0x4fb)][_0x47b6c9(0x519)]()}};this['session'][_0x47b6c9(0x48e)](_0x2a2be1,this[_0x47b6c9(0x4ed)]);},'onMissingChangesets':({from:_0x40c4eb,to:_0x241b02})=>{const _0x29b325=_0x5e18d7;this[_0x29b325(0x10c)][_0x29b325(0x157)](_0x29b325(0x483),_0x29b325(0x1f4)+_0x40c4eb+_0x29b325(0x561)+_0x241b02);const _0x1ab187={'eventID':p['CollaborationEvent'][_0x29b325(0x52c)],'data':{'unitID':_0x2f5665,'unitType':this[_0x29b325(0x462)],'from':_0x40c4eb,'to':_0x241b02}};this[_0x29b325(0x4fb)][_0x29b325(0x48e)](_0x1ab187,this['unitID']);}};}async['_createInitialStateImpl'](_0x586a03){const _0x54b9ca=_0x1cc768;var _0x1a2adf,_0xd9fea7;const _0x31ff04=await this[_0x54b9ca(0x3f3)][_0x54b9ca(0x5ca)](this['unitID']),_0xf3b5df=(_0x1a2adf=_0x31ff04==null?void 0x0:_0x31ff04[_0x54b9ca(0x41d)])!=null?_0x1a2adf:[],_0x5ec521=(_0xd9fea7=_0x31ff04==null?void 0x0:_0x31ff04[_0x54b9ca(0x54e)])!=null?_0xd9fea7:null,_0x44846a=!!(_0x5ec521!=null&&_0x5ec521[_0x54b9ca(0x1f5)])&&!!(_0x5ec521!=null&&_0x5ec521[_0x54b9ca(0x213)]);this[_0x54b9ca(0x4b1)]=_0x44846a?_0x5ec521[_0x54b9ca(0x1f5)]:In(),this[_0x54b9ca(0x3ea)]=_0x44846a?_0x5ec521[_0x54b9ca(0x213)]:0x0;const _0x18f218=this[_0x54b9ca(0x4ed)];try{this[_0x54b9ca(0x445)](_0x5ec521,_0xf3b5df);}catch(_0x537949){this['_logService'][_0x54b9ca(0x1c4)](_0x537949);}const _0x242317=this[_0x54b9ca(0x259)]();if(_0x586a03){const _0x4f3c86=gi(this[_0x54b9ca(0x310)],_0x18f218,this[_0x54b9ca(0x462)],_0x5ec521,_0xf3b5df,_0x242317);return _0x4f3c86 instanceof ce?_0x4f3c86['_schedule']():(_0x4f3c86 instanceof le||_0x4f3c86 instanceof fe)&&_0x4f3c86[_0x54b9ca(0x271)](),_0x4f3c86;}return this['_injector'][_0x54b9ca(0x30a)](Se,_0x18f218,this[_0x54b9ca(0x462)],_0x5ec521,_0xf3b5df,_0x242317);}[_0x1cc768(0x445)](_0x1549f0,_0x137aad){const _0x2d37bf=_0x1cc768;var _0x1dff90,_0x2ef551;const _0x4d302a=this[_0x2d37bf(0x325)]['interceptor'][_0x2d37bf(0x431)](this[_0x2d37bf(0x325)][_0x2d37bf(0x41f)][_0x2d37bf(0x241)]()[_0x2d37bf(0x24e)]);(_0x1dff90=_0x4d302a((_0x1549f0==null?void 0x0:_0x1549f0[_0x2d37bf(0x41d)])||[],null))==null||_0x1dff90[_0x2d37bf(0x380)](_0x2431a1=>this[_0x2d37bf(0x134)][_0x2d37bf(0x3f8)](_0x2431a1['id'],_0x2431a1[_0x2d37bf(0x530)])),(_0x2ef551=_0x4d302a(_0x137aad||[],null))==null||_0x2ef551[_0x2d37bf(0x380)](_0x24b382=>this['_commandService']['executeCommand'](_0x24b382['id'],_0x24b382['params']));}},exports[_0x1cc768(0x389)]=Ot([H(0x3,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),H(0x4,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),H(0x5,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x2e2)])),H(0x6,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)])),H(0x7,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)])),H(0x8,a['ILogService']),H(0x9,a['ICommandService']),H(0xa,te['IMessageService']),H(0xb,a[_0x1cc768(0x42c)]),H(0xc,a[_0x1cc768(0x1f2)](ze))],exports[_0x1cc768(0x389)]),exports['DocCollaborationEntity']=class extends exports[_0x1cc768(0x389)]{constructor(_0x480afe,_0x69fa0f,_0x168181,_0x322096,_0x2888ea,_0x31c4ec,_0x156666,_0x50f943,_0x25cf26,_0x14ca16,_0x4533c2,_0x4576bc,_0x3afa8d,_0x355416,_0x1e5f9d,_0x40a53f,_0x42fdcd,_0xf196cb){const _0x44286b=_0x1cc768;super(_0x480afe,_0x168181,_0x69fa0f,_0x322096,_0x2888ea,_0x31c4ec,_0x156666,_0x50f943,_0x355416,_0x1e5f9d,_0x40a53f,_0x42fdcd,_0xf196cb),this[_0x44286b(0x4ed)]=_0x480afe,this[_0x44286b(0x398)]=_0x69fa0f,this['_docStateChangeManagerService']=_0x25cf26,this['_docTransformIMECacheService']=_0x14ca16,this[_0x44286b(0x476)]=_0x4533c2,this[_0x44286b(0x536)]=_0x4576bc,this['_docSyncEditingCollabCursorService']=_0x3afa8d;}[_0x1cc768(0x259)](){const _0x407bd7=_0x1cc768,_0x4c814b=super[_0x407bd7(0x259)]();return _0x4c814b[_0x407bd7(0x174)]=_0x5806b4=>this[_0x407bd7(0x453)][_0x407bd7(0x508)](_0x5806b4),_0x4c814b[_0x407bd7(0x487)]=_0x477ee6=>this[_0x407bd7(0x476)][_0x407bd7(0x404)](_0x477ee6),_0x4c814b[_0x407bd7(0x1d1)]=_0x1a1e65=>this[_0x407bd7(0x536)][_0x407bd7(0x1c6)](_0x1a1e65),_0x4c814b[_0x407bd7(0x529)]=_0x21ffbb=>this['_docSyncEditingCollabCursorService'][_0x407bd7(0x549)](_0x21ffbb),_0x4c814b[_0x407bd7(0x4c7)]=_0x429915=>this[_0x407bd7(0x453)][_0x407bd7(0x385)](_0x429915),_0x4c814b['onTransformRemoteChangesetByStateCache']=_0x2de389=>this[_0x407bd7(0x476)]['transformRemoteChangeset'](_0x2de389),_0x4c814b;}async[_0x1cc768(0x143)](){const _0x1bc21f=_0x1cc768,_0x4c9600=await super[_0x1bc21f(0x143)]();return this[_0x1bc21f(0x27e)](this['_docStateChangeManagerService'][_0x1bc21f(0x4ae)][_0x1bc21f(0x154)](A[_0x1bc21f(0x4cf)](this['dispose$']))['subscribe'](_0x59b347=>{const _0xfadcb6=_0x1bc21f;if(_0x59b347==null)return;const {unitId:_0x4ba585,redoState:_0x186918,commandId:_0x359346}=_0x59b347;if(_0x4ba585!==this['unitID'])return;const _0xe6b026={'id':_0x359346,'type':a[_0xfadcb6(0x302)][_0xfadcb6(0x17c)],'params':{'unitId':_0x4ba585,'actions':_0x186918[_0xfadcb6(0x554)],'textRanges':null}};this[_0xfadcb6(0x5c3)](_0xe6b026);})),this[_0x1bc21f(0x27e)](this[_0x1bc21f(0x134)][_0x1bc21f(0x15b)]((_0x45c3c4,_0x3ee8e1)=>{const _0x57705a=_0x1bc21f;if(_0x45c3c4[_0x57705a(0x398)]!==a[_0x57705a(0x302)]['MUTATION']||_0x3ee8e1!=null&&_0x3ee8e1['fromCollab']||_0x3ee8e1!=null&&_0x3ee8e1[_0x57705a(0x5d9)]||_0x45c3c4['id']===Ie['RichTextEditingMutation']['id'])return;const _0x175a85=_0x45c3c4[_0x57705a(0x530)];if((_0x175a85==null?void 0x0:_0x175a85[_0x57705a(0x2f1)])!==this[_0x57705a(0x4ed)])return;const _0x51b4d8=_0x45c3c4,_0xfb104c=this[_0x57705a(0x325)][_0x57705a(0x41f)]['fetchThroughInterceptors'](this[_0x57705a(0x325)][_0x57705a(0x41f)][_0x57705a(0x241)]()[_0x57705a(0x2bf)])([_0x51b4d8],null)||[_0x51b4d8];this[_0x57705a(0x5c3)](_0xfb104c[0x0]);})),_0x4c9600;}},exports['DocCollaborationEntity']=Ot([H(0x3,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),H(0x4,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),H(0x5,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x2e2)])),H(0x6,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)])),H(0x7,a['Inject'](p[_0x1cc768(0x3e1)])),H(0x8,a[_0x1cc768(0x2ca)](J[_0x1cc768(0x17a)])),H(0x9,a[_0x1cc768(0x2ca)](Be)),H(0xa,a[_0x1cc768(0x2ca)](We)),H(0xb,a[_0x1cc768(0x2ca)](Fe)),H(0xc,a[_0x1cc768(0x2ca)](yt)),H(0xd,a['ILogService']),H(0xe,a[_0x1cc768(0x11f)]),H(0xf,te[_0x1cc768(0x1e5)]),H(0x10,a[_0x1cc768(0x42c)]),H(0x11,a['Optional'](ze))],exports['DocCollaborationEntity']),exports[_0x1cc768(0x51b)]=class extends exports[_0x1cc768(0x389)]{constructor(_0xf2a38b,_0x40c257,_0x464a50,_0x4622b2,_0x3be90f,_0x2f9115,_0x1bd0c4,_0x423271,_0x580284,_0x1fcb45,_0x707802,_0xe30df3,_0x13e152,_0x526f23){const _0x450184=_0x1cc768;super(_0xf2a38b,_0x464a50,_0x40c257,_0x4622b2,_0x3be90f,_0x2f9115,_0x1bd0c4,_0x423271,_0x1fcb45,_0x707802,_0xe30df3,_0x13e152,_0x526f23),this[_0x450184(0x4ed)]=_0xf2a38b,this[_0x450184(0x398)]=_0x40c257,this[_0x450184(0x481)]=_0x580284;}[_0x1cc768(0x259)](){const _0x405630=_0x1cc768,_0x7c0a34=super[_0x405630(0x259)]();return _0x7c0a34['onTransformSelections']=_0x3dea69=>this['_sheetTransformSelectionsService'][_0x405630(0x1c6)](_0x3dea69),_0x7c0a34;}async[_0x1cc768(0x143)](){const _0x2b59e9=_0x1cc768,_0x5a86d5=await super[_0x2b59e9(0x143)]();return this[_0x2b59e9(0x27e)](this[_0x2b59e9(0x134)][_0x2b59e9(0x15b)]((_0x689b6b,_0x4077cf)=>{const _0x790d8=_0x2b59e9;if(_0x689b6b['type']!==a['CommandType'][_0x790d8(0x17c)]||_0x4077cf!=null&&_0x4077cf['fromCollab']||_0x4077cf!=null&&_0x4077cf['onlyLocal'])return;const _0x199381=_0x689b6b[_0x790d8(0x530)];if((_0x199381==null?void 0x0:_0x199381[_0x790d8(0x2f1)])!==this[_0x790d8(0x4ed)])return;const _0x222248=_0x689b6b,_0x31550f=this[_0x790d8(0x325)][_0x790d8(0x41f)][_0x790d8(0x431)](this[_0x790d8(0x325)][_0x790d8(0x41f)][_0x790d8(0x241)]()[_0x790d8(0x2bf)])([_0x222248],null)||[_0x222248];this['_onLocalMutation'](_0x31550f[0x0]);})),_0x5a86d5;}},exports[_0x1cc768(0x51b)]=Ot([H(0x3,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),H(0x4,a[_0x1cc768(0x2ca)](exports['LocalCacheService'])),H(0x5,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x2e2)])),H(0x6,a[_0x1cc768(0x2ca)](a['LocaleService'])),H(0x7,a[_0x1cc768(0x2ca)](p['RevisionService'])),H(0x8,a['Inject'](ke)),H(0x9,a[_0x1cc768(0x1a0)]),H(0xa,a[_0x1cc768(0x11f)]),H(0xb,te[_0x1cc768(0x1e5)]),H(0xc,a[_0x1cc768(0x42c)]),H(0xd,a[_0x1cc768(0x1f2)](ze))],exports[_0x1cc768(0x51b)]);var Yn=Object['defineProperty'],Kn=Object[_0x1cc768(0x263)],qn=(_0x440cd9,_0x12336b,_0x549627,_0x59d6c5)=>{const _0x2a4df0=_0x1cc768;for(var _0x5ad8cc=_0x59d6c5>0x1?void 0x0:_0x59d6c5?Kn(_0x12336b,_0x549627):_0x12336b,_0x3e3fd5=_0x440cd9[_0x2a4df0(0x31e)]-0x1,_0x1283e8;_0x3e3fd5>=0x0;_0x3e3fd5--)(_0x1283e8=_0x440cd9[_0x3e3fd5])&&(_0x5ad8cc=(_0x59d6c5?_0x1283e8(_0x12336b,_0x549627,_0x5ad8cc):_0x1283e8(_0x5ad8cc))||_0x5ad8cc);return _0x59d6c5&&_0x5ad8cc&&Yn(_0x12336b,_0x549627,_0x5ad8cc),_0x5ad8cc;},it=(_0x1961d4,_0x5d4c83)=>(_0x466072,_0x4fe537)=>_0x5d4c83(_0x466072,_0x4fe537,_0x1961d4);exports[_0x1cc768(0x38c)]=class extends a[_0x1cc768(0x35a)]{constructor(_0x2dd568,_0x50f5d2,_0x3c9518){const _0xa43da1=_0x1cc768;super(),I(this,_0xa43da1(0x181),new Map()),I(this,_0xa43da1(0x522),new A[(_0xa43da1(0x3f0))]()),(this[_0xa43da1(0x310)]=_0x2dd568,this[_0xa43da1(0x287)]=_0x50f5d2,this[_0xa43da1(0x114)]=_0x3c9518,this[_0xa43da1(0x143)]());}[_0x1cc768(0x14c)](){const _0x84067b=_0x1cc768;super['dispose'](),this['_entities']['forEach'](_0x530c6f=>_0x530c6f[_0x84067b(0x14c)]()),this[_0x84067b(0x181)]['clear']();}[_0x1cc768(0x23a)](_0x87e1d0){const _0xc77306=_0x1cc768;var _0x72cae9;return(_0x72cae9=this[_0xc77306(0x181)]['get'](_0x87e1d0))!=null?_0x72cae9:null;}['getCollabEntity$'](_0x47fd06){const _0x538fac=_0x1cc768,_0x245ef3=this[_0x538fac(0x23a)](_0x47fd06);return _0x245ef3?A['of'](_0x245ef3):this[_0x538fac(0x522)]['pipe'](V[_0x538fac(0x464)](_0x2df66b=>_0x2df66b[_0x538fac(0x4ed)]===_0x47fd06));}['_init'](){const _0xdeeb40=_0x1cc768;this[_0xdeeb40(0x114)][_0xdeeb40(0x5ac)](a[_0xdeeb40(0x1a7)][_0xdeeb40(0x452)])[_0xdeeb40(0x154)](A[_0xdeeb40(0x4cf)](this[_0xdeeb40(0x36e)]),V[_0xdeeb40(0x125)](0x10))[_0xdeeb40(0x556)](async _0x4945b2=>{const _0x4a642b=_0xdeeb40,_0x2da4ba=_0x4945b2[_0x4a642b(0x1f0)](),_0x5975fa=await this[_0x4a642b(0x352)](_0x2da4ba,ne[_0x4a642b(0x452)]);this[_0x4a642b(0x181)]['set'](_0x2da4ba,_0x5975fa);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0xdeeb40(0x1a7)][_0xdeeb40(0x408)])[_0xdeeb40(0x154)](A[_0xdeeb40(0x4cf)](this[_0xdeeb40(0x36e)]),V[_0xdeeb40(0x125)](0x10))[_0xdeeb40(0x154)](V[_0xdeeb40(0x464)](_0x3da6e2=>!_0x3da6e2['getUnitId']()[_0xdeeb40(0x2cb)]('__')))['subscribe'](async _0xd5d51c=>{const _0x46c564=_0xdeeb40,_0x3c3857=_0xd5d51c[_0x46c564(0x1f0)](),_0x1b2c72=await this[_0x46c564(0x352)](_0x3c3857,ne[_0x46c564(0x408)]);this['_entities'][_0x46c564(0x31f)](_0x3c3857,_0x1b2c72);}),A['merge'](this[_0xdeeb40(0x114)][_0xdeeb40(0x3c3)](a[_0xdeeb40(0x1a7)][_0xdeeb40(0x452)]),this['_univerInstanceService'][_0xdeeb40(0x3c3)](a[_0xdeeb40(0x1a7)][_0xdeeb40(0x408)]))[_0xdeeb40(0x154)](A[_0xdeeb40(0x4cf)](this[_0xdeeb40(0x36e)]))[_0xdeeb40(0x556)](_0x166d48=>{const _0x5a4f43=_0xdeeb40,_0x1679b6=_0x166d48[_0x5a4f43(0x1f0)](),_0x4dfb26=this[_0x5a4f43(0x181)]['get'](_0x1679b6);_0x4dfb26&&(_0x4dfb26[_0x5a4f43(0x14c)](),this[_0x5a4f43(0x181)]['delete'](_0x1679b6));});}async[_0x1cc768(0x352)](_0x1cfb8a,_0x17ed37){const _0x1bc380=_0x1cc768,_0x780908=await this[_0x1bc380(0x287)][_0x1bc380(0x186)](_0x1cfb8a),_0x36f49c=this['_injector'][_0x1bc380(0x30a)](this['_getCtorByUniverType'](_0x17ed37),_0x1cfb8a,_0x17ed37,_0x780908);return await _0x36f49c['init'](),this[_0x1bc380(0x522)][_0x1bc380(0x122)](_0x36f49c),_0x36f49c;}[_0x1cc768(0x166)](_0x102058){const _0x576392=_0x1cc768;switch(_0x102058){case ne['UNIVER_DOC']:return exports[_0x576392(0x35e)];case ne[_0x576392(0x452)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x576392(0x550)+_0x102058);}}},exports['CollaborationController']=qn([it(0x0,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),it(0x1,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x2e1)])),it(0x2,a[_0x1cc768(0x3bd)])],exports[_0x1cc768(0x38c)]);var zn=Object[_0x1cc768(0x244)],Xn=Object[_0x1cc768(0x263)],Jn=(_0x5b7e57,_0x1e8e48,_0x41a99c,_0x10816d)=>{const _0xce0896=_0x1cc768;for(var _0x320101=_0x10816d>0x1?void 0x0:_0x10816d?Xn(_0x1e8e48,_0x41a99c):_0x1e8e48,_0xd38c53=_0x5b7e57[_0xce0896(0x31e)]-0x1,_0x3e0744;_0xd38c53>=0x0;_0xd38c53--)(_0x3e0744=_0x5b7e57[_0xd38c53])&&(_0x320101=(_0x10816d?_0x3e0744(_0x1e8e48,_0x41a99c,_0x320101):_0x3e0744(_0x320101))||_0x320101);return _0x10816d&&_0x320101&&zn(_0x1e8e48,_0x41a99c,_0x320101),_0x320101;},Bt=(_0x2f2200,_0x3a4168)=>(_0x3d3ff5,_0x272c80)=>_0x3a4168(_0x3d3ff5,_0x272c80,_0x2f2200);let Ve=class extends a['RxDisposable']{constructor(_0x3c5af7,_0x32c87b){const _0x1003c0=_0x1cc768;super(),this[_0x1003c0(0x25f)]=_0x3c5af7,this[_0x1003c0(0x3a9)]=_0x32c87b,this[_0x1003c0(0x143)]();}[_0x1cc768(0x143)](){const _0x1fb60c=_0x1cc768,_0x5ad3af=this;this['disposeWithMe'](this[_0x1fb60c(0x25f)][_0x1fb60c(0x299)]({'onBeforePasteImage':async _0xb207a4=>{const _0xc6808b=_0x1fb60c,_0x323cbf=await _0x5ad3af[_0xc6808b(0x3a9)][_0xc6808b(0x3af)](_0xb207a4);return _0x323cbf?{'source':_0x323cbf[_0xc6808b(0x450)],'imageSourceType':_0x323cbf[_0xc6808b(0x163)]}:null;}}));}};Ve=Jn([Bt(0x0,J[_0x1cc768(0x353)]),Bt(0x1,ie[_0x1cc768(0x5a5)])],Ve);const kt=[_0x1cc768(0x3f7),_0x1cc768(0x3c1),'verdancy600',_0x1cc768(0x40f),'blue400',_0x1cc768(0x231)];class Dt extends a['Disposable']{constructor(){super(...arguments),I(this,'_assignedColors',new Map()),I(this,'_colorIndex',0x0);}[_0x1cc768(0x2ae)](_0xceb7c4){const _0x5e6d0e=_0x1cc768;if(this[_0x5e6d0e(0x44c)][_0x5e6d0e(0x50a)](_0xceb7c4))return this[_0x5e6d0e(0x44c)][_0x5e6d0e(0x4f7)](_0xceb7c4);const _0x3e513e=kt[this[_0x5e6d0e(0x315)]];return this[_0x5e6d0e(0x315)]=(this['_colorIndex']+0x1)%kt['length'],this[_0x5e6d0e(0x44c)]['set'](_0xceb7c4,_0x3e513e),_0x3e513e;}}var Zn=Object[_0x1cc768(0x244)],Qn=Object[_0x1cc768(0x263)],es=(_0x420dcd,_0x173dc5,_0x5c45d1,_0x28621d)=>{const _0x55fe19=_0x1cc768;for(var _0x25aba0=_0x28621d>0x1?void 0x0:_0x28621d?Qn(_0x173dc5,_0x5c45d1):_0x173dc5,_0x3a5141=_0x420dcd[_0x55fe19(0x31e)]-0x1,_0x3436af;_0x3a5141>=0x0;_0x3a5141--)(_0x3436af=_0x420dcd[_0x3a5141])&&(_0x25aba0=(_0x28621d?_0x3436af(_0x173dc5,_0x5c45d1,_0x25aba0):_0x3436af(_0x25aba0))||_0x25aba0);return _0x28621d&&_0x25aba0&&Zn(_0x173dc5,_0x5c45d1,_0x25aba0),_0x25aba0;},me=(_0x2736a8,_0x6a9acd)=>(_0x584c1c,_0x439389)=>_0x6a9acd(_0x584c1c,_0x439389,_0x2736a8);const ts=0x12c,is=0x64;let pt=class extends a['RxDisposable']{constructor(_0x43e8a5,_0x44dde2,_0x58b73a,_0x563768,_0x52e400,_0x1a0998,_0x11a98d,_0x3053f5,_0x497604){const _0x23599c=_0x1cc768;super(),I(this,_0x23599c(0x14a),!0x1),I(this,_0x23599c(0x143),!0x1),I(this,_0x23599c(0x4f8),new A['BehaviorSubject'](new Map())),I(this,'cursorInfo$',this[_0x23599c(0x4f8)]['asObservable']()),I(this,_0x23599c(0x131),new A['BehaviorSubject']([])),I(this,_0x23599c(0x1e4),this[_0x23599c(0x131)][_0x23599c(0x154)](A[_0x23599c(0x101)](ts))),I(this,'_updateLocalCursor',a[_0x23599c(0x1b9)](_0x452966=>{const _0x2bf00e=_0x23599c,_0x1b63a5={'eventID':p[_0x2bf00e(0x59c)][_0x2bf00e(0x59b)],'data':{'unitID':this[_0x2bf00e(0x4ed)],'memberID':this['_session']['getMemberID'](),'selection':Si(_0x452966)}};this[_0x2bf00e(0x15d)]['send'](_0x1b63a5,this[_0x2bf00e(0x4ed)]);},is)),(this[_0x23599c(0x4ed)]=_0x43e8a5,this[_0x23599c(0x15d)]=_0x44dde2,this[_0x23599c(0x310)]=_0x58b73a,this['_colorAssignService']=_0x563768,this[_0x23599c(0x222)]=_0x52e400,this[_0x23599c(0x1d7)]=_0x1a0998,this[_0x23599c(0x1fa)]=_0x11a98d,this['_univerInstanceService']=_0x3053f5,this['_commandService']=_0x497604);}get[_0x1cc768(0x5b0)](){const _0x1f1d09=_0x1cc768;return this[_0x1f1d09(0x4f8)][_0x1f1d09(0x3b3)]();}get[_0x1cc768(0x14f)](){const _0x549dcc=_0x1cc768;return this[_0x549dcc(0x131)]['getValue']();}[_0x1cc768(0x14c)](){const _0x48aac7=_0x1cc768;super[_0x48aac7(0x14c)](),this[_0x48aac7(0x4f8)][_0x48aac7(0x122)](new Map()),this[_0x48aac7(0x4f8)][_0x48aac7(0x4e2)](),this[_0x48aac7(0x131)][_0x48aac7(0x122)]([]),this['_roomMembers$']['complete']();}[_0x1cc768(0x518)](){const _0x447af6=_0x1cc768;this[_0x447af6(0x143)]||(this[_0x447af6(0x143)]=!0x0,this[_0x447af6(0x15d)][_0x447af6(0x272)]['pipe'](A[_0x447af6(0x4cf)](this[_0x447af6(0x36e)]))[_0x447af6(0x556)](_0x39c5b5=>{const _0x3b08e6=_0x447af6;_0x39c5b5===se[_0x3b08e6(0x586)]?this[_0x3b08e6(0x5ab)]():this[_0x3b08e6(0x5ce)]();}),this[_0x447af6(0x15d)][_0x447af6(0x3a0)][_0x447af6(0x154)](A[_0x447af6(0x4cf)](this['dispose$']))[_0x447af6(0x556)](_0x5afad3=>{const _0x3f1d5d=_0x447af6,_0x4d6544=_0x5afad3[_0x3f1d5d(0x1c1)];_0x4d6544===p[_0x3f1d5d(0x59c)][_0x3f1d5d(0x59b)]&&this[_0x3f1d5d(0x31b)](_0x5afad3),_0x4d6544===p[_0x3f1d5d(0x59c)]['USERS_LEAVE']&&this[_0x3f1d5d(0x4ad)](_0x5afad3);}),this[_0x447af6(0x27e)](this[_0x447af6(0x134)][_0x447af6(0x15b)](_0x524258=>{const _0x30b4da=_0x447af6,_0x12d0e3=_0x524258['params'];_0x12d0e3!=null&&this['_online']&&_0x524258['id']===Ie[_0x30b4da(0x326)]['id']&&_0x12d0e3['unitId']===this[_0x30b4da(0x4ed)]&&_0x12d0e3[_0x30b4da(0x151)]===!0x1&&_0x12d0e3[_0x30b4da(0x172)][_0x30b4da(0x31e)]>0x0&&this[_0x30b4da(0x391)](_0x12d0e3[_0x30b4da(0x172)]);})),this[_0x447af6(0x1d7)][_0x447af6(0x564)][_0x447af6(0x154)](A[_0x447af6(0x4cf)](this[_0x447af6(0x36e)]))[_0x447af6(0x556)](_0x75736d=>{const _0x97a966=_0x447af6;if((_0x75736d==null?void 0x0:_0x75736d[_0x97a966(0x4ed)])!==this[_0x97a966(0x4ed)])return;const _0xa0c0a4={'eventID':p[_0x97a966(0x59c)]['UPDATE_CURSOR'],'data':_0x75736d};this['_onCursorUpdate'](_0xa0c0a4);}),this[_0x447af6(0x27e)](this['_commandService'][_0x447af6(0x15b)](_0x4a212c=>{const _0x3d10b0=_0x447af6;if(_0x4a212c[_0x3d10b0(0x530)]==null)return;const _0x55b030=_0x4a212c[_0x3d10b0(0x530)];if(_0x4a212c['id']!==Ie[_0x3d10b0(0x2bb)]['id']||_0x55b030[_0x3d10b0(0x2f1)]!==this[_0x3d10b0(0x4ed)])return;const _0x4bca72={'id':_0x3d10b0(0x307),'params':_0x55b030},_0x357b05=this[_0x3d10b0(0x5b0)];for(const [_0x45f7d1,_0x4fe38d]of _0x357b05){const _0x42767d={'id':_0x3d10b0(0x307),'params':{'unitId':this[_0x3d10b0(0x4ed)],'actions':null,'textRanges':_0x4fe38d['ranges']}},_0x227459=this[_0x3d10b0(0x1fa)]['transformMutation'](_0x4bca72,_0x42767d,!0x1);if(p[_0x3d10b0(0x4b2)](_0x227459))throw _0x227459[_0x3d10b0(0x1c4)];_0x357b05[_0x3d10b0(0x31f)](_0x45f7d1,{..._0x4fe38d,'ranges':_0x227459[_0x3d10b0(0x247)][_0x3d10b0(0x530)][_0x3d10b0(0x4e6)]});}queueMicrotask(()=>{const _0x1a5c0a=_0x3d10b0;this[_0x1a5c0a(0x4f8)][_0x1a5c0a(0x122)](_0x357b05);});})));}[_0x1cc768(0x31b)](_0xf05e45){const _0xecdd4a=_0x1cc768;var _0x575564,_0x349ffb;const {memberID:_0x3bd12e,selection:_0x596f20}=_0xf05e45['data'],_0x259dc2=Ln(_0x596f20),_0x2f4dad=(_0x349ffb=(_0x575564=this[_0xecdd4a(0x222)][_0xecdd4a(0x1ed)](this[_0xecdd4a(0x4ed)],_0x3bd12e))==null?void 0x0:_0x575564['name'])!=null?_0x349ffb:_0xecdd4a(0x2f9),_0x39b60f={'color':this[_0xecdd4a(0x505)]['assignAColorForMemberID'](_0x3bd12e),'name':_0x2f4dad,'ranges':_0x259dc2},_0x3d79b7=this[_0xecdd4a(0x5b0)];_0x3d79b7['set'](_0x3bd12e,_0x39b60f),this[_0xecdd4a(0x4f8)][_0xecdd4a(0x122)](_0x3d79b7);}[_0x1cc768(0x4ad)](_0x3f8531){const _0x2f9d01=_0x1cc768,{memberID:_0x37b805}=_0x3f8531[_0x2f9d01(0x48a)],_0x454f76=this[_0x2f9d01(0x5b0)];_0x454f76[_0x2f9d01(0x24c)](_0x37b805),this['_cursorInfo$'][_0x2f9d01(0x122)](_0x454f76);}[_0x1cc768(0x5ab)](){const _0x52b012=_0x1cc768;var _0x32e2b7;if(this[_0x52b012(0x14a)]=!0x0,((_0x32e2b7=this[_0x52b012(0x114)][_0x52b012(0x55d)]())==null?void 0x0:_0x32e2b7['getUnitId']())!==this[_0x52b012(0x4ed)])return;const _0x17b268=this['_injector'][_0x52b012(0x4f7)](Ie[_0x52b012(0x516)])[_0x52b012(0x4d0)]();Array[_0x52b012(0x194)](_0x17b268)&&_0x17b268['length']>0x0&&this[_0x52b012(0x391)](_0x17b268);}[_0x1cc768(0x5ce)](){const _0x3061e6=_0x1cc768;this[_0x3061e6(0x14a)]=!0x1;}};pt=es([me(0x2,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),me(0x3,a[_0x1cc768(0x2ca)](Dt)),me(0x4,a['Inject'](exports[_0x1cc768(0x1a6)])),me(0x5,a[_0x1cc768(0x2ca)](yt)),me(0x6,p[_0x1cc768(0x48d)]),me(0x7,a[_0x1cc768(0x3bd)]),me(0x8,a[_0x1cc768(0x11f)])],pt);var ns=Object['defineProperty'],ss=Object[_0x1cc768(0x263)],rs=(_0x2f9559,_0xe596e8,_0x4f4aa9,_0x163c4f)=>{const _0x687f3=_0x1cc768;for(var _0x256c01=_0x163c4f>0x1?void 0x0:_0x163c4f?ss(_0xe596e8,_0x4f4aa9):_0xe596e8,_0x4f5a3a=_0x2f9559[_0x687f3(0x31e)]-0x1,_0x228982;_0x4f5a3a>=0x0;_0x4f5a3a--)(_0x228982=_0x2f9559[_0x4f5a3a])&&(_0x256c01=(_0x163c4f?_0x228982(_0xe596e8,_0x4f4aa9,_0x256c01):_0x228982(_0x256c01))||_0x256c01);return _0x163c4f&&_0x256c01&&ns(_0xe596e8,_0x4f4aa9,_0x256c01),_0x256c01;},Te=(_0x4863c2,_0x530cfe)=>(_0x59e609,_0x4dbb23)=>_0x530cfe(_0x59e609,_0x4dbb23,_0x4863c2);const os=0x12c,as=0x64,cs=()=>{let _0x2fb50f=[],_0x20c830=!0x1;return _0x330d55=>{const _0x30efad=_0x3a60;_0x2fb50f[_0x30efad(0x102)](_0x330d55),_0x20c830||(_0x20c830=!0x0,setTimeout(()=>{const _0xc33a87=_0x30efad;_0x2fb50f[_0xc33a87(0x380)](_0x2b5d65=>_0x2b5d65()),_0x2fb50f=[],_0x20c830=!0x1;}));};};let mt=class extends a[_0x1cc768(0x35a)]{constructor(_0x2b9900,_0x34f7c3,_0x1c7217,_0x3abc6b,_0x24fbfe,_0x4d7366,_0x5e7fa9,_0x43942a){const _0x3c8b5b=_0x1cc768;super(),I(this,_0x3c8b5b(0x14a),!0x1),I(this,_0x3c8b5b(0x143),!0x1),I(this,_0x3c8b5b(0x4f8),new A[(_0x3c8b5b(0x118))](new Map())),I(this,_0x3c8b5b(0x3e7),this[_0x3c8b5b(0x4f8)]['asObservable']()),I(this,_0x3c8b5b(0x131),new A[(_0x3c8b5b(0x118))]([])),I(this,'roomMembers$',this[_0x3c8b5b(0x131)][_0x3c8b5b(0x154)](A[_0x3c8b5b(0x101)](os))),I(this,_0x3c8b5b(0x391),a[_0x3c8b5b(0x1b9)]((_0x26339b,_0x585b0b)=>{const _0x26346b=_0x3c8b5b,_0x7f35fe={'eventID':p['CollaborationEvent'][_0x26346b(0x59b)],'data':{'unitID':this['unitID'],'memberID':this[_0x26346b(0x15d)]['getMemberID'](),'selection':Mt[_0x26346b(0x283)](_0x26339b,_0x585b0b[_0x26346b(0x22c)])}};this[_0x26346b(0x15d)]['send'](_0x7f35fe,this[_0x26346b(0x4ed)]);},as)),(this['unitID']=_0x2b9900,this[_0x3c8b5b(0x15d)]=_0x34f7c3,this['_injector']=_0x1c7217,this[_0x3c8b5b(0x505)]=_0x3abc6b,this['_memberService']=_0x24fbfe,this['_univerInstanceService']=_0x4d7366,this['_commandService']=_0x5e7fa9,this[_0x3c8b5b(0x437)]=_0x43942a);}get['cursorInfo'](){const _0x4a52a0=_0x1cc768;return this[_0x4a52a0(0x4f8)]['getValue']();}get[_0x1cc768(0x14f)](){const _0x48a282=_0x1cc768;return this[_0x48a282(0x131)][_0x48a282(0x3b3)]();}[_0x1cc768(0x14c)](){const _0x4231fa=_0x1cc768;super[_0x4231fa(0x14c)](),this[_0x4231fa(0x4f8)][_0x4231fa(0x122)](new Map()),this[_0x4231fa(0x4f8)]['complete'](),this[_0x4231fa(0x131)]['next']([]),this[_0x4231fa(0x131)]['complete']();}[_0x1cc768(0x518)](){const _0x9883ff=_0x1cc768;this[_0x9883ff(0x143)]||(this['_init']=!0x0,this[_0x9883ff(0x15d)][_0x9883ff(0x272)]['pipe'](A[_0x9883ff(0x4cf)](this[_0x9883ff(0x36e)]))[_0x9883ff(0x556)](_0x393a6b=>{const _0x14230c=_0x9883ff;_0x393a6b===se['ONLINE']?this[_0x14230c(0x5ab)]():this[_0x14230c(0x5ce)]();}),this['_session'][_0x9883ff(0x3a0)]['pipe'](A[_0x9883ff(0x4cf)](this[_0x9883ff(0x36e)]))[_0x9883ff(0x556)](_0x413e26=>{const _0x21ee74=_0x9883ff,_0x11a873=_0x413e26[_0x21ee74(0x1c1)];_0x11a873===p[_0x21ee74(0x59c)][_0x21ee74(0x59b)]&&this['_onCursorUpdate'](_0x413e26),_0x11a873===p[_0x21ee74(0x59c)][_0x21ee74(0x52f)]&&this[_0x21ee74(0x4ad)](_0x413e26);}),this[_0x9883ff(0x492)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x1af72c=>{const _0x1f7188=_0x9883ff;if(this[_0x1f7188(0x14a)]&&_0x1af72c['id']===k[_0x1f7188(0x4c3)]['id']&&_0x1af72c[_0x1f7188(0x530)][_0x1f7188(0x2f1)]===this[_0x1f7188(0x4ed)]){const _0x526aca=_0x1af72c[_0x1f7188(0x530)];this[_0x1f7188(0x391)](_0x526aca[_0x1f7188(0x291)],_0x526aca[_0x1f7188(0x49a)][0x0]);}})));}['_onCursorUpdate'](_0x2334a3){const _0x9f0f4=_0x1cc768;var _0x27a4f5,_0x140c18;const {memberID:_0x3fead9,selection:_0x318d32}=_0x2334a3[_0x9f0f4(0x48a)],{sheetName:_0x410ac5,range:_0x36f4fd}=Mt[_0x9f0f4(0x4e3)](_0x318d32),_0x2060c8={'name':(_0x140c18=(_0x27a4f5=this[_0x9f0f4(0x222)][_0x9f0f4(0x1ed)](this[_0x9f0f4(0x4ed)],_0x3fead9))==null?void 0x0:_0x27a4f5[_0x9f0f4(0x27c)])!=null?_0x140c18:_0x9f0f4(0x2f9),'range':this[_0x9f0f4(0x4ce)](_0x410ac5,_0x36f4fd),'sheetID':_0x410ac5,'color':this[_0x9f0f4(0x505)][_0x9f0f4(0x2ae)](_0x3fead9),'selection':_0x318d32},_0x4f4f46=this[_0x9f0f4(0x5b0)];_0x4f4f46[_0x9f0f4(0x31f)](_0x3fead9,_0x2060c8),this[_0x9f0f4(0x4f8)][_0x9f0f4(0x122)](_0x4f4f46);}[_0x1cc768(0x4ad)](_0x2efec1){const _0x24b9a7=_0x1cc768,{memberID:_0x224529}=_0x2efec1[_0x24b9a7(0x48a)],_0x51584c=this[_0x24b9a7(0x5b0)];_0x51584c['delete'](_0x224529),this[_0x24b9a7(0x4f8)]['next'](_0x51584c);}[_0x1cc768(0x4ce)](_0x5d1cd0,_0xf5a927){const _0x5b7559=_0x1cc768;var _0xffe094,_0x3d3769;const _0x52b426=(_0x3d3769=(_0xffe094=this[_0x5b7559(0x114)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0xffe094[_0x5b7559(0x14b)](_0x5d1cd0))==null?void 0x0:_0x3d3769[_0x5b7559(0x23c)]();return(_0x52b426==null?void 0x0:_0x52b426[_0x5b7559(0x4bd)](_0x531d7f=>a[_0x5b7559(0x395)][_0x5b7559(0x330)](_0x531d7f,_0xf5a927)))||_0xf5a927;}[_0x1cc768(0x492)](){const _0x7e790f=_0x1cc768,_0xb14d98=new a[(_0x7e790f(0x35d))](),_0x356014=cs(),_0x4914f7=()=>{const _0x3316de=_0x7e790f;_0xb14d98['dispose']();const _0x114c64=(_0x484411,_0x650a45,_0x34b3c4,_0x56d55c)=>{const _0x2cc639=_0x3a60;let _0x3d42c6=[];switch(_0x484411['id']){case k['EffectRefRangId'][_0x2cc639(0x468)]:{_0x3d42c6=k[_0x2cc639(0x168)](_0x484411,_0x56d55c);break;}case k['EffectRefRangId'][_0x2cc639(0x15f)]:{_0x3d42c6=k[_0x2cc639(0x5a7)](_0x484411,_0x56d55c);break;}case k[_0x2cc639(0x50d)][_0x2cc639(0x327)]:{_0x3d42c6=k[_0x2cc639(0x2be)](_0x484411,_0x56d55c);break;}case k[_0x2cc639(0x50d)][_0x2cc639(0x5d2)]:{_0x3d42c6=k[_0x2cc639(0x100)](_0x484411,_0x56d55c);break;}case k[_0x2cc639(0x50d)][_0x2cc639(0x1b7)]:{_0x3d42c6=k[_0x2cc639(0x264)](_0x484411,_0x56d55c);break;}case k['EffectRefRangId'][_0x2cc639(0x1f6)]:{_0x3d42c6=k[_0x2cc639(0x1d6)](_0x484411,_0x56d55c);break;}case k[_0x2cc639(0x50d)][_0x2cc639(0x58e)]:{_0x3d42c6=k[_0x2cc639(0x4b0)](_0x484411,_0x56d55c);break;}case k['EffectRefRangId'][_0x2cc639(0x270)]:{_0x3d42c6=k[_0x2cc639(0x467)](_0x484411,_0x56d55c);break;}case k[_0x2cc639(0x50d)][_0x2cc639(0x15c)]:{_0x3d42c6=k['handleIRemoveRow'](_0x484411,_0x56d55c);break;}}const _0x1bb114=k[_0x2cc639(0x349)](_0x3d42c6,_0x56d55c),_0xc2a468=this[_0x2cc639(0x5b0)][_0x2cc639(0x4f7)](_0x650a45);if(_0xc2a468&&_0x1bb114){const _0x36e3c2={..._0xc2a468,'range':_0x1bb114};this[_0x2cc639(0x5b0)][_0x2cc639(0x31f)](_0x650a45,_0x36e3c2),_0x356014(()=>{const _0x5a1625=_0x2cc639,_0x121174=this[_0x5a1625(0x437)]['registerRefRange'](_0x1bb114,_0x226fba=>(_0x121174[_0x5a1625(0x14c)](),_0x114c64(_0x226fba,_0x650a45,_0x34b3c4,_0x1bb114)));_0xb14d98[_0x5a1625(0x2dd)](_0x121174);});}return{'redos':[],'undos':[]};};this[_0x3316de(0x5b0)]['forEach']((_0x30f93d,_0x5a4d79)=>{const _0x45d490=_0x3316de,{range:_0x32b2f0,sheetID:_0x40fd73}=_0x30f93d,_0xb4c30=this['_refRangeService'][_0x45d490(0x2ed)](_0x32b2f0,_0x46efc5=>(_0xb4c30[_0x45d490(0x14c)](),_0x114c64(_0x46efc5,_0x5a4d79,_0x40fd73,_0x32b2f0)));_0xb14d98[_0x45d490(0x2dd)](_0xb4c30);});};this[_0x7e790f(0x27e)](a[_0x7e790f(0x329)](this['_cursorInfo$'][_0x7e790f(0x556)](()=>{_0x4914f7();})));}[_0x1cc768(0x5ab)](){const _0x14a79a=_0x1cc768;var _0x513069,_0x582065;if(this['_online']=!0x0,((_0x513069=this[_0x14a79a(0x114)]['getFocusedUnit']())==null?void 0x0:_0x513069[_0x14a79a(0x1f0)]())!==this[_0x14a79a(0x4ed)])return;const _0x432fca=(_0x582065=this['_injector'][_0x14a79a(0x4f7)](k['SheetsSelectionsService'])[_0x14a79a(0x1e1)]())==null?void 0x0:_0x582065[0x0],_0x54c2ab=this['_univerInstanceService'][_0x14a79a(0x32c)](a[_0x14a79a(0x1a7)][_0x14a79a(0x452)])['getActiveSheet']();_0x432fca&&_0x54c2ab&&this[_0x14a79a(0x391)](_0x54c2ab[_0x14a79a(0x4ab)](),_0x432fca);}[_0x1cc768(0x5ce)](){const _0x2d9f01=_0x1cc768;this[_0x2d9f01(0x14a)]=!0x1;}};mt=rs([Te(0x2,a['Inject'](a[_0x1cc768(0x4d2)])),Te(0x3,a[_0x1cc768(0x2ca)](Dt)),Te(0x4,a[_0x1cc768(0x2ca)](exports['MemberService'])),Te(0x5,a[_0x1cc768(0x3bd)]),Te(0x6,a[_0x1cc768(0x11f)]),Te(0x7,a[_0x1cc768(0x2ca)](k[_0x1cc768(0x4c1)]))],mt);var ls=Object[_0x1cc768(0x244)],hs=Object[_0x1cc768(0x263)],_s=(_0x51b0ca,_0x10fa93,_0x5d91ea,_0x2ba673)=>{for(var _0x4e7b2a=_0x2ba673>0x1?void 0x0:_0x2ba673?hs(_0x10fa93,_0x5d91ea):_0x10fa93,_0x369dfa=_0x51b0ca['length']-0x1,_0x4c2fca;_0x369dfa>=0x0;_0x369dfa--)(_0x4c2fca=_0x51b0ca[_0x369dfa])&&(_0x4e7b2a=(_0x2ba673?_0x4c2fca(_0x10fa93,_0x5d91ea,_0x4e7b2a):_0x4c2fca(_0x4e7b2a))||_0x4e7b2a);return _0x2ba673&&_0x4e7b2a&&ls(_0x10fa93,_0x5d91ea,_0x4e7b2a),_0x4e7b2a;},nt=(_0x372926,_0x37a669)=>(_0x7afccf,_0x1df256)=>_0x37a669(_0x7afccf,_0x1df256,_0x372926);let De=class extends a[_0x1cc768(0x35a)]{constructor(_0x4b359c,_0x39a0d4,_0x4d0c6a){const _0x528065=_0x1cc768;super(),I(this,_0x528065(0x181),new Map()),I(this,_0x528065(0x522),new A[(_0x528065(0x3f0))]()),(this[_0x528065(0x114)]=_0x4b359c,this['_injector']=_0x39a0d4,this[_0x528065(0x287)]=_0x4d0c6a,this[_0x528065(0x143)]());}[_0x1cc768(0x14c)](){const _0x7ebf31=_0x1cc768;super['dispose'](),this[_0x7ebf31(0x522)][_0x7ebf31(0x4e2)](),this[_0x7ebf31(0x181)]['forEach'](_0x78a58b=>_0x78a58b[_0x7ebf31(0x14c)]());}[_0x1cc768(0x147)](_0x4769e4){const _0x414f8f=_0x1cc768;return this[_0x414f8f(0x181)][_0x414f8f(0x50a)](_0x4769e4)?this[_0x414f8f(0x181)][_0x414f8f(0x4f7)](_0x4769e4)[_0x414f8f(0x3e7)]:this['_entityInit$'][_0x414f8f(0x154)](A[_0x414f8f(0x464)](_0x2636e8=>_0x2636e8['unitID']===_0x4769e4),A['switchMap'](_0x559fdf=>_0x559fdf[_0x414f8f(0x3e7)]));}[_0x1cc768(0x143)](){const _0x1f87de=_0x1cc768;this[_0x1f87de(0x114)][_0x1f87de(0x5ac)](a[_0x1f87de(0x1a7)][_0x1f87de(0x452)])[_0x1f87de(0x154)](A[_0x1f87de(0x4cf)](this[_0x1f87de(0x36e)]))[_0x1f87de(0x556)](async _0x934ef=>{const _0x189ad7=_0x1f87de,_0x2d339a=_0x934ef[_0x189ad7(0x1f0)](),_0xd7fd4=await this['_startSheetCollabCursor'](_0x2d339a);this[_0x189ad7(0x522)][_0x189ad7(0x122)](_0xd7fd4),this[_0x189ad7(0x181)][_0x189ad7(0x31f)](_0x2d339a,_0xd7fd4);}),this['_univerInstanceService'][_0x1f87de(0x5ac)](a['UniverInstanceType']['UNIVER_DOC'])['pipe'](A[_0x1f87de(0x4cf)](this[_0x1f87de(0x36e)]))[_0x1f87de(0x154)](A[_0x1f87de(0x464)](_0x598627=>!_0x598627['getUnitId']()[_0x1f87de(0x2cb)]('__')))['subscribe'](async _0x58085a=>{const _0x27c329=_0x1f87de,_0x260f01=_0x58085a[_0x27c329(0x1f0)](),_0x31ee07=await this['_startDocCollabCursor'](_0x260f01);this['_entityInit$'][_0x27c329(0x122)](_0x31ee07),this[_0x27c329(0x181)][_0x27c329(0x31f)](_0x260f01,_0x31ee07);}),A[_0x1f87de(0x57c)](this[_0x1f87de(0x114)]['getTypeOfUnitDisposed$'](a[_0x1f87de(0x1a7)][_0x1f87de(0x408)]),this[_0x1f87de(0x114)][_0x1f87de(0x3c3)](a[_0x1f87de(0x1a7)][_0x1f87de(0x452)]))[_0x1f87de(0x154)](A[_0x1f87de(0x4cf)](this[_0x1f87de(0x36e)]))[_0x1f87de(0x556)](_0x240cf2=>{const _0x4a7c7c=_0x1f87de,_0x134d85=_0x240cf2[_0x4a7c7c(0x1f0)](),_0x45279f=this[_0x4a7c7c(0x181)][_0x4a7c7c(0x4f7)](_0x134d85);_0x45279f&&(_0x45279f[_0x4a7c7c(0x14c)](),this[_0x4a7c7c(0x181)][_0x4a7c7c(0x24c)](_0x134d85));});}async['_startSheetCollabCursor'](_0x35ccab){const _0x2c7f1e=_0x1cc768,_0x3c5d7a=await this['_collabSessionService'][_0x2c7f1e(0x186)](_0x35ccab),_0xd699fd=this[_0x2c7f1e(0x310)][_0x2c7f1e(0x30a)](mt,_0x35ccab,_0x3c5d7a);return _0xd699fd[_0x2c7f1e(0x518)](),_0xd699fd;}async[_0x1cc768(0x1df)](_0x137884){const _0x580e52=_0x1cc768,_0x3939d2=await this[_0x580e52(0x287)]['requireSession'](_0x137884),_0x524d32=this[_0x580e52(0x310)][_0x580e52(0x30a)](pt,_0x137884,_0x3939d2);return _0x524d32[_0x580e52(0x518)](),_0x524d32;}};De=_s([nt(0x0,a[_0x1cc768(0x3bd)]),nt(0x1,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),nt(0x2,a['Inject'](exports['CollaborationSessionService']))],De);const Le=0x14,Wt=0xc8,st=0x4,us=0x5;function ds(_0x4eff5e,_0x28dddb){const _0x496f12=_0x1cc768;let {radius:_0x53516,width:_0x4a98be,height:_0x55a284}=_0x28dddb;_0x53516=_0x53516!=null?_0x53516:0x0,_0x4a98be=_0x4a98be!=null?_0x4a98be:0x1e,_0x55a284=_0x55a284!=null?_0x55a284:0x1e;let _0x3ca8d7=0x0,_0x42dd5b=0x0,_0x5e0832=0x0;_0x3ca8d7=_0x42dd5b=_0x5e0832=Math[_0x496f12(0x240)](_0x53516,_0x4a98be/0x2,_0x55a284/0x2),_0x4eff5e[_0x496f12(0x38d)](),_0x4eff5e['moveTo'](_0x3ca8d7,0x0),_0x4eff5e['lineTo'](_0x4a98be-_0x42dd5b,0x0),_0x4eff5e['arc'](_0x4a98be-_0x42dd5b,_0x42dd5b,_0x42dd5b,Math['PI']*0x3/0x2,0x0,!0x1),_0x4eff5e[_0x496f12(0x28a)](_0x4a98be,_0x55a284-_0x5e0832),_0x4eff5e[_0x496f12(0x32b)](_0x4a98be-_0x5e0832,_0x55a284-_0x5e0832,_0x5e0832,0x0,Math['PI']/0x2,!0x1),_0x4eff5e[_0x496f12(0x28a)](0x0,_0x55a284),_0x4eff5e['lineTo'](0x0,_0x3ca8d7),_0x4eff5e['arc'](_0x3ca8d7,_0x3ca8d7,_0x3ca8d7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4eff5e[_0x496f12(0x388)](),_0x28dddb['fill']&&(_0x4eff5e[_0x496f12(0x30b)](),_0x4eff5e[_0x496f12(0x235)]=_0x28dddb[_0x496f12(0x524)],_0x28dddb[_0x496f12(0x171)]==='evenodd'?_0x4eff5e[_0x496f12(0x524)]('evenodd'):_0x4eff5e['fill'](),_0x4eff5e[_0x496f12(0x447)]());}class Xe extends K[_0x1cc768(0x562)]{constructor(_0x1fbc3a,_0x4a1bf7){const _0x4e1fb1=_0x1cc768;super(_0x1fbc3a,_0x4a1bf7),I(this,_0x4e1fb1(0x2ef)),I(this,_0x4e1fb1(0x28e)),(this['color']=_0x4a1bf7==null?void 0x0:_0x4a1bf7[_0x4e1fb1(0x2ef)],this[_0x4e1fb1(0x28e)]=_0x4a1bf7==null?void 0x0:_0x4a1bf7[_0x4e1fb1(0x28e)]);}static[_0x1cc768(0x4e9)](_0x108246,_0xe26591){const _0x54cc7b=_0x1cc768,{text:_0x317c14,color:_0x1a33b1}=_0xe26591;_0x108246[_0x54cc7b(0x30b)](),_0x108246[_0x54cc7b(0x5b7)]=_0x54cc7b(0x4f9);const _0x23a439=_0x108246[_0x54cc7b(0x4ec)](_0x317c14)[_0x54cc7b(0x38e)],_0x1951eb=Math[_0x54cc7b(0x240)](_0x23a439+0x2*st,Wt);ds(_0x108246,{'height':Le,'radius':0x4,'width':_0x1951eb,'fill':_0x1a33b1,'evented':!0x1}),_0x108246[_0x54cc7b(0x235)]='#FFF';const _0x1ffe41=st,_0x303068=Le-us,_0xb4a171=Wt-0x2*st;if(_0x23a439>_0xb4a171){let _0x6286d7='',_0xe1fa20=0x0;for(const _0x51ded5 of _0x317c14){const _0xe22b96=_0x108246[_0x54cc7b(0x4ec)](_0x51ded5)[_0x54cc7b(0x38e)];if(_0xe1fa20+_0xe22b96<=_0xb4a171-_0x108246[_0x54cc7b(0x4ec)](_0x54cc7b(0x298))[_0x54cc7b(0x38e)])_0x6286d7+=_0x51ded5,_0xe1fa20+=_0xe22b96;else{_0x6286d7+='...';break;}}_0x108246[_0x54cc7b(0x42f)](_0x6286d7,_0x1ffe41,_0x303068);}else _0x108246['fillText'](_0x317c14,_0x1ffe41,_0x303068);_0x108246['restore']();}[_0x1cc768(0x2fe)](_0x15d33c){Xe['drawWith'](_0x15d33c,this);}}const rt=_0x1cc768(0x1ad),fs=_0x1cc768(0x233),vs=_0x1cc768(0x58b),Ue=0x6,Ss=1.5,ot=0x4,ps=1.5,ms=_0x1cc768(0x1e8);class Ft{constructor(_0xe5d6cc,_0x46da3b,_0x2f5837,_0x39f0c3){const _0x24fe24=_0x1cc768;I(this,_0x24fe24(0x1ae),[]),I(this,_0x24fe24(0x392),null),I(this,_0x24fe24(0x2ad),null),I(this,_0x24fe24(0x132),null),I(this,_0x24fe24(0x48f),null),I(this,_0x24fe24(0x1b3),null),(this[_0x24fe24(0x2a2)]=_0xe5d6cc,this[_0x24fe24(0x3cb)]=_0x46da3b,this[_0x24fe24(0x22e)]=_0x2f5837,this[_0x24fe24(0x40b)]=_0x39f0c3,this['_render']());}set[_0x1cc768(0x5bb)](_0x56574d){const _0x178289=_0x1cc768;_0x56574d?(this[_0x178289(0x132)]&&this[_0x178289(0x132)]['hide'](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x178289(0x132)]&&this[_0x178289(0x132)][_0x178289(0x242)](),this[_0x178289(0x2ad)]&&this[_0x178289(0x2ad)]['hide']());}['dispose'](){const _0x48bf24=_0x1cc768;for(const _0x32a53d of this[_0x48bf24(0x1ae)])_0x32a53d[_0x48bf24(0x14c)]();this[_0x48bf24(0x2ad)]&&this['_textBubble'][_0x48bf24(0x14c)](),this['_anchorDot']&&this[_0x48bf24(0x132)][_0x48bf24(0x14c)](),this[_0x48bf24(0x392)]&&this[_0x48bf24(0x392)][_0x48bf24(0x14c)](),this[_0x48bf24(0x1b3)]&&this[_0x48bf24(0x1b3)]();}['_render'](){const _0x1ee5e7=_0x1cc768;var _0x2b87c5;const {_docSkeleton:_0x14e0cd,_document:_0xe2ba35}=this,{color:_0x571d10,name:_0x8f1d07,ranges:_0x14b5ac}=this[_0x1ee5e7(0x2a2)],_0x551d84=_0xe2ba35['getOffsetConfig'](),{docsLeft:_0x4d92f0,docsTop:_0x5421ec}=_0x551d84,_0x5714c8=new J['NodePositionConvertToCursor'](_0x551d84,_0x14e0cd);for(const {startOffset:_0x34dd3b,endOffset:_0x36a143,rangeType:_0x425674,segmentId:_0x22d86d,segmentPage:_0x1b8c07,collapsed:_0x2a8cd8,isActive:_0x1b359e}of _0x14b5ac){const _0x897d79=_0x14e0cd[_0x1ee5e7(0x25c)](_0x34dd3b,!0x0,_0x22d86d,_0x1b8c07);let _0x3c34b4=_0x14e0cd['findNodePositionByCharIndex'](_0x36a143,!0x0,_0x22d86d,_0x1b8c07);if(_0x3c34b4==null&&(_0x3c34b4=_0x14e0cd[_0x1ee5e7(0x25c)](_0x36a143-0x1,!0x1,_0x22d86d,_0x1b8c07)),_0x1b359e){const {contentBoxPointGroup:_0x18e107}=_0x5714c8['getRangePointData'](_0x3c34b4,_0x3c34b4);if(_0x18e107[_0x1ee5e7(0x31e)]===0x0)continue;this[_0x1ee5e7(0x397)](_0x571d10,_0x18e107,_0x4d92f0,_0x5421ec,_0x8f1d07),this[_0x1ee5e7(0x1b3)]=this[_0x1ee5e7(0x237)]();}if(_0x897d79&&_0x3c34b4){if(_0x425674===a['DOC_RANGE_TYPE'][_0x1ee5e7(0x5a9)]){const _0x5b9fe0=new J['NodePositionConvertToRectRange'](_0x551d84,_0x14e0cd),{pointGroup:_0x51e92d}=(_0x2b87c5=_0x5b9fe0['getRangePointData'](_0x897d79,_0x3c34b4))!=null?_0x2b87c5:{};if(_0x51e92d==null||_0x51e92d[_0x1ee5e7(0x31e)]===0x0)continue;this[_0x1ee5e7(0x2a1)](_0x571d10,_0x51e92d,_0x4d92f0,_0x5421ec);}else{if(!_0x2a8cd8){const {borderBoxPointGroup:_0x3ede25}=_0x5714c8[_0x1ee5e7(0x1f3)](_0x897d79,_0x3c34b4);if(_0x3ede25['length']===0x0)continue;this['_drawTextRange'](_0x571d10,_0x3ede25,_0x4d92f0,_0x5421ec);}}}}}[_0x1cc768(0x397)](_0x2a057c,_0x217d86,_0x543dcd,_0x132e94,_0x169ad6){const _0x521689=_0x1cc768,_0x340292=this['_getAnchorBounding'](_0x217d86),{left:_0x29a3c1,top:_0x4b450e,height:_0x475e18}=_0x340292,_0x5ad313=this['_getScale'](),_0xc0be78=ps/_0x5ad313,_0x13f4b8=new K[(_0x521689(0x457))](rt+a[_0x521689(0x369)][_0x521689(0x390)](Ue),{'left':_0x29a3c1+_0x543dcd-_0xc0be78,'top':_0x4b450e+_0x132e94,'height':_0x475e18,'width':Ss,'fill':_0x2a057c||K[_0x521689(0x111)](a[_0x521689(0x4c4)][_0x521689(0x580)],0x0),'strokeWidth':_0xc0be78,'stroke':ms,'evented':!0x0});this['_anchor']=_0x13f4b8,this[_0x521689(0x3cb)][_0x521689(0x319)](_0x13f4b8,J[_0x521689(0x2e0)]);const _0x3092b8=new K[(_0x521689(0x457))](rt+a[_0x521689(0x369)][_0x521689(0x390)](Ue),{'left':_0x29a3c1+_0x543dcd-_0xc0be78,'top':_0x4b450e+_0x132e94-ot/0x2,'height':ot,'width':ot,'fill':_0x2a057c||K[_0x521689(0x111)](a['COLORS'][_0x521689(0x580)],0x0),'strokeWidth':0x0,'stroke':_0x2a057c||K[_0x521689(0x111)](a[_0x521689(0x4c4)]['black'],0x0),'evented':!0x1});this[_0x521689(0x132)]=_0x3092b8,this[_0x521689(0x3cb)][_0x521689(0x319)](_0x3092b8,J[_0x521689(0x2e0)]);const _0xf98ac7=new Xe(rt+a[_0x521689(0x369)][_0x521689(0x390)](Ue),{'left':_0x29a3c1+_0x543dcd-_0xc0be78,'top':_0x4b450e+_0x132e94-Le,'text':_0x169ad6,'color':_0x2a057c});this[_0x521689(0x2ad)]=_0xf98ac7,this[_0x521689(0x3cb)][_0x521689(0x319)](_0xf98ac7,J[_0x521689(0x2e0)]),this[_0x521689(0x5bb)]=!0x1;}[_0x1cc768(0x237)](){const _0x19509b=_0x1cc768,_0x1e2b8c=this[_0x19509b(0x392)][_0x19509b(0x57e)][_0x19509b(0x4d6)](()=>{const _0x43af7f=_0x19509b;this[_0x43af7f(0x5bb)]=!0x0;}),_0x326a5e=this[_0x19509b(0x392)][_0x19509b(0x2f0)][_0x19509b(0x4d6)](()=>{const _0x642a4d=_0x19509b;this[_0x642a4d(0x48f)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x4b1aab=_0x642a4d;this[_0x4b1aab(0x5bb)]=!0x1;},0x7d0);});return()=>{const _0x996721=_0x19509b;_0x1e2b8c[_0x996721(0x1ca)](),_0x326a5e[_0x996721(0x1ca)]();};}[_0x1cc768(0x3f4)](_0xb446f9,_0x5abf70,_0x5ec0e7,_0x5dbd69){const _0x4c7ee8=_0x1cc768,_0x494784=new a[(_0x4c7ee8(0x409))](_0xb446f9)['setAlpha'](0.2)[_0x4c7ee8(0x384)](),_0x4b5ddf=new K[(_0x4c7ee8(0x47d))](fs+a[_0x4c7ee8(0x369)][_0x4c7ee8(0x390)](Ue),{'pointsGroup':_0x5abf70,'fill':_0x494784||K[_0x4c7ee8(0x111)](a[_0x4c7ee8(0x4c4)]['black'],0.2),'left':_0x5ec0e7,'top':_0x5dbd69,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4c7ee8(0x1ae)][_0x4c7ee8(0x102)](_0x4b5ddf),this[_0x4c7ee8(0x3cb)][_0x4c7ee8(0x319)](_0x4b5ddf,J[_0x4c7ee8(0x2e0)]);}[_0x1cc768(0x2a1)](_0xb0c066,_0x4b328c,_0x1ebd26,_0x1f202b){const _0x255a71=_0x1cc768,_0x507886=new a[(_0x255a71(0x409))](_0xb0c066)[_0x255a71(0x249)](0.2)[_0x255a71(0x384)](),_0x7591f3=new K[(_0x255a71(0x47d))](vs+a[_0x255a71(0x369)]['generateRandomId'](Ue),{'pointsGroup':_0x4b328c,'fill':_0x507886||K[_0x255a71(0x111)](a['COLORS'][_0x255a71(0x580)],0.2),'left':_0x1ebd26,'top':_0x1f202b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x255a71(0x1ae)][_0x255a71(0x102)](_0x7591f3),this[_0x255a71(0x3cb)][_0x255a71(0x319)](_0x7591f3,J[_0x255a71(0x2e0)]);}[_0x1cc768(0x2fd)](_0x44473e){const _0x514bc0=_0x44473e[0x0],_0x19c246=_0x514bc0[0x0],_0x31265e=_0x514bc0[0x2],{x:_0x25d0cf,y:_0x7c7875}=_0x19c246,{x:_0xfd26f1,y:_0x1edf5f}=_0x31265e;return{'left':_0x25d0cf,'top':_0x7c7875,'width':_0xfd26f1-_0x25d0cf,'height':_0x1edf5f-_0x7c7875};}[_0x1cc768(0x339)](){const _0x12ab5c=_0x1cc768,{scaleX:_0x5f49d3,scaleY:_0x3934b1}=this[_0x12ab5c(0x3cb)][_0x12ab5c(0x142)]();return Math[_0x12ab5c(0x1a8)](_0x5f49d3,_0x3934b1);}}var gs=Object['defineProperty'],Is=Object[_0x1cc768(0x263)],Cs=(_0x2df127,_0x225c22,_0xb87fea,_0x36b73c)=>{for(var _0x2c166e=_0x36b73c>0x1?void 0x0:_0x36b73c?Is(_0x225c22,_0xb87fea):_0x225c22,_0x4ecaeb=_0x2df127['length']-0x1,_0x1daf70;_0x4ecaeb>=0x0;_0x4ecaeb--)(_0x1daf70=_0x2df127[_0x4ecaeb])&&(_0x2c166e=(_0x36b73c?_0x1daf70(_0x225c22,_0xb87fea,_0x2c166e):_0x1daf70(_0x2c166e))||_0x2c166e);return _0x36b73c&&_0x2c166e&&gs(_0x225c22,_0xb87fea,_0x2c166e),_0x2c166e;},je=(_0x2f655a,_0x311c82)=>(_0x606c49,_0x6869cd)=>_0x311c82(_0x606c49,_0x6869cd,_0x2f655a);let gt=class extends a[_0x1cc768(0x35a)]{constructor(_0x4f333a,_0x3eadf6,_0x5697a7,_0x2eb292,_0x1b0b12){const _0x3290b5=_0x1cc768;super(),I(this,_0x3290b5(0x346),[]),I(this,_0x3290b5(0x261),[]),(this[_0x3290b5(0x5c0)]=_0x4f333a,this[_0x3290b5(0x43a)]=_0x3eadf6,this[_0x3290b5(0x582)]=_0x5697a7,this[_0x3290b5(0x134)]=_0x2eb292,this[_0x3290b5(0x2ee)]=_0x1b0b12,this[_0x3290b5(0x143)]());}[_0x1cc768(0x143)](){const _0x32eb8b=_0x1cc768,_0x4b9571=this[_0x32eb8b(0x5c0)][_0x32eb8b(0x2f1)],_0x265875=this[_0x32eb8b(0x43a)];this[_0x32eb8b(0x27e)](A[_0x32eb8b(0x34f)]([this['_collabCursorController'][_0x32eb8b(0x147)](_0x4b9571),this['_themeService'][_0x32eb8b(0x1e2)]])[_0x32eb8b(0x154)](V['map'](([_0x37ba75,_0x10e1bb])=>({'skeleton':_0x265875[_0x32eb8b(0x1da)](),'cursors':[..._0x37ba75[_0x32eb8b(0x3c9)]()][_0x32eb8b(0x3fe)](_0x265e75=>({..._0x265e75,'color':_0x10e1bb[_0x265e75[_0x32eb8b(0x2ef)]]}))})))[_0x32eb8b(0x556)](_0x502ad9=>{const _0x5f533d=_0x32eb8b;if(this[_0x5f533d(0x3d2)](),_0x502ad9){const {skeleton:_0xa4a4a3,cursors:_0x27caa4}=_0x502ad9;this[_0x5f533d(0x355)](_0xa4a4a3,_0x27caa4);}})),this[_0x32eb8b(0x33d)](),this[_0x32eb8b(0x22a)]();}[_0x1cc768(0x355)](_0x4532f3,_0x2336d0){const _0x248da9=_0x1cc768,{scene:_0x254867,mainComponent:_0x1ca02e}=this['_context'],_0x225d0b=_0x2336d0['map'](_0x244923=>new Ft(_0x244923,_0x254867,_0x4532f3,_0x1ca02e));this['_cursorShapes']=_0x225d0b,this[_0x248da9(0x261)]=_0x2336d0;}[_0x1cc768(0x47e)](){const _0x3e3b1b=_0x1cc768;this[_0x3e3b1b(0x3d2)]();const {scene:_0x2293f1,mainComponent:_0x1bd200}=this[_0x3e3b1b(0x5c0)],_0x5df984=this['_docSkeletonManagerService'][_0x3e3b1b(0x1da)](),_0x2fd1ca=this[_0x3e3b1b(0x261)][_0x3e3b1b(0x130)](_0x1d6be1=>new Ft(_0x1d6be1,_0x2293f1,_0x5df984,_0x1bd200));this['_cursorShapes']=_0x2fd1ca;}['_removeCollabCursors'](){const _0x343185=_0x1cc768;this[_0x343185(0x346)][_0x343185(0x380)](_0xd2654d=>_0xd2654d[_0x343185(0x14c)]()),this['_cursorShapes']=[];}[_0x1cc768(0x22a)](){const _0x4db03b=_0x1cc768,_0x1b283a=[J['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x4db03b(0x134)][_0x4db03b(0x15b)](_0x1ff6c7=>{const _0x440b4a=_0x4db03b;_0x1b283a['includes'](_0x1ff6c7['id'])&&_0x1ff6c7['params'][_0x440b4a(0x2f1)]===this['_context'][_0x440b4a(0x2f1)]&&this[_0x440b4a(0x47e)]();}));}[_0x1cc768(0x33d)](){const _0x3d6a74=_0x1cc768;this[_0x3d6a74(0x27e)](a['fromEventSubject'](this['_context']['engine'][_0x3d6a74(0x439)])[_0x3d6a74(0x154)](V[_0x3d6a74(0x464)](_0x67207c=>_0x67207c[_0x3d6a74(0x398)]===K[_0x3d6a74(0x3ad)][_0x3d6a74(0x1f8)]),V[_0x3d6a74(0x183)](0x10))['subscribe'](()=>{const _0x17ad64=_0x3d6a74;this[_0x17ad64(0x47e)]();}));}};gt=Cs([je(0x1,a['Inject'](Ie[_0x1cc768(0x5ad)])),je(0x2,a[_0x1cc768(0x2ca)](De)),je(0x3,a[_0x1cc768(0x11f)]),je(0x4,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x3f6)]))],gt);const Es=0x1,bs=1.5;class Ii extends K[_0x1cc768(0x562)]{constructor(_0x13fba2,_0xe6cb37){const _0x1ad85d=_0x1cc768;super(_0x13fba2,_0xe6cb37),I(this,'_color'),I(this,_0x1ad85d(0x286),!0x1),I(this,_0x1ad85d(0x32a)),I(this,_0x1ad85d(0x417),''),I(this,_0x1ad85d(0x156),_0x1ad85d(0x13c)),I(this,_0x1ad85d(0x3d6)),(_0xe6cb37&&this['setShapeProps'](_0xe6cb37),this[_0x1ad85d(0x57e)][_0x1ad85d(0x4d6)](()=>this[_0x1ad85d(0x11e)]({'hovered':!0x0})),this[_0x1ad85d(0x2f0)][_0x1ad85d(0x4d6)](()=>this[_0x1ad85d(0x11e)]({'hovered':!0x1})));}['setShapeProps'](_0x487fe1){const _0x4c2192=_0x1cc768;var _0x311884,_0x377030,_0x32a501,_0x109b1e,_0x44194b,_0x5ac2e8;this[_0x4c2192(0x251)]=(_0x311884=_0x487fe1[_0x4c2192(0x2ef)])!=null?_0x311884:this[_0x4c2192(0x251)],this[_0x4c2192(0x286)]=(_0x377030=_0x487fe1[_0x4c2192(0x161)])!=null?_0x377030:this[_0x4c2192(0x286)],this[_0x4c2192(0x32a)]=(_0x32a501=_0x487fe1[_0x4c2192(0x22c)])!=null?_0x32a501:this[_0x4c2192(0x32a)],this['_name']=(_0x109b1e=_0x487fe1[_0x4c2192(0x27c)])!=null?_0x109b1e:this[_0x4c2192(0x417)],this['_labelPosition']=(_0x44194b=_0x487fe1[_0x4c2192(0x195)])!=null?_0x44194b:this['_labelPosition'],this[_0x4c2192(0x3d6)]=(_0x5ac2e8=_0x487fe1[_0x4c2192(0x5cd)])!=null?_0x5ac2e8:this[_0x4c2192(0x3d6)],this[_0x4c2192(0x58d)]({'width':_0x487fe1[_0x4c2192(0x38e)],'height':_0x487fe1[_0x4c2192(0x105)]});}[_0x1cc768(0x4ff)](_0x318699){const _0x54fc87=_0x1cc768,{row:_0x3253ca,column:_0x46b457}=_0x318699;if(_0x3253ca>=this[_0x54fc87(0x32a)][_0x54fc87(0x29d)]&&_0x3253ca<=this[_0x54fc87(0x32a)][_0x54fc87(0x27b)]&&_0x46b457>=this[_0x54fc87(0x32a)][_0x54fc87(0x557)]&&_0x46b457<=this[_0x54fc87(0x32a)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x54fc87(0x11e)]({'hovered':!0x1});}[_0x1cc768(0x537)](_0x3cbac6){return!0x1;}['_draw'](_0x4c43e7){const _0x3c971d=_0x1cc768;K[_0x3c971d(0x457)]['drawWith'](_0x4c43e7,{'width':this['width'],'height':this[_0x3c971d(0x105)],'strokeWidth':bs,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x3c971d(0x3d6)]}),this[_0x3c971d(0x286)]&&(_0x4c43e7[_0x3c971d(0x30b)](),_0x4c43e7[_0x3c971d(0x429)](0x1,0x0,0x0,0x1,this['width'],this[_0x3c971d(0x156)]===_0x3c971d(0x3ee)?0x0:-Le),Xe[_0x3c971d(0x4e9)](_0x4c43e7,{'text':this[_0x3c971d(0x417)],'color':this[_0x3c971d(0x251)]}),_0x4c43e7['restore']());}}var Ts=Object[_0x1cc768(0x244)],Rs=Object[_0x1cc768(0x263)],ys=(_0x1034fe,_0x1663c6,_0x3aca66,_0x4130ea)=>{const _0x56913e=_0x1cc768;for(var _0x38ac43=_0x4130ea>0x1?void 0x0:_0x4130ea?Rs(_0x1663c6,_0x3aca66):_0x1663c6,_0x17995c=_0x1034fe[_0x56913e(0x31e)]-0x1,_0x2828e4;_0x17995c>=0x0;_0x17995c--)(_0x2828e4=_0x1034fe[_0x17995c])&&(_0x38ac43=(_0x4130ea?_0x2828e4(_0x1663c6,_0x3aca66,_0x38ac43):_0x2828e4(_0x38ac43))||_0x38ac43);return _0x4130ea&&_0x38ac43&&Ts(_0x1663c6,_0x3aca66,_0x38ac43),_0x38ac43;},at=(_0x4570e6,_0x24988b)=>(_0x401e3f,_0x5ee029)=>_0x24988b(_0x401e3f,_0x5ee029,_0x4570e6);const Os=0x1389;let It=class extends a[_0x1cc768(0x35a)]{constructor(_0x328865,_0x3e8967,_0x27b83e,_0x251c0e){const _0x2a4bc6=_0x1cc768;super(),I(this,'_cursors',new Set()),I(this,_0x2a4bc6(0x256),null),(this[_0x2a4bc6(0x5c0)]=_0x328865,this[_0x2a4bc6(0x405)]=_0x3e8967,this[_0x2a4bc6(0x582)]=_0x27b83e,this[_0x2a4bc6(0x2ee)]=_0x251c0e,this[_0x2a4bc6(0x143)]());}[_0x1cc768(0x143)](){const _0x2728ae=_0x1cc768;this['_sheetSkeletonManagerService'][_0x2728ae(0x141)][_0x2728ae(0x154)](V[_0x2728ae(0x4cf)](this['dispose$']),V['switchMap'](_0x8f39ea=>{const _0x1d35b6=_0x2728ae;if(_0x8f39ea){const _0x3e2d70=_0x8f39ea[_0x1d35b6(0x4eb)];return A[_0x1d35b6(0x34f)](this[_0x1d35b6(0x582)][_0x1d35b6(0x147)](this[_0x1d35b6(0x5c0)][_0x1d35b6(0x2f1)]),this[_0x1d35b6(0x2ee)][_0x1d35b6(0x1e2)])['pipe'](V['map'](([_0x19b5bb,_0x36243b])=>{const _0xf103fc=_0x1d35b6,_0x1683ad=new Map();return _0x19b5bb[_0xf103fc(0x380)]((_0x18b116,_0x5dfa1c)=>{const _0x5dbd5d=_0xf103fc;if(_0x18b116[_0x5dbd5d(0x53a)]===_0x3e2d70){const _0x3bec2c={..._0x18b116};_0x3bec2c['color']=_0x36243b[_0x18b116[_0x5dbd5d(0x2ef)]],_0x1683ad['set'](_0x5dfa1c,_0x3bec2c);}}),{'skeleton':_0x8f39ea,'cursors':_0x1683ad};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x2728ae(0x556)](({skeleton:_0x3aa845,cursors:_0x3349aa})=>{this['_removeCollabCursors'](),_0x3aa845&&this['_updateCollabCursors'](_0x3aa845,_0x3349aa);}),this['_sheetSkeletonManagerService'][_0x2728ae(0x141)]['subscribe'](_0x12561d=>{const _0x25c8ec=_0x2728ae;if(_0x12561d==null)return;const {skeleton:_0x1650a9}=_0x12561d,{scene:_0x298111}=this[_0x25c8ec(0x5c0)];_0x298111[_0x25c8ec(0x3be)]['subscribeEvent'](a['debounce'](_0x39d3a8=>{const _0x5432ea=_0x25c8ec;var _0x239e60,_0x360162;const {offsetX:_0x4c2a37,offsetY:_0x23063d}=_0x39d3a8,{x:_0x3bf2c3,y:_0x107d73}=_0x298111[_0x5432ea(0x565)](K[_0x5432ea(0x214)]['FromArray']([_0x4c2a37,_0x23063d])),{scaleX:_0x4db5bd,scaleY:_0xc668c2}=_0x298111[_0x5432ea(0x142)](),_0x16f705=_0x298111[_0x5432ea(0x5d3)](ye[_0x5432ea(0x28f)]['VIEW_MAIN']),_0x1aec71=_0x298111['getVpScrollXYInfoByPosToVp'](K[_0x5432ea(0x214)][_0x5432ea(0x3b1)]([_0x3bf2c3,_0x107d73]),_0x16f705),_0x3dc15c=_0x1650a9[_0x5432ea(0x378)](_0x4c2a37,_0x23063d,_0x4db5bd,_0xc668c2,_0x1aec71);((_0x239e60=this[_0x5432ea(0x256)])==null?void 0x0:_0x239e60[_0x5432ea(0x3d7)])===_0x3dc15c[_0x5432ea(0x3d7)]&&((_0x360162=this[_0x5432ea(0x256)])==null?void 0x0:_0x360162['row'])===_0x3dc15c[_0x5432ea(0x3a4)]||this['_cursors']['forEach'](_0x2c1196=>{const _0x5a1e79=_0x5432ea;_0x2c1196[_0x5a1e79(0x4ff)](_0x3dc15c);});},0x64));});}[_0x1cc768(0x355)](_0x447393,_0x3d003f){const _0x49af31=_0x1cc768;var _0x140be5;const _0x2e96d5=(_0x140be5=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x140be5[_0x49af31(0x34a)];if(!_0x2e96d5)return;const _0x499ba8=this[_0x49af31(0x52d)]();if(!_0x499ba8)return;this['_cursors'][_0x49af31(0x380)](_0x153587=>{_0x153587['makeDirty']();});const {scene:_0x340dc6}=_0x499ba8,_0x41a10e=Ds(Array[_0x49af31(0x491)](_0x3d003f[_0x49af31(0x3c9)]()))[_0x49af31(0x130)](_0x560037=>{const {color:_0x4b5ea5,range:_0x27f2e1,name:_0x22ec84,selection:_0xf12005,sheetID:_0x130a88}=_0x560037,{startColumn:_0x55b221,startRow:_0x582f95,endColumn:_0x1df28d,endRow:_0x4cbded}=_0x27f2e1,_0x1702cf=ye['getCoordByCell'](_0x582f95,_0x55b221,_0x340dc6,_0x2e96d5),_0x4eec03=ye['getCoordByCell'](_0x4cbded,_0x1df28d,_0x340dc6,_0x2e96d5),{columnHeaderHeightAndMarginTop:_0x1bc33d}=_0x2e96d5,{startX:_0x39d836,startY:_0x1c6cad}=_0x1702cf,{endX:_0xd0806e,endY:_0x43281e}=_0x4eec03,_0xb9e5a9=_0xd0806e-_0x39d836,_0xa98f6d=_0x43281e-_0x1c6cad,_0x1b7f01={'labelPosition':_0x1c6cad-_0x1bc33d>=Le?'top':'bottom','sheetID':_0x130a88,'range':_0x27f2e1,'color':_0x4b5ea5,'name':_0x22ec84,'selection':_0xf12005,'left':_0x39d836,'top':_0x1c6cad,'width':_0xb9e5a9,'height':_0xa98f6d,'evented':!0x1,'zIndex':Os};return new Ii(_0x22ec84,_0x1b7f01);});_0x340dc6['addObjects'](_0x41a10e,Es),this[_0x49af31(0x261)]=new Set(_0x41a10e);}[_0x1cc768(0x3d2)](){const _0x4f7461=_0x1cc768;var _0xc81533;(_0xc81533=this[_0x4f7461(0x261)])==null||_0xc81533[_0x4f7461(0x380)](_0x244460=>_0x244460[_0x4f7461(0x14c)]());}[_0x1cc768(0x52d)](){const _0x3629b9=_0x1cc768;return ye[_0x3629b9(0x4b5)](this[_0x3629b9(0x5c0)][_0x3629b9(0x164)],this[_0x3629b9(0x5c0)]);}};function _0x3a60(_0x3732ce,_0x59d15b){const _0x4d1c53=_0x4d1c();return _0x3a60=function(_0x3a60c3,_0x166701){_0x3a60c3=_0x3a60c3-0xfd;let _0x3bb216=_0x4d1c53[_0x3a60c3];return _0x3bb216;},_0x3a60(_0x3732ce,_0x59d15b);}It=ys([at(0x1,a[_0x1cc768(0x2ca)](ye['SheetSkeletonManagerService'])),at(0x2,a[_0x1cc768(0x2ca)](De)),at(0x3,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x3f6)]))],It);function Ds(_0x490f55){const _0x3f9ffc=_0x1cc768,_0x21661d=new Map();return _0x490f55['forEach'](_0x43a886=>{const _0x5d4d0b=_0x3a60;if(_0x21661d['has'](_0x43a886[_0x5d4d0b(0x40a)])){const _0x1f2a0a=_0x21661d[_0x5d4d0b(0x4f7)](_0x43a886[_0x5d4d0b(0x40a)]);_0x1f2a0a[_0x5d4d0b(0x27c)]+=',\x20'+_0x43a886[_0x5d4d0b(0x27c)];}else _0x21661d[_0x5d4d0b(0x31f)](_0x43a886['selection'],_0x43a886);}),Array[_0x3f9ffc(0x491)](_0x21661d[_0x3f9ffc(0x3c9)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x4ddad4){const _0x412eb8=_0x1cc768;return _0x4ddad4&&_0x4ddad4['__esModule']&&Object[_0x412eb8(0x396)]['hasOwnProperty'][_0x412eb8(0x3a6)](_0x4ddad4,_0x412eb8(0x46c))?_0x4ddad4[_0x412eb8(0x46c)]:_0x4ddad4;}var Ci={'exports':{}},Je={},Ps=ae,ws=Symbol[_0x1cc768(0x5c9)]('react.element'),Us=Symbol[_0x1cc768(0x5c9)](_0x1cc768(0x4fd)),Ms=Object[_0x1cc768(0x396)][_0x1cc768(0x207)],As=Ps[_0x1cc768(0x460)][_0x1cc768(0x128)],Ns={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function Ei(_0x3e49df,_0x2f743b,_0x421c85){const _0x583b56=_0x1cc768;var _0x8024f8,_0x433f2e={},_0x32e489=null,_0x484311=null;_0x421c85!==void 0x0&&(_0x32e489=''+_0x421c85),_0x2f743b[_0x583b56(0x3ba)]!==void 0x0&&(_0x32e489=''+_0x2f743b[_0x583b56(0x3ba)]),_0x2f743b['ref']!==void 0x0&&(_0x484311=_0x2f743b[_0x583b56(0x502)]);for(_0x8024f8 in _0x2f743b)Ms[_0x583b56(0x3a6)](_0x2f743b,_0x8024f8)&&!Ns['hasOwnProperty'](_0x8024f8)&&(_0x433f2e[_0x8024f8]=_0x2f743b[_0x8024f8]);if(_0x3e49df&&_0x3e49df[_0x583b56(0x17d)]){for(_0x8024f8 in(_0x2f743b=_0x3e49df[_0x583b56(0x17d)],_0x2f743b))_0x433f2e[_0x8024f8]===void 0x0&&(_0x433f2e[_0x8024f8]=_0x2f743b[_0x8024f8]);}return{'$$typeof':ws,'type':_0x3e49df,'key':_0x32e489,'ref':_0x484311,'props':_0x433f2e,'_owner':As[_0x583b56(0x364)]};}Je[_0x1cc768(0x106)]=Us,Je[_0x1cc768(0x5c1)]=Ei,Je[_0x1cc768(0x4cc)]=Ei,Ci[_0x1cc768(0x2b9)]=Je;var ge=Ci[_0x1cc768(0x2b9)],ee=function(){const _0x1e7889=_0x1cc768;return ee=Object[_0x1e7889(0x322)]||function(_0x460c09){const _0x51c261=_0x1e7889;for(var _0x305a89,_0x502ddd=0x1,_0x44a2f0=arguments['length'];_0x502ddd<_0x44a2f0;_0x502ddd++){_0x305a89=arguments[_0x502ddd];for(var _0x5e5f98 in _0x305a89)Object[_0x51c261(0x396)][_0x51c261(0x207)][_0x51c261(0x3a6)](_0x305a89,_0x5e5f98)&&(_0x460c09[_0x5e5f98]=_0x305a89[_0x5e5f98]);}return _0x460c09;},ee[_0x1e7889(0x119)](this,arguments);},Ls=function(_0x202bc5,_0x5cf68f){const _0x31ffba=_0x1cc768;var _0x7031fd={};for(var _0x553886 in _0x202bc5)Object[_0x31ffba(0x396)]['hasOwnProperty'][_0x31ffba(0x3a6)](_0x202bc5,_0x553886)&&_0x5cf68f[_0x31ffba(0x4f4)](_0x553886)<0x0&&(_0x7031fd[_0x553886]=_0x202bc5[_0x553886]);if(_0x202bc5!=null&&typeof Object[_0x31ffba(0x58f)]=='function'){for(var _0x17da7c=0x0,_0x553886=Object[_0x31ffba(0x58f)](_0x202bc5);_0x17da7c<_0x553886[_0x31ffba(0x31e)];_0x17da7c++)_0x5cf68f[_0x31ffba(0x4f4)](_0x553886[_0x17da7c])<0x0&&Object[_0x31ffba(0x396)]['propertyIsEnumerable'][_0x31ffba(0x3a6)](_0x202bc5,_0x553886[_0x17da7c])&&(_0x7031fd[_0x553886[_0x17da7c]]=_0x202bc5[_0x553886[_0x17da7c]]);}return _0x7031fd;},Pt=ae[_0x1cc768(0x169)](function(_0x1c16bf,_0x56ac2f){const _0x307569=_0x1cc768;var _0x2d1cc3=_0x1c16bf[_0x307569(0x1af)],_0x7d00d5=_0x1c16bf['id'],_0x5f2c0d=_0x1c16bf[_0x307569(0x218)],_0x2d5217=_0x1c16bf[_0x307569(0x279)],_0x2fb52b=Ls(_0x1c16bf,[_0x307569(0x1af),'id',_0x307569(0x218),'extend']),_0x292709=_0x307569(0x581)[_0x307569(0x276)](_0x7d00d5,'\x20')[_0x307569(0x276)](_0x5f2c0d||'')['trim'](),_0x357480=ae['useRef']('_'['concat']($s()));return bi(_0x2d1cc3,''[_0x307569(0x276)](_0x7d00d5),{'defIds':_0x2d1cc3[_0x307569(0x1bf)],'idSuffix':_0x357480[_0x307569(0x364)]},ee({'ref':_0x56ac2f,'className':_0x292709},_0x2fb52b),_0x2d5217);});function bi(_0x2bbd71,_0x13d6f2,_0x1d51e6,_0x436d1b,_0x313e88){const _0xa8ff4a=_0x1cc768;return ae[_0xa8ff4a(0x121)](_0x2bbd71[_0xa8ff4a(0x266)],ee(ee({'key':_0x13d6f2},xs(_0x2bbd71,_0x1d51e6,_0x313e88)),_0x436d1b),(js(_0x2bbd71,_0x1d51e6)[_0xa8ff4a(0x416)]||[])[_0xa8ff4a(0x130)](function(_0x51155a,_0x1d9ccf){const _0x2750ca=_0xa8ff4a;return bi(_0x51155a,''[_0x2750ca(0x276)](_0x13d6f2,'-')[_0x2750ca(0x276)](_0x2bbd71[_0x2750ca(0x266)],'-')[_0x2750ca(0x276)](_0x1d9ccf),_0x1d51e6,void 0x0,_0x313e88);}));}function xs(_0xb3c177,_0x279cfb,_0x20b18e){const _0x1496c2=_0x1cc768;var _0x533f3c=ee({},_0xb3c177['attrs']);_0x20b18e!=null&&_0x20b18e[_0x1496c2(0x2ec)]&&_0x533f3c[_0x1496c2(0x524)]==='colorChannel1'&&(_0x533f3c[_0x1496c2(0x524)]=_0x20b18e[_0x1496c2(0x2ec)]);var _0x46ea71=_0x279cfb[_0x1496c2(0x1bf)];return!_0x46ea71||_0x46ea71[_0x1496c2(0x31e)]===0x0||(_0xb3c177[_0x1496c2(0x266)]===_0x1496c2(0x5be)&&_0x533f3c[_0x1496c2(0x29b)]&&(_0x533f3c[_0x1496c2(0x29b)]=_0x533f3c[_0x1496c2(0x29b)]+_0x279cfb[_0x1496c2(0x175)]),Object[_0x1496c2(0x599)](_0x533f3c)['forEach'](function(_0xf5bc5c){const _0x1f3a8f=_0x1496c2;var _0xd2ec4c=_0xf5bc5c[0x0],_0xf3e048=_0xf5bc5c[0x1];typeof _0xf3e048==_0x1f3a8f(0x103)&&(_0x533f3c[_0xd2ec4c]=_0xf3e048[_0x1f3a8f(0x583)](/url\(#(.*)\)/,_0x1f3a8f(0x436)[_0x1f3a8f(0x276)](_0x279cfb[_0x1f3a8f(0x175)],')')));})),_0x533f3c;}function js(_0x2efa8a,_0x433eac){const _0x3a9d9e=_0x1cc768;var _0x5cf049,_0xc2bb40=_0x433eac['defIds'];return!_0xc2bb40||_0xc2bb40[_0x3a9d9e(0x31e)]===0x0?_0x2efa8a:_0x2efa8a[_0x3a9d9e(0x266)]===_0x3a9d9e(0x21a)&&(!((_0x5cf049=_0x2efa8a['children'])===null||_0x5cf049===void 0x0)&&_0x5cf049[_0x3a9d9e(0x31e)])?ee(ee({},_0x2efa8a),{'children':_0x2efa8a[_0x3a9d9e(0x416)][_0x3a9d9e(0x130)](function(_0x111252){const _0x2bdeaa=_0x3a9d9e;return typeof _0x111252[_0x2bdeaa(0x320)]['id']==_0x2bdeaa(0x103)&&_0xc2bb40&&_0xc2bb40[_0x2bdeaa(0x4f4)](_0x111252[_0x2bdeaa(0x320)]['id'])>-0x1?ee(ee({},_0x111252),{'attrs':ee(ee({},_0x111252[_0x2bdeaa(0x320)]),{'id':_0x111252[_0x2bdeaa(0x320)]['id']+_0x433eac[_0x2bdeaa(0x175)]})}):_0x111252;})}):_0x2efa8a;}function $s(){const _0x927970=_0x1cc768;return Math[_0x927970(0x454)]()[_0x927970(0x3df)](0x24)[_0x927970(0x418)](0x2,0x8);}Pt['displayName']=_0x1cc768(0x152);var Hs={'tag':_0x1cc768(0x199),'attrs':{'fill':_0x1cc768(0x591),'viewBox':'0\x200\x2016\x2016','width':_0x1cc768(0x26c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1cc768(0x4fe)},'children':[{'tag':_0x1cc768(0x498),'attrs':{'stroke':_0x1cc768(0x358),'d':_0x1cc768(0x3a2),'strokeLinecap':_0x1cc768(0x2b5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1cc768(0x21a),'attrs':{},'children':[{'tag':_0x1cc768(0x489),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x1cc768(0x498),'attrs':{'fill':_0x1cc768(0x55f),'d':_0x1cc768(0x33b)}}]}]}],'defIds':[_0x1cc768(0x30d)]},Ti=ae['forwardRef'](function(_0x27d3bf,_0x3af5c8){const _0x1da00b=_0x1cc768;return ae[_0x1da00b(0x121)](Pt,Object[_0x1da00b(0x322)]({},_0x27d3bf,{'id':'off-line-single','ref':_0x3af5c8,'icon':Hs}));});Ti[_0x1cc768(0x173)]=_0x1cc768(0x2c1);var Bs={'tag':'svg','attrs':{'fill':_0x1cc768(0x591),'viewBox':_0x1cc768(0x19d),'width':'1em','height':_0x1cc768(0x26c)},'children':[{'tag':'g','attrs':{'clipPath':_0x1cc768(0x3ec)},'children':[{'tag':_0x1cc768(0x498),'attrs':{'stroke':_0x1cc768(0x358),'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':_0x1cc768(0x2b5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1cc768(0x21a),'attrs':{},'children':[{'tag':_0x1cc768(0x489),'attrs':{'id':_0x1cc768(0x356)},'children':[{'tag':'path','attrs':{'fill':_0x1cc768(0x55f),'d':_0x1cc768(0x33b),'transform':_0x1cc768(0x4aa)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Ri=ae['forwardRef'](function(_0x461b10,_0xad76fa){const _0x3a6c46=_0x1cc768;return ae[_0x3a6c46(0x121)](Pt,Object['assign']({},_0x461b10,{'id':_0x3a6c46(0x3fd),'ref':_0xad76fa,'icon':Bs}));});Ri[_0x1cc768(0x173)]=_0x1cc768(0x47f);function yi(_0x2b6889){const _0x59b1ed=_0x1cc768;var _0x4f4b47,_0x4175c9,_0x2054ae='';if(typeof _0x2b6889==_0x59b1ed(0x103)||typeof _0x2b6889==_0x59b1ed(0x37d))_0x2054ae+=_0x2b6889;else{if(typeof _0x2b6889==_0x59b1ed(0x21f)){if(Array[_0x59b1ed(0x194)](_0x2b6889)){var _0x1e03fe=_0x2b6889[_0x59b1ed(0x31e)];for(_0x4f4b47=0x0;_0x4f4b47<_0x1e03fe;_0x4f4b47++)_0x2b6889[_0x4f4b47]&&(_0x4175c9=yi(_0x2b6889[_0x4f4b47]))&&(_0x2054ae&&(_0x2054ae+='\x20'),_0x2054ae+=_0x4175c9);}else{for(_0x4175c9 in _0x2b6889)_0x2b6889[_0x4175c9]&&(_0x2054ae&&(_0x2054ae+='\x20'),_0x2054ae+=_0x4175c9);}}}return _0x2054ae;}function ks(){for(var _0x10663d,_0xee45cc,_0x1c1415=0x0,_0x3a2038='',_0x592298=arguments['length'];_0x1c1415<_0x592298;_0x1c1415++)(_0x10663d=arguments[_0x1c1415])&&(_0xee45cc=yi(_0x10663d))&&(_0x3a2038&&(_0x3a2038+='\x20'),_0x3a2038+=_0xee45cc);return _0x3a2038;}const Ws=_0x1cc768(0x16e),Fs=_0x1cc768(0x2ce),Vs=_0x1cc768(0x1dc),Gs='univer-online',Ys=_0x1cc768(0x4a7),Me={'onlineStatusIcon':Ws,'onlineStatusTitle':Fs,'onlineStatus':Vs,'online':Gs,'offline':Ys};function Ks(_0x21ced4){const _0x5bde04=_0x1cc768;switch(_0x21ced4){case q[_0x5bde04(0x1b1)]:return _0x5bde04(0x1bd);case q[_0x5bde04(0x357)]:return'collabStatus.conflict';case q['FETCH_MISS']:return _0x5bde04(0x36c);case q[_0x5bde04(0x3ef)]:return'collabStatus.notCollab';case q[_0x5bde04(0x127)]:case q[_0x5bde04(0x33f)]:return _0x5bde04(0x507);case q[_0x5bde04(0x53f)]:case q[_0x5bde04(0x3b9)]:return'collabStatus.synced';}}function Oi(_0x308b4d){const _0x4c63c8=_0x1cc768,{status$:_0x3f9a59}=_0x308b4d,_0x42a353=te['useObservable'](_0x3f9a59,q[_0x4c63c8(0x3ef)]),_0x3813c4=a[_0x4c63c8(0x341)](a[_0x4c63c8(0x33e)]),_0x1c25da=a[_0x4c63c8(0x341)](exports[_0x4c63c8(0x2e1)]),_0x4a4d89=_0x42a353!==q[_0x4c63c8(0x1b1)],_0x49fd45=_0x3813c4['t'](Ks(_0x42a353)),_0x17b11e=ks(Me[_0x4c63c8(0x30e)],{[Me[_0x4c63c8(0x3c6)]]:_0x4a4d89,[Me[_0x4c63c8(0x2a7)]]:!_0x4a4d89}),_0xa5a393=_0x4a4d89?ge[_0x4c63c8(0x5c1)](Ri,{}):ge['jsx'](Ti,{}),_0x2a4c42=ae[_0x4c63c8(0x1ec)](()=>{const _0x183290=_0x4c63c8;_0x4a4d89||_0x1c25da[_0x183290(0x421)]();},[_0x4a4d89,_0x1c25da]);function _0x351b63(){const _0x3a2d12=_0x4c63c8;return ge['jsxs']('div',{'className':_0x17b11e,'onClick':_0x2a4c42,'children':[ge['jsx'](_0x3a2d12(0x252),{'className':Me[_0x3a2d12(0x3dc)],'children':_0xa5a393}),ge[_0x3a2d12(0x5c1)](_0x3a2d12(0x252),{'className':Me['onlineStatusTitle'],'children':_0x49fd45})]});}return _0x4a4d89?_0x351b63():ge[_0x4c63c8(0x5c1)](Ce[_0x4c63c8(0x504)],{'title':_0x3813c4['t'](_0x4c63c8(0x44b)),'children':_0x351b63()});}var qs=Object[_0x1cc768(0x244)],zs=Object[_0x1cc768(0x263)],Xs=(_0x5d8556,_0x1a79ad,_0xfd1869,_0x5489a0)=>{for(var _0x36f971=_0x5489a0>0x1?void 0x0:_0x5489a0?zs(_0x1a79ad,_0xfd1869):_0x1a79ad,_0x3fb321=_0x5d8556['length']-0x1,_0x2d4245;_0x3fb321>=0x0;_0x3fb321--)(_0x2d4245=_0x5d8556[_0x3fb321])&&(_0x36f971=(_0x5489a0?_0x2d4245(_0x1a79ad,_0xfd1869,_0x36f971):_0x2d4245(_0x36f971))||_0x36f971);return _0x5489a0&&_0x36f971&&qs(_0x1a79ad,_0xfd1869,_0x36f971),_0x36f971;},$e=(_0x5ab572,_0x54338a)=>(_0x176753,_0x367c0a)=>_0x54338a(_0x176753,_0x367c0a,_0x5ab572);exports[_0x1cc768(0x382)]=class extends a[_0x1cc768(0x1c0)]{constructor(_0x4115c0,_0x3baade,_0x28c5ac,_0x2b6546){const _0x30a4cc=_0x1cc768;super(),I(this,_0x30a4cc(0x52a),new A[(_0x30a4cc(0x118))](q[_0x30a4cc(0x3ef)])),(this[_0x30a4cc(0x114)]=_0x4115c0,this['_uiPartsService']=_0x3baade,this[_0x30a4cc(0x310)]=_0x28c5ac,this[_0x30a4cc(0x31a)]=_0x2b6546,this[_0x30a4cc(0x1eb)](),this[_0x30a4cc(0x5b9)]());}[_0x1cc768(0x5b9)](){const _0x52289d=_0x1cc768;this[_0x52289d(0x27e)](this[_0x52289d(0x114)][_0x52289d(0xff)][_0x52289d(0x154)](A[_0x52289d(0x44f)](()=>{const _0x2e06ec=_0x52289d,_0x244fe8=this['_univerInstanceService'][_0x2e06ec(0x55d)]();return _0x244fe8?this[_0x2e06ec(0x31a)][_0x2e06ec(0x54b)](_0x244fe8[_0x2e06ec(0x1f0)]()):A['of'](null);}),A[_0x52289d(0x44f)](_0xd48905=>_0xd48905?_0xd48905[_0x52289d(0x495)]:A['of'](q[_0x52289d(0x3ef)])))['subscribe'](_0x1afaea=>{const _0x3bc0d3=_0x52289d;this[_0x3bc0d3(0x52a)]['next'](_0x1afaea);}));}[_0x1cc768(0x1eb)](){const _0xcdd940=_0x1cc768;this['disposeWithMe'](this['_uiPartsService'][_0xcdd940(0x435)](te[_0xcdd940(0x202)]['HEADER_MENU'],()=>a[_0xcdd940(0x45e)](Js({'status$':this[_0xcdd940(0x52a)][_0xcdd940(0x575)]()}),this[_0xcdd940(0x310)])));}},exports[_0x1cc768(0x382)]=Xs([$e(0x0,a[_0x1cc768(0x3bd)]),$e(0x1,te[_0x1cc768(0x40e)]),$e(0x2,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),$e(0x3,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x38c)]))],exports['DesktopCollaborationStatusDisplayController']);function Js(_0x39548f){const {status$:_0x4850b2}=_0x39548f;return function(){const _0x3c2715=_0x3a60;return ge[_0x3c2715(0x5c1)](Oi,{'status$':_0x4850b2});};}const wt=a[_0x1cc768(0x415)](_0x1cc768(0x274));var Zs=Object['defineProperty'],Qs=Object[_0x1cc768(0x263)],er=(_0x148a8a,_0x4190ff,_0x2299bd,_0x1d0007)=>{const _0x4625e9=_0x1cc768;for(var _0x1376c5=_0x1d0007>0x1?void 0x0:_0x1d0007?Qs(_0x4190ff,_0x2299bd):_0x4190ff,_0x6c5383=_0x148a8a[_0x4625e9(0x31e)]-0x1,_0x33b4f7;_0x6c5383>=0x0;_0x6c5383--)(_0x33b4f7=_0x148a8a[_0x6c5383])&&(_0x1376c5=(_0x1d0007?_0x33b4f7(_0x4190ff,_0x2299bd,_0x1376c5):_0x33b4f7(_0x1376c5))||_0x1376c5);return _0x1d0007&&_0x1376c5&&Zs(_0x4190ff,_0x2299bd,_0x1376c5),_0x1376c5;},Re=(_0x40ab5d,_0x9c8415)=>(_0x12f4b9,_0xf45450)=>_0x9c8415(_0x12f4b9,_0xf45450,_0x40ab5d);exports[_0x1cc768(0x37b)]=class extends a[_0x1cc768(0x35a)]{constructor(_0x3764cc,_0x5a8ef0,_0x128636,_0x3937bc,_0x32683d,_0x288caa){const _0x5bf154=_0x1cc768;super(),this[_0x5bf154(0x49c)]=_0x3764cc,this[_0x5bf154(0x10c)]=_0x5a8ef0,this['_commandService']=_0x128636,this[_0x5bf154(0x3f3)]=_0x3937bc,this[_0x5bf154(0x1c9)]=_0x32683d,_0x288caa?_0x288caa==null||_0x288caa['whenReady']()[_0x5bf154(0x191)](()=>this['_init']()):(this[_0x5bf154(0x10c)]['debug'](_0x5bf154(0x1e0),_0x5bf154(0x410)),this[_0x5bf154(0x143)]());}async[_0x1cc768(0x143)](){const _0x1770d4=_0x1cc768,_0x314321=this[_0x1770d4(0x49c)][_0x1770d4(0x187)](_0x1770d4(0x164)),_0x11da06=this[_0x1770d4(0x49c)][_0x1770d4(0x187)](_0x1770d4(0x398));if(!_0x314321||!_0x11da06){this[_0x1770d4(0x10c)][_0x1770d4(0x157)]('[DataLoaderController]',_0x1770d4(0x5c5));return;}switch(Number(_0x11da06)){case ne[_0x1770d4(0x452)]:{const _0x1c81a9=await this[_0x1770d4(0x5d7)](_0x314321);this['_setupSubUnitSync'](_0x1c81a9);break;}case ne[_0x1770d4(0x408)]:{await this[_0x1770d4(0x230)](_0x314321);break;}default:{this[_0x1770d4(0x10c)][_0x1770d4(0x1c4)](_0x1770d4(0x1e0),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async['_setupSubUnitSync'](_0x32e9ff){const _0x3c5773=_0x1cc768;await this['_updateSubUnitFromURLParams'](_0x32e9ff),_0x32e9ff[_0x3c5773(0x139)][_0x3c5773(0x154)](A[_0x3c5773(0x4cf)](this[_0x3c5773(0x36e)]))[_0x3c5773(0x556)](_0xb7b3da=>{const _0x46a2a8=_0x3c5773;_0xb7b3da&&this[_0x46a2a8(0x31c)](_0xb7b3da);}),this[_0x3c5773(0x49c)][_0x3c5773(0x40d)]['pipe'](A[_0x3c5773(0x4cf)](this['dispose$']))['subscribe'](()=>this[_0x3c5773(0x1b5)](_0x32e9ff));}['_updateURLWithCurrentState'](_0x4914d4,_0xb6335=!0x1){const _0xd4367b=_0x1cc768,_0x97a5ee=this[_0xd4367b(0x49c)][_0xd4367b(0x187)](_0xd4367b(0x1a2));_0x4914d4[_0xd4367b(0x4ab)]()!==_0x97a5ee&&this['_urlService'][_0xd4367b(0x3d4)](_0xd4367b(0x1a2),_0x4914d4[_0xd4367b(0x4ab)](),_0xb6335);}async[_0x1cc768(0x1b5)](_0x3c68be){const _0x578288=_0x1cc768;var _0x14dbb7;const _0x39f1e6=this['_urlService'][_0x578288(0x187)]('subunit');if(!_0x39f1e6||!_0x3c68be['getSheetBySheetId'](_0x39f1e6)){const _0x563637=_0x3c68be[_0x578288(0x456)]()[0x0],_0x48cf36=_0x3c68be[_0x578288(0x14b)](_0x563637);if(!_0x48cf36)return;this[_0x578288(0x31c)](_0x48cf36,!0x0),await this[_0x578288(0x134)]['executeCommand'](k[_0x578288(0x34d)]['id'],{'unitId':_0x3c68be[_0x578288(0x1f0)](),'subUnitId':_0x563637});return;}((_0x14dbb7=_0x3c68be['getActiveSheet']())==null?void 0x0:_0x14dbb7[_0x578288(0x4ab)]())!==_0x39f1e6&&await this[_0x578288(0x134)]['executeCommand'](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x3c68be[_0x578288(0x1f0)](),'subUnitId':_0x39f1e6});}async[_0x1cc768(0x5d7)](_0x535f06){const _0x19a586=_0x1cc768;let _0x5e5cf2=0x0;const _0x3ad6de=await this['_localCacheService'][_0x19a586(0x5ca)](_0x535f06);return _0x3ad6de&&(_0x3ad6de[_0x19a586(0x54e)]||_0x3ad6de[_0x19a586(0x41d)][_0x19a586(0x31e)]!==0x0)&&(_0x5e5cf2=_0x3ad6de['rev']),_0x5e5cf2===0x0&&this[_0x19a586(0x10c)][_0x19a586(0x157)](_0x19a586(0x1e0),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x19a586(0x1c9)][_0x19a586(0x3e9)](_0x535f06,_0x5e5cf2);}async[_0x1cc768(0x230)](_0x3bf2e5){const _0x2636ee=_0x1cc768;let _0x4a7444=0x0;const _0x46b64e=await this[_0x2636ee(0x3f3)][_0x2636ee(0x5ca)](_0x3bf2e5);return _0x46b64e&&(_0x46b64e[_0x2636ee(0x54e)]||_0x46b64e['mutations'][_0x2636ee(0x31e)]!==0x0)&&(_0x4a7444=_0x46b64e[_0x2636ee(0x55b)]),_0x4a7444===0x0&&this['_logService'][_0x2636ee(0x157)](_0x2636ee(0x1e0),_0x2636ee(0x2b6)),this[_0x2636ee(0x1c9)]['loadDoc'](_0x3bf2e5,_0x4a7444);}},exports[_0x1cc768(0x37b)]=er([Re(0x0,wt),Re(0x1,a['ILogService']),Re(0x2,a[_0x1cc768(0x11f)]),Re(0x3,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),Re(0x4,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x552)])),Re(0x5,a[_0x1cc768(0x1f2)](Bi[_0x1cc768(0x521)]))],exports[_0x1cc768(0x37b)]);var tr=Object[_0x1cc768(0x244)],ir=Object[_0x1cc768(0x263)],nr=(_0x135792,_0xe63532,_0x53e4f7,_0x183557)=>{for(var _0x4ecca3=_0x183557>0x1?void 0x0:_0x183557?ir(_0xe63532,_0x53e4f7):_0xe63532,_0x548372=_0x135792['length']-0x1,_0x315f77;_0x548372>=0x0;_0x548372--)(_0x315f77=_0x135792[_0x548372])&&(_0x4ecca3=(_0x183557?_0x315f77(_0xe63532,_0x53e4f7,_0x4ecca3):_0x315f77(_0x4ecca3))||_0x4ecca3);return _0x183557&&_0x4ecca3&&tr(_0xe63532,_0x53e4f7,_0x4ecca3),_0x4ecca3;},Vt=(_0x5cee61,_0x5b93f7)=>(_0x35831b,_0x31be6e)=>_0x5b93f7(_0x35831b,_0x31be6e,_0x5cee61);const sr=_0x1cc768(0x1ac),rr=_0x1cc768(0x269);let Ge=class extends a[_0x1cc768(0x1c0)]{constructor(_0x4a8a3a,_0x13c31a){const _0x3d7dbc=_0x1cc768;super(),this[_0x3d7dbc(0x114)]=_0x4a8a3a,this[_0x3d7dbc(0x2c0)]=_0x13c31a,this[_0x3d7dbc(0x143)]();}['_init'](){const _0x32d77c=_0x1cc768;this[_0x32d77c(0x27e)](this['_univerInstanceService'][_0x32d77c(0xff)][_0x32d77c(0x556)](()=>{const _0x40d70a=_0x32d77c;var _0x19247f;const _0x553fcd=this[_0x40d70a(0x114)]['getFocusedUnit']();let _0x28b2b2=(_0x19247f=this[_0x40d70a(0x2c0)]['getConfig'](sr))!=null?_0x19247f:rr;_0x553fcd instanceof a[_0x40d70a(0x24d)]&&(_0x28b2b2=_0x553fcd[_0x40d70a(0x27c)]),document[_0x40d70a(0x1a3)]=_0x28b2b2;}));}};Ge=nr([Vt(0x0,a[_0x1cc768(0x3bd)]),Vt(0x1,a[_0x1cc768(0x56f)])],Ge);var or=Object[_0x1cc768(0x244)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x30f563,_0x2cee2c,_0x5165c5,_0x5a8540)=>{for(var _0x11b05a=_0x5a8540>0x1?void 0x0:_0x5a8540?ar(_0x2cee2c,_0x5165c5):_0x2cee2c,_0x55c868=_0x30f563['length']-0x1,_0xd435a6;_0x55c868>=0x0;_0x55c868--)(_0xd435a6=_0x30f563[_0x55c868])&&(_0x11b05a=(_0x5a8540?_0xd435a6(_0x2cee2c,_0x5165c5,_0x11b05a):_0xd435a6(_0x11b05a))||_0x11b05a);return _0x5a8540&&_0x11b05a&&or(_0x2cee2c,_0x5165c5,_0x11b05a),_0x11b05a;},ct=(_0x556cd8,_0x4652ab)=>(_0x15fe95,_0x2c4757)=>_0x4652ab(_0x15fe95,_0x2c4757,_0x556cd8);let Ye=class{constructor(_0x138ab7,_0x86b409,_0x107abb){const _0x3cf045=_0x1cc768;this['_configService']=_0x138ab7,this['_httpService']=_0x86b409,this[_0x3cf045(0x57b)]=_0x107abb,this['init']();}[_0x1cc768(0x518)](){const _0x28e7ce=_0x1cc768;this['_httpService'][_0x28e7ce(0x53d)]({'priority':0x1,'interceptor':(_0x8cfe00,_0x4a8669)=>_0x4a8669(_0x8cfe00)[_0x28e7ce(0x154)](A[_0x28e7ce(0x234)](async _0x4dfa13=>{const _0x186d20=_0x28e7ce,_0x3e3022=_0x4dfa13;if(_0x3e3022['status']===0x191&&window['confirm'](this[_0x186d20(0x57b)]['t'](_0x186d20(0x4af)))){const _0x537e93=window[_0x186d20(0x136)](window['location'][_0x186d20(0x203)]);window[_0x186d20(0x19f)][_0x186d20(0x203)]=this[_0x186d20(0x129)]()+_0x186d20(0x423)+_0x537e93;}return _0x3e3022;}))});}[_0x1cc768(0x129)](){const _0x3df214=_0x1cc768;var _0x52410a,_0x40b661;const _0x50f9b9=this[_0x3df214(0x2c0)][_0x3df214(0x555)](hi),_0x44fb91=this[_0x3df214(0x2c0)][_0x3df214(0x555)](Q);return(_0x40b661=(_0x52410a=_0x44fb91==null?void 0x0:_0x44fb91[_0x3df214(0x3f2)])!=null?_0x52410a:_0x50f9b9)!=null?_0x40b661:Ji;}};Ye=cr([ct(0x0,a[_0x1cc768(0x56f)]),ct(0x1,a['Inject'](z['HTTPService'])),ct(0x2,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)]))],Ye);var lr=Object['defineProperty'],hr=Object['getOwnPropertyDescriptor'],_r=(_0x20e484,_0x27edb6,_0x1e47d3,_0x1c87b4)=>{const _0x5f18e1=_0x1cc768;for(var _0x1d359f=_0x1c87b4>0x1?void 0x0:_0x1c87b4?hr(_0x27edb6,_0x1e47d3):_0x27edb6,_0x2088ef=_0x20e484[_0x5f18e1(0x31e)]-0x1,_0x1f2e1d;_0x2088ef>=0x0;_0x2088ef--)(_0x1f2e1d=_0x20e484[_0x2088ef])&&(_0x1d359f=(_0x1c87b4?_0x1f2e1d(_0x27edb6,_0x1e47d3,_0x1d359f):_0x1f2e1d(_0x1d359f))||_0x1d359f);return _0x1c87b4&&_0x1d359f&&lr(_0x27edb6,_0x1e47d3,_0x1d359f),_0x1d359f;},Gt=(_0x131d5e,_0x230e35)=>(_0xa073ad,_0x379604)=>_0x230e35(_0xa073ad,_0x379604,_0x131d5e);const Ut=_0x1cc768(0x5a0),ur=_0x1cc768(0x58a);exports['AuthzIoHttpService']=class extends a[_0x1cc768(0x1c0)]{constructor(_0xb67d99,_0x23340d){const _0x1e2efa=_0x1cc768;super(),this[_0x1e2efa(0x313)]=_0xb67d99,this[_0x1e2efa(0x2c0)]=_0x23340d,this[_0x1e2efa(0x386)]();}[_0x1cc768(0x386)](){const _0x45652f=_0x1cc768,_0x7790c7=this;this[_0x45652f(0x27e)](this['_HTTPService'][_0x45652f(0x53d)]({'priority':0x3e7,'interceptor':z[_0x45652f(0x33a)]({'isMatch'(_0x11301f){const _0x181d2a=_0x45652f;var _0x55ab99;if(_0x11301f['method']==='POST'&&((_0x55ab99=_0x11301f[_0x181d2a(0x1aa)])!=null&&_0x55ab99[_0x181d2a(0x46d)])){const {objectID:_0x26090c,objectType:_0xe5e90d}=_0x11301f['requestParams'][_0x181d2a(0x46d)]||{};if(!_0x26090c||_0xe5e90d===void 0x0)return!0x1;const _0x4ab677=_0x7790c7[_0x181d2a(0x1b8)]()+'/'+_0xe5e90d+_0x181d2a(0x3aa)+_0x26090c+_0x181d2a(0x4a8);if(_0x11301f[_0x181d2a(0x539)]===_0x4ab677)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x131048){const _0x3328cd=_0x45652f;var _0x3b80fe;return(_0x3b80fe=_0x131048[_0x3328cd(0x1aa)])==null?void 0x0:_0x3b80fe['body'];},'mergeParamsToRequest'(_0x17f4a2,_0x97696){const _0x530ce7=_0x45652f,_0x113346=_0x7790c7[_0x530ce7(0x1b8)]()+_0x530ce7(0x1b6),_0x3d6ee5=_0x17f4a2[_0x530ce7(0x20e)]((_0x359d61,_0x4c4394)=>{const _0x5b4a01=_0x530ce7,{unitID:_0x599b49,objectID:_0x8b13a8,objectType:_0x245900,actions:_0x422577}=_0x4c4394;return _0x359d61[_0x599b49]||(_0x359d61[_0x599b49]={}),_0x359d61[_0x599b49][_0x8b13a8]||(_0x359d61[_0x599b49][_0x8b13a8]={'objectID':_0x8b13a8,'objectType':_0x245900,'actions':[]}),_0x359d61[_0x599b49][_0x8b13a8][_0x5b4a01(0x554)][_0x5b4a01(0x102)](..._0x422577),_0x359d61;},{}),_0x4ac697=[];for(const _0xc01711 in _0x3d6ee5)for(const _0x33ad4a in _0x3d6ee5[_0xc01711]){const {actions:_0x2947bd,objectType:_0x950f1}=_0x3d6ee5[_0xc01711][_0x33ad4a],_0x335a37=[...new Set(_0x2947bd)];_0x4ac697[_0x530ce7(0x102)]({'unitID':_0xc01711,'objectID':_0x33ad4a,'objectType':_0x950f1,'actions':_0x335a37});}return new z[(_0x530ce7(0x5c2))](_0x530ce7(0x1ab),_0x113346,{'headers':_0x97696[_0x530ce7(0x351)],'withCredentials':_0x97696['withCredentials'],'responseType':_0x97696[_0x530ce7(0x479)],'body':{'requests':_0x4ac697}});}},{'distributeResult'(_0x3b8743,_0x5b017e){const _0x33c636=_0x45652f,{objectActions:_0x4648b8}=_0x3b8743;return _0x5b017e[_0x33c636(0x130)](_0x3ae35a=>{const _0x208915=_0x33c636,{unitID:_0x534d12,objectID:_0x41727b,actions:_0x36f22f}=_0x3ae35a,_0x5dc0c0=_0x4648b8[_0x208915(0x4bd)](_0x1408df=>_0x1408df[_0x208915(0x4ed)]===_0x534d12&&_0x1408df['objectID']===_0x41727b),_0x463537=_0x36f22f[_0x208915(0x130)](_0x20329b=>_0x5dc0c0==null?void 0x0:_0x5dc0c0[_0x208915(0x554)]['find'](_0x160820=>_0x160820[_0x208915(0x1cc)]===_0x20329b))[_0x208915(0x464)](_0x43b3fd=>!!_0x43b3fd);return{'config':_0x3ae35a,'result':{'actions':_0x463537,'error':_0x3b8743['error']}};});}})}));}[_0x1cc768(0x1b8)](){const _0x3ae440=_0x1cc768;var _0x3edf60,_0x52eb73;const _0x480507=this[_0x3ae440(0x2c0)][_0x3ae440(0x555)](Ut),_0x28d07d=this[_0x3ae440(0x2c0)][_0x3ae440(0x555)](Q);return(_0x52eb73=(_0x3edf60=_0x28d07d==null?void 0x0:_0x28d07d[_0x3ae440(0x1d0)])!=null?_0x3edf60:_0x480507)!=null?_0x52eb73:ur;}async[_0x1cc768(0x337)](_0x1efc6b){const _0x4291f8=_0x1cc768,_0xd9821c=this[_0x4291f8(0x1b8)]()+'/'+_0x1efc6b[_0x4291f8(0x53e)]+'/object';return(await this[_0x4291f8(0x313)][_0x4291f8(0x4a3)](_0xd9821c,{'body':_0x1efc6b}))[_0x4291f8(0x46d)][_0x4291f8(0x2e5)]||'';}async[_0x1cc768(0x4d8)](_0x4923e9){const _0x4206a2=_0x1cc768,_0x2721d4=this[_0x4206a2(0x1b8)]()+_0x4206a2(0x5c7);return(await this[_0x4206a2(0x313)]['post'](_0x2721d4,{'body':_0x4923e9}))[_0x4206a2(0x46d)][_0x4206a2(0x44e)];}async[_0x1cc768(0x2af)](_0x226e0c){const _0x371d84=_0x1cc768,_0x3c3ce9=this[_0x371d84(0x1b8)]()+'/'+_0x226e0c[_0x371d84(0x53e)]+_0x371d84(0x3aa)+_0x226e0c['objectID'];await this[_0x371d84(0x313)][_0x371d84(0x376)](_0x3c3ce9,{'body':_0x226e0c});}async[_0x1cc768(0x296)](_0x475672){const _0x4ee2b3=_0x1cc768,_0x2f5d9a=this[_0x4ee2b3(0x1b8)]()+'/'+_0x475672['objectType']+_0x4ee2b3(0x3aa)+_0x475672[_0x4ee2b3(0x2e5)]+_0x4ee2b3(0x4a8);return(await this[_0x4ee2b3(0x313)][_0x4ee2b3(0x4a3)](_0x2f5d9a,{'body':_0x475672}))[_0x4ee2b3(0x46d)][_0x4ee2b3(0x554)];}async['batchAllowed'](_0x2bdd36){const _0x4643ab=_0x1cc768,_0x576503=this[_0x4643ab(0x1b8)]()+_0x4643ab(0x1b6);return(await this[_0x4643ab(0x313)]['post'](_0x576503,{'body':{'requests':_0x2bdd36}}))['body'][_0x4643ab(0x2df)];}async[_0x1cc768(0x16b)](_0x350d2d){const _0xf64e1c=_0x1cc768,_0xb691c6=this['_getAPIPrefixPath']()+'/'+_0x350d2d['objectType']+_0xf64e1c(0x3cd),_0x37e80b=await this[_0xf64e1c(0x313)][_0xf64e1c(0x4a3)](_0xb691c6,{'body':_0x350d2d});return{'roles':_0x37e80b[_0xf64e1c(0x46d)][_0xf64e1c(0x3b6)],'actions':_0x37e80b[_0xf64e1c(0x46d)][_0xf64e1c(0x554)]};}async[_0x1cc768(0x254)](_0x20ba37){const _0x7f368=_0x1cc768,_0x36bcd3=this['_getAPIPrefixPath']()+_0x7f368(0x368);await this[_0x7f368(0x313)][_0x7f368(0x24c)](_0x36bcd3,{'params':{'collaboratorID':_0x20ba37[_0x7f368(0x1fb)],'objectID':_0x20ba37[_0x7f368(0x2e5)],'unitID':_0x20ba37[_0x7f368(0x4ed)]}});}async[_0x1cc768(0x23e)](_0x2b9530){const _0x48d740=_0x1cc768,_0xd8a510=this[_0x48d740(0x1b8)]()+'/collaborator';await this[_0x48d740(0x313)][_0x48d740(0x108)](_0xd8a510,{'body':_0x2b9530});}async['createCollaborator'](_0x37dd8d){const _0x5f2198=_0x1cc768,_0x52868a=this[_0x5f2198(0x1b8)]()+_0x5f2198(0x368);await this[_0x5f2198(0x313)][_0x5f2198(0x4a3)](_0x52868a,{'body':_0x37dd8d});}async[_0x1cc768(0x282)](_0x80362){const _0x59d574=_0x1cc768,_0x1ab268=this[_0x59d574(0x1b8)]()+_0x59d574(0x368);return(await this['_HTTPService'][_0x59d574(0x4f7)](_0x1ab268,{'params':{'objectID':_0x80362[_0x59d574(0x2e5)],'unitID':_0x80362[_0x59d574(0x4ed)]}}))[_0x59d574(0x46d)]['collaborators'];}async[_0x1cc768(0x2c3)](_0x4dc465){const _0x437677=_0x1cc768,_0x37e2fa=this[_0x437677(0x1b8)]()+'/collaborator';await this[_0x437677(0x313)][_0x437677(0x376)](_0x37e2fa,{'body':_0x4dc465});}},exports['AuthzIoHttpService']=_r([Gt(0x0,a[_0x1cc768(0x2ca)](z['HTTPService'])),Gt(0x1,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x56f)]))],exports[_0x1cc768(0x35c)]);var Di={'exports':{}};function dr(_0x46d0f4){const _0xbc54bb=_0x1cc768;throw new Error(_0xbc54bb(0x548)+_0x46d0f4+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var lt={'exports':{}},Yt;function oe(){const _0x41cd7a=_0x1cc768;return Yt||(Yt=0x1,function(_0x2c81d7,_0x4be0da){(function(_0x10a15b,_0x38872d){const _0x3a8e28=_0x3a60;_0x2c81d7[_0x3a8e28(0x2b9)]=_0x38872d();}(Z,function(){var _0x1454ec=_0x1454ec||function(_0x473964,_0x105947){const _0x367e48=_0x3a60;var _0x2c5755;if(typeof window<'u'&&window[_0x367e48(0x46f)]&&(_0x2c5755=window[_0x367e48(0x46f)]),typeof self<'u'&&self['crypto']&&(_0x2c5755=self['crypto']),typeof globalThis<'u'&&globalThis[_0x367e48(0x46f)]&&(_0x2c5755=globalThis[_0x367e48(0x46f)]),!_0x2c5755&&typeof window<'u'&&window[_0x367e48(0x381)]&&(_0x2c5755=window[_0x367e48(0x381)]),!_0x2c5755&&typeof Z<'u'&&Z[_0x367e48(0x46f)]&&(_0x2c5755=Z[_0x367e48(0x46f)]),!_0x2c5755&&typeof dr==_0x367e48(0x5c6))try{_0x2c5755=require(_0x367e48(0x46f));}catch{}var _0x5040eb=function(){const _0x5bd4db=_0x367e48;if(_0x2c5755){if(typeof _0x2c5755[_0x5bd4db(0x448)]==_0x5bd4db(0x5c6))try{return _0x2c5755[_0x5bd4db(0x448)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2c5755[_0x5bd4db(0x228)]==_0x5bd4db(0x5c6))try{return _0x2c5755['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x5bd4db(0x3ab));},_0x36345f=Object[_0x367e48(0x337)]||(function(){function _0x4efd3f(){}return function(_0x21e5c0){const _0x2aa5ed=_0x3a60;var _0x15ef14;return _0x4efd3f[_0x2aa5ed(0x396)]=_0x21e5c0,_0x15ef14=new _0x4efd3f(),_0x4efd3f[_0x2aa5ed(0x396)]=null,_0x15ef14;};}()),_0x552deb={},_0x357b34=_0x552deb[_0x367e48(0x3d1)]={},_0x32d729=_0x357b34[_0x367e48(0x474)]=(function(){return{'extend':function(_0x1a8448){const _0x1046d0=_0x3a60;var _0x12b73c=_0x36345f(this);return _0x1a8448&&_0x12b73c[_0x1046d0(0x399)](_0x1a8448),(!_0x12b73c[_0x1046d0(0x207)]('init')||this['init']===_0x12b73c[_0x1046d0(0x518)])&&(_0x12b73c[_0x1046d0(0x518)]=function(){const _0x36e4df=_0x1046d0;_0x12b73c[_0x36e4df(0x2f7)]['init'][_0x36e4df(0x119)](this,arguments);}),_0x12b73c[_0x1046d0(0x518)]['prototype']=_0x12b73c,_0x12b73c[_0x1046d0(0x2f7)]=this,_0x12b73c;},'create':function(){const _0x2c07c3=_0x3a60;var _0x9bc75a=this[_0x2c07c3(0x279)]();return _0x9bc75a[_0x2c07c3(0x518)]['apply'](_0x9bc75a,arguments),_0x9bc75a;},'init':function(){},'mixIn':function(_0x4cf4dd){const _0x19bc8b=_0x3a60;for(var _0x118c52 in _0x4cf4dd)_0x4cf4dd[_0x19bc8b(0x207)](_0x118c52)&&(this[_0x118c52]=_0x4cf4dd[_0x118c52]);_0x4cf4dd[_0x19bc8b(0x207)](_0x19bc8b(0x3df))&&(this[_0x19bc8b(0x3df)]=_0x4cf4dd[_0x19bc8b(0x3df)]);},'clone':function(){const _0x489827=_0x3a60;return this[_0x489827(0x518)]['prototype']['extend'](this);}};}()),_0x5e488c=_0x357b34['WordArray']=_0x32d729[_0x367e48(0x279)]({'init':function(_0x28f9cc,_0x22fb16){const _0x873340=_0x367e48;_0x28f9cc=this[_0x873340(0x49f)]=_0x28f9cc||[],_0x22fb16!=_0x105947?this['sigBytes']=_0x22fb16:this[_0x873340(0x512)]=_0x28f9cc[_0x873340(0x31e)]*0x4;},'toString':function(_0x25135){return(_0x25135||_0x3445b8)['stringify'](this);},'concat':function(_0x7b8eeb){const _0x4c966f=_0x367e48;var _0x4e4e38=this[_0x4c966f(0x49f)],_0x436951=_0x7b8eeb[_0x4c966f(0x49f)],_0x29d8e8=this['sigBytes'],_0x5b6a6c=_0x7b8eeb[_0x4c966f(0x512)];if(this[_0x4c966f(0x3d8)](),_0x29d8e8%0x4)for(var _0x336fff=0x0;_0x336fff<_0x5b6a6c;_0x336fff++){var _0x2cc59f=_0x436951[_0x336fff>>>0x2]>>>0x18-_0x336fff%0x4*0x8&0xff;_0x4e4e38[_0x29d8e8+_0x336fff>>>0x2]|=_0x2cc59f<<0x18-(_0x29d8e8+_0x336fff)%0x4*0x8;}else{for(var _0x3dec6a=0x0;_0x3dec6a<_0x5b6a6c;_0x3dec6a+=0x4)_0x4e4e38[_0x29d8e8+_0x3dec6a>>>0x2]=_0x436951[_0x3dec6a>>>0x2];}return this[_0x4c966f(0x512)]+=_0x5b6a6c,this;},'clamp':function(){const _0x25972c=_0x367e48;var _0x38d671=this[_0x25972c(0x49f)],_0x340cec=this['sigBytes'];_0x38d671[_0x340cec>>>0x2]&=0xffffffff<<0x20-_0x340cec%0x4*0x8,_0x38d671[_0x25972c(0x31e)]=_0x473964['ceil'](_0x340cec/0x4);},'clone':function(){const _0xecd96f=_0x367e48;var _0x1f2082=_0x32d729['clone'][_0xecd96f(0x3a6)](this);return _0x1f2082[_0xecd96f(0x49f)]=this[_0xecd96f(0x49f)][_0xecd96f(0x158)](0x0),_0x1f2082;},'random':function(_0x4d315e){const _0x5e206e=_0x367e48;for(var _0x3dbf38=[],_0x22f1fc=0x0;_0x22f1fc<_0x4d315e;_0x22f1fc+=0x4)_0x3dbf38[_0x5e206e(0x102)](_0x5040eb());return new _0x5e488c[(_0x5e206e(0x518))](_0x3dbf38,_0x4d315e);}}),_0x5eaf86=_0x552deb['enc']={},_0x3445b8=_0x5eaf86[_0x367e48(0x295)]={'stringify':function(_0x4611ec){const _0x3ff92f=_0x367e48;for(var _0x492249=_0x4611ec['words'],_0x2dca4e=_0x4611ec['sigBytes'],_0x571f5f=[],_0x2926b0=0x0;_0x2926b0<_0x2dca4e;_0x2926b0++){var _0x3839f0=_0x492249[_0x2926b0>>>0x2]>>>0x18-_0x2926b0%0x4*0x8&0xff;_0x571f5f['push']((_0x3839f0>>>0x4)[_0x3ff92f(0x3df)](0x10)),_0x571f5f[_0x3ff92f(0x102)]((_0x3839f0&0xf)[_0x3ff92f(0x3df)](0x10));}return _0x571f5f[_0x3ff92f(0x3f5)]('');},'parse':function(_0x2e51cc){const _0x2d6cd8=_0x367e48;for(var _0x1a567a=_0x2e51cc[_0x2d6cd8(0x31e)],_0x1b2799=[],_0x443dd2=0x0;_0x443dd2<_0x1a567a;_0x443dd2+=0x2)_0x1b2799[_0x443dd2>>>0x3]|=parseInt(_0x2e51cc[_0x2d6cd8(0x4ca)](_0x443dd2,0x2),0x10)<<0x18-_0x443dd2%0x8*0x4;return new _0x5e488c['init'](_0x1b2799,_0x1a567a/0x2);}},_0x593a41=_0x5eaf86[_0x367e48(0x534)]={'stringify':function(_0x4a125b){const _0x5b08f9=_0x367e48;for(var _0x19a828=_0x4a125b[_0x5b08f9(0x49f)],_0x14b729=_0x4a125b['sigBytes'],_0x457453=[],_0x429318=0x0;_0x429318<_0x14b729;_0x429318++){var _0x10ea39=_0x19a828[_0x429318>>>0x2]>>>0x18-_0x429318%0x4*0x8&0xff;_0x457453[_0x5b08f9(0x102)](String['fromCharCode'](_0x10ea39));}return _0x457453[_0x5b08f9(0x3f5)]('');},'parse':function(_0x12a317){const _0x45e23b=_0x367e48;for(var _0x58c689=_0x12a317['length'],_0x555ee6=[],_0x3e2179=0x0;_0x3e2179<_0x58c689;_0x3e2179++)_0x555ee6[_0x3e2179>>>0x2]|=(_0x12a317[_0x45e23b(0x577)](_0x3e2179)&0xff)<<0x18-_0x3e2179%0x4*0x8;return new _0x5e488c[(_0x45e23b(0x518))](_0x555ee6,_0x58c689);}},_0x470f60=_0x5eaf86[_0x367e48(0x31d)]={'stringify':function(_0x51e153){const _0x423201=_0x367e48;try{return decodeURIComponent(escape(_0x593a41[_0x423201(0x236)](_0x51e153)));}catch{throw new Error(_0x423201(0x1c3));}},'parse':function(_0x2139d8){return _0x593a41['parse'](unescape(encodeURIComponent(_0x2139d8)));}},_0x6d24ca=_0x357b34[_0x367e48(0x544)]=_0x32d729[_0x367e48(0x279)]({'reset':function(){const _0x136c32=_0x367e48;this[_0x136c32(0x23f)]=new _0x5e488c[(_0x136c32(0x518))](),this[_0x136c32(0x1ea)]=0x0;},'_append':function(_0x26de75){const _0x500f3f=_0x367e48;typeof _0x26de75=='string'&&(_0x26de75=_0x470f60[_0x500f3f(0x472)](_0x26de75)),this[_0x500f3f(0x23f)][_0x500f3f(0x276)](_0x26de75),this['_nDataBytes']+=_0x26de75['sigBytes'];},'_process':function(_0x3abaee){const _0x6603ed=_0x367e48;var _0x5f3c32,_0x57f661=this[_0x6603ed(0x23f)],_0x22f74c=_0x57f661[_0x6603ed(0x49f)],_0x13ef9c=_0x57f661[_0x6603ed(0x512)],_0x940195=this[_0x6603ed(0x1ce)],_0x34c448=_0x940195*0x4,_0x304fa4=_0x13ef9c/_0x34c448;_0x3abaee?_0x304fa4=_0x473964[_0x6603ed(0x331)](_0x304fa4):_0x304fa4=_0x473964[_0x6603ed(0x1a8)]((_0x304fa4|0x0)-this[_0x6603ed(0x110)],0x0);var _0x5c766b=_0x304fa4*_0x940195,_0x15882d=_0x473964[_0x6603ed(0x240)](_0x5c766b*0x4,_0x13ef9c);if(_0x5c766b){for(var _0x240035=0x0;_0x240035<_0x5c766b;_0x240035+=_0x940195)this['_doProcessBlock'](_0x22f74c,_0x240035);_0x5f3c32=_0x22f74c[_0x6603ed(0x44d)](0x0,_0x5c766b),_0x57f661[_0x6603ed(0x512)]-=_0x15882d;}return new _0x5e488c[(_0x6603ed(0x518))](_0x5f3c32,_0x15882d);},'clone':function(){const _0xf92bd4=_0x367e48;var _0x4de841=_0x32d729[_0xf92bd4(0x2a0)]['call'](this);return _0x4de841[_0xf92bd4(0x23f)]=this[_0xf92bd4(0x23f)]['clone'](),_0x4de841;},'_minBufferSize':0x0});_0x357b34[_0x367e48(0x5bd)]=_0x6d24ca[_0x367e48(0x279)]({'cfg':_0x32d729[_0x367e48(0x279)](),'init':function(_0x25933b){const _0x152085=_0x367e48;this[_0x152085(0x57d)]=this['cfg'][_0x152085(0x279)](_0x25933b),this[_0x152085(0x383)]();},'reset':function(){const _0x16e9f9=_0x367e48;_0x6d24ca['reset']['call'](this),this[_0x16e9f9(0x47c)]();},'update':function(_0x42932c){const _0x55a5f9=_0x367e48;return this['_append'](_0x42932c),this[_0x55a5f9(0x48c)](),this;},'finalize':function(_0x537933){const _0x2112b8=_0x367e48;_0x537933&&this[_0x2112b8(0x458)](_0x537933);var _0x1732bc=this[_0x2112b8(0x411)]();return _0x1732bc;},'blockSize':0x10,'_createHelper':function(_0x21e65c){return function(_0x5a5e07,_0x444bfa){const _0x163181=_0x3a60;return new _0x21e65c[(_0x163181(0x518))](_0x444bfa)['finalize'](_0x5a5e07);};},'_createHmacHelper':function(_0x315e33){return function(_0x114991,_0x8d0ded){const _0x2b5093=_0x3a60;return new _0x1ea7ae['HMAC'][(_0x2b5093(0x518))](_0x315e33,_0x8d0ded)['finalize'](_0x114991);};}});var _0x1ea7ae=_0x552deb[_0x367e48(0x560)]={};return _0x552deb;}(Math);return _0x1454ec;}));}(lt)),lt[_0x41cd7a(0x2b9)];}var ht={'exports':{}},Kt;function Pi(){const _0x230a23=_0x1cc768;return Kt||(Kt=0x1,function(_0x5601c5,_0x4696bd){(function(_0x19f755,_0x1141d2){const _0x2d3b1d=_0x3a60;_0x5601c5[_0x2d3b1d(0x2b9)]=_0x1141d2(oe());}(Z,function(_0x587e92){const _0x2b1fb0=_0x3a60;return(function(){const _0x5dce97=_0x3a60;var _0x3e0fcb=_0x587e92,_0x4b0156=_0x3e0fcb[_0x5dce97(0x3d1)],_0x23cc29=_0x4b0156[_0x5dce97(0x2f5)],_0x37dda5=_0x3e0fcb[_0x5dce97(0x10f)];_0x37dda5[_0x5dce97(0x444)]={'stringify':function(_0x409d19){const _0x4000f8=_0x5dce97;var _0x26e231=_0x409d19[_0x4000f8(0x49f)],_0x543191=_0x409d19[_0x4000f8(0x512)],_0x165586=this['_map'];_0x409d19['clamp']();for(var _0xc9094b=[],_0x2edb7a=0x0;_0x2edb7a<_0x543191;_0x2edb7a+=0x3)for(var _0x247e85=_0x26e231[_0x2edb7a>>>0x2]>>>0x18-_0x2edb7a%0x4*0x8&0xff,_0x377b12=_0x26e231[_0x2edb7a+0x1>>>0x2]>>>0x18-(_0x2edb7a+0x1)%0x4*0x8&0xff,_0x17d850=_0x26e231[_0x2edb7a+0x2>>>0x2]>>>0x18-(_0x2edb7a+0x2)%0x4*0x8&0xff,_0x1df4eb=_0x247e85<<0x10|_0x377b12<<0x8|_0x17d850,_0x3bee07=0x0;_0x3bee07<0x4&&_0x2edb7a+_0x3bee07*0.75<_0x543191;_0x3bee07++)_0xc9094b['push'](_0x165586[_0x4000f8(0x5cc)](_0x1df4eb>>>0x6*(0x3-_0x3bee07)&0x3f));var _0x5211a7=_0x165586['charAt'](0x40);if(_0x5211a7){for(;_0xc9094b[_0x4000f8(0x31e)]%0x4;)_0xc9094b[_0x4000f8(0x102)](_0x5211a7);}return _0xc9094b[_0x4000f8(0x3f5)]('');},'parse':function(_0x25b56a){const _0x38dea2=_0x5dce97;var _0x14db71=_0x25b56a[_0x38dea2(0x31e)],_0x114078=this['_map'],_0x58b62f=this[_0x38dea2(0x485)];if(!_0x58b62f){_0x58b62f=this['_reverseMap']=[];for(var _0x46c922=0x0;_0x46c922<_0x114078[_0x38dea2(0x31e)];_0x46c922++)_0x58b62f[_0x114078['charCodeAt'](_0x46c922)]=_0x46c922;}var _0x5959bb=_0x114078[_0x38dea2(0x5cc)](0x40);if(_0x5959bb){var _0x46875d=_0x25b56a['indexOf'](_0x5959bb);_0x46875d!==-0x1&&(_0x14db71=_0x46875d);}return _0x2ff081(_0x25b56a,_0x14db71,_0x58b62f);},'_map':_0x5dce97(0x570)};function _0x2ff081(_0x6e1d88,_0x4783ee,_0x289baa){const _0x28ec75=_0x5dce97;for(var _0x19827f=[],_0x590964=0x0,_0x57186b=0x0;_0x57186b<_0x4783ee;_0x57186b++)if(_0x57186b%0x4){var _0x24499a=_0x289baa[_0x6e1d88[_0x28ec75(0x577)](_0x57186b-0x1)]<<_0x57186b%0x4*0x2,_0x4ca346=_0x289baa[_0x6e1d88[_0x28ec75(0x577)](_0x57186b)]>>>0x6-_0x57186b%0x4*0x2,_0xa0bca6=_0x24499a|_0x4ca346;_0x19827f[_0x590964>>>0x2]|=_0xa0bca6<<0x18-_0x590964%0x4*0x8,_0x590964++;}return _0x23cc29[_0x28ec75(0x337)](_0x19827f,_0x590964);}}()),_0x587e92[_0x2b1fb0(0x10f)]['Base64'];}));}(ht)),ht[_0x230a23(0x2b9)];}var _t={'exports':{}},qt;function fr(){const _0x19c9ee=_0x1cc768;return qt||(qt=0x1,function(_0x5ee7ba,_0x2e91d2){(function(_0x4d6994,_0x2f8534){const _0x4ac600=_0x3a60;_0x5ee7ba[_0x4ac600(0x2b9)]=_0x2f8534(oe());}(Z,function(_0x22ef5e){const _0x379710=_0x3a60;return function(_0x11f7bc){const _0x449414=_0x3a60;var _0x15082c=_0x22ef5e,_0x3c8f83=_0x15082c['lib'],_0x535ac1=_0x3c8f83[_0x449414(0x2f5)],_0x10b4a8=_0x3c8f83[_0x449414(0x5bd)],_0x3eb392=_0x15082c[_0x449414(0x560)],_0x332d3e=[];(function(){const _0x5c1383=_0x449414;for(var _0x2fc2af=0x0;_0x2fc2af<0x40;_0x2fc2af++)_0x332d3e[_0x2fc2af]=_0x11f7bc[_0x5c1383(0x51d)](_0x11f7bc[_0x5c1383(0x248)](_0x2fc2af+0x1))*0x100000000|0x0;}());var _0x2963dc=_0x3eb392[_0x449414(0x37f)]=_0x10b4a8[_0x449414(0x279)]({'_doReset':function(){const _0x821797=_0x449414;this['_hash']=new _0x535ac1[(_0x821797(0x518))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xa94c14,_0x6d2eb3){const _0x424465=_0x449414;for(var _0x2e4d78=0x0;_0x2e4d78<0x10;_0x2e4d78++){var _0x34bce8=_0x6d2eb3+_0x2e4d78,_0x634d33=_0xa94c14[_0x34bce8];_0xa94c14[_0x34bce8]=(_0x634d33<<0x8|_0x634d33>>>0x18)&0xff00ff|(_0x634d33<<0x18|_0x634d33>>>0x8)&0xff00ff00;}var _0x5d9ab5=this['_hash'][_0x424465(0x49f)],_0x1ddd92=_0xa94c14[_0x6d2eb3+0x0],_0x3e5ab1=_0xa94c14[_0x6d2eb3+0x1],_0x2b13d=_0xa94c14[_0x6d2eb3+0x2],_0x18a25b=_0xa94c14[_0x6d2eb3+0x3],_0x449a83=_0xa94c14[_0x6d2eb3+0x4],_0x5b574c=_0xa94c14[_0x6d2eb3+0x5],_0xa43595=_0xa94c14[_0x6d2eb3+0x6],_0x102659=_0xa94c14[_0x6d2eb3+0x7],_0x47021b=_0xa94c14[_0x6d2eb3+0x8],_0x462dce=_0xa94c14[_0x6d2eb3+0x9],_0xe8d0d7=_0xa94c14[_0x6d2eb3+0xa],_0x4d8021=_0xa94c14[_0x6d2eb3+0xb],_0x6f94b2=_0xa94c14[_0x6d2eb3+0xc],_0x59fa4d=_0xa94c14[_0x6d2eb3+0xd],_0x10f12c=_0xa94c14[_0x6d2eb3+0xe],_0x533980=_0xa94c14[_0x6d2eb3+0xf],_0x4a7260=_0x5d9ab5[0x0],_0x44fa6c=_0x5d9ab5[0x1],_0x5aab7d=_0x5d9ab5[0x2],_0x579e17=_0x5d9ab5[0x3];_0x4a7260=_0x7c402a(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x1ddd92,0x7,_0x332d3e[0x0]),_0x579e17=_0x7c402a(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x3e5ab1,0xc,_0x332d3e[0x1]),_0x5aab7d=_0x7c402a(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x2b13d,0x11,_0x332d3e[0x2]),_0x44fa6c=_0x7c402a(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x18a25b,0x16,_0x332d3e[0x3]),_0x4a7260=_0x7c402a(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x449a83,0x7,_0x332d3e[0x4]),_0x579e17=_0x7c402a(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x5b574c,0xc,_0x332d3e[0x5]),_0x5aab7d=_0x7c402a(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0xa43595,0x11,_0x332d3e[0x6]),_0x44fa6c=_0x7c402a(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x102659,0x16,_0x332d3e[0x7]),_0x4a7260=_0x7c402a(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x47021b,0x7,_0x332d3e[0x8]),_0x579e17=_0x7c402a(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x462dce,0xc,_0x332d3e[0x9]),_0x5aab7d=_0x7c402a(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0xe8d0d7,0x11,_0x332d3e[0xa]),_0x44fa6c=_0x7c402a(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x4d8021,0x16,_0x332d3e[0xb]),_0x4a7260=_0x7c402a(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x6f94b2,0x7,_0x332d3e[0xc]),_0x579e17=_0x7c402a(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x59fa4d,0xc,_0x332d3e[0xd]),_0x5aab7d=_0x7c402a(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x10f12c,0x11,_0x332d3e[0xe]),_0x44fa6c=_0x7c402a(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x533980,0x16,_0x332d3e[0xf]),_0x4a7260=_0x2cee6f(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x3e5ab1,0x5,_0x332d3e[0x10]),_0x579e17=_0x2cee6f(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0xa43595,0x9,_0x332d3e[0x11]),_0x5aab7d=_0x2cee6f(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x4d8021,0xe,_0x332d3e[0x12]),_0x44fa6c=_0x2cee6f(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x1ddd92,0x14,_0x332d3e[0x13]),_0x4a7260=_0x2cee6f(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x5b574c,0x5,_0x332d3e[0x14]),_0x579e17=_0x2cee6f(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0xe8d0d7,0x9,_0x332d3e[0x15]),_0x5aab7d=_0x2cee6f(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x533980,0xe,_0x332d3e[0x16]),_0x44fa6c=_0x2cee6f(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x449a83,0x14,_0x332d3e[0x17]),_0x4a7260=_0x2cee6f(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x462dce,0x5,_0x332d3e[0x18]),_0x579e17=_0x2cee6f(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x10f12c,0x9,_0x332d3e[0x19]),_0x5aab7d=_0x2cee6f(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x18a25b,0xe,_0x332d3e[0x1a]),_0x44fa6c=_0x2cee6f(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x47021b,0x14,_0x332d3e[0x1b]),_0x4a7260=_0x2cee6f(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x59fa4d,0x5,_0x332d3e[0x1c]),_0x579e17=_0x2cee6f(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x2b13d,0x9,_0x332d3e[0x1d]),_0x5aab7d=_0x2cee6f(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x102659,0xe,_0x332d3e[0x1e]),_0x44fa6c=_0x2cee6f(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x6f94b2,0x14,_0x332d3e[0x1f]),_0x4a7260=_0x220aa4(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x5b574c,0x4,_0x332d3e[0x20]),_0x579e17=_0x220aa4(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x47021b,0xb,_0x332d3e[0x21]),_0x5aab7d=_0x220aa4(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x4d8021,0x10,_0x332d3e[0x22]),_0x44fa6c=_0x220aa4(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x10f12c,0x17,_0x332d3e[0x23]),_0x4a7260=_0x220aa4(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x3e5ab1,0x4,_0x332d3e[0x24]),_0x579e17=_0x220aa4(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x449a83,0xb,_0x332d3e[0x25]),_0x5aab7d=_0x220aa4(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x102659,0x10,_0x332d3e[0x26]),_0x44fa6c=_0x220aa4(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0xe8d0d7,0x17,_0x332d3e[0x27]),_0x4a7260=_0x220aa4(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x59fa4d,0x4,_0x332d3e[0x28]),_0x579e17=_0x220aa4(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x1ddd92,0xb,_0x332d3e[0x29]),_0x5aab7d=_0x220aa4(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x18a25b,0x10,_0x332d3e[0x2a]),_0x44fa6c=_0x220aa4(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0xa43595,0x17,_0x332d3e[0x2b]),_0x4a7260=_0x220aa4(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x462dce,0x4,_0x332d3e[0x2c]),_0x579e17=_0x220aa4(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x6f94b2,0xb,_0x332d3e[0x2d]),_0x5aab7d=_0x220aa4(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x533980,0x10,_0x332d3e[0x2e]),_0x44fa6c=_0x220aa4(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x2b13d,0x17,_0x332d3e[0x2f]),_0x4a7260=_0x3c55a5(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x1ddd92,0x6,_0x332d3e[0x30]),_0x579e17=_0x3c55a5(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x102659,0xa,_0x332d3e[0x31]),_0x5aab7d=_0x3c55a5(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x10f12c,0xf,_0x332d3e[0x32]),_0x44fa6c=_0x3c55a5(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x5b574c,0x15,_0x332d3e[0x33]),_0x4a7260=_0x3c55a5(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x6f94b2,0x6,_0x332d3e[0x34]),_0x579e17=_0x3c55a5(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x18a25b,0xa,_0x332d3e[0x35]),_0x5aab7d=_0x3c55a5(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0xe8d0d7,0xf,_0x332d3e[0x36]),_0x44fa6c=_0x3c55a5(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x3e5ab1,0x15,_0x332d3e[0x37]),_0x4a7260=_0x3c55a5(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x47021b,0x6,_0x332d3e[0x38]),_0x579e17=_0x3c55a5(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x533980,0xa,_0x332d3e[0x39]),_0x5aab7d=_0x3c55a5(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0xa43595,0xf,_0x332d3e[0x3a]),_0x44fa6c=_0x3c55a5(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x59fa4d,0x15,_0x332d3e[0x3b]),_0x4a7260=_0x3c55a5(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x449a83,0x6,_0x332d3e[0x3c]),_0x579e17=_0x3c55a5(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x4d8021,0xa,_0x332d3e[0x3d]),_0x5aab7d=_0x3c55a5(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x2b13d,0xf,_0x332d3e[0x3e]),_0x44fa6c=_0x3c55a5(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x462dce,0x15,_0x332d3e[0x3f]),_0x5d9ab5[0x0]=_0x5d9ab5[0x0]+_0x4a7260|0x0,_0x5d9ab5[0x1]=_0x5d9ab5[0x1]+_0x44fa6c|0x0,_0x5d9ab5[0x2]=_0x5d9ab5[0x2]+_0x5aab7d|0x0,_0x5d9ab5[0x3]=_0x5d9ab5[0x3]+_0x579e17|0x0;},'_doFinalize':function(){const _0x2b150c=_0x449414;var _0x565a4f=this[_0x2b150c(0x23f)],_0x19f3f1=_0x565a4f[_0x2b150c(0x49f)],_0x3467c1=this['_nDataBytes']*0x8,_0x247033=_0x565a4f[_0x2b150c(0x512)]*0x8;_0x19f3f1[_0x247033>>>0x5]|=0x80<<0x18-_0x247033%0x20;var _0x3e414b=_0x11f7bc['floor'](_0x3467c1/0x100000000),_0xab343c=_0x3467c1;_0x19f3f1[(_0x247033+0x40>>>0x9<<0x4)+0xf]=(_0x3e414b<<0x8|_0x3e414b>>>0x18)&0xff00ff|(_0x3e414b<<0x18|_0x3e414b>>>0x8)&0xff00ff00,_0x19f3f1[(_0x247033+0x40>>>0x9<<0x4)+0xe]=(_0xab343c<<0x8|_0xab343c>>>0x18)&0xff00ff|(_0xab343c<<0x18|_0xab343c>>>0x8)&0xff00ff00,_0x565a4f[_0x2b150c(0x512)]=(_0x19f3f1[_0x2b150c(0x31e)]+0x1)*0x4,this[_0x2b150c(0x48c)]();for(var _0x6706c6=this[_0x2b150c(0x53b)],_0x38774a=_0x6706c6['words'],_0x109243=0x0;_0x109243<0x4;_0x109243++){var _0x421a79=_0x38774a[_0x109243];_0x38774a[_0x109243]=(_0x421a79<<0x8|_0x421a79>>>0x18)&0xff00ff|(_0x421a79<<0x18|_0x421a79>>>0x8)&0xff00ff00;}return _0x6706c6;},'clone':function(){const _0x271098=_0x449414;var _0x4b51ae=_0x10b4a8['clone'][_0x271098(0x3a6)](this);return _0x4b51ae[_0x271098(0x53b)]=this[_0x271098(0x53b)][_0x271098(0x2a0)](),_0x4b51ae;}});function _0x7c402a(_0x249984,_0x34fb45,_0x2bcc45,_0x4b66e5,_0x23b5ed,_0x4ccfd3,_0x23884d){var _0x1a0cff=_0x249984+(_0x34fb45&_0x2bcc45|~_0x34fb45&_0x4b66e5)+_0x23b5ed+_0x23884d;return(_0x1a0cff<<_0x4ccfd3|_0x1a0cff>>>0x20-_0x4ccfd3)+_0x34fb45;}function _0x2cee6f(_0x118b28,_0x5d4633,_0x4963d6,_0x36b21e,_0x2a3b63,_0x5b265b,_0x5ebbcb){var _0x2355db=_0x118b28+(_0x5d4633&_0x36b21e|_0x4963d6&~_0x36b21e)+_0x2a3b63+_0x5ebbcb;return(_0x2355db<<_0x5b265b|_0x2355db>>>0x20-_0x5b265b)+_0x5d4633;}function _0x220aa4(_0x2a9421,_0x405e84,_0x149396,_0xd799e3,_0x2602fb,_0x36c0ee,_0x3739fc){var _0xbc1337=_0x2a9421+(_0x405e84^_0x149396^_0xd799e3)+_0x2602fb+_0x3739fc;return(_0xbc1337<<_0x36c0ee|_0xbc1337>>>0x20-_0x36c0ee)+_0x405e84;}function _0x3c55a5(_0x29bdc2,_0x5e1191,_0x4dcd72,_0x3c0f97,_0x55a83b,_0x257828,_0x28c056){var _0x4b70cc=_0x29bdc2+(_0x4dcd72^(_0x5e1191|~_0x3c0f97))+_0x55a83b+_0x28c056;return(_0x4b70cc<<_0x257828|_0x4b70cc>>>0x20-_0x257828)+_0x5e1191;}_0x15082c['MD5']=_0x10b4a8[_0x449414(0x170)](_0x2963dc),_0x15082c[_0x449414(0x3a7)]=_0x10b4a8[_0x449414(0x38b)](_0x2963dc);}(Math),_0x22ef5e[_0x379710(0x37f)];}));}(_t)),_t[_0x19c9ee(0x2b9)];}var ut={'exports':{}},dt={'exports':{}},zt;function vr(){return zt||(zt=0x1,function(_0x3d5840,_0x5d6be2){(function(_0x504f34,_0x3fdbaa){const _0x3c0be7=_0x3a60;_0x3d5840[_0x3c0be7(0x2b9)]=_0x3fdbaa(oe());}(Z,function(_0x38da0a){const _0x2f5232=_0x3a60;return(function(){const _0x24d6a7=_0x3a60;var _0x25c7c2=_0x38da0a,_0xa2605=_0x25c7c2[_0x24d6a7(0x3d1)],_0x378b6a=_0xa2605[_0x24d6a7(0x2f5)],_0x5e2617=_0xa2605[_0x24d6a7(0x5bd)],_0x3eec52=_0x25c7c2[_0x24d6a7(0x560)],_0x4c591b=[],_0x10ff68=_0x3eec52[_0x24d6a7(0x4a0)]=_0x5e2617[_0x24d6a7(0x279)]({'_doReset':function(){const _0x42705d=_0x24d6a7;this['_hash']=new _0x378b6a[(_0x42705d(0x518))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3183aa,_0x23b25f){const _0x1f8097=_0x24d6a7;for(var _0x48f041=this[_0x1f8097(0x53b)]['words'],_0x10a292=_0x48f041[0x0],_0x36d49c=_0x48f041[0x1],_0x532fc0=_0x48f041[0x2],_0x405ca6=_0x48f041[0x3],_0x29d22f=_0x48f041[0x4],_0x26cbe8=0x0;_0x26cbe8<0x50;_0x26cbe8++){if(_0x26cbe8<0x10)_0x4c591b[_0x26cbe8]=_0x3183aa[_0x23b25f+_0x26cbe8]|0x0;else{var _0x22e8d5=_0x4c591b[_0x26cbe8-0x3]^_0x4c591b[_0x26cbe8-0x8]^_0x4c591b[_0x26cbe8-0xe]^_0x4c591b[_0x26cbe8-0x10];_0x4c591b[_0x26cbe8]=_0x22e8d5<<0x1|_0x22e8d5>>>0x1f;}var _0x5f5b05=(_0x10a292<<0x5|_0x10a292>>>0x1b)+_0x29d22f+_0x4c591b[_0x26cbe8];_0x26cbe8<0x14?_0x5f5b05+=(_0x36d49c&_0x532fc0|~_0x36d49c&_0x405ca6)+0x5a827999:_0x26cbe8<0x28?_0x5f5b05+=(_0x36d49c^_0x532fc0^_0x405ca6)+0x6ed9eba1:_0x26cbe8<0x3c?_0x5f5b05+=(_0x36d49c&_0x532fc0|_0x36d49c&_0x405ca6|_0x532fc0&_0x405ca6)-0x70e44324:_0x5f5b05+=(_0x36d49c^_0x532fc0^_0x405ca6)-0x359d3e2a,_0x29d22f=_0x405ca6,_0x405ca6=_0x532fc0,_0x532fc0=_0x36d49c<<0x1e|_0x36d49c>>>0x2,_0x36d49c=_0x10a292,_0x10a292=_0x5f5b05;}_0x48f041[0x0]=_0x48f041[0x0]+_0x10a292|0x0,_0x48f041[0x1]=_0x48f041[0x1]+_0x36d49c|0x0,_0x48f041[0x2]=_0x48f041[0x2]+_0x532fc0|0x0,_0x48f041[0x3]=_0x48f041[0x3]+_0x405ca6|0x0,_0x48f041[0x4]=_0x48f041[0x4]+_0x29d22f|0x0;},'_doFinalize':function(){const _0x653404=_0x24d6a7;var _0x1d4ee9=this['_data'],_0x27cc81=_0x1d4ee9[_0x653404(0x49f)],_0x42b0b0=this[_0x653404(0x1ea)]*0x8,_0x4f0c6a=_0x1d4ee9[_0x653404(0x512)]*0x8;return _0x27cc81[_0x4f0c6a>>>0x5]|=0x80<<0x18-_0x4f0c6a%0x20,_0x27cc81[(_0x4f0c6a+0x40>>>0x9<<0x4)+0xe]=Math[_0x653404(0x13f)](_0x42b0b0/0x100000000),_0x27cc81[(_0x4f0c6a+0x40>>>0x9<<0x4)+0xf]=_0x42b0b0,_0x1d4ee9[_0x653404(0x512)]=_0x27cc81[_0x653404(0x31e)]*0x4,this['_process'](),this[_0x653404(0x53b)];},'clone':function(){const _0x29b4ce=_0x24d6a7;var _0x2afe7c=_0x5e2617[_0x29b4ce(0x2a0)][_0x29b4ce(0x3a6)](this);return _0x2afe7c['_hash']=this[_0x29b4ce(0x53b)]['clone'](),_0x2afe7c;}});_0x25c7c2[_0x24d6a7(0x4a0)]=_0x5e2617[_0x24d6a7(0x170)](_0x10ff68),_0x25c7c2[_0x24d6a7(0x449)]=_0x5e2617['_createHmacHelper'](_0x10ff68);}()),_0x38da0a[_0x2f5232(0x4a0)];}));}(dt)),dt['exports'];}var ft={'exports':{}},Xt;function Sr(){const _0x176ee5=_0x1cc768;return Xt||(Xt=0x1,function(_0x56621b,_0x45c09e){(function(_0x3e15d1,_0x4e8c90){const _0xd755b4=_0x3a60;_0x56621b[_0xd755b4(0x2b9)]=_0x4e8c90(oe());}(Z,function(_0x565255){(function(){const _0x2fcc08=_0x3a60;var _0x265b8e=_0x565255,_0x144b58=_0x265b8e[_0x2fcc08(0x3d1)],_0x4d3b17=_0x144b58['Base'],_0x1b10a7=_0x265b8e[_0x2fcc08(0x10f)],_0x173fac=_0x1b10a7['Utf8'],_0x208311=_0x265b8e[_0x2fcc08(0x560)];_0x208311[_0x2fcc08(0x28b)]=_0x4d3b17[_0x2fcc08(0x279)]({'init':function(_0x5d7a10,_0x3073a8){const _0x4dfbd0=_0x2fcc08;_0x5d7a10=this['_hasher']=new _0x5d7a10[(_0x4dfbd0(0x518))](),typeof _0x3073a8==_0x4dfbd0(0x103)&&(_0x3073a8=_0x173fac[_0x4dfbd0(0x472)](_0x3073a8));var _0x53750e=_0x5d7a10[_0x4dfbd0(0x1ce)],_0x38e448=_0x53750e*0x4;_0x3073a8[_0x4dfbd0(0x512)]>_0x38e448&&(_0x3073a8=_0x5d7a10[_0x4dfbd0(0x592)](_0x3073a8)),_0x3073a8[_0x4dfbd0(0x3d8)]();for(var _0x2819fa=this[_0x4dfbd0(0x3d9)]=_0x3073a8[_0x4dfbd0(0x2a0)](),_0x2dde89=this['_iKey']=_0x3073a8[_0x4dfbd0(0x2a0)](),_0x4613f7=_0x2819fa[_0x4dfbd0(0x49f)],_0x385fb6=_0x2dde89[_0x4dfbd0(0x49f)],_0x5cb968=0x0;_0x5cb968<_0x53750e;_0x5cb968++)_0x4613f7[_0x5cb968]^=0x5c5c5c5c,_0x385fb6[_0x5cb968]^=0x36363636;_0x2819fa[_0x4dfbd0(0x512)]=_0x2dde89[_0x4dfbd0(0x512)]=_0x38e448,this[_0x4dfbd0(0x383)]();},'reset':function(){const _0x382048=_0x2fcc08;var _0x200eca=this[_0x382048(0x27a)];_0x200eca[_0x382048(0x383)](),_0x200eca[_0x382048(0x2af)](this['_iKey']);},'update':function(_0x23c93b){const _0xda9855=_0x2fcc08;return this[_0xda9855(0x27a)]['update'](_0x23c93b),this;},'finalize':function(_0x40a8f7){const _0x4d4a12=_0x2fcc08;var _0x239fb7=this[_0x4d4a12(0x27a)],_0x2a08aa=_0x239fb7[_0x4d4a12(0x592)](_0x40a8f7);_0x239fb7['reset']();var _0x1b1927=_0x239fb7[_0x4d4a12(0x592)](this[_0x4d4a12(0x3d9)][_0x4d4a12(0x2a0)]()['concat'](_0x2a08aa));return _0x1b1927;}});}());}));}(ft)),ft[_0x176ee5(0x2b9)];}var Jt;function wi(){const _0x1e332b=_0x1cc768;return Jt||(Jt=0x1,function(_0x44ce33,_0x2dc543){(function(_0x99beab,_0x243078,_0x21d47f){const _0x2cc7c6=_0x3a60;_0x44ce33[_0x2cc7c6(0x2b9)]=_0x243078(oe(),vr(),Sr());}(Z,function(_0xe35b75){return(function(){const _0x16120a=_0x3a60;var _0x4b8b39=_0xe35b75,_0x5ae328=_0x4b8b39[_0x16120a(0x3d1)],_0x205db8=_0x5ae328['Base'],_0x4e196b=_0x5ae328[_0x16120a(0x2f5)],_0x243855=_0x4b8b39[_0x16120a(0x560)],_0x3136e3=_0x243855[_0x16120a(0x37f)],_0xea3c4c=_0x243855['EvpKDF']=_0x205db8[_0x16120a(0x279)]({'cfg':_0x205db8[_0x16120a(0x279)]({'keySize':0x80/0x20,'hasher':_0x3136e3,'iterations':0x1}),'init':function(_0x4693b6){const _0x31a136=_0x16120a;this[_0x31a136(0x57d)]=this[_0x31a136(0x57d)]['extend'](_0x4693b6);},'compute':function(_0x4ed451,_0x3ed6ff){const _0x117424=_0x16120a;for(var _0x33416c,_0x4f899d=this[_0x117424(0x57d)],_0x452fe9=_0x4f899d[_0x117424(0x428)]['create'](),_0x3b304a=_0x4e196b[_0x117424(0x337)](),_0x4b28c7=_0x3b304a[_0x117424(0x49f)],_0x3b8050=_0x4f899d[_0x117424(0x2a3)],_0x3a2131=_0x4f899d[_0x117424(0x13b)];_0x4b28c7['length']<_0x3b8050;){_0x33416c&&_0x452fe9[_0x117424(0x2af)](_0x33416c),_0x33416c=_0x452fe9[_0x117424(0x2af)](_0x4ed451)[_0x117424(0x592)](_0x3ed6ff),_0x452fe9[_0x117424(0x383)]();for(var _0x24f51b=0x1;_0x24f51b<_0x3a2131;_0x24f51b++)_0x33416c=_0x452fe9[_0x117424(0x592)](_0x33416c),_0x452fe9[_0x117424(0x383)]();_0x3b304a['concat'](_0x33416c);}return _0x3b304a[_0x117424(0x512)]=_0x3b8050*0x4,_0x3b304a;}});_0x4b8b39[_0x16120a(0x28c)]=function(_0x34bf1b,_0x51c24d,_0x3cbada){const _0x12ce20=_0x16120a;return _0xea3c4c[_0x12ce20(0x337)](_0x3cbada)[_0x12ce20(0x2c8)](_0x34bf1b,_0x51c24d);};}()),_0xe35b75['EvpKDF'];}));}(ut)),ut[_0x1e332b(0x2b9)];}var vt={'exports':{}},Zt;function Ui(){return Zt||(Zt=0x1,function(_0x20be0a,_0x530391){(function(_0x55cda7,_0x1fa4f3,_0x2f3a29){_0x20be0a['exports']=_0x1fa4f3(oe(),wi());}(Z,function(_0x4853ed){const _0x6ec71e=_0x3a60;_0x4853ed[_0x6ec71e(0x3d1)][_0x6ec71e(0x3a8)]||function(_0x16106){const _0x2014a2=_0x6ec71e;var _0x2f0371=_0x4853ed,_0x58e996=_0x2f0371['lib'],_0x1d16a7=_0x58e996[_0x2014a2(0x474)],_0x5677d4=_0x58e996[_0x2014a2(0x2f5)],_0x570148=_0x58e996['BufferedBlockAlgorithm'],_0x577829=_0x2f0371[_0x2014a2(0x10f)];_0x577829['Utf8'];var _0x1b2da3=_0x577829[_0x2014a2(0x444)],_0x39452f=_0x2f0371[_0x2014a2(0x560)],_0x1b2a33=_0x39452f[_0x2014a2(0x28c)],_0x3a495c=_0x58e996[_0x2014a2(0x3a8)]=_0x570148[_0x2014a2(0x279)]({'cfg':_0x1d16a7[_0x2014a2(0x279)](),'createEncryptor':function(_0x8476d9,_0x46a16e){const _0x111b66=_0x2014a2;return this[_0x111b66(0x337)](this['_ENC_XFORM_MODE'],_0x8476d9,_0x46a16e);},'createDecryptor':function(_0x1d9f85,_0x203df7){const _0x470a02=_0x2014a2;return this['create'](this[_0x470a02(0x27f)],_0x1d9f85,_0x203df7);},'init':function(_0x1439af,_0x425dd5,_0x33358f){const _0x5d88b7=_0x2014a2;this[_0x5d88b7(0x57d)]=this[_0x5d88b7(0x57d)][_0x5d88b7(0x279)](_0x33358f),this[_0x5d88b7(0x16f)]=_0x1439af,this['_key']=_0x425dd5,this[_0x5d88b7(0x383)]();},'reset':function(){const _0x33a2f6=_0x2014a2;_0x570148[_0x33a2f6(0x383)][_0x33a2f6(0x3a6)](this),this[_0x33a2f6(0x47c)]();},'process':function(_0x4492e9){const _0x590ee8=_0x2014a2;return this[_0x590ee8(0x458)](_0x4492e9),this[_0x590ee8(0x48c)]();},'finalize':function(_0x563b0b){const _0x3bd70d=_0x2014a2;_0x563b0b&&this[_0x3bd70d(0x458)](_0x563b0b);var _0xd890a6=this[_0x3bd70d(0x411)]();return _0xd890a6;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x553de3(_0x111650){return typeof _0x111650=='string'?_0x4a0c60:_0x30aea8;}return function(_0x413099){return{'encrypt':function(_0x5a49ef,_0x20fc65,_0x5a4927){return _0x553de3(_0x20fc65)['encrypt'](_0x413099,_0x5a49ef,_0x20fc65,_0x5a4927);},'decrypt':function(_0x1b007d,_0x280a08,_0x7e6743){const _0x3fb173=_0x3a60;return _0x553de3(_0x280a08)[_0x3fb173(0x4d5)](_0x413099,_0x1b007d,_0x280a08,_0x7e6743);}};};}())});_0x58e996['StreamCipher']=_0x3a495c[_0x2014a2(0x279)]({'_doFinalize':function(){const _0x427eb3=_0x2014a2;var _0x1f412c=this[_0x427eb3(0x48c)](!0x0);return _0x1f412c;},'blockSize':0x1});var _0x4ed7a0=_0x2f0371[_0x2014a2(0x361)]={},_0x36fca6=_0x58e996['BlockCipherMode']=_0x1d16a7['extend']({'createEncryptor':function(_0x4ece70,_0x4c92ae){const _0x2b5fac=_0x2014a2;return this[_0x2b5fac(0x43b)]['create'](_0x4ece70,_0x4c92ae);},'createDecryptor':function(_0x159b18,_0x31bc39){const _0x225d76=_0x2014a2;return this[_0x225d76(0x2fb)][_0x225d76(0x337)](_0x159b18,_0x31bc39);},'init':function(_0x22b815,_0x1d4e40){const _0x55e121=_0x2014a2;this[_0x55e121(0x39a)]=_0x22b815,this[_0x55e121(0x546)]=_0x1d4e40;}}),_0x3cd79d=_0x4ed7a0['CBC']=(function(){const _0x539e67=_0x2014a2;var _0x35b57f=_0x36fca6[_0x539e67(0x279)]();_0x35b57f[_0x539e67(0x43b)]=_0x35b57f[_0x539e67(0x279)]({'processBlock':function(_0x269d0c,_0x4abe80){const _0x564bc5=_0x539e67;var _0x307f87=this['_cipher'],_0x23ac10=_0x307f87[_0x564bc5(0x1ce)];_0x7c61a1[_0x564bc5(0x3a6)](this,_0x269d0c,_0x4abe80,_0x23ac10),_0x307f87[_0x564bc5(0x204)](_0x269d0c,_0x4abe80),this[_0x564bc5(0x2d0)]=_0x269d0c[_0x564bc5(0x158)](_0x4abe80,_0x4abe80+_0x23ac10);}}),_0x35b57f[_0x539e67(0x2fb)]=_0x35b57f[_0x539e67(0x279)]({'processBlock':function(_0x3cbd82,_0x4d7125){const _0x4f2da0=_0x539e67;var _0x4106e2=this[_0x4f2da0(0x39a)],_0x334508=_0x4106e2[_0x4f2da0(0x1ce)],_0x47e60b=_0x3cbd82['slice'](_0x4d7125,_0x4d7125+_0x334508);_0x4106e2[_0x4f2da0(0x324)](_0x3cbd82,_0x4d7125),_0x7c61a1[_0x4f2da0(0x3a6)](this,_0x3cbd82,_0x4d7125,_0x334508),this[_0x4f2da0(0x2d0)]=_0x47e60b;}});function _0x7c61a1(_0x30dabc,_0xb09a6b,_0x58d1c3){const _0x19f7b7=_0x539e67;var _0x43f031,_0x33493b=this[_0x19f7b7(0x546)];_0x33493b?(_0x43f031=_0x33493b,this['_iv']=_0x16106):_0x43f031=this[_0x19f7b7(0x2d0)];for(var _0x2e265f=0x0;_0x2e265f<_0x58d1c3;_0x2e265f++)_0x30dabc[_0xb09a6b+_0x2e265f]^=_0x43f031[_0x2e265f];}return _0x35b57f;}()),_0x270615=_0x2f0371[_0x2014a2(0x3bc)]={},_0x422015=_0x270615[_0x2014a2(0x1d9)]={'pad':function(_0x517d76,_0x513954){const _0x5d2bda=_0x2014a2;for(var _0x6dfce6=_0x513954*0x4,_0xf3638a=_0x6dfce6-_0x517d76[_0x5d2bda(0x512)]%_0x6dfce6,_0x1f9326=_0xf3638a<<0x18|_0xf3638a<<0x10|_0xf3638a<<0x8|_0xf3638a,_0x273d9b=[],_0x2bbf53=0x0;_0x2bbf53<_0xf3638a;_0x2bbf53+=0x4)_0x273d9b[_0x5d2bda(0x102)](_0x1f9326);var _0xca81c=_0x5677d4[_0x5d2bda(0x337)](_0x273d9b,_0xf3638a);_0x517d76[_0x5d2bda(0x276)](_0xca81c);},'unpad':function(_0x706761){const _0x12b158=_0x2014a2;var _0x143873=_0x706761[_0x12b158(0x49f)][_0x706761[_0x12b158(0x512)]-0x1>>>0x2]&0xff;_0x706761['sigBytes']-=_0x143873;}};_0x58e996[_0x2014a2(0x2b0)]=_0x3a495c[_0x2014a2(0x279)]({'cfg':_0x3a495c[_0x2014a2(0x57d)][_0x2014a2(0x279)]({'mode':_0x3cd79d,'padding':_0x422015}),'reset':function(){const _0x4bc45e=_0x2014a2;var _0x2a43c6;_0x3a495c['reset']['call'](this);var _0x3beb0f=this[_0x4bc45e(0x57d)],_0x23f82a=_0x3beb0f['iv'],_0x5616b7=_0x3beb0f['mode'];this['_xformMode']==this[_0x4bc45e(0x48b)]?_0x2a43c6=_0x5616b7[_0x4bc45e(0x10e)]:(_0x2a43c6=_0x5616b7['createDecryptor'],this[_0x4bc45e(0x110)]=0x1),this[_0x4bc45e(0x553)]&&this['_mode'][_0x4bc45e(0x11d)]==_0x2a43c6?this['_mode'][_0x4bc45e(0x518)](this,_0x23f82a&&_0x23f82a[_0x4bc45e(0x49f)]):(this['_mode']=_0x2a43c6[_0x4bc45e(0x3a6)](_0x5616b7,this,_0x23f82a&&_0x23f82a['words']),this['_mode'][_0x4bc45e(0x11d)]=_0x2a43c6);},'_doProcessBlock':function(_0x4c784a,_0x4a4d76){const _0x6a8b01=_0x2014a2;this[_0x6a8b01(0x553)][_0x6a8b01(0x178)](_0x4c784a,_0x4a4d76);},'_doFinalize':function(){const _0x1b38dc=_0x2014a2;var _0x2ba9a0,_0x347e31=this[_0x1b38dc(0x57d)]['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x347e31[_0x1b38dc(0x3bc)](this[_0x1b38dc(0x23f)],this['blockSize']),_0x2ba9a0=this['_process'](!0x0)):(_0x2ba9a0=this[_0x1b38dc(0x48c)](!0x0),_0x347e31[_0x1b38dc(0x4d1)](_0x2ba9a0)),_0x2ba9a0;},'blockSize':0x80/0x20});var _0x50dddc=_0x58e996[_0x2014a2(0x3f9)]=_0x1d16a7[_0x2014a2(0x279)]({'init':function(_0x4cedf5){const _0x3498aa=_0x2014a2;this[_0x3498aa(0x399)](_0x4cedf5);},'toString':function(_0x15294d){const _0x299520=_0x2014a2;return(_0x15294d||this['formatter'])[_0x299520(0x236)](this);}}),_0x70de26=_0x2f0371[_0x2014a2(0x363)]={},_0x41b5d7=_0x70de26['OpenSSL']={'stringify':function(_0x5dfc76){const _0x197211=_0x2014a2;var _0x1e5237,_0x4c520=_0x5dfc76[_0x197211(0x466)],_0x140350=_0x5dfc76[_0x197211(0x303)];return _0x140350?_0x1e5237=_0x5677d4[_0x197211(0x337)]([0x53616c74,0x65645f5f])[_0x197211(0x276)](_0x140350)[_0x197211(0x276)](_0x4c520):_0x1e5237=_0x4c520,_0x1e5237[_0x197211(0x3df)](_0x1b2da3);},'parse':function(_0x199001){const _0x33e225=_0x2014a2;var _0x447901,_0x4b6648=_0x1b2da3[_0x33e225(0x472)](_0x199001),_0x494615=_0x4b6648[_0x33e225(0x49f)];return _0x494615[0x0]==0x53616c74&&_0x494615[0x1]==0x65645f5f&&(_0x447901=_0x5677d4['create'](_0x494615[_0x33e225(0x158)](0x2,0x4)),_0x494615['splice'](0x0,0x4),_0x4b6648[_0x33e225(0x512)]-=0x10),_0x50dddc[_0x33e225(0x337)]({'ciphertext':_0x4b6648,'salt':_0x447901});}},_0x30aea8=_0x58e996[_0x2014a2(0x159)]=_0x1d16a7[_0x2014a2(0x279)]({'cfg':_0x1d16a7['extend']({'format':_0x41b5d7}),'encrypt':function(_0x3a2b24,_0x499c5b,_0x233622,_0x760576){const _0x255120=_0x2014a2;_0x760576=this['cfg'][_0x255120(0x279)](_0x760576);var _0x11acb7=_0x3a2b24[_0x255120(0x10e)](_0x233622,_0x760576),_0x27a6fb=_0x11acb7[_0x255120(0x592)](_0x499c5b),_0x4e24f1=_0x11acb7[_0x255120(0x57d)];return _0x50dddc[_0x255120(0x337)]({'ciphertext':_0x27a6fb,'key':_0x233622,'iv':_0x4e24f1['iv'],'algorithm':_0x3a2b24,'mode':_0x4e24f1[_0x255120(0x361)],'padding':_0x4e24f1[_0x255120(0x4bf)],'blockSize':_0x3a2b24[_0x255120(0x1ce)],'formatter':_0x760576['format']});},'decrypt':function(_0xc2bc50,_0x5635e4,_0x3f6d4d,_0x4b6ff9){const _0x21e296=_0x2014a2;_0x4b6ff9=this['cfg']['extend'](_0x4b6ff9),_0x5635e4=this[_0x21e296(0x350)](_0x5635e4,_0x4b6ff9[_0x21e296(0x363)]);var _0x376c72=_0xc2bc50[_0x21e296(0x116)](_0x3f6d4d,_0x4b6ff9)[_0x21e296(0x592)](_0x5635e4[_0x21e296(0x466)]);return _0x376c72;},'_parse':function(_0x5f0bd8,_0x4fd46f){const _0x4fa6a1=_0x2014a2;return typeof _0x5f0bd8==_0x4fa6a1(0x103)?_0x4fd46f[_0x4fa6a1(0x472)](_0x5f0bd8,this):_0x5f0bd8;}}),_0x336ca8=_0x2f0371[_0x2014a2(0x32d)]={},_0x4b0ce8=_0x336ca8[_0x2014a2(0x16c)]={'execute':function(_0x5af28f,_0x531b41,_0x1caea9,_0x156565,_0x562c2d){const _0xb56aee=_0x2014a2;if(_0x156565||(_0x156565=_0x5677d4[_0xb56aee(0x454)](0x40/0x8)),_0x562c2d)var _0x98793d=_0x1b2a33['create']({'keySize':_0x531b41+_0x1caea9,'hasher':_0x562c2d})[_0xb56aee(0x2c8)](_0x5af28f,_0x156565);else var _0x98793d=_0x1b2a33[_0xb56aee(0x337)]({'keySize':_0x531b41+_0x1caea9})[_0xb56aee(0x2c8)](_0x5af28f,_0x156565);var _0x6cfa21=_0x5677d4[_0xb56aee(0x337)](_0x98793d[_0xb56aee(0x49f)][_0xb56aee(0x158)](_0x531b41),_0x1caea9*0x4);return _0x98793d[_0xb56aee(0x512)]=_0x531b41*0x4,_0x50dddc[_0xb56aee(0x337)]({'key':_0x98793d,'iv':_0x6cfa21,'salt':_0x156565});}},_0x4a0c60=_0x58e996['PasswordBasedCipher']=_0x30aea8['extend']({'cfg':_0x30aea8[_0x2014a2(0x57d)][_0x2014a2(0x279)]({'kdf':_0x4b0ce8}),'encrypt':function(_0x4ff7a9,_0x3c6eda,_0x4d6797,_0x24279e){const _0x5cbba9=_0x2014a2;_0x24279e=this[_0x5cbba9(0x57d)][_0x5cbba9(0x279)](_0x24279e);var _0x7b5f34=_0x24279e[_0x5cbba9(0x32d)][_0x5cbba9(0x34b)](_0x4d6797,_0x4ff7a9[_0x5cbba9(0x2a3)],_0x4ff7a9[_0x5cbba9(0x205)],_0x24279e[_0x5cbba9(0x303)],_0x24279e[_0x5cbba9(0x428)]);_0x24279e['iv']=_0x7b5f34['iv'];var _0xb5e3ff=_0x30aea8[_0x5cbba9(0x588)][_0x5cbba9(0x3a6)](this,_0x4ff7a9,_0x3c6eda,_0x7b5f34[_0x5cbba9(0x3ba)],_0x24279e);return _0xb5e3ff[_0x5cbba9(0x399)](_0x7b5f34),_0xb5e3ff;},'decrypt':function(_0x21a8e3,_0x3e849,_0x32564e,_0x631957){const _0x403e05=_0x2014a2;_0x631957=this['cfg'][_0x403e05(0x279)](_0x631957),_0x3e849=this[_0x403e05(0x350)](_0x3e849,_0x631957[_0x403e05(0x363)]);var _0x56a3ad=_0x631957[_0x403e05(0x32d)][_0x403e05(0x34b)](_0x32564e,_0x21a8e3[_0x403e05(0x2a3)],_0x21a8e3[_0x403e05(0x205)],_0x3e849[_0x403e05(0x303)],_0x631957['hasher']);_0x631957['iv']=_0x56a3ad['iv'];var _0x291984=_0x30aea8['decrypt']['call'](this,_0x21a8e3,_0x3e849,_0x56a3ad[_0x403e05(0x3ba)],_0x631957);return _0x291984;}});}();}));}(vt)),vt['exports'];}(function(_0x56edcf,_0x1124f9){(function(_0x4cccb1,_0x32fcfe,_0x2afb2b){_0x56edcf['exports']=_0x32fcfe(oe(),Pi(),fr(),wi(),Ui());}(Z,function(_0x1cdd71){const _0x56fbac=_0x3a60;return(function(){const _0x377c1f=_0x3a60;var _0x49f35f=_0x1cdd71,_0x58c594=_0x49f35f[_0x377c1f(0x3d1)],_0x41e90d=_0x58c594[_0x377c1f(0x2b0)],_0x4952f8=_0x49f35f[_0x377c1f(0x560)],_0x145fd5=[],_0x4d7e90=[],_0x466535=[],_0xe3f5e4=[],_0xf7ec76=[],_0x5d8f74=[],_0x1d61f7=[],_0x5bee5e=[],_0x4ad22e=[],_0x385957=[];(function(){for(var _0x270e73=[],_0x4de552=0x0;_0x4de552<0x100;_0x4de552++)_0x4de552<0x80?_0x270e73[_0x4de552]=_0x4de552<<0x1:_0x270e73[_0x4de552]=_0x4de552<<0x1^0x11b;for(var _0x1746fb=0x0,_0x4f18ad=0x0,_0x4de552=0x0;_0x4de552<0x100;_0x4de552++){var _0x2401bb=_0x4f18ad^_0x4f18ad<<0x1^_0x4f18ad<<0x2^_0x4f18ad<<0x3^_0x4f18ad<<0x4;_0x2401bb=_0x2401bb>>>0x8^_0x2401bb&0xff^0x63,_0x145fd5[_0x1746fb]=_0x2401bb,_0x4d7e90[_0x2401bb]=_0x1746fb;var _0x2f24b5=_0x270e73[_0x1746fb],_0x32ebf3=_0x270e73[_0x2f24b5],_0x5e3836=_0x270e73[_0x32ebf3],_0x3e91f3=_0x270e73[_0x2401bb]*0x101^_0x2401bb*0x1010100;_0x466535[_0x1746fb]=_0x3e91f3<<0x18|_0x3e91f3>>>0x8,_0xe3f5e4[_0x1746fb]=_0x3e91f3<<0x10|_0x3e91f3>>>0x10,_0xf7ec76[_0x1746fb]=_0x3e91f3<<0x8|_0x3e91f3>>>0x18,_0x5d8f74[_0x1746fb]=_0x3e91f3;var _0x3e91f3=_0x5e3836*0x1010101^_0x32ebf3*0x10001^_0x2f24b5*0x101^_0x1746fb*0x1010100;_0x1d61f7[_0x2401bb]=_0x3e91f3<<0x18|_0x3e91f3>>>0x8,_0x5bee5e[_0x2401bb]=_0x3e91f3<<0x10|_0x3e91f3>>>0x10,_0x4ad22e[_0x2401bb]=_0x3e91f3<<0x8|_0x3e91f3>>>0x18,_0x385957[_0x2401bb]=_0x3e91f3,_0x1746fb?(_0x1746fb=_0x2f24b5^_0x270e73[_0x270e73[_0x270e73[_0x5e3836^_0x2f24b5]]],_0x4f18ad^=_0x270e73[_0x270e73[_0x4f18ad]]):_0x1746fb=_0x4f18ad=0x1;}}());var _0x48e1de=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2a4f50=_0x4952f8[_0x377c1f(0x14e)]=_0x41e90d[_0x377c1f(0x279)]({'_doReset':function(){const _0x56edd9=_0x377c1f;var _0x35e4c0;if(!(this[_0x56edd9(0x211)]&&this[_0x56edd9(0x471)]===this[_0x56edd9(0x3e6)])){for(var _0xe44d92=this[_0x56edd9(0x471)]=this[_0x56edd9(0x3e6)],_0x46270d=_0xe44d92[_0x56edd9(0x49f)],_0x1265e0=_0xe44d92[_0x56edd9(0x512)]/0x4,_0x585f6a=this[_0x56edd9(0x211)]=_0x1265e0+0x6,_0x4af175=(_0x585f6a+0x1)*0x4,_0x524bd2=this[_0x56edd9(0x26a)]=[],_0x5cf807=0x0;_0x5cf807<_0x4af175;_0x5cf807++)_0x5cf807<_0x1265e0?_0x524bd2[_0x5cf807]=_0x46270d[_0x5cf807]:(_0x35e4c0=_0x524bd2[_0x5cf807-0x1],_0x5cf807%_0x1265e0?_0x1265e0>0x6&&_0x5cf807%_0x1265e0==0x4&&(_0x35e4c0=_0x145fd5[_0x35e4c0>>>0x18]<<0x18|_0x145fd5[_0x35e4c0>>>0x10&0xff]<<0x10|_0x145fd5[_0x35e4c0>>>0x8&0xff]<<0x8|_0x145fd5[_0x35e4c0&0xff]):(_0x35e4c0=_0x35e4c0<<0x8|_0x35e4c0>>>0x18,_0x35e4c0=_0x145fd5[_0x35e4c0>>>0x18]<<0x18|_0x145fd5[_0x35e4c0>>>0x10&0xff]<<0x10|_0x145fd5[_0x35e4c0>>>0x8&0xff]<<0x8|_0x145fd5[_0x35e4c0&0xff],_0x35e4c0^=_0x48e1de[_0x5cf807/_0x1265e0|0x0]<<0x18),_0x524bd2[_0x5cf807]=_0x524bd2[_0x5cf807-_0x1265e0]^_0x35e4c0);for(var _0x9b0535=this[_0x56edd9(0x4d3)]=[],_0x4a4022=0x0;_0x4a4022<_0x4af175;_0x4a4022++){var _0x5cf807=_0x4af175-_0x4a4022;if(_0x4a4022%0x4)var _0x35e4c0=_0x524bd2[_0x5cf807];else var _0x35e4c0=_0x524bd2[_0x5cf807-0x4];_0x4a4022<0x4||_0x5cf807<=0x4?_0x9b0535[_0x4a4022]=_0x35e4c0:_0x9b0535[_0x4a4022]=_0x1d61f7[_0x145fd5[_0x35e4c0>>>0x18]]^_0x5bee5e[_0x145fd5[_0x35e4c0>>>0x10&0xff]]^_0x4ad22e[_0x145fd5[_0x35e4c0>>>0x8&0xff]]^_0x385957[_0x145fd5[_0x35e4c0&0xff]];}}},'encryptBlock':function(_0x1d0f6a,_0x479bdf){const _0x13b976=_0x377c1f;this[_0x13b976(0x2a9)](_0x1d0f6a,_0x479bdf,this[_0x13b976(0x26a)],_0x466535,_0xe3f5e4,_0xf7ec76,_0x5d8f74,_0x145fd5);},'decryptBlock':function(_0x1fdef7,_0x42f580){const _0x5412d3=_0x377c1f;var _0x50f7a0=_0x1fdef7[_0x42f580+0x1];_0x1fdef7[_0x42f580+0x1]=_0x1fdef7[_0x42f580+0x3],_0x1fdef7[_0x42f580+0x3]=_0x50f7a0,this[_0x5412d3(0x2a9)](_0x1fdef7,_0x42f580,this[_0x5412d3(0x4d3)],_0x1d61f7,_0x5bee5e,_0x4ad22e,_0x385957,_0x4d7e90);var _0x50f7a0=_0x1fdef7[_0x42f580+0x1];_0x1fdef7[_0x42f580+0x1]=_0x1fdef7[_0x42f580+0x3],_0x1fdef7[_0x42f580+0x3]=_0x50f7a0;},'_doCryptBlock':function(_0x43dac1,_0x14bbbb,_0x1b3c3e,_0xdbe6bd,_0x531e50,_0x4a4b89,_0x5b9ca1,_0xff2d90){const _0x596ade=_0x377c1f;for(var _0x13d973=this[_0x596ade(0x211)],_0x30696e=_0x43dac1[_0x14bbbb]^_0x1b3c3e[0x0],_0x47e90b=_0x43dac1[_0x14bbbb+0x1]^_0x1b3c3e[0x1],_0x4e77dc=_0x43dac1[_0x14bbbb+0x2]^_0x1b3c3e[0x2],_0x2bbf62=_0x43dac1[_0x14bbbb+0x3]^_0x1b3c3e[0x3],_0x138ea7=0x4,_0x4eeed1=0x1;_0x4eeed1<_0x13d973;_0x4eeed1++){var _0x16d6b9=_0xdbe6bd[_0x30696e>>>0x18]^_0x531e50[_0x47e90b>>>0x10&0xff]^_0x4a4b89[_0x4e77dc>>>0x8&0xff]^_0x5b9ca1[_0x2bbf62&0xff]^_0x1b3c3e[_0x138ea7++],_0x98db34=_0xdbe6bd[_0x47e90b>>>0x18]^_0x531e50[_0x4e77dc>>>0x10&0xff]^_0x4a4b89[_0x2bbf62>>>0x8&0xff]^_0x5b9ca1[_0x30696e&0xff]^_0x1b3c3e[_0x138ea7++],_0x2575ee=_0xdbe6bd[_0x4e77dc>>>0x18]^_0x531e50[_0x2bbf62>>>0x10&0xff]^_0x4a4b89[_0x30696e>>>0x8&0xff]^_0x5b9ca1[_0x47e90b&0xff]^_0x1b3c3e[_0x138ea7++],_0x20bd61=_0xdbe6bd[_0x2bbf62>>>0x18]^_0x531e50[_0x30696e>>>0x10&0xff]^_0x4a4b89[_0x47e90b>>>0x8&0xff]^_0x5b9ca1[_0x4e77dc&0xff]^_0x1b3c3e[_0x138ea7++];_0x30696e=_0x16d6b9,_0x47e90b=_0x98db34,_0x4e77dc=_0x2575ee,_0x2bbf62=_0x20bd61;}var _0x16d6b9=(_0xff2d90[_0x30696e>>>0x18]<<0x18|_0xff2d90[_0x47e90b>>>0x10&0xff]<<0x10|_0xff2d90[_0x4e77dc>>>0x8&0xff]<<0x8|_0xff2d90[_0x2bbf62&0xff])^_0x1b3c3e[_0x138ea7++],_0x98db34=(_0xff2d90[_0x47e90b>>>0x18]<<0x18|_0xff2d90[_0x4e77dc>>>0x10&0xff]<<0x10|_0xff2d90[_0x2bbf62>>>0x8&0xff]<<0x8|_0xff2d90[_0x30696e&0xff])^_0x1b3c3e[_0x138ea7++],_0x2575ee=(_0xff2d90[_0x4e77dc>>>0x18]<<0x18|_0xff2d90[_0x2bbf62>>>0x10&0xff]<<0x10|_0xff2d90[_0x30696e>>>0x8&0xff]<<0x8|_0xff2d90[_0x47e90b&0xff])^_0x1b3c3e[_0x138ea7++],_0x20bd61=(_0xff2d90[_0x2bbf62>>>0x18]<<0x18|_0xff2d90[_0x30696e>>>0x10&0xff]<<0x10|_0xff2d90[_0x47e90b>>>0x8&0xff]<<0x8|_0xff2d90[_0x4e77dc&0xff])^_0x1b3c3e[_0x138ea7++];_0x43dac1[_0x14bbbb]=_0x16d6b9,_0x43dac1[_0x14bbbb+0x1]=_0x98db34,_0x43dac1[_0x14bbbb+0x2]=_0x2575ee,_0x43dac1[_0x14bbbb+0x3]=_0x20bd61;},'keySize':0x100/0x20});_0x49f35f[_0x377c1f(0x14e)]=_0x41e90d[_0x377c1f(0x170)](_0x2a4f50);}()),_0x1cdd71[_0x56fbac(0x14e)];}));}(Di));var pr=Di[_0x1cc768(0x2b9)];const mr=xe(pr);var gr=Pi();const Qt=xe(gr);var Mi={'exports':{}};(function(_0x44084c,_0x18e092){(function(_0x1d067a,_0x44a5dc){const _0x380ed3=_0x3a60;_0x44084c[_0x380ed3(0x2b9)]=_0x44a5dc(oe());}(Z,function(_0x41b65a){const _0x12c294=_0x3a60;return _0x41b65a[_0x12c294(0x10f)][_0x12c294(0x31d)];}));}(Mi));var Ir=Mi[_0x1cc768(0x2b9)];const Cr=xe(Ir);var Ai={'exports':{}};(function(_0x5edcd9,_0x269961){(function(_0x27ef59,_0x221b1b){const _0x10790a=_0x3a60;_0x5edcd9[_0x10790a(0x2b9)]=_0x221b1b(oe());}(Z,function(_0x270aad){const _0xe86a9b=_0x3a60;return(function(){const _0x2e9be2=_0x3a60;if(typeof ArrayBuffer==_0x2e9be2(0x5c6)){var _0x47e7a8=_0x270aad,_0x25d790=_0x47e7a8[_0x2e9be2(0x3d1)],_0x4f7c05=_0x25d790[_0x2e9be2(0x2f5)],_0x1e2689=_0x4f7c05[_0x2e9be2(0x518)],_0x532b93=_0x4f7c05[_0x2e9be2(0x518)]=function(_0x23d75b){const _0x38c343=_0x2e9be2;if(_0x23d75b instanceof ArrayBuffer&&(_0x23d75b=new Uint8Array(_0x23d75b)),(_0x23d75b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x23d75b instanceof Uint8ClampedArray||_0x23d75b instanceof Int16Array||_0x23d75b instanceof Uint16Array||_0x23d75b instanceof Int32Array||_0x23d75b instanceof Uint32Array||_0x23d75b instanceof Float32Array||_0x23d75b instanceof Float64Array)&&(_0x23d75b=new Uint8Array(_0x23d75b[_0x38c343(0x563)],_0x23d75b[_0x38c343(0x402)],_0x23d75b[_0x38c343(0x4c9)])),_0x23d75b instanceof Uint8Array){for(var _0x786d1f=_0x23d75b[_0x38c343(0x4c9)],_0x3b9c8a=[],_0x305448=0x0;_0x305448<_0x786d1f;_0x305448++)_0x3b9c8a[_0x305448>>>0x2]|=_0x23d75b[_0x305448]<<0x18-_0x305448%0x4*0x8;_0x1e2689['call'](this,_0x3b9c8a,_0x786d1f);}else _0x1e2689[_0x38c343(0x119)](this,arguments);};_0x532b93[_0x2e9be2(0x396)]=_0x4f7c05;}}()),_0x270aad[_0xe86a9b(0x3d1)][_0xe86a9b(0x2f5)];}));}(Ai));var Er=Ai[_0x1cc768(0x2b9)];const br=xe(Er);var Ni={'exports':{}};(function(_0x253646,_0x541f11){(function(_0x3a02e9,_0x5f4cf2,_0x2a04bd){const _0x4e3ce9=_0x3a60;_0x253646[_0x4e3ce9(0x2b9)]=_0x5f4cf2(oe(),Ui());}(Z,function(_0x3b49db){const _0x143bcb=_0x3a60;return _0x3b49db['pad'][_0x143bcb(0x190)]={'pad':function(){},'unpad':function(){}},_0x3b49db[_0x143bcb(0x3bc)][_0x143bcb(0x190)];}));}(Ni));var Tr=Ni['exports'];const Rr=xe(Tr);function yr(_0x53f593,_0xc1a3a8){const _0x2930e8=_0x1cc768,_0x1586ed=_0xc1a3a8-_0x53f593[_0x2930e8(0x31e)]%_0xc1a3a8,_0x34ae15=String['fromCharCode'](_0x1586ed)['repeat'](_0x1586ed);return _0x53f593+_0x34ae15;}function Or(_0x11ad18,_0x4b6b9c){const _0x56c8e5=_0x1cc768,_0x21253c=br['random'](0x10),_0x20510f=yr(_0x11ad18,0x10),_0x5aeb80=mr[_0x56c8e5(0x588)](Cr[_0x56c8e5(0x472)](_0x20510f),Qt['parse'](_0x4b6b9c),{'iv':_0x21253c,'padding':Rr});return _0x21253c[_0x56c8e5(0x276)](_0x5aeb80[_0x56c8e5(0x466)])[_0x56c8e5(0x3df)](Qt);}function Dr(){const _0x2edcdd=_0x1cc768,_0x358b76=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x2edcdd(0x2b3)];if(_0x358b76){const _0x3b0ff3={'time':Math[_0x2edcdd(0x13f)](Date['now']()/0x3e8),'domain':location[_0x2edcdd(0x4bb)]};return Or(JSON[_0x2edcdd(0x236)](_0x3b0ff3),_0x358b76);}}var Pr=Object[_0x1cc768(0x244)],wr=Object[_0x1cc768(0x263)],Ur=(_0x2c1d8c,_0x245715,_0x51e3d8,_0x544d22)=>{const _0xac8388=_0x1cc768;for(var _0x2d0c18=_0x544d22>0x1?void 0x0:_0x544d22?wr(_0x245715,_0x51e3d8):_0x245715,_0x3020c6=_0x2c1d8c[_0xac8388(0x31e)]-0x1,_0xe90b9c;_0x3020c6>=0x0;_0x3020c6--)(_0xe90b9c=_0x2c1d8c[_0x3020c6])&&(_0x2d0c18=(_0x544d22?_0xe90b9c(_0x245715,_0x51e3d8,_0x2d0c18):_0xe90b9c(_0x2d0c18))||_0x2d0c18);return _0x544d22&&_0x2d0c18&&Pr(_0x245715,_0x51e3d8,_0x2d0c18),_0x2d0c18;},Mr=(_0x312c93,_0x10d228)=>(_0x40802d,_0x4f9229)=>_0x10d228(_0x40802d,_0x4f9229,_0x312c93);let Ke=class{constructor(_0x282224){const _0x5a7f1b=_0x1cc768;this[_0x5a7f1b(0x2d5)]=_0x282224,this[_0x5a7f1b(0x42b)]();}[_0x1cc768(0x42b)](){const _0x4a0f01=_0x1cc768;this[_0x4a0f01(0x2d5)][_0x4a0f01(0x53d)]({'interceptor':(_0x4d0e49,_0x4aece0)=>{const _0x56b16f=_0x4a0f01,_0x242776=_0x4d0e49[_0x56b16f(0x351)],_0x2eab8a=Dr();return _0x2eab8a&&_0x242776[_0x56b16f(0x31f)](_0x56b16f(0x4e4),_0x2eab8a),_0x4aece0(_0x4d0e49);}});}};Ke=Ur([Mr(0x0,a[_0x1cc768(0x2ca)](z['HTTPService']))],Ke);var Ar=Object[_0x1cc768(0x244)],Nr=Object[_0x1cc768(0x263)],Lr=(_0x39b2e0,_0x2fd6ca,_0x6dc695,_0x6a57c7)=>{const _0x3b50e5=_0x1cc768;for(var _0x3e5ee6=_0x6a57c7>0x1?void 0x0:_0x6a57c7?Nr(_0x2fd6ca,_0x6dc695):_0x2fd6ca,_0x463f70=_0x39b2e0[_0x3b50e5(0x31e)]-0x1,_0x2d061d;_0x463f70>=0x0;_0x463f70--)(_0x2d061d=_0x39b2e0[_0x463f70])&&(_0x3e5ee6=(_0x6a57c7?_0x2d061d(_0x2fd6ca,_0x6dc695,_0x3e5ee6):_0x2d061d(_0x3e5ee6))||_0x3e5ee6);return _0x6a57c7&&_0x3e5ee6&&Ar(_0x2fd6ca,_0x6dc695,_0x3e5ee6),_0x3e5ee6;},St=(_0x4ec93a,_0x2a05a8)=>(_0x3a203d,_0x1cd987)=>_0x2a05a8(_0x3a203d,_0x1cd987,_0x4ec93a);const xr=[_0x1cc768(0x1ee),'image/jpeg',_0x1cc768(0x511),_0x1cc768(0x15a),_0x1cc768(0x490)],jr=0x5*0x400*0x400,$r='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Hr=_0x1cc768(0x192),Br=_0x1cc768(0x419),kr=_0x1cc768(0x3ae);exports[_0x1cc768(0x2d4)]=class{constructor(_0x348b29,_0x50c3fb,_0x4b5788){const _0x392ccf=_0x1cc768;I(this,_0x392ccf(0x513),0x0),I(this,'_change$',new A[(_0x392ccf(0x3f0))]()),I(this,_0x392ccf(0x5d1),this[_0x392ccf(0x56e)]),I(this,_0x392ccf(0x514),new Map()),(this['_httpService']=_0x348b29,this[_0x392ccf(0x2c0)]=_0x50c3fb,this[_0x392ccf(0x114)]=_0x4b5788);}[_0x1cc768(0x1c2)](_0x1821ea){const _0xa835b6=_0x1cc768;this[_0xa835b6(0x513)]=_0x1821ea,this[_0xa835b6(0x56e)][_0xa835b6(0x122)](_0x1821ea);}[_0x1cc768(0x29a)](_0x547dfd,_0x3244b1){const _0x7350c6=_0x1cc768;if(_0x3244b1===ie[_0x7350c6(0x21d)][_0x7350c6(0x344)]){const _0x45ca85=new Image();return _0x45ca85['src']=_0x547dfd,_0x45ca85;}return this[_0x7350c6(0x514)][_0x7350c6(0x4f7)](_0x547dfd);}[_0x1cc768(0x30c)](_0x6ade91,_0x1342b6,_0x319d84){const _0x3fc871=_0x1cc768;_0x1342b6===ie[_0x3fc871(0x21d)][_0x3fc871(0x344)]||_0x319d84==null||this['_imageSourceCache']['set'](_0x6ade91,_0x319d84);}async[_0x1cc768(0x167)](_0x54dffd){const _0xbccf62=_0x1cc768;try{const _0x4a6589=this[_0xbccf62(0x469)](this['_getSignURL'](),''+_0x54dffd),_0x661a57=(await this['_httpService'][_0xbccf62(0x4f7)](_0x4a6589))['body'];if(_0x661a57[_0xbccf62(0x1c4)]&&_0x661a57[_0xbccf62(0x1c4)][_0xbccf62(0x26d)]===_i['OK']){const _0x1060b4=new URL(_0x661a57[_0xbccf62(0x539)],this['_getDownloadEndpointURL']())[_0xbccf62(0x3df)]();return Promise['resolve'](_0x1060b4);}return Promise[_0xbccf62(0x13e)](_0x661a57[_0xbccf62(0x1c4)]);}catch(_0x2783d8){return Promise['reject'](_0x2783d8);}}async[_0x1cc768(0x3af)](_0x2a52e9){const _0x5075d9=_0x1cc768;let _0x3b17fd='';if(!xr[_0x5075d9(0x477)](_0x2a52e9['type']))return this[_0x5075d9(0x50e)](),Promise[_0x5075d9(0x13e)](new Error(ie[_0x5075d9(0x123)][_0x5075d9(0x1e9)]));if(_0x2a52e9[_0x5075d9(0x4df)]>jr)return this[_0x5075d9(0x50e)](),Promise[_0x5075d9(0x13e)](new Error(ie[_0x5075d9(0x123)][_0x5075d9(0x359)]));try{const _0x52e668=new FormData();_0x52e668[_0x5075d9(0x35b)](_0x5075d9(0x4b8),_0x2a52e9);const _0x177139=this[_0x5075d9(0x114)]['getFocusedUnit'](),_0x46d3fc=_0x177139==null?void 0x0:_0x177139['getUnitId']();if(!_0x46d3fc)throw new Error(_0x5075d9(0x55c));const _0x410fcd=this['_getUploadFileURL']()+'?size='+_0x2a52e9['size'][_0x5075d9(0x3df)]()+'&source='+ui[_0x5075d9(0x3ca)]+_0x5075d9(0x2b8)+encodeURIComponent(_0x46d3fc),_0x2c27ca=await(await fetch(_0x410fcd,{'method':_0x5075d9(0x1ab),'body':_0x52e668}))['json']();if(typeof _0x2c27ca['FileId']!=_0x5075d9(0x103))return this[_0x5075d9(0x50e)](),Promise[_0x5075d9(0x13e)](new Error(ie[_0x5075d9(0x123)][_0x5075d9(0x18a)]));_0x3b17fd=_0x2c27ca['FileId'];}catch{return this[_0x5075d9(0x50e)](),Promise['reject'](new Error(ie[_0x5075d9(0x123)][_0x5075d9(0x18a)]));}return new Promise((_0x1ab911,_0x1bee91)=>{const _0x5eefe8=_0x5075d9,_0x8bfff5=new FileReader();_0x8bfff5[_0x5eefe8(0x36d)](_0x2a52e9),_0x8bfff5[_0x5eefe8(0x289)]=_0x5c5485=>{const _0x457c28=_0x5eefe8;var _0x2ff427;const _0x2c922a=(_0x2ff427=_0x5c5485[_0x457c28(0x220)])==null?void 0x0:_0x2ff427['result'];if(_0x2c922a==null){this[_0x457c28(0x50e)](),_0x1bee91(new Error(ie[_0x457c28(0x123)][_0x457c28(0x18a)]));return;}const _0x31612f=a[_0x457c28(0x369)][_0x457c28(0x390)](0x6);_0x1ab911({'imageId':_0x31612f,'imageSourceType':ie[_0x457c28(0x21d)]['UUID'],'source':_0x3b17fd,'base64Cache':_0x2c922a,'status':ie[_0x457c28(0x123)][_0x457c28(0x4bc)]}),this[_0x457c28(0x50e)]();};});}[_0x1cc768(0x1cd)](){const _0x31a101=_0x1cc768;var _0x304937,_0x1f33db;const _0x5ced4c=this[_0x31a101(0x2c0)][_0x31a101(0x555)]($r),_0x11ed41=this[_0x31a101(0x2c0)][_0x31a101(0x555)](Q);return(_0x1f33db=(_0x304937=_0x11ed41==null?void 0x0:_0x11ed41['uploadFileServerUrl'])!=null?_0x304937:_0x5ced4c)!=null?_0x1f33db:Hr;}['_getSignURL'](){const _0x1b0eff=_0x1cc768;var _0x58fcca,_0x3d2d85;const _0x4f08e5=this['_configService'][_0x1b0eff(0x555)](Br),_0x443534=this[_0x1b0eff(0x2c0)][_0x1b0eff(0x555)](Q);return(_0x3d2d85=(_0x58fcca=_0x443534==null?void 0x0:_0x443534[_0x1b0eff(0x57f)])!=null?_0x58fcca:_0x4f08e5)!=null?_0x3d2d85:kr;}['_getDownloadEndpointURL'](){const _0x3955e5=_0x1cc768;var _0x144b91;const _0x2ac354=this['_configService'][_0x3955e5(0x555)](Q);return(_0x144b91=_0x2ac354==null?void 0x0:_0x2ac354[_0x3955e5(0x5bf)])!=null?_0x144b91:location[_0x3955e5(0x509)];}[_0x1cc768(0x469)](_0x1e46c8,_0x148a23){const _0x539370=_0x1cc768;return _0x1e46c8['replace'](_0x539370(0x148),_0x148a23);}[_0x1cc768(0x50e)](){const _0xb21cb1=_0x1cc768;this[_0xb21cb1(0x513)]-=0x1,this[_0xb21cb1(0x56e)][_0xb21cb1(0x122)](this[_0xb21cb1(0x513)]);}},exports[_0x1cc768(0x2d4)]=Lr([St(0x0,a[_0x1cc768(0x2ca)](z[_0x1cc768(0x1db)])),St(0x1,a[_0x1cc768(0x56f)]),St(0x2,a['Inject'](a[_0x1cc768(0x3bd)]))],exports['ImageIoService']);var Wr=Object[_0x1cc768(0x244)],Fr=Object[_0x1cc768(0x263)],Vr=(_0x22c75e,_0x52638c,_0x5108f3,_0x4ecdc7)=>{const _0x1db6fb=_0x1cc768;for(var _0x10242b=_0x4ecdc7>0x1?void 0x0:_0x4ecdc7?Fr(_0x52638c,_0x5108f3):_0x52638c,_0x2ad830=_0x22c75e[_0x1db6fb(0x31e)]-0x1,_0x31dda4;_0x2ad830>=0x0;_0x2ad830--)(_0x31dda4=_0x22c75e[_0x2ad830])&&(_0x10242b=(_0x4ecdc7?_0x31dda4(_0x52638c,_0x5108f3,_0x10242b):_0x31dda4(_0x10242b))||_0x10242b);return _0x4ecdc7&&_0x10242b&&Wr(_0x52638c,_0x5108f3,_0x10242b),_0x10242b;},ei=(_0x1caf5a,_0x4a6142)=>(_0x3ca74e,_0x3c9e18)=>_0x4a6142(_0x3ca74e,_0x3c9e18,_0x1caf5a);const Gr=_0x1cc768(0x58a);exports[_0x1cc768(0x41e)]=class{constructor(_0x1126c0,_0x511b54){const _0x28e8c5=_0x1cc768;this['_configService']=_0x1126c0,this[_0x28e8c5(0x313)]=_0x511b54;}['_getAPIPrefixPath'](){const _0x298a25=_0x1cc768;var _0x2c102b,_0x527271;const _0x1ade7b=this[_0x298a25(0x2c0)][_0x298a25(0x555)](Ut),_0x36c370=this[_0x298a25(0x2c0)]['getConfig'](Q);return(_0x527271=(_0x2c102b=_0x36c370==null?void 0x0:_0x36c370[_0x298a25(0x1d0)])!=null?_0x2c102b:_0x1ade7b)!=null?_0x527271:Gr;}async[_0x1cc768(0x4d8)](_0x59e1f8){const _0x389eed=_0x1cc768,_0x544432=this[_0x389eed(0x1b8)]()+_0x389eed(0x368);return{'list':[{'title':_0x389eed(0x413),'mentions':(await this[_0x389eed(0x313)][_0x389eed(0x4f7)](_0x544432,{'params':{'objectID':_0x59e1f8[_0x389eed(0x2f1)],'unitID':_0x59e1f8['unitId']}}))[_0x389eed(0x46d)][_0x389eed(0x2d7)][_0x389eed(0x130)](_0x4183c5=>({'objectId':_0x4183c5['id'],'name':_0x4183c5[_0x389eed(0x52b)][_0x389eed(0x27c)],'metadata':{'icon':_0x4183c5['subject']['avatar']},'label':_0x4183c5[_0x389eed(0x52b)]['name'],'objectType':a[_0x389eed(0x2b4)][_0x389eed(0x5cb)]})),'metadata':{},'type':a['MentionType'][_0x389eed(0x5cb)]}]};}},exports[_0x1cc768(0x41e)]=Vr([ei(0x0,a['Inject'](a[_0x1cc768(0x56f)])),ei(0x1,a['Inject'](z[_0x1cc768(0x1db)]))],exports['MentionIoHttpService']);var Yr=Object['defineProperty'],Kr=Object[_0x1cc768(0x263)],qr=(_0x5a1bd9,_0x17bec7,_0x523972,_0x3d4b44)=>{const _0x50e374=_0x1cc768;for(var _0xbde4be=_0x3d4b44>0x1?void 0x0:_0x3d4b44?Kr(_0x17bec7,_0x523972):_0x17bec7,_0x5c09c0=_0x5a1bd9[_0x50e374(0x31e)]-0x1,_0x158750;_0x5c09c0>=0x0;_0x5c09c0--)(_0x158750=_0x5a1bd9[_0x5c09c0])&&(_0xbde4be=(_0x3d4b44?_0x158750(_0x17bec7,_0x523972,_0xbde4be):_0x158750(_0xbde4be))||_0xbde4be);return _0x3d4b44&&_0xbde4be&&Yr(_0x17bec7,_0x523972,_0xbde4be),_0xbde4be;},Ae=(_0x17e771,_0x168521)=>(_0x31ad84,_0x551050)=>_0x168521(_0x31ad84,_0x551050,_0x17e771);let qe=class extends a['RxDisposable']{constructor(_0x5238ab,_0xf45693,_0x132599,_0x1a5038,_0x17e607){const _0x15f48b=_0x1cc768;super(),this[_0x15f48b(0x310)]=_0x5238ab,this[_0x15f48b(0x114)]=_0xf45693,this[_0x15f48b(0x208)]=_0x132599,this[_0x15f48b(0x538)]=_0x1a5038,this[_0x15f48b(0x133)]=_0x17e607,this['_initUnitPermissionChange'](),this[_0x15f48b(0x294)]();}['_initCloseConn'](){const _0x55c8ff=_0x1cc768,_0x19a987=async _0xe410f6=>{const _0x2c90e8=_0x3a60;(await this[_0x2c90e8(0x538)][_0x2c90e8(0x186)](_0xe410f6))['event$'][_0x2c90e8(0x154)](V[_0x2c90e8(0x464)](_0x11e0c9=>_0x11e0c9[_0x2c90e8(0x1c1)]===p[_0x2c90e8(0x59c)][_0x2c90e8(0x3a3)]),V[_0x2c90e8(0x4cf)](this[_0x2c90e8(0x36e)]))[_0x2c90e8(0x556)](_0x3c830f=>{const _0x515771=_0x2c90e8,_0x58e1f4=_0x3c830f,{reason:_0x49abef}=_0x58e1f4[_0x515771(0x48a)];this[_0x515771(0x310)][_0x515771(0x4f7)](te[_0x515771(0x1e5)])[_0x515771(0x242)]({'type':Ce[_0x515771(0x14d)][_0x515771(0x4ef)],'content':this[_0x515771(0x133)]['t'](_0x515771(0x3e2))+'('+_0x49abef+')'}),this[_0x515771(0x208)][_0x515771(0x517)](new k[(_0x515771(0x1d2))](_0xe410f6)['id'],!0x1),this[_0x515771(0x538)][_0x515771(0x44a)](_0xe410f6);});};A[_0x55c8ff(0x57c)](this[_0x55c8ff(0x114)][_0x55c8ff(0x5ac)](a[_0x55c8ff(0x1a7)]['UNIVER_SHEET']),this[_0x55c8ff(0x114)][_0x55c8ff(0x5ac)](a[_0x55c8ff(0x1a7)][_0x55c8ff(0x408)]))[_0x55c8ff(0x154)](V[_0x55c8ff(0x130)](_0x2458b0=>_0x2458b0[_0x55c8ff(0x1f0)]()),V[_0x55c8ff(0x464)](_0x4026c8=>!a[_0x55c8ff(0x430)](_0x4026c8)),V['takeUntil'](this[_0x55c8ff(0x36e)]))[_0x55c8ff(0x556)](_0x59c33f=>{_0x19a987(_0x59c33f);});}[_0x1cc768(0x424)](){const _0xa8ff0b=_0x1cc768,_0x5f0563=async _0x4f3742=>{const _0x58ec7e=_0x3a60;(await this[_0x58ec7e(0x538)][_0x58ec7e(0x186)](_0x4f3742))[_0x58ec7e(0x3a0)]['pipe'](V[_0x58ec7e(0x464)](_0x18c83f=>_0x18c83f[_0x58ec7e(0x1c1)]===p[_0x58ec7e(0x59c)]['UPDATE_PERMISSION_OBJ']),V['takeUntil'](this[_0x58ec7e(0x36e)]))['subscribe'](_0x2912b3=>{const _0x41b32a=_0x58ec7e,_0x5a2226=_0x2912b3,{objectId:_0x4b31ad}=_0x5a2226['data'],_0x301f38=this[_0x41b32a(0x310)][_0x41b32a(0x4f7)](ye['SheetPermissionInitController']);_0x4b31ad===_0x4f3742?_0x301f38[_0x41b32a(0x189)](_0x4f3742):_0x301f38[_0x41b32a(0x10b)](_0x4f3742,_0x4b31ad);});};A[_0xa8ff0b(0x57c)](this[_0xa8ff0b(0x114)][_0xa8ff0b(0x5ac)](a[_0xa8ff0b(0x1a7)]['UNIVER_SHEET']),this['_univerInstanceService'][_0xa8ff0b(0x5ac)](a[_0xa8ff0b(0x1a7)][_0xa8ff0b(0x408)]))['pipe'](V[_0xa8ff0b(0x130)](_0x4d16ea=>_0x4d16ea[_0xa8ff0b(0x1f0)]()),V[_0xa8ff0b(0x464)](_0x2de3ab=>!a['isInternalEditorID'](_0x2de3ab)),V[_0xa8ff0b(0x4cf)](this[_0xa8ff0b(0x36e)]))[_0xa8ff0b(0x556)](_0x1be225=>{_0x5f0563(_0x1be225);});}};qe=qr([Ae(0x0,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),Ae(0x1,a[_0x1cc768(0x3bd)]),Ae(0x2,a[_0x1cc768(0x42c)]),Ae(0x3,a[_0x1cc768(0x2ca)](exports['CollaborationSessionService'])),Ae(0x4,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)]))],qe);var zr=Object['defineProperty'],Xr=Object[_0x1cc768(0x263)],Jr=(_0x4712b3,_0xe65950,_0x5555e0,_0x47f0f2)=>{const _0x52a0c1=_0x1cc768;for(var _0x43dd6e=_0x47f0f2>0x1?void 0x0:_0x47f0f2?Xr(_0xe65950,_0x5555e0):_0xe65950,_0x52beb3=_0x4712b3[_0x52a0c1(0x31e)]-0x1,_0x393082;_0x52beb3>=0x0;_0x52beb3--)(_0x393082=_0x4712b3[_0x52beb3])&&(_0x43dd6e=(_0x47f0f2?_0x393082(_0xe65950,_0x5555e0,_0x43dd6e):_0x393082(_0x43dd6e))||_0x43dd6e);return _0x47f0f2&&_0x43dd6e&&zr(_0xe65950,_0x5555e0,_0x43dd6e),_0x43dd6e;},ti=(_0x40328a,_0x48d214)=>(_0xe326ff,_0x16cb4c)=>_0x48d214(_0xe326ff,_0x16cb4c,_0x40328a);exports[_0x1cc768(0x434)]=class{constructor(_0x2f1e1b,_0x366c5c){const _0x35c9ef=_0x1cc768;this[_0x35c9ef(0x2c0)]=_0x2f1e1b,this[_0x35c9ef(0x2d5)]=_0x366c5c;}async[_0x1cc768(0x532)](_0x1ae1c0,_0x2e7344){const _0xb2fd9=_0x1cc768;var _0x24567d;const {unitID:_0x6c27d5,type:_0x57a848,revision:_0x327e5d=0x0}=_0x2e7344,_0x1b5b7e=this[_0xb2fd9(0x2b7)]()+'/'+_0x57a848+_0xb2fd9(0x480)+_0x6c27d5+_0xb2fd9(0x25d)+_0x327e5d,_0x338848=(await this['_httpService'][_0xb2fd9(0x4f7)](_0x1b5b7e))[_0xb2fd9(0x46d)],_0x5f552e=(_0x24567d=_0x338848['snapshot'])==null?void 0x0:_0x24567d[_0xb2fd9(0x20c)];if(_0x5f552e){const _0x2ee9b7=_0x5f552e==null?void 0x0:_0x5f552e[_0xb2fd9(0x223)],_0x364c0d=p['textEncoder'][_0xb2fd9(0x137)](p[_0xb2fd9(0x59a)](_0x2ee9b7));_0x5f552e[_0xb2fd9(0x223)]=_0x364c0d,Object['entries'](_0x5f552e[_0xb2fd9(0x4f6)])['forEach'](([,_0x13a5b7])=>{const _0xd30979=_0xb2fd9,_0x57203a=_0x13a5b7['originalMeta'],_0x43730f=p[_0xd30979(0x197)]['encode'](p[_0xd30979(0x59a)](_0x57203a));_0x13a5b7[_0xd30979(0x223)]=_0x43730f;});}return _0x338848;}async[_0x1cc768(0x5aa)](_0x3c2c9f,_0x2b76df){const _0x304fd3=_0x1cc768,{unitID:_0x19253d,type:_0x2667b5,blockID:_0x162ceb}=_0x2b76df,_0x122218=this[_0x304fd3(0x4e5)]()+'/'+_0x2667b5+_0x304fd3(0x480)+_0x19253d+'/block/'+_0x162ceb;return(await this['_httpService'][_0x304fd3(0x4f7)](_0x122218))[_0x304fd3(0x46d)];}async['getDeserializedSheetBlock'](_0x34f409,_0x456854){const _0x22bcf5=_0x1cc768,{unitID:_0x2185bb,type:_0x525112,blockID:_0x43dc24}=_0x456854,_0x29e016=this[_0x22bcf5(0x4e5)]()+_0x22bcf5(0x229)+_0x525112+_0x22bcf5(0x480)+_0x2185bb+_0x22bcf5(0x229)+_0x43dc24;return(await this[_0x22bcf5(0x2d5)]['get'](_0x29e016))[_0x22bcf5(0x46d)];}async[_0x1cc768(0x107)](_0x397c01,_0x3045a6){const _0x12b95d=_0x1cc768,{unitID:_0x5f3715,type:_0x385c46,from:_0x14f8c3,to:_0xf01899}=_0x3045a6,_0x35afce=this['_getAPIPrefix']()+'/'+_0x385c46+_0x12b95d(0x480)+_0x5f3715+_0x12b95d(0x18f)+_0x14f8c3+_0x12b95d(0x212)+_0xf01899;return(await this[_0x12b95d(0x2d5)][_0x12b95d(0x4f7)](_0x35afce))[_0x12b95d(0x46d)];}[_0x1cc768(0x2b7)](){const _0x158590=_0x1cc768;var _0x539967;return(_0x539967=this[_0x158590(0x2c0)][_0x158590(0x555)](ni))!=null?_0x539967:this['_getAPIPrefix']();}[_0x1cc768(0x4e5)](){const _0x24f822=_0x1cc768;var _0x4f5799,_0x3db8e6;const _0x24243a=this['_configService'][_0x24f822(0x555)](ii),_0xe1d247=this[_0x24f822(0x2c0)][_0x24f822(0x555)](Q);return(_0x3db8e6=(_0x4f5799=_0xe1d247==null?void 0x0:_0xe1d247['snapshotServerUrl'])!=null?_0x4f5799:_0x24243a)!=null?_0x3db8e6:ki;}async[_0x1cc768(0x4c5)](_0x2eb8b5,_0x177d4e){const _0x315344=_0x1cc768,_0x3f08d1=_0x315344(0x5bc)+_0x177d4e['type']+_0x315344(0x480)+_0x177d4e[_0x315344(0x4ed)]+_0x315344(0x109);return(await this[_0x315344(0x2d5)][_0x315344(0x4f7)](_0x3f08d1,{'params':{'resourceId':JSON[_0x315344(0x236)](_0x177d4e[_0x315344(0x54f)])}}))[_0x315344(0x46d)];}[_0x1cc768(0x45c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1cc768(0x338)](){const _0x48a897=_0x1cc768;throw new Error(_0x48a897(0x37c));}['saveChangeset'](){const _0x4684de=_0x1cc768;throw new Error(_0x4684de(0x37c));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1cc768(0x177)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x1cc768(0x434)]=Jr([ti(0x0,a[_0x1cc768(0x56f)]),ti(0x1,a[_0x1cc768(0x2ca)](z[_0x1cc768(0x1db)]))],exports['SnapshotServerOverHTTPService']);var Zr=Object[_0x1cc768(0x244)],Qr=Object[_0x1cc768(0x263)],eo=(_0x186367,_0x3f00da,_0x56a36f,_0x3b4fa1)=>{const _0x37a73b=_0x1cc768;for(var _0xc827d3=_0x3b4fa1>0x1?void 0x0:_0x3b4fa1?Qr(_0x3f00da,_0x56a36f):_0x3f00da,_0x478ec6=_0x186367[_0x37a73b(0x31e)]-0x1,_0x1200ef;_0x478ec6>=0x0;_0x478ec6--)(_0x1200ef=_0x186367[_0x478ec6])&&(_0xc827d3=(_0x3b4fa1?_0x1200ef(_0x3f00da,_0x56a36f,_0xc827d3):_0x1200ef(_0xc827d3))||_0xc827d3);return _0x3b4fa1&&_0xc827d3&&Zr(_0x3f00da,_0x56a36f,_0xc827d3),_0xc827d3;},Ne=(_0x2c8189,_0x85f10b)=>(_0x290a6b,_0x34a914)=>_0x85f10b(_0x290a6b,_0x34a914,_0x2c8189);let Ct=class extends a['LocalUndoRedoService']{constructor(_0x377656,_0x42015c,_0x110924,_0x460398,_0x211d45){const _0x330095=_0x1cc768;super(_0x377656,_0x42015c,_0x110924),this[_0x330095(0x1fa)]=_0x460398,this['_logService']=_0x211d45;}[_0x1cc768(0x597)](_0x4adbc8,_0x12e33c){const _0x372490=_0x1cc768,_0x2a705c=this['_getUndoStack'](_0x4adbc8);if(_0x2a705c)try{const _0x4d082a=this['_transformStack'](_0x2a705c,_0x12e33c);this[_0x372490(0x265)](_0x4adbc8,_0x4d082a);}catch(_0x2200da){this['_logService'][_0x372490(0x1c4)](_0x372490(0x425),_0x2200da),this[_0x372490(0x594)](_0x4adbc8);}const _0x478dbf=this[_0x372490(0x42a)](_0x4adbc8);if(_0x478dbf)try{const _0x49575a=this[_0x372490(0x3da)](_0x478dbf,_0x12e33c);this[_0x372490(0x135)](_0x4adbc8,_0x49575a);}catch(_0x2cab1d){this[_0x372490(0x10c)][_0x372490(0x1c4)](_0x2cab1d),this[_0x372490(0x585)](_0x4adbc8);}}[_0x1cc768(0x594)](_0x37caee){const _0x476cd9=_0x1cc768,_0xc8c586=this[_0x476cd9(0x10a)](_0x37caee);_0xc8c586&&(_0xc8c586[_0x476cd9(0x31e)]=0x0,this[_0x476cd9(0x33c)]());}[_0x1cc768(0x585)](_0xa61488){const _0x134275=_0x1cc768,_0x2bcd3f=this[_0x134275(0x42a)](_0xa61488);_0x2bcd3f&&(_0x2bcd3f[_0x134275(0x31e)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x14bbf3,_0x4174fd){const _0x4d4777=_0x1cc768;this[_0x4d4777(0x3c7)][_0x4d4777(0x31f)](_0x14bbf3,_0x4174fd),this[_0x4d4777(0x33c)]();}[_0x1cc768(0x135)](_0x1d11af,_0x5c2d18){const _0x478ac9=_0x1cc768;this[_0x478ac9(0x1bb)][_0x478ac9(0x31f)](_0x1d11af,_0x5c2d18),this[_0x478ac9(0x33c)]();}[_0x1cc768(0x3da)](_0x4e3e3c,_0x444bce){const _0x4b2c99=_0x1cc768,_0xe42bf6=[];let _0x2ad174=_0x444bce,_0x397366=_0x444bce;for(let _0x3ea401=_0x4e3e3c[_0x4b2c99(0x31e)]-0x1;_0x3ea401>=0x0;_0x3ea401--){const {unitID:_0x5b2414,undoMutations:_0x3acbe5,redoMutations:_0x172eca}=_0x4e3e3c[_0x3ea401],_0x9cd709=this['_transformService'][_0x4b2c99(0x400)](_0x2ad174,_0x3acbe5),_0x4f9eb7=this[_0x4b2c99(0x1fa)]['transformMutationsWithChangeset'](_0x397366,_0x172eca);if(p[_0x4b2c99(0x3c0)](_0x9cd709)||p[_0x4b2c99(0x3c0)](_0x4f9eb7)){this[_0x4b2c99(0x10c)][_0x4b2c99(0x1c4)](_0x4b2c99(0x425),_0x4b2c99(0x3c8),_0x9cd709,_0x4f9eb7);break;}_0x2ad174=_0x9cd709[_0x4b2c99(0x4d7)],_0x397366=_0x4f9eb7[_0x4b2c99(0x4d7)],_0xe42bf6['push']({'unitID':_0x5b2414,'undoMutations':_0x9cd709[_0x4b2c99(0x247)],'redoMutations':_0x4f9eb7[_0x4b2c99(0x247)]});}return _0xe42bf6['reverse']();}};Ct=eo([Ne(0x0,a['IUniverInstanceService']),Ne(0x1,a[_0x1cc768(0x11f)]),Ne(0x2,a[_0x1cc768(0x20a)]),Ne(0x3,p[_0x1cc768(0x48d)]),Ne(0x4,a['ILogService'])],Ct);class Li extends a[_0x1cc768(0x35a)]{constructor(){const _0x5d3d5e=_0x1cc768;super(),I(this,_0x5d3d5e(0x40d)),this[_0x5d3d5e(0x40d)]=A[_0x5d3d5e(0x5b2)](window,'popstate')['pipe'](A[_0x5d3d5e(0x4cf)](this[_0x5d3d5e(0x36e)]),A[_0x5d3d5e(0x3b0)](0x1),A[_0x5d3d5e(0x23d)](void 0x0));}[_0x1cc768(0x3d4)](_0x4e0b33,_0x35b4cb,_0x2adf93=!0x1){const _0x4466d0=_0x1cc768,_0x5388e3=new URL(window[_0x4466d0(0x19f)][_0x4466d0(0x203)]);_0x5388e3[_0x4466d0(0x227)][_0x4466d0(0x31f)](_0x4e0b33,_0x35b4cb),_0x2adf93?window[_0x4466d0(0x4db)][_0x4466d0(0x4a9)]('','',_0x5388e3[_0x4466d0(0x3df)]()):window['history'][_0x4466d0(0x45d)]('','',_0x5388e3[_0x4466d0(0x3df)]());}[_0x1cc768(0x3fc)](_0x3b0467,_0x5a935d=!0x1){const _0x1613b2=_0x1cc768,_0x5d6a98=new URL(window[_0x1613b2(0x19f)]['href']);_0x5d6a98['searchParams'][_0x1613b2(0x24c)](_0x3b0467),_0x5a935d?window[_0x1613b2(0x4db)][_0x1613b2(0x4a9)]('','',_0x5d6a98[_0x1613b2(0x3df)]()):window[_0x1613b2(0x4db)]['pushState']('','',_0x5d6a98[_0x1613b2(0x3df)]());}[_0x1cc768(0x187)](_0x57f264){const _0x303806=_0x1cc768;var _0x1ea163;return(_0x1ea163=new URL(window[_0x303806(0x19f)]['href'])['searchParams'][_0x303806(0x4f7)](_0x57f264))!=null?_0x1ea163:void 0x0;}}var xi=Object[_0x1cc768(0x244)],to=Object[_0x1cc768(0x263)],io=(_0x3fb124,_0x1173d4,_0xb023ba)=>_0x1173d4 in _0x3fb124?xi(_0x3fb124,_0x1173d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb023ba}):_0x3fb124[_0x1173d4]=_0xb023ba,no=(_0x301e36,_0x3df97a,_0x5260a3,_0x138bfa)=>{const _0x2ec999=_0x1cc768;for(var _0x241f7e=_0x138bfa>0x1?void 0x0:_0x138bfa?to(_0x3df97a,_0x5260a3):_0x3df97a,_0x397f19=_0x301e36[_0x2ec999(0x31e)]-0x1,_0x19c793;_0x397f19>=0x0;_0x397f19--)(_0x19c793=_0x301e36[_0x397f19])&&(_0x241f7e=(_0x138bfa?_0x19c793(_0x3df97a,_0x5260a3,_0x241f7e):_0x19c793(_0x241f7e))||_0x241f7e);return _0x138bfa&&_0x241f7e&&xi(_0x3df97a,_0x5260a3,_0x241f7e),_0x241f7e;},He=(_0x5104f0,_0xac4a33)=>(_0x391fbb,_0x53018f)=>_0xac4a33(_0x391fbb,_0x53018f,_0x5104f0),so=(_0x2ae10e,_0x1d12d7,_0x589b5f)=>io(_0x2ae10e,_0x1d12d7+'',_0x589b5f);const ro=_0x1cc768(0x34e);exports[_0x1cc768(0x2ac)]=class extends a[_0x1cc768(0x4cb)]{constructor(_0xe1e606=Zi,_0x2f9078,_0x578b2f,_0x4c1a30,_0x3307dd){const _0xa37168=_0x1cc768;super(),this[_0xa37168(0x4e8)]=_0xe1e606,this['_logService']=_0x2f9078,this[_0xa37168(0x309)]=_0x578b2f,this[_0xa37168(0x310)]=_0x4c1a30,this[_0xa37168(0x2c0)]=_0x3307dd;const {..._0x53efdd}=this[_0xa37168(0x4e8)];this[_0xa37168(0x2c0)]['setConfig'](Q,_0x53efdd);}[_0x1cc768(0x527)](){const _0x15abff=_0x1cc768;this[_0x15abff(0x50c)](),this[_0x15abff(0x46a)]();}['onReady'](){const _0x38b208=_0x1cc768;a[_0x38b208(0x373)](this[_0x38b208(0x310)],[[Ge],[Ve]]);}[_0x1cc768(0x2eb)](){const _0x2214b2=_0x1cc768;this[_0x2214b2(0x317)]();}[_0x1cc768(0x50c)](){const _0xf87cca=_0x1cc768;var _0x21db63,_0x57b7aa,_0x975552,_0x311276;this['_injector'][_0xf87cca(0x50a)](a['IUndoRedoService'])&&this[_0xf87cca(0x10c)]['error'](_0xf87cca(0x5b4),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x184032=[[a[_0xf87cca(0x542)],{'useClass':Ct}],[exports[_0xf87cca(0x2e1)]],[Dt],[wt,{'useClass':Li}],[exports['MemberService']],[exports[_0xf87cca(0x305)]],[z[_0xf87cca(0x104)]],[ke],[Fe],[Be],[We],[yt],[Ye],[Ke],[Rt],[qe],[Tt,{'useClass':(_0x57b7aa=(_0x21db63=this[_0xf87cca(0x4e8)])==null?void 0x0:_0x21db63[_0xf87cca(0x2c2)])!=null?_0x57b7aa:exports[_0xf87cca(0x3de)]}],[p[_0xf87cca(0x533)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0xf87cca(0x4dd)],{'useClass':exports[_0xf87cca(0x35c)]}],[ie['IImageIoService'],{'useClass':exports['ImageIoService']}],[a[_0xf87cca(0x2b1)],{'useClass':exports[_0xf87cca(0x41e)]}],[exports[_0xf87cca(0x38c)]],[exports['DataLoaderController']],[exports[_0xf87cca(0x382)]],[Ge],[De],[Ve]];(_0x975552=this['_config'])!=null&&_0x975552[_0xf87cca(0x26e)]&&_0x184032['push']([ze,{'useClass':Un}]),a[_0xf87cca(0x3c2)](this[_0xf87cca(0x310)],a['mergeOverrideWithDependencies'](_0x184032,(_0x311276=this[_0xf87cca(0x4e8)])==null?void 0x0:_0x311276[_0xf87cca(0x420)]));}[_0x1cc768(0x317)](){const _0xeed92f=_0x1cc768;this[_0xeed92f(0x27e)](this[_0xeed92f(0x309)][_0xeed92f(0x41b)](a[_0xeed92f(0x1a7)]['UNIVER_DOC'],[gt])),this['disposeWithMe'](this[_0xeed92f(0x309)][_0xeed92f(0x41b)](a[_0xeed92f(0x1a7)][_0xeed92f(0x452)],[It]));}[_0x1cc768(0x46a)](){const _0x1bdab0=_0x1cc768;var _0x218816,_0x27dfb6;this[_0x1bdab0(0x310)]['get'](z[_0x1bdab0(0x1db)])[_0x1bdab0(0x53d)]({'priority':0x14,'interceptor':z[_0x1bdab0(0x277)]({'maxParallel':0x6})}),(_0x218816=this[_0x1bdab0(0x4e8)])!=null&&_0x218816[_0x1bdab0(0x500)]||this[_0x1bdab0(0x310)]['get'](exports['LocalCacheService'])[_0x1bdab0(0x3c4)](),(_0x27dfb6=this[_0x1bdab0(0x4e8)])!=null&&_0x27dfb6[_0x1bdab0(0x45a)]&&a[_0x1bdab0(0x373)](this[_0x1bdab0(0x310)],[[Ye]]),a['touchDependencies'](this[_0x1bdab0(0x310)],[[Ke],[De],[exports[_0x1bdab0(0x37b)]],[exports[_0x1bdab0(0x38c)]],[exports[_0x1bdab0(0x382)]],[qe]]);}},so(exports[_0x1cc768(0x2ac)],_0x1cc768(0x2d8),ro),exports['UniverCollaborationClientPlugin']=no([a[_0x1cc768(0x216)](p['UniverCollaborationPlugin'],z['UniverNetworkPlugin']),He(0x1,a[_0x1cc768(0x1a0)]),He(0x2,K[_0x1cc768(0x2da)]),He(0x3,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),He(0x4,a[_0x1cc768(0x56f)])],exports['UniverCollaborationClientPlugin']),exports[_0x1cc768(0x5a0)]=Ut,exports['COLLAB_CLIENT_CONFIG_KEY']=Q,exports[_0x1cc768(0x40c)]=li,exports[_0x1cc768(0x43f)]=si,exports[_0x1cc768(0x584)]=q,exports['CollaborationStatusDisplay']=Oi,exports[_0x1cc768(0x1a5)]=Rt,exports[_0x1cc768(0x371)]=ri,exports['HEARTBEAT_TIMEOUT_KEY']=Et,exports[_0x1cc768(0x42e)]=Tt,exports[_0x1cc768(0x2a4)]=wt,exports[_0x1cc768(0x188)]=ci,exports['LOGIN_URL_KEY']=hi,exports[_0x1cc768(0x4c6)]=ai,exports[_0x1cc768(0x5a1)]=Wi,exports['SNAPSHOT_SERVER_URL_KEY']=ii,exports[_0x1cc768(0x36b)]=ni,exports[_0x1cc768(0x24a)]=se,exports['SheetCollabCursorShape']=Ii,exports['WebURLService']=Li,exports[_0x1cc768(0x370)]=di,exports[_0x1cc768(0x225)]=fi;