@univerjs-pro/collaboration-client 0.5.1-nightly.202412181606 → 0.5.1-nightly.202412190838
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- 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/facade.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/facade.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 +9 -9
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x13aec8=_0x4ec5;(function(_0x505357,_0x54fc53){var _0x4de34d=_0x4ec5,_0xb17e8e=_0x505357();while(!![]){try{var _0x59b446=parseInt(_0x4de34d(0x46b))/0x1+-parseInt(_0x4de34d(0x490))/0x2*(parseInt(_0x4de34d(0x27f))/0x3)+parseInt(_0x4de34d(0x146))/0x4+parseInt(_0x4de34d(0x2d1))/0x5+parseInt(_0x4de34d(0x48d))/0x6+parseInt(_0x4de34d(0x194))/0x7*(parseInt(_0x4de34d(0x1c1))/0x8)+-parseInt(_0x4de34d(0x2f7))/0x9;if(_0x59b446===_0x54fc53)break;else _0xb17e8e['push'](_0xb17e8e['shift']());}catch(_0x4e5296){_0xb17e8e['push'](_0xb17e8e['shift']());}}}(_0x5915,0x9856a));var Lt=Object[_0x13aec8(0x169)],Mt=(_0x1aa296,_0x406fbd,_0x3abda1)=>_0x406fbd in _0x1aa296?Lt(_0x1aa296,_0x406fbd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3abda1}):_0x1aa296[_0x406fbd]=_0x3abda1,D=(_0x24c2d1,_0x5316a1,_0x3f9f5e)=>Mt(_0x24c2d1,typeof _0x5316a1!=_0x13aec8(0x403)?_0x5316a1+'':_0x5316a1,_0x3f9f5e);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const a=require(_0x13aec8(0x1c3)),H=require('rxjs'),V=require(_0x13aec8(0x2c7)),z=require(_0x13aec8(0x453)),m=require('@univerjs-pro/collaboration'),xt=require('@univerjs/telemetry'),ut=require(_0x13aec8(0x2a8)),W=require(_0x13aec8(0x2db)),X=require('@univerjs/drawing'),jt=require(_0x13aec8(0x147)),dt=_0x13aec8(0x3dd),$t='/universer-api/snapshot',vt=_0x13aec8(0x3bf),Ht=_0x13aec8(0x26a),kt=0x7d0,ft=_0x13aec8(0x163),St=_0x13aec8(0x252),Bt=_0x13aec8(0x340),pt=_0x13aec8(0x444),Ft=0x7530,He=_0x13aec8(0x2d7),gt=0x4e20,Wt=0x4e20,mt='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Gt=_0x13aec8(0x2f3),Kt=0x3e8,It='COLLAB_SUBMIT_CHANGESET_URL',Yt=_0x13aec8(0x41c),Et=_0x13aec8(0x311),qt=_0x13aec8(0x2ee),zt=_0x13aec8(0x3b5),Jt=_0x13aec8(0x468);var Ct=(_0x1938db=>(_0x1938db[_0x1938db[_0x13aec8(0x3a8)]=0x0]=_0x13aec8(0x3a8),_0x1938db[_0x1938db['OK']=0x1]='OK',_0x1938db[_0x1938db['INTERNAL_ERROR']=0x2]=_0x13aec8(0x3a5),_0x1938db[_0x1938db['PERMISSION_DENIED']=0x3]=_0x13aec8(0x2aa),_0x1938db[_0x1938db['NOT_FOUND']=0x4]='NOT_FOUND',_0x1938db[_0x1938db['UNAUTHENTICATED']=0x5]=_0x13aec8(0x3b7),_0x1938db[_0x1938db['ALREADY_EXISTS']=0x6]=_0x13aec8(0x1f3),_0x1938db[_0x1938db['INVALID_ARGUMENT']=0x7]=_0x13aec8(0x15b),_0x1938db[_0x1938db[_0x13aec8(0x290)]=0x8]=_0x13aec8(0x290),_0x1938db[_0x1938db[_0x13aec8(0x310)]=0x9]=_0x13aec8(0x310),_0x1938db[_0x1938db[_0x13aec8(0x1ed)]=0x1389]=_0x13aec8(0x1ed),_0x1938db[_0x1938db[_0x13aec8(0x410)]=0x1771]=_0x13aec8(0x410),_0x1938db[_0x1938db[_0x13aec8(0x3b0)]=0x1772]=_0x13aec8(0x3b0),_0x1938db[_0x1938db[_0x13aec8(0x461)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1938db[_0x1938db[_0x13aec8(0x278)]=0x1b59]='APPLY_REJECT',_0x1938db[_0x1938db[_0x13aec8(0x3a7)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1938db[_0x1938db[_0x13aec8(0x437)]=0x1b5b]=_0x13aec8(0x437),_0x1938db[_0x1938db['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x13aec8(0x456),_0x1938db[_0x1938db[_0x13aec8(0x1b6)]=0x1b5d]=_0x13aec8(0x1b6),_0x1938db[_0x1938db[_0x13aec8(0x2ed)]=0x1f41]=_0x13aec8(0x2ed),_0x1938db[_0x1938db[_0x13aec8(0x38e)]=0x2329]=_0x13aec8(0x38e),_0x1938db[_0x1938db['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x13aec8(0x271),_0x1938db[_0x1938db['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x13aec8(0x2df),_0x1938db[_0x1938db[_0x13aec8(0x46a)]=0x232c]=_0x13aec8(0x46a),_0x1938db[_0x1938db[_0x13aec8(0x287)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x1938db[_0x1938db['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x13aec8(0x3e2),_0x1938db[_0x1938db[_0x13aec8(0x42c)]=0x2712]=_0x13aec8(0x42c),_0x1938db[_0x1938db[_0x13aec8(0x44e)]=0x2713]=_0x13aec8(0x44e),_0x1938db[_0x1938db[_0x13aec8(0x3d7)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1938db[_0x1938db[_0x13aec8(0x28f)]=-0x1]=_0x13aec8(0x28f),_0x1938db))(Ct||{}),Z=(_0x3228f2=>(_0x3228f2[_0x3228f2['UNIVER_UNKNOWN']=0x0]=_0x13aec8(0x1f4),_0x3228f2[_0x3228f2[_0x13aec8(0x471)]=0x1]=_0x13aec8(0x471),_0x3228f2[_0x3228f2[_0x13aec8(0x40c)]=0x2]=_0x13aec8(0x40c),_0x3228f2[_0x3228f2[_0x13aec8(0x149)]=0x3]=_0x13aec8(0x149),_0x3228f2[_0x3228f2['UNIVER_PROJECT']=0x4]=_0x13aec8(0x2e8),_0x3228f2[_0x3228f2[_0x13aec8(0x28f)]=-0x1]=_0x13aec8(0x28f),_0x3228f2))(Z||{}),G=(_0x1621a6=>(_0x1621a6[_0x1621a6[_0x13aec8(0x1cf)]=0x0]=_0x13aec8(0x1cf),_0x1621a6[_0x1621a6['HELLO']=0x1]='HELLO',_0x1621a6[_0x1621a6[_0x13aec8(0x494)]=0x2]=_0x13aec8(0x494),_0x1621a6[_0x1621a6[_0x13aec8(0x1fb)]=0x3]=_0x13aec8(0x1fb),_0x1621a6[_0x1621a6[_0x13aec8(0x3c5)]=0x4]=_0x13aec8(0x3c5),_0x1621a6[_0x1621a6[_0x13aec8(0x429)]=0x5]=_0x13aec8(0x429),_0x1621a6[_0x1621a6['RECV']=0x6]=_0x13aec8(0x41a),_0x1621a6[_0x1621a6[_0x13aec8(0x28f)]=-0x1]=_0x13aec8(0x28f),_0x1621a6))(G||{}),he=(_0x5b8c2d=>(_0x5b8c2d[_0x5b8c2d[_0x13aec8(0x176)]=0x0]=_0x13aec8(0x176),_0x5b8c2d[_0x5b8c2d['OK']=0x1]='OK',_0x5b8c2d[_0x5b8c2d[_0x13aec8(0x3ab)]=0x2]=_0x13aec8(0x3ab),_0x5b8c2d[_0x5b8c2d['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x5b8c2d[_0x5b8c2d[_0x13aec8(0x1d6)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x5b8c2d[_0x5b8c2d[_0x13aec8(0x33c)]=0x3eb]=_0x13aec8(0x33c),_0x5b8c2d[_0x5b8c2d['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x13aec8(0x336),_0x5b8c2d[_0x5b8c2d[_0x13aec8(0x28f)]=-0x1]=_0x13aec8(0x28f),_0x5b8c2d))(he||{}),Tt=(_0x128a97=>(_0x128a97[_0x128a97[_0x13aec8(0x409)]=0x0]=_0x13aec8(0x409),_0x128a97[_0x128a97[_0x13aec8(0x1e2)]=0x1]=_0x13aec8(0x1e2),_0x128a97[_0x128a97[_0x13aec8(0x1e0)]=0x2]='HttpExport',_0x128a97[_0x128a97[_0x13aec8(0x200)]=0x3]=_0x13aec8(0x200),_0x128a97[_0x128a97['UnitSnapshot']=0x4]='UnitSnapshot',_0x128a97[_0x128a97[_0x13aec8(0x28f)]=-0x1]=_0x13aec8(0x28f),_0x128a97))(Tt||{});const q=_0x13aec8(0x38a),Xt={};var Q=(_0xd6ab05=>(_0xd6ab05[_0x13aec8(0x232)]=_0x13aec8(0x232),_0xd6ab05[_0x13aec8(0x2aa)]=_0x13aec8(0x2aa),_0xd6ab05['CONFLICT']=_0x13aec8(0x419),_0xd6ab05['CLOSE_ROOM']='CLOSE_ROOM',_0xd6ab05[_0x13aec8(0x270)]=_0x13aec8(0x270),_0xd6ab05['SOCKET_FAILED_RETRY']=_0x13aec8(0x160),_0xd6ab05[_0x13aec8(0x24c)]=_0x13aec8(0x24c),_0xd6ab05[_0x13aec8(0x39a)]=_0x13aec8(0x39a),_0xd6ab05))(Q||{});class te{constructor(){var _0x45e5ae=_0x13aec8;D(this,_0x45e5ae(0x493),new H[(_0x45e5ae(0x3da))]()),D(this,_0x45e5ae(0x16e),this[_0x45e5ae(0x493)][_0x45e5ae(0x4a9)]());}[_0x13aec8(0x4b1)](_0x1d33de){var _0x1ef3e4=_0x13aec8;this['_event$'][_0x1ef3e4(0x1c8)](_0x1d33de);}}const bt=a[_0x13aec8(0x159)](_0x13aec8(0x228));function Rt(_0x31c3c1){var _0x5847a1=_0x13aec8,_0x1b9621,_0x4ba013,_0x10dd77,_0x4f96d6,_0x35f784;const _0x40131f=_0x31c3c1['data'],_0x2dfd2c=JSON[_0x5847a1(0x136)](_0x40131f);switch(_0x2dfd2c['cmd']){case G[_0x5847a1(0x429)]:case G[_0x5847a1(0x345)]:{const _0x26a505=_0x2dfd2c[_0x5847a1(0x215)];return{..._0x2dfd2c,'data':_0x26a505,'cmd':_0x2dfd2c[_0x5847a1(0x4a7)]};}case G[_0x5847a1(0x494)]:{const _0x20a8ed=_0x2dfd2c[_0x5847a1(0x26d)];return{..._0x2dfd2c,'data':_0x20a8ed,'cmd':_0x2dfd2c[_0x5847a1(0x4a7)]};}case G[_0x5847a1(0x41a)]:{const _0x1309d6=_0x2dfd2c['collaMsg'];switch(_0x1309d6[_0x5847a1(0x486)]){case m['CollaborationEvent'][_0x5847a1(0x4b0)]:return{..._0x2dfd2c,'data':{..._0x1309d6,'data':(_0x1b9621=_0x1309d6[_0x5847a1(0x248)])==null?void 0x0:_0x1b9621['cs']},'cmd':_0x2dfd2c['cmd']};case m[_0x5847a1(0x20b)]['CHANGESET_ACK']:return{..._0x2dfd2c,'data':{..._0x1309d6,'data':(_0x4ba013=_0x1309d6[_0x5847a1(0x39c)])==null?void 0x0:_0x4ba013['cs']},'cmd':_0x2dfd2c[_0x5847a1(0x4a7)]};case m[_0x5847a1(0x20b)][_0x5847a1(0x199)]:return{..._0x2dfd2c,'data':{..._0x1309d6,'data':(_0x10dd77=_0x1309d6[_0x5847a1(0x404)])==null?void 0x0:_0x10dd77['cs']},'cmd':_0x2dfd2c[_0x5847a1(0x4a7)]};case m[_0x5847a1(0x20b)][_0x5847a1(0x24e)]:return{..._0x2dfd2c,'data':{..._0x1309d6,'data':(_0x4f96d6=_0x1309d6[_0x5847a1(0x498)])==null?void 0x0:_0x4f96d6['cs']},'cmd':_0x2dfd2c[_0x5847a1(0x4a7)]};case m[_0x5847a1(0x20b)][_0x5847a1(0x35b)]:return{..._0x2dfd2c,'data':{..._0x1309d6,'data':(_0x35f784=_0x1309d6['csShouldRetryEvent'])==null?void 0x0:_0x35f784['cs']},'cmd':_0x2dfd2c[_0x5847a1(0x4a7)]};case m['CollaborationEvent'][_0x5847a1(0x261)]:return{..._0x2dfd2c,'data':{..._0x1309d6,'data':_0x1309d6[_0x5847a1(0x307)]},'cmd':_0x2dfd2c[_0x5847a1(0x4a7)]};case m['CollaborationEvent'][_0x5847a1(0x24b)]:return{..._0x2dfd2c,'data':{..._0x1309d6,'data':_0x1309d6[_0x5847a1(0x1c2)]},'cmd':_0x2dfd2c[_0x5847a1(0x4a7)]};case m[_0x5847a1(0x20b)][_0x5847a1(0x1f9)]:return{..._0x2dfd2c,'data':{..._0x1309d6,'data':_0x1309d6[_0x5847a1(0x1bd)]},'cmd':_0x2dfd2c[_0x5847a1(0x4a7)]};case m[_0x5847a1(0x20b)][_0x5847a1(0x227)]:return{..._0x2dfd2c,'data':{..._0x1309d6,'data':_0x1309d6[_0x5847a1(0x488)]},'cmd':_0x2dfd2c[_0x5847a1(0x4a7)]};case m[_0x5847a1(0x20b)]['LIVESHARE_FETCH_OPERATIONS']:case m[_0x5847a1(0x20b)][_0x5847a1(0x244)]:return{..._0x2dfd2c,'data':{..._0x1309d6,'data':_0x1309d6[_0x5847a1(0x223)]},'cmd':_0x2dfd2c[_0x5847a1(0x4a7)]};case m['CollaborationEvent'][_0x5847a1(0x3af)]:return{..._0x2dfd2c,'data':{..._0x1309d6,'data':_0x1309d6[_0x5847a1(0x488)]},'cmd':_0x2dfd2c[_0x5847a1(0x4a7)]};case m[_0x5847a1(0x20b)][_0x5847a1(0x43d)]:return{..._0x2dfd2c,'data':_0x1309d6,'cmd':_0x2dfd2c[_0x5847a1(0x4a7)]};case m[_0x5847a1(0x20b)][_0x5847a1(0x264)]:return{..._0x2dfd2c,'data':{..._0x1309d6,'data':_0x1309d6['commentUpdateEvent']},'cmd':_0x2dfd2c[_0x5847a1(0x4a7)]};case m[_0x5847a1(0x20b)][_0x5847a1(0x16a)]:return{..._0x2dfd2c,'data':{..._0x1309d6,'data':_0x1309d6[_0x5847a1(0x13e)]},'cmd':_0x2dfd2c['cmd']};case m[_0x5847a1(0x20b)]['SHOULD_CLOSE_CONN']:return{..._0x2dfd2c,'data':{..._0x1309d6,'data':_0x1309d6[_0x5847a1(0x30d)]},'cmd':_0x2dfd2c[_0x5847a1(0x4a7)]};case m[_0x5847a1(0x20b)]['UNISCRIPT_RUN']:return{..._0x2dfd2c,'data':{..._0x1309d6,'data':_0x1309d6[_0x5847a1(0x2f5)]},'cmd':_0x2dfd2c[_0x5847a1(0x4a7)]};default:return _0x2dfd2c;}}default:return _0x2dfd2c;}}function Ot(_0x318412){var _0x12c2df=_0x13aec8;switch(_0x318412[_0x12c2df(0x4a7)]){case G['HEARTBEAT']:case G['HELLO']:return JSON[_0x12c2df(0x406)]({'cmd':_0x318412[_0x12c2df(0x4a7)],'routeKey':_0x318412[_0x12c2df(0x464)]});case G['INGEST']:{let _0x36239b;switch(_0x318412[_0x12c2df(0x418)]['eventID']){case m['CollaborationEvent'][_0x12c2df(0x261)]:{_0x36239b={'eventID':m['CollaborationEvent'][_0x12c2df(0x261)],'updateCursorEvent':_0x318412[_0x12c2df(0x418)]['data']};break;}case m[_0x12c2df(0x20b)]['USERS_LEAVE']:{_0x36239b={'eventID':m[_0x12c2df(0x20b)]['USERS_LEAVE'],'leaveEvent':_0x318412[_0x12c2df(0x418)][_0x12c2df(0x418)]};break;}case m['CollaborationEvent'][_0x12c2df(0x24b)]:{_0x36239b={'eventID':m['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x318412[_0x12c2df(0x418)][_0x12c2df(0x418)]};break;}case m[_0x12c2df(0x20b)][_0x12c2df(0x227)]:{_0x36239b={'eventID':m[_0x12c2df(0x20b)][_0x12c2df(0x227)],'liveShareNewHost':_0x318412['data'][_0x12c2df(0x418)]};break;}case m[_0x12c2df(0x20b)]['LIVESHARE_OPERATION']:{_0x36239b={'eventID':m['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x318412[_0x12c2df(0x418)][_0x12c2df(0x418)]};break;}case m[_0x12c2df(0x20b)][_0x12c2df(0x3af)]:{_0x36239b={'eventID':m[_0x12c2df(0x20b)][_0x12c2df(0x3af)],'liveShareTerminate':_0x318412[_0x12c2df(0x418)][_0x12c2df(0x418)]};break;}case m[_0x12c2df(0x20b)][_0x12c2df(0x3a3)]:{_0x36239b={'eventID':m[_0x12c2df(0x20b)][_0x12c2df(0x3a3)],'liveShareRequestHost':_0x318412['data'][_0x12c2df(0x418)]};break;}case m['CollaborationEvent'][_0x12c2df(0x401)]:{_0x36239b={'eventID':m[_0x12c2df(0x20b)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x36239b={'eventID':_0x318412[_0x12c2df(0x418)][_0x12c2df(0x486)]};}return JSON[_0x12c2df(0x406)]({'cmd':_0x318412[_0x12c2df(0x4a7)],'routeKey':_0x318412[_0x12c2df(0x464)],'collaMsg':_0x36239b});}case G[_0x12c2df(0x494)]:return JSON[_0x12c2df(0x406)]({'cmd':_0x318412[_0x12c2df(0x4a7)],'routeKey':_0x318412[_0x12c2df(0x464)],'joinReq':_0x318412[_0x12c2df(0x418)]});case G[_0x12c2df(0x1fb)]:return JSON[_0x12c2df(0x406)]({'cmd':_0x318412[_0x12c2df(0x4a7)],'routeKey':_0x318412[_0x12c2df(0x464)],'leaveReq':_0x318412[_0x12c2df(0x418)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Zt=Object['defineProperty'],Qt=Object[_0x13aec8(0x203)],ei=(_0x525853,_0xdaf266,_0x6d9deb,_0x16c3cb)=>{var _0x5bdb73=_0x13aec8;for(var _0x5dba65=_0x16c3cb>0x1?void 0x0:_0x16c3cb?Qt(_0xdaf266,_0x6d9deb):_0xdaf266,_0x111dff=_0x525853[_0x5bdb73(0x254)]-0x1,_0x242a01;_0x111dff>=0x0;_0x111dff--)(_0x242a01=_0x525853[_0x111dff])&&(_0x5dba65=(_0x16c3cb?_0x242a01(_0xdaf266,_0x6d9deb,_0x5dba65):_0x242a01(_0x5dba65))||_0x5dba65);return _0x16c3cb&&_0x5dba65&&Zt(_0xdaf266,_0x6d9deb,_0x5dba65),_0x5dba65;},ue=(_0x5698bf,_0x59fef8)=>(_0x5055e6,_0x15880d)=>_0x59fef8(_0x5055e6,_0x15880d,_0x5698bf);const ke=a[_0x13aec8(0x159)](_0x13aec8(0x320));function _0x5915(){var _0x48b456=['_key','DocCollaborationEntity','updateOfflineData','UniverSheetsPlugin','ISnapshotServerService','getUnitStatus$','mapDocumentTypeToUniverType','salt','encode','CollaborationSessionService','getTypeOfUnitAdded$','substr','PSEUDO_FETCH_MISSING_RESULT','[CollaborationEntity]','snapshotServerUrl','roomInfos','snapshot','LIVESHARE_FETCH_OPERATIONS','_memberService','symbol','newCsEvent','_roomCreated$','stringify','reverse','CBC','Undefined','univer-pro.collaboration-client.single-active-unit-service','pipe','UNIVER_SHEET','_createSocketURL','_waitForHeartbeatResponse','Quantity','SNAPSHOT_INVALID_SNAPSHOT','src','ceil','mode','dispose','loginUrlKey','b64DecodeUnicode','EvpKDF','data','CONFLICT','RECV','name','/universer-api/comb','LocalUndoRedoService','DEFAULT_FILE_NAME','WorksheetProtectionPointModel','debug','Workbook','_schedule','_injector','_resendTimer','CollaborationImageIoService','close','error','WordArray','HEARTBEAT','CollaborationSocketService','ConflictState','YUUMI_URL_COL_OUT_OF_RANGE','SetSelectionsOperation','pending','getSnapshotAPIPath','AwaitingWithPendingState','wsSessionTicketUrl','headers','_emitMembers','IDLE','delete','init','APPLY_REVISION_CONFILICT','getAllWorksheetPermissionPoint','ImageSourceType','getAllMembers','_getSignURL','compose','MSG_FOR_ERROR','pluginName','getCurrentRevOfUnit','finalize','_onConnectionFailed','_transformStateCache','?size=','HEARTBEAT_INTERVAL','Rectangle','getWorkbookSelections','_showConflictNotification','_clearHeartbeatTimer','_incrementRevisionNumber','entries','_fetchMissChangesets','take','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','YUUMI_RATE_OVER_LIMIT','roles','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','subUnitId','Malformed\x20UTF-8\x20data','@univerjs/network','includes','SnapshotService','APPLY_PERMISSION_DENIED','_type','Utf8','_xformMode','_reverseMap','PendingState','BlockCipher','onRemoteRej','kdf','_unitInfo$','POST','ENSURE_SNAPSHOT_EXECUTION','extend','socket$','routeKey','_onJoinRoomEvent','getCollabEntity$','UUID','/universer-api/uniscript','textRanges','LICENSE_EXPORT_SIZE_EXCEEDED','257768tdZkjY','add','/object/','_queuedRemoteChangesets','_parse','MentionIoHttpService','UNIVER_DOC','session','transformChangesets','MD5','textEncoder','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','telemetry\x20info\x20is\x20not\x20initialized','getValue','NoPadding','range','SnapshotServerOverHTTPService','_data','SerializableCipher','AWAITING','_mode','_transformService','getMemberID','_createHmacHelper','getCurrentUnitForType','_tryReconnect','clone','eventID','_getLoginPath','liveShareNewHost','[PendingState]:\x20unhandled\x20univer\x20type:\x20','HmacSHA1','userID','ERROR_IMAGE_TYPE','1080888HQwPrR','[FetchMissState]','SUCCUSS','522326UksOAB','SUBMIT_CHANGESET','every','_event$','JOIN','ReplaySubject','_init','getUnit','csRejEvent','StreamCipher','_scheduleTimestamp','hasher','_onConnectionOpen','format','_waitCount','_resendWithTimeout','_telemetryInfo','defaultWorksheetPermissionPoint','change$','startTime','reqId','deserializeToCombResponse','m2Prime','cmd','_pendingMutations','asObservable','allowed','mixIn','readInt32LE','mutations','sigBytes','IConfigService','PERMISSION_REJ','emitEvent','onCommentUpdate','getCurrentUser','_clearRedo','DisposableCollection','_substituteRedoStack','toString','type','onlyLocal','_networkConditionService','parse','getDeserializedSheetBlock','RangeProtectionRuleModel','_changesetSessionId','/collaborator','resend','fetchMiss','_initMergeInterceptor','updatePermissionObjEvent','_instanceService','authzUrl','buffer','parseProtocolChangeset','_isPermissionRej','url','stopTime','3146176dLhWNN','@univerjs-pro/license','onRemoteAck','UNIVER_SLIDE','randomBytes','_univerInstanceService','_resendTimeout','get','AES','image/jpeg','clear','deepClone','runId','_map','Disposable','$super','ivSize','_sessions','bind','createIdentifier','enc','INVALID_ARGUMENT','offline','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_retryConnectingTimer','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','SOCKET_FAILED_RETRY','onTransformRemoteChangesetByStateCache','json','COLLAB_WEB_SOCKET_URL','revision','NO_OTHER_CLIENTS_EDITING','_state','LOCAL_CACHE_INTERVAL_KEY','initWorkbookPermissionChange','defineProperty','UPDATE_PERMISSION_OBJ','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','downloadEndpointUrl','AuthzIoHttpService','event$','refreshPermission','_retryCount','message$','create','execute','override','params','UNKNOWN_CODE','_collaborationSessionService','_onRemoteChangeset','/-/object/-/batch_allowed','SessionStatus','subType','/unit/','onSyncEditingCollabCursor','_socketService','onMissedChangesetFetched','clamp','INetworkConditionService','state$','removeMember','_initDependencies','incrementRevOfUnit','key','from','_authzIoService','registerDependencies','unsubscribe','BehaviorSubject','MentionType','objectActions','Base64','_onLocalMutation','_getDownloadEndpointURL','result','createDecryptor','onMissingChangesets','7ZyWRZB','retryConnectingInterval','createCollaborator','CollaborativeUndoRedoService','IAuthzIoService','NEW_CHANGESETS','toggleOnline','_process','collaborators','fetchMissingChangesets','getLocalCacheKey','randomUUID','_members$','_collaborationPaused','c2Prime','code','takeUntil','/allowed','_sendHeartbeatTimer','socket\x20close','search','awaitingChangeset','_remoteChangesetQueue','/-/object/list','FileId','HTTPService','parseChangesetToProtocol','_getAPIPrefixPath','toggleOffline','getRandomValues','loadSheet','IUndoRedoService','open$','actions','APPLY_DUPLICATED','append','crypto','_logService','_stopTelemetryCollaborationNewChangeset','status$','disposeWithMe','leaveEvent','/universer-api/file/{fileID}/sign-url','algo','prototype','1052864QrERqI','joinEvent','@univerjs/core','createInstance','CHANGESET_ACK','transformStack\x20failed!','failed\x20to\x20apply\x20missed\x20changesets!','next','_createInitialStateImpl','memberID','[SyncedState]:\x20received\x20rejection.','action','session.join-failed','isTransformMutationsWithChangesetSuccess','UNKNOWN_CMD','then','patch','defaultWorkbookPermissionPoints','onTransformRemoteChangesetByIMECache','Hex','indexOf','JOIN_ROOM_NOT_EXISTS','getGlobalObject','OfflineState','setShowComponents','getMember','localCacheService','_status$','function','[OfflineState]:\x20received\x20acknowledgement.','HMAC','HttpExport','subscribe','HttpImport','_timeoutTimer','searchParams','selections','localeService','_oKey','splice','serializeCombRequest','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_nRounds','getAllWorksheetPermissionPointByPointPanel','CHANGESET_REVISION_CONFILICT','_HTTPService','post','href','_registerDependencies','fetchThroughInterceptors','ALREADY_EXISTS','UNIVER_UNKNOWN','_applyRemoteChangeset','msCrypto','_singleActiveUnitService','isInternalEditorID','USERS_LEAVE','getAllWorkbookPermissionPoint','LEAVE','_compressMutationService','onRemoteChangeset','isTransformChangesetsSuccess','_sessionStatus$','UnitEmbedded','getConfig','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','getOwnPropertyDescriptor','Latin1','iterations','save\x20fail\x20reason\x20is\x20','ERROR_EXCEED_SIZE','[OfflineState]:\x20received\x20rejection.','reconnect','onload','CollaborationEvent','_invKeySchedule','_replaceFileID','image/jpg','addImageSourceCache','_disableEditing','getSheetBlock','objectType','_initRequestHeader','{fileID}','infoRsp','Decryptor','RichTextEditingMutation','_iKey','/role','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','\x20in\x20_schedule.','target','encodeURIComponent','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','CollaborationEntity','_onUserLeave','firstValueFrom','_getUploadFileURL','liveShareOperation','getInterceptPoints','COMPRESS_MUTATION_SEND','_onCombEvent','LIVESHARE_NEW_HOST','univer-pro.collaboration-client.network-condition.service','_redoStacks','_clearTimeoutTimer','pad','now','RxDisposable','_getCurrentRevision','updateMember','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','OTHER_CLIENT_EDITING','_handlerCallback','apply','_collaborationUIEventService','IImageIoService','baseRev','formatter','_userManagerService','AwaitingState','sid','/resources','ONLINE','getUnitType','SyncedState','MemberService','join','isPermissionRej','abs','LIVESHARE_OPERATION','_createHelper','reset','sessionStatus','permissionRejEvent','_exhaustRemoteChangesetQueue','_undoRedoService','USERS_ENTER','SOCKET_FAILED','IContextService','CHANGESET_REJ','ImageUploadStatusType','onStateChange','capture','ws://127.0.0.1:8000/universer-api/comb/connect','_onUserJoin','length','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_doProcessBlock','updateCollaborator','_httpService','NOT_COLLAB','collabWebSocketUrl','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_onRemoteRejected','onTransformState','_commandService','_unlockTransition','has','UPDATE_CURSOR','UnitObject','ILocalCacheService','COMMENT_UPDATE','_toggleOnline','Worksheet','equals','_members','getImage','SEND_CHANGESET_TIMEOUT','charCodeAt','DataLoaderService','joinRsp','IPermissionService','_startCollaboration','JOIN_ROOM_FAILED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/block/','[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.','_socketMessageSubscription','RevisionService','_localeService','reduce','APPLY_REJECT','rng','max','find','_doCryptBlock','_commentService','_append','3YtKEaC','SheetsSelectionsService','_transformIMECache','changesets','saveImage','getFocusedUnit','delay','MUTATION','LICENSE_DISTRO_REJECTED','_tryEnsureSocket','fromCollab','SheetTransformSelectionsService','getSheetId','_createHandler','requireSession','_acknowledgedAwaitingChangeset','UNRECOGNIZED','TOO_MANY_REQUESTS','default','/rev/','_roomMembers','_unitID','ITransformService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_ENC_XFORM_MODE','_commentUpdate$','words','map','_removeRoom','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','readAsDataURL','addHandlerCallback','objectID','_iv','disableLocalCache','_keyPriorReset','_configService','[OfflineState]:\x20received\x20changeset.','_updateLocalCache','_throwTelemetryCollaborationNewChangeset','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','@univerjs/docs','synced','PERMISSION_DENIED','waitForRoom$','hostname','socketService','_entityInit$','requestParams','onCommandExecuted','getRoom','_transformStack','_onRemoteRetry','_onMessage','ISocketService','floor','_shouldReportTelemetry','_entities','call','onRemoteRetry','createEncryptor','_hash','_updateState','values','pauseCollaboration','UniverNetworkPlugin','unitId','UniverInstanceType','\x0aCurrent:\x20','clearUndoRedo','getActiveSheet','_sendingTimer','rxjs/operators','SelectRange','origin','originalMeta','_initUnitPermissionChange','toLowerCase','BASE64','_clearUndo','ciphertext','awaiting_with_pending','2611190hMFTuO','encrypt','CollaborationUIEventService','c1Prime','status','body','HEARTBEAT_TIMEOUT','onStarting','touchDependencies','complete','@univerjs/sheets','_onConflict','transformUndoRedo','SheetCollaborationEntity','LICENSE_IMPORT_SIZE_EXCEEDED','_telemetryService','_getSendChangesetTimeout','_joinRoom','startsWith','_syncEditingCollabCursor','Could\x20not\x20dynamically\x20require\x20\x22','sessionTicket','ticket','UNIVER_PROJECT','getAllRangePermissionPoint','_getRedoStack','Inject','sin','CONNECTOR_DATA_TOO_LARGE','/universer-api/oidc/authpage','registerHTTPInterceptor','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','toDisposable','lib','LOCAL_CACHE_INTERVAL','COMPRESS_MUTATION_APPLY','uniscriptRunEvent','repeat','8938485oMcoim','_change$','[PendingState]:\x20received\x20acknowledgement.','mergeOverrideWithDependencies','_hasher','&to=','_state$','_transformSelections','_sheetTransformSelectionsService','slice','CollaborationController','interceptor','entityInit$','size','setCurrentUser','_createSocket','updateCursorEvent','exports','enableOfflineEditing','members$','_sender','DEFAULT_COLLAB_WEB_SOCKET_URL','shouldCloseConn','_nDataBytes','ruleRefresh','COMPLETION_FINISHED','LOGIN_URL_KEY','concat','_sendHeartbeat','_eventService','baseProtectionActions','compute','sheets','_keySchedule','_onFetchMissResult','list','FETCH_MISS','enableSingleActiveInstanceLock','_permissionService','&source=','_loadDoc','univer-pro.collaboration-client-socket-service','Tools','_config','OpenSSL','RETRY_CONNECTING_MAX_COUNT_KEY','WorkbookEditablePermission','onLocalMutation','session.room-not-exists','reject','application/json','onTransformSelections','_collaborationTimeoutTimer','SHA1','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','ILogService','JOINING','LocaleService','_transformRemoteChangesetByStateCache','_transitionLocked','/universer-api/snapshot/','loadOfflineData','UniverCollaborationClientPlugin','GLOBAL_ROOMS_CNT_EXCEEDS','ISingleActiveUnitService','decrypt','hasOwnProperty','_snapshotServerService','[CollaborationSessionService]','JOIN_ROOM_PERMISSION_DENIED','appendMutation','_socketReady','BufferedBlockAlgorithm','/universer-api/user/session-ticket','getTargetByPermissionId','MergeInterceptorFactory','putCollaborators','_handler','HELLO','Error\x20on\x20receiving\x20event','filter','_submitChangeset','charAt','[CollaborationState]:\x20apply\x20error!','connection\x20error','set','batchAllowed','_startTelemetryCollaborationNewChangeset','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_scheduleCollaborationTimeoutTimer','workbook','put','fetch_missing','OFFLINE','ICommandService','_getSessionTicket','padding','CommandType','Hasher','SYNCED','CHANGESET_SHOULD_RETRY','_clearCollaborationTimeoutTimer','string','unitId\x20is\x20not\x20found','getTypeOfUnitDisposed$','keySize','send','_checkMissing','AUTHZ_URL_KEY','People','sessionStatus$','[CollaborationSessionService]:\x20socket\x20error','_getCtorByUniverType','[CollaborationSession]','_revisionService','_onRemoteACK','cfg','/universer-api/stream/file/upload','executeCommand','loadUnit','_undoStacks','_substituteUndoStack','generateRandomId','_toggleOffline','_socket','ICollaborationSocketService','push','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','withCredentials','_updateStatus','BlockCipherMode','_prevBlock','_decreaseWaiting','onSendChangeset','merge','unitID','FETCH_MISSING','FetchingMissState','ERROR_IMAGE','_listenToNetworkCondition','collaboratorID','COLLAB_WEB_SOCKET_URL_KEY','state','DependentOn','ThresholdInterceptorFactory','_awaitingChangeset','Pkcs7','collaboration-client.config','IUniverInstanceService','_changesetReqId','_initCloseConn','LICENSE_MAX_UNITS_EXCEEDED','file','conflict','resolve','_doReset','_socket$','_DEC_XFORM_MODE','CompressMutationService','readyForCollab','transformSelections','_snapshotService','resourceIDs','SUBMIT_CHANGESET_TIMEOUT','update','csAckEvent','getPermissionPoint','onTransformIME','duration','online$','sendChangesetTimeout','forEach','LIVESHARE_REQUEST_HOST','HTTPRequest','INTERNAL_ERROR','x-univer-host','APPLY_NON_SEQUENTIAL_REVISION','UNDEFINED','saveSnapshot','_localCacheService','FAIL','getUnitId','Base','uploadFileServerUrl','LIVESHARE_TERMINATE','SNAPSHOT_HAS_BEEN_REMOVED','fetching\x20missing\x20changesets\x20from\x20','unknown','OTHER_CLIENTS_EDITING','blockSize','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_getUndoStack','UNAUTHENTICATED','_onOffline','Cipher','CollaborationSession','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','PERSON','commentUpdate$','Encryptor','SNAPSHOT_URL_KEY','InsertSheetMutation','/fetchmissing?from=','rev','_candidateSocket','COLLAB_SUBMIT_CHANGESET_URL_KEY','INGEST','dispose$','copyFileMeta','updatePermissionPoint','session.room-full','location','signUrlServerUrl','[UniverCollaborationClientPlugin]','_executeRemoteChangeset','getCollabEntity','_lockTransition','_http','_replayCachedMutations','catch','_rescheduleHeartbeat','getTime','concatMap','enableAuthServer','YUUMI_SUBSCRIPTION_NOT_FOUND','close$','socket\x20open.','Subject','/new_changes','value','SNAPSHOT_SERVER_URL_KEY','[CollaborationUndoRedoService]','_doFinalize','_collabSessionService','Injector','YUUMI_UNABLE_LOAD_URL','subject','getCurrentSelections','editingUnit','_cipher','createSocket','Optional','[DataLoaderService]','_getAPIPrefix','_minBufferSize','__esModule','_imageSourceCache','transformMutationsWithChangeset','_clearScheduledTask'];_0x5915=function(){return _0x48b456;};return _0x5915();}function ti(_0x516eda,_0x5305d6,_0x49a060){var _0x21592b=_0x13aec8;return _0x516eda+'/'+_0x5305d6+_0x21592b(0x17c)+_0x49a060+_0x21592b(0x3db);}exports['CollaborationSocketService']=class extends a[_0x13aec8(0x154)]{constructor(_0x5ef631,_0x4e4aec,_0x4841bf,_0x120e60,_0x21c3ec){var _0x141e3f=_0x13aec8;super(),this[_0x141e3f(0x423)]=_0x5ef631,this['_http']=_0x4e4aec,this[_0x141e3f(0x2a3)]=_0x4841bf,this[_0x141e3f(0x1b9)]=_0x120e60,this[_0x141e3f(0x33a)]=_0x21c3ec;}[_0x13aec8(0x3e7)](_0x10abb1){var _0x3e17f4=_0x13aec8;const _0x2128a6=this[_0x3e17f4(0x423)][_0x3e17f4(0x14d)](z[_0x3e17f4(0x2b5)]);if(!_0x2128a6)throw new Error(_0x3e17f4(0x34f));const _0x5111b2=_0x2128a6[_0x3e17f4(0x3e7)](_0x10abb1);if(!_0x5111b2)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x8ab936=new a[(_0x3e17f4(0x4b5))](),_0x613e72=new H['Subject']();_0x8ab936[_0x3e17f4(0x46c)](_0x5111b2[_0x3e17f4(0x3d8)][_0x3e17f4(0x1e1)](_0x4b20a0=>_0x613e72[_0x3e17f4(0x1c8)](_0x4b20a0))),_0x8ab936[_0x3e17f4(0x46c)](a[_0x3e17f4(0x2f1)](()=>_0x613e72[_0x3e17f4(0x2da)]()));const _0x47747d=new H[(_0x3e17f4(0x3da))]();_0x8ab936[_0x3e17f4(0x46c)](_0x5111b2['error$'][_0x3e17f4(0x1e1)](_0x271316=>_0x47747d['next'](_0x271316))),_0x8ab936['add'](a[_0x3e17f4(0x2f1)](()=>_0x47747d[_0x3e17f4(0x2da)]()));const _0x4db728=new H['Subject']();_0x8ab936[_0x3e17f4(0x46c)](_0x5111b2[_0x3e17f4(0x171)][_0x3e17f4(0x1e1)](_0x1f5455=>{var _0x1b7587=_0x3e17f4;const _0x38cc0d=Rt(_0x1f5455);_0x4db728[_0x1b7587(0x1c8)](_0x38cc0d);})),_0x8ab936[_0x3e17f4(0x46c)](a['toDisposable'](()=>_0x4db728[_0x3e17f4(0x2da)]()));let _0x44e987;const _0x213f46=()=>{var _0xa465a=_0x3e17f4;_0x47747d['next'](new Event(_0xa465a(0x34b))),_0x613e72[_0xa465a(0x1c8)](new CloseEvent(_0xa465a(0x34b))),_0x44e987[_0xa465a(0x426)]();};return _0x44e987={'memberID':'','close$':_0x613e72[_0x3e17f4(0x4a9)](),'error$':_0x47747d['asObservable'](),'open$':_0x5111b2[_0x3e17f4(0x1b4)],'message$':_0x4db728[_0x3e17f4(0x4a9)](),'send':_0x6f81e5=>{var _0xef9326=_0x3e17f4;if(_0x6f81e5[_0xef9326(0x4a7)]===G[_0xef9326(0x3c5)]){if(_0x6f81e5['data'][_0xef9326(0x486)]===m[_0xef9326(0x20b)][_0xef9326(0x491)]){this[_0xef9326(0x348)](_0x44e987,_0x6f81e5[_0xef9326(0x418)])['catch'](_0x134ecd=>{var _0x2a44cc=_0xef9326;this['_logService'][_0x2a44cc(0x427)](_0x134ecd),_0x213f46();});return;}if(_0x6f81e5[_0xef9326(0x418)][_0xef9326(0x486)]===m[_0xef9326(0x20b)]['FETCH_MISSING']){const _0x3c6f42=_0x6f81e5[_0xef9326(0x418)];this[_0xef9326(0x44b)](_0x3c6f42)[_0xef9326(0x1d0)](_0x2a8692=>{var _0x412f3d=_0xef9326;_0x4db728[_0x412f3d(0x1c8)]({'cmd':G[_0x412f3d(0x41a)],'code':he['OK'],'routeKey':_0x3c6f42['data']['unitID'],'routeType':'','data':{'eventID':m[_0x412f3d(0x20b)][_0x412f3d(0x3fc)],'data':{'changesets':_0x2a8692}}});})[_0xef9326(0x3d2)](_0x1556f4=>{var _0x46b745=_0xef9326;this[_0x46b745(0x1b9)][_0x46b745(0x427)](_0x1556f4),_0x213f46();});return;}}_0x5111b2['send'](Ot(_0x6f81e5));},'close':()=>{var _0x9d74d=_0x3e17f4;_0x5111b2['close'](),_0x8ab936[_0x9d74d(0x414)]();}},_0x44e987;}async[_0x13aec8(0x348)](_0x3f99f0,_0x49ecd6){var _0x2e509a=_0x13aec8,_0x545ffd,_0x580561;const {unitType:_0x59f69f,unitID:_0x3ee28f,changeset:_0x1d7ef9}=_0x49ecd6[_0x2e509a(0x418)],_0x5ab164={'unitID':_0x3ee28f,'memberID':_0x3f99f0[_0x2e509a(0x1ca)],'type':_0x59f69f,'changeset':m[_0x2e509a(0x1ae)](_0x1d7ef9)},_0x10078e=this[_0x2e509a(0x2a3)]['getConfig'](It),_0x4daf21=this[_0x2e509a(0x2a3)]['getConfig'](q),_0x24b4a9=ti((_0x580561=(_0x545ffd=_0x4daf21==null?void 0x0:_0x4daf21['collabSubmitChangesetUrl'])!=null?_0x545ffd:_0x10078e)!=null?_0x580561:Yt,_0x59f69f,_0x3ee28f);try{await this[_0x2e509a(0x3d0)][_0x2e509a(0x1ef)](_0x24b4a9,{'body':_0x5ab164});}catch(_0x195076){throw this['_logService'][_0x2e509a(0x427)](_0x2e509a(0x368),'submit\x20changeset\x20error!'),_0x195076;}}async[_0x13aec8(0x44b)](_0x3679ad){var _0x576949=_0x13aec8;const {unitID:_0x3bac13,from:_0x3cd1a8,to:_0x5da227,unitType:_0x17f345}=_0x3679ad[_0x576949(0x418)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3bac13,'type':_0x17f345,'from':_0x3cd1a8,'to':_0x5da227}))['changesets'];}},exports['CollaborationSocketService']=ei([ue(0x0,a[_0x13aec8(0x2eb)](a[_0x13aec8(0x3e1)])),ue(0x1,a[_0x13aec8(0x2eb)](z[_0x13aec8(0x1ad)])),ue(0x2,a['IConfigService']),ue(0x3,a['ILogService']),ue(0x4,m[_0x13aec8(0x3f4)])],exports['CollaborationSocketService']);const ii='collaboration_new_changeset';function ni(_0x47038d){var _0x13294c=_0x13aec8;return JSON['stringify'](_0x47038d)[_0x13294c(0x254)];}class Be{constructor(){var _0x2756bd=_0x13aec8;D(this,'_commentUpdate$',new H['Subject']()),D(this,_0x2756bd(0x3bd),this[_0x2756bd(0x298)][_0x2756bd(0x4a9)]());}[_0x13aec8(0x4b2)](_0x321c9f){var _0x5e1dc5=_0x13aec8;this[_0x5e1dc5(0x298)]['next'](_0x321c9f);}}var ri=Object['defineProperty'],si=Object['getOwnPropertyDescriptor'],oi=(_0x39ed6f,_0x3e032f,_0x4e09aa,_0x173c35)=>{for(var _0x2fe306=_0x173c35>0x1?void 0x0:_0x173c35?si(_0x3e032f,_0x4e09aa):_0x3e032f,_0x2b8b0d=_0x39ed6f['length']-0x1,_0x3b6585;_0x2b8b0d>=0x0;_0x2b8b0d--)(_0x3b6585=_0x39ed6f[_0x2b8b0d])&&(_0x2fe306=(_0x173c35?_0x3b6585(_0x3e032f,_0x4e09aa,_0x2fe306):_0x3b6585(_0x2fe306))||_0x2fe306);return _0x173c35&&_0x2fe306&&ri(_0x3e032f,_0x4e09aa,_0x2fe306),_0x2fe306;},Ke=(_0x166e88,_0x16f6f3)=>(_0x367a85,_0x6712df)=>_0x16f6f3(_0x367a85,_0x6712df,_0x166e88);exports['MemberService']=class extends a[_0x13aec8(0x154)]{constructor(_0x40f4ef,_0x2ef74e){var _0x33568b=_0x13aec8;super(),D(this,_0x33568b(0x293),new Map()),D(this,_0x33568b(0x405),new H[(_0x33568b(0x3da))]()),(this[_0x33568b(0x14b)]=_0x40f4ef,this[_0x33568b(0x239)]=_0x2ef74e,this[_0x33568b(0x1bc)](H['merge'](this['_univerInstanceService'][_0x33568b(0x35f)](a['UniverInstanceType'][_0x33568b(0x40c)])[_0x33568b(0x40b)](V['map'](_0x3125ff=>_0x3125ff['getUnitId']())),this[_0x33568b(0x14b)][_0x33568b(0x35f)](a[_0x33568b(0x2c2)][_0x33568b(0x471)])[_0x33568b(0x40b)](V[_0x33568b(0x29a)](_0x51e841=>_0x51e841[_0x33568b(0x3ac)]())),this[_0x33568b(0x14b)][_0x33568b(0x35f)](a['UniverInstanceType'][_0x33568b(0x149)])[_0x33568b(0x40b)](V[_0x33568b(0x29a)](_0x44fcb4=>_0x44fcb4[_0x33568b(0x3ac)]())))[_0x33568b(0x1e1)](_0x221d72=>this['_removeRoom'](_0x221d72))));}[_0x13aec8(0x2ab)](_0x57776c){var _0x44590d=_0x13aec8;return this[_0x44590d(0x293)][_0x44590d(0x260)](_0x57776c)?H['of'](this[_0x44590d(0x293)][_0x44590d(0x14d)](_0x57776c)):this[_0x44590d(0x405)][_0x44590d(0x40b)](V[_0x44590d(0x29a)](_0x326911=>{var _0x379cf1=_0x44590d;if(_0x326911===_0x57776c)return this[_0x379cf1(0x293)]['get'](_0x326911);}));}[_0x13aec8(0x305)](_0x429d15){var _0x3346ca=_0x13aec8;this[_0x3346ca(0x239)]['setCurrentUser'](_0x429d15);}[_0x13aec8(0x4b3)](){var _0x1b99eb=_0x13aec8;return this[_0x1b99eb(0x239)][_0x1b99eb(0x4b3)]();}[_0x13aec8(0x22f)](_0x405809,_0x57fa7c){var _0x127e08=_0x13aec8;let _0x9c15ff=this[_0x127e08(0x293)][_0x127e08(0x14d)](_0x405809);_0x9c15ff||(_0x9c15ff=new ai(),this[_0x127e08(0x293)][_0x127e08(0x34c)](_0x405809,_0x9c15ff),this[_0x127e08(0x405)]['next'](_0x405809)),_0x9c15ff[_0x127e08(0x22f)](_0x57fa7c);}[_0x13aec8(0x183)](_0x14f485,_0xed1e1a){var _0x126fd4=_0x13aec8;const _0x51be06=this[_0x126fd4(0x293)][_0x126fd4(0x14d)](_0x14f485);_0x51be06&&_0x51be06[_0x126fd4(0x183)](_0xed1e1a);}[_0x13aec8(0x2b1)](_0x1829dd){var _0x1f5e70=_0x13aec8;return this[_0x1f5e70(0x293)][_0x1f5e70(0x14d)](_0x1829dd);}[_0x13aec8(0x1da)](_0x2cd38a,_0xd40d32){var _0x3fd670=_0x13aec8;const _0x8c0e80=this[_0x3fd670(0x293)][_0x3fd670(0x14d)](_0x2cd38a);if(_0x8c0e80)return _0x8c0e80[_0x3fd670(0x1da)](_0xd40d32);}[_0x13aec8(0x29b)](_0x4c48aa){var _0x54f2d6=_0x13aec8;const _0x789566=this[_0x54f2d6(0x293)][_0x54f2d6(0x14d)](_0x4c48aa);_0x789566&&(_0x789566['dispose'](),this[_0x54f2d6(0x293)][_0x54f2d6(0x435)](_0x4c48aa));}[_0x13aec8(0x414)](){var _0x54ba31=_0x13aec8;this[_0x54ba31(0x293)][_0x54ba31(0x3a2)](_0xe905b4=>_0xe905b4[_0x54ba31(0x414)]()),this[_0x54ba31(0x293)][_0x54ba31(0x150)](),this['_roomCreated$'][_0x54ba31(0x2da)]();}},exports['MemberService']=oi([Ke(0x0,a['IUniverInstanceService']),Ke(0x1,a['Inject'](a['UserManagerService']))],exports['MemberService']);class ai extends a[_0x13aec8(0x154)]{constructor(){var _0x5b31b6=_0x13aec8;super(...arguments),D(this,'_members',new Map()),D(this,_0x5b31b6(0x1a0),new H[(_0x5b31b6(0x18b))](this[_0x5b31b6(0x268)])),D(this,_0x5b31b6(0x30a),this[_0x5b31b6(0x1a0)][_0x5b31b6(0x4a9)]());}[_0x13aec8(0x414)](){var _0x5c680e=_0x13aec8;this[_0x5c680e(0x268)]['clear']();}[_0x13aec8(0x22f)](_0x4ff4e9){var _0x14d4ca=_0x13aec8;this[_0x14d4ca(0x268)][_0x14d4ca(0x34c)](_0x4ff4e9[_0x14d4ca(0x1ca)],_0x4ff4e9),this[_0x14d4ca(0x433)]();}['removeMember'](_0x273b8b){var _0x595e9c=_0x13aec8;this['_members'][_0x595e9c(0x435)](_0x273b8b);}[_0x13aec8(0x1da)](_0x132b79){var _0x4b935a=_0x13aec8;return this[_0x4b935a(0x268)][_0x4b935a(0x14d)](_0x132b79);}[_0x13aec8(0x43a)](){var _0x3b4086=_0x13aec8;return Array[_0x3b4086(0x187)](this[_0x3b4086(0x268)][_0x3b4086(0x2be)]());}[_0x13aec8(0x433)](){var _0x3a18a7=_0x13aec8;this['_members$']['next'](this[_0x3a18a7(0x268)]);}}var ci=Object['defineProperty'],hi=Object[_0x13aec8(0x203)],li=(_0x4474a0,_0x28440f,_0x3d0d25,_0x1406f6)=>{for(var _0x443435=_0x1406f6>0x1?void 0x0:_0x1406f6?hi(_0x28440f,_0x3d0d25):_0x28440f,_0x36f2fe=_0x4474a0['length']-0x1,_0x32da9d;_0x36f2fe>=0x0;_0x36f2fe--)(_0x32da9d=_0x4474a0[_0x36f2fe])&&(_0x443435=(_0x1406f6?_0x32da9d(_0x28440f,_0x3d0d25,_0x443435):_0x32da9d(_0x443435))||_0x443435);return _0x1406f6&&_0x443435&&ci(_0x28440f,_0x3d0d25,_0x443435),_0x443435;},oe=(_0x5692ad,_0x5cb4cb)=>(_0x5b6f50,_0x407890)=>_0x5cb4cb(_0x5b6f50,_0x407890,_0x5692ad),se=(_0x45820c=>(_0x45820c[_0x45820c['IDLE']=0x0]=_0x13aec8(0x434),_0x45820c[_0x45820c[_0x13aec8(0x32f)]=0x1]=_0x13aec8(0x32f),_0x45820c[_0x45820c[_0x13aec8(0x354)]=0x2]=_0x13aec8(0x354),_0x45820c[_0x45820c[_0x13aec8(0x23d)]=0x3]=_0x13aec8(0x23d),_0x45820c))(se||{});const Ye={[he[_0x13aec8(0x3ab)]]:_0x13aec8(0x1cd),[he['JOIN_ROOM_FULL']]:_0x13aec8(0x3c9),[he[_0x13aec8(0x1d6)]]:_0x13aec8(0x327),[he[_0x13aec8(0x33c)]]:'session.room-permission-denied',[he[_0x13aec8(0x336)]]:'session.room-cnt-exceeds'};exports[_0x13aec8(0x3ba)]=class extends a[_0x13aec8(0x22d)]{constructor(_0x393a33,_0x4d4bbe,_0x322675,_0x53a8d1,_0x13893e,_0xb396ac,_0x6d0e0f,_0x3b159e,_0x513183){var _0x2ae80e=_0x13aec8;super(),D(this,_0x2ae80e(0x1ff),new H[(_0x2ae80e(0x18b))](0x0)),D(this,_0x2ae80e(0x365),this[_0x2ae80e(0x1ff)][_0x2ae80e(0x4a9)]()),D(this,_0x2ae80e(0x493),new H['Subject']()),D(this,_0x2ae80e(0x16e),this[_0x2ae80e(0x493)]['asObservable']()),D(this,_0x2ae80e(0x373)),D(this,'_socketMessageSubscription'),D(this,'_collaborationTimeoutTimer'),D(this,_0x2ae80e(0x2b7),!0x1),D(this,_0x2ae80e(0x4a0),null),(this[_0x2ae80e(0x294)]=_0x393a33,this[_0x2ae80e(0x1b9)]=_0x322675,this['_configService']=_0x53a8d1,this[_0x2ae80e(0x276)]=_0x13893e,this[_0x2ae80e(0x402)]=_0xb396ac,this[_0x2ae80e(0x27d)]=_0x6d0e0f,this[_0x2ae80e(0x235)]=_0x3b159e,this[_0x2ae80e(0x2e0)]=_0x513183,this[_0x2ae80e(0x2b7)]=!!this[_0x2ae80e(0x2e0)],_0x4d4bbe['pipe'](H['takeUntil'](this['dispose$']))[_0x2ae80e(0x1e1)](_0xfd6b4e=>{var _0x3f7a0a=_0x2ae80e,_0x5a73a1;typeof _0xfd6b4e>'u'||(this[_0x3f7a0a(0x373)]=_0xfd6b4e,_0xfd6b4e?(this[_0x3f7a0a(0x2e2)](_0xfd6b4e),this['_socketMessageSubscription']=_0xfd6b4e[_0x3f7a0a(0x171)][_0x3f7a0a(0x1e1)](_0x573d94=>{var _0x4a6aaa=_0x3f7a0a;_0x573d94['routeKey']===this[_0x4a6aaa(0x294)]&&this[_0x4a6aaa(0x226)](_0x573d94);})):(this[_0x3f7a0a(0x2a6)](),this['_sessionStatus$'][_0x3f7a0a(0x1c8)](0x2),(_0x5a73a1=this['_socketMessageSubscription'])==null||_0x5a73a1[_0x3f7a0a(0x18a)](),this[_0x3f7a0a(0x274)]=null));}));}get[_0x13aec8(0x247)](){var _0x5929e8=_0x13aec8;return this[_0x5929e8(0x1ff)][_0x5929e8(0x478)]();}['getMemberID'](){var _0x145867=_0x13aec8,_0x4127ce,_0x16c2c5;return(_0x16c2c5=(_0x4127ce=this[_0x145867(0x373)])==null?void 0x0:_0x4127ce[_0x145867(0x1ca)])!=null?_0x16c2c5:null;}[_0x13aec8(0x414)](){var _0x3cda7a=_0x13aec8;super[_0x3cda7a(0x414)](),this['dispose$']['next'](),this[_0x3cda7a(0x3c6)][_0x3cda7a(0x2da)]();}[_0x13aec8(0x426)](){var _0x130156=_0x13aec8,_0x40eb4a,_0x599507;this[_0x130156(0x2a6)](),(_0x40eb4a=this['_socket'])==null||_0x40eb4a[_0x130156(0x361)]({'cmd':G[_0x130156(0x1fb)],'data':{'roomID':this[_0x130156(0x294)]}}),(_0x599507=this[_0x130156(0x373)])==null||_0x599507[_0x130156(0x426)](),this[_0x130156(0x493)][_0x130156(0x2da)](),this[_0x130156(0x1ff)]['complete'](),this[_0x130156(0x414)]();}[_0x13aec8(0x226)](_0x1cd3b9){var _0x30ff36=_0x13aec8;_0x1cd3b9[_0x30ff36(0x4a7)]===G[_0x30ff36(0x494)]?this[_0x30ff36(0x465)](_0x1cd3b9):_0x1cd3b9['cmd']===G[_0x30ff36(0x41a)]&&this['_onRecvEvent'](_0x1cd3b9);}[_0x13aec8(0x2e2)](_0x3d7426){var _0x3e834d=_0x13aec8;this[_0x3e834d(0x1ff)]['next'](0x1),_0x3d7426[_0x3e834d(0x361)]({'cmd':G[_0x3e834d(0x494)],'routeKey':this[_0x3e834d(0x294)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3e834d(0x294)]}]}});}[_0x13aec8(0x465)](_0x4069c3){var _0x2fcbb=_0x13aec8,_0x176987;if(_0x4069c3[_0x2fcbb(0x1a3)]in Ye){this['_collaborationUIEventService'][_0x2fcbb(0x4b1)]({'id':Q['JOIN_ROOM_FAILED'],'data':Ye[_0x4069c3['code']]}),this[_0x2fcbb(0x1ff)]['next'](0x2);return;}this[_0x2fcbb(0x1ff)][_0x2fcbb(0x1c8)](0x3);const _0x489280=(_0x176987=_0x4069c3['data'][_0x2fcbb(0x3ff)][this[_0x2fcbb(0x294)]])==null?void 0x0:_0x176987['members'];_0x489280&&_0x489280[_0x2fcbb(0x3a2)](_0x321c9b=>this['_memberService'][_0x2fcbb(0x22f)](this[_0x2fcbb(0x294)],_0x321c9b));}['_onRecvEvent'](_0x383bbe){var _0x21157b=_0x13aec8;try{const _0x24ff58=_0x383bbe['data'];switch(_0x24ff58[_0x21157b(0x486)]){case m[_0x21157b(0x20b)][_0x21157b(0x24b)]:this[_0x21157b(0x253)](_0x24ff58),this[_0x21157b(0x493)][_0x21157b(0x1c8)](_0x24ff58);break;case m[_0x21157b(0x20b)][_0x21157b(0x1f9)]:this['_onUserLeave'](_0x24ff58),this[_0x21157b(0x493)][_0x21157b(0x1c8)](_0x24ff58);break;case m['CollaborationEvent'][_0x21157b(0x1c5)]:case m[_0x21157b(0x20b)][_0x21157b(0x35b)]:this[_0x21157b(0x1ba)](),this[_0x21157b(0x35c)](),this[_0x21157b(0x493)][_0x21157b(0x1c8)](_0x24ff58);break;case m[_0x21157b(0x20b)]['MSG_FOR_ERROR']:this['_logService']['error'](_0x21157b(0x206)+JSON[_0x21157b(0x406)](_0x24ff58)),this['_event$']['next'](_0x24ff58);break;case m[_0x21157b(0x20b)]['COMMENT_UPDATE']:this[_0x21157b(0x27d)][_0x21157b(0x4b2)](_0x24ff58[_0x21157b(0x418)]),this[_0x21157b(0x493)]['next'](_0x24ff58);break;default:this['_event$']['next'](_0x24ff58);}}catch(_0x42c052){this[_0x21157b(0x1b9)][_0x21157b(0x427)](_0x42c052,_0x383bbe);}}[_0x13aec8(0x253)](_0x52926b){var _0x34ee72=_0x13aec8;this[_0x34ee72(0x402)][_0x34ee72(0x22f)](this[_0x34ee72(0x294)],_0x52926b[_0x34ee72(0x418)]);}[_0x13aec8(0x220)](_0x263bd6){var _0x10e274=_0x13aec8;this[_0x10e274(0x402)][_0x10e274(0x183)](this[_0x10e274(0x294)],_0x263bd6['data']['memberID']);}async[_0x13aec8(0x361)](_0x11442c,_0x3da8fa){var _0x590904=_0x13aec8;if(this[_0x590904(0x247)]!==0x3||!this[_0x590904(0x373)])throw new Error(_0x590904(0x476));try{_0x11442c['eventID']===m['CollaborationEvent'][_0x590904(0x491)]&&(this[_0x590904(0x350)](),this[_0x590904(0x34e)](_0x11442c)),this['_socket'][_0x590904(0x361)]({'cmd':G[_0x590904(0x3c5)],'routeKey':_0x3da8fa,'routeType':'','data':_0x11442c});}catch(_0x514d66){this['_logService']['error'](_0x514d66);}}['_scheduleCollaborationTimeoutTimer'](){var _0x3e3fcd=_0x13aec8,_0x5a9d60;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x100f08=_0x4ec5;this['_collaborationTimeoutTimer']=null,this[_0x100f08(0x235)][_0x100f08(0x4b1)]({'id':Q[_0x100f08(0x39a)]});},(_0x5a9d60=this[_0x3e3fcd(0x2a3)][_0x3e3fcd(0x201)](He))!=null?_0x5a9d60:gt);}[_0x13aec8(0x35c)](){var _0x408aa9=_0x13aec8;this[_0x408aa9(0x32b)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x13aec8(0x34e)](_0x5c1314){var _0x571e66=_0x13aec8;if(!this[_0x571e66(0x2b7)])return;const {data:_0x5ee387}=_0x5c1314,{unitID:_0x32bd55,changeset:_0x331023}=_0x5ee387,{mutations:_0x2f700c,type:_0x2b683d}=_0x331023;this[_0x571e66(0x4a0)]={'unitId':_0x32bd55,'type':_0x2b683d,'startTime':performance[_0x571e66(0x22c)](),'stopTime':0x0,'duration':0x0,'size':ni(_0x2f700c)};}[_0x13aec8(0x1ba)](){var _0x340984=_0x13aec8;if(this[_0x340984(0x2b7)]){if(!this[_0x340984(0x4a0)]){this[_0x340984(0x1b9)][_0x340984(0x427)](_0x340984(0x368),_0x340984(0x477));return;}this['_telemetryInfo'][_0x340984(0x145)]=performance[_0x340984(0x22c)](),this[_0x340984(0x4a0)][_0x340984(0x39f)]=this[_0x340984(0x4a0)]['stopTime']-this['_telemetryInfo'][_0x340984(0x4a3)],this[_0x340984(0x2e0)][_0x340984(0x251)](ii,this[_0x340984(0x4a0)]),this[_0x340984(0x4a0)]=null;}}[_0x13aec8(0x2a6)](){var _0x424a1c=_0x13aec8;this[_0x424a1c(0x4a0)]=null;}},exports[_0x13aec8(0x3ba)]=li([oe(0x2,a['ILogService']),oe(0x3,a[_0x13aec8(0x4af)]),oe(0x4,a[_0x13aec8(0x2eb)](a['LocaleService'])),oe(0x5,a['Inject'](exports[_0x13aec8(0x240)])),oe(0x6,a['Inject'](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a[_0x13aec8(0x3e8)](xt['ITelemetryService']))],exports[_0x13aec8(0x3ba)]);var _i=Object[_0x13aec8(0x169)],ui=Object[_0x13aec8(0x203)],di=(_0x579ae4,_0x24ffaa,_0x55dcb3,_0x2c4835)=>{var _0x5bb372=_0x13aec8;for(var _0x5313a5=_0x2c4835>0x1?void 0x0:_0x2c4835?ui(_0x24ffaa,_0x55dcb3):_0x24ffaa,_0x1e0f0a=_0x579ae4[_0x5bb372(0x254)]-0x1,_0x325e42;_0x1e0f0a>=0x0;_0x1e0f0a--)(_0x325e42=_0x579ae4[_0x1e0f0a])&&(_0x5313a5=(_0x2c4835?_0x325e42(_0x24ffaa,_0x55dcb3,_0x5313a5):_0x325e42(_0x5313a5))||_0x5313a5);return _0x2c4835&&_0x5313a5&&_i(_0x24ffaa,_0x55dcb3,_0x5313a5),_0x5313a5;},ae=(_0x28019a,_0x156ee6)=>(_0x1103c1,_0x23eb7f)=>_0x156ee6(_0x1103c1,_0x23eb7f,_0x28019a);exports[_0x13aec8(0x3f9)]=class extends a[_0x13aec8(0x154)]{constructor(_0x10a474,_0x6563ce,_0x4aca91,_0x2b5c0e,_0x3155cd,_0x552636,_0x22b61a){var _0x657704=_0x13aec8;super(),D(this,_0x657704(0x393),new H[(_0x657704(0x18b))](void 0x0)),D(this,_0x657704(0x463),this['_socket$'][_0x657704(0x4a9)]()),D(this,_0x657704(0x3c3),null),D(this,_0x657704(0x157),new Map()),D(this,_0x657704(0x1dc),new H[(_0x657704(0x18b))](se[_0x657704(0x434)])),D(this,_0x657704(0x1bb),this[_0x657704(0x1dc)]['asObservable']()),D(this,_0x657704(0x33e),!0x1),D(this,'_retryConnectingTimer'),D(this,'_retryCount',0x0),D(this,'_sendHeartbeatTimer'),D(this,_0x657704(0x1e3)),(this[_0x657704(0x423)]=_0x10a474,this['_logService']=_0x6563ce,this[_0x657704(0x2a3)]=_0x4aca91,this[_0x657704(0x17e)]=_0x2b5c0e,this[_0x657704(0x258)]=_0x3155cd,this[_0x657704(0x235)]=_0x552636,this['_networkConditionService']=_0x22b61a,this[_0x657704(0x382)]());}get[_0x13aec8(0x373)](){var _0x48f4d6=_0x13aec8;return this[_0x48f4d6(0x393)][_0x48f4d6(0x478)]();}['_listenToNetworkCondition'](){var _0x326f92=_0x13aec8;this[_0x326f92(0x135)]&&this[_0x326f92(0x1bc)](this['_networkConditionService'][_0x326f92(0x3a0)]['subscribe'](_0x19aed5=>{var _0x2b3e3d=_0x326f92;_0x19aed5&&!this[_0x2b3e3d(0x373)]&&this[_0x2b3e3d(0x209)](),_0x19aed5||this[_0x2b3e3d(0x3b8)]();}));}['dispose'](){var _0xc6c2c5=_0x13aec8;super['dispose'](),this[_0xc6c2c5(0x157)]['forEach'](_0x4052da=>_0x4052da[_0xc6c2c5(0x414)]()),this[_0xc6c2c5(0x157)][_0xc6c2c5(0x150)](),this[_0xc6c2c5(0x1dc)][_0xc6c2c5(0x2da)]();}async[_0x13aec8(0x28d)](_0x4abc16){var _0x2dea2f=_0x13aec8;if(this[_0x2dea2f(0x157)]['has'](_0x4abc16))return this[_0x2dea2f(0x157)][_0x2dea2f(0x14d)](_0x4abc16);this[_0x2dea2f(0x288)]();const _0x18afcc=this[_0x2dea2f(0x423)][_0x2dea2f(0x1c4)](exports[_0x2dea2f(0x3ba)],_0x4abc16,this[_0x2dea2f(0x393)][_0x2dea2f(0x4a9)]());return this[_0x2dea2f(0x157)][_0x2dea2f(0x34c)](_0x4abc16,_0x18afcc),_0x18afcc;}['closeSession'](_0x36f40d){var _0x138594=_0x13aec8,_0xa44d17;const _0x54cc63=this['_sessions'][_0x138594(0x14d)](_0x36f40d);_0x54cc63&&(this['_sessions'][_0x138594(0x435)](_0x36f40d),_0x54cc63[_0x138594(0x426)]()),this[_0x138594(0x157)][_0x138594(0x304)]||(_0xa44d17=this[_0x138594(0x373)])==null||_0xa44d17['close']();}[_0x13aec8(0x209)](){var _0x1556a4=_0x13aec8;this[_0x1556a4(0x170)]=0x0,this[_0x1556a4(0x15e)]!=null&&(clearTimeout(this[_0x1556a4(0x15e)]),this[_0x1556a4(0x15e)]=null),this[_0x1556a4(0x484)]();}async[_0x13aec8(0x356)](){var _0x171217=_0x13aec8,_0x533810,_0x116973,_0x34bbb9;const _0x5e64fb=this[_0x171217(0x2a3)][_0x171217(0x201)](q),_0x3d97b2=(_0x533810=_0x5e64fb==null?void 0x0:_0x5e64fb[_0x171217(0x431)])!=null?_0x533810:Bt;return(_0x34bbb9=(_0x116973=(await this[_0x171217(0x258)][_0x171217(0x14d)](_0x3d97b2,{'headers':{'Content-Type':_0x171217(0x329)}}))['body'])==null?void 0x0:_0x116973[_0x171217(0x2e7)])!=null?_0x34bbb9:'';}[_0x13aec8(0x40d)](_0x338f35){var _0x3b12fe=_0x13aec8,_0x294859,_0x367c37;const _0x4e2879=this['_configService'][_0x3b12fe(0x201)](ft),_0x5b00c2=this[_0x3b12fe(0x2a3)][_0x3b12fe(0x201)](q),_0x1ada49=(_0x367c37=(_0x294859=_0x5b00c2==null?void 0x0:_0x5b00c2[_0x3b12fe(0x25a)])!=null?_0x294859:_0x4e2879)!=null?_0x367c37:St,_0x408c99=typeof window>'u'?new URL(_0x1ada49):new URL(_0x1ada49,window[_0x3b12fe(0x3ca)][_0x3b12fe(0x2c9)]);_0x408c99[_0x3b12fe(0x1e4)][_0x3b12fe(0x34c)](_0x3b12fe(0x2e6),_0x338f35);const _0xc49fe4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3b12fe(0x1a8)]);return _0xc49fe4['get'](_0x3b12fe(0x152))&&_0x408c99[_0x3b12fe(0x1e4)][_0x3b12fe(0x34c)](_0x3b12fe(0x152),_0xc49fe4[_0x3b12fe(0x14d)]('runId')),_0x408c99[_0x3b12fe(0x4b7)]();}async['_createSocket'](){var _0x56cf9b=_0x13aec8;const _0x3ef6bb=await this[_0x56cf9b(0x356)](),_0x277f29=this[_0x56cf9b(0x40d)](_0x3ef6bb),_0x5774ab=this['_socketService'][_0x56cf9b(0x3e7)](_0x277f29);return this[_0x56cf9b(0x3c3)]=_0x5774ab,_0x5774ab;}async['_tryEnsureSocket'](){var _0x4e4dba=_0x13aec8,_0x596a83,_0x5df738;try{const _0x47c0de=(_0x5df738=(_0x596a83=this[_0x4e4dba(0x373)])!=null?_0x596a83:this['_candidateSocket'])!=null?_0x5df738:await this[_0x4e4dba(0x306)]();if(_0x47c0de){const _0x368139=_0x47c0de[_0x4e4dba(0x361)];_0x47c0de[_0x4e4dba(0x361)]=_0x5ec63a=>(this[_0x4e4dba(0x3d3)](),_0x368139['apply'](_0x47c0de,[_0x5ec63a])),_0x47c0de['message$'][_0x4e4dba(0x1e1)](_0x685cd6=>this[_0x4e4dba(0x2b4)](_0x47c0de,_0x685cd6)),_0x47c0de['error$'][_0x4e4dba(0x40b)](V[_0x4e4dba(0x44c)](0x1))[_0x4e4dba(0x1e1)](_0x44e308=>this[_0x4e4dba(0x1b9)][_0x4e4dba(0x427)](_0x4e4dba(0x366),_0x44e308)),_0x47c0de[_0x4e4dba(0x1b4)][_0x4e4dba(0x40b)](V['take'](0x1))['subscribe'](()=>{var _0x5d7762=_0x4e4dba;this[_0x5d7762(0x49c)](_0x47c0de);}),_0x47c0de[_0x4e4dba(0x3d8)][_0x4e4dba(0x40b)](V[_0x4e4dba(0x44c)](0x1))['subscribe'](_0xd3b385=>{var _0x3b5fbe=_0x4e4dba;this[_0x3b5fbe(0x1b9)]['debug'](_0x3b5fbe(0x33b),_0x3b5fbe(0x1a7),_0xd3b385),this[_0x3b5fbe(0x441)]();});}}catch(_0x1ac0b0){this[_0x4e4dba(0x1b9)][_0x4e4dba(0x427)](_0x1ac0b0),this['_onConnectionFailed']();}}[_0x13aec8(0x49c)](_0x5aa04f){var _0x1423f5=_0x13aec8;this[_0x1423f5(0x1b9)]['debug'](_0x1423f5(0x33b),_0x1423f5(0x3d9)),_0x5aa04f[_0x1423f5(0x361)]({'cmd':G['HELLO']}),this['_rescheduleHeartbeat']();}[_0x13aec8(0x3b8)](){var _0x11b9fc=_0x13aec8;this[_0x11b9fc(0x33e)]=!0x1,this[_0x11b9fc(0x3c3)]=null,this[_0x11b9fc(0x1dc)][_0x11b9fc(0x1c8)](se[_0x11b9fc(0x354)]),this['_socket$']['next'](null),this[_0x11b9fc(0x22a)](),this['_clearHeartbeatTimer']();}[_0x13aec8(0x441)](){var _0x494b22=_0x13aec8,_0x328fbd;this[_0x494b22(0x3b8)](),this[_0x494b22(0x170)]<((_0x328fbd=this[_0x494b22(0x2a3)][_0x494b22(0x201)](mt))!=null?_0x328fbd:Vt)?(this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x494b22(0x160)]}),this['_tryReconnect']()):this[_0x494b22(0x235)][_0x494b22(0x4b1)]({'id':Q[_0x494b22(0x24c)]});}[_0x13aec8(0x484)](){var _0x58e1c1=_0x13aec8,_0x3ec24d;const _0x268820=this[_0x58e1c1(0x170)],_0x32e27d=this[_0x58e1c1(0x2a3)][_0x58e1c1(0x201)](q),_0x5ef5fb=_0x268820===0x0?0x0:((_0x3ec24d=_0x32e27d==null?void 0x0:_0x32e27d[_0x58e1c1(0x195)])!=null?_0x3ec24d:Wt)*0x2**_0x268820;this[_0x58e1c1(0x15e)]=setTimeout(()=>{var _0x4e57c1=_0x58e1c1;clearTimeout(this[_0x4e57c1(0x15e)]),this[_0x4e57c1(0x15e)]=null,this[_0x4e57c1(0x288)]();},_0x5ef5fb),this[_0x58e1c1(0x170)]+=0x1;}[_0x13aec8(0x2b4)](_0x27da24,_0x5e46c4){var _0x2ddfca=_0x13aec8;const {cmd:_0x2945a3}=_0x5e46c4;_0x2945a3===G['HELLO']&&!this[_0x2ddfca(0x33e)]&&(_0x27da24[_0x2ddfca(0x1ca)]=_0x5e46c4[_0x2ddfca(0x418)][_0x2ddfca(0x1ca)],this[_0x2ddfca(0x393)][_0x2ddfca(0x1c8)](_0x27da24),this[_0x2ddfca(0x1dc)][_0x2ddfca(0x1c8)](se['ONLINE']),this['_socketReady']=!0x0,this[_0x2ddfca(0x3c3)]=null),_0x2945a3===G['HEARTBEAT']&&this[_0x2ddfca(0x22a)](),this[_0x2ddfca(0x3d3)]();}[_0x13aec8(0x3d3)](){var _0x3afc28=_0x13aec8,_0x5b24e3;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x3afc28(0x313)](),(_0x5b24e3=this['_configService'][_0x3afc28(0x201)](pt))!=null?_0x5b24e3:Ft);}[_0x13aec8(0x313)](){var _0x4da4cf=_0x13aec8;this['_socket'][_0x4da4cf(0x361)]({'cmd':G[_0x4da4cf(0x429)]}),this[_0x4da4cf(0x40e)]();}[_0x13aec8(0x40e)](){var _0x26e483=_0x13aec8,_0x4895b6;this[_0x26e483(0x1e3)]=setTimeout(()=>this[_0x26e483(0x441)](),(_0x4895b6=this[_0x26e483(0x2a3)][_0x26e483(0x201)](He))!=null?_0x4895b6:gt);}[_0x13aec8(0x448)](){var _0x70eca1=_0x13aec8;this[_0x70eca1(0x1a6)]!=null&&(clearTimeout(this[_0x70eca1(0x1a6)]),this[_0x70eca1(0x1a6)]=null);}[_0x13aec8(0x22a)](){var _0x151912=_0x13aec8;this[_0x151912(0x1e3)]!=null&&(clearTimeout(this[_0x151912(0x1e3)]),this[_0x151912(0x1e3)]=null);}},exports[_0x13aec8(0x3f9)]=di([ae(0x0,a[_0x13aec8(0x2eb)](a[_0x13aec8(0x3e1)])),ae(0x1,a['ILogService']),ae(0x2,a[_0x13aec8(0x4af)]),ae(0x3,ke),ae(0x4,a[_0x13aec8(0x2eb)](z['HTTPService'])),ae(0x5,a[_0x13aec8(0x2eb)](te)),ae(0x6,a['Optional'](bt))],exports[_0x13aec8(0x3f9)]);const K=[];for(let r=0x0;r<0x100;++r)K['push']((r+0x100)[_0x13aec8(0x4b7)](0x10)[_0x13aec8(0x300)](0x1));function vi(_0x2293ae,_0x419005=0x0){var _0x23584a=_0x13aec8;return(K[_0x2293ae[_0x419005+0x0]]+K[_0x2293ae[_0x419005+0x1]]+K[_0x2293ae[_0x419005+0x2]]+K[_0x2293ae[_0x419005+0x3]]+'-'+K[_0x2293ae[_0x419005+0x4]]+K[_0x2293ae[_0x419005+0x5]]+'-'+K[_0x2293ae[_0x419005+0x6]]+K[_0x2293ae[_0x419005+0x7]]+'-'+K[_0x2293ae[_0x419005+0x8]]+K[_0x2293ae[_0x419005+0x9]]+'-'+K[_0x2293ae[_0x419005+0xa]]+K[_0x2293ae[_0x419005+0xb]]+K[_0x2293ae[_0x419005+0xc]]+K[_0x2293ae[_0x419005+0xd]]+K[_0x2293ae[_0x419005+0xe]]+K[_0x2293ae[_0x419005+0xf]])[_0x23584a(0x2cc)]();}let Ue;const fi=new Uint8Array(0x10);function Si(){var _0x1d5bee=_0x13aec8;if(!Ue){if(typeof crypto>'u'||!crypto[_0x1d5bee(0x1b1)])throw new Error(_0x1d5bee(0x21e));Ue=crypto[_0x1d5bee(0x1b1)][_0x1d5bee(0x158)](crypto);}return Ue(fi);}const pi=typeof crypto<'u'&&crypto[_0x13aec8(0x19f)]&&crypto[_0x13aec8(0x19f)][_0x13aec8(0x158)](crypto),qe={'randomUUID':pi};function gi(_0x1821d1,_0x5a96e3,_0x325297){var _0x3e7997=_0x13aec8;if(qe['randomUUID']&&!_0x5a96e3&&!_0x1821d1)return qe[_0x3e7997(0x19f)]();_0x1821d1=_0x1821d1||{};const _0x354222=_0x1821d1['random']||(_0x1821d1[_0x3e7997(0x279)]||Si)();return _0x354222[0x6]=_0x354222[0x6]&0xf|0x40,_0x354222[0x8]=_0x354222[0x8]&0x3f|0x80,vi(_0x354222);}const J=a[_0x13aec8(0x159)]('collaboration-client.local-cache-service');function mi(_0x4c73d0){return'unit-cache-'+_0x4c73d0;}var Ii=Object['defineProperty'],Ei=Object[_0x13aec8(0x203)],Ci=(_0x5d1a2e,_0x12cc69,_0x241467,_0x123ce1)=>{for(var _0x22e9e1=_0x123ce1>0x1?void 0x0:_0x123ce1?Ei(_0x12cc69,_0x241467):_0x12cc69,_0x4576e7=_0x5d1a2e['length']-0x1,_0x50a876;_0x4576e7>=0x0;_0x4576e7--)(_0x50a876=_0x5d1a2e[_0x4576e7])&&(_0x22e9e1=(_0x123ce1?_0x50a876(_0x12cc69,_0x241467,_0x22e9e1):_0x50a876(_0x22e9e1))||_0x22e9e1);return _0x123ce1&&_0x22e9e1&&Ii(_0x12cc69,_0x241467,_0x22e9e1),_0x22e9e1;},De=(_0x4d0569,_0x3692d1)=>(_0x5929b6,_0x499378)=>_0x3692d1(_0x5929b6,_0x499378,_0x4d0569);function Ti(_0x8fc817){var _0x28a7b8=_0x13aec8;const {unitID:_0x424233,mutations:_0x272393}=_0x8fc817;return{'unitId':_0x424233,'subUnitId':_0x272393[0x0][_0x28a7b8(0x175)][_0x28a7b8(0x451)]};}exports[_0x13aec8(0x28a)]=class{constructor(_0x8686d7,_0x5b84aa,_0x53ed4f){var _0x354446=_0x13aec8;this[_0x354446(0x423)]=_0x8686d7,this['_transformService']=_0x5b84aa,this[_0x354446(0x13f)]=_0x53ed4f;}[_0x13aec8(0x397)](_0x2dd5d6){var _0x225996=_0x13aec8,_0x452e6f,_0x417732,_0x4b1878,_0x551c4f;const _0xa5c752=this['_injector'][_0x225996(0x14d)](W[_0x225996(0x280)]),{unitId:_0x7dd0a,subUnitId:_0xe37ed9}=Ti(_0x2dd5d6),_0x283fb0=_0xa5c752==null?void 0x0:_0xa5c752[_0x225996(0x446)](_0x7dd0a)[_0x225996(0x3e4)](),_0x3c3bcd=(_0x417732=(_0x452e6f=this[_0x225996(0x13f)][_0x225996(0x497)](_0x7dd0a))==null?void 0x0:_0x452e6f[_0x225996(0x2c5)]())==null?void 0x0:_0x417732[_0x225996(0x28b)]();if(_0x283fb0['length']===0x0||!_0x7dd0a||!_0xe37ed9)return;const _0x4e2e9f=[{'id':W[_0x225996(0x42d)]['id'],'params':{'unitId':_0x7dd0a,'subUnitId':_0x3c3bcd,'selections':a['Tools'][_0x225996(0x151)](_0x283fb0)}}],_0x4645cf=this[_0x225996(0x480)]['transformMutationsWithChangeset'](_0x2dd5d6,_0x4e2e9f);if(!m['isTransformMutationsWithChangesetSuccess'](_0x4645cf))throw _0x4645cf[_0x225996(0x427)];const _0x23822e=(_0x551c4f=(_0x4b1878=_0x4645cf[_0x225996(0x4a6)][0x0])==null?void 0x0:_0x4b1878[_0x225996(0x175)])==null?void 0x0:_0x551c4f[_0x225996(0x1e5)];if(Array['isArray'](_0x23822e)&&_0x23822e[_0x225996(0x254)]){if(_0x23822e[_0x225996(0x254)]===_0x4e2e9f[0x0]['params'][_0x225996(0x1e5)][_0x225996(0x254)]&&_0x23822e[_0x225996(0x492)]((_0x233a5f,_0x438a49)=>a[_0x225996(0x445)][_0x225996(0x267)](_0x233a5f[_0x225996(0x47a)],_0x4e2e9f[0x0][_0x225996(0x175)][_0x225996(0x1e5)][_0x438a49][_0x225996(0x47a)])))return;this[_0x225996(0x423)][_0x225996(0x14d)](a['ICommandService'])[_0x225996(0x36d)](W['SetSelectionsOperation']['id'],{'unitId':_0x7dd0a,'subUnitId':_0x3c3bcd,'selections':_0x23822e});}}},exports[_0x13aec8(0x28a)]=Ci([De(0x0,a['Inject'](a['Injector'])),De(0x1,m[_0x13aec8(0x295)]),De(0x2,a[_0x13aec8(0x38b)])],exports[_0x13aec8(0x28a)]);const ve=a[_0x13aec8(0x159)](_0x13aec8(0x40a));var Fe=(_0x120e76=>(_0x120e76[_0x120e76[_0x13aec8(0x165)]=0x0]=_0x13aec8(0x165),_0x120e76[_0x120e76[_0x13aec8(0x3b3)]=0x1]=_0x13aec8(0x3b3),_0x120e76))(Fe||{});const bi=new Set([W[_0x13aec8(0x3c0)]['id']]);function ze(_0x316c3e,_0x3b2098,_0x1116be,_0x7d7a59,_0x37629b){var _0x66884e=_0x13aec8,_0x1da3f7,_0x30d4d0,_0x23e2f5,_0x3366bb;const _0x188c46=[];for(const _0x3ef390 of _0x316c3e)if(bi[_0x66884e(0x260)](_0x3ef390['id'])){if(_0x188c46[_0x66884e(0x254)]>0x0)break;_0x188c46[_0x66884e(0x375)](_0x3ef390);break;}else _0x188c46[_0x66884e(0x375)](_0x3ef390);const _0x1a3c0e=(_0x30d4d0=(_0x1da3f7=_0x37629b[_0x66884e(0x4b3)]())==null?void 0x0:_0x1da3f7['userID'])!=null?_0x30d4d0:_0x66884e(0x3b2),_0x1cfaed=(_0x3366bb=(_0x23e2f5=_0x37629b['getCurrentUser']())==null?void 0x0:_0x23e2f5['memberID'])!=null?_0x3366bb:'unknown';return{'changeset':{'unitID':_0x3b2098,'type':m[_0x66884e(0x3f6)](_0x1116be[_0x66884e(0x23e)](_0x3b2098)),'baseRev':_0x7d7a59[_0x66884e(0x43f)](_0x3b2098),'revision':0x0,'userID':_0x1a3c0e,'memberID':_0x1cfaed,'mutations':_0x188c46},'pendingMutations':_0x316c3e[_0x66884e(0x300)](_0x188c46[_0x66884e(0x254)])};}function Ri(_0x11c251,_0xd539ad,_0x43ddd0,_0x5a6a9b,_0x113f7c){var _0x4492e1=_0x13aec8,_0x2776ab,_0x4d63fb,_0x217c0f,_0x2ec673;const _0x5bcb08=[_0x11c251['reduce']((_0x4beffe,_0x34d330)=>{var _0x294c1a=_0x4ec5,_0x57309a;const {id:_0xaaedb8}=_0x4beffe,{id:_0x5bf90b,type:_0x3df6ea}=_0x34d330,_0x101d55=(_0x57309a=_0x4beffe[_0x294c1a(0x175)])!=null?_0x57309a:{'actions':null},_0x503c43=_0x34d330['params'];if(_0xaaedb8&&_0xaaedb8!==_0x5bf90b)throw new Error(_0x294c1a(0x1ea)+_0xaaedb8+'\x20-\x20'+_0x5bf90b+'.');return{..._0x4beffe,'id':_0x5bf90b,'type':_0x3df6ea,'params':{'unitId':_0x503c43['unitId'],'textRanges':_0x503c43[_0x294c1a(0x469)],'actions':a['JSONX'][_0x294c1a(0x43c)](_0x101d55[_0x294c1a(0x1b5)],_0x503c43[_0x294c1a(0x1b5)])}};},{})],_0x313130=(_0x4d63fb=(_0x2776ab=_0x113f7c[_0x4492e1(0x4b3)]())==null?void 0x0:_0x2776ab[_0x4492e1(0x48b)])!=null?_0x4d63fb:_0x4492e1(0x3b2),_0x1160ac=(_0x2ec673=(_0x217c0f=_0x113f7c[_0x4492e1(0x4b3)]())==null?void 0x0:_0x217c0f['memberID'])!=null?_0x2ec673:_0x4492e1(0x3b2);return{'changeset':{'unitID':_0xd539ad,'type':m['mapDocumentTypeToUniverType'](_0x43ddd0['getUnitType'](_0xd539ad)),'baseRev':_0x5a6a9b[_0x4492e1(0x43f)](_0xd539ad),'revision':0x0,'userID':_0x313130,'memberID':_0x1160ac,'mutations':_0x5bcb08},'pendingMutations':[]};}function yt(_0xd043bd,_0x4dc526){var _0x1fade9=_0x13aec8;const _0x27fff6=new H[(_0x1fade9(0x495))](0x1);return setTimeout(()=>_0x27fff6[_0x1fade9(0x1c8)](_0x4dc526),_0xd043bd),_0x27fff6[_0x1fade9(0x4a9)]()[_0x1fade9(0x40b)](H['take'](0x1));}const Oi={'id':W['EmptyMutation']['id'],'type':a[_0x13aec8(0x358)][_0x13aec8(0x286)],'params':{}};var yi=Object[_0x13aec8(0x169)],Pi=Object[_0x13aec8(0x203)],le=(_0x200410,_0xa74042,_0xfffcb0,_0x1296de)=>{var _0x165b7f=_0x13aec8;for(var _0x53f8fc=_0x1296de>0x1?void 0x0:_0x1296de?Pi(_0xa74042,_0xfffcb0):_0xa74042,_0xedfed8=_0x200410[_0x165b7f(0x254)]-0x1,_0x571786;_0xedfed8>=0x0;_0xedfed8--)(_0x571786=_0x200410[_0xedfed8])&&(_0x53f8fc=(_0x1296de?_0x571786(_0xa74042,_0xfffcb0,_0x53f8fc):_0x571786(_0x53f8fc))||_0x53f8fc);return _0x1296de&&_0x53f8fc&&yi(_0xa74042,_0xfffcb0,_0x53f8fc),_0x53f8fc;},A=(_0x3af639,_0x2e2907)=>(_0x1f0e67,_0x29ee63)=>_0x2e2907(_0x1f0e67,_0x29ee63,_0x3af639),We=(_0x4abadf=>(_0x4abadf[_0x13aec8(0x259)]='not_collab',_0x4abadf[_0x13aec8(0x35a)]=_0x13aec8(0x2a9),_0x4abadf['PENDING']=_0x13aec8(0x42e),_0x4abadf[_0x13aec8(0x47e)]='awaiting',_0x4abadf['AWAITING_WITH_PENDING']=_0x13aec8(0x2d0),_0x4abadf[_0x13aec8(0x31b)]=_0x13aec8(0x353),_0x4abadf[_0x13aec8(0x419)]=_0x13aec8(0x390),_0x4abadf[_0x13aec8(0x354)]=_0x13aec8(0x15c),_0x4abadf))(We||{});const Pt=0xea60;class _e{constructor(_0x48d381,_0x3034b5,_0x2d2054,_0x45e428,_0xd19455,_0x114220,_0x9d99a9,_0x201eed,_0x211ae5){var _0x1349e4=_0x13aec8;D(this,_0x1349e4(0x388),null),D(this,'_pendingMutations',[]),(this['unitID']=_0x48d381,this[_0x1349e4(0x4b8)]=_0x3034b5,this[_0x1349e4(0x344)]=_0xd19455,this['_commandService']=_0x114220,this[_0x1349e4(0x24a)]=_0x9d99a9,this['_revisionService']=_0x201eed,this[_0x1349e4(0x3aa)]=_0x211ae5,this['_awaitingChangeset']=_0x2d2054,this[_0x1349e4(0x4a8)]=_0x45e428);}['_checkMissing'](_0x567714){var _0x202a16=_0x13aec8;const _0x5aab89=this[_0x202a16(0x369)][_0x202a16(0x43f)](this['unitID']);return _0x567714[_0x202a16(0x164)]>_0x5aab89+0x1?(this[_0x202a16(0x344)][_0x202a16(0x193)]({'from':_0x5aab89,'to':_0x567714[_0x202a16(0x164)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x19e0bc){var _0x31c7b7=_0x13aec8;this['_undoRedoService'][_0x31c7b7(0x2dd)](this[_0x31c7b7(0x37e)],_0x19e0bc);}[_0x13aec8(0x2fe)](_0x44af7b){var _0x57ba02=_0x13aec8,_0x19aad3,_0x5ec8a5;(_0x5ec8a5=(_0x19aad3=this['_handler'])[_0x57ba02(0x32a)])==null||_0x5ec8a5[_0x57ba02(0x2b9)](_0x19aad3,_0x44af7b);}[_0x13aec8(0x281)](_0x29386b){var _0x5fdced=_0x13aec8,_0x4c0fe0,_0x16b020;return(_0x16b020=(_0x4c0fe0=this[_0x5fdced(0x344)])[_0x5fdced(0x39e)])==null?void 0x0:_0x16b020[_0x5fdced(0x2b9)](_0x4c0fe0,_0x29386b);}[_0x13aec8(0x442)](_0x499a93){var _0xa120a9=_0x13aec8,_0x1a77cb,_0x467f03;return(_0x467f03=(_0x1a77cb=this[_0xa120a9(0x344)])['onTransformState'])==null?void 0x0:_0x467f03[_0xa120a9(0x2b9)](_0x1a77cb,_0x499a93);}['_transformRemoteChangesetByIMECache'](_0x13654f){var _0x3b9a83=_0x13aec8,_0x329042,_0x63df80,_0x3c098b;return(_0x3c098b=(_0x63df80=(_0x329042=this[_0x3b9a83(0x344)])[_0x3b9a83(0x1d3)])==null?void 0x0:_0x63df80[_0x3b9a83(0x2b9)](_0x329042,_0x13654f))!=null?_0x3c098b:_0x13654f;}[_0x13aec8(0x331)](_0x1ff6c6){var _0x3403ae=_0x13aec8,_0x5ed07a,_0x55002f,_0x126149;return(_0x126149=(_0x55002f=(_0x5ed07a=this[_0x3403ae(0x344)])[_0x3403ae(0x161)])==null?void 0x0:_0x55002f[_0x3403ae(0x2b9)](_0x5ed07a,_0x1ff6c6))!=null?_0x126149:_0x1ff6c6;}[_0x13aec8(0x2e4)](_0xd43a23){var _0x1945cd=_0x13aec8,_0x3dc231,_0x27dc95;if(this[_0x1945cd(0x4b8)]===Z[_0x1945cd(0x471)]){const {unitID:_0x47c808,mutations:_0x15a9ab,memberID:_0x1c07fa}=_0xd43a23,_0x239487=_0x15a9ab[0x0][_0x1945cd(0x175)][_0x1945cd(0x469)];Array['isArray'](_0x239487)&&_0x239487[_0x1945cd(0x254)]>0x0&&((_0x27dc95=(_0x3dc231=this[_0x1945cd(0x344)])[_0x1945cd(0x17d)])==null||_0x27dc95['call'](_0x3dc231,{'unitID':_0x47c808,'memberID':_0x1c07fa,'textRanges':_0x239487}));}}[_0x13aec8(0x2a5)](){var _0x5e6a2d=_0x13aec8,_0xfa4f89;(_0xfa4f89=this[_0x5e6a2d(0x3aa)])==null||_0xfa4f89['updateOfflineData'](this['unitID'],this[_0x5e6a2d(0x4b8)],this[_0x5e6a2d(0x388)],this['_pendingMutations']);}[_0x13aec8(0x22e)](){var _0x5ef83d=_0x13aec8;return this[_0x5ef83d(0x369)][_0x5ef83d(0x43f)](this[_0x5ef83d(0x37e)]);}[_0x13aec8(0x449)](){var _0x5c084a=_0x13aec8;this[_0x5c084a(0x369)][_0x5c084a(0x185)](this[_0x5c084a(0x37e)]);}['_executeRemoteChangeset'](_0x33a096){var _0x34737a=_0x13aec8,_0x3ab3c5;let _0x320c0c=this['_transformRemoteChangesetByIMECache'](_0x33a096);_0x320c0c=this['_transformRemoteChangesetByStateCache'](_0x320c0c);const _0xac4847=a['sequenceExecute'](_0x320c0c[_0x34737a(0x4ad)],this[_0x34737a(0x25e)],{'fromCollab':!0x0});if(!_0xac4847[_0x34737a(0x191)])throw _0xac4847[_0x34737a(0x427)]instanceof Error?_0xac4847[_0x34737a(0x427)]:new Error((_0x3ab3c5=_0xac4847['error'])!=null?_0x3ab3c5:_0x34737a(0x34a));this[_0x34737a(0x281)](_0x320c0c),this[_0x34737a(0x442)](_0x320c0c),this['_transformUndoredo'](_0x33a096),this[_0x34737a(0x2fe)](_0x320c0c),this[_0x34737a(0x2e4)](_0x320c0c),this[_0x34737a(0x449)]();}}exports['SyncedState']=class extends _e{constructor(_0x961c23,_0x2c4b52,_0xa8f4a3,_0x2fc979,_0x34a23a,_0x5dfd11,_0x15ac2d,_0x2776b0,_0xdf0ea5,_0x2b74cb){var _0x118d41=_0x13aec8;super(_0x961c23,_0x2c4b52,null,[],_0xa8f4a3,_0x15ac2d,_0x5dfd11,_0x2fc979,_0x2b74cb),D(this,'status',_0x118d41(0x2a9)),(this[_0x118d41(0x423)]=_0x34a23a,this[_0x118d41(0x1b9)]=_0x2776b0,this[_0x118d41(0x480)]=_0xdf0ea5,this[_0x118d41(0x1db)]=_0x2b74cb);}[_0x13aec8(0x33d)](_0x430430){var _0x47f9e2=_0x13aec8;const _0x151719=this[_0x47f9e2(0x423)][_0x47f9e2(0x1c4)](exports[_0x47f9e2(0x45b)],this[_0x47f9e2(0x37e)],this[_0x47f9e2(0x4b8)],[_0x430430],this[_0x47f9e2(0x344)]);return _0x151719[_0x47f9e2(0x422)](),_0x151719[_0x47f9e2(0x2a5)](),_0x151719;}[_0x13aec8(0x1fd)](_0x52c4da){var _0x56677c=_0x13aec8;if(this[_0x56677c(0x362)](_0x52c4da))return this['_injector'][_0x56677c(0x1c4)](exports[_0x56677c(0x380)],this[_0x56677c(0x37e)],this[_0x56677c(0x4b8)],null,[],null,[_0x52c4da],this[_0x56677c(0x344)]);try{const _0x33a4d2=this[_0x56677c(0x480)][_0x56677c(0x3ee)](_0x52c4da,[Oi]);if(m[_0x56677c(0x1ce)](_0x33a4d2)){const {c1Prime:_0x569d08}=_0x33a4d2;return this[_0x56677c(0x3cd)](_0x569d08),this;}throw _0x33a4d2[_0x56677c(0x427)];}catch(_0x575c81){return this['_logService'][_0x56677c(0x427)](_0x575c81),this['_onConflict'](!0x1);}}[_0x13aec8(0x2dc)](_0x1c8b89){var _0xab103b=_0x13aec8;return this[_0xab103b(0x423)]['createInstance'](exports[_0xab103b(0x42b)],this[_0xab103b(0x37e)],this['type'],null,[],this['_handler'],_0x1c8b89);}[_0x13aec8(0x148)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x13aec8(0x45d)](){var _0x81c1d1=_0x13aec8;throw new Error(_0x81c1d1(0x1cb));}[_0x13aec8(0x2ba)](){return this;}[_0x13aec8(0x1b0)](){var _0x4e798e=_0x13aec8;return this[_0x4e798e(0x423)]['createInstance'](exports[_0x4e798e(0x1d8)],this[_0x4e798e(0x37e)],this['type'],null,[],this[_0x4e798e(0x344)]);}[_0x13aec8(0x19a)](){return this;}['resend'](){var _0x3ee8e8=_0x13aec8;throw new Error(_0x3ee8e8(0x15f));}[_0x13aec8(0x13c)](){var _0xa99403=_0x13aec8;const _0x5761ee=this[_0xa99403(0x369)][_0xa99403(0x43f)](this[_0xa99403(0x37e)]);return this[_0xa99403(0x344)][_0xa99403(0x193)]({'from':_0x5761ee,'to':0x0}),this[_0xa99403(0x423)][_0xa99403(0x1c4)](exports['FetchingMissState'],this['unitID'],this[_0xa99403(0x4b8)],null,[],null,[],this['_handler']);}},exports[_0x13aec8(0x23f)]=le([A(0x3,a[_0x13aec8(0x2eb)](m[_0x13aec8(0x275)])),A(0x4,a[_0x13aec8(0x2eb)](a['Injector'])),A(0x5,a[_0x13aec8(0x1b3)]),A(0x6,a[_0x13aec8(0x355)]),A(0x7,a[_0x13aec8(0x32e)]),A(0x8,m['ITransformService']),A(0x9,a[_0x13aec8(0x3e8)](J))],exports[_0x13aec8(0x23f)]),exports[_0x13aec8(0x45b)]=class extends _e{constructor(_0x48d772,_0x5796af,_0x56d48b,_0x239ecd,_0x337477,_0x2017a8,_0x1ad327,_0x3a03ca,_0x5a3449,_0x14b5da,_0x3815ad,_0x4c1649,_0x51f362,_0x5eea6e){var _0x465208=_0x13aec8;super(_0x48d772,_0x5796af,null,_0x56d48b,_0x239ecd,_0x5a3449,_0x51f362,_0x2017a8,_0x5eea6e),D(this,'status',_0x465208(0x42e)),D(this,_0x465208(0x49a),null),D(this,_0x465208(0x2c6),null),(this['_injector']=_0x337477,this[_0x465208(0x402)]=_0x1ad327,this[_0x465208(0x1b9)]=_0x3a03ca,this[_0x465208(0x2a3)]=_0x14b5da,this['_transformService']=_0x3815ad,this[_0x465208(0x14b)]=_0x4c1649);}[_0x13aec8(0x33d)](_0x237535){var _0x1428bd=_0x13aec8;return this[_0x1428bd(0x4a8)][_0x1428bd(0x375)](_0x237535),this[_0x1428bd(0x2a5)](),this;}[_0x13aec8(0x1fd)](_0x21422b){var _0x29a8a2=_0x13aec8;if(this[_0x29a8a2(0x362)](_0x21422b))return this[_0x29a8a2(0x3ef)](),this[_0x29a8a2(0x423)]['createInstance'](exports[_0x29a8a2(0x380)],this['unitID'],this[_0x29a8a2(0x4b8)],null,this[_0x29a8a2(0x4a8)],null,[_0x21422b],this['_handler']);try{const _0x42271b=this[_0x29a8a2(0x480)][_0x29a8a2(0x3ee)](_0x21422b,this[_0x29a8a2(0x4a8)]);if(m['isTransformMutationsWithChangesetSuccess'](_0x42271b)){const {c1Prime:_0x362d81,m2Prime:_0x390678}=_0x42271b;this['_executeRemoteChangeset'](_0x362d81);const _0x547f46=this[_0x29a8a2(0x423)][_0x29a8a2(0x1c4)](exports[_0x29a8a2(0x45b)],this[_0x29a8a2(0x37e)],this['type'],_0x390678,this['_handler']);return this[_0x29a8a2(0x3ef)](),_0x547f46['_schedule'](this[_0x29a8a2(0x49a)]?Math[_0x29a8a2(0x27a)](0x0,new Date()[_0x29a8a2(0x3d4)]()-this[_0x29a8a2(0x49a)]):this[_0x29a8a2(0x2e1)]()),_0x547f46;}throw _0x42271b[_0x29a8a2(0x427)];}catch(_0x5f1c77){return this[_0x29a8a2(0x1b9)][_0x29a8a2(0x427)](_0x5f1c77),this[_0x29a8a2(0x2dc)](!0x1);}}[_0x13aec8(0x148)](){var _0x295581=_0x13aec8;throw new Error(_0x295581(0x2f9));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x13aec8(0x2ba)](){return this;}[_0x13aec8(0x1b0)](){var _0x2debd0=_0x13aec8;return this[_0x2debd0(0x3ef)](),this['_injector'][_0x2debd0(0x1c4)](exports[_0x2debd0(0x1d8)],this[_0x2debd0(0x37e)],this[_0x2debd0(0x4b8)],null,this[_0x2debd0(0x4a8)],this[_0x2debd0(0x344)]);}['toggleOnline'](){return this;}[_0x13aec8(0x422)](_0x49d711){var _0x290d4c=_0x13aec8;const _0x35d892=_0x49d711!=null?_0x49d711:this[_0x290d4c(0x2e1)]();this['_scheduleTimestamp']=new Date()[_0x290d4c(0x3d4)](),this[_0x290d4c(0x2c6)]=setTimeout(()=>{var _0x5ae437=_0x290d4c;this[_0x5ae437(0x3ef)]();let _0x300e32=null;switch(this[_0x5ae437(0x4b8)]){case Z['UNIVER_SHEET']:{_0x300e32=ze(this[_0x5ae437(0x4a8)],this['unitID'],this[_0x5ae437(0x14b)],this[_0x5ae437(0x369)],this[_0x5ae437(0x402)]);break;}case Z[_0x5ae437(0x471)]:{this['_pendingMutations']['every'](_0x177773=>_0x177773['id']===ut[_0x5ae437(0x217)]['id'])?_0x300e32=Ri(this[_0x5ae437(0x4a8)],this[_0x5ae437(0x37e)],this[_0x5ae437(0x14b)],this[_0x5ae437(0x369)],this['_memberService']):_0x300e32=ze(this[_0x5ae437(0x4a8)],this[_0x5ae437(0x37e)],this[_0x5ae437(0x14b)],this['_revisionService'],this[_0x5ae437(0x402)]);break;}default:throw new Error(_0x5ae437(0x489)+this[_0x5ae437(0x4b8)]+_0x5ae437(0x21b));}const {changeset:_0x58de08,pendingMutations:_0x52aeb9}=_0x300e32;this['_handler'][_0x5ae437(0x37c)](_0x58de08);const _0x3c1c6f=_0x52aeb9['length']?this[_0x5ae437(0x423)][_0x5ae437(0x1c4)](exports[_0x5ae437(0x430)],this['unitID'],this['type'],_0x58de08,_0x52aeb9,this[_0x5ae437(0x344)],void 0x0):this[_0x5ae437(0x423)][_0x5ae437(0x1c4)](exports[_0x5ae437(0x23a)],this[_0x5ae437(0x37e)],this[_0x5ae437(0x4b8)],_0x58de08,this[_0x5ae437(0x344)]);_0x3c1c6f[_0x5ae437(0x2a5)](),this[_0x5ae437(0x344)][_0x5ae437(0x250)](this,_0x3c1c6f);},_0x35d892);}[_0x13aec8(0x2e1)](){var _0x4977e7=_0x13aec8,_0x481440;const _0x69fbe4=this[_0x4977e7(0x2a3)][_0x4977e7(0x201)](q);return(_0x481440=_0x69fbe4==null?void 0x0:_0x69fbe4[_0x4977e7(0x3a1)])!=null?_0x481440:kt;}[_0x13aec8(0x13b)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x13aec8(0x3ef)](){var _0x51f65a=_0x13aec8;this[_0x51f65a(0x2c6)]!=null&&(clearTimeout(this[_0x51f65a(0x2c6)]),this['_sendingTimer']=null);}[_0x13aec8(0x2dc)](_0xce9b58){var _0x92c78e=_0x13aec8;return this[_0x92c78e(0x3ef)](),this[_0x92c78e(0x423)][_0x92c78e(0x1c4)](exports[_0x92c78e(0x42b)],this[_0x92c78e(0x37e)],this[_0x92c78e(0x4b8)],null,this[_0x92c78e(0x4a8)],this[_0x92c78e(0x344)],_0xce9b58);}},exports['PendingState']=le([A(0x4,a[_0x13aec8(0x2eb)](a[_0x13aec8(0x3e1)])),A(0x5,a[_0x13aec8(0x2eb)](m[_0x13aec8(0x275)])),A(0x6,a[_0x13aec8(0x2eb)](exports[_0x13aec8(0x240)])),A(0x7,a[_0x13aec8(0x32e)]),A(0x8,a['ICommandService']),A(0x9,a[_0x13aec8(0x4af)]),A(0xa,m[_0x13aec8(0x295)]),A(0xb,a[_0x13aec8(0x38b)]),A(0xc,a[_0x13aec8(0x1b3)]),A(0xd,a[_0x13aec8(0x3e8)](J))],exports[_0x13aec8(0x45b)]),exports[_0x13aec8(0x23a)]=class extends _e{constructor(_0x4b87da,_0xc1a194,_0x38ba3f,_0x394c2a,_0x474941,_0x51c8ba,_0x565a10,_0x5aab2a,_0x441623,_0x1d6d2d,_0x424a0f){var _0x2dd2fe=_0x13aec8;super(_0x4b87da,_0xc1a194,_0x38ba3f,[],_0x394c2a,_0x565a10,_0x1d6d2d,_0x51c8ba,_0x424a0f),D(this,_0x2dd2fe(0x2d5),'awaiting'),D(this,_0x2dd2fe(0x14c),0x0),D(this,_0x2dd2fe(0x424)),D(this,'_sender'),(this['_injector']=_0x474941,this[_0x2dd2fe(0x1b9)]=_0x5aab2a,this[_0x2dd2fe(0x480)]=_0x441623);}[_0x13aec8(0x33d)](_0xc2d8d8){var _0x34e029=_0x13aec8;this['_clearScheduledTask']();const _0x40d0cc=this['_injector'][_0x34e029(0x1c4)](exports[_0x34e029(0x430)],this['unitID'],this[_0x34e029(0x4b8)],this[_0x34e029(0x388)],[_0xc2d8d8],this[_0x34e029(0x344)],this['_resendTimer']);return _0x40d0cc[_0x34e029(0x2a5)](),_0x40d0cc;}[_0x13aec8(0x1fd)](_0x3c856c){var _0x5b0956=_0x13aec8;if(this['_checkMissing'](_0x3c856c))return this['_clearScheduledTask'](),this[_0x5b0956(0x423)][_0x5b0956(0x1c4)](exports[_0x5b0956(0x380)],this[_0x5b0956(0x37e)],this[_0x5b0956(0x4b8)],this[_0x5b0956(0x388)],[],null,[_0x3c856c],this[_0x5b0956(0x344)]);try{const _0x41be48=this['_transformService'][_0x5b0956(0x473)]([_0x3c856c],[this[_0x5b0956(0x388)]],!0x1);if(m[_0x5b0956(0x1fe)](_0x41be48)){const {c1Prime:_0x46bf88,c2Prime:_0x26c94c}=_0x41be48;this[_0x5b0956(0x3cd)](_0x46bf88[0x0]),_0x26c94c[0x0]['baseRev']=this[_0x5b0956(0x22e)](),this[_0x5b0956(0x3ef)]();const _0x33c640=this[_0x5b0956(0x423)]['createInstance'](exports[_0x5b0956(0x23a)],this[_0x5b0956(0x37e)],this[_0x5b0956(0x4b8)],_0x26c94c[0x0],this[_0x5b0956(0x344)]);return _0x33c640[_0x5b0956(0x2a5)](),_0x33c640;}return this[_0x5b0956(0x2dc)](!0x1);}catch(_0xe87c60){return this['_logService'][_0x5b0956(0x427)](_0xe87c60),this[_0x5b0956(0x2dc)](!0x1);}}[_0x13aec8(0x148)](_0x151b32){var _0x5b1e56=_0x13aec8;this[_0x5b1e56(0x3ef)]();const _0x54f07c=this[_0x5b1e56(0x369)]['getCurrentRevOfUnit'](this[_0x5b1e56(0x37e)]);if(_0x151b32[_0x5b1e56(0x164)]<_0x54f07c-0x1)return this;if(this[_0x5b1e56(0x362)](_0x151b32))return this[_0x5b1e56(0x423)][_0x5b1e56(0x1c4)](exports[_0x5b1e56(0x380)],this[_0x5b1e56(0x37e)],this[_0x5b1e56(0x4b8)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x5b1e56(0x449)]();const _0x4c0bc5=this[_0x5b1e56(0x423)][_0x5b1e56(0x1c4)](exports[_0x5b1e56(0x23f)],this[_0x5b1e56(0x37e)],this[_0x5b1e56(0x4b8)],this[_0x5b1e56(0x344)]);return _0x4c0bc5['_updateLocalCache'](),_0x4c0bc5;}[_0x13aec8(0x45d)](_0x49e9f1){var _0x27852c=_0x13aec8;return this[_0x27852c(0x2dc)](!!(_0x49e9f1!=null&&_0x49e9f1[_0x27852c(0x242)]));}['onRemoteRetry'](_0x47df2e){var _0x50e95c=_0x13aec8;return this[_0x50e95c(0x14c)]>Pt?this[_0x50e95c(0x1b0)]():(this[_0x50e95c(0x424)]=yt(this[_0x50e95c(0x14c)],{'timeout':this[_0x50e95c(0x14c)],'reqId':_0x47df2e[_0x50e95c(0x4a4)]}),this[_0x50e95c(0x30b)]=this[_0x50e95c(0x424)][_0x50e95c(0x1e1)](({reqId:_0x36829d,timeout:_0x317d20})=>{var _0x41a999=_0x50e95c;this[_0x41a999(0x49f)](_0x36829d,_0x317d20);}),this);}[_0x13aec8(0x1b0)](){var _0xe9fb1c=_0x13aec8;return this['_clearScheduledTask'](),this[_0xe9fb1c(0x423)]['createInstance'](exports['OfflineState'],this[_0xe9fb1c(0x37e)],this[_0xe9fb1c(0x4b8)],this['_awaitingChangeset'],[],this[_0xe9fb1c(0x344)]);}[_0x13aec8(0x19a)](){return this;}['resend'](){var _0x43b6c4=_0x13aec8;this['_handler']['onSendChangeset'](this[_0x43b6c4(0x388)]);}['_onConflict'](_0xa0b7eb){var _0x56744a=_0x13aec8;return this[_0x56744a(0x3ef)](),this['_injector'][_0x56744a(0x1c4)](exports['ConflictState'],this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x56744a(0x344)],_0xa0b7eb);}[_0x13aec8(0x49f)](_0x17727e,_0xaba48d){var _0x1570f7=_0x13aec8,_0x7f0442;_0x17727e===((_0x7f0442=this[_0x1570f7(0x388)])==null?void 0x0:_0x7f0442[_0x1570f7(0x4a4)])&&(this[_0x1570f7(0x13b)](),this['_resendTimeout']=_0xaba48d===0x0?0x3e8:_0xaba48d*0x2);}['_clearScheduledTask'](){var _0x448f2a=_0x13aec8,_0x49e871;(_0x49e871=this[_0x448f2a(0x30b)])==null||_0x49e871['unsubscribe'](),this[_0x448f2a(0x14c)]=0x0;}},exports[_0x13aec8(0x23a)]=le([A(0x4,a[_0x13aec8(0x2eb)](a['Injector'])),A(0x5,a[_0x13aec8(0x2eb)](m[_0x13aec8(0x275)])),A(0x6,a['ICommandService']),A(0x7,a['ILogService']),A(0x8,m[_0x13aec8(0x295)]),A(0x9,a[_0x13aec8(0x1b3)]),A(0xa,a['Optional'](J))],exports[_0x13aec8(0x23a)]),exports[_0x13aec8(0x430)]=class extends _e{constructor(_0xedd15c,_0x40d034,_0x23b32c,_0x16efaa,_0x3a9af5,_0x1981a1,_0x36c339,_0xc58407,_0x2097c4,_0x5b5214,_0x5bf93c,_0x326531,_0x515e5a){var _0x4b69ba=_0x13aec8;super(_0xedd15c,_0x40d034,_0x23b32c,_0x16efaa,_0x3a9af5,_0x2097c4,_0x326531,_0xc58407,_0x515e5a),D(this,_0x4b69ba(0x2d5),'awaiting_with_pending'),D(this,_0x4b69ba(0x14c),0x0),D(this,_0x4b69ba(0x424)),D(this,_0x4b69ba(0x30b)),(this[_0x4b69ba(0x423)]=_0x36c339,this[_0x4b69ba(0x1b9)]=_0x5b5214,this['_transformService']=_0x5bf93c,this[_0x4b69ba(0x1db)]=_0x515e5a,_0x1981a1&&(this[_0x4b69ba(0x424)]=_0x1981a1,this[_0x4b69ba(0x30b)]=this[_0x4b69ba(0x424)][_0x4b69ba(0x1e1)](({reqId:_0x4ed5d5,timeout:_0x5204ab})=>{var _0x1cf3fe=_0x4b69ba;this[_0x1cf3fe(0x49f)](_0x4ed5d5,_0x5204ab);})));}[_0x13aec8(0x33d)](_0x15fef7){var _0x1d69ee=_0x13aec8;return this[_0x1d69ee(0x4a8)][_0x1d69ee(0x375)](_0x15fef7),this;}['onRemoteChangeset'](_0x2c8b08){var _0x1a9d84=_0x13aec8;if(this[_0x1a9d84(0x362)](_0x2c8b08))return this['_clearScheduledTask'](),this[_0x1a9d84(0x423)]['createInstance'](exports[_0x1a9d84(0x380)],this[_0x1a9d84(0x37e)],this['type'],this['_awaitingChangeset'],this[_0x1a9d84(0x4a8)],null,[_0x2c8b08],this[_0x1a9d84(0x344)]);try{const _0x1f006e=this[_0x1a9d84(0x480)][_0x1a9d84(0x473)]([_0x2c8b08],[this[_0x1a9d84(0x388)]],!0x1);if(m['isTransformChangesetsSuccess'](_0x1f006e)){const {c1Prime:_0x5bcdcd,c2Prime:_0x4cad1c}=_0x1f006e,_0x456d96=this[_0x1a9d84(0x480)][_0x1a9d84(0x3ee)](_0x5bcdcd[0x0],this[_0x1a9d84(0x4a8)]);if(m[_0x1a9d84(0x1ce)](_0x456d96)){const {c1Prime:_0x26f22e,m2Prime:_0xe8c877}=_0x456d96;return this[_0x1a9d84(0x3cd)](_0x26f22e),_0x4cad1c[0x0][_0x1a9d84(0x237)]=this['_getCurrentRevision'](),this[_0x1a9d84(0x3ef)](),this['_injector'][_0x1a9d84(0x1c4)](exports[_0x1a9d84(0x430)],this[_0x1a9d84(0x37e)],this[_0x1a9d84(0x4b8)],_0x4cad1c[0x0],_0xe8c877,this[_0x1a9d84(0x344)],void 0x0);}throw _0x456d96[_0x1a9d84(0x427)];}throw _0x1f006e[_0x1a9d84(0x427)];}catch(_0x48b222){return this['_logService'][_0x1a9d84(0x427)](_0x48b222),this[_0x1a9d84(0x2dc)](!0x1);}}[_0x13aec8(0x148)](_0x4e4c86){var _0x5961c2=_0x13aec8;if(this[_0x5961c2(0x3ef)](),this[_0x5961c2(0x362)](_0x4e4c86))return this['_injector'][_0x5961c2(0x1c4)](exports[_0x5961c2(0x380)],this[_0x5961c2(0x37e)],this[_0x5961c2(0x4b8)],null,this[_0x5961c2(0x4a8)],this[_0x5961c2(0x388)],[],this['_handler']);this[_0x5961c2(0x449)]();const _0x39dddc=this[_0x5961c2(0x423)][_0x5961c2(0x1c4)](exports[_0x5961c2(0x45b)],this[_0x5961c2(0x37e)],this[_0x5961c2(0x4b8)],this[_0x5961c2(0x4a8)],this[_0x5961c2(0x344)]);return _0x39dddc[_0x5961c2(0x422)](),_0x39dddc['_updateLocalCache'](),_0x39dddc;}['onRemoteRej'](_0x4133a8){var _0x267607=_0x13aec8;return this[_0x267607(0x2dc)](!!(_0x4133a8!=null&&_0x4133a8[_0x267607(0x242)]));}[_0x13aec8(0x2ba)](_0x26759a){var _0x355703=_0x13aec8;return this[_0x355703(0x14c)]>Pt?this['toggleOffline']():(this[_0x355703(0x424)]=yt(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x26759a[_0x355703(0x4a4)]}),this[_0x355703(0x30b)]=this[_0x355703(0x424)][_0x355703(0x1e1)](({reqId:_0x2a536d,timeout:_0x464678})=>{var _0x5487c9=_0x355703;this[_0x5487c9(0x49f)](_0x2a536d,_0x464678);}),this);}['toggleOffline'](){var _0x4da002=_0x13aec8;return this[_0x4da002(0x3ef)](),this[_0x4da002(0x423)][_0x4da002(0x1c4)](exports[_0x4da002(0x1d8)],this[_0x4da002(0x37e)],this[_0x4da002(0x4b8)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x4da002(0x344)]);}[_0x13aec8(0x19a)](){return this;}[_0x13aec8(0x13b)](){var _0x485225=_0x13aec8;this[_0x485225(0x344)][_0x485225(0x37c)](this[_0x485225(0x388)]);}[_0x13aec8(0x2dc)](_0x455450){var _0x346350=_0x13aec8;return this[_0x346350(0x3ef)](),this[_0x346350(0x423)][_0x346350(0x1c4)](exports['ConflictState'],this[_0x346350(0x37e)],this[_0x346350(0x4b8)],null,this[_0x346350(0x4a8)],this[_0x346350(0x344)],_0x455450);}['_resendWithTimeout'](_0x1fa4f2,_0x5b11b2){var _0x4e2904=_0x13aec8,_0xc49425;_0x1fa4f2===((_0xc49425=this[_0x4e2904(0x388)])==null?void 0x0:_0xc49425[_0x4e2904(0x4a4)])&&(this['resend'](),this[_0x4e2904(0x14c)]=_0x5b11b2===0x0?0x3e8:_0x5b11b2*0x2);}[_0x13aec8(0x3ef)](){var _0x1d3cc4=_0x13aec8,_0x162d52;(_0x162d52=this[_0x1d3cc4(0x30b)])==null||_0x162d52[_0x1d3cc4(0x18a)](),this[_0x1d3cc4(0x14c)]=0x0;}},exports[_0x13aec8(0x430)]=le([A(0x6,a[_0x13aec8(0x2eb)](a[_0x13aec8(0x3e1)])),A(0x7,a['Inject'](m[_0x13aec8(0x275)])),A(0x8,a[_0x13aec8(0x355)]),A(0x9,a[_0x13aec8(0x32e)]),A(0xa,m[_0x13aec8(0x295)]),A(0xb,a['IUndoRedoService']),A(0xc,a[_0x13aec8(0x3e8)](J))],exports[_0x13aec8(0x430)]),exports['ConflictState']=class extends _e{constructor(_0x495255,_0xc3f00,_0x5522be,_0x3ea905,_0x496dc5,_0x227f1c=!0x1,_0x48c489,_0x110e64,_0x1ca05d,_0x37c196,_0x575507,_0x487edc,_0x44affe){var _0x273b44=_0x13aec8;super(_0x495255,_0xc3f00,_0x5522be,_0x3ea905,_0x496dc5,_0x110e64,_0x1ca05d,_0x37c196,_0x44affe),D(this,_0x273b44(0x2d5),_0x273b44(0x390)),(this[_0x273b44(0x143)]=_0x227f1c,this[_0x273b44(0x31d)]=_0x48c489,this['_localeService']=_0x575507,this[_0x273b44(0x235)]=_0x487edc,this[_0x273b44(0x1db)]=_0x44affe,this[_0x273b44(0x447)](),this['_clearLocalCache'](),this[_0x273b44(0x210)]());}[_0x13aec8(0x33d)](){return this;}[_0x13aec8(0x1fd)](){return this;}['onRemoteAck'](){return this;}[_0x13aec8(0x45d)](){return this;}[_0x13aec8(0x2ba)](){return this;}['toggleOffline'](){return this;}[_0x13aec8(0x19a)](){return this;}[_0x13aec8(0x13b)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x333d5a=_0x13aec8,_0x444228;(_0x444228=this[_0x333d5a(0x3aa)])==null||_0x444228[_0x333d5a(0x3f2)](this[_0x333d5a(0x37e)],this['type'],null,[]);}['_showConflictNotification'](){var _0x3ce9d2=_0x13aec8;this[_0x3ce9d2(0x143)]?this['_collaborationUIEventService'][_0x3ce9d2(0x4b1)]({'id':Q[_0x3ce9d2(0x2aa)]}):this[_0x3ce9d2(0x235)]['emitEvent']({'id':Q[_0x3ce9d2(0x419)]});}[_0x13aec8(0x210)](){var _0x55bda1=_0x13aec8;this['_permissionService'][_0x55bda1(0x3c8)](new W['WorkbookEditablePermission'](this['unitID'])['id'],!0x1);}},exports['ConflictState']=le([A(0x6,a['Inject'](a[_0x13aec8(0x26e)])),A(0x7,a[_0x13aec8(0x355)]),A(0x8,a['IUndoRedoService']),A(0x9,a[_0x13aec8(0x2eb)](m[_0x13aec8(0x275)])),A(0xa,a[_0x13aec8(0x2eb)](a['LocaleService'])),A(0xb,a['Inject'](te)),A(0xc,a[_0x13aec8(0x3e8)](J))],exports[_0x13aec8(0x42b)]),exports[_0x13aec8(0x1d8)]=class extends _e{constructor(_0x46d115,_0x286109,_0x124ef0,_0x23baf7,_0x2243f0,_0x49beae,_0x3287c2,_0x476996,_0x28ea8b,_0x215248){var _0x12a7ba=_0x13aec8;super(_0x46d115,_0x286109,_0x124ef0,_0x23baf7,_0x2243f0,_0x476996,_0x28ea8b,_0x3287c2,_0x215248),D(this,_0x12a7ba(0x2d5),_0x12a7ba(0x15c)),this['_injector']=_0x49beae;}[_0x13aec8(0x33d)](_0x26ac9b){var _0x5789a1=_0x13aec8;return this[_0x5789a1(0x4a8)][_0x5789a1(0x375)](_0x26ac9b),this[_0x5789a1(0x2a5)](),this;}['onRemoteChangeset'](_0x353306){var _0xe320b=_0x13aec8;throw new Error(_0xe320b(0x2a4));}[_0x13aec8(0x148)](){var _0x282a92=_0x13aec8;throw new Error(_0x282a92(0x1de));}[_0x13aec8(0x45d)](){var _0x1cbd1c=_0x13aec8;throw new Error(_0x1cbd1c(0x208));}[_0x13aec8(0x2ba)](){return this;}[_0x13aec8(0x1b0)](){return this;}[_0x13aec8(0x19a)](){var _0x121b5f=_0x13aec8;const {_injector:_0x10fb9d,_pendingMutations:_0x524273,_awaitingChangeset:_0x5ccb8d,unitID:_0x51d234,_handler:_0x4b64e3,type:_0x10797a}=this,_0x491f0c=Nt(_0x10fb9d,_0x51d234,_0x10797a,_0x5ccb8d,_0x524273,_0x4b64e3);return _0x491f0c instanceof exports[_0x121b5f(0x45b)]?_0x491f0c[_0x121b5f(0x422)]():(_0x491f0c instanceof exports[_0x121b5f(0x430)]||_0x491f0c instanceof exports[_0x121b5f(0x23a)])&&_0x491f0c[_0x121b5f(0x13b)](),_0x491f0c;}[_0x13aec8(0x13b)](){var _0x8bd0be=_0x13aec8;throw new Error(_0x8bd0be(0x202));}},exports['OfflineState']=le([A(0x5,a[_0x13aec8(0x2eb)](a[_0x13aec8(0x3e1)])),A(0x6,a[_0x13aec8(0x2eb)](m[_0x13aec8(0x275)])),A(0x7,a['ICommandService']),A(0x8,a[_0x13aec8(0x1b3)]),A(0x9,a[_0x13aec8(0x3e8)](J))],exports[_0x13aec8(0x1d8)]),exports[_0x13aec8(0x380)]=class extends _e{constructor(_0x4eb65a,_0x38c8a5,_0xf026b6,_0x2eaa8f,_0x80a4d8,_0x59f241,_0x1da899,_0x39feb3,_0x4372bd,_0x27034b,_0xc30c38,_0x157a1d,_0x539ad1,_0x3a4097){var _0xbc47bf=_0x13aec8;super(_0x4eb65a,_0x38c8a5,_0xf026b6,_0x2eaa8f,_0x1da899,_0xc30c38,_0x157a1d,_0x4372bd,_0x3a4097),D(this,'status',_0xbc47bf(0x353)),(this[_0xbc47bf(0x28e)]=_0x80a4d8,this[_0xbc47bf(0x46e)]=_0x59f241,this[_0xbc47bf(0x423)]=_0x39feb3,this['_logService']=_0x27034b,this[_0xbc47bf(0x480)]=_0x539ad1,this['localCacheService']=_0x3a4097);}[_0x13aec8(0x17f)](_0x2e467b){var _0xdad54=_0x13aec8;try{const _0x4cf7e1=[..._0x2e467b,...this['_queuedRemoteChangesets']],_0x4c00a1=[this[_0xdad54(0x388)]||this[_0xdad54(0x28e)]][_0xdad54(0x347)](_0x35c050=>!!_0x35c050);let _0xa30151,_0x578a17;if(_0x4c00a1[_0xdad54(0x254)]){const _0x51df7=this[_0xdad54(0x480)][_0xdad54(0x473)](_0x4cf7e1,_0x4c00a1,!0x1);if(!m[_0xdad54(0x1fe)](_0x51df7))throw _0x51df7[_0xdad54(0x427)];_0xa30151=_0x51df7[_0xdad54(0x2d4)],_0x578a17=_0x51df7[_0xdad54(0x1a2)];}else _0xa30151=_0x4cf7e1,_0x578a17=[];let _0x42cd2e=this['_pendingMutations'];_0xa30151[_0xdad54(0x3a2)](_0x5757eb=>{var _0x548a90=_0xdad54;let _0x7d7ca5;if(_0x42cd2e[_0x548a90(0x254)]){const _0x1a2119=this[_0x548a90(0x480)][_0x548a90(0x3ee)](_0x5757eb,_0x42cd2e);if(!m['isTransformMutationsWithChangesetSuccess'](_0x1a2119))throw _0x1a2119[_0x548a90(0x427)];_0x7d7ca5=_0x1a2119[_0x548a90(0x2d4)],_0x42cd2e=_0x1a2119['m2Prime'];}else _0x7d7ca5=_0x5757eb;this[_0x548a90(0x3cd)](_0x7d7ca5);}),this['_acknowledgedAwaitingChangeset']&&this[_0xdad54(0x449)](),this[_0xdad54(0x388)]&&_0x578a17[_0xdad54(0x254)]&&(_0x578a17[0x0]['baseRev']=this['_getCurrentRevision']());let _0x3d5407;if(this[_0xdad54(0x388)]&&_0x42cd2e[_0xdad54(0x254)]!==0x0)_0x3d5407=this[_0xdad54(0x423)][_0xdad54(0x1c4)](exports[_0xdad54(0x430)],this['unitID'],this['type'],_0x578a17[0x0],_0x42cd2e,this['_handler'],void 0x0);else{if(this[_0xdad54(0x388)]&&_0x42cd2e[_0xdad54(0x254)]===0x0)_0x578a17[0x0]['baseRev']=this[_0xdad54(0x22e)](),_0x3d5407=this[_0xdad54(0x423)]['createInstance'](exports[_0xdad54(0x23a)],this[_0xdad54(0x37e)],this[_0xdad54(0x4b8)],_0x578a17[0x0],this[_0xdad54(0x344)]);else{if(_0x42cd2e[_0xdad54(0x254)]!==0x0){const _0x4c4e7d=this[_0xdad54(0x423)][_0xdad54(0x1c4)](exports[_0xdad54(0x45b)],this[_0xdad54(0x37e)],this[_0xdad54(0x4b8)],_0x42cd2e,this[_0xdad54(0x344)]);_0x4c4e7d['_schedule'](),_0x3d5407=_0x4c4e7d;}else _0x3d5407=this[_0xdad54(0x423)]['createInstance'](exports[_0xdad54(0x23f)],this[_0xdad54(0x37e)],this[_0xdad54(0x4b8)],this['_handler']);}}return _0x3d5407[_0xdad54(0x2a5)](),_0x3d5407;}catch(_0x2463ef){return this['_logService'][_0xdad54(0x427)](_0xdad54(0x48e),_0xdad54(0x1c7),_0x2463ef),this[_0xdad54(0x423)][_0xdad54(0x1c4)](exports[_0xdad54(0x42b)],this[_0xdad54(0x37e)],this[_0xdad54(0x4b8)],this[_0xdad54(0x388)],this['_pendingMutations'],this[_0xdad54(0x344)],!0x1);}}[_0x13aec8(0x13b)](){var _0xdf7b2=_0x13aec8;throw new Error(_0xdf7b2(0x21a));}[_0x13aec8(0x33d)](_0x532888){var _0x38c8b9=_0x13aec8;return this[_0x38c8b9(0x4a8)][_0x38c8b9(0x375)](_0x532888),this;}[_0x13aec8(0x1fd)](_0x5bb58b){var _0x35680b=_0x13aec8;return this[_0x35680b(0x46e)]['push'](_0x5bb58b),this;}[_0x13aec8(0x148)](_0x54ec0e){var _0x16b262=_0x13aec8;if(this[_0x16b262(0x388)])return this[_0x16b262(0x28e)]=this['_awaitingChangeset'],this[_0x16b262(0x388)]=null,this;throw new Error(_0x16b262(0x44d));}[_0x13aec8(0x45d)](_0x19410a){var _0x502270=_0x13aec8;return this['_onConflict'](!!(_0x19410a!=null&&_0x19410a[_0x502270(0x242)]));}[_0x13aec8(0x2ba)](){return this;}[_0x13aec8(0x1b0)](){var _0xd07af9=_0x13aec8;return this[_0xd07af9(0x423)][_0xd07af9(0x1c4)](exports['OfflineState'],this[_0xd07af9(0x37e)],this[_0xd07af9(0x4b8)],this[_0xd07af9(0x388)],this['_pendingMutations'],this['_handler']);}[_0x13aec8(0x19a)](){return this;}[_0x13aec8(0x2dc)](_0x6e958d){var _0x9c8268=_0x13aec8;return this[_0x9c8268(0x423)][_0x9c8268(0x1c4)](exports[_0x9c8268(0x42b)],this['unitID'],this['type'],this[_0x9c8268(0x388)],this[_0x9c8268(0x4a8)],this[_0x9c8268(0x344)],_0x6e958d);}},exports[_0x13aec8(0x380)]=le([A(0x7,a['Inject'](a[_0x13aec8(0x3e1)])),A(0x8,a[_0x13aec8(0x2eb)](m[_0x13aec8(0x275)])),A(0x9,a[_0x13aec8(0x32e)]),A(0xa,a[_0x13aec8(0x355)]),A(0xb,a[_0x13aec8(0x1b3)]),A(0xc,m['ITransformService']),A(0xd,a['Optional'](J))],exports[_0x13aec8(0x380)]);function Nt(_0x22b6eb,_0x96600e,_0x337f24,_0x457576,_0x4587a2,_0x1e27c3){var _0x768783=_0x13aec8;return _0x457576&&_0x4587a2[_0x768783(0x254)]?_0x22b6eb[_0x768783(0x1c4)](exports['AwaitingWithPendingState'],_0x96600e,_0x337f24,_0x457576,_0x4587a2,_0x1e27c3,void 0x0):_0x457576?_0x22b6eb[_0x768783(0x1c4)](exports[_0x768783(0x23a)],_0x96600e,_0x337f24,_0x457576,_0x1e27c3):_0x4587a2[_0x768783(0x254)]?_0x22b6eb[_0x768783(0x1c4)](exports['PendingState'],_0x96600e,_0x337f24,_0x4587a2,_0x1e27c3):_0x22b6eb[_0x768783(0x1c4)](exports[_0x768783(0x23f)],_0x96600e,_0x337f24,_0x1e27c3);}var Ni=Object['defineProperty'],Ui=Object[_0x13aec8(0x203)],Ve=(_0x40c1a9,_0x487e34,_0x275a0e,_0x475457)=>{var _0xd3ed48=_0x13aec8;for(var _0x49f2ab=_0x475457>0x1?void 0x0:_0x475457?Ui(_0x487e34,_0x275a0e):_0x487e34,_0x1708dc=_0x40c1a9[_0xd3ed48(0x254)]-0x1,_0x4b05ff;_0x1708dc>=0x0;_0x1708dc--)(_0x4b05ff=_0x40c1a9[_0x1708dc])&&(_0x49f2ab=(_0x475457?_0x4b05ff(_0x487e34,_0x275a0e,_0x49f2ab):_0x4b05ff(_0x49f2ab))||_0x49f2ab);return _0x475457&&_0x49f2ab&&Ni(_0x487e34,_0x275a0e,_0x49f2ab),_0x49f2ab;},k=(_0x1a5228,_0x499db2)=>(_0x493655,_0x27fd8a)=>_0x499db2(_0x493655,_0x27fd8a,_0x1a5228);exports[_0x13aec8(0x21f)]=class extends a['RxDisposable']{constructor(_0x312d9b,_0x3600ce,_0xbedc40,_0x1d9eac,_0x522212,_0x303e67,_0x21a5bf,_0x9f54e0,_0x3a3795,_0x10e8ef,_0x10ec22,_0x3a4e2c,_0x278f07){var _0x35c2d9=_0x13aec8;super(),D(this,_0x35c2d9(0x2fd),new H[(_0x35c2d9(0x18b))](null)),D(this,_0x35c2d9(0x182),this[_0x35c2d9(0x2fd)][_0x35c2d9(0x4a9)]()),D(this,'_state'),D(this,_0x35c2d9(0x1a1),!0x1),D(this,_0x35c2d9(0x139),''),D(this,'_changesetReqId',0x0),D(this,_0x35c2d9(0x1bb),this['state$'][_0x35c2d9(0x40b)](H[_0x35c2d9(0x29a)](_0xf401ce=>_0xf401ce?_0xf401ce[_0x35c2d9(0x2d5)]:We[_0x35c2d9(0x354)]),H['shareReplay'](0x1))),D(this,_0x35c2d9(0x332),!0x1),D(this,_0x35c2d9(0x1aa),[]),(this['unitID']=_0x312d9b,this[_0x35c2d9(0x472)]=_0x3600ce,this[_0x35c2d9(0x457)]=_0xbedc40,this[_0x35c2d9(0x423)]=_0x1d9eac,this[_0x35c2d9(0x1fc)]=_0x522212,this[_0x35c2d9(0x276)]=_0x303e67,this[_0x35c2d9(0x369)]=_0x21a5bf,this[_0x35c2d9(0x314)]=_0x9f54e0,this[_0x35c2d9(0x1b9)]=_0x3a3795,this[_0x35c2d9(0x25e)]=_0x10e8ef,this[_0x35c2d9(0x31d)]=_0x10ec22,this[_0x35c2d9(0x1f7)]=_0x3a4e2c,this[_0x35c2d9(0x3aa)]=_0x278f07);}get['state'](){var _0x5ebfe5=_0x13aec8;return this[_0x5ebfe5(0x166)];}async['init'](){var _0x1bf10f=_0x13aec8;if(this[_0x1bf10f(0x385)])throw new Error(_0x1bf10f(0x3bb));await this[_0x1bf10f(0x496)]();}[_0x13aec8(0x2bf)](){return this['_collaborationPaused']=!0x0,a['toDisposable'](()=>{var _0x95474f=_0x4ec5;this[_0x95474f(0x1a1)]=!0x1,this[_0x95474f(0x249)]();});}[_0x13aec8(0x326)](_0x41e276){var _0x1eadca=_0x13aec8;this[_0x1eadca(0x18f)](_0x41e276);}[_0x13aec8(0x2bd)](_0x10dda5){var _0x2a8ee3=_0x13aec8;this[_0x2a8ee3(0x166)]=_0x10dda5,this['_state$'][_0x2a8ee3(0x1c8)](_0x10dda5);}async[_0x13aec8(0x496)](){var _0x4a4048=_0x13aec8,_0x568249;this[_0x4a4048(0x2bd)](await this['_createInitialState']()),this[_0x4a4048(0x1f7)]&&((_0x568249=this['_singleActiveUnitService'])==null||_0x568249[_0x4a4048(0x3e5)](this[_0x4a4048(0x37e)]),this[_0x4a4048(0x1bc)](this[_0x4a4048(0x1f7)][_0x4a4048(0x3f5)](this['unitID'])[_0x4a4048(0x1e1)](_0x255c11=>{var _0x3a4a71=_0x4a4048;this['_logService'][_0x3a4a71(0x420)](_0x3a4a71(0x3fd),'editing\x20status\x20changed\x20to',_0x255c11),_0x255c11===Fe[_0x3a4a71(0x3b3)]?(this[_0x3a4a71(0x314)][_0x3a4a71(0x4b1)]({'id':Q[_0x3a4a71(0x232)]}),this['_permissionService'][_0x3a4a71(0x3c8)](new W['WorkbookEditablePermission'](this[_0x3a4a71(0x37e)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this['_permissionService'][_0x3a4a71(0x3c8)](new W[(_0x3a4a71(0x325))](this['unitID'])['id'],!0x0),this[_0x3a4a71(0x31d)][_0x3a4a71(0x1d9)](!0x0));})));let _0x52a29d=!0x1;return this[_0x4a4048(0x1bc)](this['session'][_0x4a4048(0x365)]['subscribe'](_0x28880d=>{var _0x39c934=_0x4a4048;_0x28880d===se[_0x39c934(0x23d)]?this['_toggleOnline'](_0x52a29d):_0x28880d===se[_0x39c934(0x354)]&&(_0x52a29d=!0x0,this[_0x39c934(0x372)]());})),this[_0x4a4048(0x1bc)](this['session'][_0x4a4048(0x16e)][_0x4a4048(0x1e1)](_0x181444=>{var _0x29e9c7=_0x4a4048;try{switch(_0x181444[_0x29e9c7(0x486)]){case m[_0x29e9c7(0x20b)]['NEW_CHANGESETS']:{this[_0x29e9c7(0x178)](m[_0x29e9c7(0x142)](_0x181444['data']));break;}case m['CollaborationEvent'][_0x29e9c7(0x1c5)]:{this[_0x29e9c7(0x36a)](_0x181444['data']);break;}case m[_0x29e9c7(0x20b)][_0x29e9c7(0x24e)]:{this['_onRemoteRejected']();break;}case m[_0x29e9c7(0x20b)][_0x29e9c7(0x35b)]:{this[_0x29e9c7(0x2b3)](_0x181444[_0x29e9c7(0x418)]);break;}case m[_0x29e9c7(0x20b)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x29e9c7(0x319)](_0x181444[_0x29e9c7(0x418)][_0x29e9c7(0x282)]['map'](_0x1a1e4d=>m[_0x29e9c7(0x142)](_0x1a1e4d)));break;}case m[_0x29e9c7(0x20b)][_0x29e9c7(0x4b0)]:{this[_0x29e9c7(0x25c)]({'isPermissionRej':!0x0});break;}case m[_0x29e9c7(0x20b)]['UNISCRIPT_RUN']:break;}}catch(_0x48c7e3){throw console[_0x29e9c7(0x427)](_0x29e9c7(0x346),_0x48c7e3),_0x48c7e3;}})),this[_0x4a4048(0x166)];}[_0x13aec8(0x25f)](){var _0x4a0170=_0x13aec8;this[_0x4a0170(0x332)]=!0x1;}[_0x13aec8(0x3cf)](){var _0x1aa276=_0x13aec8;if(this[_0x1aa276(0x332)])throw new Error(_0x1aa276(0x273));this[_0x1aa276(0x332)]=!0x0;}[_0x13aec8(0x18f)](_0x2bc3ea){var _0x3e4b10=_0x13aec8;this[_0x3e4b10(0x3cf)](),this['_updateState'](this[_0x3e4b10(0x166)][_0x3e4b10(0x33d)](_0x2bc3ea)),this[_0x3e4b10(0x25f)]();}[_0x13aec8(0x178)](_0xeaed43){var _0x57b244=_0x13aec8;if(!(_0xeaed43[_0x57b244(0x164)]<=this[_0x57b244(0x369)][_0x57b244(0x43f)](this[_0x57b244(0x37e)]))){if(this[_0x57b244(0x1a1)]){this[_0x57b244(0x1aa)][_0x57b244(0x375)](_0xeaed43);return;}this['_applyRemoteChangeset'](_0xeaed43);}}[_0x13aec8(0x249)](){var _0x76d2ad=_0x13aec8;this[_0x76d2ad(0x1aa)][_0x76d2ad(0x3a2)](_0x5693d5=>this[_0x76d2ad(0x1f5)](_0x5693d5)),this[_0x76d2ad(0x1aa)]=[];}['_applyRemoteChangeset'](_0x5d155a){var _0x19ad6e=_0x13aec8;const _0x12575e=this[_0x19ad6e(0x1fc)][_0x19ad6e(0x302)][_0x19ad6e(0x1f2)](this[_0x19ad6e(0x1fc)][_0x19ad6e(0x302)][_0x19ad6e(0x224)]()[_0x19ad6e(0x2f4)])(_0x5d155a[_0x19ad6e(0x4ad)],null)||_0x5d155a[_0x19ad6e(0x4ad)],_0x403649={..._0x5d155a,'mutations':_0x12575e};this[_0x19ad6e(0x3cf)](),this[_0x19ad6e(0x2bd)](this[_0x19ad6e(0x166)][_0x19ad6e(0x1fd)](_0x403649)),this[_0x19ad6e(0x25f)]();}[_0x13aec8(0x36a)](_0x1687c8){var _0x5f5d1d=_0x13aec8;this[_0x5f5d1d(0x3cf)](),this['_updateState'](this[_0x5f5d1d(0x166)][_0x5f5d1d(0x148)](_0x1687c8)),this['_unlockTransition']();}[_0x13aec8(0x25c)](_0x5cef5d){var _0x453352=_0x13aec8;this[_0x453352(0x3cf)](),this[_0x453352(0x2bd)](this[_0x453352(0x166)]['onRemoteRej'](_0x5cef5d)),this[_0x453352(0x25f)]();}[_0x13aec8(0x2b3)](_0x208419){var _0x15e31c=_0x13aec8;this[_0x15e31c(0x3cf)](),this[_0x15e31c(0x2bd)](this[_0x15e31c(0x166)][_0x15e31c(0x2ba)](_0x208419)),this['_unlockTransition']();}[_0x13aec8(0x319)](_0x5d86d6){var _0x52ceac=_0x13aec8;if(!(this[_0x52ceac(0x166)]instanceof exports[_0x52ceac(0x380)]))throw new TypeError(_0x52ceac(0x29c));const _0x38777f=_0x5d86d6[_0x52ceac(0x29a)](_0xcc2032=>{var _0x28c01f=_0x52ceac;const _0xf17f1c=this['_compressMutationService'][_0x28c01f(0x302)][_0x28c01f(0x1f2)](this[_0x28c01f(0x1fc)][_0x28c01f(0x302)][_0x28c01f(0x224)]()[_0x28c01f(0x2f4)])(_0xcc2032[_0x28c01f(0x4ad)],null)||_0xcc2032[_0x28c01f(0x4ad)];return{..._0xcc2032,'mutations':_0xf17f1c};});this[_0x52ceac(0x3cf)](),this[_0x52ceac(0x2bd)](this[_0x52ceac(0x166)]['onMissedChangesetFetched'](_0x38777f)),this[_0x52ceac(0x25f)]();}[_0x13aec8(0x372)](){var _0x512a16=_0x13aec8;this[_0x512a16(0x3cf)](),this[_0x512a16(0x2bd)](this[_0x512a16(0x166)][_0x512a16(0x1b0)]()),this[_0x512a16(0x25f)]();}[_0x13aec8(0x265)](_0x229975=!0x1){var _0x4a6eb5=_0x13aec8;this['_lockTransition'](),this[_0x4a6eb5(0x2bd)](this['_state']['toggleOnline']()),this['_unlockTransition']();const _0x39bd20=this[_0x4a6eb5(0x166)];_0x229975&&_0x39bd20 instanceof exports['SyncedState']&&(this[_0x4a6eb5(0x3cf)](),this['_updateState'](_0x39bd20['fetchMiss']()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x4fe41f=>{var _0x1868c8=_0x4ec5;this['session'][_0x1868c8(0x365)]['pipe'](H[_0x1868c8(0x44c)](0x1))[_0x1868c8(0x1e1)](async _0x306c2a=>{_0x4fe41f(await this['_createInitialStateImpl'](_0x306c2a===se['ONLINE']));});});}[_0x13aec8(0x28c)](){var _0x344a1d=_0x13aec8;const _0x32cca9=this[_0x344a1d(0x37e)];return{'onStateChange':(_0x21f45f,_0x15306b)=>{var _0x1911d3=_0x344a1d;if(_0x21f45f!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x21f45f['status']+'\x0aAfter:\x20'+_0x15306b[_0x1911d3(0x2d5)]+_0x1911d3(0x2c3)+this[_0x1911d3(0x166)][_0x1911d3(0x2d5)]);this[_0x1911d3(0x2bd)](_0x15306b);},'onSendChangeset':_0x40f95d=>{var _0x54df9c=_0x344a1d;_0x40f95d[_0x54df9c(0x23b)]||(_0x40f95d[_0x54df9c(0x23b)]=this[_0x54df9c(0x139)],_0x40f95d[_0x54df9c(0x4a4)]=++this[_0x54df9c(0x38c)]);const _0x1e2349={'eventID':m[_0x54df9c(0x20b)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x40f95d[_0x54df9c(0x37e)],'unitType':this[_0x54df9c(0x457)],'changeset':_0x40f95d,'memberID':this[_0x54df9c(0x472)][_0x54df9c(0x481)]()}};this[_0x54df9c(0x472)]['send'](_0x1e2349,this[_0x54df9c(0x37e)]);},'onMissingChangesets':({from:_0x286268,to:_0x58474a})=>{var _0x59c7e2=_0x344a1d;this[_0x59c7e2(0x1b9)][_0x59c7e2(0x420)](_0x59c7e2(0x3fd),_0x59c7e2(0x3b1)+_0x286268+'\x20to\x20'+_0x58474a);const _0x36d088={'eventID':m[_0x59c7e2(0x20b)][_0x59c7e2(0x37f)],'data':{'unitID':_0x32cca9,'unitType':this[_0x59c7e2(0x457)],'from':_0x286268,'to':_0x58474a}};this[_0x59c7e2(0x472)][_0x59c7e2(0x361)](_0x36d088,this['unitID']);}};}async[_0x13aec8(0x1c9)](_0x233311){var _0x599de5=_0x13aec8,_0x2318cc,_0x2c3a9d,_0x48df52;const _0x595224=await((_0x2318cc=this[_0x599de5(0x3aa)])==null?void 0x0:_0x2318cc['loadOfflineData'](this['unitID'])),_0x2e0c39=(_0x2c3a9d=_0x595224==null?void 0x0:_0x595224['mutations'])!=null?_0x2c3a9d:[],_0x2a919e=(_0x48df52=_0x595224==null?void 0x0:_0x595224[_0x599de5(0x1a9)])!=null?_0x48df52:null,_0x5dabe2=!!(_0x2a919e!=null&&_0x2a919e[_0x599de5(0x23b)])&&!!(_0x2a919e!=null&&_0x2a919e['reqId']);this[_0x599de5(0x139)]=_0x5dabe2?_0x2a919e[_0x599de5(0x23b)]:gi(),this[_0x599de5(0x38c)]=_0x5dabe2?_0x2a919e[_0x599de5(0x4a4)]:0x0;const _0x2afaff=this[_0x599de5(0x37e)];try{this[_0x599de5(0x3d1)](_0x2a919e,_0x2e0c39);}catch(_0x245f67){this[_0x599de5(0x1b9)][_0x599de5(0x427)](_0x245f67);}const _0x45eeeb=this['_createHandler']();if(_0x233311){const _0x541c0e=Nt(this[_0x599de5(0x423)],_0x2afaff,this[_0x599de5(0x457)],_0x2a919e,_0x2e0c39,_0x45eeeb);return _0x541c0e instanceof exports[_0x599de5(0x45b)]?_0x541c0e[_0x599de5(0x422)]():(_0x541c0e instanceof exports['AwaitingWithPendingState']||_0x541c0e instanceof exports['AwaitingState'])&&_0x541c0e[_0x599de5(0x13b)](),_0x541c0e;}return this['_injector']['createInstance'](exports['OfflineState'],_0x2afaff,this[_0x599de5(0x457)],_0x2a919e,_0x2e0c39,_0x45eeeb);}[_0x13aec8(0x3d1)](_0x36f052,_0x4d6300){var _0x27ad75=_0x13aec8,_0x2c9994,_0x28e451;const _0x134b9a=this[_0x27ad75(0x1fc)][_0x27ad75(0x302)]['fetchThroughInterceptors'](this[_0x27ad75(0x1fc)][_0x27ad75(0x302)][_0x27ad75(0x224)]()[_0x27ad75(0x2f4)]);(_0x2c9994=_0x134b9a((_0x36f052==null?void 0x0:_0x36f052[_0x27ad75(0x4ad)])||[],null))==null||_0x2c9994[_0x27ad75(0x3a2)](_0x5d72ed=>this['_commandService'][_0x27ad75(0x36d)](_0x5d72ed['id'],_0x5d72ed[_0x27ad75(0x175)])),(_0x28e451=_0x134b9a(_0x4d6300||[],null))==null||_0x28e451[_0x27ad75(0x3a2)](_0x224943=>this['_commandService'][_0x27ad75(0x36d)](_0x224943['id'],_0x224943[_0x27ad75(0x175)]));}},exports[_0x13aec8(0x21f)]=Ve([k(0x3,a[_0x13aec8(0x2eb)](a[_0x13aec8(0x3e1)])),k(0x4,a[_0x13aec8(0x2eb)](m[_0x13aec8(0x395)])),k(0x5,a[_0x13aec8(0x2eb)](a['LocaleService'])),k(0x6,a['Inject'](m[_0x13aec8(0x275)])),k(0x7,a[_0x13aec8(0x2eb)](te)),k(0x8,a['ILogService']),k(0x9,a[_0x13aec8(0x355)]),k(0xa,a[_0x13aec8(0x26e)]),k(0xb,a[_0x13aec8(0x3e8)](ve)),k(0xc,a[_0x13aec8(0x3e8)](J))],exports[_0x13aec8(0x21f)]),exports[_0x13aec8(0x3f1)]=class extends exports[_0x13aec8(0x21f)]{constructor(_0x3b93c3,_0x19a4de,_0xa33b32,_0x1bb195,_0x20bbe1,_0x566a92,_0x2d85cb,_0x4813d0,_0x2ef868,_0x147303,_0x163473,_0x3f61c8,_0x3d9f6d){var _0x3fab44=_0x13aec8;super(_0x3b93c3,_0xa33b32,_0x19a4de,_0x1bb195,_0x20bbe1,_0x566a92,_0x2d85cb,_0x4813d0,_0x2ef868,_0x147303,_0x163473,_0x3f61c8,_0x3d9f6d),D(this,_0x3fab44(0x233),null),(this['unitID']=_0x3b93c3,this['type']=_0x19a4de);}[_0x13aec8(0x29e)](_0x2ee86a){var _0x36414d=_0x13aec8;this[_0x36414d(0x233)]=_0x2ee86a;}['dispose'](){var _0x117283=_0x13aec8;this[_0x117283(0x233)]=null,super[_0x117283(0x414)]();}[_0x13aec8(0x28c)](){var _0x35e92c=_0x13aec8;const _0xdd23d1=super[_0x35e92c(0x28c)]();return _0xdd23d1[_0x35e92c(0x39e)]=_0x13ad8f=>{var _0x5aeffe=_0x35e92c,_0x231143,_0x3822f9;return(_0x3822f9=(_0x231143=this[_0x5aeffe(0x233)])==null?void 0x0:_0x231143[_0x5aeffe(0x39e)])==null?void 0x0:_0x3822f9['call'](_0x231143,_0x13ad8f);},_0xdd23d1[_0x35e92c(0x25d)]=_0x2f2551=>{var _0xd9dbe6=_0x35e92c,_0xc5c0e9,_0x5a8160;return(_0x5a8160=(_0xc5c0e9=this[_0xd9dbe6(0x233)])==null?void 0x0:_0xc5c0e9['onTransformState'])==null?void 0x0:_0x5a8160[_0xd9dbe6(0x2b9)](_0xc5c0e9,_0x2f2551);},_0xdd23d1['onTransformSelections']=_0x10a93f=>{var _0x36b0b2=_0x35e92c,_0x17582c,_0x5b2bdb;return(_0x5b2bdb=(_0x17582c=this['_handlerCallback'])==null?void 0x0:_0x17582c[_0x36b0b2(0x32a)])==null?void 0x0:_0x5b2bdb[_0x36b0b2(0x2b9)](_0x17582c,_0x10a93f);},_0xdd23d1[_0x35e92c(0x17d)]=_0x59c887=>{var _0x4a30d7=_0x35e92c,_0x2b8d91,_0x587b21;return(_0x587b21=(_0x2b8d91=this[_0x4a30d7(0x233)])==null?void 0x0:_0x2b8d91[_0x4a30d7(0x17d)])==null?void 0x0:_0x587b21[_0x4a30d7(0x2b9)](_0x2b8d91,_0x59c887);},_0xdd23d1[_0x35e92c(0x1d3)]=_0x1eb426=>{var _0x4b5179=_0x35e92c,_0x411a2c,_0x2895de,_0x369867;if(!((_0x411a2c=this[_0x4b5179(0x233)])!=null&&_0x411a2c[_0x4b5179(0x1d3)]))throw new Error(_0x4b5179(0x255));return(_0x369867=(_0x2895de=this['_handlerCallback'])==null?void 0x0:_0x2895de[_0x4b5179(0x1d3)])==null?void 0x0:_0x369867[_0x4b5179(0x2b9)](_0x2895de,_0x1eb426);},_0xdd23d1[_0x35e92c(0x161)]=_0x3f0c0c=>{var _0x3ffc28=_0x35e92c,_0x428b3a,_0x50fa80,_0x4d99c3;if(!((_0x428b3a=this[_0x3ffc28(0x233)])!=null&&_0x428b3a['onTransformRemoteChangesetByStateCache']))throw new Error(_0x3ffc28(0x296));return(_0x4d99c3=(_0x50fa80=this[_0x3ffc28(0x233)])==null?void 0x0:_0x50fa80[_0x3ffc28(0x161)])==null?void 0x0:_0x4d99c3[_0x3ffc28(0x2b9)](_0x50fa80,_0x3f0c0c);},_0xdd23d1;}async[_0x13aec8(0x496)](){var _0x345292=_0x13aec8;const _0x2de9bd=await super[_0x345292(0x496)]();return this[_0x345292(0x1bc)](this[_0x345292(0x25e)][_0x345292(0x2b0)]((_0x328aca,_0x3e18bc)=>{var _0x3c15f0=_0x345292;if(_0x328aca[_0x3c15f0(0x4b8)]!==a[_0x3c15f0(0x358)]['MUTATION']||_0x3e18bc!=null&&_0x3e18bc[_0x3c15f0(0x289)]||_0x3e18bc!=null&&_0x3e18bc[_0x3c15f0(0x4b9)]||_0x328aca['id']===ut[_0x3c15f0(0x217)]['id'])return;const _0x78a14=_0x328aca['params'];if((_0x78a14==null?void 0x0:_0x78a14[_0x3c15f0(0x2c1)])!==this[_0x3c15f0(0x37e)])return;const _0x9f6015=_0x328aca,_0x3ceccc=this[_0x3c15f0(0x1fc)][_0x3c15f0(0x302)][_0x3c15f0(0x1f2)](this[_0x3c15f0(0x1fc)][_0x3c15f0(0x302)][_0x3c15f0(0x224)]()[_0x3c15f0(0x225)])([_0x9f6015],null)||[_0x9f6015];this[_0x3c15f0(0x18f)](_0x3ceccc[0x0]);})),_0x2de9bd;}},exports[_0x13aec8(0x3f1)]=Ve([k(0x3,a[_0x13aec8(0x2eb)](a[_0x13aec8(0x3e1)])),k(0x4,a[_0x13aec8(0x2eb)](m[_0x13aec8(0x395)])),k(0x5,a['Inject'](a[_0x13aec8(0x330)])),k(0x6,a['Inject'](m[_0x13aec8(0x275)])),k(0x7,a[_0x13aec8(0x2eb)](te)),k(0x8,a[_0x13aec8(0x32e)]),k(0x9,a[_0x13aec8(0x355)]),k(0xa,a[_0x13aec8(0x26e)]),k(0xb,a[_0x13aec8(0x3e8)](ve)),k(0xc,a[_0x13aec8(0x3e8)](J))],exports[_0x13aec8(0x3f1)]),exports[_0x13aec8(0x2de)]=class extends exports[_0x13aec8(0x21f)]{constructor(_0x3b777a,_0x4cb7a0,_0x2a3ca3,_0xaa457f,_0x15e56f,_0x1dae9e,_0x5bfc78,_0x1909b9,_0x559f5b,_0x47f1fa,_0x51ce3f,_0xe0ba,_0x2f7183,_0x320cba){var _0x25e407=_0x13aec8;super(_0x3b777a,_0x2a3ca3,_0x4cb7a0,_0xaa457f,_0x15e56f,_0x1dae9e,_0x5bfc78,_0x559f5b,_0x47f1fa,_0x51ce3f,_0xe0ba,_0x2f7183,_0x320cba),this[_0x25e407(0x37e)]=_0x3b777a,this[_0x25e407(0x4b8)]=_0x4cb7a0,this[_0x25e407(0x2ff)]=_0x1909b9;}['_createHandler'](){var _0x20282e=_0x13aec8;const _0x1e6dc9=super[_0x20282e(0x28c)]();return _0x1e6dc9[_0x20282e(0x32a)]=_0x32090d=>this[_0x20282e(0x2ff)][_0x20282e(0x397)](_0x32090d),_0x1e6dc9;}async[_0x13aec8(0x496)](){var _0xb5c7a7=_0x13aec8;const _0x5ee03f=await super[_0xb5c7a7(0x496)]();return this[_0xb5c7a7(0x1bc)](this['_commandService'][_0xb5c7a7(0x2b0)]((_0x16a871,_0x5bf8ad)=>{var _0x496b71=_0xb5c7a7;if(_0x16a871[_0x496b71(0x4b8)]!==a[_0x496b71(0x358)][_0x496b71(0x286)]||_0x5bf8ad!=null&&_0x5bf8ad[_0x496b71(0x289)]||_0x5bf8ad!=null&&_0x5bf8ad[_0x496b71(0x4b9)])return;const _0x18e6ba=_0x16a871[_0x496b71(0x175)];if((_0x18e6ba==null?void 0x0:_0x18e6ba['unitId'])!==this[_0x496b71(0x37e)])return;const _0xfd8b4e=_0x16a871,_0x600ff9=this['_compressMutationService'][_0x496b71(0x302)][_0x496b71(0x1f2)](this[_0x496b71(0x1fc)][_0x496b71(0x302)]['getInterceptPoints']()[_0x496b71(0x225)])([_0xfd8b4e],null)||[_0xfd8b4e];this[_0x496b71(0x18f)](_0x600ff9[0x0]);})),_0x5ee03f;}},exports[_0x13aec8(0x2de)]=Ve([k(0x3,a['Inject'](a[_0x13aec8(0x3e1)])),k(0x4,a[_0x13aec8(0x2eb)](m[_0x13aec8(0x395)])),k(0x5,a['Inject'](a[_0x13aec8(0x330)])),k(0x6,a['Inject'](m[_0x13aec8(0x275)])),k(0x7,a[_0x13aec8(0x2eb)](exports[_0x13aec8(0x28a)])),k(0x8,a[_0x13aec8(0x2eb)](te)),k(0x9,a[_0x13aec8(0x32e)]),k(0xa,a[_0x13aec8(0x355)]),k(0xb,a['IPermissionService']),k(0xc,a[_0x13aec8(0x3e8)](ve)),k(0xd,a[_0x13aec8(0x3e8)](J))],exports[_0x13aec8(0x2de)]);var Di=Object[_0x13aec8(0x169)],wi=Object[_0x13aec8(0x203)],Ai=(_0x2bd889,_0x39ecf3,_0x3a1438,_0x225b11)=>{var _0x41f104=_0x13aec8;for(var _0x3ecd8c=_0x225b11>0x1?void 0x0:_0x225b11?wi(_0x39ecf3,_0x3a1438):_0x39ecf3,_0x4adc5c=_0x2bd889[_0x41f104(0x254)]-0x1,_0x45d891;_0x4adc5c>=0x0;_0x4adc5c--)(_0x45d891=_0x2bd889[_0x4adc5c])&&(_0x3ecd8c=(_0x225b11?_0x45d891(_0x39ecf3,_0x3a1438,_0x3ecd8c):_0x45d891(_0x3ecd8c))||_0x3ecd8c);return _0x225b11&&_0x3ecd8c&&Di(_0x39ecf3,_0x3a1438,_0x3ecd8c),_0x3ecd8c;},we=(_0x5c634b,_0x7aeaf4)=>(_0x397f89,_0x179e53)=>_0x7aeaf4(_0x397f89,_0x179e53,_0x5c634b);exports[_0x13aec8(0x301)]=class extends a[_0x13aec8(0x22d)]{constructor(_0x4f2e2d,_0xe46071,_0x548cb4){var _0x32971d=_0x13aec8;super(),D(this,_0x32971d(0x2b8),new Map()),D(this,_0x32971d(0x2ae),new H[(_0x32971d(0x3da))]()),D(this,_0x32971d(0x303),this[_0x32971d(0x2ae)][_0x32971d(0x4a9)]()),(this[_0x32971d(0x423)]=_0x4f2e2d,this[_0x32971d(0x3e0)]=_0xe46071,this[_0x32971d(0x14b)]=_0x548cb4,this['_init']());}[_0x13aec8(0x414)](){var _0x25425c=_0x13aec8;super['dispose'](),this[_0x25425c(0x2b8)][_0x25425c(0x3a2)](_0x1da317=>_0x1da317[_0x25425c(0x414)]()),this[_0x25425c(0x2b8)]['clear']();}['getCollabEntity'](_0x28de83){var _0x3963c0=_0x13aec8,_0xd7ea57;return(_0xd7ea57=this[_0x3963c0(0x2b8)][_0x3963c0(0x14d)](_0x28de83))!=null?_0xd7ea57:null;}['getCollabEntity$'](_0x2d0551){var _0x5edfce=_0x13aec8;const _0x450c83=this[_0x5edfce(0x3ce)](_0x2d0551);return _0x450c83?H['of'](_0x450c83):this['_entityInit$']['pipe'](V[_0x5edfce(0x347)](_0x39138b=>_0x39138b[_0x5edfce(0x37e)]===_0x2d0551));}[_0x13aec8(0x396)](_0x1417ff){var _0x31be7b=_0x13aec8;return H[_0x31be7b(0x221)](this[_0x31be7b(0x466)](_0x1417ff)[_0x31be7b(0x40b)](V[_0x31be7b(0x29a)](()=>{})));}[_0x13aec8(0x496)](){var _0x434890=_0x13aec8;this[_0x434890(0x14b)]['getTypeOfUnitAdded$'](a[_0x434890(0x2c2)][_0x434890(0x40c)])['pipe'](H[_0x434890(0x1a4)](this[_0x434890(0x3c6)]),V['delay'](0x10))[_0x434890(0x1e1)](async _0x2ace0d=>{var _0xa67792=_0x434890;const _0x5d30b0=_0x2ace0d[_0xa67792(0x3ac)](),_0x7eb20c=await this['_startCollaboration'](_0x5d30b0,Z['UNIVER_SHEET']);this[_0xa67792(0x2b8)][_0xa67792(0x34c)](_0x5d30b0,_0x7eb20c);}),this['_univerInstanceService'][_0x434890(0x3fa)](a['UniverInstanceType'][_0x434890(0x471)])[_0x434890(0x40b)](H[_0x434890(0x1a4)](this[_0x434890(0x3c6)]),V[_0x434890(0x285)](0x10))['pipe'](V[_0x434890(0x347)](_0x2dd0a1=>!_0x2dd0a1['getUnitId']()[_0x434890(0x2e3)]('__')))[_0x434890(0x1e1)](async _0x329d8d=>{var _0x26adb4=_0x434890;const _0x3984bc=_0x329d8d['getUnitId'](),_0xc27771=await this[_0x26adb4(0x26f)](_0x3984bc,Z[_0x26adb4(0x471)]);this['_entities']['set'](_0x3984bc,_0xc27771);}),H[_0x434890(0x37d)](this[_0x434890(0x14b)]['getTypeOfUnitDisposed$'](a[_0x434890(0x2c2)]['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x434890(0x2c2)][_0x434890(0x471)]))[_0x434890(0x40b)](H[_0x434890(0x1a4)](this[_0x434890(0x3c6)]))[_0x434890(0x1e1)](_0x38e45e=>{var _0x2f7c57=_0x434890;const _0x5cc49d=_0x38e45e['getUnitId'](),_0x6bf44b=this[_0x2f7c57(0x2b8)][_0x2f7c57(0x14d)](_0x5cc49d);_0x6bf44b&&(_0x6bf44b['dispose'](),this['_entities'][_0x2f7c57(0x435)](_0x5cc49d));});}async['_startCollaboration'](_0x39a0a8,_0x449b4e){var _0xdaa077=_0x13aec8;const _0x581e81=await this[_0xdaa077(0x3e0)][_0xdaa077(0x28d)](_0x39a0a8),_0x5a79c7=this[_0xdaa077(0x423)][_0xdaa077(0x1c4)](this[_0xdaa077(0x367)](_0x449b4e),_0x39a0a8,_0x449b4e,_0x581e81);return await _0x5a79c7[_0xdaa077(0x436)](),this[_0xdaa077(0x2ae)][_0xdaa077(0x1c8)](_0x5a79c7),_0x5a79c7;}[_0x13aec8(0x367)](_0x486b24){var _0x4b7a78=_0x13aec8;switch(_0x486b24){case Z[_0x4b7a78(0x471)]:return exports[_0x4b7a78(0x3f1)];case Z[_0x4b7a78(0x40c)]:return exports[_0x4b7a78(0x2de)];default:throw new Error(_0x4b7a78(0x2a7)+_0x486b24);}}},exports[_0x13aec8(0x301)]=Ai([we(0x0,a[_0x13aec8(0x2eb)](a[_0x13aec8(0x3e1)])),we(0x1,a[_0x13aec8(0x2eb)](exports['CollaborationSessionService'])),we(0x2,a[_0x13aec8(0x38b)])],exports['CollaborationController']);var Li=Object[_0x13aec8(0x169)],Mi=Object['getOwnPropertyDescriptor'],xi=(_0x588ba1,_0x8e78bf,_0xe3e55,_0x1c4cff)=>{for(var _0x57239e=_0x1c4cff>0x1?void 0x0:_0x1c4cff?Mi(_0x8e78bf,_0xe3e55):_0x8e78bf,_0x44e5f1=_0x588ba1['length']-0x1,_0xf5a54c;_0x44e5f1>=0x0;_0x44e5f1--)(_0xf5a54c=_0x588ba1[_0x44e5f1])&&(_0x57239e=(_0x1c4cff?_0xf5a54c(_0x8e78bf,_0xe3e55,_0x57239e):_0xf5a54c(_0x57239e))||_0x57239e);return _0x1c4cff&&_0x57239e&&Li(_0x8e78bf,_0xe3e55,_0x57239e),_0x57239e;},Je=(_0x39802c,_0x2e4fef)=>(_0x438c81,_0x24c308)=>_0x2e4fef(_0x438c81,_0x24c308,_0x39802c);const ji=_0x13aec8(0x41e),$i='Univer';let $e=class extends a[_0x13aec8(0x154)]{constructor(_0x765a19,_0x38e923){var _0x307d92=_0x13aec8;super(),this[_0x307d92(0x14b)]=_0x765a19,this[_0x307d92(0x2a3)]=_0x38e923,this['_init']();}[_0x13aec8(0x496)](){var _0x5de8e2=_0x13aec8;this[_0x5de8e2(0x1bc)](this[_0x5de8e2(0x14b)]['focused$'][_0x5de8e2(0x1e1)](()=>{var _0x48d425=_0x5de8e2,_0x4358c5;const _0x53cbf7=this[_0x48d425(0x14b)][_0x48d425(0x284)]();let _0x4be6f7=(_0x4358c5=this[_0x48d425(0x2a3)][_0x48d425(0x201)](ji))!=null?_0x4358c5:$i;_0x53cbf7 instanceof a['Workbook']&&(_0x4be6f7=_0x53cbf7[_0x48d425(0x41b)]),document['title']=_0x4be6f7;}));}};$e=xi([Je(0x0,a[_0x13aec8(0x38b)]),Je(0x1,a[_0x13aec8(0x4af)])],$e);var Hi=Object[_0x13aec8(0x169)],ki=Object[_0x13aec8(0x203)],Bi=(_0x4a09a8,_0x4e22eb,_0xabb99b,_0x42b201)=>{var _0x37568b=_0x13aec8;for(var _0x1c8fb2=_0x42b201>0x1?void 0x0:_0x42b201?ki(_0x4e22eb,_0xabb99b):_0x4e22eb,_0x1362c7=_0x4a09a8[_0x37568b(0x254)]-0x1,_0x27c000;_0x1362c7>=0x0;_0x1362c7--)(_0x27c000=_0x4a09a8[_0x1362c7])&&(_0x1c8fb2=(_0x42b201?_0x27c000(_0x4e22eb,_0xabb99b,_0x1c8fb2):_0x27c000(_0x1c8fb2))||_0x1c8fb2);return _0x42b201&&_0x1c8fb2&&Hi(_0x4e22eb,_0xabb99b,_0x1c8fb2),_0x1c8fb2;},Ae=(_0x32fe8f,_0x7917e6)=>(_0x4db590,_0x571ebe)=>_0x7917e6(_0x4db590,_0x571ebe,_0x32fe8f);let ye=class{constructor(_0x1bbba1,_0x3bc3f1,_0x115f30){var _0x3e4c7f=_0x13aec8;this[_0x3e4c7f(0x2a3)]=_0x1bbba1,this[_0x3e4c7f(0x258)]=_0x3bc3f1,this[_0x3e4c7f(0x1e6)]=_0x115f30,this['init']();}[_0x13aec8(0x436)](){var _0xca34c6=_0x13aec8;this['_httpService'][_0xca34c6(0x2ef)]({'priority':0x1,'interceptor':(_0x1b6137,_0x37a23e)=>_0x37a23e(_0x1b6137)['pipe'](H[_0xca34c6(0x3d5)](async _0x18b41d=>{var _0x1e35d2=_0xca34c6;const _0x21d7fd=_0x18b41d;if(_0x21d7fd[_0x1e35d2(0x2d5)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x1e35d2(0x1e6)]['t']('auth.needGotoLoginAlert'))){const _0x11676b=window[_0x1e35d2(0x21d)](window[_0x1e35d2(0x3ca)][_0x1e35d2(0x1f0)]);window[_0x1e35d2(0x3ca)][_0x1e35d2(0x1f0)]=this[_0x1e35d2(0x487)]()+'?url='+_0x11676b;}}return _0x21d7fd;}))});}[_0x13aec8(0x487)](){var _0x5898bb=_0x13aec8,_0x5a395f,_0x27659c;const _0x481c8f=this['_configService']['getConfig'](Et),_0x2c2565=this[_0x5898bb(0x2a3)]['getConfig'](q);return(_0x27659c=(_0x5a395f=_0x2c2565==null?void 0x0:_0x2c2565[_0x5898bb(0x415)])!=null?_0x5a395f:_0x481c8f)!=null?_0x27659c:qt;}};ye=Bi([Ae(0x0,a['IConfigService']),Ae(0x1,a[_0x13aec8(0x2eb)](z[_0x13aec8(0x1ad)])),Ae(0x2,a['Inject'](a[_0x13aec8(0x330)]))],ye);var Fi=Object['defineProperty'],Wi=Object['getOwnPropertyDescriptor'],Vi=(_0x44ae7f,_0x17d561,_0x20f317,_0x815161)=>{for(var _0x499745=_0x815161>0x1?void 0x0:_0x815161?Wi(_0x17d561,_0x20f317):_0x17d561,_0xd155b3=_0x44ae7f['length']-0x1,_0x120d1f;_0xd155b3>=0x0;_0xd155b3--)(_0x120d1f=_0x44ae7f[_0xd155b3])&&(_0x499745=(_0x815161?_0x120d1f(_0x17d561,_0x20f317,_0x499745):_0x120d1f(_0x499745))||_0x499745);return _0x815161&&_0x499745&&Fi(_0x17d561,_0x20f317,_0x499745),_0x499745;},Xe=(_0x358d83,_0x5123eb)=>(_0x2d813a,_0x26f566)=>_0x5123eb(_0x2d813a,_0x26f566,_0x358d83);const Ge=_0x13aec8(0x363),Gi='/universer-api/authz';exports[_0x13aec8(0x16d)]=class extends a[_0x13aec8(0x154)]{constructor(_0x336fc5,_0x2b78c5){var _0x186112=_0x13aec8;super(),this['_HTTPService']=_0x336fc5,this[_0x186112(0x2a3)]=_0x2b78c5,this[_0x186112(0x13d)]();}[_0x13aec8(0x13d)](){var _0x3d6019=_0x13aec8;const _0x2a470e=this;this['disposeWithMe'](this[_0x3d6019(0x1ee)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':z[_0x3d6019(0x342)]({'isMatch'(_0x20d486){var _0x440e87=_0x3d6019,_0x100805;if(_0x20d486['method']==='POST'&&((_0x100805=_0x20d486['requestParams'])!=null&&_0x100805['body'])){const {objectID:_0x391822,objectType:_0x4b7a28}=_0x20d486[_0x440e87(0x2af)][_0x440e87(0x2d6)]||{};if(!_0x391822||_0x4b7a28===void 0x0)return!0x1;const _0x3b0bf1=_0x2a470e[_0x440e87(0x1af)]()+'/'+_0x4b7a28+'/object/'+_0x391822+'/allowed';if(_0x20d486[_0x440e87(0x144)]===_0x3b0bf1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xfbcc31){var _0x13e84a=_0x3d6019,_0x55fc70;return(_0x55fc70=_0xfbcc31[_0x13e84a(0x2af)])==null?void 0x0:_0x55fc70[_0x13e84a(0x2d6)];},'mergeParamsToRequest'(_0x35098e,_0x477b41){var _0x1cebdf=_0x3d6019;const _0x5d478f=_0x2a470e['_getAPIPrefixPath']()+_0x1cebdf(0x179),_0x592067=_0x35098e[_0x1cebdf(0x277)]((_0x5921c1,_0x525e3f)=>{var _0xe6fc8d=_0x1cebdf;const {unitID:_0x51d702,objectID:_0x5bb839,objectType:_0x2ea5b1,actions:_0x115163}=_0x525e3f;return _0x5921c1[_0x51d702]||(_0x5921c1[_0x51d702]={}),_0x5921c1[_0x51d702][_0x5bb839]||(_0x5921c1[_0x51d702][_0x5bb839]={'objectID':_0x5bb839,'objectType':_0x2ea5b1,'actions':[]}),_0x5921c1[_0x51d702][_0x5bb839][_0xe6fc8d(0x1b5)][_0xe6fc8d(0x375)](..._0x115163),_0x5921c1;},{}),_0x315430=[];for(const _0x4f7ff1 in _0x592067)for(const _0x1bfdb0 in _0x592067[_0x4f7ff1]){const {actions:_0x3edc08,objectType:_0x73c05b}=_0x592067[_0x4f7ff1][_0x1bfdb0],_0x1d6a5c=[...new Set(_0x3edc08)];_0x315430[_0x1cebdf(0x375)]({'unitID':_0x4f7ff1,'objectID':_0x1bfdb0,'objectType':_0x73c05b,'actions':_0x1d6a5c});}return new z[(_0x1cebdf(0x3a4))](_0x1cebdf(0x460),_0x5d478f,{'headers':_0x477b41[_0x1cebdf(0x432)],'withCredentials':_0x477b41[_0x1cebdf(0x377)],'responseType':_0x477b41['responseType'],'body':{'requests':_0x315430}});}},{'distributeResult'(_0x2c3a71,_0x40fadd){var _0x23591b=_0x3d6019;const {objectActions:_0x16a20b}=_0x2c3a71;return _0x40fadd[_0x23591b(0x29a)](_0x2a4a49=>{var _0x207e9b=_0x23591b;const {unitID:_0x489500,objectID:_0x5db62e,actions:_0x41ebe5}=_0x2a4a49,_0x5a41fd=_0x16a20b[_0x207e9b(0x27b)](_0x1091f9=>_0x1091f9['unitID']===_0x489500&&_0x1091f9[_0x207e9b(0x29f)]===_0x5db62e),_0x3af0f3=_0x41ebe5[_0x207e9b(0x29a)](_0x2e39c7=>_0x5a41fd==null?void 0x0:_0x5a41fd[_0x207e9b(0x1b5)][_0x207e9b(0x27b)](_0x6bae5e=>_0x6bae5e[_0x207e9b(0x1cc)]===_0x2e39c7))[_0x207e9b(0x347)](_0x2c7b3d=>!!_0x2c7b3d);return{'config':_0x2a4a49,'result':{'actions':_0x3af0f3,'error':_0x2c3a71[_0x207e9b(0x427)]}};});}})}));}[_0x13aec8(0x1af)](){var _0x465b7b=_0x13aec8,_0x2cd167,_0x307651;const _0x2b1af4=this[_0x465b7b(0x2a3)]['getConfig'](Ge),_0x1cc811=this[_0x465b7b(0x2a3)][_0x465b7b(0x201)](q);return(_0x307651=(_0x2cd167=_0x1cc811==null?void 0x0:_0x1cc811[_0x465b7b(0x140)])!=null?_0x2cd167:_0x2b1af4)!=null?_0x307651:Gi;}async[_0x13aec8(0x172)](_0x3481db){var _0x13dd60=_0x13aec8;const _0x5ec433=this[_0x13dd60(0x1af)]()+'/'+_0x3481db[_0x13dd60(0x212)]+'/object';return(await this[_0x13dd60(0x1ee)][_0x13dd60(0x1ef)](_0x5ec433,{'body':_0x3481db}))[_0x13dd60(0x2d6)][_0x13dd60(0x29f)]||'';}async[_0x13aec8(0x31a)](_0x23c429){var _0x42e3e8=_0x13aec8;const _0x4d45ec=this[_0x42e3e8(0x1af)]()+_0x42e3e8(0x1ab);return(await this[_0x42e3e8(0x1ee)]['post'](_0x4d45ec,{'body':_0x23c429}))['body']['objects'];}async[_0x13aec8(0x39b)](_0x2b089c){var _0x51a295=_0x13aec8;const _0x445e4e=this['_getAPIPrefixPath']()+'/'+_0x2b089c[_0x51a295(0x212)]+_0x51a295(0x46d)+_0x2b089c[_0x51a295(0x29f)];await this[_0x51a295(0x1ee)][_0x51a295(0x352)](_0x445e4e,{'body':_0x2b089c});}async['allowed'](_0x34d86a){var _0x533c17=_0x13aec8;const _0x46208c=this[_0x533c17(0x1af)]()+'/'+_0x34d86a[_0x533c17(0x212)]+_0x533c17(0x46d)+_0x34d86a[_0x533c17(0x29f)]+_0x533c17(0x1a5);return(await this['_HTTPService'][_0x533c17(0x1ef)](_0x46208c,{'body':_0x34d86a}))[_0x533c17(0x2d6)]['actions'];}async[_0x13aec8(0x34d)](_0x57b094){var _0x53a52e=_0x13aec8;const _0x3eeef3=this[_0x53a52e(0x1af)]()+_0x53a52e(0x179);return(await this[_0x53a52e(0x1ee)][_0x53a52e(0x1ef)](_0x3eeef3,{'body':{'requests':_0x57b094}}))[_0x53a52e(0x2d6)][_0x53a52e(0x18d)];}async['listRoles'](_0x2b4988){var _0x548d02=_0x13aec8;const _0x2ae299=this[_0x548d02(0x1af)]()+'/'+_0x2b4988['objectType']+_0x548d02(0x219),_0x2aa6b8=await this[_0x548d02(0x1ee)][_0x548d02(0x1ef)](_0x2ae299,{'body':_0x2b4988});return{'roles':_0x2aa6b8[_0x548d02(0x2d6)][_0x548d02(0x44f)],'actions':_0x2aa6b8['body'][_0x548d02(0x1b5)]};}async['deleteCollaborator'](_0x12ea0f){var _0x362c70=_0x13aec8;const _0xe05395=this[_0x362c70(0x1af)]()+_0x362c70(0x13a);await this['_HTTPService'][_0x362c70(0x435)](_0xe05395,{'params':{'collaboratorID':_0x12ea0f[_0x362c70(0x383)],'objectID':_0x12ea0f[_0x362c70(0x29f)],'unitID':_0x12ea0f[_0x362c70(0x37e)]}});}async[_0x13aec8(0x257)](_0x554531){var _0x195fec=_0x13aec8;const _0x1bb01d=this[_0x195fec(0x1af)]()+_0x195fec(0x13a);await this[_0x195fec(0x1ee)][_0x195fec(0x1d1)](_0x1bb01d,{'body':_0x554531});}async[_0x13aec8(0x196)](_0x303d9f){var _0x1c40ad=_0x13aec8;const _0x31f9f0=this[_0x1c40ad(0x1af)]()+_0x1c40ad(0x13a);await this['_HTTPService'][_0x1c40ad(0x1ef)](_0x31f9f0,{'body':_0x303d9f});}async['listCollaborators'](_0x265d06){var _0x20f4a4=_0x13aec8;const _0x103a2f=this[_0x20f4a4(0x1af)]()+_0x20f4a4(0x13a);return(await this[_0x20f4a4(0x1ee)][_0x20f4a4(0x14d)](_0x103a2f,{'params':{'objectID':_0x265d06[_0x20f4a4(0x29f)],'unitID':_0x265d06['unitID']}}))['body'][_0x20f4a4(0x19c)];}async[_0x13aec8(0x343)](_0x1431eb){var _0x43eafd=_0x13aec8;const _0x21a055=this[_0x43eafd(0x1af)]()+_0x43eafd(0x13a);await this[_0x43eafd(0x1ee)][_0x43eafd(0x352)](_0x21a055,{'body':_0x1431eb});}},exports[_0x13aec8(0x16d)]=Vi([Xe(0x0,a['Inject'](z[_0x13aec8(0x1ad)])),Xe(0x1,a[_0x13aec8(0x2eb)](a['IConfigService']))],exports[_0x13aec8(0x16d)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x2bb1c5){var _0xdca4d6=_0x13aec8;return _0x2bb1c5&&_0x2bb1c5[_0xdca4d6(0x3ec)]&&Object[_0xdca4d6(0x1c0)]['hasOwnProperty']['call'](_0x2bb1c5,_0xdca4d6(0x291))?_0x2bb1c5['default']:_0x2bb1c5;}var Se={'exports':{}};function Ki(_0x3d959d){var _0x4498cb=_0x13aec8;throw new Error(_0x4498cb(0x2e5)+_0x3d959d+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},Yi=pe[_0x13aec8(0x308)],Ze;function ee(){return Ze||(Ze=0x1,function(_0x45d1dc,_0x41f15c){(function(_0x3acecf,_0x58c17f){var _0x516d71=_0x4ec5;_0x45d1dc[_0x516d71(0x308)]=_0x58c17f();}(Yi,function(){var _0x1fb05f=_0x1fb05f||function(_0x1b2b27,_0x5312bd){var _0x48fe88=_0x4ec5,_0x14e381;if(typeof window<'u'&&window[_0x48fe88(0x1b8)]&&(_0x14e381=window[_0x48fe88(0x1b8)]),typeof self<'u'&&self[_0x48fe88(0x1b8)]&&(_0x14e381=self[_0x48fe88(0x1b8)]),typeof globalThis<'u'&&globalThis[_0x48fe88(0x1b8)]&&(_0x14e381=globalThis[_0x48fe88(0x1b8)]),!_0x14e381&&typeof window<'u'&&window[_0x48fe88(0x1f6)]&&(_0x14e381=window['msCrypto']),!_0x14e381&&typeof Le<'u'&&Le[_0x48fe88(0x1b8)]&&(_0x14e381=Le[_0x48fe88(0x1b8)]),!_0x14e381&&typeof Ki==_0x48fe88(0x1dd))try{_0x14e381=require(_0x48fe88(0x1b8));}catch{}var _0x3116b3=function(){var _0x39a455=_0x48fe88;if(_0x14e381){if(typeof _0x14e381[_0x39a455(0x1b1)]==_0x39a455(0x1dd))try{return _0x14e381[_0x39a455(0x1b1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x14e381[_0x39a455(0x14a)]==_0x39a455(0x1dd))try{return _0x14e381[_0x39a455(0x14a)](0x4)[_0x39a455(0x4ac)]();}catch{}}throw new Error(_0x39a455(0x15d));},_0x4d6f0=Object[_0x48fe88(0x172)]||(function(){function _0x4f02c8(){}return function(_0x41e5e1){var _0x2534e5=_0x4ec5,_0x4a1e94;return _0x4f02c8[_0x2534e5(0x1c0)]=_0x41e5e1,_0x4a1e94=new _0x4f02c8(),_0x4f02c8['prototype']=null,_0x4a1e94;};}()),_0x40630e={},_0x296fee=_0x40630e['lib']={},_0x2c4f83=_0x296fee['Base']=(function(){return{'extend':function(_0x14647c){var _0x59b882=_0x4ec5,_0x1f2fac=_0x4d6f0(this);return _0x14647c&&_0x1f2fac['mixIn'](_0x14647c),(!_0x1f2fac[_0x59b882(0x339)]('init')||this[_0x59b882(0x436)]===_0x1f2fac[_0x59b882(0x436)])&&(_0x1f2fac[_0x59b882(0x436)]=function(){var _0x497393=_0x59b882;_0x1f2fac[_0x497393(0x155)][_0x497393(0x436)][_0x497393(0x234)](this,arguments);}),_0x1f2fac[_0x59b882(0x436)][_0x59b882(0x1c0)]=_0x1f2fac,_0x1f2fac[_0x59b882(0x155)]=this,_0x1f2fac;},'create':function(){var _0x485def=_0x4ec5,_0x134213=this[_0x485def(0x462)]();return _0x134213['init']['apply'](_0x134213,arguments),_0x134213;},'init':function(){},'mixIn':function(_0x4c8f59){var _0x46dd2c=_0x4ec5;for(var _0x55a385 in _0x4c8f59)_0x4c8f59[_0x46dd2c(0x339)](_0x55a385)&&(this[_0x55a385]=_0x4c8f59[_0x55a385]);_0x4c8f59[_0x46dd2c(0x339)](_0x46dd2c(0x4b7))&&(this[_0x46dd2c(0x4b7)]=_0x4c8f59[_0x46dd2c(0x4b7)]);},'clone':function(){var _0x5c12a5=_0x4ec5;return this[_0x5c12a5(0x436)][_0x5c12a5(0x1c0)][_0x5c12a5(0x462)](this);}};}()),_0x5472ec=_0x296fee[_0x48fe88(0x428)]=_0x2c4f83[_0x48fe88(0x462)]({'init':function(_0xc85605,_0x2dfa3a){var _0x404ae0=_0x48fe88;_0xc85605=this[_0x404ae0(0x299)]=_0xc85605||[],_0x2dfa3a!=_0x5312bd?this[_0x404ae0(0x4ae)]=_0x2dfa3a:this[_0x404ae0(0x4ae)]=_0xc85605[_0x404ae0(0x254)]*0x4;},'toString':function(_0x4ed257){return(_0x4ed257||_0x55507a)['stringify'](this);},'concat':function(_0x2c2f0a){var _0x52de90=_0x48fe88,_0x596ab2=this['words'],_0x4cfaf3=_0x2c2f0a[_0x52de90(0x299)],_0x5de3a4=this[_0x52de90(0x4ae)],_0x39d20a=_0x2c2f0a['sigBytes'];if(this['clamp'](),_0x5de3a4%0x4)for(var _0x34b71a=0x0;_0x34b71a<_0x39d20a;_0x34b71a++){var _0xe086a7=_0x4cfaf3[_0x34b71a>>>0x2]>>>0x18-_0x34b71a%0x4*0x8&0xff;_0x596ab2[_0x5de3a4+_0x34b71a>>>0x2]|=_0xe086a7<<0x18-(_0x5de3a4+_0x34b71a)%0x4*0x8;}else{for(var _0x582478=0x0;_0x582478<_0x39d20a;_0x582478+=0x4)_0x596ab2[_0x5de3a4+_0x582478>>>0x2]=_0x4cfaf3[_0x582478>>>0x2];}return this['sigBytes']+=_0x39d20a,this;},'clamp':function(){var _0x4369a4=_0x48fe88,_0xd89a0b=this['words'],_0x5cd7a3=this[_0x4369a4(0x4ae)];_0xd89a0b[_0x5cd7a3>>>0x2]&=0xffffffff<<0x20-_0x5cd7a3%0x4*0x8,_0xd89a0b[_0x4369a4(0x254)]=_0x1b2b27[_0x4369a4(0x412)](_0x5cd7a3/0x4);},'clone':function(){var _0x367803=_0x48fe88,_0x405113=_0x2c4f83['clone']['call'](this);return _0x405113[_0x367803(0x299)]=this[_0x367803(0x299)][_0x367803(0x300)](0x0),_0x405113;},'random':function(_0x2523b5){var _0x2e00ce=_0x48fe88;for(var _0x3bd060=[],_0x151dc3=0x0;_0x151dc3<_0x2523b5;_0x151dc3+=0x4)_0x3bd060[_0x2e00ce(0x375)](_0x3116b3());return new _0x5472ec['init'](_0x3bd060,_0x2523b5);}}),_0x1f2017=_0x40630e['enc']={},_0x55507a=_0x1f2017[_0x48fe88(0x1d4)]={'stringify':function(_0x175355){var _0x3b6a43=_0x48fe88;for(var _0x1b0526=_0x175355[_0x3b6a43(0x299)],_0x6e804e=_0x175355[_0x3b6a43(0x4ae)],_0x2a90db=[],_0x2d2509=0x0;_0x2d2509<_0x6e804e;_0x2d2509++){var _0x3afaa2=_0x1b0526[_0x2d2509>>>0x2]>>>0x18-_0x2d2509%0x4*0x8&0xff;_0x2a90db['push']((_0x3afaa2>>>0x4)['toString'](0x10)),_0x2a90db['push']((_0x3afaa2&0xf)['toString'](0x10));}return _0x2a90db[_0x3b6a43(0x241)]('');},'parse':function(_0x15c585){var _0x538abf=_0x48fe88;for(var _0xc14f6e=_0x15c585['length'],_0x5b74d7=[],_0x1f1fda=0x0;_0x1f1fda<_0xc14f6e;_0x1f1fda+=0x2)_0x5b74d7[_0x1f1fda>>>0x3]|=parseInt(_0x15c585[_0x538abf(0x3fb)](_0x1f1fda,0x2),0x10)<<0x18-_0x1f1fda%0x8*0x4;return new _0x5472ec[(_0x538abf(0x436))](_0x5b74d7,_0xc14f6e/0x2);}},_0x2870cd=_0x1f2017[_0x48fe88(0x204)]={'stringify':function(_0x3d1399){var _0x62eba1=_0x48fe88;for(var _0x1e3205=_0x3d1399[_0x62eba1(0x299)],_0x470a5c=_0x3d1399[_0x62eba1(0x4ae)],_0x3c284e=[],_0x5d8e66=0x0;_0x5d8e66<_0x470a5c;_0x5d8e66++){var _0x1964fc=_0x1e3205[_0x5d8e66>>>0x2]>>>0x18-_0x5d8e66%0x4*0x8&0xff;_0x3c284e[_0x62eba1(0x375)](String['fromCharCode'](_0x1964fc));}return _0x3c284e['join']('');},'parse':function(_0x21e1b1){var _0x2c8d61=_0x48fe88;for(var _0x40967f=_0x21e1b1[_0x2c8d61(0x254)],_0x983f37=[],_0xccb9d=0x0;_0xccb9d<_0x40967f;_0xccb9d++)_0x983f37[_0xccb9d>>>0x2]|=(_0x21e1b1['charCodeAt'](_0xccb9d)&0xff)<<0x18-_0xccb9d%0x4*0x8;return new _0x5472ec['init'](_0x983f37,_0x40967f);}},_0x5525ba=_0x1f2017['Utf8']={'stringify':function(_0x111667){var _0x109468=_0x48fe88;try{return decodeURIComponent(escape(_0x2870cd[_0x109468(0x406)](_0x111667)));}catch{throw new Error(_0x109468(0x452));}},'parse':function(_0xec78a){return _0x2870cd['parse'](unescape(encodeURIComponent(_0xec78a)));}},_0x5c8315=_0x296fee[_0x48fe88(0x33f)]=_0x2c4f83[_0x48fe88(0x462)]({'reset':function(){var _0x342b74=_0x48fe88;this[_0x342b74(0x47c)]=new _0x5472ec[(_0x342b74(0x436))](),this[_0x342b74(0x30e)]=0x0;},'_append':function(_0x13e47f){var _0x1bdc2d=_0x48fe88;typeof _0x13e47f==_0x1bdc2d(0x35d)&&(_0x13e47f=_0x5525ba[_0x1bdc2d(0x136)](_0x13e47f)),this[_0x1bdc2d(0x47c)]['concat'](_0x13e47f),this[_0x1bdc2d(0x30e)]+=_0x13e47f[_0x1bdc2d(0x4ae)];},'_process':function(_0x4ca05e){var _0x437f1e=_0x48fe88,_0x51e06d,_0x4c358f=this[_0x437f1e(0x47c)],_0x2bd189=_0x4c358f[_0x437f1e(0x299)],_0x2201a2=_0x4c358f[_0x437f1e(0x4ae)],_0x227aaa=this[_0x437f1e(0x3b4)],_0x575df1=_0x227aaa*0x4,_0x3dba00=_0x2201a2/_0x575df1;_0x4ca05e?_0x3dba00=_0x1b2b27[_0x437f1e(0x412)](_0x3dba00):_0x3dba00=_0x1b2b27[_0x437f1e(0x27a)]((_0x3dba00|0x0)-this[_0x437f1e(0x3eb)],0x0);var _0x122de6=_0x3dba00*_0x227aaa,_0x4e4cda=_0x1b2b27['min'](_0x122de6*0x4,_0x2201a2);if(_0x122de6){for(var _0x39aebc=0x0;_0x39aebc<_0x122de6;_0x39aebc+=_0x227aaa)this[_0x437f1e(0x256)](_0x2bd189,_0x39aebc);_0x51e06d=_0x2bd189[_0x437f1e(0x1e8)](0x0,_0x122de6),_0x4c358f[_0x437f1e(0x4ae)]-=_0x4e4cda;}return new _0x5472ec[(_0x437f1e(0x436))](_0x51e06d,_0x4e4cda);},'clone':function(){var _0x56bd70=_0x48fe88,_0x2e07d3=_0x2c4f83['clone'][_0x56bd70(0x2b9)](this);return _0x2e07d3[_0x56bd70(0x47c)]=this['_data'][_0x56bd70(0x485)](),_0x2e07d3;},'_minBufferSize':0x0});_0x296fee[_0x48fe88(0x359)]=_0x5c8315[_0x48fe88(0x462)]({'cfg':_0x2c4f83[_0x48fe88(0x462)](),'init':function(_0x6d4cfa){var _0x32044b=_0x48fe88;this[_0x32044b(0x36b)]=this[_0x32044b(0x36b)][_0x32044b(0x462)](_0x6d4cfa),this[_0x32044b(0x246)]();},'reset':function(){var _0x3a820e=_0x48fe88;_0x5c8315[_0x3a820e(0x246)][_0x3a820e(0x2b9)](this),this[_0x3a820e(0x392)]();},'update':function(_0x2ce9b7){var _0xc834=_0x48fe88;return this[_0xc834(0x27e)](_0x2ce9b7),this['_process'](),this;},'finalize':function(_0x2f85ce){var _0x5a0e24=_0x48fe88;_0x2f85ce&&this[_0x5a0e24(0x27e)](_0x2f85ce);var _0x4aff51=this[_0x5a0e24(0x3df)]();return _0x4aff51;},'blockSize':0x10,'_createHelper':function(_0x2be0f3){return function(_0xb537c1,_0x5282ad){var _0x3c14f2=_0x4ec5;return new _0x2be0f3[(_0x3c14f2(0x436))](_0x5282ad)[_0x3c14f2(0x440)](_0xb537c1);};},'_createHmacHelper':function(_0x5316a6){return function(_0x33986f,_0x45348c){var _0x4b3a79=_0x4ec5;return new _0x473245[(_0x4b3a79(0x1df))][(_0x4b3a79(0x436))](_0x5316a6,_0x45348c)[_0x4b3a79(0x440)](_0x33986f);};}});var _0x473245=_0x40630e[_0x48fe88(0x1bf)]={};return _0x40630e;}(Math);return _0x1fb05f;}));}(pe)),pe['exports'];}var ge={'exports':{}},qi=ge[_0x13aec8(0x308)],Qe;function Ut(){var _0xeda191=_0x13aec8;return Qe||(Qe=0x1,function(_0x335b06,_0x38df02){(function(_0x41f43,_0x3a6f75){_0x335b06['exports']=_0x3a6f75(ee());}(qi,function(_0x576d6f){var _0x3bbf94=_0x4ec5;return(function(){var _0x151a88=_0x4ec5,_0x1387ca=_0x576d6f,_0xb83606=_0x1387ca[_0x151a88(0x2f2)],_0x42c6f3=_0xb83606[_0x151a88(0x428)],_0x3ad7c4=_0x1387ca[_0x151a88(0x15a)];_0x3ad7c4[_0x151a88(0x18e)]={'stringify':function(_0x24dbf9){var _0x4f60d3=_0x151a88,_0xbd8877=_0x24dbf9[_0x4f60d3(0x299)],_0x41b90c=_0x24dbf9[_0x4f60d3(0x4ae)],_0x1bf439=this[_0x4f60d3(0x153)];_0x24dbf9[_0x4f60d3(0x180)]();for(var _0x2ef303=[],_0x345690=0x0;_0x345690<_0x41b90c;_0x345690+=0x3)for(var _0x1f97b3=_0xbd8877[_0x345690>>>0x2]>>>0x18-_0x345690%0x4*0x8&0xff,_0x25f634=_0xbd8877[_0x345690+0x1>>>0x2]>>>0x18-(_0x345690+0x1)%0x4*0x8&0xff,_0x2e2a16=_0xbd8877[_0x345690+0x2>>>0x2]>>>0x18-(_0x345690+0x2)%0x4*0x8&0xff,_0x4eddd2=_0x1f97b3<<0x10|_0x25f634<<0x8|_0x2e2a16,_0x576112=0x0;_0x576112<0x4&&_0x345690+_0x576112*0.75<_0x41b90c;_0x576112++)_0x2ef303[_0x4f60d3(0x375)](_0x1bf439[_0x4f60d3(0x349)](_0x4eddd2>>>0x6*(0x3-_0x576112)&0x3f));var _0x3bee5e=_0x1bf439[_0x4f60d3(0x349)](0x40);if(_0x3bee5e){for(;_0x2ef303['length']%0x4;)_0x2ef303[_0x4f60d3(0x375)](_0x3bee5e);}return _0x2ef303[_0x4f60d3(0x241)]('');},'parse':function(_0xe1d8fc){var _0x56bb13=_0x151a88,_0x10b135=_0xe1d8fc[_0x56bb13(0x254)],_0x26702e=this[_0x56bb13(0x153)],_0x173122=this[_0x56bb13(0x45a)];if(!_0x173122){_0x173122=this[_0x56bb13(0x45a)]=[];for(var _0x5a463e=0x0;_0x5a463e<_0x26702e[_0x56bb13(0x254)];_0x5a463e++)_0x173122[_0x26702e[_0x56bb13(0x26b)](_0x5a463e)]=_0x5a463e;}var _0x10791f=_0x26702e[_0x56bb13(0x349)](0x40);if(_0x10791f){var _0x54ccfa=_0xe1d8fc[_0x56bb13(0x1d5)](_0x10791f);_0x54ccfa!==-0x1&&(_0x10b135=_0x54ccfa);}return _0x2751b9(_0xe1d8fc,_0x10b135,_0x173122);},'_map':_0x151a88(0x32d)};function _0x2751b9(_0x1f824c,_0x3d2ef4,_0x493245){var _0x2160dd=_0x151a88;for(var _0x45c3dd=[],_0x4c032e=0x0,_0x11d00c=0x0;_0x11d00c<_0x3d2ef4;_0x11d00c++)if(_0x11d00c%0x4){var _0x3b239e=_0x493245[_0x1f824c[_0x2160dd(0x26b)](_0x11d00c-0x1)]<<_0x11d00c%0x4*0x2,_0x3f3c5d=_0x493245[_0x1f824c['charCodeAt'](_0x11d00c)]>>>0x6-_0x11d00c%0x4*0x2,_0x521730=_0x3b239e|_0x3f3c5d;_0x45c3dd[_0x4c032e>>>0x2]|=_0x521730<<0x18-_0x4c032e%0x4*0x8,_0x4c032e++;}return _0x42c6f3[_0x2160dd(0x172)](_0x45c3dd,_0x4c032e);}}()),_0x576d6f[_0x3bbf94(0x15a)]['Base64'];}));}(ge)),ge[_0xeda191(0x308)];}var me={'exports':{}},zi=me[_0x13aec8(0x308)],et;function Ji(){return et||(et=0x1,function(_0x2b4485,_0x310dc0){(function(_0x133e33,_0x558456){_0x2b4485['exports']=_0x558456(ee());}(zi,function(_0x3fe6c1){return function(_0x1b043f){var _0x43823a=_0x4ec5,_0x4e4dce=_0x3fe6c1,_0x25f7c2=_0x4e4dce[_0x43823a(0x2f2)],_0x12a1e3=_0x25f7c2[_0x43823a(0x428)],_0x26fcfd=_0x25f7c2[_0x43823a(0x359)],_0x5e9cc0=_0x4e4dce[_0x43823a(0x1bf)],_0x5134b2=[];(function(){var _0x4a337d=_0x43823a;for(var _0x1c692a=0x0;_0x1c692a<0x40;_0x1c692a++)_0x5134b2[_0x1c692a]=_0x1b043f[_0x4a337d(0x243)](_0x1b043f[_0x4a337d(0x2ec)](_0x1c692a+0x1))*0x100000000|0x0;}());var _0x52c76e=_0x5e9cc0[_0x43823a(0x474)]=_0x26fcfd['extend']({'_doReset':function(){var _0x2f7f8e=_0x43823a;this[_0x2f7f8e(0x2bc)]=new _0x12a1e3[(_0x2f7f8e(0x436))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xecaa48,_0x1f6f90){var _0x46c063=_0x43823a;for(var _0x30343a=0x0;_0x30343a<0x10;_0x30343a++){var _0x436259=_0x1f6f90+_0x30343a,_0x1a08b8=_0xecaa48[_0x436259];_0xecaa48[_0x436259]=(_0x1a08b8<<0x8|_0x1a08b8>>>0x18)&0xff00ff|(_0x1a08b8<<0x18|_0x1a08b8>>>0x8)&0xff00ff00;}var _0xa6ac14=this['_hash'][_0x46c063(0x299)],_0x5933f8=_0xecaa48[_0x1f6f90+0x0],_0x365c49=_0xecaa48[_0x1f6f90+0x1],_0x2c8b78=_0xecaa48[_0x1f6f90+0x2],_0x9b8075=_0xecaa48[_0x1f6f90+0x3],_0x55f219=_0xecaa48[_0x1f6f90+0x4],_0x4d8cf3=_0xecaa48[_0x1f6f90+0x5],_0x482746=_0xecaa48[_0x1f6f90+0x6],_0x212bff=_0xecaa48[_0x1f6f90+0x7],_0xe39acb=_0xecaa48[_0x1f6f90+0x8],_0x157c90=_0xecaa48[_0x1f6f90+0x9],_0x43a7cc=_0xecaa48[_0x1f6f90+0xa],_0x33a76a=_0xecaa48[_0x1f6f90+0xb],_0xcc9932=_0xecaa48[_0x1f6f90+0xc],_0x310a64=_0xecaa48[_0x1f6f90+0xd],_0x24642e=_0xecaa48[_0x1f6f90+0xe],_0x3b0326=_0xecaa48[_0x1f6f90+0xf],_0x6dceed=_0xa6ac14[0x0],_0x1a33cc=_0xa6ac14[0x1],_0x4792c4=_0xa6ac14[0x2],_0x20bce8=_0xa6ac14[0x3];_0x6dceed=_0x2b2593(_0x6dceed,_0x1a33cc,_0x4792c4,_0x20bce8,_0x5933f8,0x7,_0x5134b2[0x0]),_0x20bce8=_0x2b2593(_0x20bce8,_0x6dceed,_0x1a33cc,_0x4792c4,_0x365c49,0xc,_0x5134b2[0x1]),_0x4792c4=_0x2b2593(_0x4792c4,_0x20bce8,_0x6dceed,_0x1a33cc,_0x2c8b78,0x11,_0x5134b2[0x2]),_0x1a33cc=_0x2b2593(_0x1a33cc,_0x4792c4,_0x20bce8,_0x6dceed,_0x9b8075,0x16,_0x5134b2[0x3]),_0x6dceed=_0x2b2593(_0x6dceed,_0x1a33cc,_0x4792c4,_0x20bce8,_0x55f219,0x7,_0x5134b2[0x4]),_0x20bce8=_0x2b2593(_0x20bce8,_0x6dceed,_0x1a33cc,_0x4792c4,_0x4d8cf3,0xc,_0x5134b2[0x5]),_0x4792c4=_0x2b2593(_0x4792c4,_0x20bce8,_0x6dceed,_0x1a33cc,_0x482746,0x11,_0x5134b2[0x6]),_0x1a33cc=_0x2b2593(_0x1a33cc,_0x4792c4,_0x20bce8,_0x6dceed,_0x212bff,0x16,_0x5134b2[0x7]),_0x6dceed=_0x2b2593(_0x6dceed,_0x1a33cc,_0x4792c4,_0x20bce8,_0xe39acb,0x7,_0x5134b2[0x8]),_0x20bce8=_0x2b2593(_0x20bce8,_0x6dceed,_0x1a33cc,_0x4792c4,_0x157c90,0xc,_0x5134b2[0x9]),_0x4792c4=_0x2b2593(_0x4792c4,_0x20bce8,_0x6dceed,_0x1a33cc,_0x43a7cc,0x11,_0x5134b2[0xa]),_0x1a33cc=_0x2b2593(_0x1a33cc,_0x4792c4,_0x20bce8,_0x6dceed,_0x33a76a,0x16,_0x5134b2[0xb]),_0x6dceed=_0x2b2593(_0x6dceed,_0x1a33cc,_0x4792c4,_0x20bce8,_0xcc9932,0x7,_0x5134b2[0xc]),_0x20bce8=_0x2b2593(_0x20bce8,_0x6dceed,_0x1a33cc,_0x4792c4,_0x310a64,0xc,_0x5134b2[0xd]),_0x4792c4=_0x2b2593(_0x4792c4,_0x20bce8,_0x6dceed,_0x1a33cc,_0x24642e,0x11,_0x5134b2[0xe]),_0x1a33cc=_0x2b2593(_0x1a33cc,_0x4792c4,_0x20bce8,_0x6dceed,_0x3b0326,0x16,_0x5134b2[0xf]),_0x6dceed=_0x1cdcf9(_0x6dceed,_0x1a33cc,_0x4792c4,_0x20bce8,_0x365c49,0x5,_0x5134b2[0x10]),_0x20bce8=_0x1cdcf9(_0x20bce8,_0x6dceed,_0x1a33cc,_0x4792c4,_0x482746,0x9,_0x5134b2[0x11]),_0x4792c4=_0x1cdcf9(_0x4792c4,_0x20bce8,_0x6dceed,_0x1a33cc,_0x33a76a,0xe,_0x5134b2[0x12]),_0x1a33cc=_0x1cdcf9(_0x1a33cc,_0x4792c4,_0x20bce8,_0x6dceed,_0x5933f8,0x14,_0x5134b2[0x13]),_0x6dceed=_0x1cdcf9(_0x6dceed,_0x1a33cc,_0x4792c4,_0x20bce8,_0x4d8cf3,0x5,_0x5134b2[0x14]),_0x20bce8=_0x1cdcf9(_0x20bce8,_0x6dceed,_0x1a33cc,_0x4792c4,_0x43a7cc,0x9,_0x5134b2[0x15]),_0x4792c4=_0x1cdcf9(_0x4792c4,_0x20bce8,_0x6dceed,_0x1a33cc,_0x3b0326,0xe,_0x5134b2[0x16]),_0x1a33cc=_0x1cdcf9(_0x1a33cc,_0x4792c4,_0x20bce8,_0x6dceed,_0x55f219,0x14,_0x5134b2[0x17]),_0x6dceed=_0x1cdcf9(_0x6dceed,_0x1a33cc,_0x4792c4,_0x20bce8,_0x157c90,0x5,_0x5134b2[0x18]),_0x20bce8=_0x1cdcf9(_0x20bce8,_0x6dceed,_0x1a33cc,_0x4792c4,_0x24642e,0x9,_0x5134b2[0x19]),_0x4792c4=_0x1cdcf9(_0x4792c4,_0x20bce8,_0x6dceed,_0x1a33cc,_0x9b8075,0xe,_0x5134b2[0x1a]),_0x1a33cc=_0x1cdcf9(_0x1a33cc,_0x4792c4,_0x20bce8,_0x6dceed,_0xe39acb,0x14,_0x5134b2[0x1b]),_0x6dceed=_0x1cdcf9(_0x6dceed,_0x1a33cc,_0x4792c4,_0x20bce8,_0x310a64,0x5,_0x5134b2[0x1c]),_0x20bce8=_0x1cdcf9(_0x20bce8,_0x6dceed,_0x1a33cc,_0x4792c4,_0x2c8b78,0x9,_0x5134b2[0x1d]),_0x4792c4=_0x1cdcf9(_0x4792c4,_0x20bce8,_0x6dceed,_0x1a33cc,_0x212bff,0xe,_0x5134b2[0x1e]),_0x1a33cc=_0x1cdcf9(_0x1a33cc,_0x4792c4,_0x20bce8,_0x6dceed,_0xcc9932,0x14,_0x5134b2[0x1f]),_0x6dceed=_0x41841f(_0x6dceed,_0x1a33cc,_0x4792c4,_0x20bce8,_0x4d8cf3,0x4,_0x5134b2[0x20]),_0x20bce8=_0x41841f(_0x20bce8,_0x6dceed,_0x1a33cc,_0x4792c4,_0xe39acb,0xb,_0x5134b2[0x21]),_0x4792c4=_0x41841f(_0x4792c4,_0x20bce8,_0x6dceed,_0x1a33cc,_0x33a76a,0x10,_0x5134b2[0x22]),_0x1a33cc=_0x41841f(_0x1a33cc,_0x4792c4,_0x20bce8,_0x6dceed,_0x24642e,0x17,_0x5134b2[0x23]),_0x6dceed=_0x41841f(_0x6dceed,_0x1a33cc,_0x4792c4,_0x20bce8,_0x365c49,0x4,_0x5134b2[0x24]),_0x20bce8=_0x41841f(_0x20bce8,_0x6dceed,_0x1a33cc,_0x4792c4,_0x55f219,0xb,_0x5134b2[0x25]),_0x4792c4=_0x41841f(_0x4792c4,_0x20bce8,_0x6dceed,_0x1a33cc,_0x212bff,0x10,_0x5134b2[0x26]),_0x1a33cc=_0x41841f(_0x1a33cc,_0x4792c4,_0x20bce8,_0x6dceed,_0x43a7cc,0x17,_0x5134b2[0x27]),_0x6dceed=_0x41841f(_0x6dceed,_0x1a33cc,_0x4792c4,_0x20bce8,_0x310a64,0x4,_0x5134b2[0x28]),_0x20bce8=_0x41841f(_0x20bce8,_0x6dceed,_0x1a33cc,_0x4792c4,_0x5933f8,0xb,_0x5134b2[0x29]),_0x4792c4=_0x41841f(_0x4792c4,_0x20bce8,_0x6dceed,_0x1a33cc,_0x9b8075,0x10,_0x5134b2[0x2a]),_0x1a33cc=_0x41841f(_0x1a33cc,_0x4792c4,_0x20bce8,_0x6dceed,_0x482746,0x17,_0x5134b2[0x2b]),_0x6dceed=_0x41841f(_0x6dceed,_0x1a33cc,_0x4792c4,_0x20bce8,_0x157c90,0x4,_0x5134b2[0x2c]),_0x20bce8=_0x41841f(_0x20bce8,_0x6dceed,_0x1a33cc,_0x4792c4,_0xcc9932,0xb,_0x5134b2[0x2d]),_0x4792c4=_0x41841f(_0x4792c4,_0x20bce8,_0x6dceed,_0x1a33cc,_0x3b0326,0x10,_0x5134b2[0x2e]),_0x1a33cc=_0x41841f(_0x1a33cc,_0x4792c4,_0x20bce8,_0x6dceed,_0x2c8b78,0x17,_0x5134b2[0x2f]),_0x6dceed=_0x21d24e(_0x6dceed,_0x1a33cc,_0x4792c4,_0x20bce8,_0x5933f8,0x6,_0x5134b2[0x30]),_0x20bce8=_0x21d24e(_0x20bce8,_0x6dceed,_0x1a33cc,_0x4792c4,_0x212bff,0xa,_0x5134b2[0x31]),_0x4792c4=_0x21d24e(_0x4792c4,_0x20bce8,_0x6dceed,_0x1a33cc,_0x24642e,0xf,_0x5134b2[0x32]),_0x1a33cc=_0x21d24e(_0x1a33cc,_0x4792c4,_0x20bce8,_0x6dceed,_0x4d8cf3,0x15,_0x5134b2[0x33]),_0x6dceed=_0x21d24e(_0x6dceed,_0x1a33cc,_0x4792c4,_0x20bce8,_0xcc9932,0x6,_0x5134b2[0x34]),_0x20bce8=_0x21d24e(_0x20bce8,_0x6dceed,_0x1a33cc,_0x4792c4,_0x9b8075,0xa,_0x5134b2[0x35]),_0x4792c4=_0x21d24e(_0x4792c4,_0x20bce8,_0x6dceed,_0x1a33cc,_0x43a7cc,0xf,_0x5134b2[0x36]),_0x1a33cc=_0x21d24e(_0x1a33cc,_0x4792c4,_0x20bce8,_0x6dceed,_0x365c49,0x15,_0x5134b2[0x37]),_0x6dceed=_0x21d24e(_0x6dceed,_0x1a33cc,_0x4792c4,_0x20bce8,_0xe39acb,0x6,_0x5134b2[0x38]),_0x20bce8=_0x21d24e(_0x20bce8,_0x6dceed,_0x1a33cc,_0x4792c4,_0x3b0326,0xa,_0x5134b2[0x39]),_0x4792c4=_0x21d24e(_0x4792c4,_0x20bce8,_0x6dceed,_0x1a33cc,_0x482746,0xf,_0x5134b2[0x3a]),_0x1a33cc=_0x21d24e(_0x1a33cc,_0x4792c4,_0x20bce8,_0x6dceed,_0x310a64,0x15,_0x5134b2[0x3b]),_0x6dceed=_0x21d24e(_0x6dceed,_0x1a33cc,_0x4792c4,_0x20bce8,_0x55f219,0x6,_0x5134b2[0x3c]),_0x20bce8=_0x21d24e(_0x20bce8,_0x6dceed,_0x1a33cc,_0x4792c4,_0x33a76a,0xa,_0x5134b2[0x3d]),_0x4792c4=_0x21d24e(_0x4792c4,_0x20bce8,_0x6dceed,_0x1a33cc,_0x2c8b78,0xf,_0x5134b2[0x3e]),_0x1a33cc=_0x21d24e(_0x1a33cc,_0x4792c4,_0x20bce8,_0x6dceed,_0x157c90,0x15,_0x5134b2[0x3f]),_0xa6ac14[0x0]=_0xa6ac14[0x0]+_0x6dceed|0x0,_0xa6ac14[0x1]=_0xa6ac14[0x1]+_0x1a33cc|0x0,_0xa6ac14[0x2]=_0xa6ac14[0x2]+_0x4792c4|0x0,_0xa6ac14[0x3]=_0xa6ac14[0x3]+_0x20bce8|0x0;},'_doFinalize':function(){var _0x282acf=_0x43823a,_0x3499d5=this[_0x282acf(0x47c)],_0x33ccfd=_0x3499d5['words'],_0x106f54=this[_0x282acf(0x30e)]*0x8,_0x360188=_0x3499d5['sigBytes']*0x8;_0x33ccfd[_0x360188>>>0x5]|=0x80<<0x18-_0x360188%0x20;var _0x31fed5=_0x1b043f['floor'](_0x106f54/0x100000000),_0x2f0a84=_0x106f54;_0x33ccfd[(_0x360188+0x40>>>0x9<<0x4)+0xf]=(_0x31fed5<<0x8|_0x31fed5>>>0x18)&0xff00ff|(_0x31fed5<<0x18|_0x31fed5>>>0x8)&0xff00ff00,_0x33ccfd[(_0x360188+0x40>>>0x9<<0x4)+0xe]=(_0x2f0a84<<0x8|_0x2f0a84>>>0x18)&0xff00ff|(_0x2f0a84<<0x18|_0x2f0a84>>>0x8)&0xff00ff00,_0x3499d5[_0x282acf(0x4ae)]=(_0x33ccfd['length']+0x1)*0x4,this['_process']();for(var _0x5ce0c0=this[_0x282acf(0x2bc)],_0xe0ae9d=_0x5ce0c0['words'],_0xf3e495=0x0;_0xf3e495<0x4;_0xf3e495++){var _0x28e8e0=_0xe0ae9d[_0xf3e495];_0xe0ae9d[_0xf3e495]=(_0x28e8e0<<0x8|_0x28e8e0>>>0x18)&0xff00ff|(_0x28e8e0<<0x18|_0x28e8e0>>>0x8)&0xff00ff00;}return _0x5ce0c0;},'clone':function(){var _0x34f449=_0x43823a,_0x2e28bb=_0x26fcfd[_0x34f449(0x485)][_0x34f449(0x2b9)](this);return _0x2e28bb['_hash']=this['_hash'][_0x34f449(0x485)](),_0x2e28bb;}});function _0x2b2593(_0x49cde7,_0x506569,_0x3caece,_0x35d014,_0x2130f9,_0x5797e2,_0x57889b){var _0x4eec42=_0x49cde7+(_0x506569&_0x3caece|~_0x506569&_0x35d014)+_0x2130f9+_0x57889b;return(_0x4eec42<<_0x5797e2|_0x4eec42>>>0x20-_0x5797e2)+_0x506569;}function _0x1cdcf9(_0x5953b1,_0x36e429,_0x4da833,_0x223ca2,_0x5aa171,_0x8465a1,_0x505ae7){var _0x1eef38=_0x5953b1+(_0x36e429&_0x223ca2|_0x4da833&~_0x223ca2)+_0x5aa171+_0x505ae7;return(_0x1eef38<<_0x8465a1|_0x1eef38>>>0x20-_0x8465a1)+_0x36e429;}function _0x41841f(_0x26f6ba,_0x372229,_0x2a3355,_0xb4e798,_0x503312,_0x2b24f0,_0x5d213a){var _0x5ff813=_0x26f6ba+(_0x372229^_0x2a3355^_0xb4e798)+_0x503312+_0x5d213a;return(_0x5ff813<<_0x2b24f0|_0x5ff813>>>0x20-_0x2b24f0)+_0x372229;}function _0x21d24e(_0x35b273,_0x3e536c,_0x2a7fa9,_0x5171d6,_0x407271,_0x2b06cd,_0x2c6dc3){var _0x48dd06=_0x35b273+(_0x2a7fa9^(_0x3e536c|~_0x5171d6))+_0x407271+_0x2c6dc3;return(_0x48dd06<<_0x2b06cd|_0x48dd06>>>0x20-_0x2b06cd)+_0x3e536c;}_0x4e4dce[_0x43823a(0x474)]=_0x26fcfd[_0x43823a(0x245)](_0x52c76e),_0x4e4dce['HmacMD5']=_0x26fcfd['_createHmacHelper'](_0x52c76e);}(Math),_0x3fe6c1['MD5'];}));}(me)),me['exports'];}var Ie={'exports':{}},Ee={'exports':{}},Xi=Ee[_0x13aec8(0x308)],tt;function Zi(){return tt||(tt=0x1,function(_0x23fa19,_0x292f06){(function(_0x4d392d,_0x2099cb){_0x23fa19['exports']=_0x2099cb(ee());}(Xi,function(_0x3515b4){var _0x5727ff=_0x4ec5;return(function(){var _0x4783b4=_0x4ec5,_0x390465=_0x3515b4,_0x73943d=_0x390465[_0x4783b4(0x2f2)],_0xa76b99=_0x73943d[_0x4783b4(0x428)],_0xf6ac99=_0x73943d[_0x4783b4(0x359)],_0x65095a=_0x390465[_0x4783b4(0x1bf)],_0x2976d8=[],_0x5e46cc=_0x65095a[_0x4783b4(0x32c)]=_0xf6ac99[_0x4783b4(0x462)]({'_doReset':function(){var _0x42dc02=_0x4783b4;this[_0x42dc02(0x2bc)]=new _0xa76b99[(_0x42dc02(0x436))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x414b01,_0x360c9f){var _0x270918=_0x4783b4;for(var _0x232e51=this['_hash'][_0x270918(0x299)],_0x5881a0=_0x232e51[0x0],_0x30ae21=_0x232e51[0x1],_0x40f3f1=_0x232e51[0x2],_0x4bfa25=_0x232e51[0x3],_0x25046f=_0x232e51[0x4],_0x44a90f=0x0;_0x44a90f<0x50;_0x44a90f++){if(_0x44a90f<0x10)_0x2976d8[_0x44a90f]=_0x414b01[_0x360c9f+_0x44a90f]|0x0;else{var _0x54c24f=_0x2976d8[_0x44a90f-0x3]^_0x2976d8[_0x44a90f-0x8]^_0x2976d8[_0x44a90f-0xe]^_0x2976d8[_0x44a90f-0x10];_0x2976d8[_0x44a90f]=_0x54c24f<<0x1|_0x54c24f>>>0x1f;}var _0x188165=(_0x5881a0<<0x5|_0x5881a0>>>0x1b)+_0x25046f+_0x2976d8[_0x44a90f];_0x44a90f<0x14?_0x188165+=(_0x30ae21&_0x40f3f1|~_0x30ae21&_0x4bfa25)+0x5a827999:_0x44a90f<0x28?_0x188165+=(_0x30ae21^_0x40f3f1^_0x4bfa25)+0x6ed9eba1:_0x44a90f<0x3c?_0x188165+=(_0x30ae21&_0x40f3f1|_0x30ae21&_0x4bfa25|_0x40f3f1&_0x4bfa25)-0x70e44324:_0x188165+=(_0x30ae21^_0x40f3f1^_0x4bfa25)-0x359d3e2a,_0x25046f=_0x4bfa25,_0x4bfa25=_0x40f3f1,_0x40f3f1=_0x30ae21<<0x1e|_0x30ae21>>>0x2,_0x30ae21=_0x5881a0,_0x5881a0=_0x188165;}_0x232e51[0x0]=_0x232e51[0x0]+_0x5881a0|0x0,_0x232e51[0x1]=_0x232e51[0x1]+_0x30ae21|0x0,_0x232e51[0x2]=_0x232e51[0x2]+_0x40f3f1|0x0,_0x232e51[0x3]=_0x232e51[0x3]+_0x4bfa25|0x0,_0x232e51[0x4]=_0x232e51[0x4]+_0x25046f|0x0;},'_doFinalize':function(){var _0x4d3800=_0x4783b4,_0x38245b=this[_0x4d3800(0x47c)],_0x4bcd4d=_0x38245b['words'],_0x1c4738=this[_0x4d3800(0x30e)]*0x8,_0xacd7d7=_0x38245b[_0x4d3800(0x4ae)]*0x8;return _0x4bcd4d[_0xacd7d7>>>0x5]|=0x80<<0x18-_0xacd7d7%0x20,_0x4bcd4d[(_0xacd7d7+0x40>>>0x9<<0x4)+0xe]=Math[_0x4d3800(0x2b6)](_0x1c4738/0x100000000),_0x4bcd4d[(_0xacd7d7+0x40>>>0x9<<0x4)+0xf]=_0x1c4738,_0x38245b[_0x4d3800(0x4ae)]=_0x4bcd4d[_0x4d3800(0x254)]*0x4,this[_0x4d3800(0x19b)](),this[_0x4d3800(0x2bc)];},'clone':function(){var _0x1f8f4b=_0x4783b4,_0x514f17=_0xf6ac99['clone'][_0x1f8f4b(0x2b9)](this);return _0x514f17['_hash']=this[_0x1f8f4b(0x2bc)][_0x1f8f4b(0x485)](),_0x514f17;}});_0x390465['SHA1']=_0xf6ac99['_createHelper'](_0x5e46cc),_0x390465[_0x4783b4(0x48a)]=_0xf6ac99[_0x4783b4(0x482)](_0x5e46cc);}()),_0x3515b4[_0x5727ff(0x32c)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},Qi=Ce[_0x13aec8(0x308)],it;function en(){return it||(it=0x1,function(_0x300657,_0x52508e){(function(_0x5d7309,_0x5f8d81){var _0x3be6f0=_0x4ec5;_0x300657[_0x3be6f0(0x308)]=_0x5f8d81(ee());}(Qi,function(_0x24ddfb){(function(){var _0x6eba97=_0x4ec5,_0x39c8a9=_0x24ddfb,_0x12ca71=_0x39c8a9[_0x6eba97(0x2f2)],_0x4d6b04=_0x12ca71[_0x6eba97(0x3ad)],_0x4283d2=_0x39c8a9[_0x6eba97(0x15a)],_0x54372c=_0x4283d2[_0x6eba97(0x458)],_0x7e60a4=_0x39c8a9['algo'];_0x7e60a4[_0x6eba97(0x1df)]=_0x4d6b04[_0x6eba97(0x462)]({'init':function(_0x55715e,_0x74b5c4){var _0x5d53f1=_0x6eba97;_0x55715e=this[_0x5d53f1(0x2fb)]=new _0x55715e['init'](),typeof _0x74b5c4==_0x5d53f1(0x35d)&&(_0x74b5c4=_0x54372c[_0x5d53f1(0x136)](_0x74b5c4));var _0x2e540b=_0x55715e[_0x5d53f1(0x3b4)],_0x49dbe5=_0x2e540b*0x4;_0x74b5c4[_0x5d53f1(0x4ae)]>_0x49dbe5&&(_0x74b5c4=_0x55715e[_0x5d53f1(0x440)](_0x74b5c4)),_0x74b5c4[_0x5d53f1(0x180)]();for(var _0x2197fd=this[_0x5d53f1(0x1e7)]=_0x74b5c4['clone'](),_0x40ad89=this[_0x5d53f1(0x218)]=_0x74b5c4[_0x5d53f1(0x485)](),_0x38cbff=_0x2197fd['words'],_0xa3acd8=_0x40ad89[_0x5d53f1(0x299)],_0x24500d=0x0;_0x24500d<_0x2e540b;_0x24500d++)_0x38cbff[_0x24500d]^=0x5c5c5c5c,_0xa3acd8[_0x24500d]^=0x36363636;_0x2197fd['sigBytes']=_0x40ad89[_0x5d53f1(0x4ae)]=_0x49dbe5,this[_0x5d53f1(0x246)]();},'reset':function(){var _0x47ef59=_0x6eba97,_0x4a4c90=this['_hasher'];_0x4a4c90[_0x47ef59(0x246)](),_0x4a4c90[_0x47ef59(0x39b)](this['_iKey']);},'update':function(_0x29efb5){var _0x54efb1=_0x6eba97;return this[_0x54efb1(0x2fb)]['update'](_0x29efb5),this;},'finalize':function(_0x4ed81c){var _0xe9b90=_0x6eba97,_0x1d6024=this[_0xe9b90(0x2fb)],_0x2f7bfd=_0x1d6024[_0xe9b90(0x440)](_0x4ed81c);_0x1d6024[_0xe9b90(0x246)]();var _0x117929=_0x1d6024[_0xe9b90(0x440)](this[_0xe9b90(0x1e7)]['clone']()[_0xe9b90(0x312)](_0x2f7bfd));return _0x117929;}});}());}));}(Ce)),Ce['exports'];}var tn=Ie[_0x13aec8(0x308)],nt;function Dt(){return nt||(nt=0x1,function(_0x7626f8,_0x5dc3c0){(function(_0x540ca2,_0x3089e9,_0x5c46f2){_0x7626f8['exports']=_0x3089e9(ee(),Zi(),en());}(tn,function(_0x50e505){return(function(){var _0x449b8f=_0x4ec5,_0x1ad6ac=_0x50e505,_0x43eea1=_0x1ad6ac['lib'],_0x231874=_0x43eea1[_0x449b8f(0x3ad)],_0x5f003e=_0x43eea1[_0x449b8f(0x428)],_0x1c8b82=_0x1ad6ac[_0x449b8f(0x1bf)],_0x4ba7b2=_0x1c8b82[_0x449b8f(0x474)],_0x3aed90=_0x1c8b82[_0x449b8f(0x417)]=_0x231874['extend']({'cfg':_0x231874[_0x449b8f(0x462)]({'keySize':0x80/0x20,'hasher':_0x4ba7b2,'iterations':0x1}),'init':function(_0x12ed38){var _0xbc7594=_0x449b8f;this[_0xbc7594(0x36b)]=this['cfg'][_0xbc7594(0x462)](_0x12ed38);},'compute':function(_0x1aa86e,_0x49295f){var _0x4c12b5=_0x449b8f;for(var _0x235fc5,_0x5b211b=this[_0x4c12b5(0x36b)],_0x236a14=_0x5b211b[_0x4c12b5(0x49b)]['create'](),_0x564b3d=_0x5f003e['create'](),_0xc9c1f=_0x564b3d[_0x4c12b5(0x299)],_0xfb7318=_0x5b211b['keySize'],_0x2b2f3d=_0x5b211b[_0x4c12b5(0x205)];_0xc9c1f[_0x4c12b5(0x254)]<_0xfb7318;){_0x235fc5&&_0x236a14['update'](_0x235fc5),_0x235fc5=_0x236a14[_0x4c12b5(0x39b)](_0x1aa86e)['finalize'](_0x49295f),_0x236a14['reset']();for(var _0x1ac8af=0x1;_0x1ac8af<_0x2b2f3d;_0x1ac8af++)_0x235fc5=_0x236a14[_0x4c12b5(0x440)](_0x235fc5),_0x236a14['reset']();_0x564b3d[_0x4c12b5(0x312)](_0x235fc5);}return _0x564b3d[_0x4c12b5(0x4ae)]=_0xfb7318*0x4,_0x564b3d;}});_0x1ad6ac[_0x449b8f(0x417)]=function(_0x16c6a3,_0x4cd71a,_0x17a02c){var _0x4eb9fd=_0x449b8f;return _0x3aed90[_0x4eb9fd(0x172)](_0x17a02c)[_0x4eb9fd(0x316)](_0x16c6a3,_0x4cd71a);};}()),_0x50e505['EvpKDF'];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},nn=Te[_0x13aec8(0x308)],rt;function wt(){var _0x4fdd33=_0x13aec8;return rt||(rt=0x1,function(_0x14cc17,_0x4060ef){(function(_0x1d6b85,_0x8a4a38,_0x48c743){_0x14cc17['exports']=_0x8a4a38(ee(),Dt());}(nn,function(_0xb6e159){var _0x47bb3b=_0x4ec5;_0xb6e159[_0x47bb3b(0x2f2)][_0x47bb3b(0x3b9)]||function(_0x10c1c0){var _0x12d68c=_0x47bb3b,_0x1359bb=_0xb6e159,_0x2bd35d=_0x1359bb[_0x12d68c(0x2f2)],_0x47639e=_0x2bd35d[_0x12d68c(0x3ad)],_0x598e30=_0x2bd35d[_0x12d68c(0x428)],_0x358503=_0x2bd35d[_0x12d68c(0x33f)],_0x4eece2=_0x1359bb[_0x12d68c(0x15a)];_0x4eece2[_0x12d68c(0x458)];var _0x1b8b11=_0x4eece2['Base64'],_0xdb9b2d=_0x1359bb[_0x12d68c(0x1bf)],_0x21f673=_0xdb9b2d[_0x12d68c(0x417)],_0x4a246a=_0x2bd35d[_0x12d68c(0x3b9)]=_0x358503[_0x12d68c(0x462)]({'cfg':_0x47639e[_0x12d68c(0x462)](),'createEncryptor':function(_0x3030aa,_0x22e743){var _0x3f86a5=_0x12d68c;return this[_0x3f86a5(0x172)](this[_0x3f86a5(0x297)],_0x3030aa,_0x22e743);},'createDecryptor':function(_0x2fe75d,_0x32c1d6){var _0x29fe49=_0x12d68c;return this[_0x29fe49(0x172)](this[_0x29fe49(0x394)],_0x2fe75d,_0x32c1d6);},'init':function(_0x4f77f0,_0x379a6a,_0x537177){var _0x3127e4=_0x12d68c;this[_0x3127e4(0x36b)]=this[_0x3127e4(0x36b)][_0x3127e4(0x462)](_0x537177),this[_0x3127e4(0x459)]=_0x4f77f0,this[_0x3127e4(0x3f0)]=_0x379a6a,this[_0x3127e4(0x246)]();},'reset':function(){var _0x32830c=_0x12d68c;_0x358503[_0x32830c(0x246)][_0x32830c(0x2b9)](this),this['_doReset']();},'process':function(_0x5f5a91){var _0x57b443=_0x12d68c;return this[_0x57b443(0x27e)](_0x5f5a91),this['_process']();},'finalize':function(_0x1d7d76){var _0x4cbfc3=_0x12d68c;_0x1d7d76&&this['_append'](_0x1d7d76);var _0x160d82=this[_0x4cbfc3(0x3df)]();return _0x160d82;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5c1f33(_0x4972c4){var _0x69cabb=_0x4ec5;return typeof _0x4972c4==_0x69cabb(0x35d)?_0x3fd05e:_0x287bc2;}return function(_0x1e449d){return{'encrypt':function(_0x293bb6,_0x46c3d7,_0x4a43c0){return _0x5c1f33(_0x46c3d7)['encrypt'](_0x1e449d,_0x293bb6,_0x46c3d7,_0x4a43c0);},'decrypt':function(_0x4d129e,_0x134ea3,_0x4ec792){var _0x4409ac=_0x4ec5;return _0x5c1f33(_0x134ea3)[_0x4409ac(0x338)](_0x1e449d,_0x4d129e,_0x134ea3,_0x4ec792);}};};}())});_0x2bd35d[_0x12d68c(0x499)]=_0x4a246a[_0x12d68c(0x462)]({'_doFinalize':function(){var _0xe976a8=this['_process'](!0x0);return _0xe976a8;},'blockSize':0x1});var _0x520f51=_0x1359bb[_0x12d68c(0x413)]={},_0xa5f512=_0x2bd35d[_0x12d68c(0x379)]=_0x47639e[_0x12d68c(0x462)]({'createEncryptor':function(_0x27100e,_0x88cefe){var _0x8dc57e=_0x12d68c;return this[_0x8dc57e(0x3be)][_0x8dc57e(0x172)](_0x27100e,_0x88cefe);},'createDecryptor':function(_0x4207d8,_0x3efe47){var _0x42ff2b=_0x12d68c;return this['Decryptor'][_0x42ff2b(0x172)](_0x4207d8,_0x3efe47);},'init':function(_0x50d3f9,_0x37fad5){var _0x25ee78=_0x12d68c;this[_0x25ee78(0x3e6)]=_0x50d3f9,this[_0x25ee78(0x2a0)]=_0x37fad5;}}),_0x1a224a=_0x520f51[_0x12d68c(0x408)]=(function(){var _0x231d39=_0x12d68c,_0x42b14a=_0xa5f512[_0x231d39(0x462)]();_0x42b14a[_0x231d39(0x3be)]=_0x42b14a[_0x231d39(0x462)]({'processBlock':function(_0x425176,_0x5dba5b){var _0x2eb7b0=_0x231d39,_0x23d3b9=this[_0x2eb7b0(0x3e6)],_0x24c4b7=_0x23d3b9[_0x2eb7b0(0x3b4)];_0xfe4f65[_0x2eb7b0(0x2b9)](this,_0x425176,_0x5dba5b,_0x24c4b7),_0x23d3b9['encryptBlock'](_0x425176,_0x5dba5b),this[_0x2eb7b0(0x37a)]=_0x425176['slice'](_0x5dba5b,_0x5dba5b+_0x24c4b7);}}),_0x42b14a[_0x231d39(0x216)]=_0x42b14a[_0x231d39(0x462)]({'processBlock':function(_0x4f726d,_0x4a653e){var _0x13f688=_0x231d39,_0x3be239=this[_0x13f688(0x3e6)],_0x4252c9=_0x3be239['blockSize'],_0x59e865=_0x4f726d[_0x13f688(0x300)](_0x4a653e,_0x4a653e+_0x4252c9);_0x3be239['decryptBlock'](_0x4f726d,_0x4a653e),_0xfe4f65[_0x13f688(0x2b9)](this,_0x4f726d,_0x4a653e,_0x4252c9),this['_prevBlock']=_0x59e865;}});function _0xfe4f65(_0x242ff8,_0x5902c2,_0x594c18){var _0x25323f=_0x231d39,_0x51541b,_0x1b29bb=this['_iv'];_0x1b29bb?(_0x51541b=_0x1b29bb,this[_0x25323f(0x2a0)]=_0x10c1c0):_0x51541b=this[_0x25323f(0x37a)];for(var _0x2e885a=0x0;_0x2e885a<_0x594c18;_0x2e885a++)_0x242ff8[_0x5902c2+_0x2e885a]^=_0x51541b[_0x2e885a];}return _0x42b14a;}()),_0x38fceb=_0x1359bb['pad']={},_0x3eef66=_0x38fceb[_0x12d68c(0x389)]={'pad':function(_0x4879bc,_0x665ae0){var _0x472181=_0x12d68c;for(var _0x488ef7=_0x665ae0*0x4,_0x8112e8=_0x488ef7-_0x4879bc[_0x472181(0x4ae)]%_0x488ef7,_0x3133b7=_0x8112e8<<0x18|_0x8112e8<<0x10|_0x8112e8<<0x8|_0x8112e8,_0x3c19a7=[],_0x23cd95=0x0;_0x23cd95<_0x8112e8;_0x23cd95+=0x4)_0x3c19a7['push'](_0x3133b7);var _0x1bdd0=_0x598e30[_0x472181(0x172)](_0x3c19a7,_0x8112e8);_0x4879bc[_0x472181(0x312)](_0x1bdd0);},'unpad':function(_0x562a9e){var _0xd5c415=_0x12d68c,_0x2fd9a2=_0x562a9e[_0xd5c415(0x299)][_0x562a9e['sigBytes']-0x1>>>0x2]&0xff;_0x562a9e['sigBytes']-=_0x2fd9a2;}};_0x2bd35d[_0x12d68c(0x45c)]=_0x4a246a[_0x12d68c(0x462)]({'cfg':_0x4a246a[_0x12d68c(0x36b)][_0x12d68c(0x462)]({'mode':_0x1a224a,'padding':_0x3eef66}),'reset':function(){var _0x5edf5e=_0x12d68c,_0x208c4f;_0x4a246a['reset'][_0x5edf5e(0x2b9)](this);var _0x3b750a=this[_0x5edf5e(0x36b)],_0xc44cea=_0x3b750a['iv'],_0x550ab1=_0x3b750a['mode'];this['_xformMode']==this[_0x5edf5e(0x297)]?_0x208c4f=_0x550ab1['createEncryptor']:(_0x208c4f=_0x550ab1[_0x5edf5e(0x192)],this[_0x5edf5e(0x3eb)]=0x1),this[_0x5edf5e(0x47f)]&&this['_mode']['__creator']==_0x208c4f?this[_0x5edf5e(0x47f)][_0x5edf5e(0x436)](this,_0xc44cea&&_0xc44cea[_0x5edf5e(0x299)]):(this[_0x5edf5e(0x47f)]=_0x208c4f['call'](_0x550ab1,this,_0xc44cea&&_0xc44cea[_0x5edf5e(0x299)]),this['_mode']['__creator']=_0x208c4f);},'_doProcessBlock':function(_0x1e6380,_0x51f18e){var _0x37e5c4=_0x12d68c;this[_0x37e5c4(0x47f)]['processBlock'](_0x1e6380,_0x51f18e);},'_doFinalize':function(){var _0x44f777=_0x12d68c,_0x2122e6,_0x1a4e02=this[_0x44f777(0x36b)][_0x44f777(0x357)];return this[_0x44f777(0x459)]==this[_0x44f777(0x297)]?(_0x1a4e02[_0x44f777(0x22b)](this[_0x44f777(0x47c)],this[_0x44f777(0x3b4)]),_0x2122e6=this['_process'](!0x0)):(_0x2122e6=this[_0x44f777(0x19b)](!0x0),_0x1a4e02['unpad'](_0x2122e6)),_0x2122e6;},'blockSize':0x80/0x20});var _0x296a4c=_0x2bd35d['CipherParams']=_0x47639e[_0x12d68c(0x462)]({'init':function(_0x3c88bc){var _0x25ef6d=_0x12d68c;this[_0x25ef6d(0x4ab)](_0x3c88bc);},'toString':function(_0x298833){var _0x2c4b76=_0x12d68c;return(_0x298833||this[_0x2c4b76(0x238)])[_0x2c4b76(0x406)](this);}}),_0x5195ba=_0x1359bb[_0x12d68c(0x49d)]={},_0x4137b2=_0x5195ba[_0x12d68c(0x323)]={'stringify':function(_0x2a2264){var _0x495b57=_0x12d68c,_0x53d3d5,_0x51c240=_0x2a2264[_0x495b57(0x2cf)],_0x1c1aa7=_0x2a2264[_0x495b57(0x3f7)];return _0x1c1aa7?_0x53d3d5=_0x598e30[_0x495b57(0x172)]([0x53616c74,0x65645f5f])['concat'](_0x1c1aa7)[_0x495b57(0x312)](_0x51c240):_0x53d3d5=_0x51c240,_0x53d3d5[_0x495b57(0x4b7)](_0x1b8b11);},'parse':function(_0xf6e457){var _0x3ecbcc=_0x12d68c,_0x2c6c46,_0x3ed69a=_0x1b8b11[_0x3ecbcc(0x136)](_0xf6e457),_0x16c356=_0x3ed69a[_0x3ecbcc(0x299)];return _0x16c356[0x0]==0x53616c74&&_0x16c356[0x1]==0x65645f5f&&(_0x2c6c46=_0x598e30[_0x3ecbcc(0x172)](_0x16c356[_0x3ecbcc(0x300)](0x2,0x4)),_0x16c356['splice'](0x0,0x4),_0x3ed69a[_0x3ecbcc(0x4ae)]-=0x10),_0x296a4c['create']({'ciphertext':_0x3ed69a,'salt':_0x2c6c46});}},_0x287bc2=_0x2bd35d[_0x12d68c(0x47d)]=_0x47639e[_0x12d68c(0x462)]({'cfg':_0x47639e[_0x12d68c(0x462)]({'format':_0x4137b2}),'encrypt':function(_0x34a3bf,_0x10a178,_0x1ec974,_0x55644e){var _0x217965=_0x12d68c;_0x55644e=this[_0x217965(0x36b)][_0x217965(0x462)](_0x55644e);var _0x4abc56=_0x34a3bf[_0x217965(0x2bb)](_0x1ec974,_0x55644e),_0x501107=_0x4abc56[_0x217965(0x440)](_0x10a178),_0x1ae9c8=_0x4abc56[_0x217965(0x36b)];return _0x296a4c['create']({'ciphertext':_0x501107,'key':_0x1ec974,'iv':_0x1ae9c8['iv'],'algorithm':_0x34a3bf,'mode':_0x1ae9c8[_0x217965(0x413)],'padding':_0x1ae9c8[_0x217965(0x357)],'blockSize':_0x34a3bf[_0x217965(0x3b4)],'formatter':_0x55644e[_0x217965(0x49d)]});},'decrypt':function(_0x2b5b01,_0x37bec0,_0x114fb6,_0x5335de){var _0x3bcead=_0x12d68c;_0x5335de=this[_0x3bcead(0x36b)][_0x3bcead(0x462)](_0x5335de),_0x37bec0=this[_0x3bcead(0x46f)](_0x37bec0,_0x5335de[_0x3bcead(0x49d)]);var _0x1c87cb=_0x2b5b01[_0x3bcead(0x192)](_0x114fb6,_0x5335de)['finalize'](_0x37bec0[_0x3bcead(0x2cf)]);return _0x1c87cb;},'_parse':function(_0x3480b1,_0x25f54e){var _0x1cf3d9=_0x12d68c;return typeof _0x3480b1==_0x1cf3d9(0x35d)?_0x25f54e[_0x1cf3d9(0x136)](_0x3480b1,this):_0x3480b1;}}),_0xb4ea3c=_0x1359bb['kdf']={},_0x2c5f54=_0xb4ea3c[_0x12d68c(0x323)]={'execute':function(_0x54baee,_0x1c59b9,_0x501bcb,_0x414d0f,_0x5e553a){var _0x44d205=_0x12d68c;if(_0x414d0f||(_0x414d0f=_0x598e30['random'](0x40/0x8)),_0x5e553a)var _0x28566e=_0x21f673['create']({'keySize':_0x1c59b9+_0x501bcb,'hasher':_0x5e553a})[_0x44d205(0x316)](_0x54baee,_0x414d0f);else var _0x28566e=_0x21f673['create']({'keySize':_0x1c59b9+_0x501bcb})[_0x44d205(0x316)](_0x54baee,_0x414d0f);var _0x4c394c=_0x598e30[_0x44d205(0x172)](_0x28566e[_0x44d205(0x299)]['slice'](_0x1c59b9),_0x501bcb*0x4);return _0x28566e[_0x44d205(0x4ae)]=_0x1c59b9*0x4,_0x296a4c[_0x44d205(0x172)]({'key':_0x28566e,'iv':_0x4c394c,'salt':_0x414d0f});}},_0x3fd05e=_0x2bd35d['PasswordBasedCipher']=_0x287bc2['extend']({'cfg':_0x287bc2[_0x12d68c(0x36b)][_0x12d68c(0x462)]({'kdf':_0x2c5f54}),'encrypt':function(_0x43d316,_0x1f5165,_0x4f394f,_0x5b222a){var _0x2c1db3=_0x12d68c;_0x5b222a=this[_0x2c1db3(0x36b)]['extend'](_0x5b222a);var _0xa91ae8=_0x5b222a['kdf'][_0x2c1db3(0x173)](_0x4f394f,_0x43d316['keySize'],_0x43d316[_0x2c1db3(0x156)],_0x5b222a[_0x2c1db3(0x3f7)],_0x5b222a['hasher']);_0x5b222a['iv']=_0xa91ae8['iv'];var _0x60683f=_0x287bc2[_0x2c1db3(0x2d2)]['call'](this,_0x43d316,_0x1f5165,_0xa91ae8['key'],_0x5b222a);return _0x60683f[_0x2c1db3(0x4ab)](_0xa91ae8),_0x60683f;},'decrypt':function(_0x1f92a1,_0xc38425,_0x538a27,_0x19368a){var _0x2df2cb=_0x12d68c;_0x19368a=this['cfg'][_0x2df2cb(0x462)](_0x19368a),_0xc38425=this['_parse'](_0xc38425,_0x19368a[_0x2df2cb(0x49d)]);var _0x552e3d=_0x19368a[_0x2df2cb(0x45e)][_0x2df2cb(0x173)](_0x538a27,_0x1f92a1[_0x2df2cb(0x360)],_0x1f92a1[_0x2df2cb(0x156)],_0xc38425['salt'],_0x19368a[_0x2df2cb(0x49b)]);_0x19368a['iv']=_0x552e3d['iv'];var _0x30b26d=_0x287bc2[_0x2df2cb(0x338)]['call'](this,_0x1f92a1,_0xc38425,_0x552e3d[_0x2df2cb(0x186)],_0x19368a);return _0x30b26d;}});}();}));}(Te)),Te[_0x4fdd33(0x308)];}var rn=Se[_0x13aec8(0x308)],st;function sn(){var _0x53d3fb=_0x13aec8;return st||(st=0x1,function(_0x2ce8aa,_0x41d958){(function(_0x4c6c11,_0x3560c4,_0x26ca3d){var _0x16368e=_0x4ec5;_0x2ce8aa[_0x16368e(0x308)]=_0x3560c4(ee(),Ut(),Ji(),Dt(),wt());}(rn,function(_0x28b887){return(function(){var _0x491bd=_0x4ec5,_0x75339e=_0x28b887,_0x282acb=_0x75339e[_0x491bd(0x2f2)],_0x13914e=_0x282acb['BlockCipher'],_0x5b277e=_0x75339e['algo'],_0x111a97=[],_0x230071=[],_0xb7ea63=[],_0xda7ac9=[],_0x7cb8cf=[],_0x17a5ba=[],_0x59c6fb=[],_0x4b8d6a=[],_0x31dd52=[],_0x3e4262=[];(function(){for(var _0x1085c4=[],_0x1534b2=0x0;_0x1534b2<0x100;_0x1534b2++)_0x1534b2<0x80?_0x1085c4[_0x1534b2]=_0x1534b2<<0x1:_0x1085c4[_0x1534b2]=_0x1534b2<<0x1^0x11b;for(var _0x187613=0x0,_0x2ba088=0x0,_0x1534b2=0x0;_0x1534b2<0x100;_0x1534b2++){var _0x27b1ec=_0x2ba088^_0x2ba088<<0x1^_0x2ba088<<0x2^_0x2ba088<<0x3^_0x2ba088<<0x4;_0x27b1ec=_0x27b1ec>>>0x8^_0x27b1ec&0xff^0x63,_0x111a97[_0x187613]=_0x27b1ec,_0x230071[_0x27b1ec]=_0x187613;var _0x1635dc=_0x1085c4[_0x187613],_0x2e6256=_0x1085c4[_0x1635dc],_0x37c31a=_0x1085c4[_0x2e6256],_0x3ffbcc=_0x1085c4[_0x27b1ec]*0x101^_0x27b1ec*0x1010100;_0xb7ea63[_0x187613]=_0x3ffbcc<<0x18|_0x3ffbcc>>>0x8,_0xda7ac9[_0x187613]=_0x3ffbcc<<0x10|_0x3ffbcc>>>0x10,_0x7cb8cf[_0x187613]=_0x3ffbcc<<0x8|_0x3ffbcc>>>0x18,_0x17a5ba[_0x187613]=_0x3ffbcc;var _0x3ffbcc=_0x37c31a*0x1010101^_0x2e6256*0x10001^_0x1635dc*0x101^_0x187613*0x1010100;_0x59c6fb[_0x27b1ec]=_0x3ffbcc<<0x18|_0x3ffbcc>>>0x8,_0x4b8d6a[_0x27b1ec]=_0x3ffbcc<<0x10|_0x3ffbcc>>>0x10,_0x31dd52[_0x27b1ec]=_0x3ffbcc<<0x8|_0x3ffbcc>>>0x18,_0x3e4262[_0x27b1ec]=_0x3ffbcc,_0x187613?(_0x187613=_0x1635dc^_0x1085c4[_0x1085c4[_0x1085c4[_0x37c31a^_0x1635dc]]],_0x2ba088^=_0x1085c4[_0x1085c4[_0x2ba088]]):_0x187613=_0x2ba088=0x1;}}());var _0x25fbda=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4da486=_0x5b277e[_0x491bd(0x14e)]=_0x13914e['extend']({'_doReset':function(){var _0x2b80f2=_0x491bd,_0x50103a;if(!(this[_0x2b80f2(0x1eb)]&&this[_0x2b80f2(0x2a2)]===this['_key'])){for(var _0x2a161b=this[_0x2b80f2(0x2a2)]=this[_0x2b80f2(0x3f0)],_0x7d2ea7=_0x2a161b[_0x2b80f2(0x299)],_0xbb1efe=_0x2a161b[_0x2b80f2(0x4ae)]/0x4,_0x32e225=this[_0x2b80f2(0x1eb)]=_0xbb1efe+0x6,_0x29717e=(_0x32e225+0x1)*0x4,_0x4dcc2e=this[_0x2b80f2(0x318)]=[],_0x4e1d83=0x0;_0x4e1d83<_0x29717e;_0x4e1d83++)_0x4e1d83<_0xbb1efe?_0x4dcc2e[_0x4e1d83]=_0x7d2ea7[_0x4e1d83]:(_0x50103a=_0x4dcc2e[_0x4e1d83-0x1],_0x4e1d83%_0xbb1efe?_0xbb1efe>0x6&&_0x4e1d83%_0xbb1efe==0x4&&(_0x50103a=_0x111a97[_0x50103a>>>0x18]<<0x18|_0x111a97[_0x50103a>>>0x10&0xff]<<0x10|_0x111a97[_0x50103a>>>0x8&0xff]<<0x8|_0x111a97[_0x50103a&0xff]):(_0x50103a=_0x50103a<<0x8|_0x50103a>>>0x18,_0x50103a=_0x111a97[_0x50103a>>>0x18]<<0x18|_0x111a97[_0x50103a>>>0x10&0xff]<<0x10|_0x111a97[_0x50103a>>>0x8&0xff]<<0x8|_0x111a97[_0x50103a&0xff],_0x50103a^=_0x25fbda[_0x4e1d83/_0xbb1efe|0x0]<<0x18),_0x4dcc2e[_0x4e1d83]=_0x4dcc2e[_0x4e1d83-_0xbb1efe]^_0x50103a);for(var _0x48d447=this[_0x2b80f2(0x20c)]=[],_0x4ac653=0x0;_0x4ac653<_0x29717e;_0x4ac653++){var _0x4e1d83=_0x29717e-_0x4ac653;if(_0x4ac653%0x4)var _0x50103a=_0x4dcc2e[_0x4e1d83];else var _0x50103a=_0x4dcc2e[_0x4e1d83-0x4];_0x4ac653<0x4||_0x4e1d83<=0x4?_0x48d447[_0x4ac653]=_0x50103a:_0x48d447[_0x4ac653]=_0x59c6fb[_0x111a97[_0x50103a>>>0x18]]^_0x4b8d6a[_0x111a97[_0x50103a>>>0x10&0xff]]^_0x31dd52[_0x111a97[_0x50103a>>>0x8&0xff]]^_0x3e4262[_0x111a97[_0x50103a&0xff]];}}},'encryptBlock':function(_0x453aab,_0x44647b){var _0x3fa58d=_0x491bd;this[_0x3fa58d(0x27c)](_0x453aab,_0x44647b,this['_keySchedule'],_0xb7ea63,_0xda7ac9,_0x7cb8cf,_0x17a5ba,_0x111a97);},'decryptBlock':function(_0x1ac7ce,_0x4557f5){var _0x56dec4=_0x491bd,_0x1d7191=_0x1ac7ce[_0x4557f5+0x1];_0x1ac7ce[_0x4557f5+0x1]=_0x1ac7ce[_0x4557f5+0x3],_0x1ac7ce[_0x4557f5+0x3]=_0x1d7191,this[_0x56dec4(0x27c)](_0x1ac7ce,_0x4557f5,this['_invKeySchedule'],_0x59c6fb,_0x4b8d6a,_0x31dd52,_0x3e4262,_0x230071);var _0x1d7191=_0x1ac7ce[_0x4557f5+0x1];_0x1ac7ce[_0x4557f5+0x1]=_0x1ac7ce[_0x4557f5+0x3],_0x1ac7ce[_0x4557f5+0x3]=_0x1d7191;},'_doCryptBlock':function(_0x292dd5,_0x5c98a5,_0xbb4985,_0x4ac8cd,_0x4f733f,_0x5d8735,_0x3a3106,_0x4da6cb){var _0x76455f=_0x491bd;for(var _0x52ef0f=this[_0x76455f(0x1eb)],_0x5d82cf=_0x292dd5[_0x5c98a5]^_0xbb4985[0x0],_0x5abb30=_0x292dd5[_0x5c98a5+0x1]^_0xbb4985[0x1],_0x33eb9a=_0x292dd5[_0x5c98a5+0x2]^_0xbb4985[0x2],_0x295874=_0x292dd5[_0x5c98a5+0x3]^_0xbb4985[0x3],_0x207148=0x4,_0xc51780=0x1;_0xc51780<_0x52ef0f;_0xc51780++){var _0x3fa9b3=_0x4ac8cd[_0x5d82cf>>>0x18]^_0x4f733f[_0x5abb30>>>0x10&0xff]^_0x5d8735[_0x33eb9a>>>0x8&0xff]^_0x3a3106[_0x295874&0xff]^_0xbb4985[_0x207148++],_0x2eb310=_0x4ac8cd[_0x5abb30>>>0x18]^_0x4f733f[_0x33eb9a>>>0x10&0xff]^_0x5d8735[_0x295874>>>0x8&0xff]^_0x3a3106[_0x5d82cf&0xff]^_0xbb4985[_0x207148++],_0x3fbfdc=_0x4ac8cd[_0x33eb9a>>>0x18]^_0x4f733f[_0x295874>>>0x10&0xff]^_0x5d8735[_0x5d82cf>>>0x8&0xff]^_0x3a3106[_0x5abb30&0xff]^_0xbb4985[_0x207148++],_0x3d7c6e=_0x4ac8cd[_0x295874>>>0x18]^_0x4f733f[_0x5d82cf>>>0x10&0xff]^_0x5d8735[_0x5abb30>>>0x8&0xff]^_0x3a3106[_0x33eb9a&0xff]^_0xbb4985[_0x207148++];_0x5d82cf=_0x3fa9b3,_0x5abb30=_0x2eb310,_0x33eb9a=_0x3fbfdc,_0x295874=_0x3d7c6e;}var _0x3fa9b3=(_0x4da6cb[_0x5d82cf>>>0x18]<<0x18|_0x4da6cb[_0x5abb30>>>0x10&0xff]<<0x10|_0x4da6cb[_0x33eb9a>>>0x8&0xff]<<0x8|_0x4da6cb[_0x295874&0xff])^_0xbb4985[_0x207148++],_0x2eb310=(_0x4da6cb[_0x5abb30>>>0x18]<<0x18|_0x4da6cb[_0x33eb9a>>>0x10&0xff]<<0x10|_0x4da6cb[_0x295874>>>0x8&0xff]<<0x8|_0x4da6cb[_0x5d82cf&0xff])^_0xbb4985[_0x207148++],_0x3fbfdc=(_0x4da6cb[_0x33eb9a>>>0x18]<<0x18|_0x4da6cb[_0x295874>>>0x10&0xff]<<0x10|_0x4da6cb[_0x5d82cf>>>0x8&0xff]<<0x8|_0x4da6cb[_0x5abb30&0xff])^_0xbb4985[_0x207148++],_0x3d7c6e=(_0x4da6cb[_0x295874>>>0x18]<<0x18|_0x4da6cb[_0x5d82cf>>>0x10&0xff]<<0x10|_0x4da6cb[_0x5abb30>>>0x8&0xff]<<0x8|_0x4da6cb[_0x33eb9a&0xff])^_0xbb4985[_0x207148++];_0x292dd5[_0x5c98a5]=_0x3fa9b3,_0x292dd5[_0x5c98a5+0x1]=_0x2eb310,_0x292dd5[_0x5c98a5+0x2]=_0x3fbfdc,_0x292dd5[_0x5c98a5+0x3]=_0x3d7c6e;},'keySize':0x100/0x20});_0x75339e[_0x491bd(0x14e)]=_0x13914e[_0x491bd(0x245)](_0x4da486);}()),_0x28b887['AES'];}));}(Se)),Se[_0x53d3fb(0x308)];}var on=sn();const an=fe(on);var cn=Ut();const ot=fe(cn);var be={'exports':{}},hn=be['exports'],at;function ln(){var _0x53539c=_0x13aec8;return at||(at=0x1,function(_0x5223b1,_0x1c3ac9){(function(_0x575ca0,_0x99f560){var _0x40d08c=_0x4ec5;_0x5223b1[_0x40d08c(0x308)]=_0x99f560(ee());}(hn,function(_0x2d97df){var _0x2cac21=_0x4ec5;return _0x2d97df[_0x2cac21(0x15a)][_0x2cac21(0x458)];}));}(be)),be[_0x53539c(0x308)];}var _n=ln();const un=fe(_n);var Re={'exports':{}},dn=Re['exports'],ct;function vn(){return ct||(ct=0x1,function(_0x126764,_0x271dd4){(function(_0x588a2a,_0x463d62){var _0x10e329=_0x4ec5;_0x126764[_0x10e329(0x308)]=_0x463d62(ee());}(dn,function(_0x19ca54){var _0x212b02=_0x4ec5;return(function(){var _0xdeeb56=_0x4ec5;if(typeof ArrayBuffer==_0xdeeb56(0x1dd)){var _0x243794=_0x19ca54,_0x230a0e=_0x243794[_0xdeeb56(0x2f2)],_0x47e65a=_0x230a0e[_0xdeeb56(0x428)],_0x4af7b1=_0x47e65a[_0xdeeb56(0x436)],_0x5473e6=_0x47e65a['init']=function(_0x17514a){var _0x37435a=_0xdeeb56;if(_0x17514a instanceof ArrayBuffer&&(_0x17514a=new Uint8Array(_0x17514a)),(_0x17514a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x17514a instanceof Uint8ClampedArray||_0x17514a instanceof Int16Array||_0x17514a instanceof Uint16Array||_0x17514a instanceof Int32Array||_0x17514a instanceof Uint32Array||_0x17514a instanceof Float32Array||_0x17514a instanceof Float64Array)&&(_0x17514a=new Uint8Array(_0x17514a[_0x37435a(0x141)],_0x17514a['byteOffset'],_0x17514a['byteLength'])),_0x17514a instanceof Uint8Array){for(var _0x5d7b1c=_0x17514a['byteLength'],_0x40aca5=[],_0x186a12=0x0;_0x186a12<_0x5d7b1c;_0x186a12++)_0x40aca5[_0x186a12>>>0x2]|=_0x17514a[_0x186a12]<<0x18-_0x186a12%0x4*0x8;_0x4af7b1[_0x37435a(0x2b9)](this,_0x40aca5,_0x5d7b1c);}else _0x4af7b1[_0x37435a(0x234)](this,arguments);};_0x5473e6[_0xdeeb56(0x1c0)]=_0x47e65a;}}()),_0x19ca54[_0x212b02(0x2f2)][_0x212b02(0x428)];}));}(Re)),Re['exports'];}var fn=vn();const Sn=fe(fn);var Oe={'exports':{}},pn=Oe[_0x13aec8(0x308)],ht;function gn(){var _0x25531a=_0x13aec8;return ht||(ht=0x1,function(_0x310c72,_0x2b001f){(function(_0x218cda,_0x1afa99,_0x59b2da){var _0x39ebb0=_0x4ec5;_0x310c72[_0x39ebb0(0x308)]=_0x1afa99(ee(),wt());}(pn,function(_0x232cc2){var _0x58e79b=_0x4ec5;return _0x232cc2['pad'][_0x58e79b(0x479)]={'pad':function(){},'unpad':function(){}},_0x232cc2[_0x58e79b(0x22b)]['NoPadding'];}));}(Oe)),Oe[_0x25531a(0x308)];}var mn=gn();const In=fe(mn);function En(_0x556bfd,_0x7e7193){var _0x4335e5=_0x13aec8;const _0x2ec41f=_0x7e7193-_0x556bfd[_0x4335e5(0x254)]%_0x7e7193,_0x1b8c5c=String['fromCharCode'](_0x2ec41f)[_0x4335e5(0x2f6)](_0x2ec41f);return _0x556bfd+_0x1b8c5c;}function Cn(_0x34fcc0,_0x583434){var _0x5dac81=_0x13aec8;const _0x9b818f=Sn['random'](0x10),_0x3a9326=En(_0x34fcc0,0x10),_0x19ea82=an[_0x5dac81(0x2d2)](un[_0x5dac81(0x136)](_0x3a9326),ot[_0x5dac81(0x136)](_0x583434),{'iv':_0x9b818f,'padding':In});return _0x9b818f[_0x5dac81(0x312)](_0x19ea82[_0x5dac81(0x2cf)])['toString'](ot);}function Tn(){var _0x202175=_0x13aec8;const _0xbff7c2=jt[_0x202175(0x1d7)]()['__Key__'];if(_0xbff7c2){const _0x8b6424={'time':Math[_0x202175(0x2b6)](Date[_0x202175(0x22c)]()/0x3e8),'domain':location[_0x202175(0x2ac)]};return Cn(JSON[_0x202175(0x406)](_0x8b6424),_0xbff7c2);}}var bn=Object[_0x13aec8(0x169)],Rn=Object['getOwnPropertyDescriptor'],On=(_0x15e46d,_0x13e9c7,_0x5d548a,_0x341c0f)=>{var _0x1935e5=_0x13aec8;for(var _0x45e1d3=_0x341c0f>0x1?void 0x0:_0x341c0f?Rn(_0x13e9c7,_0x5d548a):_0x13e9c7,_0x26920e=_0x15e46d[_0x1935e5(0x254)]-0x1,_0x340b81;_0x26920e>=0x0;_0x26920e--)(_0x340b81=_0x15e46d[_0x26920e])&&(_0x45e1d3=(_0x341c0f?_0x340b81(_0x13e9c7,_0x5d548a,_0x45e1d3):_0x340b81(_0x45e1d3))||_0x45e1d3);return _0x341c0f&&_0x45e1d3&&bn(_0x13e9c7,_0x5d548a,_0x45e1d3),_0x45e1d3;},yn=(_0x53accf,_0x534104)=>(_0x579ae3,_0x1c1421)=>_0x534104(_0x579ae3,_0x1c1421,_0x53accf);let Pe=class{constructor(_0x28d7e9){var _0x593851=_0x13aec8;this[_0x593851(0x258)]=_0x28d7e9,this[_0x593851(0x213)]();}[_0x13aec8(0x213)](){var _0x419b71=_0x13aec8;this[_0x419b71(0x258)][_0x419b71(0x2ef)]({'interceptor':(_0x1e4238,_0x562f10)=>{var _0x1f06aa=_0x419b71;const _0x450235=_0x1e4238[_0x1f06aa(0x432)],_0xd99075=Tn();return _0xd99075&&_0x450235[_0x1f06aa(0x34c)](_0x1f06aa(0x3a6),_0xd99075),_0x562f10(_0x1e4238);}});}};function _0x4ec5(_0x16e095,_0x428996){var _0x591534=_0x5915();return _0x4ec5=function(_0x4ec570,_0x3fd368){_0x4ec570=_0x4ec570-0x135;var _0xbe8d80=_0x591534[_0x4ec570];return _0xbe8d80;},_0x4ec5(_0x16e095,_0x428996);}Pe=On([yn(0x0,a[_0x13aec8(0x2eb)](z['HTTPService']))],Pe);var Pn=Object['defineProperty'],Nn=Object[_0x13aec8(0x203)],Un=(_0xe1b51d,_0x42c7bb,_0x43d065,_0x409788)=>{var _0x535411=_0x13aec8;for(var _0xf6885d=_0x409788>0x1?void 0x0:_0x409788?Nn(_0x42c7bb,_0x43d065):_0x42c7bb,_0x379b02=_0xe1b51d[_0x535411(0x254)]-0x1,_0x86c58f;_0x379b02>=0x0;_0x379b02--)(_0x86c58f=_0xe1b51d[_0x379b02])&&(_0xf6885d=(_0x409788?_0x86c58f(_0x42c7bb,_0x43d065,_0xf6885d):_0x86c58f(_0xf6885d))||_0xf6885d);return _0x409788&&_0xf6885d&&Pn(_0x42c7bb,_0x43d065,_0xf6885d),_0xf6885d;},Me=(_0x50f49e,_0x551c77)=>(_0x5189a9,_0x2697ed)=>_0x551c77(_0x5189a9,_0x2697ed,_0x50f49e);exports['DataLoaderService']=class extends a['RxDisposable']{constructor(_0x90bf2,_0x2b080e,_0x3efd9c){var _0x108062=_0x13aec8;super(),D(this,_0x108062(0x45f),new H[(_0x108062(0x18b))](null)),D(this,'unitInfo$',this['_unitInfo$'][_0x108062(0x4a9)]()),(this[_0x108062(0x1b9)]=_0x90bf2,this[_0x108062(0x398)]=_0x2b080e,this[_0x108062(0x3aa)]=_0x3efd9c);}async[_0x13aec8(0x36e)](_0x34b7e2,_0xe6540b,_0x1a13ca){var _0x3f6f99=_0x13aec8;this[_0x3f6f99(0x45f)]['next']({'unitId':_0x34b7e2,'type':_0xe6540b,'subUnitId':_0x1a13ca});let _0x37b6d8=null;switch(_0xe6540b){case Z[_0x3f6f99(0x40c)]:{_0x37b6d8=await this['_loadSheet'](_0x34b7e2);break;}case Z['UNIVER_DOC']:{_0x37b6d8=await this['_loadDoc'](_0x34b7e2);break;}default:{this[_0x3f6f99(0x1b9)]['error'](_0x3f6f99(0x3e9),_0x3f6f99(0x230));break;}}return _0x37b6d8;}async['_loadSheet'](_0x538e78){var _0x7dfbf0=_0x13aec8,_0x30d09f;let _0x20af41=0x0;const _0x3d026f=await((_0x30d09f=this[_0x7dfbf0(0x3aa)])==null?void 0x0:_0x30d09f['loadOfflineData'](_0x538e78));return _0x3d026f&&(_0x3d026f['awaitingChangeset']||_0x3d026f[_0x7dfbf0(0x4ad)][_0x7dfbf0(0x254)]!==0x0)&&(_0x20af41=_0x3d026f['rev']),_0x20af41===0x0&&this[_0x7dfbf0(0x1b9)][_0x7dfbf0(0x420)](_0x7dfbf0(0x3e9),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x7dfbf0(0x398)][_0x7dfbf0(0x1b2)](_0x538e78,_0x20af41);}async[_0x13aec8(0x31f)](_0xd1e64f){var _0x1fc866=_0x13aec8,_0x3f0e87;let _0x85e643=0x0;const _0x1a45ef=await((_0x3f0e87=this[_0x1fc866(0x3aa)])==null?void 0x0:_0x3f0e87[_0x1fc866(0x334)](_0xd1e64f));return _0x1a45ef&&(_0x1a45ef['awaitingChangeset']||_0x1a45ef[_0x1fc866(0x4ad)][_0x1fc866(0x254)]!==0x0)&&(_0x85e643=_0x1a45ef[_0x1fc866(0x3c2)]),_0x85e643===0x0&&this['_logService'][_0x1fc866(0x420)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1fc866(0x398)]['loadDoc'](_0xd1e64f,_0x85e643);}},exports[_0x13aec8(0x26c)]=Un([Me(0x0,a[_0x13aec8(0x32e)]),Me(0x1,a[_0x13aec8(0x2eb)](m[_0x13aec8(0x455)])),Me(0x2,a['Optional'](J))],exports['DataLoaderService']);var Dn=Object['defineProperty'],wn=Object[_0x13aec8(0x203)],An=(_0x1f9023,_0x5288ab,_0x2a0f41,_0x1fec81)=>{var _0xd48fd9=_0x13aec8;for(var _0x1db345=_0x1fec81>0x1?void 0x0:_0x1fec81?wn(_0x5288ab,_0x2a0f41):_0x5288ab,_0x33d18a=_0x1f9023[_0xd48fd9(0x254)]-0x1,_0x4dde44;_0x33d18a>=0x0;_0x33d18a--)(_0x4dde44=_0x1f9023[_0x33d18a])&&(_0x1db345=(_0x1fec81?_0x4dde44(_0x5288ab,_0x2a0f41,_0x1db345):_0x4dde44(_0x1db345))||_0x1db345);return _0x1fec81&&_0x1db345&&Dn(_0x5288ab,_0x2a0f41,_0x1db345),_0x1db345;},xe=(_0x265524,_0x562b40)=>(_0x5dd9dc,_0x1ac2ee)=>_0x562b40(_0x5dd9dc,_0x1ac2ee,_0x265524);const Ln=['image/png',_0x13aec8(0x14f),_0x13aec8(0x20e),'image/gif','image/bmp'],Mn=0x5*0x400*0x400,xn=_0x13aec8(0x2f0),jn=_0x13aec8(0x36c),$n='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Hn=_0x13aec8(0x1be);exports['CollaborationImageIoService']=class{constructor(_0x242c41,_0x210a53,_0xa6780e){var _0x4427c0=_0x13aec8;D(this,_0x4427c0(0x49e),0x0),D(this,_0x4427c0(0x2f8),new H[(_0x4427c0(0x3da))]()),D(this,_0x4427c0(0x4a2),this[_0x4427c0(0x2f8)]),D(this,_0x4427c0(0x3ed),new Map()),(this[_0x4427c0(0x258)]=_0x242c41,this[_0x4427c0(0x2a3)]=_0x210a53,this['_univerInstanceService']=_0xa6780e);}['setWaitCount'](_0x4d8393){var _0x32521f=_0x13aec8;this[_0x32521f(0x49e)]=_0x4d8393,this[_0x32521f(0x2f8)][_0x32521f(0x1c8)](_0x4d8393);}['getImageSourceCache'](_0x4810e2,_0x42a92e){var _0x49d163=_0x13aec8;if(_0x42a92e===X[_0x49d163(0x439)][_0x49d163(0x2cd)]){const _0xb48912=new Image();return _0xb48912[_0x49d163(0x411)]=_0x4810e2,_0xb48912;}return this[_0x49d163(0x3ed)][_0x49d163(0x14d)](_0x4810e2);}[_0x13aec8(0x20f)](_0x4dae67,_0x20c868,_0x49c0d0){var _0x20cd11=_0x13aec8;_0x20c868===X[_0x20cd11(0x439)]['BASE64']||_0x49c0d0==null||this[_0x20cd11(0x3ed)][_0x20cd11(0x34c)](_0x4dae67,_0x49c0d0);}async[_0x13aec8(0x269)](_0x2f259d){var _0x17d253=_0x13aec8;try{const _0xe73bfa=this[_0x17d253(0x20d)](this[_0x17d253(0x43b)](),''+_0x2f259d),_0x5f5c3f=(await this[_0x17d253(0x258)][_0x17d253(0x14d)](_0xe73bfa))[_0x17d253(0x2d6)];if(_0x5f5c3f['error']&&_0x5f5c3f[_0x17d253(0x427)][_0x17d253(0x1a3)]===Ct['OK']){const _0x3042a5=new URL(_0x5f5c3f['url'],this[_0x17d253(0x190)]())[_0x17d253(0x4b7)]();return Promise[_0x17d253(0x391)](_0x3042a5);}return Promise[_0x17d253(0x328)](_0x5f5c3f[_0x17d253(0x427)]);}catch(_0x1b31e7){return Promise['reject'](_0x1b31e7);}}async[_0x13aec8(0x283)](_0x46f7ca){var _0x59720c=_0x13aec8;let _0x3b4e7c='';if(!Ln[_0x59720c(0x454)](_0x46f7ca[_0x59720c(0x4b8)]))return this[_0x59720c(0x37b)](),Promise['reject'](new Error(X['ImageUploadStatusType'][_0x59720c(0x48c)]));if(_0x46f7ca['size']>Mn)return this[_0x59720c(0x37b)](),Promise['reject'](new Error(X[_0x59720c(0x24f)][_0x59720c(0x207)]));try{const _0x21f930=new FormData();_0x21f930[_0x59720c(0x1b7)](_0x59720c(0x38f),_0x46f7ca);const _0x56aae6=this['_univerInstanceService'][_0x59720c(0x284)](),_0x163201=_0x56aae6==null?void 0x0:_0x56aae6['getUnitId']();if(!_0x163201)throw new Error(_0x59720c(0x35e));const _0x2dca7e=this[_0x59720c(0x222)]()+_0x59720c(0x443)+_0x46f7ca['size']['toString']()+_0x59720c(0x31e)+Tt[_0x59720c(0x200)]+'&assign='+encodeURIComponent(_0x163201),_0x19be33=await(await fetch(_0x2dca7e,{'method':_0x59720c(0x460),'body':_0x21f930}))[_0x59720c(0x162)]();if(typeof _0x19be33['FileId']!='string')return this[_0x59720c(0x37b)](),Promise[_0x59720c(0x328)](new Error(X[_0x59720c(0x24f)][_0x59720c(0x381)]));_0x3b4e7c=_0x19be33[_0x59720c(0x1ac)];}catch{return this[_0x59720c(0x37b)](),Promise[_0x59720c(0x328)](new Error(X['ImageUploadStatusType'][_0x59720c(0x381)]));}return new Promise((_0x234665,_0x257e0b)=>{var _0x2093ce=_0x59720c;const _0x387341=new FileReader();_0x387341[_0x2093ce(0x29d)](_0x46f7ca),_0x387341[_0x2093ce(0x20a)]=_0x18de29=>{var _0x129981=_0x2093ce,_0x3ed05e;const _0x57baa9=(_0x3ed05e=_0x18de29[_0x129981(0x21c)])==null?void 0x0:_0x3ed05e[_0x129981(0x191)];if(_0x57baa9==null){this[_0x129981(0x37b)](),_0x257e0b(new Error(X[_0x129981(0x24f)][_0x129981(0x381)]));return;}const _0x2b330a=a[_0x129981(0x321)][_0x129981(0x371)](0x6);_0x234665({'imageId':_0x2b330a,'imageSourceType':X['ImageSourceType'][_0x129981(0x467)],'source':_0x3b4e7c,'base64Cache':_0x57baa9,'status':X[_0x129981(0x24f)][_0x129981(0x48f)]}),this[_0x129981(0x37b)]();};});}[_0x13aec8(0x222)](){var _0x17fa63=_0x13aec8,_0x3c6f5f,_0x5213cc;const _0x39c4da=this[_0x17fa63(0x2a3)][_0x17fa63(0x201)](xn),_0x14d726=this[_0x17fa63(0x2a3)]['getConfig'](q);return(_0x5213cc=(_0x3c6f5f=_0x14d726==null?void 0x0:_0x14d726[_0x17fa63(0x3ae)])!=null?_0x3c6f5f:_0x39c4da)!=null?_0x5213cc:jn;}[_0x13aec8(0x43b)](){var _0x199c8c=_0x13aec8,_0x3b9851,_0x2fdb7a;const _0x38fb1b=this[_0x199c8c(0x2a3)][_0x199c8c(0x201)]($n),_0x7e049b=this[_0x199c8c(0x2a3)][_0x199c8c(0x201)](q);return(_0x2fdb7a=(_0x3b9851=_0x7e049b==null?void 0x0:_0x7e049b[_0x199c8c(0x3cb)])!=null?_0x3b9851:_0x38fb1b)!=null?_0x2fdb7a:Hn;}[_0x13aec8(0x190)](){var _0x5d5c57=_0x13aec8,_0x4e2739;const _0x5f8828=this[_0x5d5c57(0x2a3)][_0x5d5c57(0x201)](q);return(_0x4e2739=_0x5f8828==null?void 0x0:_0x5f8828[_0x5d5c57(0x16c)])!=null?_0x4e2739:location[_0x5d5c57(0x2c9)];}['_replaceFileID'](_0x237565,_0xc00057){var _0x35bfac=_0x13aec8;return _0x237565['replace'](_0x35bfac(0x214),_0xc00057);}['_decreaseWaiting'](){var _0x53e6f5=_0x13aec8;this[_0x53e6f5(0x49e)]-=0x1,this['_change$'][_0x53e6f5(0x1c8)](this['_waitCount']);}},exports[_0x13aec8(0x425)]=An([xe(0x0,a[_0x13aec8(0x2eb)](z[_0x13aec8(0x1ad)])),xe(0x1,a[_0x13aec8(0x4af)]),xe(0x2,a['Inject'](a[_0x13aec8(0x38b)]))],exports[_0x13aec8(0x425)]);var kn=Object['defineProperty'],Bn=Object[_0x13aec8(0x203)],Fn=(_0xe1e4df,_0x5c5335,_0x3a2f1c,_0xe7e4fc)=>{var _0x2ac489=_0x13aec8;for(var _0x1e6112=_0xe7e4fc>0x1?void 0x0:_0xe7e4fc?Bn(_0x5c5335,_0x3a2f1c):_0x5c5335,_0x1fc786=_0xe1e4df[_0x2ac489(0x254)]-0x1,_0x38f886;_0x1fc786>=0x0;_0x1fc786--)(_0x38f886=_0xe1e4df[_0x1fc786])&&(_0x1e6112=(_0xe7e4fc?_0x38f886(_0x5c5335,_0x3a2f1c,_0x1e6112):_0x38f886(_0x1e6112))||_0x1e6112);return _0xe7e4fc&&_0x1e6112&&kn(_0x5c5335,_0x3a2f1c,_0x1e6112),_0x1e6112;},lt=(_0x453ee4,_0x1a94f2)=>(_0x23131b,_0x50ef1a)=>_0x1a94f2(_0x23131b,_0x50ef1a,_0x453ee4);const Wn='/universer-api/authz';exports['MentionIoHttpService']=class{constructor(_0x796b01,_0x513232){var _0x1b0eea=_0x13aec8;this[_0x1b0eea(0x2a3)]=_0x796b01,this[_0x1b0eea(0x1ee)]=_0x513232;}[_0x13aec8(0x1af)](){var _0x1c50b0=_0x13aec8,_0x2f2634,_0x279b36;const _0x3c805d=this['_configService']['getConfig'](Ge),_0x319f44=this[_0x1c50b0(0x2a3)]['getConfig'](q);return(_0x279b36=(_0x2f2634=_0x319f44==null?void 0x0:_0x319f44[_0x1c50b0(0x140)])!=null?_0x2f2634:_0x3c805d)!=null?_0x279b36:Wn;}async[_0x13aec8(0x31a)](_0x3671b7){var _0x28a574=_0x13aec8;const _0x17da11=this[_0x28a574(0x1af)]()+_0x28a574(0x13a);return{'list':[{'title':_0x28a574(0x364),'mentions':(await this['_HTTPService'][_0x28a574(0x14d)](_0x17da11,{'params':{'objectID':_0x3671b7[_0x28a574(0x2c1)],'unitID':_0x3671b7[_0x28a574(0x2c1)]}}))['body']['collaborators'][_0x28a574(0x29a)](_0x1677df=>({'objectId':_0x1677df['id'],'name':_0x1677df[_0x28a574(0x3e3)][_0x28a574(0x41b)],'metadata':{'icon':_0x1677df[_0x28a574(0x3e3)]['avatar']},'label':_0x1677df[_0x28a574(0x3e3)][_0x28a574(0x41b)],'objectType':a['MentionType'][_0x28a574(0x3bc)]})),'metadata':{},'type':a[_0x28a574(0x18c)][_0x28a574(0x3bc)]}]};}},exports[_0x13aec8(0x470)]=Fn([lt(0x0,a[_0x13aec8(0x2eb)](a[_0x13aec8(0x4af)])),lt(0x1,a[_0x13aec8(0x2eb)](z['HTTPService']))],exports[_0x13aec8(0x470)]);var Vn=Object[_0x13aec8(0x169)],Gn=Object[_0x13aec8(0x203)],Kn=(_0x24478c,_0x198ec2,_0x3356e5,_0x435ef9)=>{var _0x599792=_0x13aec8;for(var _0x370afc=_0x435ef9>0x1?void 0x0:_0x435ef9?Gn(_0x198ec2,_0x3356e5):_0x198ec2,_0x47a990=_0x24478c[_0x599792(0x254)]-0x1,_0x3a0bb3;_0x47a990>=0x0;_0x47a990--)(_0x3a0bb3=_0x24478c[_0x47a990])&&(_0x370afc=(_0x435ef9?_0x3a0bb3(_0x198ec2,_0x3356e5,_0x370afc):_0x3a0bb3(_0x370afc))||_0x370afc);return _0x435ef9&&_0x370afc&&Vn(_0x198ec2,_0x3356e5,_0x370afc),_0x370afc;},ce=(_0x5e9418,_0x2a7d4d)=>(_0x34edbc,_0x323797)=>_0x2a7d4d(_0x34edbc,_0x323797,_0x5e9418);let Ne=class extends a[_0x13aec8(0x22d)]{constructor(_0x147a1b,_0x5c4141,_0x13097f,_0x7eb5e6,_0xb88268,_0x1eca7e,_0x59318b){var _0x8285c0=_0x13aec8;super(),this[_0x8285c0(0x423)]=_0x147a1b,this[_0x8285c0(0x14b)]=_0x5c4141,this[_0x8285c0(0x31d)]=_0x13097f,this[_0x8285c0(0x177)]=_0x7eb5e6,this['_collaborationUIEventService']=_0xb88268,this[_0x8285c0(0x188)]=_0x1eca7e,this[_0x8285c0(0x24a)]=_0x59318b,this[_0x8285c0(0x2cb)](),this[_0x8285c0(0x38d)]();}[_0x13aec8(0x38d)](){var _0x1fd17b=_0x13aec8;const _0x36ba68=async _0x1c5be4=>{var _0x207f55=_0x4ec5;(await this[_0x207f55(0x177)][_0x207f55(0x28d)](_0x1c5be4))[_0x207f55(0x16e)][_0x207f55(0x40b)](V['filter'](_0x2ebfba=>_0x2ebfba[_0x207f55(0x486)]===m[_0x207f55(0x20b)]['SHOULD_CLOSE_CONN']),V[_0x207f55(0x1a4)](this['dispose$']))['subscribe'](_0x496442=>{var _0x32ee52=_0x207f55;const _0x3182db=_0x496442,{reason:_0x48e1a7}=_0x3182db[_0x32ee52(0x418)];this['_collaborationUIEventService'][_0x32ee52(0x4b1)]({'id':Q['CLOSE_ROOM'],'data':_0x48e1a7}),this[_0x32ee52(0x31d)][_0x32ee52(0x3c8)](new W[(_0x32ee52(0x325))](_0x1c5be4)['id'],!0x1),this[_0x32ee52(0x177)]['closeSession'](_0x1c5be4);});};H[_0x1fd17b(0x37d)](this[_0x1fd17b(0x14b)][_0x1fd17b(0x3fa)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x1fd17b(0x14b)][_0x1fd17b(0x3fa)](a[_0x1fd17b(0x2c2)]['UNIVER_DOC']))['pipe'](V[_0x1fd17b(0x29a)](_0x410ce2=>_0x410ce2[_0x1fd17b(0x3ac)]()),V[_0x1fd17b(0x347)](_0x5965e1=>!a['isInternalEditorID'](_0x5965e1)),V['takeUntil'](this[_0x1fd17b(0x3c6)]))[_0x1fd17b(0x1e1)](_0x14468f=>{_0x36ba68(_0x14468f);});}[_0x13aec8(0x2cb)](){var _0x1a7578=_0x13aec8;const _0x4c7078=async _0x5eb8c2=>{var _0x843f3f=_0x4ec5;(await this['_collaborationSessionService'][_0x843f3f(0x28d)](_0x5eb8c2))[_0x843f3f(0x16e)]['pipe'](V['filter'](_0x30f8d9=>_0x30f8d9[_0x843f3f(0x486)]===m[_0x843f3f(0x20b)][_0x843f3f(0x16a)]),V[_0x843f3f(0x1a4)](this[_0x843f3f(0x3c6)]))[_0x843f3f(0x1e1)](_0x4ba9cf=>{var _0x496bee=_0x843f3f;const _0x5ba114=_0x4ba9cf,{objectId:_0x15ee43}=_0x5ba114[_0x496bee(0x418)];_0x15ee43===_0x5eb8c2?this[_0x496bee(0x168)](_0x5eb8c2):this['refreshPermission'](_0x5eb8c2,_0x15ee43);});};H[_0x1a7578(0x37d)](this['_univerInstanceService'][_0x1a7578(0x3fa)](a['UniverInstanceType'][_0x1a7578(0x40c)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x1a7578(0x2c2)][_0x1a7578(0x471)]))['pipe'](V[_0x1a7578(0x29a)](_0x96ae0f=>_0x96ae0f[_0x1a7578(0x3ac)]()),V[_0x1a7578(0x347)](_0x257f0f=>!a[_0x1a7578(0x1f8)](_0x257f0f)),V['takeUntil'](this['dispose$']))[_0x1a7578(0x1e1)](_0xa12789=>{_0x4c7078(_0xa12789);});}async[_0x13aec8(0x168)](_0x456be9){var _0x4c2307=_0x13aec8,_0x8cefe6;const _0x398c69=_0x456be9||((_0x8cefe6=this['_univerInstanceService'][_0x4c2307(0x483)](a['UniverInstanceType']['UNIVER_SHEET']))==null?void 0x0:_0x8cefe6[_0x4c2307(0x3ac)]());_0x398c69&&this[_0x4c2307(0x188)][_0x4c2307(0x4aa)]({'objectID':_0x398c69,'objectType':W['UnitObject'][_0x4c2307(0x421)],'unitID':_0x398c69,'actions':W[_0x4c2307(0x1d2)]})[_0x4c2307(0x1d0)](_0x15dc3e=>{var _0x4c0106=_0x4c2307;W[_0x4c0106(0x1fa)]()['forEach'](_0x549e60=>{var _0x856c0=_0x4c0106;const _0x179b9c=new _0x549e60(_0x398c69),_0x3cc889=_0x179b9c[_0x856c0(0x17b)],_0x35b8d7=_0x15dc3e[_0x856c0(0x27b)](_0xd1f107=>_0xd1f107[_0x856c0(0x1cc)]===_0x3cc889);_0x35b8d7&&this[_0x856c0(0x31d)]['updatePermissionPoint'](_0x179b9c['id'],_0x35b8d7[_0x856c0(0x4aa)]);});});}[_0x13aec8(0x16f)](_0x14f555,_0x440f82){var _0x38aa16=_0x13aec8;const _0x3a9a2b=this[_0x38aa16(0x423)]['get'](W['WorksheetProtectionRuleModel']),_0x4f1302=_0x3a9a2b[_0x38aa16(0x341)](_0x14f555,_0x440f82);let _0x1b6351=!0x1;if(_0x4f1302){const [_0x471207,_0x32a709]=_0x4f1302;this[_0x38aa16(0x188)][_0x38aa16(0x4aa)]({'objectID':_0x440f82,'unitID':_0x14f555,'objectType':W[_0x38aa16(0x262)][_0x38aa16(0x266)],'actions':W[_0x38aa16(0x315)]})[_0x38aa16(0x1d0)](_0x30ec2a=>{var _0xf99888=_0x38aa16;let _0x1fb912='';W[_0xf99888(0x438)]()[_0xf99888(0x3a2)](_0x4a5d4d=>{var _0x30d140=_0xf99888,_0x3d2355;const _0xaee98d=new _0x4a5d4d(_0x14f555,_0x32a709),_0x5abe7e=_0xaee98d['subType'],_0x4ebbb2=_0x30ec2a[_0x30d140(0x27b)](_0x14320e=>_0x14320e[_0x30d140(0x1cc)]===_0x5abe7e);_0x4ebbb2&&(((_0x3d2355=this['_permissionService'][_0x30d140(0x39d)](_0xaee98d['id']))==null?void 0x0:_0x3d2355['value'])!==_0x4ebbb2[_0x30d140(0x4aa)]&&(_0x1b6351=!0x0),this[_0x30d140(0x31d)][_0x30d140(0x3c8)](_0xaee98d['id'],_0x4ebbb2[_0x30d140(0x4aa)]),_0x1fb912+=_0x4ebbb2[_0x30d140(0x1cc)]+'_'+_0x4ebbb2[_0x30d140(0x4aa)]);}),_0x3a9a2b[_0xf99888(0x30f)](_0x440f82+'_'+_0x1fb912),_0x1b6351&&this[_0xf99888(0x24a)][_0xf99888(0x2c4)](_0x14f555);});}const _0x2a5075=this[_0x38aa16(0x423)][_0x38aa16(0x14d)](W[_0x38aa16(0x41f)])['getTargetByPermissionId'](_0x14f555,_0x440f82);if(_0x2a5075){const [_0x558bec,_0x40fe28]=_0x2a5075;this['_authzIoService']['allowed']({'objectID':_0x440f82,'unitID':_0x14f555,'objectType':W['UnitObject'][_0x38aa16(0x266)],'actions':W[_0x38aa16(0x4a1)]})['then'](_0x363c85=>{var _0x25314c=_0x38aa16;W[_0x25314c(0x1ec)]()[_0x25314c(0x3a2)](_0x294e6b=>{var _0x266b4f=_0x25314c,_0x222f47;const _0x227caa=new _0x294e6b(_0x14f555,_0x40fe28),_0x48e9ee=_0x227caa['subType'],_0x4a5bae=_0x363c85[_0x266b4f(0x27b)](_0x1f0624=>_0x1f0624[_0x266b4f(0x1cc)]===_0x48e9ee);_0x4a5bae&&(((_0x222f47=this['_permissionService'][_0x266b4f(0x39d)](_0x227caa['id']))==null?void 0x0:_0x222f47[_0x266b4f(0x3dc)])!==_0x4a5bae[_0x266b4f(0x4aa)]&&(_0x1b6351=!0x0),this['_permissionService'][_0x266b4f(0x3c8)](_0x227caa['id'],_0x4a5bae[_0x266b4f(0x4aa)]));}),_0x1b6351&&this[_0x25314c(0x24a)]['clearUndoRedo'](_0x14f555);});}const _0x2c7a6f=this[_0x38aa16(0x423)][_0x38aa16(0x14d)](W[_0x38aa16(0x138)]),_0x28ae6a=_0x2c7a6f[_0x38aa16(0x341)](_0x14f555,_0x440f82);if(_0x28ae6a){const [_0x7e1e6d,_0x28235f]=_0x28ae6a;this['_authzIoService']['allowed']({'objectID':_0x440f82,'unitID':_0x14f555,'objectType':W[_0x38aa16(0x262)][_0x38aa16(0x2c8)],'actions':W[_0x38aa16(0x315)]})[_0x38aa16(0x1d0)](_0x4971d3=>{var _0x540c92=_0x38aa16;let _0x44b935='';W[_0x540c92(0x2e9)]()[_0x540c92(0x3a2)](_0x4061e2=>{var _0x4e7dce=_0x540c92,_0x52fbb4;const _0xebc716=new _0x4061e2(_0x14f555,_0x28235f,_0x440f82),_0x10f49c=_0xebc716[_0x4e7dce(0x17b)],_0x281401=_0x4971d3['find'](_0x51a032=>_0x51a032[_0x4e7dce(0x1cc)]===_0x10f49c);_0x281401&&(((_0x52fbb4=this[_0x4e7dce(0x31d)][_0x4e7dce(0x39d)](_0xebc716['id']))==null?void 0x0:_0x52fbb4[_0x4e7dce(0x3dc)])!==_0x281401[_0x4e7dce(0x4aa)]&&(_0x1b6351=!0x0),this[_0x4e7dce(0x31d)][_0x4e7dce(0x3c8)](_0xebc716['id'],_0x281401[_0x4e7dce(0x4aa)]),_0x44b935+=_0x281401['action']+'_'+_0x281401[_0x4e7dce(0x4aa)]);}),_0x2c7a6f[_0x540c92(0x30f)](_0x440f82+'_'+_0x44b935),_0x1b6351&&this[_0x540c92(0x24a)]['clearUndoRedo'](_0x14f555);});}}};Ne=Kn([ce(0x0,a[_0x13aec8(0x2eb)](a['Injector'])),ce(0x1,a[_0x13aec8(0x38b)]),ce(0x2,a[_0x13aec8(0x26e)]),ce(0x3,a[_0x13aec8(0x2eb)](exports['CollaborationSessionService'])),ce(0x4,a[_0x13aec8(0x2eb)](te)),ce(0x5,a['IAuthzIoService']),ce(0x6,a['IUndoRedoService'])],Ne);var Yn=Object[_0x13aec8(0x169)],qn=Object[_0x13aec8(0x203)],zn=(_0x532e59,_0x3f9a1b,_0x10e67f,_0x57d576)=>{var _0x338576=_0x13aec8;for(var _0x48a13=_0x57d576>0x1?void 0x0:_0x57d576?qn(_0x3f9a1b,_0x10e67f):_0x3f9a1b,_0xd6ddd7=_0x532e59[_0x338576(0x254)]-0x1,_0x17913e;_0xd6ddd7>=0x0;_0xd6ddd7--)(_0x17913e=_0x532e59[_0xd6ddd7])&&(_0x48a13=(_0x57d576?_0x17913e(_0x3f9a1b,_0x10e67f,_0x48a13):_0x17913e(_0x48a13))||_0x48a13);return _0x57d576&&_0x48a13&&Yn(_0x3f9a1b,_0x10e67f,_0x48a13),_0x48a13;},_t=(_0x4812fa,_0x26e26a)=>(_0x240ca7,_0x36d3fe)=>_0x26e26a(_0x240ca7,_0x36d3fe,_0x4812fa);exports[_0x13aec8(0x47b)]=class{constructor(_0x1fefab,_0x5a84ea){var _0x39d61e=_0x13aec8;this['_configService']=_0x1fefab,this[_0x39d61e(0x258)]=_0x5a84ea;}async['getUnitOnRev'](_0x34e250,_0x2a6b34){var _0x3ea769=_0x13aec8,_0x4c1ace;const {unitID:_0x3df4b4,type:_0xe0ad24,revision:_0x12162e=0x0}=_0x2a6b34,_0x4688d1=this[_0x3ea769(0x42f)]()+'/'+_0xe0ad24+'/unit/'+_0x3df4b4+_0x3ea769(0x292)+_0x12162e,_0x384266=(await this[_0x3ea769(0x258)]['get'](_0x4688d1))[_0x3ea769(0x2d6)],_0x3f9307=(_0x4c1ace=_0x384266[_0x3ea769(0x400)])==null?void 0x0:_0x4c1ace[_0x3ea769(0x351)];if(_0x3f9307){const _0xfcd373=_0x3f9307==null?void 0x0:_0x3f9307[_0x3ea769(0x2ca)],_0x15be29=m[_0x3ea769(0x475)][_0x3ea769(0x3f8)](m[_0x3ea769(0x416)](_0xfcd373));_0x3f9307[_0x3ea769(0x2ca)]=_0x15be29,Object[_0x3ea769(0x44a)](_0x3f9307[_0x3ea769(0x317)])[_0x3ea769(0x3a2)](([,_0x238094])=>{var _0x478be1=_0x3ea769;const _0x5dddc4=_0x238094[_0x478be1(0x2ca)],_0x5a9b5d=m[_0x478be1(0x475)][_0x478be1(0x3f8)](m[_0x478be1(0x416)](_0x5dddc4));_0x238094[_0x478be1(0x2ca)]=_0x5a9b5d;});}return _0x384266;}async[_0x13aec8(0x211)](_0xbc753,_0x364f6b){var _0x14088e=_0x13aec8;const {unitID:_0x5c63b1,type:_0x3470f6,blockID:_0x4b7bc3}=_0x364f6b,_0x2a573b=this[_0x14088e(0x3ea)]()+'/'+_0x3470f6+'/unit/'+_0x5c63b1+_0x14088e(0x272)+_0x4b7bc3;return(await this[_0x14088e(0x258)]['get'](_0x2a573b))[_0x14088e(0x2d6)];}async[_0x13aec8(0x137)](_0x16dbbc,_0x5efe55){var _0x2ac212=_0x13aec8;const {unitID:_0x434759,type:_0x260c75,blockID:_0x4ddaeb}=_0x5efe55,_0x4e5f48=this['_getAPIPrefix']()+_0x2ac212(0x272)+_0x260c75+_0x2ac212(0x17c)+_0x434759+_0x2ac212(0x272)+_0x4ddaeb;return(await this['_httpService'][_0x2ac212(0x14d)](_0x4e5f48))['body'];}async[_0x13aec8(0x19d)](_0x35da93,_0x3ab544){var _0x1b6106=_0x13aec8;const {unitID:_0x565f28,type:_0x3bda41,from:_0x14d3d8,to:_0x579058}=_0x3ab544,_0x4bcb48=this[_0x1b6106(0x3ea)]()+'/'+_0x3bda41+_0x1b6106(0x17c)+_0x565f28+_0x1b6106(0x3c1)+_0x14d3d8+_0x1b6106(0x2fc)+_0x579058;return(await this[_0x1b6106(0x258)][_0x1b6106(0x14d)](_0x4bcb48))[_0x1b6106(0x2d6)];}[_0x13aec8(0x42f)](){var _0x3ba41d=_0x13aec8,_0x347e65;return(_0x347e65=this[_0x3ba41d(0x2a3)]['getConfig'](vt))!=null?_0x347e65:this[_0x3ba41d(0x3ea)]();}[_0x13aec8(0x3ea)](){var _0x2cd089=_0x13aec8,_0x4161dd,_0x56bc5a;const _0x3f5366=this[_0x2cd089(0x2a3)][_0x2cd089(0x201)](dt),_0x5a8054=this['_configService'][_0x2cd089(0x201)](q);return(_0x56bc5a=(_0x4161dd=_0x5a8054==null?void 0x0:_0x5a8054[_0x2cd089(0x3fe)])!=null?_0x4161dd:_0x3f5366)!=null?_0x56bc5a:$t;}async['getResourcesRequest'](_0x5301bf,_0x131c34){var _0x5605b8=_0x13aec8;const _0x39e0c1=_0x5605b8(0x333)+_0x131c34[_0x5605b8(0x4b8)]+'/unit/'+_0x131c34['unitID']+_0x5605b8(0x23c);return(await this[_0x5605b8(0x258)][_0x5605b8(0x14d)](_0x39e0c1,{'params':{'resourceId':JSON['stringify'](_0x131c34[_0x5605b8(0x399)])}}))[_0x5605b8(0x2d6)];}[_0x13aec8(0x3a9)](){var _0x208a93=_0x13aec8;throw new Error(_0x208a93(0x16b));}['saveSheetBlock'](){var _0x5acce2=_0x13aec8;throw new Error(_0x5acce2(0x16b));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x13aec8(0x3c7)](){var _0x1c6d13=_0x13aec8;throw new Error(_0x1c6d13(0x16b));}['getLatestCsReqIdBySid'](){var _0x3037b1=_0x13aec8;throw new Error(_0x3037b1(0x16b));}},exports[_0x13aec8(0x47b)]=zn([_t(0x0,a['IConfigService']),_t(0x1,a[_0x13aec8(0x2eb)](z[_0x13aec8(0x1ad)]))],exports['SnapshotServerOverHTTPService']);var Jn=Object['defineProperty'],Xn=Object[_0x13aec8(0x203)],Zn=(_0x6a71ea,_0x5cada1,_0x422e39,_0x3ba454)=>{var _0x50e8e3=_0x13aec8;for(var _0x25a781=_0x3ba454>0x1?void 0x0:_0x3ba454?Xn(_0x5cada1,_0x422e39):_0x5cada1,_0x264207=_0x6a71ea[_0x50e8e3(0x254)]-0x1,_0x529672;_0x264207>=0x0;_0x264207--)(_0x529672=_0x6a71ea[_0x264207])&&(_0x25a781=(_0x3ba454?_0x529672(_0x5cada1,_0x422e39,_0x25a781):_0x529672(_0x25a781))||_0x25a781);return _0x3ba454&&_0x25a781&&Jn(_0x5cada1,_0x422e39,_0x25a781),_0x25a781;},de=(_0x3d9937,_0x5b4bfa)=>(_0x117180,_0x7c747c)=>_0x5b4bfa(_0x117180,_0x7c747c,_0x3d9937);exports[_0x13aec8(0x197)]=class extends a[_0x13aec8(0x41d)]{constructor(_0x244a53,_0x303e19,_0x43414b,_0x174ded,_0x4a7a93){var _0x2ea847=_0x13aec8;super(_0x244a53,_0x303e19,_0x43414b),this[_0x2ea847(0x480)]=_0x174ded,this[_0x2ea847(0x1b9)]=_0x4a7a93;}[_0x13aec8(0x2dd)](_0xd00a16,_0x36fc60){var _0x597d1a=_0x13aec8;const _0x4c0b85=this[_0x597d1a(0x3b6)](_0xd00a16);if(_0x4c0b85)try{const _0x73b82b=this[_0x597d1a(0x2b2)](_0x4c0b85,_0x36fc60);this[_0x597d1a(0x370)](_0xd00a16,_0x73b82b);}catch(_0x279315){this['_logService'][_0x597d1a(0x427)](_0x597d1a(0x3de),_0x279315),this[_0x597d1a(0x2ce)](_0xd00a16);}const _0x4da557=this[_0x597d1a(0x2ea)](_0xd00a16);if(_0x4da557)try{const _0x3fba82=this[_0x597d1a(0x2b2)](_0x4da557,_0x36fc60);this[_0x597d1a(0x4b6)](_0xd00a16,_0x3fba82);}catch(_0x4dab7e){this[_0x597d1a(0x1b9)][_0x597d1a(0x427)](_0x4dab7e),this['_clearRedo'](_0xd00a16);}}['_clearUndo'](_0x4f0be3){var _0x47f6f6=_0x13aec8;const _0x11e98c=this[_0x47f6f6(0x3b6)](_0x4f0be3);_0x11e98c&&(_0x11e98c[_0x47f6f6(0x254)]=0x0,this['_updateStatus']());}[_0x13aec8(0x4b4)](_0x3b3666){var _0x1778d6=_0x13aec8;const _0x375782=this[_0x1778d6(0x2ea)](_0x3b3666);_0x375782&&(_0x375782[_0x1778d6(0x254)]=0x0,this[_0x1778d6(0x378)]());}['_substituteUndoStack'](_0x16ca5d,_0x5a3292){var _0x2e8a36=_0x13aec8;this[_0x2e8a36(0x36f)][_0x2e8a36(0x34c)](_0x16ca5d,_0x5a3292),this['_updateStatus']();}[_0x13aec8(0x4b6)](_0x2bbdbf,_0x594307){var _0x578ca4=_0x13aec8;this[_0x578ca4(0x229)]['set'](_0x2bbdbf,_0x594307),this['_updateStatus']();}[_0x13aec8(0x2b2)](_0x2640f4,_0x5b2a4d){var _0x37ec01=_0x13aec8;const _0x5dc14c=[];let _0x3c8818=_0x5b2a4d,_0x53e6d2=_0x5b2a4d;for(let _0x59504a=_0x2640f4[_0x37ec01(0x254)]-0x1;_0x59504a>=0x0;_0x59504a--){const {unitID:_0x1b5426,undoMutations:_0x87038e,redoMutations:_0x1a5306}=_0x2640f4[_0x59504a],_0x1a3d68=this[_0x37ec01(0x480)]['transformMutationsWithChangeset'](_0x3c8818,_0x87038e),_0x1c68a9=this[_0x37ec01(0x480)][_0x37ec01(0x3ee)](_0x53e6d2,_0x1a5306);if(m['isTransformMutationsWithChangesetFailure'](_0x1a3d68)||m['isTransformMutationsWithChangesetFailure'](_0x1c68a9)){this[_0x37ec01(0x1b9)][_0x37ec01(0x427)]('[CollaborationUndoRedoService]',_0x37ec01(0x1c6),_0x1a3d68,_0x1c68a9);break;}_0x3c8818=_0x1a3d68[_0x37ec01(0x2d4)],_0x53e6d2=_0x1c68a9[_0x37ec01(0x2d4)],_0x5dc14c[_0x37ec01(0x375)]({'unitID':_0x1b5426,'undoMutations':_0x1a3d68[_0x37ec01(0x4a6)],'redoMutations':_0x1c68a9[_0x37ec01(0x4a6)]});}return _0x5dc14c[_0x37ec01(0x407)]();}},exports[_0x13aec8(0x197)]=Zn([de(0x0,a['IUniverInstanceService']),de(0x1,a['ICommandService']),de(0x2,a[_0x13aec8(0x24d)]),de(0x3,m[_0x13aec8(0x295)]),de(0x4,a[_0x13aec8(0x32e)])],exports[_0x13aec8(0x197)]);var At=Object[_0x13aec8(0x169)],Qn=Object['getOwnPropertyDescriptor'],er=(_0x47406e,_0x53fa04,_0x348810)=>_0x53fa04 in _0x47406e?At(_0x47406e,_0x53fa04,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x348810}):_0x47406e[_0x53fa04]=_0x348810,tr=(_0xd542c1,_0x4ca311,_0x137d65,_0x358439)=>{var _0x301180=_0x13aec8;for(var _0x59142a=_0x358439>0x1?void 0x0:_0x358439?Qn(_0x4ca311,_0x137d65):_0x4ca311,_0x2fdc7e=_0xd542c1[_0x301180(0x254)]-0x1,_0x546254;_0x2fdc7e>=0x0;_0x2fdc7e--)(_0x546254=_0xd542c1[_0x2fdc7e])&&(_0x59142a=(_0x358439?_0x546254(_0x4ca311,_0x137d65,_0x59142a):_0x546254(_0x59142a))||_0x59142a);return _0x358439&&_0x59142a&&At(_0x4ca311,_0x137d65,_0x59142a),_0x59142a;},je=(_0xe0ced7,_0x253bea)=>(_0x10d0ba,_0x4b3459)=>_0x253bea(_0x10d0ba,_0x4b3459,_0xe0ced7),ir=(_0x29036f,_0x1ba130,_0x1d7f46)=>er(_0x29036f,_0x1ba130+'',_0x1d7f46);const nr='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports['UniverCollaborationClientPlugin']=class extends a['Plugin']{constructor(_0x391fa2=Xt,_0x3df2d0,_0x4c0e2d,_0x19cfc5){var _0x139c90=_0x13aec8;super(),this['_config']=_0x391fa2,this['_logService']=_0x3df2d0,this[_0x139c90(0x423)]=_0x4c0e2d,this[_0x139c90(0x2a3)]=_0x19cfc5;const {..._0x548cea}=this[_0x139c90(0x322)];this[_0x139c90(0x2a3)]['setConfig'](q,_0x548cea);}[_0x13aec8(0x2d8)](){var _0x4b1e60=_0x13aec8;this[_0x4b1e60(0x1f1)](),this[_0x4b1e60(0x184)]();}['_registerDependencies'](){var _0x312447=_0x13aec8,_0x535657,_0x32771c,_0x40bd04,_0x1cbd28;this['_injector'][_0x312447(0x260)](a['IUndoRedoService'])&&this[_0x312447(0x1b9)][_0x312447(0x427)](_0x312447(0x3cc),_0x312447(0x25b));const _0x355204=a[_0x312447(0x2fa)]([[a['IUndoRedoService'],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x312447(0x3f9)]],[exports[_0x312447(0x240)]],[exports[_0x312447(0x28a)]],[ye],[Pe],[Be],[Ne],[te],[exports[_0x312447(0x26c)]],[ke,{'useClass':(_0x32771c=(_0x535657=this['_config'])==null?void 0x0:_0x535657[_0x312447(0x2ad)])!=null?_0x32771c:exports[_0x312447(0x42a)]}],[m['ISnapshotServerService'],{'useClass':exports[_0x312447(0x47b)]}],[a[_0x312447(0x198)],{'useClass':exports[_0x312447(0x16d)]}],[X[_0x312447(0x236)],{'useClass':exports[_0x312447(0x425)]}],[a['IMentionIOService'],{'useClass':exports['MentionIoHttpService']}],[exports[_0x312447(0x301)]],[$e]],(_0x40bd04=this[_0x312447(0x322)])==null?void 0x0:_0x40bd04[_0x312447(0x174)]);if(!((_0x1cbd28=this[_0x312447(0x322)])!=null&&_0x1cbd28[_0x312447(0x31c)])){const _0x1bb08d=_0x355204['findIndex'](([_0x5a2577])=>_0x5a2577===ve);_0x1bb08d!==-0x1&&_0x355204[_0x312447(0x1e8)](_0x1bb08d,0x1);}a[_0x312447(0x189)](this[_0x312447(0x423)],_0x355204);}['_initDependencies'](){var _0x173a6b=_0x13aec8,_0x50eab4,_0x39df94,_0x551e63;this[_0x173a6b(0x423)][_0x173a6b(0x14d)](z[_0x173a6b(0x1ad)])[_0x173a6b(0x2ef)]({'priority':0x14,'interceptor':z[_0x173a6b(0x387)]({'maxParallel':0x6})}),(_0x50eab4=this[_0x173a6b(0x322)])!=null&&_0x50eab4[_0x173a6b(0x309)]||(_0x39df94=this['_injector'][_0x173a6b(0x14d)](J,a[_0x173a6b(0x40f)]['OPTIONAL']))==null||_0x39df94[_0x173a6b(0x2a1)](),(_0x551e63=this[_0x173a6b(0x322)])!=null&&_0x551e63[_0x173a6b(0x3d6)]&&a[_0x173a6b(0x2d9)](this['_injector'],[[ye]]),a['touchDependencies'](this[_0x173a6b(0x423)],[[Pe],[exports[_0x173a6b(0x301)]],[Ne]]);}},ir(exports[_0x13aec8(0x335)],_0x13aec8(0x43e),nr),exports[_0x13aec8(0x335)]=tr([a[_0x13aec8(0x386)](m['UniverCollaborationPlugin'],W[_0x13aec8(0x3f3)],z[_0x13aec8(0x2c0)]),je(0x1,a[_0x13aec8(0x32e)]),je(0x2,a[_0x13aec8(0x2eb)](a[_0x13aec8(0x3e1)])),je(0x3,a[_0x13aec8(0x4af)])],exports['UniverCollaborationClientPlugin']),exports[_0x13aec8(0x363)]=Ge,exports[_0x13aec8(0x376)]=q,exports[_0x13aec8(0x3c4)]=It,exports[_0x13aec8(0x384)]=ft,exports['CollaborationStatus']=We,exports['CollaborationUIEventId']=Q,exports[_0x13aec8(0x2d3)]=te,exports['CommentService']=Be,exports[_0x13aec8(0x30c)]=St,exports[_0x13aec8(0x450)]=Jt,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports['HEARTBEAT_TIMEOUT_KEY']=He,exports[_0x13aec8(0x374)]=ke,exports[_0x13aec8(0x263)]=J,exports[_0x13aec8(0x181)]=bt,exports[_0x13aec8(0x337)]=ve,exports[_0x13aec8(0x2f3)]=Kt,exports[_0x13aec8(0x167)]=Gt,exports[_0x13aec8(0x311)]=Et,exports[_0x13aec8(0x231)]=zt,exports[_0x13aec8(0x324)]=mt,exports['SEND_CHANGESET_TIMEOUT_KEY']=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0x13aec8(0x3bf)]=vt,exports[_0x13aec8(0x17a)]=se,exports['UnitStatus']=Fe,exports[_0x13aec8(0x4a5)]=Rt,exports[_0x13aec8(0x19e)]=mi,exports[_0x13aec8(0x1e9)]=Ot;
|
1
|
+
'use strict';var _0x3943be=_0x1761;(function(_0x2d4dfc,_0x36754a){var _0x48e37b=_0x1761,_0xf5b473=_0x2d4dfc();while(!![]){try{var _0x5ed7d0=parseInt(_0x48e37b(0x24d))/0x1*(parseInt(_0x48e37b(0x3ae))/0x2)+-parseInt(_0x48e37b(0x49b))/0x3*(-parseInt(_0x48e37b(0x335))/0x4)+parseInt(_0x48e37b(0x34b))/0x5+parseInt(_0x48e37b(0x1dd))/0x6+parseInt(_0x48e37b(0x40e))/0x7*(-parseInt(_0x48e37b(0x483))/0x8)+parseInt(_0x48e37b(0x36c))/0x9+-parseInt(_0x48e37b(0x4a1))/0xa;if(_0x5ed7d0===_0x36754a)break;else _0xf5b473['push'](_0xf5b473['shift']());}catch(_0x5d23ca){_0xf5b473['push'](_0xf5b473['shift']());}}}(_0x217c,0xe8550));var Lt=Object[_0x3943be(0x4a5)],Mt=(_0x504339,_0x4613c6,_0x5effda)=>_0x4613c6 in _0x504339?Lt(_0x504339,_0x4613c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5effda}):_0x504339[_0x4613c6]=_0x5effda,D=(_0x474c89,_0x492437,_0x5d3cf4)=>Mt(_0x474c89,typeof _0x492437!='symbol'?_0x492437+'':_0x492437,_0x5d3cf4);Object[_0x3943be(0x4a5)](exports,Symbol[_0x3943be(0x389)],{'value':_0x3943be(0x485)});const a=require(_0x3943be(0x20e)),H=require(_0x3943be(0x1f1)),V=require('rxjs/operators'),z=require('@univerjs/network'),m=require(_0x3943be(0x38b)),xt=require(_0x3943be(0x30a)),ut=require('@univerjs/docs'),W=require('@univerjs/sheets'),X=require(_0x3943be(0x304)),jt=require(_0x3943be(0x3e0)),dt=_0x3943be(0x2fd),$t=_0x3943be(0x46d),vt=_0x3943be(0x201),Ht=_0x3943be(0x219),kt=0x7d0,ft=_0x3943be(0x2da),St=_0x3943be(0x1c4),Bt=_0x3943be(0x3f7),pt=_0x3943be(0x4c5),Ft=0x7530,He=_0x3943be(0x2cf),gt=0x4e20,Wt=0x4e20,mt='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Gt=_0x3943be(0x30c),Kt=0x3e8,It=_0x3943be(0x1af),Yt=_0x3943be(0x3b9),Et='LOGIN_URL_KEY',qt=_0x3943be(0x270),zt=_0x3943be(0x21c),Jt=_0x3943be(0x196);var Ct=(_0x3cbf03=>(_0x3cbf03[_0x3cbf03[_0x3943be(0x497)]=0x0]='UNDEFINED',_0x3cbf03[_0x3cbf03['OK']=0x1]='OK',_0x3cbf03[_0x3cbf03[_0x3943be(0x44a)]=0x2]=_0x3943be(0x44a),_0x3cbf03[_0x3cbf03[_0x3943be(0x329)]=0x3]=_0x3943be(0x329),_0x3cbf03[_0x3cbf03[_0x3943be(0x43e)]=0x4]=_0x3943be(0x43e),_0x3cbf03[_0x3cbf03[_0x3943be(0x23a)]=0x5]=_0x3943be(0x23a),_0x3cbf03[_0x3cbf03[_0x3943be(0x1d6)]=0x6]='ALREADY_EXISTS',_0x3cbf03[_0x3cbf03['INVALID_ARGUMENT']=0x7]=_0x3943be(0x46a),_0x3cbf03[_0x3cbf03[_0x3943be(0x248)]=0x8]=_0x3943be(0x248),_0x3cbf03[_0x3cbf03['COMPLETION_FINISHED']=0x9]=_0x3943be(0x2c4),_0x3cbf03[_0x3cbf03['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3943be(0x2a3),_0x3cbf03[_0x3cbf03[_0x3943be(0x421)]=0x1771]=_0x3943be(0x421),_0x3cbf03[_0x3cbf03[_0x3943be(0x17a)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3cbf03[_0x3cbf03[_0x3943be(0x4cd)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3cbf03[_0x3cbf03['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x3cbf03[_0x3cbf03[_0x3943be(0x3c5)]=0x1b5a]=_0x3943be(0x3c5),_0x3cbf03[_0x3cbf03['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3cbf03[_0x3cbf03['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3943be(0x197),_0x3cbf03[_0x3cbf03[_0x3943be(0x487)]=0x1b5d]=_0x3943be(0x487),_0x3cbf03[_0x3cbf03[_0x3943be(0x4d1)]=0x1f41]=_0x3943be(0x4d1),_0x3cbf03[_0x3cbf03[_0x3943be(0x23c)]=0x2329]=_0x3943be(0x23c),_0x3cbf03[_0x3cbf03[_0x3943be(0x4ac)]=0x232a]=_0x3943be(0x4ac),_0x3cbf03[_0x3cbf03[_0x3943be(0x422)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3cbf03[_0x3cbf03[_0x3943be(0x222)]=0x232c]=_0x3943be(0x222),_0x3cbf03[_0x3cbf03[_0x3943be(0x3eb)]=0x232d]=_0x3943be(0x3eb),_0x3cbf03[_0x3cbf03['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3cbf03[_0x3cbf03['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3943be(0x1ad),_0x3cbf03[_0x3cbf03[_0x3943be(0x1c9)]=0x2713]=_0x3943be(0x1c9),_0x3cbf03[_0x3cbf03[_0x3943be(0x258)]=0x2714]=_0x3943be(0x258),_0x3cbf03[_0x3cbf03['UNRECOGNIZED']=-0x1]=_0x3943be(0x39b),_0x3cbf03))(Ct||{}),Z=(_0xfb701e=>(_0xfb701e[_0xfb701e[_0x3943be(0x4e9)]=0x0]=_0x3943be(0x4e9),_0xfb701e[_0xfb701e[_0x3943be(0x242)]=0x1]=_0x3943be(0x242),_0xfb701e[_0xfb701e[_0x3943be(0x49f)]=0x2]=_0x3943be(0x49f),_0xfb701e[_0xfb701e['UNIVER_SLIDE']=0x3]=_0x3943be(0x4d7),_0xfb701e[_0xfb701e[_0x3943be(0x4ae)]=0x4]='UNIVER_PROJECT',_0xfb701e[_0xfb701e[_0x3943be(0x39b)]=-0x1]=_0x3943be(0x39b),_0xfb701e))(Z||{}),G=(_0x5e0860=>(_0x5e0860[_0x5e0860[_0x3943be(0x3a1)]=0x0]='UNKNOWN_CMD',_0x5e0860[_0x5e0860['HELLO']=0x1]=_0x3943be(0x22e),_0x5e0860[_0x5e0860[_0x3943be(0x35e)]=0x2]=_0x3943be(0x35e),_0x5e0860[_0x5e0860['LEAVE']=0x3]=_0x3943be(0x16f),_0x5e0860[_0x5e0860[_0x3943be(0x439)]=0x4]=_0x3943be(0x439),_0x5e0860[_0x5e0860['HEARTBEAT']=0x5]=_0x3943be(0x397),_0x5e0860[_0x5e0860[_0x3943be(0x169)]=0x6]=_0x3943be(0x169),_0x5e0860[_0x5e0860[_0x3943be(0x39b)]=-0x1]='UNRECOGNIZED',_0x5e0860))(G||{}),he=(_0x5164c8=>(_0x5164c8[_0x5164c8[_0x3943be(0x2d4)]=0x0]='UNKNOWN_CODE',_0x5164c8[_0x5164c8['OK']=0x1]='OK',_0x5164c8[_0x5164c8[_0x3943be(0x343)]=0x2]=_0x3943be(0x343),_0x5164c8[_0x5164c8['JOIN_ROOM_FULL']=0x3e9]=_0x3943be(0x4c3),_0x5164c8[_0x5164c8[_0x3943be(0x1fc)]=0x3ea]=_0x3943be(0x1fc),_0x5164c8[_0x5164c8[_0x3943be(0x239)]=0x3eb]=_0x3943be(0x239),_0x5164c8[_0x5164c8[_0x3943be(0x496)]=0x3ec]=_0x3943be(0x496),_0x5164c8[_0x5164c8['UNRECOGNIZED']=-0x1]=_0x3943be(0x39b),_0x5164c8))(he||{}),Tt=(_0x3d555d=>(_0x3d555d[_0x3d555d[_0x3943be(0x2b2)]=0x0]=_0x3943be(0x2b2),_0x3d555d[_0x3d555d[_0x3943be(0x26e)]=0x1]=_0x3943be(0x26e),_0x3d555d[_0x3d555d[_0x3943be(0x396)]=0x2]=_0x3943be(0x396),_0x3d555d[_0x3d555d[_0x3943be(0x313)]=0x3]=_0x3943be(0x313),_0x3d555d[_0x3d555d['UnitSnapshot']=0x4]=_0x3943be(0x1db),_0x3d555d[_0x3d555d[_0x3943be(0x39b)]=-0x1]=_0x3943be(0x39b),_0x3d555d))(Tt||{});const q=_0x3943be(0x29b),Xt={};var Q=(_0x1a432a=>(_0x1a432a['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x1a432a[_0x3943be(0x329)]=_0x3943be(0x329),_0x1a432a[_0x3943be(0x3e7)]=_0x3943be(0x3e7),_0x1a432a[_0x3943be(0x33a)]=_0x3943be(0x33a),_0x1a432a[_0x3943be(0x295)]=_0x3943be(0x295),_0x1a432a[_0x3943be(0x3ea)]=_0x3943be(0x3ea),_0x1a432a['SOCKET_FAILED']='SOCKET_FAILED',_0x1a432a[_0x3943be(0x39c)]=_0x3943be(0x39c),_0x1a432a))(Q||{});class te{constructor(){var _0x5cde4d=_0x3943be;D(this,_0x5cde4d(0x185),new H['Subject']()),D(this,_0x5cde4d(0x3fb),this['_event$']['asObservable']());}[_0x3943be(0x182)](_0x522eb7){var _0x516255=_0x3943be;this[_0x516255(0x185)]['next'](_0x522eb7);}}const bt=a[_0x3943be(0x31e)](_0x3943be(0x1ec));function Rt(_0xc64f14){var _0xf48d2d=_0x3943be,_0x5ee1dd,_0x2b3450,_0x2628de,_0x30d5f2,_0x3f5297;const _0x30342d=_0xc64f14[_0xf48d2d(0x27f)],_0x35041e=JSON[_0xf48d2d(0x263)](_0x30342d);switch(_0x35041e[_0xf48d2d(0x2a5)]){case G['HEARTBEAT']:case G[_0xf48d2d(0x22e)]:{const _0x3511d1=_0x35041e[_0xf48d2d(0x1ce)];return{..._0x35041e,'data':_0x3511d1,'cmd':_0x35041e['cmd']};}case G[_0xf48d2d(0x35e)]:{const _0x29df58=_0x35041e[_0xf48d2d(0x2e1)];return{..._0x35041e,'data':_0x29df58,'cmd':_0x35041e[_0xf48d2d(0x2a5)]};}case G[_0xf48d2d(0x169)]:{const _0x1185d6=_0x35041e[_0xf48d2d(0x22a)];switch(_0x1185d6['eventID']){case m[_0xf48d2d(0x4df)]['PERMISSION_REJ']:return{..._0x35041e,'data':{..._0x1185d6,'data':(_0x5ee1dd=_0x1185d6['permissionRejEvent'])==null?void 0x0:_0x5ee1dd['cs']},'cmd':_0x35041e[_0xf48d2d(0x2a5)]};case m['CollaborationEvent'][_0xf48d2d(0x498)]:return{..._0x35041e,'data':{..._0x1185d6,'data':(_0x2b3450=_0x1185d6[_0xf48d2d(0x2e5)])==null?void 0x0:_0x2b3450['cs']},'cmd':_0x35041e[_0xf48d2d(0x2a5)]};case m[_0xf48d2d(0x4df)][_0xf48d2d(0x3d4)]:return{..._0x35041e,'data':{..._0x1185d6,'data':(_0x2628de=_0x1185d6[_0xf48d2d(0x380)])==null?void 0x0:_0x2628de['cs']},'cmd':_0x35041e[_0xf48d2d(0x2a5)]};case m['CollaborationEvent'][_0xf48d2d(0x363)]:return{..._0x35041e,'data':{..._0x1185d6,'data':(_0x30d5f2=_0x1185d6['csRejEvent'])==null?void 0x0:_0x30d5f2['cs']},'cmd':_0x35041e[_0xf48d2d(0x2a5)]};case m['CollaborationEvent'][_0xf48d2d(0x48b)]:return{..._0x35041e,'data':{..._0x1185d6,'data':(_0x3f5297=_0x1185d6[_0xf48d2d(0x1ab)])==null?void 0x0:_0x3f5297['cs']},'cmd':_0x35041e[_0xf48d2d(0x2a5)]};case m[_0xf48d2d(0x4df)][_0xf48d2d(0x17f)]:return{..._0x35041e,'data':{..._0x1185d6,'data':_0x1185d6['updateCursorEvent']},'cmd':_0x35041e[_0xf48d2d(0x2a5)]};case m[_0xf48d2d(0x4df)][_0xf48d2d(0x347)]:return{..._0x35041e,'data':{..._0x1185d6,'data':_0x1185d6[_0xf48d2d(0x434)]},'cmd':_0x35041e['cmd']};case m[_0xf48d2d(0x4df)][_0xf48d2d(0x247)]:return{..._0x35041e,'data':{..._0x1185d6,'data':_0x1185d6[_0xf48d2d(0x42c)]},'cmd':_0x35041e[_0xf48d2d(0x2a5)]};case m[_0xf48d2d(0x4df)]['LIVESHARE_NEW_HOST']:return{..._0x35041e,'data':{..._0x1185d6,'data':_0x1185d6[_0xf48d2d(0x2ed)]},'cmd':_0x35041e['cmd']};case m[_0xf48d2d(0x4df)][_0xf48d2d(0x29e)]:case m[_0xf48d2d(0x4df)][_0xf48d2d(0x42a)]:return{..._0x35041e,'data':{..._0x1185d6,'data':_0x1185d6[_0xf48d2d(0x460)]},'cmd':_0x35041e[_0xf48d2d(0x2a5)]};case m['CollaborationEvent'][_0xf48d2d(0x4ba)]:return{..._0x35041e,'data':{..._0x1185d6,'data':_0x1185d6['liveShareNewHost']},'cmd':_0x35041e['cmd']};case m[_0xf48d2d(0x4df)]['MSG_FOR_ERROR']:return{..._0x35041e,'data':_0x1185d6,'cmd':_0x35041e[_0xf48d2d(0x2a5)]};case m[_0xf48d2d(0x4df)][_0xf48d2d(0x47b)]:return{..._0x35041e,'data':{..._0x1185d6,'data':_0x1185d6[_0xf48d2d(0x1cb)]},'cmd':_0x35041e[_0xf48d2d(0x2a5)]};case m[_0xf48d2d(0x4df)][_0xf48d2d(0x170)]:return{..._0x35041e,'data':{..._0x1185d6,'data':_0x1185d6['updatePermissionObjEvent']},'cmd':_0x35041e['cmd']};case m['CollaborationEvent'][_0xf48d2d(0x21f)]:return{..._0x35041e,'data':{..._0x1185d6,'data':_0x1185d6['shouldCloseConn']},'cmd':_0x35041e[_0xf48d2d(0x2a5)]};case m['CollaborationEvent'][_0xf48d2d(0x3bc)]:return{..._0x35041e,'data':{..._0x1185d6,'data':_0x1185d6[_0xf48d2d(0x4d8)]},'cmd':_0x35041e[_0xf48d2d(0x2a5)]};default:return _0x35041e;}}default:return _0x35041e;}}function Ot(_0x1f40f2){var _0x3eb522=_0x3943be;switch(_0x1f40f2[_0x3eb522(0x2a5)]){case G[_0x3eb522(0x397)]:case G[_0x3eb522(0x22e)]:return JSON[_0x3eb522(0x193)]({'cmd':_0x1f40f2[_0x3eb522(0x2a5)],'routeKey':_0x1f40f2[_0x3eb522(0x3a9)]});case G[_0x3eb522(0x439)]:{let _0x263036;switch(_0x1f40f2[_0x3eb522(0x27f)][_0x3eb522(0x23b)]){case m[_0x3eb522(0x4df)][_0x3eb522(0x17f)]:{_0x263036={'eventID':m['CollaborationEvent'][_0x3eb522(0x17f)],'updateCursorEvent':_0x1f40f2['data'][_0x3eb522(0x27f)]};break;}case m[_0x3eb522(0x4df)][_0x3eb522(0x247)]:{_0x263036={'eventID':m['CollaborationEvent'][_0x3eb522(0x247)],'leaveEvent':_0x1f40f2[_0x3eb522(0x27f)][_0x3eb522(0x27f)]};break;}case m[_0x3eb522(0x4df)]['USERS_ENTER']:{_0x263036={'eventID':m[_0x3eb522(0x4df)][_0x3eb522(0x347)],'joinEvent':_0x1f40f2[_0x3eb522(0x27f)][_0x3eb522(0x27f)]};break;}case m[_0x3eb522(0x4df)][_0x3eb522(0x1fe)]:{_0x263036={'eventID':m['CollaborationEvent'][_0x3eb522(0x1fe)],'liveShareNewHost':_0x1f40f2[_0x3eb522(0x27f)][_0x3eb522(0x27f)]};break;}case m[_0x3eb522(0x4df)][_0x3eb522(0x42a)]:{_0x263036={'eventID':m[_0x3eb522(0x4df)][_0x3eb522(0x42a)],'liveShareOperation':_0x1f40f2['data'][_0x3eb522(0x27f)]};break;}case m['CollaborationEvent'][_0x3eb522(0x4ba)]:{_0x263036={'eventID':m[_0x3eb522(0x4df)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1f40f2[_0x3eb522(0x27f)][_0x3eb522(0x27f)]};break;}case m[_0x3eb522(0x4df)][_0x3eb522(0x249)]:{_0x263036={'eventID':m['CollaborationEvent'][_0x3eb522(0x249)],'liveShareRequestHost':_0x1f40f2[_0x3eb522(0x27f)][_0x3eb522(0x27f)]};break;}case m[_0x3eb522(0x4df)][_0x3eb522(0x29e)]:{_0x263036={'eventID':m['CollaborationEvent'][_0x3eb522(0x29e)]};break;}default:_0x263036={'eventID':_0x1f40f2[_0x3eb522(0x27f)][_0x3eb522(0x23b)]};}return JSON[_0x3eb522(0x193)]({'cmd':_0x1f40f2[_0x3eb522(0x2a5)],'routeKey':_0x1f40f2[_0x3eb522(0x3a9)],'collaMsg':_0x263036});}case G[_0x3eb522(0x35e)]:return JSON[_0x3eb522(0x193)]({'cmd':_0x1f40f2[_0x3eb522(0x2a5)],'routeKey':_0x1f40f2[_0x3eb522(0x3a9)],'joinReq':_0x1f40f2['data']});case G[_0x3eb522(0x16f)]:return JSON[_0x3eb522(0x193)]({'cmd':_0x1f40f2[_0x3eb522(0x2a5)],'routeKey':_0x1f40f2[_0x3eb522(0x3a9)],'leaveReq':_0x1f40f2[_0x3eb522(0x27f)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Zt=Object['defineProperty'],Qt=Object[_0x3943be(0x32a)],ei=(_0x3a4d93,_0x2e5f50,_0x4d60bb,_0x585d40)=>{var _0x19bbea=_0x3943be;for(var _0x2e9e11=_0x585d40>0x1?void 0x0:_0x585d40?Qt(_0x2e5f50,_0x4d60bb):_0x2e5f50,_0x4df237=_0x3a4d93[_0x19bbea(0x441)]-0x1,_0x25c5a1;_0x4df237>=0x0;_0x4df237--)(_0x25c5a1=_0x3a4d93[_0x4df237])&&(_0x2e9e11=(_0x585d40?_0x25c5a1(_0x2e5f50,_0x4d60bb,_0x2e9e11):_0x25c5a1(_0x2e9e11))||_0x2e9e11);return _0x585d40&&_0x2e9e11&&Zt(_0x2e5f50,_0x4d60bb,_0x2e9e11),_0x2e9e11;},ue=(_0x256203,_0x2368c8)=>(_0x2454be,_0x719d87)=>_0x2368c8(_0x2454be,_0x719d87,_0x256203);const ke=a[_0x3943be(0x31e)](_0x3943be(0x30f));function ti(_0x20b240,_0x1c031c,_0x13939f){var _0x17935b=_0x3943be;return _0x20b240+'/'+_0x1c031c+'/unit/'+_0x13939f+_0x17935b(0x398);}exports['CollaborationSocketService']=class extends a[_0x3943be(0x478)]{constructor(_0x2a6a5b,_0x19ce6d,_0x58affc,_0x34e43d,_0x487362){var _0x2ae382=_0x3943be;super(),this[_0x2ae382(0x285)]=_0x2a6a5b,this[_0x2ae382(0x4d3)]=_0x19ce6d,this[_0x2ae382(0x2f6)]=_0x58affc,this[_0x2ae382(0x211)]=_0x34e43d,this[_0x2ae382(0x45c)]=_0x487362;}[_0x3943be(0x431)](_0x5116cb){var _0x1a385d=_0x3943be;const _0x5e51c4=this['_injector'][_0x1a385d(0x412)](z[_0x1a385d(0x251)]);if(!_0x5e51c4)throw new Error(_0x1a385d(0x399));const _0x53cc26=_0x5e51c4[_0x1a385d(0x431)](_0x5116cb);if(!_0x53cc26)throw new Error(_0x1a385d(0x37d));const _0x2cb188=new a['DisposableCollection'](),_0x1c8d81=new H[(_0x1a385d(0x19b))]();_0x2cb188[_0x1a385d(0x4ce)](_0x53cc26[_0x1a385d(0x3e5)][_0x1a385d(0x32c)](_0x4dde79=>_0x1c8d81[_0x1a385d(0x3ed)](_0x4dde79))),_0x2cb188[_0x1a385d(0x4ce)](a[_0x1a385d(0x317)](()=>_0x1c8d81[_0x1a385d(0x3ad)]()));const _0x4ed872=new H[(_0x1a385d(0x19b))]();_0x2cb188[_0x1a385d(0x4ce)](_0x53cc26[_0x1a385d(0x36f)][_0x1a385d(0x32c)](_0x5b4d2f=>_0x4ed872['next'](_0x5b4d2f))),_0x2cb188[_0x1a385d(0x4ce)](a[_0x1a385d(0x317)](()=>_0x4ed872[_0x1a385d(0x3ad)]()));const _0x3a32ef=new H['Subject']();_0x2cb188[_0x1a385d(0x4ce)](_0x53cc26[_0x1a385d(0x1de)][_0x1a385d(0x32c)](_0x3ba966=>{var _0xd5888b=_0x1a385d;const _0x20b31e=Rt(_0x3ba966);_0x3a32ef[_0xd5888b(0x3ed)](_0x20b31e);})),_0x2cb188[_0x1a385d(0x4ce)](a[_0x1a385d(0x317)](()=>_0x3a32ef[_0x1a385d(0x3ad)]()));let _0x4a3a44;const _0x267e1e=()=>{var _0x54506d=_0x1a385d;_0x4ed872[_0x54506d(0x3ed)](new Event(_0x54506d(0x293))),_0x1c8d81[_0x54506d(0x3ed)](new CloseEvent(_0x54506d(0x293))),_0x4a3a44[_0x54506d(0x3db)]();};return _0x4a3a44={'memberID':'','close$':_0x1c8d81['asObservable'](),'error$':_0x4ed872[_0x1a385d(0x221)](),'open$':_0x53cc26[_0x1a385d(0x359)],'message$':_0x3a32ef[_0x1a385d(0x221)](),'send':_0x90d313=>{var _0x4800b0=_0x1a385d;if(_0x90d313[_0x4800b0(0x2a5)]===G[_0x4800b0(0x439)]){if(_0x90d313[_0x4800b0(0x27f)][_0x4800b0(0x23b)]===m[_0x4800b0(0x4df)][_0x4800b0(0x464)]){this['_submitChangeset'](_0x4a3a44,_0x90d313[_0x4800b0(0x27f)])['catch'](_0x5d5235=>{var _0x21940b=_0x4800b0;this[_0x21940b(0x211)][_0x21940b(0x394)](_0x5d5235),_0x267e1e();});return;}if(_0x90d313[_0x4800b0(0x27f)][_0x4800b0(0x23b)]===m[_0x4800b0(0x4df)][_0x4800b0(0x319)]){const _0x2de17c=_0x90d313[_0x4800b0(0x27f)];this['_fetchMissChangesets'](_0x2de17c)[_0x4800b0(0x30b)](_0x46a9=>{var _0x550f63=_0x4800b0;_0x3a32ef[_0x550f63(0x3ed)]({'cmd':G[_0x550f63(0x169)],'code':he['OK'],'routeKey':_0x2de17c[_0x550f63(0x27f)][_0x550f63(0x305)],'routeType':'','data':{'eventID':m[_0x550f63(0x4df)][_0x550f63(0x493)],'data':{'changesets':_0x46a9}}});})[_0x4800b0(0x1e0)](_0x1042b9=>{var _0x12dee4=_0x4800b0;this['_logService'][_0x12dee4(0x394)](_0x1042b9),_0x267e1e();});return;}}_0x53cc26[_0x4800b0(0x167)](Ot(_0x90d313));},'close':()=>{_0x53cc26['close'](),_0x2cb188['dispose']();}},_0x4a3a44;}async[_0x3943be(0x2f3)](_0x4ab548,_0x4cc569){var _0x26b808=_0x3943be,_0x17af02,_0x130620;const {unitType:_0x27350c,unitID:_0xfb13ec,changeset:_0x24f0d2}=_0x4cc569['data'],_0x26c5b5={'unitID':_0xfb13ec,'memberID':_0x4ab548['memberID'],'type':_0x27350c,'changeset':m[_0x26b808(0x281)](_0x24f0d2)},_0x3cea14=this[_0x26b808(0x2f6)][_0x26b808(0x44f)](It),_0x3b4dfd=this[_0x26b808(0x2f6)][_0x26b808(0x44f)](q),_0x1bc340=ti((_0x130620=(_0x17af02=_0x3b4dfd==null?void 0x0:_0x3b4dfd[_0x26b808(0x269)])!=null?_0x17af02:_0x3cea14)!=null?_0x130620:Yt,_0x27350c,_0xfb13ec);try{await this['_http'][_0x26b808(0x382)](_0x1bc340,{'body':_0x26c5b5});}catch(_0x313666){throw this[_0x26b808(0x211)][_0x26b808(0x394)](_0x26b808(0x443),_0x26b808(0x4af)),_0x313666;}}async[_0x3943be(0x2ad)](_0x5e931d){var _0x3b24b4=_0x3943be;const {unitID:_0x2db37e,from:_0x52951e,to:_0x389b16,unitType:_0x2857e0}=_0x5e931d[_0x3b24b4(0x27f)];return(await this[_0x3b24b4(0x45c)][_0x3b24b4(0x4ca)]({'metadata':void 0x0},{'unitID':_0x2db37e,'type':_0x2857e0,'from':_0x52951e,'to':_0x389b16}))[_0x3b24b4(0x31f)];}},exports[_0x3943be(0x1c5)]=ei([ue(0x0,a[_0x3943be(0x357)](a[_0x3943be(0x3b3)])),ue(0x1,a[_0x3943be(0x357)](z[_0x3943be(0x4de)])),ue(0x2,a[_0x3943be(0x366)]),ue(0x3,a[_0x3943be(0x3aa)]),ue(0x4,m[_0x3943be(0x17d)])],exports[_0x3943be(0x1c5)]);const ii=_0x3943be(0x2bc);function ni(_0x5f42c6){var _0x3a7dd=_0x3943be;return JSON['stringify'](_0x5f42c6)[_0x3a7dd(0x441)];}class Be{constructor(){var _0xfec6c=_0x3943be;D(this,_0xfec6c(0x37b),new H[(_0xfec6c(0x19b))]()),D(this,'commentUpdate$',this[_0xfec6c(0x37b)][_0xfec6c(0x221)]());}[_0x3943be(0x388)](_0x16a9ce){var _0x11d1e1=_0x3943be;this[_0x11d1e1(0x37b)][_0x11d1e1(0x3ed)](_0x16a9ce);}}var ri=Object[_0x3943be(0x4a5)],si=Object[_0x3943be(0x32a)],oi=(_0x33286e,_0x45b0df,_0x4dfeb9,_0x1d711a)=>{var _0x26a8ea=_0x3943be;for(var _0x3dc937=_0x1d711a>0x1?void 0x0:_0x1d711a?si(_0x45b0df,_0x4dfeb9):_0x45b0df,_0x4be98f=_0x33286e[_0x26a8ea(0x441)]-0x1,_0x108b4d;_0x4be98f>=0x0;_0x4be98f--)(_0x108b4d=_0x33286e[_0x4be98f])&&(_0x3dc937=(_0x1d711a?_0x108b4d(_0x45b0df,_0x4dfeb9,_0x3dc937):_0x108b4d(_0x3dc937))||_0x3dc937);return _0x1d711a&&_0x3dc937&&ri(_0x45b0df,_0x4dfeb9,_0x3dc937),_0x3dc937;},Ke=(_0x35aa0e,_0x28b613)=>(_0x2db40f,_0x203153)=>_0x28b613(_0x2db40f,_0x203153,_0x35aa0e);exports[_0x3943be(0x3a5)]=class extends a[_0x3943be(0x478)]{constructor(_0x10fbc0,_0x15603b){var _0xc60e75=_0x3943be;super(),D(this,_0xc60e75(0x1b5),new Map()),D(this,_0xc60e75(0x1e3),new H[(_0xc60e75(0x19b))]()),(this[_0xc60e75(0x44d)]=_0x10fbc0,this['_userManagerService']=_0x15603b,this[_0xc60e75(0x2d9)](H['merge'](this[_0xc60e75(0x44d)][_0xc60e75(0x18e)](a[_0xc60e75(0x214)][_0xc60e75(0x49f)])[_0xc60e75(0x328)](V[_0xc60e75(0x3a4)](_0x10d9b1=>_0x10d9b1[_0xc60e75(0x3e9)]())),this[_0xc60e75(0x44d)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0xc60e75(0x242)])[_0xc60e75(0x328)](V[_0xc60e75(0x3a4)](_0x2d2263=>_0x2d2263[_0xc60e75(0x3e9)]())),this[_0xc60e75(0x44d)][_0xc60e75(0x18e)](a['UniverInstanceType'][_0xc60e75(0x4d7)])[_0xc60e75(0x328)](V[_0xc60e75(0x3a4)](_0x5f4aed=>_0x5f4aed['getUnitId']())))[_0xc60e75(0x32c)](_0x56466e=>this[_0xc60e75(0x2d0)](_0x56466e))));}['waitForRoom$'](_0x1af102){var _0x257cd6=_0x3943be;return this[_0x257cd6(0x1b5)][_0x257cd6(0x424)](_0x1af102)?H['of'](this[_0x257cd6(0x1b5)][_0x257cd6(0x412)](_0x1af102)):this[_0x257cd6(0x1e3)][_0x257cd6(0x328)](V[_0x257cd6(0x3a4)](_0x1445c6=>{var _0x6c26f7=_0x257cd6;if(_0x1445c6===_0x1af102)return this[_0x6c26f7(0x1b5)][_0x6c26f7(0x412)](_0x1445c6);}));}['setCurrentUser'](_0x2f80fc){var _0x351372=_0x3943be;this[_0x351372(0x416)][_0x351372(0x3bb)](_0x2f80fc);}['getCurrentUser'](){var _0x5cab4b=_0x3943be;return this[_0x5cab4b(0x416)]['getCurrentUser']();}[_0x3943be(0x204)](_0x35710b,_0x693094){var _0x1ace5b=_0x3943be;let _0x366afb=this[_0x1ace5b(0x1b5)]['get'](_0x35710b);_0x366afb||(_0x366afb=new ai(),this[_0x1ace5b(0x1b5)][_0x1ace5b(0x3fe)](_0x35710b,_0x366afb),this['_roomCreated$'][_0x1ace5b(0x3ed)](_0x35710b)),_0x366afb[_0x1ace5b(0x204)](_0x693094);}['removeMember'](_0x2dd53f,_0xe0a473){var _0x5ced58=_0x3943be;const _0x133db7=this[_0x5ced58(0x1b5)]['get'](_0x2dd53f);_0x133db7&&_0x133db7[_0x5ced58(0x2b6)](_0xe0a473);}['getRoom'](_0x202a8a){var _0x59017d=_0x3943be;return this[_0x59017d(0x1b5)]['get'](_0x202a8a);}['getMember'](_0x11c8d9,_0x384d30){var _0x366697=_0x3943be;const _0x111f6f=this[_0x366697(0x1b5)][_0x366697(0x412)](_0x11c8d9);if(_0x111f6f)return _0x111f6f[_0x366697(0x444)](_0x384d30);}[_0x3943be(0x2d0)](_0x2c5a5d){var _0x32c4d4=_0x3943be;const _0x4c0cd8=this['_roomMembers'][_0x32c4d4(0x412)](_0x2c5a5d);_0x4c0cd8&&(_0x4c0cd8[_0x32c4d4(0x3bd)](),this[_0x32c4d4(0x1b5)][_0x32c4d4(0x25e)](_0x2c5a5d));}[_0x3943be(0x3bd)](){var _0x5d962f=_0x3943be;this[_0x5d962f(0x1b5)][_0x5d962f(0x1b0)](_0x580f8f=>_0x580f8f[_0x5d962f(0x3bd)]()),this[_0x5d962f(0x1b5)][_0x5d962f(0x44b)](),this[_0x5d962f(0x1e3)][_0x5d962f(0x3ad)]();}},exports[_0x3943be(0x3a5)]=oi([Ke(0x0,a[_0x3943be(0x322)]),Ke(0x1,a[_0x3943be(0x357)](a[_0x3943be(0x203)]))],exports[_0x3943be(0x3a5)]);class ai extends a['Disposable']{constructor(){var _0x250972=_0x3943be;super(...arguments),D(this,'_members',new Map()),D(this,_0x250972(0x2c3),new H[(_0x250972(0x346))](this[_0x250972(0x474)])),D(this,'members$',this[_0x250972(0x2c3)][_0x250972(0x221)]());}[_0x3943be(0x3bd)](){var _0x140144=_0x3943be;this[_0x140144(0x474)][_0x140144(0x44b)]();}[_0x3943be(0x204)](_0x175904){var _0x391cf3=_0x3943be;this[_0x391cf3(0x474)][_0x391cf3(0x3fe)](_0x175904['memberID'],_0x175904),this[_0x391cf3(0x1a9)]();}[_0x3943be(0x2b6)](_0x234cdf){var _0x5c6896=_0x3943be;this[_0x5c6896(0x474)]['delete'](_0x234cdf);}[_0x3943be(0x444)](_0x49bf27){var _0x3ff06b=_0x3943be;return this['_members'][_0x3ff06b(0x412)](_0x49bf27);}[_0x3943be(0x4c7)](){var _0x545a8e=_0x3943be;return Array[_0x545a8e(0x33f)](this[_0x545a8e(0x474)][_0x545a8e(0x3d3)]());}[_0x3943be(0x1a9)](){var _0x20e908=_0x3943be;this[_0x20e908(0x2c3)][_0x20e908(0x3ed)](this[_0x20e908(0x474)]);}}var ci=Object['defineProperty'],hi=Object['getOwnPropertyDescriptor'],li=(_0x177c8b,_0xf18332,_0xd9e0d8,_0x453b30)=>{var _0x4954f8=_0x3943be;for(var _0x2c7737=_0x453b30>0x1?void 0x0:_0x453b30?hi(_0xf18332,_0xd9e0d8):_0xf18332,_0x318729=_0x177c8b[_0x4954f8(0x441)]-0x1,_0x3b1f6b;_0x318729>=0x0;_0x318729--)(_0x3b1f6b=_0x177c8b[_0x318729])&&(_0x2c7737=(_0x453b30?_0x3b1f6b(_0xf18332,_0xd9e0d8,_0x2c7737):_0x3b1f6b(_0x2c7737))||_0x2c7737);return _0x453b30&&_0x2c7737&&ci(_0xf18332,_0xd9e0d8,_0x2c7737),_0x2c7737;},oe=(_0x52c72f,_0x313c18)=>(_0x2e2ff8,_0x3c4217)=>_0x313c18(_0x2e2ff8,_0x3c4217,_0x52c72f),se=(_0x595de5=>(_0x595de5[_0x595de5['IDLE']=0x0]=_0x3943be(0x38f),_0x595de5[_0x595de5[_0x3943be(0x445)]=0x1]=_0x3943be(0x445),_0x595de5[_0x595de5[_0x3943be(0x48f)]=0x2]=_0x3943be(0x48f),_0x595de5[_0x595de5[_0x3943be(0x303)]=0x3]=_0x3943be(0x303),_0x595de5))(se||{});const Ye={[he[_0x3943be(0x343)]]:_0x3943be(0x3e6),[he[_0x3943be(0x4c3)]]:_0x3943be(0x223),[he[_0x3943be(0x1fc)]]:_0x3943be(0x3f8),[he['JOIN_ROOM_PERMISSION_DENIED']]:_0x3943be(0x473),[he['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x3943be(0x19f)};exports['CollaborationSession']=class extends a[_0x3943be(0x47e)]{constructor(_0x13ecb8,_0x108b01,_0x516a4f,_0x1ddb1e,_0x2ba8c7,_0x54ceb8,_0x22e307,_0x5c7e89,_0x36e9c1){var _0x15fdf2=_0x3943be;super(),D(this,_0x15fdf2(0x40d),new H[(_0x15fdf2(0x346))](0x0)),D(this,_0x15fdf2(0x1c7),this[_0x15fdf2(0x40d)]['asObservable']()),D(this,_0x15fdf2(0x185),new H[(_0x15fdf2(0x19b))]()),D(this,_0x15fdf2(0x3fb),this[_0x15fdf2(0x185)]['asObservable']()),D(this,'_socket'),D(this,_0x15fdf2(0x427)),D(this,'_collaborationTimeoutTimer'),D(this,_0x15fdf2(0x4e0),!0x1),D(this,_0x15fdf2(0x437),null),(this['_unitID']=_0x13ecb8,this[_0x15fdf2(0x211)]=_0x516a4f,this[_0x15fdf2(0x2f6)]=_0x1ddb1e,this['_localeService']=_0x2ba8c7,this[_0x15fdf2(0x4b3)]=_0x54ceb8,this[_0x15fdf2(0x3b6)]=_0x22e307,this[_0x15fdf2(0x1fd)]=_0x5c7e89,this[_0x15fdf2(0x3ce)]=_0x36e9c1,this[_0x15fdf2(0x4e0)]=!!this[_0x15fdf2(0x3ce)],_0x108b01[_0x15fdf2(0x328)](H['takeUntil'](this[_0x15fdf2(0x429)]))[_0x15fdf2(0x32c)](_0x2fc5b6=>{var _0x5ed65e=_0x15fdf2,_0xb6aa78;typeof _0x2fc5b6>'u'||(this[_0x5ed65e(0x301)]=_0x2fc5b6,_0x2fc5b6?(this[_0x5ed65e(0x4e2)](_0x2fc5b6),this['_socketMessageSubscription']=_0x2fc5b6[_0x5ed65e(0x1de)][_0x5ed65e(0x32c)](_0x5bb2db=>{var _0x234112=_0x5ed65e;_0x5bb2db[_0x234112(0x3a9)]===this[_0x234112(0x46c)]&&this['_onCombEvent'](_0x5bb2db);})):(this[_0x5ed65e(0x3dd)](),this[_0x5ed65e(0x40d)][_0x5ed65e(0x3ed)](0x2),(_0xb6aa78=this[_0x5ed65e(0x427)])==null||_0xb6aa78[_0x5ed65e(0x2c8)](),this[_0x5ed65e(0x427)]=null));}));}get[_0x3943be(0x349)](){var _0x449aab=_0x3943be;return this[_0x449aab(0x40d)]['getValue']();}[_0x3943be(0x455)](){var _0x1783b2=_0x3943be,_0x1ab924,_0x1745d0;return(_0x1745d0=(_0x1ab924=this[_0x1783b2(0x301)])==null?void 0x0:_0x1ab924[_0x1783b2(0x314)])!=null?_0x1745d0:null;}[_0x3943be(0x3bd)](){var _0x4cddea=_0x3943be;super[_0x4cddea(0x3bd)](),this['dispose$'][_0x4cddea(0x3ed)](),this[_0x4cddea(0x429)][_0x4cddea(0x3ad)]();}[_0x3943be(0x3db)](){var _0x3fed6c=_0x3943be,_0x4f6bdd,_0x20af92;this[_0x3fed6c(0x3dd)](),(_0x4f6bdd=this['_socket'])==null||_0x4f6bdd['send']({'cmd':G['LEAVE'],'data':{'roomID':this[_0x3fed6c(0x46c)]}}),(_0x20af92=this[_0x3fed6c(0x301)])==null||_0x20af92[_0x3fed6c(0x3db)](),this[_0x3fed6c(0x185)]['complete'](),this[_0x3fed6c(0x40d)][_0x3fed6c(0x3ad)](),this['dispose']();}[_0x3943be(0x38e)](_0x572ad6){var _0xfdcc4=_0x3943be;_0x572ad6['cmd']===G[_0xfdcc4(0x35e)]?this[_0xfdcc4(0x348)](_0x572ad6):_0x572ad6[_0xfdcc4(0x2a5)]===G[_0xfdcc4(0x169)]&&this[_0xfdcc4(0x454)](_0x572ad6);}['_joinRoom'](_0xcc4646){var _0x3c06f1=_0x3943be;this[_0x3c06f1(0x40d)]['next'](0x1),_0xcc4646[_0x3c06f1(0x167)]({'cmd':G['JOIN'],'routeKey':this[_0x3c06f1(0x46c)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3c06f1(0x46c)]}]}});}[_0x3943be(0x348)](_0x4c6256){var _0x4650f2=_0x3943be,_0x72fd8d;if(_0x4c6256[_0x4650f2(0x250)]in Ye){this[_0x4650f2(0x1fd)]['emitEvent']({'id':Q[_0x4650f2(0x295)],'data':Ye[_0x4c6256['code']]}),this['_sessionStatus$'][_0x4650f2(0x3ed)](0x2);return;}this['_sessionStatus$'][_0x4650f2(0x3ed)](0x3);const _0x4c3c35=(_0x72fd8d=_0x4c6256[_0x4650f2(0x27f)]['roomInfos'][this[_0x4650f2(0x46c)]])==null?void 0x0:_0x72fd8d[_0x4650f2(0x39e)];_0x4c3c35&&_0x4c3c35['forEach'](_0x554e16=>this[_0x4650f2(0x4b3)][_0x4650f2(0x204)](this[_0x4650f2(0x46c)],_0x554e16));}['_onRecvEvent'](_0x55f829){var _0x3f87b4=_0x3943be;try{const _0x4e4752=_0x55f829[_0x3f87b4(0x27f)];switch(_0x4e4752['eventID']){case m['CollaborationEvent']['USERS_ENTER']:this[_0x3f87b4(0x33c)](_0x4e4752),this[_0x3f87b4(0x185)]['next'](_0x4e4752);break;case m[_0x3f87b4(0x4df)][_0x3f87b4(0x247)]:this[_0x3f87b4(0x309)](_0x4e4752),this[_0x3f87b4(0x185)]['next'](_0x4e4752);break;case m['CollaborationEvent'][_0x3f87b4(0x498)]:case m[_0x3f87b4(0x4df)][_0x3f87b4(0x48b)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x3f87b4(0x185)]['next'](_0x4e4752);break;case m[_0x3f87b4(0x4df)]['MSG_FOR_ERROR']:this[_0x3f87b4(0x211)][_0x3f87b4(0x394)](_0x3f87b4(0x209)+JSON[_0x3f87b4(0x193)](_0x4e4752)),this['_event$'][_0x3f87b4(0x3ed)](_0x4e4752);break;case m[_0x3f87b4(0x4df)][_0x3f87b4(0x47b)]:this[_0x3f87b4(0x3b6)][_0x3f87b4(0x388)](_0x4e4752['data']),this['_event$']['next'](_0x4e4752);break;default:this[_0x3f87b4(0x185)]['next'](_0x4e4752);}}catch(_0x398f17){this[_0x3f87b4(0x211)][_0x3f87b4(0x394)](_0x398f17,_0x55f829);}}['_onUserJoin'](_0x3afed4){var _0x5e0e58=_0x3943be;this['_memberService'][_0x5e0e58(0x204)](this['_unitID'],_0x3afed4[_0x5e0e58(0x27f)]);}['_onUserLeave'](_0x5b5dc6){var _0x418fa1=_0x3943be;this[_0x418fa1(0x4b3)][_0x418fa1(0x2b6)](this[_0x418fa1(0x46c)],_0x5b5dc6[_0x418fa1(0x27f)]['memberID']);}async['send'](_0x576765,_0x407b52){var _0x457734=_0x3943be;if(this[_0x457734(0x349)]!==0x3||!this[_0x457734(0x301)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x576765['eventID']===m[_0x457734(0x4df)][_0x457734(0x464)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x457734(0x206)](_0x576765)),this[_0x457734(0x301)]['send']({'cmd':G['INGEST'],'routeKey':_0x407b52,'routeType':'','data':_0x576765});}catch(_0x45fa58){this[_0x457734(0x211)][_0x457734(0x394)](_0x45fa58);}}[_0x3943be(0x3c2)](){var _0x3ccb7c=_0x3943be,_0x1777b0;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x272e5a=_0x1761;this[_0x272e5a(0x27a)]=null,this['_collaborationUIEventService'][_0x272e5a(0x182)]({'id':Q[_0x272e5a(0x39c)]});},(_0x1777b0=this[_0x3ccb7c(0x2f6)][_0x3ccb7c(0x44f)](He))!=null?_0x1777b0:gt);}['_clearCollaborationTimeoutTimer'](){this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x3943be(0x206)](_0xfa9232){var _0x454e1b=_0x3943be;if(!this[_0x454e1b(0x4e0)])return;const {data:_0x34df08}=_0xfa9232,{unitID:_0x39eb73,changeset:_0xdad788}=_0x34df08,{mutations:_0x5d613e,type:_0x5403f2}=_0xdad788;this['_telemetryInfo']={'unitId':_0x39eb73,'type':_0x5403f2,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ni(_0x5d613e)};}[_0x3943be(0x176)](){var _0x228081=_0x3943be;if(this[_0x228081(0x4e0)]){if(!this[_0x228081(0x437)]){this['_logService'][_0x228081(0x394)](_0x228081(0x443),_0x228081(0x490));return;}this[_0x228081(0x437)]['stopTime']=performance[_0x228081(0x296)](),this[_0x228081(0x437)][_0x228081(0x27c)]=this[_0x228081(0x437)][_0x228081(0x1e2)]-this[_0x228081(0x437)]['startTime'],this[_0x228081(0x3ce)]['capture'](ii,this[_0x228081(0x437)]),this['_telemetryInfo']=null;}}[_0x3943be(0x3dd)](){var _0x31c041=_0x3943be;this[_0x31c041(0x437)]=null;}},exports['CollaborationSession']=li([oe(0x2,a['ILogService']),oe(0x3,a['IConfigService']),oe(0x4,a[_0x3943be(0x357)](a[_0x3943be(0x4d0)])),oe(0x5,a['Inject'](exports[_0x3943be(0x3a5)])),oe(0x6,a[_0x3943be(0x357)](Be)),oe(0x7,a[_0x3943be(0x357)](te)),oe(0x8,a[_0x3943be(0x446)](xt[_0x3943be(0x35c)]))],exports[_0x3943be(0x33e)]);var _i=Object['defineProperty'],ui=Object['getOwnPropertyDescriptor'],di=(_0x4fb63a,_0x47e588,_0x528958,_0x52f7ef)=>{var _0x5e1fb9=_0x3943be;for(var _0x4b01d6=_0x52f7ef>0x1?void 0x0:_0x52f7ef?ui(_0x47e588,_0x528958):_0x47e588,_0x362fa3=_0x4fb63a[_0x5e1fb9(0x441)]-0x1,_0x123868;_0x362fa3>=0x0;_0x362fa3--)(_0x123868=_0x4fb63a[_0x362fa3])&&(_0x4b01d6=(_0x52f7ef?_0x123868(_0x47e588,_0x528958,_0x4b01d6):_0x123868(_0x4b01d6))||_0x4b01d6);return _0x52f7ef&&_0x4b01d6&&_i(_0x47e588,_0x528958,_0x4b01d6),_0x4b01d6;},ae=(_0x45b68b,_0x309f7f)=>(_0x1fe06e,_0x33d9a3)=>_0x309f7f(_0x1fe06e,_0x33d9a3,_0x45b68b);exports['CollaborationSessionService']=class extends a[_0x3943be(0x478)]{constructor(_0x3cc076,_0x631eae,_0x39ef67,_0x4c9ec3,_0x52590d,_0x3ca376,_0x35915b){var _0x412746=_0x3943be;super(),D(this,_0x412746(0x284),new H[(_0x412746(0x346))](void 0x0)),D(this,_0x412746(0x3b0),this[_0x412746(0x284)]['asObservable']()),D(this,_0x412746(0x312),null),D(this,_0x412746(0x3a0),new Map()),D(this,_0x412746(0x2ff),new H['BehaviorSubject'](se['IDLE'])),D(this,'status$',this['_status$'][_0x412746(0x221)]()),D(this,'_socketReady',!0x1),D(this,_0x412746(0x287)),D(this,_0x412746(0x23e),0x0),D(this,_0x412746(0x3be)),D(this,_0x412746(0x289)),(this[_0x412746(0x285)]=_0x3cc076,this[_0x412746(0x211)]=_0x631eae,this[_0x412746(0x2f6)]=_0x39ef67,this[_0x412746(0x3e2)]=_0x4c9ec3,this['_httpService']=_0x52590d,this[_0x412746(0x1fd)]=_0x3ca376,this[_0x412746(0x46b)]=_0x35915b,this[_0x412746(0x334)]());}get[_0x3943be(0x301)](){var _0x519361=_0x3943be;return this[_0x519361(0x284)][_0x519361(0x4c4)]();}[_0x3943be(0x334)](){var _0x1cbc06=_0x3943be;this[_0x1cbc06(0x46b)]&&this[_0x1cbc06(0x2d9)](this[_0x1cbc06(0x46b)]['online$'][_0x1cbc06(0x32c)](_0x47c783=>{var _0x29f8c5=_0x1cbc06;_0x47c783&&!this[_0x29f8c5(0x301)]&&this[_0x29f8c5(0x4f0)](),_0x47c783||this[_0x29f8c5(0x377)]();}));}[_0x3943be(0x3bd)](){var _0x1f613a=_0x3943be;super['dispose'](),this['_sessions'][_0x1f613a(0x1b0)](_0x586a8f=>_0x586a8f[_0x1f613a(0x3bd)]()),this[_0x1f613a(0x3a0)]['clear'](),this['_status$'][_0x1f613a(0x3ad)]();}async[_0x3943be(0x3a7)](_0xb69bea){var _0x139c9a=_0x3943be;if(this['_sessions'][_0x139c9a(0x424)](_0xb69bea))return this['_sessions'][_0x139c9a(0x412)](_0xb69bea);this[_0x139c9a(0x1a5)]();const _0x18ad13=this[_0x139c9a(0x285)][_0x139c9a(0x1e1)](exports['CollaborationSession'],_0xb69bea,this[_0x139c9a(0x284)][_0x139c9a(0x221)]());return this[_0x139c9a(0x3a0)]['set'](_0xb69bea,_0x18ad13),_0x18ad13;}['closeSession'](_0x2f00ce){var _0x58ebe7=_0x3943be,_0x3b98a9;const _0xafac62=this[_0x58ebe7(0x3a0)]['get'](_0x2f00ce);_0xafac62&&(this[_0x58ebe7(0x3a0)]['delete'](_0x2f00ce),_0xafac62[_0x58ebe7(0x3db)]()),this[_0x58ebe7(0x3a0)][_0x58ebe7(0x2d3)]||(_0x3b98a9=this['_socket'])==null||_0x3b98a9['close']();}[_0x3943be(0x4f0)](){var _0x3e1d66=_0x3943be;this[_0x3e1d66(0x23e)]=0x0,this[_0x3e1d66(0x287)]!=null&&(clearTimeout(this[_0x3e1d66(0x287)]),this[_0x3e1d66(0x287)]=null),this[_0x3e1d66(0x1ee)]();}async[_0x3943be(0x342)](){var _0x211657=_0x3943be,_0x3def60,_0x1af434,_0x579543;const _0x4f7e05=this[_0x211657(0x2f6)]['getConfig'](q),_0x104a62=(_0x3def60=_0x4f7e05==null?void 0x0:_0x4f7e05[_0x211657(0x235)])!=null?_0x3def60:Bt;return(_0x579543=(_0x1af434=(await this[_0x211657(0x1f2)][_0x211657(0x412)](_0x104a62,{'headers':{'Content-Type':'application/json'}}))[_0x211657(0x31d)])==null?void 0x0:_0x1af434[_0x211657(0x19a)])!=null?_0x579543:'';}[_0x3943be(0x2e2)](_0x746a0d){var _0x4fc834=_0x3943be,_0x3d3dec,_0x2f9d53;const _0x4f8bff=this[_0x4fc834(0x2f6)][_0x4fc834(0x44f)](ft),_0xd99da8=this[_0x4fc834(0x2f6)][_0x4fc834(0x44f)](q),_0x201c53=(_0x2f9d53=(_0x3d3dec=_0xd99da8==null?void 0x0:_0xd99da8[_0x4fc834(0x1ed)])!=null?_0x3d3dec:_0x4f8bff)!=null?_0x2f9d53:St,_0x3a1347=typeof window>'u'?new URL(_0x201c53):new URL(_0x201c53,window[_0x4fc834(0x2db)][_0x4fc834(0x1ef)]);_0x3a1347[_0x4fc834(0x19e)][_0x4fc834(0x3fe)](_0x4fc834(0x4eb),_0x746a0d);const _0x117bd4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4fc834(0x425)]);return _0x117bd4['get'](_0x4fc834(0x494))&&_0x3a1347[_0x4fc834(0x19e)][_0x4fc834(0x3fe)]('runId',_0x117bd4[_0x4fc834(0x412)](_0x4fc834(0x494))),_0x3a1347['toString']();}async[_0x3943be(0x1eb)](){var _0x3d44c0=_0x3943be;const _0x5562a3=await this[_0x3d44c0(0x342)](),_0x3097a8=this[_0x3d44c0(0x2e2)](_0x5562a3),_0x26391e=this[_0x3d44c0(0x3e2)][_0x3d44c0(0x431)](_0x3097a8);return this['_candidateSocket']=_0x26391e,_0x26391e;}async[_0x3943be(0x1a5)](){var _0x1d9184=_0x3943be,_0x50283d,_0x38dadf;try{const _0xc65344=(_0x38dadf=(_0x50283d=this['_socket'])!=null?_0x50283d:this[_0x1d9184(0x312)])!=null?_0x38dadf:await this[_0x1d9184(0x1eb)]();if(_0xc65344){const _0x11dbbf=_0xc65344[_0x1d9184(0x167)];_0xc65344[_0x1d9184(0x167)]=_0x2a1dd1=>(this[_0x1d9184(0x1ea)](),_0x11dbbf[_0x1d9184(0x22b)](_0xc65344,[_0x2a1dd1])),_0xc65344[_0x1d9184(0x1de)][_0x1d9184(0x32c)](_0x7fbd39=>this[_0x1d9184(0x2d5)](_0xc65344,_0x7fbd39)),_0xc65344[_0x1d9184(0x36f)]['pipe'](V[_0x1d9184(0x224)](0x1))['subscribe'](_0x8dd53b=>this[_0x1d9184(0x211)][_0x1d9184(0x394)](_0x1d9184(0x406),_0x8dd53b)),_0xc65344[_0x1d9184(0x359)][_0x1d9184(0x328)](V['take'](0x1))[_0x1d9184(0x32c)](()=>{this['_onConnectionOpen'](_0xc65344);}),_0xc65344[_0x1d9184(0x3e5)][_0x1d9184(0x328)](V[_0x1d9184(0x224)](0x1))['subscribe'](_0x1ab911=>{var _0x4414f0=_0x1d9184;this['_logService'][_0x4414f0(0x368)](_0x4414f0(0x244),'socket\x20close',_0x1ab911),this[_0x4414f0(0x207)]();});}}catch(_0x4fea15){this['_logService'][_0x1d9184(0x394)](_0x4fea15),this[_0x1d9184(0x207)]();}}['_onConnectionOpen'](_0x520287){var _0x208f83=_0x3943be;this['_logService'][_0x208f83(0x368)](_0x208f83(0x244),_0x208f83(0x48e)),_0x520287[_0x208f83(0x167)]({'cmd':G[_0x208f83(0x22e)]}),this[_0x208f83(0x1ea)]();}[_0x3943be(0x377)](){var _0x22cee2=_0x3943be;this[_0x22cee2(0x252)]=!0x1,this['_candidateSocket']=null,this[_0x22cee2(0x2ff)][_0x22cee2(0x3ed)](se['OFFLINE']),this[_0x22cee2(0x284)][_0x22cee2(0x3ed)](null),this[_0x22cee2(0x341)](),this['_clearHeartbeatTimer']();}[_0x3943be(0x207)](){var _0x2ef4da=_0x3943be,_0x16d164;this[_0x2ef4da(0x377)](),this[_0x2ef4da(0x23e)]<((_0x16d164=this[_0x2ef4da(0x2f6)][_0x2ef4da(0x44f)](mt))!=null?_0x16d164:Vt)?(this[_0x2ef4da(0x1fd)][_0x2ef4da(0x182)]({'id':Q[_0x2ef4da(0x3ea)]}),this[_0x2ef4da(0x1ee)]()):this[_0x2ef4da(0x1fd)][_0x2ef4da(0x182)]({'id':Q[_0x2ef4da(0x1f8)]});}[_0x3943be(0x1ee)](){var _0x5e4830=_0x3943be,_0x5c5c15;const _0x30a665=this[_0x5e4830(0x23e)],_0xbe53f5=this[_0x5e4830(0x2f6)]['getConfig'](q),_0x2b6399=_0x30a665===0x0?0x0:((_0x5c5c15=_0xbe53f5==null?void 0x0:_0xbe53f5[_0x5e4830(0x179)])!=null?_0x5c5c15:Wt)*0x2**_0x30a665;this[_0x5e4830(0x287)]=setTimeout(()=>{var _0x53a57b=_0x5e4830;clearTimeout(this[_0x53a57b(0x287)]),this[_0x53a57b(0x287)]=null,this[_0x53a57b(0x1a5)]();},_0x2b6399),this[_0x5e4830(0x23e)]+=0x1;}[_0x3943be(0x2d5)](_0x24150f,_0x1367d7){var _0x4e65fa=_0x3943be;const {cmd:_0x518ff6}=_0x1367d7;_0x518ff6===G[_0x4e65fa(0x22e)]&&!this[_0x4e65fa(0x252)]&&(_0x24150f[_0x4e65fa(0x314)]=_0x1367d7[_0x4e65fa(0x27f)][_0x4e65fa(0x314)],this[_0x4e65fa(0x284)][_0x4e65fa(0x3ed)](_0x24150f),this[_0x4e65fa(0x2ff)][_0x4e65fa(0x3ed)](se[_0x4e65fa(0x303)]),this['_socketReady']=!0x0,this[_0x4e65fa(0x312)]=null),_0x518ff6===G['HEARTBEAT']&&this[_0x4e65fa(0x341)](),this['_rescheduleHeartbeat']();}[_0x3943be(0x1ea)](){var _0x136a3f=_0x3943be,_0x4b5981;this['_clearHeartbeatTimer'](),this[_0x136a3f(0x3be)]=setTimeout(()=>this[_0x136a3f(0x1b1)](),(_0x4b5981=this[_0x136a3f(0x2f6)][_0x136a3f(0x44f)](pt))!=null?_0x4b5981:Ft);}[_0x3943be(0x1b1)](){var _0xad9fd3=_0x3943be;this[_0xad9fd3(0x301)][_0xad9fd3(0x167)]({'cmd':G[_0xad9fd3(0x397)]}),this['_waitForHeartbeatResponse']();}[_0x3943be(0x49a)](){var _0x165ac6=_0x3943be,_0x28db56;this[_0x165ac6(0x289)]=setTimeout(()=>this[_0x165ac6(0x207)](),(_0x28db56=this[_0x165ac6(0x2f6)]['getConfig'](He))!=null?_0x28db56:gt);}[_0x3943be(0x1ff)](){var _0x525f5c=_0x3943be;this[_0x525f5c(0x3be)]!=null&&(clearTimeout(this[_0x525f5c(0x3be)]),this[_0x525f5c(0x3be)]=null);}[_0x3943be(0x341)](){var _0x3c37de=_0x3943be;this[_0x3c37de(0x289)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x3c37de(0x289)]=null);}},exports[_0x3943be(0x466)]=di([ae(0x0,a['Inject'](a['Injector'])),ae(0x1,a['ILogService']),ae(0x2,a['IConfigService']),ae(0x3,ke),ae(0x4,a[_0x3943be(0x357)](z[_0x3943be(0x4de)])),ae(0x5,a['Inject'](te)),ae(0x6,a[_0x3943be(0x446)](bt))],exports[_0x3943be(0x466)]);const K=[];for(let r=0x0;r<0x100;++r)K[_0x3943be(0x367)]((r+0x100)[_0x3943be(0x2fc)](0x10)[_0x3943be(0x3ab)](0x1));function vi(_0x4b3661,_0x1cba6c=0x0){var _0x47985a=_0x3943be;return(K[_0x4b3661[_0x1cba6c+0x0]]+K[_0x4b3661[_0x1cba6c+0x1]]+K[_0x4b3661[_0x1cba6c+0x2]]+K[_0x4b3661[_0x1cba6c+0x3]]+'-'+K[_0x4b3661[_0x1cba6c+0x4]]+K[_0x4b3661[_0x1cba6c+0x5]]+'-'+K[_0x4b3661[_0x1cba6c+0x6]]+K[_0x4b3661[_0x1cba6c+0x7]]+'-'+K[_0x4b3661[_0x1cba6c+0x8]]+K[_0x4b3661[_0x1cba6c+0x9]]+'-'+K[_0x4b3661[_0x1cba6c+0xa]]+K[_0x4b3661[_0x1cba6c+0xb]]+K[_0x4b3661[_0x1cba6c+0xc]]+K[_0x4b3661[_0x1cba6c+0xd]]+K[_0x4b3661[_0x1cba6c+0xe]]+K[_0x4b3661[_0x1cba6c+0xf]])[_0x47985a(0x2b1)]();}let Ue;const fi=new Uint8Array(0x10);function Si(){var _0x6bc05a=_0x3943be;if(!Ue){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Ue=crypto[_0x6bc05a(0x426)][_0x6bc05a(0x458)](crypto);}return Ue(fi);}const pi=typeof crypto<'u'&&crypto[_0x3943be(0x4be)]&&crypto[_0x3943be(0x4be)][_0x3943be(0x458)](crypto),qe={'randomUUID':pi};function gi(_0x297383,_0x150276,_0x120bf8){var _0x573c73=_0x3943be;if(qe[_0x573c73(0x4be)]&&!_0x150276&&!_0x297383)return qe[_0x573c73(0x4be)]();_0x297383=_0x297383||{};const _0x4d06ed=_0x297383['random']||(_0x297383[_0x573c73(0x2eb)]||Si)();return _0x4d06ed[0x6]=_0x4d06ed[0x6]&0xf|0x40,_0x4d06ed[0x8]=_0x4d06ed[0x8]&0x3f|0x80,vi(_0x4d06ed);}const J=a[_0x3943be(0x31e)](_0x3943be(0x3c8));function mi(_0x10741e){var _0x4d548=_0x3943be;return _0x4d548(0x2ef)+_0x10741e;}var Ii=Object['defineProperty'],Ei=Object[_0x3943be(0x32a)],Ci=(_0x263d1c,_0x63234e,_0xda7f3f,_0x3bfbf8)=>{var _0x212b31=_0x3943be;for(var _0x3f29db=_0x3bfbf8>0x1?void 0x0:_0x3bfbf8?Ei(_0x63234e,_0xda7f3f):_0x63234e,_0x516e7d=_0x263d1c[_0x212b31(0x441)]-0x1,_0x2ebff1;_0x516e7d>=0x0;_0x516e7d--)(_0x2ebff1=_0x263d1c[_0x516e7d])&&(_0x3f29db=(_0x3bfbf8?_0x2ebff1(_0x63234e,_0xda7f3f,_0x3f29db):_0x2ebff1(_0x3f29db))||_0x3f29db);return _0x3bfbf8&&_0x3f29db&&Ii(_0x63234e,_0xda7f3f,_0x3f29db),_0x3f29db;},De=(_0x160c45,_0x108752)=>(_0xdc0ae1,_0x19952d)=>_0x108752(_0xdc0ae1,_0x19952d,_0x160c45);function Ti(_0x4a9992){const {unitID:_0x223c62,mutations:_0x166c39}=_0x4a9992;return{'unitId':_0x223c62,'subUnitId':_0x166c39[0x0]['params']['subUnitId']};}exports[_0x3943be(0x17e)]=class{constructor(_0x4d1552,_0x393fb8,_0xc8d814){var _0x285701=_0x3943be;this[_0x285701(0x285)]=_0x4d1552,this['_transformService']=_0x393fb8,this[_0x285701(0x41f)]=_0xc8d814;}[_0x3943be(0x40a)](_0xe5d648){var _0xaf27b0=_0x3943be,_0x2e5fcb,_0x219c0a,_0xb9bdf3,_0x498013;const _0x346886=this[_0xaf27b0(0x285)][_0xaf27b0(0x412)](W[_0xaf27b0(0x3c1)]),{unitId:_0x219414,subUnitId:_0x268db0}=Ti(_0xe5d648),_0x5cf73b=_0x346886==null?void 0x0:_0x346886[_0xaf27b0(0x1d7)](_0x219414)[_0xaf27b0(0x356)](),_0x11971e=(_0x219c0a=(_0x2e5fcb=this[_0xaf27b0(0x41f)][_0xaf27b0(0x45d)](_0x219414))==null?void 0x0:_0x2e5fcb[_0xaf27b0(0x4c8)]())==null?void 0x0:_0x219c0a[_0xaf27b0(0x16b)]();if(_0x5cf73b[_0xaf27b0(0x441)]===0x0||!_0x219414||!_0x268db0)return;const _0x223cf1=[{'id':W['SetSelectionsOperation']['id'],'params':{'unitId':_0x219414,'subUnitId':_0x11971e,'selections':a[_0xaf27b0(0x337)][_0xaf27b0(0x462)](_0x5cf73b)}}],_0x2619cb=this[_0xaf27b0(0x21e)]['transformMutationsWithChangeset'](_0xe5d648,_0x223cf1);if(!m[_0xaf27b0(0x16a)](_0x2619cb))throw _0x2619cb[_0xaf27b0(0x394)];const _0x3bf93b=(_0x498013=(_0xb9bdf3=_0x2619cb['m2Prime'][0x0])==null?void 0x0:_0xb9bdf3[_0xaf27b0(0x4e6)])==null?void 0x0:_0x498013['selections'];if(Array['isArray'](_0x3bf93b)&&_0x3bf93b[_0xaf27b0(0x441)]){if(_0x3bf93b[_0xaf27b0(0x441)]===_0x223cf1[0x0]['params']['selections'][_0xaf27b0(0x441)]&&_0x3bf93b[_0xaf27b0(0x350)]((_0xcd6d53,_0x3609cc)=>a[_0xaf27b0(0x31a)][_0xaf27b0(0x1a4)](_0xcd6d53[_0xaf27b0(0x3de)],_0x223cf1[0x0]['params']['selections'][_0x3609cc][_0xaf27b0(0x3de)])))return;this['_injector'][_0xaf27b0(0x412)](a[_0xaf27b0(0x4d9)])['executeCommand'](W['SetSelectionsOperation']['id'],{'unitId':_0x219414,'subUnitId':_0x11971e,'selections':_0x3bf93b});}}},exports[_0x3943be(0x17e)]=Ci([De(0x0,a['Inject'](a[_0x3943be(0x3b3)])),De(0x1,m['ITransformService']),De(0x2,a['IUniverInstanceService'])],exports['SheetTransformSelectionsService']);const ve=a['createIdentifier'](_0x3943be(0x22c));var Fe=(_0xa41383=>(_0xa41383[_0xa41383['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x3943be(0x166),_0xa41383[_0xa41383[_0x3943be(0x2e8)]=0x1]='OTHER_CLIENTS_EDITING',_0xa41383))(Fe||{});const bi=new Set([W[_0x3943be(0x20f)]['id']]);function ze(_0x219306,_0x9d87c3,_0x553164,_0x2cc7d9,_0x5e99f7){var _0x41362b=_0x3943be,_0x4f3960,_0x53f188,_0x32c10e,_0x1b4bb3;const _0x3aa2a5=[];for(const _0x3df7a3 of _0x219306)if(bi[_0x41362b(0x424)](_0x3df7a3['id'])){if(_0x3aa2a5[_0x41362b(0x441)]>0x0)break;_0x3aa2a5[_0x41362b(0x367)](_0x3df7a3);break;}else _0x3aa2a5[_0x41362b(0x367)](_0x3df7a3);const _0x428aab=(_0x53f188=(_0x4f3960=_0x5e99f7[_0x41362b(0x40c)]())==null?void 0x0:_0x4f3960[_0x41362b(0x1bf)])!=null?_0x53f188:'unknown',_0x1df857=(_0x1b4bb3=(_0x32c10e=_0x5e99f7[_0x41362b(0x40c)]())==null?void 0x0:_0x32c10e[_0x41362b(0x314)])!=null?_0x1b4bb3:'unknown';return{'changeset':{'unitID':_0x9d87c3,'type':m[_0x41362b(0x2c0)](_0x553164[_0x41362b(0x38c)](_0x9d87c3)),'baseRev':_0x2cc7d9[_0x41362b(0x332)](_0x9d87c3),'revision':0x0,'userID':_0x428aab,'memberID':_0x1df857,'mutations':_0x3aa2a5},'pendingMutations':_0x219306[_0x41362b(0x3ab)](_0x3aa2a5[_0x41362b(0x441)])};}function Ri(_0x1e757a,_0x49d698,_0x51e3f1,_0x1ccf89,_0x4a824c){var _0x4e75d8=_0x3943be,_0x3a98d9,_0x23699a,_0x4a0023,_0x53f402;const _0x9f4a00=[_0x1e757a[_0x4e75d8(0x2f0)]((_0x1c185c,_0x5b68fa)=>{var _0x16fb8c=_0x4e75d8,_0x3c88f8;const {id:_0x3d3219}=_0x1c185c,{id:_0x33c030,type:_0x412d22}=_0x5b68fa,_0x2c06b7=(_0x3c88f8=_0x1c185c['params'])!=null?_0x3c88f8:{'actions':null},_0x3c2f49=_0x5b68fa[_0x16fb8c(0x4e6)];if(_0x3d3219&&_0x3d3219!==_0x33c030)throw new Error(_0x16fb8c(0x246)+_0x3d3219+_0x16fb8c(0x393)+_0x33c030+'.');return{..._0x1c185c,'id':_0x33c030,'type':_0x412d22,'params':{'unitId':_0x3c2f49[_0x16fb8c(0x4a0)],'textRanges':_0x3c2f49[_0x16fb8c(0x210)],'actions':a[_0x16fb8c(0x353)][_0x16fb8c(0x43c)](_0x2c06b7[_0x16fb8c(0x1fb)],_0x3c2f49['actions'])}};},{})],_0x4fda04=(_0x23699a=(_0x3a98d9=_0x4a824c[_0x4e75d8(0x40c)]())==null?void 0x0:_0x3a98d9[_0x4e75d8(0x1bf)])!=null?_0x23699a:_0x4e75d8(0x2f9),_0x3aee91=(_0x53f402=(_0x4a0023=_0x4a824c[_0x4e75d8(0x40c)]())==null?void 0x0:_0x4a0023[_0x4e75d8(0x314)])!=null?_0x53f402:'unknown';return{'changeset':{'unitID':_0x49d698,'type':m[_0x4e75d8(0x2c0)](_0x51e3f1[_0x4e75d8(0x38c)](_0x49d698)),'baseRev':_0x1ccf89[_0x4e75d8(0x332)](_0x49d698),'revision':0x0,'userID':_0x4fda04,'memberID':_0x3aee91,'mutations':_0x9f4a00},'pendingMutations':[]};}function yt(_0x34d460,_0x24509e){var _0x53d88b=_0x3943be;const _0x551dac=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x551dac[_0x53d88b(0x3ed)](_0x24509e),_0x34d460),_0x551dac[_0x53d88b(0x221)]()['pipe'](H[_0x53d88b(0x224)](0x1));}const Oi={'id':W[_0x3943be(0x36b)]['id'],'type':a[_0x3943be(0x2e6)]['MUTATION'],'params':{}};var yi=Object['defineProperty'],Pi=Object[_0x3943be(0x32a)],le=(_0x2fd22a,_0x5c24a5,_0x280ef9,_0x2d750e)=>{var _0x456a86=_0x3943be;for(var _0x310e10=_0x2d750e>0x1?void 0x0:_0x2d750e?Pi(_0x5c24a5,_0x280ef9):_0x5c24a5,_0x566d7f=_0x2fd22a[_0x456a86(0x441)]-0x1,_0x380898;_0x566d7f>=0x0;_0x566d7f--)(_0x380898=_0x2fd22a[_0x566d7f])&&(_0x310e10=(_0x2d750e?_0x380898(_0x5c24a5,_0x280ef9,_0x310e10):_0x380898(_0x310e10))||_0x310e10);return _0x2d750e&&_0x310e10&&yi(_0x5c24a5,_0x280ef9,_0x310e10),_0x310e10;},A=(_0x3aa2c7,_0x793e6e)=>(_0x3da3d8,_0x289205)=>_0x793e6e(_0x3da3d8,_0x289205,_0x3aa2c7),We=(_0x32bfa4=>(_0x32bfa4[_0x3943be(0x4a4)]='not_collab',_0x32bfa4[_0x3943be(0x2c1)]='synced',_0x32bfa4[_0x3943be(0x267)]='pending',_0x32bfa4[_0x3943be(0x2f1)]=_0x3943be(0x261),_0x32bfa4[_0x3943be(0x1b6)]='awaiting_with_pending',_0x32bfa4[_0x3943be(0x3d0)]=_0x3943be(0x1d4),_0x32bfa4[_0x3943be(0x3e7)]='conflict',_0x32bfa4[_0x3943be(0x48f)]=_0x3943be(0x28b),_0x32bfa4))(We||{});const Pt=0xea60;class _e{constructor(_0x597c0e,_0x50ed6c,_0x5bea34,_0x32deb0,_0x13ef18,_0x1d53eb,_0x29c5b3,_0x5a3523,_0x43216f){var _0x31811d=_0x3943be;D(this,_0x31811d(0x3cd),null),D(this,_0x31811d(0x1e6),[]),(this[_0x31811d(0x305)]=_0x597c0e,this[_0x31811d(0x1b9)]=_0x50ed6c,this[_0x31811d(0x272)]=_0x13ef18,this[_0x31811d(0x451)]=_0x1d53eb,this[_0x31811d(0x432)]=_0x29c5b3,this['_revisionService']=_0x5a3523,this[_0x31811d(0x482)]=_0x43216f,this[_0x31811d(0x3cd)]=_0x5bea34,this[_0x31811d(0x1e6)]=_0x32deb0);}['_checkMissing'](_0x1b17dc){var _0x4aac97=_0x3943be;const _0x3e52b3=this['_revisionService'][_0x4aac97(0x332)](this[_0x4aac97(0x305)]);return _0x1b17dc[_0x4aac97(0x395)]>_0x3e52b3+0x1?(this['_handler'][_0x4aac97(0x16c)]({'from':_0x3e52b3,'to':_0x1b17dc['revision']-0x1}),!0x0):!0x1;}[_0x3943be(0x34c)](_0x268f73){var _0x230382=_0x3943be;this['_undoRedoService'][_0x230382(0x30e)](this['unitID'],_0x268f73);}[_0x3943be(0x3c4)](_0x522fa4){var _0x206418=_0x3943be,_0x11b521,_0x36a8e2;(_0x36a8e2=(_0x11b521=this[_0x206418(0x272)])[_0x206418(0x236)])==null||_0x36a8e2[_0x206418(0x339)](_0x11b521,_0x522fa4);}[_0x3943be(0x2ec)](_0x5381d1){var _0x19a1ea=_0x3943be,_0x219032,_0x46fee5;return(_0x46fee5=(_0x219032=this['_handler'])[_0x19a1ea(0x1e9)])==null?void 0x0:_0x46fee5[_0x19a1ea(0x339)](_0x219032,_0x5381d1);}[_0x3943be(0x3ac)](_0x5dc35d){var _0x1dc305=_0x3943be,_0x5be653,_0x4b5e07;return(_0x4b5e07=(_0x5be653=this[_0x1dc305(0x272)])[_0x1dc305(0x391)])==null?void 0x0:_0x4b5e07[_0x1dc305(0x339)](_0x5be653,_0x5dc35d);}[_0x3943be(0x364)](_0x4ccd31){var _0x2fce69=_0x3943be,_0x4dd56f,_0x1e15b1,_0x2ae853;return(_0x2ae853=(_0x1e15b1=(_0x4dd56f=this[_0x2fce69(0x272)])[_0x2fce69(0x41c)])==null?void 0x0:_0x1e15b1['call'](_0x4dd56f,_0x4ccd31))!=null?_0x2ae853:_0x4ccd31;}[_0x3943be(0x41a)](_0x9d6d5){var _0x5ef061=_0x3943be,_0x192394,_0x33b5cf,_0x3af98f;return(_0x3af98f=(_0x33b5cf=(_0x192394=this['_handler'])[_0x5ef061(0x1c1)])==null?void 0x0:_0x33b5cf['call'](_0x192394,_0x9d6d5))!=null?_0x3af98f:_0x9d6d5;}[_0x3943be(0x3f4)](_0x4f39ce){var _0x3778b5=_0x3943be,_0x278f56,_0x41e607;if(this[_0x3778b5(0x1b9)]===Z[_0x3778b5(0x242)]){const {unitID:_0x271653,mutations:_0x423dbe,memberID:_0x5b7437}=_0x4f39ce,_0x5a89a6=_0x423dbe[0x0][_0x3778b5(0x4e6)][_0x3778b5(0x210)];Array[_0x3778b5(0x3bf)](_0x5a89a6)&&_0x5a89a6[_0x3778b5(0x441)]>0x0&&((_0x41e607=(_0x278f56=this[_0x3778b5(0x272)])[_0x3778b5(0x2f8)])==null||_0x41e607[_0x3778b5(0x339)](_0x278f56,{'unitID':_0x271653,'memberID':_0x5b7437,'textRanges':_0x5a89a6}));}}[_0x3943be(0x472)](){var _0x3a1334=_0x3943be,_0x1c4784;(_0x1c4784=this[_0x3a1334(0x482)])==null||_0x1c4784[_0x3a1334(0x184)](this['unitID'],this[_0x3a1334(0x1b9)],this[_0x3a1334(0x3cd)],this[_0x3a1334(0x1e6)]);}[_0x3943be(0x3e3)](){var _0x1c63ad=_0x3943be;return this[_0x1c63ad(0x413)][_0x1c63ad(0x332)](this[_0x1c63ad(0x305)]);}['_incrementRevisionNumber'](){var _0x323ba9=_0x3943be;this[_0x323ba9(0x413)][_0x323ba9(0x194)](this[_0x323ba9(0x305)]);}[_0x3943be(0x2c6)](_0x459b9d){var _0x1cf5ee=_0x3943be,_0x11764a;let _0x4a25a1=this[_0x1cf5ee(0x364)](_0x459b9d);_0x4a25a1=this['_transformRemoteChangesetByStateCache'](_0x4a25a1);const _0x4d0d02=a[_0x1cf5ee(0x3da)](_0x4a25a1[_0x1cf5ee(0x4aa)],this[_0x1cf5ee(0x451)],{'fromCollab':!0x0});if(!_0x4d0d02[_0x1cf5ee(0x311)])throw _0x4d0d02[_0x1cf5ee(0x394)]instanceof Error?_0x4d0d02[_0x1cf5ee(0x394)]:new Error((_0x11764a=_0x4d0d02['error'])!=null?_0x11764a:_0x1cf5ee(0x20c));this[_0x1cf5ee(0x2ec)](_0x4a25a1),this[_0x1cf5ee(0x3ac)](_0x4a25a1),this[_0x1cf5ee(0x34c)](_0x459b9d),this['_transformSelections'](_0x4a25a1),this[_0x1cf5ee(0x3f4)](_0x4a25a1),this[_0x1cf5ee(0x486)]();}}exports['SyncedState']=class extends _e{constructor(_0x57a617,_0x3e43fb,_0x1ff86e,_0x2fb22e,_0x1cf504,_0xf6bbe6,_0x3d151e,_0x435a16,_0x21d3a7,_0x2fd60b){var _0x16247e=_0x3943be;super(_0x57a617,_0x3e43fb,null,[],_0x1ff86e,_0x3d151e,_0xf6bbe6,_0x2fb22e,_0x2fd60b),D(this,_0x16247e(0x423),_0x16247e(0x1c2)),(this[_0x16247e(0x285)]=_0x1cf504,this['_logService']=_0x435a16,this[_0x16247e(0x21e)]=_0x21d3a7,this[_0x16247e(0x4b7)]=_0x2fd60b);}[_0x3943be(0x266)](_0x430fc6){var _0x2a1310=_0x3943be;const _0xa453d8=this[_0x2a1310(0x285)]['createInstance'](exports[_0x2a1310(0x273)],this['unitID'],this[_0x2a1310(0x1b9)],[_0x430fc6],this['_handler']);return _0xa453d8['_schedule'](),_0xa453d8[_0x2a1310(0x472)](),_0xa453d8;}['onRemoteChangeset'](_0x55822a){var _0x7ad853=_0x3943be;if(this[_0x7ad853(0x463)](_0x55822a))return this[_0x7ad853(0x285)][_0x7ad853(0x1e1)](exports['FetchingMissState'],this[_0x7ad853(0x305)],this[_0x7ad853(0x1b9)],null,[],null,[_0x55822a],this[_0x7ad853(0x272)]);try{const _0x458689=this[_0x7ad853(0x21e)][_0x7ad853(0x25b)](_0x55822a,[Oi]);if(m[_0x7ad853(0x16a)](_0x458689)){const {c1Prime:_0x49d3e1}=_0x458689;return this[_0x7ad853(0x2c6)](_0x49d3e1),this;}throw _0x458689[_0x7ad853(0x394)];}catch(_0x28079a){return this['_logService'][_0x7ad853(0x394)](_0x28079a),this[_0x7ad853(0x310)](!0x1);}}[_0x3943be(0x310)](_0x5d9402){var _0xf1b59b=_0x3943be;return this['_injector']['createInstance'](exports[_0xf1b59b(0x2a9)],this[_0xf1b59b(0x305)],this['type'],null,[],this[_0xf1b59b(0x272)],_0x5d9402);}['onRemoteAck'](){var _0x76a2cc=_0x3943be;throw new Error(_0x76a2cc(0x4c9));}[_0x3943be(0x21a)](){var _0x1e03f9=_0x3943be;throw new Error(_0x1e03f9(0x30d));}[_0x3943be(0x1da)](){return this;}[_0x3943be(0x192)](){var _0x535c89=_0x3943be;return this[_0x535c89(0x285)]['createInstance'](exports[_0x535c89(0x240)],this[_0x535c89(0x305)],this[_0x535c89(0x1b9)],null,[],this[_0x535c89(0x272)]);}[_0x3943be(0x171)](){return this;}[_0x3943be(0x414)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3943be(0x4a3)](){var _0x494306=_0x3943be;const _0x50f72c=this['_revisionService'][_0x494306(0x332)](this[_0x494306(0x305)]);return this['_handler'][_0x494306(0x16c)]({'from':_0x50f72c,'to':0x0}),this[_0x494306(0x285)][_0x494306(0x1e1)](exports[_0x494306(0x467)],this[_0x494306(0x305)],this[_0x494306(0x1b9)],null,[],null,[],this[_0x494306(0x272)]);}},exports[_0x3943be(0x499)]=le([A(0x3,a[_0x3943be(0x357)](m[_0x3943be(0x44e)])),A(0x4,a['Inject'](a[_0x3943be(0x3b3)])),A(0x5,a[_0x3943be(0x42e)]),A(0x6,a['ICommandService']),A(0x7,a[_0x3943be(0x3aa)]),A(0x8,m[_0x3943be(0x39f)]),A(0x9,a[_0x3943be(0x446)](J))],exports[_0x3943be(0x499)]),exports[_0x3943be(0x273)]=class extends _e{constructor(_0x513f55,_0x4cb226,_0xb6ac80,_0x23b5ce,_0x512a58,_0x2f0e39,_0x57b843,_0x424861,_0x306cab,_0x2a7a0c,_0x458d3d,_0x519d89,_0x3deccb,_0x38d54c){var _0x68cba4=_0x3943be;super(_0x513f55,_0x4cb226,null,_0xb6ac80,_0x23b5ce,_0x306cab,_0x3deccb,_0x2f0e39,_0x38d54c),D(this,_0x68cba4(0x423),'pending'),D(this,_0x68cba4(0x1f3),null),D(this,_0x68cba4(0x275),null),(this[_0x68cba4(0x285)]=_0x512a58,this[_0x68cba4(0x4b3)]=_0x57b843,this['_logService']=_0x424861,this['_configService']=_0x2a7a0c,this['_transformService']=_0x458d3d,this['_univerInstanceService']=_0x519d89);}[_0x3943be(0x266)](_0x519f62){var _0x3d07a2=_0x3943be;return this['_pendingMutations']['push'](_0x519f62),this[_0x3d07a2(0x472)](),this;}[_0x3943be(0x2b0)](_0x41994f){var _0x51c438=_0x3943be;if(this[_0x51c438(0x463)](_0x41994f))return this[_0x51c438(0x405)](),this[_0x51c438(0x285)]['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x51c438(0x1b9)],null,this[_0x51c438(0x1e6)],null,[_0x41994f],this[_0x51c438(0x272)]);try{const _0x58e6a7=this[_0x51c438(0x21e)][_0x51c438(0x25b)](_0x41994f,this['_pendingMutations']);if(m[_0x51c438(0x16a)](_0x58e6a7)){const {c1Prime:_0x5d7dc6,m2Prime:_0x30ec97}=_0x58e6a7;this[_0x51c438(0x2c6)](_0x5d7dc6);const _0x1ba4e4=this[_0x51c438(0x285)]['createInstance'](exports['PendingState'],this[_0x51c438(0x305)],this['type'],_0x30ec97,this[_0x51c438(0x272)]);return this[_0x51c438(0x405)](),_0x1ba4e4[_0x51c438(0x4a8)](this[_0x51c438(0x1f3)]?Math[_0x51c438(0x229)](0x0,new Date()['getTime']()-this[_0x51c438(0x1f3)]):this['_getSendChangesetTimeout']()),_0x1ba4e4;}throw _0x58e6a7['error'];}catch(_0x58667d){return this['_logService']['error'](_0x58667d),this[_0x51c438(0x310)](!0x1);}}[_0x3943be(0x41e)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x3943be(0x21a)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x3943be(0x1da)](){return this;}['toggleOffline'](){var _0x93720d=_0x3943be;return this[_0x93720d(0x405)](),this['_injector'][_0x93720d(0x1e1)](exports[_0x93720d(0x240)],this[_0x93720d(0x305)],this[_0x93720d(0x1b9)],null,this[_0x93720d(0x1e6)],this[_0x93720d(0x272)]);}[_0x3943be(0x171)](){return this;}['_schedule'](_0x257f50){var _0x516aef=_0x3943be;const _0x223b1b=_0x257f50!=null?_0x257f50:this[_0x516aef(0x3d5)]();this['_scheduleTimestamp']=new Date()[_0x516aef(0x1a6)](),this[_0x516aef(0x275)]=setTimeout(()=>{var _0x4e569f=_0x516aef;this[_0x4e569f(0x405)]();let _0x4f37d1=null;switch(this['type']){case Z[_0x4e569f(0x49f)]:{_0x4f37d1=ze(this[_0x4e569f(0x1e6)],this[_0x4e569f(0x305)],this['_univerInstanceService'],this[_0x4e569f(0x413)],this['_memberService']);break;}case Z['UNIVER_DOC']:{this[_0x4e569f(0x1e6)][_0x4e569f(0x350)](_0x1229e7=>_0x1229e7['id']===ut['RichTextEditingMutation']['id'])?_0x4f37d1=Ri(this['_pendingMutations'],this['unitID'],this[_0x4e569f(0x44d)],this[_0x4e569f(0x413)],this[_0x4e569f(0x4b3)]):_0x4f37d1=ze(this[_0x4e569f(0x1e6)],this[_0x4e569f(0x305)],this[_0x4e569f(0x44d)],this[_0x4e569f(0x413)],this[_0x4e569f(0x4b3)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x4e569f(0x274));}const {changeset:_0x3fcb9c,pendingMutations:_0x341965}=_0x4f37d1;this[_0x4e569f(0x272)][_0x4e569f(0x2d8)](_0x3fcb9c);const _0x4c6d1f=_0x341965[_0x4e569f(0x441)]?this[_0x4e569f(0x285)][_0x4e569f(0x1e1)](exports[_0x4e569f(0x1d3)],this[_0x4e569f(0x305)],this[_0x4e569f(0x1b9)],_0x3fcb9c,_0x341965,this[_0x4e569f(0x272)],void 0x0):this['_injector'][_0x4e569f(0x1e1)](exports['AwaitingState'],this[_0x4e569f(0x305)],this[_0x4e569f(0x1b9)],_0x3fcb9c,this[_0x4e569f(0x272)]);_0x4c6d1f[_0x4e569f(0x472)](),this[_0x4e569f(0x272)][_0x4e569f(0x1d9)](this,_0x4c6d1f);},_0x223b1b);}[_0x3943be(0x3d5)](){var _0xb95c3e=_0x3943be,_0x416f4a;const _0x1399ec=this['_configService'][_0xb95c3e(0x44f)](q);return(_0x416f4a=_0x1399ec==null?void 0x0:_0x1399ec[_0xb95c3e(0x2f5)])!=null?_0x416f4a:kt;}[_0x3943be(0x414)](){var _0x34c722=_0x3943be;throw new Error(_0x34c722(0x1b7));}[_0x3943be(0x405)](){var _0x295d6c=_0x3943be;this[_0x295d6c(0x275)]!=null&&(clearTimeout(this[_0x295d6c(0x275)]),this[_0x295d6c(0x275)]=null);}[_0x3943be(0x310)](_0x2828f7){var _0x1142b2=_0x3943be;return this[_0x1142b2(0x405)](),this[_0x1142b2(0x285)]['createInstance'](exports[_0x1142b2(0x2a9)],this[_0x1142b2(0x305)],this[_0x1142b2(0x1b9)],null,this[_0x1142b2(0x1e6)],this[_0x1142b2(0x272)],_0x2828f7);}},exports[_0x3943be(0x273)]=le([A(0x4,a[_0x3943be(0x357)](a[_0x3943be(0x3b3)])),A(0x5,a[_0x3943be(0x357)](m[_0x3943be(0x44e)])),A(0x6,a[_0x3943be(0x357)](exports[_0x3943be(0x3a5)])),A(0x7,a[_0x3943be(0x3aa)]),A(0x8,a['ICommandService']),A(0x9,a[_0x3943be(0x366)]),A(0xa,m['ITransformService']),A(0xb,a[_0x3943be(0x322)]),A(0xc,a[_0x3943be(0x42e)]),A(0xd,a[_0x3943be(0x446)](J))],exports[_0x3943be(0x273)]),exports[_0x3943be(0x3b8)]=class extends _e{constructor(_0x205644,_0x27b48f,_0x3472c7,_0x21df56,_0xf0e8b1,_0x400655,_0x1c8a79,_0x3ef582,_0x2c0ba3,_0x2d16cf,_0x2e4739){var _0x1e7b30=_0x3943be;super(_0x205644,_0x27b48f,_0x3472c7,[],_0x21df56,_0x1c8a79,_0x2d16cf,_0x400655,_0x2e4739),D(this,_0x1e7b30(0x423),'awaiting'),D(this,_0x1e7b30(0x18a),0x0),D(this,_0x1e7b30(0x1f5)),D(this,_0x1e7b30(0x2a0)),(this[_0x1e7b30(0x285)]=_0xf0e8b1,this[_0x1e7b30(0x211)]=_0x3ef582,this['_transformService']=_0x2c0ba3);}['appendMutation'](_0x1cdc10){var _0x10cb36=_0x3943be;this[_0x10cb36(0x405)]();const _0x1f1fb4=this['_injector']['createInstance'](exports['AwaitingWithPendingState'],this[_0x10cb36(0x305)],this[_0x10cb36(0x1b9)],this[_0x10cb36(0x3cd)],[_0x1cdc10],this['_handler'],this[_0x10cb36(0x1f5)]);return _0x1f1fb4['_updateLocalCache'](),_0x1f1fb4;}[_0x3943be(0x2b0)](_0x7483fb){var _0x223523=_0x3943be;if(this[_0x223523(0x463)](_0x7483fb))return this['_clearScheduledTask'](),this[_0x223523(0x285)][_0x223523(0x1e1)](exports['FetchingMissState'],this[_0x223523(0x305)],this[_0x223523(0x1b9)],this['_awaitingChangeset'],[],null,[_0x7483fb],this[_0x223523(0x272)]);try{const _0x1362e8=this[_0x223523(0x21e)]['transformChangesets']([_0x7483fb],[this['_awaitingChangeset']],!0x1);if(m[_0x223523(0x1df)](_0x1362e8)){const {c1Prime:_0x3cc3c6,c2Prime:_0x5a1180}=_0x1362e8;this[_0x223523(0x2c6)](_0x3cc3c6[0x0]),_0x5a1180[0x0][_0x223523(0x20a)]=this[_0x223523(0x3e3)](),this[_0x223523(0x405)]();const _0x50a893=this[_0x223523(0x285)][_0x223523(0x1e1)](exports['AwaitingState'],this[_0x223523(0x305)],this[_0x223523(0x1b9)],_0x5a1180[0x0],this['_handler']);return _0x50a893['_updateLocalCache'](),_0x50a893;}return this['_onConflict'](!0x1);}catch(_0xd1279){return this[_0x223523(0x211)][_0x223523(0x394)](_0xd1279),this[_0x223523(0x310)](!0x1);}}[_0x3943be(0x41e)](_0x210672){var _0x53862c=_0x3943be;this[_0x53862c(0x405)]();const _0x2f0fd7=this['_revisionService'][_0x53862c(0x332)](this[_0x53862c(0x305)]);if(_0x210672['revision']<_0x2f0fd7-0x1)return this;if(this[_0x53862c(0x463)](_0x210672))return this[_0x53862c(0x285)][_0x53862c(0x1e1)](exports[_0x53862c(0x467)],this[_0x53862c(0x305)],this[_0x53862c(0x1b9)],null,[],this[_0x53862c(0x3cd)],[],this['_handler']);this[_0x53862c(0x486)]();const _0x5c8fbe=this[_0x53862c(0x285)][_0x53862c(0x1e1)](exports[_0x53862c(0x499)],this['unitID'],this[_0x53862c(0x1b9)],this['_handler']);return _0x5c8fbe[_0x53862c(0x472)](),_0x5c8fbe;}[_0x3943be(0x21a)](_0x1f9445){var _0x2729a3=_0x3943be;return this[_0x2729a3(0x310)](!!(_0x1f9445!=null&&_0x1f9445[_0x2729a3(0x2dc)]));}['onRemoteRetry'](_0xacae13){var _0x5e1a10=_0x3943be;return this[_0x5e1a10(0x18a)]>Pt?this[_0x5e1a10(0x192)]():(this[_0x5e1a10(0x1f5)]=yt(this[_0x5e1a10(0x18a)],{'timeout':this[_0x5e1a10(0x18a)],'reqId':_0xacae13[_0x5e1a10(0x3ee)]}),this[_0x5e1a10(0x2a0)]=this['_resendTimer'][_0x5e1a10(0x32c)](({reqId:_0xfa76aa,timeout:_0x4c36e8})=>{this['_resendWithTimeout'](_0xfa76aa,_0x4c36e8);}),this);}[_0x3943be(0x192)](){var _0x4128be=_0x3943be;return this['_clearScheduledTask'](),this[_0x4128be(0x285)][_0x4128be(0x1e1)](exports[_0x4128be(0x240)],this['unitID'],this[_0x4128be(0x1b9)],this[_0x4128be(0x3cd)],[],this['_handler']);}[_0x3943be(0x171)](){return this;}[_0x3943be(0x414)](){var _0x42f6ed=_0x3943be;this[_0x42f6ed(0x272)][_0x42f6ed(0x2d8)](this['_awaitingChangeset']);}[_0x3943be(0x310)](_0x8f96ca){var _0x3c4104=_0x3943be;return this[_0x3c4104(0x405)](),this[_0x3c4104(0x285)][_0x3c4104(0x1e1)](exports['ConflictState'],this[_0x3c4104(0x305)],this[_0x3c4104(0x1b9)],this[_0x3c4104(0x3cd)],[],this[_0x3c4104(0x272)],_0x8f96ca);}[_0x3943be(0x186)](_0x44705e,_0x567727){var _0x4c7be4=_0x3943be,_0x3e0b69;_0x44705e===((_0x3e0b69=this[_0x4c7be4(0x3cd)])==null?void 0x0:_0x3e0b69['reqId'])&&(this['resend'](),this[_0x4c7be4(0x18a)]=_0x567727===0x0?0x3e8:_0x567727*0x2);}['_clearScheduledTask'](){var _0x43c45d=_0x3943be,_0x23fe83;(_0x23fe83=this[_0x43c45d(0x2a0)])==null||_0x23fe83[_0x43c45d(0x2c8)](),this[_0x43c45d(0x18a)]=0x0;}},exports['AwaitingState']=le([A(0x4,a['Inject'](a[_0x3943be(0x3b3)])),A(0x5,a[_0x3943be(0x357)](m['RevisionService'])),A(0x6,a[_0x3943be(0x4d9)]),A(0x7,a['ILogService']),A(0x8,m['ITransformService']),A(0x9,a[_0x3943be(0x42e)]),A(0xa,a[_0x3943be(0x446)](J))],exports['AwaitingState']),exports[_0x3943be(0x1d3)]=class extends _e{constructor(_0x57f5b5,_0x4a5502,_0x58e31e,_0x1774b7,_0x18b58c,_0x4f856b,_0x538193,_0x194a18,_0x3f2d52,_0x380096,_0xd4255b,_0x3df07e,_0x248501){var _0x411b05=_0x3943be;super(_0x57f5b5,_0x4a5502,_0x58e31e,_0x1774b7,_0x18b58c,_0x3f2d52,_0x3df07e,_0x194a18,_0x248501),D(this,_0x411b05(0x423),_0x411b05(0x215)),D(this,_0x411b05(0x18a),0x0),D(this,_0x411b05(0x1f5)),D(this,'_sender'),(this[_0x411b05(0x285)]=_0x538193,this[_0x411b05(0x211)]=_0x380096,this['_transformService']=_0xd4255b,this[_0x411b05(0x4b7)]=_0x248501,_0x4f856b&&(this[_0x411b05(0x1f5)]=_0x4f856b,this[_0x411b05(0x2a0)]=this[_0x411b05(0x1f5)][_0x411b05(0x32c)](({reqId:_0x5c7041,timeout:_0x1ecca9})=>{var _0x48e90d=_0x411b05;this[_0x48e90d(0x186)](_0x5c7041,_0x1ecca9);})));}[_0x3943be(0x266)](_0xd16627){return this['_pendingMutations']['push'](_0xd16627),this;}[_0x3943be(0x2b0)](_0x1a7412){var _0x2832bb=_0x3943be;if(this['_checkMissing'](_0x1a7412))return this['_clearScheduledTask'](),this[_0x2832bb(0x285)]['createInstance'](exports[_0x2832bb(0x467)],this['unitID'],this[_0x2832bb(0x1b9)],this[_0x2832bb(0x3cd)],this[_0x2832bb(0x1e6)],null,[_0x1a7412],this[_0x2832bb(0x272)]);try{const _0x366681=this['_transformService'][_0x2832bb(0x231)]([_0x1a7412],[this[_0x2832bb(0x3cd)]],!0x1);if(m[_0x2832bb(0x1df)](_0x366681)){const {c1Prime:_0x79073b,c2Prime:_0x48a4e8}=_0x366681,_0x274f2b=this[_0x2832bb(0x21e)][_0x2832bb(0x25b)](_0x79073b[0x0],this['_pendingMutations']);if(m[_0x2832bb(0x16a)](_0x274f2b)){const {c1Prime:_0x3ff38f,m2Prime:_0x3764c3}=_0x274f2b;return this[_0x2832bb(0x2c6)](_0x3ff38f),_0x48a4e8[0x0]['baseRev']=this[_0x2832bb(0x3e3)](),this['_clearScheduledTask'](),this[_0x2832bb(0x285)][_0x2832bb(0x1e1)](exports[_0x2832bb(0x1d3)],this[_0x2832bb(0x305)],this[_0x2832bb(0x1b9)],_0x48a4e8[0x0],_0x3764c3,this['_handler'],void 0x0);}throw _0x274f2b['error'];}throw _0x366681['error'];}catch(_0x217817){return this[_0x2832bb(0x211)][_0x2832bb(0x394)](_0x217817),this['_onConflict'](!0x1);}}[_0x3943be(0x41e)](_0xa61729){var _0x5e673c=_0x3943be;if(this[_0x5e673c(0x405)](),this[_0x5e673c(0x463)](_0xa61729))return this['_injector'][_0x5e673c(0x1e1)](exports[_0x5e673c(0x467)],this['unitID'],this[_0x5e673c(0x1b9)],null,this[_0x5e673c(0x1e6)],this['_awaitingChangeset'],[],this['_handler']);this[_0x5e673c(0x486)]();const _0xceff5d=this[_0x5e673c(0x285)][_0x5e673c(0x1e1)](exports[_0x5e673c(0x273)],this['unitID'],this[_0x5e673c(0x1b9)],this[_0x5e673c(0x1e6)],this[_0x5e673c(0x272)]);return _0xceff5d[_0x5e673c(0x4a8)](),_0xceff5d['_updateLocalCache'](),_0xceff5d;}[_0x3943be(0x21a)](_0x3eb20e){var _0x4febdf=_0x3943be;return this[_0x4febdf(0x310)](!!(_0x3eb20e!=null&&_0x3eb20e[_0x4febdf(0x2dc)]));}['onRemoteRetry'](_0x5c9edb){var _0x5e2f9c=_0x3943be;return this['_resendTimeout']>Pt?this[_0x5e2f9c(0x192)]():(this[_0x5e2f9c(0x1f5)]=yt(this[_0x5e2f9c(0x18a)],{'timeout':this['_resendTimeout'],'reqId':_0x5c9edb['reqId']}),this[_0x5e2f9c(0x2a0)]=this[_0x5e2f9c(0x1f5)][_0x5e2f9c(0x32c)](({reqId:_0x5d7726,timeout:_0x318b1b})=>{var _0x3d77c3=_0x5e2f9c;this[_0x3d77c3(0x186)](_0x5d7726,_0x318b1b);}),this);}['toggleOffline'](){var _0x57d537=_0x3943be;return this[_0x57d537(0x405)](),this[_0x57d537(0x285)]['createInstance'](exports[_0x57d537(0x240)],this['unitID'],this[_0x57d537(0x1b9)],this['_awaitingChangeset'],this[_0x57d537(0x1e6)],this[_0x57d537(0x272)]);}[_0x3943be(0x171)](){return this;}['resend'](){var _0x316b24=_0x3943be;this[_0x316b24(0x272)]['onSendChangeset'](this[_0x316b24(0x3cd)]);}[_0x3943be(0x310)](_0xa2c7f3){var _0x57db2f=_0x3943be;return this[_0x57db2f(0x405)](),this[_0x57db2f(0x285)][_0x57db2f(0x1e1)](exports[_0x57db2f(0x2a9)],this[_0x57db2f(0x305)],this[_0x57db2f(0x1b9)],null,this[_0x57db2f(0x1e6)],this['_handler'],_0xa2c7f3);}[_0x3943be(0x186)](_0x598ce6,_0x5db4d1){var _0x3d902a=_0x3943be,_0x5934b5;_0x598ce6===((_0x5934b5=this[_0x3d902a(0x3cd)])==null?void 0x0:_0x5934b5[_0x3d902a(0x3ee)])&&(this[_0x3d902a(0x414)](),this[_0x3d902a(0x18a)]=_0x5db4d1===0x0?0x3e8:_0x5db4d1*0x2);}['_clearScheduledTask'](){var _0x1efe09=_0x3943be,_0x1a9855;(_0x1a9855=this[_0x1efe09(0x2a0)])==null||_0x1a9855['unsubscribe'](),this['_resendTimeout']=0x0;}},exports[_0x3943be(0x1d3)]=le([A(0x6,a[_0x3943be(0x357)](a[_0x3943be(0x3b3)])),A(0x7,a[_0x3943be(0x357)](m[_0x3943be(0x44e)])),A(0x8,a[_0x3943be(0x4d9)]),A(0x9,a[_0x3943be(0x3aa)]),A(0xa,m[_0x3943be(0x39f)]),A(0xb,a['IUndoRedoService']),A(0xc,a[_0x3943be(0x446)](J))],exports[_0x3943be(0x1d3)]),exports[_0x3943be(0x2a9)]=class extends _e{constructor(_0x5aabbe,_0x4bc8e7,_0x584f66,_0x3b5ae3,_0x40f232,_0x353f7c=!0x1,_0x1b6263,_0xb8b053,_0x8bcfc9,_0x20b1a6,_0x86970c,_0x4858f5,_0x37b4dc){var _0x1c6af4=_0x3943be;super(_0x5aabbe,_0x4bc8e7,_0x584f66,_0x3b5ae3,_0x40f232,_0xb8b053,_0x8bcfc9,_0x20b1a6,_0x37b4dc),D(this,_0x1c6af4(0x423),_0x1c6af4(0x402)),(this[_0x1c6af4(0x3fa)]=_0x353f7c,this[_0x1c6af4(0x404)]=_0x1b6263,this[_0x1c6af4(0x2ee)]=_0x86970c,this['_collaborationUIEventService']=_0x4858f5,this[_0x1c6af4(0x4b7)]=_0x37b4dc,this[_0x1c6af4(0x18b)](),this[_0x1c6af4(0x1cf)](),this['_disableEditing']());}[_0x3943be(0x266)](){return this;}[_0x3943be(0x2b0)](){return this;}[_0x3943be(0x41e)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x3943be(0x192)](){return this;}['toggleOnline'](){return this;}[_0x3943be(0x414)](){var _0x93c031=_0x3943be;throw new Error(_0x93c031(0x4bb));}[_0x3943be(0x1cf)](){var _0x15e6ed=_0x3943be,_0x235cdb;(_0x235cdb=this['_localCacheService'])==null||_0x235cdb[_0x15e6ed(0x184)](this[_0x15e6ed(0x305)],this[_0x15e6ed(0x1b9)],null,[]);}[_0x3943be(0x18b)](){var _0x174f0c=_0x3943be;this[_0x174f0c(0x3fa)]?this['_collaborationUIEventService'][_0x174f0c(0x182)]({'id':Q['PERMISSION_DENIED']}):this[_0x174f0c(0x1fd)][_0x174f0c(0x182)]({'id':Q[_0x174f0c(0x3e7)]});}['_disableEditing'](){var _0xc635e7=_0x3943be;this[_0xc635e7(0x404)][_0xc635e7(0x245)](new W[(_0xc635e7(0x3d6))](this[_0xc635e7(0x305)])['id'],!0x1);}},exports[_0x3943be(0x2a9)]=le([A(0x6,a[_0x3943be(0x357)](a['IPermissionService'])),A(0x7,a[_0x3943be(0x4d9)]),A(0x8,a[_0x3943be(0x42e)]),A(0x9,a[_0x3943be(0x357)](m[_0x3943be(0x44e)])),A(0xa,a[_0x3943be(0x357)](a['LocaleService'])),A(0xb,a[_0x3943be(0x357)](te)),A(0xc,a[_0x3943be(0x446)](J))],exports[_0x3943be(0x2a9)]),exports[_0x3943be(0x240)]=class extends _e{constructor(_0x2a5435,_0x189a6e,_0x5be368,_0x1dd9d8,_0x381397,_0x5e183d,_0xef35fd,_0xb79e4a,_0x225b5f,_0x1f0eb5){var _0x207fa4=_0x3943be;super(_0x2a5435,_0x189a6e,_0x5be368,_0x1dd9d8,_0x381397,_0xb79e4a,_0x225b5f,_0xef35fd,_0x1f0eb5),D(this,_0x207fa4(0x423),'offline'),this['_injector']=_0x5e183d;}[_0x3943be(0x266)](_0x4f86da){var _0x256244=_0x3943be;return this['_pendingMutations'][_0x256244(0x367)](_0x4f86da),this['_updateLocalCache'](),this;}[_0x3943be(0x2b0)](_0x1b5873){var _0x52e5a4=_0x3943be;throw new Error(_0x52e5a4(0x326));}[_0x3943be(0x41e)](){var _0x112586=_0x3943be;throw new Error(_0x112586(0x286));}['onRemoteRej'](){var _0x2e224e=_0x3943be;throw new Error(_0x2e224e(0x470));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x3943be(0x171)](){var _0x388e20=_0x3943be;const {_injector:_0x5802f3,_pendingMutations:_0x2c0af7,_awaitingChangeset:_0x12e531,unitID:_0x5d96b7,_handler:_0x41e046,type:_0xed412f}=this,_0x3a0f8c=Nt(_0x5802f3,_0x5d96b7,_0xed412f,_0x12e531,_0x2c0af7,_0x41e046);return _0x3a0f8c instanceof exports['PendingState']?_0x3a0f8c['_schedule']():(_0x3a0f8c instanceof exports['AwaitingWithPendingState']||_0x3a0f8c instanceof exports[_0x388e20(0x3b8)])&&_0x3a0f8c[_0x388e20(0x414)](),_0x3a0f8c;}[_0x3943be(0x414)](){var _0x515630=_0x3943be;throw new Error(_0x515630(0x26d));}},exports[_0x3943be(0x240)]=le([A(0x5,a[_0x3943be(0x357)](a[_0x3943be(0x3b3)])),A(0x6,a['Inject'](m[_0x3943be(0x44e)])),A(0x7,a[_0x3943be(0x4d9)]),A(0x8,a[_0x3943be(0x42e)]),A(0x9,a[_0x3943be(0x446)](J))],exports['OfflineState']),exports[_0x3943be(0x467)]=class extends _e{constructor(_0x342316,_0x5a77b5,_0x2c6c4d,_0xa8f369,_0x3a0480,_0x3b6a04,_0x4880b3,_0x14f5fe,_0x191d55,_0x51e153,_0x5ca231,_0x14a4fa,_0x5d227a,_0xb44f98){var _0x206408=_0x3943be;super(_0x342316,_0x5a77b5,_0x2c6c4d,_0xa8f369,_0x4880b3,_0x5ca231,_0x14a4fa,_0x191d55,_0xb44f98),D(this,_0x206408(0x423),_0x206408(0x1d4)),(this[_0x206408(0x453)]=_0x3a0480,this['_queuedRemoteChangesets']=_0x3b6a04,this[_0x206408(0x285)]=_0x14f5fe,this[_0x206408(0x211)]=_0x51e153,this[_0x206408(0x21e)]=_0x5d227a,this[_0x206408(0x4b7)]=_0xb44f98);}['onMissedChangesetFetched'](_0x3141d8){var _0x4d94eb=_0x3943be;try{const _0x2ee223=[..._0x3141d8,...this['_queuedRemoteChangesets']],_0x45774f=[this['_awaitingChangeset']||this[_0x4d94eb(0x453)]]['filter'](_0x50a455=>!!_0x50a455);let _0x3642c3,_0x3d053f;if(_0x45774f[_0x4d94eb(0x441)]){const _0x59ef78=this[_0x4d94eb(0x21e)][_0x4d94eb(0x231)](_0x2ee223,_0x45774f,!0x1);if(!m[_0x4d94eb(0x1df)](_0x59ef78))throw _0x59ef78['error'];_0x3642c3=_0x59ef78[_0x4d94eb(0x1f6)],_0x3d053f=_0x59ef78[_0x4d94eb(0x4b4)];}else _0x3642c3=_0x2ee223,_0x3d053f=[];let _0x589497=this[_0x4d94eb(0x1e6)];_0x3642c3[_0x4d94eb(0x1b0)](_0xc45a25=>{var _0x56fe63=_0x4d94eb;let _0x4a347c;if(_0x589497['length']){const _0x4e215f=this[_0x56fe63(0x21e)][_0x56fe63(0x25b)](_0xc45a25,_0x589497);if(!m[_0x56fe63(0x16a)](_0x4e215f))throw _0x4e215f[_0x56fe63(0x394)];_0x4a347c=_0x4e215f[_0x56fe63(0x1f6)],_0x589497=_0x4e215f[_0x56fe63(0x471)];}else _0x4a347c=_0xc45a25;this[_0x56fe63(0x2c6)](_0x4a347c);}),this[_0x4d94eb(0x453)]&&this['_incrementRevisionNumber'](),this[_0x4d94eb(0x3cd)]&&_0x3d053f[_0x4d94eb(0x441)]&&(_0x3d053f[0x0][_0x4d94eb(0x20a)]=this[_0x4d94eb(0x3e3)]());let _0x2342e0;if(this[_0x4d94eb(0x3cd)]&&_0x589497[_0x4d94eb(0x441)]!==0x0)_0x2342e0=this[_0x4d94eb(0x285)][_0x4d94eb(0x1e1)](exports[_0x4d94eb(0x1d3)],this[_0x4d94eb(0x305)],this[_0x4d94eb(0x1b9)],_0x3d053f[0x0],_0x589497,this[_0x4d94eb(0x272)],void 0x0);else{if(this[_0x4d94eb(0x3cd)]&&_0x589497['length']===0x0)_0x3d053f[0x0][_0x4d94eb(0x20a)]=this['_getCurrentRevision'](),_0x2342e0=this['_injector'][_0x4d94eb(0x1e1)](exports[_0x4d94eb(0x3b8)],this[_0x4d94eb(0x305)],this[_0x4d94eb(0x1b9)],_0x3d053f[0x0],this[_0x4d94eb(0x272)]);else{if(_0x589497[_0x4d94eb(0x441)]!==0x0){const _0x184895=this['_injector'][_0x4d94eb(0x1e1)](exports[_0x4d94eb(0x273)],this[_0x4d94eb(0x305)],this['type'],_0x589497,this[_0x4d94eb(0x272)]);_0x184895[_0x4d94eb(0x4a8)](),_0x2342e0=_0x184895;}else _0x2342e0=this[_0x4d94eb(0x285)][_0x4d94eb(0x1e1)](exports[_0x4d94eb(0x499)],this['unitID'],this[_0x4d94eb(0x1b9)],this[_0x4d94eb(0x272)]);}}return _0x2342e0[_0x4d94eb(0x472)](),_0x2342e0;}catch(_0x53298e){return this[_0x4d94eb(0x211)][_0x4d94eb(0x394)]('[FetchMissState]',_0x4d94eb(0x327),_0x53298e),this[_0x4d94eb(0x285)][_0x4d94eb(0x1e1)](exports[_0x4d94eb(0x2a9)],this[_0x4d94eb(0x305)],this[_0x4d94eb(0x1b9)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x4d94eb(0x272)],!0x1);}}[_0x3943be(0x414)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3943be(0x266)](_0x9cda7a){var _0x225f38=_0x3943be;return this[_0x225f38(0x1e6)][_0x225f38(0x367)](_0x9cda7a),this;}['onRemoteChangeset'](_0x45482a){return this['_queuedRemoteChangesets']['push'](_0x45482a),this;}[_0x3943be(0x41e)](_0x5c9938){var _0x1f1cf1=_0x3943be;if(this[_0x1f1cf1(0x3cd)])return this[_0x1f1cf1(0x453)]=this[_0x1f1cf1(0x3cd)],this[_0x1f1cf1(0x3cd)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x4054b8){var _0x2eef35=_0x3943be;return this[_0x2eef35(0x310)](!!(_0x4054b8!=null&&_0x4054b8[_0x2eef35(0x2dc)]));}[_0x3943be(0x1da)](){return this;}[_0x3943be(0x192)](){var _0x68a4e5=_0x3943be;return this[_0x68a4e5(0x285)][_0x68a4e5(0x1e1)](exports['OfflineState'],this[_0x68a4e5(0x305)],this[_0x68a4e5(0x1b9)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x68a4e5(0x272)]);}[_0x3943be(0x171)](){return this;}['_onConflict'](_0x3a71ac){var _0x12502e=_0x3943be;return this['_injector']['createInstance'](exports[_0x12502e(0x2a9)],this[_0x12502e(0x305)],this[_0x12502e(0x1b9)],this[_0x12502e(0x3cd)],this[_0x12502e(0x1e6)],this['_handler'],_0x3a71ac);}},exports[_0x3943be(0x467)]=le([A(0x7,a[_0x3943be(0x357)](a[_0x3943be(0x3b3)])),A(0x8,a[_0x3943be(0x357)](m[_0x3943be(0x44e)])),A(0x9,a['ILogService']),A(0xa,a[_0x3943be(0x4d9)]),A(0xb,a[_0x3943be(0x42e)]),A(0xc,m[_0x3943be(0x39f)]),A(0xd,a[_0x3943be(0x446)](J))],exports[_0x3943be(0x467)]);function Nt(_0x23de26,_0x425dad,_0x578146,_0x1e840a,_0x397287,_0x542467){var _0x28dff4=_0x3943be;return _0x1e840a&&_0x397287['length']?_0x23de26['createInstance'](exports[_0x28dff4(0x1d3)],_0x425dad,_0x578146,_0x1e840a,_0x397287,_0x542467,void 0x0):_0x1e840a?_0x23de26[_0x28dff4(0x1e1)](exports['AwaitingState'],_0x425dad,_0x578146,_0x1e840a,_0x542467):_0x397287[_0x28dff4(0x441)]?_0x23de26[_0x28dff4(0x1e1)](exports[_0x28dff4(0x273)],_0x425dad,_0x578146,_0x397287,_0x542467):_0x23de26['createInstance'](exports[_0x28dff4(0x499)],_0x425dad,_0x578146,_0x542467);}var Ni=Object[_0x3943be(0x4a5)],Ui=Object[_0x3943be(0x32a)],Ve=(_0x4e4c6e,_0x44a434,_0x385fd2,_0x1761f3)=>{var _0x337663=_0x3943be;for(var _0x5067ab=_0x1761f3>0x1?void 0x0:_0x1761f3?Ui(_0x44a434,_0x385fd2):_0x44a434,_0x4d31c1=_0x4e4c6e[_0x337663(0x441)]-0x1,_0x2fdcf2;_0x4d31c1>=0x0;_0x4d31c1--)(_0x2fdcf2=_0x4e4c6e[_0x4d31c1])&&(_0x5067ab=(_0x1761f3?_0x2fdcf2(_0x44a434,_0x385fd2,_0x5067ab):_0x2fdcf2(_0x5067ab))||_0x5067ab);return _0x1761f3&&_0x5067ab&&Ni(_0x44a434,_0x385fd2,_0x5067ab),_0x5067ab;},k=(_0x246474,_0x178685)=>(_0x218db4,_0x242453)=>_0x178685(_0x218db4,_0x242453,_0x246474);exports['CollaborationEntity']=class extends a[_0x3943be(0x47e)]{constructor(_0x1f5793,_0x105d06,_0x250e38,_0x75f270,_0x53a022,_0x1ec072,_0x5256ff,_0x5a48c6,_0x19f1d9,_0x55acde,_0x4fb2b8,_0x482d9c,_0x552672){var _0x40e4f5=_0x3943be;super(),D(this,_0x40e4f5(0x450),new H['BehaviorSubject'](null)),D(this,_0x40e4f5(0x1a2),this['_state$'][_0x40e4f5(0x221)]()),D(this,'_state'),D(this,_0x40e4f5(0x3e1),!0x1),D(this,_0x40e4f5(0x2b7),''),D(this,_0x40e4f5(0x17b),0x0),D(this,_0x40e4f5(0x202),this[_0x40e4f5(0x1a2)]['pipe'](H[_0x40e4f5(0x3a4)](_0x3b88de=>_0x3b88de?_0x3b88de[_0x40e4f5(0x423)]:We['OFFLINE']),H[_0x40e4f5(0x265)](0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x40e4f5(0x49e),[]),(this[_0x40e4f5(0x305)]=_0x1f5793,this[_0x40e4f5(0x49c)]=_0x105d06,this[_0x40e4f5(0x216)]=_0x250e38,this[_0x40e4f5(0x285)]=_0x75f270,this[_0x40e4f5(0x22d)]=_0x53a022,this[_0x40e4f5(0x2ee)]=_0x1ec072,this[_0x40e4f5(0x413)]=_0x5256ff,this['_eventService']=_0x5a48c6,this['_logService']=_0x19f1d9,this[_0x40e4f5(0x451)]=_0x55acde,this[_0x40e4f5(0x404)]=_0x4fb2b8,this['_singleActiveUnitService']=_0x482d9c,this[_0x40e4f5(0x482)]=_0x552672);}get['state'](){var _0x335c48=_0x3943be;return this[_0x335c48(0x3df)];}async[_0x3943be(0x46f)](){var _0x7104fd=_0x3943be;if(this[_0x7104fd(0x4db)])throw new Error(_0x7104fd(0x1be));await this[_0x7104fd(0x4bf)]();}[_0x3943be(0x355)](){var _0x451e53=_0x3943be;return this['_collaborationPaused']=!0x0,a[_0x451e53(0x317)](()=>{var _0x59a6e7=_0x451e53;this['_collaborationPaused']=!0x1,this[_0x59a6e7(0x264)]();});}[_0x3943be(0x3ff)](_0x497382){var _0x4a9337=_0x3943be;this[_0x4a9337(0x3af)](_0x497382);}[_0x3943be(0x4d6)](_0x172fe6){var _0x45af4f=_0x3943be;this[_0x45af4f(0x3df)]=_0x172fe6,this['_state$']['next'](_0x172fe6);}async['_init'](){var _0x20c513=_0x3943be,_0x3e3020;this['_updateState'](await this[_0x20c513(0x2de)]()),this['_singleActiveUnitService']&&((_0x3e3020=this[_0x20c513(0x1d0)])==null||_0x3e3020[_0x20c513(0x1cc)](this[_0x20c513(0x305)]),this['disposeWithMe'](this[_0x20c513(0x1d0)][_0x20c513(0x259)](this['unitID'])['subscribe'](_0x189f92=>{var _0x4434e7=_0x20c513;this[_0x4434e7(0x211)][_0x4434e7(0x368)]('[CollaborationEntity]',_0x4434e7(0x21d),_0x189f92),_0x189f92===Fe[_0x4434e7(0x2e8)]?(this['_eventService'][_0x4434e7(0x182)]({'id':Q[_0x4434e7(0x4c6)]}),this[_0x4434e7(0x404)][_0x4434e7(0x245)](new W[(_0x4434e7(0x3d6))](this[_0x4434e7(0x305)])['id'],!0x1),this[_0x4434e7(0x404)][_0x4434e7(0x3dc)](!0x1)):(this['_permissionService'][_0x4434e7(0x245)](new W[(_0x4434e7(0x3d6))](this[_0x4434e7(0x305)])['id'],!0x0),this['_permissionService'][_0x4434e7(0x3dc)](!0x0));})));let _0x568bce=!0x1;return this[_0x20c513(0x2d9)](this[_0x20c513(0x49c)][_0x20c513(0x1c7)][_0x20c513(0x32c)](_0x389da0=>{var _0x45f235=_0x20c513;_0x389da0===se[_0x45f235(0x303)]?this[_0x45f235(0x292)](_0x568bce):_0x389da0===se[_0x45f235(0x48f)]&&(_0x568bce=!0x0,this[_0x45f235(0x3ca)]());})),this[_0x20c513(0x2d9)](this[_0x20c513(0x49c)][_0x20c513(0x3fb)][_0x20c513(0x32c)](_0x539126=>{var _0x171d21=_0x20c513;try{switch(_0x539126[_0x171d21(0x23b)]){case m[_0x171d21(0x4df)][_0x171d21(0x3d4)]:{this[_0x171d21(0x280)](m['parseProtocolChangeset'](_0x539126['data']));break;}case m[_0x171d21(0x4df)][_0x171d21(0x498)]:{this[_0x171d21(0x4d4)](_0x539126['data']);break;}case m[_0x171d21(0x4df)][_0x171d21(0x363)]:{this[_0x171d21(0x1e5)]();break;}case m[_0x171d21(0x4df)][_0x171d21(0x48b)]:{this[_0x171d21(0x189)](_0x539126[_0x171d21(0x27f)]);break;}case m[_0x171d21(0x4df)][_0x171d21(0x493)]:{this[_0x171d21(0x256)](_0x539126[_0x171d21(0x27f)][_0x171d21(0x31f)][_0x171d21(0x3a4)](_0x989f59=>m[_0x171d21(0x2ca)](_0x989f59)));break;}case m[_0x171d21(0x4df)][_0x171d21(0x268)]:{this[_0x171d21(0x1e5)]({'isPermissionRej':!0x0});break;}case m[_0x171d21(0x4df)][_0x171d21(0x3bc)]:break;}}catch(_0x4a9e1c){throw console[_0x171d21(0x394)]('Error\x20on\x20receiving\x20event',_0x4a9e1c),_0x4a9e1c;}})),this[_0x20c513(0x3df)];}[_0x3943be(0x46e)](){var _0x467c88=_0x3943be;this[_0x467c88(0x35b)]=!0x1;}[_0x3943be(0x191)](){var _0x1636c0=_0x3943be;if(this[_0x1636c0(0x35b)])throw new Error(_0x1636c0(0x290));this[_0x1636c0(0x35b)]=!0x0;}[_0x3943be(0x3af)](_0x4c3111){var _0x301dda=_0x3943be;this[_0x301dda(0x191)](),this[_0x301dda(0x4d6)](this['_state'][_0x301dda(0x266)](_0x4c3111)),this['_unlockTransition']();}[_0x3943be(0x280)](_0x278953){var _0x1633da=_0x3943be;if(!(_0x278953[_0x1633da(0x395)]<=this[_0x1633da(0x413)][_0x1633da(0x332)](this[_0x1633da(0x305)]))){if(this[_0x1633da(0x3e1)]){this['_remoteChangesetQueue'][_0x1633da(0x367)](_0x278953);return;}this['_applyRemoteChangeset'](_0x278953);}}['_exhaustRemoteChangesetQueue'](){var _0x385681=_0x3943be;this[_0x385681(0x49e)]['forEach'](_0x28b7aa=>this[_0x385681(0x208)](_0x28b7aa)),this[_0x385681(0x49e)]=[];}['_applyRemoteChangeset'](_0xb8dcc8){var _0x320d88=_0x3943be;const _0x54dd42=this['_compressMutationService'][_0x320d88(0x4c2)]['fetchThroughInterceptors'](this[_0x320d88(0x22d)][_0x320d88(0x4c2)][_0x320d88(0x271)]()[_0x320d88(0x306)])(_0xb8dcc8[_0x320d88(0x4aa)],null)||_0xb8dcc8[_0x320d88(0x4aa)],_0x1d045a={..._0xb8dcc8,'mutations':_0x54dd42};this[_0x320d88(0x191)](),this[_0x320d88(0x4d6)](this[_0x320d88(0x3df)][_0x320d88(0x2b0)](_0x1d045a)),this[_0x320d88(0x46e)]();}['_onRemoteACK'](_0x4508a5){var _0x21ac83=_0x3943be;this[_0x21ac83(0x191)](),this[_0x21ac83(0x4d6)](this[_0x21ac83(0x3df)][_0x21ac83(0x41e)](_0x4508a5)),this['_unlockTransition']();}[_0x3943be(0x1e5)](_0x4a4aaf){var _0x4a2df5=_0x3943be;this[_0x4a2df5(0x191)](),this[_0x4a2df5(0x4d6)](this['_state'][_0x4a2df5(0x21a)](_0x4a4aaf)),this[_0x4a2df5(0x46e)]();}[_0x3943be(0x189)](_0x5c85ec){var _0x4f5592=_0x3943be;this[_0x4f5592(0x191)](),this[_0x4f5592(0x4d6)](this['_state']['onRemoteRetry'](_0x5c85ec)),this['_unlockTransition']();}[_0x3943be(0x256)](_0x546866){var _0x3775be=_0x3943be;if(!(this[_0x3775be(0x3df)]instanceof exports[_0x3775be(0x467)]))throw new TypeError(_0x3775be(0x1b2));const _0x23f698=_0x546866['map'](_0x54e44b=>{var _0x1abc3d=_0x3775be;const _0x45ff07=this[_0x1abc3d(0x22d)][_0x1abc3d(0x4c2)]['fetchThroughInterceptors'](this[_0x1abc3d(0x22d)][_0x1abc3d(0x4c2)]['getInterceptPoints']()[_0x1abc3d(0x306)])(_0x54e44b['mutations'],null)||_0x54e44b[_0x1abc3d(0x4aa)];return{..._0x54e44b,'mutations':_0x45ff07};});this[_0x3775be(0x191)](),this['_updateState'](this[_0x3775be(0x3df)][_0x3775be(0x409)](_0x23f698)),this['_unlockTransition']();}[_0x3943be(0x3ca)](){var _0x287087=_0x3943be;this[_0x287087(0x191)](),this[_0x287087(0x4d6)](this[_0x287087(0x3df)][_0x287087(0x192)]()),this[_0x287087(0x46e)]();}[_0x3943be(0x292)](_0x5477eb=!0x1){var _0x296815=_0x3943be;this[_0x296815(0x191)](),this[_0x296815(0x4d6)](this['_state'][_0x296815(0x171)]()),this[_0x296815(0x46e)]();const _0x53dde8=this[_0x296815(0x3df)];_0x5477eb&&_0x53dde8 instanceof exports[_0x296815(0x499)]&&(this[_0x296815(0x191)](),this['_updateState'](_0x53dde8[_0x296815(0x4a3)]()),this[_0x296815(0x46e)]());}async[_0x3943be(0x2de)](){return new Promise(_0x26da4e=>{var _0x47658d=_0x1761;this[_0x47658d(0x49c)]['sessionStatus$'][_0x47658d(0x328)](H[_0x47658d(0x224)](0x1))[_0x47658d(0x32c)](async _0x292339=>{var _0x1401ce=_0x47658d;_0x26da4e(await this[_0x1401ce(0x345)](_0x292339===se[_0x1401ce(0x303)]));});});}['_createHandler'](){var _0x57e85d=_0x3943be;const _0x5a0e4f=this[_0x57e85d(0x305)];return{'onStateChange':(_0x31ead4,_0x3d7dd5)=>{var _0x1ec8a9=_0x57e85d;if(_0x31ead4!==this[_0x1ec8a9(0x3df)])throw new Error(_0x1ec8a9(0x3d9)+_0x31ead4[_0x1ec8a9(0x423)]+_0x1ec8a9(0x390)+_0x3d7dd5[_0x1ec8a9(0x423)]+'\x0aCurrent:\x20'+this[_0x1ec8a9(0x3df)][_0x1ec8a9(0x423)]);this[_0x1ec8a9(0x4d6)](_0x3d7dd5);},'onSendChangeset':_0xb76a85=>{var _0x4daf6f=_0x57e85d;_0xb76a85[_0x4daf6f(0x488)]||(_0xb76a85['sid']=this[_0x4daf6f(0x2b7)],_0xb76a85[_0x4daf6f(0x3ee)]=++this['_changesetReqId']);const _0x430d27={'eventID':m[_0x4daf6f(0x4df)]['SUBMIT_CHANGESET'],'data':{'unitID':_0xb76a85['unitID'],'unitType':this[_0x4daf6f(0x216)],'changeset':_0xb76a85,'memberID':this[_0x4daf6f(0x49c)]['getMemberID']()}};this[_0x4daf6f(0x49c)][_0x4daf6f(0x167)](_0x430d27,this[_0x4daf6f(0x305)]);},'onMissingChangesets':({from:_0x24b37,to:_0x526873})=>{var _0x441483=_0x57e85d;this[_0x441483(0x211)][_0x441483(0x368)](_0x441483(0x294),_0x441483(0x378)+_0x24b37+_0x441483(0x333)+_0x526873);const _0x121d11={'eventID':m[_0x441483(0x4df)]['FETCH_MISSING'],'data':{'unitID':_0x5a0e4f,'unitType':this[_0x441483(0x216)],'from':_0x24b37,'to':_0x526873}};this[_0x441483(0x49c)]['send'](_0x121d11,this['unitID']);}};}async['_createInitialStateImpl'](_0x246e66){var _0x4fca91=_0x3943be,_0x7b13a2,_0x2ae83a,_0x5de227;const _0x233635=await((_0x7b13a2=this[_0x4fca91(0x482)])==null?void 0x0:_0x7b13a2[_0x4fca91(0x3f1)](this['unitID'])),_0x43b290=(_0x2ae83a=_0x233635==null?void 0x0:_0x233635[_0x4fca91(0x4aa)])!=null?_0x2ae83a:[],_0x378865=(_0x5de227=_0x233635==null?void 0x0:_0x233635[_0x4fca91(0x2fa)])!=null?_0x5de227:null,_0x19196e=!!(_0x378865!=null&&_0x378865['sid'])&&!!(_0x378865!=null&&_0x378865[_0x4fca91(0x3ee)]);this[_0x4fca91(0x2b7)]=_0x19196e?_0x378865['sid']:gi(),this['_changesetReqId']=_0x19196e?_0x378865[_0x4fca91(0x3ee)]:0x0;const _0x56006b=this[_0x4fca91(0x305)];try{this[_0x4fca91(0x27e)](_0x378865,_0x43b290);}catch(_0x412b80){this[_0x4fca91(0x211)]['error'](_0x412b80);}const _0xe32a23=this[_0x4fca91(0x29c)]();if(_0x246e66){const _0x4f1542=Nt(this['_injector'],_0x56006b,this[_0x4fca91(0x216)],_0x378865,_0x43b290,_0xe32a23);return _0x4f1542 instanceof exports[_0x4fca91(0x273)]?_0x4f1542[_0x4fca91(0x4a8)]():(_0x4f1542 instanceof exports[_0x4fca91(0x1d3)]||_0x4f1542 instanceof exports[_0x4fca91(0x3b8)])&&_0x4f1542[_0x4fca91(0x414)](),_0x4f1542;}return this[_0x4fca91(0x285)][_0x4fca91(0x1e1)](exports[_0x4fca91(0x240)],_0x56006b,this[_0x4fca91(0x216)],_0x378865,_0x43b290,_0xe32a23);}[_0x3943be(0x27e)](_0x10787c,_0x3582c8){var _0x4e6f13=_0x3943be,_0x32d80f,_0x5b1e27;const _0x41838b=this[_0x4e6f13(0x22d)][_0x4e6f13(0x4c2)][_0x4e6f13(0x3cb)](this['_compressMutationService'][_0x4e6f13(0x4c2)][_0x4e6f13(0x271)]()['COMPRESS_MUTATION_APPLY']);(_0x32d80f=_0x41838b((_0x10787c==null?void 0x0:_0x10787c[_0x4e6f13(0x4aa)])||[],null))==null||_0x32d80f[_0x4e6f13(0x1b0)](_0x5b44ed=>this[_0x4e6f13(0x451)]['executeCommand'](_0x5b44ed['id'],_0x5b44ed['params'])),(_0x5b1e27=_0x41838b(_0x3582c8||[],null))==null||_0x5b1e27[_0x4e6f13(0x1b0)](_0x38855a=>this[_0x4e6f13(0x451)][_0x4e6f13(0x372)](_0x38855a['id'],_0x38855a[_0x4e6f13(0x4e6)]));}},exports[_0x3943be(0x29a)]=Ve([k(0x3,a['Inject'](a[_0x3943be(0x3b3)])),k(0x4,a['Inject'](m[_0x3943be(0x2ea)])),k(0x5,a[_0x3943be(0x357)](a[_0x3943be(0x4d0)])),k(0x6,a[_0x3943be(0x357)](m[_0x3943be(0x44e)])),k(0x7,a[_0x3943be(0x357)](te)),k(0x8,a[_0x3943be(0x3aa)]),k(0x9,a[_0x3943be(0x4d9)]),k(0xa,a['IPermissionService']),k(0xb,a['Optional'](ve)),k(0xc,a['Optional'](J))],exports[_0x3943be(0x29a)]),exports['DocCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x101120,_0x50ffa4,_0x407480,_0x5a3c52,_0xe48411,_0x272167,_0x69734b,_0x5cecb4,_0x79e5be,_0x4bd4cb,_0x7e3a57,_0x3441e8,_0x34bad1){var _0x273349=_0x3943be;super(_0x101120,_0x407480,_0x50ffa4,_0x5a3c52,_0xe48411,_0x272167,_0x69734b,_0x5cecb4,_0x79e5be,_0x4bd4cb,_0x7e3a57,_0x3441e8,_0x34bad1),D(this,_0x273349(0x323),null),(this[_0x273349(0x305)]=_0x101120,this['type']=_0x50ffa4);}[_0x3943be(0x4b2)](_0x14a0c3){this['_handlerCallback']=_0x14a0c3;}[_0x3943be(0x3bd)](){var _0x2eb6e0=_0x3943be;this[_0x2eb6e0(0x323)]=null,super[_0x2eb6e0(0x3bd)]();}[_0x3943be(0x29c)](){var _0x1dad1f=_0x3943be;const _0x424fcd=super[_0x1dad1f(0x29c)]();return _0x424fcd[_0x1dad1f(0x1e9)]=_0x2da509=>{var _0x300e8a=_0x1dad1f,_0xeb73ee,_0x449b82;return(_0x449b82=(_0xeb73ee=this[_0x300e8a(0x323)])==null?void 0x0:_0xeb73ee[_0x300e8a(0x1e9)])==null?void 0x0:_0x449b82[_0x300e8a(0x339)](_0xeb73ee,_0x2da509);},_0x424fcd[_0x1dad1f(0x391)]=_0x50a034=>{var _0x1ca8fc=_0x1dad1f,_0x14aaed,_0x2cfb7c;return(_0x2cfb7c=(_0x14aaed=this['_handlerCallback'])==null?void 0x0:_0x14aaed[_0x1ca8fc(0x391)])==null?void 0x0:_0x2cfb7c['call'](_0x14aaed,_0x50a034);},_0x424fcd['onTransformSelections']=_0x223f01=>{var _0x211aa1=_0x1dad1f,_0x6894b3,_0x4d9015;return(_0x4d9015=(_0x6894b3=this['_handlerCallback'])==null?void 0x0:_0x6894b3[_0x211aa1(0x236)])==null?void 0x0:_0x4d9015[_0x211aa1(0x339)](_0x6894b3,_0x223f01);},_0x424fcd[_0x1dad1f(0x2f8)]=_0x21d19f=>{var _0x4dea9c=_0x1dad1f,_0x5bdbeb,_0x2904ee;return(_0x2904ee=(_0x5bdbeb=this[_0x4dea9c(0x323)])==null?void 0x0:_0x5bdbeb['onSyncEditingCollabCursor'])==null?void 0x0:_0x2904ee[_0x4dea9c(0x339)](_0x5bdbeb,_0x21d19f);},_0x424fcd[_0x1dad1f(0x41c)]=_0x210e24=>{var _0xe306bf=_0x1dad1f,_0x5206fa,_0x307e6b,_0x32c8cf;if(!((_0x5206fa=this[_0xe306bf(0x323)])!=null&&_0x5206fa['onTransformRemoteChangesetByIMECache']))throw new Error(_0xe306bf(0x4f3));return(_0x32c8cf=(_0x307e6b=this[_0xe306bf(0x323)])==null?void 0x0:_0x307e6b['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x32c8cf[_0xe306bf(0x339)](_0x307e6b,_0x210e24);},_0x424fcd[_0x1dad1f(0x1c1)]=_0x2a3ea6=>{var _0x51fb56=_0x1dad1f,_0x328b9d,_0x51a796,_0x49cfeb;if(!((_0x328b9d=this[_0x51fb56(0x323)])!=null&&_0x328b9d[_0x51fb56(0x1c1)]))throw new Error(_0x51fb56(0x1ca));return(_0x49cfeb=(_0x51a796=this[_0x51fb56(0x323)])==null?void 0x0:_0x51a796[_0x51fb56(0x1c1)])==null?void 0x0:_0x49cfeb[_0x51fb56(0x339)](_0x51a796,_0x2a3ea6);},_0x424fcd;}async[_0x3943be(0x4bf)](){var _0x5d8325=_0x3943be;const _0x2a19a8=await super[_0x5d8325(0x4bf)]();return this[_0x5d8325(0x2d9)](this[_0x5d8325(0x451)][_0x5d8325(0x232)]((_0x2a7e94,_0x53fa9a)=>{var _0x398cad=_0x5d8325;if(_0x2a7e94['type']!==a[_0x398cad(0x2e6)]['MUTATION']||_0x53fa9a!=null&&_0x53fa9a[_0x398cad(0x1c0)]||_0x53fa9a!=null&&_0x53fa9a['onlyLocal']||_0x2a7e94['id']===ut[_0x398cad(0x34d)]['id'])return;const _0x13fc5c=_0x2a7e94[_0x398cad(0x4e6)];if((_0x13fc5c==null?void 0x0:_0x13fc5c[_0x398cad(0x4a0)])!==this[_0x398cad(0x305)])return;const _0x464ea7=_0x2a7e94,_0xe7772=this[_0x398cad(0x22d)]['interceptor'][_0x398cad(0x3cb)](this[_0x398cad(0x22d)]['interceptor'][_0x398cad(0x271)]()[_0x398cad(0x3ba)])([_0x464ea7],null)||[_0x464ea7];this[_0x398cad(0x3af)](_0xe7772[0x0]);})),_0x2a19a8;}},exports['DocCollaborationEntity']=Ve([k(0x3,a[_0x3943be(0x357)](a['Injector'])),k(0x4,a[_0x3943be(0x357)](m[_0x3943be(0x2ea)])),k(0x5,a[_0x3943be(0x357)](a['LocaleService'])),k(0x6,a[_0x3943be(0x357)](m['RevisionService'])),k(0x7,a[_0x3943be(0x357)](te)),k(0x8,a[_0x3943be(0x3aa)]),k(0x9,a['ICommandService']),k(0xa,a['IPermissionService']),k(0xb,a[_0x3943be(0x446)](ve)),k(0xc,a[_0x3943be(0x446)](J))],exports[_0x3943be(0x29f)]),exports[_0x3943be(0x383)]=class extends exports[_0x3943be(0x29a)]{constructor(_0x31d7ad,_0x1d583a,_0x4b9f4a,_0x47aeca,_0xd4c753,_0xf0b91f,_0x2b46ae,_0x2e2914,_0x42f9e4,_0x76107d,_0x12540c,_0x5b5d77,_0x271221,_0x33116b){var _0x560e0e=_0x3943be;super(_0x31d7ad,_0x4b9f4a,_0x1d583a,_0x47aeca,_0xd4c753,_0xf0b91f,_0x2b46ae,_0x42f9e4,_0x76107d,_0x12540c,_0x5b5d77,_0x271221,_0x33116b),this[_0x560e0e(0x305)]=_0x31d7ad,this[_0x560e0e(0x1b9)]=_0x1d583a,this[_0x560e0e(0x27b)]=_0x2e2914;}[_0x3943be(0x29c)](){var _0x1262f2=_0x3943be;const _0x349458=super[_0x1262f2(0x29c)]();return _0x349458[_0x1262f2(0x236)]=_0x51f2b1=>this[_0x1262f2(0x27b)][_0x1262f2(0x40a)](_0x51f2b1),_0x349458;}async[_0x3943be(0x4bf)](){var _0x1d2b32=_0x3943be;const _0x55c655=await super[_0x1d2b32(0x4bf)]();return this[_0x1d2b32(0x2d9)](this[_0x1d2b32(0x451)][_0x1d2b32(0x232)]((_0x3897ba,_0x2bdf19)=>{var _0x43aba=_0x1d2b32;if(_0x3897ba['type']!==a[_0x43aba(0x2e6)][_0x43aba(0x2dd)]||_0x2bdf19!=null&&_0x2bdf19[_0x43aba(0x1c0)]||_0x2bdf19!=null&&_0x2bdf19[_0x43aba(0x255)])return;const _0x48738c=_0x3897ba[_0x43aba(0x4e6)];if((_0x48738c==null?void 0x0:_0x48738c[_0x43aba(0x4a0)])!==this['unitID'])return;const _0x339600=_0x3897ba,_0x590bae=this[_0x43aba(0x22d)][_0x43aba(0x4c2)]['fetchThroughInterceptors'](this[_0x43aba(0x22d)][_0x43aba(0x4c2)][_0x43aba(0x271)]()['COMPRESS_MUTATION_SEND'])([_0x339600],null)||[_0x339600];this[_0x43aba(0x3af)](_0x590bae[0x0]);})),_0x55c655;}},exports[_0x3943be(0x383)]=Ve([k(0x3,a[_0x3943be(0x357)](a['Injector'])),k(0x4,a[_0x3943be(0x357)](m['CompressMutationService'])),k(0x5,a[_0x3943be(0x357)](a[_0x3943be(0x4d0)])),k(0x6,a['Inject'](m[_0x3943be(0x44e)])),k(0x7,a[_0x3943be(0x357)](exports[_0x3943be(0x17e)])),k(0x8,a[_0x3943be(0x357)](te)),k(0x9,a['ILogService']),k(0xa,a[_0x3943be(0x4d9)]),k(0xb,a['IPermissionService']),k(0xc,a[_0x3943be(0x446)](ve)),k(0xd,a[_0x3943be(0x446)](J))],exports[_0x3943be(0x383)]);var Di=Object['defineProperty'],wi=Object[_0x3943be(0x32a)],Ai=(_0x166814,_0x463f8f,_0x2cdcef,_0x97c202)=>{var _0x242762=_0x3943be;for(var _0x117502=_0x97c202>0x1?void 0x0:_0x97c202?wi(_0x463f8f,_0x2cdcef):_0x463f8f,_0x933719=_0x166814[_0x242762(0x441)]-0x1,_0x2b9933;_0x933719>=0x0;_0x933719--)(_0x2b9933=_0x166814[_0x933719])&&(_0x117502=(_0x97c202?_0x2b9933(_0x463f8f,_0x2cdcef,_0x117502):_0x2b9933(_0x117502))||_0x117502);return _0x97c202&&_0x117502&&Di(_0x463f8f,_0x2cdcef,_0x117502),_0x117502;},we=(_0x1f9e00,_0x3f2ff9)=>(_0x22790b,_0x2497d6)=>_0x3f2ff9(_0x22790b,_0x2497d6,_0x1f9e00);exports['CollaborationController']=class extends a[_0x3943be(0x47e)]{constructor(_0x17ede0,_0x5198dd,_0x58f3e4){var _0x1863e3=_0x3943be;super(),D(this,'_entities',new Map()),D(this,_0x1863e3(0x3d8),new H[(_0x1863e3(0x19b))]()),D(this,'entityInit$',this[_0x1863e3(0x3d8)]['asObservable']()),(this[_0x1863e3(0x285)]=_0x17ede0,this[_0x1863e3(0x45a)]=_0x5198dd,this[_0x1863e3(0x44d)]=_0x58f3e4,this[_0x1863e3(0x4bf)]());}['dispose'](){var _0x5b1591=_0x3943be;super[_0x5b1591(0x3bd)](),this[_0x5b1591(0x48c)]['forEach'](_0x3d815e=>_0x3d815e[_0x5b1591(0x3bd)]()),this[_0x5b1591(0x48c)][_0x5b1591(0x44b)]();}[_0x3943be(0x400)](_0x1b1cf8){var _0x43ff2d=_0x3943be,_0x91eb89;return(_0x91eb89=this[_0x43ff2d(0x48c)][_0x43ff2d(0x412)](_0x1b1cf8))!=null?_0x91eb89:null;}[_0x3943be(0x4b0)](_0x1de9d5){var _0x154c21=_0x3943be;const _0x54e90e=this[_0x154c21(0x400)](_0x1de9d5);return _0x54e90e?H['of'](_0x54e90e):this[_0x154c21(0x3d8)][_0x154c21(0x328)](V['filter'](_0x4e7f2a=>_0x4e7f2a[_0x154c21(0x305)]===_0x1de9d5));}['readyForCollab'](_0x155752){var _0x5e5958=_0x3943be;return H[_0x5e5958(0x282)](this['getCollabEntity$'](_0x155752)[_0x5e5958(0x328)](V['map'](()=>{})));}[_0x3943be(0x4bf)](){var _0x3004d7=_0x3943be;this[_0x3004d7(0x44d)][_0x3004d7(0x42f)](a[_0x3004d7(0x214)][_0x3004d7(0x49f)])[_0x3004d7(0x328)](H['takeUntil'](this['dispose$']),V[_0x3004d7(0x37e)](0x10))['subscribe'](async _0x158e4a=>{var _0x11d4b=_0x3004d7;const _0x4b3f98=_0x158e4a[_0x11d4b(0x3e9)](),_0x7e548c=await this['_startCollaboration'](_0x4b3f98,Z['UNIVER_SHEET']);this[_0x11d4b(0x48c)]['set'](_0x4b3f98,_0x7e548c);}),this['_univerInstanceService'][_0x3004d7(0x42f)](a[_0x3004d7(0x214)][_0x3004d7(0x242)])[_0x3004d7(0x328)](H[_0x3004d7(0x228)](this[_0x3004d7(0x429)]),V[_0x3004d7(0x37e)](0x10))[_0x3004d7(0x328)](V[_0x3004d7(0x1f9)](_0x204816=>!_0x204816['getUnitId']()['startsWith']('__')))[_0x3004d7(0x32c)](async _0xbc59df=>{var _0x1877aa=_0x3004d7;const _0x3adac4=_0xbc59df[_0x1877aa(0x3e9)](),_0x406e45=await this[_0x1877aa(0x3f3)](_0x3adac4,Z[_0x1877aa(0x242)]);this[_0x1877aa(0x48c)][_0x1877aa(0x3fe)](_0x3adac4,_0x406e45);}),H[_0x3004d7(0x26c)](this[_0x3004d7(0x44d)][_0x3004d7(0x18e)](a[_0x3004d7(0x214)][_0x3004d7(0x49f)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_DOC']))[_0x3004d7(0x328)](H[_0x3004d7(0x228)](this[_0x3004d7(0x429)]))[_0x3004d7(0x32c)](_0x2d66c3=>{var _0x541360=_0x3004d7;const _0x1e6ed4=_0x2d66c3[_0x541360(0x3e9)](),_0x2fbf70=this['_entities'][_0x541360(0x412)](_0x1e6ed4);_0x2fbf70&&(_0x2fbf70[_0x541360(0x3bd)](),this[_0x541360(0x48c)]['delete'](_0x1e6ed4));});}async[_0x3943be(0x3f3)](_0x44b4d1,_0x1aae5d){var _0xa270dc=_0x3943be;const _0x16358b=await this[_0xa270dc(0x45a)]['requireSession'](_0x44b4d1),_0x29bf13=this[_0xa270dc(0x285)]['createInstance'](this[_0xa270dc(0x435)](_0x1aae5d),_0x44b4d1,_0x1aae5d,_0x16358b);return await _0x29bf13[_0xa270dc(0x46f)](),this[_0xa270dc(0x3d8)][_0xa270dc(0x3ed)](_0x29bf13),_0x29bf13;}['_getCtorByUniverType'](_0x5231ed){var _0x4ff3c1=_0x3943be;switch(_0x5231ed){case Z['UNIVER_DOC']:return exports[_0x4ff3c1(0x29f)];case Z[_0x4ff3c1(0x49f)]:return exports[_0x4ff3c1(0x383)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5231ed);}}},exports[_0x3943be(0x45f)]=Ai([we(0x0,a['Inject'](a[_0x3943be(0x3b3)])),we(0x1,a[_0x3943be(0x357)](exports['CollaborationSessionService'])),we(0x2,a[_0x3943be(0x322)])],exports[_0x3943be(0x45f)]);var Li=Object[_0x3943be(0x4a5)],Mi=Object['getOwnPropertyDescriptor'],xi=(_0x37d6ee,_0x4d272d,_0x464091,_0x1ba3dd)=>{var _0x15ab22=_0x3943be;for(var _0x8e501=_0x1ba3dd>0x1?void 0x0:_0x1ba3dd?Mi(_0x4d272d,_0x464091):_0x4d272d,_0x2c40dc=_0x37d6ee[_0x15ab22(0x441)]-0x1,_0x6730e2;_0x2c40dc>=0x0;_0x2c40dc--)(_0x6730e2=_0x37d6ee[_0x2c40dc])&&(_0x8e501=(_0x1ba3dd?_0x6730e2(_0x4d272d,_0x464091,_0x8e501):_0x6730e2(_0x8e501))||_0x8e501);return _0x1ba3dd&&_0x8e501&&Li(_0x4d272d,_0x464091,_0x8e501),_0x8e501;},Je=(_0x4715b4,_0x59ebf1)=>(_0x2003d9,_0x27c025)=>_0x59ebf1(_0x2003d9,_0x27c025,_0x4715b4);const ji=_0x3943be(0x308),$i=_0x3943be(0x4dc);let $e=class extends a['Disposable']{constructor(_0x174700,_0x12fec3){var _0x2d79e5=_0x3943be;super(),this[_0x2d79e5(0x44d)]=_0x174700,this[_0x2d79e5(0x2f6)]=_0x12fec3,this[_0x2d79e5(0x4bf)]();}[_0x3943be(0x4bf)](){var _0x2aae2d=_0x3943be;this[_0x2aae2d(0x2d9)](this[_0x2aae2d(0x44d)]['focused$'][_0x2aae2d(0x32c)](()=>{var _0x13db1d=_0x2aae2d,_0x1ceb92;const _0x408f8d=this[_0x13db1d(0x44d)]['getFocusedUnit']();let _0x5a9c75=(_0x1ceb92=this[_0x13db1d(0x2f6)][_0x13db1d(0x44f)](ji))!=null?_0x1ceb92:$i;_0x408f8d instanceof a[_0x13db1d(0x321)]&&(_0x5a9c75=_0x408f8d['name']),document[_0x13db1d(0x480)]=_0x5a9c75;}));}};$e=xi([Je(0x0,a[_0x3943be(0x322)]),Je(0x1,a[_0x3943be(0x366)])],$e);var Hi=Object[_0x3943be(0x4a5)],ki=Object[_0x3943be(0x32a)],Bi=(_0x3a75c1,_0x564fee,_0x1658b8,_0x9d835b)=>{for(var _0xcbddf2=_0x9d835b>0x1?void 0x0:_0x9d835b?ki(_0x564fee,_0x1658b8):_0x564fee,_0x39eca7=_0x3a75c1['length']-0x1,_0x370263;_0x39eca7>=0x0;_0x39eca7--)(_0x370263=_0x3a75c1[_0x39eca7])&&(_0xcbddf2=(_0x9d835b?_0x370263(_0x564fee,_0x1658b8,_0xcbddf2):_0x370263(_0xcbddf2))||_0xcbddf2);return _0x9d835b&&_0xcbddf2&&Hi(_0x564fee,_0x1658b8,_0xcbddf2),_0xcbddf2;},Ae=(_0x459993,_0x369a7c)=>(_0x2af0ef,_0x2e460b)=>_0x369a7c(_0x2af0ef,_0x2e460b,_0x459993);let ye=class{constructor(_0x1822c2,_0x5e8325,_0x5c5479){var _0x24264d=_0x3943be;this[_0x24264d(0x2f6)]=_0x1822c2,this[_0x24264d(0x1f2)]=_0x5e8325,this[_0x24264d(0x4d2)]=_0x5c5479,this[_0x24264d(0x46f)]();}[_0x3943be(0x46f)](){var _0xef2c60=_0x3943be;this['_httpService'][_0xef2c60(0x29d)]({'priority':0x1,'interceptor':(_0x123c92,_0x58f116)=>_0x58f116(_0x123c92)[_0xef2c60(0x328)](H['concatMap'](async _0x59d631=>{var _0xa44cd0=_0xef2c60;const _0x5b0f89=_0x59d631;if(_0x5b0f89[_0xa44cd0(0x423)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0xa44cd0(0x1c8)](this[_0xa44cd0(0x4d2)]['t']('auth.needGotoLoginAlert'))){const _0x2f69f9=window[_0xa44cd0(0x457)](window[_0xa44cd0(0x2db)]['href']);window[_0xa44cd0(0x2db)][_0xa44cd0(0x37c)]=this[_0xa44cd0(0x4b8)]()+_0xa44cd0(0x4ec)+_0x2f69f9;}}return _0x5b0f89;}))});}[_0x3943be(0x4b8)](){var _0x50be6d=_0x3943be,_0x5dc94b,_0x4f4500;const _0x1d0120=this[_0x50be6d(0x2f6)]['getConfig'](Et),_0x6bea57=this['_configService'][_0x50be6d(0x44f)](q);return(_0x4f4500=(_0x5dc94b=_0x6bea57==null?void 0x0:_0x6bea57['loginUrlKey'])!=null?_0x5dc94b:_0x1d0120)!=null?_0x4f4500:qt;}};ye=Bi([Ae(0x0,a[_0x3943be(0x366)]),Ae(0x1,a[_0x3943be(0x357)](z[_0x3943be(0x4de)])),Ae(0x2,a[_0x3943be(0x357)](a[_0x3943be(0x4d0)]))],ye);var Fi=Object[_0x3943be(0x4a5)],Wi=Object['getOwnPropertyDescriptor'],Vi=(_0x3570cb,_0x184416,_0x106921,_0x39b162)=>{var _0x5f0704=_0x3943be;for(var _0x407b6b=_0x39b162>0x1?void 0x0:_0x39b162?Wi(_0x184416,_0x106921):_0x184416,_0x55e36f=_0x3570cb[_0x5f0704(0x441)]-0x1,_0x528c56;_0x55e36f>=0x0;_0x55e36f--)(_0x528c56=_0x3570cb[_0x55e36f])&&(_0x407b6b=(_0x39b162?_0x528c56(_0x184416,_0x106921,_0x407b6b):_0x528c56(_0x407b6b))||_0x407b6b);return _0x39b162&&_0x407b6b&&Fi(_0x184416,_0x106921,_0x407b6b),_0x407b6b;},Xe=(_0x243219,_0x8b8a33)=>(_0x48b24a,_0x3d4554)=>_0x8b8a33(_0x48b24a,_0x3d4554,_0x243219);const Ge=_0x3943be(0x37f),Gi=_0x3943be(0x16e);exports[_0x3943be(0x233)]=class extends a['Disposable']{constructor(_0x45f7bb,_0x44d189){var _0x18f269=_0x3943be;super(),this[_0x18f269(0x338)]=_0x45f7bb,this[_0x18f269(0x2f6)]=_0x44d189,this[_0x18f269(0x218)]();}[_0x3943be(0x218)](){var _0x34856f=_0x3943be;const _0x10c522=this;this[_0x34856f(0x2d9)](this[_0x34856f(0x338)][_0x34856f(0x29d)]({'priority':0x3e7,'interceptor':z[_0x34856f(0x26f)]({'isMatch'(_0x4f4f5e){var _0x38366e=_0x34856f,_0x1dbebf;if(_0x4f4f5e['method']===_0x38366e(0x4f1)&&((_0x1dbebf=_0x4f4f5e[_0x38366e(0x4e3)])!=null&&_0x1dbebf[_0x38366e(0x31d)])){const {objectID:_0x3c4995,objectType:_0x347797}=_0x4f4f5e['requestParams'][_0x38366e(0x31d)]||{};if(!_0x3c4995||_0x347797===void 0x0)return!0x1;const _0x58836d=_0x10c522[_0x38366e(0x297)]()+'/'+_0x347797+_0x38366e(0x479)+_0x3c4995+_0x38366e(0x25a);if(_0x4f4f5e[_0x38366e(0x2cb)]===_0x58836d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x36031f){var _0x527f3b=_0x34856f,_0x43ced2;return(_0x43ced2=_0x36031f[_0x527f3b(0x4e3)])==null?void 0x0:_0x43ced2['body'];},'mergeParamsToRequest'(_0xa64d26,_0x5ab09a){var _0x3f6a29=_0x34856f;const _0x531717=_0x10c522[_0x3f6a29(0x297)]()+_0x3f6a29(0x181),_0x3201b2=_0xa64d26[_0x3f6a29(0x2f0)]((_0x50fc41,_0x2ea11f)=>{var _0x36b6ba=_0x3f6a29;const {unitID:_0x3ec981,objectID:_0x31ab72,objectType:_0x3c534c,actions:_0x4d32c1}=_0x2ea11f;return _0x50fc41[_0x3ec981]||(_0x50fc41[_0x3ec981]={}),_0x50fc41[_0x3ec981][_0x31ab72]||(_0x50fc41[_0x3ec981][_0x31ab72]={'objectID':_0x31ab72,'objectType':_0x3c534c,'actions':[]}),_0x50fc41[_0x3ec981][_0x31ab72]['actions'][_0x36b6ba(0x367)](..._0x4d32c1),_0x50fc41;},{}),_0x45c246=[];for(const _0x32cc89 in _0x3201b2)for(const _0x4c5d70 in _0x3201b2[_0x32cc89]){const {actions:_0x2bb00d,objectType:_0xe2dbdb}=_0x3201b2[_0x32cc89][_0x4c5d70],_0x859112=[...new Set(_0x2bb00d)];_0x45c246['push']({'unitID':_0x32cc89,'objectID':_0x4c5d70,'objectType':_0xe2dbdb,'actions':_0x859112});}return new z[(_0x3f6a29(0x18d))](_0x3f6a29(0x4f1),_0x531717,{'headers':_0x5ab09a[_0x3f6a29(0x325)],'withCredentials':_0x5ab09a[_0x3f6a29(0x175)],'responseType':_0x5ab09a['responseType'],'body':{'requests':_0x45c246}});}},{'distributeResult'(_0x418362,_0xde6c1){var _0x51158f=_0x34856f;const {objectActions:_0x473192}=_0x418362;return _0xde6c1[_0x51158f(0x3a4)](_0x5d2b97=>{var _0x1d7657=_0x51158f;const {unitID:_0x5badb8,objectID:_0x30bbba,actions:_0x5e4c94}=_0x5d2b97,_0x2e8f42=_0x473192[_0x1d7657(0x330)](_0x147f0a=>_0x147f0a[_0x1d7657(0x305)]===_0x5badb8&&_0x147f0a[_0x1d7657(0x25c)]===_0x30bbba),_0x41977f=_0x5e4c94['map'](_0x213df7=>_0x2e8f42==null?void 0x0:_0x2e8f42[_0x1d7657(0x1fb)][_0x1d7657(0x330)](_0x42ab2a=>_0x42ab2a[_0x1d7657(0x28c)]===_0x213df7))[_0x1d7657(0x1f9)](_0x5bf4d9=>!!_0x5bf4d9);return{'config':_0x5d2b97,'result':{'actions':_0x41977f,'error':_0x418362[_0x1d7657(0x394)]}};});}})}));}['_getAPIPrefixPath'](){var _0x5e6e95=_0x3943be,_0xfd9d2e,_0x5e6f1e;const _0x522536=this[_0x5e6e95(0x2f6)]['getConfig'](Ge),_0x4edf3=this['_configService'][_0x5e6e95(0x44f)](q);return(_0x5e6f1e=(_0xfd9d2e=_0x4edf3==null?void 0x0:_0x4edf3[_0x5e6e95(0x198)])!=null?_0xfd9d2e:_0x522536)!=null?_0x5e6f1e:Gi;}async[_0x3943be(0x168)](_0x43de54){var _0x830fe9=_0x3943be;const _0x226426=this[_0x830fe9(0x297)]()+'/'+_0x43de54[_0x830fe9(0x34e)]+_0x830fe9(0x2b4);return(await this['_HTTPService'][_0x830fe9(0x382)](_0x226426,{'body':_0x43de54}))['body'][_0x830fe9(0x25c)]||'';}async[_0x3943be(0x220)](_0x1acc3e){var _0x2507e4=_0x3943be;const _0x441b82=this[_0x2507e4(0x297)]()+_0x2507e4(0x174);return(await this[_0x2507e4(0x338)][_0x2507e4(0x382)](_0x441b82,{'body':_0x1acc3e}))[_0x2507e4(0x31d)][_0x2507e4(0x3c6)];}async[_0x3943be(0x1c3)](_0x2a4445){var _0x532e13=_0x3943be;const _0x3a07e4=this[_0x532e13(0x297)]()+'/'+_0x2a4445[_0x532e13(0x34e)]+_0x532e13(0x479)+_0x2a4445[_0x532e13(0x25c)];await this[_0x532e13(0x338)]['put'](_0x3a07e4,{'body':_0x2a4445});}async['allowed'](_0x53d69b){var _0x388111=_0x3943be;const _0x4098aa=this['_getAPIPrefixPath']()+'/'+_0x53d69b[_0x388111(0x34e)]+_0x388111(0x479)+_0x53d69b[_0x388111(0x25c)]+_0x388111(0x25a);return(await this[_0x388111(0x338)][_0x388111(0x382)](_0x4098aa,{'body':_0x53d69b}))['body'][_0x388111(0x1fb)];}async['batchAllowed'](_0x1a5790){var _0x32aefe=_0x3943be;const _0x57aa38=this[_0x32aefe(0x297)]()+_0x32aefe(0x181);return(await this[_0x32aefe(0x338)][_0x32aefe(0x382)](_0x57aa38,{'body':{'requests':_0x1a5790}}))[_0x32aefe(0x31d)][_0x32aefe(0x373)];}async[_0x3943be(0x375)](_0x5d06a0){var _0x1ef4f6=_0x3943be;const _0x5d9cb5=this[_0x1ef4f6(0x297)]()+'/'+_0x5d06a0[_0x1ef4f6(0x34e)]+_0x1ef4f6(0x461),_0x2e4a9a=await this[_0x1ef4f6(0x338)][_0x1ef4f6(0x382)](_0x5d9cb5,{'body':_0x5d06a0});return{'roles':_0x2e4a9a[_0x1ef4f6(0x31d)][_0x1ef4f6(0x315)],'actions':_0x2e4a9a[_0x1ef4f6(0x31d)]['actions']};}async[_0x3943be(0x187)](_0x15876a){var _0x4df253=_0x3943be;const _0x23e6f1=this[_0x4df253(0x297)]()+_0x4df253(0x4ee);await this[_0x4df253(0x338)]['delete'](_0x23e6f1,{'params':{'collaboratorID':_0x15876a[_0x4df253(0x2ae)],'objectID':_0x15876a[_0x4df253(0x25c)],'unitID':_0x15876a[_0x4df253(0x305)]}});}async[_0x3943be(0x1e8)](_0x471610){var _0x186f0e=_0x3943be;const _0x3c631=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x186f0e(0x338)][_0x186f0e(0x2c2)](_0x3c631,{'body':_0x471610});}async[_0x3943be(0x4f2)](_0x29438f){var _0x20aeda=_0x3943be;const _0x948dbe=this[_0x20aeda(0x297)]()+_0x20aeda(0x4ee);await this[_0x20aeda(0x338)][_0x20aeda(0x382)](_0x948dbe,{'body':_0x29438f});}async['listCollaborators'](_0x578ced){var _0x4a6bd5=_0x3943be;const _0x774a70=this[_0x4a6bd5(0x297)]()+_0x4a6bd5(0x4ee);return(await this[_0x4a6bd5(0x338)][_0x4a6bd5(0x412)](_0x774a70,{'params':{'objectID':_0x578ced[_0x4a6bd5(0x25c)],'unitID':_0x578ced[_0x4a6bd5(0x305)]}}))['body'][_0x4a6bd5(0x28a)];}async[_0x3943be(0x1f0)](_0x22c641){var _0x8a4d3=_0x3943be;const _0x53976b=this[_0x8a4d3(0x297)]()+'/collaborator';await this[_0x8a4d3(0x338)][_0x8a4d3(0x3cc)](_0x53976b,{'body':_0x22c641});}},exports['AuthzIoHttpService']=Vi([Xe(0x0,a[_0x3943be(0x357)](z['HTTPService'])),Xe(0x1,a['Inject'](a['IConfigService']))],exports['AuthzIoHttpService']);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x3d20b2){var _0x21fb24=_0x3943be;return _0x3d20b2&&_0x3d20b2['__esModule']&&Object[_0x21fb24(0x1e4)][_0x21fb24(0x3b2)]['call'](_0x3d20b2,'default')?_0x3d20b2[_0x21fb24(0x40b)]:_0x3d20b2;}var Se={'exports':{}};function Ki(_0x409d82){var _0x5cdc2b=_0x3943be;throw new Error(_0x5cdc2b(0x48d)+_0x409d82+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},Yi=pe['exports'],Ze;function ee(){var _0xaf172a=_0x3943be;return Ze||(Ze=0x1,function(_0x394ec5,_0x440af3){(function(_0x1867f9,_0x4d6e82){_0x394ec5['exports']=_0x4d6e82();}(Yi,function(){var _0x58adcd=_0x58adcd||function(_0x1b9164,_0x856637){var _0x2126a5=_0x1761,_0x4a8986;if(typeof window<'u'&&window['crypto']&&(_0x4a8986=window[_0x2126a5(0x430)]),typeof self<'u'&&self[_0x2126a5(0x430)]&&(_0x4a8986=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x4a8986=globalThis['crypto']),!_0x4a8986&&typeof window<'u'&&window[_0x2126a5(0x442)]&&(_0x4a8986=window[_0x2126a5(0x442)]),!_0x4a8986&&typeof Le<'u'&&Le[_0x2126a5(0x430)]&&(_0x4a8986=Le[_0x2126a5(0x430)]),!_0x4a8986&&typeof Ki==_0x2126a5(0x2a4))try{_0x4a8986=require(_0x2126a5(0x430));}catch{}var _0xf748a6=function(){var _0x567b66=_0x2126a5;if(_0x4a8986){if(typeof _0x4a8986[_0x567b66(0x426)]==_0x567b66(0x2a4))try{return _0x4a8986[_0x567b66(0x426)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4a8986[_0x567b66(0x31b)]==_0x567b66(0x2a4))try{return _0x4a8986['randomBytes'](0x4)[_0x567b66(0x381)]();}catch{}}throw new Error(_0x567b66(0x1aa));},_0x763123=Object[_0x2126a5(0x168)]||(function(){function _0x437923(){}return function(_0x346f73){var _0x10e3e2=_0x1761,_0x44495c;return _0x437923[_0x10e3e2(0x1e4)]=_0x346f73,_0x44495c=new _0x437923(),_0x437923[_0x10e3e2(0x1e4)]=null,_0x44495c;};}()),_0x3ddd33={},_0x496a0c=_0x3ddd33[_0x2126a5(0x3d7)]={},_0x6f5d89=_0x496a0c[_0x2126a5(0x25d)]=(function(){return{'extend':function(_0x4d509c){var _0x5b978d=_0x1761,_0x304a56=_0x763123(this);return _0x4d509c&&_0x304a56['mixIn'](_0x4d509c),(!_0x304a56[_0x5b978d(0x3b2)]('init')||this['init']===_0x304a56['init'])&&(_0x304a56[_0x5b978d(0x46f)]=function(){var _0xf492ba=_0x5b978d;_0x304a56[_0xf492ba(0x172)][_0xf492ba(0x46f)]['apply'](this,arguments);}),_0x304a56[_0x5b978d(0x46f)][_0x5b978d(0x1e4)]=_0x304a56,_0x304a56[_0x5b978d(0x172)]=this,_0x304a56;},'create':function(){var _0xabc975=_0x1761,_0x228d07=this[_0xabc975(0x4da)]();return _0x228d07[_0xabc975(0x46f)][_0xabc975(0x22b)](_0x228d07,arguments),_0x228d07;},'init':function(){},'mixIn':function(_0x293c21){var _0x90c537=_0x1761;for(var _0x2d2dba in _0x293c21)_0x293c21[_0x90c537(0x3b2)](_0x2d2dba)&&(this[_0x2d2dba]=_0x293c21[_0x2d2dba]);_0x293c21[_0x90c537(0x3b2)](_0x90c537(0x2fc))&&(this[_0x90c537(0x2fc)]=_0x293c21[_0x90c537(0x2fc)]);},'clone':function(){var _0xfa41c1=_0x1761;return this[_0xfa41c1(0x46f)][_0xfa41c1(0x1e4)][_0xfa41c1(0x4da)](this);}};}()),_0x405814=_0x496a0c[_0x2126a5(0x492)]=_0x6f5d89['extend']({'init':function(_0x275737,_0x5d6f1c){var _0x104b7c=_0x2126a5;_0x275737=this[_0x104b7c(0x336)]=_0x275737||[],_0x5d6f1c!=_0x856637?this[_0x104b7c(0x316)]=_0x5d6f1c:this[_0x104b7c(0x316)]=_0x275737[_0x104b7c(0x441)]*0x4;},'toString':function(_0x74cac3){var _0x51b744=_0x2126a5;return(_0x74cac3||_0x3276cf)[_0x51b744(0x193)](this);},'concat':function(_0x28b58a){var _0x24212c=_0x2126a5,_0x3245c3=this['words'],_0x568b73=_0x28b58a[_0x24212c(0x336)],_0x4f612c=this[_0x24212c(0x316)],_0x389fbe=_0x28b58a[_0x24212c(0x316)];if(this[_0x24212c(0x2cd)](),_0x4f612c%0x4)for(var _0x3d29ca=0x0;_0x3d29ca<_0x389fbe;_0x3d29ca++){var _0x52377f=_0x568b73[_0x3d29ca>>>0x2]>>>0x18-_0x3d29ca%0x4*0x8&0xff;_0x3245c3[_0x4f612c+_0x3d29ca>>>0x2]|=_0x52377f<<0x18-(_0x4f612c+_0x3d29ca)%0x4*0x8;}else{for(var _0x576f5d=0x0;_0x576f5d<_0x389fbe;_0x576f5d+=0x4)_0x3245c3[_0x4f612c+_0x576f5d>>>0x2]=_0x568b73[_0x576f5d>>>0x2];}return this['sigBytes']+=_0x389fbe,this;},'clamp':function(){var _0x47fdde=this['words'],_0x22ec3d=this['sigBytes'];_0x47fdde[_0x22ec3d>>>0x2]&=0xffffffff<<0x20-_0x22ec3d%0x4*0x8,_0x47fdde['length']=_0x1b9164['ceil'](_0x22ec3d/0x4);},'clone':function(){var _0x3160cb=_0x2126a5,_0x2ada74=_0x6f5d89[_0x3160cb(0x243)][_0x3160cb(0x339)](this);return _0x2ada74['words']=this[_0x3160cb(0x336)]['slice'](0x0),_0x2ada74;},'random':function(_0x5b7411){var _0x3eba13=_0x2126a5;for(var _0x4c534d=[],_0x4be3f8=0x0;_0x4be3f8<_0x5b7411;_0x4be3f8+=0x4)_0x4c534d[_0x3eba13(0x367)](_0xf748a6());return new _0x405814['init'](_0x4c534d,_0x5b7411);}}),_0x1cf70c=_0x3ddd33['enc']={},_0x3276cf=_0x1cf70c[_0x2126a5(0x410)]={'stringify':function(_0x3f88b4){var _0x2b11a5=_0x2126a5;for(var _0x36eaca=_0x3f88b4[_0x2b11a5(0x336)],_0x3fa062=_0x3f88b4[_0x2b11a5(0x316)],_0x3a9f2b=[],_0x3849fa=0x0;_0x3849fa<_0x3fa062;_0x3849fa++){var _0x4ff59a=_0x36eaca[_0x3849fa>>>0x2]>>>0x18-_0x3849fa%0x4*0x8&0xff;_0x3a9f2b['push']((_0x4ff59a>>>0x4)[_0x2b11a5(0x2fc)](0x10)),_0x3a9f2b[_0x2b11a5(0x367)]((_0x4ff59a&0xf)[_0x2b11a5(0x2fc)](0x10));}return _0x3a9f2b['join']('');},'parse':function(_0xfb0429){var _0x5601cc=_0x2126a5;for(var _0x59d93d=_0xfb0429[_0x5601cc(0x441)],_0x383df3=[],_0x35bae0=0x0;_0x35bae0<_0x59d93d;_0x35bae0+=0x2)_0x383df3[_0x35bae0>>>0x3]|=parseInt(_0xfb0429[_0x5601cc(0x299)](_0x35bae0,0x2),0x10)<<0x18-_0x35bae0%0x8*0x4;return new _0x405814[(_0x5601cc(0x46f))](_0x383df3,_0x59d93d/0x2);}},_0x286149=_0x1cf70c['Latin1']={'stringify':function(_0x2a90b7){var _0x41f2af=_0x2126a5;for(var _0x51f3f5=_0x2a90b7[_0x41f2af(0x336)],_0x11ed07=_0x2a90b7['sigBytes'],_0x11c5ea=[],_0x3538d7=0x0;_0x3538d7<_0x11ed07;_0x3538d7++){var _0x53e52f=_0x51f3f5[_0x3538d7>>>0x2]>>>0x18-_0x3538d7%0x4*0x8&0xff;_0x11c5ea[_0x41f2af(0x367)](String[_0x41f2af(0x17c)](_0x53e52f));}return _0x11c5ea[_0x41f2af(0x2a1)]('');},'parse':function(_0x22c605){var _0x212bc3=_0x2126a5;for(var _0x304bb1=_0x22c605[_0x212bc3(0x441)],_0x9fd596=[],_0x35ef3f=0x0;_0x35ef3f<_0x304bb1;_0x35ef3f++)_0x9fd596[_0x35ef3f>>>0x2]|=(_0x22c605[_0x212bc3(0x32f)](_0x35ef3f)&0xff)<<0x18-_0x35ef3f%0x4*0x8;return new _0x405814['init'](_0x9fd596,_0x304bb1);}},_0x1b76d2=_0x1cf70c['Utf8']={'stringify':function(_0x2954a9){var _0x47d18a=_0x2126a5;try{return decodeURIComponent(escape(_0x286149['stringify'](_0x2954a9)));}catch{throw new Error(_0x47d18a(0x401));}},'parse':function(_0x5b5379){var _0x5f04ab=_0x2126a5;return _0x286149[_0x5f04ab(0x263)](unescape(encodeURIComponent(_0x5b5379)));}},_0xbdfdd3=_0x496a0c[_0x2126a5(0x200)]=_0x6f5d89[_0x2126a5(0x4da)]({'reset':function(){var _0x44f966=_0x2126a5;this[_0x44f966(0x2bd)]=new _0x405814[(_0x44f966(0x46f))](),this['_nDataBytes']=0x0;},'_append':function(_0x33bae3){var _0x7e3d41=_0x2126a5;typeof _0x33bae3==_0x7e3d41(0x4b6)&&(_0x33bae3=_0x1b76d2[_0x7e3d41(0x263)](_0x33bae3)),this[_0x7e3d41(0x2bd)][_0x7e3d41(0x3b5)](_0x33bae3),this[_0x7e3d41(0x4dd)]+=_0x33bae3[_0x7e3d41(0x316)];},'_process':function(_0x38d48f){var _0x441b0c=_0x2126a5,_0x2681e9,_0x5168d6=this[_0x441b0c(0x2bd)],_0x325837=_0x5168d6[_0x441b0c(0x336)],_0x20d5db=_0x5168d6[_0x441b0c(0x316)],_0x3e7deb=this[_0x441b0c(0x226)],_0x17b05d=_0x3e7deb*0x4,_0x55d617=_0x20d5db/_0x17b05d;_0x38d48f?_0x55d617=_0x1b9164[_0x441b0c(0x2f4)](_0x55d617):_0x55d617=_0x1b9164[_0x441b0c(0x229)]((_0x55d617|0x0)-this[_0x441b0c(0x302)],0x0);var _0x1053e2=_0x55d617*_0x3e7deb,_0x15939d=_0x1b9164['min'](_0x1053e2*0x4,_0x20d5db);if(_0x1053e2){for(var _0x5eb962=0x0;_0x5eb962<_0x1053e2;_0x5eb962+=_0x3e7deb)this[_0x441b0c(0x18f)](_0x325837,_0x5eb962);_0x2681e9=_0x325837[_0x441b0c(0x42d)](0x0,_0x1053e2),_0x5168d6['sigBytes']-=_0x15939d;}return new _0x405814[(_0x441b0c(0x46f))](_0x2681e9,_0x15939d);},'clone':function(){var _0x4bb59d=_0x2126a5,_0x1f6222=_0x6f5d89[_0x4bb59d(0x243)][_0x4bb59d(0x339)](this);return _0x1f6222['_data']=this[_0x4bb59d(0x2bd)]['clone'](),_0x1f6222;},'_minBufferSize':0x0});_0x496a0c['Hasher']=_0xbdfdd3[_0x2126a5(0x4da)]({'cfg':_0x6f5d89[_0x2126a5(0x4da)](),'init':function(_0x2b866e){var _0x52fcc8=_0x2126a5;this['cfg']=this[_0x52fcc8(0x2c5)]['extend'](_0x2b866e),this[_0x52fcc8(0x36d)]();},'reset':function(){var _0x56b952=_0x2126a5;_0xbdfdd3[_0x56b952(0x36d)][_0x56b952(0x339)](this),this[_0x56b952(0x4ed)]();},'update':function(_0x1d8c2d){var _0x46079a=_0x2126a5;return this[_0x46079a(0x38d)](_0x1d8c2d),this['_process'](),this;},'finalize':function(_0x28134e){var _0xf9dd23=_0x2126a5;_0x28134e&&this[_0xf9dd23(0x38d)](_0x28134e);var _0x187161=this['_doFinalize']();return _0x187161;},'blockSize':0x10,'_createHelper':function(_0x1a4ad6){return function(_0x2dd24d,_0x4167fb){var _0x3c7eab=_0x1761;return new _0x1a4ad6[(_0x3c7eab(0x46f))](_0x4167fb)['finalize'](_0x2dd24d);};},'_createHmacHelper':function(_0x4d4dca){return function(_0x3bf1c6,_0x599ee4){var _0x4570de=_0x1761;return new _0x1d5a76[(_0x4570de(0x3d1))][(_0x4570de(0x46f))](_0x4d4dca,_0x599ee4)['finalize'](_0x3bf1c6);};}});var _0x1d5a76=_0x3ddd33[_0x2126a5(0x361)]={};return _0x3ddd33;}(Math);return _0x58adcd;}));}(pe)),pe[_0xaf172a(0x39a)];}var ge={'exports':{}},qi=ge['exports'],Qe;function Ut(){var _0xefe23d=_0x3943be;return Qe||(Qe=0x1,function(_0x236b68,_0x28c09e){(function(_0x3363df,_0x186b73){var _0x5df4b6=_0x1761;_0x236b68[_0x5df4b6(0x39a)]=_0x186b73(ee());}(qi,function(_0x1ff74c){var _0x1ad3f5=_0x1761;return(function(){var _0x521c95=_0x1761,_0x4d67b5=_0x1ff74c,_0x478295=_0x4d67b5[_0x521c95(0x3d7)],_0x4e61be=_0x478295[_0x521c95(0x492)],_0x2bca3d=_0x4d67b5[_0x521c95(0x2d7)];_0x2bca3d[_0x521c95(0x298)]={'stringify':function(_0x49f41a){var _0x19e831=_0x521c95,_0x44d7b9=_0x49f41a[_0x19e831(0x336)],_0x4f1824=_0x49f41a[_0x19e831(0x316)],_0xc050be=this[_0x19e831(0x352)];_0x49f41a[_0x19e831(0x2cd)]();for(var _0x15f121=[],_0x11f848=0x0;_0x11f848<_0x4f1824;_0x11f848+=0x3)for(var _0x269e90=_0x44d7b9[_0x11f848>>>0x2]>>>0x18-_0x11f848%0x4*0x8&0xff,_0x5cb656=_0x44d7b9[_0x11f848+0x1>>>0x2]>>>0x18-(_0x11f848+0x1)%0x4*0x8&0xff,_0x512311=_0x44d7b9[_0x11f848+0x2>>>0x2]>>>0x18-(_0x11f848+0x2)%0x4*0x8&0xff,_0x4a77b1=_0x269e90<<0x10|_0x5cb656<<0x8|_0x512311,_0x26441d=0x0;_0x26441d<0x4&&_0x11f848+_0x26441d*0.75<_0x4f1824;_0x26441d++)_0x15f121[_0x19e831(0x367)](_0xc050be['charAt'](_0x4a77b1>>>0x6*(0x3-_0x26441d)&0x3f));var _0x34227b=_0xc050be[_0x19e831(0x24b)](0x40);if(_0x34227b){for(;_0x15f121[_0x19e831(0x441)]%0x4;)_0x15f121[_0x19e831(0x367)](_0x34227b);}return _0x15f121['join']('');},'parse':function(_0x3c6ef9){var _0x598192=_0x521c95,_0xf0242b=_0x3c6ef9['length'],_0x50bbb1=this['_map'],_0x27dc9f=this['_reverseMap'];if(!_0x27dc9f){_0x27dc9f=this[_0x598192(0x4a6)]=[];for(var _0x4d6d14=0x0;_0x4d6d14<_0x50bbb1[_0x598192(0x441)];_0x4d6d14++)_0x27dc9f[_0x50bbb1[_0x598192(0x32f)](_0x4d6d14)]=_0x4d6d14;}var _0x56556c=_0x50bbb1[_0x598192(0x24b)](0x40);if(_0x56556c){var _0x16225f=_0x3c6ef9[_0x598192(0x403)](_0x56556c);_0x16225f!==-0x1&&(_0xf0242b=_0x16225f);}return _0x5711dc(_0x3c6ef9,_0xf0242b,_0x27dc9f);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x5711dc(_0x5a687c,_0x23511d,_0x2a8db5){var _0x35ce2e=_0x521c95;for(var _0x353e46=[],_0x33e850=0x0,_0x2367b3=0x0;_0x2367b3<_0x23511d;_0x2367b3++)if(_0x2367b3%0x4){var _0x40373c=_0x2a8db5[_0x5a687c['charCodeAt'](_0x2367b3-0x1)]<<_0x2367b3%0x4*0x2,_0x8851f=_0x2a8db5[_0x5a687c['charCodeAt'](_0x2367b3)]>>>0x6-_0x2367b3%0x4*0x2,_0x39cd08=_0x40373c|_0x8851f;_0x353e46[_0x33e850>>>0x2]|=_0x39cd08<<0x18-_0x33e850%0x4*0x8,_0x33e850++;}return _0x4e61be[_0x35ce2e(0x168)](_0x353e46,_0x33e850);}}()),_0x1ff74c[_0x1ad3f5(0x2d7)][_0x1ad3f5(0x298)];}));}(ge)),ge[_0xefe23d(0x39a)];}var me={'exports':{}},zi=me[_0x3943be(0x39a)],et;function Ji(){var _0x493ffd=_0x3943be;return et||(et=0x1,function(_0x1968bf,_0x27fc3){(function(_0x20f960,_0x20cf6f){_0x1968bf['exports']=_0x20cf6f(ee());}(zi,function(_0xe6a6aa){var _0x1b2eef=_0x1761;return function(_0x8df022){var _0x6d8ae4=_0x1761,_0x29c617=_0xe6a6aa,_0x24b3d3=_0x29c617[_0x6d8ae4(0x3d7)],_0x127bef=_0x24b3d3[_0x6d8ae4(0x492)],_0x1653d5=_0x24b3d3['Hasher'],_0x1548c2=_0x29c617[_0x6d8ae4(0x361)],_0x3e8298=[];(function(){var _0x481051=_0x6d8ae4;for(var _0x442dd1=0x0;_0x442dd1<0x40;_0x442dd1++)_0x3e8298[_0x442dd1]=_0x8df022[_0x481051(0x360)](_0x8df022[_0x481051(0x4bc)](_0x442dd1+0x1))*0x100000000|0x0;}());var _0x434599=_0x1548c2[_0x6d8ae4(0x4ad)]=_0x1653d5[_0x6d8ae4(0x4da)]({'_doReset':function(){var _0xeb0b50=_0x6d8ae4;this[_0xeb0b50(0x34f)]=new _0x127bef[(_0xeb0b50(0x46f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x21a679,_0x446d75){var _0x294175=_0x6d8ae4;for(var _0x1237de=0x0;_0x1237de<0x10;_0x1237de++){var _0x2552b2=_0x446d75+_0x1237de,_0x594016=_0x21a679[_0x2552b2];_0x21a679[_0x2552b2]=(_0x594016<<0x8|_0x594016>>>0x18)&0xff00ff|(_0x594016<<0x18|_0x594016>>>0x8)&0xff00ff00;}var _0x33fff9=this[_0x294175(0x34f)][_0x294175(0x336)],_0x5f2411=_0x21a679[_0x446d75+0x0],_0x91e63b=_0x21a679[_0x446d75+0x1],_0x5aab0f=_0x21a679[_0x446d75+0x2],_0x802331=_0x21a679[_0x446d75+0x3],_0x256bd0=_0x21a679[_0x446d75+0x4],_0x837067=_0x21a679[_0x446d75+0x5],_0x250754=_0x21a679[_0x446d75+0x6],_0x46eb15=_0x21a679[_0x446d75+0x7],_0x31e803=_0x21a679[_0x446d75+0x8],_0x2a04a4=_0x21a679[_0x446d75+0x9],_0x3eef0a=_0x21a679[_0x446d75+0xa],_0x528496=_0x21a679[_0x446d75+0xb],_0x253d14=_0x21a679[_0x446d75+0xc],_0x5ac53f=_0x21a679[_0x446d75+0xd],_0x38a689=_0x21a679[_0x446d75+0xe],_0x1192ca=_0x21a679[_0x446d75+0xf],_0x5f024d=_0x33fff9[0x0],_0xe8c487=_0x33fff9[0x1],_0x562191=_0x33fff9[0x2],_0x1e65de=_0x33fff9[0x3];_0x5f024d=_0x549941(_0x5f024d,_0xe8c487,_0x562191,_0x1e65de,_0x5f2411,0x7,_0x3e8298[0x0]),_0x1e65de=_0x549941(_0x1e65de,_0x5f024d,_0xe8c487,_0x562191,_0x91e63b,0xc,_0x3e8298[0x1]),_0x562191=_0x549941(_0x562191,_0x1e65de,_0x5f024d,_0xe8c487,_0x5aab0f,0x11,_0x3e8298[0x2]),_0xe8c487=_0x549941(_0xe8c487,_0x562191,_0x1e65de,_0x5f024d,_0x802331,0x16,_0x3e8298[0x3]),_0x5f024d=_0x549941(_0x5f024d,_0xe8c487,_0x562191,_0x1e65de,_0x256bd0,0x7,_0x3e8298[0x4]),_0x1e65de=_0x549941(_0x1e65de,_0x5f024d,_0xe8c487,_0x562191,_0x837067,0xc,_0x3e8298[0x5]),_0x562191=_0x549941(_0x562191,_0x1e65de,_0x5f024d,_0xe8c487,_0x250754,0x11,_0x3e8298[0x6]),_0xe8c487=_0x549941(_0xe8c487,_0x562191,_0x1e65de,_0x5f024d,_0x46eb15,0x16,_0x3e8298[0x7]),_0x5f024d=_0x549941(_0x5f024d,_0xe8c487,_0x562191,_0x1e65de,_0x31e803,0x7,_0x3e8298[0x8]),_0x1e65de=_0x549941(_0x1e65de,_0x5f024d,_0xe8c487,_0x562191,_0x2a04a4,0xc,_0x3e8298[0x9]),_0x562191=_0x549941(_0x562191,_0x1e65de,_0x5f024d,_0xe8c487,_0x3eef0a,0x11,_0x3e8298[0xa]),_0xe8c487=_0x549941(_0xe8c487,_0x562191,_0x1e65de,_0x5f024d,_0x528496,0x16,_0x3e8298[0xb]),_0x5f024d=_0x549941(_0x5f024d,_0xe8c487,_0x562191,_0x1e65de,_0x253d14,0x7,_0x3e8298[0xc]),_0x1e65de=_0x549941(_0x1e65de,_0x5f024d,_0xe8c487,_0x562191,_0x5ac53f,0xc,_0x3e8298[0xd]),_0x562191=_0x549941(_0x562191,_0x1e65de,_0x5f024d,_0xe8c487,_0x38a689,0x11,_0x3e8298[0xe]),_0xe8c487=_0x549941(_0xe8c487,_0x562191,_0x1e65de,_0x5f024d,_0x1192ca,0x16,_0x3e8298[0xf]),_0x5f024d=_0x1e9fd1(_0x5f024d,_0xe8c487,_0x562191,_0x1e65de,_0x91e63b,0x5,_0x3e8298[0x10]),_0x1e65de=_0x1e9fd1(_0x1e65de,_0x5f024d,_0xe8c487,_0x562191,_0x250754,0x9,_0x3e8298[0x11]),_0x562191=_0x1e9fd1(_0x562191,_0x1e65de,_0x5f024d,_0xe8c487,_0x528496,0xe,_0x3e8298[0x12]),_0xe8c487=_0x1e9fd1(_0xe8c487,_0x562191,_0x1e65de,_0x5f024d,_0x5f2411,0x14,_0x3e8298[0x13]),_0x5f024d=_0x1e9fd1(_0x5f024d,_0xe8c487,_0x562191,_0x1e65de,_0x837067,0x5,_0x3e8298[0x14]),_0x1e65de=_0x1e9fd1(_0x1e65de,_0x5f024d,_0xe8c487,_0x562191,_0x3eef0a,0x9,_0x3e8298[0x15]),_0x562191=_0x1e9fd1(_0x562191,_0x1e65de,_0x5f024d,_0xe8c487,_0x1192ca,0xe,_0x3e8298[0x16]),_0xe8c487=_0x1e9fd1(_0xe8c487,_0x562191,_0x1e65de,_0x5f024d,_0x256bd0,0x14,_0x3e8298[0x17]),_0x5f024d=_0x1e9fd1(_0x5f024d,_0xe8c487,_0x562191,_0x1e65de,_0x2a04a4,0x5,_0x3e8298[0x18]),_0x1e65de=_0x1e9fd1(_0x1e65de,_0x5f024d,_0xe8c487,_0x562191,_0x38a689,0x9,_0x3e8298[0x19]),_0x562191=_0x1e9fd1(_0x562191,_0x1e65de,_0x5f024d,_0xe8c487,_0x802331,0xe,_0x3e8298[0x1a]),_0xe8c487=_0x1e9fd1(_0xe8c487,_0x562191,_0x1e65de,_0x5f024d,_0x31e803,0x14,_0x3e8298[0x1b]),_0x5f024d=_0x1e9fd1(_0x5f024d,_0xe8c487,_0x562191,_0x1e65de,_0x5ac53f,0x5,_0x3e8298[0x1c]),_0x1e65de=_0x1e9fd1(_0x1e65de,_0x5f024d,_0xe8c487,_0x562191,_0x5aab0f,0x9,_0x3e8298[0x1d]),_0x562191=_0x1e9fd1(_0x562191,_0x1e65de,_0x5f024d,_0xe8c487,_0x46eb15,0xe,_0x3e8298[0x1e]),_0xe8c487=_0x1e9fd1(_0xe8c487,_0x562191,_0x1e65de,_0x5f024d,_0x253d14,0x14,_0x3e8298[0x1f]),_0x5f024d=_0x4e7b30(_0x5f024d,_0xe8c487,_0x562191,_0x1e65de,_0x837067,0x4,_0x3e8298[0x20]),_0x1e65de=_0x4e7b30(_0x1e65de,_0x5f024d,_0xe8c487,_0x562191,_0x31e803,0xb,_0x3e8298[0x21]),_0x562191=_0x4e7b30(_0x562191,_0x1e65de,_0x5f024d,_0xe8c487,_0x528496,0x10,_0x3e8298[0x22]),_0xe8c487=_0x4e7b30(_0xe8c487,_0x562191,_0x1e65de,_0x5f024d,_0x38a689,0x17,_0x3e8298[0x23]),_0x5f024d=_0x4e7b30(_0x5f024d,_0xe8c487,_0x562191,_0x1e65de,_0x91e63b,0x4,_0x3e8298[0x24]),_0x1e65de=_0x4e7b30(_0x1e65de,_0x5f024d,_0xe8c487,_0x562191,_0x256bd0,0xb,_0x3e8298[0x25]),_0x562191=_0x4e7b30(_0x562191,_0x1e65de,_0x5f024d,_0xe8c487,_0x46eb15,0x10,_0x3e8298[0x26]),_0xe8c487=_0x4e7b30(_0xe8c487,_0x562191,_0x1e65de,_0x5f024d,_0x3eef0a,0x17,_0x3e8298[0x27]),_0x5f024d=_0x4e7b30(_0x5f024d,_0xe8c487,_0x562191,_0x1e65de,_0x5ac53f,0x4,_0x3e8298[0x28]),_0x1e65de=_0x4e7b30(_0x1e65de,_0x5f024d,_0xe8c487,_0x562191,_0x5f2411,0xb,_0x3e8298[0x29]),_0x562191=_0x4e7b30(_0x562191,_0x1e65de,_0x5f024d,_0xe8c487,_0x802331,0x10,_0x3e8298[0x2a]),_0xe8c487=_0x4e7b30(_0xe8c487,_0x562191,_0x1e65de,_0x5f024d,_0x250754,0x17,_0x3e8298[0x2b]),_0x5f024d=_0x4e7b30(_0x5f024d,_0xe8c487,_0x562191,_0x1e65de,_0x2a04a4,0x4,_0x3e8298[0x2c]),_0x1e65de=_0x4e7b30(_0x1e65de,_0x5f024d,_0xe8c487,_0x562191,_0x253d14,0xb,_0x3e8298[0x2d]),_0x562191=_0x4e7b30(_0x562191,_0x1e65de,_0x5f024d,_0xe8c487,_0x1192ca,0x10,_0x3e8298[0x2e]),_0xe8c487=_0x4e7b30(_0xe8c487,_0x562191,_0x1e65de,_0x5f024d,_0x5aab0f,0x17,_0x3e8298[0x2f]),_0x5f024d=_0x44646a(_0x5f024d,_0xe8c487,_0x562191,_0x1e65de,_0x5f2411,0x6,_0x3e8298[0x30]),_0x1e65de=_0x44646a(_0x1e65de,_0x5f024d,_0xe8c487,_0x562191,_0x46eb15,0xa,_0x3e8298[0x31]),_0x562191=_0x44646a(_0x562191,_0x1e65de,_0x5f024d,_0xe8c487,_0x38a689,0xf,_0x3e8298[0x32]),_0xe8c487=_0x44646a(_0xe8c487,_0x562191,_0x1e65de,_0x5f024d,_0x837067,0x15,_0x3e8298[0x33]),_0x5f024d=_0x44646a(_0x5f024d,_0xe8c487,_0x562191,_0x1e65de,_0x253d14,0x6,_0x3e8298[0x34]),_0x1e65de=_0x44646a(_0x1e65de,_0x5f024d,_0xe8c487,_0x562191,_0x802331,0xa,_0x3e8298[0x35]),_0x562191=_0x44646a(_0x562191,_0x1e65de,_0x5f024d,_0xe8c487,_0x3eef0a,0xf,_0x3e8298[0x36]),_0xe8c487=_0x44646a(_0xe8c487,_0x562191,_0x1e65de,_0x5f024d,_0x91e63b,0x15,_0x3e8298[0x37]),_0x5f024d=_0x44646a(_0x5f024d,_0xe8c487,_0x562191,_0x1e65de,_0x31e803,0x6,_0x3e8298[0x38]),_0x1e65de=_0x44646a(_0x1e65de,_0x5f024d,_0xe8c487,_0x562191,_0x1192ca,0xa,_0x3e8298[0x39]),_0x562191=_0x44646a(_0x562191,_0x1e65de,_0x5f024d,_0xe8c487,_0x250754,0xf,_0x3e8298[0x3a]),_0xe8c487=_0x44646a(_0xe8c487,_0x562191,_0x1e65de,_0x5f024d,_0x5ac53f,0x15,_0x3e8298[0x3b]),_0x5f024d=_0x44646a(_0x5f024d,_0xe8c487,_0x562191,_0x1e65de,_0x256bd0,0x6,_0x3e8298[0x3c]),_0x1e65de=_0x44646a(_0x1e65de,_0x5f024d,_0xe8c487,_0x562191,_0x528496,0xa,_0x3e8298[0x3d]),_0x562191=_0x44646a(_0x562191,_0x1e65de,_0x5f024d,_0xe8c487,_0x5aab0f,0xf,_0x3e8298[0x3e]),_0xe8c487=_0x44646a(_0xe8c487,_0x562191,_0x1e65de,_0x5f024d,_0x2a04a4,0x15,_0x3e8298[0x3f]),_0x33fff9[0x0]=_0x33fff9[0x0]+_0x5f024d|0x0,_0x33fff9[0x1]=_0x33fff9[0x1]+_0xe8c487|0x0,_0x33fff9[0x2]=_0x33fff9[0x2]+_0x562191|0x0,_0x33fff9[0x3]=_0x33fff9[0x3]+_0x1e65de|0x0;},'_doFinalize':function(){var _0x27356b=_0x6d8ae4,_0x3f075b=this[_0x27356b(0x2bd)],_0xc02c15=_0x3f075b[_0x27356b(0x336)],_0x275025=this[_0x27356b(0x4dd)]*0x8,_0x1dc562=_0x3f075b['sigBytes']*0x8;_0xc02c15[_0x1dc562>>>0x5]|=0x80<<0x18-_0x1dc562%0x20;var _0x5905af=_0x8df022['floor'](_0x275025/0x100000000),_0x4a4173=_0x275025;_0xc02c15[(_0x1dc562+0x40>>>0x9<<0x4)+0xf]=(_0x5905af<<0x8|_0x5905af>>>0x18)&0xff00ff|(_0x5905af<<0x18|_0x5905af>>>0x8)&0xff00ff00,_0xc02c15[(_0x1dc562+0x40>>>0x9<<0x4)+0xe]=(_0x4a4173<<0x8|_0x4a4173>>>0x18)&0xff00ff|(_0x4a4173<<0x18|_0x4a4173>>>0x8)&0xff00ff00,_0x3f075b['sigBytes']=(_0xc02c15[_0x27356b(0x441)]+0x1)*0x4,this[_0x27356b(0x28f)]();for(var _0x467690=this[_0x27356b(0x34f)],_0x4a0415=_0x467690[_0x27356b(0x336)],_0x45fcd1=0x0;_0x45fcd1<0x4;_0x45fcd1++){var _0x238148=_0x4a0415[_0x45fcd1];_0x4a0415[_0x45fcd1]=(_0x238148<<0x8|_0x238148>>>0x18)&0xff00ff|(_0x238148<<0x18|_0x238148>>>0x8)&0xff00ff00;}return _0x467690;},'clone':function(){var _0x31e97f=_0x6d8ae4,_0x2b553b=_0x1653d5['clone'][_0x31e97f(0x339)](this);return _0x2b553b['_hash']=this[_0x31e97f(0x34f)][_0x31e97f(0x243)](),_0x2b553b;}});function _0x549941(_0x4f0402,_0x2430a2,_0x1b355f,_0x3e7e60,_0x3e565c,_0x617c00,_0x4d818b){var _0x197759=_0x4f0402+(_0x2430a2&_0x1b355f|~_0x2430a2&_0x3e7e60)+_0x3e565c+_0x4d818b;return(_0x197759<<_0x617c00|_0x197759>>>0x20-_0x617c00)+_0x2430a2;}function _0x1e9fd1(_0x10a677,_0x3a7e5e,_0x2c10d1,_0x11eeb7,_0x1b73bc,_0x33d31d,_0x4e31f3){var _0x348f6e=_0x10a677+(_0x3a7e5e&_0x11eeb7|_0x2c10d1&~_0x11eeb7)+_0x1b73bc+_0x4e31f3;return(_0x348f6e<<_0x33d31d|_0x348f6e>>>0x20-_0x33d31d)+_0x3a7e5e;}function _0x4e7b30(_0x3db300,_0x2019bf,_0x3833e3,_0xb510f,_0x28215f,_0x3081c3,_0x2d375e){var _0xaf2c6e=_0x3db300+(_0x2019bf^_0x3833e3^_0xb510f)+_0x28215f+_0x2d375e;return(_0xaf2c6e<<_0x3081c3|_0xaf2c6e>>>0x20-_0x3081c3)+_0x2019bf;}function _0x44646a(_0x16f186,_0x3b58a7,_0x483dd4,_0x265b3c,_0x454743,_0x7a4b04,_0x21e779){var _0x344def=_0x16f186+(_0x483dd4^(_0x3b58a7|~_0x265b3c))+_0x454743+_0x21e779;return(_0x344def<<_0x7a4b04|_0x344def>>>0x20-_0x7a4b04)+_0x3b58a7;}_0x29c617[_0x6d8ae4(0x4ad)]=_0x1653d5[_0x6d8ae4(0x376)](_0x434599),_0x29c617[_0x6d8ae4(0x3ef)]=_0x1653d5[_0x6d8ae4(0x456)](_0x434599);}(Math),_0xe6a6aa[_0x1b2eef(0x4ad)];}));}(me)),me[_0x493ffd(0x39a)];}var Ie={'exports':{}},Ee={'exports':{}},Xi=Ee['exports'],tt;function Zi(){var _0x424252=_0x3943be;return tt||(tt=0x1,function(_0x340bc7,_0x9e7003){(function(_0x1c37db,_0x1f357c){var _0x23906d=_0x1761;_0x340bc7[_0x23906d(0x39a)]=_0x1f357c(ee());}(Xi,function(_0x5207bd){return(function(){var _0x1c488a=_0x1761,_0x24c2b2=_0x5207bd,_0x14ca2d=_0x24c2b2[_0x1c488a(0x3d7)],_0x5ea50d=_0x14ca2d[_0x1c488a(0x492)],_0x19cee2=_0x14ca2d[_0x1c488a(0x35a)],_0x1a2130=_0x24c2b2[_0x1c488a(0x361)],_0x16fb2e=[],_0x4b099c=_0x1a2130[_0x1c488a(0x2d2)]=_0x19cee2[_0x1c488a(0x4da)]({'_doReset':function(){var _0x4b459a=_0x1c488a;this[_0x4b459a(0x34f)]=new _0x5ea50d[(_0x4b459a(0x46f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4564d8,_0x183177){var _0x43096d=_0x1c488a;for(var _0x32c76d=this[_0x43096d(0x34f)][_0x43096d(0x336)],_0x4274eb=_0x32c76d[0x0],_0x4e48a4=_0x32c76d[0x1],_0x4ecb21=_0x32c76d[0x2],_0x271672=_0x32c76d[0x3],_0x30ac6d=_0x32c76d[0x4],_0x37050d=0x0;_0x37050d<0x50;_0x37050d++){if(_0x37050d<0x10)_0x16fb2e[_0x37050d]=_0x4564d8[_0x183177+_0x37050d]|0x0;else{var _0x53bf53=_0x16fb2e[_0x37050d-0x3]^_0x16fb2e[_0x37050d-0x8]^_0x16fb2e[_0x37050d-0xe]^_0x16fb2e[_0x37050d-0x10];_0x16fb2e[_0x37050d]=_0x53bf53<<0x1|_0x53bf53>>>0x1f;}var _0x27d3cd=(_0x4274eb<<0x5|_0x4274eb>>>0x1b)+_0x30ac6d+_0x16fb2e[_0x37050d];_0x37050d<0x14?_0x27d3cd+=(_0x4e48a4&_0x4ecb21|~_0x4e48a4&_0x271672)+0x5a827999:_0x37050d<0x28?_0x27d3cd+=(_0x4e48a4^_0x4ecb21^_0x271672)+0x6ed9eba1:_0x37050d<0x3c?_0x27d3cd+=(_0x4e48a4&_0x4ecb21|_0x4e48a4&_0x271672|_0x4ecb21&_0x271672)-0x70e44324:_0x27d3cd+=(_0x4e48a4^_0x4ecb21^_0x271672)-0x359d3e2a,_0x30ac6d=_0x271672,_0x271672=_0x4ecb21,_0x4ecb21=_0x4e48a4<<0x1e|_0x4e48a4>>>0x2,_0x4e48a4=_0x4274eb,_0x4274eb=_0x27d3cd;}_0x32c76d[0x0]=_0x32c76d[0x0]+_0x4274eb|0x0,_0x32c76d[0x1]=_0x32c76d[0x1]+_0x4e48a4|0x0,_0x32c76d[0x2]=_0x32c76d[0x2]+_0x4ecb21|0x0,_0x32c76d[0x3]=_0x32c76d[0x3]+_0x271672|0x0,_0x32c76d[0x4]=_0x32c76d[0x4]+_0x30ac6d|0x0;},'_doFinalize':function(){var _0x4813bd=_0x1c488a,_0x3830eb=this['_data'],_0x2a606f=_0x3830eb['words'],_0x5a0d8d=this[_0x4813bd(0x4dd)]*0x8,_0x1db37e=_0x3830eb['sigBytes']*0x8;return _0x2a606f[_0x1db37e>>>0x5]|=0x80<<0x18-_0x1db37e%0x20,_0x2a606f[(_0x1db37e+0x40>>>0x9<<0x4)+0xe]=Math[_0x4813bd(0x2e0)](_0x5a0d8d/0x100000000),_0x2a606f[(_0x1db37e+0x40>>>0x9<<0x4)+0xf]=_0x5a0d8d,_0x3830eb[_0x4813bd(0x316)]=_0x2a606f[_0x4813bd(0x441)]*0x4,this[_0x4813bd(0x28f)](),this['_hash'];},'clone':function(){var _0x47ad4f=_0x1c488a,_0x1380cb=_0x19cee2[_0x47ad4f(0x243)][_0x47ad4f(0x339)](this);return _0x1380cb['_hash']=this['_hash'][_0x47ad4f(0x243)](),_0x1380cb;}});_0x24c2b2[_0x1c488a(0x2d2)]=_0x19cee2['_createHelper'](_0x4b099c),_0x24c2b2[_0x1c488a(0x1b3)]=_0x19cee2[_0x1c488a(0x456)](_0x4b099c);}()),_0x5207bd['SHA1'];}));}(Ee)),Ee[_0x424252(0x39a)];}var Ce={'exports':{}},Qi=Ce[_0x3943be(0x39a)],it;function _0x1761(_0xa1f5d5,_0x2f69ae){var _0x217c35=_0x217c();return _0x1761=function(_0x17610b,_0x2ccafe){_0x17610b=_0x17610b-0x166;var _0x51b263=_0x217c35[_0x17610b];return _0x51b263;},_0x1761(_0xa1f5d5,_0x2f69ae);}function en(){var _0x84ef43=_0x3943be;return it||(it=0x1,function(_0x45085b,_0x416d15){(function(_0x4311a5,_0x4b4659){var _0x57de4c=_0x1761;_0x45085b[_0x57de4c(0x39a)]=_0x4b4659(ee());}(Qi,function(_0x1b1b7c){(function(){var _0x5743b=_0x1761,_0x145f42=_0x1b1b7c,_0x53455e=_0x145f42[_0x5743b(0x3d7)],_0x207c41=_0x53455e[_0x5743b(0x25d)],_0x3f379e=_0x145f42[_0x5743b(0x2d7)],_0x1b2679=_0x3f379e[_0x5743b(0x2ab)],_0x4ba503=_0x145f42[_0x5743b(0x361)];_0x4ba503['HMAC']=_0x207c41[_0x5743b(0x4da)]({'init':function(_0x73a6aa,_0x9a0560){var _0x1fcc23=_0x5743b;_0x73a6aa=this[_0x1fcc23(0x371)]=new _0x73a6aa[(_0x1fcc23(0x46f))](),typeof _0x9a0560==_0x1fcc23(0x4b6)&&(_0x9a0560=_0x1b2679[_0x1fcc23(0x263)](_0x9a0560));var _0xe8b0b5=_0x73a6aa[_0x1fcc23(0x226)],_0x398fae=_0xe8b0b5*0x4;_0x9a0560['sigBytes']>_0x398fae&&(_0x9a0560=_0x73a6aa['finalize'](_0x9a0560)),_0x9a0560[_0x1fcc23(0x2cd)]();for(var _0xeefefe=this[_0x1fcc23(0x2c9)]=_0x9a0560[_0x1fcc23(0x243)](),_0x11bccf=this[_0x1fcc23(0x43f)]=_0x9a0560[_0x1fcc23(0x243)](),_0x561425=_0xeefefe[_0x1fcc23(0x336)],_0x35392f=_0x11bccf[_0x1fcc23(0x336)],_0x39badb=0x0;_0x39badb<_0xe8b0b5;_0x39badb++)_0x561425[_0x39badb]^=0x5c5c5c5c,_0x35392f[_0x39badb]^=0x36363636;_0xeefefe[_0x1fcc23(0x316)]=_0x11bccf[_0x1fcc23(0x316)]=_0x398fae,this[_0x1fcc23(0x36d)]();},'reset':function(){var _0x4d8ae3=_0x5743b,_0x19290d=this[_0x4d8ae3(0x371)];_0x19290d[_0x4d8ae3(0x36d)](),_0x19290d[_0x4d8ae3(0x1c3)](this[_0x4d8ae3(0x43f)]);},'update':function(_0x2b4184){var _0x263631=_0x5743b;return this[_0x263631(0x371)][_0x263631(0x1c3)](_0x2b4184),this;},'finalize':function(_0x2ac862){var _0x40a1c0=_0x5743b,_0xeb02bf=this[_0x40a1c0(0x371)],_0x23340a=_0xeb02bf[_0x40a1c0(0x365)](_0x2ac862);_0xeb02bf[_0x40a1c0(0x36d)]();var _0x57ee30=_0xeb02bf['finalize'](this[_0x40a1c0(0x2c9)][_0x40a1c0(0x243)]()[_0x40a1c0(0x3b5)](_0x23340a));return _0x57ee30;}});}());}));}(Ce)),Ce[_0x84ef43(0x39a)];}var tn=Ie['exports'],nt;function Dt(){var _0x5a0284=_0x3943be;return nt||(nt=0x1,function(_0x3579,_0x27708d){(function(_0x1ffe87,_0x10462d,_0x44b2ef){var _0xeb511a=_0x1761;_0x3579[_0xeb511a(0x39a)]=_0x10462d(ee(),Zi(),en());}(tn,function(_0x1a8ec1){var _0x39d694=_0x1761;return(function(){var _0x1d1deb=_0x1761,_0x4acac2=_0x1a8ec1,_0x5ee5bf=_0x4acac2[_0x1d1deb(0x3d7)],_0x3cb9a9=_0x5ee5bf['Base'],_0x177df8=_0x5ee5bf['WordArray'],_0x3191ea=_0x4acac2[_0x1d1deb(0x361)],_0x1d8337=_0x3191ea['MD5'],_0x6aa63f=_0x3191ea[_0x1d1deb(0x3ec)]=_0x3cb9a9[_0x1d1deb(0x4da)]({'cfg':_0x3cb9a9[_0x1d1deb(0x4da)]({'keySize':0x80/0x20,'hasher':_0x1d8337,'iterations':0x1}),'init':function(_0x440260){var _0x4c07d0=_0x1d1deb;this[_0x4c07d0(0x2c5)]=this[_0x4c07d0(0x2c5)][_0x4c07d0(0x4da)](_0x440260);},'compute':function(_0x5bdc12,_0x4adba6){var _0xf4b74a=_0x1d1deb;for(var _0x5d04a6,_0x37af=this[_0xf4b74a(0x2c5)],_0x3e1bda=_0x37af[_0xf4b74a(0x36e)][_0xf4b74a(0x168)](),_0x2e0ffc=_0x177df8['create'](),_0x12b772=_0x2e0ffc[_0xf4b74a(0x336)],_0xf8c1b6=_0x37af[_0xf4b74a(0x4e5)],_0x503439=_0x37af['iterations'];_0x12b772['length']<_0xf8c1b6;){_0x5d04a6&&_0x3e1bda[_0xf4b74a(0x1c3)](_0x5d04a6),_0x5d04a6=_0x3e1bda[_0xf4b74a(0x1c3)](_0x5bdc12)[_0xf4b74a(0x365)](_0x4adba6),_0x3e1bda[_0xf4b74a(0x36d)]();for(var _0xf02627=0x1;_0xf02627<_0x503439;_0xf02627++)_0x5d04a6=_0x3e1bda[_0xf4b74a(0x365)](_0x5d04a6),_0x3e1bda[_0xf4b74a(0x36d)]();_0x2e0ffc[_0xf4b74a(0x3b5)](_0x5d04a6);}return _0x2e0ffc['sigBytes']=_0xf8c1b6*0x4,_0x2e0ffc;}});_0x4acac2[_0x1d1deb(0x3ec)]=function(_0x4b98a7,_0x5ce6c3,_0x273be7){var _0x44248f=_0x1d1deb;return _0x6aa63f[_0x44248f(0x168)](_0x273be7)['compute'](_0x4b98a7,_0x5ce6c3);};}()),_0x1a8ec1[_0x39d694(0x3ec)];}));}(Ie)),Ie[_0x5a0284(0x39a)];}var Te={'exports':{}},nn=Te[_0x3943be(0x39a)],rt;function wt(){return rt||(rt=0x1,function(_0x4ae5a8,_0x4efb42){(function(_0x25bfd6,_0x32fcc8,_0x4b321e){_0x4ae5a8['exports']=_0x32fcc8(ee(),Dt());}(nn,function(_0x14f7d6){var _0xc37801=_0x1761;_0x14f7d6[_0xc37801(0x3d7)][_0xc37801(0x173)]||function(_0x3c35d9){var _0x11f8f2=_0xc37801,_0x126ff5=_0x14f7d6,_0x245a56=_0x126ff5[_0x11f8f2(0x3d7)],_0x37dd46=_0x245a56[_0x11f8f2(0x25d)],_0x36dc37=_0x245a56[_0x11f8f2(0x492)],_0x297807=_0x245a56[_0x11f8f2(0x200)],_0x3bf6f8=_0x126ff5[_0x11f8f2(0x2d7)];_0x3bf6f8[_0x11f8f2(0x2ab)];var _0x19be76=_0x3bf6f8['Base64'],_0x2c5eeb=_0x126ff5[_0x11f8f2(0x361)],_0x459cae=_0x2c5eeb[_0x11f8f2(0x3ec)],_0x3efd75=_0x245a56['Cipher']=_0x297807['extend']({'cfg':_0x37dd46[_0x11f8f2(0x4da)](),'createEncryptor':function(_0xb2e583,_0x4a0b2e){var _0x2bb684=_0x11f8f2;return this[_0x2bb684(0x168)](this[_0x2bb684(0x4ef)],_0xb2e583,_0x4a0b2e);},'createDecryptor':function(_0x38f1c8,_0x277a71){var _0x564087=_0x11f8f2;return this[_0x564087(0x168)](this[_0x564087(0x43d)],_0x38f1c8,_0x277a71);},'init':function(_0x4d5f6e,_0x43d3ff,_0x17dab6){var _0x1ad06f=_0x11f8f2;this[_0x1ad06f(0x2c5)]=this[_0x1ad06f(0x2c5)][_0x1ad06f(0x4da)](_0x17dab6),this[_0x1ad06f(0x31c)]=_0x4d5f6e,this['_key']=_0x43d3ff,this['reset']();},'reset':function(){var _0x150c20=_0x11f8f2;_0x297807['reset'][_0x150c20(0x339)](this),this['_doReset']();},'process':function(_0x3b236e){var _0x2486e5=_0x11f8f2;return this[_0x2486e5(0x38d)](_0x3b236e),this[_0x2486e5(0x28f)]();},'finalize':function(_0x42a420){var _0x3abc05=_0x11f8f2;_0x42a420&&this[_0x3abc05(0x38d)](_0x42a420);var _0x2df5b6=this[_0x3abc05(0x3cf)]();return _0x2df5b6;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x16424c(_0xd1be8d){var _0x233c0e=_0x1761;return typeof _0xd1be8d==_0x233c0e(0x4b6)?_0x45fd57:_0x34151d;}return function(_0xcfca2f){return{'encrypt':function(_0x32b766,_0x48be18,_0xc2eda0){var _0x26f596=_0x1761;return _0x16424c(_0x48be18)[_0x26f596(0x428)](_0xcfca2f,_0x32b766,_0x48be18,_0xc2eda0);},'decrypt':function(_0x550b0a,_0x2d32b8,_0x44caee){return _0x16424c(_0x2d32b8)['decrypt'](_0xcfca2f,_0x550b0a,_0x2d32b8,_0x44caee);}};};}())});_0x245a56[_0x11f8f2(0x2bb)]=_0x3efd75[_0x11f8f2(0x4da)]({'_doFinalize':function(){var _0x15d261=_0x11f8f2,_0x1d6c16=this[_0x15d261(0x28f)](!0x0);return _0x1d6c16;},'blockSize':0x1});var _0x12f747=_0x126ff5[_0x11f8f2(0x26b)]={},_0x3fc2f6=_0x245a56[_0x11f8f2(0x459)]=_0x37dd46['extend']({'createEncryptor':function(_0x2efb16,_0x1835d8){var _0x58294a=_0x11f8f2;return this[_0x58294a(0x45b)][_0x58294a(0x168)](_0x2efb16,_0x1835d8);},'createDecryptor':function(_0x49c0f8,_0x41f4ce){var _0x504cfb=_0x11f8f2;return this[_0x504cfb(0x491)][_0x504cfb(0x168)](_0x49c0f8,_0x41f4ce);},'init':function(_0xdc64df,_0x3a0978){var _0x45f37a=_0x11f8f2;this[_0x45f37a(0x4b1)]=_0xdc64df,this['_iv']=_0x3a0978;}}),_0x360398=_0x12f747[_0x11f8f2(0x2e7)]=(function(){var _0xdd1139=_0x11f8f2,_0xe7255=_0x3fc2f6[_0xdd1139(0x4da)]();_0xe7255[_0xdd1139(0x45b)]=_0xe7255[_0xdd1139(0x4da)]({'processBlock':function(_0x41da4e,_0x478404){var _0x1f43a1=_0xdd1139,_0x19f505=this['_cipher'],_0x46bd96=_0x19f505[_0x1f43a1(0x226)];_0x1ced78[_0x1f43a1(0x339)](this,_0x41da4e,_0x478404,_0x46bd96),_0x19f505[_0x1f43a1(0x279)](_0x41da4e,_0x478404),this[_0x1f43a1(0x489)]=_0x41da4e[_0x1f43a1(0x3ab)](_0x478404,_0x478404+_0x46bd96);}}),_0xe7255[_0xdd1139(0x491)]=_0xe7255[_0xdd1139(0x4da)]({'processBlock':function(_0x1da2bb,_0x54d0ff){var _0x12ca4d=_0xdd1139,_0xe4f494=this[_0x12ca4d(0x4b1)],_0x388668=_0xe4f494['blockSize'],_0x4970ad=_0x1da2bb[_0x12ca4d(0x3ab)](_0x54d0ff,_0x54d0ff+_0x388668);_0xe4f494['decryptBlock'](_0x1da2bb,_0x54d0ff),_0x1ced78[_0x12ca4d(0x339)](this,_0x1da2bb,_0x54d0ff,_0x388668),this[_0x12ca4d(0x489)]=_0x4970ad;}});function _0x1ced78(_0x3e006a,_0x566967,_0x3f2211){var _0x11fd6a=_0xdd1139,_0x163318,_0x5e6831=this[_0x11fd6a(0x2a6)];_0x5e6831?(_0x163318=_0x5e6831,this[_0x11fd6a(0x2a6)]=_0x3c35d9):_0x163318=this[_0x11fd6a(0x489)];for(var _0x7c31bd=0x0;_0x7c31bd<_0x3f2211;_0x7c31bd++)_0x3e006a[_0x566967+_0x7c31bd]^=_0x163318[_0x7c31bd];}return _0xe7255;}()),_0x10c286=_0x126ff5[_0x11f8f2(0x495)]={},_0x5ce813=_0x10c286[_0x11f8f2(0x469)]={'pad':function(_0x7aaae3,_0x102cc9){var _0x55588f=_0x11f8f2;for(var _0x54fbd5=_0x102cc9*0x4,_0x5487b4=_0x54fbd5-_0x7aaae3['sigBytes']%_0x54fbd5,_0x2ad625=_0x5487b4<<0x18|_0x5487b4<<0x10|_0x5487b4<<0x8|_0x5487b4,_0x375d38=[],_0x44e047=0x0;_0x44e047<_0x5487b4;_0x44e047+=0x4)_0x375d38[_0x55588f(0x367)](_0x2ad625);var _0x21ba8e=_0x36dc37[_0x55588f(0x168)](_0x375d38,_0x5487b4);_0x7aaae3[_0x55588f(0x3b5)](_0x21ba8e);},'unpad':function(_0x175e3a){var _0x38501d=_0x11f8f2,_0x4c9242=_0x175e3a[_0x38501d(0x336)][_0x175e3a[_0x38501d(0x316)]-0x1>>>0x2]&0xff;_0x175e3a[_0x38501d(0x316)]-=_0x4c9242;}};_0x245a56[_0x11f8f2(0x4e4)]=_0x3efd75[_0x11f8f2(0x4da)]({'cfg':_0x3efd75[_0x11f8f2(0x2c5)]['extend']({'mode':_0x360398,'padding':_0x5ce813}),'reset':function(){var _0x159f76=_0x11f8f2,_0x39f4d2;_0x3efd75['reset'][_0x159f76(0x339)](this);var _0x44faa0=this['cfg'],_0x574cf5=_0x44faa0['iv'],_0x804e9c=_0x44faa0[_0x159f76(0x26b)];this[_0x159f76(0x31c)]==this[_0x159f76(0x4ef)]?_0x39f4d2=_0x804e9c[_0x159f76(0x1a0)]:(_0x39f4d2=_0x804e9c[_0x159f76(0x183)],this[_0x159f76(0x302)]=0x1),this[_0x159f76(0x2b9)]&&this[_0x159f76(0x2b9)][_0x159f76(0x32d)]==_0x39f4d2?this['_mode'][_0x159f76(0x46f)](this,_0x574cf5&&_0x574cf5[_0x159f76(0x336)]):(this[_0x159f76(0x2b9)]=_0x39f4d2[_0x159f76(0x339)](_0x804e9c,this,_0x574cf5&&_0x574cf5[_0x159f76(0x336)]),this[_0x159f76(0x2b9)][_0x159f76(0x32d)]=_0x39f4d2);},'_doProcessBlock':function(_0x5801bc,_0x5b4d58){var _0x15b9be=_0x11f8f2;this[_0x15b9be(0x2b9)][_0x15b9be(0x3e4)](_0x5801bc,_0x5b4d58);},'_doFinalize':function(){var _0x2c041e=_0x11f8f2,_0x12f206,_0x5ef398=this[_0x2c041e(0x2c5)]['padding'];return this['_xformMode']==this[_0x2c041e(0x4ef)]?(_0x5ef398[_0x2c041e(0x495)](this['_data'],this[_0x2c041e(0x226)]),_0x12f206=this[_0x2c041e(0x28f)](!0x0)):(_0x12f206=this[_0x2c041e(0x28f)](!0x0),_0x5ef398[_0x2c041e(0x47c)](_0x12f206)),_0x12f206;},'blockSize':0x80/0x20});var _0x4bf9a6=_0x245a56[_0x11f8f2(0x3b4)]=_0x37dd46['extend']({'init':function(_0x382549){var _0x379f31=_0x11f8f2;this[_0x379f31(0x300)](_0x382549);},'toString':function(_0x99a9d2){var _0x110209=_0x11f8f2;return(_0x99a9d2||this[_0x110209(0x2e9)])[_0x110209(0x193)](this);}}),_0x318cca=_0x126ff5[_0x11f8f2(0x1d1)]={},_0x429d02=_0x318cca[_0x11f8f2(0x324)]={'stringify':function(_0x55d18f){var _0x215ebc=_0x11f8f2,_0x44c6a9,_0x129d16=_0x55d18f[_0x215ebc(0x2e4)],_0x1410d4=_0x55d18f[_0x215ebc(0x420)];return _0x1410d4?_0x44c6a9=_0x36dc37[_0x215ebc(0x168)]([0x53616c74,0x65645f5f])['concat'](_0x1410d4)['concat'](_0x129d16):_0x44c6a9=_0x129d16,_0x44c6a9[_0x215ebc(0x2fc)](_0x19be76);},'parse':function(_0x1bdfd6){var _0x7cd36e=_0x11f8f2,_0x470a0a,_0x4e9653=_0x19be76['parse'](_0x1bdfd6),_0x5aa8a0=_0x4e9653[_0x7cd36e(0x336)];return _0x5aa8a0[0x0]==0x53616c74&&_0x5aa8a0[0x1]==0x65645f5f&&(_0x470a0a=_0x36dc37[_0x7cd36e(0x168)](_0x5aa8a0[_0x7cd36e(0x3ab)](0x2,0x4)),_0x5aa8a0[_0x7cd36e(0x42d)](0x0,0x4),_0x4e9653['sigBytes']-=0x10),_0x4bf9a6[_0x7cd36e(0x168)]({'ciphertext':_0x4e9653,'salt':_0x470a0a});}},_0x34151d=_0x245a56[_0x11f8f2(0x419)]=_0x37dd46[_0x11f8f2(0x4da)]({'cfg':_0x37dd46[_0x11f8f2(0x4da)]({'format':_0x429d02}),'encrypt':function(_0x25e6e1,_0xc6a307,_0x27cc2a,_0x463f03){var _0x4d1e25=_0x11f8f2;_0x463f03=this[_0x4d1e25(0x2c5)][_0x4d1e25(0x4da)](_0x463f03);var _0x31d6ad=_0x25e6e1[_0x4d1e25(0x1a0)](_0x27cc2a,_0x463f03),_0x5cd6bc=_0x31d6ad[_0x4d1e25(0x365)](_0xc6a307),_0x188852=_0x31d6ad[_0x4d1e25(0x2c5)];return _0x4bf9a6[_0x4d1e25(0x168)]({'ciphertext':_0x5cd6bc,'key':_0x27cc2a,'iv':_0x188852['iv'],'algorithm':_0x25e6e1,'mode':_0x188852[_0x4d1e25(0x26b)],'padding':_0x188852[_0x4d1e25(0x1ae)],'blockSize':_0x25e6e1['blockSize'],'formatter':_0x463f03[_0x4d1e25(0x1d1)]});},'decrypt':function(_0x1d92f5,_0x114ca6,_0x2fc8dc,_0x560c5e){var _0x5ae7db=_0x11f8f2;_0x560c5e=this['cfg'][_0x5ae7db(0x4da)](_0x560c5e),_0x114ca6=this[_0x5ae7db(0x3c9)](_0x114ca6,_0x560c5e[_0x5ae7db(0x1d1)]);var _0x13b6a9=_0x1d92f5[_0x5ae7db(0x183)](_0x2fc8dc,_0x560c5e)[_0x5ae7db(0x365)](_0x114ca6['ciphertext']);return _0x13b6a9;},'_parse':function(_0x5aa730,_0x14dec1){var _0x319845=_0x11f8f2;return typeof _0x5aa730=='string'?_0x14dec1[_0x319845(0x263)](_0x5aa730,this):_0x5aa730;}}),_0x10e4af=_0x126ff5[_0x11f8f2(0x438)]={},_0x1dd295=_0x10e4af[_0x11f8f2(0x324)]={'execute':function(_0x2e5c5a,_0x3ecfb9,_0x531484,_0x45954b,_0x1eaf76){var _0x4e51b9=_0x11f8f2;if(_0x45954b||(_0x45954b=_0x36dc37['random'](0x40/0x8)),_0x1eaf76)var _0x8b573d=_0x459cae[_0x4e51b9(0x168)]({'keySize':_0x3ecfb9+_0x531484,'hasher':_0x1eaf76})[_0x4e51b9(0x24a)](_0x2e5c5a,_0x45954b);else var _0x8b573d=_0x459cae['create']({'keySize':_0x3ecfb9+_0x531484})[_0x4e51b9(0x24a)](_0x2e5c5a,_0x45954b);var _0x19602b=_0x36dc37[_0x4e51b9(0x168)](_0x8b573d[_0x4e51b9(0x336)]['slice'](_0x3ecfb9),_0x531484*0x4);return _0x8b573d[_0x4e51b9(0x316)]=_0x3ecfb9*0x4,_0x4bf9a6[_0x4e51b9(0x168)]({'key':_0x8b573d,'iv':_0x19602b,'salt':_0x45954b});}},_0x45fd57=_0x245a56[_0x11f8f2(0x4b9)]=_0x34151d['extend']({'cfg':_0x34151d[_0x11f8f2(0x2c5)][_0x11f8f2(0x4da)]({'kdf':_0x1dd295}),'encrypt':function(_0x26c422,_0x490033,_0x31005c,_0x380ce2){var _0x45cfd5=_0x11f8f2;_0x380ce2=this[_0x45cfd5(0x2c5)][_0x45cfd5(0x4da)](_0x380ce2);var _0x47dc8e=_0x380ce2[_0x45cfd5(0x438)][_0x45cfd5(0x20d)](_0x31005c,_0x26c422[_0x45cfd5(0x4e5)],_0x26c422[_0x45cfd5(0x351)],_0x380ce2[_0x45cfd5(0x420)],_0x380ce2[_0x45cfd5(0x36e)]);_0x380ce2['iv']=_0x47dc8e['iv'];var _0x24d66f=_0x34151d[_0x45cfd5(0x428)][_0x45cfd5(0x339)](this,_0x26c422,_0x490033,_0x47dc8e['key'],_0x380ce2);return _0x24d66f[_0x45cfd5(0x300)](_0x47dc8e),_0x24d66f;},'decrypt':function(_0x34e2a0,_0x18ff70,_0x52cbb6,_0x247b7f){var _0xf0e4c5=_0x11f8f2;_0x247b7f=this[_0xf0e4c5(0x2c5)][_0xf0e4c5(0x4da)](_0x247b7f),_0x18ff70=this[_0xf0e4c5(0x3c9)](_0x18ff70,_0x247b7f[_0xf0e4c5(0x1d1)]);var _0x3d9a48=_0x247b7f[_0xf0e4c5(0x438)][_0xf0e4c5(0x20d)](_0x52cbb6,_0x34e2a0[_0xf0e4c5(0x4e5)],_0x34e2a0['ivSize'],_0x18ff70[_0xf0e4c5(0x420)],_0x247b7f[_0xf0e4c5(0x36e)]);_0x247b7f['iv']=_0x3d9a48['iv'];var _0x7039c5=_0x34151d[_0xf0e4c5(0x25f)][_0xf0e4c5(0x339)](this,_0x34e2a0,_0x18ff70,_0x3d9a48['key'],_0x247b7f);return _0x7039c5;}});}();}));}(Te)),Te['exports'];}var rn=Se[_0x3943be(0x39a)],st;function sn(){return st||(st=0x1,function(_0x5b4b33,_0x5e0357){(function(_0x462235,_0x64f827,_0x50693b){_0x5b4b33['exports']=_0x64f827(ee(),Ut(),Ji(),Dt(),wt());}(rn,function(_0x540308){var _0x450eff=_0x1761;return(function(){var _0x2561f8=_0x1761,_0x1bb2b0=_0x540308,_0x12ed5f=_0x1bb2b0[_0x2561f8(0x3d7)],_0x498024=_0x12ed5f[_0x2561f8(0x4e4)],_0x33c2b7=_0x1bb2b0[_0x2561f8(0x361)],_0xa12ee3=[],_0x35244=[],_0x4297f5=[],_0x3b82d6=[],_0x572e36=[],_0x359f48=[],_0x13e1b1=[],_0x2acf40=[],_0x2d1cd6=[],_0x4019e9=[];(function(){for(var _0x1af22c=[],_0x3c26e3=0x0;_0x3c26e3<0x100;_0x3c26e3++)_0x3c26e3<0x80?_0x1af22c[_0x3c26e3]=_0x3c26e3<<0x1:_0x1af22c[_0x3c26e3]=_0x3c26e3<<0x1^0x11b;for(var _0x33ce67=0x0,_0x2a8248=0x0,_0x3c26e3=0x0;_0x3c26e3<0x100;_0x3c26e3++){var _0x359c15=_0x2a8248^_0x2a8248<<0x1^_0x2a8248<<0x2^_0x2a8248<<0x3^_0x2a8248<<0x4;_0x359c15=_0x359c15>>>0x8^_0x359c15&0xff^0x63,_0xa12ee3[_0x33ce67]=_0x359c15,_0x35244[_0x359c15]=_0x33ce67;var _0xa2e7a6=_0x1af22c[_0x33ce67],_0x3eccd8=_0x1af22c[_0xa2e7a6],_0x2a5ea6=_0x1af22c[_0x3eccd8],_0xb5a176=_0x1af22c[_0x359c15]*0x101^_0x359c15*0x1010100;_0x4297f5[_0x33ce67]=_0xb5a176<<0x18|_0xb5a176>>>0x8,_0x3b82d6[_0x33ce67]=_0xb5a176<<0x10|_0xb5a176>>>0x10,_0x572e36[_0x33ce67]=_0xb5a176<<0x8|_0xb5a176>>>0x18,_0x359f48[_0x33ce67]=_0xb5a176;var _0xb5a176=_0x2a5ea6*0x1010101^_0x3eccd8*0x10001^_0xa2e7a6*0x101^_0x33ce67*0x1010100;_0x13e1b1[_0x359c15]=_0xb5a176<<0x18|_0xb5a176>>>0x8,_0x2acf40[_0x359c15]=_0xb5a176<<0x10|_0xb5a176>>>0x10,_0x2d1cd6[_0x359c15]=_0xb5a176<<0x8|_0xb5a176>>>0x18,_0x4019e9[_0x359c15]=_0xb5a176,_0x33ce67?(_0x33ce67=_0xa2e7a6^_0x1af22c[_0x1af22c[_0x1af22c[_0x2a5ea6^_0xa2e7a6]]],_0x2a8248^=_0x1af22c[_0x1af22c[_0x2a8248]]):_0x33ce67=_0x2a8248=0x1;}}());var _0x10903e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x225e4b=_0x33c2b7[_0x2561f8(0x1e7)]=_0x498024[_0x2561f8(0x4da)]({'_doReset':function(){var _0x29e607=_0x2561f8,_0xe5bdc0;if(!(this['_nRounds']&&this[_0x29e607(0x417)]===this[_0x29e607(0x2e3)])){for(var _0x62092e=this[_0x29e607(0x417)]=this[_0x29e607(0x2e3)],_0x341bd7=_0x62092e['words'],_0x482454=_0x62092e[_0x29e607(0x316)]/0x4,_0x39968c=this['_nRounds']=_0x482454+0x6,_0x36abeb=(_0x39968c+0x1)*0x4,_0x460d8e=this[_0x29e607(0x21b)]=[],_0xc03132=0x0;_0xc03132<_0x36abeb;_0xc03132++)_0xc03132<_0x482454?_0x460d8e[_0xc03132]=_0x341bd7[_0xc03132]:(_0xe5bdc0=_0x460d8e[_0xc03132-0x1],_0xc03132%_0x482454?_0x482454>0x6&&_0xc03132%_0x482454==0x4&&(_0xe5bdc0=_0xa12ee3[_0xe5bdc0>>>0x18]<<0x18|_0xa12ee3[_0xe5bdc0>>>0x10&0xff]<<0x10|_0xa12ee3[_0xe5bdc0>>>0x8&0xff]<<0x8|_0xa12ee3[_0xe5bdc0&0xff]):(_0xe5bdc0=_0xe5bdc0<<0x8|_0xe5bdc0>>>0x18,_0xe5bdc0=_0xa12ee3[_0xe5bdc0>>>0x18]<<0x18|_0xa12ee3[_0xe5bdc0>>>0x10&0xff]<<0x10|_0xa12ee3[_0xe5bdc0>>>0x8&0xff]<<0x8|_0xa12ee3[_0xe5bdc0&0xff],_0xe5bdc0^=_0x10903e[_0xc03132/_0x482454|0x0]<<0x18),_0x460d8e[_0xc03132]=_0x460d8e[_0xc03132-_0x482454]^_0xe5bdc0);for(var _0x801212=this[_0x29e607(0x43a)]=[],_0x47302d=0x0;_0x47302d<_0x36abeb;_0x47302d++){var _0xc03132=_0x36abeb-_0x47302d;if(_0x47302d%0x4)var _0xe5bdc0=_0x460d8e[_0xc03132];else var _0xe5bdc0=_0x460d8e[_0xc03132-0x4];_0x47302d<0x4||_0xc03132<=0x4?_0x801212[_0x47302d]=_0xe5bdc0:_0x801212[_0x47302d]=_0x13e1b1[_0xa12ee3[_0xe5bdc0>>>0x18]]^_0x2acf40[_0xa12ee3[_0xe5bdc0>>>0x10&0xff]]^_0x2d1cd6[_0xa12ee3[_0xe5bdc0>>>0x8&0xff]]^_0x4019e9[_0xa12ee3[_0xe5bdc0&0xff]];}}},'encryptBlock':function(_0x255678,_0x58f7b4){var _0x525dd2=_0x2561f8;this[_0x525dd2(0x3f0)](_0x255678,_0x58f7b4,this[_0x525dd2(0x21b)],_0x4297f5,_0x3b82d6,_0x572e36,_0x359f48,_0xa12ee3);},'decryptBlock':function(_0x3e363b,_0x536ae2){var _0x204a8c=_0x2561f8,_0x59d56a=_0x3e363b[_0x536ae2+0x1];_0x3e363b[_0x536ae2+0x1]=_0x3e363b[_0x536ae2+0x3],_0x3e363b[_0x536ae2+0x3]=_0x59d56a,this[_0x204a8c(0x3f0)](_0x3e363b,_0x536ae2,this['_invKeySchedule'],_0x13e1b1,_0x2acf40,_0x2d1cd6,_0x4019e9,_0x35244);var _0x59d56a=_0x3e363b[_0x536ae2+0x1];_0x3e363b[_0x536ae2+0x1]=_0x3e363b[_0x536ae2+0x3],_0x3e363b[_0x536ae2+0x3]=_0x59d56a;},'_doCryptBlock':function(_0x1ee7bb,_0x6f9450,_0x3c4554,_0x235817,_0x5361a8,_0xf6ffe5,_0x2c60ae,_0x29a866){var _0x9c80c=_0x2561f8;for(var _0x154043=this[_0x9c80c(0x1fa)],_0x2715c5=_0x1ee7bb[_0x6f9450]^_0x3c4554[0x0],_0x419d45=_0x1ee7bb[_0x6f9450+0x1]^_0x3c4554[0x1],_0x19b30e=_0x1ee7bb[_0x6f9450+0x2]^_0x3c4554[0x2],_0x1e7d46=_0x1ee7bb[_0x6f9450+0x3]^_0x3c4554[0x3],_0x4c2138=0x4,_0xc70d2e=0x1;_0xc70d2e<_0x154043;_0xc70d2e++){var _0x1c4280=_0x235817[_0x2715c5>>>0x18]^_0x5361a8[_0x419d45>>>0x10&0xff]^_0xf6ffe5[_0x19b30e>>>0x8&0xff]^_0x2c60ae[_0x1e7d46&0xff]^_0x3c4554[_0x4c2138++],_0x30eacf=_0x235817[_0x419d45>>>0x18]^_0x5361a8[_0x19b30e>>>0x10&0xff]^_0xf6ffe5[_0x1e7d46>>>0x8&0xff]^_0x2c60ae[_0x2715c5&0xff]^_0x3c4554[_0x4c2138++],_0x53b4ca=_0x235817[_0x19b30e>>>0x18]^_0x5361a8[_0x1e7d46>>>0x10&0xff]^_0xf6ffe5[_0x2715c5>>>0x8&0xff]^_0x2c60ae[_0x419d45&0xff]^_0x3c4554[_0x4c2138++],_0x52bbbb=_0x235817[_0x1e7d46>>>0x18]^_0x5361a8[_0x2715c5>>>0x10&0xff]^_0xf6ffe5[_0x419d45>>>0x8&0xff]^_0x2c60ae[_0x19b30e&0xff]^_0x3c4554[_0x4c2138++];_0x2715c5=_0x1c4280,_0x419d45=_0x30eacf,_0x19b30e=_0x53b4ca,_0x1e7d46=_0x52bbbb;}var _0x1c4280=(_0x29a866[_0x2715c5>>>0x18]<<0x18|_0x29a866[_0x419d45>>>0x10&0xff]<<0x10|_0x29a866[_0x19b30e>>>0x8&0xff]<<0x8|_0x29a866[_0x1e7d46&0xff])^_0x3c4554[_0x4c2138++],_0x30eacf=(_0x29a866[_0x419d45>>>0x18]<<0x18|_0x29a866[_0x19b30e>>>0x10&0xff]<<0x10|_0x29a866[_0x1e7d46>>>0x8&0xff]<<0x8|_0x29a866[_0x2715c5&0xff])^_0x3c4554[_0x4c2138++],_0x53b4ca=(_0x29a866[_0x19b30e>>>0x18]<<0x18|_0x29a866[_0x1e7d46>>>0x10&0xff]<<0x10|_0x29a866[_0x2715c5>>>0x8&0xff]<<0x8|_0x29a866[_0x419d45&0xff])^_0x3c4554[_0x4c2138++],_0x52bbbb=(_0x29a866[_0x1e7d46>>>0x18]<<0x18|_0x29a866[_0x2715c5>>>0x10&0xff]<<0x10|_0x29a866[_0x419d45>>>0x8&0xff]<<0x8|_0x29a866[_0x19b30e&0xff])^_0x3c4554[_0x4c2138++];_0x1ee7bb[_0x6f9450]=_0x1c4280,_0x1ee7bb[_0x6f9450+0x1]=_0x30eacf,_0x1ee7bb[_0x6f9450+0x2]=_0x53b4ca,_0x1ee7bb[_0x6f9450+0x3]=_0x52bbbb;},'keySize':0x100/0x20});_0x1bb2b0[_0x2561f8(0x1e7)]=_0x498024[_0x2561f8(0x376)](_0x225e4b);}()),_0x540308[_0x450eff(0x1e7)];}));}(Se)),Se['exports'];}var on=sn();const an=fe(on);var cn=Ut();const ot=fe(cn);var be={'exports':{}},hn=be[_0x3943be(0x39a)],at;function ln(){return at||(at=0x1,function(_0xe10199,_0xd521b7){(function(_0x4c2c09,_0x4f5ed9){_0xe10199['exports']=_0x4f5ed9(ee());}(hn,function(_0xda281e){var _0x300716=_0x1761;return _0xda281e[_0x300716(0x2d7)][_0x300716(0x2ab)];}));}(be)),be['exports'];}var _n=ln();const un=fe(_n);var Re={'exports':{}},dn=Re[_0x3943be(0x39a)],ct;function vn(){return ct||(ct=0x1,function(_0xbc0e75,_0x257aa3){(function(_0x4a9a50,_0x34bdba){var _0x49c922=_0x1761;_0xbc0e75[_0x49c922(0x39a)]=_0x34bdba(ee());}(dn,function(_0x1e6057){var _0x33ed26=_0x1761;return(function(){var _0x12e8fd=_0x1761;if(typeof ArrayBuffer=='function'){var _0x284cda=_0x1e6057,_0x4f2742=_0x284cda[_0x12e8fd(0x3d7)],_0x12fbba=_0x4f2742[_0x12e8fd(0x492)],_0x2eb423=_0x12fbba['init'],_0x53bfa3=_0x12fbba['init']=function(_0x44cc18){var _0x5f5700=_0x12e8fd;if(_0x44cc18 instanceof ArrayBuffer&&(_0x44cc18=new Uint8Array(_0x44cc18)),(_0x44cc18 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x44cc18 instanceof Uint8ClampedArray||_0x44cc18 instanceof Int16Array||_0x44cc18 instanceof Uint16Array||_0x44cc18 instanceof Int32Array||_0x44cc18 instanceof Uint32Array||_0x44cc18 instanceof Float32Array||_0x44cc18 instanceof Float64Array)&&(_0x44cc18=new Uint8Array(_0x44cc18[_0x5f5700(0x48a)],_0x44cc18[_0x5f5700(0x2df)],_0x44cc18['byteLength'])),_0x44cc18 instanceof Uint8Array){for(var _0x859151=_0x44cc18[_0x5f5700(0x32e)],_0x46476a=[],_0x107737=0x0;_0x107737<_0x859151;_0x107737++)_0x46476a[_0x107737>>>0x2]|=_0x44cc18[_0x107737]<<0x18-_0x107737%0x4*0x8;_0x2eb423[_0x5f5700(0x339)](this,_0x46476a,_0x859151);}else _0x2eb423[_0x5f5700(0x22b)](this,arguments);};_0x53bfa3['prototype']=_0x12fbba;}}()),_0x1e6057[_0x33ed26(0x3d7)]['WordArray'];}));}(Re)),Re['exports'];}var fn=vn();const Sn=fe(fn);var Oe={'exports':{}},pn=Oe[_0x3943be(0x39a)],ht;function gn(){var _0x29a74f=_0x3943be;return ht||(ht=0x1,function(_0x4c0dde,_0x4b907c){(function(_0x2e9ced,_0x4e6a13,_0x278e17){var _0x304ae7=_0x1761;_0x4c0dde[_0x304ae7(0x39a)]=_0x4e6a13(ee(),wt());}(pn,function(_0x60ece3){var _0x55b848=_0x1761;return _0x60ece3['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x60ece3[_0x55b848(0x495)][_0x55b848(0x411)];}));}(Oe)),Oe[_0x29a74f(0x39a)];}var mn=gn();const In=fe(mn);function En(_0x29a0ba,_0x1ca527){var _0x8da022=_0x3943be;const _0x2fa597=_0x1ca527-_0x29a0ba[_0x8da022(0x441)]%_0x1ca527,_0x7cb9c9=String[_0x8da022(0x17c)](_0x2fa597)[_0x8da022(0x4cb)](_0x2fa597);return _0x29a0ba+_0x7cb9c9;}function Cn(_0x3892c8,_0x1a070f){var _0x2881b2=_0x3943be;const _0xdefc0d=Sn[_0x2881b2(0x4a2)](0x10),_0x165793=En(_0x3892c8,0x10),_0x25e214=an[_0x2881b2(0x428)](un['parse'](_0x165793),ot[_0x2881b2(0x263)](_0x1a070f),{'iv':_0xdefc0d,'padding':In});return _0xdefc0d[_0x2881b2(0x3b5)](_0x25e214[_0x2881b2(0x2e4)])[_0x2881b2(0x2fc)](ot);}function Tn(){var _0x2c6266=_0x3943be;const _0x39ff68=jt[_0x2c6266(0x3a8)]()[_0x2c6266(0x2d6)];if(_0x39ff68){const _0x1c2695={'time':Math['floor'](Date[_0x2c6266(0x296)]()/0x3e8),'domain':location[_0x2c6266(0x1a3)]};return Cn(JSON[_0x2c6266(0x193)](_0x1c2695),_0x39ff68);}}var bn=Object[_0x3943be(0x4a5)],Rn=Object[_0x3943be(0x32a)],On=(_0x3b3cae,_0xbc3d01,_0x17b8b8,_0x4c5f32)=>{var _0x252541=_0x3943be;for(var _0x192925=_0x4c5f32>0x1?void 0x0:_0x4c5f32?Rn(_0xbc3d01,_0x17b8b8):_0xbc3d01,_0x53cb3a=_0x3b3cae[_0x252541(0x441)]-0x1,_0x2d6277;_0x53cb3a>=0x0;_0x53cb3a--)(_0x2d6277=_0x3b3cae[_0x53cb3a])&&(_0x192925=(_0x4c5f32?_0x2d6277(_0xbc3d01,_0x17b8b8,_0x192925):_0x2d6277(_0x192925))||_0x192925);return _0x4c5f32&&_0x192925&&bn(_0xbc3d01,_0x17b8b8,_0x192925),_0x192925;},yn=(_0x12a1a4,_0x5f0428)=>(_0x7c271,_0x307297)=>_0x5f0428(_0x7c271,_0x307297,_0x12a1a4);let Pe=class{constructor(_0x34cb93){var _0x251d43=_0x3943be;this[_0x251d43(0x1f2)]=_0x34cb93,this[_0x251d43(0x1bb)]();}['_initRequestHeader'](){var _0x5bfd7a=_0x3943be;this[_0x5bfd7a(0x1f2)][_0x5bfd7a(0x29d)]({'interceptor':(_0x3ce822,_0x449ada)=>{var _0x5aeec0=_0x5bfd7a;const _0xcff578=_0x3ce822[_0x5aeec0(0x325)],_0x34f91f=Tn();return _0x34f91f&&_0xcff578[_0x5aeec0(0x3fe)]('x-univer-host',_0x34f91f),_0x449ada(_0x3ce822);}});}};function _0x217c(){var _0x43ac5e=['buffer','CHANGESET_SHOULD_RETRY','_entities','Could\x20not\x20dynamically\x20require\x20\x22','socket\x20open.','OFFLINE','telemetry\x20info\x20is\x20not\x20initialized','Decryptor','WordArray','PSEUDO_FETCH_MISSING_RESULT','runId','pad','GLOBAL_ROOMS_CNT_EXCEEDS','UNDEFINED','CHANGESET_ACK','SyncedState','_waitForHeartbeatResponse','141717amBNqF','session','ThresholdInterceptorFactory','_remoteChangesetQueue','UNIVER_SHEET','unitId','20085590xOuuhc','random','fetchMiss','NOT_COLLAB','defineProperty','_reverseMap','enableOfflineEditing','_schedule','loadSheet','mutations','resourceIDs','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','MD5','UNIVER_PROJECT','submit\x20changeset\x20error!','getCollabEntity$','_cipher','addHandlerCallback','_memberService','c2Prime','COLLAB_WEB_SOCKET_URL_KEY','string','localCacheService','_getLoginPath','PasswordBasedCipher','LIVESHARE_TERMINATE','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','sin','loadUnit','randomUUID','_init','BASE64','image/jpg','interceptor','JOIN_ROOM_FULL','getValue','HEARTBEAT_INTERVAL','OTHER_CLIENT_EDITING','getAllMembers','getActiveSheet','[SyncedState]:\x20received\x20acknowledgement.','fetchMissingChangesets','repeat','replace','ENSURE_SNAPSHOT_EXECUTION','add','DependentOn','LocaleService','CONNECTOR_DATA_TOO_LARGE','localeService','_http','_onRemoteACK','&assign=','_updateState','UNIVER_SLIDE','uniscriptRunEvent','ICommandService','extend','state','Univer','_nDataBytes','HTTPService','CollaborationEvent','_shouldReportTelemetry','mergeOverrideWithDependencies','_joinRoom','requestParams','BlockCipher','keySize','params','UniverCollaborationPlugin','_clearUndo','UNIVER_UNKNOWN','_imageSourceCache','sessionTicket','?url=','_doReset','/collaborator','_ENC_XFORM_MODE','reconnect','POST','createCollaborator','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','NO_OTHER_CLIENTS_EDITING','send','create','RECV','isTransformMutationsWithChangesetSuccess','getSheetId','onMissingChangesets','ImageSourceType','/universer-api/authz','LEAVE','UPDATE_PERMISSION_OBJ','toggleOnline','$super','Cipher','/-/object/list','withCredentials','_stopTelemetryCollaborationNewChangeset','deserializeToCombResponse','textEncoder','retryConnectingInterval','SNAPSHOT_HAS_BEEN_REMOVED','_changesetReqId','fromCharCode','ISnapshotServerService','SheetTransformSelectionsService','UPDATE_CURSOR','_loadSheet','/-/object/-/batch_allowed','emitEvent','createDecryptor','updateOfflineData','_event$','_resendWithTimeout','deleteCollaborator','&to=','_onRemoteRetry','_resendTimeout','_showConflictNotification','defaultWorkbookPermissionPoints','HTTPRequest','getTypeOfUnitDisposed$','_doProcessBlock','ERROR_IMAGE','_lockTransition','toggleOffline','stringify','incrementRevOfUnit','_getRedoStack','/universer-api/uniscript','APPLY_PERMISSION_DENIED','authzUrl','closeSession','ticket','Subject','_substituteRedoStack','DEFAULT_COLLAB_WEB_SOCKET_URL','searchParams','session.room-cnt-exceeds','createEncryptor','serializeCombRequest','state$','hostname','equals','_tryEnsureSocket','getTime','reverse','getCurrentUnitForType','_emitMembers','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','csShouldRetryEvent','rev','YUUMI_URL_COL_OUT_OF_RANGE','padding','COLLAB_SUBMIT_CHANGESET_URL','forEach','_sendHeartbeat','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','HmacSHA1','sheets','_roomMembers','AWAITING_WITH_PENDING','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','socketService','type','/unit/','_initRequestHeader','SnapshotService','saveSheetBlock','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','userID','fromCollab','onTransformRemoteChangesetByStateCache','synced','update','ws://127.0.0.1:8000/universer-api/comb/connect','CollaborationSocketService','PERSON','sessionStatus$','confirm','YUUMI_RATE_OVER_LIMIT','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','commentUpdateEvent','editingUnit','IMentionIOService','infoRsp','_clearLocalCache','_singleActiveUnitService','format','snapshot','AwaitingWithPendingState','fetch_missing','?size=','ALREADY_EXISTS','getWorkbookSelections','getResourcesRequest','onStateChange','onRemoteRetry','UnitSnapshot','_undoStacks','437496rqlAhc','message$','isTransformChangesetsSuccess','catch','createInstance','stopTime','_roomCreated$','prototype','_onRemoteRejected','_pendingMutations','AES','updateCollaborator','onTransformIME','_rescheduleHeartbeat','_createSocket','univer-pro.collaboration-client.network-condition.service','collabWebSocketUrl','_tryReconnect','origin','putCollaborators','rxjs','_httpService','_scheduleTimestamp','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_resendTimer','c1Prime','IPermissionService','SOCKET_FAILED','filter','_nRounds','actions','JOIN_ROOM_NOT_EXISTS','_collaborationUIEventService','LIVESHARE_NEW_HOST','_clearHeartbeatTimer','BufferedBlockAlgorithm','SNAPSHOT_URL_KEY','status$','UserManagerService','updateMember','append','_startTelemetryCollaborationNewChangeset','_onConnectionFailed','_applyRemoteChangeset','save\x20fail\x20reason\x20is\x20','baseRev','baseProtectionActions','[CollaborationState]:\x20apply\x20error!','execute','@univerjs/core','InsertSheetMutation','textRanges','_logService','/universer-api/stream/file/upload','SessionStatus','UniverInstanceType','awaiting_with_pending','_type','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_initMergeInterceptor','SEND_CHANGESET_TIMEOUT','onRemoteRej','_keySchedule','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','editing\x20status\x20changed\x20to','_transformService','SHOULD_CLOSE_CONN','list','asObservable','LICENSE_EXPORT_SIZE_EXCEEDED','session.room-full','take','&source=','blockSize','_transformStack','takeUntil','max','collaMsg','apply','univer-pro.collaboration-client.single-active-unit-service','_compressMutationService','HELLO','image/png','SnapshotServerOverHTTPService','transformChangesets','onCommandExecuted','AuthzIoHttpService','UniverCollaborationClientPlugin','wsSessionTicketUrl','onTransformSelections','_getUndoStack','subject','JOIN_ROOM_PERMISSION_DENIED','UNAUTHENTICATED','eventID','LICENSE_MAX_UNITS_EXCEEDED','_unitInfo$','_retryCount','getTargetByPermissionId','OfflineState','enableSingleActiveInstanceLock','UNIVER_DOC','clone','[CollaborationSessionService]','updatePermissionPoint','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','USERS_LEAVE','TOO_MANY_REQUESTS','LIVESHARE_REQUEST_HOST','compute','charAt','touchDependencies','177232GnhjQV','encode','getDeserializedSheetBlock','code','ISocketService','_socketReady','ERROR_EXCEED_SIZE','image/jpeg','onlyLocal','_onFetchMissResult','_substituteUndoStack','YUUMI_SUBSCRIPTION_NOT_FOUND','getUnitStatus$','/allowed','transformMutationsWithChangeset','objectID','Base','delete','decrypt','generateRandomId','awaiting','originalMeta','parse','_exhaustRemoteChangesetQueue','shareReplay','appendMutation','PENDING','PERMISSION_REJ','collabSubmitChangesetUrl','workbook','mode','merge','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','HttpImport','MergeInterceptorFactory','/universer-api/oidc/authpage','getInterceptPoints','_handler','PendingState','\x20in\x20_schedule.','_sendingTimer','clearUndoRedo','CommentService','INetworkConditionService','encryptBlock','_collaborationTimeoutTimer','_sheetTransformSelectionsService','duration','disableLocalCache','_replayCachedMutations','data','_onRemoteChangeset','parseChangesetToProtocol','firstValueFrom','_clearRedo','_socket$','_injector','[OfflineState]:\x20received\x20acknowledgement.','_retryConnectingTimer','[CollaborationUndoRedoService]','_timeoutTimer','collaborators','offline','action','uploadFileServerUrl','[DataLoaderService]','_process','[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.','setConfig','_toggleOnline','connection\x20error','[CollaborationEntity]','JOIN_ROOM_FAILED','now','_getAPIPrefixPath','Base64','substr','CollaborationEntity','collaboration-client.config','_createHandler','registerHTTPInterceptor','LIVESHARE_FETCH_OPERATIONS','DocCollaborationEntity','_sender','join','IImageIoService','CHANGESET_REVISION_CONFILICT','function','cmd','_iv','_waitCount','Plugin','ConflictState','ICollaborationSocketService','Utf8','override','_fetchMissChangesets','collaboratorID','loadDoc','onRemoteChangeset','toLowerCase','Undefined','isTransformMutationsWithChangesetFailure','/object','setWaitCount','removeMember','_changesetSessionId','SUCCUSS','_mode','b64DecodeUnicode','StreamCipher','collaboration_new_changeset','_data','getAllWorksheetPermissionPoint','pluginName','mapDocumentTypeToUniverType','SYNCED','patch','_members$','COMPLETION_FINISHED','cfg','_executeRemoteChangeset','UnitStatus','unsubscribe','_oKey','parseProtocolChangeset','url','addImageSourceCache','clamp','_getSignURL','HEARTBEAT_TIMEOUT','_removeRoom','downloadEndpointUrl','SHA1','size','UNKNOWN_CODE','_onMessage','__Key__','enc','onSendChangeset','disposeWithMe','COLLAB_WEB_SOCKET_URL','location','isPermissionRej','MUTATION','_createInitialState','byteOffset','floor','joinRsp','_createSocketURL','_key','ciphertext','csAckEvent','CommandType','CBC','OTHER_CLIENTS_EDITING','formatter','CompressMutationService','rng','_transformIMECache','liveShareNewHost','_localeService','unit-cache-','reduce','AWAITING','onStarting','_submitChangeset','ceil','sendChangesetTimeout','_configService','getLocalCacheKey','onSyncEditingCollabCursor','unknown','awaitingChangeset','SEND_CHANGESET_TIMEOUT_KEY','toString','SNAPSHOT_SERVER_URL_KEY','/fetchmissing?from=','_status$','mixIn','_socket','_minBufferSize','ONLINE','@univerjs/drawing','unitID','COMPRESS_MUTATION_APPLY','getPermissionPoint','DEFAULT_FILE_NAME','_onUserLeave','@univerjs/telemetry','then','LOCAL_CACHE_INTERVAL','[SyncedState]:\x20received\x20rejection.','transformUndoRedo','univer-pro.collaboration-client-socket-service','_onConflict','result','_candidateSocket','UnitEmbedded','memberID','roles','sigBytes','toDisposable','DataLoaderService','FETCH_MISSING','Rectangle','randomBytes','_xformMode','body','createIdentifier','changesets','_change$','Workbook','IUniverInstanceService','_handlerCallback','OpenSSL','headers','[OfflineState]:\x20received\x20changeset.','failed\x20to\x20apply\x20missed\x20changesets!','pipe','PERMISSION_DENIED','getOwnPropertyDescriptor','getSnapshotAPIPath','subscribe','__creator','byteLength','charCodeAt','find','_getDownloadEndpointURL','getCurrentRevOfUnit','\x20to\x20','_listenToNetworkCondition','52ajvxUs','words','Tools','_HTTPService','call','CLOSE_ROOM','UnitObject','_onUserJoin','_config','CollaborationSession','from','Quantity','_clearTimeoutTimer','_getSessionTicket','FAIL','COLLAB_SUBMIT_CHANGESET_URL_KEY','_createInitialStateImpl','BehaviorSubject','USERS_ENTER','_onJoinRoomEvent','sessionStatus','getImageSourceCache','4987050vMAaOm','_transformUndoredo','RichTextEditingMutation','objectType','_hash','every','ivSize','_map','JSONX','CollaborationImageIoService','pauseCollaboration','getCurrentSelections','Inject','json','open$','Hasher','_transitionLocked','ITelemetryService','defaultWorksheetPermissionPoint','JOIN','image/bmp','abs','algo','MentionType','CHANGESET_REJ','_transformRemoteChangesetByIMECache','finalize','IConfigService','push','debug','People','ImageUploadStatusType','EmptyMutation','7593588zEyyPz','reset','hasher','error$','_snapshotService','_hasher','executeCommand','objectActions','getAllWorkbookPermissionPoint','listRoles','_createHelper','_onOffline','fetching\x20missing\x20changesets\x20from\x20','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_authzIoService','_commentUpdate$','href','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','delay','AUTHZ_URL_KEY','newCsEvent','readInt32LE','post','SheetCollaborationEntity','HEARTBEAT_TIMEOUT_KEY','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','{fileID}','initWorkbookPermissionChange','onCommentUpdate','toStringTag','WorksheetProtectionRuleModel','@univerjs-pro/collaboration','getUnitType','_append','_onCombEvent','IDLE','\x0aAfter:\x20','onTransformState','/universer-api/snapshot/','\x20-\x20','error','revision','HttpExport','HEARTBEAT','/new_changes','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','exports','UNRECOGNIZED','SUBMIT_CHANGESET_TIMEOUT','allowed','members','ITransformService','_sessions','UNKNOWN_CMD','snapshotServerUrl','ruleRefresh','map','MemberService','subType','requireSession','getGlobalObject','routeKey','ILogService','slice','_transformStateCache','complete','10cKwLMy','_onLocalMutation','socket$','value','hasOwnProperty','Injector','CipherParams','concat','_commentService','LOGIN_URL_KEY','AwaitingState','/universer-api/comb','COMPRESS_MUTATION_SEND','setCurrentUser','UNISCRIPT_RUN','dispose','_sendHeartbeatTimer','isArray','_decreaseWaiting','SheetsSelectionsService','_scheduleCollaborationTimeoutTimer','/block/','_transformSelections','APPLY_NON_SEQUENTIAL_REVISION','objects','OPTIONAL','collaboration-client.local-cache-service','_parse','_toggleOffline','fetchThroughInterceptors','put','_awaitingChangeset','_telemetryService','_doFinalize','FETCH_MISS','HMAC','reject','values','NEW_CHANGESETS','_getSendChangesetTimeout','WorkbookEditablePermission','lib','_entityInit$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','sequenceExecute','close','setShowComponents','_throwTelemetryCollaborationNewChangeset','range','_state','@univerjs-pro/license','_collaborationPaused','_socketService','_getCurrentRevision','processBlock','close$','session.join-failed','CONFLICT','/universer-api/file/{fileID}/sign-url','getUnitId','SOCKET_FAILED_RETRY','LICENSE_DISTRO_REJECTED','EvpKDF','next','reqId','HmacMD5','_doCryptBlock','loadOfflineData','unitId\x20is\x20not\x20found','_startCollaboration','_syncEditingCollabCursor','CollaborationStatus','_collaborationSessionService','/universer-api/user/session-ticket','session.room-not-exists','IAuthzIoService','_isPermissionRej','event$','MentionIoHttpService','getFocusedUnit','set','onLocalMutation','getCollabEntity','Malformed\x20UTF-8\x20data','conflict','indexOf','_permissionService','_clearScheduledTask','[CollaborationSessionService]:\x20socket\x20error','_getAPIPrefix','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','onMissedChangesetFetched','transformSelections','default','getCurrentUser','_sessionStatus$','3178938KclaEy','ILocalCacheService','Hex','NoPadding','get','_revisionService','resend','saveSnapshot','_userManagerService','_keyPriorReset','copyFileMeta','SerializableCipher','_transformRemoteChangesetByStateCache','_initUnitPermissionChange','onTransformRemoteChangesetByIMECache','_updateStatus','onRemoteAck','_instanceService','salt','SNAPSHOT_INVALID_SNAPSHOT','LICENSE_IMPORT_SIZE_EXCEEDED','status','has','search','getRandomValues','_socketMessageSubscription','encrypt','dispose$','LIVESHARE_OPERATION','file','leaveEvent','splice','IUndoRedoService','getTypeOfUnitAdded$','crypto','createSocket','_undoRedoService','FileId','joinEvent','_getCtorByUniverType','unitInfo$','_telemetryInfo','kdf','INGEST','_invKeySchedule','refreshPermission','compose','_DEC_XFORM_MODE','NOT_FOUND','_iKey','_initDependencies','length','msCrypto','[CollaborationSession]','getMember','JOINING','Optional','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','CollaborativeUndoRedoService','registerDependencies','INTERNAL_ERROR','clear','RangeProtectionRuleModel','_univerInstanceService','RevisionService','getConfig','_state$','_commandService','_redoStacks','_acknowledgedAwaitingChangeset','_onRecvEvent','getMemberID','_createHmacHelper','encodeURIComponent','bind','BlockCipherMode','_collabSessionService','Encryptor','_snapshotServerService','getUnit','_replaceFileID','CollaborationController','liveShareOperation','/role','deepClone','_checkMissing','SUBMIT_CHANGESET','target','CollaborationSessionService','FetchingMissState','isInternalEditorID','Pkcs7','INVALID_ARGUMENT','_networkConditionService','_unitID','/universer-api/snapshot','_unlockTransition','init','[OfflineState]:\x20received\x20rejection.','m2Prime','_updateLocalCache','session.room-permission-denied','_members','name','_loadDoc','findIndex','Disposable','/object/','UNIVER_COLLABORATION_CLIENT_PLUGIN','COMMENT_UPDATE','unpad','readAsDataURL','RxDisposable','getSheetBlock','title','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_localCacheService','8gtZvEU','entries','Module','_incrementRevisionNumber','APPLY_DUPLICATED','sid','_prevBlock'];_0x217c=function(){return _0x43ac5e;};return _0x217c();}Pe=On([yn(0x0,a[_0x3943be(0x357)](z['HTTPService']))],Pe);var Pn=Object[_0x3943be(0x4a5)],Nn=Object[_0x3943be(0x32a)],Un=(_0x3a1939,_0x3b4bf1,_0x2379ed,_0x4d280f)=>{var _0x2abace=_0x3943be;for(var _0x58282e=_0x4d280f>0x1?void 0x0:_0x4d280f?Nn(_0x3b4bf1,_0x2379ed):_0x3b4bf1,_0x335dd4=_0x3a1939[_0x2abace(0x441)]-0x1,_0x49e93a;_0x335dd4>=0x0;_0x335dd4--)(_0x49e93a=_0x3a1939[_0x335dd4])&&(_0x58282e=(_0x4d280f?_0x49e93a(_0x3b4bf1,_0x2379ed,_0x58282e):_0x49e93a(_0x58282e))||_0x58282e);return _0x4d280f&&_0x58282e&&Pn(_0x3b4bf1,_0x2379ed,_0x58282e),_0x58282e;},Me=(_0x51744f,_0x2d699e)=>(_0xcf3470,_0x22e499)=>_0x2d699e(_0xcf3470,_0x22e499,_0x51744f);exports[_0x3943be(0x318)]=class extends a[_0x3943be(0x47e)]{constructor(_0x35ff68,_0x410c29,_0x10cb97){var _0x2e2755=_0x3943be;super(),D(this,_0x2e2755(0x23d),new H[(_0x2e2755(0x346))](null)),D(this,_0x2e2755(0x436),this[_0x2e2755(0x23d)][_0x2e2755(0x221)]()),(this[_0x2e2755(0x211)]=_0x35ff68,this[_0x2e2755(0x370)]=_0x410c29,this[_0x2e2755(0x482)]=_0x10cb97);}async[_0x3943be(0x4bd)](_0xe8ac73,_0x277957,_0x927a25){var _0x276a6d=_0x3943be;this[_0x276a6d(0x23d)][_0x276a6d(0x3ed)]({'unitId':_0xe8ac73,'type':_0x277957,'subUnitId':_0x927a25});let _0x41bf5d=null;switch(_0x277957){case Z['UNIVER_SHEET']:{_0x41bf5d=await this[_0x276a6d(0x180)](_0xe8ac73);break;}case Z['UNIVER_DOC']:{_0x41bf5d=await this[_0x276a6d(0x476)](_0xe8ac73);break;}default:{this[_0x276a6d(0x211)][_0x276a6d(0x394)](_0x276a6d(0x28e),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x41bf5d;}async['_loadSheet'](_0x228156){var _0x752712=_0x3943be,_0x5ee3df;let _0x1da779=0x0;const _0x5560c8=await((_0x5ee3df=this[_0x752712(0x482)])==null?void 0x0:_0x5ee3df['loadOfflineData'](_0x228156));return _0x5560c8&&(_0x5560c8['awaitingChangeset']||_0x5560c8[_0x752712(0x4aa)]['length']!==0x0)&&(_0x1da779=_0x5560c8['rev']),_0x1da779===0x0&&this[_0x752712(0x211)][_0x752712(0x368)]('[DataLoaderService]',_0x752712(0x217)),this['_snapshotService'][_0x752712(0x4a9)](_0x228156,_0x1da779);}async[_0x3943be(0x476)](_0x1707c4){var _0x53d0f0=_0x3943be,_0x11fce8;let _0x5d157b=0x0;const _0x12d3db=await((_0x11fce8=this['_localCacheService'])==null?void 0x0:_0x11fce8[_0x53d0f0(0x3f1)](_0x1707c4));return _0x12d3db&&(_0x12d3db[_0x53d0f0(0x2fa)]||_0x12d3db[_0x53d0f0(0x4aa)][_0x53d0f0(0x441)]!==0x0)&&(_0x5d157b=_0x12d3db[_0x53d0f0(0x1ac)]),_0x5d157b===0x0&&this[_0x53d0f0(0x211)][_0x53d0f0(0x368)]('[DataLoaderService]',_0x53d0f0(0x217)),this[_0x53d0f0(0x370)][_0x53d0f0(0x2af)](_0x1707c4,_0x5d157b);}},exports['DataLoaderService']=Un([Me(0x0,a[_0x3943be(0x3aa)]),Me(0x1,a[_0x3943be(0x357)](m[_0x3943be(0x1bc)])),Me(0x2,a[_0x3943be(0x446)](J))],exports[_0x3943be(0x318)]);var Dn=Object[_0x3943be(0x4a5)],wn=Object[_0x3943be(0x32a)],An=(_0x46b1e9,_0x19628b,_0x443f63,_0xa3fc3)=>{var _0x4e59ba=_0x3943be;for(var _0x3847e5=_0xa3fc3>0x1?void 0x0:_0xa3fc3?wn(_0x19628b,_0x443f63):_0x19628b,_0x1b2766=_0x46b1e9[_0x4e59ba(0x441)]-0x1,_0x466a81;_0x1b2766>=0x0;_0x1b2766--)(_0x466a81=_0x46b1e9[_0x1b2766])&&(_0x3847e5=(_0xa3fc3?_0x466a81(_0x19628b,_0x443f63,_0x3847e5):_0x466a81(_0x3847e5))||_0x3847e5);return _0xa3fc3&&_0x3847e5&&Dn(_0x19628b,_0x443f63,_0x3847e5),_0x3847e5;},xe=(_0xad8c78,_0x4f6f24)=>(_0x5f42b4,_0x37f66f)=>_0x4f6f24(_0x5f42b4,_0x37f66f,_0xad8c78);const Ln=[_0x3943be(0x22f),_0x3943be(0x254),_0x3943be(0x4c1),'image/gif',_0x3943be(0x35f)],Mn=0x5*0x400*0x400,xn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',jn=_0x3943be(0x212),$n=_0x3943be(0x379),Hn=_0x3943be(0x3e8);exports[_0x3943be(0x354)]=class{constructor(_0xb7bc1,_0x51cbfa,_0x3f2da8){var _0x2cf342=_0x3943be;D(this,_0x2cf342(0x2a7),0x0),D(this,_0x2cf342(0x320),new H[(_0x2cf342(0x19b))]()),D(this,'change$',this[_0x2cf342(0x320)]),D(this,'_imageSourceCache',new Map()),(this[_0x2cf342(0x1f2)]=_0xb7bc1,this[_0x2cf342(0x2f6)]=_0x51cbfa,this[_0x2cf342(0x44d)]=_0x3f2da8);}[_0x3943be(0x2b5)](_0x471b17){var _0x3a209a=_0x3943be;this[_0x3a209a(0x2a7)]=_0x471b17,this[_0x3a209a(0x320)][_0x3a209a(0x3ed)](_0x471b17);}[_0x3943be(0x34a)](_0xf23c37,_0x3e9c2f){var _0x1e496e=_0x3943be;if(_0x3e9c2f===X[_0x1e496e(0x16d)]['BASE64']){const _0x1620c4=new Image();return _0x1620c4['src']=_0xf23c37,_0x1620c4;}return this[_0x1e496e(0x4ea)][_0x1e496e(0x412)](_0xf23c37);}[_0x3943be(0x2cc)](_0x5db8ca,_0x2254f0,_0x47c79f){var _0x5d2ccd=_0x3943be;_0x2254f0===X['ImageSourceType'][_0x5d2ccd(0x4c0)]||_0x47c79f==null||this[_0x5d2ccd(0x4ea)][_0x5d2ccd(0x3fe)](_0x5db8ca,_0x47c79f);}async['getImage'](_0x240006){var _0x3ec186=_0x3943be;try{const _0x1de4df=this['_replaceFileID'](this[_0x3ec186(0x2ce)](),''+_0x240006),_0x4e6a29=(await this[_0x3ec186(0x1f2)][_0x3ec186(0x412)](_0x1de4df))[_0x3ec186(0x31d)];if(_0x4e6a29[_0x3ec186(0x394)]&&_0x4e6a29[_0x3ec186(0x394)][_0x3ec186(0x250)]===Ct['OK']){const _0x38c3c0=new URL(_0x4e6a29['url'],this[_0x3ec186(0x331)]())['toString']();return Promise['resolve'](_0x38c3c0);}return Promise[_0x3ec186(0x3d2)](_0x4e6a29[_0x3ec186(0x394)]);}catch(_0x477875){return Promise[_0x3ec186(0x3d2)](_0x477875);}}async['saveImage'](_0x4140ae){var _0x332710=_0x3943be;let _0x3879a4='';if(!Ln['includes'](_0x4140ae['type']))return this[_0x332710(0x3c0)](),Promise[_0x332710(0x3d2)](new Error(X[_0x332710(0x36a)]['ERROR_IMAGE_TYPE']));if(_0x4140ae[_0x332710(0x2d3)]>Mn)return this['_decreaseWaiting'](),Promise[_0x332710(0x3d2)](new Error(X[_0x332710(0x36a)][_0x332710(0x253)]));try{const _0xf5997a=new FormData();_0xf5997a[_0x332710(0x205)](_0x332710(0x42b),_0x4140ae);const _0x2858df=this['_univerInstanceService'][_0x332710(0x3fd)](),_0x34836d=_0x2858df==null?void 0x0:_0x2858df[_0x332710(0x3e9)]();if(!_0x34836d)throw new Error(_0x332710(0x3f2));const _0x3ae013=this['_getUploadFileURL']()+_0x332710(0x1d5)+_0x4140ae[_0x332710(0x2d3)][_0x332710(0x2fc)]()+_0x332710(0x225)+Tt[_0x332710(0x313)]+_0x332710(0x4d5)+encodeURIComponent(_0x34836d),_0x67c93d=await(await fetch(_0x3ae013,{'method':_0x332710(0x4f1),'body':_0xf5997a}))[_0x332710(0x358)]();if(typeof _0x67c93d[_0x332710(0x433)]!='string')return this[_0x332710(0x3c0)](),Promise[_0x332710(0x3d2)](new Error(X[_0x332710(0x36a)]['ERROR_IMAGE']));_0x3879a4=_0x67c93d[_0x332710(0x433)];}catch{return this[_0x332710(0x3c0)](),Promise[_0x332710(0x3d2)](new Error(X[_0x332710(0x36a)][_0x332710(0x190)]));}return new Promise((_0x5b9447,_0x4fbc9b)=>{var _0x51c63b=_0x332710;const _0x5ba6ff=new FileReader();_0x5ba6ff[_0x51c63b(0x47d)](_0x4140ae),_0x5ba6ff['onload']=_0xd6aeaa=>{var _0x58925c=_0x51c63b,_0x3b2819;const _0x5cce25=(_0x3b2819=_0xd6aeaa[_0x58925c(0x465)])==null?void 0x0:_0x3b2819[_0x58925c(0x311)];if(_0x5cce25==null){this[_0x58925c(0x3c0)](),_0x4fbc9b(new Error(X[_0x58925c(0x36a)]['ERROR_IMAGE']));return;}const _0x8d6ac5=a[_0x58925c(0x337)][_0x58925c(0x260)](0x6);_0x5b9447({'imageId':_0x8d6ac5,'imageSourceType':X['ImageSourceType']['UUID'],'source':_0x3879a4,'base64Cache':_0x5cce25,'status':X[_0x58925c(0x36a)][_0x58925c(0x2b8)]}),this[_0x58925c(0x3c0)]();};});}['_getUploadFileURL'](){var _0x3d33ce=_0x3943be,_0x2b1021,_0x3e2212;const _0x217709=this[_0x3d33ce(0x2f6)][_0x3d33ce(0x44f)](xn),_0x322ae2=this[_0x3d33ce(0x2f6)][_0x3d33ce(0x44f)](q);return(_0x3e2212=(_0x2b1021=_0x322ae2==null?void 0x0:_0x322ae2[_0x3d33ce(0x28d)])!=null?_0x2b1021:_0x217709)!=null?_0x3e2212:jn;}['_getSignURL'](){var _0x1279a9=_0x3943be,_0x7ac1a0,_0x3d49b7;const _0x5a59ad=this[_0x1279a9(0x2f6)][_0x1279a9(0x44f)]($n),_0x1e14b5=this[_0x1279a9(0x2f6)][_0x1279a9(0x44f)](q);return(_0x3d49b7=(_0x7ac1a0=_0x1e14b5==null?void 0x0:_0x1e14b5['signUrlServerUrl'])!=null?_0x7ac1a0:_0x5a59ad)!=null?_0x3d49b7:Hn;}[_0x3943be(0x331)](){var _0x50b127=_0x3943be,_0x69e437;const _0x4d9701=this[_0x50b127(0x2f6)][_0x50b127(0x44f)](q);return(_0x69e437=_0x4d9701==null?void 0x0:_0x4d9701[_0x50b127(0x2d1)])!=null?_0x69e437:location[_0x50b127(0x1ef)];}[_0x3943be(0x45e)](_0x194a23,_0x2e222a){var _0x3bdaa2=_0x3943be;return _0x194a23[_0x3bdaa2(0x4cc)](_0x3bdaa2(0x386),_0x2e222a);}[_0x3943be(0x3c0)](){var _0x3b5ea6=_0x3943be;this[_0x3b5ea6(0x2a7)]-=0x1,this[_0x3b5ea6(0x320)][_0x3b5ea6(0x3ed)](this[_0x3b5ea6(0x2a7)]);}},exports[_0x3943be(0x354)]=An([xe(0x0,a[_0x3943be(0x357)](z['HTTPService'])),xe(0x1,a['IConfigService']),xe(0x2,a[_0x3943be(0x357)](a[_0x3943be(0x322)]))],exports[_0x3943be(0x354)]);var kn=Object[_0x3943be(0x4a5)],Bn=Object[_0x3943be(0x32a)],Fn=(_0x1ac672,_0x7cbe07,_0x1b2ecd,_0x50b75c)=>{var _0x2a9e5c=_0x3943be;for(var _0x467602=_0x50b75c>0x1?void 0x0:_0x50b75c?Bn(_0x7cbe07,_0x1b2ecd):_0x7cbe07,_0x559a2e=_0x1ac672[_0x2a9e5c(0x441)]-0x1,_0x1626db;_0x559a2e>=0x0;_0x559a2e--)(_0x1626db=_0x1ac672[_0x559a2e])&&(_0x467602=(_0x50b75c?_0x1626db(_0x7cbe07,_0x1b2ecd,_0x467602):_0x1626db(_0x467602))||_0x467602);return _0x50b75c&&_0x467602&&kn(_0x7cbe07,_0x1b2ecd,_0x467602),_0x467602;},lt=(_0x4268c8,_0xde16be)=>(_0x7efced,_0x552975)=>_0xde16be(_0x7efced,_0x552975,_0x4268c8);const Wn=_0x3943be(0x16e);exports['MentionIoHttpService']=class{constructor(_0x378692,_0x4aa11b){var _0x28a6a9=_0x3943be;this[_0x28a6a9(0x2f6)]=_0x378692,this[_0x28a6a9(0x338)]=_0x4aa11b;}[_0x3943be(0x297)](){var _0x3fca4d=_0x3943be,_0x1b7eb0,_0x2a48d7;const _0x23ea18=this['_configService']['getConfig'](Ge),_0x2df882=this[_0x3fca4d(0x2f6)]['getConfig'](q);return(_0x2a48d7=(_0x1b7eb0=_0x2df882==null?void 0x0:_0x2df882[_0x3fca4d(0x198)])!=null?_0x1b7eb0:_0x23ea18)!=null?_0x2a48d7:Wn;}async[_0x3943be(0x220)](_0x4176e0){var _0x19dce7=_0x3943be;const _0x1c35f4=this[_0x19dce7(0x297)]()+_0x19dce7(0x4ee);return{'list':[{'title':_0x19dce7(0x369),'mentions':(await this[_0x19dce7(0x338)][_0x19dce7(0x412)](_0x1c35f4,{'params':{'objectID':_0x4176e0['unitId'],'unitID':_0x4176e0['unitId']}}))[_0x19dce7(0x31d)][_0x19dce7(0x28a)][_0x19dce7(0x3a4)](_0x3724a3=>({'objectId':_0x3724a3['id'],'name':_0x3724a3[_0x19dce7(0x238)][_0x19dce7(0x475)],'metadata':{'icon':_0x3724a3[_0x19dce7(0x238)]['avatar']},'label':_0x3724a3[_0x19dce7(0x238)][_0x19dce7(0x475)],'objectType':a[_0x19dce7(0x362)]['PERSON']})),'metadata':{},'type':a[_0x19dce7(0x362)][_0x19dce7(0x1c6)]}]};}},exports[_0x3943be(0x3fc)]=Fn([lt(0x0,a['Inject'](a[_0x3943be(0x366)])),lt(0x1,a[_0x3943be(0x357)](z[_0x3943be(0x4de)]))],exports[_0x3943be(0x3fc)]);var Vn=Object[_0x3943be(0x4a5)],Gn=Object[_0x3943be(0x32a)],Kn=(_0x3365e5,_0x22b111,_0x3c992d,_0x29e37c)=>{var _0x2d5151=_0x3943be;for(var _0x2cd6e1=_0x29e37c>0x1?void 0x0:_0x29e37c?Gn(_0x22b111,_0x3c992d):_0x22b111,_0x42ebb9=_0x3365e5[_0x2d5151(0x441)]-0x1,_0x29892e;_0x42ebb9>=0x0;_0x42ebb9--)(_0x29892e=_0x3365e5[_0x42ebb9])&&(_0x2cd6e1=(_0x29e37c?_0x29892e(_0x22b111,_0x3c992d,_0x2cd6e1):_0x29892e(_0x2cd6e1))||_0x2cd6e1);return _0x29e37c&&_0x2cd6e1&&Vn(_0x22b111,_0x3c992d,_0x2cd6e1),_0x2cd6e1;},ce=(_0x5eb89d,_0x4cb6bb)=>(_0x40b02e,_0x1bb35b)=>_0x4cb6bb(_0x40b02e,_0x1bb35b,_0x5eb89d);let Ne=class extends a[_0x3943be(0x47e)]{constructor(_0xcd3787,_0x4435e9,_0x1d78ee,_0x133e44,_0x4b8917,_0x4291e9,_0xf5fdc4){var _0x5d202e=_0x3943be;super(),this[_0x5d202e(0x285)]=_0xcd3787,this[_0x5d202e(0x44d)]=_0x4435e9,this[_0x5d202e(0x404)]=_0x1d78ee,this[_0x5d202e(0x3f6)]=_0x133e44,this['_collaborationUIEventService']=_0x4b8917,this['_authzIoService']=_0x4291e9,this[_0x5d202e(0x432)]=_0xf5fdc4,this[_0x5d202e(0x41b)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x4d8956=_0x3943be;const _0x5dd7e0=async _0x28e290=>{var _0x560613=_0x1761;(await this[_0x560613(0x3f6)]['requireSession'](_0x28e290))[_0x560613(0x3fb)][_0x560613(0x328)](V[_0x560613(0x1f9)](_0x801522=>_0x801522['eventID']===m[_0x560613(0x4df)]['SHOULD_CLOSE_CONN']),V[_0x560613(0x228)](this['dispose$']))[_0x560613(0x32c)](_0x214797=>{var _0x5dda2f=_0x560613;const _0x51194f=_0x214797,{reason:_0x3180ea}=_0x51194f[_0x5dda2f(0x27f)];this[_0x5dda2f(0x1fd)][_0x5dda2f(0x182)]({'id':Q[_0x5dda2f(0x33a)],'data':_0x3180ea}),this[_0x5dda2f(0x404)][_0x5dda2f(0x245)](new W[(_0x5dda2f(0x3d6))](_0x28e290)['id'],!0x1),this[_0x5dda2f(0x3f6)][_0x5dda2f(0x199)](_0x28e290);});};H[_0x4d8956(0x26c)](this[_0x4d8956(0x44d)][_0x4d8956(0x42f)](a[_0x4d8956(0x214)][_0x4d8956(0x49f)]),this[_0x4d8956(0x44d)]['getTypeOfUnitAdded$'](a[_0x4d8956(0x214)]['UNIVER_DOC']))['pipe'](V[_0x4d8956(0x3a4)](_0x2b60eb=>_0x2b60eb[_0x4d8956(0x3e9)]()),V[_0x4d8956(0x1f9)](_0x3feef1=>!a['isInternalEditorID'](_0x3feef1)),V[_0x4d8956(0x228)](this[_0x4d8956(0x429)]))['subscribe'](_0x497ded=>{_0x5dd7e0(_0x497ded);});}[_0x3943be(0x41b)](){var _0x5a2e21=_0x3943be;const _0x283e1f=async _0x5d0fc8=>{var _0xbf2d02=_0x1761;(await this[_0xbf2d02(0x3f6)][_0xbf2d02(0x3a7)](_0x5d0fc8))['event$'][_0xbf2d02(0x328)](V[_0xbf2d02(0x1f9)](_0x432a02=>_0x432a02['eventID']===m['CollaborationEvent'][_0xbf2d02(0x170)]),V[_0xbf2d02(0x228)](this[_0xbf2d02(0x429)]))[_0xbf2d02(0x32c)](_0x3bff19=>{var _0x28b2c0=_0xbf2d02;const _0x40884d=_0x3bff19,{objectId:_0x7d1e83}=_0x40884d[_0x28b2c0(0x27f)];_0x7d1e83===_0x5d0fc8?this[_0x28b2c0(0x387)](_0x5d0fc8):this[_0x28b2c0(0x43b)](_0x5d0fc8,_0x7d1e83);});};H[_0x5a2e21(0x26c)](this[_0x5a2e21(0x44d)][_0x5a2e21(0x42f)](a[_0x5a2e21(0x214)][_0x5a2e21(0x49f)]),this['_univerInstanceService'][_0x5a2e21(0x42f)](a[_0x5a2e21(0x214)][_0x5a2e21(0x242)]))[_0x5a2e21(0x328)](V['map'](_0x2c80d2=>_0x2c80d2['getUnitId']()),V[_0x5a2e21(0x1f9)](_0x50b219=>!a[_0x5a2e21(0x468)](_0x50b219)),V[_0x5a2e21(0x228)](this[_0x5a2e21(0x429)]))[_0x5a2e21(0x32c)](_0xbff1d6=>{_0x283e1f(_0xbff1d6);});}async[_0x3943be(0x387)](_0x34ffb5){var _0x1e9e36=_0x3943be,_0xedf912;const _0x3a40d7=_0x34ffb5||((_0xedf912=this[_0x1e9e36(0x44d)][_0x1e9e36(0x1a8)](a[_0x1e9e36(0x214)][_0x1e9e36(0x49f)]))==null?void 0x0:_0xedf912[_0x1e9e36(0x3e9)]());_0x3a40d7&&this[_0x1e9e36(0x37a)]['allowed']({'objectID':_0x3a40d7,'objectType':W[_0x1e9e36(0x33b)][_0x1e9e36(0x321)],'unitID':_0x3a40d7,'actions':W[_0x1e9e36(0x18c)]})['then'](_0x352fe1=>{var _0x2db8cd=_0x1e9e36;W[_0x2db8cd(0x374)]()[_0x2db8cd(0x1b0)](_0x3f95e1=>{var _0x3798cf=_0x2db8cd;const _0x256a20=new _0x3f95e1(_0x3a40d7),_0x2971ba=_0x256a20[_0x3798cf(0x3a6)],_0x285b0c=_0x352fe1[_0x3798cf(0x330)](_0x1e8ffe=>_0x1e8ffe[_0x3798cf(0x28c)]===_0x2971ba);_0x285b0c&&this[_0x3798cf(0x404)][_0x3798cf(0x245)](_0x256a20['id'],_0x285b0c[_0x3798cf(0x39d)]);});});}[_0x3943be(0x43b)](_0x450da1,_0x1faf1c){var _0x2278cf=_0x3943be;const _0x4c8bda=this[_0x2278cf(0x285)][_0x2278cf(0x412)](W[_0x2278cf(0x38a)]),_0x44b1c9=_0x4c8bda[_0x2278cf(0x23f)](_0x450da1,_0x1faf1c);let _0x2fb64e=!0x1;if(_0x44b1c9){const [_0x531845,_0x414671]=_0x44b1c9;this[_0x2278cf(0x37a)][_0x2278cf(0x39d)]({'objectID':_0x1faf1c,'unitID':_0x450da1,'objectType':W[_0x2278cf(0x33b)]['Worksheet'],'actions':W['baseProtectionActions']})[_0x2278cf(0x30b)](_0x3402b8=>{var _0x29296c=_0x2278cf;let _0x3d5b59='';W[_0x29296c(0x2be)]()[_0x29296c(0x1b0)](_0x190ad0=>{var _0x1d9c77=_0x29296c,_0x229159;const _0x4e6d5e=new _0x190ad0(_0x450da1,_0x414671),_0x583b9a=_0x4e6d5e[_0x1d9c77(0x3a6)],_0x5b4efb=_0x3402b8[_0x1d9c77(0x330)](_0x563c13=>_0x563c13[_0x1d9c77(0x28c)]===_0x583b9a);_0x5b4efb&&(((_0x229159=this[_0x1d9c77(0x404)][_0x1d9c77(0x307)](_0x4e6d5e['id']))==null?void 0x0:_0x229159[_0x1d9c77(0x3b1)])!==_0x5b4efb[_0x1d9c77(0x39d)]&&(_0x2fb64e=!0x0),this[_0x1d9c77(0x404)][_0x1d9c77(0x245)](_0x4e6d5e['id'],_0x5b4efb[_0x1d9c77(0x39d)]),_0x3d5b59+=_0x5b4efb['action']+'_'+_0x5b4efb[_0x1d9c77(0x39d)]);}),_0x4c8bda[_0x29296c(0x3a3)](_0x1faf1c+'_'+_0x3d5b59),_0x2fb64e&&this[_0x29296c(0x432)]['clearUndoRedo'](_0x450da1);});}const _0x6fd5f6=this[_0x2278cf(0x285)][_0x2278cf(0x412)](W['WorksheetProtectionPointModel'])['getTargetByPermissionId'](_0x450da1,_0x1faf1c);if(_0x6fd5f6){const [_0x3185db,_0x169251]=_0x6fd5f6;this[_0x2278cf(0x37a)][_0x2278cf(0x39d)]({'objectID':_0x1faf1c,'unitID':_0x450da1,'objectType':W['UnitObject']['Worksheet'],'actions':W[_0x2278cf(0x35d)]})['then'](_0x34449f=>{var _0x528d96=_0x2278cf;W['getAllWorksheetPermissionPointByPointPanel']()[_0x528d96(0x1b0)](_0x52b856=>{var _0x362fed=_0x528d96,_0x375aad;const _0x47f234=new _0x52b856(_0x450da1,_0x169251),_0x23fbf2=_0x47f234[_0x362fed(0x3a6)],_0x4b8713=_0x34449f[_0x362fed(0x330)](_0x3952df=>_0x3952df[_0x362fed(0x28c)]===_0x23fbf2);_0x4b8713&&(((_0x375aad=this[_0x362fed(0x404)]['getPermissionPoint'](_0x47f234['id']))==null?void 0x0:_0x375aad[_0x362fed(0x3b1)])!==_0x4b8713['allowed']&&(_0x2fb64e=!0x0),this[_0x362fed(0x404)][_0x362fed(0x245)](_0x47f234['id'],_0x4b8713[_0x362fed(0x39d)]));}),_0x2fb64e&&this[_0x528d96(0x432)][_0x528d96(0x276)](_0x450da1);});}const _0x37cedb=this[_0x2278cf(0x285)][_0x2278cf(0x412)](W[_0x2278cf(0x44c)]),_0x41a946=_0x37cedb['getTargetByPermissionId'](_0x450da1,_0x1faf1c);if(_0x41a946){const [_0x238b4f,_0x15f4d0]=_0x41a946;this[_0x2278cf(0x37a)][_0x2278cf(0x39d)]({'objectID':_0x1faf1c,'unitID':_0x450da1,'objectType':W['UnitObject']['SelectRange'],'actions':W[_0x2278cf(0x20b)]})['then'](_0x26a552=>{var _0x31e6d5=_0x2278cf;let _0x5b9498='';W['getAllRangePermissionPoint']()['forEach'](_0x5c6223=>{var _0x53216c=_0x1761,_0x157bfd;const _0x583746=new _0x5c6223(_0x450da1,_0x15f4d0,_0x1faf1c),_0x3d5932=_0x583746[_0x53216c(0x3a6)],_0x2bc86b=_0x26a552[_0x53216c(0x330)](_0x18beaf=>_0x18beaf['action']===_0x3d5932);_0x2bc86b&&(((_0x157bfd=this['_permissionService'][_0x53216c(0x307)](_0x583746['id']))==null?void 0x0:_0x157bfd[_0x53216c(0x3b1)])!==_0x2bc86b['allowed']&&(_0x2fb64e=!0x0),this[_0x53216c(0x404)]['updatePermissionPoint'](_0x583746['id'],_0x2bc86b[_0x53216c(0x39d)]),_0x5b9498+=_0x2bc86b[_0x53216c(0x28c)]+'_'+_0x2bc86b[_0x53216c(0x39d)]);}),_0x37cedb[_0x31e6d5(0x3a3)](_0x1faf1c+'_'+_0x5b9498),_0x2fb64e&&this[_0x31e6d5(0x432)][_0x31e6d5(0x276)](_0x450da1);});}}};Ne=Kn([ce(0x0,a[_0x3943be(0x357)](a[_0x3943be(0x3b3)])),ce(0x1,a['IUniverInstanceService']),ce(0x2,a[_0x3943be(0x1f7)]),ce(0x3,a[_0x3943be(0x357)](exports[_0x3943be(0x466)])),ce(0x4,a[_0x3943be(0x357)](te)),ce(0x5,a[_0x3943be(0x3f9)]),ce(0x6,a[_0x3943be(0x42e)])],Ne);var Yn=Object[_0x3943be(0x4a5)],qn=Object['getOwnPropertyDescriptor'],zn=(_0x44fbd8,_0x28ebb7,_0x19bc09,_0x5d393a)=>{var _0x4a2b11=_0x3943be;for(var _0x2d9c84=_0x5d393a>0x1?void 0x0:_0x5d393a?qn(_0x28ebb7,_0x19bc09):_0x28ebb7,_0x2eb352=_0x44fbd8[_0x4a2b11(0x441)]-0x1,_0xf3efd9;_0x2eb352>=0x0;_0x2eb352--)(_0xf3efd9=_0x44fbd8[_0x2eb352])&&(_0x2d9c84=(_0x5d393a?_0xf3efd9(_0x28ebb7,_0x19bc09,_0x2d9c84):_0xf3efd9(_0x2d9c84))||_0x2d9c84);return _0x5d393a&&_0x2d9c84&&Yn(_0x28ebb7,_0x19bc09,_0x2d9c84),_0x2d9c84;},_t=(_0x142a3a,_0x42bfcd)=>(_0x1f4ad4,_0x1e7597)=>_0x42bfcd(_0x1f4ad4,_0x1e7597,_0x142a3a);exports[_0x3943be(0x230)]=class{constructor(_0x4e6876,_0x35d0b1){var _0x5a2ddd=_0x3943be;this[_0x5a2ddd(0x2f6)]=_0x4e6876,this[_0x5a2ddd(0x1f2)]=_0x35d0b1;}async['getUnitOnRev'](_0x4183bb,_0xaaef5e){var _0x1fc0d7=_0x3943be,_0x787101;const {unitID:_0x1acd8c,type:_0x290b90,revision:_0xb3867b=0x0}=_0xaaef5e,_0x14d63f=this[_0x1fc0d7(0x32b)]()+'/'+_0x290b90+_0x1fc0d7(0x1ba)+_0x1acd8c+'/rev/'+_0xb3867b,_0x2c3cd8=(await this[_0x1fc0d7(0x1f2)]['get'](_0x14d63f))[_0x1fc0d7(0x31d)],_0x3bc348=(_0x787101=_0x2c3cd8[_0x1fc0d7(0x1d2)])==null?void 0x0:_0x787101[_0x1fc0d7(0x26a)];if(_0x3bc348){const _0x1de471=_0x3bc348==null?void 0x0:_0x3bc348[_0x1fc0d7(0x262)],_0x2856a9=m[_0x1fc0d7(0x178)][_0x1fc0d7(0x24e)](m[_0x1fc0d7(0x2ba)](_0x1de471));_0x3bc348['originalMeta']=_0x2856a9,Object[_0x1fc0d7(0x484)](_0x3bc348[_0x1fc0d7(0x1b4)])['forEach'](([,_0x87832e])=>{var _0x4f9a7e=_0x1fc0d7;const _0x40034f=_0x87832e[_0x4f9a7e(0x262)],_0x11ac7c=m[_0x4f9a7e(0x178)]['encode'](m['b64DecodeUnicode'](_0x40034f));_0x87832e['originalMeta']=_0x11ac7c;});}return _0x2c3cd8;}async[_0x3943be(0x47f)](_0x23fe2c,_0x269633){var _0x190d83=_0x3943be;const {unitID:_0x1af7f4,type:_0x2f1f7d,blockID:_0x53a334}=_0x269633,_0x2e5ee4=this[_0x190d83(0x407)]()+'/'+_0x2f1f7d+_0x190d83(0x1ba)+_0x1af7f4+'/block/'+_0x53a334;return(await this[_0x190d83(0x1f2)][_0x190d83(0x412)](_0x2e5ee4))[_0x190d83(0x31d)];}async[_0x3943be(0x24f)](_0x52cfed,_0x37af80){var _0x2700f0=_0x3943be;const {unitID:_0x6c7a2c,type:_0x60a76f,blockID:_0x37ad72}=_0x37af80,_0x5b49a5=this['_getAPIPrefix']()+_0x2700f0(0x3c3)+_0x60a76f+_0x2700f0(0x1ba)+_0x6c7a2c+_0x2700f0(0x3c3)+_0x37ad72;return(await this[_0x2700f0(0x1f2)][_0x2700f0(0x412)](_0x5b49a5))[_0x2700f0(0x31d)];}async[_0x3943be(0x4ca)](_0x3e79a7,_0x2ec946){var _0x2b3668=_0x3943be;const {unitID:_0x1f1d21,type:_0x2293f6,from:_0x23835f,to:_0x648ff1}=_0x2ec946,_0x3f80fa=this[_0x2b3668(0x407)]()+'/'+_0x2293f6+_0x2b3668(0x1ba)+_0x1f1d21+_0x2b3668(0x2fe)+_0x23835f+_0x2b3668(0x188)+_0x648ff1;return(await this[_0x2b3668(0x1f2)][_0x2b3668(0x412)](_0x3f80fa))[_0x2b3668(0x31d)];}[_0x3943be(0x32b)](){var _0x2a5544=_0x3943be,_0x49581e;return(_0x49581e=this[_0x2a5544(0x2f6)][_0x2a5544(0x44f)](vt))!=null?_0x49581e:this[_0x2a5544(0x407)]();}[_0x3943be(0x407)](){var _0x1d4167=_0x3943be,_0x438c82,_0x1c0a46;const _0x10adb5=this['_configService']['getConfig'](dt),_0x389ca5=this['_configService']['getConfig'](q);return(_0x1c0a46=(_0x438c82=_0x389ca5==null?void 0x0:_0x389ca5[_0x1d4167(0x3a2)])!=null?_0x438c82:_0x10adb5)!=null?_0x1c0a46:$t;}async[_0x3943be(0x1d8)](_0x354a78,_0x1f66c2){var _0x2e3986=_0x3943be;const _0x60c916=_0x2e3986(0x392)+_0x1f66c2[_0x2e3986(0x1b9)]+_0x2e3986(0x1ba)+_0x1f66c2['unitID']+'/resources';return(await this[_0x2e3986(0x1f2)][_0x2e3986(0x412)](_0x60c916,{'params':{'resourceId':JSON['stringify'](_0x1f66c2[_0x2e3986(0x4ab)])}}))[_0x2e3986(0x31d)];}[_0x3943be(0x415)](){var _0x4edc5b=_0x3943be;throw new Error(_0x4edc5b(0x447));}[_0x3943be(0x1bd)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3943be(0x418)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports['SnapshotServerOverHTTPService']=zn([_t(0x0,a['IConfigService']),_t(0x1,a[_0x3943be(0x357)](z[_0x3943be(0x4de)]))],exports[_0x3943be(0x230)]);var Jn=Object['defineProperty'],Xn=Object[_0x3943be(0x32a)],Zn=(_0xd1e272,_0x327463,_0x357173,_0x1b1609)=>{var _0x4f0fd2=_0x3943be;for(var _0x5c4a9b=_0x1b1609>0x1?void 0x0:_0x1b1609?Xn(_0x327463,_0x357173):_0x327463,_0x4a5535=_0xd1e272[_0x4f0fd2(0x441)]-0x1,_0x33bd01;_0x4a5535>=0x0;_0x4a5535--)(_0x33bd01=_0xd1e272[_0x4a5535])&&(_0x5c4a9b=(_0x1b1609?_0x33bd01(_0x327463,_0x357173,_0x5c4a9b):_0x33bd01(_0x5c4a9b))||_0x5c4a9b);return _0x1b1609&&_0x5c4a9b&&Jn(_0x327463,_0x357173,_0x5c4a9b),_0x5c4a9b;},de=(_0x1bb807,_0x54225d)=>(_0x5c4e1e,_0x1716e1)=>_0x54225d(_0x5c4e1e,_0x1716e1,_0x1bb807);exports[_0x3943be(0x448)]=class extends a['LocalUndoRedoService']{constructor(_0xc14c2c,_0x51b50d,_0x4937c8,_0xc93e6d,_0x346c75){var _0x54c330=_0x3943be;super(_0xc14c2c,_0x51b50d,_0x4937c8),this[_0x54c330(0x21e)]=_0xc93e6d,this[_0x54c330(0x211)]=_0x346c75;}[_0x3943be(0x30e)](_0x49c68a,_0x2db609){var _0x19486d=_0x3943be;const _0x52339d=this[_0x19486d(0x237)](_0x49c68a);if(_0x52339d)try{const _0x10ae36=this[_0x19486d(0x227)](_0x52339d,_0x2db609);this['_substituteUndoStack'](_0x49c68a,_0x10ae36);}catch(_0x1412f1){this[_0x19486d(0x211)][_0x19486d(0x394)](_0x19486d(0x288),_0x1412f1),this[_0x19486d(0x4e8)](_0x49c68a);}const _0x43fa0d=this[_0x19486d(0x195)](_0x49c68a);if(_0x43fa0d)try{const _0x4c00cf=this[_0x19486d(0x227)](_0x43fa0d,_0x2db609);this[_0x19486d(0x19c)](_0x49c68a,_0x4c00cf);}catch(_0x417e14){this['_logService']['error'](_0x417e14),this[_0x19486d(0x283)](_0x49c68a);}}[_0x3943be(0x4e8)](_0x4d9499){var _0x26b017=_0x3943be;const _0x1c745b=this[_0x26b017(0x237)](_0x4d9499);_0x1c745b&&(_0x1c745b[_0x26b017(0x441)]=0x0,this[_0x26b017(0x41d)]());}[_0x3943be(0x283)](_0x2da6ef){var _0x13a68f=_0x3943be;const _0x3f817c=this['_getRedoStack'](_0x2da6ef);_0x3f817c&&(_0x3f817c[_0x13a68f(0x441)]=0x0,this['_updateStatus']());}[_0x3943be(0x257)](_0x467eeb,_0x4b677a){var _0x382a47=_0x3943be;this[_0x382a47(0x1dc)][_0x382a47(0x3fe)](_0x467eeb,_0x4b677a),this['_updateStatus']();}[_0x3943be(0x19c)](_0x4416a1,_0x25941f){var _0x5292ac=_0x3943be;this[_0x5292ac(0x452)]['set'](_0x4416a1,_0x25941f),this[_0x5292ac(0x41d)]();}[_0x3943be(0x227)](_0x55ae37,_0x228058){var _0x2bac53=_0x3943be;const _0x1738aa=[];let _0x1200d0=_0x228058,_0x518519=_0x228058;for(let _0x7ef312=_0x55ae37[_0x2bac53(0x441)]-0x1;_0x7ef312>=0x0;_0x7ef312--){const {unitID:_0x21d758,undoMutations:_0x4911fd,redoMutations:_0x3e0b7b}=_0x55ae37[_0x7ef312],_0x46db56=this[_0x2bac53(0x21e)][_0x2bac53(0x25b)](_0x1200d0,_0x4911fd),_0x278248=this[_0x2bac53(0x21e)][_0x2bac53(0x25b)](_0x518519,_0x3e0b7b);if(m[_0x2bac53(0x2b3)](_0x46db56)||m[_0x2bac53(0x2b3)](_0x278248)){this['_logService'][_0x2bac53(0x394)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x46db56,_0x278248);break;}_0x1200d0=_0x46db56['c1Prime'],_0x518519=_0x278248[_0x2bac53(0x1f6)],_0x1738aa[_0x2bac53(0x367)]({'unitID':_0x21d758,'undoMutations':_0x46db56[_0x2bac53(0x471)],'redoMutations':_0x278248[_0x2bac53(0x471)]});}return _0x1738aa[_0x2bac53(0x1a7)]();}},exports[_0x3943be(0x448)]=Zn([de(0x0,a[_0x3943be(0x322)]),de(0x1,a['ICommandService']),de(0x2,a['IContextService']),de(0x3,m[_0x3943be(0x39f)]),de(0x4,a[_0x3943be(0x3aa)])],exports[_0x3943be(0x448)]);var At=Object[_0x3943be(0x4a5)],Qn=Object[_0x3943be(0x32a)],er=(_0x14cbcc,_0x22903f,_0x114a9a)=>_0x22903f in _0x14cbcc?At(_0x14cbcc,_0x22903f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x114a9a}):_0x14cbcc[_0x22903f]=_0x114a9a,tr=(_0x5b2968,_0x4dde1d,_0x331512,_0x55787a)=>{var _0x2da99d=_0x3943be;for(var _0x16e708=_0x55787a>0x1?void 0x0:_0x55787a?Qn(_0x4dde1d,_0x331512):_0x4dde1d,_0x682f0b=_0x5b2968[_0x2da99d(0x441)]-0x1,_0x3c45fb;_0x682f0b>=0x0;_0x682f0b--)(_0x3c45fb=_0x5b2968[_0x682f0b])&&(_0x16e708=(_0x55787a?_0x3c45fb(_0x4dde1d,_0x331512,_0x16e708):_0x3c45fb(_0x16e708))||_0x16e708);return _0x55787a&&_0x16e708&&At(_0x4dde1d,_0x331512,_0x16e708),_0x16e708;},je=(_0x962f12,_0x54b2df)=>(_0x508f1c,_0x3e3046)=>_0x54b2df(_0x508f1c,_0x3e3046,_0x962f12),ir=(_0xdac5a9,_0x24975e,_0x47641e)=>er(_0xdac5a9,_0x24975e+'',_0x47641e);const nr=_0x3943be(0x47a);exports[_0x3943be(0x234)]=class extends a[_0x3943be(0x2a8)]{constructor(_0x32123a=Xt,_0x1ec29d,_0xe2ed03,_0x540c77){var _0x2291f5=_0x3943be;super(),this[_0x2291f5(0x33d)]=_0x32123a,this[_0x2291f5(0x211)]=_0x1ec29d,this[_0x2291f5(0x285)]=_0xe2ed03,this[_0x2291f5(0x2f6)]=_0x540c77;const {..._0x4690e5}=this[_0x2291f5(0x33d)];this['_configService'][_0x2291f5(0x291)](q,_0x4690e5);}[_0x3943be(0x2f2)](){var _0x37456a=_0x3943be;this['_registerDependencies'](),this[_0x37456a(0x440)]();}['_registerDependencies'](){var _0x4d4fd1=_0x3943be,_0x4ac430,_0x5e8ede,_0x509063,_0x4706a8;this[_0x4d4fd1(0x285)][_0x4d4fd1(0x424)](a[_0x4d4fd1(0x42e)])&&this['_logService'][_0x4d4fd1(0x394)]('[UniverCollaborationClientPlugin]',_0x4d4fd1(0x408));const _0x43996e=a[_0x4d4fd1(0x4e1)]([[a[_0x4d4fd1(0x42e)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x4d4fd1(0x466)]],[exports[_0x4d4fd1(0x3a5)]],[exports[_0x4d4fd1(0x17e)]],[ye],[Pe],[Be],[Ne],[te],[exports[_0x4d4fd1(0x318)]],[ke,{'useClass':(_0x5e8ede=(_0x4ac430=this[_0x4d4fd1(0x33d)])==null?void 0x0:_0x4ac430[_0x4d4fd1(0x1b8)])!=null?_0x5e8ede:exports['CollaborationSocketService']}],[m[_0x4d4fd1(0x17d)],{'useClass':exports[_0x4d4fd1(0x230)]}],[a['IAuthzIoService'],{'useClass':exports[_0x4d4fd1(0x233)]}],[X[_0x4d4fd1(0x2a2)],{'useClass':exports[_0x4d4fd1(0x354)]}],[a[_0x4d4fd1(0x1cd)],{'useClass':exports[_0x4d4fd1(0x3fc)]}],[exports[_0x4d4fd1(0x45f)]],[$e]],(_0x509063=this[_0x4d4fd1(0x33d)])==null?void 0x0:_0x509063[_0x4d4fd1(0x2ac)]);if(!((_0x4706a8=this[_0x4d4fd1(0x33d)])!=null&&_0x4706a8[_0x4d4fd1(0x241)])){const _0x4b3f81=_0x43996e[_0x4d4fd1(0x477)](([_0x278745])=>_0x278745===ve);_0x4b3f81!==-0x1&&_0x43996e[_0x4d4fd1(0x42d)](_0x4b3f81,0x1);}a[_0x4d4fd1(0x449)](this['_injector'],_0x43996e);}[_0x3943be(0x440)](){var _0x115edf=_0x3943be,_0x38285d,_0x165227,_0x420683;this[_0x115edf(0x285)][_0x115edf(0x412)](z[_0x115edf(0x4de)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':z[_0x115edf(0x49d)]({'maxParallel':0x6})}),(_0x38285d=this['_config'])!=null&&_0x38285d[_0x115edf(0x4a7)]||(_0x165227=this[_0x115edf(0x285)][_0x115edf(0x412)](J,a[_0x115edf(0x340)][_0x115edf(0x3c7)]))==null||_0x165227[_0x115edf(0x27d)](),(_0x420683=this['_config'])!=null&&_0x420683['enableAuthServer']&&a[_0x115edf(0x24c)](this['_injector'],[[ye]]),a['touchDependencies'](this['_injector'],[[Pe],[exports[_0x115edf(0x45f)]],[Ne]]);}},ir(exports['UniverCollaborationClientPlugin'],_0x3943be(0x2bf),nr),exports[_0x3943be(0x234)]=tr([a[_0x3943be(0x4cf)](m[_0x3943be(0x4e7)],W['UniverSheetsPlugin'],z['UniverNetworkPlugin']),je(0x1,a[_0x3943be(0x3aa)]),je(0x2,a[_0x3943be(0x357)](a['Injector'])),je(0x3,a[_0x3943be(0x366)])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=Ge,exports[_0x3943be(0x385)]=q,exports[_0x3943be(0x344)]=It,exports[_0x3943be(0x4b5)]=ft,exports[_0x3943be(0x3f5)]=We,exports['CollaborationUIEventId']=Q,exports['CollaborationUIEventService']=te,exports[_0x3943be(0x277)]=Be,exports[_0x3943be(0x19d)]=St,exports[_0x3943be(0x1f4)]=Jt,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports[_0x3943be(0x384)]=He,exports[_0x3943be(0x2aa)]=ke,exports[_0x3943be(0x40f)]=J,exports[_0x3943be(0x278)]=bt,exports['ISingleActiveUnitService']=ve,exports['LOCAL_CACHE_INTERVAL']=Kt,exports['LOCAL_CACHE_INTERVAL_KEY']=Gt,exports[_0x3943be(0x3b7)]=Et,exports[_0x3943be(0x481)]=zt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=mt,exports[_0x3943be(0x2fb)]=Ht,exports[_0x3943be(0x2fd)]=dt,exports[_0x3943be(0x201)]=vt,exports[_0x3943be(0x213)]=se,exports[_0x3943be(0x2c7)]=Fe,exports[_0x3943be(0x177)]=Rt,exports[_0x3943be(0x2f7)]=mi,exports[_0x3943be(0x1a1)]=Ot;
|