@univerjs-pro/collaboration-client 0.5.1-nightly.202412011605 → 0.5.1-nightly.202412031606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +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 +16 -16
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const _0x24e421=_0x5e3c;(function(_0x20c7eb,_0x31a023){const _0x40c2a2=_0x5e3c,_0x48bb02=_0x20c7eb();while(!![]){try{const _0x463fc1=parseInt(_0x40c2a2(0x684))/0x1+parseInt(_0x40c2a2(0x280))/0x2+parseInt(_0x40c2a2(0x2aa))/0x3*(parseInt(_0x40c2a2(0x4eb))/0x4)+-parseInt(_0x40c2a2(0x57e))/0x5+parseInt(_0x40c2a2(0x4d6))/0x6*(-parseInt(_0x40c2a2(0x3f3))/0x7)+-parseInt(_0x40c2a2(0x61a))/0x8*(parseInt(_0x40c2a2(0x4c3))/0x9)+parseInt(_0x40c2a2(0x56e))/0xa*(parseInt(_0x40c2a2(0x20a))/0xb);if(_0x463fc1===_0x31a023)break;else _0x48bb02['push'](_0x48bb02['shift']());}catch(_0x2c6e3f){_0x48bb02['push'](_0x48bb02['shift']());}}}(_0x13dd,0x2fc60));var Fi=Object['defineProperty'],Vi=(_0xb6a5f2,_0x2da7a8,_0x120643)=>_0x2da7a8 in _0xb6a5f2?Fi(_0xb6a5f2,_0x2da7a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x120643}):_0xb6a5f2[_0x2da7a8]=_0x120643,I=(_0x446196,_0x3168ce,_0x3c534e)=>Vi(_0x446196,typeof _0x3168ce!='symbol'?_0x3168ce+'':_0x3168ce,_0x3c534e);Object[_0x24e421(0x5bd)](exports,Symbol[_0x24e421(0x4cd)],{'value':'Module'});const a=require(_0x24e421(0x352)),N=require('rxjs'),V=require(_0x24e421(0x5e3)),Ce=require(_0x24e421(0x2c9)),z=require(_0x24e421(0x3b9)),ee=require('@univerjs/ui'),m=require(_0x24e421(0x53d)),Gi=require('@univerjs/telemetry'),Ie=require(_0x24e421(0x237)),J=require(_0x24e421(0x675)),k=require('@univerjs/sheets'),Y=require(_0x24e421(0x32a)),te=require('@univerjs/drawing'),$t=require(_0x24e421(0x2dd)),Le=require('@univerjs/sheets-ui'),oe=require(_0x24e421(0x4b4)),Yi=require(_0x24e421(0x2cc)),fi=_0x24e421(0x3ca),qi=_0x24e421(0x42d),vi='SNAPSHOT_URL_KEY',Ki=_0x24e421(0x25c),zi=0x7d0,Si=_0x24e421(0x320),Xi=_0x24e421(0x454),Ji='/universer-api/user/session-ticket',pi=_0x24e421(0x339),Zi=0x7530,Dt='HEARTBEAT_TIMEOUT',mi=0x4e20,Qi=0x4e20,gi=_0x24e421(0x28f),en=0x3,Ii=_0x24e421(0x41f),tn=0x3e8,Ci=_0x24e421(0x2dc),nn=_0x24e421(0x2ca),Ei='LOGIN_URL_KEY',rn=_0x24e421(0x24f);var bi=(_0x33a34d=>(_0x33a34d[_0x33a34d['UNDEFINED']=0x0]=_0x24e421(0x1c2),_0x33a34d[_0x33a34d['OK']=0x1]='OK',_0x33a34d[_0x33a34d[_0x24e421(0x4b6)]=0x2]=_0x24e421(0x4b6),_0x33a34d[_0x33a34d[_0x24e421(0x4bd)]=0x3]='PERMISSION_DENIED',_0x33a34d[_0x33a34d[_0x24e421(0x30b)]=0x4]='NOT_FOUND',_0x33a34d[_0x33a34d['UNAUTHENTICATED']=0x5]=_0x24e421(0x4a3),_0x33a34d[_0x33a34d[_0x24e421(0x685)]=0x6]=_0x24e421(0x685),_0x33a34d[_0x33a34d[_0x24e421(0x43b)]=0x7]=_0x24e421(0x43b),_0x33a34d[_0x33a34d[_0x24e421(0x4bb)]=0x8]=_0x24e421(0x4bb),_0x33a34d[_0x33a34d['COMPLETION_FINISHED']=0x9]=_0x24e421(0x3eb),_0x33a34d[_0x33a34d[_0x24e421(0x4a2)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x33a34d[_0x33a34d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x24e421(0x3f4),_0x33a34d[_0x33a34d[_0x24e421(0x43c)]=0x1772]=_0x24e421(0x43c),_0x33a34d[_0x33a34d[_0x24e421(0x1fc)]=0x1773]=_0x24e421(0x1fc),_0x33a34d[_0x33a34d[_0x24e421(0x30c)]=0x1b59]=_0x24e421(0x30c),_0x33a34d[_0x33a34d[_0x24e421(0x486)]=0x1b5a]=_0x24e421(0x486),_0x33a34d[_0x33a34d[_0x24e421(0x47e)]=0x1b5b]=_0x24e421(0x47e),_0x33a34d[_0x33a34d['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x33a34d[_0x33a34d[_0x24e421(0x296)]=0x1b5d]='APPLY_DUPLICATED',_0x33a34d[_0x33a34d['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x24e421(0x59d),_0x33a34d[_0x33a34d[_0x24e421(0x348)]=0x2329]=_0x24e421(0x348),_0x33a34d[_0x33a34d[_0x24e421(0x5c3)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x33a34d[_0x33a34d[_0x24e421(0x2c6)]=0x232b]=_0x24e421(0x2c6),_0x33a34d[_0x33a34d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x33a34d[_0x33a34d[_0x24e421(0x5da)]=0x232d]=_0x24e421(0x5da),_0x33a34d[_0x33a34d['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x24e421(0x4ed),_0x33a34d[_0x33a34d[_0x24e421(0x2c2)]=0x2712]=_0x24e421(0x2c2),_0x33a34d[_0x33a34d['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x24e421(0x5ee),_0x33a34d[_0x33a34d[_0x24e421(0x32d)]=0x2714]=_0x24e421(0x32d),_0x33a34d[_0x33a34d[_0x24e421(0x360)]=-0x1]=_0x24e421(0x360),_0x33a34d))(bi||{}),ie=(_0x17abce=>(_0x17abce[_0x17abce[_0x24e421(0x345)]=0x0]='UNIVER_UNKNOWN',_0x17abce[_0x17abce[_0x24e421(0x5b6)]=0x1]=_0x24e421(0x5b6),_0x17abce[_0x17abce[_0x24e421(0x4d1)]=0x2]=_0x24e421(0x4d1),_0x17abce[_0x17abce['UNIVER_SLIDE']=0x3]=_0x24e421(0x472),_0x17abce[_0x17abce['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x17abce[_0x17abce[_0x24e421(0x360)]=-0x1]='UNRECOGNIZED',_0x17abce))(ie||{}),G=(_0x27259e=>(_0x27259e[_0x27259e[_0x24e421(0x1e4)]=0x0]=_0x24e421(0x1e4),_0x27259e[_0x27259e[_0x24e421(0x1bd)]=0x1]=_0x24e421(0x1bd),_0x27259e[_0x27259e[_0x24e421(0x4fc)]=0x2]=_0x24e421(0x4fc),_0x27259e[_0x27259e[_0x24e421(0x47a)]=0x3]=_0x24e421(0x47a),_0x27259e[_0x27259e[_0x24e421(0x523)]=0x4]='INGEST',_0x27259e[_0x27259e[_0x24e421(0x536)]=0x5]=_0x24e421(0x536),_0x27259e[_0x27259e[_0x24e421(0x598)]=0x6]=_0x24e421(0x598),_0x27259e[_0x27259e[_0x24e421(0x360)]=-0x1]=_0x24e421(0x360),_0x27259e))(G||{}),ge=(_0x265be4=>(_0x265be4[_0x265be4[_0x24e421(0x2a3)]=0x0]='UNKNOWN_CODE',_0x265be4[_0x265be4['OK']=0x1]='OK',_0x265be4[_0x265be4[_0x24e421(0x5f6)]=0x2]=_0x24e421(0x5f6),_0x265be4[_0x265be4['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x265be4[_0x265be4[_0x24e421(0x374)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x265be4[_0x265be4[_0x24e421(0x2b9)]=0x3eb]=_0x24e421(0x2b9),_0x265be4[_0x265be4[_0x24e421(0x612)]=0x3ec]=_0x24e421(0x612),_0x265be4[_0x265be4['UNRECOGNIZED']=-0x1]=_0x24e421(0x360),_0x265be4))(ge||{}),Ti=(_0x5bda89=>(_0x5bda89[_0x5bda89[_0x24e421(0x428)]=0x0]=_0x24e421(0x428),_0x5bda89[_0x5bda89[_0x24e421(0x36c)]=0x1]=_0x24e421(0x36c),_0x5bda89[_0x5bda89[_0x24e421(0x21e)]=0x2]='HttpExport',_0x5bda89[_0x5bda89[_0x24e421(0x21b)]=0x3]=_0x24e421(0x21b),_0x5bda89[_0x5bda89[_0x24e421(0x62d)]=0x4]=_0x24e421(0x62d),_0x5bda89[_0x5bda89[_0x24e421(0x360)]=-0x1]=_0x24e421(0x360),_0x5bda89))(Ti||{});const Z=_0x24e421(0x58e),sn={};function Ri(_0x1998c7){const _0x37f020=_0x24e421;var _0x7bc4f8,_0x4dbe72,_0x4f3307,_0x24dcdf,_0x24c632;const _0x360755=_0x1998c7['data'],_0x2b30c7=JSON[_0x37f020(0x1f0)](_0x360755);switch(_0x2b30c7[_0x37f020(0x33d)]){case G['HEARTBEAT']:case G[_0x37f020(0x1bd)]:{const _0x1e6ea6=_0x2b30c7[_0x37f020(0x4e1)];return{..._0x2b30c7,'data':_0x1e6ea6,'cmd':_0x2b30c7[_0x37f020(0x33d)]};}case G[_0x37f020(0x4fc)]:{const _0x56e077=_0x2b30c7[_0x37f020(0x393)];return{..._0x2b30c7,'data':_0x56e077,'cmd':_0x2b30c7[_0x37f020(0x33d)]};}case G[_0x37f020(0x598)]:{const _0x1bf8d0=_0x2b30c7[_0x37f020(0x66c)];switch(_0x1bf8d0[_0x37f020(0x3c3)]){case m[_0x37f020(0x5b3)][_0x37f020(0x2d4)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':(_0x7bc4f8=_0x1bf8d0['permissionRejEvent'])==null?void 0x0:_0x7bc4f8['cs']},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m[_0x37f020(0x5b3)][_0x37f020(0x67a)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':(_0x4dbe72=_0x1bf8d0[_0x37f020(0x1bc)])==null?void 0x0:_0x4dbe72['cs']},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m[_0x37f020(0x5b3)]['NEW_CHANGESETS']:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':(_0x4f3307=_0x1bf8d0['newCsEvent'])==null?void 0x0:_0x4f3307['cs']},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m['CollaborationEvent'][_0x37f020(0x64b)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':(_0x24dcdf=_0x1bf8d0['csRejEvent'])==null?void 0x0:_0x24dcdf['cs']},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m['CollaborationEvent'][_0x37f020(0x5b2)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':(_0x24c632=_0x1bf8d0[_0x37f020(0x56f)])==null?void 0x0:_0x24c632['cs']},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0[_0x37f020(0x298)]},'cmd':_0x2b30c7['cmd']};case m[_0x37f020(0x5b3)][_0x37f020(0x5a8)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0[_0x37f020(0x602)]},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m['CollaborationEvent'][_0x37f020(0x231)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0[_0x37f020(0x61b)]},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m[_0x37f020(0x5b3)]['LIVESHARE_NEW_HOST']:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0[_0x37f020(0x40f)]},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m[_0x37f020(0x5b3)][_0x37f020(0x459)]:case m[_0x37f020(0x5b3)][_0x37f020(0x656)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0['liveShareOperation']},'cmd':_0x2b30c7['cmd']};case m[_0x37f020(0x5b3)][_0x37f020(0x2d6)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0['liveShareNewHost']},'cmd':_0x2b30c7['cmd']};case m['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x2b30c7,'data':_0x1bf8d0,'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m[_0x37f020(0x5b3)]['COMMENT_UPDATE']:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0[_0x37f020(0x35b)]},'cmd':_0x2b30c7['cmd']};case m[_0x37f020(0x5b3)]['UPDATE_PERMISSION_OBJ']:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0[_0x37f020(0x562)]},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m[_0x37f020(0x5b3)][_0x37f020(0x3f7)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0[_0x37f020(0x5a2)]},'cmd':_0x2b30c7[_0x37f020(0x33d)]};default:return _0x2b30c7;}}default:return _0x2b30c7;}}function Oi(_0x31670e){const _0x5dfe36=_0x24e421;switch(_0x31670e['cmd']){case G[_0x5dfe36(0x536)]:case G[_0x5dfe36(0x1bd)]:return JSON[_0x5dfe36(0x3a6)]({'cmd':_0x31670e[_0x5dfe36(0x33d)],'routeKey':_0x31670e[_0x5dfe36(0x4a6)]});case G[_0x5dfe36(0x523)]:{let _0x531eda;switch(_0x31670e['data'][_0x5dfe36(0x3c3)]){case m[_0x5dfe36(0x5b3)][_0x5dfe36(0x591)]:{_0x531eda={'eventID':m['CollaborationEvent'][_0x5dfe36(0x591)],'updateCursorEvent':_0x31670e[_0x5dfe36(0x25f)]['data']};break;}case m[_0x5dfe36(0x5b3)][_0x5dfe36(0x231)]:{_0x531eda={'eventID':m['CollaborationEvent'][_0x5dfe36(0x231)],'leaveEvent':_0x31670e['data'][_0x5dfe36(0x25f)]};break;}case m[_0x5dfe36(0x5b3)][_0x5dfe36(0x5a8)]:{_0x531eda={'eventID':m[_0x5dfe36(0x5b3)][_0x5dfe36(0x5a8)],'joinEvent':_0x31670e[_0x5dfe36(0x25f)][_0x5dfe36(0x25f)]};break;}case m[_0x5dfe36(0x5b3)][_0x5dfe36(0x346)]:{_0x531eda={'eventID':m[_0x5dfe36(0x5b3)][_0x5dfe36(0x346)],'liveShareNewHost':_0x31670e['data']['data']};break;}case m['CollaborationEvent'][_0x5dfe36(0x656)]:{_0x531eda={'eventID':m['CollaborationEvent'][_0x5dfe36(0x656)],'liveShareOperation':_0x31670e[_0x5dfe36(0x25f)][_0x5dfe36(0x25f)]};break;}case m[_0x5dfe36(0x5b3)][_0x5dfe36(0x2d6)]:{_0x531eda={'eventID':m['CollaborationEvent'][_0x5dfe36(0x2d6)],'liveShareTerminate':_0x31670e[_0x5dfe36(0x25f)]['data']};break;}case m[_0x5dfe36(0x5b3)][_0x5dfe36(0x3b1)]:{_0x531eda={'eventID':m[_0x5dfe36(0x5b3)][_0x5dfe36(0x3b1)],'liveShareRequestHost':_0x31670e[_0x5dfe36(0x25f)][_0x5dfe36(0x25f)]};break;}case m[_0x5dfe36(0x5b3)]['LIVESHARE_FETCH_OPERATIONS']:{_0x531eda={'eventID':m[_0x5dfe36(0x5b3)][_0x5dfe36(0x459)]};break;}default:_0x531eda={'eventID':_0x31670e[_0x5dfe36(0x25f)][_0x5dfe36(0x3c3)]};}return JSON[_0x5dfe36(0x3a6)]({'cmd':_0x31670e[_0x5dfe36(0x33d)],'routeKey':_0x31670e['routeKey'],'collaMsg':_0x531eda});}case G[_0x5dfe36(0x4fc)]:return JSON['stringify']({'cmd':_0x31670e['cmd'],'routeKey':_0x31670e[_0x5dfe36(0x4a6)],'joinReq':_0x31670e['data']});case G[_0x5dfe36(0x47a)]:return JSON['stringify']({'cmd':_0x31670e[_0x5dfe36(0x33d)],'routeKey':_0x31670e['routeKey'],'leaveReq':_0x31670e['data']});default:throw new Error(_0x5dfe36(0x3a4));}}var on=Object[_0x24e421(0x5bd)],an=Object[_0x24e421(0x221)],cn=(_0xe4eba1,_0x5ba672,_0x51841f,_0x5485d9)=>{const _0x43d023=_0x24e421;for(var _0x35b4ef=_0x5485d9>0x1?void 0x0:_0x5485d9?an(_0x5ba672,_0x51841f):_0x5ba672,_0x3a8ce6=_0xe4eba1[_0x43d023(0x3c9)]-0x1,_0x250555;_0x3a8ce6>=0x0;_0x3a8ce6--)(_0x250555=_0xe4eba1[_0x3a8ce6])&&(_0x35b4ef=(_0x5485d9?_0x250555(_0x5ba672,_0x51841f,_0x35b4ef):_0x250555(_0x35b4ef))||_0x35b4ef);return _0x5485d9&&_0x35b4ef&&on(_0x5ba672,_0x51841f,_0x35b4ef),_0x35b4ef;},De=(_0x22ffff,_0x4d1e91)=>(_0x229ba4,_0x32f87d)=>_0x4d1e91(_0x229ba4,_0x32f87d,_0x22ffff);const Pt=a['createIdentifier'](_0x24e421(0x54e));function ln(_0x195468,_0x22fa94,_0x277701){const _0xafaf72=_0x24e421;return _0x195468+'/'+_0x22fa94+_0xafaf72(0x1f8)+_0x277701+'/new_changes';}exports[_0x24e421(0x4ca)]=class extends a[_0x24e421(0x1fe)]{constructor(_0x7231b7,_0x935e74,_0x29e788,_0x13ead8,_0x83d8c7){const _0x19327e=_0x24e421;super(),this[_0x19327e(0x37d)]=_0x7231b7,this[_0x19327e(0x3ff)]=_0x935e74,this[_0x19327e(0x5c2)]=_0x29e788,this[_0x19327e(0x383)]=_0x13ead8,this[_0x19327e(0x609)]=_0x83d8c7;}[_0x24e421(0x33c)](_0x1101e2){const _0x568030=_0x24e421,_0x459302=this['_ws'][_0x568030(0x33c)](_0x1101e2);if(!_0x459302)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x12290a=new a['DisposableCollection'](),_0x337dd1=new N[(_0x568030(0x5fb))]();_0x12290a['add'](_0x459302[_0x568030(0x35a)][_0x568030(0x4d3)](_0x3c1df8=>_0x337dd1['next'](_0x3c1df8))),_0x12290a['add'](a['toDisposable'](()=>_0x337dd1[_0x568030(0x465)]()));const _0x16071d=new N['Subject']();_0x12290a[_0x568030(0x30a)](_0x459302[_0x568030(0x232)]['subscribe'](_0x4246b7=>_0x16071d['next'](_0x4246b7))),_0x12290a[_0x568030(0x30a)](a[_0x568030(0x2a4)](()=>_0x16071d[_0x568030(0x465)]()));const _0x568c09=new N[(_0x568030(0x5fb))]();_0x12290a[_0x568030(0x30a)](_0x459302[_0x568030(0x38c)][_0x568030(0x4d3)](_0x55be92=>{const _0x514a46=_0x568030,_0x2867b5=Ri(_0x55be92);_0x568c09[_0x514a46(0x65d)](_0x2867b5);})),_0x12290a[_0x568030(0x30a)](a['toDisposable'](()=>_0x568c09[_0x568030(0x465)]()));let _0xab996b;const _0x100f2c=()=>{const _0x335ea1=_0x568030;_0x16071d[_0x335ea1(0x65d)](new Event(_0x335ea1(0x34b))),_0x337dd1['next'](new CloseEvent(_0x335ea1(0x34b))),_0xab996b['close']();};return _0xab996b={'memberID':'','close$':_0x337dd1[_0x568030(0x285)](),'error$':_0x16071d[_0x568030(0x285)](),'open$':_0x459302[_0x568030(0x3d2)],'message$':_0x568c09[_0x568030(0x285)](),'send':_0x593ba0=>{const _0x2fcc7c=_0x568030;if(_0x593ba0[_0x2fcc7c(0x33d)]===G['INGEST']){if(_0x593ba0[_0x2fcc7c(0x25f)]['eventID']===m[_0x2fcc7c(0x5b3)][_0x2fcc7c(0x61f)]){this[_0x2fcc7c(0x1c9)](_0xab996b,_0x593ba0[_0x2fcc7c(0x25f)])[_0x2fcc7c(0x513)](_0x5ea956=>{const _0x41c442=_0x2fcc7c;this[_0x41c442(0x383)][_0x41c442(0x49e)](_0x5ea956),_0x100f2c();});return;}if(_0x593ba0[_0x2fcc7c(0x25f)][_0x2fcc7c(0x3c3)]===m[_0x2fcc7c(0x5b3)][_0x2fcc7c(0x48c)]){const _0x52bf6e=_0x593ba0[_0x2fcc7c(0x25f)];this['_fetchMissChangesets'](_0x52bf6e)[_0x2fcc7c(0x57d)](_0x271e9=>{const _0x27cd64=_0x2fcc7c;_0x568c09[_0x27cd64(0x65d)]({'cmd':G[_0x27cd64(0x598)],'code':ge['OK'],'routeKey':_0x52bf6e[_0x27cd64(0x25f)][_0x27cd64(0x1cb)],'routeType':'','data':{'eventID':m[_0x27cd64(0x5b3)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x271e9}}});})[_0x2fcc7c(0x513)](_0x961272=>{this['_logService']['error'](_0x961272),_0x100f2c();});return;}}_0x459302[_0x2fcc7c(0x325)](Oi(_0x593ba0));},'close':()=>{const _0x5eb388=_0x568030;_0x459302[_0x5eb388(0x394)](),_0x12290a[_0x5eb388(0x4cc)]();}},_0xab996b;}async['_submitChangeset'](_0x493c7e,_0xccd596){const _0x208761=_0x24e421;var _0x5b2452,_0x2e4461;const {unitType:_0x13f829,unitID:_0x3aa848,changeset:_0x445ef1}=_0xccd596['data'],_0x1bc892={'unitID':_0x3aa848,'memberID':_0x493c7e[_0x208761(0x1ef)],'type':_0x13f829,'changeset':m['parseChangesetToProtocol'](_0x445ef1)},_0x37cdad=this['_configService'][_0x208761(0x447)](Ci),_0x471f82=this[_0x208761(0x5c2)][_0x208761(0x447)](Z),_0x3a3eb0=ln((_0x2e4461=(_0x5b2452=_0x471f82==null?void 0x0:_0x471f82[_0x208761(0x4c1)])!=null?_0x5b2452:_0x37cdad)!=null?_0x2e4461:nn,_0x13f829,_0x3aa848);try{await this[_0x208761(0x37d)]['post'](_0x3a3eb0,{'body':_0x1bc892});}catch(_0x3d20b1){throw this[_0x208761(0x383)]['error'](_0x208761(0x1d6),'submit\x20changeset\x20error!'),_0x3d20b1;}}async['_fetchMissChangesets'](_0x1a22e9){const _0x4797da=_0x24e421,{unitID:_0xb5f373,from:_0x35fe43,to:_0x273c16,unitType:_0xeaa832}=_0x1a22e9[_0x4797da(0x25f)];return(await this[_0x4797da(0x609)][_0x4797da(0x453)]({'metadata':void 0x0},{'unitID':_0xb5f373,'type':_0xeaa832,'from':_0x35fe43,'to':_0x273c16}))[_0x4797da(0x33b)];}},exports['CollaborationSocketService']=cn([De(0x0,a[_0x24e421(0x52f)](z[_0x24e421(0x567)])),De(0x1,a[_0x24e421(0x52f)](z[_0x24e421(0x31a)])),De(0x2,a[_0x24e421(0x3ba)]),De(0x3,a['ILogService']),De(0x4,m[_0x24e421(0x36e)])],exports[_0x24e421(0x4ca)]);const hn=_0x24e421(0x39f);function _n(_0x60ad05){const _0x374aa8=_0x24e421;return JSON[_0x374aa8(0x3a6)](_0x60ad05)[_0x374aa8(0x3c9)];}class wt{constructor(){const _0xff9e74=_0x24e421;I(this,'_commentUpdate$',new N[(_0xff9e74(0x5fb))]()),I(this,'commentUpdate$',this[_0xff9e74(0x434)][_0xff9e74(0x285)]());}['onCommentUpdate'](_0x57073e){const _0x59b47e=_0x24e421;this[_0x59b47e(0x434)][_0x59b47e(0x65d)](_0x57073e);}}var un=Object[_0x24e421(0x5bd)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x26fedb,_0x2d4149,_0x19f4f4,_0x30807d)=>{const _0x3d1973=_0x24e421;for(var _0x17b3aa=_0x30807d>0x1?void 0x0:_0x30807d?dn(_0x2d4149,_0x19f4f4):_0x2d4149,_0x40177a=_0x26fedb[_0x3d1973(0x3c9)]-0x1,_0x557378;_0x40177a>=0x0;_0x40177a--)(_0x557378=_0x26fedb[_0x40177a])&&(_0x17b3aa=(_0x30807d?_0x557378(_0x2d4149,_0x19f4f4,_0x17b3aa):_0x557378(_0x17b3aa))||_0x17b3aa);return _0x30807d&&_0x17b3aa&&un(_0x2d4149,_0x19f4f4,_0x17b3aa),_0x17b3aa;},jt=(_0x2851d2,_0x1471c3)=>(_0x282f10,_0x21013f)=>_0x1471c3(_0x282f10,_0x21013f,_0x2851d2);exports['MemberService']=class extends a['Disposable']{constructor(_0x36c3fe,_0x1a1ea6){const _0x20da01=_0x24e421;super(),I(this,_0x20da01(0x60c),new Map()),(this['_univerInstanceService']=_0x36c3fe,this[_0x20da01(0x61c)]=_0x1a1ea6,this[_0x20da01(0x244)](a[_0x20da01(0x2a4)](N['merge'](this['_univerInstanceService'][_0x20da01(0x645)](a[_0x20da01(0x355)][_0x20da01(0x4d1)])[_0x20da01(0x551)](V[_0x20da01(0x49a)](_0x55a8ea=>_0x55a8ea[_0x20da01(0x60a)]())),this[_0x20da01(0x49f)]['getTypeOfUnitDisposed$'](a[_0x20da01(0x355)][_0x20da01(0x5b6)])['pipe'](V['map'](_0x52a412=>_0x52a412['getUnitId']())),this[_0x20da01(0x49f)][_0x20da01(0x645)](a[_0x20da01(0x355)][_0x20da01(0x472)])[_0x20da01(0x551)](V['map'](_0x11cca8=>_0x11cca8['getUnitId']())))['subscribe'](_0x2e2077=>this['_removeRoom'](_0x2e2077)))));}['setCurrentUser'](_0x3741b2){const _0x42f226=_0x24e421;this['_userManagerService'][_0x42f226(0x37a)](_0x3741b2);}['getCurrentUser'](){const _0x1fdaf6=_0x24e421;return this[_0x1fdaf6(0x61c)][_0x1fdaf6(0x616)]();}['updateMember'](_0xcfea40,_0x2a37f6){const _0x79966=_0x24e421;let _0x2db283=this['_roomMembers']['get'](_0xcfea40);_0x2db283||(_0x2db283=new vn(),this[_0x79966(0x60c)][_0x79966(0x44a)](_0xcfea40,_0x2db283)),_0x2db283[_0x79966(0x236)](_0x2a37f6);}['removeMember'](_0x13b847,_0x3a6a66){const _0x28a73e=_0x24e421,_0x5ceae6=this[_0x28a73e(0x60c)][_0x28a73e(0x1ce)](_0x13b847);_0x5ceae6&&_0x5ceae6['removeMember'](_0x3a6a66);}[_0x24e421(0x3a8)](_0x410516){return this['_roomMembers']['get'](_0x410516);}[_0x24e421(0x40e)](_0x3f3267,_0x4e741c){const _0xb5972=_0x24e421,_0x3c3917=this[_0xb5972(0x60c)][_0xb5972(0x1ce)](_0x3f3267);if(_0x3c3917)return _0x3c3917['getMember'](_0x4e741c);}[_0x24e421(0x5f2)](_0x574ee5){const _0x2778c8=_0x24e421,_0x2c93c1=this[_0x2778c8(0x60c)][_0x2778c8(0x1ce)](_0x574ee5);_0x2c93c1&&(_0x2c93c1['dispose'](),this[_0x2778c8(0x60c)][_0x2778c8(0x5ae)](_0x574ee5));}[_0x24e421(0x4cc)](){const _0x5a30a7=_0x24e421;this[_0x5a30a7(0x60c)][_0x5a30a7(0x5d1)](_0x509dd1=>_0x509dd1[_0x5a30a7(0x4cc)]()),this[_0x5a30a7(0x60c)][_0x5a30a7(0x526)]();}},exports[_0x24e421(0x5e4)]=fn([jt(0x0,a['IUniverInstanceService']),jt(0x1,a[_0x24e421(0x52f)](a[_0x24e421(0x30d)]))],exports[_0x24e421(0x5e4)]);class vn extends a[_0x24e421(0x1fe)]{constructor(){const _0x197177=_0x24e421;super(...arguments),I(this,_0x197177(0x3aa),new Map());}[_0x24e421(0x4cc)](){const _0x56acf4=_0x24e421;this['_members'][_0x56acf4(0x526)]();}[_0x24e421(0x236)](_0x753612){const _0x524e86=_0x24e421;this['_members'][_0x524e86(0x44a)](_0x753612['memberID'],_0x753612);}[_0x24e421(0x203)](_0x25e80c){const _0x437155=_0x24e421;this[_0x437155(0x3aa)][_0x437155(0x5ae)](_0x25e80c);}[_0x24e421(0x40e)](_0x539d35){const _0x5b5083=_0x24e421;return this[_0x5b5083(0x3aa)][_0x5b5083(0x1ce)](_0x539d35);}['getAllMembers'](){const _0x2ce96b=_0x24e421;return Array[_0x2ce96b(0x48a)](this[_0x2ce96b(0x3aa)]['values']());}}var Sn=Object['defineProperty'],pn=Object[_0x24e421(0x221)],mn=(_0x171354,_0x1bdd9d,_0x41dee4,_0x1ab5ee)=>{const _0x4b58ba=_0x24e421;for(var _0x21ffde=_0x1ab5ee>0x1?void 0x0:_0x1ab5ee?pn(_0x1bdd9d,_0x41dee4):_0x1bdd9d,_0x28efa4=_0x171354[_0x4b58ba(0x3c9)]-0x1,_0x381e17;_0x28efa4>=0x0;_0x28efa4--)(_0x381e17=_0x171354[_0x28efa4])&&(_0x21ffde=(_0x1ab5ee?_0x381e17(_0x1bdd9d,_0x41dee4,_0x21ffde):_0x381e17(_0x21ffde))||_0x21ffde);return _0x1ab5ee&&_0x21ffde&&Sn(_0x1bdd9d,_0x41dee4,_0x21ffde),_0x21ffde;},ue=(_0x51eb61,_0x48c74a)=>(_0x5a7641,_0x598f72)=>_0x48c74a(_0x5a7641,_0x598f72,_0x51eb61),ne=(_0x1d9fbc=>(_0x1d9fbc[_0x1d9fbc['IDLE']=0x0]='IDLE',_0x1d9fbc[_0x1d9fbc[_0x24e421(0x2bd)]=0x1]=_0x24e421(0x2bd),_0x1d9fbc[_0x1d9fbc[_0x24e421(0x1cd)]=0x2]='OFFLINE',_0x1d9fbc[_0x1d9fbc['ONLINE']=0x3]='ONLINE',_0x1d9fbc))(ne||{});const Ht={[ge['FAIL']]:_0x24e421(0x249),[ge[_0x24e421(0x666)]]:'session.room-full',[ge[_0x24e421(0x374)]]:'session.room-not-exists',[ge[_0x24e421(0x2b9)]]:_0x24e421(0x4f5),[ge[_0x24e421(0x612)]]:_0x24e421(0x607)};exports[_0x24e421(0x493)]=class extends a[_0x24e421(0x444)]{constructor(_0xc5957e,_0x29222b,_0x979dd8,_0x30fc29,_0x4c3bfb,_0x40954d,_0x4ccb12,_0x2be88e,_0xa3a1a3,_0x15b5b5){const _0x5e3c6e=_0x24e421;super(),I(this,'_sessionStatus$',new N[(_0x5e3c6e(0x43e))](0x0)),I(this,_0x5e3c6e(0x4f0),this['_sessionStatus$'][_0x5e3c6e(0x285)]()),I(this,_0x5e3c6e(0x52d),new N[(_0x5e3c6e(0x5fb))]()),I(this,_0x5e3c6e(0x5e0),this[_0x5e3c6e(0x52d)]['asObservable']()),I(this,'_socket'),I(this,_0x5e3c6e(0x504)),I(this,_0x5e3c6e(0x66b)),I(this,'_shouldReportTelemetry',!0x1),I(this,_0x5e3c6e(0x4ee),null),(this['_unitID']=_0xc5957e,this[_0x5e3c6e(0x383)]=_0x979dd8,this[_0x5e3c6e(0x21d)]=_0x30fc29,this[_0x5e3c6e(0x59e)]=_0x4c3bfb,this[_0x5e3c6e(0x5c2)]=_0x40954d,this[_0x5e3c6e(0x527)]=_0x4ccb12,this[_0x5e3c6e(0x2bf)]=_0x2be88e,this[_0x5e3c6e(0x2c5)]=_0xa3a1a3,this['_telemetryService']=_0x15b5b5,this[_0x5e3c6e(0x49b)]=!!this[_0x5e3c6e(0x253)],_0x29222b[_0x5e3c6e(0x551)](N[_0x5e3c6e(0x201)](this['dispose$']))[_0x5e3c6e(0x4d3)](_0x397b4d=>{const _0x436c0c=_0x5e3c6e;var _0x2c68d8;typeof _0x397b4d>'u'||(this[_0x436c0c(0x2ce)]=_0x397b4d,_0x397b4d?(this[_0x436c0c(0x333)](_0x397b4d),this['_socketMessageSubscription']=_0x397b4d['message$'][_0x436c0c(0x4d3)](_0x2ddad3=>{const _0x4ba413=_0x436c0c;_0x2ddad3['routeKey']===this[_0x4ba413(0x40a)]&&this[_0x4ba413(0x476)](_0x2ddad3);})):(this[_0x436c0c(0x5a5)](),this[_0x436c0c(0x4ec)][_0x436c0c(0x65d)](0x2),(_0x2c68d8=this['_socketMessageSubscription'])==null||_0x2c68d8[_0x436c0c(0x202)](),this[_0x436c0c(0x504)]=null));}),this[_0x5e3c6e(0x244)](this[_0x5e3c6e(0x21d)][_0x5e3c6e(0x29b)](()=>{const _0x4f07d1=_0x5e3c6e;var _0x4f6fb5;(_0x4f6fb5=this['_socket'])==null||_0x4f6fb5['send']({'cmd':G['LEAVE'],'data':{'roomID':this[_0x4f07d1(0x40a)]}});})));}get[_0x24e421(0x397)](){const _0x59e8e3=_0x24e421;return this['_sessionStatus$'][_0x59e8e3(0x1f2)]();}[_0x24e421(0x4b1)](){const _0x3e8eaa=_0x24e421;var _0x1c4006,_0x271886;return(_0x271886=(_0x1c4006=this[_0x3e8eaa(0x2ce)])==null?void 0x0:_0x1c4006[_0x3e8eaa(0x1ef)])!=null?_0x271886:null;}['dispose'](){const _0x5010d4=_0x24e421;super['dispose'](),this[_0x5010d4(0x362)][_0x5010d4(0x65d)](),this[_0x5010d4(0x362)][_0x5010d4(0x465)]();}[_0x24e421(0x394)](){const _0x17a9df=_0x24e421;var _0x118a03,_0x2e2d12;this[_0x17a9df(0x5a5)](),(_0x118a03=this['_socket'])==null||_0x118a03[_0x17a9df(0x325)]({'cmd':G[_0x17a9df(0x47a)],'data':{'roomID':this[_0x17a9df(0x40a)]}}),(_0x2e2d12=this[_0x17a9df(0x2ce)])==null||_0x2e2d12[_0x17a9df(0x394)](),this[_0x17a9df(0x52d)][_0x17a9df(0x465)](),this['_sessionStatus$']['complete'](),this['dispose']();}[_0x24e421(0x476)](_0x10ef0f){const _0x3d3b0b=_0x24e421;_0x10ef0f[_0x3d3b0b(0x33d)]===G['JOIN']?this['_onJoinRoomEvent'](_0x10ef0f):_0x10ef0f['cmd']===G[_0x3d3b0b(0x598)]&&this[_0x3d3b0b(0x28d)](_0x10ef0f);}[_0x24e421(0x333)](_0x25826f){const _0x5b4a08=_0x24e421;this['_sessionStatus$'][_0x5b4a08(0x65d)](0x1),_0x25826f[_0x5b4a08(0x325)]({'cmd':G[_0x5b4a08(0x4fc)],'routeKey':this[_0x5b4a08(0x40a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5b4a08(0x40a)]}]}});}[_0x24e421(0x4ab)](_0x30dbca){const _0x2d7e55=_0x24e421;var _0x3325c9;if(_0x30dbca[_0x2d7e55(0x5d5)]in Ht){this[_0x2d7e55(0x59e)][_0x2d7e55(0x2ba)]({'type':Ce[_0x2d7e55(0x4ad)][_0x2d7e55(0x483)],'content':this[_0x2d7e55(0x527)]['t'](Ht[_0x30dbca[_0x2d7e55(0x5d5)]])}),this[_0x2d7e55(0x4ec)][_0x2d7e55(0x65d)](0x2);return;}this[_0x2d7e55(0x4ec)][_0x2d7e55(0x65d)](0x3);const _0x134ee8=(_0x3325c9=_0x30dbca['data']['roomInfos'][this[_0x2d7e55(0x40a)]])==null?void 0x0:_0x3325c9[_0x2d7e55(0x572)];_0x134ee8&&_0x134ee8['forEach'](_0x45eee7=>this['_memberService'][_0x2d7e55(0x236)](this[_0x2d7e55(0x40a)],_0x45eee7));}[_0x24e421(0x28d)](_0x1df3b5){const _0x19c185=_0x24e421;try{const _0x10755b=_0x1df3b5[_0x19c185(0x25f)];switch(_0x10755b[_0x19c185(0x3c3)]){case m[_0x19c185(0x5b3)][_0x19c185(0x5a8)]:this[_0x19c185(0x633)](_0x10755b),this['_event$'][_0x19c185(0x65d)](_0x10755b);break;case m[_0x19c185(0x5b3)][_0x19c185(0x231)]:this[_0x19c185(0x44b)](_0x10755b),this[_0x19c185(0x52d)]['next'](_0x10755b);break;case m[_0x19c185(0x5b3)][_0x19c185(0x67a)]:case m[_0x19c185(0x5b3)][_0x19c185(0x5b2)]:this[_0x19c185(0x319)](),this[_0x19c185(0x23e)](),this[_0x19c185(0x52d)]['next'](_0x10755b);break;case m[_0x19c185(0x5b3)]['MSG_FOR_ERROR']:this['_logService'][_0x19c185(0x49e)](_0x19c185(0x663)+JSON[_0x19c185(0x3a6)](_0x10755b)),this[_0x19c185(0x52d)]['next'](_0x10755b);break;case m['CollaborationEvent'][_0x19c185(0x45f)]:this['_commentService'][_0x19c185(0x5cd)](_0x10755b[_0x19c185(0x25f)]),this[_0x19c185(0x52d)][_0x19c185(0x65d)](_0x10755b);break;default:this[_0x19c185(0x52d)][_0x19c185(0x65d)](_0x10755b);}}catch(_0x755115){this['_logService'][_0x19c185(0x49e)](_0x755115,_0x1df3b5);}}[_0x24e421(0x633)](_0x3c6f3d){const _0x17fdd0=_0x24e421;this[_0x17fdd0(0x2bf)][_0x17fdd0(0x236)](this[_0x17fdd0(0x40a)],_0x3c6f3d[_0x17fdd0(0x25f)]);}[_0x24e421(0x44b)](_0x520bb3){const _0x254d1f=_0x24e421;this[_0x254d1f(0x2bf)]['removeMember'](this[_0x254d1f(0x40a)],_0x520bb3['data'][_0x254d1f(0x1ef)]);}async['send'](_0x5a20fa,_0x4096a5){const _0x23bc6d=_0x24e421;if(this[_0x23bc6d(0x397)]!==0x3||!this['_socket'])throw new Error(_0x23bc6d(0x3b2));try{_0x5a20fa[_0x23bc6d(0x3c3)]===m[_0x23bc6d(0x5b3)]['SUBMIT_CHANGESET']&&(this[_0x23bc6d(0x47f)](),this['_startTelemetryCollaborationNewChangeset'](_0x5a20fa)),this[_0x23bc6d(0x2ce)][_0x23bc6d(0x325)]({'cmd':G['INGEST'],'routeKey':_0x4096a5,'routeType':'','data':_0x5a20fa});}catch(_0x334b54){this['_logService'][_0x23bc6d(0x49e)](_0x334b54);}}[_0x24e421(0x47f)](){const _0x148092=_0x24e421;var _0x517c69;this['_collaborationTimeoutTimer']=window[_0x148092(0x46a)](()=>{const _0x53c837=_0x148092;this['_collaborationTimeoutTimer']=null,this[_0x53c837(0x59e)]['show']({'type':Ce[_0x53c837(0x4ad)][_0x53c837(0x273)],'content':this['_localeService']['t']('session.collaboration-timeout')});},(_0x517c69=this[_0x148092(0x5c2)][_0x148092(0x447)](Dt))!=null?_0x517c69:mi);}[_0x24e421(0x23e)](){const _0x28a0da=_0x24e421;this[_0x28a0da(0x66b)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x28a0da(0x66b)]=null);}[_0x24e421(0x44f)](_0x5d17cd){const _0x19356b=_0x24e421;if(!this['_shouldReportTelemetry'])return;const {data:_0x1e9d54}=_0x5d17cd,{unitID:_0x319a77,changeset:_0x3e78d4}=_0x1e9d54,{mutations:_0x5bef16,type:_0x10e717}=_0x3e78d4;this[_0x19356b(0x4ee)]={'unitId':_0x319a77,'type':_0x10e717,'startTime':performance[_0x19356b(0x4a5)](),'stopTime':0x0,'duration':0x0,'size':_n(_0x5bef16)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x2502cb=_0x24e421;if(this[_0x2502cb(0x49b)]){if(!this[_0x2502cb(0x4ee)]){this['_logService'][_0x2502cb(0x49e)](_0x2502cb(0x1d6),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x2502cb(0x47c)]=performance[_0x2502cb(0x4a5)](),this[_0x2502cb(0x4ee)][_0x2502cb(0x41a)]=this[_0x2502cb(0x4ee)]['stopTime']-this['_telemetryInfo'][_0x2502cb(0x21f)],this[_0x2502cb(0x253)]['capture'](hn,this[_0x2502cb(0x4ee)]),this[_0x2502cb(0x4ee)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x50c3b0=_0x24e421;this[_0x50c3b0(0x4ee)]=null;}},exports[_0x24e421(0x493)]=mn([ue(0x2,a[_0x24e421(0x495)]),ue(0x3,ee[_0x24e421(0x5dc)]),ue(0x4,ee['IMessageService']),ue(0x5,a[_0x24e421(0x3ba)]),ue(0x6,a['Inject'](a[_0x24e421(0x468)])),ue(0x7,a[_0x24e421(0x52f)](exports['MemberService'])),ue(0x8,a['Inject'](wt)),ue(0x9,a[_0x24e421(0x67d)](Gi['ITelemetryService']))],exports['CollaborationSession']);var gn=Object['defineProperty'],In=Object[_0x24e421(0x221)],Cn=(_0xc70f4c,_0x269462,_0x3fb712,_0x3adcf9)=>{const _0x36c810=_0x24e421;for(var _0x284fba=_0x3adcf9>0x1?void 0x0:_0x3adcf9?In(_0x269462,_0x3fb712):_0x269462,_0x502d14=_0xc70f4c[_0x36c810(0x3c9)]-0x1,_0x469f54;_0x502d14>=0x0;_0x502d14--)(_0x469f54=_0xc70f4c[_0x502d14])&&(_0x284fba=(_0x3adcf9?_0x469f54(_0x269462,_0x3fb712,_0x284fba):_0x469f54(_0x284fba))||_0x284fba);return _0x3adcf9&&_0x284fba&&gn(_0x269462,_0x3fb712,_0x284fba),_0x284fba;},Se=(_0x22431c,_0x3a5df0)=>(_0x3a7102,_0x4b82e7)=>_0x3a5df0(_0x3a7102,_0x4b82e7,_0x22431c);exports['CollaborationSessionService']=class extends a['Disposable']{constructor(_0x2a9de9,_0x255467,_0x37ffed,_0x260633,_0x17683c,_0xb62e97,_0xbaca7a){const _0x236467=_0x24e421;super(),I(this,'_socket$',new N[(_0x236467(0x43e))](void 0x0)),I(this,_0x236467(0x67f),this['_socket$'][_0x236467(0x285)]()),I(this,_0x236467(0x553),null),I(this,_0x236467(0x1c5),new Map()),I(this,_0x236467(0x618),new N[(_0x236467(0x43e))](ne[_0x236467(0x5fe)])),I(this,_0x236467(0x2d8),this['_status$'][_0x236467(0x285)]()),I(this,_0x236467(0x479),!0x1),I(this,_0x236467(0x3ed)),I(this,_0x236467(0x51a),0x0),I(this,_0x236467(0x4a9)),I(this,_0x236467(0x687)),(this[_0x236467(0x5f8)]=_0x2a9de9,this[_0x236467(0x527)]=_0x255467,this[_0x236467(0x59e)]=_0x37ffed,this['_logService']=_0x260633,this['_configService']=_0x17683c,this[_0x236467(0x66d)]=_0xb62e97,this[_0x236467(0x53c)]=_0xbaca7a,this[_0x236467(0x2af)]());}get[_0x24e421(0x2ce)](){const _0x9c8b73=_0x24e421;return this['_socket$'][_0x9c8b73(0x1f2)]();}[_0x24e421(0x2af)](){const _0x47e3db=_0x24e421;this['_listenToOfflineEvent'](),this[_0x47e3db(0x50a)]();}['dispose'](){const _0x111fb6=_0x24e421;super['dispose'](),this[_0x111fb6(0x1c5)][_0x111fb6(0x5d1)](_0x303ea4=>_0x303ea4[_0x111fb6(0x4cc)]()),this[_0x111fb6(0x1c5)][_0x111fb6(0x526)](),this['_status$']['complete']();}async[_0x24e421(0x25d)](_0x2ffd82){const _0x513af5=_0x24e421;if(this[_0x513af5(0x1c5)][_0x513af5(0x2b5)](_0x2ffd82))return this[_0x513af5(0x1c5)]['get'](_0x2ffd82);this['_tryEnsureSocket']();const _0x2d5c5d=this[_0x513af5(0x5f8)]['createInstance'](exports[_0x513af5(0x493)],_0x2ffd82,this[_0x513af5(0x269)]['asObservable']());return this[_0x513af5(0x1c5)][_0x513af5(0x44a)](_0x2ffd82,_0x2d5c5d),_0x2d5c5d;}['closeSession'](_0x2c1378){const _0xeef95e=_0x24e421;var _0x5139b3;const _0x318cd7=this[_0xeef95e(0x1c5)][_0xeef95e(0x1ce)](_0x2c1378);_0x318cd7&&(this['_sessions']['delete'](_0x2c1378),_0x318cd7[_0xeef95e(0x394)]()),this[_0xeef95e(0x1c5)][_0xeef95e(0x601)]||(_0x5139b3=this['_socket'])==null||_0x5139b3[_0xeef95e(0x394)]();}[_0x24e421(0x4e2)](){const _0xc9ae8a=_0x24e421;this[_0xc9ae8a(0x51a)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0xc9ae8a(0x3ed)]),this[_0xc9ae8a(0x3ed)]=null),this[_0xc9ae8a(0x2e8)]();}async[_0x24e421(0x545)](){const _0x1b5bde=_0x24e421;var _0x5c2111,_0x51775e,_0x1eb0fd;const _0x44a20d=this[_0x1b5bde(0x5c2)]['getConfig'](Z),_0x5d985f=(_0x5c2111=_0x44a20d==null?void 0x0:_0x44a20d[_0x1b5bde(0x677)])!=null?_0x5c2111:Ji;return(_0x1eb0fd=(_0x51775e=(await this['_httpService'][_0x1b5bde(0x1ce)](_0x5d985f,{'headers':{'Content-Type':_0x1b5bde(0x364)}}))[_0x1b5bde(0x328)])==null?void 0x0:_0x51775e[_0x1b5bde(0x28b)])!=null?_0x1eb0fd:'';}[_0x24e421(0x3a2)](_0x46cf62){const _0x2b0b7e=_0x24e421;var _0x5977bc,_0x3fc3d3;const _0x57126b=this['_configService'][_0x2b0b7e(0x447)](Si),_0x751ec7=this[_0x2b0b7e(0x5c2)][_0x2b0b7e(0x447)](Z),_0x4f84e4=(_0x3fc3d3=(_0x5977bc=_0x751ec7==null?void 0x0:_0x751ec7['collabWebSocketUrl'])!=null?_0x5977bc:_0x57126b)!=null?_0x3fc3d3:Xi,_0x2e4856=new URL(_0x4f84e4,window['location'][_0x2b0b7e(0x401)]);return _0x2e4856[_0x2b0b7e(0x3de)][_0x2b0b7e(0x44a)]('sessionTicket',_0x46cf62),_0x2e4856['toString']();}async['_createSocket'](){const _0x15fded=_0x24e421,_0x431ba6=await this[_0x15fded(0x545)](),_0x2b15f5=this[_0x15fded(0x3a2)](_0x431ba6),_0x5332b5=this[_0x15fded(0x66d)]['createSocket'](_0x2b15f5);return this[_0x15fded(0x553)]=_0x5332b5,_0x5332b5;}async[_0x24e421(0x262)](){const _0x2c9904=_0x24e421;var _0xc7a74b,_0x489066;try{const _0x313cd2=(_0x489066=(_0xc7a74b=this['_socket'])!=null?_0xc7a74b:this['_candidateSocket'])!=null?_0x489066:await this['_createSocket']();if(_0x313cd2){const _0x66289f=_0x313cd2[_0x2c9904(0x325)];_0x313cd2[_0x2c9904(0x325)]=_0x5b84e6=>(this[_0x2c9904(0x4be)](),_0x66289f[_0x2c9904(0x463)](_0x313cd2,[_0x5b84e6])),_0x313cd2['message$'][_0x2c9904(0x4d3)](_0x552d4a=>this['_onMessage'](_0x313cd2,_0x552d4a)),_0x313cd2[_0x2c9904(0x232)][_0x2c9904(0x551)](V['take'](0x1))[_0x2c9904(0x4d3)](_0x2ef917=>this[_0x2c9904(0x383)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x2ef917)),_0x313cd2[_0x2c9904(0x3d2)][_0x2c9904(0x551)](V[_0x2c9904(0x1d0)](0x1))[_0x2c9904(0x4d3)](()=>{const _0x1d6556=_0x2c9904;this[_0x1d6556(0x369)](_0x313cd2);}),_0x313cd2[_0x2c9904(0x35a)]['pipe'](V[_0x2c9904(0x1d0)](0x1))[_0x2c9904(0x4d3)](_0x107c1e=>{const _0x37af45=_0x2c9904;this['_logService'][_0x37af45(0x525)]('[CollaborationSessionService]',_0x37af45(0x21a),_0x107c1e),this[_0x37af45(0x2d1)]();});}}catch(_0xb92b44){this[_0x2c9904(0x383)][_0x2c9904(0x49e)](_0xb92b44),this[_0x2c9904(0x2d1)]();}}[_0x24e421(0x369)](_0x393a4a){const _0x46bee0=_0x24e421;this[_0x46bee0(0x383)][_0x46bee0(0x525)](_0x46bee0(0x372),_0x46bee0(0x29f)),_0x393a4a[_0x46bee0(0x325)]({'cmd':G[_0x46bee0(0x1bd)]}),this[_0x46bee0(0x4be)]();}['_listenToOfflineEvent'](){const _0x2c0136=_0x24e421;window['addEventListener'](_0x2c0136(0x265),()=>this[_0x2c0136(0x514)]());}['_onOffline'](){const _0x7378e7=_0x24e421;this[_0x7378e7(0x479)]=!0x1,this[_0x7378e7(0x553)]=null,this[_0x7378e7(0x618)]['next'](ne[_0x7378e7(0x1cd)]),this[_0x7378e7(0x269)]['next'](null),this[_0x7378e7(0x209)](),this[_0x7378e7(0x282)]();}[_0x24e421(0x2d1)](){const _0x44cc03=_0x24e421;var _0x2d543c;this[_0x44cc03(0x514)](),this[_0x44cc03(0x51a)]<((_0x2d543c=this[_0x44cc03(0x5c2)][_0x44cc03(0x447)](gi))!=null?_0x2d543c:en)?(this[_0x44cc03(0x59e)]['show']({'key':_0x44cc03(0x3e8),'type':Ce[_0x44cc03(0x4ad)]['Warning'],'content':this[_0x44cc03(0x527)]['t'](_0x44cc03(0x4d2))}),this[_0x44cc03(0x2e8)]()):this[_0x44cc03(0x59e)]['show']({'key':'collaboration-session-retry','type':Ce['MessageType'][_0x44cc03(0x273)],'content':this[_0x44cc03(0x527)]['t'](_0x44cc03(0x33f))});}[_0x24e421(0x50a)](){const _0x46f3c9=_0x24e421,_0x56e7c7=()=>{const _0x7c764c=_0x5e3c;this[_0x7c764c(0x2ce)]||this[_0x7c764c(0x4e2)]();},_0x302582=()=>{const _0x2456a6=_0x5e3c;this[_0x2456a6(0x2ce)]||document['visibilityState']==='hidden'||this[_0x2456a6(0x4e2)]();};window[_0x46f3c9(0x3f2)]('online',_0x56e7c7),document['addEventListener'](_0x46f3c9(0x30e),_0x302582);}[_0x24e421(0x2e8)](){const _0x2e2f8c=_0x24e421;var _0x5a1c8f;const _0x198963=this['_retryCount'],_0x50b7ab=this['_configService'][_0x2e2f8c(0x447)](Z),_0x392542=_0x198963===0x0?0x0:((_0x5a1c8f=_0x50b7ab==null?void 0x0:_0x50b7ab[_0x2e2f8c(0x2cb)])!=null?_0x5a1c8f:Qi)*0x2**_0x198963;this[_0x2e2f8c(0x3ed)]=window[_0x2e2f8c(0x46a)](()=>{const _0x31703d=_0x2e2f8c;clearTimeout(this[_0x31703d(0x3ed)]),this[_0x31703d(0x3ed)]=null,this[_0x31703d(0x262)]();},_0x392542),this[_0x2e2f8c(0x51a)]+=0x1;}[_0x24e421(0x35c)](_0x18211a,_0x1665e6){const _0x26d943=_0x24e421,{cmd:_0x53bfc9}=_0x1665e6;_0x53bfc9===G[_0x26d943(0x1bd)]&&!this[_0x26d943(0x479)]&&(_0x18211a['memberID']=_0x1665e6[_0x26d943(0x25f)][_0x26d943(0x1ef)],this[_0x26d943(0x269)][_0x26d943(0x65d)](_0x18211a),this[_0x26d943(0x618)][_0x26d943(0x65d)](ne[_0x26d943(0x58b)]),this[_0x26d943(0x479)]=!0x0,this[_0x26d943(0x553)]=null),_0x53bfc9===G[_0x26d943(0x536)]&&this[_0x26d943(0x209)](),this['_rescheduleHeartbeat']();}[_0x24e421(0x4be)](){const _0x3daadc=_0x24e421;var _0x3bf889;this[_0x3daadc(0x282)](),this[_0x3daadc(0x4a9)]=window[_0x3daadc(0x46a)](()=>this[_0x3daadc(0x2fb)](),(_0x3bf889=this[_0x3daadc(0x5c2)][_0x3daadc(0x447)](pi))!=null?_0x3bf889:Zi);}[_0x24e421(0x2fb)](){const _0x442e9f=_0x24e421;this[_0x442e9f(0x2ce)][_0x442e9f(0x325)]({'cmd':G[_0x442e9f(0x536)]}),this[_0x442e9f(0x4ba)]();}[_0x24e421(0x4ba)](){const _0xfadca=_0x24e421;var _0x3b46d0;this['_timeoutTimer']=window[_0xfadca(0x46a)](()=>this[_0xfadca(0x2d1)](),(_0x3b46d0=this[_0xfadca(0x5c2)][_0xfadca(0x447)](Dt))!=null?_0x3b46d0:mi);}['_clearHeartbeatTimer'](){const _0x3271a5=_0x24e421;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x3271a5(0x4a9)]),this[_0x3271a5(0x4a9)]=null);}[_0x24e421(0x209)](){const _0x433dd5=_0x24e421;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x433dd5(0x687)]),this['_timeoutTimer']=null);}},exports[_0x24e421(0x3b4)]=Cn([Se(0x0,a[_0x24e421(0x52f)](a['Injector'])),Se(0x1,a[_0x24e421(0x52f)](a['LocaleService'])),Se(0x2,ee[_0x24e421(0x402)]),Se(0x3,a['ILogService']),Se(0x4,a['IConfigService']),Se(0x5,Pt),Se(0x6,a[_0x24e421(0x52f)](z[_0x24e421(0x567)]))],exports[_0x24e421(0x3b4)]);const q=[];for(let r=0x0;r<0x100;++r)q['push']((r+0x100)[_0x24e421(0x347)](0x10)[_0x24e421(0x406)](0x1));function En(_0x460ded,_0xd5067a=0x0){const _0x499e5f=_0x24e421;return(q[_0x460ded[_0xd5067a+0x0]]+q[_0x460ded[_0xd5067a+0x1]]+q[_0x460ded[_0xd5067a+0x2]]+q[_0x460ded[_0xd5067a+0x3]]+'-'+q[_0x460ded[_0xd5067a+0x4]]+q[_0x460ded[_0xd5067a+0x5]]+'-'+q[_0x460ded[_0xd5067a+0x6]]+q[_0x460ded[_0xd5067a+0x7]]+'-'+q[_0x460ded[_0xd5067a+0x8]]+q[_0x460ded[_0xd5067a+0x9]]+'-'+q[_0x460ded[_0xd5067a+0xa]]+q[_0x460ded[_0xd5067a+0xb]]+q[_0x460ded[_0xd5067a+0xc]]+q[_0x460ded[_0xd5067a+0xd]]+q[_0x460ded[_0xd5067a+0xe]]+q[_0x460ded[_0xd5067a+0xf]])[_0x499e5f(0x1c7)]();}let lt;const bn=new Uint8Array(0x10);function Tn(){const _0x2bf1c3=_0x24e421;if(!lt){if(typeof crypto>'u'||!crypto[_0x2bf1c3(0x380)])throw new Error(_0x2bf1c3(0x305));lt=crypto[_0x2bf1c3(0x380)]['bind'](crypto);}return lt(bn);}const Rn=typeof crypto<'u'&&crypto[_0x24e421(0x501)]&&crypto[_0x24e421(0x501)][_0x24e421(0x5f4)](crypto),Bt={'randomUUID':Rn};function On(_0x1df973,_0x3c9820,_0x47621b){const _0x4d1e75=_0x24e421;if(Bt[_0x4d1e75(0x501)]&&!_0x3c9820&&!_0x1df973)return Bt[_0x4d1e75(0x501)]();_0x1df973=_0x1df973||{};const _0x29e8=_0x1df973['random']||(_0x1df973[_0x4d1e75(0x1fa)]||Tn)();return _0x29e8[0x6]=_0x29e8[0x6]&0xf|0x40,_0x29e8[0x8]=_0x29e8[0x8]&0x3f|0x80,En(_0x29e8);}var yn=Object['defineProperty'],Dn=Object[_0x24e421(0x221)],Pn=(_0x3fac0e,_0x15f642,_0x4fbea0,_0x3f92c3)=>{const _0x380b53=_0x24e421;for(var _0x9b48c1=_0x3f92c3>0x1?void 0x0:_0x3f92c3?Dn(_0x15f642,_0x4fbea0):_0x15f642,_0xa94e3e=_0x3fac0e[_0x380b53(0x3c9)]-0x1,_0x3b3a22;_0xa94e3e>=0x0;_0xa94e3e--)(_0x3b3a22=_0x3fac0e[_0xa94e3e])&&(_0x9b48c1=(_0x3f92c3?_0x3b3a22(_0x15f642,_0x4fbea0,_0x9b48c1):_0x3b3a22(_0x9b48c1))||_0x9b48c1);return _0x3f92c3&&_0x9b48c1&&yn(_0x15f642,_0x4fbea0,_0x9b48c1),_0x9b48c1;},ht=(_0x1db2f0,_0x107602)=>(_0x3de78e,_0x26cf2d)=>_0x107602(_0x3de78e,_0x26cf2d,_0x1db2f0);let Ze=class{constructor(_0x39e21d,_0x343ca7,_0x120907){const _0x1b11bf=_0x24e421;this[_0x1b11bf(0x5f8)]=_0x39e21d,this[_0x1b11bf(0x3d5)]=_0x343ca7,this[_0x1b11bf(0x564)]=_0x120907;}[_0x24e421(0x55a)](_0x1a594e){const _0xf4b6c4=_0x24e421;this['_transformUndoRedoStack'](_0x1a594e),this[_0xf4b6c4(0x341)](_0x1a594e);}[_0x24e421(0x4bc)](_0x29afa6){const _0x342228=_0x24e421,{unitID:_0x4f032f}=_0x29afa6,_0x2c4273=this[_0x342228(0x564)][_0x342228(0x1e2)](_0x4f032f)[_0x342228(0x442)](J['DocIMEInputManagerService']),{redoCache:_0xd05258}=_0x2c4273[_0x342228(0x281)]();if(_0xd05258[_0x342228(0x3c9)]===0x0)return _0x29afa6;let _0x57cbd5=a[_0x342228(0x667)][_0x342228(0x24a)](_0x29afa6['mutations'][0x0]);for(let _0x5ea843=0x0;_0x5ea843<_0xd05258['length'];_0x5ea843++){const _0x505000={'id':'doc.mutation.rich-text-editing','params':{..._0xd05258[_0x5ea843]}},_0x1111e3=this[_0x342228(0x3d5)][_0x342228(0x327)](_0x57cbd5,_0x505000,!0x1);if(m[_0x342228(0x3fe)](_0x1111e3))throw _0x1111e3[_0x342228(0x49e)];_0x57cbd5=_0x1111e3[_0x342228(0x451)];}return{...a[_0x342228(0x667)]['deepClone'](_0x29afa6),'mutations':[_0x57cbd5]};}[_0x24e421(0x52e)](_0x4f2b1f){const _0x279126=_0x24e421,{unitID:_0x57d756}=_0x4f2b1f,_0x2862c0=this['_renderManagerService']['getRenderById'](_0x57d756)[_0x279126(0x442)](J[_0x279126(0x24b)]),{undoCache:_0x1d4836,redoCache:_0x54f38a}=_0x2862c0[_0x279126(0x281)]();if(_0x1d4836[_0x279126(0x3c9)]===0x0||_0x54f38a[_0x279126(0x3c9)]===0x0)return;const _0x5d5e57=[],_0x399aa6=[];let _0x293dd1=a[_0x279126(0x667)][_0x279126(0x24a)](_0x4f2b1f['mutations'][0x0]),_0x400c20=a[_0x279126(0x667)][_0x279126(0x24a)](_0x4f2b1f['mutations'][0x0]);for(let _0x520603=_0x1d4836['length']-0x1;_0x520603>=0x0;_0x520603--){const _0x383e0b={'id':'doc.mutation.rich-text-editing','params':{..._0x1d4836[_0x520603]}},_0x51f65c={'id':'doc.mutation.rich-text-editing','params':{..._0x54f38a[_0x520603]}},_0x148fb2=this[_0x279126(0x3d5)][_0x279126(0x327)](_0x293dd1,_0x383e0b,!0x1),_0x54c36d=this[_0x279126(0x3d5)][_0x279126(0x327)](_0x400c20,_0x51f65c,!0x1);if(m[_0x279126(0x3fe)](_0x148fb2))throw _0x148fb2['error'];if(m[_0x279126(0x3fe)](_0x54c36d))throw _0x54c36d[_0x279126(0x49e)];_0x5d5e57[_0x279126(0x200)](_0x148fb2[_0x279126(0x365)][_0x279126(0x245)]),_0x399aa6[_0x279126(0x200)](_0x54c36d['m2Prime'][_0x279126(0x245)]),_0x293dd1=_0x148fb2['m1Prime'],_0x400c20=_0x54c36d['m1Prime'];}_0x2862c0[_0x279126(0x519)]({'undoCache':_0x5d5e57,'redoCache':_0x399aa6});}['_transformPreviousActiveRange'](_0x445647){const _0x30963c=_0x24e421,{unitID:_0x27924a}=_0x445647,_0x394734=this[_0x30963c(0x564)][_0x30963c(0x1e2)](_0x27924a)[_0x30963c(0x442)](J[_0x30963c(0x24b)]),_0x425d7b=_0x394734['getActiveRange']();if(_0x425d7b==null)return;const _0x28a12d=[{'id':_0x30963c(0x20b),'params':{'unitId':_0x445647[_0x30963c(0x1cb)],'actions':null,'textRanges':[_0x425d7b]}}],_0x4f744a=this[_0x30963c(0x3d5)]['transformMutationsWithChangeset'](_0x445647,_0x28a12d);if(!m[_0x30963c(0x270)](_0x4f744a))throw _0x4f744a[_0x30963c(0x49e)];const _0x2b38f1=_0x4f744a[_0x30963c(0x365)][0x0][_0x30963c(0x245)][_0x30963c(0x5e2)];Array[_0x30963c(0x357)](_0x2b38f1)&&_0x2b38f1[_0x30963c(0x3c9)]&&_0x394734[_0x30963c(0x669)](_0x2b38f1[0x0]);}};Ze=Pn([ht(0x0,a[_0x24e421(0x52f)](a['Injector'])),ht(0x1,m['ITransformService']),ht(0x2,Y[_0x24e421(0x3c8)])],Ze);var wn=Object[_0x24e421(0x5bd)],Un=Object['getOwnPropertyDescriptor'],Mn=(_0x8165b,_0x39ce57,_0x57f6b,_0x40547a)=>{const _0x8778fc=_0x24e421;for(var _0x241c90=_0x40547a>0x1?void 0x0:_0x40547a?Un(_0x39ce57,_0x57f6b):_0x39ce57,_0x10269a=_0x8165b[_0x8778fc(0x3c9)]-0x1,_0x53543f;_0x10269a>=0x0;_0x10269a--)(_0x53543f=_0x8165b[_0x10269a])&&(_0x241c90=(_0x40547a?_0x53543f(_0x39ce57,_0x57f6b,_0x241c90):_0x53543f(_0x241c90))||_0x241c90);return _0x40547a&&_0x241c90&&wn(_0x39ce57,_0x57f6b,_0x241c90),_0x241c90;},Pe=(_0x1f44fd,_0x4af0b7)=>(_0x4c4508,_0x59b80a)=>_0x4af0b7(_0x4c4508,_0x59b80a,_0x1f44fd);exports[_0x24e421(0x4b2)]=class extends a[_0x24e421(0x1fe)]{constructor(_0x237f49,_0x283e12,_0x490fe6,_0x477995,_0x12e958){const _0x4cec67=_0x24e421;super(),I(this,_0x4cec67(0x5eb),new Map()),I(this,_0x4cec67(0x3b3),new Map()),I(this,'_disabled',!0x1),(this[_0x4cec67(0x5c2)]=_0x237f49,this[_0x4cec67(0x59c)]=_0x283e12,this[_0x4cec67(0x21d)]=_0x490fe6,this[_0x4cec67(0x527)]=_0x477995,this[_0x4cec67(0x32c)]=_0x12e958,this[_0x4cec67(0x22d)]());}[_0x24e421(0x649)](){this['_disabled']=!0x0;}[_0x24e421(0x662)](){const _0x1b750e=_0x24e421;this[_0x1b750e(0x4b9)]=!0x1;}['dispose'](){const _0x11b602=_0x24e421;this[_0x11b602(0x54a)]()[_0x11b602(0x57d)](()=>super['dispose']());}async[_0x24e421(0x227)](_0x1f59f3){const _0x68a004=_0x24e421;return this[_0x68a004(0x4b9)]?null:this[_0x68a004(0x59c)][_0x68a004(0x2f5)](kt(_0x1f59f3));}async[_0x24e421(0x42f)](_0x3c8c7f,_0x15df83){const _0x41044f=_0x24e421;return!!this[_0x41044f(0x59c)][_0x41044f(0x2f1)](_0x3c8c7f,_0x15df83);}['updateOfflineData'](_0xf0a66d,_0x22e227,_0x1d79b4,_0x586586){const _0x1d7a61=_0x24e421,_0x5117e9=this[_0x1d7a61(0x32c)][_0x1d7a61(0x1bf)](_0xf0a66d);this['_cachedData'][_0x1d7a61(0x44a)](_0xf0a66d,{'unitID':_0xf0a66d,'type':_0x22e227,'awaitingChangeset':_0x1d79b4,'mutations':_0x586586,'rev':_0x5117e9}),this[_0x1d7a61(0x3b3)]['has'](_0xf0a66d)||this[_0x1d7a61(0x2da)](_0xf0a66d);}['_scheduleSaving'](_0x4e613){const _0x4ef031=_0x24e421,_0x1c676a=this['_getSaveTimeout']();_0x1c676a===0x0?this[_0x4ef031(0x242)](_0x4e613):this[_0x4ef031(0x3b3)]['set'](_0x4e613,setTimeout(()=>this[_0x4ef031(0x242)](_0x4e613),_0x1c676a));}[_0x24e421(0x3b6)](){const _0xebcfe5=_0x24e421;var _0x1c8e0c;return(_0x1c8e0c=this[_0xebcfe5(0x5c2)][_0xebcfe5(0x447)](Ii))!=null?_0x1c8e0c:tn;}[_0x24e421(0x242)](_0x57972b){const _0xa9d69e=_0x24e421,_0x14cc8c=this[_0xa9d69e(0x3b3)][_0xa9d69e(0x1ce)](_0x57972b);return _0x14cc8c!==void 0x0&&window['clearTimeout'](_0x14cc8c),this[_0xa9d69e(0x59c)][_0xa9d69e(0x2f1)](kt(_0x57972b),this[_0xa9d69e(0x5eb)]['get'](_0x57972b))['then'](()=>this[_0xa9d69e(0x3b3)]['delete'](_0x57972b));}async['exhaustSavingTask'](){const _0x1aced1=_0x24e421,_0x25063d=[];this['_saveTaskMap'][_0x1aced1(0x5d1)]((_0x284429,_0x38ed86)=>{const _0x316096=_0x1aced1;window[_0x316096(0x2cd)](_0x284429),_0x25063d[_0x316096(0x2f8)](this[_0x316096(0x242)](_0x38ed86)[_0x316096(0x57d)](()=>{const _0xe96899=_0x316096;this['_saveTaskMap'][_0xe96899(0x5ae)](_0x38ed86);}));}),await Promise[_0x1aced1(0x234)](_0x25063d);}[_0x24e421(0x22d)](){const _0x66d8d5=_0x24e421;this[_0x66d8d5(0x244)](this[_0x66d8d5(0x21d)][_0x66d8d5(0x4a0)](()=>{const _0xa22fdc=_0x66d8d5;if(this[_0xa22fdc(0x3b3)][_0xa22fdc(0x601)])return this['_localeService']['t'](_0xa22fdc(0x620));}));}},exports['LocalCacheService']=Mn([Pe(0x0,a[_0x24e421(0x3ba)]),Pe(0x1,a[_0x24e421(0x44c)]),Pe(0x2,ee[_0x24e421(0x5dc)]),Pe(0x3,a['Inject'](a['LocaleService'])),Pe(0x4,a['Inject'](m['RevisionService']))],exports[_0x24e421(0x4b2)]);function kt(_0x776781){const _0x2604c8=_0x24e421;return _0x2604c8(0x45a)+_0x776781;}var Nn=Object[_0x24e421(0x5bd)],An=Object[_0x24e421(0x221)],Ln=(_0xb30065,_0x4053e8,_0x38bc2c,_0x42f633)=>{for(var _0x2e9143=_0x42f633>0x1?void 0x0:_0x42f633?An(_0x4053e8,_0x38bc2c):_0x4053e8,_0x5e64f0=_0xb30065['length']-0x1,_0x3125d6;_0x5e64f0>=0x0;_0x5e64f0--)(_0x3125d6=_0xb30065[_0x5e64f0])&&(_0x2e9143=(_0x42f633?_0x3125d6(_0x4053e8,_0x38bc2c,_0x2e9143):_0x3125d6(_0x2e9143))||_0x2e9143);return _0x42f633&&_0x2e9143&&Nn(_0x4053e8,_0x38bc2c,_0x2e9143),_0x2e9143;},_t=(_0xca42bd,_0x3f71c4)=>(_0x284aed,_0x3abd77)=>_0x3f71c4(_0x284aed,_0x3abd77,_0xca42bd);function xn(_0x352a23){const _0xf86a50=_0x24e421,{unitID:_0x250a13,mutations:_0x3f224e}=_0x352a23;return{'unitId':_0x250a13,'subUnitId':_0x3f224e[0x0][_0xf86a50(0x245)][_0xf86a50(0x554)]};}let Qe=class{constructor(_0x2cdd8c,_0x2a6d85,_0x582be9){const _0x1ab148=_0x24e421;this[_0x1ab148(0x5f8)]=_0x2cdd8c,this[_0x1ab148(0x3d5)]=_0x2a6d85,this[_0x1ab148(0x688)]=_0x582be9;}['transformSelections'](_0x33c70f){const _0x4f9c7f=_0x24e421;var _0x14ddb5,_0x25d7d9,_0x49035b,_0x43d444;const _0xc6e7c2=this[_0x4f9c7f(0x5f8)][_0x4f9c7f(0x1ce)](k['SheetsSelectionsService']),{unitId:_0xcf9c17,subUnitId:_0x5a777a}=xn(_0x33c70f),_0xbcbc75=_0xc6e7c2[_0x4f9c7f(0x1f6)](_0xcf9c17)[_0x4f9c7f(0x252)](),_0x13fe93=(_0x25d7d9=(_0x14ddb5=this[_0x4f9c7f(0x688)][_0x4f9c7f(0x5c7)](_0xcf9c17))==null?void 0x0:_0x14ddb5[_0x4f9c7f(0x5ff)]())==null?void 0x0:_0x25d7d9[_0x4f9c7f(0x490)]();if(_0xbcbc75[_0x4f9c7f(0x3c9)]===0x0||!_0xcf9c17||!_0x5a777a)return;const _0x34b2e6=[{'id':k[_0x4f9c7f(0x4aa)]['id'],'params':{'unitId':_0xcf9c17,'subUnitId':_0x13fe93,'selections':a['Tools'][_0x4f9c7f(0x24a)](_0xbcbc75)}}],_0x2f7ef3=this['_transformService'][_0x4f9c7f(0x5af)](_0x33c70f,_0x34b2e6);if(!m['isTransformMutationsWithChangesetSuccess'](_0x2f7ef3))throw _0x2f7ef3[_0x4f9c7f(0x49e)];const _0x5ec063=(_0x43d444=(_0x49035b=_0x2f7ef3[_0x4f9c7f(0x365)][0x0])==null?void 0x0:_0x49035b['params'])==null?void 0x0:_0x43d444[_0x4f9c7f(0x2f7)];if(Array['isArray'](_0x5ec063)&&_0x5ec063[_0x4f9c7f(0x3c9)]){if(_0x5ec063[_0x4f9c7f(0x3c9)]===_0x34b2e6[0x0][_0x4f9c7f(0x245)][_0x4f9c7f(0x2f7)][_0x4f9c7f(0x3c9)]&&_0x5ec063[_0x4f9c7f(0x4a1)]((_0x1419e1,_0x4d1261)=>a[_0x4f9c7f(0x3db)][_0x4f9c7f(0x3e0)](_0x1419e1[_0x4f9c7f(0x40b)],_0x34b2e6[0x0][_0x4f9c7f(0x245)][_0x4f9c7f(0x2f7)][_0x4d1261]['range'])))return;this['_injector'][_0x4f9c7f(0x1ce)](a[_0x4f9c7f(0x2b1)])[_0x4f9c7f(0x646)](k[_0x4f9c7f(0x4aa)]['id'],{'unitId':_0xcf9c17,'subUnitId':_0x13fe93,'selections':_0x5ec063});}}};Qe=Ln([_t(0x0,a[_0x24e421(0x52f)](a['Injector'])),_t(0x1,m[_0x24e421(0x379)]),_t(0x2,a[_0x24e421(0x344)])],Qe);const at=a[_0x24e421(0x389)](_0x24e421(0x5fa));var yi=(_0x2aeac4=>(_0x2aeac4[_0x2aeac4[_0x24e421(0x351)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2aeac4[_0x2aeac4[_0x24e421(0x4c7)]=0x1]=_0x24e421(0x4c7),_0x2aeac4))(yi||{});const Wt=0x7530,Ft=_0x24e421(0x5d8);class $n extends a[_0x24e421(0x1fe)]{constructor(){const _0x3424d5=_0x24e421;super(),I(this,_0x3424d5(0x33e),a[_0x3424d5(0x667)]['generateRandomId']()),I(this,_0x3424d5(0x5ea),new Set()),I(this,_0x3424d5(0x623),new Map()),I(this,'_heartbeatTimer',null),I(this,'_clearOtherTimers',new Map()),I(this,_0x3424d5(0x25a),new Map()),this[_0x3424d5(0x541)]();}['dispose'](){const _0x47c319=_0x24e421;super[_0x47c319(0x4cc)](),this['_clearOtherTimers'][_0x47c319(0x5d1)]((_0x22f524,_0x231d89)=>this[_0x47c319(0x678)](_0x231d89)),this[_0x47c319(0x433)]&&window[_0x47c319(0x39b)](this['_heartbeatTimer']);}[_0x24e421(0x600)](_0x97414f){const _0x4b2ca8=_0x24e421;return this[_0x4b2ca8(0x3fc)](_0x97414f)[_0x4b2ca8(0x551)](N['distinctUntilChanged']());}['editingUnit'](_0x57d6d1){const _0x52e0c8=_0x24e421;this[_0x52e0c8(0x5ea)][_0x52e0c8(0x601)]===0x0&&this[_0x52e0c8(0x568)](),this[_0x52e0c8(0x5ea)][_0x52e0c8(0x30a)](_0x57d6d1),this['_send']({'type':0x0,'memberID':this[_0x52e0c8(0x33e)],'unitIDs':[_0x57d6d1],'isForwarded':!0x1});}[_0x24e421(0x528)](_0xaf3b2d){const _0x270d6f=_0x24e421;this['_selfUnitIDs'][_0x270d6f(0x5ae)](_0xaf3b2d),this[_0x270d6f(0x5ea)]['size']===0x0&&this[_0x270d6f(0x433)]&&window[_0x270d6f(0x39b)](this['_heartbeatTimer']);}[_0x24e421(0x541)](){const _0x4554ee=_0x24e421;this[_0x4554ee(0x244)](a[_0x4554ee(0x2a4)](N[_0x4554ee(0x4f7)](window,'storage')[_0x4554ee(0x4d3)](_0x5a1966=>{const _0x490519=_0x4554ee;if(_0x5a1966[_0x490519(0x5ab)]!==Ft||!_0x5a1966['newValue'])return;const _0x283d48=JSON[_0x490519(0x1f0)](_0x5a1966['newValue']);this['_handleEvent'](_0x283d48);}))),window[_0x4554ee(0x3f2)]('unload',()=>this[_0x4554ee(0x54c)]({'type':0x1,'memberID':this[_0x4554ee(0x33e)],'unitIDs':Array[_0x4554ee(0x48a)](this['_selfUnitIDs'])}));}[_0x24e421(0x1d2)](_0x221148){const _0x3f2110=_0x24e421;switch(_0x221148['type']){case 0x0:this[_0x3f2110(0x5c0)](_0x221148);break;case 0x1:this['_handleLeaveEvent'](_0x221148);break;case 0x2:this[_0x3f2110(0x626)](_0x221148);break;}}[_0x24e421(0x5c0)](_0x1c3ac8){const _0x4468d7=_0x24e421,{unitIDs:_0x476b2d,memberID:_0x4accc2,isForwarded:_0xbd0ba2}=_0x1c3ac8;_0x476b2d[_0x4468d7(0x5d1)](_0x4321d9=>{const _0x142ef4=_0x4468d7;if(!_0xbd0ba2&&this[_0x142ef4(0x623)][_0x142ef4(0x2b5)](_0x4321d9)&&this[_0x142ef4(0x3fc)](_0x4321d9)[_0x142ef4(0x65d)](0x1),!this[_0x142ef4(0x623)][_0x142ef4(0x2b5)](_0x4321d9)||!this[_0x142ef4(0x623)][_0x142ef4(0x1ce)](_0x4321d9)[_0x142ef4(0x2b5)](_0x4accc2)){const _0x42d6c8=this[_0x142ef4(0x623)]['get'](_0x4321d9)||new Set();_0x42d6c8['add'](_0x4accc2),this[_0x142ef4(0x623)][_0x142ef4(0x44a)](_0x4321d9,_0x42d6c8),this[_0x142ef4(0x636)](_0x4accc2);}}),_0xbd0ba2||this['_send']({'type':0x0,'memberID':this[_0x4468d7(0x33e)],'unitIDs':[...this[_0x4468d7(0x5ea)]],'isForwarded':!0x0});}[_0x24e421(0x636)](_0x1563e7){const _0x94bcda=_0x24e421;this[_0x94bcda(0x678)](_0x1563e7);const _0x58845b=window['setTimeout'](()=>{const _0x122286=_0x94bcda;this[_0x122286(0x623)][_0x122286(0x5d1)](_0x35728c=>{const _0x391683=_0x122286;_0x35728c[_0x391683(0x5ae)](_0x1563e7);});},Wt*0x2);this['_clearOtherTimers'][_0x94bcda(0x44a)](_0x1563e7,_0x58845b);}['_removeClearOtherTimer'](_0x5d6004){const _0x2abaea=_0x24e421;if(this[_0x2abaea(0x1d9)][_0x2abaea(0x2b5)](_0x5d6004)){const _0xda9f1d=this['_clearOtherTimers']['get'](_0x5d6004);_0xda9f1d&&window[_0x2abaea(0x2cd)](_0xda9f1d),this[_0x2abaea(0x1d9)]['set'](_0x5d6004,null);}}[_0x24e421(0x5a3)](_0x5c35a0){const _0x1f2f40=_0x24e421,{memberID:_0x50cfd4,unitIDs:_0x2cf2b0}=_0x5c35a0;_0x2cf2b0[_0x1f2f40(0x5d1)](_0x2c76ba=>{const _0x1a9515=_0x1f2f40;var _0x1de66d;const _0x11be69=this['_unitOnClients']['get'](_0x2c76ba);_0x11be69&&(_0x11be69[_0x1a9515(0x5ae)](_0x50cfd4),(_0x1de66d=this['_ensureSubject'](_0x2c76ba))==null||_0x1de66d['next'](_0x11be69[_0x1a9515(0x601)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x50cfd4);}['_handleHeartbeatEvent'](_0x4cf6e7){const _0x1a6ca9=_0x24e421;this[_0x1a6ca9(0x636)](_0x4cf6e7['memberID']);}['_send'](_0x46826a){const _0x5bb98f=_0x24e421;localStorage['setItem'](Ft,JSON[_0x5bb98f(0x3a6)](_0x46826a));}['_scheduleHeartbeat'](){const _0x2af948=_0x24e421;this[_0x2af948(0x433)]=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},Wt);}['_ensureSubject'](_0x35611b){const _0x5194d3=_0x24e421;return this[_0x5194d3(0x25a)]['has'](_0x35611b)||this['_unitStatus'][_0x5194d3(0x44a)](_0x35611b,new N[(_0x5194d3(0x43e))](0x0)),this[_0x5194d3(0x25a)]['get'](_0x35611b);}}var jn=Object[_0x24e421(0x5bd)],Hn=Object['getOwnPropertyDescriptor'],Bn=(_0x5eadd3,_0x869863,_0xe222ae,_0x3ed813)=>{const _0x74a086=_0x24e421;for(var _0x289d80=_0x3ed813>0x1?void 0x0:_0x3ed813?Hn(_0x869863,_0xe222ae):_0x869863,_0x56ae51=_0x5eadd3[_0x74a086(0x3c9)]-0x1,_0x44032e;_0x56ae51>=0x0;_0x56ae51--)(_0x44032e=_0x5eadd3[_0x56ae51])&&(_0x289d80=(_0x3ed813?_0x44032e(_0x869863,_0xe222ae,_0x289d80):_0x44032e(_0x289d80))||_0x289d80);return _0x3ed813&&_0x289d80&&jn(_0x869863,_0xe222ae,_0x289d80),_0x289d80;},ut=(_0x18d26e,_0x1bb16a)=>(_0x12bac2,_0x180b3)=>_0x1bb16a(_0x12bac2,_0x180b3,_0x18d26e);let et=class{constructor(_0xddb6cb,_0x451e35,_0x49c747){const _0x1a5459=_0x24e421;this[_0x1a5459(0x5f8)]=_0xddb6cb,this['_transformService']=_0x451e35,this[_0x1a5459(0x1dd)]=_0x49c747;}[_0x24e421(0x569)](_0x1c2ccd){const _0x6f660c=_0x24e421;this[_0x6f660c(0x308)](_0x1c2ccd);}[_0x24e421(0x4bc)](_0xbb79be){const _0x523fd7=_0x24e421,{unitID:_0x341634}=_0xbb79be,{collaboration:_0x185676}=this[_0x523fd7(0x1dd)][_0x523fd7(0x44e)](_0x341634);if(_0x185676['length']===0x0)return _0xbb79be;let _0x197b85=a[_0x523fd7(0x667)]['deepClone'](_0xbb79be[_0x523fd7(0x64d)][0x0]);for(let _0x32f413=0x0;_0x32f413<_0x185676[_0x523fd7(0x3c9)];_0x32f413++){const _0x2587ed={'id':_0x523fd7(0x20b),'params':{'unitId':_0x185676[_0x32f413][_0x523fd7(0x359)],..._0x185676[_0x32f413][_0x523fd7(0x477)]}},_0x336595=this[_0x523fd7(0x3d5)]['transformMutation'](_0x197b85,_0x2587ed,!0x1);if(m[_0x523fd7(0x3fe)](_0x336595))throw _0x336595['error'];_0x197b85=_0x336595[_0x523fd7(0x451)];}return{...a[_0x523fd7(0x667)][_0x523fd7(0x24a)](_0xbb79be),'mutations':[_0x197b85]};}['_transformHistoryAndStateStack'](_0x4ab9c9){const _0x566eae=_0x24e421,{unitID:_0x288cbc}=_0x4ab9c9,{history:_0x2c91a6,collaboration:_0x5ec956}=this[_0x566eae(0x1dd)][_0x566eae(0x44e)](_0x288cbc);if(_0x2c91a6[_0x566eae(0x3c9)]===0x0&&_0x5ec956[_0x566eae(0x3c9)]===0x0)return;const _0x23e3f0=[],_0x505b17=[];let _0x19ce4a=a[_0x566eae(0x667)][_0x566eae(0x24a)](_0x4ab9c9['mutations'][0x0]),_0x39f2a6=a[_0x566eae(0x667)]['deepClone'](_0x4ab9c9[_0x566eae(0x64d)][0x0]);for(let _0x437522=_0x2c91a6[_0x566eae(0x3c9)]-0x1;_0x437522>=0x0;_0x437522--){const _0x5e19ac={'id':_0x566eae(0x20b),'params':{'unitId':_0x2c91a6[_0x437522]['unitId'],..._0x2c91a6[_0x437522][_0x566eae(0x49c)]}},_0x30fafd={'id':_0x566eae(0x20b),'params':{'unitId':_0x2c91a6[_0x437522]['unitId'],..._0x2c91a6[_0x437522]['redoState']}},_0x1bef15=this[_0x566eae(0x3d5)][_0x566eae(0x327)](_0x19ce4a,_0x5e19ac,!0x1),_0x33fce3=this[_0x566eae(0x3d5)]['transformMutation'](_0x39f2a6,_0x30fafd,!0x1);if(m['isTransformMutationFailure'](_0x1bef15))throw _0x1bef15[_0x566eae(0x49e)];if(m['isTransformMutationFailure'](_0x33fce3))throw _0x33fce3['error'];_0x23e3f0[_0x566eae(0x200)]({..._0x2c91a6[_0x437522],'undoState':_0x1bef15['m2Prime'][_0x566eae(0x245)],'redoState':_0x33fce3[_0x566eae(0x365)]['params']}),_0x19ce4a=_0x1bef15[_0x566eae(0x451)],_0x39f2a6=_0x33fce3['m1Prime'];}_0x19ce4a=a[_0x566eae(0x667)]['deepClone'](_0x4ab9c9[_0x566eae(0x64d)][0x0]),_0x39f2a6=a[_0x566eae(0x667)][_0x566eae(0x24a)](_0x4ab9c9[_0x566eae(0x64d)][0x0]);for(let _0x3b714e=_0x5ec956[_0x566eae(0x3c9)]-0x1;_0x3b714e>=0x0;_0x3b714e--){const _0xe7e003={'id':_0x566eae(0x20b),'params':{'unitId':_0x5ec956[_0x3b714e][_0x566eae(0x359)],..._0x5ec956[_0x3b714e][_0x566eae(0x49c)]}},_0x364a78={'id':_0x566eae(0x20b),'params':{'unitId':_0x5ec956[_0x3b714e][_0x566eae(0x359)],..._0x5ec956[_0x3b714e][_0x566eae(0x477)]}},_0x19294a=this[_0x566eae(0x3d5)][_0x566eae(0x327)](_0x19ce4a,_0xe7e003,!0x1),_0xffdad1=this[_0x566eae(0x3d5)][_0x566eae(0x327)](_0x39f2a6,_0x364a78,!0x1);if(m[_0x566eae(0x3fe)](_0x19294a))throw _0x19294a[_0x566eae(0x49e)];if(m[_0x566eae(0x3fe)](_0xffdad1))throw _0xffdad1[_0x566eae(0x49e)];_0x505b17[_0x566eae(0x200)]({..._0x5ec956[_0x3b714e],'undoState':_0x19294a[_0x566eae(0x365)][_0x566eae(0x245)],'redoState':_0xffdad1[_0x566eae(0x365)][_0x566eae(0x245)]}),_0x19ce4a=_0x19294a[_0x566eae(0x451)],_0x39f2a6=_0xffdad1[_0x566eae(0x451)];}this[_0x566eae(0x1dd)][_0x566eae(0x41d)](_0x288cbc,{'history':_0x23e3f0,'collaboration':_0x505b17});}};et=Bn([ut(0x0,a['Inject'](a[_0x24e421(0x224)])),ut(0x1,m[_0x24e421(0x379)]),ut(0x2,a[_0x24e421(0x52f)](J[_0x24e421(0x4e0)]))],et);function Di(_0x209cb4){const _0xd0e90d=_0x24e421;let _0x35892c='';for(const _0x1ba155 of _0x209cb4){const {startOffset:_0x345101,endOffset:_0x3b5a38,isActive:_0x30737c,rangeType:_0x4036ad,segmentId:_0x123f48,segmentPage:_0x5c9a8b}=_0x1ba155;_0x35892c[_0xd0e90d(0x3c9)]&&(_0x35892c+=','),_0x35892c+=_0x345101+':'+_0x3b5a38+':'+(_0x30737c?'1':'0')+':'+_0x4036ad+':'+_0x123f48+':'+_0x5c9a8b;}return _0x35892c;}function kn(_0x10d465){const _0x1d285b=_0x24e421,_0x2e3dda=_0x10d465[_0x1d285b(0x271)](','),_0x1db052=[];for(const _0x2755dd of _0x2e3dda){const [_0x49ef2d,_0x3689ef,_0x5f8b9c,_0x240634,_0x563c0a,_0x195712]=_0x2755dd['split'](':');_0x1db052[_0x1d285b(0x2f8)]({'startOffset':Number(_0x49ef2d),'endOffset':Number(_0x3689ef),'collapsed':_0x49ef2d===_0x3689ef,'isActive':_0x5f8b9c==='1','rangeType':_0x240634===a[_0x1d285b(0x5ba)][_0x1d285b(0x67b)]?a[_0x1d285b(0x5ba)][_0x1d285b(0x67b)]:a['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x563c0a==_0x1d285b(0x64c)?String(_0x563c0a):'','segmentPage':Number(_0x195712!=null?_0x195712:-0x1)});}return _0x1db052[_0x1d285b(0x338)](_0x219835=>_0x219835[_0x1d285b(0x37f)])||(_0x1db052[0x0][_0x1d285b(0x37f)]=!0x0),_0x1db052;}class Ut extends a['RxDisposable']{constructor(){const _0x58d0ce=_0x24e421;super(...arguments),I(this,_0x58d0ce(0x3a9),new N['BehaviorSubject'](null)),I(this,_0x58d0ce(0x326),this['_collabCursorState$']['asObservable']());}[_0x24e421(0x500)](_0x47a35d){const _0x210d46=_0x24e421,{unitID:_0x5d1b67,memberID:_0x286bf2,textRanges:_0x4cb61e}=_0x47a35d,_0x482c53=Di(_0x4cb61e);if(_0x482c53==='')return;const _0x2310eb={'unitID':_0x5d1b67,'memberID':_0x286bf2,'selection':_0x482c53};this[_0x210d46(0x3a9)]['next'](_0x2310eb);}}var Wn=Object[_0x24e421(0x5bd)],Fn=Object[_0x24e421(0x221)],Vn=(_0x441a74,_0x40a050,_0x287c4f,_0x18d4e5)=>{const _0x3ed856=_0x24e421;for(var _0x24ffe3=_0x18d4e5>0x1?void 0x0:_0x18d4e5?Fn(_0x40a050,_0x287c4f):_0x40a050,_0x1ec8de=_0x441a74[_0x3ed856(0x3c9)]-0x1,_0x51d1d7;_0x1ec8de>=0x0;_0x1ec8de--)(_0x51d1d7=_0x441a74[_0x1ec8de])&&(_0x24ffe3=(_0x18d4e5?_0x51d1d7(_0x40a050,_0x287c4f,_0x24ffe3):_0x51d1d7(_0x24ffe3))||_0x24ffe3);return _0x18d4e5&&_0x24ffe3&&Wn(_0x40a050,_0x287c4f,_0x24ffe3),_0x24ffe3;},Vt=(_0x1c21cd,_0x25edbc)=>(_0x5a5d2d,_0x565b7d)=>_0x25edbc(_0x5a5d2d,_0x565b7d,_0x1c21cd);let tt=class{constructor(_0xde5716,_0x460e3d){this['_injector']=_0xde5716,this['_transformService']=_0x460e3d;}[_0x24e421(0x3ab)](_0x5d38d5){const _0x5aed13=_0x24e421;var _0xdcc7cc;const _0x44d600=this[_0x5aed13(0x5f8)][_0x5aed13(0x1ce)](Ie[_0x5aed13(0x313)]),_0x2ff192=(_0xdcc7cc=_0x44d600[_0x5aed13(0x532)]())!=null?_0xdcc7cc:[];if(_0x2ff192['length']===0x0)return;const _0x589035=_0x5d38d5[_0x5aed13(0x1cb)],_0xb63411=[{'id':_0x5aed13(0x20b),'params':{'unitId':_0x589035,'actions':null,'textRanges':_0x2ff192}}],_0x146835=this[_0x5aed13(0x3d5)][_0x5aed13(0x5af)](_0x5d38d5,_0xb63411);if(!m[_0x5aed13(0x270)](_0x146835))throw _0x146835[_0x5aed13(0x49e)];const _0x3e9768=_0x146835['m2Prime'][0x0]['params'][_0x5aed13(0x5e2)];Array[_0x5aed13(0x357)](_0x3e9768)&&_0x3e9768[_0x5aed13(0x3c9)]&&_0x44d600[_0x5aed13(0x34d)](_0x3e9768,{'unitId':_0x589035,'subUnitId':_0x589035},!0x1);}};tt=Vn([Vt(0x0,a['Inject'](a['Injector'])),Vt(0x1,m[_0x24e421(0x379)])],tt);const Gn=new Set([k[_0x24e421(0x627)]['id']]);function Gt(_0x4593a4,_0x4e4adc,_0x3387b3,_0x22a0b2,_0x4ad3e4){const _0x5c1c3d=_0x24e421;var _0x5c2449,_0x2d7fde,_0x37f414,_0x285d2;const _0x8eefee=[];for(const _0x570646 of _0x4593a4)if(Gn[_0x5c1c3d(0x2b5)](_0x570646['id'])){if(_0x8eefee['length']>0x0)break;_0x8eefee[_0x5c1c3d(0x2f8)](_0x570646);break;}else _0x8eefee['push'](_0x570646);const _0x56c534=(_0x2d7fde=(_0x5c2449=_0x4ad3e4[_0x5c1c3d(0x616)]())==null?void 0x0:_0x5c2449[_0x5c1c3d(0x36d)])!=null?_0x2d7fde:_0x5c1c3d(0x2de),_0x305fbf=(_0x285d2=(_0x37f414=_0x4ad3e4['getCurrentUser']())==null?void 0x0:_0x37f414['memberID'])!=null?_0x285d2:_0x5c1c3d(0x2de);return{'changeset':{'unitID':_0x4e4adc,'type':m[_0x5c1c3d(0x57a)](_0x3387b3[_0x5c1c3d(0x38b)](_0x4e4adc)),'baseRev':_0x22a0b2[_0x5c1c3d(0x1bf)](_0x4e4adc),'revision':0x0,'userID':_0x56c534,'memberID':_0x305fbf,'mutations':_0x8eefee},'pendingMutations':_0x4593a4[_0x5c1c3d(0x406)](_0x8eefee['length'])};}function Yn(_0x248b4b,_0x2f8c69,_0x3f99e0,_0x58b096,_0x4557b8){const _0xf00fb2=_0x24e421;var _0x19a97d,_0x49b92c,_0x1d3c13,_0x2387e9;const _0x3d1ef0=[_0x248b4b[_0xf00fb2(0x26c)]((_0x259845,_0x366320)=>{const _0x492b9f=_0xf00fb2;var _0x2243bb;const {id:_0x526e60}=_0x259845,{id:_0x2d98e4,type:_0x250627}=_0x366320,_0x232fbf=(_0x2243bb=_0x259845[_0x492b9f(0x245)])!=null?_0x2243bb:{'actions':null},_0x4a23a5=_0x366320[_0x492b9f(0x245)];if(_0x526e60&&_0x526e60!==_0x2d98e4)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x526e60+_0x492b9f(0x583)+_0x2d98e4+'.');return{..._0x259845,'id':_0x2d98e4,'type':_0x250627,'params':{'unitId':_0x4a23a5[_0x492b9f(0x359)],'textRanges':_0x4a23a5[_0x492b9f(0x5e2)],'actions':a[_0x492b9f(0x482)]['compose'](_0x232fbf[_0x492b9f(0x2b8)],_0x4a23a5[_0x492b9f(0x2b8)])}};},{})],_0x95301c=(_0x49b92c=(_0x19a97d=_0x4557b8['getCurrentUser']())==null?void 0x0:_0x19a97d[_0xf00fb2(0x36d)])!=null?_0x49b92c:_0xf00fb2(0x2de),_0x23dd13=(_0x2387e9=(_0x1d3c13=_0x4557b8[_0xf00fb2(0x616)]())==null?void 0x0:_0x1d3c13[_0xf00fb2(0x1ef)])!=null?_0x2387e9:_0xf00fb2(0x2de);return{'changeset':{'unitID':_0x2f8c69,'type':m[_0xf00fb2(0x57a)](_0x3f99e0[_0xf00fb2(0x38b)](_0x2f8c69)),'baseRev':_0x58b096[_0xf00fb2(0x1bf)](_0x2f8c69),'revision':0x0,'userID':_0x95301c,'memberID':_0x23dd13,'mutations':_0x3d1ef0},'pendingMutations':[]};}function Pi(_0x13eabb,_0x4408e7){const _0xb30e3d=_0x24e421,_0x5bce11=new N[(_0xb30e3d(0x619))](0x1);return setTimeout(()=>_0x5bce11[_0xb30e3d(0x65d)](_0x4408e7),_0x13eabb),_0x5bce11[_0xb30e3d(0x285)]()['pipe'](N[_0xb30e3d(0x1d0)](0x1));}const qn={'id':k[_0x24e421(0x484)]['id'],'type':a[_0x24e421(0x342)]['MUTATION'],'params':{}};var Kn=Object[_0x24e421(0x5bd)],zn=Object[_0x24e421(0x221)],Ee=(_0x38b347,_0x2bda24,_0x5bbad0,_0x284b0d)=>{const _0x17e4ac=_0x24e421;for(var _0x566d4a=_0x284b0d>0x1?void 0x0:_0x284b0d?zn(_0x2bda24,_0x5bbad0):_0x2bda24,_0x36acdc=_0x38b347[_0x17e4ac(0x3c9)]-0x1,_0x500eef;_0x36acdc>=0x0;_0x36acdc--)(_0x500eef=_0x38b347[_0x36acdc])&&(_0x566d4a=(_0x284b0d?_0x500eef(_0x2bda24,_0x5bbad0,_0x566d4a):_0x500eef(_0x566d4a))||_0x566d4a);return _0x284b0d&&_0x566d4a&&Kn(_0x2bda24,_0x5bbad0,_0x566d4a),_0x566d4a;},A=(_0x214a3c,_0x594d01)=>(_0xe8f1e4,_0xddac24)=>_0x594d01(_0xe8f1e4,_0xddac24,_0x214a3c),K=(_0xeb671a=>(_0xeb671a[_0x24e421(0x247)]='not_collab',_0xeb671a[_0x24e421(0x586)]='synced',_0xeb671a['PENDING']=_0x24e421(0x5e7),_0xeb671a['AWAITING']='awaiting',_0xeb671a[_0x24e421(0x2f3)]=_0x24e421(0x413),_0xeb671a[_0x24e421(0x2e3)]=_0x24e421(0x462),_0xeb671a[_0x24e421(0x543)]=_0x24e421(0x5db),_0xeb671a['OFFLINE']=_0x24e421(0x265),_0xeb671a))(K||{});const wi=0xea60;function _0x5e3c(_0x13e912,_0x802136){const _0x13dd45=_0x13dd();return _0x5e3c=function(_0x5e3c3a,_0x1dccad){_0x5e3c3a=_0x5e3c3a-0x1ba;let _0x30a90d=_0x13dd45[_0x5e3c3a];return _0x30a90d;},_0x5e3c(_0x13e912,_0x802136);}class be{constructor(_0x315b8f,_0x546e12,_0x14f80e,_0x54e54d,_0x31df89,_0x289ae8,_0x40eeea,_0x412073,_0x53693a){const _0x41cc84=_0x24e421;I(this,_0x41cc84(0x309),null),I(this,_0x41cc84(0x680),[]),(this[_0x41cc84(0x1cb)]=_0x315b8f,this[_0x41cc84(0x408)]=_0x546e12,this[_0x41cc84(0x1f9)]=_0x31df89,this[_0x41cc84(0x3c0)]=_0x289ae8,this[_0x41cc84(0x57c)]=_0x40eeea,this['_revisionService']=_0x412073,this[_0x41cc84(0x2bc)]=_0x53693a,this['_awaitingChangeset']=_0x14f80e,this['_pendingMutations']=_0x54e54d);}[_0x24e421(0x3ea)](_0x573ae3){const _0x463c4e=_0x24e421,_0x8e0d74=this['_revisionService'][_0x463c4e(0x1bf)](this[_0x463c4e(0x1cb)]);return _0x573ae3[_0x463c4e(0x54f)]>_0x8e0d74+0x1?(this[_0x463c4e(0x1f9)]['onMissingChangesets']({'from':_0x8e0d74,'to':_0x573ae3[_0x463c4e(0x54f)]-0x1}),!0x0):!0x1;}[_0x24e421(0x5a6)](_0x47a8ed){const _0x186731=_0x24e421;this[_0x186731(0x57c)][_0x186731(0x570)](this[_0x186731(0x1cb)],_0x47a8ed);}[_0x24e421(0x27b)](_0x3595da){const _0x5ec9e7=_0x24e421;var _0xba4650,_0x133664;(_0x133664=(_0xba4650=this[_0x5ec9e7(0x1f9)])['onTransformSelections'])==null||_0x133664[_0x5ec9e7(0x546)](_0xba4650,_0x3595da);}[_0x24e421(0x39c)](_0x270a1f){const _0xdd29dd=_0x24e421;var _0x5c8fb1,_0x86d4b8;return(_0x86d4b8=(_0x5c8fb1=this[_0xdd29dd(0x1f9)])[_0xdd29dd(0x1f3)])==null?void 0x0:_0x86d4b8['call'](_0x5c8fb1,_0x270a1f);}[_0x24e421(0x5be)](_0xe875e1){const _0x44058f=_0x24e421;var _0x65a9f2,_0x3ab45c;return(_0x3ab45c=(_0x65a9f2=this['_handler'])[_0x44058f(0x414)])==null?void 0x0:_0x3ab45c[_0x44058f(0x546)](_0x65a9f2,_0xe875e1);}['_transformRemoteChangesetByIMECache'](_0x10c16e){const _0x43f839=_0x24e421;var _0x1bf1b9,_0x330531,_0x2a261e;return(_0x2a261e=(_0x330531=(_0x1bf1b9=this[_0x43f839(0x1f9)])[_0x43f839(0x478)])==null?void 0x0:_0x330531[_0x43f839(0x546)](_0x1bf1b9,_0x10c16e))!=null?_0x2a261e:_0x10c16e;}[_0x24e421(0x5f5)](_0x296c0f){const _0x1edcea=_0x24e421;var _0xfaf943,_0x4e25d2,_0x8060ba;return(_0x8060ba=(_0x4e25d2=(_0xfaf943=this[_0x1edcea(0x1f9)])[_0x1edcea(0x62e)])==null?void 0x0:_0x4e25d2[_0x1edcea(0x546)](_0xfaf943,_0x296c0f))!=null?_0x8060ba:_0x296c0f;}[_0x24e421(0x4b0)](_0x3785f3){const _0x2d69dc=_0x24e421;var _0x191fd5,_0x374a46;if(this[_0x2d69dc(0x408)]===ie[_0x2d69dc(0x5b6)]){const {unitID:_0x156ab8,mutations:_0x16d874,memberID:_0x2cf2eb}=_0x3785f3,_0x304eab=_0x16d874[0x0]['params'][_0x2d69dc(0x5e2)];Array[_0x2d69dc(0x357)](_0x304eab)&&_0x304eab['length']>0x0&&((_0x374a46=(_0x191fd5=this[_0x2d69dc(0x1f9)])[_0x2d69dc(0x3ef)])==null||_0x374a46['call'](_0x191fd5,{'unitID':_0x156ab8,'memberID':_0x2cf2eb,'textRanges':_0x304eab}));}}['_updateLocalCache'](){const _0x2312a9=_0x24e421;this[_0x2312a9(0x2bc)]['updateOfflineData'](this['unitID'],this[_0x2312a9(0x408)],this['_awaitingChangeset'],this[_0x2312a9(0x680)]);}[_0x24e421(0x487)](){const _0x12a5e5=_0x24e421;return this[_0x12a5e5(0x32c)]['getCurrentRevOfUnit'](this[_0x12a5e5(0x1cb)]);}[_0x24e421(0x3ee)](){const _0x120f4f=_0x24e421;this[_0x120f4f(0x32c)][_0x120f4f(0x30f)](this[_0x120f4f(0x1cb)]);}[_0x24e421(0x3d6)](_0x14ad7f){const _0x1d7680=_0x24e421;var _0x439ccb;let _0x15fb4b=this[_0x1d7680(0x396)](_0x14ad7f);_0x15fb4b=this[_0x1d7680(0x5f5)](_0x15fb4b);const _0x16dc89=a[_0x1d7680(0x2f9)](_0x15fb4b[_0x1d7680(0x64d)],this[_0x1d7680(0x3c0)],{'fromCollab':!0x0});if(!_0x16dc89[_0x1d7680(0x3e5)])throw _0x16dc89[_0x1d7680(0x49e)]instanceof Error?_0x16dc89[_0x1d7680(0x49e)]:new Error((_0x439ccb=_0x16dc89[_0x1d7680(0x49e)])!=null?_0x439ccb:_0x1d7680(0x4d0));this['_transformIMECache'](_0x15fb4b),this['_transformStateCache'](_0x15fb4b),this[_0x1d7680(0x5a6)](_0x14ad7f),this['_transformSelections'](_0x15fb4b),this[_0x1d7680(0x4b0)](_0x15fb4b),this[_0x1d7680(0x3ee)]();}}let Oe=class extends be{constructor(_0x559403,_0x1ead0c,_0x5df2ab,_0x1b1c02,_0x5489f2,_0x147e6d,_0x311b22,_0xc44d,_0x26c55d,_0x1ac9bb){const _0x2cf12e=_0x24e421;super(_0x559403,_0x1ead0c,null,[],_0x5df2ab,_0xc44d,_0x311b22,_0x1b1c02,_0x5489f2),I(this,_0x2cf12e(0x597),_0x2cf12e(0x461)),(this[_0x2cf12e(0x5f8)]=_0x147e6d,this['_logService']=_0x26c55d,this[_0x2cf12e(0x3d5)]=_0x1ac9bb);}[_0x24e421(0x56a)](_0x1029de){const _0x1a9438=_0x24e421,_0xd2bb0b=this['_injector']['createInstance'](ae,this[_0x1a9438(0x1cb)],this[_0x1a9438(0x408)],[_0x1029de],this['_handler']);return _0xd2bb0b[_0x1a9438(0x3d9)](),_0xd2bb0b[_0x1a9438(0x5d7)](),_0xd2bb0b;}[_0x24e421(0x622)](_0xef27f9){const _0x1fd319=_0x24e421;if(this[_0x1fd319(0x3ea)](_0xef27f9))return this[_0x1fd319(0x5f8)][_0x1fd319(0x278)](re,this[_0x1fd319(0x1cb)],this[_0x1fd319(0x408)],null,[],null,[_0xef27f9],this[_0x1fd319(0x1f9)]);try{const _0xe61410=this[_0x1fd319(0x3d5)][_0x1fd319(0x5af)](_0xef27f9,[qn]);if(m['isTransformMutationsWithChangesetSuccess'](_0xe61410)){const {c1Prime:_0x5282d2}=_0xe61410;return this[_0x1fd319(0x3d6)](_0x5282d2),this;}throw _0xe61410[_0x1fd319(0x49e)];}catch(_0x21298b){return this[_0x1fd319(0x383)][_0x1fd319(0x49e)](_0x21298b),this['_onConflict'](!0x1);}}[_0x24e421(0x260)](_0x5012dc){const _0x1a230c=_0x24e421;return this[_0x1a230c(0x5f8)]['createInstance'](fe,this[_0x1a230c(0x1cb)],this['type'],null,[],this[_0x1a230c(0x1f9)],_0x5012dc);}[_0x24e421(0x505)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x24e421(0x28a)](){const _0x23965d=_0x24e421;throw new Error(_0x23965d(0x630));}[_0x24e421(0x2e1)](){return this;}[_0x24e421(0x5ec)](){const _0x5a5e0f=_0x24e421;return this['_injector'][_0x5a5e0f(0x278)](ve,this[_0x5a5e0f(0x1cb)],this[_0x5a5e0f(0x408)],null,[],this[_0x5a5e0f(0x1f9)]);}[_0x24e421(0x22a)](){return this;}[_0x24e421(0x53b)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x511f10=_0x24e421,_0x2b1900=this['_revisionService']['getCurrentRevOfUnit'](this[_0x511f10(0x1cb)]);return this[_0x511f10(0x1f9)]['onMissingChangesets']({'from':_0x2b1900,'to':0x0}),this['_injector'][_0x511f10(0x278)](re,this['unitID'],this['type'],null,[],null,[],this[_0x511f10(0x1f9)]);}};Oe=Ee([A(0x3,a[_0x24e421(0x52f)](m[_0x24e421(0x438)])),A(0x4,a['Inject'](exports[_0x24e421(0x4b2)])),A(0x5,a[_0x24e421(0x52f)](a['Injector'])),A(0x6,a[_0x24e421(0x3fb)]),A(0x7,a[_0x24e421(0x2b1)]),A(0x8,a['ILogService']),A(0x9,m[_0x24e421(0x379)])],Oe);let ae=class extends be{constructor(_0x418f48,_0x5ba5c8,_0x3e0e71,_0x4a7385,_0x139b08,_0x3bdc72,_0x33ee35,_0x46139b,_0x219f22,_0x383072,_0x2f3919,_0x4d409d,_0x497546,_0x9bce4f){const _0x421105=_0x24e421;super(_0x418f48,_0x5ba5c8,null,_0x3e0e71,_0x4a7385,_0x383072,_0x9bce4f,_0x3bdc72,_0x33ee35),I(this,_0x421105(0x597),_0x421105(0x5e7)),I(this,_0x421105(0x3f1),null),I(this,_0x421105(0x566),null),(this[_0x421105(0x5f8)]=_0x139b08,this['_memberService']=_0x46139b,this[_0x421105(0x383)]=_0x219f22,this[_0x421105(0x5c2)]=_0x2f3919,this[_0x421105(0x3d5)]=_0x4d409d,this[_0x421105(0x49f)]=_0x497546);}['appendMutation'](_0x51019c){const _0x419cf4=_0x24e421;return this['_pendingMutations'][_0x419cf4(0x2f8)](_0x51019c),this['_updateLocalCache'](),this;}[_0x24e421(0x622)](_0x13ad5e){const _0x295cfa=_0x24e421;if(this[_0x295cfa(0x3ea)](_0x13ad5e))return this[_0x295cfa(0x27e)](),this[_0x295cfa(0x5f8)][_0x295cfa(0x278)](re,this[_0x295cfa(0x1cb)],this[_0x295cfa(0x408)],null,this[_0x295cfa(0x680)],null,[_0x13ad5e],this['_handler']);try{const _0x18d600=this[_0x295cfa(0x3d5)][_0x295cfa(0x5af)](_0x13ad5e,this[_0x295cfa(0x680)]);if(m[_0x295cfa(0x270)](_0x18d600)){const {c1Prime:_0x2d08f2,m2Prime:_0x3c78ab}=_0x18d600;this[_0x295cfa(0x3d6)](_0x2d08f2);const _0x504201=this[_0x295cfa(0x5f8)][_0x295cfa(0x278)](ae,this[_0x295cfa(0x1cb)],this[_0x295cfa(0x408)],_0x3c78ab,this[_0x295cfa(0x1f9)]);return this[_0x295cfa(0x27e)](),_0x504201['_schedule'](this['_scheduleTimestamp']?Math[_0x295cfa(0x36b)](0x0,new Date()[_0x295cfa(0x621)]()-this[_0x295cfa(0x3f1)]):this['_getSendChangesetTimeout']()),_0x504201;}throw _0x18d600[_0x295cfa(0x49e)];}catch(_0x45c66b){return this['_logService'][_0x295cfa(0x49e)](_0x45c66b),this[_0x295cfa(0x260)](!0x1);}}[_0x24e421(0x505)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x21e572=_0x24e421;throw new Error(_0x21e572(0x647));}[_0x24e421(0x2e1)](){return this;}[_0x24e421(0x5ec)](){const _0xb93b8d=_0x24e421;return this['_clearScheduledTask'](),this[_0xb93b8d(0x5f8)][_0xb93b8d(0x278)](ve,this[_0xb93b8d(0x1cb)],this[_0xb93b8d(0x408)],null,this[_0xb93b8d(0x680)],this[_0xb93b8d(0x1f9)]);}[_0x24e421(0x22a)](){return this;}[_0x24e421(0x3d9)](_0x329665){const _0x5bb72d=_0x24e421,_0x57c934=_0x329665!=null?_0x329665:this[_0x5bb72d(0x4d8)]();this[_0x5bb72d(0x3f1)]=new Date()[_0x5bb72d(0x621)](),this['_sendingTimer']=window[_0x5bb72d(0x46a)](()=>{const _0x1808a0=_0x5bb72d;this[_0x1808a0(0x27e)]();let _0x198656=null;switch(this['type']){case ie[_0x1808a0(0x4d1)]:{_0x198656=Gt(this[_0x1808a0(0x680)],this[_0x1808a0(0x1cb)],this[_0x1808a0(0x49f)],this[_0x1808a0(0x32c)],this[_0x1808a0(0x2bf)]);break;}case ie['UNIVER_DOC']:{this['_pendingMutations'][_0x1808a0(0x4a1)](_0x277397=>_0x277397['id']===Ie['RichTextEditingMutation']['id'])?_0x198656=Yn(this[_0x1808a0(0x680)],this[_0x1808a0(0x1cb)],this[_0x1808a0(0x49f)],this[_0x1808a0(0x32c)],this[_0x1808a0(0x2bf)]):_0x198656=Gt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x1808a0(0x32c)],this[_0x1808a0(0x2bf)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x1808a0(0x222));}const {changeset:_0x22a81f,pendingMutations:_0x3fd642}=_0x198656;this[_0x1808a0(0x1f9)][_0x1808a0(0x2b3)](_0x22a81f);const _0x3f3b89=_0x3fd642['length']?this[_0x1808a0(0x5f8)]['createInstance'](ce,this[_0x1808a0(0x1cb)],this[_0x1808a0(0x408)],_0x22a81f,_0x3fd642,this['_handler'],void 0x0):this[_0x1808a0(0x5f8)]['createInstance'](de,this['unitID'],this[_0x1808a0(0x408)],_0x22a81f,this[_0x1808a0(0x1f9)]);_0x3f3b89[_0x1808a0(0x5d7)](),this[_0x1808a0(0x1f9)]['onStateChange'](this,_0x3f3b89);},_0x57c934);}[_0x24e421(0x4d8)](){const _0x56afa1=_0x24e421;var _0x3e0bc2;const _0x489f91=this[_0x56afa1(0x5c2)][_0x56afa1(0x447)](Z);return(_0x3e0bc2=_0x489f91==null?void 0x0:_0x489f91[_0x56afa1(0x2a2)])!=null?_0x3e0bc2:zi;}[_0x24e421(0x53b)](){const _0x6ef7f1=_0x24e421;throw new Error(_0x6ef7f1(0x494));}[_0x24e421(0x27e)](){const _0x523391=_0x24e421;this[_0x523391(0x566)]!=null&&(clearTimeout(this[_0x523391(0x566)]),this[_0x523391(0x566)]=null);}[_0x24e421(0x260)](_0x4482c7){const _0x3dbe3c=_0x24e421;return this['_clearScheduledTask'](),this[_0x3dbe3c(0x5f8)][_0x3dbe3c(0x278)](fe,this[_0x3dbe3c(0x1cb)],this[_0x3dbe3c(0x408)],null,this[_0x3dbe3c(0x680)],this[_0x3dbe3c(0x1f9)],_0x4482c7);}};ae=Ee([A(0x4,a[_0x24e421(0x52f)](a[_0x24e421(0x224)])),A(0x5,a[_0x24e421(0x52f)](m[_0x24e421(0x438)])),A(0x6,a[_0x24e421(0x52f)](exports[_0x24e421(0x4b2)])),A(0x7,a[_0x24e421(0x52f)](exports[_0x24e421(0x5e4)])),A(0x8,a['ILogService']),A(0x9,a['ICommandService']),A(0xa,a[_0x24e421(0x3ba)]),A(0xb,m[_0x24e421(0x379)]),A(0xc,a[_0x24e421(0x344)]),A(0xd,a['IUndoRedoService'])],ae);let de=class extends be{constructor(_0x107cb4,_0x40ca29,_0x63d7ed,_0x29be42,_0x43071a,_0x4886df,_0x57641f,_0x275a85,_0x3d7f15,_0x3f65c5,_0x2a173e){const _0x52389e=_0x24e421;super(_0x107cb4,_0x40ca29,_0x63d7ed,[],_0x29be42,_0x275a85,_0x2a173e,_0x4886df,_0x57641f),I(this,'status','awaiting'),I(this,_0x52389e(0x220),0x0),I(this,_0x52389e(0x215)),I(this,_0x52389e(0x225)),(this[_0x52389e(0x5f8)]=_0x43071a,this[_0x52389e(0x383)]=_0x3d7f15,this[_0x52389e(0x3d5)]=_0x3f65c5);}[_0x24e421(0x56a)](_0x2666e9){const _0x35af12=_0x24e421;this['_clearScheduledTask']();const _0x3f0cb9=this[_0x35af12(0x5f8)][_0x35af12(0x278)](ce,this['unitID'],this['type'],this[_0x35af12(0x309)],[_0x2666e9],this[_0x35af12(0x1f9)],this['_resendTimer']);return _0x3f0cb9[_0x35af12(0x5d7)](),_0x3f0cb9;}[_0x24e421(0x622)](_0x191c00){const _0x2ff7cf=_0x24e421;if(this[_0x2ff7cf(0x3ea)](_0x191c00))return this[_0x2ff7cf(0x27e)](),this[_0x2ff7cf(0x5f8)][_0x2ff7cf(0x278)](re,this[_0x2ff7cf(0x1cb)],this[_0x2ff7cf(0x408)],this[_0x2ff7cf(0x309)],[],null,[_0x191c00],this[_0x2ff7cf(0x1f9)]);try{const _0x108364=this[_0x2ff7cf(0x3d5)]['transformChangesets']([_0x191c00],[this[_0x2ff7cf(0x309)]],!0x1);if(m[_0x2ff7cf(0x544)](_0x108364)){const {c1Prime:_0x26e345,c2Prime:_0x42721d}=_0x108364;this[_0x2ff7cf(0x3d6)](_0x26e345[0x0]),_0x42721d[0x0][_0x2ff7cf(0x588)]=this[_0x2ff7cf(0x487)](),this[_0x2ff7cf(0x27e)]();const _0x1cffdb=this[_0x2ff7cf(0x5f8)]['createInstance'](de,this[_0x2ff7cf(0x1cb)],this[_0x2ff7cf(0x408)],_0x42721d[0x0],this[_0x2ff7cf(0x1f9)]);return _0x1cffdb[_0x2ff7cf(0x5d7)](),_0x1cffdb;}return this[_0x2ff7cf(0x260)](!0x1);}catch(_0x19edff){return this[_0x2ff7cf(0x383)][_0x2ff7cf(0x49e)](_0x19edff),this[_0x2ff7cf(0x260)](!0x1);}}['onRemoteAck'](_0x38af48){const _0x101060=_0x24e421;this['_clearScheduledTask']();const _0x455844=this[_0x101060(0x32c)]['getCurrentRevOfUnit'](this[_0x101060(0x1cb)]);if(_0x38af48[_0x101060(0x54f)]<_0x455844-0x1)return this;if(this[_0x101060(0x3ea)](_0x38af48))return this[_0x101060(0x5f8)][_0x101060(0x278)](re,this[_0x101060(0x1cb)],this[_0x101060(0x408)],null,[],this[_0x101060(0x309)],[],this[_0x101060(0x1f9)]);this['_incrementRevisionNumber']();const _0x59fcc4=this[_0x101060(0x5f8)][_0x101060(0x278)](Oe,this['unitID'],this[_0x101060(0x408)],this[_0x101060(0x1f9)]);return _0x59fcc4[_0x101060(0x5d7)](),_0x59fcc4;}['onRemoteRej'](_0x59eed2){const _0x350b0c=_0x24e421;return this[_0x350b0c(0x260)](!!(_0x59eed2!=null&&_0x59eed2[_0x350b0c(0x4dd)]));}[_0x24e421(0x2e1)](_0x2c5f5c){const _0x174999=_0x24e421;return this[_0x174999(0x220)]>wi?this[_0x174999(0x5ec)]():(this[_0x174999(0x215)]=Pi(this[_0x174999(0x220)],{'timeout':this[_0x174999(0x220)],'reqId':_0x2c5f5c[_0x174999(0x1db)]}),this[_0x174999(0x225)]=this[_0x174999(0x215)][_0x174999(0x4d3)](({reqId:_0x276328,timeout:_0x1f827d})=>{const _0x3f791e=_0x174999;this[_0x3f791e(0x425)](_0x276328,_0x1f827d);}),this);}[_0x24e421(0x5ec)](){const _0x30ff51=_0x24e421;return this['_clearScheduledTask'](),this['_injector'][_0x30ff51(0x278)](ve,this['unitID'],this[_0x30ff51(0x408)],this[_0x30ff51(0x309)],[],this[_0x30ff51(0x1f9)]);}[_0x24e421(0x22a)](){return this;}[_0x24e421(0x53b)](){const _0x3993e9=_0x24e421;this[_0x3993e9(0x1f9)]['onSendChangeset'](this[_0x3993e9(0x309)]);}['_onConflict'](_0x328e57){const _0x46c9cc=_0x24e421;return this[_0x46c9cc(0x27e)](),this[_0x46c9cc(0x5f8)][_0x46c9cc(0x278)](fe,this[_0x46c9cc(0x1cb)],this['type'],this[_0x46c9cc(0x309)],[],this[_0x46c9cc(0x1f9)],_0x328e57);}[_0x24e421(0x425)](_0x40abbe,_0x4bb292){const _0x4613a9=_0x24e421;var _0x12d08a;_0x40abbe===((_0x12d08a=this[_0x4613a9(0x309)])==null?void 0x0:_0x12d08a[_0x4613a9(0x1db)])&&(this[_0x4613a9(0x53b)](),this[_0x4613a9(0x220)]=_0x4bb292===0x0?0x3e8:_0x4bb292*0x2);}[_0x24e421(0x27e)](){const _0x360050=_0x24e421;var _0x541721;(_0x541721=this[_0x360050(0x225)])==null||_0x541721[_0x360050(0x202)](),this['_resendTimeout']=0x0;}};de=Ee([A(0x4,a[_0x24e421(0x52f)](a[_0x24e421(0x224)])),A(0x5,a['Inject'](m['RevisionService'])),A(0x6,a[_0x24e421(0x52f)](exports[_0x24e421(0x4b2)])),A(0x7,a['ICommandService']),A(0x8,a[_0x24e421(0x495)]),A(0x9,m[_0x24e421(0x379)]),A(0xa,a[_0x24e421(0x3fb)])],de);let ce=class extends be{constructor(_0x44a5bb,_0x382776,_0x26c401,_0x37dfe7,_0xa17767,_0x439cce,_0x40ccbe,_0x5acab7,_0x69e113,_0x5bb8e0,_0x21a94a,_0x2cfef9,_0x2d41e9){const _0x26e9fb=_0x24e421;super(_0x44a5bb,_0x382776,_0x26c401,_0x37dfe7,_0xa17767,_0x5bb8e0,_0x2d41e9,_0x5acab7,_0x69e113),I(this,_0x26e9fb(0x597),_0x26e9fb(0x413)),I(this,_0x26e9fb(0x220),0x0),I(this,'_resendTimer'),I(this,_0x26e9fb(0x225)),(this[_0x26e9fb(0x5f8)]=_0x40ccbe,this[_0x26e9fb(0x383)]=_0x21a94a,this['_transformService']=_0x2cfef9,_0x439cce&&(this['_resendTimer']=_0x439cce,this[_0x26e9fb(0x225)]=this['_resendTimer'][_0x26e9fb(0x4d3)](({reqId:_0x465fff,timeout:_0x42f53a})=>{const _0x540f32=_0x26e9fb;this[_0x540f32(0x425)](_0x465fff,_0x42f53a);})));}[_0x24e421(0x56a)](_0x10fad6){const _0x168f09=_0x24e421;return this[_0x168f09(0x680)][_0x168f09(0x2f8)](_0x10fad6),this;}[_0x24e421(0x622)](_0x32c0bc){const _0x47af0f=_0x24e421;if(this['_checkMissing'](_0x32c0bc))return this[_0x47af0f(0x27e)](),this[_0x47af0f(0x5f8)][_0x47af0f(0x278)](re,this[_0x47af0f(0x1cb)],this[_0x47af0f(0x408)],this['_awaitingChangeset'],this[_0x47af0f(0x680)],null,[_0x32c0bc],this[_0x47af0f(0x1f9)]);try{const _0x30b8c0=this[_0x47af0f(0x3d5)][_0x47af0f(0x206)]([_0x32c0bc],[this['_awaitingChangeset']],!0x1);if(m['isTransformChangesetsSuccess'](_0x30b8c0)){const {c1Prime:_0xdca13f,c2Prime:_0x59f3a8}=_0x30b8c0,_0x976fe2=this[_0x47af0f(0x3d5)][_0x47af0f(0x5af)](_0xdca13f[0x0],this[_0x47af0f(0x680)]);if(m[_0x47af0f(0x270)](_0x976fe2)){const {c1Prime:_0x402dd2,m2Prime:_0x4486fe}=_0x976fe2;return this['_executeRemoteChangeset'](_0x402dd2),_0x59f3a8[0x0][_0x47af0f(0x588)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x47af0f(0x5f8)]['createInstance'](ce,this[_0x47af0f(0x1cb)],this[_0x47af0f(0x408)],_0x59f3a8[0x0],_0x4486fe,this[_0x47af0f(0x1f9)],void 0x0);}throw _0x976fe2['error'];}throw _0x30b8c0[_0x47af0f(0x49e)];}catch(_0x12ad36){return this['_logService'][_0x47af0f(0x49e)](_0x12ad36),this[_0x47af0f(0x260)](!0x1);}}['onRemoteAck'](_0x1b49ec){const _0x461cba=_0x24e421;if(this[_0x461cba(0x27e)](),this[_0x461cba(0x3ea)](_0x1b49ec))return this[_0x461cba(0x5f8)][_0x461cba(0x278)](re,this[_0x461cba(0x1cb)],this[_0x461cba(0x408)],null,this[_0x461cba(0x680)],this['_awaitingChangeset'],[],this[_0x461cba(0x1f9)]);this['_incrementRevisionNumber']();const _0x20334d=this[_0x461cba(0x5f8)][_0x461cba(0x278)](ae,this[_0x461cba(0x1cb)],this[_0x461cba(0x408)],this['_pendingMutations'],this[_0x461cba(0x1f9)]);return _0x20334d[_0x461cba(0x3d9)](),_0x20334d['_updateLocalCache'](),_0x20334d;}[_0x24e421(0x28a)](_0x57f0e7){const _0x5cc1e9=_0x24e421;return this[_0x5cc1e9(0x260)](!!(_0x57f0e7!=null&&_0x57f0e7[_0x5cc1e9(0x4dd)]));}[_0x24e421(0x2e1)](_0x56fe94){const _0x273769=_0x24e421;return this[_0x273769(0x220)]>wi?this['toggleOffline']():(this[_0x273769(0x215)]=Pi(this[_0x273769(0x220)],{'timeout':this[_0x273769(0x220)],'reqId':_0x56fe94['reqId']}),this[_0x273769(0x225)]=this[_0x273769(0x215)][_0x273769(0x4d3)](({reqId:_0xf1fa7c,timeout:_0x3b2d17})=>{const _0x4c203f=_0x273769;this[_0x4c203f(0x425)](_0xf1fa7c,_0x3b2d17);}),this);}[_0x24e421(0x5ec)](){const _0x5765c8=_0x24e421;return this[_0x5765c8(0x27e)](),this[_0x5765c8(0x5f8)][_0x5765c8(0x278)](ve,this[_0x5765c8(0x1cb)],this[_0x5765c8(0x408)],this[_0x5765c8(0x309)],this[_0x5765c8(0x680)],this['_handler']);}[_0x24e421(0x22a)](){return this;}[_0x24e421(0x53b)](){const _0x355cb9=_0x24e421;this[_0x355cb9(0x1f9)]['onSendChangeset'](this[_0x355cb9(0x309)]);}['_onConflict'](_0x46ae98){const _0xab0c10=_0x24e421;return this[_0xab0c10(0x27e)](),this[_0xab0c10(0x5f8)][_0xab0c10(0x278)](fe,this['unitID'],this[_0xab0c10(0x408)],null,this[_0xab0c10(0x680)],this[_0xab0c10(0x1f9)],_0x46ae98);}[_0x24e421(0x425)](_0x287d95,_0x4749b3){const _0x374831=_0x24e421;var _0xd589f8;_0x287d95===((_0xd589f8=this[_0x374831(0x309)])==null?void 0x0:_0xd589f8[_0x374831(0x1db)])&&(this['resend'](),this[_0x374831(0x220)]=_0x4749b3===0x0?0x3e8:_0x4749b3*0x2);}[_0x24e421(0x27e)](){const _0x492afa=_0x24e421;var _0x155faf;(_0x155faf=this['_sender'])==null||_0x155faf['unsubscribe'](),this[_0x492afa(0x220)]=0x0;}};ce=Ee([A(0x6,a['Inject'](a[_0x24e421(0x224)])),A(0x7,a['Inject'](m[_0x24e421(0x438)])),A(0x8,a[_0x24e421(0x52f)](exports[_0x24e421(0x4b2)])),A(0x9,a['ICommandService']),A(0xa,a[_0x24e421(0x495)]),A(0xb,m[_0x24e421(0x379)]),A(0xc,a[_0x24e421(0x3fb)])],ce);let fe=class extends be{constructor(_0x491831,_0x4862fe,_0x31aeaa,_0x247f7c,_0x110a76,_0x3854dc=!0x1,_0x5035fd,_0x457310,_0x33b10b,_0xd3d8ec,_0x158b86,_0x2235b9,_0x1805fb){const _0x52049a=_0x24e421;super(_0x491831,_0x4862fe,_0x31aeaa,_0x247f7c,_0x110a76,_0x457310,_0x33b10b,_0x158b86,_0xd3d8ec),I(this,'status',_0x52049a(0x5db)),(this[_0x52049a(0x66e)]=_0x3854dc,this[_0x52049a(0x5b4)]=_0x5035fd,this[_0x52049a(0x527)]=_0x2235b9,this['_notificationService']=_0x1805fb,this[_0x52049a(0x1ed)](),this['_clearLocalCache'](),this[_0x52049a(0x1e9)]());}[_0x24e421(0x56a)](){return this;}[_0x24e421(0x622)](){return this;}[_0x24e421(0x505)](){return this;}['onRemoteRej'](){return this;}[_0x24e421(0x2e1)](){return this;}[_0x24e421(0x5ec)](){return this;}['toggleOnline'](){return this;}[_0x24e421(0x53b)](){const _0x299826=_0x24e421;throw new Error(_0x299826(0x376));}[_0x24e421(0x37c)](){const _0x28022c=_0x24e421;this[_0x28022c(0x2bc)][_0x28022c(0x594)](this[_0x28022c(0x1cb)],this[_0x28022c(0x408)],null,[]);}[_0x24e421(0x1ed)](){const _0xd4e506=_0x24e421;this[_0xd4e506(0x66e)]?this['_notificationService']['show']({'title':this[_0xd4e506(0x527)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0xd4e506(0x49e),'duration':0x0}):this[_0xd4e506(0x4cb)]['show']({'title':this['_localeService']['t']('conflict.title'),'content':this['_localeService']['t'](_0xd4e506(0x361)),'type':_0xd4e506(0x49e),'duration':0x0});}[_0x24e421(0x1e9)](){const _0x3113fc=_0x24e421;this[_0x3113fc(0x5b4)][_0x3113fc(0x307)](new k[(_0x3113fc(0x674))](this['unitID'])['id'],!0x1);}};fe=Ee([A(0x6,a[_0x24e421(0x52f)](a['IPermissionService'])),A(0x7,a[_0x24e421(0x2b1)]),A(0x8,a[_0x24e421(0x3fb)]),A(0x9,a[_0x24e421(0x52f)](exports[_0x24e421(0x4b2)])),A(0xa,a['Inject'](m[_0x24e421(0x438)])),A(0xb,a[_0x24e421(0x52f)](a[_0x24e421(0x468)])),A(0xc,ee[_0x24e421(0x229)])],fe);let ve=class extends be{constructor(_0x4e632d,_0x175e32,_0x46f150,_0x42017f,_0x1bc9fc,_0x4c65c8,_0x21ec9c,_0x2d06b9,_0x3a16f4,_0x271b3d){const _0x1a6962=_0x24e421;super(_0x4e632d,_0x175e32,_0x46f150,_0x42017f,_0x1bc9fc,_0x3a16f4,_0x271b3d,_0x21ec9c,_0x2d06b9),I(this,_0x1a6962(0x597),_0x1a6962(0x265)),this[_0x1a6962(0x5f8)]=_0x4c65c8;}[_0x24e421(0x56a)](_0x1a4ef9){const _0x48b4ae=_0x24e421;return this[_0x48b4ae(0x680)][_0x48b4ae(0x2f8)](_0x1a4ef9),this[_0x48b4ae(0x5d7)](),this;}[_0x24e421(0x622)](_0x3b7c2d){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x24e421(0x505)](){const _0x301f0e=_0x24e421;throw new Error(_0x301f0e(0x47b));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x24e421(0x2e1)](){return this;}[_0x24e421(0x5ec)](){return this;}['toggleOnline'](){const _0x37cd0c=_0x24e421,{_injector:_0x478364,_pendingMutations:_0xdd0105,_awaitingChangeset:_0x9dcca9,unitID:_0x3a59bf,_handler:_0x401f55,type:_0x1dba93}=this,_0x3bf60f=Ui(_0x478364,_0x3a59bf,_0x1dba93,_0x9dcca9,_0xdd0105,_0x401f55);return _0x3bf60f instanceof ae?_0x3bf60f[_0x37cd0c(0x3d9)]():(_0x3bf60f instanceof ce||_0x3bf60f instanceof de)&&_0x3bf60f[_0x37cd0c(0x53b)](),_0x3bf60f;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ve=Ee([A(0x5,a['Inject'](a[_0x24e421(0x224)])),A(0x6,a['Inject'](m['RevisionService'])),A(0x7,a[_0x24e421(0x52f)](exports['LocalCacheService'])),A(0x8,a[_0x24e421(0x2b1)]),A(0x9,a[_0x24e421(0x3fb)])],ve);let re=class extends be{constructor(_0x258015,_0x51b4de,_0x53117c,_0x4bc9ac,_0x22a99b,_0x428093,_0x2ab382,_0x2ef532,_0x55eda2,_0x35c064,_0x5cce46,_0xc2bc2b,_0x4d437d,_0x3bc4c6){const _0x13ae9d=_0x24e421;super(_0x258015,_0x51b4de,_0x53117c,_0x4bc9ac,_0x2ab382,_0xc2bc2b,_0x4d437d,_0x55eda2,_0x35c064),I(this,_0x13ae9d(0x597),_0x13ae9d(0x462)),(this[_0x13ae9d(0x5d2)]=_0x22a99b,this[_0x13ae9d(0x45b)]=_0x428093,this[_0x13ae9d(0x5f8)]=_0x2ef532,this['_logService']=_0x5cce46,this[_0x13ae9d(0x3d5)]=_0x3bc4c6);}[_0x24e421(0x1e1)](_0x2309cc){const _0xfe8958=_0x24e421;try{const _0x5c36f2=[..._0x2309cc,...this[_0xfe8958(0x45b)]],_0x5db7b1=[this[_0xfe8958(0x309)]||this[_0xfe8958(0x5d2)]]['filter'](_0x175944=>!!_0x175944);let _0x5ad348,_0x4b24ba;if(_0x5db7b1[_0xfe8958(0x3c9)]){const _0x1fa1dc=this[_0xfe8958(0x3d5)][_0xfe8958(0x206)](_0x5c36f2,_0x5db7b1,!0x1);if(!m[_0xfe8958(0x544)](_0x1fa1dc))throw _0x1fa1dc['error'];_0x5ad348=_0x1fa1dc[_0xfe8958(0x254)],_0x4b24ba=_0x1fa1dc[_0xfe8958(0x42a)];}else _0x5ad348=_0x5c36f2,_0x4b24ba=[];let _0xcb5d61=this[_0xfe8958(0x680)];_0x5ad348[_0xfe8958(0x5d1)](_0x3edfd0=>{const _0x38d53a=_0xfe8958;let _0x3353c6;if(_0xcb5d61[_0x38d53a(0x3c9)]){const _0x5decca=this[_0x38d53a(0x3d5)][_0x38d53a(0x5af)](_0x3edfd0,_0xcb5d61);if(!m['isTransformMutationsWithChangesetSuccess'](_0x5decca))throw _0x5decca['error'];_0x3353c6=_0x5decca[_0x38d53a(0x254)],_0xcb5d61=_0x5decca[_0x38d53a(0x365)];}else _0x3353c6=_0x3edfd0;this[_0x38d53a(0x3d6)](_0x3353c6);}),this[_0xfe8958(0x5d2)]&&this[_0xfe8958(0x3ee)](),this[_0xfe8958(0x309)]&&_0x4b24ba[_0xfe8958(0x3c9)]&&(_0x4b24ba[0x0][_0xfe8958(0x588)]=this[_0xfe8958(0x487)]());let _0x1e8993;if(this[_0xfe8958(0x309)]&&_0xcb5d61['length']!==0x0)_0x1e8993=this[_0xfe8958(0x5f8)][_0xfe8958(0x278)](ce,this[_0xfe8958(0x1cb)],this['type'],_0x4b24ba[0x0],_0xcb5d61,this[_0xfe8958(0x1f9)],void 0x0);else{if(this['_awaitingChangeset']&&_0xcb5d61['length']===0x0)_0x4b24ba[0x0][_0xfe8958(0x588)]=this[_0xfe8958(0x487)](),_0x1e8993=this[_0xfe8958(0x5f8)][_0xfe8958(0x278)](de,this[_0xfe8958(0x1cb)],this['type'],_0x4b24ba[0x0],this[_0xfe8958(0x1f9)]);else{if(_0xcb5d61[_0xfe8958(0x3c9)]!==0x0){const _0x46f700=this['_injector'][_0xfe8958(0x278)](ae,this['unitID'],this[_0xfe8958(0x408)],_0xcb5d61,this[_0xfe8958(0x1f9)]);_0x46f700['_schedule'](),_0x1e8993=_0x46f700;}else _0x1e8993=this[_0xfe8958(0x5f8)][_0xfe8958(0x278)](Oe,this[_0xfe8958(0x1cb)],this[_0xfe8958(0x408)],this[_0xfe8958(0x1f9)]);}}return _0x1e8993[_0xfe8958(0x5d7)](),_0x1e8993;}catch(_0x4a0921){return this['_logService']['error'](_0xfe8958(0x375),_0xfe8958(0x324),_0x4a0921),this[_0xfe8958(0x5f8)][_0xfe8958(0x278)](fe,this[_0xfe8958(0x1cb)],this['type'],this['_awaitingChangeset'],this[_0xfe8958(0x680)],this['_handler'],!0x1);}}[_0x24e421(0x53b)](){const _0x393c7c=_0x24e421;throw new Error(_0x393c7c(0x22e));}[_0x24e421(0x56a)](_0x7cc22e){const _0x5e6144=_0x24e421;return this[_0x5e6144(0x680)][_0x5e6144(0x2f8)](_0x7cc22e),this;}[_0x24e421(0x622)](_0x43b942){const _0x9cc86d=_0x24e421;return this['_queuedRemoteChangesets'][_0x9cc86d(0x2f8)](_0x43b942),this;}[_0x24e421(0x505)](_0x595e3a){const _0x522eef=_0x24e421;if(this[_0x522eef(0x309)])return this[_0x522eef(0x5d2)]=this[_0x522eef(0x309)],this['_awaitingChangeset']=null,this;throw new Error(_0x522eef(0x54d));}[_0x24e421(0x28a)](_0x5bd15c){const _0x198d86=_0x24e421;return this[_0x198d86(0x260)](!!(_0x5bd15c!=null&&_0x5bd15c['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x24e421(0x5ec)](){const _0x2caf63=_0x24e421;return this[_0x2caf63(0x5f8)][_0x2caf63(0x278)](ve,this[_0x2caf63(0x1cb)],this[_0x2caf63(0x408)],this[_0x2caf63(0x309)],this[_0x2caf63(0x680)],this[_0x2caf63(0x1f9)]);}[_0x24e421(0x22a)](){return this;}['_onConflict'](_0x2c4735){const _0x49d2d9=_0x24e421;return this[_0x49d2d9(0x5f8)]['createInstance'](fe,this[_0x49d2d9(0x1cb)],this[_0x49d2d9(0x408)],this['_awaitingChangeset'],this[_0x49d2d9(0x680)],this[_0x49d2d9(0x1f9)],_0x2c4735);}};re=Ee([A(0x7,a['Inject'](a[_0x24e421(0x224)])),A(0x8,a[_0x24e421(0x52f)](m[_0x24e421(0x438)])),A(0x9,a[_0x24e421(0x52f)](exports[_0x24e421(0x4b2)])),A(0xa,a[_0x24e421(0x495)]),A(0xb,a[_0x24e421(0x2b1)]),A(0xc,a[_0x24e421(0x3fb)]),A(0xd,m[_0x24e421(0x379)])],re);function Ui(_0x37dcbf,_0x622a12,_0xed4a68,_0x302f69,_0x50e8a1,_0x41f508){const _0x27b761=_0x24e421;return _0x302f69&&_0x50e8a1[_0x27b761(0x3c9)]?_0x37dcbf[_0x27b761(0x278)](ce,_0x622a12,_0xed4a68,_0x302f69,_0x50e8a1,_0x41f508,void 0x0):_0x302f69?_0x37dcbf[_0x27b761(0x278)](de,_0x622a12,_0xed4a68,_0x302f69,_0x41f508):_0x50e8a1[_0x27b761(0x3c9)]?_0x37dcbf[_0x27b761(0x278)](ae,_0x622a12,_0xed4a68,_0x50e8a1,_0x41f508):_0x37dcbf['createInstance'](Oe,_0x622a12,_0xed4a68,_0x41f508);}var Xn=Object[_0x24e421(0x5bd)],Jn=Object[_0x24e421(0x221)],Mt=(_0xa7ebc0,_0x324b39,_0x41d3ee,_0x24c794)=>{const _0x33e7c6=_0x24e421;for(var _0x4f4f37=_0x24c794>0x1?void 0x0:_0x24c794?Jn(_0x324b39,_0x41d3ee):_0x324b39,_0x5e63eb=_0xa7ebc0[_0x33e7c6(0x3c9)]-0x1,_0x2cd622;_0x5e63eb>=0x0;_0x5e63eb--)(_0x2cd622=_0xa7ebc0[_0x5e63eb])&&(_0x4f4f37=(_0x24c794?_0x2cd622(_0x324b39,_0x41d3ee,_0x4f4f37):_0x2cd622(_0x4f4f37))||_0x4f4f37);return _0x24c794&&_0x4f4f37&&Xn(_0x324b39,_0x41d3ee,_0x4f4f37),_0x4f4f37;},H=(_0x53c4a3,_0x46a920)=>(_0x5222c5,_0x39f044)=>_0x46a920(_0x5222c5,_0x39f044,_0x53c4a3);exports[_0x24e421(0x2a6)]=class extends a[_0x24e421(0x444)]{constructor(_0xf2cc55,_0x584216,_0x27d105,_0x11d13f,_0x181860,_0x28f756,_0x325e99,_0x3ede25,_0x93e727,_0x14ec5f,_0x461815,_0x30151a,_0x3336f6){const _0x128529=_0x24e421;super(),I(this,_0x128529(0x5a9),new N[(_0x128529(0x43e))](null)),I(this,'state$',this['_state$']['asObservable']()),I(this,'_state'),I(this,_0x128529(0x388),!0x1),I(this,_0x128529(0x5fd),''),I(this,_0x128529(0x3e9),0x0),I(this,'status$',this[_0x128529(0x310)][_0x128529(0x551)](N['map'](_0x3004f6=>_0x3004f6?_0x3004f6[_0x128529(0x597)]:K[_0x128529(0x1cd)]),N[_0x128529(0x218)](0x1))),I(this,_0x128529(0x20f),!0x1),I(this,'_remoteChangesetQueue',[]),(this[_0x128529(0x1cb)]=_0xf2cc55,this[_0x128529(0x3cd)]=_0x584216,this[_0x128529(0x23a)]=_0x27d105,this[_0x128529(0x5f8)]=_0x11d13f,this[_0x128529(0x2bc)]=_0x181860,this[_0x128529(0x3d0)]=_0x28f756,this[_0x128529(0x527)]=_0x325e99,this[_0x128529(0x32c)]=_0x3ede25,this[_0x128529(0x383)]=_0x93e727,this[_0x128529(0x3c0)]=_0x14ec5f,this['_messageService']=_0x461815,this[_0x128529(0x5b4)]=_0x30151a,this[_0x128529(0x4ae)]=_0x3336f6);}get['state'](){return this['_state'];}async[_0x24e421(0x503)](){const _0xa8df85=_0x24e421;if(this[_0xa8df85(0x390)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0xa8df85(0x541)]();}['pauseCollaboration'](){const _0x418fdd=_0x24e421;return this[_0x418fdd(0x388)]=!0x0,a[_0x418fdd(0x2a4)](()=>{const _0x3bbc32=_0x418fdd;this[_0x3bbc32(0x388)]=!0x1,this[_0x3bbc32(0x5b7)]();});}[_0x24e421(0x665)](_0x4745c9){const _0x34cfd6=_0x24e421;this['_state']=_0x4745c9,this['_state$'][_0x34cfd6(0x65d)](_0x4745c9);}async[_0x24e421(0x541)](){const _0x1858eb=_0x24e421;var _0x28ac9f;this['_updateState'](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x28ac9f=this[_0x1858eb(0x4ae)])==null||_0x28ac9f['editingUnit'](this['unitID']),this[_0x1858eb(0x244)](this[_0x1858eb(0x4ae)][_0x1858eb(0x600)](this[_0x1858eb(0x1cb)])['subscribe'](_0x26214d=>{const _0x1087a1=_0x1858eb;this['_logService'][_0x1087a1(0x525)](_0x1087a1(0x2ad),_0x1087a1(0x539),_0x26214d),_0x26214d===yi[_0x1087a1(0x4c7)]?(this['_messageService'][_0x1087a1(0x2ba)]({'content':this[_0x1087a1(0x527)]['t'](_0x1087a1(0x58c)),'type':Ce['MessageType']['Warning']}),this[_0x1087a1(0x5b4)][_0x1087a1(0x307)](new k[(_0x1087a1(0x674))](this[_0x1087a1(0x1cb)])['id'],!0x1),this[_0x1087a1(0x5b4)][_0x1087a1(0x20e)](!0x1)):(this[_0x1087a1(0x5b4)][_0x1087a1(0x307)](new k[(_0x1087a1(0x674))](this['unitID'])['id'],!0x0),this['_permissionService'][_0x1087a1(0x20e)](!0x0));})));let _0xcfceea=!0x1;return this[_0x1858eb(0x244)](this[_0x1858eb(0x3cd)][_0x1858eb(0x4f0)][_0x1858eb(0x4d3)](_0x201b5a=>{const _0x536f0c=_0x1858eb;_0x201b5a===ne[_0x536f0c(0x58b)]?this[_0x536f0c(0x3dc)](_0xcfceea):_0x201b5a===ne['OFFLINE']&&(_0xcfceea=!0x0,this[_0x536f0c(0x350)]());})),this['disposeWithMe'](this['session'][_0x1858eb(0x5e0)]['subscribe'](_0x806577=>{const _0x51aac1=_0x1858eb;try{switch(_0x806577['eventID']){case m[_0x51aac1(0x5b3)][_0x51aac1(0x59b)]:{this[_0x51aac1(0x4b7)](m['parseProtocolChangeset'](_0x806577[_0x51aac1(0x25f)]));break;}case m[_0x51aac1(0x5b3)][_0x51aac1(0x67a)]:{this['_onRemoteACK'](_0x806577['data']);break;}case m[_0x51aac1(0x5b3)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case m[_0x51aac1(0x5b3)][_0x51aac1(0x5b2)]:{this[_0x51aac1(0x58a)](_0x806577[_0x51aac1(0x25f)]);break;}case m[_0x51aac1(0x5b3)][_0x51aac1(0x248)]:{this[_0x51aac1(0x4e6)](_0x806577[_0x51aac1(0x25f)]['changesets']['map'](_0xd32a7b=>m[_0x51aac1(0x250)](_0xd32a7b)));break;}case m[_0x51aac1(0x5b3)][_0x51aac1(0x2d4)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x1d7728){throw console[_0x51aac1(0x49e)](_0x51aac1(0x238),_0x1d7728),_0x1d7728;}})),this[_0x1858eb(0x469)];}[_0x24e421(0x207)](){const _0x1cdcb1=_0x24e421;this[_0x1cdcb1(0x20f)]=!0x1;}[_0x24e421(0x286)](){const _0xacbffb=_0x24e421;if(this['_transitionLocked'])throw new Error('[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.');this[_0xacbffb(0x20f)]=!0x0;}[_0x24e421(0x35e)](_0x58f97d){const _0x15976e=_0x24e421;this['_lockTransition'](),this[_0x15976e(0x665)](this[_0x15976e(0x469)][_0x15976e(0x56a)](_0x58f97d)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x598b49){const _0x3ad2a8=_0x24e421;if(!(_0x598b49['revision']<=this[_0x3ad2a8(0x32c)]['getCurrentRevOfUnit'](this['unitID']))){if(this['_collaborationPaused']){this[_0x3ad2a8(0x475)][_0x3ad2a8(0x2f8)](_0x598b49);return;}this['_applyRemoteChangeset'](_0x598b49);}}['_exhaustRemoteChangesetQueue'](){const _0x2fa79a=_0x24e421;this[_0x2fa79a(0x475)]['forEach'](_0x58a6e6=>this['_applyRemoteChangeset'](_0x58a6e6)),this[_0x2fa79a(0x475)]=[];}['_applyRemoteChangeset'](_0x544bd1){const _0xe24fd1=_0x24e421,_0x4933a=this[_0xe24fd1(0x3d0)]['interceptor'][_0xe24fd1(0x668)](this['_compressMutationService'][_0xe24fd1(0x356)][_0xe24fd1(0x257)]()['COMPRESS_MUTATION_APPLY'])(_0x544bd1[_0xe24fd1(0x64d)],null)||_0x544bd1['mutations'],_0x2d52a4={..._0x544bd1,'mutations':_0x4933a};this[_0xe24fd1(0x286)](),this[_0xe24fd1(0x665)](this[_0xe24fd1(0x469)][_0xe24fd1(0x622)](_0x2d52a4)),this[_0xe24fd1(0x207)]();}[_0x24e421(0x62a)](_0x3ea3d3){const _0x336550=_0x24e421;this[_0x336550(0x286)](),this[_0x336550(0x665)](this['_state'][_0x336550(0x505)](_0x3ea3d3)),this['_unlockTransition']();}[_0x24e421(0x321)](_0x32e248){const _0x4a2ea7=_0x24e421;this['_lockTransition'](),this[_0x4a2ea7(0x665)](this['_state'][_0x4a2ea7(0x28a)](_0x32e248)),this[_0x4a2ea7(0x207)]();}[_0x24e421(0x58a)](_0x481ef5){const _0x55f293=_0x24e421;this[_0x55f293(0x286)](),this[_0x55f293(0x665)](this[_0x55f293(0x469)][_0x55f293(0x2e1)](_0x481ef5)),this['_unlockTransition']();}[_0x24e421(0x4e6)](_0x597400){const _0xe11803=_0x24e421;if(!(this['_state']instanceof re))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x40b2e6=_0x597400['map'](_0x2264b1=>{const _0x5edbfd=_0x5e3c,_0x5e33e9=this[_0x5edbfd(0x3d0)][_0x5edbfd(0x356)][_0x5edbfd(0x668)](this[_0x5edbfd(0x3d0)][_0x5edbfd(0x356)][_0x5edbfd(0x257)]()[_0x5edbfd(0x639)])(_0x2264b1[_0x5edbfd(0x64d)],null)||_0x2264b1['mutations'];return{..._0x2264b1,'mutations':_0x5e33e9};});this[_0xe11803(0x286)](),this[_0xe11803(0x665)](this[_0xe11803(0x469)][_0xe11803(0x1e1)](_0x40b2e6)),this[_0xe11803(0x207)]();}[_0x24e421(0x350)](){const _0x132d35=_0x24e421;this[_0x132d35(0x286)](),this['_updateState'](this[_0x132d35(0x469)][_0x132d35(0x5ec)]()),this[_0x132d35(0x207)]();}[_0x24e421(0x3dc)](_0xb4020a=!0x1){const _0x3175ad=_0x24e421;this[_0x3175ad(0x286)](),this['_updateState'](this[_0x3175ad(0x469)][_0x3175ad(0x22a)]()),this[_0x3175ad(0x207)]();const _0x59c4b2=this[_0x3175ad(0x469)];_0xb4020a&&_0x59c4b2 instanceof Oe&&(this[_0x3175ad(0x286)](),this[_0x3175ad(0x665)](_0x59c4b2[_0x3175ad(0x31f)]()),this[_0x3175ad(0x207)]());}async[_0x24e421(0x5e6)](){return new Promise(_0x261ac4=>{const _0x4bdb24=_0x5e3c;this[_0x4bdb24(0x3cd)]['sessionStatus$'][_0x4bdb24(0x551)](N[_0x4bdb24(0x1d0)](0x1))[_0x4bdb24(0x4d3)](async _0x18897c=>{const _0x8d6cae=_0x4bdb24;_0x261ac4(await this['_createInitialStateImpl'](_0x18897c===ne[_0x8d6cae(0x58b)]));});});}[_0x24e421(0x64f)](){const _0x1dab49=_0x24e421,_0x5a8f64=this[_0x1dab49(0x1cb)];return{'onStateChange':(_0x50b305,_0x1aab06)=>{const _0x83c69e=_0x1dab49;if(_0x50b305!==this[_0x83c69e(0x469)])throw new Error(_0x83c69e(0x508)+_0x50b305[_0x83c69e(0x597)]+_0x83c69e(0x65b)+_0x1aab06[_0x83c69e(0x597)]+'\x0aCurrent:\x20'+this['_state'][_0x83c69e(0x597)]);this[_0x83c69e(0x665)](_0x1aab06);},'onSendChangeset':_0x3b3923=>{const _0x164dbd=_0x1dab49;_0x3b3923['sid']||(_0x3b3923['sid']=this[_0x164dbd(0x5fd)],_0x3b3923[_0x164dbd(0x1db)]=++this['_changesetReqId']);const _0x338db1={'eventID':m[_0x164dbd(0x5b3)][_0x164dbd(0x61f)],'data':{'unitID':_0x3b3923['unitID'],'unitType':this[_0x164dbd(0x23a)],'changeset':_0x3b3923,'memberID':this[_0x164dbd(0x3cd)][_0x164dbd(0x4b1)]()}};this['session'][_0x164dbd(0x325)](_0x338db1,this['unitID']);},'onMissingChangesets':({from:_0x524824,to:_0x1a36de})=>{const _0x50d21d=_0x1dab49;this[_0x50d21d(0x383)]['debug'](_0x50d21d(0x2ad),_0x50d21d(0x420)+_0x524824+_0x50d21d(0x31d)+_0x1a36de);const _0x2ff347={'eventID':m['CollaborationEvent'][_0x50d21d(0x48c)],'data':{'unitID':_0x5a8f64,'unitType':this[_0x50d21d(0x23a)],'from':_0x524824,'to':_0x1a36de}};this[_0x50d21d(0x3cd)][_0x50d21d(0x325)](_0x2ff347,this[_0x50d21d(0x1cb)]);}};}async[_0x24e421(0x204)](_0x4ad63c){const _0x46a26b=_0x24e421;var _0x28b674,_0x2289d6;const _0x1599a3=await this['_localCacheService'][_0x46a26b(0x227)](this[_0x46a26b(0x1cb)]),_0x2f96be=(_0x28b674=_0x1599a3==null?void 0x0:_0x1599a3['mutations'])!=null?_0x28b674:[],_0x591f30=(_0x2289d6=_0x1599a3==null?void 0x0:_0x1599a3['awaitingChangeset'])!=null?_0x2289d6:null,_0x2a4326=!!(_0x591f30!=null&&_0x591f30[_0x46a26b(0x412)])&&!!(_0x591f30!=null&&_0x591f30['reqId']);this['_changesetSessionId']=_0x2a4326?_0x591f30['sid']:On(),this[_0x46a26b(0x3e9)]=_0x2a4326?_0x591f30[_0x46a26b(0x1db)]:0x0;const _0x1a1c77=this['unitID'];try{this[_0x46a26b(0x317)](_0x591f30,_0x2f96be);}catch(_0x56fec8){this[_0x46a26b(0x383)][_0x46a26b(0x49e)](_0x56fec8);}const _0x44c5e3=this[_0x46a26b(0x64f)]();if(_0x4ad63c){const _0x4b344a=Ui(this[_0x46a26b(0x5f8)],_0x1a1c77,this['_type'],_0x591f30,_0x2f96be,_0x44c5e3);return _0x4b344a instanceof ae?_0x4b344a[_0x46a26b(0x3d9)]():(_0x4b344a instanceof ce||_0x4b344a instanceof de)&&_0x4b344a[_0x46a26b(0x53b)](),_0x4b344a;}return this[_0x46a26b(0x5f8)][_0x46a26b(0x278)](ve,_0x1a1c77,this['_type'],_0x591f30,_0x2f96be,_0x44c5e3);}['_replayCachedMutations'](_0x24b7b1,_0xca15a5){const _0xbcfb64=_0x24e421;var _0x2e339a,_0x48f69d;const _0x4d81ac=this[_0xbcfb64(0x3d0)]['interceptor'][_0xbcfb64(0x668)](this[_0xbcfb64(0x3d0)][_0xbcfb64(0x356)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x2e339a=_0x4d81ac((_0x24b7b1==null?void 0x0:_0x24b7b1[_0xbcfb64(0x64d)])||[],null))==null||_0x2e339a[_0xbcfb64(0x5d1)](_0x35e80a=>this['_commandService'][_0xbcfb64(0x646)](_0x35e80a['id'],_0x35e80a[_0xbcfb64(0x245)])),(_0x48f69d=_0x4d81ac(_0xca15a5||[],null))==null||_0x48f69d[_0xbcfb64(0x5d1)](_0x3a1b70=>this['_commandService']['executeCommand'](_0x3a1b70['id'],_0x3a1b70[_0xbcfb64(0x245)]));}},exports[_0x24e421(0x2a6)]=Mt([H(0x3,a['Inject'](a[_0x24e421(0x224)])),H(0x4,a[_0x24e421(0x52f)](exports[_0x24e421(0x4b2)])),H(0x5,a[_0x24e421(0x52f)](m[_0x24e421(0x565)])),H(0x6,a[_0x24e421(0x52f)](a[_0x24e421(0x468)])),H(0x7,a[_0x24e421(0x52f)](m[_0x24e421(0x438)])),H(0x8,a[_0x24e421(0x495)]),H(0x9,a[_0x24e421(0x2b1)]),H(0xa,ee[_0x24e421(0x402)]),H(0xb,a['IPermissionService']),H(0xc,a[_0x24e421(0x67d)](at))],exports[_0x24e421(0x2a6)]),exports[_0x24e421(0x427)]=class extends exports[_0x24e421(0x2a6)]{constructor(_0x130980,_0x27714a,_0x368a1d,_0x1c6a4c,_0x424d8e,_0x453c70,_0x2f6c8e,_0x41238a,_0x3719ad,_0x35c864,_0x3bd96f,_0x39b599,_0x558ca2,_0x2098a1,_0x18945b,_0x34be90,_0x7854ca,_0x5ecbe1){const _0x14988a=_0x24e421;super(_0x130980,_0x368a1d,_0x27714a,_0x1c6a4c,_0x424d8e,_0x453c70,_0x2f6c8e,_0x41238a,_0x2098a1,_0x18945b,_0x34be90,_0x7854ca,_0x5ecbe1),this[_0x14988a(0x1cb)]=_0x130980,this['type']=_0x27714a,this[_0x14988a(0x1dd)]=_0x3719ad,this['_docTransformIMECacheService']=_0x35c864,this[_0x14988a(0x614)]=_0x3bd96f,this[_0x14988a(0x4af)]=_0x39b599,this[_0x14988a(0x531)]=_0x558ca2;}[_0x24e421(0x64f)](){const _0x20b220=_0x24e421,_0x4850d3=super[_0x20b220(0x64f)]();return _0x4850d3[_0x20b220(0x1f3)]=_0x531f74=>this[_0x20b220(0x230)][_0x20b220(0x55a)](_0x531f74),_0x4850d3[_0x20b220(0x414)]=_0x27ba66=>this[_0x20b220(0x614)]['transformStateCache'](_0x27ba66),_0x4850d3[_0x20b220(0x4f4)]=_0x4d41af=>this[_0x20b220(0x4af)]['transformSelections'](_0x4d41af),_0x4850d3[_0x20b220(0x3ef)]=_0x38978f=>this[_0x20b220(0x531)]['syncEditingCollabCursor'](_0x38978f),_0x4850d3['onTransformRemoteChangesetByIMECache']=_0x2b98d7=>this['_docTransformIMECacheService'][_0x20b220(0x4bc)](_0x2b98d7),_0x4850d3['onTransformRemoteChangesetByStateCache']=_0x307596=>this['_docTransformStateCacheService'][_0x20b220(0x4bc)](_0x307596),_0x4850d3;}async[_0x24e421(0x541)](){const _0x554338=_0x24e421,_0x5b71cf=await super[_0x554338(0x541)]();return this['disposeWithMe'](this[_0x554338(0x1dd)][_0x554338(0x38f)]['pipe'](N[_0x554338(0x201)](this[_0x554338(0x362)]))['subscribe'](_0x18e1b2=>{const _0x4cd17b=_0x554338;if(_0x18e1b2==null)return;const {unitId:_0x95966a,redoState:_0x1a3152,commandId:_0x1cce1b}=_0x18e1b2;if(_0x95966a!==this[_0x4cd17b(0x1cb)])return;const _0x1bc86c={'id':_0x1cce1b,'type':a['CommandType'][_0x4cd17b(0x4c5)],'params':{'unitId':_0x95966a,'actions':_0x1a3152['actions'],'textRanges':null}};this['_onLocalMutation'](_0x1bc86c);})),this[_0x554338(0x244)](this[_0x554338(0x3c0)][_0x554338(0x268)]((_0x52ee2a,_0x5d709e)=>{const _0x4d462c=_0x554338;if(_0x52ee2a[_0x4d462c(0x408)]!==a[_0x4d462c(0x342)][_0x4d462c(0x4c5)]||_0x5d709e!=null&&_0x5d709e[_0x4d462c(0x502)]||_0x5d709e!=null&&_0x5d709e[_0x4d462c(0x53e)]||_0x52ee2a['id']===Ie['RichTextEditingMutation']['id'])return;const _0x2e2cb9=_0x52ee2a[_0x4d462c(0x245)];if((_0x2e2cb9==null?void 0x0:_0x2e2cb9[_0x4d462c(0x359)])!==this[_0x4d462c(0x1cb)])return;const _0x5e5c8d=_0x52ee2a,_0x4b3781=this[_0x4d462c(0x3d0)][_0x4d462c(0x356)][_0x4d462c(0x668)](this['_compressMutationService']['interceptor'][_0x4d462c(0x257)]()[_0x4d462c(0x2c0)])([_0x5e5c8d],null)||[_0x5e5c8d];this[_0x4d462c(0x35e)](_0x4b3781[0x0]);})),_0x5b71cf;}},exports[_0x24e421(0x427)]=Mt([H(0x3,a[_0x24e421(0x52f)](a[_0x24e421(0x224)])),H(0x4,a['Inject'](exports[_0x24e421(0x4b2)])),H(0x5,a['Inject'](m[_0x24e421(0x565)])),H(0x6,a[_0x24e421(0x52f)](a[_0x24e421(0x468)])),H(0x7,a[_0x24e421(0x52f)](m[_0x24e421(0x438)])),H(0x8,a[_0x24e421(0x52f)](J[_0x24e421(0x4e0)])),H(0x9,a[_0x24e421(0x52f)](Ze)),H(0xa,a[_0x24e421(0x52f)](et)),H(0xb,a[_0x24e421(0x52f)](tt)),H(0xc,a[_0x24e421(0x52f)](Ut)),H(0xd,a[_0x24e421(0x495)]),H(0xe,a[_0x24e421(0x2b1)]),H(0xf,ee['IMessageService']),H(0x10,a[_0x24e421(0x637)]),H(0x11,a[_0x24e421(0x67d)](at))],exports[_0x24e421(0x427)]),exports[_0x24e421(0x1f1)]=class extends exports[_0x24e421(0x2a6)]{constructor(_0x4ca9c8,_0x3c233c,_0x4fa626,_0x2dfd5c,_0x16f9ed,_0x469aff,_0x4a7d34,_0x2e5afa,_0x39b5e6,_0x42cea6,_0x1d3023,_0x2af58f,_0x966dc7,_0x276858){const _0x3afaff=_0x24e421;super(_0x4ca9c8,_0x4fa626,_0x3c233c,_0x2dfd5c,_0x16f9ed,_0x469aff,_0x4a7d34,_0x2e5afa,_0x42cea6,_0x1d3023,_0x2af58f,_0x966dc7,_0x276858),this['unitID']=_0x4ca9c8,this[_0x3afaff(0x408)]=_0x3c233c,this[_0x3afaff(0x21c)]=_0x39b5e6;}[_0x24e421(0x64f)](){const _0x584fdd=_0x24e421,_0x188789=super[_0x584fdd(0x64f)]();return _0x188789['onTransformSelections']=_0x4ee172=>this['_sheetTransformSelectionsService'][_0x584fdd(0x3ab)](_0x4ee172),_0x188789;}async[_0x24e421(0x541)](){const _0xf3095c=_0x24e421,_0x311f9f=await super['_init']();return this[_0xf3095c(0x244)](this['_commandService'][_0xf3095c(0x268)]((_0x1486c2,_0x4766fe)=>{const _0x43468f=_0xf3095c;if(_0x1486c2[_0x43468f(0x408)]!==a[_0x43468f(0x342)][_0x43468f(0x4c5)]||_0x4766fe!=null&&_0x4766fe[_0x43468f(0x502)]||_0x4766fe!=null&&_0x4766fe['onlyLocal'])return;const _0x53a3a6=_0x1486c2['params'];if((_0x53a3a6==null?void 0x0:_0x53a3a6[_0x43468f(0x359)])!==this[_0x43468f(0x1cb)])return;const _0x273f57=_0x1486c2,_0xa35e47=this[_0x43468f(0x3d0)][_0x43468f(0x356)][_0x43468f(0x668)](this['_compressMutationService']['interceptor'][_0x43468f(0x257)]()[_0x43468f(0x2c0)])([_0x273f57],null)||[_0x273f57];this[_0x43468f(0x35e)](_0xa35e47[0x0]);})),_0x311f9f;}},exports[_0x24e421(0x1f1)]=Mt([H(0x3,a[_0x24e421(0x52f)](a['Injector'])),H(0x4,a[_0x24e421(0x52f)](exports['LocalCacheService'])),H(0x5,a[_0x24e421(0x52f)](m[_0x24e421(0x565)])),H(0x6,a['Inject'](a['LocaleService'])),H(0x7,a[_0x24e421(0x52f)](m[_0x24e421(0x438)])),H(0x8,a[_0x24e421(0x52f)](Qe)),H(0x9,a['ILogService']),H(0xa,a[_0x24e421(0x2b1)]),H(0xb,ee[_0x24e421(0x402)]),H(0xc,a[_0x24e421(0x637)]),H(0xd,a[_0x24e421(0x67d)](at))],exports[_0x24e421(0x1f1)]);var Zn=Object[_0x24e421(0x5bd)],Qn=Object[_0x24e421(0x221)],er=(_0x2dd64d,_0x4a9fb4,_0x4f41b7,_0x95c67)=>{for(var _0x517fca=_0x95c67>0x1?void 0x0:_0x95c67?Qn(_0x4a9fb4,_0x4f41b7):_0x4a9fb4,_0x10204=_0x2dd64d['length']-0x1,_0x7cad16;_0x10204>=0x0;_0x10204--)(_0x7cad16=_0x2dd64d[_0x10204])&&(_0x517fca=(_0x95c67?_0x7cad16(_0x4a9fb4,_0x4f41b7,_0x517fca):_0x7cad16(_0x517fca))||_0x517fca);return _0x95c67&&_0x517fca&&Zn(_0x4a9fb4,_0x4f41b7,_0x517fca),_0x517fca;},dt=(_0x546692,_0x35aecf)=>(_0x1b198a,_0xb37dd3)=>_0x35aecf(_0x1b198a,_0xb37dd3,_0x546692);exports[_0x24e421(0x213)]=class extends a[_0x24e421(0x444)]{constructor(_0x1805d4,_0x41189a,_0x6fc07f){const _0x136a62=_0x24e421;super(),I(this,'_entities',new Map()),I(this,_0x136a62(0x5fc),new N[(_0x136a62(0x5fb))]()),(this['_injector']=_0x1805d4,this['_collabSessionService']=_0x41189a,this['_univerInstanceService']=_0x6fc07f,this[_0x136a62(0x541)]());}[_0x24e421(0x4cc)](){const _0x1f502e=_0x24e421;super['dispose'](),this[_0x1f502e(0x1cc)][_0x1f502e(0x5d1)](_0x5c066f=>_0x5c066f[_0x1f502e(0x4cc)]()),this[_0x1f502e(0x1cc)][_0x1f502e(0x526)]();}[_0x24e421(0x3bb)](_0x57e6b5){const _0x250d30=_0x24e421;var _0x4d5b3f;return(_0x4d5b3f=this[_0x250d30(0x1cc)][_0x250d30(0x1ce)](_0x57e6b5))!=null?_0x4d5b3f:null;}[_0x24e421(0x4fa)](_0x149f70){const _0x3a726b=_0x24e421,_0x741e76=this['getCollabEntity'](_0x149f70);return _0x741e76?N['of'](_0x741e76):this[_0x3a726b(0x5fc)][_0x3a726b(0x551)](V[_0x3a726b(0x3df)](_0x569847=>_0x569847[_0x3a726b(0x1cb)]===_0x149f70));}['_init'](){const _0x350c0d=_0x24e421;this['_univerInstanceService'][_0x350c0d(0x358)](a[_0x350c0d(0x355)][_0x350c0d(0x4d1)])[_0x350c0d(0x551)](N[_0x350c0d(0x201)](this['dispose$']),V[_0x350c0d(0x1f4)](0x10))['subscribe'](async _0x2aae94=>{const _0x259219=_0x350c0d,_0x3fb786=_0x2aae94[_0x259219(0x60a)](),_0x4f52ea=await this['_startCollaboration'](_0x3fb786,ie[_0x259219(0x4d1)]);this[_0x259219(0x1cc)]['set'](_0x3fb786,_0x4f52ea);}),this[_0x350c0d(0x49f)]['getTypeOfUnitAdded$'](a[_0x350c0d(0x355)][_0x350c0d(0x5b6)])[_0x350c0d(0x551)](N[_0x350c0d(0x201)](this[_0x350c0d(0x362)]),V[_0x350c0d(0x1f4)](0x10))[_0x350c0d(0x551)](V[_0x350c0d(0x3df)](_0x5623ee=>!_0x5623ee['getUnitId']()['startsWith']('__')))[_0x350c0d(0x4d3)](async _0x4290f1=>{const _0x409835=_0x350c0d,_0xd7f718=_0x4290f1[_0x409835(0x60a)](),_0x24de00=await this[_0x409835(0x4ea)](_0xd7f718,ie[_0x409835(0x5b6)]);this[_0x409835(0x1cc)][_0x409835(0x44a)](_0xd7f718,_0x24de00);}),N[_0x350c0d(0x51c)](this[_0x350c0d(0x49f)][_0x350c0d(0x645)](a['UniverInstanceType'][_0x350c0d(0x4d1)]),this[_0x350c0d(0x49f)]['getTypeOfUnitDisposed$'](a[_0x350c0d(0x355)][_0x350c0d(0x5b6)]))['pipe'](N['takeUntil'](this[_0x350c0d(0x362)]))[_0x350c0d(0x4d3)](_0x22c3f2=>{const _0x367dbd=_0x350c0d,_0x531223=_0x22c3f2[_0x367dbd(0x60a)](),_0x4e2199=this[_0x367dbd(0x1cc)][_0x367dbd(0x1ce)](_0x531223);_0x4e2199&&(_0x4e2199['dispose'](),this[_0x367dbd(0x1cc)]['delete'](_0x531223));});}async[_0x24e421(0x4ea)](_0x2940bc,_0x216061){const _0x155416=_0x24e421,_0x2cd800=await this['_collabSessionService'][_0x155416(0x25d)](_0x2940bc),_0x21a471=this['_injector'][_0x155416(0x278)](this['_getCtorByUniverType'](_0x216061),_0x2940bc,_0x216061,_0x2cd800);return await _0x21a471[_0x155416(0x503)](),this[_0x155416(0x5fc)][_0x155416(0x65d)](_0x21a471),_0x21a471;}[_0x24e421(0x515)](_0x35199d){const _0x1ce733=_0x24e421;switch(_0x35199d){case ie[_0x1ce733(0x5b6)]:return exports[_0x1ce733(0x427)];case ie[_0x1ce733(0x4d1)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x1ce733(0x1c8)+_0x35199d);}}},exports[_0x24e421(0x213)]=er([dt(0x0,a[_0x24e421(0x52f)](a['Injector'])),dt(0x1,a['Inject'](exports[_0x24e421(0x3b4)])),dt(0x2,a[_0x24e421(0x344)])],exports[_0x24e421(0x213)]);var tr=Object[_0x24e421(0x5bd)],ir=Object[_0x24e421(0x221)],nr=(_0x1f3b59,_0x51ef8a,_0x42b7aa,_0x3160cd)=>{for(var _0x502be9=_0x3160cd>0x1?void 0x0:_0x3160cd?ir(_0x51ef8a,_0x42b7aa):_0x51ef8a,_0x10f6ca=_0x1f3b59['length']-0x1,_0x3c7161;_0x10f6ca>=0x0;_0x10f6ca--)(_0x3c7161=_0x1f3b59[_0x10f6ca])&&(_0x502be9=(_0x3160cd?_0x3c7161(_0x51ef8a,_0x42b7aa,_0x502be9):_0x3c7161(_0x502be9))||_0x502be9);return _0x3160cd&&_0x502be9&&tr(_0x51ef8a,_0x42b7aa,_0x502be9),_0x502be9;},Yt=(_0xfb9f7d,_0x41a331)=>(_0x234864,_0x48351d)=>_0x41a331(_0x234864,_0x48351d,_0xfb9f7d);let it=class extends a[_0x24e421(0x444)]{constructor(_0x530039,_0x512a80){const _0x21ad82=_0x24e421;super(),this[_0x21ad82(0x50f)]=_0x530039,this[_0x21ad82(0x52a)]=_0x512a80,this[_0x21ad82(0x541)]();}[_0x24e421(0x541)](){const _0x2e87d5=_0x24e421,_0x400dbd=this;this[_0x2e87d5(0x244)](this[_0x2e87d5(0x50f)][_0x2e87d5(0x679)]({'onBeforePasteImage':async _0x2cbbbd=>{const _0x28ee42=_0x2e87d5,_0x10053e=await _0x400dbd[_0x28ee42(0x52a)][_0x28ee42(0x354)](_0x2cbbbd);return _0x10053e?{'source':_0x10053e[_0x28ee42(0x55d)],'imageSourceType':_0x10053e[_0x28ee42(0x329)]}:null;}}));}};it=nr([Yt(0x0,J[_0x24e421(0x264)]),Yt(0x1,te[_0x24e421(0x458)])],it);const qt=[_0x24e421(0x63c),'jiqing500','verdancy600',_0x24e421(0x5c8),_0x24e421(0x3c1),_0x24e421(0x240)];class Nt extends a[_0x24e421(0x1fe)]{constructor(){const _0x160189=_0x24e421;super(...arguments),I(this,_0x160189(0x3e6),new Map()),I(this,_0x160189(0x1cf),0x0);}[_0x24e421(0x2d3)](_0xf7e992){const _0x116782=_0x24e421;if(this['_assignedColors']['has'](_0xf7e992))return this['_assignedColors'][_0x116782(0x1ce)](_0xf7e992);const _0x3ec4bb=qt[this[_0x116782(0x1cf)]];return this[_0x116782(0x1cf)]=(this[_0x116782(0x1cf)]+0x1)%qt[_0x116782(0x3c9)],this['_assignedColors'][_0x116782(0x44a)](_0xf7e992,_0x3ec4bb),_0x3ec4bb;}}var rr=Object[_0x24e421(0x5bd)],sr=Object['getOwnPropertyDescriptor'],or=(_0x22873e,_0x109e54,_0x4bd013,_0xaede16)=>{const _0x5acb8b=_0x24e421;for(var _0x22e07d=_0xaede16>0x1?void 0x0:_0xaede16?sr(_0x109e54,_0x4bd013):_0x109e54,_0x7a1ebd=_0x22873e[_0x5acb8b(0x3c9)]-0x1,_0xfa0c3d;_0x7a1ebd>=0x0;_0x7a1ebd--)(_0xfa0c3d=_0x22873e[_0x7a1ebd])&&(_0x22e07d=(_0xaede16?_0xfa0c3d(_0x109e54,_0x4bd013,_0x22e07d):_0xfa0c3d(_0x22e07d))||_0x22e07d);return _0xaede16&&_0x22e07d&&rr(_0x109e54,_0x4bd013,_0x22e07d),_0x22e07d;},pe=(_0x557ec5,_0x254d16)=>(_0x2430ad,_0x15d45c)=>_0x254d16(_0x2430ad,_0x15d45c,_0x557ec5);const ar=0x12c,cr=0x64;let bt=class extends a[_0x24e421(0x444)]{constructor(_0x2627fc,_0x2f7db1,_0x2cd86f,_0x1ba98c,_0x2fee28,_0x1d97c0,_0x20a10a,_0x5f1055,_0x26f1c0){const _0xc2ca7b=_0x24e421;super(),I(this,_0xc2ca7b(0x537),!0x1),I(this,_0xc2ca7b(0x541),!0x1),I(this,_0xc2ca7b(0x382),new N[(_0xc2ca7b(0x43e))](new Map())),I(this,'cursorInfo$',this[_0xc2ca7b(0x382)][_0xc2ca7b(0x285)]()),I(this,'_roomMembers$',new N['BehaviorSubject']([])),I(this,_0xc2ca7b(0x29c),this[_0xc2ca7b(0x3cc)][_0xc2ca7b(0x551)](N[_0xc2ca7b(0x2a1)](ar))),I(this,_0xc2ca7b(0x1fb),a[_0xc2ca7b(0x261)](_0x267bb5=>{const _0x3e1cf8=_0xc2ca7b,_0x3e2fbe={'eventID':m['CollaborationEvent'][_0x3e1cf8(0x591)],'data':{'unitID':this[_0x3e1cf8(0x1cb)],'memberID':this[_0x3e1cf8(0x518)][_0x3e1cf8(0x4b1)](),'selection':Di(_0x267bb5)}};this[_0x3e1cf8(0x518)][_0x3e1cf8(0x325)](_0x3e2fbe,this[_0x3e1cf8(0x1cb)]);},cr)),(this[_0xc2ca7b(0x1cb)]=_0x2627fc,this[_0xc2ca7b(0x518)]=_0x2f7db1,this[_0xc2ca7b(0x5f8)]=_0x2cd86f,this[_0xc2ca7b(0x51d)]=_0x1ba98c,this[_0xc2ca7b(0x2bf)]=_0x2fee28,this[_0xc2ca7b(0x2a7)]=_0x1d97c0,this[_0xc2ca7b(0x3d5)]=_0x20a10a,this['_univerInstanceService']=_0x5f1055,this[_0xc2ca7b(0x3c0)]=_0x26f1c0);}get[_0x24e421(0x3bf)](){const _0xba214a=_0x24e421;return this['_cursorInfo$'][_0xba214a(0x1f2)]();}get[_0x24e421(0x41b)](){const _0x51a6a2=_0x24e421;return this[_0x51a6a2(0x3cc)][_0x51a6a2(0x1f2)]();}[_0x24e421(0x4cc)](){const _0x276de7=_0x24e421;super[_0x276de7(0x4cc)](),this[_0x276de7(0x382)][_0x276de7(0x65d)](new Map()),this[_0x276de7(0x382)][_0x276de7(0x465)](),this[_0x276de7(0x3cc)][_0x276de7(0x65d)]([]),this['_roomMembers$']['complete']();}[_0x24e421(0x503)](){const _0x46d0d3=_0x24e421;this['_init']||(this['_init']=!0x0,this[_0x46d0d3(0x518)][_0x46d0d3(0x4f0)][_0x46d0d3(0x551)](N[_0x46d0d3(0x201)](this[_0x46d0d3(0x362)]))[_0x46d0d3(0x4d3)](_0x274e37=>{const _0x2ffe88=_0x46d0d3;_0x274e37===ne[_0x2ffe88(0x58b)]?this['_toggleOnline']():this[_0x2ffe88(0x350)]();}),this[_0x46d0d3(0x518)]['event$'][_0x46d0d3(0x551)](N['takeUntil'](this[_0x46d0d3(0x362)]))[_0x46d0d3(0x4d3)](_0x44615b=>{const _0x2390f1=_0x46d0d3,_0x2f8aa5=_0x44615b[_0x2390f1(0x3c3)];_0x2f8aa5===m[_0x2390f1(0x5b3)][_0x2390f1(0x591)]&&this['_onCursorUpdate'](_0x44615b),_0x2f8aa5===m[_0x2390f1(0x5b3)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x44615b);}),this[_0x46d0d3(0x244)](this[_0x46d0d3(0x3c0)][_0x46d0d3(0x268)](_0x383aa2=>{const _0x23f8b9=_0x46d0d3,_0x59aff8=_0x383aa2[_0x23f8b9(0x245)];_0x59aff8!=null&&this[_0x23f8b9(0x537)]&&_0x383aa2['id']===Ie[_0x23f8b9(0x457)]['id']&&_0x59aff8[_0x23f8b9(0x359)]===this[_0x23f8b9(0x1cb)]&&_0x59aff8[_0x23f8b9(0x5f9)]===!0x1&&_0x59aff8[_0x23f8b9(0x258)]['length']>0x0&&this[_0x23f8b9(0x1fb)](_0x59aff8['ranges']);})),this['_syncEditingCollabCursorService'][_0x46d0d3(0x326)]['pipe'](N[_0x46d0d3(0x201)](this['dispose$']))[_0x46d0d3(0x4d3)](_0x4d81cf=>{const _0x3d9637=_0x46d0d3;if((_0x4d81cf==null?void 0x0:_0x4d81cf[_0x3d9637(0x1cb)])!==this['unitID'])return;const _0x1c0b2c={'eventID':m['CollaborationEvent'][_0x3d9637(0x591)],'data':_0x4d81cf};this[_0x3d9637(0x59a)](_0x1c0b2c);}),this[_0x46d0d3(0x244)](this[_0x46d0d3(0x3c0)][_0x46d0d3(0x268)](_0x495c1c=>{const _0x3add4d=_0x46d0d3;if(_0x495c1c['params']==null)return;const _0xb8ef8c=_0x495c1c[_0x3add4d(0x245)];if(_0x495c1c['id']!==Ie[_0x3add4d(0x3be)]['id']||_0xb8ef8c[_0x3add4d(0x359)]!==this['unitID'])return;const _0x3bd949={'id':'doc.mutation.rich-text-editing','params':_0xb8ef8c},_0x28b45f=this[_0x3add4d(0x3bf)];for(const [_0x2bb9db,_0x15e52a]of _0x28b45f){const _0x3f6ce1={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x3add4d(0x1cb)],'actions':null,'textRanges':_0x15e52a[_0x3add4d(0x258)]}},_0xa2b1dc=this[_0x3add4d(0x3d5)][_0x3add4d(0x327)](_0x3bd949,_0x3f6ce1,!0x1);if(m[_0x3add4d(0x3fe)](_0xa2b1dc))throw _0xa2b1dc[_0x3add4d(0x49e)];_0x28b45f[_0x3add4d(0x44a)](_0x2bb9db,{..._0x15e52a,'ranges':_0xa2b1dc[_0x3add4d(0x365)][_0x3add4d(0x245)]['textRanges']});}queueMicrotask(()=>{const _0x5dada3=_0x3add4d;this[_0x5dada3(0x382)][_0x5dada3(0x65d)](_0x28b45f);});})));}[_0x24e421(0x59a)](_0x5666fc){const _0xa56f46=_0x24e421;var _0x152089,_0x230dcb;const {memberID:_0x16db68,selection:_0x4d842b}=_0x5666fc[_0xa56f46(0x25f)],_0xb6c68a=kn(_0x4d842b),_0xf14f19=(_0x230dcb=(_0x152089=this[_0xa56f46(0x2bf)][_0xa56f46(0x40e)](this[_0xa56f46(0x1cb)],_0x16db68))==null?void 0x0:_0x152089['name'])!=null?_0x230dcb:_0xa56f46(0x460),_0x56c02b={'color':this['_colorAssignService'][_0xa56f46(0x2d3)](_0x16db68),'name':_0xf14f19,'ranges':_0xb6c68a},_0x3bc255=this[_0xa56f46(0x3bf)];_0x3bc255[_0xa56f46(0x44a)](_0x16db68,_0x56c02b),this[_0xa56f46(0x382)]['next'](_0x3bc255);}[_0x24e421(0x2f4)](_0x1eef67){const _0x52c75b=_0x24e421,{memberID:_0xf4aed5}=_0x1eef67[_0x52c75b(0x25f)],_0x33e43a=this['cursorInfo'];_0x33e43a['delete'](_0xf4aed5),this[_0x52c75b(0x382)]['next'](_0x33e43a);}[_0x24e421(0x3dc)](){const _0x6edbba=_0x24e421;var _0x37dcd7;if(this[_0x6edbba(0x537)]=!0x0,((_0x37dcd7=this[_0x6edbba(0x49f)][_0x6edbba(0x22c)]())==null?void 0x0:_0x37dcd7['getUnitId']())!==this[_0x6edbba(0x1cb)])return;const _0x2c54cf=this['_injector'][_0x6edbba(0x1ce)](Ie['DocSelectionManagerService'])['getDocRanges']();Array[_0x6edbba(0x357)](_0x2c54cf)&&_0x2c54cf[_0x6edbba(0x3c9)]>0x0&&this['_updateLocalCursor'](_0x2c54cf);}['_toggleOffline'](){this['_online']=!0x1;}};bt=or([pe(0x2,a[_0x24e421(0x52f)](a[_0x24e421(0x224)])),pe(0x3,a['Inject'](Nt)),pe(0x4,a[_0x24e421(0x52f)](exports[_0x24e421(0x5e4)])),pe(0x5,a['Inject'](Ut)),pe(0x6,m['ITransformService']),pe(0x7,a[_0x24e421(0x344)]),pe(0x8,a[_0x24e421(0x2b1)])],bt);var lr=Object['defineProperty'],hr=Object[_0x24e421(0x221)],_r=(_0x59f0ea,_0x45f645,_0x307f71,_0x2f52d0)=>{for(var _0x4a9830=_0x2f52d0>0x1?void 0x0:_0x2f52d0?hr(_0x45f645,_0x307f71):_0x45f645,_0x273cb2=_0x59f0ea['length']-0x1,_0x1e19a3;_0x273cb2>=0x0;_0x273cb2--)(_0x1e19a3=_0x59f0ea[_0x273cb2])&&(_0x4a9830=(_0x2f52d0?_0x1e19a3(_0x45f645,_0x307f71,_0x4a9830):_0x1e19a3(_0x4a9830))||_0x4a9830);return _0x2f52d0&&_0x4a9830&&lr(_0x45f645,_0x307f71,_0x4a9830),_0x4a9830;},Te=(_0x5b29b1,_0x3556a1)=>(_0x43e88e,_0x2f5953)=>_0x3556a1(_0x43e88e,_0x2f5953,_0x5b29b1);const ur=0x12c,dr=0x64,fr=()=>{let _0x33fd55=[],_0x4f0ca0=!0x1;return _0xdf8ea0=>{const _0x512cef=_0x5e3c;_0x33fd55[_0x512cef(0x2f8)](_0xdf8ea0),_0x4f0ca0||(_0x4f0ca0=!0x0,setTimeout(()=>{const _0x59f0b5=_0x512cef;_0x33fd55[_0x59f0b5(0x5d1)](_0x410ac8=>_0x410ac8()),_0x33fd55=[],_0x4f0ca0=!0x1;}));};};let Tt=class extends a[_0x24e421(0x444)]{constructor(_0xadce01,_0x35aa29,_0x443fde,_0xdb4025,_0xfe9944,_0x524bdd,_0x193129,_0x83316f){const _0x47540e=_0x24e421;super(),I(this,'_online',!0x1),I(this,'_init',!0x1),I(this,'_cursorInfo$',new N[(_0x47540e(0x43e))](new Map())),I(this,_0x47540e(0x235),this[_0x47540e(0x382)][_0x47540e(0x285)]()),I(this,_0x47540e(0x3cc),new N[(_0x47540e(0x43e))]([])),I(this,_0x47540e(0x29c),this[_0x47540e(0x3cc)][_0x47540e(0x551)](N[_0x47540e(0x2a1)](ur))),I(this,'_updateLocalCursor',a['debounce']((_0x351102,_0x53dac1)=>{const _0x586160=_0x47540e,_0x50cc59={'eventID':m['CollaborationEvent'][_0x586160(0x591)],'data':{'unitID':this[_0x586160(0x1cb)],'memberID':this['_session']['getMemberID'](),'selection':$t[_0x586160(0x3f8)](_0x351102,_0x53dac1[_0x586160(0x40b)])}};this[_0x586160(0x518)][_0x586160(0x325)](_0x50cc59,this[_0x586160(0x1cb)]);},dr)),(this[_0x47540e(0x1cb)]=_0xadce01,this[_0x47540e(0x518)]=_0x35aa29,this[_0x47540e(0x5f8)]=_0x443fde,this[_0x47540e(0x51d)]=_0xdb4025,this[_0x47540e(0x2bf)]=_0xfe9944,this[_0x47540e(0x49f)]=_0x524bdd,this[_0x47540e(0x3c0)]=_0x193129,this['_refRangeService']=_0x83316f);}get[_0x24e421(0x3bf)](){const _0x1b7bc3=_0x24e421;return this['_cursorInfo$'][_0x1b7bc3(0x1f2)]();}get[_0x24e421(0x41b)](){const _0x433890=_0x24e421;return this[_0x433890(0x3cc)][_0x433890(0x1f2)]();}[_0x24e421(0x4cc)](){const _0x34c6f2=_0x24e421;super[_0x34c6f2(0x4cc)](),this[_0x34c6f2(0x382)]['next'](new Map()),this[_0x34c6f2(0x382)][_0x34c6f2(0x465)](),this['_roomMembers$'][_0x34c6f2(0x65d)]([]),this[_0x34c6f2(0x3cc)][_0x34c6f2(0x465)]();}['init'](){const _0x1c7096=_0x24e421;this['_init']||(this['_init']=!0x0,this[_0x1c7096(0x518)][_0x1c7096(0x4f0)][_0x1c7096(0x551)](N[_0x1c7096(0x201)](this['dispose$']))[_0x1c7096(0x4d3)](_0x4e413d=>{const _0x212b4e=_0x1c7096;_0x4e413d===ne[_0x212b4e(0x58b)]?this[_0x212b4e(0x3dc)]():this[_0x212b4e(0x350)]();}),this[_0x1c7096(0x518)]['event$'][_0x1c7096(0x551)](N[_0x1c7096(0x201)](this[_0x1c7096(0x362)]))[_0x1c7096(0x4d3)](_0xd79664=>{const _0x5bdf57=_0x1c7096,_0x1e528e=_0xd79664['eventID'];_0x1e528e===m[_0x5bdf57(0x5b3)]['UPDATE_CURSOR']&&this[_0x5bdf57(0x59a)](_0xd79664),_0x1e528e===m[_0x5bdf57(0x5b3)][_0x5bdf57(0x231)]&&this[_0x5bdf57(0x2f4)](_0xd79664);}),this[_0x1c7096(0x426)](),this[_0x1c7096(0x244)](this[_0x1c7096(0x3c0)][_0x1c7096(0x268)](_0x52d533=>{const _0x4dff50=_0x1c7096;if(this[_0x4dff50(0x537)]&&_0x52d533['id']===k['SetSelectionsOperation']['id']&&_0x52d533['params']['unitId']===this[_0x4dff50(0x1cb)]){const _0x3f6d01=_0x52d533[_0x4dff50(0x245)];this['_updateLocalCursor'](_0x3f6d01['subUnitId'],_0x3f6d01[_0x4dff50(0x2f7)][0x0]);}})));}[_0x24e421(0x59a)](_0x15d8c0){const _0x3a25c7=_0x24e421;var _0x4eea79,_0x35530c;const {memberID:_0x354918,selection:_0x35a1da}=_0x15d8c0[_0x3a25c7(0x25f)],{sheetName:_0x2f5cb7,range:_0x3be11a}=$t[_0x3a25c7(0x1c1)](_0x35a1da),_0x18050a={'name':(_0x35530c=(_0x4eea79=this[_0x3a25c7(0x2bf)][_0x3a25c7(0x40e)](this['unitID'],_0x354918))==null?void 0x0:_0x4eea79['name'])!=null?_0x35530c:_0x3a25c7(0x460),'range':this[_0x3a25c7(0x1c3)](_0x2f5cb7,_0x3be11a),'sheetID':_0x2f5cb7,'color':this[_0x3a25c7(0x51d)][_0x3a25c7(0x2d3)](_0x354918),'selection':_0x35a1da},_0x2d8431=this[_0x3a25c7(0x3bf)];_0x2d8431[_0x3a25c7(0x44a)](_0x354918,_0x18050a),this[_0x3a25c7(0x382)][_0x3a25c7(0x65d)](_0x2d8431);}[_0x24e421(0x2f4)](_0x227ef8){const _0x5a1ad8=_0x24e421,{memberID:_0x46bcc5}=_0x227ef8[_0x5a1ad8(0x25f)],_0x1c664c=this['cursorInfo'];_0x1c664c[_0x5a1ad8(0x5ae)](_0x46bcc5),this[_0x5a1ad8(0x382)][_0x5a1ad8(0x65d)](_0x1c664c);}[_0x24e421(0x1c3)](_0x534a45,_0x283dde){const _0x335c12=_0x24e421;var _0x3e1530,_0x41fab4;const _0x16b130=(_0x41fab4=(_0x3e1530=this[_0x335c12(0x49f)][_0x335c12(0x521)](this[_0x335c12(0x1cb)]))==null?void 0x0:_0x3e1530[_0x335c12(0x2ac)](_0x534a45))==null?void 0x0:_0x41fab4[_0x335c12(0x291)]();return(_0x16b130==null?void 0x0:_0x16b130[_0x335c12(0x584)](_0x27214e=>a[_0x335c12(0x3db)][_0x335c12(0x50c)](_0x27214e,_0x283dde)))||_0x283dde;}['_onRefRangeChange'](){const _0x488573=_0x24e421,_0x3b5c54=new a[(_0x488573(0x499))](),_0x5999ff=fr(),_0x1c47b1=()=>{const _0x2cf75d=_0x488573;_0x3b5c54['dispose']();const _0x5cf2cb=(_0x3b3d00,_0x4e0e42,_0x4798dc,_0x280622)=>{const _0x2a1052=_0x5e3c;let _0x443418=[];switch(_0x3b3d00['id']){case k[_0x2a1052(0x205)][_0x2a1052(0x5c4)]:{_0x443418=k['handleDeleteRangeMoveLeft'](_0x3b3d00,_0x280622);break;}case k[_0x2a1052(0x205)][_0x2a1052(0x430)]:{_0x443418=k[_0x2a1052(0x1e6)](_0x3b3d00,_0x280622);break;}case k[_0x2a1052(0x205)][_0x2a1052(0x558)]:{_0x443418=k[_0x2a1052(0x336)](_0x3b3d00,_0x280622);break;}case k[_0x2a1052(0x205)]['InsertRangeMoveDownCommandId']:{_0x443418=k[_0x2a1052(0x306)](_0x3b3d00,_0x280622);break;}case k[_0x2a1052(0x205)][_0x2a1052(0x5ca)]:{_0x443418=k[_0x2a1052(0x480)](_0x3b3d00,_0x280622);break;}case k[_0x2a1052(0x205)]['InsertRowCommandId']:{_0x443418=k[_0x2a1052(0x3e4)](_0x3b3d00,_0x280622);break;}case k[_0x2a1052(0x205)][_0x2a1052(0x251)]:{_0x443418=k[_0x2a1052(0x2f2)](_0x3b3d00,_0x280622);break;}case k[_0x2a1052(0x205)][_0x2a1052(0x57b)]:{_0x443418=k[_0x2a1052(0x3d1)](_0x3b3d00,_0x280622);break;}case k[_0x2a1052(0x205)]['RemoveRowCommandId']:{_0x443418=k[_0x2a1052(0x2fc)](_0x3b3d00,_0x280622);break;}}const _0x3ca7aa=k[_0x2a1052(0x1ee)](_0x443418,_0x280622),_0x1d9148=this[_0x2a1052(0x3bf)][_0x2a1052(0x1ce)](_0x4e0e42);if(_0x1d9148&&_0x3ca7aa){const _0xebe52f={..._0x1d9148,'range':_0x3ca7aa};this[_0x2a1052(0x3bf)][_0x2a1052(0x44a)](_0x4e0e42,_0xebe52f),_0x5999ff(()=>{const _0x3fafe4=_0x2a1052,_0x44cf1f=this[_0x3fafe4(0x507)][_0x3fafe4(0x4da)](_0x3ca7aa,_0x242d5f=>(_0x44cf1f[_0x3fafe4(0x4cc)](),_0x5cf2cb(_0x242d5f,_0x4e0e42,_0x4798dc,_0x3ca7aa)));_0x3b5c54['add'](_0x44cf1f);});}return{'redos':[],'undos':[]};};this[_0x2cf75d(0x3bf)][_0x2cf75d(0x5d1)]((_0x37a971,_0x9e8a43)=>{const _0x1ea4f6=_0x2cf75d,{range:_0x45e35d,sheetID:_0x232d3c}=_0x37a971,_0x4a72f3=this[_0x1ea4f6(0x507)][_0x1ea4f6(0x4da)](_0x45e35d,_0x58934f=>(_0x4a72f3[_0x1ea4f6(0x4cc)](),_0x5cf2cb(_0x58934f,_0x9e8a43,_0x232d3c,_0x45e35d)));_0x3b5c54[_0x1ea4f6(0x30a)](_0x4a72f3);});};this['disposeWithMe'](a[_0x488573(0x2a4)](this[_0x488573(0x382)]['subscribe'](()=>{_0x1c47b1();})));}['_toggleOnline'](){const _0x531574=_0x24e421;var _0x478377,_0x404782;if(this[_0x531574(0x537)]=!0x0,((_0x478377=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x478377[_0x531574(0x60a)]())!==this[_0x531574(0x1cb)])return;const _0xa5840d=(_0x404782=this[_0x531574(0x5f8)][_0x531574(0x1ce)](k[_0x531574(0x219)])[_0x531574(0x252)]())==null?void 0x0:_0x404782[0x0],_0x45e93e=this[_0x531574(0x49f)][_0x531574(0x331)](a[_0x531574(0x355)]['UNIVER_SHEET'])[_0x531574(0x5ff)]();_0xa5840d&&_0x45e93e&&this['_updateLocalCursor'](_0x45e93e[_0x531574(0x490)](),_0xa5840d);}[_0x24e421(0x350)](){const _0x5a42ad=_0x24e421;this[_0x5a42ad(0x537)]=!0x1;}};Tt=_r([Te(0x2,a[_0x24e421(0x52f)](a['Injector'])),Te(0x3,a['Inject'](Nt)),Te(0x4,a['Inject'](exports[_0x24e421(0x5e4)])),Te(0x5,a[_0x24e421(0x344)]),Te(0x6,a[_0x24e421(0x2b1)]),Te(0x7,a[_0x24e421(0x52f)](k['RefRangeService']))],Tt);var vr=Object[_0x24e421(0x5bd)],Sr=Object[_0x24e421(0x221)],pr=(_0x3d7bcb,_0x23bf63,_0x18ec12,_0x18d8e9)=>{for(var _0x413b1e=_0x18d8e9>0x1?void 0x0:_0x18d8e9?Sr(_0x23bf63,_0x18ec12):_0x23bf63,_0x36c138=_0x3d7bcb['length']-0x1,_0xce703c;_0x36c138>=0x0;_0x36c138--)(_0xce703c=_0x3d7bcb[_0x36c138])&&(_0x413b1e=(_0x18d8e9?_0xce703c(_0x23bf63,_0x18ec12,_0x413b1e):_0xce703c(_0x413b1e))||_0x413b1e);return _0x18d8e9&&_0x413b1e&&vr(_0x23bf63,_0x18ec12,_0x413b1e),_0x413b1e;},ft=(_0x135271,_0x4ade8e)=>(_0xdf487,_0x1af435)=>_0x4ade8e(_0xdf487,_0x1af435,_0x135271);let ye=class extends a[_0x24e421(0x444)]{constructor(_0x987d30,_0x47912b,_0x4cf572){const _0x315623=_0x24e421;super(),I(this,'_entities',new Map()),I(this,_0x315623(0x5fc),new N[(_0x315623(0x5fb))]()),(this[_0x315623(0x49f)]=_0x987d30,this[_0x315623(0x5f8)]=_0x47912b,this[_0x315623(0x529)]=_0x4cf572,this[_0x315623(0x541)]());}[_0x24e421(0x4cc)](){const _0x21635f=_0x24e421;super[_0x21635f(0x4cc)](),this[_0x21635f(0x5fc)][_0x21635f(0x465)](),this['_entities'][_0x21635f(0x5d1)](_0x17b4e4=>_0x17b4e4['dispose']());}[_0x24e421(0x4ac)](_0x5b5b76){const _0x47caa6=_0x24e421;return this['_entities'][_0x47caa6(0x2b5)](_0x5b5b76)?this[_0x47caa6(0x1cc)][_0x47caa6(0x1ce)](_0x5b5b76)[_0x47caa6(0x235)]:this['_entityInit$']['pipe'](N[_0x47caa6(0x3df)](_0x5ed852=>_0x5ed852[_0x47caa6(0x1cb)]===_0x5b5b76),N[_0x47caa6(0x39e)](_0x1c786d=>_0x1c786d[_0x47caa6(0x235)]));}[_0x24e421(0x541)](){const _0x325155=_0x24e421;this[_0x325155(0x49f)][_0x325155(0x358)](a['UniverInstanceType'][_0x325155(0x4d1)])[_0x325155(0x551)](N[_0x325155(0x201)](this[_0x325155(0x362)]))[_0x325155(0x4d3)](async _0x3cfd3e=>{const _0x3f1aee=_0x325155,_0x2fb012=_0x3cfd3e[_0x3f1aee(0x60a)](),_0x52a4b0=await this['_startSheetCollabCursor'](_0x2fb012);this[_0x3f1aee(0x5fc)]['next'](_0x52a4b0),this[_0x3f1aee(0x1cc)][_0x3f1aee(0x44a)](_0x2fb012,_0x52a4b0);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x325155(0x5b6)])[_0x325155(0x551)](N[_0x325155(0x201)](this['dispose$']))[_0x325155(0x551)](N[_0x325155(0x3df)](_0x5269ca=>!_0x5269ca['getUnitId']()[_0x325155(0x3f6)]('__')))[_0x325155(0x4d3)](async _0x5647f7=>{const _0x3a9e62=_0x325155,_0x486ce1=_0x5647f7[_0x3a9e62(0x60a)](),_0x450a52=await this['_startDocCollabCursor'](_0x486ce1);this[_0x3a9e62(0x5fc)]['next'](_0x450a52),this['_entities'][_0x3a9e62(0x44a)](_0x486ce1,_0x450a52);}),N[_0x325155(0x51c)](this[_0x325155(0x49f)][_0x325155(0x645)](a['UniverInstanceType'][_0x325155(0x5b6)]),this[_0x325155(0x49f)][_0x325155(0x645)](a[_0x325155(0x355)][_0x325155(0x4d1)]))['pipe'](N[_0x325155(0x201)](this[_0x325155(0x362)]))['subscribe'](_0x3eecc7=>{const _0x20ec4d=_0x325155,_0x65d928=_0x3eecc7['getUnitId'](),_0x24666e=this[_0x20ec4d(0x1cc)]['get'](_0x65d928);_0x24666e&&(_0x24666e[_0x20ec4d(0x4cc)](),this['_entities'][_0x20ec4d(0x5ae)](_0x65d928));});}async[_0x24e421(0x585)](_0x860b3f){const _0x5a9545=_0x24e421,_0x483f9d=await this[_0x5a9545(0x529)][_0x5a9545(0x25d)](_0x860b3f),_0x3442c0=this[_0x5a9545(0x5f8)]['createInstance'](Tt,_0x860b3f,_0x483f9d);return _0x3442c0[_0x5a9545(0x503)](),_0x3442c0;}async[_0x24e421(0x466)](_0x8bed38){const _0x19f480=_0x24e421,_0x2f42af=await this[_0x19f480(0x529)][_0x19f480(0x25d)](_0x8bed38),_0x13f71e=this[_0x19f480(0x5f8)][_0x19f480(0x278)](bt,_0x8bed38,_0x2f42af);return _0x13f71e[_0x19f480(0x503)](),_0x13f71e;}};ye=pr([ft(0x0,a[_0x24e421(0x344)]),ft(0x1,a[_0x24e421(0x52f)](a[_0x24e421(0x224)])),ft(0x2,a[_0x24e421(0x52f)](exports['CollaborationSessionService']))],ye);const xe=0x14,Kt=0xc8,vt=0x4,mr=0x5;function gr(_0x143d4d,_0x3f4259){const _0x14d6e9=_0x24e421;let {radius:_0x1ecc30,width:_0x51021e,height:_0x53f5a9}=_0x3f4259;_0x1ecc30=_0x1ecc30!=null?_0x1ecc30:0x0,_0x51021e=_0x51021e!=null?_0x51021e:0x1e,_0x53f5a9=_0x53f5a9!=null?_0x53f5a9:0x1e;let _0x39a2c1=0x0,_0x866048=0x0,_0x4f4afd=0x0;_0x39a2c1=_0x866048=_0x4f4afd=Math[_0x14d6e9(0x1e8)](_0x1ecc30,_0x51021e/0x2,_0x53f5a9/0x2),_0x143d4d[_0x14d6e9(0x385)](),_0x143d4d[_0x14d6e9(0x4bf)](_0x39a2c1,0x0),_0x143d4d['lineTo'](_0x51021e-_0x866048,0x0),_0x143d4d[_0x14d6e9(0x315)](_0x51021e-_0x866048,_0x866048,_0x866048,Math['PI']*0x3/0x2,0x0,!0x1),_0x143d4d['lineTo'](_0x51021e,_0x53f5a9-_0x4f4afd),_0x143d4d[_0x14d6e9(0x315)](_0x51021e-_0x4f4afd,_0x53f5a9-_0x4f4afd,_0x4f4afd,0x0,Math['PI']/0x2,!0x1),_0x143d4d[_0x14d6e9(0x26a)](0x0,_0x53f5a9),_0x143d4d[_0x14d6e9(0x26a)](0x0,_0x39a2c1),_0x143d4d[_0x14d6e9(0x315)](_0x39a2c1,_0x39a2c1,_0x39a2c1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x143d4d[_0x14d6e9(0x512)](),_0x3f4259['fill']&&(_0x143d4d[_0x14d6e9(0x27d)](),_0x143d4d[_0x14d6e9(0x644)]=_0x3f4259[_0x14d6e9(0x23d)],_0x3f4259[_0x14d6e9(0x599)]==='evenodd'?_0x143d4d[_0x14d6e9(0x23d)](_0x14d6e9(0x2e6)):_0x143d4d[_0x14d6e9(0x23d)](),_0x143d4d[_0x14d6e9(0x38e)]());}class ct extends Y['Shape']{constructor(_0xe07c3d,_0x2c3f2c){const _0x7858bb=_0x24e421;super(_0xe07c3d,_0x2c3f2c),I(this,_0x7858bb(0x272)),I(this,_0x7858bb(0x3ac)),(this[_0x7858bb(0x272)]=_0x2c3f2c==null?void 0x0:_0x2c3f2c['color'],this[_0x7858bb(0x3ac)]=_0x2c3f2c==null?void 0x0:_0x2c3f2c[_0x7858bb(0x3ac)]);}static[_0x24e421(0x5aa)](_0x28fcc8,_0x5659ba){const _0xab31f5=_0x24e421,{text:_0x54033f,color:_0x237b23}=_0x5659ba;_0x28fcc8['save'](),_0x28fcc8[_0xab31f5(0x485)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x21b71f=_0x28fcc8[_0xab31f5(0x4e5)](_0x54033f)[_0xab31f5(0x2ea)],_0xe47eda=Math[_0xab31f5(0x1e8)](_0x21b71f+0x2*vt,Kt);gr(_0x28fcc8,{'height':xe,'radius':0x4,'width':_0xe47eda,'fill':_0x237b23,'evented':!0x1}),_0x28fcc8[_0xab31f5(0x644)]=_0xab31f5(0x256);const _0x1f77ec=vt,_0x2dc992=xe-mr,_0x38748e=Kt-0x2*vt;if(_0x21b71f>_0x38748e){let _0x3e3c92='',_0x4cbb5a=0x0;for(const _0x888b31 of _0x54033f){const _0x4c3dab=_0x28fcc8['measureText'](_0x888b31)[_0xab31f5(0x2ea)];if(_0x4cbb5a+_0x4c3dab<=_0x38748e-_0x28fcc8[_0xab31f5(0x4e5)](_0xab31f5(0x4f9))[_0xab31f5(0x2ea)])_0x3e3c92+=_0x888b31,_0x4cbb5a+=_0x4c3dab;else{_0x3e3c92+=_0xab31f5(0x4f9);break;}}_0x28fcc8[_0xab31f5(0x403)](_0x3e3c92,_0x1f77ec,_0x2dc992);}else _0x28fcc8[_0xab31f5(0x403)](_0x54033f,_0x1f77ec,_0x2dc992);_0x28fcc8[_0xab31f5(0x38e)]();}[_0x24e421(0x23c)](_0x8a50b0){const _0x9dc2ae=_0x24e421;ct[_0x9dc2ae(0x5aa)](_0x8a50b0,this);}}const St=_0x24e421(0x45d),Ir=_0x24e421(0x4e4),Cr=_0x24e421(0x26e),we=0x6,Er=1.5,pt=0x4,br=1.5,Tr=_0x24e421(0x45e);class zt{constructor(_0x35ad7a,_0x5a5674,_0x27de36,_0x28633c){const _0x3f5f4e=_0x24e421;I(this,_0x3f5f4e(0x3e3),[]),I(this,_0x3f5f4e(0x370),null),I(this,_0x3f5f4e(0x452),null),I(this,'_anchorDot',null),I(this,_0x3f5f4e(0x3a0),null),I(this,'_eventUnsubscribe',null),(this[_0x3f5f4e(0x581)]=_0x35ad7a,this[_0x3f5f4e(0x2a9)]=_0x5a5674,this[_0x3f5f4e(0x3f5)]=_0x27de36,this['_document']=_0x28633c,this['_render']());}set[_0x24e421(0x40c)](_0x1a3dfe){const _0x3007a1=_0x24e421;_0x1a3dfe?(this[_0x3007a1(0x4c2)]&&this[_0x3007a1(0x4c2)]['hide'](),this[_0x3007a1(0x452)]&&this[_0x3007a1(0x452)][_0x3007a1(0x2ba)]()):(this[_0x3007a1(0x4c2)]&&this[_0x3007a1(0x4c2)][_0x3007a1(0x2ba)](),this['_textBubble']&&this[_0x3007a1(0x452)][_0x3007a1(0x2e5)]());}[_0x24e421(0x4cc)](){const _0x3c3796=_0x24e421;for(const _0x31b39b of this[_0x3c3796(0x3e3)])_0x31b39b[_0x3c3796(0x4cc)]();this[_0x3c3796(0x452)]&&this[_0x3c3796(0x452)][_0x3c3796(0x4cc)](),this[_0x3c3796(0x4c2)]&&this[_0x3c3796(0x4c2)][_0x3c3796(0x4cc)](),this[_0x3c3796(0x370)]&&this[_0x3c3796(0x370)][_0x3c3796(0x4cc)](),this[_0x3c3796(0x5d0)]&&this[_0x3c3796(0x5d0)]();}[_0x24e421(0x456)](){const _0x57115b=_0x24e421;var _0x5be172;const {_docSkeleton:_0x504bb1,_document:_0x81019c}=this,{color:_0x582139,name:_0x453d32,ranges:_0xf6a0b8}=this[_0x57115b(0x581)],_0x5cc32f=_0x81019c['getOffsetConfig'](),{docsLeft:_0x40e3cf,docsTop:_0x2173b9}=_0x5cc32f,_0x437be5=new J['NodePositionConvertToCursor'](_0x5cc32f,_0x504bb1);for(const {startOffset:_0x2ca8d7,endOffset:_0x57d44f,rangeType:_0x52d985,segmentId:_0x3add9d,segmentPage:_0x5253cf,collapsed:_0x1db15b,isActive:_0x781a2b}of _0xf6a0b8){const _0x1fe970=_0x504bb1['findNodePositionByCharIndex'](_0x2ca8d7,!0x0,_0x3add9d,_0x5253cf);let _0xab7b36=_0x504bb1[_0x57115b(0x410)](_0x57d44f,!0x0,_0x3add9d,_0x5253cf);if(_0xab7b36==null&&(_0xab7b36=_0x504bb1[_0x57115b(0x410)](_0x57d44f-0x1,!0x1,_0x3add9d,_0x5253cf)),_0x781a2b){const {contentBoxPointGroup:_0x598ab8}=_0x437be5['getRangePointData'](_0xab7b36,_0xab7b36);if(_0x598ab8[_0x57115b(0x3c9)]===0x0)continue;this[_0x57115b(0x592)](_0x582139,_0x598ab8,_0x40e3cf,_0x2173b9,_0x453d32),this[_0x57115b(0x5d0)]=this[_0x57115b(0x266)]();}if(_0x1fe970&&_0xab7b36){if(_0x52d985===a[_0x57115b(0x5ba)][_0x57115b(0x5ce)]){const _0x5df075=new J[(_0x57115b(0x384))](_0x5cc32f,_0x504bb1),{pointGroup:_0x319036}=(_0x5be172=_0x5df075[_0x57115b(0x576)](_0x1fe970,_0xab7b36))!=null?_0x5be172:{};if(_0x319036==null||_0x319036[_0x57115b(0x3c9)]===0x0)continue;this[_0x57115b(0x377)](_0x582139,_0x319036,_0x40e3cf,_0x2173b9);}else{if(!_0x1db15b){const {borderBoxPointGroup:_0x5661cc}=_0x437be5[_0x57115b(0x576)](_0x1fe970,_0xab7b36);if(_0x5661cc[_0x57115b(0x3c9)]===0x0)continue;this[_0x57115b(0x1c6)](_0x582139,_0x5661cc,_0x40e3cf,_0x2173b9);}}}}}[_0x24e421(0x592)](_0x487350,_0x55fb31,_0x203aab,_0x8ec109,_0x1379e3){const _0x74d374=_0x24e421,_0x258809=this[_0x74d374(0x28e)](_0x55fb31),{left:_0x4e8e91,top:_0x5d214a,height:_0x1ed6e5}=_0x258809,_0x3cf86e=this[_0x74d374(0x681)](),_0x2c4675=br/_0x3cf86e,_0xd69608=new Y[(_0x74d374(0x4df))](St+a['Tools']['generateRandomId'](we),{'left':_0x4e8e91+_0x203aab-_0x2c4675,'top':_0x5d214a+_0x8ec109,'height':_0x1ed6e5,'width':Er,'fill':_0x487350||Y[_0x74d374(0x5b8)](a['COLORS'][_0x74d374(0x605)],0x0),'strokeWidth':_0x2c4675,'stroke':Tr,'evented':!0x0});this[_0x74d374(0x370)]=_0xd69608,this[_0x74d374(0x2a9)][_0x74d374(0x615)](_0xd69608,J[_0x74d374(0x5b1)]);const _0x4d945a=new Y['Rect'](St+a[_0x74d374(0x667)]['generateRandomId'](we),{'left':_0x4e8e91+_0x203aab-_0x2c4675,'top':_0x5d214a+_0x8ec109-pt/0x2,'height':pt,'width':pt,'fill':_0x487350||Y[_0x74d374(0x5b8)](a[_0x74d374(0x263)][_0x74d374(0x605)],0x0),'strokeWidth':0x0,'stroke':_0x487350||Y['getColor'](a[_0x74d374(0x263)][_0x74d374(0x605)],0x0),'evented':!0x1});this[_0x74d374(0x4c2)]=_0x4d945a,this[_0x74d374(0x2a9)][_0x74d374(0x615)](_0x4d945a,J[_0x74d374(0x5b1)]);const _0x5c1866=new ct(St+a[_0x74d374(0x667)][_0x74d374(0x455)](we),{'left':_0x4e8e91+_0x203aab-_0x2c4675,'top':_0x5d214a+_0x8ec109-xe,'text':_0x1379e3,'color':_0x487350});this[_0x74d374(0x452)]=_0x5c1866,this['_scene']['addObject'](_0x5c1866,J['TEXT_RANGE_LAYER_INDEX']),this[_0x74d374(0x40c)]=!0x1;}[_0x24e421(0x266)](){const _0x26677f=_0x24e421,_0x525583=this[_0x26677f(0x370)][_0x26677f(0x3fa)]['subscribeEvent'](()=>{const _0x937dae=_0x26677f;this[_0x937dae(0x40c)]=!0x0;}),_0x59b5ae=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x47668f=_0x26677f;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x47668f(0x3a0)]=setTimeout(()=>{const _0x30b5df=_0x47668f;this[_0x30b5df(0x40c)]=!0x1;},0x7d0);});return()=>{const _0x52d6ac=_0x26677f;_0x525583[_0x52d6ac(0x202)](),_0x59b5ae[_0x52d6ac(0x202)]();};}[_0x24e421(0x1c6)](_0x1d386a,_0x58ccf7,_0x50cb58,_0x3f2ef7){const _0x3b3196=_0x24e421,_0x4472a3=new a[(_0x3b3196(0x58d))](_0x1d386a)[_0x3b3196(0x37b)](0.2)['toRgbString'](),_0x4ade4b=new Y[(_0x3b3196(0x63a))](Ir+a[_0x3b3196(0x667)]['generateRandomId'](we),{'pointsGroup':_0x58ccf7,'fill':_0x4472a3||Y[_0x3b3196(0x5b8)](a[_0x3b3196(0x263)][_0x3b3196(0x605)],0.2),'left':_0x50cb58,'top':_0x3f2ef7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3b3196(0x3e3)]['push'](_0x4ade4b),this['_scene'][_0x3b3196(0x615)](_0x4ade4b,J[_0x3b3196(0x5b1)]);}[_0x24e421(0x377)](_0x418ff8,_0x48102a,_0x26f7da,_0x1e0143){const _0x2ea935=_0x24e421,_0xcaca6=new a[(_0x2ea935(0x58d))](_0x418ff8)[_0x2ea935(0x37b)](0.2)['toRgbString'](),_0x476699=new Y[(_0x2ea935(0x63a))](Cr+a[_0x2ea935(0x667)][_0x2ea935(0x455)](we),{'pointsGroup':_0x48102a,'fill':_0xcaca6||Y[_0x2ea935(0x5b8)](a[_0x2ea935(0x263)]['black'],0.2),'left':_0x26f7da,'top':_0x1e0143,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2ea935(0x3e3)]['push'](_0x476699),this[_0x2ea935(0x2a9)]['addObject'](_0x476699,J[_0x2ea935(0x5b1)]);}[_0x24e421(0x28e)](_0xb62baf){const _0x44339f=_0xb62baf[0x0],_0x16f049=_0x44339f[0x0],_0x4c8e2c=_0x44339f[0x2],{x:_0x3459b6,y:_0x50b582}=_0x16f049,{x:_0x2bab89,y:_0x51ff61}=_0x4c8e2c;return{'left':_0x3459b6,'top':_0x50b582,'width':_0x2bab89-_0x3459b6,'height':_0x51ff61-_0x50b582};}['_getScale'](){const _0x1f2eb2=_0x24e421,{scaleX:_0x3ef808,scaleY:_0xb640e0}=this[_0x1f2eb2(0x2a9)][_0x1f2eb2(0x640)]();return Math[_0x1f2eb2(0x36b)](_0x3ef808,_0xb640e0);}}var Rr=Object[_0x24e421(0x5bd)],Or=Object[_0x24e421(0x221)],yr=(_0x39eadd,_0x48a7ac,_0x51b0f3,_0x51eb72)=>{const _0x438cf2=_0x24e421;for(var _0x2c64de=_0x51eb72>0x1?void 0x0:_0x51eb72?Or(_0x48a7ac,_0x51b0f3):_0x48a7ac,_0x478f9f=_0x39eadd[_0x438cf2(0x3c9)]-0x1,_0x53ba05;_0x478f9f>=0x0;_0x478f9f--)(_0x53ba05=_0x39eadd[_0x478f9f])&&(_0x2c64de=(_0x51eb72?_0x53ba05(_0x48a7ac,_0x51b0f3,_0x2c64de):_0x53ba05(_0x2c64de))||_0x2c64de);return _0x51eb72&&_0x2c64de&&Rr(_0x48a7ac,_0x51b0f3,_0x2c64de),_0x2c64de;},je=(_0x151760,_0x1ac2b7)=>(_0x3cf510,_0x5b7089)=>_0x1ac2b7(_0x3cf510,_0x5b7089,_0x151760);let Rt=class extends a[_0x24e421(0x444)]{constructor(_0x4dffd6,_0xae2c04,_0x540648,_0x469928,_0x4e12ac){const _0x459e10=_0x24e421;super(),I(this,_0x459e10(0x416),[]),I(this,_0x459e10(0x330),[]),(this['_context']=_0x4dffd6,this[_0x459e10(0x1ea)]=_0xae2c04,this[_0x459e10(0x535)]=_0x540648,this[_0x459e10(0x3c0)]=_0x469928,this[_0x459e10(0x5ad)]=_0x4e12ac,this['_init']());}['_init'](){const _0x1c9b2c=_0x24e421,_0x4a0fe9=this[_0x1c9b2c(0x363)][_0x1c9b2c(0x359)],_0x56b894=this[_0x1c9b2c(0x1ea)];this[_0x1c9b2c(0x244)](N[_0x1c9b2c(0x516)]([this[_0x1c9b2c(0x535)][_0x1c9b2c(0x4ac)](_0x4a0fe9),this['_themeService'][_0x1c9b2c(0x335)]])[_0x1c9b2c(0x551)](V['map'](([_0x4af078,_0x285ef1])=>({'skeleton':_0x56b894['getSkeleton'](),'cursors':[..._0x4af078['values']()][_0x1c9b2c(0x404)](_0x354468=>({..._0x354468,'color':_0x285ef1[_0x354468[_0x1c9b2c(0x272)]]}))})))[_0x1c9b2c(0x4d3)](_0x55f1c9=>{const _0x3660ec=_0x1c9b2c;if(this[_0x3660ec(0x2be)](),_0x55f1c9){const {skeleton:_0x5a670,cursors:_0x5db7a4}=_0x55f1c9;this[_0x3660ec(0x311)](_0x5a670,_0x5db7a4);}})),this[_0x1c9b2c(0x2c4)](),this[_0x1c9b2c(0x4de)]();}[_0x24e421(0x311)](_0x5e0916,_0x46cf95){const _0x1087aa=_0x24e421,{scene:_0xcc36a0,mainComponent:_0x47d61e}=this['_context'],_0x4179e1=_0x46cf95['map'](_0x20c0b3=>new zt(_0x20c0b3,_0xcc36a0,_0x5e0916,_0x47d61e));this['_cursorShapes']=_0x4179e1,this[_0x1087aa(0x330)]=_0x46cf95;}[_0x24e421(0x4ce)](){const _0xb7bef3=_0x24e421;this['_removeCollabCursors']();const {scene:_0x46df8c,mainComponent:_0xe2b79}=this[_0xb7bef3(0x363)],_0x4423cd=this[_0xb7bef3(0x1ea)][_0xb7bef3(0x43f)](),_0xf6c1ea=this['_cursors'][_0xb7bef3(0x49a)](_0x37e10b=>new zt(_0x37e10b,_0x46df8c,_0x4423cd,_0xe2b79));this[_0xb7bef3(0x416)]=_0xf6c1ea;}[_0x24e421(0x2be)](){const _0x4985ed=_0x24e421;this[_0x4985ed(0x416)][_0x4985ed(0x5d1)](_0x26bc80=>_0x26bc80[_0x4985ed(0x4cc)]()),this['_cursorShapes']=[];}[_0x24e421(0x4de)](){const _0x17b0f5=_0x24e421,_0x3f091d=[J['SetDocZoomRatioOperation']['id']];this[_0x17b0f5(0x244)](this['_commandService'][_0x17b0f5(0x268)](_0x5b099c=>{const _0x376c67=_0x17b0f5;_0x3f091d[_0x376c67(0x1da)](_0x5b099c['id'])&&_0x5b099c[_0x376c67(0x245)][_0x376c67(0x359)]===this['_context'][_0x376c67(0x359)]&&this[_0x376c67(0x4ce)]();}));}[_0x24e421(0x2c4)](){const _0x4bd280=_0x24e421;this[_0x4bd280(0x244)](a[_0x4bd280(0x3a7)](this[_0x4bd280(0x363)]['engine'][_0x4bd280(0x655)])[_0x4bd280(0x551)](V[_0x4bd280(0x3df)](_0x3ab880=>_0x3ab880[_0x4bd280(0x408)]===Y['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x4bd280(0x431)]),V[_0x4bd280(0x5b5)](0x10))[_0x4bd280(0x4d3)](()=>{const _0x5ae47e=_0x4bd280;this[_0x5ae47e(0x4ce)]();}));}};Rt=yr([je(0x1,a['Inject'](Ie[_0x24e421(0x522)])),je(0x2,a['Inject'](ye)),je(0x3,a[_0x24e421(0x2b1)]),je(0x4,a[_0x24e421(0x52f)](a[_0x24e421(0x3da)]))],Rt);const Dr=0x1,Pr=1.5;class Mi extends Y[_0x24e421(0x405)]{constructor(_0x21dd30,_0x41e4e1){const _0x1d070d=_0x24e421;super(_0x21dd30,_0x41e4e1),I(this,_0x1d070d(0x378)),I(this,_0x1d070d(0x1d1),!0x1),I(this,_0x1d070d(0x3d4)),I(this,_0x1d070d(0x4ef),''),I(this,_0x1d070d(0x579),_0x1d070d(0x1ff)),I(this,_0x1d070d(0x5e9)),(_0x41e4e1&&this['setShapeProps'](_0x41e4e1),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x1d070d(0x657)]({'hovered':!0x0})),this[_0x1d070d(0x46f)][_0x1d070d(0x589)](()=>this[_0x1d070d(0x657)]({'hovered':!0x1})));}['setShapeProps'](_0x10b217){const _0x38e036=_0x24e421;var _0x2f12ff,_0x59aa1e,_0x4aea5b,_0x1b1f08,_0x14a334,_0x23b48f;this['_color']=(_0x2f12ff=_0x10b217[_0x38e036(0x272)])!=null?_0x2f12ff:this[_0x38e036(0x378)],this[_0x38e036(0x1d1)]=(_0x59aa1e=_0x10b217[_0x38e036(0x1dc)])!=null?_0x59aa1e:this[_0x38e036(0x1d1)],this[_0x38e036(0x3d4)]=(_0x4aea5b=_0x10b217[_0x38e036(0x40b)])!=null?_0x4aea5b:this[_0x38e036(0x3d4)],this[_0x38e036(0x4ef)]=(_0x1b1f08=_0x10b217[_0x38e036(0x57f)])!=null?_0x1b1f08:this[_0x38e036(0x4ef)],this[_0x38e036(0x579)]=(_0x14a334=_0x10b217[_0x38e036(0x2fd)])!=null?_0x14a334:this[_0x38e036(0x579)],this[_0x38e036(0x5e9)]=(_0x23b48f=_0x10b217[_0x38e036(0x4c8)])!=null?_0x23b48f:this[_0x38e036(0x5e9)],this[_0x38e036(0x664)]({'width':_0x10b217[_0x38e036(0x2ea)],'height':_0x10b217[_0x38e036(0x5b9)]});}[_0x24e421(0x34a)](_0x1adbe4){const _0x2a697c=_0x24e421,{row:_0x321451,column:_0xd31f63}=_0x1adbe4;if(_0x321451>=this[_0x2a697c(0x3d4)]['startRow']&&_0x321451<=this[_0x2a697c(0x3d4)][_0x2a697c(0x28c)]&&_0xd31f63>=this[_0x2a697c(0x3d4)]['startColumn']&&_0xd31f63<=this[_0x2a697c(0x3d4)][_0x2a697c(0x2ef)]){this[_0x2a697c(0x657)]({'hovered':!0x0});return;}this[_0x2a697c(0x657)]({'hovered':!0x1});}[_0x24e421(0x63d)](_0x3d8de6){return!0x1;}[_0x24e421(0x23c)](_0x51fc45){const _0x3decf1=_0x24e421;Y[_0x3decf1(0x4df)][_0x3decf1(0x5aa)](_0x51fc45,{'width':this['width'],'height':this[_0x3decf1(0x5b9)],'strokeWidth':Pr,'stroke':this[_0x3decf1(0x378)],'evented':!0x1,'fill':this[_0x3decf1(0x5e9)]}),this[_0x3decf1(0x1d1)]&&(_0x51fc45[_0x3decf1(0x27d)](),_0x51fc45[_0x3decf1(0x334)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x3decf1(0x29d)?0x0:-xe),ct[_0x3decf1(0x5aa)](_0x51fc45,{'text':this[_0x3decf1(0x4ef)],'color':this[_0x3decf1(0x378)]}),_0x51fc45['restore']());}}var wr=Object['defineProperty'],Ur=Object[_0x24e421(0x221)],Mr=(_0x54ce7e,_0xe0a4bf,_0x146351,_0x3b4153)=>{for(var _0xda89fb=_0x3b4153>0x1?void 0x0:_0x3b4153?Ur(_0xe0a4bf,_0x146351):_0xe0a4bf,_0x1d0868=_0x54ce7e['length']-0x1,_0x176fc8;_0x1d0868>=0x0;_0x1d0868--)(_0x176fc8=_0x54ce7e[_0x1d0868])&&(_0xda89fb=(_0x3b4153?_0x176fc8(_0xe0a4bf,_0x146351,_0xda89fb):_0x176fc8(_0xda89fb))||_0xda89fb);return _0x3b4153&&_0xda89fb&&wr(_0xe0a4bf,_0x146351,_0xda89fb),_0xda89fb;},mt=(_0x96ecb,_0x4ee0c0)=>(_0x2cbb08,_0x4fe249)=>_0x4ee0c0(_0x2cbb08,_0x4fe249,_0x96ecb);const Nr=0x1389;let Ot=class extends a[_0x24e421(0x444)]{constructor(_0x5ae953,_0xcca509,_0x3952f6,_0x1428fc){const _0x524d62=_0x24e421;super(),I(this,_0x524d62(0x330),new Set()),I(this,_0x524d62(0x5bf),null),(this[_0x524d62(0x363)]=_0x5ae953,this['_sheetSkeletonManagerService']=_0xcca509,this[_0x524d62(0x535)]=_0x3952f6,this['_themeService']=_0x1428fc,this[_0x524d62(0x541)]());}[_0x24e421(0x541)](){const _0x49b6e5=_0x24e421;this[_0x49b6e5(0x301)]['currentSkeleton$'][_0x49b6e5(0x551)](V[_0x49b6e5(0x201)](this[_0x49b6e5(0x362)]),V['switchMap'](_0x59eb1a=>{const _0x88b915=_0x49b6e5;if(_0x59eb1a){const _0x653a61=_0x59eb1a[_0x88b915(0x65a)];return N[_0x88b915(0x516)](this['_collabCursorController'][_0x88b915(0x4ac)](this['_context']['unitId']),this[_0x88b915(0x5ad)][_0x88b915(0x335)])[_0x88b915(0x551)](V[_0x88b915(0x49a)](([_0x229754,_0x1844aa])=>{const _0x212c68=_0x88b915,_0x455f87=new Map();return _0x229754[_0x212c68(0x5d1)]((_0x179fc9,_0x339f67)=>{const _0x2c0e41=_0x212c68;if(_0x179fc9['sheetID']===_0x653a61){const _0x47b42e={..._0x179fc9};_0x47b42e[_0x2c0e41(0x272)]=_0x1844aa[_0x179fc9['color']],_0x455f87[_0x2c0e41(0x44a)](_0x339f67,_0x47b42e);}}),{'skeleton':_0x59eb1a,'cursors':_0x455f87};}));}return N['of']({'skeleton':null,'cursors':new Map()});}))[_0x49b6e5(0x4d3)](({skeleton:_0x34962a,cursors:_0x5cec1b})=>{const _0x3fad6c=_0x49b6e5;this[_0x3fad6c(0x2be)](),_0x34962a&&this[_0x3fad6c(0x311)](_0x34962a,_0x5cec1b);}),this['_sheetSkeletonManagerService'][_0x49b6e5(0x436)][_0x49b6e5(0x4d3)](_0x2eb510=>{const _0x158d64=_0x49b6e5;if(_0x2eb510==null)return;const {skeleton:_0x2063e2}=_0x2eb510,{scene:_0x2a759a}=this['_context'];_0x2a759a[_0x158d64(0x4a4)][_0x158d64(0x589)](a[_0x158d64(0x261)](_0x1d71b6=>{const _0x2b31e0=_0x158d64;var _0x49234b,_0x596946;const {offsetX:_0x353592,offsetY:_0x43933e}=_0x1d71b6,{x:_0xf37fdc,y:_0x4fcf24}=_0x2a759a[_0x2b31e0(0x2b6)](Y['Vector2']['FromArray']([_0x353592,_0x43933e])),{scaleX:_0x1589e7,scaleY:_0x38201f}=_0x2a759a[_0x2b31e0(0x640)](),_0x5612c0=_0x2a759a['getViewport'](Y[_0x2b31e0(0x5d6)][_0x2b31e0(0x2b4)]),_0x28e2ee=_0x2a759a[_0x2b31e0(0x2e7)](Y['Vector2'][_0x2b31e0(0x275)]([_0xf37fdc,_0x4fcf24]),_0x5612c0),_0x5a3ade=_0x2063e2[_0x2b31e0(0x4fb)](_0x353592,_0x43933e,_0x1589e7,_0x38201f,_0x28e2ee);((_0x49234b=this[_0x2b31e0(0x5bf)])==null?void 0x0:_0x49234b[_0x2b31e0(0x604)])===_0x5a3ade[_0x2b31e0(0x604)]&&((_0x596946=this['_lastPointer'])==null?void 0x0:_0x596946['row'])===_0x5a3ade['row']||this['_cursors'][_0x2b31e0(0x5d1)](_0x46ffbb=>{const _0x249ad2=_0x2b31e0;_0x46ffbb[_0x249ad2(0x34a)](_0x5a3ade);});},0x64));});}[_0x24e421(0x311)](_0x7d3e33,_0x3daf5b){const _0xbf2763=_0x24e421;var _0x576a91;const _0x1f5ff3=(_0x576a91=this[_0xbf2763(0x301)][_0xbf2763(0x542)]())==null?void 0x0:_0x576a91[_0xbf2763(0x239)];if(!_0x1f5ff3)return;const _0x4f0ae1=this['_getSheetObject']();if(!_0x4f0ae1)return;this[_0xbf2763(0x330)][_0xbf2763(0x5d1)](_0x4176ed=>{_0x4176ed['makeDirty']();});const {scene:_0x3b2bd2}=_0x4f0ae1,_0x41fe65=Ar(Array['from'](_0x3daf5b[_0xbf2763(0x39d)]()))[_0xbf2763(0x49a)](_0xb1eabb=>{const _0x43cfe3=_0xbf2763,{color:_0x89c11c,range:_0x59d09c,name:_0x5d2969,selection:_0x786602,sheetID:_0x3b7272}=_0xb1eabb,{startColumn:_0x3c19c4,startRow:_0x58f7c4,endColumn:_0x1aa448,endRow:_0x101fed}=_0x59d09c,_0x55fd48=Le['getCoordByCell'](_0x58f7c4,_0x3c19c4,_0x3b2bd2,_0x1f5ff3),_0x32db15=Le[_0x43cfe3(0x287)](_0x101fed,_0x1aa448,_0x3b2bd2,_0x1f5ff3),{columnHeaderHeightAndMarginTop:_0x312ca3}=_0x1f5ff3,{startX:_0x2eaa38,startY:_0x19e5f4}=_0x55fd48,{endX:_0x3cf53e,endY:_0x3c3588}=_0x32db15,_0x5f3e40=_0x3cf53e-_0x2eaa38,_0x3e57e1=_0x3c3588-_0x19e5f4,_0x3b6d40={'labelPosition':_0x19e5f4-_0x312ca3>=xe?_0x43cfe3(0x1ff):_0x43cfe3(0x29d),'sheetID':_0x3b7272,'range':_0x59d09c,'color':_0x89c11c,'name':_0x5d2969,'selection':_0x786602,'left':_0x2eaa38,'top':_0x19e5f4,'width':_0x5f3e40,'height':_0x3e57e1,'evented':!0x1,'zIndex':Nr};return new Mi(_0x5d2969,_0x3b6d40);});_0x3b2bd2[_0xbf2763(0x417)](_0x41fe65,Dr),this['_cursors']=new Set(_0x41fe65);}[_0x24e421(0x2be)](){const _0x28ec01=_0x24e421;var _0x293506;(_0x293506=this[_0x28ec01(0x330)])==null||_0x293506['forEach'](_0x4e9b1a=>_0x4e9b1a['dispose']());}[_0x24e421(0x39a)](){const _0x1dba78=_0x24e421;return Le[_0x1dba78(0x673)](this['_context'][_0x1dba78(0x38d)],this[_0x1dba78(0x363)]);}};Ot=Mr([mt(0x1,a['Inject'](Le[_0x24e421(0x492)])),mt(0x2,a[_0x24e421(0x52f)](ye)),mt(0x3,a[_0x24e421(0x52f)](a[_0x24e421(0x3da)]))],Ot);function Ar(_0x5244ef){const _0x480b6e=_0x24e421,_0x29abc6=new Map();return _0x5244ef['forEach'](_0x422149=>{const _0x4de9fd=_0x5e3c;if(_0x29abc6[_0x4de9fd(0x2b5)](_0x422149[_0x4de9fd(0x429)])){const _0x28a356=_0x29abc6[_0x4de9fd(0x1ce)](_0x422149[_0x4de9fd(0x429)]);_0x28a356['name']+=',\x20'+_0x422149[_0x4de9fd(0x57f)];}else _0x29abc6[_0x4de9fd(0x44a)](_0x422149[_0x4de9fd(0x429)],_0x422149);}),Array[_0x480b6e(0x48a)](_0x29abc6[_0x480b6e(0x39d)]());}var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x51e3c2){const _0x101547=_0x24e421;return _0x51e3c2&&_0x51e3c2[_0x101547(0x441)]&&Object['prototype'][_0x101547(0x1bb)][_0x101547(0x546)](_0x51e3c2,_0x101547(0x1d8))?_0x51e3c2[_0x101547(0x1d8)]:_0x51e3c2;}var It={'exports':{}},Ue={},Xt;function Lr(){const _0x525872=_0x24e421;if(Xt)return Ue;Xt=0x1;var _0x570ab8=oe,_0x349c6b=Symbol[_0x525872(0x371)](_0x525872(0x2eb)),_0x2996f9=Symbol[_0x525872(0x371)](_0x525872(0x2bb)),_0x4d716c=Object[_0x525872(0x367)][_0x525872(0x1bb)],_0x5234ff=_0x570ab8['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x525872(0x648)],_0x28e86e={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x5df6d1(_0x43a214,_0x22a6e3,_0x35d5a4){const _0x3fefe9=_0x525872;var _0x584aa0,_0x2bd8cd={},_0x1786d7=null,_0x467a7b=null;_0x35d5a4!==void 0x0&&(_0x1786d7=''+_0x35d5a4),_0x22a6e3[_0x3fefe9(0x5ab)]!==void 0x0&&(_0x1786d7=''+_0x22a6e3['key']),_0x22a6e3[_0x3fefe9(0x279)]!==void 0x0&&(_0x467a7b=_0x22a6e3[_0x3fefe9(0x279)]);for(_0x584aa0 in _0x22a6e3)_0x4d716c[_0x3fefe9(0x546)](_0x22a6e3,_0x584aa0)&&!_0x28e86e[_0x3fefe9(0x1bb)](_0x584aa0)&&(_0x2bd8cd[_0x584aa0]=_0x22a6e3[_0x584aa0]);if(_0x43a214&&_0x43a214['defaultProps']){for(_0x584aa0 in(_0x22a6e3=_0x43a214[_0x3fefe9(0x68a)],_0x22a6e3))_0x2bd8cd[_0x584aa0]===void 0x0&&(_0x2bd8cd[_0x584aa0]=_0x22a6e3[_0x584aa0]);}return{'$$typeof':_0x349c6b,'type':_0x43a214,'key':_0x1786d7,'ref':_0x467a7b,'props':_0x2bd8cd,'_owner':_0x5234ff[_0x3fefe9(0x3b7)]};}return Ue['Fragment']=_0x2996f9,Ue[_0x525872(0x284)]=_0x5df6d1,Ue[_0x525872(0x530)]=_0x5df6d1,Ue;}var Jt;function xr(){const _0x583a0f=_0x24e421;return Jt||(Jt=0x1,It['exports']=Lr()),It[_0x583a0f(0x432)];}var me=xr(),Q=function(){const _0xa43bb7=_0x24e421;return Q=Object['assign']||function(_0x2cc223){const _0x507cf0=_0x5e3c;for(var _0x3490a4,_0x122ad9=0x1,_0x2056cd=arguments[_0x507cf0(0x3c9)];_0x122ad9<_0x2056cd;_0x122ad9++){_0x3490a4=arguments[_0x122ad9];for(var _0x48ec24 in _0x3490a4)Object[_0x507cf0(0x367)]['hasOwnProperty'][_0x507cf0(0x546)](_0x3490a4,_0x48ec24)&&(_0x2cc223[_0x48ec24]=_0x3490a4[_0x48ec24]);}return _0x2cc223;},Q[_0xa43bb7(0x463)](this,arguments);},$r=function(_0x25d8ea,_0x531851){const _0x3c49af=_0x24e421;var _0x54e7a2={};for(var _0x4a75a7 in _0x25d8ea)Object['prototype'][_0x3c49af(0x1bb)][_0x3c49af(0x546)](_0x25d8ea,_0x4a75a7)&&_0x531851['indexOf'](_0x4a75a7)<0x0&&(_0x54e7a2[_0x4a75a7]=_0x25d8ea[_0x4a75a7]);if(_0x25d8ea!=null&&typeof Object[_0x3c49af(0x63e)]==_0x3c49af(0x2e0)){for(var _0x532cfc=0x0,_0x4a75a7=Object['getOwnPropertySymbols'](_0x25d8ea);_0x532cfc<_0x4a75a7[_0x3c49af(0x3c9)];_0x532cfc++)_0x531851[_0x3c49af(0x653)](_0x4a75a7[_0x532cfc])<0x0&&Object[_0x3c49af(0x367)]['propertyIsEnumerable'][_0x3c49af(0x546)](_0x25d8ea,_0x4a75a7[_0x532cfc])&&(_0x54e7a2[_0x4a75a7[_0x532cfc]]=_0x25d8ea[_0x4a75a7[_0x532cfc]]);}return _0x54e7a2;},At=oe['forwardRef'](function(_0x1479e0,_0x484550){const _0x3f44bd=_0x24e421;var _0x40239c=_0x1479e0[_0x3f44bd(0x1e7)],_0x5ed80c=_0x1479e0['id'],_0x5a4b1b=_0x1479e0[_0x3f44bd(0x629)],_0x2e1ef6=_0x1479e0[_0x3f44bd(0x3a1)],_0x3fb642=$r(_0x1479e0,['icon','id',_0x3f44bd(0x629),_0x3f44bd(0x3a1)]),_0x488982=_0x3f44bd(0x4e3)[_0x3f44bd(0x437)](_0x5ed80c,'\x20')['concat'](_0x5a4b1b||'')[_0x3f44bd(0x670)](),_0x1ca162=oe['useRef']('_'[_0x3f44bd(0x437)](Br()));return Ni(_0x40239c,''[_0x3f44bd(0x437)](_0x5ed80c),{'defIds':_0x40239c[_0x3f44bd(0x27a)],'idSuffix':_0x1ca162[_0x3f44bd(0x3b7)]},Q({'ref':_0x484550,'className':_0x488982},_0x3fb642),_0x2e1ef6);});function Ni(_0x2fb140,_0x2f364d,_0x1bab1f,_0x3dc3d2,_0x2ca56b){const _0x50e01b=_0x24e421;return oe[_0x50e01b(0x445)](_0x2fb140[_0x50e01b(0x5d9)],Q(Q({'key':_0x2f364d},jr(_0x2fb140,_0x1bab1f,_0x2ca56b)),_0x3dc3d2),(Hr(_0x2fb140,_0x1bab1f)['children']||[])[_0x50e01b(0x49a)](function(_0x3a7629,_0x785914){const _0x55e24d=_0x50e01b;return Ni(_0x3a7629,''['concat'](_0x2f364d,'-')[_0x55e24d(0x437)](_0x2fb140['tag'],'-')['concat'](_0x785914),_0x1bab1f,void 0x0,_0x2ca56b);}));}function jr(_0x1f3ef2,_0xd7298e,_0x4bf9af){const _0x48d444=_0x24e421;var _0x706179=Q({},_0x1f3ef2['attrs']);_0x4bf9af!=null&&_0x4bf9af[_0x48d444(0x4e7)]&&_0x706179[_0x48d444(0x23d)]===_0x48d444(0x4e7)&&(_0x706179[_0x48d444(0x23d)]=_0x4bf9af['colorChannel1']);var _0x487aa3=_0xd7298e[_0x48d444(0x27a)];return!_0x487aa3||_0x487aa3[_0x48d444(0x3c9)]===0x0||(_0x1f3ef2[_0x48d444(0x5d9)]===_0x48d444(0x42e)&&_0x706179[_0x48d444(0x3ae)]&&(_0x706179[_0x48d444(0x3ae)]=_0x706179[_0x48d444(0x3ae)]+_0xd7298e[_0x48d444(0x5c5)]),Object[_0x48d444(0x506)](_0x706179)[_0x48d444(0x5d1)](function(_0x4ebb65){const _0x2f8cbe=_0x48d444;var _0x3029f4=_0x4ebb65[0x0],_0x3dc269=_0x4ebb65[0x1];typeof _0x3dc269=='string'&&(_0x706179[_0x3029f4]=_0x3dc269[_0x2f8cbe(0x304)](/url\(#(.*)\)/,_0x2f8cbe(0x5bb)[_0x2f8cbe(0x437)](_0xd7298e[_0x2f8cbe(0x5c5)],')')));})),_0x706179;}function Hr(_0x3eff3a,_0x27fbd5){const _0x5cd1=_0x24e421;var _0x3cfb46,_0x51cb65=_0x27fbd5[_0x5cd1(0x27a)];return!_0x51cb65||_0x51cb65[_0x5cd1(0x3c9)]===0x0?_0x3eff3a:_0x3eff3a[_0x5cd1(0x5d9)]===_0x5cd1(0x683)&&(!((_0x3cfb46=_0x3eff3a[_0x5cd1(0x628)])===null||_0x3cfb46===void 0x0)&&_0x3cfb46['length'])?Q(Q({},_0x3eff3a),{'children':_0x3eff3a['children'][_0x5cd1(0x49a)](function(_0x35494f){const _0x5664d1=_0x5cd1;return typeof _0x35494f[_0x5664d1(0x4fe)]['id']=='string'&&_0x51cb65&&_0x51cb65[_0x5664d1(0x653)](_0x35494f['attrs']['id'])>-0x1?Q(Q({},_0x35494f),{'attrs':Q(Q({},_0x35494f[_0x5664d1(0x4fe)]),{'id':_0x35494f[_0x5664d1(0x4fe)]['id']+_0x27fbd5['idSuffix']})}):_0x35494f;})}):_0x3eff3a;}function Br(){const _0x5de03b=_0x24e421;return Math['random']()[_0x5de03b(0x347)](0x24)[_0x5de03b(0x2e4)](0x2,0x8);}At['displayName']=_0x24e421(0x49d);var kr={'tag':'svg','attrs':{'fill':_0x24e421(0x51e),'viewBox':'0\x200\x2016\x2016','width':_0x24e421(0x267),'height':_0x24e421(0x267)},'children':[{'tag':'g','attrs':{'clipPath':_0x24e421(0x2ae)},'children':[{'tag':_0x24e421(0x55e),'attrs':{'stroke':_0x24e421(0x418),'d':_0x24e421(0x41e),'strokeLinecap':_0x24e421(0x223),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x24e421(0x53f),'attrs':{'id':_0x24e421(0x48b)},'children':[{'tag':'path','attrs':{'fill':_0x24e421(0x488),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x24e421(0x48b)]},Ai=oe[_0x24e421(0x638)](function(_0x2da3e2,_0x5e656c){const _0x58e524=_0x24e421;return oe[_0x58e524(0x445)](At,Object[_0x58e524(0x587)]({},_0x2da3e2,{'id':'off-line-single','ref':_0x5e656c,'icon':kr}));});Ai['displayName']=_0x24e421(0x60e);var Wr={'tag':_0x24e421(0x395),'attrs':{'fill':'none','viewBox':_0x24e421(0x555),'width':_0x24e421(0x267),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x24e421(0x467)},'children':[{'tag':_0x24e421(0x55e),'attrs':{'stroke':_0x24e421(0x418),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x24e421(0x223),'strokeLinejoin':_0x24e421(0x223),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x24e421(0x53f),'attrs':{'id':_0x24e421(0x56c)},'children':[{'tag':_0x24e421(0x55e),'attrs':{'fill':_0x24e421(0x488),'d':_0x24e421(0x2c1),'transform':_0x24e421(0x1de)}}]}]}],'defIds':[_0x24e421(0x56c)]},Li=oe[_0x24e421(0x638)](function(_0x374460,_0x1a6443){const _0x1bae15=_0x24e421;return oe[_0x1bae15(0x445)](At,Object[_0x1bae15(0x587)]({},_0x374460,{'id':_0x1bae15(0x322),'ref':_0x1a6443,'icon':Wr}));});Li['displayName']=_0x24e421(0x5ac);function xi(_0x1a6b9e){const _0x1855a6=_0x24e421;var _0x7fa473,_0x3a0b55,_0x2b49f4='';if(typeof _0x1a6b9e==_0x1855a6(0x64c)||typeof _0x1a6b9e==_0x1855a6(0x226))_0x2b49f4+=_0x1a6b9e;else{if(typeof _0x1a6b9e==_0x1855a6(0x67e)){if(Array[_0x1855a6(0x357)](_0x1a6b9e)){var _0x50a6d2=_0x1a6b9e['length'];for(_0x7fa473=0x0;_0x7fa473<_0x50a6d2;_0x7fa473++)_0x1a6b9e[_0x7fa473]&&(_0x3a0b55=xi(_0x1a6b9e[_0x7fa473]))&&(_0x2b49f4&&(_0x2b49f4+='\x20'),_0x2b49f4+=_0x3a0b55);}else{for(_0x3a0b55 in _0x1a6b9e)_0x1a6b9e[_0x3a0b55]&&(_0x2b49f4&&(_0x2b49f4+='\x20'),_0x2b49f4+=_0x3a0b55);}}}return _0x2b49f4;}function Fr(){const _0x23c9b5=_0x24e421;for(var _0x3344ee,_0xd87702,_0x670cab=0x0,_0x56375c='',_0x42f1d7=arguments[_0x23c9b5(0x3c9)];_0x670cab<_0x42f1d7;_0x670cab++)(_0x3344ee=arguments[_0x670cab])&&(_0xd87702=xi(_0x3344ee))&&(_0x56375c&&(_0x56375c+='\x20'),_0x56375c+=_0xd87702);return _0x56375c;}const Vr=_0x24e421(0x672),Gr=_0x24e421(0x26b),Yr='univer-online-status',qr=_0x24e421(0x550),Kr=_0x24e421(0x5c1),Me={'onlineStatusIcon':Vr,'onlineStatusTitle':Gr,'onlineStatus':Yr,'online':qr,'offline':Kr};function zr(_0x2c2f86){const _0x4b44af=_0x24e421;switch(_0x2c2f86){case K[_0x4b44af(0x1cd)]:return'collabStatus.offline';case K[_0x4b44af(0x543)]:return'collabStatus.conflict';case K[_0x4b44af(0x2e3)]:return _0x4b44af(0x4e8);case K[_0x4b44af(0x247)]:return _0x4b44af(0x631);case K[_0x4b44af(0x31c)]:case K[_0x4b44af(0x2f3)]:return _0x4b44af(0x343);case K[_0x4b44af(0x586)]:case K[_0x4b44af(0x689)]:return _0x4b44af(0x423);}}function $i(_0x2e20d1){const _0x44e7da=_0x24e421,{status$:_0x2411cf}=_0x2e20d1,_0x2e827e=ee['useObservable'](_0x2411cf,K['NOT_COLLAB']),_0x8f7b0=a[_0x44e7da(0x2b7)](a['LocaleService']),_0x43f4c3=a[_0x44e7da(0x2b7)](exports[_0x44e7da(0x3b4)]),_0x59e7b3=_0x2e827e!==K[_0x44e7da(0x1cd)],_0x379a45=_0x8f7b0['t'](zr(_0x2e827e)),_0x1968ba=Fr(Me[_0x44e7da(0x548)],{[Me[_0x44e7da(0x660)]]:_0x59e7b3,[Me[_0x44e7da(0x265)]]:!_0x59e7b3}),_0x1bb512=_0x59e7b3?me['jsx'](Li,{}):me[_0x44e7da(0x284)](Ai,{}),_0x5c3c0a=oe[_0x44e7da(0x411)](()=>{_0x59e7b3||_0x43f4c3['reconnect']();},[_0x59e7b3,_0x43f4c3]);function _0x2e93b4(){const _0x39743c=_0x44e7da;return me[_0x39743c(0x530)]('div',{'className':_0x1968ba,'onClick':_0x5c3c0a,'children':[me[_0x39743c(0x284)](_0x39743c(0x654),{'className':Me['onlineStatusIcon'],'children':_0x1bb512}),me[_0x39743c(0x284)](_0x39743c(0x654),{'className':Me[_0x39743c(0x32b)],'children':_0x379a45})]});}return _0x59e7b3?_0x2e93b4():me['jsx'](Ce['Tooltip'],{'title':_0x8f7b0['t'](_0x44e7da(0x5f7)),'children':_0x2e93b4()});}var Xr=Object[_0x24e421(0x5bd)],Jr=Object[_0x24e421(0x221)],Zr=(_0x2c87f0,_0x12e10c,_0x583942,_0x26248b)=>{const _0x12a5c7=_0x24e421;for(var _0x385015=_0x26248b>0x1?void 0x0:_0x26248b?Jr(_0x12e10c,_0x583942):_0x12e10c,_0x24d1c9=_0x2c87f0[_0x12a5c7(0x3c9)]-0x1,_0x39028f;_0x24d1c9>=0x0;_0x24d1c9--)(_0x39028f=_0x2c87f0[_0x24d1c9])&&(_0x385015=(_0x26248b?_0x39028f(_0x12e10c,_0x583942,_0x385015):_0x39028f(_0x385015))||_0x385015);return _0x26248b&&_0x385015&&Xr(_0x12e10c,_0x583942,_0x385015),_0x385015;},He=(_0x3f54c8,_0x89bf36)=>(_0x172837,_0x433849)=>_0x89bf36(_0x172837,_0x433849,_0x3f54c8);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x24e421(0x1fe)]{constructor(_0x53b18b,_0x11f67f,_0x23b6ce,_0x22819b){const _0x502c77=_0x24e421;super(),I(this,'_status$',new N[(_0x502c77(0x43e))](K['NOT_COLLAB'])),(this[_0x502c77(0x49f)]=_0x53b18b,this[_0x502c77(0x392)]=_0x11f67f,this[_0x502c77(0x5f8)]=_0x23b6ce,this[_0x502c77(0x659)]=_0x22819b,this[_0x502c77(0x3e1)](),this['_initStatusListener']());}[_0x24e421(0x5a1)](){const _0x21b902=_0x24e421;this[_0x21b902(0x244)](this[_0x21b902(0x49f)][_0x21b902(0x294)][_0x21b902(0x551)](N[_0x21b902(0x39e)](()=>{const _0x8cc5bb=_0x21b902,_0x18f051=this[_0x8cc5bb(0x49f)][_0x8cc5bb(0x22c)]();return _0x18f051?this[_0x8cc5bb(0x659)][_0x8cc5bb(0x4fa)](_0x18f051['getUnitId']()):N['of'](null);}),N[_0x21b902(0x39e)](_0x33c3bd=>_0x33c3bd?_0x33c3bd[_0x21b902(0x2d8)]:N['of'](K['NOT_COLLAB'])))['subscribe'](_0x16dd7a=>{const _0x292205=_0x21b902;this[_0x292205(0x618)]['next'](_0x16dd7a);}));}['_initStatusComponent'](){const _0x5917b6=_0x24e421;this[_0x5917b6(0x244)](this['_uiPartsService'][_0x5917b6(0x450)](ee['BuiltInUIPart'][_0x5917b6(0x288)],()=>a['connectInjector'](Qr({'status$':this['_status$'][_0x5917b6(0x285)]()}),this['_injector'])));}},exports[_0x24e421(0x533)]=Zr([He(0x0,a['IUniverInstanceService']),He(0x1,ee['IUIPartsService']),He(0x2,a[_0x24e421(0x52f)](a[_0x24e421(0x224)])),He(0x3,a['Inject'](exports[_0x24e421(0x213)]))],exports[_0x24e421(0x533)]);function Qr(_0x410dee){const {status$:_0x27f8cd}=_0x410dee;return function(){const _0x14e8ad=_0x5e3c;return me[_0x14e8ad(0x284)]($i,{'status$':_0x27f8cd});};}const Lt=a[_0x24e421(0x389)](_0x24e421(0x3c6));var es=Object[_0x24e421(0x5bd)],ts=Object[_0x24e421(0x221)],is=(_0x34f689,_0x312f0c,_0x3f7daf,_0x24c1a4)=>{for(var _0x1937fe=_0x24c1a4>0x1?void 0x0:_0x24c1a4?ts(_0x312f0c,_0x3f7daf):_0x312f0c,_0x4bd1b8=_0x34f689['length']-0x1,_0xd6ada4;_0x4bd1b8>=0x0;_0x4bd1b8--)(_0xd6ada4=_0x34f689[_0x4bd1b8])&&(_0x1937fe=(_0x24c1a4?_0xd6ada4(_0x312f0c,_0x3f7daf,_0x1937fe):_0xd6ada4(_0x1937fe))||_0x1937fe);return _0x24c1a4&&_0x1937fe&&es(_0x312f0c,_0x3f7daf,_0x1937fe),_0x1937fe;},Re=(_0xf3e0,_0x73ae05)=>(_0xe32553,_0x1d771a)=>_0x73ae05(_0xe32553,_0x1d771a,_0xf3e0);exports[_0x24e421(0x3bc)]=class extends a[_0x24e421(0x444)]{constructor(_0x4a1ea7,_0x4c381d,_0x15493f,_0x566ca9,_0x1bd2aa,_0x28f26c){const _0x23a4f3=_0x24e421;super(),this['_urlService']=_0x4a1ea7,this[_0x23a4f3(0x383)]=_0x4c381d,this[_0x23a4f3(0x3c0)]=_0x15493f,this[_0x23a4f3(0x2bc)]=_0x566ca9,this[_0x23a4f3(0x64e)]=_0x1bd2aa,_0x28f26c?_0x28f26c==null||_0x28f26c[_0x23a4f3(0x5cf)]()[_0x23a4f3(0x57d)](()=>this[_0x23a4f3(0x541)]()):(this['_logService'][_0x23a4f3(0x525)](_0x23a4f3(0x496),_0x23a4f3(0x595)),this['_init']());}async[_0x24e421(0x541)](){const _0x48acb8=_0x24e421,_0x47d262=this[_0x48acb8(0x400)]['getParam'](_0x48acb8(0x38d)),_0x17b197=this[_0x48acb8(0x400)][_0x48acb8(0x53a)](_0x48acb8(0x408));if(!_0x47d262||!_0x17b197){this[_0x48acb8(0x383)][_0x48acb8(0x525)](_0x48acb8(0x496),_0x48acb8(0x2ff));return;}switch(Number(_0x17b197)){case ie[_0x48acb8(0x4d1)]:{const _0x23cd00=await this[_0x48acb8(0x1f5)](_0x47d262);this['_setupSubUnitSync'](_0x23cd00);break;}case ie['UNIVER_DOC']:{await this['_loadDoc'](_0x47d262);break;}default:{this[_0x48acb8(0x383)]['error'](_0x48acb8(0x496),_0x48acb8(0x24d));break;}}}async['_setupSubUnitSync'](_0xdf5f3){const _0x56bc9f=_0x24e421;await this[_0x56bc9f(0x314)](_0xdf5f3),_0xdf5f3['activeSheet$'][_0x56bc9f(0x551)](N[_0x56bc9f(0x201)](this['dispose$']))[_0x56bc9f(0x4d3)](_0x478b3b=>{_0x478b3b&&this['_updateURLWithCurrentState'](_0x478b3b);}),this[_0x56bc9f(0x400)][_0x56bc9f(0x617)][_0x56bc9f(0x551)](N[_0x56bc9f(0x201)](this[_0x56bc9f(0x362)]))[_0x56bc9f(0x4d3)](()=>this[_0x56bc9f(0x314)](_0xdf5f3));}[_0x24e421(0x52c)](_0x1f23f5,_0x21f08c=!0x1){const _0x31ec8a=_0x24e421,_0x2fa7c1=this['_urlService'][_0x31ec8a(0x53a)](_0x31ec8a(0x4d9));_0x1f23f5['getSheetId']()!==_0x2fa7c1&&this['_urlService'][_0x31ec8a(0x55f)](_0x31ec8a(0x4d9),_0x1f23f5['getSheetId'](),_0x21f08c);}async[_0x24e421(0x314)](_0xca8a8f){const _0x39e786=_0x24e421;var _0x1c1982;const _0x314edd=this['_urlService'][_0x39e786(0x53a)](_0x39e786(0x4d9));if(!_0x314edd||!_0xca8a8f[_0x39e786(0x2ac)](_0x314edd)){const _0xeabea2=_0xca8a8f[_0x39e786(0x4d4)]()[0x0],_0x59ddc5=_0xca8a8f[_0x39e786(0x2ac)](_0xeabea2);if(!_0x59ddc5)return;this[_0x39e786(0x52c)](_0x59ddc5,!0x0),await this['_commandService'][_0x39e786(0x646)](k[_0x39e786(0x46b)]['id'],{'unitId':_0xca8a8f['getUnitId'](),'subUnitId':_0xeabea2});return;}((_0x1c1982=_0xca8a8f[_0x39e786(0x5ff)]())==null?void 0x0:_0x1c1982[_0x39e786(0x490)]())!==_0x314edd&&await this[_0x39e786(0x3c0)][_0x39e786(0x646)](k[_0x39e786(0x46b)]['id'],{'unitId':_0xca8a8f['getUnitId'](),'subUnitId':_0x314edd});}async[_0x24e421(0x1f5)](_0x1ab7a6){const _0x1d0ce0=_0x24e421;let _0x3f542d=0x0;const _0x48177a=await this[_0x1d0ce0(0x2bc)]['loadOfflineData'](_0x1ab7a6);return _0x48177a&&(_0x48177a[_0x1d0ce0(0x47d)]||_0x48177a[_0x1d0ce0(0x64d)]['length']!==0x0)&&(_0x3f542d=_0x48177a[_0x1d0ce0(0x233)]),_0x3f542d===0x0&&this[_0x1d0ce0(0x383)][_0x1d0ce0(0x525)](_0x1d0ce0(0x496),_0x1d0ce0(0x571)),this[_0x1d0ce0(0x64e)][_0x1d0ce0(0x48d)](_0x1ab7a6,_0x3f542d);}async[_0x24e421(0x2ec)](_0x214eef){const _0x3999f9=_0x24e421;let _0x3697d4=0x0;const _0x36a731=await this[_0x3999f9(0x2bc)][_0x3999f9(0x227)](_0x214eef);return _0x36a731&&(_0x36a731[_0x3999f9(0x47d)]||_0x36a731[_0x3999f9(0x64d)][_0x3999f9(0x3c9)]!==0x0)&&(_0x3697d4=_0x36a731[_0x3999f9(0x233)]),_0x3697d4===0x0&&this[_0x3999f9(0x383)]['debug'](_0x3999f9(0x496),_0x3999f9(0x571)),this[_0x3999f9(0x64e)][_0x3999f9(0x1be)](_0x214eef,_0x3697d4);}},exports[_0x24e421(0x3bc)]=is([Re(0x0,Lt),Re(0x1,a[_0x24e421(0x495)]),Re(0x2,a[_0x24e421(0x2b1)]),Re(0x3,a['Inject'](exports[_0x24e421(0x4b2)])),Re(0x4,a[_0x24e421(0x52f)](m[_0x24e421(0x2cf)])),Re(0x5,a[_0x24e421(0x67d)](Yi[_0x24e421(0x48f)]))],exports[_0x24e421(0x3bc)]);var ns=Object[_0x24e421(0x5bd)],rs=Object['getOwnPropertyDescriptor'],ss=(_0x39ce82,_0x218e0e,_0x4cdd5c,_0x356b16)=>{for(var _0x3feff1=_0x356b16>0x1?void 0x0:_0x356b16?rs(_0x218e0e,_0x4cdd5c):_0x218e0e,_0x4043c0=_0x39ce82['length']-0x1,_0xc94006;_0x4043c0>=0x0;_0x4043c0--)(_0xc94006=_0x39ce82[_0x4043c0])&&(_0x3feff1=(_0x356b16?_0xc94006(_0x218e0e,_0x4cdd5c,_0x3feff1):_0xc94006(_0x3feff1))||_0x3feff1);return _0x356b16&&_0x3feff1&&ns(_0x218e0e,_0x4cdd5c,_0x3feff1),_0x3feff1;},Zt=(_0x2f3647,_0x287cf9)=>(_0x11a5ce,_0x63b1b5)=>_0x287cf9(_0x11a5ce,_0x63b1b5,_0x2f3647);const os='DEFAULT_FILE_NAME',as=_0x24e421(0x277);let nt=class extends a[_0x24e421(0x1fe)]{constructor(_0x3a3a02,_0xcca039){const _0x5a159f=_0x24e421;super(),this[_0x5a159f(0x49f)]=_0x3a3a02,this[_0x5a159f(0x5c2)]=_0xcca039,this[_0x5a159f(0x541)]();}[_0x24e421(0x541)](){const _0x2f9613=_0x24e421;this[_0x2f9613(0x244)](this[_0x2f9613(0x49f)][_0x2f9613(0x294)]['subscribe'](()=>{const _0x328826=_0x2f9613;var _0x3e88dc;const _0x2f167e=this[_0x328826(0x49f)][_0x328826(0x22c)]();let _0x2920ca=(_0x3e88dc=this[_0x328826(0x5c2)]['getConfig'](os))!=null?_0x3e88dc:as;_0x2f167e instanceof a[_0x328826(0x3d8)]&&(_0x2920ca=_0x2f167e[_0x328826(0x57f)]),document[_0x328826(0x323)]=_0x2920ca;}));}};nt=ss([Zt(0x0,a['IUniverInstanceService']),Zt(0x1,a['IConfigService'])],nt);var cs=Object[_0x24e421(0x5bd)],ls=Object[_0x24e421(0x221)],hs=(_0x5b5dd5,_0x2119d1,_0x3ef58c,_0x301a0a)=>{for(var _0x2085dc=_0x301a0a>0x1?void 0x0:_0x301a0a?ls(_0x2119d1,_0x3ef58c):_0x2119d1,_0x1fd3f6=_0x5b5dd5['length']-0x1,_0x389672;_0x1fd3f6>=0x0;_0x1fd3f6--)(_0x389672=_0x5b5dd5[_0x1fd3f6])&&(_0x2085dc=(_0x301a0a?_0x389672(_0x2119d1,_0x3ef58c,_0x2085dc):_0x389672(_0x2085dc))||_0x2085dc);return _0x301a0a&&_0x2085dc&&cs(_0x2119d1,_0x3ef58c,_0x2085dc),_0x2085dc;},Ct=(_0x4f0574,_0x2177d5)=>(_0x10bfaa,_0x22df66)=>_0x2177d5(_0x10bfaa,_0x22df66,_0x4f0574);let rt=class{constructor(_0x5ca9df,_0x520c2a,_0x39afa5){const _0x1200e3=_0x24e421;this[_0x1200e3(0x5c2)]=_0x5ca9df,this[_0x1200e3(0x53c)]=_0x520c2a,this[_0x1200e3(0x5ef)]=_0x39afa5,this[_0x1200e3(0x503)]();}[_0x24e421(0x503)](){const _0x555729=_0x24e421;this['_httpService'][_0x555729(0x5f0)]({'priority':0x1,'interceptor':(_0x3aeec9,_0x137306)=>_0x137306(_0x3aeec9)[_0x555729(0x551)](N[_0x555729(0x303)](async _0x1661df=>{const _0x41114b=_0x555729,_0x243356=_0x1661df;if(_0x243356[_0x41114b(0x597)]===0x191&&window[_0x41114b(0x3b0)](this[_0x41114b(0x5ef)]['t'](_0x41114b(0x611)))){const _0x1415bb=window[_0x41114b(0x603)](window[_0x41114b(0x5c9)][_0x41114b(0x41c)]);window[_0x41114b(0x5c9)]['href']=this[_0x41114b(0x625)]()+_0x41114b(0x20d)+_0x1415bb;}return _0x243356;}))});}['_getLoginPath'](){const _0x4d0660=_0x24e421;var _0x1c1078,_0x24f9de;const _0xdb9292=this['_configService']['getConfig'](Ei),_0x5b179c=this[_0x4d0660(0x5c2)][_0x4d0660(0x447)](Z);return(_0x24f9de=(_0x1c1078=_0x5b179c==null?void 0x0:_0x5b179c[_0x4d0660(0x3af)])!=null?_0x1c1078:_0xdb9292)!=null?_0x24f9de:rn;}};rt=hs([Ct(0x0,a[_0x24e421(0x3ba)]),Ct(0x1,a[_0x24e421(0x52f)](z[_0x24e421(0x567)])),Ct(0x2,a[_0x24e421(0x52f)](a[_0x24e421(0x468)]))],rt);var _s=Object['defineProperty'],us=Object['getOwnPropertyDescriptor'],ds=(_0x385d55,_0x326ae5,_0x5a2583,_0x14891c)=>{const _0x5a6bbb=_0x24e421;for(var _0xe03ea4=_0x14891c>0x1?void 0x0:_0x14891c?us(_0x326ae5,_0x5a2583):_0x326ae5,_0x38f280=_0x385d55[_0x5a6bbb(0x3c9)]-0x1,_0x32bda4;_0x38f280>=0x0;_0x38f280--)(_0x32bda4=_0x385d55[_0x38f280])&&(_0xe03ea4=(_0x14891c?_0x32bda4(_0x326ae5,_0x5a2583,_0xe03ea4):_0x32bda4(_0xe03ea4))||_0xe03ea4);return _0x14891c&&_0xe03ea4&&_s(_0x326ae5,_0x5a2583,_0xe03ea4),_0xe03ea4;},Qt=(_0x3c4942,_0x1e952a)=>(_0x47ead6,_0x116088)=>_0x1e952a(_0x47ead6,_0x116088,_0x3c4942);const xt=_0x24e421(0x373),fs=_0x24e421(0x4db);exports[_0x24e421(0x68b)]=class extends a[_0x24e421(0x1fe)]{constructor(_0x1ee9fb,_0x26358c){const _0x4a57eb=_0x24e421;super(),this[_0x4a57eb(0x3b8)]=_0x1ee9fb,this[_0x4a57eb(0x5c2)]=_0x26358c,this[_0x4a57eb(0x5cc)]();}[_0x24e421(0x5cc)](){const _0x22d7c3=_0x24e421,_0x27a0bb=this;this[_0x22d7c3(0x244)](this[_0x22d7c3(0x3b8)][_0x22d7c3(0x5f0)]({'priority':0x3e7,'interceptor':z[_0x22d7c3(0x4a8)]({'isMatch'(_0x529bcb){const _0x414ce9=_0x22d7c3;var _0x19e210;if(_0x529bcb[_0x414ce9(0x5ed)]===_0x414ce9(0x3d7)&&((_0x19e210=_0x529bcb[_0x414ce9(0x2a0)])!=null&&_0x19e210[_0x414ce9(0x328)])){const {objectID:_0x16498f,objectType:_0x4ad59b}=_0x529bcb[_0x414ce9(0x2a0)][_0x414ce9(0x328)]||{};if(!_0x16498f||_0x4ad59b===void 0x0)return!0x1;const _0x410731=_0x27a0bb[_0x414ce9(0x65f)]()+'/'+_0x4ad59b+'/object/'+_0x16498f+_0x414ce9(0x409);if(_0x529bcb[_0x414ce9(0x1d5)]===_0x410731)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xfd811a){const _0x294663=_0x22d7c3;var _0x308e82;return(_0x308e82=_0xfd811a[_0x294663(0x2a0)])==null?void 0x0:_0x308e82['body'];},'mergeParamsToRequest'(_0x2ef6f0,_0x2ce0ad){const _0x17800e=_0x22d7c3,_0x4bce76=_0x27a0bb['_getAPIPrefixPath']()+_0x17800e(0x4b8),_0xfb05e6=_0x2ef6f0['reduce']((_0xf857f3,_0x228fec)=>{const _0x4cc513=_0x17800e,{unitID:_0x28e89f,objectID:_0x39c732,objectType:_0x17026e,actions:_0x2226e7}=_0x228fec;return _0xf857f3[_0x28e89f]||(_0xf857f3[_0x28e89f]={}),_0xf857f3[_0x28e89f][_0x39c732]||(_0xf857f3[_0x28e89f][_0x39c732]={'objectID':_0x39c732,'objectType':_0x17026e,'actions':[]}),_0xf857f3[_0x28e89f][_0x39c732][_0x4cc513(0x2b8)]['push'](..._0x2226e7),_0xf857f3;},{}),_0x9c85dd=[];for(const _0x1b4935 in _0xfb05e6)for(const _0x1bfc28 in _0xfb05e6[_0x1b4935]){const {actions:_0x131d29,objectType:_0x28eab8}=_0xfb05e6[_0x1b4935][_0x1bfc28],_0x3cb6bf=[...new Set(_0x131d29)];_0x9c85dd[_0x17800e(0x2f8)]({'unitID':_0x1b4935,'objectID':_0x1bfc28,'objectType':_0x28eab8,'actions':_0x3cb6bf});}return new z[(_0x17800e(0x29e))](_0x17800e(0x3d7),_0x4bce76,{'headers':_0x2ce0ad[_0x17800e(0x2ab)],'withCredentials':_0x2ce0ad[_0x17800e(0x5e5)],'responseType':_0x2ce0ad[_0x17800e(0x5f3)],'body':{'requests':_0x9c85dd}});}},{'distributeResult'(_0x12ffdb,_0x564de3){const _0x1ac622=_0x22d7c3,{objectActions:_0x3740e7}=_0x12ffdb;return _0x564de3[_0x1ac622(0x49a)](_0x385a2b=>{const _0x62ff34=_0x1ac622,{unitID:_0x42f43c,objectID:_0x5543ee,actions:_0x31528a}=_0x385a2b,_0x431b30=_0x3740e7[_0x62ff34(0x584)](_0x14a08f=>_0x14a08f['unitID']===_0x42f43c&&_0x14a08f[_0x62ff34(0x35d)]===_0x5543ee),_0x216850=_0x31528a['map'](_0xfbc777=>_0x431b30==null?void 0x0:_0x431b30[_0x62ff34(0x2b8)][_0x62ff34(0x584)](_0x5dd787=>_0x5dd787[_0x62ff34(0x259)]===_0xfbc777))[_0x62ff34(0x3df)](_0x5915c4=>!!_0x5915c4);return{'config':_0x385a2b,'result':{'actions':_0x216850,'error':_0x12ffdb['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x82921f=_0x24e421;var _0x3845dd,_0x52a4fe;const _0x405ca2=this[_0x82921f(0x5c2)][_0x82921f(0x447)](xt),_0x56e1f9=this['_configService'][_0x82921f(0x447)](Z);return(_0x52a4fe=(_0x3845dd=_0x56e1f9==null?void 0x0:_0x56e1f9[_0x82921f(0x51f)])!=null?_0x3845dd:_0x405ca2)!=null?_0x52a4fe:fs;}async['create'](_0x3c3fc5){const _0x2ca3a7=_0x24e421,_0x86a2b5=this[_0x2ca3a7(0x65f)]()+'/'+_0x3c3fc5['objectType']+_0x2ca3a7(0x36a);return(await this[_0x2ca3a7(0x3b8)][_0x2ca3a7(0x20c)](_0x86a2b5,{'body':_0x3c3fc5}))[_0x2ca3a7(0x328)][_0x2ca3a7(0x35d)]||'';}async[_0x24e421(0x38a)](_0x4cc5b4){const _0x376b41=_0x24e421,_0xf368a6=this[_0x376b41(0x65f)]()+'/-/object/list';return(await this['_HTTPService'][_0x376b41(0x20c)](_0xf368a6,{'body':_0x4cc5b4}))[_0x376b41(0x328)][_0x376b41(0x297)];}async[_0x24e421(0x5cb)](_0x4af4a6){const _0x5cf8cc=_0x24e421,_0x3d2003=this[_0x5cf8cc(0x65f)]()+'/'+_0x4af4a6['objectType']+_0x5cf8cc(0x216)+_0x4af4a6[_0x5cf8cc(0x35d)];await this[_0x5cf8cc(0x3b8)]['put'](_0x3d2003,{'body':_0x4af4a6});}async[_0x24e421(0x443)](_0xd262df){const _0x2c5655=_0x24e421,_0x438ebd=this['_getAPIPrefixPath']()+'/'+_0xd262df[_0x2c5655(0x2df)]+_0x2c5655(0x216)+_0xd262df[_0x2c5655(0x35d)]+_0x2c5655(0x409);return(await this[_0x2c5655(0x3b8)][_0x2c5655(0x20c)](_0x438ebd,{'body':_0xd262df}))['body'][_0x2c5655(0x2b8)];}async[_0x24e421(0x274)](_0x5694b3){const _0x348357=_0x24e421,_0x3fafaa=this[_0x348357(0x65f)]()+_0x348357(0x4b8);return(await this[_0x348357(0x3b8)][_0x348357(0x20c)](_0x3fafaa,{'body':{'requests':_0x5694b3}}))[_0x348357(0x328)][_0x348357(0x31b)];}async[_0x24e421(0x332)](_0x1d8376){const _0x472a5e=_0x24e421,_0x183c2d=this[_0x472a5e(0x65f)]()+'/'+_0x1d8376[_0x472a5e(0x2df)]+_0x472a5e(0x474),_0x1f57d1=await this[_0x472a5e(0x3b8)][_0x472a5e(0x20c)](_0x183c2d,{'body':_0x1d8376});return{'roles':_0x1f57d1[_0x472a5e(0x328)]['roles'],'actions':_0x1f57d1[_0x472a5e(0x328)][_0x472a5e(0x2b8)]};}async[_0x24e421(0x65c)](_0x49aee5){const _0x40859f=_0x24e421,_0x5e8473=this[_0x40859f(0x65f)]()+_0x40859f(0x208);await this[_0x40859f(0x3b8)][_0x40859f(0x5ae)](_0x5e8473,{'params':{'collaboratorID':_0x49aee5[_0x40859f(0x517)],'objectID':_0x49aee5[_0x40859f(0x35d)],'unitID':_0x49aee5[_0x40859f(0x1cb)]}});}async[_0x24e421(0x2ee)](_0x424a96){const _0x50dc29=_0x24e421,_0x19cc59=this[_0x50dc29(0x65f)]()+_0x50dc29(0x208);await this[_0x50dc29(0x3b8)][_0x50dc29(0x4c6)](_0x19cc59,{'body':_0x424a96});}async['createCollaborator'](_0x1bcfad){const _0x3ca9f5=_0x24e421,_0x306855=this['_getAPIPrefixPath']()+_0x3ca9f5(0x208);await this[_0x3ca9f5(0x3b8)][_0x3ca9f5(0x20c)](_0x306855,{'body':_0x1bcfad});}async['listCollaborators'](_0x1b3db5){const _0x599c3c=_0x24e421,_0x30caed=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x599c3c(0x3b8)][_0x599c3c(0x1ce)](_0x30caed,{'params':{'objectID':_0x1b3db5['objectID'],'unitID':_0x1b3db5[_0x599c3c(0x1cb)]}}))[_0x599c3c(0x328)]['collaborators'];}async[_0x24e421(0x557)](_0xc039cf){const _0x387066=_0x24e421,_0x51a4a4=this[_0x387066(0x65f)]()+'/collaborator';await this[_0x387066(0x3b8)][_0x387066(0x58f)](_0x51a4a4,{'body':_0xc039cf});}},exports[_0x24e421(0x68b)]=ds([Qt(0x0,a[_0x24e421(0x52f)](z['HTTPService'])),Qt(0x1,a[_0x24e421(0x52f)](a[_0x24e421(0x3ba)]))],exports[_0x24e421(0x68b)]);var ke={'exports':{}};function vs(_0xad0bfb){const _0x51d647=_0x24e421;throw new Error(_0x51d647(0x3d3)+_0xad0bfb+_0x51d647(0x4f6));}var We={'exports':{}},Ss=We[_0x24e421(0x432)],ei;function se(){return ei||(ei=0x1,function(_0x4ccf1f,_0x4e2dc9){(function(_0x5c7e46,_0x497a9f){const _0xb46c67=_0x5e3c;_0x4ccf1f[_0xb46c67(0x432)]=_0x497a9f();}(Ss,function(){var _0x9d4200=_0x9d4200||function(_0x387e5e,_0x566bab){const _0x175a4b=_0x5e3c;var _0x6a7ae9;if(typeof window<'u'&&window[_0x175a4b(0x3e7)]&&(_0x6a7ae9=window[_0x175a4b(0x3e7)]),typeof self<'u'&&self[_0x175a4b(0x3e7)]&&(_0x6a7ae9=self['crypto']),typeof globalThis<'u'&&globalThis[_0x175a4b(0x3e7)]&&(_0x6a7ae9=globalThis[_0x175a4b(0x3e7)]),!_0x6a7ae9&&typeof window<'u'&&window[_0x175a4b(0x578)]&&(_0x6a7ae9=window[_0x175a4b(0x578)]),!_0x6a7ae9&&typeof gt<'u'&>[_0x175a4b(0x3e7)]&&(_0x6a7ae9=gt['crypto']),!_0x6a7ae9&&typeof vs=='function')try{_0x6a7ae9=require(_0x175a4b(0x3e7));}catch{}var _0x3afb8e=function(){const _0x3fad1c=_0x175a4b;if(_0x6a7ae9){if(typeof _0x6a7ae9[_0x3fad1c(0x380)]==_0x3fad1c(0x2e0))try{return _0x6a7ae9[_0x3fad1c(0x380)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x6a7ae9[_0x3fad1c(0x2a5)]==_0x3fad1c(0x2e0))try{return _0x6a7ae9['randomBytes'](0x4)[_0x3fad1c(0x212)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x19537b=Object['create']||(function(){function _0x5c2125(){}return function(_0x578499){const _0x258d9a=_0x5e3c;var _0x16f2be;return _0x5c2125['prototype']=_0x578499,_0x16f2be=new _0x5c2125(),_0x5c2125[_0x258d9a(0x367)]=null,_0x16f2be;};}()),_0x2f84c3={},_0x192e63=_0x2f84c3['lib']={},_0x2dec8e=_0x192e63[_0x175a4b(0x2c3)]=(function(){return{'extend':function(_0x4a4829){const _0x35a014=_0x5e3c;var _0x39f288=_0x19537b(this);return _0x4a4829&&_0x39f288[_0x35a014(0x35f)](_0x4a4829),(!_0x39f288[_0x35a014(0x1bb)](_0x35a014(0x503))||this[_0x35a014(0x503)]===_0x39f288[_0x35a014(0x503)])&&(_0x39f288[_0x35a014(0x503)]=function(){const _0x290ac2=_0x35a014;_0x39f288[_0x290ac2(0x4cf)][_0x290ac2(0x503)][_0x290ac2(0x463)](this,arguments);}),_0x39f288[_0x35a014(0x503)][_0x35a014(0x367)]=_0x39f288,_0x39f288[_0x35a014(0x4cf)]=this,_0x39f288;},'create':function(){const _0x1575b2=_0x5e3c;var _0x1822a0=this[_0x1575b2(0x3a1)]();return _0x1822a0['init'][_0x1575b2(0x463)](_0x1822a0,arguments),_0x1822a0;},'init':function(){},'mixIn':function(_0x591b1b){const _0x33b548=_0x5e3c;for(var _0x2f48e2 in _0x591b1b)_0x591b1b[_0x33b548(0x1bb)](_0x2f48e2)&&(this[_0x2f48e2]=_0x591b1b[_0x2f48e2]);_0x591b1b['hasOwnProperty'](_0x33b548(0x347))&&(this['toString']=_0x591b1b[_0x33b548(0x347)]);},'clone':function(){const _0x2e9bc6=_0x5e3c;return this[_0x2e9bc6(0x503)][_0x2e9bc6(0x367)][_0x2e9bc6(0x3a1)](this);}};}()),_0x47c3d2=_0x192e63[_0x175a4b(0x60f)]=_0x2dec8e[_0x175a4b(0x3a1)]({'init':function(_0x4c0c50,_0x33d5ba){const _0x31394a=_0x175a4b;_0x4c0c50=this[_0x31394a(0x62c)]=_0x4c0c50||[],_0x33d5ba!=_0x566bab?this[_0x31394a(0x66f)]=_0x33d5ba:this[_0x31394a(0x66f)]=_0x4c0c50[_0x31394a(0x3c9)]*0x4;},'toString':function(_0x526f8e){const _0x13d252=_0x175a4b;return(_0x526f8e||_0x57ee5f)[_0x13d252(0x3a6)](this);},'concat':function(_0x4043dd){const _0x13583b=_0x175a4b;var _0x4b5103=this[_0x13583b(0x62c)],_0x25f634=_0x4043dd['words'],_0x3b8d44=this[_0x13583b(0x66f)],_0x5cce36=_0x4043dd[_0x13583b(0x66f)];if(this[_0x13583b(0x1d7)](),_0x3b8d44%0x4)for(var _0xa7a5fc=0x0;_0xa7a5fc<_0x5cce36;_0xa7a5fc++){var _0x17784d=_0x25f634[_0xa7a5fc>>>0x2]>>>0x18-_0xa7a5fc%0x4*0x8&0xff;_0x4b5103[_0x3b8d44+_0xa7a5fc>>>0x2]|=_0x17784d<<0x18-(_0x3b8d44+_0xa7a5fc)%0x4*0x8;}else{for(var _0x4bb582=0x0;_0x4bb582<_0x5cce36;_0x4bb582+=0x4)_0x4b5103[_0x3b8d44+_0x4bb582>>>0x2]=_0x25f634[_0x4bb582>>>0x2];}return this[_0x13583b(0x66f)]+=_0x5cce36,this;},'clamp':function(){const _0x56b1e9=_0x175a4b;var _0x3e25d9=this[_0x56b1e9(0x62c)],_0x30e107=this['sigBytes'];_0x3e25d9[_0x30e107>>>0x2]&=0xffffffff<<0x20-_0x30e107%0x4*0x8,_0x3e25d9['length']=_0x387e5e[_0x56b1e9(0x682)](_0x30e107/0x4);},'clone':function(){const _0x84d472=_0x175a4b;var _0x32ddf8=_0x2dec8e[_0x84d472(0x3ec)][_0x84d472(0x546)](this);return _0x32ddf8['words']=this[_0x84d472(0x62c)][_0x84d472(0x406)](0x0),_0x32ddf8;},'random':function(_0x35c29c){const _0x3dd254=_0x175a4b;for(var _0x5556bb=[],_0x23ee45=0x0;_0x23ee45<_0x35c29c;_0x23ee45+=0x4)_0x5556bb[_0x3dd254(0x2f8)](_0x3afb8e());return new _0x47c3d2[(_0x3dd254(0x503))](_0x5556bb,_0x35c29c);}}),_0x130f0a=_0x2f84c3[_0x175a4b(0x1d3)]={},_0x57ee5f=_0x130f0a[_0x175a4b(0x471)]={'stringify':function(_0x31b17c){const _0x1fa3b9=_0x175a4b;for(var _0x2cfa75=_0x31b17c[_0x1fa3b9(0x62c)],_0x5db6df=_0x31b17c[_0x1fa3b9(0x66f)],_0x33d78d=[],_0x7facea=0x0;_0x7facea<_0x5db6df;_0x7facea++){var _0xaf300e=_0x2cfa75[_0x7facea>>>0x2]>>>0x18-_0x7facea%0x4*0x8&0xff;_0x33d78d['push']((_0xaf300e>>>0x4)[_0x1fa3b9(0x347)](0x10)),_0x33d78d[_0x1fa3b9(0x2f8)]((_0xaf300e&0xf)[_0x1fa3b9(0x347)](0x10));}return _0x33d78d[_0x1fa3b9(0x2d7)]('');},'parse':function(_0x196c89){const _0xef8c2=_0x175a4b;for(var _0xd4ac1b=_0x196c89[_0xef8c2(0x3c9)],_0x1eaa98=[],_0x42437a=0x0;_0x42437a<_0xd4ac1b;_0x42437a+=0x2)_0x1eaa98[_0x42437a>>>0x3]|=parseInt(_0x196c89['substr'](_0x42437a,0x2),0x10)<<0x18-_0x42437a%0x8*0x4;return new _0x47c3d2[(_0xef8c2(0x503))](_0x1eaa98,_0xd4ac1b/0x2);}},_0x4f4097=_0x130f0a[_0x175a4b(0x2d9)]={'stringify':function(_0x263606){const _0x5f2d82=_0x175a4b;for(var _0x513da2=_0x263606[_0x5f2d82(0x62c)],_0x543b74=_0x263606['sigBytes'],_0x66b5ab=[],_0x5c2742=0x0;_0x5c2742<_0x543b74;_0x5c2742++){var _0x21e21e=_0x513da2[_0x5c2742>>>0x2]>>>0x18-_0x5c2742%0x4*0x8&0xff;_0x66b5ab[_0x5f2d82(0x2f8)](String[_0x5f2d82(0x24e)](_0x21e21e));}return _0x66b5ab[_0x5f2d82(0x2d7)]('');},'parse':function(_0x2ad9e3){const _0x4ed783=_0x175a4b;for(var _0x52d75c=_0x2ad9e3[_0x4ed783(0x3c9)],_0x3eb1c0=[],_0x9bcaf4=0x0;_0x9bcaf4<_0x52d75c;_0x9bcaf4++)_0x3eb1c0[_0x9bcaf4>>>0x2]|=(_0x2ad9e3[_0x4ed783(0x574)](_0x9bcaf4)&0xff)<<0x18-_0x9bcaf4%0x4*0x8;return new _0x47c3d2['init'](_0x3eb1c0,_0x52d75c);}},_0x5156da=_0x130f0a[_0x175a4b(0x3f9)]={'stringify':function(_0x157088){const _0xba0536=_0x175a4b;try{return decodeURIComponent(escape(_0x4f4097[_0xba0536(0x3a6)](_0x157088)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2b6f63){return _0x4f4097['parse'](unescape(encodeURIComponent(_0x2b6f63)));}},_0x4c6ddc=_0x192e63[_0x175a4b(0x66a)]=_0x2dec8e[_0x175a4b(0x3a1)]({'reset':function(){const _0x1fd6c0=_0x175a4b;this['_data']=new _0x47c3d2[(_0x1fd6c0(0x503))](),this[_0x1fd6c0(0x4f3)]=0x0;},'_append':function(_0x440885){const _0x3a72df=_0x175a4b;typeof _0x440885==_0x3a72df(0x64c)&&(_0x440885=_0x5156da[_0x3a72df(0x1f0)](_0x440885)),this[_0x3a72df(0x368)]['concat'](_0x440885),this[_0x3a72df(0x4f3)]+=_0x440885[_0x3a72df(0x66f)];},'_process':function(_0x308ab6){const _0x4d378a=_0x175a4b;var _0x479bab,_0x37a306=this[_0x4d378a(0x368)],_0x3387c5=_0x37a306[_0x4d378a(0x62c)],_0x22e01f=_0x37a306[_0x4d378a(0x66f)],_0x4979f8=this[_0x4d378a(0x560)],_0x5c0b2b=_0x4979f8*0x4,_0x2fd0a3=_0x22e01f/_0x5c0b2b;_0x308ab6?_0x2fd0a3=_0x387e5e[_0x4d378a(0x682)](_0x2fd0a3):_0x2fd0a3=_0x387e5e[_0x4d378a(0x36b)]((_0x2fd0a3|0x0)-this['_minBufferSize'],0x0);var _0xc28a5e=_0x2fd0a3*_0x4979f8,_0x2b8683=_0x387e5e['min'](_0xc28a5e*0x4,_0x22e01f);if(_0xc28a5e){for(var _0x480a32=0x0;_0x480a32<_0xc28a5e;_0x480a32+=_0x4979f8)this['_doProcessBlock'](_0x3387c5,_0x480a32);_0x479bab=_0x3387c5[_0x4d378a(0x1ec)](0x0,_0xc28a5e),_0x37a306['sigBytes']-=_0x2b8683;}return new _0x47c3d2[(_0x4d378a(0x503))](_0x479bab,_0x2b8683);},'clone':function(){const _0x3902b3=_0x175a4b;var _0x1dde1f=_0x2dec8e[_0x3902b3(0x3ec)]['call'](this);return _0x1dde1f[_0x3902b3(0x368)]=this['_data'][_0x3902b3(0x3ec)](),_0x1dde1f;},'_minBufferSize':0x0});_0x192e63[_0x175a4b(0x473)]=_0x4c6ddc[_0x175a4b(0x3a1)]({'cfg':_0x2dec8e[_0x175a4b(0x3a1)](),'init':function(_0x3dfb1b){const _0x3192d9=_0x175a4b;this[_0x3192d9(0x3b5)]=this[_0x3192d9(0x3b5)][_0x3192d9(0x3a1)](_0x3dfb1b),this[_0x3192d9(0x42c)]();},'reset':function(){_0x4c6ddc['reset']['call'](this),this['_doReset']();},'update':function(_0x4ba95d){const _0x3c07b9=_0x175a4b;return this[_0x3c07b9(0x559)](_0x4ba95d),this[_0x3c07b9(0x56d)](),this;},'finalize':function(_0x2e0bbb){const _0x1f1223=_0x175a4b;_0x2e0bbb&&this[_0x1f1223(0x559)](_0x2e0bbb);var _0x49c277=this['_doFinalize']();return _0x49c277;},'blockSize':0x10,'_createHelper':function(_0x5edeff){return function(_0x533ef1,_0x2e7477){const _0x3e3c36=_0x5e3c;return new _0x5edeff[(_0x3e3c36(0x503))](_0x2e7477)[_0x3e3c36(0x255)](_0x533ef1);};},'_createHmacHelper':function(_0xde9a48){return function(_0x184405,_0x1cd163){const _0x21de0d=_0x5e3c;return new _0x593772['HMAC'][(_0x21de0d(0x503))](_0xde9a48,_0x1cd163)['finalize'](_0x184405);};}});var _0x593772=_0x2f84c3[_0x175a4b(0x32f)]={};return _0x2f84c3;}(Math);return _0x9d4200;}));}(We)),We['exports'];}var Fe={'exports':{}},ps=Fe[_0x24e421(0x432)],ti;function ji(){const _0x1e80de=_0x24e421;return ti||(ti=0x1,function(_0x32b00d,_0x16ff5e){(function(_0x8e7a7e,_0x4609e4){const _0x33dc65=_0x5e3c;_0x32b00d[_0x33dc65(0x432)]=_0x4609e4(se());}(ps,function(_0x56cafb){const _0x3706d9=_0x5e3c;return(function(){const _0x283232=_0x5e3c;var _0x5c37bc=_0x56cafb,_0x7c9d78=_0x5c37bc['lib'],_0x1119d7=_0x7c9d78[_0x283232(0x60f)],_0x5450ef=_0x5c37bc[_0x283232(0x1d3)];_0x5450ef[_0x283232(0x510)]={'stringify':function(_0x27d3d4){const _0x55a539=_0x283232;var _0x1dd6c7=_0x27d3d4[_0x55a539(0x62c)],_0x2648de=_0x27d3d4[_0x55a539(0x66f)],_0x3af3cf=this['_map'];_0x27d3d4[_0x55a539(0x1d7)]();for(var _0x432b67=[],_0x5958b6=0x0;_0x5958b6<_0x2648de;_0x5958b6+=0x3)for(var _0x3aee4c=_0x1dd6c7[_0x5958b6>>>0x2]>>>0x18-_0x5958b6%0x4*0x8&0xff,_0x1d6d47=_0x1dd6c7[_0x5958b6+0x1>>>0x2]>>>0x18-(_0x5958b6+0x1)%0x4*0x8&0xff,_0x5e0558=_0x1dd6c7[_0x5958b6+0x2>>>0x2]>>>0x18-(_0x5958b6+0x2)%0x4*0x8&0xff,_0x4de122=_0x3aee4c<<0x10|_0x1d6d47<<0x8|_0x5e0558,_0x1c388a=0x0;_0x1c388a<0x4&&_0x5958b6+_0x1c388a*0.75<_0x2648de;_0x1c388a++)_0x432b67[_0x55a539(0x2f8)](_0x3af3cf['charAt'](_0x4de122>>>0x6*(0x3-_0x1c388a)&0x3f));var _0x244037=_0x3af3cf['charAt'](0x40);if(_0x244037){for(;_0x432b67['length']%0x4;)_0x432b67['push'](_0x244037);}return _0x432b67[_0x55a539(0x2d7)]('');},'parse':function(_0x196d2f){const _0x18e7be=_0x283232;var _0x597715=_0x196d2f[_0x18e7be(0x3c9)],_0x5923c=this['_map'],_0x4a5ae1=this['_reverseMap'];if(!_0x4a5ae1){_0x4a5ae1=this['_reverseMap']=[];for(var _0x508a5c=0x0;_0x508a5c<_0x5923c[_0x18e7be(0x3c9)];_0x508a5c++)_0x4a5ae1[_0x5923c[_0x18e7be(0x574)](_0x508a5c)]=_0x508a5c;}var _0x4c8f48=_0x5923c[_0x18e7be(0x34e)](0x40);if(_0x4c8f48){var _0x47e686=_0x196d2f[_0x18e7be(0x653)](_0x4c8f48);_0x47e686!==-0x1&&(_0x597715=_0x47e686);}return _0x132687(_0x196d2f,_0x597715,_0x4a5ae1);},'_map':_0x283232(0x292)};function _0x132687(_0x54fdb4,_0xece028,_0x1d1995){const _0xe5dcc9=_0x283232;for(var _0xb3affa=[],_0x1a0b80=0x0,_0x3d5593=0x0;_0x3d5593<_0xece028;_0x3d5593++)if(_0x3d5593%0x4){var _0x3b5a17=_0x1d1995[_0x54fdb4['charCodeAt'](_0x3d5593-0x1)]<<_0x3d5593%0x4*0x2,_0x563603=_0x1d1995[_0x54fdb4[_0xe5dcc9(0x574)](_0x3d5593)]>>>0x6-_0x3d5593%0x4*0x2,_0x254ef9=_0x3b5a17|_0x563603;_0xb3affa[_0x1a0b80>>>0x2]|=_0x254ef9<<0x18-_0x1a0b80%0x4*0x8,_0x1a0b80++;}return _0x1119d7[_0xe5dcc9(0x470)](_0xb3affa,_0x1a0b80);}}()),_0x56cafb[_0x3706d9(0x1d3)][_0x3706d9(0x510)];}));}(Fe)),Fe[_0x1e80de(0x432)];}var Ve={'exports':{}},ms=Ve[_0x24e421(0x432)],ii;function gs(){return ii||(ii=0x1,function(_0x44e155,_0x3cfccf){(function(_0x172952,_0x48f738){_0x44e155['exports']=_0x48f738(se());}(ms,function(_0x492570){const _0x554b9c=_0x5e3c;return function(_0x162a9a){const _0x267576=_0x5e3c;var _0x79a8bf=_0x492570,_0x3c9ae8=_0x79a8bf[_0x267576(0x25e)],_0x960eb0=_0x3c9ae8[_0x267576(0x60f)],_0x173c82=_0x3c9ae8['Hasher'],_0x1f6a9b=_0x79a8bf['algo'],_0x1f7711=[];(function(){const _0x1a06f8=_0x267576;for(var _0x583446=0x0;_0x583446<0x40;_0x583446++)_0x1f7711[_0x583446]=_0x162a9a[_0x1a06f8(0x596)](_0x162a9a[_0x1a06f8(0x43d)](_0x583446+0x1))*0x100000000|0x0;}());var _0x50742d=_0x1f6a9b['MD5']=_0x173c82[_0x267576(0x3a1)]({'_doReset':function(){const _0x404480=_0x267576;this['_hash']=new _0x960eb0[(_0x404480(0x503))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x58c090,_0x59e33b){for(var _0x5b8dd9=0x0;_0x5b8dd9<0x10;_0x5b8dd9++){var _0xee0667=_0x59e33b+_0x5b8dd9,_0x24f566=_0x58c090[_0xee0667];_0x58c090[_0xee0667]=(_0x24f566<<0x8|_0x24f566>>>0x18)&0xff00ff|(_0x24f566<<0x18|_0x24f566>>>0x8)&0xff00ff00;}var _0x434a75=this['_hash']['words'],_0x43c342=_0x58c090[_0x59e33b+0x0],_0x1b8310=_0x58c090[_0x59e33b+0x1],_0x56df86=_0x58c090[_0x59e33b+0x2],_0x3df4a2=_0x58c090[_0x59e33b+0x3],_0x3b5a79=_0x58c090[_0x59e33b+0x4],_0x284848=_0x58c090[_0x59e33b+0x5],_0x5efabe=_0x58c090[_0x59e33b+0x6],_0x8b0bdc=_0x58c090[_0x59e33b+0x7],_0x46fef4=_0x58c090[_0x59e33b+0x8],_0x548a9b=_0x58c090[_0x59e33b+0x9],_0x52f9e8=_0x58c090[_0x59e33b+0xa],_0x1eb587=_0x58c090[_0x59e33b+0xb],_0x50afa0=_0x58c090[_0x59e33b+0xc],_0x3acebe=_0x58c090[_0x59e33b+0xd],_0x4b6b89=_0x58c090[_0x59e33b+0xe],_0x1ff75d=_0x58c090[_0x59e33b+0xf],_0x25d237=_0x434a75[0x0],_0x16db36=_0x434a75[0x1],_0x5a7ddf=_0x434a75[0x2],_0x1deeb0=_0x434a75[0x3];_0x25d237=_0x93ac1a(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x43c342,0x7,_0x1f7711[0x0]),_0x1deeb0=_0x93ac1a(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x1b8310,0xc,_0x1f7711[0x1]),_0x5a7ddf=_0x93ac1a(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x56df86,0x11,_0x1f7711[0x2]),_0x16db36=_0x93ac1a(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x3df4a2,0x16,_0x1f7711[0x3]),_0x25d237=_0x93ac1a(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x3b5a79,0x7,_0x1f7711[0x4]),_0x1deeb0=_0x93ac1a(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x284848,0xc,_0x1f7711[0x5]),_0x5a7ddf=_0x93ac1a(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x5efabe,0x11,_0x1f7711[0x6]),_0x16db36=_0x93ac1a(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x8b0bdc,0x16,_0x1f7711[0x7]),_0x25d237=_0x93ac1a(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x46fef4,0x7,_0x1f7711[0x8]),_0x1deeb0=_0x93ac1a(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x548a9b,0xc,_0x1f7711[0x9]),_0x5a7ddf=_0x93ac1a(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x52f9e8,0x11,_0x1f7711[0xa]),_0x16db36=_0x93ac1a(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x1eb587,0x16,_0x1f7711[0xb]),_0x25d237=_0x93ac1a(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x50afa0,0x7,_0x1f7711[0xc]),_0x1deeb0=_0x93ac1a(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x3acebe,0xc,_0x1f7711[0xd]),_0x5a7ddf=_0x93ac1a(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x4b6b89,0x11,_0x1f7711[0xe]),_0x16db36=_0x93ac1a(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x1ff75d,0x16,_0x1f7711[0xf]),_0x25d237=_0x322bc5(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x1b8310,0x5,_0x1f7711[0x10]),_0x1deeb0=_0x322bc5(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x5efabe,0x9,_0x1f7711[0x11]),_0x5a7ddf=_0x322bc5(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x1eb587,0xe,_0x1f7711[0x12]),_0x16db36=_0x322bc5(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x43c342,0x14,_0x1f7711[0x13]),_0x25d237=_0x322bc5(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x284848,0x5,_0x1f7711[0x14]),_0x1deeb0=_0x322bc5(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x52f9e8,0x9,_0x1f7711[0x15]),_0x5a7ddf=_0x322bc5(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x1ff75d,0xe,_0x1f7711[0x16]),_0x16db36=_0x322bc5(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x3b5a79,0x14,_0x1f7711[0x17]),_0x25d237=_0x322bc5(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x548a9b,0x5,_0x1f7711[0x18]),_0x1deeb0=_0x322bc5(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x4b6b89,0x9,_0x1f7711[0x19]),_0x5a7ddf=_0x322bc5(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x3df4a2,0xe,_0x1f7711[0x1a]),_0x16db36=_0x322bc5(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x46fef4,0x14,_0x1f7711[0x1b]),_0x25d237=_0x322bc5(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x3acebe,0x5,_0x1f7711[0x1c]),_0x1deeb0=_0x322bc5(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x56df86,0x9,_0x1f7711[0x1d]),_0x5a7ddf=_0x322bc5(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x8b0bdc,0xe,_0x1f7711[0x1e]),_0x16db36=_0x322bc5(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x50afa0,0x14,_0x1f7711[0x1f]),_0x25d237=_0x7680d1(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x284848,0x4,_0x1f7711[0x20]),_0x1deeb0=_0x7680d1(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x46fef4,0xb,_0x1f7711[0x21]),_0x5a7ddf=_0x7680d1(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x1eb587,0x10,_0x1f7711[0x22]),_0x16db36=_0x7680d1(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x4b6b89,0x17,_0x1f7711[0x23]),_0x25d237=_0x7680d1(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x1b8310,0x4,_0x1f7711[0x24]),_0x1deeb0=_0x7680d1(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x3b5a79,0xb,_0x1f7711[0x25]),_0x5a7ddf=_0x7680d1(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x8b0bdc,0x10,_0x1f7711[0x26]),_0x16db36=_0x7680d1(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x52f9e8,0x17,_0x1f7711[0x27]),_0x25d237=_0x7680d1(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x3acebe,0x4,_0x1f7711[0x28]),_0x1deeb0=_0x7680d1(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x43c342,0xb,_0x1f7711[0x29]),_0x5a7ddf=_0x7680d1(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x3df4a2,0x10,_0x1f7711[0x2a]),_0x16db36=_0x7680d1(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x5efabe,0x17,_0x1f7711[0x2b]),_0x25d237=_0x7680d1(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x548a9b,0x4,_0x1f7711[0x2c]),_0x1deeb0=_0x7680d1(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x50afa0,0xb,_0x1f7711[0x2d]),_0x5a7ddf=_0x7680d1(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x1ff75d,0x10,_0x1f7711[0x2e]),_0x16db36=_0x7680d1(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x56df86,0x17,_0x1f7711[0x2f]),_0x25d237=_0x55f10b(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x43c342,0x6,_0x1f7711[0x30]),_0x1deeb0=_0x55f10b(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x8b0bdc,0xa,_0x1f7711[0x31]),_0x5a7ddf=_0x55f10b(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x4b6b89,0xf,_0x1f7711[0x32]),_0x16db36=_0x55f10b(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x284848,0x15,_0x1f7711[0x33]),_0x25d237=_0x55f10b(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x50afa0,0x6,_0x1f7711[0x34]),_0x1deeb0=_0x55f10b(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x3df4a2,0xa,_0x1f7711[0x35]),_0x5a7ddf=_0x55f10b(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x52f9e8,0xf,_0x1f7711[0x36]),_0x16db36=_0x55f10b(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x1b8310,0x15,_0x1f7711[0x37]),_0x25d237=_0x55f10b(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x46fef4,0x6,_0x1f7711[0x38]),_0x1deeb0=_0x55f10b(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x1ff75d,0xa,_0x1f7711[0x39]),_0x5a7ddf=_0x55f10b(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x5efabe,0xf,_0x1f7711[0x3a]),_0x16db36=_0x55f10b(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x3acebe,0x15,_0x1f7711[0x3b]),_0x25d237=_0x55f10b(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x3b5a79,0x6,_0x1f7711[0x3c]),_0x1deeb0=_0x55f10b(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x1eb587,0xa,_0x1f7711[0x3d]),_0x5a7ddf=_0x55f10b(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x56df86,0xf,_0x1f7711[0x3e]),_0x16db36=_0x55f10b(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x548a9b,0x15,_0x1f7711[0x3f]),_0x434a75[0x0]=_0x434a75[0x0]+_0x25d237|0x0,_0x434a75[0x1]=_0x434a75[0x1]+_0x16db36|0x0,_0x434a75[0x2]=_0x434a75[0x2]+_0x5a7ddf|0x0,_0x434a75[0x3]=_0x434a75[0x3]+_0x1deeb0|0x0;},'_doFinalize':function(){const _0x30c9f8=_0x267576;var _0x105117=this[_0x30c9f8(0x368)],_0x34b1e7=_0x105117[_0x30c9f8(0x62c)],_0xc39e82=this[_0x30c9f8(0x4f3)]*0x8,_0x19bb0c=_0x105117[_0x30c9f8(0x66f)]*0x8;_0x34b1e7[_0x19bb0c>>>0x5]|=0x80<<0x18-_0x19bb0c%0x20;var _0x3ae298=_0x162a9a[_0x30c9f8(0x387)](_0xc39e82/0x100000000),_0x4582e2=_0xc39e82;_0x34b1e7[(_0x19bb0c+0x40>>>0x9<<0x4)+0xf]=(_0x3ae298<<0x8|_0x3ae298>>>0x18)&0xff00ff|(_0x3ae298<<0x18|_0x3ae298>>>0x8)&0xff00ff00,_0x34b1e7[(_0x19bb0c+0x40>>>0x9<<0x4)+0xe]=(_0x4582e2<<0x8|_0x4582e2>>>0x18)&0xff00ff|(_0x4582e2<<0x18|_0x4582e2>>>0x8)&0xff00ff00,_0x105117[_0x30c9f8(0x66f)]=(_0x34b1e7[_0x30c9f8(0x3c9)]+0x1)*0x4,this[_0x30c9f8(0x56d)]();for(var _0x9eb4be=this[_0x30c9f8(0x650)],_0x17047f=_0x9eb4be[_0x30c9f8(0x62c)],_0x301865=0x0;_0x301865<0x4;_0x301865++){var _0x408ead=_0x17047f[_0x301865];_0x17047f[_0x301865]=(_0x408ead<<0x8|_0x408ead>>>0x18)&0xff00ff|(_0x408ead<<0x18|_0x408ead>>>0x8)&0xff00ff00;}return _0x9eb4be;},'clone':function(){const _0x1f81ad=_0x267576;var _0x194aea=_0x173c82[_0x1f81ad(0x3ec)]['call'](this);return _0x194aea[_0x1f81ad(0x650)]=this[_0x1f81ad(0x650)][_0x1f81ad(0x3ec)](),_0x194aea;}});function _0x93ac1a(_0xc78639,_0x424172,_0x38c04f,_0x54d2db,_0x1d9f94,_0x56af69,_0x22ab8c){var _0x484a29=_0xc78639+(_0x424172&_0x38c04f|~_0x424172&_0x54d2db)+_0x1d9f94+_0x22ab8c;return(_0x484a29<<_0x56af69|_0x484a29>>>0x20-_0x56af69)+_0x424172;}function _0x322bc5(_0x2099b4,_0x48d6f7,_0x316acb,_0x4154bb,_0x186329,_0x52bb70,_0x21f34e){var _0x1e91ad=_0x2099b4+(_0x48d6f7&_0x4154bb|_0x316acb&~_0x4154bb)+_0x186329+_0x21f34e;return(_0x1e91ad<<_0x52bb70|_0x1e91ad>>>0x20-_0x52bb70)+_0x48d6f7;}function _0x7680d1(_0x2cc48e,_0x123549,_0xb7a004,_0x319a7a,_0x119944,_0x46db09,_0xf3a651){var _0x3a725e=_0x2cc48e+(_0x123549^_0xb7a004^_0x319a7a)+_0x119944+_0xf3a651;return(_0x3a725e<<_0x46db09|_0x3a725e>>>0x20-_0x46db09)+_0x123549;}function _0x55f10b(_0x448a28,_0x1796e5,_0x48b7f3,_0x3f68fa,_0xfd8822,_0x1b265d,_0x38c0c8){var _0x9d6dbe=_0x448a28+(_0x48b7f3^(_0x1796e5|~_0x3f68fa))+_0xfd8822+_0x38c0c8;return(_0x9d6dbe<<_0x1b265d|_0x9d6dbe>>>0x20-_0x1b265d)+_0x1796e5;}_0x79a8bf[_0x267576(0x366)]=_0x173c82[_0x267576(0x300)](_0x50742d),_0x79a8bf[_0x267576(0x5e1)]=_0x173c82[_0x267576(0x415)](_0x50742d);}(Math),_0x492570[_0x554b9c(0x366)];}));}(Ve)),Ve['exports'];}var Ge={'exports':{}},Ye={'exports':{}},Is=Ye[_0x24e421(0x432)],ni;function Cs(){const _0x329a39=_0x24e421;return ni||(ni=0x1,function(_0x67d01,_0x54af77){(function(_0x31b96d,_0x3e1799){const _0x3d341e=_0x5e3c;_0x67d01[_0x3d341e(0x432)]=_0x3e1799(se());}(Is,function(_0x3dd2be){const _0x59c74a=_0x5e3c;return(function(){const _0x207d6c=_0x5e3c;var _0x5498d7=_0x3dd2be,_0x2ea677=_0x5498d7[_0x207d6c(0x25e)],_0x24d55d=_0x2ea677[_0x207d6c(0x60f)],_0x1386ba=_0x2ea677[_0x207d6c(0x473)],_0x4009ab=_0x5498d7[_0x207d6c(0x32f)],_0x4f342e=[],_0xd81df6=_0x4009ab['SHA1']=_0x1386ba['extend']({'_doReset':function(){const _0x2e3103=_0x207d6c;this[_0x2e3103(0x650)]=new _0x24d55d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5b8376,_0x3c99d3){const _0x66ba7f=_0x207d6c;for(var _0x2f09d7=this['_hash'][_0x66ba7f(0x62c)],_0x58225e=_0x2f09d7[0x0],_0x55b98d=_0x2f09d7[0x1],_0x424ee5=_0x2f09d7[0x2],_0x14594a=_0x2f09d7[0x3],_0x5ecb44=_0x2f09d7[0x4],_0x2ae03f=0x0;_0x2ae03f<0x50;_0x2ae03f++){if(_0x2ae03f<0x10)_0x4f342e[_0x2ae03f]=_0x5b8376[_0x3c99d3+_0x2ae03f]|0x0;else{var _0x442ca4=_0x4f342e[_0x2ae03f-0x3]^_0x4f342e[_0x2ae03f-0x8]^_0x4f342e[_0x2ae03f-0xe]^_0x4f342e[_0x2ae03f-0x10];_0x4f342e[_0x2ae03f]=_0x442ca4<<0x1|_0x442ca4>>>0x1f;}var _0x15c63d=(_0x58225e<<0x5|_0x58225e>>>0x1b)+_0x5ecb44+_0x4f342e[_0x2ae03f];_0x2ae03f<0x14?_0x15c63d+=(_0x55b98d&_0x424ee5|~_0x55b98d&_0x14594a)+0x5a827999:_0x2ae03f<0x28?_0x15c63d+=(_0x55b98d^_0x424ee5^_0x14594a)+0x6ed9eba1:_0x2ae03f<0x3c?_0x15c63d+=(_0x55b98d&_0x424ee5|_0x55b98d&_0x14594a|_0x424ee5&_0x14594a)-0x70e44324:_0x15c63d+=(_0x55b98d^_0x424ee5^_0x14594a)-0x359d3e2a,_0x5ecb44=_0x14594a,_0x14594a=_0x424ee5,_0x424ee5=_0x55b98d<<0x1e|_0x55b98d>>>0x2,_0x55b98d=_0x58225e,_0x58225e=_0x15c63d;}_0x2f09d7[0x0]=_0x2f09d7[0x0]+_0x58225e|0x0,_0x2f09d7[0x1]=_0x2f09d7[0x1]+_0x55b98d|0x0,_0x2f09d7[0x2]=_0x2f09d7[0x2]+_0x424ee5|0x0,_0x2f09d7[0x3]=_0x2f09d7[0x3]+_0x14594a|0x0,_0x2f09d7[0x4]=_0x2f09d7[0x4]+_0x5ecb44|0x0;},'_doFinalize':function(){const _0xc59b27=_0x207d6c;var _0xb4f4f8=this['_data'],_0x593620=_0xb4f4f8[_0xc59b27(0x62c)],_0x54c474=this['_nDataBytes']*0x8,_0x6cd64c=_0xb4f4f8[_0xc59b27(0x66f)]*0x8;return _0x593620[_0x6cd64c>>>0x5]|=0x80<<0x18-_0x6cd64c%0x20,_0x593620[(_0x6cd64c+0x40>>>0x9<<0x4)+0xe]=Math[_0xc59b27(0x387)](_0x54c474/0x100000000),_0x593620[(_0x6cd64c+0x40>>>0x9<<0x4)+0xf]=_0x54c474,_0xb4f4f8['sigBytes']=_0x593620[_0xc59b27(0x3c9)]*0x4,this[_0xc59b27(0x56d)](),this['_hash'];},'clone':function(){const _0x1f0cec=_0x207d6c;var _0x1883da=_0x1386ba[_0x1f0cec(0x3ec)]['call'](this);return _0x1883da[_0x1f0cec(0x650)]=this[_0x1f0cec(0x650)][_0x1f0cec(0x3ec)](),_0x1883da;}});_0x5498d7[_0x207d6c(0x4c4)]=_0x1386ba[_0x207d6c(0x300)](_0xd81df6),_0x5498d7[_0x207d6c(0x5e8)]=_0x1386ba[_0x207d6c(0x415)](_0xd81df6);}()),_0x3dd2be[_0x59c74a(0x4c4)];}));}(Ye)),Ye[_0x329a39(0x432)];}var qe={'exports':{}},Es=qe[_0x24e421(0x432)],ri;function bs(){const _0x1df7cd=_0x24e421;return ri||(ri=0x1,function(_0x37497e,_0x239c1f){(function(_0x4755d7,_0x238ace){const _0x5ef46e=_0x5e3c;_0x37497e[_0x5ef46e(0x432)]=_0x238ace(se());}(Es,function(_0xefb063){(function(){const _0x271ad5=_0x5e3c;var _0x165f90=_0xefb063,_0x342fce=_0x165f90[_0x271ad5(0x25e)],_0x599da7=_0x342fce[_0x271ad5(0x2c3)],_0x4e383b=_0x165f90['enc'],_0x4dc8e0=_0x4e383b[_0x271ad5(0x3f9)],_0x2714d2=_0x165f90[_0x271ad5(0x32f)];_0x2714d2['HMAC']=_0x599da7[_0x271ad5(0x3a1)]({'init':function(_0x48da4c,_0x53e9e5){const _0x5c5eb0=_0x271ad5;_0x48da4c=this['_hasher']=new _0x48da4c[(_0x5c5eb0(0x503))](),typeof _0x53e9e5=='string'&&(_0x53e9e5=_0x4dc8e0[_0x5c5eb0(0x1f0)](_0x53e9e5));var _0xb2a6bf=_0x48da4c[_0x5c5eb0(0x560)],_0x5cc7a1=_0xb2a6bf*0x4;_0x53e9e5['sigBytes']>_0x5cc7a1&&(_0x53e9e5=_0x48da4c[_0x5c5eb0(0x255)](_0x53e9e5)),_0x53e9e5[_0x5c5eb0(0x1d7)]();for(var _0x4d2378=this['_oKey']=_0x53e9e5[_0x5c5eb0(0x3ec)](),_0x5b22c5=this[_0x5c5eb0(0x491)]=_0x53e9e5[_0x5c5eb0(0x3ec)](),_0x5cf265=_0x4d2378[_0x5c5eb0(0x62c)],_0x1b5635=_0x5b22c5[_0x5c5eb0(0x62c)],_0x4ac5e0=0x0;_0x4ac5e0<_0xb2a6bf;_0x4ac5e0++)_0x5cf265[_0x4ac5e0]^=0x5c5c5c5c,_0x1b5635[_0x4ac5e0]^=0x36363636;_0x4d2378[_0x5c5eb0(0x66f)]=_0x5b22c5[_0x5c5eb0(0x66f)]=_0x5cc7a1,this[_0x5c5eb0(0x42c)]();},'reset':function(){const _0x3cbb88=_0x271ad5;var _0x218a03=this['_hasher'];_0x218a03['reset'](),_0x218a03[_0x3cbb88(0x5cb)](this[_0x3cbb88(0x491)]);},'update':function(_0x571f50){const _0x267ef9=_0x271ad5;return this[_0x267ef9(0x24c)][_0x267ef9(0x5cb)](_0x571f50),this;},'finalize':function(_0xbd1888){const _0x148ad7=_0x271ad5;var _0x890685=this[_0x148ad7(0x24c)],_0x10ff3b=_0x890685['finalize'](_0xbd1888);_0x890685[_0x148ad7(0x42c)]();var _0x279c7c=_0x890685[_0x148ad7(0x255)](this[_0x148ad7(0x676)][_0x148ad7(0x3ec)]()[_0x148ad7(0x437)](_0x10ff3b));return _0x279c7c;}});}());}));}(qe)),qe[_0x1df7cd(0x432)];}var Ts=Ge['exports'],si;function Hi(){const _0x262480=_0x24e421;return si||(si=0x1,function(_0x3057b9,_0x4f3192){(function(_0x163d5f,_0x53fafa,_0x1e0968){_0x3057b9['exports']=_0x53fafa(se(),Cs(),bs());}(Ts,function(_0x4b34ab){const _0x16790f=_0x5e3c;return(function(){const _0x31e9f1=_0x5e3c;var _0xa5b86b=_0x4b34ab,_0x16ffee=_0xa5b86b[_0x31e9f1(0x25e)],_0x214295=_0x16ffee[_0x31e9f1(0x2c3)],_0x1873fa=_0x16ffee[_0x31e9f1(0x60f)],_0x2c5bbd=_0xa5b86b[_0x31e9f1(0x32f)],_0x47b457=_0x2c5bbd[_0x31e9f1(0x366)],_0x4d6926=_0x2c5bbd[_0x31e9f1(0x228)]=_0x214295[_0x31e9f1(0x3a1)]({'cfg':_0x214295['extend']({'keySize':0x80/0x20,'hasher':_0x47b457,'iterations':0x1}),'init':function(_0x352b0d){const _0x22d3f2=_0x31e9f1;this[_0x22d3f2(0x3b5)]=this[_0x22d3f2(0x3b5)][_0x22d3f2(0x3a1)](_0x352b0d);},'compute':function(_0x4ab370,_0x1ae3d8){const _0x2a50f9=_0x31e9f1;for(var _0xc1374,_0x4de190=this[_0x2a50f9(0x3b5)],_0x4f5012=_0x4de190['hasher'][_0x2a50f9(0x470)](),_0xa328ae=_0x1873fa[_0x2a50f9(0x470)](),_0x27aaf0=_0xa328ae[_0x2a50f9(0x62c)],_0x3a967a=_0x4de190['keySize'],_0x3ac998=_0x4de190[_0x2a50f9(0x4f1)];_0x27aaf0[_0x2a50f9(0x3c9)]<_0x3a967a;){_0xc1374&&_0x4f5012[_0x2a50f9(0x5cb)](_0xc1374),_0xc1374=_0x4f5012[_0x2a50f9(0x5cb)](_0x4ab370)[_0x2a50f9(0x255)](_0x1ae3d8),_0x4f5012[_0x2a50f9(0x42c)]();for(var _0x3019ea=0x1;_0x3019ea<_0x3ac998;_0x3019ea++)_0xc1374=_0x4f5012[_0x2a50f9(0x255)](_0xc1374),_0x4f5012[_0x2a50f9(0x42c)]();_0xa328ae[_0x2a50f9(0x437)](_0xc1374);}return _0xa328ae[_0x2a50f9(0x66f)]=_0x3a967a*0x4,_0xa328ae;}});_0xa5b86b['EvpKDF']=function(_0xa17217,_0xf2c6cb,_0x5cd3c5){const _0x324a00=_0x31e9f1;return _0x4d6926[_0x324a00(0x470)](_0x5cd3c5)['compute'](_0xa17217,_0xf2c6cb);};}()),_0x4b34ab[_0x16790f(0x228)];}));}(Ge)),Ge[_0x262480(0x432)];}var Ke={'exports':{}},Rs=Ke[_0x24e421(0x432)],oi;function Bi(){const _0x321e9b=_0x24e421;return oi||(oi=0x1,function(_0x355e98,_0x3b5d33){(function(_0x4ec8e9,_0x58c26d,_0x4f1ffc){const _0x1be793=_0x5e3c;_0x355e98[_0x1be793(0x432)]=_0x58c26d(se(),Hi());}(Rs,function(_0x2d345f){const _0x3249c7=_0x5e3c;_0x2d345f[_0x3249c7(0x25e)][_0x3249c7(0x36f)]||function(_0x3f1f90){const _0x4980a5=_0x3249c7;var _0xdaacce=_0x2d345f,_0x509cc9=_0xdaacce[_0x4980a5(0x25e)],_0x1c9980=_0x509cc9[_0x4980a5(0x2c3)],_0x489a9a=_0x509cc9['WordArray'],_0x3c83b8=_0x509cc9[_0x4980a5(0x66a)],_0x3a2f03=_0xdaacce[_0x4980a5(0x1d3)];_0x3a2f03[_0x4980a5(0x3f9)];var _0x3f848a=_0x3a2f03[_0x4980a5(0x510)],_0x58cf87=_0xdaacce[_0x4980a5(0x32f)],_0x209c45=_0x58cf87[_0x4980a5(0x228)],_0x3b131b=_0x509cc9[_0x4980a5(0x36f)]=_0x3c83b8[_0x4980a5(0x3a1)]({'cfg':_0x1c9980['extend'](),'createEncryptor':function(_0x1941be,_0x577876){const _0x18e64c=_0x4980a5;return this[_0x18e64c(0x470)](this['_ENC_XFORM_MODE'],_0x1941be,_0x577876);},'createDecryptor':function(_0x2dbd10,_0x33f7b1){const _0x28af85=_0x4980a5;return this[_0x28af85(0x470)](this[_0x28af85(0x214)],_0x2dbd10,_0x33f7b1);},'init':function(_0x343bcc,_0x1005cd,_0x264ea0){const _0x42a5d4=_0x4980a5;this[_0x42a5d4(0x3b5)]=this['cfg'][_0x42a5d4(0x3a1)](_0x264ea0),this[_0x42a5d4(0x27f)]=_0x343bcc,this[_0x42a5d4(0x3cb)]=_0x1005cd,this['reset']();},'reset':function(){_0x3c83b8['reset']['call'](this),this['_doReset']();},'process':function(_0x42ea50){const _0x3dcb41=_0x4980a5;return this[_0x3dcb41(0x559)](_0x42ea50),this[_0x3dcb41(0x56d)]();},'finalize':function(_0x7bf98d){const _0x517eca=_0x4980a5;_0x7bf98d&&this[_0x517eca(0x559)](_0x7bf98d);var _0x1d9bbc=this[_0x517eca(0x40d)]();return _0x1d9bbc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x317076(_0xf2b32){const _0x2509a1=_0x5e3c;return typeof _0xf2b32==_0x2509a1(0x64c)?_0x2f1bde:_0x296f06;}return function(_0x382e83){return{'encrypt':function(_0x24a80f,_0x194417,_0x5b9eaa){const _0x3a3110=_0x5e3c;return _0x317076(_0x194417)[_0x3a3110(0x2b0)](_0x382e83,_0x24a80f,_0x194417,_0x5b9eaa);},'decrypt':function(_0x1e7e55,_0x522ae1,_0x254176){const _0x47445d=_0x5e3c;return _0x317076(_0x522ae1)[_0x47445d(0x4ff)](_0x382e83,_0x1e7e55,_0x522ae1,_0x254176);}};};}())});_0x509cc9[_0x4980a5(0x33a)]=_0x3b131b[_0x4980a5(0x3a1)]({'_doFinalize':function(){const _0x64fb24=_0x4980a5;var _0x595fab=this[_0x64fb24(0x56d)](!0x0);return _0x595fab;},'blockSize':0x1});var _0x2b6fc9=_0xdaacce[_0x4980a5(0x547)]={},_0x2c7fc7=_0x509cc9[_0x4980a5(0x246)]=_0x1c9980[_0x4980a5(0x3a1)]({'createEncryptor':function(_0xab7f5a,_0x409020){const _0x559f7c=_0x4980a5;return this[_0x559f7c(0x289)][_0x559f7c(0x470)](_0xab7f5a,_0x409020);},'createDecryptor':function(_0x586f70,_0x38537e){const _0x5c28ac=_0x4980a5;return this[_0x5c28ac(0x3dd)]['create'](_0x586f70,_0x38537e);},'init':function(_0x22b3a6,_0xc2ca6c){const _0x3b1535=_0x4980a5;this['_cipher']=_0x22b3a6,this[_0x3b1535(0x610)]=_0xc2ca6c;}}),_0x1d3e86=_0x2b6fc9['CBC']=(function(){const _0x431843=_0x4980a5;var _0x428ea5=_0x2c7fc7[_0x431843(0x3a1)]();_0x428ea5[_0x431843(0x289)]=_0x428ea5['extend']({'processBlock':function(_0x367c22,_0x182750){const _0x133263=_0x431843;var _0xe18319=this[_0x133263(0x5dd)],_0xb6a4e1=_0xe18319[_0x133263(0x560)];_0x3dbfcb[_0x133263(0x546)](this,_0x367c22,_0x182750,_0xb6a4e1),_0xe18319[_0x133263(0x3a3)](_0x367c22,_0x182750),this[_0x133263(0x407)]=_0x367c22[_0x133263(0x406)](_0x182750,_0x182750+_0xb6a4e1);}}),_0x428ea5[_0x431843(0x3dd)]=_0x428ea5[_0x431843(0x3a1)]({'processBlock':function(_0x1fa9a2,_0x498ad9){const _0xc24e09=_0x431843;var _0x53eb84=this['_cipher'],_0x4f78c2=_0x53eb84['blockSize'],_0x2c8f58=_0x1fa9a2['slice'](_0x498ad9,_0x498ad9+_0x4f78c2);_0x53eb84[_0xc24e09(0x37e)](_0x1fa9a2,_0x498ad9),_0x3dbfcb[_0xc24e09(0x546)](this,_0x1fa9a2,_0x498ad9,_0x4f78c2),this[_0xc24e09(0x407)]=_0x2c8f58;}});function _0x3dbfcb(_0x166d36,_0x5c59a6,_0xf97c5d){const _0x5c7b53=_0x431843;var _0x5714ac,_0xe5b8f2=this['_iv'];_0xe5b8f2?(_0x5714ac=_0xe5b8f2,this[_0x5c7b53(0x610)]=_0x3f1f90):_0x5714ac=this['_prevBlock'];for(var _0x550af7=0x0;_0x550af7<_0xf97c5d;_0x550af7++)_0x166d36[_0x5c59a6+_0x550af7]^=_0x5714ac[_0x550af7];}return _0x428ea5;}()),_0x2a7dae=_0xdaacce[_0x4980a5(0x448)]={},_0x2f3b2d=_0x2a7dae[_0x4980a5(0x582)]={'pad':function(_0x4d0e74,_0xd15194){const _0x54d5ba=_0x4980a5;for(var _0x1d61de=_0xd15194*0x4,_0x63db7=_0x1d61de-_0x4d0e74[_0x54d5ba(0x66f)]%_0x1d61de,_0x451c86=_0x63db7<<0x18|_0x63db7<<0x10|_0x63db7<<0x8|_0x63db7,_0x1b1568=[],_0x943389=0x0;_0x943389<_0x63db7;_0x943389+=0x4)_0x1b1568[_0x54d5ba(0x2f8)](_0x451c86);var _0x3c9634=_0x489a9a[_0x54d5ba(0x470)](_0x1b1568,_0x63db7);_0x4d0e74[_0x54d5ba(0x437)](_0x3c9634);},'unpad':function(_0x59a878){const _0x4acd2e=_0x4980a5;var _0x1449be=_0x59a878['words'][_0x59a878[_0x4acd2e(0x66f)]-0x1>>>0x2]&0xff;_0x59a878[_0x4acd2e(0x66f)]-=_0x1449be;}};_0x509cc9['BlockCipher']=_0x3b131b[_0x4980a5(0x3a1)]({'cfg':_0x3b131b[_0x4980a5(0x3b5)][_0x4980a5(0x3a1)]({'mode':_0x1d3e86,'padding':_0x2f3b2d}),'reset':function(){const _0x3f4701=_0x4980a5;var _0x587741;_0x3b131b[_0x3f4701(0x42c)]['call'](this);var _0x33f935=this['cfg'],_0x55a479=_0x33f935['iv'],_0x18a91c=_0x33f935['mode'];this[_0x3f4701(0x27f)]==this['_ENC_XFORM_MODE']?_0x587741=_0x18a91c[_0x3f4701(0x50e)]:(_0x587741=_0x18a91c[_0x3f4701(0x50d)],this[_0x3f4701(0x3e2)]=0x1),this['_mode']&&this[_0x3f4701(0x26f)]['__creator']==_0x587741?this[_0x3f4701(0x26f)][_0x3f4701(0x503)](this,_0x55a479&&_0x55a479[_0x3f4701(0x62c)]):(this[_0x3f4701(0x26f)]=_0x587741[_0x3f4701(0x546)](_0x18a91c,this,_0x55a479&&_0x55a479[_0x3f4701(0x62c)]),this[_0x3f4701(0x26f)]['__creator']=_0x587741);},'_doProcessBlock':function(_0x49e86e,_0x575871){const _0x241beb=_0x4980a5;this[_0x241beb(0x26f)][_0x241beb(0x497)](_0x49e86e,_0x575871);},'_doFinalize':function(){const _0x394eeb=_0x4980a5;var _0x270304,_0x3c3031=this[_0x394eeb(0x3b5)][_0x394eeb(0x424)];return this[_0x394eeb(0x27f)]==this['_ENC_XFORM_MODE']?(_0x3c3031[_0x394eeb(0x448)](this[_0x394eeb(0x368)],this[_0x394eeb(0x560)]),_0x270304=this['_process'](!0x0)):(_0x270304=this[_0x394eeb(0x56d)](!0x0),_0x3c3031[_0x394eeb(0x556)](_0x270304)),_0x270304;},'blockSize':0x80/0x20});var _0x22f3af=_0x509cc9['CipherParams']=_0x1c9980[_0x4980a5(0x3a1)]({'init':function(_0x25a9c5){const _0x5c54dd=_0x4980a5;this[_0x5c54dd(0x35f)](_0x25a9c5);},'toString':function(_0x15e640){const _0x4d2721=_0x4980a5;return(_0x15e640||this[_0x4d2721(0x42b)])['stringify'](this);}}),_0x339f76=_0xdaacce[_0x4980a5(0x590)]={},_0x3cb839=_0x339f76['OpenSSL']={'stringify':function(_0x21f14f){const _0x135cec=_0x4980a5;var _0xa598ff,_0x53c2a9=_0x21f14f[_0x135cec(0x61e)],_0x56c407=_0x21f14f[_0x135cec(0x50b)];return _0x56c407?_0xa598ff=_0x489a9a[_0x135cec(0x470)]([0x53616c74,0x65645f5f])[_0x135cec(0x437)](_0x56c407)[_0x135cec(0x437)](_0x53c2a9):_0xa598ff=_0x53c2a9,_0xa598ff['toString'](_0x3f848a);},'parse':function(_0x2d7446){const _0xe5c1bb=_0x4980a5;var _0x3f7306,_0x3cf35e=_0x3f848a[_0xe5c1bb(0x1f0)](_0x2d7446),_0x5e5288=_0x3cf35e[_0xe5c1bb(0x62c)];return _0x5e5288[0x0]==0x53616c74&&_0x5e5288[0x1]==0x65645f5f&&(_0x3f7306=_0x489a9a['create'](_0x5e5288[_0xe5c1bb(0x406)](0x2,0x4)),_0x5e5288[_0xe5c1bb(0x1ec)](0x0,0x4),_0x3cf35e['sigBytes']-=0x10),_0x22f3af['create']({'ciphertext':_0x3cf35e,'salt':_0x3f7306});}},_0x296f06=_0x509cc9[_0x4980a5(0x577)]=_0x1c9980['extend']({'cfg':_0x1c9980[_0x4980a5(0x3a1)]({'format':_0x3cb839}),'encrypt':function(_0x37575b,_0xc68f64,_0x1ec8ac,_0x17614a){const _0x5a629d=_0x4980a5;_0x17614a=this[_0x5a629d(0x3b5)][_0x5a629d(0x3a1)](_0x17614a);var _0xc029f4=_0x37575b[_0x5a629d(0x50e)](_0x1ec8ac,_0x17614a),_0x5af867=_0xc029f4['finalize'](_0xc68f64),_0x17edb8=_0xc029f4[_0x5a629d(0x3b5)];return _0x22f3af[_0x5a629d(0x470)]({'ciphertext':_0x5af867,'key':_0x1ec8ac,'iv':_0x17edb8['iv'],'algorithm':_0x37575b,'mode':_0x17edb8['mode'],'padding':_0x17edb8['padding'],'blockSize':_0x37575b[_0x5a629d(0x560)],'formatter':_0x17614a[_0x5a629d(0x590)]});},'decrypt':function(_0x334f28,_0x329210,_0x509bde,_0x6e8572){const _0x1e4b3a=_0x4980a5;_0x6e8572=this[_0x1e4b3a(0x3b5)][_0x1e4b3a(0x3a1)](_0x6e8572),_0x329210=this[_0x1e4b3a(0x3bd)](_0x329210,_0x6e8572[_0x1e4b3a(0x590)]);var _0x4f5f83=_0x334f28['createDecryptor'](_0x509bde,_0x6e8572)[_0x1e4b3a(0x255)](_0x329210[_0x1e4b3a(0x61e)]);return _0x4f5f83;},'_parse':function(_0x560739,_0x431684){const _0x17928d=_0x4980a5;return typeof _0x560739==_0x17928d(0x64c)?_0x431684[_0x17928d(0x1f0)](_0x560739,this):_0x560739;}}),_0x525717=_0xdaacce[_0x4980a5(0x4d5)]={},_0x24954b=_0x525717[_0x4980a5(0x2c7)]={'execute':function(_0x35d605,_0x5660d3,_0xb04f93,_0x461bce,_0x52073f){const _0x31919f=_0x4980a5;if(_0x461bce||(_0x461bce=_0x489a9a[_0x31919f(0x498)](0x40/0x8)),_0x52073f)var _0x40159b=_0x209c45[_0x31919f(0x470)]({'keySize':_0x5660d3+_0xb04f93,'hasher':_0x52073f})[_0x31919f(0x5de)](_0x35d605,_0x461bce);else var _0x40159b=_0x209c45[_0x31919f(0x470)]({'keySize':_0x5660d3+_0xb04f93})[_0x31919f(0x5de)](_0x35d605,_0x461bce);var _0x36e720=_0x489a9a[_0x31919f(0x470)](_0x40159b[_0x31919f(0x62c)][_0x31919f(0x406)](_0x5660d3),_0xb04f93*0x4);return _0x40159b[_0x31919f(0x66f)]=_0x5660d3*0x4,_0x22f3af[_0x31919f(0x470)]({'key':_0x40159b,'iv':_0x36e720,'salt':_0x461bce});}},_0x2f1bde=_0x509cc9['PasswordBasedCipher']=_0x296f06[_0x4980a5(0x3a1)]({'cfg':_0x296f06[_0x4980a5(0x3b5)][_0x4980a5(0x3a1)]({'kdf':_0x24954b}),'encrypt':function(_0x1cc27c,_0x376b63,_0x321855,_0x516a1e){const _0x3a0ab5=_0x4980a5;_0x516a1e=this['cfg'][_0x3a0ab5(0x3a1)](_0x516a1e);var _0xd882da=_0x516a1e[_0x3a0ab5(0x4d5)][_0x3a0ab5(0x391)](_0x321855,_0x1cc27c['keySize'],_0x1cc27c[_0x3a0ab5(0x593)],_0x516a1e[_0x3a0ab5(0x50b)],_0x516a1e['hasher']);_0x516a1e['iv']=_0xd882da['iv'];var _0x1ea9d4=_0x296f06[_0x3a0ab5(0x2b0)][_0x3a0ab5(0x546)](this,_0x1cc27c,_0x376b63,_0xd882da[_0x3a0ab5(0x5ab)],_0x516a1e);return _0x1ea9d4['mixIn'](_0xd882da),_0x1ea9d4;},'decrypt':function(_0x8d1aa2,_0x27773b,_0x51fe3f,_0x1522d3){const _0x35197e=_0x4980a5;_0x1522d3=this['cfg']['extend'](_0x1522d3),_0x27773b=this[_0x35197e(0x3bd)](_0x27773b,_0x1522d3['format']);var _0x17a52c=_0x1522d3[_0x35197e(0x4d5)][_0x35197e(0x391)](_0x51fe3f,_0x8d1aa2[_0x35197e(0x22b)],_0x8d1aa2[_0x35197e(0x593)],_0x27773b[_0x35197e(0x50b)],_0x1522d3[_0x35197e(0x511)]);_0x1522d3['iv']=_0x17a52c['iv'];var _0x30ba13=_0x296f06['decrypt']['call'](this,_0x8d1aa2,_0x27773b,_0x17a52c[_0x35197e(0x5ab)],_0x1522d3);return _0x30ba13;}});}();}));}(Ke)),Ke[_0x321e9b(0x432)];}var Os=ke[_0x24e421(0x432)],ai;function ys(){return ai||(ai=0x1,function(_0x3f58f2,_0x2e5b8f){(function(_0x1d2ffa,_0x3e1570,_0x5890c9){_0x3f58f2['exports']=_0x3e1570(se(),ji(),gs(),Hi(),Bi());}(Os,function(_0xcaa19c){const _0x20f54c=_0x5e3c;return(function(){const _0x420ce1=_0x5e3c;var _0x4f5032=_0xcaa19c,_0xab11a2=_0x4f5032[_0x420ce1(0x25e)],_0x293d79=_0xab11a2[_0x420ce1(0x440)],_0x48e7a2=_0x4f5032[_0x420ce1(0x32f)],_0xcd22d6=[],_0x286e97=[],_0x7f6dc7=[],_0x4d560f=[],_0x1b0558=[],_0x54f1fa=[],_0x3cd4ad=[],_0x36fa34=[],_0x1695c0=[],_0x1ca24c=[];(function(){for(var _0x154b3b=[],_0x3084f6=0x0;_0x3084f6<0x100;_0x3084f6++)_0x3084f6<0x80?_0x154b3b[_0x3084f6]=_0x3084f6<<0x1:_0x154b3b[_0x3084f6]=_0x3084f6<<0x1^0x11b;for(var _0x19d865=0x0,_0x4ea68d=0x0,_0x3084f6=0x0;_0x3084f6<0x100;_0x3084f6++){var _0x49097a=_0x4ea68d^_0x4ea68d<<0x1^_0x4ea68d<<0x2^_0x4ea68d<<0x3^_0x4ea68d<<0x4;_0x49097a=_0x49097a>>>0x8^_0x49097a&0xff^0x63,_0xcd22d6[_0x19d865]=_0x49097a,_0x286e97[_0x49097a]=_0x19d865;var _0x2356e4=_0x154b3b[_0x19d865],_0x357381=_0x154b3b[_0x2356e4],_0x2f4080=_0x154b3b[_0x357381],_0x5e9bd9=_0x154b3b[_0x49097a]*0x101^_0x49097a*0x1010100;_0x7f6dc7[_0x19d865]=_0x5e9bd9<<0x18|_0x5e9bd9>>>0x8,_0x4d560f[_0x19d865]=_0x5e9bd9<<0x10|_0x5e9bd9>>>0x10,_0x1b0558[_0x19d865]=_0x5e9bd9<<0x8|_0x5e9bd9>>>0x18,_0x54f1fa[_0x19d865]=_0x5e9bd9;var _0x5e9bd9=_0x2f4080*0x1010101^_0x357381*0x10001^_0x2356e4*0x101^_0x19d865*0x1010100;_0x3cd4ad[_0x49097a]=_0x5e9bd9<<0x18|_0x5e9bd9>>>0x8,_0x36fa34[_0x49097a]=_0x5e9bd9<<0x10|_0x5e9bd9>>>0x10,_0x1695c0[_0x49097a]=_0x5e9bd9<<0x8|_0x5e9bd9>>>0x18,_0x1ca24c[_0x49097a]=_0x5e9bd9,_0x19d865?(_0x19d865=_0x2356e4^_0x154b3b[_0x154b3b[_0x154b3b[_0x2f4080^_0x2356e4]]],_0x4ea68d^=_0x154b3b[_0x154b3b[_0x4ea68d]]):_0x19d865=_0x4ea68d=0x1;}}());var _0x11e9f1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4574bd=_0x48e7a2[_0x420ce1(0x22f)]=_0x293d79[_0x420ce1(0x3a1)]({'_doReset':function(){const _0x3a0e2d=_0x420ce1;var _0xbf07c5;if(!(this[_0x3a0e2d(0x1ba)]&&this[_0x3a0e2d(0x520)]===this['_key'])){for(var _0x5d825a=this['_keyPriorReset']=this[_0x3a0e2d(0x3cb)],_0x14ecd2=_0x5d825a['words'],_0x3f9b1a=_0x5d825a[_0x3a0e2d(0x66f)]/0x4,_0x3e6718=this['_nRounds']=_0x3f9b1a+0x6,_0x3a042b=(_0x3e6718+0x1)*0x4,_0x4f1cb1=this[_0x3a0e2d(0x2f0)]=[],_0x3dd54a=0x0;_0x3dd54a<_0x3a042b;_0x3dd54a++)_0x3dd54a<_0x3f9b1a?_0x4f1cb1[_0x3dd54a]=_0x14ecd2[_0x3dd54a]:(_0xbf07c5=_0x4f1cb1[_0x3dd54a-0x1],_0x3dd54a%_0x3f9b1a?_0x3f9b1a>0x6&&_0x3dd54a%_0x3f9b1a==0x4&&(_0xbf07c5=_0xcd22d6[_0xbf07c5>>>0x18]<<0x18|_0xcd22d6[_0xbf07c5>>>0x10&0xff]<<0x10|_0xcd22d6[_0xbf07c5>>>0x8&0xff]<<0x8|_0xcd22d6[_0xbf07c5&0xff]):(_0xbf07c5=_0xbf07c5<<0x8|_0xbf07c5>>>0x18,_0xbf07c5=_0xcd22d6[_0xbf07c5>>>0x18]<<0x18|_0xcd22d6[_0xbf07c5>>>0x10&0xff]<<0x10|_0xcd22d6[_0xbf07c5>>>0x8&0xff]<<0x8|_0xcd22d6[_0xbf07c5&0xff],_0xbf07c5^=_0x11e9f1[_0x3dd54a/_0x3f9b1a|0x0]<<0x18),_0x4f1cb1[_0x3dd54a]=_0x4f1cb1[_0x3dd54a-_0x3f9b1a]^_0xbf07c5);for(var _0x162406=this['_invKeySchedule']=[],_0x556f3f=0x0;_0x556f3f<_0x3a042b;_0x556f3f++){var _0x3dd54a=_0x3a042b-_0x556f3f;if(_0x556f3f%0x4)var _0xbf07c5=_0x4f1cb1[_0x3dd54a];else var _0xbf07c5=_0x4f1cb1[_0x3dd54a-0x4];_0x556f3f<0x4||_0x3dd54a<=0x4?_0x162406[_0x556f3f]=_0xbf07c5:_0x162406[_0x556f3f]=_0x3cd4ad[_0xcd22d6[_0xbf07c5>>>0x18]]^_0x36fa34[_0xcd22d6[_0xbf07c5>>>0x10&0xff]]^_0x1695c0[_0xcd22d6[_0xbf07c5>>>0x8&0xff]]^_0x1ca24c[_0xcd22d6[_0xbf07c5&0xff]];}}},'encryptBlock':function(_0x36fd13,_0x534448){const _0x37a5c8=_0x420ce1;this['_doCryptBlock'](_0x36fd13,_0x534448,this[_0x37a5c8(0x2f0)],_0x7f6dc7,_0x4d560f,_0x1b0558,_0x54f1fa,_0xcd22d6);},'decryptBlock':function(_0x1146a7,_0x2a4ac0){const _0x30c847=_0x420ce1;var _0x29b253=_0x1146a7[_0x2a4ac0+0x1];_0x1146a7[_0x2a4ac0+0x1]=_0x1146a7[_0x2a4ac0+0x3],_0x1146a7[_0x2a4ac0+0x3]=_0x29b253,this[_0x30c847(0x293)](_0x1146a7,_0x2a4ac0,this[_0x30c847(0x3ce)],_0x3cd4ad,_0x36fa34,_0x1695c0,_0x1ca24c,_0x286e97);var _0x29b253=_0x1146a7[_0x2a4ac0+0x1];_0x1146a7[_0x2a4ac0+0x1]=_0x1146a7[_0x2a4ac0+0x3],_0x1146a7[_0x2a4ac0+0x3]=_0x29b253;},'_doCryptBlock':function(_0x2c25ce,_0x30b5fd,_0x1ea49c,_0x313491,_0x272f95,_0x413c5d,_0x12c225,_0x249d34){const _0x5f1529=_0x420ce1;for(var _0x49ef9a=this[_0x5f1529(0x1ba)],_0x228375=_0x2c25ce[_0x30b5fd]^_0x1ea49c[0x0],_0x519a32=_0x2c25ce[_0x30b5fd+0x1]^_0x1ea49c[0x1],_0x5667cb=_0x2c25ce[_0x30b5fd+0x2]^_0x1ea49c[0x2],_0x4c79b2=_0x2c25ce[_0x30b5fd+0x3]^_0x1ea49c[0x3],_0x5c22dc=0x4,_0x59d63f=0x1;_0x59d63f<_0x49ef9a;_0x59d63f++){var _0x4c5183=_0x313491[_0x228375>>>0x18]^_0x272f95[_0x519a32>>>0x10&0xff]^_0x413c5d[_0x5667cb>>>0x8&0xff]^_0x12c225[_0x4c79b2&0xff]^_0x1ea49c[_0x5c22dc++],_0x322c55=_0x313491[_0x519a32>>>0x18]^_0x272f95[_0x5667cb>>>0x10&0xff]^_0x413c5d[_0x4c79b2>>>0x8&0xff]^_0x12c225[_0x228375&0xff]^_0x1ea49c[_0x5c22dc++],_0x438e30=_0x313491[_0x5667cb>>>0x18]^_0x272f95[_0x4c79b2>>>0x10&0xff]^_0x413c5d[_0x228375>>>0x8&0xff]^_0x12c225[_0x519a32&0xff]^_0x1ea49c[_0x5c22dc++],_0x45650e=_0x313491[_0x4c79b2>>>0x18]^_0x272f95[_0x228375>>>0x10&0xff]^_0x413c5d[_0x519a32>>>0x8&0xff]^_0x12c225[_0x5667cb&0xff]^_0x1ea49c[_0x5c22dc++];_0x228375=_0x4c5183,_0x519a32=_0x322c55,_0x5667cb=_0x438e30,_0x4c79b2=_0x45650e;}var _0x4c5183=(_0x249d34[_0x228375>>>0x18]<<0x18|_0x249d34[_0x519a32>>>0x10&0xff]<<0x10|_0x249d34[_0x5667cb>>>0x8&0xff]<<0x8|_0x249d34[_0x4c79b2&0xff])^_0x1ea49c[_0x5c22dc++],_0x322c55=(_0x249d34[_0x519a32>>>0x18]<<0x18|_0x249d34[_0x5667cb>>>0x10&0xff]<<0x10|_0x249d34[_0x4c79b2>>>0x8&0xff]<<0x8|_0x249d34[_0x228375&0xff])^_0x1ea49c[_0x5c22dc++],_0x438e30=(_0x249d34[_0x5667cb>>>0x18]<<0x18|_0x249d34[_0x4c79b2>>>0x10&0xff]<<0x10|_0x249d34[_0x228375>>>0x8&0xff]<<0x8|_0x249d34[_0x519a32&0xff])^_0x1ea49c[_0x5c22dc++],_0x45650e=(_0x249d34[_0x4c79b2>>>0x18]<<0x18|_0x249d34[_0x228375>>>0x10&0xff]<<0x10|_0x249d34[_0x519a32>>>0x8&0xff]<<0x8|_0x249d34[_0x5667cb&0xff])^_0x1ea49c[_0x5c22dc++];_0x2c25ce[_0x30b5fd]=_0x4c5183,_0x2c25ce[_0x30b5fd+0x1]=_0x322c55,_0x2c25ce[_0x30b5fd+0x2]=_0x438e30,_0x2c25ce[_0x30b5fd+0x3]=_0x45650e;},'keySize':0x100/0x20});_0x4f5032['AES']=_0x293d79['_createHelper'](_0x4574bd);}()),_0xcaa19c[_0x20f54c(0x22f)];}));}(ke)),ke['exports'];}var Ds=ys();const Ps=$e(Ds);var ws=ji();const ci=$e(ws);var ze={'exports':{}},Us=ze[_0x24e421(0x432)],li;function Ms(){const _0x38e7ba=_0x24e421;return li||(li=0x1,function(_0x575eb0,_0xf5fdca){(function(_0x4766f5,_0x46921a){const _0x42b8d4=_0x5e3c;_0x575eb0[_0x42b8d4(0x432)]=_0x46921a(se());}(Us,function(_0x1fe2cf){const _0xeb4928=_0x5e3c;return _0x1fe2cf['enc'][_0xeb4928(0x3f9)];}));}(ze)),ze[_0x38e7ba(0x432)];}function _0x13dd(){const _0x480c98=['attrs','decrypt','syncEditingCollabCursor','randomUUID','fromCollab','init','_socketMessageSubscription','onRemoteAck','entries','_refRangeService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_redoStacks','_listenToOnlineEvent','salt','contains','createDecryptor','createEncryptor','_docClipboardService','Base64','hasher','closePath','catch','_onOffline','_getCtorByUniverType','combineLatest','collaboratorID','_session','setUndoRedoMutationParamsCache','_retryCount','getImage','merge','_colorAssignService','none','authzUrl','_keyPriorReset','getUniverSheetInstance','DocSkeletonManagerService','INGEST','registerDependencies','debug','clear','_localeService','disposeUnit','_collabSessionService','_imageIoService','UNIVER_COLLABORATION_CLIENT_PLUGIN','_updateURLWithCurrentState','_event$','_transformUndoRedoStack','Inject','jsxs','_docSyncEditingCollabCursorService','getDocRanges','DesktopCollaborationStatusDisplayController','initWorkbookPermissionChange','_collabCursorController','HEARTBEAT','_online','MentionType','editing\x20status\x20changed\x20to','getParam','resend','_httpService','@univerjs-pro/collaboration','onlyLocal','clipPath','_updateStatus','_init','getCurrent','CONFLICT','isTransformChangesetsSuccess','_getSessionTicket','call','mode','onlineStatus','/universer-api/file/{fileID}/sign-url','exhaustSavingTask','downloadEndpointUrl','_send','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','univer-pro.collaboration-client-socket-service','revision','univer-online','pipe','append','_candidateSocket','subUnitId','0\x200\x2017\x2016','unpad','putCollaborators','InsertColCommandId','_append','transformIMECache','change$','socketService','source','path','setParam','blockSize','touchDependencies','updatePermissionObjEvent','{fileID}','_renderManagerService','CompressMutationService','_sendingTimer','HTTPService','_scheduleHeartbeat','transformStateCache','appendMutation','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','on-line-single_clip0_910_349','_process','30iapxpK','csShouldRetryEvent','transformUndoRedo','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','members','WebURLService','charCodeAt','UPDATE_PERMISSION_OBJ','getRangePointData','SerializableCipher','msCrypto','_labelPosition','mapDocumentTypeToUniverType','RemoveColCommandId','_undoRedoService','then','782975rtotIO','name','ImageUploadStatusType','_cursor','Pkcs7','\x20-\x20','find','_startSheetCollabCursor','SYNCED','assign','baseRev','subscribeEvent','_onRemoteRetry','ONLINE','collaboration.single-unit.warning','ColorKit','collaboration-client.config','put','format','UPDATE_CURSOR','_drawAnchor','ivSize','updateOfflineData','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','abs','status','RECV','fillRule','_onCursorUpdate','NEW_CHANGESETS','_localStorageService','CONNECTOR_DATA_TOO_LARGE','_messageService','pushState','SnapshotServerOverHTTPService','_initStatusListener','shouldCloseConn','_handleLeaveEvent','enableAuthServer','_throwTelemetryCollaborationNewChangeset','_transformUndoredo','_transformStack','USERS_ENTER','_state$','drawWith','key','OnLineSingle','_themeService','delete','transformMutationsWithChangeset','SheetPermissionInitController','TEXT_RANGE_LAYER_INDEX','CHANGESET_SHOULD_RETRY','CollaborationEvent','_permissionService','throttleTime','UNIVER_DOC','_exhaustRemoteChangesetQueue','getColor','height','DOC_RANGE_TYPE','url(#$1','/universer-api/stream/file/upload','defineProperty','_transformStateCache','_lastPointer','_handleJoinEvent','univer-offline','_configService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DeleteRangeMoveLeftCommandId','idSuffix','onReady','getUnit','red300','location','InsertRangeMoveRightCommandId','update','_initMergeInterceptor','onCommentUpdate','RECT','whenReady','_eventUnsubscribe','forEach','_acknowledgedAwaitingChangeset','buffer','_initCloseConn','code','SHEET_VIEWPORT_KEY','_updateLocalCache','ACTIVE_UNIT_EVENT_CHANNEL','tag','LICENSE_DISTRO_REJECTED','conflict','IBeforeCloseService','_cipher','compute','SUCCUSS','event$','HmacMD5','textRanges','rxjs/operators','MemberService','withCredentials','_createInitialState','pending','HmacSHA1','_backgroundColor','_selfUnitIDs','_cachedData','toggleOffline','method','YUUMI_RATE_OVER_LIMIT','localeService','registerHTTPInterceptor','closeSession','_removeRoom','responseType','bind','_transformRemoteChangesetByStateCache','FAIL','collab-client.tooltip.reconnect','_injector','isEditing','univer-pro.collaboration-client.single-active-unit-service','Subject','_entityInit$','_changesetSessionId','IDLE','getActiveSheet','getUnitStatus$','size','joinEvent','encodeURIComponent','column','black','popstate','session.room-cnt-exceeds','_getDownloadEndpointURL','_snapshotServerService','getUnitId','HEARTBEAT_INTERVAL_KEY','_roomMembers','history','OffLineSingle','WordArray','_iv','auth.needGotoLoginAlert','GLOBAL_ROOMS_CNT_EXCEEDS','replaceState','_docTransformStateCacheService','addObject','getCurrentUser','urlChange$','_status$','ReplaySubject','3030232lpIqqL','leaveEvent','_userManagerService','collaborators','ciphertext','SUBMIT_CHANGESET','collaboration-client.offline-data-not-saved','getTime','onRemoteChangeset','_unitOnClients','saveSnapshot','_getLoginPath','_handleHeartbeatEvent','InsertSheetMutation','children','className','_onRemoteACK','_registerDependencies','words','UnitSnapshot','onTransformRemoteChangesetByStateCache','saveChangeset','[SyncedState]:\x20received\x20rejection.','collabStatus.notCollab','ImageSourceType','_onUserJoin','_getAPIPrefix','&source=','_scheduleClearOtherTimer','IPermissionService','forwardRef','COMPRESS_MUTATION_APPLY','RegularPolygon','refreshPermission','purple300','triggerDblclick','getOwnPropertySymbols','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getAncestorScale','&assign=','mapTo','deserializeToCombResponse','fillStyle','getTypeOfUnitDisposed$','executeCommand','[PendingState]:\x20received\x20rejection.','ReactCurrentOwner','disableLocalCache','sheets','CHANGESET_REJ','string','mutations','_snapshotService','_createHandler','_hash','image/jpeg','subject','indexOf','div','onTransformChange$','LIVESHARE_OPERATION','setShapeProps','IURLService','_collaborationController','sheetId','\x0aAfter:\x20','deleteCollaborator','next','DependentOn','_getAPIPrefixPath','online','image/bmp','enableLocalCache','save\x20fail\x20reason\x20is\x20','transformByState','_updateState','JOIN_ROOM_FULL','Tools','fetchThroughInterceptors','setActiveRange','BufferedBlockAlgorithm','_collaborationTimeoutTimer','collaMsg','_socketService','_isPermissionRej','sigBytes','trim','registerRenderModule','univer-online-status-icon','getSheetObject','WorkbookEditablePermission','@univerjs/docs-ui','_oKey','wsSessionTicketUrl','_removeClearOtherTimer','addClipboardHook','CHANGESET_ACK','TEXT','textEncoder','Optional','object','socket$','_pendingMutations','_getScale','ceil','defs','319701eCeTCJ','ALREADY_EXISTS','PERSON','_timeoutTimer','_instanceService','PENDING','defaultProps','AuthzIoHttpService','_nRounds','hasOwnProperty','csAckEvent','HELLO','loadDoc','getCurrentRevOfUnit','_substituteUndoStack','deserializeRangeWithSheet','UNDEFINED','_getMergeRange','reject','_sessions','_drawTextRange','toLowerCase','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_submitChangeset','byteOffset','unitID','_entities','OFFLINE','get','_colorIndex','take','_hovered','_handleEvent','enc','isTransformMutationsWithChangesetFailure','url','[CollaborationSession]','clamp','default','_clearOtherTimers','includes','reqId','hovered','_docStateChangeManagerService','translate(.97)','encode','_config','onMissedChangesetFetched','getRenderById','override','UNKNOWN_CMD','resourceIDs','handleDeleteRangeMoveUp','icon','min','_disableEditing','_docSkeletonManagerService','getLatestCsReqIdBySid','splice','_showConflictNotification','runRefRangeMutations','memberID','parse','SheetCollaborationEntity','getValue','onTransformIME','delay','_loadSheet','getWorkbookSelections','ERROR_EXCEED_SIZE','/unit/','_handler','rng','_updateLocalCursor','ENSURE_SNAPSHOT_EXECUTION','FileId','Disposable','top','unshift','takeUntil','unsubscribe','removeMember','_createInitialStateImpl','EffectRefRangId','transformChangesets','_unlockTransition','/collaborator','_clearTimeoutTimer','890098mCyqhR','doc.mutation.rich-text-editing','post','?url=','setShowComponents','_transitionLocked','_getUndoStack','__Key__','readInt32LE','CollaborationController','_DEC_XFORM_MODE','_resendTimer','/object/','x-univer-host','shareReplay','SheetsSelectionsService','socket\x20close','UnitEmbedded','_sheetTransformSelectionsService','_beforeCloseService','HttpExport','startTime','_resendTimeout','getOwnPropertyDescriptor','\x20in\x20_schedule.','round','Injector','_sender','number','loadOfflineData','EvpKDF','INotificationService','toggleOnline','keySize','getFocusedUnit','_setupBeforeClosingHandler','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','AES','_docTransformIMECacheService','USERS_LEAVE','error$','rev','all','cursorInfo$','updateMember','@univerjs/docs','Error\x20on\x20receiving\x20event','skeleton','_type','mergeOverrideWithDependencies','_draw','fill','_clearCollaborationTimeoutTimer','BASE64','gold400','byteLength','_saveCache','SNAPSHOT_URL_KEY','disposeWithMe','params','BlockCipherMode','NOT_COLLAB','PSEUDO_FETCH_MISSING_RESULT','session.join-failed','deepClone','DocIMEInputManagerService','_hasher','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','fromCharCode','/universer-api/oidc/authpage','parseProtocolChangeset','MoveRangeCommandId','getCurrentSelections','_telemetryService','c1Prime','finalize','#FFF','getInterceptPoints','ranges','action','_unitStatus','setConfig','SEND_CHANGESET_TIMEOUT','requireSession','lib','data','_onConflict','debounce','_tryEnsureSocket','COLORS','IDocClipboardService','offline','_handleHover','1em','onCommandExecuted','_socket$','lineTo','univer-online-status-title','reduce','resolve','collab-rect-range-','_mode','isTransformMutationsWithChangesetSuccess','split','color','Error','batchAllowed','FromArray','json','Univer','createInstance','ref','defIds','_transformSelections','onRendered','save','_clearScheduledTask','_xformMode','271432jjXLZK','getUndoRedoMutationParamsCache','_clearHeartbeatTimer','NoPadding','jsx','asObservable','_lockTransition','getCoordByCell','HEADER_MENU','Encryptor','onRemoteRej','ticket','endRow','_onRecvEvent','_getAnchorBounding','RETRY_CONNECTING_MAX_COUNT','UniverCollaborationClientPlugin','getMergeData','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_doCryptBlock','focused$','pluginName','APPLY_DUPLICATED','objects','updateCursorEvent','onload','_clearUndo','registerOnClose','roomMembers$','bottom','HTTPRequest','socket\x20open.','requestParams','debounceTime','sendChangesetTimeout','UNKNOWN_CODE','toDisposable','randomBytes','CollaborationEntity','_syncEditingCollabCursorService','_waitCount','_scene','75nVbCfd','headers','getSheetBySheetId','[CollaborationEntity]','url(#off-line-single_clip0_910_343)','_initEventListeners','encrypt','ICommandService','_replaceFileID','onSendChangeset','VIEW_MAIN','has','getRelativeToViewportCoord','useDependency','actions','JOIN_ROOM_PERMISSION_DENIED','show','react.fragment','_localCacheService','JOINING','_removeCollabCursors','_memberService','COMPRESS_MUTATION_SEND','M0\x200H16V16H0z','YUUMI_URL_COL_OUT_OF_RANGE','Base','_initResize','_commentService','LICENSE_IMPORT_SIZE_EXCEEDED','OpenSSL','_undoStacks','@univerjs/design','/universer-api/comb','retryConnectingInterval','@univerjs/rpc','clearTimeout','_socket','SnapshotService','ERROR_IMAGE','_onConnectionFailed','getSheetBlock','assignAColorForMemberID','PERMISSION_REJ','HEARTBEAT_TIMEOUT_KEY','LIVESHARE_TERMINATE','join','status$','Latin1','_scheduleSaving','LOGIN_URL_KEY','COLLAB_SUBMIT_CHANGESET_URL','@univerjs/engine-formula','unknown','objectType','function','onRemoteRetry','addImageSourceCache','FETCH_MISS','substring','hide','evenodd','getVpScrollXYInfoByPosToVp','_tryReconnect','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','width','react.element','_loadDoc','saveSheetBlock','updateCollaborator','endColumn','_keySchedule','setItem','handleMoveRange','AWAITING_WITH_PENDING','_onCursorDelete','getItem','reverse','selections','push','sequenceExecute','IAuthzIoService','_sendHeartbeat','handleIRemoveRow','labelPosition','MentionIoHttpService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_createHelper','_sheetSkeletonManagerService','?size=','concatMap','replace','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','handleInsertRangeMoveDown','updatePermissionPoint','_transformHistoryAndStateStack','_awaitingChangeset','add','NOT_FOUND','APPLY_REJECT','UserManagerService','visibilitychange','incrementRevOfUnit','state$','_updateCollabCursors','repeat','DocSelectionManagerService','_updateSubUnitFromURLParams','arc','getSnapshotAPIPath','_replayCachedMutations','IMentionIOService','_stopTelemetryCollaborationNewChangeset','WebSocketService','objectActions','AWAITING','\x20to\x20','ThresholdInterceptorFactory','fetchMiss','COLLAB_WEB_SOCKET_URL','_onRemoteRejected','on-line-single','title','failed\x20to\x20apply\x20missed\x20changesets!','send','collabCursorState$','transformMutation','body','imageSourceType','@univerjs/engine-render','onlineStatusTitle','_revisionService','YUUMI_SUBSCRIPTION_NOT_FOUND','hostname','algo','_cursors','getCurrentUnitForType','listRoles','_joinRoom','transform','currentTheme$','handleInsertCol','_getUploadFileURL','some','HEARTBEAT_INTERVAL','StreamCipher','changesets','createSocket','cmd','_id','session.connection-failed','setWaitCount','_transformPreviousActiveRange','CommandType','collabStatus.syncing','IUniverInstanceService','UNIVER_UNKNOWN','LIVESHARE_NEW_HOST','toString','LICENSE_MAX_UNITS_EXCEEDED','_initDependencies','onMouseMove','connection\x20error','unitId\x20is\x20not\x20found','replaceDocRanges','charAt','_decreaseWaiting','_toggleOffline','NO_OTHER_CLIENTS_EDITING','@univerjs/core','transformStack\x20failed!','saveImage','UniverInstanceType','interceptor','isArray','getTypeOfUnitAdded$','unitId','close$','commentUpdateEvent','_onMessage','objectID','_onLocalMutation','mixIn','UNRECOGNIZED','conflict.content','dispose$','_context','application/json','m2Prime','MD5','prototype','_data','_onConnectionOpen','/object','max','HttpImport','userID','ISnapshotServerService','Cipher','_anchor','for','[CollaborationSessionService]','AUTHZ_URL_KEY','JOIN_ROOM_NOT_EXISTS','[FetchMissState]','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_drawRectRange','_color','ITransformService','setCurrentUser','setAlpha','_clearLocalCache','_http','decryptBlock','isActive','getRandomValues','_registerRenderDependencies','_cursorInfo$','_logService','NodePositionConvertToRectRange','beginPath','/fetchmissing?from=','floor','_collaborationPaused','createIdentifier','list','getUnitType','message$','unit','restore','docStateChange$','state','execute','_uiPartsService','joinRsp','close','svg','_transformRemoteChangesetByIMECache','sessionStatus','image/png','SheetCollabCursorShape','_getSheetObject','clearInterval','_transformIMECache','values','switchMap','collaboration_new_changeset','_hideTimer','extend','_createSocketURL','encryptBlock','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','enableSingleActiveInstanceLock','stringify','fromEventSubject','getRoom','_collabCursorState$','_members','transformSelections','text','_imageSourceCache','xlink:href','loginUrlKey','confirm','LIVESHARE_REQUEST_HOST','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_saveTaskMap','CollaborationSessionService','cfg','_getSaveTimeout','current','_HTTPService','@univerjs/network','IConfigService','getCollabEntity','DataLoaderController','_parse','RichTextEditingMutation','cursorInfo','_commandService','blue400','COLLAB_SUBMIT_CHANGESET_URL_KEY','eventID','&to=','_clearRedo','uni.network.url-service','_initUnitPermissionChange','IRenderManagerService','length','SNAPSHOT_SERVER_URL_KEY','_key','_roomMembers$','session','_invKeySchedule','CollaborationStatusDisplay','_compressMutationService','handleIRemoveCol','open$','Could\x20not\x20dynamically\x20require\x20\x22','_range','_transformService','_executeRemoteChangeset','POST','Workbook','_schedule','ThemeService','Rectangle','_toggleOnline','Decryptor','searchParams','filter','equals','_initStatusComponent','_minBufferSize','_shapes','handleInsertRow','result','_assignedColors','crypto','collaboration-session-retry','_changesetReqId','_checkMissing','COMPLETION_FINISHED','clone','_retryConnectingTimer','_incrementRevisionNumber','onSyncEditingCollabCursor','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_scheduleTimestamp','addEventListener','14LtTRGf','SNAPSHOT_INVALID_SNAPSHOT','_docSkeleton','startsWith','SHOULD_CLOSE_CONN','serializeRangeWithSheet','Utf8','onPointerEnter$','IUndoRedoService','_ensureSubject','isInternalEditorID','isTransformMutationFailure','_ws','_urlService','origin','IMessageService','fillText','flatMap','Shape','slice','_prevBlock','type','/allowed','_unitID','range','_hover','_doFinalize','getMember','liveShareNewHost','findNodePositionByCharIndex','useCallback','sid','awaiting_with_pending','onTransformState','_createHmacHelper','_cursorShapes','addObjects','currentColor','copyFileMeta','duration','roomMembers','href','setStateCache','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','LOCAL_CACHE_INTERVAL','fetching\x20missing\x20changesets\x20from\x20','/block/','CommentService','collabStatus.synced','padding','_resendWithTimeout','_onRefRangeChange','DocCollaborationEntity','Undefined','selection','c2Prime','formatter','reset','/universer-api/snapshot','use','saveOfflineData','DeleteRangeMoveUpCommandId','resize','exports','_heartbeatTimer','_commentUpdate$','ICollaborationSocketService','currentSkeleton$','concat','RevisionService','[UniverCollaborationClientPlugin]','getResourcesRequest','INVALID_ARGUMENT','SNAPSHOT_HAS_BEEN_REMOVED','sin','BehaviorSubject','getSkeleton','BlockCipher','__esModule','with','allowed','RxDisposable','createElement','snapshotServerUrl','getConfig','pad','/rev/','set','_onUserLeave','ILocalStorageService','_collaborationSessionService','getStateCache','_startTelemetryCollaborationNewChangeset','registerComponent','m1Prime','_textBubble','fetchMissingChangesets','ws://127.0.0.1:8000/universer-api/comb/connect','generateRandomId','_render','SetTextSelectionsOperation','IImageIoService','LIVESHARE_FETCH_OPERATIONS','unit-cache-','_queuedRemoteChangesets','collaboration.closeRoom','collab-text-anchor-','rgba(255,\x20255,\x20255,\x200.01)','COMMENT_UPDATE','Unknown\x20user','synced','fetch_missing','apply','UniverNetworkPlugin','complete','_startDocCollabCursor','url(#on-line-single_clip0_910_349)','LocaleService','_state','setTimeout','SetWorksheetActivateCommand','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','image/jpg','_getSignURL','onPointerLeave$','create','Hex','UNIVER_SLIDE','Hasher','/role','_remoteChangesetQueue','_onCombEvent','redoState','onTransformRemoteChangesetByIMECache','_socketReady','LEAVE','[OfflineState]:\x20received\x20acknowledgement.','stopTime','awaitingChangeset','APPLY_REVISION_CONFILICT','_scheduleCollaborationTimeoutTimer','handleInsertRangeMoveRight','LOCAL_CACHE_INTERVAL_KEY','JSONX','Warning','EmptyMutation','font','APPLY_NON_SEQUENTIAL_REVISION','_getCurrentRevision','#fff','LocalUndoRedoService','from','off-line-single_clip0_910_343','FETCH_MISSING','loadSheet','_getRedoStack','IRemoteInstanceService','getSheetId','_iKey','SheetSkeletonManagerService','CollaborationSession','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','ILogService','[DataLoaderController]','processBlock','random','DisposableCollection','map','_shouldReportTelemetry','undoState','UniverIcon','error','_univerInstanceService','registerBeforeClose','every','CHANGESET_REVISION_CONFILICT','UNAUTHENTICATED','onPointerMove$','now','routeKey','originalMeta','MergeInterceptorFactory','_sendHeartbeatTimer','SetSelectionsOperation','_onJoinRoomEvent','getCollabCursors$','MessageType','_singleActiveUnitService','_docTransformSelectionsService','_syncEditingCollabCursor','getMemberID','LocalCacheService','CollabrationImageIoService','react','/universer-api/snapshot/','INTERNAL_ERROR','_onRemoteChangeset','/-/object/-/batch_allowed','_disabled','_waitForHeartbeatResponse','TOO_MANY_REQUESTS','transformRemoteChangeset','PERMISSION_DENIED','_rescheduleHeartbeat','moveTo','_change$','collabSubmitChangesetUrl','_anchorDot','9MvHIxh','SHA1','MUTATION','patch','OTHER_CLIENTS_EDITING','backgroundColor','COLLAB_WEB_SOCKET_URL_KEY','CollaborationSocketService','_notificationService','dispose','toStringTag','_refreshCollabCursors','$super','[CollaborationState]:\x20apply\x20error!','UNIVER_SHEET','session.will-retry','subscribe','getUnhiddenWorksheets','kdf','607176jqjiLQ','uploadFileServerUrl','_getSendChangesetTimeout','subunit','registerRefRange','/universer-api/authz','removeParam','isPermissionRej','_initCommandExecutedListener','Rect','DocStateChangeManagerService','infoRsp','reconnect','univerjs-icon\x20univerjs-icon-','collab-text-range-','measureText','_onFetchMissResult','colorChannel1','collabStatus.fetchMiss','_substituteRedoStack','_startCollaboration','37644DXfbXW','_sessionStatus$','YUUMI_UNABLE_LOAD_URL','_telemetryInfo','_name','sessionStatus$','iterations','SEND_CHANGESET_TIMEOUT_KEY','_nDataBytes','onTransformSelections','session.room-permission-denied','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','fromEvent','b64DecodeUnicode','...','getCollabEntity$','getCellPositionByOffset','JOIN','workbook'];_0x13dd=function(){return _0x480c98;};return _0x13dd();}var Ns=Ms();const As=$e(Ns);var Xe={'exports':{}},Ls=Xe[_0x24e421(0x432)],hi;function xs(){return hi||(hi=0x1,function(_0x123e41,_0x22eb8d){(function(_0x1b20cb,_0x3d4334){const _0x5c7285=_0x5e3c;_0x123e41[_0x5c7285(0x432)]=_0x3d4334(se());}(Ls,function(_0x1f12b1){return(function(){const _0x4efbad=_0x5e3c;if(typeof ArrayBuffer==_0x4efbad(0x2e0)){var _0x163568=_0x1f12b1,_0x24b36c=_0x163568['lib'],_0x18a1e4=_0x24b36c['WordArray'],_0x5216ad=_0x18a1e4[_0x4efbad(0x503)],_0x4587e5=_0x18a1e4['init']=function(_0x407fd3){const _0x11096c=_0x4efbad;if(_0x407fd3 instanceof ArrayBuffer&&(_0x407fd3=new Uint8Array(_0x407fd3)),(_0x407fd3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x407fd3 instanceof Uint8ClampedArray||_0x407fd3 instanceof Int16Array||_0x407fd3 instanceof Uint16Array||_0x407fd3 instanceof Int32Array||_0x407fd3 instanceof Uint32Array||_0x407fd3 instanceof Float32Array||_0x407fd3 instanceof Float64Array)&&(_0x407fd3=new Uint8Array(_0x407fd3[_0x11096c(0x5d3)],_0x407fd3[_0x11096c(0x1ca)],_0x407fd3[_0x11096c(0x241)])),_0x407fd3 instanceof Uint8Array){for(var _0x62453c=_0x407fd3[_0x11096c(0x241)],_0x20dd3d=[],_0x13ae5a=0x0;_0x13ae5a<_0x62453c;_0x13ae5a++)_0x20dd3d[_0x13ae5a>>>0x2]|=_0x407fd3[_0x13ae5a]<<0x18-_0x13ae5a%0x4*0x8;_0x5216ad[_0x11096c(0x546)](this,_0x20dd3d,_0x62453c);}else _0x5216ad[_0x11096c(0x463)](this,arguments);};_0x4587e5['prototype']=_0x18a1e4;}}()),_0x1f12b1['lib']['WordArray'];}));}(Xe)),Xe['exports'];}var $s=xs();const js=$e($s);var Je={'exports':{}},Hs=Je['exports'],_i;function Bs(){const _0x1ff2ee=_0x24e421;return _i||(_i=0x1,function(_0x4a6623,_0x318d3e){(function(_0x2e0743,_0x2c9462,_0x198ac3){const _0x35abc9=_0x5e3c;_0x4a6623[_0x35abc9(0x432)]=_0x2c9462(se(),Bi());}(Hs,function(_0x3a9372){const _0x141d62=_0x5e3c;return _0x3a9372[_0x141d62(0x448)][_0x141d62(0x283)]={'pad':function(){},'unpad':function(){}},_0x3a9372[_0x141d62(0x448)][_0x141d62(0x283)];}));}(Je)),Je[_0x1ff2ee(0x432)];}var ks=Bs();const Ws=$e(ks);function Fs(_0x426ff6,_0x268dd4){const _0x35236f=_0x24e421,_0x2519f9=_0x268dd4-_0x426ff6[_0x35236f(0x3c9)]%_0x268dd4,_0x3d20b3=String[_0x35236f(0x24e)](_0x2519f9)[_0x35236f(0x312)](_0x2519f9);return _0x426ff6+_0x3d20b3;}function Vs(_0x19a648,_0x235ed9){const _0x29e777=_0x24e421,_0x359aa0=js[_0x29e777(0x498)](0x10),_0x12d622=Fs(_0x19a648,0x10),_0x2db20d=Ps[_0x29e777(0x2b0)](As['parse'](_0x12d622),ci[_0x29e777(0x1f0)](_0x235ed9),{'iv':_0x359aa0,'padding':Ws});return _0x359aa0[_0x29e777(0x437)](_0x2db20d[_0x29e777(0x61e)])['toString'](ci);}function Gs(){const _0x2ec97f=_0x24e421,_0x23e075=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x2ec97f(0x211)];if(_0x23e075){const _0xfb928b={'time':Math[_0x2ec97f(0x387)](Date[_0x2ec97f(0x4a5)]()/0x3e8),'domain':location[_0x2ec97f(0x32e)]};return Vs(JSON['stringify'](_0xfb928b),_0x23e075);}}var Ys=Object[_0x24e421(0x5bd)],qs=Object[_0x24e421(0x221)],Ks=(_0xa4a1b5,_0x263c72,_0x9e6a6b,_0x2f883b)=>{for(var _0x260bdc=_0x2f883b>0x1?void 0x0:_0x2f883b?qs(_0x263c72,_0x9e6a6b):_0x263c72,_0x5aa8ea=_0xa4a1b5['length']-0x1,_0x5a4f84;_0x5aa8ea>=0x0;_0x5aa8ea--)(_0x5a4f84=_0xa4a1b5[_0x5aa8ea])&&(_0x260bdc=(_0x2f883b?_0x5a4f84(_0x263c72,_0x9e6a6b,_0x260bdc):_0x5a4f84(_0x260bdc))||_0x260bdc);return _0x2f883b&&_0x260bdc&&Ys(_0x263c72,_0x9e6a6b,_0x260bdc),_0x260bdc;},zs=(_0x219476,_0x1dce05)=>(_0x4b800e,_0x5df7c9)=>_0x1dce05(_0x4b800e,_0x5df7c9,_0x219476);let st=class{constructor(_0x3bd56a){this['_httpService']=_0x3bd56a,this['_initRequestHeader']();}['_initRequestHeader'](){const _0x507731=_0x24e421;this[_0x507731(0x53c)][_0x507731(0x5f0)]({'interceptor':(_0x473706,_0x3a6cf6)=>{const _0x563f39=_0x507731,_0x3a8861=_0x473706[_0x563f39(0x2ab)],_0x3b28f4=Gs();return _0x3b28f4&&_0x3a8861['set'](_0x563f39(0x217),_0x3b28f4),_0x3a6cf6(_0x473706);}});}};st=Ks([zs(0x0,a[_0x24e421(0x52f)](z[_0x24e421(0x567)]))],st);var Xs=Object[_0x24e421(0x5bd)],Js=Object['getOwnPropertyDescriptor'],Zs=(_0x5e7448,_0x3ebc8a,_0x5e8bda,_0x16cfbb)=>{const _0x318d6e=_0x24e421;for(var _0x10caf4=_0x16cfbb>0x1?void 0x0:_0x16cfbb?Js(_0x3ebc8a,_0x5e8bda):_0x3ebc8a,_0x2f30ff=_0x5e7448[_0x318d6e(0x3c9)]-0x1,_0x2a879a;_0x2f30ff>=0x0;_0x2f30ff--)(_0x2a879a=_0x5e7448[_0x2f30ff])&&(_0x10caf4=(_0x16cfbb?_0x2a879a(_0x3ebc8a,_0x5e8bda,_0x10caf4):_0x2a879a(_0x10caf4))||_0x10caf4);return _0x16cfbb&&_0x10caf4&&Xs(_0x3ebc8a,_0x5e8bda,_0x10caf4),_0x10caf4;},Et=(_0x188c59,_0x21946b)=>(_0x743fc7,_0x34feff)=>_0x21946b(_0x743fc7,_0x34feff,_0x188c59);const Qs=[_0x24e421(0x398),_0x24e421(0x651),_0x24e421(0x46d),'image/gif',_0x24e421(0x661)],eo=0x5*0x400*0x400,to=_0x24e421(0x3f0),io=_0x24e421(0x5bc),no=_0x24e421(0x63f),ro=_0x24e421(0x549);exports[_0x24e421(0x4b3)]=class{constructor(_0x5706da,_0x50e791,_0x9aa3ae){const _0xd9aec1=_0x24e421;I(this,_0xd9aec1(0x2a8),0x0),I(this,_0xd9aec1(0x4c0),new N[(_0xd9aec1(0x5fb))]()),I(this,_0xd9aec1(0x55b),this[_0xd9aec1(0x4c0)]),I(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x5706da,this[_0xd9aec1(0x5c2)]=_0x50e791,this[_0xd9aec1(0x49f)]=_0x9aa3ae);}[_0x24e421(0x340)](_0x1e0e49){const _0x37b658=_0x24e421;this['_waitCount']=_0x1e0e49,this[_0x37b658(0x4c0)][_0x37b658(0x65d)](_0x1e0e49);}['getImageSourceCache'](_0x382220,_0x2dd718){const _0x441d1a=_0x24e421;if(_0x2dd718===te[_0x441d1a(0x632)][_0x441d1a(0x23f)]){const _0x160df5=new Image();return _0x160df5['src']=_0x382220,_0x160df5;}return this[_0x441d1a(0x3ad)][_0x441d1a(0x1ce)](_0x382220);}[_0x24e421(0x2e2)](_0x2a00b,_0x4ecfb4,_0x5b97e1){const _0x45058c=_0x24e421;_0x4ecfb4===te[_0x45058c(0x632)][_0x45058c(0x23f)]||_0x5b97e1==null||this[_0x45058c(0x3ad)][_0x45058c(0x44a)](_0x2a00b,_0x5b97e1);}async[_0x24e421(0x51b)](_0x13929a){const _0x2a600d=_0x24e421;try{const _0x45bd92=this[_0x2a600d(0x2b2)](this[_0x2a600d(0x46e)](),''+_0x13929a),_0x4a1f71=(await this['_httpService']['get'](_0x45bd92))[_0x2a600d(0x328)];if(_0x4a1f71[_0x2a600d(0x49e)]&&_0x4a1f71[_0x2a600d(0x49e)][_0x2a600d(0x5d5)]===bi['OK']){const _0x43d44a=new URL(_0x4a1f71[_0x2a600d(0x1d5)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x2a600d(0x26d)](_0x43d44a);}return Promise[_0x2a600d(0x1c4)](_0x4a1f71[_0x2a600d(0x49e)]);}catch(_0x57e39e){return Promise['reject'](_0x57e39e);}}async[_0x24e421(0x354)](_0x42231a){const _0x1b0233=_0x24e421;let _0xaa70c='';if(!Qs[_0x1b0233(0x1da)](_0x42231a[_0x1b0233(0x408)]))return this[_0x1b0233(0x34f)](),Promise[_0x1b0233(0x1c4)](new Error(te[_0x1b0233(0x580)]['ERROR_IMAGE_TYPE']));if(_0x42231a[_0x1b0233(0x601)]>eo)return this['_decreaseWaiting'](),Promise[_0x1b0233(0x1c4)](new Error(te[_0x1b0233(0x580)][_0x1b0233(0x1f7)]));try{const _0x3046c8=new FormData();_0x3046c8[_0x1b0233(0x552)]('file',_0x42231a);const _0x507d5f=this[_0x1b0233(0x49f)][_0x1b0233(0x22c)](),_0x2eb0d4=_0x507d5f==null?void 0x0:_0x507d5f[_0x1b0233(0x60a)]();if(!_0x2eb0d4)throw new Error(_0x1b0233(0x34c));const _0x1b122d=this[_0x1b0233(0x337)]()+_0x1b0233(0x302)+_0x42231a['size'][_0x1b0233(0x347)]()+_0x1b0233(0x635)+Ti[_0x1b0233(0x21b)]+_0x1b0233(0x641)+encodeURIComponent(_0x2eb0d4),_0x3bf6af=await(await fetch(_0x1b122d,{'method':_0x1b0233(0x3d7),'body':_0x3046c8}))[_0x1b0233(0x276)]();if(typeof _0x3bf6af[_0x1b0233(0x1fd)]!=_0x1b0233(0x64c))return this['_decreaseWaiting'](),Promise['reject'](new Error(te[_0x1b0233(0x580)][_0x1b0233(0x2d0)]));_0xaa70c=_0x3bf6af[_0x1b0233(0x1fd)];}catch{return this['_decreaseWaiting'](),Promise[_0x1b0233(0x1c4)](new Error(te[_0x1b0233(0x580)][_0x1b0233(0x2d0)]));}return new Promise((_0xfb4c15,_0x4ea2aa)=>{const _0x410b6f=_0x1b0233,_0x2458da=new FileReader();_0x2458da['readAsDataURL'](_0x42231a),_0x2458da[_0x410b6f(0x299)]=_0x3d266a=>{const _0x2667fd=_0x410b6f;var _0x4ffe20;const _0x4501fd=(_0x4ffe20=_0x3d266a['target'])==null?void 0x0:_0x4ffe20[_0x2667fd(0x3e5)];if(_0x4501fd==null){this[_0x2667fd(0x34f)](),_0x4ea2aa(new Error(te[_0x2667fd(0x580)]['ERROR_IMAGE']));return;}const _0x51bb9e=a[_0x2667fd(0x667)][_0x2667fd(0x455)](0x6);_0xfb4c15({'imageId':_0x51bb9e,'imageSourceType':te[_0x2667fd(0x632)]['UUID'],'source':_0xaa70c,'base64Cache':_0x4501fd,'status':te[_0x2667fd(0x580)][_0x2667fd(0x5df)]}),this[_0x2667fd(0x34f)]();};});}[_0x24e421(0x337)](){const _0x299a2c=_0x24e421;var _0x8a1e6,_0x5c480c;const _0x417ed9=this[_0x299a2c(0x5c2)][_0x299a2c(0x447)](to),_0xb0c396=this[_0x299a2c(0x5c2)][_0x299a2c(0x447)](Z);return(_0x5c480c=(_0x8a1e6=_0xb0c396==null?void 0x0:_0xb0c396[_0x299a2c(0x4d7)])!=null?_0x8a1e6:_0x417ed9)!=null?_0x5c480c:io;}['_getSignURL'](){const _0x57d069=_0x24e421;var _0x3f1278,_0x53989a;const _0x17b7be=this['_configService'][_0x57d069(0x447)](no),_0x25dbd6=this[_0x57d069(0x5c2)][_0x57d069(0x447)](Z);return(_0x53989a=(_0x3f1278=_0x25dbd6==null?void 0x0:_0x25dbd6['signUrlServerUrl'])!=null?_0x3f1278:_0x17b7be)!=null?_0x53989a:ro;}[_0x24e421(0x608)](){const _0x27b92f=_0x24e421;var _0x2668eb;const _0x1ef079=this[_0x27b92f(0x5c2)]['getConfig'](Z);return(_0x2668eb=_0x1ef079==null?void 0x0:_0x1ef079[_0x27b92f(0x54b)])!=null?_0x2668eb:location[_0x27b92f(0x401)];}[_0x24e421(0x2b2)](_0x42eb6a,_0x4e14f7){const _0x36f533=_0x24e421;return _0x42eb6a[_0x36f533(0x304)](_0x36f533(0x563),_0x4e14f7);}['_decreaseWaiting'](){const _0x612112=_0x24e421;this[_0x612112(0x2a8)]-=0x1,this[_0x612112(0x4c0)][_0x612112(0x65d)](this[_0x612112(0x2a8)]);}},exports[_0x24e421(0x4b3)]=Zs([Et(0x0,a['Inject'](z[_0x24e421(0x567)])),Et(0x1,a[_0x24e421(0x3ba)]),Et(0x2,a[_0x24e421(0x52f)](a[_0x24e421(0x344)]))],exports[_0x24e421(0x4b3)]);var so=Object[_0x24e421(0x5bd)],oo=Object[_0x24e421(0x221)],ao=(_0x5c0136,_0x41868a,_0x1d4443,_0x3c5ac6)=>{for(var _0x2f1168=_0x3c5ac6>0x1?void 0x0:_0x3c5ac6?oo(_0x41868a,_0x1d4443):_0x41868a,_0x15a923=_0x5c0136['length']-0x1,_0x38c340;_0x15a923>=0x0;_0x15a923--)(_0x38c340=_0x5c0136[_0x15a923])&&(_0x2f1168=(_0x3c5ac6?_0x38c340(_0x41868a,_0x1d4443,_0x2f1168):_0x38c340(_0x2f1168))||_0x2f1168);return _0x3c5ac6&&_0x2f1168&&so(_0x41868a,_0x1d4443,_0x2f1168),_0x2f1168;},ui=(_0x415e5a,_0x5c4046)=>(_0x528278,_0x5e9368)=>_0x5c4046(_0x528278,_0x5e9368,_0x415e5a);const co=_0x24e421(0x4db);exports[_0x24e421(0x2fe)]=class{constructor(_0x289864,_0x1dea9d){const _0x3ceac2=_0x24e421;this[_0x3ceac2(0x5c2)]=_0x289864,this[_0x3ceac2(0x3b8)]=_0x1dea9d;}[_0x24e421(0x65f)](){const _0x414fec=_0x24e421;var _0x421c9f,_0x195d90;const _0x36040f=this[_0x414fec(0x5c2)][_0x414fec(0x447)](xt),_0xee413e=this[_0x414fec(0x5c2)][_0x414fec(0x447)](Z);return(_0x195d90=(_0x421c9f=_0xee413e==null?void 0x0:_0xee413e[_0x414fec(0x51f)])!=null?_0x421c9f:_0x36040f)!=null?_0x195d90:co;}async[_0x24e421(0x38a)](_0x11f418){const _0x54a28a=_0x24e421,_0x32975b=this['_getAPIPrefixPath']()+_0x54a28a(0x208);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x54a28a(0x1ce)](_0x32975b,{'params':{'objectID':_0x11f418[_0x54a28a(0x359)],'unitID':_0x11f418[_0x54a28a(0x359)]}}))[_0x54a28a(0x328)][_0x54a28a(0x61d)][_0x54a28a(0x49a)](_0x557a00=>({'objectId':_0x557a00['id'],'name':_0x557a00['subject'][_0x54a28a(0x57f)],'metadata':{'icon':_0x557a00[_0x54a28a(0x652)]['avatar']},'label':_0x557a00[_0x54a28a(0x652)][_0x54a28a(0x57f)],'objectType':a[_0x54a28a(0x538)]['PERSON']})),'metadata':{},'type':a[_0x54a28a(0x538)][_0x54a28a(0x686)]}]};}},exports[_0x24e421(0x2fe)]=ao([ui(0x0,a[_0x24e421(0x52f)](a[_0x24e421(0x3ba)])),ui(0x1,a['Inject'](z[_0x24e421(0x567)]))],exports['MentionIoHttpService']);var lo=Object[_0x24e421(0x5bd)],ho=Object[_0x24e421(0x221)],_o=(_0x22f89b,_0x5f2a2e,_0x14183e,_0x2c0f1e)=>{const _0x4922fe=_0x24e421;for(var _0x16d30=_0x2c0f1e>0x1?void 0x0:_0x2c0f1e?ho(_0x5f2a2e,_0x14183e):_0x5f2a2e,_0x98ffe=_0x22f89b[_0x4922fe(0x3c9)]-0x1,_0x4348e7;_0x98ffe>=0x0;_0x98ffe--)(_0x4348e7=_0x22f89b[_0x98ffe])&&(_0x16d30=(_0x2c0f1e?_0x4348e7(_0x5f2a2e,_0x14183e,_0x16d30):_0x4348e7(_0x16d30))||_0x16d30);return _0x2c0f1e&&_0x16d30&&lo(_0x5f2a2e,_0x14183e,_0x16d30),_0x16d30;},Ne=(_0x21c02f,_0x3c37d6)=>(_0xa9a19d,_0x126510)=>_0x3c37d6(_0xa9a19d,_0x126510,_0x21c02f);let ot=class extends a[_0x24e421(0x444)]{constructor(_0x56d1ac,_0x2d3b80,_0x45918b,_0x2c6634,_0x4d144b){const _0x4b9ae3=_0x24e421;super(),this[_0x4b9ae3(0x5f8)]=_0x56d1ac,this[_0x4b9ae3(0x49f)]=_0x2d3b80,this[_0x4b9ae3(0x5b4)]=_0x45918b,this['_collaborationSessionService']=_0x2c6634,this['_localeService']=_0x4d144b,this[_0x4b9ae3(0x3c7)](),this[_0x4b9ae3(0x5d4)]();}[_0x24e421(0x5d4)](){const _0x49743f=_0x24e421,_0x18766a=async _0x12eed7=>{const _0x3cbdbf=_0x5e3c;(await this[_0x3cbdbf(0x44d)][_0x3cbdbf(0x25d)](_0x12eed7))[_0x3cbdbf(0x5e0)][_0x3cbdbf(0x551)](V[_0x3cbdbf(0x3df)](_0x5e65ab=>_0x5e65ab[_0x3cbdbf(0x3c3)]===m['CollaborationEvent']['SHOULD_CLOSE_CONN']),V['takeUntil'](this['dispose$']))[_0x3cbdbf(0x4d3)](_0x5d895f=>{const _0xe42966=_0x3cbdbf,_0x23f9fd=_0x5d895f,{reason:_0x532e1d}=_0x23f9fd['data'];this[_0xe42966(0x5f8)][_0xe42966(0x1ce)](ee[_0xe42966(0x402)])[_0xe42966(0x2ba)]({'type':Ce['MessageType'][_0xe42966(0x273)],'content':this[_0xe42966(0x527)]['t'](_0xe42966(0x45c))+'('+_0x532e1d+')'}),this[_0xe42966(0x5b4)][_0xe42966(0x307)](new k[(_0xe42966(0x674))](_0x12eed7)['id'],!0x1),this[_0xe42966(0x44d)][_0xe42966(0x5f1)](_0x12eed7);});};N[_0x49743f(0x51c)](this[_0x49743f(0x49f)][_0x49743f(0x358)](a[_0x49743f(0x355)]['UNIVER_SHEET']),this[_0x49743f(0x49f)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x49743f(0x5b6)]))[_0x49743f(0x551)](V[_0x49743f(0x49a)](_0x44aa8c=>_0x44aa8c[_0x49743f(0x60a)]()),V[_0x49743f(0x3df)](_0xd42157=>!a[_0x49743f(0x3fd)](_0xd42157)),V[_0x49743f(0x201)](this[_0x49743f(0x362)]))['subscribe'](_0x177abb=>{_0x18766a(_0x177abb);});}[_0x24e421(0x3c7)](){const _0x3d9564=_0x24e421,_0x32419f=async _0x1d4bd0=>{const _0x10173a=_0x5e3c;(await this[_0x10173a(0x44d)][_0x10173a(0x25d)](_0x1d4bd0))[_0x10173a(0x5e0)][_0x10173a(0x551)](V['filter'](_0x5b7416=>_0x5b7416[_0x10173a(0x3c3)]===m[_0x10173a(0x5b3)][_0x10173a(0x575)]),V[_0x10173a(0x201)](this['dispose$']))['subscribe'](_0x4eb69f=>{const _0x2f628e=_0x10173a,_0x5de286=_0x4eb69f,{objectId:_0x284b0b}=_0x5de286[_0x2f628e(0x25f)],_0x41820c=this[_0x2f628e(0x5f8)][_0x2f628e(0x1ce)](Le[_0x2f628e(0x5b0)]);_0x284b0b===_0x1d4bd0?_0x41820c[_0x2f628e(0x534)](_0x1d4bd0):_0x41820c[_0x2f628e(0x63b)](_0x1d4bd0,_0x284b0b);});};N[_0x3d9564(0x51c)](this[_0x3d9564(0x49f)][_0x3d9564(0x358)](a['UniverInstanceType'][_0x3d9564(0x4d1)]),this[_0x3d9564(0x49f)][_0x3d9564(0x358)](a[_0x3d9564(0x355)][_0x3d9564(0x5b6)]))['pipe'](V['map'](_0x5ab278=>_0x5ab278[_0x3d9564(0x60a)]()),V[_0x3d9564(0x3df)](_0x4f0f6c=>!a[_0x3d9564(0x3fd)](_0x4f0f6c)),V[_0x3d9564(0x201)](this[_0x3d9564(0x362)]))[_0x3d9564(0x4d3)](_0x10d041=>{_0x32419f(_0x10d041);});}};ot=_o([Ne(0x0,a[_0x24e421(0x52f)](a['Injector'])),Ne(0x1,a[_0x24e421(0x344)]),Ne(0x2,a[_0x24e421(0x637)]),Ne(0x3,a['Inject'](exports[_0x24e421(0x3b4)])),Ne(0x4,a[_0x24e421(0x52f)](a[_0x24e421(0x468)]))],ot);var uo=Object[_0x24e421(0x5bd)],fo=Object[_0x24e421(0x221)],vo=(_0x153d60,_0x3c984a,_0x442c7b,_0x162467)=>{const _0x4585ff=_0x24e421;for(var _0x3d2893=_0x162467>0x1?void 0x0:_0x162467?fo(_0x3c984a,_0x442c7b):_0x3c984a,_0xc08777=_0x153d60[_0x4585ff(0x3c9)]-0x1,_0xc9b81f;_0xc08777>=0x0;_0xc08777--)(_0xc9b81f=_0x153d60[_0xc08777])&&(_0x3d2893=(_0x162467?_0xc9b81f(_0x3c984a,_0x442c7b,_0x3d2893):_0xc9b81f(_0x3d2893))||_0x3d2893);return _0x162467&&_0x3d2893&&uo(_0x3c984a,_0x442c7b,_0x3d2893),_0x3d2893;},di=(_0x2a7c95,_0x7fe95f)=>(_0x97d8c,_0x57dddd)=>_0x7fe95f(_0x97d8c,_0x57dddd,_0x2a7c95);exports[_0x24e421(0x5a0)]=class{constructor(_0x16da73,_0x2da479){const _0x31691c=_0x24e421;this[_0x31691c(0x5c2)]=_0x16da73,this['_httpService']=_0x2da479;}async['getUnitOnRev'](_0x45e07e,_0x474c0e){const _0x2ea14f=_0x24e421;var _0x1f81b4;const {unitID:_0x3d4505,type:_0xdcf616,revision:_0x1e0985=0x0}=_0x474c0e,_0x2bc253=this[_0x2ea14f(0x316)]()+'/'+_0xdcf616+'/unit/'+_0x3d4505+_0x2ea14f(0x449)+_0x1e0985,_0x19217b=(await this['_httpService'][_0x2ea14f(0x1ce)](_0x2bc253))['body'],_0x3bb818=(_0x1f81b4=_0x19217b['snapshot'])==null?void 0x0:_0x1f81b4[_0x2ea14f(0x4fd)];if(_0x3bb818){const _0x1002c3=_0x3bb818==null?void 0x0:_0x3bb818[_0x2ea14f(0x4a7)],_0x17322d=m[_0x2ea14f(0x67c)][_0x2ea14f(0x1df)](m[_0x2ea14f(0x4f8)](_0x1002c3));_0x3bb818[_0x2ea14f(0x4a7)]=_0x17322d,Object['entries'](_0x3bb818[_0x2ea14f(0x64a)])[_0x2ea14f(0x5d1)](([,_0x31948b])=>{const _0x67fb8f=_0x2ea14f,_0x2c98a3=_0x31948b['originalMeta'],_0x586e6f=m['textEncoder'][_0x67fb8f(0x1df)](m[_0x67fb8f(0x4f8)](_0x2c98a3));_0x31948b['originalMeta']=_0x586e6f;});}return _0x19217b;}async[_0x24e421(0x2d2)](_0x23725e,_0x588e57){const _0x9911c2=_0x24e421,{unitID:_0x35aacb,type:_0x16e283,blockID:_0xe62d2c}=_0x588e57,_0x1dbf87=this[_0x9911c2(0x634)]()+'/'+_0x16e283+_0x9911c2(0x1f8)+_0x35aacb+_0x9911c2(0x421)+_0xe62d2c;return(await this[_0x9911c2(0x53c)][_0x9911c2(0x1ce)](_0x1dbf87))[_0x9911c2(0x328)];}async['getDeserializedSheetBlock'](_0x46f54b,_0x2f2f4a){const _0x3393bd=_0x24e421,{unitID:_0x45b2b7,type:_0x1e2c6e,blockID:_0xdf5ca}=_0x2f2f4a,_0xd965b3=this[_0x3393bd(0x634)]()+_0x3393bd(0x421)+_0x1e2c6e+_0x3393bd(0x1f8)+_0x45b2b7+_0x3393bd(0x421)+_0xdf5ca;return(await this['_httpService'][_0x3393bd(0x1ce)](_0xd965b3))[_0x3393bd(0x328)];}async[_0x24e421(0x453)](_0x5bb1ab,_0x166df6){const _0x197280=_0x24e421,{unitID:_0x2e4af0,type:_0x341f03,from:_0x3e7449,to:_0x5dcf69}=_0x166df6,_0x463d01=this[_0x197280(0x634)]()+'/'+_0x341f03+_0x197280(0x1f8)+_0x2e4af0+_0x197280(0x386)+_0x3e7449+_0x197280(0x3c4)+_0x5dcf69;return(await this[_0x197280(0x53c)][_0x197280(0x1ce)](_0x463d01))[_0x197280(0x328)];}['getSnapshotAPIPath'](){const _0x36a025=_0x24e421;var _0x5dd02a;return(_0x5dd02a=this['_configService'][_0x36a025(0x447)](vi))!=null?_0x5dd02a:this[_0x36a025(0x634)]();}['_getAPIPrefix'](){const _0x3a6203=_0x24e421;var _0x53dc73,_0x179050;const _0xd5816=this[_0x3a6203(0x5c2)][_0x3a6203(0x447)](fi),_0x317cc4=this[_0x3a6203(0x5c2)]['getConfig'](Z);return(_0x179050=(_0x53dc73=_0x317cc4==null?void 0x0:_0x317cc4[_0x3a6203(0x446)])!=null?_0x53dc73:_0xd5816)!=null?_0x179050:qi;}async[_0x24e421(0x43a)](_0x1c4a21,_0x16f8df){const _0x1d6ffa=_0x24e421,_0x26a767=_0x1d6ffa(0x4b5)+_0x16f8df[_0x1d6ffa(0x408)]+_0x1d6ffa(0x1f8)+_0x16f8df['unitID']+'/resources';return(await this[_0x1d6ffa(0x53c)][_0x1d6ffa(0x1ce)](_0x26a767,{'params':{'resourceId':JSON[_0x1d6ffa(0x3a6)](_0x16f8df[_0x1d6ffa(0x1e5)])}}))[_0x1d6ffa(0x328)];}[_0x24e421(0x624)](){const _0x5e35d3=_0x24e421;throw new Error(_0x5e35d3(0x2e9));}[_0x24e421(0x2ed)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x24e421(0x62f)](){const _0x5158d6=_0x24e421;throw new Error(_0x5158d6(0x2e9));}[_0x24e421(0x419)](){const _0x451eae=_0x24e421;throw new Error(_0x451eae(0x2e9));}[_0x24e421(0x1eb)](){const _0x1db58d=_0x24e421;throw new Error(_0x1db58d(0x2e9));}},exports[_0x24e421(0x5a0)]=vo([di(0x0,a[_0x24e421(0x3ba)]),di(0x1,a[_0x24e421(0x52f)](z[_0x24e421(0x567)]))],exports[_0x24e421(0x5a0)]);var So=Object[_0x24e421(0x5bd)],po=Object[_0x24e421(0x221)],mo=(_0x4bdde7,_0xa31a72,_0x500e4a,_0x140c9c)=>{const _0x29768d=_0x24e421;for(var _0x4ba93f=_0x140c9c>0x1?void 0x0:_0x140c9c?po(_0xa31a72,_0x500e4a):_0xa31a72,_0x8e96d7=_0x4bdde7[_0x29768d(0x3c9)]-0x1,_0x2811a2;_0x8e96d7>=0x0;_0x8e96d7--)(_0x2811a2=_0x4bdde7[_0x8e96d7])&&(_0x4ba93f=(_0x140c9c?_0x2811a2(_0xa31a72,_0x500e4a,_0x4ba93f):_0x2811a2(_0x4ba93f))||_0x4ba93f);return _0x140c9c&&_0x4ba93f&&So(_0xa31a72,_0x500e4a,_0x4ba93f),_0x4ba93f;},Ae=(_0x37e47c,_0x159f2d)=>(_0x479f1b,_0x1dd4d7)=>_0x159f2d(_0x479f1b,_0x1dd4d7,_0x37e47c);let yt=class extends a[_0x24e421(0x489)]{constructor(_0x128d84,_0x39f10f,_0x54a6d7,_0x4909f1,_0x106ccb){const _0x5653f1=_0x24e421;super(_0x128d84,_0x39f10f,_0x54a6d7),this[_0x5653f1(0x3d5)]=_0x4909f1,this[_0x5653f1(0x383)]=_0x106ccb;}['transformUndoRedo'](_0x482160,_0x1962dc){const _0x442a17=_0x24e421,_0x171808=this[_0x442a17(0x210)](_0x482160);if(_0x171808)try{const _0x2370d4=this[_0x442a17(0x5a7)](_0x171808,_0x1962dc);this[_0x442a17(0x1c0)](_0x482160,_0x2370d4);}catch(_0x14b921){this[_0x442a17(0x383)][_0x442a17(0x49e)]('[CollaborationUndoRedoService]',_0x14b921),this[_0x442a17(0x29a)](_0x482160);}const _0x116bac=this[_0x442a17(0x48e)](_0x482160);if(_0x116bac)try{const _0x5f5dfd=this[_0x442a17(0x5a7)](_0x116bac,_0x1962dc);this['_substituteRedoStack'](_0x482160,_0x5f5dfd);}catch(_0x57da74){this[_0x442a17(0x383)][_0x442a17(0x49e)](_0x57da74),this['_clearRedo'](_0x482160);}}[_0x24e421(0x29a)](_0x5a92e1){const _0x71b401=_0x24e421,_0x12765e=this[_0x71b401(0x210)](_0x5a92e1);_0x12765e&&(_0x12765e[_0x71b401(0x3c9)]=0x0,this[_0x71b401(0x540)]());}[_0x24e421(0x3c5)](_0x23546e){const _0x5510a7=_0x24e421,_0x2dc836=this[_0x5510a7(0x48e)](_0x23546e);_0x2dc836&&(_0x2dc836[_0x5510a7(0x3c9)]=0x0,this[_0x5510a7(0x540)]());}[_0x24e421(0x1c0)](_0xea1198,_0xa94f80){const _0x520304=_0x24e421;this[_0x520304(0x2c8)][_0x520304(0x44a)](_0xea1198,_0xa94f80),this[_0x520304(0x540)]();}[_0x24e421(0x4e9)](_0x480154,_0x205d52){const _0x3d5923=_0x24e421;this[_0x3d5923(0x509)]['set'](_0x480154,_0x205d52),this[_0x3d5923(0x540)]();}[_0x24e421(0x5a7)](_0x648bf9,_0x59674b){const _0xae239a=_0x24e421,_0x3e5c25=[];let _0x45760b=_0x59674b,_0x4997ea=_0x59674b;for(let _0x160777=_0x648bf9[_0xae239a(0x3c9)]-0x1;_0x160777>=0x0;_0x160777--){const {unitID:_0x3b1089,undoMutations:_0x25a5c4,redoMutations:_0x52040d}=_0x648bf9[_0x160777],_0x20ed80=this[_0xae239a(0x3d5)]['transformMutationsWithChangeset'](_0x45760b,_0x25a5c4),_0x141a9d=this[_0xae239a(0x3d5)][_0xae239a(0x5af)](_0x4997ea,_0x52040d);if(m['isTransformMutationsWithChangesetFailure'](_0x20ed80)||m[_0xae239a(0x1d4)](_0x141a9d)){this[_0xae239a(0x383)][_0xae239a(0x49e)]('[CollaborationUndoRedoService]',_0xae239a(0x353),_0x20ed80,_0x141a9d);break;}_0x45760b=_0x20ed80[_0xae239a(0x254)],_0x4997ea=_0x141a9d[_0xae239a(0x254)],_0x3e5c25['push']({'unitID':_0x3b1089,'undoMutations':_0x20ed80['m2Prime'],'redoMutations':_0x141a9d[_0xae239a(0x365)]});}return _0x3e5c25[_0xae239a(0x2f6)]();}};yt=mo([Ae(0x0,a[_0x24e421(0x344)]),Ae(0x1,a['ICommandService']),Ae(0x2,a['IContextService']),Ae(0x3,m['ITransformService']),Ae(0x4,a[_0x24e421(0x495)])],yt);class ki extends a[_0x24e421(0x444)]{constructor(){const _0x4961ed=_0x24e421;super(),I(this,_0x4961ed(0x617)),this['urlChange$']=N[_0x4961ed(0x4f7)](window,_0x4961ed(0x606))[_0x4961ed(0x551)](N['takeUntil'](this[_0x4961ed(0x362)]),N['shareReplay'](0x1),N[_0x4961ed(0x642)](void 0x0));}[_0x24e421(0x55f)](_0x3d2dc5,_0x1b09fc,_0x11a206=!0x1){const _0x116ced=_0x24e421,_0x7a1121=new URL(window[_0x116ced(0x5c9)][_0x116ced(0x41c)]);_0x7a1121[_0x116ced(0x3de)][_0x116ced(0x44a)](_0x3d2dc5,_0x1b09fc),_0x11a206?window['history'][_0x116ced(0x613)]('','',_0x7a1121[_0x116ced(0x347)]()):window[_0x116ced(0x60d)]['pushState']('','',_0x7a1121[_0x116ced(0x347)]());}[_0x24e421(0x4dc)](_0x11a15a,_0x6ee52d=!0x1){const _0x4f8a32=_0x24e421,_0x59818b=new URL(window['location'][_0x4f8a32(0x41c)]);_0x59818b[_0x4f8a32(0x3de)][_0x4f8a32(0x5ae)](_0x11a15a),_0x6ee52d?window[_0x4f8a32(0x60d)]['replaceState']('','',_0x59818b[_0x4f8a32(0x347)]()):window[_0x4f8a32(0x60d)][_0x4f8a32(0x59f)]('','',_0x59818b['toString']());}['getParam'](_0x2f1129){const _0x2fa6df=_0x24e421;var _0x535db3;return(_0x535db3=new URL(window['location'][_0x2fa6df(0x41c)])['searchParams']['get'](_0x2f1129))!=null?_0x535db3:void 0x0;}}var Wi=Object['defineProperty'],go=Object[_0x24e421(0x221)],Io=(_0x106267,_0x13ad82,_0x3b6afd)=>_0x13ad82 in _0x106267?Wi(_0x106267,_0x13ad82,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b6afd}):_0x106267[_0x13ad82]=_0x3b6afd,Co=(_0x5eecc6,_0x2513cb,_0x337316,_0x114a54)=>{for(var _0x9f4dd7=_0x114a54>0x1?void 0x0:_0x114a54?go(_0x2513cb,_0x337316):_0x2513cb,_0x5e19de=_0x5eecc6['length']-0x1,_0x31d34d;_0x5e19de>=0x0;_0x5e19de--)(_0x31d34d=_0x5eecc6[_0x5e19de])&&(_0x9f4dd7=(_0x114a54?_0x31d34d(_0x2513cb,_0x337316,_0x9f4dd7):_0x31d34d(_0x9f4dd7))||_0x9f4dd7);return _0x114a54&&_0x9f4dd7&&Wi(_0x2513cb,_0x337316,_0x9f4dd7),_0x9f4dd7;},Be=(_0x370197,_0x3565da)=>(_0x46d8fa,_0x1dab2c)=>_0x3565da(_0x46d8fa,_0x1dab2c,_0x370197),Eo=(_0x40047d,_0x571ff0,_0x268eb0)=>Io(_0x40047d,_0x571ff0+'',_0x268eb0);const bo=_0x24e421(0x52b);exports[_0x24e421(0x290)]=class extends a['Plugin']{constructor(_0x527d72=sn,_0x1365e1,_0x42b8fd,_0x5010d2,_0x3f95be){const _0x250562=_0x24e421;super(),this['_config']=_0x527d72,this[_0x250562(0x383)]=_0x1365e1,this[_0x250562(0x564)]=_0x42b8fd,this[_0x250562(0x5f8)]=_0x5010d2,this[_0x250562(0x5c2)]=_0x3f95be;const {..._0x5d1751}=this[_0x250562(0x1e0)];this[_0x250562(0x5c2)][_0x250562(0x25b)](Z,_0x5d1751);}['onStarting'](){const _0x1a1d81=_0x24e421;this[_0x1a1d81(0x62b)](),this['_initDependencies']();}[_0x24e421(0x5c6)](){const _0x9c9973=_0x24e421;a[_0x9c9973(0x561)](this[_0x9c9973(0x5f8)],[[nt],[it]]);}[_0x24e421(0x27c)](){const _0x438f3f=_0x24e421;this[_0x438f3f(0x381)]();}[_0x24e421(0x62b)](){const _0x567b1d=_0x24e421;var _0x1902e4,_0x2f3d21,_0x45f3bb,_0x43c6c9;this[_0x567b1d(0x5f8)][_0x567b1d(0x2b5)](a[_0x567b1d(0x3fb)])&&this[_0x567b1d(0x383)][_0x567b1d(0x49e)](_0x567b1d(0x439),_0x567b1d(0x56b));const _0x51fbdd=[[a[_0x567b1d(0x3fb)],{'useClass':yt}],[exports[_0x567b1d(0x3b4)]],[Nt],[Lt,{'useClass':ki}],[exports[_0x567b1d(0x5e4)]],[exports[_0x567b1d(0x4b2)]],[z['WebSocketService']],[Qe],[tt],[Ze],[et],[Ut],[rt],[st],[wt],[ot],[Pt,{'useClass':(_0x2f3d21=(_0x1902e4=this['_config'])==null?void 0x0:_0x1902e4[_0x567b1d(0x55c)])!=null?_0x2f3d21:exports[_0x567b1d(0x4ca)]}],[m[_0x567b1d(0x36e)],{'useClass':exports[_0x567b1d(0x5a0)]}],[a[_0x567b1d(0x2fa)],{'useClass':exports['AuthzIoHttpService']}],[te[_0x567b1d(0x458)],{'useClass':exports[_0x567b1d(0x4b3)]}],[a[_0x567b1d(0x318)],{'useClass':exports[_0x567b1d(0x2fe)]}],[exports[_0x567b1d(0x213)]],[exports[_0x567b1d(0x3bc)]],[exports[_0x567b1d(0x533)]],[nt],[ye],[it]];(_0x45f3bb=this[_0x567b1d(0x1e0)])!=null&&_0x45f3bb[_0x567b1d(0x3a5)]&&_0x51fbdd[_0x567b1d(0x2f8)]([at,{'useClass':$n}]),a[_0x567b1d(0x524)](this[_0x567b1d(0x5f8)],a[_0x567b1d(0x23b)](_0x51fbdd,(_0x43c6c9=this['_config'])==null?void 0x0:_0x43c6c9[_0x567b1d(0x1e3)]));}[_0x24e421(0x381)](){const _0x49a3b1=_0x24e421;this[_0x49a3b1(0x244)](this[_0x49a3b1(0x564)][_0x49a3b1(0x671)](a['UniverInstanceType'][_0x49a3b1(0x5b6)],[Rt])),this['disposeWithMe'](this[_0x49a3b1(0x564)][_0x49a3b1(0x671)](a[_0x49a3b1(0x355)][_0x49a3b1(0x4d1)],[Ot]));}[_0x24e421(0x349)](){const _0x2a9e57=_0x24e421;var _0x3809ee,_0x269c95;this[_0x2a9e57(0x5f8)][_0x2a9e57(0x1ce)](z[_0x2a9e57(0x567)])[_0x2a9e57(0x5f0)]({'priority':0x14,'interceptor':z[_0x2a9e57(0x31e)]({'maxParallel':0x6})}),(_0x3809ee=this[_0x2a9e57(0x1e0)])!=null&&_0x3809ee['enableOfflineEditing']||this[_0x2a9e57(0x5f8)][_0x2a9e57(0x1ce)](exports[_0x2a9e57(0x4b2)])['disableLocalCache'](),(_0x269c95=this[_0x2a9e57(0x1e0)])!=null&&_0x269c95[_0x2a9e57(0x5a4)]&&a[_0x2a9e57(0x561)](this[_0x2a9e57(0x5f8)],[[rt]]),a[_0x2a9e57(0x561)](this[_0x2a9e57(0x5f8)],[[st],[ye],[exports['DataLoaderController']],[exports[_0x2a9e57(0x213)]],[exports[_0x2a9e57(0x533)]],[ot]]);}},Eo(exports['UniverCollaborationClientPlugin'],_0x24e421(0x295),bo),exports[_0x24e421(0x290)]=Co([a[_0x24e421(0x65e)](m['UniverCollaborationPlugin'],z[_0x24e421(0x464)]),Be(0x1,a['ILogService']),Be(0x2,Y[_0x24e421(0x3c8)]),Be(0x3,a['Inject'](a['Injector'])),Be(0x4,a['IConfigService'])],exports[_0x24e421(0x290)]),exports[_0x24e421(0x373)]=xt,exports[_0x24e421(0x46c)]=Z,exports[_0x24e421(0x3c2)]=Ci,exports[_0x24e421(0x4c9)]=Si,exports['CollaborationStatus']=K,exports[_0x24e421(0x3cf)]=$i,exports[_0x24e421(0x422)]=wt,exports[_0x24e421(0x60b)]=pi,exports[_0x24e421(0x2d5)]=Dt,exports[_0x24e421(0x435)]=Pt,exports[_0x24e421(0x658)]=Lt,exports[_0x24e421(0x481)]=Ii,exports[_0x24e421(0x2db)]=Ei,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=gi,exports[_0x24e421(0x4f2)]=Ki,exports[_0x24e421(0x3ca)]=fi,exports[_0x24e421(0x243)]=vi,exports['SessionStatus']=ne,exports[_0x24e421(0x399)]=Mi,exports[_0x24e421(0x573)]=ki,exports[_0x24e421(0x643)]=Ri,exports['serializeCombRequest']=Oi;
|
1
|
+
'use strict';const _0x1ab38c=_0x33d2;(function(_0x19e6d8,_0x1e5c3c){const _0x4d88a1=_0x33d2,_0x3d64c3=_0x19e6d8();while(!![]){try{const _0x4e11ef=parseInt(_0x4d88a1(0x2ea))/0x1+parseInt(_0x4d88a1(0x171))/0x2+parseInt(_0x4d88a1(0x5c1))/0x3*(-parseInt(_0x4d88a1(0x2c4))/0x4)+-parseInt(_0x4d88a1(0x59f))/0x5+-parseInt(_0x4d88a1(0x5e9))/0x6*(-parseInt(_0x4d88a1(0x2fe))/0x7)+-parseInt(_0x4d88a1(0x2ce))/0x8*(parseInt(_0x4d88a1(0x584))/0x9)+parseInt(_0x4d88a1(0x5d1))/0xa;if(_0x4e11ef===_0x1e5c3c)break;else _0x3d64c3['push'](_0x3d64c3['shift']());}catch(_0x4b2685){_0x3d64c3['push'](_0x3d64c3['shift']());}}}(_0x2a33,0xef51d));var Fi=Object['defineProperty'],Vi=(_0x4d66d7,_0x31939b,_0x2315e9)=>_0x31939b in _0x4d66d7?Fi(_0x4d66d7,_0x31939b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2315e9}):_0x4d66d7[_0x31939b]=_0x2315e9,I=(_0x2c9aa1,_0x47f251,_0xccc494)=>Vi(_0x2c9aa1,typeof _0x47f251!=_0x1ab38c(0x177)?_0x47f251+'':_0x47f251,_0xccc494);Object[_0x1ab38c(0x322)](exports,Symbol['toStringTag'],{'value':_0x1ab38c(0x550)});const a=require(_0x1ab38c(0x316)),N=require(_0x1ab38c(0x577)),V=require(_0x1ab38c(0x360)),Ce=require('@univerjs/design'),z=require(_0x1ab38c(0x42f)),ee=require(_0x1ab38c(0x383)),m=require(_0x1ab38c(0x431)),Gi=require(_0x1ab38c(0x340)),Ie=require(_0x1ab38c(0x23b)),J=require('@univerjs/docs-ui'),k=require(_0x1ab38c(0x4c8)),Y=require(_0x1ab38c(0x2fa)),te=require(_0x1ab38c(0x253)),$t=require(_0x1ab38c(0x55b)),Le=require(_0x1ab38c(0x2ae)),oe=require('react'),Yi=require(_0x1ab38c(0x197)),fi='SNAPSHOT_SERVER_URL_KEY',qi=_0x1ab38c(0x55c),vi=_0x1ab38c(0x272),Ki=_0x1ab38c(0x504),zi=0x7d0,Si='COLLAB_WEB_SOCKET_URL',Xi='ws://127.0.0.1:8000/universer-api/comb/connect',Ji=_0x1ab38c(0x1b2),pi='HEARTBEAT_INTERVAL',Zi=0x7530,Dt=_0x1ab38c(0x352),mi=0x4e20,Qi=0x4e20,gi=_0x1ab38c(0x554),en=0x3,Ii=_0x1ab38c(0x563),tn=0x3e8,Ci=_0x1ab38c(0x1a8),nn=_0x1ab38c(0x26a),Ei=_0x1ab38c(0x285),rn=_0x1ab38c(0x3a9);var bi=(_0x2fae6e=>(_0x2fae6e[_0x2fae6e['UNDEFINED']=0x0]=_0x1ab38c(0x415),_0x2fae6e[_0x2fae6e['OK']=0x1]='OK',_0x2fae6e[_0x2fae6e['INTERNAL_ERROR']=0x2]=_0x1ab38c(0x345),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x45d)]=0x3]=_0x1ab38c(0x45d),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x2de)]=0x4]=_0x1ab38c(0x2de),_0x2fae6e[_0x2fae6e['UNAUTHENTICATED']=0x5]=_0x1ab38c(0x388),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x2a3)]=0x6]=_0x1ab38c(0x2a3),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x1de)]=0x7]=_0x1ab38c(0x1de),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x604)]=0x8]=_0x1ab38c(0x604),_0x2fae6e[_0x2fae6e['COMPLETION_FINISHED']=0x9]=_0x1ab38c(0x1c9),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x3e7)]=0x1389]=_0x1ab38c(0x3e7),_0x2fae6e[_0x2fae6e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1ab38c(0x170),_0x2fae6e[_0x2fae6e['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2fae6e[_0x2fae6e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1ab38c(0x2f1),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x3e5)]=0x1b59]=_0x1ab38c(0x3e5),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x35e)]=0x1b5a]=_0x1ab38c(0x35e),_0x2fae6e[_0x2fae6e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1ab38c(0x48f),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x3c1)]=0x1b5c]=_0x1ab38c(0x3c1),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x491)]=0x1b5d]=_0x1ab38c(0x491),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x400)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2fae6e[_0x2fae6e[_0x1ab38c(0x3c3)]=0x2329]=_0x1ab38c(0x3c3),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x5e4)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2fae6e[_0x2fae6e[_0x1ab38c(0x298)]=0x232b]=_0x1ab38c(0x298),_0x2fae6e[_0x2fae6e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2fae6e[_0x2fae6e[_0x1ab38c(0x1d2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2fae6e[_0x2fae6e['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2fae6e[_0x2fae6e[_0x1ab38c(0x33b)]=0x2712]=_0x1ab38c(0x33b),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x3e1)]=0x2713]=_0x1ab38c(0x3e1),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x4bd)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2fae6e[_0x2fae6e['UNRECOGNIZED']=-0x1]=_0x1ab38c(0x4d4),_0x2fae6e))(bi||{}),ie=(_0x275d48=>(_0x275d48[_0x275d48['UNIVER_UNKNOWN']=0x0]=_0x1ab38c(0x4b4),_0x275d48[_0x275d48[_0x1ab38c(0x355)]=0x1]='UNIVER_DOC',_0x275d48[_0x275d48[_0x1ab38c(0x2e0)]=0x2]=_0x1ab38c(0x2e0),_0x275d48[_0x275d48[_0x1ab38c(0x175)]=0x3]='UNIVER_SLIDE',_0x275d48[_0x275d48[_0x1ab38c(0x5f8)]=0x4]=_0x1ab38c(0x5f8),_0x275d48[_0x275d48[_0x1ab38c(0x4d4)]=-0x1]=_0x1ab38c(0x4d4),_0x275d48))(ie||{}),G=(_0x187214=>(_0x187214[_0x187214[_0x1ab38c(0x5e5)]=0x0]=_0x1ab38c(0x5e5),_0x187214[_0x187214[_0x1ab38c(0x622)]=0x1]=_0x1ab38c(0x622),_0x187214[_0x187214[_0x1ab38c(0x4ec)]=0x2]=_0x1ab38c(0x4ec),_0x187214[_0x187214[_0x1ab38c(0x59a)]=0x3]=_0x1ab38c(0x59a),_0x187214[_0x187214[_0x1ab38c(0x273)]=0x4]=_0x1ab38c(0x273),_0x187214[_0x187214[_0x1ab38c(0x27e)]=0x5]=_0x1ab38c(0x27e),_0x187214[_0x187214[_0x1ab38c(0x484)]=0x6]='RECV',_0x187214[_0x187214[_0x1ab38c(0x4d4)]=-0x1]='UNRECOGNIZED',_0x187214))(G||{}),ge=(_0x134194=>(_0x134194[_0x134194[_0x1ab38c(0x5e8)]=0x0]=_0x1ab38c(0x5e8),_0x134194[_0x134194['OK']=0x1]='OK',_0x134194[_0x134194[_0x1ab38c(0x50d)]=0x2]=_0x1ab38c(0x50d),_0x134194[_0x134194[_0x1ab38c(0x23e)]=0x3e9]='JOIN_ROOM_FULL',_0x134194[_0x134194['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x1ab38c(0x511),_0x134194[_0x134194[_0x1ab38c(0x19d)]=0x3eb]=_0x1ab38c(0x19d),_0x134194[_0x134194[_0x1ab38c(0x3f1)]=0x3ec]=_0x1ab38c(0x3f1),_0x134194[_0x134194[_0x1ab38c(0x4d4)]=-0x1]='UNRECOGNIZED',_0x134194))(ge||{}),Ti=(_0x46b6ad=>(_0x46b6ad[_0x46b6ad[_0x1ab38c(0x1d0)]=0x0]=_0x1ab38c(0x1d0),_0x46b6ad[_0x46b6ad[_0x1ab38c(0x296)]=0x1]='HttpImport',_0x46b6ad[_0x46b6ad[_0x1ab38c(0x594)]=0x2]='HttpExport',_0x46b6ad[_0x46b6ad['UnitEmbedded']=0x3]=_0x1ab38c(0x5a4),_0x46b6ad[_0x46b6ad[_0x1ab38c(0x2fd)]=0x4]=_0x1ab38c(0x2fd),_0x46b6ad[_0x46b6ad[_0x1ab38c(0x4d4)]=-0x1]='UNRECOGNIZED',_0x46b6ad))(Ti||{});const Z=_0x1ab38c(0x5c7),sn={};function Ri(_0x4432b8){const _0x2f5fb3=_0x1ab38c;var _0x32a5f8,_0x41d20e,_0x4e52e5,_0x1b5fbd,_0x5f542e;const _0x22d151=_0x4432b8['data'],_0xd95104=JSON[_0x2f5fb3(0x625)](_0x22d151);switch(_0xd95104[_0x2f5fb3(0x3ef)]){case G['HEARTBEAT']:case G[_0x2f5fb3(0x622)]:{const _0x48aa12=_0xd95104[_0x2f5fb3(0x558)];return{..._0xd95104,'data':_0x48aa12,'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};}case G[_0x2f5fb3(0x4ec)]:{const _0x5e139e=_0xd95104['joinRsp'];return{..._0xd95104,'data':_0x5e139e,'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};}case G[_0x2f5fb3(0x484)]:{const _0x4d5ee6=_0xd95104['collaMsg'];switch(_0x4d5ee6[_0x2f5fb3(0x25e)]){case m['CollaborationEvent'][_0x2f5fb3(0x399)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':(_0x32a5f8=_0x4d5ee6['permissionRejEvent'])==null?void 0x0:_0x32a5f8['cs']},'cmd':_0xd95104['cmd']};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x405)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':(_0x41d20e=_0x4d5ee6[_0x2f5fb3(0x50e)])==null?void 0x0:_0x41d20e['cs']},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x465)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':(_0x4e52e5=_0x4d5ee6[_0x2f5fb3(0x628)])==null?void 0x0:_0x4e52e5['cs']},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m['CollaborationEvent']['CHANGESET_REJ']:return{..._0xd95104,'data':{..._0x4d5ee6,'data':(_0x1b5fbd=_0x4d5ee6[_0x2f5fb3(0x3cd)])==null?void 0x0:_0x1b5fbd['cs']},'cmd':_0xd95104['cmd']};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x3e6)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':(_0x5f542e=_0x4d5ee6[_0x2f5fb3(0x1e6)])==null?void 0x0:_0x5f542e['cs']},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x57f)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x3d6)]},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m['CollaborationEvent'][_0x2f5fb3(0x3a0)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x523)]},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x1c0)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6['leaveEvent']},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)]['LIVESHARE_NEW_HOST']:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x4e9)]},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x336)]:case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x478)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x387)]},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)]['LIVESHARE_TERMINATE']:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x4e9)]},'cmd':_0xd95104['cmd']};case m['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0xd95104,'data':_0x4d5ee6,'cmd':_0xd95104['cmd']};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x581)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x1fa)]},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x231)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x329)]},'cmd':_0xd95104['cmd']};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x60f)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x420)]},'cmd':_0xd95104['cmd']};default:return _0xd95104;}}default:return _0xd95104;}}function Oi(_0x9ccd72){const _0x24e1e8=_0x1ab38c;switch(_0x9ccd72[_0x24e1e8(0x3ef)]){case G['HEARTBEAT']:case G[_0x24e1e8(0x622)]:return JSON[_0x24e1e8(0x330)]({'cmd':_0x9ccd72[_0x24e1e8(0x3ef)],'routeKey':_0x9ccd72[_0x24e1e8(0x505)]});case G[_0x24e1e8(0x273)]:{let _0x42f1ef;switch(_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x25e)]){case m[_0x24e1e8(0x60d)][_0x24e1e8(0x57f)]:{_0x42f1ef={'eventID':m[_0x24e1e8(0x60d)]['UPDATE_CURSOR'],'updateCursorEvent':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m[_0x24e1e8(0x60d)][_0x24e1e8(0x1c0)]:{_0x42f1ef={'eventID':m['CollaborationEvent'][_0x24e1e8(0x1c0)],'leaveEvent':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m['CollaborationEvent'][_0x24e1e8(0x3a0)]:{_0x42f1ef={'eventID':m['CollaborationEvent'][_0x24e1e8(0x3a0)],'joinEvent':_0x9ccd72['data'][_0x24e1e8(0x372)]};break;}case m[_0x24e1e8(0x60d)][_0x24e1e8(0x546)]:{_0x42f1ef={'eventID':m['CollaborationEvent'][_0x24e1e8(0x546)],'liveShareNewHost':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m['CollaborationEvent'][_0x24e1e8(0x478)]:{_0x42f1ef={'eventID':m[_0x24e1e8(0x60d)][_0x24e1e8(0x478)],'liveShareOperation':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x42f1ef={'eventID':m[_0x24e1e8(0x60d)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m[_0x24e1e8(0x60d)][_0x24e1e8(0x35c)]:{_0x42f1ef={'eventID':m['CollaborationEvent'][_0x24e1e8(0x35c)],'liveShareRequestHost':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m[_0x24e1e8(0x60d)][_0x24e1e8(0x336)]:{_0x42f1ef={'eventID':m['CollaborationEvent'][_0x24e1e8(0x336)]};break;}default:_0x42f1ef={'eventID':_0x9ccd72[_0x24e1e8(0x372)]['eventID']};}return JSON[_0x24e1e8(0x330)]({'cmd':_0x9ccd72[_0x24e1e8(0x3ef)],'routeKey':_0x9ccd72['routeKey'],'collaMsg':_0x42f1ef});}case G[_0x24e1e8(0x4ec)]:return JSON['stringify']({'cmd':_0x9ccd72[_0x24e1e8(0x3ef)],'routeKey':_0x9ccd72[_0x24e1e8(0x505)],'joinReq':_0x9ccd72[_0x24e1e8(0x372)]});case G[_0x24e1e8(0x59a)]:return JSON[_0x24e1e8(0x330)]({'cmd':_0x9ccd72[_0x24e1e8(0x3ef)],'routeKey':_0x9ccd72[_0x24e1e8(0x505)],'leaveReq':_0x9ccd72[_0x24e1e8(0x372)]});default:throw new Error(_0x24e1e8(0x45f));}}var on=Object[_0x1ab38c(0x322)],an=Object[_0x1ab38c(0x5da)],cn=(_0x3221ef,_0x2823c7,_0x3336ea,_0x54e938)=>{for(var _0x539267=_0x54e938>0x1?void 0x0:_0x54e938?an(_0x2823c7,_0x3336ea):_0x2823c7,_0x34b059=_0x3221ef['length']-0x1,_0x1b2c01;_0x34b059>=0x0;_0x34b059--)(_0x1b2c01=_0x3221ef[_0x34b059])&&(_0x539267=(_0x54e938?_0x1b2c01(_0x2823c7,_0x3336ea,_0x539267):_0x1b2c01(_0x539267))||_0x539267);return _0x54e938&&_0x539267&&on(_0x2823c7,_0x3336ea,_0x539267),_0x539267;},De=(_0x10102d,_0x1e142a)=>(_0x10479a,_0x489abc)=>_0x1e142a(_0x10479a,_0x489abc,_0x10102d);const Pt=a[_0x1ab38c(0x4d5)](_0x1ab38c(0x23c));function ln(_0x52271e,_0x23f33a,_0x52f9d8){const _0x1424df=_0x1ab38c;return _0x52271e+'/'+_0x23f33a+_0x1424df(0x57d)+_0x52f9d8+_0x1424df(0x374);}exports[_0x1ab38c(0x5dd)]=class extends a[_0x1ab38c(0x382)]{constructor(_0x212ab0,_0x1cbe65,_0x16b780,_0x4afff1,_0xbab996){const _0x251bbb=_0x1ab38c;super(),this[_0x251bbb(0x2df)]=_0x212ab0,this[_0x251bbb(0x3ad)]=_0x1cbe65,this['_configService']=_0x16b780,this['_logService']=_0x4afff1,this['_snapshotServerService']=_0xbab996;}[_0x1ab38c(0x4ad)](_0x1f46a3){const _0x3adaa5=_0x1ab38c,_0x370051=this[_0x3adaa5(0x3ad)][_0x3adaa5(0x4ad)](_0x1f46a3);if(!_0x370051)throw new Error(_0x3adaa5(0x536));const _0x2d1a43=new a[(_0x3adaa5(0x568))](),_0x4e8cc0=new N[(_0x3adaa5(0x2dc))]();_0x2d1a43[_0x3adaa5(0x3ed)](_0x370051[_0x3adaa5(0x561)]['subscribe'](_0x579fa5=>_0x4e8cc0['next'](_0x579fa5))),_0x2d1a43[_0x3adaa5(0x3ed)](a[_0x3adaa5(0x1fb)](()=>_0x4e8cc0[_0x3adaa5(0x1b0)]()));const _0x51f881=new N[(_0x3adaa5(0x2dc))]();_0x2d1a43['add'](_0x370051['error$'][_0x3adaa5(0x2cc)](_0x277550=>_0x51f881[_0x3adaa5(0x2c0)](_0x277550))),_0x2d1a43[_0x3adaa5(0x3ed)](a[_0x3adaa5(0x1fb)](()=>_0x51f881[_0x3adaa5(0x1b0)]()));const _0xc73501=new N[(_0x3adaa5(0x2dc))]();_0x2d1a43[_0x3adaa5(0x3ed)](_0x370051[_0x3adaa5(0x233)][_0x3adaa5(0x2cc)](_0x1b23be=>{const _0x103899=_0x3adaa5,_0x52962d=Ri(_0x1b23be);_0xc73501[_0x103899(0x2c0)](_0x52962d);})),_0x2d1a43[_0x3adaa5(0x3ed)](a[_0x3adaa5(0x1fb)](()=>_0xc73501[_0x3adaa5(0x1b0)]()));let _0x31013c;const _0x4c0fc1=()=>{const _0x378eea=_0x3adaa5;_0x51f881['next'](new Event(_0x378eea(0x29f))),_0x4e8cc0[_0x378eea(0x2c0)](new CloseEvent('connection\x20error')),_0x31013c[_0x378eea(0x4d2)]();};return _0x31013c={'memberID':'','close$':_0x4e8cc0[_0x3adaa5(0x3b4)](),'error$':_0x51f881[_0x3adaa5(0x3b4)](),'open$':_0x370051[_0x3adaa5(0x492)],'message$':_0xc73501[_0x3adaa5(0x3b4)](),'send':_0x306ed8=>{const _0x5ec128=_0x3adaa5;if(_0x306ed8[_0x5ec128(0x3ef)]===G['INGEST']){if(_0x306ed8[_0x5ec128(0x372)][_0x5ec128(0x25e)]===m[_0x5ec128(0x60d)][_0x5ec128(0x25a)]){this[_0x5ec128(0x2e9)](_0x31013c,_0x306ed8[_0x5ec128(0x372)])['catch'](_0x37047e=>{const _0x3e1ba1=_0x5ec128;this[_0x3e1ba1(0x4d3)][_0x3e1ba1(0x48d)](_0x37047e),_0x4c0fc1();});return;}if(_0x306ed8[_0x5ec128(0x372)][_0x5ec128(0x25e)]===m[_0x5ec128(0x60d)][_0x5ec128(0x288)]){const _0x365fc5=_0x306ed8['data'];this[_0x5ec128(0x506)](_0x365fc5)['then'](_0xfd7cc5=>{const _0x565424=_0x5ec128;_0xc73501[_0x565424(0x2c0)]({'cmd':G['RECV'],'code':ge['OK'],'routeKey':_0x365fc5[_0x565424(0x372)][_0x565424(0x3d4)],'routeType':'','data':{'eventID':m['CollaborationEvent'][_0x565424(0x4e8)],'data':{'changesets':_0xfd7cc5}}});})[_0x5ec128(0x3fe)](_0x40d57c=>{const _0xc839cc=_0x5ec128;this[_0xc839cc(0x4d3)][_0xc839cc(0x48d)](_0x40d57c),_0x4c0fc1();});return;}}_0x370051['send'](Oi(_0x306ed8));},'close':()=>{const _0x5d1b6a=_0x3adaa5;_0x370051[_0x5d1b6a(0x4d2)](),_0x2d1a43[_0x5d1b6a(0x31c)]();}},_0x31013c;}async[_0x1ab38c(0x2e9)](_0x39a200,_0x26340b){const _0x5ee5cf=_0x1ab38c;var _0x46bca4,_0x2e5067;const {unitType:_0x149823,unitID:_0x1f3ea3,changeset:_0x5f04c4}=_0x26340b[_0x5ee5cf(0x372)],_0x4757d3={'unitID':_0x1f3ea3,'memberID':_0x39a200[_0x5ee5cf(0x4c3)],'type':_0x149823,'changeset':m[_0x5ee5cf(0x1ed)](_0x5f04c4)},_0x596967=this[_0x5ee5cf(0x3fd)]['getConfig'](Ci),_0x13f910=this[_0x5ee5cf(0x3fd)]['getConfig'](Z),_0x1a824e=ln((_0x2e5067=(_0x46bca4=_0x13f910==null?void 0x0:_0x13f910[_0x5ee5cf(0x512)])!=null?_0x46bca4:_0x596967)!=null?_0x2e5067:nn,_0x149823,_0x1f3ea3);try{await this[_0x5ee5cf(0x2df)]['post'](_0x1a824e,{'body':_0x4757d3});}catch(_0x2f5e6c){throw this[_0x5ee5cf(0x4d3)]['error'](_0x5ee5cf(0x615),_0x5ee5cf(0x45a)),_0x2f5e6c;}}async[_0x1ab38c(0x506)](_0x949984){const _0x3e074c=_0x1ab38c,{unitID:_0x2399d1,from:_0x111428,to:_0x2d9c16,unitType:_0x4b1e67}=_0x949984[_0x3e074c(0x372)];return(await this[_0x3e074c(0x3fc)][_0x3e074c(0x476)]({'metadata':void 0x0},{'unitID':_0x2399d1,'type':_0x4b1e67,'from':_0x111428,'to':_0x2d9c16}))[_0x3e074c(0x51e)];}},exports[_0x1ab38c(0x5dd)]=cn([De(0x0,a['Inject'](z['HTTPService'])),De(0x1,a[_0x1ab38c(0x56d)](z['WebSocketService'])),De(0x2,a[_0x1ab38c(0x5bc)]),De(0x3,a['ILogService']),De(0x4,m['ISnapshotServerService'])],exports['CollaborationSocketService']);const hn=_0x1ab38c(0x267);function _n(_0xc9f98c){const _0x26aa4c=_0x1ab38c;return JSON[_0x26aa4c(0x330)](_0xc9f98c)[_0x26aa4c(0x2b7)];}class wt{constructor(){const _0x5141a5=_0x1ab38c;I(this,_0x5141a5(0x45b),new N['Subject']()),I(this,_0x5141a5(0x559),this['_commentUpdate$']['asObservable']());}[_0x1ab38c(0x21b)](_0x1cfe42){const _0x26739a=_0x1ab38c;this[_0x26739a(0x45b)]['next'](_0x1cfe42);}}var un=Object[_0x1ab38c(0x322)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x51e982,_0x6ab513,_0x3cc4ee,_0x3fc6e9)=>{const _0x4f6660=_0x1ab38c;for(var _0x5233c8=_0x3fc6e9>0x1?void 0x0:_0x3fc6e9?dn(_0x6ab513,_0x3cc4ee):_0x6ab513,_0x5aced7=_0x51e982[_0x4f6660(0x2b7)]-0x1,_0x3d72ef;_0x5aced7>=0x0;_0x5aced7--)(_0x3d72ef=_0x51e982[_0x5aced7])&&(_0x5233c8=(_0x3fc6e9?_0x3d72ef(_0x6ab513,_0x3cc4ee,_0x5233c8):_0x3d72ef(_0x5233c8))||_0x5233c8);return _0x3fc6e9&&_0x5233c8&&un(_0x6ab513,_0x3cc4ee,_0x5233c8),_0x5233c8;},jt=(_0x4d40c3,_0x45ec35)=>(_0x51d2a6,_0xd93703)=>_0x45ec35(_0x51d2a6,_0xd93703,_0x4d40c3);exports[_0x1ab38c(0x32f)]=class extends a[_0x1ab38c(0x382)]{constructor(_0x1dba97,_0x20f7a7){const _0x4de5a7=_0x1ab38c;super(),I(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0x1dba97,this[_0x4de5a7(0x5d5)]=_0x20f7a7,this[_0x4de5a7(0x4ae)](a[_0x4de5a7(0x1fb)](N[_0x4de5a7(0x24f)](this[_0x4de5a7(0x3b6)]['getTypeOfUnitDisposed$'](a[_0x4de5a7(0x564)][_0x4de5a7(0x2e0)])[_0x4de5a7(0x21a)](V['map'](_0x1073d2=>_0x1073d2[_0x4de5a7(0x2f9)]())),this['_univerInstanceService'][_0x4de5a7(0x4cd)](a[_0x4de5a7(0x564)]['UNIVER_DOC'])[_0x4de5a7(0x21a)](V['map'](_0x5f15e6=>_0x5f15e6[_0x4de5a7(0x2f9)]())),this[_0x4de5a7(0x3b6)]['getTypeOfUnitDisposed$'](a[_0x4de5a7(0x564)]['UNIVER_SLIDE'])[_0x4de5a7(0x21a)](V['map'](_0x25cfff=>_0x25cfff[_0x4de5a7(0x2f9)]())))['subscribe'](_0x24299f=>this[_0x4de5a7(0x3f8)](_0x24299f)))));}[_0x1ab38c(0x5aa)](_0x1ec41e){const _0x5d6328=_0x1ab38c;this[_0x5d6328(0x5d5)][_0x5d6328(0x5aa)](_0x1ec41e);}[_0x1ab38c(0x4f4)](){const _0x1bce71=_0x1ab38c;return this[_0x1bce71(0x5d5)]['getCurrentUser']();}[_0x1ab38c(0x183)](_0x38289a,_0x281d97){const _0x2d0491=_0x1ab38c;let _0x259556=this['_roomMembers'][_0x2d0491(0x3f9)](_0x38289a);_0x259556||(_0x259556=new vn(),this[_0x2d0491(0x24e)][_0x2d0491(0x1c6)](_0x38289a,_0x259556)),_0x259556[_0x2d0491(0x183)](_0x281d97);}[_0x1ab38c(0x447)](_0x5180d6,_0x6af4e7){const _0x4c2529=_0x1ab38c,_0x5abbb8=this[_0x4c2529(0x24e)][_0x4c2529(0x3f9)](_0x5180d6);_0x5abbb8&&_0x5abbb8[_0x4c2529(0x447)](_0x6af4e7);}[_0x1ab38c(0x445)](_0xbf3a7e){const _0x359234=_0x1ab38c;return this[_0x359234(0x24e)][_0x359234(0x3f9)](_0xbf3a7e);}['getMember'](_0x50916f,_0xb86f54){const _0x189f9f=_0x1ab38c,_0x41fbfb=this['_roomMembers']['get'](_0x50916f);if(_0x41fbfb)return _0x41fbfb[_0x189f9f(0x530)](_0xb86f54);}[_0x1ab38c(0x3f8)](_0x30ca1d){const _0x1baa2c=_0x1ab38c,_0x5ddca3=this[_0x1baa2c(0x24e)][_0x1baa2c(0x3f9)](_0x30ca1d);_0x5ddca3&&(_0x5ddca3['dispose'](),this[_0x1baa2c(0x24e)][_0x1baa2c(0x5d0)](_0x30ca1d));}[_0x1ab38c(0x31c)](){const _0x82f325=_0x1ab38c;this['_roomMembers'][_0x82f325(0x3f4)](_0x93395=>_0x93395[_0x82f325(0x31c)]()),this[_0x82f325(0x24e)][_0x82f325(0x5c8)]();}},exports[_0x1ab38c(0x32f)]=fn([jt(0x0,a[_0x1ab38c(0x585)]),jt(0x1,a['Inject'](a[_0x1ab38c(0x416)]))],exports[_0x1ab38c(0x32f)]);class vn extends a[_0x1ab38c(0x382)]{constructor(){const _0x328b99=_0x1ab38c;super(...arguments),I(this,_0x328b99(0x2b5),new Map());}[_0x1ab38c(0x31c)](){const _0x32d8e4=_0x1ab38c;this[_0x32d8e4(0x2b5)][_0x32d8e4(0x5c8)]();}[_0x1ab38c(0x183)](_0x5ed3ff){const _0x2e3dd3=_0x1ab38c;this[_0x2e3dd3(0x2b5)]['set'](_0x5ed3ff[_0x2e3dd3(0x4c3)],_0x5ed3ff);}[_0x1ab38c(0x447)](_0x777b4b){const _0x5ac4d2=_0x1ab38c;this[_0x5ac4d2(0x2b5)]['delete'](_0x777b4b);}[_0x1ab38c(0x530)](_0x322597){const _0x572418=_0x1ab38c;return this[_0x572418(0x2b5)][_0x572418(0x3f9)](_0x322597);}['getAllMembers'](){const _0x51f005=_0x1ab38c;return Array[_0x51f005(0x17c)](this[_0x51f005(0x2b5)][_0x51f005(0x611)]());}}var Sn=Object[_0x1ab38c(0x322)],pn=Object['getOwnPropertyDescriptor'],mn=(_0x3a6125,_0x3276b6,_0x3f6170,_0x1615a8)=>{for(var _0x17afd6=_0x1615a8>0x1?void 0x0:_0x1615a8?pn(_0x3276b6,_0x3f6170):_0x3276b6,_0x5e1941=_0x3a6125['length']-0x1,_0x2d371a;_0x5e1941>=0x0;_0x5e1941--)(_0x2d371a=_0x3a6125[_0x5e1941])&&(_0x17afd6=(_0x1615a8?_0x2d371a(_0x3276b6,_0x3f6170,_0x17afd6):_0x2d371a(_0x17afd6))||_0x17afd6);return _0x1615a8&&_0x17afd6&&Sn(_0x3276b6,_0x3f6170,_0x17afd6),_0x17afd6;},ue=(_0x27aaad,_0x1bbdda)=>(_0x5a2f13,_0x2c9a24)=>_0x1bbdda(_0x5a2f13,_0x2c9a24,_0x27aaad),ne=(_0x38fca1=>(_0x38fca1[_0x38fca1[_0x1ab38c(0x315)]=0x0]=_0x1ab38c(0x315),_0x38fca1[_0x38fca1[_0x1ab38c(0x3c0)]=0x1]=_0x1ab38c(0x3c0),_0x38fca1[_0x38fca1[_0x1ab38c(0x1e7)]=0x2]=_0x1ab38c(0x1e7),_0x38fca1[_0x38fca1[_0x1ab38c(0x36a)]=0x3]=_0x1ab38c(0x36a),_0x38fca1))(ne||{});const Ht={[ge[_0x1ab38c(0x50d)]]:_0x1ab38c(0x2ad),[ge[_0x1ab38c(0x23e)]]:'session.room-full',[ge[_0x1ab38c(0x511)]]:'session.room-not-exists',[ge[_0x1ab38c(0x19d)]]:_0x1ab38c(0x38a),[ge[_0x1ab38c(0x3f1)]]:'session.room-cnt-exceeds'};exports[_0x1ab38c(0x3db)]=class extends a[_0x1ab38c(0x579)]{constructor(_0x2b5aa3,_0x1bfecf,_0x148061,_0xbbd782,_0x54d5ee,_0x1ffe8e,_0x239733,_0x2aa2fd,_0x40d0a1,_0x10b6eb){const _0x5301fc=_0x1ab38c;super(),I(this,'_sessionStatus$',new N['BehaviorSubject'](0x0)),I(this,_0x5301fc(0x596),this['_sessionStatus$'][_0x5301fc(0x3b4)]()),I(this,_0x5301fc(0x1f5),new N['Subject']()),I(this,'event$',this[_0x5301fc(0x1f5)][_0x5301fc(0x3b4)]()),I(this,'_socket'),I(this,_0x5301fc(0x62c)),I(this,_0x5301fc(0x32a)),I(this,_0x5301fc(0x30e),!0x1),I(this,_0x5301fc(0x514),null),(this[_0x5301fc(0x629)]=_0x2b5aa3,this[_0x5301fc(0x4d3)]=_0x148061,this['_beforeCloseService']=_0xbbd782,this[_0x5301fc(0x3d9)]=_0x54d5ee,this[_0x5301fc(0x3fd)]=_0x1ffe8e,this[_0x5301fc(0x1e1)]=_0x239733,this[_0x5301fc(0x361)]=_0x2aa2fd,this[_0x5301fc(0x2aa)]=_0x40d0a1,this[_0x5301fc(0x1b3)]=_0x10b6eb,this[_0x5301fc(0x30e)]=!!this[_0x5301fc(0x1b3)],_0x1bfecf[_0x5301fc(0x21a)](N[_0x5301fc(0x37c)](this[_0x5301fc(0x326)]))[_0x5301fc(0x2cc)](_0x2d4109=>{const _0xf668e5=_0x5301fc;var _0x30c75d;typeof _0x2d4109>'u'||(this[_0xf668e5(0x599)]=_0x2d4109,_0x2d4109?(this[_0xf668e5(0x42a)](_0x2d4109),this[_0xf668e5(0x62c)]=_0x2d4109[_0xf668e5(0x233)][_0xf668e5(0x2cc)](_0x56b169=>{const _0x346f2e=_0xf668e5;_0x56b169[_0x346f2e(0x505)]===this[_0x346f2e(0x629)]&&this[_0x346f2e(0x34c)](_0x56b169);})):(this[_0xf668e5(0x631)](),this[_0xf668e5(0x201)][_0xf668e5(0x2c0)](0x2),(_0x30c75d=this[_0xf668e5(0x62c)])==null||_0x30c75d[_0xf668e5(0x1f0)](),this[_0xf668e5(0x62c)]=null));}),this['disposeWithMe'](this[_0x5301fc(0x605)][_0x5301fc(0x39d)](()=>{const _0x438b3f=_0x5301fc;var _0x208a9f;(_0x208a9f=this[_0x438b3f(0x599)])==null||_0x208a9f[_0x438b3f(0x5fb)]({'cmd':G['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get[_0x1ab38c(0x562)](){const _0x16a34c=_0x1ab38c;return this[_0x16a34c(0x201)][_0x16a34c(0x2f7)]();}[_0x1ab38c(0x342)](){const _0x695557=_0x1ab38c;var _0x4c80db,_0x52075e;return(_0x52075e=(_0x4c80db=this[_0x695557(0x599)])==null?void 0x0:_0x4c80db['memberID'])!=null?_0x52075e:null;}[_0x1ab38c(0x31c)](){const _0x2cbabd=_0x1ab38c;super[_0x2cbabd(0x31c)](),this[_0x2cbabd(0x326)][_0x2cbabd(0x2c0)](),this[_0x2cbabd(0x326)][_0x2cbabd(0x1b0)]();}[_0x1ab38c(0x4d2)](){const _0x549b22=_0x1ab38c;var _0xbaab2e,_0x48968b;this['_throwTelemetryCollaborationNewChangeset'](),(_0xbaab2e=this['_socket'])==null||_0xbaab2e[_0x549b22(0x5fb)]({'cmd':G[_0x549b22(0x59a)],'data':{'roomID':this['_unitID']}}),(_0x48968b=this[_0x549b22(0x599)])==null||_0x48968b[_0x549b22(0x4d2)](),this[_0x549b22(0x1f5)]['complete'](),this[_0x549b22(0x201)]['complete'](),this[_0x549b22(0x31c)]();}[_0x1ab38c(0x34c)](_0x112c69){const _0x15975c=_0x1ab38c;_0x112c69[_0x15975c(0x3ef)]===G[_0x15975c(0x4ec)]?this[_0x15975c(0x332)](_0x112c69):_0x112c69[_0x15975c(0x3ef)]===G[_0x15975c(0x484)]&&this[_0x15975c(0x417)](_0x112c69);}[_0x1ab38c(0x42a)](_0x2bc289){const _0x1f46e8=_0x1ab38c;this[_0x1f46e8(0x201)][_0x1f46e8(0x2c0)](0x1),_0x2bc289[_0x1f46e8(0x5fb)]({'cmd':G['JOIN'],'routeKey':this[_0x1f46e8(0x629)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1f46e8(0x629)]}]}});}[_0x1ab38c(0x332)](_0x4e288f){const _0x40a060=_0x1ab38c;var _0x4d1afa;if(_0x4e288f[_0x40a060(0x482)]in Ht){this['_messageService'][_0x40a060(0x19e)]({'type':Ce[_0x40a060(0x16e)][_0x40a060(0x475)],'content':this[_0x40a060(0x1e1)]['t'](Ht[_0x4e288f['code']])}),this['_sessionStatus$']['next'](0x2);return;}this[_0x40a060(0x201)]['next'](0x3);const _0x53a629=(_0x4d1afa=_0x4e288f[_0x40a060(0x372)][_0x40a060(0x498)][this['_unitID']])==null?void 0x0:_0x4d1afa[_0x40a060(0x588)];_0x53a629&&_0x53a629['forEach'](_0x4f59ea=>this[_0x40a060(0x361)][_0x40a060(0x183)](this['_unitID'],_0x4f59ea));}[_0x1ab38c(0x417)](_0x1cf103){const _0x1e5338=_0x1ab38c;try{const _0x17357d=_0x1cf103['data'];switch(_0x17357d[_0x1e5338(0x25e)]){case m[_0x1e5338(0x60d)][_0x1e5338(0x3a0)]:this[_0x1e5338(0x1cf)](_0x17357d),this[_0x1e5338(0x1f5)]['next'](_0x17357d);break;case m[_0x1e5338(0x60d)][_0x1e5338(0x1c0)]:this[_0x1e5338(0x299)](_0x17357d),this[_0x1e5338(0x1f5)][_0x1e5338(0x2c0)](_0x17357d);break;case m[_0x1e5338(0x60d)]['CHANGESET_ACK']:case m[_0x1e5338(0x60d)]['CHANGESET_SHOULD_RETRY']:this[_0x1e5338(0x4ce)](),this[_0x1e5338(0x279)](),this[_0x1e5338(0x1f5)][_0x1e5338(0x2c0)](_0x17357d);break;case m[_0x1e5338(0x60d)][_0x1e5338(0x3a8)]:this[_0x1e5338(0x4d3)][_0x1e5338(0x48d)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x17357d)),this[_0x1e5338(0x1f5)][_0x1e5338(0x2c0)](_0x17357d);break;case m[_0x1e5338(0x60d)][_0x1e5338(0x581)]:this[_0x1e5338(0x2aa)][_0x1e5338(0x21b)](_0x17357d[_0x1e5338(0x372)]),this[_0x1e5338(0x1f5)]['next'](_0x17357d);break;default:this['_event$'][_0x1e5338(0x2c0)](_0x17357d);}}catch(_0x4e6c6a){this[_0x1e5338(0x4d3)][_0x1e5338(0x48d)](_0x4e6c6a,_0x1cf103);}}[_0x1ab38c(0x1cf)](_0x16ebeb){const _0x330795=_0x1ab38c;this['_memberService']['updateMember'](this[_0x330795(0x629)],_0x16ebeb['data']);}[_0x1ab38c(0x299)](_0x5c3c1e){const _0xb1fe1c=_0x1ab38c;this[_0xb1fe1c(0x361)][_0xb1fe1c(0x447)](this['_unitID'],_0x5c3c1e[_0xb1fe1c(0x372)][_0xb1fe1c(0x4c3)]);}async[_0x1ab38c(0x5fb)](_0x588cbb,_0x440688){const _0x4487e4=_0x1ab38c;if(this[_0x4487e4(0x562)]!==0x3||!this[_0x4487e4(0x599)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x588cbb['eventID']===m[_0x4487e4(0x60d)][_0x4487e4(0x25a)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4487e4(0x43d)](_0x588cbb)),this['_socket'][_0x4487e4(0x5fb)]({'cmd':G[_0x4487e4(0x273)],'routeKey':_0x440688,'routeType':'','data':_0x588cbb});}catch(_0x5a596f){this[_0x4487e4(0x4d3)]['error'](_0x5a596f);}}['_scheduleCollaborationTimeoutTimer'](){const _0x26bf5c=_0x1ab38c;var _0x5d422c;this['_collaborationTimeoutTimer']=window[_0x26bf5c(0x45c)](()=>{const _0x5b9f8e=_0x26bf5c;this['_collaborationTimeoutTimer']=null,this['_messageService']['show']({'type':Ce[_0x5b9f8e(0x16e)][_0x5b9f8e(0x527)],'content':this[_0x5b9f8e(0x1e1)]['t'](_0x5b9f8e(0x319))});},(_0x5d422c=this['_configService'][_0x26bf5c(0x489)](Dt))!=null?_0x5d422c:mi);}[_0x1ab38c(0x279)](){const _0x46014a=_0x1ab38c;this[_0x46014a(0x32a)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x46014a(0x32a)]=null);}[_0x1ab38c(0x43d)](_0x119b8b){const _0x1fc455=_0x1ab38c;if(!this[_0x1fc455(0x30e)])return;const {data:_0x558680}=_0x119b8b,{unitID:_0x1707f0,changeset:_0x5eaf25}=_0x558680,{mutations:_0x35e59b,type:_0x794c07}=_0x5eaf25;this['_telemetryInfo']={'unitId':_0x1707f0,'type':_0x794c07,'startTime':performance[_0x1fc455(0x2b1)](),'stopTime':0x0,'duration':0x0,'size':_n(_0x35e59b)};}[_0x1ab38c(0x4ce)](){const _0x3d7582=_0x1ab38c;if(this[_0x3d7582(0x30e)]){if(!this[_0x3d7582(0x514)]){this['_logService'][_0x3d7582(0x48d)](_0x3d7582(0x615),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3d7582(0x514)][_0x3d7582(0x258)]=performance['now'](),this[_0x3d7582(0x514)][_0x3d7582(0x4a7)]=this[_0x3d7582(0x514)][_0x3d7582(0x258)]-this[_0x3d7582(0x514)][_0x3d7582(0x34f)],this[_0x3d7582(0x1b3)][_0x3d7582(0x221)](hn,this[_0x3d7582(0x514)]),this[_0x3d7582(0x514)]=null;}}[_0x1ab38c(0x631)](){const _0x2865a3=_0x1ab38c;this[_0x2865a3(0x514)]=null;}},exports[_0x1ab38c(0x3db)]=mn([ue(0x2,a['ILogService']),ue(0x3,ee[_0x1ab38c(0x179)]),ue(0x4,ee['IMessageService']),ue(0x5,a[_0x1ab38c(0x5bc)]),ue(0x6,a[_0x1ab38c(0x56d)](a['LocaleService'])),ue(0x7,a[_0x1ab38c(0x56d)](exports['MemberService'])),ue(0x8,a[_0x1ab38c(0x56d)](wt)),ue(0x9,a[_0x1ab38c(0x627)](Gi[_0x1ab38c(0x61f)]))],exports['CollaborationSession']);var gn=Object['defineProperty'],In=Object['getOwnPropertyDescriptor'],Cn=(_0x2ac848,_0x5d166d,_0x15721b,_0x133887)=>{const _0x20296f=_0x1ab38c;for(var _0x1718dd=_0x133887>0x1?void 0x0:_0x133887?In(_0x5d166d,_0x15721b):_0x5d166d,_0x3fb34a=_0x2ac848[_0x20296f(0x2b7)]-0x1,_0x4938b0;_0x3fb34a>=0x0;_0x3fb34a--)(_0x4938b0=_0x2ac848[_0x3fb34a])&&(_0x1718dd=(_0x133887?_0x4938b0(_0x5d166d,_0x15721b,_0x1718dd):_0x4938b0(_0x1718dd))||_0x1718dd);return _0x133887&&_0x1718dd&&gn(_0x5d166d,_0x15721b,_0x1718dd),_0x1718dd;},Se=(_0x3400de,_0x4ee5d4)=>(_0x3c30e2,_0x1eb071)=>_0x4ee5d4(_0x3c30e2,_0x1eb071,_0x3400de);exports[_0x1ab38c(0x1fc)]=class extends a[_0x1ab38c(0x382)]{constructor(_0x3b0fd2,_0x11f8c9,_0x3005d9,_0x3ecbbc,_0x1008c7,_0x3be00f,_0x21b3db){const _0x5b7917=_0x1ab38c;super(),I(this,_0x5b7917(0x483),new N['BehaviorSubject'](void 0x0)),I(this,_0x5b7917(0x632),this['_socket$'][_0x5b7917(0x3b4)]()),I(this,'_candidateSocket',null),I(this,_0x5b7917(0x473),new Map()),I(this,'_status$',new N[(_0x5b7917(0x3bd))](ne[_0x5b7917(0x315)])),I(this,_0x5b7917(0x1af),this[_0x5b7917(0x4f8)]['asObservable']()),I(this,'_socketReady',!0x1),I(this,_0x5b7917(0x370)),I(this,_0x5b7917(0x30c),0x0),I(this,_0x5b7917(0x2fc)),I(this,_0x5b7917(0x229)),(this[_0x5b7917(0x2f8)]=_0x3b0fd2,this[_0x5b7917(0x1e1)]=_0x11f8c9,this[_0x5b7917(0x3d9)]=_0x3005d9,this[_0x5b7917(0x4d3)]=_0x3ecbbc,this[_0x5b7917(0x3fd)]=_0x1008c7,this['_socketService']=_0x3be00f,this[_0x5b7917(0x544)]=_0x21b3db,this[_0x5b7917(0x538)]());}get['_socket'](){const _0xd78bb3=_0x1ab38c;return this[_0xd78bb3(0x483)][_0xd78bb3(0x2f7)]();}[_0x1ab38c(0x538)](){const _0x3b48de=_0x1ab38c;this[_0x3b48de(0x40c)](),this[_0x3b48de(0x1d4)]();}[_0x1ab38c(0x31c)](){const _0x41cc19=_0x1ab38c;super['dispose'](),this[_0x41cc19(0x473)][_0x41cc19(0x3f4)](_0x499971=>_0x499971[_0x41cc19(0x31c)]()),this['_sessions'][_0x41cc19(0x5c8)](),this[_0x41cc19(0x4f8)][_0x41cc19(0x1b0)]();}async[_0x1ab38c(0x1e0)](_0x1638b8){const _0x23b7cf=_0x1ab38c;if(this[_0x23b7cf(0x473)][_0x23b7cf(0x392)](_0x1638b8))return this[_0x23b7cf(0x473)][_0x23b7cf(0x3f9)](_0x1638b8);this['_tryEnsureSocket']();const _0x37493a=this[_0x23b7cf(0x2f8)][_0x23b7cf(0x440)](exports['CollaborationSession'],_0x1638b8,this[_0x23b7cf(0x483)]['asObservable']());return this['_sessions'][_0x23b7cf(0x1c6)](_0x1638b8,_0x37493a),_0x37493a;}[_0x1ab38c(0x40a)](_0x293e10){const _0x54e1e5=_0x1ab38c;var _0x1dbeee;const _0x47726d=this[_0x54e1e5(0x473)][_0x54e1e5(0x3f9)](_0x293e10);_0x47726d&&(this[_0x54e1e5(0x473)]['delete'](_0x293e10),_0x47726d[_0x54e1e5(0x4d2)]()),this['_sessions']['size']||(_0x1dbeee=this['_socket'])==null||_0x1dbeee[_0x54e1e5(0x4d2)]();}['reconnect'](){const _0x29828d=_0x1ab38c;this[_0x29828d(0x30c)]=0x0,this[_0x29828d(0x370)]!=null&&(clearTimeout(this[_0x29828d(0x370)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async[_0x1ab38c(0x1df)](){const _0x1eb8fb=_0x1ab38c;var _0x552016,_0x21ccfa,_0x171c1c;const _0x2cf909=this[_0x1eb8fb(0x3fd)]['getConfig'](Z),_0x59d0c3=(_0x552016=_0x2cf909==null?void 0x0:_0x2cf909[_0x1eb8fb(0x5b9)])!=null?_0x552016:Ji;return(_0x171c1c=(_0x21ccfa=(await this[_0x1eb8fb(0x544)]['get'](_0x59d0c3,{'headers':{'Content-Type':_0x1eb8fb(0x19a)}}))[_0x1eb8fb(0x4cf)])==null?void 0x0:_0x21ccfa['ticket'])!=null?_0x171c1c:'';}[_0x1ab38c(0x4e7)](_0x3c7eef){const _0x371fff=_0x1ab38c;var _0x5b4c52,_0x4499fc;const _0x5d9985=this[_0x371fff(0x3fd)][_0x371fff(0x489)](Si),_0x12514a=this[_0x371fff(0x3fd)][_0x371fff(0x489)](Z),_0x4b64d5=(_0x4499fc=(_0x5b4c52=_0x12514a==null?void 0x0:_0x12514a[_0x371fff(0x472)])!=null?_0x5b4c52:_0x5d9985)!=null?_0x4499fc:Xi,_0x487c69=new URL(_0x4b64d5,window[_0x371fff(0x56a)]['origin']);return _0x487c69['searchParams'][_0x371fff(0x1c6)](_0x371fff(0x39b),_0x3c7eef),_0x487c69[_0x371fff(0x612)]();}async[_0x1ab38c(0x3a3)](){const _0x270d1e=_0x1ab38c,_0x58e49c=await this[_0x270d1e(0x1df)](),_0x2a5476=this[_0x270d1e(0x4e7)](_0x58e49c),_0xaa9fe9=this[_0x270d1e(0x532)][_0x270d1e(0x4ad)](_0x2a5476);return this['_candidateSocket']=_0xaa9fe9,_0xaa9fe9;}async['_tryEnsureSocket'](){const _0x34a292=_0x1ab38c;var _0x41e1e0,_0x13bf39;try{const _0x473fc9=(_0x13bf39=(_0x41e1e0=this[_0x34a292(0x599)])!=null?_0x41e1e0:this[_0x34a292(0x49b)])!=null?_0x13bf39:await this['_createSocket']();if(_0x473fc9){const _0x59863d=_0x473fc9[_0x34a292(0x5fb)];_0x473fc9['send']=_0x3c3c5b=>(this[_0x34a292(0x41f)](),_0x59863d[_0x34a292(0x444)](_0x473fc9,[_0x3c3c5b])),_0x473fc9[_0x34a292(0x233)]['subscribe'](_0x167ff3=>this['_onMessage'](_0x473fc9,_0x167ff3)),_0x473fc9['error$'][_0x34a292(0x21a)](V['take'](0x1))[_0x34a292(0x2cc)](_0x172fbc=>this[_0x34a292(0x4d3)][_0x34a292(0x48d)]('[CollaborationSessionService]:\x20socket\x20error',_0x172fbc)),_0x473fc9[_0x34a292(0x492)][_0x34a292(0x21a)](V[_0x34a292(0x184)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x473fc9);}),_0x473fc9['close$'][_0x34a292(0x21a)](V[_0x34a292(0x184)](0x1))[_0x34a292(0x2cc)](_0x3ec994=>{const _0x49e80a=_0x34a292;this[_0x49e80a(0x4d3)]['debug'](_0x49e80a(0x21f),_0x49e80a(0x31d),_0x3ec994),this[_0x49e80a(0x53f)]();});}}catch(_0x573ad3){this[_0x34a292(0x4d3)][_0x34a292(0x48d)](_0x573ad3),this[_0x34a292(0x53f)]();}}[_0x1ab38c(0x2c3)](_0x167db2){const _0x5bf81b=_0x1ab38c;this[_0x5bf81b(0x4d3)][_0x5bf81b(0x479)](_0x5bf81b(0x21f),_0x5bf81b(0x245)),_0x167db2[_0x5bf81b(0x5fb)]({'cmd':G['HELLO']}),this[_0x5bf81b(0x41f)]();}[_0x1ab38c(0x40c)](){const _0x35a4e4=_0x1ab38c;window[_0x35a4e4(0x5b7)]('offline',()=>this[_0x35a4e4(0x411)]());}['_onOffline'](){const _0x5a457d=_0x1ab38c;this[_0x5a457d(0x4f3)]=!0x1,this[_0x5a457d(0x49b)]=null,this[_0x5a457d(0x4f8)][_0x5a457d(0x2c0)](ne[_0x5a457d(0x1e7)]),this['_socket$'][_0x5a457d(0x2c0)](null),this[_0x5a457d(0x350)](),this['_clearHeartbeatTimer']();}[_0x1ab38c(0x53f)](){const _0x2fe8ae=_0x1ab38c;var _0x4175fb;this[_0x2fe8ae(0x411)](),this['_retryCount']<((_0x4175fb=this['_configService'][_0x2fe8ae(0x489)](gi))!=null?_0x4175fb:en)?(this['_messageService'][_0x2fe8ae(0x19e)]({'key':'collaboration-session-retry','type':Ce['MessageType'][_0x2fe8ae(0x475)],'content':this['_localeService']['t'](_0x2fe8ae(0x4ee))}),this[_0x2fe8ae(0x38e)]()):this[_0x2fe8ae(0x3d9)][_0x2fe8ae(0x19e)]({'key':_0x2fe8ae(0x21d),'type':Ce[_0x2fe8ae(0x16e)]['Error'],'content':this[_0x2fe8ae(0x1e1)]['t']('session.connection-failed')});}[_0x1ab38c(0x1d4)](){const _0x187237=_0x1ab38c,_0x42dca0=()=>{const _0x2e67cc=_0x33d2;this[_0x2e67cc(0x599)]||this[_0x2e67cc(0x1eb)]();},_0x154552=()=>{const _0x43d911=_0x33d2;this[_0x43d911(0x599)]||document['visibilityState']===_0x43d911(0x610)||this[_0x43d911(0x1eb)]();};window['addEventListener'](_0x187237(0x46e),_0x42dca0),document[_0x187237(0x5b7)](_0x187237(0x5c4),_0x154552);}[_0x1ab38c(0x38e)](){const _0x28d909=_0x1ab38c;var _0x4daaaa;const _0x1fc068=this[_0x28d909(0x30c)],_0x1152c8=this['_configService']['getConfig'](Z),_0x425ee0=_0x1fc068===0x0?0x0:((_0x4daaaa=_0x1152c8==null?void 0x0:_0x1152c8['retryConnectingInterval'])!=null?_0x4daaaa:Qi)*0x2**_0x1fc068;this[_0x28d909(0x370)]=window[_0x28d909(0x45c)](()=>{const _0x27025c=_0x28d909;clearTimeout(this[_0x27025c(0x370)]),this[_0x27025c(0x370)]=null,this['_tryEnsureSocket']();},_0x425ee0),this['_retryCount']+=0x1;}['_onMessage'](_0x34a343,_0x5b69e3){const _0x367de3=_0x1ab38c,{cmd:_0x2d0c55}=_0x5b69e3;_0x2d0c55===G[_0x367de3(0x622)]&&!this['_socketReady']&&(_0x34a343[_0x367de3(0x4c3)]=_0x5b69e3[_0x367de3(0x372)][_0x367de3(0x4c3)],this[_0x367de3(0x483)][_0x367de3(0x2c0)](_0x34a343),this['_status$'][_0x367de3(0x2c0)](ne[_0x367de3(0x36a)]),this['_socketReady']=!0x0,this[_0x367de3(0x49b)]=null),_0x2d0c55===G['HEARTBEAT']&&this[_0x367de3(0x350)](),this[_0x367de3(0x41f)]();}[_0x1ab38c(0x41f)](){const _0x386a9b=_0x1ab38c;var _0x2b8028;this[_0x386a9b(0x5d6)](),this[_0x386a9b(0x2fc)]=window[_0x386a9b(0x45c)](()=>this['_sendHeartbeat'](),(_0x2b8028=this[_0x386a9b(0x3fd)][_0x386a9b(0x489)](pi))!=null?_0x2b8028:Zi);}[_0x1ab38c(0x3f5)](){const _0x19e921=_0x1ab38c;this[_0x19e921(0x599)][_0x19e921(0x5fb)]({'cmd':G['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x1ab38c(0x53d)](){const _0x562688=_0x1ab38c;var _0x2a842c;this[_0x562688(0x229)]=window['setTimeout'](()=>this[_0x562688(0x53f)](),(_0x2a842c=this[_0x562688(0x3fd)]['getConfig'](Dt))!=null?_0x2a842c:mi);}[_0x1ab38c(0x5d6)](){const _0x3632f5=_0x1ab38c;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x3632f5(0x2fc)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){const _0x3d2515=_0x1ab38c;this[_0x3d2515(0x229)]!=null&&(clearTimeout(this[_0x3d2515(0x229)]),this[_0x3d2515(0x229)]=null);}},exports[_0x1ab38c(0x1fc)]=Cn([Se(0x0,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),Se(0x1,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x394)])),Se(0x2,ee['IMessageService']),Se(0x3,a[_0x1ab38c(0x626)]),Se(0x4,a['IConfigService']),Se(0x5,Pt),Se(0x6,a[_0x1ab38c(0x56d)](z[_0x1ab38c(0x3a1)]))],exports[_0x1ab38c(0x1fc)]);const q=[];for(let r=0x0;r<0x100;++r)q[_0x1ab38c(0x2e4)]((r+0x100)[_0x1ab38c(0x612)](0x10)[_0x1ab38c(0x543)](0x1));function En(_0x1179fb,_0x323b02=0x0){const _0xf10faa=_0x1ab38c;return(q[_0x1179fb[_0x323b02+0x0]]+q[_0x1179fb[_0x323b02+0x1]]+q[_0x1179fb[_0x323b02+0x2]]+q[_0x1179fb[_0x323b02+0x3]]+'-'+q[_0x1179fb[_0x323b02+0x4]]+q[_0x1179fb[_0x323b02+0x5]]+'-'+q[_0x1179fb[_0x323b02+0x6]]+q[_0x1179fb[_0x323b02+0x7]]+'-'+q[_0x1179fb[_0x323b02+0x8]]+q[_0x1179fb[_0x323b02+0x9]]+'-'+q[_0x1179fb[_0x323b02+0xa]]+q[_0x1179fb[_0x323b02+0xb]]+q[_0x1179fb[_0x323b02+0xc]]+q[_0x1179fb[_0x323b02+0xd]]+q[_0x1179fb[_0x323b02+0xe]]+q[_0x1179fb[_0x323b02+0xf]])[_0xf10faa(0x291)]();}let lt;const bn=new Uint8Array(0x10);function Tn(){const _0x1ca6a8=_0x1ab38c;if(!lt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');lt=crypto[_0x1ca6a8(0x443)][_0x1ca6a8(0x213)](crypto);}return lt(bn);}const Rn=typeof crypto<'u'&&crypto[_0x1ab38c(0x194)]&&crypto[_0x1ab38c(0x194)][_0x1ab38c(0x213)](crypto),Bt={'randomUUID':Rn};function On(_0x4be070,_0x34dc02,_0xb6b301){const _0x1e9139=_0x1ab38c;if(Bt['randomUUID']&&!_0x34dc02&&!_0x4be070)return Bt[_0x1e9139(0x194)]();_0x4be070=_0x4be070||{};const _0xf44069=_0x4be070['random']||(_0x4be070[_0x1e9139(0x313)]||Tn)();return _0xf44069[0x6]=_0xf44069[0x6]&0xf|0x40,_0xf44069[0x8]=_0xf44069[0x8]&0x3f|0x80,En(_0xf44069);}var yn=Object['defineProperty'],Dn=Object[_0x1ab38c(0x5da)],Pn=(_0x4a9cc6,_0x35c73b,_0x3fdadf,_0x5de0d1)=>{const _0x41d648=_0x1ab38c;for(var _0x1190a4=_0x5de0d1>0x1?void 0x0:_0x5de0d1?Dn(_0x35c73b,_0x3fdadf):_0x35c73b,_0x45fdf4=_0x4a9cc6[_0x41d648(0x2b7)]-0x1,_0x2cc1f2;_0x45fdf4>=0x0;_0x45fdf4--)(_0x2cc1f2=_0x4a9cc6[_0x45fdf4])&&(_0x1190a4=(_0x5de0d1?_0x2cc1f2(_0x35c73b,_0x3fdadf,_0x1190a4):_0x2cc1f2(_0x1190a4))||_0x1190a4);return _0x5de0d1&&_0x1190a4&&yn(_0x35c73b,_0x3fdadf,_0x1190a4),_0x1190a4;},ht=(_0x854825,_0x39378f)=>(_0x13c223,_0x201eda)=>_0x39378f(_0x13c223,_0x201eda,_0x854825);let Ze=class{constructor(_0x340092,_0x4c70d8,_0x12e01c){const _0x42a45a=_0x1ab38c;this[_0x42a45a(0x2f8)]=_0x340092,this['_transformService']=_0x4c70d8,this['_renderManagerService']=_0x12e01c;}[_0x1ab38c(0x18c)](_0x2deaf9){const _0x33acbf=_0x1ab38c;this[_0x33acbf(0x25b)](_0x2deaf9),this['_transformPreviousActiveRange'](_0x2deaf9);}[_0x1ab38c(0x1f3)](_0xf940ec){const _0x40061c=_0x1ab38c,{unitID:_0x5b88b3}=_0xf940ec,_0x4ebdcb=this['_renderManagerService']['getRenderById'](_0x5b88b3)[_0x40061c(0x1bf)](J['DocIMEInputManagerService']),{redoCache:_0x6786e6}=_0x4ebdcb[_0x40061c(0x541)]();if(_0x6786e6[_0x40061c(0x2b7)]===0x0)return _0xf940ec;let _0x448411=a['Tools'][_0x40061c(0x252)](_0xf940ec[_0x40061c(0x4ea)][0x0]);for(let _0x56c76b=0x0;_0x56c76b<_0x6786e6[_0x40061c(0x2b7)];_0x56c76b++){const _0x40014a={'id':_0x40061c(0x401),'params':{..._0x6786e6[_0x56c76b]}},_0xf571e6=this[_0x40061c(0x4bc)][_0x40061c(0x5cc)](_0x448411,_0x40014a,!0x1);if(m['isTransformMutationFailure'](_0xf571e6))throw _0xf571e6['error'];_0x448411=_0xf571e6['m1Prime'];}return{...a[_0x40061c(0x5ed)][_0x40061c(0x252)](_0xf940ec),'mutations':[_0x448411]};}['_transformUndoRedoStack'](_0x17118f){const _0x3cbd50=_0x1ab38c,{unitID:_0x30024e}=_0x17118f,_0x4d6337=this[_0x3cbd50(0x173)][_0x3cbd50(0x449)](_0x30024e)[_0x3cbd50(0x1bf)](J[_0x3cbd50(0x375)]),{undoCache:_0x18e7cd,redoCache:_0x5afd4e}=_0x4d6337['getUndoRedoMutationParamsCache']();if(_0x18e7cd[_0x3cbd50(0x2b7)]===0x0||_0x5afd4e[_0x3cbd50(0x2b7)]===0x0)return;const _0x6894b6=[],_0xeca9e6=[];let _0x873eee=a[_0x3cbd50(0x5ed)][_0x3cbd50(0x252)](_0x17118f[_0x3cbd50(0x4ea)][0x0]),_0x1039a0=a['Tools'][_0x3cbd50(0x252)](_0x17118f['mutations'][0x0]);for(let _0x1c45db=_0x18e7cd['length']-0x1;_0x1c45db>=0x0;_0x1c45db--){const _0x36a2c3={'id':_0x3cbd50(0x401),'params':{..._0x18e7cd[_0x1c45db]}},_0x508ae3={'id':_0x3cbd50(0x401),'params':{..._0x5afd4e[_0x1c45db]}},_0x3d67c6=this[_0x3cbd50(0x4bc)][_0x3cbd50(0x5cc)](_0x873eee,_0x36a2c3,!0x1),_0x372bef=this['_transformService'][_0x3cbd50(0x5cc)](_0x1039a0,_0x508ae3,!0x1);if(m['isTransformMutationFailure'](_0x3d67c6))throw _0x3d67c6[_0x3cbd50(0x48d)];if(m[_0x3cbd50(0x226)](_0x372bef))throw _0x372bef['error'];_0x6894b6['unshift'](_0x3d67c6[_0x3cbd50(0x1cb)][_0x3cbd50(0x1f8)]),_0xeca9e6['unshift'](_0x372bef[_0x3cbd50(0x1cb)]['params']),_0x873eee=_0x3d67c6[_0x3cbd50(0x5ad)],_0x1039a0=_0x372bef[_0x3cbd50(0x5ad)];}_0x4d6337[_0x3cbd50(0x37b)]({'undoCache':_0x6894b6,'redoCache':_0xeca9e6});}['_transformPreviousActiveRange'](_0x216fdc){const _0x5838e2=_0x1ab38c,{unitID:_0x4ee520}=_0x216fdc,_0x253157=this[_0x5838e2(0x173)][_0x5838e2(0x449)](_0x4ee520)[_0x5838e2(0x1bf)](J[_0x5838e2(0x375)]),_0x2e68ee=_0x253157['getActiveRange']();if(_0x2e68ee==null)return;const _0x135209=[{'id':_0x5838e2(0x401),'params':{'unitId':_0x216fdc[_0x5838e2(0x3d4)],'actions':null,'textRanges':[_0x2e68ee]}}],_0x3ec2ac=this[_0x5838e2(0x4bc)]['transformMutationsWithChangeset'](_0x216fdc,_0x135209);if(!m[_0x5838e2(0x60c)](_0x3ec2ac))throw _0x3ec2ac[_0x5838e2(0x48d)];const _0x511c03=_0x3ec2ac[_0x5838e2(0x1cb)][0x0][_0x5838e2(0x1f8)][_0x5838e2(0x480)];Array[_0x5838e2(0x28e)](_0x511c03)&&_0x511c03[_0x5838e2(0x2b7)]&&_0x253157[_0x5838e2(0x44f)](_0x511c03[0x0]);}};Ze=Pn([ht(0x0,a['Inject'](a[_0x1ab38c(0x26b)])),ht(0x1,m['ITransformService']),ht(0x2,Y['IRenderManagerService'])],Ze);var wn=Object[_0x1ab38c(0x322)],Un=Object[_0x1ab38c(0x5da)],Mn=(_0x41336f,_0x56284b,_0x4f516f,_0x488041)=>{for(var _0x1f1877=_0x488041>0x1?void 0x0:_0x488041?Un(_0x56284b,_0x4f516f):_0x56284b,_0x13b97f=_0x41336f['length']-0x1,_0x5a6c7b;_0x13b97f>=0x0;_0x13b97f--)(_0x5a6c7b=_0x41336f[_0x13b97f])&&(_0x1f1877=(_0x488041?_0x5a6c7b(_0x56284b,_0x4f516f,_0x1f1877):_0x5a6c7b(_0x1f1877))||_0x1f1877);return _0x488041&&_0x1f1877&&wn(_0x56284b,_0x4f516f,_0x1f1877),_0x1f1877;},Pe=(_0x251fa5,_0x44dd2a)=>(_0x45a5da,_0x16a7cd)=>_0x44dd2a(_0x45a5da,_0x16a7cd,_0x251fa5);exports[_0x1ab38c(0x516)]=class extends a['Disposable']{constructor(_0x48fc8c,_0x2a40a8,_0x5de009,_0x2c9669,_0x5f1a46){const _0x26c068=_0x1ab38c;super(),I(this,_0x26c068(0x206),new Map()),I(this,_0x26c068(0x31f),new Map()),I(this,'_disabled',!0x1),(this[_0x26c068(0x3fd)]=_0x48fc8c,this['_localStorageService']=_0x2a40a8,this[_0x26c068(0x605)]=_0x5de009,this[_0x26c068(0x1e1)]=_0x2c9669,this[_0x26c068(0x276)]=_0x5f1a46,this[_0x26c068(0x1b6)]());}[_0x1ab38c(0x379)](){const _0x5b1d12=_0x1ab38c;this[_0x5b1d12(0x28c)]=!0x0;}['enableLocalCache'](){const _0xa37ff=_0x1ab38c;this[_0xa37ff(0x28c)]=!0x1;}[_0x1ab38c(0x31c)](){const _0x37cb3f=_0x1ab38c;this[_0x37cb3f(0x2b9)]()[_0x37cb3f(0x4f9)](()=>super[_0x37cb3f(0x31c)]());}async[_0x1ab38c(0x309)](_0x532b9a){const _0x563f85=_0x1ab38c;return this[_0x563f85(0x28c)]?null:this['_localStorageService'][_0x563f85(0x27f)](kt(_0x532b9a));}async['saveOfflineData'](_0x2ea53b,_0x104666){const _0x27ac30=_0x1ab38c;return!!this[_0x27ac30(0x335)]['setItem'](_0x2ea53b,_0x104666);}[_0x1ab38c(0x2db)](_0x41ccb2,_0x2e6b1a,_0x313649,_0x381cfa){const _0x4d9a5d=_0x1ab38c,_0x43bce2=this['_revisionService'][_0x4d9a5d(0x56f)](_0x41ccb2);this[_0x4d9a5d(0x206)][_0x4d9a5d(0x1c6)](_0x41ccb2,{'unitID':_0x41ccb2,'type':_0x2e6b1a,'awaitingChangeset':_0x313649,'mutations':_0x381cfa,'rev':_0x43bce2}),this['_saveTaskMap'][_0x4d9a5d(0x392)](_0x41ccb2)||this[_0x4d9a5d(0x262)](_0x41ccb2);}[_0x1ab38c(0x262)](_0x473ce3){const _0x57e354=_0x1ab38c,_0x5f90a7=this[_0x57e354(0x265)]();_0x5f90a7===0x0?this[_0x57e354(0x21e)](_0x473ce3):this[_0x57e354(0x31f)][_0x57e354(0x1c6)](_0x473ce3,setTimeout(()=>this['_saveCache'](_0x473ce3),_0x5f90a7));}[_0x1ab38c(0x265)](){const _0x2da87c=_0x1ab38c;var _0x5c63e2;return(_0x5c63e2=this[_0x2da87c(0x3fd)]['getConfig'](Ii))!=null?_0x5c63e2:tn;}['_saveCache'](_0x33c6d5){const _0x188750=_0x1ab38c,_0x163b62=this[_0x188750(0x31f)][_0x188750(0x3f9)](_0x33c6d5);return _0x163b62!==void 0x0&&window[_0x188750(0x1db)](_0x163b62),this[_0x188750(0x335)][_0x188750(0x34e)](kt(_0x33c6d5),this[_0x188750(0x206)]['get'](_0x33c6d5))[_0x188750(0x4f9)](()=>this[_0x188750(0x31f)][_0x188750(0x5d0)](_0x33c6d5));}async['exhaustSavingTask'](){const _0x5a5a0b=_0x1ab38c,_0xf57a30=[];this['_saveTaskMap']['forEach']((_0x41c2c1,_0x3db097)=>{const _0x24295c=_0x33d2;window['clearTimeout'](_0x41c2c1),_0xf57a30['push'](this[_0x24295c(0x21e)](_0x3db097)[_0x24295c(0x4f9)](()=>{const _0x29368a=_0x24295c;this[_0x29368a(0x31f)][_0x29368a(0x5d0)](_0x3db097);}));}),await Promise[_0x5a5a0b(0x522)](_0xf57a30);}[_0x1ab38c(0x1b6)](){const _0x498da6=_0x1ab38c;this['disposeWithMe'](this[_0x498da6(0x605)][_0x498da6(0x2ab)](()=>{const _0x3a98bb=_0x498da6;if(this['_saveTaskMap'][_0x3a98bb(0x36b)])return this[_0x3a98bb(0x1e1)]['t'](_0x3a98bb(0x23d));}));}},exports[_0x1ab38c(0x516)]=Mn([Pe(0x0,a[_0x1ab38c(0x5bc)]),Pe(0x1,a[_0x1ab38c(0x2a1)]),Pe(0x2,ee[_0x1ab38c(0x179)]),Pe(0x3,a['Inject'](a['LocaleService'])),Pe(0x4,a[_0x1ab38c(0x56d)](m['RevisionService']))],exports[_0x1ab38c(0x516)]);function kt(_0x12a8a4){const _0x1e7fda=_0x1ab38c;return _0x1e7fda(0x4a1)+_0x12a8a4;}var Nn=Object[_0x1ab38c(0x322)],An=Object[_0x1ab38c(0x5da)],Ln=(_0x5e4b7a,_0xe79cef,_0x2bd8f3,_0x453ad5)=>{const _0x1a8aff=_0x1ab38c;for(var _0x4ee7ab=_0x453ad5>0x1?void 0x0:_0x453ad5?An(_0xe79cef,_0x2bd8f3):_0xe79cef,_0x3e08c1=_0x5e4b7a[_0x1a8aff(0x2b7)]-0x1,_0x5a977e;_0x3e08c1>=0x0;_0x3e08c1--)(_0x5a977e=_0x5e4b7a[_0x3e08c1])&&(_0x4ee7ab=(_0x453ad5?_0x5a977e(_0xe79cef,_0x2bd8f3,_0x4ee7ab):_0x5a977e(_0x4ee7ab))||_0x4ee7ab);return _0x453ad5&&_0x4ee7ab&&Nn(_0xe79cef,_0x2bd8f3,_0x4ee7ab),_0x4ee7ab;},_t=(_0x43ca89,_0x2c9aa2)=>(_0x50c494,_0x37feb2)=>_0x2c9aa2(_0x50c494,_0x37feb2,_0x43ca89);function xn(_0x3da07a){const _0x18deff=_0x1ab38c,{unitID:_0x25d214,mutations:_0x1e1ea2}=_0x3da07a;return{'unitId':_0x25d214,'subUnitId':_0x1e1ea2[0x0][_0x18deff(0x1f8)][_0x18deff(0x3aa)]};}let Qe=class{constructor(_0x35f196,_0x1b4945,_0x579123){const _0x40326f=_0x1ab38c;this[_0x40326f(0x2f8)]=_0x35f196,this['_transformService']=_0x1b4945,this['_instanceService']=_0x579123;}['transformSelections'](_0x222b03){const _0x3104cb=_0x1ab38c;var _0x149b1f,_0x12cfd2,_0x55ce88,_0x337618;const _0x4ea75b=this[_0x3104cb(0x2f8)][_0x3104cb(0x3f9)](k[_0x3104cb(0x23a)]),{unitId:_0x47ca3f,subUnitId:_0x20682e}=xn(_0x222b03),_0x26d0ad=_0x4ea75b[_0x3104cb(0x317)](_0x47ca3f)[_0x3104cb(0x188)](),_0x23e24c=(_0x12cfd2=(_0x149b1f=this[_0x3104cb(0x5a9)]['getUnit'](_0x47ca3f))==null?void 0x0:_0x149b1f[_0x3104cb(0x1c1)]())==null?void 0x0:_0x12cfd2[_0x3104cb(0x62b)]();if(_0x26d0ad[_0x3104cb(0x2b7)]===0x0||!_0x47ca3f||!_0x20682e)return;const _0x2320d5=[{'id':k[_0x3104cb(0x1b4)]['id'],'params':{'unitId':_0x47ca3f,'subUnitId':_0x23e24c,'selections':a['Tools']['deepClone'](_0x26d0ad)}}],_0x293df1=this['_transformService']['transformMutationsWithChangeset'](_0x222b03,_0x2320d5);if(!m[_0x3104cb(0x60c)](_0x293df1))throw _0x293df1['error'];const _0x446607=(_0x337618=(_0x55ce88=_0x293df1[_0x3104cb(0x1cb)][0x0])==null?void 0x0:_0x55ce88['params'])==null?void 0x0:_0x337618[_0x3104cb(0x2d4)];if(Array['isArray'](_0x446607)&&_0x446607[_0x3104cb(0x2b7)]){if(_0x446607[_0x3104cb(0x2b7)]===_0x2320d5[0x0][_0x3104cb(0x1f8)][_0x3104cb(0x2d4)][_0x3104cb(0x2b7)]&&_0x446607[_0x3104cb(0x3af)]((_0xe5ae7,_0x308b52)=>a['Rectangle'][_0x3104cb(0x606)](_0xe5ae7[_0x3104cb(0x1ea)],_0x2320d5[0x0]['params']['selections'][_0x308b52]['range'])))return;this[_0x3104cb(0x2f8)][_0x3104cb(0x3f9)](a[_0x3104cb(0x430)])[_0x3104cb(0x59c)](k['SetSelectionsOperation']['id'],{'unitId':_0x47ca3f,'subUnitId':_0x23e24c,'selections':_0x446607});}}};Qe=Ln([_t(0x0,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),_t(0x1,m['ITransformService']),_t(0x2,a[_0x1ab38c(0x585)])],Qe);const at=a[_0x1ab38c(0x4d5)](_0x1ab38c(0x49e));var yi=(_0x2033d8=>(_0x2033d8[_0x2033d8[_0x1ab38c(0x24a)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2033d8[_0x2033d8[_0x1ab38c(0x42c)]=0x1]=_0x1ab38c(0x42c),_0x2033d8))(yi||{});const Wt=0x7530,Ft=_0x1ab38c(0x2e5);class $n extends a['Disposable']{constructor(){const _0x3387f6=_0x1ab38c;super(),I(this,_0x3387f6(0x242),a[_0x3387f6(0x5ed)][_0x3387f6(0x33c)]()),I(this,'_selfUnitIDs',new Set()),I(this,_0x3387f6(0x22f),new Map()),I(this,_0x3387f6(0x432),null),I(this,_0x3387f6(0x2c8),new Map()),I(this,_0x3387f6(0x174),new Map()),this[_0x3387f6(0x419)]();}[_0x1ab38c(0x31c)](){const _0x3a6955=_0x1ab38c;super[_0x3a6955(0x31c)](),this[_0x3a6955(0x2c8)][_0x3a6955(0x3f4)]((_0x4754ff,_0x2fead2)=>this[_0x3a6955(0x495)](_0x2fead2)),this['_heartbeatTimer']&&window[_0x3a6955(0x57a)](this[_0x3a6955(0x432)]);}['getUnitStatus$'](_0x233f95){const _0x5bb33d=_0x1ab38c;return this['_ensureSubject'](_0x233f95)['pipe'](N[_0x5bb33d(0x59b)]());}[_0x1ab38c(0x548)](_0x43b706){const _0x5897e2=_0x1ab38c;this[_0x5897e2(0x346)][_0x5897e2(0x36b)]===0x0&&this[_0x5897e2(0x426)](),this[_0x5897e2(0x346)]['add'](_0x43b706),this['_send']({'type':0x0,'memberID':this[_0x5897e2(0x242)],'unitIDs':[_0x43b706],'isForwarded':!0x1});}[_0x1ab38c(0x260)](_0x25080b){const _0xb076ed=_0x1ab38c;this[_0xb076ed(0x346)][_0xb076ed(0x5d0)](_0x25080b),this[_0xb076ed(0x346)][_0xb076ed(0x36b)]===0x0&&this['_heartbeatTimer']&&window[_0xb076ed(0x57a)](this[_0xb076ed(0x432)]);}[_0x1ab38c(0x419)](){const _0x65b1dc=_0x1ab38c;this[_0x65b1dc(0x4ae)](a[_0x65b1dc(0x1fb)](N[_0x65b1dc(0x4d0)](window,_0x65b1dc(0x2dd))['subscribe'](_0x448727=>{const _0x450c5d=_0x65b1dc;if(_0x448727['key']!==Ft||!_0x448727[_0x450c5d(0x5e2)])return;const _0x57b1f3=JSON[_0x450c5d(0x625)](_0x448727[_0x450c5d(0x5e2)]);this['_handleEvent'](_0x57b1f3);}))),window['addEventListener'](_0x65b1dc(0x556),()=>this[_0x65b1dc(0x466)]({'type':0x1,'memberID':this[_0x65b1dc(0x242)],'unitIDs':Array[_0x65b1dc(0x17c)](this[_0x65b1dc(0x346)])}));}['_handleEvent'](_0x3105c1){const _0x520e1a=_0x1ab38c;switch(_0x3105c1[_0x520e1a(0x57b)]){case 0x0:this[_0x520e1a(0x215)](_0x3105c1);break;case 0x1:this[_0x520e1a(0x3b9)](_0x3105c1);break;case 0x2:this[_0x520e1a(0x4df)](_0x3105c1);break;}}[_0x1ab38c(0x215)](_0x2f6b3f){const _0x43bba5=_0x1ab38c,{unitIDs:_0x11c395,memberID:_0x3ae4ac,isForwarded:_0x31772c}=_0x2f6b3f;_0x11c395[_0x43bba5(0x3f4)](_0x1878b7=>{const _0x2d03fd=_0x43bba5;if(!_0x31772c&&this[_0x2d03fd(0x22f)][_0x2d03fd(0x392)](_0x1878b7)&&this[_0x2d03fd(0x3bf)](_0x1878b7)[_0x2d03fd(0x2c0)](0x1),!this[_0x2d03fd(0x22f)][_0x2d03fd(0x392)](_0x1878b7)||!this[_0x2d03fd(0x22f)][_0x2d03fd(0x3f9)](_0x1878b7)[_0x2d03fd(0x392)](_0x3ae4ac)){const _0x4630bd=this['_unitOnClients'][_0x2d03fd(0x3f9)](_0x1878b7)||new Set();_0x4630bd[_0x2d03fd(0x3ed)](_0x3ae4ac),this[_0x2d03fd(0x22f)][_0x2d03fd(0x1c6)](_0x1878b7,_0x4630bd),this[_0x2d03fd(0x5ea)](_0x3ae4ac);}}),_0x31772c||this[_0x43bba5(0x466)]({'type':0x0,'memberID':this[_0x43bba5(0x242)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1ab38c(0x5ea)](_0x5f083e){const _0x4e63c2=_0x1ab38c;this[_0x4e63c2(0x495)](_0x5f083e);const _0xdea6c4=window[_0x4e63c2(0x45c)](()=>{const _0x23b2e3=_0x4e63c2;this['_unitOnClients'][_0x23b2e3(0x3f4)](_0x1bbdc8=>{_0x1bbdc8['delete'](_0x5f083e);});},Wt*0x2);this[_0x4e63c2(0x2c8)]['set'](_0x5f083e,_0xdea6c4);}[_0x1ab38c(0x495)](_0x3c8e8c){const _0x20e1ca=_0x1ab38c;if(this[_0x20e1ca(0x2c8)][_0x20e1ca(0x392)](_0x3c8e8c)){const _0x514e75=this[_0x20e1ca(0x2c8)][_0x20e1ca(0x3f9)](_0x3c8e8c);_0x514e75&&window[_0x20e1ca(0x1db)](_0x514e75),this['_clearOtherTimers']['set'](_0x3c8e8c,null);}}[_0x1ab38c(0x3b9)](_0x2e9cf8){const _0xacc78e=_0x1ab38c,{memberID:_0x27f788,unitIDs:_0xa911a0}=_0x2e9cf8;_0xa911a0['forEach'](_0x5139c9=>{const _0x539939=_0x33d2;var _0x3376be;const _0x40e929=this[_0x539939(0x22f)][_0x539939(0x3f9)](_0x5139c9);_0x40e929&&(_0x40e929[_0x539939(0x5d0)](_0x27f788),(_0x3376be=this[_0x539939(0x3bf)](_0x5139c9))==null||_0x3376be[_0x539939(0x2c0)](_0x40e929[_0x539939(0x36b)]===0x0?0x0:0x1));}),this[_0xacc78e(0x495)](_0x27f788);}['_handleHeartbeatEvent'](_0xe9e553){const _0x2c53f8=_0x1ab38c;this['_scheduleClearOtherTimer'](_0xe9e553[_0x2c53f8(0x4c3)]);}['_send'](_0x34b3e0){const _0x5e3ab2=_0x1ab38c;localStorage[_0x5e3ab2(0x34e)](Ft,JSON['stringify'](_0x34b3e0));}['_scheduleHeartbeat'](){const _0x57450b=_0x1ab38c;this['_heartbeatTimer']=window[_0x57450b(0x618)](()=>{const _0x3549f2=_0x57450b;this[_0x3549f2(0x466)]({'type':0x2,'memberID':this[_0x3549f2(0x242)]});},Wt);}[_0x1ab38c(0x3bf)](_0xb9f260){const _0x2920fa=_0x1ab38c;return this[_0x2920fa(0x174)]['has'](_0xb9f260)||this[_0x2920fa(0x174)][_0x2920fa(0x1c6)](_0xb9f260,new N[(_0x2920fa(0x3bd))](0x0)),this[_0x2920fa(0x174)][_0x2920fa(0x3f9)](_0xb9f260);}}var jn=Object[_0x1ab38c(0x322)],Hn=Object[_0x1ab38c(0x5da)],Bn=(_0x2917ee,_0x36c4b2,_0x56fe33,_0x591dbd)=>{for(var _0x481f0d=_0x591dbd>0x1?void 0x0:_0x591dbd?Hn(_0x36c4b2,_0x56fe33):_0x36c4b2,_0x4dd6ad=_0x2917ee['length']-0x1,_0x45988d;_0x4dd6ad>=0x0;_0x4dd6ad--)(_0x45988d=_0x2917ee[_0x4dd6ad])&&(_0x481f0d=(_0x591dbd?_0x45988d(_0x36c4b2,_0x56fe33,_0x481f0d):_0x45988d(_0x481f0d))||_0x481f0d);return _0x591dbd&&_0x481f0d&&jn(_0x36c4b2,_0x56fe33,_0x481f0d),_0x481f0d;},ut=(_0x253be4,_0x103456)=>(_0x2b5836,_0x394c7c)=>_0x103456(_0x2b5836,_0x394c7c,_0x253be4);let et=class{constructor(_0x3e852d,_0x23c35d,_0x2adde4){const _0xba4036=_0x1ab38c;this[_0xba4036(0x2f8)]=_0x3e852d,this[_0xba4036(0x4bc)]=_0x23c35d,this[_0xba4036(0x3b3)]=_0x2adde4;}[_0x1ab38c(0x2f2)](_0x4112ab){const _0x55e6b2=_0x1ab38c;this[_0x55e6b2(0x5cd)](_0x4112ab);}[_0x1ab38c(0x1f3)](_0x5ee15e){const _0x6ef51c=_0x1ab38c,{unitID:_0x1c36e7}=_0x5ee15e,{collaboration:_0x338785}=this[_0x6ef51c(0x3b3)][_0x6ef51c(0x218)](_0x1c36e7);if(_0x338785['length']===0x0)return _0x5ee15e;let _0x3b81f0=a['Tools']['deepClone'](_0x5ee15e[_0x6ef51c(0x4ea)][0x0]);for(let _0x3b3a8b=0x0;_0x3b3a8b<_0x338785[_0x6ef51c(0x2b7)];_0x3b3a8b++){const _0x1ab302={'id':_0x6ef51c(0x401),'params':{'unitId':_0x338785[_0x3b3a8b]['unitId'],..._0x338785[_0x3b3a8b][_0x6ef51c(0x410)]}},_0x2969ad=this[_0x6ef51c(0x4bc)][_0x6ef51c(0x5cc)](_0x3b81f0,_0x1ab302,!0x1);if(m['isTransformMutationFailure'](_0x2969ad))throw _0x2969ad[_0x6ef51c(0x48d)];_0x3b81f0=_0x2969ad['m1Prime'];}return{...a[_0x6ef51c(0x5ed)][_0x6ef51c(0x252)](_0x5ee15e),'mutations':[_0x3b81f0]};}[_0x1ab38c(0x5cd)](_0x56c8c5){const _0x5d853a=_0x1ab38c,{unitID:_0x5b01a0}=_0x56c8c5,{history:_0x70a19a,collaboration:_0x420e2b}=this['_docStateChangeManagerService'][_0x5d853a(0x218)](_0x5b01a0);if(_0x70a19a[_0x5d853a(0x2b7)]===0x0&&_0x420e2b[_0x5d853a(0x2b7)]===0x0)return;const _0x2d7943=[],_0x217f90=[];let _0x49eb28=a[_0x5d853a(0x5ed)][_0x5d853a(0x252)](_0x56c8c5[_0x5d853a(0x4ea)][0x0]),_0x5cba5f=a['Tools']['deepClone'](_0x56c8c5[_0x5d853a(0x4ea)][0x0]);for(let _0xe7a461=_0x70a19a[_0x5d853a(0x2b7)]-0x1;_0xe7a461>=0x0;_0xe7a461--){const _0x175db8={'id':_0x5d853a(0x401),'params':{'unitId':_0x70a19a[_0xe7a461][_0x5d853a(0x1d7)],..._0x70a19a[_0xe7a461][_0x5d853a(0x35b)]}},_0x471034={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x70a19a[_0xe7a461][_0x5d853a(0x1d7)],..._0x70a19a[_0xe7a461][_0x5d853a(0x410)]}},_0x3e6cab=this[_0x5d853a(0x4bc)][_0x5d853a(0x5cc)](_0x49eb28,_0x175db8,!0x1),_0x19e8d6=this[_0x5d853a(0x4bc)][_0x5d853a(0x5cc)](_0x5cba5f,_0x471034,!0x1);if(m['isTransformMutationFailure'](_0x3e6cab))throw _0x3e6cab['error'];if(m[_0x5d853a(0x226)](_0x19e8d6))throw _0x19e8d6[_0x5d853a(0x48d)];_0x2d7943[_0x5d853a(0x5df)]({..._0x70a19a[_0xe7a461],'undoState':_0x3e6cab['m2Prime'][_0x5d853a(0x1f8)],'redoState':_0x19e8d6[_0x5d853a(0x1cb)][_0x5d853a(0x1f8)]}),_0x49eb28=_0x3e6cab['m1Prime'],_0x5cba5f=_0x19e8d6['m1Prime'];}_0x49eb28=a['Tools'][_0x5d853a(0x252)](_0x56c8c5['mutations'][0x0]),_0x5cba5f=a[_0x5d853a(0x5ed)]['deepClone'](_0x56c8c5[_0x5d853a(0x4ea)][0x0]);for(let _0x23c717=_0x420e2b['length']-0x1;_0x23c717>=0x0;_0x23c717--){const _0x4a1277={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x420e2b[_0x23c717][_0x5d853a(0x1d7)],..._0x420e2b[_0x23c717]['undoState']}},_0x5e62b1={'id':_0x5d853a(0x401),'params':{'unitId':_0x420e2b[_0x23c717]['unitId'],..._0x420e2b[_0x23c717]['redoState']}},_0x3d47f4=this['_transformService'][_0x5d853a(0x5cc)](_0x49eb28,_0x4a1277,!0x1),_0x2884b3=this['_transformService'][_0x5d853a(0x5cc)](_0x5cba5f,_0x5e62b1,!0x1);if(m['isTransformMutationFailure'](_0x3d47f4))throw _0x3d47f4[_0x5d853a(0x48d)];if(m['isTransformMutationFailure'](_0x2884b3))throw _0x2884b3[_0x5d853a(0x48d)];_0x217f90[_0x5d853a(0x5df)]({..._0x420e2b[_0x23c717],'undoState':_0x3d47f4[_0x5d853a(0x1cb)][_0x5d853a(0x1f8)],'redoState':_0x2884b3[_0x5d853a(0x1cb)][_0x5d853a(0x1f8)]}),_0x49eb28=_0x3d47f4[_0x5d853a(0x5ad)],_0x5cba5f=_0x2884b3[_0x5d853a(0x5ad)];}this[_0x5d853a(0x3b3)][_0x5d853a(0x487)](_0x5b01a0,{'history':_0x2d7943,'collaboration':_0x217f90});}};et=Bn([ut(0x0,a['Inject'](a[_0x1ab38c(0x26b)])),ut(0x1,m[_0x1ab38c(0x1d9)]),ut(0x2,a[_0x1ab38c(0x56d)](J[_0x1ab38c(0x553)]))],et);function Di(_0x4efcac){const _0x75b81d=_0x1ab38c;let _0x52233c='';for(const _0xf8074f of _0x4efcac){const {startOffset:_0x56924a,endOffset:_0x21db5f,isActive:_0x2ec448,rangeType:_0x512dd5,segmentId:_0xb260ab,segmentPage:_0x20582b}=_0xf8074f;_0x52233c[_0x75b81d(0x2b7)]&&(_0x52233c+=','),_0x52233c+=_0x56924a+':'+_0x21db5f+':'+(_0x2ec448?'1':'0')+':'+_0x512dd5+':'+_0xb260ab+':'+_0x20582b;}return _0x52233c;}function kn(_0x2e7129){const _0x32bf9e=_0x1ab38c,_0x1702cb=_0x2e7129[_0x32bf9e(0x463)](','),_0x238e5a=[];for(const _0x49a8f4 of _0x1702cb){const [_0xe49cb8,_0x536710,_0x3f6eff,_0x535a64,_0x82ae09,_0x287007]=_0x49a8f4[_0x32bf9e(0x463)](':');_0x238e5a[_0x32bf9e(0x2e4)]({'startOffset':Number(_0xe49cb8),'endOffset':Number(_0x536710),'collapsed':_0xe49cb8===_0x536710,'isActive':_0x3f6eff==='1','rangeType':_0x535a64===a[_0x32bf9e(0x5e6)][_0x32bf9e(0x349)]?a[_0x32bf9e(0x5e6)]['TEXT']:a['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x82ae09==_0x32bf9e(0x3a2)?String(_0x82ae09):'','segmentPage':Number(_0x287007!=null?_0x287007:-0x1)});}return _0x238e5a[_0x32bf9e(0x418)](_0x2a4c14=>_0x2a4c14[_0x32bf9e(0x2fb)])||(_0x238e5a[0x0]['isActive']=!0x0),_0x238e5a;}class Ut extends a[_0x1ab38c(0x579)]{constructor(){const _0x5490bc=_0x1ab38c;super(...arguments),I(this,_0x5490bc(0x609),new N['BehaviorSubject'](null)),I(this,_0x5490bc(0x4c0),this[_0x5490bc(0x609)]['asObservable']());}[_0x1ab38c(0x20e)](_0x4146ce){const _0x25e2e9=_0x1ab38c,{unitID:_0x3f984a,memberID:_0x45a8d2,textRanges:_0x1a2d1d}=_0x4146ce,_0xeaf1f3=Di(_0x1a2d1d);if(_0xeaf1f3==='')return;const _0xf69a26={'unitID':_0x3f984a,'memberID':_0x45a8d2,'selection':_0xeaf1f3};this[_0x25e2e9(0x609)][_0x25e2e9(0x2c0)](_0xf69a26);}}var Wn=Object[_0x1ab38c(0x322)],Fn=Object[_0x1ab38c(0x5da)],Vn=(_0x4776d1,_0x39eb2a,_0x4eceaf,_0x28966a)=>{const _0x4ef428=_0x1ab38c;for(var _0xa67b94=_0x28966a>0x1?void 0x0:_0x28966a?Fn(_0x39eb2a,_0x4eceaf):_0x39eb2a,_0x43fb0b=_0x4776d1[_0x4ef428(0x2b7)]-0x1,_0x2f7126;_0x43fb0b>=0x0;_0x43fb0b--)(_0x2f7126=_0x4776d1[_0x43fb0b])&&(_0xa67b94=(_0x28966a?_0x2f7126(_0x39eb2a,_0x4eceaf,_0xa67b94):_0x2f7126(_0xa67b94))||_0xa67b94);return _0x28966a&&_0xa67b94&&Wn(_0x39eb2a,_0x4eceaf,_0xa67b94),_0xa67b94;},Vt=(_0x373b90,_0x2d3eef)=>(_0x2ed5b9,_0x3e4940)=>_0x2d3eef(_0x2ed5b9,_0x3e4940,_0x373b90);let tt=class{constructor(_0x599b12,_0x1d71e6){const _0xd91fe8=_0x1ab38c;this[_0xd91fe8(0x2f8)]=_0x599b12,this[_0xd91fe8(0x4bc)]=_0x1d71e6;}['transformSelections'](_0x2df201){const _0x57502d=_0x1ab38c;var _0x4e4287;const _0x53ebfc=this['_injector']['get'](Ie[_0x57502d(0x195)]),_0x385d6f=(_0x4e4287=_0x53ebfc[_0x57502d(0x5fa)]())!=null?_0x4e4287:[];if(_0x385d6f[_0x57502d(0x2b7)]===0x0)return;const _0x5c1714=_0x2df201[_0x57502d(0x3d4)],_0x49d85e=[{'id':_0x57502d(0x401),'params':{'unitId':_0x5c1714,'actions':null,'textRanges':_0x385d6f}}],_0x229229=this[_0x57502d(0x4bc)]['transformMutationsWithChangeset'](_0x2df201,_0x49d85e);if(!m[_0x57502d(0x60c)](_0x229229))throw _0x229229['error'];const _0x148ce5=_0x229229[_0x57502d(0x1cb)][0x0][_0x57502d(0x1f8)][_0x57502d(0x480)];Array[_0x57502d(0x28e)](_0x148ce5)&&_0x148ce5[_0x57502d(0x2b7)]&&_0x53ebfc[_0x57502d(0x457)](_0x148ce5,{'unitId':_0x5c1714,'subUnitId':_0x5c1714},!0x1);}};tt=Vn([Vt(0x0,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),Vt(0x1,m[_0x1ab38c(0x1d9)])],tt);const Gn=new Set([k['InsertSheetMutation']['id']]);function Gt(_0xb1e6a,_0x17b3e9,_0x1e09e7,_0xb3b88f,_0x257678){const _0x39c837=_0x1ab38c;var _0x1e17aa,_0x124c17,_0x30d481,_0x2fd90b;const _0x1e7efd=[];for(const _0x32af42 of _0xb1e6a)if(Gn['has'](_0x32af42['id'])){if(_0x1e7efd[_0x39c837(0x2b7)]>0x0)break;_0x1e7efd[_0x39c837(0x2e4)](_0x32af42);break;}else _0x1e7efd[_0x39c837(0x2e4)](_0x32af42);const _0xe36949=(_0x124c17=(_0x1e17aa=_0x257678[_0x39c837(0x4f4)]())==null?void 0x0:_0x1e17aa[_0x39c837(0x438)])!=null?_0x124c17:_0x39c837(0x211),_0x508cfc=(_0x2fd90b=(_0x30d481=_0x257678[_0x39c837(0x4f4)]())==null?void 0x0:_0x30d481['memberID'])!=null?_0x2fd90b:_0x39c837(0x211);return{'changeset':{'unitID':_0x17b3e9,'type':m[_0x39c837(0x61d)](_0x1e09e7[_0x39c837(0x30d)](_0x17b3e9)),'baseRev':_0xb3b88f[_0x39c837(0x56f)](_0x17b3e9),'revision':0x0,'userID':_0xe36949,'memberID':_0x508cfc,'mutations':_0x1e7efd},'pendingMutations':_0xb1e6a['slice'](_0x1e7efd['length'])};}function Yn(_0x2eb868,_0x48553a,_0x117053,_0x24e399,_0x4e4d7a){const _0x1523fa=_0x1ab38c;var _0x1b13fb,_0x30a41d,_0x253940,_0x433311;const _0x3d0c30=[_0x2eb868['reduce']((_0x2ac7cb,_0x1ce342)=>{const _0x1bb804=_0x33d2;var _0x208913;const {id:_0x35f335}=_0x2ac7cb,{id:_0x147ddf,type:_0x2e0115}=_0x1ce342,_0x1eaca6=(_0x208913=_0x2ac7cb['params'])!=null?_0x208913:{'actions':null},_0x2705b2=_0x1ce342[_0x1bb804(0x1f8)];if(_0x35f335&&_0x35f335!==_0x147ddf)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x35f335+_0x1bb804(0x534)+_0x147ddf+'.');return{..._0x2ac7cb,'id':_0x147ddf,'type':_0x2e0115,'params':{'unitId':_0x2705b2['unitId'],'textRanges':_0x2705b2[_0x1bb804(0x480)],'actions':a[_0x1bb804(0x283)][_0x1bb804(0x531)](_0x1eaca6[_0x1bb804(0x1dc)],_0x2705b2[_0x1bb804(0x1dc)])}};},{})],_0x40ee62=(_0x30a41d=(_0x1b13fb=_0x4e4d7a['getCurrentUser']())==null?void 0x0:_0x1b13fb[_0x1523fa(0x438)])!=null?_0x30a41d:_0x1523fa(0x211),_0x4f0d65=(_0x433311=(_0x253940=_0x4e4d7a[_0x1523fa(0x4f4)]())==null?void 0x0:_0x253940[_0x1523fa(0x4c3)])!=null?_0x433311:'unknown';return{'changeset':{'unitID':_0x48553a,'type':m[_0x1523fa(0x61d)](_0x117053['getUnitType'](_0x48553a)),'baseRev':_0x24e399[_0x1523fa(0x56f)](_0x48553a),'revision':0x0,'userID':_0x40ee62,'memberID':_0x4f0d65,'mutations':_0x3d0c30},'pendingMutations':[]};}function Pi(_0x49c9b9,_0x1bae13){const _0x5b58c1=_0x1ab38c,_0x2d8f71=new N['ReplaySubject'](0x1);return setTimeout(()=>_0x2d8f71['next'](_0x1bae13),_0x49c9b9),_0x2d8f71[_0x5b58c1(0x3b4)]()[_0x5b58c1(0x21a)](N[_0x5b58c1(0x184)](0x1));}const qn={'id':k[_0x1ab38c(0x236)]['id'],'type':a[_0x1ab38c(0x395)][_0x1ab38c(0x28b)],'params':{}};var Kn=Object[_0x1ab38c(0x322)],zn=Object['getOwnPropertyDescriptor'],Ee=(_0x35401,_0x4aa565,_0x5b569a,_0x253cfd)=>{const _0x118ee7=_0x1ab38c;for(var _0x2d3607=_0x253cfd>0x1?void 0x0:_0x253cfd?zn(_0x4aa565,_0x5b569a):_0x4aa565,_0x4385f2=_0x35401[_0x118ee7(0x2b7)]-0x1,_0x265108;_0x4385f2>=0x0;_0x4385f2--)(_0x265108=_0x35401[_0x4385f2])&&(_0x2d3607=(_0x253cfd?_0x265108(_0x4aa565,_0x5b569a,_0x2d3607):_0x265108(_0x2d3607))||_0x2d3607);return _0x253cfd&&_0x2d3607&&Kn(_0x4aa565,_0x5b569a,_0x2d3607),_0x2d3607;},A=(_0x18de0d,_0xe8d9f6)=>(_0x5e5bda,_0x4ae30d)=>_0xe8d9f6(_0x5e5bda,_0x4ae30d,_0x18de0d),K=(_0x297549=>(_0x297549[_0x1ab38c(0x1d1)]=_0x1ab38c(0x5a5),_0x297549[_0x1ab38c(0x533)]=_0x1ab38c(0x396),_0x297549[_0x1ab38c(0x320)]='pending',_0x297549[_0x1ab38c(0x261)]=_0x1ab38c(0x3d7),_0x297549[_0x1ab38c(0x5b0)]=_0x1ab38c(0x1ff),_0x297549['FETCH_MISS']=_0x1ab38c(0x450),_0x297549[_0x1ab38c(0x5f1)]='conflict',_0x297549[_0x1ab38c(0x1e7)]=_0x1ab38c(0x573),_0x297549))(K||{});const wi=0xea60;class be{constructor(_0x1712e5,_0x59c917,_0x2aa0e3,_0x31a1d4,_0x54bc75,_0x32c537,_0x4035df,_0x3d1fe1,_0x39da37){const _0x5e6637=_0x1ab38c;I(this,_0x5e6637(0x4c5),null),I(this,_0x5e6637(0x1a9),[]),(this[_0x5e6637(0x3d4)]=_0x1712e5,this[_0x5e6637(0x57b)]=_0x59c917,this[_0x5e6637(0x25d)]=_0x54bc75,this[_0x5e6637(0x223)]=_0x32c537,this[_0x5e6637(0x4db)]=_0x4035df,this[_0x5e6637(0x276)]=_0x3d1fe1,this[_0x5e6637(0x28a)]=_0x39da37,this[_0x5e6637(0x4c5)]=_0x2aa0e3,this[_0x5e6637(0x1a9)]=_0x31a1d4);}[_0x1ab38c(0x52c)](_0x329ae1){const _0x4af840=_0x1ab38c,_0xc4d31e=this[_0x4af840(0x276)][_0x4af840(0x56f)](this['unitID']);return _0x329ae1['revision']>_0xc4d31e+0x1?(this[_0x4af840(0x25d)][_0x4af840(0x35d)]({'from':_0xc4d31e,'to':_0x329ae1[_0x4af840(0x3fa)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x2cc297){const _0x3f3bcc=_0x1ab38c;this[_0x3f3bcc(0x4db)][_0x3f3bcc(0x2a2)](this[_0x3f3bcc(0x3d4)],_0x2cc297);}[_0x1ab38c(0x18b)](_0x2d84a1){const _0x193982=_0x1ab38c;var _0x8c942b,_0x5ba53a;(_0x5ba53a=(_0x8c942b=this[_0x193982(0x25d)])['onTransformSelections'])==null||_0x5ba53a[_0x193982(0x4fd)](_0x8c942b,_0x2d84a1);}[_0x1ab38c(0x54e)](_0x15932d){const _0x337045=_0x1ab38c;var _0x4de85f,_0x28a751;return(_0x28a751=(_0x4de85f=this[_0x337045(0x25d)])[_0x337045(0x3c8)])==null?void 0x0:_0x28a751[_0x337045(0x4fd)](_0x4de85f,_0x15932d);}[_0x1ab38c(0x217)](_0x348d82){const _0x1c4d8e=_0x1ab38c;var _0x1cb85c,_0x1a1f9b;return(_0x1a1f9b=(_0x1cb85c=this[_0x1c4d8e(0x25d)])[_0x1c4d8e(0x216)])==null?void 0x0:_0x1a1f9b[_0x1c4d8e(0x4fd)](_0x1cb85c,_0x348d82);}[_0x1ab38c(0x4a4)](_0x249bf1){const _0x3ce19b=_0x1ab38c;var _0x5aae07,_0x501717,_0x556d91;return(_0x556d91=(_0x501717=(_0x5aae07=this['_handler'])[_0x3ce19b(0x597)])==null?void 0x0:_0x501717[_0x3ce19b(0x4fd)](_0x5aae07,_0x249bf1))!=null?_0x556d91:_0x249bf1;}[_0x1ab38c(0x630)](_0x2124b8){const _0xfe95f6=_0x1ab38c;var _0x95cb3e,_0x50ff23,_0x3037f2;return(_0x3037f2=(_0x50ff23=(_0x95cb3e=this['_handler'])[_0xfe95f6(0x26c)])==null?void 0x0:_0x50ff23[_0xfe95f6(0x4fd)](_0x95cb3e,_0x2124b8))!=null?_0x3037f2:_0x2124b8;}[_0x1ab38c(0x51b)](_0x35d6ef){const _0x4e9432=_0x1ab38c;var _0x1e18b0,_0x7a3a82;if(this[_0x4e9432(0x57b)]===ie[_0x4e9432(0x355)]){const {unitID:_0x1fb1e3,mutations:_0x57a48e,memberID:_0x222389}=_0x35d6ef,_0x285c0e=_0x57a48e[0x0][_0x4e9432(0x1f8)][_0x4e9432(0x480)];Array[_0x4e9432(0x28e)](_0x285c0e)&&_0x285c0e[_0x4e9432(0x2b7)]>0x0&&((_0x7a3a82=(_0x1e18b0=this[_0x4e9432(0x25d)])[_0x4e9432(0x46b)])==null||_0x7a3a82[_0x4e9432(0x4fd)](_0x1e18b0,{'unitID':_0x1fb1e3,'memberID':_0x222389,'textRanges':_0x285c0e}));}}[_0x1ab38c(0x293)](){const _0x22b124=_0x1ab38c;this[_0x22b124(0x28a)][_0x22b124(0x2db)](this[_0x22b124(0x3d4)],this['type'],this[_0x22b124(0x4c5)],this[_0x22b124(0x1a9)]);}[_0x1ab38c(0x1fe)](){const _0x23272e=_0x1ab38c;return this['_revisionService'][_0x23272e(0x56f)](this[_0x23272e(0x3d4)]);}['_incrementRevisionNumber'](){const _0x2524a7=_0x1ab38c;this['_revisionService'][_0x2524a7(0x46c)](this['unitID']);}['_executeRemoteChangeset'](_0x494ef4){const _0x5f8992=_0x1ab38c;var _0x352559;let _0x34d789=this[_0x5f8992(0x4a4)](_0x494ef4);_0x34d789=this[_0x5f8992(0x630)](_0x34d789);const _0x5cbd1b=a['sequenceExecute'](_0x34d789[_0x5f8992(0x4ea)],this[_0x5f8992(0x223)],{'fromCollab':!0x0});if(!_0x5cbd1b[_0x5f8992(0x590)])throw _0x5cbd1b[_0x5f8992(0x48d)]instanceof Error?_0x5cbd1b[_0x5f8992(0x48d)]:new Error((_0x352559=_0x5cbd1b[_0x5f8992(0x48d)])!=null?_0x352559:_0x5f8992(0x1b5));this[_0x5f8992(0x54e)](_0x34d789),this['_transformStateCache'](_0x34d789),this['_transformUndoredo'](_0x494ef4),this[_0x5f8992(0x18b)](_0x34d789),this[_0x5f8992(0x51b)](_0x34d789),this[_0x5f8992(0x3cb)]();}}let Oe=class extends be{constructor(_0x402c70,_0x3cb580,_0x2ece78,_0x2bff97,_0x3b0f54,_0x18f196,_0x188844,_0x481ab5,_0x46a5cf,_0x58353b){const _0xb5a1d5=_0x1ab38c;super(_0x402c70,_0x3cb580,null,[],_0x2ece78,_0x481ab5,_0x188844,_0x2bff97,_0x3b0f54),I(this,_0xb5a1d5(0x338),_0xb5a1d5(0x396)),(this[_0xb5a1d5(0x2f8)]=_0x18f196,this['_logService']=_0x46a5cf,this[_0xb5a1d5(0x4bc)]=_0x58353b);}[_0x1ab38c(0x4d7)](_0x4a9bbf){const _0x2e8cd9=_0x1ab38c,_0x156cc0=this['_injector']['createInstance'](ae,this['unitID'],this[_0x2e8cd9(0x57b)],[_0x4a9bbf],this[_0x2e8cd9(0x25d)]);return _0x156cc0[_0x2e8cd9(0x1e2)](),_0x156cc0[_0x2e8cd9(0x293)](),_0x156cc0;}[_0x1ab38c(0x452)](_0x18572a){const _0x24551f=_0x1ab38c;if(this['_checkMissing'](_0x18572a))return this[_0x24551f(0x2f8)][_0x24551f(0x440)](re,this[_0x24551f(0x3d4)],this['type'],null,[],null,[_0x18572a],this['_handler']);try{const _0x220bd5=this[_0x24551f(0x4bc)][_0x24551f(0x435)](_0x18572a,[qn]);if(m[_0x24551f(0x60c)](_0x220bd5)){const {c1Prime:_0x343bec}=_0x220bd5;return this[_0x24551f(0x357)](_0x343bec),this;}throw _0x220bd5['error'];}catch(_0x298f68){return this['_logService'][_0x24551f(0x48d)](_0x298f68),this['_onConflict'](!0x1);}}[_0x1ab38c(0x209)](_0x3c7231){const _0x57c330=_0x1ab38c;return this['_injector'][_0x57c330(0x440)](fe,this['unitID'],this[_0x57c330(0x57b)],null,[],this['_handler'],_0x3c7231);}[_0x1ab38c(0x60a)](){const _0x480f40=_0x1ab38c;throw new Error(_0x480f40(0x515));}['onRemoteRej'](){const _0x3ca32a=_0x1ab38c;throw new Error(_0x3ca32a(0x3b1));}['onRemoteRetry'](){return this;}[_0x1ab38c(0x2d2)](){const _0x2c0db5=_0x1ab38c;return this['_injector'][_0x2c0db5(0x440)](ve,this[_0x2c0db5(0x3d4)],this['type'],null,[],this[_0x2c0db5(0x25d)]);}[_0x1ab38c(0x22a)](){return this;}[_0x1ab38c(0x3ce)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1ab38c(0x4a2)](){const _0x5e3e93=_0x1ab38c,_0x387357=this['_revisionService'][_0x5e3e93(0x56f)](this[_0x5e3e93(0x3d4)]);return this[_0x5e3e93(0x25d)][_0x5e3e93(0x35d)]({'from':_0x387357,'to':0x0}),this[_0x5e3e93(0x2f8)][_0x5e3e93(0x440)](re,this[_0x5e3e93(0x3d4)],this[_0x5e3e93(0x57b)],null,[],null,[],this[_0x5e3e93(0x25d)]);}};Oe=Ee([A(0x3,a['Inject'](m[_0x1ab38c(0x187)])),A(0x4,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x516)])),A(0x5,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x6,a['IUndoRedoService']),A(0x7,a[_0x1ab38c(0x430)]),A(0x8,a[_0x1ab38c(0x626)]),A(0x9,m[_0x1ab38c(0x1d9)])],Oe);let ae=class extends be{constructor(_0x491b5d,_0x39c5a3,_0x218c7a,_0x2e0546,_0x462c4e,_0x5ecd5c,_0x2f1857,_0x1aa8c7,_0x2005a8,_0xae96a5,_0xdbc98b,_0x2e6e30,_0x408ed8,_0x21519f){const _0x4a3952=_0x1ab38c;super(_0x491b5d,_0x39c5a3,null,_0x218c7a,_0x2e0546,_0xae96a5,_0x21519f,_0x5ecd5c,_0x2f1857),I(this,_0x4a3952(0x338),_0x4a3952(0x16a)),I(this,_0x4a3952(0x49c),null),I(this,'_sendingTimer',null),(this[_0x4a3952(0x2f8)]=_0x462c4e,this[_0x4a3952(0x361)]=_0x1aa8c7,this[_0x4a3952(0x4d3)]=_0x2005a8,this[_0x4a3952(0x3fd)]=_0xdbc98b,this[_0x4a3952(0x4bc)]=_0x2e6e30,this[_0x4a3952(0x3b6)]=_0x408ed8);}[_0x1ab38c(0x4d7)](_0x1e57ff){const _0x44dfb6=_0x1ab38c;return this[_0x44dfb6(0x1a9)][_0x44dfb6(0x2e4)](_0x1e57ff),this[_0x44dfb6(0x293)](),this;}['onRemoteChangeset'](_0x53bbd1){const _0x2222ba=_0x1ab38c;if(this[_0x2222ba(0x52c)](_0x53bbd1))return this[_0x2222ba(0x1ae)](),this[_0x2222ba(0x2f8)][_0x2222ba(0x440)](re,this['unitID'],this[_0x2222ba(0x57b)],null,this[_0x2222ba(0x1a9)],null,[_0x53bbd1],this[_0x2222ba(0x25d)]);try{const _0x51b9db=this[_0x2222ba(0x4bc)][_0x2222ba(0x435)](_0x53bbd1,this['_pendingMutations']);if(m[_0x2222ba(0x60c)](_0x51b9db)){const {c1Prime:_0x26032f,m2Prime:_0x4c5b52}=_0x51b9db;this['_executeRemoteChangeset'](_0x26032f);const _0x3afcc4=this[_0x2222ba(0x2f8)][_0x2222ba(0x440)](ae,this[_0x2222ba(0x3d4)],this['type'],_0x4c5b52,this[_0x2222ba(0x25d)]);return this[_0x2222ba(0x1ae)](),_0x3afcc4['_schedule'](this[_0x2222ba(0x49c)]?Math[_0x2222ba(0x412)](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0x2222ba(0x434)]()),_0x3afcc4;}throw _0x51b9db[_0x2222ba(0x48d)];}catch(_0x2230c5){return this[_0x2222ba(0x4d3)][_0x2222ba(0x48d)](_0x2230c5),this['_onConflict'](!0x1);}}[_0x1ab38c(0x60a)](){const _0x2d3384=_0x1ab38c;throw new Error(_0x2d3384(0x524));}[_0x1ab38c(0x1ab)](){const _0x11963e=_0x1ab38c;throw new Error(_0x11963e(0x2ec));}[_0x1ab38c(0x51c)](){return this;}[_0x1ab38c(0x2d2)](){const _0x5db1e1=_0x1ab38c;return this[_0x5db1e1(0x1ae)](),this[_0x5db1e1(0x2f8)][_0x5db1e1(0x440)](ve,this[_0x5db1e1(0x3d4)],this['type'],null,this[_0x5db1e1(0x1a9)],this[_0x5db1e1(0x25d)]);}[_0x1ab38c(0x22a)](){return this;}[_0x1ab38c(0x1e2)](_0x47344c){const _0x507b30=_0x1ab38c,_0x1561ed=_0x47344c!=null?_0x47344c:this[_0x507b30(0x434)]();this[_0x507b30(0x49c)]=new Date()[_0x507b30(0x2ee)](),this['_sendingTimer']=window[_0x507b30(0x45c)](()=>{const _0x364bf7=_0x507b30;this[_0x364bf7(0x1ae)]();let _0x279b68=null;switch(this[_0x364bf7(0x57b)]){case ie[_0x364bf7(0x2e0)]:{_0x279b68=Gt(this[_0x364bf7(0x1a9)],this[_0x364bf7(0x3d4)],this[_0x364bf7(0x3b6)],this[_0x364bf7(0x276)],this[_0x364bf7(0x361)]);break;}case ie[_0x364bf7(0x355)]:{this[_0x364bf7(0x1a9)][_0x364bf7(0x3af)](_0x26cf2e=>_0x26cf2e['id']===Ie[_0x364bf7(0x2a5)]['id'])?_0x279b68=Yn(this[_0x364bf7(0x1a9)],this[_0x364bf7(0x3d4)],this[_0x364bf7(0x3b6)],this[_0x364bf7(0x276)],this[_0x364bf7(0x361)]):_0x279b68=Gt(this[_0x364bf7(0x1a9)],this[_0x364bf7(0x3d4)],this['_univerInstanceService'],this[_0x364bf7(0x276)],this[_0x364bf7(0x361)]);break;}default:throw new Error(_0x364bf7(0x5a2)+this[_0x364bf7(0x57b)]+'\x20in\x20_schedule.');}const {changeset:_0x6fe67f,pendingMutations:_0x4ac80f}=_0x279b68;this[_0x364bf7(0x25d)][_0x364bf7(0x55d)](_0x6fe67f);const _0x1b5341=_0x4ac80f[_0x364bf7(0x2b7)]?this['_injector']['createInstance'](ce,this['unitID'],this['type'],_0x6fe67f,_0x4ac80f,this[_0x364bf7(0x25d)],void 0x0):this[_0x364bf7(0x2f8)]['createInstance'](de,this['unitID'],this[_0x364bf7(0x57b)],_0x6fe67f,this[_0x364bf7(0x25d)]);_0x1b5341[_0x364bf7(0x293)](),this['_handler'][_0x364bf7(0x44c)](this,_0x1b5341);},_0x1561ed);}[_0x1ab38c(0x434)](){const _0x3604df=_0x1ab38c;var _0x1d191b;const _0x3f4182=this[_0x3604df(0x3fd)][_0x3604df(0x489)](Z);return(_0x1d191b=_0x3f4182==null?void 0x0:_0x3f4182[_0x3604df(0x62f)])!=null?_0x1d191b:zi;}[_0x1ab38c(0x3ce)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1ab38c(0x1ae)](){const _0x40ab8c=_0x1ab38c;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x40ab8c(0x334)]=null);}[_0x1ab38c(0x209)](_0x1b1054){const _0xdba55a=_0x1ab38c;return this['_clearScheduledTask'](),this['_injector']['createInstance'](fe,this[_0xdba55a(0x3d4)],this[_0xdba55a(0x57b)],null,this[_0xdba55a(0x1a9)],this[_0xdba55a(0x25d)],_0x1b1054);}};ae=Ee([A(0x4,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x5,a[_0x1ab38c(0x56d)](m['RevisionService'])),A(0x6,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x516)])),A(0x7,a['Inject'](exports[_0x1ab38c(0x32f)])),A(0x8,a['ILogService']),A(0x9,a['ICommandService']),A(0xa,a[_0x1ab38c(0x5bc)]),A(0xb,m[_0x1ab38c(0x1d9)]),A(0xc,a['IUniverInstanceService']),A(0xd,a['IUndoRedoService'])],ae);let de=class extends be{constructor(_0x3e1b13,_0x2be1de,_0x3422d1,_0x45889c,_0x3f59a7,_0x1b3020,_0x3d4995,_0x27ca98,_0x4d2e75,_0x25679f,_0x293f7f){const _0xd7cac3=_0x1ab38c;super(_0x3e1b13,_0x2be1de,_0x3422d1,[],_0x45889c,_0x27ca98,_0x293f7f,_0x1b3020,_0x3d4995),I(this,'status',_0xd7cac3(0x3d7)),I(this,_0xd7cac3(0x61a),0x0),I(this,'_resendTimer'),I(this,'_sender'),(this['_injector']=_0x3f59a7,this[_0xd7cac3(0x4d3)]=_0x4d2e75,this['_transformService']=_0x25679f);}[_0x1ab38c(0x4d7)](_0xf73317){const _0x5f13e1=_0x1ab38c;this[_0x5f13e1(0x1ae)]();const _0x34ad2a=this[_0x5f13e1(0x2f8)]['createInstance'](ce,this['unitID'],this[_0x5f13e1(0x57b)],this[_0x5f13e1(0x4c5)],[_0xf73317],this[_0x5f13e1(0x25d)],this[_0x5f13e1(0x409)]);return _0x34ad2a['_updateLocalCache'](),_0x34ad2a;}['onRemoteChangeset'](_0x1d4b15){const _0x20f7e8=_0x1ab38c;if(this[_0x20f7e8(0x52c)](_0x1d4b15))return this['_clearScheduledTask'](),this[_0x20f7e8(0x2f8)][_0x20f7e8(0x440)](re,this['unitID'],this['type'],this[_0x20f7e8(0x4c5)],[],null,[_0x1d4b15],this[_0x20f7e8(0x25d)]);try{const _0x27e6e0=this[_0x20f7e8(0x4bc)][_0x20f7e8(0x1d6)]([_0x1d4b15],[this[_0x20f7e8(0x4c5)]],!0x1);if(m[_0x20f7e8(0x60b)](_0x27e6e0)){const {c1Prime:_0x4d2f5d,c2Prime:_0x158f28}=_0x27e6e0;this[_0x20f7e8(0x357)](_0x4d2f5d[0x0]),_0x158f28[0x0][_0x20f7e8(0x212)]=this[_0x20f7e8(0x1fe)](),this[_0x20f7e8(0x1ae)]();const _0x157f18=this[_0x20f7e8(0x2f8)][_0x20f7e8(0x440)](de,this[_0x20f7e8(0x3d4)],this[_0x20f7e8(0x57b)],_0x158f28[0x0],this['_handler']);return _0x157f18['_updateLocalCache'](),_0x157f18;}return this[_0x20f7e8(0x209)](!0x1);}catch(_0x2f7f40){return this[_0x20f7e8(0x4d3)][_0x20f7e8(0x48d)](_0x2f7f40),this['_onConflict'](!0x1);}}[_0x1ab38c(0x60a)](_0x3aaf03){const _0x463c53=_0x1ab38c;this['_clearScheduledTask']();const _0x29e29c=this[_0x463c53(0x276)]['getCurrentRevOfUnit'](this[_0x463c53(0x3d4)]);if(_0x3aaf03[_0x463c53(0x3fa)]<_0x29e29c-0x1)return this;if(this[_0x463c53(0x52c)](_0x3aaf03))return this['_injector'][_0x463c53(0x440)](re,this['unitID'],this[_0x463c53(0x57b)],null,[],this['_awaitingChangeset'],[],this[_0x463c53(0x25d)]);this['_incrementRevisionNumber']();const _0x2c946e=this['_injector']['createInstance'](Oe,this[_0x463c53(0x3d4)],this[_0x463c53(0x57b)],this['_handler']);return _0x2c946e[_0x463c53(0x293)](),_0x2c946e;}[_0x1ab38c(0x1ab)](_0x51ea33){return this['_onConflict'](!!(_0x51ea33!=null&&_0x51ea33['isPermissionRej']));}[_0x1ab38c(0x51c)](_0x2135e2){const _0x4a98e7=_0x1ab38c;return this['_resendTimeout']>wi?this[_0x4a98e7(0x2d2)]():(this[_0x4a98e7(0x409)]=Pi(this[_0x4a98e7(0x61a)],{'timeout':this['_resendTimeout'],'reqId':_0x2135e2[_0x4a98e7(0x4f6)]}),this[_0x4a98e7(0x3f3)]=this[_0x4a98e7(0x409)]['subscribe'](({reqId:_0xa1de82,timeout:_0x382db9})=>{const _0x29b219=_0x4a98e7;this[_0x29b219(0x2bc)](_0xa1de82,_0x382db9);}),this);}[_0x1ab38c(0x2d2)](){const _0x321bfb=_0x1ab38c;return this[_0x321bfb(0x1ae)](),this['_injector'][_0x321bfb(0x440)](ve,this['unitID'],this[_0x321bfb(0x57b)],this[_0x321bfb(0x4c5)],[],this[_0x321bfb(0x25d)]);}['toggleOnline'](){return this;}[_0x1ab38c(0x3ce)](){const _0x1a015c=_0x1ab38c;this[_0x1a015c(0x25d)][_0x1a015c(0x55d)](this[_0x1a015c(0x4c5)]);}[_0x1ab38c(0x209)](_0x2d9e21){const _0x143a24=_0x1ab38c;return this[_0x143a24(0x1ae)](),this[_0x143a24(0x2f8)][_0x143a24(0x440)](fe,this[_0x143a24(0x3d4)],this[_0x143a24(0x57b)],this[_0x143a24(0x4c5)],[],this[_0x143a24(0x25d)],_0x2d9e21);}[_0x1ab38c(0x2bc)](_0x247cf7,_0x35dfd4){const _0x4d459e=_0x1ab38c;var _0x3a398c;_0x247cf7===((_0x3a398c=this[_0x4d459e(0x4c5)])==null?void 0x0:_0x3a398c['reqId'])&&(this['resend'](),this[_0x4d459e(0x61a)]=_0x35dfd4===0x0?0x3e8:_0x35dfd4*0x2);}['_clearScheduledTask'](){const _0x350b42=_0x1ab38c;var _0x226cd4;(_0x226cd4=this[_0x350b42(0x3f3)])==null||_0x226cd4['unsubscribe'](),this['_resendTimeout']=0x0;}};de=Ee([A(0x4,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x5,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x187)])),A(0x6,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x516)])),A(0x7,a[_0x1ab38c(0x430)]),A(0x8,a[_0x1ab38c(0x626)]),A(0x9,m['ITransformService']),A(0xa,a[_0x1ab38c(0x248)])],de);let ce=class extends be{constructor(_0x4296de,_0x2c3b3,_0x147847,_0x4de519,_0x3f6942,_0x42245e,_0x52dd06,_0xeaa4c7,_0x2305d1,_0x42164d,_0x24553f,_0x5bc040,_0x55d43e){const _0x3f8c59=_0x1ab38c;super(_0x4296de,_0x2c3b3,_0x147847,_0x4de519,_0x3f6942,_0x42164d,_0x55d43e,_0xeaa4c7,_0x2305d1),I(this,_0x3f8c59(0x338),_0x3f8c59(0x1ff)),I(this,'_resendTimeout',0x0),I(this,_0x3f8c59(0x409)),I(this,_0x3f8c59(0x3f3)),(this[_0x3f8c59(0x2f8)]=_0x52dd06,this['_logService']=_0x24553f,this[_0x3f8c59(0x4bc)]=_0x5bc040,_0x42245e&&(this[_0x3f8c59(0x409)]=_0x42245e,this[_0x3f8c59(0x3f3)]=this[_0x3f8c59(0x409)]['subscribe'](({reqId:_0x20a7d9,timeout:_0x3e567b})=>{const _0x10d887=_0x3f8c59;this[_0x10d887(0x2bc)](_0x20a7d9,_0x3e567b);})));}[_0x1ab38c(0x4d7)](_0x3ff937){const _0x1ac0b9=_0x1ab38c;return this[_0x1ac0b9(0x1a9)]['push'](_0x3ff937),this;}[_0x1ab38c(0x452)](_0x51371f){const _0x5105e5=_0x1ab38c;if(this[_0x5105e5(0x52c)](_0x51371f))return this[_0x5105e5(0x1ae)](),this[_0x5105e5(0x2f8)]['createInstance'](re,this['unitID'],this[_0x5105e5(0x57b)],this[_0x5105e5(0x4c5)],this['_pendingMutations'],null,[_0x51371f],this[_0x5105e5(0x25d)]);try{const _0x486e49=this[_0x5105e5(0x4bc)][_0x5105e5(0x1d6)]([_0x51371f],[this['_awaitingChangeset']],!0x1);if(m[_0x5105e5(0x60b)](_0x486e49)){const {c1Prime:_0x1a56c7,c2Prime:_0x1d66f1}=_0x486e49,_0x12897b=this[_0x5105e5(0x4bc)][_0x5105e5(0x435)](_0x1a56c7[0x0],this[_0x5105e5(0x1a9)]);if(m[_0x5105e5(0x60c)](_0x12897b)){const {c1Prime:_0xf25e20,m2Prime:_0x215112}=_0x12897b;return this['_executeRemoteChangeset'](_0xf25e20),_0x1d66f1[0x0][_0x5105e5(0x212)]=this[_0x5105e5(0x1fe)](),this[_0x5105e5(0x1ae)](),this[_0x5105e5(0x2f8)][_0x5105e5(0x440)](ce,this[_0x5105e5(0x3d4)],this[_0x5105e5(0x57b)],_0x1d66f1[0x0],_0x215112,this[_0x5105e5(0x25d)],void 0x0);}throw _0x12897b['error'];}throw _0x486e49['error'];}catch(_0x38cd68){return this[_0x5105e5(0x4d3)][_0x5105e5(0x48d)](_0x38cd68),this[_0x5105e5(0x209)](!0x1);}}[_0x1ab38c(0x60a)](_0x572d0e){const _0x1b44fe=_0x1ab38c;if(this[_0x1b44fe(0x1ae)](),this[_0x1b44fe(0x52c)](_0x572d0e))return this[_0x1b44fe(0x2f8)][_0x1b44fe(0x440)](re,this[_0x1b44fe(0x3d4)],this[_0x1b44fe(0x57b)],null,this[_0x1b44fe(0x1a9)],this[_0x1b44fe(0x4c5)],[],this[_0x1b44fe(0x25d)]);this['_incrementRevisionNumber']();const _0x14c47b=this[_0x1b44fe(0x2f8)][_0x1b44fe(0x440)](ae,this['unitID'],this['type'],this[_0x1b44fe(0x1a9)],this['_handler']);return _0x14c47b[_0x1b44fe(0x1e2)](),_0x14c47b[_0x1b44fe(0x293)](),_0x14c47b;}[_0x1ab38c(0x1ab)](_0x16a695){const _0x507863=_0x1ab38c;return this[_0x507863(0x209)](!!(_0x16a695!=null&&_0x16a695[_0x507863(0x519)]));}[_0x1ab38c(0x51c)](_0x526469){const _0x18cee6=_0x1ab38c;return this[_0x18cee6(0x61a)]>wi?this[_0x18cee6(0x2d2)]():(this['_resendTimer']=Pi(this[_0x18cee6(0x61a)],{'timeout':this[_0x18cee6(0x61a)],'reqId':_0x526469['reqId']}),this[_0x18cee6(0x3f3)]=this[_0x18cee6(0x409)]['subscribe'](({reqId:_0x5aaf08,timeout:_0x5d0b02})=>{const _0x515f62=_0x18cee6;this[_0x515f62(0x2bc)](_0x5aaf08,_0x5d0b02);}),this);}[_0x1ab38c(0x2d2)](){const _0x156002=_0x1ab38c;return this[_0x156002(0x1ae)](),this[_0x156002(0x2f8)][_0x156002(0x440)](ve,this[_0x156002(0x3d4)],this['type'],this[_0x156002(0x4c5)],this['_pendingMutations'],this[_0x156002(0x25d)]);}[_0x1ab38c(0x22a)](){return this;}['resend'](){const _0x5ac75a=_0x1ab38c;this[_0x5ac75a(0x25d)][_0x5ac75a(0x55d)](this[_0x5ac75a(0x4c5)]);}[_0x1ab38c(0x209)](_0x1ce00f){const _0x2494bb=_0x1ab38c;return this['_clearScheduledTask'](),this[_0x2494bb(0x2f8)][_0x2494bb(0x440)](fe,this[_0x2494bb(0x3d4)],this[_0x2494bb(0x57b)],null,this[_0x2494bb(0x1a9)],this[_0x2494bb(0x25d)],_0x1ce00f);}[_0x1ab38c(0x2bc)](_0x2d338b,_0x50a334){const _0x3dad09=_0x1ab38c;var _0x51f8f9;_0x2d338b===((_0x51f8f9=this[_0x3dad09(0x4c5)])==null?void 0x0:_0x51f8f9[_0x3dad09(0x4f6)])&&(this[_0x3dad09(0x3ce)](),this[_0x3dad09(0x61a)]=_0x50a334===0x0?0x3e8:_0x50a334*0x2);}[_0x1ab38c(0x1ae)](){const _0x2c34cd=_0x1ab38c;var _0x5dbab6;(_0x5dbab6=this[_0x2c34cd(0x3f3)])==null||_0x5dbab6[_0x2c34cd(0x1f0)](),this['_resendTimeout']=0x0;}};ce=Ee([A(0x6,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x7,a['Inject'](m[_0x1ab38c(0x187)])),A(0x8,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x516)])),A(0x9,a[_0x1ab38c(0x430)]),A(0xa,a[_0x1ab38c(0x626)]),A(0xb,m[_0x1ab38c(0x1d9)]),A(0xc,a[_0x1ab38c(0x248)])],ce);let fe=class extends be{constructor(_0x4f399b,_0x486826,_0x28c175,_0x2ede05,_0x5f0a68,_0x5d92f1=!0x1,_0x59f2af,_0x101be8,_0x268845,_0x27b0c4,_0x8d58f2,_0x4bbeba,_0x467ea7){const _0x377a4f=_0x1ab38c;super(_0x4f399b,_0x486826,_0x28c175,_0x2ede05,_0x5f0a68,_0x101be8,_0x268845,_0x8d58f2,_0x27b0c4),I(this,'status',_0x377a4f(0x496)),(this[_0x377a4f(0x34a)]=_0x5d92f1,this[_0x377a4f(0x50b)]=_0x59f2af,this[_0x377a4f(0x1e1)]=_0x4bbeba,this['_notificationService']=_0x467ea7,this[_0x377a4f(0x613)](),this[_0x377a4f(0x27d)](),this['_disableEditing']());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x1ab38c(0x60a)](){return this;}[_0x1ab38c(0x1ab)](){return this;}[_0x1ab38c(0x51c)](){return this;}[_0x1ab38c(0x2d2)](){return this;}[_0x1ab38c(0x22a)](){return this;}[_0x1ab38c(0x3ce)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1ab38c(0x27d)](){const _0x3860c3=_0x1ab38c;this[_0x3860c3(0x28a)][_0x3860c3(0x2db)](this['unitID'],this[_0x3860c3(0x57b)],null,[]);}[_0x1ab38c(0x613)](){const _0x25266f=_0x1ab38c;this[_0x25266f(0x34a)]?this[_0x25266f(0x5f5)][_0x25266f(0x19e)]({'title':this[_0x25266f(0x1e1)]['t']('permission.title'),'content':this[_0x25266f(0x1e1)]['t'](_0x25266f(0x616)),'type':_0x25266f(0x48d),'duration':0x0}):this[_0x25266f(0x5f5)][_0x25266f(0x19e)]({'title':this[_0x25266f(0x1e1)]['t'](_0x25266f(0x259)),'content':this[_0x25266f(0x1e1)]['t'](_0x25266f(0x351)),'type':_0x25266f(0x48d),'duration':0x0});}[_0x1ab38c(0x3e8)](){const _0x57a53b=_0x1ab38c;this[_0x57a53b(0x50b)][_0x57a53b(0x3f0)](new k['WorkbookEditablePermission'](this[_0x57a53b(0x3d4)])['id'],!0x1);}};fe=Ee([A(0x6,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x47f)])),A(0x7,a[_0x1ab38c(0x430)]),A(0x8,a['IUndoRedoService']),A(0x9,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x516)])),A(0xa,a['Inject'](m[_0x1ab38c(0x187)])),A(0xb,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x394)])),A(0xc,ee['INotificationService'])],fe);let ve=class extends be{constructor(_0x38f528,_0x33306a,_0x19d860,_0x3b5a77,_0x58659d,_0x551d86,_0x8a6a37,_0x2629bb,_0x2af58e,_0x279a49){const _0x2fec5c=_0x1ab38c;super(_0x38f528,_0x33306a,_0x19d860,_0x3b5a77,_0x58659d,_0x2af58e,_0x279a49,_0x8a6a37,_0x2629bb),I(this,_0x2fec5c(0x338),_0x2fec5c(0x573)),this[_0x2fec5c(0x2f8)]=_0x551d86;}[_0x1ab38c(0x4d7)](_0x17d739){const _0x3b3c12=_0x1ab38c;return this[_0x3b3c12(0x1a9)][_0x3b3c12(0x2e4)](_0x17d739),this[_0x3b3c12(0x293)](),this;}[_0x1ab38c(0x452)](_0x4b3399){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x469e70=_0x1ab38c;throw new Error(_0x469e70(0x5f7));}['onRemoteRej'](){const _0x117bda=_0x1ab38c;throw new Error(_0x117bda(0x318));}[_0x1ab38c(0x51c)](){return this;}[_0x1ab38c(0x2d2)](){return this;}[_0x1ab38c(0x22a)](){const _0x1c8125=_0x1ab38c,{_injector:_0x44ad5c,_pendingMutations:_0x57d96d,_awaitingChangeset:_0x169a06,unitID:_0x4f673d,_handler:_0x36d022,type:_0x22e09a}=this,_0x5ed5ec=Ui(_0x44ad5c,_0x4f673d,_0x22e09a,_0x169a06,_0x57d96d,_0x36d022);return _0x5ed5ec instanceof ae?_0x5ed5ec[_0x1c8125(0x1e2)]():(_0x5ed5ec instanceof ce||_0x5ed5ec instanceof de)&&_0x5ed5ec['resend'](),_0x5ed5ec;}[_0x1ab38c(0x3ce)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ve=Ee([A(0x5,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x6,a['Inject'](m[_0x1ab38c(0x187)])),A(0x7,a[_0x1ab38c(0x56d)](exports['LocalCacheService'])),A(0x8,a['ICommandService']),A(0x9,a[_0x1ab38c(0x248)])],ve);let re=class extends be{constructor(_0x1ff214,_0x195eb8,_0x3395b8,_0x5dbd47,_0x43b37c,_0x3c27e5,_0x22f671,_0x4a3ad4,_0xa5b1e3,_0x2c02dd,_0x519d67,_0x18d17a,_0x2ae10e,_0x3b3a8d){const _0x2b73fb=_0x1ab38c;super(_0x1ff214,_0x195eb8,_0x3395b8,_0x5dbd47,_0x22f671,_0x18d17a,_0x2ae10e,_0xa5b1e3,_0x2c02dd),I(this,'status',_0x2b73fb(0x450)),(this['_acknowledgedAwaitingChangeset']=_0x43b37c,this[_0x2b73fb(0x619)]=_0x3c27e5,this[_0x2b73fb(0x2f8)]=_0x4a3ad4,this['_logService']=_0x519d67,this[_0x2b73fb(0x4bc)]=_0x3b3a8d);}[_0x1ab38c(0x18a)](_0x30dc76){const _0x1ee473=_0x1ab38c;try{const _0x3a345e=[..._0x30dc76,...this[_0x1ee473(0x619)]],_0x3eafea=[this[_0x1ee473(0x4c5)]||this['_acknowledgedAwaitingChangeset']][_0x1ee473(0x4b6)](_0x3d8196=>!!_0x3d8196);let _0x1677c4,_0x1e5f99;if(_0x3eafea[_0x1ee473(0x2b7)]){const _0x545698=this[_0x1ee473(0x4bc)][_0x1ee473(0x1d6)](_0x3a345e,_0x3eafea,!0x1);if(!m[_0x1ee473(0x60b)](_0x545698))throw _0x545698['error'];_0x1677c4=_0x545698[_0x1ee473(0x16d)],_0x1e5f99=_0x545698[_0x1ee473(0x191)];}else _0x1677c4=_0x3a345e,_0x1e5f99=[];let _0x460b64=this[_0x1ee473(0x1a9)];_0x1677c4[_0x1ee473(0x3f4)](_0x284e4d=>{const _0x8917ea=_0x1ee473;let _0x1818b6;if(_0x460b64['length']){const _0x1aef87=this[_0x8917ea(0x4bc)][_0x8917ea(0x435)](_0x284e4d,_0x460b64);if(!m[_0x8917ea(0x60c)](_0x1aef87))throw _0x1aef87['error'];_0x1818b6=_0x1aef87[_0x8917ea(0x16d)],_0x460b64=_0x1aef87[_0x8917ea(0x1cb)];}else _0x1818b6=_0x284e4d;this[_0x8917ea(0x357)](_0x1818b6);}),this[_0x1ee473(0x58e)]&&this[_0x1ee473(0x3cb)](),this[_0x1ee473(0x4c5)]&&_0x1e5f99[_0x1ee473(0x2b7)]&&(_0x1e5f99[0x0][_0x1ee473(0x212)]=this['_getCurrentRevision']());let _0x390b72;if(this['_awaitingChangeset']&&_0x460b64['length']!==0x0)_0x390b72=this[_0x1ee473(0x2f8)][_0x1ee473(0x440)](ce,this[_0x1ee473(0x3d4)],this[_0x1ee473(0x57b)],_0x1e5f99[0x0],_0x460b64,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x460b64[_0x1ee473(0x2b7)]===0x0)_0x1e5f99[0x0][_0x1ee473(0x212)]=this[_0x1ee473(0x1fe)](),_0x390b72=this[_0x1ee473(0x2f8)][_0x1ee473(0x440)](de,this['unitID'],this[_0x1ee473(0x57b)],_0x1e5f99[0x0],this[_0x1ee473(0x25d)]);else{if(_0x460b64[_0x1ee473(0x2b7)]!==0x0){const _0x5874c9=this['_injector']['createInstance'](ae,this['unitID'],this[_0x1ee473(0x57b)],_0x460b64,this[_0x1ee473(0x25d)]);_0x5874c9['_schedule'](),_0x390b72=_0x5874c9;}else _0x390b72=this[_0x1ee473(0x2f8)]['createInstance'](Oe,this[_0x1ee473(0x3d4)],this['type'],this[_0x1ee473(0x25d)]);}}return _0x390b72[_0x1ee473(0x293)](),_0x390b72;}catch(_0x5b3e67){return this[_0x1ee473(0x4d3)][_0x1ee473(0x48d)](_0x1ee473(0x5a6),'failed\x20to\x20apply\x20missed\x20changesets!',_0x5b3e67),this['_injector']['createInstance'](fe,this['unitID'],this['type'],this[_0x1ee473(0x4c5)],this['_pendingMutations'],this[_0x1ee473(0x25d)],!0x1);}}[_0x1ab38c(0x3ce)](){const _0x21fb57=_0x1ab38c;throw new Error(_0x21fb57(0x54f));}[_0x1ab38c(0x4d7)](_0x356c64){const _0x1ec815=_0x1ab38c;return this['_pendingMutations'][_0x1ec815(0x2e4)](_0x356c64),this;}[_0x1ab38c(0x452)](_0x4d29f6){const _0x5d63fb=_0x1ab38c;return this[_0x5d63fb(0x619)][_0x5d63fb(0x2e4)](_0x4d29f6),this;}['onRemoteAck'](_0x8dc274){const _0x42813e=_0x1ab38c;if(this[_0x42813e(0x4c5)])return this['_acknowledgedAwaitingChangeset']=this[_0x42813e(0x4c5)],this[_0x42813e(0x4c5)]=null,this;throw new Error(_0x42813e(0x37e));}[_0x1ab38c(0x1ab)](_0xbf1a88){const _0x4c9b62=_0x1ab38c;return this[_0x4c9b62(0x209)](!!(_0xbf1a88!=null&&_0xbf1a88[_0x4c9b62(0x519)]));}[_0x1ab38c(0x51c)](){return this;}[_0x1ab38c(0x2d2)](){const _0x1da66a=_0x1ab38c;return this[_0x1da66a(0x2f8)][_0x1da66a(0x440)](ve,this[_0x1da66a(0x3d4)],this[_0x1da66a(0x57b)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1da66a(0x25d)]);}[_0x1ab38c(0x22a)](){return this;}[_0x1ab38c(0x209)](_0x37dcc8){const _0x128c62=_0x1ab38c;return this[_0x128c62(0x2f8)][_0x128c62(0x440)](fe,this[_0x128c62(0x3d4)],this['type'],this['_awaitingChangeset'],this[_0x128c62(0x1a9)],this['_handler'],_0x37dcc8);}};re=Ee([A(0x7,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x8,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x187)])),A(0x9,a['Inject'](exports[_0x1ab38c(0x516)])),A(0xa,a[_0x1ab38c(0x626)]),A(0xb,a[_0x1ab38c(0x430)]),A(0xc,a['IUndoRedoService']),A(0xd,m['ITransformService'])],re);function Ui(_0x16773e,_0x1f0452,_0x4d6eb7,_0x1bfc08,_0x8f7d60,_0x18a9af){const _0x2ce3ac=_0x1ab38c;return _0x1bfc08&&_0x8f7d60[_0x2ce3ac(0x2b7)]?_0x16773e[_0x2ce3ac(0x440)](ce,_0x1f0452,_0x4d6eb7,_0x1bfc08,_0x8f7d60,_0x18a9af,void 0x0):_0x1bfc08?_0x16773e[_0x2ce3ac(0x440)](de,_0x1f0452,_0x4d6eb7,_0x1bfc08,_0x18a9af):_0x8f7d60['length']?_0x16773e[_0x2ce3ac(0x440)](ae,_0x1f0452,_0x4d6eb7,_0x8f7d60,_0x18a9af):_0x16773e[_0x2ce3ac(0x440)](Oe,_0x1f0452,_0x4d6eb7,_0x18a9af);}var Xn=Object[_0x1ab38c(0x322)],Jn=Object[_0x1ab38c(0x5da)],Mt=(_0xd34aaf,_0x3e5501,_0x3506eb,_0x32a664)=>{const _0x3430e4=_0x1ab38c;for(var _0x392a4f=_0x32a664>0x1?void 0x0:_0x32a664?Jn(_0x3e5501,_0x3506eb):_0x3e5501,_0x281b91=_0xd34aaf[_0x3430e4(0x2b7)]-0x1,_0x2bd2c7;_0x281b91>=0x0;_0x281b91--)(_0x2bd2c7=_0xd34aaf[_0x281b91])&&(_0x392a4f=(_0x32a664?_0x2bd2c7(_0x3e5501,_0x3506eb,_0x392a4f):_0x2bd2c7(_0x392a4f))||_0x392a4f);return _0x32a664&&_0x392a4f&&Xn(_0x3e5501,_0x3506eb,_0x392a4f),_0x392a4f;},H=(_0x321156,_0x57e65f)=>(_0x2731da,_0x2a0c12)=>_0x57e65f(_0x2731da,_0x2a0c12,_0x321156);exports['CollaborationEntity']=class extends a[_0x1ab38c(0x579)]{constructor(_0x37bf06,_0x28bd1c,_0x3a1851,_0x1a2942,_0x3659a9,_0x3e9b48,_0xee1a19,_0x358e88,_0x4fe44a,_0x175c40,_0x3962d5,_0x138e5f,_0x472ddb){const _0xe89502=_0x1ab38c;super(),I(this,'_state$',new N[(_0xe89502(0x3bd))](null)),I(this,_0xe89502(0x5ff),this[_0xe89502(0x52f)][_0xe89502(0x3b4)]()),I(this,_0xe89502(0x33f)),I(this,_0xe89502(0x249),!0x1),I(this,_0xe89502(0x1bc),''),I(this,_0xe89502(0x3e9),0x0),I(this,_0xe89502(0x1af),this[_0xe89502(0x5ff)][_0xe89502(0x21a)](N[_0xe89502(0x4e4)](_0x4893fc=>_0x4893fc?_0x4893fc[_0xe89502(0x338)]:K['OFFLINE']),N['shareReplay'](0x1))),I(this,_0xe89502(0x569),!0x1),I(this,_0xe89502(0x29d),[]),(this[_0xe89502(0x3d4)]=_0x37bf06,this[_0xe89502(0x227)]=_0x28bd1c,this[_0xe89502(0x3fb)]=_0x3a1851,this[_0xe89502(0x2f8)]=_0x1a2942,this['_localCacheService']=_0x3659a9,this[_0xe89502(0x37d)]=_0x3e9b48,this['_localeService']=_0xee1a19,this[_0xe89502(0x276)]=_0x358e88,this[_0xe89502(0x4d3)]=_0x4fe44a,this[_0xe89502(0x223)]=_0x175c40,this['_messageService']=_0x3962d5,this[_0xe89502(0x50b)]=_0x138e5f,this[_0xe89502(0x1ca)]=_0x472ddb);}get[_0x1ab38c(0x5de)](){const _0x38158a=_0x1ab38c;return this[_0x38158a(0x33f)];}async['init'](){const _0x4ec0e2=_0x1ab38c;if(this['state'])throw new Error(_0x4ec0e2(0x2e7));await this['_init']();}['pauseCollaboration'](){const _0x459291=_0x1ab38c;return this[_0x459291(0x249)]=!0x0,a['toDisposable'](()=>{const _0x53a7b5=_0x459291;this[_0x53a7b5(0x249)]=!0x1,this[_0x53a7b5(0x367)]();});}[_0x1ab38c(0x40f)](_0xd32912){const _0x40731b=_0x1ab38c;this[_0x40731b(0x33f)]=_0xd32912,this['_state$'][_0x40731b(0x2c0)](_0xd32912);}async[_0x1ab38c(0x419)](){const _0x52f462=_0x1ab38c;var _0x252bd5;this[_0x52f462(0x40f)](await this[_0x52f462(0x2d7)]()),this[_0x52f462(0x1ca)]&&((_0x252bd5=this[_0x52f462(0x1ca)])==null||_0x252bd5[_0x52f462(0x548)](this[_0x52f462(0x3d4)]),this[_0x52f462(0x4ae)](this[_0x52f462(0x1ca)]['getUnitStatus$'](this[_0x52f462(0x3d4)])['subscribe'](_0x21889c=>{const _0x2aa7bc=_0x52f462;this['_logService']['debug'](_0x2aa7bc(0x333),'editing\x20status\x20changed\x20to',_0x21889c),_0x21889c===yi['OTHER_CLIENTS_EDITING']?(this[_0x2aa7bc(0x3d9)][_0x2aa7bc(0x19e)]({'content':this[_0x2aa7bc(0x1e1)]['t']('collaboration.single-unit.warning'),'type':Ce[_0x2aa7bc(0x16e)][_0x2aa7bc(0x475)]}),this['_permissionService'][_0x2aa7bc(0x3f0)](new k[(_0x2aa7bc(0x269))](this[_0x2aa7bc(0x3d4)])['id'],!0x1),this[_0x2aa7bc(0x50b)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x2aa7bc(0x3f0)](new k['WorkbookEditablePermission'](this[_0x2aa7bc(0x3d4)])['id'],!0x0),this[_0x2aa7bc(0x50b)][_0x2aa7bc(0x239)](!0x0));})));let _0x50f47c=!0x1;return this['disposeWithMe'](this['session'][_0x52f462(0x596)]['subscribe'](_0x31368c=>{const _0x485a48=_0x52f462;_0x31368c===ne[_0x485a48(0x36a)]?this[_0x485a48(0x5b8)](_0x50f47c):_0x31368c===ne[_0x485a48(0x1e7)]&&(_0x50f47c=!0x0,this['_toggleOffline']());})),this[_0x52f462(0x4ae)](this[_0x52f462(0x227)][_0x52f462(0x4b8)][_0x52f462(0x2cc)](_0x38e2b6=>{const _0xda53ce=_0x52f462;try{switch(_0x38e2b6[_0xda53ce(0x25e)]){case m['CollaborationEvent'][_0xda53ce(0x465)]:{this[_0xda53ce(0x2d9)](m[_0xda53ce(0x348)](_0x38e2b6[_0xda53ce(0x372)]));break;}case m['CollaborationEvent'][_0xda53ce(0x405)]:{this['_onRemoteACK'](_0x38e2b6[_0xda53ce(0x372)]);break;}case m[_0xda53ce(0x60d)][_0xda53ce(0x24c)]:{this[_0xda53ce(0x485)]();break;}case m['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this[_0xda53ce(0x2a9)](_0x38e2b6[_0xda53ce(0x372)]);break;}case m['CollaborationEvent'][_0xda53ce(0x4e8)]:{this['_onFetchMissResult'](_0x38e2b6[_0xda53ce(0x372)]['changesets'][_0xda53ce(0x4e4)](_0x4cc796=>m['parseProtocolChangeset'](_0x4cc796)));break;}case m[_0xda53ce(0x60d)]['PERMISSION_REJ']:this[_0xda53ce(0x485)]({'isPermissionRej':!0x0});}}catch(_0x5d19ea){throw console['error'](_0xda53ce(0x583),_0x5d19ea),_0x5d19ea;}})),this['_state'];}[_0x1ab38c(0x2f6)](){this['_transitionLocked']=!0x1;}[_0x1ab38c(0x169)](){const _0x4f2aba=_0x1ab38c;if(this['_transitionLocked'])throw new Error(_0x4f2aba(0x428));this[_0x4f2aba(0x569)]=!0x0;}['_onLocalMutation'](_0x4cc32e){const _0x15862c=_0x1ab38c;this[_0x15862c(0x169)](),this[_0x15862c(0x40f)](this['_state']['appendMutation'](_0x4cc32e)),this[_0x15862c(0x2f6)]();}[_0x1ab38c(0x2d9)](_0x70fa03){const _0x363a7f=_0x1ab38c;if(!(_0x70fa03[_0x363a7f(0x3fa)]<=this[_0x363a7f(0x276)][_0x363a7f(0x56f)](this[_0x363a7f(0x3d4)]))){if(this[_0x363a7f(0x249)]){this[_0x363a7f(0x29d)][_0x363a7f(0x2e4)](_0x70fa03);return;}this[_0x363a7f(0x22e)](_0x70fa03);}}[_0x1ab38c(0x367)](){const _0x294db0=_0x1ab38c;this[_0x294db0(0x29d)][_0x294db0(0x3f4)](_0xd2ccd9=>this['_applyRemoteChangeset'](_0xd2ccd9)),this[_0x294db0(0x29d)]=[];}[_0x1ab38c(0x22e)](_0x2c4ab0){const _0x4d06e3=_0x1ab38c,_0x270851=this[_0x4d06e3(0x37d)][_0x4d06e3(0x4b5)][_0x4d06e3(0x17e)](this['_compressMutationService'][_0x4d06e3(0x4b5)][_0x4d06e3(0x5db)]()[_0x4d06e3(0x423)])(_0x2c4ab0[_0x4d06e3(0x4ea)],null)||_0x2c4ab0[_0x4d06e3(0x4ea)],_0x4f5300={..._0x2c4ab0,'mutations':_0x270851};this['_lockTransition'](),this['_updateState'](this['_state'][_0x4d06e3(0x452)](_0x4f5300)),this[_0x4d06e3(0x2f6)]();}[_0x1ab38c(0x48c)](_0x3641b5){const _0x168cf4=_0x1ab38c;this[_0x168cf4(0x169)](),this[_0x168cf4(0x40f)](this['_state'][_0x168cf4(0x60a)](_0x3641b5)),this[_0x168cf4(0x2f6)]();}[_0x1ab38c(0x485)](_0x8e1d87){const _0x4a8af4=_0x1ab38c;this[_0x4a8af4(0x169)](),this[_0x4a8af4(0x40f)](this[_0x4a8af4(0x33f)][_0x4a8af4(0x1ab)](_0x8e1d87)),this[_0x4a8af4(0x2f6)]();}[_0x1ab38c(0x2a9)](_0x4f0dc7){const _0x288776=_0x1ab38c;this[_0x288776(0x169)](),this[_0x288776(0x40f)](this[_0x288776(0x33f)]['onRemoteRetry'](_0x4f0dc7)),this[_0x288776(0x2f6)]();}['_onFetchMissResult'](_0x595d2a){const _0x569b7f=_0x1ab38c;if(!(this[_0x569b7f(0x33f)]instanceof re))throw new TypeError(_0x569b7f(0x403));const _0x479f81=_0x595d2a[_0x569b7f(0x4e4)](_0x93da25=>{const _0x432323=_0x569b7f,_0x410f26=this['_compressMutationService'][_0x432323(0x4b5)][_0x432323(0x17e)](this[_0x432323(0x37d)][_0x432323(0x4b5)][_0x432323(0x5db)]()['COMPRESS_MUTATION_APPLY'])(_0x93da25[_0x432323(0x4ea)],null)||_0x93da25[_0x432323(0x4ea)];return{..._0x93da25,'mutations':_0x410f26};});this[_0x569b7f(0x169)](),this[_0x569b7f(0x40f)](this[_0x569b7f(0x33f)][_0x569b7f(0x18a)](_0x479f81)),this[_0x569b7f(0x2f6)]();}[_0x1ab38c(0x574)](){const _0x4b897c=_0x1ab38c;this[_0x4b897c(0x169)](),this['_updateState'](this[_0x4b897c(0x33f)][_0x4b897c(0x2d2)]()),this['_unlockTransition']();}[_0x1ab38c(0x5b8)](_0x141614=!0x1){const _0x1239c4=_0x1ab38c;this[_0x1239c4(0x169)](),this[_0x1239c4(0x40f)](this[_0x1239c4(0x33f)][_0x1239c4(0x22a)]()),this[_0x1239c4(0x2f6)]();const _0x466d98=this[_0x1239c4(0x33f)];_0x141614&&_0x466d98 instanceof Oe&&(this[_0x1239c4(0x169)](),this[_0x1239c4(0x40f)](_0x466d98[_0x1239c4(0x4a2)]()),this[_0x1239c4(0x2f6)]());}async['_createInitialState'](){return new Promise(_0x178918=>{const _0x4048cb=_0x33d2;this[_0x4048cb(0x227)][_0x4048cb(0x596)][_0x4048cb(0x21a)](N[_0x4048cb(0x184)](0x1))[_0x4048cb(0x2cc)](async _0x4d1682=>{const _0x4a1af6=_0x4048cb;_0x178918(await this[_0x4a1af6(0x40e)](_0x4d1682===ne[_0x4a1af6(0x36a)]));});});}[_0x1ab38c(0x192)](){const _0x56f302=_0x1ab38c,_0x583096=this[_0x56f302(0x3d4)];return{'onStateChange':(_0x2fefe3,_0x202611)=>{const _0x4fdb13=_0x56f302;if(_0x2fefe3!==this[_0x4fdb13(0x33f)])throw new Error(_0x4fdb13(0x301)+_0x2fefe3[_0x4fdb13(0x338)]+'\x0aAfter:\x20'+_0x202611[_0x4fdb13(0x338)]+_0x4fdb13(0x5fc)+this[_0x4fdb13(0x33f)][_0x4fdb13(0x338)]);this['_updateState'](_0x202611);},'onSendChangeset':_0xd0e7b8=>{const _0x155336=_0x56f302;_0xd0e7b8['sid']||(_0xd0e7b8[_0x155336(0x26f)]=this['_changesetSessionId'],_0xd0e7b8['reqId']=++this[_0x155336(0x3e9)]);const _0x18a50f={'eventID':m[_0x155336(0x60d)]['SUBMIT_CHANGESET'],'data':{'unitID':_0xd0e7b8['unitID'],'unitType':this['_type'],'changeset':_0xd0e7b8,'memberID':this['session'][_0x155336(0x342)]()}};this[_0x155336(0x227)][_0x155336(0x5fb)](_0x18a50f,this['unitID']);},'onMissingChangesets':({from:_0x276510,to:_0x1d68ee})=>{const _0x28ffbb=_0x56f302;this[_0x28ffbb(0x4d3)][_0x28ffbb(0x479)](_0x28ffbb(0x333),'fetching\x20missing\x20changesets\x20from\x20'+_0x276510+'\x20to\x20'+_0x1d68ee);const _0x100dce={'eventID':m[_0x28ffbb(0x60d)][_0x28ffbb(0x288)],'data':{'unitID':_0x583096,'unitType':this[_0x28ffbb(0x3fb)],'from':_0x276510,'to':_0x1d68ee}};this[_0x28ffbb(0x227)][_0x28ffbb(0x5fb)](_0x100dce,this[_0x28ffbb(0x3d4)]);}};}async[_0x1ab38c(0x40e)](_0x27d4c2){const _0x381278=_0x1ab38c;var _0x3999bf,_0x24044f;const _0x266111=await this[_0x381278(0x28a)][_0x381278(0x309)](this[_0x381278(0x3d4)]),_0x24fb82=(_0x3999bf=_0x266111==null?void 0x0:_0x266111[_0x381278(0x4ea)])!=null?_0x3999bf:[],_0x3eb518=(_0x24044f=_0x266111==null?void 0x0:_0x266111[_0x381278(0x228)])!=null?_0x24044f:null,_0x328e2c=!!(_0x3eb518!=null&&_0x3eb518[_0x381278(0x26f)])&&!!(_0x3eb518!=null&&_0x3eb518[_0x381278(0x4f6)]);this[_0x381278(0x1bc)]=_0x328e2c?_0x3eb518[_0x381278(0x26f)]:On(),this[_0x381278(0x3e9)]=_0x328e2c?_0x3eb518[_0x381278(0x4f6)]:0x0;const _0x525ea1=this[_0x381278(0x3d4)];try{this[_0x381278(0x1cd)](_0x3eb518,_0x24fb82);}catch(_0xf1f17){this[_0x381278(0x4d3)][_0x381278(0x48d)](_0xf1f17);}const _0x72d784=this[_0x381278(0x192)]();if(_0x27d4c2){const _0x15da15=Ui(this[_0x381278(0x2f8)],_0x525ea1,this[_0x381278(0x3fb)],_0x3eb518,_0x24fb82,_0x72d784);return _0x15da15 instanceof ae?_0x15da15[_0x381278(0x1e2)]():(_0x15da15 instanceof ce||_0x15da15 instanceof de)&&_0x15da15['resend'](),_0x15da15;}return this[_0x381278(0x2f8)][_0x381278(0x440)](ve,_0x525ea1,this[_0x381278(0x3fb)],_0x3eb518,_0x24fb82,_0x72d784);}[_0x1ab38c(0x1cd)](_0x53c628,_0x2aa7c0){const _0x22aa37=_0x1ab38c;var _0x4a9117,_0x37542d;const _0x465f6f=this[_0x22aa37(0x37d)][_0x22aa37(0x4b5)][_0x22aa37(0x17e)](this['_compressMutationService']['interceptor'][_0x22aa37(0x5db)]()['COMPRESS_MUTATION_APPLY']);(_0x4a9117=_0x465f6f((_0x53c628==null?void 0x0:_0x53c628[_0x22aa37(0x4ea)])||[],null))==null||_0x4a9117[_0x22aa37(0x3f4)](_0xfffa53=>this[_0x22aa37(0x223)]['executeCommand'](_0xfffa53['id'],_0xfffa53[_0x22aa37(0x1f8)])),(_0x37542d=_0x465f6f(_0x2aa7c0||[],null))==null||_0x37542d[_0x22aa37(0x3f4)](_0x2007af=>this['_commandService'][_0x22aa37(0x59c)](_0x2007af['id'],_0x2007af[_0x22aa37(0x1f8)]));}},exports[_0x1ab38c(0x2cd)]=Mt([H(0x3,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),H(0x4,a['Inject'](exports[_0x1ab38c(0x516)])),H(0x5,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x4b2)])),H(0x6,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x394)])),H(0x7,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x187)])),H(0x8,a['ILogService']),H(0x9,a[_0x1ab38c(0x430)]),H(0xa,ee[_0x1ab38c(0x592)]),H(0xb,a[_0x1ab38c(0x47f)]),H(0xc,a['Optional'](at))],exports[_0x1ab38c(0x2cd)]),exports['DocCollaborationEntity']=class extends exports[_0x1ab38c(0x2cd)]{constructor(_0x44a808,_0x4ce598,_0x45256b,_0x1c6bd8,_0x479758,_0x14e698,_0x296216,_0x36db15,_0x29983f,_0x1afd78,_0x251445,_0x3371dd,_0x4cc911,_0x2cd6de,_0x4a0a1a,_0x45e1df,_0x2e834c,_0x25e368){const _0x704401=_0x1ab38c;super(_0x44a808,_0x45256b,_0x4ce598,_0x1c6bd8,_0x479758,_0x14e698,_0x296216,_0x36db15,_0x2cd6de,_0x4a0a1a,_0x45e1df,_0x2e834c,_0x25e368),this[_0x704401(0x3d4)]=_0x44a808,this[_0x704401(0x57b)]=_0x4ce598,this['_docStateChangeManagerService']=_0x29983f,this[_0x704401(0x3bc)]=_0x1afd78,this[_0x704401(0x62d)]=_0x251445,this[_0x704401(0x186)]=_0x3371dd,this['_docSyncEditingCollabCursorService']=_0x4cc911;}[_0x1ab38c(0x192)](){const _0x3b0000=_0x1ab38c,_0x198a91=super['_createHandler']();return _0x198a91['onTransformIME']=_0x4f4e2f=>this[_0x3b0000(0x3bc)]['transformIMECache'](_0x4f4e2f),_0x198a91[_0x3b0000(0x216)]=_0xbfba7c=>this[_0x3b0000(0x62d)][_0x3b0000(0x2f2)](_0xbfba7c),_0x198a91[_0x3b0000(0x453)]=_0x2395bc=>this[_0x3b0000(0x186)][_0x3b0000(0x3ab)](_0x2395bc),_0x198a91[_0x3b0000(0x46b)]=_0x4ef5d8=>this[_0x3b0000(0x5c9)][_0x3b0000(0x20e)](_0x4ef5d8),_0x198a91['onTransformRemoteChangesetByIMECache']=_0x2b1bea=>this[_0x3b0000(0x3bc)][_0x3b0000(0x1f3)](_0x2b1bea),_0x198a91[_0x3b0000(0x26c)]=_0x367740=>this[_0x3b0000(0x62d)][_0x3b0000(0x1f3)](_0x367740),_0x198a91;}async[_0x1ab38c(0x419)](){const _0x21957b=_0x1ab38c,_0x55421b=await super[_0x21957b(0x419)]();return this[_0x21957b(0x4ae)](this[_0x21957b(0x3b3)][_0x21957b(0x266)][_0x21957b(0x21a)](N['takeUntil'](this[_0x21957b(0x326)]))[_0x21957b(0x2cc)](_0x553e86=>{const _0x22c092=_0x21957b;if(_0x553e86==null)return;const {unitId:_0x1e658d,redoState:_0x9753e2,commandId:_0x6ded14}=_0x553e86;if(_0x1e658d!==this[_0x22c092(0x3d4)])return;const _0x94025a={'id':_0x6ded14,'type':a[_0x22c092(0x395)][_0x22c092(0x28b)],'params':{'unitId':_0x1e658d,'actions':_0x9753e2[_0x22c092(0x1dc)],'textRanges':null}};this[_0x22c092(0x4b7)](_0x94025a);})),this[_0x21957b(0x4ae)](this[_0x21957b(0x223)][_0x21957b(0x365)]((_0x45a6b7,_0x3d933b)=>{const _0x360ce6=_0x21957b;if(_0x45a6b7[_0x360ce6(0x57b)]!==a[_0x360ce6(0x395)][_0x360ce6(0x28b)]||_0x3d933b!=null&&_0x3d933b[_0x360ce6(0x4de)]||_0x3d933b!=null&&_0x3d933b[_0x360ce6(0x36f)]||_0x45a6b7['id']===Ie[_0x360ce6(0x2a5)]['id'])return;const _0x1a6155=_0x45a6b7[_0x360ce6(0x1f8)];if((_0x1a6155==null?void 0x0:_0x1a6155[_0x360ce6(0x1d7)])!==this[_0x360ce6(0x3d4)])return;const _0x213905=_0x45a6b7,_0x2610a4=this[_0x360ce6(0x37d)]['interceptor'][_0x360ce6(0x17e)](this[_0x360ce6(0x37d)][_0x360ce6(0x4b5)][_0x360ce6(0x5db)]()[_0x360ce6(0x4f2)])([_0x213905],null)||[_0x213905];this[_0x360ce6(0x4b7)](_0x2610a4[0x0]);})),_0x55421b;}},exports['DocCollaborationEntity']=Mt([H(0x3,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),H(0x4,a['Inject'](exports[_0x1ab38c(0x516)])),H(0x5,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x4b2)])),H(0x6,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x394)])),H(0x7,a['Inject'](m[_0x1ab38c(0x187)])),H(0x8,a[_0x1ab38c(0x56d)](J[_0x1ab38c(0x553)])),H(0x9,a[_0x1ab38c(0x56d)](Ze)),H(0xa,a['Inject'](et)),H(0xb,a[_0x1ab38c(0x56d)](tt)),H(0xc,a['Inject'](Ut)),H(0xd,a[_0x1ab38c(0x626)]),H(0xe,a[_0x1ab38c(0x430)]),H(0xf,ee['IMessageService']),H(0x10,a['IPermissionService']),H(0x11,a[_0x1ab38c(0x627)](at))],exports[_0x1ab38c(0x290)]),exports[_0x1ab38c(0x3d8)]=class extends exports['CollaborationEntity']{constructor(_0x3df5ae,_0x19af30,_0x8a60b5,_0x4e7569,_0x2e9490,_0x51cc2a,_0x4a7d5b,_0x4da525,_0x47599f,_0x169134,_0x41b3a8,_0x46f674,_0x23d365,_0x52900b){const _0x1f23ce=_0x1ab38c;super(_0x3df5ae,_0x8a60b5,_0x19af30,_0x4e7569,_0x2e9490,_0x51cc2a,_0x4a7d5b,_0x4da525,_0x169134,_0x41b3a8,_0x46f674,_0x23d365,_0x52900b),this[_0x1f23ce(0x3d4)]=_0x3df5ae,this['type']=_0x19af30,this[_0x1f23ce(0x3cc)]=_0x47599f;}['_createHandler'](){const _0x419a81=_0x1ab38c,_0x1d8f5c=super[_0x419a81(0x192)]();return _0x1d8f5c[_0x419a81(0x453)]=_0x23b680=>this[_0x419a81(0x3cc)]['transformSelections'](_0x23b680),_0x1d8f5c;}async[_0x1ab38c(0x419)](){const _0x7765c3=_0x1ab38c,_0x3f960f=await super[_0x7765c3(0x419)]();return this[_0x7765c3(0x4ae)](this['_commandService'][_0x7765c3(0x365)]((_0x305423,_0x2b708a)=>{const _0x286eed=_0x7765c3;if(_0x305423[_0x286eed(0x57b)]!==a['CommandType']['MUTATION']||_0x2b708a!=null&&_0x2b708a[_0x286eed(0x4de)]||_0x2b708a!=null&&_0x2b708a[_0x286eed(0x36f)])return;const _0x1031a9=_0x305423[_0x286eed(0x1f8)];if((_0x1031a9==null?void 0x0:_0x1031a9[_0x286eed(0x1d7)])!==this[_0x286eed(0x3d4)])return;const _0x56da04=_0x305423,_0x5b3ff6=this[_0x286eed(0x37d)][_0x286eed(0x4b5)]['fetchThroughInterceptors'](this[_0x286eed(0x37d)][_0x286eed(0x4b5)][_0x286eed(0x5db)]()['COMPRESS_MUTATION_SEND'])([_0x56da04],null)||[_0x56da04];this['_onLocalMutation'](_0x5b3ff6[0x0]);})),_0x3f960f;}},exports['SheetCollaborationEntity']=Mt([H(0x3,a['Inject'](a[_0x1ab38c(0x26b)])),H(0x4,a['Inject'](exports[_0x1ab38c(0x516)])),H(0x5,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x4b2)])),H(0x6,a['Inject'](a['LocaleService'])),H(0x7,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x187)])),H(0x8,a[_0x1ab38c(0x56d)](Qe)),H(0x9,a['ILogService']),H(0xa,a['ICommandService']),H(0xb,ee['IMessageService']),H(0xc,a['IPermissionService']),H(0xd,a['Optional'](at))],exports['SheetCollaborationEntity']);var Zn=Object[_0x1ab38c(0x322)],Qn=Object[_0x1ab38c(0x5da)],er=(_0xef0c43,_0x1273ae,_0x33ea3f,_0x9c58e7)=>{const _0x38f801=_0x1ab38c;for(var _0x217b51=_0x9c58e7>0x1?void 0x0:_0x9c58e7?Qn(_0x1273ae,_0x33ea3f):_0x1273ae,_0x47c178=_0xef0c43[_0x38f801(0x2b7)]-0x1,_0x4c46f8;_0x47c178>=0x0;_0x47c178--)(_0x4c46f8=_0xef0c43[_0x47c178])&&(_0x217b51=(_0x9c58e7?_0x4c46f8(_0x1273ae,_0x33ea3f,_0x217b51):_0x4c46f8(_0x217b51))||_0x217b51);return _0x9c58e7&&_0x217b51&&Zn(_0x1273ae,_0x33ea3f,_0x217b51),_0x217b51;},dt=(_0x50db6d,_0x43926e)=>(_0x4753ac,_0x111ab8)=>_0x43926e(_0x4753ac,_0x111ab8,_0x50db6d);exports['CollaborationController']=class extends a[_0x1ab38c(0x579)]{constructor(_0x2ca652,_0x570c6d,_0x6d1a4){const _0x46cc68=_0x1ab38c;super(),I(this,_0x46cc68(0x2c5),new Map()),I(this,_0x46cc68(0x422),new N[(_0x46cc68(0x2dc))]()),(this[_0x46cc68(0x2f8)]=_0x2ca652,this[_0x46cc68(0x25f)]=_0x570c6d,this[_0x46cc68(0x3b6)]=_0x6d1a4,this['_init']());}[_0x1ab38c(0x31c)](){const _0x10e425=_0x1ab38c;super[_0x10e425(0x31c)](),this[_0x10e425(0x2c5)][_0x10e425(0x3f4)](_0x2d702e=>_0x2d702e[_0x10e425(0x31c)]()),this[_0x10e425(0x2c5)]['clear']();}[_0x1ab38c(0x42e)](_0x70b5fe){const _0x3cf764=_0x1ab38c;var _0x24512b;return(_0x24512b=this[_0x3cf764(0x2c5)][_0x3cf764(0x3f9)](_0x70b5fe))!=null?_0x24512b:null;}['getCollabEntity$'](_0x4309f0){const _0x524a76=_0x1ab38c,_0x4c6cd0=this[_0x524a76(0x42e)](_0x4309f0);return _0x4c6cd0?N['of'](_0x4c6cd0):this[_0x524a76(0x422)][_0x524a76(0x21a)](V['filter'](_0x77c003=>_0x77c003[_0x524a76(0x3d4)]===_0x4309f0));}[_0x1ab38c(0x419)](){const _0x12821b=_0x1ab38c;this[_0x12821b(0x3b6)][_0x12821b(0x1c4)](a[_0x12821b(0x564)][_0x12821b(0x2e0)])[_0x12821b(0x21a)](N[_0x12821b(0x37c)](this[_0x12821b(0x326)]),V[_0x12821b(0x5fd)](0x10))[_0x12821b(0x2cc)](async _0x1a09b4=>{const _0x355143=_0x12821b,_0x25044b=_0x1a09b4['getUnitId'](),_0x192a15=await this['_startCollaboration'](_0x25044b,ie[_0x355143(0x2e0)]);this['_entities'][_0x355143(0x1c6)](_0x25044b,_0x192a15);}),this[_0x12821b(0x3b6)][_0x12821b(0x1c4)](a['UniverInstanceType'][_0x12821b(0x355)])['pipe'](N[_0x12821b(0x37c)](this['dispose$']),V[_0x12821b(0x5fd)](0x10))['pipe'](V[_0x12821b(0x4b6)](_0x20937b=>!_0x20937b['getUnitId']()[_0x12821b(0x3c5)]('__')))[_0x12821b(0x2cc)](async _0x5a6588=>{const _0x36f6dd=_0x12821b,_0x5e1b62=_0x5a6588[_0x36f6dd(0x2f9)](),_0xfc4b8e=await this[_0x36f6dd(0x2d1)](_0x5e1b62,ie[_0x36f6dd(0x355)]);this[_0x36f6dd(0x2c5)][_0x36f6dd(0x1c6)](_0x5e1b62,_0xfc4b8e);}),N[_0x12821b(0x24f)](this[_0x12821b(0x3b6)][_0x12821b(0x4cd)](a[_0x12821b(0x564)][_0x12821b(0x2e0)]),this[_0x12821b(0x3b6)][_0x12821b(0x4cd)](a['UniverInstanceType'][_0x12821b(0x355)]))['pipe'](N['takeUntil'](this[_0x12821b(0x326)]))['subscribe'](_0xe46015=>{const _0x4b4bc4=_0x12821b,_0x4bc371=_0xe46015[_0x4b4bc4(0x2f9)](),_0x4b4165=this[_0x4b4bc4(0x2c5)][_0x4b4bc4(0x3f9)](_0x4bc371);_0x4b4165&&(_0x4b4165['dispose'](),this[_0x4b4bc4(0x2c5)][_0x4b4bc4(0x5d0)](_0x4bc371));});}async[_0x1ab38c(0x2d1)](_0x3360f,_0x3aaeab){const _0x56fefd=_0x1ab38c,_0x1b4c7f=await this['_collabSessionService'][_0x56fefd(0x1e0)](_0x3360f),_0x1a7f82=this[_0x56fefd(0x2f8)][_0x56fefd(0x440)](this[_0x56fefd(0x1bd)](_0x3aaeab),_0x3360f,_0x3aaeab,_0x1b4c7f);return await _0x1a7f82[_0x56fefd(0x238)](),this[_0x56fefd(0x422)][_0x56fefd(0x2c0)](_0x1a7f82),_0x1a7f82;}['_getCtorByUniverType'](_0x32a2e6){const _0x580c73=_0x1ab38c;switch(_0x32a2e6){case ie[_0x580c73(0x355)]:return exports[_0x580c73(0x290)];case ie[_0x580c73(0x2e0)]:return exports[_0x580c73(0x3d8)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x32a2e6);}}},exports[_0x1ab38c(0x1d8)]=er([dt(0x0,a['Inject'](a['Injector'])),dt(0x1,a['Inject'](exports[_0x1ab38c(0x1fc)])),dt(0x2,a[_0x1ab38c(0x585)])],exports[_0x1ab38c(0x1d8)]);var tr=Object[_0x1ab38c(0x322)],ir=Object[_0x1ab38c(0x5da)],nr=(_0x80ddc,_0x1a0682,_0x263584,_0x4f60c1)=>{for(var _0x19bb37=_0x4f60c1>0x1?void 0x0:_0x4f60c1?ir(_0x1a0682,_0x263584):_0x1a0682,_0x599880=_0x80ddc['length']-0x1,_0x5e43d2;_0x599880>=0x0;_0x599880--)(_0x5e43d2=_0x80ddc[_0x599880])&&(_0x19bb37=(_0x4f60c1?_0x5e43d2(_0x1a0682,_0x263584,_0x19bb37):_0x5e43d2(_0x19bb37))||_0x19bb37);return _0x4f60c1&&_0x19bb37&&tr(_0x1a0682,_0x263584,_0x19bb37),_0x19bb37;},Yt=(_0x211b95,_0x5b603f)=>(_0x5f4116,_0x5245c5)=>_0x5b603f(_0x5f4116,_0x5245c5,_0x211b95);let it=class extends a[_0x1ab38c(0x579)]{constructor(_0x2a758b,_0x1260f8){const _0x35cc16=_0x1ab38c;super(),this[_0x35cc16(0x1b7)]=_0x2a758b,this[_0x35cc16(0x571)]=_0x1260f8,this[_0x35cc16(0x419)]();}[_0x1ab38c(0x419)](){const _0x125d0c=_0x1ab38c,_0x48b441=this;this['disposeWithMe'](this[_0x125d0c(0x1b7)][_0x125d0c(0x32e)]({'onBeforePasteImage':async _0xeecf81=>{const _0x39d7b9=_0x125d0c,_0x50c805=await _0x48b441[_0x39d7b9(0x571)][_0x39d7b9(0x1c3)](_0xeecf81);return _0x50c805?{'source':_0x50c805['source'],'imageSourceType':_0x50c805[_0x39d7b9(0x565)]}:null;}}));}};it=nr([Yt(0x0,J[_0x1ab38c(0x26d)]),Yt(0x1,te[_0x1ab38c(0x4c6)])],it);const qt=[_0x1ab38c(0x46a),_0x1ab38c(0x446),_0x1ab38c(0x28f),_0x1ab38c(0x1e3),_0x1ab38c(0x458),'gold400'];class Nt extends a[_0x1ab38c(0x382)]{constructor(){const _0x98cff=_0x1ab38c;super(...arguments),I(this,_0x98cff(0x17d),new Map()),I(this,'_colorIndex',0x0);}[_0x1ab38c(0x369)](_0x114b5a){const _0x3a4320=_0x1ab38c;if(this['_assignedColors'][_0x3a4320(0x392)](_0x114b5a))return this[_0x3a4320(0x17d)][_0x3a4320(0x3f9)](_0x114b5a);const _0x1e7b3f=qt[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%qt[_0x3a4320(0x2b7)],this['_assignedColors'][_0x3a4320(0x1c6)](_0x114b5a,_0x1e7b3f),_0x1e7b3f;}}var rr=Object[_0x1ab38c(0x322)],sr=Object[_0x1ab38c(0x5da)],or=(_0x3997c4,_0x3e8662,_0x461a88,_0x5532e9)=>{const _0x3a2b14=_0x1ab38c;for(var _0x2e259d=_0x5532e9>0x1?void 0x0:_0x5532e9?sr(_0x3e8662,_0x461a88):_0x3e8662,_0x472911=_0x3997c4[_0x3a2b14(0x2b7)]-0x1,_0x500c3b;_0x472911>=0x0;_0x472911--)(_0x500c3b=_0x3997c4[_0x472911])&&(_0x2e259d=(_0x5532e9?_0x500c3b(_0x3e8662,_0x461a88,_0x2e259d):_0x500c3b(_0x2e259d))||_0x2e259d);return _0x5532e9&&_0x2e259d&&rr(_0x3e8662,_0x461a88,_0x2e259d),_0x2e259d;},pe=(_0x42abc3,_0x2e3b84)=>(_0x10d9e5,_0x3f68a4)=>_0x2e3b84(_0x10d9e5,_0x3f68a4,_0x42abc3);const ar=0x12c,cr=0x64;let bt=class extends a['RxDisposable']{constructor(_0x3a5a90,_0x1e2d19,_0x1d22d7,_0x1a9e9b,_0x56593d,_0xfa496f,_0x244d72,_0x27f6aa,_0x4d0f4a){const _0x3a0f38=_0x1ab38c;super(),I(this,_0x3a0f38(0x44e),!0x1),I(this,_0x3a0f38(0x419),!0x1),I(this,_0x3a0f38(0x4af),new N['BehaviorSubject'](new Map())),I(this,_0x3a0f38(0x2bf),this[_0x3a0f38(0x4af)][_0x3a0f38(0x3b4)]()),I(this,_0x3a0f38(0x204),new N[(_0x3a0f38(0x3bd))]([])),I(this,_0x3a0f38(0x61c),this[_0x3a0f38(0x204)][_0x3a0f38(0x21a)](N[_0x3a0f38(0x36e)](ar))),I(this,_0x3a0f38(0x364),a[_0x3a0f38(0x30f)](_0x15b6a1=>{const _0x362540=_0x3a0f38,_0x19514d={'eventID':m[_0x362540(0x60d)][_0x362540(0x57f)],'data':{'unitID':this[_0x362540(0x3d4)],'memberID':this[_0x362540(0x1e9)]['getMemberID'](),'selection':Di(_0x15b6a1)}};this[_0x362540(0x1e9)][_0x362540(0x5fb)](_0x19514d,this[_0x362540(0x3d4)]);},cr)),(this[_0x3a0f38(0x3d4)]=_0x3a5a90,this[_0x3a0f38(0x1e9)]=_0x1e2d19,this[_0x3a0f38(0x2f8)]=_0x1d22d7,this[_0x3a0f38(0x182)]=_0x1a9e9b,this[_0x3a0f38(0x361)]=_0x56593d,this[_0x3a0f38(0x196)]=_0xfa496f,this[_0x3a0f38(0x4bc)]=_0x244d72,this[_0x3a0f38(0x3b6)]=_0x27f6aa,this['_commandService']=_0x4d0f4a);}get[_0x1ab38c(0x53e)](){const _0x369085=_0x1ab38c;return this[_0x369085(0x4af)][_0x369085(0x2f7)]();}get[_0x1ab38c(0x2b4)](){const _0x547d56=_0x1ab38c;return this['_roomMembers$'][_0x547d56(0x2f7)]();}[_0x1ab38c(0x31c)](){const _0x1dab88=_0x1ab38c;super['dispose'](),this[_0x1dab88(0x4af)][_0x1dab88(0x2c0)](new Map()),this[_0x1dab88(0x4af)][_0x1dab88(0x1b0)](),this[_0x1dab88(0x204)][_0x1dab88(0x2c0)]([]),this[_0x1dab88(0x204)]['complete']();}['init'](){const _0x43bbf5=_0x1ab38c;this[_0x43bbf5(0x419)]||(this[_0x43bbf5(0x419)]=!0x0,this[_0x43bbf5(0x1e9)][_0x43bbf5(0x596)][_0x43bbf5(0x21a)](N['takeUntil'](this[_0x43bbf5(0x326)]))[_0x43bbf5(0x2cc)](_0x35bd20=>{const _0x30f354=_0x43bbf5;_0x35bd20===ne[_0x30f354(0x36a)]?this['_toggleOnline']():this[_0x30f354(0x574)]();}),this[_0x43bbf5(0x1e9)][_0x43bbf5(0x4b8)][_0x43bbf5(0x21a)](N[_0x43bbf5(0x37c)](this['dispose$']))['subscribe'](_0x2dd59f=>{const _0x277b4a=_0x43bbf5,_0xd50787=_0x2dd59f[_0x277b4a(0x25e)];_0xd50787===m['CollaborationEvent'][_0x277b4a(0x57f)]&&this[_0x277b4a(0x42d)](_0x2dd59f),_0xd50787===m[_0x277b4a(0x60d)][_0x277b4a(0x1c0)]&&this[_0x277b4a(0x205)](_0x2dd59f);}),this[_0x43bbf5(0x4ae)](this[_0x43bbf5(0x223)]['onCommandExecuted'](_0x3a308e=>{const _0x4bd5ed=_0x43bbf5,_0x252ff3=_0x3a308e[_0x4bd5ed(0x1f8)];_0x252ff3!=null&&this['_online']&&_0x3a308e['id']===Ie[_0x4bd5ed(0x5ce)]['id']&&_0x252ff3[_0x4bd5ed(0x1d7)]===this['unitID']&&_0x252ff3[_0x4bd5ed(0x5c6)]===!0x1&&_0x252ff3[_0x4bd5ed(0x38d)][_0x4bd5ed(0x2b7)]>0x0&&this[_0x4bd5ed(0x364)](_0x252ff3[_0x4bd5ed(0x38d)]);})),this['_syncEditingCollabCursorService'][_0x43bbf5(0x4c0)][_0x43bbf5(0x21a)](N[_0x43bbf5(0x37c)](this[_0x43bbf5(0x326)]))[_0x43bbf5(0x2cc)](_0x122bc9=>{const _0x44583e=_0x43bbf5;if((_0x122bc9==null?void 0x0:_0x122bc9['unitID'])!==this[_0x44583e(0x3d4)])return;const _0x4c5905={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x122bc9};this[_0x44583e(0x42d)](_0x4c5905);}),this[_0x43bbf5(0x4ae)](this[_0x43bbf5(0x223)]['onCommandExecuted'](_0xfaaf91=>{const _0x1a35a1=_0x43bbf5;if(_0xfaaf91[_0x1a35a1(0x1f8)]==null)return;const _0x494875=_0xfaaf91[_0x1a35a1(0x1f8)];if(_0xfaaf91['id']!==Ie[_0x1a35a1(0x2a5)]['id']||_0x494875[_0x1a35a1(0x1d7)]!==this[_0x1a35a1(0x3d4)])return;const _0x1cb5a9={'id':_0x1a35a1(0x401),'params':_0x494875},_0x32228e=this[_0x1a35a1(0x53e)];for(const [_0x198f0a,_0xba7cd4]of _0x32228e){const _0x4e4afe={'id':_0x1a35a1(0x401),'params':{'unitId':this[_0x1a35a1(0x3d4)],'actions':null,'textRanges':_0xba7cd4[_0x1a35a1(0x38d)]}},_0x1d9fa0=this[_0x1a35a1(0x4bc)]['transformMutation'](_0x1cb5a9,_0x4e4afe,!0x1);if(m['isTransformMutationFailure'](_0x1d9fa0))throw _0x1d9fa0[_0x1a35a1(0x48d)];_0x32228e['set'](_0x198f0a,{..._0xba7cd4,'ranges':_0x1d9fa0['m2Prime'][_0x1a35a1(0x1f8)][_0x1a35a1(0x480)]});}queueMicrotask(()=>{const _0x32204a=_0x1a35a1;this[_0x32204a(0x4af)][_0x32204a(0x2c0)](_0x32228e);});})));}['_onCursorUpdate'](_0x4ba86e){const _0x4971e4=_0x1ab38c;var _0x58a37b,_0x1b84e9;const {memberID:_0x1ba495,selection:_0x44333c}=_0x4ba86e['data'],_0x85b2b3=kn(_0x44333c),_0x29370d=(_0x1b84e9=(_0x58a37b=this[_0x4971e4(0x361)][_0x4971e4(0x530)](this['unitID'],_0x1ba495))==null?void 0x0:_0x58a37b[_0x4971e4(0x4e0)])!=null?_0x1b84e9:'Unknown\x20user',_0x3c8cd3={'color':this[_0x4971e4(0x182)][_0x4971e4(0x369)](_0x1ba495),'name':_0x29370d,'ranges':_0x85b2b3},_0x1b14ed=this[_0x4971e4(0x53e)];_0x1b14ed[_0x4971e4(0x1c6)](_0x1ba495,_0x3c8cd3),this[_0x4971e4(0x4af)][_0x4971e4(0x2c0)](_0x1b14ed);}['_onCursorDelete'](_0x195707){const _0x243db8=_0x1ab38c,{memberID:_0x3bc883}=_0x195707[_0x243db8(0x372)],_0x2ac1f8=this['cursorInfo'];_0x2ac1f8[_0x243db8(0x5d0)](_0x3bc883),this['_cursorInfo$'][_0x243db8(0x2c0)](_0x2ac1f8);}[_0x1ab38c(0x5b8)](){const _0x29bdf1=_0x1ab38c;var _0x3a85d6;if(this['_online']=!0x0,((_0x3a85d6=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x3a85d6[_0x29bdf1(0x2f9)]())!==this['unitID'])return;const _0x3929c2=this[_0x29bdf1(0x2f8)]['get'](Ie[_0x29bdf1(0x195)])[_0x29bdf1(0x5fa)]();Array[_0x29bdf1(0x28e)](_0x3929c2)&&_0x3929c2[_0x29bdf1(0x2b7)]>0x0&&this['_updateLocalCursor'](_0x3929c2);}[_0x1ab38c(0x574)](){const _0x7f78bd=_0x1ab38c;this[_0x7f78bd(0x44e)]=!0x1;}};bt=or([pe(0x2,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),pe(0x3,a[_0x1ab38c(0x56d)](Nt)),pe(0x4,a['Inject'](exports['MemberService'])),pe(0x5,a[_0x1ab38c(0x56d)](Ut)),pe(0x6,m['ITransformService']),pe(0x7,a[_0x1ab38c(0x585)]),pe(0x8,a[_0x1ab38c(0x430)])],bt);var lr=Object[_0x1ab38c(0x322)],hr=Object[_0x1ab38c(0x5da)],_r=(_0x537b10,_0x511819,_0x13384e,_0x49464e)=>{const _0x1f5007=_0x1ab38c;for(var _0x4d48b7=_0x49464e>0x1?void 0x0:_0x49464e?hr(_0x511819,_0x13384e):_0x511819,_0x3d6fae=_0x537b10[_0x1f5007(0x2b7)]-0x1,_0x365bb5;_0x3d6fae>=0x0;_0x3d6fae--)(_0x365bb5=_0x537b10[_0x3d6fae])&&(_0x4d48b7=(_0x49464e?_0x365bb5(_0x511819,_0x13384e,_0x4d48b7):_0x365bb5(_0x4d48b7))||_0x4d48b7);return _0x49464e&&_0x4d48b7&&lr(_0x511819,_0x13384e,_0x4d48b7),_0x4d48b7;},Te=(_0x24c8b8,_0x517f7f)=>(_0x47a031,_0x1a7dc9)=>_0x517f7f(_0x47a031,_0x1a7dc9,_0x24c8b8);const ur=0x12c,dr=0x64,fr=()=>{let _0x4521b2=[],_0x3d7b90=!0x1;return _0x7979a5=>{const _0x1735bb=_0x33d2;_0x4521b2[_0x1735bb(0x2e4)](_0x7979a5),_0x3d7b90||(_0x3d7b90=!0x0,setTimeout(()=>{const _0x4f8eef=_0x1735bb;_0x4521b2[_0x4f8eef(0x3f4)](_0x127c73=>_0x127c73()),_0x4521b2=[],_0x3d7b90=!0x1;}));};};let Tt=class extends a['RxDisposable']{constructor(_0x5579d9,_0x2f660c,_0x3ae3b6,_0x522bbc,_0x1429bc,_0x37efa4,_0x1a3c8c,_0x35301e){const _0x381d9d=_0x1ab38c;super(),I(this,_0x381d9d(0x44e),!0x1),I(this,_0x381d9d(0x419),!0x1),I(this,_0x381d9d(0x4af),new N[(_0x381d9d(0x3bd))](new Map())),I(this,_0x381d9d(0x2bf),this[_0x381d9d(0x4af)][_0x381d9d(0x3b4)]()),I(this,_0x381d9d(0x204),new N['BehaviorSubject']([])),I(this,_0x381d9d(0x61c),this[_0x381d9d(0x204)][_0x381d9d(0x21a)](N[_0x381d9d(0x36e)](ur))),I(this,_0x381d9d(0x364),a['debounce']((_0x458731,_0x2c3b94)=>{const _0x425d31=_0x381d9d,_0x573eed={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x425d31(0x3d4)],'memberID':this[_0x425d31(0x1e9)][_0x425d31(0x342)](),'selection':$t[_0x425d31(0x460)](_0x458731,_0x2c3b94[_0x425d31(0x1ea)])}};this[_0x425d31(0x1e9)]['send'](_0x573eed,this[_0x425d31(0x3d4)]);},dr)),(this['unitID']=_0x5579d9,this[_0x381d9d(0x1e9)]=_0x2f660c,this[_0x381d9d(0x2f8)]=_0x3ae3b6,this[_0x381d9d(0x182)]=_0x522bbc,this[_0x381d9d(0x361)]=_0x1429bc,this[_0x381d9d(0x3b6)]=_0x37efa4,this[_0x381d9d(0x223)]=_0x1a3c8c,this[_0x381d9d(0x3eb)]=_0x35301e);}get['cursorInfo'](){const _0x402b55=_0x1ab38c;return this[_0x402b55(0x4af)][_0x402b55(0x2f7)]();}get[_0x1ab38c(0x2b4)](){const _0x3d28e1=_0x1ab38c;return this['_roomMembers$'][_0x3d28e1(0x2f7)]();}[_0x1ab38c(0x31c)](){const _0xc453ea=_0x1ab38c;super[_0xc453ea(0x31c)](),this[_0xc453ea(0x4af)][_0xc453ea(0x2c0)](new Map()),this[_0xc453ea(0x4af)][_0xc453ea(0x1b0)](),this[_0xc453ea(0x204)][_0xc453ea(0x2c0)]([]),this[_0xc453ea(0x204)][_0xc453ea(0x1b0)]();}['init'](){const _0x549d77=_0x1ab38c;this['_init']||(this['_init']=!0x0,this[_0x549d77(0x1e9)][_0x549d77(0x596)][_0x549d77(0x21a)](N['takeUntil'](this[_0x549d77(0x326)]))[_0x549d77(0x2cc)](_0x4133a6=>{const _0x59746e=_0x549d77;_0x4133a6===ne['ONLINE']?this[_0x59746e(0x5b8)]():this[_0x59746e(0x574)]();}),this[_0x549d77(0x1e9)]['event$'][_0x549d77(0x21a)](N[_0x549d77(0x37c)](this[_0x549d77(0x326)]))['subscribe'](_0x45a638=>{const _0x583f68=_0x549d77,_0x1c3ffb=_0x45a638[_0x583f68(0x25e)];_0x1c3ffb===m[_0x583f68(0x60d)][_0x583f68(0x57f)]&&this['_onCursorUpdate'](_0x45a638),_0x1c3ffb===m[_0x583f68(0x60d)]['USERS_LEAVE']&&this[_0x583f68(0x205)](_0x45a638);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x549d77(0x223)][_0x549d77(0x365)](_0x48246e=>{const _0x5e95b2=_0x549d77;if(this[_0x5e95b2(0x44e)]&&_0x48246e['id']===k[_0x5e95b2(0x1b4)]['id']&&_0x48246e['params'][_0x5e95b2(0x1d7)]===this['unitID']){const _0x5d82cf=_0x48246e[_0x5e95b2(0x1f8)];this[_0x5e95b2(0x364)](_0x5d82cf[_0x5e95b2(0x3aa)],_0x5d82cf['selections'][0x0]);}})));}[_0x1ab38c(0x42d)](_0x2510e8){const _0x39b6c9=_0x1ab38c;var _0x5e1eaa,_0x491bcf;const {memberID:_0x1828e0,selection:_0x37fb2f}=_0x2510e8[_0x39b6c9(0x372)],{sheetName:_0x17dc91,range:_0x737a2e}=$t[_0x39b6c9(0x429)](_0x37fb2f),_0x3ad2bd={'name':(_0x491bcf=(_0x5e1eaa=this[_0x39b6c9(0x361)][_0x39b6c9(0x530)](this['unitID'],_0x1828e0))==null?void 0x0:_0x5e1eaa[_0x39b6c9(0x4e0)])!=null?_0x491bcf:_0x39b6c9(0x3c4),'range':this['_getMergeRange'](_0x17dc91,_0x737a2e),'sheetID':_0x17dc91,'color':this[_0x39b6c9(0x182)]['assignAColorForMemberID'](_0x1828e0),'selection':_0x37fb2f},_0xff0765=this['cursorInfo'];_0xff0765[_0x39b6c9(0x1c6)](_0x1828e0,_0x3ad2bd),this['_cursorInfo$'][_0x39b6c9(0x2c0)](_0xff0765);}['_onCursorDelete'](_0x39085a){const _0x4ace0c=_0x1ab38c,{memberID:_0x513e71}=_0x39085a['data'],_0x28ba25=this['cursorInfo'];_0x28ba25[_0x4ace0c(0x5d0)](_0x513e71),this['_cursorInfo$'][_0x4ace0c(0x2c0)](_0x28ba25);}[_0x1ab38c(0x2c6)](_0xf2edbb,_0xee9c57){const _0x5a8119=_0x1ab38c;var _0xab72e2,_0x3109c1;const _0x494399=(_0x3109c1=(_0xab72e2=this[_0x5a8119(0x3b6)]['getUniverSheetInstance'](this[_0x5a8119(0x3d4)]))==null?void 0x0:_0xab72e2[_0x5a8119(0x54a)](_0xf2edbb))==null?void 0x0:_0x3109c1[_0x5a8119(0x520)]();return(_0x494399==null?void 0x0:_0x494399[_0x5a8119(0x2e3)](_0x4cba18=>a[_0x5a8119(0x3c9)][_0x5a8119(0x1b8)](_0x4cba18,_0xee9c57)))||_0xee9c57;}[_0x1ab38c(0x4e6)](){const _0xff5ae6=_0x1ab38c,_0x51953f=new a[(_0xff5ae6(0x568))](),_0x2c09b2=fr(),_0x2f5835=()=>{const _0x38c777=_0xff5ae6;_0x51953f[_0x38c777(0x31c)]();const _0x37e884=(_0x5ce96e,_0x35b24d,_0x41410d,_0x404130)=>{const _0xacfd28=_0x38c777;let _0xe44d4=[];switch(_0x5ce96e['id']){case k[_0xacfd28(0x2b2)][_0xacfd28(0x4d1)]:{_0xe44d4=k[_0xacfd28(0x2c9)](_0x5ce96e,_0x404130);break;}case k['EffectRefRangId'][_0xacfd28(0x56b)]:{_0xe44d4=k[_0xacfd28(0x3be)](_0x5ce96e,_0x404130);break;}case k[_0xacfd28(0x2b2)][_0xacfd28(0x5b2)]:{_0xe44d4=k[_0xacfd28(0x3dc)](_0x5ce96e,_0x404130);break;}case k['EffectRefRangId'][_0xacfd28(0x542)]:{_0xe44d4=k[_0xacfd28(0x4ca)](_0x5ce96e,_0x404130);break;}case k[_0xacfd28(0x2b2)][_0xacfd28(0x566)]:{_0xe44d4=k[_0xacfd28(0x1cc)](_0x5ce96e,_0x404130);break;}case k['EffectRefRangId'][_0xacfd28(0x5bb)]:{_0xe44d4=k[_0xacfd28(0x5a7)](_0x5ce96e,_0x404130);break;}case k[_0xacfd28(0x2b2)][_0xacfd28(0x5ba)]:{_0xe44d4=k[_0xacfd28(0x52b)](_0x5ce96e,_0x404130);break;}case k['EffectRefRangId']['RemoveColCommandId']:{_0xe44d4=k[_0xacfd28(0x17b)](_0x5ce96e,_0x404130);break;}case k[_0xacfd28(0x2b2)][_0xacfd28(0x250)]:{_0xe44d4=k[_0xacfd28(0x17f)](_0x5ce96e,_0x404130);break;}}const _0x286796=k[_0xacfd28(0x1c7)](_0xe44d4,_0x404130),_0x482565=this[_0xacfd28(0x53e)][_0xacfd28(0x3f9)](_0x35b24d);if(_0x482565&&_0x286796){const _0x246ac1={..._0x482565,'range':_0x286796};this[_0xacfd28(0x53e)][_0xacfd28(0x1c6)](_0x35b24d,_0x246ac1),_0x2c09b2(()=>{const _0x1cdf72=_0xacfd28,_0x744806=this[_0x1cdf72(0x3eb)][_0x1cdf72(0x48a)](_0x286796,_0x1de93c=>(_0x744806[_0x1cdf72(0x31c)](),_0x37e884(_0x1de93c,_0x35b24d,_0x41410d,_0x286796)));_0x51953f[_0x1cdf72(0x3ed)](_0x744806);});}return{'redos':[],'undos':[]};};this[_0x38c777(0x53e)][_0x38c777(0x3f4)]((_0x481282,_0x59ccc0)=>{const _0x3f4dff=_0x38c777,{range:_0x14841a,sheetID:_0x2bb3ae}=_0x481282,_0x420c78=this[_0x3f4dff(0x3eb)][_0x3f4dff(0x48a)](_0x14841a,_0x28cbac=>(_0x420c78['dispose'](),_0x37e884(_0x28cbac,_0x59ccc0,_0x2bb3ae,_0x14841a)));_0x51953f[_0x3f4dff(0x3ed)](_0x420c78);});};this[_0xff5ae6(0x4ae)](a[_0xff5ae6(0x1fb)](this[_0xff5ae6(0x4af)]['subscribe'](()=>{_0x2f5835();})));}[_0x1ab38c(0x5b8)](){const _0x22b5ef=_0x1ab38c;var _0x52f8c9,_0x396f3f;if(this[_0x22b5ef(0x44e)]=!0x0,((_0x52f8c9=this[_0x22b5ef(0x3b6)][_0x22b5ef(0x425)]())==null?void 0x0:_0x52f8c9[_0x22b5ef(0x2f9)]())!==this[_0x22b5ef(0x3d4)])return;const _0x225014=(_0x396f3f=this[_0x22b5ef(0x2f8)][_0x22b5ef(0x3f9)](k['SheetsSelectionsService'])[_0x22b5ef(0x188)]())==null?void 0x0:_0x396f3f[0x0],_0x5f2577=this[_0x22b5ef(0x3b6)]['getCurrentUnitForType'](a[_0x22b5ef(0x564)]['UNIVER_SHEET'])['getActiveSheet']();_0x225014&&_0x5f2577&&this[_0x22b5ef(0x364)](_0x5f2577[_0x22b5ef(0x62b)](),_0x225014);}['_toggleOffline'](){const _0x3d0d87=_0x1ab38c;this[_0x3d0d87(0x44e)]=!0x1;}};Tt=_r([Te(0x2,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),Te(0x3,a[_0x1ab38c(0x56d)](Nt)),Te(0x4,a['Inject'](exports['MemberService'])),Te(0x5,a[_0x1ab38c(0x585)]),Te(0x6,a['ICommandService']),Te(0x7,a['Inject'](k['RefRangeService']))],Tt);var vr=Object[_0x1ab38c(0x322)],Sr=Object[_0x1ab38c(0x5da)],pr=(_0x1362ea,_0xe9802b,_0x45e4ac,_0x1fe49e)=>{const _0x542020=_0x1ab38c;for(var _0x1ef12d=_0x1fe49e>0x1?void 0x0:_0x1fe49e?Sr(_0xe9802b,_0x45e4ac):_0xe9802b,_0xa3dc41=_0x1362ea[_0x542020(0x2b7)]-0x1,_0x3a9b81;_0xa3dc41>=0x0;_0xa3dc41--)(_0x3a9b81=_0x1362ea[_0xa3dc41])&&(_0x1ef12d=(_0x1fe49e?_0x3a9b81(_0xe9802b,_0x45e4ac,_0x1ef12d):_0x3a9b81(_0x1ef12d))||_0x1ef12d);return _0x1fe49e&&_0x1ef12d&&vr(_0xe9802b,_0x45e4ac,_0x1ef12d),_0x1ef12d;},ft=(_0x8a1023,_0x72185)=>(_0x116b93,_0x304ddd)=>_0x72185(_0x116b93,_0x304ddd,_0x8a1023);let ye=class extends a[_0x1ab38c(0x579)]{constructor(_0x58d7d9,_0x26e99a,_0x3e9c88){const _0x38c2b0=_0x1ab38c;super(),I(this,_0x38c2b0(0x2c5),new Map()),I(this,_0x38c2b0(0x422),new N['Subject']()),(this[_0x38c2b0(0x3b6)]=_0x58d7d9,this[_0x38c2b0(0x2f8)]=_0x26e99a,this[_0x38c2b0(0x25f)]=_0x3e9c88,this[_0x38c2b0(0x419)]());}[_0x1ab38c(0x31c)](){const _0x273468=_0x1ab38c;super[_0x273468(0x31c)](),this[_0x273468(0x422)][_0x273468(0x1b0)](),this['_entities'][_0x273468(0x3f4)](_0x4371ca=>_0x4371ca[_0x273468(0x31c)]());}['getCollabCursors$'](_0x5f34f1){const _0x2e06cb=_0x1ab38c;return this['_entities'][_0x2e06cb(0x392)](_0x5f34f1)?this[_0x2e06cb(0x2c5)]['get'](_0x5f34f1)[_0x2e06cb(0x2bf)]:this['_entityInit$']['pipe'](N[_0x2e06cb(0x4b6)](_0x369ed6=>_0x369ed6[_0x2e06cb(0x3d4)]===_0x5f34f1),N[_0x2e06cb(0x600)](_0x1fb4de=>_0x1fb4de[_0x2e06cb(0x2bf)]));}['_init'](){const _0x55508c=_0x1ab38c;this['_univerInstanceService'][_0x55508c(0x1c4)](a['UniverInstanceType'][_0x55508c(0x2e0)])[_0x55508c(0x21a)](N[_0x55508c(0x37c)](this[_0x55508c(0x326)]))['subscribe'](async _0x52136f=>{const _0x4bd1ca=_0x55508c,_0x4d3c9c=_0x52136f[_0x4bd1ca(0x2f9)](),_0x1a5f45=await this['_startSheetCollabCursor'](_0x4d3c9c);this[_0x4bd1ca(0x422)][_0x4bd1ca(0x2c0)](_0x1a5f45),this[_0x4bd1ca(0x2c5)][_0x4bd1ca(0x1c6)](_0x4d3c9c,_0x1a5f45);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x55508c(0x564)]['UNIVER_DOC'])[_0x55508c(0x21a)](N[_0x55508c(0x37c)](this[_0x55508c(0x326)]))[_0x55508c(0x21a)](N['filter'](_0x20a3bd=>!_0x20a3bd['getUnitId']()[_0x55508c(0x3c5)]('__')))[_0x55508c(0x2cc)](async _0x5976fb=>{const _0x4a3536=_0x55508c,_0x3fa149=_0x5976fb[_0x4a3536(0x2f9)](),_0xbba65e=await this[_0x4a3536(0x582)](_0x3fa149);this[_0x4a3536(0x422)]['next'](_0xbba65e),this[_0x4a3536(0x2c5)][_0x4a3536(0x1c6)](_0x3fa149,_0xbba65e);}),N['merge'](this['_univerInstanceService'][_0x55508c(0x4cd)](a['UniverInstanceType'][_0x55508c(0x355)]),this[_0x55508c(0x3b6)][_0x55508c(0x4cd)](a['UniverInstanceType']['UNIVER_SHEET']))[_0x55508c(0x21a)](N[_0x55508c(0x37c)](this['dispose$']))['subscribe'](_0x6eb909=>{const _0xef3480=_0x55508c,_0x5b8981=_0x6eb909[_0xef3480(0x2f9)](),_0x289fb1=this[_0xef3480(0x2c5)][_0xef3480(0x3f9)](_0x5b8981);_0x289fb1&&(_0x289fb1['dispose'](),this['_entities'][_0xef3480(0x5d0)](_0x5b8981));});}async['_startSheetCollabCursor'](_0x674f87){const _0xd80545=_0x1ab38c,_0x586e42=await this[_0xd80545(0x25f)][_0xd80545(0x1e0)](_0x674f87),_0x3f0a39=this[_0xd80545(0x2f8)][_0xd80545(0x440)](Tt,_0x674f87,_0x586e42);return _0x3f0a39[_0xd80545(0x238)](),_0x3f0a39;}async[_0x1ab38c(0x582)](_0x2bc806){const _0x583a2b=_0x1ab38c,_0x14142f=await this[_0x583a2b(0x25f)][_0x583a2b(0x1e0)](_0x2bc806),_0x534ba9=this[_0x583a2b(0x2f8)][_0x583a2b(0x440)](bt,_0x2bc806,_0x14142f);return _0x534ba9[_0x583a2b(0x238)](),_0x534ba9;}};ye=pr([ft(0x0,a[_0x1ab38c(0x585)]),ft(0x1,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),ft(0x2,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x1fc)]))],ye);const xe=0x14,Kt=0xc8,vt=0x4,mr=0x5;function gr(_0x3ff666,_0x4ab361){const _0xf4dc82=_0x1ab38c;let {radius:_0x477adb,width:_0x51bc98,height:_0x3ad638}=_0x4ab361;_0x477adb=_0x477adb!=null?_0x477adb:0x0,_0x51bc98=_0x51bc98!=null?_0x51bc98:0x1e,_0x3ad638=_0x3ad638!=null?_0x3ad638:0x1e;let _0x5b3331=0x0,_0x396aaf=0x0,_0x39ee22=0x0;_0x5b3331=_0x396aaf=_0x39ee22=Math[_0xf4dc82(0x509)](_0x477adb,_0x51bc98/0x2,_0x3ad638/0x2),_0x3ff666[_0xf4dc82(0x48b)](),_0x3ff666[_0xf4dc82(0x51f)](_0x5b3331,0x0),_0x3ff666[_0xf4dc82(0x3d2)](_0x51bc98-_0x396aaf,0x0),_0x3ff666[_0xf4dc82(0x2e6)](_0x51bc98-_0x396aaf,_0x396aaf,_0x396aaf,Math['PI']*0x3/0x2,0x0,!0x1),_0x3ff666[_0xf4dc82(0x3d2)](_0x51bc98,_0x3ad638-_0x39ee22),_0x3ff666[_0xf4dc82(0x2e6)](_0x51bc98-_0x39ee22,_0x3ad638-_0x39ee22,_0x39ee22,0x0,Math['PI']/0x2,!0x1),_0x3ff666['lineTo'](0x0,_0x3ad638),_0x3ff666[_0xf4dc82(0x3d2)](0x0,_0x5b3331),_0x3ff666[_0xf4dc82(0x2e6)](_0x5b3331,_0x5b3331,_0x5b3331,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3ff666['closePath'](),_0x4ab361[_0xf4dc82(0x2d6)]&&(_0x3ff666[_0xf4dc82(0x617)](),_0x3ff666[_0xf4dc82(0x4b0)]=_0x4ab361[_0xf4dc82(0x2d6)],_0x4ab361[_0xf4dc82(0x5d3)]==='evenodd'?_0x3ff666[_0xf4dc82(0x2d6)](_0xf4dc82(0x5f4)):_0x3ff666[_0xf4dc82(0x2d6)](),_0x3ff666[_0xf4dc82(0x2cf)]());}class ct extends Y[_0x1ab38c(0x50c)]{constructor(_0x357c4f,_0x293255){const _0x58566c=_0x1ab38c;super(_0x357c4f,_0x293255),I(this,'color'),I(this,_0x58566c(0x61e)),(this[_0x58566c(0x42b)]=_0x293255==null?void 0x0:_0x293255[_0x58566c(0x42b)],this[_0x58566c(0x61e)]=_0x293255==null?void 0x0:_0x293255[_0x58566c(0x61e)]);}static[_0x1ab38c(0x289)](_0x4039d1,_0x29b7b8){const _0x1659e9=_0x1ab38c,{text:_0x54215e,color:_0x25ce4b}=_0x29b7b8;_0x4039d1[_0x1659e9(0x617)](),_0x4039d1[_0x1659e9(0x481)]=_0x1659e9(0x467);const _0x4cac64=_0x4039d1[_0x1659e9(0x47a)](_0x54215e)[_0x1659e9(0x24b)],_0x21dd66=Math['min'](_0x4cac64+0x2*vt,Kt);gr(_0x4039d1,{'height':xe,'radius':0x4,'width':_0x21dd66,'fill':_0x25ce4b,'evented':!0x1}),_0x4039d1['fillStyle']='#FFF';const _0x36422b=vt,_0x323377=xe-mr,_0x34ceab=Kt-0x2*vt;if(_0x4cac64>_0x34ceab){let _0x5ce351='',_0x133951=0x0;for(const _0x322c57 of _0x54215e){const _0x43bdfd=_0x4039d1[_0x1659e9(0x47a)](_0x322c57)[_0x1659e9(0x24b)];if(_0x133951+_0x43bdfd<=_0x34ceab-_0x4039d1[_0x1659e9(0x47a)](_0x1659e9(0x46d))[_0x1659e9(0x24b)])_0x5ce351+=_0x322c57,_0x133951+=_0x43bdfd;else{_0x5ce351+=_0x1659e9(0x46d);break;}}_0x4039d1['fillText'](_0x5ce351,_0x36422b,_0x323377);}else _0x4039d1[_0x1659e9(0x20d)](_0x54215e,_0x36422b,_0x323377);_0x4039d1[_0x1659e9(0x2cf)]();}[_0x1ab38c(0x621)](_0xd4b4f){ct['drawWith'](_0xd4b4f,this);}}const St=_0x1ab38c(0x1c5),Ir=_0x1ab38c(0x4fa),Cr=_0x1ab38c(0x398),we=0x6,Er=1.5,pt=0x4,br=1.5,Tr=_0x1ab38c(0x2ed);class zt{constructor(_0x1e235c,_0xcf6461,_0x215859,_0x44e792){const _0x49a792=_0x1ab38c;I(this,_0x49a792(0x4a3),[]),I(this,_0x49a792(0x353),null),I(this,_0x49a792(0x198),null),I(this,'_anchorDot',null),I(this,'_hideTimer',null),I(this,_0x49a792(0x499),null),(this[_0x49a792(0x202)]=_0x1e235c,this['_scene']=_0xcf6461,this[_0x49a792(0x200)]=_0x215859,this[_0x49a792(0x247)]=_0x44e792,this['_render']());}set[_0x1ab38c(0x4bf)](_0x4794f8){const _0x3b7292=_0x1ab38c;_0x4794f8?(this[_0x3b7292(0x337)]&&this[_0x3b7292(0x337)][_0x3b7292(0x328)](),this[_0x3b7292(0x198)]&&this[_0x3b7292(0x198)][_0x3b7292(0x19e)]()):(this[_0x3b7292(0x337)]&&this[_0x3b7292(0x337)][_0x3b7292(0x19e)](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x1ab38c(0x31c)](){const _0x50019a=_0x1ab38c;for(const _0x1f98ac of this[_0x50019a(0x4a3)])_0x1f98ac[_0x50019a(0x31c)]();this[_0x50019a(0x198)]&&this[_0x50019a(0x198)][_0x50019a(0x31c)](),this['_anchorDot']&&this['_anchorDot'][_0x50019a(0x31c)](),this[_0x50019a(0x353)]&&this['_anchor'][_0x50019a(0x31c)](),this[_0x50019a(0x499)]&&this[_0x50019a(0x499)]();}['_render'](){const _0x5833c0=_0x1ab38c;var _0x581917;const {_docSkeleton:_0x6445,_document:_0x6f938a}=this,{color:_0x38d6bf,name:_0x48cfa3,ranges:_0x4f65ca}=this[_0x5833c0(0x202)],_0x128989=_0x6f938a[_0x5833c0(0x595)](),{docsLeft:_0x4e21e9,docsTop:_0x1fa4cb}=_0x128989,_0x34e36b=new J[(_0x5833c0(0x5a1))](_0x128989,_0x6445);for(const {startOffset:_0x34e267,endOffset:_0x2b3780,rangeType:_0x5526b7,segmentId:_0x259fec,segmentPage:_0xe05a7e,collapsed:_0x1850ec,isActive:_0x10381e}of _0x4f65ca){const _0xdd9014=_0x6445['findNodePositionByCharIndex'](_0x34e267,!0x0,_0x259fec,_0xe05a7e);let _0x249ced=_0x6445[_0x5833c0(0x20c)](_0x2b3780,!0x0,_0x259fec,_0xe05a7e);if(_0x249ced==null&&(_0x249ced=_0x6445[_0x5833c0(0x20c)](_0x2b3780-0x1,!0x1,_0x259fec,_0xe05a7e)),_0x10381e){const {contentBoxPointGroup:_0x3eed21}=_0x34e36b[_0x5833c0(0x540)](_0x249ced,_0x249ced);if(_0x3eed21[_0x5833c0(0x2b7)]===0x0)continue;this[_0x5833c0(0x50f)](_0x38d6bf,_0x3eed21,_0x4e21e9,_0x1fa4cb,_0x48cfa3),this[_0x5833c0(0x499)]=this[_0x5833c0(0x2c1)]();}if(_0xdd9014&&_0x249ced){if(_0x5526b7===a[_0x5833c0(0x5e6)]['RECT']){const _0x1e016a=new J[(_0x5833c0(0x2cb))](_0x128989,_0x6445),{pointGroup:_0x1eaf64}=(_0x581917=_0x1e016a[_0x5833c0(0x540)](_0xdd9014,_0x249ced))!=null?_0x581917:{};if(_0x1eaf64==null||_0x1eaf64[_0x5833c0(0x2b7)]===0x0)continue;this[_0x5833c0(0x3b5)](_0x38d6bf,_0x1eaf64,_0x4e21e9,_0x1fa4cb);}else{if(!_0x1850ec){const {borderBoxPointGroup:_0x16e537}=_0x34e36b[_0x5833c0(0x540)](_0xdd9014,_0x249ced);if(_0x16e537[_0x5833c0(0x2b7)]===0x0)continue;this['_drawTextRange'](_0x38d6bf,_0x16e537,_0x4e21e9,_0x1fa4cb);}}}}}[_0x1ab38c(0x50f)](_0x5cb9a9,_0x10e8d2,_0x120d6d,_0x2d1e0d,_0xc119c3){const _0x3c1be3=_0x1ab38c,_0x52e91b=this[_0x3c1be3(0x3f2)](_0x10e8d2),{left:_0xaed3fa,top:_0x1c22d0,height:_0xde40a1}=_0x52e91b,_0x2e3793=this[_0x3c1be3(0x3a6)](),_0x59760b=br/_0x2e3793,_0x56957e=new Y['Rect'](St+a['Tools'][_0x3c1be3(0x33c)](we),{'left':_0xaed3fa+_0x120d6d-_0x59760b,'top':_0x1c22d0+_0x2d1e0d,'height':_0xde40a1,'width':Er,'fill':_0x5cb9a9||Y[_0x3c1be3(0x2e8)](a[_0x3c1be3(0x251)][_0x3c1be3(0x551)],0x0),'strokeWidth':_0x59760b,'stroke':Tr,'evented':!0x0});this[_0x3c1be3(0x353)]=_0x56957e,this['_scene'][_0x3c1be3(0x5d2)](_0x56957e,J[_0x3c1be3(0x486)]);const _0xf28e95=new Y[(_0x3c1be3(0x448))](St+a['Tools'][_0x3c1be3(0x33c)](we),{'left':_0xaed3fa+_0x120d6d-_0x59760b,'top':_0x1c22d0+_0x2d1e0d-pt/0x2,'height':pt,'width':pt,'fill':_0x5cb9a9||Y['getColor'](a[_0x3c1be3(0x251)][_0x3c1be3(0x551)],0x0),'strokeWidth':0x0,'stroke':_0x5cb9a9||Y[_0x3c1be3(0x2e8)](a['COLORS'][_0x3c1be3(0x551)],0x0),'evented':!0x1});this['_anchorDot']=_0xf28e95,this[_0x3c1be3(0x31e)]['addObject'](_0xf28e95,J[_0x3c1be3(0x486)]);const _0x13918f=new ct(St+a[_0x3c1be3(0x5ed)]['generateRandomId'](we),{'left':_0xaed3fa+_0x120d6d-_0x59760b,'top':_0x1c22d0+_0x2d1e0d-xe,'text':_0xc119c3,'color':_0x5cb9a9});this[_0x3c1be3(0x198)]=_0x13918f,this[_0x3c1be3(0x31e)][_0x3c1be3(0x5d2)](_0x13918f,J['TEXT_RANGE_LAYER_INDEX']),this[_0x3c1be3(0x4bf)]=!0x1;}[_0x1ab38c(0x2c1)](){const _0x12a3f3=_0x1ab38c,_0x3470c6=this['_anchor'][_0x12a3f3(0x323)][_0x12a3f3(0x38b)](()=>{const _0x59e81c=_0x12a3f3;this[_0x59e81c(0x4bf)]=!0x0;}),_0xfaeb1f=this[_0x12a3f3(0x353)][_0x12a3f3(0x603)]['subscribeEvent'](()=>{const _0x2cf355=_0x12a3f3;this[_0x2cf355(0x377)]&&clearTimeout(this['_hideTimer']),this[_0x2cf355(0x377)]=setTimeout(()=>{const _0x13c286=_0x2cf355;this[_0x13c286(0x4bf)]=!0x1;},0x7d0);});return()=>{const _0x740573=_0x12a3f3;_0x3470c6['unsubscribe'](),_0xfaeb1f[_0x740573(0x1f0)]();};}['_drawTextRange'](_0x392d55,_0x47b762,_0x2fb9e5,_0x4889e7){const _0x46f9c2=_0x1ab38c,_0x5786c1=new a[(_0x46f9c2(0x210))](_0x392d55)[_0x46f9c2(0x3ee)](0.2)[_0x46f9c2(0x237)](),_0x58996f=new Y['RegularPolygon'](Ir+a[_0x46f9c2(0x5ed)][_0x46f9c2(0x33c)](we),{'pointsGroup':_0x47b762,'fill':_0x5786c1||Y[_0x46f9c2(0x2e8)](a['COLORS'][_0x46f9c2(0x551)],0.2),'left':_0x2fb9e5,'top':_0x4889e7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46f9c2(0x4a3)][_0x46f9c2(0x2e4)](_0x58996f),this[_0x46f9c2(0x31e)][_0x46f9c2(0x5d2)](_0x58996f,J[_0x46f9c2(0x486)]);}['_drawRectRange'](_0x238633,_0x42cf2a,_0x131bea,_0x40d98a){const _0x1c0704=_0x1ab38c,_0x43b33c=new a[(_0x1c0704(0x210))](_0x238633)['setAlpha'](0.2)[_0x1c0704(0x237)](),_0x36a5fd=new Y['RegularPolygon'](Cr+a[_0x1c0704(0x5ed)][_0x1c0704(0x33c)](we),{'pointsGroup':_0x42cf2a,'fill':_0x43b33c||Y[_0x1c0704(0x2e8)](a['COLORS'][_0x1c0704(0x551)],0.2),'left':_0x131bea,'top':_0x40d98a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c0704(0x4a3)][_0x1c0704(0x2e4)](_0x36a5fd),this[_0x1c0704(0x31e)][_0x1c0704(0x5d2)](_0x36a5fd,J[_0x1c0704(0x486)]);}['_getAnchorBounding'](_0xa6aa41){const _0x179e9b=_0xa6aa41[0x0],_0x150185=_0x179e9b[0x0],_0x3dd566=_0x179e9b[0x2],{x:_0x33214a,y:_0x4c4a2d}=_0x150185,{x:_0x34a603,y:_0x2359db}=_0x3dd566;return{'left':_0x33214a,'top':_0x4c4a2d,'width':_0x34a603-_0x33214a,'height':_0x2359db-_0x4c4a2d};}['_getScale'](){const _0x1be502=_0x1ab38c,{scaleX:_0x5b9a6d,scaleY:_0x3c938c}=this[_0x1be502(0x31e)]['getAncestorScale']();return Math[_0x1be502(0x412)](_0x5b9a6d,_0x3c938c);}}var Rr=Object[_0x1ab38c(0x322)],Or=Object[_0x1ab38c(0x5da)],yr=(_0x4deaba,_0x153bd1,_0x11f2e5,_0x355c04)=>{const _0x4f13d5=_0x1ab38c;for(var _0x365ae1=_0x355c04>0x1?void 0x0:_0x355c04?Or(_0x153bd1,_0x11f2e5):_0x153bd1,_0xfcfeb7=_0x4deaba[_0x4f13d5(0x2b7)]-0x1,_0x1c800f;_0xfcfeb7>=0x0;_0xfcfeb7--)(_0x1c800f=_0x4deaba[_0xfcfeb7])&&(_0x365ae1=(_0x355c04?_0x1c800f(_0x153bd1,_0x11f2e5,_0x365ae1):_0x1c800f(_0x365ae1))||_0x365ae1);return _0x355c04&&_0x365ae1&&Rr(_0x153bd1,_0x11f2e5,_0x365ae1),_0x365ae1;},je=(_0x382b59,_0x71b9c7)=>(_0x29bb6d,_0x2c9f74)=>_0x71b9c7(_0x29bb6d,_0x2c9f74,_0x382b59);let Rt=class extends a['RxDisposable']{constructor(_0x214559,_0x3ebc89,_0x51fa8a,_0x4b8571,_0xbf2606){const _0xa80ea6=_0x1ab38c;super(),I(this,_0xa80ea6(0x54b),[]),I(this,_0xa80ea6(0x4bb),[]),(this[_0xa80ea6(0x58c)]=_0x214559,this['_docSkeletonManagerService']=_0x3ebc89,this[_0xa80ea6(0x2a6)]=_0x51fa8a,this[_0xa80ea6(0x223)]=_0x4b8571,this[_0xa80ea6(0x3ca)]=_0xbf2606,this[_0xa80ea6(0x419)]());}[_0x1ab38c(0x419)](){const _0x30ef16=_0x1ab38c,_0x1fbf7e=this['_context'][_0x30ef16(0x1d7)],_0xc76ef3=this['_docSkeletonManagerService'];this[_0x30ef16(0x4ae)](N[_0x30ef16(0x3d1)]([this[_0x30ef16(0x2a6)][_0x30ef16(0x3df)](_0x1fbf7e),this[_0x30ef16(0x3ca)]['currentTheme$']])[_0x30ef16(0x21a)](V[_0x30ef16(0x4e4)](([_0x41c6a0,_0x5e361e])=>({'skeleton':_0xc76ef3['getSkeleton'](),'cursors':[..._0x41c6a0[_0x30ef16(0x611)]()][_0x30ef16(0x2a8)](_0x14ae86=>({..._0x14ae86,'color':_0x5e361e[_0x14ae86[_0x30ef16(0x42b)]]}))})))[_0x30ef16(0x2cc)](_0x3c2cf4=>{const _0x4ed1f4=_0x30ef16;if(this['_removeCollabCursors'](),_0x3c2cf4){const {skeleton:_0x523ddf,cursors:_0x2d7034}=_0x3c2cf4;this[_0x4ed1f4(0x49f)](_0x523ddf,_0x2d7034);}})),this[_0x30ef16(0x5bd)](),this[_0x30ef16(0x549)]();}[_0x1ab38c(0x49f)](_0x43152b,_0x26c8a2){const _0x51d0e7=_0x1ab38c,{scene:_0x2e9d04,mainComponent:_0x55abaa}=this['_context'],_0x57cf3e=_0x26c8a2[_0x51d0e7(0x4e4)](_0x39f301=>new zt(_0x39f301,_0x2e9d04,_0x43152b,_0x55abaa));this[_0x51d0e7(0x54b)]=_0x57cf3e,this[_0x51d0e7(0x4bb)]=_0x26c8a2;}[_0x1ab38c(0x607)](){const _0x4eefb1=_0x1ab38c;this[_0x4eefb1(0x638)]();const {scene:_0x5a0fb3,mainComponent:_0x227d43}=this['_context'],_0x334ac3=this[_0x4eefb1(0x2e1)][_0x4eefb1(0x172)](),_0x516226=this['_cursors'][_0x4eefb1(0x4e4)](_0x4b8618=>new zt(_0x4b8618,_0x5a0fb3,_0x334ac3,_0x227d43));this[_0x4eefb1(0x54b)]=_0x516226;}[_0x1ab38c(0x638)](){const _0x7e410c=_0x1ab38c;this[_0x7e410c(0x54b)][_0x7e410c(0x3f4)](_0x372cb6=>_0x372cb6[_0x7e410c(0x31c)]()),this[_0x7e410c(0x54b)]=[];}[_0x1ab38c(0x549)](){const _0x404752=_0x1ab38c,_0x281a1c=[J[_0x404752(0x277)]['id']];this['disposeWithMe'](this[_0x404752(0x223)][_0x404752(0x365)](_0x12ea99=>{const _0x14c10c=_0x404752;_0x281a1c[_0x14c10c(0x35a)](_0x12ea99['id'])&&_0x12ea99[_0x14c10c(0x1f8)][_0x14c10c(0x1d7)]===this[_0x14c10c(0x58c)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x1ab38c(0x5bd)](){const _0x291a4e=_0x1ab38c;this[_0x291a4e(0x4ae)](a[_0x291a4e(0x40b)](this[_0x291a4e(0x58c)][_0x291a4e(0x4f7)][_0x291a4e(0x436)])[_0x291a4e(0x21a)](V[_0x291a4e(0x4b6)](_0x2368a1=>_0x2368a1[_0x291a4e(0x57b)]===Y[_0x291a4e(0x598)][_0x291a4e(0x1a0)]),V['throttleTime'](0x10))[_0x291a4e(0x2cc)](()=>{this['_refreshCollabCursors']();}));}};Rt=yr([je(0x1,a[_0x1ab38c(0x56d)](Ie[_0x1ab38c(0x180)])),je(0x2,a[_0x1ab38c(0x56d)](ye)),je(0x3,a[_0x1ab38c(0x430)]),je(0x4,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x308)]))],Rt);function _0x33d2(_0xb05b6,_0x38d21a){const _0x2a3317=_0x2a33();return _0x33d2=function(_0x33d23c,_0x20c9b7){_0x33d23c=_0x33d23c-0x167;let _0x6f5ea=_0x2a3317[_0x33d23c];return _0x6f5ea;},_0x33d2(_0xb05b6,_0x38d21a);}const Dr=0x1,Pr=1.5;class Mi extends Y[_0x1ab38c(0x50c)]{constructor(_0x2a1730,_0xbfc08b){const _0x396013=_0x1ab38c;super(_0x2a1730,_0xbfc08b),I(this,'_color'),I(this,'_hovered',!0x1),I(this,_0x396013(0x241)),I(this,_0x396013(0x3d3),''),I(this,'_labelPosition',_0x396013(0x28d)),I(this,_0x396013(0x2eb)),(_0xbfc08b&&this[_0x396013(0x1e8)](_0xbfc08b),this[_0x396013(0x323)][_0x396013(0x38b)](()=>this[_0x396013(0x1e8)]({'hovered':!0x0})),this[_0x396013(0x603)]['subscribeEvent'](()=>this[_0x396013(0x1e8)]({'hovered':!0x1})));}[_0x1ab38c(0x1e8)](_0x2f230e){const _0x1ed58f=_0x1ab38c;var _0x486883,_0x39290e,_0x1a6209,_0x5a4105,_0x57b05c,_0x394db0;this[_0x1ed58f(0x5be)]=(_0x486883=_0x2f230e[_0x1ed58f(0x42b)])!=null?_0x486883:this[_0x1ed58f(0x5be)],this[_0x1ed58f(0x54d)]=(_0x39290e=_0x2f230e[_0x1ed58f(0x4ac)])!=null?_0x39290e:this[_0x1ed58f(0x54d)],this[_0x1ed58f(0x241)]=(_0x1a6209=_0x2f230e[_0x1ed58f(0x1ea)])!=null?_0x1a6209:this[_0x1ed58f(0x241)],this[_0x1ed58f(0x3d3)]=(_0x5a4105=_0x2f230e['name'])!=null?_0x5a4105:this[_0x1ed58f(0x3d3)],this['_labelPosition']=(_0x57b05c=_0x2f230e[_0x1ed58f(0x63a)])!=null?_0x57b05c:this[_0x1ed58f(0x4b3)],this[_0x1ed58f(0x2eb)]=(_0x394db0=_0x2f230e[_0x1ed58f(0x2ca)])!=null?_0x394db0:this[_0x1ed58f(0x2eb)],this[_0x1ed58f(0x468)]({'width':_0x2f230e[_0x1ed58f(0x24b)],'height':_0x2f230e[_0x1ed58f(0x256)]});}['onMouseMove'](_0x1691a4){const _0x531033=_0x1ab38c,{row:_0x260d2e,column:_0x481959}=_0x1691a4;if(_0x260d2e>=this[_0x531033(0x241)][_0x531033(0x225)]&&_0x260d2e<=this[_0x531033(0x241)][_0x531033(0x343)]&&_0x481959>=this[_0x531033(0x241)]['startColumn']&&_0x481959<=this['_range'][_0x531033(0x55e)]){this[_0x531033(0x1e8)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1ab38c(0x601)](_0x26f495){return!0x1;}['_draw'](_0x409e82){const _0x268aac=_0x1ab38c;Y[_0x268aac(0x448)][_0x268aac(0x289)](_0x409e82,{'width':this['width'],'height':this[_0x268aac(0x256)],'strokeWidth':Pr,'stroke':this[_0x268aac(0x5be)],'evented':!0x1,'fill':this[_0x268aac(0x2eb)]}),this[_0x268aac(0x54d)]&&(_0x409e82[_0x268aac(0x617)](),_0x409e82['transform'](0x1,0x0,0x0,0x1,this[_0x268aac(0x24b)],this[_0x268aac(0x4b3)]===_0x268aac(0x5b1)?0x0:-xe),ct['drawWith'](_0x409e82,{'text':this[_0x268aac(0x3d3)],'color':this[_0x268aac(0x5be)]}),_0x409e82['restore']());}}var wr=Object[_0x1ab38c(0x322)],Ur=Object[_0x1ab38c(0x5da)],Mr=(_0x23f0b9,_0x1c7287,_0x182c8a,_0x75d095)=>{for(var _0x53985f=_0x75d095>0x1?void 0x0:_0x75d095?Ur(_0x1c7287,_0x182c8a):_0x1c7287,_0x4d46d9=_0x23f0b9['length']-0x1,_0x2caae4;_0x4d46d9>=0x0;_0x4d46d9--)(_0x2caae4=_0x23f0b9[_0x4d46d9])&&(_0x53985f=(_0x75d095?_0x2caae4(_0x1c7287,_0x182c8a,_0x53985f):_0x2caae4(_0x53985f))||_0x53985f);return _0x75d095&&_0x53985f&&wr(_0x1c7287,_0x182c8a,_0x53985f),_0x53985f;},mt=(_0x132225,_0x303f27)=>(_0x552f64,_0xf049f4)=>_0x303f27(_0x552f64,_0xf049f4,_0x132225);const Nr=0x1389;let Ot=class extends a[_0x1ab38c(0x579)]{constructor(_0x357e8b,_0x5e1577,_0x30398f,_0x233d29){const _0x37dfff=_0x1ab38c;super(),I(this,_0x37dfff(0x4bb),new Set()),I(this,_0x37dfff(0x56e),null),(this[_0x37dfff(0x58c)]=_0x357e8b,this['_sheetSkeletonManagerService']=_0x5e1577,this[_0x37dfff(0x2a6)]=_0x30398f,this[_0x37dfff(0x3ca)]=_0x233d29,this[_0x37dfff(0x419)]());}['_init'](){const _0x36b367=_0x1ab38c;this[_0x36b367(0x185)][_0x36b367(0x421)][_0x36b367(0x21a)](V[_0x36b367(0x37c)](this[_0x36b367(0x326)]),V[_0x36b367(0x600)](_0x32281e=>{const _0x45f09b=_0x36b367;if(_0x32281e){const _0x41fb51=_0x32281e[_0x45f09b(0x57e)];return N[_0x45f09b(0x3d1)](this['_collabCursorController']['getCollabCursors$'](this[_0x45f09b(0x58c)]['unitId']),this[_0x45f09b(0x3ca)][_0x45f09b(0x391)])[_0x45f09b(0x21a)](V['map'](([_0x5db8fc,_0x255ad8])=>{const _0x45fe79=_0x45f09b,_0x284ab9=new Map();return _0x5db8fc[_0x45fe79(0x3f4)]((_0x408b0f,_0x1ceda7)=>{const _0x259063=_0x45fe79;if(_0x408b0f[_0x259063(0x58d)]===_0x41fb51){const _0x44a219={..._0x408b0f};_0x44a219['color']=_0x255ad8[_0x408b0f[_0x259063(0x42b)]],_0x284ab9['set'](_0x1ceda7,_0x44a219);}}),{'skeleton':_0x32281e,'cursors':_0x284ab9};}));}return N['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4e354d,cursors:_0x4ec3e6})=>{const _0x332568=_0x36b367;this['_removeCollabCursors'](),_0x4e354d&&this[_0x332568(0x49f)](_0x4e354d,_0x4ec3e6);}),this['_sheetSkeletonManagerService'][_0x36b367(0x421)][_0x36b367(0x2cc)](_0x1f0ba2=>{const _0x1c7802=_0x36b367;if(_0x1f0ba2==null)return;const {skeleton:_0x18a9bd}=_0x1f0ba2,{scene:_0x49a4e9}=this[_0x1c7802(0x58c)];_0x49a4e9[_0x1c7802(0x513)][_0x1c7802(0x38b)](a['debounce'](_0x3a77fb=>{const _0x49e5db=_0x1c7802;var _0x3584a4,_0x23aefc;const {offsetX:_0xdd2639,offsetY:_0x43ccdb}=_0x3a77fb,{x:_0x15cd7a,y:_0x1aafc7}=_0x49a4e9[_0x49e5db(0x281)](Y['Vector2']['FromArray']([_0xdd2639,_0x43ccdb])),{scaleX:_0x3d2de0,scaleY:_0x51d93f}=_0x49a4e9[_0x49e5db(0x16c)](),_0x4285e6=_0x49a4e9[_0x49e5db(0x306)](Y[_0x49e5db(0x623)][_0x49e5db(0x5b3)]),_0x118fc1=_0x49a4e9[_0x49e5db(0x3b0)](Y[_0x49e5db(0x4ed)][_0x49e5db(0x404)]([_0x15cd7a,_0x1aafc7]),_0x4285e6),_0x4c637d=_0x18a9bd['getCellPositionByOffset'](_0xdd2639,_0x43ccdb,_0x3d2de0,_0x51d93f,_0x118fc1);((_0x3584a4=this['_lastPointer'])==null?void 0x0:_0x3584a4['column'])===_0x4c637d['column']&&((_0x23aefc=this[_0x49e5db(0x56e)])==null?void 0x0:_0x23aefc['row'])===_0x4c637d['row']||this[_0x49e5db(0x4bb)][_0x49e5db(0x3f4)](_0x4b8f7b=>{const _0x438647=_0x49e5db;_0x4b8f7b[_0x438647(0x5e0)](_0x4c637d);});},0x64));});}['_updateCollabCursors'](_0x4814a5,_0x26674d){const _0x1f5583=_0x1ab38c;var _0x18f739;const _0x94a048=(_0x18f739=this[_0x1f5583(0x185)]['getCurrent']())==null?void 0x0:_0x18f739[_0x1f5583(0x407)];if(!_0x94a048)return;const _0x2a9892=this[_0x1f5583(0x1bb)]();if(!_0x2a9892)return;this[_0x1f5583(0x4bb)][_0x1f5583(0x3f4)](_0x163a95=>{const _0x1f53bd=_0x1f5583;_0x163a95[_0x1f53bd(0x31a)]();});const {scene:_0x432004}=_0x2a9892,_0x58086d=Ar(Array[_0x1f5583(0x17c)](_0x26674d[_0x1f5583(0x611)]()))['map'](_0x374f84=>{const _0x1bccf9=_0x1f5583,{color:_0x3d257f,range:_0xbc94be,name:_0x1e71be,selection:_0x36d224,sheetID:_0x102240}=_0x374f84,{startColumn:_0x3fd4c6,startRow:_0x3d36b7,endColumn:_0x36df70,endRow:_0x447ca7}=_0xbc94be,_0x449ee0=Le['getCoordByCell'](_0x3d36b7,_0x3fd4c6,_0x432004,_0x94a048),_0x4dc5e0=Le[_0x1bccf9(0x381)](_0x447ca7,_0x36df70,_0x432004,_0x94a048),{columnHeaderHeightAndMarginTop:_0x33c679}=_0x94a048,{startX:_0x4b8873,startY:_0x595832}=_0x449ee0,{endX:_0xf9d5dd,endY:_0x45728c}=_0x4dc5e0,_0x15b6da=_0xf9d5dd-_0x4b8873,_0x54a26b=_0x45728c-_0x595832,_0x18a029={'labelPosition':_0x595832-_0x33c679>=xe?_0x1bccf9(0x28d):'bottom','sheetID':_0x102240,'range':_0xbc94be,'color':_0x3d257f,'name':_0x1e71be,'selection':_0x36d224,'left':_0x4b8873,'top':_0x595832,'width':_0x15b6da,'height':_0x54a26b,'evented':!0x1,'zIndex':Nr};return new Mi(_0x1e71be,_0x18a029);});_0x432004[_0x1f5583(0x33a)](_0x58086d,Dr),this[_0x1f5583(0x4bb)]=new Set(_0x58086d);}[_0x1ab38c(0x638)](){const _0x2efc0e=_0x1ab38c;var _0x5762d5;(_0x5762d5=this['_cursors'])==null||_0x5762d5[_0x2efc0e(0x3f4)](_0x115e42=>_0x115e42['dispose']());}[_0x1ab38c(0x1bb)](){const _0x3cfdee=_0x1ab38c;return Le[_0x3cfdee(0x576)](this['_context'][_0x3cfdee(0x310)],this[_0x3cfdee(0x58c)]);}};Ot=Mr([mt(0x1,a[_0x1ab38c(0x56d)](Le['SheetSkeletonManagerService'])),mt(0x2,a['Inject'](ye)),mt(0x3,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x308)]))],Ot);function Ar(_0x23e51b){const _0x1b1613=_0x1ab38c,_0x5389b9=new Map();return _0x23e51b['forEach'](_0x1095a2=>{const _0x44b904=_0x33d2;if(_0x5389b9[_0x44b904(0x392)](_0x1095a2[_0x44b904(0x1b1)])){const _0x3e1748=_0x5389b9[_0x44b904(0x3f9)](_0x1095a2[_0x44b904(0x1b1)]);_0x3e1748[_0x44b904(0x4e0)]+=',\x20'+_0x1095a2['name'];}else _0x5389b9[_0x44b904(0x1c6)](_0x1095a2['selection'],_0x1095a2);}),Array[_0x1b1613(0x17c)](_0x5389b9[_0x1b1613(0x611)]());}var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x45a630){const _0x120766=_0x1ab38c;return _0x45a630&&_0x45a630['__esModule']&&Object[_0x120766(0x29c)][_0x120766(0x5a3)]['call'](_0x45a630,_0x120766(0x16f))?_0x45a630[_0x120766(0x16f)]:_0x45a630;}var It={'exports':{}},Ue={},Xt;function Lr(){const _0x539936=_0x1ab38c;if(Xt)return Ue;Xt=0x1;var _0x1a0b04=oe,_0x3b4ce7=Symbol[_0x539936(0x47c)](_0x539936(0x57c)),_0x497710=Symbol[_0x539936(0x47c)]('react.fragment'),_0x25f6f0=Object[_0x539936(0x29c)][_0x539936(0x5a3)],_0x33b619=_0x1a0b04['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED']['ReactCurrentOwner'],_0x4e7d17={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0xc2246(_0x5db64d,_0x981545,_0x9671ab){const _0x35aefc=_0x539936;var _0x405884,_0x5b2a1c={},_0x83cb03=null,_0x1804cd=null;_0x9671ab!==void 0x0&&(_0x83cb03=''+_0x9671ab),_0x981545[_0x35aefc(0x634)]!==void 0x0&&(_0x83cb03=''+_0x981545[_0x35aefc(0x634)]),_0x981545[_0x35aefc(0x587)]!==void 0x0&&(_0x1804cd=_0x981545[_0x35aefc(0x587)]);for(_0x405884 in _0x981545)_0x25f6f0[_0x35aefc(0x4fd)](_0x981545,_0x405884)&&!_0x4e7d17[_0x35aefc(0x5a3)](_0x405884)&&(_0x5b2a1c[_0x405884]=_0x981545[_0x405884]);if(_0x5db64d&&_0x5db64d[_0x35aefc(0x2d3)]){for(_0x405884 in(_0x981545=_0x5db64d[_0x35aefc(0x2d3)],_0x981545))_0x5b2a1c[_0x405884]===void 0x0&&(_0x5b2a1c[_0x405884]=_0x981545[_0x405884]);}return{'$$typeof':_0x3b4ce7,'type':_0x5db64d,'key':_0x83cb03,'ref':_0x1804cd,'props':_0x5b2a1c,'_owner':_0x33b619[_0x35aefc(0x4be)]};}return Ue[_0x539936(0x17a)]=_0x497710,Ue[_0x539936(0x5c5)]=_0xc2246,Ue['jsxs']=_0xc2246,Ue;}var Jt;function xr(){const _0x21724d=_0x1ab38c;return Jt||(Jt=0x1,It[_0x21724d(0x5ca)]=Lr()),It[_0x21724d(0x5ca)];}var me=xr(),Q=function(){const _0x3a60bd=_0x1ab38c;return Q=Object['assign']||function(_0x465d77){const _0x9f5f29=_0x33d2;for(var _0x1d42fa,_0x1e8fb5=0x1,_0x1b75ce=arguments[_0x9f5f29(0x2b7)];_0x1e8fb5<_0x1b75ce;_0x1e8fb5++){_0x1d42fa=arguments[_0x1e8fb5];for(var _0x889dcb in _0x1d42fa)Object[_0x9f5f29(0x29c)][_0x9f5f29(0x5a3)][_0x9f5f29(0x4fd)](_0x1d42fa,_0x889dcb)&&(_0x465d77[_0x889dcb]=_0x1d42fa[_0x889dcb]);}return _0x465d77;},Q[_0x3a60bd(0x444)](this,arguments);},$r=function(_0x3153d5,_0xfc1e4a){const _0x332929=_0x1ab38c;var _0x2cba55={};for(var _0x57a2b8 in _0x3153d5)Object[_0x332929(0x29c)][_0x332929(0x5a3)][_0x332929(0x4fd)](_0x3153d5,_0x57a2b8)&&_0xfc1e4a[_0x332929(0x5b6)](_0x57a2b8)<0x0&&(_0x2cba55[_0x57a2b8]=_0x3153d5[_0x57a2b8]);if(_0x3153d5!=null&&typeof Object[_0x332929(0x39f)]=='function'){for(var _0x28d5eb=0x0,_0x57a2b8=Object['getOwnPropertySymbols'](_0x3153d5);_0x28d5eb<_0x57a2b8['length'];_0x28d5eb++)_0xfc1e4a[_0x332929(0x5b6)](_0x57a2b8[_0x28d5eb])<0x0&&Object[_0x332929(0x29c)]['propertyIsEnumerable']['call'](_0x3153d5,_0x57a2b8[_0x28d5eb])&&(_0x2cba55[_0x57a2b8[_0x28d5eb]]=_0x3153d5[_0x57a2b8[_0x28d5eb]]);}return _0x2cba55;},At=oe['forwardRef'](function(_0x36a60a,_0x355e83){const _0xcbd9ad=_0x1ab38c;var _0x183f18=_0x36a60a[_0xcbd9ad(0x39e)],_0x84cd07=_0x36a60a['id'],_0x5eb1bc=_0x36a60a[_0xcbd9ad(0x5f9)],_0x4a80b9=_0x36a60a[_0xcbd9ad(0x270)],_0x30911f=$r(_0x36a60a,[_0xcbd9ad(0x39e),'id','className',_0xcbd9ad(0x270)]),_0x1dbe14=_0xcbd9ad(0x493)[_0xcbd9ad(0x1ac)](_0x84cd07,'\x20')[_0xcbd9ad(0x1ac)](_0x5eb1bc||'')[_0xcbd9ad(0x295)](),_0x18aacf=oe[_0xcbd9ad(0x624)]('_'[_0xcbd9ad(0x1ac)](Br()));return Ni(_0x183f18,''['concat'](_0x84cd07),{'defIds':_0x183f18[_0xcbd9ad(0x3da)],'idSuffix':_0x18aacf[_0xcbd9ad(0x4be)]},Q({'ref':_0x355e83,'className':_0x1dbe14},_0x30911f),_0x4a80b9);});function Ni(_0x394550,_0x48ba76,_0x486508,_0x34efe5,_0x46e9c4){const _0x2e411f=_0x1ab38c;return oe['createElement'](_0x394550['tag'],Q(Q({'key':_0x48ba76},jr(_0x394550,_0x486508,_0x46e9c4)),_0x34efe5),(Hr(_0x394550,_0x486508)[_0x2e411f(0x1d3)]||[])[_0x2e411f(0x4e4)](function(_0x1f1a5c,_0x26b2be){const _0x41a5da=_0x2e411f;return Ni(_0x1f1a5c,''[_0x41a5da(0x1ac)](_0x48ba76,'-')[_0x41a5da(0x1ac)](_0x394550[_0x41a5da(0x292)],'-')[_0x41a5da(0x1ac)](_0x26b2be),_0x486508,void 0x0,_0x46e9c4);}));}function jr(_0x574cdc,_0x41df65,_0x174adf){const _0x3866cd=_0x1ab38c;var _0x1687e9=Q({},_0x574cdc[_0x3866cd(0x1d5)]);_0x174adf!=null&&_0x174adf[_0x3866cd(0x18d)]&&_0x1687e9[_0x3866cd(0x2d6)]==='colorChannel1'&&(_0x1687e9['fill']=_0x174adf['colorChannel1']);var _0x553ae0=_0x41df65['defIds'];return!_0x553ae0||_0x553ae0['length']===0x0||(_0x574cdc[_0x3866cd(0x292)]===_0x3866cd(0x5f2)&&_0x1687e9[_0x3866cd(0x547)]&&(_0x1687e9['xlink:href']=_0x1687e9[_0x3866cd(0x547)]+_0x41df65['idSuffix']),Object[_0x3866cd(0x1f7)](_0x1687e9)[_0x3866cd(0x3f4)](function(_0x5d0b98){const _0x48c018=_0x3866cd;var _0x481e0c=_0x5d0b98[0x0],_0xabc714=_0x5d0b98[0x1];typeof _0xabc714=='string'&&(_0x1687e9[_0x481e0c]=_0xabc714[_0x48c018(0x5e1)](/url\(#(.*)\)/,'url(#$1'[_0x48c018(0x1ac)](_0x41df65[_0x48c018(0x2ba)],')')));})),_0x1687e9;}function Hr(_0x5d2155,_0xda7dbb){const _0x2d8b74=_0x1ab38c;var _0x35ba75,_0x5e6395=_0xda7dbb[_0x2d8b74(0x3da)];return!_0x5e6395||_0x5e6395[_0x2d8b74(0x2b7)]===0x0?_0x5d2155:_0x5d2155[_0x2d8b74(0x292)]===_0x2d8b74(0x4ba)&&(!((_0x35ba75=_0x5d2155[_0x2d8b74(0x1d3)])===null||_0x35ba75===void 0x0)&&_0x35ba75[_0x2d8b74(0x2b7)])?Q(Q({},_0x5d2155),{'children':_0x5d2155[_0x2d8b74(0x1d3)][_0x2d8b74(0x4e4)](function(_0x5748d4){const _0x14ea25=_0x2d8b74;return typeof _0x5748d4['attrs']['id']==_0x14ea25(0x3a2)&&_0x5e6395&&_0x5e6395[_0x14ea25(0x5b6)](_0x5748d4['attrs']['id'])>-0x1?Q(Q({},_0x5748d4),{'attrs':Q(Q({},_0x5748d4['attrs']),{'id':_0x5748d4['attrs']['id']+_0xda7dbb[_0x14ea25(0x2ba)]})}):_0x5748d4;})}):_0x5d2155;}function Br(){const _0x5733ad=_0x1ab38c;return Math[_0x5733ad(0x3b8)]()[_0x5733ad(0x612)](0x24)[_0x5733ad(0x3ea)](0x2,0x8);}At[_0x1ab38c(0x3c2)]=_0x1ab38c(0x1dd);var kr={'tag':_0x1ab38c(0x19c),'attrs':{'fill':_0x1ab38c(0x222),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x1ab38c(0x62e)},'children':[{'tag':'g','attrs':{'clipPath':_0x1ab38c(0x5a0)},'children':[{'tag':_0x1ab38c(0x324),'attrs':{'stroke':_0x1ab38c(0x526),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x1ab38c(0x363),'strokeLinejoin':_0x1ab38c(0x363),'strokeWidth':1.2}}]},{'tag':_0x1ab38c(0x4ba),'attrs':{},'children':[{'tag':_0x1ab38c(0x1f2),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x1ab38c(0x2f3),'d':_0x1ab38c(0x580)}}]}]}],'defIds':[_0x1ab38c(0x358)]},Ai=oe[_0x1ab38c(0x235)](function(_0x3576c5,_0x12b15f){const _0x510085=_0x1ab38c;return oe['createElement'](At,Object[_0x510085(0x307)]({},_0x3576c5,{'id':_0x510085(0x2ac),'ref':_0x12b15f,'icon':kr}));});Ai[_0x1ab38c(0x3c2)]=_0x1ab38c(0x189);var Wr={'tag':_0x1ab38c(0x19c),'attrs':{'fill':_0x1ab38c(0x222),'viewBox':_0x1ab38c(0x3e3),'width':'1em','height':_0x1ab38c(0x62e)},'children':[{'tag':'g','attrs':{'clipPath':_0x1ab38c(0x27a)},'children':[{'tag':_0x1ab38c(0x324),'attrs':{'stroke':_0x1ab38c(0x526),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1ab38c(0x4ba),'attrs':{},'children':[{'tag':_0x1ab38c(0x1f2),'attrs':{'id':_0x1ab38c(0x243)},'children':[{'tag':_0x1ab38c(0x324),'attrs':{'fill':_0x1ab38c(0x2f3),'d':_0x1ab38c(0x580),'transform':_0x1ab38c(0x2b3)}}]}]}],'defIds':[_0x1ab38c(0x243)]},Li=oe[_0x1ab38c(0x235)](function(_0x549a8a,_0x3564c7){const _0x501439=_0x1ab38c;return oe[_0x501439(0x474)](At,Object[_0x501439(0x307)]({},_0x549a8a,{'id':_0x501439(0x25c),'ref':_0x3564c7,'icon':Wr}));});Li[_0x1ab38c(0x3c2)]=_0x1ab38c(0x36d);function xi(_0x5ec539){const _0x1ee7f6=_0x1ab38c;var _0x54d655,_0x3f6ceb,_0x22464a='';if(typeof _0x5ec539=='string'||typeof _0x5ec539=='number')_0x22464a+=_0x5ec539;else{if(typeof _0x5ec539=='object'){if(Array['isArray'](_0x5ec539)){var _0x7f2878=_0x5ec539[_0x1ee7f6(0x2b7)];for(_0x54d655=0x0;_0x54d655<_0x7f2878;_0x54d655++)_0x5ec539[_0x54d655]&&(_0x3f6ceb=xi(_0x5ec539[_0x54d655]))&&(_0x22464a&&(_0x22464a+='\x20'),_0x22464a+=_0x3f6ceb);}else{for(_0x3f6ceb in _0x5ec539)_0x5ec539[_0x3f6ceb]&&(_0x22464a&&(_0x22464a+='\x20'),_0x22464a+=_0x3f6ceb);}}}return _0x22464a;}function Fr(){const _0x17b442=_0x1ab38c;for(var _0x1a80e8,_0x4cf67c,_0x46f190=0x0,_0x5ce23e='',_0xbc0d7e=arguments[_0x17b442(0x2b7)];_0x46f190<_0xbc0d7e;_0x46f190++)(_0x1a80e8=arguments[_0x46f190])&&(_0x4cf67c=xi(_0x1a80e8))&&(_0x5ce23e&&(_0x5ce23e+='\x20'),_0x5ce23e+=_0x4cf67c);return _0x5ce23e;}const Vr='univer-online-status-icon',Gr=_0x1ab38c(0x314),Yr=_0x1ab38c(0x2f4),qr='univer-online',Kr=_0x1ab38c(0x55f),Me={'onlineStatusIcon':Vr,'onlineStatusTitle':Gr,'onlineStatus':Yr,'online':qr,'offline':Kr};function zr(_0x388866){const _0x5cb792=_0x1ab38c;switch(_0x388866){case K[_0x5cb792(0x1e7)]:return _0x5cb792(0x176);case K[_0x5cb792(0x5f1)]:return _0x5cb792(0x451);case K[_0x5cb792(0x303)]:return _0x5cb792(0x4aa);case K[_0x5cb792(0x1d1)]:return _0x5cb792(0x4cc);case K[_0x5cb792(0x261)]:case K['AWAITING_WITH_PENDING']:return _0x5cb792(0x4f5);case K['SYNCED']:case K[_0x5cb792(0x320)]:return _0x5cb792(0x58b);}}function $i(_0x2ce871){const _0x2f7465=_0x1ab38c,{status$:_0x4861c5}=_0x2ce871,_0x5f11de=ee[_0x2f7465(0x1be)](_0x4861c5,K['NOT_COLLAB']),_0x14b488=a[_0x2f7465(0x59d)](a[_0x2f7465(0x394)]),_0xb62107=a[_0x2f7465(0x59d)](exports[_0x2f7465(0x1fc)]),_0x545ccd=_0x5f11de!==K[_0x2f7465(0x1e7)],_0x1c1d25=_0x14b488['t'](zr(_0x5f11de)),_0x35f09c=Fr(Me[_0x2f7465(0x380)],{[Me['online']]:_0x545ccd,[Me[_0x2f7465(0x573)]]:!_0x545ccd}),_0x37c735=_0x545ccd?me['jsx'](Li,{}):me['jsx'](Ai,{}),_0x2ded1b=oe[_0x2f7465(0x39c)](()=>{_0x545ccd||_0xb62107['reconnect']();},[_0x545ccd,_0xb62107]);function _0x404bcf(){const _0x111189=_0x2f7465;return me[_0x111189(0x508)]('div',{'className':_0x35f09c,'onClick':_0x2ded1b,'children':[me['jsx'](_0x111189(0x224),{'className':Me[_0x111189(0x5f0)],'children':_0x37c735}),me[_0x111189(0x5c5)](_0x111189(0x224),{'className':Me['onlineStatusTitle'],'children':_0x1c1d25})]});}return _0x545ccd?_0x404bcf():me[_0x2f7465(0x5c5)](Ce[_0x2f7465(0x305)],{'title':_0x14b488['t'](_0x2f7465(0x371)),'children':_0x404bcf()});}var Xr=Object['defineProperty'],Jr=Object[_0x1ab38c(0x5da)],Zr=(_0x507833,_0x53b533,_0x38711a,_0x45710f)=>{const _0x11e188=_0x1ab38c;for(var _0x299165=_0x45710f>0x1?void 0x0:_0x45710f?Jr(_0x53b533,_0x38711a):_0x53b533,_0xe27f6=_0x507833[_0x11e188(0x2b7)]-0x1,_0x383279;_0xe27f6>=0x0;_0xe27f6--)(_0x383279=_0x507833[_0xe27f6])&&(_0x299165=(_0x45710f?_0x383279(_0x53b533,_0x38711a,_0x299165):_0x383279(_0x299165))||_0x299165);return _0x45710f&&_0x299165&&Xr(_0x53b533,_0x38711a,_0x299165),_0x299165;},He=(_0x3fd06f,_0x51bc02)=>(_0x2bdd7c,_0x3e2023)=>_0x51bc02(_0x2bdd7c,_0x3e2023,_0x3fd06f);exports[_0x1ab38c(0x347)]=class extends a[_0x1ab38c(0x382)]{constructor(_0x4685db,_0x1f74e7,_0x554502,_0x5ac69f){const _0xcf3ba2=_0x1ab38c;super(),I(this,_0xcf3ba2(0x4f8),new N[(_0xcf3ba2(0x3bd))](K[_0xcf3ba2(0x1d1)])),(this[_0xcf3ba2(0x3b6)]=_0x4685db,this[_0xcf3ba2(0x53a)]=_0x1f74e7,this['_injector']=_0x554502,this[_0xcf3ba2(0x27b)]=_0x5ac69f,this[_0xcf3ba2(0x1a2)](),this[_0xcf3ba2(0x294)]());}[_0x1ab38c(0x294)](){const _0x33b823=_0x1ab38c;this[_0x33b823(0x4ae)](this[_0x33b823(0x3b6)]['focused$']['pipe'](N[_0x33b823(0x600)](()=>{const _0xe568a8=_0x33b823,_0x2f4007=this[_0xe568a8(0x3b6)][_0xe568a8(0x425)]();return _0x2f4007?this[_0xe568a8(0x27b)][_0xe568a8(0x29b)](_0x2f4007[_0xe568a8(0x2f9)]()):N['of'](null);}),N['switchMap'](_0x3168ba=>_0x3168ba?_0x3168ba[_0x33b823(0x1af)]:N['of'](K[_0x33b823(0x1d1)])))[_0x33b823(0x2cc)](_0x16efca=>{this['_status$']['next'](_0x16efca);}));}['_initStatusComponent'](){const _0x3f67fa=_0x1ab38c;this[_0x3f67fa(0x4ae)](this[_0x3f67fa(0x53a)][_0x3f67fa(0x30b)](ee['BuiltInUIPart'][_0x3f67fa(0x2d8)],()=>a['connectInjector'](Qr({'status$':this[_0x3f67fa(0x4f8)][_0x3f67fa(0x3b4)]()}),this[_0x3f67fa(0x2f8)])));}},exports[_0x1ab38c(0x347)]=Zr([He(0x0,a[_0x1ab38c(0x585)]),He(0x1,ee[_0x1ab38c(0x1ee)]),He(0x2,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),He(0x3,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x1d8)]))],exports['DesktopCollaborationStatusDisplayController']);function Qr(_0x230886){const {status$:_0x5f0918}=_0x230886;return function(){const _0x3cba04=_0x33d2;return me[_0x3cba04(0x5c5)]($i,{'status$':_0x5f0918});};}const Lt=a[_0x1ab38c(0x4d5)](_0x1ab38c(0x464));var es=Object['defineProperty'],ts=Object['getOwnPropertyDescriptor'],is=(_0x80fb75,_0x3683ad,_0xd4986,_0x38d76d)=>{const _0x4ec907=_0x1ab38c;for(var _0xd434d3=_0x38d76d>0x1?void 0x0:_0x38d76d?ts(_0x3683ad,_0xd4986):_0x3683ad,_0x50cc76=_0x80fb75[_0x4ec907(0x2b7)]-0x1,_0x1efa11;_0x50cc76>=0x0;_0x50cc76--)(_0x1efa11=_0x80fb75[_0x50cc76])&&(_0xd434d3=(_0x38d76d?_0x1efa11(_0x3683ad,_0xd4986,_0xd434d3):_0x1efa11(_0xd434d3))||_0xd434d3);return _0x38d76d&&_0xd434d3&&es(_0x3683ad,_0xd4986,_0xd434d3),_0xd434d3;},Re=(_0x358beb,_0x58df59)=>(_0x379419,_0x14b137)=>_0x58df59(_0x379419,_0x14b137,_0x358beb);exports[_0x1ab38c(0x535)]=class extends a['RxDisposable']{constructor(_0x2f73ca,_0x4ba5c0,_0x579ef1,_0x26c5f3,_0x3e404b,_0x2ef285){const _0x422d46=_0x1ab38c;super(),this[_0x422d46(0x427)]=_0x2f73ca,this[_0x422d46(0x4d3)]=_0x4ba5c0,this[_0x422d46(0x223)]=_0x579ef1,this['_localCacheService']=_0x26c5f3,this['_snapshotService']=_0x3e404b,_0x2ef285?_0x2ef285==null||_0x2ef285['whenReady']()[_0x422d46(0x4f9)](()=>this[_0x422d46(0x419)]()):(this['_logService'][_0x422d46(0x479)](_0x422d46(0x2b0),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x4263d4=_0x1ab38c,_0x3cafab=this['_urlService'][_0x4263d4(0x53c)](_0x4263d4(0x310)),_0x5d6896=this[_0x4263d4(0x427)]['getParam'](_0x4263d4(0x57b));if(!_0x3cafab||!_0x5d6896){this[_0x4263d4(0x4d3)][_0x4263d4(0x479)](_0x4263d4(0x2b0),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x5d6896)){case ie[_0x4263d4(0x2e0)]:{const _0x3d5488=await this[_0x4263d4(0x4ab)](_0x3cafab);this[_0x4263d4(0x3ff)](_0x3d5488);break;}case ie[_0x4263d4(0x355)]:{await this[_0x4263d4(0x402)](_0x3cafab);break;}default:{this['_logService'][_0x4263d4(0x48d)](_0x4263d4(0x2b0),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x1ab38c(0x3ff)](_0x2309bd){const _0x1fd9bc=_0x1ab38c;await this['_updateSubUnitFromURLParams'](_0x2309bd),_0x2309bd[_0x1fd9bc(0x278)][_0x1fd9bc(0x21a)](N['takeUntil'](this[_0x1fd9bc(0x326)]))[_0x1fd9bc(0x2cc)](_0x27a67a=>{const _0x4a17bd=_0x1fd9bc;_0x27a67a&&this[_0x4a17bd(0x168)](_0x27a67a);}),this[_0x1fd9bc(0x427)][_0x1fd9bc(0x4a8)][_0x1fd9bc(0x21a)](N[_0x1fd9bc(0x37c)](this[_0x1fd9bc(0x326)]))[_0x1fd9bc(0x2cc)](()=>this[_0x1fd9bc(0x5b4)](_0x2309bd));}['_updateURLWithCurrentState'](_0x414c20,_0x47c5c7=!0x1){const _0x32aff7=_0x1ab38c,_0x215163=this[_0x32aff7(0x427)]['getParam'](_0x32aff7(0x254));_0x414c20[_0x32aff7(0x62b)]()!==_0x215163&&this[_0x32aff7(0x427)]['setParam'](_0x32aff7(0x254),_0x414c20['getSheetId'](),_0x47c5c7);}async['_updateSubUnitFromURLParams'](_0x1624cf){const _0x26db47=_0x1ab38c;var _0x4c9677;const _0x4b2d80=this['_urlService'][_0x26db47(0x53c)](_0x26db47(0x254));if(!_0x4b2d80||!_0x1624cf[_0x26db47(0x54a)](_0x4b2d80)){const _0x45e28b=_0x1624cf[_0x26db47(0x43a)]()[0x0],_0xe58e95=_0x1624cf['getSheetBySheetId'](_0x45e28b);if(!_0xe58e95)return;this[_0x26db47(0x168)](_0xe58e95,!0x0),await this[_0x26db47(0x223)]['executeCommand'](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x1624cf[_0x26db47(0x2f9)](),'subUnitId':_0x45e28b});return;}((_0x4c9677=_0x1624cf['getActiveSheet']())==null?void 0x0:_0x4c9677['getSheetId']())!==_0x4b2d80&&await this['_commandService'][_0x26db47(0x59c)](k[_0x26db47(0x5cb)]['id'],{'unitId':_0x1624cf[_0x26db47(0x2f9)](),'subUnitId':_0x4b2d80});}async[_0x1ab38c(0x4ab)](_0x462cbe){const _0x3e731f=_0x1ab38c;let _0xed56d1=0x0;const _0x1a7e80=await this[_0x3e731f(0x28a)][_0x3e731f(0x309)](_0x462cbe);return _0x1a7e80&&(_0x1a7e80[_0x3e731f(0x228)]||_0x1a7e80[_0x3e731f(0x4ea)][_0x3e731f(0x2b7)]!==0x0)&&(_0xed56d1=_0x1a7e80[_0x3e731f(0x557)]),_0xed56d1===0x0&&this[_0x3e731f(0x4d3)][_0x3e731f(0x479)](_0x3e731f(0x2b0),_0x3e731f(0x34b)),this[_0x3e731f(0x5ee)][_0x3e731f(0x5c3)](_0x462cbe,_0xed56d1);}async['_loadDoc'](_0x3d6d65){const _0x579a49=_0x1ab38c;let _0x1ade3a=0x0;const _0x1d9c92=await this[_0x579a49(0x28a)]['loadOfflineData'](_0x3d6d65);return _0x1d9c92&&(_0x1d9c92[_0x579a49(0x228)]||_0x1d9c92[_0x579a49(0x4ea)][_0x579a49(0x2b7)]!==0x0)&&(_0x1ade3a=_0x1d9c92[_0x579a49(0x557)]),_0x1ade3a===0x0&&this[_0x579a49(0x4d3)][_0x579a49(0x479)](_0x579a49(0x2b0),_0x579a49(0x34b)),this[_0x579a49(0x5ee)][_0x579a49(0x4d6)](_0x3d6d65,_0x1ade3a);}},exports[_0x1ab38c(0x535)]=is([Re(0x0,Lt),Re(0x1,a[_0x1ab38c(0x626)]),Re(0x2,a[_0x1ab38c(0x430)]),Re(0x3,a['Inject'](exports['LocalCacheService'])),Re(0x4,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x4b1)])),Re(0x5,a[_0x1ab38c(0x627)](Yi[_0x1ab38c(0x56c)]))],exports[_0x1ab38c(0x535)]);var ns=Object['defineProperty'],rs=Object['getOwnPropertyDescriptor'],ss=(_0x339a6a,_0x19e7c5,_0x593e54,_0x526f4e)=>{const _0x577260=_0x1ab38c;for(var _0x335365=_0x526f4e>0x1?void 0x0:_0x526f4e?rs(_0x19e7c5,_0x593e54):_0x19e7c5,_0x1042d5=_0x339a6a[_0x577260(0x2b7)]-0x1,_0x2a7000;_0x1042d5>=0x0;_0x1042d5--)(_0x2a7000=_0x339a6a[_0x1042d5])&&(_0x335365=(_0x526f4e?_0x2a7000(_0x19e7c5,_0x593e54,_0x335365):_0x2a7000(_0x335365))||_0x335365);return _0x526f4e&&_0x335365&&ns(_0x19e7c5,_0x593e54,_0x335365),_0x335365;},Zt=(_0x11f4cd,_0x2ab334)=>(_0x3b858d,_0x2c7554)=>_0x2ab334(_0x3b858d,_0x2c7554,_0x11f4cd);const os='DEFAULT_FILE_NAME',as=_0x1ab38c(0x490);let nt=class extends a['Disposable']{constructor(_0x557349,_0x39ad46){const _0x2d0a01=_0x1ab38c;super(),this[_0x2d0a01(0x3b6)]=_0x557349,this[_0x2d0a01(0x3fd)]=_0x39ad46,this[_0x2d0a01(0x419)]();}[_0x1ab38c(0x419)](){const _0x93d948=_0x1ab38c;this[_0x93d948(0x4ae)](this[_0x93d948(0x3b6)][_0x93d948(0x275)][_0x93d948(0x2cc)](()=>{const _0x50881b=_0x93d948;var _0x3ba2f0;const _0x1ff086=this[_0x50881b(0x3b6)][_0x50881b(0x425)]();let _0x52e410=(_0x3ba2f0=this[_0x50881b(0x3fd)][_0x50881b(0x489)](os))!=null?_0x3ba2f0:as;_0x1ff086 instanceof a[_0x50881b(0x470)]&&(_0x52e410=_0x1ff086[_0x50881b(0x4e0)]),document['title']=_0x52e410;}));}};nt=ss([Zt(0x0,a[_0x1ab38c(0x585)]),Zt(0x1,a[_0x1ab38c(0x5bc)])],nt);var cs=Object[_0x1ab38c(0x322)],ls=Object['getOwnPropertyDescriptor'],hs=(_0x2f7ca8,_0x536c77,_0xf6bfe3,_0x57e029)=>{const _0x363a0c=_0x1ab38c;for(var _0xa74a56=_0x57e029>0x1?void 0x0:_0x57e029?ls(_0x536c77,_0xf6bfe3):_0x536c77,_0x2f168c=_0x2f7ca8[_0x363a0c(0x2b7)]-0x1,_0x2de900;_0x2f168c>=0x0;_0x2f168c--)(_0x2de900=_0x2f7ca8[_0x2f168c])&&(_0xa74a56=(_0x57e029?_0x2de900(_0x536c77,_0xf6bfe3,_0xa74a56):_0x2de900(_0xa74a56))||_0xa74a56);return _0x57e029&&_0xa74a56&&cs(_0x536c77,_0xf6bfe3,_0xa74a56),_0xa74a56;},Ct=(_0x45b5de,_0x2ace36)=>(_0x5641c8,_0x32453f)=>_0x2ace36(_0x5641c8,_0x32453f,_0x45b5de);let rt=class{constructor(_0x38df39,_0x21e862,_0x497efd){const _0x3f18ec=_0x1ab38c;this[_0x3f18ec(0x3fd)]=_0x38df39,this[_0x3f18ec(0x544)]=_0x21e862,this[_0x3f18ec(0x37f)]=_0x497efd,this['init']();}[_0x1ab38c(0x238)](){const _0x65cfe5=_0x1ab38c;this[_0x65cfe5(0x544)][_0x65cfe5(0x4d9)]({'priority':0x1,'interceptor':(_0x4863a7,_0x258e30)=>_0x258e30(_0x4863a7)[_0x65cfe5(0x21a)](N['concatMap'](async _0x279081=>{const _0x2d9a67=_0x65cfe5,_0x335182=_0x279081;if(_0x335182[_0x2d9a67(0x338)]===0x191&&window[_0x2d9a67(0x280)](this[_0x2d9a67(0x37f)]['t'](_0x2d9a67(0x44d)))){const _0xc2a064=window[_0x2d9a67(0x4c7)](window[_0x2d9a67(0x56a)][_0x2d9a67(0x32d)]);window[_0x2d9a67(0x56a)]['href']=this[_0x2d9a67(0x181)]()+_0x2d9a67(0x5d8)+_0xc2a064;}return _0x335182;}))});}[_0x1ab38c(0x181)](){const _0x3793d5=_0x1ab38c;var _0x5eaca7,_0x2bc36e;const _0x56cdf5=this[_0x3793d5(0x3fd)][_0x3793d5(0x489)](Ei),_0x2d1010=this[_0x3793d5(0x3fd)][_0x3793d5(0x489)](Z);return(_0x2bc36e=(_0x5eaca7=_0x2d1010==null?void 0x0:_0x2d1010[_0x3793d5(0x439)])!=null?_0x5eaca7:_0x56cdf5)!=null?_0x2bc36e:rn;}};rt=hs([Ct(0x0,a['IConfigService']),Ct(0x1,a[_0x1ab38c(0x56d)](z[_0x1ab38c(0x3a1)])),Ct(0x2,a['Inject'](a[_0x1ab38c(0x394)]))],rt);var _s=Object[_0x1ab38c(0x322)],us=Object[_0x1ab38c(0x5da)],ds=(_0x142a1a,_0x25d92e,_0x135151,_0x1502ec)=>{const _0x447f87=_0x1ab38c;for(var _0x56b10b=_0x1502ec>0x1?void 0x0:_0x1502ec?us(_0x25d92e,_0x135151):_0x25d92e,_0x5f5678=_0x142a1a[_0x447f87(0x2b7)]-0x1,_0x381aa9;_0x5f5678>=0x0;_0x5f5678--)(_0x381aa9=_0x142a1a[_0x5f5678])&&(_0x56b10b=(_0x1502ec?_0x381aa9(_0x25d92e,_0x135151,_0x56b10b):_0x381aa9(_0x56b10b))||_0x56b10b);return _0x1502ec&&_0x56b10b&&_s(_0x25d92e,_0x135151,_0x56b10b),_0x56b10b;},Qt=(_0x4a38d7,_0x3077bc)=>(_0x54b58f,_0x4f9860)=>_0x3077bc(_0x54b58f,_0x4f9860,_0x4a38d7);const xt=_0x1ab38c(0x4c9),fs='/universer-api/authz';exports[_0x1ab38c(0x456)]=class extends a[_0x1ab38c(0x382)]{constructor(_0xc293fe,_0x469c6d){const _0x396ef4=_0x1ab38c;super(),this['_HTTPService']=_0xc293fe,this[_0x396ef4(0x3fd)]=_0x469c6d,this[_0x396ef4(0x33e)]();}[_0x1ab38c(0x33e)](){const _0x394493=_0x1ab38c,_0x125d0e=this;this[_0x394493(0x4ae)](this[_0x394493(0x3d0)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':z[_0x394493(0x5c0)]({'isMatch'(_0x67b39c){const _0x868f4e=_0x394493;var _0x949b6;if(_0x67b39c[_0x868f4e(0x591)]===_0x868f4e(0x5d9)&&((_0x949b6=_0x67b39c[_0x868f4e(0x497)])!=null&&_0x949b6[_0x868f4e(0x4cf)])){const {objectID:_0x8243a6,objectType:_0xac341}=_0x67b39c[_0x868f4e(0x497)][_0x868f4e(0x4cf)]||{};if(!_0x8243a6||_0xac341===void 0x0)return!0x1;const _0xc3a38e=_0x125d0e['_getAPIPrefixPath']()+'/'+_0xac341+'/object/'+_0x8243a6+_0x868f4e(0x43f);if(_0x67b39c[_0x868f4e(0x304)]===_0xc3a38e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x51024a){var _0x4ed617;return(_0x4ed617=_0x51024a['requestParams'])==null?void 0x0:_0x4ed617['body'];},'mergeParamsToRequest'(_0x21df22,_0x28044a){const _0x194537=_0x394493,_0x4d30ac=_0x125d0e[_0x194537(0x5f6)]()+_0x194537(0x414),_0x3dd570=_0x21df22['reduce']((_0x5a5875,_0x488158)=>{const _0xf2d319=_0x194537,{unitID:_0x3e892c,objectID:_0x5c05a1,objectType:_0x383088,actions:_0x2e943f}=_0x488158;return _0x5a5875[_0x3e892c]||(_0x5a5875[_0x3e892c]={}),_0x5a5875[_0x3e892c][_0x5c05a1]||(_0x5a5875[_0x3e892c][_0x5c05a1]={'objectID':_0x5c05a1,'objectType':_0x383088,'actions':[]}),_0x5a5875[_0x3e892c][_0x5c05a1][_0xf2d319(0x1dc)][_0xf2d319(0x2e4)](..._0x2e943f),_0x5a5875;},{}),_0x4a2b38=[];for(const _0x2a1f22 in _0x3dd570)for(const _0x335939 in _0x3dd570[_0x2a1f22]){const {actions:_0x6e272,objectType:_0x4d1e64}=_0x3dd570[_0x2a1f22][_0x335939],_0x399597=[...new Set(_0x6e272)];_0x4a2b38[_0x194537(0x2e4)]({'unitID':_0x2a1f22,'objectID':_0x335939,'objectType':_0x4d1e64,'actions':_0x399597});}return new z[(_0x194537(0x50a))](_0x194537(0x5d9),_0x4d30ac,{'headers':_0x28044a[_0x194537(0x408)],'withCredentials':_0x28044a[_0x194537(0x4da)],'responseType':_0x28044a[_0x194537(0x41d)],'body':{'requests':_0x4a2b38}});}},{'distributeResult'(_0x23d43c,_0x1c2b9f){const {objectActions:_0x351a24}=_0x23d43c;return _0x1c2b9f['map'](_0x239d5e=>{const _0x42d87f=_0x33d2,{unitID:_0x3b437b,objectID:_0x4cb6d7,actions:_0x24548a}=_0x239d5e,_0x5c396c=_0x351a24['find'](_0x282ec8=>_0x282ec8[_0x42d87f(0x3d4)]===_0x3b437b&&_0x282ec8[_0x42d87f(0x1ec)]===_0x4cb6d7),_0x22b8cc=_0x24548a[_0x42d87f(0x4e4)](_0x46229e=>_0x5c396c==null?void 0x0:_0x5c396c[_0x42d87f(0x1dc)]['find'](_0x2374ab=>_0x2374ab['action']===_0x46229e))['filter'](_0x21d685=>!!_0x21d685);return{'config':_0x239d5e,'result':{'actions':_0x22b8cc,'error':_0x23d43c[_0x42d87f(0x48d)]}};});}})}));}['_getAPIPrefixPath'](){const _0x35aabf=_0x1ab38c;var _0x477fb2,_0x4a259f;const _0x30c859=this[_0x35aabf(0x3fd)][_0x35aabf(0x489)](xt),_0x391d31=this[_0x35aabf(0x3fd)][_0x35aabf(0x489)](Z);return(_0x4a259f=(_0x477fb2=_0x391d31==null?void 0x0:_0x391d31[_0x35aabf(0x286)])!=null?_0x477fb2:_0x30c859)!=null?_0x4a259f:fs;}async[_0x1ab38c(0x442)](_0xe1fadf){const _0x1f859b=_0x1ab38c,_0x52a086=this[_0x1f859b(0x5f6)]()+'/'+_0xe1fadf[_0x1f859b(0x5ab)]+_0x1f859b(0x1a3);return(await this[_0x1f859b(0x3d0)][_0x1f859b(0x22b)](_0x52a086,{'body':_0xe1fadf}))[_0x1f859b(0x4cf)][_0x1f859b(0x1ec)]||'';}async[_0x1ab38c(0x1ef)](_0x19b74c){const _0x3624b4=_0x1ab38c,_0x38de42=this[_0x3624b4(0x5f6)]()+_0x3624b4(0x5eb);return(await this[_0x3624b4(0x3d0)]['post'](_0x38de42,{'body':_0x19b74c}))['body'][_0x3624b4(0x31b)];}async[_0x1ab38c(0x47d)](_0x5446a9){const _0xfe6283=_0x1ab38c,_0xdee4a5=this[_0xfe6283(0x5f6)]()+'/'+_0x5446a9[_0xfe6283(0x5ab)]+_0xfe6283(0x608)+_0x5446a9[_0xfe6283(0x1ec)];await this[_0xfe6283(0x3d0)]['put'](_0xdee4a5,{'body':_0x5446a9});}async[_0x1ab38c(0x500)](_0x25d74f){const _0x24a02c=_0x1ab38c,_0x2d648e=this[_0x24a02c(0x5f6)]()+'/'+_0x25d74f[_0x24a02c(0x5ab)]+_0x24a02c(0x608)+_0x25d74f['objectID']+_0x24a02c(0x43f);return(await this['_HTTPService'][_0x24a02c(0x22b)](_0x2d648e,{'body':_0x25d74f}))[_0x24a02c(0x4cf)][_0x24a02c(0x1dc)];}async[_0x1ab38c(0x2c2)](_0x4dfab6){const _0x29ec19=_0x1ab38c,_0x345a5f=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x29ec19(0x3d0)][_0x29ec19(0x22b)](_0x345a5f,{'body':{'requests':_0x4dfab6}}))[_0x29ec19(0x4cf)]['objectActions'];}async[_0x1ab38c(0x61b)](_0x47cedc){const _0x3d5af1=_0x1ab38c,_0x2b1165=this[_0x3d5af1(0x5f6)]()+'/'+_0x47cedc[_0x3d5af1(0x5ab)]+_0x3d5af1(0x2be),_0x1a29c2=await this[_0x3d5af1(0x3d0)][_0x3d5af1(0x22b)](_0x2b1165,{'body':_0x47cedc});return{'roles':_0x1a29c2[_0x3d5af1(0x4cf)][_0x3d5af1(0x503)],'actions':_0x1a29c2[_0x3d5af1(0x4cf)]['actions']};}async[_0x1ab38c(0x1a7)](_0x3833e4){const _0x595d05=_0x1ab38c,_0x52bd63=this[_0x595d05(0x5f6)]()+'/collaborator';await this[_0x595d05(0x3d0)][_0x595d05(0x5d0)](_0x52bd63,{'params':{'collaboratorID':_0x3833e4[_0x595d05(0x51d)],'objectID':_0x3833e4[_0x595d05(0x1ec)],'unitID':_0x3833e4[_0x595d05(0x3d4)]}});}async['updateCollaborator'](_0xbd0b5b){const _0x44fe72=_0x1ab38c,_0x3ef22e=this[_0x44fe72(0x5f6)]()+_0x44fe72(0x27c);await this[_0x44fe72(0x3d0)][_0x44fe72(0x41e)](_0x3ef22e,{'body':_0xbd0b5b});}async[_0x1ab38c(0x4f0)](_0x5b95f6){const _0x1a8dc5=_0x1ab38c,_0x291f7b=this[_0x1a8dc5(0x5f6)]()+'/collaborator';await this['_HTTPService'][_0x1a8dc5(0x22b)](_0x291f7b,{'body':_0x5b95f6});}async['listCollaborators'](_0x2c541c){const _0x377876=_0x1ab38c,_0x2b838e=this[_0x377876(0x5f6)]()+_0x377876(0x27c);return(await this[_0x377876(0x3d0)][_0x377876(0x3f9)](_0x2b838e,{'params':{'objectID':_0x2c541c[_0x377876(0x1ec)],'unitID':_0x2c541c['unitID']}}))[_0x377876(0x4cf)]['collaborators'];}async[_0x1ab38c(0x1e4)](_0x1eb298){const _0x448950=_0x1ab38c,_0x4dd61e=this['_getAPIPrefixPath']()+_0x448950(0x27c);await this['_HTTPService'][_0x448950(0x529)](_0x4dd61e,{'body':_0x1eb298});}},exports[_0x1ab38c(0x456)]=ds([Qt(0x0,a[_0x1ab38c(0x56d)](z[_0x1ab38c(0x3a1)])),Qt(0x1,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x5bc)]))],exports['AuthzIoHttpService']);var ke={'exports':{}};function vs(_0x30e428){const _0x4867f0=_0x1ab38c;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x30e428+_0x4867f0(0x4ff));}var We={'exports':{}},Ss=We[_0x1ab38c(0x5ca)],ei;function se(){const _0x107f5e=_0x1ab38c;return ei||(ei=0x1,function(_0x45088e,_0x3c0bd6){(function(_0x20282a,_0x47ed54){const _0x37eb85=_0x33d2;_0x45088e[_0x37eb85(0x5ca)]=_0x47ed54();}(Ss,function(){var _0x373422=_0x373422||function(_0x2711a1,_0x382c29){const _0x1cf92b=_0x33d2;var _0xa97198;if(typeof window<'u'&&window[_0x1cf92b(0x41b)]&&(_0xa97198=window['crypto']),typeof self<'u'&&self[_0x1cf92b(0x41b)]&&(_0xa97198=self[_0x1cf92b(0x41b)]),typeof globalThis<'u'&&globalThis[_0x1cf92b(0x41b)]&&(_0xa97198=globalThis[_0x1cf92b(0x41b)]),!_0xa97198&&typeof window<'u'&&window[_0x1cf92b(0x58f)]&&(_0xa97198=window[_0x1cf92b(0x58f)]),!_0xa97198&&typeof gt<'u'&>[_0x1cf92b(0x41b)]&&(_0xa97198=gt[_0x1cf92b(0x41b)]),!_0xa97198&&typeof vs==_0x1cf92b(0x3e2))try{_0xa97198=require('crypto');}catch{}var _0x39e31c=function(){const _0x2403ee=_0x1cf92b;if(_0xa97198){if(typeof _0xa97198['getRandomValues']==_0x2403ee(0x3e2))try{return _0xa97198['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xa97198[_0x2403ee(0x4c2)]=='function')try{return _0xa97198[_0x2403ee(0x4c2)](0x4)[_0x2403ee(0x1aa)]();}catch{}}throw new Error(_0x2403ee(0x240));},_0x4eec7a=Object[_0x1cf92b(0x442)]||(function(){function _0x3941c2(){}return function(_0x540d9b){const _0x2341b7=_0x33d2;var _0x1e3d45;return _0x3941c2[_0x2341b7(0x29c)]=_0x540d9b,_0x1e3d45=new _0x3941c2(),_0x3941c2['prototype']=null,_0x1e3d45;};}()),_0x2ccf33={},_0x408801=_0x2ccf33[_0x1cf92b(0x502)]={},_0x223bd4=_0x408801[_0x1cf92b(0x4d8)]=(function(){return{'extend':function(_0x1f164f){const _0x17f2cd=_0x33d2;var _0x39244f=_0x4eec7a(this);return _0x1f164f&&_0x39244f['mixIn'](_0x1f164f),(!_0x39244f[_0x17f2cd(0x5a3)](_0x17f2cd(0x238))||this[_0x17f2cd(0x238)]===_0x39244f[_0x17f2cd(0x238)])&&(_0x39244f[_0x17f2cd(0x238)]=function(){const _0x283482=_0x17f2cd;_0x39244f[_0x283482(0x38f)][_0x283482(0x238)]['apply'](this,arguments);}),_0x39244f[_0x17f2cd(0x238)][_0x17f2cd(0x29c)]=_0x39244f,_0x39244f['$super']=this,_0x39244f;},'create':function(){const _0x39266f=_0x33d2;var _0x3835eb=this[_0x39266f(0x270)]();return _0x3835eb[_0x39266f(0x238)]['apply'](_0x3835eb,arguments),_0x3835eb;},'init':function(){},'mixIn':function(_0x5c3948){const _0x78a3d0=_0x33d2;for(var _0x3986d3 in _0x5c3948)_0x5c3948['hasOwnProperty'](_0x3986d3)&&(this[_0x3986d3]=_0x5c3948[_0x3986d3]);_0x5c3948[_0x78a3d0(0x5a3)](_0x78a3d0(0x612))&&(this[_0x78a3d0(0x612)]=_0x5c3948[_0x78a3d0(0x612)]);},'clone':function(){const _0xea56f9=_0x33d2;return this[_0xea56f9(0x238)][_0xea56f9(0x29c)]['extend'](this);}};}()),_0x3a0ad7=_0x408801[_0x1cf92b(0x389)]=_0x223bd4[_0x1cf92b(0x270)]({'init':function(_0x40f044,_0x5b568a){const _0x4172f2=_0x1cf92b;_0x40f044=this['words']=_0x40f044||[],_0x5b568a!=_0x382c29?this[_0x4172f2(0x36c)]=_0x5b568a:this[_0x4172f2(0x36c)]=_0x40f044[_0x4172f2(0x2b7)]*0x4;},'toString':function(_0x125c5d){const _0x331fd2=_0x1cf92b;return(_0x125c5d||_0x15567f)[_0x331fd2(0x330)](this);},'concat':function(_0x4cfca7){const _0x25187a=_0x1cf92b;var _0x5d3a7d=this[_0x25187a(0x5dc)],_0x55a4ee=_0x4cfca7[_0x25187a(0x5dc)],_0x14be87=this[_0x25187a(0x36c)],_0x1bb561=_0x4cfca7[_0x25187a(0x36c)];if(this['clamp'](),_0x14be87%0x4)for(var _0xb6e670=0x0;_0xb6e670<_0x1bb561;_0xb6e670++){var _0x4c777d=_0x55a4ee[_0xb6e670>>>0x2]>>>0x18-_0xb6e670%0x4*0x8&0xff;_0x5d3a7d[_0x14be87+_0xb6e670>>>0x2]|=_0x4c777d<<0x18-(_0x14be87+_0xb6e670)%0x4*0x8;}else{for(var _0x4c4673=0x0;_0x4c4673<_0x1bb561;_0x4c4673+=0x4)_0x5d3a7d[_0x14be87+_0x4c4673>>>0x2]=_0x55a4ee[_0x4c4673>>>0x2];}return this[_0x25187a(0x36c)]+=_0x1bb561,this;},'clamp':function(){const _0x1c6fe4=_0x1cf92b;var _0x12fea8=this[_0x1c6fe4(0x5dc)],_0x3c8190=this[_0x1c6fe4(0x36c)];_0x12fea8[_0x3c8190>>>0x2]&=0xffffffff<<0x20-_0x3c8190%0x4*0x8,_0x12fea8[_0x1c6fe4(0x2b7)]=_0x2711a1['ceil'](_0x3c8190/0x4);},'clone':function(){const _0x48ed06=_0x1cf92b;var _0x489443=_0x223bd4['clone'][_0x48ed06(0x4fd)](this);return _0x489443[_0x48ed06(0x5dc)]=this['words'][_0x48ed06(0x543)](0x0),_0x489443;},'random':function(_0x4ffabd){const _0xa07cd=_0x1cf92b;for(var _0x57b452=[],_0x3b81eb=0x0;_0x3b81eb<_0x4ffabd;_0x3b81eb+=0x4)_0x57b452['push'](_0x39e31c());return new _0x3a0ad7[(_0xa07cd(0x238))](_0x57b452,_0x4ffabd);}}),_0x48f941=_0x2ccf33[_0x1cf92b(0x5ef)]={},_0x15567f=_0x48f941[_0x1cf92b(0x4e5)]={'stringify':function(_0x46a6c4){const _0x38db63=_0x1cf92b;for(var _0x4909c4=_0x46a6c4[_0x38db63(0x5dc)],_0x269bbe=_0x46a6c4[_0x38db63(0x36c)],_0xf55eee=[],_0x44f218=0x0;_0x44f218<_0x269bbe;_0x44f218++){var _0x4515e9=_0x4909c4[_0x44f218>>>0x2]>>>0x18-_0x44f218%0x4*0x8&0xff;_0xf55eee[_0x38db63(0x2e4)]((_0x4515e9>>>0x4)[_0x38db63(0x612)](0x10)),_0xf55eee[_0x38db63(0x2e4)]((_0x4515e9&0xf)['toString'](0x10));}return _0xf55eee[_0x38db63(0x20f)]('');},'parse':function(_0x1bb5c9){const _0x23b841=_0x1cf92b;for(var _0x41619c=_0x1bb5c9[_0x23b841(0x2b7)],_0x4fa6b9=[],_0x5c4521=0x0;_0x5c4521<_0x41619c;_0x5c4521+=0x2)_0x4fa6b9[_0x5c4521>>>0x3]|=parseInt(_0x1bb5c9[_0x23b841(0x193)](_0x5c4521,0x2),0x10)<<0x18-_0x5c4521%0x8*0x4;return new _0x3a0ad7[(_0x23b841(0x238))](_0x4fa6b9,_0x41619c/0x2);}},_0x287db4=_0x48f941[_0x1cf92b(0x29e)]={'stringify':function(_0x584be9){const _0x58d1fd=_0x1cf92b;for(var _0x52a610=_0x584be9[_0x58d1fd(0x5dc)],_0x492825=_0x584be9[_0x58d1fd(0x36c)],_0x284b41=[],_0x42065c=0x0;_0x42065c<_0x492825;_0x42065c++){var _0x5ab191=_0x52a610[_0x42065c>>>0x2]>>>0x18-_0x42065c%0x4*0x8&0xff;_0x284b41[_0x58d1fd(0x2e4)](String['fromCharCode'](_0x5ab191));}return _0x284b41[_0x58d1fd(0x20f)]('');},'parse':function(_0x16414a){const _0x4958d7=_0x1cf92b;for(var _0x2e861d=_0x16414a['length'],_0x5e5ee9=[],_0x2d8b04=0x0;_0x2d8b04<_0x2e861d;_0x2d8b04++)_0x5e5ee9[_0x2d8b04>>>0x2]|=(_0x16414a['charCodeAt'](_0x2d8b04)&0xff)<<0x18-_0x2d8b04%0x4*0x8;return new _0x3a0ad7[(_0x4958d7(0x238))](_0x5e5ee9,_0x2e861d);}},_0x230381=_0x48f941[_0x1cf92b(0x4a9)]={'stringify':function(_0x2cf30c){const _0x31b9f5=_0x1cf92b;try{return decodeURIComponent(escape(_0x287db4['stringify'](_0x2cf30c)));}catch{throw new Error(_0x31b9f5(0x5a8));}},'parse':function(_0x53ce38){return _0x287db4['parse'](unescape(encodeURIComponent(_0x53ce38)));}},_0x5c3862=_0x408801[_0x1cf92b(0x441)]=_0x223bd4[_0x1cf92b(0x270)]({'reset':function(){const _0x20b02a=_0x1cf92b;this[_0x20b02a(0x3b2)]=new _0x3a0ad7[(_0x20b02a(0x238))](),this['_nDataBytes']=0x0;},'_append':function(_0x203db4){const _0x5c22d4=_0x1cf92b;typeof _0x203db4==_0x5c22d4(0x3a2)&&(_0x203db4=_0x230381[_0x5c22d4(0x625)](_0x203db4)),this[_0x5c22d4(0x3b2)][_0x5c22d4(0x1ac)](_0x203db4),this[_0x5c22d4(0x4a6)]+=_0x203db4[_0x5c22d4(0x36c)];},'_process':function(_0x59b05c){const _0xd39f50=_0x1cf92b;var _0x11af06,_0x4547d3=this[_0xd39f50(0x3b2)],_0x4f0368=_0x4547d3['words'],_0x5d7a26=_0x4547d3[_0xd39f50(0x36c)],_0xff7f70=this['blockSize'],_0x463236=_0xff7f70*0x4,_0xa4d898=_0x5d7a26/_0x463236;_0x59b05c?_0xa4d898=_0x2711a1[_0xd39f50(0x3f7)](_0xa4d898):_0xa4d898=_0x2711a1['max']((_0xa4d898|0x0)-this[_0xd39f50(0x2f0)],0x0);var _0x5bf152=_0xa4d898*_0xff7f70,_0x1c1010=_0x2711a1[_0xd39f50(0x509)](_0x5bf152*0x4,_0x5d7a26);if(_0x5bf152){for(var _0x4adb29=0x0;_0x4adb29<_0x5bf152;_0x4adb29+=_0xff7f70)this[_0xd39f50(0x586)](_0x4f0368,_0x4adb29);_0x11af06=_0x4f0368['splice'](0x0,_0x5bf152),_0x4547d3['sigBytes']-=_0x1c1010;}return new _0x3a0ad7[(_0xd39f50(0x238))](_0x11af06,_0x1c1010);},'clone':function(){const _0x1b288c=_0x1cf92b;var _0x29a3d1=_0x223bd4[_0x1b288c(0x22d)][_0x1b288c(0x4fd)](this);return _0x29a3d1[_0x1b288c(0x3b2)]=this[_0x1b288c(0x3b2)]['clone'](),_0x29a3d1;},'_minBufferSize':0x0});_0x408801[_0x1cf92b(0x40d)]=_0x5c3862[_0x1cf92b(0x270)]({'cfg':_0x223bd4[_0x1cf92b(0x270)](),'init':function(_0xe99c20){const _0xfb2fcf=_0x1cf92b;this['cfg']=this[_0xfb2fcf(0x572)][_0xfb2fcf(0x270)](_0xe99c20),this['reset']();},'reset':function(){const _0x1ede0f=_0x1cf92b;_0x5c3862['reset'][_0x1ede0f(0x4fd)](this),this['_doReset']();},'update':function(_0x20f9c2){const _0x142790=_0x1cf92b;return this[_0x142790(0x5f3)](_0x20f9c2),this['_process'](),this;},'finalize':function(_0x113071){const _0x343def=_0x1cf92b;_0x113071&&this[_0x343def(0x5f3)](_0x113071);var _0x29815b=this[_0x343def(0x5e3)]();return _0x29815b;},'blockSize':0x10,'_createHelper':function(_0x71cdfc){return function(_0x31f5bf,_0x411169){const _0x39ff63=_0x33d2;return new _0x71cdfc[(_0x39ff63(0x238))](_0x411169)[_0x39ff63(0x4e3)](_0x31f5bf);};},'_createHmacHelper':function(_0x1d762c){return function(_0x294b05,_0x3df1d0){const _0x1a1848=_0x33d2;return new _0x89556b[(_0x1a1848(0x3e4))][(_0x1a1848(0x238))](_0x1d762c,_0x3df1d0)[_0x1a1848(0x4e3)](_0x294b05);};}});var _0x89556b=_0x2ccf33[_0x1cf92b(0x331)]={};return _0x2ccf33;}(Math);return _0x373422;}));}(We)),We[_0x107f5e(0x5ca)];}var Fe={'exports':{}},ps=Fe['exports'],ti;function ji(){const _0x39eb16=_0x1ab38c;return ti||(ti=0x1,function(_0x30b118,_0x5556b5){(function(_0x2aefd5,_0x206c90){const _0x3555aa=_0x33d2;_0x30b118[_0x3555aa(0x5ca)]=_0x206c90(se());}(ps,function(_0x2cf3bd){const _0x1749ad=_0x33d2;return(function(){const _0x5c7014=_0x33d2;var _0x714be0=_0x2cf3bd,_0xbbc0ba=_0x714be0['lib'],_0x2e1777=_0xbbc0ba[_0x5c7014(0x389)],_0x363fb8=_0x714be0['enc'];_0x363fb8[_0x5c7014(0x3a7)]={'stringify':function(_0xfbaa5a){const _0x10e1ca=_0x5c7014;var _0x775353=_0xfbaa5a[_0x10e1ca(0x5dc)],_0x5922e1=_0xfbaa5a[_0x10e1ca(0x36c)],_0x704fe1=this['_map'];_0xfbaa5a[_0x10e1ca(0x52a)]();for(var _0x12c8be=[],_0x1445d2=0x0;_0x1445d2<_0x5922e1;_0x1445d2+=0x3)for(var _0x47b4ad=_0x775353[_0x1445d2>>>0x2]>>>0x18-_0x1445d2%0x4*0x8&0xff,_0x68f6d1=_0x775353[_0x1445d2+0x1>>>0x2]>>>0x18-(_0x1445d2+0x1)%0x4*0x8&0xff,_0x3352e2=_0x775353[_0x1445d2+0x2>>>0x2]>>>0x18-(_0x1445d2+0x2)%0x4*0x8&0xff,_0x2cde12=_0x47b4ad<<0x10|_0x68f6d1<<0x8|_0x3352e2,_0x572551=0x0;_0x572551<0x4&&_0x1445d2+_0x572551*0.75<_0x5922e1;_0x572551++)_0x12c8be[_0x10e1ca(0x2e4)](_0x704fe1[_0x10e1ca(0x302)](_0x2cde12>>>0x6*(0x3-_0x572551)&0x3f));var _0x14fd32=_0x704fe1[_0x10e1ca(0x302)](0x40);if(_0x14fd32){for(;_0x12c8be['length']%0x4;)_0x12c8be[_0x10e1ca(0x2e4)](_0x14fd32);}return _0x12c8be[_0x10e1ca(0x20f)]('');},'parse':function(_0x1ccdfc){const _0x44be8e=_0x5c7014;var _0x1cc2ca=_0x1ccdfc[_0x44be8e(0x2b7)],_0x7bcc3=this[_0x44be8e(0x4e2)],_0x554e70=this[_0x44be8e(0x32c)];if(!_0x554e70){_0x554e70=this[_0x44be8e(0x32c)]=[];for(var _0x3eeebf=0x0;_0x3eeebf<_0x7bcc3['length'];_0x3eeebf++)_0x554e70[_0x7bcc3[_0x44be8e(0x2af)](_0x3eeebf)]=_0x3eeebf;}var _0x436b44=_0x7bcc3[_0x44be8e(0x302)](0x40);if(_0x436b44){var _0x40bb55=_0x1ccdfc['indexOf'](_0x436b44);_0x40bb55!==-0x1&&(_0x1cc2ca=_0x40bb55);}return _0x5790a5(_0x1ccdfc,_0x1cc2ca,_0x554e70);},'_map':_0x5c7014(0x4dd)};function _0x5790a5(_0xc5f55e,_0x3f812e,_0x5a82f6){const _0x2aba01=_0x5c7014;for(var _0x1186b4=[],_0x1c5dcb=0x0,_0x3f1e42=0x0;_0x3f1e42<_0x3f812e;_0x3f1e42++)if(_0x3f1e42%0x4){var _0x5bf902=_0x5a82f6[_0xc5f55e['charCodeAt'](_0x3f1e42-0x1)]<<_0x3f1e42%0x4*0x2,_0x2522f2=_0x5a82f6[_0xc5f55e['charCodeAt'](_0x3f1e42)]>>>0x6-_0x3f1e42%0x4*0x2,_0x540c92=_0x5bf902|_0x2522f2;_0x1186b4[_0x1c5dcb>>>0x2]|=_0x540c92<<0x18-_0x1c5dcb%0x4*0x8,_0x1c5dcb++;}return _0x2e1777[_0x2aba01(0x442)](_0x1186b4,_0x1c5dcb);}}()),_0x2cf3bd[_0x1749ad(0x5ef)][_0x1749ad(0x3a7)];}));}(Fe)),Fe[_0x39eb16(0x5ca)];}var Ve={'exports':{}},ms=Ve[_0x1ab38c(0x5ca)],ii;function gs(){const _0x59951d=_0x1ab38c;return ii||(ii=0x1,function(_0x104304,_0xce9046){(function(_0x5b7db0,_0x5ff593){const _0x4cd594=_0x33d2;_0x104304[_0x4cd594(0x5ca)]=_0x5ff593(se());}(ms,function(_0x237504){return function(_0x4fb1a7){const _0x210436=_0x33d2;var _0x40ba18=_0x237504,_0x546304=_0x40ba18[_0x210436(0x502)],_0x44c57b=_0x546304[_0x210436(0x389)],_0x5c2db3=_0x546304[_0x210436(0x40d)],_0xdf52ff=_0x40ba18[_0x210436(0x331)],_0x1d031d=[];(function(){const _0x56c6fb=_0x210436;for(var _0x550c0e=0x0;_0x550c0e<0x40;_0x550c0e++)_0x1d031d[_0x550c0e]=_0x4fb1a7[_0x56c6fb(0x614)](_0x4fb1a7[_0x56c6fb(0x49a)](_0x550c0e+0x1))*0x100000000|0x0;}());var _0x48cf45=_0xdf52ff['MD5']=_0x5c2db3[_0x210436(0x270)]({'_doReset':function(){const _0x24aff8=_0x210436;this[_0x24aff8(0x555)]=new _0x44c57b[(_0x24aff8(0x238))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x56413e,_0x11f16c){const _0x2f26bc=_0x210436;for(var _0x463900=0x0;_0x463900<0x10;_0x463900++){var _0x4ffc58=_0x11f16c+_0x463900,_0x4e70ba=_0x56413e[_0x4ffc58];_0x56413e[_0x4ffc58]=(_0x4e70ba<<0x8|_0x4e70ba>>>0x18)&0xff00ff|(_0x4e70ba<<0x18|_0x4e70ba>>>0x8)&0xff00ff00;}var _0x7ccec5=this[_0x2f26bc(0x555)]['words'],_0x5e1e34=_0x56413e[_0x11f16c+0x0],_0x5082dc=_0x56413e[_0x11f16c+0x1],_0xfc5340=_0x56413e[_0x11f16c+0x2],_0x30d4dd=_0x56413e[_0x11f16c+0x3],_0x508327=_0x56413e[_0x11f16c+0x4],_0x401766=_0x56413e[_0x11f16c+0x5],_0x11ea1b=_0x56413e[_0x11f16c+0x6],_0x4eceb8=_0x56413e[_0x11f16c+0x7],_0x37ad07=_0x56413e[_0x11f16c+0x8],_0x228209=_0x56413e[_0x11f16c+0x9],_0x537890=_0x56413e[_0x11f16c+0xa],_0x404546=_0x56413e[_0x11f16c+0xb],_0x32fc38=_0x56413e[_0x11f16c+0xc],_0x3dedae=_0x56413e[_0x11f16c+0xd],_0x6ff9a=_0x56413e[_0x11f16c+0xe],_0x5f2681=_0x56413e[_0x11f16c+0xf],_0x36dee4=_0x7ccec5[0x0],_0x15daef=_0x7ccec5[0x1],_0x4b9be3=_0x7ccec5[0x2],_0x148d2a=_0x7ccec5[0x3];_0x36dee4=_0x2d4bb2(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x5e1e34,0x7,_0x1d031d[0x0]),_0x148d2a=_0x2d4bb2(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x5082dc,0xc,_0x1d031d[0x1]),_0x4b9be3=_0x2d4bb2(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0xfc5340,0x11,_0x1d031d[0x2]),_0x15daef=_0x2d4bb2(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x30d4dd,0x16,_0x1d031d[0x3]),_0x36dee4=_0x2d4bb2(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x508327,0x7,_0x1d031d[0x4]),_0x148d2a=_0x2d4bb2(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x401766,0xc,_0x1d031d[0x5]),_0x4b9be3=_0x2d4bb2(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x11ea1b,0x11,_0x1d031d[0x6]),_0x15daef=_0x2d4bb2(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x4eceb8,0x16,_0x1d031d[0x7]),_0x36dee4=_0x2d4bb2(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x37ad07,0x7,_0x1d031d[0x8]),_0x148d2a=_0x2d4bb2(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x228209,0xc,_0x1d031d[0x9]),_0x4b9be3=_0x2d4bb2(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x537890,0x11,_0x1d031d[0xa]),_0x15daef=_0x2d4bb2(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x404546,0x16,_0x1d031d[0xb]),_0x36dee4=_0x2d4bb2(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x32fc38,0x7,_0x1d031d[0xc]),_0x148d2a=_0x2d4bb2(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x3dedae,0xc,_0x1d031d[0xd]),_0x4b9be3=_0x2d4bb2(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x6ff9a,0x11,_0x1d031d[0xe]),_0x15daef=_0x2d4bb2(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x5f2681,0x16,_0x1d031d[0xf]),_0x36dee4=_0x100eb5(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x5082dc,0x5,_0x1d031d[0x10]),_0x148d2a=_0x100eb5(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x11ea1b,0x9,_0x1d031d[0x11]),_0x4b9be3=_0x100eb5(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x404546,0xe,_0x1d031d[0x12]),_0x15daef=_0x100eb5(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x5e1e34,0x14,_0x1d031d[0x13]),_0x36dee4=_0x100eb5(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x401766,0x5,_0x1d031d[0x14]),_0x148d2a=_0x100eb5(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x537890,0x9,_0x1d031d[0x15]),_0x4b9be3=_0x100eb5(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x5f2681,0xe,_0x1d031d[0x16]),_0x15daef=_0x100eb5(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x508327,0x14,_0x1d031d[0x17]),_0x36dee4=_0x100eb5(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x228209,0x5,_0x1d031d[0x18]),_0x148d2a=_0x100eb5(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x6ff9a,0x9,_0x1d031d[0x19]),_0x4b9be3=_0x100eb5(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x30d4dd,0xe,_0x1d031d[0x1a]),_0x15daef=_0x100eb5(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x37ad07,0x14,_0x1d031d[0x1b]),_0x36dee4=_0x100eb5(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x3dedae,0x5,_0x1d031d[0x1c]),_0x148d2a=_0x100eb5(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0xfc5340,0x9,_0x1d031d[0x1d]),_0x4b9be3=_0x100eb5(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x4eceb8,0xe,_0x1d031d[0x1e]),_0x15daef=_0x100eb5(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x32fc38,0x14,_0x1d031d[0x1f]),_0x36dee4=_0x387b42(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x401766,0x4,_0x1d031d[0x20]),_0x148d2a=_0x387b42(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x37ad07,0xb,_0x1d031d[0x21]),_0x4b9be3=_0x387b42(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x404546,0x10,_0x1d031d[0x22]),_0x15daef=_0x387b42(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x6ff9a,0x17,_0x1d031d[0x23]),_0x36dee4=_0x387b42(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x5082dc,0x4,_0x1d031d[0x24]),_0x148d2a=_0x387b42(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x508327,0xb,_0x1d031d[0x25]),_0x4b9be3=_0x387b42(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x4eceb8,0x10,_0x1d031d[0x26]),_0x15daef=_0x387b42(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x537890,0x17,_0x1d031d[0x27]),_0x36dee4=_0x387b42(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x3dedae,0x4,_0x1d031d[0x28]),_0x148d2a=_0x387b42(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x5e1e34,0xb,_0x1d031d[0x29]),_0x4b9be3=_0x387b42(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x30d4dd,0x10,_0x1d031d[0x2a]),_0x15daef=_0x387b42(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x11ea1b,0x17,_0x1d031d[0x2b]),_0x36dee4=_0x387b42(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x228209,0x4,_0x1d031d[0x2c]),_0x148d2a=_0x387b42(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x32fc38,0xb,_0x1d031d[0x2d]),_0x4b9be3=_0x387b42(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x5f2681,0x10,_0x1d031d[0x2e]),_0x15daef=_0x387b42(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0xfc5340,0x17,_0x1d031d[0x2f]),_0x36dee4=_0x2074a8(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x5e1e34,0x6,_0x1d031d[0x30]),_0x148d2a=_0x2074a8(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x4eceb8,0xa,_0x1d031d[0x31]),_0x4b9be3=_0x2074a8(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x6ff9a,0xf,_0x1d031d[0x32]),_0x15daef=_0x2074a8(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x401766,0x15,_0x1d031d[0x33]),_0x36dee4=_0x2074a8(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x32fc38,0x6,_0x1d031d[0x34]),_0x148d2a=_0x2074a8(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x30d4dd,0xa,_0x1d031d[0x35]),_0x4b9be3=_0x2074a8(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x537890,0xf,_0x1d031d[0x36]),_0x15daef=_0x2074a8(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x5082dc,0x15,_0x1d031d[0x37]),_0x36dee4=_0x2074a8(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x37ad07,0x6,_0x1d031d[0x38]),_0x148d2a=_0x2074a8(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x5f2681,0xa,_0x1d031d[0x39]),_0x4b9be3=_0x2074a8(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x11ea1b,0xf,_0x1d031d[0x3a]),_0x15daef=_0x2074a8(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x3dedae,0x15,_0x1d031d[0x3b]),_0x36dee4=_0x2074a8(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x508327,0x6,_0x1d031d[0x3c]),_0x148d2a=_0x2074a8(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x404546,0xa,_0x1d031d[0x3d]),_0x4b9be3=_0x2074a8(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0xfc5340,0xf,_0x1d031d[0x3e]),_0x15daef=_0x2074a8(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x228209,0x15,_0x1d031d[0x3f]),_0x7ccec5[0x0]=_0x7ccec5[0x0]+_0x36dee4|0x0,_0x7ccec5[0x1]=_0x7ccec5[0x1]+_0x15daef|0x0,_0x7ccec5[0x2]=_0x7ccec5[0x2]+_0x4b9be3|0x0,_0x7ccec5[0x3]=_0x7ccec5[0x3]+_0x148d2a|0x0;},'_doFinalize':function(){const _0x5c9fb1=_0x210436;var _0x1bc0c3=this[_0x5c9fb1(0x3b2)],_0x182ba3=_0x1bc0c3[_0x5c9fb1(0x5dc)],_0x35919c=this[_0x5c9fb1(0x4a6)]*0x8,_0x433407=_0x1bc0c3['sigBytes']*0x8;_0x182ba3[_0x433407>>>0x5]|=0x80<<0x18-_0x433407%0x20;var _0x3fb65f=_0x4fb1a7[_0x5c9fb1(0x494)](_0x35919c/0x100000000),_0x41275d=_0x35919c;_0x182ba3[(_0x433407+0x40>>>0x9<<0x4)+0xf]=(_0x3fb65f<<0x8|_0x3fb65f>>>0x18)&0xff00ff|(_0x3fb65f<<0x18|_0x3fb65f>>>0x8)&0xff00ff00,_0x182ba3[(_0x433407+0x40>>>0x9<<0x4)+0xe]=(_0x41275d<<0x8|_0x41275d>>>0x18)&0xff00ff|(_0x41275d<<0x18|_0x41275d>>>0x8)&0xff00ff00,_0x1bc0c3[_0x5c9fb1(0x36c)]=(_0x182ba3[_0x5c9fb1(0x2b7)]+0x1)*0x4,this['_process']();for(var _0x564be4=this[_0x5c9fb1(0x555)],_0x7a749=_0x564be4['words'],_0x332d50=0x0;_0x332d50<0x4;_0x332d50++){var _0x1c2956=_0x7a749[_0x332d50];_0x7a749[_0x332d50]=(_0x1c2956<<0x8|_0x1c2956>>>0x18)&0xff00ff|(_0x1c2956<<0x18|_0x1c2956>>>0x8)&0xff00ff00;}return _0x564be4;},'clone':function(){const _0x91203f=_0x210436;var _0x5a88a5=_0x5c2db3['clone']['call'](this);return _0x5a88a5[_0x91203f(0x555)]=this[_0x91203f(0x555)][_0x91203f(0x22d)](),_0x5a88a5;}});function _0x2d4bb2(_0x5847c6,_0x6867d7,_0x41b351,_0x270353,_0xc70ab9,_0x3a3b40,_0x22bc82){var _0x42a49a=_0x5847c6+(_0x6867d7&_0x41b351|~_0x6867d7&_0x270353)+_0xc70ab9+_0x22bc82;return(_0x42a49a<<_0x3a3b40|_0x42a49a>>>0x20-_0x3a3b40)+_0x6867d7;}function _0x100eb5(_0xd8babb,_0x181c4c,_0x168830,_0x286c52,_0x5c5ef6,_0x4a1dfb,_0x493496){var _0x406a96=_0xd8babb+(_0x181c4c&_0x286c52|_0x168830&~_0x286c52)+_0x5c5ef6+_0x493496;return(_0x406a96<<_0x4a1dfb|_0x406a96>>>0x20-_0x4a1dfb)+_0x181c4c;}function _0x387b42(_0x13d7e5,_0x3fcf40,_0x19e9cc,_0x41e3bd,_0x366641,_0x4b50b1,_0x34c8aa){var _0x3195e9=_0x13d7e5+(_0x3fcf40^_0x19e9cc^_0x41e3bd)+_0x366641+_0x34c8aa;return(_0x3195e9<<_0x4b50b1|_0x3195e9>>>0x20-_0x4b50b1)+_0x3fcf40;}function _0x2074a8(_0x1ef7b2,_0x5b8d80,_0x23567d,_0x584cad,_0x33078e,_0x7ce61b,_0xc5cc69){var _0x5d8c62=_0x1ef7b2+(_0x23567d^(_0x5b8d80|~_0x584cad))+_0x33078e+_0xc5cc69;return(_0x5d8c62<<_0x7ce61b|_0x5d8c62>>>0x20-_0x7ce61b)+_0x5b8d80;}_0x40ba18[_0x210436(0x570)]=_0x5c2db3[_0x210436(0x5ae)](_0x48cf45),_0x40ba18['HmacMD5']=_0x5c2db3[_0x210436(0x339)](_0x48cf45);}(Math),_0x237504['MD5'];}));}(Ve)),Ve[_0x59951d(0x5ca)];}var Ge={'exports':{}},Ye={'exports':{}},Is=Ye[_0x1ab38c(0x5ca)],ni;function Cs(){const _0x3c9c91=_0x1ab38c;return ni||(ni=0x1,function(_0x21fab9,_0x27451f){(function(_0x3a4197,_0x4d4314){_0x21fab9['exports']=_0x4d4314(se());}(Is,function(_0x2f36c8){const _0x3a667f=_0x33d2;return(function(){const _0x2cefb2=_0x33d2;var _0x4099f4=_0x2f36c8,_0x409ea6=_0x4099f4['lib'],_0x33761a=_0x409ea6[_0x2cefb2(0x389)],_0x3cdad9=_0x409ea6[_0x2cefb2(0x40d)],_0x4fe534=_0x4099f4[_0x2cefb2(0x331)],_0x438073=[],_0x4c1454=_0x4fe534[_0x2cefb2(0x190)]=_0x3cdad9[_0x2cefb2(0x270)]({'_doReset':function(){const _0xe64d66=_0x2cefb2;this['_hash']=new _0x33761a[(_0xe64d66(0x238))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x123d02,_0x4a4f85){for(var _0x18d926=this['_hash']['words'],_0x47a38f=_0x18d926[0x0],_0x1f0079=_0x18d926[0x1],_0x253266=_0x18d926[0x2],_0x4e3238=_0x18d926[0x3],_0x4df1d8=_0x18d926[0x4],_0x38bfc7=0x0;_0x38bfc7<0x50;_0x38bfc7++){if(_0x38bfc7<0x10)_0x438073[_0x38bfc7]=_0x123d02[_0x4a4f85+_0x38bfc7]|0x0;else{var _0x57f0ec=_0x438073[_0x38bfc7-0x3]^_0x438073[_0x38bfc7-0x8]^_0x438073[_0x38bfc7-0xe]^_0x438073[_0x38bfc7-0x10];_0x438073[_0x38bfc7]=_0x57f0ec<<0x1|_0x57f0ec>>>0x1f;}var _0x36acc8=(_0x47a38f<<0x5|_0x47a38f>>>0x1b)+_0x4df1d8+_0x438073[_0x38bfc7];_0x38bfc7<0x14?_0x36acc8+=(_0x1f0079&_0x253266|~_0x1f0079&_0x4e3238)+0x5a827999:_0x38bfc7<0x28?_0x36acc8+=(_0x1f0079^_0x253266^_0x4e3238)+0x6ed9eba1:_0x38bfc7<0x3c?_0x36acc8+=(_0x1f0079&_0x253266|_0x1f0079&_0x4e3238|_0x253266&_0x4e3238)-0x70e44324:_0x36acc8+=(_0x1f0079^_0x253266^_0x4e3238)-0x359d3e2a,_0x4df1d8=_0x4e3238,_0x4e3238=_0x253266,_0x253266=_0x1f0079<<0x1e|_0x1f0079>>>0x2,_0x1f0079=_0x47a38f,_0x47a38f=_0x36acc8;}_0x18d926[0x0]=_0x18d926[0x0]+_0x47a38f|0x0,_0x18d926[0x1]=_0x18d926[0x1]+_0x1f0079|0x0,_0x18d926[0x2]=_0x18d926[0x2]+_0x253266|0x0,_0x18d926[0x3]=_0x18d926[0x3]+_0x4e3238|0x0,_0x18d926[0x4]=_0x18d926[0x4]+_0x4df1d8|0x0;},'_doFinalize':function(){const _0x51888c=_0x2cefb2;var _0x48ec27=this['_data'],_0x42fbc8=_0x48ec27[_0x51888c(0x5dc)],_0x1f85af=this[_0x51888c(0x4a6)]*0x8,_0x464884=_0x48ec27[_0x51888c(0x36c)]*0x8;return _0x42fbc8[_0x464884>>>0x5]|=0x80<<0x18-_0x464884%0x20,_0x42fbc8[(_0x464884+0x40>>>0x9<<0x4)+0xe]=Math[_0x51888c(0x494)](_0x1f85af/0x100000000),_0x42fbc8[(_0x464884+0x40>>>0x9<<0x4)+0xf]=_0x1f85af,_0x48ec27[_0x51888c(0x36c)]=_0x42fbc8['length']*0x4,this[_0x51888c(0x203)](),this[_0x51888c(0x555)];},'clone':function(){const _0x3e70f9=_0x2cefb2;var _0x4aa7cf=_0x3cdad9[_0x3e70f9(0x22d)][_0x3e70f9(0x4fd)](this);return _0x4aa7cf[_0x3e70f9(0x555)]=this[_0x3e70f9(0x555)][_0x3e70f9(0x22d)](),_0x4aa7cf;}});_0x4099f4['SHA1']=_0x3cdad9['_createHelper'](_0x4c1454),_0x4099f4[_0x2cefb2(0x1ad)]=_0x3cdad9[_0x2cefb2(0x339)](_0x4c1454);}()),_0x2f36c8[_0x3a667f(0x190)];}));}(Ye)),Ye[_0x3c9c91(0x5ca)];}var qe={'exports':{}},Es=qe[_0x1ab38c(0x5ca)],ri;function bs(){const _0x1647b8=_0x1ab38c;return ri||(ri=0x1,function(_0x52f7a4,_0x28e094){(function(_0x44d227,_0x6970dc){const _0x270404=_0x33d2;_0x52f7a4[_0x270404(0x5ca)]=_0x6970dc(se());}(Es,function(_0x464850){(function(){const _0x5ba997=_0x33d2;var _0x322402=_0x464850,_0xd5ab01=_0x322402['lib'],_0x6d2a76=_0xd5ab01[_0x5ba997(0x4d8)],_0x29dc28=_0x322402[_0x5ba997(0x5ef)],_0x4a9684=_0x29dc28[_0x5ba997(0x4a9)],_0x598031=_0x322402[_0x5ba997(0x331)];_0x598031['HMAC']=_0x6d2a76[_0x5ba997(0x270)]({'init':function(_0x26fa51,_0x5bdd85){const _0x13f7f7=_0x5ba997;_0x26fa51=this[_0x13f7f7(0x539)]=new _0x26fa51['init'](),typeof _0x5bdd85==_0x13f7f7(0x3a2)&&(_0x5bdd85=_0x4a9684[_0x13f7f7(0x625)](_0x5bdd85));var _0x426d7a=_0x26fa51[_0x13f7f7(0x1a6)],_0x1c907f=_0x426d7a*0x4;_0x5bdd85[_0x13f7f7(0x36c)]>_0x1c907f&&(_0x5bdd85=_0x26fa51[_0x13f7f7(0x4e3)](_0x5bdd85)),_0x5bdd85[_0x13f7f7(0x52a)]();for(var _0x3c54b2=this['_oKey']=_0x5bdd85[_0x13f7f7(0x22d)](),_0x41a1dc=this[_0x13f7f7(0x52e)]=_0x5bdd85[_0x13f7f7(0x22d)](),_0x57ee31=_0x3c54b2[_0x13f7f7(0x5dc)],_0x357082=_0x41a1dc[_0x13f7f7(0x5dc)],_0x2949f9=0x0;_0x2949f9<_0x426d7a;_0x2949f9++)_0x57ee31[_0x2949f9]^=0x5c5c5c5c,_0x357082[_0x2949f9]^=0x36363636;_0x3c54b2[_0x13f7f7(0x36c)]=_0x41a1dc[_0x13f7f7(0x36c)]=_0x1c907f,this[_0x13f7f7(0x178)]();},'reset':function(){const _0x1e54fe=_0x5ba997;var _0x3095d0=this['_hasher'];_0x3095d0[_0x1e54fe(0x178)](),_0x3095d0[_0x1e54fe(0x47d)](this[_0x1e54fe(0x52e)]);},'update':function(_0x5ef7ef){const _0x4f7362=_0x5ba997;return this['_hasher'][_0x4f7362(0x47d)](_0x5ef7ef),this;},'finalize':function(_0x5b2d3a){const _0x541b88=_0x5ba997;var _0x1e1814=this[_0x541b88(0x539)],_0x247e45=_0x1e1814[_0x541b88(0x4e3)](_0x5b2d3a);_0x1e1814[_0x541b88(0x178)]();var _0x551bf3=_0x1e1814[_0x541b88(0x4e3)](this[_0x541b88(0x602)][_0x541b88(0x22d)]()['concat'](_0x247e45));return _0x551bf3;}});}());}));}(qe)),qe[_0x1647b8(0x5ca)];}var Ts=Ge[_0x1ab38c(0x5ca)],si;function Hi(){return si||(si=0x1,function(_0x3a5d2d,_0x4ec80a){(function(_0x34bbc5,_0x1dfb6a,_0x45c279){_0x3a5d2d['exports']=_0x1dfb6a(se(),Cs(),bs());}(Ts,function(_0x1c7a10){return(function(){const _0x120a05=_0x33d2;var _0x15a9d7=_0x1c7a10,_0x535b46=_0x15a9d7[_0x120a05(0x502)],_0x97ed40=_0x535b46[_0x120a05(0x4d8)],_0x4c4d1a=_0x535b46[_0x120a05(0x389)],_0x207da4=_0x15a9d7[_0x120a05(0x331)],_0x504027=_0x207da4['MD5'],_0x510737=_0x207da4[_0x120a05(0x3ba)]=_0x97ed40[_0x120a05(0x270)]({'cfg':_0x97ed40[_0x120a05(0x270)]({'keySize':0x80/0x20,'hasher':_0x504027,'iterations':0x1}),'init':function(_0xb4d48e){const _0x2b0e76=_0x120a05;this['cfg']=this['cfg'][_0x2b0e76(0x270)](_0xb4d48e);},'compute':function(_0x18f847,_0x12b08a){const _0x2f973b=_0x120a05;for(var _0x1ca013,_0x518e53=this['cfg'],_0x4faa60=_0x518e53[_0x2f973b(0x43b)][_0x2f973b(0x442)](),_0x174755=_0x4c4d1a[_0x2f973b(0x442)](),_0x653f21=_0x174755[_0x2f973b(0x5dc)],_0x229527=_0x518e53[_0x2f973b(0x44a)],_0x45ca41=_0x518e53[_0x2f973b(0x21c)];_0x653f21[_0x2f973b(0x2b7)]<_0x229527;){_0x1ca013&&_0x4faa60[_0x2f973b(0x47d)](_0x1ca013),_0x1ca013=_0x4faa60['update'](_0x18f847)['finalize'](_0x12b08a),_0x4faa60[_0x2f973b(0x178)]();for(var _0x17ffef=0x1;_0x17ffef<_0x45ca41;_0x17ffef++)_0x1ca013=_0x4faa60[_0x2f973b(0x4e3)](_0x1ca013),_0x4faa60['reset']();_0x174755['concat'](_0x1ca013);}return _0x174755[_0x2f973b(0x36c)]=_0x229527*0x4,_0x174755;}});_0x15a9d7[_0x120a05(0x3ba)]=function(_0x56e540,_0x404bed,_0x262b28){const _0x589718=_0x120a05;return _0x510737['create'](_0x262b28)[_0x589718(0x321)](_0x56e540,_0x404bed);};}()),_0x1c7a10['EvpKDF'];}));}(Ge)),Ge['exports'];}var Ke={'exports':{}},Rs=Ke[_0x1ab38c(0x5ca)],oi;function Bi(){const _0x45af7b=_0x1ab38c;return oi||(oi=0x1,function(_0x5f4a65,_0x44e32d){(function(_0x52bd4d,_0x1e2786,_0x51dc55){const _0x278a5a=_0x33d2;_0x5f4a65[_0x278a5a(0x5ca)]=_0x1e2786(se(),Hi());}(Rs,function(_0x3da002){const _0xfdbe67=_0x33d2;_0x3da002[_0xfdbe67(0x502)][_0xfdbe67(0x1c8)]||function(_0x318274){const _0x509cb2=_0xfdbe67;var _0x5be34c=_0x3da002,_0x79c0ac=_0x5be34c[_0x509cb2(0x502)],_0x4cd83e=_0x79c0ac[_0x509cb2(0x4d8)],_0x4e9f60=_0x79c0ac[_0x509cb2(0x389)],_0xef348f=_0x79c0ac[_0x509cb2(0x441)],_0x23cd87=_0x5be34c[_0x509cb2(0x5ef)];_0x23cd87[_0x509cb2(0x4a9)];var _0x248df3=_0x23cd87['Base64'],_0x5b86ba=_0x5be34c['algo'],_0x44c58a=_0x5b86ba[_0x509cb2(0x3ba)],_0xb874d7=_0x79c0ac['Cipher']=_0xef348f[_0x509cb2(0x270)]({'cfg':_0x4cd83e[_0x509cb2(0x270)](),'createEncryptor':function(_0x59e5f,_0xfda11b){const _0x375964=_0x509cb2;return this[_0x375964(0x442)](this[_0x375964(0x24d)],_0x59e5f,_0xfda11b);},'createDecryptor':function(_0x13170b,_0x4181eb){const _0xee2745=_0x509cb2;return this[_0xee2745(0x442)](this['_DEC_XFORM_MODE'],_0x13170b,_0x4181eb);},'init':function(_0x47881f,_0xd56afe,_0x14e6d9){const _0x321bf6=_0x509cb2;this[_0x321bf6(0x572)]=this[_0x321bf6(0x572)][_0x321bf6(0x270)](_0x14e6d9),this[_0x321bf6(0x26e)]=_0x47881f,this['_key']=_0xd56afe,this[_0x321bf6(0x178)]();},'reset':function(){const _0x43bd79=_0x509cb2;_0xef348f[_0x43bd79(0x178)]['call'](this),this[_0x43bd79(0x3ae)]();},'process':function(_0x307552){const _0x2687d6=_0x509cb2;return this[_0x2687d6(0x5f3)](_0x307552),this[_0x2687d6(0x203)]();},'finalize':function(_0x134ba2){const _0x4a8fd4=_0x509cb2;_0x134ba2&&this[_0x4a8fd4(0x5f3)](_0x134ba2);var _0x4e8a65=this['_doFinalize']();return _0x4e8a65;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xa76415(_0x36f855){return typeof _0x36f855=='string'?_0x266191:_0xb4374;}return function(_0x2f14fb){return{'encrypt':function(_0x11b16c,_0x1bba15,_0x53e4a1){const _0x138350=_0x33d2;return _0xa76415(_0x1bba15)[_0x138350(0x433)](_0x2f14fb,_0x11b16c,_0x1bba15,_0x53e4a1);},'decrypt':function(_0x308e65,_0x274f7c,_0x1d8162){const _0x3746dc=_0x33d2;return _0xa76415(_0x274f7c)[_0x3746dc(0x3cf)](_0x2f14fb,_0x308e65,_0x274f7c,_0x1d8162);}};};}())});_0x79c0ac[_0x509cb2(0x2d5)]=_0xb874d7[_0x509cb2(0x270)]({'_doFinalize':function(){var _0x2ad3a5=this['_process'](!0x0);return _0x2ad3a5;},'blockSize':0x1});var _0x1e3b45=_0x5be34c[_0x509cb2(0x43e)]={},_0x418fcd=_0x79c0ac[_0x509cb2(0x5ac)]=_0x4cd83e['extend']({'createEncryptor':function(_0x6e1df0,_0x3a819b){const _0xf4dff6=_0x509cb2;return this['Encryptor'][_0xf4dff6(0x442)](_0x6e1df0,_0x3a819b);},'createDecryptor':function(_0xd93aca,_0x4e8a81){const _0x4ea747=_0x509cb2;return this['Decryptor'][_0x4ea747(0x442)](_0xd93aca,_0x4e8a81);},'init':function(_0x565d9f,_0x1fcce5){const _0x49a4bf=_0x509cb2;this['_cipher']=_0x565d9f,this[_0x49a4bf(0x545)]=_0x1fcce5;}}),_0x2814fa=_0x1e3b45[_0x509cb2(0x560)]=(function(){const _0x2e4efd=_0x509cb2;var _0x4771d8=_0x418fcd[_0x2e4efd(0x270)]();_0x4771d8[_0x2e4efd(0x60e)]=_0x4771d8['extend']({'processBlock':function(_0x2f6871,_0x5af1bf){const _0x5b58ee=_0x2e4efd;var _0x93012d=this[_0x5b58ee(0x1f1)],_0x39594d=_0x93012d[_0x5b58ee(0x1a6)];_0x294df3[_0x5b58ee(0x4fd)](this,_0x2f6871,_0x5af1bf,_0x39594d),_0x93012d[_0x5b58ee(0x637)](_0x2f6871,_0x5af1bf),this[_0x5b58ee(0x5fe)]=_0x2f6871['slice'](_0x5af1bf,_0x5af1bf+_0x39594d);}}),_0x4771d8[_0x2e4efd(0x207)]=_0x4771d8[_0x2e4efd(0x270)]({'processBlock':function(_0x303838,_0x9829fa){const _0x26f8ec=_0x2e4efd;var _0x3a0a54=this[_0x26f8ec(0x1f1)],_0x1a9f51=_0x3a0a54['blockSize'],_0x78aa0=_0x303838[_0x26f8ec(0x543)](_0x9829fa,_0x9829fa+_0x1a9f51);_0x3a0a54[_0x26f8ec(0x54c)](_0x303838,_0x9829fa),_0x294df3[_0x26f8ec(0x4fd)](this,_0x303838,_0x9829fa,_0x1a9f51),this[_0x26f8ec(0x5fe)]=_0x78aa0;}});function _0x294df3(_0x1eec9b,_0x201da3,_0x2eb10a){const _0x5d2105=_0x2e4efd;var _0x138942,_0x17c638=this[_0x5d2105(0x545)];_0x17c638?(_0x138942=_0x17c638,this[_0x5d2105(0x545)]=_0x318274):_0x138942=this[_0x5d2105(0x5fe)];for(var _0x31b13a=0x0;_0x31b13a<_0x2eb10a;_0x31b13a++)_0x1eec9b[_0x201da3+_0x31b13a]^=_0x138942[_0x31b13a];}return _0x4771d8;}()),_0x2da7e8=_0x5be34c[_0x509cb2(0x327)]={},_0x3ffcf5=_0x2da7e8[_0x509cb2(0x4fc)]={'pad':function(_0x3605da,_0x3729a4){const _0x3fe91f=_0x509cb2;for(var _0x71cec2=_0x3729a4*0x4,_0x40fd1c=_0x71cec2-_0x3605da[_0x3fe91f(0x36c)]%_0x71cec2,_0x925d6e=_0x40fd1c<<0x18|_0x40fd1c<<0x10|_0x40fd1c<<0x8|_0x40fd1c,_0x2f9d18=[],_0x41c76a=0x0;_0x41c76a<_0x40fd1c;_0x41c76a+=0x4)_0x2f9d18['push'](_0x925d6e);var _0x4ed350=_0x4e9f60['create'](_0x2f9d18,_0x40fd1c);_0x3605da[_0x3fe91f(0x1ac)](_0x4ed350);},'unpad':function(_0x36f90d){const _0x109acf=_0x509cb2;var _0x413789=_0x36f90d[_0x109acf(0x5dc)][_0x36f90d[_0x109acf(0x36c)]-0x1>>>0x2]&0xff;_0x36f90d[_0x109acf(0x36c)]-=_0x413789;}};_0x79c0ac[_0x509cb2(0x45e)]=_0xb874d7['extend']({'cfg':_0xb874d7[_0x509cb2(0x572)][_0x509cb2(0x270)]({'mode':_0x2814fa,'padding':_0x3ffcf5}),'reset':function(){const _0x471702=_0x509cb2;var _0x4ca144;_0xb874d7[_0x471702(0x178)][_0x471702(0x4fd)](this);var _0x301d9c=this['cfg'],_0x2f8540=_0x301d9c['iv'],_0x227349=_0x301d9c['mode'];this[_0x471702(0x26e)]==this[_0x471702(0x24d)]?_0x4ca144=_0x227349[_0x471702(0x282)]:(_0x4ca144=_0x227349['createDecryptor'],this[_0x471702(0x2f0)]=0x1),this[_0x471702(0x1da)]&&this[_0x471702(0x1da)][_0x471702(0x5bf)]==_0x4ca144?this[_0x471702(0x1da)][_0x471702(0x238)](this,_0x2f8540&&_0x2f8540['words']):(this[_0x471702(0x1da)]=_0x4ca144['call'](_0x227349,this,_0x2f8540&&_0x2f8540[_0x471702(0x5dc)]),this[_0x471702(0x1da)][_0x471702(0x5bf)]=_0x4ca144);},'_doProcessBlock':function(_0x6fe2a7,_0x10b68e){const _0x343de8=_0x509cb2;this[_0x343de8(0x1da)]['processBlock'](_0x6fe2a7,_0x10b68e);},'_doFinalize':function(){const _0x14fa9f=_0x509cb2;var _0x228d04,_0x80107e=this[_0x14fa9f(0x572)]['padding'];return this[_0x14fa9f(0x26e)]==this['_ENC_XFORM_MODE']?(_0x80107e[_0x14fa9f(0x327)](this[_0x14fa9f(0x3b2)],this['blockSize']),_0x228d04=this['_process'](!0x0)):(_0x228d04=this[_0x14fa9f(0x203)](!0x0),_0x80107e[_0x14fa9f(0x393)](_0x228d04)),_0x228d04;},'blockSize':0x80/0x20});var _0x273c8e=_0x79c0ac[_0x509cb2(0x578)]=_0x4cd83e[_0x509cb2(0x270)]({'init':function(_0x2f5748){const _0x15cbdc=_0x509cb2;this[_0x15cbdc(0x3ec)](_0x2f5748);},'toString':function(_0x4206bd){const _0x11df35=_0x509cb2;return(_0x4206bd||this['formatter'])[_0x11df35(0x330)](this);}}),_0x2cb07f=_0x5be34c[_0x509cb2(0x2c7)]={},_0x25606b=_0x2cb07f[_0x509cb2(0x38c)]={'stringify':function(_0x25b81e){const _0xf7cf4c=_0x509cb2;var _0x4e1ff6,_0x5e97d9=_0x25b81e[_0xf7cf4c(0x44b)],_0x34024e=_0x25b81e[_0xf7cf4c(0x362)];return _0x34024e?_0x4e1ff6=_0x4e9f60[_0xf7cf4c(0x442)]([0x53616c74,0x65645f5f])[_0xf7cf4c(0x1ac)](_0x34024e)[_0xf7cf4c(0x1ac)](_0x5e97d9):_0x4e1ff6=_0x5e97d9,_0x4e1ff6[_0xf7cf4c(0x612)](_0x248df3);},'parse':function(_0x4408a2){const _0x5018c9=_0x509cb2;var _0x3501d6,_0x58fe41=_0x248df3[_0x5018c9(0x625)](_0x4408a2),_0x213302=_0x58fe41[_0x5018c9(0x5dc)];return _0x213302[0x0]==0x53616c74&&_0x213302[0x1]==0x65645f5f&&(_0x3501d6=_0x4e9f60[_0x5018c9(0x442)](_0x213302[_0x5018c9(0x543)](0x2,0x4)),_0x213302['splice'](0x0,0x4),_0x58fe41[_0x5018c9(0x36c)]-=0x10),_0x273c8e[_0x5018c9(0x442)]({'ciphertext':_0x58fe41,'salt':_0x3501d6});}},_0xb4374=_0x79c0ac[_0x509cb2(0x3ac)]=_0x4cd83e[_0x509cb2(0x270)]({'cfg':_0x4cd83e[_0x509cb2(0x270)]({'format':_0x25606b}),'encrypt':function(_0x53dcaa,_0x2cf195,_0x5d3149,_0x255697){const _0x3bf596=_0x509cb2;_0x255697=this[_0x3bf596(0x572)][_0x3bf596(0x270)](_0x255697);var _0x14c241=_0x53dcaa[_0x3bf596(0x282)](_0x5d3149,_0x255697),_0x13249f=_0x14c241['finalize'](_0x2cf195),_0x403bb4=_0x14c241[_0x3bf596(0x572)];return _0x273c8e[_0x3bf596(0x442)]({'ciphertext':_0x13249f,'key':_0x5d3149,'iv':_0x403bb4['iv'],'algorithm':_0x53dcaa,'mode':_0x403bb4['mode'],'padding':_0x403bb4[_0x3bf596(0x214)],'blockSize':_0x53dcaa[_0x3bf596(0x1a6)],'formatter':_0x255697['format']});},'decrypt':function(_0x4cfb7b,_0x5ec536,_0x2cd8bc,_0x41abb0){const _0xd19117=_0x509cb2;_0x41abb0=this[_0xd19117(0x572)]['extend'](_0x41abb0),_0x5ec536=this[_0xd19117(0x2d0)](_0x5ec536,_0x41abb0[_0xd19117(0x2c7)]);var _0x1fc62b=_0x4cfb7b[_0xd19117(0x208)](_0x2cd8bc,_0x41abb0)[_0xd19117(0x4e3)](_0x5ec536['ciphertext']);return _0x1fc62b;},'_parse':function(_0x1e8501,_0x5fe83e){const _0x46951b=_0x509cb2;return typeof _0x1e8501==_0x46951b(0x3a2)?_0x5fe83e[_0x46951b(0x625)](_0x1e8501,this):_0x1e8501;}}),_0x3d2d6d=_0x5be34c['kdf']={},_0x2d3dc7=_0x3d2d6d[_0x509cb2(0x38c)]={'execute':function(_0x1517d8,_0x1ba4e0,_0x23ffa1,_0x8a4b69,_0x39aea8){const _0x3261da=_0x509cb2;if(_0x8a4b69||(_0x8a4b69=_0x4e9f60[_0x3261da(0x3b8)](0x40/0x8)),_0x39aea8)var _0x5b08cc=_0x44c58a['create']({'keySize':_0x1ba4e0+_0x23ffa1,'hasher':_0x39aea8})['compute'](_0x1517d8,_0x8a4b69);else var _0x5b08cc=_0x44c58a[_0x3261da(0x442)]({'keySize':_0x1ba4e0+_0x23ffa1})[_0x3261da(0x321)](_0x1517d8,_0x8a4b69);var _0x7ad87b=_0x4e9f60[_0x3261da(0x442)](_0x5b08cc[_0x3261da(0x5dc)]['slice'](_0x1ba4e0),_0x23ffa1*0x4);return _0x5b08cc[_0x3261da(0x36c)]=_0x1ba4e0*0x4,_0x273c8e['create']({'key':_0x5b08cc,'iv':_0x7ad87b,'salt':_0x8a4b69});}},_0x266191=_0x79c0ac[_0x509cb2(0x2da)]=_0xb4374[_0x509cb2(0x270)]({'cfg':_0xb4374['cfg'][_0x509cb2(0x270)]({'kdf':_0x2d3dc7}),'encrypt':function(_0x1cf097,_0x4ac9a5,_0x693757,_0x4aad01){const _0x427c19=_0x509cb2;_0x4aad01=this[_0x427c19(0x572)][_0x427c19(0x270)](_0x4aad01);var _0x5dca2e=_0x4aad01[_0x427c19(0x5e7)]['execute'](_0x693757,_0x1cf097[_0x427c19(0x44a)],_0x1cf097[_0x427c19(0x525)],_0x4aad01[_0x427c19(0x362)],_0x4aad01['hasher']);_0x4aad01['iv']=_0x5dca2e['iv'];var _0x1ca26c=_0xb4374[_0x427c19(0x433)]['call'](this,_0x1cf097,_0x4ac9a5,_0x5dca2e['key'],_0x4aad01);return _0x1ca26c[_0x427c19(0x3ec)](_0x5dca2e),_0x1ca26c;},'decrypt':function(_0x48d7a7,_0x5ac8ee,_0x193311,_0x3c012b){const _0x1d4d09=_0x509cb2;_0x3c012b=this['cfg'][_0x1d4d09(0x270)](_0x3c012b),_0x5ac8ee=this[_0x1d4d09(0x2d0)](_0x5ac8ee,_0x3c012b[_0x1d4d09(0x2c7)]);var _0x4f37fe=_0x3c012b[_0x1d4d09(0x5e7)][_0x1d4d09(0x30a)](_0x193311,_0x48d7a7[_0x1d4d09(0x44a)],_0x48d7a7[_0x1d4d09(0x525)],_0x5ac8ee[_0x1d4d09(0x362)],_0x3c012b[_0x1d4d09(0x43b)]);_0x3c012b['iv']=_0x4f37fe['iv'];var _0x2f71fd=_0xb4374[_0x1d4d09(0x3cf)][_0x1d4d09(0x4fd)](this,_0x48d7a7,_0x5ac8ee,_0x4f37fe[_0x1d4d09(0x634)],_0x3c012b);return _0x2f71fd;}});}();}));}(Ke)),Ke[_0x45af7b(0x5ca)];}var Os=ke[_0x1ab38c(0x5ca)],ai;function ys(){const _0x1ebe98=_0x1ab38c;return ai||(ai=0x1,function(_0x3ece5d,_0x5b3397){(function(_0x7eb812,_0x3c6997,_0x265f51){const _0x2878cd=_0x33d2;_0x3ece5d[_0x2878cd(0x5ca)]=_0x3c6997(se(),ji(),gs(),Hi(),Bi());}(Os,function(_0x4dee19){return(function(){const _0xd6afa1=_0x33d2;var _0x6afabd=_0x4dee19,_0x7c7caa=_0x6afabd['lib'],_0x36da3c=_0x7c7caa[_0xd6afa1(0x45e)],_0x48eb5a=_0x6afabd[_0xd6afa1(0x331)],_0x41dbe3=[],_0x21b217=[],_0x54c0fd=[],_0x3c1d3d=[],_0x1eb984=[],_0x34b3d7=[],_0x5485fb=[],_0x16814e=[],_0x3ab0da=[],_0x3ece81=[];(function(){for(var _0x457cdc=[],_0x535fe5=0x0;_0x535fe5<0x100;_0x535fe5++)_0x535fe5<0x80?_0x457cdc[_0x535fe5]=_0x535fe5<<0x1:_0x457cdc[_0x535fe5]=_0x535fe5<<0x1^0x11b;for(var _0x4e396c=0x0,_0x2ce118=0x0,_0x535fe5=0x0;_0x535fe5<0x100;_0x535fe5++){var _0x1d4e38=_0x2ce118^_0x2ce118<<0x1^_0x2ce118<<0x2^_0x2ce118<<0x3^_0x2ce118<<0x4;_0x1d4e38=_0x1d4e38>>>0x8^_0x1d4e38&0xff^0x63,_0x41dbe3[_0x4e396c]=_0x1d4e38,_0x21b217[_0x1d4e38]=_0x4e396c;var _0x3eb8e4=_0x457cdc[_0x4e396c],_0x126e02=_0x457cdc[_0x3eb8e4],_0x57de9c=_0x457cdc[_0x126e02],_0x2a63cf=_0x457cdc[_0x1d4e38]*0x101^_0x1d4e38*0x1010100;_0x54c0fd[_0x4e396c]=_0x2a63cf<<0x18|_0x2a63cf>>>0x8,_0x3c1d3d[_0x4e396c]=_0x2a63cf<<0x10|_0x2a63cf>>>0x10,_0x1eb984[_0x4e396c]=_0x2a63cf<<0x8|_0x2a63cf>>>0x18,_0x34b3d7[_0x4e396c]=_0x2a63cf;var _0x2a63cf=_0x57de9c*0x1010101^_0x126e02*0x10001^_0x3eb8e4*0x101^_0x4e396c*0x1010100;_0x5485fb[_0x1d4e38]=_0x2a63cf<<0x18|_0x2a63cf>>>0x8,_0x16814e[_0x1d4e38]=_0x2a63cf<<0x10|_0x2a63cf>>>0x10,_0x3ab0da[_0x1d4e38]=_0x2a63cf<<0x8|_0x2a63cf>>>0x18,_0x3ece81[_0x1d4e38]=_0x2a63cf,_0x4e396c?(_0x4e396c=_0x3eb8e4^_0x457cdc[_0x457cdc[_0x457cdc[_0x57de9c^_0x3eb8e4]]],_0x2ce118^=_0x457cdc[_0x457cdc[_0x2ce118]]):_0x4e396c=_0x2ce118=0x1;}}());var _0x3ff624=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x150b9c=_0x48eb5a['AES']=_0x36da3c['extend']({'_doReset':function(){const _0x955760=_0xd6afa1;var _0xfc761c;if(!(this['_nRounds']&&this[_0x955760(0x2a0)]===this['_key'])){for(var _0x25f736=this['_keyPriorReset']=this['_key'],_0x38ad41=_0x25f736[_0x955760(0x5dc)],_0x4256f7=_0x25f736['sigBytes']/0x4,_0x52f7dc=this[_0x955760(0x2bd)]=_0x4256f7+0x6,_0x57f793=(_0x52f7dc+0x1)*0x4,_0x3a3ff3=this[_0x955760(0x4dc)]=[],_0x2724dc=0x0;_0x2724dc<_0x57f793;_0x2724dc++)_0x2724dc<_0x4256f7?_0x3a3ff3[_0x2724dc]=_0x38ad41[_0x2724dc]:(_0xfc761c=_0x3a3ff3[_0x2724dc-0x1],_0x2724dc%_0x4256f7?_0x4256f7>0x6&&_0x2724dc%_0x4256f7==0x4&&(_0xfc761c=_0x41dbe3[_0xfc761c>>>0x18]<<0x18|_0x41dbe3[_0xfc761c>>>0x10&0xff]<<0x10|_0x41dbe3[_0xfc761c>>>0x8&0xff]<<0x8|_0x41dbe3[_0xfc761c&0xff]):(_0xfc761c=_0xfc761c<<0x8|_0xfc761c>>>0x18,_0xfc761c=_0x41dbe3[_0xfc761c>>>0x18]<<0x18|_0x41dbe3[_0xfc761c>>>0x10&0xff]<<0x10|_0x41dbe3[_0xfc761c>>>0x8&0xff]<<0x8|_0x41dbe3[_0xfc761c&0xff],_0xfc761c^=_0x3ff624[_0x2724dc/_0x4256f7|0x0]<<0x18),_0x3a3ff3[_0x2724dc]=_0x3a3ff3[_0x2724dc-_0x4256f7]^_0xfc761c);for(var _0x158036=this[_0x955760(0x284)]=[],_0x39e83f=0x0;_0x39e83f<_0x57f793;_0x39e83f++){var _0x2724dc=_0x57f793-_0x39e83f;if(_0x39e83f%0x4)var _0xfc761c=_0x3a3ff3[_0x2724dc];else var _0xfc761c=_0x3a3ff3[_0x2724dc-0x4];_0x39e83f<0x4||_0x2724dc<=0x4?_0x158036[_0x39e83f]=_0xfc761c:_0x158036[_0x39e83f]=_0x5485fb[_0x41dbe3[_0xfc761c>>>0x18]]^_0x16814e[_0x41dbe3[_0xfc761c>>>0x10&0xff]]^_0x3ab0da[_0x41dbe3[_0xfc761c>>>0x8&0xff]]^_0x3ece81[_0x41dbe3[_0xfc761c&0xff]];}}},'encryptBlock':function(_0x403cb7,_0x1b8574){const _0x2a2d2a=_0xd6afa1;this[_0x2a2d2a(0x230)](_0x403cb7,_0x1b8574,this[_0x2a2d2a(0x4dc)],_0x54c0fd,_0x3c1d3d,_0x1eb984,_0x34b3d7,_0x41dbe3);},'decryptBlock':function(_0x5e612d,_0x507830){const _0x17572b=_0xd6afa1;var _0x3f5a9b=_0x5e612d[_0x507830+0x1];_0x5e612d[_0x507830+0x1]=_0x5e612d[_0x507830+0x3],_0x5e612d[_0x507830+0x3]=_0x3f5a9b,this[_0x17572b(0x230)](_0x5e612d,_0x507830,this[_0x17572b(0x284)],_0x5485fb,_0x16814e,_0x3ab0da,_0x3ece81,_0x21b217);var _0x3f5a9b=_0x5e612d[_0x507830+0x1];_0x5e612d[_0x507830+0x1]=_0x5e612d[_0x507830+0x3],_0x5e612d[_0x507830+0x3]=_0x3f5a9b;},'_doCryptBlock':function(_0x77a1c,_0x4d0d19,_0x57f8fc,_0x498600,_0x4abf19,_0x10566e,_0x1aeffb,_0x1f88e){for(var _0x3de5d1=this['_nRounds'],_0x3903ab=_0x77a1c[_0x4d0d19]^_0x57f8fc[0x0],_0x4a368b=_0x77a1c[_0x4d0d19+0x1]^_0x57f8fc[0x1],_0x2d3445=_0x77a1c[_0x4d0d19+0x2]^_0x57f8fc[0x2],_0xe1cac8=_0x77a1c[_0x4d0d19+0x3]^_0x57f8fc[0x3],_0x1a4731=0x4,_0xc6caa6=0x1;_0xc6caa6<_0x3de5d1;_0xc6caa6++){var _0x30e20f=_0x498600[_0x3903ab>>>0x18]^_0x4abf19[_0x4a368b>>>0x10&0xff]^_0x10566e[_0x2d3445>>>0x8&0xff]^_0x1aeffb[_0xe1cac8&0xff]^_0x57f8fc[_0x1a4731++],_0x2b0cb9=_0x498600[_0x4a368b>>>0x18]^_0x4abf19[_0x2d3445>>>0x10&0xff]^_0x10566e[_0xe1cac8>>>0x8&0xff]^_0x1aeffb[_0x3903ab&0xff]^_0x57f8fc[_0x1a4731++],_0x5ea028=_0x498600[_0x2d3445>>>0x18]^_0x4abf19[_0xe1cac8>>>0x10&0xff]^_0x10566e[_0x3903ab>>>0x8&0xff]^_0x1aeffb[_0x4a368b&0xff]^_0x57f8fc[_0x1a4731++],_0x570aa4=_0x498600[_0xe1cac8>>>0x18]^_0x4abf19[_0x3903ab>>>0x10&0xff]^_0x10566e[_0x4a368b>>>0x8&0xff]^_0x1aeffb[_0x2d3445&0xff]^_0x57f8fc[_0x1a4731++];_0x3903ab=_0x30e20f,_0x4a368b=_0x2b0cb9,_0x2d3445=_0x5ea028,_0xe1cac8=_0x570aa4;}var _0x30e20f=(_0x1f88e[_0x3903ab>>>0x18]<<0x18|_0x1f88e[_0x4a368b>>>0x10&0xff]<<0x10|_0x1f88e[_0x2d3445>>>0x8&0xff]<<0x8|_0x1f88e[_0xe1cac8&0xff])^_0x57f8fc[_0x1a4731++],_0x2b0cb9=(_0x1f88e[_0x4a368b>>>0x18]<<0x18|_0x1f88e[_0x2d3445>>>0x10&0xff]<<0x10|_0x1f88e[_0xe1cac8>>>0x8&0xff]<<0x8|_0x1f88e[_0x3903ab&0xff])^_0x57f8fc[_0x1a4731++],_0x5ea028=(_0x1f88e[_0x2d3445>>>0x18]<<0x18|_0x1f88e[_0xe1cac8>>>0x10&0xff]<<0x10|_0x1f88e[_0x3903ab>>>0x8&0xff]<<0x8|_0x1f88e[_0x4a368b&0xff])^_0x57f8fc[_0x1a4731++],_0x570aa4=(_0x1f88e[_0xe1cac8>>>0x18]<<0x18|_0x1f88e[_0x3903ab>>>0x10&0xff]<<0x10|_0x1f88e[_0x4a368b>>>0x8&0xff]<<0x8|_0x1f88e[_0x2d3445&0xff])^_0x57f8fc[_0x1a4731++];_0x77a1c[_0x4d0d19]=_0x30e20f,_0x77a1c[_0x4d0d19+0x1]=_0x2b0cb9,_0x77a1c[_0x4d0d19+0x2]=_0x5ea028,_0x77a1c[_0x4d0d19+0x3]=_0x570aa4;},'keySize':0x100/0x20});_0x6afabd[_0xd6afa1(0x386)]=_0x36da3c[_0xd6afa1(0x5ae)](_0x150b9c);}()),_0x4dee19['AES'];}));}(ke)),ke[_0x1ebe98(0x5ca)];}var Ds=ys();const Ps=$e(Ds);var ws=ji();const ci=$e(ws);var ze={'exports':{}},Us=ze[_0x1ab38c(0x5ca)],li;function Ms(){const _0x1a10e2=_0x1ab38c;return li||(li=0x1,function(_0x43d96b,_0x40be98){(function(_0x1eff8b,_0x336288){_0x43d96b['exports']=_0x336288(se());}(Us,function(_0x4a9d87){return _0x4a9d87['enc']['Utf8'];}));}(ze)),ze[_0x1a10e2(0x5ca)];}var Ns=Ms();const As=$e(Ns);var Xe={'exports':{}},Ls=Xe[_0x1ab38c(0x5ca)],hi;function xs(){const _0x438208=_0x1ab38c;return hi||(hi=0x1,function(_0x1ceb9b,_0xf5a15){(function(_0x3e1005,_0x657bdf){const _0xb88f25=_0x33d2;_0x1ceb9b[_0xb88f25(0x5ca)]=_0x657bdf(se());}(Ls,function(_0x7abef3){return(function(){const _0x379f54=_0x33d2;if(typeof ArrayBuffer=='function'){var _0x3821f4=_0x7abef3,_0x2bf5da=_0x3821f4[_0x379f54(0x502)],_0x894465=_0x2bf5da[_0x379f54(0x389)],_0x4c32ca=_0x894465[_0x379f54(0x238)],_0x5aa2c1=_0x894465[_0x379f54(0x238)]=function(_0x52f0fb){const _0x3835cc=_0x379f54;if(_0x52f0fb instanceof ArrayBuffer&&(_0x52f0fb=new Uint8Array(_0x52f0fb)),(_0x52f0fb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x52f0fb instanceof Uint8ClampedArray||_0x52f0fb instanceof Int16Array||_0x52f0fb instanceof Uint16Array||_0x52f0fb instanceof Int32Array||_0x52f0fb instanceof Uint32Array||_0x52f0fb instanceof Float32Array||_0x52f0fb instanceof Float64Array)&&(_0x52f0fb=new Uint8Array(_0x52f0fb[_0x3835cc(0x575)],_0x52f0fb['byteOffset'],_0x52f0fb['byteLength'])),_0x52f0fb instanceof Uint8Array){for(var _0xa1e56f=_0x52f0fb['byteLength'],_0x544ec7=[],_0x5e63f3=0x0;_0x5e63f3<_0xa1e56f;_0x5e63f3++)_0x544ec7[_0x5e63f3>>>0x2]|=_0x52f0fb[_0x5e63f3]<<0x18-_0x5e63f3%0x4*0x8;_0x4c32ca['call'](this,_0x544ec7,_0xa1e56f);}else _0x4c32ca[_0x3835cc(0x444)](this,arguments);};_0x5aa2c1['prototype']=_0x894465;}}()),_0x7abef3['lib']['WordArray'];}));}(Xe)),Xe[_0x438208(0x5ca)];}var $s=xs();const js=$e($s);var Je={'exports':{}},Hs=Je[_0x1ab38c(0x5ca)],_i;function Bs(){const _0x541084=_0x1ab38c;return _i||(_i=0x1,function(_0x3baa15,_0x1f0afa){(function(_0x5e2bf8,_0x474aed,_0x2df735){const _0x35349f=_0x33d2;_0x3baa15[_0x35349f(0x5ca)]=_0x474aed(se(),Bi());}(Hs,function(_0x215bab){const _0x5eb7b4=_0x33d2;return _0x215bab[_0x5eb7b4(0x327)][_0x5eb7b4(0x356)]={'pad':function(){},'unpad':function(){}},_0x215bab['pad'][_0x5eb7b4(0x356)];}));}(Je)),Je[_0x541084(0x5ca)];}var ks=Bs();const Ws=$e(ks);function Fs(_0xd896cc,_0x2a49d9){const _0x168cb0=_0x1ab38c,_0x50882f=_0x2a49d9-_0xd896cc[_0x168cb0(0x2b7)]%_0x2a49d9,_0x2ec450=String[_0x168cb0(0x4a0)](_0x50882f)['repeat'](_0x50882f);return _0xd896cc+_0x2ec450;}function Vs(_0x3668f1,_0x67dae0){const _0x2f0865=_0x1ab38c,_0x106482=js[_0x2f0865(0x3b8)](0x10),_0x3e1ccb=Fs(_0x3668f1,0x10),_0x54e7fe=Ps[_0x2f0865(0x433)](As[_0x2f0865(0x625)](_0x3e1ccb),ci[_0x2f0865(0x625)](_0x67dae0),{'iv':_0x106482,'padding':Ws});return _0x106482[_0x2f0865(0x1ac)](_0x54e7fe[_0x2f0865(0x44b)])[_0x2f0865(0x612)](ci);}function Gs(){const _0x2d8206=_0x1ab38c,_0x2db943=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x2d8206(0x2e2)];if(_0x2db943){const _0x179657={'time':Math[_0x2d8206(0x494)](Date[_0x2d8206(0x2b1)]()/0x3e8),'domain':location[_0x2d8206(0x23f)]};return Vs(JSON[_0x2d8206(0x330)](_0x179657),_0x2db943);}}var Ys=Object[_0x1ab38c(0x322)],qs=Object['getOwnPropertyDescriptor'],Ks=(_0xf2873c,_0x4b5ea0,_0x3583e4,_0x3604ba)=>{const _0x3d2582=_0x1ab38c;for(var _0x10dcb6=_0x3604ba>0x1?void 0x0:_0x3604ba?qs(_0x4b5ea0,_0x3583e4):_0x4b5ea0,_0x20a22a=_0xf2873c[_0x3d2582(0x2b7)]-0x1,_0x51f4cb;_0x20a22a>=0x0;_0x20a22a--)(_0x51f4cb=_0xf2873c[_0x20a22a])&&(_0x10dcb6=(_0x3604ba?_0x51f4cb(_0x4b5ea0,_0x3583e4,_0x10dcb6):_0x51f4cb(_0x10dcb6))||_0x10dcb6);return _0x3604ba&&_0x10dcb6&&Ys(_0x4b5ea0,_0x3583e4,_0x10dcb6),_0x10dcb6;},zs=(_0x57b6f1,_0x584e06)=>(_0x561896,_0x376c85)=>_0x584e06(_0x561896,_0x376c85,_0x57b6f1);let st=class{constructor(_0x532dda){const _0x25cf85=_0x1ab38c;this['_httpService']=_0x532dda,this[_0x25cf85(0x3e0)]();}[_0x1ab38c(0x3e0)](){const _0x30b61f=_0x1ab38c;this[_0x30b61f(0x544)][_0x30b61f(0x4d9)]({'interceptor':(_0x538211,_0x2d37e1)=>{const _0x4cd7b6=_0x30b61f,_0x4fa8af=_0x538211[_0x4cd7b6(0x408)],_0x4a6ba5=Gs();return _0x4a6ba5&&_0x4fa8af[_0x4cd7b6(0x1c6)](_0x4cd7b6(0x274),_0x4a6ba5),_0x2d37e1(_0x538211);}});}};st=Ks([zs(0x0,a[_0x1ab38c(0x56d)](z['HTTPService']))],st);var Xs=Object[_0x1ab38c(0x322)],Js=Object[_0x1ab38c(0x5da)],Zs=(_0xd360fe,_0x19d399,_0x4960ca,_0x385dc7)=>{const _0x4fc9ed=_0x1ab38c;for(var _0x17ae93=_0x385dc7>0x1?void 0x0:_0x385dc7?Js(_0x19d399,_0x4960ca):_0x19d399,_0x1df241=_0xd360fe[_0x4fc9ed(0x2b7)]-0x1,_0x6f7183;_0x1df241>=0x0;_0x1df241--)(_0x6f7183=_0xd360fe[_0x1df241])&&(_0x17ae93=(_0x385dc7?_0x6f7183(_0x19d399,_0x4960ca,_0x17ae93):_0x6f7183(_0x17ae93))||_0x17ae93);return _0x385dc7&&_0x17ae93&&Xs(_0x19d399,_0x4960ca,_0x17ae93),_0x17ae93;},Et=(_0x218478,_0x148490)=>(_0xec1e7,_0x56603a)=>_0x148490(_0xec1e7,_0x56603a,_0x218478);const Qs=[_0x1ab38c(0x29a),'image/jpeg','image/jpg',_0x1ab38c(0x1f6),_0x1ab38c(0x368)],eo=0x5*0x400*0x400,to=_0x1ab38c(0x39a),io=_0x1ab38c(0x5cf),no=_0x1ab38c(0x19f),ro=_0x1ab38c(0x2ef);exports[_0x1ab38c(0x16b)]=class{constructor(_0x426abe,_0x1bb1ed,_0x20456d){const _0x468f19=_0x1ab38c;I(this,_0x468f19(0x48e),0x0),I(this,'_change$',new N[(_0x468f19(0x2dc))]()),I(this,_0x468f19(0x5ec),this[_0x468f19(0x397)]),I(this,_0x468f19(0x264),new Map()),(this[_0x468f19(0x544)]=_0x426abe,this['_configService']=_0x1bb1ed,this[_0x468f19(0x3b6)]=_0x20456d);}[_0x1ab38c(0x22c)](_0x29657a){const _0x59ba16=_0x1ab38c;this[_0x59ba16(0x48e)]=_0x29657a,this['_change$'][_0x59ba16(0x2c0)](_0x29657a);}[_0x1ab38c(0x1f9)](_0x1dbfe8,_0x24fb75){const _0x2eb894=_0x1ab38c;if(_0x24fb75===te[_0x2eb894(0x510)][_0x2eb894(0x4a5)]){const _0x19c2a2=new Image();return _0x19c2a2[_0x2eb894(0x552)]=_0x1dbfe8,_0x19c2a2;}return this[_0x2eb894(0x264)][_0x2eb894(0x3f9)](_0x1dbfe8);}[_0x1ab38c(0x312)](_0x3fde99,_0xea1483,_0x14c5bc){const _0x1e5762=_0x1ab38c;_0xea1483===te['ImageSourceType'][_0x1e5762(0x4a5)]||_0x14c5bc==null||this[_0x1e5762(0x264)][_0x1e5762(0x1c6)](_0x3fde99,_0x14c5bc);}async[_0x1ab38c(0x3c7)](_0x3fa1bb){const _0x2da0e4=_0x1ab38c;try{const _0x3a05b1=this[_0x2da0e4(0x3dd)](this[_0x2da0e4(0x41a)](),''+_0x3fa1bb),_0x3751dc=(await this[_0x2da0e4(0x544)][_0x2da0e4(0x3f9)](_0x3a05b1))[_0x2da0e4(0x4cf)];if(_0x3751dc[_0x2da0e4(0x48d)]&&_0x3751dc['error'][_0x2da0e4(0x482)]===bi['OK']){const _0x52a8ad=new URL(_0x3751dc[_0x2da0e4(0x304)],this[_0x2da0e4(0x373)]())[_0x2da0e4(0x612)]();return Promise['resolve'](_0x52a8ad);}return Promise[_0x2da0e4(0x5d7)](_0x3751dc[_0x2da0e4(0x48d)]);}catch(_0x555fca){return Promise[_0x2da0e4(0x5d7)](_0x555fca);}}async[_0x1ab38c(0x1c3)](_0x1e25d8){const _0x3712a8=_0x1ab38c;let _0x937cfc='';if(!Qs[_0x3712a8(0x35a)](_0x1e25d8[_0x3712a8(0x57b)]))return this[_0x3712a8(0x55a)](),Promise[_0x3712a8(0x5d7)](new Error(te[_0x3712a8(0x633)]['ERROR_IMAGE_TYPE']));if(_0x1e25d8['size']>eo)return this['_decreaseWaiting'](),Promise['reject'](new Error(te[_0x3712a8(0x633)][_0x3712a8(0x41c)]));try{const _0x184e2b=new FormData();_0x184e2b[_0x3712a8(0x271)](_0x3712a8(0x311),_0x1e25d8);const _0x12c82f=this['_univerInstanceService'][_0x3712a8(0x425)](),_0x455fd8=_0x12c82f==null?void 0x0:_0x12c82f[_0x3712a8(0x2f9)]();if(!_0x455fd8)throw new Error(_0x3712a8(0x20b));const _0x459d09=this['_getUploadFileURL']()+_0x3712a8(0x1a5)+_0x1e25d8[_0x3712a8(0x36b)][_0x3712a8(0x612)]()+_0x3712a8(0x469)+Ti[_0x3712a8(0x5a4)]+_0x3712a8(0x635)+encodeURIComponent(_0x455fd8),_0x2a1702=await(await fetch(_0x459d09,{'method':'POST','body':_0x184e2b}))[_0x3712a8(0x287)]();if(typeof _0x2a1702[_0x3712a8(0x1ce)]!=_0x3712a8(0x3a2))return this[_0x3712a8(0x55a)](),Promise[_0x3712a8(0x5d7)](new Error(te['ImageUploadStatusType'][_0x3712a8(0x4b9)]));_0x937cfc=_0x2a1702[_0x3712a8(0x1ce)];}catch{return this[_0x3712a8(0x55a)](),Promise['reject'](new Error(te[_0x3712a8(0x633)]['ERROR_IMAGE']));}return new Promise((_0xd1731a,_0x1c84ef)=>{const _0x192a74=_0x3712a8,_0x4a1ebd=new FileReader();_0x4a1ebd[_0x192a74(0x459)](_0x1e25d8),_0x4a1ebd[_0x192a74(0x4f1)]=_0x483660=>{const _0x4a0f6f=_0x192a74;var _0x19cfad;const _0x2217d5=(_0x19cfad=_0x483660['target'])==null?void 0x0:_0x19cfad['result'];if(_0x2217d5==null){this[_0x4a0f6f(0x55a)](),_0x1c84ef(new Error(te[_0x4a0f6f(0x633)][_0x4a0f6f(0x4b9)]));return;}const _0xa380d7=a['Tools'][_0x4a0f6f(0x33c)](0x6);_0xd1731a({'imageId':_0xa380d7,'imageSourceType':te[_0x4a0f6f(0x510)]['UUID'],'source':_0x937cfc,'base64Cache':_0x2217d5,'status':te[_0x4a0f6f(0x633)][_0x4a0f6f(0x5d4)]}),this[_0x4a0f6f(0x55a)]();};});}['_getUploadFileURL'](){const _0x2862bb=_0x1ab38c;var _0x2f25d6,_0x563f59;const _0x323f64=this[_0x2862bb(0x3fd)][_0x2862bb(0x489)](to),_0xb040d9=this[_0x2862bb(0x3fd)]['getConfig'](Z);return(_0x563f59=(_0x2f25d6=_0xb040d9==null?void 0x0:_0xb040d9['uploadFileServerUrl'])!=null?_0x2f25d6:_0x323f64)!=null?_0x563f59:io;}[_0x1ab38c(0x41a)](){const _0x3c149d=_0x1ab38c;var _0x1d55a3,_0x1badf1;const _0x13d379=this[_0x3c149d(0x3fd)][_0x3c149d(0x489)](no),_0x13b54d=this[_0x3c149d(0x3fd)][_0x3c149d(0x489)](Z);return(_0x1badf1=(_0x1d55a3=_0x13b54d==null?void 0x0:_0x13b54d[_0x3c149d(0x378)])!=null?_0x1d55a3:_0x13d379)!=null?_0x1badf1:ro;}[_0x1ab38c(0x373)](){const _0x4015dc=_0x1ab38c;var _0x47451a;const _0x289a62=this[_0x4015dc(0x3fd)]['getConfig'](Z);return(_0x47451a=_0x289a62==null?void 0x0:_0x289a62[_0x4015dc(0x62a)])!=null?_0x47451a:location['origin'];}['_replaceFileID'](_0x2b51ad,_0x2f5efa){const _0x201a38=_0x1ab38c;return _0x2b51ad[_0x201a38(0x5e1)](_0x201a38(0x390),_0x2f5efa);}[_0x1ab38c(0x55a)](){const _0x1c2577=_0x1ab38c;this[_0x1c2577(0x48e)]-=0x1,this['_change$'][_0x1c2577(0x2c0)](this[_0x1c2577(0x48e)]);}},exports[_0x1ab38c(0x16b)]=Zs([Et(0x0,a[_0x1ab38c(0x56d)](z['HTTPService'])),Et(0x1,a['IConfigService']),Et(0x2,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x585)]))],exports[_0x1ab38c(0x16b)]);var so=Object[_0x1ab38c(0x322)],oo=Object[_0x1ab38c(0x5da)],ao=(_0x4e6784,_0x1fddbc,_0x262c24,_0x3bb8a1)=>{const _0x500063=_0x1ab38c;for(var _0x225c17=_0x3bb8a1>0x1?void 0x0:_0x3bb8a1?oo(_0x1fddbc,_0x262c24):_0x1fddbc,_0x2e02dd=_0x4e6784[_0x500063(0x2b7)]-0x1,_0x3efa2a;_0x2e02dd>=0x0;_0x2e02dd--)(_0x3efa2a=_0x4e6784[_0x2e02dd])&&(_0x225c17=(_0x3bb8a1?_0x3efa2a(_0x1fddbc,_0x262c24,_0x225c17):_0x3efa2a(_0x225c17))||_0x225c17);return _0x3bb8a1&&_0x225c17&&so(_0x1fddbc,_0x262c24,_0x225c17),_0x225c17;},ui=(_0x577d9b,_0x4cecb3)=>(_0x1c9ba6,_0x5e09c2)=>_0x4cecb3(_0x1c9ba6,_0x5e09c2,_0x577d9b);const co=_0x1ab38c(0x366);exports['MentionIoHttpService']=class{constructor(_0x43c4f4,_0x162331){const _0x4fd549=_0x1ab38c;this[_0x4fd549(0x3fd)]=_0x43c4f4,this[_0x4fd549(0x3d0)]=_0x162331;}[_0x1ab38c(0x5f6)](){const _0x55fcfa=_0x1ab38c;var _0x268a50,_0x447876;const _0x172f13=this[_0x55fcfa(0x3fd)][_0x55fcfa(0x489)](xt),_0x371155=this[_0x55fcfa(0x3fd)][_0x55fcfa(0x489)](Z);return(_0x447876=(_0x268a50=_0x371155==null?void 0x0:_0x371155[_0x55fcfa(0x286)])!=null?_0x268a50:_0x172f13)!=null?_0x447876:co;}async[_0x1ab38c(0x1ef)](_0x2e5fb5){const _0xb9fa57=_0x1ab38c,_0x39ca80=this[_0xb9fa57(0x5f6)]()+'/collaborator';return{'list':[{'title':_0xb9fa57(0x528),'mentions':(await this[_0xb9fa57(0x3d0)][_0xb9fa57(0x3f9)](_0x39ca80,{'params':{'objectID':_0x2e5fb5[_0xb9fa57(0x1d7)],'unitID':_0x2e5fb5[_0xb9fa57(0x1d7)]}}))[_0xb9fa57(0x4cf)]['collaborators'][_0xb9fa57(0x4e4)](_0x5cce47=>({'objectId':_0x5cce47['id'],'name':_0x5cce47['subject'][_0xb9fa57(0x4e0)],'metadata':{'icon':_0x5cce47[_0xb9fa57(0x51a)][_0xb9fa57(0x639)]},'label':_0x5cce47[_0xb9fa57(0x51a)]['name'],'objectType':a[_0xb9fa57(0x4ef)][_0xb9fa57(0x19b)]})),'metadata':{},'type':a[_0xb9fa57(0x4ef)][_0xb9fa57(0x19b)]}]};}},exports[_0x1ab38c(0x3de)]=ao([ui(0x0,a['Inject'](a['IConfigService'])),ui(0x1,a[_0x1ab38c(0x56d)](z['HTTPService']))],exports[_0x1ab38c(0x3de)]);var lo=Object[_0x1ab38c(0x322)],ho=Object['getOwnPropertyDescriptor'],_o=(_0x2fa846,_0x33d271,_0x3dc720,_0x1d0a8b)=>{const _0x73e7f=_0x1ab38c;for(var _0x46df2d=_0x1d0a8b>0x1?void 0x0:_0x1d0a8b?ho(_0x33d271,_0x3dc720):_0x33d271,_0x42cb10=_0x2fa846[_0x73e7f(0x2b7)]-0x1,_0x58f285;_0x42cb10>=0x0;_0x42cb10--)(_0x58f285=_0x2fa846[_0x42cb10])&&(_0x46df2d=(_0x1d0a8b?_0x58f285(_0x33d271,_0x3dc720,_0x46df2d):_0x58f285(_0x46df2d))||_0x46df2d);return _0x1d0a8b&&_0x46df2d&&lo(_0x33d271,_0x3dc720,_0x46df2d),_0x46df2d;},Ne=(_0x1a9fe2,_0x12b495)=>(_0x542535,_0x963df7)=>_0x12b495(_0x542535,_0x963df7,_0x1a9fe2);let ot=class extends a[_0x1ab38c(0x579)]{constructor(_0x368946,_0x32933a,_0x1bcc6d,_0x3489ac,_0x2309b7){const _0x5c7f02=_0x1ab38c;super(),this[_0x5c7f02(0x2f8)]=_0x368946,this[_0x5c7f02(0x3b6)]=_0x32933a,this[_0x5c7f02(0x50b)]=_0x1bcc6d,this['_collaborationSessionService']=_0x3489ac,this[_0x5c7f02(0x1e1)]=_0x2309b7,this[_0x5c7f02(0x257)](),this[_0x5c7f02(0x5c2)]();}['_initCloseConn'](){const _0x5a8181=_0x1ab38c,_0x50da29=async _0x1273eb=>{const _0x382d64=_0x33d2;(await this[_0x382d64(0x5af)][_0x382d64(0x1e0)](_0x1273eb))[_0x382d64(0x4b8)]['pipe'](V['filter'](_0xc88328=>_0xc88328[_0x382d64(0x25e)]===m[_0x382d64(0x60d)]['SHOULD_CLOSE_CONN']),V['takeUntil'](this[_0x382d64(0x326)]))[_0x382d64(0x2cc)](_0x30b031=>{const _0x3226f0=_0x382d64,_0x565183=_0x30b031,{reason:_0x31bd35}=_0x565183[_0x3226f0(0x372)];this[_0x3226f0(0x2f8)][_0x3226f0(0x3f9)](ee[_0x3226f0(0x592)])[_0x3226f0(0x19e)]({'type':Ce[_0x3226f0(0x16e)][_0x3226f0(0x527)],'content':this[_0x3226f0(0x1e1)]['t'](_0x3226f0(0x4c1))+'('+_0x31bd35+')'}),this['_permissionService'][_0x3226f0(0x3f0)](new k[(_0x3226f0(0x269))](_0x1273eb)['id'],!0x1),this[_0x3226f0(0x5af)][_0x3226f0(0x40a)](_0x1273eb);});};N[_0x5a8181(0x24f)](this['_univerInstanceService'][_0x5a8181(0x1c4)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x5a8181(0x3b6)][_0x5a8181(0x1c4)](a[_0x5a8181(0x564)]['UNIVER_DOC']))[_0x5a8181(0x21a)](V[_0x5a8181(0x4e4)](_0x58327b=>_0x58327b[_0x5a8181(0x2f9)]()),V[_0x5a8181(0x4b6)](_0x280308=>!a['isInternalEditorID'](_0x280308)),V[_0x5a8181(0x37c)](this['dispose$']))[_0x5a8181(0x2cc)](_0x2e98b7=>{_0x50da29(_0x2e98b7);});}[_0x1ab38c(0x257)](){const _0x22f9e4=_0x1ab38c,_0x14785b=async _0x175049=>{const _0x9c7094=_0x33d2;(await this['_collaborationSessionService'][_0x9c7094(0x1e0)](_0x175049))['event$']['pipe'](V[_0x9c7094(0x4b6)](_0x12f898=>_0x12f898[_0x9c7094(0x25e)]===m[_0x9c7094(0x60d)]['UPDATE_PERMISSION_OBJ']),V[_0x9c7094(0x37c)](this['dispose$']))[_0x9c7094(0x2cc)](_0x5ec380=>{const _0x3b5833=_0x9c7094,_0x8425d6=_0x5ec380,{objectId:_0x295937}=_0x8425d6[_0x3b5833(0x372)],_0x3bec84=this[_0x3b5833(0x2f8)][_0x3b5833(0x3f9)](Le[_0x3b5833(0x521)]);_0x295937===_0x175049?_0x3bec84[_0x3b5833(0x4cb)](_0x175049):_0x3bec84[_0x3b5833(0x4eb)](_0x175049,_0x295937);});};N[_0x22f9e4(0x24f)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x22f9e4(0x564)][_0x22f9e4(0x2e0)]),this[_0x22f9e4(0x3b6)][_0x22f9e4(0x1c4)](a[_0x22f9e4(0x564)]['UNIVER_DOC']))[_0x22f9e4(0x21a)](V[_0x22f9e4(0x4e4)](_0x2f1680=>_0x2f1680[_0x22f9e4(0x2f9)]()),V[_0x22f9e4(0x4b6)](_0x258171=>!a[_0x22f9e4(0x220)](_0x258171)),V[_0x22f9e4(0x37c)](this[_0x22f9e4(0x326)]))['subscribe'](_0x2c38c5=>{_0x14785b(_0x2c38c5);});}};ot=_o([Ne(0x0,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),Ne(0x1,a['IUniverInstanceService']),Ne(0x2,a[_0x1ab38c(0x47f)]),Ne(0x3,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x1fc)])),Ne(0x4,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x394)]))],ot);function _0x2a33(){const _0x5c05a9=['session.will-retry','MentionType','createCollaborator','onload','COMPRESS_MUTATION_SEND','_socketReady','getCurrentUser','collabStatus.syncing','reqId','engine','_status$','then','collab-text-range-','_undoStacks','Pkcs7','call','_substituteUndoStack','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','allowed','enableSingleActiveInstanceLock','lib','roles','SEND_CHANGESET_TIMEOUT','routeKey','_fetchMissChangesets','WebSocketService','jsxs','min','HTTPRequest','_permissionService','Shape','FAIL','csAckEvent','_drawAnchor','ImageSourceType','JOIN_ROOM_NOT_EXISTS','collabSubmitChangesetUrl','onPointerMove$','_telemetryInfo','[SyncedState]:\x20received\x20acknowledgement.','LocalCacheService','/universer-api/snapshot/','getLatestCsReqIdBySid','isPermissionRej','subject','_syncEditingCollabCursor','onRemoteRetry','collaboratorID','changesets','moveTo','getMergeData','SheetPermissionInitController','all','joinEvent','[PendingState]:\x20received\x20acknowledgement.','ivSize','currentColor','Error','People','put','clamp','handleMoveRange','_checkMissing','_redoStacks','_iKey','_state$','getMember','compose','_socketService','SYNCED','\x20-\x20','DataLoaderController','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','socketService','_initEventListeners','_hasher','_uiPartsService','snapshotServerUrl','getParam','_waitForHeartbeatResponse','cursorInfo','_onConnectionFailed','getRangePointData','getUndoRedoMutationParamsCache','InsertRangeMoveDownCommandId','slice','_httpService','_iv','LIVESHARE_NEW_HOST','xlink:href','editingUnit','_initCommandExecutedListener','getSheetBySheetId','_cursorShapes','decryptBlock','_hovered','_transformIMECache','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','Module','black','src','DocStateChangeManagerService','RETRY_CONNECTING_MAX_COUNT','_hash','unload','rev','infoRsp','commentUpdate$','_decreaseWaiting','@univerjs/engine-formula','/universer-api/snapshot','onSendChangeset','endColumn','univer-offline','CBC','close$','sessionStatus','LOCAL_CACHE_INTERVAL','UniverInstanceType','imageSourceType','InsertRangeMoveRightCommandId','_clearUndo','DisposableCollection','_transitionLocked','location','DeleteRangeMoveUpCommandId','IRemoteInstanceService','Inject','_lastPointer','getCurrentRevOfUnit','MD5','_imageIoService','cfg','offline','_toggleOffline','buffer','getSheetObject','rxjs','CipherParams','RxDisposable','clearInterval','type','react.element','/unit/','sheetId','UPDATE_CURSOR','M0\x200H16V16H0z','COMMENT_UPDATE','_startDocCollabCursor','Error\x20on\x20receiving\x20event','168489KwrYEy','IUniverInstanceService','_doProcessBlock','ref','members','_substituteRedoStack','IAuthzIoService','collabStatus.synced','_context','sheetID','_acknowledgedAwaitingChangeset','msCrypto','result','method','IMessageService','replaceState','HttpExport','getOffsetConfig','sessionStatus$','onTransformRemoteChangesetByIMECache','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_socket','LEAVE','distinctUntilChanged','executeCommand','useDependency','originalMeta','5269505eNVQRp','url(#off-line-single_clip0_910_343)','NodePositionConvertToCursor','[PendingState]:\x20unhandled\x20univer\x20type:\x20','hasOwnProperty','UnitEmbedded','not_collab','[FetchMissState]','handleInsertRow','Malformed\x20UTF-8\x20data','_instanceService','setCurrentUser','objectType','BlockCipherMode','m1Prime','_createHelper','_collaborationSessionService','AWAITING_WITH_PENDING','bottom','InsertColCommandId','VIEW_MAIN','_updateSubUnitFromURLParams','onRendered','indexOf','addEventListener','_toggleOnline','wsSessionTicketUrl','MoveRangeCommandId','InsertRowCommandId','IConfigService','_initResize','_color','__creator','MergeInterceptorFactory','3DkQjId','_initCloseConn','loadSheet','visibilitychange','jsx','isEditing','collaboration-client.config','clear','_docSyncEditingCollabCursorService','exports','SetWorksheetActivateCommand','transformMutation','_transformHistoryAndStateStack','SetTextSelectionsOperation','/universer-api/stream/file/upload','delete','14967300NaIzfE','addObject','fillRule','SUCCUSS','_userManagerService','_clearHeartbeatTimer','reject','?url=','POST','getOwnPropertyDescriptor','getInterceptPoints','words','CollaborationSocketService','state','unshift','onMouseMove','replace','newValue','_doFinalize','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNKNOWN_CMD','DOC_RANGE_TYPE','kdf','UNKNOWN_CODE','798660ywAyXX','_scheduleClearOtherTimer','/-/object/list','change$','Tools','_snapshotService','enc','onlineStatusIcon','CONFLICT','use','_append','evenodd','_notificationService','_getAPIPrefixPath','[OfflineState]:\x20received\x20acknowledgement.','UNIVER_PROJECT','className','getDocRanges','send','\x0aCurrent:\x20','delay','_prevBlock','state$','switchMap','triggerDblclick','_oKey','onPointerLeave$','TOO_MANY_REQUESTS','_beforeCloseService','equals','_refreshCollabCursors','/object/','_collabCursorState$','onRemoteAck','isTransformChangesetsSuccess','isTransformMutationsWithChangesetSuccess','CollaborationEvent','Encryptor','SHOULD_CLOSE_CONN','hidden','values','toString','_showConflictNotification','abs','[CollaborationSession]','permission.content','save','setInterval','_queuedRemoteChangesets','_resendTimeout','listRoles','roomMembers$','mapDocumentTypeToUniverType','text','ITelemetryService','UniverNetworkPlugin','_draw','HELLO','SHEET_VIEWPORT_KEY','useRef','parse','ILogService','Optional','newCsEvent','_unitID','downloadEndpointUrl','getSheetId','_socketMessageSubscription','_docTransformStateCacheService','1em','sendChangesetTimeout','_transformRemoteChangesetByStateCache','_throwTelemetryCollaborationNewChangeset','socket$','ImageUploadStatusType','key','&assign=','_registerRenderDependencies','encryptBlock','_removeCollabCursors','avatar','labelPosition','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_updateURLWithCurrentState','_lockTransition','pending','CollabrationImageIoService','getAncestorScale','c1Prime','MessageType','default','SNAPSHOT_INVALID_SNAPSHOT','2350584wNuYmC','getSkeleton','_renderManagerService','_unitStatus','UNIVER_SLIDE','collabStatus.offline','symbol','reset','IBeforeCloseService','Fragment','handleIRemoveCol','from','_assignedColors','fetchThroughInterceptors','handleIRemoveRow','DocSkeletonManagerService','_getLoginPath','_colorAssignService','updateMember','take','_sheetSkeletonManagerService','_docTransformSelectionsService','RevisionService','getCurrentSelections','OffLineSingle','onMissedChangesetFetched','_transformSelections','transformIMECache','colorChannel1','enableAuthServer','getUnitOnRev','SHA1','c2Prime','_createHandler','substr','randomUUID','DocSelectionManagerService','_syncEditingCollabCursorService','@univerjs/rpc','_textBubble','SessionStatus','application/json','PERSON','svg','JOIN_ROOM_PERMISSION_DENIED','show','EXCHANGE_SIGN_URL_SERVER_URL_KEY','resize','_getRedoStack','_initStatusComponent','/object','searchParams','?size=','blockSize','deleteCollaborator','COLLAB_SUBMIT_CHANGESET_URL','_pendingMutations','readInt32LE','onRemoteRej','concat','HmacSHA1','_clearScheduledTask','status$','complete','selection','/universer-api/user/session-ticket','_telemetryService','SetSelectionsOperation','[CollaborationState]:\x20apply\x20error!','_setupBeforeClosingHandler','_docClipboardService','contains','CollaborationStatusDisplay','workbook','_getSheetObject','_changesetSessionId','_getCtorByUniverType','useObservable','with','USERS_LEAVE','getActiveSheet','reverse','saveImage','getTypeOfUnitAdded$','collab-text-anchor-','set','runRefRangeMutations','Cipher','COMPLETION_FINISHED','_singleActiveUnitService','m2Prime','handleInsertRangeMoveRight','_replayCachedMutations','FileId','_onUserJoin','Undefined','NOT_COLLAB','LICENSE_DISTRO_REJECTED','children','_listenToOnlineEvent','attrs','transformChangesets','unitId','CollaborationController','ITransformService','_mode','clearTimeout','actions','UniverIcon','INVALID_ARGUMENT','_getSessionTicket','requireSession','_localeService','_schedule','red300','putCollaborators','IMentionIOService','csShouldRetryEvent','OFFLINE','setShapeProps','_session','range','reconnect','objectID','parseChangesetToProtocol','IUIPartsService','list','unsubscribe','_cipher','clipPath','transformRemoteChangeset','/block/','_event$','image/gif','entries','params','getImageSourceCache','commentUpdateEvent','toDisposable','CollaborationSessionService','getSheetBlock','_getCurrentRevision','awaiting_with_pending','_docSkeleton','_sessionStatus$','_cursor','_process','_roomMembers$','_onCursorDelete','_cachedData','Decryptor','createDecryptor','_onConflict','serializeCombRequest','unitId\x20is\x20not\x20found','findNodePositionByCharIndex','fillText','syncEditingCollabCursor','join','ColorKit','unknown','baseRev','bind','padding','_handleJoinEvent','onTransformState','_transformStateCache','getStateCache','pushState','pipe','onCommentUpdate','iterations','collaboration-session-retry','_saveCache','[CollaborationSessionService]','isInternalEditorID','capture','none','_commandService','div','startRow','isTransformMutationFailure','session','awaitingChangeset','_timeoutTimer','toggleOnline','post','setWaitCount','clone','_applyRemoteChangeset','_unitOnClients','_doCryptBlock','UPDATE_PERMISSION_OBJ','_clearRedo','message$','_getUndoStack','forwardRef','EmptyMutation','toRgbString','init','setShowComponents','SheetsSelectionsService','@univerjs/docs','univer-pro.collaboration-client-socket-service','collaboration-client.offline-data-not-saved','JOIN_ROOM_FULL','hostname','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_range','_id','on-line-single_clip0_910_349','CommentService','socket\x20open.','COLLAB_WEB_SOCKET_URL_KEY','_document','IUndoRedoService','_collaborationPaused','NO_OTHER_CLIENTS_EDITING','width','CHANGESET_REJ','_ENC_XFORM_MODE','_roomMembers','merge','RemoveRowCommandId','COLORS','deepClone','@univerjs/drawing','subunit','ICollaborationSocketService','height','_initUnitPermissionChange','stopTime','conflict.title','SUBMIT_CHANGESET','_transformUndoRedoStack','on-line-single','_handler','eventID','_collabSessionService','disposeUnit','AWAITING','_scheduleSaving','getDeserializedSheetBlock','_imageSourceCache','_getSaveTimeout','docStateChange$','collaboration_new_changeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','WorkbookEditablePermission','/universer-api/comb','Injector','onTransformRemoteChangesetByStateCache','IDocClipboardService','_xformMode','sid','extend','append','SNAPSHOT_URL_KEY','INGEST','x-univer-host','focused$','_revisionService','SetDocZoomRatioOperation','activeSheet$','_clearCollaborationTimeoutTimer','url(#on-line-single_clip0_910_349)','_collaborationController','/collaborator','_clearLocalCache','HEARTBEAT','getItem','confirm','getRelativeToViewportCoord','createEncryptor','JSONX','_invKeySchedule','LOGIN_URL_KEY','authzUrl','json','FETCH_MISSING','drawWith','_localCacheService','MUTATION','_disabled','top','isArray','verdancy600','DocCollaborationEntity','toLowerCase','tag','_updateLocalCache','_initStatusListener','trim','HttpImport','CollaborationStatus','LICENSE_IMPORT_SIZE_EXCEEDED','_onUserLeave','image/png','getCollabEntity$','prototype','_remoteChangesetQueue','Latin1','connection\x20error','_keyPriorReset','ILocalStorageService','transformUndoRedo','ALREADY_EXISTS','WebURLService','RichTextEditingMutation','_collabCursorController','_registerDependencies','flatMap','_onRemoteRetry','_commentService','registerBeforeClose','off-line-single','session.join-failed','@univerjs/sheets-ui','charCodeAt','[DataLoaderController]','now','EffectRefRangId','translate(.97)','roomMembers','_members','getSnapshotAPIPath','length','sheets','exhaustSavingTask','idSuffix','UniverCollaborationPlugin','_resendWithTimeout','_nRounds','/role','cursorInfo$','next','_handleHover','batchAllowed','_onConnectionOpen','5184664gfeZSU','_entities','_getMergeRange','format','_clearOtherTimers','handleDeleteRangeMoveLeft','backgroundColor','NodePositionConvertToRectRange','subscribe','CollaborationEntity','8gmTaMX','restore','_parse','_startCollaboration','toggleOffline','defaultProps','selections','StreamCipher','fill','_createInitialState','HEADER_MENU','_onRemoteChangeset','PasswordBasedCipher','updateOfflineData','Subject','storage','NOT_FOUND','_http','UNIVER_SHEET','_docSkeletonManagerService','__Key__','find','push','ACTIVE_UNIT_EVENT_CHANNEL','arc','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','getColor','_submitChangeset','410799oBfNyu','_backgroundColor','[PendingState]:\x20received\x20rejection.','rgba(255,\x20255,\x20255,\x200.01)','getTime','/universer-api/file/{fileID}/sign-url','_minBufferSize','ENSURE_SNAPSHOT_EXECUTION','transformStateCache','#fff','univer-online-status','_updateStatus','_unlockTransition','getValue','_injector','getUnitId','@univerjs/engine-render','isActive','_sendHeartbeatTimer','UnitSnapshot','14nVhJrI','[UniverCollaborationClientPlugin]','enableOfflineEditing','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','charAt','FETCH_MISS','url','Tooltip','getViewport','assign','ThemeService','loadOfflineData','execute','registerComponent','_retryCount','getUnitType','_shouldReportTelemetry','debounce','unit','file','addImageSourceCache','rng','univer-online-status-title','IDLE','@univerjs/core','getWorkbookSelections','[OfflineState]:\x20received\x20rejection.','session.collaboration-timeout','makeDirty','objects','dispose','socket\x20close','_scene','_saveTaskMap','PENDING','compute','defineProperty','onPointerEnter$','path','resourceIDs','dispose$','pad','hide','updatePermissionObjEvent','_collaborationTimeoutTimer','history','_reverseMap','href','addClipboardHook','MemberService','stringify','algo','_onJoinRoomEvent','[CollaborationEntity]','_sendingTimer','_localStorageService','LIVESHARE_FETCH_OPERATIONS','_anchorDot','status','_createHmacHelper','addObjects','YUUMI_URL_COL_OUT_OF_RANGE','generateRandomId','setParam','_initMergeInterceptor','_state','@univerjs/telemetry','DependentOn','getMemberID','endRow','_initDependencies','INTERNAL_ERROR','_selfUnitIDs','DesktopCollaborationStatusDisplayController','parseProtocolChangeset','TEXT','_isPermissionRej','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_onCombEvent','transformStack\x20failed!','setItem','startTime','_clearTimeoutTimer','conflict.content','HEARTBEAT_TIMEOUT','_anchor','ISnapshotServerService','UNIVER_DOC','NoPadding','_executeRemoteChangeset','off-line-single_clip0_910_343','_transformStack','includes','undoState','LIVESHARE_REQUEST_HOST','onMissingChangesets','APPLY_NON_SEQUENTIAL_REVISION','IURLService','rxjs/operators','_memberService','salt','round','_updateLocalCursor','onCommandExecuted','/universer-api/authz','_exhaustRemoteChangesetQueue','image/bmp','assignAColorForMemberID','ONLINE','size','sigBytes','OnLineSingle','debounceTime','onlyLocal','_retryConnectingTimer','collab-client.tooltip.reconnect','data','_getDownloadEndpointURL','/new_changes','DocIMEInputManagerService','isTransformMutationsWithChangesetFailure','_hideTimer','signUrlServerUrl','disableLocalCache','IContextService','setUndoRedoMutationParamsCache','takeUntil','_compressMutationService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','localeService','onlineStatus','getCoordByCell','Disposable','@univerjs/ui','touchDependencies','textEncoder','AES','liveShareOperation','UNAUTHENTICATED','WordArray','session.room-permission-denied','subscribeEvent','OpenSSL','ranges','_tryReconnect','$super','{fileID}','currentTheme$','has','unpad','LocaleService','CommandType','synced','_change$','collab-rect-range-','PERMISSION_REJ','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','sessionTicket','useCallback','registerOnClose','icon','getOwnPropertySymbols','USERS_ENTER','HTTPService','string','_createSocket','onReady','COLLAB_SUBMIT_CHANGESET_URL_KEY','_getScale','Base64','MSG_FOR_ERROR','/universer-api/oidc/authpage','subUnitId','transformSelections','SerializableCipher','_ws','_doReset','every','getVpScrollXYInfoByPosToVp','[SyncedState]:\x20received\x20rejection.','_data','_docStateChangeManagerService','asObservable','_drawRectRange','_univerInstanceService','_getAPIPrefix','random','_handleLeaveEvent','EvpKDF','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_docTransformIMECacheService','BehaviorSubject','handleDeleteRangeMoveUp','_ensureSubject','JOINING','APPLY_PERMISSION_DENIED','displayName','LICENSE_MAX_UNITS_EXCEEDED','Unknown\x20user','startsWith','saveSnapshot','getImage','onTransformIME','Rectangle','_themeService','_incrementRevisionNumber','_sheetTransformSelectionsService','csRejEvent','resend','decrypt','_HTTPService','combineLatest','lineTo','_name','unitID','UNIVER_COLLABORATION_CLIENT_PLUGIN','updateCursorEvent','awaiting','SheetCollaborationEntity','_messageService','defIds','CollaborationSession','handleInsertCol','_replaceFileID','MentionIoHttpService','getCollabCursors$','_initRequestHeader','YUUMI_RATE_OVER_LIMIT','function','0\x200\x2017\x2016','HMAC','APPLY_REJECT','CHANGESET_SHOULD_RETRY','CHANGESET_REVISION_CONFILICT','_disableEditing','_changesetReqId','substring','_refRangeService','mixIn','add','setAlpha','cmd','updatePermissionPoint','GLOBAL_ROOMS_CNT_EXCEEDS','_getAnchorBounding','_sender','forEach','_sendHeartbeat','registerRenderModule','ceil','_removeRoom','get','revision','_type','_snapshotServerService','_configService','catch','_setupSubUnitSync','CONNECTOR_DATA_TOO_LARGE','doc.mutation.rich-text-editing','_loadDoc','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','FromArray','CHANGESET_ACK','snapshot','skeleton','headers','_resendTimer','closeSession','fromEventSubject','_listenToOfflineEvent','Hasher','_createInitialStateImpl','_updateState','redoState','_onOffline','max','/rev/','/-/object/-/batch_allowed','UNDEFINED','UserManagerService','_onRecvEvent','some','_init','_getSignURL','crypto','ERROR_EXCEED_SIZE','responseType','patch','_rescheduleHeartbeat','shouldCloseConn','currentSkeleton$','_entityInit$','COMPRESS_MUTATION_APPLY','UniverCollaborationClientPlugin','getFocusedUnit','_scheduleHeartbeat','_urlService','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','deserializeRangeWithSheet','_joinRoom','color','OTHER_CLIENTS_EDITING','_onCursorUpdate','getCollabEntity','@univerjs/network','ICommandService','@univerjs-pro/collaboration','_heartbeatTimer','encrypt','_getSendChangesetTimeout','transformMutationsWithChangeset','onTransformChange$','[CollaborationUndoRedoService]','userID','loginUrlKey','getUnhiddenWorksheets','hasher','setConfig','_startTelemetryCollaborationNewChangeset','mode','/allowed','createInstance','BufferedBlockAlgorithm','create','getRandomValues','apply','getRoom','jiqing500','removeMember','Rect','getRenderById','keySize','ciphertext','onStateChange','auth.needGotoLoginAlert','_online','setActiveRange','fetch_missing','collabStatus.conflict','onRemoteChangeset','onTransformSelections','SnapshotServerOverHTTPService','saveSheetBlock','AuthzIoHttpService','replaceDocRanges','blue400','readAsDataURL','submit\x20changeset\x20error!','_commentUpdate$','setTimeout','PERMISSION_DENIED','BlockCipher','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','serializeRangeWithSheet','b64DecodeUnicode','mergeOverrideWithDependencies','split','uni.network.url-service','NEW_CHANGESETS','_send','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','transformByState','&source=','purple300','onSyncEditingCollabCursor','incrementRevOfUnit','...','online','encode','Workbook','LOCAL_CACHE_INTERVAL_KEY','collabWebSocketUrl','_sessions','createElement','Warning','fetchMissingChangesets','SNAPSHOT_SERVER_URL_KEY','LIVESHARE_OPERATION','debug','measureText','pluginName','for','update','SheetCollabCursorShape','IPermissionService','textRanges','font','code','_socket$','RECV','_onRemoteRejected','TEXT_RANGE_LAYER_INDEX','setStateCache','_config','getConfig','registerRefRange','beginPath','_onRemoteACK','error','_waitCount','APPLY_REVISION_CONFILICT','Univer','APPLY_DUPLICATED','open$','univerjs-icon\x20univerjs-icon-','floor','_removeClearOtherTimer','conflict','requestParams','roomInfos','_eventUnsubscribe','sin','_candidateSocket','_scheduleTimestamp','override','univer-pro.collaboration-client.single-active-unit-service','_updateCollabCursors','fromCharCode','unit-cache-','fetchMiss','_shapes','_transformRemoteChangesetByIMECache','BASE64','_nDataBytes','duration','urlChange$','Utf8','collabStatus.fetchMiss','_loadSheet','hovered','createSocket','disposeWithMe','_cursorInfo$','fillStyle','SnapshotService','CompressMutationService','_labelPosition','UNIVER_UNKNOWN','interceptor','filter','_onLocalMutation','event$','ERROR_IMAGE','defs','_cursors','_transformService','YUUMI_SUBSCRIPTION_NOT_FOUND','current','_hover','collabCursorState$','collaboration.closeRoom','randomBytes','memberID','HEARTBEAT_TIMEOUT_KEY','_awaitingChangeset','IImageIoService','encodeURIComponent','@univerjs/sheets','AUTHZ_URL_KEY','handleInsertRangeMoveDown','initWorkbookPermissionChange','collabStatus.notCollab','getTypeOfUnitDisposed$','_stopTelemetryCollaborationNewChangeset','body','fromEvent','DeleteRangeMoveLeftCommandId','close','_logService','UNRECOGNIZED','createIdentifier','loadDoc','appendMutation','Base','registerHTTPInterceptor','withCredentials','_undoRedoService','_keySchedule','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','fromCollab','_handleHeartbeatEvent','name','copyFileMeta','_map','finalize','map','Hex','_onRefRangeChange','_createSocketURL','PSEUDO_FETCH_MISSING_RESULT','liveShareNewHost','mutations','refreshPermission','JOIN','Vector2'];_0x2a33=function(){return _0x5c05a9;};return _0x2a33();}var uo=Object[_0x1ab38c(0x322)],fo=Object[_0x1ab38c(0x5da)],vo=(_0x4dcbe6,_0x4f898f,_0xb1e508,_0x49cb8d)=>{const _0x4ba05f=_0x1ab38c;for(var _0xc29184=_0x49cb8d>0x1?void 0x0:_0x49cb8d?fo(_0x4f898f,_0xb1e508):_0x4f898f,_0x569242=_0x4dcbe6[_0x4ba05f(0x2b7)]-0x1,_0x3dd8b0;_0x569242>=0x0;_0x569242--)(_0x3dd8b0=_0x4dcbe6[_0x569242])&&(_0xc29184=(_0x49cb8d?_0x3dd8b0(_0x4f898f,_0xb1e508,_0xc29184):_0x3dd8b0(_0xc29184))||_0xc29184);return _0x49cb8d&&_0xc29184&&uo(_0x4f898f,_0xb1e508,_0xc29184),_0xc29184;},di=(_0x10b70d,_0x3207be)=>(_0x44cff6,_0x284a9e)=>_0x3207be(_0x44cff6,_0x284a9e,_0x10b70d);exports[_0x1ab38c(0x454)]=class{constructor(_0x5ec91f,_0x4c43ca){const _0x46d423=_0x1ab38c;this[_0x46d423(0x3fd)]=_0x5ec91f,this[_0x46d423(0x544)]=_0x4c43ca;}async[_0x1ab38c(0x18f)](_0x26f827,_0x239554){const _0x58d497=_0x1ab38c;var _0x3cd21f;const {unitID:_0x156514,type:_0x5909a0,revision:_0x1a0004=0x0}=_0x239554,_0x1c4eea=this[_0x58d497(0x2b6)]()+'/'+_0x5909a0+_0x58d497(0x57d)+_0x156514+_0x58d497(0x413)+_0x1a0004,_0x493546=(await this[_0x58d497(0x544)][_0x58d497(0x3f9)](_0x1c4eea))[_0x58d497(0x4cf)],_0x3478b2=(_0x3cd21f=_0x493546[_0x58d497(0x406)])==null?void 0x0:_0x3cd21f[_0x58d497(0x1ba)];if(_0x3478b2){const _0x586187=_0x3478b2==null?void 0x0:_0x3478b2[_0x58d497(0x59e)],_0x7c46b4=m[_0x58d497(0x385)]['encode'](m['b64DecodeUnicode'](_0x586187));_0x3478b2[_0x58d497(0x59e)]=_0x7c46b4,Object[_0x58d497(0x1f7)](_0x3478b2[_0x58d497(0x2b8)])[_0x58d497(0x3f4)](([,_0x11c23b])=>{const _0xab87d0=_0x58d497,_0x5e848b=_0x11c23b[_0xab87d0(0x59e)],_0x33ae58=m['textEncoder'][_0xab87d0(0x46f)](m[_0xab87d0(0x461)](_0x5e848b));_0x11c23b[_0xab87d0(0x59e)]=_0x33ae58;});}return _0x493546;}async[_0x1ab38c(0x1fd)](_0x22a4a8,_0x36b42a){const _0x1272d=_0x1ab38c,{unitID:_0x1a1b6e,type:_0x4426ff,blockID:_0x4b330f}=_0x36b42a,_0xb7912d=this[_0x1272d(0x3b7)]()+'/'+_0x4426ff+_0x1272d(0x57d)+_0x1a1b6e+_0x1272d(0x1f4)+_0x4b330f;return(await this[_0x1272d(0x544)][_0x1272d(0x3f9)](_0xb7912d))[_0x1272d(0x4cf)];}async[_0x1ab38c(0x263)](_0x546310,_0x33e78a){const _0x41bb2b=_0x1ab38c,{unitID:_0x4ba594,type:_0x13130d,blockID:_0x4aaa49}=_0x33e78a,_0x3286d8=this[_0x41bb2b(0x3b7)]()+'/block/'+_0x13130d+_0x41bb2b(0x57d)+_0x4ba594+_0x41bb2b(0x1f4)+_0x4aaa49;return(await this['_httpService'][_0x41bb2b(0x3f9)](_0x3286d8))[_0x41bb2b(0x4cf)];}async[_0x1ab38c(0x476)](_0x1575a5,_0x83cd91){const _0x31bad4=_0x1ab38c,{unitID:_0x124654,type:_0x146e00,from:_0xf1191f,to:_0x42972b}=_0x83cd91,_0x3203eb=this[_0x31bad4(0x3b7)]()+'/'+_0x146e00+_0x31bad4(0x57d)+_0x124654+'/fetchmissing?from='+_0xf1191f+'&to='+_0x42972b;return(await this[_0x31bad4(0x544)][_0x31bad4(0x3f9)](_0x3203eb))['body'];}[_0x1ab38c(0x2b6)](){const _0x519cce=_0x1ab38c;var _0x561947;return(_0x561947=this[_0x519cce(0x3fd)]['getConfig'](vi))!=null?_0x561947:this['_getAPIPrefix']();}[_0x1ab38c(0x3b7)](){const _0x9f5430=_0x1ab38c;var _0x34c8f2,_0x5902ea;const _0x474c4e=this[_0x9f5430(0x3fd)][_0x9f5430(0x489)](fi),_0x58da9e=this[_0x9f5430(0x3fd)]['getConfig'](Z);return(_0x5902ea=(_0x34c8f2=_0x58da9e==null?void 0x0:_0x58da9e[_0x9f5430(0x53b)])!=null?_0x34c8f2:_0x474c4e)!=null?_0x5902ea:qi;}async['getResourcesRequest'](_0x29a204,_0x4684ca){const _0x25fb89=_0x1ab38c,_0x4f9f4a=_0x25fb89(0x517)+_0x4684ca['type']+_0x25fb89(0x57d)+_0x4684ca[_0x25fb89(0x3d4)]+'/resources';return(await this[_0x25fb89(0x544)][_0x25fb89(0x3f9)](_0x4f9f4a,{'params':{'resourceId':JSON[_0x25fb89(0x330)](_0x4684ca[_0x25fb89(0x325)])}}))['body'];}[_0x1ab38c(0x3c6)](){const _0x42aa76=_0x1ab38c;throw new Error(_0x42aa76(0x3bb));}[_0x1ab38c(0x455)](){const _0x145baf=_0x1ab38c;throw new Error(_0x145baf(0x3bb));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1ab38c(0x4e1)](){const _0x394645=_0x1ab38c;throw new Error(_0x394645(0x3bb));}[_0x1ab38c(0x518)](){const _0x42a0d8=_0x1ab38c;throw new Error(_0x42a0d8(0x3bb));}},exports[_0x1ab38c(0x454)]=vo([di(0x0,a[_0x1ab38c(0x5bc)]),di(0x1,a['Inject'](z[_0x1ab38c(0x3a1)]))],exports['SnapshotServerOverHTTPService']);var So=Object['defineProperty'],po=Object[_0x1ab38c(0x5da)],mo=(_0xb1efa9,_0x2ea90d,_0x3a291b,_0x12ad89)=>{const _0x345f8f=_0x1ab38c;for(var _0x3d87c4=_0x12ad89>0x1?void 0x0:_0x12ad89?po(_0x2ea90d,_0x3a291b):_0x2ea90d,_0x450b48=_0xb1efa9[_0x345f8f(0x2b7)]-0x1,_0xf524f9;_0x450b48>=0x0;_0x450b48--)(_0xf524f9=_0xb1efa9[_0x450b48])&&(_0x3d87c4=(_0x12ad89?_0xf524f9(_0x2ea90d,_0x3a291b,_0x3d87c4):_0xf524f9(_0x3d87c4))||_0x3d87c4);return _0x12ad89&&_0x3d87c4&&So(_0x2ea90d,_0x3a291b,_0x3d87c4),_0x3d87c4;},Ae=(_0x478108,_0xb4fceb)=>(_0x37ab22,_0x1bad41)=>_0xb4fceb(_0x37ab22,_0x1bad41,_0x478108);let yt=class extends a['LocalUndoRedoService']{constructor(_0x360879,_0x41eda6,_0x516b36,_0x2e32e8,_0x5a4d98){const _0x773c18=_0x1ab38c;super(_0x360879,_0x41eda6,_0x516b36),this['_transformService']=_0x2e32e8,this[_0x773c18(0x4d3)]=_0x5a4d98;}[_0x1ab38c(0x2a2)](_0x5e274e,_0x5a5293){const _0x3d3dcb=_0x1ab38c,_0x5efc8c=this[_0x3d3dcb(0x234)](_0x5e274e);if(_0x5efc8c)try{const _0x1802dd=this['_transformStack'](_0x5efc8c,_0x5a5293);this[_0x3d3dcb(0x4fe)](_0x5e274e,_0x1802dd);}catch(_0x30e4f1){this[_0x3d3dcb(0x4d3)][_0x3d3dcb(0x48d)](_0x3d3dcb(0x437),_0x30e4f1),this[_0x3d3dcb(0x567)](_0x5e274e);}const _0x457dfd=this[_0x3d3dcb(0x1a1)](_0x5e274e);if(_0x457dfd)try{const _0x3a6612=this[_0x3d3dcb(0x359)](_0x457dfd,_0x5a5293);this[_0x3d3dcb(0x589)](_0x5e274e,_0x3a6612);}catch(_0xd72d74){this[_0x3d3dcb(0x4d3)][_0x3d3dcb(0x48d)](_0xd72d74),this[_0x3d3dcb(0x232)](_0x5e274e);}}['_clearUndo'](_0x32e78d){const _0x2b8b79=_0x1ab38c,_0x3c1978=this[_0x2b8b79(0x234)](_0x32e78d);_0x3c1978&&(_0x3c1978[_0x2b8b79(0x2b7)]=0x0,this[_0x2b8b79(0x2f5)]());}['_clearRedo'](_0x1c0c5c){const _0x428369=_0x1ab38c,_0x516c35=this['_getRedoStack'](_0x1c0c5c);_0x516c35&&(_0x516c35[_0x428369(0x2b7)]=0x0,this[_0x428369(0x2f5)]());}[_0x1ab38c(0x4fe)](_0x8df9ed,_0x2ff961){const _0x5b74f0=_0x1ab38c;this[_0x5b74f0(0x4fb)][_0x5b74f0(0x1c6)](_0x8df9ed,_0x2ff961),this[_0x5b74f0(0x2f5)]();}[_0x1ab38c(0x589)](_0x3b471a,_0x52091f){const _0x331a69=_0x1ab38c;this[_0x331a69(0x52d)]['set'](_0x3b471a,_0x52091f),this['_updateStatus']();}[_0x1ab38c(0x359)](_0x1c3c6a,_0x5e30c6){const _0xf029b3=_0x1ab38c,_0x544303=[];let _0x3dedd8=_0x5e30c6,_0x232a34=_0x5e30c6;for(let _0x5742a3=_0x1c3c6a[_0xf029b3(0x2b7)]-0x1;_0x5742a3>=0x0;_0x5742a3--){const {unitID:_0x1db17f,undoMutations:_0x40c282,redoMutations:_0x41f837}=_0x1c3c6a[_0x5742a3],_0x348ecc=this[_0xf029b3(0x4bc)]['transformMutationsWithChangeset'](_0x3dedd8,_0x40c282),_0x36766c=this[_0xf029b3(0x4bc)][_0xf029b3(0x435)](_0x232a34,_0x41f837);if(m[_0xf029b3(0x376)](_0x348ecc)||m[_0xf029b3(0x376)](_0x36766c)){this[_0xf029b3(0x4d3)][_0xf029b3(0x48d)](_0xf029b3(0x437),_0xf029b3(0x34d),_0x348ecc,_0x36766c);break;}_0x3dedd8=_0x348ecc[_0xf029b3(0x16d)],_0x232a34=_0x36766c[_0xf029b3(0x16d)],_0x544303[_0xf029b3(0x2e4)]({'unitID':_0x1db17f,'undoMutations':_0x348ecc[_0xf029b3(0x1cb)],'redoMutations':_0x36766c[_0xf029b3(0x1cb)]});}return _0x544303[_0xf029b3(0x1c2)]();}};yt=mo([Ae(0x0,a[_0x1ab38c(0x585)]),Ae(0x1,a[_0x1ab38c(0x430)]),Ae(0x2,a[_0x1ab38c(0x37a)]),Ae(0x3,m[_0x1ab38c(0x1d9)]),Ae(0x4,a['ILogService'])],yt);class ki extends a['RxDisposable']{constructor(){const _0x3759c0=_0x1ab38c;super(),I(this,_0x3759c0(0x4a8)),this[_0x3759c0(0x4a8)]=N['fromEvent'](window,'popstate')['pipe'](N['takeUntil'](this[_0x3759c0(0x326)]),N['shareReplay'](0x1),N['mapTo'](void 0x0));}[_0x1ab38c(0x33d)](_0x5889ea,_0x4934e6,_0x27d519=!0x1){const _0x57b5a0=_0x1ab38c,_0x22c38d=new URL(window[_0x57b5a0(0x56a)][_0x57b5a0(0x32d)]);_0x22c38d[_0x57b5a0(0x1a4)][_0x57b5a0(0x1c6)](_0x5889ea,_0x4934e6),_0x27d519?window['history'][_0x57b5a0(0x593)]('','',_0x22c38d[_0x57b5a0(0x612)]()):window[_0x57b5a0(0x32b)]['pushState']('','',_0x22c38d[_0x57b5a0(0x612)]());}['removeParam'](_0x3e90c2,_0x2e4818=!0x1){const _0x46d09a=_0x1ab38c,_0x483c31=new URL(window['location'][_0x46d09a(0x32d)]);_0x483c31[_0x46d09a(0x1a4)]['delete'](_0x3e90c2),_0x2e4818?window[_0x46d09a(0x32b)]['replaceState']('','',_0x483c31[_0x46d09a(0x612)]()):window['history'][_0x46d09a(0x219)]('','',_0x483c31[_0x46d09a(0x612)]());}[_0x1ab38c(0x53c)](_0x23c4d2){const _0x4daf4b=_0x1ab38c;var _0x1bda3e;return(_0x1bda3e=new URL(window['location'][_0x4daf4b(0x32d)])[_0x4daf4b(0x1a4)]['get'](_0x23c4d2))!=null?_0x1bda3e:void 0x0;}}var Wi=Object['defineProperty'],go=Object['getOwnPropertyDescriptor'],Io=(_0xe77c42,_0x42d8f4,_0x401e21)=>_0x42d8f4 in _0xe77c42?Wi(_0xe77c42,_0x42d8f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x401e21}):_0xe77c42[_0x42d8f4]=_0x401e21,Co=(_0x4e156a,_0x5789c6,_0x20e602,_0x5d7065)=>{for(var _0x5b2d4c=_0x5d7065>0x1?void 0x0:_0x5d7065?go(_0x5789c6,_0x20e602):_0x5789c6,_0x2f7764=_0x4e156a['length']-0x1,_0xf463b;_0x2f7764>=0x0;_0x2f7764--)(_0xf463b=_0x4e156a[_0x2f7764])&&(_0x5b2d4c=(_0x5d7065?_0xf463b(_0x5789c6,_0x20e602,_0x5b2d4c):_0xf463b(_0x5b2d4c))||_0x5b2d4c);return _0x5d7065&&_0x5b2d4c&&Wi(_0x5789c6,_0x20e602,_0x5b2d4c),_0x5b2d4c;},Be=(_0x299c8a,_0x31a6ff)=>(_0x3c152e,_0x3fd7ad)=>_0x31a6ff(_0x3c152e,_0x3fd7ad,_0x299c8a),Eo=(_0x36c080,_0x2ca10e,_0x3d3841)=>Io(_0x36c080,_0x2ca10e+'',_0x3d3841);const bo=_0x1ab38c(0x3d5);exports[_0x1ab38c(0x424)]=class extends a['Plugin']{constructor(_0x1c7e7f=sn,_0x8cd1f5,_0x43c3dd,_0x5cc7ce,_0x463f06){const _0x55d985=_0x1ab38c;super(),this['_config']=_0x1c7e7f,this[_0x55d985(0x4d3)]=_0x8cd1f5,this[_0x55d985(0x173)]=_0x43c3dd,this[_0x55d985(0x2f8)]=_0x5cc7ce,this['_configService']=_0x463f06;const {..._0xeda17}=this[_0x55d985(0x488)];this[_0x55d985(0x3fd)][_0x55d985(0x43c)](Z,_0xeda17);}['onStarting'](){const _0xa753c0=_0x1ab38c;this[_0xa753c0(0x2a7)](),this[_0xa753c0(0x344)]();}[_0x1ab38c(0x3a4)](){const _0x51fe3b=_0x1ab38c;a[_0x51fe3b(0x384)](this[_0x51fe3b(0x2f8)],[[nt],[it]]);}[_0x1ab38c(0x5b5)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x5123ce=_0x1ab38c;var _0x24ce77,_0x2f32e8,_0x3148c2,_0x3bfd06;this[_0x5123ce(0x2f8)][_0x5123ce(0x392)](a['IUndoRedoService'])&&this[_0x5123ce(0x4d3)][_0x5123ce(0x48d)](_0x5123ce(0x2ff),_0x5123ce(0x268));const _0x5a5c52=[[a[_0x5123ce(0x248)],{'useClass':yt}],[exports[_0x5123ce(0x1fc)]],[Nt],[Lt,{'useClass':ki}],[exports[_0x5123ce(0x32f)]],[exports[_0x5123ce(0x516)]],[z[_0x5123ce(0x507)]],[Qe],[tt],[Ze],[et],[Ut],[rt],[st],[wt],[ot],[Pt,{'useClass':(_0x2f32e8=(_0x24ce77=this['_config'])==null?void 0x0:_0x24ce77[_0x5123ce(0x537)])!=null?_0x2f32e8:exports['CollaborationSocketService']}],[m[_0x5123ce(0x354)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x5123ce(0x58a)],{'useClass':exports[_0x5123ce(0x456)]}],[te[_0x5123ce(0x4c6)],{'useClass':exports['CollabrationImageIoService']}],[a[_0x5123ce(0x1e5)],{'useClass':exports[_0x5123ce(0x3de)]}],[exports['CollaborationController']],[exports['DataLoaderController']],[exports[_0x5123ce(0x347)]],[nt],[ye],[it]];(_0x3148c2=this['_config'])!=null&&_0x3148c2[_0x5123ce(0x501)]&&_0x5a5c52[_0x5123ce(0x2e4)]([at,{'useClass':$n}]),a['registerDependencies'](this[_0x5123ce(0x2f8)],a[_0x5123ce(0x462)](_0x5a5c52,(_0x3bfd06=this[_0x5123ce(0x488)])==null?void 0x0:_0x3bfd06[_0x5123ce(0x49d)]));}[_0x1ab38c(0x636)](){const _0x41ddae=_0x1ab38c;this[_0x41ddae(0x4ae)](this[_0x41ddae(0x173)][_0x41ddae(0x3f6)](a[_0x41ddae(0x564)]['UNIVER_DOC'],[Rt])),this[_0x41ddae(0x4ae)](this[_0x41ddae(0x173)][_0x41ddae(0x3f6)](a['UniverInstanceType']['UNIVER_SHEET'],[Ot]));}['_initDependencies'](){const _0x74d4be=_0x1ab38c;var _0x389f36,_0xb1c703;this['_injector'][_0x74d4be(0x3f9)](z['HTTPService'])[_0x74d4be(0x4d9)]({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x389f36=this['_config'])!=null&&_0x389f36[_0x74d4be(0x300)]||this[_0x74d4be(0x2f8)]['get'](exports[_0x74d4be(0x516)])[_0x74d4be(0x379)](),(_0xb1c703=this[_0x74d4be(0x488)])!=null&&_0xb1c703[_0x74d4be(0x18e)]&&a['touchDependencies'](this[_0x74d4be(0x2f8)],[[rt]]),a[_0x74d4be(0x384)](this[_0x74d4be(0x2f8)],[[st],[ye],[exports[_0x74d4be(0x535)]],[exports[_0x74d4be(0x1d8)]],[exports[_0x74d4be(0x347)]],[ot]]);}},Eo(exports[_0x1ab38c(0x424)],_0x1ab38c(0x47b),bo),exports[_0x1ab38c(0x424)]=Co([a[_0x1ab38c(0x341)](m[_0x1ab38c(0x2bb)],z[_0x1ab38c(0x620)]),Be(0x1,a['ILogService']),Be(0x2,Y['IRenderManagerService']),Be(0x3,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),Be(0x4,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=xt,exports[_0x1ab38c(0x167)]=Z,exports[_0x1ab38c(0x3a5)]=Ci,exports[_0x1ab38c(0x246)]=Si,exports[_0x1ab38c(0x297)]=K,exports[_0x1ab38c(0x1b9)]=$i,exports[_0x1ab38c(0x244)]=wt,exports['HEARTBEAT_INTERVAL_KEY']=pi,exports[_0x1ab38c(0x4c4)]=Dt,exports[_0x1ab38c(0x255)]=Pt,exports[_0x1ab38c(0x35f)]=Lt,exports[_0x1ab38c(0x471)]=Ii,exports['LOGIN_URL_KEY']=Ei,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=gi,exports['SEND_CHANGESET_TIMEOUT_KEY']=Ki,exports[_0x1ab38c(0x477)]=fi,exports['SNAPSHOT_URL_KEY']=vi,exports[_0x1ab38c(0x199)]=ne,exports[_0x1ab38c(0x47e)]=Mi,exports[_0x1ab38c(0x2a4)]=ki,exports['deserializeToCombResponse']=Ri,exports[_0x1ab38c(0x20a)]=Oi;
|