@univerjs-pro/collaboration-client 0.6.10-nightly.202504171607 → 0.6.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x529853=_0x4573;(function(_0x419a2c,_0x1dfaa3){var _0xfbf514=_0x4573,_0x55f8b3=_0x419a2c();while(!![]){try{var _0x412ad6=-parseInt(_0xfbf514(0x3f7))/0x1*(parseInt(_0xfbf514(0x37d))/0x2)+parseInt(_0xfbf514(0x2fa))/0x3*(-parseInt(_0xfbf514(0x347))/0x4)+parseInt(_0xfbf514(0x1ea))/0x5+parseInt(_0xfbf514(0xd8))/0x6+parseInt(_0xfbf514(0x370))/0x7*(-parseInt(_0xfbf514(0x350))/0x8)+parseInt(_0xfbf514(0x109))/0x9+parseInt(_0xfbf514(0x330))/0xa*(-parseInt(_0xfbf514(0x31b))/0xb);if(_0x412ad6===_0x1dfaa3)break;else _0x55f8b3['push'](_0x55f8b3['shift']());}catch(_0xcee28d){_0x55f8b3['push'](_0x55f8b3['shift']());}}}(_0x44ed,0x6bcb4));var wt=Object[_0x529853(0x207)],Lt=(_0x474e5a,_0x25c532,_0x12f15f)=>_0x25c532 in _0x474e5a?wt(_0x474e5a,_0x25c532,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12f15f}):_0x474e5a[_0x25c532]=_0x12f15f,A=(_0x55f795,_0x5df420,_0xb017ef)=>Lt(_0x55f795,typeof _0x5df420!=_0x529853(0x2b0)?_0x5df420+'':_0x5df420,_0xb017ef);Object[_0x529853(0x207)](exports,Symbol['toStringTag'],{'value':_0x529853(0x185)});const a=require(_0x529853(0x19d)),j=require('rxjs'),V=require(_0x529853(0x17e)),g=require(_0x529853(0x16e)),q=require('@univerjs/network'),Mt=require('@univerjs/telemetry'),ut=require('@univerjs/docs'),Z=require(_0x529853(0x3bd)),J=require('@univerjs/drawing'),xt=require(_0x529853(0x248)),dt=_0x529853(0xcc),kt=_0x529853(0x3c2),vt=_0x529853(0x11c),Ht=_0x529853(0x25b),jt=0x7d0,St=_0x529853(0x325),ft=_0x529853(0x28c),$t=_0x529853(0x180),pt=_0x529853(0x212),Bt=0x7530,je=_0x529853(0x142),gt=0x4e20,Ft=0x4e20,It=_0x529853(0x307),Vt=0x3,Wt=_0x529853(0x233),Gt=0x3e8,mt=_0x529853(0x300),Kt='/universer-api/comb',Et=_0x529853(0x332),Yt='/universer-api/oidc/authpage',qt=_0x529853(0x218),zt=_0x529853(0x3d0);var Ct=(_0xc090d7=>(_0xc090d7[_0xc090d7[_0x529853(0x2b2)]=0x0]='UNDEFINED',_0xc090d7[_0xc090d7['OK']=0x1]='OK',_0xc090d7[_0xc090d7['INTERNAL_ERROR']=0x2]=_0x529853(0x27a),_0xc090d7[_0xc090d7['PERMISSION_DENIED']=0x3]=_0x529853(0x1ac),_0xc090d7[_0xc090d7['NOT_FOUND']=0x4]=_0x529853(0x2a8),_0xc090d7[_0xc090d7[_0x529853(0x2f6)]=0x5]=_0x529853(0x2f6),_0xc090d7[_0xc090d7['ALREADY_EXISTS']=0x6]=_0x529853(0x167),_0xc090d7[_0xc090d7[_0x529853(0x381)]=0x7]='INVALID_ARGUMENT',_0xc090d7[_0xc090d7[_0x529853(0x3b8)]=0x8]='TOO_MANY_REQUESTS',_0xc090d7[_0xc090d7[_0x529853(0x39f)]=0x9]='COMPLETION_FINISHED',_0xc090d7[_0xc090d7[_0x529853(0xbf)]=0xa]=_0x529853(0xbf),_0xc090d7[_0xc090d7[_0x529853(0x1f3)]=0x1389]=_0x529853(0x1f3),_0xc090d7[_0xc090d7['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x529853(0xae),_0xc090d7[_0xc090d7['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x529853(0x177),_0xc090d7[_0xc090d7[_0x529853(0x382)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xc090d7[_0xc090d7[_0x529853(0x254)]=0x1b59]=_0x529853(0x254),_0xc090d7[_0xc090d7[_0x529853(0x3e3)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xc090d7[_0xc090d7[_0x529853(0xd5)]=0x1b5b]=_0x529853(0xd5),_0xc090d7[_0xc090d7['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0xc090d7[_0xc090d7[_0x529853(0x2fb)]=0x1b5d]=_0x529853(0x2fb),_0xc090d7[_0xc090d7[_0x529853(0x88)]=0x1f41]=_0x529853(0x88),_0xc090d7[_0xc090d7[_0x529853(0x8c)]=0x2329]=_0x529853(0x8c),_0xc090d7[_0xc090d7[_0x529853(0x20b)]=0x232a]=_0x529853(0x20b),_0xc090d7[_0xc090d7[_0x529853(0x243)]=0x232b]=_0x529853(0x243),_0xc090d7[_0xc090d7[_0x529853(0x1b6)]=0x232c]=_0x529853(0x1b6),_0xc090d7[_0xc090d7['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0xc090d7[_0xc090d7[_0x529853(0x283)]=0x2711]=_0x529853(0x283),_0xc090d7[_0xc090d7[_0x529853(0x3ab)]=0x2712]=_0x529853(0x3ab),_0xc090d7[_0xc090d7['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x529853(0x2ed),_0xc090d7[_0xc090d7['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x529853(0x241),_0xc090d7[_0xc090d7[_0x529853(0x9e)]=0x271a]=_0x529853(0x9e),_0xc090d7[_0xc090d7[_0x529853(0x2ae)]=0x271b]=_0x529853(0x2ae),_0xc090d7[_0xc090d7[_0x529853(0x94)]=0x2af9]=_0x529853(0x94),_0xc090d7[_0xc090d7[_0x529853(0x1f7)]=0x2ee1]=_0x529853(0x1f7),_0xc090d7[_0xc090d7[_0x529853(0x3e1)]=0x2ee2]=_0x529853(0x3e1),_0xc090d7[_0xc090d7['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0xc090d7[_0xc090d7[_0x529853(0xcf)]=0x2ee4]=_0x529853(0xcf),_0xc090d7[_0xc090d7[_0x529853(0x194)]=0x2ee5]=_0x529853(0x194),_0xc090d7[_0xc090d7['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xc090d7[_0xc090d7[_0x529853(0xb9)]=0x32ca]=_0x529853(0xb9),_0xc090d7[_0xc090d7[_0x529853(0x19e)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xc090d7[_0xc090d7[_0x529853(0x306)]=-0x1]=_0x529853(0x306),_0xc090d7))(Ct||{}),X=(_0x895f6b=>(_0x895f6b[_0x895f6b['UNIVER_UNKNOWN']=0x0]=_0x529853(0x242),_0x895f6b[_0x895f6b[_0x529853(0x22c)]=0x1]=_0x529853(0x22c),_0x895f6b[_0x895f6b[_0x529853(0x112)]=0x2]=_0x529853(0x112),_0x895f6b[_0x895f6b[_0x529853(0xa0)]=0x3]=_0x529853(0xa0),_0x895f6b[_0x895f6b[_0x529853(0x135)]=0x4]=_0x529853(0x135),_0x895f6b[_0x895f6b['UNRECOGNIZED']=-0x1]=_0x529853(0x306),_0x895f6b))(X||{}),W=(_0x41b127=>(_0x41b127[_0x41b127[_0x529853(0x104)]=0x0]='UNKNOWN_CMD',_0x41b127[_0x41b127[_0x529853(0x13f)]=0x1]=_0x529853(0x13f),_0x41b127[_0x41b127[_0x529853(0x2de)]=0x2]=_0x529853(0x2de),_0x41b127[_0x41b127[_0x529853(0xb1)]=0x3]=_0x529853(0xb1),_0x41b127[_0x41b127[_0x529853(0x30b)]=0x4]=_0x529853(0x30b),_0x41b127[_0x41b127[_0x529853(0x3ca)]=0x5]=_0x529853(0x3ca),_0x41b127[_0x41b127['RECV']=0x6]=_0x529853(0x211),_0x41b127[_0x41b127[_0x529853(0x306)]=-0x1]=_0x529853(0x306),_0x41b127))(W||{}),ae=(_0x51f92f=>(_0x51f92f[_0x51f92f[_0x529853(0x2f5)]=0x0]='UNKNOWN_CODE',_0x51f92f[_0x51f92f['OK']=0x1]='OK',_0x51f92f[_0x51f92f[_0x529853(0x388)]=0x2]=_0x529853(0x388),_0x51f92f[_0x51f92f[_0x529853(0x120)]=0x3e9]=_0x529853(0x120),_0x51f92f[_0x51f92f[_0x529853(0x1ff)]=0x3ea]=_0x529853(0x1ff),_0x51f92f[_0x51f92f[_0x529853(0xaf)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x51f92f[_0x51f92f[_0x529853(0x339)]=0x3ec]=_0x529853(0x339),_0x51f92f[_0x51f92f[_0x529853(0x306)]=-0x1]=_0x529853(0x306),_0x51f92f))(ae||{}),Tt=(_0x426af9=>(_0x426af9[_0x426af9[_0x529853(0x2cf)]=0x0]=_0x529853(0x2cf),_0x426af9[_0x426af9['HttpImport']=0x1]=_0x529853(0x15f),_0x426af9[_0x426af9[_0x529853(0xbd)]=0x2]=_0x529853(0xbd),_0x426af9[_0x426af9[_0x529853(0x33f)]=0x3]='UnitEmbedded',_0x426af9[_0x426af9[_0x529853(0x363)]=0x4]=_0x529853(0x363),_0x426af9[_0x426af9[_0x529853(0xb5)]=0x5]='UserProfileImg',_0x426af9[_0x426af9[_0x529853(0x306)]=-0x1]=_0x529853(0x306),_0x426af9))(Tt||{});const Y=_0x529853(0x308),Jt={};var Q=(_0x5a7aeb=>(_0x5a7aeb[_0x529853(0x1ad)]=_0x529853(0x1ad),_0x5a7aeb['PERMISSION_DENIED']=_0x529853(0x1ac),_0x5a7aeb['CONFLICT']='CONFLICT',_0x5a7aeb[_0x529853(0x390)]=_0x529853(0x390),_0x5a7aeb['JOIN_ROOM_FAILED']=_0x529853(0x184),_0x5a7aeb['SOCKET_FAILED_RETRY']=_0x529853(0x22a),_0x5a7aeb['SOCKET_FAILED']=_0x529853(0x2d8),_0x5a7aeb['SUBMIT_CHANGESET_TIMEOUT']=_0x529853(0xfd),_0x5a7aeb))(Q||{});class te{constructor(){var _0x12df52=_0x529853;A(this,'_event$',new j[(_0x12df52(0x29c))]()),A(this,_0x12df52(0x14e),this[_0x12df52(0x357)]['asObservable']());}[_0x529853(0x122)](_0x1ec43c){var _0x414047=_0x529853;this[_0x414047(0x357)][_0x414047(0x1a0)](_0x1ec43c);}}const bt=a[_0x529853(0x34e)](_0x529853(0x124));function Rt(_0x53642a){var _0x5e7ddf=_0x529853,_0x501d3b,_0x238a1b,_0x546b14,_0x230c43,_0x374e68;const _0x138452=_0x53642a['data'],_0x4f0734=JSON[_0x5e7ddf(0x36b)](_0x138452);switch(_0x4f0734['cmd']){case W[_0x5e7ddf(0x3ca)]:case W['HELLO']:{const _0xe4a552=_0x4f0734[_0x5e7ddf(0xed)];return{..._0x4f0734,'data':_0xe4a552,'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};}case W[_0x5e7ddf(0x2de)]:{const _0x345554=_0x4f0734['joinRsp'];return{..._0x4f0734,'data':_0x345554,'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};}case W[_0x5e7ddf(0x211)]:{const _0x4ca775=_0x4f0734[_0x5e7ddf(0x384)];switch(_0x4ca775[_0x5e7ddf(0x3a0)]){case g['CollaborationEvent']['PERMISSION_REJ']:return{..._0x4f0734,'data':{..._0x4ca775,'data':(_0x501d3b=_0x4ca775[_0x5e7ddf(0x285)])==null?void 0x0:_0x501d3b['cs']},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g['CollaborationEvent']['CHANGESET_ACK']:return{..._0x4f0734,'data':{..._0x4ca775,'data':(_0x238a1b=_0x4ca775[_0x5e7ddf(0x2ee)])==null?void 0x0:_0x238a1b['cs']},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)][_0x5e7ddf(0x29d)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':(_0x546b14=_0x4ca775['newCsEvent'])==null?void 0x0:_0x546b14['cs']},'cmd':_0x4f0734['cmd']};case g[_0x5e7ddf(0x160)]['CHANGESET_REJ']:return{..._0x4f0734,'data':{..._0x4ca775,'data':(_0x230c43=_0x4ca775['csRejEvent'])==null?void 0x0:_0x230c43['cs']},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)]['CHANGESET_SHOULD_RETRY']:return{..._0x4f0734,'data':{..._0x4ca775,'data':(_0x374e68=_0x4ca775[_0x5e7ddf(0x3cd)])==null?void 0x0:_0x374e68['cs']},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)][_0x5e7ddf(0x106)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x178)]},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)][_0x5e7ddf(0x179)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x322)]},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)]['USERS_LEAVE']:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x2d9)]},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)][_0x5e7ddf(0x3f8)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x2c3)]},'cmd':_0x4f0734['cmd']};case g[_0x5e7ddf(0x160)][_0x5e7ddf(0x2d7)]:case g['CollaborationEvent'][_0x5e7ddf(0xc9)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x311)]},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)][_0x5e7ddf(0x100)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x2c3)]},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g['CollaborationEvent'][_0x5e7ddf(0x227)]:return{..._0x4f0734,'data':_0x4ca775,'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g['CollaborationEvent'][_0x5e7ddf(0x3b3)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x9d)]},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)][_0x5e7ddf(0x132)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x236)]},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g['CollaborationEvent'][_0x5e7ddf(0xc3)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x1f0)]},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)][_0x5e7ddf(0x19b)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775['uniscriptRunEvent']},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};default:return _0x4f0734;}}default:return _0x4f0734;}}function Ot(_0x3c3463){var _0x4b51b8=_0x529853;switch(_0x3c3463[_0x4b51b8(0xd9)]){case W[_0x4b51b8(0x3ca)]:case W[_0x4b51b8(0x13f)]:return JSON[_0x4b51b8(0x2cc)]({'cmd':_0x3c3463['cmd'],'routeKey':_0x3c3463['routeKey']});case W[_0x4b51b8(0x30b)]:{let _0x1b1680;switch(_0x3c3463[_0x4b51b8(0x14f)]['eventID']){case g[_0x4b51b8(0x160)][_0x4b51b8(0x106)]:{_0x1b1680={'eventID':g[_0x4b51b8(0x160)][_0x4b51b8(0x106)],'updateCursorEvent':_0x3c3463[_0x4b51b8(0x14f)][_0x4b51b8(0x14f)]};break;}case g[_0x4b51b8(0x160)]['USERS_LEAVE']:{_0x1b1680={'eventID':g[_0x4b51b8(0x160)][_0x4b51b8(0xc7)],'leaveEvent':_0x3c3463['data'][_0x4b51b8(0x14f)]};break;}case g['CollaborationEvent'][_0x4b51b8(0x179)]:{_0x1b1680={'eventID':g[_0x4b51b8(0x160)][_0x4b51b8(0x179)],'joinEvent':_0x3c3463[_0x4b51b8(0x14f)][_0x4b51b8(0x14f)]};break;}case g[_0x4b51b8(0x160)]['LIVESHARE_NEW_HOST']:{_0x1b1680={'eventID':g[_0x4b51b8(0x160)][_0x4b51b8(0x3f8)],'liveShareNewHost':_0x3c3463[_0x4b51b8(0x14f)][_0x4b51b8(0x14f)]};break;}case g[_0x4b51b8(0x160)]['LIVESHARE_OPERATION']:{_0x1b1680={'eventID':g[_0x4b51b8(0x160)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x3c3463[_0x4b51b8(0x14f)][_0x4b51b8(0x14f)]};break;}case g[_0x4b51b8(0x160)][_0x4b51b8(0x100)]:{_0x1b1680={'eventID':g[_0x4b51b8(0x160)][_0x4b51b8(0x100)],'liveShareTerminate':_0x3c3463[_0x4b51b8(0x14f)][_0x4b51b8(0x14f)]};break;}case g[_0x4b51b8(0x160)][_0x4b51b8(0x3a4)]:{_0x1b1680={'eventID':g[_0x4b51b8(0x160)][_0x4b51b8(0x3a4)],'liveShareRequestHost':_0x3c3463[_0x4b51b8(0x14f)][_0x4b51b8(0x14f)]};break;}case g['CollaborationEvent'][_0x4b51b8(0x2d7)]:{_0x1b1680={'eventID':g['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x1b1680={'eventID':_0x3c3463[_0x4b51b8(0x14f)][_0x4b51b8(0x3a0)]};}return JSON[_0x4b51b8(0x2cc)]({'cmd':_0x3c3463[_0x4b51b8(0xd9)],'routeKey':_0x3c3463[_0x4b51b8(0x210)],'collaMsg':_0x1b1680});}case W[_0x4b51b8(0x2de)]:return JSON[_0x4b51b8(0x2cc)]({'cmd':_0x3c3463[_0x4b51b8(0xd9)],'routeKey':_0x3c3463[_0x4b51b8(0x210)],'joinReq':_0x3c3463[_0x4b51b8(0x14f)]});case W['LEAVE']:return JSON[_0x4b51b8(0x2cc)]({'cmd':_0x3c3463['cmd'],'routeKey':_0x3c3463[_0x4b51b8(0x210)],'leaveReq':_0x3c3463[_0x4b51b8(0x14f)]});default:throw new Error(_0x4b51b8(0x288));}}var Xt=Object[_0x529853(0x28b)],Zt=(_0x2bb3d5,_0x2d8e8c,_0x10ae48,_0x1bf8fb)=>{var _0x24ffc3=_0x529853;for(var _0x139684=_0x1bf8fb>0x1?void 0x0:_0x1bf8fb?Xt(_0x2d8e8c,_0x10ae48):_0x2d8e8c,_0x3bc43f=_0x2bb3d5[_0x24ffc3(0x102)]-0x1,_0x623c11;_0x3bc43f>=0x0;_0x3bc43f--)(_0x623c11=_0x2bb3d5[_0x3bc43f])&&(_0x139684=_0x623c11(_0x139684)||_0x139684);return _0x139684;},le=(_0x14d0f7,_0x57586e)=>(_0x42ca8d,_0x3dc5ba)=>_0x57586e(_0x42ca8d,_0x3dc5ba,_0x14d0f7);const $e=a[_0x529853(0x34e)](_0x529853(0x301));function Qt(_0x369302,_0x1d6d97,_0x32084c){var _0x2f3836=_0x529853;return _0x369302+'/'+_0x1d6d97+'/unit/'+_0x32084c+_0x2f3836(0x354);}exports[_0x529853(0x3fb)]=class extends a['Disposable']{constructor(_0xc09426,_0x1a1299,_0x138207,_0x892ce,_0x12fb4c){var _0x252dd7=_0x529853;super(),this['_injector']=_0xc09426,this['_httpService']=_0x1a1299,this[_0x252dd7(0x3d7)]=_0x138207,this[_0x252dd7(0x1cc)]=_0x892ce,this[_0x252dd7(0x12e)]=_0x12fb4c;}[_0x529853(0x374)](_0x4f4e47){var _0x1e8fd8=_0x529853;const _0xe94c66=this['_injector'][_0x1e8fd8(0x2e6)](q['ISocketService']);if(!_0xe94c66)throw new Error(_0x1e8fd8(0x2db));const _0x229d7f=_0xe94c66[_0x1e8fd8(0x13c)](_0x4f4e47);if(!_0x229d7f)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x54fb89=new a[(_0x1e8fd8(0x3c4))](),_0x37aa06=new j[(_0x1e8fd8(0x29c))]();_0x54fb89[_0x1e8fd8(0x2bf)](_0x229d7f[_0x1e8fd8(0x3a1)][_0x1e8fd8(0x176)](_0x13f243=>_0x37aa06[_0x1e8fd8(0x1a0)](_0x13f243))),_0x54fb89[_0x1e8fd8(0x2bf)](a[_0x1e8fd8(0x161)](()=>_0x37aa06[_0x1e8fd8(0x2bd)]()));const _0x1f4681=new j['Subject']();_0x54fb89[_0x1e8fd8(0x2bf)](_0x229d7f[_0x1e8fd8(0x1c8)]['subscribe'](_0x309991=>_0x1f4681[_0x1e8fd8(0x1a0)](_0x309991))),_0x54fb89[_0x1e8fd8(0x2bf)](a['toDisposable'](()=>_0x1f4681[_0x1e8fd8(0x2bd)]()));const _0x13f205=new j[(_0x1e8fd8(0x29c))]();_0x54fb89['add'](_0x229d7f[_0x1e8fd8(0xc4)][_0x1e8fd8(0x176)](_0x3293e4=>{const _0x1d03e2=Rt(_0x3293e4);_0x13f205['next'](_0x1d03e2);})),_0x54fb89[_0x1e8fd8(0x2bf)](a[_0x1e8fd8(0x161)](()=>_0x13f205[_0x1e8fd8(0x2bd)]()));let _0xd8f60;const _0x4dda85=()=>{var _0x15a235=_0x1e8fd8;_0x1f4681[_0x15a235(0x1a0)](new Event(_0x15a235(0x20f))),_0x37aa06[_0x15a235(0x1a0)](new Event('connection\x20error')),_0xd8f60['close']();};return _0xd8f60={'memberID':'','close$':_0x37aa06['asObservable'](),'error$':_0x1f4681[_0x1e8fd8(0xb8)](),'open$':_0x229d7f[_0x1e8fd8(0x11d)],'message$':_0x13f205[_0x1e8fd8(0xb8)](),'send':_0x5634f2=>{var _0x2722cc=_0x1e8fd8;if(_0x5634f2[_0x2722cc(0xd9)]===W[_0x2722cc(0x30b)]){if(_0x5634f2[_0x2722cc(0x14f)][_0x2722cc(0x3a0)]===g[_0x2722cc(0x160)]['SUBMIT_CHANGESET']){this[_0x2722cc(0x92)](_0xd8f60,_0x5634f2[_0x2722cc(0x14f)])['catch'](_0x5b9d7d=>{var _0x1f7526=_0x2722cc;this[_0x1f7526(0x1cc)][_0x1f7526(0x1da)](_0x5b9d7d),_0x4dda85();});return;}if(_0x5634f2['data'][_0x2722cc(0x3a0)]===g[_0x2722cc(0x160)][_0x2722cc(0x118)]){const _0x425273=_0x5634f2[_0x2722cc(0x14f)];this[_0x2722cc(0x3fc)](_0x425273)[_0x2722cc(0x3dc)](_0x3f1404=>{var _0x1d7346=_0x2722cc;_0x13f205[_0x1d7346(0x1a0)]({'cmd':W['RECV'],'code':ae['OK'],'routeKey':_0x425273['data']['unitID'],'routeType':'','data':{'eventID':g['CollaborationEvent'][_0x1d7346(0x32b)],'data':{'changesets':_0x3f1404}}});})[_0x2722cc(0xf3)](_0x317b1c=>{var _0x504fa5=_0x2722cc;this[_0x504fa5(0x1cc)][_0x504fa5(0x1da)](_0x317b1c),_0x4dda85();});return;}}_0x229d7f['send'](Ot(_0x5634f2));},'close':()=>{var _0x1bf327=_0x1e8fd8;_0x229d7f[_0x1bf327(0x20e)](),_0x54fb89[_0x1bf327(0x1d2)]();}},_0xd8f60;}async[_0x529853(0x92)](_0x218035,_0xdfa59){var _0x65a9d=_0x529853,_0x40f705,_0x16ecd8;const {unitType:_0x266f04,unitID:_0x4138cb,changeset:_0x11eda2}=_0xdfa59['data'],_0x21d6f3={'unitID':_0x4138cb,'memberID':_0x218035['memberID'],'type':_0x266f04,'changeset':g[_0x65a9d(0x239)](_0x11eda2)},_0x21d075=this['_configService']['getConfig'](mt),_0x196ea8=this[_0x65a9d(0x3d7)][_0x65a9d(0x2bb)](Y),_0x63f880=Qt((_0x16ecd8=(_0x40f705=_0x196ea8==null?void 0x0:_0x196ea8[_0x65a9d(0xef)])!=null?_0x40f705:_0x21d075)!=null?_0x16ecd8:Kt,_0x266f04,_0x4138cb);try{await this[_0x65a9d(0x361)][_0x65a9d(0x11a)](_0x63f880,{'body':_0x21d6f3});}catch(_0x43d925){throw this[_0x65a9d(0x1cc)][_0x65a9d(0x1da)](_0x65a9d(0x28d),_0x65a9d(0x1e1)),_0x43d925;}}async['_fetchMissChangesets'](_0x2a126e){var _0x11aa94=_0x529853;const {unitID:_0x32defb,from:_0x1a0a00,to:_0x86e30b,unitType:_0xe3c47a}=_0x2a126e[_0x11aa94(0x14f)];return(await this[_0x11aa94(0x12e)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x32defb,'type':_0xe3c47a,'from':_0x1a0a00,'to':_0x86e30b}))['changesets'];}},exports[_0x529853(0x3fb)]=Zt([le(0x0,a[_0x529853(0x105)](a[_0x529853(0x203)])),le(0x1,a[_0x529853(0x105)](q[_0x529853(0x294)])),le(0x2,a[_0x529853(0x1d9)]),le(0x3,a['ILogService']),le(0x4,g['ISnapshotServerService'])],exports['CollaborationSocketService']);const ei=_0x529853(0xbb);function ti(_0x7336e9){var _0x5af8c2=_0x529853;return JSON[_0x5af8c2(0x2cc)](_0x7336e9)[_0x5af8c2(0x102)];}class Be{constructor(){var _0x530cc9=_0x529853;A(this,_0x530cc9(0x22d),new j[(_0x530cc9(0x29c))]()),A(this,_0x530cc9(0x3df),this['_commentUpdate$'][_0x530cc9(0xb8)]());}[_0x529853(0x340)](_0x5335e6){var _0x7c13ab=_0x529853;this[_0x7c13ab(0x22d)]['next'](_0x5335e6);}}var ii=Object[_0x529853(0x28b)],ni=(_0xf1d02e,_0x419386,_0x3f562d,_0x28bba2)=>{for(var _0x5646e0=_0x28bba2>0x1?void 0x0:_0x28bba2?ii(_0x419386,_0x3f562d):_0x419386,_0x23949b=_0xf1d02e['length']-0x1,_0x2b0da0;_0x23949b>=0x0;_0x23949b--)(_0x2b0da0=_0xf1d02e[_0x23949b])&&(_0x5646e0=_0x2b0da0(_0x5646e0)||_0x5646e0);return _0x5646e0;},Ke=(_0x185e02,_0x3241f2)=>(_0x25d783,_0x12e21d)=>_0x3241f2(_0x25d783,_0x12e21d,_0x185e02);exports['MemberService']=class extends a['Disposable']{constructor(_0x16285d,_0x2e18cd){var _0x3ba33e=_0x529853;super(),A(this,_0x3ba33e(0xf6),new Map()),A(this,'_roomCreated$',new j[(_0x3ba33e(0x29c))]()),(this['_univerInstanceService']=_0x16285d,this[_0x3ba33e(0x23f)]=_0x2e18cd,this[_0x3ba33e(0x156)](j[_0x3ba33e(0x32e)](this[_0x3ba33e(0x107)][_0x3ba33e(0x3af)](a[_0x3ba33e(0x3eb)][_0x3ba33e(0x112)])[_0x3ba33e(0x78)](V['map'](_0x2225d8=>_0x2225d8[_0x3ba33e(0x136)]())),this[_0x3ba33e(0x107)][_0x3ba33e(0x3af)](a[_0x3ba33e(0x3eb)][_0x3ba33e(0x22c)])[_0x3ba33e(0x78)](V[_0x3ba33e(0x3e5)](_0x3cca9a=>_0x3cca9a[_0x3ba33e(0x136)]())),this['_univerInstanceService'][_0x3ba33e(0x3af)](a['UniverInstanceType'][_0x3ba33e(0xa0)])['pipe'](V[_0x3ba33e(0x3e5)](_0x579a16=>_0x579a16[_0x3ba33e(0x136)]())))[_0x3ba33e(0x176)](_0x214314=>this['_removeRoom'](_0x214314))));}[_0x529853(0x10c)](_0x12752f){var _0xf3f22=_0x529853;return this['_roomMembers']['has'](_0x12752f)?j['of'](this[_0xf3f22(0xf6)][_0xf3f22(0x2e6)](_0x12752f)):this[_0xf3f22(0x34a)][_0xf3f22(0x78)](V[_0xf3f22(0x3e5)](_0x1ec66e=>{var _0x10023f=_0xf3f22;if(_0x1ec66e===_0x12752f)return this['_roomMembers'][_0x10023f(0x2e6)](_0x1ec66e);}));}[_0x529853(0x223)](_0x662b1f){var _0xa15deb=_0x529853;this[_0xa15deb(0x23f)][_0xa15deb(0x223)](_0x662b1f);}[_0x529853(0x17c)](){return this['_userManagerService']['getCurrentUser']();}[_0x529853(0x2e9)](_0x526375,_0x58ddf7){var _0x360544=_0x529853;let _0x22d4f0=this['_roomMembers'][_0x360544(0x2e6)](_0x526375);_0x22d4f0||(_0x22d4f0=new ri(),this[_0x360544(0xf6)][_0x360544(0x3f5)](_0x526375,_0x22d4f0),this[_0x360544(0x34a)]['next'](_0x526375)),_0x22d4f0['updateMember'](_0x58ddf7);}[_0x529853(0x2b1)](_0x36cad2,_0x2dd8e3){var _0x3ff502=_0x529853;const _0x26862a=this[_0x3ff502(0xf6)]['get'](_0x36cad2);_0x26862a&&_0x26862a[_0x3ff502(0x2b1)](_0x2dd8e3);}[_0x529853(0x245)](_0x17a2f0){var _0x34f5a5=_0x529853;return this[_0x34f5a5(0xf6)]['get'](_0x17a2f0);}[_0x529853(0x235)](_0x571cdb,_0x57ff07){var _0x4eb55f=_0x529853;const _0x3f5fdb=this['_roomMembers'][_0x4eb55f(0x2e6)](_0x571cdb);if(_0x3f5fdb)return _0x3f5fdb[_0x4eb55f(0x235)](_0x57ff07);}[_0x529853(0x13b)](_0x465866){var _0x458dfa=_0x529853;const _0x31d8d2=this[_0x458dfa(0xf6)][_0x458dfa(0x2e6)](_0x465866);_0x31d8d2&&(_0x31d8d2[_0x458dfa(0x1d2)](),this[_0x458dfa(0xf6)][_0x458dfa(0xe3)](_0x465866));}[_0x529853(0x1d2)](){var _0x2caf89=_0x529853;this['_roomMembers']['forEach'](_0x13d6f6=>_0x13d6f6[_0x2caf89(0x1d2)]()),this[_0x2caf89(0xf6)][_0x2caf89(0x29b)](),this['_roomCreated$'][_0x2caf89(0x2bd)]();}},exports['MemberService']=ni([Ke(0x0,a[_0x529853(0x249)]),Ke(0x1,a[_0x529853(0x105)](a[_0x529853(0x1f9)]))],exports['MemberService']);class ri extends a[_0x529853(0x205)]{constructor(){var _0xc39944=_0x529853;super(...arguments),A(this,_0xc39944(0x3aa),new Map()),A(this,'_members$',new j[(_0xc39944(0x39e))](this[_0xc39944(0x3aa)])),A(this,'members$',this[_0xc39944(0x39b)][_0xc39944(0xb8)]());}['dispose'](){var _0x40889b=_0x529853;this[_0x40889b(0x3aa)][_0x40889b(0x29b)]();}['updateMember'](_0x4aa793){var _0x1d7f35=_0x529853;this[_0x1d7f35(0x3aa)]['set'](_0x4aa793[_0x1d7f35(0x343)],_0x4aa793),this['_emitMembers']();}[_0x529853(0x2b1)](_0x6079c2){var _0x1ec3ee=_0x529853;this[_0x1ec3ee(0x3aa)][_0x1ec3ee(0xe3)](_0x6079c2);}['getMember'](_0xc09efb){var _0x324c0f=_0x529853;return this[_0x324c0f(0x3aa)]['get'](_0xc09efb);}[_0x529853(0x219)](){var _0x540912=_0x529853;return Array[_0x540912(0x380)](this[_0x540912(0x3aa)][_0x540912(0x26a)]());}[_0x529853(0x364)](){var _0x51d6fa=_0x529853;this['_members$'][_0x51d6fa(0x1a0)](this[_0x51d6fa(0x3aa)]);}}var si=Object['getOwnPropertyDescriptor'],oi=(_0x9a8d2d,_0x3f0139,_0x286558,_0xdbb494)=>{var _0x4f53fd=_0x529853;for(var _0x21147e=_0xdbb494>0x1?void 0x0:_0xdbb494?si(_0x3f0139,_0x286558):_0x3f0139,_0x5a635d=_0x9a8d2d[_0x4f53fd(0x102)]-0x1,_0x1863df;_0x5a635d>=0x0;_0x5a635d--)(_0x1863df=_0x9a8d2d[_0x5a635d])&&(_0x21147e=_0x1863df(_0x21147e)||_0x21147e);return _0x21147e;},oe=(_0x5e2411,_0x46a9c1)=>(_0x5bab69,_0x47e535)=>_0x46a9c1(_0x5bab69,_0x47e535,_0x5e2411),se=(_0x1d8801=>(_0x1d8801[_0x1d8801['IDLE']=0x0]=_0x529853(0x141),_0x1d8801[_0x1d8801[_0x529853(0x3a7)]=0x1]='JOINING',_0x1d8801[_0x1d8801[_0x529853(0x22e)]=0x2]=_0x529853(0x22e),_0x1d8801[_0x1d8801[_0x529853(0x1b8)]=0x3]=_0x529853(0x1b8),_0x1d8801))(se||{});const Ye={[ae['FAIL']]:'session.join-failed',[ae[_0x529853(0x120)]]:'session.room-full',[ae[_0x529853(0x1ff)]]:'session.room-not-exists',[ae['JOIN_ROOM_PERMISSION_DENIED']]:_0x529853(0x127),[ae[_0x529853(0x339)]]:'session.room-cnt-exceeds'};exports[_0x529853(0x398)]=class extends a[_0x529853(0x3a6)]{constructor(_0x285e15,_0x5c02ea,_0x3eca6c,_0x57a5d3,_0x5cd2a6,_0x8bbf74,_0x16372d,_0x878bec,_0x4282b7){var _0x385042=_0x529853;super(),A(this,_0x385042(0x25f),new j[(_0x385042(0x39e))](0x0)),A(this,_0x385042(0x31f),this[_0x385042(0x25f)]['asObservable']()),A(this,_0x385042(0x357),new j[(_0x385042(0x29c))]()),A(this,_0x385042(0x14e),this['_event$'][_0x385042(0xb8)]()),A(this,_0x385042(0x1e6)),A(this,_0x385042(0x2c4)),A(this,_0x385042(0x335)),A(this,_0x385042(0x30c),!0x1),A(this,_0x385042(0x323),null),(this['_unitID']=_0x285e15,this[_0x385042(0x1cc)]=_0x3eca6c,this[_0x385042(0x3d7)]=_0x57a5d3,this[_0x385042(0x2a2)]=_0x5cd2a6,this[_0x385042(0x1ef)]=_0x8bbf74,this[_0x385042(0x91)]=_0x16372d,this[_0x385042(0x309)]=_0x878bec,this['_telemetryService']=_0x4282b7,this[_0x385042(0x30c)]=!!this[_0x385042(0x3d6)],_0x5c02ea[_0x385042(0x78)](j[_0x385042(0x34f)](this['dispose$']))[_0x385042(0x176)](_0x4f4d0f=>{var _0x38fe2d=_0x385042,_0x30c081;typeof _0x4f4d0f>'u'||(this[_0x38fe2d(0x1e6)]=_0x4f4d0f,_0x4f4d0f?(this['_joinRoom'](_0x4f4d0f),this[_0x38fe2d(0x2c4)]=_0x4f4d0f[_0x38fe2d(0xc4)]['subscribe'](_0x1c1cc1=>{var _0x5ee936=_0x38fe2d;_0x1c1cc1[_0x5ee936(0x210)]===this[_0x5ee936(0x292)]&&this[_0x5ee936(0x320)](_0x1c1cc1);})):(this[_0x38fe2d(0x35e)](),this[_0x38fe2d(0x25f)][_0x38fe2d(0x1a0)](0x2),(_0x30c081=this[_0x38fe2d(0x2c4)])==null||_0x30c081[_0x38fe2d(0x192)](),this[_0x38fe2d(0x2c4)]=null));}));}get[_0x529853(0x165)](){var _0x128715=_0x529853;return this[_0x128715(0x25f)]['getValue']();}[_0x529853(0x37c)](){var _0x27b030=_0x529853,_0xaefbb7,_0x5350cd;return(_0x5350cd=(_0xaefbb7=this[_0x27b030(0x1e6)])==null?void 0x0:_0xaefbb7[_0x27b030(0x343)])!=null?_0x5350cd:null;}[_0x529853(0x1d2)](){var _0x460bee=_0x529853;super['dispose'](),this[_0x460bee(0x35b)]['next'](),this[_0x460bee(0x35b)][_0x460bee(0x2bd)]();}['close'](){var _0x4bcafa=_0x529853,_0x1064ac,_0x9aee34;this[_0x4bcafa(0x35e)](),(_0x1064ac=this[_0x4bcafa(0x1e6)])==null||_0x1064ac[_0x4bcafa(0x1f4)]({'cmd':W[_0x4bcafa(0xb1)],'data':{'roomID':this[_0x4bcafa(0x292)]}}),(_0x9aee34=this[_0x4bcafa(0x1e6)])==null||_0x9aee34['close'](),this[_0x4bcafa(0x357)]['complete'](),this[_0x4bcafa(0x25f)][_0x4bcafa(0x2bd)](),this['dispose']();}[_0x529853(0x320)](_0xaeca88){var _0x7faba2=_0x529853;_0xaeca88[_0x7faba2(0xd9)]===W[_0x7faba2(0x2de)]?this[_0x7faba2(0x164)](_0xaeca88):_0xaeca88[_0x7faba2(0xd9)]===W['RECV']&&this['_onRecvEvent'](_0xaeca88);}[_0x529853(0x2a0)](_0x1af541){var _0xa8f1a=_0x529853;this[_0xa8f1a(0x25f)][_0xa8f1a(0x1a0)](0x1),_0x1af541['send']({'cmd':W[_0xa8f1a(0x2de)],'routeKey':this[_0xa8f1a(0x292)],'routeType':'','data':{'rooms':[{'roomID':this[_0xa8f1a(0x292)]}]}});}[_0x529853(0x164)](_0x54be93){var _0x4737b1=_0x529853,_0x1e9712;if(_0x54be93[_0x4737b1(0x2e4)]in Ye){this['_collaborationUIEventService'][_0x4737b1(0x122)]({'id':Q[_0x4737b1(0x184)],'data':Ye[_0x54be93['code']]}),this[_0x4737b1(0x25f)]['next'](0x2);return;}this[_0x4737b1(0x25f)]['next'](0x3);const _0x44f1ef=(_0x1e9712=_0x54be93['data'][_0x4737b1(0x3c7)][this[_0x4737b1(0x292)]])==null?void 0x0:_0x1e9712[_0x4737b1(0xe7)];_0x44f1ef&&_0x44f1ef[_0x4737b1(0x26d)](_0x11adac=>this[_0x4737b1(0x1ef)][_0x4737b1(0x2e9)](this[_0x4737b1(0x292)],_0x11adac));}[_0x529853(0x131)](_0x5c8981){var _0x2c02fc=_0x529853;try{const _0x12a53e=_0x5c8981[_0x2c02fc(0x14f)];switch(_0x12a53e[_0x2c02fc(0x3a0)]){case g[_0x2c02fc(0x160)][_0x2c02fc(0x179)]:this[_0x2c02fc(0x1a3)](_0x12a53e),this[_0x2c02fc(0x357)][_0x2c02fc(0x1a0)](_0x12a53e);break;case g[_0x2c02fc(0x160)][_0x2c02fc(0xc7)]:this[_0x2c02fc(0x321)](_0x12a53e),this[_0x2c02fc(0x357)]['next'](_0x12a53e);break;case g[_0x2c02fc(0x160)][_0x2c02fc(0x1a6)]:case g[_0x2c02fc(0x160)][_0x2c02fc(0x1b2)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x2c02fc(0x357)][_0x2c02fc(0x1a0)](_0x12a53e);break;case g[_0x2c02fc(0x160)][_0x2c02fc(0x227)]:this['_logService'][_0x2c02fc(0x1da)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x12a53e)),this['_event$']['next'](_0x12a53e);break;case g[_0x2c02fc(0x160)][_0x2c02fc(0x3b3)]:this['_commentService'][_0x2c02fc(0x340)](_0x12a53e[_0x2c02fc(0x14f)]),this[_0x2c02fc(0x357)]['next'](_0x12a53e);break;default:this[_0x2c02fc(0x357)]['next'](_0x12a53e);}}catch(_0x5e8367){this[_0x2c02fc(0x1cc)]['error'](_0x5e8367,_0x5c8981);}}[_0x529853(0x1a3)](_0x236cf6){var _0x155a1e=_0x529853;this[_0x155a1e(0x1ef)][_0x155a1e(0x2e9)](this[_0x155a1e(0x292)],_0x236cf6[_0x155a1e(0x14f)]);}[_0x529853(0x321)](_0x10185a){var _0x52e477=_0x529853;this['_memberService']['removeMember'](this['_unitID'],_0x10185a[_0x52e477(0x14f)][_0x52e477(0x343)]);}async[_0x529853(0x1f4)](_0x375a0a,_0x5d6e96){var _0x1bac1f=_0x529853;if(this[_0x1bac1f(0x165)]!==0x3||!this[_0x1bac1f(0x1e6)])throw new Error(_0x1bac1f(0x348));try{_0x375a0a[_0x1bac1f(0x3a0)]===g[_0x1bac1f(0x160)][_0x1bac1f(0x3a2)]&&(this[_0x1bac1f(0x29f)](),this[_0x1bac1f(0x146)](_0x375a0a)),this[_0x1bac1f(0x1e6)][_0x1bac1f(0x1f4)]({'cmd':W[_0x1bac1f(0x30b)],'routeKey':_0x5d6e96,'routeType':'','data':_0x375a0a});}catch(_0x341ffa){this[_0x1bac1f(0x1cc)]['error'](_0x341ffa);}}['_scheduleCollaborationTimeoutTimer'](){var _0x55f472=_0x529853,_0x34a064;this[_0x55f472(0x335)]=setTimeout(()=>{var _0x5c0dab=_0x55f472;this[_0x5c0dab(0x335)]=null,this[_0x5c0dab(0x309)][_0x5c0dab(0x122)]({'id':Q[_0x5c0dab(0xfd)]});},(_0x34a064=this[_0x55f472(0x3d7)]['getConfig'](je))!=null?_0x34a064:gt);}['_clearCollaborationTimeoutTimer'](){var _0x35ead1=_0x529853;this[_0x35ead1(0x335)]&&(clearTimeout(this[_0x35ead1(0x335)]),this[_0x35ead1(0x335)]=null);}[_0x529853(0x146)](_0x34c1ae){var _0x379426=_0x529853;if(!this['_shouldReportTelemetry'])return;const {data:_0x4bb67b}=_0x34c1ae,{unitID:_0x29e785,changeset:_0x49f430}=_0x4bb67b,{mutations:_0x45e97f,type:_0x5715eb}=_0x49f430;this[_0x379426(0x323)]={'unitId':_0x29e785,'type':_0x5715eb,'startTime':performance[_0x379426(0x344)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x45e97f)};}['_stopTelemetryCollaborationNewChangeset'](){var _0xd8866c=_0x529853;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0xd8866c(0x1cc)][_0xd8866c(0x1da)](_0xd8866c(0x28d),_0xd8866c(0xfc));return;}this[_0xd8866c(0x323)][_0xd8866c(0xa2)]=performance['now'](),this['_telemetryInfo'][_0xd8866c(0x2dc)]=this[_0xd8866c(0x323)]['stopTime']-this[_0xd8866c(0x323)]['startTime'],this[_0xd8866c(0x3d6)][_0xd8866c(0x2a9)](ei,this[_0xd8866c(0x323)]),this[_0xd8866c(0x323)]=null;}}[_0x529853(0x35e)](){var _0x1d1623=_0x529853;this[_0x1d1623(0x323)]=null;}},exports['CollaborationSession']=oi([oe(0x2,a['ILogService']),oe(0x3,a[_0x529853(0x1d9)]),oe(0x4,a[_0x529853(0x105)](a[_0x529853(0xc1)])),oe(0x5,a[_0x529853(0x105)](exports['MemberService'])),oe(0x6,a[_0x529853(0x105)](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a[_0x529853(0x190)](Mt[_0x529853(0x13e)]))],exports[_0x529853(0x398)]);var ai=Object[_0x529853(0x28b)],ci=(_0x1e8e50,_0xe2aca7,_0x475de4,_0x427f51)=>{for(var _0x3b7735=_0x427f51>0x1?void 0x0:_0x427f51?ai(_0xe2aca7,_0x475de4):_0xe2aca7,_0x3fc8d3=_0x1e8e50['length']-0x1,_0x148a98;_0x3fc8d3>=0x0;_0x3fc8d3--)(_0x148a98=_0x1e8e50[_0x3fc8d3])&&(_0x3b7735=_0x148a98(_0x3b7735)||_0x3b7735);return _0x3b7735;},_e=(_0x8fdbf,_0x8653e3)=>(_0x334eca,_0x123ea1)=>_0x8653e3(_0x334eca,_0x123ea1,_0x8fdbf);exports[_0x529853(0x2d0)]=class extends a[_0x529853(0x205)]{constructor(_0x3ecd7f,_0xfa03f7,_0x399c57,_0x342978,_0x3afab2,_0x2139ba){var _0x1736ea=_0x529853;super(),A(this,_0x1736ea(0x16b),new j['BehaviorSubject'](void 0x0)),A(this,_0x1736ea(0x90),this['_socket$'][_0x1736ea(0xb8)]()),A(this,_0x1736ea(0x11e),null),A(this,_0x1736ea(0x287),new Map()),A(this,'_status$',new j[(_0x1736ea(0x39e))](se['IDLE'])),A(this,_0x1736ea(0x23c),this[_0x1736ea(0x199)]['asObservable']()),A(this,_0x1736ea(0x3cb),!0x1),A(this,_0x1736ea(0x133)),A(this,_0x1736ea(0x3ce),0x0),A(this,_0x1736ea(0x1c5)),A(this,'_timeoutTimer'),(this[_0x1736ea(0x113)]=_0x3ecd7f,this[_0x1736ea(0x1cc)]=_0xfa03f7,this[_0x1736ea(0x3d7)]=_0x399c57,this[_0x1736ea(0x169)]=_0x342978,this['_collaborationUIEventService']=_0x3afab2,this['_networkConditionService']=_0x2139ba,this[_0x1736ea(0x3f6)]());}get[_0x529853(0x1e6)](){var _0xdfaf6e=_0x529853;return this[_0xdfaf6e(0x16b)][_0xdfaf6e(0x2a5)]();}['_listenToNetworkCondition'](){var _0x37ad19=_0x529853;this['_networkConditionService']&&this['disposeWithMe'](this[_0x37ad19(0x21e)][_0x37ad19(0x114)]['subscribe'](_0x26442e=>{var _0x19a134=_0x37ad19;_0x26442e&&!this[_0x19a134(0x1e6)]&&this[_0x19a134(0x7d)](),_0x26442e||this['_onOffline']();}));}[_0x529853(0x1d2)](){var _0x47a9c9=_0x529853;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x47a9c9(0x2d3)](),this['_clearHeartbeatTimer'](),this[_0x47a9c9(0x287)][_0x47a9c9(0x26d)](_0x229d17=>_0x229d17[_0x47a9c9(0x1d2)]()),this['_sessions']['clear'](),this[_0x47a9c9(0x199)][_0x47a9c9(0x2bd)]();}async['requireSession'](_0x584ad8){var _0x2d57dd=_0x529853;if(this[_0x2d57dd(0x287)][_0x2d57dd(0x353)](_0x584ad8))return this[_0x2d57dd(0x287)][_0x2d57dd(0x2e6)](_0x584ad8);this[_0x2d57dd(0xa5)]();const _0x29540e=this['_injector'][_0x2d57dd(0x89)](exports[_0x2d57dd(0x398)],_0x584ad8,this[_0x2d57dd(0x16b)]['asObservable']());return this[_0x2d57dd(0x287)][_0x2d57dd(0x3f5)](_0x584ad8,_0x29540e),_0x29540e;}[_0x529853(0xc2)](_0x41d288){var _0x8bcd58=_0x529853,_0x425438;const _0x496b96=this['_sessions'][_0x8bcd58(0x2e6)](_0x41d288);_0x496b96&&(this[_0x8bcd58(0x287)][_0x8bcd58(0xe3)](_0x41d288),_0x496b96[_0x8bcd58(0x20e)]()),this[_0x8bcd58(0x287)]['size']||(_0x425438=this[_0x8bcd58(0x1e6)])==null||_0x425438['close']();}[_0x529853(0x7d)](){var _0x3d0b37=_0x529853;this[_0x3d0b37(0x3ce)]=0x0,this[_0x3d0b37(0x319)](),this[_0x3d0b37(0x3ff)]();}[_0x529853(0x319)](){var _0x1732aa=_0x529853;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x1732aa(0x133)]),this['_retryConnectingTimer']=null);}async[_0x529853(0x12a)](){var _0xfd2923=_0x529853,_0x11122e,_0x442376;const _0x8c52b7=this['_configService'][_0xfd2923(0x2bb)](St),_0x5340a3=this[_0xfd2923(0x3d7)][_0xfd2923(0x2bb)](Y),_0x19bffc=(_0x442376=(_0x11122e=_0x5340a3==null?void 0x0:_0x5340a3[_0xfd2923(0x3a3)])!=null?_0x11122e:_0x8c52b7)!=null?_0x442376:ft,_0x400d4a=await this[_0xfd2923(0x169)][_0xfd2923(0x13c)](_0x19bffc);return this['_candidateSocket']=_0x400d4a,_0x400d4a;}async[_0x529853(0xa5)](){var _0x15114e=_0x529853,_0x569863,_0x19befd;try{const _0x38533e=(_0x19befd=(_0x569863=this['_socket'])!=null?_0x569863:this[_0x15114e(0x11e)])!=null?_0x19befd:await this[_0x15114e(0x12a)]();if(_0x38533e){const _0x5beb26=_0x38533e['send'];_0x38533e[_0x15114e(0x1f4)]=_0x140645=>(this['_rescheduleHeartbeat'](),_0x5beb26['apply'](_0x38533e,[_0x140645])),_0x38533e['message$']['subscribe'](_0x3fa3b9=>this['_onMessage'](_0x38533e,_0x3fa3b9)),_0x38533e[_0x15114e(0x1c8)][_0x15114e(0x78)](V[_0x15114e(0x341)](0x1))[_0x15114e(0x176)](_0x2e1ebe=>this[_0x15114e(0x1cc)][_0x15114e(0x1da)]('[CollaborationSessionService]:\x20socket\x20error',_0x2e1ebe)),_0x38533e['open$'][_0x15114e(0x78)](V['take'](0x1))[_0x15114e(0x176)](()=>{var _0x16d498=_0x15114e;this[_0x16d498(0x87)](_0x38533e);}),_0x38533e[_0x15114e(0x3a1)][_0x15114e(0x78)](V[_0x15114e(0x341)](0x1))[_0x15114e(0x176)](_0x50f0b2=>{var _0x37f90f=_0x15114e;this[_0x37f90f(0x1cc)][_0x37f90f(0x23e)](_0x37f90f(0x17a),_0x37f90f(0x2a4),_0x50f0b2),this[_0x37f90f(0x312)]();});}}catch(_0x160d67){this[_0x15114e(0x1cc)][_0x15114e(0x1da)](_0x160d67),this[_0x15114e(0x312)]();}}[_0x529853(0x87)](_0x270cf8){var _0x381a37=_0x529853;this[_0x381a37(0x1cc)]['debug'](_0x381a37(0x17a),_0x381a37(0x148)),_0x270cf8[_0x381a37(0x1f4)]({'cmd':W['HELLO']}),this[_0x381a37(0x1dc)]();}[_0x529853(0x317)](){var _0x11fb69=_0x529853;this[_0x11fb69(0x3cb)]=!0x1,this[_0x11fb69(0x11e)]=null,this[_0x11fb69(0x199)]['next'](se[_0x11fb69(0x22e)]),this[_0x11fb69(0x16b)][_0x11fb69(0x1a0)](null),this[_0x11fb69(0x2d3)](),this[_0x11fb69(0x121)]();}[_0x529853(0x312)](){var _0x4d084f=_0x529853,_0x49a02c;this['_onOffline'](),this[_0x4d084f(0x3ce)]<((_0x49a02c=this[_0x4d084f(0x3d7)]['getConfig'](It))!=null?_0x49a02c:Vt)?(this[_0x4d084f(0x309)]['emitEvent']({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x4d084f(0x3ff)]()):this[_0x4d084f(0x309)][_0x4d084f(0x122)]({'id':Q[_0x4d084f(0x2d8)]});}[_0x529853(0x3ff)](){var _0x41e9e1=_0x529853,_0x5ef8c0;const _0x4429ba=this[_0x41e9e1(0x3ce)],_0x4705fa=this[_0x41e9e1(0x3d7)][_0x41e9e1(0x2bb)](Y),_0x248ef0=_0x4429ba===0x0?0x0:((_0x5ef8c0=_0x4705fa==null?void 0x0:_0x4705fa[_0x41e9e1(0xd6)])!=null?_0x5ef8c0:Ft)*0x2**_0x4429ba;this[_0x41e9e1(0x133)]=setTimeout(()=>{var _0x4b1696=_0x41e9e1;clearTimeout(this[_0x4b1696(0x133)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x248ef0),this[_0x41e9e1(0x3ce)]+=0x1;}['_onMessage'](_0x20292c,_0x3587a3){var _0x32d0c0=_0x529853;const {cmd:_0x28d45f}=_0x3587a3;_0x28d45f===W[_0x32d0c0(0x13f)]&&!this[_0x32d0c0(0x3cb)]&&(_0x20292c[_0x32d0c0(0x343)]=_0x3587a3[_0x32d0c0(0x14f)]['memberID'],this['_socket$'][_0x32d0c0(0x1a0)](_0x20292c),this[_0x32d0c0(0x199)]['next'](se[_0x32d0c0(0x1b8)]),this[_0x32d0c0(0x3cb)]=!0x0,this[_0x32d0c0(0x11e)]=null),_0x28d45f===W[_0x32d0c0(0x3ca)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x529853(0x1dc)](){var _0x3efea1=_0x529853,_0x45bf03;this[_0x3efea1(0x121)](),this[_0x3efea1(0x1c5)]=setTimeout(()=>this[_0x3efea1(0x3cc)](),(_0x45bf03=this['_configService'][_0x3efea1(0x2bb)](pt))!=null?_0x45bf03:Bt);}['_sendHeartbeat'](){var _0x4c8ce9=_0x529853;this[_0x4c8ce9(0x1e6)][_0x4c8ce9(0x1f4)]({'cmd':W[_0x4c8ce9(0x3ca)]}),this['_waitForHeartbeatResponse']();}[_0x529853(0x2aa)](){var _0x37cfc2=_0x529853,_0x4096e8;this['_timeoutTimer']=setTimeout(()=>this[_0x37cfc2(0x312)](),(_0x4096e8=this[_0x37cfc2(0x3d7)][_0x37cfc2(0x2bb)](je))!=null?_0x4096e8:gt);}[_0x529853(0x121)](){var _0x3de24c=_0x529853;this[_0x3de24c(0x1c5)]!=null&&(clearTimeout(this[_0x3de24c(0x1c5)]),this['_sendHeartbeatTimer']=null);}[_0x529853(0x2d3)](){var _0x1560da=_0x529853;this[_0x1560da(0x232)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1560da(0x232)]=null);}},exports[_0x529853(0x2d0)]=ci([_e(0x0,a[_0x529853(0x105)](a[_0x529853(0x203)])),_e(0x1,a[_0x529853(0x18e)]),_e(0x2,a[_0x529853(0x1d9)]),_e(0x3,$e),_e(0x4,a['Inject'](te)),_e(0x5,a['Optional'](bt))],exports[_0x529853(0x2d0)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0x529853(0x297)]((n+0x100)[_0x529853(0x337)](0x10)[_0x529853(0x172)](0x1));function hi(_0x1d7e46,_0x3a173d=0x0){return(G[_0x1d7e46[_0x3a173d+0x0]]+G[_0x1d7e46[_0x3a173d+0x1]]+G[_0x1d7e46[_0x3a173d+0x2]]+G[_0x1d7e46[_0x3a173d+0x3]]+'-'+G[_0x1d7e46[_0x3a173d+0x4]]+G[_0x1d7e46[_0x3a173d+0x5]]+'-'+G[_0x1d7e46[_0x3a173d+0x6]]+G[_0x1d7e46[_0x3a173d+0x7]]+'-'+G[_0x1d7e46[_0x3a173d+0x8]]+G[_0x1d7e46[_0x3a173d+0x9]]+'-'+G[_0x1d7e46[_0x3a173d+0xa]]+G[_0x1d7e46[_0x3a173d+0xb]]+G[_0x1d7e46[_0x3a173d+0xc]]+G[_0x1d7e46[_0x3a173d+0xd]]+G[_0x1d7e46[_0x3a173d+0xe]]+G[_0x1d7e46[_0x3a173d+0xf]])['toLowerCase']();}let Ue;const _i=new Uint8Array(0x10);function li(){var _0x2b584d=_0x529853;if(!Ue){if(typeof crypto>'u'||!crypto[_0x2b584d(0xf0)])throw new Error(_0x2b584d(0x369));Ue=crypto[_0x2b584d(0xf0)][_0x2b584d(0x1bd)](crypto);}return Ue(_i);}const ui=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x529853(0xf1)][_0x529853(0x1bd)](crypto),qe={'randomUUID':ui};function di(_0x2e4c69,_0x1c2883,_0x35c5b7){var _0xc43798=_0x529853,_0x5e7584,_0x82ac85,_0x319169;if(qe[_0xc43798(0xf1)]&&!_0x2e4c69)return qe[_0xc43798(0xf1)]();_0x2e4c69=_0x2e4c69||{};const _0x348292=(_0x319169=(_0x82ac85=_0x2e4c69['random'])!=null?_0x82ac85:(_0x5e7584=_0x2e4c69[_0xc43798(0x16c)])==null?void 0x0:_0x5e7584[_0xc43798(0x391)](_0x2e4c69))!=null?_0x319169:li();if(_0x348292['length']<0x10)throw new Error(_0xc43798(0x310));return _0x348292[0x6]=_0x348292[0x6]&0xf|0x40,_0x348292[0x8]=_0x348292[0x8]&0x3f|0x80,hi(_0x348292);}const z=a[_0x529853(0x34e)](_0x529853(0x222));function vi(_0x40d83e){var _0xf21947=_0x529853;return _0xf21947(0x155)+_0x40d83e;}var Si=Object[_0x529853(0x28b)],fi=(_0x3c6c08,_0x122d58,_0x3b5e27,_0xda10b6)=>{for(var _0x2cda1e=_0xda10b6>0x1?void 0x0:_0xda10b6?Si(_0x122d58,_0x3b5e27):_0x122d58,_0x2b9e05=_0x3c6c08['length']-0x1,_0x2f8138;_0x2b9e05>=0x0;_0x2b9e05--)(_0x2f8138=_0x3c6c08[_0x2b9e05])&&(_0x2cda1e=_0x2f8138(_0x2cda1e)||_0x2cda1e);return _0x2cda1e;},Ae=(_0x17f589,_0x1ea174)=>(_0x570a00,_0x339928)=>_0x1ea174(_0x570a00,_0x339928,_0x17f589);function pi(_0x5d1a56){var _0x84da5f=_0x529853;const {unitID:_0x53b583,mutations:_0xdf95a}=_0x5d1a56;return{'unitId':_0x53b583,'subUnitId':_0xdf95a[0x0][_0x84da5f(0x237)][_0x84da5f(0x2ef)]};}exports[_0x529853(0x258)]=class{constructor(_0x58b1a9,_0x4f71ef,_0x421eeb){var _0x1baf49=_0x529853;this[_0x1baf49(0x113)]=_0x58b1a9,this[_0x1baf49(0x217)]=_0x4f71ef,this[_0x1baf49(0x139)]=_0x421eeb;}[_0x529853(0x1cd)](_0x5453ab){var _0x5f10c6=_0x529853,_0x347b08,_0x52c202,_0x54e68a,_0x2e5b22;const _0x59ca83=this[_0x5f10c6(0x113)][_0x5f10c6(0x2e6)](Z[_0x5f10c6(0x2ce)]),{unitId:_0x2cee5c,subUnitId:_0x15c958}=pi(_0x5453ab),_0x19b1a2=_0x59ca83==null?void 0x0:_0x59ca83[_0x5f10c6(0x1a4)](_0x2cee5c)[_0x5f10c6(0x1b4)](),_0x3cd424=(_0x52c202=(_0x347b08=this['_instanceService']['getUnit'](_0x2cee5c))==null?void 0x0:_0x347b08[_0x5f10c6(0x30d)]())==null?void 0x0:_0x52c202[_0x5f10c6(0x9f)]();if(_0x19b1a2[_0x5f10c6(0x102)]===0x0||!_0x2cee5c||!_0x15c958)return;const _0x154cbe=[{'id':Z['SetSelectionsOperation']['id'],'params':{'unitId':_0x2cee5c,'subUnitId':_0x3cd424,'selections':a[_0x5f10c6(0x39c)][_0x5f10c6(0x2df)](_0x19b1a2)}}],_0x889174=this[_0x5f10c6(0x217)][_0x5f10c6(0x2e7)](_0x5453ab,_0x154cbe);if(!g[_0x5f10c6(0x1d5)](_0x889174))throw _0x889174[_0x5f10c6(0x1da)];const _0x5d0be6=(_0x2e5b22=(_0x54e68a=_0x889174[_0x5f10c6(0x2a7)][0x0])==null?void 0x0:_0x54e68a[_0x5f10c6(0x237)])==null?void 0x0:_0x2e5b22[_0x5f10c6(0x225)];if(Array[_0x5f10c6(0x377)](_0x5d0be6)&&_0x5d0be6[_0x5f10c6(0x102)]){if(_0x5d0be6[_0x5f10c6(0x102)]===_0x154cbe[0x0]['params'][_0x5f10c6(0x225)][_0x5f10c6(0x102)]&&_0x5d0be6[_0x5f10c6(0x125)]((_0x455c9c,_0x584f25)=>a[_0x5f10c6(0x154)][_0x5f10c6(0x230)](_0x455c9c[_0x5f10c6(0x351)],_0x154cbe[0x0][_0x5f10c6(0x237)][_0x5f10c6(0x225)][_0x584f25]['range'])))return;this['_injector'][_0x5f10c6(0x2e6)](a[_0x5f10c6(0x2f4)])[_0x5f10c6(0x2da)](Z[_0x5f10c6(0x1e7)]['id'],{'unitId':_0x2cee5c,'subUnitId':_0x3cd424,'selections':_0x5d0be6});}}},exports[_0x529853(0x258)]=fi([Ae(0x0,a[_0x529853(0x105)](a[_0x529853(0x203)])),Ae(0x1,g[_0x529853(0x214)]),Ae(0x2,a[_0x529853(0x249)])],exports['SheetTransformSelectionsService']);const ve=a[_0x529853(0x34e)](_0x529853(0x3b2));var Fe=(_0x17c929=>(_0x17c929[_0x17c929['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x529853(0x1e8),_0x17c929[_0x17c929['OTHER_CLIENTS_EDITING']=0x1]=_0x529853(0x16f),_0x17c929))(Fe||{});const gi=new Set([Z[_0x529853(0xf8)]['id']]);function ze(_0x3c0402,_0x4a3236,_0x47d54a,_0x23e791,_0x2e74cc){var _0x3b9b48=_0x529853,_0xb0372c,_0x536497,_0x505e39,_0x598ec2;const _0x2d4443=[];for(const _0x4ea4cb of _0x3c0402)if(gi[_0x3b9b48(0x353)](_0x4ea4cb['id'])){if(_0x2d4443[_0x3b9b48(0x102)]>0x0)break;_0x2d4443['push'](_0x4ea4cb);break;}else _0x2d4443[_0x3b9b48(0x297)](_0x4ea4cb);const _0x407785=(_0x536497=(_0xb0372c=_0x2e74cc[_0x3b9b48(0x17c)]())==null?void 0x0:_0xb0372c['userID'])!=null?_0x536497:_0x3b9b48(0x1b7),_0x4d5b2b=(_0x598ec2=(_0x505e39=_0x2e74cc['getCurrentUser']())==null?void 0x0:_0x505e39[_0x3b9b48(0x343)])!=null?_0x598ec2:_0x3b9b48(0x1b7);return{'changeset':{'unitID':_0x4a3236,'type':g[_0x3b9b48(0x324)](_0x47d54a[_0x3b9b48(0x2b5)](_0x4a3236)),'baseRev':_0x23e791['getCurrentRevOfUnit'](_0x4a3236),'revision':0x0,'userID':_0x407785,'memberID':_0x4d5b2b,'mutations':_0x2d4443},'pendingMutations':_0x3c0402[_0x3b9b48(0x172)](_0x2d4443[_0x3b9b48(0x102)])};}function Ii(_0x292f02,_0xfacdf4,_0x47ef7e,_0x2eeb1,_0xbf174f){var _0x54af9a=_0x529853,_0x5cf0f9,_0x366cf2,_0x2627a7,_0x21446c;const _0x4fa2b6=[_0x292f02[_0x54af9a(0x1bc)]((_0x1adf15,_0x4391d3)=>{var _0x30c53e=_0x54af9a,_0xea475a;const {id:_0x45205f}=_0x1adf15,{id:_0x522a05,type:_0x40d456}=_0x4391d3,_0x36e4af=(_0xea475a=_0x1adf15['params'])!=null?_0xea475a:{'actions':null},_0x3551fa=_0x4391d3['params'];if(_0x45205f&&_0x45205f!==_0x522a05)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x45205f+_0x30c53e(0x238)+_0x522a05+'.');return{..._0x1adf15,'id':_0x522a05,'type':_0x40d456,'params':{'unitId':_0x3551fa['unitId'],'textRanges':_0x3551fa[_0x30c53e(0x284)],'actions':a[_0x30c53e(0x30e)][_0x30c53e(0x395)](_0x36e4af['actions'],_0x3551fa[_0x30c53e(0x7f)])}};},{})],_0x3fcd73=(_0x366cf2=(_0x5cf0f9=_0xbf174f[_0x54af9a(0x17c)]())==null?void 0x0:_0x5cf0f9[_0x54af9a(0xa7)])!=null?_0x366cf2:_0x54af9a(0x1b7),_0x5de4bf=(_0x21446c=(_0x2627a7=_0xbf174f['getCurrentUser']())==null?void 0x0:_0x2627a7['memberID'])!=null?_0x21446c:'unknown';return{'changeset':{'unitID':_0xfacdf4,'type':g[_0x54af9a(0x324)](_0x47ef7e[_0x54af9a(0x2b5)](_0xfacdf4)),'baseRev':_0x2eeb1[_0x54af9a(0xd4)](_0xfacdf4),'revision':0x0,'userID':_0x3fcd73,'memberID':_0x5de4bf,'mutations':_0x4fa2b6},'pendingMutations':[]};}function yt(_0x3991e8,_0x308006){var _0x27643a=_0x529853;const _0xff836d=new j[(_0x27643a(0x3f1))](0x1);return setTimeout(()=>_0xff836d[_0x27643a(0x1a0)](_0x308006),_0x3991e8),_0xff836d['asObservable']()[_0x27643a(0x78)](j[_0x27643a(0x341)](0x1));}const mi={'id':Z[_0x529853(0x271)]['id'],'type':a['CommandType'][_0x529853(0x1d3)],'params':{}};var Ei=Object[_0x529853(0x28b)],ce=(_0x69d4ce,_0x322e34,_0x1059ce,_0x2df622)=>{var _0x12640c=_0x529853;for(var _0x2c5827=_0x2df622>0x1?void 0x0:_0x2df622?Ei(_0x322e34,_0x1059ce):_0x322e34,_0x4535b7=_0x69d4ce[_0x12640c(0x102)]-0x1,_0x17cb92;_0x4535b7>=0x0;_0x4535b7--)(_0x17cb92=_0x69d4ce[_0x4535b7])&&(_0x2c5827=_0x17cb92(_0x2c5827)||_0x2c5827);return _0x2c5827;},w=(_0x1245ae,_0x121c58)=>(_0x464c03,_0x52f419)=>_0x121c58(_0x464c03,_0x52f419,_0x1245ae),Ve=(_0x128a75=>(_0x128a75[_0x529853(0x13a)]=_0x529853(0xfa),_0x128a75[_0x529853(0x19f)]='synced',_0x128a75[_0x529853(0x3a9)]='pending',_0x128a75[_0x529853(0x224)]=_0x529853(0x213),_0x128a75[_0x529853(0x37b)]=_0x529853(0xad),_0x128a75[_0x529853(0x22f)]=_0x529853(0x173),_0x128a75[_0x529853(0x38f)]=_0x529853(0x108),_0x128a75['OFFLINE']=_0x529853(0x3ef),_0x128a75))(Ve||{});const Nt=0xea60;class he{constructor(_0x3edf1f,_0x58eef5,_0x453771,_0x4f0354,_0x514a38,_0x5bcac7,_0x3a54fe,_0x188ba8,_0x3dac7b){var _0xa195e6=_0x529853;A(this,_0xa195e6(0x261),null),A(this,'_pendingMutations',[]),(this['unitID']=_0x3edf1f,this[_0xa195e6(0x2d6)]=_0x58eef5,this['_handler']=_0x514a38,this['_commandService']=_0x5bcac7,this[_0xa195e6(0x16d)]=_0x3a54fe,this[_0xa195e6(0xac)]=_0x188ba8,this[_0xa195e6(0x152)]=_0x3dac7b,this['_awaitingChangeset']=_0x453771,this['_pendingMutations']=_0x4f0354);}[_0x529853(0x366)](_0x38b043){var _0xd0f83=_0x529853;const _0x4de04d=this[_0xd0f83(0xac)][_0xd0f83(0xd4)](this[_0xd0f83(0x20a)]);return _0x38b043[_0xd0f83(0x33c)]>_0x4de04d+0x1?(this[_0xd0f83(0x262)][_0xd0f83(0xda)]({'from':_0x4de04d,'to':_0x38b043['revision']-0x1}),!0x0):!0x1;}[_0x529853(0x342)](_0x1cbc00){var _0x11edb9=_0x529853;this[_0x11edb9(0x16d)]['transformUndoRedo'](this[_0x11edb9(0x20a)],_0x1cbc00);}['_transformSelections'](_0x385425){var _0x350b34=_0x529853,_0x7d25bd,_0x1ba261;(_0x1ba261=(_0x7d25bd=this[_0x350b34(0x262)])[_0x350b34(0x111)])==null||_0x1ba261[_0x350b34(0x391)](_0x7d25bd,_0x385425);}[_0x529853(0x8e)](_0x155df2){var _0x4a050b=_0x529853,_0x4d31da,_0x3f206d;return(_0x3f206d=(_0x4d31da=this['_handler'])['onTransformIME'])==null?void 0x0:_0x3f206d[_0x4a050b(0x391)](_0x4d31da,_0x155df2);}['_transformStateCache'](_0xf11df4){var _0x20007f=_0x529853,_0x21b58e,_0xc3ffe;return(_0xc3ffe=(_0x21b58e=this['_handler'])[_0x20007f(0x229)])==null?void 0x0:_0xc3ffe[_0x20007f(0x391)](_0x21b58e,_0xf11df4);}[_0x529853(0x15c)](_0x388ee8){var _0x48ecbc=_0x529853,_0x183ca8,_0x3baf4a,_0x4e3334;return(_0x4e3334=(_0x3baf4a=(_0x183ca8=this[_0x48ecbc(0x262)])[_0x48ecbc(0x3ee)])==null?void 0x0:_0x3baf4a['call'](_0x183ca8,_0x388ee8))!=null?_0x4e3334:_0x388ee8;}['_transformRemoteChangesetByStateCache'](_0x4a23ac){var _0x3faad0=_0x529853,_0x591c86,_0x56adbe,_0x90bb92;return(_0x90bb92=(_0x56adbe=(_0x591c86=this[_0x3faad0(0x262)])[_0x3faad0(0x29e)])==null?void 0x0:_0x56adbe[_0x3faad0(0x391)](_0x591c86,_0x4a23ac))!=null?_0x90bb92:_0x4a23ac;}[_0x529853(0x97)](_0x5c34f8){var _0x1a6a70=_0x529853,_0x2181de,_0x5707ca;if(this['type']===X[_0x1a6a70(0x22c)]){const {unitID:_0x1b703b,mutations:_0x3ff331,memberID:_0x79939}=_0x5c34f8,_0x41888f=_0x3ff331[0x0][_0x1a6a70(0x237)]['textRanges'];Array['isArray'](_0x41888f)&&_0x41888f['length']>0x0&&((_0x5707ca=(_0x2181de=this[_0x1a6a70(0x262)])['onSyncEditingCollabCursor'])==null||_0x5707ca[_0x1a6a70(0x391)](_0x2181de,{'unitID':_0x1b703b,'memberID':_0x79939,'textRanges':_0x41888f}));}}['_updateLocalCache'](){var _0x5e093b=_0x529853,_0x570361;(_0x570361=this['_localCacheService'])==null||_0x570361[_0x5e093b(0x329)](this['unitID'],this['type'],this[_0x5e093b(0x261)],this[_0x5e093b(0x1e5)]);}[_0x529853(0x117)](){var _0x1843aa=_0x529853;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x1843aa(0x20a)]);}[_0x529853(0x3be)](){var _0x292f98=_0x529853;this[_0x292f98(0xac)]['incrementRevOfUnit'](this['unitID']);}['_executeRemoteChangeset'](_0x169280){var _0xe9820f=_0x529853,_0xe5c275;let _0x3517ae=this[_0xe9820f(0x15c)](_0x169280);_0x3517ae=this[_0xe9820f(0x3da)](_0x3517ae);const _0x15fd70=a[_0xe9820f(0x2a1)](_0x3517ae[_0xe9820f(0x387)],this[_0xe9820f(0x162)],{'fromCollab':!0x0});if(!_0x15fd70[_0xe9820f(0x2b3)])throw _0x15fd70[_0xe9820f(0x1da)]instanceof Error?_0x15fd70[_0xe9820f(0x1da)]:new Error((_0xe5c275=_0x15fd70[_0xe9820f(0x1da)])!=null?_0xe5c275:_0xe9820f(0x2eb));this[_0xe9820f(0x8e)](_0x3517ae),this['_transformStateCache'](_0x3517ae),this[_0xe9820f(0x342)](_0x169280),this[_0xe9820f(0x392)](_0x3517ae),this['_syncEditingCollabCursor'](_0x3517ae),this[_0xe9820f(0x3be)]();}}exports['SyncedState']=class extends he{constructor(_0x14dc6c,_0x3cba93,_0x5e141d,_0x1d5d4a,_0xc6fa0d,_0x57ac91,_0x6f8746,_0x1d1b22,_0x222cf4,_0x228e5d){var _0x1769d8=_0x529853;super(_0x14dc6c,_0x3cba93,null,[],_0x5e141d,_0x6f8746,_0x57ac91,_0x1d5d4a,_0x228e5d),A(this,_0x1769d8(0x18f),_0x1769d8(0x1a8)),(this[_0x1769d8(0x113)]=_0xc6fa0d,this[_0x1769d8(0x1cc)]=_0x1d1b22,this[_0x1769d8(0x217)]=_0x222cf4,this['localCacheService']=_0x228e5d);}[_0x529853(0x240)](_0x46c267){var _0x35c6af=_0x529853;const _0x2de492=this['_injector'][_0x35c6af(0x89)](exports[_0x35c6af(0x263)],this['unitID'],this['type'],[_0x46c267],this[_0x35c6af(0x262)]);return _0x2de492[_0x35c6af(0xa6)](),_0x2de492['_updateLocalCache'](),_0x2de492;}[_0x529853(0xea)](_0x117c84){var _0x271071=_0x529853;if(this[_0x271071(0x366)](_0x117c84))return this['_injector'][_0x271071(0x89)](exports['FetchingMissState'],this['unitID'],this['type'],null,[],null,[_0x117c84],this[_0x271071(0x262)]);try{const _0x2dc12b=this['_transformService'][_0x271071(0x2e7)](_0x117c84,[mi]);if(g[_0x271071(0x1d5)](_0x2dc12b)){const {c1Prime:_0x279708}=_0x2dc12b;return this[_0x271071(0x3c9)](_0x279708),this;}throw _0x2dc12b[_0x271071(0x1da)];}catch(_0x1ee63b){return this[_0x271071(0x1cc)][_0x271071(0x1da)](_0x1ee63b),this[_0x271071(0x1de)](!0x1);}}[_0x529853(0x1de)](_0x122db2){var _0x156d9d=_0x529853;return this[_0x156d9d(0x113)][_0x156d9d(0x89)](exports['ConflictState'],this[_0x156d9d(0x20a)],this[_0x156d9d(0x2d6)],null,[],this[_0x156d9d(0x262)],_0x122db2);}['onRemoteAck'](){var _0x1c11f3=_0x529853;throw new Error(_0x1c11f3(0x2ad));}['onRemoteRej'](){var _0xfa51ab=_0x529853;throw new Error(_0xfa51ab(0x349));}[_0x529853(0x3f9)](){return this;}[_0x529853(0x359)](){var _0x431c61=_0x529853;return this[_0x431c61(0x113)][_0x431c61(0x89)](exports[_0x431c61(0x1e3)],this['unitID'],this[_0x431c61(0x2d6)],null,[],this['_handler']);}[_0x529853(0x1ce)](){return this;}[_0x529853(0x182)](){var _0x3be2ae=_0x529853;throw new Error(_0x3be2ae(0x3d3));}['fetchMiss'](){var _0xd98161=_0x529853;const _0x39c324=this[_0xd98161(0xac)]['getCurrentRevOfUnit'](this[_0xd98161(0x20a)]);return this[_0xd98161(0x262)][_0xd98161(0xda)]({'from':_0x39c324,'to':0x0}),this['_injector'][_0xd98161(0x89)](exports['FetchingMissState'],this[_0xd98161(0x20a)],this[_0xd98161(0x2d6)],null,[],null,[],this[_0xd98161(0x262)]);}},exports['SyncedState']=ce([w(0x3,a[_0x529853(0x105)](g[_0x529853(0x272)])),w(0x4,a[_0x529853(0x105)](a[_0x529853(0x203)])),w(0x5,a[_0x529853(0x140)]),w(0x6,a['ICommandService']),w(0x7,a[_0x529853(0x18e)]),w(0x8,g['ITransformService']),w(0x9,a[_0x529853(0x190)](z))],exports[_0x529853(0xec)]),exports['PendingState']=class extends he{constructor(_0x3ebc20,_0x19803f,_0x17054d,_0x2068cc,_0x3e2cdf,_0x122fe5,_0x25cf4f,_0x4394f5,_0x4dfed4,_0x7391a7,_0x46b871,_0xc14125,_0x26f494,_0x36dea1){var _0x48a50c=_0x529853;super(_0x3ebc20,_0x19803f,null,_0x17054d,_0x2068cc,_0x4dfed4,_0x26f494,_0x122fe5,_0x36dea1),A(this,'status',_0x48a50c(0x1ca)),A(this,_0x48a50c(0x8b),null),A(this,_0x48a50c(0x373),null),(this[_0x48a50c(0x113)]=_0x3e2cdf,this[_0x48a50c(0x1ef)]=_0x25cf4f,this[_0x48a50c(0x1cc)]=_0x4394f5,this['_configService']=_0x7391a7,this[_0x48a50c(0x217)]=_0x46b871,this[_0x48a50c(0x107)]=_0xc14125);}[_0x529853(0x240)](_0x5d7316){var _0x2adb81=_0x529853;return this[_0x2adb81(0x1e5)][_0x2adb81(0x297)](_0x5d7316),this[_0x2adb81(0x143)](),this;}[_0x529853(0xea)](_0x1141aa){var _0x494d95=_0x529853;if(this['_checkMissing'](_0x1141aa))return this['_clearScheduledTask'](),this[_0x494d95(0x113)]['createInstance'](exports[_0x494d95(0x290)],this[_0x494d95(0x20a)],this[_0x494d95(0x2d6)],null,this[_0x494d95(0x1e5)],null,[_0x1141aa],this[_0x494d95(0x262)]);try{const _0xdb0a47=this[_0x494d95(0x217)][_0x494d95(0x2e7)](_0x1141aa,this[_0x494d95(0x1e5)]);if(g[_0x494d95(0x1d5)](_0xdb0a47)){const {c1Prime:_0x2a420d,m2Prime:_0x4319d2}=_0xdb0a47;this[_0x494d95(0x3c9)](_0x2a420d);const _0x5c277a=this[_0x494d95(0x113)][_0x494d95(0x89)](exports['PendingState'],this[_0x494d95(0x20a)],this['type'],_0x4319d2,this['_handler']);this[_0x494d95(0x346)]();const _0x2985be=new Date()[_0x494d95(0x397)](),_0x33fee6=this['_scheduleCompleteTimestamp']?Math['max'](this['_scheduleCompleteTimestamp']-_0x2985be,0x0):this['_getSendChangesetTimeout']();return _0x5c277a['_schedule'](_0x33fee6),_0x5c277a;}throw _0xdb0a47[_0x494d95(0x1da)];}catch(_0x2b3304){return this['_logService']['error'](_0x2b3304),this[_0x494d95(0x1de)](!0x1);}}['onRemoteAck'](){var _0x42238c=_0x529853;throw new Error(_0x42238c(0x38c));}[_0x529853(0x1f1)](){var _0x2b4115=_0x529853;throw new Error(_0x2b4115(0x103));}[_0x529853(0x3f9)](){return this;}['toggleOffline'](){var _0x5da3b9=_0x529853;return this[_0x5da3b9(0x346)](),this[_0x5da3b9(0x113)][_0x5da3b9(0x89)](exports[_0x5da3b9(0x1e3)],this[_0x5da3b9(0x20a)],this[_0x5da3b9(0x2d6)],null,this[_0x5da3b9(0x1e5)],this[_0x5da3b9(0x262)]);}[_0x529853(0x1ce)](){return this;}['_schedule'](_0x2e5c7a){var _0x34124c=_0x529853;const _0x59fb25=_0x2e5c7a!=null?_0x2e5c7a:this['_getSendChangesetTimeout']();this[_0x34124c(0x8b)]=new Date()[_0x34124c(0x397)]()+_0x59fb25,this[_0x34124c(0x373)]=setTimeout(()=>{var _0x58368c=_0x34124c;this[_0x58368c(0x346)]();let _0xdc0b14=null;switch(this[_0x58368c(0x2d6)]){case X[_0x58368c(0x112)]:{_0xdc0b14=ze(this[_0x58368c(0x1e5)],this['unitID'],this[_0x58368c(0x107)],this[_0x58368c(0xac)],this['_memberService']);break;}case X[_0x58368c(0x22c)]:{this[_0x58368c(0x1e5)][_0x58368c(0x125)](_0x177854=>_0x177854['id']===ut[_0x58368c(0x16a)]['id'])?_0xdc0b14=Ii(this[_0x58368c(0x1e5)],this[_0x58368c(0x20a)],this[_0x58368c(0x107)],this[_0x58368c(0xac)],this[_0x58368c(0x1ef)]):_0xdc0b14=ze(this[_0x58368c(0x1e5)],this[_0x58368c(0x20a)],this[_0x58368c(0x107)],this[_0x58368c(0xac)],this[_0x58368c(0x1ef)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x58368c(0x193));}const {changeset:_0x158330,pendingMutations:_0xb029d1}=_0xdc0b14;this[_0x58368c(0x262)]['onSendChangeset'](_0x158330);const _0x32a8c2=_0xb029d1['length']?this['_injector']['createInstance'](exports['AwaitingWithPendingState'],this['unitID'],this[_0x58368c(0x2d6)],_0x158330,_0xb029d1,this['_handler'],void 0x0):this[_0x58368c(0x113)][_0x58368c(0x89)](exports[_0x58368c(0x352)],this[_0x58368c(0x20a)],this[_0x58368c(0x2d6)],_0x158330,this['_handler']);_0x32a8c2[_0x58368c(0x143)](),this['_handler']['onStateChange'](this,_0x32a8c2);},_0x59fb25);}[_0x529853(0x80)](){var _0x3cb081=_0x529853,_0x18f8c4;const _0x3f7cf2=this[_0x3cb081(0x3d7)]['getConfig'](Y);return(_0x18f8c4=_0x3f7cf2==null?void 0x0:_0x3f7cf2['sendChangesetTimeout'])!=null?_0x18f8c4:jt;}['resend'](){var _0x2b0078=_0x529853;throw new Error(_0x2b0078(0x2fe));}[_0x529853(0x346)](){var _0x20ed42=_0x529853;this[_0x20ed42(0x373)]!=null&&(clearTimeout(this[_0x20ed42(0x373)]),this['_sendingTimer']=null);}[_0x529853(0x1de)](_0x5f1b23){var _0x270f6f=_0x529853;return this[_0x270f6f(0x346)](),this[_0x270f6f(0x113)][_0x270f6f(0x89)](exports[_0x270f6f(0x399)],this['unitID'],this[_0x270f6f(0x2d6)],null,this[_0x270f6f(0x1e5)],this['_handler'],_0x5f1b23);}},exports[_0x529853(0x263)]=ce([w(0x4,a['Inject'](a['Injector'])),w(0x5,a['Inject'](g['RevisionService'])),w(0x6,a[_0x529853(0x105)](exports['MemberService'])),w(0x7,a[_0x529853(0x18e)]),w(0x8,a[_0x529853(0x2f4)]),w(0x9,a['IConfigService']),w(0xa,g[_0x529853(0x214)]),w(0xb,a[_0x529853(0x249)]),w(0xc,a[_0x529853(0x140)]),w(0xd,a[_0x529853(0x190)](z))],exports['PendingState']),exports['AwaitingState']=class extends he{constructor(_0x4af97a,_0x5235ac,_0x33eaaa,_0x31f440,_0xa3ca7e,_0x492ee0,_0x424821,_0x3f789f,_0x339fb5,_0x22c616,_0x1b7e44){var _0x1b0b3c=_0x529853;super(_0x4af97a,_0x5235ac,_0x33eaaa,[],_0x31f440,_0x424821,_0x22c616,_0x492ee0,_0x1b7e44),A(this,_0x1b0b3c(0x18f),'awaiting'),A(this,_0x1b0b3c(0xb4),0x0),A(this,_0x1b0b3c(0x2d1)),A(this,_0x1b0b3c(0x1c4)),(this['_injector']=_0xa3ca7e,this[_0x1b0b3c(0x1cc)]=_0x3f789f,this[_0x1b0b3c(0x217)]=_0x339fb5);}[_0x529853(0x240)](_0x259ea8){var _0x1ee6b2=_0x529853;this['_clearScheduledTask']();const _0xc1548c=this[_0x1ee6b2(0x113)][_0x1ee6b2(0x89)](exports[_0x1ee6b2(0x17f)],this[_0x1ee6b2(0x20a)],this[_0x1ee6b2(0x2d6)],this[_0x1ee6b2(0x261)],[_0x259ea8],this['_handler'],this[_0x1ee6b2(0x2d1)]);return _0xc1548c[_0x1ee6b2(0x143)](),_0xc1548c;}['onRemoteChangeset'](_0x45f196){var _0xb02a0f=_0x529853;if(this[_0xb02a0f(0x366)](_0x45f196))return this['_clearScheduledTask'](),this[_0xb02a0f(0x113)][_0xb02a0f(0x89)](exports['FetchingMissState'],this['unitID'],this[_0xb02a0f(0x2d6)],this[_0xb02a0f(0x261)],[],null,[_0x45f196],this[_0xb02a0f(0x262)]);try{const _0x3b2125=this['_transformService'][_0xb02a0f(0x1c0)]([_0x45f196],[this[_0xb02a0f(0x261)]],!0x1);if(g[_0xb02a0f(0x32d)](_0x3b2125)){const {c1Prime:_0x47d6e3,c2Prime:_0x3afa24}=_0x3b2125;this[_0xb02a0f(0x3c9)](_0x47d6e3[0x0]),_0x3afa24[0x0][_0xb02a0f(0x27f)]=this[_0xb02a0f(0x117)](),this[_0xb02a0f(0x346)]();const _0x5efe3a=this[_0xb02a0f(0x113)][_0xb02a0f(0x89)](exports[_0xb02a0f(0x352)],this[_0xb02a0f(0x20a)],this[_0xb02a0f(0x2d6)],_0x3afa24[0x0],this[_0xb02a0f(0x262)]);return _0x5efe3a[_0xb02a0f(0x143)](),_0x5efe3a;}return this['_onConflict'](!0x1);}catch(_0x39e14a){return this['_logService']['error'](_0x39e14a),this[_0xb02a0f(0x1de)](!0x1);}}['onRemoteAck'](_0x144a66){var _0x58b6b5=_0x529853;this[_0x58b6b5(0x346)]();const _0x459cd4=this['_revisionService'][_0x58b6b5(0xd4)](this['unitID']);if(_0x144a66[_0x58b6b5(0x33c)]<_0x459cd4-0x1)return this;if(this['_checkMissing'](_0x144a66))return this[_0x58b6b5(0x113)][_0x58b6b5(0x89)](exports[_0x58b6b5(0x290)],this[_0x58b6b5(0x20a)],this[_0x58b6b5(0x2d6)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x58b6b5(0x3be)]();const _0x30bf2d=this[_0x58b6b5(0x113)][_0x58b6b5(0x89)](exports[_0x58b6b5(0xec)],this['unitID'],this[_0x58b6b5(0x2d6)],this[_0x58b6b5(0x262)]);return _0x30bf2d[_0x58b6b5(0x143)](),_0x30bf2d;}['onRemoteRej'](_0x489003){var _0x5a8444=_0x529853;return this[_0x5a8444(0x1de)](!!(_0x489003!=null&&_0x489003[_0x5a8444(0x253)]));}[_0x529853(0x3f9)](_0x4febad){var _0x13f5f5=_0x529853;return this[_0x13f5f5(0xb4)]>Nt?this[_0x13f5f5(0x359)]():(this[_0x13f5f5(0x2d1)]=yt(this[_0x13f5f5(0xb4)],{'timeout':this['_resendTimeout'],'reqId':_0x4febad[_0x13f5f5(0xf4)]}),this['_sender']=this[_0x13f5f5(0x2d1)]['subscribe'](({reqId:_0x17997e,timeout:_0x5be33b})=>{var _0x4b9feb=_0x13f5f5;this[_0x4b9feb(0xb3)](_0x17997e,_0x5be33b);}),this);}[_0x529853(0x359)](){var _0x4f1734=_0x529853;return this[_0x4f1734(0x346)](),this[_0x4f1734(0x113)][_0x4f1734(0x89)](exports['OfflineState'],this['unitID'],this[_0x4f1734(0x2d6)],this[_0x4f1734(0x261)],[],this[_0x4f1734(0x262)]);}['toggleOnline'](){return this;}[_0x529853(0x182)](){var _0x4f74b4=_0x529853;this[_0x4f74b4(0x262)][_0x4f74b4(0x13d)](this[_0x4f74b4(0x261)]);}['_onConflict'](_0x79eff8){var _0x3b7abc=_0x529853;return this['_clearScheduledTask'](),this[_0x3b7abc(0x113)][_0x3b7abc(0x89)](exports[_0x3b7abc(0x399)],this[_0x3b7abc(0x20a)],this[_0x3b7abc(0x2d6)],this['_awaitingChangeset'],[],this[_0x3b7abc(0x262)],_0x79eff8);}[_0x529853(0xb3)](_0x441513,_0x229e72){var _0x30bc20=_0x529853,_0xebff28;_0x441513===((_0xebff28=this['_awaitingChangeset'])==null?void 0x0:_0xebff28[_0x30bc20(0xf4)])&&(this[_0x30bc20(0x182)](),this['_resendTimeout']=_0x229e72===0x0?0x3e8:_0x229e72*0x2);}[_0x529853(0x346)](){var _0x30c022=_0x529853,_0x531032;(_0x531032=this['_sender'])==null||_0x531032['unsubscribe'](),this[_0x30c022(0xb4)]=0x0;}},exports['AwaitingState']=ce([w(0x4,a['Inject'](a[_0x529853(0x203)])),w(0x5,a[_0x529853(0x105)](g[_0x529853(0x272)])),w(0x6,a[_0x529853(0x2f4)]),w(0x7,a[_0x529853(0x18e)]),w(0x8,g['ITransformService']),w(0x9,a[_0x529853(0x140)]),w(0xa,a[_0x529853(0x190)](z))],exports['AwaitingState']),exports[_0x529853(0x17f)]=class extends he{constructor(_0x588282,_0x350faa,_0x37803d,_0x211cd1,_0x20c6a4,_0x410733,_0x296e1d,_0x431285,_0x227f17,_0x1257c7,_0xb9a81b,_0x4e24ca,_0x59afa9){var _0x431fa3=_0x529853;super(_0x588282,_0x350faa,_0x37803d,_0x211cd1,_0x20c6a4,_0x227f17,_0x4e24ca,_0x431285,_0x59afa9),A(this,_0x431fa3(0x18f),_0x431fa3(0xad)),A(this,_0x431fa3(0xb4),0x0),A(this,_0x431fa3(0x2d1)),A(this,_0x431fa3(0x1c4)),(this[_0x431fa3(0x113)]=_0x296e1d,this[_0x431fa3(0x1cc)]=_0x1257c7,this[_0x431fa3(0x217)]=_0xb9a81b,this[_0x431fa3(0x79)]=_0x59afa9,_0x410733&&(this[_0x431fa3(0x2d1)]=_0x410733,this[_0x431fa3(0x1c4)]=this['_resendTimer'][_0x431fa3(0x176)](({reqId:_0x2c381e,timeout:_0x5e222b})=>{var _0x1dcdd9=_0x431fa3;this[_0x1dcdd9(0xb3)](_0x2c381e,_0x5e222b);})));}['appendMutation'](_0x88da50){var _0x315e2b=_0x529853;return this[_0x315e2b(0x1e5)][_0x315e2b(0x297)](_0x88da50),this;}['onRemoteChangeset'](_0x1e7622){var _0x5e4472=_0x529853;if(this[_0x5e4472(0x366)](_0x1e7622))return this['_clearScheduledTask'](),this[_0x5e4472(0x113)][_0x5e4472(0x89)](exports['FetchingMissState'],this[_0x5e4472(0x20a)],this['type'],this[_0x5e4472(0x261)],this[_0x5e4472(0x1e5)],null,[_0x1e7622],this['_handler']);try{const _0x441798=this['_transformService'][_0x5e4472(0x1c0)]([_0x1e7622],[this[_0x5e4472(0x261)]],!0x1);if(g[_0x5e4472(0x32d)](_0x441798)){const {c1Prime:_0x455bdb,c2Prime:_0x2fd8c3}=_0x441798,_0x5df8e7=this['_transformService'][_0x5e4472(0x2e7)](_0x455bdb[0x0],this[_0x5e4472(0x1e5)]);if(g[_0x5e4472(0x1d5)](_0x5df8e7)){const {c1Prime:_0x23a583,m2Prime:_0x5d7748}=_0x5df8e7;return this[_0x5e4472(0x3c9)](_0x23a583),_0x2fd8c3[0x0][_0x5e4472(0x27f)]=this[_0x5e4472(0x117)](),this[_0x5e4472(0x346)](),this['_injector']['createInstance'](exports[_0x5e4472(0x17f)],this[_0x5e4472(0x20a)],this[_0x5e4472(0x2d6)],_0x2fd8c3[0x0],_0x5d7748,this[_0x5e4472(0x262)],void 0x0);}throw _0x5df8e7[_0x5e4472(0x1da)];}throw _0x441798[_0x5e4472(0x1da)];}catch(_0x5e2133){return this[_0x5e4472(0x1cc)][_0x5e4472(0x1da)](_0x5e2133),this[_0x5e4472(0x1de)](!0x1);}}[_0x529853(0x22b)](_0x4ef09f){var _0x64ba90=_0x529853;if(this[_0x64ba90(0x346)](),this[_0x64ba90(0x366)](_0x4ef09f))return this['_injector'][_0x64ba90(0x89)](exports[_0x64ba90(0x290)],this['unitID'],this[_0x64ba90(0x2d6)],null,this[_0x64ba90(0x1e5)],this[_0x64ba90(0x261)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x15819b=this['_injector'][_0x64ba90(0x89)](exports['PendingState'],this[_0x64ba90(0x20a)],this[_0x64ba90(0x2d6)],this[_0x64ba90(0x1e5)],this[_0x64ba90(0x262)]);return _0x15819b['_schedule'](),_0x15819b[_0x64ba90(0x143)](),_0x15819b;}[_0x529853(0x1f1)](_0x1480e8){var _0x23cdda=_0x529853;return this[_0x23cdda(0x1de)](!!(_0x1480e8!=null&&_0x1480e8[_0x23cdda(0x253)]));}['onRemoteRetry'](_0x12eb18){var _0x214542=_0x529853;return this[_0x214542(0xb4)]>Nt?this[_0x214542(0x359)]():(this[_0x214542(0x2d1)]=yt(this[_0x214542(0xb4)],{'timeout':this['_resendTimeout'],'reqId':_0x12eb18[_0x214542(0xf4)]}),this[_0x214542(0x1c4)]=this[_0x214542(0x2d1)][_0x214542(0x176)](({reqId:_0x53cfe3,timeout:_0x2eba3d})=>{var _0x157ddf=_0x214542;this[_0x157ddf(0xb3)](_0x53cfe3,_0x2eba3d);}),this);}[_0x529853(0x359)](){var _0x33d2a1=_0x529853;return this['_clearScheduledTask'](),this[_0x33d2a1(0x113)][_0x33d2a1(0x89)](exports['OfflineState'],this[_0x33d2a1(0x20a)],this['type'],this[_0x33d2a1(0x261)],this[_0x33d2a1(0x1e5)],this['_handler']);}[_0x529853(0x1ce)](){return this;}[_0x529853(0x182)](){var _0x2d1434=_0x529853;this['_handler'][_0x2d1434(0x13d)](this['_awaitingChangeset']);}[_0x529853(0x1de)](_0x4c06d6){var _0x223758=_0x529853;return this['_clearScheduledTask'](),this[_0x223758(0x113)][_0x223758(0x89)](exports[_0x223758(0x399)],this[_0x223758(0x20a)],this['type'],null,this[_0x223758(0x1e5)],this[_0x223758(0x262)],_0x4c06d6);}[_0x529853(0xb3)](_0x5c871f,_0x7fdb8b){var _0x51e9b9=_0x529853,_0x969ba7;_0x5c871f===((_0x969ba7=this[_0x51e9b9(0x261)])==null?void 0x0:_0x969ba7[_0x51e9b9(0xf4)])&&(this[_0x51e9b9(0x182)](),this[_0x51e9b9(0xb4)]=_0x7fdb8b===0x0?0x3e8:_0x7fdb8b*0x2);}['_clearScheduledTask'](){var _0x454493=_0x529853,_0x39ec83;(_0x39ec83=this[_0x454493(0x1c4)])==null||_0x39ec83[_0x454493(0x192)](),this['_resendTimeout']=0x0;}},exports[_0x529853(0x17f)]=ce([w(0x6,a[_0x529853(0x105)](a[_0x529853(0x203)])),w(0x7,a['Inject'](g['RevisionService'])),w(0x8,a[_0x529853(0x2f4)]),w(0x9,a[_0x529853(0x18e)]),w(0xa,g['ITransformService']),w(0xb,a[_0x529853(0x140)]),w(0xc,a[_0x529853(0x190)](z))],exports[_0x529853(0x17f)]),exports[_0x529853(0x399)]=class extends he{constructor(_0x19c1a5,_0x220496,_0x9db223,_0xf31a50,_0x426dd7,_0x247c9b=!0x1,_0x30ba0c,_0x5754d2,_0x529c2b,_0x4e84ee,_0x3ae64f,_0x27bc81,_0x1c3021){var _0x51fa3e=_0x529853;super(_0x19c1a5,_0x220496,_0x9db223,_0xf31a50,_0x426dd7,_0x5754d2,_0x529c2b,_0x4e84ee,_0x1c3021),A(this,_0x51fa3e(0x18f),_0x51fa3e(0x108)),(this['_isPermissionRej']=_0x247c9b,this[_0x51fa3e(0x2f0)]=_0x30ba0c,this['_localeService']=_0x3ae64f,this[_0x51fa3e(0x309)]=_0x27bc81,this[_0x51fa3e(0x79)]=_0x1c3021,this[_0x51fa3e(0x123)](),this['_clearLocalCache'](),this[_0x51fa3e(0x17b)]());}[_0x529853(0x240)](){return this;}['onRemoteChangeset'](){return this;}[_0x529853(0x22b)](){return this;}[_0x529853(0x1f1)](){return this;}[_0x529853(0x3f9)](){return this;}[_0x529853(0x359)](){return this;}[_0x529853(0x1ce)](){return this;}[_0x529853(0x182)](){var _0x328931=_0x529853;throw new Error(_0x328931(0x1be));}[_0x529853(0x1f2)](){var _0x501609=_0x529853,_0x149083;(_0x149083=this[_0x501609(0x152)])==null||_0x149083[_0x501609(0x329)](this[_0x501609(0x20a)],this[_0x501609(0x2d6)],null,[]);}[_0x529853(0x123)](){var _0x5d1f0c=_0x529853;this[_0x5d1f0c(0x38a)]?this[_0x5d1f0c(0x309)][_0x5d1f0c(0x122)]({'id':Q[_0x5d1f0c(0x1ac)]}):this[_0x5d1f0c(0x309)][_0x5d1f0c(0x122)]({'id':Q[_0x5d1f0c(0x38f)]});}['_disableEditing'](){var _0x194af9=_0x529853;this[_0x194af9(0x2f0)]['updatePermissionPoint'](new Z[(_0x194af9(0x2fc))](this['unitID'])['id'],!0x1);}},exports[_0x529853(0x399)]=ce([w(0x6,a[_0x529853(0x105)](a[_0x529853(0xb7)])),w(0x7,a['ICommandService']),w(0x8,a[_0x529853(0x140)]),w(0x9,a[_0x529853(0x105)](g[_0x529853(0x272)])),w(0xa,a['Inject'](a[_0x529853(0xc1)])),w(0xb,a[_0x529853(0x105)](te)),w(0xc,a['Optional'](z))],exports['ConflictState']),exports[_0x529853(0x1e3)]=class extends he{constructor(_0x5a356f,_0x1a0762,_0x34152c,_0x11798a,_0x572e36,_0x3c2e76,_0x3c2ff7,_0x39f9b4,_0x41eb63,_0x1234a5){var _0x335a83=_0x529853;super(_0x5a356f,_0x1a0762,_0x34152c,_0x11798a,_0x572e36,_0x39f9b4,_0x41eb63,_0x3c2ff7,_0x1234a5),A(this,_0x335a83(0x18f),_0x335a83(0x3ef)),this[_0x335a83(0x113)]=_0x3c2e76;}['appendMutation'](_0x56f859){var _0x441d09=_0x529853;return this[_0x441d09(0x1e5)][_0x441d09(0x297)](_0x56f859),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x52079c){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x113211=_0x529853;throw new Error(_0x113211(0x1bb));}[_0x529853(0x1f1)](){var _0x108fce=_0x529853;throw new Error(_0x108fce(0x1eb));}['onRemoteRetry'](){return this;}[_0x529853(0x359)](){return this;}[_0x529853(0x1ce)](){var _0x4566b5=_0x529853;const {_injector:_0x1b1e45,_pendingMutations:_0x659229,_awaitingChangeset:_0x4a5517,unitID:_0x13612,_handler:_0xa67110,type:_0x39ee4c}=this,_0x24ecf0=Dt(_0x1b1e45,_0x13612,_0x39ee4c,_0x4a5517,_0x659229,_0xa67110);return _0x24ecf0 instanceof exports['PendingState']?_0x24ecf0[_0x4566b5(0xa6)]():(_0x24ecf0 instanceof exports['AwaitingWithPendingState']||_0x24ecf0 instanceof exports[_0x4566b5(0x352)])&&_0x24ecf0[_0x4566b5(0x182)](),_0x24ecf0;}[_0x529853(0x182)](){var _0x3e49ae=_0x529853;throw new Error(_0x3e49ae(0x252));}},exports[_0x529853(0x1e3)]=ce([w(0x5,a[_0x529853(0x105)](a[_0x529853(0x203)])),w(0x6,a['Inject'](g[_0x529853(0x272)])),w(0x7,a[_0x529853(0x2f4)]),w(0x8,a[_0x529853(0x140)]),w(0x9,a[_0x529853(0x190)](z))],exports[_0x529853(0x1e3)]),exports['FetchingMissState']=class extends he{constructor(_0x138ed6,_0xa80ac4,_0x253868,_0x32a779,_0x4a075a,_0x4c5263,_0x1358d3,_0x521e36,_0x456e7a,_0x411f70,_0x55e3b4,_0x425182,_0x185c91,_0x4d80d5){var _0x3c0a43=_0x529853;super(_0x138ed6,_0xa80ac4,_0x253868,_0x32a779,_0x1358d3,_0x55e3b4,_0x425182,_0x456e7a,_0x4d80d5),A(this,_0x3c0a43(0x18f),_0x3c0a43(0x173)),(this[_0x3c0a43(0x3e4)]=_0x4a075a,this[_0x3c0a43(0x368)]=_0x4c5263,this[_0x3c0a43(0x113)]=_0x521e36,this['_logService']=_0x411f70,this[_0x3c0a43(0x217)]=_0x185c91,this[_0x3c0a43(0x79)]=_0x4d80d5);}[_0x529853(0x206)](_0x44ca30){var _0x2b6777=_0x529853;try{const _0x9eeeb3=[..._0x44ca30,...this[_0x2b6777(0x368)]],_0x4c5679=[this[_0x2b6777(0x261)]||this[_0x2b6777(0x3e4)]][_0x2b6777(0x1db)](_0x2e4119=>!!_0x2e4119);let _0x30e247,_0x41058d;if(_0x4c5679[_0x2b6777(0x102)]){const _0x21f681=this[_0x2b6777(0x217)][_0x2b6777(0x1c0)](_0x9eeeb3,_0x4c5679,!0x1);if(!g[_0x2b6777(0x32d)](_0x21f681))throw _0x21f681[_0x2b6777(0x1da)];_0x30e247=_0x21f681[_0x2b6777(0x257)],_0x41058d=_0x21f681['c2Prime'];}else _0x30e247=_0x9eeeb3,_0x41058d=[];let _0x42e6ff=this[_0x2b6777(0x1e5)];_0x30e247[_0x2b6777(0x26d)](_0x5eae74=>{var _0x37a706=_0x2b6777;let _0x3af4c8;if(_0x42e6ff[_0x37a706(0x102)]){const _0x4eb2be=this['_transformService'][_0x37a706(0x2e7)](_0x5eae74,_0x42e6ff);if(!g[_0x37a706(0x1d5)](_0x4eb2be))throw _0x4eb2be[_0x37a706(0x1da)];_0x3af4c8=_0x4eb2be[_0x37a706(0x257)],_0x42e6ff=_0x4eb2be[_0x37a706(0x2a7)];}else _0x3af4c8=_0x5eae74;this[_0x37a706(0x3c9)](_0x3af4c8);}),this[_0x2b6777(0x3e4)]&&this[_0x2b6777(0x3be)](),this[_0x2b6777(0x261)]&&_0x41058d[_0x2b6777(0x102)]&&(_0x41058d[0x0][_0x2b6777(0x27f)]=this[_0x2b6777(0x117)]());let _0x353fb2;if(this['_awaitingChangeset']&&_0x42e6ff[_0x2b6777(0x102)]!==0x0)_0x353fb2=this[_0x2b6777(0x113)][_0x2b6777(0x89)](exports[_0x2b6777(0x17f)],this[_0x2b6777(0x20a)],this[_0x2b6777(0x2d6)],_0x41058d[0x0],_0x42e6ff,this[_0x2b6777(0x262)],void 0x0);else{if(this[_0x2b6777(0x261)]&&_0x42e6ff[_0x2b6777(0x102)]===0x0)_0x41058d[0x0][_0x2b6777(0x27f)]=this[_0x2b6777(0x117)](),_0x353fb2=this['_injector']['createInstance'](exports[_0x2b6777(0x352)],this[_0x2b6777(0x20a)],this['type'],_0x41058d[0x0],this[_0x2b6777(0x262)]);else{if(_0x42e6ff[_0x2b6777(0x102)]!==0x0){const _0x3e0b14=this[_0x2b6777(0x113)][_0x2b6777(0x89)](exports[_0x2b6777(0x263)],this['unitID'],this[_0x2b6777(0x2d6)],_0x42e6ff,this[_0x2b6777(0x262)]);_0x3e0b14[_0x2b6777(0xa6)](),_0x353fb2=_0x3e0b14;}else _0x353fb2=this[_0x2b6777(0x113)][_0x2b6777(0x89)](exports[_0x2b6777(0xec)],this[_0x2b6777(0x20a)],this['type'],this[_0x2b6777(0x262)]);}}return _0x353fb2[_0x2b6777(0x143)](),_0x353fb2;}catch(_0x2abe9d){return this[_0x2b6777(0x1cc)]['error']('[FetchMissState]',_0x2b6777(0x1e0),_0x2abe9d),this['_injector'][_0x2b6777(0x89)](exports[_0x2b6777(0x399)],this[_0x2b6777(0x20a)],this[_0x2b6777(0x2d6)],this[_0x2b6777(0x261)],this[_0x2b6777(0x1e5)],this[_0x2b6777(0x262)],!0x1);}}[_0x529853(0x182)](){var _0x57f11c=_0x529853;throw new Error(_0x57f11c(0xbe));}[_0x529853(0x240)](_0x5a1a15){var _0x361181=_0x529853;return this[_0x361181(0x1e5)]['push'](_0x5a1a15),this;}[_0x529853(0xea)](_0x544187){var _0x25674c=_0x529853;return this[_0x25674c(0x368)][_0x25674c(0x297)](_0x544187),this;}['onRemoteAck'](_0x3c5260){var _0x274536=_0x529853;if(this[_0x274536(0x261)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x274536(0x25a));}['onRemoteRej'](_0x6cafe4){var _0x2827e0=_0x529853;return this['_onConflict'](!!(_0x6cafe4!=null&&_0x6cafe4[_0x2827e0(0x253)]));}['onRemoteRetry'](){return this;}[_0x529853(0x359)](){var _0x46a202=_0x529853;return this[_0x46a202(0x113)][_0x46a202(0x89)](exports[_0x46a202(0x1e3)],this[_0x46a202(0x20a)],this[_0x46a202(0x2d6)],this[_0x46a202(0x261)],this[_0x46a202(0x1e5)],this['_handler']);}[_0x529853(0x1ce)](){return this;}[_0x529853(0x1de)](_0x241f21){var _0x3a9b09=_0x529853;return this[_0x3a9b09(0x113)][_0x3a9b09(0x89)](exports['ConflictState'],this['unitID'],this[_0x3a9b09(0x2d6)],this[_0x3a9b09(0x261)],this[_0x3a9b09(0x1e5)],this[_0x3a9b09(0x262)],_0x241f21);}},exports[_0x529853(0x290)]=ce([w(0x7,a[_0x529853(0x105)](a[_0x529853(0x203)])),w(0x8,a[_0x529853(0x105)](g[_0x529853(0x272)])),w(0x9,a[_0x529853(0x18e)]),w(0xa,a[_0x529853(0x2f4)]),w(0xb,a[_0x529853(0x140)]),w(0xc,g[_0x529853(0x214)]),w(0xd,a[_0x529853(0x190)](z))],exports[_0x529853(0x290)]);function Dt(_0x5d2b52,_0x34ae3d,_0x239c1d,_0x5c40fe,_0x7261b8,_0x3c0a1e){var _0x77cebb=_0x529853;return _0x5c40fe&&_0x7261b8[_0x77cebb(0x102)]?_0x5d2b52[_0x77cebb(0x89)](exports[_0x77cebb(0x17f)],_0x34ae3d,_0x239c1d,_0x5c40fe,_0x7261b8,_0x3c0a1e,void 0x0):_0x5c40fe?_0x5d2b52[_0x77cebb(0x89)](exports[_0x77cebb(0x352)],_0x34ae3d,_0x239c1d,_0x5c40fe,_0x3c0a1e):_0x7261b8[_0x77cebb(0x102)]?_0x5d2b52[_0x77cebb(0x89)](exports[_0x77cebb(0x263)],_0x34ae3d,_0x239c1d,_0x7261b8,_0x3c0a1e):_0x5d2b52[_0x77cebb(0x89)](exports['SyncedState'],_0x34ae3d,_0x239c1d,_0x3c0a1e);}var Ci=Object[_0x529853(0x28b)],We=(_0x148193,_0xe565dc,_0x2603aa,_0x42e45d)=>{var _0x4ed6a5=_0x529853;for(var _0x16516f=_0x42e45d>0x1?void 0x0:_0x42e45d?Ci(_0xe565dc,_0x2603aa):_0xe565dc,_0x2578d1=_0x148193[_0x4ed6a5(0x102)]-0x1,_0x4af988;_0x2578d1>=0x0;_0x2578d1--)(_0x4af988=_0x148193[_0x2578d1])&&(_0x16516f=_0x4af988(_0x16516f)||_0x16516f);return _0x16516f;},$=(_0x573663,_0x23b294)=>(_0x31fd60,_0x31e45a)=>_0x23b294(_0x31fd60,_0x31e45a,_0x573663);exports[_0x529853(0x151)]=class extends a[_0x529853(0x3a6)]{constructor(_0x36619a,_0x5b5ed9,_0x3e4984,_0x12d4f7,_0xe96a52,_0x5a4977,_0x4bbe40,_0x4c41e2,_0x5493a1,_0x2258af,_0xfa1182,_0xd01e7a,_0x21ba0c){var _0x14530a=_0x529853;super(),A(this,_0x14530a(0xa1),new j[(_0x14530a(0x39e))](null)),A(this,_0x14530a(0x86),this['_state$'][_0x14530a(0xb8)]()),A(this,'_state'),A(this,_0x14530a(0x273),!0x1),A(this,_0x14530a(0x256),''),A(this,_0x14530a(0x24c),0x0),A(this,'status$',this['state$'][_0x14530a(0x78)](j[_0x14530a(0x3e5)](_0x845fbd=>_0x845fbd?_0x845fbd[_0x14530a(0x18f)]:Ve[_0x14530a(0x22e)]),j['shareReplay'](0x1))),A(this,_0x14530a(0x1c7),!0x1),A(this,_0x14530a(0x278),[]),(this[_0x14530a(0x20a)]=_0x36619a,this[_0x14530a(0x33a)]=_0x5b5ed9,this[_0x14530a(0x15d)]=_0x3e4984,this[_0x14530a(0x113)]=_0x12d4f7,this['_compressMutationService']=_0xe96a52,this[_0x14530a(0x2a2)]=_0x5a4977,this[_0x14530a(0xac)]=_0x4bbe40,this[_0x14530a(0x1a1)]=_0x4c41e2,this[_0x14530a(0x1cc)]=_0x5493a1,this[_0x14530a(0x162)]=_0x2258af,this['_permissionService']=_0xfa1182,this[_0x14530a(0x338)]=_0xd01e7a,this['_localCacheService']=_0x21ba0c);}get[_0x529853(0x389)](){var _0x16c5fd=_0x529853;return this[_0x16c5fd(0x159)];}async[_0x529853(0x31e)](){if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x529853(0x99)](){var _0x6ecf3=_0x529853;return this['_collaborationPaused']=!0x0,a[_0x6ecf3(0x161)](()=>{var _0x54e736=_0x6ecf3;this[_0x54e736(0x273)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x529853(0x3e2)](_0x15430d){var _0x1458f8=_0x529853;this[_0x1458f8(0x3c6)](_0x15430d);}['_updateState'](_0x3f4c52){var _0x46c25f=_0x529853;this[_0x46c25f(0x159)]=_0x3f4c52,this['_state$'][_0x46c25f(0x1a0)](_0x3f4c52);}async[_0x529853(0x3bf)](){var _0x3c8510=_0x529853,_0x1354d3;this[_0x3c8510(0x93)](await this[_0x3c8510(0x2f3)]()),this['_singleActiveUnitService']&&((_0x1354d3=this[_0x3c8510(0x338)])==null||_0x1354d3[_0x3c8510(0x1d4)](this['unitID']),this['disposeWithMe'](this['_singleActiveUnitService'][_0x3c8510(0x98)](this[_0x3c8510(0x20a)])[_0x3c8510(0x176)](_0x54ca64=>{var _0x3ec146=_0x3c8510;this[_0x3ec146(0x1cc)][_0x3ec146(0x23e)](_0x3ec146(0x3e0),_0x3ec146(0x318),_0x54ca64),_0x54ca64===Fe[_0x3ec146(0x16f)]?(this[_0x3ec146(0x1a1)][_0x3ec146(0x122)]({'id':Q[_0x3ec146(0x1ad)]}),this['_permissionService'][_0x3ec146(0x1ba)](new Z[(_0x3ec146(0x2fc))](this[_0x3ec146(0x20a)])['id'],!0x1),this[_0x3ec146(0x2f0)][_0x3ec146(0x1a5)](!0x1)):(this[_0x3ec146(0x2f0)][_0x3ec146(0x1ba)](new Z['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this['_permissionService'][_0x3ec146(0x1a5)](!0x0));})));let _0xe04963=!0x1;return this[_0x3c8510(0x156)](this[_0x3c8510(0x33a)][_0x3c8510(0x31f)][_0x3c8510(0x176)](_0x549284=>{var _0x2f9427=_0x3c8510;_0x549284===se['ONLINE']?this['_toggleOnline'](_0xe04963):_0x549284===se[_0x2f9427(0x22e)]&&(_0xe04963=!0x0,this[_0x2f9427(0x326)]());})),this[_0x3c8510(0x156)](this[_0x3c8510(0x33a)][_0x3c8510(0x14e)]['subscribe'](_0x7d2adf=>{var _0x1fc25a=_0x3c8510;try{switch(_0x7d2adf['eventID']){case g['CollaborationEvent'][_0x1fc25a(0x29d)]:{this[_0x1fc25a(0x9c)](g[_0x1fc25a(0x30f)](_0x7d2adf[_0x1fc25a(0x14f)]));break;}case g[_0x1fc25a(0x160)][_0x1fc25a(0x1a6)]:{this[_0x1fc25a(0x293)](_0x7d2adf[_0x1fc25a(0x14f)]);break;}case g['CollaborationEvent'][_0x1fc25a(0x35f)]:{this['_onRemoteRejected']();break;}case g['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this[_0x1fc25a(0x14d)](_0x7d2adf[_0x1fc25a(0x14f)]);break;}case g[_0x1fc25a(0x160)][_0x1fc25a(0x32b)]:{this[_0x1fc25a(0x1b9)](_0x7d2adf[_0x1fc25a(0x14f)]['changesets'][_0x1fc25a(0x3e5)](_0xdb2d4e=>g['parseProtocolChangeset'](_0xdb2d4e)));break;}case g[_0x1fc25a(0x160)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case g['CollaborationEvent'][_0x1fc25a(0x19b)]:break;}}catch(_0x48c25b){throw console[_0x1fc25a(0x1da)]('Error\x20on\x20receiving\x20event',_0x48c25b),_0x48c25b;}})),this[_0x3c8510(0x159)];}[_0x529853(0xf7)](){this['_transitionLocked']=!0x1;}[_0x529853(0x386)](){var _0x1b4498=_0x529853;if(this[_0x1b4498(0x1c7)])throw new Error(_0x1b4498(0x2e0));this[_0x1b4498(0x1c7)]=!0x0;}['_onLocalMutation'](_0x3a9545){var _0x30f134=_0x529853;this[_0x30f134(0x386)](),this['_updateState'](this[_0x30f134(0x159)][_0x30f134(0x240)](_0x3a9545)),this[_0x30f134(0xf7)]();}[_0x529853(0x9c)](_0x477dcd){var _0x49ceec=_0x529853;if(!(_0x477dcd[_0x49ceec(0x33c)]<=this[_0x49ceec(0xac)][_0x49ceec(0xd4)](this[_0x49ceec(0x20a)]))){if(this[_0x49ceec(0x273)]){this[_0x49ceec(0x278)][_0x49ceec(0x297)](_0x477dcd);return;}this[_0x49ceec(0x3d1)](_0x477dcd);}}['_exhaustRemoteChangesetQueue'](){var _0xbf1a9d=_0x529853;this[_0xbf1a9d(0x278)][_0xbf1a9d(0x26d)](_0x2fd622=>this['_applyRemoteChangeset'](_0x2fd622)),this['_remoteChangesetQueue']=[];}[_0x529853(0x3d1)](_0x17da98){var _0x302af1=_0x529853;const _0x1e045b=this[_0x302af1(0xe9)][_0x302af1(0x1fe)][_0x302af1(0xf9)](this['_compressMutationService'][_0x302af1(0x1fe)][_0x302af1(0x188)]()['COMPRESS_MUTATION_APPLY'])(_0x17da98['mutations'],null)||_0x17da98[_0x302af1(0x387)],_0xd9f006={..._0x17da98,'mutations':_0x1e045b};this[_0x302af1(0x386)](),this['_updateState'](this[_0x302af1(0x159)]['onRemoteChangeset'](_0xd9f006)),this[_0x302af1(0xf7)]();}['_onRemoteACK'](_0x4968de){var _0x55474f=_0x529853;this[_0x55474f(0x386)](),this[_0x55474f(0x93)](this[_0x55474f(0x159)][_0x55474f(0x22b)](_0x4968de)),this[_0x55474f(0xf7)]();}[_0x529853(0xba)](_0x1c16e5){var _0x1e4a43=_0x529853;this[_0x1e4a43(0x386)](),this[_0x1e4a43(0x93)](this[_0x1e4a43(0x159)][_0x1e4a43(0x1f1)](_0x1c16e5)),this['_unlockTransition']();}[_0x529853(0x14d)](_0x482b9d){var _0x31efc8=_0x529853;this[_0x31efc8(0x386)](),this['_updateState'](this[_0x31efc8(0x159)][_0x31efc8(0x3f9)](_0x482b9d)),this['_unlockTransition']();}['_onFetchMissResult'](_0x15a086){var _0x17f538=_0x529853;if(!(this['_state']instanceof exports['FetchingMissState']))throw new TypeError(_0x17f538(0x126));const _0x260f44=_0x15a086[_0x17f538(0x3e5)](_0x3fb21b=>{var _0x290218=_0x17f538;const _0x3e8104=this[_0x290218(0xe9)][_0x290218(0x1fe)][_0x290218(0xf9)](this[_0x290218(0xe9)]['interceptor'][_0x290218(0x188)]()[_0x290218(0x2b7)])(_0x3fb21b['mutations'],null)||_0x3fb21b[_0x290218(0x387)];return{..._0x3fb21b,'mutations':_0x3e8104};});this[_0x17f538(0x386)](),this[_0x17f538(0x93)](this[_0x17f538(0x159)][_0x17f538(0x206)](_0x260f44)),this[_0x17f538(0xf7)]();}[_0x529853(0x326)](){var _0x244d4b=_0x529853;this[_0x244d4b(0x386)](),this[_0x244d4b(0x93)](this[_0x244d4b(0x159)]['toggleOffline']()),this[_0x244d4b(0xf7)]();}[_0x529853(0x2c9)](_0x2a05b5=!0x1){var _0x5b2b64=_0x529853;this[_0x5b2b64(0x386)](),this[_0x5b2b64(0x93)](this['_state'][_0x5b2b64(0x1ce)]()),this[_0x5b2b64(0xf7)]();const _0x3ee33d=this[_0x5b2b64(0x159)];_0x2a05b5&&_0x3ee33d instanceof exports['SyncedState']&&(this[_0x5b2b64(0x386)](),this[_0x5b2b64(0x93)](_0x3ee33d[_0x5b2b64(0x3b7)]()),this[_0x5b2b64(0xf7)]());}async[_0x529853(0x2f3)](){return new Promise(_0x1be873=>{var _0x586357=_0x4573;this[_0x586357(0x33a)][_0x586357(0x31f)][_0x586357(0x78)](j[_0x586357(0x341)](0x1))[_0x586357(0x176)](async _0x5d3360=>{var _0x41b31f=_0x586357;_0x1be873(await this[_0x41b31f(0x36e)](_0x5d3360===se[_0x41b31f(0x1b8)]));});});}[_0x529853(0x1c1)](){var _0x35ad8a=_0x529853;const _0x4acb87=this[_0x35ad8a(0x20a)];return{'onStateChange':(_0x1bd6f0,_0x303dbb)=>{var _0x5223e9=_0x35ad8a;if(_0x1bd6f0!==this[_0x5223e9(0x159)])throw new Error(_0x5223e9(0x3e8)+_0x1bd6f0[_0x5223e9(0x18f)]+'\x0aAfter:\x20'+_0x303dbb['status']+_0x5223e9(0x208)+this[_0x5223e9(0x159)][_0x5223e9(0x18f)]);this[_0x5223e9(0x93)](_0x303dbb);},'onSendChangeset':_0x247118=>{var _0x7e5c1d=_0x35ad8a;_0x247118[_0x7e5c1d(0x282)]||(_0x247118['sid']=this['_changesetSessionId'],_0x247118[_0x7e5c1d(0xf4)]=++this[_0x7e5c1d(0x24c)]);const _0x331440={'eventID':g[_0x7e5c1d(0x160)][_0x7e5c1d(0x3a2)],'data':{'unitID':_0x247118[_0x7e5c1d(0x20a)],'unitType':this[_0x7e5c1d(0x15d)],'changeset':_0x247118,'memberID':this['session'][_0x7e5c1d(0x37c)]()}};this['session']['send'](_0x331440,this[_0x7e5c1d(0x20a)]);},'onMissingChangesets':({from:_0x231523,to:_0x39a326})=>{var _0xae95b7=_0x35ad8a;this[_0xae95b7(0x1cc)][_0xae95b7(0x23e)](_0xae95b7(0x3e0),'fetching\x20missing\x20changesets\x20from\x20'+_0x231523+_0xae95b7(0x328)+_0x39a326);const _0x3308d7={'eventID':g[_0xae95b7(0x160)][_0xae95b7(0x118)],'data':{'unitID':_0x4acb87,'unitType':this[_0xae95b7(0x15d)],'from':_0x231523,'to':_0x39a326}};this[_0xae95b7(0x33a)][_0xae95b7(0x1f4)](_0x3308d7,this[_0xae95b7(0x20a)]);}};}async[_0x529853(0x36e)](_0xb4623d){var _0x41e12f=_0x529853,_0x40af33,_0x528667,_0x235e23;const _0x2cde03=await((_0x40af33=this[_0x41e12f(0x152)])==null?void 0x0:_0x40af33[_0x41e12f(0xc6)](this[_0x41e12f(0x20a)])),_0x262ab5=(_0x528667=_0x2cde03==null?void 0x0:_0x2cde03[_0x41e12f(0x387)])!=null?_0x528667:[],_0x55e3a6=(_0x235e23=_0x2cde03==null?void 0x0:_0x2cde03['awaitingChangeset'])!=null?_0x235e23:null,_0x32782e=!!(_0x55e3a6!=null&&_0x55e3a6[_0x41e12f(0x282)])&&!!(_0x55e3a6!=null&&_0x55e3a6[_0x41e12f(0xf4)]);this[_0x41e12f(0x256)]=_0x32782e?_0x55e3a6['sid']:di(),this[_0x41e12f(0x24c)]=_0x32782e?_0x55e3a6[_0x41e12f(0xf4)]:0x0;const _0x4eb4bd=this['unitID'];try{this[_0x41e12f(0x3c5)](_0x55e3a6,_0x262ab5);}catch(_0x140041){this[_0x41e12f(0x1cc)][_0x41e12f(0x1da)](_0x140041);}const _0x293ac9=this[_0x41e12f(0x1c1)]();if(_0xb4623d){const _0x444494=Dt(this[_0x41e12f(0x113)],_0x4eb4bd,this['_type'],_0x55e3a6,_0x262ab5,_0x293ac9);return _0x444494 instanceof exports[_0x41e12f(0x263)]?_0x444494['_schedule']():(_0x444494 instanceof exports['AwaitingWithPendingState']||_0x444494 instanceof exports[_0x41e12f(0x352)])&&_0x444494[_0x41e12f(0x182)](),_0x444494;}return this[_0x41e12f(0x113)]['createInstance'](exports[_0x41e12f(0x1e3)],_0x4eb4bd,this['_type'],_0x55e3a6,_0x262ab5,_0x293ac9);}[_0x529853(0x3c5)](_0x474b94,_0x379bde){var _0x2b551f=_0x529853,_0xa00f52,_0x33c568;const _0x11d9b1=this[_0x2b551f(0xe9)]['interceptor'][_0x2b551f(0xf9)](this[_0x2b551f(0xe9)][_0x2b551f(0x1fe)][_0x2b551f(0x188)]()[_0x2b551f(0x2b7)]);(_0xa00f52=_0x11d9b1((_0x474b94==null?void 0x0:_0x474b94[_0x2b551f(0x387)])||[],null))==null||_0xa00f52['forEach'](_0x285521=>this['_commandService'][_0x2b551f(0x2da)](_0x285521['id'],_0x285521['params'])),(_0x33c568=_0x11d9b1(_0x379bde||[],null))==null||_0x33c568['forEach'](_0x5d811e=>this[_0x2b551f(0x162)][_0x2b551f(0x2da)](_0x5d811e['id'],_0x5d811e[_0x2b551f(0x237)]));}},exports[_0x529853(0x151)]=We([$(0x3,a[_0x529853(0x105)](a['Injector'])),$(0x4,a[_0x529853(0x105)](g[_0x529853(0x2a3)])),$(0x5,a[_0x529853(0x105)](a['LocaleService'])),$(0x6,a['Inject'](g[_0x529853(0x272)])),$(0x7,a[_0x529853(0x105)](te)),$(0x8,a[_0x529853(0x18e)]),$(0x9,a[_0x529853(0x2f4)]),$(0xa,a[_0x529853(0xb7)]),$(0xb,a[_0x529853(0x190)](ve)),$(0xc,a['Optional'](z))],exports[_0x529853(0x151)]),exports['DocCollaborationEntity']=class extends exports[_0x529853(0x151)]{constructor(_0x382d06,_0x48f598,_0x2ef281,_0xc70adf,_0x5601ca,_0x39c99e,_0x5a976e,_0x5aa30a,_0x40ed54,_0x3d4297,_0x491fd4,_0x1c947a,_0x55177e){var _0x5003ab=_0x529853;super(_0x382d06,_0x2ef281,_0x48f598,_0xc70adf,_0x5601ca,_0x39c99e,_0x5a976e,_0x5aa30a,_0x40ed54,_0x3d4297,_0x491fd4,_0x1c947a,_0x55177e),A(this,_0x5003ab(0x153),null),(this[_0x5003ab(0x20a)]=_0x382d06,this[_0x5003ab(0x2d6)]=_0x48f598);}[_0x529853(0x286)](_0x2b794f){var _0x143528=_0x529853;this[_0x143528(0x153)]=_0x2b794f;}['dispose'](){var _0x40aa6c=_0x529853;this[_0x40aa6c(0x153)]=null,super[_0x40aa6c(0x1d2)]();}[_0x529853(0x1c1)](){var _0x20a5d5=_0x529853;const _0x4b27a4=super[_0x20a5d5(0x1c1)]();return _0x4b27a4[_0x20a5d5(0x1fb)]=_0x486a8b=>{var _0x18caa0=_0x20a5d5,_0x515c79,_0x2e4449;return(_0x2e4449=(_0x515c79=this['_handlerCallback'])==null?void 0x0:_0x515c79[_0x18caa0(0x1fb)])==null?void 0x0:_0x2e4449[_0x18caa0(0x391)](_0x515c79,_0x486a8b);},_0x4b27a4['onTransformState']=_0x3cdf6f=>{var _0x524042=_0x20a5d5,_0xadeb38,_0x3e936c;return(_0x3e936c=(_0xadeb38=this[_0x524042(0x153)])==null?void 0x0:_0xadeb38[_0x524042(0x229)])==null?void 0x0:_0x3e936c[_0x524042(0x391)](_0xadeb38,_0x3cdf6f);},_0x4b27a4['onTransformSelections']=_0x310a9f=>{var _0x4047e8=_0x20a5d5,_0xbd5b70,_0x360a64;return(_0x360a64=(_0xbd5b70=this['_handlerCallback'])==null?void 0x0:_0xbd5b70[_0x4047e8(0x111)])==null?void 0x0:_0x360a64[_0x4047e8(0x391)](_0xbd5b70,_0x310a9f);},_0x4b27a4['onSyncEditingCollabCursor']=_0x36aa0a=>{var _0x42ebf0=_0x20a5d5,_0x2adc55,_0x56d6e4;return(_0x56d6e4=(_0x2adc55=this['_handlerCallback'])==null?void 0x0:_0x2adc55[_0x42ebf0(0x14b)])==null?void 0x0:_0x56d6e4['call'](_0x2adc55,_0x36aa0a);},_0x4b27a4[_0x20a5d5(0x3ee)]=_0x19e8ec=>{var _0x513b15=_0x20a5d5,_0xfa3284,_0x1cbe33,_0x1ffea6;if(!((_0xfa3284=this['_handlerCallback'])!=null&&_0xfa3284[_0x513b15(0x3ee)]))throw new Error(_0x513b15(0x12f));return(_0x1ffea6=(_0x1cbe33=this['_handlerCallback'])==null?void 0x0:_0x1cbe33['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1ffea6[_0x513b15(0x391)](_0x1cbe33,_0x19e8ec);},_0x4b27a4['onTransformRemoteChangesetByStateCache']=_0x57e8f9=>{var _0x36875e=_0x20a5d5,_0x5f907b,_0x58b017,_0x515a95;if(!((_0x5f907b=this[_0x36875e(0x153)])!=null&&_0x5f907b[_0x36875e(0x29e)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x515a95=(_0x58b017=this[_0x36875e(0x153)])==null?void 0x0:_0x58b017[_0x36875e(0x29e)])==null?void 0x0:_0x515a95['call'](_0x58b017,_0x57e8f9);},_0x4b27a4;}async[_0x529853(0x3bf)](){var _0x114219=_0x529853;const _0x58f238=await super[_0x114219(0x3bf)]();return this[_0x114219(0x156)](this[_0x114219(0x162)][_0x114219(0x21b)]((_0x58ff60,_0x3ec6d3)=>{var _0x5cf7cc=_0x114219;if(_0x58ff60[_0x5cf7cc(0x2d6)]!==a['CommandType'][_0x5cf7cc(0x1d3)]||_0x3ec6d3!=null&&_0x3ec6d3['fromCollab']||_0x3ec6d3!=null&&_0x3ec6d3['onlyLocal']||_0x58ff60['id']===ut[_0x5cf7cc(0x16a)]['id'])return;const _0x5e51f2=_0x58ff60['params'];if((_0x5e51f2==null?void 0x0:_0x5e51f2[_0x5cf7cc(0x149)])!==this['unitID'])return;const _0x3f9deb=_0x58ff60,_0x1f9046=this['_compressMutationService']['interceptor'][_0x5cf7cc(0xf9)](this[_0x5cf7cc(0xe9)]['interceptor']['getInterceptPoints']()[_0x5cf7cc(0x198)])([_0x3f9deb],null)||[_0x3f9deb];this[_0x5cf7cc(0x3c6)](_0x1f9046[0x0]);})),_0x58f238;}},exports['DocCollaborationEntity']=We([$(0x3,a[_0x529853(0x105)](a[_0x529853(0x203)])),$(0x4,a[_0x529853(0x105)](g[_0x529853(0x2a3)])),$(0x5,a[_0x529853(0x105)](a[_0x529853(0xc1)])),$(0x6,a[_0x529853(0x105)](g[_0x529853(0x272)])),$(0x7,a[_0x529853(0x105)](te)),$(0x8,a[_0x529853(0x18e)]),$(0x9,a[_0x529853(0x2f4)]),$(0xa,a[_0x529853(0xb7)]),$(0xb,a[_0x529853(0x190)](ve)),$(0xc,a['Optional'](z))],exports[_0x529853(0x1df)]),exports[_0x529853(0x2ea)]=class extends exports[_0x529853(0x151)]{constructor(_0x5af195,_0x23fbe8,_0x4b5236,_0x3bfb5d,_0x4302a2,_0x25dab6,_0x24f50c,_0x359c3f,_0x19c623,_0x45d771,_0x175145,_0x14bca6,_0x3de25d,_0xc70c5){var _0x27d402=_0x529853;super(_0x5af195,_0x4b5236,_0x23fbe8,_0x3bfb5d,_0x4302a2,_0x25dab6,_0x24f50c,_0x19c623,_0x45d771,_0x175145,_0x14bca6,_0x3de25d,_0xc70c5),this[_0x27d402(0x20a)]=_0x5af195,this[_0x27d402(0x2d6)]=_0x23fbe8,this[_0x27d402(0x1d1)]=_0x359c3f;}[_0x529853(0x1c1)](){var _0x2dd31e=_0x529853;const _0x2712c6=super[_0x2dd31e(0x1c1)]();return _0x2712c6[_0x2dd31e(0x111)]=_0x2630c4=>this[_0x2dd31e(0x1d1)]['transformSelections'](_0x2630c4),_0x2712c6;}async['_init'](){var _0x5135ba=_0x529853;const _0x2d0428=await super['_init']();return this[_0x5135ba(0x156)](this[_0x5135ba(0x162)][_0x5135ba(0x21b)]((_0x354c7e,_0x4485f1)=>{var _0x449bf9=_0x5135ba;if(_0x354c7e[_0x449bf9(0x2d6)]!==a['CommandType'][_0x449bf9(0x1d3)]||_0x4485f1!=null&&_0x4485f1[_0x449bf9(0xbc)]||_0x4485f1!=null&&_0x4485f1[_0x449bf9(0x1f6)])return;const _0x45f82c=_0x354c7e[_0x449bf9(0x237)];if((_0x45f82c==null?void 0x0:_0x45f82c[_0x449bf9(0x149)])!==this[_0x449bf9(0x20a)])return;const _0x110f13=_0x354c7e,_0x5a66c7=this[_0x449bf9(0xe9)][_0x449bf9(0x1fe)][_0x449bf9(0xf9)](this[_0x449bf9(0xe9)][_0x449bf9(0x1fe)]['getInterceptPoints']()[_0x449bf9(0x198)])([_0x110f13],null)||[_0x110f13];this[_0x449bf9(0x3c6)](_0x5a66c7[0x0]);})),_0x2d0428;}},exports['SheetCollaborationEntity']=We([$(0x3,a['Inject'](a[_0x529853(0x203)])),$(0x4,a['Inject'](g[_0x529853(0x2a3)])),$(0x5,a[_0x529853(0x105)](a[_0x529853(0xc1)])),$(0x6,a[_0x529853(0x105)](g['RevisionService'])),$(0x7,a[_0x529853(0x105)](exports['SheetTransformSelectionsService'])),$(0x8,a['Inject'](te)),$(0x9,a[_0x529853(0x18e)]),$(0xa,a[_0x529853(0x2f4)]),$(0xb,a[_0x529853(0xb7)]),$(0xc,a[_0x529853(0x190)](ve)),$(0xd,a['Optional'](z))],exports[_0x529853(0x2ea)]);var Ti=Object[_0x529853(0x28b)],bi=(_0x260faf,_0x54ec58,_0xae943a,_0x2b17d4)=>{var _0x2e1403=_0x529853;for(var _0x3cf16b=_0x2b17d4>0x1?void 0x0:_0x2b17d4?Ti(_0x54ec58,_0xae943a):_0x54ec58,_0x143b62=_0x260faf[_0x2e1403(0x102)]-0x1,_0x16b9cc;_0x143b62>=0x0;_0x143b62--)(_0x16b9cc=_0x260faf[_0x143b62])&&(_0x3cf16b=_0x16b9cc(_0x3cf16b)||_0x3cf16b);return _0x3cf16b;},Pe=(_0x120d2a,_0x3ba226)=>(_0x5bef3b,_0x1c50c3)=>_0x3ba226(_0x5bef3b,_0x1c50c3,_0x120d2a);exports[_0x529853(0x314)]=class extends a[_0x529853(0x3a6)]{constructor(_0x2ba924,_0xda1152,_0x502d18){var _0x213c73=_0x529853;super(),A(this,_0x213c73(0x3e9),new Map()),A(this,_0x213c73(0xc8),new j[(_0x213c73(0x29c))]()),A(this,_0x213c73(0x24a),this[_0x213c73(0xc8)][_0x213c73(0xb8)]()),(this[_0x213c73(0x113)]=_0x2ba924,this['_collabSessionService']=_0xda1152,this[_0x213c73(0x107)]=_0x502d18,this[_0x213c73(0x3bf)]());}[_0x529853(0x1d2)](){var _0x55ca6e=_0x529853;super['dispose'](),this[_0x55ca6e(0x3e9)]['forEach'](_0x5d9999=>_0x5d9999[_0x55ca6e(0x1d2)]()),this['_entities'][_0x55ca6e(0x29b)]();}['getCollabEntity'](_0x300799){var _0x18bbca=_0x529853,_0x58a9ad;return(_0x58a9ad=this[_0x18bbca(0x3e9)][_0x18bbca(0x2e6)](_0x300799))!=null?_0x58a9ad:null;}[_0x529853(0x1b3)](_0x1176c8){var _0x1827b7=_0x529853;const _0x246c16=this[_0x1827b7(0x385)](_0x1176c8);return _0x246c16?j['of'](_0x246c16):this[_0x1827b7(0xc8)]['pipe'](V[_0x1827b7(0x1db)](_0xd08c14=>_0xd08c14[_0x1827b7(0x20a)]===_0x1176c8));}[_0x529853(0x2fd)](_0x391763){var _0x22ef28=_0x529853;return j[_0x22ef28(0x375)](this[_0x22ef28(0x1b3)](_0x391763)[_0x22ef28(0x78)](V['map'](()=>{})));}['_init'](){var _0x5b33b0=_0x529853;this['_univerInstanceService'][_0x5b33b0(0x10f)](a[_0x5b33b0(0x3eb)][_0x5b33b0(0x112)])[_0x5b33b0(0x78)](j[_0x5b33b0(0x34f)](this[_0x5b33b0(0x35b)]),V[_0x5b33b0(0x246)](0x10))[_0x5b33b0(0x176)](async _0x4cb404=>{var _0x307988=_0x5b33b0;const _0x457b1e=_0x4cb404[_0x307988(0x136)](),_0x2ed6ad=await this[_0x307988(0x9b)](_0x457b1e,X[_0x307988(0x112)]);this[_0x307988(0x3e9)][_0x307988(0x3f5)](_0x457b1e,_0x2ed6ad);}),this[_0x5b33b0(0x107)][_0x5b33b0(0x10f)](a[_0x5b33b0(0x3eb)][_0x5b33b0(0x22c)])[_0x5b33b0(0x78)](j[_0x5b33b0(0x34f)](this[_0x5b33b0(0x35b)]),V[_0x5b33b0(0x246)](0x10))['pipe'](V[_0x5b33b0(0x1db)](_0x45d14a=>!_0x45d14a[_0x5b33b0(0x136)]()['startsWith']('__')))['subscribe'](async _0x2755fc=>{var _0x72592a=_0x5b33b0;const _0x4637e7=_0x2755fc[_0x72592a(0x136)](),_0x28f569=await this['_startCollaboration'](_0x4637e7,X[_0x72592a(0x22c)]);this[_0x72592a(0x3e9)][_0x72592a(0x3f5)](_0x4637e7,_0x28f569);}),j[_0x5b33b0(0x32e)](this[_0x5b33b0(0x107)][_0x5b33b0(0x3af)](a[_0x5b33b0(0x3eb)][_0x5b33b0(0x112)]),this[_0x5b33b0(0x107)][_0x5b33b0(0x3af)](a[_0x5b33b0(0x3eb)][_0x5b33b0(0x22c)]))[_0x5b33b0(0x78)](j['takeUntil'](this[_0x5b33b0(0x35b)]))['subscribe'](_0x149817=>{var _0x595af1=_0x5b33b0;const _0x111fb2=_0x149817[_0x595af1(0x136)](),_0x468a1f=this[_0x595af1(0x3e9)]['get'](_0x111fb2);_0x468a1f&&(_0x468a1f['dispose'](),this['_entities'][_0x595af1(0xe3)](_0x111fb2));});}async[_0x529853(0x9b)](_0x4b0633,_0x5e5422){var _0x256b15=_0x529853;const _0x43f546=await this['_collabSessionService']['requireSession'](_0x4b0633),_0x5105b8=this[_0x256b15(0x113)][_0x256b15(0x89)](this[_0x256b15(0x32a)](_0x5e5422),_0x4b0633,_0x5e5422,_0x43f546);return await _0x5105b8[_0x256b15(0x31e)](),this[_0x256b15(0xc8)][_0x256b15(0x1a0)](_0x5105b8),_0x5105b8;}['_getCtorByUniverType'](_0x2839a9){var _0x3361ad=_0x529853;switch(_0x2839a9){case X[_0x3361ad(0x22c)]:return exports['DocCollaborationEntity'];case X[_0x3361ad(0x112)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x3361ad(0x7b)+_0x2839a9);}}},exports[_0x529853(0x314)]=bi([Pe(0x0,a[_0x529853(0x105)](a[_0x529853(0x203)])),Pe(0x1,a['Inject'](exports['CollaborationSessionService'])),Pe(0x2,a['IUniverInstanceService'])],exports[_0x529853(0x314)]);var Ri=Object[_0x529853(0x28b)],Oi=(_0x450a2e,_0x3a784c,_0x3acf60,_0x5db319)=>{var _0x39c0a2=_0x529853;for(var _0x1deed6=_0x5db319>0x1?void 0x0:_0x5db319?Ri(_0x3a784c,_0x3acf60):_0x3a784c,_0x45e270=_0x450a2e[_0x39c0a2(0x102)]-0x1,_0x58adad;_0x45e270>=0x0;_0x45e270--)(_0x58adad=_0x450a2e[_0x45e270])&&(_0x1deed6=_0x58adad(_0x1deed6)||_0x1deed6);return _0x1deed6;},Je=(_0x10a81d,_0x28c767)=>(_0x334190,_0x3e3047)=>_0x28c767(_0x334190,_0x3e3047,_0x10a81d);const yi=_0x529853(0x379),Ni=_0x529853(0x1cb);let He=class extends a[_0x529853(0x205)]{constructor(_0x1dede5,_0x4e3fdc){var _0x29e81f=_0x529853;super(),this[_0x29e81f(0x107)]=_0x1dede5,this[_0x29e81f(0x3d7)]=_0x4e3fdc,this[_0x29e81f(0x3bf)]();}[_0x529853(0x3bf)](){var _0x43a283=_0x529853;this[_0x43a283(0x156)](this[_0x43a283(0x107)]['focused$'][_0x43a283(0x176)](()=>{var _0x132ef1=_0x43a283,_0x170e31;const _0x8a7b90=this[_0x132ef1(0x107)][_0x132ef1(0x1ae)]();let _0x4f7548=(_0x170e31=this[_0x132ef1(0x3d7)][_0x132ef1(0x2bb)](yi))!=null?_0x170e31:Ni;_0x8a7b90 instanceof a[_0x132ef1(0x31c)]&&(_0x4f7548=_0x8a7b90[_0x132ef1(0x251)]),document['title']=_0x4f7548;}));}};He=Oi([Je(0x0,a[_0x529853(0x249)]),Je(0x1,a[_0x529853(0x1d9)])],He);var Di=Object[_0x529853(0x28b)],Ui=(_0x12f6c7,_0x1a0f6b,_0x5bd228,_0x5a4a26)=>{var _0x4c1662=_0x529853;for(var _0x22aa7e=_0x5a4a26>0x1?void 0x0:_0x5a4a26?Di(_0x1a0f6b,_0x5bd228):_0x1a0f6b,_0xcc95ff=_0x12f6c7[_0x4c1662(0x102)]-0x1,_0x1a0fbe;_0xcc95ff>=0x0;_0xcc95ff--)(_0x1a0fbe=_0x12f6c7[_0xcc95ff])&&(_0x22aa7e=_0x1a0fbe(_0x22aa7e)||_0x22aa7e);return _0x22aa7e;},we=(_0x491ab7,_0x25f8b5)=>(_0xc6968a,_0xd8a684)=>_0x25f8b5(_0xc6968a,_0xd8a684,_0x491ab7);let ye=class{constructor(_0x4db13a,_0x33ccd3,_0x1753d7){var _0x3da163=_0x529853;this[_0x3da163(0x3d7)]=_0x4db13a,this[_0x3da163(0x361)]=_0x33ccd3,this[_0x3da163(0x3fe)]=_0x1753d7,this[_0x3da163(0x31e)]();}[_0x529853(0x31e)](){var _0x3c4d6e=_0x529853;this['_httpService'][_0x3c4d6e(0x200)]({'priority':0x1,'interceptor':(_0x314eee,_0x28053d)=>_0x28053d(_0x314eee)['pipe'](j[_0x3c4d6e(0x3f0)](async _0x5c1564=>{var _0x11de81=_0x3c4d6e;const _0x3e8627=_0x5c1564;if(_0x3e8627[_0x11de81(0x18f)]===0x191){if(typeof window>'u')throw new Error(_0x11de81(0x23b));if(window[_0x11de81(0x2c2)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x1b6d62=window['encodeURIComponent'](window[_0x11de81(0x187)][_0x11de81(0x228)]);window['location']['href']=this[_0x11de81(0xe6)]()+'?url='+_0x1b6d62;}}return _0x3e8627;}))});}[_0x529853(0xe6)](){var _0x3f9003=_0x529853,_0x596eb3,_0x7df389;const _0x45f948=this[_0x3f9003(0x3d7)][_0x3f9003(0x2bb)](Et),_0x1ac206=this[_0x3f9003(0x3d7)][_0x3f9003(0x2bb)](Y);return(_0x7df389=(_0x596eb3=_0x1ac206==null?void 0x0:_0x1ac206[_0x3f9003(0xc0)])!=null?_0x596eb3:_0x45f948)!=null?_0x7df389:Yt;}};ye=Ui([we(0x0,a[_0x529853(0x1d9)]),we(0x1,a[_0x529853(0x105)](q[_0x529853(0x294)])),we(0x2,a[_0x529853(0x105)](a[_0x529853(0xc1)]))],ye);var Ai=Object[_0x529853(0x28b)],Pi=(_0x48630a,_0x5135d3,_0x4a7bf5,_0x5e03ce)=>{var _0x5cf94b=_0x529853;for(var _0x11e492=_0x5e03ce>0x1?void 0x0:_0x5e03ce?Ai(_0x5135d3,_0x4a7bf5):_0x5135d3,_0x3815ce=_0x48630a[_0x5cf94b(0x102)]-0x1,_0x34ad3d;_0x3815ce>=0x0;_0x3815ce--)(_0x34ad3d=_0x48630a[_0x3815ce])&&(_0x11e492=_0x34ad3d(_0x11e492)||_0x11e492);return _0x11e492;},Xe=(_0x312b4b,_0x2cee4a)=>(_0x541dd4,_0x2b1a01)=>_0x2cee4a(_0x541dd4,_0x2b1a01,_0x312b4b);const Ge=_0x529853(0x372),wi='/universer-api/authz';exports[_0x529853(0x355)]=class extends a[_0x529853(0x205)]{constructor(_0x4367a8,_0x38cf56){var _0x561e3b=_0x529853;super(),this[_0x561e3b(0x28f)]=_0x4367a8,this[_0x561e3b(0x3d7)]=_0x38cf56,this[_0x561e3b(0x24d)]();}[_0x529853(0x24d)](){var _0x320b88=_0x529853;const _0x4cd128=this;this[_0x320b88(0x156)](this[_0x320b88(0x28f)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x320b88(0x134)]({'isMatch'(_0x4df2d8){var _0x433a62=_0x320b88,_0x15ad84;if(_0x4df2d8[_0x433a62(0x189)]===_0x433a62(0x393)&&((_0x15ad84=_0x4df2d8[_0x433a62(0x34b)])!=null&&_0x15ad84[_0x433a62(0xd1)])){const {objectID:_0x3b03e2,objectType:_0x11d67f}=_0x4df2d8[_0x433a62(0x34b)][_0x433a62(0xd1)]||{};if(!_0x3b03e2||_0x11d67f===void 0x0)return!0x1;const _0x40dc2b=_0x4cd128[_0x433a62(0xff)]()+'/'+_0x11d67f+_0x433a62(0x3bc)+_0x3b03e2+_0x433a62(0x2a6);if(_0x4df2d8['url']===_0x40dc2b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xe312d3){var _0x5bf0f4=_0x320b88,_0x273939;return(_0x273939=_0xe312d3[_0x5bf0f4(0x34b)])==null?void 0x0:_0x273939[_0x5bf0f4(0xd1)];},'mergeParamsToRequest'(_0x22940c,_0x5c0184){var _0xf01cdf=_0x320b88;const _0x10d335=_0x4cd128['_getAPIPrefixPath']()+_0xf01cdf(0x130),_0x4f4bf3=_0x22940c[_0xf01cdf(0x1bc)]((_0x2efb58,_0x47c3f5)=>{var _0x53b996=_0xf01cdf;const {unitID:_0x1ba26a,objectID:_0x4b9fcb,objectType:_0x2a2ee2,actions:_0x2e7126}=_0x47c3f5;return _0x2efb58[_0x1ba26a]||(_0x2efb58[_0x1ba26a]={}),_0x2efb58[_0x1ba26a][_0x4b9fcb]||(_0x2efb58[_0x1ba26a][_0x4b9fcb]={'objectID':_0x4b9fcb,'objectType':_0x2a2ee2,'actions':[]}),_0x2efb58[_0x1ba26a][_0x4b9fcb][_0x53b996(0x7f)][_0x53b996(0x297)](..._0x2e7126),_0x2efb58;},{}),_0x1397e3=[];for(const _0x48962d in _0x4f4bf3)for(const _0x294990 in _0x4f4bf3[_0x48962d]){const {actions:_0x2c6e0d,objectType:_0x5c9597}=_0x4f4bf3[_0x48962d][_0x294990],_0x33613b=[...new Set(_0x2c6e0d)];_0x1397e3[_0xf01cdf(0x297)]({'unitID':_0x48962d,'objectID':_0x294990,'objectType':_0x5c9597,'actions':_0x33613b});}return new q[(_0xf01cdf(0x3ae))](_0xf01cdf(0x393),_0x10d335,{'headers':_0x5c0184[_0xf01cdf(0x1a7)],'withCredentials':_0x5c0184[_0xf01cdf(0x2c1)],'responseType':_0x5c0184[_0xf01cdf(0x137)],'body':{'requests':_0x1397e3}});}},{'distributeResult'(_0x3759dc,_0x451185){var _0x5e9a27=_0x320b88;const {objectActions:_0x2e0b09}=_0x3759dc;return _0x451185[_0x5e9a27(0x3e5)](_0x13e391=>{var _0x7b029d=_0x5e9a27;const {unitID:_0x400236,objectID:_0xf029f1,actions:_0x3b3aa4}=_0x13e391,_0x247b3b=_0x2e0b09[_0x7b029d(0x356)](_0xff07a8=>_0xff07a8['unitID']===_0x400236&&_0xff07a8['objectID']===_0xf029f1),_0x42cd2f=_0x3b3aa4['map'](_0x34ccd5=>_0x247b3b==null?void 0x0:_0x247b3b[_0x7b029d(0x7f)][_0x7b029d(0x356)](_0x92f157=>_0x92f157[_0x7b029d(0x2ec)]===_0x34ccd5))[_0x7b029d(0x1db)](_0x249445=>!!_0x249445);return{'config':_0x13e391,'result':{'actions':_0x42cd2f,'error':_0x3759dc['error']}};});}})}));}[_0x529853(0xff)](){var _0x15e66f=_0x529853,_0x44e562,_0x35547f;const _0x12ec44=this['_configService'][_0x15e66f(0x2bb)](Ge),_0x5617ea=this[_0x15e66f(0x3d7)][_0x15e66f(0x2bb)](Y);return(_0x35547f=(_0x44e562=_0x5617ea==null?void 0x0:_0x5617ea[_0x15e66f(0x345)])!=null?_0x44e562:_0x12ec44)!=null?_0x35547f:wi;}async[_0x529853(0x138)](_0x405219){var _0x2105e6=_0x529853;const _0x5afd5a=this['_getAPIPrefixPath']()+'/'+_0x405219[_0x2105e6(0x396)]+_0x2105e6(0x3b6);return(await this['_HTTPService'][_0x2105e6(0x11a)](_0x5afd5a,{'body':_0x405219}))[_0x2105e6(0xd1)]['objectID']||'';}async['list'](_0x298751){var _0x2e8b84=_0x529853;const _0x5f420f=this[_0x2e8b84(0xff)]()+_0x2e8b84(0x39a);return(await this['_HTTPService'][_0x2e8b84(0x11a)](_0x5f420f,{'body':_0x298751}))['body'][_0x2e8b84(0x327)];}async['update'](_0x6f984d){var _0x4cf011=_0x529853,_0x17fe1e,_0x1166db;const _0x3b5bbd=this[_0x4cf011(0xff)]()+'/'+_0x6f984d[_0x4cf011(0x396)]+_0x4cf011(0x3bc)+_0x6f984d['objectID'],_0x42a144=await this[_0x4cf011(0x28f)][_0x4cf011(0xcb)](_0x3b5bbd,{'body':_0x6f984d});if(((_0x1166db=(_0x17fe1e=_0x42a144==null?void 0x0:_0x42a144['body'])==null?void 0x0:_0x17fe1e[_0x4cf011(0x1da)])==null?void 0x0:_0x1166db[_0x4cf011(0x2e4)])!==0x1)throw new Error(_0x4cf011(0x3db));}async[_0x529853(0x234)](_0x1f2ddc){var _0x5eb1c0=_0x529853;const _0x48bfed=this[_0x5eb1c0(0xff)]()+'/'+_0x1f2ddc['objectType']+_0x5eb1c0(0x3bc)+_0x1f2ddc[_0x5eb1c0(0x201)]+_0x5eb1c0(0x2a6);return(await this[_0x5eb1c0(0x28f)][_0x5eb1c0(0x11a)](_0x48bfed,{'body':_0x1f2ddc}))[_0x5eb1c0(0xd1)]['actions'];}async[_0x529853(0x378)](_0x4ffd67){var _0x557968=_0x529853;const _0x688fa8=this[_0x557968(0xff)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x557968(0x11a)](_0x688fa8,{'body':{'requests':_0x4ffd67}}))['body']['objectActions'];}async['listRoles'](_0x5d37c4){var _0x2bf1b8=_0x529853;const _0x449f10=this[_0x2bf1b8(0xff)]()+'/'+_0x5d37c4[_0x2bf1b8(0x396)]+'/role',_0x72a3ed=await this[_0x2bf1b8(0x28f)]['post'](_0x449f10,{'body':_0x5d37c4});return{'roles':_0x72a3ed['body'][_0x2bf1b8(0x3f3)],'actions':_0x72a3ed[_0x2bf1b8(0xd1)]['actions']};}async[_0x529853(0xb0)](_0x26c014){var _0x3096e7=_0x529853;const _0x29a33b=this[_0x3096e7(0xff)]()+_0x3096e7(0xe2);await this[_0x3096e7(0x28f)][_0x3096e7(0xe3)](_0x29a33b,{'params':{'collaboratorID':_0x26c014[_0x3096e7(0x26f)],'objectID':_0x26c014[_0x3096e7(0x201)],'unitID':_0x26c014['unitID']}});}async[_0x529853(0x247)](_0xd97687){var _0x456c1f=_0x529853;const _0x1dd7c1=this[_0x456c1f(0xff)]()+'/collaborator';await this[_0x456c1f(0x28f)][_0x456c1f(0xf5)](_0x1dd7c1,{'body':_0xd97687});}async[_0x529853(0x3c0)](_0x205b9d){var _0x4798f0=_0x529853;const _0x3dd9c4=this[_0x4798f0(0xff)]()+_0x4798f0(0xe2);await this[_0x4798f0(0x28f)][_0x4798f0(0x11a)](_0x3dd9c4,{'body':_0x205b9d});}async[_0x529853(0x25e)](_0x550752){var _0x1c1a19=_0x529853;const _0x24e661=this[_0x1c1a19(0xff)]()+'/collaborator';return(await this['_HTTPService'][_0x1c1a19(0x2e6)](_0x24e661,{'params':{'objectID':_0x550752['objectID'],'unitID':_0x550752[_0x1c1a19(0x20a)]}}))['body'][_0x1c1a19(0x3ea)];}async[_0x529853(0x119)](_0xd4ae81){var _0x1ebd07=_0x529853;const _0x3d6259=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x1ebd07(0x28f)][_0x1ebd07(0xcb)](_0x3d6259,{'body':_0xd4ae81});}},exports[_0x529853(0x355)]=Pi([Xe(0x0,a['Inject'](q[_0x529853(0x294)])),Xe(0x1,a['Inject'](a[_0x529853(0x1d9)]))],exports[_0x529853(0x355)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x12d609){var _0x1f734b=_0x529853;return _0x12d609&&_0x12d609[_0x1f734b(0x3a8)]&&Object[_0x1f734b(0x26b)][_0x1f734b(0x3c3)][_0x1f734b(0x391)](_0x12d609,_0x1f734b(0x269))?_0x12d609[_0x1f734b(0x269)]:_0x12d609;}var fe={'exports':{}};function Li(_0x1758af){var _0x4aa2d6=_0x529853;throw new Error(_0x4aa2d6(0x3d5)+_0x1758af+_0x4aa2d6(0x394));}var pe={'exports':{}},Mi=pe[_0x529853(0x2dd)],Ze;function ee(){var _0x5bb8ce=_0x529853;return Ze||(Ze=0x1,function(_0xe98cab,_0x1c9368){(function(_0x22f6d5,_0x37cc4e){var _0x2c49a8=_0x4573;_0xe98cab[_0x2c49a8(0x2dd)]=_0x37cc4e();}(Mi,function(){var _0x315f39=_0x315f39||function(_0x55d5e1,_0xc28fcb){var _0x53b1c6=_0x4573,_0xe08a55;if(typeof window<'u'&&window[_0x53b1c6(0x1c9)]&&(_0xe08a55=window[_0x53b1c6(0x1c9)]),typeof self<'u'&&self[_0x53b1c6(0x1c9)]&&(_0xe08a55=self[_0x53b1c6(0x1c9)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0xe08a55=globalThis[_0x53b1c6(0x1c9)]),!_0xe08a55&&typeof window<'u'&&window[_0x53b1c6(0x3e6)]&&(_0xe08a55=window['msCrypto']),!_0xe08a55&&typeof Le<'u'&&Le[_0x53b1c6(0x1c9)]&&(_0xe08a55=Le[_0x53b1c6(0x1c9)]),!_0xe08a55&&typeof Li==_0x53b1c6(0x96))try{_0xe08a55=require(_0x53b1c6(0x1c9));}catch{}var _0x14bae8=function(){var _0x27a718=_0x53b1c6;if(_0xe08a55){if(typeof _0xe08a55[_0x27a718(0xf0)]==_0x27a718(0x96))try{return _0xe08a55[_0x27a718(0xf0)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xe08a55['randomBytes']==_0x27a718(0x96))try{return _0xe08a55['randomBytes'](0x4)[_0x27a718(0x365)]();}catch{}}throw new Error(_0x27a718(0xdf));},_0x5c8222=Object[_0x53b1c6(0x138)]||(function(){function _0x11f0a4(){}return function(_0x48e760){var _0x54ca8c=_0x4573,_0x498e91;return _0x11f0a4[_0x54ca8c(0x26b)]=_0x48e760,_0x498e91=new _0x11f0a4(),_0x11f0a4[_0x54ca8c(0x26b)]=null,_0x498e91;};}()),_0x3c9526={},_0x53f70b=_0x3c9526[_0x53b1c6(0x3ed)]={},_0x1ceced=_0x53f70b[_0x53b1c6(0x2ff)]=(function(){return{'extend':function(_0x1d2f8e){var _0x4db249=_0x4573,_0x2a5c5c=_0x5c8222(this);return _0x1d2f8e&&_0x2a5c5c[_0x4db249(0x26c)](_0x1d2f8e),(!_0x2a5c5c[_0x4db249(0x3c3)]('init')||this[_0x4db249(0x31e)]===_0x2a5c5c['init'])&&(_0x2a5c5c[_0x4db249(0x31e)]=function(){var _0x4e5f83=_0x4db249;_0x2a5c5c['$super'][_0x4e5f83(0x31e)][_0x4e5f83(0x2ca)](this,arguments);}),_0x2a5c5c[_0x4db249(0x31e)]['prototype']=_0x2a5c5c,_0x2a5c5c[_0x4db249(0x2f7)]=this,_0x2a5c5c;},'create':function(){var _0xc197c7=_0x4573,_0x11b418=this[_0xc197c7(0x158)]();return _0x11b418['init']['apply'](_0x11b418,arguments),_0x11b418;},'init':function(){},'mixIn':function(_0x394718){var _0x214add=_0x4573;for(var _0x3ce7ed in _0x394718)_0x394718['hasOwnProperty'](_0x3ce7ed)&&(this[_0x3ce7ed]=_0x394718[_0x3ce7ed]);_0x394718['hasOwnProperty'](_0x214add(0x337))&&(this[_0x214add(0x337)]=_0x394718[_0x214add(0x337)]);},'clone':function(){var _0x171789=_0x4573;return this['init'][_0x171789(0x26b)][_0x171789(0x158)](this);}};}()),_0x48569=_0x53f70b[_0x53b1c6(0x82)]=_0x1ceced['extend']({'init':function(_0xd65669,_0x19331f){var _0x3b09fa=_0x53b1c6;_0xd65669=this[_0x3b09fa(0x279)]=_0xd65669||[],_0x19331f!=_0xc28fcb?this[_0x3b09fa(0x226)]=_0x19331f:this[_0x3b09fa(0x226)]=_0xd65669[_0x3b09fa(0x102)]*0x4;},'toString':function(_0x3aaf7a){var _0x822e79=_0x53b1c6;return(_0x3aaf7a||_0x564067)[_0x822e79(0x2cc)](this);},'concat':function(_0x193e50){var _0x10263c=_0x53b1c6,_0x182f2a=this[_0x10263c(0x279)],_0x301a69=_0x193e50[_0x10263c(0x279)],_0x3157fa=this[_0x10263c(0x226)],_0x47c231=_0x193e50['sigBytes'];if(this[_0x10263c(0x183)](),_0x3157fa%0x4)for(var _0x4f6414=0x0;_0x4f6414<_0x47c231;_0x4f6414++){var _0x115f6b=_0x301a69[_0x4f6414>>>0x2]>>>0x18-_0x4f6414%0x4*0x8&0xff;_0x182f2a[_0x3157fa+_0x4f6414>>>0x2]|=_0x115f6b<<0x18-(_0x3157fa+_0x4f6414)%0x4*0x8;}else{for(var _0x31fdd0=0x0;_0x31fdd0<_0x47c231;_0x31fdd0+=0x4)_0x182f2a[_0x3157fa+_0x31fdd0>>>0x2]=_0x301a69[_0x31fdd0>>>0x2];}return this[_0x10263c(0x226)]+=_0x47c231,this;},'clamp':function(){var _0x4d58c4=_0x53b1c6,_0x78265f=this[_0x4d58c4(0x279)],_0x23806a=this[_0x4d58c4(0x226)];_0x78265f[_0x23806a>>>0x2]&=0xffffffff<<0x20-_0x23806a%0x4*0x8,_0x78265f['length']=_0x55d5e1['ceil'](_0x23806a/0x4);},'clone':function(){var _0x37afc0=_0x53b1c6,_0x5c98a9=_0x1ceced[_0x37afc0(0x220)][_0x37afc0(0x391)](this);return _0x5c98a9[_0x37afc0(0x279)]=this[_0x37afc0(0x279)][_0x37afc0(0x172)](0x0),_0x5c98a9;},'random':function(_0x296c60){var _0x5ce43f=_0x53b1c6;for(var _0x1070b8=[],_0x1e4d84=0x0;_0x1e4d84<_0x296c60;_0x1e4d84+=0x4)_0x1070b8['push'](_0x14bae8());return new _0x48569[(_0x5ce43f(0x31e))](_0x1070b8,_0x296c60);}}),_0x24885a=_0x3c9526[_0x53b1c6(0x38e)]={},_0x564067=_0x24885a[_0x53b1c6(0x36d)]={'stringify':function(_0x2d4021){var _0x187533=_0x53b1c6;for(var _0x297913=_0x2d4021[_0x187533(0x279)],_0x492b50=_0x2d4021[_0x187533(0x226)],_0x487113=[],_0x3a4304=0x0;_0x3a4304<_0x492b50;_0x3a4304++){var _0x4608f6=_0x297913[_0x3a4304>>>0x2]>>>0x18-_0x3a4304%0x4*0x8&0xff;_0x487113[_0x187533(0x297)]((_0x4608f6>>>0x4)[_0x187533(0x337)](0x10)),_0x487113[_0x187533(0x297)]((_0x4608f6&0xf)['toString'](0x10));}return _0x487113[_0x187533(0xd3)]('');},'parse':function(_0x477bd1){var _0x500ba0=_0x53b1c6;for(var _0x7b321d=_0x477bd1[_0x500ba0(0x102)],_0x349b1=[],_0x6ea434=0x0;_0x6ea434<_0x7b321d;_0x6ea434+=0x2)_0x349b1[_0x6ea434>>>0x3]|=parseInt(_0x477bd1[_0x500ba0(0x267)](_0x6ea434,0x2),0x10)<<0x18-_0x6ea434%0x8*0x4;return new _0x48569[(_0x500ba0(0x31e))](_0x349b1,_0x7b321d/0x2);}},_0x2169ae=_0x24885a['Latin1']={'stringify':function(_0x1dcb96){var _0x5f5a44=_0x53b1c6;for(var _0x5aa677=_0x1dcb96[_0x5f5a44(0x279)],_0xcd874d=_0x1dcb96[_0x5f5a44(0x226)],_0x3a70f3=[],_0x1de692=0x0;_0x1de692<_0xcd874d;_0x1de692++){var _0x18a36f=_0x5aa677[_0x1de692>>>0x2]>>>0x18-_0x1de692%0x4*0x8&0xff;_0x3a70f3[_0x5f5a44(0x297)](String[_0x5f5a44(0xee)](_0x18a36f));}return _0x3a70f3['join']('');},'parse':function(_0x1d022e){var _0x286e48=_0x53b1c6;for(var _0x4a3f0b=_0x1d022e[_0x286e48(0x102)],_0x30fa7f=[],_0x1a16c0=0x0;_0x1a16c0<_0x4a3f0b;_0x1a16c0++)_0x30fa7f[_0x1a16c0>>>0x2]|=(_0x1d022e[_0x286e48(0xcd)](_0x1a16c0)&0xff)<<0x18-_0x1a16c0%0x4*0x8;return new _0x48569['init'](_0x30fa7f,_0x4a3f0b);}},_0xdbdf6a=_0x24885a[_0x53b1c6(0x38d)]={'stringify':function(_0x434b15){var _0x188128=_0x53b1c6;try{return decodeURIComponent(escape(_0x2169ae['stringify'](_0x434b15)));}catch{throw new Error(_0x188128(0x95));}},'parse':function(_0x195b77){return _0x2169ae['parse'](unescape(encodeURIComponent(_0x195b77)));}},_0x51570d=_0x53f70b['BufferedBlockAlgorithm']=_0x1ceced['extend']({'reset':function(){var _0x28a0f5=_0x53b1c6;this[_0x28a0f5(0x1e9)]=new _0x48569['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x478ccb){var _0x4eec36=_0x53b1c6;typeof _0x478ccb==_0x4eec36(0x32c)&&(_0x478ccb=_0xdbdf6a[_0x4eec36(0x36b)](_0x478ccb)),this[_0x4eec36(0x1e9)][_0x4eec36(0x10d)](_0x478ccb),this[_0x4eec36(0x304)]+=_0x478ccb['sigBytes'];},'_process':function(_0x4fa3b3){var _0x2f6f43=_0x53b1c6,_0x18b8d7,_0x5884e6=this[_0x2f6f43(0x1e9)],_0x190039=_0x5884e6[_0x2f6f43(0x279)],_0x20257b=_0x5884e6[_0x2f6f43(0x226)],_0x1b5a43=this[_0x2f6f43(0xab)],_0x54534d=_0x1b5a43*0x4,_0x4787f5=_0x20257b/_0x54534d;_0x4fa3b3?_0x4787f5=_0x55d5e1[_0x2f6f43(0xeb)](_0x4787f5):_0x4787f5=_0x55d5e1['max']((_0x4787f5|0x0)-this[_0x2f6f43(0x264)],0x0);var _0x3f30ac=_0x4787f5*_0x1b5a43,_0x3eb96e=_0x55d5e1['min'](_0x3f30ac*0x4,_0x20257b);if(_0x3f30ac){for(var _0x2936b5=0x0;_0x2936b5<_0x3f30ac;_0x2936b5+=_0x1b5a43)this['_doProcessBlock'](_0x190039,_0x2936b5);_0x18b8d7=_0x190039['splice'](0x0,_0x3f30ac),_0x5884e6[_0x2f6f43(0x226)]-=_0x3eb96e;}return new _0x48569[(_0x2f6f43(0x31e))](_0x18b8d7,_0x3eb96e);},'clone':function(){var _0x5acf1e=_0x53b1c6,_0x42b341=_0x1ceced[_0x5acf1e(0x220)][_0x5acf1e(0x391)](this);return _0x42b341[_0x5acf1e(0x1e9)]=this['_data'][_0x5acf1e(0x220)](),_0x42b341;},'_minBufferSize':0x0});_0x53f70b['Hasher']=_0x51570d[_0x53b1c6(0x158)]({'cfg':_0x1ceced[_0x53b1c6(0x158)](),'init':function(_0x4c85ff){var _0x134f82=_0x53b1c6;this[_0x134f82(0x18c)]=this[_0x134f82(0x18c)][_0x134f82(0x158)](_0x4c85ff),this[_0x134f82(0x10e)]();},'reset':function(){var _0x4d4807=_0x53b1c6;_0x51570d[_0x4d4807(0x10e)][_0x4d4807(0x391)](this),this[_0x4d4807(0x186)]();},'update':function(_0x35df43){var _0x2112a6=_0x53b1c6;return this[_0x2112a6(0x2e8)](_0x35df43),this[_0x2112a6(0x1ed)](),this;},'finalize':function(_0x3fadf2){var _0x4576ae=_0x53b1c6;_0x3fadf2&&this['_append'](_0x3fadf2);var _0x425705=this[_0x4576ae(0xa4)]();return _0x425705;},'blockSize':0x10,'_createHelper':function(_0x308c29){return function(_0xbfa8af,_0x508fc8){var _0x3f822c=_0x4573;return new _0x308c29['init'](_0x508fc8)[_0x3f822c(0x81)](_0xbfa8af);};},'_createHmacHelper':function(_0x3467bf){return function(_0x5e55f4,_0x33bc6d){var _0x4b1410=_0x4573;return new _0x568548[(_0x4b1410(0x305))][(_0x4b1410(0x31e))](_0x3467bf,_0x33bc6d)['finalize'](_0x5e55f4);};}});var _0x568548=_0x3c9526[_0x53b1c6(0x36a)]={};return _0x3c9526;}(Math);return _0x315f39;}));}(pe)),pe[_0x5bb8ce(0x2dd)];}var ge={'exports':{}},xi=ge[_0x529853(0x2dd)],Qe;function Ut(){var _0x59de81=_0x529853;return Qe||(Qe=0x1,function(_0x3077cc,_0x43e0b8){(function(_0x141ad5,_0xe4661c){var _0xb7806b=_0x4573;_0x3077cc[_0xb7806b(0x2dd)]=_0xe4661c(ee());}(xi,function(_0x115d35){var _0x2b9926=_0x4573;return(function(){var _0x29735b=_0x4573,_0x2fc79c=_0x115d35,_0x2899b8=_0x2fc79c[_0x29735b(0x3ed)],_0x162d7a=_0x2899b8['WordArray'],_0x5ae829=_0x2fc79c[_0x29735b(0x38e)];_0x5ae829[_0x29735b(0x115)]={'stringify':function(_0x2b3175){var _0x53910d=_0x29735b,_0x548bd2=_0x2b3175[_0x53910d(0x279)],_0x2c4e72=_0x2b3175['sigBytes'],_0x4c6654=this[_0x53910d(0x2f2)];_0x2b3175[_0x53910d(0x183)]();for(var _0x95a12c=[],_0x4a5e5b=0x0;_0x4a5e5b<_0x2c4e72;_0x4a5e5b+=0x3)for(var _0x337722=_0x548bd2[_0x4a5e5b>>>0x2]>>>0x18-_0x4a5e5b%0x4*0x8&0xff,_0x456c53=_0x548bd2[_0x4a5e5b+0x1>>>0x2]>>>0x18-(_0x4a5e5b+0x1)%0x4*0x8&0xff,_0x91e56c=_0x548bd2[_0x4a5e5b+0x2>>>0x2]>>>0x18-(_0x4a5e5b+0x2)%0x4*0x8&0xff,_0x557e3a=_0x337722<<0x10|_0x456c53<<0x8|_0x91e56c,_0x3e1f31=0x0;_0x3e1f31<0x4&&_0x4a5e5b+_0x3e1f31*0.75<_0x2c4e72;_0x3e1f31++)_0x95a12c[_0x53910d(0x297)](_0x4c6654[_0x53910d(0x1c3)](_0x557e3a>>>0x6*(0x3-_0x3e1f31)&0x3f));var _0xd94584=_0x4c6654[_0x53910d(0x1c3)](0x40);if(_0xd94584){for(;_0x95a12c[_0x53910d(0x102)]%0x4;)_0x95a12c[_0x53910d(0x297)](_0xd94584);}return _0x95a12c[_0x53910d(0xd3)]('');},'parse':function(_0x39fc14){var _0x3be496=_0x29735b,_0x71292e=_0x39fc14[_0x3be496(0x102)],_0x1fb94a=this['_map'],_0xc7a75e=this[_0x3be496(0x37a)];if(!_0xc7a75e){_0xc7a75e=this[_0x3be496(0x37a)]=[];for(var _0x29a9a6=0x0;_0x29a9a6<_0x1fb94a[_0x3be496(0x102)];_0x29a9a6++)_0xc7a75e[_0x1fb94a[_0x3be496(0xcd)](_0x29a9a6)]=_0x29a9a6;}var _0x3ebbcc=_0x1fb94a[_0x3be496(0x1c3)](0x40);if(_0x3ebbcc){var _0x5c07b4=_0x39fc14[_0x3be496(0x2d4)](_0x3ebbcc);_0x5c07b4!==-0x1&&(_0x71292e=_0x5c07b4);}return _0x4e15d6(_0x39fc14,_0x71292e,_0xc7a75e);},'_map':_0x29735b(0x28a)};function _0x4e15d6(_0x585007,_0x6c0815,_0xd47a77){var _0x3e69ea=_0x29735b;for(var _0x95ab1a=[],_0x4d289a=0x0,_0x71cc02=0x0;_0x71cc02<_0x6c0815;_0x71cc02++)if(_0x71cc02%0x4){var _0x3fbc87=_0xd47a77[_0x585007[_0x3e69ea(0xcd)](_0x71cc02-0x1)]<<_0x71cc02%0x4*0x2,_0xb8c95b=_0xd47a77[_0x585007['charCodeAt'](_0x71cc02)]>>>0x6-_0x71cc02%0x4*0x2,_0x307928=_0x3fbc87|_0xb8c95b;_0x95ab1a[_0x4d289a>>>0x2]|=_0x307928<<0x18-_0x4d289a%0x4*0x8,_0x4d289a++;}return _0x162d7a[_0x3e69ea(0x138)](_0x95ab1a,_0x4d289a);}}()),_0x115d35[_0x2b9926(0x38e)][_0x2b9926(0x115)];}));}(ge)),ge[_0x59de81(0x2dd)];}var Ie={'exports':{}},ki=Ie[_0x529853(0x2dd)],et;function Hi(){var _0x296d51=_0x529853;return et||(et=0x1,function(_0xfab11,_0x5da0e1){(function(_0x5f4cb9,_0x4fe976){_0xfab11['exports']=_0x4fe976(ee());}(ki,function(_0x1aa1de){var _0x22a8c5=_0x4573;return function(_0x2d7998){var _0x422170=_0x4573,_0x347f93=_0x1aa1de,_0x5864ca=_0x347f93[_0x422170(0x3ed)],_0x1917f1=_0x5864ca[_0x422170(0x82)],_0xbdb8e=_0x5864ca[_0x422170(0xa3)],_0x4e08c3=_0x347f93[_0x422170(0x36a)],_0x1384c0=[];(function(){var _0x19c9be=_0x422170;for(var _0xf0259e=0x0;_0xf0259e<0x40;_0xf0259e++)_0x1384c0[_0xf0259e]=_0x2d7998[_0x19c9be(0x3dd)](_0x2d7998[_0x19c9be(0x1a9)](_0xf0259e+0x1))*0x100000000|0x0;}());var _0xccc741=_0x4e08c3['MD5']=_0xbdb8e[_0x422170(0x158)]({'_doReset':function(){var _0x526e2d=_0x422170;this['_hash']=new _0x1917f1[(_0x526e2d(0x31e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4db0c3,_0xb1a232){for(var _0x313c39=0x0;_0x313c39<0x10;_0x313c39++){var _0x130b0a=_0xb1a232+_0x313c39,_0x57314d=_0x4db0c3[_0x130b0a];_0x4db0c3[_0x130b0a]=(_0x57314d<<0x8|_0x57314d>>>0x18)&0xff00ff|(_0x57314d<<0x18|_0x57314d>>>0x8)&0xff00ff00;}var _0x53b8d6=this['_hash']['words'],_0x50c5c0=_0x4db0c3[_0xb1a232+0x0],_0x5541c4=_0x4db0c3[_0xb1a232+0x1],_0x19f437=_0x4db0c3[_0xb1a232+0x2],_0x529122=_0x4db0c3[_0xb1a232+0x3],_0x456b47=_0x4db0c3[_0xb1a232+0x4],_0x4efc0e=_0x4db0c3[_0xb1a232+0x5],_0x63089e=_0x4db0c3[_0xb1a232+0x6],_0x1a3e72=_0x4db0c3[_0xb1a232+0x7],_0x3c357c=_0x4db0c3[_0xb1a232+0x8],_0xce5c1a=_0x4db0c3[_0xb1a232+0x9],_0x5a73f2=_0x4db0c3[_0xb1a232+0xa],_0x173eca=_0x4db0c3[_0xb1a232+0xb],_0x38c6ef=_0x4db0c3[_0xb1a232+0xc],_0x345632=_0x4db0c3[_0xb1a232+0xd],_0x51c3d9=_0x4db0c3[_0xb1a232+0xe],_0x536613=_0x4db0c3[_0xb1a232+0xf],_0x24ff41=_0x53b8d6[0x0],_0x3fb3b6=_0x53b8d6[0x1],_0xbbcd65=_0x53b8d6[0x2],_0x5ad6ab=_0x53b8d6[0x3];_0x24ff41=_0x383250(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x50c5c0,0x7,_0x1384c0[0x0]),_0x5ad6ab=_0x383250(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5541c4,0xc,_0x1384c0[0x1]),_0xbbcd65=_0x383250(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x19f437,0x11,_0x1384c0[0x2]),_0x3fb3b6=_0x383250(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x529122,0x16,_0x1384c0[0x3]),_0x24ff41=_0x383250(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x456b47,0x7,_0x1384c0[0x4]),_0x5ad6ab=_0x383250(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x4efc0e,0xc,_0x1384c0[0x5]),_0xbbcd65=_0x383250(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x63089e,0x11,_0x1384c0[0x6]),_0x3fb3b6=_0x383250(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x1a3e72,0x16,_0x1384c0[0x7]),_0x24ff41=_0x383250(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x3c357c,0x7,_0x1384c0[0x8]),_0x5ad6ab=_0x383250(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0xce5c1a,0xc,_0x1384c0[0x9]),_0xbbcd65=_0x383250(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x5a73f2,0x11,_0x1384c0[0xa]),_0x3fb3b6=_0x383250(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x173eca,0x16,_0x1384c0[0xb]),_0x24ff41=_0x383250(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x38c6ef,0x7,_0x1384c0[0xc]),_0x5ad6ab=_0x383250(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x345632,0xc,_0x1384c0[0xd]),_0xbbcd65=_0x383250(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x51c3d9,0x11,_0x1384c0[0xe]),_0x3fb3b6=_0x383250(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x536613,0x16,_0x1384c0[0xf]),_0x24ff41=_0x39e163(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x5541c4,0x5,_0x1384c0[0x10]),_0x5ad6ab=_0x39e163(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x63089e,0x9,_0x1384c0[0x11]),_0xbbcd65=_0x39e163(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x173eca,0xe,_0x1384c0[0x12]),_0x3fb3b6=_0x39e163(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x50c5c0,0x14,_0x1384c0[0x13]),_0x24ff41=_0x39e163(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x4efc0e,0x5,_0x1384c0[0x14]),_0x5ad6ab=_0x39e163(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5a73f2,0x9,_0x1384c0[0x15]),_0xbbcd65=_0x39e163(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x536613,0xe,_0x1384c0[0x16]),_0x3fb3b6=_0x39e163(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x456b47,0x14,_0x1384c0[0x17]),_0x24ff41=_0x39e163(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0xce5c1a,0x5,_0x1384c0[0x18]),_0x5ad6ab=_0x39e163(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x51c3d9,0x9,_0x1384c0[0x19]),_0xbbcd65=_0x39e163(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x529122,0xe,_0x1384c0[0x1a]),_0x3fb3b6=_0x39e163(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3c357c,0x14,_0x1384c0[0x1b]),_0x24ff41=_0x39e163(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x345632,0x5,_0x1384c0[0x1c]),_0x5ad6ab=_0x39e163(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x19f437,0x9,_0x1384c0[0x1d]),_0xbbcd65=_0x39e163(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x1a3e72,0xe,_0x1384c0[0x1e]),_0x3fb3b6=_0x39e163(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x38c6ef,0x14,_0x1384c0[0x1f]),_0x24ff41=_0x4d010c(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x4efc0e,0x4,_0x1384c0[0x20]),_0x5ad6ab=_0x4d010c(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x3c357c,0xb,_0x1384c0[0x21]),_0xbbcd65=_0x4d010c(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x173eca,0x10,_0x1384c0[0x22]),_0x3fb3b6=_0x4d010c(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x51c3d9,0x17,_0x1384c0[0x23]),_0x24ff41=_0x4d010c(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x5541c4,0x4,_0x1384c0[0x24]),_0x5ad6ab=_0x4d010c(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x456b47,0xb,_0x1384c0[0x25]),_0xbbcd65=_0x4d010c(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x1a3e72,0x10,_0x1384c0[0x26]),_0x3fb3b6=_0x4d010c(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x5a73f2,0x17,_0x1384c0[0x27]),_0x24ff41=_0x4d010c(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x345632,0x4,_0x1384c0[0x28]),_0x5ad6ab=_0x4d010c(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x50c5c0,0xb,_0x1384c0[0x29]),_0xbbcd65=_0x4d010c(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x529122,0x10,_0x1384c0[0x2a]),_0x3fb3b6=_0x4d010c(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x63089e,0x17,_0x1384c0[0x2b]),_0x24ff41=_0x4d010c(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0xce5c1a,0x4,_0x1384c0[0x2c]),_0x5ad6ab=_0x4d010c(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x38c6ef,0xb,_0x1384c0[0x2d]),_0xbbcd65=_0x4d010c(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x536613,0x10,_0x1384c0[0x2e]),_0x3fb3b6=_0x4d010c(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x19f437,0x17,_0x1384c0[0x2f]),_0x24ff41=_0x1898af(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x50c5c0,0x6,_0x1384c0[0x30]),_0x5ad6ab=_0x1898af(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x1a3e72,0xa,_0x1384c0[0x31]),_0xbbcd65=_0x1898af(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x51c3d9,0xf,_0x1384c0[0x32]),_0x3fb3b6=_0x1898af(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x4efc0e,0x15,_0x1384c0[0x33]),_0x24ff41=_0x1898af(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x38c6ef,0x6,_0x1384c0[0x34]),_0x5ad6ab=_0x1898af(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x529122,0xa,_0x1384c0[0x35]),_0xbbcd65=_0x1898af(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x5a73f2,0xf,_0x1384c0[0x36]),_0x3fb3b6=_0x1898af(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x5541c4,0x15,_0x1384c0[0x37]),_0x24ff41=_0x1898af(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x3c357c,0x6,_0x1384c0[0x38]),_0x5ad6ab=_0x1898af(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x536613,0xa,_0x1384c0[0x39]),_0xbbcd65=_0x1898af(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x63089e,0xf,_0x1384c0[0x3a]),_0x3fb3b6=_0x1898af(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x345632,0x15,_0x1384c0[0x3b]),_0x24ff41=_0x1898af(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x456b47,0x6,_0x1384c0[0x3c]),_0x5ad6ab=_0x1898af(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x173eca,0xa,_0x1384c0[0x3d]),_0xbbcd65=_0x1898af(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x19f437,0xf,_0x1384c0[0x3e]),_0x3fb3b6=_0x1898af(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0xce5c1a,0x15,_0x1384c0[0x3f]),_0x53b8d6[0x0]=_0x53b8d6[0x0]+_0x24ff41|0x0,_0x53b8d6[0x1]=_0x53b8d6[0x1]+_0x3fb3b6|0x0,_0x53b8d6[0x2]=_0x53b8d6[0x2]+_0xbbcd65|0x0,_0x53b8d6[0x3]=_0x53b8d6[0x3]+_0x5ad6ab|0x0;},'_doFinalize':function(){var _0x1f65df=_0x422170,_0x5e3048=this[_0x1f65df(0x1e9)],_0x2fbdc4=_0x5e3048[_0x1f65df(0x279)],_0x2fcd3d=this['_nDataBytes']*0x8,_0xb8d7d0=_0x5e3048[_0x1f65df(0x226)]*0x8;_0x2fbdc4[_0xb8d7d0>>>0x5]|=0x80<<0x18-_0xb8d7d0%0x20;var _0x1f42e6=_0x2d7998[_0x1f65df(0xaa)](_0x2fcd3d/0x100000000),_0x5efae9=_0x2fcd3d;_0x2fbdc4[(_0xb8d7d0+0x40>>>0x9<<0x4)+0xf]=(_0x1f42e6<<0x8|_0x1f42e6>>>0x18)&0xff00ff|(_0x1f42e6<<0x18|_0x1f42e6>>>0x8)&0xff00ff00,_0x2fbdc4[(_0xb8d7d0+0x40>>>0x9<<0x4)+0xe]=(_0x5efae9<<0x8|_0x5efae9>>>0x18)&0xff00ff|(_0x5efae9<<0x18|_0x5efae9>>>0x8)&0xff00ff00,_0x5e3048[_0x1f65df(0x226)]=(_0x2fbdc4[_0x1f65df(0x102)]+0x1)*0x4,this[_0x1f65df(0x1ed)]();for(var _0x4f3de7=this[_0x1f65df(0xb2)],_0x4b80d0=_0x4f3de7[_0x1f65df(0x279)],_0x388100=0x0;_0x388100<0x4;_0x388100++){var _0x443e52=_0x4b80d0[_0x388100];_0x4b80d0[_0x388100]=(_0x443e52<<0x8|_0x443e52>>>0x18)&0xff00ff|(_0x443e52<<0x18|_0x443e52>>>0x8)&0xff00ff00;}return _0x4f3de7;},'clone':function(){var _0x5c3f80=_0x422170,_0x34ddb7=_0xbdb8e[_0x5c3f80(0x220)][_0x5c3f80(0x391)](this);return _0x34ddb7[_0x5c3f80(0xb2)]=this[_0x5c3f80(0xb2)][_0x5c3f80(0x220)](),_0x34ddb7;}});function _0x383250(_0x2b55b1,_0x16d805,_0x11f0ba,_0x249ce0,_0x4f24fc,_0x235e31,_0xe4858a){var _0x5b022b=_0x2b55b1+(_0x16d805&_0x11f0ba|~_0x16d805&_0x249ce0)+_0x4f24fc+_0xe4858a;return(_0x5b022b<<_0x235e31|_0x5b022b>>>0x20-_0x235e31)+_0x16d805;}function _0x39e163(_0x57e37c,_0xfe0bf1,_0x48f315,_0x1d1c62,_0x39f145,_0x537d5b,_0x3f3477){var _0x41f250=_0x57e37c+(_0xfe0bf1&_0x1d1c62|_0x48f315&~_0x1d1c62)+_0x39f145+_0x3f3477;return(_0x41f250<<_0x537d5b|_0x41f250>>>0x20-_0x537d5b)+_0xfe0bf1;}function _0x4d010c(_0x1ff72d,_0x3101f0,_0x4ca044,_0x5a9a59,_0x21cfec,_0x57c7df,_0x2a27c1){var _0xa3d0ca=_0x1ff72d+(_0x3101f0^_0x4ca044^_0x5a9a59)+_0x21cfec+_0x2a27c1;return(_0xa3d0ca<<_0x57c7df|_0xa3d0ca>>>0x20-_0x57c7df)+_0x3101f0;}function _0x1898af(_0x7f706a,_0x5d7a27,_0x53150e,_0x1f722b,_0x3ca5ca,_0x4675b7,_0x2c9c6c){var _0x4a77b9=_0x7f706a+(_0x53150e^(_0x5d7a27|~_0x1f722b))+_0x3ca5ca+_0x2c9c6c;return(_0x4a77b9<<_0x4675b7|_0x4a77b9>>>0x20-_0x4675b7)+_0x5d7a27;}_0x347f93['MD5']=_0xbdb8e[_0x422170(0x1fa)](_0xccc741),_0x347f93[_0x422170(0x1ec)]=_0xbdb8e[_0x422170(0x175)](_0xccc741);}(Math),_0x1aa1de[_0x22a8c5(0xb6)];}));}(Ie)),Ie[_0x296d51(0x2dd)];}var me={'exports':{}},Ee={'exports':{}},ji=Ee['exports'],tt;function $i(){return tt||(tt=0x1,function(_0x51041b,_0x177d44){(function(_0x7b1124,_0x325133){_0x51041b['exports']=_0x325133(ee());}(ji,function(_0x1ae461){var _0x3c45f7=_0x4573;return(function(){var _0x1c2518=_0x4573,_0x3481ba=_0x1ae461,_0x11e769=_0x3481ba[_0x1c2518(0x3ed)],_0x232ae1=_0x11e769['WordArray'],_0x3f2aa6=_0x11e769[_0x1c2518(0xa3)],_0x310eb8=_0x3481ba['algo'],_0xa736b3=[],_0x138fd3=_0x310eb8['SHA1']=_0x3f2aa6[_0x1c2518(0x158)]({'_doReset':function(){var _0x539d38=_0x1c2518;this['_hash']=new _0x232ae1[(_0x539d38(0x31e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x13995a,_0x27a3f1){var _0x1d922d=_0x1c2518;for(var _0x580b9a=this['_hash'][_0x1d922d(0x279)],_0x13ff7f=_0x580b9a[0x0],_0x1fd152=_0x580b9a[0x1],_0x47c018=_0x580b9a[0x2],_0x45d016=_0x580b9a[0x3],_0x4b40b3=_0x580b9a[0x4],_0xa1f0ec=0x0;_0xa1f0ec<0x50;_0xa1f0ec++){if(_0xa1f0ec<0x10)_0xa736b3[_0xa1f0ec]=_0x13995a[_0x27a3f1+_0xa1f0ec]|0x0;else{var _0x289150=_0xa736b3[_0xa1f0ec-0x3]^_0xa736b3[_0xa1f0ec-0x8]^_0xa736b3[_0xa1f0ec-0xe]^_0xa736b3[_0xa1f0ec-0x10];_0xa736b3[_0xa1f0ec]=_0x289150<<0x1|_0x289150>>>0x1f;}var _0xaae84d=(_0x13ff7f<<0x5|_0x13ff7f>>>0x1b)+_0x4b40b3+_0xa736b3[_0xa1f0ec];_0xa1f0ec<0x14?_0xaae84d+=(_0x1fd152&_0x47c018|~_0x1fd152&_0x45d016)+0x5a827999:_0xa1f0ec<0x28?_0xaae84d+=(_0x1fd152^_0x47c018^_0x45d016)+0x6ed9eba1:_0xa1f0ec<0x3c?_0xaae84d+=(_0x1fd152&_0x47c018|_0x1fd152&_0x45d016|_0x47c018&_0x45d016)-0x70e44324:_0xaae84d+=(_0x1fd152^_0x47c018^_0x45d016)-0x359d3e2a,_0x4b40b3=_0x45d016,_0x45d016=_0x47c018,_0x47c018=_0x1fd152<<0x1e|_0x1fd152>>>0x2,_0x1fd152=_0x13ff7f,_0x13ff7f=_0xaae84d;}_0x580b9a[0x0]=_0x580b9a[0x0]+_0x13ff7f|0x0,_0x580b9a[0x1]=_0x580b9a[0x1]+_0x1fd152|0x0,_0x580b9a[0x2]=_0x580b9a[0x2]+_0x47c018|0x0,_0x580b9a[0x3]=_0x580b9a[0x3]+_0x45d016|0x0,_0x580b9a[0x4]=_0x580b9a[0x4]+_0x4b40b3|0x0;},'_doFinalize':function(){var _0x368471=_0x1c2518,_0x31f3d1=this[_0x368471(0x1e9)],_0x24d58f=_0x31f3d1[_0x368471(0x279)],_0xe9c493=this[_0x368471(0x304)]*0x8,_0xab8b12=_0x31f3d1[_0x368471(0x226)]*0x8;return _0x24d58f[_0xab8b12>>>0x5]|=0x80<<0x18-_0xab8b12%0x20,_0x24d58f[(_0xab8b12+0x40>>>0x9<<0x4)+0xe]=Math[_0x368471(0xaa)](_0xe9c493/0x100000000),_0x24d58f[(_0xab8b12+0x40>>>0x9<<0x4)+0xf]=_0xe9c493,_0x31f3d1['sigBytes']=_0x24d58f[_0x368471(0x102)]*0x4,this[_0x368471(0x1ed)](),this['_hash'];},'clone':function(){var _0x34b76d=_0x1c2518,_0x3a67c5=_0x3f2aa6[_0x34b76d(0x220)][_0x34b76d(0x391)](this);return _0x3a67c5[_0x34b76d(0xb2)]=this[_0x34b76d(0xb2)][_0x34b76d(0x220)](),_0x3a67c5;}});_0x3481ba[_0x1c2518(0x275)]=_0x3f2aa6[_0x1c2518(0x1fa)](_0x138fd3),_0x3481ba[_0x1c2518(0x18a)]=_0x3f2aa6[_0x1c2518(0x175)](_0x138fd3);}()),_0x1ae461[_0x3c45f7(0x275)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},Bi=Ce[_0x529853(0x2dd)],it;function Fi(){var _0xda8c1c=_0x529853;return it||(it=0x1,function(_0x226002,_0x488d92){(function(_0x523cfe,_0x3db86e){var _0x25270e=_0x4573;_0x226002[_0x25270e(0x2dd)]=_0x3db86e(ee());}(Bi,function(_0x1bd363){(function(){var _0x5641b9=_0x4573,_0x489159=_0x1bd363,_0xfd4590=_0x489159[_0x5641b9(0x3ed)],_0x39f864=_0xfd4590['Base'],_0x2bea63=_0x489159[_0x5641b9(0x38e)],_0x504dbc=_0x2bea63[_0x5641b9(0x38d)],_0x198814=_0x489159[_0x5641b9(0x36a)];_0x198814[_0x5641b9(0x305)]=_0x39f864[_0x5641b9(0x158)]({'init':function(_0x122469,_0x563ef3){var _0x920cc5=_0x5641b9;_0x122469=this[_0x920cc5(0x2c5)]=new _0x122469['init'](),typeof _0x563ef3==_0x920cc5(0x32c)&&(_0x563ef3=_0x504dbc['parse'](_0x563ef3));var _0x4ea11a=_0x122469[_0x920cc5(0xab)],_0x3b953e=_0x4ea11a*0x4;_0x563ef3[_0x920cc5(0x226)]>_0x3b953e&&(_0x563ef3=_0x122469[_0x920cc5(0x81)](_0x563ef3)),_0x563ef3['clamp']();for(var _0x1cdd32=this[_0x920cc5(0x33e)]=_0x563ef3[_0x920cc5(0x220)](),_0x55f6f2=this[_0x920cc5(0x3ad)]=_0x563ef3['clone'](),_0x47979c=_0x1cdd32[_0x920cc5(0x279)],_0x26348b=_0x55f6f2['words'],_0x480f74=0x0;_0x480f74<_0x4ea11a;_0x480f74++)_0x47979c[_0x480f74]^=0x5c5c5c5c,_0x26348b[_0x480f74]^=0x36363636;_0x1cdd32[_0x920cc5(0x226)]=_0x55f6f2[_0x920cc5(0x226)]=_0x3b953e,this['reset']();},'reset':function(){var _0x4d3ad0=_0x5641b9,_0x4dc1b8=this[_0x4d3ad0(0x2c5)];_0x4dc1b8[_0x4d3ad0(0x10e)](),_0x4dc1b8['update'](this['_iKey']);},'update':function(_0x30e2ec){var _0x52551b=_0x5641b9;return this[_0x52551b(0x2c5)][_0x52551b(0xe0)](_0x30e2ec),this;},'finalize':function(_0x2c140a){var _0x1193d2=_0x5641b9,_0x141253=this[_0x1193d2(0x2c5)],_0x5854f3=_0x141253[_0x1193d2(0x81)](_0x2c140a);_0x141253[_0x1193d2(0x10e)]();var _0x2b1357=_0x141253['finalize'](this['_oKey'][_0x1193d2(0x220)]()[_0x1193d2(0x10d)](_0x5854f3));return _0x2b1357;}});}());}));}(Ce)),Ce[_0xda8c1c(0x2dd)];}var Vi=me[_0x529853(0x2dd)],nt;function At(){var _0x1d142d=_0x529853;return nt||(nt=0x1,function(_0x489e2c,_0x1f5b77){(function(_0x34f7ea,_0xe8c196,_0xe97548){var _0x115ce8=_0x4573;_0x489e2c[_0x115ce8(0x2dd)]=_0xe8c196(ee(),$i(),Fi());}(Vi,function(_0x27e937){var _0x123f16=_0x4573;return(function(){var _0x5eb57c=_0x4573,_0x26fa93=_0x27e937,_0x142c11=_0x26fa93[_0x5eb57c(0x3ed)],_0x44a8f3=_0x142c11['Base'],_0x4e2c00=_0x142c11['WordArray'],_0x5c71da=_0x26fa93['algo'],_0x115ec8=_0x5c71da[_0x5eb57c(0xb6)],_0x438cae=_0x5c71da[_0x5eb57c(0x30a)]=_0x44a8f3[_0x5eb57c(0x158)]({'cfg':_0x44a8f3[_0x5eb57c(0x158)]({'keySize':0x80/0x20,'hasher':_0x115ec8,'iterations':0x1}),'init':function(_0x4b2b85){var _0x3cb8af=_0x5eb57c;this[_0x3cb8af(0x18c)]=this[_0x3cb8af(0x18c)][_0x3cb8af(0x158)](_0x4b2b85);},'compute':function(_0x27ee47,_0x2f92b2){var _0x5d13e8=_0x5eb57c;for(var _0x1f2e0c,_0x328ba1=this[_0x5d13e8(0x18c)],_0x2aa9b1=_0x328ba1[_0x5d13e8(0x204)][_0x5d13e8(0x138)](),_0x4bf978=_0x4e2c00[_0x5d13e8(0x138)](),_0x2761a6=_0x4bf978[_0x5d13e8(0x279)],_0xb4d668=_0x328ba1['keySize'],_0x3c6631=_0x328ba1['iterations'];_0x2761a6[_0x5d13e8(0x102)]<_0xb4d668;){_0x1f2e0c&&_0x2aa9b1[_0x5d13e8(0xe0)](_0x1f2e0c),_0x1f2e0c=_0x2aa9b1[_0x5d13e8(0xe0)](_0x27ee47)[_0x5d13e8(0x81)](_0x2f92b2),_0x2aa9b1['reset']();for(var _0x4ab0ac=0x1;_0x4ab0ac<_0x3c6631;_0x4ab0ac++)_0x1f2e0c=_0x2aa9b1[_0x5d13e8(0x81)](_0x1f2e0c),_0x2aa9b1['reset']();_0x4bf978[_0x5d13e8(0x10d)](_0x1f2e0c);}return _0x4bf978[_0x5d13e8(0x226)]=_0xb4d668*0x4,_0x4bf978;}});_0x26fa93[_0x5eb57c(0x30a)]=function(_0x34b277,_0x114395,_0x327567){var _0x223c3c=_0x5eb57c;return _0x438cae[_0x223c3c(0x138)](_0x327567)['compute'](_0x34b277,_0x114395);};}()),_0x27e937[_0x123f16(0x30a)];}));}(me)),me[_0x1d142d(0x2dd)];}var Te={'exports':{}},Wi=Te[_0x529853(0x2dd)],rt;function _0x44ed(){var _0xc652d9=['_changesetSessionId','c1Prime','SheetTransformSelectionsService','_cipher','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','SEND_CHANGESET_TIMEOUT','MentionIoHttpService','_clearRedo','listCollaborators','_sessionStatus$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_awaitingChangeset','_handler','PendingState','_minBufferSize','BASE64','onStarting','substr','createDecryptor','default','values','prototype','mixIn','forEach','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collaboratorID','unitInfo$','EmptyMutation','RevisionService','_collaborationPaused','AES','SHA1','ERROR_IMAGE_TYPE','_imageSourceCache','_remoteChangesetQueue','words','INTERNAL_ERROR','_initDependencies','_prevBlock','byteLength','textEncoder','baseRev','size','change$','sid','YUUMI_UNABLE_LOAD_URL','textRanges','permissionRejEvent','addHandlerCallback','_sessions','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','UnitStatus','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','getOwnPropertyDescriptor','ws://127.0.0.1:8000/universer-api/comb/connect','[CollaborationSession]','avatar','_HTTPService','FetchingMissState','ThresholdInterceptorFactory','_unitID','_onRemoteACK','HTTPService','_undoStacks','rev','push','url','x-univer-host','EXCHANGE_SIGN_URL_SERVER_URL_KEY','clear','Subject','NEW_CHANGESETS','onTransformRemoteChangesetByStateCache','_scheduleCollaborationTimeoutTimer','_joinRoom','sequenceExecute','_localeService','CompressMutationService','socket\x20close','getValue','/allowed','m2Prime','NOT_FOUND','capture','_waitForHeartbeatResponse','_initRequestHeader','isInternalEditorID','[SyncedState]:\x20received\x20acknowledgement.','YUUMI_ASYNCIO_CANCELLED','/rev/','symbol','removeMember','UNDEFINED','result','generateRandomId','getUnitType','/universer-api/snapshot/','COMPRESS_MUTATION_APPLY','CollaborationStatus','_loadDoc','format','getConfig','copyFileMeta','complete','disableLocalCache','add','_change$','withCredentials','confirm','liveShareNewHost','_socketMessageSubscription','_hasher','hostname','encryptBlock','getGlobalObject','_toggleOnline','apply','LocalUndoRedoService','stringify','[DataLoaderService]','SheetsSelectionsService','Undefined','CollaborationSessionService','_resendTimer','_getSignURL','_clearTimeoutTimer','indexOf','CollaborationImageIoService','type','LIVESHARE_FETCH_OPERATIONS','SOCKET_FAILED','leaveEvent','executeCommand','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','duration','exports','JOIN','deepClone','[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.','&assign=','saveImage','formatter','code','key','get','transformMutationsWithChangeset','_append','updateMember','SheetCollaborationEntity','[CollaborationState]:\x20apply\x20error!','action','YUUMI_RATE_OVER_LIMIT','csAckEvent','subUnitId','_permissionService','SUCCUSS','_map','_createInitialState','ICommandService','UNKNOWN_CODE','UNAUTHENTICATED','$super','ivSize','&source=','18YVIJju','APPLY_DUPLICATED','WorkbookEditablePermission','readyForCollab','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Base','COLLAB_SUBMIT_CHANGESET_URL','univer-pro.collaboration-client-socket-service','_snapshotService','SnapshotService','_nDataBytes','HMAC','UNRECOGNIZED','RETRY_CONNECTING_MAX_COUNT','collaboration-client.config','_collaborationUIEventService','EvpKDF','INGEST','_shouldReportTelemetry','getActiveSheet','JSONX','parseProtocolChangeset','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','liveShareOperation','_onConnectionFailed','{fileID}','CollaborationController','BlockCipher','NoPadding','_onOffline','editing\x20status\x20changed\x20to','_clearRetryConnectingTimer','_loadSheet','55NAyWRa','Workbook','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','init','sessionStatus$','_onCombEvent','_onUserLeave','joinEvent','_telemetryInfo','mapDocumentTypeToUniverType','COLLAB_WEB_SOCKET_URL','_toggleOffline','objects','\x20to\x20','updateOfflineData','_getCtorByUniverType','PSEUDO_FETCH_MISSING_RESULT','string','isTransformChangesetsSuccess','merge','workbook','44560XEHotE','/universer-api/authz','LOGIN_URL_KEY','RETRY_CONNECTING_MAX_COUNT_KEY','override','_collaborationTimeoutTimer','compute','toString','_singleActiveUnitService','GLOBAL_ROOMS_CNT_EXCEEDS','session','getLocalCacheKey','revision','random','_oKey','UnitEmbedded','onCommentUpdate','take','_transformUndoredo','memberID','now','authzUrl','_clearScheduledTask','465708cmLjnU','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','[SyncedState]:\x20received\x20rejection.','_roomCreated$','requestParams','splice','People','createIdentifier','takeUntil','260872soJkMb','range','AwaitingState','has','/new_changes','AuthzIoHttpService','find','_event$','encrypt','toggleOffline','readAsDataURL','dispose$','ERROR_IMAGE','kdf','_throwTelemetryCollaborationNewChangeset','CHANGESET_REJ','SEND_CHANGESET_TIMEOUT_KEY','_httpService','_keyPriorReset','UnitSnapshot','_emitMembers','readInt32LE','_checkMissing','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_queuedRemoteChangesets','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','algo','parse','UniverCollaborationPlugin','Hex','_createInitialStateImpl','Encryptor','161tJbiAg','_parse','AUTHZ_URL_KEY','_sendingTimer','_doCreateSocket','firstValueFrom','SnapshotServerOverHTTPService','isArray','batchAllowed','DEFAULT_FILE_NAME','_reverseMap','AWAITING_WITH_PENDING','getMemberID','1011352eKWlax','COLLAB_SUBMIT_CHANGESET_URL_KEY','MentionType','from','INVALID_ARGUMENT','ENSURE_SNAPSHOT_EXECUTION','saveChangeset','collaMsg','getCollabEntity','_lockTransition','mutations','FAIL','state','_isPermissionRej','_redoStacks','[PendingState]:\x20received\x20acknowledgement.','Utf8','enc','CONFLICT','CLOSE_ROOM','call','_transformSelections','POST','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','compose','objectType','getTime','CollaborationSession','ConflictState','/-/object/list','_members$','Tools','HEARTBEAT_INTERVAL_KEY','BehaviorSubject','COMPLETION_FINISHED','eventID','close$','SUBMIT_CHANGESET','collabWebSocketUrl','LIVESHARE_REQUEST_HOST','mergeOverrideWithDependencies','RxDisposable','JOINING','__esModule','PENDING','_members','YUUMI_URL_COL_OUT_OF_RANGE','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_iKey','HTTPRequest','getTypeOfUnitDisposed$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','univer-pro.collaboration-client.single-active-unit-service','COMMENT_UPDATE','_getRedoStack','_initUnitPermissionChange','/object','fetchMiss','TOO_MANY_REQUESTS','ImageSourceType','saveSheetBlock','replace','/object/','@univerjs/sheets','_incrementRevisionNumber','_init','createCollaborator','_waitCount','/universer-api/snapshot','hasOwnProperty','DisposableCollection','_replayCachedMutations','_onLocalMutation','roomInfos','[CollaborationUndoRedoService]','_executeRemoteChangeset','HEARTBEAT','_socketReady','_sendHeartbeat','csShouldRetryEvent','_retryCount','ILocalCacheService','/universer-api/uniscript','_applyRemoteChangeset','uploadFileServerUrl','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','CBC','Could\x20not\x20dynamically\x20require\x20\x22','_telemetryService','_configService','file','sheets','_transformRemoteChangesetByStateCache','Failed\x20to\x20update\x20permission\x20point','then','abs','DEFAULT_WS_SESSION_TICKET_URL','commentUpdate$','[CollaborationEntity]','INVALID_INVITE_CODE','onLocalMutation','APPLY_NON_SEQUENTIAL_REVISION','_acknowledgedAwaitingChangeset','map','msCrypto','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_entities','collaborators','UniverInstanceType','ISnapshotServerService','lib','onTransformRemoteChangesetByIMECache','offline','concatMap','ReplaySubject','pluginName','roles','UNIVER_COLLABORATION_CLIENT_PLUGIN','set','_listenToNetworkCondition','1NRZSpw','LIVESHARE_NEW_HOST','onRemoteRetry','ISingleActiveUnitService','CollaborationSocketService','_fetchMissChangesets','BlockCipherMode','localeService','_tryReconnect','pipe','localCacheService','_mode','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Cipher','reconnect','COLLAB_WEB_SOCKET_URL_KEY','actions','_getSendChangesetTimeout','finalize','WordArray','HEARTBEAT_TIMEOUT_KEY','refreshPermission','addImageSourceCache','state$','_onConnectionOpen','CONNECTOR_DATA_TOO_LARGE','createInstance','image/png','_scheduleCompleteTimestamp','LICENSE_MAX_UNITS_EXCEEDED','_DEC_XFORM_MODE','_transformIMECache','loadDoc','socket$','_commentService','_submitChangeset','_updateState','PY_RUNTIME_SCRIPT_ERROR','Malformed\x20UTF-8\x20data','function','_syncEditingCollabCursor','getUnitStatus$','pauseCollaboration','_replaceFileID','_startCollaboration','_onRemoteChangeset','commentUpdateEvent','YUUMI_NO_CUBOID_FOR_QUESTION','getSheetId','UNIVER_SLIDE','_state$','stopTime','Hasher','_doFinalize','_tryEnsureSocket','_schedule','userID','_doCryptBlock','serializeCombRequest','floor','blockSize','_revisionService','awaiting_with_pending','SNAPSHOT_INVALID_SNAPSHOT','JOIN_ROOM_PERMISSION_DENIED','deleteCollaborator','LEAVE','_hash','_resendWithTimeout','_resendTimeout','UserProfileImg','MD5','IPermissionService','asObservable','MOBILE_HAS_BEEN_BOUND','_onRemoteRejected','collaboration_new_changeset','fromCollab','HttpExport','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','LOGIN_FAILED','loginUrlKey','LocaleService','closeSession','SHOULD_CLOSE_CONN','message$','salt','loadOfflineData','USERS_LEAVE','_entityInit$','LIVESHARE_OPERATION','PERSON','put','SNAPSHOT_SERVER_URL_KEY','charCodeAt','BufferedBlockAlgorithm','USER_NOT_INVITED_CODE','deserializeToCombResponse','body','enableSingleActiveInstanceLock','join','getCurrentRevOfUnit','APPLY_REVISION_CONFILICT','retryConnectingInterval','_getUndoStack','4525740iHURhm','cmd','onMissingChangesets','/fetchmissing?from=','_iv','Pkcs7','ciphertext','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','update','/unit/','/collaborator','delete','UniverCollaborationClientPlugin','pad','_getLoginPath','members','keySize','_compressMutationService','onRemoteChangeset','ceil','SyncedState','infoRsp','fromCharCode','collabSubmitChangesetUrl','getRandomValues','randomUUID','ERROR_EXCEED_SIZE','catch','reqId','patch','_roomMembers','_unlockTransition','InsertSheetMutation','fetchThroughInterceptors','not_collab','FileId','telemetry\x20info\x20is\x20not\x20initialized','SUBMIT_CHANGESET_TIMEOUT','image/bmp','_getAPIPrefixPath','LIVESHARE_TERMINATE','image/gif','length','[PendingState]:\x20received\x20rejection.','UNKNOWN_CMD','Inject','UPDATE_CURSOR','_univerInstanceService','conflict','7876080KyCyVf','createEncryptor','_initCloseConn','waitForRoom$','concat','reset','getTypeOfUnitAdded$','_key','onTransformSelections','UNIVER_SHEET','_injector','online$','Base64','fetchMissingChangesets','_getCurrentRevision','FETCH_MISSING','putCollaborators','post','/universer-api/file/{fileID}/sign-url','SNAPSHOT_URL_KEY','open$','_candidateSocket','_updateStatus','JOIN_ROOM_FULL','_clearHeartbeatTimer','emitEvent','_showConflictNotification','univer-pro.collaboration-client.network-condition.service','every','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','session.room-permission-denied','__Key__','snapshotServerUrl','_createSocket','findIndex','_getUploadFileURL','getSnapshotAPIPath','_snapshotServerService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','/-/object/-/batch_allowed','_onRecvEvent','UPDATE_PERMISSION_OBJ','_retryConnectingTimer','MergeInterceptorFactory','UNIVER_PROJECT','getUnitId','responseType','create','_instanceService','NOT_COLLAB','_removeRoom','createSocket','onSendChangeset','ITelemetryService','HELLO','IUndoRedoService','IDLE','HEARTBEAT_TIMEOUT','_updateLocalCache','UniverNetworkPlugin','_xformMode','_startTelemetryCollaborationNewChangeset','_decreaseWaiting','socket\x20open.','unitId','signUrlServerUrl','onSyncEditingCollabCursor','setConfig','_onRemoteRetry','event$','data','DEFAULT_COLLAB_WEB_SOCKET_URL','CollaborationEntity','_localCacheService','_handlerCallback','Rectangle','unit-cache-','disposeWithMe','PasswordBasedCipher','extend','_state','processBlock','originalMeta','_transformRemoteChangesetByIMECache','_type','_nRounds','HttpImport','CollaborationEvent','toDisposable','_commandService','__creator','_onJoinRoomEvent','sessionStatus','_config','ALREADY_EXISTS','ImageUploadStatusType','_socketService','RichTextEditingMutation','_socket$','rng','_undoRedoService','@univerjs-pro/collaboration','OTHER_CLIENTS_EDITING','_transformStack','DataLoaderService','slice','fetch_missing','IImageIoService','_createHmacHelper','subscribe','SNAPSHOT_HAS_BEEN_REMOVED','updateCursorEvent','USERS_ENTER','[CollaborationSessionService]','_disableEditing','getCurrentUser','_keySchedule','rxjs/operators','AwaitingWithPendingState','/universer-api/user/session-ticket','_registerDependencies','resend','clamp','JOIN_ROOM_FAILED','Module','_doReset','location','getInterceptPoints','method','HmacSHA1','Plugin','cfg','reject','ILogService','status','Optional','SessionStatus','unsubscribe','\x20in\x20_schedule.','INVITE_CODE_ALREADY_BOUND','[UniverCollaborationClientPlugin]','isTransformMutationsWithChangesetFailure','_getAPIPrefix','COMPRESS_MUTATION_SEND','_status$','_substituteUndoStack','UNISCRIPT_RUN','MemberService','@univerjs/core','EMAIL_HAS_BEEN_BOUND','SYNCED','next','_eventService','_ENC_XFORM_MODE','_onUserJoin','getWorkbookSelections','setShowComponents','CHANGESET_ACK','headers','synced','sin','Quantity','encode','PERMISSION_DENIED','OTHER_CLIENT_EDITING','getFocusedUnit','execute','DependentOn','IContextService','CHANGESET_SHOULD_RETRY','getCollabEntity$','getCurrentSelections','CipherParams','LICENSE_EXPORT_SIZE_EXCEEDED','unknown','ONLINE','_onFetchMissResult','updatePermissionPoint','[OfflineState]:\x20received\x20acknowledgement.','reduce','bind','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_getDownloadEndpointURL','transformChangesets','_createHandler','Decryptor','charAt','_sender','_sendHeartbeatTimer','_invKeySchedule','_transitionLocked','error$','crypto','pending','Univer','_logService','transformSelections','toggleOnline','unitId\x20is\x20not\x20found','getDeserializedSheetBlock','_sheetTransformSelectionsService','dispose','MUTATION','editingUnit','isTransformMutationsWithChangesetSuccess','onload','registerDependencies','_unitInfo$','IConfigService','error','filter','_rescheduleHeartbeat','getUnitOnRev','_onConflict','DocCollaborationEntity','failed\x20to\x20apply\x20missed\x20changesets!','submit\x20changeset\x20error!','getImageSourceCache','OfflineState','snapshot','_pendingMutations','_socket','SetSelectionsOperation','NO_OTHER_CLIENTS_EDITING','_data','3943195HhkDWt','[OfflineState]:\x20received\x20rejection.','HmacMD5','_process','_collaborationSessionService','_memberService','shouldCloseConn','onRemoteRej','_clearLocalCache','CHANGESET_REVISION_CONFILICT','send','&to=','onlyLocal','INVITE_CODE_HAS_BEEN_UES','b64DecodeUnicode','UserManagerService','_createHelper','onTransformIME','getResourcesRequest','awaitingChangeset','interceptor','JOIN_ROOM_NOT_EXISTS','registerHTTPInterceptor','objectID','initWorkbookPermissionChange','Injector','hasher','Disposable','onMissedChangesetFetched','defineProperty','\x0aCurrent:\x20','json','unitID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','decrypt','?size=','close','connection\x20error','routeKey','RECV','HEARTBEAT_INTERVAL','awaiting','ITransformService','repeat','list','_transformService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getAllMembers','/block/','onCommandExecuted','padding','SheetPermissionInitController','_networkConditionService','unpad','clone','loadSheet','collaboration-client.local-cache-service','setCurrentUser','AWAITING','selections','sigBytes','MSG_FOR_ERROR','href','onTransformState','SOCKET_FAILED_RETRY','onRemoteAck','UNIVER_DOC','_commentUpdate$','OFFLINE','FETCH_MISS','equals','ICollaborationSocketService','_timeoutTimer','LOCAL_CACHE_INTERVAL','allowed','getMember','updatePermissionObjEvent','params','\x20-\x20','parseChangesetToProtocol','reverse','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','status$','/universer-api/stream/file/upload','debug','_userManagerService','appendMutation','YUUMI_SUBSCRIPTION_NOT_FOUND','UNIVER_UNKNOWN','LICENSE_IMPORT_SIZE_EXCEEDED','saveSnapshot','getRoom','delay','updateCollaborator','@univerjs-pro/license','IUniverInstanceService','entityInit$','CollaborativeUndoRedoService','_changesetReqId','_initMergeInterceptor','requireSession','decryptBlock','mode','name','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','isPermissionRej','APPLY_REJECT','buffer'];_0x44ed=function(){return _0xc652d9;};return _0x44ed();}function Pt(){return rt||(rt=0x1,function(_0xea52d3,_0x4f3644){(function(_0x1587d6,_0x36a7ee,_0x5527be){var _0x472846=_0x4573;_0xea52d3[_0x472846(0x2dd)]=_0x36a7ee(ee(),At());}(Wi,function(_0x22b986){var _0x4c3da8=_0x4573;_0x22b986[_0x4c3da8(0x3ed)][_0x4c3da8(0x7c)]||function(_0x39dd53){var _0x291708=_0x4c3da8,_0x506c0e=_0x22b986,_0x1c917a=_0x506c0e[_0x291708(0x3ed)],_0x17721a=_0x1c917a['Base'],_0x474cec=_0x1c917a[_0x291708(0x82)],_0x36206f=_0x1c917a[_0x291708(0xce)],_0x46d886=_0x506c0e[_0x291708(0x38e)];_0x46d886[_0x291708(0x38d)];var _0x29bdf0=_0x46d886[_0x291708(0x115)],_0x2501d5=_0x506c0e['algo'],_0x49874d=_0x2501d5['EvpKDF'],_0x36608c=_0x1c917a[_0x291708(0x7c)]=_0x36206f['extend']({'cfg':_0x17721a[_0x291708(0x158)](),'createEncryptor':function(_0x181245,_0x538c27){var _0x128ad5=_0x291708;return this[_0x128ad5(0x138)](this[_0x128ad5(0x1a2)],_0x181245,_0x538c27);},'createDecryptor':function(_0x244516,_0x34c790){var _0x4ef8bb=_0x291708;return this[_0x4ef8bb(0x138)](this[_0x4ef8bb(0x8d)],_0x244516,_0x34c790);},'init':function(_0x1709ae,_0x34da49,_0x44b501){var _0x3fb918=_0x291708;this['cfg']=this[_0x3fb918(0x18c)][_0x3fb918(0x158)](_0x44b501),this[_0x3fb918(0x145)]=_0x1709ae,this[_0x3fb918(0x110)]=_0x34da49,this[_0x3fb918(0x10e)]();},'reset':function(){var _0x580851=_0x291708;_0x36206f[_0x580851(0x10e)][_0x580851(0x391)](this),this[_0x580851(0x186)]();},'process':function(_0x27a7b5){var _0x220102=_0x291708;return this[_0x220102(0x2e8)](_0x27a7b5),this['_process']();},'finalize':function(_0x4bf02b){var _0x453b3b=_0x291708;_0x4bf02b&&this['_append'](_0x4bf02b);var _0x5708ce=this[_0x453b3b(0xa4)]();return _0x5708ce;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x16fcb2(_0xc6d765){var _0x5a3fe3=_0x4573;return typeof _0xc6d765==_0x5a3fe3(0x32c)?_0x4dd511:_0xed4a4f;}return function(_0x260ca6){return{'encrypt':function(_0x3c4629,_0x4ec840,_0x8e9b08){return _0x16fcb2(_0x4ec840)['encrypt'](_0x260ca6,_0x3c4629,_0x4ec840,_0x8e9b08);},'decrypt':function(_0x2d6625,_0x451ae0,_0x129a42){var _0xf61de0=_0x4573;return _0x16fcb2(_0x451ae0)[_0xf61de0(0x20c)](_0x260ca6,_0x2d6625,_0x451ae0,_0x129a42);}};};}())});_0x1c917a['StreamCipher']=_0x36608c[_0x291708(0x158)]({'_doFinalize':function(){var _0x30534b=this['_process'](!0x0);return _0x30534b;},'blockSize':0x1});var _0x2927cb=_0x506c0e[_0x291708(0x250)]={},_0x120943=_0x1c917a[_0x291708(0x3fd)]=_0x17721a[_0x291708(0x158)]({'createEncryptor':function(_0x4c162b,_0x2cdef9){var _0x3b3ed0=_0x291708;return this[_0x3b3ed0(0x36f)][_0x3b3ed0(0x138)](_0x4c162b,_0x2cdef9);},'createDecryptor':function(_0x55ebf2,_0x196e9a){var _0x46997e=_0x291708;return this[_0x46997e(0x1c2)][_0x46997e(0x138)](_0x55ebf2,_0x196e9a);},'init':function(_0x3aba58,_0x295b5f){this['_cipher']=_0x3aba58,this['_iv']=_0x295b5f;}}),_0x6d9d48=_0x2927cb[_0x291708(0x3d4)]=(function(){var _0x39004b=_0x291708,_0x201f26=_0x120943[_0x39004b(0x158)]();_0x201f26[_0x39004b(0x36f)]=_0x201f26[_0x39004b(0x158)]({'processBlock':function(_0x53abaa,_0x4a0cf7){var _0x188ab0=_0x39004b,_0x252cdd=this[_0x188ab0(0x259)],_0x446e5d=_0x252cdd[_0x188ab0(0xab)];_0x1ef01c[_0x188ab0(0x391)](this,_0x53abaa,_0x4a0cf7,_0x446e5d),_0x252cdd[_0x188ab0(0x2c7)](_0x53abaa,_0x4a0cf7),this['_prevBlock']=_0x53abaa[_0x188ab0(0x172)](_0x4a0cf7,_0x4a0cf7+_0x446e5d);}}),_0x201f26[_0x39004b(0x1c2)]=_0x201f26[_0x39004b(0x158)]({'processBlock':function(_0x17867c,_0x108973){var _0x5eae3c=_0x39004b,_0x5af637=this[_0x5eae3c(0x259)],_0x480139=_0x5af637[_0x5eae3c(0xab)],_0x3a5f31=_0x17867c[_0x5eae3c(0x172)](_0x108973,_0x108973+_0x480139);_0x5af637[_0x5eae3c(0x24f)](_0x17867c,_0x108973),_0x1ef01c[_0x5eae3c(0x391)](this,_0x17867c,_0x108973,_0x480139),this[_0x5eae3c(0x27c)]=_0x3a5f31;}});function _0x1ef01c(_0x4b97ce,_0x382087,_0x3a87f2){var _0x18c051=_0x39004b,_0x4fd964,_0x1f3cf9=this[_0x18c051(0xdc)];_0x1f3cf9?(_0x4fd964=_0x1f3cf9,this[_0x18c051(0xdc)]=_0x39dd53):_0x4fd964=this[_0x18c051(0x27c)];for(var _0x5e67a6=0x0;_0x5e67a6<_0x3a87f2;_0x5e67a6++)_0x4b97ce[_0x382087+_0x5e67a6]^=_0x4fd964[_0x5e67a6];}return _0x201f26;}()),_0x1bc746=_0x506c0e[_0x291708(0xe5)]={},_0x299bda=_0x1bc746[_0x291708(0xdd)]={'pad':function(_0x4d94ec,_0x1370bd){var _0x36829d=_0x291708;for(var _0x12213b=_0x1370bd*0x4,_0x4b14dd=_0x12213b-_0x4d94ec['sigBytes']%_0x12213b,_0x372120=_0x4b14dd<<0x18|_0x4b14dd<<0x10|_0x4b14dd<<0x8|_0x4b14dd,_0x9721d5=[],_0x5f055a=0x0;_0x5f055a<_0x4b14dd;_0x5f055a+=0x4)_0x9721d5[_0x36829d(0x297)](_0x372120);var _0x4ddbe4=_0x474cec[_0x36829d(0x138)](_0x9721d5,_0x4b14dd);_0x4d94ec[_0x36829d(0x10d)](_0x4ddbe4);},'unpad':function(_0x46a3a9){var _0x9e8485=_0x291708,_0x3e359c=_0x46a3a9[_0x9e8485(0x279)][_0x46a3a9[_0x9e8485(0x226)]-0x1>>>0x2]&0xff;_0x46a3a9['sigBytes']-=_0x3e359c;}};_0x1c917a['BlockCipher']=_0x36608c[_0x291708(0x158)]({'cfg':_0x36608c[_0x291708(0x18c)]['extend']({'mode':_0x6d9d48,'padding':_0x299bda}),'reset':function(){var _0x176eb6=_0x291708,_0x441836;_0x36608c['reset'][_0x176eb6(0x391)](this);var _0x5d525c=this[_0x176eb6(0x18c)],_0xe9b35e=_0x5d525c['iv'],_0x2327b4=_0x5d525c[_0x176eb6(0x250)];this['_xformMode']==this[_0x176eb6(0x1a2)]?_0x441836=_0x2327b4[_0x176eb6(0x10a)]:(_0x441836=_0x2327b4[_0x176eb6(0x268)],this[_0x176eb6(0x264)]=0x1),this[_0x176eb6(0x7a)]&&this[_0x176eb6(0x7a)]['__creator']==_0x441836?this[_0x176eb6(0x7a)][_0x176eb6(0x31e)](this,_0xe9b35e&&_0xe9b35e[_0x176eb6(0x279)]):(this[_0x176eb6(0x7a)]=_0x441836[_0x176eb6(0x391)](_0x2327b4,this,_0xe9b35e&&_0xe9b35e[_0x176eb6(0x279)]),this[_0x176eb6(0x7a)][_0x176eb6(0x163)]=_0x441836);},'_doProcessBlock':function(_0x535fa7,_0x3760f1){var _0x2a43ab=_0x291708;this[_0x2a43ab(0x7a)][_0x2a43ab(0x15a)](_0x535fa7,_0x3760f1);},'_doFinalize':function(){var _0x2b5e99=_0x291708,_0x354451,_0x1320be=this[_0x2b5e99(0x18c)][_0x2b5e99(0x21c)];return this[_0x2b5e99(0x145)]==this['_ENC_XFORM_MODE']?(_0x1320be[_0x2b5e99(0xe5)](this[_0x2b5e99(0x1e9)],this[_0x2b5e99(0xab)]),_0x354451=this[_0x2b5e99(0x1ed)](!0x0)):(_0x354451=this[_0x2b5e99(0x1ed)](!0x0),_0x1320be[_0x2b5e99(0x21f)](_0x354451)),_0x354451;},'blockSize':0x80/0x20});var _0xd9c995=_0x1c917a[_0x291708(0x1b5)]=_0x17721a[_0x291708(0x158)]({'init':function(_0x3a33cd){this['mixIn'](_0x3a33cd);},'toString':function(_0x3561fd){var _0x247fd6=_0x291708;return(_0x3561fd||this[_0x247fd6(0x2e3)])[_0x247fd6(0x2cc)](this);}}),_0x4fd83b=_0x506c0e[_0x291708(0x2ba)]={},_0x4593f9=_0x4fd83b['OpenSSL']={'stringify':function(_0x437cd4){var _0x40deb8=_0x291708,_0x39577c,_0x526ac2=_0x437cd4[_0x40deb8(0xde)],_0x655c7d=_0x437cd4[_0x40deb8(0xc5)];return _0x655c7d?_0x39577c=_0x474cec[_0x40deb8(0x138)]([0x53616c74,0x65645f5f])[_0x40deb8(0x10d)](_0x655c7d)['concat'](_0x526ac2):_0x39577c=_0x526ac2,_0x39577c['toString'](_0x29bdf0);},'parse':function(_0x40594e){var _0x5e76a8=_0x291708,_0x20ecb7,_0x437f67=_0x29bdf0[_0x5e76a8(0x36b)](_0x40594e),_0x2f83a1=_0x437f67[_0x5e76a8(0x279)];return _0x2f83a1[0x0]==0x53616c74&&_0x2f83a1[0x1]==0x65645f5f&&(_0x20ecb7=_0x474cec[_0x5e76a8(0x138)](_0x2f83a1[_0x5e76a8(0x172)](0x2,0x4)),_0x2f83a1[_0x5e76a8(0x34c)](0x0,0x4),_0x437f67[_0x5e76a8(0x226)]-=0x10),_0xd9c995[_0x5e76a8(0x138)]({'ciphertext':_0x437f67,'salt':_0x20ecb7});}},_0xed4a4f=_0x1c917a['SerializableCipher']=_0x17721a['extend']({'cfg':_0x17721a[_0x291708(0x158)]({'format':_0x4593f9}),'encrypt':function(_0x291ea7,_0x513a0b,_0x5fe11c,_0x18f4eb){var _0x1715eb=_0x291708;_0x18f4eb=this[_0x1715eb(0x18c)][_0x1715eb(0x158)](_0x18f4eb);var _0xba20b2=_0x291ea7[_0x1715eb(0x10a)](_0x5fe11c,_0x18f4eb),_0x17f549=_0xba20b2[_0x1715eb(0x81)](_0x513a0b),_0x35d6d5=_0xba20b2['cfg'];return _0xd9c995[_0x1715eb(0x138)]({'ciphertext':_0x17f549,'key':_0x5fe11c,'iv':_0x35d6d5['iv'],'algorithm':_0x291ea7,'mode':_0x35d6d5[_0x1715eb(0x250)],'padding':_0x35d6d5[_0x1715eb(0x21c)],'blockSize':_0x291ea7[_0x1715eb(0xab)],'formatter':_0x18f4eb[_0x1715eb(0x2ba)]});},'decrypt':function(_0x10f0ea,_0x33aec0,_0xcf62b5,_0x28e7d6){var _0x53cf53=_0x291708;_0x28e7d6=this[_0x53cf53(0x18c)][_0x53cf53(0x158)](_0x28e7d6),_0x33aec0=this['_parse'](_0x33aec0,_0x28e7d6[_0x53cf53(0x2ba)]);var _0x202c70=_0x10f0ea[_0x53cf53(0x268)](_0xcf62b5,_0x28e7d6)[_0x53cf53(0x81)](_0x33aec0[_0x53cf53(0xde)]);return _0x202c70;},'_parse':function(_0x185682,_0x1f4f68){var _0xd6f677=_0x291708;return typeof _0x185682==_0xd6f677(0x32c)?_0x1f4f68['parse'](_0x185682,this):_0x185682;}}),_0x4c700f=_0x506c0e[_0x291708(0x35d)]={},_0x2b45f8=_0x4c700f['OpenSSL']={'execute':function(_0x149960,_0x548e50,_0x4cf891,_0x2bd24b,_0x252006){var _0x4ed1bd=_0x291708;if(_0x2bd24b||(_0x2bd24b=_0x474cec[_0x4ed1bd(0x33d)](0x40/0x8)),_0x252006)var _0x5e1848=_0x49874d[_0x4ed1bd(0x138)]({'keySize':_0x548e50+_0x4cf891,'hasher':_0x252006})['compute'](_0x149960,_0x2bd24b);else var _0x5e1848=_0x49874d['create']({'keySize':_0x548e50+_0x4cf891})[_0x4ed1bd(0x336)](_0x149960,_0x2bd24b);var _0x15ba57=_0x474cec[_0x4ed1bd(0x138)](_0x5e1848[_0x4ed1bd(0x279)][_0x4ed1bd(0x172)](_0x548e50),_0x4cf891*0x4);return _0x5e1848['sigBytes']=_0x548e50*0x4,_0xd9c995['create']({'key':_0x5e1848,'iv':_0x15ba57,'salt':_0x2bd24b});}},_0x4dd511=_0x1c917a[_0x291708(0x157)]=_0xed4a4f[_0x291708(0x158)]({'cfg':_0xed4a4f[_0x291708(0x18c)]['extend']({'kdf':_0x2b45f8}),'encrypt':function(_0x577d73,_0x3b696d,_0x55c9d6,_0x196741){var _0x4b9d84=_0x291708;_0x196741=this['cfg'][_0x4b9d84(0x158)](_0x196741);var _0x4c6b45=_0x196741['kdf'][_0x4b9d84(0x1af)](_0x55c9d6,_0x577d73[_0x4b9d84(0xe8)],_0x577d73[_0x4b9d84(0x2f8)],_0x196741[_0x4b9d84(0xc5)],_0x196741[_0x4b9d84(0x204)]);_0x196741['iv']=_0x4c6b45['iv'];var _0x467a4b=_0xed4a4f['encrypt']['call'](this,_0x577d73,_0x3b696d,_0x4c6b45[_0x4b9d84(0x2e5)],_0x196741);return _0x467a4b['mixIn'](_0x4c6b45),_0x467a4b;},'decrypt':function(_0x54d3f4,_0x27ce5c,_0x1e387c,_0xb40454){var _0x81ce71=_0x291708;_0xb40454=this[_0x81ce71(0x18c)][_0x81ce71(0x158)](_0xb40454),_0x27ce5c=this[_0x81ce71(0x371)](_0x27ce5c,_0xb40454[_0x81ce71(0x2ba)]);var _0x361863=_0xb40454['kdf'][_0x81ce71(0x1af)](_0x1e387c,_0x54d3f4[_0x81ce71(0xe8)],_0x54d3f4[_0x81ce71(0x2f8)],_0x27ce5c['salt'],_0xb40454[_0x81ce71(0x204)]);_0xb40454['iv']=_0x361863['iv'];var _0x35743e=_0xed4a4f[_0x81ce71(0x20c)][_0x81ce71(0x391)](this,_0x54d3f4,_0x27ce5c,_0x361863['key'],_0xb40454);return _0x35743e;}});}();}));}(Te)),Te['exports'];}var Gi=fe[_0x529853(0x2dd)],st;function Ki(){var _0x23c721=_0x529853;return st||(st=0x1,function(_0x462454,_0x4f0350){(function(_0x4a4dc0,_0x146539,_0x531c09){var _0x1c5d5a=_0x4573;_0x462454[_0x1c5d5a(0x2dd)]=_0x146539(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x34a637){return(function(){var _0x16b1cb=_0x4573,_0x1be5a8=_0x34a637,_0x224cac=_0x1be5a8['lib'],_0x2b2245=_0x224cac[_0x16b1cb(0x315)],_0x31066d=_0x1be5a8[_0x16b1cb(0x36a)],_0x5e301c=[],_0x540c1b=[],_0x2c7f7c=[],_0x4286ef=[],_0x13b52a=[],_0x32d834=[],_0x565a3a=[],_0x4b48e6=[],_0x58a87a=[],_0x59b9ec=[];(function(){for(var _0x5d1c9c=[],_0x524d93=0x0;_0x524d93<0x100;_0x524d93++)_0x524d93<0x80?_0x5d1c9c[_0x524d93]=_0x524d93<<0x1:_0x5d1c9c[_0x524d93]=_0x524d93<<0x1^0x11b;for(var _0x9dab38=0x0,_0x1c3caf=0x0,_0x524d93=0x0;_0x524d93<0x100;_0x524d93++){var _0x44eb76=_0x1c3caf^_0x1c3caf<<0x1^_0x1c3caf<<0x2^_0x1c3caf<<0x3^_0x1c3caf<<0x4;_0x44eb76=_0x44eb76>>>0x8^_0x44eb76&0xff^0x63,_0x5e301c[_0x9dab38]=_0x44eb76,_0x540c1b[_0x44eb76]=_0x9dab38;var _0x55660f=_0x5d1c9c[_0x9dab38],_0x3b2f74=_0x5d1c9c[_0x55660f],_0x3f9341=_0x5d1c9c[_0x3b2f74],_0x2fab5f=_0x5d1c9c[_0x44eb76]*0x101^_0x44eb76*0x1010100;_0x2c7f7c[_0x9dab38]=_0x2fab5f<<0x18|_0x2fab5f>>>0x8,_0x4286ef[_0x9dab38]=_0x2fab5f<<0x10|_0x2fab5f>>>0x10,_0x13b52a[_0x9dab38]=_0x2fab5f<<0x8|_0x2fab5f>>>0x18,_0x32d834[_0x9dab38]=_0x2fab5f;var _0x2fab5f=_0x3f9341*0x1010101^_0x3b2f74*0x10001^_0x55660f*0x101^_0x9dab38*0x1010100;_0x565a3a[_0x44eb76]=_0x2fab5f<<0x18|_0x2fab5f>>>0x8,_0x4b48e6[_0x44eb76]=_0x2fab5f<<0x10|_0x2fab5f>>>0x10,_0x58a87a[_0x44eb76]=_0x2fab5f<<0x8|_0x2fab5f>>>0x18,_0x59b9ec[_0x44eb76]=_0x2fab5f,_0x9dab38?(_0x9dab38=_0x55660f^_0x5d1c9c[_0x5d1c9c[_0x5d1c9c[_0x3f9341^_0x55660f]]],_0x1c3caf^=_0x5d1c9c[_0x5d1c9c[_0x1c3caf]]):_0x9dab38=_0x1c3caf=0x1;}}());var _0x145093=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1b6787=_0x31066d[_0x16b1cb(0x274)]=_0x2b2245['extend']({'_doReset':function(){var _0x383f24=_0x16b1cb,_0x50763e;if(!(this[_0x383f24(0x15e)]&&this[_0x383f24(0x362)]===this[_0x383f24(0x110)])){for(var _0x963c06=this[_0x383f24(0x362)]=this['_key'],_0x11e899=_0x963c06[_0x383f24(0x279)],_0x3a308d=_0x963c06[_0x383f24(0x226)]/0x4,_0x5f146b=this[_0x383f24(0x15e)]=_0x3a308d+0x6,_0x1dcdf3=(_0x5f146b+0x1)*0x4,_0x43456e=this[_0x383f24(0x17d)]=[],_0x26fe5e=0x0;_0x26fe5e<_0x1dcdf3;_0x26fe5e++)_0x26fe5e<_0x3a308d?_0x43456e[_0x26fe5e]=_0x11e899[_0x26fe5e]:(_0x50763e=_0x43456e[_0x26fe5e-0x1],_0x26fe5e%_0x3a308d?_0x3a308d>0x6&&_0x26fe5e%_0x3a308d==0x4&&(_0x50763e=_0x5e301c[_0x50763e>>>0x18]<<0x18|_0x5e301c[_0x50763e>>>0x10&0xff]<<0x10|_0x5e301c[_0x50763e>>>0x8&0xff]<<0x8|_0x5e301c[_0x50763e&0xff]):(_0x50763e=_0x50763e<<0x8|_0x50763e>>>0x18,_0x50763e=_0x5e301c[_0x50763e>>>0x18]<<0x18|_0x5e301c[_0x50763e>>>0x10&0xff]<<0x10|_0x5e301c[_0x50763e>>>0x8&0xff]<<0x8|_0x5e301c[_0x50763e&0xff],_0x50763e^=_0x145093[_0x26fe5e/_0x3a308d|0x0]<<0x18),_0x43456e[_0x26fe5e]=_0x43456e[_0x26fe5e-_0x3a308d]^_0x50763e);for(var _0x369caa=this[_0x383f24(0x1c6)]=[],_0x3d3cc0=0x0;_0x3d3cc0<_0x1dcdf3;_0x3d3cc0++){var _0x26fe5e=_0x1dcdf3-_0x3d3cc0;if(_0x3d3cc0%0x4)var _0x50763e=_0x43456e[_0x26fe5e];else var _0x50763e=_0x43456e[_0x26fe5e-0x4];_0x3d3cc0<0x4||_0x26fe5e<=0x4?_0x369caa[_0x3d3cc0]=_0x50763e:_0x369caa[_0x3d3cc0]=_0x565a3a[_0x5e301c[_0x50763e>>>0x18]]^_0x4b48e6[_0x5e301c[_0x50763e>>>0x10&0xff]]^_0x58a87a[_0x5e301c[_0x50763e>>>0x8&0xff]]^_0x59b9ec[_0x5e301c[_0x50763e&0xff]];}}},'encryptBlock':function(_0x2c63f2,_0x4995c5){var _0x3a2b76=_0x16b1cb;this[_0x3a2b76(0xa8)](_0x2c63f2,_0x4995c5,this[_0x3a2b76(0x17d)],_0x2c7f7c,_0x4286ef,_0x13b52a,_0x32d834,_0x5e301c);},'decryptBlock':function(_0x437317,_0x514097){var _0x53234e=_0x16b1cb,_0x227ee4=_0x437317[_0x514097+0x1];_0x437317[_0x514097+0x1]=_0x437317[_0x514097+0x3],_0x437317[_0x514097+0x3]=_0x227ee4,this[_0x53234e(0xa8)](_0x437317,_0x514097,this['_invKeySchedule'],_0x565a3a,_0x4b48e6,_0x58a87a,_0x59b9ec,_0x540c1b);var _0x227ee4=_0x437317[_0x514097+0x1];_0x437317[_0x514097+0x1]=_0x437317[_0x514097+0x3],_0x437317[_0x514097+0x3]=_0x227ee4;},'_doCryptBlock':function(_0x32a708,_0x4d70d7,_0x5accb3,_0x33e803,_0xf993d6,_0x2ac387,_0x3abc97,_0x3dba95){var _0x539031=_0x16b1cb;for(var _0xd06ce=this[_0x539031(0x15e)],_0x343e41=_0x32a708[_0x4d70d7]^_0x5accb3[0x0],_0x2aaa97=_0x32a708[_0x4d70d7+0x1]^_0x5accb3[0x1],_0xbff2e8=_0x32a708[_0x4d70d7+0x2]^_0x5accb3[0x2],_0x5527b2=_0x32a708[_0x4d70d7+0x3]^_0x5accb3[0x3],_0x4e72d9=0x4,_0x4bfd7f=0x1;_0x4bfd7f<_0xd06ce;_0x4bfd7f++){var _0x32ec78=_0x33e803[_0x343e41>>>0x18]^_0xf993d6[_0x2aaa97>>>0x10&0xff]^_0x2ac387[_0xbff2e8>>>0x8&0xff]^_0x3abc97[_0x5527b2&0xff]^_0x5accb3[_0x4e72d9++],_0x2c5ab7=_0x33e803[_0x2aaa97>>>0x18]^_0xf993d6[_0xbff2e8>>>0x10&0xff]^_0x2ac387[_0x5527b2>>>0x8&0xff]^_0x3abc97[_0x343e41&0xff]^_0x5accb3[_0x4e72d9++],_0x1531fa=_0x33e803[_0xbff2e8>>>0x18]^_0xf993d6[_0x5527b2>>>0x10&0xff]^_0x2ac387[_0x343e41>>>0x8&0xff]^_0x3abc97[_0x2aaa97&0xff]^_0x5accb3[_0x4e72d9++],_0x1dd877=_0x33e803[_0x5527b2>>>0x18]^_0xf993d6[_0x343e41>>>0x10&0xff]^_0x2ac387[_0x2aaa97>>>0x8&0xff]^_0x3abc97[_0xbff2e8&0xff]^_0x5accb3[_0x4e72d9++];_0x343e41=_0x32ec78,_0x2aaa97=_0x2c5ab7,_0xbff2e8=_0x1531fa,_0x5527b2=_0x1dd877;}var _0x32ec78=(_0x3dba95[_0x343e41>>>0x18]<<0x18|_0x3dba95[_0x2aaa97>>>0x10&0xff]<<0x10|_0x3dba95[_0xbff2e8>>>0x8&0xff]<<0x8|_0x3dba95[_0x5527b2&0xff])^_0x5accb3[_0x4e72d9++],_0x2c5ab7=(_0x3dba95[_0x2aaa97>>>0x18]<<0x18|_0x3dba95[_0xbff2e8>>>0x10&0xff]<<0x10|_0x3dba95[_0x5527b2>>>0x8&0xff]<<0x8|_0x3dba95[_0x343e41&0xff])^_0x5accb3[_0x4e72d9++],_0x1531fa=(_0x3dba95[_0xbff2e8>>>0x18]<<0x18|_0x3dba95[_0x5527b2>>>0x10&0xff]<<0x10|_0x3dba95[_0x343e41>>>0x8&0xff]<<0x8|_0x3dba95[_0x2aaa97&0xff])^_0x5accb3[_0x4e72d9++],_0x1dd877=(_0x3dba95[_0x5527b2>>>0x18]<<0x18|_0x3dba95[_0x343e41>>>0x10&0xff]<<0x10|_0x3dba95[_0x2aaa97>>>0x8&0xff]<<0x8|_0x3dba95[_0xbff2e8&0xff])^_0x5accb3[_0x4e72d9++];_0x32a708[_0x4d70d7]=_0x32ec78,_0x32a708[_0x4d70d7+0x1]=_0x2c5ab7,_0x32a708[_0x4d70d7+0x2]=_0x1531fa,_0x32a708[_0x4d70d7+0x3]=_0x1dd877;},'keySize':0x100/0x20});_0x1be5a8['AES']=_0x2b2245[_0x16b1cb(0x1fa)](_0x1b6787);}()),_0x34a637['AES'];}));}(fe)),fe[_0x23c721(0x2dd)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x529853(0x2dd)],at;function Xi(){var _0xc211ed=_0x529853;return at||(at=0x1,function(_0x4ab9cf,_0x538076){(function(_0x20543a,_0x5b161b){var _0x436753=_0x4573;_0x4ab9cf[_0x436753(0x2dd)]=_0x5b161b(ee());}(Ji,function(_0x17f65b){var _0x10a305=_0x4573;return _0x17f65b[_0x10a305(0x38e)]['Utf8'];}));}(be)),be[_0xc211ed(0x2dd)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re['exports'],ct;function tn(){var _0x4717bb=_0x529853;return ct||(ct=0x1,function(_0x4bf08e,_0x29c9d9){(function(_0x255979,_0x1462ae){var _0x135738=_0x4573;_0x4bf08e[_0x135738(0x2dd)]=_0x1462ae(ee());}(en,function(_0x234c92){var _0x45fc54=_0x4573;return(function(){var _0x3bf2ad=_0x4573;if(typeof ArrayBuffer=='function'){var _0x449cd7=_0x234c92,_0xbf96d8=_0x449cd7[_0x3bf2ad(0x3ed)],_0x9543a9=_0xbf96d8[_0x3bf2ad(0x82)],_0x287626=_0x9543a9[_0x3bf2ad(0x31e)],_0x222c68=_0x9543a9[_0x3bf2ad(0x31e)]=function(_0xffd8da){var _0x4f63c0=_0x3bf2ad;if(_0xffd8da instanceof ArrayBuffer&&(_0xffd8da=new Uint8Array(_0xffd8da)),(_0xffd8da instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xffd8da instanceof Uint8ClampedArray||_0xffd8da instanceof Int16Array||_0xffd8da instanceof Uint16Array||_0xffd8da instanceof Int32Array||_0xffd8da instanceof Uint32Array||_0xffd8da instanceof Float32Array||_0xffd8da instanceof Float64Array)&&(_0xffd8da=new Uint8Array(_0xffd8da[_0x4f63c0(0x255)],_0xffd8da['byteOffset'],_0xffd8da[_0x4f63c0(0x27d)])),_0xffd8da instanceof Uint8Array){for(var _0x47fbb2=_0xffd8da[_0x4f63c0(0x27d)],_0x339c91=[],_0x2c3f59=0x0;_0x2c3f59<_0x47fbb2;_0x2c3f59++)_0x339c91[_0x2c3f59>>>0x2]|=_0xffd8da[_0x2c3f59]<<0x18-_0x2c3f59%0x4*0x8;_0x287626[_0x4f63c0(0x391)](this,_0x339c91,_0x47fbb2);}else _0x287626[_0x4f63c0(0x2ca)](this,arguments);};_0x222c68[_0x3bf2ad(0x26b)]=_0x9543a9;}}()),_0x234c92['lib'][_0x45fc54(0x82)];}));}(Re)),Re[_0x4717bb(0x2dd)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe['exports'],ht;function on(){var _0x4d9260=_0x529853;return ht||(ht=0x1,function(_0x1f05b0,_0x259eb8){(function(_0x9a1fd5,_0xbe906c,_0x319afc){var _0xfc150=_0x4573;_0x1f05b0[_0xfc150(0x2dd)]=_0xbe906c(ee(),Pt());}(sn,function(_0x5e5c16){var _0x3bdda9=_0x4573;return _0x5e5c16[_0x3bdda9(0xe5)][_0x3bdda9(0x316)]={'pad':function(){},'unpad':function(){}},_0x5e5c16[_0x3bdda9(0xe5)][_0x3bdda9(0x316)];}));}(Oe)),Oe[_0x4d9260(0x2dd)];}var an=on();const cn=Se(an);function hn(_0x49860c,_0x145629){var _0x164fe7=_0x529853;const _0x1ccb61=_0x145629-_0x49860c[_0x164fe7(0x102)]%_0x145629,_0x1a86ee=String[_0x164fe7(0xee)](_0x1ccb61)[_0x164fe7(0x215)](_0x1ccb61);return _0x49860c+_0x1a86ee;}function _n(_0xcfe67b,_0x26a694){var _0x5bcff2=_0x529853;const _0x4690b7=rn[_0x5bcff2(0x33d)](0x10),_0x4731aa=hn(_0xcfe67b,0x10),_0x4c99b0=qi[_0x5bcff2(0x358)](Qi[_0x5bcff2(0x36b)](_0x4731aa),ot['parse'](_0x26a694),{'iv':_0x4690b7,'padding':cn});return _0x4690b7['concat'](_0x4c99b0['ciphertext'])['toString'](ot);}function ln(){var _0x4da5b0=_0x529853;const _0x3470c9=xt[_0x4da5b0(0x2c8)]()[_0x4da5b0(0x128)];if(_0x3470c9){const _0xd724f7={'time':Math[_0x4da5b0(0xaa)](Date[_0x4da5b0(0x344)]()/0x3e8),'domain':location[_0x4da5b0(0x2c6)]};return _n(JSON['stringify'](_0xd724f7),_0x3470c9);}}var un=Object[_0x529853(0x28b)],dn=(_0x5af937,_0x3c41d5,_0x324102,_0x288937)=>{var _0x45432b=_0x529853;for(var _0x20bce3=_0x288937>0x1?void 0x0:_0x288937?un(_0x3c41d5,_0x324102):_0x3c41d5,_0x21aa12=_0x5af937[_0x45432b(0x102)]-0x1,_0x574e9e;_0x21aa12>=0x0;_0x21aa12--)(_0x574e9e=_0x5af937[_0x21aa12])&&(_0x20bce3=_0x574e9e(_0x20bce3)||_0x20bce3);return _0x20bce3;},vn=(_0x2bf8dd,_0xcf8871)=>(_0x277a6c,_0x4fb70d)=>_0xcf8871(_0x277a6c,_0x4fb70d,_0x2bf8dd);let Ne=class{constructor(_0x3fb345){var _0x3d711c=_0x529853;this[_0x3d711c(0x361)]=_0x3fb345,this['_initRequestHeader']();}[_0x529853(0x2ab)](){var _0x2b49a4=_0x529853;this[_0x2b49a4(0x361)][_0x2b49a4(0x200)]({'interceptor':(_0x454bba,_0x2d4add)=>{var _0x10d806=_0x2b49a4;const _0x69503b=_0x454bba[_0x10d806(0x1a7)],_0x1742df=ln();return _0x1742df&&_0x69503b['set'](_0x10d806(0x299),_0x1742df),_0x2d4add(_0x454bba);}});}};Ne=dn([vn(0x0,a['Inject'](q[_0x529853(0x294)]))],Ne);var Sn=Object[_0x529853(0x28b)],fn=(_0x32342c,_0x31464b,_0x346599,_0x1c2ef1)=>{for(var _0xdd6eca=_0x1c2ef1>0x1?void 0x0:_0x1c2ef1?Sn(_0x31464b,_0x346599):_0x31464b,_0x435453=_0x32342c['length']-0x1,_0x5341c2;_0x435453>=0x0;_0x435453--)(_0x5341c2=_0x32342c[_0x435453])&&(_0xdd6eca=_0x5341c2(_0xdd6eca)||_0xdd6eca);return _0xdd6eca;},Me=(_0x55cf15,_0x57d748)=>(_0x418891,_0xafe30a)=>_0x57d748(_0x418891,_0xafe30a,_0x55cf15);exports[_0x529853(0x171)]=class extends a[_0x529853(0x3a6)]{constructor(_0x169753,_0x2c80ba,_0x55e27d){var _0x23b22d=_0x529853;super(),A(this,'_unitInfo$',new j[(_0x23b22d(0x39e))](null)),A(this,_0x23b22d(0x270),this[_0x23b22d(0x1d8)][_0x23b22d(0xb8)]()),(this[_0x23b22d(0x1cc)]=_0x169753,this['_snapshotService']=_0x2c80ba,this[_0x23b22d(0x152)]=_0x55e27d);}async['loadUnit'](_0x1fc438,_0x5804f4,_0x2ae1d1){var _0x504136=_0x529853;this['_unitInfo$'][_0x504136(0x1a0)]({'unitId':_0x1fc438,'type':_0x5804f4,'subUnitId':_0x2ae1d1});let _0x13a9b0=null;switch(_0x5804f4){case X[_0x504136(0x112)]:{_0x13a9b0=await this[_0x504136(0x31a)](_0x1fc438);break;}case X['UNIVER_DOC']:{_0x13a9b0=await this[_0x504136(0x2b9)](_0x1fc438);break;}default:{this[_0x504136(0x1cc)][_0x504136(0x1da)](_0x504136(0x2cd),_0x504136(0x367));break;}}return _0x13a9b0;}async[_0x529853(0x31a)](_0x3d874a){var _0x1efc94=_0x529853,_0x2db9bd;let _0x20e022=0x0;const _0x2f84ca=await((_0x2db9bd=this[_0x1efc94(0x152)])==null?void 0x0:_0x2db9bd[_0x1efc94(0xc6)](_0x3d874a));return _0x2f84ca&&(_0x2f84ca[_0x1efc94(0x1fd)]||_0x2f84ca['mutations'][_0x1efc94(0x102)]!==0x0)&&(_0x20e022=_0x2f84ca[_0x1efc94(0x296)]),_0x20e022===0x0&&this[_0x1efc94(0x1cc)][_0x1efc94(0x23e)](_0x1efc94(0x2cd),_0x1efc94(0x31d)),this[_0x1efc94(0x302)][_0x1efc94(0x221)](_0x3d874a,_0x20e022);}async[_0x529853(0x2b9)](_0x31bb9f){var _0x3ff961=_0x529853,_0x4e9314;let _0x235664=0x0;const _0x1d96c1=await((_0x4e9314=this[_0x3ff961(0x152)])==null?void 0x0:_0x4e9314[_0x3ff961(0xc6)](_0x31bb9f));return _0x1d96c1&&(_0x1d96c1[_0x3ff961(0x1fd)]||_0x1d96c1[_0x3ff961(0x387)][_0x3ff961(0x102)]!==0x0)&&(_0x235664=_0x1d96c1[_0x3ff961(0x296)]),_0x235664===0x0&&this[_0x3ff961(0x1cc)]['debug'](_0x3ff961(0x2cd),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x3ff961(0x302)][_0x3ff961(0x8f)](_0x31bb9f,_0x235664);}},exports[_0x529853(0x171)]=fn([Me(0x0,a[_0x529853(0x18e)]),Me(0x1,a[_0x529853(0x105)](g[_0x529853(0x303)])),Me(0x2,a['Optional'](z))],exports[_0x529853(0x171)]);var pn=Object['getOwnPropertyDescriptor'],gn=(_0xc4036,_0x5215b5,_0x553637,_0x3891c7)=>{var _0x490024=_0x529853;for(var _0x49beb5=_0x3891c7>0x1?void 0x0:_0x3891c7?pn(_0x5215b5,_0x553637):_0x5215b5,_0x3e0098=_0xc4036[_0x490024(0x102)]-0x1,_0x448464;_0x3e0098>=0x0;_0x3e0098--)(_0x448464=_0xc4036[_0x3e0098])&&(_0x49beb5=_0x448464(_0x49beb5)||_0x49beb5);return _0x49beb5;},xe=(_0x2dc03a,_0x7d6b1c)=>(_0x268cb4,_0x2346a3)=>_0x7d6b1c(_0x268cb4,_0x2346a3,_0x2dc03a);const In=[_0x529853(0x8a),'image/jpeg','image/jpg',_0x529853(0x101),_0x529853(0xfe)],mn=0x5*0x400*0x400,En=_0x529853(0x3ac),Cn=_0x529853(0x23d),Tn=_0x529853(0x29a),bn=_0x529853(0x11b);exports['CollaborationImageIoService']=class{constructor(_0x13f146,_0x45760b,_0x4226f0){var _0x5eae45=_0x529853;A(this,_0x5eae45(0x3c1),0x0),A(this,_0x5eae45(0x2c0),new j[(_0x5eae45(0x29c))]()),A(this,_0x5eae45(0x281),this[_0x5eae45(0x2c0)]),A(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x13f146,this[_0x5eae45(0x3d7)]=_0x45760b,this[_0x5eae45(0x107)]=_0x4226f0);}['setWaitCount'](_0x2afca3){var _0x1e506b=_0x529853;this[_0x1e506b(0x3c1)]=_0x2afca3,this['_change$'][_0x1e506b(0x1a0)](_0x2afca3);}[_0x529853(0x1e2)](_0x37ab59,_0x1a5546){var _0x2b5c6f=_0x529853;if(_0x1a5546===J[_0x2b5c6f(0x3b9)]['BASE64']){const _0x34c6c2=new Image();return _0x34c6c2['src']=_0x37ab59,_0x34c6c2;}return this[_0x2b5c6f(0x277)]['get'](_0x37ab59);}[_0x529853(0x85)](_0xddf1c3,_0x3863bd,_0x419c4d){var _0x5eaa47=_0x529853;_0x3863bd===J[_0x5eaa47(0x3b9)][_0x5eaa47(0x265)]||_0x419c4d==null||this[_0x5eaa47(0x277)][_0x5eaa47(0x3f5)](_0xddf1c3,_0x419c4d);}async['getImage'](_0x1b78cb){var _0x434961=_0x529853;try{const _0x568677=this[_0x434961(0x9a)](this[_0x434961(0x2d2)](),''+_0x1b78cb),_0x3cad72=(await this['_httpService']['get'](_0x568677))[_0x434961(0xd1)];if(_0x3cad72[_0x434961(0x1da)]&&_0x3cad72[_0x434961(0x1da)][_0x434961(0x2e4)]===Ct['OK']){const _0xd3894a=new URL(_0x3cad72[_0x434961(0x298)],this[_0x434961(0x1bf)]())[_0x434961(0x337)]();return Promise['resolve'](_0xd3894a);}return Promise[_0x434961(0x18d)](_0x3cad72['error']);}catch(_0x184d3a){return Promise[_0x434961(0x18d)](_0x184d3a);}}async[_0x529853(0x2e2)](_0x4ec7ee){var _0x46b506=_0x529853;let _0x14236c='';if(!In['includes'](_0x4ec7ee[_0x46b506(0x2d6)]))return this[_0x46b506(0x147)](),Promise[_0x46b506(0x18d)](new Error(J[_0x46b506(0x168)][_0x46b506(0x276)]));if(_0x4ec7ee['size']>mn)return this[_0x46b506(0x147)](),Promise['reject'](new Error(J[_0x46b506(0x168)][_0x46b506(0xf2)]));try{const _0x1c698e=new FormData();_0x1c698e['append'](_0x46b506(0x3d8),_0x4ec7ee);const _0x14c394=this['_univerInstanceService']['getFocusedUnit'](),_0x237dd0=_0x14c394==null?void 0x0:_0x14c394['getUnitId']();if(!_0x237dd0)throw new Error(_0x46b506(0x1cf));const _0x49ce98=this['_getUploadFileURL']()+_0x46b506(0x20d)+_0x4ec7ee[_0x46b506(0x280)][_0x46b506(0x337)]()+_0x46b506(0x2f9)+Tt[_0x46b506(0x33f)]+_0x46b506(0x2e1)+encodeURIComponent(_0x237dd0),_0x464a2e=await(await fetch(_0x49ce98,{'method':'POST','body':_0x1c698e}))[_0x46b506(0x209)]();if(typeof _0x464a2e[_0x46b506(0xfb)]!='string')return this['_decreaseWaiting'](),Promise[_0x46b506(0x18d)](new Error(J[_0x46b506(0x168)][_0x46b506(0x35c)]));_0x14236c=_0x464a2e[_0x46b506(0xfb)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(J[_0x46b506(0x168)]['ERROR_IMAGE']));}return new Promise((_0x4cb5ba,_0x3f17e6)=>{var _0x4a0111=_0x46b506;const _0x35eecc=new FileReader();_0x35eecc[_0x4a0111(0x35a)](_0x4ec7ee),_0x35eecc[_0x4a0111(0x1d6)]=_0x3bb2e8=>{var _0x36f4d3=_0x4a0111,_0x44865a;const _0x5be549=(_0x44865a=_0x3bb2e8['target'])==null?void 0x0:_0x44865a[_0x36f4d3(0x2b3)];if(_0x5be549==null){this[_0x36f4d3(0x147)](),_0x3f17e6(new Error(J[_0x36f4d3(0x168)][_0x36f4d3(0x35c)]));return;}const _0x1cad42=a['Tools'][_0x36f4d3(0x2b4)](0x6);_0x4cb5ba({'imageId':_0x1cad42,'imageSourceType':J['ImageSourceType']['UUID'],'source':_0x14236c,'base64Cache':_0x5be549,'status':J[_0x36f4d3(0x168)][_0x36f4d3(0x2f1)]}),this[_0x36f4d3(0x147)]();};});}[_0x529853(0x12c)](){var _0xfede47=_0x529853,_0x3ffd79,_0x58869a;const _0x361f84=this[_0xfede47(0x3d7)][_0xfede47(0x2bb)](En),_0x5bb961=this[_0xfede47(0x3d7)]['getConfig'](Y);return(_0x58869a=(_0x3ffd79=_0x5bb961==null?void 0x0:_0x5bb961[_0xfede47(0x3d2)])!=null?_0x3ffd79:_0x361f84)!=null?_0x58869a:Cn;}['_getSignURL'](){var _0x2ca690=_0x529853,_0x217599,_0x55ca9a;const _0x1b94db=this['_configService'][_0x2ca690(0x2bb)](Tn),_0x349610=this[_0x2ca690(0x3d7)][_0x2ca690(0x2bb)](Y);return(_0x55ca9a=(_0x217599=_0x349610==null?void 0x0:_0x349610[_0x2ca690(0x14a)])!=null?_0x217599:_0x1b94db)!=null?_0x55ca9a:bn;}[_0x529853(0x1bf)](){var _0x5aa62f=_0x529853,_0x11faa6;const _0x1f897d=this[_0x5aa62f(0x3d7)][_0x5aa62f(0x2bb)](Y);return(_0x11faa6=_0x1f897d==null?void 0x0:_0x1f897d['downloadEndpointUrl'])!=null?_0x11faa6:location['origin'];}[_0x529853(0x9a)](_0x4f44f,_0xdc8142){var _0x18882e=_0x529853;return _0x4f44f[_0x18882e(0x3bb)](_0x18882e(0x313),_0xdc8142);}[_0x529853(0x147)](){var _0x2451f2=_0x529853;this[_0x2451f2(0x3c1)]-=0x1,this[_0x2451f2(0x2c0)][_0x2451f2(0x1a0)](this['_waitCount']);}},exports['CollaborationImageIoService']=gn([xe(0x0,a[_0x529853(0x105)](q[_0x529853(0x294)])),xe(0x1,a[_0x529853(0x1d9)]),xe(0x2,a[_0x529853(0x105)](a[_0x529853(0x249)]))],exports[_0x529853(0x2d5)]);var Rn=Object[_0x529853(0x28b)],On=(_0x31b315,_0x5decbc,_0x32f1a5,_0x228a3a)=>{var _0x5b1ac7=_0x529853;for(var _0x25dc4c=_0x228a3a>0x1?void 0x0:_0x228a3a?Rn(_0x5decbc,_0x32f1a5):_0x5decbc,_0x1c7da4=_0x31b315[_0x5b1ac7(0x102)]-0x1,_0x3a046c;_0x1c7da4>=0x0;_0x1c7da4--)(_0x3a046c=_0x31b315[_0x1c7da4])&&(_0x25dc4c=_0x3a046c(_0x25dc4c)||_0x25dc4c);return _0x25dc4c;},_t=(_0x57b760,_0x7f4356)=>(_0xbd5bb9,_0x2d567a)=>_0x7f4356(_0xbd5bb9,_0x2d567a,_0x57b760);const yn=_0x529853(0x331);exports['MentionIoHttpService']=class{constructor(_0x294ea2,_0x445731){var _0x5f3a75=_0x529853;this[_0x5f3a75(0x3d7)]=_0x294ea2,this[_0x5f3a75(0x28f)]=_0x445731;}[_0x529853(0xff)](){var _0x52c917=_0x529853,_0x4445e2,_0x5a5ae3;const _0x1a67c4=this['_configService']['getConfig'](Ge),_0x415039=this[_0x52c917(0x3d7)][_0x52c917(0x2bb)](Y);return(_0x5a5ae3=(_0x4445e2=_0x415039==null?void 0x0:_0x415039['authzUrl'])!=null?_0x4445e2:_0x1a67c4)!=null?_0x5a5ae3:yn;}async[_0x529853(0x216)](_0x2e4a9d){var _0x3b78de=_0x529853;const _0x5efc37=this[_0x3b78de(0xff)]()+'/collaborator';return{'list':[{'title':_0x3b78de(0x34d),'mentions':(await this[_0x3b78de(0x28f)][_0x3b78de(0x2e6)](_0x5efc37,{'params':{'objectID':_0x2e4a9d['unitId'],'unitID':_0x2e4a9d[_0x3b78de(0x149)]}}))[_0x3b78de(0xd1)][_0x3b78de(0x3ea)][_0x3b78de(0x3e5)](_0x55e173=>({'objectId':_0x55e173['id'],'name':_0x55e173['subject']['name'],'metadata':{'icon':_0x55e173['subject'][_0x3b78de(0x28e)]},'label':_0x55e173['subject']['name'],'objectType':a[_0x3b78de(0x37f)][_0x3b78de(0xca)]})),'metadata':{},'type':a[_0x3b78de(0x37f)]['PERSON']}]};}},exports['MentionIoHttpService']=On([_t(0x0,a[_0x529853(0x105)](a[_0x529853(0x1d9)])),_t(0x1,a['Inject'](q[_0x529853(0x294)]))],exports[_0x529853(0x25c)]);var Nn=Object[_0x529853(0x28b)],Dn=(_0x362888,_0x275034,_0x52aa86,_0x2a4f99)=>{var _0x218356=_0x529853;for(var _0x148e9f=_0x2a4f99>0x1?void 0x0:_0x2a4f99?Nn(_0x275034,_0x52aa86):_0x275034,_0x1288be=_0x362888[_0x218356(0x102)]-0x1,_0x32fbac;_0x1288be>=0x0;_0x1288be--)(_0x32fbac=_0x362888[_0x1288be])&&(_0x148e9f=_0x32fbac(_0x148e9f)||_0x148e9f);return _0x148e9f;},ue=(_0x1602b3,_0x36aa67)=>(_0x49fe82,_0x339e0d)=>_0x36aa67(_0x49fe82,_0x339e0d,_0x1602b3);function _0x4573(_0x44b45d,_0x4a6b04){var _0x44ed72=_0x44ed();return _0x4573=function(_0x4573e7,_0x468fff){_0x4573e7=_0x4573e7-0x78;var _0x339aad=_0x44ed72[_0x4573e7];return _0x339aad;},_0x4573(_0x44b45d,_0x4a6b04);}let De=class extends a[_0x529853(0x3a6)]{constructor(_0x511f8c,_0x396c92,_0x46aba2,_0x14db10,_0x1b93b3){var _0xa7c99e=_0x529853;super(),this[_0xa7c99e(0x113)]=_0x511f8c,this['_univerInstanceService']=_0x396c92,this[_0xa7c99e(0x2f0)]=_0x46aba2,this['_collaborationSessionService']=_0x14db10,this[_0xa7c99e(0x309)]=_0x1b93b3,this['_initUnitPermissionChange'](),this[_0xa7c99e(0x10b)]();}[_0x529853(0x10b)](){var _0x31c5f1=_0x529853;const _0x58d3b5=async _0x4ca924=>{var _0x5d2be9=_0x4573;(await this[_0x5d2be9(0x1ee)][_0x5d2be9(0x24e)](_0x4ca924))[_0x5d2be9(0x14e)][_0x5d2be9(0x78)](V['filter'](_0x2f9572=>_0x2f9572[_0x5d2be9(0x3a0)]===g[_0x5d2be9(0x160)][_0x5d2be9(0xc3)]),V[_0x5d2be9(0x34f)](this[_0x5d2be9(0x35b)]))['subscribe'](_0x112eed=>{var _0x5a0021=_0x5d2be9;const _0x50c832=_0x112eed,{reason:_0x5242ae}=_0x50c832['data'];this[_0x5a0021(0x309)]['emitEvent']({'id':Q[_0x5a0021(0x390)],'data':_0x5242ae}),this[_0x5a0021(0x2f0)][_0x5a0021(0x1ba)](new Z['WorkbookEditablePermission'](_0x4ca924)['id'],!0x1),this[_0x5a0021(0x1ee)]['closeSession'](_0x4ca924);});};j[_0x31c5f1(0x32e)](this[_0x31c5f1(0x107)][_0x31c5f1(0x10f)](a[_0x31c5f1(0x3eb)][_0x31c5f1(0x112)]),this[_0x31c5f1(0x107)][_0x31c5f1(0x10f)](a[_0x31c5f1(0x3eb)]['UNIVER_DOC']))[_0x31c5f1(0x78)](V[_0x31c5f1(0x3e5)](_0x56af59=>_0x56af59[_0x31c5f1(0x136)]()),V['filter'](_0x2cf3a6=>!a[_0x31c5f1(0x2ac)](_0x2cf3a6)),V[_0x31c5f1(0x34f)](this[_0x31c5f1(0x35b)]))[_0x31c5f1(0x176)](_0xe78363=>{_0x58d3b5(_0xe78363);});}[_0x529853(0x3b5)](){var _0x4871df=_0x529853;const _0x4ce19f=async _0xe27033=>{var _0x53c3f6=_0x4573;const _0x51f0a9=await this[_0x53c3f6(0x1ee)]['requireSession'](_0xe27033),_0x52a682=this[_0x53c3f6(0x113)][_0x53c3f6(0x2e6)](Z[_0x53c3f6(0x21d)]);_0x51f0a9[_0x53c3f6(0x14e)][_0x53c3f6(0x78)](V[_0x53c3f6(0x1db)](_0x396592=>_0x396592['eventID']===g['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),V[_0x53c3f6(0x34f)](this[_0x53c3f6(0x35b)]))['subscribe'](_0x18b125=>{var _0x5b1ef9=_0x53c3f6;const _0x48408e=_0x18b125,{objectId:_0x587d95}=_0x48408e['data'];_0x587d95===_0xe27033?_0x52a682[_0x5b1ef9(0x202)](_0xe27033):_0x52a682[_0x5b1ef9(0x84)](_0xe27033,_0x587d95);});};j[_0x4871df(0x32e)](this[_0x4871df(0x107)][_0x4871df(0x10f)](a[_0x4871df(0x3eb)]['UNIVER_SHEET']))[_0x4871df(0x78)](V[_0x4871df(0x3e5)](_0x260081=>_0x260081['getUnitId']()),V[_0x4871df(0x1db)](_0x3fb116=>!a[_0x4871df(0x2ac)](_0x3fb116)),V[_0x4871df(0x34f)](this[_0x4871df(0x35b)]))['subscribe'](_0x476183=>{_0x4ce19f(_0x476183);});}};De=Dn([ue(0x0,a[_0x529853(0x105)](a[_0x529853(0x203)])),ue(0x1,a['IUniverInstanceService']),ue(0x2,a[_0x529853(0xb7)]),ue(0x3,a[_0x529853(0x105)](exports[_0x529853(0x2d0)])),ue(0x4,a['Inject'](te))],De);var Un=Object[_0x529853(0x28b)],An=(_0x411ebd,_0x4113e9,_0x5c80b8,_0x19cb4a)=>{var _0x4b7190=_0x529853;for(var _0x5e3be1=_0x19cb4a>0x1?void 0x0:_0x19cb4a?Un(_0x4113e9,_0x5c80b8):_0x4113e9,_0x68a5e=_0x411ebd[_0x4b7190(0x102)]-0x1,_0x1fa089;_0x68a5e>=0x0;_0x68a5e--)(_0x1fa089=_0x411ebd[_0x68a5e])&&(_0x5e3be1=_0x1fa089(_0x5e3be1)||_0x5e3be1);return _0x5e3be1;},lt=(_0x3dbd3f,_0x22196f)=>(_0x33887d,_0x24f784)=>_0x22196f(_0x33887d,_0x24f784,_0x3dbd3f);exports['SnapshotServerOverHTTPService']=class{constructor(_0xe204dd,_0x4254d6){var _0x9c9c09=_0x529853;this[_0x9c9c09(0x3d7)]=_0xe204dd,this[_0x9c9c09(0x361)]=_0x4254d6;}async[_0x529853(0x1dd)](_0x362030,_0x394a3c){var _0x2968d0=_0x529853,_0x59fa39;const {unitID:_0x1f213d,type:_0x47357e,revision:_0x3d5e0b=0x0}=_0x394a3c,_0x523687=this[_0x2968d0(0x12d)]()+'/'+_0x47357e+_0x2968d0(0xe1)+_0x1f213d+_0x2968d0(0x2af)+_0x3d5e0b,_0x4d25e1=(await this[_0x2968d0(0x361)][_0x2968d0(0x2e6)](_0x523687))[_0x2968d0(0xd1)],_0x8649c2=(_0x59fa39=_0x4d25e1[_0x2968d0(0x1e4)])==null?void 0x0:_0x59fa39[_0x2968d0(0x32f)];if(_0x8649c2){const _0x2d3fa6=_0x8649c2==null?void 0x0:_0x8649c2[_0x2968d0(0x15b)],_0x357eec=g[_0x2968d0(0x27e)][_0x2968d0(0x1ab)](g[_0x2968d0(0x1f8)](_0x2d3fa6));_0x8649c2[_0x2968d0(0x15b)]=_0x357eec,Object['entries'](_0x8649c2[_0x2968d0(0x3d9)])[_0x2968d0(0x26d)](([,_0x1acb3e])=>{var _0x1e0ac3=_0x2968d0;const _0x155244=_0x1acb3e[_0x1e0ac3(0x15b)],_0x47a3dc=g[_0x1e0ac3(0x27e)][_0x1e0ac3(0x1ab)](g[_0x1e0ac3(0x1f8)](_0x155244));_0x1acb3e[_0x1e0ac3(0x15b)]=_0x47a3dc;});}return _0x4d25e1;}async['getSheetBlock'](_0x4b5eb8,_0x51f308){var _0x3f7e89=_0x529853;const {unitID:_0x13878e,type:_0x23b343,blockID:_0x34bcbd}=_0x51f308,_0x5e3623=this['_getAPIPrefix']()+'/'+_0x23b343+_0x3f7e89(0xe1)+_0x13878e+_0x3f7e89(0x21a)+_0x34bcbd;return(await this[_0x3f7e89(0x361)][_0x3f7e89(0x2e6)](_0x5e3623))[_0x3f7e89(0xd1)];}async[_0x529853(0x1d0)](_0x1743ec,_0x67892a){var _0x310604=_0x529853;const {unitID:_0x3fc698,type:_0x294059,blockID:_0x38ffb6}=_0x67892a,_0x3518f2=this[_0x310604(0x197)]()+_0x310604(0x21a)+_0x294059+_0x310604(0xe1)+_0x3fc698+'/block/'+_0x38ffb6;return(await this['_httpService'][_0x310604(0x2e6)](_0x3518f2))[_0x310604(0xd1)];}async[_0x529853(0x116)](_0xaf3120,_0x1f75ad){var _0x1c1269=_0x529853;const {unitID:_0x3795e2,type:_0x433f2f,from:_0x3852e5,to:_0x29ffe4}=_0x1f75ad,_0xc4c545=this['_getAPIPrefix']()+'/'+_0x433f2f+_0x1c1269(0xe1)+_0x3795e2+_0x1c1269(0xdb)+_0x3852e5+_0x1c1269(0x1f5)+_0x29ffe4;return(await this['_httpService'][_0x1c1269(0x2e6)](_0xc4c545))[_0x1c1269(0xd1)];}[_0x529853(0x12d)](){var _0x4a1a94=_0x529853,_0x8811d4;return(_0x8811d4=this['_configService'][_0x4a1a94(0x2bb)](vt))!=null?_0x8811d4:this['_getAPIPrefix']();}[_0x529853(0x197)](){var _0x5d889a=_0x529853,_0x4a9732,_0x26e97e;const _0x3295c1=this[_0x5d889a(0x3d7)]['getConfig'](dt),_0x42b958=this['_configService'][_0x5d889a(0x2bb)](Y);return(_0x26e97e=(_0x4a9732=_0x42b958==null?void 0x0:_0x42b958[_0x5d889a(0x129)])!=null?_0x4a9732:_0x3295c1)!=null?_0x26e97e:kt;}async[_0x529853(0x1fc)](_0x5b04f7,_0x544f12){var _0x5a3e44=_0x529853;const _0x298a1a=_0x5a3e44(0x2b6)+_0x544f12[_0x5a3e44(0x2d6)]+_0x5a3e44(0xe1)+_0x544f12[_0x5a3e44(0x20a)]+'/resources';return(await this[_0x5a3e44(0x361)][_0x5a3e44(0x2e6)](_0x298a1a,{'params':{'resourceId':JSON[_0x5a3e44(0x2cc)](_0x544f12['resourceIDs'])}}))['body'];}[_0x529853(0x244)](){var _0x5de363=_0x529853;throw new Error(_0x5de363(0x260));}[_0x529853(0x3ba)](){var _0x3266ef=_0x529853;throw new Error(_0x3266ef(0x260));}[_0x529853(0x383)](){var _0x4f6689=_0x529853;throw new Error(_0x4f6689(0x260));}[_0x529853(0x2bc)](){var _0x42fbd6=_0x529853;throw new Error(_0x42fbd6(0x260));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x529853(0x376)]=An([lt(0x0,a[_0x529853(0x1d9)]),lt(0x1,a['Inject'](q[_0x529853(0x294)]))],exports[_0x529853(0x376)]);var Pn=Object[_0x529853(0x28b)],wn=(_0x2b4611,_0x145f22,_0x1955da,_0x51a9cf)=>{var _0x1ad059=_0x529853;for(var _0x5ad159=_0x51a9cf>0x1?void 0x0:_0x51a9cf?Pn(_0x145f22,_0x1955da):_0x145f22,_0x2051e5=_0x2b4611[_0x1ad059(0x102)]-0x1,_0x412630;_0x2051e5>=0x0;_0x2051e5--)(_0x412630=_0x2b4611[_0x2051e5])&&(_0x5ad159=_0x412630(_0x5ad159)||_0x5ad159);return _0x5ad159;},de=(_0xb796e3,_0x2e69a3)=>(_0x59d1fa,_0x4e49cf)=>_0x2e69a3(_0x59d1fa,_0x4e49cf,_0xb796e3);exports[_0x529853(0x24b)]=class extends a[_0x529853(0x2cb)]{constructor(_0x3caf26,_0x1dfa91,_0x2a419a,_0x8ffdf4,_0x2cfc6d){var _0x53fbdf=_0x529853;super(_0x3caf26,_0x1dfa91,_0x2a419a),this[_0x53fbdf(0x217)]=_0x8ffdf4,this[_0x53fbdf(0x1cc)]=_0x2cfc6d;}['transformUndoRedo'](_0x324f78,_0x2e1fea){var _0xfa07fd=_0x529853;const _0x122fdf=this['_getUndoStack'](_0x324f78);if(_0x122fdf)try{const _0x412ed6=this[_0xfa07fd(0x170)](_0x122fdf,_0x2e1fea);this[_0xfa07fd(0x19a)](_0x324f78,_0x412ed6);}catch(_0x61ba16){this[_0xfa07fd(0x1cc)][_0xfa07fd(0x1da)](_0xfa07fd(0x3c8),_0x61ba16),this['_clearUndo'](_0x324f78);}const _0x508f53=this[_0xfa07fd(0x3b4)](_0x324f78);if(_0x508f53)try{const _0x39b9c7=this[_0xfa07fd(0x170)](_0x508f53,_0x2e1fea);this['_substituteRedoStack'](_0x324f78,_0x39b9c7);}catch(_0x1b6042){this['_logService'][_0xfa07fd(0x1da)](_0x1b6042),this[_0xfa07fd(0x25d)](_0x324f78);}}['_clearUndo'](_0x473133){var _0x4954f9=_0x529853;const _0x4ab895=this[_0x4954f9(0xd7)](_0x473133);_0x4ab895&&(_0x4ab895[_0x4954f9(0x102)]=0x0,this[_0x4954f9(0x11f)]());}['_clearRedo'](_0x82f387){var _0x113ca8=_0x529853;const _0x5a0be5=this[_0x113ca8(0x3b4)](_0x82f387);_0x5a0be5&&(_0x5a0be5['length']=0x0,this[_0x113ca8(0x11f)]());}[_0x529853(0x19a)](_0x169690,_0x16c2b7){var _0x3a5727=_0x529853;this[_0x3a5727(0x295)][_0x3a5727(0x3f5)](_0x169690,_0x16c2b7),this[_0x3a5727(0x11f)]();}['_substituteRedoStack'](_0x1c5ea0,_0x37aef5){var _0x4ee5a7=_0x529853;this[_0x4ee5a7(0x38b)][_0x4ee5a7(0x3f5)](_0x1c5ea0,_0x37aef5),this[_0x4ee5a7(0x11f)]();}[_0x529853(0x170)](_0x3ca6c7,_0x211793){var _0x3e165a=_0x529853;const _0x3f8fca=[];let _0x246ca9=_0x211793,_0x3cd668=_0x211793;for(let _0x76829e=_0x3ca6c7[_0x3e165a(0x102)]-0x1;_0x76829e>=0x0;_0x76829e--){const {unitID:_0x42b325,undoMutations:_0x42a336,redoMutations:_0x1a13f5}=_0x3ca6c7[_0x76829e],_0x431671=this[_0x3e165a(0x217)][_0x3e165a(0x2e7)](_0x246ca9,_0x42a336),_0x382c55=this[_0x3e165a(0x217)][_0x3e165a(0x2e7)](_0x3cd668,_0x1a13f5);if(g[_0x3e165a(0x196)](_0x431671)||g[_0x3e165a(0x196)](_0x382c55)){this[_0x3e165a(0x1cc)][_0x3e165a(0x1da)](_0x3e165a(0x3c8),'transformStack\x20failed!',_0x431671,_0x382c55);break;}_0x246ca9=_0x431671[_0x3e165a(0x257)],_0x3cd668=_0x382c55['c1Prime'],_0x3f8fca['push']({'unitID':_0x42b325,'undoMutations':_0x431671['m2Prime'],'redoMutations':_0x382c55[_0x3e165a(0x2a7)]});}return _0x3f8fca[_0x3e165a(0x23a)]();}},exports[_0x529853(0x24b)]=wn([de(0x0,a[_0x529853(0x249)]),de(0x1,a[_0x529853(0x2f4)]),de(0x2,a[_0x529853(0x1b1)]),de(0x3,g[_0x529853(0x214)]),de(0x4,a[_0x529853(0x18e)])],exports[_0x529853(0x24b)]);var Ln=Object['defineProperty'],Mn=Object[_0x529853(0x28b)],xn=(_0x44c508,_0x2244fe,_0x1e22f8)=>_0x2244fe in _0x44c508?Ln(_0x44c508,_0x2244fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e22f8}):_0x44c508[_0x2244fe]=_0x1e22f8,kn=(_0x45f1a5,_0x344855,_0x163015,_0x34ff80)=>{var _0x223b3e=_0x529853;for(var _0x38d4d6=_0x34ff80>0x1?void 0x0:_0x34ff80?Mn(_0x344855,_0x163015):_0x344855,_0x2c8c2b=_0x45f1a5[_0x223b3e(0x102)]-0x1,_0x3c297e;_0x2c8c2b>=0x0;_0x2c8c2b--)(_0x3c297e=_0x45f1a5[_0x2c8c2b])&&(_0x38d4d6=_0x3c297e(_0x38d4d6)||_0x38d4d6);return _0x38d4d6;},ke=(_0x3054f2,_0x126990)=>(_0x321695,_0x2a5863)=>_0x126990(_0x321695,_0x2a5863,_0x3054f2),Hn=(_0x2d66b6,_0x33afb7,_0x531321)=>xn(_0x2d66b6,_0x33afb7+'',_0x531321);const jn=_0x529853(0x3f4);exports['UniverCollaborationClientPlugin']=class extends a[_0x529853(0x18b)]{constructor(_0xfbf9c9,_0x8a8bee,_0x15d086,_0x10ff8d){var _0x2f2eef=_0x529853;super(),A(this,_0x2f2eef(0x166)),(this['_logService']=_0x8a8bee,this[_0x2f2eef(0x113)]=_0x15d086,this[_0x2f2eef(0x3d7)]=_0x10ff8d);const {..._0xb5fbdf}=a[_0x2f2eef(0x32e)]({},Jt,_0xfbf9c9);if(!_0xb5fbdf['socketService'])throw new Error(_0x2f2eef(0x3b1));this[_0x2f2eef(0x166)]=_0xb5fbdf,this[_0x2f2eef(0x3d7)][_0x2f2eef(0x14c)](Y,_0xb5fbdf);}[_0x529853(0x266)](){var _0x3d2c14=_0x529853;this['_registerDependencies'](),this[_0x3d2c14(0x27b)]();}[_0x529853(0x181)](){var _0x3351f6=_0x529853,_0x1ab990,_0x52b7d7;this['_injector'][_0x3351f6(0x353)](a[_0x3351f6(0x140)])&&this[_0x3351f6(0x1cc)][_0x3351f6(0x1da)](_0x3351f6(0x195),_0x3351f6(0x3e7));const _0x3756bf=a[_0x3351f6(0x3a5)]([[a['IUndoRedoService'],{'useClass':exports[_0x3351f6(0x24b)]}],[exports[_0x3351f6(0x2d0)]],[exports[_0x3351f6(0x19c)]],[exports[_0x3351f6(0x258)]],[ye],[Ne],[Be],[De],[te],[exports['DataLoaderService']],[$e,{'useClass':this[_0x3351f6(0x166)]['socketService']}],[g[_0x3351f6(0x3ec)],{'useClass':exports[_0x3351f6(0x376)]}],[a['IAuthzIoService'],{'useClass':exports[_0x3351f6(0x355)]}],[J[_0x3351f6(0x174)],{'useClass':exports[_0x3351f6(0x2d5)]}],[a['IMentionIOService'],{'useClass':exports[_0x3351f6(0x25c)]}],[exports[_0x3351f6(0x314)]],[He]],(_0x1ab990=this[_0x3351f6(0x166)])==null?void 0x0:_0x1ab990[_0x3351f6(0x334)]);if(!((_0x52b7d7=this[_0x3351f6(0x166)])!=null&&_0x52b7d7[_0x3351f6(0xd2)])){const _0x33fb6b=_0x3756bf[_0x3351f6(0x12b)](([_0x5a4a7f])=>_0x5a4a7f===ve);_0x33fb6b!==-0x1&&_0x3756bf[_0x3351f6(0x34c)](_0x33fb6b,0x1);}a[_0x3351f6(0x1d7)](this[_0x3351f6(0x113)],_0x3756bf);}[_0x529853(0x27b)](){var _0x3f7efb=_0x529853,_0x39e611,_0x4f9084,_0x2a98dd;this[_0x3f7efb(0x113)][_0x3f7efb(0x2e6)](q['HTTPService'])[_0x3f7efb(0x200)]({'priority':0x14,'interceptor':q[_0x3f7efb(0x291)]({'maxParallel':0x6})}),(_0x39e611=this[_0x3f7efb(0x166)])!=null&&_0x39e611['enableOfflineEditing']||(_0x4f9084=this['_injector'][_0x3f7efb(0x2e6)](z,a[_0x3f7efb(0x1aa)]['OPTIONAL']))==null||_0x4f9084[_0x3f7efb(0x2be)](),(_0x2a98dd=this[_0x3f7efb(0x166)])!=null&&_0x2a98dd['enableAuthServer']&&a['touchDependencies'](this[_0x3f7efb(0x113)],[[ye]]),a['touchDependencies'](this[_0x3f7efb(0x113)],[[Ne],[exports['CollaborationController']],[De]]);}},Hn(exports[_0x529853(0xe4)],_0x529853(0x3f2),jn),exports[_0x529853(0xe4)]=kn([a[_0x529853(0x1b0)](g[_0x529853(0x36c)],q[_0x529853(0x144)]),ke(0x1,a[_0x529853(0x18e)]),ke(0x2,a[_0x529853(0x105)](a['Injector'])),ke(0x3,a['IConfigService'])],exports[_0x529853(0xe4)]),exports[_0x529853(0x372)]=Ge,exports[_0x529853(0x3b0)]=Y,exports[_0x529853(0x37e)]=mt,exports[_0x529853(0x7e)]=St,exports[_0x529853(0x2b8)]=Ve,exports['CollaborationUIEventId']=Q,exports['CollaborationUIEventService']=te,exports['CommentService']=Be,exports[_0x529853(0x150)]=ft,exports[_0x529853(0x26e)]=zt,exports[_0x529853(0x3de)]=$t,exports[_0x529853(0x39d)]=pt,exports[_0x529853(0x83)]=je,exports[_0x529853(0x231)]=$e,exports[_0x529853(0x3cf)]=z,exports['INetworkConditionService']=bt,exports[_0x529853(0x3fa)]=ve,exports[_0x529853(0x233)]=Gt,exports['LOCAL_CACHE_INTERVAL_KEY']=Wt,exports['LOGIN_URL_KEY']=Et,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=qt,exports[_0x529853(0x333)]=It,exports[_0x529853(0x360)]=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0x529853(0x11c)]=vt,exports[_0x529853(0x191)]=se,exports[_0x529853(0x289)]=Fe,exports[_0x529853(0xd0)]=Rt,exports[_0x529853(0x33b)]=vi,exports[_0x529853(0xa9)]=Ot;
1
+ 'use strict';var _0x5a48c0=_0x5815;(function(_0x17d0eb,_0x51e33a){var _0xc30173=_0x5815,_0x41ecd5=_0x17d0eb();while(!![]){try{var _0x1f26a6=parseInt(_0xc30173(0x3fc))/0x1+-parseInt(_0xc30173(0x241))/0x2+parseInt(_0xc30173(0x36d))/0x3*(parseInt(_0xc30173(0x1d7))/0x4)+-parseInt(_0xc30173(0x3e1))/0x5*(parseInt(_0xc30173(0x33d))/0x6)+-parseInt(_0xc30173(0x287))/0x7*(-parseInt(_0xc30173(0x2ef))/0x8)+-parseInt(_0xc30173(0x3ae))/0x9+-parseInt(_0xc30173(0x3f0))/0xa*(parseInt(_0xc30173(0x214))/0xb);if(_0x1f26a6===_0x51e33a)break;else _0x41ecd5['push'](_0x41ecd5['shift']());}catch(_0x34d214){_0x41ecd5['push'](_0x41ecd5['shift']());}}}(_0x157b,0xd7e45));var wt=Object[_0x5a48c0(0x1de)],Lt=(_0x14dc4b,_0x4e0332,_0x2f9515)=>_0x4e0332 in _0x14dc4b?wt(_0x14dc4b,_0x4e0332,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f9515}):_0x14dc4b[_0x4e0332]=_0x2f9515,A=(_0x139117,_0x57714a,_0x5dd39c)=>Lt(_0x139117,typeof _0x57714a!=_0x5a48c0(0x115)?_0x57714a+'':_0x57714a,_0x5dd39c);Object[_0x5a48c0(0x1de)](exports,Symbol[_0x5a48c0(0x120)],{'value':_0x5a48c0(0x1cd)});const a=require(_0x5a48c0(0x169)),j=require('rxjs'),V=require(_0x5a48c0(0x40c)),g=require(_0x5a48c0(0x245)),q=require('@univerjs/network'),Mt=require(_0x5a48c0(0x366)),ut=require('@univerjs/docs'),Z=require(_0x5a48c0(0x157)),J=require(_0x5a48c0(0x364)),xt=require('@univerjs-pro/license'),dt=_0x5a48c0(0x236),kt=_0x5a48c0(0x1a6),vt=_0x5a48c0(0x2b5),Ht=_0x5a48c0(0x33c),jt=0x7d0,St=_0x5a48c0(0x24b),ft=_0x5a48c0(0x13b),$t=_0x5a48c0(0x2b1),pt=_0x5a48c0(0x114),Bt=0x7530,je=_0x5a48c0(0x3a1),gt=0x4e20,Ft=0x4e20,It='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Wt='LOCAL_CACHE_INTERVAL',Gt=0x3e8,mt=_0x5a48c0(0x2a2),Kt=_0x5a48c0(0x31d),Et=_0x5a48c0(0x119),Yt=_0x5a48c0(0x20c),qt=_0x5a48c0(0x225),zt=_0x5a48c0(0x274);var Ct=(_0x31bf48=>(_0x31bf48[_0x31bf48[_0x5a48c0(0x3c7)]=0x0]=_0x5a48c0(0x3c7),_0x31bf48[_0x31bf48['OK']=0x1]='OK',_0x31bf48[_0x31bf48[_0x5a48c0(0x1d5)]=0x2]=_0x5a48c0(0x1d5),_0x31bf48[_0x31bf48[_0x5a48c0(0x219)]=0x3]='PERMISSION_DENIED',_0x31bf48[_0x31bf48[_0x5a48c0(0x3f7)]=0x4]=_0x5a48c0(0x3f7),_0x31bf48[_0x31bf48[_0x5a48c0(0x350)]=0x5]=_0x5a48c0(0x350),_0x31bf48[_0x31bf48['ALREADY_EXISTS']=0x6]=_0x5a48c0(0x2e5),_0x31bf48[_0x31bf48['INVALID_ARGUMENT']=0x7]=_0x5a48c0(0x329),_0x31bf48[_0x31bf48[_0x5a48c0(0x128)]=0x8]=_0x5a48c0(0x128),_0x31bf48[_0x31bf48[_0x5a48c0(0x2ab)]=0x9]='COMPLETION_FINISHED',_0x31bf48[_0x31bf48['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x31bf48[_0x31bf48[_0x5a48c0(0x406)]=0x1389]=_0x5a48c0(0x406),_0x31bf48[_0x31bf48[_0x5a48c0(0x222)]=0x1771]=_0x5a48c0(0x222),_0x31bf48[_0x31bf48[_0x5a48c0(0x2aa)]=0x1772]=_0x5a48c0(0x2aa),_0x31bf48[_0x31bf48[_0x5a48c0(0x3c1)]=0x1773]=_0x5a48c0(0x3c1),_0x31bf48[_0x31bf48['APPLY_REJECT']=0x1b59]=_0x5a48c0(0x335),_0x31bf48[_0x31bf48[_0x5a48c0(0x29e)]=0x1b5a]=_0x5a48c0(0x29e),_0x31bf48[_0x31bf48['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5a48c0(0x3b3),_0x31bf48[_0x31bf48['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5a48c0(0x413),_0x31bf48[_0x31bf48[_0x5a48c0(0x358)]=0x1b5d]='APPLY_DUPLICATED',_0x31bf48[_0x31bf48[_0x5a48c0(0x303)]=0x1f41]=_0x5a48c0(0x303),_0x31bf48[_0x31bf48['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5a48c0(0x42a),_0x31bf48[_0x31bf48[_0x5a48c0(0x210)]=0x232a]=_0x5a48c0(0x210),_0x31bf48[_0x31bf48['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5a48c0(0x3f1),_0x31bf48[_0x31bf48['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5a48c0(0x410),_0x31bf48[_0x31bf48[_0x5a48c0(0x161)]=0x232d]=_0x5a48c0(0x161),_0x31bf48[_0x31bf48[_0x5a48c0(0x1e5)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x31bf48[_0x31bf48[_0x5a48c0(0x10d)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x31bf48[_0x31bf48[_0x5a48c0(0x134)]=0x2713]=_0x5a48c0(0x134),_0x31bf48[_0x31bf48[_0x5a48c0(0x10c)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x31bf48[_0x31bf48['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x5a48c0(0x3a0),_0x31bf48[_0x31bf48[_0x5a48c0(0x25a)]=0x271b]=_0x5a48c0(0x25a),_0x31bf48[_0x31bf48['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5a48c0(0x265),_0x31bf48[_0x31bf48['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x5a48c0(0x44d),_0x31bf48[_0x31bf48['INVALID_INVITE_CODE']=0x2ee2]=_0x5a48c0(0x150),_0x31bf48[_0x31bf48[_0x5a48c0(0x3ff)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x31bf48[_0x31bf48[_0x5a48c0(0x178)]=0x2ee4]=_0x5a48c0(0x178),_0x31bf48[_0x31bf48[_0x5a48c0(0x35d)]=0x2ee5]=_0x5a48c0(0x35d),_0x31bf48[_0x31bf48['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5a48c0(0x27c),_0x31bf48[_0x31bf48[_0x5a48c0(0x37b)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x31bf48[_0x31bf48[_0x5a48c0(0x3eb)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x31bf48[_0x31bf48[_0x5a48c0(0xec)]=-0x1]=_0x5a48c0(0xec),_0x31bf48))(Ct||{}),X=(_0x7adeca=>(_0x7adeca[_0x7adeca[_0x5a48c0(0x43a)]=0x0]='UNIVER_UNKNOWN',_0x7adeca[_0x7adeca[_0x5a48c0(0x327)]=0x1]=_0x5a48c0(0x327),_0x7adeca[_0x7adeca['UNIVER_SHEET']=0x2]=_0x5a48c0(0x3b2),_0x7adeca[_0x7adeca[_0x5a48c0(0x1ae)]=0x3]=_0x5a48c0(0x1ae),_0x7adeca[_0x7adeca[_0x5a48c0(0x1e7)]=0x4]=_0x5a48c0(0x1e7),_0x7adeca[_0x7adeca[_0x5a48c0(0xec)]=-0x1]='UNRECOGNIZED',_0x7adeca))(X||{}),W=(_0xc83764=>(_0xc83764[_0xc83764[_0x5a48c0(0x1c2)]=0x0]='UNKNOWN_CMD',_0xc83764[_0xc83764[_0x5a48c0(0x1b5)]=0x1]='HELLO',_0xc83764[_0xc83764['JOIN']=0x2]='JOIN',_0xc83764[_0xc83764[_0x5a48c0(0x2e1)]=0x3]='LEAVE',_0xc83764[_0xc83764['INGEST']=0x4]='INGEST',_0xc83764[_0xc83764[_0x5a48c0(0x18b)]=0x5]=_0x5a48c0(0x18b),_0xc83764[_0xc83764['RECV']=0x6]=_0x5a48c0(0x402),_0xc83764[_0xc83764['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xc83764))(W||{}),ae=(_0x5ec08c=>(_0x5ec08c[_0x5ec08c[_0x5a48c0(0x1eb)]=0x0]=_0x5a48c0(0x1eb),_0x5ec08c[_0x5ec08c['OK']=0x1]='OK',_0x5ec08c[_0x5ec08c['FAIL']=0x2]='FAIL',_0x5ec08c[_0x5ec08c[_0x5a48c0(0x2b8)]=0x3e9]=_0x5a48c0(0x2b8),_0x5ec08c[_0x5ec08c[_0x5a48c0(0x217)]=0x3ea]=_0x5a48c0(0x217),_0x5ec08c[_0x5ec08c['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x5ec08c[_0x5ec08c['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x5ec08c[_0x5ec08c[_0x5a48c0(0xec)]=-0x1]=_0x5a48c0(0xec),_0x5ec08c))(ae||{}),Tt=(_0xd0c48c=>(_0xd0c48c[_0xd0c48c[_0x5a48c0(0x24d)]=0x0]=_0x5a48c0(0x24d),_0xd0c48c[_0xd0c48c['HttpImport']=0x1]=_0x5a48c0(0x253),_0xd0c48c[_0xd0c48c[_0x5a48c0(0x328)]=0x2]=_0x5a48c0(0x328),_0xd0c48c[_0xd0c48c[_0x5a48c0(0x246)]=0x3]=_0x5a48c0(0x246),_0xd0c48c[_0xd0c48c[_0x5a48c0(0x408)]=0x4]=_0x5a48c0(0x408),_0xd0c48c[_0xd0c48c[_0x5a48c0(0x2c2)]=0x5]=_0x5a48c0(0x2c2),_0xd0c48c[_0xd0c48c[_0x5a48c0(0xec)]=-0x1]=_0x5a48c0(0xec),_0xd0c48c))(Tt||{});const Y=_0x5a48c0(0x10e),Jt={};var Q=(_0x537ab4=>(_0x537ab4[_0x5a48c0(0x1e4)]=_0x5a48c0(0x1e4),_0x537ab4[_0x5a48c0(0x219)]='PERMISSION_DENIED',_0x537ab4[_0x5a48c0(0x2ca)]='CONFLICT',_0x537ab4[_0x5a48c0(0x267)]=_0x5a48c0(0x267),_0x537ab4['JOIN_ROOM_FAILED']=_0x5a48c0(0xea),_0x537ab4[_0x5a48c0(0x3c2)]=_0x5a48c0(0x3c2),_0x537ab4[_0x5a48c0(0x1f0)]=_0x5a48c0(0x1f0),_0x537ab4[_0x5a48c0(0x152)]=_0x5a48c0(0x152),_0x537ab4))(Q||{});class te{constructor(){var _0x59f23d=_0x5a48c0;A(this,'_event$',new j[(_0x59f23d(0x426))]()),A(this,_0x59f23d(0x306),this[_0x59f23d(0x1e8)]['asObservable']());}[_0x5a48c0(0x33e)](_0x12cbee){var _0x5c3394=_0x5a48c0;this[_0x5c3394(0x1e8)]['next'](_0x12cbee);}}const bt=a[_0x5a48c0(0x26d)](_0x5a48c0(0x1d0));function Rt(_0x32d60d){var _0x58df96=_0x5a48c0,_0x1f89a4,_0x24eb30,_0x2c777b,_0x4a6b61,_0x21deaa;const _0x5da64d=_0x32d60d['data'],_0x2ceb72=JSON[_0x58df96(0x425)](_0x5da64d);switch(_0x2ceb72[_0x58df96(0x38f)]){case W[_0x58df96(0x18b)]:case W['HELLO']:{const _0x27182a=_0x2ceb72[_0x58df96(0x3cd)];return{..._0x2ceb72,'data':_0x27182a,'cmd':_0x2ceb72['cmd']};}case W[_0x58df96(0x422)]:{const _0x4ac3de=_0x2ceb72[_0x58df96(0x35a)];return{..._0x2ceb72,'data':_0x4ac3de,'cmd':_0x2ceb72[_0x58df96(0x38f)]};}case W['RECV']:{const _0x1e2a77=_0x2ceb72[_0x58df96(0x3e9)];switch(_0x1e2a77[_0x58df96(0x144)]){case g[_0x58df96(0x166)][_0x58df96(0x2d7)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':(_0x1f89a4=_0x1e2a77[_0x58df96(0x29a)])==null?void 0x0:_0x1f89a4['cs']},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)][_0x58df96(0x378)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':(_0x24eb30=_0x1e2a77[_0x58df96(0x43d)])==null?void 0x0:_0x24eb30['cs']},'cmd':_0x2ceb72['cmd']};case g[_0x58df96(0x166)]['NEW_CHANGESETS']:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':(_0x2c777b=_0x1e2a77[_0x58df96(0x346)])==null?void 0x0:_0x2c777b['cs']},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)]['CHANGESET_REJ']:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':(_0x4a6b61=_0x1e2a77['csRejEvent'])==null?void 0x0:_0x4a6b61['cs']},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)][_0x58df96(0x2d6)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':(_0x21deaa=_0x1e2a77[_0x58df96(0x10f)])==null?void 0x0:_0x21deaa['cs']},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)][_0x58df96(0x2eb)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0xe9)]},'cmd':_0x2ceb72['cmd']};case g[_0x58df96(0x166)][_0x58df96(0x250)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0x1f1)]},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)][_0x58df96(0x22a)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0x17b)]},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)][_0x58df96(0x177)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0xf1)]},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)]['LIVESHARE_FETCH_OPERATIONS']:case g[_0x58df96(0x166)][_0x58df96(0x1c3)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0xf0)]},'cmd':_0x2ceb72['cmd']};case g['CollaborationEvent'][_0x58df96(0x360)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0xf1)]},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)][_0x58df96(0x42e)]:return{..._0x2ceb72,'data':_0x1e2a77,'cmd':_0x2ceb72['cmd']};case g[_0x58df96(0x166)][_0x58df96(0x103)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77['commentUpdateEvent']},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)]['UPDATE_PERMISSION_OBJ']:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0x28a)]},'cmd':_0x2ceb72['cmd']};case g[_0x58df96(0x166)]['SHOULD_CLOSE_CONN']:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0x192)]},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)][_0x58df96(0x1d3)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0x125)]},'cmd':_0x2ceb72['cmd']};default:return _0x2ceb72;}}default:return _0x2ceb72;}}function Ot(_0x37961d){var _0x4f952b=_0x5a48c0;switch(_0x37961d[_0x4f952b(0x38f)]){case W[_0x4f952b(0x18b)]:case W[_0x4f952b(0x1b5)]:return JSON[_0x4f952b(0x208)]({'cmd':_0x37961d['cmd'],'routeKey':_0x37961d[_0x4f952b(0x290)]});case W[_0x4f952b(0x334)]:{let _0x1ccca0;switch(_0x37961d[_0x4f952b(0x332)][_0x4f952b(0x144)]){case g[_0x4f952b(0x166)][_0x4f952b(0x2eb)]:{_0x1ccca0={'eventID':g[_0x4f952b(0x166)][_0x4f952b(0x2eb)],'updateCursorEvent':_0x37961d[_0x4f952b(0x332)][_0x4f952b(0x332)]};break;}case g['CollaborationEvent']['USERS_LEAVE']:{_0x1ccca0={'eventID':g['CollaborationEvent'][_0x4f952b(0x22a)],'leaveEvent':_0x37961d[_0x4f952b(0x332)][_0x4f952b(0x332)]};break;}case g['CollaborationEvent'][_0x4f952b(0x250)]:{_0x1ccca0={'eventID':g[_0x4f952b(0x166)][_0x4f952b(0x250)],'joinEvent':_0x37961d[_0x4f952b(0x332)][_0x4f952b(0x332)]};break;}case g['CollaborationEvent'][_0x4f952b(0x177)]:{_0x1ccca0={'eventID':g['CollaborationEvent'][_0x4f952b(0x177)],'liveShareNewHost':_0x37961d[_0x4f952b(0x332)][_0x4f952b(0x332)]};break;}case g[_0x4f952b(0x166)]['LIVESHARE_OPERATION']:{_0x1ccca0={'eventID':g[_0x4f952b(0x166)][_0x4f952b(0x1c3)],'liveShareOperation':_0x37961d[_0x4f952b(0x332)][_0x4f952b(0x332)]};break;}case g[_0x4f952b(0x166)][_0x4f952b(0x360)]:{_0x1ccca0={'eventID':g[_0x4f952b(0x166)][_0x4f952b(0x360)],'liveShareTerminate':_0x37961d[_0x4f952b(0x332)][_0x4f952b(0x332)]};break;}case g[_0x4f952b(0x166)][_0x4f952b(0x412)]:{_0x1ccca0={'eventID':g[_0x4f952b(0x166)][_0x4f952b(0x412)],'liveShareRequestHost':_0x37961d[_0x4f952b(0x332)][_0x4f952b(0x332)]};break;}case g['CollaborationEvent'][_0x4f952b(0x36a)]:{_0x1ccca0={'eventID':g[_0x4f952b(0x166)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x1ccca0={'eventID':_0x37961d[_0x4f952b(0x332)]['eventID']};}return JSON[_0x4f952b(0x208)]({'cmd':_0x37961d[_0x4f952b(0x38f)],'routeKey':_0x37961d[_0x4f952b(0x290)],'collaMsg':_0x1ccca0});}case W[_0x4f952b(0x422)]:return JSON[_0x4f952b(0x208)]({'cmd':_0x37961d[_0x4f952b(0x38f)],'routeKey':_0x37961d[_0x4f952b(0x290)],'joinReq':_0x37961d[_0x4f952b(0x332)]});case W[_0x4f952b(0x2e1)]:return JSON[_0x4f952b(0x208)]({'cmd':_0x37961d[_0x4f952b(0x38f)],'routeKey':_0x37961d['routeKey'],'leaveReq':_0x37961d[_0x4f952b(0x332)]});default:throw new Error(_0x4f952b(0x14c));}}var Xt=Object[_0x5a48c0(0xe7)],Zt=(_0x134769,_0x306b2c,_0x2480dc,_0x9c3e9c)=>{var _0x4a59b6=_0x5a48c0;for(var _0x38b74e=_0x9c3e9c>0x1?void 0x0:_0x9c3e9c?Xt(_0x306b2c,_0x2480dc):_0x306b2c,_0x1ca476=_0x134769[_0x4a59b6(0x143)]-0x1,_0x393ffc;_0x1ca476>=0x0;_0x1ca476--)(_0x393ffc=_0x134769[_0x1ca476])&&(_0x38b74e=_0x393ffc(_0x38b74e)||_0x38b74e);return _0x38b74e;},le=(_0x11e5be,_0x48706a)=>(_0x3c19dd,_0x2ddb9b)=>_0x48706a(_0x3c19dd,_0x2ddb9b,_0x11e5be);const $e=a[_0x5a48c0(0x26d)](_0x5a48c0(0x424));function Qt(_0x4b691a,_0x1ceb0e,_0x2dc32b){var _0x5f5712=_0x5a48c0;return _0x4b691a+'/'+_0x1ceb0e+_0x5f5712(0x1e6)+_0x2dc32b+_0x5f5712(0x42c);}exports['CollaborationSocketService']=class extends a[_0x5a48c0(0x362)]{constructor(_0x36b5a4,_0x55eacd,_0xe1c5fc,_0x394638,_0x199895){var _0x13beaf=_0x5a48c0;super(),this[_0x13beaf(0x211)]=_0x36b5a4,this[_0x13beaf(0x26a)]=_0x55eacd,this['_configService']=_0xe1c5fc,this[_0x13beaf(0x39b)]=_0x394638,this[_0x13beaf(0x127)]=_0x199895;}[_0x5a48c0(0x2c1)](_0x51b7d1){var _0x9c412e=_0x5a48c0;const _0x3038e7=this[_0x9c412e(0x211)][_0x9c412e(0x39a)](q[_0x9c412e(0x1c0)]);if(!_0x3038e7)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1ebada=_0x3038e7[_0x9c412e(0x170)](_0x51b7d1);if(!_0x1ebada)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x54a605=new a[(_0x9c412e(0x107))](),_0x579510=new j['Subject']();_0x54a605[_0x9c412e(0x102)](_0x1ebada[_0x9c412e(0x195)][_0x9c412e(0x27f)](_0x437792=>_0x579510[_0x9c412e(0x110)](_0x437792))),_0x54a605[_0x9c412e(0x102)](a['toDisposable'](()=>_0x579510[_0x9c412e(0x409)]()));const _0x458cb7=new j[(_0x9c412e(0x426))]();_0x54a605[_0x9c412e(0x102)](_0x1ebada[_0x9c412e(0x13f)][_0x9c412e(0x27f)](_0x446dda=>_0x458cb7['next'](_0x446dda))),_0x54a605[_0x9c412e(0x102)](a['toDisposable'](()=>_0x458cb7[_0x9c412e(0x409)]()));const _0x311027=new j['Subject']();_0x54a605['add'](_0x1ebada[_0x9c412e(0x31a)][_0x9c412e(0x27f)](_0x25eb43=>{var _0x47c406=_0x9c412e;const _0x5de820=Rt(_0x25eb43);_0x311027[_0x47c406(0x110)](_0x5de820);})),_0x54a605[_0x9c412e(0x102)](a[_0x9c412e(0x255)](()=>_0x311027['complete']()));let _0x39e35e;const _0x49b010=()=>{var _0x244c62=_0x9c412e;_0x458cb7[_0x244c62(0x110)](new Event(_0x244c62(0x3a5))),_0x579510[_0x244c62(0x110)](new Event('connection\x20error')),_0x39e35e[_0x244c62(0x3ee)]();};return _0x39e35e={'memberID':'','close$':_0x579510[_0x9c412e(0x3a4)](),'error$':_0x458cb7['asObservable'](),'open$':_0x1ebada[_0x9c412e(0x2bc)],'message$':_0x311027[_0x9c412e(0x3a4)](),'send':_0x48ac86=>{var _0x38304f=_0x9c412e;if(_0x48ac86[_0x38304f(0x38f)]===W['INGEST']){if(_0x48ac86['data'][_0x38304f(0x144)]===g[_0x38304f(0x166)][_0x38304f(0x39e)]){this[_0x38304f(0x1a1)](_0x39e35e,_0x48ac86[_0x38304f(0x332)])['catch'](_0x5a650d=>{var _0x3714a6=_0x38304f;this['_logService'][_0x3714a6(0x16f)](_0x5a650d),_0x49b010();});return;}if(_0x48ac86[_0x38304f(0x332)]['eventID']===g[_0x38304f(0x166)]['FETCH_MISSING']){const _0x13ed9c=_0x48ac86['data'];this[_0x38304f(0x171)](_0x13ed9c)[_0x38304f(0x2ba)](_0xd8625=>{var _0x55d806=_0x38304f;_0x311027[_0x55d806(0x110)]({'cmd':W[_0x55d806(0x402)],'code':ae['OK'],'routeKey':_0x13ed9c[_0x55d806(0x332)][_0x55d806(0x3dc)],'routeType':'','data':{'eventID':g[_0x55d806(0x166)][_0x55d806(0x19b)],'data':{'changesets':_0xd8625}}});})[_0x38304f(0x1bf)](_0x2bf93c=>{var _0x30c273=_0x38304f;this[_0x30c273(0x39b)][_0x30c273(0x16f)](_0x2bf93c),_0x49b010();});return;}}_0x1ebada[_0x38304f(0x1bd)](Ot(_0x48ac86));},'close':()=>{var _0x580b02=_0x9c412e;_0x1ebada[_0x580b02(0x3ee)](),_0x54a605[_0x580b02(0x31c)]();}},_0x39e35e;}async[_0x5a48c0(0x1a1)](_0x5b6fc2,_0x2a2fbc){var _0x264cbf=_0x5a48c0,_0x381ba3,_0x43c374;const {unitType:_0x23ed6e,unitID:_0x5c4e74,changeset:_0x4cdbd2}=_0x2a2fbc[_0x264cbf(0x332)],_0x3af5d2={'unitID':_0x5c4e74,'memberID':_0x5b6fc2[_0x264cbf(0x189)],'type':_0x23ed6e,'changeset':g[_0x264cbf(0x2b9)](_0x4cdbd2)},_0x446a1f=this[_0x264cbf(0x41a)][_0x264cbf(0x2d1)](mt),_0x310987=this[_0x264cbf(0x41a)][_0x264cbf(0x2d1)](Y),_0x4ec2a7=Qt((_0x43c374=(_0x381ba3=_0x310987==null?void 0x0:_0x310987[_0x264cbf(0x449)])!=null?_0x381ba3:_0x446a1f)!=null?_0x43c374:Kt,_0x23ed6e,_0x5c4e74);try{await this[_0x264cbf(0x26a)][_0x264cbf(0x249)](_0x4ec2a7,{'body':_0x3af5d2});}catch(_0x40b3fc){throw this[_0x264cbf(0x39b)][_0x264cbf(0x16f)]('[CollaborationSession]',_0x264cbf(0x21e)),_0x40b3fc;}}async[_0x5a48c0(0x171)](_0x5cc655){var _0x3f13d4=_0x5a48c0;const {unitID:_0xe8cd77,from:_0x222636,to:_0x4deff6,unitType:_0x3e913d}=_0x5cc655[_0x3f13d4(0x332)];return(await this[_0x3f13d4(0x127)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0xe8cd77,'type':_0x3e913d,'from':_0x222636,'to':_0x4deff6}))[_0x3f13d4(0x349)];}},exports[_0x5a48c0(0x43f)]=Zt([le(0x0,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x30c)])),le(0x1,a[_0x5a48c0(0xd9)](q[_0x5a48c0(0x216)])),le(0x2,a[_0x5a48c0(0x244)]),le(0x3,a[_0x5a48c0(0x2e9)]),le(0x4,g[_0x5a48c0(0xf5)])],exports['CollaborationSocketService']);const ei=_0x5a48c0(0x229);function ti(_0xf558ff){return JSON['stringify'](_0xf558ff)['length'];}class Be{constructor(){var _0x38d19a=_0x5a48c0;A(this,_0x38d19a(0x3a8),new j[(_0x38d19a(0x426))]()),A(this,'commentUpdate$',this[_0x38d19a(0x3a8)][_0x38d19a(0x3a4)]());}[_0x5a48c0(0x22b)](_0x2af13c){var _0x54ac68=_0x5a48c0;this[_0x54ac68(0x3a8)][_0x54ac68(0x110)](_0x2af13c);}}var ii=Object['getOwnPropertyDescriptor'],ni=(_0x25fa33,_0x3290b8,_0x3a84d7,_0x1156c3)=>{var _0x2e787d=_0x5a48c0;for(var _0xb0bc03=_0x1156c3>0x1?void 0x0:_0x1156c3?ii(_0x3290b8,_0x3a84d7):_0x3290b8,_0x24217f=_0x25fa33[_0x2e787d(0x143)]-0x1,_0x2f23af;_0x24217f>=0x0;_0x24217f--)(_0x2f23af=_0x25fa33[_0x24217f])&&(_0xb0bc03=_0x2f23af(_0xb0bc03)||_0xb0bc03);return _0xb0bc03;},Ke=(_0x151698,_0x16cab4)=>(_0x5a01e6,_0x2523f9)=>_0x16cab4(_0x5a01e6,_0x2523f9,_0x151698);exports[_0x5a48c0(0x1be)]=class extends a[_0x5a48c0(0x362)]{constructor(_0x24f261,_0x3c80c0){var _0x21a6c8=_0x5a48c0;super(),A(this,'_roomMembers',new Map()),A(this,_0x21a6c8(0xef),new j[(_0x21a6c8(0x426))]()),(this['_univerInstanceService']=_0x24f261,this[_0x21a6c8(0x3c6)]=_0x3c80c0,this[_0x21a6c8(0x439)](j[_0x21a6c8(0x149)](this['_univerInstanceService'][_0x21a6c8(0x3fb)](a[_0x21a6c8(0x442)][_0x21a6c8(0x3b2)])[_0x21a6c8(0x1ce)](V[_0x21a6c8(0x2f9)](_0x426054=>_0x426054[_0x21a6c8(0x123)]())),this[_0x21a6c8(0x421)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x21a6c8(0x327)])[_0x21a6c8(0x1ce)](V[_0x21a6c8(0x2f9)](_0x304b7c=>_0x304b7c[_0x21a6c8(0x123)]())),this[_0x21a6c8(0x421)][_0x21a6c8(0x3fb)](a[_0x21a6c8(0x442)]['UNIVER_SLIDE'])['pipe'](V[_0x21a6c8(0x2f9)](_0x491fde=>_0x491fde[_0x21a6c8(0x123)]())))[_0x21a6c8(0x27f)](_0x19f090=>this[_0x21a6c8(0x1ad)](_0x19f090))));}[_0x5a48c0(0x233)](_0x395530){var _0x5245fb=_0x5a48c0;return this['_roomMembers']['has'](_0x395530)?j['of'](this[_0x5245fb(0x32a)][_0x5245fb(0x39a)](_0x395530)):this[_0x5245fb(0xef)]['pipe'](V[_0x5245fb(0x2f9)](_0x3e2e55=>{var _0x2e9ded=_0x5245fb;if(_0x3e2e55===_0x395530)return this[_0x2e9ded(0x32a)][_0x2e9ded(0x39a)](_0x3e2e55);}));}[_0x5a48c0(0x19e)](_0x1f2274){var _0x35169e=_0x5a48c0;this[_0x35169e(0x3c6)][_0x35169e(0x19e)](_0x1f2274);}['getCurrentUser'](){var _0x46f8c1=_0x5a48c0;return this[_0x46f8c1(0x3c6)][_0x46f8c1(0x10a)]();}[_0x5a48c0(0x12d)](_0x3e6a06,_0x11af09){var _0x382ed0=_0x5a48c0;let _0x32d5dc=this['_roomMembers'][_0x382ed0(0x39a)](_0x3e6a06);_0x32d5dc||(_0x32d5dc=new ri(),this[_0x382ed0(0x32a)]['set'](_0x3e6a06,_0x32d5dc),this[_0x382ed0(0xef)][_0x382ed0(0x110)](_0x3e6a06)),_0x32d5dc[_0x382ed0(0x12d)](_0x11af09);}['removeMember'](_0x45943c,_0x2717fc){var _0xfaf2fe=_0x5a48c0;const _0x52134f=this[_0xfaf2fe(0x32a)][_0xfaf2fe(0x39a)](_0x45943c);_0x52134f&&_0x52134f[_0xfaf2fe(0x2b7)](_0x2717fc);}['getRoom'](_0x5b4651){var _0x1768c8=_0x5a48c0;return this[_0x1768c8(0x32a)][_0x1768c8(0x39a)](_0x5b4651);}['getMember'](_0x5e5302,_0x460b05){var _0x263240=_0x5a48c0;const _0x897c52=this[_0x263240(0x32a)][_0x263240(0x39a)](_0x5e5302);if(_0x897c52)return _0x897c52[_0x263240(0x20b)](_0x460b05);}[_0x5a48c0(0x1ad)](_0x8f2b4d){var _0x2ad284=_0x5a48c0;const _0x1a22c6=this[_0x2ad284(0x32a)][_0x2ad284(0x39a)](_0x8f2b4d);_0x1a22c6&&(_0x1a22c6[_0x2ad284(0x31c)](),this['_roomMembers'][_0x2ad284(0x385)](_0x8f2b4d));}[_0x5a48c0(0x31c)](){var _0x36977c=_0x5a48c0;this[_0x36977c(0x32a)][_0x36977c(0x1af)](_0x25ef98=>_0x25ef98[_0x36977c(0x31c)]()),this[_0x36977c(0x32a)][_0x36977c(0x380)](),this[_0x36977c(0xef)][_0x36977c(0x409)]();}},exports[_0x5a48c0(0x1be)]=ni([Ke(0x0,a[_0x5a48c0(0x3de)]),Ke(0x1,a[_0x5a48c0(0xd9)](a['UserManagerService']))],exports[_0x5a48c0(0x1be)]);class ri extends a[_0x5a48c0(0x362)]{constructor(){var _0x20b19b=_0x5a48c0;super(...arguments),A(this,_0x20b19b(0x314),new Map()),A(this,'_members$',new j[(_0x20b19b(0x1d4))](this[_0x20b19b(0x314)])),A(this,_0x20b19b(0x289),this[_0x20b19b(0x43c)][_0x20b19b(0x3a4)]());}[_0x5a48c0(0x31c)](){var _0x307ef5=_0x5a48c0;this[_0x307ef5(0x314)][_0x307ef5(0x380)]();}[_0x5a48c0(0x12d)](_0x36736c){var _0x315a28=_0x5a48c0;this[_0x315a28(0x314)][_0x315a28(0x3d5)](_0x36736c[_0x315a28(0x189)],_0x36736c),this[_0x315a28(0x284)]();}['removeMember'](_0x1f8652){var _0x2920c0=_0x5a48c0;this['_members'][_0x2920c0(0x385)](_0x1f8652);}[_0x5a48c0(0x20b)](_0x1b8834){var _0x3174f8=_0x5a48c0;return this[_0x3174f8(0x314)]['get'](_0x1b8834);}['getAllMembers'](){var _0x168633=_0x5a48c0;return Array[_0x168633(0x417)](this['_members'][_0x168633(0x2a6)]());}['_emitMembers'](){var _0x2d4ed3=_0x5a48c0;this[_0x2d4ed3(0x43c)][_0x2d4ed3(0x110)](this['_members']);}}var si=Object['getOwnPropertyDescriptor'],oi=(_0x1ce50b,_0x8a1237,_0x56a8dd,_0xbf4dce)=>{for(var _0x115a69=_0xbf4dce>0x1?void 0x0:_0xbf4dce?si(_0x8a1237,_0x56a8dd):_0x8a1237,_0xb84293=_0x1ce50b['length']-0x1,_0x2c163e;_0xb84293>=0x0;_0xb84293--)(_0x2c163e=_0x1ce50b[_0xb84293])&&(_0x115a69=_0x2c163e(_0x115a69)||_0x115a69);return _0x115a69;},oe=(_0x29358f,_0x422b78)=>(_0x35dea4,_0x39eaba)=>_0x422b78(_0x35dea4,_0x39eaba,_0x29358f),se=(_0x2b69e8=>(_0x2b69e8[_0x2b69e8[_0x5a48c0(0x263)]=0x0]=_0x5a48c0(0x263),_0x2b69e8[_0x2b69e8[_0x5a48c0(0x16c)]=0x1]='JOINING',_0x2b69e8[_0x2b69e8['OFFLINE']=0x2]=_0x5a48c0(0x1fa),_0x2b69e8[_0x2b69e8[_0x5a48c0(0x160)]=0x3]=_0x5a48c0(0x160),_0x2b69e8))(se||{});const Ye={[ae['FAIL']]:'session.join-failed',[ae[_0x5a48c0(0x2b8)]]:_0x5a48c0(0x3d6),[ae['JOIN_ROOM_NOT_EXISTS']]:_0x5a48c0(0x30b),[ae[_0x5a48c0(0x1dc)]]:_0x5a48c0(0x2fd),[ae[_0x5a48c0(0x3ce)]]:_0x5a48c0(0x207)};exports['CollaborationSession']=class extends a['RxDisposable']{constructor(_0x543a54,_0x4d9a0f,_0x48c8bf,_0x6eb7c,_0x45e043,_0xaa53dd,_0x273381,_0x165faa,_0x22d67f){var _0x255817=_0x5a48c0;super(),A(this,_0x255817(0x159),new j[(_0x255817(0x1d4))](0x0)),A(this,'sessionStatus$',this[_0x255817(0x159)][_0x255817(0x3a4)]()),A(this,_0x255817(0x1e8),new j[(_0x255817(0x426))]()),A(this,_0x255817(0x306),this[_0x255817(0x1e8)]['asObservable']()),A(this,'_socket'),A(this,_0x255817(0x20f)),A(this,_0x255817(0x3e5)),A(this,_0x255817(0x2d9),!0x1),A(this,_0x255817(0x2d8),null),(this[_0x255817(0xd7)]=_0x543a54,this[_0x255817(0x39b)]=_0x48c8bf,this['_configService']=_0x6eb7c,this['_localeService']=_0x45e043,this[_0x255817(0x41c)]=_0xaa53dd,this['_commentService']=_0x273381,this['_collaborationUIEventService']=_0x165faa,this['_telemetryService']=_0x22d67f,this[_0x255817(0x2d9)]=!!this[_0x255817(0x2ea)],_0x4d9a0f[_0x255817(0x1ce)](j[_0x255817(0x136)](this[_0x255817(0x2e3)]))[_0x255817(0x27f)](_0x7d0c90=>{var _0xde8ee3=_0x255817,_0x579ab6;typeof _0x7d0c90>'u'||(this[_0xde8ee3(0x343)]=_0x7d0c90,_0x7d0c90?(this['_joinRoom'](_0x7d0c90),this['_socketMessageSubscription']=_0x7d0c90[_0xde8ee3(0x31a)][_0xde8ee3(0x27f)](_0x43d0e2=>{var _0x428661=_0xde8ee3;_0x43d0e2['routeKey']===this['_unitID']&&this[_0x428661(0x220)](_0x43d0e2);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0xde8ee3(0x159)]['next'](0x2),(_0x579ab6=this[_0xde8ee3(0x20f)])==null||_0x579ab6[_0xde8ee3(0x21f)](),this[_0xde8ee3(0x20f)]=null));}));}get['sessionStatus'](){var _0x5271c0=_0x5a48c0;return this[_0x5271c0(0x159)]['getValue']();}[_0x5a48c0(0x321)](){var _0x48c2a2=_0x5a48c0,_0x174fd8,_0x278175;return(_0x278175=(_0x174fd8=this[_0x48c2a2(0x343)])==null?void 0x0:_0x174fd8['memberID'])!=null?_0x278175:null;}[_0x5a48c0(0x31c)](){var _0x2be306=_0x5a48c0;super[_0x2be306(0x31c)](),this['dispose$'][_0x2be306(0x110)](),this[_0x2be306(0x2e3)][_0x2be306(0x409)]();}[_0x5a48c0(0x3ee)](){var _0x3313a8=_0x5a48c0,_0x3153a5,_0x20ea3e;this[_0x3313a8(0x1fb)](),(_0x3153a5=this[_0x3313a8(0x343)])==null||_0x3153a5[_0x3313a8(0x1bd)]({'cmd':W[_0x3313a8(0x2e1)],'data':{'roomID':this['_unitID']}}),(_0x20ea3e=this[_0x3313a8(0x343)])==null||_0x20ea3e[_0x3313a8(0x3ee)](),this['_event$'][_0x3313a8(0x409)](),this[_0x3313a8(0x159)]['complete'](),this[_0x3313a8(0x31c)]();}[_0x5a48c0(0x220)](_0x4d34ac){var _0x2025f6=_0x5a48c0;_0x4d34ac[_0x2025f6(0x38f)]===W[_0x2025f6(0x422)]?this[_0x2025f6(0x2ce)](_0x4d34ac):_0x4d34ac[_0x2025f6(0x38f)]===W[_0x2025f6(0x402)]&&this[_0x2025f6(0x251)](_0x4d34ac);}['_joinRoom'](_0x51e471){var _0x20e4e5=_0x5a48c0;this['_sessionStatus$'][_0x20e4e5(0x110)](0x1),_0x51e471[_0x20e4e5(0x1bd)]({'cmd':W[_0x20e4e5(0x422)],'routeKey':this[_0x20e4e5(0xd7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x20e4e5(0xd7)]}]}});}['_onJoinRoomEvent'](_0x9bdd27){var _0xa95cd2=_0x5a48c0,_0x4bb6ff;if(_0x9bdd27[_0xa95cd2(0x25e)]in Ye){this[_0xa95cd2(0x193)][_0xa95cd2(0x33e)]({'id':Q[_0xa95cd2(0xea)],'data':Ye[_0x9bdd27[_0xa95cd2(0x25e)]]}),this[_0xa95cd2(0x159)][_0xa95cd2(0x110)](0x2);return;}this['_sessionStatus$'][_0xa95cd2(0x110)](0x3);const _0x316537=(_0x4bb6ff=_0x9bdd27['data']['roomInfos'][this[_0xa95cd2(0xd7)]])==null?void 0x0:_0x4bb6ff[_0xa95cd2(0xdc)];_0x316537&&_0x316537[_0xa95cd2(0x1af)](_0x3116c8=>this[_0xa95cd2(0x41c)][_0xa95cd2(0x12d)](this['_unitID'],_0x3116c8));}[_0x5a48c0(0x251)](_0x585770){var _0x150fba=_0x5a48c0;try{const _0x2401da=_0x585770['data'];switch(_0x2401da[_0x150fba(0x144)]){case g['CollaborationEvent'][_0x150fba(0x250)]:this['_onUserJoin'](_0x2401da),this['_event$'][_0x150fba(0x110)](_0x2401da);break;case g['CollaborationEvent'][_0x150fba(0x22a)]:this[_0x150fba(0xff)](_0x2401da),this[_0x150fba(0x1e8)]['next'](_0x2401da);break;case g['CollaborationEvent']['CHANGESET_ACK']:case g[_0x150fba(0x166)][_0x150fba(0x2d6)]:this[_0x150fba(0x2e4)](),this[_0x150fba(0x34f)](),this[_0x150fba(0x1e8)]['next'](_0x2401da);break;case g['CollaborationEvent'][_0x150fba(0x42e)]:this[_0x150fba(0x39b)]['error'](_0x150fba(0x3bf)+JSON[_0x150fba(0x208)](_0x2401da)),this[_0x150fba(0x1e8)][_0x150fba(0x110)](_0x2401da);break;case g[_0x150fba(0x166)][_0x150fba(0x103)]:this['_commentService'][_0x150fba(0x22b)](_0x2401da[_0x150fba(0x332)]),this[_0x150fba(0x1e8)]['next'](_0x2401da);break;default:this[_0x150fba(0x1e8)]['next'](_0x2401da);}}catch(_0x3f7ca6){this['_logService'][_0x150fba(0x16f)](_0x3f7ca6,_0x585770);}}[_0x5a48c0(0x130)](_0x47e9e1){var _0x247a57=_0x5a48c0;this[_0x247a57(0x41c)]['updateMember'](this[_0x247a57(0xd7)],_0x47e9e1[_0x247a57(0x332)]);}[_0x5a48c0(0xff)](_0x64286a){var _0x1d265f=_0x5a48c0;this[_0x1d265f(0x41c)][_0x1d265f(0x2b7)](this[_0x1d265f(0xd7)],_0x64286a['data']['memberID']);}async[_0x5a48c0(0x1bd)](_0x58abba,_0x5e1fae){var _0x86080d=_0x5a48c0;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x58abba[_0x86080d(0x144)]===g[_0x86080d(0x166)][_0x86080d(0x39e)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x86080d(0x35e)](_0x58abba)),this[_0x86080d(0x343)][_0x86080d(0x1bd)]({'cmd':W['INGEST'],'routeKey':_0x5e1fae,'routeType':'','data':_0x58abba});}catch(_0x299ca6){this[_0x86080d(0x39b)][_0x86080d(0x16f)](_0x299ca6);}}[_0x5a48c0(0xe1)](){var _0xda2b80=_0x5a48c0,_0x5f100d;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0xde4008=_0x5815;this[_0xde4008(0x3e5)]=null,this['_collaborationUIEventService'][_0xde4008(0x33e)]({'id':Q[_0xde4008(0x152)]});},(_0x5f100d=this[_0xda2b80(0x41a)][_0xda2b80(0x2d1)](je))!=null?_0x5f100d:gt);}[_0x5a48c0(0x34f)](){var _0x5ec0f0=_0x5a48c0;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x5ec0f0(0x3e5)]),this[_0x5ec0f0(0x3e5)]=null);}[_0x5a48c0(0x35e)](_0x28342a){var _0x3b0182=_0x5a48c0;if(!this['_shouldReportTelemetry'])return;const {data:_0x4a53f9}=_0x28342a,{unitID:_0x3d38f9,changeset:_0x2450b7}=_0x4a53f9,{mutations:_0x596ba1,type:_0x223793}=_0x2450b7;this[_0x3b0182(0x2d8)]={'unitId':_0x3d38f9,'type':_0x223793,'startTime':performance[_0x3b0182(0x280)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x596ba1)};}[_0x5a48c0(0x2e4)](){var _0x20a58a=_0x5a48c0;if(this['_shouldReportTelemetry']){if(!this[_0x20a58a(0x2d8)]){this['_logService'][_0x20a58a(0x16f)]('[CollaborationSession]',_0x20a58a(0x403));return;}this[_0x20a58a(0x2d8)][_0x20a58a(0x3f3)]=performance[_0x20a58a(0x280)](),this['_telemetryInfo']['duration']=this[_0x20a58a(0x2d8)][_0x20a58a(0x3f3)]-this[_0x20a58a(0x2d8)][_0x20a58a(0x295)],this[_0x20a58a(0x2ea)]['capture'](ei,this[_0x20a58a(0x2d8)]),this[_0x20a58a(0x2d8)]=null;}}[_0x5a48c0(0x1fb)](){var _0x33144c=_0x5a48c0;this[_0x33144c(0x2d8)]=null;}},exports[_0x5a48c0(0x418)]=oi([oe(0x2,a[_0x5a48c0(0x2e9)]),oe(0x3,a['IConfigService']),oe(0x4,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x27b)])),oe(0x5,a[_0x5a48c0(0xd9)](exports[_0x5a48c0(0x1be)])),oe(0x6,a[_0x5a48c0(0xd9)](Be)),oe(0x7,a[_0x5a48c0(0xd9)](te)),oe(0x8,a['Optional'](Mt[_0x5a48c0(0x254)]))],exports['CollaborationSession']);var ai=Object[_0x5a48c0(0xe7)],ci=(_0x4473f7,_0x154d95,_0x107199,_0x48c2c8)=>{var _0x5a401f=_0x5a48c0;for(var _0x5339c3=_0x48c2c8>0x1?void 0x0:_0x48c2c8?ai(_0x154d95,_0x107199):_0x154d95,_0x40645c=_0x4473f7[_0x5a401f(0x143)]-0x1,_0x303e9c;_0x40645c>=0x0;_0x40645c--)(_0x303e9c=_0x4473f7[_0x40645c])&&(_0x5339c3=_0x303e9c(_0x5339c3)||_0x5339c3);return _0x5339c3;},_e=(_0x4a6740,_0x32ff3b)=>(_0x326bd0,_0x5d7d4b)=>_0x32ff3b(_0x326bd0,_0x5d7d4b,_0x4a6740);exports[_0x5a48c0(0x155)]=class extends a[_0x5a48c0(0x362)]{constructor(_0x57326f,_0x5555bc,_0x12fc45,_0x56c159,_0x179c7a,_0x4fef0c){var _0x3dff22=_0x5a48c0;super(),A(this,_0x3dff22(0x238),new j[(_0x3dff22(0x1d4))](void 0x0)),A(this,'socket$',this[_0x3dff22(0x238)]['asObservable']()),A(this,_0x3dff22(0x440),null),A(this,_0x3dff22(0xde),new Map()),A(this,_0x3dff22(0x34b),new j[(_0x3dff22(0x1d4))](se[_0x3dff22(0x263)])),A(this,'status$',this[_0x3dff22(0x34b)][_0x3dff22(0x3a4)]()),A(this,_0x3dff22(0x1d9),!0x1),A(this,_0x3dff22(0x3f2)),A(this,_0x3dff22(0x13e),0x0),A(this,_0x3dff22(0x400)),A(this,_0x3dff22(0x191)),(this[_0x3dff22(0x211)]=_0x57326f,this[_0x3dff22(0x39b)]=_0x5555bc,this[_0x3dff22(0x41a)]=_0x12fc45,this[_0x3dff22(0x22c)]=_0x56c159,this[_0x3dff22(0x193)]=_0x179c7a,this['_networkConditionService']=_0x4fef0c,this[_0x3dff22(0x28c)]());}get[_0x5a48c0(0x343)](){var _0x18e694=_0x5a48c0;return this[_0x18e694(0x238)][_0x18e694(0x3d4)]();}['_listenToNetworkCondition'](){var _0x15f12d=_0x5a48c0;this[_0x15f12d(0x16a)]&&this[_0x15f12d(0x439)](this['_networkConditionService'][_0x15f12d(0x112)][_0x15f12d(0x27f)](_0xb58bb4=>{var _0x58be06=_0x15f12d;_0xb58bb4&&!this[_0x58be06(0x343)]&&this['reconnect'](),_0xb58bb4||this['_onOffline']();}));}[_0x5a48c0(0x31c)](){var _0x47edeb=_0x5a48c0;super[_0x47edeb(0x31c)](),this['_clearRetryConnectingTimer'](),this[_0x47edeb(0x1a4)](),this[_0x47edeb(0x299)](),this[_0x47edeb(0xde)][_0x47edeb(0x1af)](_0x67a271=>_0x67a271[_0x47edeb(0x31c)]()),this[_0x47edeb(0xde)][_0x47edeb(0x380)](),this[_0x47edeb(0x34b)][_0x47edeb(0x409)]();}async[_0x5a48c0(0x11b)](_0x2a8aff){var _0xc7e79c=_0x5a48c0;if(this[_0xc7e79c(0xde)][_0xc7e79c(0x212)](_0x2a8aff))return this[_0xc7e79c(0xde)][_0xc7e79c(0x39a)](_0x2a8aff);this[_0xc7e79c(0x147)]();const _0x221c81=this[_0xc7e79c(0x211)][_0xc7e79c(0x444)](exports[_0xc7e79c(0x418)],_0x2a8aff,this['_socket$'][_0xc7e79c(0x3a4)]());return this[_0xc7e79c(0xde)][_0xc7e79c(0x3d5)](_0x2a8aff,_0x221c81),_0x221c81;}[_0x5a48c0(0x300)](_0xfebe1d){var _0x6fe970=_0x5a48c0,_0x4d8eab;const _0x2f011d=this['_sessions'][_0x6fe970(0x39a)](_0xfebe1d);_0x2f011d&&(this[_0x6fe970(0xde)][_0x6fe970(0x385)](_0xfebe1d),_0x2f011d[_0x6fe970(0x3ee)]()),this[_0x6fe970(0xde)][_0x6fe970(0x361)]||(_0x4d8eab=this['_socket'])==null||_0x4d8eab['close']();}[_0x5a48c0(0x282)](){var _0x2f8fcf=_0x5a48c0;this[_0x2f8fcf(0x13e)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x2f8fcf(0x1a5)]();}['_clearRetryConnectingTimer'](){var _0xe6d8c=_0x5a48c0;this[_0xe6d8c(0x3f2)]!=null&&(clearTimeout(this[_0xe6d8c(0x3f2)]),this[_0xe6d8c(0x3f2)]=null);}async['_createSocket'](){var _0x166ae9=_0x5a48c0,_0x39afd9,_0x34bdad;const _0x2d4072=this[_0x166ae9(0x41a)][_0x166ae9(0x2d1)](St),_0x509d0b=this['_configService'][_0x166ae9(0x2d1)](Y),_0x32669c=(_0x34bdad=(_0x39afd9=_0x509d0b==null?void 0x0:_0x509d0b[_0x166ae9(0xdb)])!=null?_0x39afd9:_0x2d4072)!=null?_0x34bdad:ft,_0x138713=await this['_socketService'][_0x166ae9(0x170)](_0x32669c);return this[_0x166ae9(0x440)]=_0x138713,_0x138713;}async['_tryEnsureSocket'](){var _0x2e42c3=_0x5a48c0,_0x38b778,_0x32a9f1;try{const _0x2e9198=(_0x32a9f1=(_0x38b778=this[_0x2e42c3(0x343)])!=null?_0x38b778:this[_0x2e42c3(0x440)])!=null?_0x32a9f1:await this[_0x2e42c3(0x36b)]();if(_0x2e9198){const _0x36f0e2=_0x2e9198[_0x2e42c3(0x1bd)];_0x2e9198[_0x2e42c3(0x1bd)]=_0x58e0c6=>(this['_rescheduleHeartbeat'](),_0x36f0e2['apply'](_0x2e9198,[_0x58e0c6])),_0x2e9198[_0x2e42c3(0x31a)][_0x2e42c3(0x27f)](_0x40189b=>this['_onMessage'](_0x2e9198,_0x40189b)),_0x2e9198[_0x2e42c3(0x13f)]['pipe'](V[_0x2e42c3(0x1f5)](0x1))[_0x2e42c3(0x27f)](_0x3707a2=>this['_logService'][_0x2e42c3(0x16f)](_0x2e42c3(0x140),_0x3707a2)),_0x2e9198[_0x2e42c3(0x2bc)][_0x2e42c3(0x1ce)](V[_0x2e42c3(0x1f5)](0x1))[_0x2e42c3(0x27f)](()=>{var _0x3f321e=_0x2e42c3;this[_0x3f321e(0x381)](_0x2e9198);}),_0x2e9198[_0x2e42c3(0x195)][_0x2e42c3(0x1ce)](V[_0x2e42c3(0x1f5)](0x1))[_0x2e42c3(0x27f)](_0x1fa297=>{var _0xd5e3df=_0x2e42c3;this[_0xd5e3df(0x39b)][_0xd5e3df(0x3a3)]('[CollaborationSessionService]',_0xd5e3df(0x186),_0x1fa297),this[_0xd5e3df(0x165)]();});}}catch(_0x481aeb){this[_0x2e42c3(0x39b)][_0x2e42c3(0x16f)](_0x481aeb),this[_0x2e42c3(0x165)]();}}[_0x5a48c0(0x381)](_0x205591){var _0x4c5acb=_0x5a48c0;this[_0x4c5acb(0x39b)]['debug'](_0x4c5acb(0x179),'socket\x20open.'),_0x205591[_0x4c5acb(0x1bd)]({'cmd':W[_0x4c5acb(0x1b5)]}),this[_0x4c5acb(0x450)]();}[_0x5a48c0(0x363)](){var _0x58bd69=_0x5a48c0;this[_0x58bd69(0x1d9)]=!0x1,this[_0x58bd69(0x440)]=null,this[_0x58bd69(0x34b)][_0x58bd69(0x110)](se['OFFLINE']),this['_socket$'][_0x58bd69(0x110)](null),this[_0x58bd69(0x1a4)](),this[_0x58bd69(0x299)]();}['_onConnectionFailed'](){var _0x59756c=_0x5a48c0,_0x25b25b;this[_0x59756c(0x363)](),this['_retryCount']<((_0x25b25b=this[_0x59756c(0x41a)]['getConfig'](It))!=null?_0x25b25b:Vt)?(this[_0x59756c(0x193)][_0x59756c(0x33e)]({'id':Q[_0x59756c(0x3c2)]}),this['_tryReconnect']()):this[_0x59756c(0x193)]['emitEvent']({'id':Q[_0x59756c(0x1f0)]});}['_tryReconnect'](){var _0x1173ce=_0x5a48c0,_0x9405f3;const _0x24dd6=this[_0x1173ce(0x13e)],_0x4e8a61=this[_0x1173ce(0x41a)][_0x1173ce(0x2d1)](Y),_0x634533=_0x24dd6===0x0?0x0:((_0x9405f3=_0x4e8a61==null?void 0x0:_0x4e8a61[_0x1173ce(0x15f)])!=null?_0x9405f3:Ft)*0x2**_0x24dd6;this[_0x1173ce(0x3f2)]=setTimeout(()=>{var _0x256589=_0x1173ce;clearTimeout(this[_0x256589(0x3f2)]),this[_0x256589(0x3f2)]=null,this[_0x256589(0x147)]();},_0x634533),this[_0x1173ce(0x13e)]+=0x1;}['_onMessage'](_0xf58b6e,_0x483061){var _0xfa9076=_0x5a48c0;const {cmd:_0x2232a0}=_0x483061;_0x2232a0===W[_0xfa9076(0x1b5)]&&!this[_0xfa9076(0x1d9)]&&(_0xf58b6e[_0xfa9076(0x189)]=_0x483061[_0xfa9076(0x332)][_0xfa9076(0x189)],this[_0xfa9076(0x238)]['next'](_0xf58b6e),this[_0xfa9076(0x34b)][_0xfa9076(0x110)](se[_0xfa9076(0x160)]),this[_0xfa9076(0x1d9)]=!0x0,this[_0xfa9076(0x440)]=null),_0x2232a0===W[_0xfa9076(0x18b)]&&this['_clearTimeoutTimer'](),this[_0xfa9076(0x450)]();}['_rescheduleHeartbeat'](){var _0x1b912a=_0x5a48c0,_0x11ab38;this[_0x1b912a(0x299)](),this[_0x1b912a(0x400)]=setTimeout(()=>this[_0x1b912a(0x183)](),(_0x11ab38=this[_0x1b912a(0x41a)][_0x1b912a(0x2d1)](pt))!=null?_0x11ab38:Bt);}[_0x5a48c0(0x183)](){var _0x3a576f=_0x5a48c0;this[_0x3a576f(0x343)][_0x3a576f(0x1bd)]({'cmd':W[_0x3a576f(0x18b)]}),this['_waitForHeartbeatResponse']();}[_0x5a48c0(0x3aa)](){var _0x2dc430=_0x5a48c0,_0x1c5294;this[_0x2dc430(0x191)]=setTimeout(()=>this[_0x2dc430(0x165)](),(_0x1c5294=this[_0x2dc430(0x41a)][_0x2dc430(0x2d1)](je))!=null?_0x1c5294:gt);}[_0x5a48c0(0x299)](){var _0x13fdf6=_0x5a48c0;this[_0x13fdf6(0x400)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x13fdf6(0x400)]=null);}[_0x5a48c0(0x1a4)](){var _0x281f6d=_0x5a48c0;this[_0x281f6d(0x191)]!=null&&(clearTimeout(this[_0x281f6d(0x191)]),this[_0x281f6d(0x191)]=null);}},exports['CollaborationSessionService']=ci([_e(0x0,a['Inject'](a[_0x5a48c0(0x30c)])),_e(0x1,a[_0x5a48c0(0x2e9)]),_e(0x2,a[_0x5a48c0(0x244)]),_e(0x3,$e),_e(0x4,a[_0x5a48c0(0xd9)](te)),_e(0x5,a['Optional'](bt))],exports['CollaborationSessionService']);const G=[];function _0x5815(_0xec2c25,_0x497a6c){var _0x157bdc=_0x157b();return _0x5815=function(_0x5815f8,_0x5d15de){_0x5815f8=_0x5815f8-0xd7;var _0x57f625=_0x157bdc[_0x5815f8];return _0x57f625;},_0x5815(_0xec2c25,_0x497a6c);}for(let n=0x0;n<0x100;++n)G[_0x5a48c0(0x437)]((n+0x100)[_0x5a48c0(0x232)](0x10)[_0x5a48c0(0x1ee)](0x1));function hi(_0x110951,_0x2f197b=0x0){var _0x35f904=_0x5a48c0;return(G[_0x110951[_0x2f197b+0x0]]+G[_0x110951[_0x2f197b+0x1]]+G[_0x110951[_0x2f197b+0x2]]+G[_0x110951[_0x2f197b+0x3]]+'-'+G[_0x110951[_0x2f197b+0x4]]+G[_0x110951[_0x2f197b+0x5]]+'-'+G[_0x110951[_0x2f197b+0x6]]+G[_0x110951[_0x2f197b+0x7]]+'-'+G[_0x110951[_0x2f197b+0x8]]+G[_0x110951[_0x2f197b+0x9]]+'-'+G[_0x110951[_0x2f197b+0xa]]+G[_0x110951[_0x2f197b+0xb]]+G[_0x110951[_0x2f197b+0xc]]+G[_0x110951[_0x2f197b+0xd]]+G[_0x110951[_0x2f197b+0xe]]+G[_0x110951[_0x2f197b+0xf]])[_0x35f904(0x415)]();}let Ue;const _i=new Uint8Array(0x10);function li(){var _0x5ec448=_0x5a48c0;if(!Ue){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x5ec448(0x41f));Ue=crypto[_0x5ec448(0x2a0)][_0x5ec448(0x164)](crypto);}return Ue(_i);}const ui=typeof crypto<'u'&&crypto[_0x5a48c0(0x1ec)]&&crypto[_0x5a48c0(0x1ec)]['bind'](crypto),qe={'randomUUID':ui};function di(_0x12251d,_0x364c07,_0x5d6b69){var _0x2f3fcd=_0x5a48c0,_0x46930a,_0x1b139c,_0x24fbde;if(qe['randomUUID']&&!_0x12251d)return qe['randomUUID']();_0x12251d=_0x12251d||{};const _0x35e05f=(_0x24fbde=(_0x1b139c=_0x12251d[_0x2f3fcd(0x36e)])!=null?_0x1b139c:(_0x46930a=_0x12251d[_0x2f3fcd(0x1bc)])==null?void 0x0:_0x46930a['call'](_0x12251d))!=null?_0x24fbde:li();if(_0x35e05f[_0x2f3fcd(0x143)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x35e05f[0x6]=_0x35e05f[0x6]&0xf|0x40,_0x35e05f[0x8]=_0x35e05f[0x8]&0x3f|0x80,hi(_0x35e05f);}const z=a[_0x5a48c0(0x26d)](_0x5a48c0(0x15b));function vi(_0xe172c2){var _0xaeb8c1=_0x5a48c0;return _0xaeb8c1(0x248)+_0xe172c2;}var Si=Object[_0x5a48c0(0xe7)],fi=(_0x395baf,_0x428711,_0x46405b,_0x7f1d9c)=>{var _0x558cf1=_0x5a48c0;for(var _0x3bfc7f=_0x7f1d9c>0x1?void 0x0:_0x7f1d9c?Si(_0x428711,_0x46405b):_0x428711,_0x395f78=_0x395baf[_0x558cf1(0x143)]-0x1,_0x3b8f4b;_0x395f78>=0x0;_0x395f78--)(_0x3b8f4b=_0x395baf[_0x395f78])&&(_0x3bfc7f=_0x3b8f4b(_0x3bfc7f)||_0x3bfc7f);return _0x3bfc7f;},Ae=(_0x2b0f22,_0x2c8bc0)=>(_0x222e05,_0xf7ec2b)=>_0x2c8bc0(_0x222e05,_0xf7ec2b,_0x2b0f22);function pi(_0x4a3a38){var _0x3787aa=_0x5a48c0;const {unitID:_0x256b9e,mutations:_0x417d1c}=_0x4a3a38;return{'unitId':_0x256b9e,'subUnitId':_0x417d1c[0x0][_0x3787aa(0x2cd)]['subUnitId']};}exports[_0x5a48c0(0x20a)]=class{constructor(_0x4c88aa,_0x402d74,_0x5ccc75){var _0x159310=_0x5a48c0;this[_0x159310(0x211)]=_0x4c88aa,this[_0x159310(0x319)]=_0x402d74,this['_instanceService']=_0x5ccc75;}[_0x5a48c0(0x342)](_0x4274a3){var _0x289351=_0x5a48c0,_0x16cb96,_0x240def,_0x57d43d,_0x1c8231;const _0x2f1ec8=this[_0x289351(0x211)][_0x289351(0x39a)](Z[_0x289351(0x17d)]),{unitId:_0x1260ba,subUnitId:_0x339bfb}=pi(_0x4274a3),_0x5740c0=_0x2f1ec8==null?void 0x0:_0x2f1ec8[_0x289351(0x24c)](_0x1260ba)['getCurrentSelections'](),_0x4e1226=(_0x240def=(_0x16cb96=this[_0x289351(0x181)]['getUnit'](_0x1260ba))==null?void 0x0:_0x16cb96[_0x289351(0x411)]())==null?void 0x0:_0x240def[_0x289351(0x16e)]();if(_0x5740c0[_0x289351(0x143)]===0x0||!_0x1260ba||!_0x339bfb)return;const _0x3d2925=[{'id':Z[_0x289351(0x25b)]['id'],'params':{'unitId':_0x1260ba,'subUnitId':_0x4e1226,'selections':a[_0x289351(0x338)][_0x289351(0x1b1)](_0x5740c0)}}],_0x1fc9ab=this[_0x289351(0x319)][_0x289351(0x108)](_0x4274a3,_0x3d2925);if(!g[_0x289351(0x1e3)](_0x1fc9ab))throw _0x1fc9ab[_0x289351(0x16f)];const _0x2407d8=(_0x1c8231=(_0x57d43d=_0x1fc9ab[_0x289351(0x19c)][0x0])==null?void 0x0:_0x57d43d[_0x289351(0x2cd)])==null?void 0x0:_0x1c8231[_0x289351(0x2cf)];if(Array[_0x289351(0x2b6)](_0x2407d8)&&_0x2407d8[_0x289351(0x143)]){if(_0x2407d8[_0x289351(0x143)]===_0x3d2925[0x0][_0x289351(0x2cd)][_0x289351(0x2cf)][_0x289351(0x143)]&&_0x2407d8[_0x289351(0x2ae)]((_0x1dabc7,_0xbd6064)=>a[_0x289351(0x23e)]['equals'](_0x1dabc7['range'],_0x3d2925[0x0][_0x289351(0x2cd)][_0x289351(0x2cf)][_0xbd6064][_0x289351(0x2fb)])))return;this[_0x289351(0x211)][_0x289351(0x39a)](a[_0x289351(0x206)])[_0x289351(0x26b)](Z[_0x289351(0x25b)]['id'],{'unitId':_0x1260ba,'subUnitId':_0x4e1226,'selections':_0x2407d8});}}},exports['SheetTransformSelectionsService']=fi([Ae(0x0,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x30c)])),Ae(0x1,g[_0x5a48c0(0x2f5)]),Ae(0x2,a[_0x5a48c0(0x3de)])],exports['SheetTransformSelectionsService']);const ve=a[_0x5a48c0(0x26d)]('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x8e8ba6=>(_0x8e8ba6[_0x8e8ba6[_0x5a48c0(0x197)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x8e8ba6[_0x8e8ba6['OTHER_CLIENTS_EDITING']=0x1]=_0x5a48c0(0x272),_0x8e8ba6))(Fe||{});const gi=new Set([Z[_0x5a48c0(0x368)]['id']]);function ze(_0x3f34d2,_0x3e3a7d,_0x372eaf,_0x11f498,_0x5187f6){var _0x65957=_0x5a48c0,_0x1896bc,_0x12b74b,_0x1fd510,_0x3bf2b7;const _0x588aa0=[];for(const _0x1a64d9 of _0x3f34d2)if(gi['has'](_0x1a64d9['id'])){if(_0x588aa0[_0x65957(0x143)]>0x0)break;_0x588aa0[_0x65957(0x437)](_0x1a64d9);break;}else _0x588aa0[_0x65957(0x437)](_0x1a64d9);const _0x23c32b=(_0x12b74b=(_0x1896bc=_0x5187f6[_0x65957(0x10a)]())==null?void 0x0:_0x1896bc['userID'])!=null?_0x12b74b:'unknown',_0x4396d4=(_0x3bf2b7=(_0x1fd510=_0x5187f6[_0x65957(0x10a)]())==null?void 0x0:_0x1fd510[_0x65957(0x189)])!=null?_0x3bf2b7:_0x65957(0x3cc);return{'changeset':{'unitID':_0x3e3a7d,'type':g[_0x65957(0x3e7)](_0x372eaf[_0x65957(0x151)](_0x3e3a7d)),'baseRev':_0x11f498[_0x65957(0x109)](_0x3e3a7d),'revision':0x0,'userID':_0x23c32b,'memberID':_0x4396d4,'mutations':_0x588aa0},'pendingMutations':_0x3f34d2[_0x65957(0x1ee)](_0x588aa0[_0x65957(0x143)])};}function Ii(_0x241cf0,_0x3e885d,_0x51180f,_0x4e4331,_0x55b309){var _0x4fad9b=_0x5a48c0,_0x5c2572,_0x4002a6,_0x1535fd,_0x34e338;const _0x1d9782=[_0x241cf0[_0x4fad9b(0xe3)]((_0x1e0d9a,_0x196371)=>{var _0x37ad60=_0x4fad9b,_0x15ff14;const {id:_0x42c4f0}=_0x1e0d9a,{id:_0x1a047a,type:_0x51d3bc}=_0x196371,_0x5da69c=(_0x15ff14=_0x1e0d9a['params'])!=null?_0x15ff14:{'actions':null},_0x5ba247=_0x196371['params'];if(_0x42c4f0&&_0x42c4f0!==_0x1a047a)throw new Error(_0x37ad60(0x1da)+_0x42c4f0+_0x37ad60(0x269)+_0x1a047a+'.');return{..._0x1e0d9a,'id':_0x1a047a,'type':_0x51d3bc,'params':{'unitId':_0x5ba247[_0x37ad60(0x1cb)],'textRanges':_0x5ba247[_0x37ad60(0x2c7)],'actions':a[_0x37ad60(0x1fe)][_0x37ad60(0x10b)](_0x5da69c[_0x37ad60(0x278)],_0x5ba247[_0x37ad60(0x278)])}};},{})],_0x49a01c=(_0x4002a6=(_0x5c2572=_0x55b309[_0x4fad9b(0x10a)]())==null?void 0x0:_0x5c2572[_0x4fad9b(0x203)])!=null?_0x4002a6:_0x4fad9b(0x3cc),_0x44f1fc=(_0x34e338=(_0x1535fd=_0x55b309['getCurrentUser']())==null?void 0x0:_0x1535fd[_0x4fad9b(0x189)])!=null?_0x34e338:'unknown';return{'changeset':{'unitID':_0x3e885d,'type':g['mapDocumentTypeToUniverType'](_0x51180f[_0x4fad9b(0x151)](_0x3e885d)),'baseRev':_0x4e4331[_0x4fad9b(0x109)](_0x3e885d),'revision':0x0,'userID':_0x49a01c,'memberID':_0x44f1fc,'mutations':_0x1d9782},'pendingMutations':[]};}function yt(_0x2404b5,_0xaf5bf7){var _0x4fcfdb=_0x5a48c0;const _0x38a9a9=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x38a9a9[_0x4fcfdb(0x110)](_0xaf5bf7),_0x2404b5),_0x38a9a9['asObservable']()[_0x4fcfdb(0x1ce)](j[_0x4fcfdb(0x1f5)](0x1));}const mi={'id':Z[_0x5a48c0(0x373)]['id'],'type':a[_0x5a48c0(0xfa)][_0x5a48c0(0x414)],'params':{}};var Ei=Object[_0x5a48c0(0xe7)],ce=(_0x583f00,_0x4a4f19,_0x500d07,_0x2412a3)=>{var _0x589611=_0x5a48c0;for(var _0x2f3e68=_0x2412a3>0x1?void 0x0:_0x2412a3?Ei(_0x4a4f19,_0x500d07):_0x4a4f19,_0x3ed969=_0x583f00[_0x589611(0x143)]-0x1,_0x45c1af;_0x3ed969>=0x0;_0x3ed969--)(_0x45c1af=_0x583f00[_0x3ed969])&&(_0x2f3e68=_0x45c1af(_0x2f3e68)||_0x2f3e68);return _0x2f3e68;},w=(_0x4efbfa,_0x2c0382)=>(_0x224766,_0x17b6fc)=>_0x2c0382(_0x224766,_0x17b6fc,_0x4efbfa),Ve=(_0x53133d=>(_0x53133d[_0x5a48c0(0x388)]=_0x5a48c0(0x1a8),_0x53133d[_0x5a48c0(0x2e8)]='synced',_0x53133d[_0x5a48c0(0x1c7)]=_0x5a48c0(0x266),_0x53133d['AWAITING']='awaiting',_0x53133d[_0x5a48c0(0x213)]='awaiting_with_pending',_0x53133d[_0x5a48c0(0x29d)]=_0x5a48c0(0x37e),_0x53133d[_0x5a48c0(0x2ca)]=_0x5a48c0(0x310),_0x53133d[_0x5a48c0(0x1fa)]='offline',_0x53133d))(Ve||{});const Nt=0xea60;class he{constructor(_0x2d161a,_0x3a5c15,_0x47f54f,_0x571831,_0x3ee65a,_0x1a8d6e,_0x44df25,_0x3d1b73,_0x504eb8){var _0x52aa1d=_0x5a48c0;A(this,_0x52aa1d(0x198),null),A(this,'_pendingMutations',[]),(this['unitID']=_0x2d161a,this[_0x52aa1d(0x315)]=_0x3a5c15,this[_0x52aa1d(0x2c9)]=_0x3ee65a,this['_commandService']=_0x1a8d6e,this[_0x52aa1d(0x1b4)]=_0x44df25,this[_0x52aa1d(0x42b)]=_0x3d1b73,this[_0x52aa1d(0x118)]=_0x504eb8,this[_0x52aa1d(0x198)]=_0x47f54f,this[_0x52aa1d(0x1db)]=_0x571831);}[_0x5a48c0(0x3a9)](_0x468a6f){var _0xf1e54=_0x5a48c0;const _0x5f2753=this[_0xf1e54(0x42b)][_0xf1e54(0x109)](this['unitID']);return _0x468a6f[_0xf1e54(0x317)]>_0x5f2753+0x1?(this[_0xf1e54(0x2c9)][_0xf1e54(0x1c5)]({'from':_0x5f2753,'to':_0x468a6f[_0xf1e54(0x317)]-0x1}),!0x0):!0x1;}[_0x5a48c0(0x369)](_0x5412c6){var _0x3112d8=_0x5a48c0;this['_undoRedoService'][_0x3112d8(0x305)](this[_0x3112d8(0x3dc)],_0x5412c6);}[_0x5a48c0(0x129)](_0x3d02dc){var _0xe74041=_0x5a48c0,_0x7e1477,_0x26bf0a;(_0x26bf0a=(_0x7e1477=this['_handler'])[_0xe74041(0xfb)])==null||_0x26bf0a['call'](_0x7e1477,_0x3d02dc);}[_0x5a48c0(0x12a)](_0x1faf03){var _0xdbbe26,_0x2aef7b;return(_0x2aef7b=(_0xdbbe26=this['_handler'])['onTransformIME'])==null?void 0x0:_0x2aef7b['call'](_0xdbbe26,_0x1faf03);}[_0x5a48c0(0x17c)](_0x23760e){var _0x1ced17=_0x5a48c0,_0x3c384e,_0x1909ca;return(_0x1909ca=(_0x3c384e=this[_0x1ced17(0x2c9)])[_0x1ced17(0x38a)])==null?void 0x0:_0x1909ca[_0x1ced17(0x3f8)](_0x3c384e,_0x23760e);}['_transformRemoteChangesetByIMECache'](_0x59247f){var _0x50fcb7=_0x5a48c0,_0x27f168,_0x34c84c,_0x4a4dad;return(_0x4a4dad=(_0x34c84c=(_0x27f168=this[_0x50fcb7(0x2c9)])[_0x50fcb7(0x28b)])==null?void 0x0:_0x34c84c[_0x50fcb7(0x3f8)](_0x27f168,_0x59247f))!=null?_0x4a4dad:_0x59247f;}[_0x5a48c0(0x18a)](_0x52b608){var _0x296616=_0x5a48c0,_0x4d2b8f,_0x29bc81,_0x2d8e72;return(_0x2d8e72=(_0x29bc81=(_0x4d2b8f=this['_handler'])[_0x296616(0x11e)])==null?void 0x0:_0x29bc81[_0x296616(0x3f8)](_0x4d2b8f,_0x52b608))!=null?_0x2d8e72:_0x52b608;}[_0x5a48c0(0x40d)](_0x28c3f8){var _0x280652=_0x5a48c0,_0x3ab5b1,_0x3b15fd;if(this['type']===X[_0x280652(0x327)]){const {unitID:_0x13e241,mutations:_0x3af090,memberID:_0x1deea8}=_0x28c3f8,_0x3fdeaf=_0x3af090[0x0]['params'][_0x280652(0x2c7)];Array[_0x280652(0x2b6)](_0x3fdeaf)&&_0x3fdeaf[_0x280652(0x143)]>0x0&&((_0x3b15fd=(_0x3ab5b1=this[_0x280652(0x2c9)])['onSyncEditingCollabCursor'])==null||_0x3b15fd[_0x280652(0x3f8)](_0x3ab5b1,{'unitID':_0x13e241,'memberID':_0x1deea8,'textRanges':_0x3fdeaf}));}}[_0x5a48c0(0x14b)](){var _0x296574=_0x5a48c0,_0x4a139d;(_0x4a139d=this[_0x296574(0x118)])==null||_0x4a139d['updateOfflineData'](this[_0x296574(0x3dc)],this[_0x296574(0x315)],this[_0x296574(0x198)],this[_0x296574(0x1db)]);}[_0x5a48c0(0x23d)](){var _0x388311=_0x5a48c0;return this['_revisionService'][_0x388311(0x109)](this[_0x388311(0x3dc)]);}[_0x5a48c0(0x154)](){var _0x3c49d8=_0x5a48c0;this[_0x3c49d8(0x42b)][_0x3c49d8(0x226)](this[_0x3c49d8(0x3dc)]);}[_0x5a48c0(0x28e)](_0x558921){var _0x1d7fc4=_0x5a48c0,_0x4e1faa;let _0x2d2998=this['_transformRemoteChangesetByIMECache'](_0x558921);_0x2d2998=this[_0x1d7fc4(0x18a)](_0x2d2998);const _0x4f759d=a[_0x1d7fc4(0x38e)](_0x2d2998['mutations'],this[_0x1d7fc4(0x3be)],{'fromCollab':!0x0});if(!_0x4f759d[_0x1d7fc4(0x121)])throw _0x4f759d['error']instanceof Error?_0x4f759d[_0x1d7fc4(0x16f)]:new Error((_0x4e1faa=_0x4f759d[_0x1d7fc4(0x16f)])!=null?_0x4e1faa:_0x1d7fc4(0x1a2));this[_0x1d7fc4(0x12a)](_0x2d2998),this[_0x1d7fc4(0x17c)](_0x2d2998),this['_transformUndoredo'](_0x558921),this[_0x1d7fc4(0x129)](_0x2d2998),this[_0x1d7fc4(0x40d)](_0x2d2998),this[_0x1d7fc4(0x154)]();}}exports['SyncedState']=class extends he{constructor(_0x28e8c9,_0x13d59a,_0x3a89ee,_0x3f0bf9,_0x5a5110,_0x164c56,_0x497ea4,_0x5be53b,_0x4bbe32,_0x2cc945){var _0x24aee6=_0x5a48c0;super(_0x28e8c9,_0x13d59a,null,[],_0x3a89ee,_0x497ea4,_0x164c56,_0x3f0bf9,_0x2cc945),A(this,_0x24aee6(0x2bf),_0x24aee6(0x3a7)),(this['_injector']=_0x5a5110,this[_0x24aee6(0x39b)]=_0x5be53b,this[_0x24aee6(0x319)]=_0x4bbe32,this[_0x24aee6(0x42f)]=_0x2cc945);}[_0x5a48c0(0x292)](_0x4a8109){var _0x5f0afb=_0x5a48c0;const _0x357f22=this[_0x5f0afb(0x211)]['createInstance'](exports[_0x5f0afb(0x168)],this['unitID'],this['type'],[_0x4a8109],this['_handler']);return _0x357f22[_0x5f0afb(0x23a)](),_0x357f22[_0x5f0afb(0x14b)](),_0x357f22;}[_0x5a48c0(0x30e)](_0x212096){var _0x4e216f=_0x5a48c0;if(this['_checkMissing'](_0x212096))return this['_injector']['createInstance'](exports['FetchingMissState'],this[_0x4e216f(0x3dc)],this[_0x4e216f(0x315)],null,[],null,[_0x212096],this[_0x4e216f(0x2c9)]);try{const _0x1d73c4=this['_transformService']['transformMutationsWithChangeset'](_0x212096,[mi]);if(g[_0x4e216f(0x1e3)](_0x1d73c4)){const {c1Prime:_0x50f826}=_0x1d73c4;return this[_0x4e216f(0x28e)](_0x50f826),this;}throw _0x1d73c4[_0x4e216f(0x16f)];}catch(_0x23432a){return this[_0x4e216f(0x39b)][_0x4e216f(0x16f)](_0x23432a),this[_0x4e216f(0x2f6)](!0x1);}}[_0x5a48c0(0x2f6)](_0xf21c66){var _0x2baf09=_0x5a48c0;return this[_0x2baf09(0x211)][_0x2baf09(0x444)](exports[_0x2baf09(0x1b3)],this[_0x2baf09(0x3dc)],this[_0x2baf09(0x315)],null,[],this[_0x2baf09(0x2c9)],_0xf21c66);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x5a48c0(0x3bc)](){var _0x38f054=_0x5a48c0;throw new Error(_0x38f054(0x17a));}[_0x5a48c0(0x27e)](){return this;}['toggleOffline'](){var _0x443c51=_0x5a48c0;return this['_injector']['createInstance'](exports[_0x443c51(0x441)],this[_0x443c51(0x3dc)],this[_0x443c51(0x315)],null,[],this[_0x443c51(0x2c9)]);}[_0x5a48c0(0x243)](){return this;}[_0x5a48c0(0x22d)](){var _0x1b555e=_0x5a48c0;throw new Error(_0x1b555e(0x348));}[_0x5a48c0(0x196)](){var _0x297862=_0x5a48c0;const _0x1417a0=this['_revisionService'][_0x297862(0x109)](this[_0x297862(0x3dc)]);return this['_handler'][_0x297862(0x1c5)]({'from':_0x1417a0,'to':0x0}),this['_injector'][_0x297862(0x444)](exports[_0x297862(0x1d2)],this['unitID'],this[_0x297862(0x315)],null,[],null,[],this['_handler']);}},exports['SyncedState']=ce([w(0x3,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x374)])),w(0x4,a['Inject'](a[_0x5a48c0(0x30c)])),w(0x5,a[_0x5a48c0(0x2d2)]),w(0x6,a[_0x5a48c0(0x206)]),w(0x7,a['ILogService']),w(0x8,g[_0x5a48c0(0x2f5)]),w(0x9,a[_0x5a48c0(0x41d)](z))],exports['SyncedState']),exports[_0x5a48c0(0x168)]=class extends he{constructor(_0x1eb1ce,_0x10f04b,_0x50116f,_0x5ed30d,_0x2dfd28,_0x16432f,_0x5afa5e,_0xe1f192,_0x345e35,_0xf46b39,_0x40a694,_0x3187b8,_0xc27032,_0x4aff1b){var _0x4e71d4=_0x5a48c0;super(_0x1eb1ce,_0x10f04b,null,_0x50116f,_0x5ed30d,_0x345e35,_0xc27032,_0x16432f,_0x4aff1b),A(this,_0x4e71d4(0x2bf),_0x4e71d4(0x266)),A(this,'_scheduleCompleteTimestamp',null),A(this,_0x4e71d4(0x215),null),(this[_0x4e71d4(0x211)]=_0x2dfd28,this[_0x4e71d4(0x41c)]=_0x5afa5e,this[_0x4e71d4(0x39b)]=_0xe1f192,this[_0x4e71d4(0x41a)]=_0xf46b39,this['_transformService']=_0x40a694,this[_0x4e71d4(0x421)]=_0x3187b8);}[_0x5a48c0(0x292)](_0x412a4b){var _0x9d3e2f=_0x5a48c0;return this[_0x9d3e2f(0x1db)][_0x9d3e2f(0x437)](_0x412a4b),this[_0x9d3e2f(0x14b)](),this;}['onRemoteChangeset'](_0xe0df1c){var _0x52804b=_0x5a48c0;if(this[_0x52804b(0x3a9)](_0xe0df1c))return this['_clearScheduledTask'](),this[_0x52804b(0x211)][_0x52804b(0x444)](exports[_0x52804b(0x1d2)],this[_0x52804b(0x3dc)],this['type'],null,this[_0x52804b(0x1db)],null,[_0xe0df1c],this[_0x52804b(0x2c9)]);try{const _0x2614c2=this[_0x52804b(0x319)][_0x52804b(0x108)](_0xe0df1c,this[_0x52804b(0x1db)]);if(g[_0x52804b(0x1e3)](_0x2614c2)){const {c1Prime:_0x461cf5,m2Prime:_0x4fe667}=_0x2614c2;this['_executeRemoteChangeset'](_0x461cf5);const _0x3bb7c6=this[_0x52804b(0x211)]['createInstance'](exports[_0x52804b(0x168)],this[_0x52804b(0x3dc)],this[_0x52804b(0x315)],_0x4fe667,this[_0x52804b(0x2c9)]);this[_0x52804b(0x291)]();const _0x4477cc=new Date()['getTime'](),_0xc82ce4=this[_0x52804b(0x16b)]?Math[_0x52804b(0x2cb)](this[_0x52804b(0x16b)]-_0x4477cc,0x0):this[_0x52804b(0x23f)]();return _0x3bb7c6[_0x52804b(0x23a)](_0xc82ce4),_0x3bb7c6;}throw _0x2614c2['error'];}catch(_0x51030b){return this['_logService'][_0x52804b(0x16f)](_0x51030b),this[_0x52804b(0x2f6)](!0x1);}}['onRemoteAck'](){var _0x238c53=_0x5a48c0;throw new Error(_0x238c53(0x227));}[_0x5a48c0(0x3bc)](){var _0x342b16=_0x5a48c0;throw new Error(_0x342b16(0x1ef));}['onRemoteRetry'](){return this;}[_0x5a48c0(0x132)](){var _0x4f5ac2=_0x5a48c0;return this['_clearScheduledTask'](),this[_0x4f5ac2(0x211)][_0x4f5ac2(0x444)](exports[_0x4f5ac2(0x441)],this[_0x4f5ac2(0x3dc)],this['type'],null,this['_pendingMutations'],this[_0x4f5ac2(0x2c9)]);}[_0x5a48c0(0x243)](){return this;}[_0x5a48c0(0x23a)](_0x28c2e4){var _0x3a9510=_0x5a48c0;const _0x4b22c4=_0x28c2e4!=null?_0x28c2e4:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x3a9510(0x2db)]()+_0x4b22c4,this['_sendingTimer']=setTimeout(()=>{var _0x34e8c7=_0x3a9510;this[_0x34e8c7(0x291)]();let _0x2d6ddd=null;switch(this[_0x34e8c7(0x315)]){case X[_0x34e8c7(0x3b2)]:{_0x2d6ddd=ze(this['_pendingMutations'],this[_0x34e8c7(0x3dc)],this[_0x34e8c7(0x421)],this[_0x34e8c7(0x42b)],this[_0x34e8c7(0x41c)]);break;}case X[_0x34e8c7(0x327)]:{this[_0x34e8c7(0x1db)][_0x34e8c7(0x2ae)](_0x40fa0f=>_0x40fa0f['id']===ut[_0x34e8c7(0x432)]['id'])?_0x2d6ddd=Ii(this[_0x34e8c7(0x1db)],this[_0x34e8c7(0x3dc)],this[_0x34e8c7(0x421)],this[_0x34e8c7(0x42b)],this[_0x34e8c7(0x41c)]):_0x2d6ddd=ze(this[_0x34e8c7(0x1db)],this[_0x34e8c7(0x3dc)],this[_0x34e8c7(0x421)],this[_0x34e8c7(0x42b)],this[_0x34e8c7(0x41c)]);break;}default:throw new Error(_0x34e8c7(0x31e)+this[_0x34e8c7(0x315)]+_0x34e8c7(0x44b));}const {changeset:_0x57e31e,pendingMutations:_0x1ef31e}=_0x2d6ddd;this[_0x34e8c7(0x2c9)][_0x34e8c7(0x313)](_0x57e31e);const _0x5d2c01=_0x1ef31e[_0x34e8c7(0x143)]?this[_0x34e8c7(0x211)][_0x34e8c7(0x444)](exports[_0x34e8c7(0xe6)],this[_0x34e8c7(0x3dc)],this[_0x34e8c7(0x315)],_0x57e31e,_0x1ef31e,this[_0x34e8c7(0x2c9)],void 0x0):this[_0x34e8c7(0x211)][_0x34e8c7(0x444)](exports[_0x34e8c7(0x18c)],this[_0x34e8c7(0x3dc)],this[_0x34e8c7(0x315)],_0x57e31e,this[_0x34e8c7(0x2c9)]);_0x5d2c01[_0x34e8c7(0x14b)](),this[_0x34e8c7(0x2c9)][_0x34e8c7(0x325)](this,_0x5d2c01);},_0x4b22c4);}['_getSendChangesetTimeout'](){var _0x5c8683=_0x5a48c0,_0xf59272;const _0xb379d3=this[_0x5c8683(0x41a)][_0x5c8683(0x2d1)](Y);return(_0xf59272=_0xb379d3==null?void 0x0:_0xb379d3['sendChangesetTimeout'])!=null?_0xf59272:jt;}[_0x5a48c0(0x22d)](){var _0x50a69e=_0x5a48c0;throw new Error(_0x50a69e(0xe4));}['_clearScheduledTask'](){var _0x37cf4a=_0x5a48c0;this[_0x37cf4a(0x215)]!=null&&(clearTimeout(this[_0x37cf4a(0x215)]),this['_sendingTimer']=null);}[_0x5a48c0(0x2f6)](_0x2f380d){var _0x7a8588=_0x5a48c0;return this['_clearScheduledTask'](),this['_injector'][_0x7a8588(0x444)](exports[_0x7a8588(0x1b3)],this['unitID'],this['type'],null,this[_0x7a8588(0x1db)],this['_handler'],_0x2f380d);}},exports[_0x5a48c0(0x168)]=ce([w(0x4,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x30c)])),w(0x5,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x374)])),w(0x6,a[_0x5a48c0(0xd9)](exports[_0x5a48c0(0x1be)])),w(0x7,a[_0x5a48c0(0x2e9)]),w(0x8,a[_0x5a48c0(0x206)]),w(0x9,a['IConfigService']),w(0xa,g[_0x5a48c0(0x2f5)]),w(0xb,a[_0x5a48c0(0x3de)]),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0x168)]),exports['AwaitingState']=class extends he{constructor(_0xa657e1,_0x454f88,_0x443f49,_0x28b5c5,_0x6d4fdf,_0x4f9ffa,_0x57443f,_0x14438d,_0xbcbc01,_0x5d4995,_0x5eb877){var _0x4ab6a7=_0x5a48c0;super(_0xa657e1,_0x454f88,_0x443f49,[],_0x28b5c5,_0x57443f,_0x5d4995,_0x4f9ffa,_0x5eb877),A(this,_0x4ab6a7(0x2bf),_0x4ab6a7(0x3d8)),A(this,_0x4ab6a7(0x3d0),0x0),A(this,_0x4ab6a7(0x2a7)),A(this,_0x4ab6a7(0x3b5)),(this[_0x4ab6a7(0x211)]=_0x6d4fdf,this[_0x4ab6a7(0x39b)]=_0x14438d,this['_transformService']=_0xbcbc01);}[_0x5a48c0(0x292)](_0x10d0ab){var _0x53d892=_0x5a48c0;this[_0x53d892(0x291)]();const _0x4cbc32=this[_0x53d892(0x211)][_0x53d892(0x444)](exports[_0x53d892(0xe6)],this['unitID'],this[_0x53d892(0x315)],this[_0x53d892(0x198)],[_0x10d0ab],this['_handler'],this[_0x53d892(0x2a7)]);return _0x4cbc32['_updateLocalCache'](),_0x4cbc32;}[_0x5a48c0(0x30e)](_0x15c257){var _0x1c1653=_0x5a48c0;if(this['_checkMissing'](_0x15c257))return this['_clearScheduledTask'](),this[_0x1c1653(0x211)][_0x1c1653(0x444)](exports[_0x1c1653(0x1d2)],this[_0x1c1653(0x3dc)],this[_0x1c1653(0x315)],this['_awaitingChangeset'],[],null,[_0x15c257],this[_0x1c1653(0x2c9)]);try{const _0x1f4d19=this[_0x1c1653(0x319)][_0x1c1653(0xf9)]([_0x15c257],[this['_awaitingChangeset']],!0x1);if(g[_0x1c1653(0x322)](_0x1f4d19)){const {c1Prime:_0x4fadbc,c2Prime:_0x379e90}=_0x1f4d19;this[_0x1c1653(0x28e)](_0x4fadbc[0x0]),_0x379e90[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x1c1653(0x291)]();const _0x25247e=this[_0x1c1653(0x211)][_0x1c1653(0x444)](exports['AwaitingState'],this[_0x1c1653(0x3dc)],this[_0x1c1653(0x315)],_0x379e90[0x0],this[_0x1c1653(0x2c9)]);return _0x25247e[_0x1c1653(0x14b)](),_0x25247e;}return this['_onConflict'](!0x1);}catch(_0x33e68c){return this['_logService'][_0x1c1653(0x16f)](_0x33e68c),this[_0x1c1653(0x2f6)](!0x1);}}['onRemoteAck'](_0x20a74c){var _0x1b6c74=_0x5a48c0;this['_clearScheduledTask']();const _0x15bb06=this['_revisionService'][_0x1b6c74(0x109)](this['unitID']);if(_0x20a74c[_0x1b6c74(0x317)]<_0x15bb06-0x1)return this;if(this[_0x1b6c74(0x3a9)](_0x20a74c))return this[_0x1b6c74(0x211)][_0x1b6c74(0x444)](exports[_0x1b6c74(0x1d2)],this[_0x1b6c74(0x3dc)],this[_0x1b6c74(0x315)],null,[],this[_0x1b6c74(0x198)],[],this[_0x1b6c74(0x2c9)]);this[_0x1b6c74(0x154)]();const _0x42806a=this[_0x1b6c74(0x211)][_0x1b6c74(0x444)](exports[_0x1b6c74(0x3c9)],this[_0x1b6c74(0x3dc)],this[_0x1b6c74(0x315)],this[_0x1b6c74(0x2c9)]);return _0x42806a[_0x1b6c74(0x14b)](),_0x42806a;}['onRemoteRej'](_0x2f7922){var _0x2a7fad=_0x5a48c0;return this[_0x2a7fad(0x2f6)](!!(_0x2f7922!=null&&_0x2f7922[_0x2a7fad(0x231)]));}[_0x5a48c0(0x27e)](_0x30d704){var _0x2e6d95=_0x5a48c0;return this[_0x2e6d95(0x3d0)]>Nt?this[_0x2e6d95(0x132)]():(this['_resendTimer']=yt(this[_0x2e6d95(0x3d0)],{'timeout':this[_0x2e6d95(0x3d0)],'reqId':_0x30d704[_0x2e6d95(0x2a1)]}),this['_sender']=this['_resendTimer'][_0x2e6d95(0x27f)](({reqId:_0x14d15a,timeout:_0x27c8b6})=>{var _0x6ad0c8=_0x2e6d95;this[_0x6ad0c8(0x22f)](_0x14d15a,_0x27c8b6);}),this);}[_0x5a48c0(0x132)](){var _0x13b264=_0x5a48c0;return this[_0x13b264(0x291)](),this[_0x13b264(0x211)][_0x13b264(0x444)](exports[_0x13b264(0x441)],this[_0x13b264(0x3dc)],this[_0x13b264(0x315)],this['_awaitingChangeset'],[],this[_0x13b264(0x2c9)]);}['toggleOnline'](){return this;}[_0x5a48c0(0x22d)](){var _0x23ba15=_0x5a48c0;this[_0x23ba15(0x2c9)][_0x23ba15(0x313)](this[_0x23ba15(0x198)]);}['_onConflict'](_0x2181db){var _0x69c28e=_0x5a48c0;return this[_0x69c28e(0x291)](),this[_0x69c28e(0x211)][_0x69c28e(0x444)](exports[_0x69c28e(0x1b3)],this[_0x69c28e(0x3dc)],this[_0x69c28e(0x315)],this[_0x69c28e(0x198)],[],this['_handler'],_0x2181db);}[_0x5a48c0(0x22f)](_0x542dc0,_0x2a936b){var _0x5952dd=_0x5a48c0,_0x41f82e;_0x542dc0===((_0x41f82e=this[_0x5952dd(0x198)])==null?void 0x0:_0x41f82e[_0x5952dd(0x2a1)])&&(this[_0x5952dd(0x22d)](),this[_0x5952dd(0x3d0)]=_0x2a936b===0x0?0x3e8:_0x2a936b*0x2);}[_0x5a48c0(0x291)](){var _0x506ce6=_0x5a48c0,_0x20eb63;(_0x20eb63=this[_0x506ce6(0x3b5)])==null||_0x20eb63[_0x506ce6(0x21f)](),this[_0x506ce6(0x3d0)]=0x0;}},exports[_0x5a48c0(0x18c)]=ce([w(0x4,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x30c)])),w(0x5,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x374)])),w(0x6,a['ICommandService']),w(0x7,a[_0x5a48c0(0x2e9)]),w(0x8,g[_0x5a48c0(0x2f5)]),w(0x9,a[_0x5a48c0(0x2d2)]),w(0xa,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0x18c)]),exports[_0x5a48c0(0xe6)]=class extends he{constructor(_0x473413,_0x34dd86,_0x586eb4,_0x247dd7,_0x6279ea,_0x1f6160,_0x4deef1,_0x3b72be,_0x38abd4,_0x566e72,_0x480773,_0x2e38cb,_0x50d34b){var _0x424971=_0x5a48c0;super(_0x473413,_0x34dd86,_0x586eb4,_0x247dd7,_0x6279ea,_0x38abd4,_0x2e38cb,_0x3b72be,_0x50d34b),A(this,'status','awaiting_with_pending'),A(this,_0x424971(0x3d0),0x0),A(this,_0x424971(0x2a7)),A(this,_0x424971(0x3b5)),(this[_0x424971(0x211)]=_0x4deef1,this['_logService']=_0x566e72,this[_0x424971(0x319)]=_0x480773,this['localCacheService']=_0x50d34b,_0x1f6160&&(this['_resendTimer']=_0x1f6160,this['_sender']=this[_0x424971(0x2a7)][_0x424971(0x27f)](({reqId:_0x4e5087,timeout:_0x370c1d})=>{var _0x4dd497=_0x424971;this[_0x4dd497(0x22f)](_0x4e5087,_0x370c1d);})));}[_0x5a48c0(0x292)](_0xf1fb7){var _0x588d23=_0x5a48c0;return this['_pendingMutations'][_0x588d23(0x437)](_0xf1fb7),this;}[_0x5a48c0(0x30e)](_0x364eb7){var _0x2eac47=_0x5a48c0;if(this[_0x2eac47(0x3a9)](_0x364eb7))return this[_0x2eac47(0x291)](),this[_0x2eac47(0x211)][_0x2eac47(0x444)](exports['FetchingMissState'],this[_0x2eac47(0x3dc)],this[_0x2eac47(0x315)],this[_0x2eac47(0x198)],this['_pendingMutations'],null,[_0x364eb7],this[_0x2eac47(0x2c9)]);try{const _0x1329dd=this[_0x2eac47(0x319)][_0x2eac47(0xf9)]([_0x364eb7],[this[_0x2eac47(0x198)]],!0x1);if(g[_0x2eac47(0x322)](_0x1329dd)){const {c1Prime:_0x483419,c2Prime:_0x1b7f4e}=_0x1329dd,_0x4285c0=this[_0x2eac47(0x319)]['transformMutationsWithChangeset'](_0x483419[0x0],this[_0x2eac47(0x1db)]);if(g[_0x2eac47(0x1e3)](_0x4285c0)){const {c1Prime:_0xda8336,m2Prime:_0x21f7fd}=_0x4285c0;return this[_0x2eac47(0x28e)](_0xda8336),_0x1b7f4e[0x0]['baseRev']=this[_0x2eac47(0x23d)](),this[_0x2eac47(0x291)](),this[_0x2eac47(0x211)][_0x2eac47(0x444)](exports[_0x2eac47(0xe6)],this[_0x2eac47(0x3dc)],this['type'],_0x1b7f4e[0x0],_0x21f7fd,this['_handler'],void 0x0);}throw _0x4285c0['error'];}throw _0x1329dd[_0x2eac47(0x16f)];}catch(_0x2f7720){return this['_logService'][_0x2eac47(0x16f)](_0x2f7720),this[_0x2eac47(0x2f6)](!0x1);}}[_0x5a48c0(0x14d)](_0x288a2c){var _0x52b9bb=_0x5a48c0;if(this[_0x52b9bb(0x291)](),this['_checkMissing'](_0x288a2c))return this[_0x52b9bb(0x211)]['createInstance'](exports[_0x52b9bb(0x1d2)],this[_0x52b9bb(0x3dc)],this[_0x52b9bb(0x315)],null,this[_0x52b9bb(0x1db)],this[_0x52b9bb(0x198)],[],this[_0x52b9bb(0x2c9)]);this['_incrementRevisionNumber']();const _0x3aae91=this[_0x52b9bb(0x211)][_0x52b9bb(0x444)](exports[_0x52b9bb(0x168)],this['unitID'],this[_0x52b9bb(0x315)],this['_pendingMutations'],this[_0x52b9bb(0x2c9)]);return _0x3aae91[_0x52b9bb(0x23a)](),_0x3aae91[_0x52b9bb(0x14b)](),_0x3aae91;}[_0x5a48c0(0x3bc)](_0x96d9b6){return this['_onConflict'](!!(_0x96d9b6!=null&&_0x96d9b6['isPermissionRej']));}[_0x5a48c0(0x27e)](_0x394562){var _0x316daf=_0x5a48c0;return this[_0x316daf(0x3d0)]>Nt?this[_0x316daf(0x132)]():(this[_0x316daf(0x2a7)]=yt(this['_resendTimeout'],{'timeout':this[_0x316daf(0x3d0)],'reqId':_0x394562['reqId']}),this[_0x316daf(0x3b5)]=this[_0x316daf(0x2a7)]['subscribe'](({reqId:_0x33cbb5,timeout:_0x13faeb})=>{this['_resendWithTimeout'](_0x33cbb5,_0x13faeb);}),this);}[_0x5a48c0(0x132)](){var _0xd36484=_0x5a48c0;return this['_clearScheduledTask'](),this[_0xd36484(0x211)][_0xd36484(0x444)](exports[_0xd36484(0x441)],this[_0xd36484(0x3dc)],this[_0xd36484(0x315)],this[_0xd36484(0x198)],this[_0xd36484(0x1db)],this[_0xd36484(0x2c9)]);}[_0x5a48c0(0x243)](){return this;}[_0x5a48c0(0x22d)](){var _0x341065=_0x5a48c0;this['_handler'][_0x341065(0x313)](this[_0x341065(0x198)]);}[_0x5a48c0(0x2f6)](_0x583587){var _0x4f5c92=_0x5a48c0;return this[_0x4f5c92(0x291)](),this[_0x4f5c92(0x211)][_0x4f5c92(0x444)](exports[_0x4f5c92(0x1b3)],this[_0x4f5c92(0x3dc)],this[_0x4f5c92(0x315)],null,this[_0x4f5c92(0x1db)],this[_0x4f5c92(0x2c9)],_0x583587);}['_resendWithTimeout'](_0x2b7b14,_0xd2e410){var _0x98628c=_0x5a48c0,_0x585c23;_0x2b7b14===((_0x585c23=this[_0x98628c(0x198)])==null?void 0x0:_0x585c23[_0x98628c(0x2a1)])&&(this[_0x98628c(0x22d)](),this[_0x98628c(0x3d0)]=_0xd2e410===0x0?0x3e8:_0xd2e410*0x2);}['_clearScheduledTask'](){var _0x4fb2cf=_0x5a48c0,_0x28c2be;(_0x28c2be=this[_0x4fb2cf(0x3b5)])==null||_0x28c2be[_0x4fb2cf(0x21f)](),this[_0x4fb2cf(0x3d0)]=0x0;}},exports[_0x5a48c0(0xe6)]=ce([w(0x6,a[_0x5a48c0(0xd9)](a['Injector'])),w(0x7,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x374)])),w(0x8,a[_0x5a48c0(0x206)]),w(0x9,a['ILogService']),w(0xa,g[_0x5a48c0(0x2f5)]),w(0xb,a[_0x5a48c0(0x2d2)]),w(0xc,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0xe6)]),exports[_0x5a48c0(0x1b3)]=class extends he{constructor(_0xfff45c,_0x33a908,_0xfe290e,_0x4ba67b,_0x38db5a,_0x34b2a6=!0x1,_0xceea2c,_0x545c7b,_0x3dff87,_0x25b4c8,_0x19075c,_0x151cc7,_0x24a318){var _0x28a0e5=_0x5a48c0;super(_0xfff45c,_0x33a908,_0xfe290e,_0x4ba67b,_0x38db5a,_0x545c7b,_0x3dff87,_0x25b4c8,_0x24a318),A(this,_0x28a0e5(0x2bf),_0x28a0e5(0x310)),(this[_0x28a0e5(0x40a)]=_0x34b2a6,this['_permissionService']=_0xceea2c,this[_0x28a0e5(0x40f)]=_0x19075c,this[_0x28a0e5(0x193)]=_0x151cc7,this['localCacheService']=_0x24a318,this[_0x28a0e5(0x1f7)](),this[_0x28a0e5(0x448)](),this[_0x28a0e5(0x240)]());}[_0x5a48c0(0x292)](){return this;}[_0x5a48c0(0x30e)](){return this;}['onRemoteAck'](){return this;}[_0x5a48c0(0x3bc)](){return this;}[_0x5a48c0(0x27e)](){return this;}[_0x5a48c0(0x132)](){return this;}['toggleOnline'](){return this;}[_0x5a48c0(0x22d)](){var _0x3db070=_0x5a48c0;throw new Error(_0x3db070(0x3e4));}[_0x5a48c0(0x448)](){var _0x407664=_0x5a48c0,_0x582ad1;(_0x582ad1=this[_0x407664(0x118)])==null||_0x582ad1[_0x407664(0x228)](this[_0x407664(0x3dc)],this[_0x407664(0x315)],null,[]);}['_showConflictNotification'](){var _0x55b7b7=_0x5a48c0;this['_isPermissionRej']?this[_0x55b7b7(0x193)]['emitEvent']({'id':Q[_0x55b7b7(0x219)]}):this[_0x55b7b7(0x193)][_0x55b7b7(0x33e)]({'id':Q[_0x55b7b7(0x2ca)]});}[_0x5a48c0(0x240)](){var _0x5b837e=_0x5a48c0;this[_0x5b837e(0x1e2)][_0x5b837e(0x399)](new Z['WorkbookEditablePermission'](this[_0x5b837e(0x3dc)])['id'],!0x1);}},exports[_0x5a48c0(0x1b3)]=ce([w(0x6,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x330)])),w(0x7,a[_0x5a48c0(0x206)]),w(0x8,a[_0x5a48c0(0x2d2)]),w(0x9,a['Inject'](g[_0x5a48c0(0x374)])),w(0xa,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x27b)])),w(0xb,a['Inject'](te)),w(0xc,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0x1b3)]),exports['OfflineState']=class extends he{constructor(_0x1b3c27,_0x25524e,_0x5e2a94,_0x4b1983,_0xe1e80d,_0xae9e6d,_0x316200,_0x403380,_0x137359,_0x1d81d4){var _0x24785b=_0x5a48c0;super(_0x1b3c27,_0x25524e,_0x5e2a94,_0x4b1983,_0xe1e80d,_0x403380,_0x137359,_0x316200,_0x1d81d4),A(this,'status',_0x24785b(0x146)),this['_injector']=_0xae9e6d;}[_0x5a48c0(0x292)](_0x34f2c3){var _0x34da30=_0x5a48c0;return this[_0x34da30(0x1db)][_0x34da30(0x437)](_0x34f2c3),this[_0x34da30(0x14b)](),this;}[_0x5a48c0(0x30e)](_0x3c55bc){var _0x5f437c=_0x5a48c0;throw new Error(_0x5f437c(0x2ad));}[_0x5a48c0(0x14d)](){var _0x3e3bb9=_0x5a48c0;throw new Error(_0x3e3bb9(0x2e7));}['onRemoteRej'](){var _0x577136=_0x5a48c0;throw new Error(_0x577136(0x29c));}[_0x5a48c0(0x27e)](){return this;}[_0x5a48c0(0x132)](){return this;}[_0x5a48c0(0x243)](){var _0x5a022e=_0x5a48c0;const {_injector:_0x55b4c2,_pendingMutations:_0x5ca601,_awaitingChangeset:_0x297620,unitID:_0x5ea015,_handler:_0x7a7057,type:_0x131c88}=this,_0x4bf806=Dt(_0x55b4c2,_0x5ea015,_0x131c88,_0x297620,_0x5ca601,_0x7a7057);return _0x4bf806 instanceof exports[_0x5a022e(0x168)]?_0x4bf806[_0x5a022e(0x23a)]():(_0x4bf806 instanceof exports[_0x5a022e(0xe6)]||_0x4bf806 instanceof exports['AwaitingState'])&&_0x4bf806[_0x5a022e(0x22d)](),_0x4bf806;}[_0x5a48c0(0x22d)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x5a48c0(0x441)]=ce([w(0x5,a['Inject'](a[_0x5a48c0(0x30c)])),w(0x6,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x374)])),w(0x7,a['ICommandService']),w(0x8,a[_0x5a48c0(0x2d2)]),w(0x9,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0x441)]),exports['FetchingMissState']=class extends he{constructor(_0x27819b,_0x5dcc36,_0x5df0af,_0x22a67c,_0x473e3a,_0x48d5cd,_0x381afd,_0x15715d,_0xe9717a,_0x2877fd,_0x13adcc,_0x26f8a3,_0x1c03d7,_0x3178fc){var _0x54b869=_0x5a48c0;super(_0x27819b,_0x5dcc36,_0x5df0af,_0x22a67c,_0x381afd,_0x13adcc,_0x26f8a3,_0xe9717a,_0x3178fc),A(this,_0x54b869(0x2bf),_0x54b869(0x37e)),(this['_acknowledgedAwaitingChangeset']=_0x473e3a,this[_0x54b869(0x100)]=_0x48d5cd,this['_injector']=_0x15715d,this[_0x54b869(0x39b)]=_0x2877fd,this[_0x54b869(0x319)]=_0x1c03d7,this[_0x54b869(0x42f)]=_0x3178fc);}[_0x5a48c0(0x311)](_0x2f5293){var _0x128f20=_0x5a48c0;try{const _0x2da616=[..._0x2f5293,...this[_0x128f20(0x100)]],_0x1a5efb=[this[_0x128f20(0x198)]||this[_0x128f20(0x40e)]][_0x128f20(0x15a)](_0x5afd93=>!!_0x5afd93);let _0x4d1170,_0x4da463;if(_0x1a5efb['length']){const _0xe40f57=this[_0x128f20(0x319)][_0x128f20(0xf9)](_0x2da616,_0x1a5efb,!0x1);if(!g[_0x128f20(0x322)](_0xe40f57))throw _0xe40f57[_0x128f20(0x16f)];_0x4d1170=_0xe40f57[_0x128f20(0x176)],_0x4da463=_0xe40f57[_0x128f20(0x393)];}else _0x4d1170=_0x2da616,_0x4da463=[];let _0x3e4eb9=this[_0x128f20(0x1db)];_0x4d1170[_0x128f20(0x1af)](_0x584d8e=>{var _0x1651b1=_0x128f20;let _0x36fa4e;if(_0x3e4eb9[_0x1651b1(0x143)]){const _0x48b2d5=this[_0x1651b1(0x319)][_0x1651b1(0x108)](_0x584d8e,_0x3e4eb9);if(!g[_0x1651b1(0x1e3)](_0x48b2d5))throw _0x48b2d5[_0x1651b1(0x16f)];_0x36fa4e=_0x48b2d5[_0x1651b1(0x176)],_0x3e4eb9=_0x48b2d5[_0x1651b1(0x19c)];}else _0x36fa4e=_0x584d8e;this[_0x1651b1(0x28e)](_0x36fa4e);}),this[_0x128f20(0x40e)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x4da463[_0x128f20(0x143)]&&(_0x4da463[0x0][_0x128f20(0x3d1)]=this[_0x128f20(0x23d)]());let _0x1914cc;if(this['_awaitingChangeset']&&_0x3e4eb9[_0x128f20(0x143)]!==0x0)_0x1914cc=this[_0x128f20(0x211)][_0x128f20(0x444)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x128f20(0x315)],_0x4da463[0x0],_0x3e4eb9,this[_0x128f20(0x2c9)],void 0x0);else{if(this[_0x128f20(0x198)]&&_0x3e4eb9[_0x128f20(0x143)]===0x0)_0x4da463[0x0]['baseRev']=this[_0x128f20(0x23d)](),_0x1914cc=this[_0x128f20(0x211)]['createInstance'](exports[_0x128f20(0x18c)],this['unitID'],this['type'],_0x4da463[0x0],this[_0x128f20(0x2c9)]);else{if(_0x3e4eb9[_0x128f20(0x143)]!==0x0){const _0x15cdaf=this['_injector'][_0x128f20(0x444)](exports[_0x128f20(0x168)],this[_0x128f20(0x3dc)],this[_0x128f20(0x315)],_0x3e4eb9,this['_handler']);_0x15cdaf[_0x128f20(0x23a)](),_0x1914cc=_0x15cdaf;}else _0x1914cc=this[_0x128f20(0x211)]['createInstance'](exports['SyncedState'],this[_0x128f20(0x3dc)],this['type'],this[_0x128f20(0x2c9)]);}}return _0x1914cc[_0x128f20(0x14b)](),_0x1914cc;}catch(_0x3b8ee1){return this['_logService']['error'](_0x128f20(0x3f6),_0x128f20(0x2f7),_0x3b8ee1),this[_0x128f20(0x211)][_0x128f20(0x444)](exports[_0x128f20(0x1b3)],this[_0x128f20(0x3dc)],this[_0x128f20(0x315)],this[_0x128f20(0x198)],this[_0x128f20(0x1db)],this[_0x128f20(0x2c9)],!0x1);}}['resend'](){var _0x339b69=_0x5a48c0;throw new Error(_0x339b69(0x3a6));}[_0x5a48c0(0x292)](_0x5610b5){var _0x277023=_0x5a48c0;return this[_0x277023(0x1db)][_0x277023(0x437)](_0x5610b5),this;}[_0x5a48c0(0x30e)](_0x274e34){var _0x2ec2a4=_0x5a48c0;return this[_0x2ec2a4(0x100)][_0x2ec2a4(0x437)](_0x274e34),this;}['onRemoteAck'](_0x463ba1){if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x3ada6a){var _0x461306=_0x5a48c0;return this[_0x461306(0x2f6)](!!(_0x3ada6a!=null&&_0x3ada6a[_0x461306(0x231)]));}[_0x5a48c0(0x27e)](){return this;}[_0x5a48c0(0x132)](){var _0x335f3d=_0x5a48c0;return this[_0x335f3d(0x211)][_0x335f3d(0x444)](exports[_0x335f3d(0x441)],this['unitID'],this[_0x335f3d(0x315)],this[_0x335f3d(0x198)],this[_0x335f3d(0x1db)],this[_0x335f3d(0x2c9)]);}[_0x5a48c0(0x243)](){return this;}[_0x5a48c0(0x2f6)](_0x472904){var _0x4c1c9b=_0x5a48c0;return this[_0x4c1c9b(0x211)]['createInstance'](exports[_0x4c1c9b(0x1b3)],this[_0x4c1c9b(0x3dc)],this[_0x4c1c9b(0x315)],this[_0x4c1c9b(0x198)],this[_0x4c1c9b(0x1db)],this[_0x4c1c9b(0x2c9)],_0x472904);}},exports['FetchingMissState']=ce([w(0x7,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x30c)])),w(0x8,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x374)])),w(0x9,a['ILogService']),w(0xa,a[_0x5a48c0(0x206)]),w(0xb,a['IUndoRedoService']),w(0xc,g[_0x5a48c0(0x2f5)]),w(0xd,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0x1d2)]);function Dt(_0x53c76a,_0x56ec39,_0x3254cc,_0x30c67f,_0x182880,_0x59a5e2){var _0x3354c8=_0x5a48c0;return _0x30c67f&&_0x182880[_0x3354c8(0x143)]?_0x53c76a[_0x3354c8(0x444)](exports[_0x3354c8(0xe6)],_0x56ec39,_0x3254cc,_0x30c67f,_0x182880,_0x59a5e2,void 0x0):_0x30c67f?_0x53c76a[_0x3354c8(0x444)](exports[_0x3354c8(0x18c)],_0x56ec39,_0x3254cc,_0x30c67f,_0x59a5e2):_0x182880['length']?_0x53c76a['createInstance'](exports[_0x3354c8(0x168)],_0x56ec39,_0x3254cc,_0x182880,_0x59a5e2):_0x53c76a[_0x3354c8(0x444)](exports[_0x3354c8(0x3c9)],_0x56ec39,_0x3254cc,_0x59a5e2);}var Ci=Object[_0x5a48c0(0xe7)],We=(_0x3e6150,_0x46cd79,_0x451d4a,_0x80f897)=>{var _0x1fdfc0=_0x5a48c0;for(var _0x3c60d6=_0x80f897>0x1?void 0x0:_0x80f897?Ci(_0x46cd79,_0x451d4a):_0x46cd79,_0x478606=_0x3e6150[_0x1fdfc0(0x143)]-0x1,_0x45eebb;_0x478606>=0x0;_0x478606--)(_0x45eebb=_0x3e6150[_0x478606])&&(_0x3c60d6=_0x45eebb(_0x3c60d6)||_0x3c60d6);return _0x3c60d6;},$=(_0x39e7db,_0xce8b2e)=>(_0x167a42,_0x31f158)=>_0xce8b2e(_0x167a42,_0x31f158,_0x39e7db);exports[_0x5a48c0(0x142)]=class extends a[_0x5a48c0(0x3bb)]{constructor(_0x14e087,_0x336078,_0x23bfe3,_0x61ae49,_0xdd291e,_0x3bcbef,_0x49ccd2,_0x29fcd3,_0x40eab1,_0x18f8f3,_0x22c577,_0xb610cb,_0x5f05ce){var _0x48d0be=_0x5a48c0;super(),A(this,'_state$',new j[(_0x48d0be(0x1d4))](null)),A(this,_0x48d0be(0x326),this[_0x48d0be(0x320)]['asObservable']()),A(this,_0x48d0be(0x276)),A(this,_0x48d0be(0x3a2),!0x1),A(this,'_changesetSessionId',''),A(this,_0x48d0be(0x30a),0x0),A(this,_0x48d0be(0x230),this[_0x48d0be(0x326)][_0x48d0be(0x1ce)](j['map'](_0x3cc5e2=>_0x3cc5e2?_0x3cc5e2[_0x48d0be(0x2bf)]:Ve[_0x48d0be(0x1fa)]),j[_0x48d0be(0x404)](0x1))),A(this,_0x48d0be(0x39f),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x48d0be(0x3dc)]=_0x14e087,this[_0x48d0be(0x2ed)]=_0x336078,this[_0x48d0be(0x2f0)]=_0x23bfe3,this[_0x48d0be(0x211)]=_0x61ae49,this[_0x48d0be(0x3f5)]=_0xdd291e,this[_0x48d0be(0x40f)]=_0x3bcbef,this[_0x48d0be(0x42b)]=_0x49ccd2,this[_0x48d0be(0x1a7)]=_0x29fcd3,this[_0x48d0be(0x39b)]=_0x40eab1,this[_0x48d0be(0x3be)]=_0x18f8f3,this['_permissionService']=_0x22c577,this[_0x48d0be(0x1c8)]=_0xb610cb,this[_0x48d0be(0x118)]=_0x5f05ce);}get[_0x5a48c0(0x2de)](){var _0x2d3168=_0x5a48c0;return this[_0x2d3168(0x276)];}async['init'](){var _0xad47fe=_0x5a48c0;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0xad47fe(0x302)]();}['pauseCollaboration'](){var _0x197789=_0x5a48c0;return this['_collaborationPaused']=!0x0,a[_0x197789(0x255)](()=>{var _0x3f02ab=_0x197789;this[_0x3f02ab(0x3a2)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x5a48c0(0x301)](_0x13a687){var _0x310fd1=_0x5a48c0;this[_0x310fd1(0x18e)](_0x13a687);}[_0x5a48c0(0x131)](_0x1921a3){var _0x3304ee=_0x5a48c0;this[_0x3304ee(0x276)]=_0x1921a3,this['_state$'][_0x3304ee(0x110)](_0x1921a3);}async['_init'](){var _0x5dc930=_0x5a48c0,_0x2643d2;this[_0x5dc930(0x131)](await this[_0x5dc930(0x21a)]()),this[_0x5dc930(0x1c8)]&&((_0x2643d2=this['_singleActiveUnitService'])==null||_0x2643d2[_0x5dc930(0x2bb)](this[_0x5dc930(0x3dc)]),this[_0x5dc930(0x439)](this[_0x5dc930(0x1c8)][_0x5dc930(0x389)](this[_0x5dc930(0x3dc)])[_0x5dc930(0x27f)](_0x278a57=>{var _0x544fdc=_0x5dc930;this['_logService']['debug'](_0x544fdc(0x41e),_0x544fdc(0x359),_0x278a57),_0x278a57===Fe[_0x544fdc(0x272)]?(this[_0x544fdc(0x1a7)][_0x544fdc(0x33e)]({'id':Q['OTHER_CLIENT_EDITING']}),this[_0x544fdc(0x1e2)][_0x544fdc(0x399)](new Z['WorkbookEditablePermission'](this[_0x544fdc(0x3dc)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x544fdc(0x1e2)][_0x544fdc(0x399)](new Z[(_0x544fdc(0x256))](this[_0x544fdc(0x3dc)])['id'],!0x0),this[_0x544fdc(0x1e2)][_0x544fdc(0x34d)](!0x0));})));let _0x5d9e99=!0x1;return this[_0x5dc930(0x439)](this[_0x5dc930(0x2ed)][_0x5dc930(0x182)][_0x5dc930(0x27f)](_0x1317df=>{var _0x4fc681=_0x5dc930;_0x1317df===se[_0x4fc681(0x160)]?this['_toggleOnline'](_0x5d9e99):_0x1317df===se[_0x4fc681(0x1fa)]&&(_0x5d9e99=!0x0,this['_toggleOffline']());})),this[_0x5dc930(0x439)](this[_0x5dc930(0x2ed)][_0x5dc930(0x306)][_0x5dc930(0x27f)](_0x591761=>{var _0x157d31=_0x5dc930;try{switch(_0x591761[_0x157d31(0x144)]){case g[_0x157d31(0x166)]['NEW_CHANGESETS']:{this[_0x157d31(0x1b8)](g['parseProtocolChangeset'](_0x591761[_0x157d31(0x332)]));break;}case g[_0x157d31(0x166)][_0x157d31(0x378)]:{this['_onRemoteACK'](_0x591761['data']);break;}case g[_0x157d31(0x166)][_0x157d31(0x218)]:{this[_0x157d31(0x2d4)]();break;}case g[_0x157d31(0x166)]['CHANGESET_SHOULD_RETRY']:{this[_0x157d31(0x26f)](_0x591761['data']);break;}case g[_0x157d31(0x166)][_0x157d31(0x19b)]:{this[_0x157d31(0x35c)](_0x591761[_0x157d31(0x332)][_0x157d31(0x349)][_0x157d31(0x2f9)](_0x595656=>g['parseProtocolChangeset'](_0x595656)));break;}case g['CollaborationEvent']['PERMISSION_REJ']:{this[_0x157d31(0x2d4)]({'isPermissionRej':!0x0});break;}case g[_0x157d31(0x166)][_0x157d31(0x1d3)]:break;}}catch(_0x3ac152){throw console['error'](_0x157d31(0x235),_0x3ac152),_0x3ac152;}})),this[_0x5dc930(0x276)];}[_0x5a48c0(0x2be)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x5e2b17=_0x5a48c0;if(this['_transitionLocked'])throw new Error(_0x5e2b17(0x436));this['_transitionLocked']=!0x0;}[_0x5a48c0(0x18e)](_0x202550){var _0x452647=_0x5a48c0;this[_0x452647(0x15e)](),this[_0x452647(0x131)](this[_0x452647(0x276)][_0x452647(0x292)](_0x202550)),this[_0x452647(0x2be)]();}['_onRemoteChangeset'](_0x314a20){var _0x4fcb81=_0x5a48c0;if(!(_0x314a20[_0x4fcb81(0x317)]<=this[_0x4fcb81(0x42b)][_0x4fcb81(0x109)](this[_0x4fcb81(0x3dc)]))){if(this[_0x4fcb81(0x3a2)]){this['_remoteChangesetQueue'][_0x4fcb81(0x437)](_0x314a20);return;}this[_0x4fcb81(0x428)](_0x314a20);}}[_0x5a48c0(0x3fa)](){var _0x55d518=_0x5a48c0;this[_0x55d518(0x395)]['forEach'](_0x234c30=>this['_applyRemoteChangeset'](_0x234c30)),this[_0x55d518(0x395)]=[];}[_0x5a48c0(0x428)](_0x433228){var _0x4a9a08=_0x5a48c0;const _0x13c6e6=this['_compressMutationService'][_0x4a9a08(0x387)][_0x4a9a08(0x331)](this[_0x4a9a08(0x3f5)][_0x4a9a08(0x387)][_0x4a9a08(0x36f)]()[_0x4a9a08(0x283)])(_0x433228[_0x4a9a08(0x430)],null)||_0x433228[_0x4a9a08(0x430)],_0x103154={..._0x433228,'mutations':_0x13c6e6};this[_0x4a9a08(0x15e)](),this[_0x4a9a08(0x131)](this[_0x4a9a08(0x276)]['onRemoteChangeset'](_0x103154)),this[_0x4a9a08(0x2be)]();}[_0x5a48c0(0x1b6)](_0x2db629){var _0x18faf0=_0x5a48c0;this[_0x18faf0(0x15e)](),this[_0x18faf0(0x131)](this[_0x18faf0(0x276)][_0x18faf0(0x14d)](_0x2db629)),this['_unlockTransition']();}[_0x5a48c0(0x2d4)](_0x42befe){var _0x4e5e78=_0x5a48c0;this[_0x4e5e78(0x15e)](),this['_updateState'](this[_0x4e5e78(0x276)]['onRemoteRej'](_0x42befe)),this[_0x4e5e78(0x2be)]();}[_0x5a48c0(0x26f)](_0x5aec34){var _0x5677db=_0x5a48c0;this['_lockTransition'](),this['_updateState'](this[_0x5677db(0x276)][_0x5677db(0x27e)](_0x5aec34)),this[_0x5677db(0x2be)]();}[_0x5a48c0(0x35c)](_0x355938){var _0x520407=_0x5a48c0;if(!(this[_0x520407(0x276)]instanceof exports[_0x520407(0x1d2)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x5bf3d9=_0x355938[_0x520407(0x2f9)](_0x5b71f2=>{var _0x35a784=_0x520407;const _0x29b44c=this[_0x35a784(0x3f5)][_0x35a784(0x387)][_0x35a784(0x331)](this[_0x35a784(0x3f5)]['interceptor'][_0x35a784(0x36f)]()[_0x35a784(0x283)])(_0x5b71f2[_0x35a784(0x430)],null)||_0x5b71f2[_0x35a784(0x430)];return{..._0x5b71f2,'mutations':_0x29b44c};});this[_0x520407(0x15e)](),this['_updateState'](this[_0x520407(0x276)][_0x520407(0x311)](_0x5bf3d9)),this['_unlockTransition']();}[_0x5a48c0(0x3c0)](){var _0x45dcb5=_0x5a48c0;this[_0x45dcb5(0x15e)](),this[_0x45dcb5(0x131)](this[_0x45dcb5(0x276)][_0x45dcb5(0x132)]()),this[_0x45dcb5(0x2be)]();}['_toggleOnline'](_0x108ce4=!0x1){var _0x1aad80=_0x5a48c0;this[_0x1aad80(0x15e)](),this[_0x1aad80(0x131)](this[_0x1aad80(0x276)]['toggleOnline']()),this[_0x1aad80(0x2be)]();const _0x81f7f7=this[_0x1aad80(0x276)];_0x108ce4&&_0x81f7f7 instanceof exports[_0x1aad80(0x3c9)]&&(this['_lockTransition'](),this[_0x1aad80(0x131)](_0x81f7f7[_0x1aad80(0x196)]()),this[_0x1aad80(0x2be)]());}async[_0x5a48c0(0x21a)](){return new Promise(_0x4c0209=>{var _0x92ba68=_0x5815;this[_0x92ba68(0x2ed)][_0x92ba68(0x182)][_0x92ba68(0x1ce)](j[_0x92ba68(0x1f5)](0x1))[_0x92ba68(0x27f)](async _0x2bba01=>{var _0x2487e5=_0x92ba68;_0x4c0209(await this['_createInitialStateImpl'](_0x2bba01===se[_0x2487e5(0x160)]));});});}[_0x5a48c0(0x126)](){var _0x22c6c2=_0x5a48c0;const _0x3e70cc=this[_0x22c6c2(0x3dc)];return{'onStateChange':(_0x376ddd,_0x346b99)=>{var _0x250642=_0x22c6c2;if(_0x376ddd!==this[_0x250642(0x276)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x376ddd[_0x250642(0x2bf)]+_0x250642(0x371)+_0x346b99['status']+'\x0aCurrent:\x20'+this[_0x250642(0x276)][_0x250642(0x2bf)]);this[_0x250642(0x131)](_0x346b99);},'onSendChangeset':_0x5d05a3=>{var _0x2c1a03=_0x22c6c2;_0x5d05a3[_0x2c1a03(0x390)]||(_0x5d05a3[_0x2c1a03(0x390)]=this[_0x2c1a03(0x3ab)],_0x5d05a3['reqId']=++this[_0x2c1a03(0x30a)]);const _0x323ea5={'eventID':g['CollaborationEvent'][_0x2c1a03(0x39e)],'data':{'unitID':_0x5d05a3[_0x2c1a03(0x3dc)],'unitType':this[_0x2c1a03(0x2f0)],'changeset':_0x5d05a3,'memberID':this[_0x2c1a03(0x2ed)][_0x2c1a03(0x321)]()}};this[_0x2c1a03(0x2ed)]['send'](_0x323ea5,this[_0x2c1a03(0x3dc)]);},'onMissingChangesets':({from:_0x3bd82a,to:_0x34afc7})=>{var _0xa6fc05=_0x22c6c2;this[_0xa6fc05(0x39b)][_0xa6fc05(0x3a3)](_0xa6fc05(0x41e),_0xa6fc05(0x2b3)+_0x3bd82a+'\x20to\x20'+_0x34afc7);const _0x509b2b={'eventID':g[_0xa6fc05(0x166)]['FETCH_MISSING'],'data':{'unitID':_0x3e70cc,'unitType':this[_0xa6fc05(0x2f0)],'from':_0x3bd82a,'to':_0x34afc7}};this[_0xa6fc05(0x2ed)][_0xa6fc05(0x1bd)](_0x509b2b,this[_0xa6fc05(0x3dc)]);}};}async['_createInitialStateImpl'](_0x536ee9){var _0x4fc108=_0x5a48c0,_0x4672ff,_0x3e7905,_0x3c03f1;const _0x57c7da=await((_0x4672ff=this[_0x4fc108(0x118)])==null?void 0x0:_0x4672ff['loadOfflineData'](this[_0x4fc108(0x3dc)])),_0x20bc59=(_0x3e7905=_0x57c7da==null?void 0x0:_0x57c7da[_0x4fc108(0x430)])!=null?_0x3e7905:[],_0x44fa93=(_0x3c03f1=_0x57c7da==null?void 0x0:_0x57c7da[_0x4fc108(0x259)])!=null?_0x3c03f1:null,_0x129c1f=!!(_0x44fa93!=null&&_0x44fa93['sid'])&&!!(_0x44fa93!=null&&_0x44fa93['reqId']);this[_0x4fc108(0x3ab)]=_0x129c1f?_0x44fa93[_0x4fc108(0x390)]:di(),this[_0x4fc108(0x30a)]=_0x129c1f?_0x44fa93[_0x4fc108(0x2a1)]:0x0;const _0x44bac2=this[_0x4fc108(0x3dc)];try{this[_0x4fc108(0x2dd)](_0x44fa93,_0x20bc59);}catch(_0x29393d){this[_0x4fc108(0x39b)]['error'](_0x29393d);}const _0x23146e=this['_createHandler']();if(_0x536ee9){const _0x35b3d6=Dt(this[_0x4fc108(0x211)],_0x44bac2,this[_0x4fc108(0x2f0)],_0x44fa93,_0x20bc59,_0x23146e);return _0x35b3d6 instanceof exports['PendingState']?_0x35b3d6[_0x4fc108(0x23a)]():(_0x35b3d6 instanceof exports[_0x4fc108(0xe6)]||_0x35b3d6 instanceof exports[_0x4fc108(0x18c)])&&_0x35b3d6[_0x4fc108(0x22d)](),_0x35b3d6;}return this[_0x4fc108(0x211)]['createInstance'](exports[_0x4fc108(0x441)],_0x44bac2,this[_0x4fc108(0x2f0)],_0x44fa93,_0x20bc59,_0x23146e);}[_0x5a48c0(0x2dd)](_0x118b94,_0x420da1){var _0x20de9b=_0x5a48c0,_0x1abcfc,_0xc5714a;const _0x452424=this[_0x20de9b(0x3f5)][_0x20de9b(0x387)][_0x20de9b(0x331)](this['_compressMutationService'][_0x20de9b(0x387)][_0x20de9b(0x36f)]()['COMPRESS_MUTATION_APPLY']);(_0x1abcfc=_0x452424((_0x118b94==null?void 0x0:_0x118b94[_0x20de9b(0x430)])||[],null))==null||_0x1abcfc[_0x20de9b(0x1af)](_0x3d225a=>this[_0x20de9b(0x3be)][_0x20de9b(0x26b)](_0x3d225a['id'],_0x3d225a['params'])),(_0xc5714a=_0x452424(_0x420da1||[],null))==null||_0xc5714a[_0x20de9b(0x1af)](_0x12def0=>this[_0x20de9b(0x3be)][_0x20de9b(0x26b)](_0x12def0['id'],_0x12def0['params']));}},exports[_0x5a48c0(0x142)]=We([$(0x3,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x30c)])),$(0x4,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x39c)])),$(0x5,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x27b)])),$(0x6,a['Inject'](g[_0x5a48c0(0x374)])),$(0x7,a[_0x5a48c0(0xd9)](te)),$(0x8,a[_0x5a48c0(0x2e9)]),$(0x9,a[_0x5a48c0(0x206)]),$(0xa,a[_0x5a48c0(0x330)]),$(0xb,a[_0x5a48c0(0x41d)](ve)),$(0xc,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0x142)]),exports['DocCollaborationEntity']=class extends exports[_0x5a48c0(0x142)]{constructor(_0x43d48b,_0x5e5e69,_0x1bcb31,_0x2ed569,_0x20a996,_0x448def,_0x25a02e,_0x421946,_0x229ff5,_0x56cfd1,_0x517e78,_0x407768,_0x48dc33){var _0x317c04=_0x5a48c0;super(_0x43d48b,_0x1bcb31,_0x5e5e69,_0x2ed569,_0x20a996,_0x448def,_0x25a02e,_0x421946,_0x229ff5,_0x56cfd1,_0x517e78,_0x407768,_0x48dc33),A(this,'_handlerCallback',null),(this[_0x317c04(0x3dc)]=_0x43d48b,this[_0x317c04(0x315)]=_0x5e5e69);}[_0x5a48c0(0x242)](_0x21956b){this['_handlerCallback']=_0x21956b;}[_0x5a48c0(0x31c)](){this['_handlerCallback']=null,super['dispose']();}[_0x5a48c0(0x126)](){var _0x3dd826=_0x5a48c0;const _0x1b074c=super[_0x3dd826(0x126)]();return _0x1b074c[_0x3dd826(0x345)]=_0x23b76d=>{var _0x53d06f=_0x3dd826,_0x2d2741,_0x45d9c8;return(_0x45d9c8=(_0x2d2741=this['_handlerCallback'])==null?void 0x0:_0x2d2741[_0x53d06f(0x345)])==null?void 0x0:_0x45d9c8['call'](_0x2d2741,_0x23b76d);},_0x1b074c['onTransformState']=_0x2be0c0=>{var _0x3ab06d=_0x3dd826,_0x1fd396,_0x244696;return(_0x244696=(_0x1fd396=this[_0x3ab06d(0x3b6)])==null?void 0x0:_0x1fd396[_0x3ab06d(0x38a)])==null?void 0x0:_0x244696['call'](_0x1fd396,_0x2be0c0);},_0x1b074c[_0x3dd826(0xfb)]=_0x17178e=>{var _0x352070=_0x3dd826,_0x5fba0,_0x5c9df8;return(_0x5c9df8=(_0x5fba0=this[_0x352070(0x3b6)])==null?void 0x0:_0x5fba0[_0x352070(0xfb)])==null?void 0x0:_0x5c9df8['call'](_0x5fba0,_0x17178e);},_0x1b074c[_0x3dd826(0x2b4)]=_0xadecdf=>{var _0x2a8d6f=_0x3dd826,_0x5c33d2,_0x33967b;return(_0x33967b=(_0x5c33d2=this[_0x2a8d6f(0x3b6)])==null?void 0x0:_0x5c33d2['onSyncEditingCollabCursor'])==null?void 0x0:_0x33967b[_0x2a8d6f(0x3f8)](_0x5c33d2,_0xadecdf);},_0x1b074c['onTransformRemoteChangesetByIMECache']=_0x1c3966=>{var _0x26fa66=_0x3dd826,_0x29f596,_0x101fa1,_0x179dca;if(!((_0x29f596=this[_0x26fa66(0x3b6)])!=null&&_0x29f596[_0x26fa66(0x28b)]))throw new Error(_0x26fa66(0x124));return(_0x179dca=(_0x101fa1=this[_0x26fa66(0x3b6)])==null?void 0x0:_0x101fa1[_0x26fa66(0x28b)])==null?void 0x0:_0x179dca[_0x26fa66(0x3f8)](_0x101fa1,_0x1c3966);},_0x1b074c['onTransformRemoteChangesetByStateCache']=_0x1d3f30=>{var _0x3bdee5=_0x3dd826,_0x45db17,_0x1d228a,_0x1b5033;if(!((_0x45db17=this['_handlerCallback'])!=null&&_0x45db17[_0x3bdee5(0x11e)]))throw new Error(_0x3bdee5(0x308));return(_0x1b5033=(_0x1d228a=this[_0x3bdee5(0x3b6)])==null?void 0x0:_0x1d228a[_0x3bdee5(0x11e)])==null?void 0x0:_0x1b5033[_0x3bdee5(0x3f8)](_0x1d228a,_0x1d3f30);},_0x1b074c;}async[_0x5a48c0(0x302)](){var _0x5f4c01=_0x5a48c0;const _0x440833=await super[_0x5f4c01(0x302)]();return this[_0x5f4c01(0x439)](this[_0x5f4c01(0x3be)][_0x5f4c01(0x30f)]((_0x5afe23,_0x1ab188)=>{var _0x420bbe=_0x5f4c01;if(_0x5afe23[_0x420bbe(0x315)]!==a[_0x420bbe(0xfa)][_0x420bbe(0x414)]||_0x1ab188!=null&&_0x1ab188[_0x420bbe(0x2ee)]||_0x1ab188!=null&&_0x1ab188[_0x420bbe(0x367)]||_0x5afe23['id']===ut[_0x420bbe(0x432)]['id'])return;const _0x1b91a=_0x5afe23[_0x420bbe(0x2cd)];if((_0x1b91a==null?void 0x0:_0x1b91a[_0x420bbe(0x1cb)])!==this[_0x420bbe(0x3dc)])return;const _0x4623c0=_0x5afe23,_0x351a3c=this[_0x420bbe(0x3f5)][_0x420bbe(0x387)]['fetchThroughInterceptors'](this[_0x420bbe(0x3f5)]['interceptor'][_0x420bbe(0x36f)]()['COMPRESS_MUTATION_SEND'])([_0x4623c0],null)||[_0x4623c0];this[_0x420bbe(0x18e)](_0x351a3c[0x0]);})),_0x440833;}},exports[_0x5a48c0(0x356)]=We([$(0x3,a['Inject'](a[_0x5a48c0(0x30c)])),$(0x4,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x39c)])),$(0x5,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x27b)])),$(0x6,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x374)])),$(0x7,a[_0x5a48c0(0xd9)](te)),$(0x8,a['ILogService']),$(0x9,a[_0x5a48c0(0x206)]),$(0xa,a[_0x5a48c0(0x330)]),$(0xb,a[_0x5a48c0(0x41d)](ve)),$(0xc,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0x356)]),exports[_0x5a48c0(0x3ad)]=class extends exports[_0x5a48c0(0x142)]{constructor(_0xe4c0be,_0x590e70,_0x12ab40,_0x4a001f,_0x100692,_0x275fd4,_0x1ae7c7,_0x2c3903,_0xb6b3,_0x53e029,_0x2a36c3,_0x19215c,_0x357d47,_0x212fcd){var _0x5700ab=_0x5a48c0;super(_0xe4c0be,_0x12ab40,_0x590e70,_0x4a001f,_0x100692,_0x275fd4,_0x1ae7c7,_0xb6b3,_0x53e029,_0x2a36c3,_0x19215c,_0x357d47,_0x212fcd),this[_0x5700ab(0x3dc)]=_0xe4c0be,this[_0x5700ab(0x315)]=_0x590e70,this[_0x5700ab(0xf4)]=_0x2c3903;}[_0x5a48c0(0x126)](){var _0x1c08a9=_0x5a48c0;const _0x4e9020=super[_0x1c08a9(0x126)]();return _0x4e9020[_0x1c08a9(0xfb)]=_0x50c25e=>this[_0x1c08a9(0xf4)][_0x1c08a9(0x342)](_0x50c25e),_0x4e9020;}async[_0x5a48c0(0x302)](){var _0x1466d5=_0x5a48c0;const _0x219292=await super[_0x1466d5(0x302)]();return this[_0x1466d5(0x439)](this[_0x1466d5(0x3be)][_0x1466d5(0x30f)]((_0x401568,_0x5b5fd6)=>{var _0x1b5852=_0x1466d5;if(_0x401568[_0x1b5852(0x315)]!==a[_0x1b5852(0xfa)][_0x1b5852(0x414)]||_0x5b5fd6!=null&&_0x5b5fd6[_0x1b5852(0x2ee)]||_0x5b5fd6!=null&&_0x5b5fd6[_0x1b5852(0x367)])return;const _0x553d0f=_0x401568[_0x1b5852(0x2cd)];if((_0x553d0f==null?void 0x0:_0x553d0f['unitId'])!==this[_0x1b5852(0x3dc)])return;const _0xed0fa0=_0x401568,_0x4c7fa1=this['_compressMutationService'][_0x1b5852(0x387)]['fetchThroughInterceptors'](this[_0x1b5852(0x3f5)][_0x1b5852(0x387)]['getInterceptPoints']()[_0x1b5852(0x138)])([_0xed0fa0],null)||[_0xed0fa0];this[_0x1b5852(0x18e)](_0x4c7fa1[0x0]);})),_0x219292;}},exports[_0x5a48c0(0x3ad)]=We([$(0x3,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x30c)])),$(0x4,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x39c)])),$(0x5,a[_0x5a48c0(0xd9)](a['LocaleService'])),$(0x6,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x374)])),$(0x7,a['Inject'](exports['SheetTransformSelectionsService'])),$(0x8,a[_0x5a48c0(0xd9)](te)),$(0x9,a[_0x5a48c0(0x2e9)]),$(0xa,a[_0x5a48c0(0x206)]),$(0xb,a['IPermissionService']),$(0xc,a[_0x5a48c0(0x41d)](ve)),$(0xd,a['Optional'](z))],exports[_0x5a48c0(0x3ad)]);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x50a83b,_0x56a4b8,_0x4a9224,_0x401116)=>{for(var _0x1b6329=_0x401116>0x1?void 0x0:_0x401116?Ti(_0x56a4b8,_0x4a9224):_0x56a4b8,_0x1867e8=_0x50a83b['length']-0x1,_0x1a9ec6;_0x1867e8>=0x0;_0x1867e8--)(_0x1a9ec6=_0x50a83b[_0x1867e8])&&(_0x1b6329=_0x1a9ec6(_0x1b6329)||_0x1b6329);return _0x1b6329;},Pe=(_0x1d74c4,_0x45f267)=>(_0x1b2428,_0x33373d)=>_0x45f267(_0x1b2428,_0x33373d,_0x1d74c4);exports[_0x5a48c0(0x141)]=class extends a[_0x5a48c0(0x3bb)]{constructor(_0x438adc,_0x99b153,_0x26347a){var _0x3abc4b=_0x5a48c0;super(),A(this,'_entities',new Map()),A(this,'_entityInit$',new j[(_0x3abc4b(0x426))]()),A(this,_0x3abc4b(0x1ea),this[_0x3abc4b(0x3b8)]['asObservable']()),(this[_0x3abc4b(0x211)]=_0x438adc,this[_0x3abc4b(0x297)]=_0x99b153,this['_univerInstanceService']=_0x26347a,this[_0x3abc4b(0x302)]());}[_0x5a48c0(0x31c)](){var _0x3d7d55=_0x5a48c0;super['dispose'](),this[_0x3d7d55(0x31f)][_0x3d7d55(0x1af)](_0x17f5e5=>_0x17f5e5[_0x3d7d55(0x31c)]()),this['_entities'][_0x3d7d55(0x380)]();}[_0x5a48c0(0xfe)](_0x1f6d83){var _0x5cb15c=_0x5a48c0,_0x28ae73;return(_0x28ae73=this[_0x5cb15c(0x31f)][_0x5cb15c(0x39a)](_0x1f6d83))!=null?_0x28ae73:null;}['getCollabEntity$'](_0x3121ab){var _0x474890=_0x5a48c0;const _0x3cf386=this['getCollabEntity'](_0x3121ab);return _0x3cf386?j['of'](_0x3cf386):this['_entityInit$'][_0x474890(0x1ce)](V[_0x474890(0x15a)](_0x418b3b=>_0x418b3b[_0x474890(0x3dc)]===_0x3121ab));}['readyForCollab'](_0x5f28c3){var _0x236942=_0x5a48c0;return j[_0x236942(0xdd)](this[_0x236942(0x224)](_0x5f28c3)[_0x236942(0x1ce)](V[_0x236942(0x2f9)](()=>{})));}[_0x5a48c0(0x302)](){var _0x305767=_0x5a48c0;this[_0x305767(0x421)]['getTypeOfUnitAdded$'](a[_0x305767(0x442)][_0x305767(0x3b2)])[_0x305767(0x1ce)](j['takeUntil'](this[_0x305767(0x2e3)]),V['delay'](0x10))[_0x305767(0x27f)](async _0x2496fe=>{var _0x37489a=_0x305767;const _0x400bab=_0x2496fe[_0x37489a(0x123)](),_0x51fd1e=await this[_0x37489a(0x2c5)](_0x400bab,X['UNIVER_SHEET']);this[_0x37489a(0x31f)][_0x37489a(0x3d5)](_0x400bab,_0x51fd1e);}),this[_0x305767(0x421)][_0x305767(0x204)](a[_0x305767(0x442)][_0x305767(0x327)])[_0x305767(0x1ce)](j[_0x305767(0x136)](this[_0x305767(0x2e3)]),V[_0x305767(0x187)](0x10))[_0x305767(0x1ce)](V[_0x305767(0x15a)](_0x52bc96=>!_0x52bc96[_0x305767(0x123)]()[_0x305767(0x3dd)]('__')))[_0x305767(0x27f)](async _0x1d9a78=>{var _0x163c0b=_0x305767;const _0x558922=_0x1d9a78[_0x163c0b(0x123)](),_0x1ac020=await this[_0x163c0b(0x2c5)](_0x558922,X[_0x163c0b(0x327)]);this[_0x163c0b(0x31f)][_0x163c0b(0x3d5)](_0x558922,_0x1ac020);}),j[_0x305767(0x149)](this[_0x305767(0x421)][_0x305767(0x3fb)](a[_0x305767(0x442)][_0x305767(0x3b2)]),this[_0x305767(0x421)][_0x305767(0x3fb)](a[_0x305767(0x442)][_0x305767(0x327)]))[_0x305767(0x1ce)](j[_0x305767(0x136)](this[_0x305767(0x2e3)]))[_0x305767(0x27f)](_0x182afd=>{var _0x423181=_0x305767;const _0x39afa9=_0x182afd[_0x423181(0x123)](),_0x185f42=this['_entities'][_0x423181(0x39a)](_0x39afa9);_0x185f42&&(_0x185f42[_0x423181(0x31c)](),this['_entities'][_0x423181(0x385)](_0x39afa9));});}async[_0x5a48c0(0x2c5)](_0x23150e,_0x2c17e0){var _0x1435c3=_0x5a48c0;const _0x287fd1=await this[_0x1435c3(0x297)][_0x1435c3(0x11b)](_0x23150e),_0xd6d6e4=this[_0x1435c3(0x211)][_0x1435c3(0x444)](this[_0x1435c3(0x286)](_0x2c17e0),_0x23150e,_0x2c17e0,_0x287fd1);return await _0xd6d6e4[_0x1435c3(0x261)](),this['_entityInit$']['next'](_0xd6d6e4),_0xd6d6e4;}[_0x5a48c0(0x286)](_0xe41445){var _0x19a0f8=_0x5a48c0;switch(_0xe41445){case X[_0x19a0f8(0x327)]:return exports['DocCollaborationEntity'];case X['UNIVER_SHEET']:return exports[_0x19a0f8(0x3ad)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0xe41445);}}},exports[_0x5a48c0(0x141)]=bi([Pe(0x0,a['Inject'](a[_0x5a48c0(0x30c)])),Pe(0x1,a[_0x5a48c0(0xd9)](exports[_0x5a48c0(0x155)])),Pe(0x2,a['IUniverInstanceService'])],exports[_0x5a48c0(0x141)]);var Ri=Object[_0x5a48c0(0xe7)],Oi=(_0x57d40f,_0x55ce5c,_0x183175,_0x50b8f8)=>{var _0x42f0c9=_0x5a48c0;for(var _0x6e2565=_0x50b8f8>0x1?void 0x0:_0x50b8f8?Ri(_0x55ce5c,_0x183175):_0x55ce5c,_0x357f87=_0x57d40f[_0x42f0c9(0x143)]-0x1,_0x54598c;_0x357f87>=0x0;_0x357f87--)(_0x54598c=_0x57d40f[_0x357f87])&&(_0x6e2565=_0x54598c(_0x6e2565)||_0x6e2565);return _0x6e2565;},Je=(_0x13772e,_0x14fbb6)=>(_0x21a896,_0x38ae3c)=>_0x14fbb6(_0x21a896,_0x38ae3c,_0x13772e);const yi=_0x5a48c0(0x25f),Ni=_0x5a48c0(0x158);let He=class extends a[_0x5a48c0(0x362)]{constructor(_0x78fe16,_0x2472bb){var _0x103bba=_0x5a48c0;super(),this[_0x103bba(0x421)]=_0x78fe16,this[_0x103bba(0x41a)]=_0x2472bb,this[_0x103bba(0x302)]();}[_0x5a48c0(0x302)](){var _0x3ef0ab=_0x5a48c0;this[_0x3ef0ab(0x439)](this[_0x3ef0ab(0x421)][_0x3ef0ab(0xfc)][_0x3ef0ab(0x27f)](()=>{var _0x29fe7a=_0x3ef0ab,_0x2d236a;const _0x1de4ae=this['_univerInstanceService'][_0x29fe7a(0x2af)]();let _0x20a328=(_0x2d236a=this[_0x29fe7a(0x41a)][_0x29fe7a(0x2d1)](yi))!=null?_0x2d236a:Ni;_0x1de4ae instanceof a[_0x29fe7a(0x1ca)]&&(_0x20a328=_0x1de4ae[_0x29fe7a(0x122)]),document[_0x29fe7a(0x20d)]=_0x20a328;}));}};He=Oi([Je(0x0,a['IUniverInstanceService']),Je(0x1,a[_0x5a48c0(0x244)])],He);var Di=Object[_0x5a48c0(0xe7)],Ui=(_0x2bc6be,_0x41e96d,_0x372bd5,_0x4c8e9c)=>{for(var _0x4422a6=_0x4c8e9c>0x1?void 0x0:_0x4c8e9c?Di(_0x41e96d,_0x372bd5):_0x41e96d,_0x2be6bc=_0x2bc6be['length']-0x1,_0x76643b;_0x2be6bc>=0x0;_0x2be6bc--)(_0x76643b=_0x2bc6be[_0x2be6bc])&&(_0x4422a6=_0x76643b(_0x4422a6)||_0x4422a6);return _0x4422a6;},we=(_0x12fa17,_0x3c5b6d)=>(_0x7f385e,_0x2c39ec)=>_0x3c5b6d(_0x7f385e,_0x2c39ec,_0x12fa17);let ye=class{constructor(_0x5df303,_0x5eff9b,_0xc3b675){var _0x5a149a=_0x5a48c0;this[_0x5a149a(0x41a)]=_0x5df303,this['_httpService']=_0x5eff9b,this[_0x5a149a(0x318)]=_0xc3b675,this['init']();}[_0x5a48c0(0x261)](){var _0x1f204e=_0x5a48c0;this[_0x1f204e(0x26a)][_0x1f204e(0x3d7)]({'priority':0x1,'interceptor':(_0x1ed653,_0x41109d)=>_0x41109d(_0x1ed653)['pipe'](j[_0x1f204e(0x2f2)](async _0x30b6ed=>{var _0x50026e=_0x1f204e;const _0x2a140e=_0x30b6ed;if(_0x2a140e[_0x50026e(0x2bf)]===0x191){if(typeof window>'u')throw new Error(_0x50026e(0x201));if(window['confirm'](this[_0x50026e(0x318)]['t'](_0x50026e(0x105)))){const _0xc3ab23=window[_0x50026e(0x383)](window[_0x50026e(0x435)]['href']);window[_0x50026e(0x435)]['href']=this['_getLoginPath']()+'?url='+_0xc3ab23;}}return _0x2a140e;}))});}[_0x5a48c0(0x2da)](){var _0x5f5d32=_0x5a48c0,_0x5670fd,_0x18504b;const _0xcee17a=this['_configService'][_0x5f5d32(0x2d1)](Et),_0x41849e=this['_configService'][_0x5f5d32(0x2d1)](Y);return(_0x18504b=(_0x5670fd=_0x41849e==null?void 0x0:_0x41849e[_0x5f5d32(0x188)])!=null?_0x5670fd:_0xcee17a)!=null?_0x18504b:Yt;}};ye=Ui([we(0x0,a[_0x5a48c0(0x244)]),we(0x1,a[_0x5a48c0(0xd9)](q[_0x5a48c0(0x216)])),we(0x2,a[_0x5a48c0(0xd9)](a['LocaleService']))],ye);var Ai=Object[_0x5a48c0(0xe7)],Pi=(_0xaba210,_0x4e26f6,_0x1b57d0,_0x27f849)=>{for(var _0x4571f9=_0x27f849>0x1?void 0x0:_0x27f849?Ai(_0x4e26f6,_0x1b57d0):_0x4e26f6,_0x34bc58=_0xaba210['length']-0x1,_0x22d8a9;_0x34bc58>=0x0;_0x34bc58--)(_0x22d8a9=_0xaba210[_0x34bc58])&&(_0x4571f9=_0x22d8a9(_0x4571f9)||_0x4571f9);return _0x4571f9;},Xe=(_0x318311,_0x3323df)=>(_0x4f470c,_0x25fe7e)=>_0x3323df(_0x4f470c,_0x25fe7e,_0x318311);const Ge='AUTHZ_URL_KEY',wi=_0x5a48c0(0x153);exports[_0x5a48c0(0xf3)]=class extends a[_0x5a48c0(0x362)]{constructor(_0x197ca5,_0x4022d2){var _0x2cc0b8=_0x5a48c0;super(),this[_0x2cc0b8(0xf2)]=_0x197ca5,this[_0x2cc0b8(0x41a)]=_0x4022d2,this[_0x2cc0b8(0x405)]();}[_0x5a48c0(0x405)](){var _0x20d336=_0x5a48c0;const _0x6a3d30=this;this[_0x20d336(0x439)](this[_0x20d336(0xf2)][_0x20d336(0x3d7)]({'priority':0x3e7,'interceptor':q[_0x20d336(0x1d6)]({'isMatch'(_0x3d2227){var _0x2139ca=_0x20d336,_0x5d5541;if(_0x3d2227['method']==='POST'&&((_0x5d5541=_0x3d2227['requestParams'])!=null&&_0x5d5541[_0x2139ca(0x14a)])){const {objectID:_0x302118,objectType:_0x243fc3}=_0x3d2227['requestParams'][_0x2139ca(0x14a)]||{};if(!_0x302118||_0x243fc3===void 0x0)return!0x1;const _0x5844d6=_0x6a3d30[_0x2139ca(0x1bb)]()+'/'+_0x243fc3+_0x2139ca(0x223)+_0x302118+'/allowed';if(_0x3d2227['url']===_0x5844d6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x18d498){var _0x2dcbe0=_0x20d336,_0x417f85;return(_0x417f85=_0x18d498['requestParams'])==null?void 0x0:_0x417f85[_0x2dcbe0(0x14a)];},'mergeParamsToRequest'(_0x20b815,_0x3f02b7){var _0x28b706=_0x20d336;const _0x1cb617=_0x6a3d30['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x443954=_0x20b815[_0x28b706(0xe3)]((_0xe33f5a,_0x431950)=>{const {unitID:_0x50159a,objectID:_0x3e6644,objectType:_0x48ab8c,actions:_0x332b9b}=_0x431950;return _0xe33f5a[_0x50159a]||(_0xe33f5a[_0x50159a]={}),_0xe33f5a[_0x50159a][_0x3e6644]||(_0xe33f5a[_0x50159a][_0x3e6644]={'objectID':_0x3e6644,'objectType':_0x48ab8c,'actions':[]}),_0xe33f5a[_0x50159a][_0x3e6644]['actions']['push'](..._0x332b9b),_0xe33f5a;},{}),_0x442a25=[];for(const _0x3ad85b in _0x443954)for(const _0x1eb180 in _0x443954[_0x3ad85b]){const {actions:_0x28d5f8,objectType:_0x5f098b}=_0x443954[_0x3ad85b][_0x1eb180],_0x567fe6=[...new Set(_0x28d5f8)];_0x442a25[_0x28b706(0x437)]({'unitID':_0x3ad85b,'objectID':_0x1eb180,'objectType':_0x5f098b,'actions':_0x567fe6});}return new q[(_0x28b706(0x1f3))](_0x28b706(0x205),_0x1cb617,{'headers':_0x3f02b7[_0x28b706(0x34a)],'withCredentials':_0x3f02b7[_0x28b706(0x21b)],'responseType':_0x3f02b7[_0x28b706(0x234)],'body':{'requests':_0x442a25}});}},{'distributeResult'(_0x5812d7,_0x10e626){var _0x297118=_0x20d336;const {objectActions:_0x5ef16e}=_0x5812d7;return _0x10e626[_0x297118(0x2f9)](_0x42fd74=>{var _0x110b90=_0x297118;const {unitID:_0x3d4ac5,objectID:_0x83fc7c,actions:_0x338d1e}=_0x42fd74,_0xf59e32=_0x5ef16e[_0x110b90(0x1d1)](_0x544c80=>_0x544c80[_0x110b90(0x3dc)]===_0x3d4ac5&&_0x544c80[_0x110b90(0x434)]===_0x83fc7c),_0xab4d66=_0x338d1e[_0x110b90(0x2f9)](_0xa82897=>_0xf59e32==null?void 0x0:_0xf59e32['actions'][_0x110b90(0x1d1)](_0x47b06f=>_0x47b06f['action']===_0xa82897))[_0x110b90(0x15a)](_0x5d6397=>!!_0x5d6397);return{'config':_0x42fd74,'result':{'actions':_0xab4d66,'error':_0x5812d7['error']}};});}})}));}[_0x5a48c0(0x1bb)](){var _0x2965e7=_0x5a48c0,_0x566c27,_0x1a90f6;const _0x93d5dc=this['_configService']['getConfig'](Ge),_0x52358a=this[_0x2965e7(0x41a)][_0x2965e7(0x2d1)](Y);return(_0x1a90f6=(_0x566c27=_0x52358a==null?void 0x0:_0x52358a[_0x2965e7(0x1b9)])!=null?_0x566c27:_0x93d5dc)!=null?_0x1a90f6:wi;}async[_0x5a48c0(0x2a8)](_0x17b22e){var _0x196de4=_0x5a48c0;const _0x35c1db=this[_0x196de4(0x1bb)]()+'/'+_0x17b22e['objectType']+'/object';return(await this[_0x196de4(0xf2)]['post'](_0x35c1db,{'body':_0x17b22e}))['body'][_0x196de4(0x434)]||'';}async[_0x5a48c0(0x24a)](_0x565f0f){var _0x3f85c8=_0x5a48c0;const _0x184912=this[_0x3f85c8(0x1bb)]()+_0x3f85c8(0xf6);return(await this[_0x3f85c8(0xf2)][_0x3f85c8(0x249)](_0x184912,{'body':_0x565f0f}))['body'][_0x3f85c8(0x2c0)];}async[_0x5a48c0(0x101)](_0x17c61c){var _0x468554=_0x5a48c0,_0x4aaf17,_0x917106;const _0x8d6243=this[_0x468554(0x1bb)]()+'/'+_0x17c61c[_0x468554(0x375)]+_0x468554(0x223)+_0x17c61c[_0x468554(0x434)],_0x18bb1d=await this[_0x468554(0xf2)][_0x468554(0x167)](_0x8d6243,{'body':_0x17c61c});if(((_0x917106=(_0x4aaf17=_0x18bb1d==null?void 0x0:_0x18bb1d[_0x468554(0x14a)])==null?void 0x0:_0x4aaf17[_0x468554(0x16f)])==null?void 0x0:_0x917106[_0x468554(0x25e)])!==0x1)throw new Error(_0x468554(0x44c));}async[_0x5a48c0(0x117)](_0x10c6c2){var _0x1deb03=_0x5a48c0;const _0x563c08=this[_0x1deb03(0x1bb)]()+'/'+_0x10c6c2[_0x1deb03(0x375)]+_0x1deb03(0x223)+_0x10c6c2[_0x1deb03(0x434)]+_0x1deb03(0x309);return(await this['_HTTPService']['post'](_0x563c08,{'body':_0x10c6c2}))['body'][_0x1deb03(0x278)];}async[_0x5a48c0(0x1e1)](_0x84e2bd){var _0x4dc719=_0x5a48c0;const _0x3e0214=this[_0x4dc719(0x1bb)]()+_0x4dc719(0x185);return(await this[_0x4dc719(0xf2)][_0x4dc719(0x249)](_0x3e0214,{'body':{'requests':_0x84e2bd}}))[_0x4dc719(0x14a)]['objectActions'];}async[_0x5a48c0(0x3c4)](_0x10d538){var _0x628fc9=_0x5a48c0;const _0x28832d=this[_0x628fc9(0x1bb)]()+'/'+_0x10d538[_0x628fc9(0x375)]+_0x628fc9(0x429),_0x13435a=await this[_0x628fc9(0xf2)][_0x628fc9(0x249)](_0x28832d,{'body':_0x10d538});return{'roles':_0x13435a[_0x628fc9(0x14a)][_0x628fc9(0x173)],'actions':_0x13435a['body']['actions']};}async['deleteCollaborator'](_0x27bac4){var _0x5dde90=_0x5a48c0;const _0x3cb3a9=this[_0x5dde90(0x1bb)]()+_0x5dde90(0x40b);await this['_HTTPService'][_0x5dde90(0x385)](_0x3cb3a9,{'params':{'collaboratorID':_0x27bac4[_0x5dde90(0x382)],'objectID':_0x27bac4['objectID'],'unitID':_0x27bac4[_0x5dde90(0x3dc)]}});}async['updateCollaborator'](_0x3b639b){var _0x3e6edc=_0x5a48c0;const _0x4647f5=this[_0x3e6edc(0x1bb)]()+_0x3e6edc(0x40b);await this[_0x3e6edc(0xf2)][_0x3e6edc(0x273)](_0x4647f5,{'body':_0x3b639b});}async[_0x5a48c0(0x20e)](_0x3b52e9){var _0x2abb6b=_0x5a48c0;const _0xeeff95=this[_0x2abb6b(0x1bb)]()+_0x2abb6b(0x40b);await this[_0x2abb6b(0xf2)][_0x2abb6b(0x249)](_0xeeff95,{'body':_0x3b52e9});}async[_0x5a48c0(0x3b9)](_0x5eac7b){var _0x3bd6df=_0x5a48c0;const _0x404f4d=this[_0x3bd6df(0x1bb)]()+'/collaborator';return(await this['_HTTPService'][_0x3bd6df(0x39a)](_0x404f4d,{'params':{'objectID':_0x5eac7b[_0x3bd6df(0x434)],'unitID':_0x5eac7b[_0x3bd6df(0x3dc)]}}))[_0x3bd6df(0x14a)][_0x3bd6df(0x312)];}async[_0x5a48c0(0xe2)](_0x4bc5a3){var _0x17d018=_0x5a48c0;const _0x4f24a4=this[_0x17d018(0x1bb)]()+'/collaborator';await this[_0x17d018(0xf2)]['put'](_0x4f24a4,{'body':_0x4bc5a3});}},exports['AuthzIoHttpService']=Pi([Xe(0x0,a['Inject'](q[_0x5a48c0(0x216)])),Xe(0x1,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x244)]))],exports[_0x5a48c0(0xf3)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x30a5c3){var _0x301fba=_0x5a48c0;return _0x30a5c3&&_0x30a5c3[_0x301fba(0x37f)]&&Object['prototype']['hasOwnProperty'][_0x301fba(0x3f8)](_0x30a5c3,_0x301fba(0x423))?_0x30a5c3[_0x301fba(0x423)]:_0x30a5c3;}var fe={'exports':{}};function Li(_0x4c9374){var _0x5d86d5=_0x5a48c0;throw new Error(_0x5d86d5(0x38b)+_0x4c9374+_0x5d86d5(0x2d0));}var pe={'exports':{}},Mi=pe[_0x5a48c0(0x1df)],Ze;function ee(){var _0x161dec=_0x5a48c0;return Ze||(Ze=0x1,function(_0x4312f5,_0x2c6ede){(function(_0x2527ca,_0x1b5370){var _0x49bc55=_0x5815;_0x4312f5[_0x49bc55(0x1df)]=_0x1b5370();}(Mi,function(){var _0xe3384c=_0xe3384c||function(_0x5965d6,_0x4149ab){var _0x521267=_0x5815,_0x180efd;if(typeof window<'u'&&window[_0x521267(0x22e)]&&(_0x180efd=window[_0x521267(0x22e)]),typeof self<'u'&&self[_0x521267(0x22e)]&&(_0x180efd=self[_0x521267(0x22e)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x180efd=globalThis[_0x521267(0x22e)]),!_0x180efd&&typeof window<'u'&&window[_0x521267(0x1e9)]&&(_0x180efd=window[_0x521267(0x1e9)]),!_0x180efd&&typeof Le<'u'&&Le[_0x521267(0x22e)]&&(_0x180efd=Le[_0x521267(0x22e)]),!_0x180efd&&typeof Li==_0x521267(0x3af))try{_0x180efd=require(_0x521267(0x22e));}catch{}var _0x11ef4a=function(){var _0x57aea3=_0x521267;if(_0x180efd){if(typeof _0x180efd[_0x57aea3(0x2a0)]=='function')try{return _0x180efd['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x180efd[_0x57aea3(0x209)]==_0x57aea3(0x3af))try{return _0x180efd[_0x57aea3(0x209)](0x4)[_0x57aea3(0x3e3)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x19f13c=Object[_0x521267(0x2a8)]||(function(){function _0x573c00(){}return function(_0x1ee39f){var _0x598cb7=_0x5815,_0x2019dc;return _0x573c00[_0x598cb7(0x2f8)]=_0x1ee39f,_0x2019dc=new _0x573c00(),_0x573c00[_0x598cb7(0x2f8)]=null,_0x2019dc;};}()),_0x304f4c={},_0x11c95d=_0x304f4c[_0x521267(0x2c4)]={},_0x2cfb9f=_0x11c95d[_0x521267(0x3f9)]=(function(){return{'extend':function(_0x2f1e41){var _0x375577=_0x5815,_0x277378=_0x19f13c(this);return _0x2f1e41&&_0x277378[_0x375577(0x247)](_0x2f1e41),(!_0x277378[_0x375577(0x354)](_0x375577(0x261))||this[_0x375577(0x261)]===_0x277378[_0x375577(0x261)])&&(_0x277378[_0x375577(0x261)]=function(){var _0xb4c79f=_0x375577;_0x277378[_0xb4c79f(0x3f4)]['init'][_0xb4c79f(0x36c)](this,arguments);}),_0x277378[_0x375577(0x261)]['prototype']=_0x277378,_0x277378[_0x375577(0x3f4)]=this,_0x277378;},'create':function(){var _0x2c910a=_0x5815,_0x269c92=this[_0x2c910a(0x1e0)]();return _0x269c92[_0x2c910a(0x261)]['apply'](_0x269c92,arguments),_0x269c92;},'init':function(){},'mixIn':function(_0x3ed416){var _0x162d11=_0x5815;for(var _0x326f8e in _0x3ed416)_0x3ed416[_0x162d11(0x354)](_0x326f8e)&&(this[_0x326f8e]=_0x3ed416[_0x326f8e]);_0x3ed416['hasOwnProperty'](_0x162d11(0x232))&&(this[_0x162d11(0x232)]=_0x3ed416['toString']);},'clone':function(){var _0x2303df=_0x5815;return this[_0x2303df(0x261)][_0x2303df(0x2f8)]['extend'](this);}};}()),_0x2149ab=_0x11c95d['WordArray']=_0x2cfb9f[_0x521267(0x1e0)]({'init':function(_0x22e915,_0x29781a){var _0x44463b=_0x521267;_0x22e915=this[_0x44463b(0x370)]=_0x22e915||[],_0x29781a!=_0x4149ab?this[_0x44463b(0x296)]=_0x29781a:this['sigBytes']=_0x22e915[_0x44463b(0x143)]*0x4;},'toString':function(_0x49c3ae){var _0x3adca9=_0x521267;return(_0x49c3ae||_0x340813)[_0x3adca9(0x208)](this);},'concat':function(_0x58cfe1){var _0x3d27f7=_0x521267,_0x1e86d9=this[_0x3d27f7(0x370)],_0x444b67=_0x58cfe1[_0x3d27f7(0x370)],_0x3e8826=this['sigBytes'],_0x480969=_0x58cfe1['sigBytes'];if(this['clamp'](),_0x3e8826%0x4)for(var _0x5bd275=0x0;_0x5bd275<_0x480969;_0x5bd275++){var _0x5a083f=_0x444b67[_0x5bd275>>>0x2]>>>0x18-_0x5bd275%0x4*0x8&0xff;_0x1e86d9[_0x3e8826+_0x5bd275>>>0x2]|=_0x5a083f<<0x18-(_0x3e8826+_0x5bd275)%0x4*0x8;}else{for(var _0x5e3ac0=0x0;_0x5e3ac0<_0x480969;_0x5e3ac0+=0x4)_0x1e86d9[_0x3e8826+_0x5e3ac0>>>0x2]=_0x444b67[_0x5e3ac0>>>0x2];}return this[_0x3d27f7(0x296)]+=_0x480969,this;},'clamp':function(){var _0x363c21=_0x521267,_0x42d88e=this[_0x363c21(0x370)],_0x1e2522=this['sigBytes'];_0x42d88e[_0x1e2522>>>0x2]&=0xffffffff<<0x20-_0x1e2522%0x4*0x8,_0x42d88e[_0x363c21(0x143)]=_0x5965d6[_0x363c21(0x2ac)](_0x1e2522/0x4);},'clone':function(){var _0x559ac8=_0x521267,_0x2f7882=_0x2cfb9f['clone'][_0x559ac8(0x3f8)](this);return _0x2f7882[_0x559ac8(0x370)]=this[_0x559ac8(0x370)][_0x559ac8(0x1ee)](0x0),_0x2f7882;},'random':function(_0x305898){var _0x52ac25=_0x521267;for(var _0x384252=[],_0x379c7=0x0;_0x379c7<_0x305898;_0x379c7+=0x4)_0x384252[_0x52ac25(0x437)](_0x11ef4a());return new _0x2149ab[(_0x52ac25(0x261))](_0x384252,_0x305898);}}),_0x1b15c6=_0x304f4c['enc']={},_0x340813=_0x1b15c6[_0x521267(0x137)]={'stringify':function(_0x5ed81e){var _0x3e75bb=_0x521267;for(var _0x52130c=_0x5ed81e[_0x3e75bb(0x370)],_0x228422=_0x5ed81e['sigBytes'],_0x478783=[],_0x1e06e6=0x0;_0x1e06e6<_0x228422;_0x1e06e6++){var _0x5a780d=_0x52130c[_0x1e06e6>>>0x2]>>>0x18-_0x1e06e6%0x4*0x8&0xff;_0x478783[_0x3e75bb(0x437)]((_0x5a780d>>>0x4)['toString'](0x10)),_0x478783['push']((_0x5a780d&0xf)[_0x3e75bb(0x232)](0x10));}return _0x478783['join']('');},'parse':function(_0xa79e85){var _0x906691=_0x521267;for(var _0x2f3eeb=_0xa79e85[_0x906691(0x143)],_0x681444=[],_0x141142=0x0;_0x141142<_0x2f3eeb;_0x141142+=0x2)_0x681444[_0x141142>>>0x3]|=parseInt(_0xa79e85[_0x906691(0x19d)](_0x141142,0x2),0x10)<<0x18-_0x141142%0x8*0x4;return new _0x2149ab['init'](_0x681444,_0x2f3eeb/0x2);}},_0x488f41=_0x1b15c6[_0x521267(0x1f2)]={'stringify':function(_0x216bd9){var _0xf9cb45=_0x521267;for(var _0x49247f=_0x216bd9['words'],_0x247b04=_0x216bd9[_0xf9cb45(0x296)],_0x2d6e8a=[],_0x7d0733=0x0;_0x7d0733<_0x247b04;_0x7d0733++){var _0x1cdb77=_0x49247f[_0x7d0733>>>0x2]>>>0x18-_0x7d0733%0x4*0x8&0xff;_0x2d6e8a[_0xf9cb45(0x437)](String['fromCharCode'](_0x1cdb77));}return _0x2d6e8a[_0xf9cb45(0x31b)]('');},'parse':function(_0x5ccc6d){var _0x3d3f30=_0x521267;for(var _0x2cc229=_0x5ccc6d[_0x3d3f30(0x143)],_0x4862bf=[],_0x963248=0x0;_0x963248<_0x2cc229;_0x963248++)_0x4862bf[_0x963248>>>0x2]|=(_0x5ccc6d[_0x3d3f30(0x293)](_0x963248)&0xff)<<0x18-_0x963248%0x4*0x8;return new _0x2149ab[(_0x3d3f30(0x261))](_0x4862bf,_0x2cc229);}},_0x307a69=_0x1b15c6[_0x521267(0x28d)]={'stringify':function(_0x7f2097){var _0x4afea8=_0x521267;try{return decodeURIComponent(escape(_0x488f41[_0x4afea8(0x208)](_0x7f2097)));}catch{throw new Error(_0x4afea8(0x275));}},'parse':function(_0xc1806){return _0x488f41['parse'](unescape(encodeURIComponent(_0xc1806)));}},_0x387a6f=_0x11c95d['BufferedBlockAlgorithm']=_0x2cfb9f['extend']({'reset':function(){var _0x511e6b=_0x521267;this['_data']=new _0x2149ab[(_0x511e6b(0x261))](),this[_0x511e6b(0x113)]=0x0;},'_append':function(_0x3941ed){var _0x533390=_0x521267;typeof _0x3941ed=='string'&&(_0x3941ed=_0x307a69['parse'](_0x3941ed)),this['_data'][_0x533390(0x116)](_0x3941ed),this[_0x533390(0x113)]+=_0x3941ed[_0x533390(0x296)];},'_process':function(_0x423cc8){var _0x31870c=_0x521267,_0x463a7d,_0x574b70=this[_0x31870c(0x29b)],_0x2e13af=_0x574b70['words'],_0x7e8740=_0x574b70[_0x31870c(0x296)],_0x4c6eb8=this[_0x31870c(0x376)],_0xe25bf2=_0x4c6eb8*0x4,_0xf63224=_0x7e8740/_0xe25bf2;_0x423cc8?_0xf63224=_0x5965d6['ceil'](_0xf63224):_0xf63224=_0x5965d6[_0x31870c(0x2cb)]((_0xf63224|0x0)-this[_0x31870c(0x446)],0x0);var _0x162975=_0xf63224*_0x4c6eb8,_0x14a682=_0x5965d6['min'](_0x162975*0x4,_0x7e8740);if(_0x162975){for(var _0x1d11a0=0x0;_0x1d11a0<_0x162975;_0x1d11a0+=_0x4c6eb8)this['_doProcessBlock'](_0x2e13af,_0x1d11a0);_0x463a7d=_0x2e13af['splice'](0x0,_0x162975),_0x574b70['sigBytes']-=_0x14a682;}return new _0x2149ab['init'](_0x463a7d,_0x14a682);},'clone':function(){var _0x12fcac=_0x521267,_0xa23b7=_0x2cfb9f[_0x12fcac(0x257)][_0x12fcac(0x3f8)](this);return _0xa23b7['_data']=this['_data'][_0x12fcac(0x257)](),_0xa23b7;},'_minBufferSize':0x0});_0x11c95d[_0x521267(0x33b)]=_0x387a6f[_0x521267(0x1e0)]({'cfg':_0x2cfb9f['extend'](),'init':function(_0x31ff37){var _0x4375f4=_0x521267;this[_0x4375f4(0x1c4)]=this['cfg'][_0x4375f4(0x1e0)](_0x31ff37),this[_0x4375f4(0x23b)]();},'reset':function(){var _0x1fb47a=_0x521267;_0x387a6f[_0x1fb47a(0x23b)]['call'](this),this['_doReset']();},'update':function(_0x20bd62){var _0x465f64=_0x521267;return this[_0x465f64(0x3ba)](_0x20bd62),this[_0x465f64(0x407)](),this;},'finalize':function(_0x5f5be9){var _0x486126=_0x521267;_0x5f5be9&&this[_0x486126(0x3ba)](_0x5f5be9);var _0x16f028=this[_0x486126(0x1f8)]();return _0x16f028;},'blockSize':0x10,'_createHelper':function(_0x4d9705){return function(_0x1b3c94,_0x1a9429){var _0xd41801=_0x5815;return new _0x4d9705[(_0xd41801(0x261))](_0x1a9429)[_0xd41801(0xe5)](_0x1b3c94);};},'_createHmacHelper':function(_0x15cbfd){return function(_0x2d9c94,_0x5bda7f){var _0x12778d=_0x5815;return new _0xb332f4[(_0x12778d(0x1a0))]['init'](_0x15cbfd,_0x5bda7f)['finalize'](_0x2d9c94);};}});var _0xb332f4=_0x304f4c[_0x521267(0x11c)]={};return _0x304f4c;}(Math);return _0xe3384c;}));}(pe)),pe[_0x161dec(0x1df)];}var ge={'exports':{}},xi=ge[_0x5a48c0(0x1df)],Qe;function Ut(){return Qe||(Qe=0x1,function(_0x29bedf,_0x39aaf8){(function(_0x40318e,_0x2914ba){var _0x1f0a49=_0x5815;_0x29bedf[_0x1f0a49(0x1df)]=_0x2914ba(ee());}(xi,function(_0x8bba10){var _0x454fb3=_0x5815;return(function(){var _0x37d4f9=_0x5815,_0x12193d=_0x8bba10,_0x2bb7b0=_0x12193d[_0x37d4f9(0x2c4)],_0xf9e2ae=_0x2bb7b0[_0x37d4f9(0x24f)],_0x9584ef=_0x12193d['enc'];_0x9584ef[_0x37d4f9(0x2b0)]={'stringify':function(_0x4c68c0){var _0x595eec=_0x37d4f9,_0x3fdc1e=_0x4c68c0[_0x595eec(0x370)],_0x464a3b=_0x4c68c0['sigBytes'],_0x23113e=this['_map'];_0x4c68c0[_0x595eec(0x2d3)]();for(var _0x4ede71=[],_0x5823b5=0x0;_0x5823b5<_0x464a3b;_0x5823b5+=0x3)for(var _0x12f9b3=_0x3fdc1e[_0x5823b5>>>0x2]>>>0x18-_0x5823b5%0x4*0x8&0xff,_0x4b9c32=_0x3fdc1e[_0x5823b5+0x1>>>0x2]>>>0x18-(_0x5823b5+0x1)%0x4*0x8&0xff,_0x4dda9a=_0x3fdc1e[_0x5823b5+0x2>>>0x2]>>>0x18-(_0x5823b5+0x2)%0x4*0x8&0xff,_0x240d11=_0x12f9b3<<0x10|_0x4b9c32<<0x8|_0x4dda9a,_0x701b2d=0x0;_0x701b2d<0x4&&_0x5823b5+_0x701b2d*0.75<_0x464a3b;_0x701b2d++)_0x4ede71[_0x595eec(0x437)](_0x23113e[_0x595eec(0x32b)](_0x240d11>>>0x6*(0x3-_0x701b2d)&0x3f));var _0x2670c1=_0x23113e[_0x595eec(0x32b)](0x40);if(_0x2670c1){for(;_0x4ede71[_0x595eec(0x143)]%0x4;)_0x4ede71[_0x595eec(0x437)](_0x2670c1);}return _0x4ede71[_0x595eec(0x31b)]('');},'parse':function(_0x277467){var _0x5db225=_0x37d4f9,_0x176954=_0x277467[_0x5db225(0x143)],_0x1dc327=this[_0x5db225(0x12f)],_0x42aa01=this[_0x5db225(0x21d)];if(!_0x42aa01){_0x42aa01=this[_0x5db225(0x21d)]=[];for(var _0x3ee0a3=0x0;_0x3ee0a3<_0x1dc327['length'];_0x3ee0a3++)_0x42aa01[_0x1dc327['charCodeAt'](_0x3ee0a3)]=_0x3ee0a3;}var _0xe1b0eb=_0x1dc327[_0x5db225(0x32b)](0x40);if(_0xe1b0eb){var _0x22182c=_0x277467[_0x5db225(0x2fe)](_0xe1b0eb);_0x22182c!==-0x1&&(_0x176954=_0x22182c);}return _0x43bdee(_0x277467,_0x176954,_0x42aa01);},'_map':_0x37d4f9(0x35b)};function _0x43bdee(_0x4ca907,_0x46d9ac,_0x3a06af){var _0x1882df=_0x37d4f9;for(var _0x54abb1=[],_0x458137=0x0,_0x15ef92=0x0;_0x15ef92<_0x46d9ac;_0x15ef92++)if(_0x15ef92%0x4){var _0x1b72f5=_0x3a06af[_0x4ca907[_0x1882df(0x293)](_0x15ef92-0x1)]<<_0x15ef92%0x4*0x2,_0xc98137=_0x3a06af[_0x4ca907['charCodeAt'](_0x15ef92)]>>>0x6-_0x15ef92%0x4*0x2,_0x44ab2b=_0x1b72f5|_0xc98137;_0x54abb1[_0x458137>>>0x2]|=_0x44ab2b<<0x18-_0x458137%0x4*0x8,_0x458137++;}return _0xf9e2ae[_0x1882df(0x2a8)](_0x54abb1,_0x458137);}}()),_0x8bba10[_0x454fb3(0x148)]['Base64'];}));}(ge)),ge['exports'];}var Ie={'exports':{}},ki=Ie[_0x5a48c0(0x1df)],et;function Hi(){return et||(et=0x1,function(_0x4917dc,_0x33e668){(function(_0x4d3fd2,_0xc24f3d){_0x4917dc['exports']=_0xc24f3d(ee());}(ki,function(_0x1ccb90){var _0x26ef69=_0x5815;return function(_0x46be59){var _0x420c4c=_0x5815,_0xb69b92=_0x1ccb90,_0x120125=_0xb69b92[_0x420c4c(0x2c4)],_0x289d27=_0x120125[_0x420c4c(0x24f)],_0x112069=_0x120125[_0x420c4c(0x33b)],_0xffa6fc=_0xb69b92[_0x420c4c(0x11c)],_0x5b9881=[];(function(){var _0x551ead=_0x420c4c;for(var _0xecb102=0x0;_0xecb102<0x40;_0xecb102++)_0x5b9881[_0xecb102]=_0x46be59[_0x551ead(0x3e2)](_0x46be59[_0x551ead(0x19f)](_0xecb102+0x1))*0x100000000|0x0;}());var _0x205c91=_0xffa6fc['MD5']=_0x112069[_0x420c4c(0x1e0)]({'_doReset':function(){var _0x5e6ad4=_0x420c4c;this[_0x5e6ad4(0x33f)]=new _0x289d27['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x23dcae,_0x1e67d3){var _0x25f92c=_0x420c4c;for(var _0x2982d5=0x0;_0x2982d5<0x10;_0x2982d5++){var _0x140173=_0x1e67d3+_0x2982d5,_0x180926=_0x23dcae[_0x140173];_0x23dcae[_0x140173]=(_0x180926<<0x8|_0x180926>>>0x18)&0xff00ff|(_0x180926<<0x18|_0x180926>>>0x8)&0xff00ff00;}var _0xeb74c=this[_0x25f92c(0x33f)]['words'],_0x94eeb7=_0x23dcae[_0x1e67d3+0x0],_0x200760=_0x23dcae[_0x1e67d3+0x1],_0x5152f8=_0x23dcae[_0x1e67d3+0x2],_0xd7f561=_0x23dcae[_0x1e67d3+0x3],_0x24098d=_0x23dcae[_0x1e67d3+0x4],_0x53fd4c=_0x23dcae[_0x1e67d3+0x5],_0x14d2a0=_0x23dcae[_0x1e67d3+0x6],_0x1ba1df=_0x23dcae[_0x1e67d3+0x7],_0x2c28cc=_0x23dcae[_0x1e67d3+0x8],_0x1d1d4b=_0x23dcae[_0x1e67d3+0x9],_0x248e65=_0x23dcae[_0x1e67d3+0xa],_0x5c58e8=_0x23dcae[_0x1e67d3+0xb],_0x4a135a=_0x23dcae[_0x1e67d3+0xc],_0x642778=_0x23dcae[_0x1e67d3+0xd],_0x81825=_0x23dcae[_0x1e67d3+0xe],_0x1a41ab=_0x23dcae[_0x1e67d3+0xf],_0x4823ae=_0xeb74c[0x0],_0x4c2faa=_0xeb74c[0x1],_0x43f1ad=_0xeb74c[0x2],_0x17ef94=_0xeb74c[0x3];_0x4823ae=_0x427047(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x94eeb7,0x7,_0x5b9881[0x0]),_0x17ef94=_0x427047(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x200760,0xc,_0x5b9881[0x1]),_0x43f1ad=_0x427047(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x5152f8,0x11,_0x5b9881[0x2]),_0x4c2faa=_0x427047(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0xd7f561,0x16,_0x5b9881[0x3]),_0x4823ae=_0x427047(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x24098d,0x7,_0x5b9881[0x4]),_0x17ef94=_0x427047(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x53fd4c,0xc,_0x5b9881[0x5]),_0x43f1ad=_0x427047(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x14d2a0,0x11,_0x5b9881[0x6]),_0x4c2faa=_0x427047(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x1ba1df,0x16,_0x5b9881[0x7]),_0x4823ae=_0x427047(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x2c28cc,0x7,_0x5b9881[0x8]),_0x17ef94=_0x427047(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x1d1d4b,0xc,_0x5b9881[0x9]),_0x43f1ad=_0x427047(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x248e65,0x11,_0x5b9881[0xa]),_0x4c2faa=_0x427047(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x5c58e8,0x16,_0x5b9881[0xb]),_0x4823ae=_0x427047(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4a135a,0x7,_0x5b9881[0xc]),_0x17ef94=_0x427047(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x642778,0xc,_0x5b9881[0xd]),_0x43f1ad=_0x427047(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x81825,0x11,_0x5b9881[0xe]),_0x4c2faa=_0x427047(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x1a41ab,0x16,_0x5b9881[0xf]),_0x4823ae=_0x4203a8(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x200760,0x5,_0x5b9881[0x10]),_0x17ef94=_0x4203a8(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x14d2a0,0x9,_0x5b9881[0x11]),_0x43f1ad=_0x4203a8(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x5c58e8,0xe,_0x5b9881[0x12]),_0x4c2faa=_0x4203a8(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x94eeb7,0x14,_0x5b9881[0x13]),_0x4823ae=_0x4203a8(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x53fd4c,0x5,_0x5b9881[0x14]),_0x17ef94=_0x4203a8(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x248e65,0x9,_0x5b9881[0x15]),_0x43f1ad=_0x4203a8(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x1a41ab,0xe,_0x5b9881[0x16]),_0x4c2faa=_0x4203a8(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x24098d,0x14,_0x5b9881[0x17]),_0x4823ae=_0x4203a8(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x1d1d4b,0x5,_0x5b9881[0x18]),_0x17ef94=_0x4203a8(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x81825,0x9,_0x5b9881[0x19]),_0x43f1ad=_0x4203a8(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0xd7f561,0xe,_0x5b9881[0x1a]),_0x4c2faa=_0x4203a8(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x2c28cc,0x14,_0x5b9881[0x1b]),_0x4823ae=_0x4203a8(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x642778,0x5,_0x5b9881[0x1c]),_0x17ef94=_0x4203a8(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x5152f8,0x9,_0x5b9881[0x1d]),_0x43f1ad=_0x4203a8(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x1ba1df,0xe,_0x5b9881[0x1e]),_0x4c2faa=_0x4203a8(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x4a135a,0x14,_0x5b9881[0x1f]),_0x4823ae=_0xe0131c(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x53fd4c,0x4,_0x5b9881[0x20]),_0x17ef94=_0xe0131c(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x2c28cc,0xb,_0x5b9881[0x21]),_0x43f1ad=_0xe0131c(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x5c58e8,0x10,_0x5b9881[0x22]),_0x4c2faa=_0xe0131c(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x81825,0x17,_0x5b9881[0x23]),_0x4823ae=_0xe0131c(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x200760,0x4,_0x5b9881[0x24]),_0x17ef94=_0xe0131c(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x24098d,0xb,_0x5b9881[0x25]),_0x43f1ad=_0xe0131c(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x1ba1df,0x10,_0x5b9881[0x26]),_0x4c2faa=_0xe0131c(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x248e65,0x17,_0x5b9881[0x27]),_0x4823ae=_0xe0131c(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x642778,0x4,_0x5b9881[0x28]),_0x17ef94=_0xe0131c(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x94eeb7,0xb,_0x5b9881[0x29]),_0x43f1ad=_0xe0131c(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0xd7f561,0x10,_0x5b9881[0x2a]),_0x4c2faa=_0xe0131c(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x14d2a0,0x17,_0x5b9881[0x2b]),_0x4823ae=_0xe0131c(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x1d1d4b,0x4,_0x5b9881[0x2c]),_0x17ef94=_0xe0131c(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x4a135a,0xb,_0x5b9881[0x2d]),_0x43f1ad=_0xe0131c(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x1a41ab,0x10,_0x5b9881[0x2e]),_0x4c2faa=_0xe0131c(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x5152f8,0x17,_0x5b9881[0x2f]),_0x4823ae=_0x2a2f63(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x94eeb7,0x6,_0x5b9881[0x30]),_0x17ef94=_0x2a2f63(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x1ba1df,0xa,_0x5b9881[0x31]),_0x43f1ad=_0x2a2f63(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x81825,0xf,_0x5b9881[0x32]),_0x4c2faa=_0x2a2f63(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x53fd4c,0x15,_0x5b9881[0x33]),_0x4823ae=_0x2a2f63(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4a135a,0x6,_0x5b9881[0x34]),_0x17ef94=_0x2a2f63(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0xd7f561,0xa,_0x5b9881[0x35]),_0x43f1ad=_0x2a2f63(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x248e65,0xf,_0x5b9881[0x36]),_0x4c2faa=_0x2a2f63(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x200760,0x15,_0x5b9881[0x37]),_0x4823ae=_0x2a2f63(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x2c28cc,0x6,_0x5b9881[0x38]),_0x17ef94=_0x2a2f63(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x1a41ab,0xa,_0x5b9881[0x39]),_0x43f1ad=_0x2a2f63(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x14d2a0,0xf,_0x5b9881[0x3a]),_0x4c2faa=_0x2a2f63(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x642778,0x15,_0x5b9881[0x3b]),_0x4823ae=_0x2a2f63(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x24098d,0x6,_0x5b9881[0x3c]),_0x17ef94=_0x2a2f63(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x5c58e8,0xa,_0x5b9881[0x3d]),_0x43f1ad=_0x2a2f63(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x5152f8,0xf,_0x5b9881[0x3e]),_0x4c2faa=_0x2a2f63(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x1d1d4b,0x15,_0x5b9881[0x3f]),_0xeb74c[0x0]=_0xeb74c[0x0]+_0x4823ae|0x0,_0xeb74c[0x1]=_0xeb74c[0x1]+_0x4c2faa|0x0,_0xeb74c[0x2]=_0xeb74c[0x2]+_0x43f1ad|0x0,_0xeb74c[0x3]=_0xeb74c[0x3]+_0x17ef94|0x0;},'_doFinalize':function(){var _0x19817e=_0x420c4c,_0x39b3e6=this[_0x19817e(0x29b)],_0x151526=_0x39b3e6[_0x19817e(0x370)],_0xaee4ba=this[_0x19817e(0x113)]*0x8,_0x4495c6=_0x39b3e6[_0x19817e(0x296)]*0x8;_0x151526[_0x4495c6>>>0x5]|=0x80<<0x18-_0x4495c6%0x20;var _0x57fa08=_0x46be59[_0x19817e(0x279)](_0xaee4ba/0x100000000),_0x408bd3=_0xaee4ba;_0x151526[(_0x4495c6+0x40>>>0x9<<0x4)+0xf]=(_0x57fa08<<0x8|_0x57fa08>>>0x18)&0xff00ff|(_0x57fa08<<0x18|_0x57fa08>>>0x8)&0xff00ff00,_0x151526[(_0x4495c6+0x40>>>0x9<<0x4)+0xe]=(_0x408bd3<<0x8|_0x408bd3>>>0x18)&0xff00ff|(_0x408bd3<<0x18|_0x408bd3>>>0x8)&0xff00ff00,_0x39b3e6[_0x19817e(0x296)]=(_0x151526[_0x19817e(0x143)]+0x1)*0x4,this['_process']();for(var _0x28d725=this[_0x19817e(0x33f)],_0x59d0a7=_0x28d725[_0x19817e(0x370)],_0x3f1885=0x0;_0x3f1885<0x4;_0x3f1885++){var _0x162e8f=_0x59d0a7[_0x3f1885];_0x59d0a7[_0x3f1885]=(_0x162e8f<<0x8|_0x162e8f>>>0x18)&0xff00ff|(_0x162e8f<<0x18|_0x162e8f>>>0x8)&0xff00ff00;}return _0x28d725;},'clone':function(){var _0x15c0a2=_0x420c4c,_0x40c125=_0x112069['clone'][_0x15c0a2(0x3f8)](this);return _0x40c125['_hash']=this['_hash'][_0x15c0a2(0x257)](),_0x40c125;}});function _0x427047(_0x401dcb,_0x1be5ee,_0x2c0b37,_0x17ec16,_0x5c93c2,_0xac861c,_0x1b9cec){var _0x18ff7c=_0x401dcb+(_0x1be5ee&_0x2c0b37|~_0x1be5ee&_0x17ec16)+_0x5c93c2+_0x1b9cec;return(_0x18ff7c<<_0xac861c|_0x18ff7c>>>0x20-_0xac861c)+_0x1be5ee;}function _0x4203a8(_0x74b4ec,_0x391349,_0x15f1cc,_0x354b5e,_0x2e22c0,_0x565cd1,_0x388663){var _0x19c8cd=_0x74b4ec+(_0x391349&_0x354b5e|_0x15f1cc&~_0x354b5e)+_0x2e22c0+_0x388663;return(_0x19c8cd<<_0x565cd1|_0x19c8cd>>>0x20-_0x565cd1)+_0x391349;}function _0xe0131c(_0x415d72,_0x2cefa6,_0x264274,_0x1ce732,_0x4e3f3c,_0x561c8b,_0x41cd9f){var _0x27a6b6=_0x415d72+(_0x2cefa6^_0x264274^_0x1ce732)+_0x4e3f3c+_0x41cd9f;return(_0x27a6b6<<_0x561c8b|_0x27a6b6>>>0x20-_0x561c8b)+_0x2cefa6;}function _0x2a2f63(_0x5757f1,_0x12da38,_0x2debe0,_0x3248e0,_0x33ee64,_0xb44e72,_0x4935e9){var _0x3ba832=_0x5757f1+(_0x2debe0^(_0x12da38|~_0x3248e0))+_0x33ee64+_0x4935e9;return(_0x3ba832<<_0xb44e72|_0x3ba832>>>0x20-_0xb44e72)+_0x12da38;}_0xb69b92[_0x420c4c(0x200)]=_0x112069[_0x420c4c(0x416)](_0x205c91),_0xb69b92[_0x420c4c(0x12c)]=_0x112069['_createHmacHelper'](_0x205c91);}(Math),_0x1ccb90[_0x26ef69(0x200)];}));}(Ie)),Ie['exports'];}var me={'exports':{}},Ee={'exports':{}},ji=Ee['exports'],tt;function $i(){var _0x16a860=_0x5a48c0;return tt||(tt=0x1,function(_0x1f0da2,_0x5c8e8c){(function(_0x74405a,_0x2eeffa){_0x1f0da2['exports']=_0x2eeffa(ee());}(ji,function(_0x4d8742){var _0x7370cc=_0x5815;return(function(){var _0x512b3b=_0x5815,_0x534c6f=_0x4d8742,_0x125f84=_0x534c6f[_0x512b3b(0x2c4)],_0x812f7c=_0x125f84['WordArray'],_0x43d6d3=_0x125f84[_0x512b3b(0x33b)],_0x19afb1=_0x534c6f[_0x512b3b(0x11c)],_0x381720=[],_0x13e4a2=_0x19afb1[_0x512b3b(0x397)]=_0x43d6d3[_0x512b3b(0x1e0)]({'_doReset':function(){var _0xa9b86b=_0x512b3b;this[_0xa9b86b(0x33f)]=new _0x812f7c['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3a0947,_0x566f26){var _0x576e06=_0x512b3b;for(var _0x349f95=this[_0x576e06(0x33f)][_0x576e06(0x370)],_0x3f92ac=_0x349f95[0x0],_0xac147e=_0x349f95[0x1],_0x588cbb=_0x349f95[0x2],_0x31154a=_0x349f95[0x3],_0x126846=_0x349f95[0x4],_0x398e6c=0x0;_0x398e6c<0x50;_0x398e6c++){if(_0x398e6c<0x10)_0x381720[_0x398e6c]=_0x3a0947[_0x566f26+_0x398e6c]|0x0;else{var _0x36686a=_0x381720[_0x398e6c-0x3]^_0x381720[_0x398e6c-0x8]^_0x381720[_0x398e6c-0xe]^_0x381720[_0x398e6c-0x10];_0x381720[_0x398e6c]=_0x36686a<<0x1|_0x36686a>>>0x1f;}var _0x34a0ac=(_0x3f92ac<<0x5|_0x3f92ac>>>0x1b)+_0x126846+_0x381720[_0x398e6c];_0x398e6c<0x14?_0x34a0ac+=(_0xac147e&_0x588cbb|~_0xac147e&_0x31154a)+0x5a827999:_0x398e6c<0x28?_0x34a0ac+=(_0xac147e^_0x588cbb^_0x31154a)+0x6ed9eba1:_0x398e6c<0x3c?_0x34a0ac+=(_0xac147e&_0x588cbb|_0xac147e&_0x31154a|_0x588cbb&_0x31154a)-0x70e44324:_0x34a0ac+=(_0xac147e^_0x588cbb^_0x31154a)-0x359d3e2a,_0x126846=_0x31154a,_0x31154a=_0x588cbb,_0x588cbb=_0xac147e<<0x1e|_0xac147e>>>0x2,_0xac147e=_0x3f92ac,_0x3f92ac=_0x34a0ac;}_0x349f95[0x0]=_0x349f95[0x0]+_0x3f92ac|0x0,_0x349f95[0x1]=_0x349f95[0x1]+_0xac147e|0x0,_0x349f95[0x2]=_0x349f95[0x2]+_0x588cbb|0x0,_0x349f95[0x3]=_0x349f95[0x3]+_0x31154a|0x0,_0x349f95[0x4]=_0x349f95[0x4]+_0x126846|0x0;},'_doFinalize':function(){var _0x19bc82=_0x512b3b,_0x5b2f20=this[_0x19bc82(0x29b)],_0x450208=_0x5b2f20[_0x19bc82(0x370)],_0x4a59e3=this[_0x19bc82(0x113)]*0x8,_0x33251e=_0x5b2f20[_0x19bc82(0x296)]*0x8;return _0x450208[_0x33251e>>>0x5]|=0x80<<0x18-_0x33251e%0x20,_0x450208[(_0x33251e+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x4a59e3/0x100000000),_0x450208[(_0x33251e+0x40>>>0x9<<0x4)+0xf]=_0x4a59e3,_0x5b2f20[_0x19bc82(0x296)]=_0x450208[_0x19bc82(0x143)]*0x4,this[_0x19bc82(0x407)](),this['_hash'];},'clone':function(){var _0x1c70f3=_0x512b3b,_0x4afa9f=_0x43d6d3['clone'][_0x1c70f3(0x3f8)](this);return _0x4afa9f[_0x1c70f3(0x33f)]=this[_0x1c70f3(0x33f)][_0x1c70f3(0x257)](),_0x4afa9f;}});_0x534c6f[_0x512b3b(0x397)]=_0x43d6d3[_0x512b3b(0x416)](_0x13e4a2),_0x534c6f[_0x512b3b(0xf8)]=_0x43d6d3[_0x512b3b(0xe8)](_0x13e4a2);}()),_0x4d8742[_0x7370cc(0x397)];}));}(Ee)),Ee[_0x16a860(0x1df)];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){return it||(it=0x1,function(_0x3799df,_0x4ff745){(function(_0x30c12b,_0x17ed53){var _0x5b6bf8=_0x5815;_0x3799df[_0x5b6bf8(0x1df)]=_0x17ed53(ee());}(Bi,function(_0x56e4f1){(function(){var _0x4f516b=_0x5815,_0x1b07af=_0x56e4f1,_0x35c3d0=_0x1b07af[_0x4f516b(0x2c4)],_0x7012ba=_0x35c3d0['Base'],_0x2d8984=_0x1b07af[_0x4f516b(0x148)],_0x1738f2=_0x2d8984[_0x4f516b(0x28d)],_0x3dc677=_0x1b07af[_0x4f516b(0x11c)];_0x3dc677[_0x4f516b(0x1a0)]=_0x7012ba['extend']({'init':function(_0x7e09f,_0x46fbb1){var _0x4fb804=_0x4f516b;_0x7e09f=this[_0x4fb804(0x32c)]=new _0x7e09f[(_0x4fb804(0x261))](),typeof _0x46fbb1==_0x4fb804(0x324)&&(_0x46fbb1=_0x1738f2[_0x4fb804(0x425)](_0x46fbb1));var _0xb9455c=_0x7e09f['blockSize'],_0x319158=_0xb9455c*0x4;_0x46fbb1[_0x4fb804(0x296)]>_0x319158&&(_0x46fbb1=_0x7e09f[_0x4fb804(0xe5)](_0x46fbb1)),_0x46fbb1[_0x4fb804(0x2d3)]();for(var _0x3a4189=this[_0x4fb804(0x2df)]=_0x46fbb1[_0x4fb804(0x257)](),_0x4ea2e6=this[_0x4fb804(0x396)]=_0x46fbb1[_0x4fb804(0x257)](),_0x10fee8=_0x3a4189[_0x4fb804(0x370)],_0x133310=_0x4ea2e6[_0x4fb804(0x370)],_0x1bf4f9=0x0;_0x1bf4f9<_0xb9455c;_0x1bf4f9++)_0x10fee8[_0x1bf4f9]^=0x5c5c5c5c,_0x133310[_0x1bf4f9]^=0x36363636;_0x3a4189[_0x4fb804(0x296)]=_0x4ea2e6[_0x4fb804(0x296)]=_0x319158,this[_0x4fb804(0x23b)]();},'reset':function(){var _0x60265a=_0x4f516b,_0x4c0164=this[_0x60265a(0x32c)];_0x4c0164['reset'](),_0x4c0164[_0x60265a(0x101)](this[_0x60265a(0x396)]);},'update':function(_0x4b1e42){var _0x2f1d8c=_0x4f516b;return this[_0x2f1d8c(0x32c)]['update'](_0x4b1e42),this;},'finalize':function(_0x48bfbe){var _0x3cbb99=_0x4f516b,_0x11926f=this[_0x3cbb99(0x32c)],_0x3a035e=_0x11926f['finalize'](_0x48bfbe);_0x11926f[_0x3cbb99(0x23b)]();var _0x57e94d=_0x11926f[_0x3cbb99(0xe5)](this[_0x3cbb99(0x2df)][_0x3cbb99(0x257)]()['concat'](_0x3a035e));return _0x57e94d;}});}());}));}(Ce)),Ce['exports'];}var Vi=me['exports'],nt;function At(){var _0x240aaf=_0x5a48c0;return nt||(nt=0x1,function(_0x584333,_0x1dc726){(function(_0x53e572,_0x271fb6,_0x46548e){_0x584333['exports']=_0x271fb6(ee(),$i(),Fi());}(Vi,function(_0x2a354b){var _0x464239=_0x5815;return(function(){var _0x3dccd4=_0x5815,_0x49f82c=_0x2a354b,_0x489a94=_0x49f82c[_0x3dccd4(0x2c4)],_0x4c91d1=_0x489a94[_0x3dccd4(0x3f9)],_0x33fb3c=_0x489a94[_0x3dccd4(0x24f)],_0x2ed3bb=_0x49f82c[_0x3dccd4(0x11c)],_0x536ff1=_0x2ed3bb[_0x3dccd4(0x200)],_0x1a00aa=_0x2ed3bb[_0x3dccd4(0x37a)]=_0x4c91d1[_0x3dccd4(0x1e0)]({'cfg':_0x4c91d1[_0x3dccd4(0x1e0)]({'keySize':0x80/0x20,'hasher':_0x536ff1,'iterations':0x1}),'init':function(_0x3aa66e){var _0x5592b6=_0x3dccd4;this[_0x5592b6(0x1c4)]=this[_0x5592b6(0x1c4)][_0x5592b6(0x1e0)](_0x3aa66e);},'compute':function(_0x3d61d1,_0x9db99a){var _0x334b1=_0x3dccd4;for(var _0x518931,_0x571ba1=this[_0x334b1(0x1c4)],_0x2e3636=_0x571ba1['hasher'][_0x334b1(0x2a8)](),_0x29577=_0x33fb3c[_0x334b1(0x2a8)](),_0x1589b1=_0x29577['words'],_0x98c50d=_0x571ba1['keySize'],_0x5d87f0=_0x571ba1['iterations'];_0x1589b1['length']<_0x98c50d;){_0x518931&&_0x2e3636[_0x334b1(0x101)](_0x518931),_0x518931=_0x2e3636['update'](_0x3d61d1)[_0x334b1(0xe5)](_0x9db99a),_0x2e3636[_0x334b1(0x23b)]();for(var _0x490317=0x1;_0x490317<_0x5d87f0;_0x490317++)_0x518931=_0x2e3636[_0x334b1(0xe5)](_0x518931),_0x2e3636[_0x334b1(0x23b)]();_0x29577[_0x334b1(0x116)](_0x518931);}return _0x29577[_0x334b1(0x296)]=_0x98c50d*0x4,_0x29577;}});_0x49f82c[_0x3dccd4(0x37a)]=function(_0x30ac39,_0x5bbe59,_0x31a5d4){var _0x4db4cc=_0x3dccd4;return _0x1a00aa['create'](_0x31a5d4)[_0x4db4cc(0x37c)](_0x30ac39,_0x5bbe59);};}()),_0x2a354b[_0x464239(0x37a)];}));}(me)),me[_0x240aaf(0x1df)];}var Te={'exports':{}},Wi=Te['exports'],rt;function Pt(){var _0x1d35a0=_0x5a48c0;return rt||(rt=0x1,function(_0x1457bc,_0x31fe88){(function(_0x3499f4,_0x115356,_0x46f72b){_0x1457bc['exports']=_0x115356(ee(),At());}(Wi,function(_0x8582d3){var _0x5db09d=_0x5815;_0x8582d3[_0x5db09d(0x2c4)][_0x5db09d(0x3ed)]||function(_0x216c31){var _0x2c92e5=_0x5db09d,_0x39189a=_0x8582d3,_0x142635=_0x39189a['lib'],_0xf5780=_0x142635[_0x2c92e5(0x3f9)],_0x28dfb7=_0x142635['WordArray'],_0x681415=_0x142635[_0x2c92e5(0x32f)],_0x170b52=_0x39189a['enc'];_0x170b52['Utf8'];var _0x3efd08=_0x170b52['Base64'],_0xbd8958=_0x39189a['algo'],_0x50f972=_0xbd8958['EvpKDF'],_0x39744d=_0x142635[_0x2c92e5(0x3ed)]=_0x681415[_0x2c92e5(0x1e0)]({'cfg':_0xf5780[_0x2c92e5(0x1e0)](),'createEncryptor':function(_0x28e4c2,_0x295c7b){var _0x4e6dfe=_0x2c92e5;return this[_0x4e6dfe(0x2a8)](this[_0x4e6dfe(0x135)],_0x28e4c2,_0x295c7b);},'createDecryptor':function(_0x3f44b4,_0x24775e){var _0x221acb=_0x2c92e5;return this[_0x221acb(0x2a8)](this[_0x221acb(0x2c3)],_0x3f44b4,_0x24775e);},'init':function(_0x1bc2ad,_0x317d42,_0xf1111c){var _0x1a6fd5=_0x2c92e5;this[_0x1a6fd5(0x1c4)]=this[_0x1a6fd5(0x1c4)][_0x1a6fd5(0x1e0)](_0xf1111c),this['_xformMode']=_0x1bc2ad,this[_0x1a6fd5(0x1cf)]=_0x317d42,this[_0x1a6fd5(0x23b)]();},'reset':function(){var _0x432329=_0x2c92e5;_0x681415['reset'][_0x432329(0x3f8)](this),this[_0x432329(0x111)]();},'process':function(_0xfca378){var _0x3e37a2=_0x2c92e5;return this[_0x3e37a2(0x3ba)](_0xfca378),this[_0x3e37a2(0x407)]();},'finalize':function(_0x178156){var _0x5d37db=_0x2c92e5;_0x178156&&this[_0x5d37db(0x3ba)](_0x178156);var _0x5cf0c2=this[_0x5d37db(0x1f8)]();return _0x5cf0c2;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x27826e(_0x1be0ba){var _0x3e62e6=_0x5815;return typeof _0x1be0ba==_0x3e62e6(0x324)?_0x331d1f:_0x5555a2;}return function(_0x4ea929){return{'encrypt':function(_0x1cbfa0,_0x363a25,_0x558f23){return _0x27826e(_0x363a25)['encrypt'](_0x4ea929,_0x1cbfa0,_0x363a25,_0x558f23);},'decrypt':function(_0x4ade99,_0x239936,_0x5eedee){return _0x27826e(_0x239936)['decrypt'](_0x4ea929,_0x4ade99,_0x239936,_0x5eedee);}};};}())});_0x142635[_0x2c92e5(0xda)]=_0x39744d[_0x2c92e5(0x1e0)]({'_doFinalize':function(){var _0x219c82=_0x2c92e5,_0x4dd74d=this[_0x219c82(0x407)](!0x0);return _0x4dd74d;},'blockSize':0x1});var _0x7c12ca=_0x39189a[_0x2c92e5(0x23c)]={},_0x6f9b4b=_0x142635['BlockCipherMode']=_0xf5780[_0x2c92e5(0x1e0)]({'createEncryptor':function(_0x2ae336,_0x52f8ea){var _0xccd4ff=_0x2c92e5;return this['Encryptor'][_0xccd4ff(0x2a8)](_0x2ae336,_0x52f8ea);},'createDecryptor':function(_0x170cef,_0x220f72){var _0x31ad80=_0x2c92e5;return this[_0x31ad80(0x365)][_0x31ad80(0x2a8)](_0x170cef,_0x220f72);},'init':function(_0x5b4b00,_0x2deb9d){var _0x3fae04=_0x2c92e5;this[_0x3fae04(0x3fd)]=_0x5b4b00,this[_0x3fae04(0x268)]=_0x2deb9d;}}),_0x2a861e=_0x7c12ca[_0x2c92e5(0x30d)]=(function(){var _0x1e4b63=_0x2c92e5,_0x197238=_0x6f9b4b['extend']();_0x197238[_0x1e4b63(0x156)]=_0x197238[_0x1e4b63(0x1e0)]({'processBlock':function(_0x122ab8,_0x4826ae){var _0xa9242c=_0x1e4b63,_0x4e3204=this[_0xa9242c(0x3fd)],_0x56c89f=_0x4e3204['blockSize'];_0x528473[_0xa9242c(0x3f8)](this,_0x122ab8,_0x4826ae,_0x56c89f),_0x4e3204[_0xa9242c(0x17e)](_0x122ab8,_0x4826ae),this[_0xa9242c(0x2a9)]=_0x122ab8[_0xa9242c(0x1ee)](_0x4826ae,_0x4826ae+_0x56c89f);}}),_0x197238[_0x1e4b63(0x365)]=_0x197238[_0x1e4b63(0x1e0)]({'processBlock':function(_0x24c11f,_0x55e7fe){var _0x421e00=_0x1e4b63,_0x1e31ac=this['_cipher'],_0x4b6139=_0x1e31ac['blockSize'],_0x14a494=_0x24c11f[_0x421e00(0x1ee)](_0x55e7fe,_0x55e7fe+_0x4b6139);_0x1e31ac[_0x421e00(0x3d9)](_0x24c11f,_0x55e7fe),_0x528473[_0x421e00(0x3f8)](this,_0x24c11f,_0x55e7fe,_0x4b6139),this['_prevBlock']=_0x14a494;}});function _0x528473(_0x1c05fa,_0x367014,_0x15f923){var _0x16e48e=_0x1e4b63,_0x11b76f,_0x1b0fcc=this[_0x16e48e(0x268)];_0x1b0fcc?(_0x11b76f=_0x1b0fcc,this['_iv']=_0x216c31):_0x11b76f=this[_0x16e48e(0x2a9)];for(var _0x5669b0=0x0;_0x5669b0<_0x15f923;_0x5669b0++)_0x1c05fa[_0x367014+_0x5669b0]^=_0x11b76f[_0x5669b0];}return _0x197238;}()),_0x24cc79=_0x39189a[_0x2c92e5(0x21c)]={},_0x320130=_0x24cc79[_0x2c92e5(0x3ef)]={'pad':function(_0x54cc7f,_0x462ce4){var _0x306a0b=_0x2c92e5;for(var _0x3372e8=_0x462ce4*0x4,_0x1c53ee=_0x3372e8-_0x54cc7f[_0x306a0b(0x296)]%_0x3372e8,_0x46a287=_0x1c53ee<<0x18|_0x1c53ee<<0x10|_0x1c53ee<<0x8|_0x1c53ee,_0x2caeb0=[],_0x38a43c=0x0;_0x38a43c<_0x1c53ee;_0x38a43c+=0x4)_0x2caeb0['push'](_0x46a287);var _0x19406d=_0x28dfb7[_0x306a0b(0x2a8)](_0x2caeb0,_0x1c53ee);_0x54cc7f[_0x306a0b(0x116)](_0x19406d);},'unpad':function(_0x35bc91){var _0x5c2f16=_0x2c92e5,_0x496966=_0x35bc91[_0x5c2f16(0x370)][_0x35bc91[_0x5c2f16(0x296)]-0x1>>>0x2]&0xff;_0x35bc91['sigBytes']-=_0x496966;}};_0x142635['BlockCipher']=_0x39744d[_0x2c92e5(0x1e0)]({'cfg':_0x39744d[_0x2c92e5(0x1c4)][_0x2c92e5(0x1e0)]({'mode':_0x2a861e,'padding':_0x320130}),'reset':function(){var _0x147fe5=_0x2c92e5,_0x1a5d77;_0x39744d[_0x147fe5(0x23b)][_0x147fe5(0x3f8)](this);var _0x52ae69=this[_0x147fe5(0x1c4)],_0x96b80b=_0x52ae69['iv'],_0x7e623f=_0x52ae69[_0x147fe5(0x23c)];this[_0x147fe5(0x1ed)]==this['_ENC_XFORM_MODE']?_0x1a5d77=_0x7e623f['createEncryptor']:(_0x1a5d77=_0x7e623f['createDecryptor'],this['_minBufferSize']=0x1),this[_0x147fe5(0x1a3)]&&this[_0x147fe5(0x1a3)][_0x147fe5(0x15d)]==_0x1a5d77?this['_mode'][_0x147fe5(0x261)](this,_0x96b80b&&_0x96b80b[_0x147fe5(0x370)]):(this[_0x147fe5(0x1a3)]=_0x1a5d77[_0x147fe5(0x3f8)](_0x7e623f,this,_0x96b80b&&_0x96b80b[_0x147fe5(0x370)]),this['_mode'][_0x147fe5(0x15d)]=_0x1a5d77);},'_doProcessBlock':function(_0x1619ad,_0x35968a){var _0x2e1b4e=_0x2c92e5;this[_0x2e1b4e(0x1a3)][_0x2e1b4e(0x355)](_0x1619ad,_0x35968a);},'_doFinalize':function(){var _0x56bf98=_0x2c92e5,_0x1d85cf,_0x59527e=this[_0x56bf98(0x1c4)][_0x56bf98(0x139)];return this[_0x56bf98(0x1ed)]==this[_0x56bf98(0x135)]?(_0x59527e[_0x56bf98(0x21c)](this[_0x56bf98(0x29b)],this[_0x56bf98(0x376)]),_0x1d85cf=this[_0x56bf98(0x407)](!0x0)):(_0x1d85cf=this[_0x56bf98(0x407)](!0x0),_0x59527e[_0x56bf98(0x25c)](_0x1d85cf)),_0x1d85cf;},'blockSize':0x80/0x20});var _0x50ab20=_0x142635['CipherParams']=_0xf5780[_0x2c92e5(0x1e0)]({'init':function(_0x2d2a8f){this['mixIn'](_0x2d2a8f);},'toString':function(_0x1514fc){var _0x170d49=_0x2c92e5;return(_0x1514fc||this[_0x170d49(0x2f1)])[_0x170d49(0x208)](this);}}),_0x371b72=_0x39189a[_0x2c92e5(0xe0)]={},_0x31c6bc=_0x371b72[_0x2c92e5(0x133)]={'stringify':function(_0xd5c975){var _0x1497cc=_0x2c92e5,_0x480afb,_0x59bf7c=_0xd5c975[_0x1497cc(0x344)],_0x1139f9=_0xd5c975[_0x1497cc(0x32e)];return _0x1139f9?_0x480afb=_0x28dfb7[_0x1497cc(0x2a8)]([0x53616c74,0x65645f5f])['concat'](_0x1139f9)[_0x1497cc(0x116)](_0x59bf7c):_0x480afb=_0x59bf7c,_0x480afb[_0x1497cc(0x232)](_0x3efd08);},'parse':function(_0x3407d6){var _0x3ebdaa=_0x2c92e5,_0x3a090c,_0x38dbc9=_0x3efd08[_0x3ebdaa(0x425)](_0x3407d6),_0x1b98f5=_0x38dbc9[_0x3ebdaa(0x370)];return _0x1b98f5[0x0]==0x53616c74&&_0x1b98f5[0x1]==0x65645f5f&&(_0x3a090c=_0x28dfb7[_0x3ebdaa(0x2a8)](_0x1b98f5[_0x3ebdaa(0x1ee)](0x2,0x4)),_0x1b98f5[_0x3ebdaa(0x34c)](0x0,0x4),_0x38dbc9['sigBytes']-=0x10),_0x50ab20['create']({'ciphertext':_0x38dbc9,'salt':_0x3a090c});}},_0x5555a2=_0x142635[_0x2c92e5(0x445)]=_0xf5780[_0x2c92e5(0x1e0)]({'cfg':_0xf5780[_0x2c92e5(0x1e0)]({'format':_0x31c6bc}),'encrypt':function(_0x5d0f27,_0x1ce4cf,_0x892c7,_0x5c68a0){var _0x29ad71=_0x2c92e5;_0x5c68a0=this[_0x29ad71(0x1c4)][_0x29ad71(0x1e0)](_0x5c68a0);var _0x11cab1=_0x5d0f27[_0x29ad71(0x202)](_0x892c7,_0x5c68a0),_0x3c336c=_0x11cab1[_0x29ad71(0xe5)](_0x1ce4cf),_0x405b29=_0x11cab1[_0x29ad71(0x1c4)];return _0x50ab20[_0x29ad71(0x2a8)]({'ciphertext':_0x3c336c,'key':_0x892c7,'iv':_0x405b29['iv'],'algorithm':_0x5d0f27,'mode':_0x405b29[_0x29ad71(0x23c)],'padding':_0x405b29['padding'],'blockSize':_0x5d0f27[_0x29ad71(0x376)],'formatter':_0x5c68a0[_0x29ad71(0xe0)]});},'decrypt':function(_0x4f6d11,_0x4f6411,_0x544107,_0x57ab1f){var _0x5c02bb=_0x2c92e5;_0x57ab1f=this['cfg']['extend'](_0x57ab1f),_0x4f6411=this[_0x5c02bb(0x1ba)](_0x4f6411,_0x57ab1f['format']);var _0x20c83d=_0x4f6d11[_0x5c02bb(0xed)](_0x544107,_0x57ab1f)[_0x5c02bb(0xe5)](_0x4f6411[_0x5c02bb(0x344)]);return _0x20c83d;},'_parse':function(_0x1e660b,_0x1434d8){var _0x4872d6=_0x2c92e5;return typeof _0x1e660b==_0x4872d6(0x324)?_0x1434d8[_0x4872d6(0x425)](_0x1e660b,this):_0x1e660b;}}),_0x4544ad=_0x39189a[_0x2c92e5(0x337)]={},_0x292a6c=_0x4544ad[_0x2c92e5(0x133)]={'execute':function(_0x26e39e,_0x50b6da,_0x183cae,_0x168e54,_0x3318f5){var _0x131f66=_0x2c92e5;if(_0x168e54||(_0x168e54=_0x28dfb7[_0x131f66(0x36e)](0x40/0x8)),_0x3318f5)var _0x211389=_0x50f972[_0x131f66(0x2a8)]({'keySize':_0x50b6da+_0x183cae,'hasher':_0x3318f5})[_0x131f66(0x37c)](_0x26e39e,_0x168e54);else var _0x211389=_0x50f972[_0x131f66(0x2a8)]({'keySize':_0x50b6da+_0x183cae})[_0x131f66(0x37c)](_0x26e39e,_0x168e54);var _0x4d91d3=_0x28dfb7[_0x131f66(0x2a8)](_0x211389['words'][_0x131f66(0x1ee)](_0x50b6da),_0x183cae*0x4);return _0x211389['sigBytes']=_0x50b6da*0x4,_0x50ab20[_0x131f66(0x2a8)]({'key':_0x211389,'iv':_0x4d91d3,'salt':_0x168e54});}},_0x331d1f=_0x142635[_0x2c92e5(0x2a4)]=_0x5555a2[_0x2c92e5(0x1e0)]({'cfg':_0x5555a2['cfg']['extend']({'kdf':_0x292a6c}),'encrypt':function(_0x2426c7,_0x177f60,_0x59e661,_0x135ccd){var _0x2bcda6=_0x2c92e5;_0x135ccd=this['cfg']['extend'](_0x135ccd);var _0x473c1b=_0x135ccd[_0x2bcda6(0x337)][_0x2bcda6(0x17f)](_0x59e661,_0x2426c7[_0x2bcda6(0x2f4)],_0x2426c7[_0x2bcda6(0x3d2)],_0x135ccd['salt'],_0x135ccd[_0x2bcda6(0x1dd)]);_0x135ccd['iv']=_0x473c1b['iv'];var _0x28eebd=_0x5555a2['encrypt']['call'](this,_0x2426c7,_0x177f60,_0x473c1b[_0x2bcda6(0x2e2)],_0x135ccd);return _0x28eebd['mixIn'](_0x473c1b),_0x28eebd;},'decrypt':function(_0x21b2e9,_0x2b58af,_0x2e158b,_0x219a0e){var _0x236599=_0x2c92e5;_0x219a0e=this['cfg'][_0x236599(0x1e0)](_0x219a0e),_0x2b58af=this[_0x236599(0x1ba)](_0x2b58af,_0x219a0e[_0x236599(0xe0)]);var _0x282bf0=_0x219a0e[_0x236599(0x337)][_0x236599(0x17f)](_0x2e158b,_0x21b2e9[_0x236599(0x2f4)],_0x21b2e9[_0x236599(0x3d2)],_0x2b58af[_0x236599(0x32e)],_0x219a0e[_0x236599(0x1dd)]);_0x219a0e['iv']=_0x282bf0['iv'];var _0x193a7c=_0x5555a2[_0x236599(0x2fa)][_0x236599(0x3f8)](this,_0x21b2e9,_0x2b58af,_0x282bf0[_0x236599(0x2e2)],_0x219a0e);return _0x193a7c;}});}();}));}(Te)),Te[_0x1d35a0(0x1df)];}var Gi=fe[_0x5a48c0(0x1df)],st;function Ki(){var _0x378087=_0x5a48c0;return st||(st=0x1,function(_0x5d0b3,_0x2dcea8){(function(_0x21151c,_0x2e1f31,_0x3b9446){_0x5d0b3['exports']=_0x2e1f31(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0xb7adbd){return(function(){var _0x31c1b9=_0x5815,_0x4bac46=_0xb7adbd,_0x13036f=_0x4bac46[_0x31c1b9(0x2c4)],_0x5ac35a=_0x13036f[_0x31c1b9(0x3e8)],_0x4e34db=_0x4bac46[_0x31c1b9(0x11c)],_0x199b5e=[],_0x88b459=[],_0x2d8d41=[],_0x252a09=[],_0x21b7c2=[],_0x3278cd=[],_0x17196c=[],_0xd0a4de=[],_0x118ebc=[],_0x2ae297=[];(function(){for(var _0x28f924=[],_0x4c5285=0x0;_0x4c5285<0x100;_0x4c5285++)_0x4c5285<0x80?_0x28f924[_0x4c5285]=_0x4c5285<<0x1:_0x28f924[_0x4c5285]=_0x4c5285<<0x1^0x11b;for(var _0x308517=0x0,_0x21a6e2=0x0,_0x4c5285=0x0;_0x4c5285<0x100;_0x4c5285++){var _0x5ea778=_0x21a6e2^_0x21a6e2<<0x1^_0x21a6e2<<0x2^_0x21a6e2<<0x3^_0x21a6e2<<0x4;_0x5ea778=_0x5ea778>>>0x8^_0x5ea778&0xff^0x63,_0x199b5e[_0x308517]=_0x5ea778,_0x88b459[_0x5ea778]=_0x308517;var _0x5ee7fe=_0x28f924[_0x308517],_0x59ee18=_0x28f924[_0x5ee7fe],_0x4caf64=_0x28f924[_0x59ee18],_0x10307a=_0x28f924[_0x5ea778]*0x101^_0x5ea778*0x1010100;_0x2d8d41[_0x308517]=_0x10307a<<0x18|_0x10307a>>>0x8,_0x252a09[_0x308517]=_0x10307a<<0x10|_0x10307a>>>0x10,_0x21b7c2[_0x308517]=_0x10307a<<0x8|_0x10307a>>>0x18,_0x3278cd[_0x308517]=_0x10307a;var _0x10307a=_0x4caf64*0x1010101^_0x59ee18*0x10001^_0x5ee7fe*0x101^_0x308517*0x1010100;_0x17196c[_0x5ea778]=_0x10307a<<0x18|_0x10307a>>>0x8,_0xd0a4de[_0x5ea778]=_0x10307a<<0x10|_0x10307a>>>0x10,_0x118ebc[_0x5ea778]=_0x10307a<<0x8|_0x10307a>>>0x18,_0x2ae297[_0x5ea778]=_0x10307a,_0x308517?(_0x308517=_0x5ee7fe^_0x28f924[_0x28f924[_0x28f924[_0x4caf64^_0x5ee7fe]]],_0x21a6e2^=_0x28f924[_0x28f924[_0x21a6e2]]):_0x308517=_0x21a6e2=0x1;}}());var _0x290ccb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x54ef67=_0x4e34db[_0x31c1b9(0x18d)]=_0x5ac35a[_0x31c1b9(0x1e0)]({'_doReset':function(){var _0x3c5fb6=_0x31c1b9,_0x2c01ce;if(!(this[_0x3c5fb6(0x304)]&&this[_0x3c5fb6(0xfd)]===this['_key'])){for(var _0x30182e=this[_0x3c5fb6(0xfd)]=this[_0x3c5fb6(0x1cf)],_0x42db1e=_0x30182e[_0x3c5fb6(0x370)],_0x377d22=_0x30182e['sigBytes']/0x4,_0x4e1f8a=this[_0x3c5fb6(0x304)]=_0x377d22+0x6,_0x1c61f4=(_0x4e1f8a+0x1)*0x4,_0x101314=this[_0x3c5fb6(0x2f3)]=[],_0x1ac739=0x0;_0x1ac739<_0x1c61f4;_0x1ac739++)_0x1ac739<_0x377d22?_0x101314[_0x1ac739]=_0x42db1e[_0x1ac739]:(_0x2c01ce=_0x101314[_0x1ac739-0x1],_0x1ac739%_0x377d22?_0x377d22>0x6&&_0x1ac739%_0x377d22==0x4&&(_0x2c01ce=_0x199b5e[_0x2c01ce>>>0x18]<<0x18|_0x199b5e[_0x2c01ce>>>0x10&0xff]<<0x10|_0x199b5e[_0x2c01ce>>>0x8&0xff]<<0x8|_0x199b5e[_0x2c01ce&0xff]):(_0x2c01ce=_0x2c01ce<<0x8|_0x2c01ce>>>0x18,_0x2c01ce=_0x199b5e[_0x2c01ce>>>0x18]<<0x18|_0x199b5e[_0x2c01ce>>>0x10&0xff]<<0x10|_0x199b5e[_0x2c01ce>>>0x8&0xff]<<0x8|_0x199b5e[_0x2c01ce&0xff],_0x2c01ce^=_0x290ccb[_0x1ac739/_0x377d22|0x0]<<0x18),_0x101314[_0x1ac739]=_0x101314[_0x1ac739-_0x377d22]^_0x2c01ce);for(var _0x46a215=this[_0x3c5fb6(0x12b)]=[],_0x29c801=0x0;_0x29c801<_0x1c61f4;_0x29c801++){var _0x1ac739=_0x1c61f4-_0x29c801;if(_0x29c801%0x4)var _0x2c01ce=_0x101314[_0x1ac739];else var _0x2c01ce=_0x101314[_0x1ac739-0x4];_0x29c801<0x4||_0x1ac739<=0x4?_0x46a215[_0x29c801]=_0x2c01ce:_0x46a215[_0x29c801]=_0x17196c[_0x199b5e[_0x2c01ce>>>0x18]]^_0xd0a4de[_0x199b5e[_0x2c01ce>>>0x10&0xff]]^_0x118ebc[_0x199b5e[_0x2c01ce>>>0x8&0xff]]^_0x2ae297[_0x199b5e[_0x2c01ce&0xff]];}}},'encryptBlock':function(_0x23719a,_0x3df65c){var _0x4d7ad3=_0x31c1b9;this[_0x4d7ad3(0x43e)](_0x23719a,_0x3df65c,this['_keySchedule'],_0x2d8d41,_0x252a09,_0x21b7c2,_0x3278cd,_0x199b5e);},'decryptBlock':function(_0x460dd0,_0x5a0372){var _0x3f70b2=_0x31c1b9,_0x5d1e90=_0x460dd0[_0x5a0372+0x1];_0x460dd0[_0x5a0372+0x1]=_0x460dd0[_0x5a0372+0x3],_0x460dd0[_0x5a0372+0x3]=_0x5d1e90,this[_0x3f70b2(0x43e)](_0x460dd0,_0x5a0372,this[_0x3f70b2(0x12b)],_0x17196c,_0xd0a4de,_0x118ebc,_0x2ae297,_0x88b459);var _0x5d1e90=_0x460dd0[_0x5a0372+0x1];_0x460dd0[_0x5a0372+0x1]=_0x460dd0[_0x5a0372+0x3],_0x460dd0[_0x5a0372+0x3]=_0x5d1e90;},'_doCryptBlock':function(_0x5f5e01,_0x4e1184,_0x5c2ff4,_0xc4419e,_0x4b87a3,_0x58c1c6,_0x32f7f9,_0x595876){for(var _0x5e4fb3=this['_nRounds'],_0x3da43a=_0x5f5e01[_0x4e1184]^_0x5c2ff4[0x0],_0x256af1=_0x5f5e01[_0x4e1184+0x1]^_0x5c2ff4[0x1],_0x50f1e7=_0x5f5e01[_0x4e1184+0x2]^_0x5c2ff4[0x2],_0x42ade0=_0x5f5e01[_0x4e1184+0x3]^_0x5c2ff4[0x3],_0x3e63b2=0x4,_0x109caa=0x1;_0x109caa<_0x5e4fb3;_0x109caa++){var _0x3b6939=_0xc4419e[_0x3da43a>>>0x18]^_0x4b87a3[_0x256af1>>>0x10&0xff]^_0x58c1c6[_0x50f1e7>>>0x8&0xff]^_0x32f7f9[_0x42ade0&0xff]^_0x5c2ff4[_0x3e63b2++],_0xf16b5a=_0xc4419e[_0x256af1>>>0x18]^_0x4b87a3[_0x50f1e7>>>0x10&0xff]^_0x58c1c6[_0x42ade0>>>0x8&0xff]^_0x32f7f9[_0x3da43a&0xff]^_0x5c2ff4[_0x3e63b2++],_0x5e6604=_0xc4419e[_0x50f1e7>>>0x18]^_0x4b87a3[_0x42ade0>>>0x10&0xff]^_0x58c1c6[_0x3da43a>>>0x8&0xff]^_0x32f7f9[_0x256af1&0xff]^_0x5c2ff4[_0x3e63b2++],_0x137c76=_0xc4419e[_0x42ade0>>>0x18]^_0x4b87a3[_0x3da43a>>>0x10&0xff]^_0x58c1c6[_0x256af1>>>0x8&0xff]^_0x32f7f9[_0x50f1e7&0xff]^_0x5c2ff4[_0x3e63b2++];_0x3da43a=_0x3b6939,_0x256af1=_0xf16b5a,_0x50f1e7=_0x5e6604,_0x42ade0=_0x137c76;}var _0x3b6939=(_0x595876[_0x3da43a>>>0x18]<<0x18|_0x595876[_0x256af1>>>0x10&0xff]<<0x10|_0x595876[_0x50f1e7>>>0x8&0xff]<<0x8|_0x595876[_0x42ade0&0xff])^_0x5c2ff4[_0x3e63b2++],_0xf16b5a=(_0x595876[_0x256af1>>>0x18]<<0x18|_0x595876[_0x50f1e7>>>0x10&0xff]<<0x10|_0x595876[_0x42ade0>>>0x8&0xff]<<0x8|_0x595876[_0x3da43a&0xff])^_0x5c2ff4[_0x3e63b2++],_0x5e6604=(_0x595876[_0x50f1e7>>>0x18]<<0x18|_0x595876[_0x42ade0>>>0x10&0xff]<<0x10|_0x595876[_0x3da43a>>>0x8&0xff]<<0x8|_0x595876[_0x256af1&0xff])^_0x5c2ff4[_0x3e63b2++],_0x137c76=(_0x595876[_0x42ade0>>>0x18]<<0x18|_0x595876[_0x3da43a>>>0x10&0xff]<<0x10|_0x595876[_0x256af1>>>0x8&0xff]<<0x8|_0x595876[_0x50f1e7&0xff])^_0x5c2ff4[_0x3e63b2++];_0x5f5e01[_0x4e1184]=_0x3b6939,_0x5f5e01[_0x4e1184+0x1]=_0xf16b5a,_0x5f5e01[_0x4e1184+0x2]=_0x5e6604,_0x5f5e01[_0x4e1184+0x3]=_0x137c76;},'keySize':0x100/0x20});_0x4bac46['AES']=_0x5ac35a[_0x31c1b9(0x416)](_0x54ef67);}()),_0xb7adbd['AES'];}));}(fe)),fe[_0x378087(0x1df)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x5a48c0(0x1df)],at;function Xi(){var _0x4295e1=_0x5a48c0;return at||(at=0x1,function(_0x46ff27,_0x595705){(function(_0x84dcd6,_0x5ac05f){var _0x21e71c=_0x5815;_0x46ff27[_0x21e71c(0x1df)]=_0x5ac05f(ee());}(Ji,function(_0x363b7d){var _0x50b64c=_0x5815;return _0x363b7d[_0x50b64c(0x148)][_0x50b64c(0x28d)];}));}(be)),be[_0x4295e1(0x1df)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x5a48c0(0x1df)],ct;function tn(){return ct||(ct=0x1,function(_0x5d0dd4,_0xe4bc8a){(function(_0x306474,_0xd435c0){var _0x217ec4=_0x5815;_0x5d0dd4[_0x217ec4(0x1df)]=_0xd435c0(ee());}(en,function(_0x328cb9){var _0x171694=_0x5815;return(function(){var _0x3d07bd=_0x5815;if(typeof ArrayBuffer==_0x3d07bd(0x3af)){var _0x40f5c1=_0x328cb9,_0x4cbf8c=_0x40f5c1['lib'],_0x19bf93=_0x4cbf8c[_0x3d07bd(0x24f)],_0x4df22c=_0x19bf93[_0x3d07bd(0x261)],_0x1e4cd2=_0x19bf93['init']=function(_0x1d00c4){var _0xef3e6c=_0x3d07bd;if(_0x1d00c4 instanceof ArrayBuffer&&(_0x1d00c4=new Uint8Array(_0x1d00c4)),(_0x1d00c4 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1d00c4 instanceof Uint8ClampedArray||_0x1d00c4 instanceof Int16Array||_0x1d00c4 instanceof Uint16Array||_0x1d00c4 instanceof Int32Array||_0x1d00c4 instanceof Uint32Array||_0x1d00c4 instanceof Float32Array||_0x1d00c4 instanceof Float64Array)&&(_0x1d00c4=new Uint8Array(_0x1d00c4[_0xef3e6c(0x15c)],_0x1d00c4['byteOffset'],_0x1d00c4['byteLength'])),_0x1d00c4 instanceof Uint8Array){for(var _0x55c6aa=_0x1d00c4['byteLength'],_0x17d5b0=[],_0x5407c8=0x0;_0x5407c8<_0x55c6aa;_0x5407c8++)_0x17d5b0[_0x5407c8>>>0x2]|=_0x1d00c4[_0x5407c8]<<0x18-_0x5407c8%0x4*0x8;_0x4df22c[_0xef3e6c(0x3f8)](this,_0x17d5b0,_0x55c6aa);}else _0x4df22c['apply'](this,arguments);};_0x1e4cd2[_0x3d07bd(0x2f8)]=_0x19bf93;}}()),_0x328cb9[_0x171694(0x2c4)][_0x171694(0x24f)];}));}(Re)),Re['exports'];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0x5a48c0(0x1df)],ht;function on(){return ht||(ht=0x1,function(_0x57655b,_0x532a77){(function(_0x23d761,_0x1ca21d,_0x1911b7){var _0x463e05=_0x5815;_0x57655b[_0x463e05(0x1df)]=_0x1ca21d(ee(),Pt());}(sn,function(_0x95a5b3){var _0x40122b=_0x5815;return _0x95a5b3[_0x40122b(0x21c)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x95a5b3[_0x40122b(0x21c)]['NoPadding'];}));}(Oe)),Oe['exports'];}var an=on();const cn=Se(an);function hn(_0x243b41,_0x484d5e){var _0xd66941=_0x5a48c0;const _0x3ee415=_0x484d5e-_0x243b41[_0xd66941(0x143)]%_0x484d5e,_0x47dd94=String['fromCharCode'](_0x3ee415)[_0xd66941(0x2ff)](_0x3ee415);return _0x243b41+_0x47dd94;}function _n(_0x214b5,_0x5aee93){var _0x2f03c4=_0x5a48c0;const _0x56af02=rn[_0x2f03c4(0x36e)](0x10),_0x570b65=hn(_0x214b5,0x10),_0x374fd3=qi['encrypt'](Qi[_0x2f03c4(0x425)](_0x570b65),ot[_0x2f03c4(0x425)](_0x5aee93),{'iv':_0x56af02,'padding':cn});return _0x56af02[_0x2f03c4(0x116)](_0x374fd3[_0x2f03c4(0x344)])[_0x2f03c4(0x232)](ot);}function ln(){var _0x44cff5=_0x5a48c0;const _0x127595=xt['getGlobalObject']()[_0x44cff5(0x25d)];if(_0x127595){const _0x4dcba1={'time':Math[_0x44cff5(0x279)](Date[_0x44cff5(0x280)]()/0x3e8),'domain':location[_0x44cff5(0x420)]};return _n(JSON['stringify'](_0x4dcba1),_0x127595);}}var un=Object[_0x5a48c0(0xe7)],dn=(_0x2437c0,_0x1a97e8,_0x42465d,_0x257de2)=>{for(var _0x4e897c=_0x257de2>0x1?void 0x0:_0x257de2?un(_0x1a97e8,_0x42465d):_0x1a97e8,_0x3730fa=_0x2437c0['length']-0x1,_0x34c825;_0x3730fa>=0x0;_0x3730fa--)(_0x34c825=_0x2437c0[_0x3730fa])&&(_0x4e897c=_0x34c825(_0x4e897c)||_0x4e897c);return _0x4e897c;},vn=(_0x40d71b,_0x522054)=>(_0x447a6a,_0x914393)=>_0x522054(_0x447a6a,_0x914393,_0x40d71b);let Ne=class{constructor(_0x4bb5c8){var _0x3f57c7=_0x5a48c0;this['_httpService']=_0x4bb5c8,this[_0x3f57c7(0x1c1)]();}[_0x5a48c0(0x1c1)](){var _0x118591=_0x5a48c0;this[_0x118591(0x26a)][_0x118591(0x3d7)]({'interceptor':(_0xfad1fc,_0x2d6920)=>{var _0x17ccfe=_0x118591;const _0x532dc5=_0xfad1fc[_0x17ccfe(0x34a)],_0x50ac78=ln();return _0x50ac78&&_0x532dc5[_0x17ccfe(0x3d5)]('x-univer-host',_0x50ac78),_0x2d6920(_0xfad1fc);}});}};Ne=dn([vn(0x0,a[_0x5a48c0(0xd9)](q[_0x5a48c0(0x216)]))],Ne);var Sn=Object[_0x5a48c0(0xe7)],fn=(_0x4800f3,_0x40ff25,_0x14a642,_0x20dbf0)=>{var _0x1040fe=_0x5a48c0;for(var _0xb3fcda=_0x20dbf0>0x1?void 0x0:_0x20dbf0?Sn(_0x40ff25,_0x14a642):_0x40ff25,_0x3cb1ca=_0x4800f3[_0x1040fe(0x143)]-0x1,_0x1755ac;_0x3cb1ca>=0x0;_0x3cb1ca--)(_0x1755ac=_0x4800f3[_0x3cb1ca])&&(_0xb3fcda=_0x1755ac(_0xb3fcda)||_0xb3fcda);return _0xb3fcda;},Me=(_0x4e6357,_0x5d7239)=>(_0x461a06,_0x4c3829)=>_0x5d7239(_0x461a06,_0x4c3829,_0x4e6357);exports[_0x5a48c0(0x285)]=class extends a[_0x5a48c0(0x3bb)]{constructor(_0x3fa419,_0x427b7e,_0x44bb6c){var _0x5c7849=_0x5a48c0;super(),A(this,_0x5c7849(0x162),new j[(_0x5c7849(0x1d4))](null)),A(this,'unitInfo$',this[_0x5c7849(0x162)]['asObservable']()),(this[_0x5c7849(0x39b)]=_0x3fa419,this[_0x5c7849(0x1fc)]=_0x427b7e,this[_0x5c7849(0x118)]=_0x44bb6c);}async['loadUnit'](_0x1faef8,_0xb8a18f,_0x339403){var _0x1df58f=_0x5a48c0;this[_0x1df58f(0x162)][_0x1df58f(0x110)]({'unitId':_0x1faef8,'type':_0xb8a18f,'subUnitId':_0x339403});let _0x5cff17=null;switch(_0xb8a18f){case X['UNIVER_SHEET']:{_0x5cff17=await this[_0x1df58f(0x2a3)](_0x1faef8);break;}case X[_0x1df58f(0x327)]:{_0x5cff17=await this['_loadDoc'](_0x1faef8);break;}default:{this[_0x1df58f(0x39b)][_0x1df58f(0x16f)](_0x1df58f(0x372),_0x1df58f(0x11d));break;}}return _0x5cff17;}async[_0x5a48c0(0x2a3)](_0x2528de){var _0x5de2ba=_0x5a48c0,_0x3e9f22;let _0x248b12=0x0;const _0x286fa4=await((_0x3e9f22=this[_0x5de2ba(0x118)])==null?void 0x0:_0x3e9f22[_0x5de2ba(0x33a)](_0x2528de));return _0x286fa4&&(_0x286fa4[_0x5de2ba(0x259)]||_0x286fa4[_0x5de2ba(0x430)]['length']!==0x0)&&(_0x248b12=_0x286fa4[_0x5de2ba(0x307)]),_0x248b12===0x0&&this[_0x5de2ba(0x39b)][_0x5de2ba(0x3a3)](_0x5de2ba(0x372),_0x5de2ba(0x11f)),this['_snapshotService']['loadSheet'](_0x2528de,_0x248b12);}async['_loadDoc'](_0x5140f9){var _0x5dbd31=_0x5a48c0,_0x4e5511;let _0x59ebcb=0x0;const _0xda8e71=await((_0x4e5511=this['_localCacheService'])==null?void 0x0:_0x4e5511['loadOfflineData'](_0x5140f9));return _0xda8e71&&(_0xda8e71[_0x5dbd31(0x259)]||_0xda8e71[_0x5dbd31(0x430)][_0x5dbd31(0x143)]!==0x0)&&(_0x59ebcb=_0xda8e71[_0x5dbd31(0x307)]),_0x59ebcb===0x0&&this['_logService'][_0x5dbd31(0x3a3)]('[DataLoaderService]',_0x5dbd31(0x11f)),this[_0x5dbd31(0x1fc)]['loadDoc'](_0x5140f9,_0x59ebcb);}},exports[_0x5a48c0(0x285)]=fn([Me(0x0,a[_0x5a48c0(0x2e9)]),Me(0x1,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x199)])),Me(0x2,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0x285)]);var pn=Object[_0x5a48c0(0xe7)],gn=(_0x480863,_0x3d2940,_0x5221f1,_0x1dd697)=>{for(var _0x751fc8=_0x1dd697>0x1?void 0x0:_0x1dd697?pn(_0x3d2940,_0x5221f1):_0x3d2940,_0x310276=_0x480863['length']-0x1,_0x187fa2;_0x310276>=0x0;_0x310276--)(_0x187fa2=_0x480863[_0x310276])&&(_0x751fc8=_0x187fa2(_0x751fc8)||_0x751fc8);return _0x751fc8;},xe=(_0x426801,_0x33062c)=>(_0x5e6046,_0x175915)=>_0x33062c(_0x5e6046,_0x175915,_0x426801);const In=[_0x5a48c0(0x39d),'image/jpeg',_0x5a48c0(0x145),'image/gif',_0x5a48c0(0x38d)],mn=0x5*0x400*0x400,En=_0x5a48c0(0x42d),Cn=_0x5a48c0(0x384),Tn=_0x5a48c0(0x377),bn=_0x5a48c0(0x26e);function _0x157b(){var _0x452a41=['kdf','Tools','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','loadOfflineData','Hasher','SEND_CHANGESET_TIMEOUT','7086aYMhpD','emitEvent','_hash','ICollaborationSocketService','_clearRedo','transformSelections','_socket','ciphertext','onTransformIME','newCsEvent','?size=','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','changesets','headers','_status$','splice','setShowComponents','_getRedoStack','_clearCollaborationTimeoutTimer','UNAUTHENTICATED','_registerDependencies','avatar','encode','hasOwnProperty','processBlock','DocCollaborationEntity','ImageSourceType','APPLY_DUPLICATED','editing\x20status\x20changed\x20to','joinRsp','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_onFetchMissResult','INVITE_CODE_ALREADY_BOUND','_startTelemetryCollaborationNewChangeset','SEND_CHANGESET_TIMEOUT_KEY','LIVESHARE_TERMINATE','size','Disposable','_onOffline','@univerjs/drawing','Decryptor','@univerjs/telemetry','onlyLocal','InsertSheetMutation','_transformUndoredo','LIVESHARE_FETCH_OPERATIONS','_createSocket','apply','3azWYtw','random','getInterceptPoints','words','\x0aAfter:\x20','[DataLoaderService]','EmptyMutation','RevisionService','objectType','blockSize','EXCHANGE_SIGN_URL_SERVER_URL_KEY','CHANGESET_ACK','mergeOverrideWithDependencies','EvpKDF','MOBILE_HAS_BEEN_BOUND','compute','sheets','fetch_missing','__esModule','clear','_onConnectionOpen','collaboratorID','encodeURIComponent','/universer-api/stream/file/upload','delete','UUID','interceptor','NOT_COLLAB','getUnitStatus$','onTransformState','Could\x20not\x20dynamically\x20require\x20\x22','replace','image/bmp','sequenceExecute','cmd','sid','_initUnitPermissionChange','pluginName','c2Prime','/rev/','_remoteChangesetQueue','_iKey','SHA1','CollaborationImageIoService','updatePermissionPoint','get','_logService','CompressMutationService','image/png','SUBMIT_CHANGESET','_transitionLocked','YUUMI_NO_CUBOID_FOR_QUESTION','HEARTBEAT_TIMEOUT','_collaborationPaused','debug','asObservable','connection\x20error','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','synced','_commentUpdate$','_checkMissing','_waitForHeartbeatResponse','_changesetSessionId','_redoStacks','SheetCollaborationEntity','7356654aLLlHl','function','originalMeta','HEARTBEAT_INTERVAL_KEY','UNIVER_SHEET','APPLY_REVISION_CONFILICT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_sender','_handlerCallback','disableLocalCache','_entityInit$','listCollaborators','_append','RxDisposable','onRemoteRej','ImageUploadStatusType','_commandService','save\x20fail\x20reason\x20is\x20','_toggleOffline','ENSURE_SNAPSHOT_EXECUTION','SOCKET_FAILED_RETRY','target','listRoles','CollaborativeUndoRedoService','_userManagerService','UNDEFINED','saveChangeset','SyncedState','_waitCount','/resources','unknown','infoRsp','GLOBAL_ROOMS_CNT_EXCEEDS','ILocalCacheService','_resendTimeout','baseRev','ivSize','COLLAB_SUBMIT_CHANGESET_URL_KEY','getValue','set','session.room-full','registerHTTPInterceptor','awaiting','decryptBlock','refreshPermission','_clearUndo','unitID','startsWith','IUniverInstanceService','_getAPIPrefix','json','955txoesJ','abs','readInt32LE','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_collaborationTimeoutTimer','UniverCollaborationPlugin','mapDocumentTypeToUniverType','BlockCipher','collaMsg','signUrlServerUrl','EMAIL_HAS_BEEN_BOUND','readAsDataURL','Cipher','close','Pkcs7','1801850TxdnBb','LICENSE_IMPORT_SIZE_EXCEEDED','_retryConnectingTimer','stopTime','$super','_compressMutationService','[FetchMissState]','NOT_FOUND','call','Base','_exhaustRemoteChangesetQueue','getTypeOfUnitDisposed$','1038965VudCBz','_cipher','DependentOn','INVITE_CODE_REQUIRED','_sendHeartbeatTimer','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','RECV','telemetry\x20info\x20is\x20not\x20initialized','shareReplay','_initMergeInterceptor','CHANGESET_REVISION_CONFILICT','_process','UnitSnapshot','complete','_isPermissionRej','/collaborator','rxjs/operators','_syncEditingCollabCursor','_acknowledgedAwaitingChangeset','_localeService','LICENSE_EXPORT_SIZE_EXCEEDED','getActiveSheet','LIVESHARE_REQUEST_HOST','APPLY_PERMISSION_DENIED','MUTATION','toLowerCase','_createHelper','from','CollaborationSession','change$','_configService','{fileID}','_memberService','Optional','[CollaborationEntity]','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','hostname','_univerInstanceService','JOIN','default','univer-pro.collaboration-client-socket-service','parse','Subject','isInternalEditorID','_applyRemoteChangeset','/role','LICENSE_MAX_UNITS_EXCEEDED','_revisionService','/new_changes','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','MSG_FOR_ERROR','localCacheService','mutations','/fetchmissing?from=','RichTextEditingMutation','onStarting','objectID','location','[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.','push','_change$','disposeWithMe','UNIVER_UNKNOWN','SessionStatus','_members$','csAckEvent','_doCryptBlock','CollaborationSocketService','_candidateSocket','OfflineState','UniverInstanceType','getResourcesRequest','createInstance','SerializableCipher','_minBufferSize','UPDATE_PERMISSION_OBJ','_clearLocalCache','collabSubmitChangesetUrl','entries','\x20in\x20_schedule.','Failed\x20to\x20update\x20permission\x20point','INVITE_CODE_HAS_BEEN_UES','UNIVER_COLLABORATION_CLIENT_PLUGIN','_replaceFileID','_rescheduleHeartbeat','_unitID','workbook','Inject','StreamCipher','collabWebSocketUrl','members','firstValueFrom','_sessions','LocalUndoRedoService','format','_scheduleCollaborationTimeoutTimer','putCollaborators','reduce','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','finalize','AwaitingWithPendingState','getOwnPropertyDescriptor','_createHmacHelper','updateCursorEvent','JOIN_ROOM_FAILED','_initDependencies','UNRECOGNIZED','createDecryptor','CollaborationUIEventId','_roomCreated$','liveShareOperation','liveShareNewHost','_HTTPService','AuthzIoHttpService','_sheetTransformSelectionsService','ISnapshotServerService','/-/object/list','uploadFileServerUrl','HmacSHA1','transformChangesets','CommandType','onTransformSelections','focused$','_keyPriorReset','getCollabEntity','_onUserLeave','_queuedRemoteChangesets','update','add','COMMENT_UPDATE','getLatestCsReqIdBySid','auth.needGotoLoginAlert','setConfig','DisposableCollection','transformMutationsWithChangeset','getCurrentRevOfUnit','getCurrentUser','compose','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_URL_COL_OUT_OF_RANGE','collaboration-client.config','csShouldRetryEvent','next','_doReset','online$','_nDataBytes','HEARTBEAT_INTERVAL','symbol','concat','allowed','_localCacheService','LOGIN_URL_KEY','_imageSourceCache','requireSession','algo','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onTransformRemoteChangesetByStateCache','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','toStringTag','result','name','getUnitId','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','uniscriptRunEvent','_createHandler','_snapshotServerService','TOO_MANY_REQUESTS','_transformSelections','_transformIMECache','_invKeySchedule','HmacMD5','updateMember','SnapshotServerOverHTTPService','_map','_onUserJoin','_updateState','toggleOffline','OpenSSL','YUUMI_RATE_OVER_LIMIT','_ENC_XFORM_MODE','takeUntil','Hex','COMPRESS_MUTATION_SEND','padding','setWaitCount','ws://127.0.0.1:8000/universer-api/comb/connect','copyFileMeta','INetworkConditionService','_retryCount','error$','[CollaborationSessionService]:\x20socket\x20error','CollaborationController','CollaborationEntity','length','eventID','image/jpg','offline','_tryEnsureSocket','enc','merge','body','_updateLocalCache','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','onRemoteAck','getLocalCacheKey','downloadEndpointUrl','INVALID_INVITE_CODE','getUnitType','SUBMIT_CHANGESET_TIMEOUT','/universer-api/authz','_incrementRevisionNumber','CollaborationSessionService','Encryptor','@univerjs/sheets','Univer','_sessionStatus$','filter','collaboration-client.local-cache-service','buffer','__creator','_lockTransition','retryConnectingInterval','ONLINE','LICENSE_DISTRO_REJECTED','_unitInfo$','url','bind','_onConnectionFailed','CollaborationEvent','put','PendingState','@univerjs/core','_networkConditionService','_scheduleCompleteTimestamp','JOINING','ISingleActiveUnitService','getSheetId','error','createSocket','_fetchMissChangesets','transformStack\x20failed!','roles','socketService','origin','c1Prime','LIVESHARE_NEW_HOST','USER_NOT_INVITED_CODE','[CollaborationSessionService]','[SyncedState]:\x20received\x20rejection.','leaveEvent','_transformStateCache','SheetsSelectionsService','encryptBlock','execute','UnitStatus','_instanceService','sessionStatus$','_sendHeartbeat','reject','/-/object/-/batch_allowed','socket\x20close','delay','loginUrlKey','memberID','_transformRemoteChangesetByStateCache','HEARTBEAT','AwaitingState','AES','_onLocalMutation','ERROR_IMAGE','/block/','_timeoutTimer','shouldCloseConn','_collaborationUIEventService','UniverCollaborationClientPlugin','close$','fetchMiss','NO_OTHER_CLIENTS_EDITING','_awaitingChangeset','SnapshotService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','PSEUDO_FETCH_MISSING_RESULT','m2Prime','substr','setCurrentUser','sin','HMAC','_submitChangeset','[CollaborationState]:\x20apply\x20error!','_mode','_clearTimeoutTimer','_tryReconnect','/universer-api/snapshot','_eventService','not_collab','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','addImageSourceCache','_substituteRedoStack','IAuthzIoService','_removeRoom','UNIVER_SLIDE','forEach','_getDownloadEndpointURL','deepClone','ERROR_EXCEED_SIZE','ConflictState','_undoRedoService','HELLO','_onRemoteACK','[CollaborationUndoRedoService]','_onRemoteChangeset','authzUrl','_parse','_getAPIPrefixPath','rng','send','MemberService','catch','ISocketService','_initRequestHeader','UNKNOWN_CMD','LIVESHARE_OPERATION','cfg','onMissingChangesets','_initCloseConn','PENDING','_singleActiveUnitService','b64DecodeUnicode','Workbook','unitId','_updateStatus','Module','pipe','_key','univer-pro.collaboration-client.network-condition.service','find','FetchingMissState','UNISCRIPT_RUN','BehaviorSubject','INTERNAL_ERROR','MergeInterceptorFactory','6920008autJcD','_undoStacks','_socketReady','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_pendingMutations','JOIN_ROOM_PERMISSION_DENIED','hasher','defineProperty','exports','extend','batchAllowed','_permissionService','isTransformMutationsWithChangesetSuccess','OTHER_CLIENT_EDITING','YUUMI_UNABLE_LOAD_URL','/unit/','UNIVER_PROJECT','_event$','msCrypto','entityInit$','UNKNOWN_CODE','randomUUID','_xformMode','slice','[PendingState]:\x20received\x20rejection.','SOCKET_FAILED','joinEvent','Latin1','HTTPRequest','_getUploadFileURL','take','SheetPermissionInitController','_showConflictNotification','_doFinalize','_config','OFFLINE','_throwTelemetryCollaborationNewChangeset','_snapshotService','snapshotServerUrl','JSONX','IContextService','MD5','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','createEncryptor','userID','getTypeOfUnitAdded$','POST','ICommandService','session.room-cnt-exceeds','stringify','randomBytes','SheetTransformSelectionsService','getMember','/universer-api/oidc/authpage','title','createCollaborator','_socketMessageSubscription','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_injector','has','AWAITING_WITH_PENDING','55nhdtVi','_sendingTimer','HTTPService','JOIN_ROOM_NOT_EXISTS','CHANGESET_REJ','PERMISSION_DENIED','_createInitialState','withCredentials','pad','_reverseMap','submit\x20changeset\x20error!','unsubscribe','_onCombEvent','getImage','SNAPSHOT_INVALID_SNAPSHOT','/object/','getCollabEntity$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','incrementRevOfUnit','[PendingState]:\x20received\x20acknowledgement.','updateOfflineData','collaboration_new_changeset','USERS_LEAVE','onCommentUpdate','_socketService','resend','crypto','_resendWithTimeout','status$','isPermissionRej','toString','waitForRoom$','responseType','Error\x20on\x20receiving\x20event','SNAPSHOT_SERVER_URL_KEY','PERSON','_socket$','MentionType','_schedule','reset','mode','_getCurrentRevision','Rectangle','_getSendChangesetTimeout','_disableEditing','2535764EeLSCy','addHandlerCallback','toggleOnline','IConfigService','@univerjs-pro/collaboration','UnitEmbedded','mixIn','unit-cache-','post','list','COLLAB_WEB_SOCKET_URL','getWorkbookSelections','Undefined','initWorkbookPermissionChange','WordArray','USERS_ENTER','_onRecvEvent','override','HttpImport','ITelemetryService','toDisposable','WorkbookEditablePermission','clone','OPTIONAL','awaitingChangeset','YUUMI_ASYNCIO_CANCELLED','SetSelectionsOperation','unpad','__Key__','code','DEFAULT_FILE_NAME','generateRandomId','init','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','IDLE','enableAuthServer','PY_RUNTIME_SCRIPT_ERROR','pending','CLOSE_ROOM','_iv','\x20-\x20','_httpService','executeCommand','getSnapshotAPIPath','createIdentifier','/universer-api/file/{fileID}/sign-url','_onRemoteRetry','LOCAL_CACHE_INTERVAL','_getUndoStack','OTHER_CLIENTS_EDITING','patch','/universer-api/uniscript','Malformed\x20UTF-8\x20data','_state','_getSignURL','actions','floor','RETRY_CONNECTING_MAX_COUNT_KEY','LocaleService','WECHAT_HAS_BEEN_BOUND','People','onRemoteRetry','subscribe','now','HEARTBEAT_TIMEOUT_KEY','reconnect','COMPRESS_MUTATION_APPLY','_emitMembers','DataLoaderService','_getCtorByUniverType','651RyROXw','isTransformMutationsWithChangesetFailure','members$','updatePermissionObjEvent','onTransformRemoteChangesetByIMECache','_listenToNetworkCondition','Utf8','_executeRemoteChangeset','_collaborationSessionService','routeKey','_clearScheduledTask','appendMutation','charCodeAt','saveSheetBlock','startTime','sigBytes','_collabSessionService','AUTHZ_URL_KEY','_clearHeartbeatTimer','permissionRejEvent','_data','[OfflineState]:\x20received\x20rejection.','FETCH_MISS','APPLY_NON_SEQUENTIAL_REVISION','subject','getRandomValues','reqId','COLLAB_SUBMIT_CHANGESET_URL','_loadSheet','PasswordBasedCipher','getImageSourceCache','values','_resendTimer','create','_prevBlock','SNAPSHOT_HAS_BEEN_REMOVED','COMPLETION_FINISHED','ceil','[OfflineState]:\x20received\x20changeset.','every','getFocusedUnit','Base64','/universer-api/user/session-ticket','append','fetching\x20missing\x20changesets\x20from\x20','onSyncEditingCollabCursor','SNAPSHOT_URL_KEY','isArray','removeMember','JOIN_ROOM_FULL','parseChangesetToProtocol','then','editingUnit','open$','UniverNetworkPlugin','_unlockTransition','status','objects','_doCreateSocket','UserProfileImg','_DEC_XFORM_MODE','lib','_startCollaboration','reverse','textRanges','_substituteUndoStack','_handler','CONFLICT','max','_decreaseWaiting','params','_onJoinRoomEvent','selections','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getConfig','IUndoRedoService','clamp','_onRemoteRejected','FileId','CHANGESET_SHOULD_RETRY','PERMISSION_REJ','_telemetryInfo','_shouldReportTelemetry','_getLoginPath','getTime','serializeCombRequest','_replayCachedMutations','state','_oKey','BASE64','LEAVE','key','dispose$','_stopTelemetryCollaborationNewChangeset','ALREADY_EXISTS','getDeserializedSheetBlock','[OfflineState]:\x20received\x20acknowledgement.','SYNCED','ILogService','_telemetryService','UPDATE_CURSOR','saveSnapshot','session','fromCollab','114160LpJUiz','_type','formatter','concatMap','_keySchedule','keySize','ITransformService','_onConflict','failed\x20to\x20apply\x20missed\x20changesets!','prototype','map','decrypt','range','touchDependencies','session.room-permission-denied','indexOf','repeat','closeSession','onLocalMutation','_init','CONNECTOR_DATA_TOO_LARGE','_nRounds','transformUndoRedo','event$','rev','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','/allowed','_changesetReqId','session.room-not-exists','Injector','CBC','onRemoteChangeset','onCommandExecuted','conflict','onMissedChangesetFetched','collaborators','onSendChangeset','_members','type','_transformStack','revision','localeService','_transformService','message$','join','dispose','/universer-api/comb','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_entities','_state$','getMemberID','isTransformChangesetsSuccess','registerDependencies','string','onStateChange','state$','UNIVER_DOC','HttpExport','INVALID_ARGUMENT','_roomMembers','charAt','_hasher','MentionIoHttpService','salt','BufferedBlockAlgorithm','IPermissionService','fetchThroughInterceptors','data','enableSingleActiveInstanceLock','INGEST','APPLY_REJECT','SHOULD_CLOSE_CONN'];_0x157b=function(){return _0x452a41;};return _0x157b();}exports[_0x5a48c0(0x398)]=class{constructor(_0x1cfa04,_0x4ebf30,_0x2a0115){var _0x12490d=_0x5a48c0;A(this,_0x12490d(0x3ca),0x0),A(this,'_change$',new j[(_0x12490d(0x426))]()),A(this,_0x12490d(0x419),this[_0x12490d(0x438)]),A(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x1cfa04,this[_0x12490d(0x41a)]=_0x4ebf30,this['_univerInstanceService']=_0x2a0115);}[_0x5a48c0(0x13a)](_0x349639){var _0x38412b=_0x5a48c0;this['_waitCount']=_0x349639,this['_change$'][_0x38412b(0x110)](_0x349639);}[_0x5a48c0(0x2a5)](_0x4dd32b,_0x25b6bc){var _0x50d1b8=_0x5a48c0;if(_0x25b6bc===J['ImageSourceType'][_0x50d1b8(0x2e0)]){const _0x34c4f8=new Image();return _0x34c4f8['src']=_0x4dd32b,_0x34c4f8;}return this[_0x50d1b8(0x11a)][_0x50d1b8(0x39a)](_0x4dd32b);}[_0x5a48c0(0x1aa)](_0x7ef01d,_0x24a3d3,_0x166a77){var _0x24faa6=_0x5a48c0;_0x24a3d3===J[_0x24faa6(0x357)][_0x24faa6(0x2e0)]||_0x166a77==null||this['_imageSourceCache'][_0x24faa6(0x3d5)](_0x7ef01d,_0x166a77);}async[_0x5a48c0(0x221)](_0x29a6bf){var _0x3612cf=_0x5a48c0;try{const _0x3fb886=this['_replaceFileID'](this[_0x3612cf(0x277)](),''+_0x29a6bf),_0x4dd8c2=(await this['_httpService'][_0x3612cf(0x39a)](_0x3fb886))['body'];if(_0x4dd8c2[_0x3612cf(0x16f)]&&_0x4dd8c2[_0x3612cf(0x16f)][_0x3612cf(0x25e)]===Ct['OK']){const _0x4e273f=new URL(_0x4dd8c2[_0x3612cf(0x163)],this['_getDownloadEndpointURL']())[_0x3612cf(0x232)]();return Promise['resolve'](_0x4e273f);}return Promise[_0x3612cf(0x184)](_0x4dd8c2[_0x3612cf(0x16f)]);}catch(_0x263752){return Promise['reject'](_0x263752);}}async['saveImage'](_0x1957c0){var _0x4f2dc2=_0x5a48c0;let _0x5c03a9='';if(!In['includes'](_0x1957c0['type']))return this[_0x4f2dc2(0x2cc)](),Promise['reject'](new Error(J[_0x4f2dc2(0x3bd)]['ERROR_IMAGE_TYPE']));if(_0x1957c0['size']>mn)return this['_decreaseWaiting'](),Promise[_0x4f2dc2(0x184)](new Error(J[_0x4f2dc2(0x3bd)][_0x4f2dc2(0x1b2)]));try{const _0x410845=new FormData();_0x410845[_0x4f2dc2(0x2b2)]('file',_0x1957c0);const _0x1883b8=this[_0x4f2dc2(0x421)][_0x4f2dc2(0x2af)](),_0x156205=_0x1883b8==null?void 0x0:_0x1883b8[_0x4f2dc2(0x123)]();if(!_0x156205)throw new Error('unitId\x20is\x20not\x20found');const _0x3b2240=this[_0x4f2dc2(0x1f4)]()+_0x4f2dc2(0x347)+_0x1957c0['size']['toString']()+'&source='+Tt[_0x4f2dc2(0x246)]+'&assign='+encodeURIComponent(_0x156205),_0x56113d=await(await fetch(_0x3b2240,{'method':_0x4f2dc2(0x205),'body':_0x410845}))[_0x4f2dc2(0x3e0)]();if(typeof _0x56113d[_0x4f2dc2(0x2d5)]!=_0x4f2dc2(0x324))return this['_decreaseWaiting'](),Promise[_0x4f2dc2(0x184)](new Error(J[_0x4f2dc2(0x3bd)][_0x4f2dc2(0x18f)]));_0x5c03a9=_0x56113d[_0x4f2dc2(0x2d5)];}catch{return this[_0x4f2dc2(0x2cc)](),Promise['reject'](new Error(J[_0x4f2dc2(0x3bd)][_0x4f2dc2(0x18f)]));}return new Promise((_0x5895c2,_0x584e64)=>{var _0x1b1e2d=_0x4f2dc2;const _0x31c754=new FileReader();_0x31c754[_0x1b1e2d(0x3ec)](_0x1957c0),_0x31c754['onload']=_0x1d2120=>{var _0x24f840=_0x1b1e2d,_0x134e68;const _0x9e232a=(_0x134e68=_0x1d2120[_0x24f840(0x3c3)])==null?void 0x0:_0x134e68['result'];if(_0x9e232a==null){this[_0x24f840(0x2cc)](),_0x584e64(new Error(J[_0x24f840(0x3bd)]['ERROR_IMAGE']));return;}const _0x131a46=a[_0x24f840(0x338)][_0x24f840(0x260)](0x6);_0x5895c2({'imageId':_0x131a46,'imageSourceType':J[_0x24f840(0x357)][_0x24f840(0x386)],'source':_0x5c03a9,'base64Cache':_0x9e232a,'status':J[_0x24f840(0x3bd)]['SUCCUSS']}),this[_0x24f840(0x2cc)]();};});}[_0x5a48c0(0x1f4)](){var _0x7c0c75=_0x5a48c0,_0x237e64,_0x47cedc;const _0x15ef9f=this[_0x7c0c75(0x41a)][_0x7c0c75(0x2d1)](En),_0x1b0490=this['_configService']['getConfig'](Y);return(_0x47cedc=(_0x237e64=_0x1b0490==null?void 0x0:_0x1b0490[_0x7c0c75(0xf7)])!=null?_0x237e64:_0x15ef9f)!=null?_0x47cedc:Cn;}[_0x5a48c0(0x277)](){var _0x4ec96b=_0x5a48c0,_0x301b25,_0x4e0a32;const _0x5953dd=this[_0x4ec96b(0x41a)][_0x4ec96b(0x2d1)](Tn),_0x250b44=this[_0x4ec96b(0x41a)][_0x4ec96b(0x2d1)](Y);return(_0x4e0a32=(_0x301b25=_0x250b44==null?void 0x0:_0x250b44[_0x4ec96b(0x3ea)])!=null?_0x301b25:_0x5953dd)!=null?_0x4e0a32:bn;}[_0x5a48c0(0x1b0)](){var _0x3210aa=_0x5a48c0,_0x21c58e;const _0x280fc3=this[_0x3210aa(0x41a)]['getConfig'](Y);return(_0x21c58e=_0x280fc3==null?void 0x0:_0x280fc3[_0x3210aa(0x14f)])!=null?_0x21c58e:location[_0x3210aa(0x175)];}[_0x5a48c0(0x44f)](_0x21b16c,_0x14e0ec){var _0xab5651=_0x5a48c0;return _0x21b16c[_0xab5651(0x38c)](_0xab5651(0x41b),_0x14e0ec);}['_decreaseWaiting'](){var _0x22e11e=_0x5a48c0;this['_waitCount']-=0x1,this[_0x22e11e(0x438)][_0x22e11e(0x110)](this['_waitCount']);}},exports[_0x5a48c0(0x398)]=gn([xe(0x0,a[_0x5a48c0(0xd9)](q[_0x5a48c0(0x216)])),xe(0x1,a[_0x5a48c0(0x244)]),xe(0x2,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x3de)]))],exports[_0x5a48c0(0x398)]);var Rn=Object[_0x5a48c0(0xe7)],On=(_0x35119f,_0x53bdec,_0x2db501,_0x25e049)=>{var _0x3699b2=_0x5a48c0;for(var _0x239894=_0x25e049>0x1?void 0x0:_0x25e049?Rn(_0x53bdec,_0x2db501):_0x53bdec,_0xe0426=_0x35119f[_0x3699b2(0x143)]-0x1,_0x1836c9;_0xe0426>=0x0;_0xe0426--)(_0x1836c9=_0x35119f[_0xe0426])&&(_0x239894=_0x1836c9(_0x239894)||_0x239894);return _0x239894;},_t=(_0x56c7ad,_0xc54698)=>(_0x5e5152,_0x2bab5e)=>_0xc54698(_0x5e5152,_0x2bab5e,_0x56c7ad);const yn=_0x5a48c0(0x153);exports[_0x5a48c0(0x32d)]=class{constructor(_0xf25826,_0x570e3a){var _0x35056c=_0x5a48c0;this['_configService']=_0xf25826,this[_0x35056c(0xf2)]=_0x570e3a;}[_0x5a48c0(0x1bb)](){var _0x2efb5c=_0x5a48c0,_0x57b598,_0x51caf6;const _0x920361=this[_0x2efb5c(0x41a)]['getConfig'](Ge),_0x549948=this['_configService'][_0x2efb5c(0x2d1)](Y);return(_0x51caf6=(_0x57b598=_0x549948==null?void 0x0:_0x549948[_0x2efb5c(0x1b9)])!=null?_0x57b598:_0x920361)!=null?_0x51caf6:yn;}async[_0x5a48c0(0x24a)](_0x375433){var _0x55b65b=_0x5a48c0;const _0x498df9=this[_0x55b65b(0x1bb)]()+'/collaborator';return{'list':[{'title':_0x55b65b(0x27d),'mentions':(await this[_0x55b65b(0xf2)][_0x55b65b(0x39a)](_0x498df9,{'params':{'objectID':_0x375433[_0x55b65b(0x1cb)],'unitID':_0x375433[_0x55b65b(0x1cb)]}}))[_0x55b65b(0x14a)][_0x55b65b(0x312)][_0x55b65b(0x2f9)](_0x42688e=>({'objectId':_0x42688e['id'],'name':_0x42688e['subject'][_0x55b65b(0x122)],'metadata':{'icon':_0x42688e[_0x55b65b(0x29f)][_0x55b65b(0x352)]},'label':_0x42688e[_0x55b65b(0x29f)][_0x55b65b(0x122)],'objectType':a[_0x55b65b(0x239)][_0x55b65b(0x237)]})),'metadata':{},'type':a['MentionType']['PERSON']}]};}},exports[_0x5a48c0(0x32d)]=On([_t(0x0,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x244)])),_t(0x1,a[_0x5a48c0(0xd9)](q[_0x5a48c0(0x216)]))],exports['MentionIoHttpService']);var Nn=Object[_0x5a48c0(0xe7)],Dn=(_0x1215af,_0x4fda09,_0x544ccd,_0x1dbd8d)=>{var _0x564d08=_0x5a48c0;for(var _0x47153a=_0x1dbd8d>0x1?void 0x0:_0x1dbd8d?Nn(_0x4fda09,_0x544ccd):_0x4fda09,_0x2257f4=_0x1215af[_0x564d08(0x143)]-0x1,_0x4f38a0;_0x2257f4>=0x0;_0x2257f4--)(_0x4f38a0=_0x1215af[_0x2257f4])&&(_0x47153a=_0x4f38a0(_0x47153a)||_0x47153a);return _0x47153a;},ue=(_0x2ca9e3,_0x4a3e7e)=>(_0x2de38f,_0x4520b5)=>_0x4a3e7e(_0x2de38f,_0x4520b5,_0x2ca9e3);let De=class extends a[_0x5a48c0(0x3bb)]{constructor(_0x2c682f,_0x426357,_0x127bb0,_0x314610,_0x57dc69){var _0x35282b=_0x5a48c0;super(),this['_injector']=_0x2c682f,this[_0x35282b(0x421)]=_0x426357,this[_0x35282b(0x1e2)]=_0x127bb0,this[_0x35282b(0x28f)]=_0x314610,this[_0x35282b(0x193)]=_0x57dc69,this[_0x35282b(0x391)](),this[_0x35282b(0x1c6)]();}[_0x5a48c0(0x1c6)](){var _0x2cca16=_0x5a48c0;const _0x59b2de=async _0x1f424d=>{var _0xeffeb7=_0x5815;(await this[_0xeffeb7(0x28f)][_0xeffeb7(0x11b)](_0x1f424d))[_0xeffeb7(0x306)][_0xeffeb7(0x1ce)](V[_0xeffeb7(0x15a)](_0x1cba25=>_0x1cba25['eventID']===g[_0xeffeb7(0x166)][_0xeffeb7(0x336)]),V['takeUntil'](this[_0xeffeb7(0x2e3)]))['subscribe'](_0x447c09=>{var _0x3807c2=_0xeffeb7;const _0x51b70d=_0x447c09,{reason:_0x56dea7}=_0x51b70d['data'];this[_0x3807c2(0x193)][_0x3807c2(0x33e)]({'id':Q[_0x3807c2(0x267)],'data':_0x56dea7}),this['_permissionService'][_0x3807c2(0x399)](new Z[(_0x3807c2(0x256))](_0x1f424d)['id'],!0x1),this[_0x3807c2(0x28f)][_0x3807c2(0x300)](_0x1f424d);});};j[_0x2cca16(0x149)](this[_0x2cca16(0x421)]['getTypeOfUnitAdded$'](a[_0x2cca16(0x442)][_0x2cca16(0x3b2)]),this[_0x2cca16(0x421)][_0x2cca16(0x204)](a[_0x2cca16(0x442)]['UNIVER_DOC']))[_0x2cca16(0x1ce)](V['map'](_0x463245=>_0x463245[_0x2cca16(0x123)]()),V['filter'](_0x40fe70=>!a['isInternalEditorID'](_0x40fe70)),V[_0x2cca16(0x136)](this[_0x2cca16(0x2e3)]))[_0x2cca16(0x27f)](_0x4b23d8=>{_0x59b2de(_0x4b23d8);});}[_0x5a48c0(0x391)](){var _0x2aa21d=_0x5a48c0;const _0xb19a4d=async _0x3a9709=>{var _0x416923=_0x5815;const _0x16a5d3=await this[_0x416923(0x28f)]['requireSession'](_0x3a9709),_0x13c115=this[_0x416923(0x211)][_0x416923(0x39a)](Z[_0x416923(0x1f6)]);_0x16a5d3[_0x416923(0x306)][_0x416923(0x1ce)](V[_0x416923(0x15a)](_0x4966cb=>_0x4966cb[_0x416923(0x144)]===g[_0x416923(0x166)][_0x416923(0x447)]),V[_0x416923(0x136)](this[_0x416923(0x2e3)]))[_0x416923(0x27f)](_0x455370=>{var _0x2fbf85=_0x416923;const _0x4e8320=_0x455370,{objectId:_0x24426a}=_0x4e8320[_0x2fbf85(0x332)];_0x24426a===_0x3a9709?_0x13c115[_0x2fbf85(0x24e)](_0x3a9709):_0x13c115[_0x2fbf85(0x3da)](_0x3a9709,_0x24426a);});};j[_0x2aa21d(0x149)](this[_0x2aa21d(0x421)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x2aa21d(0x3b2)]))[_0x2aa21d(0x1ce)](V[_0x2aa21d(0x2f9)](_0x4d5014=>_0x4d5014[_0x2aa21d(0x123)]()),V[_0x2aa21d(0x15a)](_0x4fb765=>!a[_0x2aa21d(0x427)](_0x4fb765)),V[_0x2aa21d(0x136)](this[_0x2aa21d(0x2e3)]))[_0x2aa21d(0x27f)](_0x52e108=>{_0xb19a4d(_0x52e108);});}};De=Dn([ue(0x0,a['Inject'](a[_0x5a48c0(0x30c)])),ue(0x1,a[_0x5a48c0(0x3de)]),ue(0x2,a[_0x5a48c0(0x330)]),ue(0x3,a[_0x5a48c0(0xd9)](exports[_0x5a48c0(0x155)])),ue(0x4,a[_0x5a48c0(0xd9)](te))],De);var Un=Object['getOwnPropertyDescriptor'],An=(_0x34c2c3,_0x234854,_0x7490fa,_0x411412)=>{var _0x3ca7c3=_0x5a48c0;for(var _0x306fdd=_0x411412>0x1?void 0x0:_0x411412?Un(_0x234854,_0x7490fa):_0x234854,_0x594eec=_0x34c2c3[_0x3ca7c3(0x143)]-0x1,_0x54065c;_0x594eec>=0x0;_0x594eec--)(_0x54065c=_0x34c2c3[_0x594eec])&&(_0x306fdd=_0x54065c(_0x306fdd)||_0x306fdd);return _0x306fdd;},lt=(_0x4ff612,_0x3cb069)=>(_0x250608,_0xfc2b4)=>_0x3cb069(_0x250608,_0xfc2b4,_0x4ff612);exports[_0x5a48c0(0x12e)]=class{constructor(_0x12ab8f,_0x33a245){var _0x1b6703=_0x5a48c0;this[_0x1b6703(0x41a)]=_0x12ab8f,this[_0x1b6703(0x26a)]=_0x33a245;}async['getUnitOnRev'](_0x5ee6ac,_0x3b6c9c){var _0x1d1f40=_0x5a48c0,_0x35ba9e;const {unitID:_0xd5c3e6,type:_0x3a8884,revision:_0x32d02d=0x0}=_0x3b6c9c,_0x1608da=this[_0x1d1f40(0x26c)]()+'/'+_0x3a8884+_0x1d1f40(0x1e6)+_0xd5c3e6+_0x1d1f40(0x394)+_0x32d02d,_0x5923ff=(await this[_0x1d1f40(0x26a)][_0x1d1f40(0x39a)](_0x1608da))[_0x1d1f40(0x14a)],_0x397e9c=(_0x35ba9e=_0x5923ff['snapshot'])==null?void 0x0:_0x35ba9e[_0x1d1f40(0xd8)];if(_0x397e9c){const _0xd85aa6=_0x397e9c==null?void 0x0:_0x397e9c[_0x1d1f40(0x3b0)],_0x270603=g['textEncoder'][_0x1d1f40(0x353)](g[_0x1d1f40(0x1c9)](_0xd85aa6));_0x397e9c[_0x1d1f40(0x3b0)]=_0x270603,Object[_0x1d1f40(0x44a)](_0x397e9c[_0x1d1f40(0x37d)])['forEach'](([,_0x2cf691])=>{var _0xe13a51=_0x1d1f40;const _0x77cf=_0x2cf691['originalMeta'],_0x166828=g['textEncoder'][_0xe13a51(0x353)](g['b64DecodeUnicode'](_0x77cf));_0x2cf691[_0xe13a51(0x3b0)]=_0x166828;});}return _0x5923ff;}async['getSheetBlock'](_0x518eab,_0x5bca9a){var _0x4ac70a=_0x5a48c0;const {unitID:_0x237be2,type:_0x1ab5aa,blockID:_0x2b56a6}=_0x5bca9a,_0x3134ab=this[_0x4ac70a(0x3df)]()+'/'+_0x1ab5aa+_0x4ac70a(0x1e6)+_0x237be2+'/block/'+_0x2b56a6;return(await this[_0x4ac70a(0x26a)][_0x4ac70a(0x39a)](_0x3134ab))['body'];}async[_0x5a48c0(0x2e6)](_0x3b010d,_0x2518ee){var _0x450403=_0x5a48c0;const {unitID:_0x11076a,type:_0x3e450c,blockID:_0x2168cb}=_0x2518ee,_0x192446=this['_getAPIPrefix']()+_0x450403(0x190)+_0x3e450c+_0x450403(0x1e6)+_0x11076a+_0x450403(0x190)+_0x2168cb;return(await this[_0x450403(0x26a)]['get'](_0x192446))[_0x450403(0x14a)];}async['fetchMissingChangesets'](_0x1d01a4,_0x20a5c6){var _0x123b27=_0x5a48c0;const {unitID:_0x418a07,type:_0x389b84,from:_0x4c5456,to:_0x5bb149}=_0x20a5c6,_0xddb2a2=this['_getAPIPrefix']()+'/'+_0x389b84+_0x123b27(0x1e6)+_0x418a07+_0x123b27(0x431)+_0x4c5456+'&to='+_0x5bb149;return(await this['_httpService'][_0x123b27(0x39a)](_0xddb2a2))[_0x123b27(0x14a)];}['getSnapshotAPIPath'](){var _0x20140b=_0x5a48c0,_0x3d98e7;return(_0x3d98e7=this[_0x20140b(0x41a)][_0x20140b(0x2d1)](vt))!=null?_0x3d98e7:this[_0x20140b(0x3df)]();}['_getAPIPrefix'](){var _0x3fe45d=_0x5a48c0,_0x4b7b99,_0x1ec3bb;const _0x306b3e=this['_configService'][_0x3fe45d(0x2d1)](dt),_0x15059a=this[_0x3fe45d(0x41a)][_0x3fe45d(0x2d1)](Y);return(_0x1ec3bb=(_0x4b7b99=_0x15059a==null?void 0x0:_0x15059a[_0x3fe45d(0x1fd)])!=null?_0x4b7b99:_0x306b3e)!=null?_0x1ec3bb:kt;}async[_0x5a48c0(0x443)](_0x44fa3e,_0x2a8772){var _0x29cc52=_0x5a48c0;const _0x3f726f='/universer-api/snapshot/'+_0x2a8772[_0x29cc52(0x315)]+'/unit/'+_0x2a8772[_0x29cc52(0x3dc)]+_0x29cc52(0x3cb);return(await this[_0x29cc52(0x26a)][_0x29cc52(0x39a)](_0x3f726f,{'params':{'resourceId':JSON[_0x29cc52(0x208)](_0x2a8772['resourceIDs'])}}))[_0x29cc52(0x14a)];}[_0x5a48c0(0x2ec)](){var _0x4e2f6d=_0x5a48c0;throw new Error(_0x4e2f6d(0x3b4));}[_0x5a48c0(0x294)](){var _0x16d141=_0x5a48c0;throw new Error(_0x16d141(0x3b4));}[_0x5a48c0(0x3c8)](){var _0x5c5f47=_0x5a48c0;throw new Error(_0x5c5f47(0x3b4));}[_0x5a48c0(0x13c)](){var _0x56b638=_0x5a48c0;throw new Error(_0x56b638(0x3b4));}[_0x5a48c0(0x104)](){var _0x2e145c=_0x5a48c0;throw new Error(_0x2e145c(0x3b4));}},exports[_0x5a48c0(0x12e)]=An([lt(0x0,a['IConfigService']),lt(0x1,a[_0x5a48c0(0xd9)](q[_0x5a48c0(0x216)]))],exports['SnapshotServerOverHTTPService']);var Pn=Object[_0x5a48c0(0xe7)],wn=(_0x6e5402,_0x2ba254,_0x33c971,_0x5d85b8)=>{for(var _0x5f384e=_0x5d85b8>0x1?void 0x0:_0x5d85b8?Pn(_0x2ba254,_0x33c971):_0x2ba254,_0x50f74a=_0x6e5402['length']-0x1,_0xf64132;_0x50f74a>=0x0;_0x50f74a--)(_0xf64132=_0x6e5402[_0x50f74a])&&(_0x5f384e=_0xf64132(_0x5f384e)||_0x5f384e);return _0x5f384e;},de=(_0x6ee40e,_0x4d28d3)=>(_0x5c9451,_0x553798)=>_0x4d28d3(_0x5c9451,_0x553798,_0x6ee40e);exports[_0x5a48c0(0x3c5)]=class extends a[_0x5a48c0(0xdf)]{constructor(_0x1a0f77,_0x567558,_0x4e7f74,_0x1cc618,_0x544b0a){var _0x361f0c=_0x5a48c0;super(_0x1a0f77,_0x567558,_0x4e7f74),this[_0x361f0c(0x319)]=_0x1cc618,this[_0x361f0c(0x39b)]=_0x544b0a;}[_0x5a48c0(0x305)](_0x1e5e5f,_0x5e9463){var _0x1e9a64=_0x5a48c0;const _0x1821b4=this['_getUndoStack'](_0x1e5e5f);if(_0x1821b4)try{const _0xe07ada=this[_0x1e9a64(0x316)](_0x1821b4,_0x5e9463);this[_0x1e9a64(0x2c8)](_0x1e5e5f,_0xe07ada);}catch(_0x3caaa1){this['_logService'][_0x1e9a64(0x16f)](_0x1e9a64(0x1b7),_0x3caaa1),this[_0x1e9a64(0x3db)](_0x1e5e5f);}const _0x3c35ff=this[_0x1e9a64(0x34e)](_0x1e5e5f);if(_0x3c35ff)try{const _0x11df74=this[_0x1e9a64(0x316)](_0x3c35ff,_0x5e9463);this[_0x1e9a64(0x1ab)](_0x1e5e5f,_0x11df74);}catch(_0x1ee3bf){this[_0x1e9a64(0x39b)]['error'](_0x1ee3bf),this[_0x1e9a64(0x341)](_0x1e5e5f);}}[_0x5a48c0(0x3db)](_0x2e9726){var _0x178f50=_0x5a48c0;const _0x290a02=this[_0x178f50(0x271)](_0x2e9726);_0x290a02&&(_0x290a02[_0x178f50(0x143)]=0x0,this[_0x178f50(0x1cc)]());}[_0x5a48c0(0x341)](_0x548694){var _0x4ab87c=_0x5a48c0;const _0x341401=this[_0x4ab87c(0x34e)](_0x548694);_0x341401&&(_0x341401[_0x4ab87c(0x143)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x3ce82e,_0x3c07ea){var _0x2b545f=_0x5a48c0;this[_0x2b545f(0x1d8)][_0x2b545f(0x3d5)](_0x3ce82e,_0x3c07ea),this['_updateStatus']();}['_substituteRedoStack'](_0x94ee16,_0x362e80){var _0x36c2be=_0x5a48c0;this[_0x36c2be(0x3ac)][_0x36c2be(0x3d5)](_0x94ee16,_0x362e80),this[_0x36c2be(0x1cc)]();}[_0x5a48c0(0x316)](_0x5ad980,_0x304ed6){var _0x3ca02c=_0x5a48c0;const _0x46bac3=[];let _0x3f84be=_0x304ed6,_0x36ddcb=_0x304ed6;for(let _0x2fdb44=_0x5ad980[_0x3ca02c(0x143)]-0x1;_0x2fdb44>=0x0;_0x2fdb44--){const {unitID:_0x532f7c,undoMutations:_0xb987d6,redoMutations:_0x5e674f}=_0x5ad980[_0x2fdb44],_0x3a6d4b=this[_0x3ca02c(0x319)][_0x3ca02c(0x108)](_0x3f84be,_0xb987d6),_0x3e51a9=this['_transformService']['transformMutationsWithChangeset'](_0x36ddcb,_0x5e674f);if(g['isTransformMutationsWithChangesetFailure'](_0x3a6d4b)||g[_0x3ca02c(0x288)](_0x3e51a9)){this[_0x3ca02c(0x39b)][_0x3ca02c(0x16f)](_0x3ca02c(0x1b7),_0x3ca02c(0x172),_0x3a6d4b,_0x3e51a9);break;}_0x3f84be=_0x3a6d4b[_0x3ca02c(0x176)],_0x36ddcb=_0x3e51a9['c1Prime'],_0x46bac3[_0x3ca02c(0x437)]({'unitID':_0x532f7c,'undoMutations':_0x3a6d4b[_0x3ca02c(0x19c)],'redoMutations':_0x3e51a9[_0x3ca02c(0x19c)]});}return _0x46bac3[_0x3ca02c(0x2c6)]();}},exports[_0x5a48c0(0x3c5)]=wn([de(0x0,a[_0x5a48c0(0x3de)]),de(0x1,a[_0x5a48c0(0x206)]),de(0x2,a[_0x5a48c0(0x1ff)]),de(0x3,g['ITransformService']),de(0x4,a[_0x5a48c0(0x2e9)])],exports[_0x5a48c0(0x3c5)]);var Ln=Object[_0x5a48c0(0x1de)],Mn=Object[_0x5a48c0(0xe7)],xn=(_0x30baa4,_0x132cd0,_0x3ddf03)=>_0x132cd0 in _0x30baa4?Ln(_0x30baa4,_0x132cd0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ddf03}):_0x30baa4[_0x132cd0]=_0x3ddf03,kn=(_0x3e8483,_0x26a36e,_0x28808f,_0x42ff49)=>{for(var _0x517db6=_0x42ff49>0x1?void 0x0:_0x42ff49?Mn(_0x26a36e,_0x28808f):_0x26a36e,_0x224b10=_0x3e8483['length']-0x1,_0x5be728;_0x224b10>=0x0;_0x224b10--)(_0x5be728=_0x3e8483[_0x224b10])&&(_0x517db6=_0x5be728(_0x517db6)||_0x517db6);return _0x517db6;},ke=(_0x5ee989,_0x2cd73a)=>(_0x2fcd0f,_0x2f3615)=>_0x2cd73a(_0x2fcd0f,_0x2f3615,_0x5ee989),Hn=(_0x2e2c24,_0xf17aa8,_0x4103be)=>xn(_0x2e2c24,_0xf17aa8+'',_0x4103be);const jn=_0x5a48c0(0x44e);exports[_0x5a48c0(0x194)]=class extends a['Plugin']{constructor(_0x1b6458,_0xbaf8c2,_0x23f55d,_0x3dffe9){var _0x4bd1ae=_0x5a48c0;super(),A(this,'_config'),(this[_0x4bd1ae(0x39b)]=_0xbaf8c2,this[_0x4bd1ae(0x211)]=_0x23f55d,this[_0x4bd1ae(0x41a)]=_0x3dffe9);const {..._0x556aaf}=a[_0x4bd1ae(0x149)]({},Jt,_0x1b6458);if(!_0x556aaf[_0x4bd1ae(0x174)])throw new Error(_0x4bd1ae(0x262));this['_config']=_0x556aaf,this[_0x4bd1ae(0x41a)][_0x4bd1ae(0x106)](Y,_0x556aaf);}[_0x5a48c0(0x433)](){var _0x202ea6=_0x5a48c0;this[_0x202ea6(0x351)](),this[_0x202ea6(0xeb)]();}[_0x5a48c0(0x351)](){var _0x495892=_0x5a48c0,_0x4510c9,_0x35d7d2;this[_0x495892(0x211)][_0x495892(0x212)](a[_0x495892(0x2d2)])&&this[_0x495892(0x39b)][_0x495892(0x16f)]('[UniverCollaborationClientPlugin]',_0x495892(0x339));const _0x5ba9e0=a[_0x495892(0x379)]([[a[_0x495892(0x2d2)],{'useClass':exports[_0x495892(0x3c5)]}],[exports[_0x495892(0x155)]],[exports['MemberService']],[exports[_0x495892(0x20a)]],[ye],[Ne],[Be],[De],[te],[exports[_0x495892(0x285)]],[$e,{'useClass':this[_0x495892(0x1f9)][_0x495892(0x174)]}],[g[_0x495892(0xf5)],{'useClass':exports[_0x495892(0x12e)]}],[a[_0x495892(0x1ac)],{'useClass':exports['AuthzIoHttpService']}],[J['IImageIoService'],{'useClass':exports[_0x495892(0x398)]}],[a['IMentionIOService'],{'useClass':exports[_0x495892(0x32d)]}],[exports[_0x495892(0x141)]],[He]],(_0x4510c9=this[_0x495892(0x1f9)])==null?void 0x0:_0x4510c9[_0x495892(0x252)]);if(!((_0x35d7d2=this[_0x495892(0x1f9)])!=null&&_0x35d7d2[_0x495892(0x333)])){const _0x2905e2=_0x5ba9e0['findIndex'](([_0x35ed4f])=>_0x35ed4f===ve);_0x2905e2!==-0x1&&_0x5ba9e0['splice'](_0x2905e2,0x1);}a[_0x495892(0x323)](this[_0x495892(0x211)],_0x5ba9e0);}['_initDependencies'](){var _0x26c778=_0x5a48c0,_0x1be708,_0x51c96f,_0x1fa525;this[_0x26c778(0x211)][_0x26c778(0x39a)](q[_0x26c778(0x216)])[_0x26c778(0x3d7)]({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x1be708=this['_config'])!=null&&_0x1be708['enableOfflineEditing']||(_0x51c96f=this[_0x26c778(0x211)][_0x26c778(0x39a)](z,a['Quantity'][_0x26c778(0x258)]))==null||_0x51c96f[_0x26c778(0x3b7)](),(_0x1fa525=this['_config'])!=null&&_0x1fa525[_0x26c778(0x264)]&&a[_0x26c778(0x2fc)](this[_0x26c778(0x211)],[[ye]]),a[_0x26c778(0x2fc)](this['_injector'],[[Ne],[exports['CollaborationController']],[De]]);}},Hn(exports[_0x5a48c0(0x194)],_0x5a48c0(0x392),jn),exports['UniverCollaborationClientPlugin']=kn([a[_0x5a48c0(0x3fe)](g[_0x5a48c0(0x3e6)],q[_0x5a48c0(0x2bd)]),ke(0x1,a['ILogService']),ke(0x2,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x30c)])),ke(0x3,a['IConfigService'])],exports[_0x5a48c0(0x194)]),exports[_0x5a48c0(0x298)]=Ge,exports[_0x5a48c0(0x19a)]=Y,exports[_0x5a48c0(0x3d3)]=mt,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports['CollaborationStatus']=Ve,exports[_0x5a48c0(0xee)]=Q,exports['CollaborationUIEventService']=te,exports['CommentService']=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ft,exports[_0x5a48c0(0x401)]=zt,exports['DEFAULT_WS_SESSION_TICKET_URL']=$t,exports[_0x5a48c0(0x3b1)]=pt,exports[_0x5a48c0(0x281)]=je,exports[_0x5a48c0(0x340)]=$e,exports[_0x5a48c0(0x3cf)]=z,exports[_0x5a48c0(0x13d)]=bt,exports[_0x5a48c0(0x16d)]=ve,exports[_0x5a48c0(0x270)]=Gt,exports['LOCAL_CACHE_INTERVAL_KEY']=Wt,exports['LOGIN_URL_KEY']=Et,exports[_0x5a48c0(0x1a9)]=qt,exports[_0x5a48c0(0x27a)]=It,exports[_0x5a48c0(0x35f)]=Ht,exports[_0x5a48c0(0x236)]=dt,exports[_0x5a48c0(0x2b5)]=vt,exports[_0x5a48c0(0x43b)]=se,exports[_0x5a48c0(0x180)]=Fe,exports['deserializeToCombResponse']=Rt,exports[_0x5a48c0(0x14e)]=vi,exports[_0x5a48c0(0x2dc)]=Ot;