@univerjs-pro/collaboration-client 0.6.10-experimental.20250411-055c47d → 0.6.10-experimental.20250418-8830bd4
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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/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 +15 -10
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x1a80fc=_0x2d6f;(function(_0x387928,_0x4952a1){var _0x5e2473=_0x2d6f,_0x2d1c7c=_0x387928();while(!![]){try{var _0x3c1276=parseInt(_0x5e2473(0x260))/0x1+parseInt(_0x5e2473(0x469))/0x2*(-parseInt(_0x5e2473(0x131))/0x3)+-parseInt(_0x5e2473(0x43a))/0x4+-parseInt(_0x5e2473(0x41f))/0x5*(-parseInt(_0x5e2473(0x335))/0x6)+-parseInt(_0x5e2473(0x407))/0x7+-parseInt(_0x5e2473(0x368))/0x8*(parseInt(_0x5e2473(0x380))/0x9)+parseInt(_0x5e2473(0x201))/0xa*(parseInt(_0x5e2473(0x234))/0xb);if(_0x3c1276===_0x4952a1)break;else _0x2d1c7c['push'](_0x2d1c7c['shift']());}catch(_0x39a141){_0x2d1c7c['push'](_0x2d1c7c['shift']());}}}(_0x3005,0xcc786));var wt=Object[_0x1a80fc(0x450)],Lt=(_0x57c0ed,_0x53b9f3,_0x37a863)=>_0x53b9f3 in _0x57c0ed?wt(_0x57c0ed,_0x53b9f3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37a863}):_0x57c0ed[_0x53b9f3]=_0x37a863,A=(_0x59e2a6,_0x2bce7e,_0x2af394)=>Lt(_0x59e2a6,typeof _0x2bce7e!='symbol'?_0x2bce7e+'':_0x2bce7e,_0x2af394);Object[_0x1a80fc(0x450)](exports,Symbol['toStringTag'],{'value':'Module'});const a=require(_0x1a80fc(0x1c3)),j=require(_0x1a80fc(0x243)),V=require(_0x1a80fc(0x3f1)),g=require(_0x1a80fc(0x1a1)),q=require(_0x1a80fc(0x202)),Mt=require(_0x1a80fc(0x3e2)),ut=require(_0x1a80fc(0x42f)),Z=require(_0x1a80fc(0x424)),J=require(_0x1a80fc(0x301)),xt=require(_0x1a80fc(0x266)),dt=_0x1a80fc(0x10c),kt=_0x1a80fc(0x400),vt=_0x1a80fc(0x2cc),Ht=_0x1a80fc(0x35b),jt=0x7d0,St=_0x1a80fc(0x165),ft=_0x1a80fc(0x13e),$t='/universer-api/user/session-ticket',pt=_0x1a80fc(0x30e),Bt=0x7530,je='HEARTBEAT_TIMEOUT',gt=0x4e20,Ft=0x4e20,mt=_0x1a80fc(0x460),Vt=0x3,Wt=_0x1a80fc(0x3c9),Gt=0x3e8,It=_0x1a80fc(0x222),Kt='/universer-api/comb',Et=_0x1a80fc(0x353),Yt=_0x1a80fc(0x36d),qt=_0x1a80fc(0x1ce),zt=_0x1a80fc(0x249);var Ct=(_0x3ad46d=>(_0x3ad46d[_0x3ad46d['UNDEFINED']=0x0]=_0x1a80fc(0x1b1),_0x3ad46d[_0x3ad46d['OK']=0x1]='OK',_0x3ad46d[_0x3ad46d[_0x1a80fc(0x230)]=0x2]=_0x1a80fc(0x230),_0x3ad46d[_0x3ad46d['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x3ad46d[_0x3ad46d[_0x1a80fc(0x194)]=0x4]=_0x1a80fc(0x194),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x1bf)]=0x5]=_0x1a80fc(0x1bf),_0x3ad46d[_0x3ad46d['ALREADY_EXISTS']=0x6]=_0x1a80fc(0x24b),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x215)]=0x7]=_0x1a80fc(0x215),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x390)]=0x8]=_0x1a80fc(0x390),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x436)]=0x9]=_0x1a80fc(0x436),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x346)]=0xa]=_0x1a80fc(0x346),_0x3ad46d[_0x3ad46d['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1a80fc(0x1e7),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x466)]=0x1771]=_0x1a80fc(0x466),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x1fe)]=0x1772]=_0x1a80fc(0x1fe),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x139)]=0x1773]=_0x1a80fc(0x139),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x1a9)]=0x1b59]=_0x1a80fc(0x1a9),_0x3ad46d[_0x3ad46d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1a80fc(0x3b0),_0x3ad46d[_0x3ad46d['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1a80fc(0x3f6),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x35c)]=0x1b5c]=_0x1a80fc(0x35c),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x279)]=0x1b5d]=_0x1a80fc(0x279),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x391)]=0x1f41]=_0x1a80fc(0x391),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x13c)]=0x2329]=_0x1a80fc(0x13c),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x414)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3ad46d[_0x3ad46d[_0x1a80fc(0x313)]=0x232b]=_0x1a80fc(0x313),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x1f3)]=0x232c]=_0x1a80fc(0x1f3),_0x3ad46d[_0x3ad46d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1a80fc(0x2df),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x3e5)]=0x2711]=_0x1a80fc(0x3e5),_0x3ad46d[_0x3ad46d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3ad46d[_0x3ad46d[_0x1a80fc(0x467)]=0x2713]=_0x1a80fc(0x467),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x31c)]=0x2714]=_0x1a80fc(0x31c),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x2bb)]=0x2af9]=_0x1a80fc(0x2bb),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x115)]=0x2ee1]=_0x1a80fc(0x115),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x280)]=0x2ee2]='INVALID_INVITE_CODE',_0x3ad46d[_0x3ad46d['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1a80fc(0x20c),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x44b)]=0x2ee4]=_0x1a80fc(0x44b),_0x3ad46d[_0x3ad46d[_0x1a80fc(0x35a)]=0x2ee5]=_0x1a80fc(0x35a),_0x3ad46d[_0x3ad46d['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3ad46d[_0x3ad46d[_0x1a80fc(0x257)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3ad46d[_0x3ad46d[_0x1a80fc(0x326)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x3ad46d[_0x3ad46d[_0x1a80fc(0x3ca)]=-0x1]='UNRECOGNIZED',_0x3ad46d))(Ct||{}),X=(_0x4775b0=>(_0x4775b0[_0x4775b0['UNIVER_UNKNOWN']=0x0]=_0x1a80fc(0x42b),_0x4775b0[_0x4775b0['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x4775b0[_0x4775b0[_0x1a80fc(0x393)]=0x2]=_0x1a80fc(0x393),_0x4775b0[_0x4775b0[_0x1a80fc(0x2e9)]=0x3]=_0x1a80fc(0x2e9),_0x4775b0[_0x4775b0[_0x1a80fc(0x32f)]=0x4]=_0x1a80fc(0x32f),_0x4775b0[_0x4775b0[_0x1a80fc(0x3ca)]=-0x1]=_0x1a80fc(0x3ca),_0x4775b0))(X||{}),W=(_0x1d61a0=>(_0x1d61a0[_0x1d61a0[_0x1a80fc(0x121)]=0x0]='UNKNOWN_CMD',_0x1d61a0[_0x1d61a0[_0x1a80fc(0x403)]=0x1]=_0x1a80fc(0x403),_0x1d61a0[_0x1d61a0[_0x1a80fc(0x1ff)]=0x2]=_0x1a80fc(0x1ff),_0x1d61a0[_0x1d61a0[_0x1a80fc(0x1ae)]=0x3]=_0x1a80fc(0x1ae),_0x1d61a0[_0x1d61a0[_0x1a80fc(0x162)]=0x4]=_0x1a80fc(0x162),_0x1d61a0[_0x1d61a0['HEARTBEAT']=0x5]=_0x1a80fc(0x287),_0x1d61a0[_0x1d61a0[_0x1a80fc(0x198)]=0x6]=_0x1a80fc(0x198),_0x1d61a0[_0x1d61a0[_0x1a80fc(0x3ca)]=-0x1]=_0x1a80fc(0x3ca),_0x1d61a0))(W||{}),ae=(_0x237ed6=>(_0x237ed6[_0x237ed6['UNKNOWN_CODE']=0x0]=_0x1a80fc(0x288),_0x237ed6[_0x237ed6['OK']=0x1]='OK',_0x237ed6[_0x237ed6[_0x1a80fc(0x3ac)]=0x2]=_0x1a80fc(0x3ac),_0x237ed6[_0x237ed6[_0x1a80fc(0x310)]=0x3e9]='JOIN_ROOM_FULL',_0x237ed6[_0x237ed6[_0x1a80fc(0x40f)]=0x3ea]=_0x1a80fc(0x40f),_0x237ed6[_0x237ed6[_0x1a80fc(0x265)]=0x3eb]=_0x1a80fc(0x265),_0x237ed6[_0x237ed6[_0x1a80fc(0x18c)]=0x3ec]=_0x1a80fc(0x18c),_0x237ed6[_0x237ed6['UNRECOGNIZED']=-0x1]=_0x1a80fc(0x3ca),_0x237ed6))(ae||{}),Tt=(_0x284a21=>(_0x284a21[_0x284a21['Undefined']=0x0]=_0x1a80fc(0xfe),_0x284a21[_0x284a21[_0x1a80fc(0x1af)]=0x1]=_0x1a80fc(0x1af),_0x284a21[_0x284a21[_0x1a80fc(0x324)]=0x2]=_0x1a80fc(0x324),_0x284a21[_0x284a21[_0x1a80fc(0x38e)]=0x3]=_0x1a80fc(0x38e),_0x284a21[_0x284a21[_0x1a80fc(0xf6)]=0x4]='UnitSnapshot',_0x284a21[_0x284a21[_0x1a80fc(0x1b3)]=0x5]=_0x1a80fc(0x1b3),_0x284a21[_0x284a21[_0x1a80fc(0x3ca)]=-0x1]='UNRECOGNIZED',_0x284a21))(Tt||{});const Y='collaboration-client.config',Jt={};var Q=(_0x5d72f4=>(_0x5d72f4[_0x1a80fc(0x113)]=_0x1a80fc(0x113),_0x5d72f4[_0x1a80fc(0x2e7)]=_0x1a80fc(0x2e7),_0x5d72f4[_0x1a80fc(0x3b7)]='CONFLICT',_0x5d72f4['CLOSE_ROOM']=_0x1a80fc(0x16a),_0x5d72f4[_0x1a80fc(0x409)]=_0x1a80fc(0x409),_0x5d72f4[_0x1a80fc(0x28c)]=_0x1a80fc(0x28c),_0x5d72f4[_0x1a80fc(0x3d7)]=_0x1a80fc(0x3d7),_0x5d72f4[_0x1a80fc(0x41c)]='SUBMIT_CHANGESET_TIMEOUT',_0x5d72f4))(Q||{});class te{constructor(){var _0x3e3652=_0x1a80fc;A(this,_0x3e3652(0x1e4),new j[(_0x3e3652(0x3e7))]()),A(this,_0x3e3652(0x463),this[_0x3e3652(0x1e4)][_0x3e3652(0x141)]());}['emitEvent'](_0x7f6bb6){var _0x52fc3a=_0x1a80fc;this[_0x52fc3a(0x1e4)][_0x52fc3a(0x435)](_0x7f6bb6);}}const bt=a[_0x1a80fc(0x38a)](_0x1a80fc(0x144));function Rt(_0x10dd8b){var _0x202855=_0x1a80fc,_0x2d5b4f,_0x2309e4,_0x59ae22,_0x30ebab,_0x1b487a;const _0x47ce82=_0x10dd8b[_0x202855(0x38d)],_0x150491=JSON['parse'](_0x47ce82);switch(_0x150491[_0x202855(0x18d)]){case W['HEARTBEAT']:case W['HELLO']:{const _0x457c90=_0x150491[_0x202855(0xf0)];return{..._0x150491,'data':_0x457c90,'cmd':_0x150491[_0x202855(0x18d)]};}case W[_0x202855(0x1ff)]:{const _0x59c88d=_0x150491[_0x202855(0x1a3)];return{..._0x150491,'data':_0x59c88d,'cmd':_0x150491['cmd']};}case W['RECV']:{const _0x2a0bb8=_0x150491[_0x202855(0x2d5)];switch(_0x2a0bb8[_0x202855(0x28a)]){case g[_0x202855(0x15b)][_0x202855(0x333)]:return{..._0x150491,'data':{..._0x2a0bb8,'data':(_0x2d5b4f=_0x2a0bb8['permissionRejEvent'])==null?void 0x0:_0x2d5b4f['cs']},'cmd':_0x150491[_0x202855(0x18d)]};case g[_0x202855(0x15b)][_0x202855(0x337)]:return{..._0x150491,'data':{..._0x2a0bb8,'data':(_0x2309e4=_0x2a0bb8['csAckEvent'])==null?void 0x0:_0x2309e4['cs']},'cmd':_0x150491[_0x202855(0x18d)]};case g[_0x202855(0x15b)]['NEW_CHANGESETS']:return{..._0x150491,'data':{..._0x2a0bb8,'data':(_0x59ae22=_0x2a0bb8[_0x202855(0x2cf)])==null?void 0x0:_0x59ae22['cs']},'cmd':_0x150491[_0x202855(0x18d)]};case g[_0x202855(0x15b)][_0x202855(0x453)]:return{..._0x150491,'data':{..._0x2a0bb8,'data':(_0x30ebab=_0x2a0bb8[_0x202855(0x1de)])==null?void 0x0:_0x30ebab['cs']},'cmd':_0x150491['cmd']};case g['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x150491,'data':{..._0x2a0bb8,'data':(_0x1b487a=_0x2a0bb8[_0x202855(0x246)])==null?void 0x0:_0x1b487a['cs']},'cmd':_0x150491[_0x202855(0x18d)]};case g['CollaborationEvent'][_0x202855(0x15f)]:return{..._0x150491,'data':{..._0x2a0bb8,'data':_0x2a0bb8['updateCursorEvent']},'cmd':_0x150491[_0x202855(0x18d)]};case g['CollaborationEvent']['USERS_ENTER']:return{..._0x150491,'data':{..._0x2a0bb8,'data':_0x2a0bb8[_0x202855(0x10b)]},'cmd':_0x150491['cmd']};case g[_0x202855(0x15b)][_0x202855(0x1c4)]:return{..._0x150491,'data':{..._0x2a0bb8,'data':_0x2a0bb8[_0x202855(0x220)]},'cmd':_0x150491[_0x202855(0x18d)]};case g['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0x150491,'data':{..._0x2a0bb8,'data':_0x2a0bb8[_0x202855(0x3b5)]},'cmd':_0x150491[_0x202855(0x18d)]};case g[_0x202855(0x15b)][_0x202855(0x3b3)]:case g[_0x202855(0x15b)][_0x202855(0x1f0)]:return{..._0x150491,'data':{..._0x2a0bb8,'data':_0x2a0bb8[_0x202855(0x14a)]},'cmd':_0x150491[_0x202855(0x18d)]};case g['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x150491,'data':{..._0x2a0bb8,'data':_0x2a0bb8['liveShareNewHost']},'cmd':_0x150491[_0x202855(0x18d)]};case g[_0x202855(0x15b)][_0x202855(0x1a2)]:return{..._0x150491,'data':_0x2a0bb8,'cmd':_0x150491['cmd']};case g[_0x202855(0x15b)][_0x202855(0x2bf)]:return{..._0x150491,'data':{..._0x2a0bb8,'data':_0x2a0bb8[_0x202855(0x3f9)]},'cmd':_0x150491[_0x202855(0x18d)]};case g[_0x202855(0x15b)][_0x202855(0x240)]:return{..._0x150491,'data':{..._0x2a0bb8,'data':_0x2a0bb8[_0x202855(0x3f8)]},'cmd':_0x150491[_0x202855(0x18d)]};case g['CollaborationEvent'][_0x202855(0x2cb)]:return{..._0x150491,'data':{..._0x2a0bb8,'data':_0x2a0bb8['shouldCloseConn']},'cmd':_0x150491[_0x202855(0x18d)]};case g['CollaborationEvent'][_0x202855(0x41d)]:return{..._0x150491,'data':{..._0x2a0bb8,'data':_0x2a0bb8[_0x202855(0x3db)]},'cmd':_0x150491[_0x202855(0x18d)]};default:return _0x150491;}}default:return _0x150491;}}function Ot(_0x510ff6){var _0x50d7a4=_0x1a80fc;switch(_0x510ff6[_0x50d7a4(0x18d)]){case W[_0x50d7a4(0x287)]:case W[_0x50d7a4(0x403)]:return JSON['stringify']({'cmd':_0x510ff6[_0x50d7a4(0x18d)],'routeKey':_0x510ff6[_0x50d7a4(0x3b1)]});case W[_0x50d7a4(0x162)]:{let _0x2994ed;switch(_0x510ff6[_0x50d7a4(0x38d)][_0x50d7a4(0x28a)]){case g[_0x50d7a4(0x15b)][_0x50d7a4(0x15f)]:{_0x2994ed={'eventID':g[_0x50d7a4(0x15b)][_0x50d7a4(0x15f)],'updateCursorEvent':_0x510ff6['data'][_0x50d7a4(0x38d)]};break;}case g[_0x50d7a4(0x15b)][_0x50d7a4(0x1c4)]:{_0x2994ed={'eventID':g['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x510ff6['data'][_0x50d7a4(0x38d)]};break;}case g[_0x50d7a4(0x15b)][_0x50d7a4(0x401)]:{_0x2994ed={'eventID':g[_0x50d7a4(0x15b)][_0x50d7a4(0x401)],'joinEvent':_0x510ff6[_0x50d7a4(0x38d)][_0x50d7a4(0x38d)]};break;}case g[_0x50d7a4(0x15b)]['LIVESHARE_NEW_HOST']:{_0x2994ed={'eventID':g[_0x50d7a4(0x15b)][_0x50d7a4(0x44e)],'liveShareNewHost':_0x510ff6[_0x50d7a4(0x38d)][_0x50d7a4(0x38d)]};break;}case g[_0x50d7a4(0x15b)]['LIVESHARE_OPERATION']:{_0x2994ed={'eventID':g['CollaborationEvent'][_0x50d7a4(0x1f0)],'liveShareOperation':_0x510ff6['data']['data']};break;}case g[_0x50d7a4(0x15b)][_0x50d7a4(0x338)]:{_0x2994ed={'eventID':g[_0x50d7a4(0x15b)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x510ff6[_0x50d7a4(0x38d)]['data']};break;}case g[_0x50d7a4(0x15b)]['LIVESHARE_REQUEST_HOST']:{_0x2994ed={'eventID':g[_0x50d7a4(0x15b)][_0x50d7a4(0xfa)],'liveShareRequestHost':_0x510ff6[_0x50d7a4(0x38d)]['data']};break;}case g[_0x50d7a4(0x15b)][_0x50d7a4(0x3b3)]:{_0x2994ed={'eventID':g['CollaborationEvent'][_0x50d7a4(0x3b3)]};break;}default:_0x2994ed={'eventID':_0x510ff6[_0x50d7a4(0x38d)][_0x50d7a4(0x28a)]};}return JSON[_0x50d7a4(0x447)]({'cmd':_0x510ff6[_0x50d7a4(0x18d)],'routeKey':_0x510ff6[_0x50d7a4(0x3b1)],'collaMsg':_0x2994ed});}case W['JOIN']:return JSON['stringify']({'cmd':_0x510ff6[_0x50d7a4(0x18d)],'routeKey':_0x510ff6[_0x50d7a4(0x3b1)],'joinReq':_0x510ff6[_0x50d7a4(0x38d)]});case W[_0x50d7a4(0x1ae)]:return JSON[_0x50d7a4(0x447)]({'cmd':_0x510ff6[_0x50d7a4(0x18d)],'routeKey':_0x510ff6[_0x50d7a4(0x3b1)],'leaveReq':_0x510ff6['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Xt=Object[_0x1a80fc(0x1dd)],Zt=(_0x32c799,_0x4c6c45,_0x428e0d,_0x353fb6)=>{var _0x37b543=_0x1a80fc;for(var _0x8077c3=_0x353fb6>0x1?void 0x0:_0x353fb6?Xt(_0x4c6c45,_0x428e0d):_0x4c6c45,_0x10ee69=_0x32c799[_0x37b543(0x446)]-0x1,_0x2fe49a;_0x10ee69>=0x0;_0x10ee69--)(_0x2fe49a=_0x32c799[_0x10ee69])&&(_0x8077c3=_0x2fe49a(_0x8077c3)||_0x8077c3);return _0x8077c3;},_e=(_0x542d89,_0xc1570b)=>(_0x359b70,_0x3e06a3)=>_0xc1570b(_0x359b70,_0x3e06a3,_0x542d89);const $e=a[_0x1a80fc(0x38a)]('univer-pro.collaboration-client-socket-service');function Qt(_0xbd788d,_0x523e2d,_0x103040){var _0x5743fd=_0x1a80fc;return _0xbd788d+'/'+_0x523e2d+_0x5743fd(0x395)+_0x103040+_0x5743fd(0x2b8);}exports['CollaborationSocketService']=class extends a[_0x1a80fc(0x188)]{constructor(_0x162694,_0x1095f7,_0x1e9cb7,_0x59b75d,_0x74ac42){var _0x487e43=_0x1a80fc;super(),this['_injector']=_0x162694,this[_0x487e43(0x182)]=_0x1095f7,this[_0x487e43(0x278)]=_0x1e9cb7,this['_logService']=_0x59b75d,this[_0x487e43(0x23c)]=_0x74ac42;}['_doCreateSocket'](_0x2e1900){var _0x577f4d=_0x1a80fc;const _0x1049c5=this[_0x577f4d(0x373)][_0x577f4d(0xf9)](q['ISocketService']);if(!_0x1049c5)throw new Error(_0x577f4d(0x296));const _0x1d5e2f=_0x1049c5[_0x577f4d(0x286)](_0x2e1900);if(!_0x1d5e2f)throw new Error(_0x577f4d(0xf8));const _0x2402c8=new a[(_0x577f4d(0x11f))](),_0x2cf49d=new j[(_0x577f4d(0x3e7))]();_0x2402c8[_0x577f4d(0x33b)](_0x1d5e2f[_0x577f4d(0x432)][_0x577f4d(0x316)](_0x400b19=>_0x2cf49d[_0x577f4d(0x435)](_0x400b19))),_0x2402c8['add'](a[_0x577f4d(0x2c1)](()=>_0x2cf49d[_0x577f4d(0x204)]()));const _0x480286=new j[(_0x577f4d(0x3e7))]();_0x2402c8[_0x577f4d(0x33b)](_0x1d5e2f[_0x577f4d(0x180)][_0x577f4d(0x316)](_0x4f3045=>_0x480286['next'](_0x4f3045))),_0x2402c8[_0x577f4d(0x33b)](a[_0x577f4d(0x2c1)](()=>_0x480286['complete']()));const _0x22bae9=new j[(_0x577f4d(0x3e7))]();_0x2402c8[_0x577f4d(0x33b)](_0x1d5e2f[_0x577f4d(0x190)][_0x577f4d(0x316)](_0x24d41e=>{var _0xa8286f=_0x577f4d;const _0x6e8dfe=Rt(_0x24d41e);_0x22bae9[_0xa8286f(0x435)](_0x6e8dfe);})),_0x2402c8[_0x577f4d(0x33b)](a[_0x577f4d(0x2c1)](()=>_0x22bae9[_0x577f4d(0x204)]()));let _0xb1dbd8;const _0x2c4c61=()=>{var _0x1f6b01=_0x577f4d;_0x480286['next'](new Event(_0x1f6b01(0x3f2))),_0x2cf49d[_0x1f6b01(0x435)](new Event('connection\x20error')),_0xb1dbd8[_0x1f6b01(0x30b)]();};return _0xb1dbd8={'memberID':'','close$':_0x2cf49d[_0x577f4d(0x141)](),'error$':_0x480286[_0x577f4d(0x141)](),'open$':_0x1d5e2f[_0x577f4d(0x2ff)],'message$':_0x22bae9['asObservable'](),'send':_0x3d1f41=>{var _0x118b65=_0x577f4d;if(_0x3d1f41[_0x118b65(0x18d)]===W['INGEST']){if(_0x3d1f41[_0x118b65(0x38d)][_0x118b65(0x28a)]===g['CollaborationEvent'][_0x118b65(0x28d)]){this[_0x118b65(0x30a)](_0xb1dbd8,_0x3d1f41['data'])[_0x118b65(0x3cd)](_0x22c4cb=>{var _0x10d354=_0x118b65;this['_logService'][_0x10d354(0x1ca)](_0x22c4cb),_0x2c4c61();});return;}if(_0x3d1f41['data'][_0x118b65(0x28a)]===g['CollaborationEvent'][_0x118b65(0x1eb)]){const _0x5bc19e=_0x3d1f41[_0x118b65(0x38d)];this['_fetchMissChangesets'](_0x5bc19e)[_0x118b65(0x423)](_0x3ef2d4=>{var _0x179673=_0x118b65;_0x22bae9[_0x179673(0x435)]({'cmd':W['RECV'],'code':ae['OK'],'routeKey':_0x5bc19e[_0x179673(0x38d)][_0x179673(0x445)],'routeType':'','data':{'eventID':g[_0x179673(0x15b)][_0x179673(0x19a)],'data':{'changesets':_0x3ef2d4}}});})[_0x118b65(0x3cd)](_0x58e6da=>{var _0x8ece9a=_0x118b65;this[_0x8ece9a(0x1fd)][_0x8ece9a(0x1ca)](_0x58e6da),_0x2c4c61();});return;}}_0x1d5e2f[_0x118b65(0x148)](Ot(_0x3d1f41));},'close':()=>{var _0x1808c6=_0x577f4d;_0x1d5e2f[_0x1808c6(0x30b)](),_0x2402c8['dispose']();}},_0xb1dbd8;}async[_0x1a80fc(0x30a)](_0xc509c6,_0x379b74){var _0x2a3b7a=_0x1a80fc,_0x4511d1,_0x1108ed;const {unitType:_0x549353,unitID:_0x183309,changeset:_0x193934}=_0x379b74[_0x2a3b7a(0x38d)],_0x4ef8ca={'unitID':_0x183309,'memberID':_0xc509c6['memberID'],'type':_0x549353,'changeset':g[_0x2a3b7a(0x34d)](_0x193934)},_0x285fb9=this[_0x2a3b7a(0x278)][_0x2a3b7a(0x133)](It),_0x2b9315=this[_0x2a3b7a(0x278)][_0x2a3b7a(0x133)](Y),_0x159023=Qt((_0x1108ed=(_0x4511d1=_0x2b9315==null?void 0x0:_0x2b9315[_0x2a3b7a(0x46b)])!=null?_0x4511d1:_0x285fb9)!=null?_0x1108ed:Kt,_0x549353,_0x183309);try{await this[_0x2a3b7a(0x182)]['post'](_0x159023,{'body':_0x4ef8ca});}catch(_0x404feb){throw this[_0x2a3b7a(0x1fd)][_0x2a3b7a(0x1ca)](_0x2a3b7a(0x20d),_0x2a3b7a(0x154)),_0x404feb;}}async['_fetchMissChangesets'](_0x266bbd){var _0x393ca1=_0x1a80fc;const {unitID:_0x1c70fb,from:_0x24c4a3,to:_0x2467a1,unitType:_0x3408dc}=_0x266bbd[_0x393ca1(0x38d)];return(await this[_0x393ca1(0x23c)][_0x393ca1(0x329)]({'metadata':void 0x0},{'unitID':_0x1c70fb,'type':_0x3408dc,'from':_0x24c4a3,'to':_0x2467a1}))[_0x393ca1(0x317)];}},exports['CollaborationSocketService']=Zt([_e(0x0,a[_0x1a80fc(0x3e4)](a[_0x1a80fc(0x468)])),_e(0x1,a[_0x1a80fc(0x3e4)](q['HTTPService'])),_e(0x2,a[_0x1a80fc(0x39b)]),_e(0x3,a[_0x1a80fc(0x2d9)]),_e(0x4,g[_0x1a80fc(0x40c)])],exports['CollaborationSocketService']);const ei=_0x1a80fc(0x43d);function ti(_0x894d2b){var _0x5a9bd4=_0x1a80fc;return JSON[_0x5a9bd4(0x447)](_0x894d2b)[_0x5a9bd4(0x446)];}class Be{constructor(){var _0x179627=_0x1a80fc;A(this,'_commentUpdate$',new j[(_0x179627(0x3e7))]()),A(this,_0x179627(0x2c3),this[_0x179627(0x343)][_0x179627(0x141)]());}[_0x1a80fc(0x284)](_0x171bb0){var _0x1034ff=_0x1a80fc;this[_0x1034ff(0x343)][_0x1034ff(0x435)](_0x171bb0);}}var ii=Object[_0x1a80fc(0x1dd)],ni=(_0x919a99,_0x3f2501,_0x15e10a,_0x5a8861)=>{var _0x1aeaad=_0x1a80fc;for(var _0x4ba9d8=_0x5a8861>0x1?void 0x0:_0x5a8861?ii(_0x3f2501,_0x15e10a):_0x3f2501,_0x5a3568=_0x919a99[_0x1aeaad(0x446)]-0x1,_0x5b367d;_0x5a3568>=0x0;_0x5a3568--)(_0x5b367d=_0x919a99[_0x5a3568])&&(_0x4ba9d8=_0x5b367d(_0x4ba9d8)||_0x4ba9d8);return _0x4ba9d8;},Ke=(_0x2adeed,_0x281335)=>(_0x7ae8e6,_0x10a2d3)=>_0x281335(_0x7ae8e6,_0x10a2d3,_0x2adeed);exports[_0x1a80fc(0x209)]=class extends a['Disposable']{constructor(_0x4a9c31,_0x1cb993){var _0x5e1da4=_0x1a80fc;super(),A(this,_0x5e1da4(0x1da),new Map()),A(this,_0x5e1da4(0x221),new j[(_0x5e1da4(0x3e7))]()),(this[_0x5e1da4(0x225)]=_0x4a9c31,this[_0x5e1da4(0x2e6)]=_0x1cb993,this[_0x5e1da4(0x1f5)](j[_0x5e1da4(0x2cd)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x5e1da4(0x393)])[_0x5e1da4(0x152)](V[_0x5e1da4(0x36f)](_0x4a2974=>_0x4a2974[_0x5e1da4(0x14f)]())),this[_0x5e1da4(0x225)][_0x5e1da4(0x1f9)](a[_0x5e1da4(0x21d)][_0x5e1da4(0x252)])['pipe'](V[_0x5e1da4(0x36f)](_0x20876d=>_0x20876d[_0x5e1da4(0x14f)]())),this[_0x5e1da4(0x225)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x5e1da4(0x2e9)])[_0x5e1da4(0x152)](V[_0x5e1da4(0x36f)](_0x1e5601=>_0x1e5601[_0x5e1da4(0x14f)]())))[_0x5e1da4(0x316)](_0x1cef34=>this['_removeRoom'](_0x1cef34))));}['waitForRoom$'](_0x109215){var _0x55e68=_0x1a80fc;return this[_0x55e68(0x1da)]['has'](_0x109215)?j['of'](this[_0x55e68(0x1da)][_0x55e68(0xf9)](_0x109215)):this[_0x55e68(0x221)]['pipe'](V[_0x55e68(0x36f)](_0x413f9a=>{var _0x5d0bf7=_0x55e68;if(_0x413f9a===_0x109215)return this['_roomMembers'][_0x5d0bf7(0xf9)](_0x413f9a);}));}[_0x1a80fc(0x3fb)](_0x12afd2){var _0x5653f3=_0x1a80fc;this[_0x5653f3(0x2e6)][_0x5653f3(0x3fb)](_0x12afd2);}[_0x1a80fc(0x38f)](){var _0x1ab5fb=_0x1a80fc;return this['_userManagerService'][_0x1ab5fb(0x38f)]();}[_0x1a80fc(0x3fc)](_0x204e59,_0x203283){var _0x2cfa9d=_0x1a80fc;let _0x4397bf=this[_0x2cfa9d(0x1da)][_0x2cfa9d(0xf9)](_0x204e59);_0x4397bf||(_0x4397bf=new ri(),this[_0x2cfa9d(0x1da)][_0x2cfa9d(0x33d)](_0x204e59,_0x4397bf),this['_roomCreated$'][_0x2cfa9d(0x435)](_0x204e59)),_0x4397bf[_0x2cfa9d(0x3fc)](_0x203283);}[_0x1a80fc(0x185)](_0x58684c,_0x433d03){var _0x23ef8c=_0x1a80fc;const _0x19f2bf=this[_0x23ef8c(0x1da)][_0x23ef8c(0xf9)](_0x58684c);_0x19f2bf&&_0x19f2bf[_0x23ef8c(0x185)](_0x433d03);}['getRoom'](_0x32f9e4){var _0x4d5305=_0x1a80fc;return this[_0x4d5305(0x1da)]['get'](_0x32f9e4);}['getMember'](_0x25168d,_0x32aa63){var _0xb26a57=_0x1a80fc;const _0x4cd591=this[_0xb26a57(0x1da)][_0xb26a57(0xf9)](_0x25168d);if(_0x4cd591)return _0x4cd591[_0xb26a57(0x387)](_0x32aa63);}['_removeRoom'](_0x20a233){var _0x1edb3b=_0x1a80fc;const _0x427a61=this[_0x1edb3b(0x1da)][_0x1edb3b(0xf9)](_0x20a233);_0x427a61&&(_0x427a61[_0x1edb3b(0x174)](),this['_roomMembers'][_0x1edb3b(0x42a)](_0x20a233));}[_0x1a80fc(0x174)](){var _0x4760e3=_0x1a80fc;this[_0x4760e3(0x1da)][_0x4760e3(0x32d)](_0x87357e=>_0x87357e['dispose']()),this['_roomMembers'][_0x4760e3(0x39a)](),this[_0x4760e3(0x221)][_0x4760e3(0x204)]();}},exports['MemberService']=ni([Ke(0x0,a[_0x1a80fc(0x1d6)]),Ke(0x1,a['Inject'](a[_0x1a80fc(0x155)]))],exports[_0x1a80fc(0x209)]);class ri extends a[_0x1a80fc(0x188)]{constructor(){var _0x3e81eb=_0x1a80fc;super(...arguments),A(this,_0x3e81eb(0x411),new Map()),A(this,_0x3e81eb(0x396),new j[(_0x3e81eb(0x3cb))](this[_0x3e81eb(0x411)])),A(this,_0x3e81eb(0x3e1),this[_0x3e81eb(0x396)][_0x3e81eb(0x141)]());}['dispose'](){var _0x90412b=_0x1a80fc;this[_0x90412b(0x411)][_0x90412b(0x39a)]();}[_0x1a80fc(0x3fc)](_0x162e09){var _0x19bee0=_0x1a80fc;this['_members'][_0x19bee0(0x33d)](_0x162e09[_0x19bee0(0x420)],_0x162e09),this['_emitMembers']();}[_0x1a80fc(0x185)](_0x530df2){var _0x221472=_0x1a80fc;this[_0x221472(0x411)]['delete'](_0x530df2);}[_0x1a80fc(0x387)](_0x44b46e){var _0x257a1d=_0x1a80fc;return this[_0x257a1d(0x411)][_0x257a1d(0xf9)](_0x44b46e);}[_0x1a80fc(0x2b1)](){var _0x5e526e=_0x1a80fc;return Array[_0x5e526e(0x23e)](this['_members'][_0x5e526e(0x37d)]());}[_0x1a80fc(0x235)](){var _0x5bf37b=_0x1a80fc;this[_0x5bf37b(0x396)][_0x5bf37b(0x435)](this[_0x5bf37b(0x411)]);}}var si=Object[_0x1a80fc(0x1dd)],oi=(_0x2498e5,_0x436176,_0x40ddce,_0x598e32)=>{var _0x2e0fd5=_0x1a80fc;for(var _0x47be83=_0x598e32>0x1?void 0x0:_0x598e32?si(_0x436176,_0x40ddce):_0x436176,_0x5333e3=_0x2498e5[_0x2e0fd5(0x446)]-0x1,_0x229863;_0x5333e3>=0x0;_0x5333e3--)(_0x229863=_0x2498e5[_0x5333e3])&&(_0x47be83=_0x229863(_0x47be83)||_0x47be83);return _0x47be83;},oe=(_0x2791ae,_0x218f15)=>(_0x258705,_0x1d5618)=>_0x218f15(_0x258705,_0x1d5618,_0x2791ae),se=(_0x1f3362=>(_0x1f3362[_0x1f3362[_0x1a80fc(0x1be)]=0x0]=_0x1a80fc(0x1be),_0x1f3362[_0x1f3362[_0x1a80fc(0x303)]=0x1]=_0x1a80fc(0x303),_0x1f3362[_0x1f3362[_0x1a80fc(0x14d)]=0x2]=_0x1a80fc(0x14d),_0x1f3362[_0x1f3362[_0x1a80fc(0x12a)]=0x3]=_0x1a80fc(0x12a),_0x1f3362))(se||{});const Ye={[ae['FAIL']]:_0x1a80fc(0x117),[ae[_0x1a80fc(0x310)]]:'session.room-full',[ae[_0x1a80fc(0x40f)]]:_0x1a80fc(0x1ea),[ae[_0x1a80fc(0x265)]]:'session.room-permission-denied',[ae['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x1a80fc(0x2d2)};exports[_0x1a80fc(0x3a3)]=class extends a[_0x1a80fc(0x302)]{constructor(_0x4a78ba,_0x361d35,_0x27b669,_0x5839be,_0x319f94,_0x597787,_0x55acc1,_0x28c820,_0x55f1ad){var _0x537d80=_0x1a80fc;super(),A(this,_0x537d80(0x307),new j['BehaviorSubject'](0x0)),A(this,_0x537d80(0x417),this[_0x537d80(0x307)][_0x537d80(0x141)]()),A(this,_0x537d80(0x1e4),new j[(_0x537d80(0x3e7))]()),A(this,_0x537d80(0x463),this[_0x537d80(0x1e4)][_0x537d80(0x141)]()),A(this,_0x537d80(0x169)),A(this,_0x537d80(0x25d)),A(this,_0x537d80(0x12b)),A(this,_0x537d80(0x33e),!0x1),A(this,'_telemetryInfo',null),(this[_0x537d80(0x14e)]=_0x4a78ba,this[_0x537d80(0x1fd)]=_0x27b669,this[_0x537d80(0x278)]=_0x5839be,this[_0x537d80(0x100)]=_0x319f94,this[_0x537d80(0x454)]=_0x597787,this[_0x537d80(0x2f8)]=_0x55acc1,this[_0x537d80(0x1a5)]=_0x28c820,this[_0x537d80(0x1bb)]=_0x55f1ad,this[_0x537d80(0x33e)]=!!this[_0x537d80(0x1bb)],_0x361d35['pipe'](j[_0x537d80(0x31f)](this[_0x537d80(0x19f)]))['subscribe'](_0x490d3e=>{var _0xbfedb=_0x537d80,_0x2ba6ea;typeof _0x490d3e>'u'||(this[_0xbfedb(0x169)]=_0x490d3e,_0x490d3e?(this[_0xbfedb(0x359)](_0x490d3e),this[_0xbfedb(0x25d)]=_0x490d3e[_0xbfedb(0x190)]['subscribe'](_0x10573c=>{var _0x3bf33b=_0xbfedb;_0x10573c[_0x3bf33b(0x3b1)]===this[_0x3bf33b(0x14e)]&&this[_0x3bf33b(0x1c8)](_0x10573c);})):(this[_0xbfedb(0x452)](),this[_0xbfedb(0x307)]['next'](0x2),(_0x2ba6ea=this['_socketMessageSubscription'])==null||_0x2ba6ea[_0xbfedb(0x3c1)](),this[_0xbfedb(0x25d)]=null));}));}get[_0x1a80fc(0x27b)](){return this['_sessionStatus$']['getValue']();}['getMemberID'](){var _0x4c6a27=_0x1a80fc,_0x3224e9,_0x285bbe;return(_0x285bbe=(_0x3224e9=this[_0x4c6a27(0x169)])==null?void 0x0:_0x3224e9['memberID'])!=null?_0x285bbe:null;}[_0x1a80fc(0x174)](){var _0x3a9bfc=_0x1a80fc;super[_0x3a9bfc(0x174)](),this[_0x3a9bfc(0x19f)][_0x3a9bfc(0x435)](),this[_0x3a9bfc(0x19f)][_0x3a9bfc(0x204)]();}[_0x1a80fc(0x30b)](){var _0x4a5ac5=_0x1a80fc,_0x23fc63,_0x2bb37e;this[_0x4a5ac5(0x452)](),(_0x23fc63=this[_0x4a5ac5(0x169)])==null||_0x23fc63['send']({'cmd':W[_0x4a5ac5(0x1ae)],'data':{'roomID':this[_0x4a5ac5(0x14e)]}}),(_0x2bb37e=this['_socket'])==null||_0x2bb37e[_0x4a5ac5(0x30b)](),this[_0x4a5ac5(0x1e4)][_0x4a5ac5(0x204)](),this['_sessionStatus$'][_0x4a5ac5(0x204)](),this[_0x4a5ac5(0x174)]();}['_onCombEvent'](_0x556988){var _0x173c81=_0x1a80fc;_0x556988[_0x173c81(0x18d)]===W[_0x173c81(0x1ff)]?this[_0x173c81(0x3c2)](_0x556988):_0x556988[_0x173c81(0x18d)]===W[_0x173c81(0x198)]&&this[_0x173c81(0x116)](_0x556988);}[_0x1a80fc(0x359)](_0x1e7f9a){var _0x13b090=_0x1a80fc;this['_sessionStatus$'][_0x13b090(0x435)](0x1),_0x1e7f9a[_0x13b090(0x148)]({'cmd':W['JOIN'],'routeKey':this[_0x13b090(0x14e)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x566d93){var _0x1778a6=_0x1a80fc,_0x2bdd5c;if(_0x566d93[_0x1778a6(0x323)]in Ye){this['_collaborationUIEventService'][_0x1778a6(0x20e)]({'id':Q[_0x1778a6(0x409)],'data':Ye[_0x566d93['code']]}),this['_sessionStatus$'][_0x1778a6(0x435)](0x2);return;}this[_0x1778a6(0x307)][_0x1778a6(0x435)](0x3);const _0x178e41=(_0x2bdd5c=_0x566d93[_0x1778a6(0x38d)][_0x1778a6(0x318)][this[_0x1778a6(0x14e)]])==null?void 0x0:_0x2bdd5c[_0x1778a6(0x205)];_0x178e41&&_0x178e41[_0x1778a6(0x32d)](_0x15b49f=>this[_0x1778a6(0x454)][_0x1778a6(0x3fc)](this[_0x1778a6(0x14e)],_0x15b49f));}[_0x1a80fc(0x116)](_0x356606){var _0x22a7f2=_0x1a80fc;try{const _0x24fcab=_0x356606[_0x22a7f2(0x38d)];switch(_0x24fcab[_0x22a7f2(0x28a)]){case g[_0x22a7f2(0x15b)][_0x22a7f2(0x401)]:this[_0x22a7f2(0xff)](_0x24fcab),this[_0x22a7f2(0x1e4)][_0x22a7f2(0x435)](_0x24fcab);break;case g[_0x22a7f2(0x15b)][_0x22a7f2(0x1c4)]:this[_0x22a7f2(0x11d)](_0x24fcab),this[_0x22a7f2(0x1e4)]['next'](_0x24fcab);break;case g[_0x22a7f2(0x15b)]['CHANGESET_ACK']:case g[_0x22a7f2(0x15b)][_0x22a7f2(0x140)]:this[_0x22a7f2(0x109)](),this[_0x22a7f2(0x10d)](),this['_event$'][_0x22a7f2(0x435)](_0x24fcab);break;case g[_0x22a7f2(0x15b)][_0x22a7f2(0x1a2)]:this[_0x22a7f2(0x1fd)][_0x22a7f2(0x1ca)](_0x22a7f2(0x218)+JSON[_0x22a7f2(0x447)](_0x24fcab)),this[_0x22a7f2(0x1e4)][_0x22a7f2(0x435)](_0x24fcab);break;case g[_0x22a7f2(0x15b)][_0x22a7f2(0x2bf)]:this[_0x22a7f2(0x2f8)]['onCommentUpdate'](_0x24fcab[_0x22a7f2(0x38d)]),this[_0x22a7f2(0x1e4)]['next'](_0x24fcab);break;default:this[_0x22a7f2(0x1e4)][_0x22a7f2(0x435)](_0x24fcab);}}catch(_0x46f372){this[_0x22a7f2(0x1fd)][_0x22a7f2(0x1ca)](_0x46f372,_0x356606);}}['_onUserJoin'](_0x24f12c){var _0x5c99f9=_0x1a80fc;this[_0x5c99f9(0x454)]['updateMember'](this[_0x5c99f9(0x14e)],_0x24f12c[_0x5c99f9(0x38d)]);}[_0x1a80fc(0x11d)](_0x36c81a){var _0x19396b=_0x1a80fc;this['_memberService'][_0x19396b(0x185)](this[_0x19396b(0x14e)],_0x36c81a[_0x19396b(0x38d)]['memberID']);}async['send'](_0x22c5ef,_0x54134f){var _0x202510=_0x1a80fc;if(this[_0x202510(0x27b)]!==0x3||!this[_0x202510(0x169)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x22c5ef[_0x202510(0x28a)]===g['CollaborationEvent'][_0x202510(0x28d)]&&(this[_0x202510(0x2ef)](),this[_0x202510(0x22f)](_0x22c5ef)),this['_socket'][_0x202510(0x148)]({'cmd':W[_0x202510(0x162)],'routeKey':_0x54134f,'routeType':'','data':_0x22c5ef});}catch(_0x56dcff){this['_logService'][_0x202510(0x1ca)](_0x56dcff);}}[_0x1a80fc(0x2ef)](){var _0x3d47ac=_0x1a80fc,_0x1cb115;this[_0x3d47ac(0x12b)]=setTimeout(()=>{var _0x5cd60b=_0x3d47ac;this[_0x5cd60b(0x12b)]=null,this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x5cd60b(0x41c)]});},(_0x1cb115=this[_0x3d47ac(0x278)]['getConfig'](je))!=null?_0x1cb115:gt);}[_0x1a80fc(0x10d)](){var _0x295819=_0x1a80fc;this[_0x295819(0x12b)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x295819(0x12b)]=null);}[_0x1a80fc(0x22f)](_0x5f1225){var _0x47e6b0=_0x1a80fc;if(!this[_0x47e6b0(0x33e)])return;const {data:_0x42aa75}=_0x5f1225,{unitID:_0x1f7033,changeset:_0x103c7}=_0x42aa75,{mutations:_0x2856d8,type:_0x1b3bd7}=_0x103c7;this[_0x47e6b0(0x189)]={'unitId':_0x1f7033,'type':_0x1b3bd7,'startTime':performance[_0x47e6b0(0x18b)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x2856d8)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x2fcb86=_0x1a80fc;if(this[_0x2fcb86(0x33e)]){if(!this[_0x2fcb86(0x189)]){this[_0x2fcb86(0x1fd)]['error']('[CollaborationSession]',_0x2fcb86(0x459));return;}this[_0x2fcb86(0x189)][_0x2fcb86(0x268)]=performance[_0x2fcb86(0x18b)](),this[_0x2fcb86(0x189)][_0x2fcb86(0x37f)]=this['_telemetryInfo'][_0x2fcb86(0x268)]-this['_telemetryInfo']['startTime'],this['_telemetryService'][_0x2fcb86(0x2c9)](ei,this[_0x2fcb86(0x189)]),this['_telemetryInfo']=null;}}[_0x1a80fc(0x452)](){var _0x4c7882=_0x1a80fc;this[_0x4c7882(0x189)]=null;}},exports[_0x1a80fc(0x3a3)]=oi([oe(0x2,a['ILogService']),oe(0x3,a[_0x1a80fc(0x39b)]),oe(0x4,a[_0x1a80fc(0x3e4)](a[_0x1a80fc(0x457)])),oe(0x5,a['Inject'](exports['MemberService'])),oe(0x6,a[_0x1a80fc(0x3e4)](Be)),oe(0x7,a[_0x1a80fc(0x3e4)](te)),oe(0x8,a[_0x1a80fc(0x320)](Mt[_0x1a80fc(0x418)]))],exports[_0x1a80fc(0x3a3)]);var ai=Object[_0x1a80fc(0x1dd)],ci=(_0x355f38,_0x1be0dc,_0x54fb06,_0x3a2241)=>{var _0x4ff6c4=_0x1a80fc;for(var _0x4a353c=_0x3a2241>0x1?void 0x0:_0x3a2241?ai(_0x1be0dc,_0x54fb06):_0x1be0dc,_0x474357=_0x355f38[_0x4ff6c4(0x446)]-0x1,_0xa75a00;_0x474357>=0x0;_0x474357--)(_0xa75a00=_0x355f38[_0x474357])&&(_0x4a353c=_0xa75a00(_0x4a353c)||_0x4a353c);return _0x4a353c;},le=(_0x17cb51,_0x136a08)=>(_0xbb963c,_0x4ef285)=>_0x136a08(_0xbb963c,_0x4ef285,_0x17cb51);exports[_0x1a80fc(0x256)]=class extends a['Disposable']{constructor(_0x3ad426,_0x3fbdff,_0x8f1ba7,_0x83de77,_0x5db7ca,_0x14b606){var _0x3999b4=_0x1a80fc;super(),A(this,_0x3999b4(0x347),new j[(_0x3999b4(0x3cb))](void 0x0)),A(this,'socket$',this['_socket$'][_0x3999b4(0x141)]()),A(this,_0x3999b4(0x1cd),null),A(this,_0x3999b4(0x2e1),new Map()),A(this,_0x3999b4(0x27d),new j[(_0x3999b4(0x3cb))](se[_0x3999b4(0x1be)])),A(this,_0x3999b4(0x46d),this[_0x3999b4(0x27d)][_0x3999b4(0x141)]()),A(this,'_socketReady',!0x1),A(this,_0x3999b4(0x101)),A(this,_0x3999b4(0x231),0x0),A(this,_0x3999b4(0x3a9)),A(this,_0x3999b4(0x3b2)),(this[_0x3999b4(0x373)]=_0x3ad426,this[_0x3999b4(0x1fd)]=_0x3fbdff,this[_0x3999b4(0x278)]=_0x8f1ba7,this[_0x3999b4(0x21c)]=_0x83de77,this[_0x3999b4(0x1a5)]=_0x5db7ca,this[_0x3999b4(0x237)]=_0x14b606,this['_listenToNetworkCondition']());}get[_0x1a80fc(0x169)](){var _0x545d65=_0x1a80fc;return this[_0x545d65(0x347)][_0x545d65(0x388)]();}[_0x1a80fc(0x160)](){var _0x2ada3a=_0x1a80fc;this[_0x2ada3a(0x237)]&&this[_0x2ada3a(0x1f5)](this[_0x2ada3a(0x237)][_0x2ada3a(0x3a6)][_0x2ada3a(0x316)](_0x703b06=>{var _0x505817=_0x2ada3a;_0x703b06&&!this[_0x505817(0x169)]&&this[_0x505817(0x3b4)](),_0x703b06||this[_0x505817(0x41b)]();}));}[_0x1a80fc(0x174)](){var _0x2a9ca6=_0x1a80fc;super[_0x2a9ca6(0x174)](),this[_0x2a9ca6(0x2a7)](),this[_0x2a9ca6(0x114)](),this[_0x2a9ca6(0x1bc)](),this['_sessions'][_0x2a9ca6(0x32d)](_0x1472c6=>_0x1472c6[_0x2a9ca6(0x174)]()),this[_0x2a9ca6(0x2e1)][_0x2a9ca6(0x39a)](),this[_0x2a9ca6(0x27d)][_0x2a9ca6(0x204)]();}async[_0x1a80fc(0x26b)](_0x5d94dc){var _0x37bff8=_0x1a80fc;if(this['_sessions']['has'](_0x5d94dc))return this[_0x37bff8(0x2e1)][_0x37bff8(0xf9)](_0x5d94dc);this[_0x37bff8(0x2e2)]();const _0x339857=this['_injector'][_0x37bff8(0x118)](exports[_0x37bff8(0x3a3)],_0x5d94dc,this[_0x37bff8(0x347)][_0x37bff8(0x141)]());return this[_0x37bff8(0x2e1)]['set'](_0x5d94dc,_0x339857),_0x339857;}['closeSession'](_0x255ab3){var _0x5bb062=_0x1a80fc,_0x243e3d;const _0x15d620=this['_sessions'][_0x5bb062(0xf9)](_0x255ab3);_0x15d620&&(this[_0x5bb062(0x2e1)][_0x5bb062(0x42a)](_0x255ab3),_0x15d620[_0x5bb062(0x30b)]()),this['_sessions'][_0x5bb062(0x15e)]||(_0x243e3d=this[_0x5bb062(0x169)])==null||_0x243e3d[_0x5bb062(0x30b)]();}[_0x1a80fc(0x3b4)](){var _0xa9f130=_0x1a80fc;this[_0xa9f130(0x231)]=0x0,this[_0xa9f130(0x2a7)](),this[_0xa9f130(0x132)]();}[_0x1a80fc(0x2a7)](){var _0x31188d=_0x1a80fc;this[_0x31188d(0x101)]!=null&&(clearTimeout(this[_0x31188d(0x101)]),this[_0x31188d(0x101)]=null);}async[_0x1a80fc(0x2c2)](){var _0x130683=_0x1a80fc,_0x10360b,_0x25b657;const _0x2ff819=this[_0x130683(0x278)][_0x130683(0x133)](St),_0x367f43=this['_configService'][_0x130683(0x133)](Y),_0x37d82f=(_0x25b657=(_0x10360b=_0x367f43==null?void 0x0:_0x367f43[_0x130683(0x3be)])!=null?_0x10360b:_0x2ff819)!=null?_0x25b657:ft,_0x110448=await this[_0x130683(0x21c)][_0x130683(0x286)](_0x37d82f);return this[_0x130683(0x1cd)]=_0x110448,_0x110448;}async[_0x1a80fc(0x2e2)](){var _0x26fb54=_0x1a80fc,_0x94a337,_0x4ceee7;try{const _0x365a5c=(_0x4ceee7=(_0x94a337=this[_0x26fb54(0x169)])!=null?_0x94a337:this[_0x26fb54(0x1cd)])!=null?_0x4ceee7:await this[_0x26fb54(0x2c2)]();if(_0x365a5c){const _0x33d3e0=_0x365a5c[_0x26fb54(0x148)];_0x365a5c['send']=_0x1d0817=>(this[_0x26fb54(0x229)](),_0x33d3e0[_0x26fb54(0x45a)](_0x365a5c,[_0x1d0817])),_0x365a5c[_0x26fb54(0x190)][_0x26fb54(0x316)](_0x139f4a=>this['_onMessage'](_0x365a5c,_0x139f4a)),_0x365a5c[_0x26fb54(0x180)][_0x26fb54(0x152)](V[_0x26fb54(0x3d1)](0x1))[_0x26fb54(0x316)](_0x432156=>this[_0x26fb54(0x1fd)][_0x26fb54(0x1ca)]('[CollaborationSessionService]:\x20socket\x20error',_0x432156)),_0x365a5c[_0x26fb54(0x2ff)][_0x26fb54(0x152)](V[_0x26fb54(0x3d1)](0x1))['subscribe'](()=>{var _0x3ee0c6=_0x26fb54;this[_0x3ee0c6(0x1dc)](_0x365a5c);}),_0x365a5c[_0x26fb54(0x432)]['pipe'](V[_0x26fb54(0x3d1)](0x1))['subscribe'](_0x49b6b9=>{var _0x49fef6=_0x26fb54;this['_logService'][_0x49fef6(0x227)](_0x49fef6(0x20b),_0x49fef6(0x421),_0x49b6b9),this['_onConnectionFailed']();});}}catch(_0x29fce3){this[_0x26fb54(0x1fd)]['error'](_0x29fce3),this[_0x26fb54(0x429)]();}}[_0x1a80fc(0x1dc)](_0x43738e){var _0x5a76d3=_0x1a80fc;this[_0x5a76d3(0x1fd)]['debug'](_0x5a76d3(0x20b),_0x5a76d3(0x3e9)),_0x43738e[_0x5a76d3(0x148)]({'cmd':W[_0x5a76d3(0x403)]}),this['_rescheduleHeartbeat']();}[_0x1a80fc(0x41b)](){var _0x1e69cc=_0x1a80fc;this[_0x1e69cc(0x306)]=!0x1,this['_candidateSocket']=null,this[_0x1e69cc(0x27d)][_0x1e69cc(0x435)](se[_0x1e69cc(0x14d)]),this[_0x1e69cc(0x347)][_0x1e69cc(0x435)](null),this[_0x1e69cc(0x114)](),this[_0x1e69cc(0x1bc)]();}[_0x1a80fc(0x429)](){var _0xb47629=_0x1a80fc,_0x9f03d;this[_0xb47629(0x41b)](),this['_retryCount']<((_0x9f03d=this[_0xb47629(0x278)]['getConfig'](mt))!=null?_0x9f03d:Vt)?(this[_0xb47629(0x1a5)]['emitEvent']({'id':Q[_0xb47629(0x28c)]}),this[_0xb47629(0x132)]()):this[_0xb47629(0x1a5)][_0xb47629(0x20e)]({'id':Q[_0xb47629(0x3d7)]});}[_0x1a80fc(0x132)](){var _0x41beb7=_0x1a80fc,_0x186f76;const _0x14cb51=this[_0x41beb7(0x231)],_0x285861=this[_0x41beb7(0x278)][_0x41beb7(0x133)](Y),_0x22eec1=_0x14cb51===0x0?0x0:((_0x186f76=_0x285861==null?void 0x0:_0x285861[_0x41beb7(0x406)])!=null?_0x186f76:Ft)*0x2**_0x14cb51;this[_0x41beb7(0x101)]=setTimeout(()=>{var _0xe5314f=_0x41beb7;clearTimeout(this[_0xe5314f(0x101)]),this[_0xe5314f(0x101)]=null,this[_0xe5314f(0x2e2)]();},_0x22eec1),this[_0x41beb7(0x231)]+=0x1;}[_0x1a80fc(0x30d)](_0x2dc1b1,_0x27ea27){var _0x5be75d=_0x1a80fc;const {cmd:_0x58f1a2}=_0x27ea27;_0x58f1a2===W[_0x5be75d(0x403)]&&!this['_socketReady']&&(_0x2dc1b1[_0x5be75d(0x420)]=_0x27ea27['data'][_0x5be75d(0x420)],this[_0x5be75d(0x347)][_0x5be75d(0x435)](_0x2dc1b1),this[_0x5be75d(0x27d)][_0x5be75d(0x435)](se[_0x5be75d(0x12a)]),this[_0x5be75d(0x306)]=!0x0,this[_0x5be75d(0x1cd)]=null),_0x58f1a2===W[_0x5be75d(0x287)]&&this[_0x5be75d(0x114)](),this[_0x5be75d(0x229)]();}['_rescheduleHeartbeat'](){var _0x2583d4=_0x1a80fc,_0x387b9d;this[_0x2583d4(0x1bc)](),this[_0x2583d4(0x3a9)]=setTimeout(()=>this[_0x2583d4(0x106)](),(_0x387b9d=this[_0x2583d4(0x278)][_0x2583d4(0x133)](pt))!=null?_0x387b9d:Bt);}[_0x1a80fc(0x106)](){var _0x52a212=_0x1a80fc;this[_0x52a212(0x169)][_0x52a212(0x148)]({'cmd':W['HEARTBEAT']}),this[_0x52a212(0x44a)]();}['_waitForHeartbeatResponse'](){var _0x1085ea=_0x1a80fc,_0x35d763;this[_0x1085ea(0x3b2)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x35d763=this['_configService'][_0x1085ea(0x133)](je))!=null?_0x35d763:gt);}['_clearHeartbeatTimer'](){var _0x2ac5ca=_0x1a80fc;this[_0x2ac5ca(0x3a9)]!=null&&(clearTimeout(this[_0x2ac5ca(0x3a9)]),this[_0x2ac5ca(0x3a9)]=null);}[_0x1a80fc(0x114)](){var _0x3561b0=_0x1a80fc;this[_0x3561b0(0x3b2)]!=null&&(clearTimeout(this[_0x3561b0(0x3b2)]),this['_timeoutTimer']=null);}},exports[_0x1a80fc(0x256)]=ci([le(0x0,a[_0x1a80fc(0x3e4)](a[_0x1a80fc(0x468)])),le(0x1,a['ILogService']),le(0x2,a[_0x1a80fc(0x39b)]),le(0x3,$e),le(0x4,a[_0x1a80fc(0x3e4)](te)),le(0x5,a[_0x1a80fc(0x320)](bt))],exports[_0x1a80fc(0x256)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0x1a80fc(0x242)]((n+0x100)[_0x1a80fc(0x159)](0x10)[_0x1a80fc(0x2f7)](0x1));function hi(_0x534e53,_0x3595f7=0x0){return(G[_0x534e53[_0x3595f7+0x0]]+G[_0x534e53[_0x3595f7+0x1]]+G[_0x534e53[_0x3595f7+0x2]]+G[_0x534e53[_0x3595f7+0x3]]+'-'+G[_0x534e53[_0x3595f7+0x4]]+G[_0x534e53[_0x3595f7+0x5]]+'-'+G[_0x534e53[_0x3595f7+0x6]]+G[_0x534e53[_0x3595f7+0x7]]+'-'+G[_0x534e53[_0x3595f7+0x8]]+G[_0x534e53[_0x3595f7+0x9]]+'-'+G[_0x534e53[_0x3595f7+0xa]]+G[_0x534e53[_0x3595f7+0xb]]+G[_0x534e53[_0x3595f7+0xc]]+G[_0x534e53[_0x3595f7+0xd]]+G[_0x534e53[_0x3595f7+0xe]]+G[_0x534e53[_0x3595f7+0xf]])['toLowerCase']();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x31731f=_0x1a80fc;if(!Ue){if(typeof crypto>'u'||!crypto[_0x31731f(0x2fd)])throw new Error(_0x31731f(0x2dc));Ue=crypto[_0x31731f(0x2fd)][_0x31731f(0x1a7)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x1a80fc(0x355)]&&crypto['randomUUID'][_0x1a80fc(0x1a7)](crypto),qe={'randomUUID':ui};function di(_0x56e6c3,_0x5c8e87,_0x5ce9bb){var _0x540981=_0x1a80fc,_0x4455da,_0x380598,_0x3a7737;if(qe[_0x540981(0x355)]&&!_0x56e6c3)return qe[_0x540981(0x355)]();_0x56e6c3=_0x56e6c3||{};const _0x585ac1=(_0x3a7737=(_0x380598=_0x56e6c3['random'])!=null?_0x380598:(_0x4455da=_0x56e6c3['rng'])==null?void 0x0:_0x4455da['call'](_0x56e6c3))!=null?_0x3a7737:_i();if(_0x585ac1[_0x540981(0x446)]<0x10)throw new Error(_0x540981(0x43e));return _0x585ac1[0x6]=_0x585ac1[0x6]&0xf|0x40,_0x585ac1[0x8]=_0x585ac1[0x8]&0x3f|0x80,hi(_0x585ac1);}const z=a[_0x1a80fc(0x38a)]('collaboration-client.local-cache-service');function vi(_0x99f8dd){var _0x5edf33=_0x1a80fc;return _0x5edf33(0x17f)+_0x99f8dd;}var Si=Object[_0x1a80fc(0x1dd)],fi=(_0x24b682,_0x5282bf,_0x36d647,_0x4b630d)=>{var _0x5ab879=_0x1a80fc;for(var _0x3a9c05=_0x4b630d>0x1?void 0x0:_0x4b630d?Si(_0x5282bf,_0x36d647):_0x5282bf,_0x82c3b6=_0x24b682[_0x5ab879(0x446)]-0x1,_0x32550e;_0x82c3b6>=0x0;_0x82c3b6--)(_0x32550e=_0x24b682[_0x82c3b6])&&(_0x3a9c05=_0x32550e(_0x3a9c05)||_0x3a9c05);return _0x3a9c05;},Ae=(_0x1687cb,_0x48f9a2)=>(_0x42f997,_0x593628)=>_0x48f9a2(_0x42f997,_0x593628,_0x1687cb);function pi(_0x5a6b54){var _0x2e846b=_0x1a80fc;const {unitID:_0x4b5fcd,mutations:_0x2e84b3}=_0x5a6b54;return{'unitId':_0x4b5fcd,'subUnitId':_0x2e84b3[0x0][_0x2e846b(0x371)][_0x2e846b(0x299)]};}exports[_0x1a80fc(0x22c)]=class{constructor(_0x254188,_0x2dac92,_0x260379){var _0xe9f19e=_0x1a80fc;this[_0xe9f19e(0x373)]=_0x254188,this[_0xe9f19e(0x34b)]=_0x2dac92,this[_0xe9f19e(0x42e)]=_0x260379;}[_0x1a80fc(0x367)](_0x2e67bb){var _0x439697=_0x1a80fc,_0x31daf0,_0x12725d,_0x4321bb,_0x26df05;const _0x409b0d=this[_0x439697(0x373)][_0x439697(0xf9)](Z['SheetsSelectionsService']),{unitId:_0x46bd83,subUnitId:_0x16feda}=pi(_0x2e67bb),_0x292cba=_0x409b0d==null?void 0x0:_0x409b0d[_0x439697(0x1b2)](_0x46bd83)[_0x439697(0x44c)](),_0x5bd145=(_0x12725d=(_0x31daf0=this['_instanceService'][_0x439697(0xf5)](_0x46bd83))==null?void 0x0:_0x31daf0[_0x439697(0x2ae)]())==null?void 0x0:_0x12725d['getSheetId']();if(_0x292cba[_0x439697(0x446)]===0x0||!_0x46bd83||!_0x16feda)return;const _0x1b7a16=[{'id':Z[_0x439697(0x211)]['id'],'params':{'unitId':_0x46bd83,'subUnitId':_0x5bd145,'selections':a[_0x439697(0x2d7)]['deepClone'](_0x292cba)}}],_0x5d3874=this[_0x439697(0x34b)][_0x439697(0x1c7)](_0x2e67bb,_0x1b7a16);if(!g['isTransformMutationsWithChangesetSuccess'](_0x5d3874))throw _0x5d3874[_0x439697(0x1ca)];const _0x1c34cf=(_0x26df05=(_0x4321bb=_0x5d3874[_0x439697(0x441)][0x0])==null?void 0x0:_0x4321bb[_0x439697(0x371)])==null?void 0x0:_0x26df05[_0x439697(0x3d6)];if(Array['isArray'](_0x1c34cf)&&_0x1c34cf[_0x439697(0x446)]){if(_0x1c34cf[_0x439697(0x446)]===_0x1b7a16[0x0][_0x439697(0x371)][_0x439697(0x3d6)][_0x439697(0x446)]&&_0x1c34cf[_0x439697(0x1a8)]((_0x1ba985,_0x13a9aa)=>a['Rectangle'][_0x439697(0x269)](_0x1ba985[_0x439697(0x224)],_0x1b7a16[0x0]['params'][_0x439697(0x3d6)][_0x13a9aa][_0x439697(0x224)])))return;this[_0x439697(0x373)]['get'](a['ICommandService'])[_0x439697(0x44d)](Z['SetSelectionsOperation']['id'],{'unitId':_0x46bd83,'subUnitId':_0x5bd145,'selections':_0x1c34cf});}}},exports[_0x1a80fc(0x22c)]=fi([Ae(0x0,a[_0x1a80fc(0x3e4)](a[_0x1a80fc(0x468)])),Ae(0x1,g[_0x1a80fc(0x105)]),Ae(0x2,a[_0x1a80fc(0x1d6)])],exports[_0x1a80fc(0x22c)]);const ve=a[_0x1a80fc(0x38a)](_0x1a80fc(0x3c5));var Fe=(_0x3f6df2=>(_0x3f6df2[_0x3f6df2[_0x1a80fc(0x126)]=0x0]=_0x1a80fc(0x126),_0x3f6df2[_0x3f6df2[_0x1a80fc(0x2ed)]=0x1]='OTHER_CLIENTS_EDITING',_0x3f6df2))(Fe||{});const gi=new Set([Z[_0x1a80fc(0x2e3)]['id']]);function ze(_0x5d40ca,_0xfcc8cd,_0x47c9d4,_0x3be88f,_0x4d85af){var _0x24ae21=_0x1a80fc,_0x45e23e,_0x220d2c,_0x393854,_0x155c0b;const _0x50878a=[];for(const _0x56be9d of _0x5d40ca)if(gi[_0x24ae21(0x270)](_0x56be9d['id'])){if(_0x50878a[_0x24ae21(0x446)]>0x0)break;_0x50878a[_0x24ae21(0x242)](_0x56be9d);break;}else _0x50878a['push'](_0x56be9d);const _0x14a14d=(_0x220d2c=(_0x45e23e=_0x4d85af[_0x24ae21(0x38f)]())==null?void 0x0:_0x45e23e[_0x24ae21(0x37b)])!=null?_0x220d2c:_0x24ae21(0x18f),_0x10fe1e=(_0x155c0b=(_0x393854=_0x4d85af['getCurrentUser']())==null?void 0x0:_0x393854[_0x24ae21(0x420)])!=null?_0x155c0b:_0x24ae21(0x18f);return{'changeset':{'unitID':_0xfcc8cd,'type':g[_0x24ae21(0x312)](_0x47c9d4[_0x24ae21(0x3f5)](_0xfcc8cd)),'baseRev':_0x3be88f[_0x24ae21(0x103)](_0xfcc8cd),'revision':0x0,'userID':_0x14a14d,'memberID':_0x10fe1e,'mutations':_0x50878a},'pendingMutations':_0x5d40ca[_0x24ae21(0x2f7)](_0x50878a[_0x24ae21(0x446)])};}function mi(_0x217a46,_0x473c0f,_0x5613d5,_0x83e377,_0x1ace18){var _0x5abbd8=_0x1a80fc,_0x89ab3c,_0x1141f9,_0x5583f8,_0x43c58d;const _0x7b8e2b=[_0x217a46[_0x5abbd8(0x290)]((_0x2eaa0e,_0x419573)=>{var _0x448579=_0x5abbd8,_0x17506f;const {id:_0x3f19f4}=_0x2eaa0e,{id:_0x947c56,type:_0x4fc15e}=_0x419573,_0x7bb6a6=(_0x17506f=_0x2eaa0e[_0x448579(0x371)])!=null?_0x17506f:{'actions':null},_0xc2b8c6=_0x419573['params'];if(_0x3f19f4&&_0x3f19f4!==_0x947c56)throw new Error(_0x448579(0x23a)+_0x3f19f4+'\x20-\x20'+_0x947c56+'.');return{..._0x2eaa0e,'id':_0x947c56,'type':_0x4fc15e,'params':{'unitId':_0xc2b8c6[_0x448579(0x3aa)],'textRanges':_0xc2b8c6[_0x448579(0x271)],'actions':a['JSONX'][_0x448579(0x1e1)](_0x7bb6a6[_0x448579(0x2b0)],_0xc2b8c6['actions'])}};},{})],_0x30cbd8=(_0x1141f9=(_0x89ab3c=_0x1ace18['getCurrentUser']())==null?void 0x0:_0x89ab3c[_0x5abbd8(0x37b)])!=null?_0x1141f9:_0x5abbd8(0x18f),_0x341769=(_0x43c58d=(_0x5583f8=_0x1ace18[_0x5abbd8(0x38f)]())==null?void 0x0:_0x5583f8['memberID'])!=null?_0x43c58d:'unknown';return{'changeset':{'unitID':_0x473c0f,'type':g[_0x5abbd8(0x312)](_0x5613d5[_0x5abbd8(0x3f5)](_0x473c0f)),'baseRev':_0x83e377['getCurrentRevOfUnit'](_0x473c0f),'revision':0x0,'userID':_0x30cbd8,'memberID':_0x341769,'mutations':_0x7b8e2b},'pendingMutations':[]};}function yt(_0x42e523,_0x30244d){var _0x8797f2=_0x1a80fc;const _0x2831b3=new j[(_0x8797f2(0x32a))](0x1);return setTimeout(()=>_0x2831b3[_0x8797f2(0x435)](_0x30244d),_0x42e523),_0x2831b3[_0x8797f2(0x141)]()['pipe'](j[_0x8797f2(0x3d1)](0x1));}const Ii={'id':Z[_0x1a80fc(0x142)]['id'],'type':a[_0x1a80fc(0x2d1)]['MUTATION'],'params':{}};var Ei=Object[_0x1a80fc(0x1dd)],ce=(_0x4f0a83,_0x2c7ca4,_0x351a44,_0x4d3ab6)=>{for(var _0xf22129=_0x4d3ab6>0x1?void 0x0:_0x4d3ab6?Ei(_0x2c7ca4,_0x351a44):_0x2c7ca4,_0x3a1f5e=_0x4f0a83['length']-0x1,_0x1ddb94;_0x3a1f5e>=0x0;_0x3a1f5e--)(_0x1ddb94=_0x4f0a83[_0x3a1f5e])&&(_0xf22129=_0x1ddb94(_0xf22129)||_0xf22129);return _0xf22129;},w=(_0x12afd5,_0x512d37)=>(_0x5ce0bc,_0xd1a52)=>_0x512d37(_0x5ce0bc,_0xd1a52,_0x12afd5),Ve=(_0x2ff01d=>(_0x2ff01d['NOT_COLLAB']=_0x1a80fc(0x29d),_0x2ff01d[_0x1a80fc(0x12f)]=_0x1a80fc(0x26d),_0x2ff01d[_0x1a80fc(0x272)]=_0x1a80fc(0x262),_0x2ff01d['AWAITING']=_0x1a80fc(0x42d),_0x2ff01d[_0x1a80fc(0x156)]='awaiting_with_pending',_0x2ff01d[_0x1a80fc(0x2da)]=_0x1a80fc(0x3a1),_0x2ff01d['CONFLICT']='conflict',_0x2ff01d[_0x1a80fc(0x14d)]=_0x1a80fc(0x3a2),_0x2ff01d))(Ve||{});const Nt=0xea60;class he{constructor(_0xadb7d0,_0x217f18,_0x4e02de,_0x3bbbd5,_0x5c397c,_0x4b79bd,_0x471ccb,_0x484208,_0x57efde){var _0x58695d=_0x1a80fc;A(this,'_awaitingChangeset',null),A(this,'_pendingMutations',[]),(this['unitID']=_0xadb7d0,this['type']=_0x217f18,this[_0x58695d(0x45b)]=_0x5c397c,this[_0x58695d(0x25a)]=_0x4b79bd,this[_0x58695d(0x228)]=_0x471ccb,this[_0x58695d(0x207)]=_0x484208,this['_localCacheService']=_0x57efde,this[_0x58695d(0x16f)]=_0x4e02de,this[_0x58695d(0x25b)]=_0x3bbbd5);}[_0x1a80fc(0x3da)](_0x399b71){var _0x2ed4f8=_0x1a80fc;const _0x83d9b4=this[_0x2ed4f8(0x207)]['getCurrentRevOfUnit'](this['unitID']);return _0x399b71[_0x2ed4f8(0x448)]>_0x83d9b4+0x1?(this[_0x2ed4f8(0x45b)][_0x2ed4f8(0x1f6)]({'from':_0x83d9b4,'to':_0x399b71[_0x2ed4f8(0x448)]-0x1}),!0x0):!0x1;}[_0x1a80fc(0x1c2)](_0x5e6be4){var _0xd3dfa0=_0x1a80fc;this[_0xd3dfa0(0x228)][_0xd3dfa0(0x19c)](this[_0xd3dfa0(0x445)],_0x5e6be4);}['_transformSelections'](_0xb481c5){var _0x644cd=_0x1a80fc,_0x9d3062,_0x2d1ccc;(_0x2d1ccc=(_0x9d3062=this['_handler'])[_0x644cd(0x3b6)])==null||_0x2d1ccc[_0x644cd(0x408)](_0x9d3062,_0xb481c5);}[_0x1a80fc(0x22a)](_0xc72d2f){var _0xb1a4de=_0x1a80fc,_0x20a7a0,_0xb5e5ec;return(_0xb5e5ec=(_0x20a7a0=this[_0xb1a4de(0x45b)])[_0xb1a4de(0x251)])==null?void 0x0:_0xb5e5ec['call'](_0x20a7a0,_0xc72d2f);}[_0x1a80fc(0x200)](_0x51db64){var _0x36c7ad=_0x1a80fc,_0x417403,_0xd5c05d;return(_0xd5c05d=(_0x417403=this['_handler'])['onTransformState'])==null?void 0x0:_0xd5c05d[_0x36c7ad(0x408)](_0x417403,_0x51db64);}['_transformRemoteChangesetByIMECache'](_0x3839d6){var _0x1643f4=_0x1a80fc,_0x15c2f7,_0x138edb,_0x20e094;return(_0x20e094=(_0x138edb=(_0x15c2f7=this[_0x1643f4(0x45b)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x138edb['call'](_0x15c2f7,_0x3839d6))!=null?_0x20e094:_0x3839d6;}['_transformRemoteChangesetByStateCache'](_0x3b35a8){var _0x1f7343=_0x1a80fc,_0x41a4df,_0x1dcaa3,_0x301e2c;return(_0x301e2c=(_0x1dcaa3=(_0x41a4df=this[_0x1f7343(0x45b)])[_0x1f7343(0x3e0)])==null?void 0x0:_0x1dcaa3[_0x1f7343(0x408)](_0x41a4df,_0x3b35a8))!=null?_0x301e2c:_0x3b35a8;}['_syncEditingCollabCursor'](_0x59ddd3){var _0x319547=_0x1a80fc,_0x1950b4,_0x1e9439;if(this[_0x319547(0x2ad)]===X[_0x319547(0x252)]){const {unitID:_0x27f027,mutations:_0x4d60ad,memberID:_0x219c37}=_0x59ddd3,_0x7bb463=_0x4d60ad[0x0][_0x319547(0x371)][_0x319547(0x271)];Array[_0x319547(0x46c)](_0x7bb463)&&_0x7bb463['length']>0x0&&((_0x1e9439=(_0x1950b4=this[_0x319547(0x45b)])[_0x319547(0x43b)])==null||_0x1e9439[_0x319547(0x408)](_0x1950b4,{'unitID':_0x27f027,'memberID':_0x219c37,'textRanges':_0x7bb463}));}}['_updateLocalCache'](){var _0x1bd9b7=_0x1a80fc,_0x21b986;(_0x21b986=this[_0x1bd9b7(0x298)])==null||_0x21b986[_0x1bd9b7(0x364)](this[_0x1bd9b7(0x445)],this[_0x1bd9b7(0x2ad)],this[_0x1bd9b7(0x16f)],this[_0x1bd9b7(0x25b)]);}['_getCurrentRevision'](){var _0x16b846=_0x1a80fc;return this[_0x16b846(0x207)][_0x16b846(0x103)](this[_0x16b846(0x445)]);}[_0x1a80fc(0x21a)](){var _0x539493=_0x1a80fc;this[_0x539493(0x207)][_0x539493(0x3d2)](this[_0x539493(0x445)]);}[_0x1a80fc(0x128)](_0x493b14){var _0x3fc7a2=_0x1a80fc,_0x6822e8;let _0x2a671f=this[_0x3fc7a2(0x2b2)](_0x493b14);_0x2a671f=this['_transformRemoteChangesetByStateCache'](_0x2a671f);const _0x2d301d=a[_0x3fc7a2(0x430)](_0x2a671f[_0x3fc7a2(0x361)],this[_0x3fc7a2(0x25a)],{'fromCollab':!0x0});if(!_0x2d301d[_0x3fc7a2(0x348)])throw _0x2d301d['error']instanceof Error?_0x2d301d[_0x3fc7a2(0x1ca)]:new Error((_0x6822e8=_0x2d301d[_0x3fc7a2(0x1ca)])!=null?_0x6822e8:'[CollaborationState]:\x20apply\x20error!');this[_0x3fc7a2(0x22a)](_0x2a671f),this['_transformStateCache'](_0x2a671f),this[_0x3fc7a2(0x1c2)](_0x493b14),this[_0x3fc7a2(0x179)](_0x2a671f),this[_0x3fc7a2(0x16e)](_0x2a671f),this[_0x3fc7a2(0x21a)]();}}exports[_0x1a80fc(0x28e)]=class extends he{constructor(_0x1836f8,_0x2b0e55,_0x52de10,_0x3843cd,_0x265a53,_0x57b6fa,_0x508a44,_0x4c1456,_0x2893aa,_0x2eebe5){var _0x25e053=_0x1a80fc;super(_0x1836f8,_0x2b0e55,null,[],_0x52de10,_0x508a44,_0x57b6fa,_0x3843cd,_0x2eebe5),A(this,_0x25e053(0x108),_0x25e053(0x26d)),(this['_injector']=_0x265a53,this['_logService']=_0x4c1456,this[_0x25e053(0x34b)]=_0x2893aa,this[_0x25e053(0x412)]=_0x2eebe5);}[_0x1a80fc(0x350)](_0x36fb63){var _0x54c72b=_0x1a80fc;const _0x3c12aa=this[_0x54c72b(0x373)][_0x54c72b(0x118)](exports[_0x54c72b(0x3a0)],this[_0x54c72b(0x445)],this[_0x54c72b(0x2ad)],[_0x36fb63],this['_handler']);return _0x3c12aa[_0x54c72b(0x24d)](),_0x3c12aa['_updateLocalCache'](),_0x3c12aa;}[_0x1a80fc(0x45e)](_0x164187){var _0x26ffc5=_0x1a80fc;if(this[_0x26ffc5(0x3da)](_0x164187))return this[_0x26ffc5(0x373)]['createInstance'](exports[_0x26ffc5(0x33c)],this[_0x26ffc5(0x445)],this[_0x26ffc5(0x2ad)],null,[],null,[_0x164187],this[_0x26ffc5(0x45b)]);try{const _0x6047fd=this[_0x26ffc5(0x34b)][_0x26ffc5(0x1c7)](_0x164187,[Ii]);if(g[_0x26ffc5(0x1b9)](_0x6047fd)){const {c1Prime:_0x3f9efe}=_0x6047fd;return this['_executeRemoteChangeset'](_0x3f9efe),this;}throw _0x6047fd[_0x26ffc5(0x1ca)];}catch(_0x559986){return this[_0x26ffc5(0x1fd)]['error'](_0x559986),this[_0x26ffc5(0x16d)](!0x1);}}[_0x1a80fc(0x16d)](_0x431736){var _0x57fd0d=_0x1a80fc;return this[_0x57fd0d(0x373)][_0x57fd0d(0x118)](exports['ConflictState'],this[_0x57fd0d(0x445)],this[_0x57fd0d(0x2ad)],null,[],this[_0x57fd0d(0x45b)],_0x431736);}['onRemoteAck'](){var _0x52fb7d=_0x1a80fc;throw new Error(_0x52fb7d(0x157));}[_0x1a80fc(0x281)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x1a80fc(0x11e)](){return this;}['toggleOffline'](){var _0x580882=_0x1a80fc;return this[_0x580882(0x373)]['createInstance'](exports[_0x580882(0x25f)],this[_0x580882(0x445)],this[_0x580882(0x2ad)],null,[],this[_0x580882(0x45b)]);}[_0x1a80fc(0x2f0)](){return this;}['resend'](){var _0x35352d=_0x1a80fc;throw new Error(_0x35352d(0x3ed));}[_0x1a80fc(0x289)](){var _0x149d1b=_0x1a80fc;const _0x3bfd9f=this['_revisionService'][_0x149d1b(0x103)](this[_0x149d1b(0x445)]);return this[_0x149d1b(0x45b)][_0x149d1b(0x1f6)]({'from':_0x3bfd9f,'to':0x0}),this['_injector'][_0x149d1b(0x118)](exports[_0x149d1b(0x33c)],this[_0x149d1b(0x445)],this['type'],null,[],null,[],this[_0x149d1b(0x45b)]);}},exports[_0x1a80fc(0x28e)]=ce([w(0x3,a[_0x1a80fc(0x3e4)](g[_0x1a80fc(0x12e)])),w(0x4,a['Inject'](a['Injector'])),w(0x5,a[_0x1a80fc(0x378)]),w(0x6,a['ICommandService']),w(0x7,a[_0x1a80fc(0x2d9)]),w(0x8,g[_0x1a80fc(0x105)]),w(0x9,a['Optional'](z))],exports[_0x1a80fc(0x28e)]),exports[_0x1a80fc(0x3a0)]=class extends he{constructor(_0x19349e,_0x36035c,_0x1e26b7,_0x43b8dd,_0x33da8e,_0x4ca22d,_0x53da66,_0x36a320,_0x5d0be1,_0xa5ab09,_0x13dac8,_0x17479e,_0x1be159,_0x560701){var _0x9d074a=_0x1a80fc;super(_0x19349e,_0x36035c,null,_0x1e26b7,_0x43b8dd,_0x5d0be1,_0x1be159,_0x4ca22d,_0x560701),A(this,'status',_0x9d074a(0x262)),A(this,_0x9d074a(0x351),null),A(this,_0x9d074a(0x196),null),(this['_injector']=_0x33da8e,this[_0x9d074a(0x454)]=_0x53da66,this[_0x9d074a(0x1fd)]=_0x36a320,this[_0x9d074a(0x278)]=_0xa5ab09,this['_transformService']=_0x13dac8,this[_0x9d074a(0x225)]=_0x17479e);}[_0x1a80fc(0x350)](_0xe7b549){var _0x4e57d0=_0x1a80fc;return this[_0x4e57d0(0x25b)]['push'](_0xe7b549),this[_0x4e57d0(0x1d8)](),this;}['onRemoteChangeset'](_0x4edf24){var _0x18a950=_0x1a80fc;if(this[_0x18a950(0x3da)](_0x4edf24))return this[_0x18a950(0x2c0)](),this['_injector'][_0x18a950(0x118)](exports[_0x18a950(0x33c)],this[_0x18a950(0x445)],this[_0x18a950(0x2ad)],null,this[_0x18a950(0x25b)],null,[_0x4edf24],this['_handler']);try{const _0x135e1c=this[_0x18a950(0x34b)][_0x18a950(0x1c7)](_0x4edf24,this[_0x18a950(0x25b)]);if(g[_0x18a950(0x1b9)](_0x135e1c)){const {c1Prime:_0x1e8b9e,m2Prime:_0x2bd7a1}=_0x135e1c;this[_0x18a950(0x128)](_0x1e8b9e);const _0x5a1cf9=this['_injector'][_0x18a950(0x118)](exports[_0x18a950(0x3a0)],this[_0x18a950(0x445)],this['type'],_0x2bd7a1,this[_0x18a950(0x45b)]);this[_0x18a950(0x2c0)]();const _0x1e5494=new Date()[_0x18a950(0x29f)](),_0x306867=this[_0x18a950(0x351)]?Math[_0x18a950(0x402)](this[_0x18a950(0x351)]-_0x1e5494,0x0):this[_0x18a950(0x175)]();return _0x5a1cf9[_0x18a950(0x24d)](_0x306867),_0x5a1cf9;}throw _0x135e1c['error'];}catch(_0x43e767){return this['_logService'][_0x18a950(0x1ca)](_0x43e767),this[_0x18a950(0x16d)](!0x1);}}[_0x1a80fc(0x2f9)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x58509a=_0x1a80fc;return this['_clearScheduledTask'](),this[_0x58509a(0x373)][_0x58509a(0x118)](exports['OfflineState'],this[_0x58509a(0x445)],this[_0x58509a(0x2ad)],null,this[_0x58509a(0x25b)],this[_0x58509a(0x45b)]);}['toggleOnline'](){return this;}[_0x1a80fc(0x24d)](_0x4bf840){var _0x3d7d7d=_0x1a80fc;const _0x48a54a=_0x4bf840!=null?_0x4bf840:this[_0x3d7d7d(0x175)]();this[_0x3d7d7d(0x351)]=new Date()[_0x3d7d7d(0x29f)]()+_0x48a54a,this[_0x3d7d7d(0x196)]=setTimeout(()=>{var _0x16fe50=_0x3d7d7d;this['_clearScheduledTask']();let _0x181e6e=null;switch(this[_0x16fe50(0x2ad)]){case X[_0x16fe50(0x393)]:{_0x181e6e=ze(this[_0x16fe50(0x25b)],this[_0x16fe50(0x445)],this[_0x16fe50(0x225)],this[_0x16fe50(0x207)],this[_0x16fe50(0x454)]);break;}case X[_0x16fe50(0x252)]:{this[_0x16fe50(0x25b)][_0x16fe50(0x1a8)](_0x3dd560=>_0x3dd560['id']===ut[_0x16fe50(0x112)]['id'])?_0x181e6e=mi(this[_0x16fe50(0x25b)],this['unitID'],this[_0x16fe50(0x225)],this[_0x16fe50(0x207)],this[_0x16fe50(0x454)]):_0x181e6e=ze(this[_0x16fe50(0x25b)],this[_0x16fe50(0x445)],this[_0x16fe50(0x225)],this['_revisionService'],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x16fe50(0x2ad)]+_0x16fe50(0x331));}const {changeset:_0x457294,pendingMutations:_0x167fa3}=_0x181e6e;this['_handler'][_0x16fe50(0x127)](_0x457294);const _0x327dac=_0x167fa3[_0x16fe50(0x446)]?this[_0x16fe50(0x373)]['createInstance'](exports[_0x16fe50(0x461)],this[_0x16fe50(0x445)],this['type'],_0x457294,_0x167fa3,this[_0x16fe50(0x45b)],void 0x0):this['_injector'][_0x16fe50(0x118)](exports[_0x16fe50(0x167)],this[_0x16fe50(0x445)],this[_0x16fe50(0x2ad)],_0x457294,this['_handler']);_0x327dac[_0x16fe50(0x1d8)](),this[_0x16fe50(0x45b)]['onStateChange'](this,_0x327dac);},_0x48a54a);}[_0x1a80fc(0x175)](){var _0x1d4ae6=_0x1a80fc,_0x4b516e;const _0x4da696=this[_0x1d4ae6(0x278)][_0x1d4ae6(0x133)](Y);return(_0x4b516e=_0x4da696==null?void 0x0:_0x4da696['sendChangesetTimeout'])!=null?_0x4b516e:jt;}[_0x1a80fc(0x438)](){var _0x2de93f=_0x1a80fc;throw new Error(_0x2de93f(0x33a));}[_0x1a80fc(0x2c0)](){var _0x598262=_0x1a80fc;this[_0x598262(0x196)]!=null&&(clearTimeout(this[_0x598262(0x196)]),this['_sendingTimer']=null);}[_0x1a80fc(0x16d)](_0xdfa0f){var _0x31394e=_0x1a80fc;return this[_0x31394e(0x2c0)](),this['_injector'][_0x31394e(0x118)](exports['ConflictState'],this[_0x31394e(0x445)],this[_0x31394e(0x2ad)],null,this[_0x31394e(0x25b)],this[_0x31394e(0x45b)],_0xdfa0f);}},exports[_0x1a80fc(0x3a0)]=ce([w(0x4,a[_0x1a80fc(0x3e4)](a[_0x1a80fc(0x468)])),w(0x5,a[_0x1a80fc(0x3e4)](g[_0x1a80fc(0x12e)])),w(0x6,a[_0x1a80fc(0x3e4)](exports[_0x1a80fc(0x209)])),w(0x7,a['ILogService']),w(0x8,a[_0x1a80fc(0x285)]),w(0x9,a[_0x1a80fc(0x39b)]),w(0xa,g['ITransformService']),w(0xb,a[_0x1a80fc(0x1d6)]),w(0xc,a[_0x1a80fc(0x378)]),w(0xd,a[_0x1a80fc(0x320)](z))],exports[_0x1a80fc(0x3a0)]),exports[_0x1a80fc(0x167)]=class extends he{constructor(_0x1e7327,_0x4e2edb,_0x57eb50,_0x36d2ed,_0x208bc8,_0x544244,_0x2312fd,_0x21a43e,_0x490e99,_0x96e599,_0x1c42a4){var _0x5f5cb8=_0x1a80fc;super(_0x1e7327,_0x4e2edb,_0x57eb50,[],_0x36d2ed,_0x2312fd,_0x96e599,_0x544244,_0x1c42a4),A(this,_0x5f5cb8(0x108),_0x5f5cb8(0x42d)),A(this,_0x5f5cb8(0x1a4),0x0),A(this,_0x5f5cb8(0x122)),A(this,_0x5f5cb8(0x3b8)),(this[_0x5f5cb8(0x373)]=_0x208bc8,this[_0x5f5cb8(0x1fd)]=_0x21a43e,this[_0x5f5cb8(0x34b)]=_0x490e99);}[_0x1a80fc(0x350)](_0x252cd1){var _0x87da8c=_0x1a80fc;this['_clearScheduledTask']();const _0x3aaafc=this[_0x87da8c(0x373)][_0x87da8c(0x118)](exports[_0x87da8c(0x461)],this[_0x87da8c(0x445)],this['type'],this['_awaitingChangeset'],[_0x252cd1],this[_0x87da8c(0x45b)],this[_0x87da8c(0x122)]);return _0x3aaafc[_0x87da8c(0x1d8)](),_0x3aaafc;}['onRemoteChangeset'](_0x3899ce){var _0x252a3b=_0x1a80fc;if(this['_checkMissing'](_0x3899ce))return this['_clearScheduledTask'](),this[_0x252a3b(0x373)][_0x252a3b(0x118)](exports[_0x252a3b(0x33c)],this[_0x252a3b(0x445)],this[_0x252a3b(0x2ad)],this[_0x252a3b(0x16f)],[],null,[_0x3899ce],this['_handler']);try{const _0xe6d901=this[_0x252a3b(0x34b)][_0x252a3b(0x336)]([_0x3899ce],[this['_awaitingChangeset']],!0x1);if(g['isTransformChangesetsSuccess'](_0xe6d901)){const {c1Prime:_0x4d4804,c2Prime:_0x3ffb39}=_0xe6d901;this[_0x252a3b(0x128)](_0x4d4804[0x0]),_0x3ffb39[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x252a3b(0x2c0)]();const _0x1a1bd5=this[_0x252a3b(0x373)]['createInstance'](exports[_0x252a3b(0x167)],this[_0x252a3b(0x445)],this['type'],_0x3ffb39[0x0],this[_0x252a3b(0x45b)]);return _0x1a1bd5['_updateLocalCache'](),_0x1a1bd5;}return this[_0x252a3b(0x16d)](!0x1);}catch(_0x40a9f4){return this['_logService'][_0x252a3b(0x1ca)](_0x40a9f4),this[_0x252a3b(0x16d)](!0x1);}}[_0x1a80fc(0x2f9)](_0x13f5c1){var _0x53efc3=_0x1a80fc;this['_clearScheduledTask']();const _0x20dfdb=this[_0x53efc3(0x207)][_0x53efc3(0x103)](this[_0x53efc3(0x445)]);if(_0x13f5c1[_0x53efc3(0x448)]<_0x20dfdb-0x1)return this;if(this[_0x53efc3(0x3da)](_0x13f5c1))return this['_injector'][_0x53efc3(0x118)](exports[_0x53efc3(0x33c)],this[_0x53efc3(0x445)],this[_0x53efc3(0x2ad)],null,[],this[_0x53efc3(0x16f)],[],this[_0x53efc3(0x45b)]);this[_0x53efc3(0x21a)]();const _0x2d64d8=this['_injector'][_0x53efc3(0x118)](exports[_0x53efc3(0x28e)],this['unitID'],this['type'],this['_handler']);return _0x2d64d8[_0x53efc3(0x1d8)](),_0x2d64d8;}['onRemoteRej'](_0x1e6cf0){var _0x546346=_0x1a80fc;return this[_0x546346(0x16d)](!!(_0x1e6cf0!=null&&_0x1e6cf0['isPermissionRej']));}[_0x1a80fc(0x11e)](_0x70289e){var _0x1c99da=_0x1a80fc;return this['_resendTimeout']>Nt?this[_0x1c99da(0x2be)]():(this[_0x1c99da(0x122)]=yt(this[_0x1c99da(0x1a4)],{'timeout':this[_0x1c99da(0x1a4)],'reqId':_0x70289e[_0x1c99da(0x3c0)]}),this[_0x1c99da(0x3b8)]=this[_0x1c99da(0x122)][_0x1c99da(0x316)](({reqId:_0x45112b,timeout:_0x2b90e2})=>{var _0x3fa871=_0x1c99da;this[_0x3fa871(0x39c)](_0x45112b,_0x2b90e2);}),this);}['toggleOffline'](){var _0x4834a6=_0x1a80fc;return this['_clearScheduledTask'](),this[_0x4834a6(0x373)]['createInstance'](exports[_0x4834a6(0x25f)],this['unitID'],this[_0x4834a6(0x2ad)],this[_0x4834a6(0x16f)],[],this[_0x4834a6(0x45b)]);}[_0x1a80fc(0x2f0)](){return this;}['resend'](){var _0x2c8185=_0x1a80fc;this[_0x2c8185(0x45b)][_0x2c8185(0x127)](this[_0x2c8185(0x16f)]);}[_0x1a80fc(0x16d)](_0x1627e9){var _0x11440b=_0x1a80fc;return this[_0x11440b(0x2c0)](),this[_0x11440b(0x373)]['createInstance'](exports[_0x11440b(0x253)],this[_0x11440b(0x445)],this[_0x11440b(0x2ad)],this[_0x11440b(0x16f)],[],this['_handler'],_0x1627e9);}[_0x1a80fc(0x39c)](_0x17c876,_0xeff0eb){var _0x29b074=_0x1a80fc,_0x1adb6a;_0x17c876===((_0x1adb6a=this[_0x29b074(0x16f)])==null?void 0x0:_0x1adb6a[_0x29b074(0x3c0)])&&(this[_0x29b074(0x438)](),this['_resendTimeout']=_0xeff0eb===0x0?0x3e8:_0xeff0eb*0x2);}['_clearScheduledTask'](){var _0x119a47=_0x1a80fc,_0x39c023;(_0x39c023=this[_0x119a47(0x3b8)])==null||_0x39c023['unsubscribe'](),this[_0x119a47(0x1a4)]=0x0;}},exports['AwaitingState']=ce([w(0x4,a[_0x1a80fc(0x3e4)](a['Injector'])),w(0x5,a[_0x1a80fc(0x3e4)](g[_0x1a80fc(0x12e)])),w(0x6,a[_0x1a80fc(0x285)]),w(0x7,a[_0x1a80fc(0x2d9)]),w(0x8,g[_0x1a80fc(0x105)]),w(0x9,a[_0x1a80fc(0x378)]),w(0xa,a['Optional'](z))],exports[_0x1a80fc(0x167)]),exports[_0x1a80fc(0x461)]=class extends he{constructor(_0x399dac,_0x4c9ea6,_0x2fabcd,_0x580842,_0x6a5d7f,_0x1d8f89,_0x20c423,_0x3db251,_0x21f8d0,_0x3eb64d,_0x30bafd,_0x3f8fc8,_0x24c187){var _0x548a2e=_0x1a80fc;super(_0x399dac,_0x4c9ea6,_0x2fabcd,_0x580842,_0x6a5d7f,_0x21f8d0,_0x3f8fc8,_0x3db251,_0x24c187),A(this,_0x548a2e(0x108),'awaiting_with_pending'),A(this,_0x548a2e(0x1a4),0x0),A(this,_0x548a2e(0x122)),A(this,'_sender'),(this['_injector']=_0x20c423,this[_0x548a2e(0x1fd)]=_0x3eb64d,this['_transformService']=_0x30bafd,this['localCacheService']=_0x24c187,_0x1d8f89&&(this[_0x548a2e(0x122)]=_0x1d8f89,this[_0x548a2e(0x3b8)]=this[_0x548a2e(0x122)][_0x548a2e(0x316)](({reqId:_0x562999,timeout:_0x48ccb5})=>{var _0x5607f6=_0x548a2e;this[_0x5607f6(0x39c)](_0x562999,_0x48ccb5);})));}[_0x1a80fc(0x350)](_0xc24c28){var _0xaed0f9=_0x1a80fc;return this[_0xaed0f9(0x25b)][_0xaed0f9(0x242)](_0xc24c28),this;}[_0x1a80fc(0x45e)](_0xe1d350){var _0x3495d6=_0x1a80fc;if(this[_0x3495d6(0x3da)](_0xe1d350))return this[_0x3495d6(0x2c0)](),this[_0x3495d6(0x373)][_0x3495d6(0x118)](exports[_0x3495d6(0x33c)],this[_0x3495d6(0x445)],this[_0x3495d6(0x2ad)],this['_awaitingChangeset'],this[_0x3495d6(0x25b)],null,[_0xe1d350],this[_0x3495d6(0x45b)]);try{const _0x90515e=this[_0x3495d6(0x34b)]['transformChangesets']([_0xe1d350],[this['_awaitingChangeset']],!0x1);if(g[_0x3495d6(0x3bd)](_0x90515e)){const {c1Prime:_0x55ba2a,c2Prime:_0x573586}=_0x90515e,_0x136d43=this[_0x3495d6(0x34b)]['transformMutationsWithChangeset'](_0x55ba2a[0x0],this[_0x3495d6(0x25b)]);if(g[_0x3495d6(0x1b9)](_0x136d43)){const {c1Prime:_0x188f71,m2Prime:_0x2d9675}=_0x136d43;return this[_0x3495d6(0x128)](_0x188f71),_0x573586[0x0][_0x3495d6(0x1ec)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x3495d6(0x373)]['createInstance'](exports[_0x3495d6(0x461)],this[_0x3495d6(0x445)],this[_0x3495d6(0x2ad)],_0x573586[0x0],_0x2d9675,this['_handler'],void 0x0);}throw _0x136d43[_0x3495d6(0x1ca)];}throw _0x90515e[_0x3495d6(0x1ca)];}catch(_0x4ee755){return this[_0x3495d6(0x1fd)][_0x3495d6(0x1ca)](_0x4ee755),this[_0x3495d6(0x16d)](!0x1);}}[_0x1a80fc(0x2f9)](_0x192024){var _0x4426c8=_0x1a80fc;if(this[_0x4426c8(0x2c0)](),this['_checkMissing'](_0x192024))return this[_0x4426c8(0x373)]['createInstance'](exports[_0x4426c8(0x33c)],this['unitID'],this[_0x4426c8(0x2ad)],null,this[_0x4426c8(0x25b)],this[_0x4426c8(0x16f)],[],this['_handler']);this['_incrementRevisionNumber']();const _0xd01358=this['_injector'][_0x4426c8(0x118)](exports[_0x4426c8(0x3a0)],this['unitID'],this[_0x4426c8(0x2ad)],this[_0x4426c8(0x25b)],this[_0x4426c8(0x45b)]);return _0xd01358[_0x4426c8(0x24d)](),_0xd01358[_0x4426c8(0x1d8)](),_0xd01358;}['onRemoteRej'](_0x1a18b7){var _0x34f093=_0x1a80fc;return this['_onConflict'](!!(_0x1a18b7!=null&&_0x1a18b7[_0x34f093(0x3e3)]));}[_0x1a80fc(0x11e)](_0x45267b){var _0x535d2b=_0x1a80fc;return this['_resendTimeout']>Nt?this[_0x535d2b(0x2be)]():(this['_resendTimer']=yt(this[_0x535d2b(0x1a4)],{'timeout':this[_0x535d2b(0x1a4)],'reqId':_0x45267b[_0x535d2b(0x3c0)]}),this[_0x535d2b(0x3b8)]=this['_resendTimer'][_0x535d2b(0x316)](({reqId:_0x31355f,timeout:_0x584d6e})=>{this['_resendWithTimeout'](_0x31355f,_0x584d6e);}),this);}[_0x1a80fc(0x2be)](){var _0x56d35f=_0x1a80fc;return this[_0x56d35f(0x2c0)](),this['_injector'][_0x56d35f(0x118)](exports[_0x56d35f(0x25f)],this[_0x56d35f(0x445)],this[_0x56d35f(0x2ad)],this[_0x56d35f(0x16f)],this[_0x56d35f(0x25b)],this['_handler']);}['toggleOnline'](){return this;}[_0x1a80fc(0x438)](){var _0x4bc5e5=_0x1a80fc;this['_handler']['onSendChangeset'](this[_0x4bc5e5(0x16f)]);}[_0x1a80fc(0x16d)](_0x26d1bc){var _0x213207=_0x1a80fc;return this[_0x213207(0x2c0)](),this[_0x213207(0x373)][_0x213207(0x118)](exports[_0x213207(0x253)],this['unitID'],this[_0x213207(0x2ad)],null,this[_0x213207(0x25b)],this[_0x213207(0x45b)],_0x26d1bc);}['_resendWithTimeout'](_0xef05f3,_0x35af87){var _0x49c561=_0x1a80fc,_0x1df083;_0xef05f3===((_0x1df083=this[_0x49c561(0x16f)])==null?void 0x0:_0x1df083[_0x49c561(0x3c0)])&&(this[_0x49c561(0x438)](),this[_0x49c561(0x1a4)]=_0x35af87===0x0?0x3e8:_0x35af87*0x2);}[_0x1a80fc(0x2c0)](){var _0x1f8729=_0x1a80fc,_0x7d7b02;(_0x7d7b02=this[_0x1f8729(0x3b8)])==null||_0x7d7b02[_0x1f8729(0x3c1)](),this[_0x1f8729(0x1a4)]=0x0;}},exports['AwaitingWithPendingState']=ce([w(0x6,a['Inject'](a['Injector'])),w(0x7,a['Inject'](g[_0x1a80fc(0x12e)])),w(0x8,a['ICommandService']),w(0x9,a[_0x1a80fc(0x2d9)]),w(0xa,g['ITransformService']),w(0xb,a[_0x1a80fc(0x378)]),w(0xc,a[_0x1a80fc(0x320)](z))],exports[_0x1a80fc(0x461)]),exports['ConflictState']=class extends he{constructor(_0x2a6ba0,_0x189961,_0x296887,_0x554503,_0x3c792a,_0x327b28=!0x1,_0x3ae41e,_0x11ff0,_0x3dc09d,_0x3e51b0,_0x141832,_0x3afa8f,_0x333038){var _0x2a7741=_0x1a80fc;super(_0x2a6ba0,_0x189961,_0x296887,_0x554503,_0x3c792a,_0x11ff0,_0x3dc09d,_0x3e51b0,_0x333038),A(this,'status',_0x2a7741(0x293)),(this[_0x2a7741(0x426)]=_0x327b28,this[_0x2a7741(0x3fe)]=_0x3ae41e,this['_localeService']=_0x141832,this[_0x2a7741(0x1a5)]=_0x3afa8f,this[_0x2a7741(0x412)]=_0x333038,this[_0x2a7741(0x1e6)](),this[_0x2a7741(0x399)](),this[_0x2a7741(0x1ef)]());}[_0x1a80fc(0x350)](){return this;}[_0x1a80fc(0x45e)](){return this;}[_0x1a80fc(0x2f9)](){return this;}[_0x1a80fc(0x281)](){return this;}[_0x1a80fc(0x11e)](){return this;}['toggleOffline'](){return this;}[_0x1a80fc(0x2f0)](){return this;}['resend'](){var _0x2cd53c=_0x1a80fc;throw new Error(_0x2cd53c(0x440));}[_0x1a80fc(0x399)](){var _0x4076ff=_0x1a80fc,_0x55e46a;(_0x55e46a=this[_0x4076ff(0x298)])==null||_0x55e46a['updateOfflineData'](this[_0x4076ff(0x445)],this['type'],null,[]);}[_0x1a80fc(0x1e6)](){var _0x233e6e=_0x1a80fc;this[_0x233e6e(0x426)]?this['_collaborationUIEventService'][_0x233e6e(0x20e)]({'id':Q['PERMISSION_DENIED']}):this[_0x233e6e(0x1a5)][_0x233e6e(0x20e)]({'id':Q[_0x233e6e(0x3b7)]});}[_0x1a80fc(0x1ef)](){var _0x37adfc=_0x1a80fc;this['_permissionService'][_0x37adfc(0x1aa)](new Z[(_0x37adfc(0x341))](this[_0x37adfc(0x445)])['id'],!0x1);}},exports[_0x1a80fc(0x253)]=ce([w(0x6,a['Inject'](a[_0x1a80fc(0x2b4)])),w(0x7,a[_0x1a80fc(0x285)]),w(0x8,a[_0x1a80fc(0x378)]),w(0x9,a[_0x1a80fc(0x3e4)](g[_0x1a80fc(0x12e)])),w(0xa,a[_0x1a80fc(0x3e4)](a[_0x1a80fc(0x457)])),w(0xb,a[_0x1a80fc(0x3e4)](te)),w(0xc,a['Optional'](z))],exports['ConflictState']),exports[_0x1a80fc(0x25f)]=class extends he{constructor(_0x5dcc79,_0x3aa2ef,_0x206cad,_0x418608,_0x20dc62,_0x52e72e,_0x339e10,_0x59f593,_0x568411,_0x720ef1){var _0x1fbe57=_0x1a80fc;super(_0x5dcc79,_0x3aa2ef,_0x206cad,_0x418608,_0x20dc62,_0x59f593,_0x568411,_0x339e10,_0x720ef1),A(this,'status',_0x1fbe57(0x3a2)),this['_injector']=_0x52e72e;}[_0x1a80fc(0x350)](_0x182826){var _0x34b0f6=_0x1a80fc;return this[_0x34b0f6(0x25b)][_0x34b0f6(0x242)](_0x182826),this[_0x34b0f6(0x1d8)](),this;}[_0x1a80fc(0x45e)](_0x489116){var _0x496da0=_0x1a80fc;throw new Error(_0x496da0(0x405));}[_0x1a80fc(0x2f9)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x1a80fc(0x11e)](){return this;}['toggleOffline'](){return this;}[_0x1a80fc(0x2f0)](){var _0x14f2ce=_0x1a80fc;const {_injector:_0x30fdbe,_pendingMutations:_0xf19dbc,_awaitingChangeset:_0x5f4271,unitID:_0x532b52,_handler:_0x1ae7eb,type:_0x4137e5}=this,_0x1c5e0c=Dt(_0x30fdbe,_0x532b52,_0x4137e5,_0x5f4271,_0xf19dbc,_0x1ae7eb);return _0x1c5e0c instanceof exports[_0x14f2ce(0x3a0)]?_0x1c5e0c[_0x14f2ce(0x24d)]():(_0x1c5e0c instanceof exports['AwaitingWithPendingState']||_0x1c5e0c instanceof exports[_0x14f2ce(0x167)])&&_0x1c5e0c[_0x14f2ce(0x438)](),_0x1c5e0c;}['resend'](){var _0x53c49c=_0x1a80fc;throw new Error(_0x53c49c(0x3de));}},exports['OfflineState']=ce([w(0x5,a[_0x1a80fc(0x3e4)](a[_0x1a80fc(0x468)])),w(0x6,a[_0x1a80fc(0x3e4)](g[_0x1a80fc(0x12e)])),w(0x7,a[_0x1a80fc(0x285)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x1a80fc(0x320)](z))],exports[_0x1a80fc(0x25f)]),exports[_0x1a80fc(0x33c)]=class extends he{constructor(_0x244ccb,_0x59cf05,_0x162d7e,_0x2caba1,_0x5ac7ee,_0x30c21a,_0x3e2baf,_0xba00d2,_0xe271ab,_0x4a2d9e,_0x445152,_0x4b4be2,_0x3a15ea,_0x5c592b){var _0x2b18fb=_0x1a80fc;super(_0x244ccb,_0x59cf05,_0x162d7e,_0x2caba1,_0x3e2baf,_0x445152,_0x4b4be2,_0xe271ab,_0x5c592b),A(this,_0x2b18fb(0x108),_0x2b18fb(0x3a1)),(this[_0x2b18fb(0x123)]=_0x5ac7ee,this[_0x2b18fb(0x358)]=_0x30c21a,this[_0x2b18fb(0x373)]=_0xba00d2,this[_0x2b18fb(0x1fd)]=_0x4a2d9e,this[_0x2b18fb(0x34b)]=_0x3a15ea,this['localCacheService']=_0x5c592b);}[_0x1a80fc(0x2ea)](_0x59f72a){var _0x2cb75d=_0x1a80fc;try{const _0x412308=[..._0x59f72a,...this[_0x2cb75d(0x358)]],_0x6206c8=[this[_0x2cb75d(0x16f)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x3ec2f1=>!!_0x3ec2f1);let _0x412c3b,_0xce55ee;if(_0x6206c8['length']){const _0x57bc68=this[_0x2cb75d(0x34b)][_0x2cb75d(0x336)](_0x412308,_0x6206c8,!0x1);if(!g['isTransformChangesetsSuccess'](_0x57bc68))throw _0x57bc68[_0x2cb75d(0x1ca)];_0x412c3b=_0x57bc68[_0x2cb75d(0x449)],_0xce55ee=_0x57bc68[_0x2cb75d(0x275)];}else _0x412c3b=_0x412308,_0xce55ee=[];let _0x45d7c2=this['_pendingMutations'];_0x412c3b['forEach'](_0x4e6a6f=>{var _0x4d8992=_0x2cb75d;let _0x11bc13;if(_0x45d7c2[_0x4d8992(0x446)]){const _0x5ce25f=this['_transformService'][_0x4d8992(0x1c7)](_0x4e6a6f,_0x45d7c2);if(!g[_0x4d8992(0x1b9)](_0x5ce25f))throw _0x5ce25f[_0x4d8992(0x1ca)];_0x11bc13=_0x5ce25f[_0x4d8992(0x449)],_0x45d7c2=_0x5ce25f[_0x4d8992(0x441)];}else _0x11bc13=_0x4e6a6f;this[_0x4d8992(0x128)](_0x11bc13);}),this[_0x2cb75d(0x123)]&&this['_incrementRevisionNumber'](),this[_0x2cb75d(0x16f)]&&_0xce55ee[_0x2cb75d(0x446)]&&(_0xce55ee[0x0][_0x2cb75d(0x1ec)]=this[_0x2cb75d(0x36c)]());let _0xd4f99b;if(this[_0x2cb75d(0x16f)]&&_0x45d7c2[_0x2cb75d(0x446)]!==0x0)_0xd4f99b=this[_0x2cb75d(0x373)][_0x2cb75d(0x118)](exports[_0x2cb75d(0x461)],this[_0x2cb75d(0x445)],this[_0x2cb75d(0x2ad)],_0xce55ee[0x0],_0x45d7c2,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x45d7c2['length']===0x0)_0xce55ee[0x0][_0x2cb75d(0x1ec)]=this['_getCurrentRevision'](),_0xd4f99b=this[_0x2cb75d(0x373)][_0x2cb75d(0x118)](exports['AwaitingState'],this[_0x2cb75d(0x445)],this[_0x2cb75d(0x2ad)],_0xce55ee[0x0],this[_0x2cb75d(0x45b)]);else{if(_0x45d7c2[_0x2cb75d(0x446)]!==0x0){const _0x273f20=this[_0x2cb75d(0x373)][_0x2cb75d(0x118)](exports[_0x2cb75d(0x3a0)],this[_0x2cb75d(0x445)],this[_0x2cb75d(0x2ad)],_0x45d7c2,this[_0x2cb75d(0x45b)]);_0x273f20[_0x2cb75d(0x24d)](),_0xd4f99b=_0x273f20;}else _0xd4f99b=this[_0x2cb75d(0x373)]['createInstance'](exports['SyncedState'],this[_0x2cb75d(0x445)],this[_0x2cb75d(0x2ad)],this[_0x2cb75d(0x45b)]);}}return _0xd4f99b[_0x2cb75d(0x1d8)](),_0xd4f99b;}catch(_0x4896df){return this['_logService']['error'](_0x2cb75d(0x3ec),_0x2cb75d(0x382),_0x4896df),this[_0x2cb75d(0x373)][_0x2cb75d(0x118)](exports[_0x2cb75d(0x253)],this['unitID'],this[_0x2cb75d(0x2ad)],this[_0x2cb75d(0x16f)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x1a80fc(0x438)](){var _0x1575b2=_0x1a80fc;throw new Error(_0x1575b2(0x27a));}[_0x1a80fc(0x350)](_0x572c3f){var _0x26648a=_0x1a80fc;return this[_0x26648a(0x25b)][_0x26648a(0x242)](_0x572c3f),this;}[_0x1a80fc(0x45e)](_0x27534f){var _0x34d4af=_0x1a80fc;return this[_0x34d4af(0x358)]['push'](_0x27534f),this;}[_0x1a80fc(0x2f9)](_0xa2ae44){var _0x188d91=_0x1a80fc;if(this['_awaitingChangeset'])return this[_0x188d91(0x123)]=this[_0x188d91(0x16f)],this[_0x188d91(0x16f)]=null,this;throw new Error(_0x188d91(0xf4));}['onRemoteRej'](_0xc9e691){var _0x35f383=_0x1a80fc;return this[_0x35f383(0x16d)](!!(_0xc9e691!=null&&_0xc9e691[_0x35f383(0x3e3)]));}['onRemoteRetry'](){return this;}[_0x1a80fc(0x2be)](){var _0x3545eb=_0x1a80fc;return this['_injector']['createInstance'](exports[_0x3545eb(0x25f)],this[_0x3545eb(0x445)],this['type'],this['_awaitingChangeset'],this[_0x3545eb(0x25b)],this['_handler']);}[_0x1a80fc(0x2f0)](){return this;}[_0x1a80fc(0x16d)](_0x20da3f){var _0x1ab0fa=_0x1a80fc;return this[_0x1ab0fa(0x373)]['createInstance'](exports[_0x1ab0fa(0x253)],this[_0x1ab0fa(0x445)],this[_0x1ab0fa(0x2ad)],this[_0x1ab0fa(0x16f)],this[_0x1ab0fa(0x25b)],this[_0x1ab0fa(0x45b)],_0x20da3f);}},exports['FetchingMissState']=ce([w(0x7,a[_0x1a80fc(0x3e4)](a['Injector'])),w(0x8,a[_0x1a80fc(0x3e4)](g[_0x1a80fc(0x12e)])),w(0x9,a[_0x1a80fc(0x2d9)]),w(0xa,a[_0x1a80fc(0x285)]),w(0xb,a[_0x1a80fc(0x378)]),w(0xc,g[_0x1a80fc(0x105)]),w(0xd,a[_0x1a80fc(0x320)](z))],exports[_0x1a80fc(0x33c)]);function Dt(_0xb40b17,_0xe4d24e,_0x2740b6,_0x3a0e77,_0x501c8,_0x5d7a92){var _0x3149b2=_0x1a80fc;return _0x3a0e77&&_0x501c8['length']?_0xb40b17[_0x3149b2(0x118)](exports[_0x3149b2(0x461)],_0xe4d24e,_0x2740b6,_0x3a0e77,_0x501c8,_0x5d7a92,void 0x0):_0x3a0e77?_0xb40b17[_0x3149b2(0x118)](exports[_0x3149b2(0x167)],_0xe4d24e,_0x2740b6,_0x3a0e77,_0x5d7a92):_0x501c8['length']?_0xb40b17[_0x3149b2(0x118)](exports[_0x3149b2(0x3a0)],_0xe4d24e,_0x2740b6,_0x501c8,_0x5d7a92):_0xb40b17['createInstance'](exports[_0x3149b2(0x28e)],_0xe4d24e,_0x2740b6,_0x5d7a92);}var Ci=Object[_0x1a80fc(0x1dd)],We=(_0x51fd07,_0x46ec4b,_0x21ce2c,_0x3d3aed)=>{var _0x140b70=_0x1a80fc;for(var _0x2cd6f2=_0x3d3aed>0x1?void 0x0:_0x3d3aed?Ci(_0x46ec4b,_0x21ce2c):_0x46ec4b,_0x453b00=_0x51fd07[_0x140b70(0x446)]-0x1,_0x485cdd;_0x453b00>=0x0;_0x453b00--)(_0x485cdd=_0x51fd07[_0x453b00])&&(_0x2cd6f2=_0x485cdd(_0x2cd6f2)||_0x2cd6f2);return _0x2cd6f2;},$=(_0x413acc,_0x4adac2)=>(_0x596bd7,_0x31f356)=>_0x4adac2(_0x596bd7,_0x31f356,_0x413acc);exports['CollaborationEntity']=class extends a['RxDisposable']{constructor(_0x5df742,_0x2d74e5,_0x20eade,_0x1a5da6,_0x2a2a55,_0x58962b,_0x41ddab,_0x2d4275,_0x5288d0,_0x4a0dd2,_0x553976,_0x262547,_0xf15fb9){var _0x37fd70=_0x1a80fc;super(),A(this,_0x37fd70(0x147),new j[(_0x37fd70(0x3cb))](null)),A(this,_0x37fd70(0x3bf),this[_0x37fd70(0x147)]['asObservable']()),A(this,_0x37fd70(0x216)),A(this,_0x37fd70(0x212),!0x1),A(this,_0x37fd70(0x166),''),A(this,'_changesetReqId',0x0),A(this,_0x37fd70(0x46d),this[_0x37fd70(0x3bf)][_0x37fd70(0x152)](j[_0x37fd70(0x36f)](_0x3930ae=>_0x3930ae?_0x3930ae[_0x37fd70(0x108)]:Ve[_0x37fd70(0x14d)]),j[_0x37fd70(0x181)](0x1))),A(this,_0x37fd70(0xfd),!0x1),A(this,_0x37fd70(0x1d0),[]),(this[_0x37fd70(0x445)]=_0x5df742,this['session']=_0x2d74e5,this[_0x37fd70(0x325)]=_0x20eade,this['_injector']=_0x1a5da6,this[_0x37fd70(0x273)]=_0x2a2a55,this[_0x37fd70(0x100)]=_0x58962b,this[_0x37fd70(0x207)]=_0x41ddab,this['_eventService']=_0x2d4275,this['_logService']=_0x5288d0,this['_commandService']=_0x4a0dd2,this[_0x37fd70(0x3fe)]=_0x553976,this['_singleActiveUnitService']=_0x262547,this[_0x37fd70(0x298)]=_0xf15fb9);}get[_0x1a80fc(0x1cb)](){return this['_state'];}async[_0x1a80fc(0x16b)](){var _0x33cbb8=_0x1a80fc;if(this[_0x33cbb8(0x1cb)])throw new Error(_0x33cbb8(0x345));await this['_init']();}[_0x1a80fc(0x2c6)](){var _0x49f38f=_0x1a80fc;return this[_0x49f38f(0x212)]=!0x0,a['toDisposable'](()=>{var _0x2a0cd2=_0x49f38f;this[_0x2a0cd2(0x212)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x507b89){var _0x5715b5=_0x1a80fc;this[_0x5715b5(0x39d)](_0x507b89);}[_0x1a80fc(0x37a)](_0x33c5b9){var _0x1db6e5=_0x1a80fc;this[_0x1db6e5(0x216)]=_0x33c5b9,this[_0x1db6e5(0x147)][_0x1db6e5(0x435)](_0x33c5b9);}async[_0x1a80fc(0xf2)](){var _0x474301=_0x1a80fc,_0x10a9a3;this[_0x474301(0x37a)](await this[_0x474301(0x3df)]()),this[_0x474301(0x1fc)]&&((_0x10a9a3=this[_0x474301(0x1fc)])==null||_0x10a9a3[_0x474301(0x1b0)](this[_0x474301(0x445)]),this[_0x474301(0x1f5)](this[_0x474301(0x1fc)][_0x474301(0x11a)](this['unitID'])[_0x474301(0x316)](_0x26f9f3=>{var _0x4b82b5=_0x474301;this[_0x4b82b5(0x1fd)]['debug'](_0x4b82b5(0x465),'editing\x20status\x20changed\x20to',_0x26f9f3),_0x26f9f3===Fe['OTHER_CLIENTS_EDITING']?(this[_0x4b82b5(0xf3)]['emitEvent']({'id':Q[_0x4b82b5(0x113)]}),this[_0x4b82b5(0x3fe)][_0x4b82b5(0x1aa)](new Z[(_0x4b82b5(0x341))](this[_0x4b82b5(0x445)])['id'],!0x1),this[_0x4b82b5(0x3fe)][_0x4b82b5(0x29b)](!0x1)):(this[_0x4b82b5(0x3fe)][_0x4b82b5(0x1aa)](new Z['WorkbookEditablePermission'](this[_0x4b82b5(0x445)])['id'],!0x0),this[_0x4b82b5(0x3fe)][_0x4b82b5(0x29b)](!0x0));})));let _0x37930d=!0x1;return this['disposeWithMe'](this[_0x474301(0x2a2)][_0x474301(0x417)]['subscribe'](_0xb980f7=>{var _0x3adf48=_0x474301;_0xb980f7===se[_0x3adf48(0x12a)]?this[_0x3adf48(0x16c)](_0x37930d):_0xb980f7===se[_0x3adf48(0x14d)]&&(_0x37930d=!0x0,this['_toggleOffline']());})),this[_0x474301(0x1f5)](this[_0x474301(0x2a2)][_0x474301(0x463)][_0x474301(0x316)](_0x30ec12=>{var _0x356a8b=_0x474301;try{switch(_0x30ec12[_0x356a8b(0x28a)]){case g[_0x356a8b(0x15b)][_0x356a8b(0x1b4)]:{this[_0x356a8b(0x1df)](g[_0x356a8b(0x410)](_0x30ec12[_0x356a8b(0x38d)]));break;}case g[_0x356a8b(0x15b)][_0x356a8b(0x337)]:{this[_0x356a8b(0x27c)](_0x30ec12[_0x356a8b(0x38d)]);break;}case g[_0x356a8b(0x15b)][_0x356a8b(0x453)]:{this['_onRemoteRejected']();break;}case g[_0x356a8b(0x15b)][_0x356a8b(0x140)]:{this[_0x356a8b(0x38c)](_0x30ec12[_0x356a8b(0x38d)]);break;}case g[_0x356a8b(0x15b)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x356a8b(0x2af)](_0x30ec12[_0x356a8b(0x38d)][_0x356a8b(0x317)][_0x356a8b(0x36f)](_0x34d2d8=>g[_0x356a8b(0x410)](_0x34d2d8)));break;}case g[_0x356a8b(0x15b)][_0x356a8b(0x333)]:{this[_0x356a8b(0xfc)]({'isPermissionRej':!0x0});break;}case g[_0x356a8b(0x15b)][_0x356a8b(0x41d)]:break;}}catch(_0x4b67bb){throw console['error'](_0x356a8b(0x13b),_0x4b67bb),_0x4b67bb;}})),this[_0x474301(0x216)];}[_0x1a80fc(0x21b)](){var _0x595591=_0x1a80fc;this[_0x595591(0xfd)]=!0x1;}[_0x1a80fc(0x3d3)](){var _0x24eb7d=_0x1a80fc;if(this[_0x24eb7d(0xfd)])throw new Error(_0x24eb7d(0x1ab));this[_0x24eb7d(0xfd)]=!0x0;}[_0x1a80fc(0x39d)](_0x2cf484){var _0x4eb11a=_0x1a80fc;this[_0x4eb11a(0x3d3)](),this[_0x4eb11a(0x37a)](this[_0x4eb11a(0x216)]['appendMutation'](_0x2cf484)),this['_unlockTransition']();}[_0x1a80fc(0x1df)](_0x360494){var _0x369c2e=_0x1a80fc;if(!(_0x360494[_0x369c2e(0x448)]<=this[_0x369c2e(0x207)][_0x369c2e(0x103)](this[_0x369c2e(0x445)]))){if(this[_0x369c2e(0x212)]){this['_remoteChangesetQueue'][_0x369c2e(0x242)](_0x360494);return;}this[_0x369c2e(0x11b)](_0x360494);}}['_exhaustRemoteChangesetQueue'](){var _0x1489f6=_0x1a80fc;this[_0x1489f6(0x1d0)][_0x1489f6(0x32d)](_0x574a9d=>this[_0x1489f6(0x11b)](_0x574a9d)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x397b66){var _0x2cb5e1=_0x1a80fc;const _0x362ed7=this['_compressMutationService'][_0x2cb5e1(0x164)][_0x2cb5e1(0x416)](this[_0x2cb5e1(0x273)][_0x2cb5e1(0x164)][_0x2cb5e1(0x464)]()[_0x2cb5e1(0x239)])(_0x397b66[_0x2cb5e1(0x361)],null)||_0x397b66[_0x2cb5e1(0x361)],_0x54e5af={..._0x397b66,'mutations':_0x362ed7};this['_lockTransition'](),this[_0x2cb5e1(0x37a)](this[_0x2cb5e1(0x216)]['onRemoteChangeset'](_0x54e5af)),this[_0x2cb5e1(0x21b)]();}[_0x1a80fc(0x27c)](_0x18c293){var _0x3a331b=_0x1a80fc;this[_0x3a331b(0x3d3)](),this[_0x3a331b(0x37a)](this['_state'][_0x3a331b(0x2f9)](_0x18c293)),this['_unlockTransition']();}[_0x1a80fc(0xfc)](_0xac01dc){var _0x28b8d6=_0x1a80fc;this[_0x28b8d6(0x3d3)](),this[_0x28b8d6(0x37a)](this[_0x28b8d6(0x216)][_0x28b8d6(0x281)](_0xac01dc)),this['_unlockTransition']();}['_onRemoteRetry'](_0x16e7c0){var _0x55b9a6=_0x1a80fc;this['_lockTransition'](),this['_updateState'](this[_0x55b9a6(0x216)][_0x55b9a6(0x11e)](_0x16e7c0)),this[_0x55b9a6(0x21b)]();}['_onFetchMissResult'](_0x24cc62){var _0x103f8e=_0x1a80fc;if(!(this['_state']instanceof exports[_0x103f8e(0x33c)]))throw new TypeError(_0x103f8e(0x3a7));const _0x2e7ddf=_0x24cc62[_0x103f8e(0x36f)](_0x14d76d=>{var _0x4873bf=_0x103f8e;const _0xef902f=this[_0x4873bf(0x273)][_0x4873bf(0x164)][_0x4873bf(0x416)](this[_0x4873bf(0x273)][_0x4873bf(0x164)][_0x4873bf(0x464)]()[_0x4873bf(0x239)])(_0x14d76d['mutations'],null)||_0x14d76d[_0x4873bf(0x361)];return{..._0x14d76d,'mutations':_0xef902f};});this['_lockTransition'](),this['_updateState'](this[_0x103f8e(0x216)][_0x103f8e(0x2ea)](_0x2e7ddf)),this['_unlockTransition']();}[_0x1a80fc(0x444)](){var _0x543a33=_0x1a80fc;this[_0x543a33(0x3d3)](),this[_0x543a33(0x37a)](this[_0x543a33(0x216)][_0x543a33(0x2be)]()),this['_unlockTransition']();}[_0x1a80fc(0x16c)](_0x2cfac7=!0x1){var _0x115e6d=_0x1a80fc;this['_lockTransition'](),this[_0x115e6d(0x37a)](this['_state']['toggleOnline']()),this['_unlockTransition']();const _0x5d4af9=this[_0x115e6d(0x216)];_0x2cfac7&&_0x5d4af9 instanceof exports['SyncedState']&&(this[_0x115e6d(0x3d3)](),this[_0x115e6d(0x37a)](_0x5d4af9[_0x115e6d(0x289)]()),this['_unlockTransition']());}async[_0x1a80fc(0x3df)](){return new Promise(_0x529138=>{var _0xaf9300=_0x2d6f;this[_0xaf9300(0x2a2)][_0xaf9300(0x417)]['pipe'](j[_0xaf9300(0x3d1)](0x1))[_0xaf9300(0x316)](async _0x1f06dd=>{var _0x127555=_0xaf9300;_0x529138(await this[_0x127555(0x19e)](_0x1f06dd===se['ONLINE']));});});}[_0x1a80fc(0x111)](){const _0x1d791a=this['unitID'];return{'onStateChange':(_0x24aedf,_0x40a6f9)=>{var _0x5e36ef=_0x2d6f;if(_0x24aedf!==this['_state'])throw new Error(_0x5e36ef(0x1d7)+_0x24aedf[_0x5e36ef(0x108)]+'\x0aAfter:\x20'+_0x40a6f9[_0x5e36ef(0x108)]+_0x5e36ef(0x232)+this[_0x5e36ef(0x216)][_0x5e36ef(0x108)]);this[_0x5e36ef(0x37a)](_0x40a6f9);},'onSendChangeset':_0x20bbfd=>{var _0x1de931=_0x2d6f;_0x20bbfd[_0x1de931(0x383)]||(_0x20bbfd['sid']=this[_0x1de931(0x166)],_0x20bbfd[_0x1de931(0x3c0)]=++this['_changesetReqId']);const _0x14c7ec={'eventID':g[_0x1de931(0x15b)][_0x1de931(0x28d)],'data':{'unitID':_0x20bbfd[_0x1de931(0x445)],'unitType':this[_0x1de931(0x325)],'changeset':_0x20bbfd,'memberID':this[_0x1de931(0x2a2)][_0x1de931(0x254)]()}};this[_0x1de931(0x2a2)][_0x1de931(0x148)](_0x14c7ec,this[_0x1de931(0x445)]);},'onMissingChangesets':({from:_0x514ddf,to:_0x8aff28})=>{var _0x23ffac=_0x2d6f;this[_0x23ffac(0x1fd)][_0x23ffac(0x227)](_0x23ffac(0x465),_0x23ffac(0x39f)+_0x514ddf+'\x20to\x20'+_0x8aff28);const _0x2c3170={'eventID':g['CollaborationEvent'][_0x23ffac(0x1eb)],'data':{'unitID':_0x1d791a,'unitType':this[_0x23ffac(0x325)],'from':_0x514ddf,'to':_0x8aff28}};this['session'][_0x23ffac(0x148)](_0x2c3170,this[_0x23ffac(0x445)]);}};}async[_0x1a80fc(0x19e)](_0x2769bd){var _0x177818=_0x1a80fc,_0x2931de,_0x138b10,_0x7627ff;const _0x724637=await((_0x2931de=this[_0x177818(0x298)])==null?void 0x0:_0x2931de[_0x177818(0x138)](this[_0x177818(0x445)])),_0xb79057=(_0x138b10=_0x724637==null?void 0x0:_0x724637[_0x177818(0x361)])!=null?_0x138b10:[],_0x26da4a=(_0x7627ff=_0x724637==null?void 0x0:_0x724637[_0x177818(0x1f4)])!=null?_0x7627ff:null,_0x3cb797=!!(_0x26da4a!=null&&_0x26da4a[_0x177818(0x383)])&&!!(_0x26da4a!=null&&_0x26da4a[_0x177818(0x3c0)]);this['_changesetSessionId']=_0x3cb797?_0x26da4a[_0x177818(0x383)]:di(),this['_changesetReqId']=_0x3cb797?_0x26da4a['reqId']:0x0;const _0x18f7e0=this[_0x177818(0x445)];try{this[_0x177818(0x137)](_0x26da4a,_0xb79057);}catch(_0x69c50e){this[_0x177818(0x1fd)][_0x177818(0x1ca)](_0x69c50e);}const _0x34db16=this[_0x177818(0x111)]();if(_0x2769bd){const _0x482113=Dt(this['_injector'],_0x18f7e0,this[_0x177818(0x325)],_0x26da4a,_0xb79057,_0x34db16);return _0x482113 instanceof exports[_0x177818(0x3a0)]?_0x482113[_0x177818(0x24d)]():(_0x482113 instanceof exports[_0x177818(0x461)]||_0x482113 instanceof exports[_0x177818(0x167)])&&_0x482113[_0x177818(0x438)](),_0x482113;}return this['_injector'][_0x177818(0x118)](exports[_0x177818(0x25f)],_0x18f7e0,this[_0x177818(0x325)],_0x26da4a,_0xb79057,_0x34db16);}[_0x1a80fc(0x137)](_0x2c63c9,_0x10cbbd){var _0x348bfa=_0x1a80fc,_0x2d096c,_0x16ca67;const _0x5a9e18=this['_compressMutationService'][_0x348bfa(0x164)][_0x348bfa(0x416)](this[_0x348bfa(0x273)][_0x348bfa(0x164)][_0x348bfa(0x464)]()['COMPRESS_MUTATION_APPLY']);(_0x2d096c=_0x5a9e18((_0x2c63c9==null?void 0x0:_0x2c63c9[_0x348bfa(0x361)])||[],null))==null||_0x2d096c[_0x348bfa(0x32d)](_0x3d3996=>this[_0x348bfa(0x25a)]['executeCommand'](_0x3d3996['id'],_0x3d3996[_0x348bfa(0x371)])),(_0x16ca67=_0x5a9e18(_0x10cbbd||[],null))==null||_0x16ca67[_0x348bfa(0x32d)](_0x8a4673=>this['_commandService'][_0x348bfa(0x44d)](_0x8a4673['id'],_0x8a4673[_0x348bfa(0x371)]));}},exports[_0x1a80fc(0x3a8)]=We([$(0x3,a[_0x1a80fc(0x3e4)](a[_0x1a80fc(0x468)])),$(0x4,a['Inject'](g[_0x1a80fc(0x365)])),$(0x5,a[_0x1a80fc(0x3e4)](a[_0x1a80fc(0x457)])),$(0x6,a[_0x1a80fc(0x3e4)](g['RevisionService'])),$(0x7,a[_0x1a80fc(0x3e4)](te)),$(0x8,a[_0x1a80fc(0x2d9)]),$(0x9,a[_0x1a80fc(0x285)]),$(0xa,a[_0x1a80fc(0x2b4)]),$(0xb,a[_0x1a80fc(0x320)](ve)),$(0xc,a['Optional'](z))],exports[_0x1a80fc(0x3a8)]),exports[_0x1a80fc(0x2f4)]=class extends exports[_0x1a80fc(0x3a8)]{constructor(_0x1b7fc7,_0x363aa3,_0x37fc1a,_0x3d73c0,_0xb49dc2,_0x5769e4,_0x232a2f,_0x3d5a94,_0x5491fe,_0x3a372f,_0x305aa2,_0x42afb6,_0x4cdd78){var _0x69c604=_0x1a80fc;super(_0x1b7fc7,_0x37fc1a,_0x363aa3,_0x3d73c0,_0xb49dc2,_0x5769e4,_0x232a2f,_0x3d5a94,_0x5491fe,_0x3a372f,_0x305aa2,_0x42afb6,_0x4cdd78),A(this,_0x69c604(0x3e6),null),(this[_0x69c604(0x445)]=_0x1b7fc7,this['type']=_0x363aa3);}['addHandlerCallback'](_0x13d90a){this['_handlerCallback']=_0x13d90a;}[_0x1a80fc(0x174)](){var _0x276b67=_0x1a80fc;this['_handlerCallback']=null,super[_0x276b67(0x174)]();}[_0x1a80fc(0x111)](){var _0x57e9e2=_0x1a80fc;const _0x5a7a23=super[_0x57e9e2(0x111)]();return _0x5a7a23[_0x57e9e2(0x251)]=_0x1dd894=>{var _0x1c29b9=_0x57e9e2,_0x297467,_0x2c0323;return(_0x2c0323=(_0x297467=this[_0x1c29b9(0x3e6)])==null?void 0x0:_0x297467['onTransformIME'])==null?void 0x0:_0x2c0323['call'](_0x297467,_0x1dd894);},_0x5a7a23['onTransformState']=_0x47435a=>{var _0x2daca2=_0x57e9e2,_0x4b2ff0,_0x1b6fee;return(_0x1b6fee=(_0x4b2ff0=this['_handlerCallback'])==null?void 0x0:_0x4b2ff0[_0x2daca2(0x261)])==null?void 0x0:_0x1b6fee[_0x2daca2(0x408)](_0x4b2ff0,_0x47435a);},_0x5a7a23[_0x57e9e2(0x3b6)]=_0x1914a7=>{var _0x31fb38=_0x57e9e2,_0x1fda53,_0x1da093;return(_0x1da093=(_0x1fda53=this[_0x31fb38(0x3e6)])==null?void 0x0:_0x1fda53[_0x31fb38(0x3b6)])==null?void 0x0:_0x1da093[_0x31fb38(0x408)](_0x1fda53,_0x1914a7);},_0x5a7a23[_0x57e9e2(0x43b)]=_0x5b4d86=>{var _0x3b92e7=_0x57e9e2,_0x44ed3b,_0x5f3b15;return(_0x5f3b15=(_0x44ed3b=this['_handlerCallback'])==null?void 0x0:_0x44ed3b[_0x3b92e7(0x43b)])==null?void 0x0:_0x5f3b15[_0x3b92e7(0x408)](_0x44ed3b,_0x5b4d86);},_0x5a7a23[_0x57e9e2(0x2ec)]=_0x3dd9a6=>{var _0x3a32b4=_0x57e9e2,_0x36025f,_0x3095bb,_0x51afaa;if(!((_0x36025f=this[_0x3a32b4(0x3e6)])!=null&&_0x36025f[_0x3a32b4(0x2ec)]))throw new Error(_0x3a32b4(0x1f7));return(_0x51afaa=(_0x3095bb=this[_0x3a32b4(0x3e6)])==null?void 0x0:_0x3095bb[_0x3a32b4(0x2ec)])==null?void 0x0:_0x51afaa[_0x3a32b4(0x408)](_0x3095bb,_0x3dd9a6);},_0x5a7a23[_0x57e9e2(0x3e0)]=_0x5302d2=>{var _0x10a672=_0x57e9e2,_0x55eb3b,_0x4f0a6e,_0x3f095a;if(!((_0x55eb3b=this[_0x10a672(0x3e6)])!=null&&_0x55eb3b['onTransformRemoteChangesetByStateCache']))throw new Error(_0x10a672(0x1cf));return(_0x3f095a=(_0x4f0a6e=this[_0x10a672(0x3e6)])==null?void 0x0:_0x4f0a6e[_0x10a672(0x3e0)])==null?void 0x0:_0x3f095a[_0x10a672(0x408)](_0x4f0a6e,_0x5302d2);},_0x5a7a23;}async[_0x1a80fc(0xf2)](){var _0x43a60b=_0x1a80fc;const _0xe44839=await super[_0x43a60b(0xf2)]();return this[_0x43a60b(0x1f5)](this[_0x43a60b(0x25a)][_0x43a60b(0x43f)]((_0x5e1821,_0x4d88c1)=>{var _0x3278a0=_0x43a60b;if(_0x5e1821['type']!==a[_0x3278a0(0x2d1)][_0x3278a0(0x374)]||_0x4d88c1!=null&&_0x4d88c1[_0x3278a0(0x29e)]||_0x4d88c1!=null&&_0x4d88c1['onlyLocal']||_0x5e1821['id']===ut[_0x3278a0(0x112)]['id'])return;const _0x20880d=_0x5e1821['params'];if((_0x20880d==null?void 0x0:_0x20880d[_0x3278a0(0x3aa)])!==this[_0x3278a0(0x445)])return;const _0x142d09=_0x5e1821,_0x225dd8=this[_0x3278a0(0x273)][_0x3278a0(0x164)][_0x3278a0(0x416)](this['_compressMutationService'][_0x3278a0(0x164)][_0x3278a0(0x464)]()[_0x3278a0(0x28f)])([_0x142d09],null)||[_0x142d09];this[_0x3278a0(0x39d)](_0x225dd8[0x0]);})),_0xe44839;}},exports[_0x1a80fc(0x2f4)]=We([$(0x3,a[_0x1a80fc(0x3e4)](a[_0x1a80fc(0x468)])),$(0x4,a[_0x1a80fc(0x3e4)](g[_0x1a80fc(0x365)])),$(0x5,a['Inject'](a[_0x1a80fc(0x457)])),$(0x6,a['Inject'](g[_0x1a80fc(0x12e)])),$(0x7,a[_0x1a80fc(0x3e4)](te)),$(0x8,a['ILogService']),$(0x9,a[_0x1a80fc(0x285)]),$(0xa,a[_0x1a80fc(0x2b4)]),$(0xb,a[_0x1a80fc(0x320)](ve)),$(0xc,a[_0x1a80fc(0x320)](z))],exports[_0x1a80fc(0x2f4)]),exports['SheetCollaborationEntity']=class extends exports[_0x1a80fc(0x3a8)]{constructor(_0x15b9c1,_0x1a1a97,_0x6c1f82,_0x53bd09,_0x58bced,_0xa6a71a,_0x32f1ef,_0x1deead,_0x1fe9bc,_0x4d9ee8,_0x147d1c,_0x186013,_0x531027,_0x140c2c){var _0x1fcaeb=_0x1a80fc;super(_0x15b9c1,_0x6c1f82,_0x1a1a97,_0x53bd09,_0x58bced,_0xa6a71a,_0x32f1ef,_0x1fe9bc,_0x4d9ee8,_0x147d1c,_0x186013,_0x531027,_0x140c2c),this['unitID']=_0x15b9c1,this['type']=_0x1a1a97,this[_0x1fcaeb(0x264)]=_0x1deead;}['_createHandler'](){var _0xc374c2=_0x1a80fc;const _0x18843d=super['_createHandler']();return _0x18843d['onTransformSelections']=_0x5ea5c2=>this[_0xc374c2(0x264)][_0xc374c2(0x367)](_0x5ea5c2),_0x18843d;}async[_0x1a80fc(0xf2)](){var _0x372800=_0x1a80fc;const _0x4b691b=await super[_0x372800(0xf2)]();return this[_0x372800(0x1f5)](this['_commandService'][_0x372800(0x43f)]((_0x2a9433,_0x505fd1)=>{var _0x421cf1=_0x372800;if(_0x2a9433[_0x421cf1(0x2ad)]!==a['CommandType']['MUTATION']||_0x505fd1!=null&&_0x505fd1[_0x421cf1(0x29e)]||_0x505fd1!=null&&_0x505fd1[_0x421cf1(0x39e)])return;const _0x5da87d=_0x2a9433[_0x421cf1(0x371)];if((_0x5da87d==null?void 0x0:_0x5da87d[_0x421cf1(0x3aa)])!==this['unitID'])return;const _0x4fe89f=_0x2a9433,_0x439491=this[_0x421cf1(0x273)][_0x421cf1(0x164)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x421cf1(0x164)]['getInterceptPoints']()[_0x421cf1(0x28f)])([_0x4fe89f],null)||[_0x4fe89f];this[_0x421cf1(0x39d)](_0x439491[0x0]);})),_0x4b691b;}},exports[_0x1a80fc(0x3a5)]=We([$(0x3,a[_0x1a80fc(0x3e4)](a[_0x1a80fc(0x468)])),$(0x4,a[_0x1a80fc(0x3e4)](g[_0x1a80fc(0x365)])),$(0x5,a[_0x1a80fc(0x3e4)](a['LocaleService'])),$(0x6,a[_0x1a80fc(0x3e4)](g[_0x1a80fc(0x12e)])),$(0x7,a[_0x1a80fc(0x3e4)](exports[_0x1a80fc(0x22c)])),$(0x8,a[_0x1a80fc(0x3e4)](te)),$(0x9,a[_0x1a80fc(0x2d9)]),$(0xa,a['ICommandService']),$(0xb,a['IPermissionService']),$(0xc,a[_0x1a80fc(0x320)](ve)),$(0xd,a['Optional'](z))],exports[_0x1a80fc(0x3a5)]);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x542cc9,_0x59d9d9,_0x46b6b8,_0x434ba8)=>{for(var _0x40d8cb=_0x434ba8>0x1?void 0x0:_0x434ba8?Ti(_0x59d9d9,_0x46b6b8):_0x59d9d9,_0x5e0449=_0x542cc9['length']-0x1,_0x4738f3;_0x5e0449>=0x0;_0x5e0449--)(_0x4738f3=_0x542cc9[_0x5e0449])&&(_0x40d8cb=_0x4738f3(_0x40d8cb)||_0x40d8cb);return _0x40d8cb;},Pe=(_0x29e017,_0x5352c1)=>(_0x436def,_0x1254af)=>_0x5352c1(_0x436def,_0x1254af,_0x29e017);exports['CollaborationController']=class extends a[_0x1a80fc(0x302)]{constructor(_0xe68149,_0xc9a1e6,_0x372781){var _0x5653c0=_0x1a80fc;super(),A(this,'_entities',new Map()),A(this,_0x5653c0(0x17a),new j[(_0x5653c0(0x3e7))]()),A(this,'entityInit$',this['_entityInit$'][_0x5653c0(0x141)]()),(this[_0x5653c0(0x373)]=_0xe68149,this[_0x5653c0(0x2bd)]=_0xc9a1e6,this[_0x5653c0(0x225)]=_0x372781,this['_init']());}[_0x1a80fc(0x174)](){var _0x2d673f=_0x1a80fc;super[_0x2d673f(0x174)](),this[_0x2d673f(0x2ab)][_0x2d673f(0x32d)](_0x1f2358=>_0x1f2358['dispose']()),this[_0x2d673f(0x2ab)][_0x2d673f(0x39a)]();}[_0x1a80fc(0x439)](_0xe5813){var _0x2eedbf=_0x1a80fc,_0x431352;return(_0x431352=this[_0x2eedbf(0x2ab)][_0x2eedbf(0xf9)](_0xe5813))!=null?_0x431352:null;}[_0x1a80fc(0x46e)](_0x3bd7a8){var _0x9f8e97=_0x1a80fc;const _0xde2106=this['getCollabEntity'](_0x3bd7a8);return _0xde2106?j['of'](_0xde2106):this[_0x9f8e97(0x17a)][_0x9f8e97(0x152)](V[_0x9f8e97(0x38b)](_0x338e82=>_0x338e82['unitID']===_0x3bd7a8));}[_0x1a80fc(0x170)](_0x3d4bb0){var _0x2fdb06=_0x1a80fc;return j[_0x2fdb06(0x3fd)](this[_0x2fdb06(0x46e)](_0x3d4bb0)[_0x2fdb06(0x152)](V[_0x2fdb06(0x36f)](()=>{})));}[_0x1a80fc(0xf2)](){var _0x5f1929=_0x1a80fc;this[_0x5f1929(0x225)][_0x5f1929(0x3fa)](a['UniverInstanceType']['UNIVER_SHEET'])['pipe'](j[_0x5f1929(0x31f)](this['dispose$']),V['delay'](0x10))[_0x5f1929(0x316)](async _0x3bae57=>{var _0x5a2a75=_0x5f1929;const _0x14d6a6=_0x3bae57[_0x5a2a75(0x14f)](),_0x4dab72=await this[_0x5a2a75(0x32e)](_0x14d6a6,X[_0x5a2a75(0x393)]);this[_0x5a2a75(0x2ab)][_0x5a2a75(0x33d)](_0x14d6a6,_0x4dab72);}),this[_0x5f1929(0x225)]['getTypeOfUnitAdded$'](a[_0x5f1929(0x21d)]['UNIVER_DOC'])[_0x5f1929(0x152)](j[_0x5f1929(0x31f)](this[_0x5f1929(0x19f)]),V['delay'](0x10))['pipe'](V[_0x5f1929(0x38b)](_0x443090=>!_0x443090[_0x5f1929(0x14f)]()[_0x5f1929(0x3c8)]('__')))[_0x5f1929(0x316)](async _0x3a126e=>{var _0x3b1fd5=_0x5f1929;const _0x23d3d8=_0x3a126e[_0x3b1fd5(0x14f)](),_0x2d1d37=await this['_startCollaboration'](_0x23d3d8,X[_0x3b1fd5(0x252)]);this[_0x3b1fd5(0x2ab)][_0x3b1fd5(0x33d)](_0x23d3d8,_0x2d1d37);}),j[_0x5f1929(0x2cd)](this[_0x5f1929(0x225)][_0x5f1929(0x1f9)](a['UniverInstanceType'][_0x5f1929(0x393)]),this['_univerInstanceService'][_0x5f1929(0x1f9)](a['UniverInstanceType'][_0x5f1929(0x252)]))[_0x5f1929(0x152)](j[_0x5f1929(0x31f)](this[_0x5f1929(0x19f)]))[_0x5f1929(0x316)](_0x292cf5=>{var _0xeb6fef=_0x5f1929;const _0x3bea1f=_0x292cf5[_0xeb6fef(0x14f)](),_0x2cd489=this[_0xeb6fef(0x2ab)]['get'](_0x3bea1f);_0x2cd489&&(_0x2cd489[_0xeb6fef(0x174)](),this['_entities'][_0xeb6fef(0x42a)](_0x3bea1f));});}async[_0x1a80fc(0x32e)](_0x5a9925,_0xdc542b){var _0x3749f4=_0x1a80fc;const _0x4e2a8c=await this[_0x3749f4(0x2bd)][_0x3749f4(0x26b)](_0x5a9925),_0xecae=this[_0x3749f4(0x373)][_0x3749f4(0x118)](this[_0x3749f4(0x36a)](_0xdc542b),_0x5a9925,_0xdc542b,_0x4e2a8c);return await _0xecae[_0x3749f4(0x16b)](),this[_0x3749f4(0x17a)][_0x3749f4(0x435)](_0xecae),_0xecae;}[_0x1a80fc(0x36a)](_0x5abd1e){var _0x460947=_0x1a80fc;switch(_0x5abd1e){case X[_0x460947(0x252)]:return exports[_0x460947(0x2f4)];case X[_0x460947(0x393)]:return exports[_0x460947(0x3a5)];default:throw new Error(_0x460947(0x17d)+_0x5abd1e);}}},exports[_0x1a80fc(0x274)]=bi([Pe(0x0,a['Inject'](a[_0x1a80fc(0x468)])),Pe(0x1,a[_0x1a80fc(0x3e4)](exports['CollaborationSessionService'])),Pe(0x2,a['IUniverInstanceService'])],exports[_0x1a80fc(0x274)]);var Ri=Object[_0x1a80fc(0x1dd)],Oi=(_0xcdc067,_0x50f80c,_0x14e6eb,_0x328e5a)=>{for(var _0x5c0184=_0x328e5a>0x1?void 0x0:_0x328e5a?Ri(_0x50f80c,_0x14e6eb):_0x50f80c,_0x5c48a2=_0xcdc067['length']-0x1,_0x299024;_0x5c48a2>=0x0;_0x5c48a2--)(_0x299024=_0xcdc067[_0x5c48a2])&&(_0x5c0184=_0x299024(_0x5c0184)||_0x5c0184);return _0x5c0184;},Je=(_0x49467c,_0x99da06)=>(_0x431d61,_0x54f91b)=>_0x99da06(_0x431d61,_0x54f91b,_0x49467c);const yi=_0x1a80fc(0x24a),Ni='Univer';let He=class extends a[_0x1a80fc(0x188)]{constructor(_0x4950f1,_0x5cb4c3){var _0x34e88f=_0x1a80fc;super(),this[_0x34e88f(0x225)]=_0x4950f1,this[_0x34e88f(0x278)]=_0x5cb4c3,this[_0x34e88f(0xf2)]();}['_init'](){var _0x29ac6a=_0x1a80fc;this[_0x29ac6a(0x1f5)](this[_0x29ac6a(0x225)]['focused$'][_0x29ac6a(0x316)](()=>{var _0x1f4ae9=_0x29ac6a,_0xcdaedf;const _0x2fd7d9=this[_0x1f4ae9(0x225)][_0x1f4ae9(0x150)]();let _0xf0b8a6=(_0xcdaedf=this[_0x1f4ae9(0x278)][_0x1f4ae9(0x133)](yi))!=null?_0xcdaedf:Ni;_0x2fd7d9 instanceof a[_0x1f4ae9(0x283)]&&(_0xf0b8a6=_0x2fd7d9[_0x1f4ae9(0x372)]),document[_0x1f4ae9(0x2e5)]=_0xf0b8a6;}));}};He=Oi([Je(0x0,a[_0x1a80fc(0x1d6)]),Je(0x1,a[_0x1a80fc(0x39b)])],He);var Di=Object[_0x1a80fc(0x1dd)],Ui=(_0x5dbdc9,_0x1ca9ba,_0x4f294d,_0x4c748b)=>{var _0x1a7058=_0x1a80fc;for(var _0x45dcc0=_0x4c748b>0x1?void 0x0:_0x4c748b?Di(_0x1ca9ba,_0x4f294d):_0x1ca9ba,_0x550d7a=_0x5dbdc9[_0x1a7058(0x446)]-0x1,_0x96343b;_0x550d7a>=0x0;_0x550d7a--)(_0x96343b=_0x5dbdc9[_0x550d7a])&&(_0x45dcc0=_0x96343b(_0x45dcc0)||_0x45dcc0);return _0x45dcc0;},we=(_0x139dc7,_0x36a9ee)=>(_0x8a9c94,_0x14225b)=>_0x36a9ee(_0x8a9c94,_0x14225b,_0x139dc7);let ye=class{constructor(_0x1cbc83,_0x12fdd5,_0x47943f){var _0x4d7a08=_0x1a80fc;this[_0x4d7a08(0x278)]=_0x1cbc83,this[_0x4d7a08(0x182)]=_0x12fdd5,this[_0x4d7a08(0x3e8)]=_0x47943f,this[_0x4d7a08(0x16b)]();}['init'](){var _0x373e49=_0x1a80fc;this[_0x373e49(0x182)][_0x373e49(0x21e)]({'priority':0x1,'interceptor':(_0x811066,_0x487f0a)=>_0x487f0a(_0x811066)[_0x373e49(0x152)](j[_0x373e49(0x3d5)](async _0x3206c6=>{var _0x4c6116=_0x373e49;const _0x378d87=_0x3206c6;if(_0x378d87[_0x4c6116(0x108)]===0x191){if(typeof window>'u')throw new Error(_0x4c6116(0x2c8));if(window[_0x4c6116(0x3c3)](this[_0x4c6116(0x3e8)]['t']('auth.needGotoLoginAlert'))){const _0x3c9f5a=window['encodeURIComponent'](window['location']['href']);window[_0x4c6116(0x314)][_0x4c6116(0x2d3)]=this['_getLoginPath']()+_0x4c6116(0x24c)+_0x3c9f5a;}}return _0x378d87;}))});}[_0x1a80fc(0x178)](){var _0x2dddc2=_0x1a80fc,_0x2ff9e0,_0x4cc447;const _0x293ffc=this[_0x2dddc2(0x278)][_0x2dddc2(0x133)](Et),_0x240f9d=this['_configService']['getConfig'](Y);return(_0x4cc447=(_0x2ff9e0=_0x240f9d==null?void 0x0:_0x240f9d[_0x2dddc2(0x3f4)])!=null?_0x2ff9e0:_0x293ffc)!=null?_0x4cc447:Yt;}};ye=Ui([we(0x0,a[_0x1a80fc(0x39b)]),we(0x1,a[_0x1a80fc(0x3e4)](q[_0x1a80fc(0x2c5)])),we(0x2,a[_0x1a80fc(0x3e4)](a[_0x1a80fc(0x457)]))],ye);function _0x2d6f(_0x544f51,_0x299db9){var _0x3005c9=_0x3005();return _0x2d6f=function(_0x2d6f3c,_0x6332cc){_0x2d6f3c=_0x2d6f3c-0xf0;var _0x1abf3f=_0x3005c9[_0x2d6f3c];return _0x1abf3f;},_0x2d6f(_0x544f51,_0x299db9);}var Ai=Object[_0x1a80fc(0x1dd)],Pi=(_0x2b9642,_0x5afbd3,_0x1e3b78,_0x59e8eb)=>{var _0x1ad238=_0x1a80fc;for(var _0x4c32a9=_0x59e8eb>0x1?void 0x0:_0x59e8eb?Ai(_0x5afbd3,_0x1e3b78):_0x5afbd3,_0x320d42=_0x2b9642[_0x1ad238(0x446)]-0x1,_0x3adb5f;_0x320d42>=0x0;_0x320d42--)(_0x3adb5f=_0x2b9642[_0x320d42])&&(_0x4c32a9=_0x3adb5f(_0x4c32a9)||_0x4c32a9);return _0x4c32a9;},Xe=(_0x5aea61,_0x142ff1)=>(_0x71763d,_0x4fc7a4)=>_0x142ff1(_0x71763d,_0x4fc7a4,_0x5aea61);const Ge=_0x1a80fc(0x311),wi=_0x1a80fc(0x136);exports['AuthzIoHttpService']=class extends a[_0x1a80fc(0x188)]{constructor(_0x37e212,_0x23d387){var _0x5e4796=_0x1a80fc;super(),this[_0x5e4796(0x21f)]=_0x37e212,this[_0x5e4796(0x278)]=_0x23d387,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x4e70d2=_0x1a80fc;const _0x301823=this;this['disposeWithMe'](this[_0x4e70d2(0x21f)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0x5b7365){var _0x5b648c=_0x4e70d2,_0x665046;if(_0x5b7365[_0x5b648c(0x2db)]==='POST'&&((_0x665046=_0x5b7365[_0x5b648c(0x3dd)])!=null&&_0x665046[_0x5b648c(0x135)])){const {objectID:_0x23ee5c,objectType:_0x390bb9}=_0x5b7365[_0x5b648c(0x3dd)][_0x5b648c(0x135)]||{};if(!_0x23ee5c||_0x390bb9===void 0x0)return!0x1;const _0x1a1817=_0x301823[_0x5b648c(0x30c)]()+'/'+_0x390bb9+'/object/'+_0x23ee5c+_0x5b648c(0x2f1);if(_0x5b7365['url']===_0x1a1817)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x243eec){var _0x2c4790=_0x4e70d2,_0x4273bd;return(_0x4273bd=_0x243eec[_0x2c4790(0x3dd)])==null?void 0x0:_0x4273bd['body'];},'mergeParamsToRequest'(_0x3bdf75,_0x21e8f9){var _0x5c71a9=_0x4e70d2;const _0x2be02d=_0x301823[_0x5c71a9(0x30c)]()+_0x5c71a9(0x1c1),_0x36a26d=_0x3bdf75[_0x5c71a9(0x290)]((_0x5df67b,_0xb0b89b)=>{var _0x557d24=_0x5c71a9;const {unitID:_0x54fb29,objectID:_0x4d7f7e,objectType:_0x2c6111,actions:_0xd0d2e9}=_0xb0b89b;return _0x5df67b[_0x54fb29]||(_0x5df67b[_0x54fb29]={}),_0x5df67b[_0x54fb29][_0x4d7f7e]||(_0x5df67b[_0x54fb29][_0x4d7f7e]={'objectID':_0x4d7f7e,'objectType':_0x2c6111,'actions':[]}),_0x5df67b[_0x54fb29][_0x4d7f7e][_0x557d24(0x2b0)][_0x557d24(0x242)](..._0xd0d2e9),_0x5df67b;},{}),_0x159a07=[];for(const _0x4e63bf in _0x36a26d)for(const _0x78bb43 in _0x36a26d[_0x4e63bf]){const {actions:_0x2b10da,objectType:_0x179ebb}=_0x36a26d[_0x4e63bf][_0x78bb43],_0x12bd40=[...new Set(_0x2b10da)];_0x159a07[_0x5c71a9(0x242)]({'unitID':_0x4e63bf,'objectID':_0x78bb43,'objectType':_0x179ebb,'actions':_0x12bd40});}return new q[(_0x5c71a9(0x1a6))](_0x5c71a9(0x31d),_0x2be02d,{'headers':_0x21e8f9[_0x5c71a9(0x1e0)],'withCredentials':_0x21e8f9['withCredentials'],'responseType':_0x21e8f9[_0x5c71a9(0x3c7)],'body':{'requests':_0x159a07}});}},{'distributeResult'(_0x45bf15,_0x1e3b3e){var _0x40f807=_0x4e70d2;const {objectActions:_0x3b5b39}=_0x45bf15;return _0x1e3b3e[_0x40f807(0x36f)](_0x4b1d6b=>{var _0x5ea81b=_0x40f807;const {unitID:_0x4a31e7,objectID:_0x178b4e,actions:_0x3f217b}=_0x4b1d6b,_0x1e1c45=_0x3b5b39[_0x5ea81b(0x377)](_0x4733b7=>_0x4733b7[_0x5ea81b(0x445)]===_0x4a31e7&&_0x4733b7[_0x5ea81b(0x219)]===_0x178b4e),_0xf7f390=_0x3f217b['map'](_0xa2307=>_0x1e1c45==null?void 0x0:_0x1e1c45['actions']['find'](_0x52cf12=>_0x52cf12['action']===_0xa2307))[_0x5ea81b(0x38b)](_0x7f9b19=>!!_0x7f9b19);return{'config':_0x4b1d6b,'result':{'actions':_0xf7f390,'error':_0x45bf15['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x51350a=_0x1a80fc,_0x40e818,_0x1f887c;const _0x52159d=this['_configService'][_0x51350a(0x133)](Ge),_0x50d2bd=this[_0x51350a(0x278)][_0x51350a(0x133)](Y);return(_0x1f887c=(_0x40e818=_0x50d2bd==null?void 0x0:_0x50d2bd[_0x51350a(0x129)])!=null?_0x40e818:_0x52159d)!=null?_0x1f887c:wi;}async[_0x1a80fc(0x3ea)](_0x5b65e4){var _0x2a7dee=_0x1a80fc;const _0x173417=this[_0x2a7dee(0x30c)]()+'/'+_0x5b65e4[_0x2a7dee(0x12c)]+_0x2a7dee(0x300);return(await this[_0x2a7dee(0x21f)][_0x2a7dee(0x389)](_0x173417,{'body':_0x5b65e4}))['body'][_0x2a7dee(0x219)]||'';}async[_0x1a80fc(0x28b)](_0x12e16d){var _0x111aa8=_0x1a80fc;const _0x428fba=this['_getAPIPrefixPath']()+_0x111aa8(0x397);return(await this[_0x111aa8(0x21f)][_0x111aa8(0x389)](_0x428fba,{'body':_0x12e16d}))[_0x111aa8(0x135)][_0x111aa8(0x3cf)];}async['update'](_0x3c41e3){var _0x52fe34=_0x1a80fc,_0xcba225,_0x6e78af;const _0x54c31f=this[_0x52fe34(0x30c)]()+'/'+_0x3c41e3[_0x52fe34(0x12c)]+_0x52fe34(0x2d8)+_0x3c41e3[_0x52fe34(0x219)],_0x34e3dd=await this[_0x52fe34(0x21f)][_0x52fe34(0x44f)](_0x54c31f,{'body':_0x3c41e3});if(((_0x6e78af=(_0xcba225=_0x34e3dd==null?void 0x0:_0x34e3dd['body'])==null?void 0x0:_0xcba225['error'])==null?void 0x0:_0x6e78af['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x21704e){var _0x1f28cd=_0x1a80fc;const _0x564cf1=this[_0x1f28cd(0x30c)]()+'/'+_0x21704e[_0x1f28cd(0x12c)]+_0x1f28cd(0x2d8)+_0x21704e[_0x1f28cd(0x219)]+'/allowed';return(await this[_0x1f28cd(0x21f)][_0x1f28cd(0x389)](_0x564cf1,{'body':_0x21704e}))[_0x1f28cd(0x135)][_0x1f28cd(0x2b0)];}async[_0x1a80fc(0x462)](_0x2c3bb0){var _0x238382=_0x1a80fc;const _0x1423ff=this[_0x238382(0x30c)]()+_0x238382(0x1c1);return(await this['_HTTPService'][_0x238382(0x389)](_0x1423ff,{'body':{'requests':_0x2c3bb0}}))['body'][_0x238382(0x304)];}async[_0x1a80fc(0x11c)](_0x103acc){var _0x48d01a=_0x1a80fc;const _0x830325=this[_0x48d01a(0x30c)]()+'/'+_0x103acc[_0x48d01a(0x12c)]+_0x48d01a(0x366),_0x30cbd7=await this[_0x48d01a(0x21f)]['post'](_0x830325,{'body':_0x103acc});return{'roles':_0x30cbd7[_0x48d01a(0x135)][_0x48d01a(0x20a)],'actions':_0x30cbd7[_0x48d01a(0x135)][_0x48d01a(0x2b0)]};}async[_0x1a80fc(0x3d0)](_0x59ec34){var _0x1e6e12=_0x1a80fc;const _0x3d2cc6=this[_0x1e6e12(0x30c)]()+_0x1e6e12(0x186);await this[_0x1e6e12(0x21f)][_0x1e6e12(0x42a)](_0x3d2cc6,{'params':{'collaboratorID':_0x59ec34['collaboratorID'],'objectID':_0x59ec34[_0x1e6e12(0x219)],'unitID':_0x59ec34[_0x1e6e12(0x445)]}});}async[_0x1a80fc(0x25c)](_0x1ccdcd){var _0x4621b6=_0x1a80fc;const _0x1069ed=this[_0x4621b6(0x30c)]()+'/collaborator';await this[_0x4621b6(0x21f)][_0x4621b6(0x236)](_0x1069ed,{'body':_0x1ccdcd});}async[_0x1a80fc(0x1cc)](_0x543471){var _0x41c620=_0x1a80fc;const _0x1187e7=this[_0x41c620(0x30c)]()+_0x41c620(0x186);await this[_0x41c620(0x21f)][_0x41c620(0x389)](_0x1187e7,{'body':_0x543471});}async[_0x1a80fc(0x146)](_0x3a09d7){var _0x4b43fc=_0x1a80fc;const _0x55938c=this['_getAPIPrefixPath']()+_0x4b43fc(0x186);return(await this[_0x4b43fc(0x21f)][_0x4b43fc(0xf9)](_0x55938c,{'params':{'objectID':_0x3a09d7[_0x4b43fc(0x219)],'unitID':_0x3a09d7[_0x4b43fc(0x445)]}}))[_0x4b43fc(0x135)][_0x4b43fc(0x199)];}async['putCollaborators'](_0x179b63){var _0x27dacc=_0x1a80fc;const _0x4de05d=this[_0x27dacc(0x30c)]()+_0x27dacc(0x186);await this[_0x27dacc(0x21f)][_0x27dacc(0x44f)](_0x4de05d,{'body':_0x179b63});}},exports[_0x1a80fc(0x1ee)]=Pi([Xe(0x0,a[_0x1a80fc(0x3e4)](q[_0x1a80fc(0x2c5)])),Xe(0x1,a[_0x1a80fc(0x3e4)](a[_0x1a80fc(0x39b)]))],exports[_0x1a80fc(0x1ee)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x3f60e0){var _0xfc1a36=_0x1a80fc;return _0x3f60e0&&_0x3f60e0[_0xfc1a36(0x2ce)]&&Object['prototype'][_0xfc1a36(0x2fe)][_0xfc1a36(0x408)](_0x3f60e0,_0xfc1a36(0x356))?_0x3f60e0['default']:_0x3f60e0;}var fe={'exports':{}};function Li(_0x435559){var _0x1ab6bf=_0x1a80fc;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x435559+_0x1ab6bf(0x3cc));}var pe={'exports':{}},Mi=pe[_0x1a80fc(0x153)],Ze;function ee(){var _0x364384=_0x1a80fc;return Ze||(Ze=0x1,function(_0x4bcf03,_0x21bd10){(function(_0x8bd50c,_0x57bbb8){_0x4bcf03['exports']=_0x57bbb8();}(Mi,function(){var _0x3ebead=_0x3ebead||function(_0x2288f9,_0x3222ec){var _0x93c35a=_0x2d6f,_0x2146d4;if(typeof window<'u'&&window[_0x93c35a(0x29c)]&&(_0x2146d4=window[_0x93c35a(0x29c)]),typeof self<'u'&&self[_0x93c35a(0x29c)]&&(_0x2146d4=self[_0x93c35a(0x29c)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2146d4=globalThis[_0x93c35a(0x29c)]),!_0x2146d4&&typeof window<'u'&&window[_0x93c35a(0x1d2)]&&(_0x2146d4=window['msCrypto']),!_0x2146d4&&typeof Le<'u'&&Le[_0x93c35a(0x29c)]&&(_0x2146d4=Le['crypto']),!_0x2146d4&&typeof Li==_0x93c35a(0x276))try{_0x2146d4=require(_0x93c35a(0x29c));}catch{}var _0x50aa85=function(){var _0x11448f=_0x93c35a;if(_0x2146d4){if(typeof _0x2146d4[_0x11448f(0x2fd)]=='function')try{return _0x2146d4['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2146d4[_0x11448f(0x210)]=='function')try{return _0x2146d4[_0x11448f(0x210)](0x4)[_0x11448f(0x214)]();}catch{}}throw new Error(_0x11448f(0x3f7));},_0x159c7a=Object[_0x93c35a(0x3ea)]||(function(){function _0x46ddfb(){}return function(_0x565ac7){var _0x33072b=_0x2d6f,_0x13a839;return _0x46ddfb['prototype']=_0x565ac7,_0x13a839=new _0x46ddfb(),_0x46ddfb[_0x33072b(0x203)]=null,_0x13a839;};}()),_0x57de0a={},_0x4a1d04=_0x57de0a[_0x93c35a(0x145)]={},_0x5214b7=_0x4a1d04[_0x93c35a(0x381)]=(function(){return{'extend':function(_0x32daaf){var _0x1a6a35=_0x2d6f,_0x389e84=_0x159c7a(this);return _0x32daaf&&_0x389e84['mixIn'](_0x32daaf),(!_0x389e84[_0x1a6a35(0x2fe)](_0x1a6a35(0x16b))||this[_0x1a6a35(0x16b)]===_0x389e84[_0x1a6a35(0x16b)])&&(_0x389e84[_0x1a6a35(0x16b)]=function(){var _0x58a99a=_0x1a6a35;_0x389e84[_0x58a99a(0x104)][_0x58a99a(0x16b)][_0x58a99a(0x45a)](this,arguments);}),_0x389e84[_0x1a6a35(0x16b)][_0x1a6a35(0x203)]=_0x389e84,_0x389e84[_0x1a6a35(0x104)]=this,_0x389e84;},'create':function(){var _0x300db9=_0x2d6f,_0x4e01d3=this['extend']();return _0x4e01d3['init'][_0x300db9(0x45a)](_0x4e01d3,arguments),_0x4e01d3;},'init':function(){},'mixIn':function(_0x3ac244){var _0x41ee99=_0x2d6f;for(var _0x4459f1 in _0x3ac244)_0x3ac244[_0x41ee99(0x2fe)](_0x4459f1)&&(this[_0x4459f1]=_0x3ac244[_0x4459f1]);_0x3ac244['hasOwnProperty']('toString')&&(this[_0x41ee99(0x159)]=_0x3ac244[_0x41ee99(0x159)]);},'clone':function(){var _0x4a64a8=_0x2d6f;return this['init'][_0x4a64a8(0x203)]['extend'](this);}};}()),_0x3d0e3a=_0x4a1d04[_0x93c35a(0x427)]=_0x5214b7[_0x93c35a(0x385)]({'init':function(_0xd5908e,_0xd7a35d){var _0x92154e=_0x93c35a;_0xd5908e=this[_0x92154e(0x26e)]=_0xd5908e||[],_0xd7a35d!=_0x3222ec?this[_0x92154e(0x2ac)]=_0xd7a35d:this[_0x92154e(0x2ac)]=_0xd5908e['length']*0x4;},'toString':function(_0x2b743c){var _0x1b8b71=_0x93c35a;return(_0x2b743c||_0x259a4b)[_0x1b8b71(0x447)](this);},'concat':function(_0x360c18){var _0x3c15b5=_0x93c35a,_0x1a5ac5=this['words'],_0x45f700=_0x360c18[_0x3c15b5(0x26e)],_0x2a5b26=this['sigBytes'],_0x330154=_0x360c18[_0x3c15b5(0x2ac)];if(this[_0x3c15b5(0x245)](),_0x2a5b26%0x4)for(var _0xa0bd15=0x0;_0xa0bd15<_0x330154;_0xa0bd15++){var _0x3c814a=_0x45f700[_0xa0bd15>>>0x2]>>>0x18-_0xa0bd15%0x4*0x8&0xff;_0x1a5ac5[_0x2a5b26+_0xa0bd15>>>0x2]|=_0x3c814a<<0x18-(_0x2a5b26+_0xa0bd15)%0x4*0x8;}else{for(var _0x339702=0x0;_0x339702<_0x330154;_0x339702+=0x4)_0x1a5ac5[_0x2a5b26+_0x339702>>>0x2]=_0x45f700[_0x339702>>>0x2];}return this[_0x3c15b5(0x2ac)]+=_0x330154,this;},'clamp':function(){var _0x4a4b32=_0x93c35a,_0x3ad1fb=this['words'],_0x1a48c9=this['sigBytes'];_0x3ad1fb[_0x1a48c9>>>0x2]&=0xffffffff<<0x20-_0x1a48c9%0x4*0x8,_0x3ad1fb[_0x4a4b32(0x446)]=_0x2288f9[_0x4a4b32(0x247)](_0x1a48c9/0x4);},'clone':function(){var _0x445dbd=_0x93c35a,_0x4fb87a=_0x5214b7[_0x445dbd(0x41e)][_0x445dbd(0x408)](this);return _0x4fb87a['words']=this[_0x445dbd(0x26e)][_0x445dbd(0x2f7)](0x0),_0x4fb87a;},'random':function(_0xc6862){var _0x259d9b=_0x93c35a;for(var _0xab63cb=[],_0x50c6d4=0x0;_0x50c6d4<_0xc6862;_0x50c6d4+=0x4)_0xab63cb[_0x259d9b(0x242)](_0x50aa85());return new _0x3d0e3a[(_0x259d9b(0x16b))](_0xab63cb,_0xc6862);}}),_0x4766fb=_0x57de0a['enc']={},_0x259a4b=_0x4766fb[_0x93c35a(0x14b)]={'stringify':function(_0x468b30){var _0x3b4299=_0x93c35a;for(var _0x17a1e0=_0x468b30[_0x3b4299(0x26e)],_0x4030f5=_0x468b30[_0x3b4299(0x2ac)],_0x580845=[],_0xc3df83=0x0;_0xc3df83<_0x4030f5;_0xc3df83++){var _0x5e8816=_0x17a1e0[_0xc3df83>>>0x2]>>>0x18-_0xc3df83%0x4*0x8&0xff;_0x580845[_0x3b4299(0x242)]((_0x5e8816>>>0x4)[_0x3b4299(0x159)](0x10)),_0x580845[_0x3b4299(0x242)]((_0x5e8816&0xf)['toString'](0x10));}return _0x580845[_0x3b4299(0x45d)]('');},'parse':function(_0x35774e){var _0x486b0f=_0x93c35a;for(var _0x1babb6=_0x35774e[_0x486b0f(0x446)],_0x294b8f=[],_0x245506=0x0;_0x245506<_0x1babb6;_0x245506+=0x2)_0x294b8f[_0x245506>>>0x3]|=parseInt(_0x35774e['substr'](_0x245506,0x2),0x10)<<0x18-_0x245506%0x8*0x4;return new _0x3d0e3a[(_0x486b0f(0x16b))](_0x294b8f,_0x1babb6/0x2);}},_0x3b68b3=_0x4766fb[_0x93c35a(0x328)]={'stringify':function(_0x25effd){var _0x2d4eb6=_0x93c35a;for(var _0x526f1e=_0x25effd[_0x2d4eb6(0x26e)],_0xd10c13=_0x25effd[_0x2d4eb6(0x2ac)],_0x57d17=[],_0xa519f=0x0;_0xa519f<_0xd10c13;_0xa519f++){var _0x374278=_0x526f1e[_0xa519f>>>0x2]>>>0x18-_0xa519f%0x4*0x8&0xff;_0x57d17[_0x2d4eb6(0x242)](String[_0x2d4eb6(0x19b)](_0x374278));}return _0x57d17[_0x2d4eb6(0x45d)]('');},'parse':function(_0x2f6314){var _0x40b808=_0x93c35a;for(var _0x165678=_0x2f6314['length'],_0xcd9439=[],_0x133637=0x0;_0x133637<_0x165678;_0x133637++)_0xcd9439[_0x133637>>>0x2]|=(_0x2f6314[_0x40b808(0x130)](_0x133637)&0xff)<<0x18-_0x133637%0x4*0x8;return new _0x3d0e3a['init'](_0xcd9439,_0x165678);}},_0x4cd1c9=_0x4766fb[_0x93c35a(0x297)]={'stringify':function(_0x444884){var _0x5158ff=_0x93c35a;try{return decodeURIComponent(escape(_0x3b68b3[_0x5158ff(0x447)](_0x444884)));}catch{throw new Error(_0x5158ff(0x305));}},'parse':function(_0x52d092){var _0x56f8d5=_0x93c35a;return _0x3b68b3[_0x56f8d5(0x250)](unescape(encodeURIComponent(_0x52d092)));}},_0x2f0bd=_0x4a1d04[_0x93c35a(0x376)]=_0x5214b7[_0x93c35a(0x385)]({'reset':function(){var _0x16a6c4=_0x93c35a;this[_0x16a6c4(0x352)]=new _0x3d0e3a['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x55d0b0){var _0x16a8bc=_0x93c35a;typeof _0x55d0b0==_0x16a8bc(0x1f8)&&(_0x55d0b0=_0x4cd1c9[_0x16a8bc(0x250)](_0x55d0b0)),this[_0x16a8bc(0x352)][_0x16a8bc(0x149)](_0x55d0b0),this[_0x16a8bc(0x451)]+=_0x55d0b0[_0x16a8bc(0x2ac)];},'_process':function(_0x18b80a){var _0x3f8a28=_0x93c35a,_0x30467b,_0x72fc71=this[_0x3f8a28(0x352)],_0x50a8b1=_0x72fc71['words'],_0x1a8e5c=_0x72fc71[_0x3f8a28(0x2ac)],_0x323bfc=this[_0x3f8a28(0x15a)],_0x14aba0=_0x323bfc*0x4,_0x27c10b=_0x1a8e5c/_0x14aba0;_0x18b80a?_0x27c10b=_0x2288f9[_0x3f8a28(0x247)](_0x27c10b):_0x27c10b=_0x2288f9[_0x3f8a28(0x402)]((_0x27c10b|0x0)-this['_minBufferSize'],0x0);var _0x3e2d06=_0x27c10b*_0x323bfc,_0x297bf9=_0x2288f9[_0x3f8a28(0x339)](_0x3e2d06*0x4,_0x1a8e5c);if(_0x3e2d06){for(var _0xa53f33=0x0;_0xa53f33<_0x3e2d06;_0xa53f33+=_0x323bfc)this[_0x3f8a28(0x1e8)](_0x50a8b1,_0xa53f33);_0x30467b=_0x50a8b1[_0x3f8a28(0x2de)](0x0,_0x3e2d06),_0x72fc71['sigBytes']-=_0x297bf9;}return new _0x3d0e3a[(_0x3f8a28(0x16b))](_0x30467b,_0x297bf9);},'clone':function(){var _0x1f0cf3=_0x93c35a,_0x25558e=_0x5214b7[_0x1f0cf3(0x41e)][_0x1f0cf3(0x408)](this);return _0x25558e[_0x1f0cf3(0x352)]=this[_0x1f0cf3(0x352)][_0x1f0cf3(0x41e)](),_0x25558e;},'_minBufferSize':0x0});_0x4a1d04[_0x93c35a(0x184)]=_0x2f0bd[_0x93c35a(0x385)]({'cfg':_0x5214b7[_0x93c35a(0x385)](),'init':function(_0x3feeb9){var _0x3992ec=_0x93c35a;this[_0x3992ec(0x23f)]=this[_0x3992ec(0x23f)]['extend'](_0x3feeb9),this[_0x3992ec(0x456)]();},'reset':function(){var _0x1fbd3f=_0x93c35a;_0x2f0bd[_0x1fbd3f(0x456)][_0x1fbd3f(0x408)](this),this[_0x1fbd3f(0x3d4)]();},'update':function(_0x3154aa){var _0x3f22a8=_0x93c35a;return this[_0x3f22a8(0x27f)](_0x3154aa),this[_0x3f22a8(0x2e0)](),this;},'finalize':function(_0x398a59){var _0x2f3bac=_0x93c35a;_0x398a59&&this[_0x2f3bac(0x27f)](_0x398a59);var _0x1137cc=this[_0x2f3bac(0x12d)]();return _0x1137cc;},'blockSize':0x10,'_createHelper':function(_0x44a005){return function(_0x298fc5,_0x34c52a){var _0x161439=_0x2d6f;return new _0x44a005[(_0x161439(0x16b))](_0x34c52a)[_0x161439(0x34f)](_0x298fc5);};},'_createHmacHelper':function(_0x466380){return function(_0x3cf953,_0x549c17){var _0x38fa37=_0x2d6f;return new _0x14cd26['HMAC'][(_0x38fa37(0x16b))](_0x466380,_0x549c17)[_0x38fa37(0x34f)](_0x3cf953);};}});var _0x14cd26=_0x57de0a[_0x93c35a(0x394)]={};return _0x57de0a;}(Math);return _0x3ebead;}));}(pe)),pe[_0x364384(0x153)];}var ge={'exports':{}},xi=ge['exports'],Qe;function Ut(){var _0xc8b6ba=_0x1a80fc;return Qe||(Qe=0x1,function(_0x467bc0,_0x256a6e){(function(_0x49373d,_0x5eaab1){_0x467bc0['exports']=_0x5eaab1(ee());}(xi,function(_0x39c4d9){var _0x445abf=_0x2d6f;return(function(){var _0x8b3eb7=_0x2d6f,_0x4b9b7b=_0x39c4d9,_0x29b173=_0x4b9b7b[_0x8b3eb7(0x145)],_0x178f42=_0x29b173[_0x8b3eb7(0x427)],_0x4d3504=_0x4b9b7b['enc'];_0x4d3504[_0x8b3eb7(0x3ff)]={'stringify':function(_0x463d80){var _0x3a1eb8=_0x8b3eb7,_0x1e4f1d=_0x463d80[_0x3a1eb8(0x26e)],_0x4be62a=_0x463d80[_0x3a1eb8(0x2ac)],_0x154fce=this[_0x3a1eb8(0x1b6)];_0x463d80[_0x3a1eb8(0x245)]();for(var _0x286dc6=[],_0x4fc50e=0x0;_0x4fc50e<_0x4be62a;_0x4fc50e+=0x3)for(var _0x411d8e=_0x1e4f1d[_0x4fc50e>>>0x2]>>>0x18-_0x4fc50e%0x4*0x8&0xff,_0x33bfea=_0x1e4f1d[_0x4fc50e+0x1>>>0x2]>>>0x18-(_0x4fc50e+0x1)%0x4*0x8&0xff,_0x100f7d=_0x1e4f1d[_0x4fc50e+0x2>>>0x2]>>>0x18-(_0x4fc50e+0x2)%0x4*0x8&0xff,_0x150d39=_0x411d8e<<0x10|_0x33bfea<<0x8|_0x100f7d,_0x1157f2=0x0;_0x1157f2<0x4&&_0x4fc50e+_0x1157f2*0.75<_0x4be62a;_0x1157f2++)_0x286dc6[_0x3a1eb8(0x242)](_0x154fce['charAt'](_0x150d39>>>0x6*(0x3-_0x1157f2)&0x3f));var _0xda2828=_0x154fce[_0x3a1eb8(0x31a)](0x40);if(_0xda2828){for(;_0x286dc6['length']%0x4;)_0x286dc6['push'](_0xda2828);}return _0x286dc6['join']('');},'parse':function(_0x5500f8){var _0x190485=_0x8b3eb7,_0x21be9e=_0x5500f8[_0x190485(0x446)],_0x1c6ab3=this[_0x190485(0x1b6)],_0x100310=this[_0x190485(0x443)];if(!_0x100310){_0x100310=this['_reverseMap']=[];for(var _0x1f03eb=0x0;_0x1f03eb<_0x1c6ab3[_0x190485(0x446)];_0x1f03eb++)_0x100310[_0x1c6ab3[_0x190485(0x130)](_0x1f03eb)]=_0x1f03eb;}var _0x16f025=_0x1c6ab3[_0x190485(0x31a)](0x40);if(_0x16f025){var _0x592874=_0x5500f8['indexOf'](_0x16f025);_0x592874!==-0x1&&(_0x21be9e=_0x592874);}return _0x1be01c(_0x5500f8,_0x21be9e,_0x100310);},'_map':_0x8b3eb7(0x32c)};function _0x1be01c(_0x5d9ac2,_0x51864d,_0x4e437e){var _0x2468de=_0x8b3eb7;for(var _0x3d5e1e=[],_0x5e0705=0x0,_0x45c20b=0x0;_0x45c20b<_0x51864d;_0x45c20b++)if(_0x45c20b%0x4){var _0x1a95eb=_0x4e437e[_0x5d9ac2['charCodeAt'](_0x45c20b-0x1)]<<_0x45c20b%0x4*0x2,_0x7d84f7=_0x4e437e[_0x5d9ac2['charCodeAt'](_0x45c20b)]>>>0x6-_0x45c20b%0x4*0x2,_0xb4622=_0x1a95eb|_0x7d84f7;_0x3d5e1e[_0x5e0705>>>0x2]|=_0xb4622<<0x18-_0x5e0705%0x4*0x8,_0x5e0705++;}return _0x178f42[_0x2468de(0x3ea)](_0x3d5e1e,_0x5e0705);}}()),_0x39c4d9[_0x445abf(0x1fb)][_0x445abf(0x3ff)];}));}(ge)),ge[_0xc8b6ba(0x153)];}var me={'exports':{}},ki=me['exports'],et;function Hi(){return et||(et=0x1,function(_0x3d6d71,_0x49a785){(function(_0xe6ed3d,_0x26ee5f){var _0x108a18=_0x2d6f;_0x3d6d71[_0x108a18(0x153)]=_0x26ee5f(ee());}(ki,function(_0x36b8d3){var _0x4c1d3e=_0x2d6f;return function(_0x395c95){var _0x411f18=_0x2d6f,_0x1641ff=_0x36b8d3,_0x140c3b=_0x1641ff[_0x411f18(0x145)],_0x212aa5=_0x140c3b[_0x411f18(0x427)],_0x10cf57=_0x140c3b[_0x411f18(0x184)],_0x15e50d=_0x1641ff['algo'],_0x1b249a=[];(function(){var _0x48f0dc=_0x411f18;for(var _0xb932c4=0x0;_0xb932c4<0x40;_0xb932c4++)_0x1b249a[_0xb932c4]=_0x395c95[_0x48f0dc(0x392)](_0x395c95[_0x48f0dc(0x255)](_0xb932c4+0x1))*0x100000000|0x0;}());var _0xd2749=_0x15e50d[_0x411f18(0x1db)]=_0x10cf57[_0x411f18(0x385)]({'_doReset':function(){var _0x585fb8=_0x411f18;this[_0x585fb8(0x22d)]=new _0x212aa5['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4dc9a1,_0x572eb9){var _0x2c1086=_0x411f18;for(var _0x3b5862=0x0;_0x3b5862<0x10;_0x3b5862++){var _0xa14944=_0x572eb9+_0x3b5862,_0x48ee02=_0x4dc9a1[_0xa14944];_0x4dc9a1[_0xa14944]=(_0x48ee02<<0x8|_0x48ee02>>>0x18)&0xff00ff|(_0x48ee02<<0x18|_0x48ee02>>>0x8)&0xff00ff00;}var _0x1e8851=this['_hash'][_0x2c1086(0x26e)],_0x36556d=_0x4dc9a1[_0x572eb9+0x0],_0x5ea316=_0x4dc9a1[_0x572eb9+0x1],_0x294a13=_0x4dc9a1[_0x572eb9+0x2],_0x4b5be9=_0x4dc9a1[_0x572eb9+0x3],_0x2b974b=_0x4dc9a1[_0x572eb9+0x4],_0xc93840=_0x4dc9a1[_0x572eb9+0x5],_0x1cf352=_0x4dc9a1[_0x572eb9+0x6],_0x24e116=_0x4dc9a1[_0x572eb9+0x7],_0x3c6566=_0x4dc9a1[_0x572eb9+0x8],_0x26cd62=_0x4dc9a1[_0x572eb9+0x9],_0x5218af=_0x4dc9a1[_0x572eb9+0xa],_0x13cd03=_0x4dc9a1[_0x572eb9+0xb],_0x2062e9=_0x4dc9a1[_0x572eb9+0xc],_0x5cb30b=_0x4dc9a1[_0x572eb9+0xd],_0x52eb08=_0x4dc9a1[_0x572eb9+0xe],_0xa9abec=_0x4dc9a1[_0x572eb9+0xf],_0x37f6e8=_0x1e8851[0x0],_0x472c83=_0x1e8851[0x1],_0x3d8b49=_0x1e8851[0x2],_0x326558=_0x1e8851[0x3];_0x37f6e8=_0x2cfedf(_0x37f6e8,_0x472c83,_0x3d8b49,_0x326558,_0x36556d,0x7,_0x1b249a[0x0]),_0x326558=_0x2cfedf(_0x326558,_0x37f6e8,_0x472c83,_0x3d8b49,_0x5ea316,0xc,_0x1b249a[0x1]),_0x3d8b49=_0x2cfedf(_0x3d8b49,_0x326558,_0x37f6e8,_0x472c83,_0x294a13,0x11,_0x1b249a[0x2]),_0x472c83=_0x2cfedf(_0x472c83,_0x3d8b49,_0x326558,_0x37f6e8,_0x4b5be9,0x16,_0x1b249a[0x3]),_0x37f6e8=_0x2cfedf(_0x37f6e8,_0x472c83,_0x3d8b49,_0x326558,_0x2b974b,0x7,_0x1b249a[0x4]),_0x326558=_0x2cfedf(_0x326558,_0x37f6e8,_0x472c83,_0x3d8b49,_0xc93840,0xc,_0x1b249a[0x5]),_0x3d8b49=_0x2cfedf(_0x3d8b49,_0x326558,_0x37f6e8,_0x472c83,_0x1cf352,0x11,_0x1b249a[0x6]),_0x472c83=_0x2cfedf(_0x472c83,_0x3d8b49,_0x326558,_0x37f6e8,_0x24e116,0x16,_0x1b249a[0x7]),_0x37f6e8=_0x2cfedf(_0x37f6e8,_0x472c83,_0x3d8b49,_0x326558,_0x3c6566,0x7,_0x1b249a[0x8]),_0x326558=_0x2cfedf(_0x326558,_0x37f6e8,_0x472c83,_0x3d8b49,_0x26cd62,0xc,_0x1b249a[0x9]),_0x3d8b49=_0x2cfedf(_0x3d8b49,_0x326558,_0x37f6e8,_0x472c83,_0x5218af,0x11,_0x1b249a[0xa]),_0x472c83=_0x2cfedf(_0x472c83,_0x3d8b49,_0x326558,_0x37f6e8,_0x13cd03,0x16,_0x1b249a[0xb]),_0x37f6e8=_0x2cfedf(_0x37f6e8,_0x472c83,_0x3d8b49,_0x326558,_0x2062e9,0x7,_0x1b249a[0xc]),_0x326558=_0x2cfedf(_0x326558,_0x37f6e8,_0x472c83,_0x3d8b49,_0x5cb30b,0xc,_0x1b249a[0xd]),_0x3d8b49=_0x2cfedf(_0x3d8b49,_0x326558,_0x37f6e8,_0x472c83,_0x52eb08,0x11,_0x1b249a[0xe]),_0x472c83=_0x2cfedf(_0x472c83,_0x3d8b49,_0x326558,_0x37f6e8,_0xa9abec,0x16,_0x1b249a[0xf]),_0x37f6e8=_0x1a0830(_0x37f6e8,_0x472c83,_0x3d8b49,_0x326558,_0x5ea316,0x5,_0x1b249a[0x10]),_0x326558=_0x1a0830(_0x326558,_0x37f6e8,_0x472c83,_0x3d8b49,_0x1cf352,0x9,_0x1b249a[0x11]),_0x3d8b49=_0x1a0830(_0x3d8b49,_0x326558,_0x37f6e8,_0x472c83,_0x13cd03,0xe,_0x1b249a[0x12]),_0x472c83=_0x1a0830(_0x472c83,_0x3d8b49,_0x326558,_0x37f6e8,_0x36556d,0x14,_0x1b249a[0x13]),_0x37f6e8=_0x1a0830(_0x37f6e8,_0x472c83,_0x3d8b49,_0x326558,_0xc93840,0x5,_0x1b249a[0x14]),_0x326558=_0x1a0830(_0x326558,_0x37f6e8,_0x472c83,_0x3d8b49,_0x5218af,0x9,_0x1b249a[0x15]),_0x3d8b49=_0x1a0830(_0x3d8b49,_0x326558,_0x37f6e8,_0x472c83,_0xa9abec,0xe,_0x1b249a[0x16]),_0x472c83=_0x1a0830(_0x472c83,_0x3d8b49,_0x326558,_0x37f6e8,_0x2b974b,0x14,_0x1b249a[0x17]),_0x37f6e8=_0x1a0830(_0x37f6e8,_0x472c83,_0x3d8b49,_0x326558,_0x26cd62,0x5,_0x1b249a[0x18]),_0x326558=_0x1a0830(_0x326558,_0x37f6e8,_0x472c83,_0x3d8b49,_0x52eb08,0x9,_0x1b249a[0x19]),_0x3d8b49=_0x1a0830(_0x3d8b49,_0x326558,_0x37f6e8,_0x472c83,_0x4b5be9,0xe,_0x1b249a[0x1a]),_0x472c83=_0x1a0830(_0x472c83,_0x3d8b49,_0x326558,_0x37f6e8,_0x3c6566,0x14,_0x1b249a[0x1b]),_0x37f6e8=_0x1a0830(_0x37f6e8,_0x472c83,_0x3d8b49,_0x326558,_0x5cb30b,0x5,_0x1b249a[0x1c]),_0x326558=_0x1a0830(_0x326558,_0x37f6e8,_0x472c83,_0x3d8b49,_0x294a13,0x9,_0x1b249a[0x1d]),_0x3d8b49=_0x1a0830(_0x3d8b49,_0x326558,_0x37f6e8,_0x472c83,_0x24e116,0xe,_0x1b249a[0x1e]),_0x472c83=_0x1a0830(_0x472c83,_0x3d8b49,_0x326558,_0x37f6e8,_0x2062e9,0x14,_0x1b249a[0x1f]),_0x37f6e8=_0x1a6b95(_0x37f6e8,_0x472c83,_0x3d8b49,_0x326558,_0xc93840,0x4,_0x1b249a[0x20]),_0x326558=_0x1a6b95(_0x326558,_0x37f6e8,_0x472c83,_0x3d8b49,_0x3c6566,0xb,_0x1b249a[0x21]),_0x3d8b49=_0x1a6b95(_0x3d8b49,_0x326558,_0x37f6e8,_0x472c83,_0x13cd03,0x10,_0x1b249a[0x22]),_0x472c83=_0x1a6b95(_0x472c83,_0x3d8b49,_0x326558,_0x37f6e8,_0x52eb08,0x17,_0x1b249a[0x23]),_0x37f6e8=_0x1a6b95(_0x37f6e8,_0x472c83,_0x3d8b49,_0x326558,_0x5ea316,0x4,_0x1b249a[0x24]),_0x326558=_0x1a6b95(_0x326558,_0x37f6e8,_0x472c83,_0x3d8b49,_0x2b974b,0xb,_0x1b249a[0x25]),_0x3d8b49=_0x1a6b95(_0x3d8b49,_0x326558,_0x37f6e8,_0x472c83,_0x24e116,0x10,_0x1b249a[0x26]),_0x472c83=_0x1a6b95(_0x472c83,_0x3d8b49,_0x326558,_0x37f6e8,_0x5218af,0x17,_0x1b249a[0x27]),_0x37f6e8=_0x1a6b95(_0x37f6e8,_0x472c83,_0x3d8b49,_0x326558,_0x5cb30b,0x4,_0x1b249a[0x28]),_0x326558=_0x1a6b95(_0x326558,_0x37f6e8,_0x472c83,_0x3d8b49,_0x36556d,0xb,_0x1b249a[0x29]),_0x3d8b49=_0x1a6b95(_0x3d8b49,_0x326558,_0x37f6e8,_0x472c83,_0x4b5be9,0x10,_0x1b249a[0x2a]),_0x472c83=_0x1a6b95(_0x472c83,_0x3d8b49,_0x326558,_0x37f6e8,_0x1cf352,0x17,_0x1b249a[0x2b]),_0x37f6e8=_0x1a6b95(_0x37f6e8,_0x472c83,_0x3d8b49,_0x326558,_0x26cd62,0x4,_0x1b249a[0x2c]),_0x326558=_0x1a6b95(_0x326558,_0x37f6e8,_0x472c83,_0x3d8b49,_0x2062e9,0xb,_0x1b249a[0x2d]),_0x3d8b49=_0x1a6b95(_0x3d8b49,_0x326558,_0x37f6e8,_0x472c83,_0xa9abec,0x10,_0x1b249a[0x2e]),_0x472c83=_0x1a6b95(_0x472c83,_0x3d8b49,_0x326558,_0x37f6e8,_0x294a13,0x17,_0x1b249a[0x2f]),_0x37f6e8=_0x1f4fee(_0x37f6e8,_0x472c83,_0x3d8b49,_0x326558,_0x36556d,0x6,_0x1b249a[0x30]),_0x326558=_0x1f4fee(_0x326558,_0x37f6e8,_0x472c83,_0x3d8b49,_0x24e116,0xa,_0x1b249a[0x31]),_0x3d8b49=_0x1f4fee(_0x3d8b49,_0x326558,_0x37f6e8,_0x472c83,_0x52eb08,0xf,_0x1b249a[0x32]),_0x472c83=_0x1f4fee(_0x472c83,_0x3d8b49,_0x326558,_0x37f6e8,_0xc93840,0x15,_0x1b249a[0x33]),_0x37f6e8=_0x1f4fee(_0x37f6e8,_0x472c83,_0x3d8b49,_0x326558,_0x2062e9,0x6,_0x1b249a[0x34]),_0x326558=_0x1f4fee(_0x326558,_0x37f6e8,_0x472c83,_0x3d8b49,_0x4b5be9,0xa,_0x1b249a[0x35]),_0x3d8b49=_0x1f4fee(_0x3d8b49,_0x326558,_0x37f6e8,_0x472c83,_0x5218af,0xf,_0x1b249a[0x36]),_0x472c83=_0x1f4fee(_0x472c83,_0x3d8b49,_0x326558,_0x37f6e8,_0x5ea316,0x15,_0x1b249a[0x37]),_0x37f6e8=_0x1f4fee(_0x37f6e8,_0x472c83,_0x3d8b49,_0x326558,_0x3c6566,0x6,_0x1b249a[0x38]),_0x326558=_0x1f4fee(_0x326558,_0x37f6e8,_0x472c83,_0x3d8b49,_0xa9abec,0xa,_0x1b249a[0x39]),_0x3d8b49=_0x1f4fee(_0x3d8b49,_0x326558,_0x37f6e8,_0x472c83,_0x1cf352,0xf,_0x1b249a[0x3a]),_0x472c83=_0x1f4fee(_0x472c83,_0x3d8b49,_0x326558,_0x37f6e8,_0x5cb30b,0x15,_0x1b249a[0x3b]),_0x37f6e8=_0x1f4fee(_0x37f6e8,_0x472c83,_0x3d8b49,_0x326558,_0x2b974b,0x6,_0x1b249a[0x3c]),_0x326558=_0x1f4fee(_0x326558,_0x37f6e8,_0x472c83,_0x3d8b49,_0x13cd03,0xa,_0x1b249a[0x3d]),_0x3d8b49=_0x1f4fee(_0x3d8b49,_0x326558,_0x37f6e8,_0x472c83,_0x294a13,0xf,_0x1b249a[0x3e]),_0x472c83=_0x1f4fee(_0x472c83,_0x3d8b49,_0x326558,_0x37f6e8,_0x26cd62,0x15,_0x1b249a[0x3f]),_0x1e8851[0x0]=_0x1e8851[0x0]+_0x37f6e8|0x0,_0x1e8851[0x1]=_0x1e8851[0x1]+_0x472c83|0x0,_0x1e8851[0x2]=_0x1e8851[0x2]+_0x3d8b49|0x0,_0x1e8851[0x3]=_0x1e8851[0x3]+_0x326558|0x0;},'_doFinalize':function(){var _0x957328=_0x411f18,_0x217a7e=this[_0x957328(0x352)],_0x31f79d=_0x217a7e[_0x957328(0x26e)],_0x191080=this[_0x957328(0x451)]*0x8,_0x402fc2=_0x217a7e[_0x957328(0x2ac)]*0x8;_0x31f79d[_0x402fc2>>>0x5]|=0x80<<0x18-_0x402fc2%0x20;var _0x887341=_0x395c95[_0x957328(0x434)](_0x191080/0x100000000),_0x15af74=_0x191080;_0x31f79d[(_0x402fc2+0x40>>>0x9<<0x4)+0xf]=(_0x887341<<0x8|_0x887341>>>0x18)&0xff00ff|(_0x887341<<0x18|_0x887341>>>0x8)&0xff00ff00,_0x31f79d[(_0x402fc2+0x40>>>0x9<<0x4)+0xe]=(_0x15af74<<0x8|_0x15af74>>>0x18)&0xff00ff|(_0x15af74<<0x18|_0x15af74>>>0x8)&0xff00ff00,_0x217a7e[_0x957328(0x2ac)]=(_0x31f79d[_0x957328(0x446)]+0x1)*0x4,this['_process']();for(var _0x563fc4=this[_0x957328(0x22d)],_0x58612b=_0x563fc4['words'],_0x558f00=0x0;_0x558f00<0x4;_0x558f00++){var _0x211ed0=_0x58612b[_0x558f00];_0x58612b[_0x558f00]=(_0x211ed0<<0x8|_0x211ed0>>>0x18)&0xff00ff|(_0x211ed0<<0x18|_0x211ed0>>>0x8)&0xff00ff00;}return _0x563fc4;},'clone':function(){var _0xd16b39=_0x411f18,_0x3e92e4=_0x10cf57[_0xd16b39(0x41e)]['call'](this);return _0x3e92e4[_0xd16b39(0x22d)]=this[_0xd16b39(0x22d)][_0xd16b39(0x41e)](),_0x3e92e4;}});function _0x2cfedf(_0x3e4ec9,_0x32d581,_0x3abb70,_0x575847,_0x51e58f,_0x4a84de,_0x1bc888){var _0x10e97f=_0x3e4ec9+(_0x32d581&_0x3abb70|~_0x32d581&_0x575847)+_0x51e58f+_0x1bc888;return(_0x10e97f<<_0x4a84de|_0x10e97f>>>0x20-_0x4a84de)+_0x32d581;}function _0x1a0830(_0x18d7e6,_0x5a5974,_0x35e9bd,_0x5192c4,_0x4d0506,_0x3bb350,_0x1a4c2d){var _0x1bc718=_0x18d7e6+(_0x5a5974&_0x5192c4|_0x35e9bd&~_0x5192c4)+_0x4d0506+_0x1a4c2d;return(_0x1bc718<<_0x3bb350|_0x1bc718>>>0x20-_0x3bb350)+_0x5a5974;}function _0x1a6b95(_0x35cb8d,_0x3232b3,_0xa0d471,_0x171db8,_0x493ca3,_0x5719f5,_0x53499c){var _0xa855c2=_0x35cb8d+(_0x3232b3^_0xa0d471^_0x171db8)+_0x493ca3+_0x53499c;return(_0xa855c2<<_0x5719f5|_0xa855c2>>>0x20-_0x5719f5)+_0x3232b3;}function _0x1f4fee(_0x4001c6,_0x45d7b0,_0x446cae,_0x2273e3,_0x4c6341,_0x1008f4,_0x43982c){var _0xaa3850=_0x4001c6+(_0x446cae^(_0x45d7b0|~_0x2273e3))+_0x4c6341+_0x43982c;return(_0xaa3850<<_0x1008f4|_0xaa3850>>>0x20-_0x1008f4)+_0x45d7b0;}_0x1641ff[_0x411f18(0x1db)]=_0x10cf57['_createHelper'](_0xd2749),_0x1641ff['HmacMD5']=_0x10cf57[_0x411f18(0x223)](_0xd2749);}(Math),_0x36b8d3[_0x4c1d3e(0x1db)];}));}(me)),me['exports'];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0x1a80fc(0x153)],tt;function $i(){var _0x59641c=_0x1a80fc;return tt||(tt=0x1,function(_0x152889,_0x1a297d){(function(_0x1f8ba4,_0x23b8f2){var _0x4a6b87=_0x2d6f;_0x152889[_0x4a6b87(0x153)]=_0x23b8f2(ee());}(ji,function(_0x419832){var _0x1bb616=_0x2d6f;return(function(){var _0x54186a=_0x2d6f,_0x41cfff=_0x419832,_0x59f0d1=_0x41cfff[_0x54186a(0x145)],_0x1888a0=_0x59f0d1[_0x54186a(0x427)],_0x2cb9db=_0x59f0d1[_0x54186a(0x184)],_0x268d35=_0x41cfff[_0x54186a(0x394)],_0x194b06=[],_0xa85f84=_0x268d35[_0x54186a(0x422)]=_0x2cb9db['extend']({'_doReset':function(){var _0x2d4ad1=_0x54186a;this[_0x2d4ad1(0x22d)]=new _0x1888a0[(_0x2d4ad1(0x16b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4fcfe7,_0x5305be){var _0x28a37b=_0x54186a;for(var _0x119334=this[_0x28a37b(0x22d)][_0x28a37b(0x26e)],_0x559009=_0x119334[0x0],_0x157a90=_0x119334[0x1],_0x12c86a=_0x119334[0x2],_0x516945=_0x119334[0x3],_0x536568=_0x119334[0x4],_0x18ce98=0x0;_0x18ce98<0x50;_0x18ce98++){if(_0x18ce98<0x10)_0x194b06[_0x18ce98]=_0x4fcfe7[_0x5305be+_0x18ce98]|0x0;else{var _0x1213dd=_0x194b06[_0x18ce98-0x3]^_0x194b06[_0x18ce98-0x8]^_0x194b06[_0x18ce98-0xe]^_0x194b06[_0x18ce98-0x10];_0x194b06[_0x18ce98]=_0x1213dd<<0x1|_0x1213dd>>>0x1f;}var _0x548733=(_0x559009<<0x5|_0x559009>>>0x1b)+_0x536568+_0x194b06[_0x18ce98];_0x18ce98<0x14?_0x548733+=(_0x157a90&_0x12c86a|~_0x157a90&_0x516945)+0x5a827999:_0x18ce98<0x28?_0x548733+=(_0x157a90^_0x12c86a^_0x516945)+0x6ed9eba1:_0x18ce98<0x3c?_0x548733+=(_0x157a90&_0x12c86a|_0x157a90&_0x516945|_0x12c86a&_0x516945)-0x70e44324:_0x548733+=(_0x157a90^_0x12c86a^_0x516945)-0x359d3e2a,_0x536568=_0x516945,_0x516945=_0x12c86a,_0x12c86a=_0x157a90<<0x1e|_0x157a90>>>0x2,_0x157a90=_0x559009,_0x559009=_0x548733;}_0x119334[0x0]=_0x119334[0x0]+_0x559009|0x0,_0x119334[0x1]=_0x119334[0x1]+_0x157a90|0x0,_0x119334[0x2]=_0x119334[0x2]+_0x12c86a|0x0,_0x119334[0x3]=_0x119334[0x3]+_0x516945|0x0,_0x119334[0x4]=_0x119334[0x4]+_0x536568|0x0;},'_doFinalize':function(){var _0x3b5a09=_0x54186a,_0x3eba7a=this[_0x3b5a09(0x352)],_0x4459c8=_0x3eba7a[_0x3b5a09(0x26e)],_0x504f59=this[_0x3b5a09(0x451)]*0x8,_0x1e76f3=_0x3eba7a[_0x3b5a09(0x2ac)]*0x8;return _0x4459c8[_0x1e76f3>>>0x5]|=0x80<<0x18-_0x1e76f3%0x20,_0x4459c8[(_0x1e76f3+0x40>>>0x9<<0x4)+0xe]=Math[_0x3b5a09(0x434)](_0x504f59/0x100000000),_0x4459c8[(_0x1e76f3+0x40>>>0x9<<0x4)+0xf]=_0x504f59,_0x3eba7a[_0x3b5a09(0x2ac)]=_0x4459c8[_0x3b5a09(0x446)]*0x4,this[_0x3b5a09(0x2e0)](),this[_0x3b5a09(0x22d)];},'clone':function(){var _0x308920=_0x54186a,_0x37ba11=_0x2cb9db[_0x308920(0x41e)][_0x308920(0x408)](this);return _0x37ba11[_0x308920(0x22d)]=this['_hash'][_0x308920(0x41e)](),_0x37ba11;}});_0x41cfff[_0x54186a(0x422)]=_0x2cb9db[_0x54186a(0x315)](_0xa85f84),_0x41cfff[_0x54186a(0x3ad)]=_0x2cb9db[_0x54186a(0x223)](_0xa85f84);}()),_0x419832[_0x1bb616(0x422)];}));}(Ee)),Ee[_0x59641c(0x153)];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){var _0x2ddbd9=_0x1a80fc;return it||(it=0x1,function(_0x4adcc4,_0x4ba7c8){(function(_0x16fbbe,_0x4d58de){var _0x48dd3e=_0x2d6f;_0x4adcc4[_0x48dd3e(0x153)]=_0x4d58de(ee());}(Bi,function(_0x337920){(function(){var _0x5b3efa=_0x2d6f,_0x3621a6=_0x337920,_0x4e3808=_0x3621a6[_0x5b3efa(0x145)],_0x36b575=_0x4e3808[_0x5b3efa(0x381)],_0x5deaf3=_0x3621a6[_0x5b3efa(0x1fb)],_0x1886de=_0x5deaf3[_0x5b3efa(0x297)],_0x2c4b2a=_0x3621a6[_0x5b3efa(0x394)];_0x2c4b2a[_0x5b3efa(0x13d)]=_0x36b575['extend']({'init':function(_0x2313c0,_0x19aafd){var _0x36b540=_0x5b3efa;_0x2313c0=this['_hasher']=new _0x2313c0['init'](),typeof _0x19aafd==_0x36b540(0x1f8)&&(_0x19aafd=_0x1886de[_0x36b540(0x250)](_0x19aafd));var _0x3bf1cb=_0x2313c0['blockSize'],_0x539280=_0x3bf1cb*0x4;_0x19aafd[_0x36b540(0x2ac)]>_0x539280&&(_0x19aafd=_0x2313c0[_0x36b540(0x34f)](_0x19aafd)),_0x19aafd[_0x36b540(0x245)]();for(var _0x48bdb5=this[_0x36b540(0x1e2)]=_0x19aafd['clone'](),_0x178003=this[_0x36b540(0x37c)]=_0x19aafd[_0x36b540(0x41e)](),_0x6de933=_0x48bdb5['words'],_0x427b51=_0x178003[_0x36b540(0x26e)],_0x2db222=0x0;_0x2db222<_0x3bf1cb;_0x2db222++)_0x6de933[_0x2db222]^=0x5c5c5c5c,_0x427b51[_0x2db222]^=0x36363636;_0x48bdb5[_0x36b540(0x2ac)]=_0x178003['sigBytes']=_0x539280,this[_0x36b540(0x456)]();},'reset':function(){var _0x4539ad=_0x5b3efa,_0x479e82=this[_0x4539ad(0x2ba)];_0x479e82[_0x4539ad(0x456)](),_0x479e82[_0x4539ad(0x172)](this[_0x4539ad(0x37c)]);},'update':function(_0x33277e){var _0x52a64e=_0x5b3efa;return this['_hasher'][_0x52a64e(0x172)](_0x33277e),this;},'finalize':function(_0x51b0d2){var _0x821b25=_0x5b3efa,_0x213a4b=this[_0x821b25(0x2ba)],_0x2bbad0=_0x213a4b[_0x821b25(0x34f)](_0x51b0d2);_0x213a4b[_0x821b25(0x456)]();var _0xcb7b6e=_0x213a4b[_0x821b25(0x34f)](this[_0x821b25(0x1e2)][_0x821b25(0x41e)]()[_0x821b25(0x149)](_0x2bbad0));return _0xcb7b6e;}});}());}));}(Ce)),Ce[_0x2ddbd9(0x153)];}var Vi=Ie[_0x1a80fc(0x153)],nt;function At(){return nt||(nt=0x1,function(_0x42e2bf,_0x1c71a3){(function(_0x2fa4f6,_0x184409,_0x397724){var _0x3ed4c6=_0x2d6f;_0x42e2bf[_0x3ed4c6(0x153)]=_0x184409(ee(),$i(),Fi());}(Vi,function(_0x471d55){var _0x11fb7c=_0x2d6f;return(function(){var _0x3ec012=_0x2d6f,_0x185b98=_0x471d55,_0x2912c6=_0x185b98[_0x3ec012(0x145)],_0x378c50=_0x2912c6[_0x3ec012(0x381)],_0x419cf2=_0x2912c6[_0x3ec012(0x427)],_0x15dc16=_0x185b98['algo'],_0x548185=_0x15dc16[_0x3ec012(0x1db)],_0x14e384=_0x15dc16['EvpKDF']=_0x378c50['extend']({'cfg':_0x378c50[_0x3ec012(0x385)]({'keySize':0x80/0x20,'hasher':_0x548185,'iterations':0x1}),'init':function(_0x2fc22d){var _0x422c9e=_0x3ec012;this[_0x422c9e(0x23f)]=this['cfg'][_0x422c9e(0x385)](_0x2fc22d);},'compute':function(_0x3ece4f,_0x3364f5){var _0x3293fc=_0x3ec012;for(var _0x48ef14,_0x427b08=this[_0x3293fc(0x23f)],_0xad72e6=_0x427b08[_0x3293fc(0x2ee)][_0x3293fc(0x3ea)](),_0x189b9e=_0x419cf2['create'](),_0x335274=_0x189b9e[_0x3293fc(0x26e)],_0x3b251e=_0x427b08[_0x3293fc(0x40d)],_0x1b7186=_0x427b08[_0x3293fc(0x2f2)];_0x335274[_0x3293fc(0x446)]<_0x3b251e;){_0x48ef14&&_0xad72e6['update'](_0x48ef14),_0x48ef14=_0xad72e6[_0x3293fc(0x172)](_0x3ece4f)['finalize'](_0x3364f5),_0xad72e6[_0x3293fc(0x456)]();for(var _0x3bdfeb=0x1;_0x3bdfeb<_0x1b7186;_0x3bdfeb++)_0x48ef14=_0xad72e6[_0x3293fc(0x34f)](_0x48ef14),_0xad72e6[_0x3293fc(0x456)]();_0x189b9e['concat'](_0x48ef14);}return _0x189b9e[_0x3293fc(0x2ac)]=_0x3b251e*0x4,_0x189b9e;}});_0x185b98[_0x3ec012(0x163)]=function(_0x2651aa,_0x5c99a4,_0x7c791a){var _0x517bba=_0x3ec012;return _0x14e384[_0x517bba(0x3ea)](_0x7c791a)[_0x517bba(0x1ed)](_0x2651aa,_0x5c99a4);};}()),_0x471d55[_0x11fb7c(0x163)];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},Wi=Te[_0x1a80fc(0x153)],rt;function Pt(){var _0x527c9b=_0x1a80fc;return rt||(rt=0x1,function(_0x80e05f,_0x466e1c){(function(_0x2e485f,_0x39d4f3,_0x3d69a0){var _0x271aa0=_0x2d6f;_0x80e05f[_0x271aa0(0x153)]=_0x39d4f3(ee(),At());}(Wi,function(_0x55c291){var _0x226d9e=_0x2d6f;_0x55c291[_0x226d9e(0x145)]['Cipher']||function(_0x3a48c6){var _0xd0c5f1=_0x226d9e,_0x3a095b=_0x55c291,_0x477579=_0x3a095b[_0xd0c5f1(0x145)],_0x2b1677=_0x477579[_0xd0c5f1(0x381)],_0x508c66=_0x477579[_0xd0c5f1(0x427)],_0x13c2c6=_0x477579[_0xd0c5f1(0x376)],_0x5b9213=_0x3a095b[_0xd0c5f1(0x1fb)];_0x5b9213[_0xd0c5f1(0x297)];var _0x20c159=_0x5b9213[_0xd0c5f1(0x3ff)],_0x5cbd58=_0x3a095b[_0xd0c5f1(0x394)],_0x219370=_0x5cbd58['EvpKDF'],_0x1efd5f=_0x477579[_0xd0c5f1(0x1b8)]=_0x13c2c6['extend']({'cfg':_0x2b1677[_0xd0c5f1(0x385)](),'createEncryptor':function(_0x57de4a,_0x4c4a04){var _0x4ea0bf=_0xd0c5f1;return this[_0x4ea0bf(0x3ea)](this[_0x4ea0bf(0x213)],_0x57de4a,_0x4c4a04);},'createDecryptor':function(_0x50f764,_0x13f462){var _0x1f2abc=_0xd0c5f1;return this[_0x1f2abc(0x3ea)](this[_0x1f2abc(0x357)],_0x50f764,_0x13f462);},'init':function(_0x907af5,_0x1843fe,_0x346806){var _0x488ca2=_0xd0c5f1;this[_0x488ca2(0x23f)]=this[_0x488ca2(0x23f)][_0x488ca2(0x385)](_0x346806),this[_0x488ca2(0x31e)]=_0x907af5,this[_0x488ca2(0x433)]=_0x1843fe,this[_0x488ca2(0x456)]();},'reset':function(){var _0x23ec20=_0xd0c5f1;_0x13c2c6[_0x23ec20(0x456)][_0x23ec20(0x408)](this),this[_0x23ec20(0x3d4)]();},'process':function(_0x413a80){var _0x513fb2=_0xd0c5f1;return this[_0x513fb2(0x27f)](_0x413a80),this[_0x513fb2(0x2e0)]();},'finalize':function(_0x4f0f84){var _0x38e1bb=_0xd0c5f1;_0x4f0f84&&this['_append'](_0x4f0f84);var _0x543a48=this[_0x38e1bb(0x12d)]();return _0x543a48;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x31d137(_0x44bc50){var _0x127ca6=_0x2d6f;return typeof _0x44bc50==_0x127ca6(0x1f8)?_0x14a759:_0x2c5268;}return function(_0x1701fa){return{'encrypt':function(_0x4cd7b7,_0x303edf,_0x2a06ff){var _0x4e61c3=_0x2d6f;return _0x31d137(_0x303edf)[_0x4e61c3(0x2b9)](_0x1701fa,_0x4cd7b7,_0x303edf,_0x2a06ff);},'decrypt':function(_0x46a635,_0x1b3594,_0x32ef82){var _0x48721d=_0x2d6f;return _0x31d137(_0x1b3594)[_0x48721d(0x25e)](_0x1701fa,_0x46a635,_0x1b3594,_0x32ef82);}};};}())});_0x477579[_0xd0c5f1(0x18e)]=_0x1efd5f[_0xd0c5f1(0x385)]({'_doFinalize':function(){var _0x50fb8e=this['_process'](!0x0);return _0x50fb8e;},'blockSize':0x1});var _0x5848a7=_0x3a095b['mode']={},_0x118ba1=_0x477579[_0xd0c5f1(0x151)]=_0x2b1677['extend']({'createEncryptor':function(_0x20a39a,_0x5c1b86){var _0x164844=_0xd0c5f1;return this[_0x164844(0x120)][_0x164844(0x3ea)](_0x20a39a,_0x5c1b86);},'createDecryptor':function(_0x115ce1,_0x391a49){var _0x55ae1d=_0xd0c5f1;return this[_0x55ae1d(0x267)][_0x55ae1d(0x3ea)](_0x115ce1,_0x391a49);},'init':function(_0x51808e,_0x3ec4b3){var _0x5fb49e=_0xd0c5f1;this['_cipher']=_0x51808e,this[_0x5fb49e(0x3ce)]=_0x3ec4b3;}}),_0xb26a10=_0x5848a7['CBC']=(function(){var _0x151749=_0xd0c5f1,_0x3134c5=_0x118ba1[_0x151749(0x385)]();_0x3134c5[_0x151749(0x120)]=_0x3134c5['extend']({'processBlock':function(_0x4881fe,_0x549f99){var _0x44d031=_0x151749,_0x53d46b=this['_cipher'],_0x150673=_0x53d46b[_0x44d031(0x15a)];_0x250d03['call'](this,_0x4881fe,_0x549f99,_0x150673),_0x53d46b['encryptBlock'](_0x4881fe,_0x549f99),this['_prevBlock']=_0x4881fe[_0x44d031(0x2f7)](_0x549f99,_0x549f99+_0x150673);}}),_0x3134c5['Decryptor']=_0x3134c5[_0x151749(0x385)]({'processBlock':function(_0x777349,_0x412d8a){var _0x218f36=_0x151749,_0x1ae17d=this[_0x218f36(0x1a0)],_0x15becb=_0x1ae17d[_0x218f36(0x15a)],_0x141963=_0x777349[_0x218f36(0x2f7)](_0x412d8a,_0x412d8a+_0x15becb);_0x1ae17d[_0x218f36(0x20f)](_0x777349,_0x412d8a),_0x250d03[_0x218f36(0x408)](this,_0x777349,_0x412d8a,_0x15becb),this[_0x218f36(0x277)]=_0x141963;}});function _0x250d03(_0x41438c,_0xbd9a71,_0x11c0fb){var _0x229c5b=_0x151749,_0x46c1bc,_0x1ce2bb=this[_0x229c5b(0x3ce)];_0x1ce2bb?(_0x46c1bc=_0x1ce2bb,this[_0x229c5b(0x3ce)]=_0x3a48c6):_0x46c1bc=this['_prevBlock'];for(var _0x4bd81e=0x0;_0x4bd81e<_0x11c0fb;_0x4bd81e++)_0x41438c[_0xbd9a71+_0x4bd81e]^=_0x46c1bc[_0x4bd81e];}return _0x3134c5;}()),_0x17ed72=_0x3a095b[_0xd0c5f1(0x3eb)]={},_0x494073=_0x17ed72[_0xd0c5f1(0x206)]={'pad':function(_0x481b13,_0x4eb988){var _0x45a678=_0xd0c5f1;for(var _0x2bcc50=_0x4eb988*0x4,_0x15146d=_0x2bcc50-_0x481b13[_0x45a678(0x2ac)]%_0x2bcc50,_0x3eb3e7=_0x15146d<<0x18|_0x15146d<<0x10|_0x15146d<<0x8|_0x15146d,_0x1fb846=[],_0x14f3ab=0x0;_0x14f3ab<_0x15146d;_0x14f3ab+=0x4)_0x1fb846[_0x45a678(0x242)](_0x3eb3e7);var _0x2b838d=_0x508c66[_0x45a678(0x3ea)](_0x1fb846,_0x15146d);_0x481b13[_0x45a678(0x149)](_0x2b838d);},'unpad':function(_0xdd06c0){var _0x21d013=_0xd0c5f1,_0x48f0da=_0xdd06c0[_0x21d013(0x26e)][_0xdd06c0[_0x21d013(0x2ac)]-0x1>>>0x2]&0xff;_0xdd06c0[_0x21d013(0x2ac)]-=_0x48f0da;}};_0x477579['BlockCipher']=_0x1efd5f['extend']({'cfg':_0x1efd5f[_0xd0c5f1(0x23f)][_0xd0c5f1(0x385)]({'mode':_0xb26a10,'padding':_0x494073}),'reset':function(){var _0x14109b=_0xd0c5f1,_0x4284c9;_0x1efd5f['reset'][_0x14109b(0x408)](this);var _0x3ee426=this[_0x14109b(0x23f)],_0x5cd0e3=_0x3ee426['iv'],_0x1a2fb3=_0x3ee426[_0x14109b(0x13f)];this[_0x14109b(0x31e)]==this[_0x14109b(0x213)]?_0x4284c9=_0x1a2fb3[_0x14109b(0x3ae)]:(_0x4284c9=_0x1a2fb3[_0x14109b(0x233)],this[_0x14109b(0x2d4)]=0x1),this[_0x14109b(0x321)]&&this[_0x14109b(0x321)][_0x14109b(0x2b7)]==_0x4284c9?this[_0x14109b(0x321)]['init'](this,_0x5cd0e3&&_0x5cd0e3[_0x14109b(0x26e)]):(this['_mode']=_0x4284c9['call'](_0x1a2fb3,this,_0x5cd0e3&&_0x5cd0e3[_0x14109b(0x26e)]),this[_0x14109b(0x321)][_0x14109b(0x2b7)]=_0x4284c9);},'_doProcessBlock':function(_0x3489da,_0x3b8f0d){var _0x2508d2=_0xd0c5f1;this[_0x2508d2(0x321)][_0x2508d2(0x458)](_0x3489da,_0x3b8f0d);},'_doFinalize':function(){var _0x23880b=_0xd0c5f1,_0x1a8292,_0x38f497=this[_0x23880b(0x23f)]['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x38f497[_0x23880b(0x3eb)](this[_0x23880b(0x352)],this[_0x23880b(0x15a)]),_0x1a8292=this[_0x23880b(0x2e0)](!0x0)):(_0x1a8292=this[_0x23880b(0x2e0)](!0x0),_0x38f497[_0x23880b(0x143)](_0x1a8292)),_0x1a8292;},'blockSize':0x80/0x20});var _0x2dfe35=_0x477579[_0xd0c5f1(0x191)]=_0x2b1677['extend']({'init':function(_0x3d9cfc){var _0x477097=_0xd0c5f1;this[_0x477097(0x30f)](_0x3d9cfc);},'toString':function(_0x561569){var _0x482ac2=_0xd0c5f1;return(_0x561569||this['formatter'])[_0x482ac2(0x447)](this);}}),_0x405afa=_0x3a095b[_0xd0c5f1(0x2bc)]={},_0xd35a33=_0x405afa[_0xd0c5f1(0x2c4)]={'stringify':function(_0x44c55f){var _0x59c461=_0xd0c5f1,_0x4b3d1e,_0x3784f0=_0x44c55f[_0x59c461(0x18a)],_0xd38bf2=_0x44c55f['salt'];return _0xd38bf2?_0x4b3d1e=_0x508c66[_0x59c461(0x3ea)]([0x53616c74,0x65645f5f])[_0x59c461(0x149)](_0xd38bf2)[_0x59c461(0x149)](_0x3784f0):_0x4b3d1e=_0x3784f0,_0x4b3d1e[_0x59c461(0x159)](_0x20c159);},'parse':function(_0xbfe839){var _0x2c139d=_0xd0c5f1,_0x3bd25e,_0x434571=_0x20c159[_0x2c139d(0x250)](_0xbfe839),_0x18e77c=_0x434571[_0x2c139d(0x26e)];return _0x18e77c[0x0]==0x53616c74&&_0x18e77c[0x1]==0x65645f5f&&(_0x3bd25e=_0x508c66[_0x2c139d(0x3ea)](_0x18e77c[_0x2c139d(0x2f7)](0x2,0x4)),_0x18e77c['splice'](0x0,0x4),_0x434571[_0x2c139d(0x2ac)]-=0x10),_0x2dfe35[_0x2c139d(0x3ea)]({'ciphertext':_0x434571,'salt':_0x3bd25e});}},_0x2c5268=_0x477579[_0xd0c5f1(0x2e4)]=_0x2b1677[_0xd0c5f1(0x385)]({'cfg':_0x2b1677[_0xd0c5f1(0x385)]({'format':_0xd35a33}),'encrypt':function(_0x1194b1,_0x40aef9,_0x5ccef5,_0x4a929c){var _0x2b2914=_0xd0c5f1;_0x4a929c=this[_0x2b2914(0x23f)][_0x2b2914(0x385)](_0x4a929c);var _0x49e6f7=_0x1194b1[_0x2b2914(0x3ae)](_0x5ccef5,_0x4a929c),_0x2aee3b=_0x49e6f7['finalize'](_0x40aef9),_0x47c23c=_0x49e6f7['cfg'];return _0x2dfe35['create']({'ciphertext':_0x2aee3b,'key':_0x5ccef5,'iv':_0x47c23c['iv'],'algorithm':_0x1194b1,'mode':_0x47c23c[_0x2b2914(0x13f)],'padding':_0x47c23c[_0x2b2914(0x2c7)],'blockSize':_0x1194b1[_0x2b2914(0x15a)],'formatter':_0x4a929c[_0x2b2914(0x2bc)]});},'decrypt':function(_0x2ca3ad,_0x5e771f,_0x168c3b,_0x24a1ca){var _0x11c481=_0xd0c5f1;_0x24a1ca=this[_0x11c481(0x23f)]['extend'](_0x24a1ca),_0x5e771f=this[_0x11c481(0x319)](_0x5e771f,_0x24a1ca[_0x11c481(0x2bc)]);var _0x58b2b2=_0x2ca3ad[_0x11c481(0x233)](_0x168c3b,_0x24a1ca)['finalize'](_0x5e771f[_0x11c481(0x18a)]);return _0x58b2b2;},'_parse':function(_0x27a2bd,_0x39f91f){return typeof _0x27a2bd=='string'?_0x39f91f['parse'](_0x27a2bd,this):_0x27a2bd;}}),_0x1c51bd=_0x3a095b[_0xd0c5f1(0x425)]={},_0x55b21=_0x1c51bd[_0xd0c5f1(0x2c4)]={'execute':function(_0x55ad26,_0x3579ef,_0x4f91e1,_0x82a7bf,_0x2cd579){var _0x1dc54a=_0xd0c5f1;if(_0x82a7bf||(_0x82a7bf=_0x508c66[_0x1dc54a(0x3f3)](0x40/0x8)),_0x2cd579)var _0x1d4248=_0x219370[_0x1dc54a(0x3ea)]({'keySize':_0x3579ef+_0x4f91e1,'hasher':_0x2cd579})[_0x1dc54a(0x1ed)](_0x55ad26,_0x82a7bf);else var _0x1d4248=_0x219370[_0x1dc54a(0x3ea)]({'keySize':_0x3579ef+_0x4f91e1})[_0x1dc54a(0x1ed)](_0x55ad26,_0x82a7bf);var _0x5bef8c=_0x508c66[_0x1dc54a(0x3ea)](_0x1d4248[_0x1dc54a(0x26e)]['slice'](_0x3579ef),_0x4f91e1*0x4);return _0x1d4248['sigBytes']=_0x3579ef*0x4,_0x2dfe35['create']({'key':_0x1d4248,'iv':_0x5bef8c,'salt':_0x82a7bf});}},_0x14a759=_0x477579[_0xd0c5f1(0x2e8)]=_0x2c5268[_0xd0c5f1(0x385)]({'cfg':_0x2c5268[_0xd0c5f1(0x23f)]['extend']({'kdf':_0x55b21}),'encrypt':function(_0x42ad62,_0x5e7a2c,_0x45fdc4,_0x42b2cc){var _0x9fd55=_0xd0c5f1;_0x42b2cc=this[_0x9fd55(0x23f)][_0x9fd55(0x385)](_0x42b2cc);var _0xc03ad3=_0x42b2cc[_0x9fd55(0x425)][_0x9fd55(0x183)](_0x45fdc4,_0x42ad62['keySize'],_0x42ad62[_0x9fd55(0x244)],_0x42b2cc[_0x9fd55(0x192)],_0x42b2cc[_0x9fd55(0x2ee)]);_0x42b2cc['iv']=_0xc03ad3['iv'];var _0x49754a=_0x2c5268[_0x9fd55(0x2b9)]['call'](this,_0x42ad62,_0x5e7a2c,_0xc03ad3[_0x9fd55(0x292)],_0x42b2cc);return _0x49754a[_0x9fd55(0x30f)](_0xc03ad3),_0x49754a;},'decrypt':function(_0x2c9be8,_0x3f56ed,_0x1489ae,_0x3a4d42){var _0x150f35=_0xd0c5f1;_0x3a4d42=this[_0x150f35(0x23f)][_0x150f35(0x385)](_0x3a4d42),_0x3f56ed=this[_0x150f35(0x319)](_0x3f56ed,_0x3a4d42[_0x150f35(0x2bc)]);var _0x13eaa9=_0x3a4d42[_0x150f35(0x425)][_0x150f35(0x183)](_0x1489ae,_0x2c9be8['keySize'],_0x2c9be8[_0x150f35(0x244)],_0x3f56ed['salt'],_0x3a4d42[_0x150f35(0x2ee)]);_0x3a4d42['iv']=_0x13eaa9['iv'];var _0x39c8ca=_0x2c5268['decrypt']['call'](this,_0x2c9be8,_0x3f56ed,_0x13eaa9[_0x150f35(0x292)],_0x3a4d42);return _0x39c8ca;}});}();}));}(Te)),Te[_0x527c9b(0x153)];}function _0x3005(){var _0x5827f7=['_onFetchMissResult','actions','getAllMembers','_transformRemoteChangesetByIMECache','DEFAULT_COLLAB_WEB_SOCKET_URL','IPermissionService','UnitStatus','ERROR_IMAGE_TYPE','__creator','/new_changes','encrypt','_hasher','PY_RUNTIME_SCRIPT_ERROR','format','_collabSessionService','toggleOffline','COMMENT_UPDATE','_clearScheduledTask','toDisposable','_createSocket','commentUpdate$','OpenSSL','HTTPService','pauseCollaboration','padding','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','capture','textEncoder','SHOULD_CLOSE_CONN','SNAPSHOT_URL_KEY','merge','__esModule','newCsEvent','loadUnit','CommandType','session.room-cnt-exceeds','href','_minBufferSize','collaMsg','refreshPermission','Tools','/object/','ILogService','FETCH_MISS','method','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','saveImage','splice','LICENSE_DISTRO_REJECTED','_process','_sessions','_tryEnsureSocket','InsertSheetMutation','SerializableCipher','title','_userManagerService','PERMISSION_DENIED','PasswordBasedCipher','UNIVER_SLIDE','onMissedChangesetFetched','RETRY_CONNECTING_MAX_COUNT_KEY','onTransformRemoteChangesetByIMECache','OTHER_CLIENTS_EDITING','hasher','_scheduleCollaborationTimeoutTimer','toggleOnline','/allowed','iterations','x-univer-host','DocCollaborationEntity','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','IAuthzIoService','slice','_commentService','onRemoteAck','UniverCollaborationClientPlugin','touchDependencies','image/jpeg','getRandomValues','hasOwnProperty','open$','/object','@univerjs/drawing','RxDisposable','JOINING','objectActions','Malformed\x20UTF-8\x20data','_socketReady','_sessionStatus$','_initRequestHeader','image/jpg','_submitChangeset','close','_getAPIPrefixPath','_onMessage','HEARTBEAT_INTERVAL','mixIn','JOIN_ROOM_FULL','AUTHZ_URL_KEY','mapDocumentTypeToUniverType','LICENSE_IMPORT_SIZE_EXCEEDED','location','_createHelper','subscribe','changesets','roomInfos','_parse','charAt','_getUndoStack','YUUMI_SUBSCRIPTION_NOT_FOUND','POST','_xformMode','takeUntil','Optional','_mode','image/gif','code','HttpExport','_type','EMAIL_HAS_BEEN_BOUND','AES','Latin1','fetchMissingChangesets','ReplaySubject','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','forEach','_startCollaboration','UNIVER_PROJECT','_decreaseWaiting','\x20in\x20_schedule.','_invKeySchedule','PERMISSION_REJ','downloadEndpointUrl','30cvxhyG','transformChangesets','CHANGESET_ACK','LIVESHARE_TERMINATE','min','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','add','FetchingMissState','set','_shouldReportTelemetry','MentionType','getDeserializedSheetBlock','WorkbookEditablePermission','FileId','_commentUpdate$','getUnitOnRev','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','LOGIN_FAILED','_socket$','result','workbook','encode','_transformService','isTransformMutationsWithChangesetFailure','parseChangesetToProtocol','BASE64','finalize','appendMutation','_scheduleCompleteTimestamp','_data','LOGIN_URL_KEY','_loadDoc','randomUUID','default','_DEC_XFORM_MODE','_queuedRemoteChangesets','_joinRoom','INVITE_CODE_ALREADY_BOUND','SEND_CHANGESET_TIMEOUT','APPLY_PERMISSION_DENIED','_getUploadFileURL','closeSession','_substituteUndoStack','BlockCipher','mutations','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_getAPIPrefix','updateOfflineData','CompressMutationService','/role','transformSelections','800664GwUMYO','{fileID}','_getCtorByUniverType','onStarting','_getCurrentRevision','/universer-api/oidc/authpage','IImageIoService','map','CollaborationUIEventService','params','name','_injector','MUTATION','[DataLoaderService]','BufferedBlockAlgorithm','find','IUndoRedoService','getImage','_updateState','userID','_iKey','values','?size=','duration','54ZNlIWl','Base','failed\x20to\x20apply\x20missed\x20changesets!','sid','IMentionIOService','extend','Quantity','getMember','getValue','post','createIdentifier','filter','_onRemoteRetry','data','UnitEmbedded','getCurrentUser','TOO_MANY_REQUESTS','CONNECTOR_DATA_TOO_LARGE','abs','UNIVER_SHEET','algo','/unit/','_members$','/-/object/list','DependentOn','_clearLocalCache','clear','IConfigService','_resendWithTimeout','_onLocalMutation','onlyLocal','fetching\x20missing\x20changesets\x20from\x20','PendingState','fetch_missing','offline','CollaborationSession','change$','SheetCollaborationEntity','online$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','CollaborationEntity','_sendHeartbeatTimer','unitId','/universer-api/stream/file/upload','FAIL','HmacSHA1','createEncryptor','/fetchmissing?from=','APPLY_NON_SEQUENTIAL_REVISION','routeKey','_timeoutTimer','LIVESHARE_FETCH_OPERATIONS','reconnect','liveShareNewHost','onTransformSelections','CONFLICT','_sender','reverse','rev','resolve','ERROR_IMAGE','isTransformChangesetsSuccess','collabWebSocketUrl','state$','reqId','unsubscribe','_onJoinRoomEvent','confirm','saveSnapshot','univer-pro.collaboration-client.single-active-unit-service','url','responseType','startsWith','LOCAL_CACHE_INTERVAL','UNRECOGNIZED','BehaviorSubject','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','catch','_iv','objects','deleteCollaborator','take','incrementRevOfUnit','_lockTransition','_doReset','concatMap','selections','SOCKET_FAILED','setWaitCount','transformStack\x20failed!','_checkMissing','uniscriptRunEvent','_initDependencies','requestParams','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_createInitialState','onTransformRemoteChangesetByStateCache','members$','@univerjs/telemetry','isPermissionRej','Inject','YUUMI_UNABLE_LOAD_URL','_handlerCallback','Subject','localeService','socket\x20open.','create','pad','[FetchMissState]','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','deserializeToCombResponse','registerDependencies','_getSignURL','rxjs/operators','connection\x20error','random','loginUrlKey','getUnitType','APPLY_REVISION_CONFILICT','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','updatePermissionObjEvent','commentUpdateEvent','getTypeOfUnitAdded$','setCurrentUser','updateMember','firstValueFrom','_permissionService','Base64','/universer-api/snapshot','USERS_ENTER','max','HELLO','HEARTBEAT_TIMEOUT_KEY','[OfflineState]:\x20received\x20changeset.','retryConnectingInterval','2383213BjvymI','call','JOIN_ROOM_FAILED','image/png','mergeOverrideWithDependencies','ISnapshotServerService','keySize','subject','JOIN_ROOM_NOT_EXISTS','parseProtocolChangeset','_members','localCacheService','ImageSourceType','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','originalMeta','fetchThroughInterceptors','sessionStatus$','ITelemetryService','_transformStack','saveSheetBlock','_onOffline','SUBMIT_CHANGESET_TIMEOUT','UNISCRIPT_RUN','clone','544265CSyVdV','memberID','socket\x20close','SHA1','then','@univerjs/sheets','kdf','_isPermissionRej','WordArray','PERSON','_onConnectionFailed','delete','UNIVER_UNKNOWN','UNIVER_COLLABORATION_CLIENT_PLUGIN','awaiting','_instanceService','@univerjs/docs','sequenceExecute','_replaceFileID','close$','_key','floor','next','COMPLETION_FINISHED','resourceIDs','resend','getCollabEntity','754768kNcETj','onSyncEditingCollabCursor','_substituteRedoStack','collaboration_new_changeset','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','onCommandExecuted','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','m2Prime','_keyPriorReset','_reverseMap','_toggleOffline','unitID','length','stringify','revision','c1Prime','_waitForHeartbeatResponse','USER_NOT_INVITED_CODE','getCurrentSelections','executeCommand','LIVESHARE_NEW_HOST','put','defineProperty','_nDataBytes','_throwTelemetryCollaborationNewChangeset','CHANGESET_REJ','_memberService','CommentService','reset','LocaleService','processBlock','telemetry\x20info\x20is\x20not\x20initialized','apply','_handler','UUID','join','onRemoteChangeset','_config','RETRY_CONNECTING_MAX_COUNT','AwaitingWithPendingState','batchAllowed','event$','getInterceptPoints','[CollaborationEntity]','SNAPSHOT_INVALID_SNAPSHOT','YUUMI_RATE_OVER_LIMIT','Injector','56aFvFSk','_initUnitPermissionChange','collabSubmitChangesetUrl','isArray','status$','getCollabEntity$','infoRsp','snapshotServerUrl','_init','_eventService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getUnit','UnitSnapshot','/universer-api/file/{fileID}/sign-url','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','get','LIVESHARE_REQUEST_HOST','avatar','_onRemoteRejected','_transitionLocked','Undefined','_onUserJoin','_localeService','_retryConnectingTimer','_keySchedule','getCurrentRevOfUnit','$super','ITransformService','_sendHeartbeat','SnapshotServerOverHTTPService','status','_stopTelemetryCollaborationNewChangeset','unitId\x20is\x20not\x20found','joinEvent','SNAPSHOT_SERVER_URL_KEY','_clearCollaborationTimeoutTimer','SEND_CHANGESET_TIMEOUT_KEY','HEARTBEAT_INTERVAL_KEY','loadDoc','_createHandler','RichTextEditingMutation','OTHER_CLIENT_EDITING','_clearTimeoutTimer','INVITE_CODE_HAS_BEEN_UES','_onRecvEvent','session.join-failed','createInstance','People','getUnitStatus$','_applyRemoteChangeset','listRoles','_onUserLeave','onRemoteRetry','DisposableCollection','Encryptor','UNKNOWN_CMD','_resendTimer','_acknowledgedAwaitingChangeset','override','&source=','NO_OTHER_CLIENTS_EDITING','onSendChangeset','_executeRemoteChangeset','authzUrl','ONLINE','_collaborationTimeoutTimer','objectType','_doFinalize','RevisionService','SYNCED','charCodeAt','66549vgHyQj','_tryReconnect','getConfig','isInternalEditorID','body','/universer-api/authz','_replayCachedMutations','loadOfflineData','ENSURE_SNAPSHOT_EXECUTION','socketService','Error\x20on\x20receiving\x20event','LICENSE_MAX_UNITS_EXCEEDED','HMAC','ws://127.0.0.1:8000/universer-api/comb/connect','mode','CHANGESET_SHOULD_RETRY','asObservable','EmptyMutation','unpad','univer-pro.collaboration-client.network-condition.service','lib','listCollaborators','_state$','send','concat','liveShareOperation','Hex','origin','OFFLINE','_unitID','getUnitId','getFocusedUnit','BlockCipherMode','pipe','exports','submit\x20changeset\x20error!','UserManagerService','AWAITING_WITH_PENDING','[SyncedState]:\x20received\x20acknowledgement.','DEFAULT_WS_SESSION_TICKET_URL','toString','blockSize','CollaborationEvent','enableAuthServer','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','size','UPDATE_CURSOR','_listenToNetworkCondition','readAsDataURL','INGEST','EvpKDF','interceptor','COLLAB_WEB_SOCKET_URL','_changesetSessionId','AwaitingState','_unitInfo$','_socket','CLOSE_ROOM','init','_toggleOnline','_onConflict','_syncEditingCollabCursor','_awaitingChangeset','readyForCollab','CollaborativeUndoRedoService','update','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','dispose','_getSendChangesetTimeout','/universer-api/snapshot/','src','_getLoginPath','_transformSelections','_entityInit$','[CollaborationUndoRedoService]','sheets','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','IContextService','unit-cache-','error$','shareReplay','_httpService','execute','Hasher','removeMember','/collaborator','_clearUndo','Disposable','_telemetryInfo','ciphertext','now','GLOBAL_ROOMS_CNT_EXCEEDS','cmd','StreamCipher','unknown','message$','CipherParams','salt','enableOfflineEditing','NOT_FOUND','COLLAB_SUBMIT_CHANGESET_URL_KEY','_sendingTimer','_nRounds','RECV','collaborators','PSEUDO_FETCH_MISSING_RESULT','fromCharCode','transformUndoRedo','_collaborationSessionService','_createInitialStateImpl','dispose$','_cipher','@univerjs-pro/collaboration','MSG_FOR_ERROR','joinRsp','_resendTimeout','_collaborationUIEventService','HTTPRequest','bind','every','APPLY_REJECT','updatePermissionPoint','[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.','byteOffset','&assign=','LEAVE','HttpImport','editingUnit','UNDEFINED','getWorkbookSelections','UserProfileImg','NEW_CHANGESETS','enableSingleActiveInstanceLock','_map','onload','Cipher','isTransformMutationsWithChangesetSuccess','CollaborationUIEventId','_telemetryService','_clearHeartbeatTimer','__Key__','IDLE','UNAUTHENTICATED','ImageUploadStatusType','/-/object/-/batch_allowed','_transformUndoredo','@univerjs/core','USERS_LEAVE','saveChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','transformMutationsWithChangeset','_onCombEvent','b64DecodeUnicode','error','state','createCollaborator','_candidateSocket','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_remoteChangesetQueue','NoPadding','msCrypto','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','SheetPermissionInitController','findIndex','IUniverInstanceService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_updateLocalCache','file','_roomMembers','MD5','_onConnectionOpen','getOwnPropertyDescriptor','csRejEvent','_onRemoteChangeset','headers','compose','_oKey','COLLAB_WEB_SOCKET_URL_KEY','_event$','pluginName','_showConflictNotification','CHANGESET_REVISION_CONFILICT','_doProcessBlock','_waitCount','session.room-not-exists','FETCH_MISSING','baseRev','compute','AuthzIoHttpService','_disableEditing','LIVESHARE_OPERATION','_change$','reject','LICENSE_EXPORT_SIZE_EXCEEDED','awaitingChangeset','disposeWithMe','onMissingChangesets','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','string','getTypeOfUnitDisposed$','/rev/','enc','_singleActiveUnitService','_logService','SNAPSHOT_HAS_BEEN_REMOVED','JOIN','_transformStateCache','8669720nOjOBB','@univerjs/network','prototype','complete','members','Pkcs7','_revisionService','/block/','MemberService','roles','[CollaborationSessionService]','INVITE_CODE_REQUIRED','[CollaborationSession]','emitEvent','decryptBlock','randomBytes','SetSelectionsOperation','_collaborationPaused','_ENC_XFORM_MODE','readInt32LE','INVALID_ARGUMENT','_state','ICollaborationSocketService','save\x20fail\x20reason\x20is\x20','objectID','_incrementRevisionNumber','_unlockTransition','_socketService','UniverInstanceType','registerHTTPInterceptor','_HTTPService','leaveEvent','_roomCreated$','COLLAB_SUBMIT_CHANGESET_URL','_createHmacHelper','range','_univerInstanceService','copyFileMeta','debug','_undoRedoService','_rescheduleHeartbeat','_transformIMECache','CollaborationImageIoService','SheetTransformSelectionsService','_hash','_getRedoStack','_startTelemetryCollaborationNewChangeset','INTERNAL_ERROR','_retryCount','\x0aCurrent:\x20','createDecryptor','11fHGcAc','_emitMembers','patch','_networkConditionService','initWorkbookPermissionChange','COMPRESS_MUTATION_APPLY','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','LocalUndoRedoService','_snapshotServerService','_clearRedo','from','cfg','UPDATE_PERMISSION_OBJ','includes','push','rxjs','ivSize','clamp','csShouldRetryEvent','ceil','byteLength','/universer-api/uniscript','DEFAULT_FILE_NAME','ALREADY_EXISTS','?url=','_schedule','_doCryptBlock','_updateStatus','parse','onTransformIME','UNIVER_DOC','ConflictState','getMemberID','sin','CollaborationSessionService','MOBILE_HAS_BEEN_BOUND','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','hostname','_commandService','_pendingMutations','updateCollaborator','_socketMessageSubscription','decrypt','OfflineState','1177046bapVhV','onTransformState','pending','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_sheetTransformSelectionsService','JOIN_ROOM_PERMISSION_DENIED','@univerjs-pro/license','Decryptor','stopTime','equals','&to=','requireSession','_getDownloadEndpointURL','synced','words','getLocalCacheKey','has','textRanges','PENDING','_compressMutationService','CollaborationController','c2Prime','function','_prevBlock','_configService','APPLY_DUPLICATED','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','sessionStatus','_onRemoteACK','_status$','_imageSourceCache','_append','INVALID_INVITE_CODE','onRemoteRej','target','Workbook','onCommentUpdate','ICommandService','createSocket','HEARTBEAT','UNKNOWN_CODE','fetchMiss','eventID','list','SOCKET_FAILED_RETRY','SUBMIT_CHANGESET','SyncedState','COMPRESS_MUTATION_SEND','reduce','_initCloseConn','key','conflict','ERROR_EXCEED_SIZE','_registerDependencies','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','Utf8','_localCacheService','subUnitId','addImageSourceCache','setShowComponents','crypto','not_collab','fromCollab','getTime','CollaborationStatus','getSnapshotAPIPath','session','MentionIoHttpService','disableLocalCache','Plugin','append','_clearRetryConnectingTimer','_snapshotService','LOCAL_CACHE_INTERVAL_KEY','DataLoaderService','_entities','sigBytes','type','getActiveSheet'];_0x3005=function(){return _0x5827f7;};return _0x3005();}var Gi=fe[_0x1a80fc(0x153)],st;function Ki(){return st||(st=0x1,function(_0x5029a4,_0x1af517){(function(_0x47b372,_0x5bf6a9,_0x18a782){var _0x90e9b2=_0x2d6f;_0x5029a4[_0x90e9b2(0x153)]=_0x5bf6a9(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x2aa2d7){var _0x4af392=_0x2d6f;return(function(){var _0x4cbbdd=_0x2d6f,_0x4463ce=_0x2aa2d7,_0x3e0183=_0x4463ce['lib'],_0x4ac252=_0x3e0183[_0x4cbbdd(0x360)],_0x4d0eba=_0x4463ce['algo'],_0x13e2cc=[],_0x19a4bd=[],_0x39ea47=[],_0x3ca4cc=[],_0x2222a3=[],_0x3a043f=[],_0x496e0a=[],_0xb88358=[],_0x2ff550=[],_0x72dcaf=[];(function(){for(var _0x408277=[],_0x583bde=0x0;_0x583bde<0x100;_0x583bde++)_0x583bde<0x80?_0x408277[_0x583bde]=_0x583bde<<0x1:_0x408277[_0x583bde]=_0x583bde<<0x1^0x11b;for(var _0xd4b53d=0x0,_0x3898b2=0x0,_0x583bde=0x0;_0x583bde<0x100;_0x583bde++){var _0x2e68c6=_0x3898b2^_0x3898b2<<0x1^_0x3898b2<<0x2^_0x3898b2<<0x3^_0x3898b2<<0x4;_0x2e68c6=_0x2e68c6>>>0x8^_0x2e68c6&0xff^0x63,_0x13e2cc[_0xd4b53d]=_0x2e68c6,_0x19a4bd[_0x2e68c6]=_0xd4b53d;var _0x299055=_0x408277[_0xd4b53d],_0x2a69a2=_0x408277[_0x299055],_0x396817=_0x408277[_0x2a69a2],_0x53c56f=_0x408277[_0x2e68c6]*0x101^_0x2e68c6*0x1010100;_0x39ea47[_0xd4b53d]=_0x53c56f<<0x18|_0x53c56f>>>0x8,_0x3ca4cc[_0xd4b53d]=_0x53c56f<<0x10|_0x53c56f>>>0x10,_0x2222a3[_0xd4b53d]=_0x53c56f<<0x8|_0x53c56f>>>0x18,_0x3a043f[_0xd4b53d]=_0x53c56f;var _0x53c56f=_0x396817*0x1010101^_0x2a69a2*0x10001^_0x299055*0x101^_0xd4b53d*0x1010100;_0x496e0a[_0x2e68c6]=_0x53c56f<<0x18|_0x53c56f>>>0x8,_0xb88358[_0x2e68c6]=_0x53c56f<<0x10|_0x53c56f>>>0x10,_0x2ff550[_0x2e68c6]=_0x53c56f<<0x8|_0x53c56f>>>0x18,_0x72dcaf[_0x2e68c6]=_0x53c56f,_0xd4b53d?(_0xd4b53d=_0x299055^_0x408277[_0x408277[_0x408277[_0x396817^_0x299055]]],_0x3898b2^=_0x408277[_0x408277[_0x3898b2]]):_0xd4b53d=_0x3898b2=0x1;}}());var _0x2691e2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1917d4=_0x4d0eba['AES']=_0x4ac252[_0x4cbbdd(0x385)]({'_doReset':function(){var _0x4fa106=_0x4cbbdd,_0x122604;if(!(this[_0x4fa106(0x197)]&&this[_0x4fa106(0x442)]===this['_key'])){for(var _0x1d08db=this[_0x4fa106(0x442)]=this[_0x4fa106(0x433)],_0x12aa97=_0x1d08db['words'],_0x529241=_0x1d08db['sigBytes']/0x4,_0x2699e4=this[_0x4fa106(0x197)]=_0x529241+0x6,_0xf4082c=(_0x2699e4+0x1)*0x4,_0x13453a=this[_0x4fa106(0x102)]=[],_0x5b2fa9=0x0;_0x5b2fa9<_0xf4082c;_0x5b2fa9++)_0x5b2fa9<_0x529241?_0x13453a[_0x5b2fa9]=_0x12aa97[_0x5b2fa9]:(_0x122604=_0x13453a[_0x5b2fa9-0x1],_0x5b2fa9%_0x529241?_0x529241>0x6&&_0x5b2fa9%_0x529241==0x4&&(_0x122604=_0x13e2cc[_0x122604>>>0x18]<<0x18|_0x13e2cc[_0x122604>>>0x10&0xff]<<0x10|_0x13e2cc[_0x122604>>>0x8&0xff]<<0x8|_0x13e2cc[_0x122604&0xff]):(_0x122604=_0x122604<<0x8|_0x122604>>>0x18,_0x122604=_0x13e2cc[_0x122604>>>0x18]<<0x18|_0x13e2cc[_0x122604>>>0x10&0xff]<<0x10|_0x13e2cc[_0x122604>>>0x8&0xff]<<0x8|_0x13e2cc[_0x122604&0xff],_0x122604^=_0x2691e2[_0x5b2fa9/_0x529241|0x0]<<0x18),_0x13453a[_0x5b2fa9]=_0x13453a[_0x5b2fa9-_0x529241]^_0x122604);for(var _0x305796=this[_0x4fa106(0x332)]=[],_0x288381=0x0;_0x288381<_0xf4082c;_0x288381++){var _0x5b2fa9=_0xf4082c-_0x288381;if(_0x288381%0x4)var _0x122604=_0x13453a[_0x5b2fa9];else var _0x122604=_0x13453a[_0x5b2fa9-0x4];_0x288381<0x4||_0x5b2fa9<=0x4?_0x305796[_0x288381]=_0x122604:_0x305796[_0x288381]=_0x496e0a[_0x13e2cc[_0x122604>>>0x18]]^_0xb88358[_0x13e2cc[_0x122604>>>0x10&0xff]]^_0x2ff550[_0x13e2cc[_0x122604>>>0x8&0xff]]^_0x72dcaf[_0x13e2cc[_0x122604&0xff]];}}},'encryptBlock':function(_0xdd3686,_0x417dcd){var _0x7cd32a=_0x4cbbdd;this[_0x7cd32a(0x24e)](_0xdd3686,_0x417dcd,this['_keySchedule'],_0x39ea47,_0x3ca4cc,_0x2222a3,_0x3a043f,_0x13e2cc);},'decryptBlock':function(_0x50eac8,_0x4e6e63){var _0x33e250=_0x4cbbdd,_0x4faa90=_0x50eac8[_0x4e6e63+0x1];_0x50eac8[_0x4e6e63+0x1]=_0x50eac8[_0x4e6e63+0x3],_0x50eac8[_0x4e6e63+0x3]=_0x4faa90,this[_0x33e250(0x24e)](_0x50eac8,_0x4e6e63,this[_0x33e250(0x332)],_0x496e0a,_0xb88358,_0x2ff550,_0x72dcaf,_0x19a4bd);var _0x4faa90=_0x50eac8[_0x4e6e63+0x1];_0x50eac8[_0x4e6e63+0x1]=_0x50eac8[_0x4e6e63+0x3],_0x50eac8[_0x4e6e63+0x3]=_0x4faa90;},'_doCryptBlock':function(_0x2e4dd1,_0x1ef0f6,_0xf901eb,_0x1dd6cf,_0x29573b,_0x55d841,_0x4f7503,_0x1133a8){for(var _0x374238=this['_nRounds'],_0x3adeb0=_0x2e4dd1[_0x1ef0f6]^_0xf901eb[0x0],_0x38b3df=_0x2e4dd1[_0x1ef0f6+0x1]^_0xf901eb[0x1],_0x166d8f=_0x2e4dd1[_0x1ef0f6+0x2]^_0xf901eb[0x2],_0x46ddcc=_0x2e4dd1[_0x1ef0f6+0x3]^_0xf901eb[0x3],_0x5a8f8e=0x4,_0x23a2fb=0x1;_0x23a2fb<_0x374238;_0x23a2fb++){var _0x2d4b2c=_0x1dd6cf[_0x3adeb0>>>0x18]^_0x29573b[_0x38b3df>>>0x10&0xff]^_0x55d841[_0x166d8f>>>0x8&0xff]^_0x4f7503[_0x46ddcc&0xff]^_0xf901eb[_0x5a8f8e++],_0x44994b=_0x1dd6cf[_0x38b3df>>>0x18]^_0x29573b[_0x166d8f>>>0x10&0xff]^_0x55d841[_0x46ddcc>>>0x8&0xff]^_0x4f7503[_0x3adeb0&0xff]^_0xf901eb[_0x5a8f8e++],_0x35594e=_0x1dd6cf[_0x166d8f>>>0x18]^_0x29573b[_0x46ddcc>>>0x10&0xff]^_0x55d841[_0x3adeb0>>>0x8&0xff]^_0x4f7503[_0x38b3df&0xff]^_0xf901eb[_0x5a8f8e++],_0x48222e=_0x1dd6cf[_0x46ddcc>>>0x18]^_0x29573b[_0x3adeb0>>>0x10&0xff]^_0x55d841[_0x38b3df>>>0x8&0xff]^_0x4f7503[_0x166d8f&0xff]^_0xf901eb[_0x5a8f8e++];_0x3adeb0=_0x2d4b2c,_0x38b3df=_0x44994b,_0x166d8f=_0x35594e,_0x46ddcc=_0x48222e;}var _0x2d4b2c=(_0x1133a8[_0x3adeb0>>>0x18]<<0x18|_0x1133a8[_0x38b3df>>>0x10&0xff]<<0x10|_0x1133a8[_0x166d8f>>>0x8&0xff]<<0x8|_0x1133a8[_0x46ddcc&0xff])^_0xf901eb[_0x5a8f8e++],_0x44994b=(_0x1133a8[_0x38b3df>>>0x18]<<0x18|_0x1133a8[_0x166d8f>>>0x10&0xff]<<0x10|_0x1133a8[_0x46ddcc>>>0x8&0xff]<<0x8|_0x1133a8[_0x3adeb0&0xff])^_0xf901eb[_0x5a8f8e++],_0x35594e=(_0x1133a8[_0x166d8f>>>0x18]<<0x18|_0x1133a8[_0x46ddcc>>>0x10&0xff]<<0x10|_0x1133a8[_0x3adeb0>>>0x8&0xff]<<0x8|_0x1133a8[_0x38b3df&0xff])^_0xf901eb[_0x5a8f8e++],_0x48222e=(_0x1133a8[_0x46ddcc>>>0x18]<<0x18|_0x1133a8[_0x3adeb0>>>0x10&0xff]<<0x10|_0x1133a8[_0x38b3df>>>0x8&0xff]<<0x8|_0x1133a8[_0x166d8f&0xff])^_0xf901eb[_0x5a8f8e++];_0x2e4dd1[_0x1ef0f6]=_0x2d4b2c,_0x2e4dd1[_0x1ef0f6+0x1]=_0x44994b,_0x2e4dd1[_0x1ef0f6+0x2]=_0x35594e,_0x2e4dd1[_0x1ef0f6+0x3]=_0x48222e;},'keySize':0x100/0x20});_0x4463ce[_0x4cbbdd(0x327)]=_0x4ac252[_0x4cbbdd(0x315)](_0x1917d4);}()),_0x2aa2d7[_0x4af392(0x327)];}));}(fe)),fe['exports'];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x1a80fc(0x153)],at;function Xi(){var _0x556ade=_0x1a80fc;return at||(at=0x1,function(_0x40303a,_0x52ba55){(function(_0x583e28,_0x225dee){var _0x2f35a1=_0x2d6f;_0x40303a[_0x2f35a1(0x153)]=_0x225dee(ee());}(Ji,function(_0x235ac3){var _0x1b0b48=_0x2d6f;return _0x235ac3['enc'][_0x1b0b48(0x297)];}));}(be)),be[_0x556ade(0x153)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x1a80fc(0x153)],ct;function tn(){var _0x5a49cf=_0x1a80fc;return ct||(ct=0x1,function(_0x1a125e,_0x2fa0ac){(function(_0x2586c2,_0xdd9e68){var _0x225c65=_0x2d6f;_0x1a125e[_0x225c65(0x153)]=_0xdd9e68(ee());}(en,function(_0x4ef7e6){var _0x972bdb=_0x2d6f;return(function(){var _0x5bb5a7=_0x2d6f;if(typeof ArrayBuffer==_0x5bb5a7(0x276)){var _0xeb6d35=_0x4ef7e6,_0x2a7750=_0xeb6d35[_0x5bb5a7(0x145)],_0xb9da1f=_0x2a7750[_0x5bb5a7(0x427)],_0xee1f59=_0xb9da1f[_0x5bb5a7(0x16b)],_0x9c8b6e=_0xb9da1f[_0x5bb5a7(0x16b)]=function(_0x12f970){var _0x4c0551=_0x5bb5a7;if(_0x12f970 instanceof ArrayBuffer&&(_0x12f970=new Uint8Array(_0x12f970)),(_0x12f970 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x12f970 instanceof Uint8ClampedArray||_0x12f970 instanceof Int16Array||_0x12f970 instanceof Uint16Array||_0x12f970 instanceof Int32Array||_0x12f970 instanceof Uint32Array||_0x12f970 instanceof Float32Array||_0x12f970 instanceof Float64Array)&&(_0x12f970=new Uint8Array(_0x12f970['buffer'],_0x12f970[_0x4c0551(0x1ac)],_0x12f970[_0x4c0551(0x248)])),_0x12f970 instanceof Uint8Array){for(var _0xc65fdf=_0x12f970[_0x4c0551(0x248)],_0x37f400=[],_0x24557b=0x0;_0x24557b<_0xc65fdf;_0x24557b++)_0x37f400[_0x24557b>>>0x2]|=_0x12f970[_0x24557b]<<0x18-_0x24557b%0x4*0x8;_0xee1f59[_0x4c0551(0x408)](this,_0x37f400,_0xc65fdf);}else _0xee1f59['apply'](this,arguments);};_0x9c8b6e[_0x5bb5a7(0x203)]=_0xb9da1f;}}()),_0x4ef7e6[_0x972bdb(0x145)][_0x972bdb(0x427)];}));}(Re)),Re[_0x5a49cf(0x153)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0x1a80fc(0x153)],ht;function on(){var _0x2f9887=_0x1a80fc;return ht||(ht=0x1,function(_0x54af2c,_0x6d650d){(function(_0xbcc6d,_0x5e1f89,_0x385939){var _0x2aa5be=_0x2d6f;_0x54af2c[_0x2aa5be(0x153)]=_0x5e1f89(ee(),Pt());}(sn,function(_0x4dd29b){var _0x117e98=_0x2d6f;return _0x4dd29b[_0x117e98(0x3eb)][_0x117e98(0x1d1)]={'pad':function(){},'unpad':function(){}},_0x4dd29b[_0x117e98(0x3eb)]['NoPadding'];}));}(Oe)),Oe[_0x2f9887(0x153)];}var an=on();const cn=Se(an);function hn(_0x3e631e,_0x4fe41b){var _0x61ca48=_0x1a80fc;const _0x577556=_0x4fe41b-_0x3e631e[_0x61ca48(0x446)]%_0x4fe41b,_0x16b4b0=String[_0x61ca48(0x19b)](_0x577556)['repeat'](_0x577556);return _0x3e631e+_0x16b4b0;}function ln(_0x24c108,_0x105796){var _0x16e47=_0x1a80fc;const _0x3bb4f1=rn['random'](0x10),_0x25ba07=hn(_0x24c108,0x10),_0x13ae06=qi[_0x16e47(0x2b9)](Qi[_0x16e47(0x250)](_0x25ba07),ot['parse'](_0x105796),{'iv':_0x3bb4f1,'padding':cn});return _0x3bb4f1['concat'](_0x13ae06[_0x16e47(0x18a)])[_0x16e47(0x159)](ot);}function _n(){var _0x36ba98=_0x1a80fc;const _0x10798a=xt['getGlobalObject']()[_0x36ba98(0x1bd)];if(_0x10798a){const _0xc331a7={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x36ba98(0x259)]};return ln(JSON['stringify'](_0xc331a7),_0x10798a);}}var un=Object[_0x1a80fc(0x1dd)],dn=(_0x4ed339,_0x1cbcfd,_0x2a5a54,_0x2903c6)=>{var _0xd148a3=_0x1a80fc;for(var _0x536670=_0x2903c6>0x1?void 0x0:_0x2903c6?un(_0x1cbcfd,_0x2a5a54):_0x1cbcfd,_0x5587c2=_0x4ed339[_0xd148a3(0x446)]-0x1,_0xb5a52d;_0x5587c2>=0x0;_0x5587c2--)(_0xb5a52d=_0x4ed339[_0x5587c2])&&(_0x536670=_0xb5a52d(_0x536670)||_0x536670);return _0x536670;},vn=(_0x27dab8,_0x1d0dca)=>(_0x6efa0d,_0x1b135c)=>_0x1d0dca(_0x6efa0d,_0x1b135c,_0x27dab8);let Ne=class{constructor(_0x446c0f){var _0x45632a=_0x1a80fc;this['_httpService']=_0x446c0f,this[_0x45632a(0x308)]();}[_0x1a80fc(0x308)](){var _0x81bfae=_0x1a80fc;this['_httpService'][_0x81bfae(0x21e)]({'interceptor':(_0x206884,_0x12cbbf)=>{var _0x4c238c=_0x81bfae;const _0x4fcaae=_0x206884[_0x4c238c(0x1e0)],_0x5039b5=_n();return _0x5039b5&&_0x4fcaae[_0x4c238c(0x33d)](_0x4c238c(0x2f3),_0x5039b5),_0x12cbbf(_0x206884);}});}};Ne=dn([vn(0x0,a[_0x1a80fc(0x3e4)](q['HTTPService']))],Ne);var Sn=Object[_0x1a80fc(0x1dd)],fn=(_0x1bf2d7,_0x1de116,_0x3f0809,_0x448214)=>{var _0x6fe21=_0x1a80fc;for(var _0x17d738=_0x448214>0x1?void 0x0:_0x448214?Sn(_0x1de116,_0x3f0809):_0x1de116,_0x2f547d=_0x1bf2d7[_0x6fe21(0x446)]-0x1,_0x32bd6b;_0x2f547d>=0x0;_0x2f547d--)(_0x32bd6b=_0x1bf2d7[_0x2f547d])&&(_0x17d738=_0x32bd6b(_0x17d738)||_0x17d738);return _0x17d738;},Me=(_0x288226,_0x3839d1)=>(_0x4e70eb,_0xdf7a5c)=>_0x3839d1(_0x4e70eb,_0xdf7a5c,_0x288226);exports[_0x1a80fc(0x2aa)]=class extends a[_0x1a80fc(0x302)]{constructor(_0x19a0d4,_0x3faf30,_0x5baf4d){var _0x110589=_0x1a80fc;super(),A(this,_0x110589(0x168),new j['BehaviorSubject'](null)),A(this,'unitInfo$',this[_0x110589(0x168)][_0x110589(0x141)]()),(this[_0x110589(0x1fd)]=_0x19a0d4,this['_snapshotService']=_0x3faf30,this[_0x110589(0x298)]=_0x5baf4d);}async[_0x1a80fc(0x2d0)](_0x4494b3,_0x64c8eb,_0x42f083){var _0x3c9fa1=_0x1a80fc;this['_unitInfo$'][_0x3c9fa1(0x435)]({'unitId':_0x4494b3,'type':_0x64c8eb,'subUnitId':_0x42f083});let _0x15433a=null;switch(_0x64c8eb){case X['UNIVER_SHEET']:{_0x15433a=await this['_loadSheet'](_0x4494b3);break;}case X['UNIVER_DOC']:{_0x15433a=await this[_0x3c9fa1(0x354)](_0x4494b3);break;}default:{this['_logService'][_0x3c9fa1(0x1ca)]('[DataLoaderService]',_0x3c9fa1(0x173));break;}}return _0x15433a;}async['_loadSheet'](_0x38a531){var _0x3b1159=_0x1a80fc,_0x537272;let _0xed54a3=0x0;const _0x226827=await((_0x537272=this[_0x3b1159(0x298)])==null?void 0x0:_0x537272[_0x3b1159(0x138)](_0x38a531));return _0x226827&&(_0x226827[_0x3b1159(0x1f4)]||_0x226827[_0x3b1159(0x361)][_0x3b1159(0x446)]!==0x0)&&(_0xed54a3=_0x226827[_0x3b1159(0x3ba)]),_0xed54a3===0x0&&this[_0x3b1159(0x1fd)]['debug'](_0x3b1159(0x375),_0x3b1159(0x2f5)),this[_0x3b1159(0x2a8)]['loadSheet'](_0x38a531,_0xed54a3);}async[_0x1a80fc(0x354)](_0x2af4ec){var _0x4724d0=_0x1a80fc,_0x4e38bc;let _0x325f40=0x0;const _0x556715=await((_0x4e38bc=this[_0x4724d0(0x298)])==null?void 0x0:_0x4e38bc[_0x4724d0(0x138)](_0x2af4ec));return _0x556715&&(_0x556715[_0x4724d0(0x1f4)]||_0x556715['mutations']['length']!==0x0)&&(_0x325f40=_0x556715[_0x4724d0(0x3ba)]),_0x325f40===0x0&&this[_0x4724d0(0x1fd)][_0x4724d0(0x227)](_0x4724d0(0x375),_0x4724d0(0x2f5)),this['_snapshotService'][_0x4724d0(0x110)](_0x2af4ec,_0x325f40);}},exports['DataLoaderService']=fn([Me(0x0,a[_0x1a80fc(0x2d9)]),Me(0x1,a[_0x1a80fc(0x3e4)](g['SnapshotService'])),Me(0x2,a[_0x1a80fc(0x320)](z))],exports[_0x1a80fc(0x2aa)]);var pn=Object[_0x1a80fc(0x1dd)],gn=(_0xc57d40,_0x3c857c,_0x40a17f,_0x458322)=>{var _0x5aea68=_0x1a80fc;for(var _0x18a1cf=_0x458322>0x1?void 0x0:_0x458322?pn(_0x3c857c,_0x40a17f):_0x3c857c,_0x11b951=_0xc57d40[_0x5aea68(0x446)]-0x1,_0x67f01a;_0x11b951>=0x0;_0x11b951--)(_0x67f01a=_0xc57d40[_0x11b951])&&(_0x18a1cf=_0x67f01a(_0x18a1cf)||_0x18a1cf);return _0x18a1cf;},xe=(_0xba293d,_0x6086c0)=>(_0x5c2e74,_0x1df294)=>_0x6086c0(_0x5c2e74,_0x1df294,_0xba293d);const mn=[_0x1a80fc(0x40a),_0x1a80fc(0x2fc),_0x1a80fc(0x309),_0x1a80fc(0x322),'image/bmp'],In=0x5*0x400*0x400,En=_0x1a80fc(0x15d),Cn=_0x1a80fc(0x3ab),Tn=_0x1a80fc(0x362),bn=_0x1a80fc(0xf7);exports[_0x1a80fc(0x22b)]=class{constructor(_0x1564c0,_0x4f116a,_0x3d8b89){var _0x33d4c0=_0x1a80fc;A(this,_0x33d4c0(0x1e9),0x0),A(this,_0x33d4c0(0x1f1),new j['Subject']()),A(this,_0x33d4c0(0x3a4),this[_0x33d4c0(0x1f1)]),A(this,_0x33d4c0(0x27e),new Map()),(this[_0x33d4c0(0x182)]=_0x1564c0,this['_configService']=_0x4f116a,this[_0x33d4c0(0x225)]=_0x3d8b89);}[_0x1a80fc(0x3d8)](_0x3d79fe){var _0x184afd=_0x1a80fc;this[_0x184afd(0x1e9)]=_0x3d79fe,this[_0x184afd(0x1f1)][_0x184afd(0x435)](_0x3d79fe);}['getImageSourceCache'](_0x40ba1,_0x4b86e5){var _0x31cdd8=_0x1a80fc;if(_0x4b86e5===J['ImageSourceType']['BASE64']){const _0x3ea871=new Image();return _0x3ea871[_0x31cdd8(0x177)]=_0x40ba1,_0x3ea871;}return this[_0x31cdd8(0x27e)]['get'](_0x40ba1);}[_0x1a80fc(0x29a)](_0x24974a,_0x5e0c9f,_0x24749d){var _0x4515a3=_0x1a80fc;_0x5e0c9f===J[_0x4515a3(0x413)][_0x4515a3(0x34e)]||_0x24749d==null||this[_0x4515a3(0x27e)]['set'](_0x24974a,_0x24749d);}async[_0x1a80fc(0x379)](_0x5ad8ea){var _0x5a6c17=_0x1a80fc;try{const _0x1f5d43=this[_0x5a6c17(0x431)](this[_0x5a6c17(0x3f0)](),''+_0x5ad8ea),_0x306404=(await this[_0x5a6c17(0x182)][_0x5a6c17(0xf9)](_0x1f5d43))['body'];if(_0x306404[_0x5a6c17(0x1ca)]&&_0x306404[_0x5a6c17(0x1ca)][_0x5a6c17(0x323)]===Ct['OK']){const _0x4b6bfa=new URL(_0x306404[_0x5a6c17(0x3c6)],this['_getDownloadEndpointURL']())[_0x5a6c17(0x159)]();return Promise[_0x5a6c17(0x3bb)](_0x4b6bfa);}return Promise[_0x5a6c17(0x1f2)](_0x306404[_0x5a6c17(0x1ca)]);}catch(_0x5d5156){return Promise[_0x5a6c17(0x1f2)](_0x5d5156);}}async[_0x1a80fc(0x2dd)](_0xb8d290){var _0x49be9b=_0x1a80fc;let _0x4e90e8='';if(!mn[_0x49be9b(0x241)](_0xb8d290[_0x49be9b(0x2ad)]))return this['_decreaseWaiting'](),Promise[_0x49be9b(0x1f2)](new Error(J['ImageUploadStatusType'][_0x49be9b(0x2b6)]));if(_0xb8d290['size']>In)return this[_0x49be9b(0x330)](),Promise[_0x49be9b(0x1f2)](new Error(J[_0x49be9b(0x1c0)][_0x49be9b(0x294)]));try{const _0x400b53=new FormData();_0x400b53[_0x49be9b(0x2a6)](_0x49be9b(0x1d9),_0xb8d290);const _0x4096d4=this['_univerInstanceService'][_0x49be9b(0x150)](),_0x32ee53=_0x4096d4==null?void 0x0:_0x4096d4[_0x49be9b(0x14f)]();if(!_0x32ee53)throw new Error(_0x49be9b(0x10a));const _0x29e4b2=this[_0x49be9b(0x35d)]()+_0x49be9b(0x37e)+_0xb8d290[_0x49be9b(0x15e)][_0x49be9b(0x159)]()+_0x49be9b(0x125)+Tt[_0x49be9b(0x38e)]+_0x49be9b(0x1ad)+encodeURIComponent(_0x32ee53),_0x56eeae=await(await fetch(_0x29e4b2,{'method':_0x49be9b(0x31d),'body':_0x400b53}))['json']();if(typeof _0x56eeae['FileId']!='string')return this[_0x49be9b(0x330)](),Promise[_0x49be9b(0x1f2)](new Error(J['ImageUploadStatusType'][_0x49be9b(0x3bc)]));_0x4e90e8=_0x56eeae[_0x49be9b(0x342)];}catch{return this[_0x49be9b(0x330)](),Promise[_0x49be9b(0x1f2)](new Error(J['ImageUploadStatusType'][_0x49be9b(0x3bc)]));}return new Promise((_0x2b32e4,_0x450eb5)=>{var _0x507eb2=_0x49be9b;const _0x1f025d=new FileReader();_0x1f025d[_0x507eb2(0x161)](_0xb8d290),_0x1f025d[_0x507eb2(0x1b7)]=_0x38b2f1=>{var _0x39bc44=_0x507eb2,_0x371fdc;const _0x454e25=(_0x371fdc=_0x38b2f1[_0x39bc44(0x282)])==null?void 0x0:_0x371fdc[_0x39bc44(0x348)];if(_0x454e25==null){this['_decreaseWaiting'](),_0x450eb5(new Error(J[_0x39bc44(0x1c0)][_0x39bc44(0x3bc)]));return;}const _0x26821d=a[_0x39bc44(0x2d7)]['generateRandomId'](0x6);_0x2b32e4({'imageId':_0x26821d,'imageSourceType':J[_0x39bc44(0x413)][_0x39bc44(0x45c)],'source':_0x4e90e8,'base64Cache':_0x454e25,'status':J[_0x39bc44(0x1c0)]['SUCCUSS']}),this[_0x39bc44(0x330)]();};});}[_0x1a80fc(0x35d)](){var _0x3b3949=_0x1a80fc,_0x1aa375,_0x4ff761;const _0x421dea=this[_0x3b3949(0x278)][_0x3b3949(0x133)](En),_0x302a4f=this[_0x3b3949(0x278)][_0x3b3949(0x133)](Y);return(_0x4ff761=(_0x1aa375=_0x302a4f==null?void 0x0:_0x302a4f['uploadFileServerUrl'])!=null?_0x1aa375:_0x421dea)!=null?_0x4ff761:Cn;}['_getSignURL'](){var _0x19e2b5=_0x1a80fc,_0x2a45d6,_0x594d7a;const _0x496708=this[_0x19e2b5(0x278)][_0x19e2b5(0x133)](Tn),_0x30764b=this[_0x19e2b5(0x278)]['getConfig'](Y);return(_0x594d7a=(_0x2a45d6=_0x30764b==null?void 0x0:_0x30764b['signUrlServerUrl'])!=null?_0x2a45d6:_0x496708)!=null?_0x594d7a:bn;}[_0x1a80fc(0x26c)](){var _0x5a647c=_0x1a80fc,_0x30497c;const _0x40f385=this['_configService'][_0x5a647c(0x133)](Y);return(_0x30497c=_0x40f385==null?void 0x0:_0x40f385[_0x5a647c(0x334)])!=null?_0x30497c:location[_0x5a647c(0x14c)];}[_0x1a80fc(0x431)](_0x428141,_0x340db5){var _0x1d5c3e=_0x1a80fc;return _0x428141['replace'](_0x1d5c3e(0x369),_0x340db5);}[_0x1a80fc(0x330)](){var _0x21f632=_0x1a80fc;this['_waitCount']-=0x1,this[_0x21f632(0x1f1)][_0x21f632(0x435)](this[_0x21f632(0x1e9)]);}},exports[_0x1a80fc(0x22b)]=gn([xe(0x0,a[_0x1a80fc(0x3e4)](q[_0x1a80fc(0x2c5)])),xe(0x1,a[_0x1a80fc(0x39b)]),xe(0x2,a[_0x1a80fc(0x3e4)](a['IUniverInstanceService']))],exports[_0x1a80fc(0x22b)]);var Rn=Object[_0x1a80fc(0x1dd)],On=(_0xc5dd6c,_0x23c7f9,_0x5a9770,_0x7f4e87)=>{for(var _0x2646a7=_0x7f4e87>0x1?void 0x0:_0x7f4e87?Rn(_0x23c7f9,_0x5a9770):_0x23c7f9,_0x42b3f1=_0xc5dd6c['length']-0x1,_0x35e1ed;_0x42b3f1>=0x0;_0x42b3f1--)(_0x35e1ed=_0xc5dd6c[_0x42b3f1])&&(_0x2646a7=_0x35e1ed(_0x2646a7)||_0x2646a7);return _0x2646a7;},lt=(_0xc0075f,_0x7dbcbe)=>(_0x34641d,_0x4860b6)=>_0x7dbcbe(_0x34641d,_0x4860b6,_0xc0075f);const yn=_0x1a80fc(0x136);exports[_0x1a80fc(0x2a3)]=class{constructor(_0x1df61f,_0x277f0f){var _0x14db83=_0x1a80fc;this[_0x14db83(0x278)]=_0x1df61f,this['_HTTPService']=_0x277f0f;}[_0x1a80fc(0x30c)](){var _0xbe3830=_0x1a80fc,_0x1581ea,_0x5698d8;const _0x291f65=this['_configService'][_0xbe3830(0x133)](Ge),_0x4fedc2=this[_0xbe3830(0x278)][_0xbe3830(0x133)](Y);return(_0x5698d8=(_0x1581ea=_0x4fedc2==null?void 0x0:_0x4fedc2[_0xbe3830(0x129)])!=null?_0x1581ea:_0x291f65)!=null?_0x5698d8:yn;}async[_0x1a80fc(0x28b)](_0x125e47){var _0x3557de=_0x1a80fc;const _0xf627c9=this['_getAPIPrefixPath']()+_0x3557de(0x186);return{'list':[{'title':_0x3557de(0x119),'mentions':(await this[_0x3557de(0x21f)][_0x3557de(0xf9)](_0xf627c9,{'params':{'objectID':_0x125e47[_0x3557de(0x3aa)],'unitID':_0x125e47[_0x3557de(0x3aa)]}}))[_0x3557de(0x135)][_0x3557de(0x199)]['map'](_0x2c004e=>({'objectId':_0x2c004e['id'],'name':_0x2c004e[_0x3557de(0x40e)]['name'],'metadata':{'icon':_0x2c004e['subject'][_0x3557de(0xfb)]},'label':_0x2c004e[_0x3557de(0x40e)][_0x3557de(0x372)],'objectType':a[_0x3557de(0x33f)][_0x3557de(0x428)]})),'metadata':{},'type':a['MentionType'][_0x3557de(0x428)]}]};}},exports['MentionIoHttpService']=On([lt(0x0,a[_0x1a80fc(0x3e4)](a[_0x1a80fc(0x39b)])),lt(0x1,a[_0x1a80fc(0x3e4)](q[_0x1a80fc(0x2c5)]))],exports['MentionIoHttpService']);var Nn=Object['getOwnPropertyDescriptor'],Dn=(_0xcf445b,_0x23b545,_0x365567,_0x10884e)=>{var _0x49f9cf=_0x1a80fc;for(var _0x3f367d=_0x10884e>0x1?void 0x0:_0x10884e?Nn(_0x23b545,_0x365567):_0x23b545,_0x4eefc5=_0xcf445b[_0x49f9cf(0x446)]-0x1,_0x40e660;_0x4eefc5>=0x0;_0x4eefc5--)(_0x40e660=_0xcf445b[_0x4eefc5])&&(_0x3f367d=_0x40e660(_0x3f367d)||_0x3f367d);return _0x3f367d;},ue=(_0x5e9d62,_0x373d9c)=>(_0x3be70f,_0x2ec942)=>_0x373d9c(_0x3be70f,_0x2ec942,_0x5e9d62);let De=class extends a[_0x1a80fc(0x302)]{constructor(_0x373fc1,_0x228aa5,_0x4f523c,_0x190414,_0x4a2c2c){var _0x45deb9=_0x1a80fc;super(),this[_0x45deb9(0x373)]=_0x373fc1,this[_0x45deb9(0x225)]=_0x228aa5,this[_0x45deb9(0x3fe)]=_0x4f523c,this[_0x45deb9(0x19d)]=_0x190414,this[_0x45deb9(0x1a5)]=_0x4a2c2c,this[_0x45deb9(0x46a)](),this[_0x45deb9(0x291)]();}['_initCloseConn'](){var _0x26b9f7=_0x1a80fc;const _0x5c7221=async _0x198788=>{var _0x37b043=_0x2d6f;(await this[_0x37b043(0x19d)][_0x37b043(0x26b)](_0x198788))['event$'][_0x37b043(0x152)](V[_0x37b043(0x38b)](_0x5ec8d7=>_0x5ec8d7[_0x37b043(0x28a)]===g[_0x37b043(0x15b)]['SHOULD_CLOSE_CONN']),V[_0x37b043(0x31f)](this[_0x37b043(0x19f)]))['subscribe'](_0xa45738=>{var _0x5afb45=_0x37b043;const _0x1a8244=_0xa45738,{reason:_0x5a70a8}=_0x1a8244[_0x5afb45(0x38d)];this[_0x5afb45(0x1a5)][_0x5afb45(0x20e)]({'id':Q[_0x5afb45(0x16a)],'data':_0x5a70a8}),this[_0x5afb45(0x3fe)][_0x5afb45(0x1aa)](new Z[(_0x5afb45(0x341))](_0x198788)['id'],!0x1),this[_0x5afb45(0x19d)][_0x5afb45(0x35e)](_0x198788);});};j[_0x26b9f7(0x2cd)](this['_univerInstanceService'][_0x26b9f7(0x3fa)](a['UniverInstanceType'][_0x26b9f7(0x393)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x26b9f7(0x21d)][_0x26b9f7(0x252)]))['pipe'](V[_0x26b9f7(0x36f)](_0x1984a3=>_0x1984a3[_0x26b9f7(0x14f)]()),V['filter'](_0x50aa6d=>!a[_0x26b9f7(0x134)](_0x50aa6d)),V[_0x26b9f7(0x31f)](this['dispose$']))['subscribe'](_0x20ffa0=>{_0x5c7221(_0x20ffa0);});}[_0x1a80fc(0x46a)](){var _0x368e52=_0x1a80fc;const _0x44dccf=async _0x5b498=>{var _0x43a77f=_0x2d6f;const _0x1c8484=await this[_0x43a77f(0x19d)][_0x43a77f(0x26b)](_0x5b498),_0x183fb9=this[_0x43a77f(0x373)][_0x43a77f(0xf9)](Z[_0x43a77f(0x1d4)]);_0x1c8484['event$'][_0x43a77f(0x152)](V[_0x43a77f(0x38b)](_0x16920d=>_0x16920d[_0x43a77f(0x28a)]===g[_0x43a77f(0x15b)][_0x43a77f(0x240)]),V['takeUntil'](this['dispose$']))[_0x43a77f(0x316)](_0x338f7a=>{var _0xe49a1=_0x43a77f;const _0x4f863d=_0x338f7a,{objectId:_0xeb879d}=_0x4f863d[_0xe49a1(0x38d)];_0xeb879d===_0x5b498?_0x183fb9[_0xe49a1(0x238)](_0x5b498):_0x183fb9[_0xe49a1(0x2d6)](_0x5b498,_0xeb879d);});};j[_0x368e52(0x2cd)](this[_0x368e52(0x225)][_0x368e52(0x3fa)](a[_0x368e52(0x21d)]['UNIVER_SHEET']))[_0x368e52(0x152)](V[_0x368e52(0x36f)](_0x34bb73=>_0x34bb73[_0x368e52(0x14f)]()),V[_0x368e52(0x38b)](_0x1c0349=>!a['isInternalEditorID'](_0x1c0349)),V[_0x368e52(0x31f)](this[_0x368e52(0x19f)]))[_0x368e52(0x316)](_0x355fb4=>{_0x44dccf(_0x355fb4);});}};De=Dn([ue(0x0,a[_0x1a80fc(0x3e4)](a[_0x1a80fc(0x468)])),ue(0x1,a[_0x1a80fc(0x1d6)]),ue(0x2,a[_0x1a80fc(0x2b4)]),ue(0x3,a['Inject'](exports[_0x1a80fc(0x256)])),ue(0x4,a[_0x1a80fc(0x3e4)](te))],De);var Un=Object['getOwnPropertyDescriptor'],An=(_0x31d299,_0x321f9f,_0x2b4ee9,_0x110da7)=>{var _0x3ccbd7=_0x1a80fc;for(var _0x2939ea=_0x110da7>0x1?void 0x0:_0x110da7?Un(_0x321f9f,_0x2b4ee9):_0x321f9f,_0x331600=_0x31d299[_0x3ccbd7(0x446)]-0x1,_0x4bccc3;_0x331600>=0x0;_0x331600--)(_0x4bccc3=_0x31d299[_0x331600])&&(_0x2939ea=_0x4bccc3(_0x2939ea)||_0x2939ea);return _0x2939ea;},_t=(_0x52b9b5,_0x513cf4)=>(_0x3be4f0,_0x123e5c)=>_0x513cf4(_0x3be4f0,_0x123e5c,_0x52b9b5);exports[_0x1a80fc(0x107)]=class{constructor(_0x1c8411,_0x573c68){var _0x30d810=_0x1a80fc;this[_0x30d810(0x278)]=_0x1c8411,this[_0x30d810(0x182)]=_0x573c68;}async[_0x1a80fc(0x344)](_0x5a8fc6,_0x1c50a0){var _0x22a1fa=_0x1a80fc,_0x4f6316;const {unitID:_0x4087fa,type:_0xcb69a0,revision:_0x1d43a7=0x0}=_0x1c50a0,_0x59db09=this[_0x22a1fa(0x2a1)]()+'/'+_0xcb69a0+_0x22a1fa(0x395)+_0x4087fa+_0x22a1fa(0x1fa)+_0x1d43a7,_0x1e3e28=(await this[_0x22a1fa(0x182)][_0x22a1fa(0xf9)](_0x59db09))[_0x22a1fa(0x135)],_0x5a8554=(_0x4f6316=_0x1e3e28['snapshot'])==null?void 0x0:_0x4f6316[_0x22a1fa(0x349)];if(_0x5a8554){const _0x3fdd33=_0x5a8554==null?void 0x0:_0x5a8554['originalMeta'],_0xf8cbea=g['textEncoder'][_0x22a1fa(0x34a)](g[_0x22a1fa(0x1c9)](_0x3fdd33));_0x5a8554['originalMeta']=_0xf8cbea,Object['entries'](_0x5a8554[_0x22a1fa(0x17c)])[_0x22a1fa(0x32d)](([,_0x4ae752])=>{var _0x1b9796=_0x22a1fa;const _0x3b877a=_0x4ae752[_0x1b9796(0x415)],_0x5d55b0=g[_0x1b9796(0x2ca)]['encode'](g[_0x1b9796(0x1c9)](_0x3b877a));_0x4ae752['originalMeta']=_0x5d55b0;});}return _0x1e3e28;}async['getSheetBlock'](_0x2a0cbb,_0x992499){var _0x3b744a=_0x1a80fc;const {unitID:_0x1482de,type:_0x5d91d1,blockID:_0x50c4b}=_0x992499,_0x560580=this['_getAPIPrefix']()+'/'+_0x5d91d1+_0x3b744a(0x395)+_0x1482de+_0x3b744a(0x208)+_0x50c4b;return(await this[_0x3b744a(0x182)][_0x3b744a(0xf9)](_0x560580))[_0x3b744a(0x135)];}async[_0x1a80fc(0x340)](_0x41b48d,_0x2fcbe1){var _0x54a317=_0x1a80fc;const {unitID:_0x4093a0,type:_0x99c748,blockID:_0x1e078a}=_0x2fcbe1,_0x4fcbdc=this[_0x54a317(0x363)]()+'/block/'+_0x99c748+_0x54a317(0x395)+_0x4093a0+'/block/'+_0x1e078a;return(await this['_httpService'][_0x54a317(0xf9)](_0x4fcbdc))['body'];}async['fetchMissingChangesets'](_0x16764a,_0x43e444){var _0x12c40b=_0x1a80fc;const {unitID:_0x399ac1,type:_0xe6b27c,from:_0x2e827d,to:_0xc249c1}=_0x43e444,_0x353aef=this[_0x12c40b(0x363)]()+'/'+_0xe6b27c+'/unit/'+_0x399ac1+_0x12c40b(0x3af)+_0x2e827d+_0x12c40b(0x26a)+_0xc249c1;return(await this['_httpService'][_0x12c40b(0xf9)](_0x353aef))['body'];}['getSnapshotAPIPath'](){var _0x2220ca=_0x1a80fc,_0x310a56;return(_0x310a56=this[_0x2220ca(0x278)][_0x2220ca(0x133)](vt))!=null?_0x310a56:this[_0x2220ca(0x363)]();}[_0x1a80fc(0x363)](){var _0x115db6=_0x1a80fc,_0x24aa4b,_0x56b832;const _0xd2703f=this[_0x115db6(0x278)][_0x115db6(0x133)](dt),_0x24daf8=this[_0x115db6(0x278)][_0x115db6(0x133)](Y);return(_0x56b832=(_0x24aa4b=_0x24daf8==null?void 0x0:_0x24daf8[_0x115db6(0xf1)])!=null?_0x24aa4b:_0xd2703f)!=null?_0x56b832:kt;}async['getResourcesRequest'](_0x367bd0,_0x1a8019){var _0x111402=_0x1a80fc;const _0xf165a4=_0x111402(0x176)+_0x1a8019[_0x111402(0x2ad)]+_0x111402(0x395)+_0x1a8019['unitID']+'/resources';return(await this[_0x111402(0x182)][_0x111402(0xf9)](_0xf165a4,{'params':{'resourceId':JSON['stringify'](_0x1a8019[_0x111402(0x437)])}}))[_0x111402(0x135)];}[_0x1a80fc(0x3c4)](){var _0x14fd18=_0x1a80fc;throw new Error(_0x14fd18(0x1d3));}[_0x1a80fc(0x41a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1a80fc(0x1c5)](){var _0xa64eb9=_0x1a80fc;throw new Error(_0xa64eb9(0x1d3));}[_0x1a80fc(0x226)](){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']=An([_t(0x0,a[_0x1a80fc(0x39b)]),_t(0x1,a[_0x1a80fc(0x3e4)](q[_0x1a80fc(0x2c5)]))],exports[_0x1a80fc(0x107)]);var Pn=Object['getOwnPropertyDescriptor'],wn=(_0x3deafe,_0x1aec96,_0xc7b2cd,_0x57a66d)=>{var _0x32e7fb=_0x1a80fc;for(var _0x2981b4=_0x57a66d>0x1?void 0x0:_0x57a66d?Pn(_0x1aec96,_0xc7b2cd):_0x1aec96,_0x219d7a=_0x3deafe[_0x32e7fb(0x446)]-0x1,_0x461e13;_0x219d7a>=0x0;_0x219d7a--)(_0x461e13=_0x3deafe[_0x219d7a])&&(_0x2981b4=_0x461e13(_0x2981b4)||_0x2981b4);return _0x2981b4;},de=(_0x13971d,_0xf5caed)=>(_0x581485,_0x2332e0)=>_0xf5caed(_0x581485,_0x2332e0,_0x13971d);exports[_0x1a80fc(0x171)]=class extends a[_0x1a80fc(0x23b)]{constructor(_0x12b7b3,_0x15dc28,_0x5e6dcf,_0x3d1139,_0x4b44b9){var _0x7391f7=_0x1a80fc;super(_0x12b7b3,_0x15dc28,_0x5e6dcf),this[_0x7391f7(0x34b)]=_0x3d1139,this[_0x7391f7(0x1fd)]=_0x4b44b9;}[_0x1a80fc(0x19c)](_0x58a723,_0x3e78ef){var _0x5bb558=_0x1a80fc;const _0x11c824=this[_0x5bb558(0x31b)](_0x58a723);if(_0x11c824)try{const _0x34a175=this[_0x5bb558(0x419)](_0x11c824,_0x3e78ef);this[_0x5bb558(0x35f)](_0x58a723,_0x34a175);}catch(_0x6d948e){this['_logService'][_0x5bb558(0x1ca)](_0x5bb558(0x17b),_0x6d948e),this['_clearUndo'](_0x58a723);}const _0x1cd07b=this['_getRedoStack'](_0x58a723);if(_0x1cd07b)try{const _0x45f1aa=this[_0x5bb558(0x419)](_0x1cd07b,_0x3e78ef);this[_0x5bb558(0x43c)](_0x58a723,_0x45f1aa);}catch(_0x5281d1){this['_logService'][_0x5bb558(0x1ca)](_0x5281d1),this[_0x5bb558(0x23d)](_0x58a723);}}[_0x1a80fc(0x187)](_0x2abba1){var _0x4ebff6=_0x1a80fc;const _0x381580=this[_0x4ebff6(0x31b)](_0x2abba1);_0x381580&&(_0x381580[_0x4ebff6(0x446)]=0x0,this[_0x4ebff6(0x24f)]());}['_clearRedo'](_0x26f038){var _0x16ea32=_0x1a80fc;const _0x423100=this[_0x16ea32(0x22e)](_0x26f038);_0x423100&&(_0x423100[_0x16ea32(0x446)]=0x0,this[_0x16ea32(0x24f)]());}[_0x1a80fc(0x35f)](_0x9d2050,_0x266a08){var _0x30c3c4=_0x1a80fc;this['_undoStacks'][_0x30c3c4(0x33d)](_0x9d2050,_0x266a08),this['_updateStatus']();}[_0x1a80fc(0x43c)](_0x3ed2f7,_0x42e32c){var _0x3a6384=_0x1a80fc;this['_redoStacks'][_0x3a6384(0x33d)](_0x3ed2f7,_0x42e32c),this[_0x3a6384(0x24f)]();}['_transformStack'](_0x3ccae7,_0x44e72e){var _0x537b44=_0x1a80fc;const _0x4a901d=[];let _0x12119d=_0x44e72e,_0x5340fe=_0x44e72e;for(let _0x5e5d4c=_0x3ccae7[_0x537b44(0x446)]-0x1;_0x5e5d4c>=0x0;_0x5e5d4c--){const {unitID:_0x4f7442,undoMutations:_0x459fb5,redoMutations:_0x520e5f}=_0x3ccae7[_0x5e5d4c],_0x71a199=this[_0x537b44(0x34b)][_0x537b44(0x1c7)](_0x12119d,_0x459fb5),_0x430f27=this['_transformService'][_0x537b44(0x1c7)](_0x5340fe,_0x520e5f);if(g[_0x537b44(0x34c)](_0x71a199)||g['isTransformMutationsWithChangesetFailure'](_0x430f27)){this['_logService'][_0x537b44(0x1ca)](_0x537b44(0x17b),_0x537b44(0x3d9),_0x71a199,_0x430f27);break;}_0x12119d=_0x71a199[_0x537b44(0x449)],_0x5340fe=_0x430f27[_0x537b44(0x449)],_0x4a901d[_0x537b44(0x242)]({'unitID':_0x4f7442,'undoMutations':_0x71a199[_0x537b44(0x441)],'redoMutations':_0x430f27['m2Prime']});}return _0x4a901d[_0x537b44(0x3b9)]();}},exports[_0x1a80fc(0x171)]=wn([de(0x0,a['IUniverInstanceService']),de(0x1,a[_0x1a80fc(0x285)]),de(0x2,a[_0x1a80fc(0x17e)]),de(0x3,g['ITransformService']),de(0x4,a['ILogService'])],exports[_0x1a80fc(0x171)]);var Ln=Object[_0x1a80fc(0x450)],Mn=Object[_0x1a80fc(0x1dd)],xn=(_0xb8464f,_0x5403f4,_0x398128)=>_0x5403f4 in _0xb8464f?Ln(_0xb8464f,_0x5403f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x398128}):_0xb8464f[_0x5403f4]=_0x398128,kn=(_0x339537,_0x43c63b,_0x1c1067,_0x1ae5d6)=>{var _0x2cb4ab=_0x1a80fc;for(var _0x267e88=_0x1ae5d6>0x1?void 0x0:_0x1ae5d6?Mn(_0x43c63b,_0x1c1067):_0x43c63b,_0x455dd4=_0x339537[_0x2cb4ab(0x446)]-0x1,_0x2ab8ee;_0x455dd4>=0x0;_0x455dd4--)(_0x2ab8ee=_0x339537[_0x455dd4])&&(_0x267e88=_0x2ab8ee(_0x267e88)||_0x267e88);return _0x267e88;},ke=(_0x4061cd,_0x24a004)=>(_0x2f6c93,_0x376c8b)=>_0x24a004(_0x2f6c93,_0x376c8b,_0x4061cd),Hn=(_0x25878f,_0x457f2e,_0x2385f7)=>xn(_0x25878f,_0x457f2e+'',_0x2385f7);const jn=_0x1a80fc(0x42c);exports[_0x1a80fc(0x2fa)]=class extends a[_0x1a80fc(0x2a5)]{constructor(_0xd77cfb,_0x1612f1,_0x148cea,_0x586860){var _0x1b67ad=_0x1a80fc;super(),A(this,_0x1b67ad(0x45f)),(this[_0x1b67ad(0x1fd)]=_0x1612f1,this[_0x1b67ad(0x373)]=_0x148cea,this['_configService']=_0x586860);const {..._0x20bd2b}=a[_0x1b67ad(0x2cd)]({},Jt,_0xd77cfb);if(!_0x20bd2b[_0x1b67ad(0x13a)])throw new Error(_0x1b67ad(0x258));this[_0x1b67ad(0x45f)]=_0x20bd2b,this['_configService']['setConfig'](Y,_0x20bd2b);}[_0x1a80fc(0x36b)](){var _0x316033=_0x1a80fc;this[_0x316033(0x295)](),this[_0x316033(0x3dc)]();}[_0x1a80fc(0x295)](){var _0x2698aa=_0x1a80fc,_0x1cf0d5,_0x2621c2;this[_0x2698aa(0x373)][_0x2698aa(0x270)](a[_0x2698aa(0x378)])&&this[_0x2698aa(0x1fd)][_0x2698aa(0x1ca)]('[UniverCollaborationClientPlugin]',_0x2698aa(0x1c6));const _0x4ee720=a[_0x2698aa(0x40b)]([[a['IUndoRedoService'],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x2698aa(0x256)]],[exports[_0x2698aa(0x209)]],[exports[_0x2698aa(0x22c)]],[ye],[Ne],[Be],[De],[te],[exports[_0x2698aa(0x2aa)]],[$e,{'useClass':this[_0x2698aa(0x45f)][_0x2698aa(0x13a)]}],[g[_0x2698aa(0x40c)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x2698aa(0x2f6)],{'useClass':exports['AuthzIoHttpService']}],[J[_0x2698aa(0x36e)],{'useClass':exports[_0x2698aa(0x22b)]}],[a[_0x2698aa(0x384)],{'useClass':exports[_0x2698aa(0x2a3)]}],[exports[_0x2698aa(0x274)]],[He]],(_0x1cf0d5=this[_0x2698aa(0x45f)])==null?void 0x0:_0x1cf0d5[_0x2698aa(0x124)]);if(!((_0x2621c2=this[_0x2698aa(0x45f)])!=null&&_0x2621c2[_0x2698aa(0x1b5)])){const _0x3debb7=_0x4ee720[_0x2698aa(0x1d5)](([_0x128b2e])=>_0x128b2e===ve);_0x3debb7!==-0x1&&_0x4ee720[_0x2698aa(0x2de)](_0x3debb7,0x1);}a[_0x2698aa(0x3ef)](this[_0x2698aa(0x373)],_0x4ee720);}[_0x1a80fc(0x3dc)](){var _0x59d2a6=_0x1a80fc,_0xb3e4df,_0x47fa8d,_0x5b7e18;this[_0x59d2a6(0x373)][_0x59d2a6(0xf9)](q[_0x59d2a6(0x2c5)])[_0x59d2a6(0x21e)]({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0xb3e4df=this['_config'])!=null&&_0xb3e4df[_0x59d2a6(0x193)]||(_0x47fa8d=this[_0x59d2a6(0x373)][_0x59d2a6(0xf9)](z,a[_0x59d2a6(0x386)]['OPTIONAL']))==null||_0x47fa8d[_0x59d2a6(0x2a4)](),(_0x5b7e18=this[_0x59d2a6(0x45f)])!=null&&_0x5b7e18[_0x59d2a6(0x15c)]&&a['touchDependencies'](this[_0x59d2a6(0x373)],[[ye]]),a[_0x59d2a6(0x2fb)](this[_0x59d2a6(0x373)],[[Ne],[exports[_0x59d2a6(0x274)]],[De]]);}},Hn(exports[_0x1a80fc(0x2fa)],_0x1a80fc(0x1e5),jn),exports[_0x1a80fc(0x2fa)]=kn([a[_0x1a80fc(0x398)](g['UniverCollaborationPlugin'],q['UniverNetworkPlugin']),ke(0x1,a[_0x1a80fc(0x2d9)]),ke(0x2,a[_0x1a80fc(0x3e4)](a['Injector'])),ke(0x3,a[_0x1a80fc(0x39b)])],exports['UniverCollaborationClientPlugin']),exports[_0x1a80fc(0x311)]=Ge,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x1a80fc(0x195)]=It,exports[_0x1a80fc(0x1e3)]=St,exports[_0x1a80fc(0x2a0)]=Ve,exports[_0x1a80fc(0x1ba)]=Q,exports[_0x1a80fc(0x370)]=te,exports[_0x1a80fc(0x455)]=Be,exports[_0x1a80fc(0x2b3)]=ft,exports[_0x1a80fc(0x32b)]=zt,exports[_0x1a80fc(0x158)]=$t,exports[_0x1a80fc(0x10f)]=pt,exports[_0x1a80fc(0x404)]=je,exports[_0x1a80fc(0x217)]=$e,exports['ILocalCacheService']=z,exports['INetworkConditionService']=bt,exports['ISingleActiveUnitService']=ve,exports[_0x1a80fc(0x3c9)]=Gt,exports[_0x1a80fc(0x2a9)]=Wt,exports['LOGIN_URL_KEY']=Et,exports[_0x1a80fc(0x263)]=qt,exports[_0x1a80fc(0x2eb)]=mt,exports[_0x1a80fc(0x10e)]=Ht,exports[_0x1a80fc(0x10c)]=dt,exports[_0x1a80fc(0x2cc)]=vt,exports['SessionStatus']=se,exports[_0x1a80fc(0x2b5)]=Fe,exports[_0x1a80fc(0x3ee)]=Rt,exports[_0x1a80fc(0x26f)]=vi,exports['serializeCombRequest']=Ot;
|
1
|
+
'use strict';var _0xeea7c7=_0x37bc;(function(_0xbc3872,_0x487496){var _0x440cd5=_0x37bc,_0x46f691=_0xbc3872();while(!![]){try{var _0x15a4e1=parseInt(_0x440cd5(0xe4))/0x1+parseInt(_0x440cd5(0x9b))/0x2+parseInt(_0x440cd5(0x8f))/0x3+parseInt(_0x440cd5(0x3eb))/0x4+parseInt(_0x440cd5(0x37b))/0x5*(parseInt(_0x440cd5(0x3ad))/0x6)+-parseInt(_0x440cd5(0x230))/0x7+-parseInt(_0x440cd5(0xcb))/0x8;if(_0x15a4e1===_0x487496)break;else _0x46f691['push'](_0x46f691['shift']());}catch(_0xd4334e){_0x46f691['push'](_0x46f691['shift']());}}}(_0x27e2,0xce9c1));var wt=Object[_0xeea7c7(0x2d4)],Lt=(_0x4c3799,_0xffb017,_0x575075)=>_0xffb017 in _0x4c3799?wt(_0x4c3799,_0xffb017,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x575075}):_0x4c3799[_0xffb017]=_0x575075,A=(_0x50a34c,_0xf39951,_0x9e9d45)=>Lt(_0x50a34c,typeof _0xf39951!='symbol'?_0xf39951+'':_0xf39951,_0x9e9d45);Object[_0xeea7c7(0x2d4)](exports,Symbol['toStringTag'],{'value':_0xeea7c7(0x3e1)});const a=require(_0xeea7c7(0x3e7)),j=require(_0xeea7c7(0x320)),V=require(_0xeea7c7(0x29b)),g=require(_0xeea7c7(0x3f9)),q=require('@univerjs/network'),Mt=require(_0xeea7c7(0x205)),ut=require('@univerjs/docs'),Z=require('@univerjs/sheets'),J=require('@univerjs/drawing'),xt=require(_0xeea7c7(0x326)),dt=_0xeea7c7(0x241),kt=_0xeea7c7(0x1da),vt='SNAPSHOT_URL_KEY',Ht=_0xeea7c7(0x3fb),jt=0x7d0,St=_0xeea7c7(0x308),ft=_0xeea7c7(0x379),$t=_0xeea7c7(0x1fe),pt='HEARTBEAT_INTERVAL',Bt=0x7530,je=_0xeea7c7(0x2d8),gt=0x4e20,Ft=0x4e20,It='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Wt=_0xeea7c7(0x32c),Gt=0x3e8,mt=_0xeea7c7(0x250),Kt=_0xeea7c7(0x356),Et=_0xeea7c7(0x1e1),Yt='/universer-api/oidc/authpage',qt=_0xeea7c7(0x22d),zt=_0xeea7c7(0x108);var Ct=(_0x20e3d3=>(_0x20e3d3[_0x20e3d3['UNDEFINED']=0x0]=_0xeea7c7(0x214),_0x20e3d3[_0x20e3d3['OK']=0x1]='OK',_0x20e3d3[_0x20e3d3[_0xeea7c7(0x3df)]=0x2]=_0xeea7c7(0x3df),_0x20e3d3[_0x20e3d3['PERMISSION_DENIED']=0x3]=_0xeea7c7(0x391),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x173)]=0x4]='NOT_FOUND',_0x20e3d3[_0x20e3d3['UNAUTHENTICATED']=0x5]=_0xeea7c7(0x10d),_0x20e3d3[_0x20e3d3['ALREADY_EXISTS']=0x6]=_0xeea7c7(0x1de),_0x20e3d3[_0x20e3d3['INVALID_ARGUMENT']=0x7]=_0xeea7c7(0x345),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x2f2)]=0x8]=_0xeea7c7(0x2f2),_0x20e3d3[_0x20e3d3['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x20e3d3[_0x20e3d3['LOGIN_FAILED']=0xa]=_0xeea7c7(0xa6),_0x20e3d3[_0x20e3d3['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xeea7c7(0x3a1),_0x20e3d3[_0x20e3d3['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xeea7c7(0x236),_0x20e3d3[_0x20e3d3['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xeea7c7(0x2d7),_0x20e3d3[_0x20e3d3['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xeea7c7(0x343),_0x20e3d3[_0x20e3d3[_0xeea7c7(0xd9)]=0x1b59]='APPLY_REJECT',_0x20e3d3[_0x20e3d3[_0xeea7c7(0x2b5)]=0x1b5a]=_0xeea7c7(0x2b5),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x3c1)]=0x1b5b]=_0xeea7c7(0x3c1),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x156)]=0x1b5c]=_0xeea7c7(0x156),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x323)]=0x1b5d]=_0xeea7c7(0x323),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x271)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x20e3d3[_0x20e3d3['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x20e3d3[_0x20e3d3[_0xeea7c7(0x36a)]=0x232a]=_0xeea7c7(0x36a),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x163)]=0x232b]=_0xeea7c7(0x163),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x2d5)]=0x232c]=_0xeea7c7(0x2d5),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x1e6)]=0x232d]=_0xeea7c7(0x1e6),_0x20e3d3[_0x20e3d3['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xeea7c7(0x15c),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x131)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x20e3d3[_0x20e3d3[_0xeea7c7(0x31f)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x20e3d3[_0x20e3d3[_0xeea7c7(0x27d)]=0x2714]=_0xeea7c7(0x27d),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x3a0)]=0x271a]=_0xeea7c7(0x3a0),_0x20e3d3[_0x20e3d3['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xeea7c7(0x332),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x92)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x20e3d3[_0x20e3d3[_0xeea7c7(0x32a)]=0x2ee1]=_0xeea7c7(0x32a),_0x20e3d3[_0x20e3d3['INVALID_INVITE_CODE']=0x2ee2]=_0xeea7c7(0x313),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x3bd)]=0x2ee3]=_0xeea7c7(0x3bd),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x112)]=0x2ee4]=_0xeea7c7(0x112),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x2ef)]=0x2ee5]=_0xeea7c7(0x2ef),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x3c9)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x20e3d3[_0x20e3d3[_0xeea7c7(0x376)]=0x32ca]=_0xeea7c7(0x376),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x32e)]=0x32cb]=_0xeea7c7(0x32e),_0x20e3d3[_0x20e3d3[_0xeea7c7(0x384)]=-0x1]=_0xeea7c7(0x384),_0x20e3d3))(Ct||{}),X=(_0x2d487b=>(_0x2d487b[_0x2d487b[_0xeea7c7(0x25c)]=0x0]='UNIVER_UNKNOWN',_0x2d487b[_0x2d487b[_0xeea7c7(0xd1)]=0x1]=_0xeea7c7(0xd1),_0x2d487b[_0x2d487b[_0xeea7c7(0x21f)]=0x2]=_0xeea7c7(0x21f),_0x2d487b[_0x2d487b[_0xeea7c7(0x269)]=0x3]=_0xeea7c7(0x269),_0x2d487b[_0x2d487b[_0xeea7c7(0x181)]=0x4]=_0xeea7c7(0x181),_0x2d487b[_0x2d487b[_0xeea7c7(0x384)]=-0x1]=_0xeea7c7(0x384),_0x2d487b))(X||{}),W=(_0x24450d=>(_0x24450d[_0x24450d[_0xeea7c7(0x27b)]=0x0]=_0xeea7c7(0x27b),_0x24450d[_0x24450d['HELLO']=0x1]=_0xeea7c7(0x210),_0x24450d[_0x24450d['JOIN']=0x2]=_0xeea7c7(0x3f8),_0x24450d[_0x24450d[_0xeea7c7(0x97)]=0x3]='LEAVE',_0x24450d[_0x24450d[_0xeea7c7(0x113)]=0x4]=_0xeea7c7(0x113),_0x24450d[_0x24450d[_0xeea7c7(0x367)]=0x5]=_0xeea7c7(0x367),_0x24450d[_0x24450d[_0xeea7c7(0x3d6)]=0x6]=_0xeea7c7(0x3d6),_0x24450d[_0x24450d['UNRECOGNIZED']=-0x1]=_0xeea7c7(0x384),_0x24450d))(W||{}),ae=(_0x499e94=>(_0x499e94[_0x499e94[_0xeea7c7(0x3a2)]=0x0]=_0xeea7c7(0x3a2),_0x499e94[_0x499e94['OK']=0x1]='OK',_0x499e94[_0x499e94[_0xeea7c7(0xe0)]=0x2]=_0xeea7c7(0xe0),_0x499e94[_0x499e94[_0xeea7c7(0x3dc)]=0x3e9]=_0xeea7c7(0x3dc),_0x499e94[_0x499e94[_0xeea7c7(0x34f)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x499e94[_0x499e94[_0xeea7c7(0x3c5)]=0x3eb]=_0xeea7c7(0x3c5),_0x499e94[_0x499e94['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0xeea7c7(0x120),_0x499e94[_0x499e94['UNRECOGNIZED']=-0x1]=_0xeea7c7(0x384),_0x499e94))(ae||{}),Tt=(_0x531168=>(_0x531168[_0x531168[_0xeea7c7(0x2f3)]=0x0]=_0xeea7c7(0x2f3),_0x531168[_0x531168[_0xeea7c7(0x1b3)]=0x1]='HttpImport',_0x531168[_0x531168['HttpExport']=0x2]=_0xeea7c7(0x2ea),_0x531168[_0x531168[_0xeea7c7(0x32d)]=0x3]=_0xeea7c7(0x32d),_0x531168[_0x531168[_0xeea7c7(0x268)]=0x4]=_0xeea7c7(0x268),_0x531168[_0x531168[_0xeea7c7(0x35c)]=0x5]=_0xeea7c7(0x35c),_0x531168[_0x531168[_0xeea7c7(0x384)]=-0x1]=_0xeea7c7(0x384),_0x531168))(Tt||{});const Y=_0xeea7c7(0x1f7),Jt={};var Q=(_0x3c6b61=>(_0x3c6b61[_0xeea7c7(0x31b)]=_0xeea7c7(0x31b),_0x3c6b61[_0xeea7c7(0x391)]=_0xeea7c7(0x391),_0x3c6b61[_0xeea7c7(0x1ee)]=_0xeea7c7(0x1ee),_0x3c6b61['CLOSE_ROOM']='CLOSE_ROOM',_0x3c6b61[_0xeea7c7(0x2aa)]=_0xeea7c7(0x2aa),_0x3c6b61[_0xeea7c7(0x2df)]=_0xeea7c7(0x2df),_0x3c6b61[_0xeea7c7(0x115)]=_0xeea7c7(0x115),_0x3c6b61[_0xeea7c7(0xc9)]=_0xeea7c7(0xc9),_0x3c6b61))(Q||{});class te{constructor(){var _0x294472=_0xeea7c7;A(this,'_event$',new j[(_0x294472(0x26e))]()),A(this,_0x294472(0x1f0),this[_0x294472(0x215)]['asObservable']());}['emitEvent'](_0xdca5f8){var _0x5d12ab=_0xeea7c7;this[_0x5d12ab(0x215)][_0x5d12ab(0xe3)](_0xdca5f8);}}const bt=a['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function Rt(_0x54b717){var _0x1509c7=_0xeea7c7,_0x252a1a,_0x57e7a8,_0x589ad1,_0x5ac378,_0x1caff5;const _0xf2334d=_0x54b717[_0x1509c7(0x1db)],_0x3f2f6e=JSON[_0x1509c7(0x2a3)](_0xf2334d);switch(_0x3f2f6e[_0x1509c7(0x178)]){case W[_0x1509c7(0x367)]:case W[_0x1509c7(0x210)]:{const _0x3624f1=_0x3f2f6e[_0x1509c7(0x398)];return{..._0x3f2f6e,'data':_0x3624f1,'cmd':_0x3f2f6e[_0x1509c7(0x178)]};}case W[_0x1509c7(0x3f8)]:{const _0x3d6a40=_0x3f2f6e[_0x1509c7(0x19e)];return{..._0x3f2f6e,'data':_0x3d6a40,'cmd':_0x3f2f6e['cmd']};}case W[_0x1509c7(0x3d6)]:{const _0x4f6fd1=_0x3f2f6e[_0x1509c7(0xa7)];switch(_0x4f6fd1[_0x1509c7(0x9c)]){case g[_0x1509c7(0x3bb)][_0x1509c7(0x2d6)]:return{..._0x3f2f6e,'data':{..._0x4f6fd1,'data':(_0x252a1a=_0x4f6fd1[_0x1509c7(0x3ac)])==null?void 0x0:_0x252a1a['cs']},'cmd':_0x3f2f6e[_0x1509c7(0x178)]};case g[_0x1509c7(0x3bb)][_0x1509c7(0x336)]:return{..._0x3f2f6e,'data':{..._0x4f6fd1,'data':(_0x57e7a8=_0x4f6fd1[_0x1509c7(0x209)])==null?void 0x0:_0x57e7a8['cs']},'cmd':_0x3f2f6e[_0x1509c7(0x178)]};case g[_0x1509c7(0x3bb)][_0x1509c7(0x35a)]:return{..._0x3f2f6e,'data':{..._0x4f6fd1,'data':(_0x589ad1=_0x4f6fd1[_0x1509c7(0x1af)])==null?void 0x0:_0x589ad1['cs']},'cmd':_0x3f2f6e[_0x1509c7(0x178)]};case g[_0x1509c7(0x3bb)][_0x1509c7(0x196)]:return{..._0x3f2f6e,'data':{..._0x4f6fd1,'data':(_0x5ac378=_0x4f6fd1[_0x1509c7(0x11a)])==null?void 0x0:_0x5ac378['cs']},'cmd':_0x3f2f6e['cmd']};case g['CollaborationEvent'][_0x1509c7(0x3e9)]:return{..._0x3f2f6e,'data':{..._0x4f6fd1,'data':(_0x1caff5=_0x4f6fd1[_0x1509c7(0x190)])==null?void 0x0:_0x1caff5['cs']},'cmd':_0x3f2f6e['cmd']};case g['CollaborationEvent'][_0x1509c7(0x325)]:return{..._0x3f2f6e,'data':{..._0x4f6fd1,'data':_0x4f6fd1['updateCursorEvent']},'cmd':_0x3f2f6e['cmd']};case g['CollaborationEvent'][_0x1509c7(0x3d3)]:return{..._0x3f2f6e,'data':{..._0x4f6fd1,'data':_0x4f6fd1['joinEvent']},'cmd':_0x3f2f6e[_0x1509c7(0x178)]};case g[_0x1509c7(0x3bb)][_0x1509c7(0x124)]:return{..._0x3f2f6e,'data':{..._0x4f6fd1,'data':_0x4f6fd1[_0x1509c7(0xb2)]},'cmd':_0x3f2f6e[_0x1509c7(0x178)]};case g[_0x1509c7(0x3bb)][_0x1509c7(0x10e)]:return{..._0x3f2f6e,'data':{..._0x4f6fd1,'data':_0x4f6fd1[_0x1509c7(0x27a)]},'cmd':_0x3f2f6e[_0x1509c7(0x178)]};case g[_0x1509c7(0x3bb)][_0x1509c7(0x222)]:case g['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x3f2f6e,'data':{..._0x4f6fd1,'data':_0x4f6fd1['liveShareOperation']},'cmd':_0x3f2f6e[_0x1509c7(0x178)]};case g[_0x1509c7(0x3bb)][_0x1509c7(0x3c8)]:return{..._0x3f2f6e,'data':{..._0x4f6fd1,'data':_0x4f6fd1[_0x1509c7(0x27a)]},'cmd':_0x3f2f6e['cmd']};case g[_0x1509c7(0x3bb)][_0x1509c7(0x1e4)]:return{..._0x3f2f6e,'data':_0x4f6fd1,'cmd':_0x3f2f6e['cmd']};case g[_0x1509c7(0x3bb)][_0x1509c7(0x189)]:return{..._0x3f2f6e,'data':{..._0x4f6fd1,'data':_0x4f6fd1[_0x1509c7(0x151)]},'cmd':_0x3f2f6e[_0x1509c7(0x178)]};case g['CollaborationEvent'][_0x1509c7(0x1f8)]:return{..._0x3f2f6e,'data':{..._0x4f6fd1,'data':_0x4f6fd1[_0x1509c7(0x1fa)]},'cmd':_0x3f2f6e[_0x1509c7(0x178)]};case g[_0x1509c7(0x3bb)][_0x1509c7(0x3b2)]:return{..._0x3f2f6e,'data':{..._0x4f6fd1,'data':_0x4f6fd1[_0x1509c7(0x176)]},'cmd':_0x3f2f6e[_0x1509c7(0x178)]};case g['CollaborationEvent'][_0x1509c7(0x26b)]:return{..._0x3f2f6e,'data':{..._0x4f6fd1,'data':_0x4f6fd1[_0x1509c7(0x38b)]},'cmd':_0x3f2f6e[_0x1509c7(0x178)]};default:return _0x3f2f6e;}}default:return _0x3f2f6e;}}function Ot(_0x5db9b6){var _0x3347b7=_0xeea7c7;switch(_0x5db9b6[_0x3347b7(0x178)]){case W[_0x3347b7(0x367)]:case W['HELLO']:return JSON[_0x3347b7(0x2b3)]({'cmd':_0x5db9b6[_0x3347b7(0x178)],'routeKey':_0x5db9b6[_0x3347b7(0x25e)]});case W[_0x3347b7(0x113)]:{let _0x4d6752;switch(_0x5db9b6[_0x3347b7(0x1db)][_0x3347b7(0x9c)]){case g[_0x3347b7(0x3bb)][_0x3347b7(0x325)]:{_0x4d6752={'eventID':g[_0x3347b7(0x3bb)]['UPDATE_CURSOR'],'updateCursorEvent':_0x5db9b6[_0x3347b7(0x1db)][_0x3347b7(0x1db)]};break;}case g['CollaborationEvent'][_0x3347b7(0x124)]:{_0x4d6752={'eventID':g['CollaborationEvent'][_0x3347b7(0x124)],'leaveEvent':_0x5db9b6[_0x3347b7(0x1db)]['data']};break;}case g[_0x3347b7(0x3bb)][_0x3347b7(0x3d3)]:{_0x4d6752={'eventID':g[_0x3347b7(0x3bb)]['USERS_ENTER'],'joinEvent':_0x5db9b6[_0x3347b7(0x1db)][_0x3347b7(0x1db)]};break;}case g[_0x3347b7(0x3bb)]['LIVESHARE_NEW_HOST']:{_0x4d6752={'eventID':g[_0x3347b7(0x3bb)][_0x3347b7(0x10e)],'liveShareNewHost':_0x5db9b6[_0x3347b7(0x1db)]['data']};break;}case g[_0x3347b7(0x3bb)]['LIVESHARE_OPERATION']:{_0x4d6752={'eventID':g[_0x3347b7(0x3bb)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x5db9b6[_0x3347b7(0x1db)][_0x3347b7(0x1db)]};break;}case g[_0x3347b7(0x3bb)][_0x3347b7(0x3c8)]:{_0x4d6752={'eventID':g[_0x3347b7(0x3bb)][_0x3347b7(0x3c8)],'liveShareTerminate':_0x5db9b6[_0x3347b7(0x1db)]['data']};break;}case g['CollaborationEvent'][_0x3347b7(0x1c5)]:{_0x4d6752={'eventID':g[_0x3347b7(0x3bb)][_0x3347b7(0x1c5)],'liveShareRequestHost':_0x5db9b6[_0x3347b7(0x1db)][_0x3347b7(0x1db)]};break;}case g[_0x3347b7(0x3bb)][_0x3347b7(0x222)]:{_0x4d6752={'eventID':g[_0x3347b7(0x3bb)][_0x3347b7(0x222)]};break;}default:_0x4d6752={'eventID':_0x5db9b6[_0x3347b7(0x1db)][_0x3347b7(0x9c)]};}return JSON[_0x3347b7(0x2b3)]({'cmd':_0x5db9b6[_0x3347b7(0x178)],'routeKey':_0x5db9b6[_0x3347b7(0x25e)],'collaMsg':_0x4d6752});}case W[_0x3347b7(0x3f8)]:return JSON[_0x3347b7(0x2b3)]({'cmd':_0x5db9b6['cmd'],'routeKey':_0x5db9b6[_0x3347b7(0x25e)],'joinReq':_0x5db9b6['data']});case W[_0x3347b7(0x97)]:return JSON['stringify']({'cmd':_0x5db9b6[_0x3347b7(0x178)],'routeKey':_0x5db9b6[_0x3347b7(0x25e)],'leaveReq':_0x5db9b6[_0x3347b7(0x1db)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Xt=Object[_0xeea7c7(0x2a7)],Zt=(_0x5c0540,_0x24a7af,_0x3d605c,_0x728e51)=>{for(var _0x59a6fc=_0x728e51>0x1?void 0x0:_0x728e51?Xt(_0x24a7af,_0x3d605c):_0x24a7af,_0x2dabe2=_0x5c0540['length']-0x1,_0x3d7ff8;_0x2dabe2>=0x0;_0x2dabe2--)(_0x3d7ff8=_0x5c0540[_0x2dabe2])&&(_0x59a6fc=_0x3d7ff8(_0x59a6fc)||_0x59a6fc);return _0x59a6fc;},le=(_0x106ba5,_0x4749ee)=>(_0x448d77,_0x91cebc)=>_0x4749ee(_0x448d77,_0x91cebc,_0x106ba5);const $e=a[_0xeea7c7(0x2fc)](_0xeea7c7(0x1e9));function Qt(_0x508088,_0x276753,_0x5a3d82){var _0x3b3349=_0xeea7c7;return _0x508088+'/'+_0x276753+_0x3b3349(0x386)+_0x5a3d82+_0x3b3349(0x22c);}exports[_0xeea7c7(0xee)]=class extends a[_0xeea7c7(0xe5)]{constructor(_0x46ad03,_0x182e1c,_0x255e03,_0x49e201,_0x10e3cb){var _0x3a7018=_0xeea7c7;super(),this['_injector']=_0x46ad03,this['_httpService']=_0x182e1c,this['_configService']=_0x255e03,this['_logService']=_0x49e201,this[_0x3a7018(0xd6)]=_0x10e3cb;}[_0xeea7c7(0x7e)](_0x1eccfe){var _0x5b08a8=_0xeea7c7;const _0xb6a8e0=this[_0x5b08a8(0x17a)]['get'](q['ISocketService']);if(!_0xb6a8e0)throw new Error(_0x5b08a8(0x9a));const _0xcb18cf=_0xb6a8e0['createSocket'](_0x1eccfe);if(!_0xcb18cf)throw new Error(_0x5b08a8(0x154));const _0x6c9965=new a[(_0x5b08a8(0x255))](),_0x3dcd6a=new j[(_0x5b08a8(0x26e))]();_0x6c9965['add'](_0xcb18cf[_0x5b08a8(0x2e3)][_0x5b08a8(0xc7)](_0x41ddc7=>_0x3dcd6a[_0x5b08a8(0xe3)](_0x41ddc7))),_0x6c9965[_0x5b08a8(0x19a)](a[_0x5b08a8(0x392)](()=>_0x3dcd6a[_0x5b08a8(0x17d)]()));const _0x4b3045=new j[(_0x5b08a8(0x26e))]();_0x6c9965['add'](_0xcb18cf['error$'][_0x5b08a8(0xc7)](_0x359fda=>_0x4b3045[_0x5b08a8(0xe3)](_0x359fda))),_0x6c9965[_0x5b08a8(0x19a)](a[_0x5b08a8(0x392)](()=>_0x4b3045[_0x5b08a8(0x17d)]()));const _0x1c891d=new j[(_0x5b08a8(0x26e))]();_0x6c9965[_0x5b08a8(0x19a)](_0xcb18cf[_0x5b08a8(0x3b3)][_0x5b08a8(0xc7)](_0x3f79d2=>{var _0x204361=_0x5b08a8;const _0x259aa4=Rt(_0x3f79d2);_0x1c891d[_0x204361(0xe3)](_0x259aa4);})),_0x6c9965[_0x5b08a8(0x19a)](a[_0x5b08a8(0x392)](()=>_0x1c891d['complete']()));let _0x5068a2;const _0x4ac89d=()=>{var _0x1e99b4=_0x5b08a8;_0x4b3045[_0x1e99b4(0xe3)](new Event(_0x1e99b4(0x1d7))),_0x3dcd6a[_0x1e99b4(0xe3)](new Event(_0x1e99b4(0x1d7))),_0x5068a2[_0x1e99b4(0x2a9)]();};return _0x5068a2={'memberID':'','close$':_0x3dcd6a[_0x5b08a8(0x39b)](),'error$':_0x4b3045['asObservable'](),'open$':_0xcb18cf[_0x5b08a8(0x111)],'message$':_0x1c891d[_0x5b08a8(0x39b)](),'send':_0xdcbc3a=>{var _0x4ebb89=_0x5b08a8;if(_0xdcbc3a['cmd']===W[_0x4ebb89(0x113)]){if(_0xdcbc3a[_0x4ebb89(0x1db)][_0x4ebb89(0x9c)]===g[_0x4ebb89(0x3bb)][_0x4ebb89(0x389)]){this[_0x4ebb89(0x39e)](_0x5068a2,_0xdcbc3a[_0x4ebb89(0x1db)])[_0x4ebb89(0xf0)](_0xf1066f=>{var _0x18aa1b=_0x4ebb89;this[_0x18aa1b(0x21d)][_0x18aa1b(0x12a)](_0xf1066f),_0x4ac89d();});return;}if(_0xdcbc3a[_0x4ebb89(0x1db)][_0x4ebb89(0x9c)]===g[_0x4ebb89(0x3bb)][_0x4ebb89(0x199)]){const _0x8d11e8=_0xdcbc3a[_0x4ebb89(0x1db)];this['_fetchMissChangesets'](_0x8d11e8)[_0x4ebb89(0x19f)](_0x3cbf10=>{var _0x4165d3=_0x4ebb89;_0x1c891d[_0x4165d3(0xe3)]({'cmd':W[_0x4165d3(0x3d6)],'code':ae['OK'],'routeKey':_0x8d11e8[_0x4165d3(0x1db)][_0x4165d3(0x1bf)],'routeType':'','data':{'eventID':g['CollaborationEvent'][_0x4165d3(0x1b1)],'data':{'changesets':_0x3cbf10}}});})['catch'](_0x3c50b5=>{var _0x1be813=_0x4ebb89;this['_logService'][_0x1be813(0x12a)](_0x3c50b5),_0x4ac89d();});return;}}_0xcb18cf[_0x4ebb89(0x15f)](Ot(_0xdcbc3a));},'close':()=>{var _0x1b7155=_0x5b08a8;_0xcb18cf[_0x1b7155(0x2a9)](),_0x6c9965[_0x1b7155(0x203)]();}},_0x5068a2;}async[_0xeea7c7(0x39e)](_0x2621c2,_0x4632f8){var _0x283a5c=_0xeea7c7,_0x34aac6,_0x471d1a;const {unitType:_0x54e483,unitID:_0x10f0d1,changeset:_0x2c1f33}=_0x4632f8[_0x283a5c(0x1db)],_0x7ded3b={'unitID':_0x10f0d1,'memberID':_0x2621c2[_0x283a5c(0x38f)],'type':_0x54e483,'changeset':g['parseChangesetToProtocol'](_0x2c1f33)},_0x16bbf6=this[_0x283a5c(0x33e)]['getConfig'](mt),_0x1405e9=this[_0x283a5c(0x33e)]['getConfig'](Y),_0x1bbf02=Qt((_0x471d1a=(_0x34aac6=_0x1405e9==null?void 0x0:_0x1405e9['collabSubmitChangesetUrl'])!=null?_0x34aac6:_0x16bbf6)!=null?_0x471d1a:Kt,_0x54e483,_0x10f0d1);try{await this[_0x283a5c(0x1d3)][_0x283a5c(0x272)](_0x1bbf02,{'body':_0x7ded3b});}catch(_0x3c1702){throw this[_0x283a5c(0x21d)][_0x283a5c(0x12a)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x3c1702;}}async[_0xeea7c7(0x1d9)](_0x2c8602){var _0x5ef42a=_0xeea7c7;const {unitID:_0xd514ab,from:_0x4cd2e2,to:_0x734879,unitType:_0x47595f}=_0x2c8602['data'];return(await this['_snapshotServerService'][_0x5ef42a(0xb4)]({'metadata':void 0x0},{'unitID':_0xd514ab,'type':_0x47595f,'from':_0x4cd2e2,'to':_0x734879}))[_0x5ef42a(0x14b)];}},exports[_0xeea7c7(0xee)]=Zt([le(0x0,a[_0xeea7c7(0xf1)](a[_0xeea7c7(0xf8)])),le(0x1,a[_0xeea7c7(0xf1)](q[_0xeea7c7(0x114)])),le(0x2,a[_0xeea7c7(0xca)]),le(0x3,a[_0xeea7c7(0x16f)]),le(0x4,g['ISnapshotServerService'])],exports['CollaborationSocketService']);const ei=_0xeea7c7(0x3b1);function ti(_0x2fe0a4){var _0x2c6464=_0xeea7c7;return JSON[_0x2c6464(0x2b3)](_0x2fe0a4)[_0x2c6464(0x254)];}class Be{constructor(){var _0x331b07=_0xeea7c7;A(this,_0x331b07(0x248),new j[(_0x331b07(0x26e))]()),A(this,_0x331b07(0x2c4),this[_0x331b07(0x248)][_0x331b07(0x39b)]());}['onCommentUpdate'](_0x200f4a){var _0x5106a5=_0xeea7c7;this[_0x5106a5(0x248)]['next'](_0x200f4a);}}var ii=Object['getOwnPropertyDescriptor'],ni=(_0x25bdeb,_0x4a426c,_0x1a729b,_0x1a4f80)=>{var _0x678c40=_0xeea7c7;for(var _0x3e457f=_0x1a4f80>0x1?void 0x0:_0x1a4f80?ii(_0x4a426c,_0x1a729b):_0x4a426c,_0x2af882=_0x25bdeb[_0x678c40(0x254)]-0x1,_0x361477;_0x2af882>=0x0;_0x2af882--)(_0x361477=_0x25bdeb[_0x2af882])&&(_0x3e457f=_0x361477(_0x3e457f)||_0x3e457f);return _0x3e457f;},Ke=(_0x4a0601,_0x1561bd)=>(_0x54ab4c,_0x37bf9b)=>_0x1561bd(_0x54ab4c,_0x37bf9b,_0x4a0601);exports['MemberService']=class extends a['Disposable']{constructor(_0x1a6ddd,_0x1a0997){var _0x55f853=_0xeea7c7;super(),A(this,_0x55f853(0x2ce),new Map()),A(this,_0x55f853(0x286),new j[(_0x55f853(0x26e))]()),(this[_0x55f853(0x327)]=_0x1a6ddd,this[_0x55f853(0x3e8)]=_0x1a0997,this['disposeWithMe'](j[_0x55f853(0x16e)](this[_0x55f853(0x327)][_0x55f853(0x38d)](a[_0x55f853(0xa9)][_0x55f853(0x21f)])[_0x55f853(0x24c)](V[_0x55f853(0xad)](_0x8099f8=>_0x8099f8[_0x55f853(0xf9)]())),this[_0x55f853(0x327)][_0x55f853(0x38d)](a[_0x55f853(0xa9)]['UNIVER_DOC'])[_0x55f853(0x24c)](V[_0x55f853(0xad)](_0x5d8b17=>_0x5d8b17[_0x55f853(0xf9)]())),this['_univerInstanceService'][_0x55f853(0x38d)](a['UniverInstanceType'][_0x55f853(0x269)])[_0x55f853(0x24c)](V['map'](_0x534ca4=>_0x534ca4[_0x55f853(0xf9)]())))['subscribe'](_0x41b0be=>this[_0x55f853(0x273)](_0x41b0be))));}[_0xeea7c7(0x3e4)](_0x65fcfc){var _0x3d9f24=_0xeea7c7;return this['_roomMembers'][_0x3d9f24(0x116)](_0x65fcfc)?j['of'](this[_0x3d9f24(0x2ce)][_0x3d9f24(0x328)](_0x65fcfc)):this[_0x3d9f24(0x286)][_0x3d9f24(0x24c)](V[_0x3d9f24(0xad)](_0x78b04d=>{var _0x4f6f25=_0x3d9f24;if(_0x78b04d===_0x65fcfc)return this[_0x4f6f25(0x2ce)][_0x4f6f25(0x328)](_0x78b04d);}));}[_0xeea7c7(0x1aa)](_0x32ba2c){var _0x51785d=_0xeea7c7;this[_0x51785d(0x3e8)][_0x51785d(0x1aa)](_0x32ba2c);}[_0xeea7c7(0x373)](){var _0x46205b=_0xeea7c7;return this[_0x46205b(0x3e8)]['getCurrentUser']();}[_0xeea7c7(0x31c)](_0x2c506b,_0x2d7972){var _0x5ce0db=_0xeea7c7;let _0x517198=this['_roomMembers']['get'](_0x2c506b);_0x517198||(_0x517198=new ri(),this[_0x5ce0db(0x2ce)][_0x5ce0db(0x183)](_0x2c506b,_0x517198),this[_0x5ce0db(0x286)][_0x5ce0db(0xe3)](_0x2c506b)),_0x517198[_0x5ce0db(0x31c)](_0x2d7972);}[_0xeea7c7(0xd7)](_0x95c603,_0x2c71b7){var _0x1828f2=_0xeea7c7;const _0x4ae4e2=this[_0x1828f2(0x2ce)][_0x1828f2(0x328)](_0x95c603);_0x4ae4e2&&_0x4ae4e2['removeMember'](_0x2c71b7);}[_0xeea7c7(0x2a0)](_0x311d83){var _0xd6f5e9=_0xeea7c7;return this[_0xd6f5e9(0x2ce)]['get'](_0x311d83);}[_0xeea7c7(0x150)](_0x3e8265,_0xd8c57b){var _0x446021=_0xeea7c7;const _0x4ac168=this[_0x446021(0x2ce)][_0x446021(0x328)](_0x3e8265);if(_0x4ac168)return _0x4ac168[_0x446021(0x150)](_0xd8c57b);}[_0xeea7c7(0x273)](_0x59c0e0){var _0x4598b1=_0xeea7c7;const _0x30a1b1=this['_roomMembers'][_0x4598b1(0x328)](_0x59c0e0);_0x30a1b1&&(_0x30a1b1['dispose'](),this['_roomMembers']['delete'](_0x59c0e0));}[_0xeea7c7(0x203)](){var _0x24d24b=_0xeea7c7;this[_0x24d24b(0x2ce)][_0x24d24b(0x34d)](_0x994beb=>_0x994beb[_0x24d24b(0x203)]()),this[_0x24d24b(0x2ce)][_0x24d24b(0x3f5)](),this[_0x24d24b(0x286)]['complete']();}},exports[_0xeea7c7(0x3b6)]=ni([Ke(0x0,a['IUniverInstanceService']),Ke(0x1,a[_0xeea7c7(0xf1)](a[_0xeea7c7(0x1f1)]))],exports[_0xeea7c7(0x3b6)]);class ri extends a[_0xeea7c7(0xe5)]{constructor(){var _0x4780eb=_0xeea7c7;super(...arguments),A(this,_0x4780eb(0x2f5),new Map()),A(this,_0x4780eb(0x11c),new j[(_0x4780eb(0x36c))](this['_members'])),A(this,_0x4780eb(0xac),this[_0x4780eb(0x11c)][_0x4780eb(0x39b)]());}['dispose'](){var _0x5a8dfe=_0xeea7c7;this[_0x5a8dfe(0x2f5)][_0x5a8dfe(0x3f5)]();}['updateMember'](_0x2a76cf){var _0x29209a=_0xeea7c7;this[_0x29209a(0x2f5)][_0x29209a(0x183)](_0x2a76cf['memberID'],_0x2a76cf),this[_0x29209a(0x2ba)]();}['removeMember'](_0x509537){var _0x1dd6d8=_0xeea7c7;this[_0x1dd6d8(0x2f5)][_0x1dd6d8(0x3ea)](_0x509537);}[_0xeea7c7(0x150)](_0xec3ce0){return this['_members']['get'](_0xec3ce0);}['getAllMembers'](){var _0x28621b=_0xeea7c7;return Array['from'](this[_0x28621b(0x2f5)][_0x28621b(0x253)]());}[_0xeea7c7(0x2ba)](){var _0x1c8319=_0xeea7c7;this[_0x1c8319(0x11c)][_0x1c8319(0xe3)](this[_0x1c8319(0x2f5)]);}}var si=Object[_0xeea7c7(0x2a7)],oi=(_0x4524e4,_0xc5f3b5,_0x32ebae,_0x5a7541)=>{var _0xf49bcd=_0xeea7c7;for(var _0x356071=_0x5a7541>0x1?void 0x0:_0x5a7541?si(_0xc5f3b5,_0x32ebae):_0xc5f3b5,_0x5335db=_0x4524e4[_0xf49bcd(0x254)]-0x1,_0xda4b4b;_0x5335db>=0x0;_0x5335db--)(_0xda4b4b=_0x4524e4[_0x5335db])&&(_0x356071=_0xda4b4b(_0x356071)||_0x356071);return _0x356071;},oe=(_0x1b3377,_0xaf0daa)=>(_0x528e3d,_0xdab9a1)=>_0xaf0daa(_0x528e3d,_0xdab9a1,_0x1b3377),se=(_0x5b25b5=>(_0x5b25b5[_0x5b25b5[_0xeea7c7(0x149)]=0x0]=_0xeea7c7(0x149),_0x5b25b5[_0x5b25b5[_0xeea7c7(0x318)]=0x1]=_0xeea7c7(0x318),_0x5b25b5[_0x5b25b5['OFFLINE']=0x2]=_0xeea7c7(0x371),_0x5b25b5[_0x5b25b5[_0xeea7c7(0x2cb)]=0x3]=_0xeea7c7(0x2cb),_0x5b25b5))(se||{});const Ye={[ae[_0xeea7c7(0xe0)]]:_0xeea7c7(0x3e3),[ae[_0xeea7c7(0x3dc)]]:_0xeea7c7(0x3c6),[ae[_0xeea7c7(0x34f)]]:_0xeea7c7(0x37c),[ae[_0xeea7c7(0x3c5)]]:_0xeea7c7(0xb9),[ae[_0xeea7c7(0x120)]]:_0xeea7c7(0xf3)};exports[_0xeea7c7(0x1a1)]=class extends a[_0xeea7c7(0xd8)]{constructor(_0x59f274,_0x749afa,_0x54dcf0,_0x268224,_0x1f37bc,_0x4a5477,_0x3006a8,_0xb58829,_0xe9ff8e){var _0xcc6696=_0xeea7c7;super(),A(this,_0xcc6696(0x35d),new j[(_0xcc6696(0x36c))](0x0)),A(this,'sessionStatus$',this[_0xcc6696(0x35d)]['asObservable']()),A(this,_0xcc6696(0x215),new j[(_0xcc6696(0x26e))]()),A(this,_0xcc6696(0x1f0),this[_0xcc6696(0x215)]['asObservable']()),A(this,_0xcc6696(0x2ed)),A(this,_0xcc6696(0x291)),A(this,'_collaborationTimeoutTimer'),A(this,_0xcc6696(0xa3),!0x1),A(this,_0xcc6696(0x1f5),null),(this[_0xcc6696(0x396)]=_0x59f274,this['_logService']=_0x54dcf0,this[_0xcc6696(0x33e)]=_0x268224,this[_0xcc6696(0x265)]=_0x1f37bc,this['_memberService']=_0x4a5477,this['_commentService']=_0x3006a8,this['_collaborationUIEventService']=_0xb58829,this[_0xcc6696(0x28c)]=_0xe9ff8e,this[_0xcc6696(0xa3)]=!!this[_0xcc6696(0x28c)],_0x749afa[_0xcc6696(0x24c)](j[_0xcc6696(0x370)](this[_0xcc6696(0x223)]))[_0xcc6696(0xc7)](_0x1352b4=>{var _0x51f552=_0xcc6696,_0x35cf9d;typeof _0x1352b4>'u'||(this[_0x51f552(0x2ed)]=_0x1352b4,_0x1352b4?(this['_joinRoom'](_0x1352b4),this[_0x51f552(0x291)]=_0x1352b4[_0x51f552(0x3b3)]['subscribe'](_0x4f0784=>{var _0x138057=_0x51f552;_0x4f0784['routeKey']===this['_unitID']&&this[_0x138057(0x14f)](_0x4f0784);})):(this[_0x51f552(0x1c8)](),this[_0x51f552(0x35d)]['next'](0x2),(_0x35cf9d=this[_0x51f552(0x291)])==null||_0x35cf9d['unsubscribe'](),this[_0x51f552(0x291)]=null));}));}get['sessionStatus'](){var _0x2dec15=_0xeea7c7;return this[_0x2dec15(0x35d)][_0x2dec15(0x17c)]();}[_0xeea7c7(0x212)](){var _0x2ab840=_0xeea7c7,_0x208eb4,_0x5216d4;return(_0x5216d4=(_0x208eb4=this['_socket'])==null?void 0x0:_0x208eb4[_0x2ab840(0x38f)])!=null?_0x5216d4:null;}['dispose'](){var _0x42719e=_0xeea7c7;super[_0x42719e(0x203)](),this[_0x42719e(0x223)][_0x42719e(0xe3)](),this[_0x42719e(0x223)][_0x42719e(0x17d)]();}[_0xeea7c7(0x2a9)](){var _0x2d5b97=_0xeea7c7,_0x1e3d80,_0x535b37;this[_0x2d5b97(0x1c8)](),(_0x1e3d80=this[_0x2d5b97(0x2ed)])==null||_0x1e3d80['send']({'cmd':W['LEAVE'],'data':{'roomID':this[_0x2d5b97(0x396)]}}),(_0x535b37=this['_socket'])==null||_0x535b37['close'](),this[_0x2d5b97(0x215)][_0x2d5b97(0x17d)](),this['_sessionStatus$'][_0x2d5b97(0x17d)](),this[_0x2d5b97(0x203)]();}['_onCombEvent'](_0xdd38b7){var _0x3a6067=_0xeea7c7;_0xdd38b7[_0x3a6067(0x178)]===W['JOIN']?this[_0x3a6067(0x102)](_0xdd38b7):_0xdd38b7['cmd']===W[_0x3a6067(0x3d6)]&&this['_onRecvEvent'](_0xdd38b7);}[_0xeea7c7(0x1d2)](_0x58afff){var _0x2164df=_0xeea7c7;this[_0x2164df(0x35d)][_0x2164df(0xe3)](0x1),_0x58afff[_0x2164df(0x15f)]({'cmd':W[_0x2164df(0x3f8)],'routeKey':this[_0x2164df(0x396)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2164df(0x396)]}]}});}[_0xeea7c7(0x102)](_0x9e338b){var _0x4e170a=_0xeea7c7,_0x32b903;if(_0x9e338b['code']in Ye){this[_0x4e170a(0x8b)]['emitEvent']({'id':Q['JOIN_ROOM_FAILED'],'data':Ye[_0x9e338b['code']]}),this[_0x4e170a(0x35d)][_0x4e170a(0xe3)](0x2);return;}this[_0x4e170a(0x35d)]['next'](0x3);const _0x25d606=(_0x32b903=_0x9e338b[_0x4e170a(0x1db)][_0x4e170a(0x29a)][this[_0x4e170a(0x396)]])==null?void 0x0:_0x32b903[_0x4e170a(0xb5)];_0x25d606&&_0x25d606[_0x4e170a(0x34d)](_0x2dd639=>this[_0x4e170a(0x3b0)][_0x4e170a(0x31c)](this[_0x4e170a(0x396)],_0x2dd639));}[_0xeea7c7(0xfe)](_0x18fcdb){var _0x3c7101=_0xeea7c7;try{const _0x47e3d7=_0x18fcdb[_0x3c7101(0x1db)];switch(_0x47e3d7[_0x3c7101(0x9c)]){case g[_0x3c7101(0x3bb)][_0x3c7101(0x3d3)]:this[_0x3c7101(0x23b)](_0x47e3d7),this['_event$']['next'](_0x47e3d7);break;case g[_0x3c7101(0x3bb)][_0x3c7101(0x124)]:this['_onUserLeave'](_0x47e3d7),this[_0x3c7101(0x215)][_0x3c7101(0xe3)](_0x47e3d7);break;case g[_0x3c7101(0x3bb)][_0x3c7101(0x336)]:case g['CollaborationEvent'][_0x3c7101(0x3e9)]:this[_0x3c7101(0x292)](),this['_clearCollaborationTimeoutTimer'](),this[_0x3c7101(0x215)][_0x3c7101(0xe3)](_0x47e3d7);break;case g[_0x3c7101(0x3bb)]['MSG_FOR_ERROR']:this['_logService'][_0x3c7101(0x12a)](_0x3c7101(0x2cc)+JSON[_0x3c7101(0x2b3)](_0x47e3d7)),this[_0x3c7101(0x215)]['next'](_0x47e3d7);break;case g[_0x3c7101(0x3bb)][_0x3c7101(0x189)]:this[_0x3c7101(0x202)][_0x3c7101(0x278)](_0x47e3d7[_0x3c7101(0x1db)]),this['_event$'][_0x3c7101(0xe3)](_0x47e3d7);break;default:this[_0x3c7101(0x215)][_0x3c7101(0xe3)](_0x47e3d7);}}catch(_0x5c168c){this['_logService'][_0x3c7101(0x12a)](_0x5c168c,_0x18fcdb);}}[_0xeea7c7(0x23b)](_0x569817){var _0x323320=_0xeea7c7;this[_0x323320(0x3b0)][_0x323320(0x31c)](this[_0x323320(0x396)],_0x569817[_0x323320(0x1db)]);}['_onUserLeave'](_0x1c5688){var _0x4c203a=_0xeea7c7;this[_0x4c203a(0x3b0)]['removeMember'](this[_0x4c203a(0x396)],_0x1c5688[_0x4c203a(0x1db)][_0x4c203a(0x38f)]);}async[_0xeea7c7(0x15f)](_0x6c5c72,_0x306048){var _0x3b41cd=_0xeea7c7;if(this[_0x3b41cd(0xa4)]!==0x3||!this[_0x3b41cd(0x2ed)])throw new Error(_0x3b41cd(0x30c));try{_0x6c5c72[_0x3b41cd(0x9c)]===g[_0x3b41cd(0x3bb)][_0x3b41cd(0x389)]&&(this[_0x3b41cd(0x30a)](),this[_0x3b41cd(0x365)](_0x6c5c72)),this['_socket'][_0x3b41cd(0x15f)]({'cmd':W[_0x3b41cd(0x113)],'routeKey':_0x306048,'routeType':'','data':_0x6c5c72});}catch(_0x27fc20){this[_0x3b41cd(0x21d)][_0x3b41cd(0x12a)](_0x27fc20);}}[_0xeea7c7(0x30a)](){var _0x3a8018=_0xeea7c7,_0x150a7a;this[_0x3a8018(0x20a)]=setTimeout(()=>{var _0x2496df=_0x3a8018;this[_0x2496df(0x20a)]=null,this[_0x2496df(0x8b)][_0x2496df(0x2f7)]({'id':Q[_0x2496df(0xc9)]});},(_0x150a7a=this['_configService']['getConfig'](je))!=null?_0x150a7a:gt);}[_0xeea7c7(0x232)](){var _0x214d3e=_0xeea7c7;this[_0x214d3e(0x20a)]&&(clearTimeout(this[_0x214d3e(0x20a)]),this['_collaborationTimeoutTimer']=null);}[_0xeea7c7(0x365)](_0x1fdfd1){var _0x4b9afe=_0xeea7c7;if(!this[_0x4b9afe(0xa3)])return;const {data:_0x380dff}=_0x1fdfd1,{unitID:_0x4cadfb,changeset:_0x408b01}=_0x380dff,{mutations:_0x283e61,type:_0x104278}=_0x408b01;this[_0x4b9afe(0x1f5)]={'unitId':_0x4cadfb,'type':_0x104278,'startTime':performance[_0x4b9afe(0xcf)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x283e61)};}[_0xeea7c7(0x292)](){var _0x3309f5=_0xeea7c7;if(this[_0x3309f5(0xa3)]){if(!this['_telemetryInfo']){this[_0x3309f5(0x21d)][_0x3309f5(0x12a)](_0x3309f5(0x164),_0x3309f5(0x3a5));return;}this['_telemetryInfo'][_0x3309f5(0x2b0)]=performance[_0x3309f5(0xcf)](),this[_0x3309f5(0x1f5)]['duration']=this['_telemetryInfo'][_0x3309f5(0x2b0)]-this['_telemetryInfo'][_0x3309f5(0x130)],this[_0x3309f5(0x28c)][_0x3309f5(0x1b0)](ei,this[_0x3309f5(0x1f5)]),this[_0x3309f5(0x1f5)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x2dbf1c=_0xeea7c7;this[_0x2dbf1c(0x1f5)]=null;}},exports['CollaborationSession']=oi([oe(0x2,a[_0xeea7c7(0x16f)]),oe(0x3,a[_0xeea7c7(0xca)]),oe(0x4,a[_0xeea7c7(0xf1)](a[_0xeea7c7(0xa0)])),oe(0x5,a['Inject'](exports[_0xeea7c7(0x3b6)])),oe(0x6,a[_0xeea7c7(0xf1)](Be)),oe(0x7,a[_0xeea7c7(0xf1)](te)),oe(0x8,a['Optional'](Mt[_0xeea7c7(0x3b4)]))],exports[_0xeea7c7(0x1a1)]);var ai=Object[_0xeea7c7(0x2a7)],ci=(_0x35067a,_0x2d65ec,_0x4a36fd,_0x2b05ad)=>{var _0x1be47b=_0xeea7c7;for(var _0x44abea=_0x2b05ad>0x1?void 0x0:_0x2b05ad?ai(_0x2d65ec,_0x4a36fd):_0x2d65ec,_0xe46708=_0x35067a[_0x1be47b(0x254)]-0x1,_0x14f684;_0xe46708>=0x0;_0xe46708--)(_0x14f684=_0x35067a[_0xe46708])&&(_0x44abea=_0x14f684(_0x44abea)||_0x44abea);return _0x44abea;},_e=(_0x5bc8fc,_0x35abba)=>(_0x9c76f1,_0x41b7c6)=>_0x35abba(_0x9c76f1,_0x41b7c6,_0x5bc8fc);exports[_0xeea7c7(0x3fc)]=class extends a[_0xeea7c7(0xe5)]{constructor(_0x599e4d,_0x3e8205,_0x2ab86f,_0x2bc701,_0x3e6a46,_0x43af37){var _0x2d74ef=_0xeea7c7;super(),A(this,'_socket$',new j[(_0x2d74ef(0x36c))](void 0x0)),A(this,_0x2d74ef(0x118),this[_0x2d74ef(0x105)][_0x2d74ef(0x39b)]()),A(this,'_candidateSocket',null),A(this,_0x2d74ef(0x349),new Map()),A(this,'_status$',new j['BehaviorSubject'](se['IDLE'])),A(this,'status$',this[_0x2d74ef(0x8c)]['asObservable']()),A(this,_0x2d74ef(0x350),!0x1),A(this,_0x2d74ef(0x2c7)),A(this,_0x2d74ef(0x23c),0x0),A(this,_0x2d74ef(0x2e6)),A(this,_0x2d74ef(0x18f)),(this['_injector']=_0x599e4d,this[_0x2d74ef(0x21d)]=_0x3e8205,this['_configService']=_0x2ab86f,this[_0x2d74ef(0x1a2)]=_0x2bc701,this['_collaborationUIEventService']=_0x3e6a46,this[_0x2d74ef(0x1e0)]=_0x43af37,this['_listenToNetworkCondition']());}get[_0xeea7c7(0x2ed)](){var _0x1de0c6=_0xeea7c7;return this[_0x1de0c6(0x105)][_0x1de0c6(0x17c)]();}[_0xeea7c7(0x2e8)](){var _0x4d09a9=_0xeea7c7;this['_networkConditionService']&&this[_0x4d09a9(0x2db)](this[_0x4d09a9(0x1e0)][_0x4d09a9(0x293)]['subscribe'](_0x142211=>{var _0x19c386=_0x4d09a9;_0x142211&&!this[_0x19c386(0x2ed)]&&this['reconnect'](),_0x142211||this[_0x19c386(0x3cd)]();}));}[_0xeea7c7(0x203)](){var _0x539057=_0xeea7c7;super[_0x539057(0x203)](),this[_0x539057(0x238)](),this[_0x539057(0x15d)](),this[_0x539057(0xb0)](),this[_0x539057(0x349)][_0x539057(0x34d)](_0x12cf9c=>_0x12cf9c['dispose']()),this[_0x539057(0x349)][_0x539057(0x3f5)](),this[_0x539057(0x8c)]['complete']();}async['requireSession'](_0x4050eb){var _0x311249=_0xeea7c7;if(this[_0x311249(0x349)][_0x311249(0x116)](_0x4050eb))return this['_sessions']['get'](_0x4050eb);this['_tryEnsureSocket']();const _0x3d0d4b=this[_0x311249(0x17a)][_0x311249(0x251)](exports[_0x311249(0x1a1)],_0x4050eb,this[_0x311249(0x105)]['asObservable']());return this[_0x311249(0x349)][_0x311249(0x183)](_0x4050eb,_0x3d0d4b),_0x3d0d4b;}[_0xeea7c7(0x1b7)](_0x21c758){var _0x3d31be=_0xeea7c7,_0x4288af;const _0x5cbf3c=this['_sessions'][_0x3d31be(0x328)](_0x21c758);_0x5cbf3c&&(this['_sessions'][_0x3d31be(0x3ea)](_0x21c758),_0x5cbf3c[_0x3d31be(0x2a9)]()),this[_0x3d31be(0x349)]['size']||(_0x4288af=this[_0x3d31be(0x2ed)])==null||_0x4288af[_0x3d31be(0x2a9)]();}[_0xeea7c7(0x19d)](){var _0x25105b=_0xeea7c7;this[_0x25105b(0x23c)]=0x0,this[_0x25105b(0x238)](),this['_tryReconnect']();}[_0xeea7c7(0x238)](){var _0x2b251d=_0xeea7c7;this[_0x2b251d(0x2c7)]!=null&&(clearTimeout(this[_0x2b251d(0x2c7)]),this[_0x2b251d(0x2c7)]=null);}async[_0xeea7c7(0x239)](){var _0x408f74=_0xeea7c7,_0x552915,_0x2250dd;const _0x101906=this['_configService'][_0x408f74(0x39c)](St),_0x488791=this[_0x408f74(0x33e)]['getConfig'](Y),_0x288103=(_0x2250dd=(_0x552915=_0x488791==null?void 0x0:_0x488791['collabWebSocketUrl'])!=null?_0x552915:_0x101906)!=null?_0x2250dd:ft,_0x544048=await this[_0x408f74(0x1a2)][_0x408f74(0x10f)](_0x288103);return this[_0x408f74(0x1b5)]=_0x544048,_0x544048;}async[_0xeea7c7(0xb7)](){var _0x3593de=_0xeea7c7,_0x5f511b,_0x5907f7;try{const _0x308dad=(_0x5907f7=(_0x5f511b=this['_socket'])!=null?_0x5f511b:this[_0x3593de(0x1b5)])!=null?_0x5907f7:await this[_0x3593de(0x239)]();if(_0x308dad){const _0x24e4c8=_0x308dad['send'];_0x308dad[_0x3593de(0x15f)]=_0xc6954=>(this[_0x3593de(0x98)](),_0x24e4c8['apply'](_0x308dad,[_0xc6954])),_0x308dad[_0x3593de(0x3b3)][_0x3593de(0xc7)](_0x51c522=>this[_0x3593de(0x1ab)](_0x308dad,_0x51c522)),_0x308dad['error$'][_0x3593de(0x24c)](V[_0x3593de(0x372)](0x1))[_0x3593de(0xc7)](_0x9aad23=>this['_logService'][_0x3593de(0x12a)]('[CollaborationSessionService]:\x20socket\x20error',_0x9aad23)),_0x308dad[_0x3593de(0x111)][_0x3593de(0x24c)](V['take'](0x1))[_0x3593de(0xc7)](()=>{var _0x109bae=_0x3593de;this[_0x109bae(0x99)](_0x308dad);}),_0x308dad[_0x3593de(0x2e3)][_0x3593de(0x24c)](V[_0x3593de(0x372)](0x1))['subscribe'](_0xeaf0eb=>{var _0x5d5f73=_0x3593de;this[_0x5d5f73(0x21d)][_0x5d5f73(0x20e)](_0x5d5f73(0x3ab),_0x5d5f73(0x39a),_0xeaf0eb),this[_0x5d5f73(0x160)]();});}}catch(_0xc128c2){this[_0x3593de(0x21d)]['error'](_0xc128c2),this[_0x3593de(0x160)]();}}['_onConnectionOpen'](_0x176620){var _0x3efe46=_0xeea7c7;this[_0x3efe46(0x21d)]['debug']('[CollaborationSessionService]',_0x3efe46(0x1f2)),_0x176620[_0x3efe46(0x15f)]({'cmd':W[_0x3efe46(0x210)]}),this[_0x3efe46(0x98)]();}['_onOffline'](){var _0x1af3ec=_0xeea7c7;this[_0x1af3ec(0x350)]=!0x1,this[_0x1af3ec(0x1b5)]=null,this[_0x1af3ec(0x8c)][_0x1af3ec(0xe3)](se[_0x1af3ec(0x371)]),this[_0x1af3ec(0x105)][_0x1af3ec(0xe3)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0xeea7c7(0x160)](){var _0x2ecc46=_0xeea7c7,_0x1c2391;this[_0x2ecc46(0x3cd)](),this[_0x2ecc46(0x23c)]<((_0x1c2391=this[_0x2ecc46(0x33e)][_0x2ecc46(0x39c)](It))!=null?_0x1c2391:Vt)?(this[_0x2ecc46(0x8b)][_0x2ecc46(0x2f7)]({'id':Q[_0x2ecc46(0x2df)]}),this[_0x2ecc46(0x1c1)]()):this[_0x2ecc46(0x8b)][_0x2ecc46(0x2f7)]({'id':Q[_0x2ecc46(0x115)]});}[_0xeea7c7(0x1c1)](){var _0x3d9f03=_0xeea7c7,_0x1df749;const _0x5cccae=this[_0x3d9f03(0x23c)],_0x4fb8c0=this[_0x3d9f03(0x33e)][_0x3d9f03(0x39c)](Y),_0x2fe727=_0x5cccae===0x0?0x0:((_0x1df749=_0x4fb8c0==null?void 0x0:_0x4fb8c0[_0x3d9f03(0x20c)])!=null?_0x1df749:Ft)*0x2**_0x5cccae;this['_retryConnectingTimer']=setTimeout(()=>{var _0x4b540d=_0x3d9f03;clearTimeout(this[_0x4b540d(0x2c7)]),this[_0x4b540d(0x2c7)]=null,this[_0x4b540d(0xb7)]();},_0x2fe727),this[_0x3d9f03(0x23c)]+=0x1;}[_0xeea7c7(0x1ab)](_0x4e8faa,_0x747ecc){var _0x563243=_0xeea7c7;const {cmd:_0x50226d}=_0x747ecc;_0x50226d===W['HELLO']&&!this[_0x563243(0x350)]&&(_0x4e8faa['memberID']=_0x747ecc[_0x563243(0x1db)][_0x563243(0x38f)],this['_socket$'][_0x563243(0xe3)](_0x4e8faa),this[_0x563243(0x8c)]['next'](se[_0x563243(0x2cb)]),this[_0x563243(0x350)]=!0x0,this[_0x563243(0x1b5)]=null),_0x50226d===W[_0x563243(0x367)]&&this['_clearTimeoutTimer'](),this[_0x563243(0x98)]();}['_rescheduleHeartbeat'](){var _0x228848=_0xeea7c7,_0x3f9d62;this[_0x228848(0xb0)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x3f9d62=this[_0x228848(0x33e)]['getConfig'](pt))!=null?_0x3f9d62:Bt);}[_0xeea7c7(0x340)](){var _0x1acd63=_0xeea7c7;this[_0x1acd63(0x2ed)][_0x1acd63(0x15f)]({'cmd':W[_0x1acd63(0x367)]}),this[_0x1acd63(0x1ba)]();}[_0xeea7c7(0x1ba)](){var _0x1fc8b9=_0xeea7c7,_0x519f65;this[_0x1fc8b9(0x18f)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x519f65=this[_0x1fc8b9(0x33e)][_0x1fc8b9(0x39c)](je))!=null?_0x519f65:gt);}[_0xeea7c7(0xb0)](){var _0x269e9f=_0xeea7c7;this[_0x269e9f(0x2e6)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x269e9f(0x2e6)]=null);}[_0xeea7c7(0x15d)](){var _0x71e41f=_0xeea7c7;this[_0x71e41f(0x18f)]!=null&&(clearTimeout(this[_0x71e41f(0x18f)]),this['_timeoutTimer']=null);}},exports[_0xeea7c7(0x3fc)]=ci([_e(0x0,a[_0xeea7c7(0xf1)](a[_0xeea7c7(0xf8)])),_e(0x1,a[_0xeea7c7(0x16f)]),_e(0x2,a['IConfigService']),_e(0x3,$e),_e(0x4,a['Inject'](te)),_e(0x5,a['Optional'](bt))],exports[_0xeea7c7(0x3fc)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0xeea7c7(0x38e)]((n+0x100)[_0xeea7c7(0x2e7)](0x10)[_0xeea7c7(0x3dd)](0x1));function hi(_0x4cd27e,_0x326775=0x0){return(G[_0x4cd27e[_0x326775+0x0]]+G[_0x4cd27e[_0x326775+0x1]]+G[_0x4cd27e[_0x326775+0x2]]+G[_0x4cd27e[_0x326775+0x3]]+'-'+G[_0x4cd27e[_0x326775+0x4]]+G[_0x4cd27e[_0x326775+0x5]]+'-'+G[_0x4cd27e[_0x326775+0x6]]+G[_0x4cd27e[_0x326775+0x7]]+'-'+G[_0x4cd27e[_0x326775+0x8]]+G[_0x4cd27e[_0x326775+0x9]]+'-'+G[_0x4cd27e[_0x326775+0xa]]+G[_0x4cd27e[_0x326775+0xb]]+G[_0x4cd27e[_0x326775+0xc]]+G[_0x4cd27e[_0x326775+0xd]]+G[_0x4cd27e[_0x326775+0xe]]+G[_0x4cd27e[_0x326775+0xf]])['toLowerCase']();}let Ue;const _i=new Uint8Array(0x10);function li(){var _0x1df574=_0xeea7c7;if(!Ue){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x1df574(0x7c));Ue=crypto[_0x1df574(0x1be)][_0x1df574(0x276)](crypto);}return Ue(_i);}const ui=typeof crypto<'u'&&crypto[_0xeea7c7(0x2c1)]&&crypto[_0xeea7c7(0x2c1)][_0xeea7c7(0x276)](crypto),qe={'randomUUID':ui};function di(_0x3132c5,_0x2849f2,_0x14e0ab){var _0x5b64db=_0xeea7c7,_0x488b81,_0x5d26a2,_0x23f74b;if(qe[_0x5b64db(0x2c1)]&&!_0x3132c5)return qe['randomUUID']();_0x3132c5=_0x3132c5||{};const _0x4f9d81=(_0x23f74b=(_0x5d26a2=_0x3132c5[_0x5b64db(0x3d8)])!=null?_0x5d26a2:(_0x488b81=_0x3132c5[_0x5b64db(0x3ec)])==null?void 0x0:_0x488b81[_0x5b64db(0x2ca)](_0x3132c5))!=null?_0x23f74b:li();if(_0x4f9d81[_0x5b64db(0x254)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x4f9d81[0x6]=_0x4f9d81[0x6]&0xf|0x40,_0x4f9d81[0x8]=_0x4f9d81[0x8]&0x3f|0x80,hi(_0x4f9d81);}const z=a['createIdentifier'](_0xeea7c7(0x80));function vi(_0x59ed81){var _0x4039ce=_0xeea7c7;return _0x4039ce(0x3b9)+_0x59ed81;}var Si=Object['getOwnPropertyDescriptor'],fi=(_0x219812,_0x408db0,_0x2bd41d,_0x1043e4)=>{var _0x2793ea=_0xeea7c7;for(var _0x27557a=_0x1043e4>0x1?void 0x0:_0x1043e4?Si(_0x408db0,_0x2bd41d):_0x408db0,_0x2d8063=_0x219812[_0x2793ea(0x254)]-0x1,_0x4d0dcf;_0x2d8063>=0x0;_0x2d8063--)(_0x4d0dcf=_0x219812[_0x2d8063])&&(_0x27557a=_0x4d0dcf(_0x27557a)||_0x27557a);return _0x27557a;},Ae=(_0x4f66e5,_0x48403a)=>(_0x96619b,_0x33b7e4)=>_0x48403a(_0x96619b,_0x33b7e4,_0x4f66e5);function pi(_0x991ad6){var _0x10b0b1=_0xeea7c7;const {unitID:_0x2a885e,mutations:_0x3d46eb}=_0x991ad6;return{'unitId':_0x2a885e,'subUnitId':_0x3d46eb[0x0][_0x10b0b1(0x357)][_0x10b0b1(0x16a)]};}exports[_0xeea7c7(0x2ec)]=class{constructor(_0xda7f04,_0x26637e,_0x370c2e){var _0x51b069=_0xeea7c7;this['_injector']=_0xda7f04,this[_0x51b069(0x1ae)]=_0x26637e,this[_0x51b069(0x24b)]=_0x370c2e;}[_0xeea7c7(0x227)](_0x38431f){var _0x11e350=_0xeea7c7,_0x1e390a,_0x24c1f4,_0x169887,_0x4fab4b;const _0x26ca99=this[_0x11e350(0x17a)][_0x11e350(0x328)](Z[_0x11e350(0x397)]),{unitId:_0xa613ba,subUnitId:_0x2b8047}=pi(_0x38431f),_0x7a71ca=_0x26ca99==null?void 0x0:_0x26ca99[_0x11e350(0x355)](_0xa613ba)[_0x11e350(0x1dd)](),_0x35a1cb=(_0x24c1f4=(_0x1e390a=this[_0x11e350(0x24b)][_0x11e350(0x3bf)](_0xa613ba))==null?void 0x0:_0x1e390a[_0x11e350(0x3da)]())==null?void 0x0:_0x24c1f4['getSheetId']();if(_0x7a71ca[_0x11e350(0x254)]===0x0||!_0xa613ba||!_0x2b8047)return;const _0x2235b1=[{'id':Z[_0x11e350(0x249)]['id'],'params':{'unitId':_0xa613ba,'subUnitId':_0x35a1cb,'selections':a['Tools']['deepClone'](_0x7a71ca)}}],_0x1a34dc=this[_0x11e350(0x1ae)][_0x11e350(0x87)](_0x38431f,_0x2235b1);if(!g[_0x11e350(0x256)](_0x1a34dc))throw _0x1a34dc['error'];const _0x392152=(_0x4fab4b=(_0x169887=_0x1a34dc[_0x11e350(0x3c3)][0x0])==null?void 0x0:_0x169887[_0x11e350(0x357)])==null?void 0x0:_0x4fab4b[_0x11e350(0x13d)];if(Array[_0x11e350(0x25f)](_0x392152)&&_0x392152[_0x11e350(0x254)]){if(_0x392152[_0x11e350(0x254)]===_0x2235b1[0x0][_0x11e350(0x357)][_0x11e350(0x13d)]['length']&&_0x392152['every']((_0x5745fe,_0x47562a)=>a[_0x11e350(0x3db)]['equals'](_0x5745fe[_0x11e350(0x129)],_0x2235b1[0x0][_0x11e350(0x357)]['selections'][_0x47562a][_0x11e350(0x129)])))return;this[_0x11e350(0x17a)][_0x11e350(0x328)](a[_0x11e350(0x3a3)])[_0x11e350(0x294)](Z['SetSelectionsOperation']['id'],{'unitId':_0xa613ba,'subUnitId':_0x35a1cb,'selections':_0x392152});}}},exports[_0xeea7c7(0x2ec)]=fi([Ae(0x0,a[_0xeea7c7(0xf1)](a[_0xeea7c7(0xf8)])),Ae(0x1,g[_0xeea7c7(0x3f1)]),Ae(0x2,a[_0xeea7c7(0x382)])],exports[_0xeea7c7(0x2ec)]);const ve=a[_0xeea7c7(0x2fc)](_0xeea7c7(0xcd));var Fe=(_0x5ce8d0=>(_0x5ce8d0[_0x5ce8d0['NO_OTHER_CLIENTS_EDITING']=0x0]=_0xeea7c7(0xdf),_0x5ce8d0[_0x5ce8d0[_0xeea7c7(0x1e5)]=0x1]='OTHER_CLIENTS_EDITING',_0x5ce8d0))(Fe||{});const gi=new Set([Z[_0xeea7c7(0x2f9)]['id']]);function ze(_0x58a4d3,_0x4ea81e,_0x4ba8cb,_0x2d26e3,_0x2954f6){var _0x37c18f=_0xeea7c7,_0x11e8ac,_0x2ec5e4,_0x1412f6,_0x2cdb33;const _0x2a9e36=[];for(const _0x2ea884 of _0x58a4d3)if(gi[_0x37c18f(0x116)](_0x2ea884['id'])){if(_0x2a9e36[_0x37c18f(0x254)]>0x0)break;_0x2a9e36[_0x37c18f(0x38e)](_0x2ea884);break;}else _0x2a9e36[_0x37c18f(0x38e)](_0x2ea884);const _0x1b5a00=(_0x2ec5e4=(_0x11e8ac=_0x2954f6['getCurrentUser']())==null?void 0x0:_0x11e8ac['userID'])!=null?_0x2ec5e4:_0x37c18f(0xe9),_0x110c76=(_0x2cdb33=(_0x1412f6=_0x2954f6[_0x37c18f(0x373)]())==null?void 0x0:_0x1412f6[_0x37c18f(0x38f)])!=null?_0x2cdb33:_0x37c18f(0xe9);return{'changeset':{'unitID':_0x4ea81e,'type':g[_0x37c18f(0x1cb)](_0x4ba8cb[_0x37c18f(0x25b)](_0x4ea81e)),'baseRev':_0x2d26e3[_0x37c18f(0xdb)](_0x4ea81e),'revision':0x0,'userID':_0x1b5a00,'memberID':_0x110c76,'mutations':_0x2a9e36},'pendingMutations':_0x58a4d3[_0x37c18f(0x3dd)](_0x2a9e36[_0x37c18f(0x254)])};}function _0x37bc(_0x50456d,_0x2eebb4){var _0x27e29d=_0x27e2();return _0x37bc=function(_0x37bc4f,_0xbadbc1){_0x37bc4f=_0x37bc4f-0x7c;var _0x103333=_0x27e29d[_0x37bc4f];return _0x103333;},_0x37bc(_0x50456d,_0x2eebb4);}function Ii(_0x5baf1d,_0x50fa2f,_0x298dbb,_0x5a0f60,_0x1e1526){var _0x39efb8=_0xeea7c7,_0xeeb1f0,_0x2a05e2,_0x119496,_0x1ab7d9;const _0x356b87=[_0x5baf1d[_0x39efb8(0x280)]((_0x196661,_0x5079fb)=>{var _0x26d6e4=_0x39efb8,_0x416d77;const {id:_0x90d07c}=_0x196661,{id:_0x4f24f9,type:_0x4f2f61}=_0x5079fb,_0x46a945=(_0x416d77=_0x196661['params'])!=null?_0x416d77:{'actions':null},_0x2f38e1=_0x5079fb[_0x26d6e4(0x357)];if(_0x90d07c&&_0x90d07c!==_0x4f24f9)throw new Error(_0x26d6e4(0x2a6)+_0x90d07c+_0x26d6e4(0xda)+_0x4f24f9+'.');return{..._0x196661,'id':_0x4f24f9,'type':_0x4f2f61,'params':{'unitId':_0x2f38e1['unitId'],'textRanges':_0x2f38e1['textRanges'],'actions':a[_0x26d6e4(0x11d)]['compose'](_0x46a945[_0x26d6e4(0xbb)],_0x2f38e1[_0x26d6e4(0xbb)])}};},{})],_0x4b2779=(_0x2a05e2=(_0xeeb1f0=_0x1e1526[_0x39efb8(0x373)]())==null?void 0x0:_0xeeb1f0[_0x39efb8(0x3d1)])!=null?_0x2a05e2:_0x39efb8(0xe9),_0x193067=(_0x1ab7d9=(_0x119496=_0x1e1526[_0x39efb8(0x373)]())==null?void 0x0:_0x119496[_0x39efb8(0x38f)])!=null?_0x1ab7d9:_0x39efb8(0xe9);return{'changeset':{'unitID':_0x50fa2f,'type':g['mapDocumentTypeToUniverType'](_0x298dbb[_0x39efb8(0x25b)](_0x50fa2f)),'baseRev':_0x5a0f60['getCurrentRevOfUnit'](_0x50fa2f),'revision':0x0,'userID':_0x4b2779,'memberID':_0x193067,'mutations':_0x356b87},'pendingMutations':[]};}function yt(_0x492d67,_0x4250f4){var _0x48f93a=_0xeea7c7;const _0x11aa83=new j[(_0x48f93a(0x3bc))](0x1);return setTimeout(()=>_0x11aa83['next'](_0x4250f4),_0x492d67),_0x11aa83[_0x48f93a(0x39b)]()['pipe'](j[_0x48f93a(0x372)](0x1));}const mi={'id':Z[_0xeea7c7(0x296)]['id'],'type':a[_0xeea7c7(0x13b)]['MUTATION'],'params':{}};var Ei=Object[_0xeea7c7(0x2a7)],ce=(_0x5e7f9f,_0x3c0f65,_0x312dab,_0x4fe187)=>{var _0x3a464f=_0xeea7c7;for(var _0xa20b86=_0x4fe187>0x1?void 0x0:_0x4fe187?Ei(_0x3c0f65,_0x312dab):_0x3c0f65,_0x3b8e7d=_0x5e7f9f[_0x3a464f(0x254)]-0x1,_0x268e24;_0x3b8e7d>=0x0;_0x3b8e7d--)(_0x268e24=_0x5e7f9f[_0x3b8e7d])&&(_0xa20b86=_0x268e24(_0xa20b86)||_0xa20b86);return _0xa20b86;},w=(_0xc77910,_0x5009b6)=>(_0x14f5f8,_0x7bcc6c)=>_0x5009b6(_0x14f5f8,_0x7bcc6c,_0xc77910),Ve=(_0x27ece1=>(_0x27ece1[_0xeea7c7(0x2bf)]=_0xeea7c7(0x201),_0x27ece1[_0xeea7c7(0x2c9)]=_0xeea7c7(0x2f8),_0x27ece1[_0xeea7c7(0xc1)]=_0xeea7c7(0x3f2),_0x27ece1[_0xeea7c7(0x3be)]=_0xeea7c7(0x36b),_0x27ece1[_0xeea7c7(0x126)]=_0xeea7c7(0x3c4),_0x27ece1['FETCH_MISS']='fetch_missing',_0x27ece1['CONFLICT']=_0xeea7c7(0x3de),_0x27ece1[_0xeea7c7(0x371)]=_0xeea7c7(0x100),_0x27ece1))(Ve||{});const Nt=0xea60;class he{constructor(_0x1b57e7,_0x23b4cb,_0x397002,_0x2bb7ae,_0x52d83b,_0x211fc2,_0x581fce,_0x2679eb,_0x58cda1){var _0x28e1da=_0xeea7c7;A(this,_0x28e1da(0xbc),null),A(this,_0x28e1da(0x374),[]),(this[_0x28e1da(0x1bf)]=_0x1b57e7,this[_0x28e1da(0x2d0)]=_0x23b4cb,this[_0x28e1da(0x1e2)]=_0x52d83b,this[_0x28e1da(0x20f)]=_0x211fc2,this[_0x28e1da(0x216)]=_0x581fce,this[_0x28e1da(0x142)]=_0x2679eb,this[_0x28e1da(0x159)]=_0x58cda1,this[_0x28e1da(0xbc)]=_0x397002,this['_pendingMutations']=_0x2bb7ae);}[_0xeea7c7(0x123)](_0x40f18a){var _0x4b8016=_0xeea7c7;const _0x3ea921=this[_0x4b8016(0x142)][_0x4b8016(0xdb)](this[_0x4b8016(0x1bf)]);return _0x40f18a[_0x4b8016(0x3b8)]>_0x3ea921+0x1?(this['_handler'][_0x4b8016(0x2c0)]({'from':_0x3ea921,'to':_0x40f18a[_0x4b8016(0x3b8)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x3e54e2){var _0x5397df=_0xeea7c7;this[_0x5397df(0x216)]['transformUndoRedo'](this[_0x5397df(0x1bf)],_0x3e54e2);}[_0xeea7c7(0x288)](_0x527ad7){var _0x10892b=_0xeea7c7,_0x104526,_0x14b3e7;(_0x14b3e7=(_0x104526=this[_0x10892b(0x1e2)])[_0x10892b(0x363)])==null||_0x14b3e7[_0x10892b(0x2ca)](_0x104526,_0x527ad7);}[_0xeea7c7(0x3d0)](_0x4120cc){var _0x210994=_0xeea7c7,_0x5d669c,_0xde295b;return(_0xde295b=(_0x5d669c=this[_0x210994(0x1e2)])[_0x210994(0x2fe)])==null?void 0x0:_0xde295b[_0x210994(0x2ca)](_0x5d669c,_0x4120cc);}['_transformStateCache'](_0x3b23a4){var _0x3f1dde=_0xeea7c7,_0x6473a6,_0x497335;return(_0x497335=(_0x6473a6=this[_0x3f1dde(0x1e2)])[_0x3f1dde(0x2d1)])==null?void 0x0:_0x497335[_0x3f1dde(0x2ca)](_0x6473a6,_0x3b23a4);}['_transformRemoteChangesetByIMECache'](_0x54f1bb){var _0x9f597a=_0xeea7c7,_0x3dec2c,_0x369a51,_0x5b31c1;return(_0x5b31c1=(_0x369a51=(_0x3dec2c=this[_0x9f597a(0x1e2)])[_0x9f597a(0xff)])==null?void 0x0:_0x369a51[_0x9f597a(0x2ca)](_0x3dec2c,_0x54f1bb))!=null?_0x5b31c1:_0x54f1bb;}[_0xeea7c7(0x148)](_0x41f74b){var _0x2dc8dc=_0xeea7c7,_0x44fe27,_0x2327b5,_0xa7f3f8;return(_0xa7f3f8=(_0x2327b5=(_0x44fe27=this[_0x2dc8dc(0x1e2)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2327b5[_0x2dc8dc(0x2ca)](_0x44fe27,_0x41f74b))!=null?_0xa7f3f8:_0x41f74b;}[_0xeea7c7(0x2ff)](_0x3f88d5){var _0x322792=_0xeea7c7,_0x533449,_0x1f5ce4;if(this['type']===X[_0x322792(0xd1)]){const {unitID:_0x35e8b9,mutations:_0x207d05,memberID:_0x2eae5f}=_0x3f88d5,_0x55adab=_0x207d05[0x0][_0x322792(0x357)]['textRanges'];Array[_0x322792(0x25f)](_0x55adab)&&_0x55adab[_0x322792(0x254)]>0x0&&((_0x1f5ce4=(_0x533449=this[_0x322792(0x1e2)])['onSyncEditingCollabCursor'])==null||_0x1f5ce4[_0x322792(0x2ca)](_0x533449,{'unitID':_0x35e8b9,'memberID':_0x2eae5f,'textRanges':_0x55adab}));}}['_updateLocalCache'](){var _0x2bfd81=_0xeea7c7,_0xf9ba2f;(_0xf9ba2f=this[_0x2bfd81(0x159)])==null||_0xf9ba2f[_0x2bfd81(0x153)](this[_0x2bfd81(0x1bf)],this[_0x2bfd81(0x2d0)],this[_0x2bfd81(0xbc)],this[_0x2bfd81(0x374)]);}['_getCurrentRevision'](){var _0xf09c11=_0xeea7c7;return this[_0xf09c11(0x142)][_0xf09c11(0xdb)](this[_0xf09c11(0x1bf)]);}[_0xeea7c7(0x128)](){var _0xee77fa=_0xeea7c7;this[_0xee77fa(0x142)][_0xee77fa(0x2dc)](this[_0xee77fa(0x1bf)]);}[_0xeea7c7(0x26d)](_0x636123){var _0x4b487c=_0xeea7c7,_0x23a44c;let _0x4b6e5e=this[_0x4b487c(0x33b)](_0x636123);_0x4b6e5e=this[_0x4b487c(0x148)](_0x4b6e5e);const _0x182e9b=a[_0x4b487c(0x284)](_0x4b6e5e[_0x4b487c(0x121)],this[_0x4b487c(0x20f)],{'fromCollab':!0x0});if(!_0x182e9b[_0x4b487c(0xeb)])throw _0x182e9b['error']instanceof Error?_0x182e9b[_0x4b487c(0x12a)]:new Error((_0x23a44c=_0x182e9b[_0x4b487c(0x12a)])!=null?_0x23a44c:_0x4b487c(0x333));this['_transformIMECache'](_0x4b6e5e),this[_0x4b487c(0x1a8)](_0x4b6e5e),this['_transformUndoredo'](_0x636123),this['_transformSelections'](_0x4b6e5e),this[_0x4b487c(0x2ff)](_0x4b6e5e),this['_incrementRevisionNumber']();}}exports[_0xeea7c7(0x27c)]=class extends he{constructor(_0x2206c3,_0x345b6a,_0x23f183,_0x178716,_0xb865b8,_0x5ba93e,_0x3add21,_0x4e5cac,_0x5cb893,_0x2d98e1){var _0x5b9ed9=_0xeea7c7;super(_0x2206c3,_0x345b6a,null,[],_0x23f183,_0x3add21,_0x5ba93e,_0x178716,_0x2d98e1),A(this,_0x5b9ed9(0xd4),_0x5b9ed9(0x2f8)),(this[_0x5b9ed9(0x17a)]=_0xb865b8,this[_0x5b9ed9(0x21d)]=_0x4e5cac,this[_0x5b9ed9(0x1ae)]=_0x5cb893,this['localCacheService']=_0x2d98e1);}[_0xeea7c7(0x2bc)](_0x769df8){var _0x2bb386=_0xeea7c7;const _0x115134=this[_0x2bb386(0x17a)][_0x2bb386(0x251)](exports[_0x2bb386(0x26a)],this[_0x2bb386(0x1bf)],this[_0x2bb386(0x2d0)],[_0x769df8],this[_0x2bb386(0x1e2)]);return _0x115134[_0x2bb386(0x139)](),_0x115134[_0x2bb386(0x1cd)](),_0x115134;}[_0xeea7c7(0x213)](_0x4df6b7){var _0x4e56e8=_0xeea7c7;if(this['_checkMissing'](_0x4df6b7))return this[_0x4e56e8(0x17a)]['createInstance'](exports['FetchingMissState'],this[_0x4e56e8(0x1bf)],this[_0x4e56e8(0x2d0)],null,[],null,[_0x4df6b7],this[_0x4e56e8(0x1e2)]);try{const _0xfff6c6=this[_0x4e56e8(0x1ae)][_0x4e56e8(0x87)](_0x4df6b7,[mi]);if(g[_0x4e56e8(0x256)](_0xfff6c6)){const {c1Prime:_0x11b1b1}=_0xfff6c6;return this[_0x4e56e8(0x26d)](_0x11b1b1),this;}throw _0xfff6c6[_0x4e56e8(0x12a)];}catch(_0x210ef2){return this[_0x4e56e8(0x21d)][_0x4e56e8(0x12a)](_0x210ef2),this['_onConflict'](!0x1);}}[_0xeea7c7(0xd2)](_0x509985){var _0x15dccf=_0xeea7c7;return this[_0x15dccf(0x17a)][_0x15dccf(0x251)](exports[_0x15dccf(0x109)],this[_0x15dccf(0x1bf)],this[_0x15dccf(0x2d0)],null,[],this[_0x15dccf(0x1e2)],_0x509985);}[_0xeea7c7(0x242)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0xeea7c7(0xc3)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xeea7c7(0x94)](){return this;}[_0xeea7c7(0x171)](){var _0x3cd940=_0xeea7c7;return this[_0x3cd940(0x17a)][_0x3cd940(0x251)](exports[_0x3cd940(0x36d)],this[_0x3cd940(0x1bf)],this['type'],null,[],this[_0x3cd940(0x1e2)]);}[_0xeea7c7(0xc6)](){return this;}[_0xeea7c7(0x1f9)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xeea7c7(0x15e)](){var _0x5b2dc3=_0xeea7c7;const _0x4abe9b=this[_0x5b2dc3(0x142)][_0x5b2dc3(0xdb)](this[_0x5b2dc3(0x1bf)]);return this[_0x5b2dc3(0x1e2)]['onMissingChangesets']({'from':_0x4abe9b,'to':0x0}),this[_0x5b2dc3(0x17a)][_0x5b2dc3(0x251)](exports[_0x5b2dc3(0x168)],this[_0x5b2dc3(0x1bf)],this[_0x5b2dc3(0x2d0)],null,[],null,[],this[_0x5b2dc3(0x1e2)]);}},exports[_0xeea7c7(0x27c)]=ce([w(0x3,a[_0xeea7c7(0xf1)](g[_0xeea7c7(0x1ec)])),w(0x4,a['Inject'](a['Injector'])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0xeea7c7(0x3a3)]),w(0x7,a[_0xeea7c7(0x16f)]),w(0x8,g['ITransformService']),w(0x9,a[_0xeea7c7(0x299)](z))],exports[_0xeea7c7(0x27c)]),exports[_0xeea7c7(0x26a)]=class extends he{constructor(_0x56a6ea,_0xa0f234,_0x519ebd,_0x4d73af,_0x5dd642,_0x248df9,_0x300c3d,_0x2136ff,_0x118137,_0x4b3721,_0x5d49c4,_0x346a3a,_0x33479d,_0x3e2988){var _0x1b45a4=_0xeea7c7;super(_0x56a6ea,_0xa0f234,null,_0x519ebd,_0x4d73af,_0x118137,_0x33479d,_0x248df9,_0x3e2988),A(this,'status','pending'),A(this,_0x1b45a4(0x132),null),A(this,_0x1b45a4(0x27e),null),(this['_injector']=_0x5dd642,this['_memberService']=_0x300c3d,this['_logService']=_0x2136ff,this[_0x1b45a4(0x33e)]=_0x4b3721,this[_0x1b45a4(0x1ae)]=_0x5d49c4,this[_0x1b45a4(0x327)]=_0x346a3a);}['appendMutation'](_0x1da7bd){var _0x4a7fa1=_0xeea7c7;return this[_0x4a7fa1(0x374)][_0x4a7fa1(0x38e)](_0x1da7bd),this[_0x4a7fa1(0x1cd)](),this;}[_0xeea7c7(0x213)](_0x5b5363){var _0x61b233=_0xeea7c7;if(this[_0x61b233(0x123)](_0x5b5363))return this[_0x61b233(0x36e)](),this['_injector'][_0x61b233(0x251)](exports[_0x61b233(0x168)],this[_0x61b233(0x1bf)],this['type'],null,this[_0x61b233(0x374)],null,[_0x5b5363],this[_0x61b233(0x1e2)]);try{const _0x521aaa=this[_0x61b233(0x1ae)]['transformMutationsWithChangeset'](_0x5b5363,this[_0x61b233(0x374)]);if(g[_0x61b233(0x256)](_0x521aaa)){const {c1Prime:_0x3ccadc,m2Prime:_0x45f490}=_0x521aaa;this[_0x61b233(0x26d)](_0x3ccadc);const _0x4b320b=this[_0x61b233(0x17a)]['createInstance'](exports['PendingState'],this['unitID'],this[_0x61b233(0x2d0)],_0x45f490,this[_0x61b233(0x1e2)]);this[_0x61b233(0x36e)]();const _0x291f8b=new Date()[_0x61b233(0x37e)](),_0x3def4d=this['_scheduleCompleteTimestamp']?Math[_0x61b233(0x38c)](this['_scheduleCompleteTimestamp']-_0x291f8b,0x0):this[_0x61b233(0x358)]();return _0x4b320b['_schedule'](_0x3def4d),_0x4b320b;}throw _0x521aaa[_0x61b233(0x12a)];}catch(_0x29b68d){return this[_0x61b233(0x21d)]['error'](_0x29b68d),this[_0x61b233(0xd2)](!0x1);}}[_0xeea7c7(0x242)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0xeea7c7(0xc3)](){var _0xd7dede=_0xeea7c7;throw new Error(_0xd7dede(0x1fc));}[_0xeea7c7(0x94)](){return this;}['toggleOffline'](){var _0x27b82b=_0xeea7c7;return this[_0x27b82b(0x36e)](),this[_0x27b82b(0x17a)][_0x27b82b(0x251)](exports[_0x27b82b(0x36d)],this[_0x27b82b(0x1bf)],this[_0x27b82b(0x2d0)],null,this[_0x27b82b(0x374)],this[_0x27b82b(0x1e2)]);}[_0xeea7c7(0xc6)](){return this;}[_0xeea7c7(0x139)](_0xad83e5){var _0x3d8cb7=_0xeea7c7;const _0x555abf=_0xad83e5!=null?_0xad83e5:this['_getSendChangesetTimeout']();this[_0x3d8cb7(0x132)]=new Date()[_0x3d8cb7(0x37e)]()+_0x555abf,this['_sendingTimer']=setTimeout(()=>{var _0x2ad771=_0x3d8cb7;this[_0x2ad771(0x36e)]();let _0xb690ad=null;switch(this[_0x2ad771(0x2d0)]){case X[_0x2ad771(0x21f)]:{_0xb690ad=ze(this[_0x2ad771(0x374)],this[_0x2ad771(0x1bf)],this[_0x2ad771(0x327)],this[_0x2ad771(0x142)],this[_0x2ad771(0x3b0)]);break;}case X[_0x2ad771(0xd1)]:{this[_0x2ad771(0x374)][_0x2ad771(0x134)](_0x1be629=>_0x1be629['id']===ut[_0x2ad771(0x359)]['id'])?_0xb690ad=Ii(this[_0x2ad771(0x374)],this[_0x2ad771(0x1bf)],this[_0x2ad771(0x327)],this[_0x2ad771(0x142)],this[_0x2ad771(0x3b0)]):_0xb690ad=ze(this[_0x2ad771(0x374)],this[_0x2ad771(0x1bf)],this['_univerInstanceService'],this['_revisionService'],this[_0x2ad771(0x3b0)]);break;}default:throw new Error(_0x2ad771(0x259)+this[_0x2ad771(0x2d0)]+_0x2ad771(0x12d));}const {changeset:_0x379d55,pendingMutations:_0x1da1ce}=_0xb690ad;this[_0x2ad771(0x1e2)]['onSendChangeset'](_0x379d55);const _0x6ae235=_0x1da1ce[_0x2ad771(0x254)]?this[_0x2ad771(0x17a)][_0x2ad771(0x251)](exports[_0x2ad771(0x82)],this['unitID'],this[_0x2ad771(0x2d0)],_0x379d55,_0x1da1ce,this['_handler'],void 0x0):this[_0x2ad771(0x17a)]['createInstance'](exports[_0x2ad771(0x147)],this[_0x2ad771(0x1bf)],this[_0x2ad771(0x2d0)],_0x379d55,this[_0x2ad771(0x1e2)]);_0x6ae235['_updateLocalCache'](),this['_handler'][_0x2ad771(0x2ae)](this,_0x6ae235);},_0x555abf);}['_getSendChangesetTimeout'](){var _0x4bc000=_0xeea7c7,_0x5e9727;const _0x6add4a=this[_0x4bc000(0x33e)]['getConfig'](Y);return(_0x5e9727=_0x6add4a==null?void 0x0:_0x6add4a[_0x4bc000(0x35b)])!=null?_0x5e9727:jt;}[_0xeea7c7(0x1f9)](){var _0xac3e67=_0xeea7c7;throw new Error(_0xac3e67(0x35e));}[_0xeea7c7(0x36e)](){var _0x541125=_0xeea7c7;this[_0x541125(0x27e)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0xeea7c7(0xd2)](_0x3e4286){var _0x48e3fc=_0xeea7c7;return this[_0x48e3fc(0x36e)](),this['_injector'][_0x48e3fc(0x251)](exports[_0x48e3fc(0x109)],this['unitID'],this[_0x48e3fc(0x2d0)],null,this[_0x48e3fc(0x374)],this[_0x48e3fc(0x1e2)],_0x3e4286);}},exports[_0xeea7c7(0x26a)]=ce([w(0x4,a['Inject'](a[_0xeea7c7(0xf8)])),w(0x5,a[_0xeea7c7(0xf1)](g['RevisionService'])),w(0x6,a[_0xeea7c7(0xf1)](exports[_0xeea7c7(0x3b6)])),w(0x7,a[_0xeea7c7(0x16f)]),w(0x8,a[_0xeea7c7(0x3a3)]),w(0x9,a[_0xeea7c7(0xca)]),w(0xa,g[_0xeea7c7(0x3f1)]),w(0xb,a[_0xeea7c7(0x382)]),w(0xc,a[_0xeea7c7(0x3cf)]),w(0xd,a[_0xeea7c7(0x299)](z))],exports['PendingState']),exports[_0xeea7c7(0x147)]=class extends he{constructor(_0x5bf119,_0x12290d,_0x3605e9,_0x5ef09b,_0x1de8d2,_0x53de05,_0x5b7afe,_0x386026,_0x2676ce,_0x146efe,_0x26f7ef){var _0x39985a=_0xeea7c7;super(_0x5bf119,_0x12290d,_0x3605e9,[],_0x5ef09b,_0x5b7afe,_0x146efe,_0x53de05,_0x26f7ef),A(this,'status',_0x39985a(0x36b)),A(this,_0x39985a(0x263),0x0),A(this,'_resendTimer'),A(this,_0x39985a(0x37a)),(this[_0x39985a(0x17a)]=_0x1de8d2,this['_logService']=_0x386026,this[_0x39985a(0x1ae)]=_0x2676ce);}[_0xeea7c7(0x2bc)](_0x3dffd5){var _0x4d43e5=_0xeea7c7;this[_0x4d43e5(0x36e)]();const _0x4dc548=this[_0x4d43e5(0x17a)][_0x4d43e5(0x251)](exports[_0x4d43e5(0x82)],this[_0x4d43e5(0x1bf)],this[_0x4d43e5(0x2d0)],this[_0x4d43e5(0xbc)],[_0x3dffd5],this['_handler'],this['_resendTimer']);return _0x4dc548[_0x4d43e5(0x1cd)](),_0x4dc548;}[_0xeea7c7(0x213)](_0x2c9f58){var _0xb17a8e=_0xeea7c7;if(this['_checkMissing'](_0x2c9f58))return this[_0xb17a8e(0x36e)](),this['_injector'][_0xb17a8e(0x251)](exports[_0xb17a8e(0x168)],this[_0xb17a8e(0x1bf)],this[_0xb17a8e(0x2d0)],this[_0xb17a8e(0xbc)],[],null,[_0x2c9f58],this[_0xb17a8e(0x1e2)]);try{const _0x5d338d=this[_0xb17a8e(0x1ae)][_0xb17a8e(0x27f)]([_0x2c9f58],[this[_0xb17a8e(0xbc)]],!0x1);if(g[_0xb17a8e(0x103)](_0x5d338d)){const {c1Prime:_0x533b8e,c2Prime:_0x4c73e5}=_0x5d338d;this[_0xb17a8e(0x26d)](_0x533b8e[0x0]),_0x4c73e5[0x0][_0xb17a8e(0x24a)]=this[_0xb17a8e(0x162)](),this[_0xb17a8e(0x36e)]();const _0x201119=this[_0xb17a8e(0x17a)][_0xb17a8e(0x251)](exports[_0xb17a8e(0x147)],this[_0xb17a8e(0x1bf)],this[_0xb17a8e(0x2d0)],_0x4c73e5[0x0],this['_handler']);return _0x201119[_0xb17a8e(0x1cd)](),_0x201119;}return this[_0xb17a8e(0xd2)](!0x1);}catch(_0x12fd06){return this[_0xb17a8e(0x21d)]['error'](_0x12fd06),this[_0xb17a8e(0xd2)](!0x1);}}[_0xeea7c7(0x242)](_0x1599ab){var _0x471f6b=_0xeea7c7;this[_0x471f6b(0x36e)]();const _0x5eb24d=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);if(_0x1599ab[_0x471f6b(0x3b8)]<_0x5eb24d-0x1)return this;if(this[_0x471f6b(0x123)](_0x1599ab))return this['_injector'][_0x471f6b(0x251)](exports[_0x471f6b(0x168)],this['unitID'],this[_0x471f6b(0x2d0)],null,[],this[_0x471f6b(0xbc)],[],this[_0x471f6b(0x1e2)]);this['_incrementRevisionNumber']();const _0x2e74b4=this[_0x471f6b(0x17a)][_0x471f6b(0x251)](exports['SyncedState'],this[_0x471f6b(0x1bf)],this[_0x471f6b(0x2d0)],this[_0x471f6b(0x1e2)]);return _0x2e74b4[_0x471f6b(0x1cd)](),_0x2e74b4;}[_0xeea7c7(0xc3)](_0x590d49){var _0x4d9bd7=_0xeea7c7;return this[_0x4d9bd7(0xd2)](!!(_0x590d49!=null&&_0x590d49[_0x4d9bd7(0x3f0)]));}['onRemoteRetry'](_0x4cfb7b){var _0x260cad=_0xeea7c7;return this['_resendTimeout']>Nt?this['toggleOffline']():(this[_0x260cad(0x34a)]=yt(this['_resendTimeout'],{'timeout':this[_0x260cad(0x263)],'reqId':_0x4cfb7b[_0x260cad(0x2f6)]}),this[_0x260cad(0x37a)]=this[_0x260cad(0x34a)][_0x260cad(0xc7)](({reqId:_0x3f9541,timeout:_0x5ead0c})=>{this['_resendWithTimeout'](_0x3f9541,_0x5ead0c);}),this);}[_0xeea7c7(0x171)](){var _0x1006c7=_0xeea7c7;return this['_clearScheduledTask'](),this[_0x1006c7(0x17a)][_0x1006c7(0x251)](exports[_0x1006c7(0x36d)],this[_0x1006c7(0x1bf)],this[_0x1006c7(0x2d0)],this[_0x1006c7(0xbc)],[],this[_0x1006c7(0x1e2)]);}[_0xeea7c7(0xc6)](){return this;}['resend'](){var _0x40546d=_0xeea7c7;this[_0x40546d(0x1e2)][_0x40546d(0xa5)](this['_awaitingChangeset']);}[_0xeea7c7(0xd2)](_0x4fbf49){var _0x4f2113=_0xeea7c7;return this[_0x4f2113(0x36e)](),this[_0x4f2113(0x17a)][_0x4f2113(0x251)](exports[_0x4f2113(0x109)],this[_0x4f2113(0x1bf)],this[_0x4f2113(0x2d0)],this[_0x4f2113(0xbc)],[],this[_0x4f2113(0x1e2)],_0x4fbf49);}[_0xeea7c7(0x2a4)](_0x4bab64,_0x4ae625){var _0x23d1c6=_0xeea7c7,_0x52a58d;_0x4bab64===((_0x52a58d=this['_awaitingChangeset'])==null?void 0x0:_0x52a58d[_0x23d1c6(0x2f6)])&&(this[_0x23d1c6(0x1f9)](),this[_0x23d1c6(0x263)]=_0x4ae625===0x0?0x3e8:_0x4ae625*0x2);}['_clearScheduledTask'](){var _0x339a2d=_0xeea7c7,_0x31bedf;(_0x31bedf=this[_0x339a2d(0x37a)])==null||_0x31bedf[_0x339a2d(0x13c)](),this['_resendTimeout']=0x0;}},exports[_0xeea7c7(0x147)]=ce([w(0x4,a[_0xeea7c7(0xf1)](a[_0xeea7c7(0xf8)])),w(0x5,a[_0xeea7c7(0xf1)](g[_0xeea7c7(0x1ec)])),w(0x6,a[_0xeea7c7(0x3a3)]),w(0x7,a[_0xeea7c7(0x16f)]),w(0x8,g[_0xeea7c7(0x3f1)]),w(0x9,a[_0xeea7c7(0x3cf)]),w(0xa,a[_0xeea7c7(0x299)](z))],exports[_0xeea7c7(0x147)]),exports[_0xeea7c7(0x82)]=class extends he{constructor(_0x4e15af,_0x240467,_0x3fa749,_0x33fa8d,_0x1e9b09,_0x3e3164,_0x3b8541,_0x1cef4d,_0x1f31e1,_0x562516,_0x3c1e05,_0x1f1c89,_0x1fce2d){var _0x326256=_0xeea7c7;super(_0x4e15af,_0x240467,_0x3fa749,_0x33fa8d,_0x1e9b09,_0x1f31e1,_0x1f1c89,_0x1cef4d,_0x1fce2d),A(this,_0x326256(0xd4),_0x326256(0x3c4)),A(this,_0x326256(0x263),0x0),A(this,_0x326256(0x34a)),A(this,_0x326256(0x37a)),(this['_injector']=_0x3b8541,this[_0x326256(0x21d)]=_0x562516,this['_transformService']=_0x3c1e05,this[_0x326256(0x204)]=_0x1fce2d,_0x3e3164&&(this['_resendTimer']=_0x3e3164,this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x22ebfc,timeout:_0x1515e9})=>{this['_resendWithTimeout'](_0x22ebfc,_0x1515e9);})));}[_0xeea7c7(0x2bc)](_0x47f42a){var _0x61e0a9=_0xeea7c7;return this['_pendingMutations'][_0x61e0a9(0x38e)](_0x47f42a),this;}['onRemoteChangeset'](_0x281acc){var _0x1a5967=_0xeea7c7;if(this[_0x1a5967(0x123)](_0x281acc))return this[_0x1a5967(0x36e)](),this['_injector'][_0x1a5967(0x251)](exports['FetchingMissState'],this[_0x1a5967(0x1bf)],this[_0x1a5967(0x2d0)],this[_0x1a5967(0xbc)],this[_0x1a5967(0x374)],null,[_0x281acc],this[_0x1a5967(0x1e2)]);try{const _0x303560=this['_transformService'][_0x1a5967(0x27f)]([_0x281acc],[this['_awaitingChangeset']],!0x1);if(g[_0x1a5967(0x103)](_0x303560)){const {c1Prime:_0x4c8eee,c2Prime:_0x67d0cc}=_0x303560,_0x9d2265=this[_0x1a5967(0x1ae)][_0x1a5967(0x87)](_0x4c8eee[0x0],this[_0x1a5967(0x374)]);if(g[_0x1a5967(0x256)](_0x9d2265)){const {c1Prime:_0x48370d,m2Prime:_0x37f9d2}=_0x9d2265;return this[_0x1a5967(0x26d)](_0x48370d),_0x67d0cc[0x0][_0x1a5967(0x24a)]=this[_0x1a5967(0x162)](),this[_0x1a5967(0x36e)](),this['_injector'][_0x1a5967(0x251)](exports[_0x1a5967(0x82)],this[_0x1a5967(0x1bf)],this[_0x1a5967(0x2d0)],_0x67d0cc[0x0],_0x37f9d2,this[_0x1a5967(0x1e2)],void 0x0);}throw _0x9d2265[_0x1a5967(0x12a)];}throw _0x303560['error'];}catch(_0x521fad){return this[_0x1a5967(0x21d)]['error'](_0x521fad),this[_0x1a5967(0xd2)](!0x1);}}[_0xeea7c7(0x242)](_0xd452e3){var _0x10e8c0=_0xeea7c7;if(this[_0x10e8c0(0x36e)](),this['_checkMissing'](_0xd452e3))return this[_0x10e8c0(0x17a)]['createInstance'](exports[_0x10e8c0(0x168)],this[_0x10e8c0(0x1bf)],this[_0x10e8c0(0x2d0)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x10e8c0(0x1e2)]);this['_incrementRevisionNumber']();const _0x4ce1ed=this['_injector']['createInstance'](exports['PendingState'],this['unitID'],this[_0x10e8c0(0x2d0)],this['_pendingMutations'],this[_0x10e8c0(0x1e2)]);return _0x4ce1ed['_schedule'](),_0x4ce1ed[_0x10e8c0(0x1cd)](),_0x4ce1ed;}['onRemoteRej'](_0x87c019){var _0xcd0363=_0xeea7c7;return this[_0xcd0363(0xd2)](!!(_0x87c019!=null&&_0x87c019['isPermissionRej']));}[_0xeea7c7(0x94)](_0x210f94){var _0x1fdb22=_0xeea7c7;return this[_0x1fdb22(0x263)]>Nt?this[_0x1fdb22(0x171)]():(this['_resendTimer']=yt(this['_resendTimeout'],{'timeout':this[_0x1fdb22(0x263)],'reqId':_0x210f94['reqId']}),this['_sender']=this[_0x1fdb22(0x34a)]['subscribe'](({reqId:_0x14d2ab,timeout:_0x127cc3})=>{var _0x379ed7=_0x1fdb22;this[_0x379ed7(0x2a4)](_0x14d2ab,_0x127cc3);}),this);}['toggleOffline'](){var _0x4026b0=_0xeea7c7;return this[_0x4026b0(0x36e)](),this['_injector']['createInstance'](exports['OfflineState'],this['unitID'],this[_0x4026b0(0x2d0)],this[_0x4026b0(0xbc)],this['_pendingMutations'],this[_0x4026b0(0x1e2)]);}[_0xeea7c7(0xc6)](){return this;}[_0xeea7c7(0x1f9)](){var _0x1df669=_0xeea7c7;this[_0x1df669(0x1e2)][_0x1df669(0xa5)](this['_awaitingChangeset']);}[_0xeea7c7(0xd2)](_0x438236){var _0x3f6033=_0xeea7c7;return this['_clearScheduledTask'](),this[_0x3f6033(0x17a)][_0x3f6033(0x251)](exports[_0x3f6033(0x109)],this[_0x3f6033(0x1bf)],this['type'],null,this[_0x3f6033(0x374)],this['_handler'],_0x438236);}[_0xeea7c7(0x2a4)](_0x52449e,_0x4f9079){var _0x12650a=_0xeea7c7,_0x42350b;_0x52449e===((_0x42350b=this['_awaitingChangeset'])==null?void 0x0:_0x42350b[_0x12650a(0x2f6)])&&(this[_0x12650a(0x1f9)](),this['_resendTimeout']=_0x4f9079===0x0?0x3e8:_0x4f9079*0x2);}[_0xeea7c7(0x36e)](){var _0x55be82=_0xeea7c7,_0x9dfa09;(_0x9dfa09=this['_sender'])==null||_0x9dfa09[_0x55be82(0x13c)](),this[_0x55be82(0x263)]=0x0;}},exports[_0xeea7c7(0x82)]=ce([w(0x6,a[_0xeea7c7(0xf1)](a[_0xeea7c7(0xf8)])),w(0x7,a[_0xeea7c7(0xf1)](g['RevisionService'])),w(0x8,a['ICommandService']),w(0x9,a[_0xeea7c7(0x16f)]),w(0xa,g[_0xeea7c7(0x3f1)]),w(0xb,a[_0xeea7c7(0x3cf)]),w(0xc,a[_0xeea7c7(0x299)](z))],exports[_0xeea7c7(0x82)]),exports[_0xeea7c7(0x109)]=class extends he{constructor(_0x53d8d8,_0x3d30a4,_0x5c94e2,_0x59202b,_0x1585bf,_0x49100e=!0x1,_0x43497e,_0x379e40,_0x2eb6cc,_0x589688,_0x425715,_0x879132,_0x3074dc){var _0x36be5c=_0xeea7c7;super(_0x53d8d8,_0x3d30a4,_0x5c94e2,_0x59202b,_0x1585bf,_0x379e40,_0x2eb6cc,_0x589688,_0x3074dc),A(this,_0x36be5c(0xd4),_0x36be5c(0x3de)),(this[_0x36be5c(0x267)]=_0x49100e,this[_0x36be5c(0x302)]=_0x43497e,this[_0x36be5c(0x265)]=_0x425715,this[_0x36be5c(0x8b)]=_0x879132,this[_0x36be5c(0x204)]=_0x3074dc,this['_showConflictNotification'](),this[_0x36be5c(0x91)](),this[_0x36be5c(0x14a)]());}['appendMutation'](){return this;}[_0xeea7c7(0x213)](){return this;}['onRemoteAck'](){return this;}[_0xeea7c7(0xc3)](){return this;}[_0xeea7c7(0x94)](){return this;}[_0xeea7c7(0x171)](){return this;}[_0xeea7c7(0xc6)](){return this;}['resend'](){var _0x5861c8=_0xeea7c7;throw new Error(_0x5861c8(0x395));}[_0xeea7c7(0x91)](){var _0x3ea43b=_0xeea7c7,_0x38b385;(_0x38b385=this[_0x3ea43b(0x159)])==null||_0x38b385[_0x3ea43b(0x153)](this[_0x3ea43b(0x1bf)],this[_0x3ea43b(0x2d0)],null,[]);}[_0xeea7c7(0x366)](){var _0x28e89e=_0xeea7c7;this['_isPermissionRej']?this[_0x28e89e(0x8b)][_0x28e89e(0x2f7)]({'id':Q['PERMISSION_DENIED']}):this[_0x28e89e(0x8b)]['emitEvent']({'id':Q['CONFLICT']});}[_0xeea7c7(0x14a)](){var _0x32cd69=_0xeea7c7;this[_0x32cd69(0x302)][_0x32cd69(0x375)](new Z[(_0x32cd69(0x2c8))](this[_0x32cd69(0x1bf)])['id'],!0x1);}},exports['ConflictState']=ce([w(0x6,a[_0xeea7c7(0xf1)](a['IPermissionService'])),w(0x7,a[_0xeea7c7(0x3a3)]),w(0x8,a['IUndoRedoService']),w(0x9,a['Inject'](g[_0xeea7c7(0x1ec)])),w(0xa,a[_0xeea7c7(0xf1)](a[_0xeea7c7(0xa0)])),w(0xb,a[_0xeea7c7(0xf1)](te)),w(0xc,a['Optional'](z))],exports[_0xeea7c7(0x109)]),exports[_0xeea7c7(0x36d)]=class extends he{constructor(_0xab2a25,_0x9d2e1f,_0x432359,_0x170147,_0x8788e4,_0x17d7f3,_0x4b863a,_0x20c694,_0x51a6dd,_0x298cad){var _0x38042f=_0xeea7c7;super(_0xab2a25,_0x9d2e1f,_0x432359,_0x170147,_0x8788e4,_0x20c694,_0x51a6dd,_0x4b863a,_0x298cad),A(this,'status',_0x38042f(0x100)),this[_0x38042f(0x17a)]=_0x17d7f3;}[_0xeea7c7(0x2bc)](_0x3777a7){var _0x4a043c=_0xeea7c7;return this[_0x4a043c(0x374)]['push'](_0x3777a7),this[_0x4a043c(0x1cd)](),this;}[_0xeea7c7(0x213)](_0x1e20d3){var _0x4fa3da=_0xeea7c7;throw new Error(_0x4fa3da(0x348));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0xeea7c7(0xc3)](){var _0x4723a5=_0xeea7c7;throw new Error(_0x4723a5(0x335));}[_0xeea7c7(0x94)](){return this;}['toggleOffline'](){return this;}[_0xeea7c7(0xc6)](){var _0x17a486=_0xeea7c7;const {_injector:_0x24d95b,_pendingMutations:_0xe40d48,_awaitingChangeset:_0x1fe7ba,unitID:_0x543db1,_handler:_0x2e4ede,type:_0x2277a7}=this,_0xbe7fd4=Dt(_0x24d95b,_0x543db1,_0x2277a7,_0x1fe7ba,_0xe40d48,_0x2e4ede);return _0xbe7fd4 instanceof exports[_0x17a486(0x26a)]?_0xbe7fd4[_0x17a486(0x139)]():(_0xbe7fd4 instanceof exports[_0x17a486(0x82)]||_0xbe7fd4 instanceof exports[_0x17a486(0x147)])&&_0xbe7fd4[_0x17a486(0x1f9)](),_0xbe7fd4;}[_0xeea7c7(0x1f9)](){var _0x117b4a=_0xeea7c7;throw new Error(_0x117b4a(0x18e));}},exports[_0xeea7c7(0x36d)]=ce([w(0x5,a['Inject'](a[_0xeea7c7(0xf8)])),w(0x6,a[_0xeea7c7(0xf1)](g[_0xeea7c7(0x1ec)])),w(0x7,a[_0xeea7c7(0x3a3)]),w(0x8,a[_0xeea7c7(0x3cf)]),w(0x9,a['Optional'](z))],exports[_0xeea7c7(0x36d)]),exports[_0xeea7c7(0x168)]=class extends he{constructor(_0x3ec160,_0xa180e,_0xacc926,_0x27758f,_0x42d61f,_0x39d2c2,_0x4fcfbb,_0x22a962,_0x1bb5ff,_0x490fc1,_0x3f3223,_0x4142b4,_0x12a31f,_0xfa7838){var _0x53a7aa=_0xeea7c7;super(_0x3ec160,_0xa180e,_0xacc926,_0x27758f,_0x4fcfbb,_0x3f3223,_0x4142b4,_0x1bb5ff,_0xfa7838),A(this,_0x53a7aa(0xd4),_0x53a7aa(0x23f)),(this['_acknowledgedAwaitingChangeset']=_0x42d61f,this[_0x53a7aa(0x32b)]=_0x39d2c2,this[_0x53a7aa(0x17a)]=_0x22a962,this[_0x53a7aa(0x21d)]=_0x490fc1,this['_transformService']=_0x12a31f,this[_0x53a7aa(0x204)]=_0xfa7838);}[_0xeea7c7(0x282)](_0xa72daa){var _0xbf8f7d=_0xeea7c7;try{const _0xfab33b=[..._0xa72daa,...this['_queuedRemoteChangesets']],_0xe00102=[this[_0xbf8f7d(0xbc)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x4c3851=>!!_0x4c3851);let _0x4b421b,_0x2e4822;if(_0xe00102[_0xbf8f7d(0x254)]){const _0x3895b5=this[_0xbf8f7d(0x1ae)][_0xbf8f7d(0x27f)](_0xfab33b,_0xe00102,!0x1);if(!g[_0xbf8f7d(0x103)](_0x3895b5))throw _0x3895b5[_0xbf8f7d(0x12a)];_0x4b421b=_0x3895b5[_0xbf8f7d(0x1bc)],_0x2e4822=_0x3895b5[_0xbf8f7d(0x165)];}else _0x4b421b=_0xfab33b,_0x2e4822=[];let _0x24be26=this[_0xbf8f7d(0x374)];_0x4b421b[_0xbf8f7d(0x34d)](_0x4e8535=>{var _0x18a053=_0xbf8f7d;let _0x9fbced;if(_0x24be26[_0x18a053(0x254)]){const _0x252be1=this[_0x18a053(0x1ae)][_0x18a053(0x87)](_0x4e8535,_0x24be26);if(!g[_0x18a053(0x256)](_0x252be1))throw _0x252be1[_0x18a053(0x12a)];_0x9fbced=_0x252be1[_0x18a053(0x1bc)],_0x24be26=_0x252be1[_0x18a053(0x3c3)];}else _0x9fbced=_0x4e8535;this[_0x18a053(0x26d)](_0x9fbced);}),this[_0xbf8f7d(0x29d)]&&this[_0xbf8f7d(0x128)](),this[_0xbf8f7d(0xbc)]&&_0x2e4822['length']&&(_0x2e4822[0x0][_0xbf8f7d(0x24a)]=this[_0xbf8f7d(0x162)]());let _0x41e069;if(this[_0xbf8f7d(0xbc)]&&_0x24be26[_0xbf8f7d(0x254)]!==0x0)_0x41e069=this['_injector'][_0xbf8f7d(0x251)](exports[_0xbf8f7d(0x82)],this['unitID'],this[_0xbf8f7d(0x2d0)],_0x2e4822[0x0],_0x24be26,this['_handler'],void 0x0);else{if(this[_0xbf8f7d(0xbc)]&&_0x24be26['length']===0x0)_0x2e4822[0x0][_0xbf8f7d(0x24a)]=this[_0xbf8f7d(0x162)](),_0x41e069=this[_0xbf8f7d(0x17a)][_0xbf8f7d(0x251)](exports[_0xbf8f7d(0x147)],this[_0xbf8f7d(0x1bf)],this[_0xbf8f7d(0x2d0)],_0x2e4822[0x0],this[_0xbf8f7d(0x1e2)]);else{if(_0x24be26[_0xbf8f7d(0x254)]!==0x0){const _0x591114=this[_0xbf8f7d(0x17a)][_0xbf8f7d(0x251)](exports[_0xbf8f7d(0x26a)],this[_0xbf8f7d(0x1bf)],this[_0xbf8f7d(0x2d0)],_0x24be26,this['_handler']);_0x591114[_0xbf8f7d(0x139)](),_0x41e069=_0x591114;}else _0x41e069=this[_0xbf8f7d(0x17a)][_0xbf8f7d(0x251)](exports[_0xbf8f7d(0x27c)],this['unitID'],this[_0xbf8f7d(0x2d0)],this[_0xbf8f7d(0x1e2)]);}}return _0x41e069[_0xbf8f7d(0x1cd)](),_0x41e069;}catch(_0xfa8d8f){return this['_logService'][_0xbf8f7d(0x12a)]('[FetchMissState]',_0xbf8f7d(0x2e1),_0xfa8d8f),this[_0xbf8f7d(0x17a)][_0xbf8f7d(0x251)](exports[_0xbf8f7d(0x109)],this['unitID'],this['type'],this[_0xbf8f7d(0xbc)],this['_pendingMutations'],this[_0xbf8f7d(0x1e2)],!0x1);}}[_0xeea7c7(0x1f9)](){var _0x2a346f=_0xeea7c7;throw new Error(_0x2a346f(0x233));}[_0xeea7c7(0x2bc)](_0x506c83){var _0x49fbae=_0xeea7c7;return this['_pendingMutations'][_0x49fbae(0x38e)](_0x506c83),this;}['onRemoteChangeset'](_0x1a9582){var _0x1a12e4=_0xeea7c7;return this[_0x1a12e4(0x32b)][_0x1a12e4(0x38e)](_0x1a9582),this;}[_0xeea7c7(0x242)](_0x145d6c){var _0x49b1bb=_0xeea7c7;if(this[_0x49b1bb(0xbc)])return this[_0x49b1bb(0x29d)]=this[_0x49b1bb(0xbc)],this[_0x49b1bb(0xbc)]=null,this;throw new Error(_0x49b1bb(0xe1));}['onRemoteRej'](_0x4dfc22){var _0x36c91d=_0xeea7c7;return this[_0x36c91d(0xd2)](!!(_0x4dfc22!=null&&_0x4dfc22[_0x36c91d(0x3f0)]));}[_0xeea7c7(0x94)](){return this;}[_0xeea7c7(0x171)](){var _0x1b681b=_0xeea7c7;return this[_0x1b681b(0x17a)][_0x1b681b(0x251)](exports[_0x1b681b(0x36d)],this[_0x1b681b(0x1bf)],this[_0x1b681b(0x2d0)],this[_0x1b681b(0xbc)],this[_0x1b681b(0x374)],this[_0x1b681b(0x1e2)]);}[_0xeea7c7(0xc6)](){return this;}['_onConflict'](_0x1d0faf){var _0xf5b4bc=_0xeea7c7;return this[_0xf5b4bc(0x17a)]['createInstance'](exports[_0xf5b4bc(0x109)],this[_0xf5b4bc(0x1bf)],this[_0xf5b4bc(0x2d0)],this[_0xf5b4bc(0xbc)],this[_0xf5b4bc(0x374)],this[_0xf5b4bc(0x1e2)],_0x1d0faf);}},exports[_0xeea7c7(0x168)]=ce([w(0x7,a['Inject'](a[_0xeea7c7(0xf8)])),w(0x8,a[_0xeea7c7(0xf1)](g[_0xeea7c7(0x1ec)])),w(0x9,a[_0xeea7c7(0x16f)]),w(0xa,a[_0xeea7c7(0x3a3)]),w(0xb,a[_0xeea7c7(0x3cf)]),w(0xc,g[_0xeea7c7(0x3f1)]),w(0xd,a[_0xeea7c7(0x299)](z))],exports[_0xeea7c7(0x168)]);function Dt(_0x527e49,_0x198335,_0x535733,_0x2a4a64,_0x38d0a5,_0x323e24){var _0x4ef4cd=_0xeea7c7;return _0x2a4a64&&_0x38d0a5['length']?_0x527e49['createInstance'](exports[_0x4ef4cd(0x82)],_0x198335,_0x535733,_0x2a4a64,_0x38d0a5,_0x323e24,void 0x0):_0x2a4a64?_0x527e49['createInstance'](exports[_0x4ef4cd(0x147)],_0x198335,_0x535733,_0x2a4a64,_0x323e24):_0x38d0a5[_0x4ef4cd(0x254)]?_0x527e49[_0x4ef4cd(0x251)](exports[_0x4ef4cd(0x26a)],_0x198335,_0x535733,_0x38d0a5,_0x323e24):_0x527e49[_0x4ef4cd(0x251)](exports[_0x4ef4cd(0x27c)],_0x198335,_0x535733,_0x323e24);}var Ci=Object[_0xeea7c7(0x2a7)],We=(_0x273067,_0x4b42c5,_0x129b63,_0x15a8c6)=>{var _0x26e132=_0xeea7c7;for(var _0x1c2782=_0x15a8c6>0x1?void 0x0:_0x15a8c6?Ci(_0x4b42c5,_0x129b63):_0x4b42c5,_0x522fa2=_0x273067[_0x26e132(0x254)]-0x1,_0x5b603c;_0x522fa2>=0x0;_0x522fa2--)(_0x5b603c=_0x273067[_0x522fa2])&&(_0x1c2782=_0x5b603c(_0x1c2782)||_0x1c2782);return _0x1c2782;},$=(_0x14ca18,_0x544356)=>(_0x1213f8,_0x136efd)=>_0x544356(_0x1213f8,_0x136efd,_0x14ca18);exports[_0xeea7c7(0x257)]=class extends a[_0xeea7c7(0xd8)]{constructor(_0x5a889e,_0xfaab0d,_0x592a6a,_0x1f8be5,_0x49512c,_0x38bb51,_0x2005ce,_0x3e29eb,_0x1456ee,_0x5dd55e,_0x55e9df,_0x56ddba,_0x30ac52){var _0x1cb99b=_0xeea7c7;super(),A(this,_0x1cb99b(0xec),new j[(_0x1cb99b(0x36c))](null)),A(this,_0x1cb99b(0x145),this[_0x1cb99b(0xec)]['asObservable']()),A(this,_0x1cb99b(0x3e5)),A(this,_0x1cb99b(0xd3),!0x1),A(this,_0x1cb99b(0x17b),''),A(this,_0x1cb99b(0x3e6),0x0),A(this,'status$',this['state$'][_0x1cb99b(0x24c)](j[_0x1cb99b(0xad)](_0x3214a1=>_0x3214a1?_0x3214a1[_0x1cb99b(0xd4)]:Ve[_0x1cb99b(0x371)]),j[_0x1cb99b(0x95)](0x1))),A(this,_0x1cb99b(0x338),!0x1),A(this,_0x1cb99b(0x3f4),[]),(this[_0x1cb99b(0x1bf)]=_0x5a889e,this[_0x1cb99b(0x1ed)]=_0xfaab0d,this[_0x1cb99b(0x187)]=_0x592a6a,this[_0x1cb99b(0x17a)]=_0x1f8be5,this[_0x1cb99b(0x2b1)]=_0x49512c,this['_localeService']=_0x38bb51,this[_0x1cb99b(0x142)]=_0x2005ce,this[_0x1cb99b(0x35f)]=_0x3e29eb,this['_logService']=_0x1456ee,this[_0x1cb99b(0x20f)]=_0x5dd55e,this[_0x1cb99b(0x302)]=_0x55e9df,this[_0x1cb99b(0x3b5)]=_0x56ddba,this[_0x1cb99b(0x159)]=_0x30ac52);}get[_0xeea7c7(0x30f)](){var _0x5a76c3=_0xeea7c7;return this[_0x5a76c3(0x3e5)];}async[_0xeea7c7(0xae)](){var _0x33aa98=_0xeea7c7;if(this[_0x33aa98(0x30f)])throw new Error(_0x33aa98(0x341));await this[_0x33aa98(0x2b8)]();}[_0xeea7c7(0x10b)](){var _0x5d5458=_0xeea7c7;return this[_0x5d5458(0xd3)]=!0x0,a[_0x5d5458(0x392)](()=>{var _0x1e58cb=_0x5d5458;this[_0x1e58cb(0xd3)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0xeea7c7(0x3d2)](_0x4f5112){var _0x54d8f6=_0xeea7c7;this[_0x54d8f6(0x19b)](_0x4f5112);}['_updateState'](_0x1fd787){var _0x32dbf8=_0xeea7c7;this['_state']=_0x1fd787,this[_0x32dbf8(0xec)][_0x32dbf8(0xe3)](_0x1fd787);}async[_0xeea7c7(0x2b8)](){var _0x4444e9=_0xeea7c7,_0x274b05;this[_0x4444e9(0x287)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x274b05=this[_0x4444e9(0x3b5)])==null||_0x274b05[_0x4444e9(0x1a7)](this[_0x4444e9(0x1bf)]),this[_0x4444e9(0x2db)](this[_0x4444e9(0x3b5)][_0x4444e9(0xb8)](this[_0x4444e9(0x1bf)])[_0x4444e9(0xc7)](_0x529db2=>{var _0x195b59=_0x4444e9;this[_0x195b59(0x21d)]['debug'](_0x195b59(0x2b4),'editing\x20status\x20changed\x20to',_0x529db2),_0x529db2===Fe[_0x195b59(0x1e5)]?(this['_eventService'][_0x195b59(0x2f7)]({'id':Q[_0x195b59(0x31b)]}),this[_0x195b59(0x302)][_0x195b59(0x375)](new Z[(_0x195b59(0x2c8))](this['unitID'])['id'],!0x1),this[_0x195b59(0x302)][_0x195b59(0x3d4)](!0x1)):(this[_0x195b59(0x302)][_0x195b59(0x375)](new Z[(_0x195b59(0x2c8))](this[_0x195b59(0x1bf)])['id'],!0x0),this[_0x195b59(0x302)][_0x195b59(0x3d4)](!0x0));})));let _0x5c7de1=!0x1;return this['disposeWithMe'](this[_0x4444e9(0x1ed)][_0x4444e9(0x11f)][_0x4444e9(0xc7)](_0x24b427=>{var _0x239422=_0x4444e9;_0x24b427===se[_0x239422(0x2cb)]?this[_0x239422(0x184)](_0x5c7de1):_0x24b427===se[_0x239422(0x371)]&&(_0x5c7de1=!0x0,this[_0x239422(0xf6)]());})),this[_0x4444e9(0x2db)](this[_0x4444e9(0x1ed)][_0x4444e9(0x1f0)][_0x4444e9(0xc7)](_0x35c14d=>{var _0x2860fc=_0x4444e9;try{switch(_0x35c14d[_0x2860fc(0x9c)]){case g[_0x2860fc(0x3bb)][_0x2860fc(0x35a)]:{this[_0x2860fc(0x33c)](g[_0x2860fc(0xaf)](_0x35c14d[_0x2860fc(0x1db)]));break;}case g[_0x2860fc(0x3bb)]['CHANGESET_ACK']:{this[_0x2860fc(0xe2)](_0x35c14d['data']);break;}case g[_0x2860fc(0x3bb)]['CHANGESET_REJ']:{this[_0x2860fc(0x2a2)]();break;}case g['CollaborationEvent'][_0x2860fc(0x3e9)]:{this[_0x2860fc(0x3a4)](_0x35c14d[_0x2860fc(0x1db)]);break;}case g[_0x2860fc(0x3bb)][_0x2860fc(0x1b1)]:{this[_0x2860fc(0x1d0)](_0x35c14d[_0x2860fc(0x1db)][_0x2860fc(0x14b)][_0x2860fc(0xad)](_0x37f2f3=>g[_0x2860fc(0xaf)](_0x37f2f3)));break;}case g[_0x2860fc(0x3bb)][_0x2860fc(0x2d6)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case g[_0x2860fc(0x3bb)][_0x2860fc(0x26b)]:break;}}catch(_0x563c9b){throw console[_0x2860fc(0x12a)](_0x2860fc(0x1c0),_0x563c9b),_0x563c9b;}})),this[_0x4444e9(0x3e5)];}[_0xeea7c7(0x3f3)](){this['_transitionLocked']=!0x1;}[_0xeea7c7(0x2ab)](){var _0x36a010=_0xeea7c7;if(this[_0x36a010(0x338)])throw new Error(_0x36a010(0x1bd));this[_0x36a010(0x338)]=!0x0;}['_onLocalMutation'](_0x483084){var _0x364671=_0xeea7c7;this[_0x364671(0x2ab)](),this[_0x364671(0x287)](this['_state'][_0x364671(0x2bc)](_0x483084)),this[_0x364671(0x3f3)]();}[_0xeea7c7(0x33c)](_0x2fbb39){var _0x47aa03=_0xeea7c7;if(!(_0x2fbb39['revision']<=this[_0x47aa03(0x142)][_0x47aa03(0xdb)](this['unitID']))){if(this[_0x47aa03(0xd3)]){this['_remoteChangesetQueue'][_0x47aa03(0x38e)](_0x2fbb39);return;}this[_0x47aa03(0x140)](_0x2fbb39);}}[_0xeea7c7(0x331)](){var _0x2542e0=_0xeea7c7;this[_0x2542e0(0x3f4)][_0x2542e0(0x34d)](_0x4cfc2f=>this[_0x2542e0(0x140)](_0x4cfc2f)),this[_0x2542e0(0x3f4)]=[];}[_0xeea7c7(0x140)](_0x5f4af0){var _0x27481c=_0xeea7c7;const _0x28255b=this[_0x27481c(0x2b1)][_0x27481c(0x1ac)][_0x27481c(0x337)](this[_0x27481c(0x2b1)][_0x27481c(0x1ac)][_0x27481c(0x314)]()['COMPRESS_MUTATION_APPLY'])(_0x5f4af0[_0x27481c(0x121)],null)||_0x5f4af0[_0x27481c(0x121)],_0x4b2510={..._0x5f4af0,'mutations':_0x28255b};this[_0x27481c(0x2ab)](),this[_0x27481c(0x287)](this['_state']['onRemoteChangeset'](_0x4b2510)),this[_0x27481c(0x3f3)]();}[_0xeea7c7(0xe2)](_0x558497){var _0x4c85a9=_0xeea7c7;this[_0x4c85a9(0x2ab)](),this[_0x4c85a9(0x287)](this['_state']['onRemoteAck'](_0x558497)),this[_0x4c85a9(0x3f3)]();}[_0xeea7c7(0x2a2)](_0x54fd78){var _0x4be10a=_0xeea7c7;this[_0x4be10a(0x2ab)](),this[_0x4be10a(0x287)](this[_0x4be10a(0x3e5)][_0x4be10a(0xc3)](_0x54fd78)),this[_0x4be10a(0x3f3)]();}[_0xeea7c7(0x3a4)](_0x4f8d84){var _0x231968=_0xeea7c7;this['_lockTransition'](),this[_0x231968(0x287)](this['_state']['onRemoteRetry'](_0x4f8d84)),this['_unlockTransition']();}[_0xeea7c7(0x1d0)](_0x43ec22){var _0x5e2ef9=_0xeea7c7;if(!(this[_0x5e2ef9(0x3e5)]instanceof exports[_0x5e2ef9(0x168)]))throw new TypeError(_0x5e2ef9(0x305));const _0x187177=_0x43ec22[_0x5e2ef9(0xad)](_0x2aa307=>{var _0x4086bd=_0x5e2ef9;const _0x4b09c3=this['_compressMutationService'][_0x4086bd(0x1ac)][_0x4086bd(0x337)](this[_0x4086bd(0x2b1)][_0x4086bd(0x1ac)]['getInterceptPoints']()[_0x4086bd(0x86)])(_0x2aa307[_0x4086bd(0x121)],null)||_0x2aa307['mutations'];return{..._0x2aa307,'mutations':_0x4b09c3};});this[_0x5e2ef9(0x2ab)](),this[_0x5e2ef9(0x287)](this[_0x5e2ef9(0x3e5)][_0x5e2ef9(0x282)](_0x187177)),this['_unlockTransition']();}[_0xeea7c7(0xf6)](){var _0x306f6c=_0xeea7c7;this[_0x306f6c(0x2ab)](),this[_0x306f6c(0x287)](this[_0x306f6c(0x3e5)][_0x306f6c(0x171)]()),this[_0x306f6c(0x3f3)]();}['_toggleOnline'](_0x37014a=!0x1){var _0x2273c2=_0xeea7c7;this[_0x2273c2(0x2ab)](),this['_updateState'](this[_0x2273c2(0x3e5)]['toggleOnline']()),this[_0x2273c2(0x3f3)]();const _0x29eb7e=this[_0x2273c2(0x3e5)];_0x37014a&&_0x29eb7e instanceof exports[_0x2273c2(0x27c)]&&(this[_0x2273c2(0x2ab)](),this['_updateState'](_0x29eb7e[_0x2273c2(0x15e)]()),this[_0x2273c2(0x3f3)]());}async[_0xeea7c7(0x2e4)](){return new Promise(_0xa07820=>{var _0x5c48ce=_0x37bc;this[_0x5c48ce(0x1ed)][_0x5c48ce(0x11f)][_0x5c48ce(0x24c)](j[_0x5c48ce(0x372)](0x1))[_0x5c48ce(0xc7)](async _0x13e0a3=>{var _0x3b67cf=_0x5c48ce;_0xa07820(await this[_0x3b67cf(0xc4)](_0x13e0a3===se['ONLINE']));});});}[_0xeea7c7(0xa8)](){var _0x20d399=_0xeea7c7;const _0xb49267=this[_0x20d399(0x1bf)];return{'onStateChange':(_0x27f61d,_0x1f3c9c)=>{var _0x2441a9=_0x20d399;if(_0x27f61d!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x27f61d[_0x2441a9(0xd4)]+_0x2441a9(0x7f)+_0x1f3c9c['status']+_0x2441a9(0x1f6)+this[_0x2441a9(0x3e5)]['status']);this[_0x2441a9(0x287)](_0x1f3c9c);},'onSendChangeset':_0x2eff5f=>{var _0x273057=_0x20d399;_0x2eff5f[_0x273057(0x3a7)]||(_0x2eff5f['sid']=this[_0x273057(0x17b)],_0x2eff5f[_0x273057(0x2f6)]=++this[_0x273057(0x3e6)]);const _0x4ded15={'eventID':g[_0x273057(0x3bb)][_0x273057(0x389)],'data':{'unitID':_0x2eff5f[_0x273057(0x1bf)],'unitType':this[_0x273057(0x187)],'changeset':_0x2eff5f,'memberID':this[_0x273057(0x1ed)][_0x273057(0x212)]()}};this[_0x273057(0x1ed)][_0x273057(0x15f)](_0x4ded15,this['unitID']);},'onMissingChangesets':({from:_0x5f54ea,to:_0x4a3386})=>{var _0x181f5a=_0x20d399;this['_logService'][_0x181f5a(0x20e)](_0x181f5a(0x2b4),_0x181f5a(0x1e7)+_0x5f54ea+_0x181f5a(0x192)+_0x4a3386);const _0x409381={'eventID':g['CollaborationEvent'][_0x181f5a(0x199)],'data':{'unitID':_0xb49267,'unitType':this[_0x181f5a(0x187)],'from':_0x5f54ea,'to':_0x4a3386}};this['session'][_0x181f5a(0x15f)](_0x409381,this[_0x181f5a(0x1bf)]);}};}async[_0xeea7c7(0xc4)](_0x596d0b){var _0x4f7076=_0xeea7c7,_0x17baaa,_0x13fe0,_0x2775a1;const _0x4b4290=await((_0x17baaa=this[_0x4f7076(0x159)])==null?void 0x0:_0x17baaa[_0x4f7076(0x369)](this[_0x4f7076(0x1bf)])),_0x5be125=(_0x13fe0=_0x4b4290==null?void 0x0:_0x4b4290[_0x4f7076(0x121)])!=null?_0x13fe0:[],_0x3a5617=(_0x2775a1=_0x4b4290==null?void 0x0:_0x4b4290[_0x4f7076(0x290)])!=null?_0x2775a1:null,_0x5e1cec=!!(_0x3a5617!=null&&_0x3a5617[_0x4f7076(0x3a7)])&&!!(_0x3a5617!=null&&_0x3a5617['reqId']);this[_0x4f7076(0x17b)]=_0x5e1cec?_0x3a5617[_0x4f7076(0x3a7)]:di(),this[_0x4f7076(0x3e6)]=_0x5e1cec?_0x3a5617[_0x4f7076(0x2f6)]:0x0;const _0x2a5530=this[_0x4f7076(0x1bf)];try{this[_0x4f7076(0x219)](_0x3a5617,_0x5be125);}catch(_0x1309e5){this[_0x4f7076(0x21d)]['error'](_0x1309e5);}const _0xdc2895=this[_0x4f7076(0xa8)]();if(_0x596d0b){const _0x82723=Dt(this[_0x4f7076(0x17a)],_0x2a5530,this['_type'],_0x3a5617,_0x5be125,_0xdc2895);return _0x82723 instanceof exports['PendingState']?_0x82723['_schedule']():(_0x82723 instanceof exports[_0x4f7076(0x82)]||_0x82723 instanceof exports[_0x4f7076(0x147)])&&_0x82723[_0x4f7076(0x1f9)](),_0x82723;}return this[_0x4f7076(0x17a)][_0x4f7076(0x251)](exports[_0x4f7076(0x36d)],_0x2a5530,this['_type'],_0x3a5617,_0x5be125,_0xdc2895);}[_0xeea7c7(0x219)](_0x2e39a2,_0x1f11c6){var _0x9e2279=_0xeea7c7,_0x222839,_0x3c33e2;const _0xd5d203=this[_0x9e2279(0x2b1)][_0x9e2279(0x1ac)][_0x9e2279(0x337)](this[_0x9e2279(0x2b1)][_0x9e2279(0x1ac)][_0x9e2279(0x314)]()[_0x9e2279(0x86)]);(_0x222839=_0xd5d203((_0x2e39a2==null?void 0x0:_0x2e39a2[_0x9e2279(0x121)])||[],null))==null||_0x222839[_0x9e2279(0x34d)](_0x3a183b=>this[_0x9e2279(0x20f)][_0x9e2279(0x294)](_0x3a183b['id'],_0x3a183b[_0x9e2279(0x357)])),(_0x3c33e2=_0xd5d203(_0x1f11c6||[],null))==null||_0x3c33e2[_0x9e2279(0x34d)](_0x2d6fae=>this[_0x9e2279(0x20f)]['executeCommand'](_0x2d6fae['id'],_0x2d6fae['params']));}},exports[_0xeea7c7(0x257)]=We([$(0x3,a['Inject'](a[_0xeea7c7(0xf8)])),$(0x4,a['Inject'](g[_0xeea7c7(0x226)])),$(0x5,a['Inject'](a[_0xeea7c7(0xa0)])),$(0x6,a[_0xeea7c7(0xf1)](g['RevisionService'])),$(0x7,a['Inject'](te)),$(0x8,a[_0xeea7c7(0x16f)]),$(0x9,a[_0xeea7c7(0x3a3)]),$(0xa,a[_0xeea7c7(0x28b)]),$(0xb,a[_0xeea7c7(0x299)](ve)),$(0xc,a[_0xeea7c7(0x299)](z))],exports[_0xeea7c7(0x257)]),exports[_0xeea7c7(0x3b7)]=class extends exports[_0xeea7c7(0x257)]{constructor(_0x103ed7,_0x3e8549,_0x53fc00,_0x2ab9d6,_0x20c2c6,_0xe48213,_0x1fefd6,_0x536880,_0x54a0ec,_0x21f1a2,_0x5c794d,_0x56b9d2,_0x38bb10){var _0x209dec=_0xeea7c7;super(_0x103ed7,_0x53fc00,_0x3e8549,_0x2ab9d6,_0x20c2c6,_0xe48213,_0x1fefd6,_0x536880,_0x54a0ec,_0x21f1a2,_0x5c794d,_0x56b9d2,_0x38bb10),A(this,'_handlerCallback',null),(this['unitID']=_0x103ed7,this[_0x209dec(0x2d0)]=_0x3e8549);}[_0xeea7c7(0xbf)](_0xabe8fb){var _0x2075d5=_0xeea7c7;this[_0x2075d5(0xfb)]=_0xabe8fb;}[_0xeea7c7(0x203)](){var _0x95d78c=_0xeea7c7;this[_0x95d78c(0xfb)]=null,super[_0x95d78c(0x203)]();}[_0xeea7c7(0xa8)](){var _0x31f32e=_0xeea7c7;const _0x3c10e4=super[_0x31f32e(0xa8)]();return _0x3c10e4[_0x31f32e(0x2fe)]=_0x2e8d4b=>{var _0x48c6b9=_0x31f32e,_0x41ceb8,_0x22c0de;return(_0x22c0de=(_0x41ceb8=this[_0x48c6b9(0xfb)])==null?void 0x0:_0x41ceb8[_0x48c6b9(0x2fe)])==null?void 0x0:_0x22c0de['call'](_0x41ceb8,_0x2e8d4b);},_0x3c10e4['onTransformState']=_0x1498cf=>{var _0x14b2b6=_0x31f32e,_0x3a01d5,_0x10b77c;return(_0x10b77c=(_0x3a01d5=this['_handlerCallback'])==null?void 0x0:_0x3a01d5[_0x14b2b6(0x2d1)])==null?void 0x0:_0x10b77c[_0x14b2b6(0x2ca)](_0x3a01d5,_0x1498cf);},_0x3c10e4[_0x31f32e(0x363)]=_0x4899ed=>{var _0x56dea0=_0x31f32e,_0x5e3dd6,_0x51f1a3;return(_0x51f1a3=(_0x5e3dd6=this[_0x56dea0(0xfb)])==null?void 0x0:_0x5e3dd6['onTransformSelections'])==null?void 0x0:_0x51f1a3[_0x56dea0(0x2ca)](_0x5e3dd6,_0x4899ed);},_0x3c10e4[_0x31f32e(0x2a8)]=_0x442eba=>{var _0x52d70c=_0x31f32e,_0x1b111c,_0x35ae4f;return(_0x35ae4f=(_0x1b111c=this['_handlerCallback'])==null?void 0x0:_0x1b111c[_0x52d70c(0x2a8)])==null?void 0x0:_0x35ae4f[_0x52d70c(0x2ca)](_0x1b111c,_0x442eba);},_0x3c10e4[_0x31f32e(0xff)]=_0xab6df0=>{var _0x344127=_0x31f32e,_0x4345e6,_0x4dc51e,_0x10e700;if(!((_0x4345e6=this[_0x344127(0xfb)])!=null&&_0x4345e6[_0x344127(0xff)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x10e700=(_0x4dc51e=this[_0x344127(0xfb)])==null?void 0x0:_0x4dc51e[_0x344127(0xff)])==null?void 0x0:_0x10e700[_0x344127(0x2ca)](_0x4dc51e,_0xab6df0);},_0x3c10e4['onTransformRemoteChangesetByStateCache']=_0x16c992=>{var _0x1fea62=_0x31f32e,_0x51f15d,_0x47b22c,_0x16185f;if(!((_0x51f15d=this[_0x1fea62(0xfb)])!=null&&_0x51f15d['onTransformRemoteChangesetByStateCache']))throw new Error(_0x1fea62(0x351));return(_0x16185f=(_0x47b22c=this['_handlerCallback'])==null?void 0x0:_0x47b22c[_0x1fea62(0x188)])==null?void 0x0:_0x16185f[_0x1fea62(0x2ca)](_0x47b22c,_0x16c992);},_0x3c10e4;}async[_0xeea7c7(0x2b8)](){var _0x1cc2de=_0xeea7c7;const _0x32fee8=await super[_0x1cc2de(0x2b8)]();return this[_0x1cc2de(0x2db)](this[_0x1cc2de(0x20f)][_0x1cc2de(0x339)]((_0x502d73,_0x3f36e8)=>{var _0x5bc695=_0x1cc2de;if(_0x502d73['type']!==a[_0x5bc695(0x13b)][_0x5bc695(0x1bb)]||_0x3f36e8!=null&&_0x3f36e8[_0x5bc695(0x3a9)]||_0x3f36e8!=null&&_0x3f36e8[_0x5bc695(0x107)]||_0x502d73['id']===ut['RichTextEditingMutation']['id'])return;const _0x274a1c=_0x502d73[_0x5bc695(0x357)];if((_0x274a1c==null?void 0x0:_0x274a1c[_0x5bc695(0x25a)])!==this[_0x5bc695(0x1bf)])return;const _0x37d212=_0x502d73,_0x250726=this[_0x5bc695(0x2b1)][_0x5bc695(0x1ac)][_0x5bc695(0x337)](this[_0x5bc695(0x2b1)][_0x5bc695(0x1ac)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x37d212],null)||[_0x37d212];this[_0x5bc695(0x19b)](_0x250726[0x0]);})),_0x32fee8;}},exports[_0xeea7c7(0x3b7)]=We([$(0x3,a[_0xeea7c7(0xf1)](a[_0xeea7c7(0xf8)])),$(0x4,a['Inject'](g['CompressMutationService'])),$(0x5,a[_0xeea7c7(0xf1)](a['LocaleService'])),$(0x6,a[_0xeea7c7(0xf1)](g[_0xeea7c7(0x1ec)])),$(0x7,a['Inject'](te)),$(0x8,a[_0xeea7c7(0x16f)]),$(0x9,a[_0xeea7c7(0x3a3)]),$(0xa,a['IPermissionService']),$(0xb,a[_0xeea7c7(0x299)](ve)),$(0xc,a[_0xeea7c7(0x299)](z))],exports[_0xeea7c7(0x3b7)]),exports[_0xeea7c7(0xc8)]=class extends exports['CollaborationEntity']{constructor(_0x2cad57,_0x19ab58,_0x36a79c,_0x527668,_0x30f32f,_0xec7a33,_0x135079,_0x5c18e0,_0x32d0e9,_0x2fd86b,_0x44e977,_0x5b4efa,_0x3b9cf5,_0x53ee0e){var _0xeb1333=_0xeea7c7;super(_0x2cad57,_0x36a79c,_0x19ab58,_0x527668,_0x30f32f,_0xec7a33,_0x135079,_0x32d0e9,_0x2fd86b,_0x44e977,_0x5b4efa,_0x3b9cf5,_0x53ee0e),this[_0xeb1333(0x1bf)]=_0x2cad57,this['type']=_0x19ab58,this[_0xeb1333(0x225)]=_0x5c18e0;}[_0xeea7c7(0xa8)](){var _0x45496a=_0xeea7c7;const _0x18fc3c=super['_createHandler']();return _0x18fc3c['onTransformSelections']=_0x31f9c1=>this[_0x45496a(0x225)][_0x45496a(0x227)](_0x31f9c1),_0x18fc3c;}async['_init'](){var _0x17d105=_0xeea7c7;const _0x5b2988=await super[_0x17d105(0x2b8)]();return this[_0x17d105(0x2db)](this[_0x17d105(0x20f)]['onCommandExecuted']((_0x2bcb16,_0x13d482)=>{var _0x1b5986=_0x17d105;if(_0x2bcb16[_0x1b5986(0x2d0)]!==a[_0x1b5986(0x13b)]['MUTATION']||_0x13d482!=null&&_0x13d482[_0x1b5986(0x3a9)]||_0x13d482!=null&&_0x13d482['onlyLocal'])return;const _0x2bab3c=_0x2bcb16[_0x1b5986(0x357)];if((_0x2bab3c==null?void 0x0:_0x2bab3c[_0x1b5986(0x25a)])!==this[_0x1b5986(0x1bf)])return;const _0x583985=_0x2bcb16,_0x2ea604=this['_compressMutationService'][_0x1b5986(0x1ac)][_0x1b5986(0x337)](this['_compressMutationService'][_0x1b5986(0x1ac)][_0x1b5986(0x314)]()[_0x1b5986(0x17e)])([_0x583985],null)||[_0x583985];this['_onLocalMutation'](_0x2ea604[0x0]);})),_0x5b2988;}},exports['SheetCollaborationEntity']=We([$(0x3,a[_0xeea7c7(0xf1)](a[_0xeea7c7(0xf8)])),$(0x4,a[_0xeea7c7(0xf1)](g['CompressMutationService'])),$(0x5,a[_0xeea7c7(0xf1)](a[_0xeea7c7(0xa0)])),$(0x6,a['Inject'](g['RevisionService'])),$(0x7,a[_0xeea7c7(0xf1)](exports['SheetTransformSelectionsService'])),$(0x8,a[_0xeea7c7(0xf1)](te)),$(0x9,a[_0xeea7c7(0x16f)]),$(0xa,a[_0xeea7c7(0x3a3)]),$(0xb,a[_0xeea7c7(0x28b)]),$(0xc,a['Optional'](ve)),$(0xd,a['Optional'](z))],exports[_0xeea7c7(0xc8)]);var Ti=Object[_0xeea7c7(0x2a7)],bi=(_0x3c1fb8,_0x12684c,_0xb13e89,_0x370ccf)=>{var _0x372d47=_0xeea7c7;for(var _0x2510ce=_0x370ccf>0x1?void 0x0:_0x370ccf?Ti(_0x12684c,_0xb13e89):_0x12684c,_0x1e35db=_0x3c1fb8[_0x372d47(0x254)]-0x1,_0x22fcfe;_0x1e35db>=0x0;_0x1e35db--)(_0x22fcfe=_0x3c1fb8[_0x1e35db])&&(_0x2510ce=_0x22fcfe(_0x2510ce)||_0x2510ce);return _0x2510ce;},Pe=(_0x2a074b,_0x2e3a63)=>(_0x168899,_0x5fb821)=>_0x2e3a63(_0x168899,_0x5fb821,_0x2a074b);exports['CollaborationController']=class extends a[_0xeea7c7(0xd8)]{constructor(_0x5171a4,_0x1e7581,_0x4c62f){var _0x56cf22=_0xeea7c7;super(),A(this,_0x56cf22(0xab),new Map()),A(this,_0x56cf22(0x17f),new j[(_0x56cf22(0x26e))]()),A(this,'entityInit$',this['_entityInit$'][_0x56cf22(0x39b)]()),(this[_0x56cf22(0x17a)]=_0x5171a4,this[_0x56cf22(0x85)]=_0x1e7581,this['_univerInstanceService']=_0x4c62f,this[_0x56cf22(0x2b8)]());}['dispose'](){var _0x572110=_0xeea7c7;super[_0x572110(0x203)](),this[_0x572110(0xab)][_0x572110(0x34d)](_0x5ebd4f=>_0x5ebd4f['dispose']()),this[_0x572110(0xab)][_0x572110(0x3f5)]();}[_0xeea7c7(0x186)](_0xc13aa6){var _0x2f38c0=_0xeea7c7,_0xe7e4f3;return(_0xe7e4f3=this['_entities'][_0x2f38c0(0x328)](_0xc13aa6))!=null?_0xe7e4f3:null;}[_0xeea7c7(0x1b9)](_0x5c55ec){var _0x1a88a3=_0xeea7c7;const _0x1f29c8=this[_0x1a88a3(0x186)](_0x5c55ec);return _0x1f29c8?j['of'](_0x1f29c8):this[_0x1a88a3(0x17f)][_0x1a88a3(0x24c)](V[_0x1a88a3(0x247)](_0x5f22da=>_0x5f22da[_0x1a88a3(0x1bf)]===_0x5c55ec));}['readyForCollab'](_0x2e969a){var _0x284265=_0xeea7c7;return j[_0x284265(0x144)](this[_0x284265(0x1b9)](_0x2e969a)[_0x284265(0x24c)](V[_0x284265(0xad)](()=>{})));}[_0xeea7c7(0x2b8)](){var _0x3ba150=_0xeea7c7;this[_0x3ba150(0x327)][_0x3ba150(0x22b)](a[_0x3ba150(0xa9)][_0x3ba150(0x21f)])[_0x3ba150(0x24c)](j['takeUntil'](this[_0x3ba150(0x223)]),V[_0x3ba150(0x152)](0x10))[_0x3ba150(0xc7)](async _0x260f61=>{var _0x135684=_0x3ba150;const _0x278595=_0x260f61[_0x135684(0xf9)](),_0x4f1d00=await this[_0x135684(0x1eb)](_0x278595,X[_0x135684(0x21f)]);this[_0x135684(0xab)][_0x135684(0x183)](_0x278595,_0x4f1d00);}),this[_0x3ba150(0x327)][_0x3ba150(0x22b)](a[_0x3ba150(0xa9)][_0x3ba150(0xd1)])[_0x3ba150(0x24c)](j[_0x3ba150(0x370)](this[_0x3ba150(0x223)]),V[_0x3ba150(0x152)](0x10))['pipe'](V[_0x3ba150(0x247)](_0x54a2ad=>!_0x54a2ad[_0x3ba150(0xf9)]()[_0x3ba150(0x317)]('__')))['subscribe'](async _0x554e0a=>{var _0x385c19=_0x3ba150;const _0x24205b=_0x554e0a[_0x385c19(0xf9)](),_0x20595b=await this[_0x385c19(0x1eb)](_0x24205b,X['UNIVER_DOC']);this['_entities']['set'](_0x24205b,_0x20595b);}),j['merge'](this[_0x3ba150(0x327)][_0x3ba150(0x38d)](a[_0x3ba150(0xa9)]['UNIVER_SHEET']),this[_0x3ba150(0x327)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x3ba150(0xd1)]))[_0x3ba150(0x24c)](j[_0x3ba150(0x370)](this['dispose$']))[_0x3ba150(0xc7)](_0x8fc393=>{var _0x477cf9=_0x3ba150;const _0x3a5ac9=_0x8fc393[_0x477cf9(0xf9)](),_0x363231=this[_0x477cf9(0xab)][_0x477cf9(0x328)](_0x3a5ac9);_0x363231&&(_0x363231['dispose'](),this[_0x477cf9(0xab)][_0x477cf9(0x3ea)](_0x3a5ac9));});}async[_0xeea7c7(0x1eb)](_0x4a2619,_0x540893){var _0x49c54e=_0xeea7c7;const _0x49bb34=await this[_0x49c54e(0x85)][_0x49c54e(0x11b)](_0x4a2619),_0x5d17a8=this['_injector'][_0x49c54e(0x251)](this[_0x49c54e(0x24e)](_0x540893),_0x4a2619,_0x540893,_0x49bb34);return await _0x5d17a8[_0x49c54e(0xae)](),this['_entityInit$'][_0x49c54e(0xe3)](_0x5d17a8),_0x5d17a8;}['_getCtorByUniverType'](_0xc98f64){var _0x50da03=_0xeea7c7;switch(_0xc98f64){case X[_0x50da03(0xd1)]:return exports[_0x50da03(0x3b7)];case X['UNIVER_SHEET']:return exports[_0x50da03(0xc8)];default:throw new Error(_0x50da03(0x18c)+_0xc98f64);}}},exports['CollaborationController']=bi([Pe(0x0,a[_0xeea7c7(0xf1)](a['Injector'])),Pe(0x1,a['Inject'](exports[_0xeea7c7(0x3fc)])),Pe(0x2,a[_0xeea7c7(0x382)])],exports['CollaborationController']);var Ri=Object[_0xeea7c7(0x2a7)],Oi=(_0x153467,_0x5b0390,_0x54faeb,_0x5e8a24)=>{for(var _0x13d5e8=_0x5e8a24>0x1?void 0x0:_0x5e8a24?Ri(_0x5b0390,_0x54faeb):_0x5b0390,_0x37c557=_0x153467['length']-0x1,_0x35d01a;_0x37c557>=0x0;_0x37c557--)(_0x35d01a=_0x153467[_0x37c557])&&(_0x13d5e8=_0x35d01a(_0x13d5e8)||_0x13d5e8);return _0x13d5e8;},Je=(_0x5f1ce9,_0x5b1bc7)=>(_0x218829,_0x568c19)=>_0x5b1bc7(_0x218829,_0x568c19,_0x5f1ce9);const yi=_0xeea7c7(0x316),Ni=_0xeea7c7(0x1a3);let He=class extends a[_0xeea7c7(0xe5)]{constructor(_0x21b581,_0x256c7a){var _0x1b756a=_0xeea7c7;super(),this[_0x1b756a(0x327)]=_0x21b581,this[_0x1b756a(0x33e)]=_0x256c7a,this['_init']();}[_0xeea7c7(0x2b8)](){var _0x15c8bf=_0xeea7c7;this[_0x15c8bf(0x2db)](this[_0x15c8bf(0x327)][_0x15c8bf(0x3ed)][_0x15c8bf(0xc7)](()=>{var _0x50a018=_0x15c8bf,_0x1403f1;const _0x5ea11d=this[_0x50a018(0x327)]['getFocusedUnit']();let _0x1bd004=(_0x1403f1=this[_0x50a018(0x33e)][_0x50a018(0x39c)](yi))!=null?_0x1403f1:Ni;_0x5ea11d instanceof a[_0x50a018(0x264)]&&(_0x1bd004=_0x5ea11d[_0x50a018(0x161)]),document[_0x50a018(0x23a)]=_0x1bd004;}));}};He=Oi([Je(0x0,a[_0xeea7c7(0x382)]),Je(0x1,a['IConfigService'])],He);var Di=Object[_0xeea7c7(0x2a7)],Ui=(_0x5eabf1,_0x1cbaef,_0xad05da,_0x4410ae)=>{var _0x2f3628=_0xeea7c7;for(var _0x8b96b6=_0x4410ae>0x1?void 0x0:_0x4410ae?Di(_0x1cbaef,_0xad05da):_0x1cbaef,_0x473d17=_0x5eabf1[_0x2f3628(0x254)]-0x1,_0x306991;_0x473d17>=0x0;_0x473d17--)(_0x306991=_0x5eabf1[_0x473d17])&&(_0x8b96b6=_0x306991(_0x8b96b6)||_0x8b96b6);return _0x8b96b6;},we=(_0x279fb0,_0x13041a)=>(_0x234c87,_0x4fbc0c)=>_0x13041a(_0x234c87,_0x4fbc0c,_0x279fb0);let ye=class{constructor(_0x4d1a5f,_0xdf074d,_0x4d4559){var _0x3b22b8=_0xeea7c7;this[_0x3b22b8(0x33e)]=_0x4d1a5f,this[_0x3b22b8(0x1d3)]=_0xdf074d,this[_0x3b22b8(0x30b)]=_0x4d4559,this[_0x3b22b8(0xae)]();}[_0xeea7c7(0xae)](){var _0x29e39b=_0xeea7c7;this[_0x29e39b(0x1d3)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x1dc1b3,_0x3ee4ac)=>_0x3ee4ac(_0x1dc1b3)[_0x29e39b(0x24c)](j[_0x29e39b(0x1c9)](async _0x3feb25=>{var _0x271d97=_0x29e39b;const _0x3f2bb8=_0x3feb25;if(_0x3f2bb8[_0x271d97(0xd4)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x271d97(0xc5)](this[_0x271d97(0x30b)]['t'](_0x271d97(0xdd)))){const _0x2a87a6=window[_0x271d97(0x347)](window[_0x271d97(0x28e)][_0x271d97(0x18b)]);window[_0x271d97(0x28e)][_0x271d97(0x18b)]=this[_0x271d97(0x22f)]()+_0x271d97(0x21b)+_0x2a87a6;}}return _0x3f2bb8;}))});}[_0xeea7c7(0x22f)](){var _0x38fd12=_0xeea7c7,_0x3d6e57,_0x1d0a87;const _0xf91a53=this[_0x38fd12(0x33e)][_0x38fd12(0x39c)](Et),_0x2c9af3=this[_0x38fd12(0x33e)][_0x38fd12(0x39c)](Y);return(_0x1d0a87=(_0x3d6e57=_0x2c9af3==null?void 0x0:_0x2c9af3[_0x38fd12(0x26c)])!=null?_0x3d6e57:_0xf91a53)!=null?_0x1d0a87:Yt;}};ye=Ui([we(0x0,a[_0xeea7c7(0xca)]),we(0x1,a[_0xeea7c7(0xf1)](q[_0xeea7c7(0x114)])),we(0x2,a[_0xeea7c7(0xf1)](a[_0xeea7c7(0xa0)]))],ye);var Ai=Object[_0xeea7c7(0x2a7)],Pi=(_0x2d1fa2,_0x2d0c1e,_0x56cacd,_0x5b5b82)=>{var _0x31c08f=_0xeea7c7;for(var _0xfe9e0f=_0x5b5b82>0x1?void 0x0:_0x5b5b82?Ai(_0x2d0c1e,_0x56cacd):_0x2d0c1e,_0x563b91=_0x2d1fa2[_0x31c08f(0x254)]-0x1,_0x598f03;_0x563b91>=0x0;_0x563b91--)(_0x598f03=_0x2d1fa2[_0x563b91])&&(_0xfe9e0f=_0x598f03(_0xfe9e0f)||_0xfe9e0f);return _0xfe9e0f;},Xe=(_0x463ad6,_0x35f997)=>(_0x4731c4,_0x2564b8)=>_0x35f997(_0x4731c4,_0x2564b8,_0x463ad6);const Ge=_0xeea7c7(0x377),wi=_0xeea7c7(0x2d3);exports[_0xeea7c7(0x2f4)]=class extends a[_0xeea7c7(0xe5)]{constructor(_0x31ca7f,_0x27974f){var _0x40c42b=_0xeea7c7;super(),this[_0x40c42b(0x360)]=_0x31ca7f,this['_configService']=_0x27974f,this[_0x40c42b(0x1d1)]();}['_initMergeInterceptor'](){var _0x5b9f30=_0xeea7c7;const _0xf95726=this;this[_0x5b9f30(0x2db)](this[_0x5b9f30(0x360)][_0x5b9f30(0x1b8)]({'priority':0x3e7,'interceptor':q[_0x5b9f30(0x306)]({'isMatch'(_0x124f68){var _0x1cfd28=_0x5b9f30,_0x3e5ae0;if(_0x124f68[_0x1cfd28(0x193)]===_0x1cfd28(0x2da)&&((_0x3e5ae0=_0x124f68['requestParams'])!=null&&_0x3e5ae0[_0x1cfd28(0x2ad)])){const {objectID:_0x39f27,objectType:_0x18e614}=_0x124f68[_0x1cfd28(0x298)][_0x1cfd28(0x2ad)]||{};if(!_0x39f27||_0x18e614===void 0x0)return!0x1;const _0x29fc0f=_0xf95726[_0x1cfd28(0x8d)]()+'/'+_0x18e614+'/object/'+_0x39f27+_0x1cfd28(0x1dc);if(_0x124f68[_0x1cfd28(0x300)]===_0x29fc0f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3dc673){var _0xd23b97=_0x5b9f30,_0x4d9392;return(_0x4d9392=_0x3dc673[_0xd23b97(0x298)])==null?void 0x0:_0x4d9392['body'];},'mergeParamsToRequest'(_0x2a3c49,_0xc25f0f){var _0x55d8d9=_0x5b9f30;const _0x65dbd5=_0xf95726[_0x55d8d9(0x8d)]()+'/-/object/-/batch_allowed',_0x325a6d=_0x2a3c49[_0x55d8d9(0x280)]((_0x1c6ffa,_0x5ae27d)=>{var _0x3469e2=_0x55d8d9;const {unitID:_0x1f7c2d,objectID:_0x448b77,objectType:_0xa78002,actions:_0x1fa188}=_0x5ae27d;return _0x1c6ffa[_0x1f7c2d]||(_0x1c6ffa[_0x1f7c2d]={}),_0x1c6ffa[_0x1f7c2d][_0x448b77]||(_0x1c6ffa[_0x1f7c2d][_0x448b77]={'objectID':_0x448b77,'objectType':_0xa78002,'actions':[]}),_0x1c6ffa[_0x1f7c2d][_0x448b77][_0x3469e2(0xbb)][_0x3469e2(0x38e)](..._0x1fa188),_0x1c6ffa;},{}),_0x16b622=[];for(const _0x30f980 in _0x325a6d)for(const _0x4ff620 in _0x325a6d[_0x30f980]){const {actions:_0x47494a,objectType:_0x3aa96f}=_0x325a6d[_0x30f980][_0x4ff620],_0x485824=[...new Set(_0x47494a)];_0x16b622[_0x55d8d9(0x38e)]({'unitID':_0x30f980,'objectID':_0x4ff620,'objectType':_0x3aa96f,'actions':_0x485824});}return new q[(_0x55d8d9(0x3ca))](_0x55d8d9(0x2da),_0x65dbd5,{'headers':_0xc25f0f[_0x55d8d9(0x2c5)],'withCredentials':_0xc25f0f['withCredentials'],'responseType':_0xc25f0f[_0x55d8d9(0x16d)],'body':{'requests':_0x16b622}});}},{'distributeResult'(_0x3a4bc8,_0x302c19){const {objectActions:_0x4603e5}=_0x3a4bc8;return _0x302c19['map'](_0x5b3859=>{var _0x53807e=_0x37bc;const {unitID:_0x31f699,objectID:_0x1677a5,actions:_0x4d4fbc}=_0x5b3859,_0x492bea=_0x4603e5[_0x53807e(0x346)](_0x9a1ce8=>_0x9a1ce8[_0x53807e(0x1bf)]===_0x31f699&&_0x9a1ce8[_0x53807e(0x3ee)]===_0x1677a5),_0x1cb19d=_0x4d4fbc[_0x53807e(0xad)](_0xd401f2=>_0x492bea==null?void 0x0:_0x492bea[_0x53807e(0xbb)]['find'](_0x4e2987=>_0x4e2987[_0x53807e(0x388)]===_0xd401f2))[_0x53807e(0x247)](_0x8cd2ff=>!!_0x8cd2ff);return{'config':_0x5b3859,'result':{'actions':_0x1cb19d,'error':_0x3a4bc8['error']}};});}})}));}[_0xeea7c7(0x8d)](){var _0x5e8c97=_0xeea7c7,_0x5cf2ac,_0x3f6487;const _0x96b772=this['_configService'][_0x5e8c97(0x39c)](Ge),_0x2b80f6=this[_0x5e8c97(0x33e)][_0x5e8c97(0x39c)](Y);return(_0x3f6487=(_0x5cf2ac=_0x2b80f6==null?void 0x0:_0x2b80f6[_0x5e8c97(0x1e3)])!=null?_0x5cf2ac:_0x96b772)!=null?_0x3f6487:wi;}async[_0xeea7c7(0x89)](_0x21cbc9){var _0xa1e56a=_0xeea7c7;const _0x293ba2=this['_getAPIPrefixPath']()+'/'+_0x21cbc9['objectType']+_0xa1e56a(0x3fa);return(await this[_0xa1e56a(0x360)][_0xa1e56a(0x272)](_0x293ba2,{'body':_0x21cbc9}))[_0xa1e56a(0x2ad)]['objectID']||'';}async['list'](_0x3e30e6){var _0x3d6e85=_0xeea7c7;const _0x32495f=this[_0x3d6e85(0x8d)]()+_0x3d6e85(0x2d9);return(await this[_0x3d6e85(0x360)][_0x3d6e85(0x272)](_0x32495f,{'body':_0x3e30e6}))[_0x3d6e85(0x2ad)]['objects'];}async[_0xeea7c7(0x170)](_0x1923fa){var _0x4c6fe8=_0xeea7c7,_0x5425b5,_0xdd46fa;const _0x3115b2=this['_getAPIPrefixPath']()+'/'+_0x1923fa[_0x4c6fe8(0x383)]+_0x4c6fe8(0x177)+_0x1923fa['objectID'],_0x5e3c78=await this['_HTTPService'][_0x4c6fe8(0xbe)](_0x3115b2,{'body':_0x1923fa});if(((_0xdd46fa=(_0x5425b5=_0x5e3c78==null?void 0x0:_0x5e3c78[_0x4c6fe8(0x2ad)])==null?void 0x0:_0x5425b5[_0x4c6fe8(0x12a)])==null?void 0x0:_0xdd46fa[_0x4c6fe8(0x206)])!==0x1)throw new Error(_0x4c6fe8(0x166));}async[_0xeea7c7(0x1e8)](_0x452d74){var _0x2c5eac=_0xeea7c7;const _0x244b04=this['_getAPIPrefixPath']()+'/'+_0x452d74[_0x2c5eac(0x383)]+'/object/'+_0x452d74['objectID']+'/allowed';return(await this[_0x2c5eac(0x360)][_0x2c5eac(0x272)](_0x244b04,{'body':_0x452d74}))[_0x2c5eac(0x2ad)][_0x2c5eac(0xbb)];}async['batchAllowed'](_0x4a98bf){var _0x2a7344=_0xeea7c7;const _0x2a5202=this[_0x2a7344(0x8d)]()+_0x2a7344(0x309);return(await this[_0x2a7344(0x360)][_0x2a7344(0x272)](_0x2a5202,{'body':{'requests':_0x4a98bf}}))['body'][_0x2a7344(0x380)];}async[_0xeea7c7(0x275)](_0x18ca4f){var _0x5e8bd6=_0xeea7c7;const _0x1d3709=this['_getAPIPrefixPath']()+'/'+_0x18ca4f[_0x5e8bd6(0x383)]+_0x5e8bd6(0x390),_0x4f06b6=await this['_HTTPService'][_0x5e8bd6(0x272)](_0x1d3709,{'body':_0x18ca4f});return{'roles':_0x4f06b6[_0x5e8bd6(0x2ad)][_0x5e8bd6(0xdc)],'actions':_0x4f06b6[_0x5e8bd6(0x2ad)]['actions']};}async[_0xeea7c7(0x1b2)](_0x1824c7){var _0x1905cf=_0xeea7c7;const _0x3ea626=this[_0x1905cf(0x8d)]()+_0x1905cf(0x200);await this[_0x1905cf(0x360)][_0x1905cf(0x3ea)](_0x3ea626,{'params':{'collaboratorID':_0x1824c7[_0x1905cf(0x90)],'objectID':_0x1824c7['objectID'],'unitID':_0x1824c7[_0x1905cf(0x1bf)]}});}async[_0xeea7c7(0x28a)](_0x4a10a0){var _0x303118=_0xeea7c7;const _0x33c09d=this[_0x303118(0x8d)]()+_0x303118(0x200);await this[_0x303118(0x360)][_0x303118(0x2e0)](_0x33c09d,{'body':_0x4a10a0});}async['createCollaborator'](_0x31be21){var _0x1fbb15=_0xeea7c7;const _0x1121fc=this[_0x1fbb15(0x8d)]()+_0x1fbb15(0x200);await this[_0x1fbb15(0x360)][_0x1fbb15(0x272)](_0x1121fc,{'body':_0x31be21});}async[_0xeea7c7(0x218)](_0x40eea1){var _0x7d62bd=_0xeea7c7;const _0x4d3bb7=this[_0x7d62bd(0x8d)]()+_0x7d62bd(0x200);return(await this[_0x7d62bd(0x360)]['get'](_0x4d3bb7,{'params':{'objectID':_0x40eea1[_0x7d62bd(0x3ee)],'unitID':_0x40eea1[_0x7d62bd(0x1bf)]}}))['body']['collaborators'];}async['putCollaborators'](_0x3476f5){var _0x4b14a2=_0xeea7c7;const _0x35afbc=this[_0x4b14a2(0x8d)]()+_0x4b14a2(0x200);await this[_0x4b14a2(0x360)]['put'](_0x35afbc,{'body':_0x3476f5});}},exports[_0xeea7c7(0x2f4)]=Pi([Xe(0x0,a[_0xeea7c7(0xf1)](q[_0xeea7c7(0x114)])),Xe(0x1,a['Inject'](a[_0xeea7c7(0xca)]))],exports[_0xeea7c7(0x2f4)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x350b31){var _0x1fe8e7=_0xeea7c7;return _0x350b31&&_0x350b31['__esModule']&&Object[_0x1fe8e7(0x182)][_0x1fe8e7(0x174)][_0x1fe8e7(0x2ca)](_0x350b31,_0x1fe8e7(0x1a6))?_0x350b31[_0x1fe8e7(0x1a6)]:_0x350b31;}var fe={'exports':{}};function Li(_0x5c11a2){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x5c11a2+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},Mi=pe[_0xeea7c7(0x16b)],Ze;function ee(){var _0x23d803=_0xeea7c7;return Ze||(Ze=0x1,function(_0x21227c,_0x418bb6){(function(_0x2c879a,_0xeb62d5){var _0x157fcb=_0x37bc;_0x21227c[_0x157fcb(0x16b)]=_0xeb62d5();}(Mi,function(){var _0x1131ef=_0x1131ef||function(_0x2f2bdf,_0x51bac8){var _0x173998=_0x37bc,_0x5c5743;if(typeof window<'u'&&window[_0x173998(0x25d)]&&(_0x5c5743=window[_0x173998(0x25d)]),typeof self<'u'&&self[_0x173998(0x25d)]&&(_0x5c5743=self['crypto']),typeof globalThis<'u'&&globalThis[_0x173998(0x25d)]&&(_0x5c5743=globalThis[_0x173998(0x25d)]),!_0x5c5743&&typeof window<'u'&&window[_0x173998(0x117)]&&(_0x5c5743=window['msCrypto']),!_0x5c5743&&typeof Le<'u'&&Le[_0x173998(0x25d)]&&(_0x5c5743=Le['crypto']),!_0x5c5743&&typeof Li==_0x173998(0x3c7))try{_0x5c5743=require(_0x173998(0x25d));}catch{}var _0x4a9d6b=function(){var _0x51c586=_0x173998;if(_0x5c5743){if(typeof _0x5c5743['getRandomValues']==_0x51c586(0x3c7))try{return _0x5c5743[_0x51c586(0x1be)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5c5743['randomBytes']==_0x51c586(0x3c7))try{return _0x5c5743[_0x51c586(0x1a4)](0x4)[_0x51c586(0x31d)]();}catch{}}throw new Error(_0x51c586(0x3f7));},_0xc688b0=Object[_0x173998(0x89)]||(function(){function _0x1f1247(){}return function(_0x31913f){var _0x36ef20=_0x37bc,_0x23c6be;return _0x1f1247[_0x36ef20(0x182)]=_0x31913f,_0x23c6be=new _0x1f1247(),_0x1f1247[_0x36ef20(0x182)]=null,_0x23c6be;};}()),_0x5a6e95={},_0x239ad7=_0x5a6e95['lib']={},_0x4036d8=_0x239ad7[_0x173998(0x1ea)]=(function(){return{'extend':function(_0x435d9f){var _0x41702c=_0x37bc,_0x54b0f5=_0xc688b0(this);return _0x435d9f&&_0x54b0f5[_0x41702c(0x1c6)](_0x435d9f),(!_0x54b0f5[_0x41702c(0x174)](_0x41702c(0xae))||this[_0x41702c(0xae)]===_0x54b0f5['init'])&&(_0x54b0f5['init']=function(){var _0x4b14f7=_0x41702c;_0x54b0f5[_0x4b14f7(0x1c3)][_0x4b14f7(0xae)]['apply'](this,arguments);}),_0x54b0f5['init']['prototype']=_0x54b0f5,_0x54b0f5[_0x41702c(0x1c3)]=this,_0x54b0f5;},'create':function(){var _0x5db3cc=_0x37bc,_0x35d92a=this[_0x5db3cc(0x197)]();return _0x35d92a[_0x5db3cc(0xae)]['apply'](_0x35d92a,arguments),_0x35d92a;},'init':function(){},'mixIn':function(_0x1ce615){var _0x4a665f=_0x37bc;for(var _0x3ae2b8 in _0x1ce615)_0x1ce615[_0x4a665f(0x174)](_0x3ae2b8)&&(this[_0x3ae2b8]=_0x1ce615[_0x3ae2b8]);_0x1ce615['hasOwnProperty'](_0x4a665f(0x2e7))&&(this[_0x4a665f(0x2e7)]=_0x1ce615[_0x4a665f(0x2e7)]);},'clone':function(){var _0x25d29c=_0x37bc;return this[_0x25d29c(0xae)][_0x25d29c(0x182)][_0x25d29c(0x197)](this);}};}()),_0x1df8c3=_0x239ad7[_0x173998(0xba)]=_0x4036d8[_0x173998(0x197)]({'init':function(_0x397f8f,_0x423ffa){var _0x252ede=_0x173998;_0x397f8f=this[_0x252ede(0x141)]=_0x397f8f||[],_0x423ffa!=_0x51bac8?this['sigBytes']=_0x423ffa:this[_0x252ede(0x106)]=_0x397f8f['length']*0x4;},'toString':function(_0x4bb049){var _0x468ec9=_0x173998;return(_0x4bb049||_0x3b7cdd)[_0x468ec9(0x2b3)](this);},'concat':function(_0x2866fb){var _0x2bca80=_0x173998,_0x58c2b0=this[_0x2bca80(0x141)],_0x36d7e9=_0x2866fb[_0x2bca80(0x141)],_0x29dfce=this['sigBytes'],_0x3657cb=_0x2866fb[_0x2bca80(0x106)];if(this[_0x2bca80(0x385)](),_0x29dfce%0x4)for(var _0x34842e=0x0;_0x34842e<_0x3657cb;_0x34842e++){var _0x5ef2b8=_0x36d7e9[_0x34842e>>>0x2]>>>0x18-_0x34842e%0x4*0x8&0xff;_0x58c2b0[_0x29dfce+_0x34842e>>>0x2]|=_0x5ef2b8<<0x18-(_0x29dfce+_0x34842e)%0x4*0x8;}else{for(var _0x7ac78c=0x0;_0x7ac78c<_0x3657cb;_0x7ac78c+=0x4)_0x58c2b0[_0x29dfce+_0x7ac78c>>>0x2]=_0x36d7e9[_0x7ac78c>>>0x2];}return this[_0x2bca80(0x106)]+=_0x3657cb,this;},'clamp':function(){var _0x1d91a9=_0x173998,_0xfe0708=this['words'],_0x4c053f=this['sigBytes'];_0xfe0708[_0x4c053f>>>0x2]&=0xffffffff<<0x20-_0x4c053f%0x4*0x8,_0xfe0708[_0x1d91a9(0x254)]=_0x2f2bdf[_0x1d91a9(0x24d)](_0x4c053f/0x4);},'clone':function(){var _0xa1baec=_0x173998,_0xed4841=_0x4036d8[_0xa1baec(0x96)][_0xa1baec(0x2ca)](this);return _0xed4841['words']=this['words']['slice'](0x0),_0xed4841;},'random':function(_0x5c3d85){var _0x43c44f=_0x173998;for(var _0x3377bc=[],_0x4ca167=0x0;_0x4ca167<_0x5c3d85;_0x4ca167+=0x4)_0x3377bc['push'](_0x4a9d6b());return new _0x1df8c3[(_0x43c44f(0xae))](_0x3377bc,_0x5c3d85);}}),_0x1dc327=_0x5a6e95[_0x173998(0x12e)]={},_0x3b7cdd=_0x1dc327[_0x173998(0x122)]={'stringify':function(_0x1e6348){var _0x4775f6=_0x173998;for(var _0x35f0d9=_0x1e6348[_0x4775f6(0x141)],_0x561680=_0x1e6348['sigBytes'],_0x243def=[],_0x49882c=0x0;_0x49882c<_0x561680;_0x49882c++){var _0x31fcec=_0x35f0d9[_0x49882c>>>0x2]>>>0x18-_0x49882c%0x4*0x8&0xff;_0x243def['push']((_0x31fcec>>>0x4)[_0x4775f6(0x2e7)](0x10)),_0x243def[_0x4775f6(0x38e)]((_0x31fcec&0xf)[_0x4775f6(0x2e7)](0x10));}return _0x243def['join']('');},'parse':function(_0x380d92){var _0x341f18=_0x173998;for(var _0x13babc=_0x380d92[_0x341f18(0x254)],_0x3ec94f=[],_0x371957=0x0;_0x371957<_0x13babc;_0x371957+=0x2)_0x3ec94f[_0x371957>>>0x3]|=parseInt(_0x380d92[_0x341f18(0x1a9)](_0x371957,0x2),0x10)<<0x18-_0x371957%0x8*0x4;return new _0x1df8c3[(_0x341f18(0xae))](_0x3ec94f,_0x13babc/0x2);}},_0x49bd34=_0x1dc327['Latin1']={'stringify':function(_0x544e58){var _0x2f8135=_0x173998;for(var _0x478a8f=_0x544e58['words'],_0x2a6701=_0x544e58['sigBytes'],_0x3437bb=[],_0x157046=0x0;_0x157046<_0x2a6701;_0x157046++){var _0x27bf7a=_0x478a8f[_0x157046>>>0x2]>>>0x18-_0x157046%0x4*0x8&0xff;_0x3437bb[_0x2f8135(0x38e)](String['fromCharCode'](_0x27bf7a));}return _0x3437bb[_0x2f8135(0x3ce)]('');},'parse':function(_0x15ace0){var _0x61d402=_0x173998;for(var _0x8412a6=_0x15ace0[_0x61d402(0x254)],_0x33b692=[],_0x2e1062=0x0;_0x2e1062<_0x8412a6;_0x2e1062++)_0x33b692[_0x2e1062>>>0x2]|=(_0x15ace0[_0x61d402(0xed)](_0x2e1062)&0xff)<<0x18-_0x2e1062%0x4*0x8;return new _0x1df8c3[(_0x61d402(0xae))](_0x33b692,_0x8412a6);}},_0x436ba4=_0x1dc327[_0x173998(0x14c)]={'stringify':function(_0x3b9861){try{return decodeURIComponent(escape(_0x49bd34['stringify'](_0x3b9861)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x1d58eb){var _0x266e7e=_0x173998;return _0x49bd34[_0x266e7e(0x2a3)](unescape(encodeURIComponent(_0x1d58eb)));}},_0x4db50e=_0x239ad7[_0x173998(0x20b)]=_0x4036d8[_0x173998(0x197)]({'reset':function(){var _0x43ca2d=_0x173998;this[_0x43ca2d(0xf4)]=new _0x1df8c3[(_0x43ca2d(0xae))](),this[_0x43ca2d(0xe6)]=0x0;},'_append':function(_0x244a6b){var _0x17c010=_0x173998;typeof _0x244a6b==_0x17c010(0x1c7)&&(_0x244a6b=_0x436ba4[_0x17c010(0x2a3)](_0x244a6b)),this[_0x17c010(0xf4)][_0x17c010(0x270)](_0x244a6b),this[_0x17c010(0xe6)]+=_0x244a6b[_0x17c010(0x106)];},'_process':function(_0x22286a){var _0x475806=_0x173998,_0xca95ee,_0xd64b03=this['_data'],_0x21464a=_0xd64b03[_0x475806(0x141)],_0x21a9bc=_0xd64b03['sigBytes'],_0x5da578=this['blockSize'],_0x1b5928=_0x5da578*0x4,_0x4c8361=_0x21a9bc/_0x1b5928;_0x22286a?_0x4c8361=_0x2f2bdf[_0x475806(0x24d)](_0x4c8361):_0x4c8361=_0x2f2bdf['max']((_0x4c8361|0x0)-this[_0x475806(0x362)],0x0);var _0x43eaea=_0x4c8361*_0x5da578,_0x231989=_0x2f2bdf[_0x475806(0x2c2)](_0x43eaea*0x4,_0x21a9bc);if(_0x43eaea){for(var _0x1ad70f=0x0;_0x1ad70f<_0x43eaea;_0x1ad70f+=_0x5da578)this[_0x475806(0x23d)](_0x21464a,_0x1ad70f);_0xca95ee=_0x21464a[_0x475806(0x311)](0x0,_0x43eaea),_0xd64b03[_0x475806(0x106)]-=_0x231989;}return new _0x1df8c3[(_0x475806(0xae))](_0xca95ee,_0x231989);},'clone':function(){var _0x460146=_0x173998,_0x2810f2=_0x4036d8[_0x460146(0x96)][_0x460146(0x2ca)](this);return _0x2810f2['_data']=this[_0x460146(0xf4)][_0x460146(0x96)](),_0x2810f2;},'_minBufferSize':0x0});_0x239ad7['Hasher']=_0x4db50e['extend']({'cfg':_0x4036d8[_0x173998(0x197)](),'init':function(_0x3eef0c){var _0x57f79a=_0x173998;this[_0x57f79a(0x2e5)]=this['cfg'][_0x57f79a(0x197)](_0x3eef0c),this[_0x57f79a(0x10a)]();},'reset':function(){var _0xd8970=_0x173998;_0x4db50e[_0xd8970(0x10a)]['call'](this),this[_0xd8970(0x110)]();},'update':function(_0x2f9ec1){var _0x311a21=_0x173998;return this[_0x311a21(0x21a)](_0x2f9ec1),this[_0x311a21(0xb3)](),this;},'finalize':function(_0x3cca4b){var _0x53d91e=_0x173998;_0x3cca4b&&this[_0x53d91e(0x21a)](_0x3cca4b);var _0x27655a=this[_0x53d91e(0x245)]();return _0x27655a;},'blockSize':0x10,'_createHelper':function(_0x52f6f1){return function(_0x56bf79,_0x28d2e5){var _0x39bd0e=_0x37bc;return new _0x52f6f1[(_0x39bd0e(0xae))](_0x28d2e5)[_0x39bd0e(0x104)](_0x56bf79);};},'_createHmacHelper':function(_0x2f0a61){return function(_0x18e9aa,_0x408002){var _0x5ae9a9=_0x37bc;return new _0x30087c[(_0x5ae9a9(0x297))][(_0x5ae9a9(0xae))](_0x2f0a61,_0x408002)[_0x5ae9a9(0x104)](_0x18e9aa);};}});var _0x30087c=_0x5a6e95[_0x173998(0xaa)]={};return _0x5a6e95;}(Math);return _0x1131ef;}));}(pe)),pe[_0x23d803(0x16b)];}var ge={'exports':{}},xi=ge[_0xeea7c7(0x16b)],Qe;function Ut(){var _0x31fd2a=_0xeea7c7;return Qe||(Qe=0x1,function(_0x529e70,_0x1ab2cb){(function(_0x5c355f,_0x7a7b78){_0x529e70['exports']=_0x7a7b78(ee());}(xi,function(_0x540e09){var _0x38b5a6=_0x37bc;return(function(){var _0x178f95=_0x37bc,_0x469c49=_0x540e09,_0x27f478=_0x469c49[_0x178f95(0x3c0)],_0xdad7e7=_0x27f478[_0x178f95(0xba)],_0x1e3d8b=_0x469c49[_0x178f95(0x12e)];_0x1e3d8b[_0x178f95(0x138)]={'stringify':function(_0x3fb0a3){var _0x42ffb5=_0x178f95,_0x3b07cf=_0x3fb0a3[_0x42ffb5(0x141)],_0x1418c1=_0x3fb0a3['sigBytes'],_0x202faf=this[_0x42ffb5(0xf5)];_0x3fb0a3[_0x42ffb5(0x385)]();for(var _0x4f60dc=[],_0x3d3b0a=0x0;_0x3d3b0a<_0x1418c1;_0x3d3b0a+=0x3)for(var _0x1263be=_0x3b07cf[_0x3d3b0a>>>0x2]>>>0x18-_0x3d3b0a%0x4*0x8&0xff,_0x3669e4=_0x3b07cf[_0x3d3b0a+0x1>>>0x2]>>>0x18-(_0x3d3b0a+0x1)%0x4*0x8&0xff,_0x49cf2a=_0x3b07cf[_0x3d3b0a+0x2>>>0x2]>>>0x18-(_0x3d3b0a+0x2)%0x4*0x8&0xff,_0x16579c=_0x1263be<<0x10|_0x3669e4<<0x8|_0x49cf2a,_0xbe0adc=0x0;_0xbe0adc<0x4&&_0x3d3b0a+_0xbe0adc*0.75<_0x1418c1;_0xbe0adc++)_0x4f60dc[_0x42ffb5(0x38e)](_0x202faf[_0x42ffb5(0x146)](_0x16579c>>>0x6*(0x3-_0xbe0adc)&0x3f));var _0x1d4711=_0x202faf[_0x42ffb5(0x146)](0x40);if(_0x1d4711){for(;_0x4f60dc['length']%0x4;)_0x4f60dc[_0x42ffb5(0x38e)](_0x1d4711);}return _0x4f60dc['join']('');},'parse':function(_0x238d30){var _0xf81a40=_0x178f95,_0x26baff=_0x238d30[_0xf81a40(0x254)],_0x2a8c18=this[_0xf81a40(0xf5)],_0x241ced=this[_0xf81a40(0x26f)];if(!_0x241ced){_0x241ced=this[_0xf81a40(0x26f)]=[];for(var _0x409134=0x0;_0x409134<_0x2a8c18[_0xf81a40(0x254)];_0x409134++)_0x241ced[_0x2a8c18[_0xf81a40(0xed)](_0x409134)]=_0x409134;}var _0x15b856=_0x2a8c18['charAt'](0x40);if(_0x15b856){var _0xe208c2=_0x238d30[_0xf81a40(0x378)](_0x15b856);_0xe208c2!==-0x1&&(_0x26baff=_0xe208c2);}return _0x3c3ec1(_0x238d30,_0x26baff,_0x241ced);},'_map':_0x178f95(0x2fa)};function _0x3c3ec1(_0x4b62f4,_0x15d564,_0x21a841){var _0x598058=_0x178f95;for(var _0x30eb8a=[],_0x9fcc61=0x0,_0x12096f=0x0;_0x12096f<_0x15d564;_0x12096f++)if(_0x12096f%0x4){var _0x206b1c=_0x21a841[_0x4b62f4[_0x598058(0xed)](_0x12096f-0x1)]<<_0x12096f%0x4*0x2,_0x530fdf=_0x21a841[_0x4b62f4[_0x598058(0xed)](_0x12096f)]>>>0x6-_0x12096f%0x4*0x2,_0x44821a=_0x206b1c|_0x530fdf;_0x30eb8a[_0x9fcc61>>>0x2]|=_0x44821a<<0x18-_0x9fcc61%0x4*0x8,_0x9fcc61++;}return _0xdad7e7[_0x598058(0x89)](_0x30eb8a,_0x9fcc61);}}()),_0x540e09[_0x38b5a6(0x12e)][_0x38b5a6(0x138)];}));}(ge)),ge[_0x31fd2a(0x16b)];}var Ie={'exports':{}},ki=Ie[_0xeea7c7(0x16b)],et;function Hi(){return et||(et=0x1,function(_0x16b0e2,_0x101258){(function(_0x2ef7e5,_0x438c23){var _0x4d7299=_0x37bc;_0x16b0e2[_0x4d7299(0x16b)]=_0x438c23(ee());}(ki,function(_0x41264b){var _0x55a619=_0x37bc;return function(_0x4ca59e){var _0x10745e=_0x37bc,_0x575f5d=_0x41264b,_0x50f838=_0x575f5d[_0x10745e(0x3c0)],_0x3c23ca=_0x50f838['WordArray'],_0xe61ff2=_0x50f838[_0x10745e(0x37d)],_0x1065db=_0x575f5d[_0x10745e(0xaa)],_0x398596=[];(function(){for(var _0x2c4904=0x0;_0x2c4904<0x40;_0x2c4904++)_0x398596[_0x2c4904]=_0x4ca59e['abs'](_0x4ca59e['sin'](_0x2c4904+0x1))*0x100000000|0x0;}());var _0x49d974=_0x1065db[_0x10745e(0x16c)]=_0xe61ff2[_0x10745e(0x197)]({'_doReset':function(){var _0x291bac=_0x10745e;this[_0x291bac(0x2b9)]=new _0x3c23ca[(_0x291bac(0xae))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x257609,_0x51c945){var _0x3e3238=_0x10745e;for(var _0xdbf4cb=0x0;_0xdbf4cb<0x10;_0xdbf4cb++){var _0x3ce679=_0x51c945+_0xdbf4cb,_0x18e916=_0x257609[_0x3ce679];_0x257609[_0x3ce679]=(_0x18e916<<0x8|_0x18e916>>>0x18)&0xff00ff|(_0x18e916<<0x18|_0x18e916>>>0x8)&0xff00ff00;}var _0x104e95=this['_hash'][_0x3e3238(0x141)],_0x50c1f6=_0x257609[_0x51c945+0x0],_0x42930a=_0x257609[_0x51c945+0x1],_0x245584=_0x257609[_0x51c945+0x2],_0x14999c=_0x257609[_0x51c945+0x3],_0x46dc14=_0x257609[_0x51c945+0x4],_0x55bd60=_0x257609[_0x51c945+0x5],_0x1c2795=_0x257609[_0x51c945+0x6],_0xdf8f3f=_0x257609[_0x51c945+0x7],_0x13a03d=_0x257609[_0x51c945+0x8],_0x21f3f6=_0x257609[_0x51c945+0x9],_0x328288=_0x257609[_0x51c945+0xa],_0x1e2451=_0x257609[_0x51c945+0xb],_0x486ca1=_0x257609[_0x51c945+0xc],_0x29c3b5=_0x257609[_0x51c945+0xd],_0x5225a9=_0x257609[_0x51c945+0xe],_0x2c2fc5=_0x257609[_0x51c945+0xf],_0x1d4c1c=_0x104e95[0x0],_0x1a4976=_0x104e95[0x1],_0x37cbbe=_0x104e95[0x2],_0x1f9fc6=_0x104e95[0x3];_0x1d4c1c=_0x567efc(_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x50c1f6,0x7,_0x398596[0x0]),_0x1f9fc6=_0x567efc(_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x42930a,0xc,_0x398596[0x1]),_0x37cbbe=_0x567efc(_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x245584,0x11,_0x398596[0x2]),_0x1a4976=_0x567efc(_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x14999c,0x16,_0x398596[0x3]),_0x1d4c1c=_0x567efc(_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x46dc14,0x7,_0x398596[0x4]),_0x1f9fc6=_0x567efc(_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x55bd60,0xc,_0x398596[0x5]),_0x37cbbe=_0x567efc(_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x1c2795,0x11,_0x398596[0x6]),_0x1a4976=_0x567efc(_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0xdf8f3f,0x16,_0x398596[0x7]),_0x1d4c1c=_0x567efc(_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x13a03d,0x7,_0x398596[0x8]),_0x1f9fc6=_0x567efc(_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x21f3f6,0xc,_0x398596[0x9]),_0x37cbbe=_0x567efc(_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x328288,0x11,_0x398596[0xa]),_0x1a4976=_0x567efc(_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1e2451,0x16,_0x398596[0xb]),_0x1d4c1c=_0x567efc(_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x486ca1,0x7,_0x398596[0xc]),_0x1f9fc6=_0x567efc(_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x29c3b5,0xc,_0x398596[0xd]),_0x37cbbe=_0x567efc(_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x5225a9,0x11,_0x398596[0xe]),_0x1a4976=_0x567efc(_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x2c2fc5,0x16,_0x398596[0xf]),_0x1d4c1c=_0x221129(_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x42930a,0x5,_0x398596[0x10]),_0x1f9fc6=_0x221129(_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1c2795,0x9,_0x398596[0x11]),_0x37cbbe=_0x221129(_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x1e2451,0xe,_0x398596[0x12]),_0x1a4976=_0x221129(_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x50c1f6,0x14,_0x398596[0x13]),_0x1d4c1c=_0x221129(_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x55bd60,0x5,_0x398596[0x14]),_0x1f9fc6=_0x221129(_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x328288,0x9,_0x398596[0x15]),_0x37cbbe=_0x221129(_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x2c2fc5,0xe,_0x398596[0x16]),_0x1a4976=_0x221129(_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x46dc14,0x14,_0x398596[0x17]),_0x1d4c1c=_0x221129(_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x21f3f6,0x5,_0x398596[0x18]),_0x1f9fc6=_0x221129(_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x5225a9,0x9,_0x398596[0x19]),_0x37cbbe=_0x221129(_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x14999c,0xe,_0x398596[0x1a]),_0x1a4976=_0x221129(_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x13a03d,0x14,_0x398596[0x1b]),_0x1d4c1c=_0x221129(_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x29c3b5,0x5,_0x398596[0x1c]),_0x1f9fc6=_0x221129(_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x245584,0x9,_0x398596[0x1d]),_0x37cbbe=_0x221129(_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0xdf8f3f,0xe,_0x398596[0x1e]),_0x1a4976=_0x221129(_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x486ca1,0x14,_0x398596[0x1f]),_0x1d4c1c=_0x3f30f2(_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x55bd60,0x4,_0x398596[0x20]),_0x1f9fc6=_0x3f30f2(_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x13a03d,0xb,_0x398596[0x21]),_0x37cbbe=_0x3f30f2(_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x1e2451,0x10,_0x398596[0x22]),_0x1a4976=_0x3f30f2(_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x5225a9,0x17,_0x398596[0x23]),_0x1d4c1c=_0x3f30f2(_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x42930a,0x4,_0x398596[0x24]),_0x1f9fc6=_0x3f30f2(_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x46dc14,0xb,_0x398596[0x25]),_0x37cbbe=_0x3f30f2(_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0xdf8f3f,0x10,_0x398596[0x26]),_0x1a4976=_0x3f30f2(_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x328288,0x17,_0x398596[0x27]),_0x1d4c1c=_0x3f30f2(_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x29c3b5,0x4,_0x398596[0x28]),_0x1f9fc6=_0x3f30f2(_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x50c1f6,0xb,_0x398596[0x29]),_0x37cbbe=_0x3f30f2(_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x14999c,0x10,_0x398596[0x2a]),_0x1a4976=_0x3f30f2(_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1c2795,0x17,_0x398596[0x2b]),_0x1d4c1c=_0x3f30f2(_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x21f3f6,0x4,_0x398596[0x2c]),_0x1f9fc6=_0x3f30f2(_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x486ca1,0xb,_0x398596[0x2d]),_0x37cbbe=_0x3f30f2(_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x2c2fc5,0x10,_0x398596[0x2e]),_0x1a4976=_0x3f30f2(_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x245584,0x17,_0x398596[0x2f]),_0x1d4c1c=_0xc67d77(_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x50c1f6,0x6,_0x398596[0x30]),_0x1f9fc6=_0xc67d77(_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x37cbbe,_0xdf8f3f,0xa,_0x398596[0x31]),_0x37cbbe=_0xc67d77(_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x5225a9,0xf,_0x398596[0x32]),_0x1a4976=_0xc67d77(_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x55bd60,0x15,_0x398596[0x33]),_0x1d4c1c=_0xc67d77(_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x486ca1,0x6,_0x398596[0x34]),_0x1f9fc6=_0xc67d77(_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x14999c,0xa,_0x398596[0x35]),_0x37cbbe=_0xc67d77(_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x328288,0xf,_0x398596[0x36]),_0x1a4976=_0xc67d77(_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x42930a,0x15,_0x398596[0x37]),_0x1d4c1c=_0xc67d77(_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x13a03d,0x6,_0x398596[0x38]),_0x1f9fc6=_0xc67d77(_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x2c2fc5,0xa,_0x398596[0x39]),_0x37cbbe=_0xc67d77(_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x1c2795,0xf,_0x398596[0x3a]),_0x1a4976=_0xc67d77(_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x29c3b5,0x15,_0x398596[0x3b]),_0x1d4c1c=_0xc67d77(_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x46dc14,0x6,_0x398596[0x3c]),_0x1f9fc6=_0xc67d77(_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x37cbbe,_0x1e2451,0xa,_0x398596[0x3d]),_0x37cbbe=_0xc67d77(_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x1a4976,_0x245584,0xf,_0x398596[0x3e]),_0x1a4976=_0xc67d77(_0x1a4976,_0x37cbbe,_0x1f9fc6,_0x1d4c1c,_0x21f3f6,0x15,_0x398596[0x3f]),_0x104e95[0x0]=_0x104e95[0x0]+_0x1d4c1c|0x0,_0x104e95[0x1]=_0x104e95[0x1]+_0x1a4976|0x0,_0x104e95[0x2]=_0x104e95[0x2]+_0x37cbbe|0x0,_0x104e95[0x3]=_0x104e95[0x3]+_0x1f9fc6|0x0;},'_doFinalize':function(){var _0x36dc90=_0x10745e,_0x3c69bd=this[_0x36dc90(0xf4)],_0x66ebbf=_0x3c69bd[_0x36dc90(0x141)],_0xed728b=this[_0x36dc90(0xe6)]*0x8,_0x19ea73=_0x3c69bd[_0x36dc90(0x106)]*0x8;_0x66ebbf[_0x19ea73>>>0x5]|=0x80<<0x18-_0x19ea73%0x20;var _0x203234=_0x4ca59e['floor'](_0xed728b/0x100000000),_0x45382c=_0xed728b;_0x66ebbf[(_0x19ea73+0x40>>>0x9<<0x4)+0xf]=(_0x203234<<0x8|_0x203234>>>0x18)&0xff00ff|(_0x203234<<0x18|_0x203234>>>0x8)&0xff00ff00,_0x66ebbf[(_0x19ea73+0x40>>>0x9<<0x4)+0xe]=(_0x45382c<<0x8|_0x45382c>>>0x18)&0xff00ff|(_0x45382c<<0x18|_0x45382c>>>0x8)&0xff00ff00,_0x3c69bd[_0x36dc90(0x106)]=(_0x66ebbf[_0x36dc90(0x254)]+0x1)*0x4,this[_0x36dc90(0xb3)]();for(var _0xb8cc73=this['_hash'],_0x1dd4e2=_0xb8cc73[_0x36dc90(0x141)],_0x2b8681=0x0;_0x2b8681<0x4;_0x2b8681++){var _0x258518=_0x1dd4e2[_0x2b8681];_0x1dd4e2[_0x2b8681]=(_0x258518<<0x8|_0x258518>>>0x18)&0xff00ff|(_0x258518<<0x18|_0x258518>>>0x8)&0xff00ff00;}return _0xb8cc73;},'clone':function(){var _0x146b4c=_0x10745e,_0x18b68b=_0xe61ff2[_0x146b4c(0x96)][_0x146b4c(0x2ca)](this);return _0x18b68b[_0x146b4c(0x2b9)]=this[_0x146b4c(0x2b9)]['clone'](),_0x18b68b;}});function _0x567efc(_0x3c393f,_0x435789,_0x362366,_0x12da16,_0x57d9e4,_0xf570ef,_0x38640f){var _0x51218a=_0x3c393f+(_0x435789&_0x362366|~_0x435789&_0x12da16)+_0x57d9e4+_0x38640f;return(_0x51218a<<_0xf570ef|_0x51218a>>>0x20-_0xf570ef)+_0x435789;}function _0x221129(_0x26c6c3,_0x3db58b,_0x241109,_0x1f4be6,_0x1556f8,_0x20cf13,_0x4f1cab){var _0x157c69=_0x26c6c3+(_0x3db58b&_0x1f4be6|_0x241109&~_0x1f4be6)+_0x1556f8+_0x4f1cab;return(_0x157c69<<_0x20cf13|_0x157c69>>>0x20-_0x20cf13)+_0x3db58b;}function _0x3f30f2(_0x3101a4,_0x9e7fc0,_0x10d4c0,_0x55fca6,_0x59d1d9,_0x50bba7,_0x3e61b3){var _0x535dab=_0x3101a4+(_0x9e7fc0^_0x10d4c0^_0x55fca6)+_0x59d1d9+_0x3e61b3;return(_0x535dab<<_0x50bba7|_0x535dab>>>0x20-_0x50bba7)+_0x9e7fc0;}function _0xc67d77(_0x391ccd,_0x1ff472,_0x23f476,_0x1456da,_0x192a44,_0x52f54a,_0x3d4b10){var _0x141ea4=_0x391ccd+(_0x23f476^(_0x1ff472|~_0x1456da))+_0x192a44+_0x3d4b10;return(_0x141ea4<<_0x52f54a|_0x141ea4>>>0x20-_0x52f54a)+_0x1ff472;}_0x575f5d[_0x10745e(0x16c)]=_0xe61ff2[_0x10745e(0x399)](_0x49d974),_0x575f5d['HmacMD5']=_0xe61ff2[_0x10745e(0x3a8)](_0x49d974);}(Math),_0x41264b[_0x55a619(0x16c)];}));}(Ie)),Ie['exports'];}var me={'exports':{}},Ee={'exports':{}},ji=Ee[_0xeea7c7(0x16b)],tt;function $i(){var _0x521480=_0xeea7c7;return tt||(tt=0x1,function(_0x28d899,_0x29da0e){(function(_0x297dd1,_0x5909d9){var _0x3b8e5e=_0x37bc;_0x28d899[_0x3b8e5e(0x16b)]=_0x5909d9(ee());}(ji,function(_0x519120){var _0x40315c=_0x37bc;return(function(){var _0x45fe01=_0x37bc,_0x3ee46f=_0x519120,_0xe67b4f=_0x3ee46f['lib'],_0x3b0584=_0xe67b4f[_0x45fe01(0xba)],_0x4c74d4=_0xe67b4f[_0x45fe01(0x37d)],_0x2906cf=_0x3ee46f[_0x45fe01(0xaa)],_0x2e44a9=[],_0x103673=_0x2906cf[_0x45fe01(0xf7)]=_0x4c74d4[_0x45fe01(0x197)]({'_doReset':function(){var _0x17514d=_0x45fe01;this[_0x17514d(0x2b9)]=new _0x3b0584[(_0x17514d(0xae))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3c9fb1,_0x217be3){var _0x30df05=_0x45fe01;for(var _0x55d84d=this[_0x30df05(0x2b9)]['words'],_0x2e0bd5=_0x55d84d[0x0],_0xe94e4e=_0x55d84d[0x1],_0x4fbc78=_0x55d84d[0x2],_0x398eae=_0x55d84d[0x3],_0x3ae810=_0x55d84d[0x4],_0x38f214=0x0;_0x38f214<0x50;_0x38f214++){if(_0x38f214<0x10)_0x2e44a9[_0x38f214]=_0x3c9fb1[_0x217be3+_0x38f214]|0x0;else{var _0x44364e=_0x2e44a9[_0x38f214-0x3]^_0x2e44a9[_0x38f214-0x8]^_0x2e44a9[_0x38f214-0xe]^_0x2e44a9[_0x38f214-0x10];_0x2e44a9[_0x38f214]=_0x44364e<<0x1|_0x44364e>>>0x1f;}var _0x43488e=(_0x2e0bd5<<0x5|_0x2e0bd5>>>0x1b)+_0x3ae810+_0x2e44a9[_0x38f214];_0x38f214<0x14?_0x43488e+=(_0xe94e4e&_0x4fbc78|~_0xe94e4e&_0x398eae)+0x5a827999:_0x38f214<0x28?_0x43488e+=(_0xe94e4e^_0x4fbc78^_0x398eae)+0x6ed9eba1:_0x38f214<0x3c?_0x43488e+=(_0xe94e4e&_0x4fbc78|_0xe94e4e&_0x398eae|_0x4fbc78&_0x398eae)-0x70e44324:_0x43488e+=(_0xe94e4e^_0x4fbc78^_0x398eae)-0x359d3e2a,_0x3ae810=_0x398eae,_0x398eae=_0x4fbc78,_0x4fbc78=_0xe94e4e<<0x1e|_0xe94e4e>>>0x2,_0xe94e4e=_0x2e0bd5,_0x2e0bd5=_0x43488e;}_0x55d84d[0x0]=_0x55d84d[0x0]+_0x2e0bd5|0x0,_0x55d84d[0x1]=_0x55d84d[0x1]+_0xe94e4e|0x0,_0x55d84d[0x2]=_0x55d84d[0x2]+_0x4fbc78|0x0,_0x55d84d[0x3]=_0x55d84d[0x3]+_0x398eae|0x0,_0x55d84d[0x4]=_0x55d84d[0x4]+_0x3ae810|0x0;},'_doFinalize':function(){var _0x1512bb=_0x45fe01,_0x21df75=this['_data'],_0x5c5c15=_0x21df75[_0x1512bb(0x141)],_0x1b9328=this[_0x1512bb(0xe6)]*0x8,_0x5897f8=_0x21df75['sigBytes']*0x8;return _0x5c5c15[_0x5897f8>>>0x5]|=0x80<<0x18-_0x5897f8%0x20,_0x5c5c15[(_0x5897f8+0x40>>>0x9<<0x4)+0xe]=Math[_0x1512bb(0x1ca)](_0x1b9328/0x100000000),_0x5c5c15[(_0x5897f8+0x40>>>0x9<<0x4)+0xf]=_0x1b9328,_0x21df75['sigBytes']=_0x5c5c15[_0x1512bb(0x254)]*0x4,this[_0x1512bb(0xb3)](),this[_0x1512bb(0x2b9)];},'clone':function(){var _0x3faf68=_0x45fe01,_0x59484e=_0x4c74d4[_0x3faf68(0x96)]['call'](this);return _0x59484e[_0x3faf68(0x2b9)]=this[_0x3faf68(0x2b9)][_0x3faf68(0x96)](),_0x59484e;}});_0x3ee46f[_0x45fe01(0xf7)]=_0x4c74d4[_0x45fe01(0x399)](_0x103673),_0x3ee46f['HmacSHA1']=_0x4c74d4[_0x45fe01(0x3a8)](_0x103673);}()),_0x519120[_0x40315c(0xf7)];}));}(Ee)),Ee[_0x521480(0x16b)];}var Ce={'exports':{}},Bi=Ce[_0xeea7c7(0x16b)],it;function Fi(){var _0x2cfc45=_0xeea7c7;return it||(it=0x1,function(_0x50755b,_0x528ec1){(function(_0x1aebfa,_0x51413f){var _0xd2a93d=_0x37bc;_0x50755b[_0xd2a93d(0x16b)]=_0x51413f(ee());}(Bi,function(_0x563b5a){(function(){var _0x404ce5=_0x37bc,_0x4e3aaf=_0x563b5a,_0x1c6642=_0x4e3aaf[_0x404ce5(0x3c0)],_0x101289=_0x1c6642[_0x404ce5(0x1ea)],_0x3ce094=_0x4e3aaf[_0x404ce5(0x12e)],_0x501f6c=_0x3ce094[_0x404ce5(0x14c)],_0x2fe044=_0x4e3aaf['algo'];_0x2fe044[_0x404ce5(0x297)]=_0x101289[_0x404ce5(0x197)]({'init':function(_0x220b93,_0x2b035c){var _0x58d985=_0x404ce5;_0x220b93=this[_0x58d985(0x14d)]=new _0x220b93[(_0x58d985(0xae))](),typeof _0x2b035c==_0x58d985(0x1c7)&&(_0x2b035c=_0x501f6c[_0x58d985(0x2a3)](_0x2b035c));var _0x47db27=_0x220b93['blockSize'],_0x5a85e3=_0x47db27*0x4;_0x2b035c[_0x58d985(0x106)]>_0x5a85e3&&(_0x2b035c=_0x220b93[_0x58d985(0x104)](_0x2b035c)),_0x2b035c[_0x58d985(0x385)]();for(var _0x21b651=this[_0x58d985(0x135)]=_0x2b035c[_0x58d985(0x96)](),_0x2e223b=this[_0x58d985(0x28d)]=_0x2b035c[_0x58d985(0x96)](),_0x97434=_0x21b651['words'],_0x475683=_0x2e223b['words'],_0x227827=0x0;_0x227827<_0x47db27;_0x227827++)_0x97434[_0x227827]^=0x5c5c5c5c,_0x475683[_0x227827]^=0x36363636;_0x21b651[_0x58d985(0x106)]=_0x2e223b[_0x58d985(0x106)]=_0x5a85e3,this[_0x58d985(0x10a)]();},'reset':function(){var _0x396548=_0x404ce5,_0x143fdb=this[_0x396548(0x14d)];_0x143fdb[_0x396548(0x10a)](),_0x143fdb['update'](this['_iKey']);},'update':function(_0x1ac5a1){var _0x4adf34=_0x404ce5;return this[_0x4adf34(0x14d)]['update'](_0x1ac5a1),this;},'finalize':function(_0x27c9bc){var _0x58ac15=_0x404ce5,_0x1a3212=this[_0x58ac15(0x14d)],_0x3025b7=_0x1a3212[_0x58ac15(0x104)](_0x27c9bc);_0x1a3212[_0x58ac15(0x10a)]();var _0x389703=_0x1a3212[_0x58ac15(0x104)](this[_0x58ac15(0x135)][_0x58ac15(0x96)]()[_0x58ac15(0x270)](_0x3025b7));return _0x389703;}});}());}));}(Ce)),Ce[_0x2cfc45(0x16b)];}var Vi=me['exports'],nt;function At(){return nt||(nt=0x1,function(_0x469f64,_0x4c1969){(function(_0x298c31,_0x22a763,_0x1a6965){_0x469f64['exports']=_0x22a763(ee(),$i(),Fi());}(Vi,function(_0x16703d){var _0x47b8e6=_0x37bc;return(function(){var _0x216136=_0x37bc,_0x5f57a2=_0x16703d,_0x1f0ea2=_0x5f57a2[_0x216136(0x3c0)],_0x5f54ac=_0x1f0ea2[_0x216136(0x1ea)],_0xf4cc7c=_0x1f0ea2[_0x216136(0xba)],_0x34ca62=_0x5f57a2['algo'],_0x2f2cf5=_0x34ca62[_0x216136(0x16c)],_0x4c35ee=_0x34ca62['EvpKDF']=_0x5f54ac[_0x216136(0x197)]({'cfg':_0x5f54ac[_0x216136(0x197)]({'keySize':0x80/0x20,'hasher':_0x2f2cf5,'iterations':0x1}),'init':function(_0x3bd07d){var _0xb7ea88=_0x216136;this[_0xb7ea88(0x2e5)]=this[_0xb7ea88(0x2e5)][_0xb7ea88(0x197)](_0x3bd07d);},'compute':function(_0x4743c6,_0xd7bc4b){var _0x428e74=_0x216136;for(var _0x54964c,_0xe91ad2=this[_0x428e74(0x2e5)],_0x4dccac=_0xe91ad2[_0x428e74(0x2be)][_0x428e74(0x89)](),_0x258877=_0xf4cc7c[_0x428e74(0x89)](),_0xf59950=_0x258877['words'],_0x44f884=_0xe91ad2[_0x428e74(0x2b7)],_0x18843d=_0xe91ad2['iterations'];_0xf59950[_0x428e74(0x254)]<_0x44f884;){_0x54964c&&_0x4dccac[_0x428e74(0x170)](_0x54964c),_0x54964c=_0x4dccac[_0x428e74(0x170)](_0x4743c6)[_0x428e74(0x104)](_0xd7bc4b),_0x4dccac[_0x428e74(0x10a)]();for(var _0x173983=0x1;_0x173983<_0x18843d;_0x173983++)_0x54964c=_0x4dccac['finalize'](_0x54964c),_0x4dccac[_0x428e74(0x10a)]();_0x258877[_0x428e74(0x270)](_0x54964c);}return _0x258877[_0x428e74(0x106)]=_0x44f884*0x4,_0x258877;}});_0x5f57a2['EvpKDF']=function(_0x47957f,_0x3eec8d,_0xbff396){var _0x2445a9=_0x216136;return _0x4c35ee[_0x2445a9(0x89)](_0xbff396)[_0x2445a9(0x23e)](_0x47957f,_0x3eec8d);};}()),_0x16703d[_0x47b8e6(0x1cf)];}));}(me)),me['exports'];}var Te={'exports':{}},Wi=Te['exports'],rt;function Pt(){var _0x4c54d5=_0xeea7c7;return rt||(rt=0x1,function(_0x3c335f,_0x10d25b){(function(_0x123a3f,_0x55ae66,_0x48a646){var _0x507b8b=_0x37bc;_0x3c335f[_0x507b8b(0x16b)]=_0x55ae66(ee(),At());}(Wi,function(_0x258a79){var _0x406c67=_0x37bc;_0x258a79[_0x406c67(0x3c0)][_0x406c67(0x211)]||function(_0xaef61d){var _0x2a56dc=_0x406c67,_0x2b1c24=_0x258a79,_0x465f7a=_0x2b1c24[_0x2a56dc(0x3c0)],_0x4f86eb=_0x465f7a[_0x2a56dc(0x1ea)],_0x8a74a8=_0x465f7a[_0x2a56dc(0xba)],_0x186f61=_0x465f7a['BufferedBlockAlgorithm'],_0xc2d421=_0x2b1c24[_0x2a56dc(0x12e)];_0xc2d421[_0x2a56dc(0x14c)];var _0x588b9a=_0xc2d421[_0x2a56dc(0x138)],_0x472538=_0x2b1c24['algo'],_0x37d189=_0x472538[_0x2a56dc(0x1cf)],_0x7d2e1b=_0x465f7a[_0x2a56dc(0x211)]=_0x186f61[_0x2a56dc(0x197)]({'cfg':_0x4f86eb[_0x2a56dc(0x197)](),'createEncryptor':function(_0xc48eeb,_0x50b480){var _0x46f09c=_0x2a56dc;return this[_0x46f09c(0x89)](this['_ENC_XFORM_MODE'],_0xc48eeb,_0x50b480);},'createDecryptor':function(_0x10b12e,_0x1c0dc8){var _0x5052b2=_0x2a56dc;return this[_0x5052b2(0x89)](this[_0x5052b2(0x18a)],_0x10b12e,_0x1c0dc8);},'init':function(_0xd35d4,_0x19ab73,_0xce28f){var _0x485ea5=_0x2a56dc;this['cfg']=this[_0x485ea5(0x2e5)][_0x485ea5(0x197)](_0xce28f),this[_0x485ea5(0xe8)]=_0xd35d4,this[_0x485ea5(0x136)]=_0x19ab73,this[_0x485ea5(0x10a)]();},'reset':function(){var _0x3067fe=_0x2a56dc;_0x186f61[_0x3067fe(0x10a)]['call'](this),this[_0x3067fe(0x110)]();},'process':function(_0x36a51e){var _0x170270=_0x2a56dc;return this[_0x170270(0x21a)](_0x36a51e),this['_process']();},'finalize':function(_0x1fcab1){var _0x19605e=_0x2a56dc;_0x1fcab1&&this[_0x19605e(0x21a)](_0x1fcab1);var _0x38553b=this[_0x19605e(0x245)]();return _0x38553b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x42dcaa(_0x3c22e6){var _0x58f3bb=_0x37bc;return typeof _0x3c22e6==_0x58f3bb(0x1c7)?_0x55f332:_0x58d632;}return function(_0x49c672){return{'encrypt':function(_0x2cb863,_0x39dc75,_0xf75514){var _0x3bc087=_0x37bc;return _0x42dcaa(_0x39dc75)[_0x3bc087(0x2f0)](_0x49c672,_0x2cb863,_0x39dc75,_0xf75514);},'decrypt':function(_0x3d4263,_0x441b73,_0x13122b){var _0x100acc=_0x37bc;return _0x42dcaa(_0x441b73)[_0x100acc(0x7d)](_0x49c672,_0x3d4263,_0x441b73,_0x13122b);}};};}())});_0x465f7a[_0x2a56dc(0x289)]=_0x7d2e1b[_0x2a56dc(0x197)]({'_doFinalize':function(){var _0x368b1b=_0x2a56dc,_0x2d2a59=this[_0x368b1b(0xb3)](!0x0);return _0x2d2a59;},'blockSize':0x1});var _0x3f8d3b=_0x2b1c24['mode']={},_0x5df2bf=_0x465f7a[_0x2a56dc(0x1fd)]=_0x4f86eb['extend']({'createEncryptor':function(_0x2df74d,_0x47f587){return this['Encryptor']['create'](_0x2df74d,_0x47f587);},'createDecryptor':function(_0x1653d6,_0x5689c6){var _0x186b31=_0x2a56dc;return this[_0x186b31(0x207)][_0x186b31(0x89)](_0x1653d6,_0x5689c6);},'init':function(_0x1e3c06,_0x129116){var _0x2f9959=_0x2a56dc;this['_cipher']=_0x1e3c06,this[_0x2f9959(0x252)]=_0x129116;}}),_0x5cb699=_0x3f8d3b[_0x2a56dc(0x172)]=(function(){var _0x4640f1=_0x2a56dc,_0x76d800=_0x5df2bf[_0x4640f1(0x197)]();_0x76d800[_0x4640f1(0x220)]=_0x76d800[_0x4640f1(0x197)]({'processBlock':function(_0x2d02b9,_0x20c637){var _0x30cf3d=_0x4640f1,_0x5e763e=this[_0x30cf3d(0x191)],_0x5500f7=_0x5e763e[_0x30cf3d(0xcc)];_0x3d59e3[_0x30cf3d(0x2ca)](this,_0x2d02b9,_0x20c637,_0x5500f7),_0x5e763e[_0x30cf3d(0xa2)](_0x2d02b9,_0x20c637),this[_0x30cf3d(0x246)]=_0x2d02b9['slice'](_0x20c637,_0x20c637+_0x5500f7);}}),_0x76d800[_0x4640f1(0x207)]=_0x76d800[_0x4640f1(0x197)]({'processBlock':function(_0x93a4d1,_0x34d17){var _0x532eef=_0x4640f1,_0xbe3d7e=this[_0x532eef(0x191)],_0x2cbac5=_0xbe3d7e['blockSize'],_0x20c80f=_0x93a4d1[_0x532eef(0x3dd)](_0x34d17,_0x34d17+_0x2cbac5);_0xbe3d7e[_0x532eef(0x125)](_0x93a4d1,_0x34d17),_0x3d59e3[_0x532eef(0x2ca)](this,_0x93a4d1,_0x34d17,_0x2cbac5),this[_0x532eef(0x246)]=_0x20c80f;}});function _0x3d59e3(_0x54493c,_0x360521,_0x28118a){var _0x7c5de4=_0x4640f1,_0x43e843,_0x3f434b=this[_0x7c5de4(0x252)];_0x3f434b?(_0x43e843=_0x3f434b,this['_iv']=_0xaef61d):_0x43e843=this[_0x7c5de4(0x246)];for(var _0x482f35=0x0;_0x482f35<_0x28118a;_0x482f35++)_0x54493c[_0x360521+_0x482f35]^=_0x43e843[_0x482f35];}return _0x76d800;}()),_0x5dda30=_0x2b1c24['pad']={},_0x528b77=_0x5dda30[_0x2a56dc(0x295)]={'pad':function(_0x591b74,_0xe92b59){var _0x381620=_0x2a56dc;for(var _0x434a1d=_0xe92b59*0x4,_0x5d6c3a=_0x434a1d-_0x591b74[_0x381620(0x106)]%_0x434a1d,_0x3dbf2b=_0x5d6c3a<<0x18|_0x5d6c3a<<0x10|_0x5d6c3a<<0x8|_0x5d6c3a,_0x2d02ac=[],_0x2bf407=0x0;_0x2bf407<_0x5d6c3a;_0x2bf407+=0x4)_0x2d02ac[_0x381620(0x38e)](_0x3dbf2b);var _0x2ea0e6=_0x8a74a8[_0x381620(0x89)](_0x2d02ac,_0x5d6c3a);_0x591b74[_0x381620(0x270)](_0x2ea0e6);},'unpad':function(_0x4b2697){var _0x23a97d=_0x2a56dc,_0x359c44=_0x4b2697['words'][_0x4b2697['sigBytes']-0x1>>>0x2]&0xff;_0x4b2697[_0x23a97d(0x106)]-=_0x359c44;}};_0x465f7a['BlockCipher']=_0x7d2e1b['extend']({'cfg':_0x7d2e1b[_0x2a56dc(0x2e5)]['extend']({'mode':_0x5cb699,'padding':_0x528b77}),'reset':function(){var _0x4b5c84=_0x2a56dc,_0xf59cb2;_0x7d2e1b['reset'][_0x4b5c84(0x2ca)](this);var _0x2cf3d7=this['cfg'],_0x3c5938=_0x2cf3d7['iv'],_0x3450ac=_0x2cf3d7[_0x4b5c84(0x157)];this[_0x4b5c84(0xe8)]==this[_0x4b5c84(0x2fd)]?_0xf59cb2=_0x3450ac[_0x4b5c84(0x1d6)]:(_0xf59cb2=_0x3450ac['createDecryptor'],this['_minBufferSize']=0x1),this[_0x4b5c84(0x274)]&&this[_0x4b5c84(0x274)][_0x4b5c84(0x180)]==_0xf59cb2?this['_mode'][_0x4b5c84(0xae)](this,_0x3c5938&&_0x3c5938[_0x4b5c84(0x141)]):(this[_0x4b5c84(0x274)]=_0xf59cb2[_0x4b5c84(0x2ca)](_0x3450ac,this,_0x3c5938&&_0x3c5938[_0x4b5c84(0x141)]),this[_0x4b5c84(0x274)][_0x4b5c84(0x180)]=_0xf59cb2);},'_doProcessBlock':function(_0x28e632,_0x2b4f46){var _0x1fef48=_0x2a56dc;this[_0x1fef48(0x274)]['processBlock'](_0x28e632,_0x2b4f46);},'_doFinalize':function(){var _0x4baf4e=_0x2a56dc,_0x171953,_0xab8797=this[_0x4baf4e(0x2e5)]['padding'];return this[_0x4baf4e(0xe8)]==this['_ENC_XFORM_MODE']?(_0xab8797[_0x4baf4e(0x143)](this['_data'],this[_0x4baf4e(0xcc)]),_0x171953=this[_0x4baf4e(0xb3)](!0x0)):(_0x171953=this['_process'](!0x0),_0xab8797[_0x4baf4e(0x3ae)](_0x171953)),_0x171953;},'blockSize':0x80/0x20});var _0x4a4053=_0x465f7a[_0x2a56dc(0x179)]=_0x4f86eb['extend']({'init':function(_0x3c3ce3){this['mixIn'](_0x3c3ce3);},'toString':function(_0x536260){var _0x8e8da4=_0x2a56dc;return(_0x536260||this[_0x8e8da4(0x330)])[_0x8e8da4(0x2b3)](this);}}),_0x5de553=_0x2b1c24['format']={},_0x52ef0b=_0x5de553[_0x2a56dc(0x175)]={'stringify':function(_0x198206){var _0x44fa9e=_0x2a56dc,_0x3a1d5c,_0x2d5553=_0x198206[_0x44fa9e(0x9e)],_0x3aa620=_0x198206[_0x44fa9e(0xa1)];return _0x3aa620?_0x3a1d5c=_0x8a74a8['create']([0x53616c74,0x65645f5f])[_0x44fa9e(0x270)](_0x3aa620)[_0x44fa9e(0x270)](_0x2d5553):_0x3a1d5c=_0x2d5553,_0x3a1d5c[_0x44fa9e(0x2e7)](_0x588b9a);},'parse':function(_0x4bffe2){var _0x3125fc=_0x2a56dc,_0x6aad87,_0x325c02=_0x588b9a[_0x3125fc(0x2a3)](_0x4bffe2),_0x472f61=_0x325c02[_0x3125fc(0x141)];return _0x472f61[0x0]==0x53616c74&&_0x472f61[0x1]==0x65645f5f&&(_0x6aad87=_0x8a74a8[_0x3125fc(0x89)](_0x472f61[_0x3125fc(0x3dd)](0x2,0x4)),_0x472f61['splice'](0x0,0x4),_0x325c02[_0x3125fc(0x106)]-=0x10),_0x4a4053[_0x3125fc(0x89)]({'ciphertext':_0x325c02,'salt':_0x6aad87});}},_0x58d632=_0x465f7a[_0x2a56dc(0x14e)]=_0x4f86eb[_0x2a56dc(0x197)]({'cfg':_0x4f86eb['extend']({'format':_0x52ef0b}),'encrypt':function(_0x58a592,_0x327582,_0x2c3011,_0x527a39){var _0x52a980=_0x2a56dc;_0x527a39=this[_0x52a980(0x2e5)][_0x52a980(0x197)](_0x527a39);var _0x47271f=_0x58a592['createEncryptor'](_0x2c3011,_0x527a39),_0x32e5b5=_0x47271f[_0x52a980(0x104)](_0x327582),_0x571508=_0x47271f[_0x52a980(0x2e5)];return _0x4a4053[_0x52a980(0x89)]({'ciphertext':_0x32e5b5,'key':_0x2c3011,'iv':_0x571508['iv'],'algorithm':_0x58a592,'mode':_0x571508[_0x52a980(0x157)],'padding':_0x571508[_0x52a980(0x127)],'blockSize':_0x58a592['blockSize'],'formatter':_0x527a39[_0x52a980(0x285)]});},'decrypt':function(_0x3dc3e0,_0x8be0d,_0x36e258,_0x151a1d){var _0x506a70=_0x2a56dc;_0x151a1d=this[_0x506a70(0x2e5)][_0x506a70(0x197)](_0x151a1d),_0x8be0d=this[_0x506a70(0xfa)](_0x8be0d,_0x151a1d['format']);var _0x27c89e=_0x3dc3e0['createDecryptor'](_0x36e258,_0x151a1d)[_0x506a70(0x104)](_0x8be0d[_0x506a70(0x9e)]);return _0x27c89e;},'_parse':function(_0x57b333,_0x2c3684){var _0x3b23e9=_0x2a56dc;return typeof _0x57b333==_0x3b23e9(0x1c7)?_0x2c3684[_0x3b23e9(0x2a3)](_0x57b333,this):_0x57b333;}}),_0x1f68c9=_0x2b1c24['kdf']={},_0x168197=_0x1f68c9['OpenSSL']={'execute':function(_0x778122,_0x43a64e,_0x3267f2,_0x27470d,_0x328d06){var _0x242d49=_0x2a56dc;if(_0x27470d||(_0x27470d=_0x8a74a8[_0x242d49(0x3d8)](0x40/0x8)),_0x328d06)var _0x1a9a6d=_0x37d189[_0x242d49(0x89)]({'keySize':_0x43a64e+_0x3267f2,'hasher':_0x328d06})[_0x242d49(0x23e)](_0x778122,_0x27470d);else var _0x1a9a6d=_0x37d189[_0x242d49(0x89)]({'keySize':_0x43a64e+_0x3267f2})[_0x242d49(0x23e)](_0x778122,_0x27470d);var _0x4b9f39=_0x8a74a8[_0x242d49(0x89)](_0x1a9a6d[_0x242d49(0x141)][_0x242d49(0x3dd)](_0x43a64e),_0x3267f2*0x4);return _0x1a9a6d[_0x242d49(0x106)]=_0x43a64e*0x4,_0x4a4053[_0x242d49(0x89)]({'key':_0x1a9a6d,'iv':_0x4b9f39,'salt':_0x27470d});}},_0x55f332=_0x465f7a[_0x2a56dc(0x2de)]=_0x58d632[_0x2a56dc(0x197)]({'cfg':_0x58d632['cfg'][_0x2a56dc(0x197)]({'kdf':_0x168197}),'encrypt':function(_0x1c73f1,_0x2f2a93,_0x5907bf,_0x11754e){var _0x274f60=_0x2a56dc;_0x11754e=this[_0x274f60(0x2e5)]['extend'](_0x11754e);var _0x36c6b9=_0x11754e[_0x274f60(0x2e2)][_0x274f60(0x231)](_0x5907bf,_0x1c73f1[_0x274f60(0x2b7)],_0x1c73f1[_0x274f60(0x22e)],_0x11754e[_0x274f60(0xa1)],_0x11754e[_0x274f60(0x2be)]);_0x11754e['iv']=_0x36c6b9['iv'];var _0x1b30b8=_0x58d632[_0x274f60(0x2f0)]['call'](this,_0x1c73f1,_0x2f2a93,_0x36c6b9['key'],_0x11754e);return _0x1b30b8['mixIn'](_0x36c6b9),_0x1b30b8;},'decrypt':function(_0x5cec54,_0x53d7e8,_0x38f7ba,_0xa397e1){var _0x2b1306=_0x2a56dc;_0xa397e1=this['cfg']['extend'](_0xa397e1),_0x53d7e8=this[_0x2b1306(0xfa)](_0x53d7e8,_0xa397e1[_0x2b1306(0x285)]);var _0x105d45=_0xa397e1[_0x2b1306(0x2e2)][_0x2b1306(0x231)](_0x38f7ba,_0x5cec54[_0x2b1306(0x2b7)],_0x5cec54['ivSize'],_0x53d7e8[_0x2b1306(0xa1)],_0xa397e1[_0x2b1306(0x2be)]);_0xa397e1['iv']=_0x105d45['iv'];var _0x28c6c9=_0x58d632[_0x2b1306(0x7d)][_0x2b1306(0x2ca)](this,_0x5cec54,_0x53d7e8,_0x105d45['key'],_0xa397e1);return _0x28c6c9;}});}();}));}(Te)),Te[_0x4c54d5(0x16b)];}var Gi=fe[_0xeea7c7(0x16b)],st;function Ki(){var _0x1b269a=_0xeea7c7;return st||(st=0x1,function(_0x29a99d,_0x2bb0ff){(function(_0xbebaa6,_0x25b290,_0x30b354){_0x29a99d['exports']=_0x25b290(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x564969){return(function(){var _0x100654=_0x37bc,_0x2f585e=_0x564969,_0x142b91=_0x2f585e['lib'],_0x56ce5a=_0x142b91['BlockCipher'],_0x298792=_0x2f585e['algo'],_0x362a27=[],_0x515973=[],_0x13600d=[],_0x593d5d=[],_0x5c9cbf=[],_0x4faabe=[],_0x30a31a=[],_0x129874=[],_0x3d64cd=[],_0x1a377a=[];(function(){for(var _0x46e240=[],_0x47cee3=0x0;_0x47cee3<0x100;_0x47cee3++)_0x47cee3<0x80?_0x46e240[_0x47cee3]=_0x47cee3<<0x1:_0x46e240[_0x47cee3]=_0x47cee3<<0x1^0x11b;for(var _0x284050=0x0,_0x275e1c=0x0,_0x47cee3=0x0;_0x47cee3<0x100;_0x47cee3++){var _0x1578f6=_0x275e1c^_0x275e1c<<0x1^_0x275e1c<<0x2^_0x275e1c<<0x3^_0x275e1c<<0x4;_0x1578f6=_0x1578f6>>>0x8^_0x1578f6&0xff^0x63,_0x362a27[_0x284050]=_0x1578f6,_0x515973[_0x1578f6]=_0x284050;var _0x539216=_0x46e240[_0x284050],_0x2dff1e=_0x46e240[_0x539216],_0x499287=_0x46e240[_0x2dff1e],_0x37f5fb=_0x46e240[_0x1578f6]*0x101^_0x1578f6*0x1010100;_0x13600d[_0x284050]=_0x37f5fb<<0x18|_0x37f5fb>>>0x8,_0x593d5d[_0x284050]=_0x37f5fb<<0x10|_0x37f5fb>>>0x10,_0x5c9cbf[_0x284050]=_0x37f5fb<<0x8|_0x37f5fb>>>0x18,_0x4faabe[_0x284050]=_0x37f5fb;var _0x37f5fb=_0x499287*0x1010101^_0x2dff1e*0x10001^_0x539216*0x101^_0x284050*0x1010100;_0x30a31a[_0x1578f6]=_0x37f5fb<<0x18|_0x37f5fb>>>0x8,_0x129874[_0x1578f6]=_0x37f5fb<<0x10|_0x37f5fb>>>0x10,_0x3d64cd[_0x1578f6]=_0x37f5fb<<0x8|_0x37f5fb>>>0x18,_0x1a377a[_0x1578f6]=_0x37f5fb,_0x284050?(_0x284050=_0x539216^_0x46e240[_0x46e240[_0x46e240[_0x499287^_0x539216]]],_0x275e1c^=_0x46e240[_0x46e240[_0x275e1c]]):_0x284050=_0x275e1c=0x1;}}());var _0x532deb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4a4ed7=_0x298792[_0x100654(0x9d)]=_0x56ce5a[_0x100654(0x197)]({'_doReset':function(){var _0x11ee78=_0x100654,_0x2b37f1;if(!(this[_0x11ee78(0x11e)]&&this[_0x11ee78(0x1ef)]===this[_0x11ee78(0x136)])){for(var _0xee918b=this[_0x11ee78(0x1ef)]=this['_key'],_0x4d2191=_0xee918b[_0x11ee78(0x141)],_0x2e23e7=_0xee918b['sigBytes']/0x4,_0x21bb9b=this[_0x11ee78(0x11e)]=_0x2e23e7+0x6,_0x8e390f=(_0x21bb9b+0x1)*0x4,_0x1981ad=this['_keySchedule']=[],_0x1a5929=0x0;_0x1a5929<_0x8e390f;_0x1a5929++)_0x1a5929<_0x2e23e7?_0x1981ad[_0x1a5929]=_0x4d2191[_0x1a5929]:(_0x2b37f1=_0x1981ad[_0x1a5929-0x1],_0x1a5929%_0x2e23e7?_0x2e23e7>0x6&&_0x1a5929%_0x2e23e7==0x4&&(_0x2b37f1=_0x362a27[_0x2b37f1>>>0x18]<<0x18|_0x362a27[_0x2b37f1>>>0x10&0xff]<<0x10|_0x362a27[_0x2b37f1>>>0x8&0xff]<<0x8|_0x362a27[_0x2b37f1&0xff]):(_0x2b37f1=_0x2b37f1<<0x8|_0x2b37f1>>>0x18,_0x2b37f1=_0x362a27[_0x2b37f1>>>0x18]<<0x18|_0x362a27[_0x2b37f1>>>0x10&0xff]<<0x10|_0x362a27[_0x2b37f1>>>0x8&0xff]<<0x8|_0x362a27[_0x2b37f1&0xff],_0x2b37f1^=_0x532deb[_0x1a5929/_0x2e23e7|0x0]<<0x18),_0x1981ad[_0x1a5929]=_0x1981ad[_0x1a5929-_0x2e23e7]^_0x2b37f1);for(var _0x37c06b=this[_0x11ee78(0x229)]=[],_0x5ae8d0=0x0;_0x5ae8d0<_0x8e390f;_0x5ae8d0++){var _0x1a5929=_0x8e390f-_0x5ae8d0;if(_0x5ae8d0%0x4)var _0x2b37f1=_0x1981ad[_0x1a5929];else var _0x2b37f1=_0x1981ad[_0x1a5929-0x4];_0x5ae8d0<0x4||_0x1a5929<=0x4?_0x37c06b[_0x5ae8d0]=_0x2b37f1:_0x37c06b[_0x5ae8d0]=_0x30a31a[_0x362a27[_0x2b37f1>>>0x18]]^_0x129874[_0x362a27[_0x2b37f1>>>0x10&0xff]]^_0x3d64cd[_0x362a27[_0x2b37f1>>>0x8&0xff]]^_0x1a377a[_0x362a27[_0x2b37f1&0xff]];}}},'encryptBlock':function(_0x2f980b,_0x3364e8){var _0xeeb9e2=_0x100654;this[_0xeeb9e2(0x3d7)](_0x2f980b,_0x3364e8,this['_keySchedule'],_0x13600d,_0x593d5d,_0x5c9cbf,_0x4faabe,_0x362a27);},'decryptBlock':function(_0x25a3d7,_0x4a71e4){var _0x258700=_0x100654,_0x3d2e13=_0x25a3d7[_0x4a71e4+0x1];_0x25a3d7[_0x4a71e4+0x1]=_0x25a3d7[_0x4a71e4+0x3],_0x25a3d7[_0x4a71e4+0x3]=_0x3d2e13,this[_0x258700(0x3d7)](_0x25a3d7,_0x4a71e4,this['_invKeySchedule'],_0x30a31a,_0x129874,_0x3d64cd,_0x1a377a,_0x515973);var _0x3d2e13=_0x25a3d7[_0x4a71e4+0x1];_0x25a3d7[_0x4a71e4+0x1]=_0x25a3d7[_0x4a71e4+0x3],_0x25a3d7[_0x4a71e4+0x3]=_0x3d2e13;},'_doCryptBlock':function(_0x3337ba,_0x555f2c,_0x56fa3d,_0x115379,_0x159677,_0x5b6490,_0x9aeeb6,_0x424c27){for(var _0x14faad=this['_nRounds'],_0x3d25e4=_0x3337ba[_0x555f2c]^_0x56fa3d[0x0],_0x3bbb9c=_0x3337ba[_0x555f2c+0x1]^_0x56fa3d[0x1],_0x5ee30c=_0x3337ba[_0x555f2c+0x2]^_0x56fa3d[0x2],_0x3cd969=_0x3337ba[_0x555f2c+0x3]^_0x56fa3d[0x3],_0x577e08=0x4,_0x174752=0x1;_0x174752<_0x14faad;_0x174752++){var _0x40702e=_0x115379[_0x3d25e4>>>0x18]^_0x159677[_0x3bbb9c>>>0x10&0xff]^_0x5b6490[_0x5ee30c>>>0x8&0xff]^_0x9aeeb6[_0x3cd969&0xff]^_0x56fa3d[_0x577e08++],_0x565b93=_0x115379[_0x3bbb9c>>>0x18]^_0x159677[_0x5ee30c>>>0x10&0xff]^_0x5b6490[_0x3cd969>>>0x8&0xff]^_0x9aeeb6[_0x3d25e4&0xff]^_0x56fa3d[_0x577e08++],_0x471abf=_0x115379[_0x5ee30c>>>0x18]^_0x159677[_0x3cd969>>>0x10&0xff]^_0x5b6490[_0x3d25e4>>>0x8&0xff]^_0x9aeeb6[_0x3bbb9c&0xff]^_0x56fa3d[_0x577e08++],_0x25a692=_0x115379[_0x3cd969>>>0x18]^_0x159677[_0x3d25e4>>>0x10&0xff]^_0x5b6490[_0x3bbb9c>>>0x8&0xff]^_0x9aeeb6[_0x5ee30c&0xff]^_0x56fa3d[_0x577e08++];_0x3d25e4=_0x40702e,_0x3bbb9c=_0x565b93,_0x5ee30c=_0x471abf,_0x3cd969=_0x25a692;}var _0x40702e=(_0x424c27[_0x3d25e4>>>0x18]<<0x18|_0x424c27[_0x3bbb9c>>>0x10&0xff]<<0x10|_0x424c27[_0x5ee30c>>>0x8&0xff]<<0x8|_0x424c27[_0x3cd969&0xff])^_0x56fa3d[_0x577e08++],_0x565b93=(_0x424c27[_0x3bbb9c>>>0x18]<<0x18|_0x424c27[_0x5ee30c>>>0x10&0xff]<<0x10|_0x424c27[_0x3cd969>>>0x8&0xff]<<0x8|_0x424c27[_0x3d25e4&0xff])^_0x56fa3d[_0x577e08++],_0x471abf=(_0x424c27[_0x5ee30c>>>0x18]<<0x18|_0x424c27[_0x3cd969>>>0x10&0xff]<<0x10|_0x424c27[_0x3d25e4>>>0x8&0xff]<<0x8|_0x424c27[_0x3bbb9c&0xff])^_0x56fa3d[_0x577e08++],_0x25a692=(_0x424c27[_0x3cd969>>>0x18]<<0x18|_0x424c27[_0x3d25e4>>>0x10&0xff]<<0x10|_0x424c27[_0x3bbb9c>>>0x8&0xff]<<0x8|_0x424c27[_0x5ee30c&0xff])^_0x56fa3d[_0x577e08++];_0x3337ba[_0x555f2c]=_0x40702e,_0x3337ba[_0x555f2c+0x1]=_0x565b93,_0x3337ba[_0x555f2c+0x2]=_0x471abf,_0x3337ba[_0x555f2c+0x3]=_0x25a692;},'keySize':0x100/0x20});_0x2f585e[_0x100654(0x9d)]=_0x56ce5a[_0x100654(0x399)](_0x4a4ed7);}()),_0x564969['AES'];}));}(fe)),fe[_0x1b269a(0x16b)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0xeea7c7(0x16b)],at;function Xi(){return at||(at=0x1,function(_0x4570cc,_0x25c724){(function(_0x45d053,_0x232492){var _0x2cdbe7=_0x37bc;_0x4570cc[_0x2cdbe7(0x16b)]=_0x232492(ee());}(Ji,function(_0x192b7c){var _0x185f6d=_0x37bc;return _0x192b7c['enc'][_0x185f6d(0x14c)];}));}(be)),be['exports'];}var Zi=Xi();function _0x27e2(){var _0x1c5369=['Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getOwnPropertyDescriptor','onSyncEditingCollabCursor','close','JOIN_ROOM_FAILED','_lockTransition','downloadEndpointUrl','body','onStateChange','/universer-api/stream/file/upload','stopTime','_compressMutationService','/resources','stringify','[CollaborationEntity]','APPLY_NON_SEQUENTIAL_REVISION','&assign=','keySize','_init','_hash','_emitMembers','CLOSE_ROOM','appendMutation','getFocusedUnit','hasher','NOT_COLLAB','onMissingChangesets','randomUUID','min','pluginName','commentUpdate$','headers','_initUnitPermissionChange','_retryConnectingTimer','WorkbookEditablePermission','SYNCED','call','ONLINE','save\x20fail\x20reason\x20is\x20','_clearRedo','_roomMembers','snapshotServerUrl','type','onTransformState','NoPadding','/universer-api/authz','defineProperty','LICENSE_EXPORT_SIZE_EXCEEDED','PERMISSION_REJ','SNAPSHOT_HAS_BEEN_REMOVED','HEARTBEAT_TIMEOUT','/-/object/list','POST','disposeWithMe','incrementRevOfUnit','getUnitOnRev','PasswordBasedCipher','SOCKET_FAILED_RETRY','patch','failed\x20to\x20apply\x20missed\x20changesets!','kdf','close$','_createInitialState','cfg','_sendHeartbeatTimer','toString','_listenToNetworkCondition','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','HttpExport','saveSnapshot','SheetTransformSelectionsService','_socket','DependentOn','INVITE_CODE_ALREADY_BOUND','encrypt','image/jpeg','TOO_MANY_REQUESTS','Undefined','AuthzIoHttpService','_members','reqId','emitEvent','synced','InsertSheetMutation','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','LOCAL_CACHE_INTERVAL_KEY','createIdentifier','_ENC_XFORM_MODE','onTransformIME','_syncEditingCollabCursor','url','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_permissionService','SUCCUSS','loadUnit','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','MergeInterceptorFactory','/block/','COLLAB_WEB_SOCKET_URL','/-/object/-/batch_allowed','_scheduleCollaborationTimeoutTimer','localeService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_clearUndo','state','onStarting','splice','image/jpg','INVALID_INVITE_CODE','getInterceptPoints','SnapshotServerOverHTTPService','DEFAULT_FILE_NAME','startsWith','JOINING','ERROR_EXCEED_SIZE','Tools','OTHER_CLIENT_EDITING','updateMember','readInt32LE','[DataLoaderService]','YUUMI_RATE_OVER_LIMIT','rxjs','EXCHANGE_SIGN_URL_SERVER_URL_KEY','loadSheet','APPLY_DUPLICATED','_substituteUndoStack','UPDATE_CURSOR','@univerjs-pro/license','_univerInstanceService','get','?size=','INVITE_CODE_HAS_BEEN_UES','_queuedRemoteChangesets','LOCAL_CACHE_INTERVAL','UnitEmbedded','EMAIL_HAS_BEEN_BOUND','image/gif','formatter','_exhaustRemoteChangesetQueue','YUUMI_ASYNCIO_CANCELLED','[CollaborationState]:\x20apply\x20error!','byteLength','[OfflineState]:\x20received\x20rejection.','CHANGESET_ACK','fetchThroughInterceptors','_transitionLocked','onCommandExecuted','_registerDependencies','_transformRemoteChangesetByIMECache','_onRemoteChangeset','_snapshotService','_configService','entries','_sendHeartbeat','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','ENSURE_SNAPSHOT_EXECUTION','deserializeToCombResponse','INVALID_ARGUMENT','find','encodeURIComponent','[OfflineState]:\x20received\x20changeset.','_sessions','_resendTimer','hostname','includes','forEach','refreshPermission','JOIN_ROOM_NOT_EXISTS','_socketReady','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_waitCount','_decreaseWaiting','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','getWorkbookSelections','/universer-api/comb','params','_getSendChangesetTimeout','RichTextEditingMutation','NEW_CHANGESETS','sendChangesetTimeout','UserProfileImg','_sessionStatus$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_eventService','_HTTPService','repeat','_minBufferSize','onTransformSelections','_getDownloadEndpointURL','_startTelemetryCollaborationNewChangeset','_showConflictNotification','HEARTBEAT','resourceIDs','loadOfflineData','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','awaiting','BehaviorSubject','OfflineState','_clearScheduledTask','BASE64','takeUntil','OFFLINE','take','getCurrentUser','_pendingMutations','updatePermissionPoint','MOBILE_HAS_BEEN_BOUND','AUTHZ_URL_KEY','indexOf','ws://127.0.0.1:8000/universer-api/comb/connect','_sender','6422905JiUwqn','session.room-not-exists','Hasher','getTime','saveImage','objectActions','_redoStacks','IUniverInstanceService','objectType','UNRECOGNIZED','clamp','/unit/','apply','action','SUBMIT_CHANGESET','isTransformMutationsWithChangesetFailure','uniscriptRunEvent','max','getTypeOfUnitDisposed$','push','memberID','/role','PERMISSION_DENIED','toDisposable','__Key__','_change$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_unitID','SheetsSelectionsService','infoRsp','_createHelper','socket\x20close','asObservable','getConfig','_getUndoStack','_submitChangeset','disableLocalCache','YUUMI_NO_CUBOID_FOR_QUESTION','CHANGESET_REVISION_CONFILICT','UNKNOWN_CODE','ICommandService','_onRemoteRetry','telemetry\x20info\x20is\x20not\x20initialized','reverse','sid','_createHmacHelper','fromCollab','_getSignURL','[CollaborationSessionService]','permissionRejEvent','6mDgIne','unpad','DEFAULT_WS_SESSION_TICKET_URL','_memberService','collaboration_new_changeset','SHOULD_CLOSE_CONN','message$','ITelemetryService','_singleActiveUnitService','MemberService','DocCollaborationEntity','revision','unit-cache-','_updateStatus','CollaborationEvent','ReplaySubject','INVITE_CODE_REQUIRED','AWAITING','getUnit','lib','APPLY_REVISION_CONFILICT','UniverCollaborationPlugin','m2Prime','awaiting_with_pending','JOIN_ROOM_PERMISSION_DENIED','session.room-full','function','LIVESHARE_TERMINATE','WECHAT_HAS_BEEN_BOUND','HTTPRequest','/universer-api/file/{fileID}/sign-url','onload','_onOffline','join','IUndoRedoService','_transformIMECache','userID','onLocalMutation','USERS_ENTER','setShowComponents','enableOfflineEditing','RECV','_doCryptBlock','random','IContextService','getActiveSheet','Rectangle','JOIN_ROOM_FULL','slice','conflict','INTERNAL_ERROR','origin','Module','encode','session.join-failed','waitForRoom$','_state','_changesetReqId','@univerjs/core','_userManagerService','CHANGESET_SHOULD_RETRY','delete','4640144sGbJmV','rng','focused$','objectID','reject','isPermissionRej','ITransformService','pending','_unlockTransition','_remoteChangesetQueue','clear','getLocalCacheKey','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','JOIN','@univerjs-pro/collaboration','/object','SEND_CHANGESET_TIMEOUT','CollaborationSessionService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','decrypt','_doCreateSocket','\x0aAfter:\x20','collaboration-client.local-cache-service','initWorkbookPermissionChange','AwaitingWithPendingState','CollaborativeUndoRedoService','MentionIoHttpService','_collabSessionService','COMPRESS_MUTATION_APPLY','transformMutationsWithChangeset','INetworkConditionService','create','_getUploadFileURL','_collaborationUIEventService','_status$','_getAPIPrefixPath','/rev/','2936103LqTXQe','collaboratorID','_clearLocalCache','PY_RUNTIME_SCRIPT_ERROR','SnapshotService','onRemoteRetry','shareReplay','clone','LEAVE','_rescheduleHeartbeat','_onConnectionOpen','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','2880190ypLeag','eventID','AES','ciphertext','workbook','LocaleService','salt','encryptBlock','_shouldReportTelemetry','sessionStatus','onSendChangeset','LOGIN_FAILED','collaMsg','_createHandler','UniverInstanceType','algo','_entities','members$','map','init','parseProtocolChangeset','_clearHeartbeatTimer','buffer','leaveEvent','_process','fetchMissingChangesets','members','saveChangeset','_tryEnsureSocket','getUnitStatus$','session.room-permission-denied','WordArray','actions','_awaitingChangeset','append','put','addHandlerCallback','IMentionIOService','PENDING','_collaborationSessionService','onRemoteRej','_createInitialStateImpl','confirm','toggleOnline','subscribe','SheetCollaborationEntity','SUBMIT_CHANGESET_TIMEOUT','IConfigService','32635104SKVOLC','blockSize','univer-pro.collaboration-client.single-active-unit-service','PERSON','now','COLLAB_WEB_SOCKET_URL_KEY','UNIVER_DOC','_onConflict','_collaborationPaused','status','_getAPIPrefix','_snapshotServerService','removeMember','RxDisposable','APPLY_REJECT','\x20-\x20','getCurrentRevOfUnit','roles','auth.needGotoLoginAlert','SheetPermissionInitController','NO_OTHER_CLIENTS_EDITING','FAIL','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onRemoteACK','next','400553UdftrK','Disposable','_nDataBytes','_transformStack','_xformMode','unknown','rev','result','_state$','charCodeAt','CollaborationSocketService','originalMeta','catch','Inject','CollaborationImageIoService','session.room-cnt-exceeds','_data','_map','_toggleOffline','SHA1','Injector','getUnitId','_parse','_handlerCallback','{fileID}','/universer-api/snapshot/','_onRecvEvent','onTransformRemoteChangesetByIMECache','offline','_imageSourceCache','_onJoinRoomEvent','isTransformChangesetsSuccess','finalize','_socket$','sigBytes','onlyLocal','/universer-api/uniscript','ConflictState','reset','pauseCollaboration','serializeCombRequest','UNAUTHENTICATED','LIVESHARE_NEW_HOST','createSocket','_doReset','open$','USER_NOT_INVITED_CODE','INGEST','HTTPService','SOCKET_FAILED','has','msCrypto','socket$','_loadSheet','csRejEvent','requireSession','_members$','JSONX','_nRounds','sessionStatus$','GLOBAL_ROOMS_CNT_EXCEEDS','mutations','Hex','_checkMissing','USERS_LEAVE','decryptBlock','AWAITING_WITH_PENDING','padding','_incrementRevisionNumber','range','error','generateRandomId','file','\x20in\x20_schedule.','enc','ISnapshotServerService','startTime','YUUMI_URL_COL_OUT_OF_RANGE','_scheduleCompleteTimestamp','ImageUploadStatusType','every','_oKey','_key','CollaborationStatus','Base64','_schedule','/fetchmissing?from=','CommandType','unsubscribe','selections','src','UniverCollaborationClientPlugin','_applyRemoteChangeset','words','_revisionService','pad','firstValueFrom','state$','charAt','AwaitingState','_transformRemoteChangesetByStateCache','IDLE','_disableEditing','changesets','Utf8','_hasher','SerializableCipher','_onCombEvent','getMember','commentUpdateEvent','delay','updateOfflineData','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','APPLY_PERMISSION_DENIED','mode','People','_localCacheService','SNAPSHOT_URL_KEY','setWaitCount','YUUMI_UNABLE_LOAD_URL','_clearTimeoutTimer','fetchMiss','send','_onConnectionFailed','name','_getCurrentRevision','LICENSE_IMPORT_SIZE_EXCEEDED','[CollaborationSession]','c2Prime','Failed\x20to\x20update\x20permission\x20point','enableSingleActiveInstanceLock','FetchingMissState','ISingleActiveUnitService','subUnitId','exports','MD5','responseType','merge','ILogService','update','toggleOffline','CBC','NOT_FOUND','hasOwnProperty','OpenSSL','shouldCloseConn','/object/','cmd','CipherParams','_injector','_changesetSessionId','getValue','complete','COMPRESS_MUTATION_SEND','_entityInit$','__creator','UNIVER_PROJECT','prototype','set','_toggleOnline','textEncoder','getCollabEntity','_type','onTransformRemoteChangesetByStateCache','COMMENT_UPDATE','_DEC_XFORM_MODE','href','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_initDependencies','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_timeoutTimer','csShouldRetryEvent','_cipher','\x20to\x20','method','_undoStacks','IImageIoService','CHANGESET_REJ','extend','_getRedoStack','FETCH_MISSING','add','_onLocalMutation','_initCloseConn','reconnect','joinRsp','then','ImageSourceType','CollaborationSession','_socketService','Univer','randomBytes','getImageSourceCache','default','editingUnit','_transformStateCache','substr','setCurrentUser','_onMessage','interceptor','ERROR_IMAGE','_transformService','newCsEvent','capture','PSEUDO_FETCH_MISSING_RESULT','deleteCollaborator','HttpImport','[CollaborationUndoRedoService]','_candidateSocket','_initRequestHeader','closeSession','registerHTTPInterceptor','getCollabEntity$','_waitForHeartbeatResponse','MUTATION','c1Prime','[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.','getRandomValues','unitID','Error\x20on\x20receiving\x20event','_tryReconnect','registerDependencies','$super','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LIVESHARE_REQUEST_HOST','mixIn','string','_throwTelemetryCollaborationNewChangeset','concatMap','floor','mapDocumentTypeToUniverType','loadDoc','_updateLocalCache','getResourcesRequest','EvpKDF','_onFetchMissResult','_initMergeInterceptor','_joinRoom','_httpService','&to=','_unitInfo$','createEncryptor','connection\x20error','json','_fetchMissChangesets','/universer-api/snapshot','data','/allowed','getCurrentSelections','ALREADY_EXISTS','target','_networkConditionService','LOGIN_URL_KEY','_handler','authzUrl','MSG_FOR_ERROR','OTHER_CLIENTS_EDITING','LICENSE_DISTRO_REJECTED','fetching\x20missing\x20changesets\x20from\x20','allowed','univer-pro.collaboration-client-socket-service','Base','_startCollaboration','RevisionService','session','CONFLICT','_keyPriorReset','event$','UserManagerService','socket\x20open.','image/png','avatar','_telemetryInfo','\x0aCurrent:\x20','collaboration-client.config','UPDATE_PERMISSION_OBJ','resend','updatePermissionObjEvent','OPTIONAL','[PendingState]:\x20received\x20rejection.','BlockCipherMode','/universer-api/user/session-ticket','UUID','/collaborator','not_collab','_commentService','dispose','localCacheService','@univerjs/telemetry','code','Decryptor','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','csAckEvent','_collaborationTimeoutTimer','BufferedBlockAlgorithm','retryConnectingInterval','getImage','debug','_commandService','HELLO','Cipher','getMemberID','onRemoteChangeset','UNDEFINED','_event$','_undoRedoService','addImageSourceCache','listCollaborators','_replayCachedMutations','_append','?url=','change$','_logService','copyFileMeta','UNIVER_SHEET','Encryptor','_loadDoc','LIVESHARE_FETCH_OPERATIONS','dispose$','[UniverCollaborationClientPlugin]','_sheetTransformSelectionsService','CompressMutationService','transformSelections','getSnapshotAPIPath','_invKeySchedule','_config','getTypeOfUnitAdded$','/new_changes','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ivSize','_getLoginPath','2368135bdWere','execute','_clearCollaborationTimeoutTimer','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','IAuthzIoService','Quantity','SNAPSHOT_INVALID_SNAPSHOT','snapshot','_clearRetryConnectingTimer','_createSocket','title','_onUserJoin','_retryCount','_doProcessBlock','compute','fetch_missing','collaborators','SNAPSHOT_SERVER_URL_KEY','onRemoteAck','CommentService','isInternalEditorID','_doFinalize','_prevBlock','filter','_commentUpdate$','SetSelectionsOperation','baseRev','_instanceService','pipe','ceil','_getCtorByUniverType','b64DecodeUnicode','COLLAB_SUBMIT_CHANGESET_URL','createInstance','_iv','values','length','DisposableCollection','isTransformMutationsWithChangesetSuccess','CollaborationEntity','_substituteRedoStack','[PendingState]:\x20unhandled\x20univer\x20type:\x20','unitId','getUnitType','UNIVER_UNKNOWN','crypto','routeKey','isArray','CollaborationController','size','unitId\x20is\x20not\x20found','_resendTimeout','Workbook','_localeService','FileId','_isPermissionRej','UnitSnapshot','UNIVER_SLIDE','PendingState','UNISCRIPT_RUN','loginUrlKey','_executeRemoteChangeset','Subject','_reverseMap','concat','CONNECTOR_DATA_TOO_LARGE','post','_removeRoom','_mode','listRoles','bind','COLLAB_SUBMIT_CHANGESET_URL_KEY','onCommentUpdate','UnitStatus','liveShareNewHost','UNKNOWN_CMD','SyncedState','YUUMI_SUBSCRIPTION_NOT_FOUND','_sendingTimer','transformChangesets','reduce','ERROR_IMAGE_TYPE','onMissedChangesetFetched','transformUndoRedo','sequenceExecute','format','_roomCreated$','_updateState','_transformSelections','StreamCipher','updateCollaborator','IPermissionService','_telemetryService','_iKey','location','getLatestCsReqIdBySid','awaitingChangeset','_socketMessageSubscription','_stopTelemetryCollaborationNewChangeset','online$','executeCommand','Pkcs7','EmptyMutation','HMAC','requestParams','Optional','roomInfos','rxjs/operators','MentionType','_acknowledgedAwaitingChangeset','ICollaborationSocketService','_replaceFileID','getRoom','DataLoaderService','_onRemoteRejected','parse','_resendWithTimeout','&source='];_0x27e2=function(){return _0x1c5369;};return _0x27e2();}const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0xeea7c7(0x16b)],ct;function tn(){return ct||(ct=0x1,function(_0x5e7af4,_0x51d561){(function(_0x5a365b,_0x35cec9){var _0x5aaf35=_0x37bc;_0x5e7af4[_0x5aaf35(0x16b)]=_0x35cec9(ee());}(en,function(_0x250877){var _0x4e99eb=_0x37bc;return(function(){var _0x4544f4=_0x37bc;if(typeof ArrayBuffer==_0x4544f4(0x3c7)){var _0x5d4f31=_0x250877,_0x212b29=_0x5d4f31[_0x4544f4(0x3c0)],_0xf3bec5=_0x212b29[_0x4544f4(0xba)],_0x190b8b=_0xf3bec5[_0x4544f4(0xae)],_0x1f331a=_0xf3bec5['init']=function(_0x1e9070){var _0x4e1026=_0x4544f4;if(_0x1e9070 instanceof ArrayBuffer&&(_0x1e9070=new Uint8Array(_0x1e9070)),(_0x1e9070 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1e9070 instanceof Uint8ClampedArray||_0x1e9070 instanceof Int16Array||_0x1e9070 instanceof Uint16Array||_0x1e9070 instanceof Int32Array||_0x1e9070 instanceof Uint32Array||_0x1e9070 instanceof Float32Array||_0x1e9070 instanceof Float64Array)&&(_0x1e9070=new Uint8Array(_0x1e9070[_0x4e1026(0xb1)],_0x1e9070['byteOffset'],_0x1e9070[_0x4e1026(0x334)])),_0x1e9070 instanceof Uint8Array){for(var _0x4d0082=_0x1e9070[_0x4e1026(0x334)],_0x2f8bf9=[],_0x5bf4bd=0x0;_0x5bf4bd<_0x4d0082;_0x5bf4bd++)_0x2f8bf9[_0x5bf4bd>>>0x2]|=_0x1e9070[_0x5bf4bd]<<0x18-_0x5bf4bd%0x4*0x8;_0x190b8b['call'](this,_0x2f8bf9,_0x4d0082);}else _0x190b8b[_0x4e1026(0x387)](this,arguments);};_0x1f331a['prototype']=_0xf3bec5;}}()),_0x250877[_0x4e99eb(0x3c0)][_0x4e99eb(0xba)];}));}(Re)),Re['exports'];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0xeea7c7(0x16b)],ht;function on(){var _0x17eb8e=_0xeea7c7;return ht||(ht=0x1,function(_0x1b0ad5,_0x271f76){(function(_0x38637d,_0x14d6c6,_0x242ee9){_0x1b0ad5['exports']=_0x14d6c6(ee(),Pt());}(sn,function(_0x2b62b0){var _0x2d3ae5=_0x37bc;return _0x2b62b0[_0x2d3ae5(0x143)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2b62b0['pad'][_0x2d3ae5(0x2d2)];}));}(Oe)),Oe[_0x17eb8e(0x16b)];}var an=on();const cn=Se(an);function hn(_0x9027e1,_0x3a9e9f){var _0x31f1e6=_0xeea7c7;const _0x432a2d=_0x3a9e9f-_0x9027e1[_0x31f1e6(0x254)]%_0x3a9e9f,_0x3ecc40=String['fromCharCode'](_0x432a2d)[_0x31f1e6(0x361)](_0x432a2d);return _0x9027e1+_0x3ecc40;}function _n(_0x231efe,_0x37fd9c){var _0x5937c=_0xeea7c7;const _0x70a557=rn[_0x5937c(0x3d8)](0x10),_0x403390=hn(_0x231efe,0x10),_0x1ff81c=qi[_0x5937c(0x2f0)](Qi['parse'](_0x403390),ot[_0x5937c(0x2a3)](_0x37fd9c),{'iv':_0x70a557,'padding':cn});return _0x70a557[_0x5937c(0x270)](_0x1ff81c[_0x5937c(0x9e)])['toString'](ot);}function ln(){var _0x68d70c=_0xeea7c7;const _0x536f3c=xt['getGlobalObject']()[_0x68d70c(0x393)];if(_0x536f3c){const _0x1faeaf={'time':Math['floor'](Date[_0x68d70c(0xcf)]()/0x3e8),'domain':location[_0x68d70c(0x34b)]};return _n(JSON['stringify'](_0x1faeaf),_0x536f3c);}}var un=Object[_0xeea7c7(0x2a7)],dn=(_0x5e0dff,_0x32221c,_0x1e35c3,_0x4615b9)=>{for(var _0xf14c4d=_0x4615b9>0x1?void 0x0:_0x4615b9?un(_0x32221c,_0x1e35c3):_0x32221c,_0xb4f5a7=_0x5e0dff['length']-0x1,_0x2d1cb4;_0xb4f5a7>=0x0;_0xb4f5a7--)(_0x2d1cb4=_0x5e0dff[_0xb4f5a7])&&(_0xf14c4d=_0x2d1cb4(_0xf14c4d)||_0xf14c4d);return _0xf14c4d;},vn=(_0x5e610c,_0x4daa28)=>(_0x583e59,_0x392923)=>_0x4daa28(_0x583e59,_0x392923,_0x5e610c);let Ne=class{constructor(_0x247c9c){var _0x2f1118=_0xeea7c7;this[_0x2f1118(0x1d3)]=_0x247c9c,this['_initRequestHeader']();}[_0xeea7c7(0x1b6)](){var _0x2eb675=_0xeea7c7;this[_0x2eb675(0x1d3)][_0x2eb675(0x1b8)]({'interceptor':(_0x5efaee,_0x2fb32b)=>{var _0x5ad3f9=_0x2eb675;const _0x21ae47=_0x5efaee[_0x5ad3f9(0x2c5)],_0x3fe40f=ln();return _0x3fe40f&&_0x21ae47[_0x5ad3f9(0x183)]('x-univer-host',_0x3fe40f),_0x2fb32b(_0x5efaee);}});}};Ne=dn([vn(0x0,a[_0xeea7c7(0xf1)](q['HTTPService']))],Ne);var Sn=Object[_0xeea7c7(0x2a7)],fn=(_0xa245ab,_0x4b841b,_0x5e9fb5,_0x4b9bc8)=>{var _0x1b361f=_0xeea7c7;for(var _0x3de915=_0x4b9bc8>0x1?void 0x0:_0x4b9bc8?Sn(_0x4b841b,_0x5e9fb5):_0x4b841b,_0x3ed692=_0xa245ab[_0x1b361f(0x254)]-0x1,_0x3211c1;_0x3ed692>=0x0;_0x3ed692--)(_0x3211c1=_0xa245ab[_0x3ed692])&&(_0x3de915=_0x3211c1(_0x3de915)||_0x3de915);return _0x3de915;},Me=(_0x3b3108,_0x393c9f)=>(_0x2b3c45,_0x2e5889)=>_0x393c9f(_0x2b3c45,_0x2e5889,_0x3b3108);exports[_0xeea7c7(0x2a1)]=class extends a['RxDisposable']{constructor(_0x532302,_0x45f3bd,_0x36631c){var _0x55b7df=_0xeea7c7;super(),A(this,_0x55b7df(0x1d5),new j['BehaviorSubject'](null)),A(this,'unitInfo$',this[_0x55b7df(0x1d5)]['asObservable']()),(this[_0x55b7df(0x21d)]=_0x532302,this['_snapshotService']=_0x45f3bd,this[_0x55b7df(0x159)]=_0x36631c);}async[_0xeea7c7(0x304)](_0x2177a5,_0x417339,_0x5ac943){var _0x3a53ec=_0xeea7c7;this[_0x3a53ec(0x1d5)][_0x3a53ec(0xe3)]({'unitId':_0x2177a5,'type':_0x417339,'subUnitId':_0x5ac943});let _0x19964e=null;switch(_0x417339){case X[_0x3a53ec(0x21f)]:{_0x19964e=await this[_0x3a53ec(0x119)](_0x2177a5);break;}case X['UNIVER_DOC']:{_0x19964e=await this[_0x3a53ec(0x221)](_0x2177a5);break;}default:{this[_0x3a53ec(0x21d)][_0x3a53ec(0x12a)]('[DataLoaderService]',_0x3a53ec(0x2e9));break;}}return _0x19964e;}async[_0xeea7c7(0x119)](_0x54f958){var _0x368f02=_0xeea7c7,_0x1d75a6;let _0x439ad4=0x0;const _0xc0f3ba=await((_0x1d75a6=this[_0x368f02(0x159)])==null?void 0x0:_0x1d75a6[_0x368f02(0x369)](_0x54f958));return _0xc0f3ba&&(_0xc0f3ba[_0x368f02(0x290)]||_0xc0f3ba[_0x368f02(0x121)]['length']!==0x0)&&(_0x439ad4=_0xc0f3ba[_0x368f02(0xea)]),_0x439ad4===0x0&&this[_0x368f02(0x21d)][_0x368f02(0x20e)](_0x368f02(0x31e),_0x368f02(0x301)),this[_0x368f02(0x33d)][_0x368f02(0x322)](_0x54f958,_0x439ad4);}async[_0xeea7c7(0x221)](_0x55a97b){var _0x26c188=_0xeea7c7,_0x14a01a;let _0x5cf70b=0x0;const _0x1d10ec=await((_0x14a01a=this[_0x26c188(0x159)])==null?void 0x0:_0x14a01a[_0x26c188(0x369)](_0x55a97b));return _0x1d10ec&&(_0x1d10ec['awaitingChangeset']||_0x1d10ec[_0x26c188(0x121)][_0x26c188(0x254)]!==0x0)&&(_0x5cf70b=_0x1d10ec[_0x26c188(0xea)]),_0x5cf70b===0x0&&this[_0x26c188(0x21d)][_0x26c188(0x20e)]('[DataLoaderService]',_0x26c188(0x301)),this[_0x26c188(0x33d)][_0x26c188(0x1cc)](_0x55a97b,_0x5cf70b);}},exports[_0xeea7c7(0x2a1)]=fn([Me(0x0,a[_0xeea7c7(0x16f)]),Me(0x1,a[_0xeea7c7(0xf1)](g[_0xeea7c7(0x93)])),Me(0x2,a['Optional'](z))],exports[_0xeea7c7(0x2a1)]);var pn=Object['getOwnPropertyDescriptor'],gn=(_0x33dbd6,_0x47b0bf,_0x37c8f8,_0x2bc944)=>{for(var _0x4dd823=_0x2bc944>0x1?void 0x0:_0x2bc944?pn(_0x47b0bf,_0x37c8f8):_0x47b0bf,_0xa77e5=_0x33dbd6['length']-0x1,_0x1f3eb0;_0xa77e5>=0x0;_0xa77e5--)(_0x1f3eb0=_0x33dbd6[_0xa77e5])&&(_0x4dd823=_0x1f3eb0(_0x4dd823)||_0x4dd823);return _0x4dd823;},xe=(_0x279e5c,_0x263077)=>(_0x16bb38,_0x599907)=>_0x263077(_0x16bb38,_0x599907,_0x279e5c);const In=[_0xeea7c7(0x1f3),_0xeea7c7(0x2f1),_0xeea7c7(0x312),_0xeea7c7(0x32f),'image/bmp'],mn=0x5*0x400*0x400,En='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Cn=_0xeea7c7(0x2af),Tn=_0xeea7c7(0x321),bn=_0xeea7c7(0x3cb);exports[_0xeea7c7(0xf2)]=class{constructor(_0x2094dc,_0x4aaa06,_0x354701){var _0x20b507=_0xeea7c7;A(this,'_waitCount',0x0),A(this,_0x20b507(0x394),new j['Subject']()),A(this,_0x20b507(0x21c),this[_0x20b507(0x394)]),A(this,'_imageSourceCache',new Map()),(this[_0x20b507(0x1d3)]=_0x2094dc,this[_0x20b507(0x33e)]=_0x4aaa06,this[_0x20b507(0x327)]=_0x354701);}[_0xeea7c7(0x15b)](_0x33765d){var _0x417b26=_0xeea7c7;this[_0x417b26(0x352)]=_0x33765d,this[_0x417b26(0x394)][_0x417b26(0xe3)](_0x33765d);}[_0xeea7c7(0x1a5)](_0x2dfb49,_0x4f3907){var _0x2a2a68=_0xeea7c7;if(_0x4f3907===J[_0x2a2a68(0x1a0)]['BASE64']){const _0x46ad0e=new Image();return _0x46ad0e[_0x2a2a68(0x13e)]=_0x2dfb49,_0x46ad0e;}return this[_0x2a2a68(0x101)][_0x2a2a68(0x328)](_0x2dfb49);}[_0xeea7c7(0x217)](_0x10c920,_0x36b884,_0x489e3e){var _0x4be6bb=_0xeea7c7;_0x36b884===J['ImageSourceType'][_0x4be6bb(0x36f)]||_0x489e3e==null||this[_0x4be6bb(0x101)]['set'](_0x10c920,_0x489e3e);}async[_0xeea7c7(0x20d)](_0x2f7e3a){var _0x525f0d=_0xeea7c7;try{const _0x360b2a=this[_0x525f0d(0x29f)](this[_0x525f0d(0x3aa)](),''+_0x2f7e3a),_0x2853bc=(await this[_0x525f0d(0x1d3)][_0x525f0d(0x328)](_0x360b2a))['body'];if(_0x2853bc[_0x525f0d(0x12a)]&&_0x2853bc['error']['code']===Ct['OK']){const _0x5728ce=new URL(_0x2853bc[_0x525f0d(0x300)],this[_0x525f0d(0x364)]())[_0x525f0d(0x2e7)]();return Promise['resolve'](_0x5728ce);}return Promise[_0x525f0d(0x3ef)](_0x2853bc['error']);}catch(_0x576c55){return Promise[_0x525f0d(0x3ef)](_0x576c55);}}async[_0xeea7c7(0x37f)](_0x95e040){var _0x2d8432=_0xeea7c7;let _0x5705a1='';if(!In[_0x2d8432(0x34c)](_0x95e040[_0x2d8432(0x2d0)]))return this[_0x2d8432(0x353)](),Promise[_0x2d8432(0x3ef)](new Error(J[_0x2d8432(0x133)][_0x2d8432(0x281)]));if(_0x95e040[_0x2d8432(0x261)]>mn)return this[_0x2d8432(0x353)](),Promise[_0x2d8432(0x3ef)](new Error(J['ImageUploadStatusType'][_0x2d8432(0x319)]));try{const _0x587a65=new FormData();_0x587a65[_0x2d8432(0xbd)](_0x2d8432(0x12c),_0x95e040);const _0x5678d0=this[_0x2d8432(0x327)][_0x2d8432(0x2bd)](),_0x5ba8b2=_0x5678d0==null?void 0x0:_0x5678d0['getUnitId']();if(!_0x5ba8b2)throw new Error(_0x2d8432(0x262));const _0x11d34a=this[_0x2d8432(0x8a)]()+_0x2d8432(0x329)+_0x95e040[_0x2d8432(0x261)]['toString']()+_0x2d8432(0x2a5)+Tt[_0x2d8432(0x32d)]+_0x2d8432(0x2b6)+encodeURIComponent(_0x5ba8b2),_0x4e41d3=await(await fetch(_0x11d34a,{'method':'POST','body':_0x587a65}))[_0x2d8432(0x1d8)]();if(typeof _0x4e41d3['FileId']!=_0x2d8432(0x1c7))return this[_0x2d8432(0x353)](),Promise[_0x2d8432(0x3ef)](new Error(J[_0x2d8432(0x133)][_0x2d8432(0x1ad)]));_0x5705a1=_0x4e41d3[_0x2d8432(0x266)];}catch{return this[_0x2d8432(0x353)](),Promise[_0x2d8432(0x3ef)](new Error(J[_0x2d8432(0x133)][_0x2d8432(0x1ad)]));}return new Promise((_0x2a28ab,_0x474b8b)=>{var _0x11ceab=_0x2d8432;const _0x341b8f=new FileReader();_0x341b8f['readAsDataURL'](_0x95e040),_0x341b8f[_0x11ceab(0x3cc)]=_0x20241b=>{var _0x2dc6fa=_0x11ceab,_0x223615;const _0x177ef1=(_0x223615=_0x20241b[_0x2dc6fa(0x1df)])==null?void 0x0:_0x223615[_0x2dc6fa(0xeb)];if(_0x177ef1==null){this[_0x2dc6fa(0x353)](),_0x474b8b(new Error(J[_0x2dc6fa(0x133)]['ERROR_IMAGE']));return;}const _0x5ae952=a[_0x2dc6fa(0x31a)][_0x2dc6fa(0x12b)](0x6);_0x2a28ab({'imageId':_0x5ae952,'imageSourceType':J[_0x2dc6fa(0x1a0)][_0x2dc6fa(0x1ff)],'source':_0x5705a1,'base64Cache':_0x177ef1,'status':J[_0x2dc6fa(0x133)][_0x2dc6fa(0x303)]}),this[_0x2dc6fa(0x353)]();};});}['_getUploadFileURL'](){var _0x5e4fae=_0xeea7c7,_0x31dd60,_0x5d3198;const _0x54eb56=this[_0x5e4fae(0x33e)][_0x5e4fae(0x39c)](En),_0x1eb2f6=this[_0x5e4fae(0x33e)]['getConfig'](Y);return(_0x5d3198=(_0x31dd60=_0x1eb2f6==null?void 0x0:_0x1eb2f6['uploadFileServerUrl'])!=null?_0x31dd60:_0x54eb56)!=null?_0x5d3198:Cn;}[_0xeea7c7(0x3aa)](){var _0x54e6e6=_0xeea7c7,_0x4bb29d,_0xf9a410;const _0x1941ac=this[_0x54e6e6(0x33e)][_0x54e6e6(0x39c)](Tn),_0x346f15=this['_configService']['getConfig'](Y);return(_0xf9a410=(_0x4bb29d=_0x346f15==null?void 0x0:_0x346f15['signUrlServerUrl'])!=null?_0x4bb29d:_0x1941ac)!=null?_0xf9a410:bn;}[_0xeea7c7(0x364)](){var _0x3ff697=_0xeea7c7,_0x55ffba;const _0x2c68f7=this[_0x3ff697(0x33e)][_0x3ff697(0x39c)](Y);return(_0x55ffba=_0x2c68f7==null?void 0x0:_0x2c68f7[_0x3ff697(0x2ac)])!=null?_0x55ffba:location[_0x3ff697(0x3e0)];}['_replaceFileID'](_0x4cd8dd,_0x38cda1){var _0x1c3b27=_0xeea7c7;return _0x4cd8dd['replace'](_0x1c3b27(0xfc),_0x38cda1);}[_0xeea7c7(0x353)](){var _0x730dec=_0xeea7c7;this[_0x730dec(0x352)]-=0x1,this[_0x730dec(0x394)]['next'](this[_0x730dec(0x352)]);}},exports[_0xeea7c7(0xf2)]=gn([xe(0x0,a['Inject'](q['HTTPService'])),xe(0x1,a['IConfigService']),xe(0x2,a[_0xeea7c7(0xf1)](a[_0xeea7c7(0x382)]))],exports[_0xeea7c7(0xf2)]);var Rn=Object['getOwnPropertyDescriptor'],On=(_0x5b7591,_0x3e51d7,_0x228760,_0x39a84f)=>{var _0x5c8244=_0xeea7c7;for(var _0x31b8f3=_0x39a84f>0x1?void 0x0:_0x39a84f?Rn(_0x3e51d7,_0x228760):_0x3e51d7,_0x462b24=_0x5b7591[_0x5c8244(0x254)]-0x1,_0x416519;_0x462b24>=0x0;_0x462b24--)(_0x416519=_0x5b7591[_0x462b24])&&(_0x31b8f3=_0x416519(_0x31b8f3)||_0x31b8f3);return _0x31b8f3;},_t=(_0x1c1162,_0x5c143d)=>(_0x5dd3bc,_0x3a193a)=>_0x5c143d(_0x5dd3bc,_0x3a193a,_0x1c1162);const yn='/universer-api/authz';exports[_0xeea7c7(0x84)]=class{constructor(_0x5a69cb,_0x701723){var _0x3dd70b=_0xeea7c7;this[_0x3dd70b(0x33e)]=_0x5a69cb,this[_0x3dd70b(0x360)]=_0x701723;}[_0xeea7c7(0x8d)](){var _0x40ca8f=_0xeea7c7,_0x161fda,_0x5ca026;const _0x33dbe4=this[_0x40ca8f(0x33e)]['getConfig'](Ge),_0x4716d8=this[_0x40ca8f(0x33e)][_0x40ca8f(0x39c)](Y);return(_0x5ca026=(_0x161fda=_0x4716d8==null?void 0x0:_0x4716d8['authzUrl'])!=null?_0x161fda:_0x33dbe4)!=null?_0x5ca026:yn;}async['list'](_0x5e7f3b){var _0x3a7b42=_0xeea7c7;const _0x525bd5=this['_getAPIPrefixPath']()+_0x3a7b42(0x200);return{'list':[{'title':_0x3a7b42(0x158),'mentions':(await this[_0x3a7b42(0x360)][_0x3a7b42(0x328)](_0x525bd5,{'params':{'objectID':_0x5e7f3b[_0x3a7b42(0x25a)],'unitID':_0x5e7f3b[_0x3a7b42(0x25a)]}}))[_0x3a7b42(0x2ad)][_0x3a7b42(0x240)][_0x3a7b42(0xad)](_0x38f690=>({'objectId':_0x38f690['id'],'name':_0x38f690['subject'][_0x3a7b42(0x161)],'metadata':{'icon':_0x38f690['subject'][_0x3a7b42(0x1f4)]},'label':_0x38f690['subject'][_0x3a7b42(0x161)],'objectType':a['MentionType'][_0x3a7b42(0xce)]})),'metadata':{},'type':a[_0x3a7b42(0x29c)]['PERSON']}]};}},exports[_0xeea7c7(0x84)]=On([_t(0x0,a[_0xeea7c7(0xf1)](a['IConfigService'])),_t(0x1,a['Inject'](q['HTTPService']))],exports[_0xeea7c7(0x84)]);var Nn=Object['getOwnPropertyDescriptor'],Dn=(_0xcd7609,_0x4a1c75,_0x10c1e,_0x94f428)=>{for(var _0xf609df=_0x94f428>0x1?void 0x0:_0x94f428?Nn(_0x4a1c75,_0x10c1e):_0x4a1c75,_0x45f012=_0xcd7609['length']-0x1,_0x1a0c26;_0x45f012>=0x0;_0x45f012--)(_0x1a0c26=_0xcd7609[_0x45f012])&&(_0xf609df=_0x1a0c26(_0xf609df)||_0xf609df);return _0xf609df;},ue=(_0x20f491,_0x1d2f4b)=>(_0x3f8b14,_0x3205ff)=>_0x1d2f4b(_0x3f8b14,_0x3205ff,_0x20f491);let De=class extends a[_0xeea7c7(0xd8)]{constructor(_0x4e67d2,_0x15e2b6,_0x152fb3,_0xdf106d,_0x4a60d0){var _0x16464c=_0xeea7c7;super(),this[_0x16464c(0x17a)]=_0x4e67d2,this[_0x16464c(0x327)]=_0x15e2b6,this[_0x16464c(0x302)]=_0x152fb3,this[_0x16464c(0xc2)]=_0xdf106d,this['_collaborationUIEventService']=_0x4a60d0,this[_0x16464c(0x2c6)](),this[_0x16464c(0x19c)]();}[_0xeea7c7(0x19c)](){var _0x4bb2f3=_0xeea7c7;const _0x5d51ea=async _0x3ac069=>{var _0x1c4c37=_0x37bc;(await this['_collaborationSessionService']['requireSession'](_0x3ac069))['event$'][_0x1c4c37(0x24c)](V['filter'](_0x318eed=>_0x318eed[_0x1c4c37(0x9c)]===g[_0x1c4c37(0x3bb)][_0x1c4c37(0x3b2)]),V[_0x1c4c37(0x370)](this[_0x1c4c37(0x223)]))[_0x1c4c37(0xc7)](_0xfd96a0=>{var _0xcd588a=_0x1c4c37;const _0x47c066=_0xfd96a0,{reason:_0xc55dc}=_0x47c066['data'];this['_collaborationUIEventService']['emitEvent']({'id':Q[_0xcd588a(0x2bb)],'data':_0xc55dc}),this[_0xcd588a(0x302)][_0xcd588a(0x375)](new Z['WorkbookEditablePermission'](_0x3ac069)['id'],!0x1),this[_0xcd588a(0xc2)]['closeSession'](_0x3ac069);});};j[_0x4bb2f3(0x16e)](this[_0x4bb2f3(0x327)][_0x4bb2f3(0x22b)](a[_0x4bb2f3(0xa9)][_0x4bb2f3(0x21f)]),this[_0x4bb2f3(0x327)][_0x4bb2f3(0x22b)](a['UniverInstanceType']['UNIVER_DOC']))[_0x4bb2f3(0x24c)](V[_0x4bb2f3(0xad)](_0x17cec9=>_0x17cec9[_0x4bb2f3(0xf9)]()),V['filter'](_0x3c1199=>!a[_0x4bb2f3(0x244)](_0x3c1199)),V[_0x4bb2f3(0x370)](this[_0x4bb2f3(0x223)]))['subscribe'](_0x3b9e9b=>{_0x5d51ea(_0x3b9e9b);});}[_0xeea7c7(0x2c6)](){var _0x24f59e=_0xeea7c7;const _0x5d42e0=async _0xc453a2=>{var _0x134e46=_0x37bc;const _0x568cd5=await this[_0x134e46(0xc2)][_0x134e46(0x11b)](_0xc453a2),_0x24766f=this['_injector'][_0x134e46(0x328)](Z[_0x134e46(0xde)]);_0x568cd5[_0x134e46(0x1f0)][_0x134e46(0x24c)](V[_0x134e46(0x247)](_0x1a94d9=>_0x1a94d9[_0x134e46(0x9c)]===g[_0x134e46(0x3bb)]['UPDATE_PERMISSION_OBJ']),V[_0x134e46(0x370)](this[_0x134e46(0x223)]))[_0x134e46(0xc7)](_0x105d63=>{var _0x1aab2d=_0x134e46;const _0x5c4b2e=_0x105d63,{objectId:_0x3cb165}=_0x5c4b2e[_0x1aab2d(0x1db)];_0x3cb165===_0xc453a2?_0x24766f[_0x1aab2d(0x81)](_0xc453a2):_0x24766f[_0x1aab2d(0x34e)](_0xc453a2,_0x3cb165);});};j[_0x24f59e(0x16e)](this[_0x24f59e(0x327)][_0x24f59e(0x22b)](a[_0x24f59e(0xa9)]['UNIVER_SHEET']))['pipe'](V[_0x24f59e(0xad)](_0x33af72=>_0x33af72[_0x24f59e(0xf9)]()),V[_0x24f59e(0x247)](_0x1d88f3=>!a[_0x24f59e(0x244)](_0x1d88f3)),V[_0x24f59e(0x370)](this[_0x24f59e(0x223)]))[_0x24f59e(0xc7)](_0x387eac=>{_0x5d42e0(_0x387eac);});}};De=Dn([ue(0x0,a[_0xeea7c7(0xf1)](a[_0xeea7c7(0xf8)])),ue(0x1,a[_0xeea7c7(0x382)]),ue(0x2,a[_0xeea7c7(0x28b)]),ue(0x3,a[_0xeea7c7(0xf1)](exports[_0xeea7c7(0x3fc)])),ue(0x4,a['Inject'](te))],De);var Un=Object['getOwnPropertyDescriptor'],An=(_0x3fdf42,_0x31849e,_0x3091f9,_0x27202d)=>{var _0x30a6e7=_0xeea7c7;for(var _0x346e61=_0x27202d>0x1?void 0x0:_0x27202d?Un(_0x31849e,_0x3091f9):_0x31849e,_0x20c3b2=_0x3fdf42[_0x30a6e7(0x254)]-0x1,_0x2bd00f;_0x20c3b2>=0x0;_0x20c3b2--)(_0x2bd00f=_0x3fdf42[_0x20c3b2])&&(_0x346e61=_0x2bd00f(_0x346e61)||_0x346e61);return _0x346e61;},lt=(_0x2c4c7f,_0x22cfb4)=>(_0x49d786,_0x25de44)=>_0x22cfb4(_0x49d786,_0x25de44,_0x2c4c7f);exports[_0xeea7c7(0x315)]=class{constructor(_0x263760,_0x1cb240){var _0x5b9989=_0xeea7c7;this['_configService']=_0x263760,this[_0x5b9989(0x1d3)]=_0x1cb240;}async[_0xeea7c7(0x2dd)](_0x22bbff,_0x4e7876){var _0x303d0a=_0xeea7c7,_0x4e549a;const {unitID:_0x3a7ed3,type:_0x54d83b,revision:_0x4215d6=0x0}=_0x4e7876,_0x1062a4=this[_0x303d0a(0x228)]()+'/'+_0x54d83b+_0x303d0a(0x386)+_0x3a7ed3+_0x303d0a(0x8e)+_0x4215d6,_0x314dfe=(await this[_0x303d0a(0x1d3)][_0x303d0a(0x328)](_0x1062a4))[_0x303d0a(0x2ad)],_0xb2a422=(_0x4e549a=_0x314dfe[_0x303d0a(0x237)])==null?void 0x0:_0x4e549a[_0x303d0a(0x9f)];if(_0xb2a422){const _0x49e073=_0xb2a422==null?void 0x0:_0xb2a422[_0x303d0a(0xef)],_0x26abff=g[_0x303d0a(0x185)][_0x303d0a(0x3e2)](g[_0x303d0a(0x24f)](_0x49e073));_0xb2a422['originalMeta']=_0x26abff,Object[_0x303d0a(0x33f)](_0xb2a422['sheets'])[_0x303d0a(0x34d)](([,_0x5e3479])=>{var _0xacca57=_0x303d0a;const _0x112940=_0x5e3479['originalMeta'],_0xf728a3=g['textEncoder'][_0xacca57(0x3e2)](g[_0xacca57(0x24f)](_0x112940));_0x5e3479[_0xacca57(0xef)]=_0xf728a3;});}return _0x314dfe;}async['getSheetBlock'](_0x5eb033,_0x580ea7){var _0x24bd20=_0xeea7c7;const {unitID:_0x5c39e4,type:_0x313315,blockID:_0x3091b0}=_0x580ea7,_0x4326a9=this[_0x24bd20(0xd5)]()+'/'+_0x313315+'/unit/'+_0x5c39e4+_0x24bd20(0x307)+_0x3091b0;return(await this[_0x24bd20(0x1d3)][_0x24bd20(0x328)](_0x4326a9))[_0x24bd20(0x2ad)];}async['getDeserializedSheetBlock'](_0x2621bb,_0x1fed39){var _0x5f3f49=_0xeea7c7;const {unitID:_0x4b16ce,type:_0x3f7199,blockID:_0x53fad8}=_0x1fed39,_0x5180cd=this['_getAPIPrefix']()+_0x5f3f49(0x307)+_0x3f7199+_0x5f3f49(0x386)+_0x4b16ce+_0x5f3f49(0x307)+_0x53fad8;return(await this[_0x5f3f49(0x1d3)][_0x5f3f49(0x328)](_0x5180cd))[_0x5f3f49(0x2ad)];}async[_0xeea7c7(0xb4)](_0xa1de51,_0x32a0d2){var _0x26ce36=_0xeea7c7;const {unitID:_0x39b010,type:_0x528e6a,from:_0x52e15a,to:_0x2b6973}=_0x32a0d2,_0x24f238=this['_getAPIPrefix']()+'/'+_0x528e6a+_0x26ce36(0x386)+_0x39b010+_0x26ce36(0x13a)+_0x52e15a+_0x26ce36(0x1d4)+_0x2b6973;return(await this[_0x26ce36(0x1d3)]['get'](_0x24f238))[_0x26ce36(0x2ad)];}[_0xeea7c7(0x228)](){var _0x1fdb1d=_0xeea7c7,_0x3d6f7c;return(_0x3d6f7c=this[_0x1fdb1d(0x33e)]['getConfig'](vt))!=null?_0x3d6f7c:this[_0x1fdb1d(0xd5)]();}[_0xeea7c7(0xd5)](){var _0xa480e8=_0xeea7c7,_0x4cc235,_0x38d491;const _0x111580=this[_0xa480e8(0x33e)][_0xa480e8(0x39c)](dt),_0x4933b3=this[_0xa480e8(0x33e)][_0xa480e8(0x39c)](Y);return(_0x38d491=(_0x4cc235=_0x4933b3==null?void 0x0:_0x4933b3[_0xa480e8(0x2cf)])!=null?_0x4cc235:_0x111580)!=null?_0x38d491:kt;}async[_0xeea7c7(0x1ce)](_0x5b48b3,_0x59fa73){var _0x56a8bc=_0xeea7c7;const _0x5f19e8=_0x56a8bc(0xfd)+_0x59fa73[_0x56a8bc(0x2d0)]+_0x56a8bc(0x386)+_0x59fa73[_0x56a8bc(0x1bf)]+_0x56a8bc(0x2b2);return(await this['_httpService'][_0x56a8bc(0x328)](_0x5f19e8,{'params':{'resourceId':JSON[_0x56a8bc(0x2b3)](_0x59fa73[_0x56a8bc(0x368)])}}))[_0x56a8bc(0x2ad)];}[_0xeea7c7(0x2eb)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x55069d=_0xeea7c7;throw new Error(_0x55069d(0x30d));}[_0xeea7c7(0xb6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xeea7c7(0x21e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xeea7c7(0x28f)](){var _0x302b79=_0xeea7c7;throw new Error(_0x302b79(0x30d));}},exports['SnapshotServerOverHTTPService']=An([lt(0x0,a[_0xeea7c7(0xca)]),lt(0x1,a[_0xeea7c7(0xf1)](q[_0xeea7c7(0x114)]))],exports[_0xeea7c7(0x315)]);var Pn=Object[_0xeea7c7(0x2a7)],wn=(_0x118964,_0x127b1a,_0x573b9d,_0x4d2c0f)=>{var _0x4cfd74=_0xeea7c7;for(var _0x5ebb3e=_0x4d2c0f>0x1?void 0x0:_0x4d2c0f?Pn(_0x127b1a,_0x573b9d):_0x127b1a,_0x2c0d27=_0x118964[_0x4cfd74(0x254)]-0x1,_0x14f35d;_0x2c0d27>=0x0;_0x2c0d27--)(_0x14f35d=_0x118964[_0x2c0d27])&&(_0x5ebb3e=_0x14f35d(_0x5ebb3e)||_0x5ebb3e);return _0x5ebb3e;},de=(_0xe33817,_0x1fded5)=>(_0x397415,_0x2e25e5)=>_0x1fded5(_0x397415,_0x2e25e5,_0xe33817);exports[_0xeea7c7(0x83)]=class extends a['LocalUndoRedoService']{constructor(_0x1e9351,_0x53550e,_0x1073a7,_0x3332e2,_0x5c8d4d){var _0x1ae9cf=_0xeea7c7;super(_0x1e9351,_0x53550e,_0x1073a7),this['_transformService']=_0x3332e2,this[_0x1ae9cf(0x21d)]=_0x5c8d4d;}[_0xeea7c7(0x283)](_0x2c4890,_0x3c5066){var _0x57c9cb=_0xeea7c7;const _0x2f89d7=this[_0x57c9cb(0x39d)](_0x2c4890);if(_0x2f89d7)try{const _0x23faf7=this['_transformStack'](_0x2f89d7,_0x3c5066);this['_substituteUndoStack'](_0x2c4890,_0x23faf7);}catch(_0x4c5213){this[_0x57c9cb(0x21d)][_0x57c9cb(0x12a)](_0x57c9cb(0x1b4),_0x4c5213),this[_0x57c9cb(0x30e)](_0x2c4890);}const _0x4f12e6=this[_0x57c9cb(0x198)](_0x2c4890);if(_0x4f12e6)try{const _0x26ab34=this[_0x57c9cb(0xe7)](_0x4f12e6,_0x3c5066);this[_0x57c9cb(0x258)](_0x2c4890,_0x26ab34);}catch(_0x30d6fe){this[_0x57c9cb(0x21d)][_0x57c9cb(0x12a)](_0x30d6fe),this[_0x57c9cb(0x2cd)](_0x2c4890);}}['_clearUndo'](_0x91b672){var _0x1430fe=_0xeea7c7;const _0x5ad6ae=this['_getUndoStack'](_0x91b672);_0x5ad6ae&&(_0x5ad6ae['length']=0x0,this[_0x1430fe(0x3ba)]());}['_clearRedo'](_0x27996f){var _0x1a42d5=_0xeea7c7;const _0x4515fc=this[_0x1a42d5(0x198)](_0x27996f);_0x4515fc&&(_0x4515fc['length']=0x0,this[_0x1a42d5(0x3ba)]());}[_0xeea7c7(0x324)](_0x2e56c7,_0x2fdf5e){var _0x19ebf7=_0xeea7c7;this[_0x19ebf7(0x194)][_0x19ebf7(0x183)](_0x2e56c7,_0x2fdf5e),this['_updateStatus']();}[_0xeea7c7(0x258)](_0x2577e6,_0x3626d3){var _0x33d8ed=_0xeea7c7;this[_0x33d8ed(0x381)][_0x33d8ed(0x183)](_0x2577e6,_0x3626d3),this['_updateStatus']();}[_0xeea7c7(0xe7)](_0x33caaa,_0x4e4aca){var _0x7e2480=_0xeea7c7;const _0x4f00c5=[];let _0x2acced=_0x4e4aca,_0x308c99=_0x4e4aca;for(let _0x381657=_0x33caaa[_0x7e2480(0x254)]-0x1;_0x381657>=0x0;_0x381657--){const {unitID:_0x1b7484,undoMutations:_0x4eff98,redoMutations:_0x4c2bfd}=_0x33caaa[_0x381657],_0x380b65=this['_transformService'][_0x7e2480(0x87)](_0x2acced,_0x4eff98),_0x21cd38=this[_0x7e2480(0x1ae)][_0x7e2480(0x87)](_0x308c99,_0x4c2bfd);if(g[_0x7e2480(0x38a)](_0x380b65)||g[_0x7e2480(0x38a)](_0x21cd38)){this['_logService'][_0x7e2480(0x12a)](_0x7e2480(0x1b4),'transformStack\x20failed!',_0x380b65,_0x21cd38);break;}_0x2acced=_0x380b65[_0x7e2480(0x1bc)],_0x308c99=_0x21cd38['c1Prime'],_0x4f00c5[_0x7e2480(0x38e)]({'unitID':_0x1b7484,'undoMutations':_0x380b65[_0x7e2480(0x3c3)],'redoMutations':_0x21cd38[_0x7e2480(0x3c3)]});}return _0x4f00c5[_0x7e2480(0x3a6)]();}},exports[_0xeea7c7(0x83)]=wn([de(0x0,a[_0xeea7c7(0x382)]),de(0x1,a[_0xeea7c7(0x3a3)]),de(0x2,a[_0xeea7c7(0x3d9)]),de(0x3,g[_0xeea7c7(0x3f1)]),de(0x4,a[_0xeea7c7(0x16f)])],exports['CollaborativeUndoRedoService']);var Ln=Object['defineProperty'],Mn=Object[_0xeea7c7(0x2a7)],xn=(_0x3b0b66,_0x2677bf,_0x3226c4)=>_0x2677bf in _0x3b0b66?Ln(_0x3b0b66,_0x2677bf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3226c4}):_0x3b0b66[_0x2677bf]=_0x3226c4,kn=(_0x18cf84,_0x428d03,_0x45eecd,_0x239839)=>{var _0x3b3f69=_0xeea7c7;for(var _0x4cb06a=_0x239839>0x1?void 0x0:_0x239839?Mn(_0x428d03,_0x45eecd):_0x428d03,_0x72ba9e=_0x18cf84[_0x3b3f69(0x254)]-0x1,_0x27b9d5;_0x72ba9e>=0x0;_0x72ba9e--)(_0x27b9d5=_0x18cf84[_0x72ba9e])&&(_0x4cb06a=_0x27b9d5(_0x4cb06a)||_0x4cb06a);return _0x4cb06a;},ke=(_0x490a5d,_0x49aa33)=>(_0x293a3f,_0x41a863)=>_0x49aa33(_0x293a3f,_0x41a863,_0x490a5d),Hn=(_0x2a32ae,_0x2aa213,_0x5eae54)=>xn(_0x2a32ae,_0x2aa213+'',_0x5eae54);const jn='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0xeea7c7(0x13f)]=class extends a['Plugin']{constructor(_0x18fed6,_0x5a4a9b,_0x414efe,_0x495e88){var _0x25a62e=_0xeea7c7;super(),A(this,_0x25a62e(0x22a)),(this[_0x25a62e(0x21d)]=_0x5a4a9b,this[_0x25a62e(0x17a)]=_0x414efe,this[_0x25a62e(0x33e)]=_0x495e88);const {..._0x4df145}=a[_0x25a62e(0x16e)]({},Jt,_0x18fed6);if(!_0x4df145['socketService'])throw new Error(_0x25a62e(0x354));this['_config']=_0x4df145,this[_0x25a62e(0x33e)]['setConfig'](Y,_0x4df145);}[_0xeea7c7(0x310)](){var _0x295dc9=_0xeea7c7;this[_0x295dc9(0x33a)](),this[_0x295dc9(0x18d)]();}[_0xeea7c7(0x33a)](){var _0x2f88df=_0xeea7c7,_0x18fad4,_0x4fa61d;this[_0x2f88df(0x17a)][_0x2f88df(0x116)](a[_0x2f88df(0x3cf)])&&this[_0x2f88df(0x21d)][_0x2f88df(0x12a)](_0x2f88df(0x224),_0x2f88df(0x208));const _0x78f391=a['mergeOverrideWithDependencies']([[a[_0x2f88df(0x3cf)],{'useClass':exports[_0x2f88df(0x83)]}],[exports[_0x2f88df(0x3fc)]],[exports[_0x2f88df(0x3b6)]],[exports[_0x2f88df(0x2ec)]],[ye],[Ne],[Be],[De],[te],[exports[_0x2f88df(0x2a1)]],[$e,{'useClass':this[_0x2f88df(0x22a)]['socketService']}],[g[_0x2f88df(0x12f)],{'useClass':exports[_0x2f88df(0x315)]}],[a[_0x2f88df(0x234)],{'useClass':exports['AuthzIoHttpService']}],[J[_0x2f88df(0x195)],{'useClass':exports[_0x2f88df(0xf2)]}],[a[_0x2f88df(0xc0)],{'useClass':exports[_0x2f88df(0x84)]}],[exports[_0x2f88df(0x260)]],[He]],(_0x18fad4=this[_0x2f88df(0x22a)])==null?void 0x0:_0x18fad4['override']);if(!((_0x4fa61d=this[_0x2f88df(0x22a)])!=null&&_0x4fa61d[_0x2f88df(0x167)])){const _0x17ee4d=_0x78f391['findIndex'](([_0x491662])=>_0x491662===ve);_0x17ee4d!==-0x1&&_0x78f391[_0x2f88df(0x311)](_0x17ee4d,0x1);}a[_0x2f88df(0x1c2)](this['_injector'],_0x78f391);}[_0xeea7c7(0x18d)](){var _0xeebab3=_0xeea7c7,_0x2511e6,_0x2e8597,_0x7549ea;this['_injector']['get'](q[_0xeebab3(0x114)])[_0xeebab3(0x1b8)]({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x2511e6=this[_0xeebab3(0x22a)])!=null&&_0x2511e6[_0xeebab3(0x3d5)]||(_0x2e8597=this[_0xeebab3(0x17a)][_0xeebab3(0x328)](z,a[_0xeebab3(0x235)][_0xeebab3(0x1fb)]))==null||_0x2e8597[_0xeebab3(0x39f)](),(_0x7549ea=this['_config'])!=null&&_0x7549ea['enableAuthServer']&&a['touchDependencies'](this[_0xeebab3(0x17a)],[[ye]]),a['touchDependencies'](this[_0xeebab3(0x17a)],[[Ne],[exports['CollaborationController']],[De]]);}},Hn(exports[_0xeea7c7(0x13f)],_0xeea7c7(0x2c3),jn),exports[_0xeea7c7(0x13f)]=kn([a[_0xeea7c7(0x2ee)](g[_0xeea7c7(0x3c2)],q['UniverNetworkPlugin']),ke(0x1,a[_0xeea7c7(0x16f)]),ke(0x2,a[_0xeea7c7(0xf1)](a[_0xeea7c7(0xf8)])),ke(0x3,a[_0xeea7c7(0xca)])],exports[_0xeea7c7(0x13f)]),exports[_0xeea7c7(0x377)]=Ge,exports[_0xeea7c7(0x155)]=Y,exports[_0xeea7c7(0x277)]=mt,exports[_0xeea7c7(0xd0)]=St,exports[_0xeea7c7(0x137)]=Ve,exports['CollaborationUIEventId']=Q,exports['CollaborationUIEventService']=te,exports[_0xeea7c7(0x243)]=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ft,exports[_0xeea7c7(0x1c4)]=zt,exports[_0xeea7c7(0x3af)]=$t,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports['HEARTBEAT_TIMEOUT_KEY']=je,exports[_0xeea7c7(0x29e)]=$e,exports['ILocalCacheService']=z,exports[_0xeea7c7(0x88)]=bt,exports[_0xeea7c7(0x169)]=ve,exports[_0xeea7c7(0x32c)]=Gt,exports[_0xeea7c7(0x2fb)]=Wt,exports['LOGIN_URL_KEY']=Et,exports[_0xeea7c7(0x342)]=qt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=It,exports['SEND_CHANGESET_TIMEOUT_KEY']=Ht,exports[_0xeea7c7(0x241)]=dt,exports[_0xeea7c7(0x15a)]=vt,exports['SessionStatus']=se,exports[_0xeea7c7(0x279)]=Fe,exports[_0xeea7c7(0x344)]=Rt,exports[_0xeea7c7(0x3f6)]=vi,exports[_0xeea7c7(0x10c)]=Ot;
|