@univerjs-pro/collaboration-client 0.5.1-nightly.202412021606 → 0.5.1-nightly.202412041606
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 +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const _0x361975=_0x3094;(function(_0x527525,_0x4941d4){const _0x2f307d=_0x3094,_0x2d2ca3=_0x527525();while(!![]){try{const _0x7f9e87=-parseInt(_0x2f307d(0x4d5))/0x1+parseInt(_0x2f307d(0x201))/0x2*(parseInt(_0x2f307d(0x61a))/0x3)+parseInt(_0x2f307d(0x670))/0x4+-parseInt(_0x2f307d(0x3e6))/0x5*(-parseInt(_0x2f307d(0x1ea))/0x6)+-parseInt(_0x2f307d(0x3a0))/0x7+-parseInt(_0x2f307d(0x695))/0x8+parseInt(_0x2f307d(0x5b5))/0x9;if(_0x7f9e87===_0x4941d4)break;else _0x2d2ca3['push'](_0x2d2ca3['shift']());}catch(_0x6c30c3){_0x2d2ca3['push'](_0x2d2ca3['shift']());}}}(_0x4507,0x30153));var Fi=Object[_0x361975(0x23f)],Vi=(_0x59abab,_0xfa9fbe,_0x4bf74a)=>_0xfa9fbe in _0x59abab?Fi(_0x59abab,_0xfa9fbe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bf74a}):_0x59abab[_0xfa9fbe]=_0x4bf74a,I=(_0x497f76,_0x239bbc,_0x116405)=>Vi(_0x497f76,typeof _0x239bbc!=_0x361975(0x3b5)?_0x239bbc+'':_0x239bbc,_0x116405);Object[_0x361975(0x23f)](exports,Symbol[_0x361975(0x432)],{'value':_0x361975(0x261)});const a=require('@univerjs/core'),N=require('rxjs'),V=require(_0x361975(0x508)),Ce=require(_0x361975(0x2f2)),z=require(_0x361975(0x415)),ee=require(_0x361975(0x517)),m=require('@univerjs-pro/collaboration'),Gi=require('@univerjs/telemetry'),Ie=require(_0x361975(0x210)),J=require(_0x361975(0x378)),k=require('@univerjs/sheets'),Y=require(_0x361975(0x3ca)),te=require(_0x361975(0x4c1)),$t=require(_0x361975(0x52f)),Le=require(_0x361975(0x4a1)),oe=require(_0x361975(0x502)),Yi=require(_0x361975(0x476)),fi=_0x361975(0x44c),qi=_0x361975(0x249),vi=_0x361975(0x409),Ki='SEND_CHANGESET_TIMEOUT',zi=0x7d0,Si='COLLAB_WEB_SOCKET_URL',Xi='ws://127.0.0.1:8000/universer-api/comb/connect',Ji='/universer-api/user/session-ticket',pi=_0x361975(0x2d6),Zi=0x7530,Dt=_0x361975(0x333),mi=0x4e20,Qi=0x4e20,gi=_0x361975(0x65d),en=0x3,Ii=_0x361975(0x3b2),tn=0x3e8,Ci='COLLAB_SUBMIT_CHANGESET_URL',nn=_0x361975(0x323),Ei=_0x361975(0x584),rn=_0x361975(0x258);var bi=(_0x4285af=>(_0x4285af[_0x4285af[_0x361975(0x5ed)]=0x0]='UNDEFINED',_0x4285af[_0x4285af['OK']=0x1]='OK',_0x4285af[_0x4285af[_0x361975(0x310)]=0x2]='INTERNAL_ERROR',_0x4285af[_0x4285af[_0x361975(0x3cc)]=0x3]='PERMISSION_DENIED',_0x4285af[_0x4285af[_0x361975(0x69c)]=0x4]='NOT_FOUND',_0x4285af[_0x4285af[_0x361975(0x4d7)]=0x5]=_0x361975(0x4d7),_0x4285af[_0x4285af[_0x361975(0x278)]=0x6]=_0x361975(0x278),_0x4285af[_0x4285af[_0x361975(0x4ca)]=0x7]='INVALID_ARGUMENT',_0x4285af[_0x4285af[_0x361975(0x301)]=0x8]='TOO_MANY_REQUESTS',_0x4285af[_0x4285af[_0x361975(0x2e0)]=0x9]=_0x361975(0x2e0),_0x4285af[_0x4285af[_0x361975(0x3d1)]=0x1389]=_0x361975(0x3d1),_0x4285af[_0x4285af['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4285af[_0x4285af['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4285af[_0x4285af[_0x361975(0x349)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4285af[_0x4285af[_0x361975(0x1f9)]=0x1b59]=_0x361975(0x1f9),_0x4285af[_0x4285af[_0x361975(0x648)]=0x1b5a]=_0x361975(0x648),_0x4285af[_0x4285af[_0x361975(0x373)]=0x1b5b]=_0x361975(0x373),_0x4285af[_0x4285af[_0x361975(0x4a4)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4285af[_0x4285af[_0x361975(0x4ed)]=0x1b5d]='APPLY_DUPLICATED',_0x4285af[_0x4285af[_0x361975(0x2f9)]=0x1f41]=_0x361975(0x2f9),_0x4285af[_0x4285af[_0x361975(0x3a2)]=0x2329]=_0x361975(0x3a2),_0x4285af[_0x4285af['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x361975(0x4fa),_0x4285af[_0x4285af[_0x361975(0x571)]=0x232b]=_0x361975(0x571),_0x4285af[_0x4285af[_0x361975(0x244)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x4285af[_0x4285af[_0x361975(0x367)]=0x232d]=_0x361975(0x367),_0x4285af[_0x4285af[_0x361975(0x5e1)]=0x2711]=_0x361975(0x5e1),_0x4285af[_0x4285af[_0x361975(0x42e)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4285af[_0x4285af[_0x361975(0x2c4)]=0x2713]=_0x361975(0x2c4),_0x4285af[_0x4285af[_0x361975(0x474)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4285af[_0x4285af[_0x361975(0x47e)]=-0x1]='UNRECOGNIZED',_0x4285af))(bi||{}),ie=(_0x29fea5=>(_0x29fea5[_0x29fea5['UNIVER_UNKNOWN']=0x0]=_0x361975(0x342),_0x29fea5[_0x29fea5[_0x361975(0x5f5)]=0x1]=_0x361975(0x5f5),_0x29fea5[_0x29fea5[_0x361975(0x327)]=0x2]=_0x361975(0x327),_0x29fea5[_0x29fea5[_0x361975(0x422)]=0x3]=_0x361975(0x422),_0x29fea5[_0x29fea5[_0x361975(0x683)]=0x4]='UNIVER_PROJECT',_0x29fea5[_0x29fea5[_0x361975(0x47e)]=-0x1]=_0x361975(0x47e),_0x29fea5))(ie||{}),G=(_0x48eb97=>(_0x48eb97[_0x48eb97[_0x361975(0x285)]=0x0]=_0x361975(0x285),_0x48eb97[_0x48eb97[_0x361975(0x1ff)]=0x1]=_0x361975(0x1ff),_0x48eb97[_0x48eb97[_0x361975(0x569)]=0x2]=_0x361975(0x569),_0x48eb97[_0x48eb97[_0x361975(0x231)]=0x3]=_0x361975(0x231),_0x48eb97[_0x48eb97[_0x361975(0x55f)]=0x4]=_0x361975(0x55f),_0x48eb97[_0x48eb97[_0x361975(0x319)]=0x5]=_0x361975(0x319),_0x48eb97[_0x48eb97[_0x361975(0x300)]=0x6]=_0x361975(0x300),_0x48eb97[_0x48eb97[_0x361975(0x47e)]=-0x1]=_0x361975(0x47e),_0x48eb97))(G||{}),ge=(_0x35837f=>(_0x35837f[_0x35837f['UNKNOWN_CODE']=0x0]=_0x361975(0x57b),_0x35837f[_0x35837f['OK']=0x1]='OK',_0x35837f[_0x35837f[_0x361975(0x578)]=0x2]=_0x361975(0x578),_0x35837f[_0x35837f[_0x361975(0x3ee)]=0x3e9]=_0x361975(0x3ee),_0x35837f[_0x35837f[_0x361975(0x356)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x35837f[_0x35837f['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x361975(0x2da),_0x35837f[_0x35837f[_0x361975(0x475)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x35837f[_0x35837f[_0x361975(0x47e)]=-0x1]=_0x361975(0x47e),_0x35837f))(ge||{}),Ti=(_0x19d70a=>(_0x19d70a[_0x19d70a[_0x361975(0x629)]=0x0]='Undefined',_0x19d70a[_0x19d70a[_0x361975(0x4e7)]=0x1]='HttpImport',_0x19d70a[_0x19d70a[_0x361975(0x350)]=0x2]='HttpExport',_0x19d70a[_0x19d70a[_0x361975(0x618)]=0x3]=_0x361975(0x618),_0x19d70a[_0x19d70a[_0x361975(0x4e9)]=0x4]=_0x361975(0x4e9),_0x19d70a[_0x19d70a[_0x361975(0x47e)]=-0x1]='UNRECOGNIZED',_0x19d70a))(Ti||{});const Z=_0x361975(0x6a5),sn={};function Ri(_0x520cca){const _0x5749ee=_0x361975;var _0x5010d6,_0x1df1ca,_0x3558c0,_0x1096fc,_0x26e3f4;const _0xd3fc8d=_0x520cca[_0x5749ee(0x405)],_0x2b06dc=JSON[_0x5749ee(0x345)](_0xd3fc8d);switch(_0x2b06dc[_0x5749ee(0x290)]){case G[_0x5749ee(0x319)]:case G[_0x5749ee(0x1ff)]:{const _0x2c71a4=_0x2b06dc[_0x5749ee(0x38e)];return{..._0x2b06dc,'data':_0x2c71a4,'cmd':_0x2b06dc[_0x5749ee(0x290)]};}case G[_0x5749ee(0x569)]:{const _0x42e361=_0x2b06dc[_0x5749ee(0x5ee)];return{..._0x2b06dc,'data':_0x42e361,'cmd':_0x2b06dc[_0x5749ee(0x290)]};}case G[_0x5749ee(0x300)]:{const _0x3a0ccc=_0x2b06dc['collaMsg'];switch(_0x3a0ccc[_0x5749ee(0x395)]){case m['CollaborationEvent'][_0x5749ee(0x50e)]:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':(_0x5010d6=_0x3a0ccc[_0x5749ee(0x576)])==null?void 0x0:_0x5010d6['cs']},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m['CollaborationEvent']['CHANGESET_ACK']:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':(_0x1df1ca=_0x3a0ccc['csAckEvent'])==null?void 0x0:_0x1df1ca['cs']},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m[_0x5749ee(0x3aa)][_0x5749ee(0x3ed)]:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':(_0x3558c0=_0x3a0ccc[_0x5749ee(0x2b7)])==null?void 0x0:_0x3558c0['cs']},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m['CollaborationEvent']['CHANGESET_REJ']:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':(_0x1096fc=_0x3a0ccc[_0x5749ee(0x597)])==null?void 0x0:_0x1096fc['cs']},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m[_0x5749ee(0x3aa)][_0x5749ee(0x3f5)]:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':(_0x26e3f4=_0x3a0ccc[_0x5749ee(0x448)])==null?void 0x0:_0x26e3f4['cs']},'cmd':_0x2b06dc['cmd']};case m[_0x5749ee(0x3aa)]['UPDATE_CURSOR']:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc['updateCursorEvent']},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m[_0x5749ee(0x3aa)][_0x5749ee(0x637)]:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc[_0x5749ee(0x2ec)]},'cmd':_0x2b06dc['cmd']};case m['CollaborationEvent'][_0x5749ee(0x5cd)]:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc[_0x5749ee(0x358)]},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m['CollaborationEvent'][_0x5749ee(0x3e4)]:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc[_0x5749ee(0x4f4)]},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m['CollaborationEvent'][_0x5749ee(0x49c)]:case m['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc['liveShareOperation']},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m[_0x5749ee(0x3aa)][_0x5749ee(0x581)]:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc[_0x5749ee(0x4f4)]},'cmd':_0x2b06dc['cmd']};case m[_0x5749ee(0x3aa)][_0x5749ee(0x4a7)]:return{..._0x2b06dc,'data':_0x3a0ccc,'cmd':_0x2b06dc['cmd']};case m[_0x5749ee(0x3aa)]['COMMENT_UPDATE']:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc[_0x5749ee(0x248)]},'cmd':_0x2b06dc['cmd']};case m[_0x5749ee(0x3aa)]['UPDATE_PERMISSION_OBJ']:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc[_0x5749ee(0x2b6)]},'cmd':_0x2b06dc[_0x5749ee(0x290)]};case m[_0x5749ee(0x3aa)][_0x5749ee(0x1f0)]:return{..._0x2b06dc,'data':{..._0x3a0ccc,'data':_0x3a0ccc[_0x5749ee(0x44b)]},'cmd':_0x2b06dc[_0x5749ee(0x290)]};default:return _0x2b06dc;}}default:return _0x2b06dc;}}function Oi(_0x17f698){const _0x4ec15e=_0x361975;switch(_0x17f698[_0x4ec15e(0x290)]){case G[_0x4ec15e(0x319)]:case G[_0x4ec15e(0x1ff)]:return JSON['stringify']({'cmd':_0x17f698['cmd'],'routeKey':_0x17f698[_0x4ec15e(0x3db)]});case G['INGEST']:{let _0x54531c;switch(_0x17f698['data'][_0x4ec15e(0x395)]){case m[_0x4ec15e(0x3aa)][_0x4ec15e(0x5a8)]:{_0x54531c={'eventID':m['CollaborationEvent'][_0x4ec15e(0x5a8)],'updateCursorEvent':_0x17f698['data'][_0x4ec15e(0x405)]};break;}case m[_0x4ec15e(0x3aa)][_0x4ec15e(0x5cd)]:{_0x54531c={'eventID':m[_0x4ec15e(0x3aa)][_0x4ec15e(0x5cd)],'leaveEvent':_0x17f698[_0x4ec15e(0x405)][_0x4ec15e(0x405)]};break;}case m['CollaborationEvent'][_0x4ec15e(0x637)]:{_0x54531c={'eventID':m[_0x4ec15e(0x3aa)][_0x4ec15e(0x637)],'joinEvent':_0x17f698[_0x4ec15e(0x405)][_0x4ec15e(0x405)]};break;}case m[_0x4ec15e(0x3aa)]['LIVESHARE_NEW_HOST']:{_0x54531c={'eventID':m[_0x4ec15e(0x3aa)][_0x4ec15e(0x3e4)],'liveShareNewHost':_0x17f698[_0x4ec15e(0x405)][_0x4ec15e(0x405)]};break;}case m[_0x4ec15e(0x3aa)][_0x4ec15e(0x4a5)]:{_0x54531c={'eventID':m['CollaborationEvent'][_0x4ec15e(0x4a5)],'liveShareOperation':_0x17f698[_0x4ec15e(0x405)]['data']};break;}case m[_0x4ec15e(0x3aa)]['LIVESHARE_TERMINATE']:{_0x54531c={'eventID':m['CollaborationEvent'][_0x4ec15e(0x581)],'liveShareTerminate':_0x17f698[_0x4ec15e(0x405)][_0x4ec15e(0x405)]};break;}case m[_0x4ec15e(0x3aa)][_0x4ec15e(0x5bb)]:{_0x54531c={'eventID':m[_0x4ec15e(0x3aa)][_0x4ec15e(0x5bb)],'liveShareRequestHost':_0x17f698[_0x4ec15e(0x405)][_0x4ec15e(0x405)]};break;}case m[_0x4ec15e(0x3aa)]['LIVESHARE_FETCH_OPERATIONS']:{_0x54531c={'eventID':m['CollaborationEvent'][_0x4ec15e(0x49c)]};break;}default:_0x54531c={'eventID':_0x17f698[_0x4ec15e(0x405)][_0x4ec15e(0x395)]};}return JSON[_0x4ec15e(0x5a9)]({'cmd':_0x17f698['cmd'],'routeKey':_0x17f698[_0x4ec15e(0x3db)],'collaMsg':_0x54531c});}case G['JOIN']:return JSON['stringify']({'cmd':_0x17f698[_0x4ec15e(0x290)],'routeKey':_0x17f698[_0x4ec15e(0x3db)],'joinReq':_0x17f698[_0x4ec15e(0x405)]});case G[_0x4ec15e(0x231)]:return JSON[_0x4ec15e(0x5a9)]({'cmd':_0x17f698[_0x4ec15e(0x290)],'routeKey':_0x17f698[_0x4ec15e(0x3db)],'leaveReq':_0x17f698[_0x4ec15e(0x405)]});default:throw new Error(_0x4ec15e(0x34f));}}var on=Object[_0x361975(0x23f)],an=Object[_0x361975(0x3bb)],cn=(_0x6dd22b,_0x33f9e6,_0x484817,_0x2ca137)=>{const _0x587e22=_0x361975;for(var _0x298ca9=_0x2ca137>0x1?void 0x0:_0x2ca137?an(_0x33f9e6,_0x484817):_0x33f9e6,_0x30a69b=_0x6dd22b[_0x587e22(0x31c)]-0x1,_0x520c8b;_0x30a69b>=0x0;_0x30a69b--)(_0x520c8b=_0x6dd22b[_0x30a69b])&&(_0x298ca9=(_0x2ca137?_0x520c8b(_0x33f9e6,_0x484817,_0x298ca9):_0x520c8b(_0x298ca9))||_0x298ca9);return _0x2ca137&&_0x298ca9&&on(_0x33f9e6,_0x484817,_0x298ca9),_0x298ca9;},De=(_0x51ac32,_0x4a3bb9)=>(_0x1c4258,_0x338181)=>_0x4a3bb9(_0x1c4258,_0x338181,_0x51ac32);const Pt=a[_0x361975(0x386)](_0x361975(0x57a));function ln(_0x4485e1,_0x13579a,_0x283499){const _0x11d13e=_0x361975;return _0x4485e1+'/'+_0x13579a+_0x11d13e(0x341)+_0x283499+_0x11d13e(0x425);}exports[_0x361975(0x451)]=class extends a[_0x361975(0x2ee)]{constructor(_0x1c2ed9,_0x50ca50,_0x16c9b8,_0x21748d,_0x5078d3){const _0x166b88=_0x361975;super(),this[_0x166b88(0x421)]=_0x1c2ed9,this['_ws']=_0x50ca50,this[_0x166b88(0x32b)]=_0x16c9b8,this['_logService']=_0x21748d,this[_0x166b88(0x351)]=_0x5078d3;}[_0x361975(0x67c)](_0x2905b8){const _0x2fdddf=_0x361975,_0x220cf3=this['_ws'][_0x2fdddf(0x67c)](_0x2905b8);if(!_0x220cf3)throw new Error(_0x2fdddf(0x3f2));const _0x33be18=new a[(_0x2fdddf(0x5b6))](),_0x5ede7f=new N[(_0x2fdddf(0x3e1))]();_0x33be18[_0x2fdddf(0x277)](_0x220cf3['close$']['subscribe'](_0x99ded5=>_0x5ede7f[_0x2fdddf(0x514)](_0x99ded5))),_0x33be18[_0x2fdddf(0x277)](a['toDisposable'](()=>_0x5ede7f[_0x2fdddf(0x29e)]()));const _0x45c4ed=new N['Subject']();_0x33be18[_0x2fdddf(0x277)](_0x220cf3[_0x2fdddf(0x69d)][_0x2fdddf(0x2d2)](_0x161700=>_0x45c4ed[_0x2fdddf(0x514)](_0x161700))),_0x33be18[_0x2fdddf(0x277)](a['toDisposable'](()=>_0x45c4ed['complete']()));const _0x5c5e5b=new N[(_0x2fdddf(0x3e1))]();_0x33be18[_0x2fdddf(0x277)](_0x220cf3[_0x2fdddf(0x477)][_0x2fdddf(0x2d2)](_0x50c173=>{const _0x1ec781=_0x2fdddf,_0x16b93c=Ri(_0x50c173);_0x5c5e5b[_0x1ec781(0x514)](_0x16b93c);})),_0x33be18[_0x2fdddf(0x277)](a['toDisposable'](()=>_0x5c5e5b[_0x2fdddf(0x29e)]()));let _0x17e2fc;const _0xf504eb=()=>{const _0x39dd50=_0x2fdddf;_0x45c4ed['next'](new Event(_0x39dd50(0x283))),_0x5ede7f[_0x39dd50(0x514)](new CloseEvent(_0x39dd50(0x283))),_0x17e2fc[_0x39dd50(0x684)]();};return _0x17e2fc={'memberID':'','close$':_0x5ede7f['asObservable'](),'error$':_0x45c4ed[_0x2fdddf(0x2aa)](),'open$':_0x220cf3[_0x2fdddf(0x68b)],'message$':_0x5c5e5b['asObservable'](),'send':_0x1f39f7=>{const _0x22a84a=_0x2fdddf;if(_0x1f39f7[_0x22a84a(0x290)]===G[_0x22a84a(0x55f)]){if(_0x1f39f7[_0x22a84a(0x405)][_0x22a84a(0x395)]===m[_0x22a84a(0x3aa)]['SUBMIT_CHANGESET']){this[_0x22a84a(0x45c)](_0x17e2fc,_0x1f39f7[_0x22a84a(0x405)])[_0x22a84a(0x276)](_0x1d2977=>{const _0x447958=_0x22a84a;this[_0x447958(0x442)][_0x447958(0x384)](_0x1d2977),_0xf504eb();});return;}if(_0x1f39f7[_0x22a84a(0x405)][_0x22a84a(0x395)]===m[_0x22a84a(0x3aa)][_0x22a84a(0x6a6)]){const _0xdd7397=_0x1f39f7[_0x22a84a(0x405)];this[_0x22a84a(0x2c1)](_0xdd7397)['then'](_0x52382c=>{const _0x373db0=_0x22a84a;_0x5c5e5b['next']({'cmd':G[_0x373db0(0x300)],'code':ge['OK'],'routeKey':_0xdd7397[_0x373db0(0x405)][_0x373db0(0x332)],'routeType':'','data':{'eventID':m[_0x373db0(0x3aa)][_0x373db0(0x420)],'data':{'changesets':_0x52382c}}});})[_0x22a84a(0x276)](_0x50ee4a=>{const _0x42fcf9=_0x22a84a;this['_logService'][_0x42fcf9(0x384)](_0x50ee4a),_0xf504eb();});return;}}_0x220cf3[_0x22a84a(0x223)](Oi(_0x1f39f7));},'close':()=>{const _0x334836=_0x2fdddf;_0x220cf3[_0x334836(0x684)](),_0x33be18['dispose']();}},_0x17e2fc;}async['_submitChangeset'](_0x2b424c,_0x3e3539){const _0x4e858b=_0x361975;var _0x9b8674,_0x37bb8d;const {unitType:_0x5a4322,unitID:_0x2d7d3a,changeset:_0xf8b60c}=_0x3e3539[_0x4e858b(0x405)],_0xdf1ee3={'unitID':_0x2d7d3a,'memberID':_0x2b424c[_0x4e858b(0x691)],'type':_0x5a4322,'changeset':m['parseChangesetToProtocol'](_0xf8b60c)},_0x453c7f=this[_0x4e858b(0x32b)][_0x4e858b(0x269)](Ci),_0x53aed2=this[_0x4e858b(0x32b)]['getConfig'](Z),_0x2fe546=ln((_0x37bb8d=(_0x9b8674=_0x53aed2==null?void 0x0:_0x53aed2['collabSubmitChangesetUrl'])!=null?_0x9b8674:_0x453c7f)!=null?_0x37bb8d:nn,_0x5a4322,_0x2d7d3a);try{await this[_0x4e858b(0x421)][_0x4e858b(0x37f)](_0x2fe546,{'body':_0xdf1ee3});}catch(_0x32e524){throw this[_0x4e858b(0x442)][_0x4e858b(0x384)](_0x4e858b(0x50d),_0x4e858b(0x598)),_0x32e524;}}async['_fetchMissChangesets'](_0x476e52){const _0x38a0af=_0x361975,{unitID:_0x326846,from:_0x4781b2,to:_0x2ba94a,unitType:_0x1e7d18}=_0x476e52['data'];return(await this[_0x38a0af(0x351)][_0x38a0af(0x642)]({'metadata':void 0x0},{'unitID':_0x326846,'type':_0x1e7d18,'from':_0x4781b2,'to':_0x2ba94a}))[_0x38a0af(0x5fc)];}},exports[_0x361975(0x451)]=cn([De(0x0,a[_0x361975(0x4b5)](z[_0x361975(0x4c2)])),De(0x1,a[_0x361975(0x4b5)](z[_0x361975(0x676)])),De(0x2,a[_0x361975(0x314)]),De(0x3,a[_0x361975(0x68e)]),De(0x4,m[_0x361975(0x2ed)])],exports[_0x361975(0x451)]);const hn='collaboration_new_changeset';function _n(_0x318689){const _0x2a04a3=_0x361975;return JSON[_0x2a04a3(0x5a9)](_0x318689)[_0x2a04a3(0x31c)];}class wt{constructor(){const _0x2b7c69=_0x361975;I(this,'_commentUpdate$',new N[(_0x2b7c69(0x3e1))]()),I(this,_0x2b7c69(0x61f),this[_0x2b7c69(0x24f)][_0x2b7c69(0x2aa)]());}[_0x361975(0x3fb)](_0x4f3cbc){const _0x3cca05=_0x361975;this[_0x3cca05(0x24f)]['next'](_0x4f3cbc);}}var un=Object['defineProperty'],dn=Object[_0x361975(0x3bb)],fn=(_0x2e4ca3,_0x5abc0b,_0x157dfc,_0x2e69d7)=>{const _0x7e52e6=_0x361975;for(var _0x1dbe06=_0x2e69d7>0x1?void 0x0:_0x2e69d7?dn(_0x5abc0b,_0x157dfc):_0x5abc0b,_0x504276=_0x2e4ca3[_0x7e52e6(0x31c)]-0x1,_0x18b977;_0x504276>=0x0;_0x504276--)(_0x18b977=_0x2e4ca3[_0x504276])&&(_0x1dbe06=(_0x2e69d7?_0x18b977(_0x5abc0b,_0x157dfc,_0x1dbe06):_0x18b977(_0x1dbe06))||_0x1dbe06);return _0x2e69d7&&_0x1dbe06&&un(_0x5abc0b,_0x157dfc,_0x1dbe06),_0x1dbe06;},jt=(_0x411a4b,_0x4448af)=>(_0x57093a,_0x396d2b)=>_0x4448af(_0x57093a,_0x396d2b,_0x411a4b);exports[_0x361975(0x486)]=class extends a['Disposable']{constructor(_0x2e9e56,_0x25bbe4){const _0x2e6671=_0x361975;super(),I(this,_0x2e6671(0x522),new Map()),(this[_0x2e6671(0x491)]=_0x2e9e56,this['_userManagerService']=_0x25bbe4,this[_0x2e6671(0x259)](a[_0x2e6671(0x4f1)](N[_0x2e6671(0x5dd)](this[_0x2e6671(0x491)][_0x2e6671(0x59f)](a[_0x2e6671(0x481)][_0x2e6671(0x327)])[_0x2e6671(0x256)](V[_0x2e6671(0x4ec)](_0x557b60=>_0x557b60[_0x2e6671(0x5db)]())),this[_0x2e6671(0x491)]['getTypeOfUnitDisposed$'](a[_0x2e6671(0x481)][_0x2e6671(0x5f5)])[_0x2e6671(0x256)](V[_0x2e6671(0x4ec)](_0x7ae6b0=>_0x7ae6b0[_0x2e6671(0x5db)]())),this['_univerInstanceService'][_0x2e6671(0x59f)](a[_0x2e6671(0x481)]['UNIVER_SLIDE'])[_0x2e6671(0x256)](V[_0x2e6671(0x4ec)](_0x5f0b9c=>_0x5f0b9c['getUnitId']())))['subscribe'](_0x213c19=>this['_removeRoom'](_0x213c19)))));}[_0x361975(0x43c)](_0x560417){const _0x533f86=_0x361975;this[_0x533f86(0x2f3)][_0x533f86(0x43c)](_0x560417);}[_0x361975(0x5b8)](){const _0x57ddb9=_0x361975;return this[_0x57ddb9(0x2f3)][_0x57ddb9(0x5b8)]();}[_0x361975(0x206)](_0x1a7886,_0x406654){const _0xa1eee3=_0x361975;let _0x6df1dd=this['_roomMembers'][_0xa1eee3(0x5e3)](_0x1a7886);_0x6df1dd||(_0x6df1dd=new vn(),this['_roomMembers'][_0xa1eee3(0x69a)](_0x1a7886,_0x6df1dd)),_0x6df1dd[_0xa1eee3(0x206)](_0x406654);}['removeMember'](_0x1cd842,_0x432c79){const _0xe7230e=_0x361975,_0x5debb3=this[_0xe7230e(0x522)][_0xe7230e(0x5e3)](_0x1cd842);_0x5debb3&&_0x5debb3[_0xe7230e(0x5d4)](_0x432c79);}['getRoom'](_0x1f455d){const _0x176643=_0x361975;return this[_0x176643(0x522)][_0x176643(0x5e3)](_0x1f455d);}['getMember'](_0x359aa3,_0x16d460){const _0x13aadf=_0x361975,_0x312d18=this[_0x13aadf(0x522)]['get'](_0x359aa3);if(_0x312d18)return _0x312d18[_0x13aadf(0x348)](_0x16d460);}[_0x361975(0x633)](_0x127fdc){const _0x145844=_0x361975,_0x4ca59b=this[_0x145844(0x522)][_0x145844(0x5e3)](_0x127fdc);_0x4ca59b&&(_0x4ca59b[_0x145844(0x2a2)](),this[_0x145844(0x522)][_0x145844(0x335)](_0x127fdc));}['dispose'](){const _0x4486a0=_0x361975;this[_0x4486a0(0x522)][_0x4486a0(0x3d7)](_0x2f44ad=>_0x2f44ad[_0x4486a0(0x2a2)]()),this['_roomMembers'][_0x4486a0(0x2f1)]();}},exports[_0x361975(0x486)]=fn([jt(0x0,a['IUniverInstanceService']),jt(0x1,a['Inject'](a['UserManagerService']))],exports['MemberService']);class vn extends a['Disposable']{constructor(){const _0x50661d=_0x361975;super(...arguments),I(this,_0x50661d(0x5e8),new Map());}[_0x361975(0x2a2)](){const _0x1087df=_0x361975;this['_members'][_0x1087df(0x2f1)]();}[_0x361975(0x206)](_0x91d8f4){const _0x36c2a7=_0x361975;this['_members'][_0x36c2a7(0x69a)](_0x91d8f4[_0x36c2a7(0x691)],_0x91d8f4);}[_0x361975(0x5d4)](_0x38217b){const _0x20a8c4=_0x361975;this[_0x20a8c4(0x5e8)][_0x20a8c4(0x335)](_0x38217b);}[_0x361975(0x348)](_0x247e54){const _0x4a9290=_0x361975;return this[_0x4a9290(0x5e8)]['get'](_0x247e54);}[_0x361975(0x4df)](){const _0x56ea33=_0x361975;return Array[_0x56ea33(0x4fb)](this['_members']['values']());}}var Sn=Object[_0x361975(0x23f)],pn=Object[_0x361975(0x3bb)],mn=(_0x1e1f74,_0x1ab5ea,_0x1df8c7,_0x4e4553)=>{const _0x32898a=_0x361975;for(var _0x90fbb2=_0x4e4553>0x1?void 0x0:_0x4e4553?pn(_0x1ab5ea,_0x1df8c7):_0x1ab5ea,_0x1f2a71=_0x1e1f74[_0x32898a(0x31c)]-0x1,_0x432eb0;_0x1f2a71>=0x0;_0x1f2a71--)(_0x432eb0=_0x1e1f74[_0x1f2a71])&&(_0x90fbb2=(_0x4e4553?_0x432eb0(_0x1ab5ea,_0x1df8c7,_0x90fbb2):_0x432eb0(_0x90fbb2))||_0x90fbb2);return _0x4e4553&&_0x90fbb2&&Sn(_0x1ab5ea,_0x1df8c7,_0x90fbb2),_0x90fbb2;},ue=(_0x569987,_0x116910)=>(_0x36d009,_0x2e196e)=>_0x116910(_0x36d009,_0x2e196e,_0x569987),ne=(_0xd2e309=>(_0xd2e309[_0xd2e309['IDLE']=0x0]=_0x361975(0x450),_0xd2e309[_0xd2e309[_0x361975(0x4f9)]=0x1]=_0x361975(0x4f9),_0xd2e309[_0xd2e309[_0x361975(0x48f)]=0x2]=_0x361975(0x48f),_0xd2e309[_0xd2e309['ONLINE']=0x3]=_0x361975(0x2af),_0xd2e309))(ne||{});const Ht={[ge['FAIL']]:_0x361975(0x404),[ge['JOIN_ROOM_FULL']]:_0x361975(0x3d0),[ge[_0x361975(0x356)]]:'session.room-not-exists',[ge[_0x361975(0x2da)]]:'session.room-permission-denied',[ge[_0x361975(0x475)]]:_0x361975(0x550)};exports['CollaborationSession']=class extends a['RxDisposable']{constructor(_0x146138,_0x21927f,_0x1f4fad,_0x206814,_0x41a449,_0x37aca0,_0x1392b7,_0x1d575c,_0x852641,_0x562e2b){const _0x4f0f32=_0x361975;super(),I(this,_0x4f0f32(0x21e),new N[(_0x4f0f32(0x392))](0x0)),I(this,_0x4f0f32(0x658),this[_0x4f0f32(0x21e)][_0x4f0f32(0x2aa)]()),I(this,_0x4f0f32(0x2ea),new N[(_0x4f0f32(0x3e1))]()),I(this,'event$',this['_event$'][_0x4f0f32(0x2aa)]()),I(this,'_socket'),I(this,'_socketMessageSubscription'),I(this,_0x4f0f32(0x5c1)),I(this,_0x4f0f32(0x5a7),!0x1),I(this,_0x4f0f32(0x305),null),(this['_unitID']=_0x146138,this['_logService']=_0x1f4fad,this['_beforeCloseService']=_0x206814,this[_0x4f0f32(0x4b9)]=_0x41a449,this[_0x4f0f32(0x32b)]=_0x37aca0,this[_0x4f0f32(0x312)]=_0x1392b7,this[_0x4f0f32(0x527)]=_0x1d575c,this[_0x4f0f32(0x6a3)]=_0x852641,this[_0x4f0f32(0x443)]=_0x562e2b,this[_0x4f0f32(0x5a7)]=!!this['_telemetryService'],_0x21927f[_0x4f0f32(0x256)](N[_0x4f0f32(0x23d)](this[_0x4f0f32(0x3cd)]))[_0x4f0f32(0x2d2)](_0x19792f=>{const _0x4f1663=_0x4f0f32;var _0x8032a5;typeof _0x19792f>'u'||(this['_socket']=_0x19792f,_0x19792f?(this[_0x4f1663(0x556)](_0x19792f),this[_0x4f1663(0x672)]=_0x19792f[_0x4f1663(0x477)][_0x4f1663(0x2d2)](_0x3c100b=>{const _0x42d9ea=_0x4f1663;_0x3c100b[_0x42d9ea(0x3db)]===this['_unitID']&&this['_onCombEvent'](_0x3c100b);})):(this[_0x4f1663(0x229)](),this[_0x4f1663(0x21e)][_0x4f1663(0x514)](0x2),(_0x8032a5=this[_0x4f1663(0x672)])==null||_0x8032a5['unsubscribe'](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this[_0x4f0f32(0x640)][_0x4f0f32(0x634)](()=>{const _0x533d93=_0x4f0f32;var _0x4c30e9;(_0x4c30e9=this[_0x533d93(0x433)])==null||_0x4c30e9[_0x533d93(0x223)]({'cmd':G[_0x533d93(0x231)],'data':{'roomID':this['_unitID']}});})));}get['sessionStatus'](){const _0xdf9792=_0x361975;return this[_0xdf9792(0x21e)]['getValue']();}[_0x361975(0x61c)](){const _0x4ceb88=_0x361975;var _0x46e088,_0x3f6153;return(_0x3f6153=(_0x46e088=this[_0x4ceb88(0x433)])==null?void 0x0:_0x46e088[_0x4ceb88(0x691)])!=null?_0x3f6153:null;}[_0x361975(0x2a2)](){const _0x2000e2=_0x361975;super[_0x2000e2(0x2a2)](),this[_0x2000e2(0x3cd)][_0x2000e2(0x514)](),this[_0x2000e2(0x3cd)][_0x2000e2(0x29e)]();}[_0x361975(0x684)](){const _0x991e64=_0x361975;var _0x414af1,_0x23838c;this[_0x991e64(0x229)](),(_0x414af1=this[_0x991e64(0x433)])==null||_0x414af1[_0x991e64(0x223)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x991e64(0x22f)]}}),(_0x23838c=this[_0x991e64(0x433)])==null||_0x23838c['close'](),this['_event$'][_0x991e64(0x29e)](),this[_0x991e64(0x21e)][_0x991e64(0x29e)](),this[_0x991e64(0x2a2)]();}['_onCombEvent'](_0x3e0e71){const _0x53bc6c=_0x361975;_0x3e0e71['cmd']===G[_0x53bc6c(0x569)]?this['_onJoinRoomEvent'](_0x3e0e71):_0x3e0e71['cmd']===G[_0x53bc6c(0x300)]&&this[_0x53bc6c(0x547)](_0x3e0e71);}['_joinRoom'](_0x32d547){const _0x30b5c6=_0x361975;this[_0x30b5c6(0x21e)][_0x30b5c6(0x514)](0x1),_0x32d547['send']({'cmd':G[_0x30b5c6(0x569)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x361975(0x2bf)](_0x3bf338){const _0x24e448=_0x361975;var _0x3f83e9;if(_0x3bf338[_0x24e448(0x331)]in Ht){this[_0x24e448(0x4b9)]['show']({'type':Ce[_0x24e448(0x42c)][_0x24e448(0x657)],'content':this[_0x24e448(0x312)]['t'](Ht[_0x3bf338[_0x24e448(0x331)]])}),this[_0x24e448(0x21e)][_0x24e448(0x514)](0x2);return;}this[_0x24e448(0x21e)][_0x24e448(0x514)](0x3);const _0x1eee6a=(_0x3f83e9=_0x3bf338[_0x24e448(0x405)][_0x24e448(0x6a8)][this[_0x24e448(0x22f)]])==null?void 0x0:_0x3f83e9[_0x24e448(0x526)];_0x1eee6a&&_0x1eee6a[_0x24e448(0x3d7)](_0x593cea=>this[_0x24e448(0x527)][_0x24e448(0x206)](this[_0x24e448(0x22f)],_0x593cea));}[_0x361975(0x547)](_0x3803c1){const _0x4eb045=_0x361975;try{const _0x165a82=_0x3803c1[_0x4eb045(0x405)];switch(_0x165a82[_0x4eb045(0x395)]){case m['CollaborationEvent'][_0x4eb045(0x637)]:this['_onUserJoin'](_0x165a82),this[_0x4eb045(0x2ea)][_0x4eb045(0x514)](_0x165a82);break;case m[_0x4eb045(0x3aa)]['USERS_LEAVE']:this['_onUserLeave'](_0x165a82),this['_event$'][_0x4eb045(0x514)](_0x165a82);break;case m['CollaborationEvent'][_0x4eb045(0x25c)]:case m[_0x4eb045(0x3aa)][_0x4eb045(0x3f5)]:this[_0x4eb045(0x339)](),this[_0x4eb045(0x419)](),this[_0x4eb045(0x2ea)][_0x4eb045(0x514)](_0x165a82);break;case m[_0x4eb045(0x3aa)][_0x4eb045(0x4a7)]:this[_0x4eb045(0x442)][_0x4eb045(0x384)](_0x4eb045(0x5c3)+JSON['stringify'](_0x165a82)),this[_0x4eb045(0x2ea)][_0x4eb045(0x514)](_0x165a82);break;case m['CollaborationEvent'][_0x4eb045(0x539)]:this[_0x4eb045(0x6a3)][_0x4eb045(0x3fb)](_0x165a82[_0x4eb045(0x405)]),this[_0x4eb045(0x2ea)]['next'](_0x165a82);break;default:this[_0x4eb045(0x2ea)][_0x4eb045(0x514)](_0x165a82);}}catch(_0x4878cc){this[_0x4eb045(0x442)][_0x4eb045(0x384)](_0x4878cc,_0x3803c1);}}[_0x361975(0x217)](_0x8cb6ab){const _0x18c9f7=_0x361975;this[_0x18c9f7(0x527)]['updateMember'](this[_0x18c9f7(0x22f)],_0x8cb6ab['data']);}[_0x361975(0x2e5)](_0x487c41){const _0x105cf9=_0x361975;this[_0x105cf9(0x527)][_0x105cf9(0x5d4)](this['_unitID'],_0x487c41[_0x105cf9(0x405)][_0x105cf9(0x691)]);}async[_0x361975(0x223)](_0x264746,_0x12e24b){const _0x2d9b88=_0x361975;if(this[_0x2d9b88(0x363)]!==0x3||!this[_0x2d9b88(0x433)])throw new Error(_0x2d9b88(0x662));try{_0x264746[_0x2d9b88(0x395)]===m[_0x2d9b88(0x3aa)][_0x2d9b88(0x63a)]&&(this[_0x2d9b88(0x4b3)](),this[_0x2d9b88(0x56d)](_0x264746)),this[_0x2d9b88(0x433)][_0x2d9b88(0x223)]({'cmd':G[_0x2d9b88(0x55f)],'routeKey':_0x12e24b,'routeType':'','data':_0x264746});}catch(_0x5a28e8){this[_0x2d9b88(0x442)][_0x2d9b88(0x384)](_0x5a28e8);}}[_0x361975(0x4b3)](){const _0x27a79b=_0x361975;var _0xf623af;this[_0x27a79b(0x5c1)]=window[_0x27a79b(0x59e)](()=>{const _0x53c5c3=_0x27a79b;this[_0x53c5c3(0x5c1)]=null,this[_0x53c5c3(0x4b9)][_0x53c5c3(0x4d8)]({'type':Ce[_0x53c5c3(0x42c)][_0x53c5c3(0x44f)],'content':this['_localeService']['t'](_0x53c5c3(0x63f))});},(_0xf623af=this[_0x27a79b(0x32b)][_0x27a79b(0x269)](Dt))!=null?_0xf623af:mi);}[_0x361975(0x419)](){const _0x4c82ce=_0x361975;this[_0x4c82ce(0x5c1)]&&(clearTimeout(this[_0x4c82ce(0x5c1)]),this['_collaborationTimeoutTimer']=null);}[_0x361975(0x56d)](_0x20f01f){const _0x3e5385=_0x361975;if(!this[_0x3e5385(0x5a7)])return;const {data:_0x374e91}=_0x20f01f,{unitID:_0x5b0f57,changeset:_0x4ef7fa}=_0x374e91,{mutations:_0x148717,type:_0x2d692a}=_0x4ef7fa;this['_telemetryInfo']={'unitId':_0x5b0f57,'type':_0x2d692a,'startTime':performance[_0x3e5385(0x603)](),'stopTime':0x0,'duration':0x0,'size':_n(_0x148717)};}[_0x361975(0x339)](){const _0x3b994e=_0x361975;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this['_logService'][_0x3b994e(0x384)](_0x3b994e(0x50d),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3b994e(0x305)][_0x3b994e(0x610)]=performance['now'](),this[_0x3b994e(0x305)][_0x3b994e(0x680)]=this[_0x3b994e(0x305)][_0x3b994e(0x610)]-this[_0x3b994e(0x305)][_0x3b994e(0x540)],this[_0x3b994e(0x443)][_0x3b994e(0x2e9)](hn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x361975(0x229)](){const _0x4d87b1=_0x361975;this[_0x4d87b1(0x305)]=null;}},exports[_0x361975(0x243)]=mn([ue(0x2,a[_0x361975(0x68e)]),ue(0x3,ee[_0x361975(0x5fd)]),ue(0x4,ee[_0x361975(0x4a0)]),ue(0x5,a[_0x361975(0x314)]),ue(0x6,a['Inject'](a['LocaleService'])),ue(0x7,a[_0x361975(0x4b5)](exports[_0x361975(0x486)])),ue(0x8,a[_0x361975(0x4b5)](wt)),ue(0x9,a[_0x361975(0x580)](Gi[_0x361975(0x5b0)]))],exports[_0x361975(0x243)]);var gn=Object['defineProperty'],In=Object['getOwnPropertyDescriptor'],Cn=(_0x5ec2cb,_0x9a787f,_0x232d86,_0x3caa35)=>{const _0x5b05f0=_0x361975;for(var _0x484960=_0x3caa35>0x1?void 0x0:_0x3caa35?In(_0x9a787f,_0x232d86):_0x9a787f,_0x9f5ce=_0x5ec2cb[_0x5b05f0(0x31c)]-0x1,_0x4da4c9;_0x9f5ce>=0x0;_0x9f5ce--)(_0x4da4c9=_0x5ec2cb[_0x9f5ce])&&(_0x484960=(_0x3caa35?_0x4da4c9(_0x9a787f,_0x232d86,_0x484960):_0x4da4c9(_0x484960))||_0x484960);return _0x3caa35&&_0x484960&&gn(_0x9a787f,_0x232d86,_0x484960),_0x484960;},Se=(_0x4656c6,_0x4d32c8)=>(_0xad6203,_0x42f6f4)=>_0x4d32c8(_0xad6203,_0x42f6f4,_0x4656c6);exports[_0x361975(0x245)]=class extends a['Disposable']{constructor(_0x47227c,_0x18f97b,_0x46058a,_0x25fecd,_0x3b8c0c,_0x4ddeea,_0x4ba4ca){const _0xaadb3f=_0x361975;super(),I(this,_0xaadb3f(0x2c7),new N[(_0xaadb3f(0x392))](void 0x0)),I(this,_0xaadb3f(0x216),this[_0xaadb3f(0x2c7)][_0xaadb3f(0x2aa)]()),I(this,'_candidateSocket',null),I(this,'_sessions',new Map()),I(this,_0xaadb3f(0x50b),new N['BehaviorSubject'](ne[_0xaadb3f(0x450)])),I(this,'status$',this[_0xaadb3f(0x50b)][_0xaadb3f(0x2aa)]()),I(this,'_socketReady',!0x1),I(this,_0xaadb3f(0x45f)),I(this,_0xaadb3f(0x394),0x0),I(this,_0xaadb3f(0x458)),I(this,_0xaadb3f(0x3cf)),(this['_injector']=_0x47227c,this[_0xaadb3f(0x312)]=_0x18f97b,this['_messageService']=_0x46058a,this[_0xaadb3f(0x442)]=_0x25fecd,this[_0xaadb3f(0x32b)]=_0x3b8c0c,this[_0xaadb3f(0x689)]=_0x4ddeea,this[_0xaadb3f(0x53b)]=_0x4ba4ca,this[_0xaadb3f(0x466)]());}get[_0x361975(0x433)](){const _0x3ff588=_0x361975;return this['_socket$'][_0x3ff588(0x62d)]();}[_0x361975(0x466)](){const _0x352b8e=_0x361975;this[_0x352b8e(0x40a)](),this[_0x352b8e(0x3c5)]();}[_0x361975(0x2a2)](){const _0x3a8261=_0x361975;super[_0x3a8261(0x2a2)](),this[_0x3a8261(0x5e5)][_0x3a8261(0x3d7)](_0x198652=>_0x198652[_0x3a8261(0x2a2)]()),this[_0x3a8261(0x5e5)][_0x3a8261(0x2f1)](),this[_0x3a8261(0x50b)][_0x3a8261(0x29e)]();}async[_0x361975(0x21c)](_0x16574b){const _0x2e74a0=_0x361975;if(this[_0x2e74a0(0x5e5)][_0x2e74a0(0x638)](_0x16574b))return this[_0x2e74a0(0x5e5)][_0x2e74a0(0x5e3)](_0x16574b);this[_0x2e74a0(0x593)]();const _0x11acb7=this[_0x2e74a0(0x5f2)][_0x2e74a0(0x665)](exports[_0x2e74a0(0x243)],_0x16574b,this[_0x2e74a0(0x2c7)][_0x2e74a0(0x2aa)]());return this[_0x2e74a0(0x5e5)][_0x2e74a0(0x69a)](_0x16574b,_0x11acb7),_0x11acb7;}['closeSession'](_0x415979){const _0x575e26=_0x361975;var _0x2c259f;const _0x50131c=this[_0x575e26(0x5e5)][_0x575e26(0x5e3)](_0x415979);_0x50131c&&(this[_0x575e26(0x5e5)][_0x575e26(0x335)](_0x415979),_0x50131c[_0x575e26(0x684)]()),this[_0x575e26(0x5e5)][_0x575e26(0x24d)]||(_0x2c259f=this['_socket'])==null||_0x2c259f[_0x575e26(0x684)]();}[_0x361975(0x48d)](){const _0x410e03=_0x361975;this[_0x410e03(0x394)]=0x0,this[_0x410e03(0x45f)]!=null&&(clearTimeout(this[_0x410e03(0x45f)]),this[_0x410e03(0x45f)]=null),this['_tryReconnect']();}async['_getSessionTicket'](){const _0x585d82=_0x361975;var _0x495c07,_0x3bd0f3,_0x17d590;const _0x303939=this[_0x585d82(0x32b)][_0x585d82(0x269)](Z),_0x51395d=(_0x495c07=_0x303939==null?void 0x0:_0x303939[_0x585d82(0x211)])!=null?_0x495c07:Ji;return(_0x17d590=(_0x3bd0f3=(await this['_httpService']['get'](_0x51395d,{'headers':{'Content-Type':_0x585d82(0x5c5)}}))[_0x585d82(0x2eb)])==null?void 0x0:_0x3bd0f3['ticket'])!=null?_0x17d590:'';}[_0x361975(0x251)](_0x52e015){const _0x544378=_0x361975;var _0x498f9b,_0x43bf59;const _0x24bbf7=this[_0x544378(0x32b)][_0x544378(0x269)](Si),_0x5e037c=this[_0x544378(0x32b)][_0x544378(0x269)](Z),_0x554719=(_0x43bf59=(_0x498f9b=_0x5e037c==null?void 0x0:_0x5e037c['collabWebSocketUrl'])!=null?_0x498f9b:_0x24bbf7)!=null?_0x43bf59:Xi,_0x580fcb=new URL(_0x554719,window[_0x544378(0x313)][_0x544378(0x370)]);return _0x580fcb[_0x544378(0x220)][_0x544378(0x69a)](_0x544378(0x357),_0x52e015),_0x580fcb[_0x544378(0x620)]();}async[_0x361975(0x69b)](){const _0x2efe3b=_0x361975,_0x4acdf8=await this['_getSessionTicket'](),_0x4ec1c8=this[_0x2efe3b(0x251)](_0x4acdf8),_0x170045=this['_socketService']['createSocket'](_0x4ec1c8);return this[_0x2efe3b(0x449)]=_0x170045,_0x170045;}async[_0x361975(0x593)](){const _0x12f56b=_0x361975;var _0x53f55a,_0x5e40c6;try{const _0xe3282d=(_0x5e40c6=(_0x53f55a=this['_socket'])!=null?_0x53f55a:this[_0x12f56b(0x449)])!=null?_0x5e40c6:await this['_createSocket']();if(_0xe3282d){const _0x2443c5=_0xe3282d['send'];_0xe3282d[_0x12f56b(0x223)]=_0x50a254=>(this[_0x12f56b(0x2c0)](),_0x2443c5[_0x12f56b(0x2f5)](_0xe3282d,[_0x50a254])),_0xe3282d[_0x12f56b(0x477)][_0x12f56b(0x2d2)](_0x5e1036=>this[_0x12f56b(0x382)](_0xe3282d,_0x5e1036)),_0xe3282d['error$'][_0x12f56b(0x256)](V[_0x12f56b(0x28f)](0x1))[_0x12f56b(0x2d2)](_0x1c2eb2=>this[_0x12f56b(0x442)]['error'](_0x12f56b(0x3c7),_0x1c2eb2)),_0xe3282d[_0x12f56b(0x68b)][_0x12f56b(0x256)](V[_0x12f56b(0x28f)](0x1))[_0x12f56b(0x2d2)](()=>{const _0x51aeff=_0x12f56b;this[_0x51aeff(0x36a)](_0xe3282d);}),_0xe3282d['close$'][_0x12f56b(0x256)](V['take'](0x1))[_0x12f56b(0x2d2)](_0x48d74c=>{const _0x3216bc=_0x12f56b;this[_0x3216bc(0x442)][_0x3216bc(0x653)](_0x3216bc(0x518),_0x3216bc(0x3cb),_0x48d74c),this['_onConnectionFailed']();});}}catch(_0x565121){this[_0x12f56b(0x442)][_0x12f56b(0x384)](_0x565121),this[_0x12f56b(0x4eb)]();}}['_onConnectionOpen'](_0x5d1e38){const _0x4838f2=_0x361975;this[_0x4838f2(0x442)][_0x4838f2(0x653)]('[CollaborationSessionService]',_0x4838f2(0x359)),_0x5d1e38[_0x4838f2(0x223)]({'cmd':G[_0x4838f2(0x1ff)]}),this[_0x4838f2(0x2c0)]();}[_0x361975(0x40a)](){const _0x21e013=_0x361975;window['addEventListener']('offline',()=>this[_0x21e013(0x463)]());}[_0x361975(0x463)](){const _0x3f393=_0x361975;this[_0x3f393(0x609)]=!0x1,this[_0x3f393(0x449)]=null,this[_0x3f393(0x50b)][_0x3f393(0x514)](ne[_0x3f393(0x48f)]),this['_socket$'][_0x3f393(0x514)](null),this['_clearTimeoutTimer'](),this[_0x3f393(0x51c)]();}[_0x361975(0x4eb)](){const _0x4c207b=_0x361975;var _0x5e4edd;this[_0x4c207b(0x463)](),this[_0x4c207b(0x394)]<((_0x5e4edd=this[_0x4c207b(0x32b)][_0x4c207b(0x269)](gi))!=null?_0x5e4edd:en)?(this[_0x4c207b(0x4b9)]['show']({'key':_0x4c207b(0x493),'type':Ce[_0x4c207b(0x42c)]['Warning'],'content':this[_0x4c207b(0x312)]['t'](_0x4c207b(0x612))}),this[_0x4c207b(0x31d)]()):this[_0x4c207b(0x4b9)][_0x4c207b(0x4d8)]({'key':_0x4c207b(0x493),'type':Ce[_0x4c207b(0x42c)][_0x4c207b(0x44f)],'content':this[_0x4c207b(0x312)]['t'](_0x4c207b(0x635))});}[_0x361975(0x3c5)](){const _0x8390fe=_0x361975,_0x14a6f1=()=>{const _0x5938c9=_0x3094;this[_0x5938c9(0x433)]||this[_0x5938c9(0x48d)]();},_0x170ced=()=>{const _0x457e81=_0x3094;this[_0x457e81(0x433)]||document[_0x457e81(0x48a)]==='hidden'||this[_0x457e81(0x48d)]();};window['addEventListener'](_0x8390fe(0x2b4),_0x14a6f1),document[_0x8390fe(0x3bf)](_0x8390fe(0x5c9),_0x170ced);}[_0x361975(0x31d)](){const _0x2c1817=_0x361975;var _0x4c7595;const _0x1ec018=this[_0x2c1817(0x394)],_0x12b1a1=this[_0x2c1817(0x32b)]['getConfig'](Z),_0x46bc1c=_0x1ec018===0x0?0x0:((_0x4c7595=_0x12b1a1==null?void 0x0:_0x12b1a1['retryConnectingInterval'])!=null?_0x4c7595:Qi)*0x2**_0x1ec018;this['_retryConnectingTimer']=window[_0x2c1817(0x59e)](()=>{const _0x1dd746=_0x2c1817;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x1dd746(0x593)]();},_0x46bc1c),this['_retryCount']+=0x1;}[_0x361975(0x382)](_0x4b5fea,_0x39ea07){const _0x34886d=_0x361975,{cmd:_0x1966e5}=_0x39ea07;_0x1966e5===G['HELLO']&&!this['_socketReady']&&(_0x4b5fea[_0x34886d(0x691)]=_0x39ea07[_0x34886d(0x405)][_0x34886d(0x691)],this[_0x34886d(0x2c7)]['next'](_0x4b5fea),this[_0x34886d(0x50b)][_0x34886d(0x514)](ne[_0x34886d(0x2af)]),this[_0x34886d(0x609)]=!0x0,this['_candidateSocket']=null),_0x1966e5===G[_0x34886d(0x319)]&&this[_0x34886d(0x5ea)](),this['_rescheduleHeartbeat']();}[_0x361975(0x2c0)](){const _0x491cf2=_0x361975;var _0x3ee426;this[_0x491cf2(0x51c)](),this[_0x491cf2(0x458)]=window[_0x491cf2(0x59e)](()=>this['_sendHeartbeat'](),(_0x3ee426=this['_configService'][_0x491cf2(0x269)](pi))!=null?_0x3ee426:Zi);}[_0x361975(0x60a)](){const _0x37c32f=_0x361975;this[_0x37c32f(0x433)]['send']({'cmd':G[_0x37c32f(0x319)]}),this[_0x37c32f(0x557)]();}[_0x361975(0x557)](){const _0x18e61=_0x361975;var _0x3edfeb;this[_0x18e61(0x3cf)]=window[_0x18e61(0x59e)](()=>this[_0x18e61(0x4eb)](),(_0x3edfeb=this[_0x18e61(0x32b)][_0x18e61(0x269)](Dt))!=null?_0x3edfeb:mi);}[_0x361975(0x51c)](){const _0x1812bb=_0x361975;this[_0x1812bb(0x458)]!=null&&(clearTimeout(this[_0x1812bb(0x458)]),this[_0x1812bb(0x458)]=null);}[_0x361975(0x5ea)](){const _0x4eeb36=_0x361975;this[_0x4eeb36(0x3cf)]!=null&&(clearTimeout(this[_0x4eeb36(0x3cf)]),this[_0x4eeb36(0x3cf)]=null);}},exports[_0x361975(0x245)]=Cn([Se(0x0,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),Se(0x1,a[_0x361975(0x4b5)](a[_0x361975(0x34e)])),Se(0x2,ee['IMessageService']),Se(0x3,a[_0x361975(0x68e)]),Se(0x4,a[_0x361975(0x314)]),Se(0x5,Pt),Se(0x6,a['Inject'](z['HTTPService']))],exports[_0x361975(0x245)]);const q=[];for(let r=0x0;r<0x100;++r)q[_0x361975(0x297)]((r+0x100)[_0x361975(0x620)](0x10)[_0x361975(0x64c)](0x1));function En(_0x336b5b,_0x23b68a=0x0){const _0x39ac55=_0x361975;return(q[_0x336b5b[_0x23b68a+0x0]]+q[_0x336b5b[_0x23b68a+0x1]]+q[_0x336b5b[_0x23b68a+0x2]]+q[_0x336b5b[_0x23b68a+0x3]]+'-'+q[_0x336b5b[_0x23b68a+0x4]]+q[_0x336b5b[_0x23b68a+0x5]]+'-'+q[_0x336b5b[_0x23b68a+0x6]]+q[_0x336b5b[_0x23b68a+0x7]]+'-'+q[_0x336b5b[_0x23b68a+0x8]]+q[_0x336b5b[_0x23b68a+0x9]]+'-'+q[_0x336b5b[_0x23b68a+0xa]]+q[_0x336b5b[_0x23b68a+0xb]]+q[_0x336b5b[_0x23b68a+0xc]]+q[_0x336b5b[_0x23b68a+0xd]]+q[_0x336b5b[_0x23b68a+0xe]]+q[_0x336b5b[_0x23b68a+0xf]])[_0x39ac55(0x1f6)]();}let lt;const bn=new Uint8Array(0x10);function Tn(){const _0x5558c9=_0x361975;if(!lt){if(typeof crypto>'u'||!crypto[_0x5558c9(0x44d)])throw new Error(_0x5558c9(0x459));lt=crypto[_0x5558c9(0x44d)][_0x5558c9(0x49f)](crypto);}return lt(bn);}const Rn=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x361975(0x30f)][_0x361975(0x49f)](crypto),Bt={'randomUUID':Rn};function On(_0x3514c1,_0x1cc3e3,_0x479d1d){const _0x4fa7b0=_0x361975;if(Bt[_0x4fa7b0(0x30f)]&&!_0x1cc3e3&&!_0x3514c1)return Bt[_0x4fa7b0(0x30f)]();_0x3514c1=_0x3514c1||{};const _0x51e72f=_0x3514c1['random']||(_0x3514c1[_0x4fa7b0(0x32f)]||Tn)();return _0x51e72f[0x6]=_0x51e72f[0x6]&0xf|0x40,_0x51e72f[0x8]=_0x51e72f[0x8]&0x3f|0x80,En(_0x51e72f);}var yn=Object[_0x361975(0x23f)],Dn=Object['getOwnPropertyDescriptor'],Pn=(_0x4b5cd8,_0x2cd8ef,_0x3730e7,_0x710cff)=>{const _0x236082=_0x361975;for(var _0x40a3ad=_0x710cff>0x1?void 0x0:_0x710cff?Dn(_0x2cd8ef,_0x3730e7):_0x2cd8ef,_0x4f3e82=_0x4b5cd8[_0x236082(0x31c)]-0x1,_0x2f3dd5;_0x4f3e82>=0x0;_0x4f3e82--)(_0x2f3dd5=_0x4b5cd8[_0x4f3e82])&&(_0x40a3ad=(_0x710cff?_0x2f3dd5(_0x2cd8ef,_0x3730e7,_0x40a3ad):_0x2f3dd5(_0x40a3ad))||_0x40a3ad);return _0x710cff&&_0x40a3ad&&yn(_0x2cd8ef,_0x3730e7,_0x40a3ad),_0x40a3ad;},ht=(_0x17937b,_0x4a3de6)=>(_0x5ebc14,_0x554b5b)=>_0x4a3de6(_0x5ebc14,_0x554b5b,_0x17937b);let Ze=class{constructor(_0x59f214,_0x4b0b32,_0x2134e0){const _0x32a746=_0x361975;this[_0x32a746(0x5f2)]=_0x59f214,this[_0x32a746(0x1e8)]=_0x4b0b32,this[_0x32a746(0x594)]=_0x2134e0;}[_0x361975(0x520)](_0x593615){const _0x43c97e=_0x361975;this[_0x43c97e(0x2db)](_0x593615),this[_0x43c97e(0x2df)](_0x593615);}[_0x361975(0x4cf)](_0x3c2cd5){const _0x1beeba=_0x361975,{unitID:_0x2c7719}=_0x3c2cd5,_0xd6ef58=this[_0x1beeba(0x594)][_0x1beeba(0x579)](_0x2c7719)['with'](J[_0x1beeba(0x568)]),{redoCache:_0x48807a}=_0xd6ef58['getUndoRedoMutationParamsCache']();if(_0x48807a[_0x1beeba(0x31c)]===0x0)return _0x3c2cd5;let _0x25b7db=a[_0x1beeba(0x344)][_0x1beeba(0x2a4)](_0x3c2cd5[_0x1beeba(0x1ec)][0x0]);for(let _0x31d135=0x0;_0x31d135<_0x48807a['length'];_0x31d135++){const _0x9ade82={'id':_0x1beeba(0x4c4),'params':{..._0x48807a[_0x31d135]}},_0x4ca022=this[_0x1beeba(0x1e8)][_0x1beeba(0x516)](_0x25b7db,_0x9ade82,!0x1);if(m[_0x1beeba(0x6a4)](_0x4ca022))throw _0x4ca022[_0x1beeba(0x384)];_0x25b7db=_0x4ca022[_0x1beeba(0x1f4)];}return{...a[_0x1beeba(0x344)][_0x1beeba(0x2a4)](_0x3c2cd5),'mutations':[_0x25b7db]};}[_0x361975(0x2db)](_0x45f0c4){const _0x13a894=_0x361975,{unitID:_0xfd91a5}=_0x45f0c4,_0x55aec5=this[_0x13a894(0x594)][_0x13a894(0x579)](_0xfd91a5)[_0x13a894(0x6b8)](J[_0x13a894(0x568)]),{undoCache:_0x353dcf,redoCache:_0x995036}=_0x55aec5[_0x13a894(0x66c)]();if(_0x353dcf[_0x13a894(0x31c)]===0x0||_0x995036[_0x13a894(0x31c)]===0x0)return;const _0x4c43fb=[],_0x24b410=[];let _0x455fd5=a[_0x13a894(0x344)][_0x13a894(0x2a4)](_0x45f0c4[_0x13a894(0x1ec)][0x0]),_0xbefb4d=a['Tools'][_0x13a894(0x2a4)](_0x45f0c4['mutations'][0x0]);for(let _0x54f812=_0x353dcf[_0x13a894(0x31c)]-0x1;_0x54f812>=0x0;_0x54f812--){const _0xab6a6c={'id':'doc.mutation.rich-text-editing','params':{..._0x353dcf[_0x54f812]}},_0x1a3e5e={'id':_0x13a894(0x4c4),'params':{..._0x995036[_0x54f812]}},_0x3db7d1=this[_0x13a894(0x1e8)][_0x13a894(0x516)](_0x455fd5,_0xab6a6c,!0x1),_0x313cf4=this[_0x13a894(0x1e8)]['transformMutation'](_0xbefb4d,_0x1a3e5e,!0x1);if(m[_0x13a894(0x6a4)](_0x3db7d1))throw _0x3db7d1[_0x13a894(0x384)];if(m['isTransformMutationFailure'](_0x313cf4))throw _0x313cf4[_0x13a894(0x384)];_0x4c43fb[_0x13a894(0x67e)](_0x3db7d1['m2Prime'][_0x13a894(0x509)]),_0x24b410[_0x13a894(0x67e)](_0x313cf4[_0x13a894(0x298)]['params']),_0x455fd5=_0x3db7d1[_0x13a894(0x1f4)],_0xbefb4d=_0x313cf4[_0x13a894(0x1f4)];}_0x55aec5[_0x13a894(0x429)]({'undoCache':_0x4c43fb,'redoCache':_0x24b410});}['_transformPreviousActiveRange'](_0x2eccb9){const _0x25f3bc=_0x361975,{unitID:_0x4aa78d}=_0x2eccb9,_0x4796fe=this[_0x25f3bc(0x594)][_0x25f3bc(0x579)](_0x4aa78d)[_0x25f3bc(0x6b8)](J['DocIMEInputManagerService']),_0x3e8a83=_0x4796fe[_0x25f3bc(0x6af)]();if(_0x3e8a83==null)return;const _0x2a89e8=[{'id':_0x25f3bc(0x4c4),'params':{'unitId':_0x2eccb9[_0x25f3bc(0x332)],'actions':null,'textRanges':[_0x3e8a83]}}],_0x2f3d20=this['_transformService'][_0x25f3bc(0x600)](_0x2eccb9,_0x2a89e8);if(!m[_0x25f3bc(0x371)](_0x2f3d20))throw _0x2f3d20[_0x25f3bc(0x384)];const _0xfa30be=_0x2f3d20[_0x25f3bc(0x298)][0x0][_0x25f3bc(0x509)][_0x25f3bc(0x33b)];Array[_0x25f3bc(0x5d2)](_0xfa30be)&&_0xfa30be[_0x25f3bc(0x31c)]&&_0x4796fe[_0x25f3bc(0x484)](_0xfa30be[0x0]);}};Ze=Pn([ht(0x0,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),ht(0x1,m[_0x361975(0x24c)]),ht(0x2,Y[_0x361975(0x468)])],Ze);var wn=Object[_0x361975(0x23f)],Un=Object[_0x361975(0x3bb)],Mn=(_0x226772,_0x4980f7,_0x21e089,_0x15c779)=>{for(var _0x1d3761=_0x15c779>0x1?void 0x0:_0x15c779?Un(_0x4980f7,_0x21e089):_0x4980f7,_0x6e6a46=_0x226772['length']-0x1,_0x194684;_0x6e6a46>=0x0;_0x6e6a46--)(_0x194684=_0x226772[_0x6e6a46])&&(_0x1d3761=(_0x15c779?_0x194684(_0x4980f7,_0x21e089,_0x1d3761):_0x194684(_0x1d3761))||_0x1d3761);return _0x15c779&&_0x1d3761&&wn(_0x4980f7,_0x21e089,_0x1d3761),_0x1d3761;},Pe=(_0x5d4df3,_0x10285b)=>(_0x2eadbd,_0x3f50ae)=>_0x10285b(_0x2eadbd,_0x3f50ae,_0x5d4df3);exports[_0x361975(0x436)]=class extends a[_0x361975(0x2ee)]{constructor(_0x12ac79,_0x19454a,_0x4ff0e9,_0x43e4eb,_0x1732cb){const _0x1dfc06=_0x361975;super(),I(this,_0x1dfc06(0x519),new Map()),I(this,'_saveTaskMap',new Map()),I(this,_0x1dfc06(0x23b),!0x1),(this[_0x1dfc06(0x32b)]=_0x12ac79,this['_localStorageService']=_0x19454a,this[_0x1dfc06(0x640)]=_0x4ff0e9,this[_0x1dfc06(0x312)]=_0x43e4eb,this['_revisionService']=_0x1732cb,this['_setupBeforeClosingHandler']());}['disableLocalCache'](){const _0x209570=_0x361975;this[_0x209570(0x23b)]=!0x0;}[_0x361975(0x27b)](){const _0x4b479a=_0x361975;this[_0x4b479a(0x23b)]=!0x1;}['dispose'](){const _0x8578a8=_0x361975;this[_0x8578a8(0x64a)]()['then'](()=>super[_0x8578a8(0x2a2)]());}async[_0x361975(0x4b8)](_0x1c8d87){const _0x240659=_0x361975;return this[_0x240659(0x23b)]?null:this[_0x240659(0x237)][_0x240659(0x375)](kt(_0x1c8d87));}async[_0x361975(0x555)](_0x3a7a4f,_0x33ae4a){const _0x1d5a52=_0x361975;return!!this[_0x1d5a52(0x237)][_0x1d5a52(0x3a1)](_0x3a7a4f,_0x33ae4a);}['updateOfflineData'](_0x1aa7df,_0x16592e,_0x29c83f,_0x519af1){const _0x235a87=_0x361975,_0x48a179=this[_0x235a87(0x3b8)][_0x235a87(0x615)](_0x1aa7df);this['_cachedData'][_0x235a87(0x69a)](_0x1aa7df,{'unitID':_0x1aa7df,'type':_0x16592e,'awaitingChangeset':_0x29c83f,'mutations':_0x519af1,'rev':_0x48a179}),this[_0x235a87(0x632)][_0x235a87(0x638)](_0x1aa7df)||this[_0x235a87(0x299)](_0x1aa7df);}[_0x361975(0x299)](_0x4a4048){const _0x5077e1=_0x361975,_0x9b89e=this[_0x5077e1(0x3ad)]();_0x9b89e===0x0?this[_0x5077e1(0x4a2)](_0x4a4048):this['_saveTaskMap'][_0x5077e1(0x69a)](_0x4a4048,setTimeout(()=>this[_0x5077e1(0x4a2)](_0x4a4048),_0x9b89e));}[_0x361975(0x3ad)](){const _0x1c331b=_0x361975;var _0x4ce70c;return(_0x4ce70c=this[_0x1c331b(0x32b)][_0x1c331b(0x269)](Ii))!=null?_0x4ce70c:tn;}[_0x361975(0x4a2)](_0x1d03a4){const _0x2e09fd=_0x361975,_0x3d57fb=this[_0x2e09fd(0x632)][_0x2e09fd(0x5e3)](_0x1d03a4);return _0x3d57fb!==void 0x0&&window[_0x2e09fd(0x627)](_0x3d57fb),this[_0x2e09fd(0x237)][_0x2e09fd(0x3a1)](kt(_0x1d03a4),this[_0x2e09fd(0x519)][_0x2e09fd(0x5e3)](_0x1d03a4))[_0x2e09fd(0x264)](()=>this[_0x2e09fd(0x632)][_0x2e09fd(0x335)](_0x1d03a4));}async[_0x361975(0x64a)](){const _0x217770=_0x361975,_0x36c32f=[];this[_0x217770(0x632)][_0x217770(0x3d7)]((_0x361c99,_0x4f1e72)=>{const _0x1b3fc9=_0x217770;window[_0x1b3fc9(0x627)](_0x361c99),_0x36c32f['push'](this[_0x1b3fc9(0x4a2)](_0x4f1e72)[_0x1b3fc9(0x264)](()=>{const _0x77a1bf=_0x1b3fc9;this[_0x77a1bf(0x632)]['delete'](_0x4f1e72);}));}),await Promise['all'](_0x36c32f);}[_0x361975(0x317)](){const _0x107f29=_0x361975;this[_0x107f29(0x259)](this[_0x107f29(0x640)][_0x107f29(0x424)](()=>{const _0xbadbc1=_0x107f29;if(this['_saveTaskMap'][_0xbadbc1(0x24d)])return this[_0xbadbc1(0x312)]['t']('collaboration-client.offline-data-not-saved');}));}},exports[_0x361975(0x436)]=Mn([Pe(0x0,a[_0x361975(0x314)]),Pe(0x1,a['ILocalStorageService']),Pe(0x2,ee[_0x361975(0x5fd)]),Pe(0x3,a[_0x361975(0x4b5)](a[_0x361975(0x34e)])),Pe(0x4,a[_0x361975(0x4b5)](m[_0x361975(0x2cb)]))],exports[_0x361975(0x436)]);function kt(_0x1609a7){return'unit-cache-'+_0x1609a7;}var Nn=Object[_0x361975(0x23f)],An=Object[_0x361975(0x3bb)],Ln=(_0x15d63c,_0x342ad5,_0x243101,_0x117435)=>{for(var _0xb17372=_0x117435>0x1?void 0x0:_0x117435?An(_0x342ad5,_0x243101):_0x342ad5,_0x4ae3a6=_0x15d63c['length']-0x1,_0x4d6951;_0x4ae3a6>=0x0;_0x4ae3a6--)(_0x4d6951=_0x15d63c[_0x4ae3a6])&&(_0xb17372=(_0x117435?_0x4d6951(_0x342ad5,_0x243101,_0xb17372):_0x4d6951(_0xb17372))||_0xb17372);return _0x117435&&_0xb17372&&Nn(_0x342ad5,_0x243101,_0xb17372),_0xb17372;},_t=(_0xea6348,_0x36177c)=>(_0x513929,_0x1d628f)=>_0x36177c(_0x513929,_0x1d628f,_0xea6348);function xn(_0x51b7ad){const _0x1ad1e5=_0x361975,{unitID:_0x172d75,mutations:_0x135483}=_0x51b7ad;return{'unitId':_0x172d75,'subUnitId':_0x135483[0x0][_0x1ad1e5(0x509)]['subUnitId']};}let Qe=class{constructor(_0x322229,_0x3d0fb1,_0x5adeff){const _0x57f447=_0x361975;this[_0x57f447(0x5f2)]=_0x322229,this[_0x57f447(0x1e8)]=_0x3d0fb1,this[_0x57f447(0x2a6)]=_0x5adeff;}[_0x361975(0x43f)](_0xf93a3f){const _0x5bff16=_0x361975;var _0x5b86c0,_0x5ea861,_0x428228,_0x158bc3;const _0x5b5d24=this['_injector'][_0x5bff16(0x5e3)](k[_0x5bff16(0x534)]),{unitId:_0x9bae19,subUnitId:_0x4bced5}=xn(_0xf93a3f),_0x5260ab=_0x5b5d24[_0x5bff16(0x5ac)](_0x9bae19)['getCurrentSelections'](),_0x84836c=(_0x5ea861=(_0x5b86c0=this[_0x5bff16(0x2a6)]['getUnit'](_0x9bae19))==null?void 0x0:_0x5b86c0[_0x5bff16(0x5c4)]())==null?void 0x0:_0x5ea861[_0x5bff16(0x54f)]();if(_0x5260ab[_0x5bff16(0x31c)]===0x0||!_0x9bae19||!_0x4bced5)return;const _0x2d44b1=[{'id':k[_0x5bff16(0x5d9)]['id'],'params':{'unitId':_0x9bae19,'subUnitId':_0x84836c,'selections':a[_0x5bff16(0x344)][_0x5bff16(0x2a4)](_0x5260ab)}}],_0x440b2e=this[_0x5bff16(0x1e8)][_0x5bff16(0x600)](_0xf93a3f,_0x2d44b1);if(!m[_0x5bff16(0x371)](_0x440b2e))throw _0x440b2e[_0x5bff16(0x384)];const _0x3a945c=(_0x158bc3=(_0x428228=_0x440b2e[_0x5bff16(0x298)][0x0])==null?void 0x0:_0x428228[_0x5bff16(0x509)])==null?void 0x0:_0x158bc3[_0x5bff16(0x564)];if(Array['isArray'](_0x3a945c)&&_0x3a945c['length']){if(_0x3a945c[_0x5bff16(0x31c)]===_0x2d44b1[0x0]['params'][_0x5bff16(0x564)][_0x5bff16(0x31c)]&&_0x3a945c[_0x5bff16(0x55c)]((_0x5e2f05,_0x54410b)=>a[_0x5bff16(0x412)][_0x5bff16(0x401)](_0x5e2f05['range'],_0x2d44b1[0x0]['params'][_0x5bff16(0x564)][_0x54410b]['range'])))return;this[_0x5bff16(0x5f2)][_0x5bff16(0x5e3)](a[_0x5bff16(0x67f)])['executeCommand'](k[_0x5bff16(0x5d9)]['id'],{'unitId':_0x9bae19,'subUnitId':_0x84836c,'selections':_0x3a945c});}}};Qe=Ln([_t(0x0,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),_t(0x1,m[_0x361975(0x24c)]),_t(0x2,a[_0x361975(0x63c)])],Qe);const at=a[_0x361975(0x386)](_0x361975(0x2d3));var yi=(_0x4ac264=>(_0x4ac264[_0x4ac264[_0x361975(0x2cd)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4ac264[_0x4ac264['OTHER_CLIENTS_EDITING']=0x1]=_0x361975(0x625),_0x4ac264))(yi||{});const Wt=0x7530,Ft=_0x361975(0x408);class $n extends a[_0x361975(0x2ee)]{constructor(){const _0x3ae779=_0x361975;super(),I(this,_0x3ae779(0x528),a[_0x3ae779(0x344)][_0x3ae779(0x22d)]()),I(this,_0x3ae779(0x566),new Set()),I(this,'_unitOnClients',new Map()),I(this,_0x3ae779(0x40c),null),I(this,'_clearOtherTimers',new Map()),I(this,_0x3ae779(0x30e),new Map()),this['_init']();}[_0x361975(0x2a2)](){const _0x4b9550=_0x361975;super[_0x4b9550(0x2a2)](),this[_0x4b9550(0x3b9)][_0x4b9550(0x3d7)]((_0x277f3a,_0x2fcada)=>this[_0x4b9550(0x41a)](_0x2fcada)),this['_heartbeatTimer']&&window[_0x4b9550(0x2d5)](this[_0x4b9550(0x40c)]);}[_0x361975(0x400)](_0x16c095){const _0x53483d=_0x361975;return this[_0x53483d(0x498)](_0x16c095)[_0x53483d(0x256)](N[_0x53483d(0x4f2)]());}[_0x361975(0x346)](_0xea3e65){const _0x410e34=_0x361975;this[_0x410e34(0x566)][_0x410e34(0x24d)]===0x0&&this[_0x410e34(0x334)](),this[_0x410e34(0x566)][_0x410e34(0x277)](_0xea3e65),this[_0x410e34(0x4bc)]({'type':0x0,'memberID':this[_0x410e34(0x528)],'unitIDs':[_0xea3e65],'isForwarded':!0x1});}[_0x361975(0x5b7)](_0x431351){const _0x362604=_0x361975;this[_0x362604(0x566)][_0x362604(0x335)](_0x431351),this['_selfUnitIDs'][_0x362604(0x24d)]===0x0&&this[_0x362604(0x40c)]&&window['clearInterval'](this[_0x362604(0x40c)]);}[_0x361975(0x272)](){const _0x4e4052=_0x361975;this['disposeWithMe'](a[_0x4e4052(0x4f1)](N[_0x4e4052(0x388)](window,_0x4e4052(0x320))[_0x4e4052(0x2d2)](_0x16abd8=>{const _0x58706b=_0x4e4052;if(_0x16abd8['key']!==Ft||!_0x16abd8[_0x58706b(0x1e9)])return;const _0x23ab23=JSON[_0x58706b(0x345)](_0x16abd8[_0x58706b(0x1e9)]);this[_0x58706b(0x4bb)](_0x23ab23);}))),window[_0x4e4052(0x3bf)]('unload',()=>this[_0x4e4052(0x4bc)]({'type':0x1,'memberID':this[_0x4e4052(0x528)],'unitIDs':Array[_0x4e4052(0x4fb)](this[_0x4e4052(0x566)])}));}[_0x361975(0x4bb)](_0x158705){const _0x55958a=_0x361975;switch(_0x158705['type']){case 0x0:this[_0x55958a(0x2e8)](_0x158705);break;case 0x1:this['_handleLeaveEvent'](_0x158705);break;case 0x2:this['_handleHeartbeatEvent'](_0x158705);break;}}['_handleJoinEvent'](_0x33ca75){const _0x3b4533=_0x361975,{unitIDs:_0x44c73a,memberID:_0xc070c,isForwarded:_0x42b1bf}=_0x33ca75;_0x44c73a['forEach'](_0x221d9b=>{const _0x442591=_0x3094;if(!_0x42b1bf&&this['_unitOnClients']['has'](_0x221d9b)&&this[_0x442591(0x498)](_0x221d9b)[_0x442591(0x514)](0x1),!this[_0x442591(0x5ce)][_0x442591(0x638)](_0x221d9b)||!this[_0x442591(0x5ce)][_0x442591(0x5e3)](_0x221d9b)[_0x442591(0x638)](_0xc070c)){const _0x3bf904=this[_0x442591(0x5ce)][_0x442591(0x5e3)](_0x221d9b)||new Set();_0x3bf904[_0x442591(0x277)](_0xc070c),this[_0x442591(0x5ce)]['set'](_0x221d9b,_0x3bf904),this[_0x442591(0x2e6)](_0xc070c);}}),_0x42b1bf||this[_0x3b4533(0x4bc)]({'type':0x0,'memberID':this[_0x3b4533(0x528)],'unitIDs':[...this[_0x3b4533(0x566)]],'isForwarded':!0x0});}[_0x361975(0x2e6)](_0x46e25c){const _0x584504=_0x361975;this['_removeClearOtherTimer'](_0x46e25c);const _0x5d77c6=window['setTimeout'](()=>{const _0x585630=_0x3094;this['_unitOnClients'][_0x585630(0x3d7)](_0x13998b=>{const _0x3b426a=_0x585630;_0x13998b[_0x3b426a(0x335)](_0x46e25c);});},Wt*0x2);this[_0x584504(0x3b9)][_0x584504(0x69a)](_0x46e25c,_0x5d77c6);}[_0x361975(0x41a)](_0x4dcff8){const _0x43be68=_0x361975;if(this[_0x43be68(0x3b9)]['has'](_0x4dcff8)){const _0x110229=this[_0x43be68(0x3b9)]['get'](_0x4dcff8);_0x110229&&window[_0x43be68(0x627)](_0x110229),this['_clearOtherTimers'][_0x43be68(0x69a)](_0x4dcff8,null);}}['_handleLeaveEvent'](_0x1b20f4){const {memberID:_0x18ff2a,unitIDs:_0x5ac2a8}=_0x1b20f4;_0x5ac2a8['forEach'](_0x4d7228=>{const _0x214f0e=_0x3094;var _0x489277;const _0x129aa0=this[_0x214f0e(0x5ce)][_0x214f0e(0x5e3)](_0x4d7228);_0x129aa0&&(_0x129aa0[_0x214f0e(0x335)](_0x18ff2a),(_0x489277=this['_ensureSubject'](_0x4d7228))==null||_0x489277[_0x214f0e(0x514)](_0x129aa0[_0x214f0e(0x24d)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x18ff2a);}['_handleHeartbeatEvent'](_0xc77157){const _0x2ebde5=_0x361975;this[_0x2ebde5(0x2e6)](_0xc77157[_0x2ebde5(0x691)]);}[_0x361975(0x4bc)](_0x20025a){const _0x10f587=_0x361975;localStorage[_0x10f587(0x3a1)](Ft,JSON['stringify'](_0x20025a));}[_0x361975(0x334)](){const _0x445104=_0x361975;this['_heartbeatTimer']=window[_0x445104(0x55d)](()=>{const _0x298e48=_0x445104;this[_0x298e48(0x4bc)]({'type':0x2,'memberID':this[_0x298e48(0x528)]});},Wt);}['_ensureSubject'](_0x49af6e){const _0x511447=_0x361975;return this['_unitStatus']['has'](_0x49af6e)||this[_0x511447(0x30e)][_0x511447(0x69a)](_0x49af6e,new N[(_0x511447(0x392))](0x0)),this[_0x511447(0x30e)][_0x511447(0x5e3)](_0x49af6e);}}var jn=Object[_0x361975(0x23f)],Hn=Object[_0x361975(0x3bb)],Bn=(_0x293134,_0x4b2b02,_0x42ef11,_0x30bc96)=>{const _0x529e00=_0x361975;for(var _0x51927f=_0x30bc96>0x1?void 0x0:_0x30bc96?Hn(_0x4b2b02,_0x42ef11):_0x4b2b02,_0x241a00=_0x293134[_0x529e00(0x31c)]-0x1,_0x583e99;_0x241a00>=0x0;_0x241a00--)(_0x583e99=_0x293134[_0x241a00])&&(_0x51927f=(_0x30bc96?_0x583e99(_0x4b2b02,_0x42ef11,_0x51927f):_0x583e99(_0x51927f))||_0x51927f);return _0x30bc96&&_0x51927f&&jn(_0x4b2b02,_0x42ef11,_0x51927f),_0x51927f;},ut=(_0xd4b17b,_0x3c7da7)=>(_0x2c8ae2,_0x53ab8a)=>_0x3c7da7(_0x2c8ae2,_0x53ab8a,_0xd4b17b);let et=class{constructor(_0x154d40,_0x24e83d,_0x5749bb){const _0x36e218=_0x361975;this[_0x36e218(0x5f2)]=_0x154d40,this[_0x36e218(0x1e8)]=_0x24e83d,this[_0x36e218(0x2b9)]=_0x5749bb;}[_0x361975(0x239)](_0x162f96){const _0x4e6a0c=_0x361975;this[_0x4e6a0c(0x20e)](_0x162f96);}[_0x361975(0x4cf)](_0x33f63b){const _0x43ff7f=_0x361975,{unitID:_0x3b72c9}=_0x33f63b,{collaboration:_0xafc71}=this[_0x43ff7f(0x2b9)][_0x43ff7f(0x374)](_0x3b72c9);if(_0xafc71[_0x43ff7f(0x31c)]===0x0)return _0x33f63b;let _0xc3096e=a[_0x43ff7f(0x344)][_0x43ff7f(0x2a4)](_0x33f63b['mutations'][0x0]);for(let _0x176b3e=0x0;_0x176b3e<_0xafc71[_0x43ff7f(0x31c)];_0x176b3e++){const _0x3a2ac4={'id':_0x43ff7f(0x4c4),'params':{'unitId':_0xafc71[_0x176b3e]['unitId'],..._0xafc71[_0x176b3e][_0x43ff7f(0x224)]}},_0x1e40c6=this[_0x43ff7f(0x1e8)]['transformMutation'](_0xc3096e,_0x3a2ac4,!0x1);if(m[_0x43ff7f(0x6a4)](_0x1e40c6))throw _0x1e40c6[_0x43ff7f(0x384)];_0xc3096e=_0x1e40c6[_0x43ff7f(0x1f4)];}return{...a['Tools'][_0x43ff7f(0x2a4)](_0x33f63b),'mutations':[_0xc3096e]};}[_0x361975(0x20e)](_0xc22618){const _0xf43452=_0x361975,{unitID:_0x25584b}=_0xc22618,{history:_0x15815f,collaboration:_0x3c16a7}=this[_0xf43452(0x2b9)]['getStateCache'](_0x25584b);if(_0x15815f['length']===0x0&&_0x3c16a7[_0xf43452(0x31c)]===0x0)return;const _0x18c496=[],_0x3e765a=[];let _0x30b0fb=a['Tools'][_0xf43452(0x2a4)](_0xc22618[_0xf43452(0x1ec)][0x0]),_0x387329=a[_0xf43452(0x344)]['deepClone'](_0xc22618[_0xf43452(0x1ec)][0x0]);for(let _0x5dc04e=_0x15815f[_0xf43452(0x31c)]-0x1;_0x5dc04e>=0x0;_0x5dc04e--){const _0x148fc0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x15815f[_0x5dc04e][_0xf43452(0x693)],..._0x15815f[_0x5dc04e][_0xf43452(0x515)]}},_0x1d0073={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x15815f[_0x5dc04e]['unitId'],..._0x15815f[_0x5dc04e][_0xf43452(0x224)]}},_0x4983fc=this[_0xf43452(0x1e8)][_0xf43452(0x516)](_0x30b0fb,_0x148fc0,!0x1),_0x308904=this[_0xf43452(0x1e8)][_0xf43452(0x516)](_0x387329,_0x1d0073,!0x1);if(m[_0xf43452(0x6a4)](_0x4983fc))throw _0x4983fc[_0xf43452(0x384)];if(m[_0xf43452(0x6a4)](_0x308904))throw _0x308904['error'];_0x18c496['unshift']({..._0x15815f[_0x5dc04e],'undoState':_0x4983fc[_0xf43452(0x298)][_0xf43452(0x509)],'redoState':_0x308904[_0xf43452(0x298)][_0xf43452(0x509)]}),_0x30b0fb=_0x4983fc['m1Prime'],_0x387329=_0x308904[_0xf43452(0x1f4)];}_0x30b0fb=a['Tools'][_0xf43452(0x2a4)](_0xc22618[_0xf43452(0x1ec)][0x0]),_0x387329=a[_0xf43452(0x344)][_0xf43452(0x2a4)](_0xc22618[_0xf43452(0x1ec)][0x0]);for(let _0x354958=_0x3c16a7[_0xf43452(0x31c)]-0x1;_0x354958>=0x0;_0x354958--){const _0x3a9d9d={'id':_0xf43452(0x4c4),'params':{'unitId':_0x3c16a7[_0x354958]['unitId'],..._0x3c16a7[_0x354958][_0xf43452(0x515)]}},_0x4f3f4a={'id':_0xf43452(0x4c4),'params':{'unitId':_0x3c16a7[_0x354958][_0xf43452(0x693)],..._0x3c16a7[_0x354958][_0xf43452(0x224)]}},_0x2e36b7=this['_transformService'][_0xf43452(0x516)](_0x30b0fb,_0x3a9d9d,!0x1),_0x5db1cc=this[_0xf43452(0x1e8)][_0xf43452(0x516)](_0x387329,_0x4f3f4a,!0x1);if(m[_0xf43452(0x6a4)](_0x2e36b7))throw _0x2e36b7['error'];if(m[_0xf43452(0x6a4)](_0x5db1cc))throw _0x5db1cc[_0xf43452(0x384)];_0x3e765a[_0xf43452(0x67e)]({..._0x3c16a7[_0x354958],'undoState':_0x2e36b7[_0xf43452(0x298)]['params'],'redoState':_0x5db1cc[_0xf43452(0x298)][_0xf43452(0x509)]}),_0x30b0fb=_0x2e36b7[_0xf43452(0x1f4)],_0x387329=_0x5db1cc[_0xf43452(0x1f4)];}this[_0xf43452(0x2b9)][_0xf43452(0x53d)](_0x25584b,{'history':_0x18c496,'collaboration':_0x3e765a});}};et=Bn([ut(0x0,a[_0x361975(0x4b5)](a['Injector'])),ut(0x1,m[_0x361975(0x24c)]),ut(0x2,a[_0x361975(0x4b5)](J[_0x361975(0x667)]))],et);function Di(_0x20f1c8){let _0xaba5bb='';for(const _0x41643b of _0x20f1c8){const {startOffset:_0x2664a5,endOffset:_0x35fa55,isActive:_0x28d9e7,rangeType:_0x6e87f0,segmentId:_0x149c78,segmentPage:_0x5cd338}=_0x41643b;_0xaba5bb['length']&&(_0xaba5bb+=','),_0xaba5bb+=_0x2664a5+':'+_0x35fa55+':'+(_0x28d9e7?'1':'0')+':'+_0x6e87f0+':'+_0x149c78+':'+_0x5cd338;}return _0xaba5bb;}function kn(_0x72b7e4){const _0x4cbbc9=_0x361975,_0x9ef225=_0x72b7e4['split'](','),_0x2c5310=[];for(const _0x14eed6 of _0x9ef225){const [_0x52c792,_0x7e4150,_0xd8b515,_0x2e3c69,_0x17193d,_0x434daf]=_0x14eed6['split'](':');_0x2c5310[_0x4cbbc9(0x297)]({'startOffset':Number(_0x52c792),'endOffset':Number(_0x7e4150),'collapsed':_0x52c792===_0x7e4150,'isActive':_0xd8b515==='1','rangeType':_0x2e3c69===a[_0x4cbbc9(0x260)]['TEXT']?a[_0x4cbbc9(0x260)][_0x4cbbc9(0x641)]:a[_0x4cbbc9(0x260)]['RECT'],'segmentId':typeof _0x17193d==_0x4cbbc9(0x4ce)?String(_0x17193d):'','segmentPage':Number(_0x434daf!=null?_0x434daf:-0x1)});}return _0x2c5310['some'](_0x49d266=>_0x49d266['isActive'])||(_0x2c5310[0x0]['isActive']=!0x0),_0x2c5310;}class Ut extends a[_0x361975(0x353)]{constructor(){const _0x544f0a=_0x361975;super(...arguments),I(this,_0x544f0a(0x34b),new N[(_0x544f0a(0x392))](null)),I(this,_0x544f0a(0x296),this[_0x544f0a(0x34b)][_0x544f0a(0x2aa)]());}[_0x361975(0x235)](_0x38b689){const _0x528b08=_0x361975,{unitID:_0x5dc8c7,memberID:_0x57d1c2,textRanges:_0x25582b}=_0x38b689,_0x4dd9c2=Di(_0x25582b);if(_0x4dd9c2==='')return;const _0x38d32b={'unitID':_0x5dc8c7,'memberID':_0x57d1c2,'selection':_0x4dd9c2};this[_0x528b08(0x34b)][_0x528b08(0x514)](_0x38d32b);}}var Wn=Object[_0x361975(0x23f)],Fn=Object[_0x361975(0x3bb)],Vn=(_0x3a7974,_0x561402,_0x199606,_0x27ce01)=>{const _0x55e59f=_0x361975;for(var _0x4d6117=_0x27ce01>0x1?void 0x0:_0x27ce01?Fn(_0x561402,_0x199606):_0x561402,_0x4da374=_0x3a7974[_0x55e59f(0x31c)]-0x1,_0x34daa7;_0x4da374>=0x0;_0x4da374--)(_0x34daa7=_0x3a7974[_0x4da374])&&(_0x4d6117=(_0x27ce01?_0x34daa7(_0x561402,_0x199606,_0x4d6117):_0x34daa7(_0x4d6117))||_0x4d6117);return _0x27ce01&&_0x4d6117&&Wn(_0x561402,_0x199606,_0x4d6117),_0x4d6117;},Vt=(_0x505191,_0x57c36a)=>(_0x517b45,_0x29c5d1)=>_0x57c36a(_0x517b45,_0x29c5d1,_0x505191);let tt=class{constructor(_0x3d977e,_0x5f3fba){const _0x19b7f7=_0x361975;this['_injector']=_0x3d977e,this[_0x19b7f7(0x1e8)]=_0x5f3fba;}[_0x361975(0x43f)](_0x2cc703){const _0x4479a7=_0x361975;var _0x241b71;const _0x26cdd4=this['_injector']['get'](Ie[_0x4479a7(0x6b6)]),_0x355148=(_0x241b71=_0x26cdd4[_0x4479a7(0x510)]())!=null?_0x241b71:[];if(_0x355148[_0x4479a7(0x31c)]===0x0)return;const _0x314617=_0x2cc703['unitID'],_0x45e1d4=[{'id':_0x4479a7(0x4c4),'params':{'unitId':_0x314617,'actions':null,'textRanges':_0x355148}}],_0x17b1c7=this[_0x4479a7(0x1e8)]['transformMutationsWithChangeset'](_0x2cc703,_0x45e1d4);if(!m['isTransformMutationsWithChangesetSuccess'](_0x17b1c7))throw _0x17b1c7[_0x4479a7(0x384)];const _0xce10ea=_0x17b1c7[_0x4479a7(0x298)][0x0][_0x4479a7(0x509)][_0x4479a7(0x33b)];Array[_0x4479a7(0x5d2)](_0xce10ea)&&_0xce10ea[_0x4479a7(0x31c)]&&_0x26cdd4['replaceDocRanges'](_0xce10ea,{'unitId':_0x314617,'subUnitId':_0x314617},!0x1);}};tt=Vn([Vt(0x0,a['Inject'](a['Injector'])),Vt(0x1,m[_0x361975(0x24c)])],tt);const Gn=new Set([k[_0x361975(0x3e0)]['id']]);function Gt(_0x1d2fa1,_0x56df5b,_0x54a15f,_0x567b1d,_0x2590af){const _0x4c2166=_0x361975;var _0x8a7979,_0x165d59,_0x3aa418,_0xe76a9e;const _0x12611a=[];for(const _0x323703 of _0x1d2fa1)if(Gn['has'](_0x323703['id'])){if(_0x12611a[_0x4c2166(0x31c)]>0x0)break;_0x12611a['push'](_0x323703);break;}else _0x12611a[_0x4c2166(0x297)](_0x323703);const _0x1fbf7c=(_0x165d59=(_0x8a7979=_0x2590af[_0x4c2166(0x5b8)]())==null?void 0x0:_0x8a7979[_0x4c2166(0x4ea)])!=null?_0x165d59:_0x4c2166(0x605),_0x281885=(_0xe76a9e=(_0x3aa418=_0x2590af[_0x4c2166(0x5b8)]())==null?void 0x0:_0x3aa418[_0x4c2166(0x691)])!=null?_0xe76a9e:_0x4c2166(0x605);return{'changeset':{'unitID':_0x56df5b,'type':m[_0x4c2166(0x441)](_0x54a15f[_0x4c2166(0x5fe)](_0x56df5b)),'baseRev':_0x567b1d[_0x4c2166(0x615)](_0x56df5b),'revision':0x0,'userID':_0x1fbf7c,'memberID':_0x281885,'mutations':_0x12611a},'pendingMutations':_0x1d2fa1[_0x4c2166(0x64c)](_0x12611a[_0x4c2166(0x31c)])};}function Yn(_0x41cfe1,_0x234f8a,_0x10305b,_0x3a30a6,_0x48092c){const _0x2cb327=_0x361975;var _0xa655e,_0x3daeb5,_0x4e8a48,_0x3730c3;const _0x61cb72=[_0x41cfe1[_0x2cb327(0x22e)]((_0x529aa4,_0x486861)=>{const _0x302f33=_0x2cb327;var _0x73e56b;const {id:_0x4be247}=_0x529aa4,{id:_0x31cc3e,type:_0x3f5c88}=_0x486861,_0x5b9c9f=(_0x73e56b=_0x529aa4[_0x302f33(0x509)])!=null?_0x73e56b:{'actions':null},_0x5ed23a=_0x486861[_0x302f33(0x509)];if(_0x4be247&&_0x4be247!==_0x31cc3e)throw new Error(_0x302f33(0x2f4)+_0x4be247+'\x20-\x20'+_0x31cc3e+'.');return{..._0x529aa4,'id':_0x31cc3e,'type':_0x3f5c88,'params':{'unitId':_0x5ed23a[_0x302f33(0x693)],'textRanges':_0x5ed23a['textRanges'],'actions':a[_0x302f33(0x3a3)]['compose'](_0x5b9c9f[_0x302f33(0x23c)],_0x5ed23a[_0x302f33(0x23c)])}};},{})],_0x4f2fba=(_0x3daeb5=(_0xa655e=_0x48092c[_0x2cb327(0x5b8)]())==null?void 0x0:_0xa655e[_0x2cb327(0x4ea)])!=null?_0x3daeb5:_0x2cb327(0x605),_0x32d5d9=(_0x3730c3=(_0x4e8a48=_0x48092c[_0x2cb327(0x5b8)]())==null?void 0x0:_0x4e8a48[_0x2cb327(0x691)])!=null?_0x3730c3:_0x2cb327(0x605);return{'changeset':{'unitID':_0x234f8a,'type':m[_0x2cb327(0x441)](_0x10305b[_0x2cb327(0x5fe)](_0x234f8a)),'baseRev':_0x3a30a6[_0x2cb327(0x615)](_0x234f8a),'revision':0x0,'userID':_0x4f2fba,'memberID':_0x32d5d9,'mutations':_0x61cb72},'pendingMutations':[]};}function Pi(_0x3b8d8d,_0x3d94e3){const _0x28d105=_0x361975,_0x2cdf43=new N[(_0x28d105(0x2a5))](0x1);return setTimeout(()=>_0x2cdf43[_0x28d105(0x514)](_0x3d94e3),_0x3b8d8d),_0x2cdf43[_0x28d105(0x2aa)]()[_0x28d105(0x256)](N[_0x28d105(0x28f)](0x1));}const qn={'id':k[_0x361975(0x338)]['id'],'type':a[_0x361975(0x688)]['MUTATION'],'params':{}};var Kn=Object['defineProperty'],zn=Object['getOwnPropertyDescriptor'],Ee=(_0x22a3bc,_0x4b0ab5,_0x1fdca1,_0x34e343)=>{const _0x241f1a=_0x361975;for(var _0x27762c=_0x34e343>0x1?void 0x0:_0x34e343?zn(_0x4b0ab5,_0x1fdca1):_0x4b0ab5,_0x40f8b6=_0x22a3bc[_0x241f1a(0x31c)]-0x1,_0x2671fe;_0x40f8b6>=0x0;_0x40f8b6--)(_0x2671fe=_0x22a3bc[_0x40f8b6])&&(_0x27762c=(_0x34e343?_0x2671fe(_0x4b0ab5,_0x1fdca1,_0x27762c):_0x2671fe(_0x27762c))||_0x27762c);return _0x34e343&&_0x27762c&&Kn(_0x4b0ab5,_0x1fdca1,_0x27762c),_0x27762c;},A=(_0x2c0fd1,_0x305a51)=>(_0x46b94e,_0x4d85f6)=>_0x305a51(_0x46b94e,_0x4d85f6,_0x2c0fd1),K=(_0x1f5495=>(_0x1f5495['NOT_COLLAB']='not_collab',_0x1f5495[_0x361975(0x452)]=_0x361975(0x293),_0x1f5495[_0x361975(0x268)]=_0x361975(0x5da),_0x1f5495[_0x361975(0x574)]=_0x361975(0x55e),_0x1f5495['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x1f5495[_0x361975(0x304)]='fetch_missing',_0x1f5495[_0x361975(0x411)]=_0x361975(0x232),_0x1f5495[_0x361975(0x48f)]='offline',_0x1f5495))(K||{});const wi=0xea60;class be{constructor(_0x5bb9e8,_0x4255b9,_0x389d55,_0x5e3864,_0x4a4717,_0xf35aa0,_0x507c0c,_0x17998c,_0x5a73c2){const _0x590641=_0x361975;I(this,_0x590641(0x368),null),I(this,_0x590641(0x6ac),[]),(this['unitID']=_0x5bb9e8,this[_0x590641(0x585)]=_0x4255b9,this['_handler']=_0x4a4717,this[_0x590641(0x39e)]=_0xf35aa0,this[_0x590641(0x5a3)]=_0x507c0c,this[_0x590641(0x3b8)]=_0x17998c,this[_0x590641(0x4ac)]=_0x5a73c2,this[_0x590641(0x368)]=_0x389d55,this[_0x590641(0x6ac)]=_0x5e3864);}[_0x361975(0x628)](_0x361b04){const _0x5d5df3=_0x361975,_0x1af1a5=this['_revisionService'][_0x5d5df3(0x615)](this[_0x5d5df3(0x332)]);return _0x361b04[_0x5d5df3(0x497)]>_0x1af1a5+0x1?(this[_0x5d5df3(0x4cd)]['onMissingChangesets']({'from':_0x1af1a5,'to':_0x361b04[_0x5d5df3(0x497)]-0x1}),!0x0):!0x1;}[_0x361975(0x4c9)](_0x4a2ad4){const _0x326abe=_0x361975;this[_0x326abe(0x5a3)][_0x326abe(0x4cc)](this[_0x326abe(0x332)],_0x4a2ad4);}['_transformSelections'](_0x3c6890){const _0x218935=_0x361975;var _0x5ede11,_0x2c3e71;(_0x2c3e71=(_0x5ede11=this[_0x218935(0x4cd)])[_0x218935(0x5dc)])==null||_0x2c3e71[_0x218935(0x489)](_0x5ede11,_0x3c6890);}['_transformIMECache'](_0x5aa217){const _0x503b6b=_0x361975;var _0x207eb7,_0x5864a8;return(_0x5864a8=(_0x207eb7=this[_0x503b6b(0x4cd)])[_0x503b6b(0x5d6)])==null?void 0x0:_0x5864a8[_0x503b6b(0x489)](_0x207eb7,_0x5aa217);}[_0x361975(0x295)](_0x1fed64){const _0x17c856=_0x361975;var _0x1ec712,_0x5b102e;return(_0x5b102e=(_0x1ec712=this['_handler'])[_0x17c856(0x560)])==null?void 0x0:_0x5b102e[_0x17c856(0x489)](_0x1ec712,_0x1fed64);}[_0x361975(0x596)](_0x4266d8){const _0x4f90a6=_0x361975;var _0x37f4a0,_0x140f43,_0xa8e166;return(_0xa8e166=(_0x140f43=(_0x37f4a0=this[_0x4f90a6(0x4cd)])[_0x4f90a6(0x4db)])==null?void 0x0:_0x140f43[_0x4f90a6(0x489)](_0x37f4a0,_0x4266d8))!=null?_0xa8e166:_0x4266d8;}[_0x361975(0x246)](_0x52c44a){const _0x5f45ef=_0x361975;var _0x5e579c,_0x417e03,_0x1d187e;return(_0x1d187e=(_0x417e03=(_0x5e579c=this[_0x5f45ef(0x4cd)])[_0x5f45ef(0x530)])==null?void 0x0:_0x417e03[_0x5f45ef(0x489)](_0x5e579c,_0x52c44a))!=null?_0x1d187e:_0x52c44a;}[_0x361975(0x2c2)](_0x3ea4ef){const _0x4d7c55=_0x361975;var _0x2d5218,_0x431c23;if(this[_0x4d7c55(0x585)]===ie[_0x4d7c55(0x5f5)]){const {unitID:_0x1e5b35,mutations:_0x2cce07,memberID:_0xe648a1}=_0x3ea4ef,_0x2aed01=_0x2cce07[0x0][_0x4d7c55(0x509)][_0x4d7c55(0x33b)];Array[_0x4d7c55(0x5d2)](_0x2aed01)&&_0x2aed01[_0x4d7c55(0x31c)]>0x0&&((_0x431c23=(_0x2d5218=this[_0x4d7c55(0x4cd)])[_0x4d7c55(0x4f7)])==null||_0x431c23[_0x4d7c55(0x489)](_0x2d5218,{'unitID':_0x1e5b35,'memberID':_0xe648a1,'textRanges':_0x2aed01}));}}['_updateLocalCache'](){const _0x465f6c=_0x361975;this[_0x465f6c(0x4ac)][_0x465f6c(0x33c)](this['unitID'],this[_0x465f6c(0x585)],this[_0x465f6c(0x368)],this[_0x465f6c(0x6ac)]);}[_0x361975(0x27d)](){const _0x5616cb=_0x361975;return this['_revisionService'][_0x5616cb(0x615)](this['unitID']);}[_0x361975(0x2cc)](){const _0xb5b495=_0x361975;this[_0xb5b495(0x3b8)][_0xb5b495(0x3d4)](this[_0xb5b495(0x332)]);}[_0x361975(0x221)](_0x17e588){const _0x32d22e=_0x361975;var _0x5d09e3;let _0x5b0a81=this['_transformRemoteChangesetByIMECache'](_0x17e588);_0x5b0a81=this['_transformRemoteChangesetByStateCache'](_0x5b0a81);const _0x5eebdb=a[_0x32d22e(0x5b4)](_0x5b0a81[_0x32d22e(0x1ec)],this[_0x32d22e(0x39e)],{'fromCollab':!0x0});if(!_0x5eebdb['result'])throw _0x5eebdb[_0x32d22e(0x384)]instanceof Error?_0x5eebdb[_0x32d22e(0x384)]:new Error((_0x5d09e3=_0x5eebdb[_0x32d22e(0x384)])!=null?_0x5d09e3:_0x32d22e(0x326));this[_0x32d22e(0x533)](_0x5b0a81),this[_0x32d22e(0x295)](_0x5b0a81),this[_0x32d22e(0x4c9)](_0x17e588),this['_transformSelections'](_0x5b0a81),this[_0x32d22e(0x2c2)](_0x5b0a81),this[_0x32d22e(0x2cc)]();}}let Oe=class extends be{constructor(_0x3eaf5f,_0x28973f,_0x43ac81,_0x5a325b,_0x62f53e,_0x598bfe,_0x2c6cc6,_0x21f276,_0x1a5e45,_0x555e7e){const _0x2e8008=_0x361975;super(_0x3eaf5f,_0x28973f,null,[],_0x43ac81,_0x21f276,_0x2c6cc6,_0x5a325b,_0x62f53e),I(this,'status',_0x2e8008(0x293)),(this[_0x2e8008(0x5f2)]=_0x598bfe,this[_0x2e8008(0x442)]=_0x1a5e45,this[_0x2e8008(0x1e8)]=_0x555e7e);}[_0x361975(0x2a9)](_0x312488){const _0x1cbfa7=_0x361975,_0x32a4f6=this[_0x1cbfa7(0x5f2)][_0x1cbfa7(0x665)](ae,this[_0x1cbfa7(0x332)],this['type'],[_0x312488],this['_handler']);return _0x32a4f6[_0x1cbfa7(0x45e)](),_0x32a4f6['_updateLocalCache'](),_0x32a4f6;}[_0x361975(0x5a2)](_0x25d638){const _0x4ae404=_0x361975;if(this['_checkMissing'](_0x25d638))return this[_0x4ae404(0x5f2)][_0x4ae404(0x665)](re,this['unitID'],this[_0x4ae404(0x585)],null,[],null,[_0x25d638],this[_0x4ae404(0x4cd)]);try{const _0x35099a=this['_transformService'][_0x4ae404(0x600)](_0x25d638,[qn]);if(m[_0x4ae404(0x371)](_0x35099a)){const {c1Prime:_0x1af281}=_0x35099a;return this[_0x4ae404(0x221)](_0x1af281),this;}throw _0x35099a['error'];}catch(_0x2bec05){return this['_logService']['error'](_0x2bec05),this[_0x4ae404(0x1fc)](!0x1);}}['_onConflict'](_0x59ad3b){const _0x33bc11=_0x361975;return this['_injector'][_0x33bc11(0x665)](fe,this[_0x33bc11(0x332)],this[_0x33bc11(0x585)],null,[],this[_0x33bc11(0x4cd)],_0x59ad3b);}[_0x361975(0x3f9)](){const _0x2b3f53=_0x361975;throw new Error(_0x2b3f53(0x622));}[_0x361975(0x588)](){const _0x2d8db8=_0x361975;throw new Error(_0x2d8db8(0x5ff));}[_0x361975(0x611)](){return this;}['toggleOffline'](){const _0x50a0ba=_0x361975;return this[_0x50a0ba(0x5f2)][_0x50a0ba(0x665)](ve,this[_0x50a0ba(0x332)],this['type'],null,[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){const _0x2938f4=_0x361975;throw new Error(_0x2938f4(0x5f1));}[_0x361975(0x4bf)](){const _0x4a6ed1=_0x361975,_0xd36ed6=this[_0x4a6ed1(0x3b8)][_0x4a6ed1(0x615)](this[_0x4a6ed1(0x332)]);return this[_0x4a6ed1(0x4cd)][_0x4a6ed1(0x6a7)]({'from':_0xd36ed6,'to':0x0}),this[_0x4a6ed1(0x5f2)][_0x4a6ed1(0x665)](re,this[_0x4a6ed1(0x332)],this[_0x4a6ed1(0x585)],null,[],null,[],this[_0x4a6ed1(0x4cd)]);}};Oe=Ee([A(0x3,a['Inject'](m['RevisionService'])),A(0x4,a[_0x361975(0x4b5)](exports[_0x361975(0x436)])),A(0x5,a['Inject'](a[_0x361975(0x2fc)])),A(0x6,a['IUndoRedoService']),A(0x7,a[_0x361975(0x67f)]),A(0x8,a[_0x361975(0x68e)]),A(0x9,m[_0x361975(0x24c)])],Oe);let ae=class extends be{constructor(_0xa92d18,_0x3a928a,_0x1b5e65,_0x23f7b4,_0x3c946f,_0x5b1b45,_0x500511,_0x17681d,_0x20224a,_0x593b48,_0xef7ea7,_0x54c776,_0x28481b,_0x467e03){const _0x5b52b1=_0x361975;super(_0xa92d18,_0x3a928a,null,_0x1b5e65,_0x23f7b4,_0x593b48,_0x467e03,_0x5b1b45,_0x500511),I(this,_0x5b52b1(0x58f),_0x5b52b1(0x5da)),I(this,'_scheduleTimestamp',null),I(this,_0x5b52b1(0x5af),null),(this['_injector']=_0x3c946f,this[_0x5b52b1(0x527)]=_0x17681d,this[_0x5b52b1(0x442)]=_0x20224a,this[_0x5b52b1(0x32b)]=_0xef7ea7,this['_transformService']=_0x54c776,this[_0x5b52b1(0x491)]=_0x28481b);}[_0x361975(0x2a9)](_0x40b5f5){const _0x47d742=_0x361975;return this[_0x47d742(0x6ac)][_0x47d742(0x297)](_0x40b5f5),this[_0x47d742(0x242)](),this;}['onRemoteChangeset'](_0x476882){const _0x5bd9df=_0x361975;if(this['_checkMissing'](_0x476882))return this[_0x5bd9df(0x47d)](),this['_injector'][_0x5bd9df(0x665)](re,this[_0x5bd9df(0x332)],this[_0x5bd9df(0x585)],null,this[_0x5bd9df(0x6ac)],null,[_0x476882],this[_0x5bd9df(0x4cd)]);try{const _0x1ce405=this[_0x5bd9df(0x1e8)]['transformMutationsWithChangeset'](_0x476882,this['_pendingMutations']);if(m[_0x5bd9df(0x371)](_0x1ce405)){const {c1Prime:_0x286e72,m2Prime:_0x216d34}=_0x1ce405;this['_executeRemoteChangeset'](_0x286e72);const _0x6383e9=this[_0x5bd9df(0x5f2)][_0x5bd9df(0x665)](ae,this[_0x5bd9df(0x332)],this[_0x5bd9df(0x585)],_0x216d34,this[_0x5bd9df(0x4cd)]);return this['_clearScheduledTask'](),_0x6383e9['_schedule'](this[_0x5bd9df(0x51e)]?Math[_0x5bd9df(0x685)](0x0,new Date()[_0x5bd9df(0x3f7)]()-this['_scheduleTimestamp']):this[_0x5bd9df(0x4a6)]()),_0x6383e9;}throw _0x1ce405[_0x5bd9df(0x384)];}catch(_0x138709){return this[_0x5bd9df(0x442)]['error'](_0x138709),this['_onConflict'](!0x1);}}[_0x361975(0x3f9)](){const _0x33b177=_0x361975;throw new Error(_0x33b177(0x575));}[_0x361975(0x588)](){const _0x3ac125=_0x361975;throw new Error(_0x3ac125(0x50a));}[_0x361975(0x611)](){return this;}['toggleOffline'](){const _0x22e44e=_0x361975;return this['_clearScheduledTask'](),this[_0x22e44e(0x5f2)][_0x22e44e(0x665)](ve,this[_0x22e44e(0x332)],this[_0x22e44e(0x585)],null,this['_pendingMutations'],this[_0x22e44e(0x4cd)]);}[_0x361975(0x4c7)](){return this;}[_0x361975(0x45e)](_0xb4c1ab){const _0x2221fd=_0x361975,_0x5a30a8=_0xb4c1ab!=null?_0xb4c1ab:this[_0x2221fd(0x4a6)]();this[_0x2221fd(0x51e)]=new Date()[_0x2221fd(0x3f7)](),this['_sendingTimer']=window[_0x2221fd(0x59e)](()=>{const _0x2d575d=_0x2221fd;this[_0x2d575d(0x47d)]();let _0x20f215=null;switch(this[_0x2d575d(0x585)]){case ie['UNIVER_SHEET']:{_0x20f215=Gt(this[_0x2d575d(0x6ac)],this[_0x2d575d(0x332)],this[_0x2d575d(0x491)],this[_0x2d575d(0x3b8)],this['_memberService']);break;}case ie['UNIVER_DOC']:{this['_pendingMutations']['every'](_0xc2866f=>_0xc2866f['id']===Ie[_0x2d575d(0x5be)]['id'])?_0x20f215=Yn(this[_0x2d575d(0x6ac)],this[_0x2d575d(0x332)],this[_0x2d575d(0x491)],this[_0x2d575d(0x3b8)],this['_memberService']):_0x20f215=Gt(this[_0x2d575d(0x6ac)],this[_0x2d575d(0x332)],this[_0x2d575d(0x491)],this['_revisionService'],this[_0x2d575d(0x527)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x2d575d(0x585)]+_0x2d575d(0x54e));}const {changeset:_0x2e52a1,pendingMutations:_0x53d119}=_0x20f215;this[_0x2d575d(0x4cd)][_0x2d575d(0x654)](_0x2e52a1);const _0x5b18da=_0x53d119['length']?this[_0x2d575d(0x5f2)][_0x2d575d(0x665)](ce,this[_0x2d575d(0x332)],this[_0x2d575d(0x585)],_0x2e52a1,_0x53d119,this['_handler'],void 0x0):this['_injector']['createInstance'](de,this['unitID'],this[_0x2d575d(0x585)],_0x2e52a1,this['_handler']);_0x5b18da[_0x2d575d(0x242)](),this[_0x2d575d(0x4cd)]['onStateChange'](this,_0x5b18da);},_0x5a30a8);}[_0x361975(0x4a6)](){const _0x29aec9=_0x361975;var _0x2ea628;const _0x39c0d3=this[_0x29aec9(0x32b)][_0x29aec9(0x269)](Z);return(_0x2ea628=_0x39c0d3==null?void 0x0:_0x39c0d3[_0x29aec9(0x46c)])!=null?_0x2ea628:zi;}[_0x361975(0x454)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x361975(0x47d)](){const _0xa4e5f8=_0x361975;this['_sendingTimer']!=null&&(clearTimeout(this[_0xa4e5f8(0x5af)]),this[_0xa4e5f8(0x5af)]=null);}[_0x361975(0x1fc)](_0x184c9d){const _0x14d2d0=_0x361975;return this[_0x14d2d0(0x47d)](),this[_0x14d2d0(0x5f2)][_0x14d2d0(0x665)](fe,this[_0x14d2d0(0x332)],this[_0x14d2d0(0x585)],null,this[_0x14d2d0(0x6ac)],this[_0x14d2d0(0x4cd)],_0x184c9d);}};ae=Ee([A(0x4,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),A(0x5,a[_0x361975(0x4b5)](m[_0x361975(0x2cb)])),A(0x6,a['Inject'](exports['LocalCacheService'])),A(0x7,a[_0x361975(0x4b5)](exports[_0x361975(0x486)])),A(0x8,a[_0x361975(0x68e)]),A(0x9,a['ICommandService']),A(0xa,a[_0x361975(0x314)]),A(0xb,m['ITransformService']),A(0xc,a[_0x361975(0x63c)]),A(0xd,a['IUndoRedoService'])],ae);let de=class extends be{constructor(_0x211bab,_0x315f44,_0x3291f6,_0x17444e,_0x20bf82,_0x11ef13,_0x1e6b10,_0x553e32,_0x5784ca,_0x150811,_0x403522){const _0x29d470=_0x361975;super(_0x211bab,_0x315f44,_0x3291f6,[],_0x17444e,_0x553e32,_0x403522,_0x11ef13,_0x1e6b10),I(this,_0x29d470(0x58f),_0x29d470(0x55e)),I(this,_0x29d470(0x645),0x0),I(this,'_resendTimer'),I(this,_0x29d470(0x5f6)),(this[_0x29d470(0x5f2)]=_0x20bf82,this[_0x29d470(0x442)]=_0x5784ca,this[_0x29d470(0x1e8)]=_0x150811);}[_0x361975(0x2a9)](_0x6a59cc){const _0x4212a6=_0x361975;this['_clearScheduledTask']();const _0x43c076=this[_0x4212a6(0x5f2)]['createInstance'](ce,this[_0x4212a6(0x332)],this['type'],this[_0x4212a6(0x368)],[_0x6a59cc],this[_0x4212a6(0x4cd)],this['_resendTimer']);return _0x43c076['_updateLocalCache'](),_0x43c076;}[_0x361975(0x5a2)](_0x5bda3d){const _0x104a79=_0x361975;if(this[_0x104a79(0x628)](_0x5bda3d))return this[_0x104a79(0x47d)](),this['_injector'][_0x104a79(0x665)](re,this[_0x104a79(0x332)],this[_0x104a79(0x585)],this[_0x104a79(0x368)],[],null,[_0x5bda3d],this[_0x104a79(0x4cd)]);try{const _0x38b35b=this[_0x104a79(0x1e8)][_0x104a79(0x5cb)]([_0x5bda3d],[this['_awaitingChangeset']],!0x1);if(m['isTransformChangesetsSuccess'](_0x38b35b)){const {c1Prime:_0x398ff7,c2Prime:_0x549e5f}=_0x38b35b;this[_0x104a79(0x221)](_0x398ff7[0x0]),_0x549e5f[0x0][_0x104a79(0x66e)]=this[_0x104a79(0x27d)](),this[_0x104a79(0x47d)]();const _0x512d6f=this[_0x104a79(0x5f2)]['createInstance'](de,this[_0x104a79(0x332)],this[_0x104a79(0x585)],_0x549e5f[0x0],this[_0x104a79(0x4cd)]);return _0x512d6f['_updateLocalCache'](),_0x512d6f;}return this[_0x104a79(0x1fc)](!0x1);}catch(_0x3afd31){return this[_0x104a79(0x442)][_0x104a79(0x384)](_0x3afd31),this[_0x104a79(0x1fc)](!0x1);}}[_0x361975(0x3f9)](_0x7d58ff){const _0x2bb9e8=_0x361975;this[_0x2bb9e8(0x47d)]();const _0x326f57=this[_0x2bb9e8(0x3b8)]['getCurrentRevOfUnit'](this[_0x2bb9e8(0x332)]);if(_0x7d58ff['revision']<_0x326f57-0x1)return this;if(this[_0x2bb9e8(0x628)](_0x7d58ff))return this['_injector'][_0x2bb9e8(0x665)](re,this[_0x2bb9e8(0x332)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x2bb9e8(0x4cd)]);this[_0x2bb9e8(0x2cc)]();const _0x2862dc=this[_0x2bb9e8(0x5f2)][_0x2bb9e8(0x665)](Oe,this[_0x2bb9e8(0x332)],this[_0x2bb9e8(0x585)],this[_0x2bb9e8(0x4cd)]);return _0x2862dc[_0x2bb9e8(0x242)](),_0x2862dc;}['onRemoteRej'](_0x212d61){const _0xa3c699=_0x361975;return this[_0xa3c699(0x1fc)](!!(_0x212d61!=null&&_0x212d61[_0xa3c699(0x604)]));}[_0x361975(0x611)](_0x1149fb){const _0x4c235a=_0x361975;return this[_0x4c235a(0x645)]>wi?this[_0x4c235a(0x44a)]():(this['_resendTimer']=Pi(this[_0x4c235a(0x645)],{'timeout':this[_0x4c235a(0x645)],'reqId':_0x1149fb[_0x4c235a(0x53e)]}),this['_sender']=this[_0x4c235a(0x3fe)][_0x4c235a(0x2d2)](({reqId:_0x1b9a69,timeout:_0x58ce06})=>{const _0x989154=_0x4c235a;this[_0x989154(0x513)](_0x1b9a69,_0x58ce06);}),this);}[_0x361975(0x44a)](){const _0xdd6f8f=_0x361975;return this[_0xdd6f8f(0x47d)](),this[_0xdd6f8f(0x5f2)][_0xdd6f8f(0x665)](ve,this[_0xdd6f8f(0x332)],this['type'],this[_0xdd6f8f(0x368)],[],this['_handler']);}[_0x361975(0x4c7)](){return this;}[_0x361975(0x454)](){const _0x209d5b=_0x361975;this[_0x209d5b(0x4cd)][_0x209d5b(0x654)](this[_0x209d5b(0x368)]);}['_onConflict'](_0x223a41){const _0x4ad6b3=_0x361975;return this[_0x4ad6b3(0x47d)](),this[_0x4ad6b3(0x5f2)]['createInstance'](fe,this[_0x4ad6b3(0x332)],this[_0x4ad6b3(0x585)],this[_0x4ad6b3(0x368)],[],this[_0x4ad6b3(0x4cd)],_0x223a41);}[_0x361975(0x513)](_0x18ee71,_0x2d7ebd){const _0x47c29c=_0x361975;var _0x4ddf11;_0x18ee71===((_0x4ddf11=this[_0x47c29c(0x368)])==null?void 0x0:_0x4ddf11[_0x47c29c(0x53e)])&&(this[_0x47c29c(0x454)](),this['_resendTimeout']=_0x2d7ebd===0x0?0x3e8:_0x2d7ebd*0x2);}[_0x361975(0x47d)](){const _0x306a97=_0x361975;var _0x3966cc;(_0x3966cc=this[_0x306a97(0x5f6)])==null||_0x3966cc[_0x306a97(0x253)](),this[_0x306a97(0x645)]=0x0;}};de=Ee([A(0x4,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),A(0x5,a[_0x361975(0x4b5)](m[_0x361975(0x2cb)])),A(0x6,a[_0x361975(0x4b5)](exports[_0x361975(0x436)])),A(0x7,a['ICommandService']),A(0x8,a[_0x361975(0x68e)]),A(0x9,m[_0x361975(0x24c)]),A(0xa,a['IUndoRedoService'])],de);let ce=class extends be{constructor(_0x4671b2,_0x1117c1,_0x4a7952,_0x210b9e,_0x2307bc,_0x181254,_0x393928,_0x4cefdc,_0x37ad4c,_0x1b2623,_0x1c764b,_0x1e682f,_0x44df4e){const _0x2801c1=_0x361975;super(_0x4671b2,_0x1117c1,_0x4a7952,_0x210b9e,_0x2307bc,_0x1b2623,_0x44df4e,_0x4cefdc,_0x37ad4c),I(this,_0x2801c1(0x58f),'awaiting_with_pending'),I(this,'_resendTimeout',0x0),I(this,_0x2801c1(0x3fe)),I(this,_0x2801c1(0x5f6)),(this[_0x2801c1(0x5f2)]=_0x393928,this[_0x2801c1(0x442)]=_0x1c764b,this['_transformService']=_0x1e682f,_0x181254&&(this[_0x2801c1(0x3fe)]=_0x181254,this[_0x2801c1(0x5f6)]=this['_resendTimer'][_0x2801c1(0x2d2)](({reqId:_0x9fd3cf,timeout:_0x5acb1d})=>{const _0x1ca73c=_0x2801c1;this[_0x1ca73c(0x513)](_0x9fd3cf,_0x5acb1d);})));}[_0x361975(0x2a9)](_0x291f00){const _0x34d9b7=_0x361975;return this[_0x34d9b7(0x6ac)][_0x34d9b7(0x297)](_0x291f00),this;}[_0x361975(0x5a2)](_0x35ceb7){const _0xaef5f5=_0x361975;if(this[_0xaef5f5(0x628)](_0x35ceb7))return this[_0xaef5f5(0x47d)](),this[_0xaef5f5(0x5f2)][_0xaef5f5(0x665)](re,this['unitID'],this[_0xaef5f5(0x585)],this[_0xaef5f5(0x368)],this['_pendingMutations'],null,[_0x35ceb7],this[_0xaef5f5(0x4cd)]);try{const _0x51e48f=this['_transformService'][_0xaef5f5(0x5cb)]([_0x35ceb7],[this[_0xaef5f5(0x368)]],!0x1);if(m['isTransformChangesetsSuccess'](_0x51e48f)){const {c1Prime:_0xb52908,c2Prime:_0x30a119}=_0x51e48f,_0x359914=this[_0xaef5f5(0x1e8)]['transformMutationsWithChangeset'](_0xb52908[0x0],this['_pendingMutations']);if(m['isTransformMutationsWithChangesetSuccess'](_0x359914)){const {c1Prime:_0x4b42d5,m2Prime:_0xe7df1c}=_0x359914;return this['_executeRemoteChangeset'](_0x4b42d5),_0x30a119[0x0][_0xaef5f5(0x66e)]=this[_0xaef5f5(0x27d)](),this[_0xaef5f5(0x47d)](),this['_injector'][_0xaef5f5(0x665)](ce,this[_0xaef5f5(0x332)],this[_0xaef5f5(0x585)],_0x30a119[0x0],_0xe7df1c,this[_0xaef5f5(0x4cd)],void 0x0);}throw _0x359914['error'];}throw _0x51e48f[_0xaef5f5(0x384)];}catch(_0xf3b058){return this['_logService']['error'](_0xf3b058),this[_0xaef5f5(0x1fc)](!0x1);}}[_0x361975(0x3f9)](_0x2ccb94){const _0x578f18=_0x361975;if(this[_0x578f18(0x47d)](),this[_0x578f18(0x628)](_0x2ccb94))return this['_injector']['createInstance'](re,this['unitID'],this[_0x578f18(0x585)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x578f18(0x4cd)]);this[_0x578f18(0x2cc)]();const _0x5d6002=this[_0x578f18(0x5f2)][_0x578f18(0x665)](ae,this['unitID'],this[_0x578f18(0x585)],this[_0x578f18(0x6ac)],this[_0x578f18(0x4cd)]);return _0x5d6002['_schedule'](),_0x5d6002[_0x578f18(0x242)](),_0x5d6002;}[_0x361975(0x588)](_0x408f9c){const _0x372c18=_0x361975;return this[_0x372c18(0x1fc)](!!(_0x408f9c!=null&&_0x408f9c[_0x372c18(0x604)]));}[_0x361975(0x611)](_0xa32c8){const _0x46d44d=_0x361975;return this[_0x46d44d(0x645)]>wi?this[_0x46d44d(0x44a)]():(this[_0x46d44d(0x3fe)]=Pi(this[_0x46d44d(0x645)],{'timeout':this[_0x46d44d(0x645)],'reqId':_0xa32c8[_0x46d44d(0x53e)]}),this[_0x46d44d(0x5f6)]=this[_0x46d44d(0x3fe)][_0x46d44d(0x2d2)](({reqId:_0x42a19c,timeout:_0x2310f2})=>{const _0x6993b8=_0x46d44d;this[_0x6993b8(0x513)](_0x42a19c,_0x2310f2);}),this);}[_0x361975(0x44a)](){const _0x88df70=_0x361975;return this[_0x88df70(0x47d)](),this[_0x88df70(0x5f2)][_0x88df70(0x665)](ve,this['unitID'],this['type'],this[_0x88df70(0x368)],this['_pendingMutations'],this[_0x88df70(0x4cd)]);}[_0x361975(0x4c7)](){return this;}[_0x361975(0x454)](){const _0x1182de=_0x361975;this[_0x1182de(0x4cd)]['onSendChangeset'](this[_0x1182de(0x368)]);}[_0x361975(0x1fc)](_0x1952bd){const _0x40e9f2=_0x361975;return this[_0x40e9f2(0x47d)](),this['_injector'][_0x40e9f2(0x665)](fe,this[_0x40e9f2(0x332)],this[_0x40e9f2(0x585)],null,this[_0x40e9f2(0x6ac)],this[_0x40e9f2(0x4cd)],_0x1952bd);}[_0x361975(0x513)](_0x3e3357,_0x23cae0){const _0x4833e3=_0x361975;var _0x216e24;_0x3e3357===((_0x216e24=this['_awaitingChangeset'])==null?void 0x0:_0x216e24[_0x4833e3(0x53e)])&&(this['resend'](),this[_0x4833e3(0x645)]=_0x23cae0===0x0?0x3e8:_0x23cae0*0x2);}[_0x361975(0x47d)](){const _0x7ebf7e=_0x361975;var _0x4ed777;(_0x4ed777=this[_0x7ebf7e(0x5f6)])==null||_0x4ed777[_0x7ebf7e(0x253)](),this[_0x7ebf7e(0x645)]=0x0;}};ce=Ee([A(0x6,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),A(0x7,a['Inject'](m['RevisionService'])),A(0x8,a[_0x361975(0x4b5)](exports['LocalCacheService'])),A(0x9,a[_0x361975(0x67f)]),A(0xa,a[_0x361975(0x68e)]),A(0xb,m[_0x361975(0x24c)]),A(0xc,a[_0x361975(0x233)])],ce);let fe=class extends be{constructor(_0x452c2d,_0x424463,_0x4ff3a9,_0x140df5,_0x32de9c,_0x24654a=!0x1,_0x3d5a20,_0x26526d,_0x23b65b,_0x36b3ef,_0xffce1a,_0x12fe73,_0x43db2d){const _0x37dd1d=_0x361975;super(_0x452c2d,_0x424463,_0x4ff3a9,_0x140df5,_0x32de9c,_0x26526d,_0x23b65b,_0xffce1a,_0x36b3ef),I(this,_0x37dd1d(0x58f),_0x37dd1d(0x232)),(this[_0x37dd1d(0x4bd)]=_0x24654a,this[_0x37dd1d(0x27a)]=_0x3d5a20,this[_0x37dd1d(0x312)]=_0x12fe73,this[_0x37dd1d(0x3a6)]=_0x43db2d,this['_showConflictNotification'](),this[_0x37dd1d(0x531)](),this[_0x37dd1d(0x4ee)]());}[_0x361975(0x2a9)](){return this;}[_0x361975(0x5a2)](){return this;}['onRemoteAck'](){return this;}[_0x361975(0x588)](){return this;}['onRemoteRetry'](){return this;}[_0x361975(0x44a)](){return this;}[_0x361975(0x4c7)](){return this;}[_0x361975(0x454)](){const _0x5ad1c7=_0x361975;throw new Error(_0x5ad1c7(0x60e));}[_0x361975(0x531)](){const _0x1ba0c6=_0x361975;this[_0x1ba0c6(0x4ac)][_0x1ba0c6(0x33c)](this[_0x1ba0c6(0x332)],this[_0x1ba0c6(0x585)],null,[]);}['_showConflictNotification'](){const _0x2511bc=_0x361975;this[_0x2511bc(0x4bd)]?this[_0x2511bc(0x3a6)][_0x2511bc(0x4d8)]({'title':this[_0x2511bc(0x312)]['t']('permission.title'),'content':this[_0x2511bc(0x312)]['t']('permission.content'),'type':_0x2511bc(0x384),'duration':0x0}):this[_0x2511bc(0x3a6)][_0x2511bc(0x4d8)]({'title':this[_0x2511bc(0x312)]['t'](_0x2511bc(0x2c5)),'content':this[_0x2511bc(0x312)]['t'](_0x2511bc(0x696)),'type':_0x2511bc(0x384),'duration':0x0});}[_0x361975(0x4ee)](){const _0x13ec5c=_0x361975;this[_0x13ec5c(0x27a)][_0x13ec5c(0x5ba)](new k[(_0x13ec5c(0x361))](this[_0x13ec5c(0x332)])['id'],!0x1);}};fe=Ee([A(0x6,a[_0x361975(0x4b5)](a[_0x361975(0x53f)])),A(0x7,a['ICommandService']),A(0x8,a[_0x361975(0x233)]),A(0x9,a[_0x361975(0x4b5)](exports['LocalCacheService'])),A(0xa,a[_0x361975(0x4b5)](m[_0x361975(0x2cb)])),A(0xb,a[_0x361975(0x4b5)](a[_0x361975(0x34e)])),A(0xc,ee['INotificationService'])],fe);let ve=class extends be{constructor(_0x2b174b,_0x27bab3,_0x3afbeb,_0x670fa6,_0x5e9256,_0x56c1c9,_0x336524,_0xe672d5,_0x4e5514,_0x2e1262){const _0x199692=_0x361975;super(_0x2b174b,_0x27bab3,_0x3afbeb,_0x670fa6,_0x5e9256,_0x4e5514,_0x2e1262,_0x336524,_0xe672d5),I(this,_0x199692(0x58f),'offline'),this['_injector']=_0x56c1c9;}[_0x361975(0x2a9)](_0x1dec3b){const _0x586e2f=_0x361975;return this['_pendingMutations'][_0x586e2f(0x297)](_0x1dec3b),this[_0x586e2f(0x242)](),this;}[_0x361975(0x5a2)](_0x9de03c){const _0x451eca=_0x361975;throw new Error(_0x451eca(0x2dc));}[_0x361975(0x3f9)](){const _0x44e3b8=_0x361975;throw new Error(_0x44e3b8(0x2b8));}[_0x361975(0x588)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x361975(0x611)](){return this;}[_0x361975(0x44a)](){return this;}[_0x361975(0x4c7)](){const _0xbbe65d=_0x361975,{_injector:_0x3f609b,_pendingMutations:_0x2b1469,_awaitingChangeset:_0x25f247,unitID:_0x5724bc,_handler:_0x289e0c,type:_0x1dc912}=this,_0x15a9f9=Ui(_0x3f609b,_0x5724bc,_0x1dc912,_0x25f247,_0x2b1469,_0x289e0c);return _0x15a9f9 instanceof ae?_0x15a9f9[_0xbbe65d(0x45e)]():(_0x15a9f9 instanceof ce||_0x15a9f9 instanceof de)&&_0x15a9f9[_0xbbe65d(0x454)](),_0x15a9f9;}[_0x361975(0x454)](){const _0x1a0b58=_0x361975;throw new Error(_0x1a0b58(0x21f));}};ve=Ee([A(0x5,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),A(0x6,a[_0x361975(0x4b5)](m['RevisionService'])),A(0x7,a[_0x361975(0x4b5)](exports[_0x361975(0x436)])),A(0x8,a[_0x361975(0x67f)]),A(0x9,a['IUndoRedoService'])],ve);let re=class extends be{constructor(_0xc3c5a2,_0x3fcbe7,_0x3af187,_0xc496ce,_0x47ecc8,_0x46ab90,_0x30a0eb,_0x516621,_0xc1141f,_0x182cef,_0xd2486e,_0xd7bb24,_0x46e12b,_0x5f41e4){const _0x21002c=_0x361975;super(_0xc3c5a2,_0x3fcbe7,_0x3af187,_0xc496ce,_0x30a0eb,_0xd7bb24,_0x46e12b,_0xc1141f,_0x182cef),I(this,_0x21002c(0x58f),_0x21002c(0x3e3)),(this[_0x21002c(0x68f)]=_0x47ecc8,this['_queuedRemoteChangesets']=_0x46ab90,this[_0x21002c(0x5f2)]=_0x516621,this[_0x21002c(0x442)]=_0xd2486e,this[_0x21002c(0x1e8)]=_0x5f41e4);}['onMissedChangesetFetched'](_0x1a29a1){const _0x599012=_0x361975;try{const _0x3d854a=[..._0x1a29a1,...this[_0x599012(0x343)]],_0x16303f=[this[_0x599012(0x368)]||this[_0x599012(0x68f)]][_0x599012(0x4f0)](_0x870a44=>!!_0x870a44);let _0x6f0d4e,_0x47f47d;if(_0x16303f['length']){const _0x346c17=this[_0x599012(0x1e8)][_0x599012(0x5cb)](_0x3d854a,_0x16303f,!0x1);if(!m['isTransformChangesetsSuccess'](_0x346c17))throw _0x346c17[_0x599012(0x384)];_0x6f0d4e=_0x346c17[_0x599012(0x4ae)],_0x47f47d=_0x346c17[_0x599012(0x66f)];}else _0x6f0d4e=_0x3d854a,_0x47f47d=[];let _0x4711fb=this[_0x599012(0x6ac)];_0x6f0d4e['forEach'](_0x46d915=>{const _0x6b1c83=_0x599012;let _0x370750;if(_0x4711fb['length']){const _0x31c1b6=this[_0x6b1c83(0x1e8)]['transformMutationsWithChangeset'](_0x46d915,_0x4711fb);if(!m[_0x6b1c83(0x371)](_0x31c1b6))throw _0x31c1b6[_0x6b1c83(0x384)];_0x370750=_0x31c1b6[_0x6b1c83(0x4ae)],_0x4711fb=_0x31c1b6[_0x6b1c83(0x298)];}else _0x370750=_0x46d915;this[_0x6b1c83(0x221)](_0x370750);}),this[_0x599012(0x68f)]&&this[_0x599012(0x2cc)](),this['_awaitingChangeset']&&_0x47f47d[_0x599012(0x31c)]&&(_0x47f47d[0x0]['baseRev']=this[_0x599012(0x27d)]());let _0x167b99;if(this[_0x599012(0x368)]&&_0x4711fb['length']!==0x0)_0x167b99=this[_0x599012(0x5f2)][_0x599012(0x665)](ce,this['unitID'],this[_0x599012(0x585)],_0x47f47d[0x0],_0x4711fb,this[_0x599012(0x4cd)],void 0x0);else{if(this[_0x599012(0x368)]&&_0x4711fb[_0x599012(0x31c)]===0x0)_0x47f47d[0x0][_0x599012(0x66e)]=this['_getCurrentRevision'](),_0x167b99=this[_0x599012(0x5f2)][_0x599012(0x665)](de,this[_0x599012(0x332)],this[_0x599012(0x585)],_0x47f47d[0x0],this['_handler']);else{if(_0x4711fb[_0x599012(0x31c)]!==0x0){const _0x567310=this[_0x599012(0x5f2)][_0x599012(0x665)](ae,this[_0x599012(0x332)],this['type'],_0x4711fb,this['_handler']);_0x567310['_schedule'](),_0x167b99=_0x567310;}else _0x167b99=this[_0x599012(0x5f2)][_0x599012(0x665)](Oe,this[_0x599012(0x332)],this['type'],this[_0x599012(0x4cd)]);}}return _0x167b99['_updateLocalCache'](),_0x167b99;}catch(_0x3376fa){return this['_logService'][_0x599012(0x384)](_0x599012(0x68d),_0x599012(0x54d),_0x3376fa),this['_injector'][_0x599012(0x665)](fe,this[_0x599012(0x332)],this['type'],this[_0x599012(0x368)],this['_pendingMutations'],this[_0x599012(0x4cd)],!0x1);}}[_0x361975(0x454)](){const _0x47baee=_0x361975;throw new Error(_0x47baee(0x583));}[_0x361975(0x2a9)](_0x4bfb72){const _0x5a056e=_0x361975;return this[_0x5a056e(0x6ac)][_0x5a056e(0x297)](_0x4bfb72),this;}[_0x361975(0x5a2)](_0x40cb51){const _0x4652a6=_0x361975;return this[_0x4652a6(0x343)][_0x4652a6(0x297)](_0x40cb51),this;}[_0x361975(0x3f9)](_0x148f51){const _0x3002d3=_0x361975;if(this[_0x3002d3(0x368)])return this[_0x3002d3(0x68f)]=this[_0x3002d3(0x368)],this['_awaitingChangeset']=null,this;throw new Error(_0x3002d3(0x4a8));}[_0x361975(0x588)](_0x6a5dcf){const _0x14750f=_0x361975;return this[_0x14750f(0x1fc)](!!(_0x6a5dcf!=null&&_0x6a5dcf[_0x14750f(0x604)]));}['onRemoteRetry'](){return this;}[_0x361975(0x44a)](){const _0x27c1dc=_0x361975;return this[_0x27c1dc(0x5f2)]['createInstance'](ve,this['unitID'],this['type'],this[_0x27c1dc(0x368)],this[_0x27c1dc(0x6ac)],this[_0x27c1dc(0x4cd)]);}[_0x361975(0x4c7)](){return this;}['_onConflict'](_0x8a739b){const _0x5a476d=_0x361975;return this[_0x5a476d(0x5f2)][_0x5a476d(0x665)](fe,this[_0x5a476d(0x332)],this[_0x5a476d(0x585)],this[_0x5a476d(0x368)],this[_0x5a476d(0x6ac)],this[_0x5a476d(0x4cd)],_0x8a739b);}};re=Ee([A(0x7,a['Inject'](a['Injector'])),A(0x8,a[_0x361975(0x4b5)](m[_0x361975(0x2cb)])),A(0x9,a['Inject'](exports[_0x361975(0x436)])),A(0xa,a[_0x361975(0x68e)]),A(0xb,a[_0x361975(0x67f)]),A(0xc,a[_0x361975(0x233)]),A(0xd,m['ITransformService'])],re);function Ui(_0x16c8ce,_0x31400d,_0x15eddf,_0x109c6c,_0x3b4ddb,_0x41683a){const _0x37446f=_0x361975;return _0x109c6c&&_0x3b4ddb[_0x37446f(0x31c)]?_0x16c8ce[_0x37446f(0x665)](ce,_0x31400d,_0x15eddf,_0x109c6c,_0x3b4ddb,_0x41683a,void 0x0):_0x109c6c?_0x16c8ce['createInstance'](de,_0x31400d,_0x15eddf,_0x109c6c,_0x41683a):_0x3b4ddb[_0x37446f(0x31c)]?_0x16c8ce[_0x37446f(0x665)](ae,_0x31400d,_0x15eddf,_0x3b4ddb,_0x41683a):_0x16c8ce['createInstance'](Oe,_0x31400d,_0x15eddf,_0x41683a);}var Xn=Object['defineProperty'],Jn=Object[_0x361975(0x3bb)],Mt=(_0x4c8f22,_0x1288f1,_0x30bc3b,_0x1b5080)=>{const _0x5b9c73=_0x361975;for(var _0x43bd3f=_0x1b5080>0x1?void 0x0:_0x1b5080?Jn(_0x1288f1,_0x30bc3b):_0x1288f1,_0x21b3c3=_0x4c8f22[_0x5b9c73(0x31c)]-0x1,_0x37b0d7;_0x21b3c3>=0x0;_0x21b3c3--)(_0x37b0d7=_0x4c8f22[_0x21b3c3])&&(_0x43bd3f=(_0x1b5080?_0x37b0d7(_0x1288f1,_0x30bc3b,_0x43bd3f):_0x37b0d7(_0x43bd3f))||_0x43bd3f);return _0x1b5080&&_0x43bd3f&&Xn(_0x1288f1,_0x30bc3b,_0x43bd3f),_0x43bd3f;},H=(_0x2077d8,_0x4b9bcb)=>(_0x2ed59b,_0x219d54)=>_0x4b9bcb(_0x2ed59b,_0x219d54,_0x2077d8);exports[_0x361975(0x41b)]=class extends a['RxDisposable']{constructor(_0x3243f7,_0xdc48ac,_0x120b85,_0x110d48,_0x5be199,_0x823343,_0x376874,_0x5be441,_0x327312,_0x17aa44,_0x4a35cd,_0x4ac96d,_0x44b983){const _0x343ac6=_0x361975;super(),I(this,_0x343ac6(0x545),new N[(_0x343ac6(0x392))](null)),I(this,_0x343ac6(0x562),this[_0x343ac6(0x545)][_0x343ac6(0x2aa)]()),I(this,_0x343ac6(0x3de)),I(this,_0x343ac6(0x3bd),!0x1),I(this,_0x343ac6(0x45b),''),I(this,'_changesetReqId',0x0),I(this,_0x343ac6(0x230),this[_0x343ac6(0x562)][_0x343ac6(0x256)](N[_0x343ac6(0x4ec)](_0x90598a=>_0x90598a?_0x90598a[_0x343ac6(0x58f)]:K[_0x343ac6(0x48f)]),N[_0x343ac6(0x3d9)](0x1))),I(this,'_transitionLocked',!0x1),I(this,_0x343ac6(0x6a2),[]),(this[_0x343ac6(0x332)]=_0x3243f7,this[_0x343ac6(0x3df)]=_0xdc48ac,this[_0x343ac6(0x20f)]=_0x120b85,this[_0x343ac6(0x5f2)]=_0x110d48,this[_0x343ac6(0x4ac)]=_0x5be199,this[_0x343ac6(0x250)]=_0x823343,this[_0x343ac6(0x312)]=_0x376874,this['_revisionService']=_0x5be441,this[_0x343ac6(0x442)]=_0x327312,this[_0x343ac6(0x39e)]=_0x17aa44,this[_0x343ac6(0x4b9)]=_0x4a35cd,this[_0x343ac6(0x27a)]=_0x4ac96d,this[_0x343ac6(0x4d9)]=_0x44b983);}get[_0x361975(0x410)](){return this['_state'];}async['init'](){const _0x52b006=_0x361975;if(this[_0x52b006(0x410)])throw new Error(_0x52b006(0x6a1));await this[_0x52b006(0x272)]();}['pauseCollaboration'](){const _0x174bf9=_0x361975;return this[_0x174bf9(0x3bd)]=!0x0,a[_0x174bf9(0x4f1)](()=>{const _0x7a2307=_0x174bf9;this[_0x7a2307(0x3bd)]=!0x1,this[_0x7a2307(0x5ca)]();});}[_0x361975(0x549)](_0x370397){const _0x2a94d4=_0x361975;this[_0x2a94d4(0x3de)]=_0x370397,this[_0x2a94d4(0x545)][_0x2a94d4(0x514)](_0x370397);}async[_0x361975(0x272)](){const _0x141611=_0x361975;var _0x5dbd85;this[_0x141611(0x549)](await this[_0x141611(0x40b)]()),this[_0x141611(0x4d9)]&&((_0x5dbd85=this[_0x141611(0x4d9)])==null||_0x5dbd85[_0x141611(0x346)](this[_0x141611(0x332)]),this[_0x141611(0x259)](this[_0x141611(0x4d9)][_0x141611(0x400)](this[_0x141611(0x332)])[_0x141611(0x2d2)](_0x40b5d9=>{const _0x42066d=_0x141611;this['_logService'][_0x42066d(0x653)](_0x42066d(0x236),'editing\x20status\x20changed\x20to',_0x40b5d9),_0x40b5d9===yi[_0x42066d(0x625)]?(this[_0x42066d(0x4b9)][_0x42066d(0x4d8)]({'content':this[_0x42066d(0x312)]['t'](_0x42066d(0x49e)),'type':Ce[_0x42066d(0x42c)]['Warning']}),this[_0x42066d(0x27a)][_0x42066d(0x5ba)](new k[(_0x42066d(0x361))](this[_0x42066d(0x332)])['id'],!0x1),this[_0x42066d(0x27a)]['setShowComponents'](!0x1)):(this[_0x42066d(0x27a)][_0x42066d(0x5ba)](new k[(_0x42066d(0x361))](this['unitID'])['id'],!0x0),this['_permissionService'][_0x42066d(0x27e)](!0x0));})));let _0x5aa321=!0x1;return this['disposeWithMe'](this[_0x141611(0x3df)][_0x141611(0x658)][_0x141611(0x2d2)](_0xddac48=>{const _0x414590=_0x141611;_0xddac48===ne[_0x414590(0x2af)]?this[_0x414590(0x512)](_0x5aa321):_0xddac48===ne[_0x414590(0x48f)]&&(_0x5aa321=!0x0,this[_0x414590(0x1fe)]());})),this[_0x141611(0x259)](this[_0x141611(0x3df)][_0x141611(0x52e)][_0x141611(0x2d2)](_0x53da9b=>{const _0x596554=_0x141611;try{switch(_0x53da9b[_0x596554(0x395)]){case m['CollaborationEvent'][_0x596554(0x3ed)]:{this[_0x596554(0x55b)](m[_0x596554(0x66d)](_0x53da9b[_0x596554(0x405)]));break;}case m[_0x596554(0x3aa)][_0x596554(0x25c)]:{this['_onRemoteACK'](_0x53da9b[_0x596554(0x405)]);break;}case m[_0x596554(0x3aa)][_0x596554(0x366)]:{this[_0x596554(0x48c)]();break;}case m[_0x596554(0x3aa)]['CHANGESET_SHOULD_RETRY']:{this[_0x596554(0x3fd)](_0x53da9b['data']);break;}case m[_0x596554(0x3aa)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x53da9b[_0x596554(0x405)][_0x596554(0x5fc)][_0x596554(0x4ec)](_0x437731=>m[_0x596554(0x66d)](_0x437731)));break;}case m['CollaborationEvent']['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0xb48f){throw console[_0x596554(0x384)]('Error\x20on\x20receiving\x20event',_0xb48f),_0xb48f;}})),this[_0x141611(0x3de)];}['_unlockTransition'](){const _0x12488b=_0x361975;this[_0x12488b(0x690)]=!0x1;}[_0x361975(0x630)](){const _0x42e6c3=_0x361975;if(this[_0x42e6c3(0x690)])throw new Error(_0x42e6c3(0x2e4));this[_0x42e6c3(0x690)]=!0x0;}['_onLocalMutation'](_0xcecf8d){const _0x5f4fc0=_0x361975;this['_lockTransition'](),this[_0x5f4fc0(0x549)](this[_0x5f4fc0(0x3de)][_0x5f4fc0(0x2a9)](_0xcecf8d)),this[_0x5f4fc0(0x558)]();}[_0x361975(0x55b)](_0x4a2220){const _0x115ab6=_0x361975;if(!(_0x4a2220[_0x115ab6(0x497)]<=this[_0x115ab6(0x3b8)][_0x115ab6(0x615)](this[_0x115ab6(0x332)]))){if(this[_0x115ab6(0x3bd)]){this['_remoteChangesetQueue'][_0x115ab6(0x297)](_0x4a2220);return;}this['_applyRemoteChangeset'](_0x4a2220);}}[_0x361975(0x5ca)](){const _0x129b32=_0x361975;this[_0x129b32(0x6a2)][_0x129b32(0x3d7)](_0xa8ecf=>this[_0x129b32(0x402)](_0xa8ecf)),this['_remoteChangesetQueue']=[];}[_0x361975(0x402)](_0x374331){const _0x4c0be4=_0x361975,_0xd17fe6=this[_0x4c0be4(0x250)][_0x4c0be4(0x3b4)][_0x4c0be4(0x5e2)](this[_0x4c0be4(0x250)][_0x4c0be4(0x3b4)][_0x4c0be4(0x671)]()[_0x4c0be4(0x391)])(_0x374331['mutations'],null)||_0x374331['mutations'],_0x57dbe4={..._0x374331,'mutations':_0xd17fe6};this[_0x4c0be4(0x630)](),this[_0x4c0be4(0x549)](this[_0x4c0be4(0x3de)][_0x4c0be4(0x5a2)](_0x57dbe4)),this['_unlockTransition']();}[_0x361975(0x646)](_0xa2df02){const _0x1812b5=_0x361975;this[_0x1812b5(0x630)](),this[_0x1812b5(0x549)](this[_0x1812b5(0x3de)][_0x1812b5(0x3f9)](_0xa2df02)),this[_0x1812b5(0x558)]();}[_0x361975(0x48c)](_0x42f2c7){const _0x569f98=_0x361975;this[_0x569f98(0x630)](),this['_updateState'](this['_state'][_0x569f98(0x588)](_0x42f2c7)),this['_unlockTransition']();}[_0x361975(0x3fd)](_0x133989){const _0xaf24f8=_0x361975;this[_0xaf24f8(0x630)](),this[_0xaf24f8(0x549)](this[_0xaf24f8(0x3de)][_0xaf24f8(0x611)](_0x133989)),this[_0xaf24f8(0x558)]();}[_0x361975(0x495)](_0x2c0e26){const _0x4dbfdd=_0x361975;if(!(this[_0x4dbfdd(0x3de)]instanceof re))throw new TypeError(_0x4dbfdd(0x33e));const _0x44e41a=_0x2c0e26[_0x4dbfdd(0x4ec)](_0x19472d=>{const _0x21b8fb=_0x4dbfdd,_0x2ce06d=this[_0x21b8fb(0x250)][_0x21b8fb(0x3b4)][_0x21b8fb(0x5e2)](this[_0x21b8fb(0x250)]['interceptor'][_0x21b8fb(0x671)]()[_0x21b8fb(0x391)])(_0x19472d[_0x21b8fb(0x1ec)],null)||_0x19472d[_0x21b8fb(0x1ec)];return{..._0x19472d,'mutations':_0x2ce06d};});this[_0x4dbfdd(0x630)](),this[_0x4dbfdd(0x549)](this[_0x4dbfdd(0x3de)][_0x4dbfdd(0x417)](_0x44e41a)),this[_0x4dbfdd(0x558)]();}['_toggleOffline'](){const _0x1df6c1=_0x361975;this[_0x1df6c1(0x630)](),this[_0x1df6c1(0x549)](this[_0x1df6c1(0x3de)][_0x1df6c1(0x44a)]()),this[_0x1df6c1(0x558)]();}[_0x361975(0x512)](_0x25345a=!0x1){const _0x39ce1c=_0x361975;this[_0x39ce1c(0x630)](),this[_0x39ce1c(0x549)](this[_0x39ce1c(0x3de)]['toggleOnline']()),this[_0x39ce1c(0x558)]();const _0x58e3fe=this[_0x39ce1c(0x3de)];_0x25345a&&_0x58e3fe instanceof Oe&&(this[_0x39ce1c(0x630)](),this['_updateState'](_0x58e3fe[_0x39ce1c(0x4bf)]()),this[_0x39ce1c(0x558)]());}async[_0x361975(0x40b)](){return new Promise(_0x4313e9=>{const _0x4fc7c8=_0x3094;this[_0x4fc7c8(0x3df)][_0x4fc7c8(0x658)][_0x4fc7c8(0x256)](N[_0x4fc7c8(0x28f)](0x1))['subscribe'](async _0x24de6e=>{const _0xac72a2=_0x4fc7c8;_0x4313e9(await this[_0xac72a2(0x501)](_0x24de6e===ne['ONLINE']));});});}[_0x361975(0x3b6)](){const _0x580b95=this['unitID'];return{'onStateChange':(_0x2d3d0e,_0x5799a0)=>{const _0x1c9880=_0x3094;if(_0x2d3d0e!==this[_0x1c9880(0x3de)])throw new Error(_0x1c9880(0x456)+_0x2d3d0e[_0x1c9880(0x58f)]+'\x0aAfter:\x20'+_0x5799a0[_0x1c9880(0x58f)]+_0x1c9880(0x3c8)+this['_state'][_0x1c9880(0x58f)]);this[_0x1c9880(0x549)](_0x5799a0);},'onSendChangeset':_0x183d10=>{const _0x360086=_0x3094;_0x183d10[_0x360086(0x309)]||(_0x183d10[_0x360086(0x309)]=this[_0x360086(0x45b)],_0x183d10[_0x360086(0x53e)]=++this[_0x360086(0x3ab)]);const _0x14ef64={'eventID':m[_0x360086(0x3aa)][_0x360086(0x63a)],'data':{'unitID':_0x183d10[_0x360086(0x332)],'unitType':this[_0x360086(0x20f)],'changeset':_0x183d10,'memberID':this['session'][_0x360086(0x61c)]()}};this[_0x360086(0x3df)]['send'](_0x14ef64,this[_0x360086(0x332)]);},'onMissingChangesets':({from:_0x18885a,to:_0x218f8f})=>{const _0x1b8298=_0x3094;this[_0x1b8298(0x442)]['debug'](_0x1b8298(0x236),_0x1b8298(0x28b)+_0x18885a+_0x1b8298(0x389)+_0x218f8f);const _0x205d07={'eventID':m[_0x1b8298(0x3aa)][_0x1b8298(0x6a6)],'data':{'unitID':_0x580b95,'unitType':this['_type'],'from':_0x18885a,'to':_0x218f8f}};this['session'][_0x1b8298(0x223)](_0x205d07,this[_0x1b8298(0x332)]);}};}async[_0x361975(0x501)](_0x56f7eb){const _0x5e9ee0=_0x361975;var _0x35181d,_0x25c4f0;const _0x52dbd2=await this[_0x5e9ee0(0x4ac)][_0x5e9ee0(0x4b8)](this[_0x5e9ee0(0x332)]),_0x3f61ff=(_0x35181d=_0x52dbd2==null?void 0x0:_0x52dbd2['mutations'])!=null?_0x35181d:[],_0x2822e9=(_0x25c4f0=_0x52dbd2==null?void 0x0:_0x52dbd2[_0x5e9ee0(0x219)])!=null?_0x25c4f0:null,_0x33e1ca=!!(_0x2822e9!=null&&_0x2822e9[_0x5e9ee0(0x309)])&&!!(_0x2822e9!=null&&_0x2822e9[_0x5e9ee0(0x53e)]);this[_0x5e9ee0(0x45b)]=_0x33e1ca?_0x2822e9[_0x5e9ee0(0x309)]:On(),this[_0x5e9ee0(0x3ab)]=_0x33e1ca?_0x2822e9[_0x5e9ee0(0x53e)]:0x0;const _0x287808=this[_0x5e9ee0(0x332)];try{this[_0x5e9ee0(0x608)](_0x2822e9,_0x3f61ff);}catch(_0x135985){this['_logService'][_0x5e9ee0(0x384)](_0x135985);}const _0x43786b=this[_0x5e9ee0(0x3b6)]();if(_0x56f7eb){const _0x327407=Ui(this[_0x5e9ee0(0x5f2)],_0x287808,this[_0x5e9ee0(0x20f)],_0x2822e9,_0x3f61ff,_0x43786b);return _0x327407 instanceof ae?_0x327407[_0x5e9ee0(0x45e)]():(_0x327407 instanceof ce||_0x327407 instanceof de)&&_0x327407['resend'](),_0x327407;}return this[_0x5e9ee0(0x5f2)]['createInstance'](ve,_0x287808,this[_0x5e9ee0(0x20f)],_0x2822e9,_0x3f61ff,_0x43786b);}['_replayCachedMutations'](_0x5ec112,_0x3f82e7){const _0x53a355=_0x361975;var _0xdb9aa7,_0x13bcff;const _0x4594d8=this[_0x53a355(0x250)]['interceptor'][_0x53a355(0x5e2)](this[_0x53a355(0x250)][_0x53a355(0x3b4)]['getInterceptPoints']()[_0x53a355(0x391)]);(_0xdb9aa7=_0x4594d8((_0x5ec112==null?void 0x0:_0x5ec112[_0x53a355(0x1ec)])||[],null))==null||_0xdb9aa7[_0x53a355(0x3d7)](_0x5f1cb4=>this[_0x53a355(0x39e)]['executeCommand'](_0x5f1cb4['id'],_0x5f1cb4[_0x53a355(0x509)])),(_0x13bcff=_0x4594d8(_0x3f82e7||[],null))==null||_0x13bcff[_0x53a355(0x3d7)](_0x9a9235=>this[_0x53a355(0x39e)]['executeCommand'](_0x9a9235['id'],_0x9a9235[_0x53a355(0x509)]));}},exports[_0x361975(0x41b)]=Mt([H(0x3,a['Inject'](a[_0x361975(0x2fc)])),H(0x4,a[_0x361975(0x4b5)](exports[_0x361975(0x436)])),H(0x5,a[_0x361975(0x4b5)](m[_0x361975(0x647)])),H(0x6,a[_0x361975(0x4b5)](a[_0x361975(0x34e)])),H(0x7,a[_0x361975(0x4b5)](m[_0x361975(0x2cb)])),H(0x8,a[_0x361975(0x68e)]),H(0x9,a[_0x361975(0x67f)]),H(0xa,ee[_0x361975(0x4a0)]),H(0xb,a[_0x361975(0x53f)]),H(0xc,a[_0x361975(0x580)](at))],exports[_0x361975(0x41b)]),exports[_0x361975(0x4b7)]=class extends exports['CollaborationEntity']{constructor(_0xfbb3d2,_0xa645d3,_0x2ac6e4,_0x34437d,_0x48f711,_0x567993,_0x42787b,_0x20150e,_0xb8cbb4,_0x3271b7,_0x1b2557,_0x4d114c,_0x3be6d1,_0x5bb671,_0x1a72f4,_0x12fd39,_0x4399bd,_0x38dd93){const _0x365e0d=_0x361975;super(_0xfbb3d2,_0x2ac6e4,_0xa645d3,_0x34437d,_0x48f711,_0x567993,_0x42787b,_0x20150e,_0x5bb671,_0x1a72f4,_0x12fd39,_0x4399bd,_0x38dd93),this[_0x365e0d(0x332)]=_0xfbb3d2,this[_0x365e0d(0x585)]=_0xa645d3,this[_0x365e0d(0x2b9)]=_0xb8cbb4,this[_0x365e0d(0x53c)]=_0x3271b7,this[_0x365e0d(0x274)]=_0x1b2557,this[_0x365e0d(0x5e7)]=_0x4d114c,this[_0x365e0d(0x2a1)]=_0x3be6d1;}[_0x361975(0x3b6)](){const _0x4ad190=_0x361975,_0x1af5d5=super[_0x4ad190(0x3b6)]();return _0x1af5d5[_0x4ad190(0x5d6)]=_0x309fd7=>this[_0x4ad190(0x53c)][_0x4ad190(0x520)](_0x309fd7),_0x1af5d5[_0x4ad190(0x560)]=_0x35b73f=>this['_docTransformStateCacheService']['transformStateCache'](_0x35b73f),_0x1af5d5[_0x4ad190(0x5dc)]=_0x18974a=>this[_0x4ad190(0x5e7)][_0x4ad190(0x43f)](_0x18974a),_0x1af5d5[_0x4ad190(0x4f7)]=_0x22bfae=>this[_0x4ad190(0x2a1)][_0x4ad190(0x235)](_0x22bfae),_0x1af5d5[_0x4ad190(0x4db)]=_0x16836a=>this[_0x4ad190(0x53c)][_0x4ad190(0x4cf)](_0x16836a),_0x1af5d5[_0x4ad190(0x530)]=_0x548581=>this[_0x4ad190(0x274)][_0x4ad190(0x4cf)](_0x548581),_0x1af5d5;}async[_0x361975(0x272)](){const _0x42df68=_0x361975,_0x567452=await super[_0x42df68(0x272)]();return this[_0x42df68(0x259)](this['_docStateChangeManagerService'][_0x42df68(0x2d1)][_0x42df68(0x256)](N[_0x42df68(0x23d)](this[_0x42df68(0x3cd)]))[_0x42df68(0x2d2)](_0x120822=>{const _0x33f00a=_0x42df68;if(_0x120822==null)return;const {unitId:_0x53e53b,redoState:_0x1d0147,commandId:_0x441456}=_0x120822;if(_0x53e53b!==this[_0x33f00a(0x332)])return;const _0x508604={'id':_0x441456,'type':a[_0x33f00a(0x688)][_0x33f00a(0x26b)],'params':{'unitId':_0x53e53b,'actions':_0x1d0147[_0x33f00a(0x23c)],'textRanges':null}};this['_onLocalMutation'](_0x508604);})),this['disposeWithMe'](this[_0x42df68(0x39e)][_0x42df68(0x6b7)]((_0xca45dd,_0x39126b)=>{const _0x38891c=_0x42df68;if(_0xca45dd['type']!==a[_0x38891c(0x688)][_0x38891c(0x26b)]||_0x39126b!=null&&_0x39126b[_0x38891c(0x65e)]||_0x39126b!=null&&_0x39126b[_0x38891c(0x505)]||_0xca45dd['id']===Ie[_0x38891c(0x5be)]['id'])return;const _0x2ea62f=_0xca45dd[_0x38891c(0x509)];if((_0x2ea62f==null?void 0x0:_0x2ea62f[_0x38891c(0x693)])!==this['unitID'])return;const _0x13054e=_0xca45dd,_0x9c6da4=this[_0x38891c(0x250)][_0x38891c(0x3b4)][_0x38891c(0x5e2)](this[_0x38891c(0x250)][_0x38891c(0x3b4)][_0x38891c(0x671)]()[_0x38891c(0x482)])([_0x13054e],null)||[_0x13054e];this[_0x38891c(0x554)](_0x9c6da4[0x0]);})),_0x567452;}},exports[_0x361975(0x4b7)]=Mt([H(0x3,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),H(0x4,a[_0x361975(0x4b5)](exports[_0x361975(0x436)])),H(0x5,a[_0x361975(0x4b5)](m[_0x361975(0x647)])),H(0x6,a['Inject'](a[_0x361975(0x34e)])),H(0x7,a[_0x361975(0x4b5)](m[_0x361975(0x2cb)])),H(0x8,a['Inject'](J[_0x361975(0x667)])),H(0x9,a[_0x361975(0x4b5)](Ze)),H(0xa,a[_0x361975(0x4b5)](et)),H(0xb,a[_0x361975(0x4b5)](tt)),H(0xc,a[_0x361975(0x4b5)](Ut)),H(0xd,a['ILogService']),H(0xe,a[_0x361975(0x67f)]),H(0xf,ee[_0x361975(0x4a0)]),H(0x10,a[_0x361975(0x53f)]),H(0x11,a[_0x361975(0x580)](at))],exports[_0x361975(0x4b7)]),exports[_0x361975(0x418)]=class extends exports[_0x361975(0x41b)]{constructor(_0x4ac6f0,_0x1bcb5a,_0x2ce239,_0x1ba031,_0x1dc0a6,_0x2af444,_0x232317,_0x292ea4,_0x4da86d,_0x2fa57c,_0x346fd4,_0x13d205,_0x51206e,_0x1561b4){const _0x55cfab=_0x361975;super(_0x4ac6f0,_0x2ce239,_0x1bcb5a,_0x1ba031,_0x1dc0a6,_0x2af444,_0x232317,_0x292ea4,_0x2fa57c,_0x346fd4,_0x13d205,_0x51206e,_0x1561b4),this[_0x55cfab(0x332)]=_0x4ac6f0,this[_0x55cfab(0x585)]=_0x1bcb5a,this[_0x55cfab(0x212)]=_0x4da86d;}[_0x361975(0x3b6)](){const _0x25cf78=_0x361975,_0x3f4521=super[_0x25cf78(0x3b6)]();return _0x3f4521[_0x25cf78(0x5dc)]=_0x1e1307=>this[_0x25cf78(0x212)][_0x25cf78(0x43f)](_0x1e1307),_0x3f4521;}async[_0x361975(0x272)](){const _0x2c8df6=_0x361975,_0x27df83=await super[_0x2c8df6(0x272)]();return this[_0x2c8df6(0x259)](this['_commandService'][_0x2c8df6(0x6b7)]((_0xa06f47,_0x2139d3)=>{const _0x51238f=_0x2c8df6;if(_0xa06f47[_0x51238f(0x585)]!==a[_0x51238f(0x688)]['MUTATION']||_0x2139d3!=null&&_0x2139d3['fromCollab']||_0x2139d3!=null&&_0x2139d3[_0x51238f(0x505)])return;const _0x1b9c38=_0xa06f47[_0x51238f(0x509)];if((_0x1b9c38==null?void 0x0:_0x1b9c38[_0x51238f(0x693)])!==this[_0x51238f(0x332)])return;const _0xd567f5=_0xa06f47,_0x40c197=this[_0x51238f(0x250)][_0x51238f(0x3b4)][_0x51238f(0x5e2)](this[_0x51238f(0x250)][_0x51238f(0x3b4)][_0x51238f(0x671)]()[_0x51238f(0x482)])([_0xd567f5],null)||[_0xd567f5];this['_onLocalMutation'](_0x40c197[0x0]);})),_0x27df83;}},exports['SheetCollaborationEntity']=Mt([H(0x3,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),H(0x4,a[_0x361975(0x4b5)](exports[_0x361975(0x436)])),H(0x5,a[_0x361975(0x4b5)](m[_0x361975(0x647)])),H(0x6,a[_0x361975(0x4b5)](a[_0x361975(0x34e)])),H(0x7,a[_0x361975(0x4b5)](m[_0x361975(0x2cb)])),H(0x8,a[_0x361975(0x4b5)](Qe)),H(0x9,a[_0x361975(0x68e)]),H(0xa,a[_0x361975(0x67f)]),H(0xb,ee[_0x361975(0x4a0)]),H(0xc,a['IPermissionService']),H(0xd,a[_0x361975(0x580)](at))],exports['SheetCollaborationEntity']);var Zn=Object[_0x361975(0x23f)],Qn=Object[_0x361975(0x3bb)],er=(_0x4b32b6,_0x2c10ca,_0x406b2e,_0x32b5d0)=>{const _0x51dc09=_0x361975;for(var _0x35d39d=_0x32b5d0>0x1?void 0x0:_0x32b5d0?Qn(_0x2c10ca,_0x406b2e):_0x2c10ca,_0x116704=_0x4b32b6[_0x51dc09(0x31c)]-0x1,_0x591e8d;_0x116704>=0x0;_0x116704--)(_0x591e8d=_0x4b32b6[_0x116704])&&(_0x35d39d=(_0x32b5d0?_0x591e8d(_0x2c10ca,_0x406b2e,_0x35d39d):_0x591e8d(_0x35d39d))||_0x35d39d);return _0x32b5d0&&_0x35d39d&&Zn(_0x2c10ca,_0x406b2e,_0x35d39d),_0x35d39d;},dt=(_0x4bd4c7,_0x4f0da1)=>(_0x2bb351,_0x2cba31)=>_0x4f0da1(_0x2bb351,_0x2cba31,_0x4bd4c7);exports[_0x361975(0x6b2)]=class extends a[_0x361975(0x353)]{constructor(_0x173208,_0x558f8f,_0xf26687){const _0x50460c=_0x361975;super(),I(this,_0x50460c(0x2be),new Map()),I(this,'_entityInit$',new N['Subject']()),(this[_0x50460c(0x5f2)]=_0x173208,this[_0x50460c(0x5e0)]=_0x558f8f,this[_0x50460c(0x491)]=_0xf26687,this['_init']());}[_0x361975(0x2a2)](){const _0x63692a=_0x361975;super[_0x63692a(0x2a2)](),this['_entities'][_0x63692a(0x3d7)](_0xefaa02=>_0xefaa02['dispose']()),this['_entities'][_0x63692a(0x2f1)]();}[_0x361975(0x42d)](_0x1e2ae6){const _0x48e331=_0x361975;var _0x11fad0;return(_0x11fad0=this[_0x48e331(0x2be)][_0x48e331(0x5e3)](_0x1e2ae6))!=null?_0x11fad0:null;}[_0x361975(0x1f5)](_0x14eaff){const _0x482a68=_0x361975,_0x5a6404=this[_0x482a68(0x42d)](_0x14eaff);return _0x5a6404?N['of'](_0x5a6404):this[_0x482a68(0x699)][_0x482a68(0x256)](V[_0x482a68(0x4f0)](_0x4ec57d=>_0x4ec57d[_0x482a68(0x332)]===_0x14eaff));}[_0x361975(0x272)](){const _0x25f07e=_0x361975;this[_0x25f07e(0x491)][_0x25f07e(0x6ad)](a[_0x25f07e(0x481)][_0x25f07e(0x327)])[_0x25f07e(0x256)](N[_0x25f07e(0x23d)](this['dispose$']),V[_0x25f07e(0x525)](0x10))[_0x25f07e(0x2d2)](async _0x5fb852=>{const _0x8cd3db=_0x25f07e,_0xdb0032=_0x5fb852['getUnitId'](),_0x27c8b6=await this['_startCollaboration'](_0xdb0032,ie[_0x8cd3db(0x327)]);this['_entities'][_0x8cd3db(0x69a)](_0xdb0032,_0x27c8b6);}),this[_0x25f07e(0x491)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x25f07e(0x5f5)])[_0x25f07e(0x256)](N[_0x25f07e(0x23d)](this[_0x25f07e(0x3cd)]),V[_0x25f07e(0x525)](0x10))[_0x25f07e(0x256)](V['filter'](_0x4b3f52=>!_0x4b3f52[_0x25f07e(0x5db)]()[_0x25f07e(0x4aa)]('__')))[_0x25f07e(0x2d2)](async _0x51edb4=>{const _0x57fdb3=_0x25f07e,_0x5baf80=_0x51edb4[_0x57fdb3(0x5db)](),_0x1c65f9=await this['_startCollaboration'](_0x5baf80,ie[_0x57fdb3(0x5f5)]);this[_0x57fdb3(0x2be)][_0x57fdb3(0x69a)](_0x5baf80,_0x1c65f9);}),N['merge'](this[_0x25f07e(0x491)]['getTypeOfUnitDisposed$'](a[_0x25f07e(0x481)][_0x25f07e(0x327)]),this[_0x25f07e(0x491)][_0x25f07e(0x59f)](a[_0x25f07e(0x481)][_0x25f07e(0x5f5)]))['pipe'](N[_0x25f07e(0x23d)](this['dispose$']))['subscribe'](_0x18b4d7=>{const _0x2771d3=_0x25f07e,_0x15b089=_0x18b4d7[_0x2771d3(0x5db)](),_0x5b3c43=this['_entities'][_0x2771d3(0x5e3)](_0x15b089);_0x5b3c43&&(_0x5b3c43[_0x2771d3(0x2a2)](),this[_0x2771d3(0x2be)][_0x2771d3(0x335)](_0x15b089));});}async['_startCollaboration'](_0xb7ff78,_0x168158){const _0x284107=_0x361975,_0x49595d=await this[_0x284107(0x5e0)][_0x284107(0x21c)](_0xb7ff78),_0x15211c=this[_0x284107(0x5f2)][_0x284107(0x665)](this[_0x284107(0x365)](_0x168158),_0xb7ff78,_0x168158,_0x49595d);return await _0x15211c[_0x284107(0x66b)](),this['_entityInit$']['next'](_0x15211c),_0x15211c;}[_0x361975(0x365)](_0x2130d3){const _0x4d48bb=_0x361975;switch(_0x2130d3){case ie[_0x4d48bb(0x5f5)]:return exports['DocCollaborationEntity'];case ie['UNIVER_SHEET']:return exports[_0x4d48bb(0x418)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2130d3);}}},exports[_0x361975(0x6b2)]=er([dt(0x0,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),dt(0x1,a[_0x361975(0x4b5)](exports[_0x361975(0x245)])),dt(0x2,a['IUniverInstanceService'])],exports[_0x361975(0x6b2)]);var tr=Object[_0x361975(0x23f)],ir=Object[_0x361975(0x3bb)],nr=(_0x40ddd2,_0x4acd14,_0x430793,_0x51576d)=>{const _0x40837c=_0x361975;for(var _0x2c8f19=_0x51576d>0x1?void 0x0:_0x51576d?ir(_0x4acd14,_0x430793):_0x4acd14,_0xd76867=_0x40ddd2[_0x40837c(0x31c)]-0x1,_0x13a945;_0xd76867>=0x0;_0xd76867--)(_0x13a945=_0x40ddd2[_0xd76867])&&(_0x2c8f19=(_0x51576d?_0x13a945(_0x4acd14,_0x430793,_0x2c8f19):_0x13a945(_0x2c8f19))||_0x2c8f19);return _0x51576d&&_0x2c8f19&&tr(_0x4acd14,_0x430793,_0x2c8f19),_0x2c8f19;},Yt=(_0x105403,_0x40486c)=>(_0x4120f9,_0x1c2035)=>_0x40486c(_0x4120f9,_0x1c2035,_0x105403);let it=class extends a[_0x361975(0x353)]{constructor(_0x83e418,_0xc3cdf5){const _0x49a4f3=_0x361975;super(),this[_0x49a4f3(0x4c5)]=_0x83e418,this['_imageIoService']=_0xc3cdf5,this[_0x49a4f3(0x272)]();}[_0x361975(0x272)](){const _0x3734bf=_0x361975,_0x30d5a9=this;this[_0x3734bf(0x259)](this[_0x3734bf(0x4c5)]['addClipboardHook']({'onBeforePasteImage':async _0x18d920=>{const _0xd6121a=_0x3734bf,_0x189ceb=await _0x30d5a9['_imageIoService'][_0xd6121a(0x453)](_0x18d920);return _0x189ceb?{'source':_0x189ceb['source'],'imageSourceType':_0x189ceb['imageSourceType']}:null;}}));}};it=nr([Yt(0x0,J[_0x361975(0x67d)]),Yt(0x1,te['IImageIoService'])],it);function _0x3094(_0x370ace,_0x17cbad){const _0x4507a8=_0x4507();return _0x3094=function(_0x30947a,_0x5ee8de){_0x30947a=_0x30947a-0x1e7;let _0x212eea=_0x4507a8[_0x30947a];return _0x212eea;},_0x3094(_0x370ace,_0x17cbad);}const qt=[_0x361975(0x39d),_0x361975(0x4b1),'verdancy600',_0x361975(0x2e7),_0x361975(0x3ac),_0x361975(0x42f)];class Nt extends a['Disposable']{constructor(){super(...arguments),I(this,'_assignedColors',new Map()),I(this,'_colorIndex',0x0);}[_0x361975(0x3d6)](_0x1abed6){const _0x124ec9=_0x361975;if(this[_0x124ec9(0x548)][_0x124ec9(0x638)](_0x1abed6))return this['_assignedColors'][_0x124ec9(0x5e3)](_0x1abed6);const _0x3f4de5=qt[this[_0x124ec9(0x39c)]];return this[_0x124ec9(0x39c)]=(this[_0x124ec9(0x39c)]+0x1)%qt[_0x124ec9(0x31c)],this[_0x124ec9(0x548)][_0x124ec9(0x69a)](_0x1abed6,_0x3f4de5),_0x3f4de5;}}var rr=Object['defineProperty'],sr=Object['getOwnPropertyDescriptor'],or=(_0x1107db,_0x4f6ceb,_0x2c7dff,_0x5e45b8)=>{const _0x27aaf4=_0x361975;for(var _0x453c89=_0x5e45b8>0x1?void 0x0:_0x5e45b8?sr(_0x4f6ceb,_0x2c7dff):_0x4f6ceb,_0x3e6718=_0x1107db[_0x27aaf4(0x31c)]-0x1,_0x331f5c;_0x3e6718>=0x0;_0x3e6718--)(_0x331f5c=_0x1107db[_0x3e6718])&&(_0x453c89=(_0x5e45b8?_0x331f5c(_0x4f6ceb,_0x2c7dff,_0x453c89):_0x331f5c(_0x453c89))||_0x453c89);return _0x5e45b8&&_0x453c89&&rr(_0x4f6ceb,_0x2c7dff,_0x453c89),_0x453c89;},pe=(_0x4e80b8,_0x5a2bc4)=>(_0x477903,_0x34b5ce)=>_0x5a2bc4(_0x477903,_0x34b5ce,_0x4e80b8);const ar=0x12c,cr=0x64;let bt=class extends a[_0x361975(0x353)]{constructor(_0xe15588,_0x4dd100,_0x239e7e,_0x36f368,_0x5b59ef,_0x1b5831,_0x3767e3,_0x591e73,_0x4dd783){const _0x490588=_0x361975;super(),I(this,_0x490588(0x62a),!0x1),I(this,'_init',!0x1),I(this,_0x490588(0x241),new N['BehaviorSubject'](new Map())),I(this,_0x490588(0x60b),this[_0x490588(0x241)][_0x490588(0x2aa)]()),I(this,_0x490588(0x488),new N[(_0x490588(0x392))]([])),I(this,_0x490588(0x3ce),this['_roomMembers$']['pipe'](N['debounceTime'](ar))),I(this,_0x490588(0x22c),a[_0x490588(0x355)](_0x275905=>{const _0x24da63=_0x490588,_0x1572a2={'eventID':m['CollaborationEvent'][_0x24da63(0x5a8)],'data':{'unitID':this[_0x24da63(0x332)],'memberID':this[_0x24da63(0x1fd)][_0x24da63(0x61c)](),'selection':Di(_0x275905)}};this[_0x24da63(0x1fd)][_0x24da63(0x223)](_0x1572a2,this[_0x24da63(0x332)]);},cr)),(this[_0x490588(0x332)]=_0xe15588,this[_0x490588(0x1fd)]=_0x4dd100,this[_0x490588(0x5f2)]=_0x239e7e,this['_colorAssignService']=_0x36f368,this[_0x490588(0x527)]=_0x5b59ef,this[_0x490588(0x6b1)]=_0x1b5831,this[_0x490588(0x1e8)]=_0x3767e3,this[_0x490588(0x491)]=_0x591e73,this[_0x490588(0x39e)]=_0x4dd783);}get[_0x361975(0x2e2)](){const _0x372d47=_0x361975;return this[_0x372d47(0x241)][_0x372d47(0x62d)]();}get[_0x361975(0x4f8)](){const _0x244f7f=_0x361975;return this[_0x244f7f(0x488)]['getValue']();}['dispose'](){const _0x59f248=_0x361975;super[_0x59f248(0x2a2)](),this[_0x59f248(0x241)][_0x59f248(0x514)](new Map()),this['_cursorInfo$'][_0x59f248(0x29e)](),this[_0x59f248(0x488)][_0x59f248(0x514)]([]),this[_0x59f248(0x488)]['complete']();}['init'](){const _0x154f67=_0x361975;this['_init']||(this[_0x154f67(0x272)]=!0x0,this[_0x154f67(0x1fd)][_0x154f67(0x658)][_0x154f67(0x256)](N[_0x154f67(0x23d)](this[_0x154f67(0x3cd)]))[_0x154f67(0x2d2)](_0x444ab2=>{const _0x465616=_0x154f67;_0x444ab2===ne['ONLINE']?this[_0x465616(0x512)]():this[_0x465616(0x1fe)]();}),this[_0x154f67(0x1fd)][_0x154f67(0x52e)]['pipe'](N[_0x154f67(0x23d)](this[_0x154f67(0x3cd)]))[_0x154f67(0x2d2)](_0x497492=>{const _0x522be9=_0x154f67,_0xe4bb1c=_0x497492[_0x522be9(0x395)];_0xe4bb1c===m['CollaborationEvent'][_0x522be9(0x5a8)]&&this[_0x522be9(0x291)](_0x497492),_0xe4bb1c===m['CollaborationEvent'][_0x522be9(0x5cd)]&&this[_0x522be9(0x623)](_0x497492);}),this[_0x154f67(0x259)](this[_0x154f67(0x39e)][_0x154f67(0x6b7)](_0x2fc7c8=>{const _0x516fa9=_0x154f67,_0x32ef77=_0x2fc7c8[_0x516fa9(0x509)];_0x32ef77!=null&&this[_0x516fa9(0x62a)]&&_0x2fc7c8['id']===Ie[_0x516fa9(0x213)]['id']&&_0x32ef77['unitId']===this[_0x516fa9(0x332)]&&_0x32ef77[_0x516fa9(0x35f)]===!0x1&&_0x32ef77[_0x516fa9(0x496)][_0x516fa9(0x31c)]>0x0&&this[_0x516fa9(0x22c)](_0x32ef77[_0x516fa9(0x496)]);})),this[_0x154f67(0x6b1)]['collabCursorState$']['pipe'](N['takeUntil'](this[_0x154f67(0x3cd)]))[_0x154f67(0x2d2)](_0x589081=>{const _0xead958=_0x154f67;if((_0x589081==null?void 0x0:_0x589081['unitID'])!==this['unitID'])return;const _0x56085c={'eventID':m[_0xead958(0x3aa)][_0xead958(0x5a8)],'data':_0x589081};this['_onCursorUpdate'](_0x56085c);}),this[_0x154f67(0x259)](this[_0x154f67(0x39e)][_0x154f67(0x6b7)](_0x3562d8=>{const _0x38d913=_0x154f67;if(_0x3562d8[_0x38d913(0x509)]==null)return;const _0x265881=_0x3562d8[_0x38d913(0x509)];if(_0x3562d8['id']!==Ie[_0x38d913(0x5be)]['id']||_0x265881[_0x38d913(0x693)]!==this[_0x38d913(0x332)])return;const _0x28d379={'id':'doc.mutation.rich-text-editing','params':_0x265881},_0x3406d7=this['cursorInfo'];for(const [_0x392f8c,_0x4fad89]of _0x3406d7){const _0x3c2956={'id':_0x38d913(0x4c4),'params':{'unitId':this[_0x38d913(0x332)],'actions':null,'textRanges':_0x4fad89[_0x38d913(0x496)]}},_0x4c1611=this[_0x38d913(0x1e8)][_0x38d913(0x516)](_0x28d379,_0x3c2956,!0x1);if(m[_0x38d913(0x6a4)](_0x4c1611))throw _0x4c1611[_0x38d913(0x384)];_0x3406d7[_0x38d913(0x69a)](_0x392f8c,{..._0x4fad89,'ranges':_0x4c1611[_0x38d913(0x298)][_0x38d913(0x509)]['textRanges']});}queueMicrotask(()=>{const _0x4cdc45=_0x38d913;this[_0x4cdc45(0x241)][_0x4cdc45(0x514)](_0x3406d7);});})));}['_onCursorUpdate'](_0x1cab42){const _0x37da3b=_0x361975;var _0x50ad00,_0x4afaa3;const {memberID:_0x6324a3,selection:_0x5af67a}=_0x1cab42[_0x37da3b(0x405)],_0xc4dac5=kn(_0x5af67a),_0x146716=(_0x4afaa3=(_0x50ad00=this['_memberService'][_0x37da3b(0x348)](this[_0x37da3b(0x332)],_0x6324a3))==null?void 0x0:_0x50ad00[_0x37da3b(0x5a6)])!=null?_0x4afaa3:_0x37da3b(0x57c),_0x547a7d={'color':this['_colorAssignService'][_0x37da3b(0x3d6)](_0x6324a3),'name':_0x146716,'ranges':_0xc4dac5},_0x1ebbc3=this[_0x37da3b(0x2e2)];_0x1ebbc3[_0x37da3b(0x69a)](_0x6324a3,_0x547a7d),this[_0x37da3b(0x241)]['next'](_0x1ebbc3);}[_0x361975(0x623)](_0x2597ac){const _0x1fd576=_0x361975,{memberID:_0x321821}=_0x2597ac[_0x1fd576(0x405)],_0x1f953d=this[_0x1fd576(0x2e2)];_0x1f953d['delete'](_0x321821),this[_0x1fd576(0x241)][_0x1fd576(0x514)](_0x1f953d);}[_0x361975(0x512)](){const _0x44fd0c=_0x361975;var _0x5349b2;if(this[_0x44fd0c(0x62a)]=!0x0,((_0x5349b2=this[_0x44fd0c(0x491)][_0x44fd0c(0x42b)]())==null?void 0x0:_0x5349b2[_0x44fd0c(0x5db)]())!==this[_0x44fd0c(0x332)])return;const _0x58a8bc=this['_injector']['get'](Ie[_0x44fd0c(0x6b6)])[_0x44fd0c(0x510)]();Array[_0x44fd0c(0x5d2)](_0x58a8bc)&&_0x58a8bc['length']>0x0&&this[_0x44fd0c(0x22c)](_0x58a8bc);}[_0x361975(0x1fe)](){const _0x1984a6=_0x361975;this[_0x1984a6(0x62a)]=!0x1;}};bt=or([pe(0x2,a[_0x361975(0x4b5)](a['Injector'])),pe(0x3,a['Inject'](Nt)),pe(0x4,a[_0x361975(0x4b5)](exports[_0x361975(0x486)])),pe(0x5,a[_0x361975(0x4b5)](Ut)),pe(0x6,m['ITransformService']),pe(0x7,a[_0x361975(0x63c)]),pe(0x8,a['ICommandService'])],bt);var lr=Object['defineProperty'],hr=Object[_0x361975(0x3bb)],_r=(_0x3265bd,_0x50704f,_0x88441f,_0xdc9fad)=>{const _0x1b81b2=_0x361975;for(var _0x54e6f1=_0xdc9fad>0x1?void 0x0:_0xdc9fad?hr(_0x50704f,_0x88441f):_0x50704f,_0x2ba723=_0x3265bd[_0x1b81b2(0x31c)]-0x1,_0x5e9d8e;_0x2ba723>=0x0;_0x2ba723--)(_0x5e9d8e=_0x3265bd[_0x2ba723])&&(_0x54e6f1=(_0xdc9fad?_0x5e9d8e(_0x50704f,_0x88441f,_0x54e6f1):_0x5e9d8e(_0x54e6f1))||_0x54e6f1);return _0xdc9fad&&_0x54e6f1&&lr(_0x50704f,_0x88441f,_0x54e6f1),_0x54e6f1;},Te=(_0x5654e7,_0xd386d1)=>(_0x2972ec,_0x130c07)=>_0xd386d1(_0x2972ec,_0x130c07,_0x5654e7);const ur=0x12c,dr=0x64,fr=()=>{let _0x803d4d=[],_0x34fac2=!0x1;return _0x2311e3=>{const _0x4a1b82=_0x3094;_0x803d4d[_0x4a1b82(0x297)](_0x2311e3),_0x34fac2||(_0x34fac2=!0x0,setTimeout(()=>{const _0x34e4d3=_0x4a1b82;_0x803d4d[_0x34e4d3(0x3d7)](_0x19ccf8=>_0x19ccf8()),_0x803d4d=[],_0x34fac2=!0x1;}));};};let Tt=class extends a[_0x361975(0x353)]{constructor(_0x53488d,_0x23aef8,_0x3a1610,_0x29f9a4,_0x375325,_0x177233,_0x4f170f,_0x2b85ed){const _0x46030=_0x361975;super(),I(this,_0x46030(0x62a),!0x1),I(this,_0x46030(0x272),!0x1),I(this,_0x46030(0x241),new N[(_0x46030(0x392))](new Map())),I(this,_0x46030(0x60b),this[_0x46030(0x241)][_0x46030(0x2aa)]()),I(this,_0x46030(0x488),new N['BehaviorSubject']([])),I(this,_0x46030(0x3ce),this[_0x46030(0x488)][_0x46030(0x256)](N[_0x46030(0x1f3)](ur))),I(this,_0x46030(0x22c),a[_0x46030(0x355)]((_0xe7e4aa,_0x48759e)=>{const _0x33bac4=_0x46030,_0x569b5d={'eventID':m['CollaborationEvent'][_0x33bac4(0x5a8)],'data':{'unitID':this['unitID'],'memberID':this[_0x33bac4(0x1fd)][_0x33bac4(0x61c)](),'selection':$t[_0x33bac4(0x3fa)](_0xe7e4aa,_0x48759e[_0x33bac4(0x63e)])}};this['_session'][_0x33bac4(0x223)](_0x569b5d,this['unitID']);},dr)),(this[_0x46030(0x332)]=_0x53488d,this['_session']=_0x23aef8,this[_0x46030(0x5f2)]=_0x3a1610,this[_0x46030(0x227)]=_0x29f9a4,this[_0x46030(0x527)]=_0x375325,this[_0x46030(0x491)]=_0x177233,this[_0x46030(0x39e)]=_0x4f170f,this['_refRangeService']=_0x2b85ed);}get['cursorInfo'](){const _0x4cf539=_0x361975;return this[_0x4cf539(0x241)][_0x4cf539(0x62d)]();}get[_0x361975(0x4f8)](){const _0x2dd2d8=_0x361975;return this[_0x2dd2d8(0x488)]['getValue']();}[_0x361975(0x2a2)](){const _0x449be3=_0x361975;super[_0x449be3(0x2a2)](),this['_cursorInfo$'][_0x449be3(0x514)](new Map()),this['_cursorInfo$'][_0x449be3(0x29e)](),this[_0x449be3(0x488)]['next']([]),this[_0x449be3(0x488)][_0x449be3(0x29e)]();}[_0x361975(0x66b)](){const _0x283b5e=_0x361975;this[_0x283b5e(0x272)]||(this[_0x283b5e(0x272)]=!0x0,this[_0x283b5e(0x1fd)][_0x283b5e(0x658)][_0x283b5e(0x256)](N['takeUntil'](this[_0x283b5e(0x3cd)]))[_0x283b5e(0x2d2)](_0x589505=>{const _0x7fe8c8=_0x283b5e;_0x589505===ne['ONLINE']?this[_0x7fe8c8(0x512)]():this[_0x7fe8c8(0x1fe)]();}),this['_session'][_0x283b5e(0x52e)][_0x283b5e(0x256)](N[_0x283b5e(0x23d)](this['dispose$']))['subscribe'](_0x4f6ea3=>{const _0xf67d1f=_0x283b5e,_0x5ed940=_0x4f6ea3['eventID'];_0x5ed940===m[_0xf67d1f(0x3aa)][_0xf67d1f(0x5a8)]&&this[_0xf67d1f(0x291)](_0x4f6ea3),_0x5ed940===m['CollaborationEvent'][_0xf67d1f(0x5cd)]&&this[_0xf67d1f(0x623)](_0x4f6ea3);}),this['_onRefRangeChange'](),this[_0x283b5e(0x259)](this['_commandService'][_0x283b5e(0x6b7)](_0x1d8224=>{const _0x4eb127=_0x283b5e;if(this[_0x4eb127(0x62a)]&&_0x1d8224['id']===k[_0x4eb127(0x5d9)]['id']&&_0x1d8224[_0x4eb127(0x509)][_0x4eb127(0x693)]===this['unitID']){const _0x35e8ce=_0x1d8224[_0x4eb127(0x509)];this[_0x4eb127(0x22c)](_0x35e8ce[_0x4eb127(0x5fa)],_0x35e8ce[_0x4eb127(0x564)][0x0]);}})));}[_0x361975(0x291)](_0x4f9897){const _0x495bc6=_0x361975;var _0x52a2cf,_0x105655;const {memberID:_0x5e8afe,selection:_0x12b7fb}=_0x4f9897[_0x495bc6(0x405)],{sheetName:_0x33da03,range:_0x23e88d}=$t[_0x495bc6(0x5f7)](_0x12b7fb),_0x48271a={'name':(_0x105655=(_0x52a2cf=this[_0x495bc6(0x527)][_0x495bc6(0x348)](this[_0x495bc6(0x332)],_0x5e8afe))==null?void 0x0:_0x52a2cf[_0x495bc6(0x5a6)])!=null?_0x105655:_0x495bc6(0x57c),'range':this[_0x495bc6(0x286)](_0x33da03,_0x23e88d),'sheetID':_0x33da03,'color':this[_0x495bc6(0x227)][_0x495bc6(0x3d6)](_0x5e8afe),'selection':_0x12b7fb},_0x2c00d6=this[_0x495bc6(0x2e2)];_0x2c00d6['set'](_0x5e8afe,_0x48271a),this[_0x495bc6(0x241)]['next'](_0x2c00d6);}['_onCursorDelete'](_0x5d0b12){const _0x4619e2=_0x361975,{memberID:_0x500c81}=_0x5d0b12['data'],_0x176906=this[_0x4619e2(0x2e2)];_0x176906['delete'](_0x500c81),this[_0x4619e2(0x241)][_0x4619e2(0x514)](_0x176906);}['_getMergeRange'](_0x41b54a,_0x560900){const _0x173f73=_0x361975;var _0x34a752,_0x2861fd;const _0x3a7f55=(_0x2861fd=(_0x34a752=this[_0x173f73(0x491)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x34a752['getSheetBySheetId'](_0x41b54a))==null?void 0x0:_0x2861fd[_0x173f73(0x3ec)]();return(_0x3a7f55==null?void 0x0:_0x3a7f55['find'](_0x540ffa=>a['Rectangle'][_0x173f73(0x445)](_0x540ffa,_0x560900)))||_0x560900;}['_onRefRangeChange'](){const _0x17f8b3=_0x361975,_0x507fca=new a[(_0x17f8b3(0x5b6))](),_0x30c95f=fr(),_0x10e01b=()=>{const _0x3f1fbf=_0x17f8b3;_0x507fca[_0x3f1fbf(0x2a2)]();const _0x356691=(_0x16eea7,_0x19fdb1,_0x2526b9,_0x2bd979)=>{const _0x372220=_0x3f1fbf;let _0x81bb88=[];switch(_0x16eea7['id']){case k[_0x372220(0x1ee)][_0x372220(0x25a)]:{_0x81bb88=k[_0x372220(0x262)](_0x16eea7,_0x2bd979);break;}case k[_0x372220(0x1ee)][_0x372220(0x5aa)]:{_0x81bb88=k[_0x372220(0x2fa)](_0x16eea7,_0x2bd979);break;}case k['EffectRefRangId']['InsertColCommandId']:{_0x81bb88=k[_0x372220(0x694)](_0x16eea7,_0x2bd979);break;}case k[_0x372220(0x1ee)][_0x372220(0x37b)]:{_0x81bb88=k['handleInsertRangeMoveDown'](_0x16eea7,_0x2bd979);break;}case k[_0x372220(0x1ee)][_0x372220(0x511)]:{_0x81bb88=k[_0x372220(0x204)](_0x16eea7,_0x2bd979);break;}case k['EffectRefRangId'][_0x372220(0x4e6)]:{_0x81bb88=k[_0x372220(0x228)](_0x16eea7,_0x2bd979);break;}case k[_0x372220(0x1ee)][_0x372220(0x428)]:{_0x81bb88=k[_0x372220(0x5eb)](_0x16eea7,_0x2bd979);break;}case k[_0x372220(0x1ee)]['RemoveColCommandId']:{_0x81bb88=k['handleIRemoveCol'](_0x16eea7,_0x2bd979);break;}case k['EffectRefRangId']['RemoveRowCommandId']:{_0x81bb88=k[_0x372220(0x360)](_0x16eea7,_0x2bd979);break;}}const _0x50d651=k[_0x372220(0x565)](_0x81bb88,_0x2bd979),_0x489efa=this[_0x372220(0x2e2)][_0x372220(0x5e3)](_0x19fdb1);if(_0x489efa&&_0x50d651){const _0x6c165b={..._0x489efa,'range':_0x50d651};this[_0x372220(0x2e2)][_0x372220(0x69a)](_0x19fdb1,_0x6c165b),_0x30c95f(()=>{const _0x1a7ea7=_0x372220,_0x4dd7e5=this['_refRangeService'][_0x1a7ea7(0x546)](_0x50d651,_0x117258=>(_0x4dd7e5[_0x1a7ea7(0x2a2)](),_0x356691(_0x117258,_0x19fdb1,_0x2526b9,_0x50d651)));_0x507fca[_0x1a7ea7(0x277)](_0x4dd7e5);});}return{'redos':[],'undos':[]};};this[_0x3f1fbf(0x2e2)][_0x3f1fbf(0x3d7)]((_0x4896c0,_0x5f24f3)=>{const _0x634f60=_0x3f1fbf,{range:_0x5c498b,sheetID:_0x20fc93}=_0x4896c0,_0x3537ab=this[_0x634f60(0x43b)][_0x634f60(0x546)](_0x5c498b,_0x1d0f6a=>(_0x3537ab['dispose'](),_0x356691(_0x1d0f6a,_0x5f24f3,_0x20fc93,_0x5c498b)));_0x507fca[_0x634f60(0x277)](_0x3537ab);});};this[_0x17f8b3(0x259)](a[_0x17f8b3(0x4f1)](this['_cursorInfo$']['subscribe'](()=>{_0x10e01b();})));}['_toggleOnline'](){const _0x3b53be=_0x361975;var _0x3cd0cb,_0x269206;if(this[_0x3b53be(0x62a)]=!0x0,((_0x3cd0cb=this[_0x3b53be(0x491)][_0x3b53be(0x42b)]())==null?void 0x0:_0x3cd0cb[_0x3b53be(0x5db)]())!==this[_0x3b53be(0x332)])return;const _0x19dca5=(_0x269206=this[_0x3b53be(0x5f2)][_0x3b53be(0x5e3)](k[_0x3b53be(0x534)])['getCurrentSelections']())==null?void 0x0:_0x269206[0x0],_0x43f3cf=this[_0x3b53be(0x491)]['getCurrentUnitForType'](a[_0x3b53be(0x481)][_0x3b53be(0x327)])[_0x3b53be(0x5c4)]();_0x19dca5&&_0x43f3cf&&this[_0x3b53be(0x22c)](_0x43f3cf['getSheetId'](),_0x19dca5);}['_toggleOffline'](){const _0x4cbf2b=_0x361975;this[_0x4cbf2b(0x62a)]=!0x1;}};Tt=_r([Te(0x2,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),Te(0x3,a[_0x361975(0x4b5)](Nt)),Te(0x4,a[_0x361975(0x4b5)](exports[_0x361975(0x486)])),Te(0x5,a['IUniverInstanceService']),Te(0x6,a[_0x361975(0x67f)]),Te(0x7,a['Inject'](k[_0x361975(0x649)]))],Tt);var vr=Object[_0x361975(0x23f)],Sr=Object[_0x361975(0x3bb)],pr=(_0x49a6a8,_0x950987,_0x5a2e16,_0x359254)=>{for(var _0x24a8c7=_0x359254>0x1?void 0x0:_0x359254?Sr(_0x950987,_0x5a2e16):_0x950987,_0x47890b=_0x49a6a8['length']-0x1,_0xd57587;_0x47890b>=0x0;_0x47890b--)(_0xd57587=_0x49a6a8[_0x47890b])&&(_0x24a8c7=(_0x359254?_0xd57587(_0x950987,_0x5a2e16,_0x24a8c7):_0xd57587(_0x24a8c7))||_0x24a8c7);return _0x359254&&_0x24a8c7&&vr(_0x950987,_0x5a2e16,_0x24a8c7),_0x24a8c7;},ft=(_0x3c2994,_0x245d16)=>(_0x2f8e00,_0xb4c5e5)=>_0x245d16(_0x2f8e00,_0xb4c5e5,_0x3c2994);let ye=class extends a[_0x361975(0x353)]{constructor(_0x354706,_0x177a94,_0x308357){const _0x2c05ae=_0x361975;super(),I(this,'_entities',new Map()),I(this,_0x2c05ae(0x699),new N[(_0x2c05ae(0x3e1))]()),(this[_0x2c05ae(0x491)]=_0x354706,this[_0x2c05ae(0x5f2)]=_0x177a94,this['_collabSessionService']=_0x308357,this[_0x2c05ae(0x272)]());}[_0x361975(0x2a2)](){const _0x3eee08=_0x361975;super['dispose'](),this['_entityInit$'][_0x3eee08(0x29e)](),this['_entities'][_0x3eee08(0x3d7)](_0xe61d26=>_0xe61d26['dispose']());}[_0x361975(0x63b)](_0xeecef){const _0x34eb97=_0x361975;return this[_0x34eb97(0x2be)]['has'](_0xeecef)?this[_0x34eb97(0x2be)][_0x34eb97(0x5e3)](_0xeecef)['cursorInfo$']:this[_0x34eb97(0x699)][_0x34eb97(0x256)](N[_0x34eb97(0x4f0)](_0x56fb86=>_0x56fb86[_0x34eb97(0x332)]===_0xeecef),N['switchMap'](_0x14dd32=>_0x14dd32['cursorInfo$']));}[_0x361975(0x272)](){const _0x3bebc9=_0x361975;this[_0x3bebc9(0x491)][_0x3bebc9(0x6ad)](a['UniverInstanceType'][_0x3bebc9(0x327)])[_0x3bebc9(0x256)](N['takeUntil'](this[_0x3bebc9(0x3cd)]))[_0x3bebc9(0x2d2)](async _0x4ef35a=>{const _0x5c54cc=_0x3bebc9,_0x29baee=_0x4ef35a[_0x5c54cc(0x5db)](),_0x4e70e8=await this[_0x5c54cc(0x626)](_0x29baee);this['_entityInit$'][_0x5c54cc(0x514)](_0x4e70e8),this[_0x5c54cc(0x2be)][_0x5c54cc(0x69a)](_0x29baee,_0x4e70e8);}),this['_univerInstanceService'][_0x3bebc9(0x6ad)](a[_0x3bebc9(0x481)][_0x3bebc9(0x5f5)])[_0x3bebc9(0x256)](N[_0x3bebc9(0x23d)](this[_0x3bebc9(0x3cd)]))[_0x3bebc9(0x256)](N['filter'](_0x3e668e=>!_0x3e668e['getUnitId']()[_0x3bebc9(0x4aa)]('__')))[_0x3bebc9(0x2d2)](async _0x3c786e=>{const _0x51417f=_0x3bebc9,_0x11cb5f=_0x3c786e[_0x51417f(0x5db)](),_0x52e1a2=await this[_0x51417f(0x3f8)](_0x11cb5f);this[_0x51417f(0x699)][_0x51417f(0x514)](_0x52e1a2),this[_0x51417f(0x2be)][_0x51417f(0x69a)](_0x11cb5f,_0x52e1a2);}),N[_0x3bebc9(0x5dd)](this[_0x3bebc9(0x491)][_0x3bebc9(0x59f)](a['UniverInstanceType'][_0x3bebc9(0x5f5)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x3bebc9(0x481)]['UNIVER_SHEET']))[_0x3bebc9(0x256)](N[_0x3bebc9(0x23d)](this[_0x3bebc9(0x3cd)]))[_0x3bebc9(0x2d2)](_0x4126f4=>{const _0x195ab4=_0x3bebc9,_0x348096=_0x4126f4['getUnitId'](),_0xec2a13=this[_0x195ab4(0x2be)][_0x195ab4(0x5e3)](_0x348096);_0xec2a13&&(_0xec2a13[_0x195ab4(0x2a2)](),this[_0x195ab4(0x2be)][_0x195ab4(0x335)](_0x348096));});}async[_0x361975(0x626)](_0x343a14){const _0x23fd89=_0x361975,_0x27669b=await this[_0x23fd89(0x5e0)][_0x23fd89(0x21c)](_0x343a14),_0x396f70=this[_0x23fd89(0x5f2)][_0x23fd89(0x665)](Tt,_0x343a14,_0x27669b);return _0x396f70[_0x23fd89(0x66b)](),_0x396f70;}async[_0x361975(0x3f8)](_0x365db3){const _0x471b13=_0x361975,_0xdf4229=await this[_0x471b13(0x5e0)][_0x471b13(0x21c)](_0x365db3),_0x1b02b6=this['_injector'][_0x471b13(0x665)](bt,_0x365db3,_0xdf4229);return _0x1b02b6[_0x471b13(0x66b)](),_0x1b02b6;}};ye=pr([ft(0x0,a[_0x361975(0x63c)]),ft(0x1,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),ft(0x2,a[_0x361975(0x4b5)](exports[_0x361975(0x245)]))],ye);const xe=0x14,Kt=0xc8,vt=0x4,mr=0x5;function gr(_0x555767,_0x401ff5){const _0x4ed974=_0x361975;let {radius:_0x53cb61,width:_0x5b150b,height:_0x23f108}=_0x401ff5;_0x53cb61=_0x53cb61!=null?_0x53cb61:0x0,_0x5b150b=_0x5b150b!=null?_0x5b150b:0x1e,_0x23f108=_0x23f108!=null?_0x23f108:0x1e;let _0x316927=0x0,_0x58e230=0x0,_0x400e55=0x0;_0x316927=_0x58e230=_0x400e55=Math[_0x4ed974(0x38b)](_0x53cb61,_0x5b150b/0x2,_0x23f108/0x2),_0x555767[_0x4ed974(0x4be)](),_0x555767[_0x4ed974(0x64b)](_0x316927,0x0),_0x555767['lineTo'](_0x5b150b-_0x58e230,0x0),_0x555767[_0x4ed974(0x2b2)](_0x5b150b-_0x58e230,_0x58e230,_0x58e230,Math['PI']*0x3/0x2,0x0,!0x1),_0x555767[_0x4ed974(0x5a0)](_0x5b150b,_0x23f108-_0x400e55),_0x555767[_0x4ed974(0x2b2)](_0x5b150b-_0x400e55,_0x23f108-_0x400e55,_0x400e55,0x0,Math['PI']/0x2,!0x1),_0x555767[_0x4ed974(0x5a0)](0x0,_0x23f108),_0x555767[_0x4ed974(0x5a0)](0x0,_0x316927),_0x555767[_0x4ed974(0x2b2)](_0x316927,_0x316927,_0x316927,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x555767['closePath'](),_0x401ff5[_0x4ed974(0x2bc)]&&(_0x555767['save'](),_0x555767[_0x4ed974(0x347)]=_0x401ff5[_0x4ed974(0x2bc)],_0x401ff5[_0x4ed974(0x280)]===_0x4ed974(0x62c)?_0x555767[_0x4ed974(0x2bc)](_0x4ed974(0x62c)):_0x555767[_0x4ed974(0x2bc)](),_0x555767[_0x4ed974(0x24e)]());}class ct extends Y[_0x361975(0x385)]{constructor(_0x5f476c,_0x17cd6d){const _0x30ad7d=_0x361975;super(_0x5f476c,_0x17cd6d),I(this,_0x30ad7d(0x37e)),I(this,_0x30ad7d(0x434)),(this[_0x30ad7d(0x37e)]=_0x17cd6d==null?void 0x0:_0x17cd6d['color'],this[_0x30ad7d(0x434)]=_0x17cd6d==null?void 0x0:_0x17cd6d[_0x30ad7d(0x434)]);}static[_0x361975(0x65a)](_0xb46ed0,_0x375067){const _0x5f1edb=_0x361975,{text:_0x36d02d,color:_0x4a771c}=_0x375067;_0xb46ed0[_0x5f1edb(0x4c3)](),_0xb46ed0[_0x5f1edb(0x3b1)]=_0x5f1edb(0x22a);const _0xc98ae9=_0xb46ed0['measureText'](_0x36d02d)[_0x5f1edb(0x29b)],_0x56a808=Math[_0x5f1edb(0x38b)](_0xc98ae9+0x2*vt,Kt);gr(_0xb46ed0,{'height':xe,'radius':0x4,'width':_0x56a808,'fill':_0x4a771c,'evented':!0x1}),_0xb46ed0[_0x5f1edb(0x347)]=_0x5f1edb(0x616);const _0x17c842=vt,_0x3801c5=xe-mr,_0xb7d8d5=Kt-0x2*vt;if(_0xc98ae9>_0xb7d8d5){let _0xf292f8='',_0xe41a1e=0x0;for(const _0x39dd64 of _0x36d02d){const _0x59df9b=_0xb46ed0[_0x5f1edb(0x655)](_0x39dd64)['width'];if(_0xe41a1e+_0x59df9b<=_0xb7d8d5-_0xb46ed0[_0x5f1edb(0x655)](_0x5f1edb(0x38c))[_0x5f1edb(0x29b)])_0xf292f8+=_0x39dd64,_0xe41a1e+=_0x59df9b;else{_0xf292f8+='...';break;}}_0xb46ed0['fillText'](_0xf292f8,_0x17c842,_0x3801c5);}else _0xb46ed0[_0x5f1edb(0x3ff)](_0x36d02d,_0x17c842,_0x3801c5);_0xb46ed0['restore']();}[_0x361975(0x3f4)](_0x598b64){const _0x374a40=_0x361975;ct[_0x374a40(0x65a)](_0x598b64,this);}}const St=_0x361975(0x306),Ir=_0x361975(0x4d2),Cr=_0x361975(0x4e2),we=0x6,Er=1.5,pt=0x4,br=1.5,Tr=_0x361975(0x273);class zt{constructor(_0x1aaae9,_0x293a0f,_0x3c0609,_0x3d962d){const _0x3d0f71=_0x361975;I(this,_0x3d0f71(0x467),[]),I(this,'_anchor',null),I(this,_0x3d0f71(0x30a),null),I(this,_0x3d0f71(0x5d5),null),I(this,'_hideTimer',null),I(this,_0x3d0f71(0x523),null),(this[_0x3d0f71(0x51d)]=_0x1aaae9,this[_0x3d0f71(0x369)]=_0x293a0f,this[_0x3d0f71(0x659)]=_0x3c0609,this[_0x3d0f71(0x376)]=_0x3d962d,this[_0x3d0f71(0x21a)]());}set[_0x361975(0x595)](_0x3dbec8){const _0x50601f=_0x361975;_0x3dbec8?(this[_0x50601f(0x5d5)]&&this[_0x50601f(0x5d5)][_0x50601f(0x27f)](),this['_textBubble']&&this[_0x50601f(0x30a)][_0x50601f(0x4d8)]()):(this[_0x50601f(0x5d5)]&&this['_anchorDot']['show'](),this[_0x50601f(0x30a)]&&this['_textBubble']['hide']());}['dispose'](){const _0x320302=_0x361975;for(const _0xf2071d of this['_shapes'])_0xf2071d['dispose']();this[_0x320302(0x30a)]&&this['_textBubble'][_0x320302(0x2a2)](),this['_anchorDot']&&this[_0x320302(0x5d5)]['dispose'](),this[_0x320302(0x234)]&&this[_0x320302(0x234)][_0x320302(0x2a2)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0xe86b51=_0x361975;var _0x1d5437;const {_docSkeleton:_0x1279ca,_document:_0xd65b32}=this,{color:_0x50413f,name:_0x1e7a04,ranges:_0x44ba5b}=this[_0xe86b51(0x51d)],_0x498940=_0xd65b32[_0xe86b51(0x479)](),{docsLeft:_0x4db12d,docsTop:_0x5444e8}=_0x498940,_0x3445e9=new J[(_0xe86b51(0x423))](_0x498940,_0x1279ca);for(const {startOffset:_0x3fefd6,endOffset:_0x1dd388,rangeType:_0x2adedc,segmentId:_0x52a321,segmentPage:_0x3f571b,collapsed:_0x191db3,isActive:_0x2fc829}of _0x44ba5b){const _0x5b851e=_0x1279ca['findNodePositionByCharIndex'](_0x3fefd6,!0x0,_0x52a321,_0x3f571b);let _0x20fc50=_0x1279ca[_0xe86b51(0x287)](_0x1dd388,!0x0,_0x52a321,_0x3f571b);if(_0x20fc50==null&&(_0x20fc50=_0x1279ca[_0xe86b51(0x287)](_0x1dd388-0x1,!0x1,_0x52a321,_0x3f571b)),_0x2fc829){const {contentBoxPointGroup:_0x59c53c}=_0x3445e9[_0xe86b51(0x35b)](_0x20fc50,_0x20fc50);if(_0x59c53c[_0xe86b51(0x31c)]===0x0)continue;this[_0xe86b51(0x29a)](_0x50413f,_0x59c53c,_0x4db12d,_0x5444e8,_0x1e7a04),this['_eventUnsubscribe']=this[_0xe86b51(0x6b5)]();}if(_0x5b851e&&_0x20fc50){if(_0x2adedc===a[_0xe86b51(0x260)][_0xe86b51(0x47c)]){const _0x5ba823=new J[(_0xe86b51(0x36d))](_0x498940,_0x1279ca),{pointGroup:_0x491bb3}=(_0x1d5437=_0x5ba823[_0xe86b51(0x35b)](_0x5b851e,_0x20fc50))!=null?_0x1d5437:{};if(_0x491bb3==null||_0x491bb3[_0xe86b51(0x31c)]===0x0)continue;this[_0xe86b51(0x541)](_0x50413f,_0x491bb3,_0x4db12d,_0x5444e8);}else{if(!_0x191db3){const {borderBoxPointGroup:_0x446b4e}=_0x3445e9[_0xe86b51(0x35b)](_0x5b851e,_0x20fc50);if(_0x446b4e[_0xe86b51(0x31c)]===0x0)continue;this['_drawTextRange'](_0x50413f,_0x446b4e,_0x4db12d,_0x5444e8);}}}}}['_drawAnchor'](_0x124099,_0x113040,_0x2070d2,_0x175c70,_0x1599a8){const _0x1f102a=_0x361975,_0x2e3c58=this['_getAnchorBounding'](_0x113040),{left:_0x484fc2,top:_0xd4dcd9,height:_0x43ce64}=_0x2e3c58,_0x490723=this[_0x1f102a(0x472)](),_0x4d28ab=br/_0x490723,_0x4e5c7a=new Y['Rect'](St+a[_0x1f102a(0x344)]['generateRandomId'](we),{'left':_0x484fc2+_0x2070d2-_0x4d28ab,'top':_0xd4dcd9+_0x175c70,'height':_0x43ce64,'width':Er,'fill':_0x124099||Y[_0x1f102a(0x617)](a[_0x1f102a(0x464)][_0x1f102a(0x2de)],0x0),'strokeWidth':_0x4d28ab,'stroke':Tr,'evented':!0x0});this['_anchor']=_0x4e5c7a,this[_0x1f102a(0x369)]['addObject'](_0x4e5c7a,J[_0x1f102a(0x621)]);const _0x64a756=new Y[(_0x1f102a(0x20c))](St+a[_0x1f102a(0x344)][_0x1f102a(0x22d)](we),{'left':_0x484fc2+_0x2070d2-_0x4d28ab,'top':_0xd4dcd9+_0x175c70-pt/0x2,'height':pt,'width':pt,'fill':_0x124099||Y['getColor'](a['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x124099||Y[_0x1f102a(0x617)](a[_0x1f102a(0x464)][_0x1f102a(0x2de)],0x0),'evented':!0x1});this[_0x1f102a(0x5d5)]=_0x64a756,this[_0x1f102a(0x369)][_0x1f102a(0x68c)](_0x64a756,J[_0x1f102a(0x621)]);const _0x1e0904=new ct(St+a[_0x1f102a(0x344)][_0x1f102a(0x22d)](we),{'left':_0x484fc2+_0x2070d2-_0x4d28ab,'top':_0xd4dcd9+_0x175c70-xe,'text':_0x1599a8,'color':_0x124099});this[_0x1f102a(0x30a)]=_0x1e0904,this[_0x1f102a(0x369)][_0x1f102a(0x68c)](_0x1e0904,J[_0x1f102a(0x621)]),this[_0x1f102a(0x595)]=!0x1;}[_0x361975(0x6b5)](){const _0x30e7e5=_0x361975,_0x5b88cf=this[_0x30e7e5(0x234)][_0x30e7e5(0x58d)][_0x30e7e5(0x41e)](()=>{const _0x1bed01=_0x30e7e5;this[_0x1bed01(0x595)]=!0x0;}),_0x2bf154=this['_anchor'][_0x30e7e5(0x1f7)][_0x30e7e5(0x41e)](()=>{const _0x5ad6cc=_0x30e7e5;this[_0x5ad6cc(0x381)]&&clearTimeout(this['_hideTimer']),this[_0x5ad6cc(0x381)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x5b88cf['unsubscribe'](),_0x2bf154['unsubscribe']();};}[_0x361975(0x553)](_0x2f211,_0x1267f6,_0x8286b9,_0x24eb5a){const _0x5a0840=_0x361975,_0xd9b19b=new a[(_0x5a0840(0x69f))](_0x2f211)[_0x5a0840(0x59a)](0.2)[_0x5a0840(0x2d9)](),_0x1cf0b8=new Y[(_0x5a0840(0x58c))](Ir+a[_0x5a0840(0x344)][_0x5a0840(0x22d)](we),{'pointsGroup':_0x1267f6,'fill':_0xd9b19b||Y[_0x5a0840(0x617)](a['COLORS']['black'],0.2),'left':_0x8286b9,'top':_0x24eb5a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5a0840(0x467)][_0x5a0840(0x297)](_0x1cf0b8),this['_scene']['addObject'](_0x1cf0b8,J[_0x5a0840(0x621)]);}[_0x361975(0x541)](_0x88dd5a,_0xa5891c,_0x137cef,_0x3f0199){const _0x5ec5e6=_0x361975,_0x52851b=new a[(_0x5ec5e6(0x69f))](_0x88dd5a)['setAlpha'](0.2)[_0x5ec5e6(0x2d9)](),_0x6ede5=new Y[(_0x5ec5e6(0x58c))](Cr+a[_0x5ec5e6(0x344)][_0x5ec5e6(0x22d)](we),{'pointsGroup':_0xa5891c,'fill':_0x52851b||Y[_0x5ec5e6(0x617)](a['COLORS'][_0x5ec5e6(0x2de)],0.2),'left':_0x137cef,'top':_0x3f0199,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5ec5e6(0x467)][_0x5ec5e6(0x297)](_0x6ede5),this['_scene']['addObject'](_0x6ede5,J['TEXT_RANGE_LAYER_INDEX']);}[_0x361975(0x675)](_0x39f2bb){const _0x1ae7a0=_0x39f2bb[0x0],_0x4c509b=_0x1ae7a0[0x0],_0x3f6c03=_0x1ae7a0[0x2],{x:_0x4aee9c,y:_0x46f620}=_0x4c509b,{x:_0x1dc604,y:_0x164e83}=_0x3f6c03;return{'left':_0x4aee9c,'top':_0x46f620,'width':_0x1dc604-_0x4aee9c,'height':_0x164e83-_0x46f620};}['_getScale'](){const _0x137690=_0x361975,{scaleX:_0x3bc672,scaleY:_0x1fcc3e}=this[_0x137690(0x369)][_0x137690(0x65f)]();return Math[_0x137690(0x685)](_0x3bc672,_0x1fcc3e);}}var Rr=Object['defineProperty'],Or=Object[_0x361975(0x3bb)],yr=(_0x5eb922,_0x1b4e90,_0x158f1c,_0x3917da)=>{const _0x56540b=_0x361975;for(var _0x2ff8fe=_0x3917da>0x1?void 0x0:_0x3917da?Or(_0x1b4e90,_0x158f1c):_0x1b4e90,_0x27e70c=_0x5eb922[_0x56540b(0x31c)]-0x1,_0x53675a;_0x27e70c>=0x0;_0x27e70c--)(_0x53675a=_0x5eb922[_0x27e70c])&&(_0x2ff8fe=(_0x3917da?_0x53675a(_0x1b4e90,_0x158f1c,_0x2ff8fe):_0x53675a(_0x2ff8fe))||_0x2ff8fe);return _0x3917da&&_0x2ff8fe&&Rr(_0x1b4e90,_0x158f1c,_0x2ff8fe),_0x2ff8fe;},je=(_0x52c83e,_0xc64849)=>(_0x1153fe,_0x5a78be)=>_0xc64849(_0x1153fe,_0x5a78be,_0x52c83e);let Rt=class extends a[_0x361975(0x353)]{constructor(_0x48375e,_0x2da89a,_0x4e6db5,_0x47b743,_0x42b967){const _0x1b85d2=_0x361975;super(),I(this,_0x1b85d2(0x61e),[]),I(this,_0x1b85d2(0x643),[]),(this['_context']=_0x48375e,this[_0x1b85d2(0x364)]=_0x2da89a,this[_0x1b85d2(0x4a9)]=_0x4e6db5,this[_0x1b85d2(0x39e)]=_0x47b743,this[_0x1b85d2(0x3be)]=_0x42b967,this[_0x1b85d2(0x272)]());}[_0x361975(0x272)](){const _0x5751f7=_0x361975,_0x4a078f=this[_0x5751f7(0x46a)][_0x5751f7(0x693)],_0x3b0113=this[_0x5751f7(0x364)];this[_0x5751f7(0x259)](N[_0x5751f7(0x20b)]([this['_collabCursorController'][_0x5751f7(0x63b)](_0x4a078f),this['_themeService'][_0x5751f7(0x3b0)]])[_0x5751f7(0x256)](V[_0x5751f7(0x4ec)](([_0x126fc9,_0x425fba])=>({'skeleton':_0x3b0113[_0x5751f7(0x3c3)](),'cursors':[..._0x126fc9['values']()][_0x5751f7(0x3dd)](_0x2abad9=>({..._0x2abad9,'color':_0x425fba[_0x2abad9[_0x5751f7(0x37e)]]}))})))[_0x5751f7(0x2d2)](_0x12fc3e=>{const _0x4281ce=_0x5751f7;if(this[_0x4281ce(0x407)](),_0x12fc3e){const {skeleton:_0x5b5e32,cursors:_0x928e9d}=_0x12fc3e;this['_updateCollabCursors'](_0x5b5e32,_0x928e9d);}})),this[_0x5751f7(0x41d)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x497fdb,_0x6cf89f){const _0x4f0a28=_0x361975,{scene:_0x5a6496,mainComponent:_0x8a12c2}=this[_0x4f0a28(0x46a)],_0x5a5288=_0x6cf89f[_0x4f0a28(0x4ec)](_0x220fb1=>new zt(_0x220fb1,_0x5a6496,_0x497fdb,_0x8a12c2));this['_cursorShapes']=_0x5a5288,this[_0x4f0a28(0x643)]=_0x6cf89f;}[_0x361975(0x664)](){const _0x1e832f=_0x361975;this[_0x1e832f(0x407)]();const {scene:_0x40d7fc,mainComponent:_0x322d9c}=this[_0x1e832f(0x46a)],_0x502be1=this['_docSkeletonManagerService'][_0x1e832f(0x3c3)](),_0x43665d=this[_0x1e832f(0x643)][_0x1e832f(0x4ec)](_0x103c49=>new zt(_0x103c49,_0x40d7fc,_0x502be1,_0x322d9c));this[_0x1e832f(0x61e)]=_0x43665d;}['_removeCollabCursors'](){const _0x12cad8=_0x361975;this[_0x12cad8(0x61e)][_0x12cad8(0x3d7)](_0x394f14=>_0x394f14[_0x12cad8(0x2a2)]()),this[_0x12cad8(0x61e)]=[];}['_initCommandExecutedListener'](){const _0x480e03=_0x361975,_0xf01ace=[J[_0x480e03(0x5df)]['id']];this[_0x480e03(0x259)](this['_commandService'][_0x480e03(0x6b7)](_0x5a5e10=>{const _0x49e64c=_0x480e03;_0xf01ace[_0x49e64c(0x406)](_0x5a5e10['id'])&&_0x5a5e10[_0x49e64c(0x509)][_0x49e64c(0x693)]===this[_0x49e64c(0x46a)][_0x49e64c(0x693)]&&this[_0x49e64c(0x664)]();}));}[_0x361975(0x41d)](){const _0x1c7a96=_0x361975;this[_0x1c7a96(0x259)](a[_0x1c7a96(0x39b)](this['_context'][_0x1c7a96(0x31f)][_0x1c7a96(0x40e)])[_0x1c7a96(0x256)](V[_0x1c7a96(0x4f0)](_0x360a12=>_0x360a12[_0x1c7a96(0x585)]===Y['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x1c7a96(0x416)]),V['throttleTime'](0x10))[_0x1c7a96(0x2d2)](()=>{const _0x46aee2=_0x1c7a96;this[_0x46aee2(0x664)]();}));}};Rt=yr([je(0x1,a['Inject'](Ie[_0x361975(0x275)])),je(0x2,a[_0x361975(0x4b5)](ye)),je(0x3,a[_0x361975(0x67f)]),je(0x4,a[_0x361975(0x4b5)](a[_0x361975(0x46e)]))],Rt);const Dr=0x1,Pr=1.5;class Mi extends Y[_0x361975(0x385)]{constructor(_0x2520f1,_0x59a7a8){const _0x1f4620=_0x361975;super(_0x2520f1,_0x59a7a8),I(this,_0x1f4620(0x532)),I(this,'_hovered',!0x1),I(this,_0x1f4620(0x521)),I(this,_0x1f4620(0x587),''),I(this,_0x1f4620(0x5e4),_0x1f4620(0x266)),I(this,_0x1f4620(0x20d)),(_0x59a7a8&&this['setShapeProps'](_0x59a7a8),this['onPointerEnter$'][_0x1f4620(0x41e)](()=>this[_0x1f4620(0x3d5)]({'hovered':!0x0})),this[_0x1f4620(0x1f7)][_0x1f4620(0x41e)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x361975(0x3d5)](_0x2f5ab1){const _0x3b514d=_0x361975;var _0x52e455,_0x460b8a,_0x546f1d,_0x192e5f,_0x3952a4,_0x56abcd;this[_0x3b514d(0x532)]=(_0x52e455=_0x2f5ab1[_0x3b514d(0x37e)])!=null?_0x52e455:this[_0x3b514d(0x532)],this[_0x3b514d(0x46b)]=(_0x460b8a=_0x2f5ab1[_0x3b514d(0x6a9)])!=null?_0x460b8a:this[_0x3b514d(0x46b)],this['_range']=(_0x546f1d=_0x2f5ab1['range'])!=null?_0x546f1d:this[_0x3b514d(0x521)],this[_0x3b514d(0x587)]=(_0x192e5f=_0x2f5ab1[_0x3b514d(0x5a6)])!=null?_0x192e5f:this[_0x3b514d(0x587)],this[_0x3b514d(0x5e4)]=(_0x3952a4=_0x2f5ab1['labelPosition'])!=null?_0x3952a4:this[_0x3b514d(0x5e4)],this[_0x3b514d(0x20d)]=(_0x56abcd=_0x2f5ab1[_0x3b514d(0x58e)])!=null?_0x56abcd:this[_0x3b514d(0x20d)],this['transformByState']({'width':_0x2f5ab1['width'],'height':_0x2f5ab1['height']});}[_0x361975(0x444)](_0x4566e9){const _0x529396=_0x361975,{row:_0x391f3c,column:_0x22683f}=_0x4566e9;if(_0x391f3c>=this[_0x529396(0x521)]['startRow']&&_0x391f3c<=this[_0x529396(0x521)][_0x529396(0x5b3)]&&_0x22683f>=this[_0x529396(0x521)][_0x529396(0x4ab)]&&_0x22683f<=this[_0x529396(0x521)][_0x529396(0x46d)]){this[_0x529396(0x3d5)]({'hovered':!0x0});return;}this[_0x529396(0x3d5)]({'hovered':!0x1});}[_0x361975(0x3fc)](_0x1fd4df){return!0x1;}['_draw'](_0x363167){const _0x1dd2b2=_0x361975;Y['Rect'][_0x1dd2b2(0x65a)](_0x363167,{'width':this['width'],'height':this['height'],'strokeWidth':Pr,'stroke':this[_0x1dd2b2(0x532)],'evented':!0x1,'fill':this[_0x1dd2b2(0x20d)]}),this[_0x1dd2b2(0x46b)]&&(_0x363167[_0x1dd2b2(0x4c3)](),_0x363167['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x1dd2b2(0x58b)?0x0:-xe),ct[_0x1dd2b2(0x65a)](_0x363167,{'text':this['_name'],'color':this[_0x1dd2b2(0x532)]}),_0x363167['restore']());}}var wr=Object['defineProperty'],Ur=Object[_0x361975(0x3bb)],Mr=(_0x1d80d1,_0x346a82,_0x8d48c4,_0x8c0d68)=>{const _0x236161=_0x361975;for(var _0x2d9648=_0x8c0d68>0x1?void 0x0:_0x8c0d68?Ur(_0x346a82,_0x8d48c4):_0x346a82,_0x1b72a5=_0x1d80d1[_0x236161(0x31c)]-0x1,_0x9ba1ab;_0x1b72a5>=0x0;_0x1b72a5--)(_0x9ba1ab=_0x1d80d1[_0x1b72a5])&&(_0x2d9648=(_0x8c0d68?_0x9ba1ab(_0x346a82,_0x8d48c4,_0x2d9648):_0x9ba1ab(_0x2d9648))||_0x2d9648);return _0x8c0d68&&_0x2d9648&&wr(_0x346a82,_0x8d48c4,_0x2d9648),_0x2d9648;},mt=(_0x1fce3b,_0x478b8a)=>(_0x1367cf,_0x87a6cd)=>_0x478b8a(_0x1367cf,_0x87a6cd,_0x1fce3b);const Nr=0x1389;let Ot=class extends a[_0x361975(0x353)]{constructor(_0x575dd5,_0x542044,_0x3cd90e,_0x5ecde9){const _0x220cfa=_0x361975;super(),I(this,_0x220cfa(0x643),new Set()),I(this,'_lastPointer',null),(this[_0x220cfa(0x46a)]=_0x575dd5,this['_sheetSkeletonManagerService']=_0x542044,this[_0x220cfa(0x4a9)]=_0x3cd90e,this['_themeService']=_0x5ecde9,this['_init']());}[_0x361975(0x272)](){const _0x55998e=_0x361975;this[_0x55998e(0x4d4)][_0x55998e(0x2c8)][_0x55998e(0x256)](V[_0x55998e(0x23d)](this[_0x55998e(0x3cd)]),V[_0x55998e(0x397)](_0x2f1069=>{const _0x12432b=_0x55998e;if(_0x2f1069){const _0x3ad090=_0x2f1069['sheetId'];return N[_0x12432b(0x20b)](this[_0x12432b(0x4a9)][_0x12432b(0x63b)](this[_0x12432b(0x46a)][_0x12432b(0x693)]),this[_0x12432b(0x3be)][_0x12432b(0x3b0)])[_0x12432b(0x256)](V[_0x12432b(0x4ec)](([_0x3c56f2,_0x2dc462])=>{const _0x5f02ab=_0x12432b,_0x336003=new Map();return _0x3c56f2[_0x5f02ab(0x3d7)]((_0x4ef4d2,_0x45b852)=>{const _0x2c0121=_0x5f02ab;if(_0x4ef4d2[_0x2c0121(0x64f)]===_0x3ad090){const _0xf34c83={..._0x4ef4d2};_0xf34c83[_0x2c0121(0x37e)]=_0x2dc462[_0x4ef4d2[_0x2c0121(0x37e)]],_0x336003[_0x2c0121(0x69a)](_0x45b852,_0xf34c83);}}),{'skeleton':_0x2f1069,'cursors':_0x336003};}));}return N['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x196223,cursors:_0x2b9df4})=>{const _0x819f73=_0x55998e;this['_removeCollabCursors'](),_0x196223&&this[_0x819f73(0x36e)](_0x196223,_0x2b9df4);}),this[_0x55998e(0x4d4)][_0x55998e(0x2c8)][_0x55998e(0x2d2)](_0x3d4eef=>{const _0x5aef36=_0x55998e;if(_0x3d4eef==null)return;const {skeleton:_0x3e6d00}=_0x3d4eef,{scene:_0xbf1c48}=this[_0x5aef36(0x46a)];_0xbf1c48[_0x5aef36(0x2b5)]['subscribeEvent'](a[_0x5aef36(0x355)](_0x52b409=>{const _0x10de1e=_0x5aef36;var _0x1c036a,_0x2f1cb3;const {offsetX:_0x2c7728,offsetY:_0x3cfc13}=_0x52b409,{x:_0x5637e1,y:_0x469931}=_0xbf1c48['getRelativeToViewportCoord'](Y[_0x10de1e(0x438)][_0x10de1e(0x573)]([_0x2c7728,_0x3cfc13])),{scaleX:_0x5f40d8,scaleY:_0x294818}=_0xbf1c48[_0x10de1e(0x65f)](),_0x375e67=_0xbf1c48[_0x10de1e(0x430)](Y[_0x10de1e(0x5c0)][_0x10de1e(0x352)]),_0x5a80e0=_0xbf1c48[_0x10de1e(0x5de)](Y['Vector2'][_0x10de1e(0x573)]([_0x5637e1,_0x469931]),_0x375e67),_0x206c32=_0x3e6d00[_0x10de1e(0x4fc)](_0x2c7728,_0x3cfc13,_0x5f40d8,_0x294818,_0x5a80e0);((_0x1c036a=this[_0x10de1e(0x25b)])==null?void 0x0:_0x1c036a['column'])===_0x206c32['column']&&((_0x2f1cb3=this[_0x10de1e(0x25b)])==null?void 0x0:_0x2f1cb3['row'])===_0x206c32[_0x10de1e(0x4e4)]||this[_0x10de1e(0x643)][_0x10de1e(0x3d7)](_0xf60dad=>{const _0x159a66=_0x10de1e;_0xf60dad[_0x159a66(0x444)](_0x206c32);});},0x64));});}['_updateCollabCursors'](_0x94d6e2,_0x461616){const _0x2c4bb9=_0x361975;var _0x380f07;const _0x9d3d1b=(_0x380f07=this[_0x2c4bb9(0x4d4)][_0x2c4bb9(0x61d)]())==null?void 0x0:_0x380f07[_0x2c4bb9(0x619)];if(!_0x9d3d1b)return;const _0xa6415d=this[_0x2c4bb9(0x37d)]();if(!_0xa6415d)return;this['_cursors']['forEach'](_0x3d5cee=>{const _0x553799=_0x2c4bb9;_0x3d5cee[_0x553799(0x60c)]();});const {scene:_0x40dd90}=_0xa6415d,_0x1d9fd8=Ar(Array[_0x2c4bb9(0x4fb)](_0x461616[_0x2c4bb9(0x3a7)]()))[_0x2c4bb9(0x4ec)](_0xb529a7=>{const _0x5ad188=_0x2c4bb9,{color:_0x125865,range:_0x52d7f4,name:_0x1bddb6,selection:_0x374b9a,sheetID:_0x9f5e15}=_0xb529a7,{startColumn:_0x988544,startRow:_0x1f5ee5,endColumn:_0x27ea9d,endRow:_0x2844e1}=_0x52d7f4,_0x383839=Le['getCoordByCell'](_0x1f5ee5,_0x988544,_0x40dd90,_0x9d3d1b),_0x2aa249=Le[_0x5ad188(0x494)](_0x2844e1,_0x27ea9d,_0x40dd90,_0x9d3d1b),{columnHeaderHeightAndMarginTop:_0x12c73d}=_0x9d3d1b,{startX:_0x1bd96c,startY:_0x1ee485}=_0x383839,{endX:_0x32a50b,endY:_0x4be2e6}=_0x2aa249,_0x3bc18c=_0x32a50b-_0x1bd96c,_0x2653e8=_0x4be2e6-_0x1ee485,_0xb04a6e={'labelPosition':_0x1ee485-_0x12c73d>=xe?'top':_0x5ad188(0x58b),'sheetID':_0x9f5e15,'range':_0x52d7f4,'color':_0x125865,'name':_0x1bddb6,'selection':_0x374b9a,'left':_0x1bd96c,'top':_0x1ee485,'width':_0x3bc18c,'height':_0x2653e8,'evented':!0x1,'zIndex':Nr};return new Mi(_0x1bddb6,_0xb04a6e);});_0x40dd90[_0x2c4bb9(0x340)](_0x1d9fd8,Dr),this[_0x2c4bb9(0x643)]=new Set(_0x1d9fd8);}[_0x361975(0x407)](){const _0xd96315=_0x361975;var _0x4f981a;(_0x4f981a=this['_cursors'])==null||_0x4f981a['forEach'](_0x5b6af2=>_0x5b6af2[_0xd96315(0x2a2)]());}[_0x361975(0x37d)](){const _0x2ccd7f=_0x361975;return Le[_0x2ccd7f(0x30b)](this[_0x2ccd7f(0x46a)][_0x2ccd7f(0x4ef)],this[_0x2ccd7f(0x46a)]);}};Ot=Mr([mt(0x1,a[_0x361975(0x4b5)](Le[_0x361975(0x4b2)])),mt(0x2,a[_0x361975(0x4b5)](ye)),mt(0x3,a[_0x361975(0x4b5)](a[_0x361975(0x46e)]))],Ot);function Ar(_0x1227f0){const _0xb7a0f4=_0x361975,_0x450cdf=new Map();return _0x1227f0['forEach'](_0x54e57f=>{const _0x3b8ff0=_0x3094;if(_0x450cdf[_0x3b8ff0(0x638)](_0x54e57f[_0x3b8ff0(0x311)])){const _0x49b546=_0x450cdf[_0x3b8ff0(0x5e3)](_0x54e57f[_0x3b8ff0(0x311)]);_0x49b546['name']+=',\x20'+_0x54e57f[_0x3b8ff0(0x5a6)];}else _0x450cdf[_0x3b8ff0(0x69a)](_0x54e57f[_0x3b8ff0(0x311)],_0x54e57f);}),Array['from'](_0x450cdf[_0xb7a0f4(0x3a7)]());}var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0xf61666){const _0x39e3cf=_0x361975;return _0xf61666&&_0xf61666[_0x39e3cf(0x47a)]&&Object[_0x39e3cf(0x6ab)]['hasOwnProperty']['call'](_0xf61666,_0x39e3cf(0x5a1))?_0xf61666[_0x39e3cf(0x5a1)]:_0xf61666;}var It={'exports':{}},Ue={},Xt;function Lr(){const _0x3a3948=_0x361975;if(Xt)return Ue;Xt=0x1;var _0xe66239=oe,_0x41dfcd=Symbol[_0x3a3948(0x644)](_0x3a3948(0x53a)),_0x1ebd92=Symbol['for'](_0x3a3948(0x5bc)),_0x39bd82=Object['prototype'][_0x3a3948(0x51f)],_0x335459=_0xe66239[_0x3a3948(0x2bd)][_0x3a3948(0x33f)],_0x433a46={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x164eb3(_0x4917fe,_0x81cb15,_0x52e841){const _0x597d1b=_0x3a3948;var _0x172811,_0x2d3b3e={},_0x4f4b2c=null,_0x456219=null;_0x52e841!==void 0x0&&(_0x4f4b2c=''+_0x52e841),_0x81cb15[_0x597d1b(0x25d)]!==void 0x0&&(_0x4f4b2c=''+_0x81cb15[_0x597d1b(0x25d)]),_0x81cb15[_0x597d1b(0x398)]!==void 0x0&&(_0x456219=_0x81cb15[_0x597d1b(0x398)]);for(_0x172811 in _0x81cb15)_0x39bd82[_0x597d1b(0x489)](_0x81cb15,_0x172811)&&!_0x433a46[_0x597d1b(0x51f)](_0x172811)&&(_0x2d3b3e[_0x172811]=_0x81cb15[_0x172811]);if(_0x4917fe&&_0x4917fe[_0x597d1b(0x4f3)]){for(_0x172811 in(_0x81cb15=_0x4917fe['defaultProps'],_0x81cb15))_0x2d3b3e[_0x172811]===void 0x0&&(_0x2d3b3e[_0x172811]=_0x81cb15[_0x172811]);}return{'$$typeof':_0x41dfcd,'type':_0x4917fe,'key':_0x4f4b2c,'ref':_0x456219,'props':_0x2d3b3e,'_owner':_0x335459[_0x597d1b(0x639)]};}return Ue['Fragment']=_0x1ebd92,Ue[_0x3a3948(0x316)]=_0x164eb3,Ue[_0x3a3948(0x3e2)]=_0x164eb3,Ue;}var Jt;function xr(){const _0x2b440d=_0x361975;return Jt||(Jt=0x1,It[_0x2b440d(0x4dd)]=Lr()),It['exports'];}var me=xr(),Q=function(){const _0x2c6121=_0x361975;return Q=Object[_0x2c6121(0x5cc)]||function(_0xa7523f){const _0x5edbc5=_0x2c6121;for(var _0x3c9112,_0x162ba3=0x1,_0x1edb3d=arguments[_0x5edbc5(0x31c)];_0x162ba3<_0x1edb3d;_0x162ba3++){_0x3c9112=arguments[_0x162ba3];for(var _0x39f7cc in _0x3c9112)Object[_0x5edbc5(0x6ab)][_0x5edbc5(0x51f)][_0x5edbc5(0x489)](_0x3c9112,_0x39f7cc)&&(_0xa7523f[_0x39f7cc]=_0x3c9112[_0x39f7cc]);}return _0xa7523f;},Q[_0x2c6121(0x2f5)](this,arguments);},$r=function(_0x1282eb,_0x329147){const _0x2fe520=_0x361975;var _0x14f535={};for(var _0x22682d in _0x1282eb)Object[_0x2fe520(0x6ab)][_0x2fe520(0x51f)][_0x2fe520(0x489)](_0x1282eb,_0x22682d)&&_0x329147[_0x2fe520(0x354)](_0x22682d)<0x0&&(_0x14f535[_0x22682d]=_0x1282eb[_0x22682d]);if(_0x1282eb!=null&&typeof Object[_0x2fe520(0x393)]==_0x2fe520(0x455)){for(var _0x4bd4eb=0x0,_0x22682d=Object[_0x2fe520(0x393)](_0x1282eb);_0x4bd4eb<_0x22682d[_0x2fe520(0x31c)];_0x4bd4eb++)_0x329147['indexOf'](_0x22682d[_0x4bd4eb])<0x0&&Object[_0x2fe520(0x6ab)][_0x2fe520(0x54a)][_0x2fe520(0x489)](_0x1282eb,_0x22682d[_0x4bd4eb])&&(_0x14f535[_0x22682d[_0x4bd4eb]]=_0x1282eb[_0x22682d[_0x4bd4eb]]);}return _0x14f535;},At=oe['forwardRef'](function(_0x3a0cfa,_0x38805e){const _0x5ea5e5=_0x361975;var _0x46846f=_0x3a0cfa[_0x5ea5e5(0x61b)],_0x477d7a=_0x3a0cfa['id'],_0x28010a=_0x3a0cfa['className'],_0x25d1f3=_0x3a0cfa[_0x5ea5e5(0x56c)],_0x45e646=$r(_0x3a0cfa,[_0x5ea5e5(0x61b),'id',_0x5ea5e5(0x591),_0x5ea5e5(0x56c)]),_0x2ba776='univerjs-icon\x20univerjs-icon-'[_0x5ea5e5(0x2d4)](_0x477d7a,'\x20')[_0x5ea5e5(0x2d4)](_0x28010a||'')[_0x5ea5e5(0x62e)](),_0x39646f=oe[_0x5ea5e5(0x4e0)]('_'['concat'](Br()));return Ni(_0x46846f,''[_0x5ea5e5(0x2d4)](_0x477d7a),{'defIds':_0x46846f[_0x5ea5e5(0x4e1)],'idSuffix':_0x39646f[_0x5ea5e5(0x639)]},Q({'ref':_0x38805e,'className':_0x2ba776},_0x45e646),_0x25d1f3);});function Ni(_0x440e77,_0x1eb599,_0x3a7a8d,_0x2fdbc4,_0x1fbc87){const _0x540912=_0x361975;return oe['createElement'](_0x440e77[_0x540912(0x3eb)],Q(Q({'key':_0x1eb599},jr(_0x440e77,_0x3a7a8d,_0x1fbc87)),_0x2fdbc4),(Hr(_0x440e77,_0x3a7a8d)['children']||[])['map'](function(_0x100d89,_0x156185){const _0x2c816d=_0x540912;return Ni(_0x100d89,''['concat'](_0x1eb599,'-')[_0x2c816d(0x2d4)](_0x440e77[_0x2c816d(0x3eb)],'-')[_0x2c816d(0x2d4)](_0x156185),_0x3a7a8d,void 0x0,_0x1fbc87);}));}function jr(_0x4499b7,_0x20855a,_0x474fcd){const _0x5176b9=_0x361975;var _0x323c45=Q({},_0x4499b7[_0x5176b9(0x50c)]);_0x474fcd!=null&&_0x474fcd[_0x5176b9(0x56e)]&&_0x323c45[_0x5176b9(0x2bc)]===_0x5176b9(0x56e)&&(_0x323c45['fill']=_0x474fcd[_0x5176b9(0x56e)]);var _0x1c0ed1=_0x20855a[_0x5176b9(0x4e1)];return!_0x1c0ed1||_0x1c0ed1[_0x5176b9(0x31c)]===0x0||(_0x4499b7[_0x5176b9(0x3eb)]===_0x5176b9(0x592)&&_0x323c45['xlink:href']&&(_0x323c45[_0x5176b9(0x289)]=_0x323c45[_0x5176b9(0x289)]+_0x20855a['idSuffix']),Object['entries'](_0x323c45)[_0x5176b9(0x3d7)](function(_0x250aba){const _0x596c96=_0x5176b9;var _0x392b07=_0x250aba[0x0],_0x28fe75=_0x250aba[0x1];typeof _0x28fe75==_0x596c96(0x4ce)&&(_0x323c45[_0x392b07]=_0x28fe75[_0x596c96(0x4fd)](/url\(#(.*)\)/,_0x596c96(0x205)[_0x596c96(0x2d4)](_0x20855a[_0x596c96(0x5cf)],')')));})),_0x323c45;}function _0x4507(){const _0x56adad=['IUniverInstanceService','_initStatusComponent','range','session.collaboration-timeout','_beforeCloseService','TEXT','fetchMissingChangesets','_cursors','for','_resendTimeout','_onRemoteACK','CompressMutationService','APPLY_NON_SEQUENTIAL_REVISION','RefRangeService','exhaustSavingTask','moveTo','slice','compute','/universer-api/authz','sheetID','_decreaseWaiting','SHA1','createDecryptor','debug','onSendChangeset','measureText','ImageSourceType','Warning','sessionStatus$','_docSkeleton','drawWith','OpenSSL','StreamCipher','RETRY_CONNECTING_MAX_COUNT','fromCollab','getAncestorScale','[CollaborationUndoRedoService]','url','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_clearRedo','_refreshCollabCursors','createInstance','blockSize','DocStateChangeManagerService','_getAPIPrefix','HEARTBEAT_TIMEOUT_KEY','concatMap','init','getUndoRedoMutationParamsCache','parseProtocolChangeset','baseRev','c2Prime','224852mpVIKZ','getInterceptPoints','_socketMessageSubscription','loginUrlKey','Decryptor','_getAnchorBounding','WebSocketService','registerHTTPInterceptor','COLLAB_WEB_SOCKET_URL_KEY','list','?url=','socketService','createSocket','IDocClipboardService','unshift','ICommandService','duration','_getUndoStack','downloadEndpointUrl','UNIVER_PROJECT','close','max','replaceState','Utf8','CommandType','_socketService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','open$','addObject','[FetchMissState]','ILogService','_acknowledgedAwaitingChangeset','_transitionLocked','memberID','Univer','unitId','handleInsertCol','927696mUVcTT','conflict.content','_keySchedule','LOCAL_CACHE_INTERVAL_KEY','_entityInit$','set','_createSocket','NOT_FOUND','error$','_initStatusListener','ColorKit','_updateStatus','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_remoteChangesetQueue','_commentService','isTransformMutationFailure','collaboration-client.config','FETCH_MISSING','onMissingChangesets','roomInfos','hovered','_doCryptBlock','prototype','_pendingMutations','getTypeOfUnitAdded$','_uiPartsService','getActiveRange','_append','_syncEditingCollabCursorService','CollaborationController','history','onReady','_handleHover','DocSelectionManagerService','onCommandExecuted','with','FileId','_transformService','newValue','6DQpiXe','ICollaborationSocketService','mutations','IUIPartsService','EffectRefRangId','Malformed\x20UTF-8\x20data','SHOULD_CLOSE_CONN','_registerRenderDependencies','ERROR_EXCEED_SIZE','debounceTime','m1Prime','getCollabEntity$','toLowerCase','onPointerLeave$','Tooltip','APPLY_REJECT','_HTTPService','pad','_onConflict','_session','_toggleOffline','HELLO','_getDownloadEndpointURL','219614EOwzQS','div','saveChangeset','handleInsertRangeMoveRight','url(#$1','updateMember','change$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','AuthzIoHttpService','clone','combineLatest','Rect','_backgroundColor','_transformHistoryAndStateStack','_type','@univerjs/docs','wsSessionTicketUrl','_sheetTransformSelectionsService','SetTextSelectionsOperation','_createHelper','COLLAB_SUBMIT_CHANGESET_URL_KEY','socket$','_onUserJoin','collabStatus.fetchMiss','awaitingChangeset','_render','__creator','requireSession','entries','_sessionStatus$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','searchParams','_executeRemoteChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','send','redoState','univer-online-status','_keyPriorReset','_colorAssignService','handleInsertRow','_throwTelemetryCollaborationNewChangeset','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','off-line-single','_updateLocalCursor','generateRandomId','reduce','_unitID','status$','LEAVE','conflict','IUndoRedoService','_anchor','syncEditingCollabCursor','[CollaborationEntity]','_localStorageService','IImageIoService','transformStateCache','crypto','_disabled','actions','takeUntil','translate(.97)','defineProperty','_prevBlock','_cursorInfo$','_updateLocalCache','CollaborationSession','LICENSE_EXPORT_SIZE_EXCEEDED','CollaborationSessionService','_transformRemoteChangesetByStateCache','defs','commentUpdateEvent','/universer-api/snapshot','Could\x20not\x20dynamically\x20require\x20\x22','/rev/','ITransformService','size','restore','_commentUpdate$','_compressMutationService','_createSocketURL','rev','unsubscribe','DEFAULT_FILE_NAME','CollaborationStatusDisplay','pipe','image/png','/universer-api/oidc/authpage','disposeWithMe','DeleteRangeMoveLeftCommandId','_lastPointer','CHANGESET_ACK','key','CollabrationImageIoService','Hasher','DOC_RANGE_TYPE','Module','handleDeleteRangeMoveLeft','_replaceFileID','then','_urlService','top','_undoStacks','PENDING','getConfig','_nDataBytes','MUTATION','ceil','object','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','NOT_COLLAB','HmacSHA1','put','_init','rgba(255,\x20255,\x20255,\x200.01)','_docTransformStateCacheService','DocSkeletonManagerService','catch','add','ALREADY_EXISTS','encode','_permissionService','enableLocalCache','children','_getCurrentRevision','setShowComponents','hide','fillRule','?size=','withCredentials','connection\x20error','registerComponent','UNKNOWN_CMD','_getMergeRange','findNodePositionByCharIndex','confirm','xlink:href','_updateSubUnitFromURLParams','fetching\x20missing\x20changesets\x20from\x20','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_collaborationController','_clearUndo','take','cmd','_onCursorUpdate','words','synced','initWorkbookPermissionChange','_transformStateCache','collabCursorState$','push','m2Prime','_scheduleSaving','_drawAnchor','width','snapshot','deserializeToCombResponse','complete','execute','format','_docSyncEditingCollabCursorService','dispose','listRoles','deepClone','ReplaySubject','_instanceService','_key','_change$','appendMutation','asObservable','auth.needGotoLoginAlert','SessionStatus','mergeOverrideWithDependencies','UniverNetworkPlugin','ONLINE','SnapshotServerOverHTTPService','connectInjector','arc','BuiltInUIPart','online','onPointerMove$','updatePermissionObjEvent','newCsEvent','[OfflineState]:\x20received\x20acknowledgement.','_docStateChangeManagerService','enableOfflineEditing','repeat','fill','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_entities','_onJoinRoomEvent','_rescheduleHeartbeat','_fetchMissChangesets','_syncEditingCollabCursor','salt','YUUMI_RATE_OVER_LIMIT','conflict.title','authzUrl','_socket$','currentSkeleton$','snapshotServerUrl','getImageSourceCache','RevisionService','_incrementRevisionNumber','NO_OTHER_CLIENTS_EDITING','onlineStatusTitle','IContextService','create','docStateChange$','subscribe','univer-pro.collaboration-client.single-active-unit-service','concat','clearInterval','HEARTBEAT_INTERVAL','IMentionIOService','transformStack\x20failed!','toRgbString','JOIN_ROOM_PERMISSION_DENIED','_transformUndoRedoStack','[OfflineState]:\x20received\x20changeset.','uni.network.url-service','black','_transformPreviousActiveRange','COMPLETION_FINISHED','onRendered','cursorInfo','objectActions','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','_onUserLeave','_scheduleClearOtherTimer','red300','_handleJoinEvent','capture','_event$','body','joinEvent','ISnapshotServerService','Disposable','univer-online-status-icon','reverse','clear','@univerjs/design','_userManagerService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','apply','DependentOn','Base64','mapTo','CONNECTOR_DATA_TOO_LARGE','handleDeleteRangeMoveUp','localeService','Injector','closeSession','getLatestCsReqIdBySid','/object/','RECV','TOO_MANY_REQUESTS','forwardRef','Base','FETCH_MISS','_telemetryInfo','collab-text-anchor-','_getRedoStack','override','sid','_textBubble','getSheetObject','1em','collaboratorID','_unitStatus','randomUUID','INTERNAL_ERROR','selection','_localeService','location','IConfigService','msCrypto','jsx','_setupBeforeClosingHandler','touchDependencies','HEARTBEAT','file','_doFinalize','length','_tryReconnect','_parse','engine','storage','M0\x200H16V16H0z','_transformStack','/universer-api/comb','PERSON','[UniverCollaborationClientPlugin]','[CollaborationState]:\x20apply\x20error!','UNIVER_SHEET','charCodeAt','urlChange$','setParam','_configService','/resources','_hash','UniverIcon','rng','_minBufferSize','code','unitID','HEARTBEAT_TIMEOUT','_scheduleHeartbeat','delete','createCollaborator','LocalUndoRedoService','EmptyMutation','_stopTelemetryCollaborationNewChangeset','src','textRanges','updateOfflineData','method','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ReactCurrentOwner','addObjects','/unit/','UNIVER_UNKNOWN','_queuedRemoteChangesets','Tools','parse','editingUnit','fillStyle','getMember','ENSURE_SNAPSHOT_EXECUTION','unpad','_collabCursorState$','iterations','onlineStatusIcon','LocaleService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','HttpExport','_snapshotServerService','VIEW_MAIN','RxDisposable','indexOf','debounce','JOIN_ROOM_NOT_EXISTS','sessionTicket','leaveEvent','socket\x20open.','MD5','getRangePointData','mode','whenReady','collaboration.closeRoom','isEditing','handleIRemoveRow','WorkbookEditablePermission','batchAllowed','sessionStatus','_docSkeletonManagerService','_getCtorByUniverType','CHANGESET_REJ','LICENSE_DISTRO_REJECTED','_awaitingChangeset','_scene','_onConnectionOpen','x-univer-host','_loadDoc','NodePositionConvertToRectRange','_updateCollabCursors','_getSignURL','origin','isTransformMutationsWithChangesetSuccess','0\x200\x2016\x2016','APPLY_REVISION_CONFILICT','getStateCache','getItem','_document','getImage','@univerjs/docs-ui','MentionType','CollaborationStatus','InsertRangeMoveDownCommandId','MergeInterceptorFactory','_getSheetObject','color','post','displayName','_hideTimer','_onMessage','Hex','error','Shape','createIdentifier','SetWorksheetActivateCommand','fromEvent','\x20to\x20','algo','min','...','title','infoRsp','activeSheet$','_getUploadFileURL','COMPRESS_MUTATION_APPLY','BehaviorSubject','getOwnPropertySymbols','_retryCount','eventID','url(#on-line-single_clip0_910_349)','switchMap','ref','roles','UniverCollaborationClientPlugin','fromEventSubject','_colorIndex','purple300','_commandService','refreshPermission','374339jfcgjV','setItem','LICENSE_MAX_UNITS_EXCEEDED','JSONX','responseType','image/jpeg','_notificationService','values','_iKey','WebURLService','CollaborationEvent','_changesetReqId','blue400','_getSaveTimeout','useObservable','action','currentTheme$','font','LOCAL_CACHE_INTERVAL','0\x200\x2017\x2016','interceptor','symbol','_createHandler','deleteCollaborator','_revisionService','_clearOtherTimers','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','getOwnPropertyDescriptor','ivSize','_collaborationPaused','_themeService','addEventListener','useDependency','WordArray','objectID','getSkeleton','objectType','_listenToOnlineEvent','unitId\x20is\x20not\x20found','[CollaborationSessionService]:\x20socket\x20error','\x0aCurrent:\x20','SUCCUSS','@univerjs/engine-render','socket\x20close','PERMISSION_DENIED','dispose$','roomMembers$','_timeoutTimer','session.room-full','CHANGESET_REVISION_CONFILICT','pushState','abs','incrementRevOfUnit','setShapeProps','assignAColorForMemberID','forEach','none','shareReplay','_substituteUndoStack','routeKey','/universer-api/file/{fileID}/sign-url','flatMap','_state','session','InsertSheetMutation','Subject','jsxs','fetch_missing','LIVESHARE_NEW_HOST','putCollaborators','287825xzFehT','/object','resourceIDs','HEADER_MENU','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','tag','getMergeData','NEW_CHANGESETS','JOIN_ROOM_FULL','update','HMAC','clamp','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_doProcessBlock','_draw','CHANGESET_SHOULD_RETRY','cfg','getTime','_startDocCollabCursor','onRemoteAck','serializeRangeWithSheet','onCommentUpdate','triggerDblclick','_onRemoteRetry','_resendTimer','fillText','getUnitStatus$','equals','_applyRemoteChangeset','hasher','session.join-failed','data','includes','_removeCollabCursors','ACTIVE_UNIT_EVENT_CHANNEL','SNAPSHOT_URL_KEY','_listenToOfflineEvent','_createInitialState','_heartbeatTimer','AUTHZ_URL_KEY','onTransformChange$','isTransformMutationsWithChangesetFailure','state','CONFLICT','Rectangle','collaborators','_oKey','@univerjs/network','resize','onMissedChangesetFetched','SheetCollaborationEntity','_clearCollaborationTimeoutTimer','_removeClearOtherTimer','CollaborationEntity','_hasher','_initResize','subscribeEvent','MentionIoHttpService','PSEUDO_FETCH_MISSING_RESULT','_http','UNIVER_SLIDE','NodePositionConvertToCursor','registerBeforeClose','/new_changes','Latin1','svg','MoveRangeCommandId','setUndoRedoMutationParamsCache','Cipher','getFocusedUnit','MessageType','getCollabEntity','YUUMI_URL_COL_OUT_OF_RANGE','gold400','getViewport','Plugin','toStringTag','_socket','text','originalMeta','LocalCacheService','encrypt','Vector2','_updateURLWithCurrentState','copyFileMeta','_refRangeService','setCurrentUser','ImageUploadStatusType','substring','transformSelections','byteOffset','mapDocumentTypeToUniverType','_logService','_telemetryService','onMouseMove','contains','resolve','executeCommand','csShouldRetryEvent','_candidateSocket','toggleOffline','shouldCloseConn','SNAPSHOT_SERVER_URL_KEY','getRandomValues','univer-online-status-title','Error','IDLE','CollaborationSocketService','SYNCED','saveImage','resend','function','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_sendHeartbeatTimer','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','/role','_changesetSessionId','_submitChangeset','keySize','_schedule','_retryConnectingTimer','kdf','enableSingleActiveInstanceLock','BufferedBlockAlgorithm','_onOffline','COLORS','/block/','_initEventListeners','_shapes','IRenderManagerService','_createHmacHelper','_context','_hovered','sendChangesetTimeout','endColumn','ThemeService','onStarting','join','CBC','_getScale','collabStatus.conflict','YUUMI_SUBSCRIPTION_NOT_FOUND','GLOBAL_ROOMS_CNT_EXCEEDS','@univerjs/rpc','message$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getOffsetConfig','__esModule','getSheetBlock','RECT','_clearScheduledTask','UNRECOGNIZED','allowed','addImageSourceCache','UniverInstanceType','COMPRESS_MUTATION_SEND','$super','setActiveRange','popstate','MemberService','_initMergeInterceptor','_roomMembers$','call','visibilityState','/fetchmissing?from=','_onRemoteRejected','reconnect','round','OFFLINE','byteLength','_univerInstanceService','HTTPRequest','collaboration-session-retry','getCoordByCell','_onFetchMissResult','ranges','revision','_ensureSubject','getParam','_waitCount','getSheetBySheetId','LIVESHARE_FETCH_OPERATIONS','fromCharCode','collaboration.single-unit.warning','bind','IMessageService','@univerjs/sheets-ui','_saveCache','onlineStatus','APPLY_PERMISSION_DENIED','LIVESHARE_OPERATION','_getSendChangesetTimeout','MSG_FOR_ERROR','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_collabCursorController','startsWith','startColumn','_localCacheService','BlockCipher','c1Prime','Pkcs7','on-line-single','jiqing500','SheetSkeletonManagerService','_scheduleCollaborationTimeoutTimer','AES','Inject','_loadSheet','DocCollaborationEntity','loadOfflineData','_messageService','__Key__','_handleEvent','_send','_isPermissionRej','beginPath','fetchMiss','b64DecodeUnicode','@univerjs/drawing','HTTPService','save','doc.mutation.rich-text-editing','_docClipboardService','_substituteRedoStack','toggleOnline','setConfig','_transformUndoredo','INVALID_ARGUMENT','sin','transformUndoRedo','_handler','string','transformRemoteChangeset','#fff','_getAPIPrefixPath','collab-text-range-','collabStatus.synced','_sheetSkeletonManagerService','262169detBjc','sigBytes','UNAUTHENTICATED','show','_singleActiveUnitService','enc','onTransformRemoteChangesetByIMECache','_data','exports','_doReset','getAllMembers','useRef','defIds','collab-rect-range-','buffer','row','_collaborationSessionService','InsertRowCommandId','HttpImport','DesktopCollaborationStatusDisplayController','UnitSnapshot','userID','_onConnectionFailed','map','APPLY_DUPLICATED','_disableEditing','unit','filter','toDisposable','distinctUntilChanged','defaultProps','liveShareNewHost','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','off-line-single_clip0_910_343','onSyncEditingCollabCursor','roomMembers','JOINING','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','from','getCellPositionByOffset','replace','SEND_CHANGESET_TIMEOUT_KEY','createEncryptor','&to=','_createInitialStateImpl','react','json','finalize','onlyLocal','lib','OffLineSingle','rxjs/operators','params','[PendingState]:\x20received\x20rejection.','_status$','attrs','[CollaborationSession]','PERMISSION_REJ','[DataLoaderController]','getDocRanges','InsertRangeMoveRightCommandId','_toggleOnline','_resendWithTimeout','next','undoState','transformMutation','@univerjs/ui','[CollaborationSessionService]','_cachedData','mixIn','_setupSubUnitSync','_clearHeartbeatTimer','_cursor','_scheduleTimestamp','hasOwnProperty','transformIMECache','_range','_roomMembers','_eventUnsubscribe','find','delay','members','_memberService','_id','objects','{fileID}','subunit','listCollaborators','_xformMode','event$','@univerjs/engine-formula','onTransformRemoteChangesetByStateCache','_clearLocalCache','_color','_transformIMECache','SheetsSelectionsService','POST','loadDoc','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','DataLoaderController','COMMENT_UPDATE','react.element','_httpService','_docTransformIMECacheService','setStateCache','reqId','IPermissionService','startTime','_drawRectRange','_initDependencies','SheetPermissionInitController','univer-offline','_state$','registerRefRange','_onRecvEvent','_assignedColors','_updateState','propertyIsEnumerable','UPDATE_PERMISSION_OBJ','ERROR_IMAGE','failed\x20to\x20apply\x20missed\x20changesets!','\x20in\x20_schedule.','getSheetId','session.room-cnt-exceeds','splice','_cipher','_drawTextRange','_onLocalMutation','saveOfflineData','_joinRoom','_waitForHeartbeatResponse','_unlockTransition','clipPath','setWaitCount','_onRemoteChangeset','every','setInterval','awaiting','INGEST','onTransformState','Encryptor','state$','image/jpg','selections','runRefRangeMutations','_selfUnitIDs','_getLoginPath','DocIMEInputManagerService','JOIN','offline','_ENC_XFORM_MODE','extend','_startTelemetryCollaborationNewChangeset','colorChannel1','_nRounds','serializeCombRequest','LICENSE_IMPORT_SIZE_EXCEEDED','pluginName','FromArray','AWAITING','[PendingState]:\x20received\x20acknowledgement.','permissionRejEvent','_imageSourceCache','FAIL','getRenderById','univer-pro.collaboration-client-socket-service','UNKNOWN_CODE','Unknown\x20user','/universer-api/snapshot/','_config','_DEC_XFORM_MODE','Optional','LIVESHARE_TERMINATE','random','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','LOGIN_URL_KEY','type','_registerDependencies','_name','onRemoteRej','encodeURIComponent','path','bottom','RegularPolygon','onPointerEnter$','backgroundColor','status','&source=','className','use','_tryEnsureSocket','_renderManagerService','_hover','_transformRemoteChangesetByIMECache','csRejEvent','submit\x20changeset\x20error!','reset','setAlpha','EvpKDF','image/gif','requestParams','setTimeout','getTypeOfUnitDisposed$','lineTo','default','onRemoteChangeset','_undoRedoService','SerializableCipher','ERROR_IMAGE_TYPE','name','_shouldReportTelemetry','UPDATE_CURSOR','stringify','DeleteRangeMoveUpCommandId','SnapshotService','getWorkbookSelections','getSnapshotAPIPath','IAuthzIoService','_sendingTimer','ITelemetryService','sheets','removeParam','endRow','sequenceExecute','3644730LyiniL','DisposableCollection','disposeUnit','getCurrentUser','padding','updatePermissionPoint','LIVESHARE_REQUEST_HOST','react.fragment','signUrlServerUrl','RichTextEditingMutation','saveSheetBlock','SHEET_VIEWPORT_KEY','_collaborationTimeoutTimer','floor','save\x20fail\x20reason\x20is\x20','getActiveSheet','application/json','/allowed','CommentService','/collaborator','visibilitychange','_exhaustRemoteChangesetQueue','transformChangesets','assign','USERS_LEAVE','_unitOnClients','idSuffix','randomBytes','NoPadding','isArray','BASE64','removeMember','_anchorDot','onTransformIME','OnLineSingle','_initCloseConn','SetSelectionsOperation','pending','getUnitId','onTransformSelections','merge','getVpScrollXYInfoByPosToVp','SetDocZoomRatioOperation','_collabSessionService','YUUMI_UNABLE_LOAD_URL','fetchThroughInterceptors','get','_labelPosition','_sessions','_initUnitPermissionChange','_docTransformSelectionsService','_members','target','_clearTimeoutTimer','handleMoveRange','IURLService','UNDEFINED','joinRsp','collab-client.tooltip.reconnect','_reverseMap','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_injector','saveSnapshot','reject','UNIVER_DOC','_sender','deserializeRangeWithSheet','_mode','href','subUnitId','_map','changesets','IBeforeCloseService','getUnitType','[SyncedState]:\x20received\x20rejection.','transformMutationsWithChangeset','_iv','isInternalEditorID','now','isPermissionRej','unknown','subject','decrypt','_replayCachedMutations','_socketReady','_sendHeartbeat','cursorInfo$','makeDirty','processBlock','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_snapshotService','stopTime','onRemoteRetry','session.will-retry','_initRequestHeader','_process','getCurrentRevOfUnit','#FFF','getColor','UnitEmbedded','skeleton','3vVgnhm','icon','getMemberID','getCurrent','_cursorShapes','commentUpdate$','toString','TEXT_RANGE_LAYER_INDEX','[SyncedState]:\x20received\x20acknowledgement.','_onCursorDelete','ciphertext','OTHER_CLIENTS_EDITING','_startSheetCollabCursor','clearTimeout','_checkMissing','Undefined','_online','_redoStacks','evenodd','getValue','trim','/-/object/-/batch_allowed','_lockTransition','collabStatus.syncing','_saveTaskMap','_removeRoom','registerOnClose','session.connection-failed','collabStatus.notCollab','USERS_ENTER','has','current','SUBMIT_CHANGESET','getCollabCursors$'];_0x4507=function(){return _0x56adad;};return _0x4507();}function Hr(_0x3bca50,_0x456ac4){const _0x263797=_0x361975;var _0x29bd2c,_0x4c6a5f=_0x456ac4[_0x263797(0x4e1)];return!_0x4c6a5f||_0x4c6a5f['length']===0x0?_0x3bca50:_0x3bca50[_0x263797(0x3eb)]===_0x263797(0x247)&&(!((_0x29bd2c=_0x3bca50[_0x263797(0x27c)])===null||_0x29bd2c===void 0x0)&&_0x29bd2c[_0x263797(0x31c)])?Q(Q({},_0x3bca50),{'children':_0x3bca50[_0x263797(0x27c)][_0x263797(0x4ec)](function(_0x3f72e7){const _0xb9b320=_0x263797;return typeof _0x3f72e7['attrs']['id']==_0xb9b320(0x4ce)&&_0x4c6a5f&&_0x4c6a5f['indexOf'](_0x3f72e7[_0xb9b320(0x50c)]['id'])>-0x1?Q(Q({},_0x3f72e7),{'attrs':Q(Q({},_0x3f72e7[_0xb9b320(0x50c)]),{'id':_0x3f72e7[_0xb9b320(0x50c)]['id']+_0x456ac4[_0xb9b320(0x5cf)]})}):_0x3f72e7;})}):_0x3bca50;}function Br(){const _0x2c0ecd=_0x361975;return Math['random']()[_0x2c0ecd(0x620)](0x24)[_0x2c0ecd(0x43e)](0x2,0x8);}At[_0x361975(0x380)]=_0x361975(0x32e);var kr={'tag':_0x361975(0x427),'attrs':{'fill':_0x361975(0x3d8),'viewBox':_0x361975(0x372),'width':_0x361975(0x30c),'height':_0x361975(0x30c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x361975(0x58a),'attrs':{'stroke':'currentColor','d':_0x361975(0x3ea),'strokeLinecap':_0x361975(0x48e),'strokeLinejoin':_0x361975(0x48e),'strokeWidth':1.2}}]},{'tag':_0x361975(0x247),'attrs':{},'children':[{'tag':_0x361975(0x559),'attrs':{'id':_0x361975(0x4f6)},'children':[{'tag':_0x361975(0x58a),'attrs':{'fill':_0x361975(0x4d0),'d':_0x361975(0x321)}}]}]}],'defIds':[_0x361975(0x4f6)]},Ai=oe[_0x361975(0x302)](function(_0x4de50d,_0x356fc4){const _0x1fe58d=_0x361975;return oe['createElement'](At,Object[_0x1fe58d(0x5cc)]({},_0x4de50d,{'id':_0x1fe58d(0x22b),'ref':_0x356fc4,'icon':kr}));});Ai[_0x361975(0x380)]=_0x361975(0x507);var Wr={'tag':_0x361975(0x427),'attrs':{'fill':'none','viewBox':_0x361975(0x3b3),'width':_0x361975(0x30c),'height':_0x361975(0x30c)},'children':[{'tag':'g','attrs':{'clipPath':_0x361975(0x396)},'children':[{'tag':_0x361975(0x58a),'attrs':{'stroke':'currentColor','d':_0x361975(0x3ba),'strokeLinecap':_0x361975(0x48e),'strokeLinejoin':_0x361975(0x48e),'strokeWidth':1.2}}]},{'tag':_0x361975(0x247),'attrs':{},'children':[{'tag':_0x361975(0x559),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x361975(0x4d0),'d':_0x361975(0x321),'transform':_0x361975(0x23e)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Li=oe['forwardRef'](function(_0x2be4ba,_0x5f5812){const _0x2ee170=_0x361975;return oe['createElement'](At,Object[_0x2ee170(0x5cc)]({},_0x2be4ba,{'id':_0x2ee170(0x4b0),'ref':_0x5f5812,'icon':Wr}));});Li[_0x361975(0x380)]=_0x361975(0x5d7);function xi(_0x44235b){const _0x249ebd=_0x361975;var _0x16d6fc,_0x365500,_0xbcb8d3='';if(typeof _0x44235b=='string'||typeof _0x44235b=='number')_0xbcb8d3+=_0x44235b;else{if(typeof _0x44235b==_0x249ebd(0x26d)){if(Array[_0x249ebd(0x5d2)](_0x44235b)){var _0x284507=_0x44235b['length'];for(_0x16d6fc=0x0;_0x16d6fc<_0x284507;_0x16d6fc++)_0x44235b[_0x16d6fc]&&(_0x365500=xi(_0x44235b[_0x16d6fc]))&&(_0xbcb8d3&&(_0xbcb8d3+='\x20'),_0xbcb8d3+=_0x365500);}else{for(_0x365500 in _0x44235b)_0x44235b[_0x365500]&&(_0xbcb8d3&&(_0xbcb8d3+='\x20'),_0xbcb8d3+=_0x365500);}}}return _0xbcb8d3;}function Fr(){for(var _0x471cd6,_0x3d63e0,_0xb085ca=0x0,_0x1e6461='',_0x10d391=arguments['length'];_0xb085ca<_0x10d391;_0xb085ca++)(_0x471cd6=arguments[_0xb085ca])&&(_0x3d63e0=xi(_0x471cd6))&&(_0x1e6461&&(_0x1e6461+='\x20'),_0x1e6461+=_0x3d63e0);return _0x1e6461;}const Vr=_0x361975(0x2ef),Gr=_0x361975(0x44e),Yr=_0x361975(0x225),qr='univer-online',Kr=_0x361975(0x544),Me={'onlineStatusIcon':Vr,'onlineStatusTitle':Gr,'onlineStatus':Yr,'online':qr,'offline':Kr};function zr(_0x2839b6){const _0x3435c0=_0x361975;switch(_0x2839b6){case K['OFFLINE']:return'collabStatus.offline';case K['CONFLICT']:return _0x3435c0(0x473);case K['FETCH_MISS']:return _0x3435c0(0x218);case K[_0x3435c0(0x26f)]:return _0x3435c0(0x636);case K[_0x3435c0(0x574)]:case K['AWAITING_WITH_PENDING']:return _0x3435c0(0x631);case K[_0x3435c0(0x452)]:case K[_0x3435c0(0x268)]:return _0x3435c0(0x4d3);}}function $i(_0x570431){const _0x924e93=_0x361975,{status$:_0x4ca739}=_0x570431,_0x2e6f53=ee[_0x924e93(0x3ae)](_0x4ca739,K[_0x924e93(0x26f)]),_0x5d63b8=a['useDependency'](a[_0x924e93(0x34e)]),_0x55882f=a[_0x924e93(0x3c0)](exports[_0x924e93(0x245)]),_0xa325b9=_0x2e6f53!==K[_0x924e93(0x48f)],_0x2cb688=_0x5d63b8['t'](zr(_0x2e6f53)),_0x4b79de=Fr(Me[_0x924e93(0x4a3)],{[Me[_0x924e93(0x2b4)]]:_0xa325b9,[Me[_0x924e93(0x56a)]]:!_0xa325b9}),_0x2ea10=_0xa325b9?me[_0x924e93(0x316)](Li,{}):me[_0x924e93(0x316)](Ai,{}),_0x2bceab=oe['useCallback'](()=>{const _0x5b2002=_0x924e93;_0xa325b9||_0x55882f[_0x5b2002(0x48d)]();},[_0xa325b9,_0x55882f]);function _0x54e95c(){const _0x284255=_0x924e93;return me[_0x284255(0x3e2)](_0x284255(0x202),{'className':_0x4b79de,'onClick':_0x2bceab,'children':[me[_0x284255(0x316)](_0x284255(0x202),{'className':Me[_0x284255(0x34d)],'children':_0x2ea10}),me[_0x284255(0x316)](_0x284255(0x202),{'className':Me[_0x284255(0x2ce)],'children':_0x2cb688})]});}return _0xa325b9?_0x54e95c():me[_0x924e93(0x316)](Ce[_0x924e93(0x1f8)],{'title':_0x5d63b8['t'](_0x924e93(0x5ef)),'children':_0x54e95c()});}var Xr=Object[_0x361975(0x23f)],Jr=Object[_0x361975(0x3bb)],Zr=(_0x540c50,_0x1f31aa,_0x1d6e63,_0x3e0fa2)=>{const _0x42e992=_0x361975;for(var _0xf9f917=_0x3e0fa2>0x1?void 0x0:_0x3e0fa2?Jr(_0x1f31aa,_0x1d6e63):_0x1f31aa,_0x5bcb83=_0x540c50[_0x42e992(0x31c)]-0x1,_0x5203d7;_0x5bcb83>=0x0;_0x5bcb83--)(_0x5203d7=_0x540c50[_0x5bcb83])&&(_0xf9f917=(_0x3e0fa2?_0x5203d7(_0x1f31aa,_0x1d6e63,_0xf9f917):_0x5203d7(_0xf9f917))||_0xf9f917);return _0x3e0fa2&&_0xf9f917&&Xr(_0x1f31aa,_0x1d6e63,_0xf9f917),_0xf9f917;},He=(_0x1a7aaa,_0x3fda06)=>(_0x48d0ef,_0x4e9d17)=>_0x3fda06(_0x48d0ef,_0x4e9d17,_0x1a7aaa);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x361975(0x2ee)]{constructor(_0x2e6d7b,_0x5d5ada,_0x42b357,_0x31d3e6){const _0x52ee6e=_0x361975;super(),I(this,_0x52ee6e(0x50b),new N[(_0x52ee6e(0x392))](K[_0x52ee6e(0x26f)])),(this[_0x52ee6e(0x491)]=_0x2e6d7b,this['_uiPartsService']=_0x5d5ada,this[_0x52ee6e(0x5f2)]=_0x42b357,this[_0x52ee6e(0x28d)]=_0x31d3e6,this[_0x52ee6e(0x63d)](),this[_0x52ee6e(0x69e)]());}[_0x361975(0x69e)](){const _0x422ed9=_0x361975;this[_0x422ed9(0x259)](this[_0x422ed9(0x491)]['focused$']['pipe'](N[_0x422ed9(0x397)](()=>{const _0x7f3d7e=_0x422ed9,_0x5519cb=this[_0x7f3d7e(0x491)]['getFocusedUnit']();return _0x5519cb?this[_0x7f3d7e(0x28d)][_0x7f3d7e(0x1f5)](_0x5519cb['getUnitId']()):N['of'](null);}),N[_0x422ed9(0x397)](_0x31578a=>_0x31578a?_0x31578a[_0x422ed9(0x230)]:N['of'](K[_0x422ed9(0x26f)])))[_0x422ed9(0x2d2)](_0x1e1256=>{const _0x2fdc32=_0x422ed9;this[_0x2fdc32(0x50b)][_0x2fdc32(0x514)](_0x1e1256);}));}[_0x361975(0x63d)](){const _0x40aa90=_0x361975;this[_0x40aa90(0x259)](this[_0x40aa90(0x6ae)][_0x40aa90(0x284)](ee[_0x40aa90(0x2b3)][_0x40aa90(0x3e9)],()=>a[_0x40aa90(0x2b1)](Qr({'status$':this[_0x40aa90(0x50b)][_0x40aa90(0x2aa)]()}),this[_0x40aa90(0x5f2)])));}},exports[_0x361975(0x4e8)]=Zr([He(0x0,a[_0x361975(0x63c)]),He(0x1,ee[_0x361975(0x1ed)]),He(0x2,a[_0x361975(0x4b5)](a['Injector'])),He(0x3,a[_0x361975(0x4b5)](exports['CollaborationController']))],exports[_0x361975(0x4e8)]);function Qr(_0x2af52e){const {status$:_0x5f51ec}=_0x2af52e;return function(){const _0x2f7217=_0x3094;return me[_0x2f7217(0x316)]($i,{'status$':_0x5f51ec});};}const Lt=a['createIdentifier'](_0x361975(0x2dd));var es=Object[_0x361975(0x23f)],ts=Object[_0x361975(0x3bb)],is=(_0x1e08ab,_0x69136,_0x34baa1,_0x31bddb)=>{const _0x31f441=_0x361975;for(var _0x3b4809=_0x31bddb>0x1?void 0x0:_0x31bddb?ts(_0x69136,_0x34baa1):_0x69136,_0x192edd=_0x1e08ab[_0x31f441(0x31c)]-0x1,_0x422397;_0x192edd>=0x0;_0x192edd--)(_0x422397=_0x1e08ab[_0x192edd])&&(_0x3b4809=(_0x31bddb?_0x422397(_0x69136,_0x34baa1,_0x3b4809):_0x422397(_0x3b4809))||_0x3b4809);return _0x31bddb&&_0x3b4809&&es(_0x69136,_0x34baa1,_0x3b4809),_0x3b4809;},Re=(_0x21a9c2,_0x45961f)=>(_0x56af29,_0x3f0a16)=>_0x45961f(_0x56af29,_0x3f0a16,_0x21a9c2);exports[_0x361975(0x538)]=class extends a[_0x361975(0x353)]{constructor(_0x3006e5,_0x2ffa0c,_0x1019a0,_0xcb682d,_0x425dae,_0x2fcbbb){const _0x37a679=_0x361975;super(),this[_0x37a679(0x265)]=_0x3006e5,this['_logService']=_0x2ffa0c,this[_0x37a679(0x39e)]=_0x1019a0,this['_localCacheService']=_0xcb682d,this[_0x37a679(0x60f)]=_0x425dae,_0x2fcbbb?_0x2fcbbb==null||_0x2fcbbb[_0x37a679(0x35d)]()[_0x37a679(0x264)](()=>this[_0x37a679(0x272)]()):(this[_0x37a679(0x442)][_0x37a679(0x653)]('[DataLoaderController]',_0x37a679(0x457)),this['_init']());}async[_0x361975(0x272)](){const _0x1c2f67=_0x361975,_0x4da6d0=this['_urlService']['getParam'](_0x1c2f67(0x4ef)),_0x31b6a5=this['_urlService'][_0x1c2f67(0x499)](_0x1c2f67(0x585));if(!_0x4da6d0||!_0x31b6a5){this[_0x1c2f67(0x442)][_0x1c2f67(0x653)](_0x1c2f67(0x50f),_0x1c2f67(0x26e));return;}switch(Number(_0x31b6a5)){case ie[_0x1c2f67(0x327)]:{const _0x3e9bfc=await this['_loadSheet'](_0x4da6d0);this[_0x1c2f67(0x51b)](_0x3e9bfc);break;}case ie['UNIVER_DOC']:{await this[_0x1c2f67(0x36c)](_0x4da6d0);break;}default:{this[_0x1c2f67(0x442)][_0x1c2f67(0x384)](_0x1c2f67(0x50f),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x361975(0x51b)](_0x132c04){const _0x5d226e=_0x361975;await this[_0x5d226e(0x28a)](_0x132c04),_0x132c04[_0x5d226e(0x38f)][_0x5d226e(0x256)](N[_0x5d226e(0x23d)](this[_0x5d226e(0x3cd)]))['subscribe'](_0x26e7e3=>{const _0x139efe=_0x5d226e;_0x26e7e3&&this[_0x139efe(0x439)](_0x26e7e3);}),this[_0x5d226e(0x265)][_0x5d226e(0x329)][_0x5d226e(0x256)](N['takeUntil'](this[_0x5d226e(0x3cd)]))[_0x5d226e(0x2d2)](()=>this[_0x5d226e(0x28a)](_0x132c04));}[_0x361975(0x439)](_0x129cbf,_0x58065b=!0x1){const _0xcc4b60=_0x361975,_0x14df6f=this[_0xcc4b60(0x265)][_0xcc4b60(0x499)]('subunit');_0x129cbf[_0xcc4b60(0x54f)]()!==_0x14df6f&&this[_0xcc4b60(0x265)][_0xcc4b60(0x32a)](_0xcc4b60(0x52b),_0x129cbf[_0xcc4b60(0x54f)](),_0x58065b);}async['_updateSubUnitFromURLParams'](_0x149a65){const _0x48625b=_0x361975;var _0x14f0d8;const _0x511605=this['_urlService']['getParam'](_0x48625b(0x52b));if(!_0x511605||!_0x149a65[_0x48625b(0x49b)](_0x511605)){const _0xad8c72=_0x149a65['getUnhiddenWorksheets']()[0x0],_0x31e045=_0x149a65[_0x48625b(0x49b)](_0xad8c72);if(!_0x31e045)return;this[_0x48625b(0x439)](_0x31e045,!0x0),await this[_0x48625b(0x39e)]['executeCommand'](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x149a65[_0x48625b(0x5db)](),'subUnitId':_0xad8c72});return;}((_0x14f0d8=_0x149a65['getActiveSheet']())==null?void 0x0:_0x14f0d8[_0x48625b(0x54f)]())!==_0x511605&&await this[_0x48625b(0x39e)][_0x48625b(0x447)](k[_0x48625b(0x387)]['id'],{'unitId':_0x149a65[_0x48625b(0x5db)](),'subUnitId':_0x511605});}async[_0x361975(0x4b6)](_0x5ce3e2){const _0x4db1aa=_0x361975;let _0x6ca244=0x0;const _0x4cd046=await this[_0x4db1aa(0x4ac)][_0x4db1aa(0x4b8)](_0x5ce3e2);return _0x4cd046&&(_0x4cd046[_0x4db1aa(0x219)]||_0x4cd046['mutations'][_0x4db1aa(0x31c)]!==0x0)&&(_0x6ca244=_0x4cd046['rev']),_0x6ca244===0x0&&this[_0x4db1aa(0x442)][_0x4db1aa(0x653)]('[DataLoaderController]',_0x4db1aa(0x68a)),this[_0x4db1aa(0x60f)]['loadSheet'](_0x5ce3e2,_0x6ca244);}async[_0x361975(0x36c)](_0x528ecd){const _0x32721b=_0x361975;let _0xdf162d=0x0;const _0xc5d642=await this[_0x32721b(0x4ac)]['loadOfflineData'](_0x528ecd);return _0xc5d642&&(_0xc5d642[_0x32721b(0x219)]||_0xc5d642[_0x32721b(0x1ec)]['length']!==0x0)&&(_0xdf162d=_0xc5d642[_0x32721b(0x252)]),_0xdf162d===0x0&&this['_logService']['debug'](_0x32721b(0x50f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x32721b(0x60f)][_0x32721b(0x536)](_0x528ecd,_0xdf162d);}},exports[_0x361975(0x538)]=is([Re(0x0,Lt),Re(0x1,a[_0x361975(0x68e)]),Re(0x2,a[_0x361975(0x67f)]),Re(0x3,a[_0x361975(0x4b5)](exports[_0x361975(0x436)])),Re(0x4,a[_0x361975(0x4b5)](m[_0x361975(0x5ab)])),Re(0x5,a[_0x361975(0x580)](Yi['IRemoteInstanceService']))],exports[_0x361975(0x538)]);var ns=Object[_0x361975(0x23f)],rs=Object[_0x361975(0x3bb)],ss=(_0x4eee6a,_0x468538,_0x1f64d1,_0x37d399)=>{const _0x13619c=_0x361975;for(var _0x19ac76=_0x37d399>0x1?void 0x0:_0x37d399?rs(_0x468538,_0x1f64d1):_0x468538,_0xd8c0be=_0x4eee6a[_0x13619c(0x31c)]-0x1,_0xa1c6cb;_0xd8c0be>=0x0;_0xd8c0be--)(_0xa1c6cb=_0x4eee6a[_0xd8c0be])&&(_0x19ac76=(_0x37d399?_0xa1c6cb(_0x468538,_0x1f64d1,_0x19ac76):_0xa1c6cb(_0x19ac76))||_0x19ac76);return _0x37d399&&_0x19ac76&&ns(_0x468538,_0x1f64d1,_0x19ac76),_0x19ac76;},Zt=(_0x4cabcb,_0xd0638b)=>(_0x50faf9,_0x4df87a)=>_0xd0638b(_0x50faf9,_0x4df87a,_0x4cabcb);const os=_0x361975(0x254),as=_0x361975(0x692);let nt=class extends a['Disposable']{constructor(_0x217f53,_0x5e568e){const _0xb912b=_0x361975;super(),this['_univerInstanceService']=_0x217f53,this[_0xb912b(0x32b)]=_0x5e568e,this[_0xb912b(0x272)]();}[_0x361975(0x272)](){const _0xae7b56=_0x361975;this[_0xae7b56(0x259)](this['_univerInstanceService']['focused$'][_0xae7b56(0x2d2)](()=>{const _0x431334=_0xae7b56;var _0x38189c;const _0x1cd3d3=this['_univerInstanceService'][_0x431334(0x42b)]();let _0x1a97bf=(_0x38189c=this['_configService']['getConfig'](os))!=null?_0x38189c:as;_0x1cd3d3 instanceof a['Workbook']&&(_0x1a97bf=_0x1cd3d3[_0x431334(0x5a6)]),document[_0x431334(0x38d)]=_0x1a97bf;}));}};nt=ss([Zt(0x0,a[_0x361975(0x63c)]),Zt(0x1,a[_0x361975(0x314)])],nt);var cs=Object[_0x361975(0x23f)],ls=Object['getOwnPropertyDescriptor'],hs=(_0x31ee95,_0x15d3cd,_0xdc05df,_0x5c4e66)=>{for(var _0x2d2b62=_0x5c4e66>0x1?void 0x0:_0x5c4e66?ls(_0x15d3cd,_0xdc05df):_0x15d3cd,_0x81bf5=_0x31ee95['length']-0x1,_0x1ba525;_0x81bf5>=0x0;_0x81bf5--)(_0x1ba525=_0x31ee95[_0x81bf5])&&(_0x2d2b62=(_0x5c4e66?_0x1ba525(_0x15d3cd,_0xdc05df,_0x2d2b62):_0x1ba525(_0x2d2b62))||_0x2d2b62);return _0x5c4e66&&_0x2d2b62&&cs(_0x15d3cd,_0xdc05df,_0x2d2b62),_0x2d2b62;},Ct=(_0x41a0f6,_0x5d9958)=>(_0xd9f912,_0x3d0673)=>_0x5d9958(_0xd9f912,_0x3d0673,_0x41a0f6);let rt=class{constructor(_0x285fe1,_0x122f2d,_0x1a81ce){const _0x1042ab=_0x361975;this[_0x1042ab(0x32b)]=_0x285fe1,this['_httpService']=_0x122f2d,this[_0x1042ab(0x2fb)]=_0x1a81ce,this[_0x1042ab(0x66b)]();}[_0x361975(0x66b)](){const _0x4e0a3f=_0x361975;this[_0x4e0a3f(0x53b)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x17645e,_0x5629bb)=>_0x5629bb(_0x17645e)[_0x4e0a3f(0x256)](N[_0x4e0a3f(0x66a)](async _0x1e15b2=>{const _0x1af3d1=_0x4e0a3f,_0x3e5e15=_0x1e15b2;if(_0x3e5e15[_0x1af3d1(0x58f)]===0x191&&window[_0x1af3d1(0x288)](this[_0x1af3d1(0x2fb)]['t'](_0x1af3d1(0x2ab)))){const _0x2765c0=window[_0x1af3d1(0x589)](window[_0x1af3d1(0x313)][_0x1af3d1(0x5f9)]);window[_0x1af3d1(0x313)][_0x1af3d1(0x5f9)]=this[_0x1af3d1(0x567)]()+_0x1af3d1(0x67a)+_0x2765c0;}return _0x3e5e15;}))});}[_0x361975(0x567)](){const _0x3d32cc=_0x361975;var _0x704da6,_0x31217b;const _0x46f60d=this[_0x3d32cc(0x32b)][_0x3d32cc(0x269)](Ei),_0x344f4e=this[_0x3d32cc(0x32b)]['getConfig'](Z);return(_0x31217b=(_0x704da6=_0x344f4e==null?void 0x0:_0x344f4e[_0x3d32cc(0x673)])!=null?_0x704da6:_0x46f60d)!=null?_0x31217b:rn;}};rt=hs([Ct(0x0,a[_0x361975(0x314)]),Ct(0x1,a[_0x361975(0x4b5)](z[_0x361975(0x4c2)])),Ct(0x2,a[_0x361975(0x4b5)](a[_0x361975(0x34e)]))],rt);var _s=Object[_0x361975(0x23f)],us=Object['getOwnPropertyDescriptor'],ds=(_0x43243c,_0x29250a,_0x4b6d76,_0xdf6819)=>{const _0x26d518=_0x361975;for(var _0x4f344c=_0xdf6819>0x1?void 0x0:_0xdf6819?us(_0x29250a,_0x4b6d76):_0x29250a,_0x4860e6=_0x43243c[_0x26d518(0x31c)]-0x1,_0x2b5b29;_0x4860e6>=0x0;_0x4860e6--)(_0x2b5b29=_0x43243c[_0x4860e6])&&(_0x4f344c=(_0xdf6819?_0x2b5b29(_0x29250a,_0x4b6d76,_0x4f344c):_0x2b5b29(_0x4f344c))||_0x4f344c);return _0xdf6819&&_0x4f344c&&_s(_0x29250a,_0x4b6d76,_0x4f344c),_0x4f344c;},Qt=(_0x49ba9d,_0x5cff60)=>(_0x2993e5,_0x496f52)=>_0x5cff60(_0x2993e5,_0x496f52,_0x49ba9d);const xt=_0x361975(0x40d),fs=_0x361975(0x64e);exports[_0x361975(0x209)]=class extends a['Disposable']{constructor(_0x4a8442,_0x67a21b){const _0x25951c=_0x361975;super(),this[_0x25951c(0x1fa)]=_0x4a8442,this[_0x25951c(0x32b)]=_0x67a21b,this[_0x25951c(0x487)]();}[_0x361975(0x487)](){const _0x34bc4d=_0x361975,_0x2fc2a1=this;this['disposeWithMe'](this[_0x34bc4d(0x1fa)][_0x34bc4d(0x677)]({'priority':0x3e7,'interceptor':z[_0x34bc4d(0x37c)]({'isMatch'(_0x358b08){const _0x56def0=_0x34bc4d;var _0x3e66eb;if(_0x358b08[_0x56def0(0x33d)]===_0x56def0(0x535)&&((_0x3e66eb=_0x358b08[_0x56def0(0x59d)])!=null&&_0x3e66eb['body'])){const {objectID:_0x1532b2,objectType:_0x4b6ea0}=_0x358b08['requestParams'][_0x56def0(0x2eb)]||{};if(!_0x1532b2||_0x4b6ea0===void 0x0)return!0x1;const _0x369516=_0x2fc2a1[_0x56def0(0x4d1)]()+'/'+_0x4b6ea0+'/object/'+_0x1532b2+_0x56def0(0x5c6);if(_0x358b08[_0x56def0(0x661)]===_0x369516)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5df752){const _0x36263b=_0x34bc4d;var _0x155223;return(_0x155223=_0x5df752[_0x36263b(0x59d)])==null?void 0x0:_0x155223[_0x36263b(0x2eb)];},'mergeParamsToRequest'(_0xc4680e,_0x15524e){const _0x3dccb6=_0x34bc4d,_0x199aad=_0x2fc2a1[_0x3dccb6(0x4d1)]()+_0x3dccb6(0x62f),_0x3f7b40=_0xc4680e[_0x3dccb6(0x22e)]((_0x469def,_0x3ea73a)=>{const _0xba0746=_0x3dccb6,{unitID:_0x580d38,objectID:_0x12f499,objectType:_0x1bc97f,actions:_0x2d5dbb}=_0x3ea73a;return _0x469def[_0x580d38]||(_0x469def[_0x580d38]={}),_0x469def[_0x580d38][_0x12f499]||(_0x469def[_0x580d38][_0x12f499]={'objectID':_0x12f499,'objectType':_0x1bc97f,'actions':[]}),_0x469def[_0x580d38][_0x12f499]['actions'][_0xba0746(0x297)](..._0x2d5dbb),_0x469def;},{}),_0x1d7261=[];for(const _0x253f8c in _0x3f7b40)for(const _0x418dca in _0x3f7b40[_0x253f8c]){const {actions:_0x4e2ad0,objectType:_0x4e6926}=_0x3f7b40[_0x253f8c][_0x418dca],_0x548fac=[...new Set(_0x4e2ad0)];_0x1d7261['push']({'unitID':_0x253f8c,'objectID':_0x418dca,'objectType':_0x4e6926,'actions':_0x548fac});}return new z[(_0x3dccb6(0x492))]('POST',_0x199aad,{'headers':_0x15524e['headers'],'withCredentials':_0x15524e[_0x3dccb6(0x282)],'responseType':_0x15524e[_0x3dccb6(0x3a4)],'body':{'requests':_0x1d7261}});}},{'distributeResult'(_0x5dc5e8,_0x329fac){const {objectActions:_0x3c5b00}=_0x5dc5e8;return _0x329fac['map'](_0x157530=>{const _0x47e284=_0x3094,{unitID:_0x22fb68,objectID:_0x21f9eb,actions:_0xb5191e}=_0x157530,_0x383af0=_0x3c5b00[_0x47e284(0x524)](_0x48ca42=>_0x48ca42[_0x47e284(0x332)]===_0x22fb68&&_0x48ca42[_0x47e284(0x3c2)]===_0x21f9eb),_0xfdb619=_0xb5191e[_0x47e284(0x4ec)](_0x1a6779=>_0x383af0==null?void 0x0:_0x383af0[_0x47e284(0x23c)]['find'](_0x21aa1e=>_0x21aa1e[_0x47e284(0x3af)]===_0x1a6779))[_0x47e284(0x4f0)](_0x567c12=>!!_0x567c12);return{'config':_0x157530,'result':{'actions':_0xfdb619,'error':_0x5dc5e8[_0x47e284(0x384)]}};});}})}));}[_0x361975(0x4d1)](){const _0x131ba1=_0x361975;var _0x562dd9,_0x527326;const _0x244df4=this['_configService'][_0x131ba1(0x269)](xt),_0x4c2fde=this[_0x131ba1(0x32b)]['getConfig'](Z);return(_0x527326=(_0x562dd9=_0x4c2fde==null?void 0x0:_0x4c2fde[_0x131ba1(0x2c6)])!=null?_0x562dd9:_0x244df4)!=null?_0x527326:fs;}async[_0x361975(0x2d0)](_0x1190b0){const _0x2ba506=_0x361975,_0x1c8978=this[_0x2ba506(0x4d1)]()+'/'+_0x1190b0[_0x2ba506(0x3c4)]+_0x2ba506(0x3e7);return(await this[_0x2ba506(0x1fa)][_0x2ba506(0x37f)](_0x1c8978,{'body':_0x1190b0}))['body'][_0x2ba506(0x3c2)]||'';}async['list'](_0x25dcb0){const _0x34c7c2=_0x361975,_0x52d6cb=this['_getAPIPrefixPath']()+'/-/object/list';return(await this['_HTTPService'][_0x34c7c2(0x37f)](_0x52d6cb,{'body':_0x25dcb0}))[_0x34c7c2(0x2eb)][_0x34c7c2(0x529)];}async['update'](_0x2403fa){const _0x53d697=_0x361975,_0x286300=this[_0x53d697(0x4d1)]()+'/'+_0x2403fa[_0x53d697(0x3c4)]+'/object/'+_0x2403fa[_0x53d697(0x3c2)];await this[_0x53d697(0x1fa)]['put'](_0x286300,{'body':_0x2403fa});}async[_0x361975(0x47f)](_0xb6a10c){const _0x428cca=_0x361975,_0x2a0359=this[_0x428cca(0x4d1)]()+'/'+_0xb6a10c[_0x428cca(0x3c4)]+_0x428cca(0x2ff)+_0xb6a10c[_0x428cca(0x3c2)]+_0x428cca(0x5c6);return(await this[_0x428cca(0x1fa)][_0x428cca(0x37f)](_0x2a0359,{'body':_0xb6a10c}))['body'][_0x428cca(0x23c)];}async[_0x361975(0x362)](_0x143371){const _0x3dc7a9=_0x361975,_0x2719ec=this[_0x3dc7a9(0x4d1)]()+_0x3dc7a9(0x62f);return(await this[_0x3dc7a9(0x1fa)]['post'](_0x2719ec,{'body':{'requests':_0x143371}}))[_0x3dc7a9(0x2eb)][_0x3dc7a9(0x2e3)];}async[_0x361975(0x2a3)](_0x5a0234){const _0x52670e=_0x361975,_0x5a8ef7=this[_0x52670e(0x4d1)]()+'/'+_0x5a0234[_0x52670e(0x3c4)]+_0x52670e(0x45a),_0x2fdd19=await this[_0x52670e(0x1fa)][_0x52670e(0x37f)](_0x5a8ef7,{'body':_0x5a0234});return{'roles':_0x2fdd19[_0x52670e(0x2eb)][_0x52670e(0x399)],'actions':_0x2fdd19[_0x52670e(0x2eb)][_0x52670e(0x23c)]};}async[_0x361975(0x3b7)](_0x5f17d3){const _0x15fd7a=_0x361975,_0x5e97a6=this[_0x15fd7a(0x4d1)]()+'/collaborator';await this[_0x15fd7a(0x1fa)][_0x15fd7a(0x335)](_0x5e97a6,{'params':{'collaboratorID':_0x5f17d3[_0x15fd7a(0x30d)],'objectID':_0x5f17d3[_0x15fd7a(0x3c2)],'unitID':_0x5f17d3['unitID']}});}async['updateCollaborator'](_0x5d3b6d){const _0x2caac6=_0x361975,_0x4bca96=this['_getAPIPrefixPath']()+_0x2caac6(0x5c8);await this['_HTTPService']['patch'](_0x4bca96,{'body':_0x5d3b6d});}async[_0x361975(0x336)](_0x138070){const _0x14b8be=_0x361975,_0x116084=this[_0x14b8be(0x4d1)]()+_0x14b8be(0x5c8);await this[_0x14b8be(0x1fa)][_0x14b8be(0x37f)](_0x116084,{'body':_0x138070});}async[_0x361975(0x52c)](_0x2840b7){const _0x4d656e=_0x361975,_0x1c96fb=this[_0x4d656e(0x4d1)]()+_0x4d656e(0x5c8);return(await this['_HTTPService']['get'](_0x1c96fb,{'params':{'objectID':_0x2840b7[_0x4d656e(0x3c2)],'unitID':_0x2840b7['unitID']}}))['body'][_0x4d656e(0x413)];}async[_0x361975(0x3e5)](_0x355be3){const _0x36252b=_0x361975,_0xd49eaf=this[_0x36252b(0x4d1)]()+'/collaborator';await this[_0x36252b(0x1fa)][_0x36252b(0x271)](_0xd49eaf,{'body':_0x355be3});}},exports[_0x361975(0x209)]=ds([Qt(0x0,a[_0x361975(0x4b5)](z[_0x361975(0x4c2)])),Qt(0x1,a[_0x361975(0x4b5)](a[_0x361975(0x314)]))],exports[_0x361975(0x209)]);var ke={'exports':{}};function vs(_0x3ba9c9){const _0xe152c8=_0x361975;throw new Error(_0xe152c8(0x24a)+_0x3ba9c9+_0xe152c8(0x28c));}var We={'exports':{}},Ss=We[_0x361975(0x4dd)],ei;function se(){const _0x24956f=_0x361975;return ei||(ei=0x1,function(_0x1f1f32,_0x567da6){(function(_0x407c86,_0xbef7c2){const _0xb936af=_0x3094;_0x1f1f32[_0xb936af(0x4dd)]=_0xbef7c2();}(Ss,function(){var _0x465762=_0x465762||function(_0x831c9c,_0x4b18cf){const _0x576ef9=_0x3094;var _0x5c2199;if(typeof window<'u'&&window[_0x576ef9(0x23a)]&&(_0x5c2199=window[_0x576ef9(0x23a)]),typeof self<'u'&&self[_0x576ef9(0x23a)]&&(_0x5c2199=self[_0x576ef9(0x23a)]),typeof globalThis<'u'&&globalThis[_0x576ef9(0x23a)]&&(_0x5c2199=globalThis[_0x576ef9(0x23a)]),!_0x5c2199&&typeof window<'u'&&window[_0x576ef9(0x315)]&&(_0x5c2199=window[_0x576ef9(0x315)]),!_0x5c2199&&typeof gt<'u'&>[_0x576ef9(0x23a)]&&(_0x5c2199=gt[_0x576ef9(0x23a)]),!_0x5c2199&&typeof vs==_0x576ef9(0x455))try{_0x5c2199=require(_0x576ef9(0x23a));}catch{}var _0x509c65=function(){const _0x264e76=_0x576ef9;if(_0x5c2199){if(typeof _0x5c2199[_0x264e76(0x44d)]==_0x264e76(0x455))try{return _0x5c2199[_0x264e76(0x44d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5c2199[_0x264e76(0x5d0)]==_0x264e76(0x455))try{return _0x5c2199[_0x264e76(0x5d0)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x264e76(0x4f5));},_0xd44b87=Object[_0x576ef9(0x2d0)]||(function(){function _0x183c22(){}return function(_0x184024){const _0x43619f=_0x3094;var _0x354299;return _0x183c22[_0x43619f(0x6ab)]=_0x184024,_0x354299=new _0x183c22(),_0x183c22[_0x43619f(0x6ab)]=null,_0x354299;};}()),_0x2157a6={},_0xf46464=_0x2157a6[_0x576ef9(0x506)]={},_0x54ad8e=_0xf46464[_0x576ef9(0x303)]=(function(){return{'extend':function(_0x9f3298){const _0x4bb51c=_0x3094;var _0x5a7f12=_0xd44b87(this);return _0x9f3298&&_0x5a7f12[_0x4bb51c(0x51a)](_0x9f3298),(!_0x5a7f12[_0x4bb51c(0x51f)](_0x4bb51c(0x66b))||this[_0x4bb51c(0x66b)]===_0x5a7f12[_0x4bb51c(0x66b)])&&(_0x5a7f12[_0x4bb51c(0x66b)]=function(){const _0x3e96db=_0x4bb51c;_0x5a7f12[_0x3e96db(0x483)][_0x3e96db(0x66b)][_0x3e96db(0x2f5)](this,arguments);}),_0x5a7f12[_0x4bb51c(0x66b)][_0x4bb51c(0x6ab)]=_0x5a7f12,_0x5a7f12[_0x4bb51c(0x483)]=this,_0x5a7f12;},'create':function(){const _0x2a2f18=_0x3094;var _0x305ed0=this[_0x2a2f18(0x56c)]();return _0x305ed0['init'][_0x2a2f18(0x2f5)](_0x305ed0,arguments),_0x305ed0;},'init':function(){},'mixIn':function(_0x3e304e){const _0x3d0038=_0x3094;for(var _0x76a72a in _0x3e304e)_0x3e304e[_0x3d0038(0x51f)](_0x76a72a)&&(this[_0x76a72a]=_0x3e304e[_0x76a72a]);_0x3e304e[_0x3d0038(0x51f)](_0x3d0038(0x620))&&(this[_0x3d0038(0x620)]=_0x3e304e[_0x3d0038(0x620)]);},'clone':function(){const _0x1da720=_0x3094;return this['init'][_0x1da720(0x6ab)]['extend'](this);}};}()),_0x38c95d=_0xf46464[_0x576ef9(0x3c1)]=_0x54ad8e[_0x576ef9(0x56c)]({'init':function(_0xeb45d6,_0x3dd4b4){const _0x2a143b=_0x576ef9;_0xeb45d6=this[_0x2a143b(0x292)]=_0xeb45d6||[],_0x3dd4b4!=_0x4b18cf?this[_0x2a143b(0x4d6)]=_0x3dd4b4:this[_0x2a143b(0x4d6)]=_0xeb45d6[_0x2a143b(0x31c)]*0x4;},'toString':function(_0x17114f){const _0x1ca266=_0x576ef9;return(_0x17114f||_0x410b18)[_0x1ca266(0x5a9)](this);},'concat':function(_0x978f6c){const _0x5ab009=_0x576ef9;var _0x309446=this['words'],_0x3e259f=_0x978f6c[_0x5ab009(0x292)],_0x2b7a81=this['sigBytes'],_0x2d5072=_0x978f6c[_0x5ab009(0x4d6)];if(this[_0x5ab009(0x3f1)](),_0x2b7a81%0x4)for(var _0x43e828=0x0;_0x43e828<_0x2d5072;_0x43e828++){var _0x4bea65=_0x3e259f[_0x43e828>>>0x2]>>>0x18-_0x43e828%0x4*0x8&0xff;_0x309446[_0x2b7a81+_0x43e828>>>0x2]|=_0x4bea65<<0x18-(_0x2b7a81+_0x43e828)%0x4*0x8;}else{for(var _0x5cc6c5=0x0;_0x5cc6c5<_0x2d5072;_0x5cc6c5+=0x4)_0x309446[_0x2b7a81+_0x5cc6c5>>>0x2]=_0x3e259f[_0x5cc6c5>>>0x2];}return this[_0x5ab009(0x4d6)]+=_0x2d5072,this;},'clamp':function(){const _0x4f0a07=_0x576ef9;var _0x10e581=this[_0x4f0a07(0x292)],_0x5e7e41=this['sigBytes'];_0x10e581[_0x5e7e41>>>0x2]&=0xffffffff<<0x20-_0x5e7e41%0x4*0x8,_0x10e581[_0x4f0a07(0x31c)]=_0x831c9c[_0x4f0a07(0x26c)](_0x5e7e41/0x4);},'clone':function(){const _0x4f0724=_0x576ef9;var _0x536712=_0x54ad8e[_0x4f0724(0x20a)]['call'](this);return _0x536712[_0x4f0724(0x292)]=this[_0x4f0724(0x292)][_0x4f0724(0x64c)](0x0),_0x536712;},'random':function(_0x28db40){const _0x52ff1b=_0x576ef9;for(var _0x226c74=[],_0x467a32=0x0;_0x467a32<_0x28db40;_0x467a32+=0x4)_0x226c74[_0x52ff1b(0x297)](_0x509c65());return new _0x38c95d[(_0x52ff1b(0x66b))](_0x226c74,_0x28db40);}}),_0x100f49=_0x2157a6[_0x576ef9(0x4da)]={},_0x410b18=_0x100f49[_0x576ef9(0x383)]={'stringify':function(_0x2b8ae7){const _0x59b879=_0x576ef9;for(var _0x256f38=_0x2b8ae7['words'],_0x4c764b=_0x2b8ae7[_0x59b879(0x4d6)],_0x30afeb=[],_0x59a626=0x0;_0x59a626<_0x4c764b;_0x59a626++){var _0x20517e=_0x256f38[_0x59a626>>>0x2]>>>0x18-_0x59a626%0x4*0x8&0xff;_0x30afeb[_0x59b879(0x297)]((_0x20517e>>>0x4)[_0x59b879(0x620)](0x10)),_0x30afeb['push']((_0x20517e&0xf)[_0x59b879(0x620)](0x10));}return _0x30afeb[_0x59b879(0x470)]('');},'parse':function(_0x445262){const _0x3cc4b4=_0x576ef9;for(var _0x1fb884=_0x445262['length'],_0x1a0991=[],_0x1adac6=0x0;_0x1adac6<_0x1fb884;_0x1adac6+=0x2)_0x1a0991[_0x1adac6>>>0x3]|=parseInt(_0x445262['substr'](_0x1adac6,0x2),0x10)<<0x18-_0x1adac6%0x8*0x4;return new _0x38c95d[(_0x3cc4b4(0x66b))](_0x1a0991,_0x1fb884/0x2);}},_0x1b6cec=_0x100f49[_0x576ef9(0x426)]={'stringify':function(_0x40d5ce){const _0x3bd19d=_0x576ef9;for(var _0x2a36bd=_0x40d5ce[_0x3bd19d(0x292)],_0x290c0d=_0x40d5ce[_0x3bd19d(0x4d6)],_0x20a3e9=[],_0x3cc14a=0x0;_0x3cc14a<_0x290c0d;_0x3cc14a++){var _0x4a3cd2=_0x2a36bd[_0x3cc14a>>>0x2]>>>0x18-_0x3cc14a%0x4*0x8&0xff;_0x20a3e9['push'](String['fromCharCode'](_0x4a3cd2));}return _0x20a3e9['join']('');},'parse':function(_0x154705){const _0x488a65=_0x576ef9;for(var _0x55c82a=_0x154705[_0x488a65(0x31c)],_0x298310=[],_0x4e9eec=0x0;_0x4e9eec<_0x55c82a;_0x4e9eec++)_0x298310[_0x4e9eec>>>0x2]|=(_0x154705[_0x488a65(0x328)](_0x4e9eec)&0xff)<<0x18-_0x4e9eec%0x4*0x8;return new _0x38c95d[(_0x488a65(0x66b))](_0x298310,_0x55c82a);}},_0x438ad9=_0x100f49['Utf8']={'stringify':function(_0x4c3353){const _0x559356=_0x576ef9;try{return decodeURIComponent(escape(_0x1b6cec[_0x559356(0x5a9)](_0x4c3353)));}catch{throw new Error(_0x559356(0x1ef));}},'parse':function(_0x7e136c){const _0x3d4a31=_0x576ef9;return _0x1b6cec[_0x3d4a31(0x345)](unescape(encodeURIComponent(_0x7e136c)));}},_0x285f3a=_0xf46464[_0x576ef9(0x462)]=_0x54ad8e[_0x576ef9(0x56c)]({'reset':function(){this['_data']=new _0x38c95d['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x1c2612){const _0x50d23d=_0x576ef9;typeof _0x1c2612==_0x50d23d(0x4ce)&&(_0x1c2612=_0x438ad9[_0x50d23d(0x345)](_0x1c2612)),this[_0x50d23d(0x4dc)][_0x50d23d(0x2d4)](_0x1c2612),this[_0x50d23d(0x26a)]+=_0x1c2612['sigBytes'];},'_process':function(_0x376e08){const _0x633f20=_0x576ef9;var _0xb0c6f6,_0x54781d=this[_0x633f20(0x4dc)],_0x3b7c83=_0x54781d[_0x633f20(0x292)],_0xf3f2aa=_0x54781d[_0x633f20(0x4d6)],_0x25e2dc=this[_0x633f20(0x666)],_0x40fff6=_0x25e2dc*0x4,_0x4d456b=_0xf3f2aa/_0x40fff6;_0x376e08?_0x4d456b=_0x831c9c[_0x633f20(0x26c)](_0x4d456b):_0x4d456b=_0x831c9c[_0x633f20(0x685)]((_0x4d456b|0x0)-this[_0x633f20(0x330)],0x0);var _0x90e698=_0x4d456b*_0x25e2dc,_0x2dc0f0=_0x831c9c[_0x633f20(0x38b)](_0x90e698*0x4,_0xf3f2aa);if(_0x90e698){for(var _0x18938f=0x0;_0x18938f<_0x90e698;_0x18938f+=_0x25e2dc)this[_0x633f20(0x3f3)](_0x3b7c83,_0x18938f);_0xb0c6f6=_0x3b7c83[_0x633f20(0x551)](0x0,_0x90e698),_0x54781d[_0x633f20(0x4d6)]-=_0x2dc0f0;}return new _0x38c95d[(_0x633f20(0x66b))](_0xb0c6f6,_0x2dc0f0);},'clone':function(){const _0x241da4=_0x576ef9;var _0x18c900=_0x54ad8e[_0x241da4(0x20a)][_0x241da4(0x489)](this);return _0x18c900[_0x241da4(0x4dc)]=this[_0x241da4(0x4dc)][_0x241da4(0x20a)](),_0x18c900;},'_minBufferSize':0x0});_0xf46464[_0x576ef9(0x25f)]=_0x285f3a[_0x576ef9(0x56c)]({'cfg':_0x54ad8e[_0x576ef9(0x56c)](),'init':function(_0x45e744){const _0x2fa3b9=_0x576ef9;this[_0x2fa3b9(0x3f6)]=this[_0x2fa3b9(0x3f6)][_0x2fa3b9(0x56c)](_0x45e744),this[_0x2fa3b9(0x599)]();},'reset':function(){const _0x5bcbf4=_0x576ef9;_0x285f3a[_0x5bcbf4(0x599)][_0x5bcbf4(0x489)](this),this[_0x5bcbf4(0x4de)]();},'update':function(_0x21cc99){const _0x42d1c1=_0x576ef9;return this['_append'](_0x21cc99),this[_0x42d1c1(0x614)](),this;},'finalize':function(_0x4bb8b9){const _0x2983b7=_0x576ef9;_0x4bb8b9&&this[_0x2983b7(0x6b0)](_0x4bb8b9);var _0x46becc=this[_0x2983b7(0x31b)]();return _0x46becc;},'blockSize':0x10,'_createHelper':function(_0xf56b6f){return function(_0x3110ed,_0x1a72e1){const _0x20b2d4=_0x3094;return new _0xf56b6f[(_0x20b2d4(0x66b))](_0x1a72e1)[_0x20b2d4(0x504)](_0x3110ed);};},'_createHmacHelper':function(_0x4a4cd0){return function(_0x59e841,_0x4bf4b0){const _0x20d3bf=_0x3094;return new _0x9e9b9d[(_0x20d3bf(0x3f0))][(_0x20d3bf(0x66b))](_0x4a4cd0,_0x4bf4b0)[_0x20d3bf(0x504)](_0x59e841);};}});var _0x9e9b9d=_0x2157a6[_0x576ef9(0x38a)]={};return _0x2157a6;}(Math);return _0x465762;}));}(We)),We[_0x24956f(0x4dd)];}var Fe={'exports':{}},ps=Fe[_0x361975(0x4dd)],ti;function ji(){const _0x247b5a=_0x361975;return ti||(ti=0x1,function(_0x2092b1,_0x28478f){(function(_0x22ab8e,_0x4bd95e){const _0x4b4a17=_0x3094;_0x2092b1[_0x4b4a17(0x4dd)]=_0x4bd95e(se());}(ps,function(_0x43e528){const _0x5db3ea=_0x3094;return(function(){const _0xfd21b3=_0x3094;var _0x34a3a5=_0x43e528,_0x39134f=_0x34a3a5[_0xfd21b3(0x506)],_0xa3ec63=_0x39134f['WordArray'],_0x566eb7=_0x34a3a5[_0xfd21b3(0x4da)];_0x566eb7[_0xfd21b3(0x2f7)]={'stringify':function(_0x4416ff){const _0x1b4e65=_0xfd21b3;var _0x4807b8=_0x4416ff[_0x1b4e65(0x292)],_0x98f10c=_0x4416ff[_0x1b4e65(0x4d6)],_0x4e73e8=this['_map'];_0x4416ff[_0x1b4e65(0x3f1)]();for(var _0x1f65e8=[],_0x27ea47=0x0;_0x27ea47<_0x98f10c;_0x27ea47+=0x3)for(var _0x1d4383=_0x4807b8[_0x27ea47>>>0x2]>>>0x18-_0x27ea47%0x4*0x8&0xff,_0x7e320d=_0x4807b8[_0x27ea47+0x1>>>0x2]>>>0x18-(_0x27ea47+0x1)%0x4*0x8&0xff,_0x5c1ddf=_0x4807b8[_0x27ea47+0x2>>>0x2]>>>0x18-(_0x27ea47+0x2)%0x4*0x8&0xff,_0x9d7b89=_0x1d4383<<0x10|_0x7e320d<<0x8|_0x5c1ddf,_0x5f24ab=0x0;_0x5f24ab<0x4&&_0x27ea47+_0x5f24ab*0.75<_0x98f10c;_0x5f24ab++)_0x1f65e8['push'](_0x4e73e8['charAt'](_0x9d7b89>>>0x6*(0x3-_0x5f24ab)&0x3f));var _0x30d77a=_0x4e73e8['charAt'](0x40);if(_0x30d77a){for(;_0x1f65e8[_0x1b4e65(0x31c)]%0x4;)_0x1f65e8[_0x1b4e65(0x297)](_0x30d77a);}return _0x1f65e8[_0x1b4e65(0x470)]('');},'parse':function(_0x31756c){const _0x165ba6=_0xfd21b3;var _0x35f50d=_0x31756c['length'],_0x58c02f=this[_0x165ba6(0x5fb)],_0x11d84=this[_0x165ba6(0x5f0)];if(!_0x11d84){_0x11d84=this['_reverseMap']=[];for(var _0xde0a0=0x0;_0xde0a0<_0x58c02f[_0x165ba6(0x31c)];_0xde0a0++)_0x11d84[_0x58c02f['charCodeAt'](_0xde0a0)]=_0xde0a0;}var _0x361fbf=_0x58c02f['charAt'](0x40);if(_0x361fbf){var _0x151bd4=_0x31756c['indexOf'](_0x361fbf);_0x151bd4!==-0x1&&(_0x35f50d=_0x151bd4);}return _0x4203eb(_0x31756c,_0x35f50d,_0x11d84);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x4203eb(_0x2b2923,_0x4dae65,_0x46d831){const _0x488900=_0xfd21b3;for(var _0x17a396=[],_0x1f4064=0x0,_0x432642=0x0;_0x432642<_0x4dae65;_0x432642++)if(_0x432642%0x4){var _0x3b156f=_0x46d831[_0x2b2923['charCodeAt'](_0x432642-0x1)]<<_0x432642%0x4*0x2,_0x4574e6=_0x46d831[_0x2b2923['charCodeAt'](_0x432642)]>>>0x6-_0x432642%0x4*0x2,_0x36382d=_0x3b156f|_0x4574e6;_0x17a396[_0x1f4064>>>0x2]|=_0x36382d<<0x18-_0x1f4064%0x4*0x8,_0x1f4064++;}return _0xa3ec63[_0x488900(0x2d0)](_0x17a396,_0x1f4064);}}()),_0x43e528['enc'][_0x5db3ea(0x2f7)];}));}(Fe)),Fe[_0x247b5a(0x4dd)];}var Ve={'exports':{}},ms=Ve[_0x361975(0x4dd)],ii;function gs(){return ii||(ii=0x1,function(_0x428cf7,_0x57b82c){(function(_0x529ea2,_0x412c6b){const _0x3aebd3=_0x3094;_0x428cf7[_0x3aebd3(0x4dd)]=_0x412c6b(se());}(ms,function(_0x4a5826){return function(_0x1a6894){const _0x56a421=_0x3094;var _0x205530=_0x4a5826,_0x2e1998=_0x205530[_0x56a421(0x506)],_0x4e7701=_0x2e1998['WordArray'],_0x7b301e=_0x2e1998['Hasher'],_0x1136b3=_0x205530[_0x56a421(0x38a)],_0x23217d=[];(function(){const _0x19b3b4=_0x56a421;for(var _0x36c52a=0x0;_0x36c52a<0x40;_0x36c52a++)_0x23217d[_0x36c52a]=_0x1a6894[_0x19b3b4(0x3d3)](_0x1a6894[_0x19b3b4(0x4cb)](_0x36c52a+0x1))*0x100000000|0x0;}());var _0x282bd3=_0x1136b3[_0x56a421(0x35a)]=_0x7b301e[_0x56a421(0x56c)]({'_doReset':function(){const _0x3a773a=_0x56a421;this[_0x3a773a(0x32d)]=new _0x4e7701[(_0x3a773a(0x66b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x199ef6,_0x118d39){const _0x22f1bf=_0x56a421;for(var _0x38ef2d=0x0;_0x38ef2d<0x10;_0x38ef2d++){var _0x133480=_0x118d39+_0x38ef2d,_0x539c84=_0x199ef6[_0x133480];_0x199ef6[_0x133480]=(_0x539c84<<0x8|_0x539c84>>>0x18)&0xff00ff|(_0x539c84<<0x18|_0x539c84>>>0x8)&0xff00ff00;}var _0x4c63c9=this['_hash'][_0x22f1bf(0x292)],_0x4f7f39=_0x199ef6[_0x118d39+0x0],_0x37dfb2=_0x199ef6[_0x118d39+0x1],_0x412f08=_0x199ef6[_0x118d39+0x2],_0x48660d=_0x199ef6[_0x118d39+0x3],_0x4ff2bc=_0x199ef6[_0x118d39+0x4],_0x2e5264=_0x199ef6[_0x118d39+0x5],_0x54041b=_0x199ef6[_0x118d39+0x6],_0x2a5a9a=_0x199ef6[_0x118d39+0x7],_0xdeb652=_0x199ef6[_0x118d39+0x8],_0x554f2c=_0x199ef6[_0x118d39+0x9],_0x2616b0=_0x199ef6[_0x118d39+0xa],_0x3fbc4f=_0x199ef6[_0x118d39+0xb],_0x841b4d=_0x199ef6[_0x118d39+0xc],_0xea631=_0x199ef6[_0x118d39+0xd],_0x54e8a6=_0x199ef6[_0x118d39+0xe],_0x267003=_0x199ef6[_0x118d39+0xf],_0x211bc4=_0x4c63c9[0x0],_0xc93177=_0x4c63c9[0x1],_0x192d6d=_0x4c63c9[0x2],_0x4ddfde=_0x4c63c9[0x3];_0x211bc4=_0x4911fd(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x4f7f39,0x7,_0x23217d[0x0]),_0x4ddfde=_0x4911fd(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x37dfb2,0xc,_0x23217d[0x1]),_0x192d6d=_0x4911fd(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x412f08,0x11,_0x23217d[0x2]),_0xc93177=_0x4911fd(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x48660d,0x16,_0x23217d[0x3]),_0x211bc4=_0x4911fd(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x4ff2bc,0x7,_0x23217d[0x4]),_0x4ddfde=_0x4911fd(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x2e5264,0xc,_0x23217d[0x5]),_0x192d6d=_0x4911fd(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x54041b,0x11,_0x23217d[0x6]),_0xc93177=_0x4911fd(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x2a5a9a,0x16,_0x23217d[0x7]),_0x211bc4=_0x4911fd(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0xdeb652,0x7,_0x23217d[0x8]),_0x4ddfde=_0x4911fd(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x554f2c,0xc,_0x23217d[0x9]),_0x192d6d=_0x4911fd(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x2616b0,0x11,_0x23217d[0xa]),_0xc93177=_0x4911fd(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x3fbc4f,0x16,_0x23217d[0xb]),_0x211bc4=_0x4911fd(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x841b4d,0x7,_0x23217d[0xc]),_0x4ddfde=_0x4911fd(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0xea631,0xc,_0x23217d[0xd]),_0x192d6d=_0x4911fd(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x54e8a6,0x11,_0x23217d[0xe]),_0xc93177=_0x4911fd(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x267003,0x16,_0x23217d[0xf]),_0x211bc4=_0x44e15c(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x37dfb2,0x5,_0x23217d[0x10]),_0x4ddfde=_0x44e15c(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x54041b,0x9,_0x23217d[0x11]),_0x192d6d=_0x44e15c(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x3fbc4f,0xe,_0x23217d[0x12]),_0xc93177=_0x44e15c(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x4f7f39,0x14,_0x23217d[0x13]),_0x211bc4=_0x44e15c(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x2e5264,0x5,_0x23217d[0x14]),_0x4ddfde=_0x44e15c(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x2616b0,0x9,_0x23217d[0x15]),_0x192d6d=_0x44e15c(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x267003,0xe,_0x23217d[0x16]),_0xc93177=_0x44e15c(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x4ff2bc,0x14,_0x23217d[0x17]),_0x211bc4=_0x44e15c(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x554f2c,0x5,_0x23217d[0x18]),_0x4ddfde=_0x44e15c(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x54e8a6,0x9,_0x23217d[0x19]),_0x192d6d=_0x44e15c(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x48660d,0xe,_0x23217d[0x1a]),_0xc93177=_0x44e15c(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0xdeb652,0x14,_0x23217d[0x1b]),_0x211bc4=_0x44e15c(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0xea631,0x5,_0x23217d[0x1c]),_0x4ddfde=_0x44e15c(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x412f08,0x9,_0x23217d[0x1d]),_0x192d6d=_0x44e15c(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x2a5a9a,0xe,_0x23217d[0x1e]),_0xc93177=_0x44e15c(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x841b4d,0x14,_0x23217d[0x1f]),_0x211bc4=_0x39f286(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x2e5264,0x4,_0x23217d[0x20]),_0x4ddfde=_0x39f286(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0xdeb652,0xb,_0x23217d[0x21]),_0x192d6d=_0x39f286(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x3fbc4f,0x10,_0x23217d[0x22]),_0xc93177=_0x39f286(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x54e8a6,0x17,_0x23217d[0x23]),_0x211bc4=_0x39f286(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x37dfb2,0x4,_0x23217d[0x24]),_0x4ddfde=_0x39f286(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x4ff2bc,0xb,_0x23217d[0x25]),_0x192d6d=_0x39f286(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x2a5a9a,0x10,_0x23217d[0x26]),_0xc93177=_0x39f286(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x2616b0,0x17,_0x23217d[0x27]),_0x211bc4=_0x39f286(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0xea631,0x4,_0x23217d[0x28]),_0x4ddfde=_0x39f286(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x4f7f39,0xb,_0x23217d[0x29]),_0x192d6d=_0x39f286(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x48660d,0x10,_0x23217d[0x2a]),_0xc93177=_0x39f286(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x54041b,0x17,_0x23217d[0x2b]),_0x211bc4=_0x39f286(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x554f2c,0x4,_0x23217d[0x2c]),_0x4ddfde=_0x39f286(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x841b4d,0xb,_0x23217d[0x2d]),_0x192d6d=_0x39f286(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x267003,0x10,_0x23217d[0x2e]),_0xc93177=_0x39f286(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x412f08,0x17,_0x23217d[0x2f]),_0x211bc4=_0x56d21e(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x4f7f39,0x6,_0x23217d[0x30]),_0x4ddfde=_0x56d21e(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x2a5a9a,0xa,_0x23217d[0x31]),_0x192d6d=_0x56d21e(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x54e8a6,0xf,_0x23217d[0x32]),_0xc93177=_0x56d21e(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x2e5264,0x15,_0x23217d[0x33]),_0x211bc4=_0x56d21e(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x841b4d,0x6,_0x23217d[0x34]),_0x4ddfde=_0x56d21e(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x48660d,0xa,_0x23217d[0x35]),_0x192d6d=_0x56d21e(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x2616b0,0xf,_0x23217d[0x36]),_0xc93177=_0x56d21e(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x37dfb2,0x15,_0x23217d[0x37]),_0x211bc4=_0x56d21e(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0xdeb652,0x6,_0x23217d[0x38]),_0x4ddfde=_0x56d21e(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x267003,0xa,_0x23217d[0x39]),_0x192d6d=_0x56d21e(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x54041b,0xf,_0x23217d[0x3a]),_0xc93177=_0x56d21e(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0xea631,0x15,_0x23217d[0x3b]),_0x211bc4=_0x56d21e(_0x211bc4,_0xc93177,_0x192d6d,_0x4ddfde,_0x4ff2bc,0x6,_0x23217d[0x3c]),_0x4ddfde=_0x56d21e(_0x4ddfde,_0x211bc4,_0xc93177,_0x192d6d,_0x3fbc4f,0xa,_0x23217d[0x3d]),_0x192d6d=_0x56d21e(_0x192d6d,_0x4ddfde,_0x211bc4,_0xc93177,_0x412f08,0xf,_0x23217d[0x3e]),_0xc93177=_0x56d21e(_0xc93177,_0x192d6d,_0x4ddfde,_0x211bc4,_0x554f2c,0x15,_0x23217d[0x3f]),_0x4c63c9[0x0]=_0x4c63c9[0x0]+_0x211bc4|0x0,_0x4c63c9[0x1]=_0x4c63c9[0x1]+_0xc93177|0x0,_0x4c63c9[0x2]=_0x4c63c9[0x2]+_0x192d6d|0x0,_0x4c63c9[0x3]=_0x4c63c9[0x3]+_0x4ddfde|0x0;},'_doFinalize':function(){const _0x2f80c2=_0x56a421;var _0x4d4d11=this[_0x2f80c2(0x4dc)],_0xf7d978=_0x4d4d11[_0x2f80c2(0x292)],_0x9ff53e=this[_0x2f80c2(0x26a)]*0x8,_0xc1509e=_0x4d4d11[_0x2f80c2(0x4d6)]*0x8;_0xf7d978[_0xc1509e>>>0x5]|=0x80<<0x18-_0xc1509e%0x20;var _0x268c3f=_0x1a6894['floor'](_0x9ff53e/0x100000000),_0x5cc9a6=_0x9ff53e;_0xf7d978[(_0xc1509e+0x40>>>0x9<<0x4)+0xf]=(_0x268c3f<<0x8|_0x268c3f>>>0x18)&0xff00ff|(_0x268c3f<<0x18|_0x268c3f>>>0x8)&0xff00ff00,_0xf7d978[(_0xc1509e+0x40>>>0x9<<0x4)+0xe]=(_0x5cc9a6<<0x8|_0x5cc9a6>>>0x18)&0xff00ff|(_0x5cc9a6<<0x18|_0x5cc9a6>>>0x8)&0xff00ff00,_0x4d4d11['sigBytes']=(_0xf7d978['length']+0x1)*0x4,this[_0x2f80c2(0x614)]();for(var _0x49c9a7=this[_0x2f80c2(0x32d)],_0x5c9252=_0x49c9a7['words'],_0x2acd64=0x0;_0x2acd64<0x4;_0x2acd64++){var _0x509935=_0x5c9252[_0x2acd64];_0x5c9252[_0x2acd64]=(_0x509935<<0x8|_0x509935>>>0x18)&0xff00ff|(_0x509935<<0x18|_0x509935>>>0x8)&0xff00ff00;}return _0x49c9a7;},'clone':function(){const _0x297d52=_0x56a421;var _0x34f415=_0x7b301e[_0x297d52(0x20a)]['call'](this);return _0x34f415['_hash']=this[_0x297d52(0x32d)][_0x297d52(0x20a)](),_0x34f415;}});function _0x4911fd(_0x545269,_0x4e2b8f,_0x582c3a,_0x5452b5,_0x2166fd,_0x1ee679,_0x4fe3ad){var _0x27387a=_0x545269+(_0x4e2b8f&_0x582c3a|~_0x4e2b8f&_0x5452b5)+_0x2166fd+_0x4fe3ad;return(_0x27387a<<_0x1ee679|_0x27387a>>>0x20-_0x1ee679)+_0x4e2b8f;}function _0x44e15c(_0x1e6ab2,_0x1d54d4,_0x3ea584,_0x89af90,_0x41f1f5,_0x1e1d03,_0x934544){var _0x3ef740=_0x1e6ab2+(_0x1d54d4&_0x89af90|_0x3ea584&~_0x89af90)+_0x41f1f5+_0x934544;return(_0x3ef740<<_0x1e1d03|_0x3ef740>>>0x20-_0x1e1d03)+_0x1d54d4;}function _0x39f286(_0x504a82,_0x509755,_0x105c67,_0x5567e9,_0x460916,_0x854fe8,_0x2c8538){var _0x3d7cbb=_0x504a82+(_0x509755^_0x105c67^_0x5567e9)+_0x460916+_0x2c8538;return(_0x3d7cbb<<_0x854fe8|_0x3d7cbb>>>0x20-_0x854fe8)+_0x509755;}function _0x56d21e(_0x3be0f8,_0x136b80,_0x15ad52,_0x4380af,_0x2b1763,_0x187363,_0x37dda0){var _0xe266d6=_0x3be0f8+(_0x15ad52^(_0x136b80|~_0x4380af))+_0x2b1763+_0x37dda0;return(_0xe266d6<<_0x187363|_0xe266d6>>>0x20-_0x187363)+_0x136b80;}_0x205530[_0x56a421(0x35a)]=_0x7b301e['_createHelper'](_0x282bd3),_0x205530['HmacMD5']=_0x7b301e[_0x56a421(0x469)](_0x282bd3);}(Math),_0x4a5826['MD5'];}));}(Ve)),Ve['exports'];}var Ge={'exports':{}},Ye={'exports':{}},Is=Ye[_0x361975(0x4dd)],ni;function Cs(){const _0x2ef9ac=_0x361975;return ni||(ni=0x1,function(_0x7c416d,_0xfddb48){(function(_0x3665a1,_0x117913){const _0x3d5fe1=_0x3094;_0x7c416d[_0x3d5fe1(0x4dd)]=_0x117913(se());}(Is,function(_0x5ace3d){return(function(){const _0x56ce31=_0x3094;var _0x42ea2f=_0x5ace3d,_0x1d0e0b=_0x42ea2f['lib'],_0x16993a=_0x1d0e0b['WordArray'],_0x1e8d1e=_0x1d0e0b[_0x56ce31(0x25f)],_0x4f6245=_0x42ea2f['algo'],_0x4e8c03=[],_0x204318=_0x4f6245[_0x56ce31(0x651)]=_0x1e8d1e[_0x56ce31(0x56c)]({'_doReset':function(){const _0x5c04d8=_0x56ce31;this['_hash']=new _0x16993a[(_0x5c04d8(0x66b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2e6982,_0x3ac9fd){const _0x50b39e=_0x56ce31;for(var _0xa9d541=this[_0x50b39e(0x32d)][_0x50b39e(0x292)],_0x2bb6a9=_0xa9d541[0x0],_0x599053=_0xa9d541[0x1],_0x5a05e0=_0xa9d541[0x2],_0x3d2f3a=_0xa9d541[0x3],_0x2cf9dd=_0xa9d541[0x4],_0x3dc18e=0x0;_0x3dc18e<0x50;_0x3dc18e++){if(_0x3dc18e<0x10)_0x4e8c03[_0x3dc18e]=_0x2e6982[_0x3ac9fd+_0x3dc18e]|0x0;else{var _0x1c5452=_0x4e8c03[_0x3dc18e-0x3]^_0x4e8c03[_0x3dc18e-0x8]^_0x4e8c03[_0x3dc18e-0xe]^_0x4e8c03[_0x3dc18e-0x10];_0x4e8c03[_0x3dc18e]=_0x1c5452<<0x1|_0x1c5452>>>0x1f;}var _0x5e4350=(_0x2bb6a9<<0x5|_0x2bb6a9>>>0x1b)+_0x2cf9dd+_0x4e8c03[_0x3dc18e];_0x3dc18e<0x14?_0x5e4350+=(_0x599053&_0x5a05e0|~_0x599053&_0x3d2f3a)+0x5a827999:_0x3dc18e<0x28?_0x5e4350+=(_0x599053^_0x5a05e0^_0x3d2f3a)+0x6ed9eba1:_0x3dc18e<0x3c?_0x5e4350+=(_0x599053&_0x5a05e0|_0x599053&_0x3d2f3a|_0x5a05e0&_0x3d2f3a)-0x70e44324:_0x5e4350+=(_0x599053^_0x5a05e0^_0x3d2f3a)-0x359d3e2a,_0x2cf9dd=_0x3d2f3a,_0x3d2f3a=_0x5a05e0,_0x5a05e0=_0x599053<<0x1e|_0x599053>>>0x2,_0x599053=_0x2bb6a9,_0x2bb6a9=_0x5e4350;}_0xa9d541[0x0]=_0xa9d541[0x0]+_0x2bb6a9|0x0,_0xa9d541[0x1]=_0xa9d541[0x1]+_0x599053|0x0,_0xa9d541[0x2]=_0xa9d541[0x2]+_0x5a05e0|0x0,_0xa9d541[0x3]=_0xa9d541[0x3]+_0x3d2f3a|0x0,_0xa9d541[0x4]=_0xa9d541[0x4]+_0x2cf9dd|0x0;},'_doFinalize':function(){const _0x5ce734=_0x56ce31;var _0x42a644=this[_0x5ce734(0x4dc)],_0x18415a=_0x42a644[_0x5ce734(0x292)],_0x4cff3d=this[_0x5ce734(0x26a)]*0x8,_0x38d3fa=_0x42a644[_0x5ce734(0x4d6)]*0x8;return _0x18415a[_0x38d3fa>>>0x5]|=0x80<<0x18-_0x38d3fa%0x20,_0x18415a[(_0x38d3fa+0x40>>>0x9<<0x4)+0xe]=Math[_0x5ce734(0x5c2)](_0x4cff3d/0x100000000),_0x18415a[(_0x38d3fa+0x40>>>0x9<<0x4)+0xf]=_0x4cff3d,_0x42a644[_0x5ce734(0x4d6)]=_0x18415a[_0x5ce734(0x31c)]*0x4,this[_0x5ce734(0x614)](),this[_0x5ce734(0x32d)];},'clone':function(){const _0x5dfffe=_0x56ce31;var _0xe2adea=_0x1e8d1e[_0x5dfffe(0x20a)][_0x5dfffe(0x489)](this);return _0xe2adea[_0x5dfffe(0x32d)]=this[_0x5dfffe(0x32d)][_0x5dfffe(0x20a)](),_0xe2adea;}});_0x42ea2f['SHA1']=_0x1e8d1e['_createHelper'](_0x204318),_0x42ea2f[_0x56ce31(0x270)]=_0x1e8d1e[_0x56ce31(0x469)](_0x204318);}()),_0x5ace3d['SHA1'];}));}(Ye)),Ye[_0x2ef9ac(0x4dd)];}var qe={'exports':{}},Es=qe[_0x361975(0x4dd)],ri;function bs(){const _0x38d9ea=_0x361975;return ri||(ri=0x1,function(_0x5c7da4,_0xa9dc3b){(function(_0x19e9bf,_0x3e904f){const _0x512e5c=_0x3094;_0x5c7da4[_0x512e5c(0x4dd)]=_0x3e904f(se());}(Es,function(_0x4a89f3){(function(){const _0x9bca8c=_0x3094;var _0xfdaf11=_0x4a89f3,_0x528bea=_0xfdaf11[_0x9bca8c(0x506)],_0x3beaa1=_0x528bea[_0x9bca8c(0x303)],_0x14f2c0=_0xfdaf11[_0x9bca8c(0x4da)],_0x19b533=_0x14f2c0[_0x9bca8c(0x687)],_0x9d15db=_0xfdaf11['algo'];_0x9d15db['HMAC']=_0x3beaa1[_0x9bca8c(0x56c)]({'init':function(_0x2151cb,_0x41801a){const _0x2554f0=_0x9bca8c;_0x2151cb=this['_hasher']=new _0x2151cb[(_0x2554f0(0x66b))](),typeof _0x41801a==_0x2554f0(0x4ce)&&(_0x41801a=_0x19b533[_0x2554f0(0x345)](_0x41801a));var _0x5bbb30=_0x2151cb[_0x2554f0(0x666)],_0x454728=_0x5bbb30*0x4;_0x41801a[_0x2554f0(0x4d6)]>_0x454728&&(_0x41801a=_0x2151cb['finalize'](_0x41801a)),_0x41801a['clamp']();for(var _0x373e99=this[_0x2554f0(0x414)]=_0x41801a[_0x2554f0(0x20a)](),_0x276f62=this['_iKey']=_0x41801a[_0x2554f0(0x20a)](),_0xd70288=_0x373e99['words'],_0x278263=_0x276f62[_0x2554f0(0x292)],_0x5a9c2e=0x0;_0x5a9c2e<_0x5bbb30;_0x5a9c2e++)_0xd70288[_0x5a9c2e]^=0x5c5c5c5c,_0x278263[_0x5a9c2e]^=0x36363636;_0x373e99[_0x2554f0(0x4d6)]=_0x276f62[_0x2554f0(0x4d6)]=_0x454728,this[_0x2554f0(0x599)]();},'reset':function(){const _0x277a7c=_0x9bca8c;var _0x415fd2=this[_0x277a7c(0x41c)];_0x415fd2[_0x277a7c(0x599)](),_0x415fd2[_0x277a7c(0x3ef)](this[_0x277a7c(0x3a8)]);},'update':function(_0x169298){const _0x3dfeba=_0x9bca8c;return this['_hasher'][_0x3dfeba(0x3ef)](_0x169298),this;},'finalize':function(_0x4ba44a){const _0x5455c6=_0x9bca8c;var _0x361296=this[_0x5455c6(0x41c)],_0x885157=_0x361296[_0x5455c6(0x504)](_0x4ba44a);_0x361296[_0x5455c6(0x599)]();var _0x5c1261=_0x361296[_0x5455c6(0x504)](this[_0x5455c6(0x414)][_0x5455c6(0x20a)]()[_0x5455c6(0x2d4)](_0x885157));return _0x5c1261;}});}());}));}(qe)),qe[_0x38d9ea(0x4dd)];}var Ts=Ge['exports'],si;function Hi(){return si||(si=0x1,function(_0x88d6f1,_0x221cf1){(function(_0x3f2c0b,_0x1d7242,_0x91be05){_0x88d6f1['exports']=_0x1d7242(se(),Cs(),bs());}(Ts,function(_0x5d1c68){const _0x111a24=_0x3094;return(function(){const _0x50f164=_0x3094;var _0xc79b9a=_0x5d1c68,_0x1b6e34=_0xc79b9a[_0x50f164(0x506)],_0x1f6d38=_0x1b6e34[_0x50f164(0x303)],_0x4636ed=_0x1b6e34[_0x50f164(0x3c1)],_0x24d39c=_0xc79b9a[_0x50f164(0x38a)],_0x574159=_0x24d39c[_0x50f164(0x35a)],_0x3f520c=_0x24d39c['EvpKDF']=_0x1f6d38[_0x50f164(0x56c)]({'cfg':_0x1f6d38[_0x50f164(0x56c)]({'keySize':0x80/0x20,'hasher':_0x574159,'iterations':0x1}),'init':function(_0x4024c1){const _0x1a33b6=_0x50f164;this[_0x1a33b6(0x3f6)]=this[_0x1a33b6(0x3f6)][_0x1a33b6(0x56c)](_0x4024c1);},'compute':function(_0x2e4027,_0x4651af){const _0x224739=_0x50f164;for(var _0x3e0b9a,_0x4c8344=this[_0x224739(0x3f6)],_0x245461=_0x4c8344[_0x224739(0x403)]['create'](),_0x2ba0d6=_0x4636ed['create'](),_0x2b9626=_0x2ba0d6[_0x224739(0x292)],_0x1d7f39=_0x4c8344[_0x224739(0x45d)],_0xe7ef6=_0x4c8344[_0x224739(0x34c)];_0x2b9626[_0x224739(0x31c)]<_0x1d7f39;){_0x3e0b9a&&_0x245461[_0x224739(0x3ef)](_0x3e0b9a),_0x3e0b9a=_0x245461[_0x224739(0x3ef)](_0x2e4027)['finalize'](_0x4651af),_0x245461[_0x224739(0x599)]();for(var _0xd4b78f=0x1;_0xd4b78f<_0xe7ef6;_0xd4b78f++)_0x3e0b9a=_0x245461[_0x224739(0x504)](_0x3e0b9a),_0x245461[_0x224739(0x599)]();_0x2ba0d6[_0x224739(0x2d4)](_0x3e0b9a);}return _0x2ba0d6[_0x224739(0x4d6)]=_0x1d7f39*0x4,_0x2ba0d6;}});_0xc79b9a[_0x50f164(0x59b)]=function(_0x1687d6,_0x4f458f,_0x2f0f9c){const _0x29c8e0=_0x50f164;return _0x3f520c[_0x29c8e0(0x2d0)](_0x2f0f9c)[_0x29c8e0(0x64d)](_0x1687d6,_0x4f458f);};}()),_0x5d1c68[_0x111a24(0x59b)];}));}(Ge)),Ge['exports'];}var Ke={'exports':{}},Rs=Ke[_0x361975(0x4dd)],oi;function Bi(){const _0x1cd41e=_0x361975;return oi||(oi=0x1,function(_0x245f8c,_0xa0076c){(function(_0xe3c8a6,_0xe257e,_0x3480dc){const _0x1a6d8b=_0x3094;_0x245f8c[_0x1a6d8b(0x4dd)]=_0xe257e(se(),Hi());}(Rs,function(_0xf76438){const _0x45e9dd=_0x3094;_0xf76438[_0x45e9dd(0x506)][_0x45e9dd(0x42a)]||function(_0x2d1730){const _0x5957df=_0x45e9dd;var _0x16a98d=_0xf76438,_0x4a0757=_0x16a98d['lib'],_0x5a60ae=_0x4a0757[_0x5957df(0x303)],_0x50d09e=_0x4a0757[_0x5957df(0x3c1)],_0x4274da=_0x4a0757[_0x5957df(0x462)],_0x31f7ea=_0x16a98d['enc'];_0x31f7ea['Utf8'];var _0x2b4246=_0x31f7ea[_0x5957df(0x2f7)],_0x5d2162=_0x16a98d[_0x5957df(0x38a)],_0x35a3ee=_0x5d2162[_0x5957df(0x59b)],_0x282113=_0x4a0757[_0x5957df(0x42a)]=_0x4274da['extend']({'cfg':_0x5a60ae['extend'](),'createEncryptor':function(_0x33c25f,_0x2fcddf){return this['create'](this['_ENC_XFORM_MODE'],_0x33c25f,_0x2fcddf);},'createDecryptor':function(_0x9fb8d6,_0x4afc84){const _0x184a76=_0x5957df;return this[_0x184a76(0x2d0)](this[_0x184a76(0x57f)],_0x9fb8d6,_0x4afc84);},'init':function(_0xff5f87,_0x468208,_0x3e9c0){const _0x370341=_0x5957df;this[_0x370341(0x3f6)]=this['cfg'][_0x370341(0x56c)](_0x3e9c0),this['_xformMode']=_0xff5f87,this[_0x370341(0x2a7)]=_0x468208,this[_0x370341(0x599)]();},'reset':function(){const _0x23fcf7=_0x5957df;_0x4274da[_0x23fcf7(0x599)][_0x23fcf7(0x489)](this),this[_0x23fcf7(0x4de)]();},'process':function(_0x19328f){const _0xeda80c=_0x5957df;return this['_append'](_0x19328f),this[_0xeda80c(0x614)]();},'finalize':function(_0x1b9a71){const _0x401634=_0x5957df;_0x1b9a71&&this[_0x401634(0x6b0)](_0x1b9a71);var _0x3c395a=this[_0x401634(0x31b)]();return _0x3c395a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2d2fe0(_0x598ecc){return typeof _0x598ecc=='string'?_0x4ddfce:_0x391f4f;}return function(_0x1fe930){return{'encrypt':function(_0x31fcb6,_0x1c80f4,_0x2b26f6){const _0x3f2192=_0x3094;return _0x2d2fe0(_0x1c80f4)[_0x3f2192(0x437)](_0x1fe930,_0x31fcb6,_0x1c80f4,_0x2b26f6);},'decrypt':function(_0x5607fb,_0x2f7770,_0x5a13fc){const _0x4ddd90=_0x3094;return _0x2d2fe0(_0x2f7770)[_0x4ddd90(0x607)](_0x1fe930,_0x5607fb,_0x2f7770,_0x5a13fc);}};};}())});_0x4a0757[_0x5957df(0x65c)]=_0x282113['extend']({'_doFinalize':function(){var _0x1d2d64=this['_process'](!0x0);return _0x1d2d64;},'blockSize':0x1});var _0x603c99=_0x16a98d[_0x5957df(0x35c)]={},_0x119684=_0x4a0757['BlockCipherMode']=_0x5a60ae[_0x5957df(0x56c)]({'createEncryptor':function(_0xde40a7,_0x1f37dd){const _0xb24ca7=_0x5957df;return this['Encryptor'][_0xb24ca7(0x2d0)](_0xde40a7,_0x1f37dd);},'createDecryptor':function(_0x5cf72b,_0x5d27ee){const _0x1e6ad2=_0x5957df;return this['Decryptor'][_0x1e6ad2(0x2d0)](_0x5cf72b,_0x5d27ee);},'init':function(_0x598651,_0x1e8d9a){const _0x1d1093=_0x5957df;this['_cipher']=_0x598651,this[_0x1d1093(0x601)]=_0x1e8d9a;}}),_0x379f8b=_0x603c99[_0x5957df(0x471)]=(function(){const _0x4c5693=_0x5957df;var _0x5b50c2=_0x119684[_0x4c5693(0x56c)]();_0x5b50c2[_0x4c5693(0x561)]=_0x5b50c2[_0x4c5693(0x56c)]({'processBlock':function(_0x57c414,_0x532c82){const _0x21766a=_0x4c5693;var _0x42f62c=this['_cipher'],_0x24b357=_0x42f62c[_0x21766a(0x666)];_0x19d4bf['call'](this,_0x57c414,_0x532c82,_0x24b357),_0x42f62c['encryptBlock'](_0x57c414,_0x532c82),this['_prevBlock']=_0x57c414['slice'](_0x532c82,_0x532c82+_0x24b357);}}),_0x5b50c2[_0x4c5693(0x674)]=_0x5b50c2[_0x4c5693(0x56c)]({'processBlock':function(_0x325d82,_0x1d0d3c){const _0x548863=_0x4c5693;var _0x407451=this[_0x548863(0x552)],_0x4da1dd=_0x407451[_0x548863(0x666)],_0x554858=_0x325d82[_0x548863(0x64c)](_0x1d0d3c,_0x1d0d3c+_0x4da1dd);_0x407451['decryptBlock'](_0x325d82,_0x1d0d3c),_0x19d4bf[_0x548863(0x489)](this,_0x325d82,_0x1d0d3c,_0x4da1dd),this[_0x548863(0x240)]=_0x554858;}});function _0x19d4bf(_0xde6c63,_0x157d47,_0x355c0c){const _0x213481=_0x4c5693;var _0x3a6631,_0x1830d5=this['_iv'];_0x1830d5?(_0x3a6631=_0x1830d5,this[_0x213481(0x601)]=_0x2d1730):_0x3a6631=this[_0x213481(0x240)];for(var _0x8d7083=0x0;_0x8d7083<_0x355c0c;_0x8d7083++)_0xde6c63[_0x157d47+_0x8d7083]^=_0x3a6631[_0x8d7083];}return _0x5b50c2;}()),_0x56789b=_0x16a98d['pad']={},_0x431527=_0x56789b[_0x5957df(0x4af)]={'pad':function(_0x3e4c23,_0xcb2080){const _0x5cbd95=_0x5957df;for(var _0x558816=_0xcb2080*0x4,_0x158dfd=_0x558816-_0x3e4c23[_0x5cbd95(0x4d6)]%_0x558816,_0x988c10=_0x158dfd<<0x18|_0x158dfd<<0x10|_0x158dfd<<0x8|_0x158dfd,_0x1a3592=[],_0x241a92=0x0;_0x241a92<_0x158dfd;_0x241a92+=0x4)_0x1a3592[_0x5cbd95(0x297)](_0x988c10);var _0x569891=_0x50d09e[_0x5cbd95(0x2d0)](_0x1a3592,_0x158dfd);_0x3e4c23[_0x5cbd95(0x2d4)](_0x569891);},'unpad':function(_0x18309d){const _0x48dc04=_0x5957df;var _0x12db4c=_0x18309d['words'][_0x18309d[_0x48dc04(0x4d6)]-0x1>>>0x2]&0xff;_0x18309d[_0x48dc04(0x4d6)]-=_0x12db4c;}};_0x4a0757['BlockCipher']=_0x282113['extend']({'cfg':_0x282113[_0x5957df(0x3f6)][_0x5957df(0x56c)]({'mode':_0x379f8b,'padding':_0x431527}),'reset':function(){const _0x366e4b=_0x5957df;var _0x281ee6;_0x282113[_0x366e4b(0x599)]['call'](this);var _0x2c8282=this['cfg'],_0x39ec4f=_0x2c8282['iv'],_0x28c65a=_0x2c8282[_0x366e4b(0x35c)];this[_0x366e4b(0x52d)]==this[_0x366e4b(0x56b)]?_0x281ee6=_0x28c65a[_0x366e4b(0x4ff)]:(_0x281ee6=_0x28c65a[_0x366e4b(0x652)],this[_0x366e4b(0x330)]=0x1),this[_0x366e4b(0x5f8)]&&this[_0x366e4b(0x5f8)][_0x366e4b(0x21b)]==_0x281ee6?this[_0x366e4b(0x5f8)][_0x366e4b(0x66b)](this,_0x39ec4f&&_0x39ec4f[_0x366e4b(0x292)]):(this['_mode']=_0x281ee6[_0x366e4b(0x489)](_0x28c65a,this,_0x39ec4f&&_0x39ec4f[_0x366e4b(0x292)]),this['_mode'][_0x366e4b(0x21b)]=_0x281ee6);},'_doProcessBlock':function(_0x5e1484,_0x156368){const _0x44a236=_0x5957df;this['_mode'][_0x44a236(0x60d)](_0x5e1484,_0x156368);},'_doFinalize':function(){const _0x29c652=_0x5957df;var _0x1dc9ce,_0x1f79a1=this[_0x29c652(0x3f6)][_0x29c652(0x5b9)];return this[_0x29c652(0x52d)]==this[_0x29c652(0x56b)]?(_0x1f79a1[_0x29c652(0x1fb)](this[_0x29c652(0x4dc)],this['blockSize']),_0x1dc9ce=this[_0x29c652(0x614)](!0x0)):(_0x1dc9ce=this[_0x29c652(0x614)](!0x0),_0x1f79a1[_0x29c652(0x34a)](_0x1dc9ce)),_0x1dc9ce;},'blockSize':0x80/0x20});var _0x49a70e=_0x4a0757['CipherParams']=_0x5a60ae[_0x5957df(0x56c)]({'init':function(_0x3e1633){this['mixIn'](_0x3e1633);},'toString':function(_0x4634e1){const _0xdd6e2a=_0x5957df;return(_0x4634e1||this['formatter'])[_0xdd6e2a(0x5a9)](this);}}),_0x47b935=_0x16a98d[_0x5957df(0x2a0)]={},_0xcf7aad=_0x47b935[_0x5957df(0x65b)]={'stringify':function(_0x216546){const _0x49ecf7=_0x5957df;var _0x4ef83a,_0x3aa63d=_0x216546[_0x49ecf7(0x624)],_0x598ba1=_0x216546[_0x49ecf7(0x2c3)];return _0x598ba1?_0x4ef83a=_0x50d09e[_0x49ecf7(0x2d0)]([0x53616c74,0x65645f5f])[_0x49ecf7(0x2d4)](_0x598ba1)[_0x49ecf7(0x2d4)](_0x3aa63d):_0x4ef83a=_0x3aa63d,_0x4ef83a['toString'](_0x2b4246);},'parse':function(_0xfad29b){const _0x193705=_0x5957df;var _0x2b1049,_0x3efee0=_0x2b4246[_0x193705(0x345)](_0xfad29b),_0x574952=_0x3efee0['words'];return _0x574952[0x0]==0x53616c74&&_0x574952[0x1]==0x65645f5f&&(_0x2b1049=_0x50d09e['create'](_0x574952[_0x193705(0x64c)](0x2,0x4)),_0x574952[_0x193705(0x551)](0x0,0x4),_0x3efee0[_0x193705(0x4d6)]-=0x10),_0x49a70e[_0x193705(0x2d0)]({'ciphertext':_0x3efee0,'salt':_0x2b1049});}},_0x391f4f=_0x4a0757[_0x5957df(0x5a4)]=_0x5a60ae['extend']({'cfg':_0x5a60ae[_0x5957df(0x56c)]({'format':_0xcf7aad}),'encrypt':function(_0x357f8b,_0x2942cd,_0x622198,_0x5f4b39){const _0x52c106=_0x5957df;_0x5f4b39=this[_0x52c106(0x3f6)][_0x52c106(0x56c)](_0x5f4b39);var _0x2ff92d=_0x357f8b[_0x52c106(0x4ff)](_0x622198,_0x5f4b39),_0x5a36df=_0x2ff92d[_0x52c106(0x504)](_0x2942cd),_0x5b271d=_0x2ff92d['cfg'];return _0x49a70e[_0x52c106(0x2d0)]({'ciphertext':_0x5a36df,'key':_0x622198,'iv':_0x5b271d['iv'],'algorithm':_0x357f8b,'mode':_0x5b271d[_0x52c106(0x35c)],'padding':_0x5b271d[_0x52c106(0x5b9)],'blockSize':_0x357f8b[_0x52c106(0x666)],'formatter':_0x5f4b39[_0x52c106(0x2a0)]});},'decrypt':function(_0x5c1bd3,_0x5119f5,_0x55d474,_0x16ed58){const _0xbbeb49=_0x5957df;_0x16ed58=this[_0xbbeb49(0x3f6)][_0xbbeb49(0x56c)](_0x16ed58),_0x5119f5=this[_0xbbeb49(0x31e)](_0x5119f5,_0x16ed58[_0xbbeb49(0x2a0)]);var _0x1e29ed=_0x5c1bd3[_0xbbeb49(0x652)](_0x55d474,_0x16ed58)[_0xbbeb49(0x504)](_0x5119f5[_0xbbeb49(0x624)]);return _0x1e29ed;},'_parse':function(_0x331669,_0x181d6e){const _0xfeab84=_0x5957df;return typeof _0x331669==_0xfeab84(0x4ce)?_0x181d6e['parse'](_0x331669,this):_0x331669;}}),_0x469c95=_0x16a98d[_0x5957df(0x460)]={},_0x1ac11a=_0x469c95['OpenSSL']={'execute':function(_0x17beb7,_0x1da36c,_0x50864e,_0x5e2e5a,_0x472f9e){const _0xf9d8e8=_0x5957df;if(_0x5e2e5a||(_0x5e2e5a=_0x50d09e[_0xf9d8e8(0x582)](0x40/0x8)),_0x472f9e)var _0x16848b=_0x35a3ee[_0xf9d8e8(0x2d0)]({'keySize':_0x1da36c+_0x50864e,'hasher':_0x472f9e})['compute'](_0x17beb7,_0x5e2e5a);else var _0x16848b=_0x35a3ee[_0xf9d8e8(0x2d0)]({'keySize':_0x1da36c+_0x50864e})['compute'](_0x17beb7,_0x5e2e5a);var _0xad58c2=_0x50d09e[_0xf9d8e8(0x2d0)](_0x16848b[_0xf9d8e8(0x292)][_0xf9d8e8(0x64c)](_0x1da36c),_0x50864e*0x4);return _0x16848b[_0xf9d8e8(0x4d6)]=_0x1da36c*0x4,_0x49a70e[_0xf9d8e8(0x2d0)]({'key':_0x16848b,'iv':_0xad58c2,'salt':_0x5e2e5a});}},_0x4ddfce=_0x4a0757['PasswordBasedCipher']=_0x391f4f[_0x5957df(0x56c)]({'cfg':_0x391f4f[_0x5957df(0x3f6)][_0x5957df(0x56c)]({'kdf':_0x1ac11a}),'encrypt':function(_0x2cfef8,_0x124439,_0x50c7d8,_0x1a0952){const _0x1f4391=_0x5957df;_0x1a0952=this['cfg'][_0x1f4391(0x56c)](_0x1a0952);var _0x3cf273=_0x1a0952['kdf'][_0x1f4391(0x29f)](_0x50c7d8,_0x2cfef8[_0x1f4391(0x45d)],_0x2cfef8[_0x1f4391(0x3bc)],_0x1a0952[_0x1f4391(0x2c3)],_0x1a0952[_0x1f4391(0x403)]);_0x1a0952['iv']=_0x3cf273['iv'];var _0x459a67=_0x391f4f[_0x1f4391(0x437)]['call'](this,_0x2cfef8,_0x124439,_0x3cf273['key'],_0x1a0952);return _0x459a67[_0x1f4391(0x51a)](_0x3cf273),_0x459a67;},'decrypt':function(_0x45a9b2,_0x27f4ff,_0x3452f3,_0x4c2e36){const _0x5afc36=_0x5957df;_0x4c2e36=this['cfg'][_0x5afc36(0x56c)](_0x4c2e36),_0x27f4ff=this[_0x5afc36(0x31e)](_0x27f4ff,_0x4c2e36[_0x5afc36(0x2a0)]);var _0x3bdaea=_0x4c2e36[_0x5afc36(0x460)][_0x5afc36(0x29f)](_0x3452f3,_0x45a9b2[_0x5afc36(0x45d)],_0x45a9b2[_0x5afc36(0x3bc)],_0x27f4ff['salt'],_0x4c2e36[_0x5afc36(0x403)]);_0x4c2e36['iv']=_0x3bdaea['iv'];var _0x5b43b4=_0x391f4f[_0x5afc36(0x607)][_0x5afc36(0x489)](this,_0x45a9b2,_0x27f4ff,_0x3bdaea['key'],_0x4c2e36);return _0x5b43b4;}});}();}));}(Ke)),Ke[_0x1cd41e(0x4dd)];}var Os=ke['exports'],ai;function ys(){const _0x7b3f76=_0x361975;return ai||(ai=0x1,function(_0x1232c0,_0xfc7095){(function(_0x30dabb,_0x1d10c3,_0x48dce0){const _0x3d6452=_0x3094;_0x1232c0[_0x3d6452(0x4dd)]=_0x1d10c3(se(),ji(),gs(),Hi(),Bi());}(Os,function(_0x3af075){return(function(){const _0x44df15=_0x3094;var _0x651e7e=_0x3af075,_0x3abff8=_0x651e7e[_0x44df15(0x506)],_0x22ea2f=_0x3abff8[_0x44df15(0x4ad)],_0x459cd6=_0x651e7e['algo'],_0x3bfe5c=[],_0x15cebb=[],_0x42cbeb=[],_0x7f8b98=[],_0x528c0b=[],_0x123af4=[],_0x60de71=[],_0x4ee4ef=[],_0x2ccb4b=[],_0x54091a=[];(function(){for(var _0x97063e=[],_0x1dd836=0x0;_0x1dd836<0x100;_0x1dd836++)_0x1dd836<0x80?_0x97063e[_0x1dd836]=_0x1dd836<<0x1:_0x97063e[_0x1dd836]=_0x1dd836<<0x1^0x11b;for(var _0x4607bd=0x0,_0x454b48=0x0,_0x1dd836=0x0;_0x1dd836<0x100;_0x1dd836++){var _0x5934f6=_0x454b48^_0x454b48<<0x1^_0x454b48<<0x2^_0x454b48<<0x3^_0x454b48<<0x4;_0x5934f6=_0x5934f6>>>0x8^_0x5934f6&0xff^0x63,_0x3bfe5c[_0x4607bd]=_0x5934f6,_0x15cebb[_0x5934f6]=_0x4607bd;var _0x56c319=_0x97063e[_0x4607bd],_0x4cfaa4=_0x97063e[_0x56c319],_0x318753=_0x97063e[_0x4cfaa4],_0xab4fd4=_0x97063e[_0x5934f6]*0x101^_0x5934f6*0x1010100;_0x42cbeb[_0x4607bd]=_0xab4fd4<<0x18|_0xab4fd4>>>0x8,_0x7f8b98[_0x4607bd]=_0xab4fd4<<0x10|_0xab4fd4>>>0x10,_0x528c0b[_0x4607bd]=_0xab4fd4<<0x8|_0xab4fd4>>>0x18,_0x123af4[_0x4607bd]=_0xab4fd4;var _0xab4fd4=_0x318753*0x1010101^_0x4cfaa4*0x10001^_0x56c319*0x101^_0x4607bd*0x1010100;_0x60de71[_0x5934f6]=_0xab4fd4<<0x18|_0xab4fd4>>>0x8,_0x4ee4ef[_0x5934f6]=_0xab4fd4<<0x10|_0xab4fd4>>>0x10,_0x2ccb4b[_0x5934f6]=_0xab4fd4<<0x8|_0xab4fd4>>>0x18,_0x54091a[_0x5934f6]=_0xab4fd4,_0x4607bd?(_0x4607bd=_0x56c319^_0x97063e[_0x97063e[_0x97063e[_0x318753^_0x56c319]]],_0x454b48^=_0x97063e[_0x97063e[_0x454b48]]):_0x4607bd=_0x454b48=0x1;}}());var _0x27dce8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1a0ead=_0x459cd6[_0x44df15(0x4b4)]=_0x22ea2f[_0x44df15(0x56c)]({'_doReset':function(){const _0x4bcb47=_0x44df15;var _0x236878;if(!(this['_nRounds']&&this[_0x4bcb47(0x226)]===this[_0x4bcb47(0x2a7)])){for(var _0x194d3f=this[_0x4bcb47(0x226)]=this['_key'],_0x15d342=_0x194d3f['words'],_0xbfe8a=_0x194d3f['sigBytes']/0x4,_0x37036d=this[_0x4bcb47(0x56f)]=_0xbfe8a+0x6,_0x59640b=(_0x37036d+0x1)*0x4,_0x1ae4c3=this['_keySchedule']=[],_0x3944ff=0x0;_0x3944ff<_0x59640b;_0x3944ff++)_0x3944ff<_0xbfe8a?_0x1ae4c3[_0x3944ff]=_0x15d342[_0x3944ff]:(_0x236878=_0x1ae4c3[_0x3944ff-0x1],_0x3944ff%_0xbfe8a?_0xbfe8a>0x6&&_0x3944ff%_0xbfe8a==0x4&&(_0x236878=_0x3bfe5c[_0x236878>>>0x18]<<0x18|_0x3bfe5c[_0x236878>>>0x10&0xff]<<0x10|_0x3bfe5c[_0x236878>>>0x8&0xff]<<0x8|_0x3bfe5c[_0x236878&0xff]):(_0x236878=_0x236878<<0x8|_0x236878>>>0x18,_0x236878=_0x3bfe5c[_0x236878>>>0x18]<<0x18|_0x3bfe5c[_0x236878>>>0x10&0xff]<<0x10|_0x3bfe5c[_0x236878>>>0x8&0xff]<<0x8|_0x3bfe5c[_0x236878&0xff],_0x236878^=_0x27dce8[_0x3944ff/_0xbfe8a|0x0]<<0x18),_0x1ae4c3[_0x3944ff]=_0x1ae4c3[_0x3944ff-_0xbfe8a]^_0x236878);for(var _0x4c51b2=this['_invKeySchedule']=[],_0x4ad820=0x0;_0x4ad820<_0x59640b;_0x4ad820++){var _0x3944ff=_0x59640b-_0x4ad820;if(_0x4ad820%0x4)var _0x236878=_0x1ae4c3[_0x3944ff];else var _0x236878=_0x1ae4c3[_0x3944ff-0x4];_0x4ad820<0x4||_0x3944ff<=0x4?_0x4c51b2[_0x4ad820]=_0x236878:_0x4c51b2[_0x4ad820]=_0x60de71[_0x3bfe5c[_0x236878>>>0x18]]^_0x4ee4ef[_0x3bfe5c[_0x236878>>>0x10&0xff]]^_0x2ccb4b[_0x3bfe5c[_0x236878>>>0x8&0xff]]^_0x54091a[_0x3bfe5c[_0x236878&0xff]];}}},'encryptBlock':function(_0x37a5d6,_0x1bff78){const _0x56fad1=_0x44df15;this['_doCryptBlock'](_0x37a5d6,_0x1bff78,this[_0x56fad1(0x697)],_0x42cbeb,_0x7f8b98,_0x528c0b,_0x123af4,_0x3bfe5c);},'decryptBlock':function(_0x30a6ee,_0x3eb6a8){const _0x1e1841=_0x44df15;var _0x3f640d=_0x30a6ee[_0x3eb6a8+0x1];_0x30a6ee[_0x3eb6a8+0x1]=_0x30a6ee[_0x3eb6a8+0x3],_0x30a6ee[_0x3eb6a8+0x3]=_0x3f640d,this[_0x1e1841(0x6aa)](_0x30a6ee,_0x3eb6a8,this['_invKeySchedule'],_0x60de71,_0x4ee4ef,_0x2ccb4b,_0x54091a,_0x15cebb);var _0x3f640d=_0x30a6ee[_0x3eb6a8+0x1];_0x30a6ee[_0x3eb6a8+0x1]=_0x30a6ee[_0x3eb6a8+0x3],_0x30a6ee[_0x3eb6a8+0x3]=_0x3f640d;},'_doCryptBlock':function(_0x13f3a9,_0x23890b,_0x3f09c7,_0x361783,_0x51ad1b,_0x4f263d,_0x4e45f4,_0x3be146){for(var _0x1a5484=this['_nRounds'],_0x3ab0ba=_0x13f3a9[_0x23890b]^_0x3f09c7[0x0],_0x69cf74=_0x13f3a9[_0x23890b+0x1]^_0x3f09c7[0x1],_0x33a217=_0x13f3a9[_0x23890b+0x2]^_0x3f09c7[0x2],_0x18a493=_0x13f3a9[_0x23890b+0x3]^_0x3f09c7[0x3],_0x8f3369=0x4,_0x581a07=0x1;_0x581a07<_0x1a5484;_0x581a07++){var _0x2b7fe8=_0x361783[_0x3ab0ba>>>0x18]^_0x51ad1b[_0x69cf74>>>0x10&0xff]^_0x4f263d[_0x33a217>>>0x8&0xff]^_0x4e45f4[_0x18a493&0xff]^_0x3f09c7[_0x8f3369++],_0x172abf=_0x361783[_0x69cf74>>>0x18]^_0x51ad1b[_0x33a217>>>0x10&0xff]^_0x4f263d[_0x18a493>>>0x8&0xff]^_0x4e45f4[_0x3ab0ba&0xff]^_0x3f09c7[_0x8f3369++],_0x58cc9c=_0x361783[_0x33a217>>>0x18]^_0x51ad1b[_0x18a493>>>0x10&0xff]^_0x4f263d[_0x3ab0ba>>>0x8&0xff]^_0x4e45f4[_0x69cf74&0xff]^_0x3f09c7[_0x8f3369++],_0x189013=_0x361783[_0x18a493>>>0x18]^_0x51ad1b[_0x3ab0ba>>>0x10&0xff]^_0x4f263d[_0x69cf74>>>0x8&0xff]^_0x4e45f4[_0x33a217&0xff]^_0x3f09c7[_0x8f3369++];_0x3ab0ba=_0x2b7fe8,_0x69cf74=_0x172abf,_0x33a217=_0x58cc9c,_0x18a493=_0x189013;}var _0x2b7fe8=(_0x3be146[_0x3ab0ba>>>0x18]<<0x18|_0x3be146[_0x69cf74>>>0x10&0xff]<<0x10|_0x3be146[_0x33a217>>>0x8&0xff]<<0x8|_0x3be146[_0x18a493&0xff])^_0x3f09c7[_0x8f3369++],_0x172abf=(_0x3be146[_0x69cf74>>>0x18]<<0x18|_0x3be146[_0x33a217>>>0x10&0xff]<<0x10|_0x3be146[_0x18a493>>>0x8&0xff]<<0x8|_0x3be146[_0x3ab0ba&0xff])^_0x3f09c7[_0x8f3369++],_0x58cc9c=(_0x3be146[_0x33a217>>>0x18]<<0x18|_0x3be146[_0x18a493>>>0x10&0xff]<<0x10|_0x3be146[_0x3ab0ba>>>0x8&0xff]<<0x8|_0x3be146[_0x69cf74&0xff])^_0x3f09c7[_0x8f3369++],_0x189013=(_0x3be146[_0x18a493>>>0x18]<<0x18|_0x3be146[_0x3ab0ba>>>0x10&0xff]<<0x10|_0x3be146[_0x69cf74>>>0x8&0xff]<<0x8|_0x3be146[_0x33a217&0xff])^_0x3f09c7[_0x8f3369++];_0x13f3a9[_0x23890b]=_0x2b7fe8,_0x13f3a9[_0x23890b+0x1]=_0x172abf,_0x13f3a9[_0x23890b+0x2]=_0x58cc9c,_0x13f3a9[_0x23890b+0x3]=_0x189013;},'keySize':0x100/0x20});_0x651e7e[_0x44df15(0x4b4)]=_0x22ea2f[_0x44df15(0x214)](_0x1a0ead);}()),_0x3af075['AES'];}));}(ke)),ke[_0x7b3f76(0x4dd)];}var Ds=ys();const Ps=$e(Ds);var ws=ji();const ci=$e(ws);var ze={'exports':{}},Us=ze[_0x361975(0x4dd)],li;function Ms(){const _0x4129d6=_0x361975;return li||(li=0x1,function(_0x472e80,_0x4e6e93){(function(_0x5a4ea9,_0x443609){_0x472e80['exports']=_0x443609(se());}(Us,function(_0x43a189){const _0x1a7f66=_0x3094;return _0x43a189[_0x1a7f66(0x4da)][_0x1a7f66(0x687)];}));}(ze)),ze[_0x4129d6(0x4dd)];}var Ns=Ms();const As=$e(Ns);var Xe={'exports':{}},Ls=Xe[_0x361975(0x4dd)],hi;function xs(){const _0x42b71b=_0x361975;return hi||(hi=0x1,function(_0x446cdc,_0x38ffa0){(function(_0x39d763,_0x3a34b3){const _0x1dafe0=_0x3094;_0x446cdc[_0x1dafe0(0x4dd)]=_0x3a34b3(se());}(Ls,function(_0xc5fac3){const _0x586c52=_0x3094;return(function(){const _0x5e0754=_0x3094;if(typeof ArrayBuffer==_0x5e0754(0x455)){var _0x5f037=_0xc5fac3,_0x330ec9=_0x5f037[_0x5e0754(0x506)],_0x3b9c3a=_0x330ec9[_0x5e0754(0x3c1)],_0xf6d670=_0x3b9c3a[_0x5e0754(0x66b)],_0x2d70a7=_0x3b9c3a[_0x5e0754(0x66b)]=function(_0x326c6b){const _0x56f519=_0x5e0754;if(_0x326c6b instanceof ArrayBuffer&&(_0x326c6b=new Uint8Array(_0x326c6b)),(_0x326c6b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x326c6b instanceof Uint8ClampedArray||_0x326c6b instanceof Int16Array||_0x326c6b instanceof Uint16Array||_0x326c6b instanceof Int32Array||_0x326c6b instanceof Uint32Array||_0x326c6b instanceof Float32Array||_0x326c6b instanceof Float64Array)&&(_0x326c6b=new Uint8Array(_0x326c6b[_0x56f519(0x4e3)],_0x326c6b[_0x56f519(0x440)],_0x326c6b[_0x56f519(0x490)])),_0x326c6b instanceof Uint8Array){for(var _0x196ab0=_0x326c6b[_0x56f519(0x490)],_0x4d0204=[],_0x363b33=0x0;_0x363b33<_0x196ab0;_0x363b33++)_0x4d0204[_0x363b33>>>0x2]|=_0x326c6b[_0x363b33]<<0x18-_0x363b33%0x4*0x8;_0xf6d670[_0x56f519(0x489)](this,_0x4d0204,_0x196ab0);}else _0xf6d670['apply'](this,arguments);};_0x2d70a7['prototype']=_0x3b9c3a;}}()),_0xc5fac3['lib'][_0x586c52(0x3c1)];}));}(Xe)),Xe[_0x42b71b(0x4dd)];}var $s=xs();const js=$e($s);var Je={'exports':{}},Hs=Je[_0x361975(0x4dd)],_i;function Bs(){return _i||(_i=0x1,function(_0x179e59,_0x10b5fe){(function(_0x10f13e,_0x4f751d,_0x3921ee){const _0x2aeecd=_0x3094;_0x179e59[_0x2aeecd(0x4dd)]=_0x4f751d(se(),Bi());}(Hs,function(_0x59908d){const _0x2765d9=_0x3094;return _0x59908d[_0x2765d9(0x1fb)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x59908d[_0x2765d9(0x1fb)][_0x2765d9(0x5d1)];}));}(Je)),Je['exports'];}var ks=Bs();const Ws=$e(ks);function Fs(_0x31f626,_0x29b31d){const _0x2d57b9=_0x361975,_0x54f40d=_0x29b31d-_0x31f626[_0x2d57b9(0x31c)]%_0x29b31d,_0x21ab00=String[_0x2d57b9(0x49d)](_0x54f40d)[_0x2d57b9(0x2bb)](_0x54f40d);return _0x31f626+_0x21ab00;}function Vs(_0x2954bd,_0x26c221){const _0x1879e2=_0x361975,_0x2264e2=js[_0x1879e2(0x582)](0x10),_0x2350f4=Fs(_0x2954bd,0x10),_0x3d015c=Ps['encrypt'](As[_0x1879e2(0x345)](_0x2350f4),ci['parse'](_0x26c221),{'iv':_0x2264e2,'padding':Ws});return _0x2264e2[_0x1879e2(0x2d4)](_0x3d015c[_0x1879e2(0x624)])[_0x1879e2(0x620)](ci);}function Gs(){const _0x3cb360=_0x361975,_0x22fdee=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x3cb360(0x4ba)];if(_0x22fdee){const _0x2abab7={'time':Math[_0x3cb360(0x5c2)](Date['now']()/0x3e8),'domain':location['hostname']};return Vs(JSON[_0x3cb360(0x5a9)](_0x2abab7),_0x22fdee);}}var Ys=Object['defineProperty'],qs=Object[_0x361975(0x3bb)],Ks=(_0x5c64d4,_0x4cafeb,_0x2be3fa,_0x224248)=>{const _0x2c518b=_0x361975;for(var _0xec61b0=_0x224248>0x1?void 0x0:_0x224248?qs(_0x4cafeb,_0x2be3fa):_0x4cafeb,_0x332dcf=_0x5c64d4[_0x2c518b(0x31c)]-0x1,_0x23f5fb;_0x332dcf>=0x0;_0x332dcf--)(_0x23f5fb=_0x5c64d4[_0x332dcf])&&(_0xec61b0=(_0x224248?_0x23f5fb(_0x4cafeb,_0x2be3fa,_0xec61b0):_0x23f5fb(_0xec61b0))||_0xec61b0);return _0x224248&&_0xec61b0&&Ys(_0x4cafeb,_0x2be3fa,_0xec61b0),_0xec61b0;},zs=(_0x1258b4,_0x2db7fe)=>(_0x2c718c,_0x4d36da)=>_0x2db7fe(_0x2c718c,_0x4d36da,_0x1258b4);let st=class{constructor(_0x200aa3){const _0x5c1aaf=_0x361975;this['_httpService']=_0x200aa3,this[_0x5c1aaf(0x613)]();}['_initRequestHeader'](){const _0x44d3e2=_0x361975;this[_0x44d3e2(0x53b)][_0x44d3e2(0x677)]({'interceptor':(_0x5e36bc,_0x802dc8)=>{const _0x3e5769=_0x44d3e2,_0x5bf0a4=_0x5e36bc['headers'],_0x2a4a9d=Gs();return _0x2a4a9d&&_0x5bf0a4[_0x3e5769(0x69a)](_0x3e5769(0x36b),_0x2a4a9d),_0x802dc8(_0x5e36bc);}});}};st=Ks([zs(0x0,a['Inject'](z['HTTPService']))],st);var Xs=Object['defineProperty'],Js=Object[_0x361975(0x3bb)],Zs=(_0x2ea65a,_0xe9aa3b,_0x2838b0,_0x369e71)=>{const _0x447c25=_0x361975;for(var _0x3a689f=_0x369e71>0x1?void 0x0:_0x369e71?Js(_0xe9aa3b,_0x2838b0):_0xe9aa3b,_0x4a24f5=_0x2ea65a[_0x447c25(0x31c)]-0x1,_0x46fe37;_0x4a24f5>=0x0;_0x4a24f5--)(_0x46fe37=_0x2ea65a[_0x4a24f5])&&(_0x3a689f=(_0x369e71?_0x46fe37(_0xe9aa3b,_0x2838b0,_0x3a689f):_0x46fe37(_0x3a689f))||_0x3a689f);return _0x369e71&&_0x3a689f&&Xs(_0xe9aa3b,_0x2838b0,_0x3a689f),_0x3a689f;},Et=(_0x55b817,_0x3d66d4)=>(_0x346088,_0x47a52f)=>_0x3d66d4(_0x346088,_0x47a52f,_0x55b817);const Qs=[_0x361975(0x257),_0x361975(0x3a5),_0x361975(0x563),_0x361975(0x59c),'image/bmp'],eo=0x5*0x400*0x400,to=_0x361975(0x537),io='/universer-api/stream/file/upload',no='EXCHANGE_SIGN_URL_SERVER_URL_KEY',ro=_0x361975(0x3dc);exports[_0x361975(0x25e)]=class{constructor(_0x26617a,_0x1305b3,_0x1f84ce){const _0x211f81=_0x361975;I(this,_0x211f81(0x49a),0x0),I(this,_0x211f81(0x2a8),new N[(_0x211f81(0x3e1))]()),I(this,_0x211f81(0x207),this[_0x211f81(0x2a8)]),I(this,_0x211f81(0x577),new Map()),(this[_0x211f81(0x53b)]=_0x26617a,this[_0x211f81(0x32b)]=_0x1305b3,this['_univerInstanceService']=_0x1f84ce);}[_0x361975(0x55a)](_0x533795){const _0x3611f0=_0x361975;this[_0x3611f0(0x49a)]=_0x533795,this[_0x3611f0(0x2a8)][_0x3611f0(0x514)](_0x533795);}[_0x361975(0x2ca)](_0x13ea23,_0x1c6c64){const _0x5959ab=_0x361975;if(_0x1c6c64===te[_0x5959ab(0x656)]['BASE64']){const _0x97801f=new Image();return _0x97801f[_0x5959ab(0x33a)]=_0x13ea23,_0x97801f;}return this['_imageSourceCache'][_0x5959ab(0x5e3)](_0x13ea23);}[_0x361975(0x480)](_0x10c61a,_0x3e0d29,_0x412f2d){const _0x4924f3=_0x361975;_0x3e0d29===te[_0x4924f3(0x656)][_0x4924f3(0x5d3)]||_0x412f2d==null||this[_0x4924f3(0x577)]['set'](_0x10c61a,_0x412f2d);}async[_0x361975(0x377)](_0x381191){const _0x57adde=_0x361975;try{const _0x556e98=this[_0x57adde(0x263)](this[_0x57adde(0x36f)](),''+_0x381191),_0x36e528=(await this[_0x57adde(0x53b)][_0x57adde(0x5e3)](_0x556e98))[_0x57adde(0x2eb)];if(_0x36e528[_0x57adde(0x384)]&&_0x36e528[_0x57adde(0x384)]['code']===bi['OK']){const _0x331359=new URL(_0x36e528[_0x57adde(0x661)],this[_0x57adde(0x200)]())['toString']();return Promise[_0x57adde(0x446)](_0x331359);}return Promise[_0x57adde(0x5f4)](_0x36e528[_0x57adde(0x384)]);}catch(_0x554694){return Promise[_0x57adde(0x5f4)](_0x554694);}}async[_0x361975(0x453)](_0x11c7a7){const _0xd37a70=_0x361975;let _0x36e45='';if(!Qs[_0xd37a70(0x406)](_0x11c7a7[_0xd37a70(0x585)]))return this[_0xd37a70(0x650)](),Promise[_0xd37a70(0x5f4)](new Error(te[_0xd37a70(0x43d)][_0xd37a70(0x5a5)]));if(_0x11c7a7['size']>eo)return this[_0xd37a70(0x650)](),Promise[_0xd37a70(0x5f4)](new Error(te[_0xd37a70(0x43d)][_0xd37a70(0x1f2)]));try{const _0xef689b=new FormData();_0xef689b['append'](_0xd37a70(0x31a),_0x11c7a7);const _0x113ac4=this[_0xd37a70(0x491)]['getFocusedUnit'](),_0x141661=_0x113ac4==null?void 0x0:_0x113ac4['getUnitId']();if(!_0x141661)throw new Error(_0xd37a70(0x3c6));const _0x6d18ff=this[_0xd37a70(0x390)]()+_0xd37a70(0x281)+_0x11c7a7[_0xd37a70(0x24d)]['toString']()+_0xd37a70(0x590)+Ti[_0xd37a70(0x618)]+'&assign='+encodeURIComponent(_0x141661),_0x4e2f4c=await(await fetch(_0x6d18ff,{'method':'POST','body':_0xef689b}))[_0xd37a70(0x503)]();if(typeof _0x4e2f4c[_0xd37a70(0x1e7)]!='string')return this[_0xd37a70(0x650)](),Promise[_0xd37a70(0x5f4)](new Error(te['ImageUploadStatusType'][_0xd37a70(0x54c)]));_0x36e45=_0x4e2f4c[_0xd37a70(0x1e7)];}catch{return this[_0xd37a70(0x650)](),Promise['reject'](new Error(te[_0xd37a70(0x43d)][_0xd37a70(0x54c)]));}return new Promise((_0x5c1b0f,_0xfaaf1)=>{const _0x59d0c3=new FileReader();_0x59d0c3['readAsDataURL'](_0x11c7a7),_0x59d0c3['onload']=_0x433415=>{const _0x5f4be6=_0x3094;var _0x35f976;const _0x1de946=(_0x35f976=_0x433415[_0x5f4be6(0x5e9)])==null?void 0x0:_0x35f976['result'];if(_0x1de946==null){this[_0x5f4be6(0x650)](),_0xfaaf1(new Error(te[_0x5f4be6(0x43d)][_0x5f4be6(0x54c)]));return;}const _0x3b946d=a[_0x5f4be6(0x344)][_0x5f4be6(0x22d)](0x6);_0x5c1b0f({'imageId':_0x3b946d,'imageSourceType':te[_0x5f4be6(0x656)]['UUID'],'source':_0x36e45,'base64Cache':_0x1de946,'status':te[_0x5f4be6(0x43d)][_0x5f4be6(0x3c9)]}),this[_0x5f4be6(0x650)]();};});}[_0x361975(0x390)](){const _0x4e0275=_0x361975;var _0x2eb5bc,_0x436c14;const _0xaad570=this[_0x4e0275(0x32b)][_0x4e0275(0x269)](to),_0x783440=this[_0x4e0275(0x32b)][_0x4e0275(0x269)](Z);return(_0x436c14=(_0x2eb5bc=_0x783440==null?void 0x0:_0x783440['uploadFileServerUrl'])!=null?_0x2eb5bc:_0xaad570)!=null?_0x436c14:io;}[_0x361975(0x36f)](){const _0x468c36=_0x361975;var _0x280900,_0x21eb0b;const _0x5d7093=this[_0x468c36(0x32b)][_0x468c36(0x269)](no),_0x19d63a=this[_0x468c36(0x32b)][_0x468c36(0x269)](Z);return(_0x21eb0b=(_0x280900=_0x19d63a==null?void 0x0:_0x19d63a[_0x468c36(0x5bd)])!=null?_0x280900:_0x5d7093)!=null?_0x21eb0b:ro;}[_0x361975(0x200)](){const _0x57071f=_0x361975;var _0x4eba9f;const _0xb3a6c4=this[_0x57071f(0x32b)][_0x57071f(0x269)](Z);return(_0x4eba9f=_0xb3a6c4==null?void 0x0:_0xb3a6c4[_0x57071f(0x682)])!=null?_0x4eba9f:location[_0x57071f(0x370)];}['_replaceFileID'](_0x3a7045,_0xb10235){const _0x2a9d51=_0x361975;return _0x3a7045['replace'](_0x2a9d51(0x52a),_0xb10235);}[_0x361975(0x650)](){const _0x45237f=_0x361975;this[_0x45237f(0x49a)]-=0x1,this[_0x45237f(0x2a8)][_0x45237f(0x514)](this['_waitCount']);}},exports[_0x361975(0x25e)]=Zs([Et(0x0,a['Inject'](z['HTTPService'])),Et(0x1,a['IConfigService']),Et(0x2,a[_0x361975(0x4b5)](a['IUniverInstanceService']))],exports[_0x361975(0x25e)]);var so=Object[_0x361975(0x23f)],oo=Object[_0x361975(0x3bb)],ao=(_0x2f884b,_0x15f977,_0x4c540f,_0x552c28)=>{for(var _0x462de4=_0x552c28>0x1?void 0x0:_0x552c28?oo(_0x15f977,_0x4c540f):_0x15f977,_0xe4cc23=_0x2f884b['length']-0x1,_0x452edf;_0xe4cc23>=0x0;_0xe4cc23--)(_0x452edf=_0x2f884b[_0xe4cc23])&&(_0x462de4=(_0x552c28?_0x452edf(_0x15f977,_0x4c540f,_0x462de4):_0x452edf(_0x462de4))||_0x462de4);return _0x552c28&&_0x462de4&&so(_0x15f977,_0x4c540f,_0x462de4),_0x462de4;},ui=(_0x5981f9,_0x54a854)=>(_0x123c69,_0x38c34c)=>_0x54a854(_0x123c69,_0x38c34c,_0x5981f9);const co=_0x361975(0x64e);exports[_0x361975(0x41f)]=class{constructor(_0x7c818b,_0x52c0d7){this['_configService']=_0x7c818b,this['_HTTPService']=_0x52c0d7;}[_0x361975(0x4d1)](){const _0x2d3f84=_0x361975;var _0x5aa25a,_0x5aae2a;const _0xd01cf5=this['_configService'][_0x2d3f84(0x269)](xt),_0xbf4807=this[_0x2d3f84(0x32b)]['getConfig'](Z);return(_0x5aae2a=(_0x5aa25a=_0xbf4807==null?void 0x0:_0xbf4807['authzUrl'])!=null?_0x5aa25a:_0xd01cf5)!=null?_0x5aae2a:co;}async[_0x361975(0x679)](_0x1bc798){const _0x41dd94=_0x361975,_0x197fb2=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x41dd94(0x1fa)][_0x41dd94(0x5e3)](_0x197fb2,{'params':{'objectID':_0x1bc798[_0x41dd94(0x693)],'unitID':_0x1bc798['unitId']}}))[_0x41dd94(0x2eb)][_0x41dd94(0x413)][_0x41dd94(0x4ec)](_0x58e05c=>({'objectId':_0x58e05c['id'],'name':_0x58e05c[_0x41dd94(0x606)]['name'],'metadata':{'icon':_0x58e05c[_0x41dd94(0x606)]['avatar']},'label':_0x58e05c['subject'][_0x41dd94(0x5a6)],'objectType':a[_0x41dd94(0x379)][_0x41dd94(0x324)]})),'metadata':{},'type':a['MentionType'][_0x41dd94(0x324)]}]};}},exports[_0x361975(0x41f)]=ao([ui(0x0,a[_0x361975(0x4b5)](a[_0x361975(0x314)])),ui(0x1,a['Inject'](z[_0x361975(0x4c2)]))],exports[_0x361975(0x41f)]);var lo=Object[_0x361975(0x23f)],ho=Object[_0x361975(0x3bb)],_o=(_0x4e46cb,_0xf90116,_0x18c2bf,_0x5eec8b)=>{const _0x2bc356=_0x361975;for(var _0x13180=_0x5eec8b>0x1?void 0x0:_0x5eec8b?ho(_0xf90116,_0x18c2bf):_0xf90116,_0xd14476=_0x4e46cb[_0x2bc356(0x31c)]-0x1,_0x5ee2c0;_0xd14476>=0x0;_0xd14476--)(_0x5ee2c0=_0x4e46cb[_0xd14476])&&(_0x13180=(_0x5eec8b?_0x5ee2c0(_0xf90116,_0x18c2bf,_0x13180):_0x5ee2c0(_0x13180))||_0x13180);return _0x5eec8b&&_0x13180&&lo(_0xf90116,_0x18c2bf,_0x13180),_0x13180;},Ne=(_0x1e2c1e,_0x1fdeed)=>(_0x25b25c,_0x3e0894)=>_0x1fdeed(_0x25b25c,_0x3e0894,_0x1e2c1e);let ot=class extends a['RxDisposable']{constructor(_0x277c70,_0x597f61,_0x280554,_0x46443f,_0x3f3cfa){const _0x32e4ce=_0x361975;super(),this[_0x32e4ce(0x5f2)]=_0x277c70,this[_0x32e4ce(0x491)]=_0x597f61,this[_0x32e4ce(0x27a)]=_0x280554,this['_collaborationSessionService']=_0x46443f,this['_localeService']=_0x3f3cfa,this[_0x32e4ce(0x5e6)](),this[_0x32e4ce(0x5d8)]();}[_0x361975(0x5d8)](){const _0x3b3fd3=_0x361975,_0x132343=async _0x5b179b=>{const _0x231ae8=_0x3094;(await this[_0x231ae8(0x4e5)][_0x231ae8(0x21c)](_0x5b179b))[_0x231ae8(0x52e)][_0x231ae8(0x256)](V['filter'](_0x330874=>_0x330874[_0x231ae8(0x395)]===m[_0x231ae8(0x3aa)][_0x231ae8(0x1f0)]),V[_0x231ae8(0x23d)](this['dispose$']))[_0x231ae8(0x2d2)](_0x674fcd=>{const _0x2a952c=_0x231ae8,_0x2d4301=_0x674fcd,{reason:_0x595545}=_0x2d4301[_0x2a952c(0x405)];this[_0x2a952c(0x5f2)][_0x2a952c(0x5e3)](ee[_0x2a952c(0x4a0)])[_0x2a952c(0x4d8)]({'type':Ce[_0x2a952c(0x42c)][_0x2a952c(0x44f)],'content':this[_0x2a952c(0x312)]['t'](_0x2a952c(0x35e))+'('+_0x595545+')'}),this['_permissionService'][_0x2a952c(0x5ba)](new k[(_0x2a952c(0x361))](_0x5b179b)['id'],!0x1),this[_0x2a952c(0x4e5)][_0x2a952c(0x2fd)](_0x5b179b);});};N[_0x3b3fd3(0x5dd)](this[_0x3b3fd3(0x491)][_0x3b3fd3(0x6ad)](a[_0x3b3fd3(0x481)][_0x3b3fd3(0x327)]),this[_0x3b3fd3(0x491)][_0x3b3fd3(0x6ad)](a[_0x3b3fd3(0x481)]['UNIVER_DOC']))['pipe'](V[_0x3b3fd3(0x4ec)](_0x4d28f6=>_0x4d28f6['getUnitId']()),V[_0x3b3fd3(0x4f0)](_0x421c4b=>!a[_0x3b3fd3(0x602)](_0x421c4b)),V[_0x3b3fd3(0x23d)](this[_0x3b3fd3(0x3cd)]))[_0x3b3fd3(0x2d2)](_0x27f7a=>{_0x132343(_0x27f7a);});}['_initUnitPermissionChange'](){const _0x5a37d2=_0x361975,_0x255eb6=async _0x1691a1=>{const _0x47b2c1=_0x3094;(await this['_collaborationSessionService']['requireSession'](_0x1691a1))[_0x47b2c1(0x52e)][_0x47b2c1(0x256)](V[_0x47b2c1(0x4f0)](_0x94ebad=>_0x94ebad['eventID']===m['CollaborationEvent'][_0x47b2c1(0x54b)]),V[_0x47b2c1(0x23d)](this['dispose$']))['subscribe'](_0x523133=>{const _0x87e659=_0x47b2c1,_0x4f5dfa=_0x523133,{objectId:_0x10d2c4}=_0x4f5dfa['data'],_0x2291cf=this[_0x87e659(0x5f2)][_0x87e659(0x5e3)](Le[_0x87e659(0x543)]);_0x10d2c4===_0x1691a1?_0x2291cf[_0x87e659(0x294)](_0x1691a1):_0x2291cf[_0x87e659(0x39f)](_0x1691a1,_0x10d2c4);});};N['merge'](this[_0x5a37d2(0x491)][_0x5a37d2(0x6ad)](a[_0x5a37d2(0x481)][_0x5a37d2(0x327)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x5a37d2(0x5f5)]))['pipe'](V[_0x5a37d2(0x4ec)](_0x2cce3c=>_0x2cce3c[_0x5a37d2(0x5db)]()),V['filter'](_0x15eab6=>!a['isInternalEditorID'](_0x15eab6)),V[_0x5a37d2(0x23d)](this[_0x5a37d2(0x3cd)]))['subscribe'](_0x7f4ffc=>{_0x255eb6(_0x7f4ffc);});}};ot=_o([Ne(0x0,a[_0x361975(0x4b5)](a['Injector'])),Ne(0x1,a[_0x361975(0x63c)]),Ne(0x2,a[_0x361975(0x53f)]),Ne(0x3,a[_0x361975(0x4b5)](exports[_0x361975(0x245)])),Ne(0x4,a[_0x361975(0x4b5)](a['LocaleService']))],ot);var uo=Object[_0x361975(0x23f)],fo=Object[_0x361975(0x3bb)],vo=(_0x4e84c4,_0x395a0d,_0x4375f2,_0x50d5b9)=>{for(var _0x4a91d8=_0x50d5b9>0x1?void 0x0:_0x50d5b9?fo(_0x395a0d,_0x4375f2):_0x395a0d,_0xcf908=_0x4e84c4['length']-0x1,_0x268916;_0xcf908>=0x0;_0xcf908--)(_0x268916=_0x4e84c4[_0xcf908])&&(_0x4a91d8=(_0x50d5b9?_0x268916(_0x395a0d,_0x4375f2,_0x4a91d8):_0x268916(_0x4a91d8))||_0x4a91d8);return _0x50d5b9&&_0x4a91d8&&uo(_0x395a0d,_0x4375f2,_0x4a91d8),_0x4a91d8;},di=(_0x997385,_0x32aa0b)=>(_0x175c7e,_0x515ffb)=>_0x32aa0b(_0x175c7e,_0x515ffb,_0x997385);exports[_0x361975(0x2b0)]=class{constructor(_0x3617e2,_0x4548d7){const _0x5f4c99=_0x361975;this[_0x5f4c99(0x32b)]=_0x3617e2,this[_0x5f4c99(0x53b)]=_0x4548d7;}async['getUnitOnRev'](_0x318ad3,_0x37b113){const _0x1f2456=_0x361975;var _0x13fbc5;const {unitID:_0x8ffd2,type:_0x389248,revision:_0x2f90fc=0x0}=_0x37b113,_0x2458c5=this[_0x1f2456(0x5ad)]()+'/'+_0x389248+_0x1f2456(0x341)+_0x8ffd2+_0x1f2456(0x24b)+_0x2f90fc,_0x4b6488=(await this[_0x1f2456(0x53b)][_0x1f2456(0x5e3)](_0x2458c5))[_0x1f2456(0x2eb)],_0x3ad7b3=(_0x13fbc5=_0x4b6488[_0x1f2456(0x29c)])==null?void 0x0:_0x13fbc5['workbook'];if(_0x3ad7b3){const _0x41269d=_0x3ad7b3==null?void 0x0:_0x3ad7b3[_0x1f2456(0x435)],_0x628462=m['textEncoder'][_0x1f2456(0x279)](m[_0x1f2456(0x4c0)](_0x41269d));_0x3ad7b3[_0x1f2456(0x435)]=_0x628462,Object[_0x1f2456(0x21d)](_0x3ad7b3[_0x1f2456(0x5b1)])[_0x1f2456(0x3d7)](([,_0x2c77ed])=>{const _0x20b484=_0x1f2456,_0x32dbf5=_0x2c77ed[_0x20b484(0x435)],_0x61877=m['textEncoder'][_0x20b484(0x279)](m[_0x20b484(0x4c0)](_0x32dbf5));_0x2c77ed[_0x20b484(0x435)]=_0x61877;});}return _0x4b6488;}async[_0x361975(0x47b)](_0x4b98dc,_0x346a76){const _0x17ab8c=_0x361975,{unitID:_0x249657,type:_0x20b745,blockID:_0x8d666}=_0x346a76,_0x315cb7=this[_0x17ab8c(0x668)]()+'/'+_0x20b745+_0x17ab8c(0x341)+_0x249657+'/block/'+_0x8d666;return(await this[_0x17ab8c(0x53b)][_0x17ab8c(0x5e3)](_0x315cb7))['body'];}async['getDeserializedSheetBlock'](_0x1db6e0,_0x3aa77a){const _0x202e8b=_0x361975,{unitID:_0x14f5db,type:_0x426e1a,blockID:_0x497c1b}=_0x3aa77a,_0x15d294=this[_0x202e8b(0x668)]()+'/block/'+_0x426e1a+_0x202e8b(0x341)+_0x14f5db+_0x202e8b(0x465)+_0x497c1b;return(await this['_httpService'][_0x202e8b(0x5e3)](_0x15d294))['body'];}async[_0x361975(0x642)](_0x5b668a,_0x14dcc3){const _0x11efca=_0x361975,{unitID:_0x30bce4,type:_0x416517,from:_0x238422,to:_0x44a899}=_0x14dcc3,_0xefb023=this[_0x11efca(0x668)]()+'/'+_0x416517+'/unit/'+_0x30bce4+_0x11efca(0x48b)+_0x238422+_0x11efca(0x500)+_0x44a899;return(await this['_httpService'][_0x11efca(0x5e3)](_0xefb023))['body'];}[_0x361975(0x5ad)](){const _0x3e859b=_0x361975;var _0x54f1fd;return(_0x54f1fd=this[_0x3e859b(0x32b)][_0x3e859b(0x269)](vi))!=null?_0x54f1fd:this['_getAPIPrefix']();}[_0x361975(0x668)](){const _0x47b52a=_0x361975;var _0x1732c8,_0x3bc2d9;const _0x1d32b6=this[_0x47b52a(0x32b)][_0x47b52a(0x269)](fi),_0x3a6075=this[_0x47b52a(0x32b)]['getConfig'](Z);return(_0x3bc2d9=(_0x1732c8=_0x3a6075==null?void 0x0:_0x3a6075[_0x47b52a(0x2c9)])!=null?_0x1732c8:_0x1d32b6)!=null?_0x3bc2d9:qi;}async['getResourcesRequest'](_0x1cc00e,_0x214100){const _0x23fdcd=_0x361975,_0x51f2fa=_0x23fdcd(0x57d)+_0x214100['type']+_0x23fdcd(0x341)+_0x214100['unitID']+_0x23fdcd(0x32c);return(await this[_0x23fdcd(0x53b)][_0x23fdcd(0x5e3)](_0x51f2fa,{'params':{'resourceId':JSON['stringify'](_0x214100[_0x23fdcd(0x3e8)])}}))['body'];}[_0x361975(0x5f3)](){const _0x1e0cfb=_0x361975;throw new Error(_0x1e0cfb(0x208));}[_0x361975(0x5bf)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x361975(0x203)](){const _0x107d99=_0x361975;throw new Error(_0x107d99(0x208));}[_0x361975(0x43a)](){const _0x4e94bf=_0x361975;throw new Error(_0x4e94bf(0x208));}[_0x361975(0x2fe)](){const _0x5608d5=_0x361975;throw new Error(_0x5608d5(0x208));}},exports[_0x361975(0x2b0)]=vo([di(0x0,a[_0x361975(0x314)]),di(0x1,a[_0x361975(0x4b5)](z[_0x361975(0x4c2)]))],exports[_0x361975(0x2b0)]);var So=Object[_0x361975(0x23f)],po=Object['getOwnPropertyDescriptor'],mo=(_0x4a16b3,_0x26e3c9,_0x4e06f8,_0x27d056)=>{const _0x2f988b=_0x361975;for(var _0xf89879=_0x27d056>0x1?void 0x0:_0x27d056?po(_0x26e3c9,_0x4e06f8):_0x26e3c9,_0x31541a=_0x4a16b3[_0x2f988b(0x31c)]-0x1,_0xd8dbdf;_0x31541a>=0x0;_0x31541a--)(_0xd8dbdf=_0x4a16b3[_0x31541a])&&(_0xf89879=(_0x27d056?_0xd8dbdf(_0x26e3c9,_0x4e06f8,_0xf89879):_0xd8dbdf(_0xf89879))||_0xf89879);return _0x27d056&&_0xf89879&&So(_0x26e3c9,_0x4e06f8,_0xf89879),_0xf89879;},Ae=(_0x2a9fd5,_0x233f93)=>(_0x3d7344,_0x598608)=>_0x233f93(_0x3d7344,_0x598608,_0x2a9fd5);let yt=class extends a[_0x361975(0x337)]{constructor(_0x49101b,_0x460b03,_0xe0202b,_0x1351ca,_0x2dfa1a){const _0xffca89=_0x361975;super(_0x49101b,_0x460b03,_0xe0202b),this[_0xffca89(0x1e8)]=_0x1351ca,this[_0xffca89(0x442)]=_0x2dfa1a;}[_0x361975(0x4cc)](_0x8ee43a,_0x156f49){const _0x279bb7=_0x361975,_0x2a6198=this[_0x279bb7(0x681)](_0x8ee43a);if(_0x2a6198)try{const _0x4102de=this[_0x279bb7(0x322)](_0x2a6198,_0x156f49);this[_0x279bb7(0x3da)](_0x8ee43a,_0x4102de);}catch(_0x22387a){this[_0x279bb7(0x442)][_0x279bb7(0x384)](_0x279bb7(0x660),_0x22387a),this[_0x279bb7(0x28e)](_0x8ee43a);}const _0x60dc9f=this[_0x279bb7(0x307)](_0x8ee43a);if(_0x60dc9f)try{const _0x127fb6=this[_0x279bb7(0x322)](_0x60dc9f,_0x156f49);this[_0x279bb7(0x4c6)](_0x8ee43a,_0x127fb6);}catch(_0xab601e){this[_0x279bb7(0x442)][_0x279bb7(0x384)](_0xab601e),this[_0x279bb7(0x663)](_0x8ee43a);}}[_0x361975(0x28e)](_0x4dea07){const _0x388c55=_0x361975,_0x36d7ea=this['_getUndoStack'](_0x4dea07);_0x36d7ea&&(_0x36d7ea[_0x388c55(0x31c)]=0x0,this[_0x388c55(0x6a0)]());}[_0x361975(0x663)](_0x268edf){const _0x26dddb=_0x361975,_0x54d9dc=this[_0x26dddb(0x307)](_0x268edf);_0x54d9dc&&(_0x54d9dc[_0x26dddb(0x31c)]=0x0,this[_0x26dddb(0x6a0)]());}['_substituteUndoStack'](_0x394e3e,_0x430fe8){const _0x5e1c70=_0x361975;this[_0x5e1c70(0x267)][_0x5e1c70(0x69a)](_0x394e3e,_0x430fe8),this[_0x5e1c70(0x6a0)]();}[_0x361975(0x4c6)](_0x57b8ab,_0x52f432){const _0x4dbb8a=_0x361975;this[_0x4dbb8a(0x62b)]['set'](_0x57b8ab,_0x52f432),this[_0x4dbb8a(0x6a0)]();}[_0x361975(0x322)](_0x54e008,_0x34e83e){const _0x461e2e=_0x361975,_0x2ddba4=[];let _0x1ac331=_0x34e83e,_0xf6dafc=_0x34e83e;for(let _0x225e27=_0x54e008['length']-0x1;_0x225e27>=0x0;_0x225e27--){const {unitID:_0x763a91,undoMutations:_0x21ed95,redoMutations:_0x1a9789}=_0x54e008[_0x225e27],_0x1339f4=this[_0x461e2e(0x1e8)][_0x461e2e(0x600)](_0x1ac331,_0x21ed95),_0x2c53c7=this[_0x461e2e(0x1e8)][_0x461e2e(0x600)](_0xf6dafc,_0x1a9789);if(m[_0x461e2e(0x40f)](_0x1339f4)||m['isTransformMutationsWithChangesetFailure'](_0x2c53c7)){this[_0x461e2e(0x442)][_0x461e2e(0x384)](_0x461e2e(0x660),_0x461e2e(0x2d8),_0x1339f4,_0x2c53c7);break;}_0x1ac331=_0x1339f4['c1Prime'],_0xf6dafc=_0x2c53c7[_0x461e2e(0x4ae)],_0x2ddba4[_0x461e2e(0x297)]({'unitID':_0x763a91,'undoMutations':_0x1339f4[_0x461e2e(0x298)],'redoMutations':_0x2c53c7[_0x461e2e(0x298)]});}return _0x2ddba4[_0x461e2e(0x2f0)]();}};yt=mo([Ae(0x0,a['IUniverInstanceService']),Ae(0x1,a['ICommandService']),Ae(0x2,a[_0x361975(0x2cf)]),Ae(0x3,m[_0x361975(0x24c)]),Ae(0x4,a[_0x361975(0x68e)])],yt);class ki extends a['RxDisposable']{constructor(){const _0x471611=_0x361975;super(),I(this,_0x471611(0x329)),this['urlChange$']=N[_0x471611(0x388)](window,_0x471611(0x485))[_0x471611(0x256)](N[_0x471611(0x23d)](this['dispose$']),N[_0x471611(0x3d9)](0x1),N[_0x471611(0x2f8)](void 0x0));}[_0x361975(0x32a)](_0x52611d,_0xf16c60,_0x46433f=!0x1){const _0x2c4f5f=_0x361975,_0x3009ad=new URL(window['location']['href']);_0x3009ad[_0x2c4f5f(0x220)][_0x2c4f5f(0x69a)](_0x52611d,_0xf16c60),_0x46433f?window[_0x2c4f5f(0x6b3)][_0x2c4f5f(0x686)]('','',_0x3009ad['toString']()):window[_0x2c4f5f(0x6b3)][_0x2c4f5f(0x3d2)]('','',_0x3009ad[_0x2c4f5f(0x620)]());}[_0x361975(0x5b2)](_0x189cbf,_0x246481=!0x1){const _0x166be1=_0x361975,_0x73e3ae=new URL(window['location'][_0x166be1(0x5f9)]);_0x73e3ae[_0x166be1(0x220)][_0x166be1(0x335)](_0x189cbf),_0x246481?window[_0x166be1(0x6b3)][_0x166be1(0x686)]('','',_0x73e3ae[_0x166be1(0x620)]()):window[_0x166be1(0x6b3)][_0x166be1(0x3d2)]('','',_0x73e3ae[_0x166be1(0x620)]());}[_0x361975(0x499)](_0x4f64b6){const _0x2924e9=_0x361975;var _0x297691;return(_0x297691=new URL(window[_0x2924e9(0x313)][_0x2924e9(0x5f9)])['searchParams'][_0x2924e9(0x5e3)](_0x4f64b6))!=null?_0x297691:void 0x0;}}var Wi=Object[_0x361975(0x23f)],go=Object[_0x361975(0x3bb)],Io=(_0x1f5a04,_0x5919a8,_0x19d7cd)=>_0x5919a8 in _0x1f5a04?Wi(_0x1f5a04,_0x5919a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19d7cd}):_0x1f5a04[_0x5919a8]=_0x19d7cd,Co=(_0x54796d,_0x5a1bd7,_0x2c91e9,_0x4ccfe8)=>{const _0x3b7954=_0x361975;for(var _0x1db163=_0x4ccfe8>0x1?void 0x0:_0x4ccfe8?go(_0x5a1bd7,_0x2c91e9):_0x5a1bd7,_0x2e75ff=_0x54796d[_0x3b7954(0x31c)]-0x1,_0x1b554f;_0x2e75ff>=0x0;_0x2e75ff--)(_0x1b554f=_0x54796d[_0x2e75ff])&&(_0x1db163=(_0x4ccfe8?_0x1b554f(_0x5a1bd7,_0x2c91e9,_0x1db163):_0x1b554f(_0x1db163))||_0x1db163);return _0x4ccfe8&&_0x1db163&&Wi(_0x5a1bd7,_0x2c91e9,_0x1db163),_0x1db163;},Be=(_0x198fc1,_0x5dbc1b)=>(_0x12959d,_0x4dddf9)=>_0x5dbc1b(_0x12959d,_0x4dddf9,_0x198fc1),Eo=(_0x546fcb,_0x411e3c,_0x70f7b2)=>Io(_0x546fcb,_0x411e3c+'',_0x70f7b2);const bo='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports['UniverCollaborationClientPlugin']=class extends a[_0x361975(0x431)]{constructor(_0x38d73d=sn,_0x1c56f3,_0x156f66,_0x309978,_0x30b399){const _0x130d21=_0x361975;super(),this[_0x130d21(0x57e)]=_0x38d73d,this[_0x130d21(0x442)]=_0x1c56f3,this[_0x130d21(0x594)]=_0x156f66,this[_0x130d21(0x5f2)]=_0x309978,this[_0x130d21(0x32b)]=_0x30b399;const {..._0x119924}=this[_0x130d21(0x57e)];this[_0x130d21(0x32b)][_0x130d21(0x4c8)](Z,_0x119924);}[_0x361975(0x46f)](){const _0x2f74d9=_0x361975;this[_0x2f74d9(0x586)](),this[_0x2f74d9(0x542)]();}[_0x361975(0x6b4)](){const _0x3e0b0=_0x361975;a[_0x3e0b0(0x318)](this[_0x3e0b0(0x5f2)],[[nt],[it]]);}[_0x361975(0x2e1)](){const _0x445fb5=_0x361975;this[_0x445fb5(0x1f1)]();}[_0x361975(0x586)](){const _0x105106=_0x361975;var _0x1986ae,_0x59516e,_0x16bcec,_0x13ac89;this[_0x105106(0x5f2)][_0x105106(0x638)](a['IUndoRedoService'])&&this[_0x105106(0x442)]['error'](_0x105106(0x325),_0x105106(0x222));const _0x529075=[[a[_0x105106(0x233)],{'useClass':yt}],[exports[_0x105106(0x245)]],[Nt],[Lt,{'useClass':ki}],[exports['MemberService']],[exports[_0x105106(0x436)]],[z[_0x105106(0x676)]],[Qe],[tt],[Ze],[et],[Ut],[rt],[st],[wt],[ot],[Pt,{'useClass':(_0x59516e=(_0x1986ae=this[_0x105106(0x57e)])==null?void 0x0:_0x1986ae[_0x105106(0x67b)])!=null?_0x59516e:exports[_0x105106(0x451)]}],[m[_0x105106(0x2ed)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x105106(0x5ae)],{'useClass':exports['AuthzIoHttpService']}],[te[_0x105106(0x238)],{'useClass':exports[_0x105106(0x25e)]}],[a[_0x105106(0x2d7)],{'useClass':exports[_0x105106(0x41f)]}],[exports['CollaborationController']],[exports[_0x105106(0x538)]],[exports[_0x105106(0x4e8)]],[nt],[ye],[it]];(_0x16bcec=this[_0x105106(0x57e)])!=null&&_0x16bcec[_0x105106(0x461)]&&_0x529075['push']([at,{'useClass':$n}]),a['registerDependencies'](this[_0x105106(0x5f2)],a[_0x105106(0x2ad)](_0x529075,(_0x13ac89=this[_0x105106(0x57e)])==null?void 0x0:_0x13ac89[_0x105106(0x308)]));}[_0x361975(0x1f1)](){const _0x1a2621=_0x361975;this[_0x1a2621(0x259)](this[_0x1a2621(0x594)]['registerRenderModule'](a[_0x1a2621(0x481)]['UNIVER_DOC'],[Rt])),this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](a[_0x1a2621(0x481)]['UNIVER_SHEET'],[Ot]));}[_0x361975(0x542)](){const _0x3345fc=_0x361975;var _0x1fec08,_0x45d404;this[_0x3345fc(0x5f2)]['get'](z[_0x3345fc(0x4c2)])[_0x3345fc(0x677)]({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x1fec08=this[_0x3345fc(0x57e)])!=null&&_0x1fec08[_0x3345fc(0x2ba)]||this[_0x3345fc(0x5f2)]['get'](exports[_0x3345fc(0x436)])['disableLocalCache'](),(_0x45d404=this[_0x3345fc(0x57e)])!=null&&_0x45d404['enableAuthServer']&&a['touchDependencies'](this[_0x3345fc(0x5f2)],[[rt]]),a[_0x3345fc(0x318)](this[_0x3345fc(0x5f2)],[[st],[ye],[exports['DataLoaderController']],[exports[_0x3345fc(0x6b2)]],[exports['DesktopCollaborationStatusDisplayController']],[ot]]);}},Eo(exports[_0x361975(0x39a)],_0x361975(0x572),bo),exports['UniverCollaborationClientPlugin']=Co([a[_0x361975(0x2f6)](m['UniverCollaborationPlugin'],z[_0x361975(0x2ae)]),Be(0x1,a['ILogService']),Be(0x2,Y[_0x361975(0x468)]),Be(0x3,a[_0x361975(0x4b5)](a[_0x361975(0x2fc)])),Be(0x4,a[_0x361975(0x314)])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=xt,exports[_0x361975(0x478)]=Z,exports[_0x361975(0x215)]=Ci,exports[_0x361975(0x678)]=Si,exports[_0x361975(0x37a)]=K,exports[_0x361975(0x255)]=$i,exports[_0x361975(0x5c7)]=wt,exports['HEARTBEAT_INTERVAL_KEY']=pi,exports[_0x361975(0x669)]=Dt,exports[_0x361975(0x1eb)]=Pt,exports[_0x361975(0x5ec)]=Lt,exports[_0x361975(0x698)]=Ii,exports[_0x361975(0x584)]=Ei,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=gi,exports[_0x361975(0x4fe)]=Ki,exports[_0x361975(0x44c)]=fi,exports[_0x361975(0x409)]=vi,exports[_0x361975(0x2ac)]=ne,exports['SheetCollabCursorShape']=Mi,exports[_0x361975(0x3a9)]=ki,exports[_0x361975(0x29d)]=Ri,exports[_0x361975(0x570)]=Oi;
|
1
|
+
'use strict';const _0x519f42=_0x3f43;(function(_0x40314d,_0x442fce){const _0x4d164d=_0x3f43,_0x2fca10=_0x40314d();while(!![]){try{const _0x3ba1b2=parseInt(_0x4d164d(0x3c9))/0x1+parseInt(_0x4d164d(0x2ec))/0x2*(-parseInt(_0x4d164d(0x42b))/0x3)+parseInt(_0x4d164d(0x2b1))/0x4+-parseInt(_0x4d164d(0x5f9))/0x5+parseInt(_0x4d164d(0x175))/0x6*(parseInt(_0x4d164d(0x3a1))/0x7)+-parseInt(_0x4d164d(0x2c5))/0x8+parseInt(_0x4d164d(0x4cd))/0x9;if(_0x3ba1b2===_0x442fce)break;else _0x2fca10['push'](_0x2fca10['shift']());}catch(_0x20fd6e){_0x2fca10['push'](_0x2fca10['shift']());}}}(_0x1367,0x923d9));var Fi=Object[_0x519f42(0x360)],Vi=(_0x4f9fc6,_0x430843,_0x1fec6c)=>_0x430843 in _0x4f9fc6?Fi(_0x4f9fc6,_0x430843,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fec6c}):_0x4f9fc6[_0x430843]=_0x1fec6c,I=(_0x9ad391,_0x4f6cfd,_0x3f3c28)=>Vi(_0x9ad391,typeof _0x4f6cfd!=_0x519f42(0x38e)?_0x4f6cfd+'':_0x4f6cfd,_0x3f3c28);Object[_0x519f42(0x360)](exports,Symbol['toStringTag'],{'value':'Module'});const a=require('@univerjs/core'),N=require(_0x519f42(0x379)),V=require('rxjs/operators'),Ce=require(_0x519f42(0x316)),z=require(_0x519f42(0x24b)),ee=require(_0x519f42(0x558)),m=require(_0x519f42(0x4d8)),Gi=require(_0x519f42(0x387)),Ie=require(_0x519f42(0x3ca)),J=require(_0x519f42(0x422)),k=require('@univerjs/sheets'),Y=require(_0x519f42(0x22f)),te=require(_0x519f42(0x1af)),$t=require(_0x519f42(0x294)),Le=require(_0x519f42(0x448)),oe=require(_0x519f42(0x3ce)),Yi=require(_0x519f42(0x33e)),fi=_0x519f42(0x384),qi='/universer-api/snapshot',vi=_0x519f42(0x263),Ki=_0x519f42(0x571),zi=0x7d0,Si='COLLAB_WEB_SOCKET_URL',Xi=_0x519f42(0x3d2),Ji=_0x519f42(0x592),pi=_0x519f42(0x44d),Zi=0x7530,Dt=_0x519f42(0x4ab),mi=0x4e20,Qi=0x4e20,gi=_0x519f42(0x27f),en=0x3,Ii=_0x519f42(0x29f),tn=0x3e8,Ci='COLLAB_SUBMIT_CHANGESET_URL',nn=_0x519f42(0x380),Ei=_0x519f42(0x31d),rn=_0x519f42(0x2ce);var bi=(_0x28944f=>(_0x28944f[_0x28944f['UNDEFINED']=0x0]='UNDEFINED',_0x28944f[_0x28944f['OK']=0x1]='OK',_0x28944f[_0x28944f['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x28944f[_0x28944f[_0x519f42(0x494)]=0x3]=_0x519f42(0x494),_0x28944f[_0x28944f[_0x519f42(0x1ca)]=0x4]=_0x519f42(0x1ca),_0x28944f[_0x28944f[_0x519f42(0x381)]=0x5]=_0x519f42(0x381),_0x28944f[_0x28944f[_0x519f42(0x289)]=0x6]=_0x519f42(0x289),_0x28944f[_0x28944f[_0x519f42(0x1b1)]=0x7]=_0x519f42(0x1b1),_0x28944f[_0x28944f[_0x519f42(0x633)]=0x8]=_0x519f42(0x633),_0x28944f[_0x28944f[_0x519f42(0x25d)]=0x9]='COMPLETION_FINISHED',_0x28944f[_0x28944f[_0x519f42(0x31a)]=0x1389]=_0x519f42(0x31a),_0x28944f[_0x28944f[_0x519f42(0x1e1)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x28944f[_0x28944f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x519f42(0x179),_0x28944f[_0x28944f[_0x519f42(0x2d2)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x28944f[_0x28944f[_0x519f42(0x3b5)]=0x1b59]=_0x519f42(0x3b5),_0x28944f[_0x28944f[_0x519f42(0x482)]=0x1b5a]=_0x519f42(0x482),_0x28944f[_0x28944f[_0x519f42(0x375)]=0x1b5b]=_0x519f42(0x375),_0x28944f[_0x28944f['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x519f42(0x5a7),_0x28944f[_0x28944f[_0x519f42(0x644)]=0x1b5d]=_0x519f42(0x644),_0x28944f[_0x28944f['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x519f42(0x3ab),_0x28944f[_0x28944f[_0x519f42(0x1bd)]=0x2329]=_0x519f42(0x1bd),_0x28944f[_0x28944f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x519f42(0x215),_0x28944f[_0x28944f[_0x519f42(0x4fc)]=0x232b]=_0x519f42(0x4fc),_0x28944f[_0x28944f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x519f42(0x2bc),_0x28944f[_0x28944f[_0x519f42(0x4e7)]=0x232d]=_0x519f42(0x4e7),_0x28944f[_0x28944f['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x519f42(0x362),_0x28944f[_0x28944f['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x519f42(0x642),_0x28944f[_0x28944f['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x28944f[_0x28944f[_0x519f42(0x331)]=0x2714]=_0x519f42(0x331),_0x28944f[_0x28944f['UNRECOGNIZED']=-0x1]=_0x519f42(0x500),_0x28944f))(bi||{}),ie=(_0x4e24db=>(_0x4e24db[_0x4e24db[_0x519f42(0x1d9)]=0x0]=_0x519f42(0x1d9),_0x4e24db[_0x4e24db[_0x519f42(0x249)]=0x1]='UNIVER_DOC',_0x4e24db[_0x4e24db[_0x519f42(0x248)]=0x2]=_0x519f42(0x248),_0x4e24db[_0x4e24db[_0x519f42(0x1a1)]=0x3]=_0x519f42(0x1a1),_0x4e24db[_0x4e24db[_0x519f42(0x629)]=0x4]='UNIVER_PROJECT',_0x4e24db[_0x4e24db['UNRECOGNIZED']=-0x1]=_0x519f42(0x500),_0x4e24db))(ie||{}),G=(_0x53b481=>(_0x53b481[_0x53b481[_0x519f42(0x229)]=0x0]=_0x519f42(0x229),_0x53b481[_0x53b481[_0x519f42(0x441)]=0x1]='HELLO',_0x53b481[_0x53b481[_0x519f42(0x553)]=0x2]=_0x519f42(0x553),_0x53b481[_0x53b481['LEAVE']=0x3]='LEAVE',_0x53b481[_0x53b481['INGEST']=0x4]=_0x519f42(0x260),_0x53b481[_0x53b481[_0x519f42(0x225)]=0x5]=_0x519f42(0x225),_0x53b481[_0x53b481['RECV']=0x6]=_0x519f42(0x43e),_0x53b481[_0x53b481[_0x519f42(0x500)]=-0x1]=_0x519f42(0x500),_0x53b481))(G||{}),ge=(_0x56f33a=>(_0x56f33a[_0x56f33a[_0x519f42(0x50b)]=0x0]=_0x519f42(0x50b),_0x56f33a[_0x56f33a['OK']=0x1]='OK',_0x56f33a[_0x56f33a[_0x519f42(0x35d)]=0x2]=_0x519f42(0x35d),_0x56f33a[_0x56f33a['JOIN_ROOM_FULL']=0x3e9]=_0x519f42(0x37b),_0x56f33a[_0x56f33a[_0x519f42(0x2e2)]=0x3ea]=_0x519f42(0x2e2),_0x56f33a[_0x56f33a[_0x519f42(0x1b2)]=0x3eb]=_0x519f42(0x1b2),_0x56f33a[_0x56f33a[_0x519f42(0x534)]=0x3ec]=_0x519f42(0x534),_0x56f33a[_0x56f33a[_0x519f42(0x500)]=-0x1]=_0x519f42(0x500),_0x56f33a))(ge||{}),Ti=(_0x4cd811=>(_0x4cd811[_0x4cd811[_0x519f42(0x1da)]=0x0]=_0x519f42(0x1da),_0x4cd811[_0x4cd811['HttpImport']=0x1]=_0x519f42(0x38a),_0x4cd811[_0x4cd811[_0x519f42(0x212)]=0x2]=_0x519f42(0x212),_0x4cd811[_0x4cd811[_0x519f42(0x61d)]=0x3]=_0x519f42(0x61d),_0x4cd811[_0x4cd811['UnitSnapshot']=0x4]=_0x519f42(0x302),_0x4cd811[_0x4cd811[_0x519f42(0x500)]=-0x1]=_0x519f42(0x500),_0x4cd811))(Ti||{});const Z=_0x519f42(0x4f5),sn={};function Ri(_0x6ba35c){const _0xab0ce8=_0x519f42;var _0x4b15cc,_0x31e5a2,_0x2c61bc,_0x55d7e7,_0x10ed8c;const _0x127c47=_0x6ba35c['data'],_0x57446b=JSON[_0xab0ce8(0x2f6)](_0x127c47);switch(_0x57446b[_0xab0ce8(0x25c)]){case G[_0xab0ce8(0x225)]:case G[_0xab0ce8(0x441)]:{const _0x5af170=_0x57446b['infoRsp'];return{..._0x57446b,'data':_0x5af170,'cmd':_0x57446b[_0xab0ce8(0x25c)]};}case G[_0xab0ce8(0x553)]:{const _0x50d656=_0x57446b[_0xab0ce8(0x60f)];return{..._0x57446b,'data':_0x50d656,'cmd':_0x57446b['cmd']};}case G[_0xab0ce8(0x43e)]:{const _0x177a3b=_0x57446b[_0xab0ce8(0x2d3)];switch(_0x177a3b[_0xab0ce8(0x509)]){case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x587)]:return{..._0x57446b,'data':{..._0x177a3b,'data':(_0x4b15cc=_0x177a3b[_0xab0ce8(0x2db)])==null?void 0x0:_0x4b15cc['cs']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x47c)]:return{..._0x57446b,'data':{..._0x177a3b,'data':(_0x31e5a2=_0x177a3b['csAckEvent'])==null?void 0x0:_0x31e5a2['cs']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x40a)]:return{..._0x57446b,'data':{..._0x177a3b,'data':(_0x2c61bc=_0x177a3b['newCsEvent'])==null?void 0x0:_0x2c61bc['cs']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x3d7)]:return{..._0x57446b,'data':{..._0x177a3b,'data':(_0x55d7e7=_0x177a3b[_0xab0ce8(0x33a)])==null?void 0x0:_0x55d7e7['cs']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x5f1)]:return{..._0x57446b,'data':{..._0x177a3b,'data':(_0x10ed8c=_0x177a3b[_0xab0ce8(0x4a9)])==null?void 0x0:_0x10ed8c['cs']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x2ef)]:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x4b2)]},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)]['USERS_ENTER']:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x29c)]},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m['CollaborationEvent'][_0xab0ce8(0x41b)]:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x358)]},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)]['LIVESHARE_NEW_HOST']:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x234)]},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x32a)]:case m[_0xab0ce8(0x3bc)]['LIVESHARE_OPERATION']:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x1cd)]},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x5e9)]:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b['liveShareNewHost']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x3d3)]:return{..._0x57446b,'data':_0x177a3b,'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)]['COMMENT_UPDATE']:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b['commentUpdateEvent']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x605)]:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x5d1)]},'cmd':_0x57446b['cmd']};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x502)]:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x241)]},'cmd':_0x57446b['cmd']};default:return _0x57446b;}}default:return _0x57446b;}}function Oi(_0x4d3b6c){const _0x3a9218=_0x519f42;switch(_0x4d3b6c['cmd']){case G['HEARTBEAT']:case G[_0x3a9218(0x441)]:return JSON[_0x3a9218(0x648)]({'cmd':_0x4d3b6c['cmd'],'routeKey':_0x4d3b6c['routeKey']});case G[_0x3a9218(0x260)]:{let _0x53cd85;switch(_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x509)]){case m[_0x3a9218(0x3bc)][_0x3a9218(0x2ef)]:{_0x53cd85={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x2f1)]};break;}case m[_0x3a9218(0x3bc)]['USERS_LEAVE']:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x41b)],'leaveEvent':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x2f1)]};break;}case m[_0x3a9218(0x3bc)][_0x3a9218(0x5b1)]:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x5b1)],'joinEvent':_0x4d3b6c['data'][_0x3a9218(0x2f1)]};break;}case m['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x385)],'liveShareNewHost':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x2f1)]};break;}case m[_0x3a9218(0x3bc)][_0x3a9218(0x602)]:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x602)],'liveShareOperation':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x2f1)]};break;}case m[_0x3a9218(0x3bc)][_0x3a9218(0x5e9)]:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x5e9)],'liveShareTerminate':_0x4d3b6c[_0x3a9218(0x2f1)]['data']};break;}case m[_0x3a9218(0x3bc)][_0x3a9218(0x231)]:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x231)],'liveShareRequestHost':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x2f1)]};break;}case m[_0x3a9218(0x3bc)]['LIVESHARE_FETCH_OPERATIONS']:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x32a)]};break;}default:_0x53cd85={'eventID':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x509)]};}return JSON[_0x3a9218(0x648)]({'cmd':_0x4d3b6c[_0x3a9218(0x25c)],'routeKey':_0x4d3b6c[_0x3a9218(0x1c7)],'collaMsg':_0x53cd85});}case G[_0x3a9218(0x553)]:return JSON['stringify']({'cmd':_0x4d3b6c['cmd'],'routeKey':_0x4d3b6c[_0x3a9218(0x1c7)],'joinReq':_0x4d3b6c[_0x3a9218(0x2f1)]});case G['LEAVE']:return JSON[_0x3a9218(0x648)]({'cmd':_0x4d3b6c['cmd'],'routeKey':_0x4d3b6c['routeKey'],'leaveReq':_0x4d3b6c[_0x3a9218(0x2f1)]});default:throw new Error(_0x3a9218(0x5b7));}}var on=Object[_0x519f42(0x360)],an=Object[_0x519f42(0x544)],cn=(_0x250e0e,_0x4e62e0,_0x8c020a,_0xf4b502)=>{const _0x11bac3=_0x519f42;for(var _0x1d7df8=_0xf4b502>0x1?void 0x0:_0xf4b502?an(_0x4e62e0,_0x8c020a):_0x4e62e0,_0x4a31a1=_0x250e0e[_0x11bac3(0x53a)]-0x1,_0x3a150d;_0x4a31a1>=0x0;_0x4a31a1--)(_0x3a150d=_0x250e0e[_0x4a31a1])&&(_0x1d7df8=(_0xf4b502?_0x3a150d(_0x4e62e0,_0x8c020a,_0x1d7df8):_0x3a150d(_0x1d7df8))||_0x1d7df8);return _0xf4b502&&_0x1d7df8&&on(_0x4e62e0,_0x8c020a,_0x1d7df8),_0x1d7df8;},De=(_0x2400b9,_0x317995)=>(_0x33f4eb,_0x35a6ed)=>_0x317995(_0x33f4eb,_0x35a6ed,_0x2400b9);const Pt=a['createIdentifier']('univer-pro.collaboration-client-socket-service');function ln(_0x466908,_0x3d0f3b,_0x4a3013){const _0x51008e=_0x519f42;return _0x466908+'/'+_0x3d0f3b+_0x51008e(0x4ee)+_0x4a3013+'/new_changes';}exports[_0x519f42(0x1cb)]=class extends a[_0x519f42(0x5f8)]{constructor(_0x20b87c,_0x3c7e2b,_0x39078a,_0x4bae2b,_0x1ebca6){const _0x44bd45=_0x519f42;super(),this[_0x44bd45(0x58a)]=_0x20b87c,this['_ws']=_0x3c7e2b,this[_0x44bd45(0x193)]=_0x39078a,this[_0x44bd45(0x392)]=_0x4bae2b,this[_0x44bd45(0x5f7)]=_0x1ebca6;}[_0x519f42(0x4c9)](_0x4aa885){const _0x262698=_0x519f42,_0xb5ed93=this[_0x262698(0x2c7)]['createSocket'](_0x4aa885);if(!_0xb5ed93)throw new Error(_0x262698(0x5e0));const _0x47d974=new a[(_0x262698(0x3cf))](),_0x14eac7=new N['Subject']();_0x47d974[_0x262698(0x556)](_0xb5ed93['close$'][_0x262698(0x1db)](_0xc887ce=>_0x14eac7[_0x262698(0x213)](_0xc887ce))),_0x47d974[_0x262698(0x556)](a['toDisposable'](()=>_0x14eac7['complete']()));const _0x2b2f78=new N[(_0x262698(0x3ec))]();_0x47d974[_0x262698(0x556)](_0xb5ed93[_0x262698(0x488)][_0x262698(0x1db)](_0x5443dd=>_0x2b2f78[_0x262698(0x213)](_0x5443dd))),_0x47d974[_0x262698(0x556)](a[_0x262698(0x503)](()=>_0x2b2f78[_0x262698(0x324)]()));const _0x14c327=new N[(_0x262698(0x3ec))]();_0x47d974[_0x262698(0x556)](_0xb5ed93[_0x262698(0x2b9)][_0x262698(0x1db)](_0x33af64=>{const _0x1ea0ec=_0x262698,_0x5c1100=Ri(_0x33af64);_0x14c327[_0x1ea0ec(0x213)](_0x5c1100);})),_0x47d974[_0x262698(0x556)](a['toDisposable'](()=>_0x14c327['complete']()));let _0x2172ad;const _0x55d49a=()=>{const _0x4c54e4=_0x262698;_0x2b2f78[_0x4c54e4(0x213)](new Event(_0x4c54e4(0x279))),_0x14eac7[_0x4c54e4(0x213)](new CloseEvent(_0x4c54e4(0x279))),_0x2172ad['close']();};return _0x2172ad={'memberID':'','close$':_0x14eac7[_0x262698(0x20b)](),'error$':_0x2b2f78[_0x262698(0x20b)](),'open$':_0xb5ed93['open$'],'message$':_0x14c327[_0x262698(0x20b)](),'send':_0x104177=>{const _0x930f30=_0x262698;if(_0x104177[_0x930f30(0x25c)]===G[_0x930f30(0x260)]){if(_0x104177[_0x930f30(0x2f1)]['eventID']===m['CollaborationEvent'][_0x930f30(0x207)]){this[_0x930f30(0x192)](_0x2172ad,_0x104177[_0x930f30(0x2f1)])[_0x930f30(0x271)](_0x4fc87f=>{this['_logService']['error'](_0x4fc87f),_0x55d49a();});return;}if(_0x104177[_0x930f30(0x2f1)][_0x930f30(0x509)]===m[_0x930f30(0x3bc)][_0x930f30(0x269)]){const _0x378d51=_0x104177[_0x930f30(0x2f1)];this[_0x930f30(0x20e)](_0x378d51)[_0x930f30(0x5b5)](_0x218620=>{const _0x2f11c0=_0x930f30;_0x14c327[_0x2f11c0(0x213)]({'cmd':G[_0x2f11c0(0x43e)],'code':ge['OK'],'routeKey':_0x378d51[_0x2f11c0(0x2f1)][_0x2f11c0(0x57d)],'routeType':'','data':{'eventID':m['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x218620}}});})[_0x930f30(0x271)](_0x2047fa=>{const _0x3a4ba2=_0x930f30;this[_0x3a4ba2(0x392)]['error'](_0x2047fa),_0x55d49a();});return;}}_0xb5ed93[_0x930f30(0x2a8)](Oi(_0x104177));},'close':()=>{const _0xb92498=_0x262698;_0xb5ed93[_0xb92498(0x19c)](),_0x47d974[_0xb92498(0x5fa)]();}},_0x2172ad;}async[_0x519f42(0x192)](_0x19d60b,_0x47a69e){const _0x152f8b=_0x519f42;var _0x533c9e,_0x2a8527;const {unitType:_0x383823,unitID:_0xa827c6,changeset:_0x2d88fe}=_0x47a69e[_0x152f8b(0x2f1)],_0x11d093={'unitID':_0xa827c6,'memberID':_0x19d60b[_0x152f8b(0x563)],'type':_0x383823,'changeset':m[_0x152f8b(0x3cd)](_0x2d88fe)},_0x43ea42=this[_0x152f8b(0x193)][_0x152f8b(0x4ba)](Ci),_0x29d968=this[_0x152f8b(0x193)][_0x152f8b(0x4ba)](Z),_0x35851f=ln((_0x2a8527=(_0x533c9e=_0x29d968==null?void 0x0:_0x29d968['collabSubmitChangesetUrl'])!=null?_0x533c9e:_0x43ea42)!=null?_0x2a8527:nn,_0x383823,_0xa827c6);try{await this[_0x152f8b(0x58a)][_0x152f8b(0x627)](_0x35851f,{'body':_0x11d093});}catch(_0x5f4432){throw this[_0x152f8b(0x392)][_0x152f8b(0x1d8)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x5f4432;}}async[_0x519f42(0x20e)](_0x1b92ec){const _0x188417=_0x519f42,{unitID:_0x36634d,from:_0x598918,to:_0x835c42,unitType:_0x587f7d}=_0x1b92ec[_0x188417(0x2f1)];return(await this[_0x188417(0x5f7)][_0x188417(0x2bd)]({'metadata':void 0x0},{'unitID':_0x36634d,'type':_0x587f7d,'from':_0x598918,'to':_0x835c42}))[_0x188417(0x220)];}},exports[_0x519f42(0x1cb)]=cn([De(0x0,a[_0x519f42(0x3b4)](z[_0x519f42(0x623)])),De(0x1,a['Inject'](z[_0x519f42(0x2d9)])),De(0x2,a[_0x519f42(0x4e5)]),De(0x3,a[_0x519f42(0x5eb)]),De(0x4,m[_0x519f42(0x433)])],exports['CollaborationSocketService']);const hn='collaboration_new_changeset';function _n(_0x44f475){const _0x455713=_0x519f42;return JSON[_0x455713(0x648)](_0x44f475)[_0x455713(0x53a)];}class wt{constructor(){const _0x3234b9=_0x519f42;I(this,_0x3234b9(0x1ea),new N['Subject']()),I(this,'commentUpdate$',this['_commentUpdate$'][_0x3234b9(0x20b)]());}[_0x519f42(0x50c)](_0x3fa85c){const _0x37526d=_0x519f42;this[_0x37526d(0x1ea)][_0x37526d(0x213)](_0x3fa85c);}}var un=Object[_0x519f42(0x360)],dn=Object[_0x519f42(0x544)],fn=(_0x163e7b,_0x152507,_0x22bc57,_0x3adc15)=>{for(var _0x5ec314=_0x3adc15>0x1?void 0x0:_0x3adc15?dn(_0x152507,_0x22bc57):_0x152507,_0x28d946=_0x163e7b['length']-0x1,_0xe60c9f;_0x28d946>=0x0;_0x28d946--)(_0xe60c9f=_0x163e7b[_0x28d946])&&(_0x5ec314=(_0x3adc15?_0xe60c9f(_0x152507,_0x22bc57,_0x5ec314):_0xe60c9f(_0x5ec314))||_0x5ec314);return _0x3adc15&&_0x5ec314&&un(_0x152507,_0x22bc57,_0x5ec314),_0x5ec314;},jt=(_0xa5efaf,_0x2e4c49)=>(_0x3ea1f7,_0x5a18dc)=>_0x2e4c49(_0x3ea1f7,_0x5a18dc,_0xa5efaf);exports['MemberService']=class extends a[_0x519f42(0x5f8)]{constructor(_0x150ae7,_0x4c33f5){const _0x24e8ee=_0x519f42;super(),I(this,_0x24e8ee(0x53e),new Map()),(this[_0x24e8ee(0x403)]=_0x150ae7,this[_0x24e8ee(0x332)]=_0x4c33f5,this['disposeWithMe'](a[_0x24e8ee(0x503)](N['merge'](this['_univerInstanceService'][_0x24e8ee(0x610)](a[_0x24e8ee(0x475)][_0x24e8ee(0x248)])[_0x24e8ee(0x641)](V[_0x24e8ee(0x444)](_0x5e274b=>_0x5e274b['getUnitId']())),this[_0x24e8ee(0x403)][_0x24e8ee(0x610)](a[_0x24e8ee(0x475)][_0x24e8ee(0x249)])[_0x24e8ee(0x641)](V[_0x24e8ee(0x444)](_0x43462f=>_0x43462f[_0x24e8ee(0x238)]())),this[_0x24e8ee(0x403)][_0x24e8ee(0x610)](a[_0x24e8ee(0x475)][_0x24e8ee(0x1a1)])['pipe'](V[_0x24e8ee(0x444)](_0x236a90=>_0x236a90['getUnitId']())))[_0x24e8ee(0x1db)](_0x44f5dc=>this[_0x24e8ee(0x1d3)](_0x44f5dc)))));}[_0x519f42(0x31b)](_0x537e17){const _0x34bf6f=_0x519f42;this[_0x34bf6f(0x332)]['setCurrentUser'](_0x537e17);}[_0x519f42(0x484)](){const _0x5a0b7e=_0x519f42;return this[_0x5a0b7e(0x332)][_0x5a0b7e(0x484)]();}[_0x519f42(0x25e)](_0x3eaa66,_0x5b6fa6){const _0xe0fe44=_0x519f42;let _0x3d055c=this[_0xe0fe44(0x53e)][_0xe0fe44(0x4a6)](_0x3eaa66);_0x3d055c||(_0x3d055c=new vn(),this[_0xe0fe44(0x53e)][_0xe0fe44(0x3e1)](_0x3eaa66,_0x3d055c)),_0x3d055c[_0xe0fe44(0x25e)](_0x5b6fa6);}[_0x519f42(0x247)](_0x4b5d72,_0x49a008){const _0x19bf2f=_0x519f42,_0x2f2196=this[_0x19bf2f(0x53e)]['get'](_0x4b5d72);_0x2f2196&&_0x2f2196[_0x19bf2f(0x247)](_0x49a008);}[_0x519f42(0x62b)](_0xc03e92){const _0x51b970=_0x519f42;return this[_0x51b970(0x53e)][_0x51b970(0x4a6)](_0xc03e92);}['getMember'](_0x263257,_0x2f4d39){const _0x4ec7d1=_0x519f42,_0x171c41=this[_0x4ec7d1(0x53e)][_0x4ec7d1(0x4a6)](_0x263257);if(_0x171c41)return _0x171c41['getMember'](_0x2f4d39);}[_0x519f42(0x1d3)](_0x4e97cd){const _0x19eeb2=_0x519f42,_0x426c20=this['_roomMembers'][_0x19eeb2(0x4a6)](_0x4e97cd);_0x426c20&&(_0x426c20[_0x19eeb2(0x5fa)](),this[_0x19eeb2(0x53e)][_0x19eeb2(0x203)](_0x4e97cd));}[_0x519f42(0x5fa)](){const _0x4f07f3=_0x519f42;this[_0x4f07f3(0x53e)][_0x4f07f3(0x24a)](_0x279c13=>_0x279c13['dispose']()),this[_0x4f07f3(0x53e)][_0x4f07f3(0x604)]();}},exports[_0x519f42(0x1f6)]=fn([jt(0x0,a[_0x519f42(0x4aa)]),jt(0x1,a[_0x519f42(0x3b4)](a[_0x519f42(0x1aa)]))],exports['MemberService']);class vn extends a[_0x519f42(0x5f8)]{constructor(){super(...arguments),I(this,'_members',new Map());}['dispose'](){const _0x25300a=_0x519f42;this['_members'][_0x25300a(0x604)]();}['updateMember'](_0x5eeb91){const _0x5a1513=_0x519f42;this[_0x5a1513(0x1f4)][_0x5a1513(0x3e1)](_0x5eeb91[_0x5a1513(0x563)],_0x5eeb91);}[_0x519f42(0x247)](_0x15842b){const _0x12cf2f=_0x519f42;this[_0x12cf2f(0x1f4)][_0x12cf2f(0x203)](_0x15842b);}[_0x519f42(0x449)](_0x86a7cc){const _0x361026=_0x519f42;return this[_0x361026(0x1f4)][_0x361026(0x4a6)](_0x86a7cc);}[_0x519f42(0x49f)](){const _0x1e3e91=_0x519f42;return Array['from'](this['_members'][_0x1e3e91(0x426)]());}}var Sn=Object[_0x519f42(0x360)],pn=Object['getOwnPropertyDescriptor'],mn=(_0x213806,_0x14e08b,_0x189c32,_0x1f643f)=>{for(var _0x49cda2=_0x1f643f>0x1?void 0x0:_0x1f643f?pn(_0x14e08b,_0x189c32):_0x14e08b,_0x3a2766=_0x213806['length']-0x1,_0x1ddd2c;_0x3a2766>=0x0;_0x3a2766--)(_0x1ddd2c=_0x213806[_0x3a2766])&&(_0x49cda2=(_0x1f643f?_0x1ddd2c(_0x14e08b,_0x189c32,_0x49cda2):_0x1ddd2c(_0x49cda2))||_0x49cda2);return _0x1f643f&&_0x49cda2&&Sn(_0x14e08b,_0x189c32,_0x49cda2),_0x49cda2;},ue=(_0x28e359,_0xa17687)=>(_0x177d11,_0x210e56)=>_0xa17687(_0x177d11,_0x210e56,_0x28e359),ne=(_0x21675c=>(_0x21675c[_0x21675c[_0x519f42(0x56f)]=0x0]=_0x519f42(0x56f),_0x21675c[_0x21675c[_0x519f42(0x61c)]=0x1]='JOINING',_0x21675c[_0x21675c['OFFLINE']=0x2]='OFFLINE',_0x21675c[_0x21675c[_0x519f42(0x481)]=0x3]=_0x519f42(0x481),_0x21675c))(ne||{});const Ht={[ge[_0x519f42(0x35d)]]:_0x519f42(0x579),[ge[_0x519f42(0x37b)]]:_0x519f42(0x3db),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x519f42(0x181),[ge[_0x519f42(0x1b2)]]:_0x519f42(0x2eb),[ge[_0x519f42(0x534)]]:_0x519f42(0x4e9)};exports[_0x519f42(0x47d)]=class extends a[_0x519f42(0x275)]{constructor(_0x302fa2,_0x9e86ca,_0x4dcf42,_0x3b2165,_0x36ae0e,_0x264068,_0x4c85b2,_0xcedb05,_0x27cc2a,_0x5e6791){const _0x3227be=_0x519f42;super(),I(this,_0x3227be(0x1a8),new N[(_0x3227be(0x46f))](0x0)),I(this,'sessionStatus$',this[_0x3227be(0x1a8)][_0x3227be(0x20b)]()),I(this,_0x3227be(0x3ea),new N[(_0x3227be(0x3ec))]()),I(this,'event$',this[_0x3227be(0x3ea)]['asObservable']()),I(this,_0x3227be(0x250)),I(this,_0x3227be(0x450)),I(this,_0x3227be(0x389)),I(this,'_shouldReportTelemetry',!0x1),I(this,_0x3227be(0x1a6),null),(this[_0x3227be(0x564)]=_0x302fa2,this[_0x3227be(0x392)]=_0x4dcf42,this[_0x3227be(0x48d)]=_0x3b2165,this[_0x3227be(0x471)]=_0x36ae0e,this[_0x3227be(0x193)]=_0x264068,this['_localeService']=_0x4c85b2,this[_0x3227be(0x24e)]=_0xcedb05,this[_0x3227be(0x370)]=_0x27cc2a,this[_0x3227be(0x40e)]=_0x5e6791,this[_0x3227be(0x56d)]=!!this[_0x3227be(0x40e)],_0x9e86ca[_0x3227be(0x641)](N[_0x3227be(0x1e9)](this[_0x3227be(0x191)]))['subscribe'](_0x4e2116=>{const _0x5f4c3a=_0x3227be;var _0x204e46;typeof _0x4e2116>'u'||(this[_0x5f4c3a(0x250)]=_0x4e2116,_0x4e2116?(this['_joinRoom'](_0x4e2116),this[_0x5f4c3a(0x450)]=_0x4e2116['message$'][_0x5f4c3a(0x1db)](_0x9dbea7=>{const _0x38d908=_0x5f4c3a;_0x9dbea7[_0x38d908(0x1c7)]===this[_0x38d908(0x564)]&&this[_0x38d908(0x3fb)](_0x9dbea7);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x5f4c3a(0x1a8)][_0x5f4c3a(0x213)](0x2),(_0x204e46=this['_socketMessageSubscription'])==null||_0x204e46[_0x5f4c3a(0x347)](),this[_0x5f4c3a(0x450)]=null));}),this['disposeWithMe'](this[_0x3227be(0x48d)][_0x3227be(0x1b5)](()=>{const _0x22d5bd=_0x3227be;var _0x503513;(_0x503513=this[_0x22d5bd(0x250)])==null||_0x503513[_0x22d5bd(0x2a8)]({'cmd':G[_0x22d5bd(0x5c1)],'data':{'roomID':this[_0x22d5bd(0x564)]}});})));}get[_0x519f42(0x36e)](){const _0x4b4b10=_0x519f42;return this[_0x4b4b10(0x1a8)]['getValue']();}[_0x519f42(0x2cd)](){const _0x3a5342=_0x519f42;var _0xb4a80f,_0x2eab45;return(_0x2eab45=(_0xb4a80f=this[_0x3a5342(0x250)])==null?void 0x0:_0xb4a80f[_0x3a5342(0x563)])!=null?_0x2eab45:null;}['dispose'](){const _0x3b7859=_0x519f42;super[_0x3b7859(0x5fa)](),this[_0x3b7859(0x191)]['next'](),this[_0x3b7859(0x191)][_0x3b7859(0x324)]();}[_0x519f42(0x19c)](){const _0x332966=_0x519f42;var _0x41aff1,_0x150e4e;this['_throwTelemetryCollaborationNewChangeset'](),(_0x41aff1=this[_0x332966(0x250)])==null||_0x41aff1['send']({'cmd':G[_0x332966(0x5c1)],'data':{'roomID':this[_0x332966(0x564)]}}),(_0x150e4e=this[_0x332966(0x250)])==null||_0x150e4e['close'](),this[_0x332966(0x3ea)][_0x332966(0x324)](),this[_0x332966(0x1a8)][_0x332966(0x324)](),this[_0x332966(0x5fa)]();}[_0x519f42(0x3fb)](_0x684b60){const _0x55c6f3=_0x519f42;_0x684b60[_0x55c6f3(0x25c)]===G[_0x55c6f3(0x553)]?this[_0x55c6f3(0x38b)](_0x684b60):_0x684b60[_0x55c6f3(0x25c)]===G[_0x55c6f3(0x43e)]&&this[_0x55c6f3(0x27e)](_0x684b60);}[_0x519f42(0x3de)](_0x400c31){const _0x584542=_0x519f42;this[_0x584542(0x1a8)]['next'](0x1),_0x400c31[_0x584542(0x2a8)]({'cmd':G[_0x584542(0x553)],'routeKey':this[_0x584542(0x564)],'routeType':'','data':{'rooms':[{'roomID':this[_0x584542(0x564)]}]}});}[_0x519f42(0x38b)](_0x30ad1b){const _0x146903=_0x519f42;var _0x312f35;if(_0x30ad1b[_0x146903(0x615)]in Ht){this['_messageService'][_0x146903(0x1e6)]({'type':Ce[_0x146903(0x57a)]['Warning'],'content':this[_0x146903(0x52f)]['t'](Ht[_0x30ad1b[_0x146903(0x615)]])}),this[_0x146903(0x1a8)][_0x146903(0x213)](0x2);return;}this[_0x146903(0x1a8)][_0x146903(0x213)](0x3);const _0x3dfaa7=(_0x312f35=_0x30ad1b[_0x146903(0x2f1)][_0x146903(0x3d4)][this[_0x146903(0x564)]])==null?void 0x0:_0x312f35[_0x146903(0x285)];_0x3dfaa7&&_0x3dfaa7[_0x146903(0x24a)](_0x3ecd04=>this[_0x146903(0x24e)]['updateMember'](this[_0x146903(0x564)],_0x3ecd04));}[_0x519f42(0x27e)](_0x53c175){const _0x5c9638=_0x519f42;try{const _0x4028c8=_0x53c175[_0x5c9638(0x2f1)];switch(_0x4028c8[_0x5c9638(0x509)]){case m[_0x5c9638(0x3bc)][_0x5c9638(0x5b1)]:this[_0x5c9638(0x47f)](_0x4028c8),this['_event$'][_0x5c9638(0x213)](_0x4028c8);break;case m[_0x5c9638(0x3bc)][_0x5c9638(0x41b)]:this['_onUserLeave'](_0x4028c8),this[_0x5c9638(0x3ea)][_0x5c9638(0x213)](_0x4028c8);break;case m[_0x5c9638(0x3bc)]['CHANGESET_ACK']:case m[_0x5c9638(0x3bc)][_0x5c9638(0x5f1)]:this[_0x5c9638(0x5ee)](),this[_0x5c9638(0x325)](),this[_0x5c9638(0x3ea)][_0x5c9638(0x213)](_0x4028c8);break;case m[_0x5c9638(0x3bc)][_0x5c9638(0x3d3)]:this[_0x5c9638(0x392)][_0x5c9638(0x1d8)](_0x5c9638(0x1a9)+JSON[_0x5c9638(0x648)](_0x4028c8)),this[_0x5c9638(0x3ea)][_0x5c9638(0x213)](_0x4028c8);break;case m[_0x5c9638(0x3bc)][_0x5c9638(0x24d)]:this[_0x5c9638(0x370)][_0x5c9638(0x50c)](_0x4028c8[_0x5c9638(0x2f1)]),this[_0x5c9638(0x3ea)]['next'](_0x4028c8);break;default:this['_event$'][_0x5c9638(0x213)](_0x4028c8);}}catch(_0x394dad){this[_0x5c9638(0x392)]['error'](_0x394dad,_0x53c175);}}[_0x519f42(0x47f)](_0x234e10){const _0x5f2cca=_0x519f42;this[_0x5f2cca(0x24e)][_0x5f2cca(0x25e)](this[_0x5f2cca(0x564)],_0x234e10['data']);}[_0x519f42(0x453)](_0x37c7a6){const _0x16b0cb=_0x519f42;this['_memberService'][_0x16b0cb(0x247)](this[_0x16b0cb(0x564)],_0x37c7a6[_0x16b0cb(0x2f1)][_0x16b0cb(0x563)]);}async[_0x519f42(0x2a8)](_0x2c20c7,_0x586835){const _0x5172b8=_0x519f42;if(this[_0x5172b8(0x36e)]!==0x3||!this[_0x5172b8(0x250)])throw new Error(_0x5172b8(0x25b));try{_0x2c20c7[_0x5172b8(0x509)]===m['CollaborationEvent'][_0x5172b8(0x207)]&&(this[_0x5172b8(0x3f4)](),this[_0x5172b8(0x54a)](_0x2c20c7)),this[_0x5172b8(0x250)][_0x5172b8(0x2a8)]({'cmd':G['INGEST'],'routeKey':_0x586835,'routeType':'','data':_0x2c20c7});}catch(_0x442661){this[_0x5172b8(0x392)][_0x5172b8(0x1d8)](_0x442661);}}['_scheduleCollaborationTimeoutTimer'](){const _0xa2b85=_0x519f42;var _0xdb96d9;this[_0xa2b85(0x389)]=window[_0xa2b85(0x2e9)](()=>{const _0x5b7f22=_0xa2b85;this[_0x5b7f22(0x389)]=null,this['_messageService'][_0x5b7f22(0x1e6)]({'type':Ce[_0x5b7f22(0x57a)]['Error'],'content':this[_0x5b7f22(0x52f)]['t'](_0x5b7f22(0x3ac))});},(_0xdb96d9=this[_0xa2b85(0x193)][_0xa2b85(0x4ba)](Dt))!=null?_0xdb96d9:mi);}[_0x519f42(0x325)](){const _0x2c94f3=_0x519f42;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x2c94f3(0x389)]),this[_0x2c94f3(0x389)]=null);}[_0x519f42(0x54a)](_0x47602d){const _0x5d5ab3=_0x519f42;if(!this[_0x5d5ab3(0x56d)])return;const {data:_0x5f1c1f}=_0x47602d,{unitID:_0x469784,changeset:_0x122141}=_0x5f1c1f,{mutations:_0x589f11,type:_0x342798}=_0x122141;this[_0x5d5ab3(0x1a6)]={'unitId':_0x469784,'type':_0x342798,'startTime':performance[_0x5d5ab3(0x59c)](),'stopTime':0x0,'duration':0x0,'size':_n(_0x589f11)};}[_0x519f42(0x5ee)](){const _0xd7f085=_0x519f42;if(this[_0xd7f085(0x56d)]){if(!this[_0xd7f085(0x1a6)]){this[_0xd7f085(0x392)][_0xd7f085(0x1d8)](_0xd7f085(0x34a),_0xd7f085(0x531));return;}this[_0xd7f085(0x1a6)][_0xd7f085(0x4fd)]=performance['now'](),this[_0xd7f085(0x1a6)][_0xd7f085(0x593)]=this[_0xd7f085(0x1a6)][_0xd7f085(0x4fd)]-this['_telemetryInfo'][_0xd7f085(0x217)],this[_0xd7f085(0x40e)][_0xd7f085(0x5b3)](hn,this[_0xd7f085(0x1a6)]),this[_0xd7f085(0x1a6)]=null;}}[_0x519f42(0x5c8)](){this['_telemetryInfo']=null;}},exports[_0x519f42(0x47d)]=mn([ue(0x2,a[_0x519f42(0x5eb)]),ue(0x3,ee[_0x519f42(0x34b)]),ue(0x4,ee[_0x519f42(0x4c8)]),ue(0x5,a['IConfigService']),ue(0x6,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)])),ue(0x7,a[_0x519f42(0x3b4)](exports[_0x519f42(0x1f6)])),ue(0x8,a[_0x519f42(0x3b4)](wt)),ue(0x9,a['Optional'](Gi[_0x519f42(0x18c)]))],exports[_0x519f42(0x47d)]);var gn=Object[_0x519f42(0x360)],In=Object[_0x519f42(0x544)],Cn=(_0x13a20d,_0xb6c982,_0x2ca99f,_0x129d97)=>{const _0x3fd051=_0x519f42;for(var _0x16f496=_0x129d97>0x1?void 0x0:_0x129d97?In(_0xb6c982,_0x2ca99f):_0xb6c982,_0x5377dc=_0x13a20d[_0x3fd051(0x53a)]-0x1,_0x37b701;_0x5377dc>=0x0;_0x5377dc--)(_0x37b701=_0x13a20d[_0x5377dc])&&(_0x16f496=(_0x129d97?_0x37b701(_0xb6c982,_0x2ca99f,_0x16f496):_0x37b701(_0x16f496))||_0x16f496);return _0x129d97&&_0x16f496&&gn(_0xb6c982,_0x2ca99f,_0x16f496),_0x16f496;},Se=(_0x410bf6,_0x246fd3)=>(_0x1dc71b,_0x3b781e)=>_0x246fd3(_0x1dc71b,_0x3b781e,_0x410bf6);exports['CollaborationSessionService']=class extends a[_0x519f42(0x5f8)]{constructor(_0x2eb8da,_0x625339,_0x52404c,_0x27ff84,_0x18ec8b,_0x2a20ba,_0x4260f0){const _0x480daf=_0x519f42;super(),I(this,_0x480daf(0x2a4),new N[(_0x480daf(0x46f))](void 0x0)),I(this,_0x480daf(0x273),this[_0x480daf(0x2a4)][_0x480daf(0x20b)]()),I(this,_0x480daf(0x371),null),I(this,_0x480daf(0x628),new Map()),I(this,_0x480daf(0x646),new N[(_0x480daf(0x46f))](ne[_0x480daf(0x56f)])),I(this,_0x480daf(0x227),this[_0x480daf(0x646)][_0x480daf(0x20b)]()),I(this,_0x480daf(0x1ee),!0x1),I(this,_0x480daf(0x1d0)),I(this,_0x480daf(0x5dc),0x0),I(this,_0x480daf(0x4e1)),I(this,'_timeoutTimer'),(this[_0x480daf(0x590)]=_0x2eb8da,this[_0x480daf(0x52f)]=_0x625339,this[_0x480daf(0x471)]=_0x52404c,this['_logService']=_0x27ff84,this[_0x480daf(0x193)]=_0x18ec8b,this[_0x480daf(0x4b8)]=_0x2a20ba,this[_0x480daf(0x2a1)]=_0x4260f0,this[_0x480daf(0x243)]());}get[_0x519f42(0x250)](){const _0x4dba4a=_0x519f42;return this['_socket$'][_0x4dba4a(0x489)]();}['_initEventListeners'](){this['_listenToOfflineEvent'](),this['_listenToOnlineEvent']();}[_0x519f42(0x5fa)](){const _0x3badc4=_0x519f42;super['dispose'](),this['_sessions'][_0x3badc4(0x24a)](_0x12c33f=>_0x12c33f[_0x3badc4(0x5fa)]()),this[_0x3badc4(0x628)][_0x3badc4(0x604)](),this['_status$'][_0x3badc4(0x324)]();}async[_0x519f42(0x295)](_0x4dc429){const _0x34f2d1=_0x519f42;if(this[_0x34f2d1(0x628)][_0x34f2d1(0x443)](_0x4dc429))return this[_0x34f2d1(0x628)][_0x34f2d1(0x4a6)](_0x4dc429);this[_0x34f2d1(0x5d9)]();const _0x140912=this[_0x34f2d1(0x590)][_0x34f2d1(0x35c)](exports[_0x34f2d1(0x47d)],_0x4dc429,this[_0x34f2d1(0x2a4)]['asObservable']());return this[_0x34f2d1(0x628)][_0x34f2d1(0x3e1)](_0x4dc429,_0x140912),_0x140912;}['closeSession'](_0x254507){const _0x430dd7=_0x519f42;var _0x4e0ad1;const _0x4bb050=this['_sessions'][_0x430dd7(0x4a6)](_0x254507);_0x4bb050&&(this[_0x430dd7(0x628)][_0x430dd7(0x203)](_0x254507),_0x4bb050[_0x430dd7(0x19c)]()),this['_sessions']['size']||(_0x4e0ad1=this[_0x430dd7(0x250)])==null||_0x4e0ad1[_0x430dd7(0x19c)]();}[_0x519f42(0x4cc)](){const _0x297a57=_0x519f42;this[_0x297a57(0x5dc)]=0x0,this[_0x297a57(0x1d0)]!=null&&(clearTimeout(this[_0x297a57(0x1d0)]),this['_retryConnectingTimer']=null),this[_0x297a57(0x4df)]();}async['_getSessionTicket'](){const _0x57aa90=_0x519f42;var _0x284015,_0x342ba9,_0x47e24a;const _0x242c78=this[_0x57aa90(0x193)][_0x57aa90(0x4ba)](Z),_0x28f300=(_0x284015=_0x242c78==null?void 0x0:_0x242c78[_0x57aa90(0x613)])!=null?_0x284015:Ji;return(_0x47e24a=(_0x342ba9=(await this['_httpService'][_0x57aa90(0x4a6)](_0x28f300,{'headers':{'Content-Type':_0x57aa90(0x368)}}))['body'])==null?void 0x0:_0x342ba9[_0x57aa90(0x56e)])!=null?_0x47e24a:'';}[_0x519f42(0x56b)](_0x24f9ad){const _0x11986d=_0x519f42;var _0x4cb390,_0x18b11;const _0x2a8ae1=this[_0x11986d(0x193)][_0x11986d(0x4ba)](Si),_0x587647=this[_0x11986d(0x193)][_0x11986d(0x4ba)](Z),_0x309f3c=(_0x18b11=(_0x4cb390=_0x587647==null?void 0x0:_0x587647[_0x11986d(0x56c)])!=null?_0x4cb390:_0x2a8ae1)!=null?_0x18b11:Xi,_0x53286d=new URL(_0x309f3c,window[_0x11986d(0x376)]['origin']);return _0x53286d['searchParams'][_0x11986d(0x3e1)](_0x11986d(0x423),_0x24f9ad),_0x53286d[_0x11986d(0x1a0)]();}async[_0x519f42(0x27c)](){const _0x5706cd=_0x519f42,_0xce1327=await this[_0x5706cd(0x5b0)](),_0x3b0abb=this['_createSocketURL'](_0xce1327),_0x50f5be=this[_0x5706cd(0x4b8)]['createSocket'](_0x3b0abb);return this[_0x5706cd(0x371)]=_0x50f5be,_0x50f5be;}async[_0x519f42(0x5d9)](){const _0xb8e9df=_0x519f42;var _0x111b32,_0xf0724f;try{const _0x1c6e3b=(_0xf0724f=(_0x111b32=this['_socket'])!=null?_0x111b32:this[_0xb8e9df(0x371)])!=null?_0xf0724f:await this[_0xb8e9df(0x27c)]();if(_0x1c6e3b){const _0x4b26ad=_0x1c6e3b[_0xb8e9df(0x2a8)];_0x1c6e3b[_0xb8e9df(0x2a8)]=_0x2908b3=>(this['_rescheduleHeartbeat'](),_0x4b26ad[_0xb8e9df(0x52e)](_0x1c6e3b,[_0x2908b3])),_0x1c6e3b[_0xb8e9df(0x2b9)][_0xb8e9df(0x1db)](_0x2fc30a=>this[_0xb8e9df(0x621)](_0x1c6e3b,_0x2fc30a)),_0x1c6e3b['error$'][_0xb8e9df(0x641)](V['take'](0x1))[_0xb8e9df(0x1db)](_0x45431d=>this[_0xb8e9df(0x392)][_0xb8e9df(0x1d8)](_0xb8e9df(0x18a),_0x45431d)),_0x1c6e3b['open$'][_0xb8e9df(0x641)](V[_0xb8e9df(0x292)](0x1))[_0xb8e9df(0x1db)](()=>{const _0x413a9c=_0xb8e9df;this[_0x413a9c(0x252)](_0x1c6e3b);}),_0x1c6e3b[_0xb8e9df(0x57c)][_0xb8e9df(0x641)](V['take'](0x1))[_0xb8e9df(0x1db)](_0x527ba9=>{const _0x49f790=_0xb8e9df;this['_logService'][_0x49f790(0x408)](_0x49f790(0x617),_0x49f790(0x5a6),_0x527ba9),this[_0x49f790(0x1be)]();});}}catch(_0x2fb5f8){this[_0xb8e9df(0x392)][_0xb8e9df(0x1d8)](_0x2fb5f8),this[_0xb8e9df(0x1be)]();}}[_0x519f42(0x252)](_0x2a6a65){const _0x29dec4=_0x519f42;this[_0x29dec4(0x392)][_0x29dec4(0x408)](_0x29dec4(0x617),_0x29dec4(0x415)),_0x2a6a65[_0x29dec4(0x2a8)]({'cmd':G['HELLO']}),this[_0x29dec4(0x48f)]();}[_0x519f42(0x5c5)](){const _0x48ebc1=_0x519f42;window[_0x48ebc1(0x60a)](_0x48ebc1(0x574),()=>this[_0x48ebc1(0x486)]());}[_0x519f42(0x486)](){const _0x312dac=_0x519f42;this[_0x312dac(0x1ee)]=!0x1,this[_0x312dac(0x371)]=null,this[_0x312dac(0x646)][_0x312dac(0x213)](ne[_0x312dac(0x419)]),this[_0x312dac(0x2a4)][_0x312dac(0x213)](null),this['_clearTimeoutTimer'](),this[_0x312dac(0x581)]();}[_0x519f42(0x1be)](){const _0x269b8a=_0x519f42;var _0x4473ce;this['_onOffline'](),this[_0x269b8a(0x5dc)]<((_0x4473ce=this[_0x269b8a(0x193)][_0x269b8a(0x4ba)](gi))!=null?_0x4473ce:en)?(this[_0x269b8a(0x471)]['show']({'key':'collaboration-session-retry','type':Ce[_0x269b8a(0x57a)][_0x269b8a(0x598)],'content':this[_0x269b8a(0x52f)]['t'](_0x269b8a(0x4c6))}),this['_tryReconnect']()):this['_messageService']['show']({'key':'collaboration-session-retry','type':Ce[_0x269b8a(0x57a)][_0x269b8a(0x45a)],'content':this['_localeService']['t']('session.connection-failed')});}['_listenToOnlineEvent'](){const _0x5e9361=_0x519f42,_0xf9b2d4=()=>{const _0x30b9d3=_0x3f43;this[_0x30b9d3(0x250)]||this[_0x30b9d3(0x4cc)]();},_0x502b80=()=>{const _0x5c2da6=_0x3f43;this[_0x5c2da6(0x250)]||document['visibilityState']==='hidden'||this[_0x5c2da6(0x4cc)]();};window[_0x5e9361(0x60a)](_0x5e9361(0x306),_0xf9b2d4),document[_0x5e9361(0x60a)](_0x5e9361(0x258),_0x502b80);}[_0x519f42(0x4df)](){const _0x87202b=_0x519f42;var _0x119c0c;const _0x183deb=this['_retryCount'],_0x182f0b=this['_configService'][_0x87202b(0x4ba)](Z),_0x23bde6=_0x183deb===0x0?0x0:((_0x119c0c=_0x182f0b==null?void 0x0:_0x182f0b[_0x87202b(0x388)])!=null?_0x119c0c:Qi)*0x2**_0x183deb;this[_0x87202b(0x1d0)]=window[_0x87202b(0x2e9)](()=>{const _0xe05e3=_0x87202b;clearTimeout(this[_0xe05e3(0x1d0)]),this[_0xe05e3(0x1d0)]=null,this[_0xe05e3(0x5d9)]();},_0x23bde6),this[_0x87202b(0x5dc)]+=0x1;}[_0x519f42(0x621)](_0x295b22,_0x3adcae){const _0x13d459=_0x519f42,{cmd:_0x302344}=_0x3adcae;_0x302344===G[_0x13d459(0x441)]&&!this['_socketReady']&&(_0x295b22[_0x13d459(0x563)]=_0x3adcae[_0x13d459(0x2f1)]['memberID'],this[_0x13d459(0x2a4)][_0x13d459(0x213)](_0x295b22),this[_0x13d459(0x646)][_0x13d459(0x213)](ne[_0x13d459(0x481)]),this[_0x13d459(0x1ee)]=!0x0,this['_candidateSocket']=null),_0x302344===G[_0x13d459(0x225)]&&this[_0x13d459(0x5d8)](),this[_0x13d459(0x48f)]();}[_0x519f42(0x48f)](){const _0x30f2ff=_0x519f42;var _0x4789e3;this[_0x30f2ff(0x581)](),this[_0x30f2ff(0x4e1)]=window[_0x30f2ff(0x2e9)](()=>this['_sendHeartbeat'](),(_0x4789e3=this['_configService'][_0x30f2ff(0x4ba)](pi))!=null?_0x4789e3:Zi);}['_sendHeartbeat'](){const _0x42e6b3=_0x519f42;this[_0x42e6b3(0x250)][_0x42e6b3(0x2a8)]({'cmd':G['HEARTBEAT']}),this[_0x42e6b3(0x40b)]();}['_waitForHeartbeatResponse'](){const _0x4f5e29=_0x519f42;var _0x31a266;this['_timeoutTimer']=window[_0x4f5e29(0x2e9)](()=>this['_onConnectionFailed'](),(_0x31a266=this[_0x4f5e29(0x193)][_0x4f5e29(0x4ba)](Dt))!=null?_0x31a266:mi);}[_0x519f42(0x581)](){const _0x14a948=_0x519f42;this[_0x14a948(0x4e1)]!=null&&(clearTimeout(this[_0x14a948(0x4e1)]),this[_0x14a948(0x4e1)]=null);}[_0x519f42(0x5d8)](){const _0x1a1551=_0x519f42;this[_0x1a1551(0x49c)]!=null&&(clearTimeout(this[_0x1a1551(0x49c)]),this[_0x1a1551(0x49c)]=null);}},exports[_0x519f42(0x4ae)]=Cn([Se(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),Se(0x1,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)])),Se(0x2,ee[_0x519f42(0x4c8)]),Se(0x3,a[_0x519f42(0x5eb)]),Se(0x4,a['IConfigService']),Se(0x5,Pt),Se(0x6,a['Inject'](z[_0x519f42(0x623)]))],exports[_0x519f42(0x4ae)]);const q=[];for(let r=0x0;r<0x100;++r)q[_0x519f42(0x205)]((r+0x100)[_0x519f42(0x1a0)](0x10)[_0x519f42(0x428)](0x1));function En(_0x5a0c45,_0x446692=0x0){const _0x5f48f0=_0x519f42;return(q[_0x5a0c45[_0x446692+0x0]]+q[_0x5a0c45[_0x446692+0x1]]+q[_0x5a0c45[_0x446692+0x2]]+q[_0x5a0c45[_0x446692+0x3]]+'-'+q[_0x5a0c45[_0x446692+0x4]]+q[_0x5a0c45[_0x446692+0x5]]+'-'+q[_0x5a0c45[_0x446692+0x6]]+q[_0x5a0c45[_0x446692+0x7]]+'-'+q[_0x5a0c45[_0x446692+0x8]]+q[_0x5a0c45[_0x446692+0x9]]+'-'+q[_0x5a0c45[_0x446692+0xa]]+q[_0x5a0c45[_0x446692+0xb]]+q[_0x5a0c45[_0x446692+0xc]]+q[_0x5a0c45[_0x446692+0xd]]+q[_0x5a0c45[_0x446692+0xe]]+q[_0x5a0c45[_0x446692+0xf]])[_0x5f48f0(0x365)]();}let lt;const bn=new Uint8Array(0x10);function Tn(){const _0x37872d=_0x519f42;if(!lt){if(typeof crypto>'u'||!crypto[_0x37872d(0x267)])throw new Error(_0x37872d(0x3d9));lt=crypto[_0x37872d(0x267)][_0x37872d(0x255)](crypto);}return lt(bn);}const Rn=typeof crypto<'u'&&crypto[_0x519f42(0x60c)]&&crypto[_0x519f42(0x60c)]['bind'](crypto),Bt={'randomUUID':Rn};function On(_0x58b4c0,_0x31a764,_0x42d095){const _0x397d08=_0x519f42;if(Bt['randomUUID']&&!_0x31a764&&!_0x58b4c0)return Bt['randomUUID']();_0x58b4c0=_0x58b4c0||{};const _0x38f593=_0x58b4c0[_0x397d08(0x351)]||(_0x58b4c0[_0x397d08(0x48c)]||Tn)();return _0x38f593[0x6]=_0x38f593[0x6]&0xf|0x40,_0x38f593[0x8]=_0x38f593[0x8]&0x3f|0x80,En(_0x38f593);}var yn=Object[_0x519f42(0x360)],Dn=Object[_0x519f42(0x544)],Pn=(_0x97a5b4,_0x2e9a38,_0x530a24,_0xa683b5)=>{const _0x30239b=_0x519f42;for(var _0xdbef4d=_0xa683b5>0x1?void 0x0:_0xa683b5?Dn(_0x2e9a38,_0x530a24):_0x2e9a38,_0x834d0e=_0x97a5b4[_0x30239b(0x53a)]-0x1,_0x4bc182;_0x834d0e>=0x0;_0x834d0e--)(_0x4bc182=_0x97a5b4[_0x834d0e])&&(_0xdbef4d=(_0xa683b5?_0x4bc182(_0x2e9a38,_0x530a24,_0xdbef4d):_0x4bc182(_0xdbef4d))||_0xdbef4d);return _0xa683b5&&_0xdbef4d&&yn(_0x2e9a38,_0x530a24,_0xdbef4d),_0xdbef4d;},ht=(_0x7e428e,_0x4c919f)=>(_0x46d118,_0x6cfdd0)=>_0x4c919f(_0x46d118,_0x6cfdd0,_0x7e428e);let Ze=class{constructor(_0x26f2cf,_0x5705d0,_0x2c4465){const _0xcde44f=_0x519f42;this[_0xcde44f(0x590)]=_0x26f2cf,this[_0xcde44f(0x2b6)]=_0x5705d0,this[_0xcde44f(0x42c)]=_0x2c4465;}[_0x519f42(0x4bc)](_0xffb958){const _0x19bdef=_0x519f42;this[_0x19bdef(0x4f6)](_0xffb958),this['_transformPreviousActiveRange'](_0xffb958);}[_0x519f42(0x5ce)](_0x11f661){const _0x112926=_0x519f42,{unitID:_0x2e9b1b}=_0x11f661,_0x1aa200=this[_0x112926(0x42c)][_0x112926(0x5f4)](_0x2e9b1b)[_0x112926(0x395)](J[_0x112926(0x63e)]),{redoCache:_0x3f6f6c}=_0x1aa200['getUndoRedoMutationParamsCache']();if(_0x3f6f6c[_0x112926(0x53a)]===0x0)return _0x11f661;let _0x341e77=a[_0x112926(0x2c8)]['deepClone'](_0x11f661[_0x112926(0x4af)][0x0]);for(let _0xea81dd=0x0;_0xea81dd<_0x3f6f6c[_0x112926(0x53a)];_0xea81dd++){const _0x16c0b3={'id':_0x112926(0x5d5),'params':{..._0x3f6f6c[_0xea81dd]}},_0x5f13da=this['_transformService'][_0x112926(0x18f)](_0x341e77,_0x16c0b3,!0x1);if(m[_0x112926(0x447)](_0x5f13da))throw _0x5f13da[_0x112926(0x1d8)];_0x341e77=_0x5f13da[_0x112926(0x5fb)];}return{...a[_0x112926(0x2c8)][_0x112926(0x244)](_0x11f661),'mutations':[_0x341e77]};}[_0x519f42(0x4f6)](_0x10ea18){const _0x1fd470=_0x519f42,{unitID:_0x1fdcc6}=_0x10ea18,_0x321d7f=this[_0x1fd470(0x42c)][_0x1fd470(0x5f4)](_0x1fdcc6)[_0x1fd470(0x395)](J['DocIMEInputManagerService']),{undoCache:_0x487e08,redoCache:_0x31c6b9}=_0x321d7f['getUndoRedoMutationParamsCache']();if(_0x487e08[_0x1fd470(0x53a)]===0x0||_0x31c6b9[_0x1fd470(0x53a)]===0x0)return;const _0x263bbb=[],_0x49093=[];let _0xeefb43=a[_0x1fd470(0x2c8)][_0x1fd470(0x244)](_0x10ea18[_0x1fd470(0x4af)][0x0]),_0xde8b23=a[_0x1fd470(0x2c8)]['deepClone'](_0x10ea18['mutations'][0x0]);for(let _0xceb1f2=_0x487e08[_0x1fd470(0x53a)]-0x1;_0xceb1f2>=0x0;_0xceb1f2--){const _0x527899={'id':_0x1fd470(0x5d5),'params':{..._0x487e08[_0xceb1f2]}},_0x4f546e={'id':_0x1fd470(0x5d5),'params':{..._0x31c6b9[_0xceb1f2]}},_0xc24e45=this['_transformService'][_0x1fd470(0x18f)](_0xeefb43,_0x527899,!0x1),_0x4fb282=this['_transformService'][_0x1fd470(0x18f)](_0xde8b23,_0x4f546e,!0x1);if(m[_0x1fd470(0x447)](_0xc24e45))throw _0xc24e45['error'];if(m['isTransformMutationFailure'](_0x4fb282))throw _0x4fb282['error'];_0x263bbb['unshift'](_0xc24e45[_0x1fd470(0x20d)][_0x1fd470(0x322)]),_0x49093[_0x1fd470(0x5ff)](_0x4fb282['m2Prime'][_0x1fd470(0x322)]),_0xeefb43=_0xc24e45[_0x1fd470(0x5fb)],_0xde8b23=_0x4fb282[_0x1fd470(0x5fb)];}_0x321d7f[_0x1fd470(0x383)]({'undoCache':_0x263bbb,'redoCache':_0x49093});}[_0x519f42(0x630)](_0x290c43){const _0x676ddd=_0x519f42,{unitID:_0x5349db}=_0x290c43,_0x357287=this['_renderManagerService'][_0x676ddd(0x5f4)](_0x5349db)[_0x676ddd(0x395)](J[_0x676ddd(0x63e)]),_0x25f827=_0x357287[_0x676ddd(0x508)]();if(_0x25f827==null)return;const _0x43c450=[{'id':_0x676ddd(0x5d5),'params':{'unitId':_0x290c43['unitID'],'actions':null,'textRanges':[_0x25f827]}}],_0x4814ba=this[_0x676ddd(0x2b6)][_0x676ddd(0x187)](_0x290c43,_0x43c450);if(!m['isTransformMutationsWithChangesetSuccess'](_0x4814ba))throw _0x4814ba[_0x676ddd(0x1d8)];const _0x56a291=_0x4814ba[_0x676ddd(0x20d)][0x0][_0x676ddd(0x322)][_0x676ddd(0x1e0)];Array[_0x676ddd(0x5f2)](_0x56a291)&&_0x56a291['length']&&_0x357287[_0x676ddd(0x50e)](_0x56a291[0x0]);}};Ze=Pn([ht(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),ht(0x1,m[_0x519f42(0x562)]),ht(0x2,Y[_0x519f42(0x479)])],Ze);var wn=Object[_0x519f42(0x360)],Un=Object['getOwnPropertyDescriptor'],Mn=(_0x5280f7,_0x24bf73,_0x2f7718,_0x1c1b33)=>{const _0x64a2e=_0x519f42;for(var _0x3f02d4=_0x1c1b33>0x1?void 0x0:_0x1c1b33?Un(_0x24bf73,_0x2f7718):_0x24bf73,_0x20147d=_0x5280f7[_0x64a2e(0x53a)]-0x1,_0xd48e27;_0x20147d>=0x0;_0x20147d--)(_0xd48e27=_0x5280f7[_0x20147d])&&(_0x3f02d4=(_0x1c1b33?_0xd48e27(_0x24bf73,_0x2f7718,_0x3f02d4):_0xd48e27(_0x3f02d4))||_0x3f02d4);return _0x1c1b33&&_0x3f02d4&&wn(_0x24bf73,_0x2f7718,_0x3f02d4),_0x3f02d4;},Pe=(_0x1d48ca,_0x41ac45)=>(_0x1a4e6f,_0x2c7812)=>_0x41ac45(_0x1a4e6f,_0x2c7812,_0x1d48ca);exports[_0x519f42(0x467)]=class extends a['Disposable']{constructor(_0x2b60d5,_0x4182cf,_0xfc5ba5,_0x3716b6,_0x102d2a){const _0x4fb5d0=_0x519f42;super(),I(this,_0x4fb5d0(0x62c),new Map()),I(this,_0x4fb5d0(0x501),new Map()),I(this,_0x4fb5d0(0x4f7),!0x1),(this[_0x4fb5d0(0x193)]=_0x2b60d5,this[_0x4fb5d0(0x4a7)]=_0x4182cf,this[_0x4fb5d0(0x48d)]=_0xfc5ba5,this[_0x4fb5d0(0x52f)]=_0x3716b6,this[_0x4fb5d0(0x3c7)]=_0x102d2a,this[_0x4fb5d0(0x283)]());}[_0x519f42(0x5de)](){this['_disabled']=!0x0;}[_0x519f42(0x299)](){const _0x6c57b9=_0x519f42;this[_0x6c57b9(0x4f7)]=!0x1;}[_0x519f42(0x5fa)](){const _0x561cc6=_0x519f42;this[_0x561cc6(0x649)]()[_0x561cc6(0x5b5)](()=>super[_0x561cc6(0x5fa)]());}async[_0x519f42(0x39f)](_0x1b5135){const _0x2253e1=_0x519f42;return this[_0x2253e1(0x4f7)]?null:this['_localStorageService'][_0x2253e1(0x446)](kt(_0x1b5135));}async['saveOfflineData'](_0x5883f5,_0x1630f3){const _0xa00960=_0x519f42;return!!this['_localStorageService'][_0xa00960(0x1fd)](_0x5883f5,_0x1630f3);}[_0x519f42(0x21e)](_0x48eb29,_0x11bfea,_0x15fcd9,_0x356465){const _0x9f74b1=_0x519f42,_0x38abf9=this[_0x9f74b1(0x3c7)][_0x9f74b1(0x35e)](_0x48eb29);this[_0x9f74b1(0x62c)][_0x9f74b1(0x3e1)](_0x48eb29,{'unitID':_0x48eb29,'type':_0x11bfea,'awaitingChangeset':_0x15fcd9,'mutations':_0x356465,'rev':_0x38abf9}),this[_0x9f74b1(0x501)][_0x9f74b1(0x443)](_0x48eb29)||this['_scheduleSaving'](_0x48eb29);}[_0x519f42(0x3a9)](_0xa1a02){const _0x587e51=_0x519f42,_0x10db33=this[_0x587e51(0x430)]();_0x10db33===0x0?this[_0x587e51(0x416)](_0xa1a02):this[_0x587e51(0x501)]['set'](_0xa1a02,setTimeout(()=>this[_0x587e51(0x416)](_0xa1a02),_0x10db33));}[_0x519f42(0x430)](){const _0x169118=_0x519f42;var _0x25fafa;return(_0x25fafa=this[_0x169118(0x193)][_0x169118(0x4ba)](Ii))!=null?_0x25fafa:tn;}[_0x519f42(0x416)](_0x57137a){const _0x3c2016=_0x519f42,_0x298d01=this['_saveTaskMap'][_0x3c2016(0x4a6)](_0x57137a);return _0x298d01!==void 0x0&&window[_0x3c2016(0x236)](_0x298d01),this[_0x3c2016(0x4a7)][_0x3c2016(0x1fd)](kt(_0x57137a),this[_0x3c2016(0x62c)][_0x3c2016(0x4a6)](_0x57137a))[_0x3c2016(0x5b5)](()=>this[_0x3c2016(0x501)][_0x3c2016(0x203)](_0x57137a));}async[_0x519f42(0x649)](){const _0x3ff383=_0x519f42,_0x5aac97=[];this[_0x3ff383(0x501)][_0x3ff383(0x24a)]((_0x57a23e,_0x266f73)=>{const _0x121637=_0x3ff383;window[_0x121637(0x236)](_0x57a23e),_0x5aac97['push'](this['_saveCache'](_0x266f73)['then'](()=>{const _0x4c9ab0=_0x121637;this[_0x4c9ab0(0x501)][_0x4c9ab0(0x203)](_0x266f73);}));}),await Promise[_0x3ff383(0x335)](_0x5aac97);}[_0x519f42(0x283)](){const _0x5d5139=_0x519f42;this['disposeWithMe'](this[_0x5d5139(0x48d)][_0x5d5139(0x390)](()=>{const _0x4fef8e=_0x5d5139;if(this['_saveTaskMap'][_0x4fef8e(0x542)])return this[_0x4fef8e(0x52f)]['t'](_0x4fef8e(0x1f5));}));}},exports['LocalCacheService']=Mn([Pe(0x0,a[_0x519f42(0x4e5)]),Pe(0x1,a[_0x519f42(0x2f0)]),Pe(0x2,ee[_0x519f42(0x34b)]),Pe(0x3,a['Inject'](a[_0x519f42(0x609)])),Pe(0x4,a['Inject'](m['RevisionService']))],exports['LocalCacheService']);function kt(_0x128537){const _0x44ef48=_0x519f42;return _0x44ef48(0x307)+_0x128537;}var Nn=Object['defineProperty'],An=Object[_0x519f42(0x544)],Ln=(_0x5175d7,_0x191a63,_0x2a8dca,_0x4b813d)=>{const _0x4eaea3=_0x519f42;for(var _0x141792=_0x4b813d>0x1?void 0x0:_0x4b813d?An(_0x191a63,_0x2a8dca):_0x191a63,_0x49fcd7=_0x5175d7[_0x4eaea3(0x53a)]-0x1,_0x7798e9;_0x49fcd7>=0x0;_0x49fcd7--)(_0x7798e9=_0x5175d7[_0x49fcd7])&&(_0x141792=(_0x4b813d?_0x7798e9(_0x191a63,_0x2a8dca,_0x141792):_0x7798e9(_0x141792))||_0x141792);return _0x4b813d&&_0x141792&&Nn(_0x191a63,_0x2a8dca,_0x141792),_0x141792;},_t=(_0x451bc1,_0x493bb7)=>(_0xd39da6,_0x35983e)=>_0x493bb7(_0xd39da6,_0x35983e,_0x451bc1);function xn(_0x3614ef){const {unitID:_0x2e7c71,mutations:_0x94c05d}=_0x3614ef;return{'unitId':_0x2e7c71,'subUnitId':_0x94c05d[0x0]['params']['subUnitId']};}let Qe=class{constructor(_0x2cd35a,_0x58b650,_0x4201ac){const _0x4795ed=_0x519f42;this[_0x4795ed(0x590)]=_0x2cd35a,this[_0x4795ed(0x2b6)]=_0x58b650,this[_0x4795ed(0x32c)]=_0x4201ac;}[_0x519f42(0x35b)](_0x533362){const _0x4f7812=_0x519f42;var _0xfae88a,_0x4506b2,_0x5d9bc2,_0x18e365;const _0x48a382=this[_0x4f7812(0x590)][_0x4f7812(0x4a6)](k['SheetsSelectionsService']),{unitId:_0x545584,subUnitId:_0x1a8992}=xn(_0x533362),_0x49e61=_0x48a382['getWorkbookSelections'](_0x545584)[_0x4f7812(0x1d6)](),_0x37f643=(_0x4506b2=(_0xfae88a=this[_0x4f7812(0x32c)]['getUnit'](_0x545584))==null?void 0x0:_0xfae88a[_0x4f7812(0x5fc)]())==null?void 0x0:_0x4506b2[_0x4f7812(0x584)]();if(_0x49e61['length']===0x0||!_0x545584||!_0x1a8992)return;const _0x451c58=[{'id':k[_0x4f7812(0x4bd)]['id'],'params':{'unitId':_0x545584,'subUnitId':_0x37f643,'selections':a[_0x4f7812(0x2c8)][_0x4f7812(0x244)](_0x49e61)}}],_0x2e35a2=this[_0x4f7812(0x2b6)]['transformMutationsWithChangeset'](_0x533362,_0x451c58);if(!m[_0x4f7812(0x60d)](_0x2e35a2))throw _0x2e35a2[_0x4f7812(0x1d8)];const _0x3ca33d=(_0x18e365=(_0x5d9bc2=_0x2e35a2[_0x4f7812(0x20d)][0x0])==null?void 0x0:_0x5d9bc2[_0x4f7812(0x322)])==null?void 0x0:_0x18e365[_0x4f7812(0x515)];if(Array[_0x4f7812(0x5f2)](_0x3ca33d)&&_0x3ca33d[_0x4f7812(0x53a)]){if(_0x3ca33d[_0x4f7812(0x53a)]===_0x451c58[0x0][_0x4f7812(0x322)][_0x4f7812(0x515)]['length']&&_0x3ca33d[_0x4f7812(0x3c1)]((_0x1936ba,_0x232b82)=>a[_0x4f7812(0x3f5)][_0x4f7812(0x5d3)](_0x1936ba['range'],_0x451c58[0x0][_0x4f7812(0x322)]['selections'][_0x232b82][_0x4f7812(0x400)])))return;this[_0x4f7812(0x590)][_0x4f7812(0x4a6)](a[_0x4f7812(0x3e8)])[_0x4f7812(0x237)](k[_0x4f7812(0x4bd)]['id'],{'unitId':_0x545584,'subUnitId':_0x37f643,'selections':_0x3ca33d});}}};Qe=Ln([_t(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),_t(0x1,m[_0x519f42(0x562)]),_t(0x2,a[_0x519f42(0x4aa)])],Qe);const at=a[_0x519f42(0x3c8)](_0x519f42(0x5dd));var yi=(_0xb1bf4b=>(_0xb1bf4b[_0xb1bf4b['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x519f42(0x189),_0xb1bf4b[_0xb1bf4b[_0x519f42(0x4f3)]=0x1]=_0x519f42(0x4f3),_0xb1bf4b))(yi||{});const Wt=0x7530,Ft='ACTIVE_UNIT_EVENT_CHANNEL';class $n extends a['Disposable']{constructor(){const _0x28eef8=_0x519f42;super(),I(this,'_id',a['Tools'][_0x28eef8(0x472)]()),I(this,_0x28eef8(0x421),new Set()),I(this,'_unitOnClients',new Map()),I(this,_0x28eef8(0x1ff),null),I(this,_0x28eef8(0x2e4),new Map()),I(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x5b8c67=_0x519f42;super[_0x5b8c67(0x5fa)](),this['_clearOtherTimers'][_0x5b8c67(0x24a)]((_0x5cbaf6,_0x3b37bb)=>this[_0x5b8c67(0x600)](_0x3b37bb)),this[_0x5b8c67(0x1ff)]&&window[_0x5b8c67(0x477)](this['_heartbeatTimer']);}[_0x519f42(0x552)](_0x4e7bce){const _0x579832=_0x519f42;return this[_0x579832(0x19a)](_0x4e7bce)[_0x579832(0x641)](N[_0x579832(0x4ff)]());}[_0x519f42(0x401)](_0x2b15f8){const _0x953e53=_0x519f42;this[_0x953e53(0x421)]['size']===0x0&&this[_0x953e53(0x5d0)](),this[_0x953e53(0x421)]['add'](_0x2b15f8),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2b15f8],'isForwarded':!0x1});}[_0x519f42(0x40f)](_0xfd009){const _0x4adf24=_0x519f42;this[_0x4adf24(0x421)][_0x4adf24(0x203)](_0xfd009),this[_0x4adf24(0x421)]['size']===0x0&&this[_0x4adf24(0x1ff)]&&window[_0x4adf24(0x477)](this[_0x4adf24(0x1ff)]);}['_init'](){const _0xe28dcd=_0x519f42;this[_0xe28dcd(0x5db)](a['toDisposable'](N['fromEvent'](window,_0xe28dcd(0x577))[_0xe28dcd(0x1db)](_0x9378a8=>{const _0x49bc3e=_0xe28dcd;if(_0x9378a8[_0x49bc3e(0x2aa)]!==Ft||!_0x9378a8[_0x49bc3e(0x2ad)])return;const _0x2377d6=JSON[_0x49bc3e(0x2f6)](_0x9378a8[_0x49bc3e(0x2ad)]);this[_0x49bc3e(0x1e3)](_0x2377d6);}))),window['addEventListener'](_0xe28dcd(0x514),()=>this['_send']({'type':0x1,'memberID':this[_0xe28dcd(0x568)],'unitIDs':Array[_0xe28dcd(0x3fe)](this[_0xe28dcd(0x421)])}));}[_0x519f42(0x1e3)](_0x3dfc6b){const _0x3facba=_0x519f42;switch(_0x3dfc6b[_0x3facba(0x1d1)]){case 0x0:this[_0x3facba(0x4e3)](_0x3dfc6b);break;case 0x1:this[_0x3facba(0x2dc)](_0x3dfc6b);break;case 0x2:this[_0x3facba(0x5d6)](_0x3dfc6b);break;}}[_0x519f42(0x4e3)](_0x50cf13){const _0x5462d4=_0x519f42,{unitIDs:_0x58b8f9,memberID:_0x198d70,isForwarded:_0x49475a}=_0x50cf13;_0x58b8f9[_0x5462d4(0x24a)](_0x1eee36=>{const _0x54056d=_0x5462d4;if(!_0x49475a&&this['_unitOnClients'][_0x54056d(0x443)](_0x1eee36)&&this[_0x54056d(0x19a)](_0x1eee36)[_0x54056d(0x213)](0x1),!this[_0x54056d(0x374)][_0x54056d(0x443)](_0x1eee36)||!this[_0x54056d(0x374)][_0x54056d(0x4a6)](_0x1eee36)[_0x54056d(0x443)](_0x198d70)){const _0x5dfe3a=this[_0x54056d(0x374)][_0x54056d(0x4a6)](_0x1eee36)||new Set();_0x5dfe3a[_0x54056d(0x556)](_0x198d70),this['_unitOnClients'][_0x54056d(0x3e1)](_0x1eee36,_0x5dfe3a),this[_0x54056d(0x406)](_0x198d70);}}),_0x49475a||this[_0x5462d4(0x425)]({'type':0x0,'memberID':this[_0x5462d4(0x568)],'unitIDs':[...this[_0x5462d4(0x421)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x478e73){const _0x1ced92=_0x519f42;this[_0x1ced92(0x600)](_0x478e73);const _0x3e470e=window[_0x1ced92(0x2e9)](()=>{const _0x59b462=_0x1ced92;this['_unitOnClients'][_0x59b462(0x24a)](_0x1c4b5d=>{const _0xff4ccc=_0x59b462;_0x1c4b5d[_0xff4ccc(0x203)](_0x478e73);});},Wt*0x2);this[_0x1ced92(0x2e4)][_0x1ced92(0x3e1)](_0x478e73,_0x3e470e);}[_0x519f42(0x600)](_0x42c095){const _0x153f4f=_0x519f42;if(this[_0x153f4f(0x2e4)][_0x153f4f(0x443)](_0x42c095)){const _0x4f4689=this[_0x153f4f(0x2e4)]['get'](_0x42c095);_0x4f4689&&window[_0x153f4f(0x236)](_0x4f4689),this[_0x153f4f(0x2e4)][_0x153f4f(0x3e1)](_0x42c095,null);}}[_0x519f42(0x2dc)](_0x1f4051){const _0x5f34d1=_0x519f42,{memberID:_0x383d2d,unitIDs:_0x210441}=_0x1f4051;_0x210441[_0x5f34d1(0x24a)](_0x3b8a51=>{const _0x54f41a=_0x5f34d1;var _0x172dcf;const _0x15cd05=this[_0x54f41a(0x374)][_0x54f41a(0x4a6)](_0x3b8a51);_0x15cd05&&(_0x15cd05[_0x54f41a(0x203)](_0x383d2d),(_0x172dcf=this[_0x54f41a(0x19a)](_0x3b8a51))==null||_0x172dcf[_0x54f41a(0x213)](_0x15cd05[_0x54f41a(0x542)]===0x0?0x0:0x1));}),this[_0x5f34d1(0x600)](_0x383d2d);}[_0x519f42(0x5d6)](_0x2e9d77){const _0x565f0a=_0x519f42;this[_0x565f0a(0x406)](_0x2e9d77[_0x565f0a(0x563)]);}['_send'](_0x10d014){const _0xf2dc9c=_0x519f42;localStorage[_0xf2dc9c(0x1fd)](Ft,JSON[_0xf2dc9c(0x648)](_0x10d014));}[_0x519f42(0x5d0)](){const _0x39abbd=_0x519f42;this[_0x39abbd(0x1ff)]=window[_0x39abbd(0x5f6)](()=>{const _0x13fc91=_0x39abbd;this[_0x13fc91(0x425)]({'type':0x2,'memberID':this['_id']});},Wt);}[_0x519f42(0x19a)](_0x37c83e){const _0x3c75a1=_0x519f42;return this[_0x3c75a1(0x37d)]['has'](_0x37c83e)||this[_0x3c75a1(0x37d)][_0x3c75a1(0x3e1)](_0x37c83e,new N[(_0x3c75a1(0x46f))](0x0)),this[_0x3c75a1(0x37d)][_0x3c75a1(0x4a6)](_0x37c83e);}}var jn=Object[_0x519f42(0x360)],Hn=Object[_0x519f42(0x544)],Bn=(_0xf502c9,_0x90000b,_0x451044,_0x1075fa)=>{const _0x4e3de8=_0x519f42;for(var _0x591c04=_0x1075fa>0x1?void 0x0:_0x1075fa?Hn(_0x90000b,_0x451044):_0x90000b,_0x2b4d50=_0xf502c9[_0x4e3de8(0x53a)]-0x1,_0x10d3e7;_0x2b4d50>=0x0;_0x2b4d50--)(_0x10d3e7=_0xf502c9[_0x2b4d50])&&(_0x591c04=(_0x1075fa?_0x10d3e7(_0x90000b,_0x451044,_0x591c04):_0x10d3e7(_0x591c04))||_0x591c04);return _0x1075fa&&_0x591c04&&jn(_0x90000b,_0x451044,_0x591c04),_0x591c04;},ut=(_0x36f851,_0x46a898)=>(_0x315824,_0x158416)=>_0x46a898(_0x315824,_0x158416,_0x36f851);let et=class{constructor(_0x24ad47,_0x4de3bd,_0x238fe4){const _0x13d7ea=_0x519f42;this['_injector']=_0x24ad47,this[_0x13d7ea(0x2b6)]=_0x4de3bd,this[_0x13d7ea(0x596)]=_0x238fe4;}[_0x519f42(0x3e9)](_0x2dc3c7){this['_transformHistoryAndStateStack'](_0x2dc3c7);}[_0x519f42(0x5ce)](_0x25aee2){const _0x4bdcc6=_0x519f42,{unitID:_0x2bda44}=_0x25aee2,{collaboration:_0x1fa1bc}=this[_0x4bdcc6(0x596)][_0x4bdcc6(0x3d5)](_0x2bda44);if(_0x1fa1bc['length']===0x0)return _0x25aee2;let _0x24ef41=a[_0x4bdcc6(0x2c8)][_0x4bdcc6(0x244)](_0x25aee2[_0x4bdcc6(0x4af)][0x0]);for(let _0x3c858a=0x0;_0x3c858a<_0x1fa1bc[_0x4bdcc6(0x53a)];_0x3c858a++){const _0xcab725={'id':_0x4bdcc6(0x5d5),'params':{'unitId':_0x1fa1bc[_0x3c858a][_0x4bdcc6(0x235)],..._0x1fa1bc[_0x3c858a][_0x4bdcc6(0x2d6)]}},_0x18fbe3=this[_0x4bdcc6(0x2b6)][_0x4bdcc6(0x18f)](_0x24ef41,_0xcab725,!0x1);if(m['isTransformMutationFailure'](_0x18fbe3))throw _0x18fbe3[_0x4bdcc6(0x1d8)];_0x24ef41=_0x18fbe3['m1Prime'];}return{...a['Tools'][_0x4bdcc6(0x244)](_0x25aee2),'mutations':[_0x24ef41]};}[_0x519f42(0x3c0)](_0x284ea2){const _0x5c43a9=_0x519f42,{unitID:_0x1aea0f}=_0x284ea2,{history:_0x34c61a,collaboration:_0x319175}=this[_0x5c43a9(0x596)][_0x5c43a9(0x3d5)](_0x1aea0f);if(_0x34c61a[_0x5c43a9(0x53a)]===0x0&&_0x319175[_0x5c43a9(0x53a)]===0x0)return;const _0xc3a73c=[],_0x571990=[];let _0x82559c=a['Tools'][_0x5c43a9(0x244)](_0x284ea2[_0x5c43a9(0x4af)][0x0]),_0x1477bc=a[_0x5c43a9(0x2c8)][_0x5c43a9(0x244)](_0x284ea2[_0x5c43a9(0x4af)][0x0]);for(let _0x3bd546=_0x34c61a['length']-0x1;_0x3bd546>=0x0;_0x3bd546--){const _0x10bbc4={'id':_0x5c43a9(0x5d5),'params':{'unitId':_0x34c61a[_0x3bd546][_0x5c43a9(0x235)],..._0x34c61a[_0x3bd546]['undoState']}},_0x55fd5e={'id':_0x5c43a9(0x5d5),'params':{'unitId':_0x34c61a[_0x3bd546][_0x5c43a9(0x235)],..._0x34c61a[_0x3bd546][_0x5c43a9(0x2d6)]}},_0x561d83=this['_transformService'][_0x5c43a9(0x18f)](_0x82559c,_0x10bbc4,!0x1),_0x4a0667=this[_0x5c43a9(0x2b6)][_0x5c43a9(0x18f)](_0x1477bc,_0x55fd5e,!0x1);if(m['isTransformMutationFailure'](_0x561d83))throw _0x561d83[_0x5c43a9(0x1d8)];if(m['isTransformMutationFailure'](_0x4a0667))throw _0x4a0667[_0x5c43a9(0x1d8)];_0xc3a73c[_0x5c43a9(0x5ff)]({..._0x34c61a[_0x3bd546],'undoState':_0x561d83[_0x5c43a9(0x20d)][_0x5c43a9(0x322)],'redoState':_0x4a0667[_0x5c43a9(0x20d)][_0x5c43a9(0x322)]}),_0x82559c=_0x561d83['m1Prime'],_0x1477bc=_0x4a0667[_0x5c43a9(0x5fb)];}_0x82559c=a[_0x5c43a9(0x2c8)]['deepClone'](_0x284ea2[_0x5c43a9(0x4af)][0x0]),_0x1477bc=a[_0x5c43a9(0x2c8)][_0x5c43a9(0x244)](_0x284ea2[_0x5c43a9(0x4af)][0x0]);for(let _0x23ad70=_0x319175[_0x5c43a9(0x53a)]-0x1;_0x23ad70>=0x0;_0x23ad70--){const _0x4a16b5={'id':_0x5c43a9(0x5d5),'params':{'unitId':_0x319175[_0x23ad70][_0x5c43a9(0x235)],..._0x319175[_0x23ad70][_0x5c43a9(0x4d9)]}},_0x122be0={'id':_0x5c43a9(0x5d5),'params':{'unitId':_0x319175[_0x23ad70][_0x5c43a9(0x235)],..._0x319175[_0x23ad70][_0x5c43a9(0x2d6)]}},_0x3e65f3=this[_0x5c43a9(0x2b6)][_0x5c43a9(0x18f)](_0x82559c,_0x4a16b5,!0x1),_0x14e5f8=this[_0x5c43a9(0x2b6)][_0x5c43a9(0x18f)](_0x1477bc,_0x122be0,!0x1);if(m[_0x5c43a9(0x447)](_0x3e65f3))throw _0x3e65f3[_0x5c43a9(0x1d8)];if(m[_0x5c43a9(0x447)](_0x14e5f8))throw _0x14e5f8[_0x5c43a9(0x1d8)];_0x571990[_0x5c43a9(0x5ff)]({..._0x319175[_0x23ad70],'undoState':_0x3e65f3[_0x5c43a9(0x20d)][_0x5c43a9(0x322)],'redoState':_0x14e5f8[_0x5c43a9(0x20d)][_0x5c43a9(0x322)]}),_0x82559c=_0x3e65f3[_0x5c43a9(0x5fb)],_0x1477bc=_0x14e5f8[_0x5c43a9(0x5fb)];}this[_0x5c43a9(0x596)][_0x5c43a9(0x543)](_0x1aea0f,{'history':_0xc3a73c,'collaboration':_0x571990});}};et=Bn([ut(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),ut(0x1,m[_0x519f42(0x562)]),ut(0x2,a[_0x519f42(0x3b4)](J[_0x519f42(0x2ca)]))],et);function Di(_0x30767e){const _0x298f3e=_0x519f42;let _0x475b5c='';for(const _0x26b98f of _0x30767e){const {startOffset:_0x3bc5a5,endOffset:_0x570c62,isActive:_0x154f77,rangeType:_0x96ffb5,segmentId:_0x3af7d9,segmentPage:_0x92d42a}=_0x26b98f;_0x475b5c[_0x298f3e(0x53a)]&&(_0x475b5c+=','),_0x475b5c+=_0x3bc5a5+':'+_0x570c62+':'+(_0x154f77?'1':'0')+':'+_0x96ffb5+':'+_0x3af7d9+':'+_0x92d42a;}return _0x475b5c;}function kn(_0x3779cf){const _0x2f4834=_0x519f42,_0x48230a=_0x3779cf[_0x2f4834(0x3a3)](','),_0x222807=[];for(const _0x531ad5 of _0x48230a){const [_0x2e020f,_0x287dee,_0x214847,_0x12b643,_0x34fc88,_0x4e5ecc]=_0x531ad5['split'](':');_0x222807[_0x2f4834(0x205)]({'startOffset':Number(_0x2e020f),'endOffset':Number(_0x287dee),'collapsed':_0x2e020f===_0x287dee,'isActive':_0x214847==='1','rangeType':_0x12b643===a[_0x2f4834(0x5ae)][_0x2f4834(0x2c6)]?a[_0x2f4834(0x5ae)][_0x2f4834(0x2c6)]:a[_0x2f4834(0x5ae)][_0x2f4834(0x328)],'segmentId':typeof _0x34fc88==_0x2f4834(0x32b)?String(_0x34fc88):'','segmentPage':Number(_0x4e5ecc!=null?_0x4e5ecc:-0x1)});}return _0x222807['some'](_0x424f7d=>_0x424f7d[_0x2f4834(0x5ad)])||(_0x222807[0x0][_0x2f4834(0x5ad)]=!0x0),_0x222807;}class Ut extends a[_0x519f42(0x275)]{constructor(){const _0x492efb=_0x519f42;super(...arguments),I(this,_0x492efb(0x4a0),new N['BehaviorSubject'](null)),I(this,_0x492efb(0x5fe),this[_0x492efb(0x4a0)][_0x492efb(0x20b)]());}[_0x519f42(0x3e3)](_0x5c6138){const _0x132ebc=_0x519f42,{unitID:_0x314b14,memberID:_0xe50aba,textRanges:_0x1ea36c}=_0x5c6138,_0x51b072=Di(_0x1ea36c);if(_0x51b072==='')return;const _0x49400e={'unitID':_0x314b14,'memberID':_0xe50aba,'selection':_0x51b072};this[_0x132ebc(0x4a0)][_0x132ebc(0x213)](_0x49400e);}}var Wn=Object['defineProperty'],Fn=Object[_0x519f42(0x544)],Vn=(_0x23999c,_0x35ff55,_0x58e0f4,_0x2aa8f0)=>{const _0x222a82=_0x519f42;for(var _0x337618=_0x2aa8f0>0x1?void 0x0:_0x2aa8f0?Fn(_0x35ff55,_0x58e0f4):_0x35ff55,_0x1fc1b5=_0x23999c[_0x222a82(0x53a)]-0x1,_0x172c67;_0x1fc1b5>=0x0;_0x1fc1b5--)(_0x172c67=_0x23999c[_0x1fc1b5])&&(_0x337618=(_0x2aa8f0?_0x172c67(_0x35ff55,_0x58e0f4,_0x337618):_0x172c67(_0x337618))||_0x337618);return _0x2aa8f0&&_0x337618&&Wn(_0x35ff55,_0x58e0f4,_0x337618),_0x337618;},Vt=(_0x483529,_0x1a7f4a)=>(_0x29c309,_0xd88af5)=>_0x1a7f4a(_0x29c309,_0xd88af5,_0x483529);let tt=class{constructor(_0xc9b3a6,_0x2d3713){const _0x520f1b=_0x519f42;this[_0x520f1b(0x590)]=_0xc9b3a6,this[_0x520f1b(0x2b6)]=_0x2d3713;}[_0x519f42(0x35b)](_0x5b159f){const _0x137142=_0x519f42;var _0xff69df;const _0x343042=this['_injector'][_0x137142(0x4a6)](Ie['DocSelectionManagerService']),_0xf88a17=(_0xff69df=_0x343042[_0x137142(0x50d)]())!=null?_0xff69df:[];if(_0xf88a17[_0x137142(0x53a)]===0x0)return;const _0x28f548=_0x5b159f[_0x137142(0x57d)],_0x9b2fba=[{'id':_0x137142(0x5d5),'params':{'unitId':_0x28f548,'actions':null,'textRanges':_0xf88a17}}],_0x1ba59c=this[_0x137142(0x2b6)]['transformMutationsWithChangeset'](_0x5b159f,_0x9b2fba);if(!m[_0x137142(0x60d)](_0x1ba59c))throw _0x1ba59c[_0x137142(0x1d8)];const _0xfc367b=_0x1ba59c[_0x137142(0x20d)][0x0][_0x137142(0x322)][_0x137142(0x1e0)];Array['isArray'](_0xfc367b)&&_0xfc367b[_0x137142(0x53a)]&&_0x343042[_0x137142(0x28a)](_0xfc367b,{'unitId':_0x28f548,'subUnitId':_0x28f548},!0x1);}};tt=Vn([Vt(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),Vt(0x1,m[_0x519f42(0x562)])],tt);const Gn=new Set([k[_0x519f42(0x539)]['id']]);function Gt(_0x177022,_0x5e51a3,_0x2bb207,_0x17fabd,_0x7f83e){const _0x47cb71=_0x519f42;var _0x1c4a07,_0x2b51ae,_0x321db8,_0x19d02b;const _0x4a45d5=[];for(const _0xc0575b of _0x177022)if(Gn['has'](_0xc0575b['id'])){if(_0x4a45d5[_0x47cb71(0x53a)]>0x0)break;_0x4a45d5[_0x47cb71(0x205)](_0xc0575b);break;}else _0x4a45d5[_0x47cb71(0x205)](_0xc0575b);const _0xa1bdab=(_0x2b51ae=(_0x1c4a07=_0x7f83e[_0x47cb71(0x484)]())==null?void 0x0:_0x1c4a07[_0x47cb71(0x20a)])!=null?_0x2b51ae:'unknown',_0x49ecac=(_0x19d02b=(_0x321db8=_0x7f83e[_0x47cb71(0x484)]())==null?void 0x0:_0x321db8[_0x47cb71(0x563)])!=null?_0x19d02b:'unknown';return{'changeset':{'unitID':_0x5e51a3,'type':m['mapDocumentTypeToUniverType'](_0x2bb207[_0x47cb71(0x499)](_0x5e51a3)),'baseRev':_0x17fabd[_0x47cb71(0x35e)](_0x5e51a3),'revision':0x0,'userID':_0xa1bdab,'memberID':_0x49ecac,'mutations':_0x4a45d5},'pendingMutations':_0x177022['slice'](_0x4a45d5[_0x47cb71(0x53a)])};}function Yn(_0x331b16,_0x1ef47a,_0xc87dd5,_0x60fdf,_0x4eb337){const _0x40cecb=_0x519f42;var _0x50a0b4,_0xf73d12,_0x5bb72d,_0x18b75e;const _0x46e001=[_0x331b16['reduce']((_0x36f2e6,_0x3c968e)=>{const _0x13a00d=_0x3f43;var _0x46c0bd;const {id:_0x38d083}=_0x36f2e6,{id:_0xb072f,type:_0x455827}=_0x3c968e,_0x2a8a34=(_0x46c0bd=_0x36f2e6[_0x13a00d(0x322)])!=null?_0x46c0bd:{'actions':null},_0x848fc7=_0x3c968e[_0x13a00d(0x322)];if(_0x38d083&&_0x38d083!==_0xb072f)throw new Error(_0x13a00d(0x281)+_0x38d083+'\x20-\x20'+_0xb072f+'.');return{..._0x36f2e6,'id':_0xb072f,'type':_0x455827,'params':{'unitId':_0x848fc7[_0x13a00d(0x235)],'textRanges':_0x848fc7[_0x13a00d(0x1e0)],'actions':a[_0x13a00d(0x339)]['compose'](_0x2a8a34['actions'],_0x848fc7[_0x13a00d(0x36a)])}};},{})],_0x229144=(_0xf73d12=(_0x50a0b4=_0x4eb337['getCurrentUser']())==null?void 0x0:_0x50a0b4[_0x40cecb(0x20a)])!=null?_0xf73d12:_0x40cecb(0x2b7),_0xb823f0=(_0x18b75e=(_0x5bb72d=_0x4eb337['getCurrentUser']())==null?void 0x0:_0x5bb72d['memberID'])!=null?_0x18b75e:'unknown';return{'changeset':{'unitID':_0x1ef47a,'type':m[_0x40cecb(0x33b)](_0xc87dd5['getUnitType'](_0x1ef47a)),'baseRev':_0x60fdf[_0x40cecb(0x35e)](_0x1ef47a),'revision':0x0,'userID':_0x229144,'memberID':_0xb823f0,'mutations':_0x46e001},'pendingMutations':[]};}function Pi(_0x52dd10,_0x538561){const _0x23699b=_0x519f42,_0x35f2e3=new N[(_0x23699b(0x239))](0x1);return setTimeout(()=>_0x35f2e3[_0x23699b(0x213)](_0x538561),_0x52dd10),_0x35f2e3[_0x23699b(0x20b)]()[_0x23699b(0x641)](N[_0x23699b(0x292)](0x1));}const qn={'id':k[_0x519f42(0x4ea)]['id'],'type':a['CommandType'][_0x519f42(0x53f)],'params':{}};var Kn=Object['defineProperty'],zn=Object[_0x519f42(0x544)],Ee=(_0x4901be,_0x2c838f,_0xa9be65,_0x318094)=>{const _0x5a526b=_0x519f42;for(var _0x59b75a=_0x318094>0x1?void 0x0:_0x318094?zn(_0x2c838f,_0xa9be65):_0x2c838f,_0x3d8dab=_0x4901be[_0x5a526b(0x53a)]-0x1,_0x20931d;_0x3d8dab>=0x0;_0x3d8dab--)(_0x20931d=_0x4901be[_0x3d8dab])&&(_0x59b75a=(_0x318094?_0x20931d(_0x2c838f,_0xa9be65,_0x59b75a):_0x20931d(_0x59b75a))||_0x59b75a);return _0x318094&&_0x59b75a&&Kn(_0x2c838f,_0xa9be65,_0x59b75a),_0x59b75a;},A=(_0x24f679,_0x1afaa3)=>(_0x42ea23,_0x59281e)=>_0x1afaa3(_0x42ea23,_0x59281e,_0x24f679),K=(_0x4e8db9=>(_0x4e8db9[_0x519f42(0x46c)]=_0x519f42(0x612),_0x4e8db9[_0x519f42(0x445)]=_0x519f42(0x270),_0x4e8db9['PENDING']='pending',_0x4e8db9[_0x519f42(0x57b)]=_0x519f42(0x4fb),_0x4e8db9[_0x519f42(0x540)]=_0x519f42(0x312),_0x4e8db9[_0x519f42(0x52b)]=_0x519f42(0x5cb),_0x4e8db9[_0x519f42(0x51f)]=_0x519f42(0x309),_0x4e8db9[_0x519f42(0x419)]='offline',_0x4e8db9))(K||{});const wi=0xea60;class be{constructor(_0x1adfa8,_0x3d5a99,_0x4a5f16,_0x1d0e6f,_0x4daf08,_0x3571a3,_0x134dd2,_0x5cb90d,_0x5c88f4){const _0x422542=_0x519f42;I(this,_0x422542(0x43c),null),I(this,_0x422542(0x1c0),[]),(this[_0x422542(0x57d)]=_0x1adfa8,this[_0x422542(0x1d1)]=_0x3d5a99,this['_handler']=_0x4daf08,this[_0x422542(0x636)]=_0x3571a3,this['_undoRedoService']=_0x134dd2,this[_0x422542(0x3c7)]=_0x5cb90d,this[_0x422542(0x5ca)]=_0x5c88f4,this[_0x422542(0x43c)]=_0x4a5f16,this['_pendingMutations']=_0x1d0e6f);}[_0x519f42(0x647)](_0x23893e){const _0x4af999=_0x519f42,_0xd46cb5=this[_0x4af999(0x3c7)][_0x4af999(0x35e)](this['unitID']);return _0x23893e[_0x4af999(0x4db)]>_0xd46cb5+0x1?(this['_handler'][_0x4af999(0x442)]({'from':_0xd46cb5,'to':_0x23893e[_0x4af999(0x4db)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x4fe4c5){const _0x42d48b=_0x519f42;this['_undoRedoService'][_0x42d48b(0x46b)](this[_0x42d48b(0x57d)],_0x4fe4c5);}[_0x519f42(0x3a2)](_0x56a0db){const _0x4c3992=_0x519f42;var _0x40512c,_0x449564;(_0x449564=(_0x40512c=this['_handler'])[_0x4c3992(0x523)])==null||_0x449564[_0x4c3992(0x3bb)](_0x40512c,_0x56a0db);}[_0x519f42(0x5cf)](_0x32c904){const _0x161e87=_0x519f42;var _0x1305ff,_0x3d030b;return(_0x3d030b=(_0x1305ff=this[_0x161e87(0x3e2)])[_0x161e87(0x60e)])==null?void 0x0:_0x3d030b[_0x161e87(0x3bb)](_0x1305ff,_0x32c904);}[_0x519f42(0x4f0)](_0x24a459){const _0x44228c=_0x519f42;var _0x35febf,_0x2a3a82;return(_0x2a3a82=(_0x35febf=this[_0x44228c(0x3e2)])[_0x44228c(0x176)])==null?void 0x0:_0x2a3a82[_0x44228c(0x3bb)](_0x35febf,_0x24a459);}[_0x519f42(0x1b8)](_0x4fbb56){const _0x142767=_0x519f42;var _0x4f60ac,_0x217d8b,_0xec5697;return(_0xec5697=(_0x217d8b=(_0x4f60ac=this[_0x142767(0x3e2)])[_0x142767(0x1f8)])==null?void 0x0:_0x217d8b[_0x142767(0x3bb)](_0x4f60ac,_0x4fbb56))!=null?_0xec5697:_0x4fbb56;}[_0x519f42(0x202)](_0x50661c){const _0x362f2d=_0x519f42;var _0x194225,_0x5a2479,_0xd7727e;return(_0xd7727e=(_0x5a2479=(_0x194225=this[_0x362f2d(0x3e2)])[_0x362f2d(0x5ef)])==null?void 0x0:_0x5a2479[_0x362f2d(0x3bb)](_0x194225,_0x50661c))!=null?_0xd7727e:_0x50661c;}[_0x519f42(0x54c)](_0xc1d167){const _0x45e50a=_0x519f42;var _0x7db44d,_0x382a4d;if(this[_0x45e50a(0x1d1)]===ie[_0x45e50a(0x249)]){const {unitID:_0x5eaa61,mutations:_0x523fb7,memberID:_0x5d0d44}=_0xc1d167,_0xbabe37=_0x523fb7[0x0][_0x45e50a(0x322)][_0x45e50a(0x1e0)];Array[_0x45e50a(0x5f2)](_0xbabe37)&&_0xbabe37['length']>0x0&&((_0x382a4d=(_0x7db44d=this[_0x45e50a(0x3e2)])[_0x45e50a(0x4f1)])==null||_0x382a4d[_0x45e50a(0x3bb)](_0x7db44d,{'unitID':_0x5eaa61,'memberID':_0x5d0d44,'textRanges':_0xbabe37}));}}[_0x519f42(0x48b)](){const _0x3b72f3=_0x519f42;this[_0x3b72f3(0x5ca)]['updateOfflineData'](this[_0x3b72f3(0x57d)],this[_0x3b72f3(0x1d1)],this[_0x3b72f3(0x43c)],this[_0x3b72f3(0x1c0)]);}['_getCurrentRevision'](){const _0x5b9640=_0x519f42;return this['_revisionService'][_0x5b9640(0x35e)](this[_0x5b9640(0x57d)]);}['_incrementRevisionNumber'](){const _0x241764=_0x519f42;this[_0x241764(0x3c7)][_0x241764(0x1c1)](this[_0x241764(0x57d)]);}[_0x519f42(0x547)](_0x50f0a3){const _0x24e337=_0x519f42;var _0x21c2f0;let _0xe0287c=this['_transformRemoteChangesetByIMECache'](_0x50f0a3);_0xe0287c=this['_transformRemoteChangesetByStateCache'](_0xe0287c);const _0xf8486b=a[_0x24e337(0x240)](_0xe0287c[_0x24e337(0x4af)],this['_commandService'],{'fromCollab':!0x0});if(!_0xf8486b[_0x24e337(0x5f0)])throw _0xf8486b[_0x24e337(0x1d8)]instanceof Error?_0xf8486b[_0x24e337(0x1d8)]:new Error((_0x21c2f0=_0xf8486b[_0x24e337(0x1d8)])!=null?_0x21c2f0:_0x24e337(0x1b6));this[_0x24e337(0x5cf)](_0xe0287c),this[_0x24e337(0x4f0)](_0xe0287c),this[_0x24e337(0x424)](_0x50f0a3),this[_0x24e337(0x3a2)](_0xe0287c),this[_0x24e337(0x54c)](_0xe0287c),this[_0x24e337(0x637)]();}}let Oe=class extends be{constructor(_0x36e983,_0x417148,_0x27c75e,_0x4cbc3b,_0x246c62,_0x51e951,_0x4dc59b,_0x4104b0,_0x1028f6,_0x35b80c){const _0x10d039=_0x519f42;super(_0x36e983,_0x417148,null,[],_0x27c75e,_0x4104b0,_0x4dc59b,_0x4cbc3b,_0x246c62),I(this,_0x10d039(0x32e),'synced'),(this[_0x10d039(0x590)]=_0x51e951,this[_0x10d039(0x392)]=_0x1028f6,this[_0x10d039(0x2b6)]=_0x35b80c);}[_0x519f42(0x26f)](_0x23c4fc){const _0x477000=_0x519f42,_0xab86dc=this['_injector']['createInstance'](ae,this[_0x477000(0x57d)],this['type'],[_0x23c4fc],this['_handler']);return _0xab86dc[_0x477000(0x1e8)](),_0xab86dc[_0x477000(0x48b)](),_0xab86dc;}[_0x519f42(0x4de)](_0x15ce51){const _0xe4c532=_0x519f42;if(this[_0xe4c532(0x647)](_0x15ce51))return this[_0xe4c532(0x590)][_0xe4c532(0x35c)](re,this['unitID'],this[_0xe4c532(0x1d1)],null,[],null,[_0x15ce51],this[_0xe4c532(0x3e2)]);try{const _0x46aa9c=this[_0xe4c532(0x2b6)][_0xe4c532(0x187)](_0x15ce51,[qn]);if(m['isTransformMutationsWithChangesetSuccess'](_0x46aa9c)){const {c1Prime:_0x42238b}=_0x46aa9c;return this[_0xe4c532(0x547)](_0x42238b),this;}throw _0x46aa9c[_0xe4c532(0x1d8)];}catch(_0x8bf551){return this[_0xe4c532(0x392)][_0xe4c532(0x1d8)](_0x8bf551),this[_0xe4c532(0x178)](!0x1);}}[_0x519f42(0x178)](_0x2180f1){const _0x20deb6=_0x519f42;return this['_injector'][_0x20deb6(0x35c)](fe,this[_0x20deb6(0x57d)],this[_0x20deb6(0x1d1)],null,[],this[_0x20deb6(0x3e2)],_0x2180f1);}[_0x519f42(0x17e)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x519f42(0x195)](){const _0x2dbb77=_0x519f42;throw new Error(_0x2dbb77(0x516));}['onRemoteRetry'](){return this;}[_0x519f42(0x349)](){const _0x333ff6=_0x519f42;return this[_0x333ff6(0x590)][_0x333ff6(0x35c)](ve,this['unitID'],this[_0x333ff6(0x1d1)],null,[],this[_0x333ff6(0x3e2)]);}[_0x519f42(0x46e)](){return this;}[_0x519f42(0x48a)](){const _0x1a80f1=_0x519f42;throw new Error(_0x1a80f1(0x4b3));}[_0x519f42(0x520)](){const _0x29475b=_0x519f42,_0x24401a=this[_0x29475b(0x3c7)]['getCurrentRevOfUnit'](this[_0x29475b(0x57d)]);return this[_0x29475b(0x3e2)]['onMissingChangesets']({'from':_0x24401a,'to':0x0}),this['_injector']['createInstance'](re,this[_0x29475b(0x57d)],this[_0x29475b(0x1d1)],null,[],null,[],this[_0x29475b(0x3e2)]);}};Oe=Ee([A(0x3,a['Inject'](m['RevisionService'])),A(0x4,a['Inject'](exports['LocalCacheService'])),A(0x5,a[_0x519f42(0x3b4)](a['Injector'])),A(0x6,a['IUndoRedoService']),A(0x7,a[_0x519f42(0x3e8)]),A(0x8,a[_0x519f42(0x5eb)]),A(0x9,m[_0x519f42(0x562)])],Oe);let ae=class extends be{constructor(_0x48864f,_0x2dee0e,_0x1a0abb,_0x547c93,_0x1dd2fc,_0x12fcde,_0x4a0af2,_0x30f42,_0x267850,_0x2b4883,_0x326545,_0x28c5f7,_0xf271a7,_0x28f208){const _0x4f14c2=_0x519f42;super(_0x48864f,_0x2dee0e,null,_0x1a0abb,_0x547c93,_0x2b4883,_0x28f208,_0x12fcde,_0x4a0af2),I(this,_0x4f14c2(0x32e),'pending'),I(this,_0x4f14c2(0x595),null),I(this,_0x4f14c2(0x483),null),(this[_0x4f14c2(0x590)]=_0x1dd2fc,this[_0x4f14c2(0x24e)]=_0x30f42,this[_0x4f14c2(0x392)]=_0x267850,this[_0x4f14c2(0x193)]=_0x326545,this[_0x4f14c2(0x2b6)]=_0x28c5f7,this['_univerInstanceService']=_0xf271a7);}['appendMutation'](_0x5189c6){const _0x416410=_0x519f42;return this[_0x416410(0x1c0)][_0x416410(0x205)](_0x5189c6),this[_0x416410(0x48b)](),this;}['onRemoteChangeset'](_0x5105ee){const _0x441bc6=_0x519f42;if(this[_0x441bc6(0x647)](_0x5105ee))return this[_0x441bc6(0x458)](),this[_0x441bc6(0x590)][_0x441bc6(0x35c)](re,this[_0x441bc6(0x57d)],this[_0x441bc6(0x1d1)],null,this[_0x441bc6(0x1c0)],null,[_0x5105ee],this[_0x441bc6(0x3e2)]);try{const _0xbf551c=this[_0x441bc6(0x2b6)][_0x441bc6(0x187)](_0x5105ee,this[_0x441bc6(0x1c0)]);if(m['isTransformMutationsWithChangesetSuccess'](_0xbf551c)){const {c1Prime:_0x3f6f47,m2Prime:_0x1b39c6}=_0xbf551c;this[_0x441bc6(0x547)](_0x3f6f47);const _0x4edc8d=this[_0x441bc6(0x590)][_0x441bc6(0x35c)](ae,this[_0x441bc6(0x57d)],this[_0x441bc6(0x1d1)],_0x1b39c6,this['_handler']);return this[_0x441bc6(0x458)](),_0x4edc8d[_0x441bc6(0x1e8)](this[_0x441bc6(0x595)]?Math['max'](0x0,new Date()['getTime']()-this[_0x441bc6(0x595)]):this[_0x441bc6(0x510)]()),_0x4edc8d;}throw _0xbf551c['error'];}catch(_0x42a917){return this[_0x441bc6(0x392)][_0x441bc6(0x1d8)](_0x42a917),this[_0x441bc6(0x178)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x519f42(0x195)](){const _0x465e6c=_0x519f42;throw new Error(_0x465e6c(0x4b4));}[_0x519f42(0x277)](){return this;}[_0x519f42(0x349)](){const _0x3bdbe3=_0x519f42;return this['_clearScheduledTask'](),this[_0x3bdbe3(0x590)][_0x3bdbe3(0x35c)](ve,this[_0x3bdbe3(0x57d)],this['type'],null,this[_0x3bdbe3(0x1c0)],this['_handler']);}[_0x519f42(0x46e)](){return this;}[_0x519f42(0x1e8)](_0x4a4326){const _0x5f0517=_0x519f42,_0x5dbda9=_0x4a4326!=null?_0x4a4326:this[_0x5f0517(0x510)]();this['_scheduleTimestamp']=new Date()[_0x5f0517(0x345)](),this[_0x5f0517(0x483)]=window['setTimeout'](()=>{const _0x24fdc3=_0x5f0517;this['_clearScheduledTask']();let _0x3060c4=null;switch(this[_0x24fdc3(0x1d1)]){case ie[_0x24fdc3(0x248)]:{_0x3060c4=Gt(this[_0x24fdc3(0x1c0)],this[_0x24fdc3(0x57d)],this[_0x24fdc3(0x403)],this[_0x24fdc3(0x3c7)],this[_0x24fdc3(0x24e)]);break;}case ie[_0x24fdc3(0x249)]:{this[_0x24fdc3(0x1c0)][_0x24fdc3(0x3c1)](_0x3d6578=>_0x3d6578['id']===Ie[_0x24fdc3(0x1ad)]['id'])?_0x3060c4=Yn(this[_0x24fdc3(0x1c0)],this[_0x24fdc3(0x57d)],this[_0x24fdc3(0x403)],this[_0x24fdc3(0x3c7)],this[_0x24fdc3(0x24e)]):_0x3060c4=Gt(this[_0x24fdc3(0x1c0)],this['unitID'],this[_0x24fdc3(0x403)],this['_revisionService'],this[_0x24fdc3(0x24e)]);break;}default:throw new Error(_0x24fdc3(0x417)+this[_0x24fdc3(0x1d1)]+'\x20in\x20_schedule.');}const {changeset:_0x132809,pendingMutations:_0xf3043f}=_0x3060c4;this['_handler']['onSendChangeset'](_0x132809);const _0x42806f=_0xf3043f[_0x24fdc3(0x53a)]?this['_injector'][_0x24fdc3(0x35c)](ce,this[_0x24fdc3(0x57d)],this[_0x24fdc3(0x1d1)],_0x132809,_0xf3043f,this[_0x24fdc3(0x3e2)],void 0x0):this['_injector']['createInstance'](de,this[_0x24fdc3(0x57d)],this[_0x24fdc3(0x1d1)],_0x132809,this[_0x24fdc3(0x3e2)]);_0x42806f['_updateLocalCache'](),this[_0x24fdc3(0x3e2)][_0x24fdc3(0x23b)](this,_0x42806f);},_0x5dbda9);}[_0x519f42(0x510)](){const _0x307de6=_0x519f42;var _0x4f54a7;const _0x310417=this['_configService'][_0x307de6(0x4ba)](Z);return(_0x4f54a7=_0x310417==null?void 0x0:_0x310417[_0x307de6(0x183)])!=null?_0x4f54a7:zi;}['resend'](){const _0x437b2f=_0x519f42;throw new Error(_0x437b2f(0x36f));}[_0x519f42(0x458)](){const _0x2158aa=_0x519f42;this[_0x2158aa(0x483)]!=null&&(clearTimeout(this[_0x2158aa(0x483)]),this['_sendingTimer']=null);}[_0x519f42(0x178)](_0xb9a5c9){const _0x175e64=_0x519f42;return this[_0x175e64(0x458)](),this[_0x175e64(0x590)]['createInstance'](fe,this[_0x175e64(0x57d)],this[_0x175e64(0x1d1)],null,this[_0x175e64(0x1c0)],this[_0x175e64(0x3e2)],_0xb9a5c9);}};ae=Ee([A(0x4,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),A(0x5,a[_0x519f42(0x3b4)](m[_0x519f42(0x404)])),A(0x6,a['Inject'](exports[_0x519f42(0x467)])),A(0x7,a[_0x519f42(0x3b4)](exports[_0x519f42(0x1f6)])),A(0x8,a[_0x519f42(0x5eb)]),A(0x9,a[_0x519f42(0x3e8)]),A(0xa,a[_0x519f42(0x4e5)]),A(0xb,m[_0x519f42(0x562)]),A(0xc,a[_0x519f42(0x4aa)]),A(0xd,a['IUndoRedoService'])],ae);let de=class extends be{constructor(_0x2ab3a3,_0x34b1f6,_0x2fc24f,_0x5a8091,_0x5a9b63,_0x510787,_0x123974,_0x2043af,_0x4e40c1,_0x2580da,_0x17481e){const _0x4aced8=_0x519f42;super(_0x2ab3a3,_0x34b1f6,_0x2fc24f,[],_0x5a8091,_0x2043af,_0x17481e,_0x510787,_0x123974),I(this,_0x4aced8(0x32e),_0x4aced8(0x4fb)),I(this,_0x4aced8(0x201),0x0),I(this,'_resendTimer'),I(this,'_sender'),(this[_0x4aced8(0x590)]=_0x5a9b63,this[_0x4aced8(0x392)]=_0x4e40c1,this[_0x4aced8(0x2b6)]=_0x2580da);}[_0x519f42(0x26f)](_0x16c12b){const _0x4dd719=_0x519f42;this[_0x4dd719(0x458)]();const _0x5e3b62=this[_0x4dd719(0x590)][_0x4dd719(0x35c)](ce,this[_0x4dd719(0x57d)],this[_0x4dd719(0x1d1)],this[_0x4dd719(0x43c)],[_0x16c12b],this[_0x4dd719(0x3e2)],this['_resendTimer']);return _0x5e3b62[_0x4dd719(0x48b)](),_0x5e3b62;}[_0x519f42(0x4de)](_0x70beee){const _0x4f9a44=_0x519f42;if(this[_0x4f9a44(0x647)](_0x70beee))return this[_0x4f9a44(0x458)](),this[_0x4f9a44(0x590)][_0x4f9a44(0x35c)](re,this['unitID'],this['type'],this[_0x4f9a44(0x43c)],[],null,[_0x70beee],this[_0x4f9a44(0x3e2)]);try{const _0x2e2fc8=this['_transformService'][_0x4f9a44(0x45f)]([_0x70beee],[this['_awaitingChangeset']],!0x1);if(m[_0x4f9a44(0x61e)](_0x2e2fc8)){const {c1Prime:_0x3e3b3b,c2Prime:_0x1d6183}=_0x2e2fc8;this[_0x4f9a44(0x547)](_0x3e3b3b[0x0]),_0x1d6183[0x0][_0x4f9a44(0x1ef)]=this[_0x4f9a44(0x532)](),this['_clearScheduledTask']();const _0x37930c=this[_0x4f9a44(0x590)][_0x4f9a44(0x35c)](de,this[_0x4f9a44(0x57d)],this[_0x4f9a44(0x1d1)],_0x1d6183[0x0],this[_0x4f9a44(0x3e2)]);return _0x37930c[_0x4f9a44(0x48b)](),_0x37930c;}return this[_0x4f9a44(0x178)](!0x1);}catch(_0x4da289){return this[_0x4f9a44(0x392)][_0x4f9a44(0x1d8)](_0x4da289),this[_0x4f9a44(0x178)](!0x1);}}[_0x519f42(0x17e)](_0x56e032){const _0x1d2e84=_0x519f42;this[_0x1d2e84(0x458)]();const _0x5ea485=this[_0x1d2e84(0x3c7)][_0x1d2e84(0x35e)](this[_0x1d2e84(0x57d)]);if(_0x56e032[_0x1d2e84(0x4db)]<_0x5ea485-0x1)return this;if(this[_0x1d2e84(0x647)](_0x56e032))return this[_0x1d2e84(0x590)][_0x1d2e84(0x35c)](re,this['unitID'],this['type'],null,[],this[_0x1d2e84(0x43c)],[],this[_0x1d2e84(0x3e2)]);this[_0x1d2e84(0x637)]();const _0x1f5a87=this[_0x1d2e84(0x590)]['createInstance'](Oe,this[_0x1d2e84(0x57d)],this[_0x1d2e84(0x1d1)],this[_0x1d2e84(0x3e2)]);return _0x1f5a87[_0x1d2e84(0x48b)](),_0x1f5a87;}[_0x519f42(0x195)](_0x350c62){const _0x484587=_0x519f42;return this[_0x484587(0x178)](!!(_0x350c62!=null&&_0x350c62[_0x484587(0x29e)]));}[_0x519f42(0x277)](_0xa33399){const _0x4ae7dc=_0x519f42;return this['_resendTimeout']>wi?this[_0x4ae7dc(0x349)]():(this[_0x4ae7dc(0x17d)]=Pi(this[_0x4ae7dc(0x201)],{'timeout':this[_0x4ae7dc(0x201)],'reqId':_0xa33399[_0x4ae7dc(0x30e)]}),this['_sender']=this[_0x4ae7dc(0x17d)][_0x4ae7dc(0x1db)](({reqId:_0x365b48,timeout:_0x575682})=>{this['_resendWithTimeout'](_0x365b48,_0x575682);}),this);}[_0x519f42(0x349)](){const _0x57140b=_0x519f42;return this[_0x57140b(0x458)](),this[_0x57140b(0x590)][_0x57140b(0x35c)](ve,this[_0x57140b(0x57d)],this[_0x57140b(0x1d1)],this[_0x57140b(0x43c)],[],this['_handler']);}[_0x519f42(0x46e)](){return this;}['resend'](){const _0x1cca61=_0x519f42;this[_0x1cca61(0x3e2)][_0x1cca61(0x29b)](this[_0x1cca61(0x43c)]);}[_0x519f42(0x178)](_0xfb9890){const _0x271201=_0x519f42;return this[_0x271201(0x458)](),this[_0x271201(0x590)][_0x271201(0x35c)](fe,this[_0x271201(0x57d)],this[_0x271201(0x1d1)],this[_0x271201(0x43c)],[],this['_handler'],_0xfb9890);}[_0x519f42(0x338)](_0x5439e9,_0x3b4166){const _0x1248ab=_0x519f42;var _0x40c568;_0x5439e9===((_0x40c568=this[_0x1248ab(0x43c)])==null?void 0x0:_0x40c568[_0x1248ab(0x30e)])&&(this[_0x1248ab(0x48a)](),this['_resendTimeout']=_0x3b4166===0x0?0x3e8:_0x3b4166*0x2);}[_0x519f42(0x458)](){const _0x7dd2f4=_0x519f42;var _0x1bd977;(_0x1bd977=this[_0x7dd2f4(0x22e)])==null||_0x1bd977['unsubscribe'](),this[_0x7dd2f4(0x201)]=0x0;}};de=Ee([A(0x4,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),A(0x5,a[_0x519f42(0x3b4)](m['RevisionService'])),A(0x6,a['Inject'](exports['LocalCacheService'])),A(0x7,a[_0x519f42(0x3e8)]),A(0x8,a[_0x519f42(0x5eb)]),A(0x9,m[_0x519f42(0x562)]),A(0xa,a[_0x519f42(0x2da)])],de);let ce=class extends be{constructor(_0x1ccb96,_0xe50b75,_0x15005a,_0x3c87e0,_0x2fcb1c,_0x45b3f3,_0x2bc39f,_0x9994b0,_0x361477,_0x1e8d6c,_0x228b21,_0x509285,_0x5dd618){const _0x2d06c1=_0x519f42;super(_0x1ccb96,_0xe50b75,_0x15005a,_0x3c87e0,_0x2fcb1c,_0x1e8d6c,_0x5dd618,_0x9994b0,_0x361477),I(this,_0x2d06c1(0x32e),_0x2d06c1(0x312)),I(this,'_resendTimeout',0x0),I(this,_0x2d06c1(0x17d)),I(this,_0x2d06c1(0x22e)),(this[_0x2d06c1(0x590)]=_0x2bc39f,this['_logService']=_0x228b21,this['_transformService']=_0x509285,_0x45b3f3&&(this[_0x2d06c1(0x17d)]=_0x45b3f3,this[_0x2d06c1(0x22e)]=this[_0x2d06c1(0x17d)][_0x2d06c1(0x1db)](({reqId:_0x2f92a9,timeout:_0x1cb7bb})=>{const _0x19accc=_0x2d06c1;this[_0x19accc(0x338)](_0x2f92a9,_0x1cb7bb);})));}[_0x519f42(0x26f)](_0x174e2f){const _0x6ee3b9=_0x519f42;return this[_0x6ee3b9(0x1c0)]['push'](_0x174e2f),this;}['onRemoteChangeset'](_0x127888){const _0x5914d5=_0x519f42;if(this[_0x5914d5(0x647)](_0x127888))return this['_clearScheduledTask'](),this['_injector'][_0x5914d5(0x35c)](re,this[_0x5914d5(0x57d)],this[_0x5914d5(0x1d1)],this[_0x5914d5(0x43c)],this['_pendingMutations'],null,[_0x127888],this[_0x5914d5(0x3e2)]);try{const _0x20ec2b=this[_0x5914d5(0x2b6)][_0x5914d5(0x45f)]([_0x127888],[this[_0x5914d5(0x43c)]],!0x1);if(m[_0x5914d5(0x61e)](_0x20ec2b)){const {c1Prime:_0x2cd9a8,c2Prime:_0x52a8fb}=_0x20ec2b,_0x46607c=this[_0x5914d5(0x2b6)][_0x5914d5(0x187)](_0x2cd9a8[0x0],this[_0x5914d5(0x1c0)]);if(m[_0x5914d5(0x60d)](_0x46607c)){const {c1Prime:_0x2c428b,m2Prime:_0xa935d4}=_0x46607c;return this[_0x5914d5(0x547)](_0x2c428b),_0x52a8fb[0x0][_0x5914d5(0x1ef)]=this[_0x5914d5(0x532)](),this[_0x5914d5(0x458)](),this[_0x5914d5(0x590)][_0x5914d5(0x35c)](ce,this[_0x5914d5(0x57d)],this['type'],_0x52a8fb[0x0],_0xa935d4,this[_0x5914d5(0x3e2)],void 0x0);}throw _0x46607c[_0x5914d5(0x1d8)];}throw _0x20ec2b[_0x5914d5(0x1d8)];}catch(_0x421abc){return this[_0x5914d5(0x392)][_0x5914d5(0x1d8)](_0x421abc),this[_0x5914d5(0x178)](!0x1);}}['onRemoteAck'](_0x148d3e){const _0x4274d7=_0x519f42;if(this[_0x4274d7(0x458)](),this[_0x4274d7(0x647)](_0x148d3e))return this['_injector']['createInstance'](re,this[_0x4274d7(0x57d)],this[_0x4274d7(0x1d1)],null,this[_0x4274d7(0x1c0)],this['_awaitingChangeset'],[],this['_handler']);this[_0x4274d7(0x637)]();const _0x5ac821=this['_injector'][_0x4274d7(0x35c)](ae,this[_0x4274d7(0x57d)],this['type'],this[_0x4274d7(0x1c0)],this[_0x4274d7(0x3e2)]);return _0x5ac821['_schedule'](),_0x5ac821[_0x4274d7(0x48b)](),_0x5ac821;}[_0x519f42(0x195)](_0x355a08){return this['_onConflict'](!!(_0x355a08!=null&&_0x355a08['isPermissionRej']));}[_0x519f42(0x277)](_0x170b9d){const _0x26d1fa=_0x519f42;return this['_resendTimeout']>wi?this['toggleOffline']():(this[_0x26d1fa(0x17d)]=Pi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x170b9d[_0x26d1fa(0x30e)]}),this[_0x26d1fa(0x22e)]=this['_resendTimer'][_0x26d1fa(0x1db)](({reqId:_0x32824f,timeout:_0x3f9460})=>{this['_resendWithTimeout'](_0x32824f,_0x3f9460);}),this);}[_0x519f42(0x349)](){const _0x42e929=_0x519f42;return this[_0x42e929(0x458)](),this[_0x42e929(0x590)][_0x42e929(0x35c)](ve,this['unitID'],this[_0x42e929(0x1d1)],this[_0x42e929(0x43c)],this['_pendingMutations'],this[_0x42e929(0x3e2)]);}[_0x519f42(0x46e)](){return this;}[_0x519f42(0x48a)](){const _0x5232f8=_0x519f42;this[_0x5232f8(0x3e2)][_0x5232f8(0x29b)](this['_awaitingChangeset']);}[_0x519f42(0x178)](_0x2ede08){const _0x23e130=_0x519f42;return this[_0x23e130(0x458)](),this['_injector'][_0x23e130(0x35c)](fe,this[_0x23e130(0x57d)],this[_0x23e130(0x1d1)],null,this['_pendingMutations'],this[_0x23e130(0x3e2)],_0x2ede08);}[_0x519f42(0x338)](_0x1458ed,_0x45e9e5){const _0x408a26=_0x519f42;var _0x50eb4d;_0x1458ed===((_0x50eb4d=this['_awaitingChangeset'])==null?void 0x0:_0x50eb4d[_0x408a26(0x30e)])&&(this[_0x408a26(0x48a)](),this[_0x408a26(0x201)]=_0x45e9e5===0x0?0x3e8:_0x45e9e5*0x2);}['_clearScheduledTask'](){const _0x131449=_0x519f42;var _0x3f223c;(_0x3f223c=this['_sender'])==null||_0x3f223c['unsubscribe'](),this[_0x131449(0x201)]=0x0;}};ce=Ee([A(0x6,a['Inject'](a[_0x519f42(0x377)])),A(0x7,a['Inject'](m[_0x519f42(0x404)])),A(0x8,a['Inject'](exports[_0x519f42(0x467)])),A(0x9,a[_0x519f42(0x3e8)]),A(0xa,a['ILogService']),A(0xb,m[_0x519f42(0x562)]),A(0xc,a[_0x519f42(0x2da)])],ce);let fe=class extends be{constructor(_0x434c4a,_0x57ad61,_0x13992a,_0x52e6a7,_0x538f96,_0x582c53=!0x1,_0x3fd446,_0x31753b,_0xdb98dd,_0x5046c9,_0x1168b0,_0x30671a,_0x4e37a9){const _0x39d894=_0x519f42;super(_0x434c4a,_0x57ad61,_0x13992a,_0x52e6a7,_0x538f96,_0x31753b,_0xdb98dd,_0x1168b0,_0x5046c9),I(this,'status','conflict'),(this[_0x39d894(0x24f)]=_0x582c53,this[_0x39d894(0x409)]=_0x3fd446,this['_localeService']=_0x30671a,this[_0x39d894(0x17f)]=_0x4e37a9,this[_0x39d894(0x23d)](),this['_clearLocalCache'](),this[_0x39d894(0x341)]());}[_0x519f42(0x26f)](){return this;}[_0x519f42(0x4de)](){return this;}['onRemoteAck'](){return this;}[_0x519f42(0x195)](){return this;}[_0x519f42(0x277)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x536191=_0x519f42;throw new Error(_0x536191(0x29d));}['_clearLocalCache'](){const _0x73541e=_0x519f42;this[_0x73541e(0x5ca)][_0x73541e(0x21e)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){const _0x3a21b5=_0x519f42;this[_0x3a21b5(0x24f)]?this['_notificationService']['show']({'title':this[_0x3a21b5(0x52f)]['t'](_0x3a21b5(0x492)),'content':this[_0x3a21b5(0x52f)]['t'](_0x3a21b5(0x549)),'type':_0x3a21b5(0x1d8),'duration':0x0}):this[_0x3a21b5(0x17f)][_0x3a21b5(0x1e6)]({'title':this[_0x3a21b5(0x52f)]['t'](_0x3a21b5(0x228)),'content':this[_0x3a21b5(0x52f)]['t']('conflict.content'),'type':_0x3a21b5(0x1d8),'duration':0x0});}['_disableEditing'](){const _0x4873c3=_0x519f42;this[_0x4873c3(0x409)][_0x4873c3(0x4d1)](new k['WorkbookEditablePermission'](this[_0x4873c3(0x57d)])['id'],!0x1);}};fe=Ee([A(0x6,a[_0x519f42(0x3b4)](a[_0x519f42(0x3ed)])),A(0x7,a['ICommandService']),A(0x8,a['IUndoRedoService']),A(0x9,a['Inject'](exports[_0x519f42(0x467)])),A(0xa,a[_0x519f42(0x3b4)](m[_0x519f42(0x404)])),A(0xb,a[_0x519f42(0x3b4)](a['LocaleService'])),A(0xc,ee[_0x519f42(0x31c)])],fe);let ve=class extends be{constructor(_0x22698b,_0x454aec,_0x2cdcb1,_0x33a376,_0x103e3b,_0x4e4a46,_0x2dad91,_0x9bc937,_0x250f08,_0x1ad86d){const _0xbb7b3b=_0x519f42;super(_0x22698b,_0x454aec,_0x2cdcb1,_0x33a376,_0x103e3b,_0x250f08,_0x1ad86d,_0x2dad91,_0x9bc937),I(this,_0xbb7b3b(0x32e),'offline'),this[_0xbb7b3b(0x590)]=_0x4e4a46;}[_0x519f42(0x26f)](_0x26fe1e){const _0xe0fb75=_0x519f42;return this[_0xe0fb75(0x1c0)][_0xe0fb75(0x205)](_0x26fe1e),this[_0xe0fb75(0x48b)](),this;}[_0x519f42(0x4de)](_0x5c9f0e){const _0x3e3ec4=_0x519f42;throw new Error(_0x3e3ec4(0x63b));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x519f42(0x195)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x519f42(0x277)](){return this;}[_0x519f42(0x349)](){return this;}[_0x519f42(0x46e)](){const _0x338f4f=_0x519f42,{_injector:_0x63832d,_pendingMutations:_0xb8bc34,_awaitingChangeset:_0x390c55,unitID:_0x317aa3,_handler:_0x3a1eb9,type:_0x61cbbe}=this,_0x4b7c33=Ui(_0x63832d,_0x317aa3,_0x61cbbe,_0x390c55,_0xb8bc34,_0x3a1eb9);return _0x4b7c33 instanceof ae?_0x4b7c33[_0x338f4f(0x1e8)]():(_0x4b7c33 instanceof ce||_0x4b7c33 instanceof de)&&_0x4b7c33[_0x338f4f(0x48a)](),_0x4b7c33;}[_0x519f42(0x48a)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ve=Ee([A(0x5,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),A(0x6,a['Inject'](m[_0x519f42(0x404)])),A(0x7,a[_0x519f42(0x3b4)](exports[_0x519f42(0x467)])),A(0x8,a[_0x519f42(0x3e8)]),A(0x9,a[_0x519f42(0x2da)])],ve);let re=class extends be{constructor(_0x1b1ea2,_0x2393fa,_0x229c29,_0xefd68e,_0x110206,_0x378da8,_0x3ebdf6,_0x10e0a4,_0xff9a00,_0x287676,_0x4f0921,_0x55a1b8,_0x3689e7,_0x6ec1c7){const _0x188745=_0x519f42;super(_0x1b1ea2,_0x2393fa,_0x229c29,_0xefd68e,_0x3ebdf6,_0x55a1b8,_0x3689e7,_0xff9a00,_0x287676),I(this,'status',_0x188745(0x5cb)),(this[_0x188745(0x578)]=_0x110206,this[_0x188745(0x251)]=_0x378da8,this['_injector']=_0x10e0a4,this[_0x188745(0x392)]=_0x4f0921,this[_0x188745(0x2b6)]=_0x6ec1c7);}['onMissedChangesetFetched'](_0x2c2fe0){const _0x37d3b7=_0x519f42;try{const _0x21d16c=[..._0x2c2fe0,...this['_queuedRemoteChangesets']],_0x35f781=[this[_0x37d3b7(0x43c)]||this[_0x37d3b7(0x578)]]['filter'](_0x13c295=>!!_0x13c295);let _0x287dd4,_0x320350;if(_0x35f781[_0x37d3b7(0x53a)]){const _0x3496d6=this[_0x37d3b7(0x2b6)][_0x37d3b7(0x45f)](_0x21d16c,_0x35f781,!0x1);if(!m[_0x37d3b7(0x61e)](_0x3496d6))throw _0x3496d6[_0x37d3b7(0x1d8)];_0x287dd4=_0x3496d6['c1Prime'],_0x320350=_0x3496d6[_0x37d3b7(0x226)];}else _0x287dd4=_0x21d16c,_0x320350=[];let _0x1abc87=this['_pendingMutations'];_0x287dd4[_0x37d3b7(0x24a)](_0x5a5216=>{const _0x5bbf56=_0x37d3b7;let _0x380cee;if(_0x1abc87[_0x5bbf56(0x53a)]){const _0x34e464=this[_0x5bbf56(0x2b6)][_0x5bbf56(0x187)](_0x5a5216,_0x1abc87);if(!m[_0x5bbf56(0x60d)](_0x34e464))throw _0x34e464[_0x5bbf56(0x1d8)];_0x380cee=_0x34e464['c1Prime'],_0x1abc87=_0x34e464[_0x5bbf56(0x20d)];}else _0x380cee=_0x5a5216;this['_executeRemoteChangeset'](_0x380cee);}),this['_acknowledgedAwaitingChangeset']&&this[_0x37d3b7(0x637)](),this[_0x37d3b7(0x43c)]&&_0x320350['length']&&(_0x320350[0x0][_0x37d3b7(0x1ef)]=this[_0x37d3b7(0x532)]());let _0x52d44d;if(this[_0x37d3b7(0x43c)]&&_0x1abc87[_0x37d3b7(0x53a)]!==0x0)_0x52d44d=this[_0x37d3b7(0x590)][_0x37d3b7(0x35c)](ce,this[_0x37d3b7(0x57d)],this[_0x37d3b7(0x1d1)],_0x320350[0x0],_0x1abc87,this[_0x37d3b7(0x3e2)],void 0x0);else{if(this[_0x37d3b7(0x43c)]&&_0x1abc87[_0x37d3b7(0x53a)]===0x0)_0x320350[0x0][_0x37d3b7(0x1ef)]=this[_0x37d3b7(0x532)](),_0x52d44d=this[_0x37d3b7(0x590)][_0x37d3b7(0x35c)](de,this[_0x37d3b7(0x57d)],this[_0x37d3b7(0x1d1)],_0x320350[0x0],this['_handler']);else{if(_0x1abc87[_0x37d3b7(0x53a)]!==0x0){const _0x306638=this[_0x37d3b7(0x590)][_0x37d3b7(0x35c)](ae,this[_0x37d3b7(0x57d)],this[_0x37d3b7(0x1d1)],_0x1abc87,this[_0x37d3b7(0x3e2)]);_0x306638[_0x37d3b7(0x1e8)](),_0x52d44d=_0x306638;}else _0x52d44d=this[_0x37d3b7(0x590)][_0x37d3b7(0x35c)](Oe,this[_0x37d3b7(0x57d)],this[_0x37d3b7(0x1d1)],this[_0x37d3b7(0x3e2)]);}}return _0x52d44d['_updateLocalCache'](),_0x52d44d;}catch(_0x2195d8){return this['_logService']['error']('[FetchMissState]',_0x37d3b7(0x54e),_0x2195d8),this[_0x37d3b7(0x590)][_0x37d3b7(0x35c)](fe,this[_0x37d3b7(0x57d)],this[_0x37d3b7(0x1d1)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x37d3b7(0x3e2)],!0x1);}}[_0x519f42(0x48a)](){const _0x43a1f3=_0x519f42;throw new Error(_0x43a1f3(0x51c));}[_0x519f42(0x26f)](_0x4f35e8){const _0x56f748=_0x519f42;return this[_0x56f748(0x1c0)]['push'](_0x4f35e8),this;}['onRemoteChangeset'](_0x34d059){const _0x5bc943=_0x519f42;return this[_0x5bc943(0x251)]['push'](_0x34d059),this;}[_0x519f42(0x17e)](_0x5bc3f7){const _0x829c9f=_0x519f42;if(this['_awaitingChangeset'])return this[_0x829c9f(0x578)]=this[_0x829c9f(0x43c)],this[_0x829c9f(0x43c)]=null,this;throw new Error(_0x829c9f(0x45b));}[_0x519f42(0x195)](_0x1c11ab){const _0x448f27=_0x519f42;return this[_0x448f27(0x178)](!!(_0x1c11ab!=null&&_0x1c11ab['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x519f42(0x349)](){const _0x324ac=_0x519f42;return this['_injector']['createInstance'](ve,this[_0x324ac(0x57d)],this['type'],this[_0x324ac(0x43c)],this[_0x324ac(0x1c0)],this[_0x324ac(0x3e2)]);}[_0x519f42(0x46e)](){return this;}['_onConflict'](_0x1742f9){const _0x26a4cb=_0x519f42;return this[_0x26a4cb(0x590)]['createInstance'](fe,this[_0x26a4cb(0x57d)],this[_0x26a4cb(0x1d1)],this[_0x26a4cb(0x43c)],this[_0x26a4cb(0x1c0)],this['_handler'],_0x1742f9);}};re=Ee([A(0x7,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),A(0x8,a[_0x519f42(0x3b4)](m[_0x519f42(0x404)])),A(0x9,a[_0x519f42(0x3b4)](exports[_0x519f42(0x467)])),A(0xa,a[_0x519f42(0x5eb)]),A(0xb,a[_0x519f42(0x3e8)]),A(0xc,a['IUndoRedoService']),A(0xd,m[_0x519f42(0x562)])],re);function Ui(_0x5a98cf,_0x1799e2,_0xd94892,_0x36d7ff,_0x3b4ce5,_0x2bbf5c){const _0xdd9708=_0x519f42;return _0x36d7ff&&_0x3b4ce5[_0xdd9708(0x53a)]?_0x5a98cf['createInstance'](ce,_0x1799e2,_0xd94892,_0x36d7ff,_0x3b4ce5,_0x2bbf5c,void 0x0):_0x36d7ff?_0x5a98cf[_0xdd9708(0x35c)](de,_0x1799e2,_0xd94892,_0x36d7ff,_0x2bbf5c):_0x3b4ce5[_0xdd9708(0x53a)]?_0x5a98cf[_0xdd9708(0x35c)](ae,_0x1799e2,_0xd94892,_0x3b4ce5,_0x2bbf5c):_0x5a98cf[_0xdd9708(0x35c)](Oe,_0x1799e2,_0xd94892,_0x2bbf5c);}var Xn=Object[_0x519f42(0x360)],Jn=Object[_0x519f42(0x544)],Mt=(_0x3dbefc,_0x37475d,_0x13246a,_0x42d68c)=>{for(var _0x2222dd=_0x42d68c>0x1?void 0x0:_0x42d68c?Jn(_0x37475d,_0x13246a):_0x37475d,_0xcf5b95=_0x3dbefc['length']-0x1,_0x16370c;_0xcf5b95>=0x0;_0xcf5b95--)(_0x16370c=_0x3dbefc[_0xcf5b95])&&(_0x2222dd=(_0x42d68c?_0x16370c(_0x37475d,_0x13246a,_0x2222dd):_0x16370c(_0x2222dd))||_0x2222dd);return _0x42d68c&&_0x2222dd&&Xn(_0x37475d,_0x13246a,_0x2222dd),_0x2222dd;},H=(_0x5572dd,_0x2b7d70)=>(_0x1e7aa6,_0x2ce0ba)=>_0x2b7d70(_0x1e7aa6,_0x2ce0ba,_0x5572dd);exports[_0x519f42(0x4dc)]=class extends a[_0x519f42(0x275)]{constructor(_0xfafab8,_0x1172e5,_0x53e28d,_0x3b3578,_0x22ba56,_0x472e8b,_0x10d02e,_0x2f2b99,_0x115ff1,_0x542440,_0x37e4f1,_0x191ea4,_0x291ba8){const _0x585a1b=_0x519f42;super(),I(this,_0x585a1b(0x36c),new N[(_0x585a1b(0x46f))](null)),I(this,'state$',this['_state$'][_0x585a1b(0x20b)]()),I(this,_0x585a1b(0x353)),I(this,'_collaborationPaused',!0x1),I(this,_0x585a1b(0x3fc),''),I(this,_0x585a1b(0x597),0x0),I(this,_0x585a1b(0x227),this['state$'][_0x585a1b(0x641)](N[_0x585a1b(0x444)](_0xad70ff=>_0xad70ff?_0xad70ff['status']:K[_0x585a1b(0x419)]),N[_0x585a1b(0x3cb)](0x1))),I(this,_0x585a1b(0x3bd),!0x1),I(this,_0x585a1b(0x216),[]),(this[_0x585a1b(0x57d)]=_0xfafab8,this[_0x585a1b(0x468)]=_0x1172e5,this['_type']=_0x53e28d,this[_0x585a1b(0x590)]=_0x3b3578,this[_0x585a1b(0x5ca)]=_0x22ba56,this['_compressMutationService']=_0x472e8b,this[_0x585a1b(0x52f)]=_0x10d02e,this[_0x585a1b(0x3c7)]=_0x2f2b99,this[_0x585a1b(0x392)]=_0x115ff1,this[_0x585a1b(0x636)]=_0x542440,this[_0x585a1b(0x471)]=_0x37e4f1,this['_permissionService']=_0x191ea4,this['_singleActiveUnitService']=_0x291ba8);}get[_0x519f42(0x619)](){const _0x3db0cb=_0x519f42;return this[_0x3db0cb(0x353)];}async['init'](){const _0x2d74a5=_0x519f42;if(this[_0x2d74a5(0x619)])throw new Error(_0x2d74a5(0x59e));await this[_0x2d74a5(0x3b9)]();}[_0x519f42(0x585)](){const _0x59f665=_0x519f42;return this[_0x59f665(0x367)]=!0x0,a[_0x59f665(0x503)](()=>{const _0x368877=_0x59f665;this['_collaborationPaused']=!0x1,this[_0x368877(0x525)]();});}['_updateState'](_0xac5375){const _0x3638aa=_0x519f42;this['_state']=_0xac5375,this[_0x3638aa(0x36c)][_0x3638aa(0x213)](_0xac5375);}async[_0x519f42(0x3b9)](){const _0x22918d=_0x519f42;var _0x125c71;this[_0x22918d(0x222)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x125c71=this['_singleActiveUnitService'])==null||_0x125c71[_0x22918d(0x401)](this[_0x22918d(0x57d)]),this[_0x22918d(0x5db)](this[_0x22918d(0x1de)][_0x22918d(0x552)](this[_0x22918d(0x57d)])[_0x22918d(0x1db)](_0x5d4401=>{const _0x3efdb8=_0x22918d;this[_0x3efdb8(0x392)][_0x3efdb8(0x408)](_0x3efdb8(0x22d),'editing\x20status\x20changed\x20to',_0x5d4401),_0x5d4401===yi[_0x3efdb8(0x4f3)]?(this[_0x3efdb8(0x471)][_0x3efdb8(0x1e6)]({'content':this[_0x3efdb8(0x52f)]['t'](_0x3efdb8(0x4b0)),'type':Ce[_0x3efdb8(0x57a)][_0x3efdb8(0x598)]}),this[_0x3efdb8(0x409)][_0x3efdb8(0x4d1)](new k[(_0x3efdb8(0x26e))](this[_0x3efdb8(0x57d)])['id'],!0x1),this[_0x3efdb8(0x409)]['setShowComponents'](!0x1)):(this[_0x3efdb8(0x409)][_0x3efdb8(0x4d1)](new k[(_0x3efdb8(0x26e))](this['unitID'])['id'],!0x0),this[_0x3efdb8(0x409)][_0x3efdb8(0x242)](!0x0));})));let _0x1773e5=!0x1;return this[_0x22918d(0x5db)](this[_0x22918d(0x468)][_0x22918d(0x4b5)][_0x22918d(0x1db)](_0xa381f9=>{const _0x4c6193=_0x22918d;_0xa381f9===ne['ONLINE']?this[_0x4c6193(0x3ef)](_0x1773e5):_0xa381f9===ne[_0x4c6193(0x419)]&&(_0x1773e5=!0x0,this[_0x4c6193(0x214)]());})),this['disposeWithMe'](this[_0x22918d(0x468)]['event$'][_0x22918d(0x1db)](_0x5a244c=>{const _0x3d0692=_0x22918d;try{switch(_0x5a244c['eventID']){case m['CollaborationEvent']['NEW_CHANGESETS']:{this[_0x3d0692(0x42d)](m['parseProtocolChangeset'](_0x5a244c['data']));break;}case m[_0x3d0692(0x3bc)]['CHANGESET_ACK']:{this[_0x3d0692(0x47b)](_0x5a244c[_0x3d0692(0x2f1)]);break;}case m['CollaborationEvent'][_0x3d0692(0x3d7)]:{this[_0x3d0692(0x356)]();break;}case m[_0x3d0692(0x3bc)][_0x3d0692(0x5f1)]:{this['_onRemoteRetry'](_0x5a244c[_0x3d0692(0x2f1)]);break;}case m['CollaborationEvent'][_0x3d0692(0x473)]:{this['_onFetchMissResult'](_0x5a244c['data'][_0x3d0692(0x220)]['map'](_0x4a9bea=>m[_0x3d0692(0x4d2)](_0x4a9bea)));break;}case m[_0x3d0692(0x3bc)]['PERMISSION_REJ']:this[_0x3d0692(0x356)]({'isPermissionRej':!0x0});}}catch(_0x1f2f8e){throw console[_0x3d0692(0x1d8)]('Error\x20on\x20receiving\x20event',_0x1f2f8e),_0x1f2f8e;}})),this[_0x22918d(0x353)];}[_0x519f42(0x2a6)](){const _0x3e361f=_0x519f42;this[_0x3e361f(0x3bd)]=!0x1;}[_0x519f42(0x5a4)](){const _0xaa40f4=_0x519f42;if(this[_0xaa40f4(0x3bd)])throw new Error(_0xaa40f4(0x366));this[_0xaa40f4(0x3bd)]=!0x0;}[_0x519f42(0x58d)](_0x47b08c){const _0xa8c574=_0x519f42;this[_0xa8c574(0x5a4)](),this[_0xa8c574(0x222)](this[_0xa8c574(0x353)]['appendMutation'](_0x47b08c)),this[_0xa8c574(0x2a6)]();}['_onRemoteChangeset'](_0x98fd5a){const _0x20ef38=_0x519f42;if(!(_0x98fd5a[_0x20ef38(0x4db)]<=this['_revisionService'][_0x20ef38(0x35e)](this['unitID']))){if(this[_0x20ef38(0x367)]){this['_remoteChangesetQueue'][_0x20ef38(0x205)](_0x98fd5a);return;}this[_0x20ef38(0x354)](_0x98fd5a);}}[_0x519f42(0x525)](){const _0x509e08=_0x519f42;this[_0x509e08(0x216)]['forEach'](_0x136ff5=>this[_0x509e08(0x354)](_0x136ff5)),this['_remoteChangesetQueue']=[];}[_0x519f42(0x354)](_0x28ac4a){const _0x407a1f=_0x519f42,_0x35e921=this[_0x407a1f(0x259)]['interceptor'][_0x407a1f(0x352)](this[_0x407a1f(0x259)][_0x407a1f(0x4a3)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x28ac4a['mutations'],null)||_0x28ac4a[_0x407a1f(0x4af)],_0xc1bd44={..._0x28ac4a,'mutations':_0x35e921};this[_0x407a1f(0x5a4)](),this['_updateState'](this[_0x407a1f(0x353)][_0x407a1f(0x4de)](_0xc1bd44)),this[_0x407a1f(0x2a6)]();}[_0x519f42(0x47b)](_0x20703e){const _0x1e4998=_0x519f42;this[_0x1e4998(0x5a4)](),this[_0x1e4998(0x222)](this[_0x1e4998(0x353)][_0x1e4998(0x17e)](_0x20703e)),this[_0x1e4998(0x2a6)]();}['_onRemoteRejected'](_0x56c17e){const _0x2aa0d0=_0x519f42;this[_0x2aa0d0(0x5a4)](),this['_updateState'](this['_state'][_0x2aa0d0(0x195)](_0x56c17e)),this[_0x2aa0d0(0x2a6)]();}[_0x519f42(0x5fd)](_0x257fa7){const _0x849efd=_0x519f42;this['_lockTransition'](),this[_0x849efd(0x222)](this['_state'][_0x849efd(0x277)](_0x257fa7)),this[_0x849efd(0x2a6)]();}['_onFetchMissResult'](_0x4fd9f2){const _0xf8a93c=_0x519f42;if(!(this[_0xf8a93c(0x353)]instanceof re))throw new TypeError(_0xf8a93c(0x3df));const _0x35e71a=_0x4fd9f2['map'](_0x46b2ff=>{const _0x1879ef=_0xf8a93c,_0x46c913=this[_0x1879ef(0x259)][_0x1879ef(0x4a3)][_0x1879ef(0x352)](this[_0x1879ef(0x259)][_0x1879ef(0x4a3)][_0x1879ef(0x382)]()[_0x1879ef(0x3f9)])(_0x46b2ff[_0x1879ef(0x4af)],null)||_0x46b2ff[_0x1879ef(0x4af)];return{..._0x46b2ff,'mutations':_0x46c913};});this[_0xf8a93c(0x5a4)](),this[_0xf8a93c(0x222)](this['_state'][_0xf8a93c(0x194)](_0x35e71a)),this['_unlockTransition']();}[_0x519f42(0x214)](){const _0x261480=_0x519f42;this[_0x261480(0x5a4)](),this[_0x261480(0x222)](this[_0x261480(0x353)][_0x261480(0x349)]()),this['_unlockTransition']();}[_0x519f42(0x3ef)](_0x6f03ac=!0x1){const _0x1e184a=_0x519f42;this['_lockTransition'](),this[_0x1e184a(0x222)](this['_state'][_0x1e184a(0x46e)]()),this[_0x1e184a(0x2a6)]();const _0x4fb929=this[_0x1e184a(0x353)];_0x6f03ac&&_0x4fb929 instanceof Oe&&(this['_lockTransition'](),this[_0x1e184a(0x222)](_0x4fb929[_0x1e184a(0x520)]()),this[_0x1e184a(0x2a6)]());}async[_0x519f42(0x31f)](){return new Promise(_0x30c839=>{const _0x3a4eac=_0x3f43;this['session'][_0x3a4eac(0x4b5)][_0x3a4eac(0x641)](N['take'](0x1))[_0x3a4eac(0x1db)](async _0x784ca=>{const _0x15a971=_0x3a4eac;_0x30c839(await this[_0x15a971(0x315)](_0x784ca===ne[_0x15a971(0x481)]));});});}['_createHandler'](){const _0x1ef84e=_0x519f42,_0x20ff2a=this[_0x1ef84e(0x57d)];return{'onStateChange':(_0x2c2c76,_0x49d3f2)=>{const _0x310448=_0x1ef84e;if(_0x2c2c76!==this[_0x310448(0x353)])throw new Error(_0x310448(0x230)+_0x2c2c76[_0x310448(0x32e)]+_0x310448(0x3f8)+_0x49d3f2[_0x310448(0x32e)]+_0x310448(0x1b7)+this[_0x310448(0x353)][_0x310448(0x32e)]);this[_0x310448(0x222)](_0x49d3f2);},'onSendChangeset':_0x3411fb=>{const _0x54e398=_0x1ef84e;_0x3411fb[_0x54e398(0x476)]||(_0x3411fb[_0x54e398(0x476)]=this[_0x54e398(0x3fc)],_0x3411fb[_0x54e398(0x30e)]=++this[_0x54e398(0x597)]);const _0x1a08da={'eventID':m[_0x54e398(0x3bc)][_0x54e398(0x207)],'data':{'unitID':_0x3411fb['unitID'],'unitType':this['_type'],'changeset':_0x3411fb,'memberID':this[_0x54e398(0x468)][_0x54e398(0x2cd)]()}};this[_0x54e398(0x468)][_0x54e398(0x2a8)](_0x1a08da,this[_0x54e398(0x57d)]);},'onMissingChangesets':({from:_0x295f0b,to:_0x2c05ac})=>{const _0x3c8bad=_0x1ef84e;this[_0x3c8bad(0x392)][_0x3c8bad(0x408)](_0x3c8bad(0x22d),_0x3c8bad(0x26c)+_0x295f0b+'\x20to\x20'+_0x2c05ac);const _0x5e74dc={'eventID':m[_0x3c8bad(0x3bc)][_0x3c8bad(0x269)],'data':{'unitID':_0x20ff2a,'unitType':this[_0x3c8bad(0x26d)],'from':_0x295f0b,'to':_0x2c05ac}};this['session'][_0x3c8bad(0x2a8)](_0x5e74dc,this[_0x3c8bad(0x57d)]);}};}async['_createInitialStateImpl'](_0xc659f0){const _0x1a4000=_0x519f42;var _0x167d5e,_0x493802;const _0x22f632=await this[_0x1a4000(0x5ca)]['loadOfflineData'](this[_0x1a4000(0x57d)]),_0x2ed0b0=(_0x167d5e=_0x22f632==null?void 0x0:_0x22f632[_0x1a4000(0x4af)])!=null?_0x167d5e:[],_0x19dc5f=(_0x493802=_0x22f632==null?void 0x0:_0x22f632[_0x1a4000(0x3c5)])!=null?_0x493802:null,_0x30e4ad=!!(_0x19dc5f!=null&&_0x19dc5f['sid'])&&!!(_0x19dc5f!=null&&_0x19dc5f[_0x1a4000(0x30e)]);this[_0x1a4000(0x3fc)]=_0x30e4ad?_0x19dc5f[_0x1a4000(0x476)]:On(),this[_0x1a4000(0x597)]=_0x30e4ad?_0x19dc5f['reqId']:0x0;const _0x5da44c=this['unitID'];try{this['_replayCachedMutations'](_0x19dc5f,_0x2ed0b0);}catch(_0x5df4bb){this['_logService'][_0x1a4000(0x1d8)](_0x5df4bb);}const _0x1bceb1=this[_0x1a4000(0x327)]();if(_0xc659f0){const _0x581c52=Ui(this[_0x1a4000(0x590)],_0x5da44c,this[_0x1a4000(0x26d)],_0x19dc5f,_0x2ed0b0,_0x1bceb1);return _0x581c52 instanceof ae?_0x581c52[_0x1a4000(0x1e8)]():(_0x581c52 instanceof ce||_0x581c52 instanceof de)&&_0x581c52['resend'](),_0x581c52;}return this['_injector']['createInstance'](ve,_0x5da44c,this['_type'],_0x19dc5f,_0x2ed0b0,_0x1bceb1);}[_0x519f42(0x535)](_0x5d10df,_0x380aec){const _0x2fd76d=_0x519f42;var _0x3d5b9d,_0xdfc52f;const _0x52fcd6=this[_0x2fd76d(0x259)][_0x2fd76d(0x4a3)][_0x2fd76d(0x352)](this[_0x2fd76d(0x259)][_0x2fd76d(0x4a3)][_0x2fd76d(0x382)]()[_0x2fd76d(0x3f9)]);(_0x3d5b9d=_0x52fcd6((_0x5d10df==null?void 0x0:_0x5d10df[_0x2fd76d(0x4af)])||[],null))==null||_0x3d5b9d[_0x2fd76d(0x24a)](_0x2c547b=>this[_0x2fd76d(0x636)][_0x2fd76d(0x237)](_0x2c547b['id'],_0x2c547b['params'])),(_0xdfc52f=_0x52fcd6(_0x380aec||[],null))==null||_0xdfc52f['forEach'](_0x4c1fb7=>this[_0x2fd76d(0x636)][_0x2fd76d(0x237)](_0x4c1fb7['id'],_0x4c1fb7[_0x2fd76d(0x322)]));}},exports['CollaborationEntity']=Mt([H(0x3,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),H(0x4,a[_0x519f42(0x3b4)](exports[_0x519f42(0x467)])),H(0x5,a[_0x519f42(0x3b4)](m[_0x519f42(0x1d7)])),H(0x6,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)])),H(0x7,a['Inject'](m[_0x519f42(0x404)])),H(0x8,a[_0x519f42(0x5eb)]),H(0x9,a[_0x519f42(0x3e8)]),H(0xa,ee['IMessageService']),H(0xb,a[_0x519f42(0x3ed)]),H(0xc,a[_0x519f42(0x462)](at))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports[_0x519f42(0x4dc)]{constructor(_0xcde323,_0x232515,_0x550cb8,_0x5cf1e8,_0x4ffce6,_0x2f7d35,_0x1a150f,_0xa78ecc,_0x149166,_0x3a049a,_0x29c43b,_0x2b00c0,_0x34034f,_0x459b88,_0x34d6c9,_0x3d7e9e,_0x207a38,_0x5002c2){const _0x5eafcc=_0x519f42;super(_0xcde323,_0x550cb8,_0x232515,_0x5cf1e8,_0x4ffce6,_0x2f7d35,_0x1a150f,_0xa78ecc,_0x459b88,_0x34d6c9,_0x3d7e9e,_0x207a38,_0x5002c2),this['unitID']=_0xcde323,this[_0x5eafcc(0x1d1)]=_0x232515,this[_0x5eafcc(0x596)]=_0x149166,this[_0x5eafcc(0x2ff)]=_0x3a049a,this[_0x5eafcc(0x2a9)]=_0x29c43b,this[_0x5eafcc(0x524)]=_0x2b00c0,this[_0x5eafcc(0x407)]=_0x34034f;}[_0x519f42(0x327)](){const _0x9b4f1a=_0x519f42,_0x5334b5=super['_createHandler']();return _0x5334b5[_0x9b4f1a(0x60e)]=_0x55d49f=>this[_0x9b4f1a(0x2ff)][_0x9b4f1a(0x4bc)](_0x55d49f),_0x5334b5['onTransformState']=_0x45c9e3=>this[_0x9b4f1a(0x2a9)][_0x9b4f1a(0x3e9)](_0x45c9e3),_0x5334b5[_0x9b4f1a(0x523)]=_0x4f2517=>this[_0x9b4f1a(0x524)][_0x9b4f1a(0x35b)](_0x4f2517),_0x5334b5[_0x9b4f1a(0x4f1)]=_0x49f508=>this['_docSyncEditingCollabCursorService'][_0x9b4f1a(0x3e3)](_0x49f508),_0x5334b5[_0x9b4f1a(0x1f8)]=_0x193735=>this[_0x9b4f1a(0x2ff)][_0x9b4f1a(0x5ce)](_0x193735),_0x5334b5[_0x9b4f1a(0x5ef)]=_0x206fc5=>this[_0x9b4f1a(0x2a9)][_0x9b4f1a(0x5ce)](_0x206fc5),_0x5334b5;}async[_0x519f42(0x3b9)](){const _0x286b93=_0x519f42,_0x3dc10e=await super[_0x286b93(0x3b9)]();return this['disposeWithMe'](this[_0x286b93(0x596)][_0x286b93(0x5da)][_0x286b93(0x641)](N['takeUntil'](this[_0x286b93(0x191)]))[_0x286b93(0x1db)](_0x4aecdd=>{const _0x2d1b7c=_0x286b93;if(_0x4aecdd==null)return;const {unitId:_0x5cf9cb,redoState:_0x35759e,commandId:_0x1d21a5}=_0x4aecdd;if(_0x5cf9cb!==this[_0x2d1b7c(0x57d)])return;const _0x36dcd1={'id':_0x1d21a5,'type':a[_0x2d1b7c(0x44c)]['MUTATION'],'params':{'unitId':_0x5cf9cb,'actions':_0x35759e[_0x2d1b7c(0x36a)],'textRanges':null}};this['_onLocalMutation'](_0x36dcd1);})),this[_0x286b93(0x5db)](this[_0x286b93(0x636)][_0x286b93(0x4a8)]((_0x387f71,_0x3c28ba)=>{const _0x2427e1=_0x286b93;if(_0x387f71[_0x2427e1(0x1d1)]!==a[_0x2427e1(0x44c)]['MUTATION']||_0x3c28ba!=null&&_0x3c28ba[_0x2427e1(0x393)]||_0x3c28ba!=null&&_0x3c28ba[_0x2427e1(0x1bf)]||_0x387f71['id']===Ie['RichTextEditingMutation']['id'])return;const _0x5163a8=_0x387f71['params'];if((_0x5163a8==null?void 0x0:_0x5163a8[_0x2427e1(0x235)])!==this[_0x2427e1(0x57d)])return;const _0x122926=_0x387f71,_0x3a8233=this[_0x2427e1(0x259)][_0x2427e1(0x4a3)][_0x2427e1(0x352)](this[_0x2427e1(0x259)][_0x2427e1(0x4a3)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x122926],null)||[_0x122926];this[_0x2427e1(0x58d)](_0x3a8233[0x0]);})),_0x3dc10e;}},exports[_0x519f42(0x2fb)]=Mt([H(0x3,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),H(0x4,a['Inject'](exports[_0x519f42(0x467)])),H(0x5,a[_0x519f42(0x3b4)](m[_0x519f42(0x1d7)])),H(0x6,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)])),H(0x7,a[_0x519f42(0x3b4)](m[_0x519f42(0x404)])),H(0x8,a[_0x519f42(0x3b4)](J[_0x519f42(0x2ca)])),H(0x9,a['Inject'](Ze)),H(0xa,a[_0x519f42(0x3b4)](et)),H(0xb,a[_0x519f42(0x3b4)](tt)),H(0xc,a[_0x519f42(0x3b4)](Ut)),H(0xd,a['ILogService']),H(0xe,a['ICommandService']),H(0xf,ee[_0x519f42(0x4c8)]),H(0x10,a[_0x519f42(0x3ed)]),H(0x11,a[_0x519f42(0x462)](at))],exports[_0x519f42(0x2fb)]),exports[_0x519f42(0x2cc)]=class extends exports['CollaborationEntity']{constructor(_0x1096b3,_0x4c4bdd,_0x423a90,_0x4f3569,_0x256670,_0x46a2ae,_0x3d629f,_0x288dfa,_0x3b20bb,_0x4e5612,_0x2fe45e,_0x1aff49,_0x47883a,_0x39e1f4){const _0x2c28d7=_0x519f42;super(_0x1096b3,_0x423a90,_0x4c4bdd,_0x4f3569,_0x256670,_0x46a2ae,_0x3d629f,_0x288dfa,_0x4e5612,_0x2fe45e,_0x1aff49,_0x47883a,_0x39e1f4),this['unitID']=_0x1096b3,this[_0x2c28d7(0x1d1)]=_0x4c4bdd,this[_0x2c28d7(0x372)]=_0x3b20bb;}[_0x519f42(0x327)](){const _0x363930=_0x519f42,_0x3a7537=super['_createHandler']();return _0x3a7537[_0x363930(0x523)]=_0x316137=>this['_sheetTransformSelectionsService']['transformSelections'](_0x316137),_0x3a7537;}async[_0x519f42(0x3b9)](){const _0x32129b=_0x519f42,_0x41d026=await super[_0x32129b(0x3b9)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x5b4600,_0x5a88ed)=>{const _0x55d922=_0x32129b;if(_0x5b4600[_0x55d922(0x1d1)]!==a[_0x55d922(0x44c)][_0x55d922(0x53f)]||_0x5a88ed!=null&&_0x5a88ed[_0x55d922(0x393)]||_0x5a88ed!=null&&_0x5a88ed['onlyLocal'])return;const _0x106f6a=_0x5b4600['params'];if((_0x106f6a==null?void 0x0:_0x106f6a[_0x55d922(0x235)])!==this[_0x55d922(0x57d)])return;const _0x30db60=_0x5b4600,_0x125c50=this[_0x55d922(0x259)][_0x55d922(0x4a3)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x55d922(0x4a3)][_0x55d922(0x382)]()[_0x55d922(0x1c2)])([_0x30db60],null)||[_0x30db60];this[_0x55d922(0x58d)](_0x125c50[0x0]);})),_0x41d026;}},exports[_0x519f42(0x2cc)]=Mt([H(0x3,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),H(0x4,a[_0x519f42(0x3b4)](exports[_0x519f42(0x467)])),H(0x5,a['Inject'](m['CompressMutationService'])),H(0x6,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)])),H(0x7,a[_0x519f42(0x3b4)](m[_0x519f42(0x404)])),H(0x8,a[_0x519f42(0x3b4)](Qe)),H(0x9,a[_0x519f42(0x5eb)]),H(0xa,a[_0x519f42(0x3e8)]),H(0xb,ee[_0x519f42(0x4c8)]),H(0xc,a[_0x519f42(0x3ed)]),H(0xd,a['Optional'](at))],exports['SheetCollaborationEntity']);var Zn=Object[_0x519f42(0x360)],Qn=Object['getOwnPropertyDescriptor'],er=(_0x41fa84,_0x56c0ff,_0x189d26,_0x24fb9c)=>{const _0x3243c6=_0x519f42;for(var _0x1f7470=_0x24fb9c>0x1?void 0x0:_0x24fb9c?Qn(_0x56c0ff,_0x189d26):_0x56c0ff,_0x50bba0=_0x41fa84[_0x3243c6(0x53a)]-0x1,_0x599eb4;_0x50bba0>=0x0;_0x50bba0--)(_0x599eb4=_0x41fa84[_0x50bba0])&&(_0x1f7470=(_0x24fb9c?_0x599eb4(_0x56c0ff,_0x189d26,_0x1f7470):_0x599eb4(_0x1f7470))||_0x1f7470);return _0x24fb9c&&_0x1f7470&&Zn(_0x56c0ff,_0x189d26,_0x1f7470),_0x1f7470;},dt=(_0x28dae3,_0x268dd8)=>(_0x4e5cdf,_0x12d6ef)=>_0x268dd8(_0x4e5cdf,_0x12d6ef,_0x28dae3);exports[_0x519f42(0x321)]=class extends a[_0x519f42(0x275)]{constructor(_0x28e34c,_0x149c49,_0x391701){const _0x2c6a09=_0x519f42;super(),I(this,_0x2c6a09(0x41d),new Map()),I(this,_0x2c6a09(0x276),new N['Subject']()),(this[_0x2c6a09(0x590)]=_0x28e34c,this[_0x2c6a09(0x55b)]=_0x149c49,this[_0x2c6a09(0x403)]=_0x391701,this[_0x2c6a09(0x3b9)]());}['dispose'](){const _0x1354c8=_0x519f42;super[_0x1354c8(0x5fa)](),this[_0x1354c8(0x41d)][_0x1354c8(0x24a)](_0x52569c=>_0x52569c[_0x1354c8(0x5fa)]()),this['_entities']['clear']();}[_0x519f42(0x4c4)](_0x37bd9b){const _0x4770ab=_0x519f42;var _0x2abc95;return(_0x2abc95=this[_0x4770ab(0x41d)][_0x4770ab(0x4a6)](_0x37bd9b))!=null?_0x2abc95:null;}[_0x519f42(0x4d5)](_0x472116){const _0x5b69bc=_0x519f42,_0xf203bf=this[_0x5b69bc(0x4c4)](_0x472116);return _0xf203bf?N['of'](_0xf203bf):this['_entityInit$'][_0x5b69bc(0x641)](V['filter'](_0x393934=>_0x393934[_0x5b69bc(0x57d)]===_0x472116));}[_0x519f42(0x3b9)](){const _0x453cfb=_0x519f42;this[_0x453cfb(0x403)][_0x453cfb(0x253)](a[_0x453cfb(0x475)][_0x453cfb(0x248)])[_0x453cfb(0x641)](N[_0x453cfb(0x1e9)](this[_0x453cfb(0x191)]),V[_0x453cfb(0x634)](0x10))[_0x453cfb(0x1db)](async _0x499713=>{const _0x37c1b9=_0x453cfb,_0x40966a=_0x499713[_0x37c1b9(0x238)](),_0x3ccc18=await this[_0x37c1b9(0x1a4)](_0x40966a,ie[_0x37c1b9(0x248)]);this['_entities'][_0x37c1b9(0x3e1)](_0x40966a,_0x3ccc18);}),this[_0x453cfb(0x403)]['getTypeOfUnitAdded$'](a[_0x453cfb(0x475)][_0x453cfb(0x249)])[_0x453cfb(0x641)](N['takeUntil'](this[_0x453cfb(0x191)]),V[_0x453cfb(0x634)](0x10))['pipe'](V[_0x453cfb(0x1ae)](_0x21a379=>!_0x21a379['getUnitId']()[_0x453cfb(0x2ea)]('__')))[_0x453cfb(0x1db)](async _0x566aec=>{const _0x2e9fee=_0x453cfb,_0x327854=_0x566aec['getUnitId'](),_0x2ab8a4=await this[_0x2e9fee(0x1a4)](_0x327854,ie[_0x2e9fee(0x249)]);this[_0x2e9fee(0x41d)][_0x2e9fee(0x3e1)](_0x327854,_0x2ab8a4);}),N['merge'](this[_0x453cfb(0x403)][_0x453cfb(0x610)](a[_0x453cfb(0x475)][_0x453cfb(0x248)]),this[_0x453cfb(0x403)][_0x453cfb(0x610)](a[_0x453cfb(0x475)][_0x453cfb(0x249)]))['pipe'](N[_0x453cfb(0x1e9)](this[_0x453cfb(0x191)]))[_0x453cfb(0x1db)](_0x323b9e=>{const _0x50d057=_0x453cfb,_0x404853=_0x323b9e[_0x50d057(0x238)](),_0x1a2101=this[_0x50d057(0x41d)][_0x50d057(0x4a6)](_0x404853);_0x1a2101&&(_0x1a2101[_0x50d057(0x5fa)](),this[_0x50d057(0x41d)][_0x50d057(0x203)](_0x404853));});}async[_0x519f42(0x1a4)](_0x3ba1c4,_0x16f967){const _0x185ce6=_0x519f42,_0x5600c0=await this[_0x185ce6(0x55b)][_0x185ce6(0x295)](_0x3ba1c4),_0x3b93a3=this[_0x185ce6(0x590)][_0x185ce6(0x35c)](this[_0x185ce6(0x2c9)](_0x16f967),_0x3ba1c4,_0x16f967,_0x5600c0);return await _0x3b93a3[_0x185ce6(0x1fe)](),this[_0x185ce6(0x276)][_0x185ce6(0x213)](_0x3b93a3),_0x3b93a3;}[_0x519f42(0x2c9)](_0x23abb4){const _0x56d326=_0x519f42;switch(_0x23abb4){case ie['UNIVER_DOC']:return exports[_0x56d326(0x2fb)];case ie[_0x56d326(0x248)]:return exports[_0x56d326(0x2cc)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x23abb4);}}},exports[_0x519f42(0x321)]=er([dt(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),dt(0x1,a[_0x519f42(0x3b4)](exports[_0x519f42(0x4ae)])),dt(0x2,a['IUniverInstanceService'])],exports['CollaborationController']);var tr=Object[_0x519f42(0x360)],ir=Object[_0x519f42(0x544)],nr=(_0x3f4d20,_0xf13d9,_0x103005,_0x4a724e)=>{const _0x1eeff6=_0x519f42;for(var _0x8ebe6b=_0x4a724e>0x1?void 0x0:_0x4a724e?ir(_0xf13d9,_0x103005):_0xf13d9,_0x3c9c1b=_0x3f4d20[_0x1eeff6(0x53a)]-0x1,_0x32480b;_0x3c9c1b>=0x0;_0x3c9c1b--)(_0x32480b=_0x3f4d20[_0x3c9c1b])&&(_0x8ebe6b=(_0x4a724e?_0x32480b(_0xf13d9,_0x103005,_0x8ebe6b):_0x32480b(_0x8ebe6b))||_0x8ebe6b);return _0x4a724e&&_0x8ebe6b&&tr(_0xf13d9,_0x103005,_0x8ebe6b),_0x8ebe6b;},Yt=(_0x440155,_0x5da2b2)=>(_0x5c99bb,_0x55bf96)=>_0x5da2b2(_0x5c99bb,_0x55bf96,_0x440155);let it=class extends a[_0x519f42(0x275)]{constructor(_0x27ab64,_0x577366){const _0x4303eb=_0x519f42;super(),this[_0x4303eb(0x2d8)]=_0x27ab64,this[_0x4303eb(0x4ce)]=_0x577366,this[_0x4303eb(0x3b9)]();}[_0x519f42(0x3b9)](){const _0x5983b3=_0x519f42,_0x42812f=this;this['disposeWithMe'](this[_0x5983b3(0x2d8)]['addClipboardHook']({'onBeforePasteImage':async _0x5b3fa1=>{const _0x5990ef=_0x5983b3,_0x4c22b2=await _0x42812f[_0x5990ef(0x4ce)][_0x5990ef(0x2e8)](_0x5b3fa1);return _0x4c22b2?{'source':_0x4c22b2[_0x5990ef(0x456)],'imageSourceType':_0x4c22b2[_0x5990ef(0x2c3)]}:null;}}));}};it=nr([Yt(0x0,J[_0x519f42(0x373)]),Yt(0x1,te['IImageIoService'])],it);const qt=['purple300',_0x519f42(0x607),_0x519f42(0x4b9),'red300',_0x519f42(0x3a7),_0x519f42(0x576)];class Nt extends a[_0x519f42(0x5f8)]{constructor(){const _0x211a42=_0x519f42;super(...arguments),I(this,'_assignedColors',new Map()),I(this,_0x211a42(0x30d),0x0);}[_0x519f42(0x305)](_0x590bbc){const _0x30b24d=_0x519f42;if(this[_0x30b24d(0x52c)][_0x30b24d(0x443)](_0x590bbc))return this[_0x30b24d(0x52c)][_0x30b24d(0x4a6)](_0x590bbc);const _0x200593=qt[this[_0x30b24d(0x30d)]];return this[_0x30b24d(0x30d)]=(this[_0x30b24d(0x30d)]+0x1)%qt[_0x30b24d(0x53a)],this[_0x30b24d(0x52c)][_0x30b24d(0x3e1)](_0x590bbc,_0x200593),_0x200593;}}var rr=Object[_0x519f42(0x360)],sr=Object[_0x519f42(0x544)],or=(_0x5103ae,_0x136d7f,_0x3b1c70,_0x1a281b)=>{for(var _0x585b4a=_0x1a281b>0x1?void 0x0:_0x1a281b?sr(_0x136d7f,_0x3b1c70):_0x136d7f,_0x8a41d9=_0x5103ae['length']-0x1,_0x254915;_0x8a41d9>=0x0;_0x8a41d9--)(_0x254915=_0x5103ae[_0x8a41d9])&&(_0x585b4a=(_0x1a281b?_0x254915(_0x136d7f,_0x3b1c70,_0x585b4a):_0x254915(_0x585b4a))||_0x585b4a);return _0x1a281b&&_0x585b4a&&rr(_0x136d7f,_0x3b1c70,_0x585b4a),_0x585b4a;},pe=(_0x15146a,_0x48f3f5)=>(_0x4c2710,_0xe9893c)=>_0x48f3f5(_0x4c2710,_0xe9893c,_0x15146a);const ar=0x12c,cr=0x64;let bt=class extends a['RxDisposable']{constructor(_0x3ffdf1,_0x2e422b,_0x3b8bc1,_0x3d8b6f,_0x3a1376,_0x1c72fb,_0x230a67,_0xf93db,_0x4a4aa4){const _0x17d3f2=_0x519f42;super(),I(this,_0x17d3f2(0x1a3),!0x1),I(this,_0x17d3f2(0x3b9),!0x1),I(this,_0x17d3f2(0x266),new N[(_0x17d3f2(0x46f))](new Map())),I(this,_0x17d3f2(0x5e8),this[_0x17d3f2(0x266)][_0x17d3f2(0x20b)]()),I(this,'_roomMembers$',new N[(_0x17d3f2(0x46f))]([])),I(this,_0x17d3f2(0x17a),this[_0x17d3f2(0x44f)][_0x17d3f2(0x641)](N['debounceTime'](ar))),I(this,_0x17d3f2(0x3be),a[_0x17d3f2(0x261)](_0x22e3a5=>{const _0x1a5c14=_0x17d3f2,_0x57b4a7={'eventID':m['CollaborationEvent'][_0x1a5c14(0x2ef)],'data':{'unitID':this[_0x1a5c14(0x57d)],'memberID':this[_0x1a5c14(0x37c)][_0x1a5c14(0x2cd)](),'selection':Di(_0x22e3a5)}};this[_0x1a5c14(0x37c)][_0x1a5c14(0x2a8)](_0x57b4a7,this[_0x1a5c14(0x57d)]);},cr)),(this['unitID']=_0x3ffdf1,this[_0x17d3f2(0x37c)]=_0x2e422b,this[_0x17d3f2(0x590)]=_0x3b8bc1,this[_0x17d3f2(0x223)]=_0x3d8b6f,this[_0x17d3f2(0x24e)]=_0x3a1376,this[_0x17d3f2(0x582)]=_0x1c72fb,this[_0x17d3f2(0x2b6)]=_0x230a67,this[_0x17d3f2(0x403)]=_0xf93db,this['_commandService']=_0x4a4aa4);}get['cursorInfo'](){const _0x39578f=_0x519f42;return this['_cursorInfo$'][_0x39578f(0x489)]();}get[_0x519f42(0x272)](){const _0x2331af=_0x519f42;return this[_0x2331af(0x44f)][_0x2331af(0x489)]();}[_0x519f42(0x5fa)](){const _0x34d894=_0x519f42;super[_0x34d894(0x5fa)](),this[_0x34d894(0x266)][_0x34d894(0x213)](new Map()),this['_cursorInfo$']['complete'](),this[_0x34d894(0x44f)]['next']([]),this[_0x34d894(0x44f)]['complete']();}[_0x519f42(0x1fe)](){const _0x682cbb=_0x519f42;this[_0x682cbb(0x3b9)]||(this[_0x682cbb(0x3b9)]=!0x0,this[_0x682cbb(0x37c)][_0x682cbb(0x4b5)]['pipe'](N['takeUntil'](this[_0x682cbb(0x191)]))[_0x682cbb(0x1db)](_0x2dfc0b=>{const _0x36ad56=_0x682cbb;_0x2dfc0b===ne[_0x36ad56(0x481)]?this[_0x36ad56(0x3ef)]():this[_0x36ad56(0x214)]();}),this[_0x682cbb(0x37c)][_0x682cbb(0x4c0)][_0x682cbb(0x641)](N[_0x682cbb(0x1e9)](this[_0x682cbb(0x191)]))[_0x682cbb(0x1db)](_0x14a38d=>{const _0x27d1c5=_0x682cbb,_0x1d0529=_0x14a38d[_0x27d1c5(0x509)];_0x1d0529===m[_0x27d1c5(0x3bc)]['UPDATE_CURSOR']&&this[_0x27d1c5(0x4c2)](_0x14a38d),_0x1d0529===m['CollaborationEvent'][_0x27d1c5(0x41b)]&&this[_0x27d1c5(0x2fa)](_0x14a38d);}),this[_0x682cbb(0x5db)](this[_0x682cbb(0x636)][_0x682cbb(0x4a8)](_0x5c23d7=>{const _0x58381a=_0x682cbb,_0x469007=_0x5c23d7[_0x58381a(0x322)];_0x469007!=null&&this[_0x58381a(0x1a3)]&&_0x5c23d7['id']===Ie[_0x58381a(0x20c)]['id']&&_0x469007['unitId']===this['unitID']&&_0x469007[_0x58381a(0x4ad)]===!0x1&&_0x469007[_0x58381a(0x2a5)][_0x58381a(0x53a)]>0x0&&this[_0x58381a(0x3be)](_0x469007[_0x58381a(0x2a5)]);})),this[_0x682cbb(0x582)][_0x682cbb(0x5fe)][_0x682cbb(0x641)](N['takeUntil'](this['dispose$']))['subscribe'](_0x23f548=>{const _0x48ff00=_0x682cbb;if((_0x23f548==null?void 0x0:_0x23f548[_0x48ff00(0x57d)])!==this['unitID'])return;const _0x2da0ec={'eventID':m['CollaborationEvent'][_0x48ff00(0x2ef)],'data':_0x23f548};this[_0x48ff00(0x4c2)](_0x2da0ec);}),this['disposeWithMe'](this[_0x682cbb(0x636)][_0x682cbb(0x4a8)](_0x4f9085=>{const _0x7464cf=_0x682cbb;if(_0x4f9085[_0x7464cf(0x322)]==null)return;const _0x3eb854=_0x4f9085[_0x7464cf(0x322)];if(_0x4f9085['id']!==Ie['RichTextEditingMutation']['id']||_0x3eb854['unitId']!==this['unitID'])return;const _0x571005={'id':_0x7464cf(0x5d5),'params':_0x3eb854},_0x5cd694=this[_0x7464cf(0x232)];for(const [_0x415ccb,_0x556120]of _0x5cd694){const _0x97f7b9={'id':_0x7464cf(0x5d5),'params':{'unitId':this[_0x7464cf(0x57d)],'actions':null,'textRanges':_0x556120[_0x7464cf(0x2a5)]}},_0x574160=this[_0x7464cf(0x2b6)][_0x7464cf(0x18f)](_0x571005,_0x97f7b9,!0x1);if(m['isTransformMutationFailure'](_0x574160))throw _0x574160['error'];_0x5cd694[_0x7464cf(0x3e1)](_0x415ccb,{..._0x556120,'ranges':_0x574160[_0x7464cf(0x20d)][_0x7464cf(0x322)][_0x7464cf(0x1e0)]});}queueMicrotask(()=>{const _0x3f6c42=_0x7464cf;this['_cursorInfo$'][_0x3f6c42(0x213)](_0x5cd694);});})));}[_0x519f42(0x4c2)](_0x3a092e){const _0x2fa9c7=_0x519f42;var _0x77e1d6,_0x539951;const {memberID:_0x5c5c58,selection:_0x4216a0}=_0x3a092e[_0x2fa9c7(0x2f1)],_0xbdbb=kn(_0x4216a0),_0x14dfe4=(_0x539951=(_0x77e1d6=this[_0x2fa9c7(0x24e)]['getMember'](this[_0x2fa9c7(0x57d)],_0x5c5c58))==null?void 0x0:_0x77e1d6[_0x2fa9c7(0x3b2)])!=null?_0x539951:'Unknown\x20user',_0x5d8b9c={'color':this[_0x2fa9c7(0x223)][_0x2fa9c7(0x305)](_0x5c5c58),'name':_0x14dfe4,'ranges':_0xbdbb},_0x508526=this[_0x2fa9c7(0x232)];_0x508526[_0x2fa9c7(0x3e1)](_0x5c5c58,_0x5d8b9c),this[_0x2fa9c7(0x266)][_0x2fa9c7(0x213)](_0x508526);}[_0x519f42(0x2fa)](_0x5c168d){const _0x4ea7e3=_0x519f42,{memberID:_0x444fab}=_0x5c168d[_0x4ea7e3(0x2f1)],_0x43e70c=this[_0x4ea7e3(0x232)];_0x43e70c[_0x4ea7e3(0x203)](_0x444fab),this[_0x4ea7e3(0x266)][_0x4ea7e3(0x213)](_0x43e70c);}[_0x519f42(0x3ef)](){const _0x3d9bff=_0x519f42;var _0x34c259;if(this[_0x3d9bff(0x1a3)]=!0x0,((_0x34c259=this['_univerInstanceService'][_0x3d9bff(0x5a3)]())==null?void 0x0:_0x34c259[_0x3d9bff(0x238)]())!==this[_0x3d9bff(0x57d)])return;const _0x58ea34=this[_0x3d9bff(0x590)]['get'](Ie[_0x3d9bff(0x278)])['getDocRanges']();Array['isArray'](_0x58ea34)&&_0x58ea34[_0x3d9bff(0x53a)]>0x0&&this[_0x3d9bff(0x3be)](_0x58ea34);}['_toggleOffline'](){const _0x5cae1e=_0x519f42;this[_0x5cae1e(0x1a3)]=!0x1;}};bt=or([pe(0x2,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),pe(0x3,a[_0x519f42(0x3b4)](Nt)),pe(0x4,a['Inject'](exports[_0x519f42(0x1f6)])),pe(0x5,a[_0x519f42(0x3b4)](Ut)),pe(0x6,m[_0x519f42(0x562)]),pe(0x7,a[_0x519f42(0x4aa)]),pe(0x8,a[_0x519f42(0x3e8)])],bt);var lr=Object[_0x519f42(0x360)],hr=Object[_0x519f42(0x544)],_r=(_0xd4486b,_0x491c19,_0x4566e5,_0x143624)=>{const _0x47393d=_0x519f42;for(var _0xb1c823=_0x143624>0x1?void 0x0:_0x143624?hr(_0x491c19,_0x4566e5):_0x491c19,_0xd95b3b=_0xd4486b[_0x47393d(0x53a)]-0x1,_0x1d51e5;_0xd95b3b>=0x0;_0xd95b3b--)(_0x1d51e5=_0xd4486b[_0xd95b3b])&&(_0xb1c823=(_0x143624?_0x1d51e5(_0x491c19,_0x4566e5,_0xb1c823):_0x1d51e5(_0xb1c823))||_0xb1c823);return _0x143624&&_0xb1c823&&lr(_0x491c19,_0x4566e5,_0xb1c823),_0xb1c823;},Te=(_0x2e3d53,_0x4b3c89)=>(_0xbb7504,_0x5a0721)=>_0x4b3c89(_0xbb7504,_0x5a0721,_0x2e3d53);const ur=0x12c,dr=0x64,fr=()=>{let _0x192e0b=[],_0xdc9a3c=!0x1;return _0x52031=>{_0x192e0b['push'](_0x52031),_0xdc9a3c||(_0xdc9a3c=!0x0,setTimeout(()=>{const _0x3ced2c=_0x3f43;_0x192e0b[_0x3ced2c(0x24a)](_0x533b7c=>_0x533b7c()),_0x192e0b=[],_0xdc9a3c=!0x1;}));};};let Tt=class extends a[_0x519f42(0x275)]{constructor(_0x62ea88,_0x30296d,_0x5e8e4b,_0xfe794a,_0x5e6d22,_0x408c9a,_0x2a6efc,_0x3f9bd9){const _0x232e68=_0x519f42;super(),I(this,'_online',!0x1),I(this,'_init',!0x1),I(this,_0x232e68(0x266),new N['BehaviorSubject'](new Map())),I(this,'cursorInfo$',this['_cursorInfo$'][_0x232e68(0x20b)]()),I(this,_0x232e68(0x44f),new N[(_0x232e68(0x46f))]([])),I(this,_0x232e68(0x17a),this['_roomMembers$'][_0x232e68(0x641)](N[_0x232e68(0x3a4)](ur))),I(this,_0x232e68(0x3be),a[_0x232e68(0x261)]((_0x447f93,_0x485a71)=>{const _0xe6f85d=_0x232e68,_0x414b8b={'eventID':m['CollaborationEvent'][_0xe6f85d(0x2ef)],'data':{'unitID':this['unitID'],'memberID':this[_0xe6f85d(0x37c)][_0xe6f85d(0x2cd)](),'selection':$t[_0xe6f85d(0x526)](_0x447f93,_0x485a71['range'])}};this['_session'][_0xe6f85d(0x2a8)](_0x414b8b,this['unitID']);},dr)),(this[_0x232e68(0x57d)]=_0x62ea88,this[_0x232e68(0x37c)]=_0x30296d,this['_injector']=_0x5e8e4b,this[_0x232e68(0x223)]=_0xfe794a,this['_memberService']=_0x5e6d22,this[_0x232e68(0x403)]=_0x408c9a,this['_commandService']=_0x2a6efc,this[_0x232e68(0x20f)]=_0x3f9bd9);}get[_0x519f42(0x232)](){const _0x1b147d=_0x519f42;return this[_0x1b147d(0x266)]['getValue']();}get[_0x519f42(0x272)](){const _0x1096d7=_0x519f42;return this[_0x1096d7(0x44f)][_0x1096d7(0x489)]();}[_0x519f42(0x5fa)](){const _0x14c4b4=_0x519f42;super[_0x14c4b4(0x5fa)](),this[_0x14c4b4(0x266)][_0x14c4b4(0x213)](new Map()),this[_0x14c4b4(0x266)][_0x14c4b4(0x324)](),this[_0x14c4b4(0x44f)][_0x14c4b4(0x213)]([]),this[_0x14c4b4(0x44f)][_0x14c4b4(0x324)]();}[_0x519f42(0x1fe)](){const _0x1f7e2b=_0x519f42;this[_0x1f7e2b(0x3b9)]||(this[_0x1f7e2b(0x3b9)]=!0x0,this[_0x1f7e2b(0x37c)]['sessionStatus$'][_0x1f7e2b(0x641)](N[_0x1f7e2b(0x1e9)](this['dispose$']))['subscribe'](_0x562df0=>{const _0x369266=_0x1f7e2b;_0x562df0===ne['ONLINE']?this['_toggleOnline']():this[_0x369266(0x214)]();}),this[_0x1f7e2b(0x37c)][_0x1f7e2b(0x4c0)][_0x1f7e2b(0x641)](N[_0x1f7e2b(0x1e9)](this[_0x1f7e2b(0x191)]))[_0x1f7e2b(0x1db)](_0x4c779b=>{const _0x58ddeb=_0x1f7e2b,_0x15cb48=_0x4c779b['eventID'];_0x15cb48===m[_0x58ddeb(0x3bc)][_0x58ddeb(0x2ef)]&&this[_0x58ddeb(0x4c2)](_0x4c779b),_0x15cb48===m[_0x58ddeb(0x3bc)][_0x58ddeb(0x41b)]&&this[_0x58ddeb(0x2fa)](_0x4c779b);}),this['_onRefRangeChange'](),this[_0x1f7e2b(0x5db)](this[_0x1f7e2b(0x636)][_0x1f7e2b(0x4a8)](_0x1dd0c3=>{const _0x1d7d63=_0x1f7e2b;if(this[_0x1d7d63(0x1a3)]&&_0x1dd0c3['id']===k[_0x1d7d63(0x4bd)]['id']&&_0x1dd0c3['params'][_0x1d7d63(0x235)]===this[_0x1d7d63(0x57d)]){const _0x554c40=_0x1dd0c3[_0x1d7d63(0x322)];this['_updateLocalCursor'](_0x554c40[_0x1d7d63(0x60b)],_0x554c40[_0x1d7d63(0x515)][0x0]);}})));}['_onCursorUpdate'](_0x431211){const _0x185d9c=_0x519f42;var _0x22fa5a,_0x3d11ea;const {memberID:_0xe5a8fa,selection:_0xddf58a}=_0x431211[_0x185d9c(0x2f1)],{sheetName:_0x451c8d,range:_0x38403b}=$t['deserializeRangeWithSheet'](_0xddf58a),_0x4e4ad4={'name':(_0x3d11ea=(_0x22fa5a=this[_0x185d9c(0x24e)][_0x185d9c(0x449)](this[_0x185d9c(0x57d)],_0xe5a8fa))==null?void 0x0:_0x22fa5a[_0x185d9c(0x3b2)])!=null?_0x3d11ea:_0x185d9c(0x35f),'range':this[_0x185d9c(0x61b)](_0x451c8d,_0x38403b),'sheetID':_0x451c8d,'color':this[_0x185d9c(0x223)][_0x185d9c(0x305)](_0xe5a8fa),'selection':_0xddf58a},_0x3a67d5=this[_0x185d9c(0x232)];_0x3a67d5[_0x185d9c(0x3e1)](_0xe5a8fa,_0x4e4ad4),this[_0x185d9c(0x266)][_0x185d9c(0x213)](_0x3a67d5);}[_0x519f42(0x2fa)](_0x12eeab){const _0x3909bf=_0x519f42,{memberID:_0x1ce9ab}=_0x12eeab[_0x3909bf(0x2f1)],_0x737fd0=this[_0x3909bf(0x232)];_0x737fd0[_0x3909bf(0x203)](_0x1ce9ab),this[_0x3909bf(0x266)]['next'](_0x737fd0);}[_0x519f42(0x61b)](_0x122a69,_0xf3ff6e){const _0x51887c=_0x519f42;var _0x578ffe,_0x101f1b;const _0x2a0830=(_0x101f1b=(_0x578ffe=this[_0x51887c(0x403)][_0x51887c(0x5a9)](this['unitID']))==null?void 0x0:_0x578ffe[_0x51887c(0x54d)](_0x122a69))==null?void 0x0:_0x101f1b[_0x51887c(0x397)]();return(_0x2a0830==null?void 0x0:_0x2a0830[_0x51887c(0x1c6)](_0x2eb3ab=>a[_0x51887c(0x3f5)]['contains'](_0x2eb3ab,_0xf3ff6e)))||_0xf3ff6e;}['_onRefRangeChange'](){const _0x2a81cc=_0x519f42,_0x397a25=new a[(_0x2a81cc(0x3cf))](),_0x36d717=fr(),_0x38fa12=()=>{const _0x345aab=_0x2a81cc;_0x397a25[_0x345aab(0x5fa)]();const _0x4a3857=(_0x2ac8e8,_0x460e0a,_0x2ddde1,_0x1befdb)=>{const _0xb727f2=_0x345aab;let _0x3fbe26=[];switch(_0x2ac8e8['id']){case k[_0xb727f2(0x459)][_0xb727f2(0x480)]:{_0x3fbe26=k[_0xb727f2(0x288)](_0x2ac8e8,_0x1befdb);break;}case k['EffectRefRangId'][_0xb727f2(0x5c2)]:{_0x3fbe26=k['handleDeleteRangeMoveUp'](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)][_0xb727f2(0x54f)]:{_0x3fbe26=k[_0xb727f2(0x4ed)](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)][_0xb727f2(0x61a)]:{_0x3fbe26=k['handleInsertRangeMoveDown'](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)][_0xb727f2(0x5c9)]:{_0x3fbe26=k['handleInsertRangeMoveRight'](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)]['InsertRowCommandId']:{_0x3fbe26=k[_0xb727f2(0x287)](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)]['MoveRangeCommandId']:{_0x3fbe26=k['handleMoveRange'](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)][_0xb727f2(0x3f0)]:{_0x3fbe26=k[_0xb727f2(0x533)](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)]['RemoveRowCommandId']:{_0x3fbe26=k[_0xb727f2(0x41e)](_0x2ac8e8,_0x1befdb);break;}}const _0x3d5963=k[_0xb727f2(0x2ac)](_0x3fbe26,_0x1befdb),_0x272540=this[_0xb727f2(0x232)][_0xb727f2(0x4a6)](_0x460e0a);if(_0x272540&&_0x3d5963){const _0x81098e={..._0x272540,'range':_0x3d5963};this[_0xb727f2(0x232)]['set'](_0x460e0a,_0x81098e),_0x36d717(()=>{const _0x1e26d4=_0xb727f2,_0x2de034=this['_refRangeService'][_0x1e26d4(0x5a2)](_0x3d5963,_0x466f6e=>(_0x2de034[_0x1e26d4(0x5fa)](),_0x4a3857(_0x466f6e,_0x460e0a,_0x2ddde1,_0x3d5963)));_0x397a25[_0x1e26d4(0x556)](_0x2de034);});}return{'redos':[],'undos':[]};};this[_0x345aab(0x232)][_0x345aab(0x24a)]((_0x19bce8,_0x2c8fde)=>{const _0x182cfa=_0x345aab,{range:_0x3bb1ec,sheetID:_0x5e0fc1}=_0x19bce8,_0x5bd678=this[_0x182cfa(0x20f)][_0x182cfa(0x5a2)](_0x3bb1ec,_0x36b10c=>(_0x5bd678[_0x182cfa(0x5fa)](),_0x4a3857(_0x36b10c,_0x2c8fde,_0x5e0fc1,_0x3bb1ec)));_0x397a25[_0x182cfa(0x556)](_0x5bd678);});};this[_0x2a81cc(0x5db)](a['toDisposable'](this[_0x2a81cc(0x266)]['subscribe'](()=>{_0x38fa12();})));}[_0x519f42(0x3ef)](){const _0x3bce9c=_0x519f42;var _0x114d4b,_0x438f1b;if(this[_0x3bce9c(0x1a3)]=!0x0,((_0x114d4b=this[_0x3bce9c(0x403)][_0x3bce9c(0x5a3)]())==null?void 0x0:_0x114d4b[_0x3bce9c(0x238)]())!==this[_0x3bce9c(0x57d)])return;const _0x28245d=(_0x438f1b=this[_0x3bce9c(0x590)]['get'](k['SheetsSelectionsService'])[_0x3bce9c(0x1d6)]())==null?void 0x0:_0x438f1b[0x0],_0x53d3c9=this['_univerInstanceService'][_0x3bce9c(0x4d6)](a[_0x3bce9c(0x475)][_0x3bce9c(0x248)])['getActiveSheet']();_0x28245d&&_0x53d3c9&&this[_0x3bce9c(0x3be)](_0x53d3c9[_0x3bce9c(0x584)](),_0x28245d);}['_toggleOffline'](){const _0x358fa1=_0x519f42;this[_0x358fa1(0x1a3)]=!0x1;}};Tt=_r([Te(0x2,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),Te(0x3,a[_0x519f42(0x3b4)](Nt)),Te(0x4,a[_0x519f42(0x3b4)](exports['MemberService'])),Te(0x5,a['IUniverInstanceService']),Te(0x6,a['ICommandService']),Te(0x7,a[_0x519f42(0x3b4)](k[_0x519f42(0x62f)]))],Tt);var vr=Object['defineProperty'],Sr=Object[_0x519f42(0x544)],pr=(_0x53c00c,_0x361159,_0x4cca72,_0x900fdd)=>{const _0x1173a8=_0x519f42;for(var _0x3f69a6=_0x900fdd>0x1?void 0x0:_0x900fdd?Sr(_0x361159,_0x4cca72):_0x361159,_0x275afd=_0x53c00c[_0x1173a8(0x53a)]-0x1,_0x58bcf2;_0x275afd>=0x0;_0x275afd--)(_0x58bcf2=_0x53c00c[_0x275afd])&&(_0x3f69a6=(_0x900fdd?_0x58bcf2(_0x361159,_0x4cca72,_0x3f69a6):_0x58bcf2(_0x3f69a6))||_0x3f69a6);return _0x900fdd&&_0x3f69a6&&vr(_0x361159,_0x4cca72,_0x3f69a6),_0x3f69a6;},ft=(_0x1749eb,_0x2878ed)=>(_0xa8478b,_0x1bfdc2)=>_0x2878ed(_0xa8478b,_0x1bfdc2,_0x1749eb);let ye=class extends a[_0x519f42(0x275)]{constructor(_0x3af524,_0x16f01e,_0x25d40d){const _0x26da1e=_0x519f42;super(),I(this,_0x26da1e(0x41d),new Map()),I(this,_0x26da1e(0x276),new N[(_0x26da1e(0x3ec))]()),(this[_0x26da1e(0x403)]=_0x3af524,this[_0x26da1e(0x590)]=_0x16f01e,this[_0x26da1e(0x55b)]=_0x25d40d,this[_0x26da1e(0x3b9)]());}['dispose'](){const _0xc747ef=_0x519f42;super[_0xc747ef(0x5fa)](),this['_entityInit$'][_0xc747ef(0x324)](),this[_0xc747ef(0x41d)][_0xc747ef(0x24a)](_0x532534=>_0x532534['dispose']());}[_0x519f42(0x199)](_0x2a7736){const _0x255209=_0x519f42;return this[_0x255209(0x41d)][_0x255209(0x443)](_0x2a7736)?this[_0x255209(0x41d)]['get'](_0x2a7736)[_0x255209(0x5e8)]:this[_0x255209(0x276)][_0x255209(0x641)](N[_0x255209(0x1ae)](_0x23458c=>_0x23458c[_0x255209(0x57d)]===_0x2a7736),N['switchMap'](_0x55a92e=>_0x55a92e[_0x255209(0x5e8)]));}[_0x519f42(0x3b9)](){const _0xcc75d4=_0x519f42;this[_0xcc75d4(0x403)][_0xcc75d4(0x253)](a[_0xcc75d4(0x475)]['UNIVER_SHEET'])['pipe'](N[_0xcc75d4(0x1e9)](this[_0xcc75d4(0x191)]))['subscribe'](async _0x1a23df=>{const _0x2816b1=_0xcc75d4,_0x2b66d3=_0x1a23df['getUnitId'](),_0x25262d=await this[_0x2816b1(0x41f)](_0x2b66d3);this[_0x2816b1(0x276)][_0x2816b1(0x213)](_0x25262d),this['_entities']['set'](_0x2b66d3,_0x25262d);}),this[_0xcc75d4(0x403)][_0xcc75d4(0x253)](a[_0xcc75d4(0x475)]['UNIVER_DOC'])[_0xcc75d4(0x641)](N['takeUntil'](this[_0xcc75d4(0x191)]))[_0xcc75d4(0x641)](N['filter'](_0x1dab26=>!_0x1dab26[_0xcc75d4(0x238)]()[_0xcc75d4(0x2ea)]('__')))[_0xcc75d4(0x1db)](async _0x185abc=>{const _0x40edfb=_0xcc75d4,_0x93f197=_0x185abc[_0x40edfb(0x238)](),_0x55be8b=await this[_0x40edfb(0x3ff)](_0x93f197);this[_0x40edfb(0x276)][_0x40edfb(0x213)](_0x55be8b),this[_0x40edfb(0x41d)]['set'](_0x93f197,_0x55be8b);}),N['merge'](this['_univerInstanceService'][_0xcc75d4(0x610)](a['UniverInstanceType'][_0xcc75d4(0x249)]),this['_univerInstanceService'][_0xcc75d4(0x610)](a[_0xcc75d4(0x475)][_0xcc75d4(0x248)]))[_0xcc75d4(0x641)](N['takeUntil'](this[_0xcc75d4(0x191)]))[_0xcc75d4(0x1db)](_0x378270=>{const _0x4d76f0=_0xcc75d4,_0x2bebee=_0x378270[_0x4d76f0(0x238)](),_0x3a04ff=this[_0x4d76f0(0x41d)]['get'](_0x2bebee);_0x3a04ff&&(_0x3a04ff[_0x4d76f0(0x5fa)](),this[_0x4d76f0(0x41d)]['delete'](_0x2bebee));});}async[_0x519f42(0x41f)](_0xa49dc){const _0x197609=_0x519f42,_0x4e3a71=await this[_0x197609(0x55b)][_0x197609(0x295)](_0xa49dc),_0x18dbdb=this[_0x197609(0x590)][_0x197609(0x35c)](Tt,_0xa49dc,_0x4e3a71);return _0x18dbdb[_0x197609(0x1fe)](),_0x18dbdb;}async['_startDocCollabCursor'](_0x2d8864){const _0x7c149b=_0x519f42,_0x162f85=await this[_0x7c149b(0x55b)]['requireSession'](_0x2d8864),_0x15d4e4=this[_0x7c149b(0x590)]['createInstance'](bt,_0x2d8864,_0x162f85);return _0x15d4e4[_0x7c149b(0x1fe)](),_0x15d4e4;}};ye=pr([ft(0x0,a['IUniverInstanceService']),ft(0x1,a['Inject'](a['Injector'])),ft(0x2,a[_0x519f42(0x3b4)](exports[_0x519f42(0x4ae)]))],ye);const xe=0x14,Kt=0xc8,vt=0x4,mr=0x5;function gr(_0x17d730,_0x57611c){const _0x9a8bcc=_0x519f42;let {radius:_0x5bf219,width:_0x12bbdf,height:_0x371c5b}=_0x57611c;_0x5bf219=_0x5bf219!=null?_0x5bf219:0x0,_0x12bbdf=_0x12bbdf!=null?_0x12bbdf:0x1e,_0x371c5b=_0x371c5b!=null?_0x371c5b:0x1e;let _0xe71c9d=0x0,_0x4a4571=0x0,_0x5b919c=0x0;_0xe71c9d=_0x4a4571=_0x5b919c=Math[_0x9a8bcc(0x3ba)](_0x5bf219,_0x12bbdf/0x2,_0x371c5b/0x2),_0x17d730[_0x9a8bcc(0x550)](),_0x17d730[_0x9a8bcc(0x62e)](_0xe71c9d,0x0),_0x17d730['lineTo'](_0x12bbdf-_0x4a4571,0x0),_0x17d730['arc'](_0x12bbdf-_0x4a4571,_0x4a4571,_0x4a4571,Math['PI']*0x3/0x2,0x0,!0x1),_0x17d730[_0x9a8bcc(0x257)](_0x12bbdf,_0x371c5b-_0x5b919c),_0x17d730[_0x9a8bcc(0x286)](_0x12bbdf-_0x5b919c,_0x371c5b-_0x5b919c,_0x5b919c,0x0,Math['PI']/0x2,!0x1),_0x17d730[_0x9a8bcc(0x257)](0x0,_0x371c5b),_0x17d730[_0x9a8bcc(0x257)](0x0,_0xe71c9d),_0x17d730[_0x9a8bcc(0x286)](_0xe71c9d,_0xe71c9d,_0xe71c9d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x17d730[_0x9a8bcc(0x504)](),_0x57611c[_0x9a8bcc(0x221)]&&(_0x17d730['save'](),_0x17d730[_0x9a8bcc(0x567)]=_0x57611c['fill'],_0x57611c[_0x9a8bcc(0x1fb)]==='evenodd'?_0x17d730[_0x9a8bcc(0x221)](_0x9a8bcc(0x55f)):_0x17d730['fill'](),_0x17d730[_0x9a8bcc(0x1a7)]());}class ct extends Y['Shape']{constructor(_0x28be89,_0x2e5824){const _0x12d7e2=_0x519f42;super(_0x28be89,_0x2e5824),I(this,'color'),I(this,_0x12d7e2(0x18d)),(this['color']=_0x2e5824==null?void 0x0:_0x2e5824['color'],this['text']=_0x2e5824==null?void 0x0:_0x2e5824[_0x12d7e2(0x18d)]);}static[_0x519f42(0x290)](_0x4739ba,_0x33cd50){const _0x34995d=_0x519f42,{text:_0x508986,color:_0x1096b}=_0x33cd50;_0x4739ba[_0x34995d(0x3c4)](),_0x4739ba[_0x34995d(0x177)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4909c7=_0x4739ba['measureText'](_0x508986)[_0x34995d(0x5c0)],_0x40db66=Math['min'](_0x4909c7+0x2*vt,Kt);gr(_0x4739ba,{'height':xe,'radius':0x4,'width':_0x40db66,'fill':_0x1096b,'evented':!0x1}),_0x4739ba[_0x34995d(0x567)]=_0x34995d(0x184);const _0x2b48b9=vt,_0x388a65=xe-mr,_0x1cbb26=Kt-0x2*vt;if(_0x4909c7>_0x1cbb26){let _0x959276='',_0x150879=0x0;for(const _0x2ec0f3 of _0x508986){const _0x79b1c7=_0x4739ba[_0x34995d(0x545)](_0x2ec0f3)[_0x34995d(0x5c0)];if(_0x150879+_0x79b1c7<=_0x1cbb26-_0x4739ba['measureText'](_0x34995d(0x2b3))['width'])_0x959276+=_0x2ec0f3,_0x150879+=_0x79b1c7;else{_0x959276+='...';break;}}_0x4739ba[_0x34995d(0x541)](_0x959276,_0x2b48b9,_0x388a65);}else _0x4739ba[_0x34995d(0x541)](_0x508986,_0x2b48b9,_0x388a65);_0x4739ba[_0x34995d(0x1a7)]();}[_0x519f42(0x611)](_0x557863){const _0x3c9e50=_0x519f42;ct[_0x3c9e50(0x290)](_0x557863,this);}}const St='collab-text-anchor-',Ir=_0x519f42(0x33f),Cr=_0x519f42(0x264),we=0x6,Er=1.5,pt=0x4,br=1.5,Tr='rgba(255,\x20255,\x20255,\x200.01)';class zt{constructor(_0x296aaf,_0x4ac3d3,_0x5c82ae,_0x2d0862){const _0x303572=_0x519f42;I(this,_0x303572(0x463),[]),I(this,'_anchor',null),I(this,_0x303572(0x507),null),I(this,_0x303572(0x3e4),null),I(this,_0x303572(0x438),null),I(this,_0x303572(0x452),null),(this[_0x303572(0x399)]=_0x296aaf,this[_0x303572(0x1c5)]=_0x4ac3d3,this[_0x303572(0x573)]=_0x5c82ae,this['_document']=_0x2d0862,this[_0x303572(0x317)]());}set[_0x519f42(0x359)](_0x8c2a60){const _0x3d8b0e=_0x519f42;_0x8c2a60?(this[_0x3d8b0e(0x3e4)]&&this[_0x3d8b0e(0x3e4)][_0x3d8b0e(0x42a)](),this[_0x3d8b0e(0x507)]&&this['_textBubble']['show']()):(this[_0x3d8b0e(0x3e4)]&&this[_0x3d8b0e(0x3e4)][_0x3d8b0e(0x1e6)](),this[_0x3d8b0e(0x507)]&&this['_textBubble']['hide']());}['dispose'](){const _0x133971=_0x519f42;for(const _0x57977f of this['_shapes'])_0x57977f[_0x133971(0x5fa)]();this['_textBubble']&&this[_0x133971(0x507)]['dispose'](),this['_anchorDot']&&this[_0x133971(0x3e4)][_0x133971(0x5fa)](),this[_0x133971(0x344)]&&this[_0x133971(0x344)][_0x133971(0x5fa)](),this['_eventUnsubscribe']&&this[_0x133971(0x452)]();}[_0x519f42(0x317)](){const _0x2669b1=_0x519f42;var _0x3eb638;const {_docSkeleton:_0x4cdc50,_document:_0x593e93}=this,{color:_0x30d53b,name:_0x5125e8,ranges:_0x47e066}=this[_0x2669b1(0x399)],_0xfd4d16=_0x593e93[_0x2669b1(0x3b0)](),{docsLeft:_0x50a760,docsTop:_0x14443f}=_0xfd4d16,_0x212545=new J['NodePositionConvertToCursor'](_0xfd4d16,_0x4cdc50);for(const {startOffset:_0x547515,endOffset:_0xe48d8f,rangeType:_0x4e73dd,segmentId:_0x173d20,segmentPage:_0x3c143c,collapsed:_0x202445,isActive:_0xe87cf}of _0x47e066){const _0x4e7556=_0x4cdc50[_0x2669b1(0x474)](_0x547515,!0x0,_0x173d20,_0x3c143c);let _0x1b704a=_0x4cdc50['findNodePositionByCharIndex'](_0xe48d8f,!0x0,_0x173d20,_0x3c143c);if(_0x1b704a==null&&(_0x1b704a=_0x4cdc50[_0x2669b1(0x474)](_0xe48d8f-0x1,!0x1,_0x173d20,_0x3c143c)),_0xe87cf){const {contentBoxPointGroup:_0x2e3c76}=_0x212545[_0x2669b1(0x4eb)](_0x1b704a,_0x1b704a);if(_0x2e3c76['length']===0x0)continue;this['_drawAnchor'](_0x30d53b,_0x2e3c76,_0x50a760,_0x14443f,_0x5125e8),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x4e7556&&_0x1b704a){if(_0x4e73dd===a[_0x2669b1(0x5ae)]['RECT']){const _0x1c6ef2=new J[(_0x2669b1(0x27b))](_0xfd4d16,_0x4cdc50),{pointGroup:_0x4fc0ac}=(_0x3eb638=_0x1c6ef2[_0x2669b1(0x4eb)](_0x4e7556,_0x1b704a))!=null?_0x3eb638:{};if(_0x4fc0ac==null||_0x4fc0ac[_0x2669b1(0x53a)]===0x0)continue;this[_0x2669b1(0x36b)](_0x30d53b,_0x4fc0ac,_0x50a760,_0x14443f);}else{if(!_0x202445){const {borderBoxPointGroup:_0x37ec9a}=_0x212545['getRangePointData'](_0x4e7556,_0x1b704a);if(_0x37ec9a[_0x2669b1(0x53a)]===0x0)continue;this[_0x2669b1(0x1ed)](_0x30d53b,_0x37ec9a,_0x50a760,_0x14443f);}}}}}['_drawAnchor'](_0x1de6d0,_0x1039db,_0x13bb0b,_0x41a488,_0x2e7980){const _0xe91b97=_0x519f42,_0x489d92=this[_0xe91b97(0x4c3)](_0x1039db),{left:_0x1a6b65,top:_0x102450,height:_0x164cc0}=_0x489d92,_0x26e520=this[_0xe91b97(0x44a)](),_0x101932=br/_0x26e520,_0x5c7dd5=new Y[(_0xe91b97(0x1c3))](St+a['Tools'][_0xe91b97(0x472)](we),{'left':_0x1a6b65+_0x13bb0b-_0x101932,'top':_0x102450+_0x41a488,'height':_0x164cc0,'width':Er,'fill':_0x1de6d0||Y[_0xe91b97(0x357)](a[_0xe91b97(0x5cd)]['black'],0x0),'strokeWidth':_0x101932,'stroke':Tr,'evented':!0x0});this[_0xe91b97(0x344)]=_0x5c7dd5,this[_0xe91b97(0x1c5)]['addObject'](_0x5c7dd5,J[_0xe91b97(0x59f)]);const _0x459534=new Y['Rect'](St+a[_0xe91b97(0x2c8)][_0xe91b97(0x472)](we),{'left':_0x1a6b65+_0x13bb0b-_0x101932,'top':_0x102450+_0x41a488-pt/0x2,'height':pt,'width':pt,'fill':_0x1de6d0||Y['getColor'](a[_0xe91b97(0x5cd)][_0xe91b97(0x53d)],0x0),'strokeWidth':0x0,'stroke':_0x1de6d0||Y[_0xe91b97(0x357)](a[_0xe91b97(0x5cd)][_0xe91b97(0x53d)],0x0),'evented':!0x1});this[_0xe91b97(0x3e4)]=_0x459534,this['_scene'][_0xe91b97(0x180)](_0x459534,J[_0xe91b97(0x59f)]);const _0x4a5eae=new ct(St+a['Tools']['generateRandomId'](we),{'left':_0x1a6b65+_0x13bb0b-_0x101932,'top':_0x102450+_0x41a488-xe,'text':_0x2e7980,'color':_0x1de6d0});this[_0xe91b97(0x507)]=_0x4a5eae,this['_scene']['addObject'](_0x4a5eae,J[_0xe91b97(0x59f)]),this['_hover']=!0x1;}[_0x519f42(0x310)](){const _0xf3ba4=_0x519f42,_0xe4f070=this[_0xf3ba4(0x344)][_0xf3ba4(0x2cf)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x462a0e=this[_0xf3ba4(0x344)][_0xf3ba4(0x485)][_0xf3ba4(0x49d)](()=>{const _0x394199=_0xf3ba4;this[_0x394199(0x438)]&&clearTimeout(this['_hideTimer']),this[_0x394199(0x438)]=setTimeout(()=>{const _0x4a25e5=_0x394199;this[_0x4a25e5(0x359)]=!0x1;},0x7d0);});return()=>{const _0x96ded3=_0xf3ba4;_0xe4f070[_0x96ded3(0x347)](),_0x462a0e['unsubscribe']();};}[_0x519f42(0x1ed)](_0x4d327d,_0x2acd44,_0x14a7b1,_0xcb950b){const _0x358710=_0x519f42,_0x162ec6=new a[(_0x358710(0x5aa))](_0x4d327d)[_0x358710(0x551)](0.2)[_0x358710(0x3e5)](),_0x558fd0=new Y[(_0x358710(0x5c6))](Ir+a[_0x358710(0x2c8)][_0x358710(0x472)](we),{'pointsGroup':_0x2acd44,'fill':_0x162ec6||Y[_0x358710(0x357)](a[_0x358710(0x5cd)][_0x358710(0x53d)],0.2),'left':_0x14a7b1,'top':_0xcb950b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x358710(0x463)][_0x358710(0x205)](_0x558fd0),this[_0x358710(0x1c5)]['addObject'](_0x558fd0,J[_0x358710(0x59f)]);}[_0x519f42(0x36b)](_0x29de5c,_0x5e2e0f,_0x25093f,_0x4b07bb){const _0x387fcc=_0x519f42,_0x4acdc3=new a[(_0x387fcc(0x5aa))](_0x29de5c)[_0x387fcc(0x551)](0.2)[_0x387fcc(0x3e5)](),_0x50dbb3=new Y[(_0x387fcc(0x5c6))](Cr+a['Tools']['generateRandomId'](we),{'pointsGroup':_0x5e2e0f,'fill':_0x4acdc3||Y[_0x387fcc(0x357)](a[_0x387fcc(0x5cd)][_0x387fcc(0x53d)],0.2),'left':_0x25093f,'top':_0x4b07bb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x387fcc(0x463)][_0x387fcc(0x205)](_0x50dbb3),this['_scene'][_0x387fcc(0x180)](_0x50dbb3,J[_0x387fcc(0x59f)]);}['_getAnchorBounding'](_0x196126){const _0x240daa=_0x196126[0x0],_0x36a991=_0x240daa[0x0],_0x38cc4f=_0x240daa[0x2],{x:_0x453982,y:_0x5591d7}=_0x36a991,{x:_0x404623,y:_0x5e978e}=_0x38cc4f;return{'left':_0x453982,'top':_0x5591d7,'width':_0x404623-_0x453982,'height':_0x5e978e-_0x5591d7};}[_0x519f42(0x44a)](){const _0x153dcc=_0x519f42,{scaleX:_0x2ba3a9,scaleY:_0x5e9cff}=this[_0x153dcc(0x1c5)][_0x153dcc(0x30a)]();return Math['max'](_0x2ba3a9,_0x5e9cff);}}var Rr=Object[_0x519f42(0x360)],Or=Object[_0x519f42(0x544)],yr=(_0x51f305,_0x140acf,_0x1dcfd6,_0x4d0851)=>{const _0x2abcb6=_0x519f42;for(var _0xface28=_0x4d0851>0x1?void 0x0:_0x4d0851?Or(_0x140acf,_0x1dcfd6):_0x140acf,_0x511c81=_0x51f305[_0x2abcb6(0x53a)]-0x1,_0x402083;_0x511c81>=0x0;_0x511c81--)(_0x402083=_0x51f305[_0x511c81])&&(_0xface28=(_0x4d0851?_0x402083(_0x140acf,_0x1dcfd6,_0xface28):_0x402083(_0xface28))||_0xface28);return _0x4d0851&&_0xface28&&Rr(_0x140acf,_0x1dcfd6,_0xface28),_0xface28;},je=(_0x5801e5,_0x3bf739)=>(_0x3d96b0,_0x58363b)=>_0x3bf739(_0x3d96b0,_0x58363b,_0x5801e5);let Rt=class extends a['RxDisposable']{constructor(_0x125d61,_0x81a3c9,_0x55a36b,_0x2b061a,_0x4a8f8c){const _0x2eabbc=_0x519f42;super(),I(this,_0x2eabbc(0x624),[]),I(this,_0x2eabbc(0x2f9),[]),(this['_context']=_0x125d61,this[_0x2eabbc(0x304)]=_0x81a3c9,this['_collabCursorController']=_0x55a36b,this['_commandService']=_0x2b061a,this[_0x2eabbc(0x28c)]=_0x4a8f8c,this[_0x2eabbc(0x3b9)]());}[_0x519f42(0x3b9)](){const _0x1fed14=_0x519f42,_0x1b7a1c=this[_0x1fed14(0x1b0)]['unitId'],_0x881578=this[_0x1fed14(0x304)];this[_0x1fed14(0x5db)](N[_0x1fed14(0x18e)]([this[_0x1fed14(0x566)][_0x1fed14(0x199)](_0x1b7a1c),this[_0x1fed14(0x28c)][_0x1fed14(0x25f)]])[_0x1fed14(0x641)](V['map'](([_0x3f4d38,_0x5535c2])=>({'skeleton':_0x881578[_0x1fed14(0x518)](),'cursors':[..._0x3f4d38[_0x1fed14(0x426)]()]['flatMap'](_0x1d0535=>({..._0x1d0535,'color':_0x5535c2[_0x1d0535[_0x1fed14(0x350)]]}))})))[_0x1fed14(0x1db)](_0x52f6e1=>{const _0x1a7fbd=_0x1fed14;if(this[_0x1a7fbd(0x59d)](),_0x52f6e1){const {skeleton:_0x3e6d6a,cursors:_0x2ba7ce}=_0x52f6e1;this[_0x1a7fbd(0x455)](_0x3e6d6a,_0x2ba7ce);}})),this[_0x1fed14(0x420)](),this[_0x1fed14(0x3d1)]();}['_updateCollabCursors'](_0x560af4,_0x19fd24){const _0x323b21=_0x519f42,{scene:_0x26f4c1,mainComponent:_0x2ca27c}=this[_0x323b21(0x1b0)],_0x32f14c=_0x19fd24[_0x323b21(0x444)](_0x5e7ccb=>new zt(_0x5e7ccb,_0x26f4c1,_0x560af4,_0x2ca27c));this[_0x323b21(0x624)]=_0x32f14c,this['_cursors']=_0x19fd24;}[_0x519f42(0x2b2)](){const _0xc2474f=_0x519f42;this['_removeCollabCursors']();const {scene:_0x4d8869,mainComponent:_0x31d2d3}=this[_0xc2474f(0x1b0)],_0x58495b=this[_0xc2474f(0x304)][_0xc2474f(0x518)](),_0x4fdce9=this[_0xc2474f(0x2f9)]['map'](_0x2db6f4=>new zt(_0x2db6f4,_0x4d8869,_0x58495b,_0x31d2d3));this[_0xc2474f(0x624)]=_0x4fdce9;}['_removeCollabCursors'](){const _0xd8bcd6=_0x519f42;this[_0xd8bcd6(0x624)]['forEach'](_0x92a68f=>_0x92a68f[_0xd8bcd6(0x5fa)]()),this[_0xd8bcd6(0x624)]=[];}[_0x519f42(0x3d1)](){const _0x520d8f=_0x519f42,_0x100e7d=[J[_0x520d8f(0x588)]['id']];this[_0x520d8f(0x5db)](this['_commandService'][_0x520d8f(0x4a8)](_0x2493a0=>{const _0x45820f=_0x520d8f;_0x100e7d['includes'](_0x2493a0['id'])&&_0x2493a0[_0x45820f(0x322)][_0x45820f(0x235)]===this[_0x45820f(0x1b0)][_0x45820f(0x235)]&&this[_0x45820f(0x2b2)]();}));}['_initResize'](){const _0x1ab117=_0x519f42;this[_0x1ab117(0x5db)](a[_0x1ab117(0x396)](this[_0x1ab117(0x1b0)][_0x1ab117(0x23f)][_0x1ab117(0x5a5)])[_0x1ab117(0x641)](V[_0x1ab117(0x1ae)](_0x59516c=>_0x59516c[_0x1ab117(0x1d1)]===Y[_0x1ab117(0x361)][_0x1ab117(0x58b)]),V[_0x1ab117(0x21a)](0x10))[_0x1ab117(0x1db)](()=>{const _0x1c8a76=_0x1ab117;this[_0x1c8a76(0x2b2)]();}));}};Rt=yr([je(0x1,a['Inject'](Ie[_0x519f42(0x5b6)])),je(0x2,a[_0x519f42(0x3b4)](ye)),je(0x3,a['ICommandService']),je(0x4,a['Inject'](a['ThemeService']))],Rt);const Dr=0x1,Pr=1.5;class Mi extends Y['Shape']{constructor(_0x4af30b,_0x33d800){const _0xbdb16f=_0x519f42;super(_0x4af30b,_0x33d800),I(this,_0xbdb16f(0x4da)),I(this,_0xbdb16f(0x268),!0x1),I(this,_0xbdb16f(0x19f)),I(this,_0xbdb16f(0x575),''),I(this,_0xbdb16f(0x1bb),_0xbdb16f(0x2fd)),I(this,'_backgroundColor'),(_0x33d800&&this['setShapeProps'](_0x33d800),this['onPointerEnter$']['subscribeEvent'](()=>this[_0xbdb16f(0x1c9)]({'hovered':!0x0})),this[_0xbdb16f(0x485)][_0xbdb16f(0x49d)](()=>this[_0xbdb16f(0x1c9)]({'hovered':!0x1})));}[_0x519f42(0x1c9)](_0x1f66cf){const _0x5a3b3b=_0x519f42;var _0x422a60,_0x5861c1,_0x16d07d,_0x2dfe3b,_0x83cc7a,_0x510cbb;this[_0x5a3b3b(0x4da)]=(_0x422a60=_0x1f66cf[_0x5a3b3b(0x350)])!=null?_0x422a60:this[_0x5a3b3b(0x4da)],this[_0x5a3b3b(0x268)]=(_0x5861c1=_0x1f66cf[_0x5a3b3b(0x23e)])!=null?_0x5861c1:this[_0x5a3b3b(0x268)],this[_0x5a3b3b(0x19f)]=(_0x16d07d=_0x1f66cf[_0x5a3b3b(0x400)])!=null?_0x16d07d:this[_0x5a3b3b(0x19f)],this[_0x5a3b3b(0x575)]=(_0x2dfe3b=_0x1f66cf[_0x5a3b3b(0x3b2)])!=null?_0x2dfe3b:this[_0x5a3b3b(0x575)],this['_labelPosition']=(_0x83cc7a=_0x1f66cf[_0x5a3b3b(0x2dd)])!=null?_0x83cc7a:this['_labelPosition'],this[_0x5a3b3b(0x262)]=(_0x510cbb=_0x1f66cf[_0x5a3b3b(0x1c4)])!=null?_0x510cbb:this[_0x5a3b3b(0x262)],this[_0x5a3b3b(0x2d1)]({'width':_0x1f66cf[_0x5a3b3b(0x5c0)],'height':_0x1f66cf[_0x5a3b3b(0x53b)]});}[_0x519f42(0x3c3)](_0x2be35e){const _0x2fd1f1=_0x519f42,{row:_0x31c2f7,column:_0x5d51bb}=_0x2be35e;if(_0x31c2f7>=this[_0x2fd1f1(0x19f)][_0x2fd1f1(0x28b)]&&_0x31c2f7<=this[_0x2fd1f1(0x19f)][_0x2fd1f1(0x434)]&&_0x5d51bb>=this[_0x2fd1f1(0x19f)]['startColumn']&&_0x5d51bb<=this['_range'][_0x2fd1f1(0x209)]){this[_0x2fd1f1(0x1c9)]({'hovered':!0x0});return;}this[_0x2fd1f1(0x1c9)]({'hovered':!0x1});}[_0x519f42(0x570)](_0x3c344d){return!0x1;}[_0x519f42(0x611)](_0x266f4e){const _0x3479c4=_0x519f42;Y[_0x3479c4(0x1c3)][_0x3479c4(0x290)](_0x266f4e,{'width':this['width'],'height':this[_0x3479c4(0x53b)],'strokeWidth':Pr,'stroke':this[_0x3479c4(0x4da)],'evented':!0x1,'fill':this[_0x3479c4(0x262)]}),this[_0x3479c4(0x268)]&&(_0x266f4e[_0x3479c4(0x3c4)](),_0x266f4e['transform'](0x1,0x0,0x0,0x1,this[_0x3479c4(0x5c0)],this['_labelPosition']===_0x3479c4(0x21b)?0x0:-xe),ct['drawWith'](_0x266f4e,{'text':this[_0x3479c4(0x575)],'color':this[_0x3479c4(0x4da)]}),_0x266f4e[_0x3479c4(0x1a7)]());}}var wr=Object[_0x519f42(0x360)],Ur=Object[_0x519f42(0x544)],Mr=(_0xc9178f,_0x52be9f,_0x560c17,_0x2b5b76)=>{const _0x40a11f=_0x519f42;for(var _0x1b3d90=_0x2b5b76>0x1?void 0x0:_0x2b5b76?Ur(_0x52be9f,_0x560c17):_0x52be9f,_0x2277a1=_0xc9178f[_0x40a11f(0x53a)]-0x1,_0x1f2a1c;_0x2277a1>=0x0;_0x2277a1--)(_0x1f2a1c=_0xc9178f[_0x2277a1])&&(_0x1b3d90=(_0x2b5b76?_0x1f2a1c(_0x52be9f,_0x560c17,_0x1b3d90):_0x1f2a1c(_0x1b3d90))||_0x1b3d90);return _0x2b5b76&&_0x1b3d90&&wr(_0x52be9f,_0x560c17,_0x1b3d90),_0x1b3d90;},mt=(_0xe59ec2,_0xffde98)=>(_0xefb048,_0x32ee99)=>_0xffde98(_0xefb048,_0x32ee99,_0xe59ec2);const Nr=0x1389;let Ot=class extends a[_0x519f42(0x275)]{constructor(_0x279eb3,_0x4415af,_0x562170,_0x481e9e){const _0x3d9076=_0x519f42;super(),I(this,'_cursors',new Set()),I(this,_0x3d9076(0x1f2),null),(this[_0x3d9076(0x1b0)]=_0x279eb3,this[_0x3d9076(0x643)]=_0x4415af,this[_0x3d9076(0x566)]=_0x562170,this[_0x3d9076(0x28c)]=_0x481e9e,this['_init']());}[_0x519f42(0x3b9)](){const _0x2739cf=_0x519f42;this['_sheetSkeletonManagerService'][_0x2739cf(0x318)][_0x2739cf(0x641)](V[_0x2739cf(0x1e9)](this[_0x2739cf(0x191)]),V['switchMap'](_0x1a74dd=>{const _0x5222b1=_0x2739cf;if(_0x1a74dd){const _0x1c3ea5=_0x1a74dd['sheetId'];return N[_0x5222b1(0x18e)](this[_0x5222b1(0x566)][_0x5222b1(0x199)](this['_context'][_0x5222b1(0x235)]),this[_0x5222b1(0x28c)][_0x5222b1(0x25f)])[_0x5222b1(0x641)](V['map'](([_0x22957e,_0x451cc1])=>{const _0x3f8866=_0x5222b1,_0xa0b307=new Map();return _0x22957e[_0x3f8866(0x24a)]((_0x24f429,_0x53b536)=>{const _0x291af7=_0x3f8866;if(_0x24f429[_0x291af7(0x398)]===_0x1c3ea5){const _0xa02d6={..._0x24f429};_0xa02d6[_0x291af7(0x350)]=_0x451cc1[_0x24f429[_0x291af7(0x350)]],_0xa0b307['set'](_0x53b536,_0xa02d6);}}),{'skeleton':_0x1a74dd,'cursors':_0xa0b307};}));}return N['of']({'skeleton':null,'cursors':new Map()});}))[_0x2739cf(0x1db)](({skeleton:_0x21040f,cursors:_0x37e552})=>{const _0x20f5a4=_0x2739cf;this[_0x20f5a4(0x59d)](),_0x21040f&&this[_0x20f5a4(0x455)](_0x21040f,_0x37e552);}),this[_0x2739cf(0x643)][_0x2739cf(0x318)][_0x2739cf(0x1db)](_0x38362c=>{const _0x52e0e7=_0x2739cf;if(_0x38362c==null)return;const {skeleton:_0x486b54}=_0x38362c,{scene:_0x5d0a2a}=this[_0x52e0e7(0x1b0)];_0x5d0a2a[_0x52e0e7(0x4ac)][_0x52e0e7(0x49d)](a[_0x52e0e7(0x261)](_0x32ad91=>{const _0x4b3ded=_0x52e0e7;var _0x75173f,_0x4c8480;const {offsetX:_0x48d4ba,offsetY:_0x334bc6}=_0x32ad91,{x:_0x32fbf8,y:_0x697a8a}=_0x5d0a2a['getRelativeToViewportCoord'](Y['Vector2'][_0x4b3ded(0x28f)]([_0x48d4ba,_0x334bc6])),{scaleX:_0x157f0f,scaleY:_0x2b1767}=_0x5d0a2a[_0x4b3ded(0x30a)](),_0x4a63e0=_0x5d0a2a['getViewport'](Y[_0x4b3ded(0x1a5)][_0x4b3ded(0x1d5)]),_0x1593ec=_0x5d0a2a[_0x4b3ded(0x254)](Y['Vector2'][_0x4b3ded(0x28f)]([_0x32fbf8,_0x697a8a]),_0x4a63e0),_0x2ed88a=_0x486b54[_0x4b3ded(0x39d)](_0x48d4ba,_0x334bc6,_0x157f0f,_0x2b1767,_0x1593ec);((_0x75173f=this[_0x4b3ded(0x1f2)])==null?void 0x0:_0x75173f[_0x4b3ded(0x4ef)])===_0x2ed88a['column']&&((_0x4c8480=this['_lastPointer'])==null?void 0x0:_0x4c8480['row'])===_0x2ed88a[_0x4b3ded(0x519)]||this[_0x4b3ded(0x2f9)][_0x4b3ded(0x24a)](_0x2ebc62=>{_0x2ebc62['onMouseMove'](_0x2ed88a);});},0x64));});}[_0x519f42(0x455)](_0x29af43,_0x2924f7){const _0x491011=_0x519f42;var _0x12f6c9;const _0xb23ac7=(_0x12f6c9=this[_0x491011(0x643)][_0x491011(0x311)]())==null?void 0x0:_0x12f6c9['skeleton'];if(!_0xb23ac7)return;const _0x1e4752=this[_0x491011(0x435)]();if(!_0x1e4752)return;this['_cursors']['forEach'](_0x18c693=>{_0x18c693['makeDirty']();});const {scene:_0x520d53}=_0x1e4752,_0xa8ba00=Ar(Array[_0x491011(0x3fe)](_0x2924f7[_0x491011(0x426)]()))[_0x491011(0x444)](_0x1ad810=>{const _0x1bd391=_0x491011,{color:_0xcd8010,range:_0x488629,name:_0x1b9ca4,selection:_0x5e1929,sheetID:_0x452cf1}=_0x1ad810,{startColumn:_0x5d3a24,startRow:_0x14e106,endColumn:_0x45fa1b,endRow:_0x2c692b}=_0x488629,_0x2903ad=Le['getCoordByCell'](_0x14e106,_0x5d3a24,_0x520d53,_0xb23ac7),_0x28739a=Le[_0x1bd391(0x4d4)](_0x2c692b,_0x45fa1b,_0x520d53,_0xb23ac7),{columnHeaderHeightAndMarginTop:_0x302d36}=_0xb23ac7,{startX:_0x47c529,startY:_0x4fb54c}=_0x2903ad,{endX:_0x32880a,endY:_0x175219}=_0x28739a,_0x46c127=_0x32880a-_0x47c529,_0x56279e=_0x175219-_0x4fb54c,_0x5d8852={'labelPosition':_0x4fb54c-_0x302d36>=xe?_0x1bd391(0x2fd):_0x1bd391(0x21b),'sheetID':_0x452cf1,'range':_0x488629,'color':_0xcd8010,'name':_0x1b9ca4,'selection':_0x5e1929,'left':_0x47c529,'top':_0x4fb54c,'width':_0x46c127,'height':_0x56279e,'evented':!0x1,'zIndex':Nr};return new Mi(_0x1b9ca4,_0x5d8852);});_0x520d53[_0x491011(0x4bf)](_0xa8ba00,Dr),this[_0x491011(0x2f9)]=new Set(_0xa8ba00);}[_0x519f42(0x59d)](){const _0x3953c4=_0x519f42;var _0xf53a74;(_0xf53a74=this['_cursors'])==null||_0xf53a74[_0x3953c4(0x24a)](_0x3b1b68=>_0x3b1b68[_0x3953c4(0x5fa)]());}[_0x519f42(0x435)](){const _0x3dc1fc=_0x519f42;return Le[_0x3dc1fc(0x323)](this[_0x3dc1fc(0x1b0)][_0x3dc1fc(0x27a)],this[_0x3dc1fc(0x1b0)]);}};Ot=Mr([mt(0x1,a[_0x519f42(0x3b4)](Le['SheetSkeletonManagerService'])),mt(0x2,a['Inject'](ye)),mt(0x3,a[_0x519f42(0x3b4)](a['ThemeService']))],Ot);function Ar(_0x28be99){const _0x30178f=_0x519f42,_0x43f420=new Map();return _0x28be99[_0x30178f(0x24a)](_0x5a4e5e=>{const _0x4eab20=_0x30178f;if(_0x43f420['has'](_0x5a4e5e[_0x4eab20(0x204)])){const _0x1bc386=_0x43f420[_0x4eab20(0x4a6)](_0x5a4e5e[_0x4eab20(0x204)]);_0x1bc386[_0x4eab20(0x3b2)]+=',\x20'+_0x5a4e5e['name'];}else _0x43f420[_0x4eab20(0x3e1)](_0x5a4e5e['selection'],_0x5a4e5e);}),Array[_0x30178f(0x3fe)](_0x43f420[_0x30178f(0x426)]());}var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x3199f0){const _0x4600ce=_0x519f42;return _0x3199f0&&_0x3199f0['__esModule']&&Object[_0x4600ce(0x4f9)][_0x4600ce(0x635)][_0x4600ce(0x3bb)](_0x3199f0,'default')?_0x3199f0[_0x4600ce(0x2f5)]:_0x3199f0;}var It={'exports':{}},Ue={},Xt;function Lr(){const _0x3918f1=_0x519f42;if(Xt)return Ue;Xt=0x1;var _0x1e058b=oe,_0x3f8bff=Symbol[_0x3918f1(0x436)](_0x3918f1(0x554)),_0x182691=Symbol[_0x3918f1(0x436)]('react.fragment'),_0x4b3a65=Object[_0x3918f1(0x4f9)][_0x3918f1(0x635)],_0x37073c=_0x1e058b['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x3918f1(0x440)],_0xbb50d0={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x1be254(_0x4cd2d1,_0x25097a,_0x36f614){const _0x428fc9=_0x3918f1;var _0x580b82,_0x1b01d4={},_0x2a40ca=null,_0x364133=null;_0x36f614!==void 0x0&&(_0x2a40ca=''+_0x36f614),_0x25097a['key']!==void 0x0&&(_0x2a40ca=''+_0x25097a['key']),_0x25097a['ref']!==void 0x0&&(_0x364133=_0x25097a[_0x428fc9(0x559)]);for(_0x580b82 in _0x25097a)_0x4b3a65[_0x428fc9(0x3bb)](_0x25097a,_0x580b82)&&!_0xbb50d0[_0x428fc9(0x635)](_0x580b82)&&(_0x1b01d4[_0x580b82]=_0x25097a[_0x580b82]);if(_0x4cd2d1&&_0x4cd2d1[_0x428fc9(0x5ab)]){for(_0x580b82 in(_0x25097a=_0x4cd2d1['defaultProps'],_0x25097a))_0x1b01d4[_0x580b82]===void 0x0&&(_0x1b01d4[_0x580b82]=_0x25097a[_0x580b82]);}return{'$$typeof':_0x3f8bff,'type':_0x4cd2d1,'key':_0x2a40ca,'ref':_0x364133,'props':_0x1b01d4,'_owner':_0x37073c[_0x428fc9(0x265)]};}return Ue[_0x3918f1(0x21d)]=_0x182691,Ue[_0x3918f1(0x640)]=_0x1be254,Ue[_0x3918f1(0x3cc)]=_0x1be254,Ue;}var Jt;function xr(){const _0x26ec94=_0x519f42;return Jt||(Jt=0x1,It[_0x26ec94(0x495)]=Lr()),It[_0x26ec94(0x495)];}var me=xr(),Q=function(){const _0x99e8e8=_0x519f42;return Q=Object[_0x99e8e8(0x38d)]||function(_0x375a85){const _0x211d21=_0x99e8e8;for(var _0x57be3f,_0x48a5e9=0x1,_0x2f48b5=arguments['length'];_0x48a5e9<_0x2f48b5;_0x48a5e9++){_0x57be3f=arguments[_0x48a5e9];for(var _0x2ea0d2 in _0x57be3f)Object['prototype'][_0x211d21(0x635)][_0x211d21(0x3bb)](_0x57be3f,_0x2ea0d2)&&(_0x375a85[_0x2ea0d2]=_0x57be3f[_0x2ea0d2]);}return _0x375a85;},Q['apply'](this,arguments);},$r=function(_0x4e2309,_0x1668a6){const _0x1f63ef=_0x519f42;var _0x41fdb2={};for(var _0xa4db5e in _0x4e2309)Object[_0x1f63ef(0x4f9)][_0x1f63ef(0x635)]['call'](_0x4e2309,_0xa4db5e)&&_0x1668a6[_0x1f63ef(0x61f)](_0xa4db5e)<0x0&&(_0x41fdb2[_0xa4db5e]=_0x4e2309[_0xa4db5e]);if(_0x4e2309!=null&&typeof Object[_0x1f63ef(0x5d7)]=='function'){for(var _0x4f30a9=0x0,_0xa4db5e=Object[_0x1f63ef(0x5d7)](_0x4e2309);_0x4f30a9<_0xa4db5e[_0x1f63ef(0x53a)];_0x4f30a9++)_0x1668a6['indexOf'](_0xa4db5e[_0x4f30a9])<0x0&&Object[_0x1f63ef(0x4f9)]['propertyIsEnumerable'][_0x1f63ef(0x3bb)](_0x4e2309,_0xa4db5e[_0x4f30a9])&&(_0x41fdb2[_0xa4db5e[_0x4f30a9]]=_0x4e2309[_0xa4db5e[_0x4f30a9]]);}return _0x41fdb2;},At=oe['forwardRef'](function(_0x565c54,_0x901de3){const _0x14abab=_0x519f42;var _0x30509a=_0x565c54[_0x14abab(0x557)],_0x40f082=_0x565c54['id'],_0x324bd4=_0x565c54[_0x14abab(0x58f)],_0x2693d5=_0x565c54[_0x14abab(0x5f5)],_0x3c451f=$r(_0x565c54,[_0x14abab(0x557),'id',_0x14abab(0x58f),_0x14abab(0x5f5)]),_0x112be6=_0x14abab(0x26a)[_0x14abab(0x538)](_0x40f082,'\x20')[_0x14abab(0x538)](_0x324bd4||'')[_0x14abab(0x2f4)](),_0x5634ab=oe[_0x14abab(0x1f0)]('_'[_0x14abab(0x538)](Br()));return Ni(_0x30509a,''[_0x14abab(0x538)](_0x40f082),{'defIds':_0x30509a[_0x14abab(0x5b9)],'idSuffix':_0x5634ab[_0x14abab(0x265)]},Q({'ref':_0x901de3,'className':_0x112be6},_0x3c451f),_0x2693d5);});function Ni(_0x2c71fa,_0x33041a,_0xf7150c,_0x1163eb,_0x5c8730){const _0x1d1db8=_0x519f42;return oe['createElement'](_0x2c71fa[_0x1d1db8(0x19d)],Q(Q({'key':_0x33041a},jr(_0x2c71fa,_0xf7150c,_0x5c8730)),_0x1163eb),(Hr(_0x2c71fa,_0xf7150c)['children']||[])[_0x1d1db8(0x444)](function(_0x249ed7,_0xc5ad79){const _0x28d47a=_0x1d1db8;return Ni(_0x249ed7,''['concat'](_0x33041a,'-')[_0x28d47a(0x538)](_0x2c71fa[_0x28d47a(0x19d)],'-')[_0x28d47a(0x538)](_0xc5ad79),_0xf7150c,void 0x0,_0x5c8730);}));}function jr(_0x5cd4b2,_0x19a98f,_0x4fbbb3){const _0x1e2f4b=_0x519f42;var _0x5d2d7=Q({},_0x5cd4b2[_0x1e2f4b(0x589)]);_0x4fbbb3!=null&&_0x4fbbb3[_0x1e2f4b(0x2a0)]&&_0x5d2d7[_0x1e2f4b(0x221)]===_0x1e2f4b(0x2a0)&&(_0x5d2d7[_0x1e2f4b(0x221)]=_0x4fbbb3[_0x1e2f4b(0x2a0)]);var _0x543074=_0x19a98f[_0x1e2f4b(0x5b9)];return!_0x543074||_0x543074[_0x1e2f4b(0x53a)]===0x0||(_0x5cd4b2[_0x1e2f4b(0x19d)]===_0x1e2f4b(0x2d5)&&_0x5d2d7[_0x1e2f4b(0x2e1)]&&(_0x5d2d7['xlink:href']=_0x5d2d7[_0x1e2f4b(0x2e1)]+_0x19a98f[_0x1e2f4b(0x521)]),Object[_0x1e2f4b(0x36d)](_0x5d2d7)['forEach'](function(_0x273c81){const _0xcd8f27=_0x1e2f4b;var _0x1e25a1=_0x273c81[0x0],_0x58814f=_0x273c81[0x1];typeof _0x58814f=='string'&&(_0x5d2d7[_0x1e25a1]=_0x58814f[_0xcd8f27(0x2e5)](/url\(#(.*)\)/,_0xcd8f27(0x21c)[_0xcd8f27(0x538)](_0x19a98f['idSuffix'],')')));})),_0x5d2d7;}function Hr(_0x54b4b1,_0x3c59c6){const _0x5a17f4=_0x519f42;var _0x56ded1,_0x50506f=_0x3c59c6[_0x5a17f4(0x5b9)];return!_0x50506f||_0x50506f[_0x5a17f4(0x53a)]===0x0?_0x54b4b1:_0x54b4b1['tag']===_0x5a17f4(0x1f3)&&(!((_0x56ded1=_0x54b4b1[_0x5a17f4(0x631)])===null||_0x56ded1===void 0x0)&&_0x56ded1[_0x5a17f4(0x53a)])?Q(Q({},_0x54b4b1),{'children':_0x54b4b1['children'][_0x5a17f4(0x444)](function(_0x5394a0){const _0x2a873b=_0x5a17f4;return typeof _0x5394a0['attrs']['id']==_0x2a873b(0x32b)&&_0x50506f&&_0x50506f['indexOf'](_0x5394a0[_0x2a873b(0x589)]['id'])>-0x1?Q(Q({},_0x5394a0),{'attrs':Q(Q({},_0x5394a0[_0x2a873b(0x589)]),{'id':_0x5394a0[_0x2a873b(0x589)]['id']+_0x3c59c6[_0x2a873b(0x521)]})}):_0x5394a0;})}):_0x54b4b1;}function Br(){const _0x136acf=_0x519f42;return Math['random']()[_0x136acf(0x1a0)](0x24)[_0x136acf(0x1d4)](0x2,0x8);}At['displayName']=_0x519f42(0x355);var kr={'tag':_0x519f42(0x5b8),'attrs':{'fill':_0x519f42(0x39e),'viewBox':_0x519f42(0x33c),'width':_0x519f42(0x63f),'height':_0x519f42(0x63f)},'children':[{'tag':'g','attrs':{'clipPath':_0x519f42(0x50a)},'children':[{'tag':'path','attrs':{'stroke':_0x519f42(0x3a8),'d':_0x519f42(0x583),'strokeLinecap':_0x519f42(0x54b),'strokeLinejoin':_0x519f42(0x54b),'strokeWidth':1.2}}]},{'tag':_0x519f42(0x1f3),'attrs':{},'children':[{'tag':_0x519f42(0x211),'attrs':{'id':_0x519f42(0x491)},'children':[{'tag':_0x519f42(0x2ba),'attrs':{'fill':_0x519f42(0x461),'d':_0x519f42(0x280)}}]}]}],'defIds':[_0x519f42(0x491)]},Ai=oe[_0x519f42(0x2b8)](function(_0x483e9a,_0x27191d){const _0xa96689=_0x519f42;return oe['createElement'](At,Object[_0xa96689(0x38d)]({},_0x483e9a,{'id':_0xa96689(0x5ec),'ref':_0x27191d,'icon':kr}));});Ai[_0x519f42(0x1cf)]=_0x519f42(0x55c);var Wr={'tag':_0x519f42(0x5b8),'attrs':{'fill':_0x519f42(0x39e),'viewBox':_0x519f42(0x5bb),'width':_0x519f42(0x63f),'height':_0x519f42(0x63f)},'children':[{'tag':'g','attrs':{'clipPath':_0x519f42(0x1dd)},'children':[{'tag':'path','attrs':{'stroke':_0x519f42(0x3a8),'d':_0x519f42(0x50f),'strokeLinecap':'round','strokeLinejoin':_0x519f42(0x54b),'strokeWidth':1.2}}]},{'tag':_0x519f42(0x1f3),'attrs':{},'children':[{'tag':_0x519f42(0x211),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x519f42(0x2ba),'attrs':{'fill':_0x519f42(0x461),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x519f42(0x2ed)]},Li=oe[_0x519f42(0x2b8)](function(_0x2eb0a5,_0x4d30){const _0x478786=_0x519f42;return oe[_0x478786(0x3b1)](At,Object[_0x478786(0x38d)]({},_0x2eb0a5,{'id':_0x478786(0x614),'ref':_0x4d30,'icon':Wr}));});Li[_0x519f42(0x1cf)]=_0x519f42(0x3eb);function xi(_0x195d2c){const _0x25e755=_0x519f42;var _0x579835,_0x202211,_0x354345='';if(typeof _0x195d2c==_0x25e755(0x32b)||typeof _0x195d2c=='number')_0x354345+=_0x195d2c;else{if(typeof _0x195d2c==_0x25e755(0x330)){if(Array[_0x25e755(0x5f2)](_0x195d2c)){var _0x480bbc=_0x195d2c['length'];for(_0x579835=0x0;_0x579835<_0x480bbc;_0x579835++)_0x195d2c[_0x579835]&&(_0x202211=xi(_0x195d2c[_0x579835]))&&(_0x354345&&(_0x354345+='\x20'),_0x354345+=_0x202211);}else{for(_0x202211 in _0x195d2c)_0x195d2c[_0x202211]&&(_0x354345&&(_0x354345+='\x20'),_0x354345+=_0x202211);}}}return _0x354345;}function Fr(){const _0x11dc77=_0x519f42;for(var _0x41f9d7,_0x25ab15,_0x124d2a=0x0,_0x4b9533='',_0x27cc67=arguments[_0x11dc77(0x53a)];_0x124d2a<_0x27cc67;_0x124d2a++)(_0x41f9d7=arguments[_0x124d2a])&&(_0x25ab15=xi(_0x41f9d7))&&(_0x4b9533&&(_0x4b9533+='\x20'),_0x4b9533+=_0x25ab15);return _0x4b9533;}const Vr='univer-online-status-icon',Gr=_0x519f42(0x52d),Yr='univer-online-status',qr='univer-online',Kr='univer-offline',Me={'onlineStatusIcon':Vr,'onlineStatusTitle':Gr,'onlineStatus':Yr,'online':qr,'offline':Kr};function zr(_0x300606){const _0x4ca153=_0x519f42;switch(_0x300606){case K['OFFLINE']:return _0x4ca153(0x2b4);case K['CONFLICT']:return _0x4ca153(0x2e0);case K['FETCH_MISS']:return _0x4ca153(0x493);case K[_0x4ca153(0x46c)]:return _0x4ca153(0x1dc);case K[_0x4ca153(0x57b)]:case K['AWAITING_WITH_PENDING']:return _0x4ca153(0x601);case K[_0x4ca153(0x445)]:case K[_0x4ca153(0x546)]:return _0x4ca153(0x256);}}function $i(_0x3cbf92){const _0x36bc59=_0x519f42,{status$:_0x936cba}=_0x3cbf92,_0x382de8=ee[_0x36bc59(0x46a)](_0x936cba,K[_0x36bc59(0x46c)]),_0x314899=a[_0x36bc59(0x336)](a[_0x36bc59(0x609)]),_0x856a7a=a[_0x36bc59(0x336)](exports[_0x36bc59(0x4ae)]),_0x2a2e28=_0x382de8!==K['OFFLINE'],_0x3fc099=_0x314899['t'](zr(_0x382de8)),_0x47e432=Fr(Me[_0x36bc59(0x59b)],{[Me[_0x36bc59(0x306)]]:_0x2a2e28,[Me['offline']]:!_0x2a2e28}),_0x367dc5=_0x2a2e28?me[_0x36bc59(0x640)](Li,{}):me['jsx'](Ai,{}),_0x5e7a28=oe['useCallback'](()=>{const _0x1bb0f1=_0x36bc59;_0x2a2e28||_0x856a7a[_0x1bb0f1(0x4cc)]();},[_0x2a2e28,_0x856a7a]);function _0x2988d8(){const _0x4106f3=_0x36bc59;return me[_0x4106f3(0x3cc)](_0x4106f3(0x4f2),{'className':_0x47e432,'onClick':_0x5e7a28,'children':[me['jsx'](_0x4106f3(0x4f2),{'className':Me['onlineStatusIcon'],'children':_0x367dc5}),me[_0x4106f3(0x640)](_0x4106f3(0x4f2),{'className':Me[_0x4106f3(0x224)],'children':_0x3fc099})]});}return _0x2a2e28?_0x2988d8():me[_0x36bc59(0x640)](Ce['Tooltip'],{'title':_0x314899['t'](_0x36bc59(0x1fc)),'children':_0x2988d8()});}var Xr=Object[_0x519f42(0x360)],Jr=Object[_0x519f42(0x544)],Zr=(_0x2810ae,_0x28555a,_0x291448,_0x7b9f21)=>{const _0x2c9fb6=_0x519f42;for(var _0x48afc9=_0x7b9f21>0x1?void 0x0:_0x7b9f21?Jr(_0x28555a,_0x291448):_0x28555a,_0xe80d8c=_0x2810ae[_0x2c9fb6(0x53a)]-0x1,_0x51c492;_0xe80d8c>=0x0;_0xe80d8c--)(_0x51c492=_0x2810ae[_0xe80d8c])&&(_0x48afc9=(_0x7b9f21?_0x51c492(_0x28555a,_0x291448,_0x48afc9):_0x51c492(_0x48afc9))||_0x48afc9);return _0x7b9f21&&_0x48afc9&&Xr(_0x28555a,_0x291448,_0x48afc9),_0x48afc9;},He=(_0x1ed809,_0x3052ab)=>(_0x36fc81,_0xfc937c)=>_0x3052ab(_0x36fc81,_0xfc937c,_0x1ed809);exports[_0x519f42(0x460)]=class extends a[_0x519f42(0x5f8)]{constructor(_0x414d02,_0x286e48,_0x14d8de,_0x218790){const _0x4e7426=_0x519f42;super(),I(this,_0x4e7426(0x646),new N[(_0x4e7426(0x46f))](K[_0x4e7426(0x46c)])),(this[_0x4e7426(0x403)]=_0x414d02,this[_0x4e7426(0x429)]=_0x286e48,this[_0x4e7426(0x590)]=_0x14d8de,this[_0x4e7426(0x22a)]=_0x218790,this[_0x4e7426(0x2fe)](),this[_0x4e7426(0x300)]());}['_initStatusListener'](){const _0xe818cf=_0x519f42;this['disposeWithMe'](this[_0xe818cf(0x403)][_0xe818cf(0x297)][_0xe818cf(0x641)](N['switchMap'](()=>{const _0x262a38=_0xe818cf,_0x4acbbd=this[_0x262a38(0x403)][_0x262a38(0x5a3)]();return _0x4acbbd?this['_collaborationController']['getCollabEntity$'](_0x4acbbd['getUnitId']()):N['of'](null);}),N['switchMap'](_0xd0aebb=>_0xd0aebb?_0xd0aebb[_0xe818cf(0x227)]:N['of'](K[_0xe818cf(0x46c)])))[_0xe818cf(0x1db)](_0x3ebed1=>{const _0x37e1a7=_0xe818cf;this[_0x37e1a7(0x646)][_0x37e1a7(0x213)](_0x3ebed1);}));}[_0x519f42(0x2fe)](){const _0x343126=_0x519f42;this[_0x343126(0x5db)](this[_0x343126(0x429)]['registerComponent'](ee[_0x343126(0x210)]['HEADER_MENU'],()=>a[_0x343126(0x5bd)](Qr({'status$':this['_status$'][_0x343126(0x20b)]()}),this[_0x343126(0x590)])));}},exports['DesktopCollaborationStatusDisplayController']=Zr([He(0x0,a[_0x519f42(0x4aa)]),He(0x1,ee[_0x519f42(0x626)]),He(0x2,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),He(0x3,a[_0x519f42(0x3b4)](exports['CollaborationController']))],exports[_0x519f42(0x460)]);function Qr(_0x41b282){const {status$:_0x5b45f6}=_0x41b282;return function(){const _0x548e26=_0x3f43;return me[_0x548e26(0x640)]($i,{'status$':_0x5b45f6});};}const Lt=a[_0x519f42(0x3c8)]('uni.network.url-service');var es=Object[_0x519f42(0x360)],ts=Object[_0x519f42(0x544)],is=(_0x53fc1e,_0x1b7686,_0x5b7922,_0x295cdd)=>{const _0x412685=_0x519f42;for(var _0x48b24b=_0x295cdd>0x1?void 0x0:_0x295cdd?ts(_0x1b7686,_0x5b7922):_0x1b7686,_0x27113c=_0x53fc1e[_0x412685(0x53a)]-0x1,_0x4287c1;_0x27113c>=0x0;_0x27113c--)(_0x4287c1=_0x53fc1e[_0x27113c])&&(_0x48b24b=(_0x295cdd?_0x4287c1(_0x1b7686,_0x5b7922,_0x48b24b):_0x4287c1(_0x48b24b))||_0x48b24b);return _0x295cdd&&_0x48b24b&&es(_0x1b7686,_0x5b7922,_0x48b24b),_0x48b24b;},Re=(_0x41c702,_0x29ab19)=>(_0x3113f4,_0x18af75)=>_0x29ab19(_0x3113f4,_0x18af75,_0x41c702);exports[_0x519f42(0x31e)]=class extends a[_0x519f42(0x275)]{constructor(_0x35dbf9,_0x89cf15,_0x1d2cb2,_0x204bda,_0x2eff44,_0x335fb3){const _0x279e68=_0x519f42;super(),this[_0x279e68(0x3da)]=_0x35dbf9,this[_0x279e68(0x392)]=_0x89cf15,this['_commandService']=_0x1d2cb2,this[_0x279e68(0x5ca)]=_0x204bda,this[_0x279e68(0x608)]=_0x2eff44,_0x335fb3?_0x335fb3==null||_0x335fb3[_0x279e68(0x246)]()[_0x279e68(0x5b5)](()=>this[_0x279e68(0x3b9)]()):(this[_0x279e68(0x392)][_0x279e68(0x408)](_0x279e68(0x2b5),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x279e68(0x3b9)]());}async[_0x519f42(0x3b9)](){const _0x3650da=_0x519f42,_0x4a0e42=this[_0x3650da(0x3da)][_0x3650da(0x245)]('unit'),_0x2a3c56=this['_urlService'][_0x3650da(0x245)](_0x3650da(0x1d1));if(!_0x4a0e42||!_0x2a3c56){this[_0x3650da(0x392)][_0x3650da(0x408)](_0x3650da(0x2b5),_0x3650da(0x4cb));return;}switch(Number(_0x2a3c56)){case ie[_0x3650da(0x248)]:{const _0x5357c7=await this['_loadSheet'](_0x4a0e42);this[_0x3650da(0x3ee)](_0x5357c7);break;}case ie['UNIVER_DOC']:{await this[_0x3650da(0x62d)](_0x4a0e42);break;}default:{this[_0x3650da(0x392)][_0x3650da(0x1d8)]('[DataLoaderController]',_0x3650da(0x3f2));break;}}}async[_0x519f42(0x3ee)](_0x541e43){const _0xe19932=_0x519f42;await this['_updateSubUnitFromURLParams'](_0x541e43),_0x541e43['activeSheet$'][_0xe19932(0x641)](N[_0xe19932(0x1e9)](this['dispose$']))[_0xe19932(0x1db)](_0x28331c=>{_0x28331c&&this['_updateURLWithCurrentState'](_0x28331c);}),this[_0xe19932(0x3da)][_0xe19932(0x513)][_0xe19932(0x641)](N[_0xe19932(0x1e9)](this[_0xe19932(0x191)]))[_0xe19932(0x1db)](()=>this[_0xe19932(0x1cc)](_0x541e43));}[_0x519f42(0x5af)](_0x3f40c2,_0x84e618=!0x1){const _0x47df1b=_0x519f42,_0x218570=this[_0x47df1b(0x3da)]['getParam']('subunit');_0x3f40c2[_0x47df1b(0x584)]()!==_0x218570&&this['_urlService']['setParam']('subunit',_0x3f40c2[_0x47df1b(0x584)](),_0x84e618);}async['_updateSubUnitFromURLParams'](_0x2b0cbf){const _0x413696=_0x519f42;var _0x325c93;const _0x373fd8=this['_urlService'][_0x413696(0x245)](_0x413696(0x594));if(!_0x373fd8||!_0x2b0cbf[_0x413696(0x54d)](_0x373fd8)){const _0x311104=_0x2b0cbf[_0x413696(0x3bf)]()[0x0],_0x46d541=_0x2b0cbf[_0x413696(0x54d)](_0x311104);if(!_0x46d541)return;this['_updateURLWithCurrentState'](_0x46d541,!0x0),await this[_0x413696(0x636)][_0x413696(0x237)](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x2b0cbf[_0x413696(0x238)](),'subUnitId':_0x311104});return;}((_0x325c93=_0x2b0cbf[_0x413696(0x5fc)]())==null?void 0x0:_0x325c93[_0x413696(0x584)]())!==_0x373fd8&&await this[_0x413696(0x636)][_0x413696(0x237)](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x2b0cbf[_0x413696(0x238)](),'subUnitId':_0x373fd8});}async[_0x519f42(0x44b)](_0x2929b9){const _0x38e478=_0x519f42;let _0x31fe65=0x0;const _0x4ff6c5=await this[_0x38e478(0x5ca)][_0x38e478(0x39f)](_0x2929b9);return _0x4ff6c5&&(_0x4ff6c5[_0x38e478(0x3c5)]||_0x4ff6c5['mutations'][_0x38e478(0x53a)]!==0x0)&&(_0x31fe65=_0x4ff6c5[_0x38e478(0x2bf)]),_0x31fe65===0x0&&this[_0x38e478(0x392)][_0x38e478(0x408)]('[DataLoaderController]',_0x38e478(0x555)),this[_0x38e478(0x608)][_0x38e478(0x4e8)](_0x2929b9,_0x31fe65);}async[_0x519f42(0x62d)](_0x1ee49f){const _0x5184ec=_0x519f42;let _0x3da6dc=0x0;const _0x3594c3=await this[_0x5184ec(0x5ca)][_0x5184ec(0x39f)](_0x1ee49f);return _0x3594c3&&(_0x3594c3[_0x5184ec(0x3c5)]||_0x3594c3[_0x5184ec(0x4af)]['length']!==0x0)&&(_0x3da6dc=_0x3594c3[_0x5184ec(0x2bf)]),_0x3da6dc===0x0&&this[_0x5184ec(0x392)][_0x5184ec(0x408)](_0x5184ec(0x2b5),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x5184ec(0x418)](_0x1ee49f,_0x3da6dc);}},exports['DataLoaderController']=is([Re(0x0,Lt),Re(0x1,a['ILogService']),Re(0x2,a[_0x519f42(0x3e8)]),Re(0x3,a[_0x519f42(0x3b4)](exports[_0x519f42(0x467)])),Re(0x4,a[_0x519f42(0x3b4)](m[_0x519f42(0x19b)])),Re(0x5,a['Optional'](Yi[_0x519f42(0x5e2)]))],exports[_0x519f42(0x31e)]);var ns=Object[_0x519f42(0x360)],rs=Object[_0x519f42(0x544)],ss=(_0x27deeb,_0x8de378,_0x425cbe,_0x313947)=>{const _0x459a70=_0x519f42;for(var _0x2e21dd=_0x313947>0x1?void 0x0:_0x313947?rs(_0x8de378,_0x425cbe):_0x8de378,_0x33cd6d=_0x27deeb[_0x459a70(0x53a)]-0x1,_0x1cfb22;_0x33cd6d>=0x0;_0x33cd6d--)(_0x1cfb22=_0x27deeb[_0x33cd6d])&&(_0x2e21dd=(_0x313947?_0x1cfb22(_0x8de378,_0x425cbe,_0x2e21dd):_0x1cfb22(_0x2e21dd))||_0x2e21dd);return _0x313947&&_0x2e21dd&&ns(_0x8de378,_0x425cbe,_0x2e21dd),_0x2e21dd;},Zt=(_0x2bbc7d,_0x3f31d7)=>(_0x56fcbe,_0x19c9dd)=>_0x3f31d7(_0x56fcbe,_0x19c9dd,_0x2bbc7d);const os=_0x519f42(0x298),as=_0x519f42(0x25a);let nt=class extends a['Disposable']{constructor(_0x1b8583,_0x37916c){const _0x110f8b=_0x519f42;super(),this[_0x110f8b(0x403)]=_0x1b8583,this[_0x110f8b(0x193)]=_0x37916c,this['_init']();}[_0x519f42(0x3b9)](){const _0x49e20c=_0x519f42;this[_0x49e20c(0x5db)](this['_univerInstanceService']['focused$'][_0x49e20c(0x1db)](()=>{const _0x450fd3=_0x49e20c;var _0x33618b;const _0x175354=this['_univerInstanceService']['getFocusedUnit']();let _0xca98d7=(_0x33618b=this[_0x450fd3(0x193)][_0x450fd3(0x4ba)](os))!=null?_0x33618b:as;_0x175354 instanceof a[_0x450fd3(0x3aa)]&&(_0xca98d7=_0x175354['name']),document[_0x450fd3(0x5e1)]=_0xca98d7;}));}};nt=ss([Zt(0x0,a[_0x519f42(0x4aa)]),Zt(0x1,a['IConfigService'])],nt);var cs=Object[_0x519f42(0x360)],ls=Object[_0x519f42(0x544)],hs=(_0x18f101,_0x19f9b7,_0x13b303,_0x31ede1)=>{const _0x558c25=_0x519f42;for(var _0x40a765=_0x31ede1>0x1?void 0x0:_0x31ede1?ls(_0x19f9b7,_0x13b303):_0x19f9b7,_0x27c7cb=_0x18f101[_0x558c25(0x53a)]-0x1,_0x1615c0;_0x27c7cb>=0x0;_0x27c7cb--)(_0x1615c0=_0x18f101[_0x27c7cb])&&(_0x40a765=(_0x31ede1?_0x1615c0(_0x19f9b7,_0x13b303,_0x40a765):_0x1615c0(_0x40a765))||_0x40a765);return _0x31ede1&&_0x40a765&&cs(_0x19f9b7,_0x13b303,_0x40a765),_0x40a765;},Ct=(_0x1232ce,_0x5173a0)=>(_0x5e09cc,_0x1473c5)=>_0x5173a0(_0x5e09cc,_0x1473c5,_0x1232ce);let rt=class{constructor(_0x4b972b,_0x28bc7c,_0x55c9eb){const _0x1eee9d=_0x519f42;this[_0x1eee9d(0x193)]=_0x4b972b,this[_0x1eee9d(0x2a1)]=_0x28bc7c,this[_0x1eee9d(0x439)]=_0x55c9eb,this[_0x1eee9d(0x1fe)]();}[_0x519f42(0x1fe)](){const _0x160735=_0x519f42;this[_0x160735(0x2a1)][_0x160735(0x5a0)]({'priority':0x1,'interceptor':(_0x543882,_0x33c035)=>_0x33c035(_0x543882)[_0x160735(0x641)](N[_0x160735(0x4b7)](async _0x12d9b0=>{const _0x5f4462=_0x160735,_0x55fbef=_0x12d9b0;if(_0x55fbef[_0x5f4462(0x32e)]===0x191&&window[_0x5f4462(0x1eb)](this[_0x5f4462(0x439)]['t']('auth.needGotoLoginAlert'))){const _0x3d7f30=window[_0x5f4462(0x320)](window[_0x5f4462(0x376)]['href']);window[_0x5f4462(0x376)][_0x5f4462(0x1c8)]=this[_0x5f4462(0x47e)]()+_0x5f4462(0x4a2)+_0x3d7f30;}return _0x55fbef;}))});}[_0x519f42(0x47e)](){const _0x5564a1=_0x519f42;var _0x479c19,_0x34d63c;const _0x530910=this[_0x5564a1(0x193)][_0x5564a1(0x4ba)](Ei),_0x353aa9=this['_configService'][_0x5564a1(0x4ba)](Z);return(_0x34d63c=(_0x479c19=_0x353aa9==null?void 0x0:_0x353aa9[_0x5564a1(0x34c)])!=null?_0x479c19:_0x530910)!=null?_0x34d63c:rn;}};rt=hs([Ct(0x0,a[_0x519f42(0x4e5)]),Ct(0x1,a[_0x519f42(0x3b4)](z[_0x519f42(0x623)])),Ct(0x2,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)]))],rt);var _s=Object[_0x519f42(0x360)],us=Object[_0x519f42(0x544)],ds=(_0x5d21ed,_0x5194ce,_0x3fe71a,_0x4f2c32)=>{const _0x2bfc64=_0x519f42;for(var _0xf4571c=_0x4f2c32>0x1?void 0x0:_0x4f2c32?us(_0x5194ce,_0x3fe71a):_0x5194ce,_0x43b2d6=_0x5d21ed[_0x2bfc64(0x53a)]-0x1,_0x210c74;_0x43b2d6>=0x0;_0x43b2d6--)(_0x210c74=_0x5d21ed[_0x43b2d6])&&(_0xf4571c=(_0x4f2c32?_0x210c74(_0x5194ce,_0x3fe71a,_0xf4571c):_0x210c74(_0xf4571c))||_0xf4571c);return _0x4f2c32&&_0xf4571c&&_s(_0x5194ce,_0x3fe71a,_0xf4571c),_0xf4571c;},Qt=(_0x16b18f,_0x2aacee)=>(_0x300ea5,_0xcb078b)=>_0x2aacee(_0x300ea5,_0xcb078b,_0x16b18f);const xt='AUTHZ_URL_KEY',fs=_0x519f42(0x343);exports['AuthzIoHttpService']=class extends a[_0x519f42(0x5f8)]{constructor(_0x270e95,_0x2d82d5){const _0x18cf60=_0x519f42;super(),this[_0x18cf60(0x51d)]=_0x270e95,this[_0x18cf60(0x193)]=_0x2d82d5,this[_0x18cf60(0x4ca)]();}[_0x519f42(0x4ca)](){const _0x5068c8=_0x519f42,_0xefd581=this;this[_0x5068c8(0x5db)](this['_HTTPService'][_0x5068c8(0x5a0)]({'priority':0x3e7,'interceptor':z['MergeInterceptorFactory']({'isMatch'(_0x454bb7){const _0x3cc046=_0x5068c8;var _0x27eaa2;if(_0x454bb7['method']===_0x3cc046(0x18b)&&((_0x27eaa2=_0x454bb7[_0x3cc046(0x1f1)])!=null&&_0x27eaa2[_0x3cc046(0x32d)])){const {objectID:_0x41b162,objectType:_0xfa3790}=_0x454bb7[_0x3cc046(0x1f1)][_0x3cc046(0x32d)]||{};if(!_0x41b162||_0xfa3790===void 0x0)return!0x1;const _0x46a97b=_0xefd581[_0x3cc046(0x394)]()+'/'+_0xfa3790+_0x3cc046(0x638)+_0x41b162+_0x3cc046(0x3fa);if(_0x454bb7[_0x3cc046(0x188)]===_0x46a97b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x249c1a){const _0x4291c6=_0x5068c8;var _0x3ef3c0;return(_0x3ef3c0=_0x249c1a[_0x4291c6(0x1f1)])==null?void 0x0:_0x3ef3c0[_0x4291c6(0x32d)];},'mergeParamsToRequest'(_0x3ae2e4,_0x539b46){const _0x5ac735=_0x5068c8,_0x2273ac=_0xefd581[_0x5ac735(0x394)]()+_0x5ac735(0x4d3),_0x3c16b5=_0x3ae2e4[_0x5ac735(0x19e)]((_0x5ef0cb,_0x3f4e4f)=>{const _0xacc92a=_0x5ac735,{unitID:_0x5e2737,objectID:_0x15e36f,objectType:_0x5067f0,actions:_0x30ad8c}=_0x3f4e4f;return _0x5ef0cb[_0x5e2737]||(_0x5ef0cb[_0x5e2737]={}),_0x5ef0cb[_0x5e2737][_0x15e36f]||(_0x5ef0cb[_0x5e2737][_0x15e36f]={'objectID':_0x15e36f,'objectType':_0x5067f0,'actions':[]}),_0x5ef0cb[_0x5e2737][_0x15e36f]['actions'][_0xacc92a(0x205)](..._0x30ad8c),_0x5ef0cb;},{}),_0x1423df=[];for(const _0x2e2e8e in _0x3c16b5)for(const _0x3f3c57 in _0x3c16b5[_0x2e2e8e]){const {actions:_0x507669,objectType:_0x1de081}=_0x3c16b5[_0x2e2e8e][_0x3f3c57],_0x32d47a=[...new Set(_0x507669)];_0x1423df['push']({'unitID':_0x2e2e8e,'objectID':_0x3f3c57,'objectType':_0x1de081,'actions':_0x32d47a});}return new z[(_0x5ac735(0x5a8))]('POST',_0x2273ac,{'headers':_0x539b46[_0x5ac735(0x1e7)],'withCredentials':_0x539b46['withCredentials'],'responseType':_0x539b46[_0x5ac735(0x3f6)],'body':{'requests':_0x1423df}});}},{'distributeResult'(_0x588b3a,_0x3b2e65){const _0x3d4434=_0x5068c8,{objectActions:_0x41b214}=_0x588b3a;return _0x3b2e65[_0x3d4434(0x444)](_0x2dca07=>{const _0x183a31=_0x3d4434,{unitID:_0x4321f7,objectID:_0x308feb,actions:_0xfe9426}=_0x2dca07,_0x1fbc88=_0x41b214['find'](_0x5d4660=>_0x5d4660[_0x183a31(0x57d)]===_0x4321f7&&_0x5d4660[_0x183a31(0x291)]===_0x308feb),_0x909505=_0xfe9426['map'](_0x36ed3a=>_0x1fbc88==null?void 0x0:_0x1fbc88[_0x183a31(0x36a)]['find'](_0x3cbc43=>_0x3cbc43[_0x183a31(0x2a7)]===_0x36ed3a))[_0x183a31(0x1ae)](_0x319971=>!!_0x319971);return{'config':_0x2dca07,'result':{'actions':_0x909505,'error':_0x588b3a[_0x183a31(0x1d8)]}};});}})}));}[_0x519f42(0x394)](){const _0x15daca=_0x519f42;var _0x52605b,_0x26b543;const _0x35e210=this[_0x15daca(0x193)]['getConfig'](xt),_0x5c2254=this['_configService']['getConfig'](Z);return(_0x26b543=(_0x52605b=_0x5c2254==null?void 0x0:_0x5c2254[_0x15daca(0x511)])!=null?_0x52605b:_0x35e210)!=null?_0x26b543:fs;}async['create'](_0x8da8f){const _0x2754e7=_0x519f42,_0x303c84=this['_getAPIPrefixPath']()+'/'+_0x8da8f[_0x2754e7(0x28e)]+_0x2754e7(0x4b1);return(await this[_0x2754e7(0x51d)][_0x2754e7(0x627)](_0x303c84,{'body':_0x8da8f}))[_0x2754e7(0x32d)]['objectID']||'';}async[_0x519f42(0x2af)](_0x4f982a){const _0x45af27=_0x519f42,_0x20dc30=this[_0x45af27(0x394)]()+_0x45af27(0x51a);return(await this[_0x45af27(0x51d)][_0x45af27(0x627)](_0x20dc30,{'body':_0x4f982a}))[_0x45af27(0x32d)]['objects'];}async[_0x519f42(0x182)](_0x5d3552){const _0x4eb303=_0x519f42,_0xbf106f=this[_0x4eb303(0x394)]()+'/'+_0x5d3552[_0x4eb303(0x28e)]+'/object/'+_0x5d3552[_0x4eb303(0x291)];await this[_0x4eb303(0x51d)][_0x4eb303(0x233)](_0xbf106f,{'body':_0x5d3552});}async[_0x519f42(0x2a2)](_0x42b85c){const _0x5d8872=_0x519f42,_0x766108=this['_getAPIPrefixPath']()+'/'+_0x42b85c['objectType']+_0x5d8872(0x638)+_0x42b85c[_0x5d8872(0x291)]+_0x5d8872(0x3fa);return(await this['_HTTPService'][_0x5d8872(0x627)](_0x766108,{'body':_0x42b85c}))[_0x5d8872(0x32d)][_0x5d8872(0x36a)];}async[_0x519f42(0x405)](_0x24a7cd){const _0x254f95=_0x519f42,_0x4dbea8=this[_0x254f95(0x394)]()+_0x254f95(0x4d3);return(await this['_HTTPService'][_0x254f95(0x627)](_0x4dbea8,{'body':{'requests':_0x24a7cd}}))[_0x254f95(0x32d)][_0x254f95(0x39a)];}async['listRoles'](_0x1fd5b1){const _0x3f423e=_0x519f42,_0x19d413=this[_0x3f423e(0x394)]()+'/'+_0x1fd5b1[_0x3f423e(0x28e)]+_0x3f423e(0x326),_0x300d56=await this['_HTTPService'][_0x3f423e(0x627)](_0x19d413,{'body':_0x1fd5b1});return{'roles':_0x300d56[_0x3f423e(0x32d)]['roles'],'actions':_0x300d56[_0x3f423e(0x32d)][_0x3f423e(0x36a)]};}async[_0x519f42(0x470)](_0x1aa344){const _0x2b2746=_0x519f42,_0x442d55=this[_0x2b2746(0x394)]()+_0x2b2746(0x3f3);await this[_0x2b2746(0x51d)][_0x2b2746(0x203)](_0x442d55,{'params':{'collaboratorID':_0x1aa344[_0x2b2746(0x206)],'objectID':_0x1aa344['objectID'],'unitID':_0x1aa344['unitID']}});}async[_0x519f42(0x2df)](_0x209e34){const _0x40cb1c=_0x519f42,_0xc68856=this[_0x40cb1c(0x394)]()+_0x40cb1c(0x3f3);await this[_0x40cb1c(0x51d)][_0x40cb1c(0x2c0)](_0xc68856,{'body':_0x209e34});}async[_0x519f42(0x190)](_0xf0b0f){const _0x460779=_0x519f42,_0x59d11f=this[_0x460779(0x394)]()+_0x460779(0x3f3);await this[_0x460779(0x51d)][_0x460779(0x627)](_0x59d11f,{'body':_0xf0b0f});}async[_0x519f42(0x1ba)](_0x56c16e){const _0x3cb44d=_0x519f42,_0x35cd90=this['_getAPIPrefixPath']()+_0x3cb44d(0x3f3);return(await this[_0x3cb44d(0x51d)][_0x3cb44d(0x4a6)](_0x35cd90,{'params':{'objectID':_0x56c16e[_0x3cb44d(0x291)],'unitID':_0x56c16e[_0x3cb44d(0x57d)]}}))[_0x3cb44d(0x32d)]['collaborators'];}async[_0x519f42(0x2ab)](_0x50281f){const _0x3584e7=_0x519f42,_0x3cde89=this['_getAPIPrefixPath']()+_0x3584e7(0x3f3);await this[_0x3584e7(0x51d)][_0x3584e7(0x233)](_0x3cde89,{'body':_0x50281f});}},exports['AuthzIoHttpService']=ds([Qt(0x0,a['Inject'](z[_0x519f42(0x623)])),Qt(0x1,a[_0x519f42(0x3b4)](a[_0x519f42(0x4e5)]))],exports['AuthzIoHttpService']);var ke={'exports':{}};function vs(_0x1dfa36){const _0x3e2ef5=_0x519f42;throw new Error(_0x3e2ef5(0x4c1)+_0x1dfa36+_0x3e2ef5(0x2f8));}var We={'exports':{}},Ss=We[_0x519f42(0x495)],ei;function se(){return ei||(ei=0x1,function(_0x3e047b,_0x5a2e45){(function(_0x2e40fc,_0x5b4d83){const _0xce0120=_0x3f43;_0x3e047b[_0xce0120(0x495)]=_0x5b4d83();}(Ss,function(){var _0x1421a5=_0x1421a5||function(_0x463c74,_0xb8b36e){const _0x2c08fa=_0x3f43;var _0x2604f5;if(typeof window<'u'&&window['crypto']&&(_0x2604f5=window[_0x2c08fa(0x5b4)]),typeof self<'u'&&self[_0x2c08fa(0x5b4)]&&(_0x2604f5=self[_0x2c08fa(0x5b4)]),typeof globalThis<'u'&&globalThis[_0x2c08fa(0x5b4)]&&(_0x2604f5=globalThis[_0x2c08fa(0x5b4)]),!_0x2604f5&&typeof window<'u'&&window[_0x2c08fa(0x45c)]&&(_0x2604f5=window['msCrypto']),!_0x2604f5&&typeof gt<'u'&>[_0x2c08fa(0x5b4)]&&(_0x2604f5=gt[_0x2c08fa(0x5b4)]),!_0x2604f5&&typeof vs==_0x2c08fa(0x4c7))try{_0x2604f5=require(_0x2c08fa(0x5b4));}catch{}var _0x5b9b29=function(){const _0x26bb42=_0x2c08fa;if(_0x2604f5){if(typeof _0x2604f5[_0x26bb42(0x267)]=='function')try{return _0x2604f5[_0x26bb42(0x267)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2604f5[_0x26bb42(0x48e)]==_0x26bb42(0x4c7))try{return _0x2604f5[_0x26bb42(0x48e)](0x4)[_0x26bb42(0x4d0)]();}catch{}}throw new Error(_0x26bb42(0x313));},_0x144121=Object[_0x2c08fa(0x282)]||(function(){function _0x1e5446(){}return function(_0x9f29fb){const _0x541c80=_0x3f43;var _0x30a3aa;return _0x1e5446[_0x541c80(0x4f9)]=_0x9f29fb,_0x30a3aa=new _0x1e5446(),_0x1e5446[_0x541c80(0x4f9)]=null,_0x30a3aa;};}()),_0x49e38f={},_0x59d7cf=_0x49e38f[_0x2c08fa(0x3d6)]={},_0x3f2439=_0x59d7cf['Base']=(function(){return{'extend':function(_0x1e0cb8){const _0x190635=_0x3f43;var _0x57b00f=_0x144121(this);return _0x1e0cb8&&_0x57b00f[_0x190635(0x391)](_0x1e0cb8),(!_0x57b00f[_0x190635(0x635)](_0x190635(0x1fe))||this[_0x190635(0x1fe)]===_0x57b00f[_0x190635(0x1fe)])&&(_0x57b00f[_0x190635(0x1fe)]=function(){const _0x31665a=_0x190635;_0x57b00f[_0x31665a(0x528)][_0x31665a(0x1fe)][_0x31665a(0x52e)](this,arguments);}),_0x57b00f['init'][_0x190635(0x4f9)]=_0x57b00f,_0x57b00f[_0x190635(0x528)]=this,_0x57b00f;},'create':function(){const _0x301552=_0x3f43;var _0x5c9f7c=this['extend']();return _0x5c9f7c[_0x301552(0x1fe)]['apply'](_0x5c9f7c,arguments),_0x5c9f7c;},'init':function(){},'mixIn':function(_0x98516b){const _0x33c5ae=_0x3f43;for(var _0x1a7f22 in _0x98516b)_0x98516b[_0x33c5ae(0x635)](_0x1a7f22)&&(this[_0x1a7f22]=_0x98516b[_0x1a7f22]);_0x98516b[_0x33c5ae(0x635)](_0x33c5ae(0x1a0))&&(this[_0x33c5ae(0x1a0)]=_0x98516b['toString']);},'clone':function(){const _0x341426=_0x3f43;return this[_0x341426(0x1fe)][_0x341426(0x4f9)][_0x341426(0x5f5)](this);}};}()),_0x431463=_0x59d7cf[_0x2c08fa(0x17b)]=_0x3f2439[_0x2c08fa(0x5f5)]({'init':function(_0x173e38,_0x1377d9){const _0x559763=_0x2c08fa;_0x173e38=this[_0x559763(0x1b9)]=_0x173e38||[],_0x1377d9!=_0xb8b36e?this['sigBytes']=_0x1377d9:this[_0x559763(0x386)]=_0x173e38[_0x559763(0x53a)]*0x4;},'toString':function(_0x251f81){const _0x20b1f1=_0x2c08fa;return(_0x251f81||_0x7a5017)[_0x20b1f1(0x648)](this);},'concat':function(_0x3e4706){const _0x373ff7=_0x2c08fa;var _0x32c4e0=this[_0x373ff7(0x1b9)],_0x5f3118=_0x3e4706[_0x373ff7(0x1b9)],_0x3daa64=this[_0x373ff7(0x386)],_0x263683=_0x3e4706[_0x373ff7(0x386)];if(this[_0x373ff7(0x5d4)](),_0x3daa64%0x4)for(var _0x5e8fab=0x0;_0x5e8fab<_0x263683;_0x5e8fab++){var _0x1eb8e0=_0x5f3118[_0x5e8fab>>>0x2]>>>0x18-_0x5e8fab%0x4*0x8&0xff;_0x32c4e0[_0x3daa64+_0x5e8fab>>>0x2]|=_0x1eb8e0<<0x18-(_0x3daa64+_0x5e8fab)%0x4*0x8;}else{for(var _0x21e1f0=0x0;_0x21e1f0<_0x263683;_0x21e1f0+=0x4)_0x32c4e0[_0x3daa64+_0x21e1f0>>>0x2]=_0x5f3118[_0x21e1f0>>>0x2];}return this[_0x373ff7(0x386)]+=_0x263683,this;},'clamp':function(){const _0x43c153=_0x2c08fa;var _0x18f8aa=this['words'],_0x476040=this['sigBytes'];_0x18f8aa[_0x476040>>>0x2]&=0xffffffff<<0x20-_0x476040%0x4*0x8,_0x18f8aa[_0x43c153(0x53a)]=_0x463c74[_0x43c153(0x4cf)](_0x476040/0x4);},'clone':function(){const _0x153763=_0x2c08fa;var _0xcd1d41=_0x3f2439[_0x153763(0x1ce)][_0x153763(0x3bb)](this);return _0xcd1d41[_0x153763(0x1b9)]=this[_0x153763(0x1b9)][_0x153763(0x428)](0x0),_0xcd1d41;},'random':function(_0x456537){for(var _0x853e4=[],_0x7b02a2=0x0;_0x7b02a2<_0x456537;_0x7b02a2+=0x4)_0x853e4['push'](_0x5b9b29());return new _0x431463['init'](_0x853e4,_0x456537);}}),_0x18e92d=_0x49e38f[_0x2c08fa(0x333)]={},_0x7a5017=_0x18e92d[_0x2c08fa(0x1e4)]={'stringify':function(_0xeaea1b){const _0x4436f8=_0x2c08fa;for(var _0x46fb91=_0xeaea1b[_0x4436f8(0x1b9)],_0x74fd90=_0xeaea1b[_0x4436f8(0x386)],_0x153cfc=[],_0x57f073=0x0;_0x57f073<_0x74fd90;_0x57f073++){var _0x5b0634=_0x46fb91[_0x57f073>>>0x2]>>>0x18-_0x57f073%0x4*0x8&0xff;_0x153cfc[_0x4436f8(0x205)]((_0x5b0634>>>0x4)['toString'](0x10)),_0x153cfc[_0x4436f8(0x205)]((_0x5b0634&0xf)['toString'](0x10));}return _0x153cfc[_0x4436f8(0x3b7)]('');},'parse':function(_0x170a98){const _0x484d58=_0x2c08fa;for(var _0x17a486=_0x170a98[_0x484d58(0x53a)],_0x53dc7e=[],_0x49ada1=0x0;_0x49ada1<_0x17a486;_0x49ada1+=0x2)_0x53dc7e[_0x49ada1>>>0x3]|=parseInt(_0x170a98['substr'](_0x49ada1,0x2),0x10)<<0x18-_0x49ada1%0x8*0x4;return new _0x431463[(_0x484d58(0x1fe))](_0x53dc7e,_0x17a486/0x2);}},_0x3a3901=_0x18e92d[_0x2c08fa(0x2f7)]={'stringify':function(_0x501cfd){const _0x323852=_0x2c08fa;for(var _0x41242a=_0x501cfd[_0x323852(0x1b9)],_0x185dcf=_0x501cfd['sigBytes'],_0x31c857=[],_0x668c8c=0x0;_0x668c8c<_0x185dcf;_0x668c8c++){var _0x4c5470=_0x41242a[_0x668c8c>>>0x2]>>>0x18-_0x668c8c%0x4*0x8&0xff;_0x31c857[_0x323852(0x205)](String[_0x323852(0x63c)](_0x4c5470));}return _0x31c857[_0x323852(0x3b7)]('');},'parse':function(_0x4de2d2){const _0x198dc5=_0x2c08fa;for(var _0xb2415c=_0x4de2d2[_0x198dc5(0x53a)],_0x760ad7=[],_0x1c3c9d=0x0;_0x1c3c9d<_0xb2415c;_0x1c3c9d++)_0x760ad7[_0x1c3c9d>>>0x2]|=(_0x4de2d2[_0x198dc5(0x1fa)](_0x1c3c9d)&0xff)<<0x18-_0x1c3c9d%0x4*0x8;return new _0x431463[(_0x198dc5(0x1fe))](_0x760ad7,_0xb2415c);}},_0x40dc1e=_0x18e92d[_0x2c08fa(0x4a5)]={'stringify':function(_0x11b130){try{return decodeURIComponent(escape(_0x3a3901['stringify'](_0x11b130)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2fe7b6){const _0xa127ae=_0x2c08fa;return _0x3a3901[_0xa127ae(0x2f6)](unescape(encodeURIComponent(_0x2fe7b6)));}},_0x15cbe3=_0x59d7cf['BufferedBlockAlgorithm']=_0x3f2439['extend']({'reset':function(){const _0x3a5e50=_0x2c08fa;this['_data']=new _0x431463[(_0x3a5e50(0x1fe))](),this[_0x3a5e50(0x2c4)]=0x0;},'_append':function(_0x57de23){const _0x569f01=_0x2c08fa;typeof _0x57de23==_0x569f01(0x32b)&&(_0x57de23=_0x40dc1e[_0x569f01(0x2f6)](_0x57de23)),this[_0x569f01(0x5f3)][_0x569f01(0x538)](_0x57de23),this[_0x569f01(0x2c4)]+=_0x57de23['sigBytes'];},'_process':function(_0x1d52c7){const _0x21e8ca=_0x2c08fa;var _0x363be1,_0x525e6e=this['_data'],_0x7682fa=_0x525e6e[_0x21e8ca(0x1b9)],_0x5ac095=_0x525e6e[_0x21e8ca(0x386)],_0x2e05e1=this[_0x21e8ca(0x337)],_0x26221d=_0x2e05e1*0x4,_0x3b8cae=_0x5ac095/_0x26221d;_0x1d52c7?_0x3b8cae=_0x463c74[_0x21e8ca(0x4cf)](_0x3b8cae):_0x3b8cae=_0x463c74[_0x21e8ca(0x2f3)]((_0x3b8cae|0x0)-this['_minBufferSize'],0x0);var _0x207966=_0x3b8cae*_0x2e05e1,_0x9907f0=_0x463c74[_0x21e8ca(0x3ba)](_0x207966*0x4,_0x5ac095);if(_0x207966){for(var _0x148f6c=0x0;_0x148f6c<_0x207966;_0x148f6c+=_0x2e05e1)this[_0x21e8ca(0x4d7)](_0x7682fa,_0x148f6c);_0x363be1=_0x7682fa['splice'](0x0,_0x207966),_0x525e6e['sigBytes']-=_0x9907f0;}return new _0x431463[(_0x21e8ca(0x1fe))](_0x363be1,_0x9907f0);},'clone':function(){const _0x3133b6=_0x2c08fa;var _0x119bb0=_0x3f2439['clone']['call'](this);return _0x119bb0[_0x3133b6(0x5f3)]=this[_0x3133b6(0x5f3)][_0x3133b6(0x1ce)](),_0x119bb0;},'_minBufferSize':0x0});_0x59d7cf[_0x2c08fa(0x2bb)]=_0x15cbe3['extend']({'cfg':_0x3f2439['extend'](),'init':function(_0xc2a2f2){const _0x44b6df=_0x2c08fa;this[_0x44b6df(0x2b0)]=this['cfg'][_0x44b6df(0x5f5)](_0xc2a2f2),this[_0x44b6df(0x414)]();},'reset':function(){const _0x8600d9=_0x2c08fa;_0x15cbe3[_0x8600d9(0x414)]['call'](this),this[_0x8600d9(0x2c2)]();},'update':function(_0x4b0957){const _0x3e55e0=_0x2c08fa;return this[_0x3e55e0(0x599)](_0x4b0957),this['_process'](),this;},'finalize':function(_0x3b0a06){const _0x467f13=_0x2c08fa;_0x3b0a06&&this[_0x467f13(0x599)](_0x3b0a06);var _0x4a6ce7=this['_doFinalize']();return _0x4a6ce7;},'blockSize':0x10,'_createHelper':function(_0x36d926){return function(_0x75c18,_0x42daa8){const _0x5219f3=_0x3f43;return new _0x36d926[(_0x5219f3(0x1fe))](_0x42daa8)[_0x5219f3(0x35a)](_0x75c18);};},'_createHmacHelper':function(_0x28f714){return function(_0x3d0294,_0x485595){const _0x392daa=_0x3f43;return new _0x3f09fb['HMAC']['init'](_0x28f714,_0x485595)[_0x392daa(0x35a)](_0x3d0294);};}});var _0x3f09fb=_0x49e38f[_0x2c08fa(0x296)]={};return _0x49e38f;}(Math);return _0x1421a5;}));}(We)),We['exports'];}var Fe={'exports':{}},ps=Fe[_0x519f42(0x495)],ti;function ji(){const _0x5f4f8f=_0x519f42;return ti||(ti=0x1,function(_0x54aee7,_0xfd7277){(function(_0x1d64fb,_0x554356){_0x54aee7['exports']=_0x554356(se());}(ps,function(_0x5e21fa){const _0x28b4c4=_0x3f43;return(function(){const _0x52f400=_0x3f43;var _0x4719d3=_0x5e21fa,_0x3f9db=_0x4719d3[_0x52f400(0x3d6)],_0x1b1a36=_0x3f9db[_0x52f400(0x17b)],_0x540e7a=_0x4719d3['enc'];_0x540e7a['Base64']={'stringify':function(_0x217609){const _0x1b2dfd=_0x52f400;var _0x4f326e=_0x217609[_0x1b2dfd(0x1b9)],_0x1ab9cb=_0x217609[_0x1b2dfd(0x386)],_0x351b19=this[_0x1b2dfd(0x219)];_0x217609[_0x1b2dfd(0x5d4)]();for(var _0x943ed8=[],_0x1e4117=0x0;_0x1e4117<_0x1ab9cb;_0x1e4117+=0x3)for(var _0x3ea405=_0x4f326e[_0x1e4117>>>0x2]>>>0x18-_0x1e4117%0x4*0x8&0xff,_0x1827c1=_0x4f326e[_0x1e4117+0x1>>>0x2]>>>0x18-(_0x1e4117+0x1)%0x4*0x8&0xff,_0x475725=_0x4f326e[_0x1e4117+0x2>>>0x2]>>>0x18-(_0x1e4117+0x2)%0x4*0x8&0xff,_0x8622cd=_0x3ea405<<0x10|_0x1827c1<<0x8|_0x475725,_0x5a6890=0x0;_0x5a6890<0x4&&_0x1e4117+_0x5a6890*0.75<_0x1ab9cb;_0x5a6890++)_0x943ed8[_0x1b2dfd(0x205)](_0x351b19['charAt'](_0x8622cd>>>0x6*(0x3-_0x5a6890)&0x3f));var _0x40930e=_0x351b19[_0x1b2dfd(0x2d4)](0x40);if(_0x40930e){for(;_0x943ed8['length']%0x4;)_0x943ed8[_0x1b2dfd(0x205)](_0x40930e);}return _0x943ed8[_0x1b2dfd(0x3b7)]('');},'parse':function(_0x1696d9){const _0x2cfd2a=_0x52f400;var _0x241ad4=_0x1696d9[_0x2cfd2a(0x53a)],_0x39a5d7=this['_map'],_0x54bffe=this[_0x2cfd2a(0x3a0)];if(!_0x54bffe){_0x54bffe=this[_0x2cfd2a(0x3a0)]=[];for(var _0x14608a=0x0;_0x14608a<_0x39a5d7[_0x2cfd2a(0x53a)];_0x14608a++)_0x54bffe[_0x39a5d7[_0x2cfd2a(0x1fa)](_0x14608a)]=_0x14608a;}var _0x39142f=_0x39a5d7[_0x2cfd2a(0x2d4)](0x40);if(_0x39142f){var _0x4eac12=_0x1696d9[_0x2cfd2a(0x61f)](_0x39142f);_0x4eac12!==-0x1&&(_0x241ad4=_0x4eac12);}return _0x1795d1(_0x1696d9,_0x241ad4,_0x54bffe);},'_map':_0x52f400(0x3f7)};function _0x1795d1(_0x39d7af,_0x5d0f91,_0x3e18d5){const _0x5c240a=_0x52f400;for(var _0x324f0e=[],_0x43fb0f=0x0,_0x14f4ef=0x0;_0x14f4ef<_0x5d0f91;_0x14f4ef++)if(_0x14f4ef%0x4){var _0x52808d=_0x3e18d5[_0x39d7af[_0x5c240a(0x1fa)](_0x14f4ef-0x1)]<<_0x14f4ef%0x4*0x2,_0x431ab2=_0x3e18d5[_0x39d7af[_0x5c240a(0x1fa)](_0x14f4ef)]>>>0x6-_0x14f4ef%0x4*0x2,_0x2ff370=_0x52808d|_0x431ab2;_0x324f0e[_0x43fb0f>>>0x2]|=_0x2ff370<<0x18-_0x43fb0f%0x4*0x8,_0x43fb0f++;}return _0x1b1a36[_0x5c240a(0x282)](_0x324f0e,_0x43fb0f);}}()),_0x5e21fa[_0x28b4c4(0x333)][_0x28b4c4(0x218)];}));}(Fe)),Fe[_0x5f4f8f(0x495)];}var Ve={'exports':{}},ms=Ve[_0x519f42(0x495)],ii;function gs(){const _0x3b7f1a=_0x519f42;return ii||(ii=0x1,function(_0x158d47,_0x2ab385){(function(_0x22e433,_0x6e572c){const _0x382413=_0x3f43;_0x158d47[_0x382413(0x495)]=_0x6e572c(se());}(ms,function(_0x3da9ab){return function(_0x1626a5){const _0x5e9546=_0x3f43;var _0x198483=_0x3da9ab,_0x3e44d7=_0x198483['lib'],_0x59614a=_0x3e44d7[_0x5e9546(0x17b)],_0x58122d=_0x3e44d7[_0x5e9546(0x2bb)],_0x35a60e=_0x198483[_0x5e9546(0x296)],_0xec0bea=[];(function(){const _0x20c6dc=_0x5e9546;for(var _0x146e7a=0x0;_0x146e7a<0x40;_0x146e7a++)_0xec0bea[_0x146e7a]=_0x1626a5[_0x20c6dc(0x44e)](_0x1626a5[_0x20c6dc(0x5e3)](_0x146e7a+0x1))*0x100000000|0x0;}());var _0x7e3df6=_0x35a60e[_0x5e9546(0x23c)]=_0x58122d[_0x5e9546(0x5f5)]({'_doReset':function(){const _0x5d30fc=_0x5e9546;this[_0x5d30fc(0x301)]=new _0x59614a['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xeeab48,_0x2f8b12){const _0x4e062c=_0x5e9546;for(var _0x43b04a=0x0;_0x43b04a<0x10;_0x43b04a++){var _0x1693a9=_0x2f8b12+_0x43b04a,_0x460d90=_0xeeab48[_0x1693a9];_0xeeab48[_0x1693a9]=(_0x460d90<<0x8|_0x460d90>>>0x18)&0xff00ff|(_0x460d90<<0x18|_0x460d90>>>0x8)&0xff00ff00;}var _0x31e687=this[_0x4e062c(0x301)][_0x4e062c(0x1b9)],_0x1bfa5e=_0xeeab48[_0x2f8b12+0x0],_0x4db2da=_0xeeab48[_0x2f8b12+0x1],_0x55785f=_0xeeab48[_0x2f8b12+0x2],_0x2162da=_0xeeab48[_0x2f8b12+0x3],_0x400556=_0xeeab48[_0x2f8b12+0x4],_0x3f4ff0=_0xeeab48[_0x2f8b12+0x5],_0x3ee254=_0xeeab48[_0x2f8b12+0x6],_0x225a7c=_0xeeab48[_0x2f8b12+0x7],_0x1326fc=_0xeeab48[_0x2f8b12+0x8],_0x175c6b=_0xeeab48[_0x2f8b12+0x9],_0x327f62=_0xeeab48[_0x2f8b12+0xa],_0x12a837=_0xeeab48[_0x2f8b12+0xb],_0x29cbcd=_0xeeab48[_0x2f8b12+0xc],_0x3cf200=_0xeeab48[_0x2f8b12+0xd],_0x1cc496=_0xeeab48[_0x2f8b12+0xe],_0x29ef8d=_0xeeab48[_0x2f8b12+0xf],_0x527115=_0x31e687[0x0],_0x2ea759=_0x31e687[0x1],_0x1666ec=_0x31e687[0x2],_0x256982=_0x31e687[0x3];_0x527115=_0x593785(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x1bfa5e,0x7,_0xec0bea[0x0]),_0x256982=_0x593785(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x4db2da,0xc,_0xec0bea[0x1]),_0x1666ec=_0x593785(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x55785f,0x11,_0xec0bea[0x2]),_0x2ea759=_0x593785(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x2162da,0x16,_0xec0bea[0x3]),_0x527115=_0x593785(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x400556,0x7,_0xec0bea[0x4]),_0x256982=_0x593785(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x3f4ff0,0xc,_0xec0bea[0x5]),_0x1666ec=_0x593785(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x3ee254,0x11,_0xec0bea[0x6]),_0x2ea759=_0x593785(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x225a7c,0x16,_0xec0bea[0x7]),_0x527115=_0x593785(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x1326fc,0x7,_0xec0bea[0x8]),_0x256982=_0x593785(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x175c6b,0xc,_0xec0bea[0x9]),_0x1666ec=_0x593785(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x327f62,0x11,_0xec0bea[0xa]),_0x2ea759=_0x593785(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x12a837,0x16,_0xec0bea[0xb]),_0x527115=_0x593785(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x29cbcd,0x7,_0xec0bea[0xc]),_0x256982=_0x593785(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x3cf200,0xc,_0xec0bea[0xd]),_0x1666ec=_0x593785(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x1cc496,0x11,_0xec0bea[0xe]),_0x2ea759=_0x593785(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x29ef8d,0x16,_0xec0bea[0xf]),_0x527115=_0x1ae4b3(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x4db2da,0x5,_0xec0bea[0x10]),_0x256982=_0x1ae4b3(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x3ee254,0x9,_0xec0bea[0x11]),_0x1666ec=_0x1ae4b3(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x12a837,0xe,_0xec0bea[0x12]),_0x2ea759=_0x1ae4b3(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x1bfa5e,0x14,_0xec0bea[0x13]),_0x527115=_0x1ae4b3(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x3f4ff0,0x5,_0xec0bea[0x14]),_0x256982=_0x1ae4b3(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x327f62,0x9,_0xec0bea[0x15]),_0x1666ec=_0x1ae4b3(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x29ef8d,0xe,_0xec0bea[0x16]),_0x2ea759=_0x1ae4b3(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x400556,0x14,_0xec0bea[0x17]),_0x527115=_0x1ae4b3(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x175c6b,0x5,_0xec0bea[0x18]),_0x256982=_0x1ae4b3(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x1cc496,0x9,_0xec0bea[0x19]),_0x1666ec=_0x1ae4b3(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x2162da,0xe,_0xec0bea[0x1a]),_0x2ea759=_0x1ae4b3(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x1326fc,0x14,_0xec0bea[0x1b]),_0x527115=_0x1ae4b3(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x3cf200,0x5,_0xec0bea[0x1c]),_0x256982=_0x1ae4b3(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x55785f,0x9,_0xec0bea[0x1d]),_0x1666ec=_0x1ae4b3(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x225a7c,0xe,_0xec0bea[0x1e]),_0x2ea759=_0x1ae4b3(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x29cbcd,0x14,_0xec0bea[0x1f]),_0x527115=_0x15ab18(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x3f4ff0,0x4,_0xec0bea[0x20]),_0x256982=_0x15ab18(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x1326fc,0xb,_0xec0bea[0x21]),_0x1666ec=_0x15ab18(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x12a837,0x10,_0xec0bea[0x22]),_0x2ea759=_0x15ab18(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x1cc496,0x17,_0xec0bea[0x23]),_0x527115=_0x15ab18(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x4db2da,0x4,_0xec0bea[0x24]),_0x256982=_0x15ab18(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x400556,0xb,_0xec0bea[0x25]),_0x1666ec=_0x15ab18(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x225a7c,0x10,_0xec0bea[0x26]),_0x2ea759=_0x15ab18(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x327f62,0x17,_0xec0bea[0x27]),_0x527115=_0x15ab18(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x3cf200,0x4,_0xec0bea[0x28]),_0x256982=_0x15ab18(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x1bfa5e,0xb,_0xec0bea[0x29]),_0x1666ec=_0x15ab18(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x2162da,0x10,_0xec0bea[0x2a]),_0x2ea759=_0x15ab18(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x3ee254,0x17,_0xec0bea[0x2b]),_0x527115=_0x15ab18(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x175c6b,0x4,_0xec0bea[0x2c]),_0x256982=_0x15ab18(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x29cbcd,0xb,_0xec0bea[0x2d]),_0x1666ec=_0x15ab18(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x29ef8d,0x10,_0xec0bea[0x2e]),_0x2ea759=_0x15ab18(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x55785f,0x17,_0xec0bea[0x2f]),_0x527115=_0x19eb9f(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x1bfa5e,0x6,_0xec0bea[0x30]),_0x256982=_0x19eb9f(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x225a7c,0xa,_0xec0bea[0x31]),_0x1666ec=_0x19eb9f(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x1cc496,0xf,_0xec0bea[0x32]),_0x2ea759=_0x19eb9f(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x3f4ff0,0x15,_0xec0bea[0x33]),_0x527115=_0x19eb9f(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x29cbcd,0x6,_0xec0bea[0x34]),_0x256982=_0x19eb9f(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x2162da,0xa,_0xec0bea[0x35]),_0x1666ec=_0x19eb9f(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x327f62,0xf,_0xec0bea[0x36]),_0x2ea759=_0x19eb9f(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x4db2da,0x15,_0xec0bea[0x37]),_0x527115=_0x19eb9f(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x1326fc,0x6,_0xec0bea[0x38]),_0x256982=_0x19eb9f(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x29ef8d,0xa,_0xec0bea[0x39]),_0x1666ec=_0x19eb9f(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x3ee254,0xf,_0xec0bea[0x3a]),_0x2ea759=_0x19eb9f(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x3cf200,0x15,_0xec0bea[0x3b]),_0x527115=_0x19eb9f(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x400556,0x6,_0xec0bea[0x3c]),_0x256982=_0x19eb9f(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x12a837,0xa,_0xec0bea[0x3d]),_0x1666ec=_0x19eb9f(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x55785f,0xf,_0xec0bea[0x3e]),_0x2ea759=_0x19eb9f(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x175c6b,0x15,_0xec0bea[0x3f]),_0x31e687[0x0]=_0x31e687[0x0]+_0x527115|0x0,_0x31e687[0x1]=_0x31e687[0x1]+_0x2ea759|0x0,_0x31e687[0x2]=_0x31e687[0x2]+_0x1666ec|0x0,_0x31e687[0x3]=_0x31e687[0x3]+_0x256982|0x0;},'_doFinalize':function(){const _0x26f5fd=_0x5e9546;var _0x3b1af1=this['_data'],_0x573a27=_0x3b1af1['words'],_0x643fb7=this[_0x26f5fd(0x2c4)]*0x8,_0x4b0dc6=_0x3b1af1[_0x26f5fd(0x386)]*0x8;_0x573a27[_0x4b0dc6>>>0x5]|=0x80<<0x18-_0x4b0dc6%0x20;var _0x466cb9=_0x1626a5[_0x26f5fd(0x4e0)](_0x643fb7/0x100000000),_0x61b6ad=_0x643fb7;_0x573a27[(_0x4b0dc6+0x40>>>0x9<<0x4)+0xf]=(_0x466cb9<<0x8|_0x466cb9>>>0x18)&0xff00ff|(_0x466cb9<<0x18|_0x466cb9>>>0x8)&0xff00ff00,_0x573a27[(_0x4b0dc6+0x40>>>0x9<<0x4)+0xe]=(_0x61b6ad<<0x8|_0x61b6ad>>>0x18)&0xff00ff|(_0x61b6ad<<0x18|_0x61b6ad>>>0x8)&0xff00ff00,_0x3b1af1['sigBytes']=(_0x573a27[_0x26f5fd(0x53a)]+0x1)*0x4,this[_0x26f5fd(0x5e6)]();for(var _0x47339e=this[_0x26f5fd(0x301)],_0xdaa9fa=_0x47339e[_0x26f5fd(0x1b9)],_0x5cd3c2=0x0;_0x5cd3c2<0x4;_0x5cd3c2++){var _0x221c20=_0xdaa9fa[_0x5cd3c2];_0xdaa9fa[_0x5cd3c2]=(_0x221c20<<0x8|_0x221c20>>>0x18)&0xff00ff|(_0x221c20<<0x18|_0x221c20>>>0x8)&0xff00ff00;}return _0x47339e;},'clone':function(){const _0x5946da=_0x5e9546;var _0x1f20a9=_0x58122d[_0x5946da(0x1ce)][_0x5946da(0x3bb)](this);return _0x1f20a9[_0x5946da(0x301)]=this[_0x5946da(0x301)][_0x5946da(0x1ce)](),_0x1f20a9;}});function _0x593785(_0x17090c,_0x251045,_0x47721b,_0x4b42ce,_0x4599a9,_0x1caeef,_0x10254c){var _0x477960=_0x17090c+(_0x251045&_0x47721b|~_0x251045&_0x4b42ce)+_0x4599a9+_0x10254c;return(_0x477960<<_0x1caeef|_0x477960>>>0x20-_0x1caeef)+_0x251045;}function _0x1ae4b3(_0x55fa03,_0x3f8495,_0x22ebb2,_0x496425,_0x44d8de,_0x3a6b1d,_0x4a6a75){var _0x3b05a9=_0x55fa03+(_0x3f8495&_0x496425|_0x22ebb2&~_0x496425)+_0x44d8de+_0x4a6a75;return(_0x3b05a9<<_0x3a6b1d|_0x3b05a9>>>0x20-_0x3a6b1d)+_0x3f8495;}function _0x15ab18(_0x3e6b95,_0xb99817,_0x48a2d1,_0x1f6258,_0x12f9a9,_0x15b7a,_0x132503){var _0x139a70=_0x3e6b95+(_0xb99817^_0x48a2d1^_0x1f6258)+_0x12f9a9+_0x132503;return(_0x139a70<<_0x15b7a|_0x139a70>>>0x20-_0x15b7a)+_0xb99817;}function _0x19eb9f(_0x4edebb,_0x45ccea,_0x2832af,_0x5d5522,_0x568899,_0x51196f,_0x52c477){var _0x2ef04c=_0x4edebb+(_0x2832af^(_0x45ccea|~_0x5d5522))+_0x568899+_0x52c477;return(_0x2ef04c<<_0x51196f|_0x2ef04c>>>0x20-_0x51196f)+_0x45ccea;}_0x198483[_0x5e9546(0x23c)]=_0x58122d['_createHelper'](_0x7e3df6),_0x198483['HmacMD5']=_0x58122d['_createHmacHelper'](_0x7e3df6);}(Math),_0x3da9ab['MD5'];}));}(Ve)),Ve[_0x3b7f1a(0x495)];}var Ge={'exports':{}},Ye={'exports':{}},Is=Ye['exports'],ni;function Cs(){const _0xfa2fb0=_0x519f42;return ni||(ni=0x1,function(_0x269a46,_0xab3843){(function(_0x53ed41,_0x3f8fb3){const _0xd28957=_0x3f43;_0x269a46[_0xd28957(0x495)]=_0x3f8fb3(se());}(Is,function(_0x5472a4){const _0x8dd7d6=_0x3f43;return(function(){const _0x2d9eff=_0x3f43;var _0x142391=_0x5472a4,_0x5ae72c=_0x142391[_0x2d9eff(0x3d6)],_0x5cce83=_0x5ae72c[_0x2d9eff(0x17b)],_0x504ee9=_0x5ae72c[_0x2d9eff(0x2bb)],_0x32f2eb=_0x142391[_0x2d9eff(0x296)],_0x29a46e=[],_0x95473d=_0x32f2eb[_0x2d9eff(0x42e)]=_0x504ee9[_0x2d9eff(0x5f5)]({'_doReset':function(){const _0x7642ec=_0x2d9eff;this[_0x7642ec(0x301)]=new _0x5cce83[(_0x7642ec(0x1fe))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x113ad1,_0x5ace4f){const _0x4230cd=_0x2d9eff;for(var _0x44089e=this['_hash'][_0x4230cd(0x1b9)],_0x178336=_0x44089e[0x0],_0x499ed1=_0x44089e[0x1],_0x56c585=_0x44089e[0x2],_0x1df6d0=_0x44089e[0x3],_0x2b8458=_0x44089e[0x4],_0x4daeb4=0x0;_0x4daeb4<0x50;_0x4daeb4++){if(_0x4daeb4<0x10)_0x29a46e[_0x4daeb4]=_0x113ad1[_0x5ace4f+_0x4daeb4]|0x0;else{var _0x5121c=_0x29a46e[_0x4daeb4-0x3]^_0x29a46e[_0x4daeb4-0x8]^_0x29a46e[_0x4daeb4-0xe]^_0x29a46e[_0x4daeb4-0x10];_0x29a46e[_0x4daeb4]=_0x5121c<<0x1|_0x5121c>>>0x1f;}var _0x92a539=(_0x178336<<0x5|_0x178336>>>0x1b)+_0x2b8458+_0x29a46e[_0x4daeb4];_0x4daeb4<0x14?_0x92a539+=(_0x499ed1&_0x56c585|~_0x499ed1&_0x1df6d0)+0x5a827999:_0x4daeb4<0x28?_0x92a539+=(_0x499ed1^_0x56c585^_0x1df6d0)+0x6ed9eba1:_0x4daeb4<0x3c?_0x92a539+=(_0x499ed1&_0x56c585|_0x499ed1&_0x1df6d0|_0x56c585&_0x1df6d0)-0x70e44324:_0x92a539+=(_0x499ed1^_0x56c585^_0x1df6d0)-0x359d3e2a,_0x2b8458=_0x1df6d0,_0x1df6d0=_0x56c585,_0x56c585=_0x499ed1<<0x1e|_0x499ed1>>>0x2,_0x499ed1=_0x178336,_0x178336=_0x92a539;}_0x44089e[0x0]=_0x44089e[0x0]+_0x178336|0x0,_0x44089e[0x1]=_0x44089e[0x1]+_0x499ed1|0x0,_0x44089e[0x2]=_0x44089e[0x2]+_0x56c585|0x0,_0x44089e[0x3]=_0x44089e[0x3]+_0x1df6d0|0x0,_0x44089e[0x4]=_0x44089e[0x4]+_0x2b8458|0x0;},'_doFinalize':function(){const _0x3c98b0=_0x2d9eff;var _0x397a55=this[_0x3c98b0(0x5f3)],_0x10a3ad=_0x397a55[_0x3c98b0(0x1b9)],_0x2b2f6f=this[_0x3c98b0(0x2c4)]*0x8,_0x5e518c=_0x397a55[_0x3c98b0(0x386)]*0x8;return _0x10a3ad[_0x5e518c>>>0x5]|=0x80<<0x18-_0x5e518c%0x20,_0x10a3ad[(_0x5e518c+0x40>>>0x9<<0x4)+0xe]=Math[_0x3c98b0(0x4e0)](_0x2b2f6f/0x100000000),_0x10a3ad[(_0x5e518c+0x40>>>0x9<<0x4)+0xf]=_0x2b2f6f,_0x397a55['sigBytes']=_0x10a3ad['length']*0x4,this[_0x3c98b0(0x5e6)](),this['_hash'];},'clone':function(){const _0x251ce2=_0x2d9eff;var _0x4a21cc=_0x504ee9[_0x251ce2(0x1ce)]['call'](this);return _0x4a21cc['_hash']=this[_0x251ce2(0x301)]['clone'](),_0x4a21cc;}});_0x142391[_0x2d9eff(0x42e)]=_0x504ee9['_createHelper'](_0x95473d),_0x142391[_0x2d9eff(0x57e)]=_0x504ee9[_0x2d9eff(0x5e5)](_0x95473d);}()),_0x5472a4[_0x8dd7d6(0x42e)];}));}(Ye)),Ye[_0xfa2fb0(0x495)];}var qe={'exports':{}},Es=qe[_0x519f42(0x495)],ri;function bs(){const _0x4ddcb2=_0x519f42;return ri||(ri=0x1,function(_0x41fa42,_0x3a236f){(function(_0x3836f9,_0x455813){const _0x33c715=_0x3f43;_0x41fa42[_0x33c715(0x495)]=_0x455813(se());}(Es,function(_0x49995c){(function(){const _0x6c8dfe=_0x3f43;var _0x3455c2=_0x49995c,_0x5d2cc1=_0x3455c2[_0x6c8dfe(0x3d6)],_0x363dbf=_0x5d2cc1['Base'],_0x28edd9=_0x3455c2[_0x6c8dfe(0x333)],_0x2925c0=_0x28edd9[_0x6c8dfe(0x4a5)],_0x1aea82=_0x3455c2[_0x6c8dfe(0x296)];_0x1aea82[_0x6c8dfe(0x402)]=_0x363dbf[_0x6c8dfe(0x5f5)]({'init':function(_0x108e47,_0x586311){const _0x3ec7b7=_0x6c8dfe;_0x108e47=this[_0x3ec7b7(0x2d7)]=new _0x108e47['init'](),typeof _0x586311==_0x3ec7b7(0x32b)&&(_0x586311=_0x2925c0[_0x3ec7b7(0x2f6)](_0x586311));var _0xc3e512=_0x108e47[_0x3ec7b7(0x337)],_0x4a0d66=_0xc3e512*0x4;_0x586311['sigBytes']>_0x4a0d66&&(_0x586311=_0x108e47[_0x3ec7b7(0x35a)](_0x586311)),_0x586311[_0x3ec7b7(0x5d4)]();for(var _0x43af6e=this[_0x3ec7b7(0x43d)]=_0x586311['clone'](),_0x499d0f=this['_iKey']=_0x586311['clone'](),_0x967755=_0x43af6e['words'],_0x41d451=_0x499d0f[_0x3ec7b7(0x1b9)],_0x38f9c6=0x0;_0x38f9c6<_0xc3e512;_0x38f9c6++)_0x967755[_0x38f9c6]^=0x5c5c5c5c,_0x41d451[_0x38f9c6]^=0x36363636;_0x43af6e[_0x3ec7b7(0x386)]=_0x499d0f['sigBytes']=_0x4a0d66,this[_0x3ec7b7(0x414)]();},'reset':function(){const _0x4a5196=_0x6c8dfe;var _0xa8346a=this[_0x4a5196(0x2d7)];_0xa8346a[_0x4a5196(0x414)](),_0xa8346a[_0x4a5196(0x182)](this[_0x4a5196(0x4fa)]);},'update':function(_0x37e4af){const _0x3d4c38=_0x6c8dfe;return this[_0x3d4c38(0x2d7)][_0x3d4c38(0x182)](_0x37e4af),this;},'finalize':function(_0x59b5e4){const _0x2f9a1a=_0x6c8dfe;var _0x3fa89f=this[_0x2f9a1a(0x2d7)],_0x56fe99=_0x3fa89f[_0x2f9a1a(0x35a)](_0x59b5e4);_0x3fa89f[_0x2f9a1a(0x414)]();var _0x578872=_0x3fa89f[_0x2f9a1a(0x35a)](this['_oKey']['clone']()[_0x2f9a1a(0x538)](_0x56fe99));return _0x578872;}});}());}));}(qe)),qe[_0x4ddcb2(0x495)];}var Ts=Ge[_0x519f42(0x495)],si;function Hi(){const _0x27e8f4=_0x519f42;return si||(si=0x1,function(_0x2c832b,_0xbac0b6){(function(_0x486c0c,_0x436183,_0x1f147a){const _0x3034db=_0x3f43;_0x2c832b[_0x3034db(0x495)]=_0x436183(se(),Cs(),bs());}(Ts,function(_0x126a04){return(function(){const _0x1ac2cc=_0x3f43;var _0x4bb920=_0x126a04,_0x26e700=_0x4bb920['lib'],_0x29ef5e=_0x26e700[_0x1ac2cc(0x603)],_0x40a167=_0x26e700[_0x1ac2cc(0x17b)],_0x252b1f=_0x4bb920[_0x1ac2cc(0x296)],_0x769a0c=_0x252b1f[_0x1ac2cc(0x23c)],_0xa607ed=_0x252b1f[_0x1ac2cc(0x64a)]=_0x29ef5e[_0x1ac2cc(0x5f5)]({'cfg':_0x29ef5e['extend']({'keySize':0x80/0x20,'hasher':_0x769a0c,'iterations':0x1}),'init':function(_0x1b1d46){const _0x14fe2d=_0x1ac2cc;this[_0x14fe2d(0x2b0)]=this['cfg'][_0x14fe2d(0x5f5)](_0x1b1d46);},'compute':function(_0x21255b,_0x54f911){const _0x50e060=_0x1ac2cc;for(var _0x968d97,_0x498493=this[_0x50e060(0x2b0)],_0x20cd82=_0x498493[_0x50e060(0x5d2)][_0x50e060(0x282)](),_0x52378d=_0x40a167[_0x50e060(0x282)](),_0x28c484=_0x52378d[_0x50e060(0x1b9)],_0x2c0c45=_0x498493[_0x50e060(0x1bc)],_0x344c41=_0x498493[_0x50e060(0x1b3)];_0x28c484[_0x50e060(0x53a)]<_0x2c0c45;){_0x968d97&&_0x20cd82['update'](_0x968d97),_0x968d97=_0x20cd82[_0x50e060(0x182)](_0x21255b)[_0x50e060(0x35a)](_0x54f911),_0x20cd82['reset']();for(var _0x49adc0=0x1;_0x49adc0<_0x344c41;_0x49adc0++)_0x968d97=_0x20cd82['finalize'](_0x968d97),_0x20cd82[_0x50e060(0x414)]();_0x52378d[_0x50e060(0x538)](_0x968d97);}return _0x52378d[_0x50e060(0x386)]=_0x2c0c45*0x4,_0x52378d;}});_0x4bb920[_0x1ac2cc(0x64a)]=function(_0x12f5bc,_0x3ed2a3,_0x5883d8){const _0x2ab374=_0x1ac2cc;return _0xa607ed[_0x2ab374(0x282)](_0x5883d8)[_0x2ab374(0x622)](_0x12f5bc,_0x3ed2a3);};}()),_0x126a04['EvpKDF'];}));}(Ge)),Ge[_0x27e8f4(0x495)];}var Ke={'exports':{}},Rs=Ke[_0x519f42(0x495)],oi;function Bi(){return oi||(oi=0x1,function(_0x3ab902,_0x34dbeb){(function(_0x815432,_0x1cb38e,_0x47d487){const _0x4c0a0f=_0x3f43;_0x3ab902[_0x4c0a0f(0x495)]=_0x1cb38e(se(),Hi());}(Rs,function(_0x56bf7c){const _0x5340b0=_0x3f43;_0x56bf7c[_0x5340b0(0x3d6)]['Cipher']||function(_0x5594ef){const _0x3ee83a=_0x5340b0;var _0x1111eb=_0x56bf7c,_0x463996=_0x1111eb[_0x3ee83a(0x3d6)],_0x599053=_0x463996[_0x3ee83a(0x603)],_0x5d76d6=_0x463996['WordArray'],_0x985ebb=_0x463996[_0x3ee83a(0x4bb)],_0x562754=_0x1111eb[_0x3ee83a(0x333)];_0x562754['Utf8'];var _0x153f91=_0x562754[_0x3ee83a(0x218)],_0x380ee9=_0x1111eb[_0x3ee83a(0x296)],_0x49f8b5=_0x380ee9[_0x3ee83a(0x64a)],_0x152cb3=_0x463996[_0x3ee83a(0x30b)]=_0x985ebb[_0x3ee83a(0x5f5)]({'cfg':_0x599053[_0x3ee83a(0x5f5)](),'createEncryptor':function(_0x5d9c48,_0x42799){const _0x2bb721=_0x3ee83a;return this[_0x2bb721(0x282)](this[_0x2bb721(0x451)],_0x5d9c48,_0x42799);},'createDecryptor':function(_0x1580d3,_0x1d7348){const _0x3b7d9e=_0x3ee83a;return this['create'](this[_0x3b7d9e(0x4fe)],_0x1580d3,_0x1d7348);},'init':function(_0x2f4f59,_0x47dbd8,_0x130650){const _0x170784=_0x3ee83a;this[_0x170784(0x2b0)]=this['cfg']['extend'](_0x130650),this[_0x170784(0x2fc)]=_0x2f4f59,this[_0x170784(0x2f2)]=_0x47dbd8,this[_0x170784(0x414)]();},'reset':function(){const _0xda853b=_0x3ee83a;_0x985ebb[_0xda853b(0x414)][_0xda853b(0x3bb)](this),this[_0xda853b(0x2c2)]();},'process':function(_0x576889){const _0xc6f704=_0x3ee83a;return this['_append'](_0x576889),this[_0xc6f704(0x5e6)]();},'finalize':function(_0xc2351){const _0x89db0b=_0x3ee83a;_0xc2351&&this['_append'](_0xc2351);var _0x1b484e=this[_0x89db0b(0x4a4)]();return _0x1b484e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x278ee5(_0x455dc9){const _0x56edc2=_0x3f43;return typeof _0x455dc9==_0x56edc2(0x32b)?_0x452083:_0x4e68df;}return function(_0x3cc1cb){return{'encrypt':function(_0x114ad0,_0x9f2ab7,_0x43850c){const _0x1a84f7=_0x3f43;return _0x278ee5(_0x9f2ab7)[_0x1a84f7(0x2e3)](_0x3cc1cb,_0x114ad0,_0x9f2ab7,_0x43850c);},'decrypt':function(_0x303bf7,_0x165f65,_0x4eb68c){const _0x4c347e=_0x3f43;return _0x278ee5(_0x165f65)[_0x4c347e(0x45e)](_0x3cc1cb,_0x303bf7,_0x165f65,_0x4eb68c);}};};}())});_0x463996[_0x3ee83a(0x4ec)]=_0x152cb3[_0x3ee83a(0x5f5)]({'_doFinalize':function(){var _0x409601=this['_process'](!0x0);return _0x409601;},'blockSize':0x1});var _0x41ed50=_0x1111eb[_0x3ee83a(0x478)]={},_0x4cda54=_0x463996[_0x3ee83a(0x3c6)]=_0x599053['extend']({'createEncryptor':function(_0x2aa6e6,_0x3d3516){const _0x296e78=_0x3ee83a;return this[_0x296e78(0x548)]['create'](_0x2aa6e6,_0x3d3516);},'createDecryptor':function(_0x1ef170,_0x2e1e1c){const _0x5d6045=_0x3ee83a;return this['Decryptor'][_0x5d6045(0x282)](_0x1ef170,_0x2e1e1c);},'init':function(_0x54129e,_0xa18900){const _0x4d2923=_0x3ee83a;this[_0x4d2923(0x2de)]=_0x54129e,this[_0x4d2923(0x569)]=_0xa18900;}}),_0x1822e1=_0x41ed50[_0x3ee83a(0x3af)]=(function(){const _0x16db93=_0x3ee83a;var _0x4753fa=_0x4cda54[_0x16db93(0x5f5)]();_0x4753fa[_0x16db93(0x548)]=_0x4753fa['extend']({'processBlock':function(_0x5a7d9b,_0x11d333){const _0x28f113=_0x16db93;var _0x4b192f=this[_0x28f113(0x2de)],_0x14fe46=_0x4b192f[_0x28f113(0x337)];_0x5877e4['call'](this,_0x5a7d9b,_0x11d333,_0x14fe46),_0x4b192f[_0x28f113(0x58c)](_0x5a7d9b,_0x11d333),this[_0x28f113(0x1e5)]=_0x5a7d9b[_0x28f113(0x428)](_0x11d333,_0x11d333+_0x14fe46);}}),_0x4753fa[_0x16db93(0x3ad)]=_0x4753fa[_0x16db93(0x5f5)]({'processBlock':function(_0x23aab1,_0x3b21b6){const _0x15ed2e=_0x16db93;var _0x15edca=this[_0x15ed2e(0x2de)],_0x199ff2=_0x15edca[_0x15ed2e(0x337)],_0x36f0e9=_0x23aab1[_0x15ed2e(0x428)](_0x3b21b6,_0x3b21b6+_0x199ff2);_0x15edca['decryptBlock'](_0x23aab1,_0x3b21b6),_0x5877e4[_0x15ed2e(0x3bb)](this,_0x23aab1,_0x3b21b6,_0x199ff2),this['_prevBlock']=_0x36f0e9;}});function _0x5877e4(_0x5e0b38,_0x42b965,_0x2702e8){const _0x53b2c4=_0x16db93;var _0x115090,_0x5e5dae=this[_0x53b2c4(0x569)];_0x5e5dae?(_0x115090=_0x5e5dae,this['_iv']=_0x5594ef):_0x115090=this[_0x53b2c4(0x1e5)];for(var _0x198ed9=0x0;_0x198ed9<_0x2702e8;_0x198ed9++)_0x5e0b38[_0x42b965+_0x198ed9]^=_0x115090[_0x198ed9];}return _0x4753fa;}()),_0x10d4be=_0x1111eb[_0x3ee83a(0x49e)]={},_0x1be3e3=_0x10d4be[_0x3ee83a(0x413)]={'pad':function(_0x1d8621,_0x48bc12){const _0xc67cce=_0x3ee83a;for(var _0x5ebeb7=_0x48bc12*0x4,_0xaa1a=_0x5ebeb7-_0x1d8621['sigBytes']%_0x5ebeb7,_0x5e7b6b=_0xaa1a<<0x18|_0xaa1a<<0x10|_0xaa1a<<0x8|_0xaa1a,_0x401725=[],_0x4a41e6=0x0;_0x4a41e6<_0xaa1a;_0x4a41e6+=0x4)_0x401725['push'](_0x5e7b6b);var _0x31fccb=_0x5d76d6[_0xc67cce(0x282)](_0x401725,_0xaa1a);_0x1d8621['concat'](_0x31fccb);},'unpad':function(_0x32aa2f){const _0x24e2cb=_0x3ee83a;var _0x155b23=_0x32aa2f[_0x24e2cb(0x1b9)][_0x32aa2f[_0x24e2cb(0x386)]-0x1>>>0x2]&0xff;_0x32aa2f[_0x24e2cb(0x386)]-=_0x155b23;}};_0x463996[_0x3ee83a(0x454)]=_0x152cb3[_0x3ee83a(0x5f5)]({'cfg':_0x152cb3['cfg'][_0x3ee83a(0x5f5)]({'mode':_0x1822e1,'padding':_0x1be3e3}),'reset':function(){const _0x4fa8d9=_0x3ee83a;var _0x4fac27;_0x152cb3[_0x4fa8d9(0x414)][_0x4fa8d9(0x3bb)](this);var _0x219623=this[_0x4fa8d9(0x2b0)],_0x1d5f9c=_0x219623['iv'],_0x3bbbb3=_0x219623[_0x4fa8d9(0x478)];this['_xformMode']==this[_0x4fa8d9(0x451)]?_0x4fac27=_0x3bbbb3[_0x4fa8d9(0x431)]:(_0x4fac27=_0x3bbbb3[_0x4fa8d9(0x4dd)],this[_0x4fa8d9(0x1ab)]=0x1),this[_0x4fa8d9(0x560)]&&this['_mode'][_0x4fa8d9(0x3fd)]==_0x4fac27?this['_mode'][_0x4fa8d9(0x1fe)](this,_0x1d5f9c&&_0x1d5f9c['words']):(this['_mode']=_0x4fac27[_0x4fa8d9(0x3bb)](_0x3bbbb3,this,_0x1d5f9c&&_0x1d5f9c[_0x4fa8d9(0x1b9)]),this[_0x4fa8d9(0x560)]['__creator']=_0x4fac27);},'_doProcessBlock':function(_0x20dc26,_0xee3458){const _0xf4490d=_0x3ee83a;this[_0xf4490d(0x560)][_0xf4490d(0x2be)](_0x20dc26,_0xee3458);},'_doFinalize':function(){const _0x41e48c=_0x3ee83a;var _0xeddbd6,_0x3c066c=this[_0x41e48c(0x2b0)][_0x41e48c(0x2ae)];return this[_0x41e48c(0x2fc)]==this[_0x41e48c(0x451)]?(_0x3c066c[_0x41e48c(0x49e)](this['_data'],this[_0x41e48c(0x337)]),_0xeddbd6=this['_process'](!0x0)):(_0xeddbd6=this[_0x41e48c(0x5e6)](!0x0),_0x3c066c['unpad'](_0xeddbd6)),_0xeddbd6;},'blockSize':0x80/0x20});var _0x1866bb=_0x463996[_0x3ee83a(0x22b)]=_0x599053[_0x3ee83a(0x5f5)]({'init':function(_0x33e8ab){const _0x497f71=_0x3ee83a;this[_0x497f71(0x391)](_0x33e8ab);},'toString':function(_0x10a0e7){const _0x2a707b=_0x3ee83a;return(_0x10a0e7||this[_0x2a707b(0x2ee)])[_0x2a707b(0x648)](this);}}),_0x180d47=_0x1111eb[_0x3ee83a(0x22c)]={},_0x285b41=_0x180d47['OpenSSL']={'stringify':function(_0x50d99c){const _0x5c4a26=_0x3ee83a;var _0x3eaa58,_0x27a67d=_0x50d99c[_0x5c4a26(0x427)],_0x5f118e=_0x50d99c[_0x5c4a26(0x464)];return _0x5f118e?_0x3eaa58=_0x5d76d6['create']([0x53616c74,0x65645f5f])[_0x5c4a26(0x538)](_0x5f118e)[_0x5c4a26(0x538)](_0x27a67d):_0x3eaa58=_0x27a67d,_0x3eaa58[_0x5c4a26(0x1a0)](_0x153f91);},'parse':function(_0x83d02a){const _0x20f788=_0x3ee83a;var _0x38ae9a,_0xe704ca=_0x153f91[_0x20f788(0x2f6)](_0x83d02a),_0x2fe357=_0xe704ca['words'];return _0x2fe357[0x0]==0x53616c74&&_0x2fe357[0x1]==0x65645f5f&&(_0x38ae9a=_0x5d76d6[_0x20f788(0x282)](_0x2fe357[_0x20f788(0x428)](0x2,0x4)),_0x2fe357['splice'](0x0,0x4),_0xe704ca[_0x20f788(0x386)]-=0x10),_0x1866bb[_0x20f788(0x282)]({'ciphertext':_0xe704ca,'salt':_0x38ae9a});}},_0x4e68df=_0x463996[_0x3ee83a(0x1e2)]=_0x599053[_0x3ee83a(0x5f5)]({'cfg':_0x599053[_0x3ee83a(0x5f5)]({'format':_0x285b41}),'encrypt':function(_0x489790,_0x556959,_0x3eca34,_0x407480){const _0x3a8786=_0x3ee83a;_0x407480=this[_0x3a8786(0x2b0)][_0x3a8786(0x5f5)](_0x407480);var _0x4cce59=_0x489790[_0x3a8786(0x431)](_0x3eca34,_0x407480),_0x311a5=_0x4cce59['finalize'](_0x556959),_0x57befa=_0x4cce59[_0x3a8786(0x2b0)];return _0x1866bb['create']({'ciphertext':_0x311a5,'key':_0x3eca34,'iv':_0x57befa['iv'],'algorithm':_0x489790,'mode':_0x57befa['mode'],'padding':_0x57befa['padding'],'blockSize':_0x489790[_0x3a8786(0x337)],'formatter':_0x407480[_0x3a8786(0x22c)]});},'decrypt':function(_0x1404e3,_0x45f6ef,_0x316dff,_0x38edef){const _0x512176=_0x3ee83a;_0x38edef=this['cfg']['extend'](_0x38edef),_0x45f6ef=this[_0x512176(0x517)](_0x45f6ef,_0x38edef[_0x512176(0x22c)]);var _0x138441=_0x1404e3[_0x512176(0x4dd)](_0x316dff,_0x38edef)['finalize'](_0x45f6ef[_0x512176(0x427)]);return _0x138441;},'_parse':function(_0x29c85d,_0x3c5f05){const _0x4beec7=_0x3ee83a;return typeof _0x29c85d==_0x4beec7(0x32b)?_0x3c5f05[_0x4beec7(0x2f6)](_0x29c85d,this):_0x29c85d;}}),_0x467740=_0x1111eb[_0x3ee83a(0x465)]={},_0x93e2f8=_0x467740[_0x3ee83a(0x3ae)]={'execute':function(_0x311d5d,_0x7447c6,_0xa69c16,_0x28b3cd,_0x59628a){const _0x3e1984=_0x3ee83a;if(_0x28b3cd||(_0x28b3cd=_0x5d76d6['random'](0x40/0x8)),_0x59628a)var _0x136a39=_0x49f8b5[_0x3e1984(0x282)]({'keySize':_0x7447c6+_0xa69c16,'hasher':_0x59628a})['compute'](_0x311d5d,_0x28b3cd);else var _0x136a39=_0x49f8b5[_0x3e1984(0x282)]({'keySize':_0x7447c6+_0xa69c16})[_0x3e1984(0x622)](_0x311d5d,_0x28b3cd);var _0x58dc8c=_0x5d76d6[_0x3e1984(0x282)](_0x136a39[_0x3e1984(0x1b9)]['slice'](_0x7447c6),_0xa69c16*0x4);return _0x136a39[_0x3e1984(0x386)]=_0x7447c6*0x4,_0x1866bb[_0x3e1984(0x282)]({'key':_0x136a39,'iv':_0x58dc8c,'salt':_0x28b3cd});}},_0x452083=_0x463996[_0x3ee83a(0x32f)]=_0x4e68df[_0x3ee83a(0x5f5)]({'cfg':_0x4e68df[_0x3ee83a(0x2b0)][_0x3ee83a(0x5f5)]({'kdf':_0x93e2f8}),'encrypt':function(_0x30fad8,_0x59f2e7,_0x3fd718,_0x53a0bc){const _0x53a014=_0x3ee83a;_0x53a0bc=this[_0x53a014(0x2b0)][_0x53a014(0x5f5)](_0x53a0bc);var _0x3c45d2=_0x53a0bc[_0x53a014(0x465)]['execute'](_0x3fd718,_0x30fad8[_0x53a014(0x1bc)],_0x30fad8['ivSize'],_0x53a0bc[_0x53a014(0x464)],_0x53a0bc['hasher']);_0x53a0bc['iv']=_0x3c45d2['iv'];var _0x357d3e=_0x4e68df[_0x53a014(0x2e3)][_0x53a014(0x3bb)](this,_0x30fad8,_0x59f2e7,_0x3c45d2['key'],_0x53a0bc);return _0x357d3e[_0x53a014(0x391)](_0x3c45d2),_0x357d3e;},'decrypt':function(_0xec4ce6,_0x56ddc8,_0x474ef5,_0x28a7df){const _0x582f6e=_0x3ee83a;_0x28a7df=this['cfg'][_0x582f6e(0x5f5)](_0x28a7df),_0x56ddc8=this['_parse'](_0x56ddc8,_0x28a7df[_0x582f6e(0x22c)]);var _0x5bfc19=_0x28a7df[_0x582f6e(0x465)][_0x582f6e(0x4f8)](_0x474ef5,_0xec4ce6[_0x582f6e(0x1bc)],_0xec4ce6[_0x582f6e(0x4b6)],_0x56ddc8[_0x582f6e(0x464)],_0x28a7df['hasher']);_0x28a7df['iv']=_0x5bfc19['iv'];var _0x25b7df=_0x4e68df['decrypt']['call'](this,_0xec4ce6,_0x56ddc8,_0x5bfc19['key'],_0x28a7df);return _0x25b7df;}});}();}));}(Ke)),Ke['exports'];}var Os=ke[_0x519f42(0x495)],ai;function ys(){return ai||(ai=0x1,function(_0x2da128,_0x57698b){(function(_0x337590,_0x24bf05,_0x810da5){_0x2da128['exports']=_0x24bf05(se(),ji(),gs(),Hi(),Bi());}(Os,function(_0x34ea46){const _0x2aaaea=_0x3f43;return(function(){const _0x160edb=_0x3f43;var _0x4b8c8c=_0x34ea46,_0x335900=_0x4b8c8c[_0x160edb(0x3d6)],_0x38b34f=_0x335900[_0x160edb(0x454)],_0x34aa99=_0x4b8c8c['algo'],_0x1c8c7d=[],_0x1b3d14=[],_0x2a3abb=[],_0x10023d=[],_0x27540d=[],_0x25a3de=[],_0x49cfd0=[],_0x43fa6c=[],_0x2fe44f=[],_0x59bd7a=[];(function(){for(var _0x443ab2=[],_0x3f039b=0x0;_0x3f039b<0x100;_0x3f039b++)_0x3f039b<0x80?_0x443ab2[_0x3f039b]=_0x3f039b<<0x1:_0x443ab2[_0x3f039b]=_0x3f039b<<0x1^0x11b;for(var _0x1faa67=0x0,_0xad2307=0x0,_0x3f039b=0x0;_0x3f039b<0x100;_0x3f039b++){var _0xaa03c=_0xad2307^_0xad2307<<0x1^_0xad2307<<0x2^_0xad2307<<0x3^_0xad2307<<0x4;_0xaa03c=_0xaa03c>>>0x8^_0xaa03c&0xff^0x63,_0x1c8c7d[_0x1faa67]=_0xaa03c,_0x1b3d14[_0xaa03c]=_0x1faa67;var _0x3544ac=_0x443ab2[_0x1faa67],_0x2994e7=_0x443ab2[_0x3544ac],_0x25b995=_0x443ab2[_0x2994e7],_0x270d68=_0x443ab2[_0xaa03c]*0x101^_0xaa03c*0x1010100;_0x2a3abb[_0x1faa67]=_0x270d68<<0x18|_0x270d68>>>0x8,_0x10023d[_0x1faa67]=_0x270d68<<0x10|_0x270d68>>>0x10,_0x27540d[_0x1faa67]=_0x270d68<<0x8|_0x270d68>>>0x18,_0x25a3de[_0x1faa67]=_0x270d68;var _0x270d68=_0x25b995*0x1010101^_0x2994e7*0x10001^_0x3544ac*0x101^_0x1faa67*0x1010100;_0x49cfd0[_0xaa03c]=_0x270d68<<0x18|_0x270d68>>>0x8,_0x43fa6c[_0xaa03c]=_0x270d68<<0x10|_0x270d68>>>0x10,_0x2fe44f[_0xaa03c]=_0x270d68<<0x8|_0x270d68>>>0x18,_0x59bd7a[_0xaa03c]=_0x270d68,_0x1faa67?(_0x1faa67=_0x3544ac^_0x443ab2[_0x443ab2[_0x443ab2[_0x25b995^_0x3544ac]]],_0xad2307^=_0x443ab2[_0x443ab2[_0xad2307]]):_0x1faa67=_0xad2307=0x1;}}());var _0x4e254=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2fa2aa=_0x34aa99['AES']=_0x38b34f[_0x160edb(0x5f5)]({'_doReset':function(){const _0x1e6765=_0x160edb;var _0x29f665;if(!(this[_0x1e6765(0x586)]&&this[_0x1e6765(0x3d8)]===this['_key'])){for(var _0x545828=this[_0x1e6765(0x3d8)]=this[_0x1e6765(0x2f2)],_0x2a918e=_0x545828[_0x1e6765(0x1b9)],_0x39b50f=_0x545828[_0x1e6765(0x386)]/0x4,_0x2f92a1=this['_nRounds']=_0x39b50f+0x6,_0x42f1b1=(_0x2f92a1+0x1)*0x4,_0x9bb9c5=this[_0x1e6765(0x496)]=[],_0x4135af=0x0;_0x4135af<_0x42f1b1;_0x4135af++)_0x4135af<_0x39b50f?_0x9bb9c5[_0x4135af]=_0x2a918e[_0x4135af]:(_0x29f665=_0x9bb9c5[_0x4135af-0x1],_0x4135af%_0x39b50f?_0x39b50f>0x6&&_0x4135af%_0x39b50f==0x4&&(_0x29f665=_0x1c8c7d[_0x29f665>>>0x18]<<0x18|_0x1c8c7d[_0x29f665>>>0x10&0xff]<<0x10|_0x1c8c7d[_0x29f665>>>0x8&0xff]<<0x8|_0x1c8c7d[_0x29f665&0xff]):(_0x29f665=_0x29f665<<0x8|_0x29f665>>>0x18,_0x29f665=_0x1c8c7d[_0x29f665>>>0x18]<<0x18|_0x1c8c7d[_0x29f665>>>0x10&0xff]<<0x10|_0x1c8c7d[_0x29f665>>>0x8&0xff]<<0x8|_0x1c8c7d[_0x29f665&0xff],_0x29f665^=_0x4e254[_0x4135af/_0x39b50f|0x0]<<0x18),_0x9bb9c5[_0x4135af]=_0x9bb9c5[_0x4135af-_0x39b50f]^_0x29f665);for(var _0x2f0bbd=this[_0x1e6765(0x303)]=[],_0x5ecd8e=0x0;_0x5ecd8e<_0x42f1b1;_0x5ecd8e++){var _0x4135af=_0x42f1b1-_0x5ecd8e;if(_0x5ecd8e%0x4)var _0x29f665=_0x9bb9c5[_0x4135af];else var _0x29f665=_0x9bb9c5[_0x4135af-0x4];_0x5ecd8e<0x4||_0x4135af<=0x4?_0x2f0bbd[_0x5ecd8e]=_0x29f665:_0x2f0bbd[_0x5ecd8e]=_0x49cfd0[_0x1c8c7d[_0x29f665>>>0x18]]^_0x43fa6c[_0x1c8c7d[_0x29f665>>>0x10&0xff]]^_0x2fe44f[_0x1c8c7d[_0x29f665>>>0x8&0xff]]^_0x59bd7a[_0x1c8c7d[_0x29f665&0xff]];}}},'encryptBlock':function(_0x398021,_0x64e2ff){const _0x46ddfe=_0x160edb;this[_0x46ddfe(0x4e4)](_0x398021,_0x64e2ff,this[_0x46ddfe(0x496)],_0x2a3abb,_0x10023d,_0x27540d,_0x25a3de,_0x1c8c7d);},'decryptBlock':function(_0x5bfd82,_0x34738c){const _0x33c5fb=_0x160edb;var _0x83c381=_0x5bfd82[_0x34738c+0x1];_0x5bfd82[_0x34738c+0x1]=_0x5bfd82[_0x34738c+0x3],_0x5bfd82[_0x34738c+0x3]=_0x83c381,this[_0x33c5fb(0x4e4)](_0x5bfd82,_0x34738c,this['_invKeySchedule'],_0x49cfd0,_0x43fa6c,_0x2fe44f,_0x59bd7a,_0x1b3d14);var _0x83c381=_0x5bfd82[_0x34738c+0x1];_0x5bfd82[_0x34738c+0x1]=_0x5bfd82[_0x34738c+0x3],_0x5bfd82[_0x34738c+0x3]=_0x83c381;},'_doCryptBlock':function(_0x1f4706,_0x70404,_0x3f5cb9,_0x298d54,_0x5d82c2,_0x40f41,_0x8eeff0,_0x39bcf4){const _0x2a9a71=_0x160edb;for(var _0x51b002=this[_0x2a9a71(0x586)],_0x18ff91=_0x1f4706[_0x70404]^_0x3f5cb9[0x0],_0xced0f2=_0x1f4706[_0x70404+0x1]^_0x3f5cb9[0x1],_0x346f8c=_0x1f4706[_0x70404+0x2]^_0x3f5cb9[0x2],_0x2f8a21=_0x1f4706[_0x70404+0x3]^_0x3f5cb9[0x3],_0x2aa64e=0x4,_0x155c3c=0x1;_0x155c3c<_0x51b002;_0x155c3c++){var _0x447a5d=_0x298d54[_0x18ff91>>>0x18]^_0x5d82c2[_0xced0f2>>>0x10&0xff]^_0x40f41[_0x346f8c>>>0x8&0xff]^_0x8eeff0[_0x2f8a21&0xff]^_0x3f5cb9[_0x2aa64e++],_0x8f9920=_0x298d54[_0xced0f2>>>0x18]^_0x5d82c2[_0x346f8c>>>0x10&0xff]^_0x40f41[_0x2f8a21>>>0x8&0xff]^_0x8eeff0[_0x18ff91&0xff]^_0x3f5cb9[_0x2aa64e++],_0x2f2183=_0x298d54[_0x346f8c>>>0x18]^_0x5d82c2[_0x2f8a21>>>0x10&0xff]^_0x40f41[_0x18ff91>>>0x8&0xff]^_0x8eeff0[_0xced0f2&0xff]^_0x3f5cb9[_0x2aa64e++],_0x55d4b4=_0x298d54[_0x2f8a21>>>0x18]^_0x5d82c2[_0x18ff91>>>0x10&0xff]^_0x40f41[_0xced0f2>>>0x8&0xff]^_0x8eeff0[_0x346f8c&0xff]^_0x3f5cb9[_0x2aa64e++];_0x18ff91=_0x447a5d,_0xced0f2=_0x8f9920,_0x346f8c=_0x2f2183,_0x2f8a21=_0x55d4b4;}var _0x447a5d=(_0x39bcf4[_0x18ff91>>>0x18]<<0x18|_0x39bcf4[_0xced0f2>>>0x10&0xff]<<0x10|_0x39bcf4[_0x346f8c>>>0x8&0xff]<<0x8|_0x39bcf4[_0x2f8a21&0xff])^_0x3f5cb9[_0x2aa64e++],_0x8f9920=(_0x39bcf4[_0xced0f2>>>0x18]<<0x18|_0x39bcf4[_0x346f8c>>>0x10&0xff]<<0x10|_0x39bcf4[_0x2f8a21>>>0x8&0xff]<<0x8|_0x39bcf4[_0x18ff91&0xff])^_0x3f5cb9[_0x2aa64e++],_0x2f2183=(_0x39bcf4[_0x346f8c>>>0x18]<<0x18|_0x39bcf4[_0x2f8a21>>>0x10&0xff]<<0x10|_0x39bcf4[_0x18ff91>>>0x8&0xff]<<0x8|_0x39bcf4[_0xced0f2&0xff])^_0x3f5cb9[_0x2aa64e++],_0x55d4b4=(_0x39bcf4[_0x2f8a21>>>0x18]<<0x18|_0x39bcf4[_0x18ff91>>>0x10&0xff]<<0x10|_0x39bcf4[_0xced0f2>>>0x8&0xff]<<0x8|_0x39bcf4[_0x346f8c&0xff])^_0x3f5cb9[_0x2aa64e++];_0x1f4706[_0x70404]=_0x447a5d,_0x1f4706[_0x70404+0x1]=_0x8f9920,_0x1f4706[_0x70404+0x2]=_0x2f2183,_0x1f4706[_0x70404+0x3]=_0x55d4b4;},'keySize':0x100/0x20});_0x4b8c8c[_0x160edb(0x632)]=_0x38b34f[_0x160edb(0x522)](_0x2fa2aa);}()),_0x34ea46[_0x2aaaea(0x632)];}));}(ke)),ke['exports'];}function _0x1367(){const _0x46cb5b=['getResourcesRequest','_throwTelemetryCollaborationNewChangeset','InsertRangeMoveRightCommandId','_localCacheService','fetch_missing','&assign=','COLORS','transformRemoteChangeset','_transformIMECache','_scheduleHeartbeat','updatePermissionObjEvent','hasher','equals','clamp','doc.mutation.rich-text-editing','_handleHeartbeatEvent','getOwnPropertySymbols','_clearTimeoutTimer','_tryEnsureSocket','docStateChange$','disposeWithMe','_retryCount','univer-pro.collaboration-client.single-active-unit-service','disableLocalCache','COLLAB_WEB_SOCKET_URL_KEY','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','title','IRemoteInstanceService','sin','/fetchmissing?from=','_createHmacHelper','_process','CollaborationStatus','cursorInfo$','LIVESHARE_TERMINATE','_collaborationSessionService','ILogService','off-line-single','src','_stopTelemetryCollaborationNewChangeset','onTransformRemoteChangesetByStateCache','result','CHANGESET_SHOULD_RETRY','isArray','_data','getRenderById','extend','setInterval','_snapshotServerService','Disposable','5508830oVtEiK','dispose','m1Prime','getActiveSheet','_onRemoteRetry','collabCursorState$','unshift','_removeClearOtherTimer','collabStatus.syncing','LIVESHARE_OPERATION','Base','clear','UPDATE_PERMISSION_OBJ','replaceState','jiqing500','_snapshotService','LocaleService','addEventListener','subUnitId','randomUUID','isTransformMutationsWithChangesetSuccess','onTransformIME','joinRsp','getTypeOfUnitDisposed$','_draw','not_collab','wsSessionTicketUrl','on-line-single','code','_getUploadFileURL','[CollaborationSessionService]','_getDownloadEndpointURL','state','InsertRangeMoveDownCommandId','_getMergeRange','JOINING','UnitEmbedded','isTransformChangesetsSuccess','indexOf','registerRenderModule','_onMessage','compute','HTTPService','_cursorShapes','registerDependencies','IUIPartsService','post','_sessions','UNIVER_PROJECT','enableSingleActiveInstanceLock','getRoom','_cachedData','_loadDoc','moveTo','RefRangeService','_transformPreviousActiveRange','children','AES','TOO_MANY_REQUESTS','delay','hasOwnProperty','_commandService','_incrementRevisionNumber','/object/','textEncoder','IContextService','[OfflineState]:\x20received\x20changeset.','fromCharCode','mergeOverrideWithDependencies','DocIMEInputManagerService','1em','jsx','pipe','YUUMI_URL_COL_OUT_OF_RANGE','_sheetSkeletonManagerService','APPLY_DUPLICATED','_updateStatus','_status$','_checkMissing','stringify','exhaustSavingTask','EvpKDF','RETRY_CONNECTING_MAX_COUNT_KEY','6FvegSC','onTransformState','font','_onConflict','SNAPSHOT_HAS_BEEN_REMOVED','roomMembers$','WordArray','b64DecodeUnicode','_resendTimer','onRemoteAck','_notificationService','addObject','session.room-not-exists','update','sendChangesetTimeout','#FFF','addImageSourceCache','_initDependencies','transformMutationsWithChangeset','url','NO_OTHER_CLIENTS_EDITING','[CollaborationSessionService]:\x20socket\x20error','POST','ITelemetryService','text','combineLatest','transformMutation','createCollaborator','dispose$','_submitChangeset','_configService','onMissedChangesetFetched','onRemoteRej','append','searchParams','file','getCollabCursors$','_ensureSubject','SnapshotService','close','tag','reduce','_range','toString','UNIVER_SLIDE','deserializeToCombResponse','_online','_startCollaboration','SHEET_VIEWPORT_KEY','_telemetryInfo','restore','_sessionStatus$','save\x20fail\x20reason\x20is\x20','UserManagerService','_minBufferSize','LOCAL_CACHE_INTERVAL_KEY','RichTextEditingMutation','filter','@univerjs/drawing','_context','INVALID_ARGUMENT','JOIN_ROOM_PERMISSION_DENIED','iterations','avatar','registerOnClose','[CollaborationState]:\x20apply\x20error!','\x0aCurrent:\x20','_transformRemoteChangesetByIMECache','words','listCollaborators','_labelPosition','keySize','LICENSE_MAX_UNITS_EXCEEDED','_onConnectionFailed','onlyLocal','_pendingMutations','incrementRevOfUnit','COMPRESS_MUTATION_SEND','Rect','backgroundColor','_scene','find','routeKey','href','setShapeProps','NOT_FOUND','CollaborationSocketService','_updateSubUnitFromURLParams','liveShareOperation','clone','displayName','_retryConnectingTimer','type','setConfig','_removeRoom','substring','VIEW_MAIN','getCurrentSelections','CompressMutationService','error','UNIVER_UNKNOWN','Undefined','subscribe','collabStatus.notCollab','url(#on-line-single_clip0_910_349)','_singleActiveUnitService','refreshPermission','textRanges','SNAPSHOT_INVALID_SNAPSHOT','SerializableCipher','_handleEvent','Hex','_prevBlock','show','headers','_schedule','takeUntil','_commentUpdate$','confirm','encode','_drawTextRange','_socketReady','baseRev','useRef','requestParams','_lastPointer','defs','_members','collaboration-client.offline-data-not-saved','MemberService','HEARTBEAT_TIMEOUT_KEY','onTransformRemoteChangesetByIMECache','enableAuthServer','charCodeAt','fillRule','collab-client.tooltip.reconnect','setItem','init','_heartbeatTimer','image/png','_resendTimeout','_transformRemoteChangesetByStateCache','delete','selection','push','collaboratorID','SUBMIT_CHANGESET','_initRequestHeader','endColumn','userID','asObservable','SetTextSelectionsOperation','m2Prime','_fetchMissChangesets','_refRangeService','BuiltInUIPart','clipPath','HttpExport','next','_toggleOffline','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_remoteChangesetQueue','startTime','Base64','_map','throttleTime','bottom','url(#$1','Fragment','updateOfflineData','/universer-api/file/{fileID}/sign-url','changesets','fill','_updateState','_colorAssignService','onlineStatusTitle','HEARTBEAT','c2Prime','status$','conflict.title','UNKNOWN_CMD','_collaborationController','CipherParams','format','[CollaborationEntity]','_sender','@univerjs/engine-render','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LIVESHARE_REQUEST_HOST','cursorInfo','put','liveShareNewHost','unitId','clearTimeout','executeCommand','getUnitId','ReplaySubject','IAuthzIoService','onStateChange','MD5','_showConflictNotification','hovered','engine','sequenceExecute','shouldCloseConn','setShowComponents','_initEventListeners','deepClone','getParam','whenReady','removeMember','UNIVER_SHEET','UNIVER_DOC','forEach','@univerjs/network','IMentionIOService','COMMENT_UPDATE','_memberService','_isPermissionRej','_socket','_queuedRemoteChangesets','_onConnectionOpen','getTypeOfUnitAdded$','getVpScrollXYInfoByPosToVp','bind','collabStatus.synced','lineTo','visibilitychange','_compressMutationService','Univer','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','cmd','COMPLETION_FINISHED','updateMember','currentTheme$','INGEST','debounce','_backgroundColor','SNAPSHOT_URL_KEY','collab-rect-range-','current','_cursorInfo$','getRandomValues','_hovered','FETCH_MISSING','univerjs-icon\x20univerjs-icon-','SheetCollabCursorShape','fetching\x20missing\x20changesets\x20from\x20','_type','WorkbookEditablePermission','appendMutation','synced','catch','roomMembers','socket$','&source=','RxDisposable','_entityInit$','onRemoteRetry','DocSelectionManagerService','connection\x20error','unit','NodePositionConvertToRectRange','_createSocket','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_onRecvEvent','RETRY_CONNECTING_MAX_COUNT','M0\x200H16V16H0z','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','create','_setupBeforeClosingHandler','collaboration.closeRoom','members','arc','handleInsertRow','handleDeleteRangeMoveLeft','ALREADY_EXISTS','replaceDocRanges','startRow','_themeService','reject','objectType','FromArray','drawWith','objectID','take','_config','@univerjs/engine-formula','requireSession','algo','focused$','DEFAULT_FILE_NAME','enableLocalCache','onStarting','onSendChangeset','joinEvent','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','isPermissionRej','LOCAL_CACHE_INTERVAL','colorChannel1','_httpService','allowed','getUnitOnRev','_socket$','ranges','_unlockTransition','action','send','_docTransformStateCacheService','key','putCollaborators','runRefRangeMutations','newValue','padding','list','cfg','241376OAmmHA','_refreshCollabCursors','...','collabStatus.offline','[DataLoaderController]','_transformService','unknown','forwardRef','message$','path','Hasher','LICENSE_EXPORT_SIZE_EXCEEDED','fetchMissingChangesets','processBlock','rev','patch','resolve','_doReset','imageSourceType','_nDataBytes','7997872hETdLW','TEXT','_ws','Tools','_getCtorByUniverType','DocStateChangeManagerService','onRendered','SheetCollaborationEntity','getMemberID','/universer-api/oidc/authpage','onPointerEnter$','getImageSourceCache','transformByState','ENSURE_SNAPSHOT_EXECUTION','collaMsg','charAt','use','redoState','_hasher','_docClipboardService','WebSocketService','IUndoRedoService','permissionRejEvent','_handleLeaveEvent','labelPosition','_cipher','updateCollaborator','collabStatus.conflict','xlink:href','JOIN_ROOM_NOT_EXISTS','encrypt','_clearOtherTimers','replace','closeSession','x-univer-host','saveImage','setTimeout','startsWith','session.room-permission-denied','2nYiAMj','on-line-single_clip0_910_349','formatter','UPDATE_CURSOR','ILocalStorageService','data','_key','max','trim','default','parse','Latin1','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_cursors','_onCursorDelete','DocCollaborationEntity','_xformMode','top','_initStatusComponent','_docTransformIMECacheService','_initStatusListener','_hash','UnitSnapshot','_invKeySchedule','_docSkeletonManagerService','assignAColorForMemberID','online','unit-cache-','EXCHANGE_SIGN_URL_SERVER_URL_KEY','conflict','getAncestorScale','Cipher','NoPadding','_colorIndex','reqId','UniverCollaborationClientPlugin','_handleHover','getCurrent','awaiting_with_pending','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','buffer','_createInitialStateImpl','@univerjs/design','_render','currentSkeleton$','unitId\x20is\x20not\x20found','CHANGESET_REVISION_CONFILICT','setCurrentUser','INotificationService','LOGIN_URL_KEY','DataLoaderController','_createInitialState','encodeURIComponent','CollaborationController','params','getSheetObject','complete','_clearCollaborationTimeoutTimer','/role','_createHandler','RECT','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','LIVESHARE_FETCH_OPERATIONS','string','_instanceService','body','status','PasswordBasedCipher','object','YUUMI_SUBSCRIPTION_NOT_FOUND','_userManagerService','enc','CommentService','all','useDependency','blockSize','_resendWithTimeout','JSONX','csRejEvent','mapDocumentTypeToUniverType','0\x200\x2016\x2016','readAsDataURL','@univerjs/rpc','collab-text-range-','_transformStack','_disableEditing','ImageSourceType','/universer-api/authz','_anchor','getTime','_substituteRedoStack','unsubscribe','/rev/','toggleOffline','[CollaborationSession]','IBeforeCloseService','loginUrlKey','serializeCombRequest','_getSignURL','origin','color','random','fetchThroughInterceptors','_state','_applyRemoteChangeset','UniverIcon','_onRemoteRejected','getColor','leaveEvent','_hover','finalize','transformSelections','createInstance','FAIL','getCurrentRevOfUnit','Unknown\x20user','defineProperty','TRANSFORM_CHANGE_OBSERVABLE_TYPE','YUUMI_UNABLE_LOAD_URL','onload','mapTo','toLowerCase','[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.','_collaborationPaused','application/json','_registerDependencies','actions','_drawRectRange','_state$','entries','sessionStatus','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_commentService','_candidateSocket','_sheetTransformSelectionsService','IDocClipboardService','_unitOnClients','APPLY_REVISION_CONFILICT','location','Injector','history','rxjs','byteLength','JOIN_ROOM_FULL','_session','_unitStatus','_waitCount','_initCloseConn','/universer-api/comb','UNAUTHENTICATED','getInterceptPoints','setUndoRedoMutationParamsCache','SNAPSHOT_SERVER_URL_KEY','LIVESHARE_NEW_HOST','sigBytes','@univerjs/telemetry','retryConnectingInterval','_collaborationTimeoutTimer','HttpImport','_onJoinRoomEvent','_change$','assign','symbol','SEND_CHANGESET_TIMEOUT_KEY','registerBeforeClose','mixIn','_logService','fromCollab','_getAPIPrefixPath','with','fromEventSubject','getMergeData','sheetID','_cursor','objectActions','_initUnitPermissionChange','getSnapshotAPIPath','getCellPositionByOffset','none','loadOfflineData','_reverseMap','5942139MbFxJE','_transformSelections','split','debounceTime','_substituteUndoStack','SessionStatus','blue400','currentColor','_scheduleSaving','Workbook','CONNECTOR_DATA_TOO_LARGE','session.collaboration-timeout','Decryptor','OpenSSL','CBC','getOffsetConfig','createElement','name','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Inject','APPLY_REJECT','c1Prime','join','merge','_init','min','call','CollaborationEvent','_transitionLocked','_updateLocalCursor','getUnhiddenWorksheets','_transformHistoryAndStateStack','every','copyFileMeta','onMouseMove','save','awaitingChangeset','BlockCipherMode','_revisionService','createIdentifier','908774opHQHH','@univerjs/docs','shareReplay','jsxs','parseChangesetToProtocol','react','DisposableCollection','fromEvent','_initCommandExecutedListener','ws://127.0.0.1:8000/universer-api/comb/connect','MSG_FOR_ERROR','roomInfos','getStateCache','lib','CHANGESET_REJ','_keyPriorReset','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_urlService','session.room-full','repeat','UUID','_joinRoom','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','snapshot','set','_handler','syncEditingCollabCursor','_anchorDot','toRgbString','popstate','pluginName','ICommandService','transformStateCache','_event$','OnLineSingle','Subject','IPermissionService','_setupSubUnitSync','_toggleOnline','RemoveColCommandId','getLatestCsReqIdBySid','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/collaborator','_scheduleCollaborationTimeoutTimer','Rectangle','responseType','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','\x0aAfter:\x20','COMPRESS_MUTATION_APPLY','/allowed','_onCombEvent','_changesetSessionId','__creator','from','_startDocCollabCursor','range','editingUnit','HMAC','_univerInstanceService','RevisionService','batchAllowed','_scheduleClearOtherTimer','_docSyncEditingCollabCursorService','debug','_permissionService','NEW_CHANGESETS','_waitForHeartbeatResponse','ERROR_IMAGE','json','_telemetryService','disposeUnit','removeParam','_clearRedo','image/bmp','Pkcs7','reset','socket\x20open.','_saveCache','[PendingState]:\x20unhandled\x20univer\x20type:\x20','loadDoc','OFFLINE','ERROR_IMAGE_TYPE','USERS_LEAVE','_getRedoStack','_entities','handleIRemoveRow','_startSheetCollabCursor','_initResize','_selfUnitIDs','@univerjs/docs-ui','sessionTicket','_transformUndoredo','_send','values','ciphertext','slice','_uiPartsService','hide','128781DolfrU','_renderManagerService','_onRemoteChangeset','SHA1','_registerRenderDependencies','_getSaveTimeout','createEncryptor','change$','ISnapshotServerService','endRow','_getSheetObject','for','getSheetBlock','_hideTimer','localeService','IImageIoService','subject','_awaitingChangeset','_oKey','RECV','touchDependencies','ReactCurrentOwner','HELLO','onMissingChangesets','has','map','SYNCED','getItem','isTransformMutationFailure','@univerjs/sheets-ui','getMember','_getScale','_loadSheet','CommandType','HEARTBEAT_INTERVAL','abs','_roomMembers$','_socketMessageSubscription','_ENC_XFORM_MODE','_eventUnsubscribe','_onUserLeave','BlockCipher','_updateCollabCursors','source','_getAPIPrefix','_clearScheduledTask','EffectRefRangId','Error','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','msCrypto','socketService','decrypt','transformChangesets','DesktopCollaborationStatusDisplayController','#fff','Optional','_shapes','salt','kdf','COLLAB_SUBMIT_CHANGESET_URL_KEY','LocalCacheService','session','&to=','useObservable','transformUndoRedo','NOT_COLLAB','UNIVER_COLLABORATION_CLIENT_PLUGIN','toggleOnline','BehaviorSubject','deleteCollaborator','_messageService','generateRandomId','PSEUDO_FETCH_MISSING_RESULT','findNodePositionByCharIndex','UniverInstanceType','sid','clearInterval','mode','IRenderManagerService','ERROR_EXCEED_SIZE','_onRemoteACK','CHANGESET_ACK','CollaborationSession','_getLoginPath','_onUserJoin','DeleteRangeMoveLeftCommandId','ONLINE','APPLY_NON_SEQUENTIAL_REVISION','_sendingTimer','getCurrentUser','onPointerLeave$','_onOffline','originalMeta','error$','getValue','resend','_updateLocalCache','rng','_beforeCloseService','randomBytes','_rescheduleHeartbeat','initWorkbookPermissionChange','off-line-single_clip0_910_343','permission.title','collabStatus.fetchMiss','PERMISSION_DENIED','exports','_keySchedule','PERSON','CollabrationImageIoService','getUnitType','UniverCollaborationPlugin','SnapshotServerOverHTTPService','_timeoutTimer','subscribeEvent','pad','getAllMembers','_collabCursorState$','pushState','?url=','interceptor','_doFinalize','Utf8','get','_localStorageService','onCommandExecuted','csShouldRetryEvent','IUniverInstanceService','HEARTBEAT_TIMEOUT','onPointerMove$','isEditing','CollaborationSessionService','mutations','collaboration.single-unit.warning','/object','updateCursorEvent','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[PendingState]:\x20received\x20rejection.','sessionStatus$','ivSize','concatMap','_socketService','verdancy600','getConfig','BufferedBlockAlgorithm','transformIMECache','SetSelectionsOperation','_clearUndo','addObjects','event$','Could\x20not\x20dynamically\x20require\x20\x22','_onCursorUpdate','_getAnchorBounding','getCollabEntity','ImageUploadStatusType','session.will-retry','function','IMessageService','createSocket','_initMergeInterceptor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','reconnect','8328897dIZdem','_imageIoService','ceil','readInt32LE','updatePermissionPoint','parseProtocolChangeset','/-/object/-/batch_allowed','getCoordByCell','getCollabEntity$','getCurrentUnitForType','_doProcessBlock','@univerjs-pro/collaboration','undoState','_color','revision','CollaborationEntity','createDecryptor','onRemoteChangeset','_tryReconnect','floor','_sendHeartbeatTimer','FileId','_handleJoinEvent','_doCryptBlock','IConfigService','/universer-api/stream/file/upload','LICENSE_DISTRO_REJECTED','loadSheet','session.room-cnt-exceeds','EmptyMutation','getRangePointData','StreamCipher','handleInsertCol','/unit/','column','_transformStateCache','onSyncEditingCollabCursor','div','OTHER_CLIENTS_EDITING','CollaborationStatusDisplay','collaboration-client.config','_transformUndoRedoStack','_disabled','execute','prototype','_iKey','awaiting','LICENSE_IMPORT_SIZE_EXCEEDED','stopTime','_DEC_XFORM_MODE','distinctUntilChanged','UNRECOGNIZED','_saveTaskMap','SHOULD_CLOSE_CONN','toDisposable','closePath','/resources','uploadFileServerUrl','_textBubble','getActiveRange','eventID','url(#off-line-single_clip0_910_343)','UNKNOWN_CODE','onCommentUpdate','getDocRanges','setActiveRange','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','_getSendChangesetTimeout','authzUrl','transformStack\x20failed!','urlChange$','unload','selections','[SyncedState]:\x20received\x20rejection.','_parse','getSkeleton','row','/-/object/list','[CollaborationUndoRedoService]','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_HTTPService','MentionType','CONFLICT','fetchMiss','idSuffix','_createHelper','onTransformSelections','_docTransformSelectionsService','_exhaustRemoteChangesetQueue','serializeRangeWithSheet','getImage','$super','isInternalEditorID','saveSheetBlock','FETCH_MISS','_assignedColors','univer-online-status-title','apply','_localeService','image/gif','telemetry\x20info\x20is\x20not\x20initialized','_getCurrentRevision','handleIRemoveCol','GLOBAL_ROOMS_CNT_EXCEEDS','_replayCachedMutations','LocalUndoRedoService','image/jpeg','concat','InsertSheetMutation','length','height','_decreaseWaiting','black','_roomMembers','MUTATION','AWAITING_WITH_PENDING','fillText','size','setStateCache','getOwnPropertyDescriptor','measureText','PENDING','_executeRemoteChangeset','Encryptor','permission.content','_startTelemetryCollaborationNewChangeset','round','_syncEditingCollabCursor','getSheetBySheetId','failed\x20to\x20apply\x20missed\x20changesets!','InsertColCommandId','beginPath','setAlpha','getUnitStatus$','JOIN','react.element','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','add','icon','@univerjs/ui','ref','HEARTBEAT_INTERVAL_KEY','_collabSessionService','OffLineSingle','includes','/universer-api/snapshot/','evenodd','_mode','MentionIoHttpService','ITransformService','memberID','_unitID','/block/','_collabCursorController','fillStyle','_id','_iv','_replaceFileID','_createSocketURL','collabWebSocketUrl','_shouldReportTelemetry','ticket','IDLE','triggerDblclick','SEND_CHANGESET_TIMEOUT','Plugin','_docSkeleton','offline','_name','gold400','storage','_acknowledgedAwaitingChangeset','session.join-failed','MessageType','AWAITING','close$','unitID','HmacSHA1','{fileID}','collaborators','_clearHeartbeatTimer','_syncEditingCollabCursorService','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','getSheetId','pauseCollaboration','_nRounds','PERMISSION_REJ','SetDocZoomRatioOperation','attrs','_http','resize','encryptBlock','_onLocalMutation','saveChangeset','className','_injector','saveSnapshot','/universer-api/user/session-ticket','duration','subunit','_scheduleTimestamp','_docStateChangeManagerService','_changesetReqId','Warning','_append','downloadEndpointUrl','onlineStatus','now','_removeCollabCursors','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','TEXT_RANGE_LAYER_INDEX','registerHTTPInterceptor','_getUndoStack','registerRefRange','getFocusedUnit','_lockTransition','onTransformChange$','socket\x20close','APPLY_PERMISSION_DENIED','HTTPRequest','getUniverSheetInstance','ColorKit','defaultProps','_imageSourceCache','isActive','DOC_RANGE_TYPE','_updateURLWithCurrentState','_getSessionTicket','USERS_ENTER','UniverNetworkPlugin','capture','crypto','then','DocSkeletonManagerService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','svg','defIds','IURLService','0\x200\x2017\x2016','AUTHZ_URL_KEY','connectInjector','__Key__','SheetPermissionInitController','width','LEAVE','DeleteRangeMoveUpCommandId','setWaitCount','_redoStacks','_listenToOfflineEvent','RegularPolygon'];_0x1367=function(){return _0x46cb5b;};return _0x1367();}var Ds=ys();const Ps=$e(Ds);var ws=ji();const ci=$e(ws);var ze={'exports':{}},Us=ze[_0x519f42(0x495)],li;function Ms(){const _0x597933=_0x519f42;return li||(li=0x1,function(_0x2a4ca9,_0x25778c){(function(_0xeb08a4,_0x515a42){const _0xa5b41c=_0x3f43;_0x2a4ca9[_0xa5b41c(0x495)]=_0x515a42(se());}(Us,function(_0x26296e){const _0x552fc4=_0x3f43;return _0x26296e[_0x552fc4(0x333)][_0x552fc4(0x4a5)];}));}(ze)),ze[_0x597933(0x495)];}var Ns=Ms();const As=$e(Ns);var Xe={'exports':{}},Ls=Xe[_0x519f42(0x495)],hi;function xs(){return hi||(hi=0x1,function(_0x321426,_0x106dca){(function(_0x24324f,_0x1ec2b5){const _0x47f3f4=_0x3f43;_0x321426[_0x47f3f4(0x495)]=_0x1ec2b5(se());}(Ls,function(_0x1bca49){const _0x48a537=_0x3f43;return(function(){const _0x1bb632=_0x3f43;if(typeof ArrayBuffer=='function'){var _0x276e0c=_0x1bca49,_0x9bf0d2=_0x276e0c[_0x1bb632(0x3d6)],_0x24da62=_0x9bf0d2['WordArray'],_0x519c7e=_0x24da62[_0x1bb632(0x1fe)],_0x529424=_0x24da62[_0x1bb632(0x1fe)]=function(_0xe2c9d7){const _0x43c924=_0x1bb632;if(_0xe2c9d7 instanceof ArrayBuffer&&(_0xe2c9d7=new Uint8Array(_0xe2c9d7)),(_0xe2c9d7 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xe2c9d7 instanceof Uint8ClampedArray||_0xe2c9d7 instanceof Int16Array||_0xe2c9d7 instanceof Uint16Array||_0xe2c9d7 instanceof Int32Array||_0xe2c9d7 instanceof Uint32Array||_0xe2c9d7 instanceof Float32Array||_0xe2c9d7 instanceof Float64Array)&&(_0xe2c9d7=new Uint8Array(_0xe2c9d7[_0x43c924(0x314)],_0xe2c9d7['byteOffset'],_0xe2c9d7[_0x43c924(0x37a)])),_0xe2c9d7 instanceof Uint8Array){for(var _0x316655=_0xe2c9d7[_0x43c924(0x37a)],_0x3f61cb=[],_0x46d6e2=0x0;_0x46d6e2<_0x316655;_0x46d6e2++)_0x3f61cb[_0x46d6e2>>>0x2]|=_0xe2c9d7[_0x46d6e2]<<0x18-_0x46d6e2%0x4*0x8;_0x519c7e[_0x43c924(0x3bb)](this,_0x3f61cb,_0x316655);}else _0x519c7e[_0x43c924(0x52e)](this,arguments);};_0x529424[_0x1bb632(0x4f9)]=_0x24da62;}}()),_0x1bca49[_0x48a537(0x3d6)]['WordArray'];}));}(Xe)),Xe['exports'];}var $s=xs();const js=$e($s);var Je={'exports':{}},Hs=Je[_0x519f42(0x495)],_i;function Bs(){return _i||(_i=0x1,function(_0x292d49,_0x3f0423){(function(_0x425630,_0x597b42,_0x30ea4f){const _0xac657a=_0x3f43;_0x292d49[_0xac657a(0x495)]=_0x597b42(se(),Bi());}(Hs,function(_0x43ae90){const _0x18217b=_0x3f43;return _0x43ae90[_0x18217b(0x49e)][_0x18217b(0x30c)]={'pad':function(){},'unpad':function(){}},_0x43ae90[_0x18217b(0x49e)][_0x18217b(0x30c)];}));}(Je)),Je['exports'];}var ks=Bs();const Ws=$e(ks);function Fs(_0x176a05,_0x5d8766){const _0xfb3af6=_0x519f42,_0x3ee856=_0x5d8766-_0x176a05[_0xfb3af6(0x53a)]%_0x5d8766,_0x58a590=String['fromCharCode'](_0x3ee856)[_0xfb3af6(0x3dc)](_0x3ee856);return _0x176a05+_0x58a590;}function Vs(_0xbbea39,_0x25d8a9){const _0xb151b1=_0x519f42,_0xcebc1f=js['random'](0x10),_0xe3e34=Fs(_0xbbea39,0x10),_0x221887=Ps[_0xb151b1(0x2e3)](As[_0xb151b1(0x2f6)](_0xe3e34),ci[_0xb151b1(0x2f6)](_0x25d8a9),{'iv':_0xcebc1f,'padding':Ws});return _0xcebc1f['concat'](_0x221887[_0xb151b1(0x427)])[_0xb151b1(0x1a0)](ci);}function Gs(){const _0xe38dcf=_0x519f42,_0x3db0bd=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0xe38dcf(0x5be)];if(_0x3db0bd){const _0x401e8d={'time':Math['floor'](Date[_0xe38dcf(0x59c)]()/0x3e8),'domain':location['hostname']};return Vs(JSON[_0xe38dcf(0x648)](_0x401e8d),_0x3db0bd);}}var Ys=Object[_0x519f42(0x360)],qs=Object['getOwnPropertyDescriptor'],Ks=(_0x3e6494,_0x284904,_0x7c4532,_0x167f5c)=>{const _0x2d20be=_0x519f42;for(var _0x24e376=_0x167f5c>0x1?void 0x0:_0x167f5c?qs(_0x284904,_0x7c4532):_0x284904,_0x5dd930=_0x3e6494[_0x2d20be(0x53a)]-0x1,_0x1d6a2b;_0x5dd930>=0x0;_0x5dd930--)(_0x1d6a2b=_0x3e6494[_0x5dd930])&&(_0x24e376=(_0x167f5c?_0x1d6a2b(_0x284904,_0x7c4532,_0x24e376):_0x1d6a2b(_0x24e376))||_0x24e376);return _0x167f5c&&_0x24e376&&Ys(_0x284904,_0x7c4532,_0x24e376),_0x24e376;},zs=(_0x5894a5,_0x5c7f7e)=>(_0x5e56b9,_0x3fc467)=>_0x5c7f7e(_0x5e56b9,_0x3fc467,_0x5894a5);let st=class{constructor(_0x107fb6){const _0x350051=_0x519f42;this[_0x350051(0x2a1)]=_0x107fb6,this[_0x350051(0x208)]();}[_0x519f42(0x208)](){const _0x127e46=_0x519f42;this[_0x127e46(0x2a1)][_0x127e46(0x5a0)]({'interceptor':(_0x44dc10,_0x359a22)=>{const _0x588d7e=_0x127e46,_0x3cd962=_0x44dc10['headers'],_0x3a32ba=Gs();return _0x3a32ba&&_0x3cd962[_0x588d7e(0x3e1)](_0x588d7e(0x2e7),_0x3a32ba),_0x359a22(_0x44dc10);}});}};st=Ks([zs(0x0,a[_0x519f42(0x3b4)](z[_0x519f42(0x623)]))],st);var Xs=Object[_0x519f42(0x360)],Js=Object[_0x519f42(0x544)],Zs=(_0x3f197c,_0x3d6e60,_0x44ddda,_0x31d8e1)=>{const _0x1f4de4=_0x519f42;for(var _0x2661b2=_0x31d8e1>0x1?void 0x0:_0x31d8e1?Js(_0x3d6e60,_0x44ddda):_0x3d6e60,_0x2ccc67=_0x3f197c[_0x1f4de4(0x53a)]-0x1,_0x36547b;_0x2ccc67>=0x0;_0x2ccc67--)(_0x36547b=_0x3f197c[_0x2ccc67])&&(_0x2661b2=(_0x31d8e1?_0x36547b(_0x3d6e60,_0x44ddda,_0x2661b2):_0x36547b(_0x2661b2))||_0x2661b2);return _0x31d8e1&&_0x2661b2&&Xs(_0x3d6e60,_0x44ddda,_0x2661b2),_0x2661b2;},Et=(_0x2f2556,_0x249973)=>(_0xcdc095,_0x235adb)=>_0x249973(_0xcdc095,_0x235adb,_0x2f2556);const Qs=[_0x519f42(0x200),_0x519f42(0x537),'image/jpg',_0x519f42(0x530),_0x519f42(0x412)],eo=0x5*0x400*0x400,to=_0x519f42(0x329),io=_0x519f42(0x4e6),no=_0x519f42(0x308),ro=_0x519f42(0x21f);exports[_0x519f42(0x498)]=class{constructor(_0x11a735,_0x2421e6,_0x1ee473){const _0x200aa6=_0x519f42;I(this,_0x200aa6(0x37e),0x0),I(this,_0x200aa6(0x38c),new N[(_0x200aa6(0x3ec))]()),I(this,_0x200aa6(0x432),this[_0x200aa6(0x38c)]),I(this,_0x200aa6(0x5ac),new Map()),(this[_0x200aa6(0x2a1)]=_0x11a735,this[_0x200aa6(0x193)]=_0x2421e6,this[_0x200aa6(0x403)]=_0x1ee473);}[_0x519f42(0x5c3)](_0x403567){const _0x58cfed=_0x519f42;this[_0x58cfed(0x37e)]=_0x403567,this['_change$'][_0x58cfed(0x213)](_0x403567);}[_0x519f42(0x2d0)](_0x490f80,_0xf26304){const _0x356f09=_0x519f42;if(_0xf26304===te[_0x356f09(0x342)]['BASE64']){const _0xd0546a=new Image();return _0xd0546a[_0x356f09(0x5ed)]=_0x490f80,_0xd0546a;}return this[_0x356f09(0x5ac)]['get'](_0x490f80);}[_0x519f42(0x185)](_0x2468af,_0x41aa2d,_0x3f4e54){const _0x165f4a=_0x519f42;_0x41aa2d===te[_0x165f4a(0x342)]['BASE64']||_0x3f4e54==null||this['_imageSourceCache'][_0x165f4a(0x3e1)](_0x2468af,_0x3f4e54);}async[_0x519f42(0x527)](_0x58208c){const _0x2d0b83=_0x519f42;try{const _0x1df42b=this[_0x2d0b83(0x56a)](this['_getSignURL'](),''+_0x58208c),_0xc375e4=(await this['_httpService'][_0x2d0b83(0x4a6)](_0x1df42b))[_0x2d0b83(0x32d)];if(_0xc375e4[_0x2d0b83(0x1d8)]&&_0xc375e4[_0x2d0b83(0x1d8)][_0x2d0b83(0x615)]===bi['OK']){const _0x6f8ab1=new URL(_0xc375e4[_0x2d0b83(0x188)],this[_0x2d0b83(0x618)]())[_0x2d0b83(0x1a0)]();return Promise[_0x2d0b83(0x2c1)](_0x6f8ab1);}return Promise[_0x2d0b83(0x28d)](_0xc375e4[_0x2d0b83(0x1d8)]);}catch(_0x431ac5){return Promise[_0x2d0b83(0x28d)](_0x431ac5);}}async['saveImage'](_0x54c24e){const _0xd9b685=_0x519f42;let _0x43dd36='';if(!Qs[_0xd9b685(0x55d)](_0x54c24e[_0xd9b685(0x1d1)]))return this[_0xd9b685(0x53c)](),Promise[_0xd9b685(0x28d)](new Error(te[_0xd9b685(0x4c5)][_0xd9b685(0x41a)]));if(_0x54c24e['size']>eo)return this[_0xd9b685(0x53c)](),Promise[_0xd9b685(0x28d)](new Error(te[_0xd9b685(0x4c5)][_0xd9b685(0x47a)]));try{const _0x57fee4=new FormData();_0x57fee4[_0xd9b685(0x196)](_0xd9b685(0x198),_0x54c24e);const _0x5ee945=this[_0xd9b685(0x403)][_0xd9b685(0x5a3)](),_0xb06313=_0x5ee945==null?void 0x0:_0x5ee945[_0xd9b685(0x238)]();if(!_0xb06313)throw new Error(_0xd9b685(0x319));const _0xc6bb9e=this[_0xd9b685(0x616)]()+'?size='+_0x54c24e['size'][_0xd9b685(0x1a0)]()+_0xd9b685(0x274)+Ti['UnitEmbedded']+_0xd9b685(0x5cc)+encodeURIComponent(_0xb06313),_0x4941cf=await(await fetch(_0xc6bb9e,{'method':_0xd9b685(0x18b),'body':_0x57fee4}))[_0xd9b685(0x40d)]();if(typeof _0x4941cf[_0xd9b685(0x4e2)]!=_0xd9b685(0x32b))return this['_decreaseWaiting'](),Promise[_0xd9b685(0x28d)](new Error(te[_0xd9b685(0x4c5)][_0xd9b685(0x40c)]));_0x43dd36=_0x4941cf['FileId'];}catch{return this[_0xd9b685(0x53c)](),Promise[_0xd9b685(0x28d)](new Error(te[_0xd9b685(0x4c5)]['ERROR_IMAGE']));}return new Promise((_0x194aaa,_0x3d2073)=>{const _0x32cf2b=_0xd9b685,_0x322b9c=new FileReader();_0x322b9c[_0x32cf2b(0x33d)](_0x54c24e),_0x322b9c[_0x32cf2b(0x363)]=_0x2991db=>{const _0xc70872=_0x32cf2b;var _0x190b7f;const _0x3b6616=(_0x190b7f=_0x2991db['target'])==null?void 0x0:_0x190b7f[_0xc70872(0x5f0)];if(_0x3b6616==null){this[_0xc70872(0x53c)](),_0x3d2073(new Error(te[_0xc70872(0x4c5)][_0xc70872(0x40c)]));return;}const _0x1689a9=a[_0xc70872(0x2c8)]['generateRandomId'](0x6);_0x194aaa({'imageId':_0x1689a9,'imageSourceType':te[_0xc70872(0x342)][_0xc70872(0x3dd)],'source':_0x43dd36,'base64Cache':_0x3b6616,'status':te[_0xc70872(0x4c5)]['SUCCUSS']}),this[_0xc70872(0x53c)]();};});}[_0x519f42(0x616)](){const _0x45c663=_0x519f42;var _0x38a9f8,_0x3f9401;const _0x5ed00f=this[_0x45c663(0x193)]['getConfig'](to),_0x83fbaa=this[_0x45c663(0x193)][_0x45c663(0x4ba)](Z);return(_0x3f9401=(_0x38a9f8=_0x83fbaa==null?void 0x0:_0x83fbaa[_0x45c663(0x506)])!=null?_0x38a9f8:_0x5ed00f)!=null?_0x3f9401:io;}[_0x519f42(0x34e)](){const _0x36fd4b=_0x519f42;var _0xe6df39,_0x47327b;const _0x1207ec=this['_configService'][_0x36fd4b(0x4ba)](no),_0x37fc18=this[_0x36fd4b(0x193)]['getConfig'](Z);return(_0x47327b=(_0xe6df39=_0x37fc18==null?void 0x0:_0x37fc18['signUrlServerUrl'])!=null?_0xe6df39:_0x1207ec)!=null?_0x47327b:ro;}['_getDownloadEndpointURL'](){const _0x44ec60=_0x519f42;var _0x2ee6b8;const _0x1aef3e=this['_configService']['getConfig'](Z);return(_0x2ee6b8=_0x1aef3e==null?void 0x0:_0x1aef3e[_0x44ec60(0x59a)])!=null?_0x2ee6b8:location[_0x44ec60(0x34f)];}[_0x519f42(0x56a)](_0x48cfde,_0x10475a){const _0x1cc47d=_0x519f42;return _0x48cfde[_0x1cc47d(0x2e5)](_0x1cc47d(0x57f),_0x10475a);}[_0x519f42(0x53c)](){const _0x4dcc96=_0x519f42;this[_0x4dcc96(0x37e)]-=0x1,this[_0x4dcc96(0x38c)][_0x4dcc96(0x213)](this[_0x4dcc96(0x37e)]);}},exports['CollabrationImageIoService']=Zs([Et(0x0,a[_0x519f42(0x3b4)](z[_0x519f42(0x623)])),Et(0x1,a[_0x519f42(0x4e5)]),Et(0x2,a[_0x519f42(0x3b4)](a['IUniverInstanceService']))],exports[_0x519f42(0x498)]);var so=Object[_0x519f42(0x360)],oo=Object['getOwnPropertyDescriptor'],ao=(_0x54f701,_0x3ff512,_0x50aea9,_0x455d53)=>{const _0x4119fc=_0x519f42;for(var _0x24bb66=_0x455d53>0x1?void 0x0:_0x455d53?oo(_0x3ff512,_0x50aea9):_0x3ff512,_0x587fbd=_0x54f701[_0x4119fc(0x53a)]-0x1,_0xdba5ee;_0x587fbd>=0x0;_0x587fbd--)(_0xdba5ee=_0x54f701[_0x587fbd])&&(_0x24bb66=(_0x455d53?_0xdba5ee(_0x3ff512,_0x50aea9,_0x24bb66):_0xdba5ee(_0x24bb66))||_0x24bb66);return _0x455d53&&_0x24bb66&&so(_0x3ff512,_0x50aea9,_0x24bb66),_0x24bb66;},ui=(_0x387923,_0x249a00)=>(_0x141455,_0x5d2245)=>_0x249a00(_0x141455,_0x5d2245,_0x387923);function _0x3f43(_0x416233,_0x76d056){const _0x13672b=_0x1367();return _0x3f43=function(_0x3f4315,_0x5cdd34){_0x3f4315=_0x3f4315-0x175;let _0x284b89=_0x13672b[_0x3f4315];return _0x284b89;},_0x3f43(_0x416233,_0x76d056);}const co=_0x519f42(0x343);exports['MentionIoHttpService']=class{constructor(_0x5a3c64,_0x15e4f3){const _0x2d5fce=_0x519f42;this[_0x2d5fce(0x193)]=_0x5a3c64,this[_0x2d5fce(0x51d)]=_0x15e4f3;}[_0x519f42(0x394)](){const _0x4f6431=_0x519f42;var _0x26a63b,_0x2b4863;const _0x255dc6=this[_0x4f6431(0x193)][_0x4f6431(0x4ba)](xt),_0x56c1e5=this[_0x4f6431(0x193)][_0x4f6431(0x4ba)](Z);return(_0x2b4863=(_0x26a63b=_0x56c1e5==null?void 0x0:_0x56c1e5['authzUrl'])!=null?_0x26a63b:_0x255dc6)!=null?_0x2b4863:co;}async[_0x519f42(0x2af)](_0x1905d1){const _0x53f48c=_0x519f42,_0x3d4df2=this[_0x53f48c(0x394)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this['_HTTPService']['get'](_0x3d4df2,{'params':{'objectID':_0x1905d1[_0x53f48c(0x235)],'unitID':_0x1905d1['unitId']}}))[_0x53f48c(0x32d)][_0x53f48c(0x580)][_0x53f48c(0x444)](_0x402d52=>({'objectId':_0x402d52['id'],'name':_0x402d52[_0x53f48c(0x43b)][_0x53f48c(0x3b2)],'metadata':{'icon':_0x402d52['subject'][_0x53f48c(0x1b4)]},'label':_0x402d52[_0x53f48c(0x43b)][_0x53f48c(0x3b2)],'objectType':a[_0x53f48c(0x51e)][_0x53f48c(0x497)]})),'metadata':{},'type':a[_0x53f48c(0x51e)]['PERSON']}]};}},exports[_0x519f42(0x561)]=ao([ui(0x0,a['Inject'](a[_0x519f42(0x4e5)])),ui(0x1,a[_0x519f42(0x3b4)](z['HTTPService']))],exports[_0x519f42(0x561)]);var lo=Object['defineProperty'],ho=Object[_0x519f42(0x544)],_o=(_0x500acb,_0x343942,_0x2f7a3b,_0x237b16)=>{const _0x12ffad=_0x519f42;for(var _0x279fd7=_0x237b16>0x1?void 0x0:_0x237b16?ho(_0x343942,_0x2f7a3b):_0x343942,_0x14c42d=_0x500acb[_0x12ffad(0x53a)]-0x1,_0x251668;_0x14c42d>=0x0;_0x14c42d--)(_0x251668=_0x500acb[_0x14c42d])&&(_0x279fd7=(_0x237b16?_0x251668(_0x343942,_0x2f7a3b,_0x279fd7):_0x251668(_0x279fd7))||_0x279fd7);return _0x237b16&&_0x279fd7&&lo(_0x343942,_0x2f7a3b,_0x279fd7),_0x279fd7;},Ne=(_0x2efc52,_0x1d8fde)=>(_0x387500,_0xa5a647)=>_0x1d8fde(_0x387500,_0xa5a647,_0x2efc52);let ot=class extends a[_0x519f42(0x275)]{constructor(_0xde4376,_0xad7d6d,_0x4a4e0c,_0x2b5c52,_0x4d6de5){const _0x2629bc=_0x519f42;super(),this[_0x2629bc(0x590)]=_0xde4376,this['_univerInstanceService']=_0xad7d6d,this['_permissionService']=_0x4a4e0c,this[_0x2629bc(0x5ea)]=_0x2b5c52,this[_0x2629bc(0x52f)]=_0x4d6de5,this[_0x2629bc(0x39b)](),this[_0x2629bc(0x37f)]();}[_0x519f42(0x37f)](){const _0x56d978=_0x519f42,_0x34bbde=async _0x2ffe98=>{const _0x324625=_0x3f43;(await this[_0x324625(0x5ea)][_0x324625(0x295)](_0x2ffe98))[_0x324625(0x4c0)][_0x324625(0x641)](V[_0x324625(0x1ae)](_0x252067=>_0x252067[_0x324625(0x509)]===m[_0x324625(0x3bc)][_0x324625(0x502)]),V[_0x324625(0x1e9)](this[_0x324625(0x191)]))[_0x324625(0x1db)](_0x3dc950=>{const _0x934589=_0x324625,_0x1fd29f=_0x3dc950,{reason:_0x4da1c3}=_0x1fd29f[_0x934589(0x2f1)];this[_0x934589(0x590)][_0x934589(0x4a6)](ee[_0x934589(0x4c8)])[_0x934589(0x1e6)]({'type':Ce[_0x934589(0x57a)][_0x934589(0x45a)],'content':this[_0x934589(0x52f)]['t'](_0x934589(0x284))+'('+_0x4da1c3+')'}),this[_0x934589(0x409)][_0x934589(0x4d1)](new k[(_0x934589(0x26e))](_0x2ffe98)['id'],!0x1),this['_collaborationSessionService'][_0x934589(0x2e6)](_0x2ffe98);});};N[_0x56d978(0x3b8)](this['_univerInstanceService'][_0x56d978(0x253)](a[_0x56d978(0x475)][_0x56d978(0x248)]),this[_0x56d978(0x403)]['getTypeOfUnitAdded$'](a[_0x56d978(0x475)][_0x56d978(0x249)]))[_0x56d978(0x641)](V['map'](_0x55417c=>_0x55417c['getUnitId']()),V['filter'](_0x323183=>!a[_0x56d978(0x529)](_0x323183)),V[_0x56d978(0x1e9)](this[_0x56d978(0x191)]))['subscribe'](_0x52ef94=>{_0x34bbde(_0x52ef94);});}['_initUnitPermissionChange'](){const _0x452c41=_0x519f42,_0x3b9024=async _0x209756=>{const _0x5098f7=_0x3f43;(await this[_0x5098f7(0x5ea)][_0x5098f7(0x295)](_0x209756))[_0x5098f7(0x4c0)][_0x5098f7(0x641)](V[_0x5098f7(0x1ae)](_0x17254f=>_0x17254f[_0x5098f7(0x509)]===m['CollaborationEvent'][_0x5098f7(0x605)]),V['takeUntil'](this[_0x5098f7(0x191)]))[_0x5098f7(0x1db)](_0x6d9c52=>{const _0x4ddf37=_0x5098f7,_0x2f19ff=_0x6d9c52,{objectId:_0x27e1a9}=_0x2f19ff['data'],_0x2c2915=this['_injector'][_0x4ddf37(0x4a6)](Le[_0x4ddf37(0x5bf)]);_0x27e1a9===_0x209756?_0x2c2915[_0x4ddf37(0x490)](_0x209756):_0x2c2915[_0x4ddf37(0x1df)](_0x209756,_0x27e1a9);});};N[_0x452c41(0x3b8)](this[_0x452c41(0x403)][_0x452c41(0x253)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x452c41(0x403)][_0x452c41(0x253)](a['UniverInstanceType'][_0x452c41(0x249)]))[_0x452c41(0x641)](V['map'](_0x263cd6=>_0x263cd6['getUnitId']()),V['filter'](_0x39b2ae=>!a[_0x452c41(0x529)](_0x39b2ae)),V[_0x452c41(0x1e9)](this[_0x452c41(0x191)]))[_0x452c41(0x1db)](_0x1e6f5e=>{_0x3b9024(_0x1e6f5e);});}};ot=_o([Ne(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),Ne(0x1,a[_0x519f42(0x4aa)]),Ne(0x2,a[_0x519f42(0x3ed)]),Ne(0x3,a['Inject'](exports[_0x519f42(0x4ae)])),Ne(0x4,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)]))],ot);var uo=Object[_0x519f42(0x360)],fo=Object['getOwnPropertyDescriptor'],vo=(_0x3efe29,_0xc27bd,_0x446e75,_0x1a9209)=>{const _0x1499ee=_0x519f42;for(var _0x4558ef=_0x1a9209>0x1?void 0x0:_0x1a9209?fo(_0xc27bd,_0x446e75):_0xc27bd,_0x39cda4=_0x3efe29[_0x1499ee(0x53a)]-0x1,_0x4a92dc;_0x39cda4>=0x0;_0x39cda4--)(_0x4a92dc=_0x3efe29[_0x39cda4])&&(_0x4558ef=(_0x1a9209?_0x4a92dc(_0xc27bd,_0x446e75,_0x4558ef):_0x4a92dc(_0x4558ef))||_0x4558ef);return _0x1a9209&&_0x4558ef&&uo(_0xc27bd,_0x446e75,_0x4558ef),_0x4558ef;},di=(_0x5e863f,_0xfaafa7)=>(_0x313451,_0x3453a1)=>_0xfaafa7(_0x313451,_0x3453a1,_0x5e863f);exports[_0x519f42(0x49b)]=class{constructor(_0x5b74d9,_0x5469be){const _0x5cdf1d=_0x519f42;this[_0x5cdf1d(0x193)]=_0x5b74d9,this[_0x5cdf1d(0x2a1)]=_0x5469be;}async[_0x519f42(0x2a3)](_0x4e954b,_0x4f22ee){const _0x4c14d0=_0x519f42;var _0x1708e5;const {unitID:_0x2da39d,type:_0x52654a,revision:_0x4d3c54=0x0}=_0x4f22ee,_0x1d1d0b=this[_0x4c14d0(0x39c)]()+'/'+_0x52654a+_0x4c14d0(0x4ee)+_0x2da39d+_0x4c14d0(0x348)+_0x4d3c54,_0x36c5ca=(await this[_0x4c14d0(0x2a1)][_0x4c14d0(0x4a6)](_0x1d1d0b))[_0x4c14d0(0x32d)],_0x30607c=(_0x1708e5=_0x36c5ca[_0x4c14d0(0x3e0)])==null?void 0x0:_0x1708e5['workbook'];if(_0x30607c){const _0x3ab74b=_0x30607c==null?void 0x0:_0x30607c[_0x4c14d0(0x487)],_0x14eb92=m[_0x4c14d0(0x639)][_0x4c14d0(0x1ec)](m[_0x4c14d0(0x17c)](_0x3ab74b));_0x30607c[_0x4c14d0(0x487)]=_0x14eb92,Object[_0x4c14d0(0x36d)](_0x30607c['sheets'])['forEach'](([,_0x47f824])=>{const _0x2e2c1d=_0x4c14d0,_0x3b2493=_0x47f824['originalMeta'],_0x2f8b58=m['textEncoder']['encode'](m[_0x2e2c1d(0x17c)](_0x3b2493));_0x47f824['originalMeta']=_0x2f8b58;});}return _0x36c5ca;}async[_0x519f42(0x437)](_0x1df13a,_0x2bf9e2){const _0x28271c=_0x519f42,{unitID:_0x433f7b,type:_0x34680e,blockID:_0x4caa99}=_0x2bf9e2,_0xa28a98=this['_getAPIPrefix']()+'/'+_0x34680e+_0x28271c(0x4ee)+_0x433f7b+_0x28271c(0x565)+_0x4caa99;return(await this[_0x28271c(0x2a1)][_0x28271c(0x4a6)](_0xa28a98))[_0x28271c(0x32d)];}async['getDeserializedSheetBlock'](_0x3f6905,_0x3a4382){const _0x555f05=_0x519f42,{unitID:_0x1d14a8,type:_0x54a530,blockID:_0x2e21ad}=_0x3a4382,_0x5e7c11=this['_getAPIPrefix']()+_0x555f05(0x565)+_0x54a530+'/unit/'+_0x1d14a8+_0x555f05(0x565)+_0x2e21ad;return(await this[_0x555f05(0x2a1)][_0x555f05(0x4a6)](_0x5e7c11))[_0x555f05(0x32d)];}async[_0x519f42(0x2bd)](_0x5d73bb,_0x9ec84e){const _0xf2aedd=_0x519f42,{unitID:_0x51c34a,type:_0x5c0949,from:_0x4d2005,to:_0x5976cf}=_0x9ec84e,_0x183ac3=this[_0xf2aedd(0x457)]()+'/'+_0x5c0949+_0xf2aedd(0x4ee)+_0x51c34a+_0xf2aedd(0x5e4)+_0x4d2005+_0xf2aedd(0x469)+_0x5976cf;return(await this[_0xf2aedd(0x2a1)][_0xf2aedd(0x4a6)](_0x183ac3))[_0xf2aedd(0x32d)];}['getSnapshotAPIPath'](){const _0x2eeb63=_0x519f42;var _0x2efa7a;return(_0x2efa7a=this['_configService'][_0x2eeb63(0x4ba)](vi))!=null?_0x2efa7a:this[_0x2eeb63(0x457)]();}['_getAPIPrefix'](){const _0x23ab35=_0x519f42;var _0x2f464f,_0x227bfe;const _0x52e6fe=this[_0x23ab35(0x193)][_0x23ab35(0x4ba)](fi),_0x408dee=this[_0x23ab35(0x193)]['getConfig'](Z);return(_0x227bfe=(_0x2f464f=_0x408dee==null?void 0x0:_0x408dee['snapshotServerUrl'])!=null?_0x2f464f:_0x52e6fe)!=null?_0x227bfe:qi;}async[_0x519f42(0x5c7)](_0x83ee6c,_0x25b2e1){const _0x51bf4c=_0x519f42,_0x33b08e=_0x51bf4c(0x55e)+_0x25b2e1[_0x51bf4c(0x1d1)]+_0x51bf4c(0x4ee)+_0x25b2e1[_0x51bf4c(0x57d)]+_0x51bf4c(0x505);return(await this[_0x51bf4c(0x2a1)][_0x51bf4c(0x4a6)](_0x33b08e,{'params':{'resourceId':JSON['stringify'](_0x25b2e1['resourceIDs'])}}))['body'];}[_0x519f42(0x591)](){const _0x4532f6=_0x519f42;throw new Error(_0x4532f6(0x3b3));}[_0x519f42(0x52a)](){const _0x2c991b=_0x519f42;throw new Error(_0x2c991b(0x3b3));}[_0x519f42(0x58e)](){const _0x5af1ca=_0x519f42;throw new Error(_0x5af1ca(0x3b3));}[_0x519f42(0x3c2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x519f42(0x3f1)](){const _0x24d09e=_0x519f42;throw new Error(_0x24d09e(0x3b3));}},exports[_0x519f42(0x49b)]=vo([di(0x0,a[_0x519f42(0x4e5)]),di(0x1,a[_0x519f42(0x3b4)](z[_0x519f42(0x623)]))],exports[_0x519f42(0x49b)]);var So=Object['defineProperty'],po=Object['getOwnPropertyDescriptor'],mo=(_0x381ac0,_0x11ac63,_0xffc08a,_0x449826)=>{for(var _0x53cb29=_0x449826>0x1?void 0x0:_0x449826?po(_0x11ac63,_0xffc08a):_0x11ac63,_0x522354=_0x381ac0['length']-0x1,_0x57f5b7;_0x522354>=0x0;_0x522354--)(_0x57f5b7=_0x381ac0[_0x522354])&&(_0x53cb29=(_0x449826?_0x57f5b7(_0x11ac63,_0xffc08a,_0x53cb29):_0x57f5b7(_0x53cb29))||_0x53cb29);return _0x449826&&_0x53cb29&&So(_0x11ac63,_0xffc08a,_0x53cb29),_0x53cb29;},Ae=(_0x34d3e1,_0x28ce69)=>(_0x4cf18a,_0x1c87f4)=>_0x28ce69(_0x4cf18a,_0x1c87f4,_0x34d3e1);let yt=class extends a[_0x519f42(0x536)]{constructor(_0x459c31,_0x3fcdc7,_0x6865a5,_0x53053f,_0x5bf9e9){const _0x28de48=_0x519f42;super(_0x459c31,_0x3fcdc7,_0x6865a5),this[_0x28de48(0x2b6)]=_0x53053f,this['_logService']=_0x5bf9e9;}[_0x519f42(0x46b)](_0xc6361d,_0x60625b){const _0x259503=_0x519f42,_0x3d3cdb=this['_getUndoStack'](_0xc6361d);if(_0x3d3cdb)try{const _0x4fe70f=this['_transformStack'](_0x3d3cdb,_0x60625b);this[_0x259503(0x3a5)](_0xc6361d,_0x4fe70f);}catch(_0xa13a3f){this[_0x259503(0x392)][_0x259503(0x1d8)](_0x259503(0x51b),_0xa13a3f),this[_0x259503(0x4be)](_0xc6361d);}const _0x5cb428=this[_0x259503(0x41c)](_0xc6361d);if(_0x5cb428)try{const _0x583a05=this[_0x259503(0x340)](_0x5cb428,_0x60625b);this[_0x259503(0x346)](_0xc6361d,_0x583a05);}catch(_0x5cdfd9){this[_0x259503(0x392)][_0x259503(0x1d8)](_0x5cdfd9),this[_0x259503(0x411)](_0xc6361d);}}['_clearUndo'](_0x5c5726){const _0x4cde32=_0x519f42,_0x14401d=this[_0x4cde32(0x5a1)](_0x5c5726);_0x14401d&&(_0x14401d[_0x4cde32(0x53a)]=0x0,this[_0x4cde32(0x645)]());}[_0x519f42(0x411)](_0x53d4d1){const _0x5adf26=_0x519f42,_0x301f3a=this[_0x5adf26(0x41c)](_0x53d4d1);_0x301f3a&&(_0x301f3a[_0x5adf26(0x53a)]=0x0,this[_0x5adf26(0x645)]());}[_0x519f42(0x3a5)](_0x1d8484,_0x136d81){const _0x589a53=_0x519f42;this['_undoStacks'][_0x589a53(0x3e1)](_0x1d8484,_0x136d81),this[_0x589a53(0x645)]();}['_substituteRedoStack'](_0x17add8,_0x3eb8f4){const _0x427e61=_0x519f42;this[_0x427e61(0x5c4)][_0x427e61(0x3e1)](_0x17add8,_0x3eb8f4),this[_0x427e61(0x645)]();}['_transformStack'](_0x25cc24,_0x305cae){const _0x4e4616=_0x519f42,_0x924f0a=[];let _0x4c3786=_0x305cae,_0x1aec9e=_0x305cae;for(let _0x4bf15b=_0x25cc24[_0x4e4616(0x53a)]-0x1;_0x4bf15b>=0x0;_0x4bf15b--){const {unitID:_0x4aff13,undoMutations:_0x53b524,redoMutations:_0x2bafa9}=_0x25cc24[_0x4bf15b],_0x125fc0=this[_0x4e4616(0x2b6)][_0x4e4616(0x187)](_0x4c3786,_0x53b524),_0x5cb66a=this[_0x4e4616(0x2b6)][_0x4e4616(0x187)](_0x1aec9e,_0x2bafa9);if(m['isTransformMutationsWithChangesetFailure'](_0x125fc0)||m['isTransformMutationsWithChangesetFailure'](_0x5cb66a)){this[_0x4e4616(0x392)][_0x4e4616(0x1d8)]('[CollaborationUndoRedoService]',_0x4e4616(0x512),_0x125fc0,_0x5cb66a);break;}_0x4c3786=_0x125fc0[_0x4e4616(0x3b6)],_0x1aec9e=_0x5cb66a[_0x4e4616(0x3b6)],_0x924f0a[_0x4e4616(0x205)]({'unitID':_0x4aff13,'undoMutations':_0x125fc0[_0x4e4616(0x20d)],'redoMutations':_0x5cb66a[_0x4e4616(0x20d)]});}return _0x924f0a['reverse']();}};yt=mo([Ae(0x0,a['IUniverInstanceService']),Ae(0x1,a['ICommandService']),Ae(0x2,a[_0x519f42(0x63a)]),Ae(0x3,m[_0x519f42(0x562)]),Ae(0x4,a[_0x519f42(0x5eb)])],yt);class ki extends a[_0x519f42(0x275)]{constructor(){const _0x10d01d=_0x519f42;super(),I(this,_0x10d01d(0x513)),this[_0x10d01d(0x513)]=N[_0x10d01d(0x3d0)](window,_0x10d01d(0x3e6))[_0x10d01d(0x641)](N[_0x10d01d(0x1e9)](this['dispose$']),N[_0x10d01d(0x3cb)](0x1),N[_0x10d01d(0x364)](void 0x0));}['setParam'](_0x234937,_0x33918d,_0x463d18=!0x1){const _0x3d9fa0=_0x519f42,_0x2f59c9=new URL(window['location'][_0x3d9fa0(0x1c8)]);_0x2f59c9[_0x3d9fa0(0x197)][_0x3d9fa0(0x3e1)](_0x234937,_0x33918d),_0x463d18?window[_0x3d9fa0(0x378)][_0x3d9fa0(0x606)]('','',_0x2f59c9[_0x3d9fa0(0x1a0)]()):window['history'][_0x3d9fa0(0x4a1)]('','',_0x2f59c9[_0x3d9fa0(0x1a0)]());}[_0x519f42(0x410)](_0x3cbafb,_0x3af625=!0x1){const _0x4af19b=_0x519f42,_0x15ad09=new URL(window[_0x4af19b(0x376)]['href']);_0x15ad09[_0x4af19b(0x197)]['delete'](_0x3cbafb),_0x3af625?window[_0x4af19b(0x378)]['replaceState']('','',_0x15ad09[_0x4af19b(0x1a0)]()):window[_0x4af19b(0x378)][_0x4af19b(0x4a1)]('','',_0x15ad09['toString']());}['getParam'](_0x28e086){const _0x2e5945=_0x519f42;var _0x543c13;return(_0x543c13=new URL(window[_0x2e5945(0x376)]['href'])[_0x2e5945(0x197)][_0x2e5945(0x4a6)](_0x28e086))!=null?_0x543c13:void 0x0;}}var Wi=Object[_0x519f42(0x360)],go=Object[_0x519f42(0x544)],Io=(_0x977741,_0x5a4344,_0xb631c7)=>_0x5a4344 in _0x977741?Wi(_0x977741,_0x5a4344,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb631c7}):_0x977741[_0x5a4344]=_0xb631c7,Co=(_0x33d0b7,_0x43ef96,_0x634455,_0x3670eb)=>{const _0x130a69=_0x519f42;for(var _0x1ab9e7=_0x3670eb>0x1?void 0x0:_0x3670eb?go(_0x43ef96,_0x634455):_0x43ef96,_0x29cf55=_0x33d0b7[_0x130a69(0x53a)]-0x1,_0x1d3711;_0x29cf55>=0x0;_0x29cf55--)(_0x1d3711=_0x33d0b7[_0x29cf55])&&(_0x1ab9e7=(_0x3670eb?_0x1d3711(_0x43ef96,_0x634455,_0x1ab9e7):_0x1d3711(_0x1ab9e7))||_0x1ab9e7);return _0x3670eb&&_0x1ab9e7&&Wi(_0x43ef96,_0x634455,_0x1ab9e7),_0x1ab9e7;},Be=(_0x5d7d0f,_0x272148)=>(_0x3e894c,_0x2a9faa)=>_0x272148(_0x3e894c,_0x2a9faa,_0x5d7d0f),Eo=(_0x409ace,_0x8b3fb3,_0x28fbc8)=>Io(_0x409ace,_0x8b3fb3+'',_0x28fbc8);const bo=_0x519f42(0x46d);exports[_0x519f42(0x30f)]=class extends a[_0x519f42(0x572)]{constructor(_0x17229d=sn,_0x528f1f,_0x5b0862,_0xf5b4e4,_0x2f387c){const _0x266758=_0x519f42;super(),this[_0x266758(0x293)]=_0x17229d,this[_0x266758(0x392)]=_0x528f1f,this[_0x266758(0x42c)]=_0x5b0862,this[_0x266758(0x590)]=_0xf5b4e4,this[_0x266758(0x193)]=_0x2f387c;const {..._0x1c7895}=this[_0x266758(0x293)];this[_0x266758(0x193)][_0x266758(0x1d2)](Z,_0x1c7895);}[_0x519f42(0x29a)](){const _0x50c028=_0x519f42;this[_0x50c028(0x369)](),this[_0x50c028(0x186)]();}['onReady'](){const _0x2d1085=_0x519f42;a[_0x2d1085(0x43f)](this[_0x2d1085(0x590)],[[nt],[it]]);}[_0x519f42(0x2cb)](){this['_registerRenderDependencies']();}[_0x519f42(0x369)](){const _0x52edca=_0x519f42;var _0x43ca0c,_0x4ab757,_0x12c949,_0x239bf9;this[_0x52edca(0x590)]['has'](a[_0x52edca(0x2da)])&&this['_logService'][_0x52edca(0x1d8)]('[UniverCollaborationClientPlugin]',_0x52edca(0x27d));const _0x491abb=[[a[_0x52edca(0x2da)],{'useClass':yt}],[exports[_0x52edca(0x4ae)]],[Nt],[Lt,{'useClass':ki}],[exports[_0x52edca(0x1f6)]],[exports[_0x52edca(0x467)]],[z[_0x52edca(0x2d9)]],[Qe],[tt],[Ze],[et],[Ut],[rt],[st],[wt],[ot],[Pt,{'useClass':(_0x4ab757=(_0x43ca0c=this['_config'])==null?void 0x0:_0x43ca0c[_0x52edca(0x45d)])!=null?_0x4ab757:exports[_0x52edca(0x1cb)]}],[m[_0x52edca(0x433)],{'useClass':exports[_0x52edca(0x49b)]}],[a[_0x52edca(0x23a)],{'useClass':exports['AuthzIoHttpService']}],[te[_0x52edca(0x43a)],{'useClass':exports['CollabrationImageIoService']}],[a[_0x52edca(0x24c)],{'useClass':exports[_0x52edca(0x561)]}],[exports[_0x52edca(0x321)]],[exports['DataLoaderController']],[exports[_0x52edca(0x460)]],[nt],[ye],[it]];(_0x12c949=this['_config'])!=null&&_0x12c949[_0x52edca(0x62a)]&&_0x491abb['push']([at,{'useClass':$n}]),a[_0x52edca(0x625)](this['_injector'],a[_0x52edca(0x63d)](_0x491abb,(_0x239bf9=this[_0x52edca(0x293)])==null?void 0x0:_0x239bf9['override']));}[_0x519f42(0x42f)](){const _0x58c2de=_0x519f42;this[_0x58c2de(0x5db)](this[_0x58c2de(0x42c)]['registerRenderModule'](a[_0x58c2de(0x475)][_0x58c2de(0x249)],[Rt])),this[_0x58c2de(0x5db)](this[_0x58c2de(0x42c)][_0x58c2de(0x620)](a[_0x58c2de(0x475)]['UNIVER_SHEET'],[Ot]));}['_initDependencies'](){const _0x2a5a1f=_0x519f42;var _0x1bbee4,_0x3c201e;this[_0x2a5a1f(0x590)][_0x2a5a1f(0x4a6)](z[_0x2a5a1f(0x623)])[_0x2a5a1f(0x5a0)]({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x1bbee4=this['_config'])!=null&&_0x1bbee4['enableOfflineEditing']||this[_0x2a5a1f(0x590)][_0x2a5a1f(0x4a6)](exports['LocalCacheService'])[_0x2a5a1f(0x5de)](),(_0x3c201e=this['_config'])!=null&&_0x3c201e[_0x2a5a1f(0x1f9)]&&a[_0x2a5a1f(0x43f)](this[_0x2a5a1f(0x590)],[[rt]]),a[_0x2a5a1f(0x43f)](this['_injector'],[[st],[ye],[exports['DataLoaderController']],[exports[_0x2a5a1f(0x321)]],[exports[_0x2a5a1f(0x460)]],[ot]]);}},Eo(exports[_0x519f42(0x30f)],_0x519f42(0x3e7),bo),exports[_0x519f42(0x30f)]=Co([a['DependentOn'](m[_0x519f42(0x49a)],z[_0x519f42(0x5b2)]),Be(0x1,a['ILogService']),Be(0x2,Y['IRenderManagerService']),Be(0x3,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),Be(0x4,a[_0x519f42(0x4e5)])],exports['UniverCollaborationClientPlugin']),exports[_0x519f42(0x5bc)]=xt,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Z,exports[_0x519f42(0x466)]=Ci,exports[_0x519f42(0x5df)]=Si,exports[_0x519f42(0x5e7)]=K,exports[_0x519f42(0x4f4)]=$i,exports[_0x519f42(0x334)]=wt,exports[_0x519f42(0x55a)]=pi,exports[_0x519f42(0x1f7)]=Dt,exports['ICollaborationSocketService']=Pt,exports[_0x519f42(0x5ba)]=Lt,exports[_0x519f42(0x1ac)]=Ii,exports['LOGIN_URL_KEY']=Ei,exports[_0x519f42(0x64b)]=gi,exports[_0x519f42(0x38f)]=Ki,exports[_0x519f42(0x384)]=fi,exports[_0x519f42(0x263)]=vi,exports[_0x519f42(0x3a6)]=ne,exports[_0x519f42(0x26b)]=Mi,exports['WebURLService']=ki,exports[_0x519f42(0x1a2)]=Ri,exports[_0x519f42(0x34d)]=Oi;
|