@univerjs-pro/collaboration-client 0.5.1-nightly.202412121606 → 0.5.1-nightly.202412140448
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/facade/f-collaboration.d.ts +15 -1
- package/lib/types/services/member/member.service.d.ts +6 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x17863a=_0x491b;(function(_0xdfe474,_0x492189){var _0x3bc160=_0x491b,_0x28071c=_0xdfe474();while(!![]){try{var _0x5e62e5=-parseInt(_0x3bc160(0x454))/0x1+parseInt(_0x3bc160(0x492))/0x2+-parseInt(_0x3bc160(0x350))/0x3*(-parseInt(_0x3bc160(0x218))/0x4)+parseInt(_0x3bc160(0x464))/0x5*(parseInt(_0x3bc160(0x201))/0x6)+-parseInt(_0x3bc160(0x211))/0x7*(-parseInt(_0x3bc160(0x200))/0x8)+-parseInt(_0x3bc160(0x3f1))/0x9+parseInt(_0x3bc160(0x236))/0xa*(parseInt(_0x3bc160(0x189))/0xb);if(_0x5e62e5===_0x492189)break;else _0x28071c['push'](_0x28071c['shift']());}catch(_0x37475d){_0x28071c['push'](_0x28071c['shift']());}}}(_0x3ed5,0xd7533));var Lt=Object[_0x17863a(0x3d8)],Mt=(_0x13e05a,_0x5e9f82,_0x4e36ed)=>_0x5e9f82 in _0x13e05a?Lt(_0x13e05a,_0x5e9f82,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e36ed}):_0x13e05a[_0x5e9f82]=_0x4e36ed,w=(_0x435029,_0x2f4688,_0x2afb52)=>Mt(_0x435029,typeof _0x2f4688!=_0x17863a(0x4a6)?_0x2f4688+'':_0x2f4688,_0x2afb52);Object[_0x17863a(0x3d8)](exports,Symbol[_0x17863a(0x467)],{'value':_0x17863a(0x2ef)});const a=require(_0x17863a(0x2c5)),B=require(_0x17863a(0x252)),V=require('rxjs/operators'),z=require(_0x17863a(0x186)),m=require(_0x17863a(0x4cb)),xt=require(_0x17863a(0x499)),ut=require(_0x17863a(0x317)),W=require(_0x17863a(0x2db)),X=require(_0x17863a(0x4e3)),jt=require('@univerjs-pro/license'),dt=_0x17863a(0x36c),$t=_0x17863a(0x1e1),vt='SNAPSHOT_URL_KEY',Ht=_0x17863a(0x19b),kt=0x7d0,ft=_0x17863a(0x251),St=_0x17863a(0x18e),Bt=_0x17863a(0x395),pt=_0x17863a(0x23c),Ft=0x7530,He=_0x17863a(0x3e8),gt=0x4e20,Wt=0x4e20,mt=_0x17863a(0x50e),Vt=0x3,Gt=_0x17863a(0x4d4),Kt=0x3e8,It=_0x17863a(0x45b),Yt=_0x17863a(0x2e3),Et=_0x17863a(0x28a),qt='/universer-api/oidc/authpage';var Ct=(_0x49e15d=>(_0x49e15d[_0x49e15d['UNDEFINED']=0x0]=_0x17863a(0x1da),_0x49e15d[_0x49e15d['OK']=0x1]='OK',_0x49e15d[_0x49e15d[_0x17863a(0x46f)]=0x2]='INTERNAL_ERROR',_0x49e15d[_0x49e15d[_0x17863a(0x2e0)]=0x3]='PERMISSION_DENIED',_0x49e15d[_0x49e15d[_0x17863a(0x2c0)]=0x4]=_0x17863a(0x2c0),_0x49e15d[_0x49e15d[_0x17863a(0x33e)]=0x5]='UNAUTHENTICATED',_0x49e15d[_0x49e15d[_0x17863a(0x313)]=0x6]=_0x17863a(0x313),_0x49e15d[_0x49e15d[_0x17863a(0x476)]=0x7]='INVALID_ARGUMENT',_0x49e15d[_0x49e15d[_0x17863a(0x239)]=0x8]=_0x17863a(0x239),_0x49e15d[_0x49e15d['COMPLETION_FINISHED']=0x9]=_0x17863a(0x415),_0x49e15d[_0x49e15d[_0x17863a(0x33a)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x49e15d[_0x49e15d[_0x17863a(0x1dc)]=0x1771]=_0x17863a(0x1dc),_0x49e15d[_0x49e15d[_0x17863a(0x3f2)]=0x1772]=_0x17863a(0x3f2),_0x49e15d[_0x49e15d[_0x17863a(0x27d)]=0x1773]=_0x17863a(0x27d),_0x49e15d[_0x49e15d[_0x17863a(0x463)]=0x1b59]=_0x17863a(0x463),_0x49e15d[_0x49e15d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x17863a(0x480),_0x49e15d[_0x49e15d[_0x17863a(0x43d)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x49e15d[_0x49e15d[_0x17863a(0x22c)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x49e15d[_0x49e15d[_0x17863a(0x181)]=0x1b5d]=_0x17863a(0x181),_0x49e15d[_0x49e15d['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x17863a(0x412),_0x49e15d[_0x49e15d[_0x17863a(0x4d7)]=0x2329]=_0x17863a(0x4d7),_0x49e15d[_0x49e15d[_0x17863a(0x4de)]=0x232a]=_0x17863a(0x4de),_0x49e15d[_0x49e15d[_0x17863a(0x455)]=0x232b]=_0x17863a(0x455),_0x49e15d[_0x49e15d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x17863a(0x25f),_0x49e15d[_0x49e15d[_0x17863a(0x3c7)]=0x232d]=_0x17863a(0x3c7),_0x49e15d[_0x49e15d['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x17863a(0x192),_0x49e15d[_0x49e15d[_0x17863a(0x295)]=0x2712]=_0x17863a(0x295),_0x49e15d[_0x49e15d[_0x17863a(0x1c8)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x49e15d[_0x49e15d[_0x17863a(0x3b3)]=0x2714]=_0x17863a(0x3b3),_0x49e15d[_0x49e15d[_0x17863a(0x502)]=-0x1]=_0x17863a(0x502),_0x49e15d))(Ct||{}),Z=(_0x512b07=>(_0x512b07[_0x512b07[_0x17863a(0x373)]=0x0]=_0x17863a(0x373),_0x512b07[_0x512b07['UNIVER_DOC']=0x1]=_0x17863a(0x1d4),_0x512b07[_0x512b07[_0x17863a(0x309)]=0x2]=_0x17863a(0x309),_0x512b07[_0x512b07[_0x17863a(0x403)]=0x3]=_0x17863a(0x403),_0x512b07[_0x512b07[_0x17863a(0x2fa)]=0x4]=_0x17863a(0x2fa),_0x512b07[_0x512b07[_0x17863a(0x502)]=-0x1]=_0x17863a(0x502),_0x512b07))(Z||{}),G=(_0x3d821d=>(_0x3d821d[_0x3d821d[_0x17863a(0x385)]=0x0]=_0x17863a(0x385),_0x3d821d[_0x3d821d[_0x17863a(0x210)]=0x1]=_0x17863a(0x210),_0x3d821d[_0x3d821d['JOIN']=0x2]=_0x17863a(0x453),_0x3d821d[_0x3d821d[_0x17863a(0x22b)]=0x3]='LEAVE',_0x3d821d[_0x3d821d[_0x17863a(0x3ea)]=0x4]=_0x17863a(0x3ea),_0x3d821d[_0x3d821d[_0x17863a(0x3a9)]=0x5]=_0x17863a(0x3a9),_0x3d821d[_0x3d821d[_0x17863a(0x34b)]=0x6]=_0x17863a(0x34b),_0x3d821d[_0x3d821d[_0x17863a(0x502)]=-0x1]=_0x17863a(0x502),_0x3d821d))(G||{}),he=(_0x5c779e=>(_0x5c779e[_0x5c779e[_0x17863a(0x225)]=0x0]='UNKNOWN_CODE',_0x5c779e[_0x5c779e['OK']=0x1]='OK',_0x5c779e[_0x5c779e[_0x17863a(0x408)]=0x2]=_0x17863a(0x408),_0x5c779e[_0x5c779e[_0x17863a(0x1f7)]=0x3e9]=_0x17863a(0x1f7),_0x5c779e[_0x5c779e[_0x17863a(0x241)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x5c779e[_0x5c779e[_0x17863a(0x43e)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x5c779e[_0x5c779e[_0x17863a(0x40e)]=0x3ec]=_0x17863a(0x40e),_0x5c779e[_0x5c779e['UNRECOGNIZED']=-0x1]=_0x17863a(0x502),_0x5c779e))(he||{}),Tt=(_0x43eea3=>(_0x43eea3[_0x43eea3[_0x17863a(0x48f)]=0x0]=_0x17863a(0x48f),_0x43eea3[_0x43eea3[_0x17863a(0x2f4)]=0x1]='HttpImport',_0x43eea3[_0x43eea3[_0x17863a(0x440)]=0x2]='HttpExport',_0x43eea3[_0x43eea3[_0x17863a(0x441)]=0x3]=_0x17863a(0x441),_0x43eea3[_0x43eea3['UnitSnapshot']=0x4]=_0x17863a(0x4aa),_0x43eea3[_0x43eea3[_0x17863a(0x502)]=-0x1]='UNRECOGNIZED',_0x43eea3))(Tt||{});const q=_0x17863a(0x4ba),zt={};var Q=(_0x1c2ad1=>(_0x1c2ad1[_0x17863a(0x474)]=_0x17863a(0x474),_0x1c2ad1['PERMISSION_DENIED']=_0x17863a(0x2e0),_0x1c2ad1[_0x17863a(0x485)]=_0x17863a(0x485),_0x1c2ad1[_0x17863a(0x2b5)]=_0x17863a(0x2b5),_0x1c2ad1[_0x17863a(0x1cc)]=_0x17863a(0x1cc),_0x1c2ad1[_0x17863a(0x4ca)]=_0x17863a(0x4ca),_0x1c2ad1[_0x17863a(0x358)]=_0x17863a(0x358),_0x1c2ad1[_0x17863a(0x26b)]='SUBMIT_CHANGESET_TIMEOUT',_0x1c2ad1))(Q||{});class te{constructor(){var _0x2bcb85=_0x17863a;w(this,_0x2bcb85(0x389),new B[(_0x2bcb85(0x2e9))]()),w(this,_0x2bcb85(0x345),this[_0x2bcb85(0x389)]['asObservable']());}['emitEvent'](_0x278208){var _0x29c132=_0x17863a;this[_0x29c132(0x389)][_0x29c132(0x2ed)](_0x278208);}}const bt=a[_0x17863a(0x3d2)](_0x17863a(0x3ab));function Rt(_0x2aab90){var _0x307e9e=_0x17863a,_0x2accd6,_0x32280f,_0x2f1723,_0x27742f,_0x3045d4;const _0x45388e=_0x2aab90['data'],_0x6cec2a=JSON[_0x307e9e(0x4ee)](_0x45388e);switch(_0x6cec2a[_0x307e9e(0x330)]){case G[_0x307e9e(0x3a9)]:case G[_0x307e9e(0x210)]:{const _0x3ded2e=_0x6cec2a[_0x307e9e(0x46a)];return{..._0x6cec2a,'data':_0x3ded2e,'cmd':_0x6cec2a[_0x307e9e(0x330)]};}case G[_0x307e9e(0x453)]:{const _0x1ba57c=_0x6cec2a[_0x307e9e(0x31f)];return{..._0x6cec2a,'data':_0x1ba57c,'cmd':_0x6cec2a[_0x307e9e(0x330)]};}case G[_0x307e9e(0x34b)]:{const _0x317263=_0x6cec2a['collaMsg'];switch(_0x317263[_0x307e9e(0x271)]){case m['CollaborationEvent'][_0x307e9e(0x2d6)]:return{..._0x6cec2a,'data':{..._0x317263,'data':(_0x2accd6=_0x317263[_0x307e9e(0x3cf)])==null?void 0x0:_0x2accd6['cs']},'cmd':_0x6cec2a['cmd']};case m[_0x307e9e(0x334)]['CHANGESET_ACK']:return{..._0x6cec2a,'data':{..._0x317263,'data':(_0x32280f=_0x317263[_0x307e9e(0x508)])==null?void 0x0:_0x32280f['cs']},'cmd':_0x6cec2a[_0x307e9e(0x330)]};case m[_0x307e9e(0x334)][_0x307e9e(0x1d8)]:return{..._0x6cec2a,'data':{..._0x317263,'data':(_0x2f1723=_0x317263[_0x307e9e(0x386)])==null?void 0x0:_0x2f1723['cs']},'cmd':_0x6cec2a['cmd']};case m[_0x307e9e(0x334)]['CHANGESET_REJ']:return{..._0x6cec2a,'data':{..._0x317263,'data':(_0x27742f=_0x317263[_0x307e9e(0x18c)])==null?void 0x0:_0x27742f['cs']},'cmd':_0x6cec2a[_0x307e9e(0x330)]};case m['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x6cec2a,'data':{..._0x317263,'data':(_0x3045d4=_0x317263[_0x307e9e(0x407)])==null?void 0x0:_0x3045d4['cs']},'cmd':_0x6cec2a[_0x307e9e(0x330)]};case m['CollaborationEvent'][_0x307e9e(0x4b9)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263[_0x307e9e(0x49a)]},'cmd':_0x6cec2a[_0x307e9e(0x330)]};case m[_0x307e9e(0x334)][_0x307e9e(0x4e6)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263[_0x307e9e(0x275)]},'cmd':_0x6cec2a['cmd']};case m[_0x307e9e(0x334)][_0x307e9e(0x235)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263['leaveEvent']},'cmd':_0x6cec2a['cmd']};case m[_0x307e9e(0x334)][_0x307e9e(0x24f)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263[_0x307e9e(0x304)]},'cmd':_0x6cec2a[_0x307e9e(0x330)]};case m[_0x307e9e(0x334)][_0x307e9e(0x308)]:case m[_0x307e9e(0x334)][_0x307e9e(0x282)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263['liveShareOperation']},'cmd':_0x6cec2a['cmd']};case m[_0x307e9e(0x334)][_0x307e9e(0x260)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263[_0x307e9e(0x304)]},'cmd':_0x6cec2a[_0x307e9e(0x330)]};case m[_0x307e9e(0x334)]['MSG_FOR_ERROR']:return{..._0x6cec2a,'data':_0x317263,'cmd':_0x6cec2a['cmd']};case m[_0x307e9e(0x334)][_0x307e9e(0x2b7)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263[_0x307e9e(0x383)]},'cmd':_0x6cec2a[_0x307e9e(0x330)]};case m['CollaborationEvent'][_0x307e9e(0x394)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263['updatePermissionObjEvent']},'cmd':_0x6cec2a['cmd']};case m[_0x307e9e(0x334)]['SHOULD_CLOSE_CONN']:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263[_0x307e9e(0x443)]},'cmd':_0x6cec2a[_0x307e9e(0x330)]};case m[_0x307e9e(0x334)][_0x307e9e(0x339)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263[_0x307e9e(0x29f)]},'cmd':_0x6cec2a[_0x307e9e(0x330)]};default:return _0x6cec2a;}}default:return _0x6cec2a;}}function yt(_0x151a50){var _0x908124=_0x17863a;switch(_0x151a50[_0x908124(0x330)]){case G[_0x908124(0x3a9)]:case G[_0x908124(0x210)]:return JSON[_0x908124(0x390)]({'cmd':_0x151a50[_0x908124(0x330)],'routeKey':_0x151a50[_0x908124(0x214)]});case G[_0x908124(0x3ea)]:{let _0x2c9a88;switch(_0x151a50['data']['eventID']){case m[_0x908124(0x334)][_0x908124(0x4b9)]:{_0x2c9a88={'eventID':m[_0x908124(0x334)][_0x908124(0x4b9)],'updateCursorEvent':_0x151a50[_0x908124(0x34a)][_0x908124(0x34a)]};break;}case m[_0x908124(0x334)][_0x908124(0x235)]:{_0x2c9a88={'eventID':m[_0x908124(0x334)][_0x908124(0x235)],'leaveEvent':_0x151a50['data'][_0x908124(0x34a)]};break;}case m['CollaborationEvent']['USERS_ENTER']:{_0x2c9a88={'eventID':m['CollaborationEvent'][_0x908124(0x4e6)],'joinEvent':_0x151a50[_0x908124(0x34a)][_0x908124(0x34a)]};break;}case m[_0x908124(0x334)][_0x908124(0x24f)]:{_0x2c9a88={'eventID':m['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x151a50['data'][_0x908124(0x34a)]};break;}case m[_0x908124(0x334)][_0x908124(0x282)]:{_0x2c9a88={'eventID':m[_0x908124(0x334)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x151a50[_0x908124(0x34a)]['data']};break;}case m[_0x908124(0x334)]['LIVESHARE_TERMINATE']:{_0x2c9a88={'eventID':m[_0x908124(0x334)][_0x908124(0x260)],'liveShareTerminate':_0x151a50[_0x908124(0x34a)]['data']};break;}case m[_0x908124(0x334)]['LIVESHARE_REQUEST_HOST']:{_0x2c9a88={'eventID':m[_0x908124(0x334)][_0x908124(0x2e8)],'liveShareRequestHost':_0x151a50[_0x908124(0x34a)][_0x908124(0x34a)]};break;}case m[_0x908124(0x334)][_0x908124(0x308)]:{_0x2c9a88={'eventID':m[_0x908124(0x334)][_0x908124(0x308)]};break;}default:_0x2c9a88={'eventID':_0x151a50['data'][_0x908124(0x271)]};}return JSON[_0x908124(0x390)]({'cmd':_0x151a50[_0x908124(0x330)],'routeKey':_0x151a50[_0x908124(0x214)],'collaMsg':_0x2c9a88});}case G[_0x908124(0x453)]:return JSON[_0x908124(0x390)]({'cmd':_0x151a50[_0x908124(0x330)],'routeKey':_0x151a50[_0x908124(0x214)],'joinReq':_0x151a50[_0x908124(0x34a)]});case G[_0x908124(0x22b)]:return JSON[_0x908124(0x390)]({'cmd':_0x151a50[_0x908124(0x330)],'routeKey':_0x151a50['routeKey'],'leaveReq':_0x151a50[_0x908124(0x34a)]});default:throw new Error(_0x908124(0x1cd));}}var Jt=Object['defineProperty'],Xt=Object[_0x17863a(0x381)],Zt=(_0x443fbe,_0x49269e,_0xb76c10,_0x2d7d73)=>{for(var _0xe03ceb=_0x2d7d73>0x1?void 0x0:_0x2d7d73?Xt(_0x49269e,_0xb76c10):_0x49269e,_0x16f58f=_0x443fbe['length']-0x1,_0x5a788e;_0x16f58f>=0x0;_0x16f58f--)(_0x5a788e=_0x443fbe[_0x16f58f])&&(_0xe03ceb=(_0x2d7d73?_0x5a788e(_0x49269e,_0xb76c10,_0xe03ceb):_0x5a788e(_0xe03ceb))||_0xe03ceb);return _0x2d7d73&&_0xe03ceb&&Jt(_0x49269e,_0xb76c10,_0xe03ceb),_0xe03ceb;},ue=(_0x25a737,_0x46d2d2)=>(_0x4df20a,_0x53673e)=>_0x46d2d2(_0x4df20a,_0x53673e,_0x25a737);const ke=a[_0x17863a(0x3d2)](_0x17863a(0x319));function Qt(_0x43f382,_0x2301b7,_0x3dd9fe){var _0x16d9b9=_0x17863a;return _0x43f382+'/'+_0x2301b7+_0x16d9b9(0x459)+_0x3dd9fe+_0x16d9b9(0x3ca);}exports['CollaborationSocketService']=class extends a['Disposable']{constructor(_0x1b7163,_0x22e69e,_0x271e8b,_0x16cfd0,_0x5172d9){var _0x5697ee=_0x17863a;super(),this['_injector']=_0x1b7163,this[_0x5697ee(0x279)]=_0x22e69e,this[_0x5697ee(0x483)]=_0x271e8b,this[_0x5697ee(0x3df)]=_0x16cfd0,this[_0x5697ee(0x3fa)]=_0x5172d9;}[_0x17863a(0x306)](_0x12444b){var _0x258910=_0x17863a;const _0x20ba23=this[_0x258910(0x3f8)]['get'](z[_0x258910(0x504)]);if(!_0x20ba23)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x262040=_0x20ba23[_0x258910(0x306)](_0x12444b);if(!_0x262040)throw new Error(_0x258910(0x42e));const _0x4c267b=new a[(_0x258910(0x466))](),_0x4783e3=new B[(_0x258910(0x2e9))]();_0x4c267b[_0x258910(0x38a)](_0x262040[_0x258910(0x1ab)]['subscribe'](_0x6b9660=>_0x4783e3[_0x258910(0x2ed)](_0x6b9660))),_0x4c267b[_0x258910(0x38a)](a['toDisposable'](()=>_0x4783e3[_0x258910(0x31d)]()));const _0x4af2f6=new B[(_0x258910(0x2e9))]();_0x4c267b[_0x258910(0x38a)](_0x262040[_0x258910(0x3da)][_0x258910(0x3b0)](_0x435763=>_0x4af2f6[_0x258910(0x2ed)](_0x435763))),_0x4c267b[_0x258910(0x38a)](a[_0x258910(0x297)](()=>_0x4af2f6[_0x258910(0x31d)]()));const _0x4c8c44=new B['Subject']();_0x4c267b[_0x258910(0x38a)](_0x262040['message$'][_0x258910(0x3b0)](_0x46d47a=>{var _0x13836e=_0x258910;const _0x84aa8=Rt(_0x46d47a);_0x4c8c44[_0x13836e(0x2ed)](_0x84aa8);})),_0x4c267b[_0x258910(0x38a)](a[_0x258910(0x297)](()=>_0x4c8c44['complete']()));let _0x5b6802;const _0x34b823=()=>{var _0x2e7024=_0x258910;_0x4af2f6[_0x2e7024(0x2ed)](new Event('connection\x20error')),_0x4783e3[_0x2e7024(0x2ed)](new CloseEvent(_0x2e7024(0x264))),_0x5b6802[_0x2e7024(0x343)]();};return _0x5b6802={'memberID':'','close$':_0x4783e3[_0x258910(0x314)](),'error$':_0x4af2f6[_0x258910(0x314)](),'open$':_0x262040[_0x258910(0x4ae)],'message$':_0x4c8c44['asObservable'](),'send':_0x24d81e=>{var _0x2ffbd2=_0x258910;if(_0x24d81e[_0x2ffbd2(0x330)]===G[_0x2ffbd2(0x3ea)]){if(_0x24d81e['data'][_0x2ffbd2(0x271)]===m['CollaborationEvent'][_0x2ffbd2(0x269)]){this[_0x2ffbd2(0x19e)](_0x5b6802,_0x24d81e[_0x2ffbd2(0x34a)])[_0x2ffbd2(0x3af)](_0x48b7b3=>{var _0x882c6d=_0x2ffbd2;this[_0x882c6d(0x3df)]['error'](_0x48b7b3),_0x34b823();});return;}if(_0x24d81e[_0x2ffbd2(0x34a)][_0x2ffbd2(0x271)]===m[_0x2ffbd2(0x334)][_0x2ffbd2(0x32a)]){const _0x4dcbd2=_0x24d81e['data'];this[_0x2ffbd2(0x36f)](_0x4dcbd2)[_0x2ffbd2(0x2f7)](_0x41697a=>{var _0x30da72=_0x2ffbd2;_0x4c8c44[_0x30da72(0x2ed)]({'cmd':G['RECV'],'code':he['OK'],'routeKey':_0x4dcbd2[_0x30da72(0x34a)][_0x30da72(0x418)],'routeType':'','data':{'eventID':m[_0x30da72(0x334)][_0x30da72(0x368)],'data':{'changesets':_0x41697a}}});})[_0x2ffbd2(0x3af)](_0x326cd2=>{var _0x412657=_0x2ffbd2;this[_0x412657(0x3df)][_0x412657(0x198)](_0x326cd2),_0x34b823();});return;}}_0x262040[_0x2ffbd2(0x3b5)](yt(_0x24d81e));},'close':()=>{var _0x20b257=_0x258910;_0x262040[_0x20b257(0x343)](),_0x4c267b[_0x20b257(0x17e)]();}},_0x5b6802;}async[_0x17863a(0x19e)](_0x5a94a1,_0x1c5657){var _0x44c6c9=_0x17863a,_0xf04046,_0x7ba231;const {unitType:_0x2e37dd,unitID:_0x252515,changeset:_0x31819b}=_0x1c5657['data'],_0x4c649f={'unitID':_0x252515,'memberID':_0x5a94a1[_0x44c6c9(0x475)],'type':_0x2e37dd,'changeset':m[_0x44c6c9(0x2fd)](_0x31819b)},_0x2341a2=this[_0x44c6c9(0x483)][_0x44c6c9(0x17d)](It),_0x295bec=this[_0x44c6c9(0x483)][_0x44c6c9(0x17d)](q),_0x444a4e=Qt((_0x7ba231=(_0xf04046=_0x295bec==null?void 0x0:_0x295bec['collabSubmitChangesetUrl'])!=null?_0xf04046:_0x2341a2)!=null?_0x7ba231:Yt,_0x2e37dd,_0x252515);try{await this[_0x44c6c9(0x279)][_0x44c6c9(0x302)](_0x444a4e,{'body':_0x4c649f});}catch(_0x38296d){throw this['_logService'][_0x44c6c9(0x198)](_0x44c6c9(0x40b),_0x44c6c9(0x31b)),_0x38296d;}}async[_0x17863a(0x36f)](_0x11ddf1){var _0x5e0a28=_0x17863a;const {unitID:_0x307505,from:_0x47bd71,to:_0x5df5fe,unitType:_0x1cef88}=_0x11ddf1[_0x5e0a28(0x34a)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x307505,'type':_0x1cef88,'from':_0x47bd71,'to':_0x5df5fe}))[_0x5e0a28(0x270)];}},exports[_0x17863a(0x1c9)]=Zt([ue(0x0,a[_0x17863a(0x45c)](a['Injector'])),ue(0x1,a[_0x17863a(0x45c)](z[_0x17863a(0x3e6)])),ue(0x2,a['IConfigService']),ue(0x3,a[_0x17863a(0x4fa)]),ue(0x4,m[_0x17863a(0x42c)])],exports[_0x17863a(0x1c9)]);const ei=_0x17863a(0x4fc);function ti(_0x38d7b3){var _0x4a760d=_0x17863a;return JSON[_0x4a760d(0x390)](_0x38d7b3)[_0x4a760d(0x291)];}class Be{constructor(){var _0x527e12=_0x17863a;w(this,_0x527e12(0x258),new B[(_0x527e12(0x2e9))]()),w(this,_0x527e12(0x4ef),this[_0x527e12(0x258)][_0x527e12(0x314)]());}[_0x17863a(0x2c3)](_0x1bb405){var _0x5c19eb=_0x17863a;this[_0x5c19eb(0x258)][_0x5c19eb(0x2ed)](_0x1bb405);}}var ii=Object[_0x17863a(0x3d8)],ni=Object[_0x17863a(0x381)],ri=(_0x2a834f,_0x1a402f,_0x4ab16f,_0x58010e)=>{var _0x4caa99=_0x17863a;for(var _0x289686=_0x58010e>0x1?void 0x0:_0x58010e?ni(_0x1a402f,_0x4ab16f):_0x1a402f,_0x1b63ff=_0x2a834f[_0x4caa99(0x291)]-0x1,_0x29c15b;_0x1b63ff>=0x0;_0x1b63ff--)(_0x29c15b=_0x2a834f[_0x1b63ff])&&(_0x289686=(_0x58010e?_0x29c15b(_0x1a402f,_0x4ab16f,_0x289686):_0x29c15b(_0x289686))||_0x289686);return _0x58010e&&_0x289686&&ii(_0x1a402f,_0x4ab16f,_0x289686),_0x289686;},Ke=(_0x4b9547,_0x48cdcc)=>(_0x4c18bc,_0x43c258)=>_0x48cdcc(_0x4c18bc,_0x43c258,_0x4b9547);exports['MemberService']=class extends a[_0x17863a(0x4ec)]{constructor(_0x99f406,_0x47f6de){var _0x3a1c0c=_0x17863a;super(),w(this,_0x3a1c0c(0x2a6),new Map()),(this[_0x3a1c0c(0x3a6)]=_0x99f406,this[_0x3a1c0c(0x436)]=_0x47f6de,this[_0x3a1c0c(0x2fe)](a['toDisposable'](B[_0x3a1c0c(0x2ab)](this[_0x3a1c0c(0x3a6)]['getTypeOfUnitDisposed$'](a[_0x3a1c0c(0x3c8)][_0x3a1c0c(0x309)])['pipe'](V['map'](_0x5575f3=>_0x5575f3[_0x3a1c0c(0x281)]())),this['_univerInstanceService'][_0x3a1c0c(0x4ce)](a[_0x3a1c0c(0x3c8)][_0x3a1c0c(0x1d4)])[_0x3a1c0c(0x457)](V['map'](_0x270f1b=>_0x270f1b[_0x3a1c0c(0x281)]())),this[_0x3a1c0c(0x3a6)][_0x3a1c0c(0x4ce)](a[_0x3a1c0c(0x3c8)][_0x3a1c0c(0x403)])[_0x3a1c0c(0x457)](V['map'](_0x2e21ba=>_0x2e21ba[_0x3a1c0c(0x281)]())))['subscribe'](_0x580295=>this['_removeRoom'](_0x580295)))));}[_0x17863a(0x4c5)](_0x4b58f7){var _0x5a2505=_0x17863a;this[_0x5a2505(0x436)][_0x5a2505(0x4c5)](_0x4b58f7);}[_0x17863a(0x27f)](){var _0x3d3ed5=_0x17863a;return this['_userManagerService'][_0x3d3ed5(0x27f)]();}[_0x17863a(0x32d)](_0x3c2a37,_0xa30728){var _0x3ddaae=_0x17863a;let _0x2f6cc2=this[_0x3ddaae(0x2a6)][_0x3ddaae(0x1f9)](_0x3c2a37);_0x2f6cc2||(_0x2f6cc2=new si(),this['_roomMembers'][_0x3ddaae(0x471)](_0x3c2a37,_0x2f6cc2)),_0x2f6cc2['updateMember'](_0xa30728);}['removeMember'](_0x63f492,_0x5d6f28){var _0x45f1d1=_0x17863a;const _0x45e405=this[_0x45f1d1(0x2a6)][_0x45f1d1(0x1f9)](_0x63f492);_0x45e405&&_0x45e405[_0x45f1d1(0x2d3)](_0x5d6f28);}[_0x17863a(0x4be)](_0x49f1f4){var _0x3784b5=_0x17863a;return this[_0x3784b5(0x2a6)][_0x3784b5(0x1f9)](_0x49f1f4);}[_0x17863a(0x442)](_0x5157cd,_0x3c89f3){var _0x1d775f=_0x17863a;const _0x165c38=this[_0x1d775f(0x2a6)][_0x1d775f(0x1f9)](_0x5157cd);if(_0x165c38)return _0x165c38[_0x1d775f(0x442)](_0x3c89f3);}[_0x17863a(0x32f)](_0x346435){var _0x20c1e3=_0x17863a;const _0x2538dd=this['_roomMembers'][_0x20c1e3(0x1f9)](_0x346435);_0x2538dd&&(_0x2538dd[_0x20c1e3(0x17e)](),this[_0x20c1e3(0x2a6)]['delete'](_0x346435));}[_0x17863a(0x17e)](){var _0x431c08=_0x17863a;this[_0x431c08(0x2a6)][_0x431c08(0x209)](_0x2a9ae9=>_0x2a9ae9[_0x431c08(0x17e)]()),this[_0x431c08(0x2a6)][_0x431c08(0x3d7)]();}},exports[_0x17863a(0x283)]=ri([Ke(0x0,a[_0x17863a(0x1ba)]),Ke(0x1,a[_0x17863a(0x45c)](a[_0x17863a(0x187)]))],exports[_0x17863a(0x283)]);class si extends a[_0x17863a(0x4ec)]{constructor(){var _0x262c2f=_0x17863a;super(...arguments),w(this,_0x262c2f(0x47c),new Map());}[_0x17863a(0x17e)](){var _0x260976=_0x17863a;this[_0x260976(0x47c)][_0x260976(0x3d7)]();}[_0x17863a(0x32d)](_0x4c82b7){var _0x2725b=_0x17863a;this[_0x2725b(0x47c)][_0x2725b(0x471)](_0x4c82b7[_0x2725b(0x475)],_0x4c82b7);}['removeMember'](_0x28aa13){var _0x4b8f3d=_0x17863a;this[_0x4b8f3d(0x47c)][_0x4b8f3d(0x40f)](_0x28aa13);}[_0x17863a(0x442)](_0x1f3c47){var _0x147f3c=_0x17863a;return this['_members'][_0x147f3c(0x1f9)](_0x1f3c47);}['getAllMembers'](){var _0x487cbc=_0x17863a;return Array[_0x487cbc(0x1d6)](this['_members'][_0x487cbc(0x267)]());}}var oi=Object[_0x17863a(0x3d8)],ai=Object[_0x17863a(0x381)],ci=(_0x3578f5,_0x41f916,_0x2eba7c,_0x51e91b)=>{var _0x5913ad=_0x17863a;for(var _0x59c641=_0x51e91b>0x1?void 0x0:_0x51e91b?ai(_0x41f916,_0x2eba7c):_0x41f916,_0x71092c=_0x3578f5[_0x5913ad(0x291)]-0x1,_0x21a5c3;_0x71092c>=0x0;_0x71092c--)(_0x21a5c3=_0x3578f5[_0x71092c])&&(_0x59c641=(_0x51e91b?_0x21a5c3(_0x41f916,_0x2eba7c,_0x59c641):_0x21a5c3(_0x59c641))||_0x59c641);return _0x51e91b&&_0x59c641&&oi(_0x41f916,_0x2eba7c,_0x59c641),_0x59c641;},oe=(_0x4a637f,_0x299954)=>(_0x5bbef5,_0x2088c1)=>_0x299954(_0x5bbef5,_0x2088c1,_0x4a637f),se=(_0x37713b=>(_0x37713b[_0x37713b[_0x17863a(0x227)]=0x0]=_0x17863a(0x227),_0x37713b[_0x37713b[_0x17863a(0x2b9)]=0x1]=_0x17863a(0x2b9),_0x37713b[_0x37713b[_0x17863a(0x20d)]=0x2]=_0x17863a(0x20d),_0x37713b[_0x37713b[_0x17863a(0x1a2)]=0x3]=_0x17863a(0x1a2),_0x37713b))(se||{});const Ye={[he[_0x17863a(0x408)]]:_0x17863a(0x1f0),[he[_0x17863a(0x1f7)]]:_0x17863a(0x1ef),[he[_0x17863a(0x241)]]:_0x17863a(0x30e),[he[_0x17863a(0x43e)]]:_0x17863a(0x1e7),[he['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x17863a(0x35d)};exports['CollaborationSession']=class extends a[_0x17863a(0x1de)]{constructor(_0x323ece,_0x35ae21,_0x4e9619,_0x3c69dc,_0x502666,_0x19f259,_0x3ef46f,_0x497323,_0x5a01e0){var _0x59f308=_0x17863a;super(),w(this,_0x59f308(0x1c1),new B['BehaviorSubject'](0x0)),w(this,_0x59f308(0x2c1),this[_0x59f308(0x1c1)][_0x59f308(0x314)]()),w(this,_0x59f308(0x389),new B[(_0x59f308(0x2e9))]()),w(this,_0x59f308(0x345),this[_0x59f308(0x389)]['asObservable']()),w(this,_0x59f308(0x444)),w(this,'_socketMessageSubscription'),w(this,'_collaborationTimeoutTimer'),w(this,'_shouldReportTelemetry',!0x1),w(this,'_telemetryInfo',null),(this['_unitID']=_0x323ece,this['_logService']=_0x4e9619,this['_configService']=_0x3c69dc,this[_0x59f308(0x312)]=_0x502666,this['_memberService']=_0x19f259,this['_commentService']=_0x3ef46f,this['_collaborationUIEventService']=_0x497323,this[_0x59f308(0x298)]=_0x5a01e0,this['_shouldReportTelemetry']=!!this[_0x59f308(0x298)],_0x35ae21[_0x59f308(0x457)](B[_0x59f308(0x50f)](this[_0x59f308(0x1db)]))[_0x59f308(0x3b0)](_0x336545=>{var _0x16c30f=_0x59f308,_0x2cd3a7;typeof _0x336545>'u'||(this[_0x16c30f(0x444)]=_0x336545,_0x336545?(this[_0x16c30f(0x46b)](_0x336545),this[_0x16c30f(0x324)]=_0x336545['message$']['subscribe'](_0xc31852=>{var _0x34346a=_0x16c30f;_0xc31852['routeKey']===this[_0x34346a(0x19a)]&&this['_onCombEvent'](_0xc31852);})):(this[_0x16c30f(0x4e8)](),this['_sessionStatus$']['next'](0x2),(_0x2cd3a7=this[_0x16c30f(0x324)])==null||_0x2cd3a7[_0x16c30f(0x205)](),this[_0x16c30f(0x324)]=null));}));}get[_0x17863a(0x2d0)](){return this['_sessionStatus$']['getValue']();}['getMemberID'](){var _0x414f1a=_0x17863a,_0x728e57,_0x4a3dee;return(_0x4a3dee=(_0x728e57=this[_0x414f1a(0x444)])==null?void 0x0:_0x728e57[_0x414f1a(0x475)])!=null?_0x4a3dee:null;}[_0x17863a(0x17e)](){var _0x36cf36=_0x17863a;super[_0x36cf36(0x17e)](),this[_0x36cf36(0x1db)][_0x36cf36(0x2ed)](),this[_0x36cf36(0x1db)][_0x36cf36(0x31d)]();}['close'](){var _0x45ca9f=_0x17863a,_0x2215f8,_0x520703;this['_throwTelemetryCollaborationNewChangeset'](),(_0x2215f8=this[_0x45ca9f(0x444)])==null||_0x2215f8['send']({'cmd':G['LEAVE'],'data':{'roomID':this[_0x45ca9f(0x19a)]}}),(_0x520703=this[_0x45ca9f(0x444)])==null||_0x520703[_0x45ca9f(0x343)](),this[_0x45ca9f(0x389)]['complete'](),this['_sessionStatus$'][_0x45ca9f(0x31d)](),this[_0x45ca9f(0x17e)]();}[_0x17863a(0x37a)](_0x3491fd){var _0x5f4bc3=_0x17863a;_0x3491fd['cmd']===G[_0x5f4bc3(0x453)]?this[_0x5f4bc3(0x3db)](_0x3491fd):_0x3491fd[_0x5f4bc3(0x330)]===G[_0x5f4bc3(0x34b)]&&this[_0x5f4bc3(0x361)](_0x3491fd);}[_0x17863a(0x46b)](_0x4f73e5){var _0x241d98=_0x17863a;this[_0x241d98(0x1c1)][_0x241d98(0x2ed)](0x1),_0x4f73e5['send']({'cmd':G['JOIN'],'routeKey':this[_0x241d98(0x19a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x241d98(0x19a)]}]}});}['_onJoinRoomEvent'](_0x53d168){var _0x5b3e83=_0x17863a,_0x144fe4;if(_0x53d168[_0x5b3e83(0x2dc)]in Ye){this[_0x5b3e83(0x431)][_0x5b3e83(0x410)]({'id':Q['JOIN_ROOM_FAILED'],'data':Ye[_0x53d168[_0x5b3e83(0x2dc)]]}),this[_0x5b3e83(0x1c1)][_0x5b3e83(0x2ed)](0x2);return;}this[_0x5b3e83(0x1c1)][_0x5b3e83(0x2ed)](0x3);const _0xad659d=(_0x144fe4=_0x53d168[_0x5b3e83(0x34a)][_0x5b3e83(0x355)][this[_0x5b3e83(0x19a)]])==null?void 0x0:_0x144fe4[_0x5b3e83(0x40d)];_0xad659d&&_0xad659d['forEach'](_0x44093f=>this['_memberService']['updateMember'](this[_0x5b3e83(0x19a)],_0x44093f));}[_0x17863a(0x361)](_0x45f294){var _0x14d277=_0x17863a;try{const _0x264b98=_0x45f294[_0x14d277(0x34a)];switch(_0x264b98['eventID']){case m[_0x14d277(0x334)][_0x14d277(0x4e6)]:this[_0x14d277(0x4f6)](_0x264b98),this[_0x14d277(0x389)][_0x14d277(0x2ed)](_0x264b98);break;case m[_0x14d277(0x334)][_0x14d277(0x235)]:this[_0x14d277(0x31c)](_0x264b98),this[_0x14d277(0x389)][_0x14d277(0x2ed)](_0x264b98);break;case m[_0x14d277(0x334)]['CHANGESET_ACK']:case m[_0x14d277(0x334)][_0x14d277(0x372)]:this[_0x14d277(0x1d1)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x14d277(0x2ed)](_0x264b98);break;case m[_0x14d277(0x334)][_0x14d277(0x2a9)]:this[_0x14d277(0x3df)][_0x14d277(0x198)](_0x14d277(0x4e0)+JSON[_0x14d277(0x390)](_0x264b98)),this['_event$'][_0x14d277(0x2ed)](_0x264b98);break;case m['CollaborationEvent'][_0x14d277(0x2b7)]:this['_commentService'][_0x14d277(0x2c3)](_0x264b98[_0x14d277(0x34a)]),this[_0x14d277(0x389)]['next'](_0x264b98);break;default:this[_0x14d277(0x389)][_0x14d277(0x2ed)](_0x264b98);}}catch(_0x5b2201){this[_0x14d277(0x3df)][_0x14d277(0x198)](_0x5b2201,_0x45f294);}}[_0x17863a(0x4f6)](_0x35dc4e){var _0x56b45d=_0x17863a;this[_0x56b45d(0x344)][_0x56b45d(0x32d)](this['_unitID'],_0x35dc4e['data']);}[_0x17863a(0x31c)](_0xf88acb){var _0x243666=_0x17863a;this[_0x243666(0x344)][_0x243666(0x2d3)](this['_unitID'],_0xf88acb[_0x243666(0x34a)][_0x243666(0x475)]);}async[_0x17863a(0x3b5)](_0xdc11fd,_0x11dc23){var _0x1eaa93=_0x17863a;if(this[_0x1eaa93(0x2d0)]!==0x3||!this[_0x1eaa93(0x444)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0xdc11fd['eventID']===m['CollaborationEvent'][_0x1eaa93(0x269)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x1eaa93(0x398)](_0xdc11fd)),this[_0x1eaa93(0x444)][_0x1eaa93(0x3b5)]({'cmd':G[_0x1eaa93(0x3ea)],'routeKey':_0x11dc23,'routeType':'','data':_0xdc11fd});}catch(_0x3ec883){this['_logService'][_0x1eaa93(0x198)](_0x3ec883);}}[_0x17863a(0x438)](){var _0x2a3c75=_0x17863a,_0x552415;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x19e9e8=_0x491b;this[_0x19e9e8(0x481)]=null,this['_collaborationUIEventService'][_0x19e9e8(0x410)]({'id':Q[_0x19e9e8(0x26b)]});},(_0x552415=this[_0x2a3c75(0x483)][_0x2a3c75(0x17d)](He))!=null?_0x552415:gt);}[_0x17863a(0x4d5)](){var _0x64e31=_0x17863a;this[_0x64e31(0x481)]&&(clearTimeout(this[_0x64e31(0x481)]),this[_0x64e31(0x481)]=null);}[_0x17863a(0x398)](_0x58a655){var _0x17c20f=_0x17863a;if(!this['_shouldReportTelemetry'])return;const {data:_0x527c2f}=_0x58a655,{unitID:_0x635897,changeset:_0x11b6db}=_0x527c2f,{mutations:_0x544cd0,type:_0x27fa4c}=_0x11b6db;this[_0x17c20f(0x421)]={'unitId':_0x635897,'type':_0x27fa4c,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0x544cd0)};}[_0x17863a(0x1d1)](){var _0x35d5ff=_0x17863a;if(this[_0x35d5ff(0x20b)]){if(!this['_telemetryInfo']){this[_0x35d5ff(0x3df)][_0x35d5ff(0x198)](_0x35d5ff(0x40b),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x35d5ff(0x4f7)]=performance[_0x35d5ff(0x255)](),this[_0x35d5ff(0x421)][_0x35d5ff(0x1c0)]=this[_0x35d5ff(0x421)][_0x35d5ff(0x4f7)]-this['_telemetryInfo'][_0x35d5ff(0x40a)],this[_0x35d5ff(0x298)][_0x35d5ff(0x32b)](ei,this[_0x35d5ff(0x421)]),this[_0x35d5ff(0x421)]=null;}}[_0x17863a(0x4e8)](){var _0x18b570=_0x17863a;this[_0x18b570(0x421)]=null;}},exports[_0x17863a(0x375)]=ci([oe(0x2,a[_0x17863a(0x4fa)]),oe(0x3,a[_0x17863a(0x29c)]),oe(0x4,a['Inject'](a[_0x17863a(0x411)])),oe(0x5,a[_0x17863a(0x45c)](exports[_0x17863a(0x283)])),oe(0x6,a[_0x17863a(0x45c)](Be)),oe(0x7,a[_0x17863a(0x45c)](te)),oe(0x8,a['Optional'](xt['ITelemetryService']))],exports[_0x17863a(0x375)]);var hi=Object[_0x17863a(0x3d8)],li=Object[_0x17863a(0x381)],_i=(_0x235931,_0xd7a208,_0x26ec1c,_0x3a6c45)=>{var _0x580e4c=_0x17863a;for(var _0x53ff19=_0x3a6c45>0x1?void 0x0:_0x3a6c45?li(_0xd7a208,_0x26ec1c):_0xd7a208,_0x166ddc=_0x235931[_0x580e4c(0x291)]-0x1,_0x2712b9;_0x166ddc>=0x0;_0x166ddc--)(_0x2712b9=_0x235931[_0x166ddc])&&(_0x53ff19=(_0x3a6c45?_0x2712b9(_0xd7a208,_0x26ec1c,_0x53ff19):_0x2712b9(_0x53ff19))||_0x53ff19);return _0x3a6c45&&_0x53ff19&&hi(_0xd7a208,_0x26ec1c,_0x53ff19),_0x53ff19;},ae=(_0x1efad3,_0x5dabe3)=>(_0x59642f,_0x49bffc)=>_0x5dabe3(_0x59642f,_0x49bffc,_0x1efad3);exports['CollaborationSessionService']=class extends a[_0x17863a(0x4ec)]{constructor(_0x564478,_0x47d71d,_0x308127,_0x67bf65,_0x1cad22,_0x1f01db,_0x5a03fe){var _0x219c72=_0x17863a;super(),w(this,_0x219c72(0x461),new B[(_0x219c72(0x224))](void 0x0)),w(this,_0x219c72(0x340),this[_0x219c72(0x461)][_0x219c72(0x314)]()),w(this,'_candidateSocket',null),w(this,_0x219c72(0x38e),new Map()),w(this,_0x219c72(0x24c),new B[(_0x219c72(0x224))](se[_0x219c72(0x227)])),w(this,_0x219c72(0x482),this[_0x219c72(0x24c)]['asObservable']()),w(this,'_socketReady',!0x1),w(this,'_retryConnectingTimer'),w(this,_0x219c72(0x3c5),0x0),w(this,_0x219c72(0x310)),w(this,_0x219c72(0x48a)),(this[_0x219c72(0x3f8)]=_0x564478,this['_logService']=_0x47d71d,this[_0x219c72(0x483)]=_0x308127,this[_0x219c72(0x2c8)]=_0x67bf65,this[_0x219c72(0x22f)]=_0x1cad22,this[_0x219c72(0x431)]=_0x1f01db,this[_0x219c72(0x50d)]=_0x5a03fe,this[_0x219c72(0x363)]());}get[_0x17863a(0x444)](){var _0x55828b=_0x17863a;return this[_0x55828b(0x461)][_0x55828b(0x41c)]();}[_0x17863a(0x363)](){var _0xe2be81=_0x17863a;this[_0xe2be81(0x50d)]&&this[_0xe2be81(0x2fe)](this[_0xe2be81(0x50d)][_0xe2be81(0x433)]['subscribe'](_0x580b94=>{var _0x2efd1b=_0xe2be81;_0x580b94&&!this[_0x2efd1b(0x444)]&&this[_0x2efd1b(0x188)](),_0x580b94||this['_onOffline']();}));}[_0x17863a(0x17e)](){var _0x601d2f=_0x17863a;super[_0x601d2f(0x17e)](),this[_0x601d2f(0x38e)][_0x601d2f(0x209)](_0x3feaed=>_0x3feaed['dispose']()),this['_sessions']['clear'](),this[_0x601d2f(0x24c)][_0x601d2f(0x31d)]();}async[_0x17863a(0x2a3)](_0x3ec3ce){var _0x1941ef=_0x17863a;if(this[_0x1941ef(0x38e)]['has'](_0x3ec3ce))return this[_0x1941ef(0x38e)][_0x1941ef(0x1f9)](_0x3ec3ce);this[_0x1941ef(0x3a7)]();const _0x642fe2=this['_injector']['createInstance'](exports[_0x1941ef(0x375)],_0x3ec3ce,this['_socket$']['asObservable']());return this[_0x1941ef(0x38e)][_0x1941ef(0x471)](_0x3ec3ce,_0x642fe2),_0x642fe2;}[_0x17863a(0x288)](_0x3b29e1){var _0x45f82c=_0x17863a,_0x53ad32;const _0x5a03e9=this['_sessions'][_0x45f82c(0x1f9)](_0x3b29e1);_0x5a03e9&&(this[_0x45f82c(0x38e)][_0x45f82c(0x40f)](_0x3b29e1),_0x5a03e9['close']()),this['_sessions'][_0x45f82c(0x391)]||(_0x53ad32=this['_socket'])==null||_0x53ad32[_0x45f82c(0x343)]();}[_0x17863a(0x188)](){var _0x1cf697=_0x17863a;this['_retryCount']=0x0,this[_0x1cf697(0x2cd)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x1cf697(0x4c0)]();}async[_0x17863a(0x3ec)](){var _0x14c581=_0x17863a,_0x5c38f4,_0x1552b9,_0x4082cf;const _0x3da304=this[_0x14c581(0x483)][_0x14c581(0x17d)](q),_0x2a7662=(_0x5c38f4=_0x3da304==null?void 0x0:_0x3da304['wsSessionTicketUrl'])!=null?_0x5c38f4:Bt;return(_0x4082cf=(_0x1552b9=(await this[_0x14c581(0x22f)][_0x14c581(0x1f9)](_0x2a7662,{'headers':{'Content-Type':_0x14c581(0x2bb)}}))['body'])==null?void 0x0:_0x1552b9[_0x14c581(0x447)])!=null?_0x4082cf:'';}[_0x17863a(0x3c3)](_0x30e22d){var _0x53dfef=_0x17863a,_0x14d1e4,_0x107948;const _0x59f5e8=this['_configService'][_0x53dfef(0x17d)](ft),_0x298bac=this[_0x53dfef(0x483)][_0x53dfef(0x17d)](q),_0x411786=(_0x107948=(_0x14d1e4=_0x298bac==null?void 0x0:_0x298bac[_0x53dfef(0x39e)])!=null?_0x14d1e4:_0x59f5e8)!=null?_0x107948:St,_0x5b987f=typeof window>'u'?new URL(_0x411786):new URL(_0x411786,window[_0x53dfef(0x2b0)][_0x53dfef(0x3ac)]);_0x5b987f[_0x53dfef(0x2f8)][_0x53dfef(0x471)](_0x53dfef(0x4f8),_0x30e22d);const _0x7beb67=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x53dfef(0x2b0)][_0x53dfef(0x1be)]);return _0x7beb67[_0x53dfef(0x1f9)](_0x53dfef(0x434))&&_0x5b987f['searchParams'][_0x53dfef(0x471)]('runId',_0x7beb67[_0x53dfef(0x1f9)]('runId')),_0x5b987f[_0x53dfef(0x1f5)]();}async[_0x17863a(0x23a)](){var _0x1796d9=_0x17863a;const _0x27c2ee=await this[_0x1796d9(0x3ec)](),_0x4506de=this[_0x1796d9(0x3c3)](_0x27c2ee),_0x5f109b=this[_0x1796d9(0x2c8)][_0x1796d9(0x306)](_0x4506de);return this['_candidateSocket']=_0x5f109b,_0x5f109b;}async[_0x17863a(0x3a7)](){var _0xb80469=_0x17863a,_0x43a5ca,_0x4e7fc5;try{const _0x405d11=(_0x4e7fc5=(_0x43a5ca=this[_0xb80469(0x444)])!=null?_0x43a5ca:this[_0xb80469(0x1fe)])!=null?_0x4e7fc5:await this[_0xb80469(0x23a)]();if(_0x405d11){const _0x3cbc3e=_0x405d11[_0xb80469(0x3b5)];_0x405d11[_0xb80469(0x3b5)]=_0x17cb89=>(this[_0xb80469(0x222)](),_0x3cbc3e[_0xb80469(0x3ce)](_0x405d11,[_0x17cb89])),_0x405d11[_0xb80469(0x316)]['subscribe'](_0x341be7=>this['_onMessage'](_0x405d11,_0x341be7)),_0x405d11[_0xb80469(0x3da)][_0xb80469(0x457)](V[_0xb80469(0x2ca)](0x1))['subscribe'](_0x14976c=>this[_0xb80469(0x3df)]['error'](_0xb80469(0x2b4),_0x14976c)),_0x405d11['open$'][_0xb80469(0x457)](V[_0xb80469(0x2ca)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x405d11);}),_0x405d11[_0xb80469(0x1ab)][_0xb80469(0x457)](V[_0xb80469(0x2ca)](0x1))['subscribe'](_0x5cf660=>{var _0x59cfd0=_0xb80469;this[_0x59cfd0(0x3df)][_0x59cfd0(0x28d)](_0x59cfd0(0x2ea),'socket\x20close',_0x5cf660),this[_0x59cfd0(0x1c4)]();});}}catch(_0x35bc38){this[_0xb80469(0x3df)][_0xb80469(0x198)](_0x35bc38),this[_0xb80469(0x1c4)]();}}[_0x17863a(0x3d0)](_0x344f0f){var _0x5a866f=_0x17863a;this[_0x5a866f(0x3df)]['debug'](_0x5a866f(0x2ea),_0x5a866f(0x2a8)),_0x344f0f[_0x5a866f(0x3b5)]({'cmd':G['HELLO']}),this[_0x5a866f(0x222)]();}[_0x17863a(0x346)](){var _0x5b6463=_0x17863a;this[_0x5b6463(0x511)]=!0x1,this[_0x5b6463(0x1fe)]=null,this[_0x5b6463(0x24c)][_0x5b6463(0x2ed)](se[_0x5b6463(0x20d)]),this['_socket$'][_0x5b6463(0x2ed)](null),this[_0x5b6463(0x2af)](),this[_0x5b6463(0x1eb)]();}['_onConnectionFailed'](){var _0x438fe0=_0x17863a,_0xee4e5d;this[_0x438fe0(0x346)](),this[_0x438fe0(0x3c5)]<((_0xee4e5d=this['_configService'][_0x438fe0(0x17d)](mt))!=null?_0xee4e5d:Vt)?(this[_0x438fe0(0x431)][_0x438fe0(0x410)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x438fe0(0x4c0)]()):this[_0x438fe0(0x431)][_0x438fe0(0x410)]({'id':Q[_0x438fe0(0x358)]});}[_0x17863a(0x4c0)](){var _0x3f3607=_0x17863a,_0x23abb9;const _0x1cd4ac=this['_retryCount'],_0xc5680=this['_configService']['getConfig'](q),_0x3063f8=_0x1cd4ac===0x0?0x0:((_0x23abb9=_0xc5680==null?void 0x0:_0xc5680[_0x3f3607(0x2bf)])!=null?_0x23abb9:Wt)*0x2**_0x1cd4ac;this[_0x3f3607(0x2cd)]=setTimeout(()=>{var _0x32a6d3=_0x3f3607;clearTimeout(this[_0x32a6d3(0x2cd)]),this[_0x32a6d3(0x2cd)]=null,this[_0x32a6d3(0x3a7)]();},_0x3063f8),this[_0x3f3607(0x3c5)]+=0x1;}[_0x17863a(0x321)](_0x4f57e1,_0x5a90d3){var _0x2d80f6=_0x17863a;const {cmd:_0x53b7b3}=_0x5a90d3;_0x53b7b3===G['HELLO']&&!this[_0x2d80f6(0x511)]&&(_0x4f57e1[_0x2d80f6(0x475)]=_0x5a90d3[_0x2d80f6(0x34a)]['memberID'],this[_0x2d80f6(0x461)]['next'](_0x4f57e1),this[_0x2d80f6(0x24c)]['next'](se[_0x2d80f6(0x1a2)]),this[_0x2d80f6(0x511)]=!0x0,this[_0x2d80f6(0x1fe)]=null),_0x53b7b3===G[_0x2d80f6(0x3a9)]&&this[_0x2d80f6(0x2af)](),this[_0x2d80f6(0x222)]();}[_0x17863a(0x222)](){var _0x5ab391=_0x17863a,_0x3983a7;this['_clearHeartbeatTimer'](),this[_0x5ab391(0x310)]=setTimeout(()=>this[_0x5ab391(0x338)](),(_0x3983a7=this[_0x5ab391(0x483)][_0x5ab391(0x17d)](pt))!=null?_0x3983a7:Ft);}['_sendHeartbeat'](){var _0x545701=_0x17863a;this['_socket']['send']({'cmd':G[_0x545701(0x3a9)]}),this[_0x545701(0x2da)]();}[_0x17863a(0x2da)](){var _0x49306c=_0x17863a,_0x293779;this[_0x49306c(0x48a)]=setTimeout(()=>this[_0x49306c(0x1c4)](),(_0x293779=this[_0x49306c(0x483)][_0x49306c(0x17d)](He))!=null?_0x293779:gt);}[_0x17863a(0x1eb)](){var _0x102e71=_0x17863a;this[_0x102e71(0x310)]!=null&&(clearTimeout(this[_0x102e71(0x310)]),this[_0x102e71(0x310)]=null);}[_0x17863a(0x2af)](){var _0x35b1c9=_0x17863a;this[_0x35b1c9(0x48a)]!=null&&(clearTimeout(this[_0x35b1c9(0x48a)]),this[_0x35b1c9(0x48a)]=null);}},exports[_0x17863a(0x488)]=_i([ae(0x0,a['Inject'](a[_0x17863a(0x470)])),ae(0x1,a[_0x17863a(0x4fa)]),ae(0x2,a[_0x17863a(0x29c)]),ae(0x3,ke),ae(0x4,a[_0x17863a(0x45c)](z[_0x17863a(0x3e6)])),ae(0x5,a[_0x17863a(0x45c)](te)),ae(0x6,a[_0x17863a(0x23d)](bt))],exports['CollaborationSessionService']);const K=[];for(let r=0x0;r<0x100;++r)K[_0x17863a(0x327)]((r+0x100)[_0x17863a(0x1f5)](0x10)[_0x17863a(0x4ab)](0x1));function ui(_0x4d788e,_0x34eee8=0x0){var _0x441ff2=_0x17863a;return(K[_0x4d788e[_0x34eee8+0x0]]+K[_0x4d788e[_0x34eee8+0x1]]+K[_0x4d788e[_0x34eee8+0x2]]+K[_0x4d788e[_0x34eee8+0x3]]+'-'+K[_0x4d788e[_0x34eee8+0x4]]+K[_0x4d788e[_0x34eee8+0x5]]+'-'+K[_0x4d788e[_0x34eee8+0x6]]+K[_0x4d788e[_0x34eee8+0x7]]+'-'+K[_0x4d788e[_0x34eee8+0x8]]+K[_0x4d788e[_0x34eee8+0x9]]+'-'+K[_0x4d788e[_0x34eee8+0xa]]+K[_0x4d788e[_0x34eee8+0xb]]+K[_0x4d788e[_0x34eee8+0xc]]+K[_0x4d788e[_0x34eee8+0xd]]+K[_0x4d788e[_0x34eee8+0xe]]+K[_0x4d788e[_0x34eee8+0xf]])[_0x441ff2(0x30b)]();}let De;const di=new Uint8Array(0x10);function vi(){var _0x275375=_0x17863a;if(!De){if(typeof crypto>'u'||!crypto[_0x275375(0x356)])throw new Error(_0x275375(0x232));De=crypto[_0x275375(0x356)][_0x275375(0x31e)](crypto);}return De(di);}const fi=typeof crypto<'u'&&crypto[_0x17863a(0x3fe)]&&crypto['randomUUID'][_0x17863a(0x31e)](crypto),qe={'randomUUID':fi};function Si(_0x3b4fe2,_0x244fad,_0x2dc211){var _0xea27c3=_0x17863a;if(qe['randomUUID']&&!_0x244fad&&!_0x3b4fe2)return qe[_0xea27c3(0x3fe)]();_0x3b4fe2=_0x3b4fe2||{};const _0x2dcbe1=_0x3b4fe2[_0xea27c3(0x1cf)]||(_0x3b4fe2['rng']||vi)();return _0x2dcbe1[0x6]=_0x2dcbe1[0x6]&0xf|0x40,_0x2dcbe1[0x8]=_0x2dcbe1[0x8]&0x3f|0x80,ui(_0x2dcbe1);}const J=a[_0x17863a(0x3d2)](_0x17863a(0x18d));function pi(_0x46c4eb){var _0x9e3f6c=_0x17863a;return _0x9e3f6c(0x318)+_0x46c4eb;}var gi=Object[_0x17863a(0x3d8)],mi=Object[_0x17863a(0x381)],Ii=(_0x3dc95d,_0x2e8d89,_0x34ad8c,_0x46fd4e)=>{for(var _0x5b82f2=_0x46fd4e>0x1?void 0x0:_0x46fd4e?mi(_0x2e8d89,_0x34ad8c):_0x2e8d89,_0x1fd194=_0x3dc95d['length']-0x1,_0x3284aa;_0x1fd194>=0x0;_0x1fd194--)(_0x3284aa=_0x3dc95d[_0x1fd194])&&(_0x5b82f2=(_0x46fd4e?_0x3284aa(_0x2e8d89,_0x34ad8c,_0x5b82f2):_0x3284aa(_0x5b82f2))||_0x5b82f2);return _0x46fd4e&&_0x5b82f2&&gi(_0x2e8d89,_0x34ad8c,_0x5b82f2),_0x5b82f2;},Ne=(_0x2906fb,_0x510920)=>(_0x23d6f1,_0xdd1b2e)=>_0x510920(_0x23d6f1,_0xdd1b2e,_0x2906fb);function Ei(_0x1e8268){const {unitID:_0x16f7bc,mutations:_0xd794c8}=_0x1e8268;return{'unitId':_0x16f7bc,'subUnitId':_0xd794c8[0x0]['params']['subUnitId']};}exports[_0x17863a(0x41d)]=class{constructor(_0x35f3d8,_0x2e6586,_0x1518c3){var _0x38374c=_0x17863a;this[_0x38374c(0x3f8)]=_0x35f3d8,this[_0x38374c(0x245)]=_0x2e6586,this[_0x38374c(0x23b)]=_0x1518c3;}[_0x17863a(0x280)](_0x22ffae){var _0x3d39ba=_0x17863a,_0x3722d2,_0x79b493,_0x4c5430,_0x460057;const _0x23adae=this['_injector'][_0x3d39ba(0x1f9)](W[_0x3d39ba(0x1b2)]),{unitId:_0x3ab787,subUnitId:_0x5b8321}=Ei(_0x22ffae),_0x58bc86=_0x23adae==null?void 0x0:_0x23adae[_0x3d39ba(0x1bc)](_0x3ab787)[_0x3d39ba(0x4f5)](),_0x185246=(_0x79b493=(_0x3722d2=this[_0x3d39ba(0x23b)][_0x3d39ba(0x1e4)](_0x3ab787))==null?void 0x0:_0x3722d2[_0x3d39ba(0x4cf)]())==null?void 0x0:_0x79b493[_0x3d39ba(0x37e)]();if(_0x58bc86[_0x3d39ba(0x291)]===0x0||!_0x3ab787||!_0x5b8321)return;const _0x1b0fd0=[{'id':W[_0x3d39ba(0x500)]['id'],'params':{'unitId':_0x3ab787,'subUnitId':_0x185246,'selections':a[_0x3d39ba(0x315)][_0x3d39ba(0x4b2)](_0x58bc86)}}],_0x2d2a5b=this[_0x3d39ba(0x245)]['transformMutationsWithChangeset'](_0x22ffae,_0x1b0fd0);if(!m[_0x3d39ba(0x216)](_0x2d2a5b))throw _0x2d2a5b[_0x3d39ba(0x198)];const _0x5cab55=(_0x460057=(_0x4c5430=_0x2d2a5b[_0x3d39ba(0x2d4)][0x0])==null?void 0x0:_0x4c5430[_0x3d39ba(0x19f)])==null?void 0x0:_0x460057['selections'];if(Array[_0x3d39ba(0x35a)](_0x5cab55)&&_0x5cab55[_0x3d39ba(0x291)]){if(_0x5cab55[_0x3d39ba(0x291)]===_0x1b0fd0[0x0]['params'][_0x3d39ba(0x1c7)][_0x3d39ba(0x291)]&&_0x5cab55['every']((_0x39f597,_0x2d36dc)=>a['Rectangle'][_0x3d39ba(0x292)](_0x39f597[_0x3d39ba(0x4c2)],_0x1b0fd0[0x0][_0x3d39ba(0x19f)]['selections'][_0x2d36dc]['range'])))return;this['_injector'][_0x3d39ba(0x1f9)](a['ICommandService'])[_0x3d39ba(0x509)](W[_0x3d39ba(0x500)]['id'],{'unitId':_0x3ab787,'subUnitId':_0x185246,'selections':_0x5cab55});}}},exports[_0x17863a(0x41d)]=Ii([Ne(0x0,a[_0x17863a(0x45c)](a[_0x17863a(0x470)])),Ne(0x1,m[_0x17863a(0x4bc)]),Ne(0x2,a[_0x17863a(0x1ba)])],exports[_0x17863a(0x41d)]);const ve=a['createIdentifier'](_0x17863a(0x1b7));function _0x491b(_0x458d02,_0x4cb7f4){var _0x3ed5bf=_0x3ed5();return _0x491b=function(_0x491b4b,_0x2fdca0){_0x491b4b=_0x491b4b-0x17d;var _0x42aa80=_0x3ed5bf[_0x491b4b];return _0x42aa80;},_0x491b(_0x458d02,_0x4cb7f4);}var Fe=(_0x5dda11=>(_0x5dda11[_0x5dda11['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x5dda11[_0x5dda11['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x5dda11))(Fe||{});const Ci=new Set([W[_0x17863a(0x2c4)]['id']]);function ze(_0x1cbb1f,_0x37b326,_0x15b940,_0x202286,_0x33ed2e){var _0x5533ec=_0x17863a,_0x21c11e,_0x5b6dc0,_0x367ed7,_0x2b5ce9;const _0x256591=[];for(const _0x571e9e of _0x1cbb1f)if(Ci[_0x5533ec(0x3f0)](_0x571e9e['id'])){if(_0x256591[_0x5533ec(0x291)]>0x0)break;_0x256591[_0x5533ec(0x327)](_0x571e9e);break;}else _0x256591[_0x5533ec(0x327)](_0x571e9e);const _0x47889f=(_0x5b6dc0=(_0x21c11e=_0x33ed2e[_0x5533ec(0x27f)]())==null?void 0x0:_0x21c11e[_0x5533ec(0x44f)])!=null?_0x5b6dc0:'unknown',_0x45ae40=(_0x2b5ce9=(_0x367ed7=_0x33ed2e[_0x5533ec(0x27f)]())==null?void 0x0:_0x367ed7[_0x5533ec(0x475)])!=null?_0x2b5ce9:_0x5533ec(0x3f7);return{'changeset':{'unitID':_0x37b326,'type':m[_0x5533ec(0x490)](_0x15b940[_0x5533ec(0x451)](_0x37b326)),'baseRev':_0x202286[_0x5533ec(0x2b2)](_0x37b326),'revision':0x0,'userID':_0x47889f,'memberID':_0x45ae40,'mutations':_0x256591},'pendingMutations':_0x1cbb1f['slice'](_0x256591[_0x5533ec(0x291)])};}function Ti(_0x599779,_0x813bdd,_0x3c1a69,_0x189a03,_0x3c5628){var _0x5481b8=_0x17863a,_0x5bf377,_0x1bb0ab,_0x389993,_0x108177;const _0x5914e0=[_0x599779[_0x5481b8(0x28c)]((_0xf5ca7c,_0x14df55)=>{var _0x5b5ea0=_0x5481b8,_0x2c199e;const {id:_0xe690e9}=_0xf5ca7c,{id:_0x700cef,type:_0x4f57d4}=_0x14df55,_0x588b0e=(_0x2c199e=_0xf5ca7c[_0x5b5ea0(0x19f)])!=null?_0x2c199e:{'actions':null},_0x4c5f51=_0x14df55[_0x5b5ea0(0x19f)];if(_0xe690e9&&_0xe690e9!==_0x700cef)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0xe690e9+_0x5b5ea0(0x30c)+_0x700cef+'.');return{..._0xf5ca7c,'id':_0x700cef,'type':_0x4f57d4,'params':{'unitId':_0x4c5f51[_0x5b5ea0(0x4d2)],'textRanges':_0x4c5f51[_0x5b5ea0(0x4ff)],'actions':a[_0x5b5ea0(0x199)][_0x5b5ea0(0x3cd)](_0x588b0e[_0x5b5ea0(0x3d9)],_0x4c5f51[_0x5b5ea0(0x3d9)])}};},{})],_0x5f3e64=(_0x1bb0ab=(_0x5bf377=_0x3c5628[_0x5481b8(0x27f)]())==null?void 0x0:_0x5bf377['userID'])!=null?_0x1bb0ab:_0x5481b8(0x3f7),_0x258ebd=(_0x108177=(_0x389993=_0x3c5628[_0x5481b8(0x27f)]())==null?void 0x0:_0x389993['memberID'])!=null?_0x108177:_0x5481b8(0x3f7);return{'changeset':{'unitID':_0x813bdd,'type':m[_0x5481b8(0x490)](_0x3c1a69[_0x5481b8(0x451)](_0x813bdd)),'baseRev':_0x189a03['getCurrentRevOfUnit'](_0x813bdd),'revision':0x0,'userID':_0x5f3e64,'memberID':_0x258ebd,'mutations':_0x5914e0},'pendingMutations':[]};}function Ot(_0xdc3d82,_0x1fe7b1){var _0x14e5b0=_0x17863a;const _0x3159f0=new B[(_0x14e5b0(0x2ee))](0x1);return setTimeout(()=>_0x3159f0[_0x14e5b0(0x2ed)](_0x1fe7b1),_0xdc3d82),_0x3159f0[_0x14e5b0(0x314)]()[_0x14e5b0(0x457)](B['take'](0x1));}const bi={'id':W[_0x17863a(0x347)]['id'],'type':a[_0x17863a(0x230)][_0x17863a(0x3fb)],'params':{}};var Ri=Object['defineProperty'],yi=Object[_0x17863a(0x381)],le=(_0x173ba7,_0x3e3486,_0x2aaa22,_0x1fecc0)=>{var _0x50a17a=_0x17863a;for(var _0x449143=_0x1fecc0>0x1?void 0x0:_0x1fecc0?yi(_0x3e3486,_0x2aaa22):_0x3e3486,_0x3323b0=_0x173ba7[_0x50a17a(0x291)]-0x1,_0x1bdd37;_0x3323b0>=0x0;_0x3323b0--)(_0x1bdd37=_0x173ba7[_0x3323b0])&&(_0x449143=(_0x1fecc0?_0x1bdd37(_0x3e3486,_0x2aaa22,_0x449143):_0x1bdd37(_0x449143))||_0x449143);return _0x1fecc0&&_0x449143&&Ri(_0x3e3486,_0x2aaa22,_0x449143),_0x449143;},A=(_0x347251,_0xb72f16)=>(_0x247605,_0x284482)=>_0xb72f16(_0x247605,_0x284482,_0x347251),We=(_0x5ef871=>(_0x5ef871[_0x17863a(0x3ae)]='not_collab',_0x5ef871[_0x17863a(0x2f2)]=_0x17863a(0x1ee),_0x5ef871['PENDING']=_0x17863a(0x3dd),_0x5ef871[_0x17863a(0x393)]=_0x17863a(0x22a),_0x5ef871['AWAITING_WITH_PENDING']=_0x17863a(0x4ad),_0x5ef871[_0x17863a(0x322)]=_0x17863a(0x1fd),_0x5ef871[_0x17863a(0x485)]='conflict',_0x5ef871['OFFLINE']=_0x17863a(0x3a5),_0x5ef871))(We||{});const Pt=0xea60;class _e{constructor(_0x1e74ad,_0x555aac,_0x219cf5,_0x46a07e,_0x3a2a99,_0x26b01e,_0x4f44b1,_0x3be39e,_0x5e59e7){var _0x113b64=_0x17863a;w(this,'_awaitingChangeset',null),w(this,_0x113b64(0x46d),[]),(this[_0x113b64(0x418)]=_0x1e74ad,this[_0x113b64(0x21d)]=_0x555aac,this[_0x113b64(0x203)]=_0x3a2a99,this['_commandService']=_0x26b01e,this['_undoRedoService']=_0x4f44b1,this[_0x113b64(0x493)]=_0x3be39e,this[_0x113b64(0x194)]=_0x5e59e7,this[_0x113b64(0x2a7)]=_0x219cf5,this[_0x113b64(0x46d)]=_0x46a07e);}[_0x17863a(0x49e)](_0x39a35b){var _0x14fb5f=_0x17863a;const _0x22bf86=this[_0x14fb5f(0x493)][_0x14fb5f(0x2b2)](this['unitID']);return _0x39a35b[_0x14fb5f(0x2ae)]>_0x22bf86+0x1?(this[_0x14fb5f(0x203)]['onMissingChangesets']({'from':_0x22bf86,'to':_0x39a35b['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1e4d8a){var _0x4616e0=_0x17863a;this[_0x4616e0(0x23f)][_0x4616e0(0x2ce)](this['unitID'],_0x1e4d8a);}[_0x17863a(0x3a4)](_0xaf8595){var _0xba7140=_0x17863a,_0x48f0d0,_0x265dd0;(_0x265dd0=(_0x48f0d0=this[_0xba7140(0x203)])[_0xba7140(0x4b1)])==null||_0x265dd0[_0xba7140(0x243)](_0x48f0d0,_0xaf8595);}[_0x17863a(0x437)](_0x149cb4){var _0x357146=_0x17863a,_0x1de06c,_0x53e0c8;return(_0x53e0c8=(_0x1de06c=this['_handler'])[_0x357146(0x47d)])==null?void 0x0:_0x53e0c8['call'](_0x1de06c,_0x149cb4);}['_transformStateCache'](_0x1a4c55){var _0x4339a2=_0x17863a,_0x2a3fa2,_0x57093c;return(_0x57093c=(_0x2a3fa2=this[_0x4339a2(0x203)])[_0x4339a2(0x3ad)])==null?void 0x0:_0x57093c[_0x4339a2(0x243)](_0x2a3fa2,_0x1a4c55);}[_0x17863a(0x2b3)](_0x48b656){var _0x1251b1=_0x17863a,_0x293559,_0x566353,_0x45840a;return(_0x45840a=(_0x566353=(_0x293559=this[_0x1251b1(0x203)])[_0x1251b1(0x242)])==null?void 0x0:_0x566353[_0x1251b1(0x243)](_0x293559,_0x48b656))!=null?_0x45840a:_0x48b656;}['_transformRemoteChangesetByStateCache'](_0x732fad){var _0x1d470a,_0x14d99e,_0x26068a;return(_0x26068a=(_0x14d99e=(_0x1d470a=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x14d99e['call'](_0x1d470a,_0x732fad))!=null?_0x26068a:_0x732fad;}[_0x17863a(0x22e)](_0x1a3076){var _0x117eb4=_0x17863a,_0x271937,_0x3067a2;if(this['type']===Z[_0x117eb4(0x1d4)]){const {unitID:_0xd3e35e,mutations:_0x27c50f,memberID:_0x189a36}=_0x1a3076,_0x48f4f0=_0x27c50f[0x0]['params'][_0x117eb4(0x4ff)];Array[_0x117eb4(0x35a)](_0x48f4f0)&&_0x48f4f0[_0x117eb4(0x291)]>0x0&&((_0x3067a2=(_0x271937=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x3067a2['call'](_0x271937,{'unitID':_0xd3e35e,'memberID':_0x189a36,'textRanges':_0x48f4f0}));}}['_updateLocalCache'](){var _0xe1e8bb=_0x17863a,_0x4063d6;(_0x4063d6=this[_0xe1e8bb(0x194)])==null||_0x4063d6[_0xe1e8bb(0x41a)](this[_0xe1e8bb(0x418)],this[_0xe1e8bb(0x21d)],this[_0xe1e8bb(0x2a7)],this['_pendingMutations']);}[_0x17863a(0x1a9)](){var _0x1951f5=_0x17863a;return this[_0x1951f5(0x493)]['getCurrentRevOfUnit'](this['unitID']);}['_incrementRevisionNumber'](){var _0x4f2121=_0x17863a;this[_0x4f2121(0x493)]['incrementRevOfUnit'](this['unitID']);}[_0x17863a(0x3c6)](_0x36d614){var _0x189738=_0x17863a,_0x24bde0;let _0xc5a56e=this[_0x189738(0x2b3)](_0x36d614);_0xc5a56e=this[_0x189738(0x342)](_0xc5a56e);const _0x40f148=a[_0x189738(0x4a4)](_0xc5a56e[_0x189738(0x221)],this['_commandService'],{'fromCollab':!0x0});if(!_0x40f148[_0x189738(0x4c3)])throw _0x40f148['error']instanceof Error?_0x40f148[_0x189738(0x198)]:new Error((_0x24bde0=_0x40f148[_0x189738(0x198)])!=null?_0x24bde0:_0x189738(0x23e));this[_0x189738(0x437)](_0xc5a56e),this['_transformStateCache'](_0xc5a56e),this['_transformUndoredo'](_0x36d614),this[_0x189738(0x3a4)](_0xc5a56e),this['_syncEditingCollabCursor'](_0xc5a56e),this[_0x189738(0x278)]();}}exports[_0x17863a(0x3f5)]=class extends _e{constructor(_0x1c442c,_0x4f4658,_0x560f50,_0x1557ba,_0x5a8cc4,_0xa58620,_0x5318ea,_0x1fab2f,_0x566cc3,_0x4db99f){var _0xaa8d2f=_0x17863a;super(_0x1c442c,_0x4f4658,null,[],_0x560f50,_0x5318ea,_0xa58620,_0x1557ba,_0x4db99f),w(this,_0xaa8d2f(0x422),_0xaa8d2f(0x1ee)),(this[_0xaa8d2f(0x3f8)]=_0x5a8cc4,this[_0xaa8d2f(0x3df)]=_0x1fab2f,this[_0xaa8d2f(0x245)]=_0x566cc3,this['localCacheService']=_0x4db99f);}[_0x17863a(0x2ec)](_0x5439f4){var _0x458788=_0x17863a;const _0x3e10e0=this[_0x458788(0x3f8)][_0x458788(0x35e)](exports['PendingState'],this[_0x458788(0x418)],this[_0x458788(0x21d)],[_0x5439f4],this['_handler']);return _0x3e10e0['_schedule'](),_0x3e10e0[_0x458788(0x4fe)](),_0x3e10e0;}[_0x17863a(0x1fc)](_0x3186ef){var _0x126c40=_0x17863a;if(this['_checkMissing'](_0x3186ef))return this[_0x126c40(0x3f8)][_0x126c40(0x35e)](exports['FetchingMissState'],this[_0x126c40(0x418)],this[_0x126c40(0x21d)],null,[],null,[_0x3186ef],this[_0x126c40(0x203)]);try{const _0x3e2faa=this[_0x126c40(0x245)][_0x126c40(0x43b)](_0x3186ef,[bi]);if(m[_0x126c40(0x216)](_0x3e2faa)){const {c1Prime:_0x5245a2}=_0x3e2faa;return this[_0x126c40(0x3c6)](_0x5245a2),this;}throw _0x3e2faa[_0x126c40(0x198)];}catch(_0x3d6682){return this[_0x126c40(0x3df)][_0x126c40(0x198)](_0x3d6682),this[_0x126c40(0x1d3)](!0x1);}}[_0x17863a(0x1d3)](_0x2ae9eb){var _0x26655c=_0x17863a;return this[_0x26655c(0x3f8)][_0x26655c(0x35e)](exports[_0x26655c(0x468)],this[_0x26655c(0x418)],this[_0x26655c(0x21d)],null,[],this[_0x26655c(0x203)],_0x2ae9eb);}[_0x17863a(0x43a)](){var _0xdc24b2=_0x17863a;throw new Error(_0xdc24b2(0x3e3));}[_0x17863a(0x36a)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x17863a(0x4b6)](){var _0x5954ab=_0x17863a;return this['_injector'][_0x5954ab(0x35e)](exports[_0x5954ab(0x247)],this[_0x5954ab(0x418)],this['type'],null,[],this[_0x5954ab(0x203)]);}['toggleOnline'](){return this;}[_0x17863a(0x36d)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x17863a(0x311)](){var _0x5b8c3d=_0x17863a;const _0x3666c4=this[_0x5b8c3d(0x493)]['getCurrentRevOfUnit'](this[_0x5b8c3d(0x418)]);return this[_0x5b8c3d(0x203)][_0x5b8c3d(0x354)]({'from':_0x3666c4,'to':0x0}),this[_0x5b8c3d(0x3f8)]['createInstance'](exports[_0x5b8c3d(0x1e0)],this[_0x5b8c3d(0x418)],this['type'],null,[],null,[],this[_0x5b8c3d(0x203)]);}},exports[_0x17863a(0x3f5)]=le([A(0x3,a[_0x17863a(0x45c)](m[_0x17863a(0x380)])),A(0x4,a[_0x17863a(0x45c)](a['Injector'])),A(0x5,a[_0x17863a(0x3b1)]),A(0x6,a['ICommandService']),A(0x7,a[_0x17863a(0x4fa)]),A(0x8,m['ITransformService']),A(0x9,a[_0x17863a(0x23d)](J))],exports[_0x17863a(0x3f5)]),exports[_0x17863a(0x24e)]=class extends _e{constructor(_0x2954aa,_0xb07083,_0x33d169,_0x28e8df,_0x456fdb,_0x18367f,_0x2acab1,_0x59a2f6,_0x123d55,_0x17c07f,_0x3c68e6,_0x4c7319,_0x43c9ed,_0x250185){var _0x576411=_0x17863a;super(_0x2954aa,_0xb07083,null,_0x33d169,_0x28e8df,_0x123d55,_0x43c9ed,_0x18367f,_0x250185),w(this,'status',_0x576411(0x3dd)),w(this,'_scheduleTimestamp',null),w(this,_0x576411(0x323),null),(this[_0x576411(0x3f8)]=_0x456fdb,this['_memberService']=_0x2acab1,this['_logService']=_0x59a2f6,this['_configService']=_0x17c07f,this[_0x576411(0x245)]=_0x3c68e6,this[_0x576411(0x3a6)]=_0x4c7319);}[_0x17863a(0x2ec)](_0x344399){var _0x5c0604=_0x17863a;return this[_0x5c0604(0x46d)][_0x5c0604(0x327)](_0x344399),this['_updateLocalCache'](),this;}[_0x17863a(0x1fc)](_0x210c4e){var _0x2431d1=_0x17863a;if(this['_checkMissing'](_0x210c4e))return this[_0x2431d1(0x462)](),this['_injector'][_0x2431d1(0x35e)](exports[_0x2431d1(0x1e0)],this[_0x2431d1(0x418)],this['type'],null,this[_0x2431d1(0x46d)],null,[_0x210c4e],this[_0x2431d1(0x203)]);try{const _0x2dab15=this[_0x2431d1(0x245)]['transformMutationsWithChangeset'](_0x210c4e,this[_0x2431d1(0x46d)]);if(m[_0x2431d1(0x216)](_0x2dab15)){const {c1Prime:_0x5c6994,m2Prime:_0xe04807}=_0x2dab15;this['_executeRemoteChangeset'](_0x5c6994);const _0x2ba18d=this[_0x2431d1(0x3f8)][_0x2431d1(0x35e)](exports[_0x2431d1(0x24e)],this[_0x2431d1(0x418)],this[_0x2431d1(0x21d)],_0xe04807,this[_0x2431d1(0x203)]);return this[_0x2431d1(0x462)](),_0x2ba18d['_schedule'](this['_scheduleTimestamp']?Math[_0x2431d1(0x399)](0x0,new Date()[_0x2431d1(0x45e)]()-this[_0x2431d1(0x4b8)]):this[_0x2431d1(0x1b4)]()),_0x2ba18d;}throw _0x2dab15['error'];}catch(_0x157dbb){return this[_0x2431d1(0x3df)][_0x2431d1(0x198)](_0x157dbb),this[_0x2431d1(0x1d3)](!0x1);}}['onRemoteAck'](){var _0x1da040=_0x17863a;throw new Error(_0x1da040(0x374));}[_0x17863a(0x36a)](){var _0x1aec2e=_0x17863a;throw new Error(_0x1aec2e(0x501));}[_0x17863a(0x30f)](){return this;}['toggleOffline'](){var _0x3319d3=_0x17863a;return this[_0x3319d3(0x462)](),this['_injector'][_0x3319d3(0x35e)](exports[_0x3319d3(0x247)],this[_0x3319d3(0x418)],this[_0x3319d3(0x21d)],null,this[_0x3319d3(0x46d)],this[_0x3319d3(0x203)]);}[_0x17863a(0x289)](){return this;}[_0x17863a(0x1a4)](_0x1b61d6){var _0x7c4692=_0x17863a;const _0x2480af=_0x1b61d6!=null?_0x1b61d6:this['_getSendChangesetTimeout']();this[_0x7c4692(0x4b8)]=new Date()[_0x7c4692(0x45e)](),this[_0x7c4692(0x323)]=setTimeout(()=>{var _0x5c8aa3=_0x7c4692;this['_clearScheduledTask']();let _0x261f40=null;switch(this['type']){case Z[_0x5c8aa3(0x309)]:{_0x261f40=ze(this[_0x5c8aa3(0x46d)],this['unitID'],this['_univerInstanceService'],this[_0x5c8aa3(0x493)],this[_0x5c8aa3(0x344)]);break;}case Z[_0x5c8aa3(0x1d4)]:{this[_0x5c8aa3(0x46d)][_0x5c8aa3(0x238)](_0x43b2a2=>_0x43b2a2['id']===ut[_0x5c8aa3(0x4fb)]['id'])?_0x261f40=Ti(this['_pendingMutations'],this[_0x5c8aa3(0x418)],this[_0x5c8aa3(0x3a6)],this[_0x5c8aa3(0x493)],this[_0x5c8aa3(0x344)]):_0x261f40=ze(this[_0x5c8aa3(0x46d)],this[_0x5c8aa3(0x418)],this[_0x5c8aa3(0x3a6)],this[_0x5c8aa3(0x493)],this[_0x5c8aa3(0x344)]);break;}default:throw new Error(_0x5c8aa3(0x4e1)+this[_0x5c8aa3(0x21d)]+_0x5c8aa3(0x4dd));}const {changeset:_0x5f2363,pendingMutations:_0x3a3bfc}=_0x261f40;this[_0x5c8aa3(0x203)][_0x5c8aa3(0x2eb)](_0x5f2363);const _0x1a465e=_0x3a3bfc['length']?this[_0x5c8aa3(0x3f8)]['createInstance'](exports['AwaitingWithPendingState'],this['unitID'],this[_0x5c8aa3(0x21d)],_0x5f2363,_0x3a3bfc,this[_0x5c8aa3(0x203)],void 0x0):this[_0x5c8aa3(0x3f8)][_0x5c8aa3(0x35e)](exports[_0x5c8aa3(0x1af)],this[_0x5c8aa3(0x418)],this[_0x5c8aa3(0x21d)],_0x5f2363,this['_handler']);_0x1a465e['_updateLocalCache'](),this[_0x5c8aa3(0x203)]['onStateChange'](this,_0x1a465e);},_0x2480af);}['_getSendChangesetTimeout'](){var _0x2a0b52=_0x17863a,_0x2eea44;const _0x5a1bcf=this[_0x2a0b52(0x483)][_0x2a0b52(0x17d)](q);return(_0x2eea44=_0x5a1bcf==null?void 0x0:_0x5a1bcf[_0x2a0b52(0x4da)])!=null?_0x2eea44:kt;}['resend'](){var _0x36802d=_0x17863a;throw new Error(_0x36802d(0x1bd));}[_0x17863a(0x462)](){var _0x5474aa=_0x17863a;this['_sendingTimer']!=null&&(clearTimeout(this[_0x5474aa(0x323)]),this[_0x5474aa(0x323)]=null);}[_0x17863a(0x1d3)](_0x1ef1c9){var _0x31f736=_0x17863a;return this['_clearScheduledTask'](),this[_0x31f736(0x3f8)][_0x31f736(0x35e)](exports['ConflictState'],this['unitID'],this[_0x31f736(0x21d)],null,this[_0x31f736(0x46d)],this[_0x31f736(0x203)],_0x1ef1c9);}},exports[_0x17863a(0x24e)]=le([A(0x4,a[_0x17863a(0x45c)](a[_0x17863a(0x470)])),A(0x5,a[_0x17863a(0x45c)](m['RevisionService'])),A(0x6,a['Inject'](exports[_0x17863a(0x283)])),A(0x7,a[_0x17863a(0x4fa)]),A(0x8,a[_0x17863a(0x204)]),A(0x9,a[_0x17863a(0x29c)]),A(0xa,m['ITransformService']),A(0xb,a[_0x17863a(0x1ba)]),A(0xc,a[_0x17863a(0x3b1)]),A(0xd,a[_0x17863a(0x23d)](J))],exports[_0x17863a(0x24e)]),exports['AwaitingState']=class extends _e{constructor(_0x421503,_0x5f2214,_0x37c532,_0x779ab3,_0x2fe820,_0x2dc809,_0x374796,_0x5bd77d,_0x23eb0f,_0x42d628,_0x584a70){var _0x35df10=_0x17863a;super(_0x421503,_0x5f2214,_0x37c532,[],_0x779ab3,_0x374796,_0x42d628,_0x2dc809,_0x584a70),w(this,_0x35df10(0x422),'awaiting'),w(this,_0x35df10(0x217),0x0),w(this,'_resendTimer'),w(this,'_sender'),(this[_0x35df10(0x3f8)]=_0x2fe820,this['_logService']=_0x5bd77d,this['_transformService']=_0x23eb0f);}['appendMutation'](_0x2d709c){var _0x154bde=_0x17863a;this[_0x154bde(0x462)]();const _0x544d92=this[_0x154bde(0x3f8)][_0x154bde(0x35e)](exports['AwaitingWithPendingState'],this[_0x154bde(0x418)],this[_0x154bde(0x21d)],this[_0x154bde(0x2a7)],[_0x2d709c],this['_handler'],this[_0x154bde(0x1ca)]);return _0x544d92[_0x154bde(0x4fe)](),_0x544d92;}[_0x17863a(0x1fc)](_0x158bb7){var _0x114afb=_0x17863a;if(this[_0x114afb(0x49e)](_0x158bb7))return this[_0x114afb(0x462)](),this[_0x114afb(0x3f8)][_0x114afb(0x35e)](exports[_0x114afb(0x1e0)],this[_0x114afb(0x418)],this[_0x114afb(0x21d)],this[_0x114afb(0x2a7)],[],null,[_0x158bb7],this[_0x114afb(0x203)]);try{const _0x574b28=this[_0x114afb(0x245)][_0x114afb(0x379)]([_0x158bb7],[this['_awaitingChangeset']],!0x1);if(m[_0x114afb(0x458)](_0x574b28)){const {c1Prime:_0xe3627,c2Prime:_0xef301d}=_0x574b28;this['_executeRemoteChangeset'](_0xe3627[0x0]),_0xef301d[0x0]['baseRev']=this[_0x114afb(0x1a9)](),this[_0x114afb(0x462)]();const _0x4606c3=this[_0x114afb(0x3f8)][_0x114afb(0x35e)](exports[_0x114afb(0x1af)],this['unitID'],this[_0x114afb(0x21d)],_0xef301d[0x0],this[_0x114afb(0x203)]);return _0x4606c3['_updateLocalCache'](),_0x4606c3;}return this[_0x114afb(0x1d3)](!0x1);}catch(_0x24ecca){return this['_logService']['error'](_0x24ecca),this[_0x114afb(0x1d3)](!0x1);}}[_0x17863a(0x43a)](_0x20e64d){var _0x58f493=_0x17863a;this[_0x58f493(0x462)]();const _0xfcc812=this[_0x58f493(0x493)][_0x58f493(0x2b2)](this['unitID']);if(_0x20e64d[_0x58f493(0x2ae)]<_0xfcc812-0x1)return this;if(this[_0x58f493(0x49e)](_0x20e64d))return this[_0x58f493(0x3f8)][_0x58f493(0x35e)](exports[_0x58f493(0x1e0)],this[_0x58f493(0x418)],this[_0x58f493(0x21d)],null,[],this['_awaitingChangeset'],[],this[_0x58f493(0x203)]);this[_0x58f493(0x278)]();const _0x4e163f=this[_0x58f493(0x3f8)]['createInstance'](exports[_0x58f493(0x3f5)],this[_0x58f493(0x418)],this[_0x58f493(0x21d)],this['_handler']);return _0x4e163f[_0x58f493(0x4fe)](),_0x4e163f;}['onRemoteRej'](_0x460a52){var _0x1bd960=_0x17863a;return this[_0x1bd960(0x1d3)](!!(_0x460a52!=null&&_0x460a52[_0x1bd960(0x4fd)]));}['onRemoteRetry'](_0x771165){var _0x562601=_0x17863a;return this[_0x562601(0x217)]>Pt?this[_0x562601(0x4b6)]():(this[_0x562601(0x1ca)]=Ot(this[_0x562601(0x217)],{'timeout':this[_0x562601(0x217)],'reqId':_0x771165['reqId']}),this[_0x562601(0x2ac)]=this[_0x562601(0x1ca)][_0x562601(0x3b0)](({reqId:_0x1730a5,timeout:_0x2e1fe9})=>{var _0xd5d4fd=_0x562601;this[_0xd5d4fd(0x382)](_0x1730a5,_0x2e1fe9);}),this);}['toggleOffline'](){var _0x14c8f3=_0x17863a;return this[_0x14c8f3(0x462)](),this[_0x14c8f3(0x3f8)][_0x14c8f3(0x35e)](exports['OfflineState'],this['unitID'],this[_0x14c8f3(0x21d)],this[_0x14c8f3(0x2a7)],[],this[_0x14c8f3(0x203)]);}[_0x17863a(0x289)](){return this;}[_0x17863a(0x36d)](){var _0x258883=_0x17863a;this[_0x258883(0x203)][_0x258883(0x2eb)](this[_0x258883(0x2a7)]);}[_0x17863a(0x1d3)](_0xc4205b){var _0x3bef7a=_0x17863a;return this[_0x3bef7a(0x462)](),this[_0x3bef7a(0x3f8)]['createInstance'](exports[_0x3bef7a(0x468)],this[_0x3bef7a(0x418)],this['type'],this[_0x3bef7a(0x2a7)],[],this[_0x3bef7a(0x203)],_0xc4205b);}[_0x17863a(0x382)](_0x26f630,_0x30dcda){var _0x3d0aa7=_0x17863a,_0x3fe8e8;_0x26f630===((_0x3fe8e8=this[_0x3d0aa7(0x2a7)])==null?void 0x0:_0x3fe8e8[_0x3d0aa7(0x402)])&&(this['resend'](),this[_0x3d0aa7(0x217)]=_0x30dcda===0x0?0x3e8:_0x30dcda*0x2);}[_0x17863a(0x462)](){var _0x4e34cc=_0x17863a,_0x3bc8b0;(_0x3bc8b0=this[_0x4e34cc(0x2ac)])==null||_0x3bc8b0[_0x4e34cc(0x205)](),this[_0x4e34cc(0x217)]=0x0;}},exports[_0x17863a(0x1af)]=le([A(0x4,a[_0x17863a(0x45c)](a[_0x17863a(0x470)])),A(0x5,a[_0x17863a(0x45c)](m['RevisionService'])),A(0x6,a[_0x17863a(0x204)]),A(0x7,a['ILogService']),A(0x8,m['ITransformService']),A(0x9,a[_0x17863a(0x3b1)]),A(0xa,a[_0x17863a(0x23d)](J))],exports[_0x17863a(0x1af)]),exports[_0x17863a(0x3d3)]=class extends _e{constructor(_0x12185c,_0x3484a8,_0x2ff212,_0x1931af,_0x400d5a,_0x425d0b,_0x582b12,_0x404a1f,_0x341ae9,_0xdf911a,_0x446d30,_0x4d2e4b,_0x3972b5){var _0x3079e5=_0x17863a;super(_0x12185c,_0x3484a8,_0x2ff212,_0x1931af,_0x400d5a,_0x341ae9,_0x4d2e4b,_0x404a1f,_0x3972b5),w(this,_0x3079e5(0x422),_0x3079e5(0x4ad)),w(this,'_resendTimeout',0x0),w(this,_0x3079e5(0x1ca)),w(this,_0x3079e5(0x2ac)),(this[_0x3079e5(0x3f8)]=_0x582b12,this[_0x3079e5(0x3df)]=_0xdf911a,this[_0x3079e5(0x245)]=_0x446d30,this['localCacheService']=_0x3972b5,_0x425d0b&&(this[_0x3079e5(0x1ca)]=_0x425d0b,this[_0x3079e5(0x2ac)]=this[_0x3079e5(0x1ca)][_0x3079e5(0x3b0)](({reqId:_0x3775e8,timeout:_0x36541c})=>{var _0x3bd701=_0x3079e5;this[_0x3bd701(0x382)](_0x3775e8,_0x36541c);})));}[_0x17863a(0x2ec)](_0x49c92b){var _0x16f1bb=_0x17863a;return this[_0x16f1bb(0x46d)][_0x16f1bb(0x327)](_0x49c92b),this;}[_0x17863a(0x1fc)](_0x40cf34){var _0x161cbb=_0x17863a;if(this[_0x161cbb(0x49e)](_0x40cf34))return this[_0x161cbb(0x462)](),this[_0x161cbb(0x3f8)][_0x161cbb(0x35e)](exports[_0x161cbb(0x1e0)],this[_0x161cbb(0x418)],this['type'],this[_0x161cbb(0x2a7)],this['_pendingMutations'],null,[_0x40cf34],this[_0x161cbb(0x203)]);try{const _0xabfd5d=this[_0x161cbb(0x245)][_0x161cbb(0x379)]([_0x40cf34],[this[_0x161cbb(0x2a7)]],!0x1);if(m[_0x161cbb(0x458)](_0xabfd5d)){const {c1Prime:_0x1fdc7a,c2Prime:_0x5a57d8}=_0xabfd5d,_0x14779e=this[_0x161cbb(0x245)][_0x161cbb(0x43b)](_0x1fdc7a[0x0],this['_pendingMutations']);if(m[_0x161cbb(0x216)](_0x14779e)){const {c1Prime:_0x23723b,m2Prime:_0x3fd99a}=_0x14779e;return this[_0x161cbb(0x3c6)](_0x23723b),_0x5a57d8[0x0][_0x161cbb(0x2c2)]=this['_getCurrentRevision'](),this[_0x161cbb(0x462)](),this[_0x161cbb(0x3f8)][_0x161cbb(0x35e)](exports[_0x161cbb(0x3d3)],this[_0x161cbb(0x418)],this[_0x161cbb(0x21d)],_0x5a57d8[0x0],_0x3fd99a,this[_0x161cbb(0x203)],void 0x0);}throw _0x14779e['error'];}throw _0xabfd5d['error'];}catch(_0xfbaf4){return this[_0x161cbb(0x3df)]['error'](_0xfbaf4),this['_onConflict'](!0x1);}}[_0x17863a(0x43a)](_0x16c491){var _0x198a6d=_0x17863a;if(this['_clearScheduledTask'](),this[_0x198a6d(0x49e)](_0x16c491))return this[_0x198a6d(0x3f8)][_0x198a6d(0x35e)](exports[_0x198a6d(0x1e0)],this[_0x198a6d(0x418)],this[_0x198a6d(0x21d)],null,this[_0x198a6d(0x46d)],this[_0x198a6d(0x2a7)],[],this[_0x198a6d(0x203)]);this[_0x198a6d(0x278)]();const _0x524be0=this[_0x198a6d(0x3f8)][_0x198a6d(0x35e)](exports[_0x198a6d(0x24e)],this['unitID'],this[_0x198a6d(0x21d)],this[_0x198a6d(0x46d)],this[_0x198a6d(0x203)]);return _0x524be0[_0x198a6d(0x1a4)](),_0x524be0[_0x198a6d(0x4fe)](),_0x524be0;}[_0x17863a(0x36a)](_0x10a1f8){var _0x427fdc=_0x17863a;return this[_0x427fdc(0x1d3)](!!(_0x10a1f8!=null&&_0x10a1f8[_0x427fdc(0x4fd)]));}[_0x17863a(0x30f)](_0xd5b2f1){var _0x3b2d8c=_0x17863a;return this['_resendTimeout']>Pt?this['toggleOffline']():(this['_resendTimer']=Ot(this[_0x3b2d8c(0x217)],{'timeout':this[_0x3b2d8c(0x217)],'reqId':_0xd5b2f1[_0x3b2d8c(0x402)]}),this['_sender']=this[_0x3b2d8c(0x1ca)][_0x3b2d8c(0x3b0)](({reqId:_0x314a57,timeout:_0xe05785})=>{var _0x3205f1=_0x3b2d8c;this[_0x3205f1(0x382)](_0x314a57,_0xe05785);}),this);}[_0x17863a(0x4b6)](){var _0x45d291=_0x17863a;return this[_0x45d291(0x462)](),this[_0x45d291(0x3f8)][_0x45d291(0x35e)](exports[_0x45d291(0x247)],this[_0x45d291(0x418)],this['type'],this[_0x45d291(0x2a7)],this['_pendingMutations'],this[_0x45d291(0x203)]);}[_0x17863a(0x289)](){return this;}[_0x17863a(0x36d)](){var _0x873462=_0x17863a;this[_0x873462(0x203)][_0x873462(0x2eb)](this['_awaitingChangeset']);}['_onConflict'](_0x4ed1aa){var _0x24cb94=_0x17863a;return this[_0x24cb94(0x462)](),this[_0x24cb94(0x3f8)][_0x24cb94(0x35e)](exports[_0x24cb94(0x468)],this[_0x24cb94(0x418)],this[_0x24cb94(0x21d)],null,this[_0x24cb94(0x46d)],this[_0x24cb94(0x203)],_0x4ed1aa);}[_0x17863a(0x382)](_0x3e76c6,_0x38ae8a){var _0x19ecf6=_0x17863a,_0x55dd23;_0x3e76c6===((_0x55dd23=this[_0x19ecf6(0x2a7)])==null?void 0x0:_0x55dd23[_0x19ecf6(0x402)])&&(this[_0x19ecf6(0x36d)](),this[_0x19ecf6(0x217)]=_0x38ae8a===0x0?0x3e8:_0x38ae8a*0x2);}[_0x17863a(0x462)](){var _0x321e39=_0x17863a,_0xdc834e;(_0xdc834e=this['_sender'])==null||_0xdc834e['unsubscribe'](),this[_0x321e39(0x217)]=0x0;}},exports['AwaitingWithPendingState']=le([A(0x6,a[_0x17863a(0x45c)](a[_0x17863a(0x470)])),A(0x7,a['Inject'](m[_0x17863a(0x380)])),A(0x8,a[_0x17863a(0x204)]),A(0x9,a['ILogService']),A(0xa,m['ITransformService']),A(0xb,a[_0x17863a(0x3b1)]),A(0xc,a['Optional'](J))],exports[_0x17863a(0x3d3)]),exports[_0x17863a(0x468)]=class extends _e{constructor(_0x5a80bd,_0x4cb21a,_0x35c7b4,_0x1ee715,_0x3084ce,_0x29c5ab=!0x1,_0xe25f05,_0x330e79,_0x1e4424,_0x58c616,_0x141d44,_0x4ed58b,_0x647ade){var _0x3f3411=_0x17863a;super(_0x5a80bd,_0x4cb21a,_0x35c7b4,_0x1ee715,_0x3084ce,_0x330e79,_0x1e4424,_0x58c616,_0x647ade),w(this,_0x3f3411(0x422),'conflict'),(this[_0x3f3411(0x2ad)]=_0x29c5ab,this[_0x3f3411(0x414)]=_0xe25f05,this[_0x3f3411(0x312)]=_0x141d44,this[_0x3f3411(0x431)]=_0x4ed58b,this[_0x3f3411(0x2a4)]=_0x647ade,this[_0x3f3411(0x2f6)](),this['_clearLocalCache'](),this[_0x3f3411(0x4cc)]());}[_0x17863a(0x2ec)](){return this;}[_0x17863a(0x1fc)](){return this;}[_0x17863a(0x43a)](){return this;}['onRemoteRej'](){return this;}[_0x17863a(0x30f)](){return this;}['toggleOffline'](){return this;}[_0x17863a(0x289)](){return this;}[_0x17863a(0x36d)](){var _0x5c8164=_0x17863a;throw new Error(_0x5c8164(0x3ed));}[_0x17863a(0x489)](){var _0x52c9cb=_0x17863a,_0x4ef197;(_0x4ef197=this[_0x52c9cb(0x194)])==null||_0x4ef197[_0x52c9cb(0x41a)](this[_0x52c9cb(0x418)],this['type'],null,[]);}[_0x17863a(0x2f6)](){var _0x5ea2bb=_0x17863a;this[_0x5ea2bb(0x2ad)]?this[_0x5ea2bb(0x431)][_0x5ea2bb(0x410)]({'id':Q[_0x5ea2bb(0x2e0)]}):this['_collaborationUIEventService'][_0x5ea2bb(0x410)]({'id':Q[_0x5ea2bb(0x485)]});}['_disableEditing'](){var _0x22a29e=_0x17863a;this[_0x22a29e(0x414)][_0x22a29e(0x1f6)](new W[(_0x22a29e(0x3b2))](this[_0x22a29e(0x418)])['id'],!0x1);}},exports[_0x17863a(0x468)]=le([A(0x6,a['Inject'](a[_0x17863a(0x4f1)])),A(0x7,a[_0x17863a(0x204)]),A(0x8,a[_0x17863a(0x3b1)]),A(0x9,a[_0x17863a(0x45c)](m[_0x17863a(0x380)])),A(0xa,a[_0x17863a(0x45c)](a[_0x17863a(0x411)])),A(0xb,a[_0x17863a(0x45c)](te)),A(0xc,a[_0x17863a(0x23d)](J))],exports[_0x17863a(0x468)]),exports['OfflineState']=class extends _e{constructor(_0x5c0cbf,_0x4a5455,_0xd572d5,_0x202306,_0x2b9b45,_0x81a5f5,_0x543270,_0x4230b2,_0x373eb3,_0x5478e2){var _0x4329f7=_0x17863a;super(_0x5c0cbf,_0x4a5455,_0xd572d5,_0x202306,_0x2b9b45,_0x4230b2,_0x373eb3,_0x543270,_0x5478e2),w(this,_0x4329f7(0x422),'offline'),this[_0x4329f7(0x3f8)]=_0x81a5f5;}[_0x17863a(0x2ec)](_0x3487b2){var _0x2a5d64=_0x17863a;return this[_0x2a5d64(0x46d)]['push'](_0x3487b2),this['_updateLocalCache'](),this;}[_0x17863a(0x1fc)](_0x1254bf){var _0x48da70=_0x17863a;throw new Error(_0x48da70(0x3a8));}[_0x17863a(0x43a)](){var _0x1ab83d=_0x17863a;throw new Error(_0x1ab83d(0x388));}['onRemoteRej'](){var _0x4310ff=_0x17863a;throw new Error(_0x4310ff(0x29e));}[_0x17863a(0x30f)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x5adbf4=_0x17863a;const {_injector:_0x423cfc,_pendingMutations:_0x270421,_awaitingChangeset:_0x364c05,unitID:_0x603d93,_handler:_0x147f86,type:_0xfb59ed}=this,_0x5daf45=Ut(_0x423cfc,_0x603d93,_0xfb59ed,_0x364c05,_0x270421,_0x147f86);return _0x5daf45 instanceof exports[_0x5adbf4(0x24e)]?_0x5daf45[_0x5adbf4(0x1a4)]():(_0x5daf45 instanceof exports[_0x5adbf4(0x3d3)]||_0x5daf45 instanceof exports['AwaitingState'])&&_0x5daf45[_0x5adbf4(0x36d)](),_0x5daf45;}['resend'](){var _0x365cbe=_0x17863a;throw new Error(_0x365cbe(0x1e9));}},exports[_0x17863a(0x247)]=le([A(0x5,a[_0x17863a(0x45c)](a[_0x17863a(0x470)])),A(0x6,a[_0x17863a(0x45c)](m['RevisionService'])),A(0x7,a[_0x17863a(0x204)]),A(0x8,a[_0x17863a(0x3b1)]),A(0x9,a[_0x17863a(0x23d)](J))],exports['OfflineState']),exports[_0x17863a(0x1e0)]=class extends _e{constructor(_0x10c5c5,_0x9bc745,_0x1d4470,_0x2179ef,_0x1f7e77,_0x458155,_0x12bb13,_0x31a251,_0x31fd26,_0x4bc387,_0x3ea395,_0x422795,_0x8cfd93,_0x422583){var _0x306ca5=_0x17863a;super(_0x10c5c5,_0x9bc745,_0x1d4470,_0x2179ef,_0x12bb13,_0x3ea395,_0x422795,_0x31fd26,_0x422583),w(this,_0x306ca5(0x422),'fetch_missing'),(this[_0x306ca5(0x284)]=_0x1f7e77,this['_queuedRemoteChangesets']=_0x458155,this[_0x306ca5(0x3f8)]=_0x31a251,this[_0x306ca5(0x3df)]=_0x4bc387,this['_transformService']=_0x8cfd93,this[_0x306ca5(0x2a4)]=_0x422583);}[_0x17863a(0x21f)](_0x1743a1){var _0x290cc6=_0x17863a;try{const _0x56ab7f=[..._0x1743a1,...this['_queuedRemoteChangesets']],_0x166b93=[this[_0x290cc6(0x2a7)]||this[_0x290cc6(0x284)]]['filter'](_0x5a0552=>!!_0x5a0552);let _0x107db7,_0x30adcd;if(_0x166b93[_0x290cc6(0x291)]){const _0x123df3=this['_transformService'][_0x290cc6(0x379)](_0x56ab7f,_0x166b93,!0x1);if(!m[_0x290cc6(0x458)](_0x123df3))throw _0x123df3[_0x290cc6(0x198)];_0x107db7=_0x123df3[_0x290cc6(0x1e3)],_0x30adcd=_0x123df3[_0x290cc6(0x33d)];}else _0x107db7=_0x56ab7f,_0x30adcd=[];let _0x2415b8=this['_pendingMutations'];_0x107db7[_0x290cc6(0x209)](_0x3f3783=>{var _0x5363d7=_0x290cc6;let _0x4f90a2;if(_0x2415b8[_0x5363d7(0x291)]){const _0x2f99b1=this[_0x5363d7(0x245)][_0x5363d7(0x43b)](_0x3f3783,_0x2415b8);if(!m[_0x5363d7(0x216)](_0x2f99b1))throw _0x2f99b1['error'];_0x4f90a2=_0x2f99b1['c1Prime'],_0x2415b8=_0x2f99b1[_0x5363d7(0x2d4)];}else _0x4f90a2=_0x3f3783;this[_0x5363d7(0x3c6)](_0x4f90a2);}),this[_0x290cc6(0x284)]&&this['_incrementRevisionNumber'](),this[_0x290cc6(0x2a7)]&&_0x30adcd[_0x290cc6(0x291)]&&(_0x30adcd[0x0][_0x290cc6(0x2c2)]=this[_0x290cc6(0x1a9)]());let _0xe19d02;if(this['_awaitingChangeset']&&_0x2415b8[_0x290cc6(0x291)]!==0x0)_0xe19d02=this[_0x290cc6(0x3f8)][_0x290cc6(0x35e)](exports['AwaitingWithPendingState'],this[_0x290cc6(0x418)],this['type'],_0x30adcd[0x0],_0x2415b8,this['_handler'],void 0x0);else{if(this[_0x290cc6(0x2a7)]&&_0x2415b8['length']===0x0)_0x30adcd[0x0][_0x290cc6(0x2c2)]=this['_getCurrentRevision'](),_0xe19d02=this[_0x290cc6(0x3f8)][_0x290cc6(0x35e)](exports[_0x290cc6(0x1af)],this[_0x290cc6(0x418)],this[_0x290cc6(0x21d)],_0x30adcd[0x0],this[_0x290cc6(0x203)]);else{if(_0x2415b8['length']!==0x0){const _0x3bbcb0=this[_0x290cc6(0x3f8)][_0x290cc6(0x35e)](exports[_0x290cc6(0x24e)],this[_0x290cc6(0x418)],this['type'],_0x2415b8,this[_0x290cc6(0x203)]);_0x3bbcb0[_0x290cc6(0x1a4)](),_0xe19d02=_0x3bbcb0;}else _0xe19d02=this[_0x290cc6(0x3f8)][_0x290cc6(0x35e)](exports['SyncedState'],this[_0x290cc6(0x418)],this[_0x290cc6(0x21d)],this[_0x290cc6(0x203)]);}}return _0xe19d02[_0x290cc6(0x4fe)](),_0xe19d02;}catch(_0x493a10){return this[_0x290cc6(0x3df)][_0x290cc6(0x198)](_0x290cc6(0x348),_0x290cc6(0x2d1),_0x493a10),this[_0x290cc6(0x3f8)][_0x290cc6(0x35e)](exports[_0x290cc6(0x468)],this['unitID'],this[_0x290cc6(0x21d)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x290cc6(0x203)],!0x1);}}[_0x17863a(0x36d)](){var _0x38ddde=_0x17863a;throw new Error(_0x38ddde(0x39d));}['appendMutation'](_0x57cada){var _0x2093f5=_0x17863a;return this['_pendingMutations'][_0x2093f5(0x327)](_0x57cada),this;}['onRemoteChangeset'](_0x85d69a){var _0x4db039=_0x17863a;return this[_0x4db039(0x49c)][_0x4db039(0x327)](_0x85d69a),this;}[_0x17863a(0x43a)](_0xf1f188){var _0xa70ab2=_0x17863a;if(this['_awaitingChangeset'])return this[_0xa70ab2(0x284)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0xa70ab2(0x20a));}[_0x17863a(0x36a)](_0x580c7c){var _0x4a7f63=_0x17863a;return this[_0x4a7f63(0x1d3)](!!(_0x580c7c!=null&&_0x580c7c[_0x4a7f63(0x4fd)]));}[_0x17863a(0x30f)](){return this;}[_0x17863a(0x4b6)](){var _0x2151d6=_0x17863a;return this['_injector'][_0x2151d6(0x35e)](exports[_0x2151d6(0x247)],this[_0x2151d6(0x418)],this['type'],this[_0x2151d6(0x2a7)],this['_pendingMutations'],this['_handler']);}[_0x17863a(0x289)](){return this;}['_onConflict'](_0x3f808e){var _0x401262=_0x17863a;return this['_injector'][_0x401262(0x35e)](exports[_0x401262(0x468)],this[_0x401262(0x418)],this['type'],this['_awaitingChangeset'],this[_0x401262(0x46d)],this['_handler'],_0x3f808e);}},exports['FetchingMissState']=le([A(0x7,a[_0x17863a(0x45c)](a[_0x17863a(0x470)])),A(0x8,a[_0x17863a(0x45c)](m[_0x17863a(0x380)])),A(0x9,a[_0x17863a(0x4fa)]),A(0xa,a[_0x17863a(0x204)]),A(0xb,a[_0x17863a(0x3b1)]),A(0xc,m['ITransformService']),A(0xd,a[_0x17863a(0x23d)](J))],exports[_0x17863a(0x1e0)]);function Ut(_0x1b5d39,_0x56f2d5,_0x1d4156,_0x1d8d56,_0x573ceb,_0x166773){var _0x30ab69=_0x17863a;return _0x1d8d56&&_0x573ceb[_0x30ab69(0x291)]?_0x1b5d39[_0x30ab69(0x35e)](exports[_0x30ab69(0x3d3)],_0x56f2d5,_0x1d4156,_0x1d8d56,_0x573ceb,_0x166773,void 0x0):_0x1d8d56?_0x1b5d39[_0x30ab69(0x35e)](exports[_0x30ab69(0x1af)],_0x56f2d5,_0x1d4156,_0x1d8d56,_0x166773):_0x573ceb[_0x30ab69(0x291)]?_0x1b5d39[_0x30ab69(0x35e)](exports[_0x30ab69(0x24e)],_0x56f2d5,_0x1d4156,_0x573ceb,_0x166773):_0x1b5d39[_0x30ab69(0x35e)](exports['SyncedState'],_0x56f2d5,_0x1d4156,_0x166773);}var Oi=Object[_0x17863a(0x3d8)],Pi=Object[_0x17863a(0x381)],Ve=(_0xd05061,_0x30c2af,_0x4c12f7,_0x4b4fe3)=>{var _0x3f40a7=_0x17863a;for(var _0xf43a4f=_0x4b4fe3>0x1?void 0x0:_0x4b4fe3?Pi(_0x30c2af,_0x4c12f7):_0x30c2af,_0x2ac592=_0xd05061[_0x3f40a7(0x291)]-0x1,_0x1e609f;_0x2ac592>=0x0;_0x2ac592--)(_0x1e609f=_0xd05061[_0x2ac592])&&(_0xf43a4f=(_0x4b4fe3?_0x1e609f(_0x30c2af,_0x4c12f7,_0xf43a4f):_0x1e609f(_0xf43a4f))||_0xf43a4f);return _0x4b4fe3&&_0xf43a4f&&Oi(_0x30c2af,_0x4c12f7,_0xf43a4f),_0xf43a4f;},H=(_0x430c0d,_0x14dfbe)=>(_0x40d92e,_0x4c0656)=>_0x14dfbe(_0x40d92e,_0x4c0656,_0x430c0d);exports['CollaborationEntity']=class extends a[_0x17863a(0x1de)]{constructor(_0x17f947,_0xaa766,_0x9746a3,_0x51cbfd,_0x227909,_0x1cc4de,_0x3c0c80,_0x1a74ee,_0xc748c8,_0x10a1fa,_0x4421f3,_0xe21ee2,_0x593751){var _0x584644=_0x17863a;super(),w(this,'_state$',new B[(_0x584644(0x224))](null)),w(this,_0x584644(0x26e),this[_0x584644(0x1c6)][_0x584644(0x314)]()),w(this,_0x584644(0x479)),w(this,_0x584644(0x2cf),!0x1),w(this,_0x584644(0x207),''),w(this,_0x584644(0x1a3),0x0),w(this,_0x584644(0x482),this[_0x584644(0x26e)][_0x584644(0x457)](B[_0x584644(0x259)](_0x533827=>_0x533827?_0x533827[_0x584644(0x422)]:We[_0x584644(0x20d)]),B['shareReplay'](0x1))),w(this,_0x584644(0x3b8),!0x1),w(this,_0x584644(0x3ff),[]),(this['unitID']=_0x17f947,this[_0x584644(0x449)]=_0xaa766,this[_0x584644(0x353)]=_0x9746a3,this[_0x584644(0x3f8)]=_0x51cbfd,this['_compressMutationService']=_0x227909,this[_0x584644(0x312)]=_0x1cc4de,this[_0x584644(0x493)]=_0x3c0c80,this['_eventService']=_0x1a74ee,this[_0x584644(0x3df)]=_0xc748c8,this[_0x584644(0x1d2)]=_0x10a1fa,this[_0x584644(0x414)]=_0x4421f3,this[_0x584644(0x46c)]=_0xe21ee2,this[_0x584644(0x194)]=_0x593751);}get['state'](){var _0x1d9ab7=_0x17863a;return this[_0x1d9ab7(0x479)];}async['init'](){var _0x1cf3c0=_0x17863a;if(this[_0x1cf3c0(0x202)])throw new Error(_0x1cf3c0(0x2d9));await this['_init']();}[_0x17863a(0x3e5)](){var _0x4d16bc=_0x17863a;return this[_0x4d16bc(0x2cf)]=!0x0,a[_0x4d16bc(0x297)](()=>{var _0x2d18e4=_0x4d16bc;this[_0x2d18e4(0x2cf)]=!0x1,this[_0x2d18e4(0x4f9)]();});}[_0x17863a(0x1a7)](_0xe5ae57){var _0x4fbca7=_0x17863a;this[_0x4fbca7(0x2f5)](_0xe5ae57);}[_0x17863a(0x290)](_0x25d3a8){var _0x45d6d5=_0x17863a;this[_0x45d6d5(0x479)]=_0x25d3a8,this[_0x45d6d5(0x1c6)][_0x45d6d5(0x2ed)](_0x25d3a8);}async[_0x17863a(0x250)](){var _0x563823=_0x17863a,_0x39c153;this[_0x563823(0x290)](await this[_0x563823(0x27b)]()),this[_0x563823(0x46c)]&&((_0x39c153=this[_0x563823(0x46c)])==null||_0x39c153[_0x563823(0x417)](this[_0x563823(0x418)]),this['disposeWithMe'](this[_0x563823(0x46c)]['getUnitStatus$'](this['unitID'])[_0x563823(0x3b0)](_0x54e4d2=>{var _0x49a495=_0x563823;this[_0x49a495(0x3df)]['debug'](_0x49a495(0x1c3),_0x49a495(0x478),_0x54e4d2),_0x54e4d2===Fe[_0x49a495(0x35c)]?(this[_0x49a495(0x1ea)][_0x49a495(0x410)]({'id':Q[_0x49a495(0x474)]}),this[_0x49a495(0x414)][_0x49a495(0x1f6)](new W['WorkbookEditablePermission'](this[_0x49a495(0x418)])['id'],!0x1),this['_permissionService'][_0x49a495(0x387)](!0x1)):(this[_0x49a495(0x414)][_0x49a495(0x1f6)](new W['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0x49a495(0x414)][_0x49a495(0x387)](!0x0));})));let _0x82f365=!0x1;return this[_0x563823(0x2fe)](this[_0x563823(0x449)][_0x563823(0x2c1)][_0x563823(0x3b0)](_0x5ac0bf=>{var _0x3b03ba=_0x563823;_0x5ac0bf===se[_0x3b03ba(0x1a2)]?this[_0x3b03ba(0x41e)](_0x82f365):_0x5ac0bf===se[_0x3b03ba(0x20d)]&&(_0x82f365=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x563823(0x449)][_0x563823(0x345)][_0x563823(0x3b0)](_0x268c38=>{var _0x4597d6=_0x563823;try{switch(_0x268c38['eventID']){case m[_0x4597d6(0x334)][_0x4597d6(0x1d8)]:{this['_onRemoteChangeset'](m[_0x4597d6(0x44d)](_0x268c38[_0x4597d6(0x34a)]));break;}case m[_0x4597d6(0x334)]['CHANGESET_ACK']:{this[_0x4597d6(0x357)](_0x268c38[_0x4597d6(0x34a)]);break;}case m[_0x4597d6(0x334)][_0x4597d6(0x4b0)]:{this[_0x4597d6(0x428)]();break;}case m[_0x4597d6(0x334)][_0x4597d6(0x372)]:{this[_0x4597d6(0x3dc)](_0x268c38[_0x4597d6(0x34a)]);break;}case m[_0x4597d6(0x334)][_0x4597d6(0x368)]:{this[_0x4597d6(0x1ce)](_0x268c38[_0x4597d6(0x34a)][_0x4597d6(0x270)][_0x4597d6(0x259)](_0x14f254=>m['parseProtocolChangeset'](_0x14f254)));break;}case m[_0x4597d6(0x334)]['PERMISSION_REJ']:{this[_0x4597d6(0x428)]({'isPermissionRej':!0x0});break;}case m[_0x4597d6(0x334)]['UNISCRIPT_RUN']:break;}}catch(_0x4eb694){throw console[_0x4597d6(0x198)]('Error\x20on\x20receiving\x20event',_0x4eb694),_0x4eb694;}})),this[_0x563823(0x479)];}[_0x17863a(0x256)](){this['_transitionLocked']=!0x1;}[_0x17863a(0x213)](){var _0x131d4b=_0x17863a;if(this[_0x131d4b(0x3b8)])throw new Error(_0x131d4b(0x32c));this[_0x131d4b(0x3b8)]=!0x0;}[_0x17863a(0x2f5)](_0x342c1c){var _0x359cd2=_0x17863a;this[_0x359cd2(0x213)](),this['_updateState'](this['_state'][_0x359cd2(0x2ec)](_0x342c1c)),this[_0x359cd2(0x256)]();}[_0x17863a(0x3bd)](_0x3c8d06){var _0x3b28b5=_0x17863a;if(!(_0x3c8d06['revision']<=this['_revisionService'][_0x3b28b5(0x2b2)](this[_0x3b28b5(0x418)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x3b28b5(0x327)](_0x3c8d06);return;}this['_applyRemoteChangeset'](_0x3c8d06);}}['_exhaustRemoteChangesetQueue'](){var _0x5a2d57=_0x17863a;this[_0x5a2d57(0x3ff)]['forEach'](_0x31eca9=>this[_0x5a2d57(0x4c9)](_0x31eca9)),this[_0x5a2d57(0x3ff)]=[];}[_0x17863a(0x4c9)](_0x4485a3){var _0x1a0fe9=_0x17863a;const _0x5cb9fc=this[_0x1a0fe9(0x2bc)][_0x1a0fe9(0x301)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x1a0fe9(0x301)][_0x1a0fe9(0x1f1)]()['COMPRESS_MUTATION_APPLY'])(_0x4485a3[_0x1a0fe9(0x221)],null)||_0x4485a3['mutations'],_0x1b2af3={..._0x4485a3,'mutations':_0x5cb9fc};this[_0x1a0fe9(0x213)](),this[_0x1a0fe9(0x290)](this[_0x1a0fe9(0x479)]['onRemoteChangeset'](_0x1b2af3)),this[_0x1a0fe9(0x256)]();}[_0x17863a(0x357)](_0x40c6c){var _0x555aea=_0x17863a;this[_0x555aea(0x213)](),this[_0x555aea(0x290)](this[_0x555aea(0x479)]['onRemoteAck'](_0x40c6c)),this[_0x555aea(0x256)]();}[_0x17863a(0x428)](_0x33368a){var _0x41e5c2=_0x17863a;this[_0x41e5c2(0x213)](),this['_updateState'](this[_0x41e5c2(0x479)][_0x41e5c2(0x36a)](_0x33368a)),this[_0x41e5c2(0x256)]();}[_0x17863a(0x3dc)](_0x150e87){var _0x2147e9=_0x17863a;this[_0x2147e9(0x213)](),this[_0x2147e9(0x290)](this[_0x2147e9(0x479)][_0x2147e9(0x30f)](_0x150e87)),this[_0x2147e9(0x256)]();}[_0x17863a(0x1ce)](_0x5928f1){var _0x284854=_0x17863a;if(!(this[_0x284854(0x479)]instanceof exports[_0x284854(0x1e0)]))throw new TypeError(_0x284854(0x1df));const _0x33057e=_0x5928f1[_0x284854(0x259)](_0xe7b877=>{var _0x5271b7=_0x284854;const _0x48265d=this[_0x5271b7(0x2bc)][_0x5271b7(0x301)]['fetchThroughInterceptors'](this[_0x5271b7(0x2bc)][_0x5271b7(0x301)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0xe7b877['mutations'],null)||_0xe7b877[_0x5271b7(0x221)];return{..._0xe7b877,'mutations':_0x48265d};});this['_lockTransition'](),this[_0x284854(0x290)](this[_0x284854(0x479)][_0x284854(0x21f)](_0x33057e)),this['_unlockTransition']();}['_toggleOffline'](){var _0x190643=_0x17863a;this['_lockTransition'](),this['_updateState'](this[_0x190643(0x479)]['toggleOffline']()),this[_0x190643(0x256)]();}[_0x17863a(0x41e)](_0x2f6201=!0x1){var _0x293d31=_0x17863a;this[_0x293d31(0x213)](),this[_0x293d31(0x290)](this[_0x293d31(0x479)]['toggleOnline']()),this[_0x293d31(0x256)]();const _0x943799=this[_0x293d31(0x479)];_0x2f6201&&_0x943799 instanceof exports[_0x293d31(0x3f5)]&&(this['_lockTransition'](),this[_0x293d31(0x290)](_0x943799['fetchMiss']()),this[_0x293d31(0x256)]());}async[_0x17863a(0x27b)](){return new Promise(_0x3943f1=>{var _0x20d0c2=_0x491b;this[_0x20d0c2(0x449)]['sessionStatus$'][_0x20d0c2(0x457)](B[_0x20d0c2(0x2ca)](0x1))['subscribe'](async _0xb1a83d=>{var _0x5a2866=_0x20d0c2;_0x3943f1(await this[_0x5a2866(0x287)](_0xb1a83d===se[_0x5a2866(0x1a2)]));});});}['_createHandler'](){const _0x1252dc=this['unitID'];return{'onStateChange':(_0x313f16,_0x184e59)=>{var _0x1406d2=_0x491b;if(_0x313f16!==this[_0x1406d2(0x479)])throw new Error(_0x1406d2(0x4a3)+_0x313f16[_0x1406d2(0x422)]+_0x1406d2(0x18f)+_0x184e59['status']+'\x0aCurrent:\x20'+this[_0x1406d2(0x479)][_0x1406d2(0x422)]);this[_0x1406d2(0x290)](_0x184e59);},'onSendChangeset':_0x1accb4=>{var _0x274582=_0x491b;_0x1accb4['sid']||(_0x1accb4[_0x274582(0x3f3)]=this[_0x274582(0x207)],_0x1accb4[_0x274582(0x402)]=++this['_changesetReqId']);const _0x4ec587={'eventID':m[_0x274582(0x334)][_0x274582(0x269)],'data':{'unitID':_0x1accb4[_0x274582(0x418)],'unitType':this[_0x274582(0x353)],'changeset':_0x1accb4,'memberID':this[_0x274582(0x449)][_0x274582(0x21a)]()}};this[_0x274582(0x449)][_0x274582(0x3b5)](_0x4ec587,this[_0x274582(0x418)]);},'onMissingChangesets':({from:_0x422f00,to:_0xc49b66})=>{var _0x38f08b=_0x491b;this[_0x38f08b(0x3df)]['debug'](_0x38f08b(0x1c3),_0x38f08b(0x4b7)+_0x422f00+'\x20to\x20'+_0xc49b66);const _0x57439b={'eventID':m[_0x38f08b(0x334)][_0x38f08b(0x32a)],'data':{'unitID':_0x1252dc,'unitType':this[_0x38f08b(0x353)],'from':_0x422f00,'to':_0xc49b66}};this[_0x38f08b(0x449)][_0x38f08b(0x3b5)](_0x57439b,this[_0x38f08b(0x418)]);}};}async[_0x17863a(0x287)](_0x49065b){var _0x261e26=_0x17863a,_0x10c09c,_0x336b7c,_0x4f34d7;const _0x37c21d=await((_0x10c09c=this[_0x261e26(0x194)])==null?void 0x0:_0x10c09c[_0x261e26(0x439)](this[_0x261e26(0x418)])),_0x589abf=(_0x336b7c=_0x37c21d==null?void 0x0:_0x37c21d[_0x261e26(0x221)])!=null?_0x336b7c:[],_0x3cb264=(_0x4f34d7=_0x37c21d==null?void 0x0:_0x37c21d[_0x261e26(0x1a0)])!=null?_0x4f34d7:null,_0x5634b3=!!(_0x3cb264!=null&&_0x3cb264['sid'])&&!!(_0x3cb264!=null&&_0x3cb264['reqId']);this[_0x261e26(0x207)]=_0x5634b3?_0x3cb264[_0x261e26(0x3f3)]:Si(),this[_0x261e26(0x1a3)]=_0x5634b3?_0x3cb264[_0x261e26(0x402)]:0x0;const _0x5a55e9=this['unitID'];try{this[_0x261e26(0x25c)](_0x3cb264,_0x589abf);}catch(_0x27f85e){this[_0x261e26(0x3df)][_0x261e26(0x198)](_0x27f85e);}const _0x2bedde=this[_0x261e26(0x477)]();if(_0x49065b){const _0x297f8a=Ut(this[_0x261e26(0x3f8)],_0x5a55e9,this['_type'],_0x3cb264,_0x589abf,_0x2bedde);return _0x297f8a instanceof exports[_0x261e26(0x24e)]?_0x297f8a['_schedule']():(_0x297f8a instanceof exports[_0x261e26(0x3d3)]||_0x297f8a instanceof exports[_0x261e26(0x1af)])&&_0x297f8a[_0x261e26(0x36d)](),_0x297f8a;}return this['_injector'][_0x261e26(0x35e)](exports[_0x261e26(0x247)],_0x5a55e9,this[_0x261e26(0x353)],_0x3cb264,_0x589abf,_0x2bedde);}[_0x17863a(0x25c)](_0x5b3ad2,_0x14ff7d){var _0x2a6eef=_0x17863a,_0x465e1e,_0x5162f5;const _0x5bdf08=this[_0x2a6eef(0x2bc)][_0x2a6eef(0x301)][_0x2a6eef(0x25e)](this[_0x2a6eef(0x2bc)][_0x2a6eef(0x301)]['getInterceptPoints']()[_0x2a6eef(0x305)]);(_0x465e1e=_0x5bdf08((_0x5b3ad2==null?void 0x0:_0x5b3ad2['mutations'])||[],null))==null||_0x465e1e[_0x2a6eef(0x209)](_0xb60329=>this['_commandService'][_0x2a6eef(0x509)](_0xb60329['id'],_0xb60329[_0x2a6eef(0x19f)])),(_0x5162f5=_0x5bdf08(_0x14ff7d||[],null))==null||_0x5162f5[_0x2a6eef(0x209)](_0x191ba4=>this[_0x2a6eef(0x1d2)][_0x2a6eef(0x509)](_0x191ba4['id'],_0x191ba4[_0x2a6eef(0x19f)]));}},exports['CollaborationEntity']=Ve([H(0x3,a['Inject'](a[_0x17863a(0x470)])),H(0x4,a[_0x17863a(0x45c)](m[_0x17863a(0x3c9)])),H(0x5,a['Inject'](a[_0x17863a(0x411)])),H(0x6,a[_0x17863a(0x45c)](m[_0x17863a(0x380)])),H(0x7,a[_0x17863a(0x45c)](te)),H(0x8,a[_0x17863a(0x4fa)]),H(0x9,a[_0x17863a(0x204)]),H(0xa,a['IPermissionService']),H(0xb,a['Optional'](ve)),H(0xc,a[_0x17863a(0x23d)](J))],exports[_0x17863a(0x17f)]),exports[_0x17863a(0x4c7)]=class extends exports[_0x17863a(0x17f)]{constructor(_0x4b3b7f,_0x435619,_0x1cd90a,_0x30505d,_0x15ec65,_0x13fad1,_0x46b175,_0x13f9c5,_0x31b837,_0xb656a7,_0x466d2b,_0x2c7d2b,_0x559866){var _0x50d17d=_0x17863a;super(_0x4b3b7f,_0x1cd90a,_0x435619,_0x30505d,_0x15ec65,_0x13fad1,_0x46b175,_0x13f9c5,_0x31b837,_0xb656a7,_0x466d2b,_0x2c7d2b,_0x559866),w(this,_0x50d17d(0x229),null),(this['unitID']=_0x4b3b7f,this[_0x50d17d(0x21d)]=_0x435619);}[_0x17863a(0x4af)](_0x1ca873){var _0x131eef=_0x17863a;this[_0x131eef(0x229)]=_0x1ca873;}[_0x17863a(0x17e)](){var _0x3085a3=_0x17863a;this[_0x3085a3(0x229)]=null,super[_0x3085a3(0x17e)]();}[_0x17863a(0x477)](){var _0x474ecc=_0x17863a;const _0x5b087e=super[_0x474ecc(0x477)]();return _0x5b087e[_0x474ecc(0x47d)]=_0x14720c=>{var _0x5c5883=_0x474ecc,_0x16cddb,_0x5b9697;return(_0x5b9697=(_0x16cddb=this[_0x5c5883(0x229)])==null?void 0x0:_0x16cddb[_0x5c5883(0x47d)])==null?void 0x0:_0x5b9697[_0x5c5883(0x243)](_0x16cddb,_0x14720c);},_0x5b087e[_0x474ecc(0x3ad)]=_0x95fd13=>{var _0x15bb7d=_0x474ecc,_0x348adb,_0x521665;return(_0x521665=(_0x348adb=this[_0x15bb7d(0x229)])==null?void 0x0:_0x348adb[_0x15bb7d(0x3ad)])==null?void 0x0:_0x521665[_0x15bb7d(0x243)](_0x348adb,_0x95fd13);},_0x5b087e[_0x474ecc(0x4b1)]=_0x15eba8=>{var _0x129302=_0x474ecc,_0x321338,_0x3e8bee;return(_0x3e8bee=(_0x321338=this['_handlerCallback'])==null?void 0x0:_0x321338[_0x129302(0x4b1)])==null?void 0x0:_0x3e8bee[_0x129302(0x243)](_0x321338,_0x15eba8);},_0x5b087e[_0x474ecc(0x3fc)]=_0x33cf04=>{var _0x12ecfc=_0x474ecc,_0x588d5b,_0x49933f;return(_0x49933f=(_0x588d5b=this[_0x12ecfc(0x229)])==null?void 0x0:_0x588d5b['onSyncEditingCollabCursor'])==null?void 0x0:_0x49933f[_0x12ecfc(0x243)](_0x588d5b,_0x33cf04);},_0x5b087e['onTransformRemoteChangesetByIMECache']=_0x3c6582=>{var _0x1b2094=_0x474ecc,_0x5282d6,_0x28f7bc,_0x4aba9c;if(!((_0x5282d6=this[_0x1b2094(0x229)])!=null&&_0x5282d6[_0x1b2094(0x242)]))throw new Error(_0x1b2094(0x3aa));return(_0x4aba9c=(_0x28f7bc=this['_handlerCallback'])==null?void 0x0:_0x28f7bc[_0x1b2094(0x242)])==null?void 0x0:_0x4aba9c[_0x1b2094(0x243)](_0x28f7bc,_0x3c6582);},_0x5b087e[_0x474ecc(0x3a3)]=_0x513291=>{var _0x1c6b86=_0x474ecc,_0x442df3,_0x1bfdcd,_0x2aff87;if(!((_0x442df3=this[_0x1c6b86(0x229)])!=null&&_0x442df3[_0x1c6b86(0x3a3)]))throw new Error(_0x1c6b86(0x1bf));return(_0x2aff87=(_0x1bfdcd=this[_0x1c6b86(0x229)])==null?void 0x0:_0x1bfdcd[_0x1c6b86(0x3a3)])==null?void 0x0:_0x2aff87['call'](_0x1bfdcd,_0x513291);},_0x5b087e;}async[_0x17863a(0x250)](){var _0x329046=_0x17863a;const _0x20979c=await super[_0x329046(0x250)]();return this[_0x329046(0x2fe)](this['_commandService'][_0x329046(0x3ef)]((_0x304517,_0x30b4f5)=>{var _0x357bc0=_0x329046;if(_0x304517['type']!==a[_0x357bc0(0x230)][_0x357bc0(0x3fb)]||_0x30b4f5!=null&&_0x30b4f5['fromCollab']||_0x30b4f5!=null&&_0x30b4f5['onlyLocal']||_0x304517['id']===ut[_0x357bc0(0x4fb)]['id'])return;const _0x54ac38=_0x304517[_0x357bc0(0x19f)];if((_0x54ac38==null?void 0x0:_0x54ac38[_0x357bc0(0x4d2)])!==this[_0x357bc0(0x418)])return;const _0x5b9bc9=_0x304517,_0x2ba40c=this[_0x357bc0(0x2bc)][_0x357bc0(0x301)]['fetchThroughInterceptors'](this[_0x357bc0(0x2bc)][_0x357bc0(0x301)][_0x357bc0(0x1f1)]()[_0x357bc0(0x3eb)])([_0x5b9bc9],null)||[_0x5b9bc9];this[_0x357bc0(0x2f5)](_0x2ba40c[0x0]);})),_0x20979c;}},exports['DocCollaborationEntity']=Ve([H(0x3,a[_0x17863a(0x45c)](a[_0x17863a(0x470)])),H(0x4,a[_0x17863a(0x45c)](m['CompressMutationService'])),H(0x5,a[_0x17863a(0x45c)](a[_0x17863a(0x411)])),H(0x6,a['Inject'](m[_0x17863a(0x380)])),H(0x7,a['Inject'](te)),H(0x8,a[_0x17863a(0x4fa)]),H(0x9,a[_0x17863a(0x204)]),H(0xa,a['IPermissionService']),H(0xb,a[_0x17863a(0x23d)](ve)),H(0xc,a[_0x17863a(0x23d)](J))],exports[_0x17863a(0x4c7)]),exports[_0x17863a(0x397)]=class extends exports[_0x17863a(0x17f)]{constructor(_0x4818b8,_0x7535e3,_0xb4da51,_0x229fa7,_0x482a39,_0x481a3c,_0x3f9d75,_0x2f3ad1,_0x169b07,_0x3ff057,_0xb315dd,_0x148d2e,_0x5130a5,_0x1959c7){var _0x3c7f8c=_0x17863a;super(_0x4818b8,_0xb4da51,_0x7535e3,_0x229fa7,_0x482a39,_0x481a3c,_0x3f9d75,_0x169b07,_0x3ff057,_0xb315dd,_0x148d2e,_0x5130a5,_0x1959c7),this[_0x3c7f8c(0x418)]=_0x4818b8,this['type']=_0x7535e3,this[_0x3c7f8c(0x29d)]=_0x2f3ad1;}[_0x17863a(0x477)](){var _0x37ff6b=_0x17863a;const _0x49d5e8=super['_createHandler']();return _0x49d5e8[_0x37ff6b(0x4b1)]=_0x1f1789=>this['_sheetTransformSelectionsService'][_0x37ff6b(0x280)](_0x1f1789),_0x49d5e8;}async[_0x17863a(0x250)](){var _0x38b431=_0x17863a;const _0x16de4d=await super[_0x38b431(0x250)]();return this['disposeWithMe'](this[_0x38b431(0x1d2)][_0x38b431(0x3ef)]((_0x332102,_0x13d186)=>{var _0x464462=_0x38b431;if(_0x332102[_0x464462(0x21d)]!==a['CommandType'][_0x464462(0x3fb)]||_0x13d186!=null&&_0x13d186['fromCollab']||_0x13d186!=null&&_0x13d186[_0x464462(0x376)])return;const _0xce9f88=_0x332102[_0x464462(0x19f)];if((_0xce9f88==null?void 0x0:_0xce9f88[_0x464462(0x4d2)])!==this['unitID'])return;const _0x2bcf76=_0x332102,_0x5c45b1=this['_compressMutationService'][_0x464462(0x301)][_0x464462(0x25e)](this[_0x464462(0x2bc)]['interceptor'][_0x464462(0x1f1)]()[_0x464462(0x3eb)])([_0x2bcf76],null)||[_0x2bcf76];this[_0x464462(0x2f5)](_0x5c45b1[0x0]);})),_0x16de4d;}},exports[_0x17863a(0x397)]=Ve([H(0x3,a['Inject'](a[_0x17863a(0x470)])),H(0x4,a[_0x17863a(0x45c)](m[_0x17863a(0x3c9)])),H(0x5,a[_0x17863a(0x45c)](a['LocaleService'])),H(0x6,a[_0x17863a(0x45c)](m['RevisionService'])),H(0x7,a[_0x17863a(0x45c)](exports['SheetTransformSelectionsService'])),H(0x8,a[_0x17863a(0x45c)](te)),H(0x9,a[_0x17863a(0x4fa)]),H(0xa,a[_0x17863a(0x204)]),H(0xb,a[_0x17863a(0x4f1)]),H(0xc,a['Optional'](ve)),H(0xd,a[_0x17863a(0x23d)](J))],exports[_0x17863a(0x397)]);var Ui=Object[_0x17863a(0x3d8)],Di=Object[_0x17863a(0x381)],Ni=(_0x37c61a,_0x479bc9,_0x37f0a0,_0x1b5524)=>{var _0x30c7fc=_0x17863a;for(var _0x33c6c8=_0x1b5524>0x1?void 0x0:_0x1b5524?Di(_0x479bc9,_0x37f0a0):_0x479bc9,_0x15f748=_0x37c61a[_0x30c7fc(0x291)]-0x1,_0x11a0a9;_0x15f748>=0x0;_0x15f748--)(_0x11a0a9=_0x37c61a[_0x15f748])&&(_0x33c6c8=(_0x1b5524?_0x11a0a9(_0x479bc9,_0x37f0a0,_0x33c6c8):_0x11a0a9(_0x33c6c8))||_0x33c6c8);return _0x1b5524&&_0x33c6c8&&Ui(_0x479bc9,_0x37f0a0,_0x33c6c8),_0x33c6c8;},we=(_0x71ca08,_0x413cf0)=>(_0x389ce7,_0x4de5eb)=>_0x413cf0(_0x389ce7,_0x4de5eb,_0x71ca08);exports[_0x17863a(0x42d)]=class extends a[_0x17863a(0x1de)]{constructor(_0x4d5410,_0x411608,_0x1c40fa){var _0x1689f8=_0x17863a;super(),w(this,_0x1689f8(0x2e7),new Map()),w(this,_0x1689f8(0x406),new B[(_0x1689f8(0x2e9))]()),w(this,'entityInit$',this[_0x1689f8(0x406)]['asObservable']()),(this[_0x1689f8(0x3f8)]=_0x4d5410,this['_collabSessionService']=_0x411608,this['_univerInstanceService']=_0x1c40fa,this[_0x1689f8(0x250)]());}[_0x17863a(0x17e)](){var _0x1ec2ed=_0x17863a;super[_0x1ec2ed(0x17e)](),this['_entities'][_0x1ec2ed(0x209)](_0x5d8a17=>_0x5d8a17[_0x1ec2ed(0x17e)]()),this[_0x1ec2ed(0x2e7)]['clear']();}[_0x17863a(0x3f9)](_0x22a685){var _0xcbadd7=_0x17863a,_0x432708;return(_0x432708=this[_0xcbadd7(0x2e7)][_0xcbadd7(0x1f9)](_0x22a685))!=null?_0x432708:null;}['getCollabEntity$'](_0x26097e){var _0x4fc190=_0x17863a;const _0x36c34a=this[_0x4fc190(0x3f9)](_0x26097e);return _0x36c34a?B['of'](_0x36c34a):this[_0x4fc190(0x406)][_0x4fc190(0x457)](V['filter'](_0x3c868f=>_0x3c868f[_0x4fc190(0x418)]===_0x26097e));}[_0x17863a(0x47a)](_0x163054){var _0x13e346=_0x17863a;return B[_0x13e346(0x299)](this[_0x13e346(0x420)](_0x163054)[_0x13e346(0x457)](V[_0x13e346(0x259)](()=>{})));}[_0x17863a(0x250)](){var _0x29c319=_0x17863a;this[_0x29c319(0x3a6)][_0x29c319(0x2ff)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x29c319(0x457)](B[_0x29c319(0x50f)](this[_0x29c319(0x1db)]),V[_0x29c319(0x3b4)](0x10))['subscribe'](async _0x2ce0f1=>{var _0x3b4ad1=_0x29c319;const _0x1a5339=_0x2ce0f1['getUnitId'](),_0x447fc7=await this[_0x3b4ad1(0x2a1)](_0x1a5339,Z['UNIVER_SHEET']);this[_0x3b4ad1(0x2e7)][_0x3b4ad1(0x471)](_0x1a5339,_0x447fc7);}),this[_0x29c319(0x3a6)][_0x29c319(0x2ff)](a['UniverInstanceType']['UNIVER_DOC'])[_0x29c319(0x457)](B[_0x29c319(0x50f)](this['dispose$']),V[_0x29c319(0x3b4)](0x10))[_0x29c319(0x457)](V[_0x29c319(0x409)](_0x351474=>!_0x351474[_0x29c319(0x281)]()['startsWith']('__')))[_0x29c319(0x3b0)](async _0x1733eb=>{var _0x41d3dd=_0x29c319;const _0x3298e5=_0x1733eb[_0x41d3dd(0x281)](),_0x317906=await this[_0x41d3dd(0x2a1)](_0x3298e5,Z[_0x41d3dd(0x1d4)]);this['_entities'][_0x41d3dd(0x471)](_0x3298e5,_0x317906);}),B[_0x29c319(0x2ab)](this[_0x29c319(0x3a6)][_0x29c319(0x4ce)](a[_0x29c319(0x3c8)][_0x29c319(0x309)]),this[_0x29c319(0x3a6)][_0x29c319(0x4ce)](a[_0x29c319(0x3c8)][_0x29c319(0x1d4)]))[_0x29c319(0x457)](B[_0x29c319(0x50f)](this[_0x29c319(0x1db)]))[_0x29c319(0x3b0)](_0x3314a7=>{var _0x5acb6d=_0x29c319;const _0x2a3eca=_0x3314a7[_0x5acb6d(0x281)](),_0x482344=this[_0x5acb6d(0x2e7)][_0x5acb6d(0x1f9)](_0x2a3eca);_0x482344&&(_0x482344['dispose'](),this[_0x5acb6d(0x2e7)][_0x5acb6d(0x40f)](_0x2a3eca));});}async[_0x17863a(0x2a1)](_0x450e28,_0x35c875){var _0x3c783a=_0x17863a;const _0x5a333d=await this[_0x3c783a(0x4bf)]['requireSession'](_0x450e28),_0x435b8f=this[_0x3c783a(0x3f8)][_0x3c783a(0x35e)](this[_0x3c783a(0x43c)](_0x35c875),_0x450e28,_0x35c875,_0x5a333d);return await _0x435b8f[_0x3c783a(0x257)](),this[_0x3c783a(0x406)][_0x3c783a(0x2ed)](_0x435b8f),_0x435b8f;}[_0x17863a(0x43c)](_0x29fce5){var _0x5b1dd9=_0x17863a;switch(_0x29fce5){case Z[_0x5b1dd9(0x1d4)]:return exports['DocCollaborationEntity'];case Z['UNIVER_SHEET']:return exports[_0x5b1dd9(0x397)];default:throw new Error(_0x5b1dd9(0x248)+_0x29fce5);}}},exports[_0x17863a(0x42d)]=Ni([we(0x0,a['Inject'](a[_0x17863a(0x470)])),we(0x1,a[_0x17863a(0x45c)](exports[_0x17863a(0x488)])),we(0x2,a[_0x17863a(0x1ba)])],exports[_0x17863a(0x42d)]);var wi=Object[_0x17863a(0x3d8)],Ai=Object['getOwnPropertyDescriptor'],Li=(_0x45a840,_0x117fe3,_0x790fdf,_0x239a8c)=>{var _0xd24118=_0x17863a;for(var _0x23d01a=_0x239a8c>0x1?void 0x0:_0x239a8c?Ai(_0x117fe3,_0x790fdf):_0x117fe3,_0x335626=_0x45a840[_0xd24118(0x291)]-0x1,_0x36d9d6;_0x335626>=0x0;_0x335626--)(_0x36d9d6=_0x45a840[_0x335626])&&(_0x23d01a=(_0x239a8c?_0x36d9d6(_0x117fe3,_0x790fdf,_0x23d01a):_0x36d9d6(_0x23d01a))||_0x23d01a);return _0x239a8c&&_0x23d01a&&wi(_0x117fe3,_0x790fdf,_0x23d01a),_0x23d01a;},Je=(_0x529fd5,_0x310cc6)=>(_0xd7658b,_0x1c5432)=>_0x310cc6(_0xd7658b,_0x1c5432,_0x529fd5);const Mi='DEFAULT_FILE_NAME',xi=_0x17863a(0x4b5);let $e=class extends a[_0x17863a(0x4ec)]{constructor(_0x4b7955,_0x27896c){var _0x205fb3=_0x17863a;super(),this['_univerInstanceService']=_0x4b7955,this[_0x205fb3(0x483)]=_0x27896c,this[_0x205fb3(0x250)]();}[_0x17863a(0x250)](){var _0x143170=_0x17863a;this['disposeWithMe'](this[_0x143170(0x3a6)]['focused$'][_0x143170(0x3b0)](()=>{var _0x3ff177=_0x143170,_0x1a9082;const _0xdca55a=this[_0x3ff177(0x3a6)][_0x3ff177(0x307)]();let _0x4ceac5=(_0x1a9082=this[_0x3ff177(0x483)]['getConfig'](Mi))!=null?_0x1a9082:xi;_0xdca55a instanceof a['Workbook']&&(_0x4ceac5=_0xdca55a[_0x3ff177(0x20c)]),document[_0x3ff177(0x371)]=_0x4ceac5;}));}};$e=Li([Je(0x0,a[_0x17863a(0x1ba)]),Je(0x1,a['IConfigService'])],$e);var ji=Object[_0x17863a(0x3d8)],$i=Object[_0x17863a(0x381)],Hi=(_0x5150e4,_0x600497,_0x174868,_0x216635)=>{var _0x68fa1=_0x17863a;for(var _0x373941=_0x216635>0x1?void 0x0:_0x216635?$i(_0x600497,_0x174868):_0x600497,_0x57f96c=_0x5150e4[_0x68fa1(0x291)]-0x1,_0xf432ec;_0x57f96c>=0x0;_0x57f96c--)(_0xf432ec=_0x5150e4[_0x57f96c])&&(_0x373941=(_0x216635?_0xf432ec(_0x600497,_0x174868,_0x373941):_0xf432ec(_0x373941))||_0x373941);return _0x216635&&_0x373941&&ji(_0x600497,_0x174868,_0x373941),_0x373941;},Ae=(_0x2025b,_0x10cc63)=>(_0x437f1f,_0x23aad1)=>_0x10cc63(_0x437f1f,_0x23aad1,_0x2025b);let Oe=class{constructor(_0x2502a2,_0x31e89f,_0x215bee){var _0x534c8c=_0x17863a;this[_0x534c8c(0x483)]=_0x2502a2,this[_0x534c8c(0x22f)]=_0x31e89f,this[_0x534c8c(0x3d1)]=_0x215bee,this['init']();}[_0x17863a(0x257)](){var _0x127a9f=_0x17863a;this['_httpService'][_0x127a9f(0x21c)]({'priority':0x1,'interceptor':(_0x5b67dd,_0x500dbe)=>_0x500dbe(_0x5b67dd)['pipe'](B[_0x127a9f(0x1d5)](async _0x305c35=>{var _0x5b47d6=_0x127a9f;const _0x472d59=_0x305c35;if(_0x472d59[_0x5b47d6(0x422)]===0x191){if(typeof window>'u')throw new Error(_0x5b47d6(0x1fb));if(window[_0x5b47d6(0x4eb)](this['localeService']['t'](_0x5b47d6(0x364)))){const _0x3af846=window[_0x5b47d6(0x2d8)](window[_0x5b47d6(0x2b0)][_0x5b47d6(0x4a0)]);window['location']['href']=this[_0x5b47d6(0x285)]()+_0x5b47d6(0x3cc)+_0x3af846;}}return _0x472d59;}))});}[_0x17863a(0x285)](){var _0x2e768a=_0x17863a,_0x2de1b2,_0x39abed;const _0x4d7184=this['_configService'][_0x2e768a(0x17d)](Et),_0x9adf3d=this['_configService'][_0x2e768a(0x17d)](q);return(_0x39abed=(_0x2de1b2=_0x9adf3d==null?void 0x0:_0x9adf3d[_0x2e768a(0x32e)])!=null?_0x2de1b2:_0x4d7184)!=null?_0x39abed:qt;}};Oe=Hi([Ae(0x0,a[_0x17863a(0x29c)]),Ae(0x1,a['Inject'](z[_0x17863a(0x3e6)])),Ae(0x2,a[_0x17863a(0x45c)](a['LocaleService']))],Oe);var ki=Object['defineProperty'],Bi=Object[_0x17863a(0x381)],Fi=(_0x41b3ae,_0x476148,_0x346d52,_0x16466c)=>{var _0x6369d9=_0x17863a;for(var _0xcd5e73=_0x16466c>0x1?void 0x0:_0x16466c?Bi(_0x476148,_0x346d52):_0x476148,_0x1ad9c9=_0x41b3ae[_0x6369d9(0x291)]-0x1,_0x3b77d9;_0x1ad9c9>=0x0;_0x1ad9c9--)(_0x3b77d9=_0x41b3ae[_0x1ad9c9])&&(_0xcd5e73=(_0x16466c?_0x3b77d9(_0x476148,_0x346d52,_0xcd5e73):_0x3b77d9(_0xcd5e73))||_0xcd5e73);return _0x16466c&&_0xcd5e73&&ki(_0x476148,_0x346d52,_0xcd5e73),_0xcd5e73;},Xe=(_0x1c9788,_0x596e45)=>(_0x2db12b,_0x399970)=>_0x596e45(_0x2db12b,_0x399970,_0x1c9788);const Ge=_0x17863a(0x29a),Wi=_0x17863a(0x4d3);exports['AuthzIoHttpService']=class extends a[_0x17863a(0x4ec)]{constructor(_0x1287ca,_0x1e75a5){var _0x3dc4ba=_0x17863a;super(),this[_0x3dc4ba(0x1f8)]=_0x1287ca,this[_0x3dc4ba(0x483)]=_0x1e75a5,this[_0x3dc4ba(0x425)]();}['_initMergeInterceptor'](){var _0x57b052=_0x17863a;const _0xe742a4=this;this[_0x57b052(0x2fe)](this[_0x57b052(0x1f8)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':z['MergeInterceptorFactory']({'isMatch'(_0x30d242){var _0x5499ea=_0x57b052,_0x28f7ec;if(_0x30d242[_0x5499ea(0x503)]===_0x5499ea(0x19d)&&((_0x28f7ec=_0x30d242[_0x5499ea(0x1f3)])!=null&&_0x28f7ec['body'])){const {objectID:_0x1db6cf,objectType:_0x52a5e3}=_0x30d242['requestParams']['body']||{};if(!_0x1db6cf||_0x52a5e3===void 0x0)return!0x1;const _0x51d8d6=_0xe742a4[_0x5499ea(0x47f)]()+'/'+_0x52a5e3+'/object/'+_0x1db6cf+_0x5499ea(0x1e2);if(_0x30d242[_0x5499ea(0x341)]===_0x51d8d6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x262236){var _0x2a2d8a=_0x57b052,_0x3646f2;return(_0x3646f2=_0x262236[_0x2a2d8a(0x1f3)])==null?void 0x0:_0x3646f2[_0x2a2d8a(0x21b)];},'mergeParamsToRequest'(_0x2dcc30,_0x43f589){var _0x1819a6=_0x57b052;const _0x45228e=_0xe742a4[_0x1819a6(0x47f)]()+_0x1819a6(0x491),_0x15ee85=_0x2dcc30[_0x1819a6(0x28c)]((_0x555021,_0x37bb0e)=>{var _0x143d1a=_0x1819a6;const {unitID:_0x408f07,objectID:_0x1b6cf2,objectType:_0x101f74,actions:_0x2209f3}=_0x37bb0e;return _0x555021[_0x408f07]||(_0x555021[_0x408f07]={}),_0x555021[_0x408f07][_0x1b6cf2]||(_0x555021[_0x408f07][_0x1b6cf2]={'objectID':_0x1b6cf2,'objectType':_0x101f74,'actions':[]}),_0x555021[_0x408f07][_0x1b6cf2][_0x143d1a(0x3d9)]['push'](..._0x2209f3),_0x555021;},{}),_0x26cd0e=[];for(const _0x2ba778 in _0x15ee85)for(const _0x16bccd in _0x15ee85[_0x2ba778]){const {actions:_0x1d3e47,objectType:_0x5f5bc8}=_0x15ee85[_0x2ba778][_0x16bccd],_0xb4a293=[...new Set(_0x1d3e47)];_0x26cd0e[_0x1819a6(0x327)]({'unitID':_0x2ba778,'objectID':_0x16bccd,'objectType':_0x5f5bc8,'actions':_0xb4a293});}return new z[(_0x1819a6(0x4dc))]('POST',_0x45228e,{'headers':_0x43f589['headers'],'withCredentials':_0x43f589[_0x1819a6(0x42b)],'responseType':_0x43f589[_0x1819a6(0x3a2)],'body':{'requests':_0x26cd0e}});}},{'distributeResult'(_0x1f89d9,_0x27b63d){var _0x285dbd=_0x57b052;const {objectActions:_0x310086}=_0x1f89d9;return _0x27b63d[_0x285dbd(0x259)](_0x20587a=>{var _0x9295cb=_0x285dbd;const {unitID:_0x30e9aa,objectID:_0x3046f3,actions:_0x35b858}=_0x20587a,_0x2e0c12=_0x310086[_0x9295cb(0x190)](_0x23719d=>_0x23719d[_0x9295cb(0x418)]===_0x30e9aa&&_0x23719d['objectID']===_0x3046f3),_0x51f1b4=_0x35b858[_0x9295cb(0x259)](_0x5e8eba=>_0x2e0c12==null?void 0x0:_0x2e0c12[_0x9295cb(0x3d9)][_0x9295cb(0x190)](_0x45f3ca=>_0x45f3ca[_0x9295cb(0x272)]===_0x5e8eba))[_0x9295cb(0x409)](_0x5a5c24=>!!_0x5a5c24);return{'config':_0x20587a,'result':{'actions':_0x51f1b4,'error':_0x1f89d9['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x3aa5f0=_0x17863a,_0x2a66af,_0x278331;const _0x56f126=this['_configService'][_0x3aa5f0(0x17d)](Ge),_0x500ac9=this['_configService'][_0x3aa5f0(0x17d)](q);return(_0x278331=(_0x2a66af=_0x500ac9==null?void 0x0:_0x500ac9[_0x3aa5f0(0x38b)])!=null?_0x2a66af:_0x56f126)!=null?_0x278331:Wi;}async[_0x17863a(0x2d2)](_0x2a812){var _0x15d2b1=_0x17863a;const _0x28a108=this[_0x15d2b1(0x47f)]()+'/'+_0x2a812[_0x15d2b1(0x3e7)]+'/object';return(await this[_0x15d2b1(0x1f8)][_0x15d2b1(0x302)](_0x28a108,{'body':_0x2a812}))[_0x15d2b1(0x21b)][_0x15d2b1(0x365)]||'';}async[_0x17863a(0x49f)](_0x792e2c){var _0x4f8eb6=_0x17863a;const _0x48cd03=this['_getAPIPrefixPath']()+_0x4f8eb6(0x362);return(await this[_0x4f8eb6(0x1f8)][_0x4f8eb6(0x302)](_0x48cd03,{'body':_0x792e2c}))[_0x4f8eb6(0x21b)][_0x4f8eb6(0x48d)];}async[_0x17863a(0x1b1)](_0x4c3463){var _0x337493=_0x17863a;const _0x1f345b=this[_0x337493(0x47f)]()+'/'+_0x4c3463[_0x337493(0x3e7)]+'/object/'+_0x4c3463[_0x337493(0x365)];await this[_0x337493(0x1f8)][_0x337493(0x1d7)](_0x1f345b,{'body':_0x4c3463});}async[_0x17863a(0x329)](_0xf53a7){var _0x264746=_0x17863a;const _0x19882a=this[_0x264746(0x47f)]()+'/'+_0xf53a7[_0x264746(0x3e7)]+_0x264746(0x253)+_0xf53a7[_0x264746(0x365)]+_0x264746(0x1e2);return(await this[_0x264746(0x1f8)][_0x264746(0x302)](_0x19882a,{'body':_0xf53a7}))['body'][_0x264746(0x3d9)];}async[_0x17863a(0x2a2)](_0x5a2180){var _0x24de05=_0x17863a;const _0x44715b=this[_0x24de05(0x47f)]()+_0x24de05(0x491);return(await this[_0x24de05(0x1f8)]['post'](_0x44715b,{'body':{'requests':_0x5a2180}}))['body'][_0x24de05(0x1b0)];}async[_0x17863a(0x2f0)](_0x68f9b){var _0x31a2e1=_0x17863a;const _0x592bb6=this['_getAPIPrefixPath']()+'/'+_0x68f9b[_0x31a2e1(0x3e7)]+_0x31a2e1(0x234),_0x5055fc=await this[_0x31a2e1(0x1f8)]['post'](_0x592bb6,{'body':_0x68f9b});return{'roles':_0x5055fc[_0x31a2e1(0x21b)][_0x31a2e1(0x4a8)],'actions':_0x5055fc[_0x31a2e1(0x21b)][_0x31a2e1(0x3d9)]};}async[_0x17863a(0x2cb)](_0x24a664){var _0x5be8e5=_0x17863a;const _0x131989=this[_0x5be8e5(0x47f)]()+'/collaborator';await this[_0x5be8e5(0x1f8)][_0x5be8e5(0x40f)](_0x131989,{'params':{'collaboratorID':_0x24a664[_0x5be8e5(0x3f6)],'objectID':_0x24a664[_0x5be8e5(0x365)],'unitID':_0x24a664[_0x5be8e5(0x418)]}});}async['updateCollaborator'](_0x3eace8){var _0x388647=_0x17863a;const _0x264431=this[_0x388647(0x47f)]()+_0x388647(0x4c6);await this[_0x388647(0x1f8)][_0x388647(0x4ea)](_0x264431,{'body':_0x3eace8});}async[_0x17863a(0x22d)](_0x544faa){var _0x10172e=_0x17863a;const _0x3ac08a=this[_0x10172e(0x47f)]()+'/collaborator';await this[_0x10172e(0x1f8)][_0x10172e(0x302)](_0x3ac08a,{'body':_0x544faa});}async[_0x17863a(0x446)](_0x58bac0){var _0x1fef82=_0x17863a;const _0x4373ae=this[_0x1fef82(0x47f)]()+_0x1fef82(0x4c6);return(await this[_0x1fef82(0x1f8)][_0x1fef82(0x1f9)](_0x4373ae,{'params':{'objectID':_0x58bac0[_0x1fef82(0x365)],'unitID':_0x58bac0['unitID']}}))['body'][_0x1fef82(0x39b)];}async[_0x17863a(0x36e)](_0x5b9496){var _0x37e749=_0x17863a;const _0x589f3e=this[_0x37e749(0x47f)]()+_0x37e749(0x4c6);await this[_0x37e749(0x1f8)]['put'](_0x589f3e,{'body':_0x5b9496});}},exports[_0x17863a(0x37b)]=Fi([Xe(0x0,a[_0x17863a(0x45c)](z[_0x17863a(0x3e6)])),Xe(0x1,a[_0x17863a(0x45c)](a[_0x17863a(0x29c)]))],exports[_0x17863a(0x37b)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x334163){var _0x271391=_0x17863a;return _0x334163&&_0x334163[_0x271391(0x1ac)]&&Object['prototype'][_0x271391(0x456)]['call'](_0x334163,_0x271391(0x4bb))?_0x334163[_0x271391(0x4bb)]:_0x334163;}var Se={'exports':{}};function Vi(_0xa0f31b){var _0x1ecd7c=_0x17863a;throw new Error(_0x1ecd7c(0x206)+_0xa0f31b+_0x1ecd7c(0x2c9));}var pe={'exports':{}},Gi=pe[_0x17863a(0x45f)],Ze;function ee(){var _0x589358=_0x17863a;return Ze||(Ze=0x1,function(_0x2fae16,_0x30f1cd){(function(_0x4d9028,_0x13fe9d){var _0x5617f7=_0x491b;_0x2fae16[_0x5617f7(0x45f)]=_0x13fe9d();}(Gi,function(){var _0x51b8c2=_0x51b8c2||function(_0x18e0a3,_0x59702a){var _0x4f1847=_0x491b,_0x275352;if(typeof window<'u'&&window[_0x4f1847(0x367)]&&(_0x275352=window[_0x4f1847(0x367)]),typeof self<'u'&&self[_0x4f1847(0x367)]&&(_0x275352=self[_0x4f1847(0x367)]),typeof globalThis<'u'&&globalThis[_0x4f1847(0x367)]&&(_0x275352=globalThis['crypto']),!_0x275352&&typeof window<'u'&&window[_0x4f1847(0x450)]&&(_0x275352=window[_0x4f1847(0x450)]),!_0x275352&&typeof Le<'u'&&Le[_0x4f1847(0x367)]&&(_0x275352=Le[_0x4f1847(0x367)]),!_0x275352&&typeof Vi==_0x4f1847(0x4d6))try{_0x275352=require(_0x4f1847(0x367));}catch{}var _0x4c0faf=function(){var _0x458d8e=_0x4f1847;if(_0x275352){if(typeof _0x275352[_0x458d8e(0x356)]=='function')try{return _0x275352['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x275352[_0x458d8e(0x4f0)]==_0x458d8e(0x4d6))try{return _0x275352['randomBytes'](0x4)[_0x458d8e(0x231)]();}catch{}}throw new Error(_0x458d8e(0x2f1));},_0x5c1a2e=Object[_0x4f1847(0x2d2)]||(function(){function _0x590747(){}return function(_0x4379c8){var _0x5b5cfe=_0x491b,_0x2340d8;return _0x590747[_0x5b5cfe(0x4a1)]=_0x4379c8,_0x2340d8=new _0x590747(),_0x590747[_0x5b5cfe(0x4a1)]=null,_0x2340d8;};}()),_0x4787ee={},_0x3672b1=_0x4787ee[_0x4f1847(0x303)]={},_0x27ada0=_0x3672b1['Base']=(function(){return{'extend':function(_0x320711){var _0x5868ee=_0x491b,_0x4cabd2=_0x5c1a2e(this);return _0x320711&&_0x4cabd2[_0x5868ee(0x41f)](_0x320711),(!_0x4cabd2[_0x5868ee(0x456)](_0x5868ee(0x257))||this['init']===_0x4cabd2[_0x5868ee(0x257)])&&(_0x4cabd2[_0x5868ee(0x257)]=function(){var _0x544ac4=_0x5868ee;_0x4cabd2[_0x544ac4(0x294)][_0x544ac4(0x257)][_0x544ac4(0x3ce)](this,arguments);}),_0x4cabd2['init'][_0x5868ee(0x4a1)]=_0x4cabd2,_0x4cabd2[_0x5868ee(0x294)]=this,_0x4cabd2;},'create':function(){var _0xdc0338=_0x491b,_0x61dd8f=this['extend']();return _0x61dd8f[_0xdc0338(0x257)][_0xdc0338(0x3ce)](_0x61dd8f,arguments),_0x61dd8f;},'init':function(){},'mixIn':function(_0x503284){var _0x11c9b5=_0x491b;for(var _0x257d60 in _0x503284)_0x503284[_0x11c9b5(0x456)](_0x257d60)&&(this[_0x257d60]=_0x503284[_0x257d60]);_0x503284['hasOwnProperty'](_0x11c9b5(0x1f5))&&(this['toString']=_0x503284['toString']);},'clone':function(){var _0x3930f2=_0x491b;return this['init']['prototype'][_0x3930f2(0x1a5)](this);}};}()),_0x3fe735=_0x3672b1[_0x4f1847(0x4f4)]=_0x27ada0['extend']({'init':function(_0x31e3b7,_0x350e3e){var _0x39df13=_0x4f1847;_0x31e3b7=this[_0x39df13(0x47b)]=_0x31e3b7||[],_0x350e3e!=_0x59702a?this[_0x39df13(0x3e4)]=_0x350e3e:this[_0x39df13(0x3e4)]=_0x31e3b7[_0x39df13(0x291)]*0x4;},'toString':function(_0x1f28e2){var _0x4630cf=_0x4f1847;return(_0x1f28e2||_0x534b30)[_0x4630cf(0x390)](this);},'concat':function(_0x24783a){var _0x32346c=_0x4f1847,_0x58df0c=this['words'],_0x4fa2f5=_0x24783a['words'],_0x163da6=this[_0x32346c(0x3e4)],_0x3075ff=_0x24783a[_0x32346c(0x3e4)];if(this[_0x32346c(0x265)](),_0x163da6%0x4)for(var _0x4db6e4=0x0;_0x4db6e4<_0x3075ff;_0x4db6e4++){var _0x382770=_0x4fa2f5[_0x4db6e4>>>0x2]>>>0x18-_0x4db6e4%0x4*0x8&0xff;_0x58df0c[_0x163da6+_0x4db6e4>>>0x2]|=_0x382770<<0x18-(_0x163da6+_0x4db6e4)%0x4*0x8;}else{for(var _0x4679ac=0x0;_0x4679ac<_0x3075ff;_0x4679ac+=0x4)_0x58df0c[_0x163da6+_0x4679ac>>>0x2]=_0x4fa2f5[_0x4679ac>>>0x2];}return this[_0x32346c(0x3e4)]+=_0x3075ff,this;},'clamp':function(){var _0x3079a2=_0x4f1847,_0x4cc575=this[_0x3079a2(0x47b)],_0x57ed42=this[_0x3079a2(0x3e4)];_0x4cc575[_0x57ed42>>>0x2]&=0xffffffff<<0x20-_0x57ed42%0x4*0x8,_0x4cc575['length']=_0x18e0a3[_0x3079a2(0x296)](_0x57ed42/0x4);},'clone':function(){var _0x217a05=_0x4f1847,_0x500ad9=_0x27ada0['clone'][_0x217a05(0x243)](this);return _0x500ad9[_0x217a05(0x47b)]=this[_0x217a05(0x47b)][_0x217a05(0x4ab)](0x0),_0x500ad9;},'random':function(_0x1dde77){var _0x5a4e08=_0x4f1847;for(var _0x58af85=[],_0x57d294=0x0;_0x57d294<_0x1dde77;_0x57d294+=0x4)_0x58af85[_0x5a4e08(0x327)](_0x4c0faf());return new _0x3fe735[(_0x5a4e08(0x257))](_0x58af85,_0x1dde77);}}),_0x1fc0ae=_0x4787ee[_0x4f1847(0x2e6)]={},_0x534b30=_0x1fc0ae[_0x4f1847(0x240)]={'stringify':function(_0x4074dd){var _0x18ce57=_0x4f1847;for(var _0x54bad5=_0x4074dd[_0x18ce57(0x47b)],_0x257835=_0x4074dd[_0x18ce57(0x3e4)],_0x4ea990=[],_0x1a497d=0x0;_0x1a497d<_0x257835;_0x1a497d++){var _0x1250a0=_0x54bad5[_0x1a497d>>>0x2]>>>0x18-_0x1a497d%0x4*0x8&0xff;_0x4ea990[_0x18ce57(0x327)]((_0x1250a0>>>0x4)['toString'](0x10)),_0x4ea990[_0x18ce57(0x327)]((_0x1250a0&0xf)[_0x18ce57(0x1f5)](0x10));}return _0x4ea990['join']('');},'parse':function(_0x206f80){var _0x232b35=_0x4f1847;for(var _0x483687=_0x206f80[_0x232b35(0x291)],_0x380b5a=[],_0x169501=0x0;_0x169501<_0x483687;_0x169501+=0x2)_0x380b5a[_0x169501>>>0x3]|=parseInt(_0x206f80['substr'](_0x169501,0x2),0x10)<<0x18-_0x169501%0x8*0x4;return new _0x3fe735[(_0x232b35(0x257))](_0x380b5a,_0x483687/0x2);}},_0x6c2eb4=_0x1fc0ae[_0x4f1847(0x3f4)]={'stringify':function(_0x29107a){var _0x3bcdb1=_0x4f1847;for(var _0x1cd730=_0x29107a[_0x3bcdb1(0x47b)],_0x124c06=_0x29107a[_0x3bcdb1(0x3e4)],_0x6aac8c=[],_0x11e2c2=0x0;_0x11e2c2<_0x124c06;_0x11e2c2++){var _0x23b364=_0x1cd730[_0x11e2c2>>>0x2]>>>0x18-_0x11e2c2%0x4*0x8&0xff;_0x6aac8c[_0x3bcdb1(0x327)](String[_0x3bcdb1(0x445)](_0x23b364));}return _0x6aac8c[_0x3bcdb1(0x266)]('');},'parse':function(_0x240978){var _0x2820bf=_0x4f1847;for(var _0x4ffa51=_0x240978[_0x2820bf(0x291)],_0x3e6a43=[],_0x483ecc=0x0;_0x483ecc<_0x4ffa51;_0x483ecc++)_0x3e6a43[_0x483ecc>>>0x2]|=(_0x240978[_0x2820bf(0x3de)](_0x483ecc)&0xff)<<0x18-_0x483ecc%0x4*0x8;return new _0x3fe735[(_0x2820bf(0x257))](_0x3e6a43,_0x4ffa51);}},_0x5b2394=_0x1fc0ae['Utf8']={'stringify':function(_0x4eedf2){var _0x2f683a=_0x4f1847;try{return decodeURIComponent(escape(_0x6c2eb4[_0x2f683a(0x390)](_0x4eedf2)));}catch{throw new Error(_0x2f683a(0x1bb));}},'parse':function(_0x24edcc){var _0x52495b=_0x4f1847;return _0x6c2eb4[_0x52495b(0x4ee)](unescape(encodeURIComponent(_0x24edcc)));}},_0x12856a=_0x3672b1['BufferedBlockAlgorithm']=_0x27ada0[_0x4f1847(0x1a5)]({'reset':function(){var _0x58391b=_0x4f1847;this[_0x58391b(0x4bd)]=new _0x3fe735['init'](),this[_0x58391b(0x2e5)]=0x0;},'_append':function(_0x492e45){var _0xb49ebe=_0x4f1847;typeof _0x492e45==_0xb49ebe(0x44c)&&(_0x492e45=_0x5b2394[_0xb49ebe(0x4ee)](_0x492e45)),this[_0xb49ebe(0x4bd)][_0xb49ebe(0x1e8)](_0x492e45),this[_0xb49ebe(0x2e5)]+=_0x492e45[_0xb49ebe(0x3e4)];},'_process':function(_0x4b72f9){var _0x1515fe=_0x4f1847,_0x26f1cb,_0x476f4d=this['_data'],_0x1591e9=_0x476f4d['words'],_0x1c4093=_0x476f4d[_0x1515fe(0x3e4)],_0x1a19f5=this[_0x1515fe(0x35f)],_0x43017f=_0x1a19f5*0x4,_0x544518=_0x1c4093/_0x43017f;_0x4b72f9?_0x544518=_0x18e0a3[_0x1515fe(0x296)](_0x544518):_0x544518=_0x18e0a3[_0x1515fe(0x399)]((_0x544518|0x0)-this['_minBufferSize'],0x0);var _0x9d9e97=_0x544518*_0x1a19f5,_0x5c0f50=_0x18e0a3[_0x1515fe(0x369)](_0x9d9e97*0x4,_0x1c4093);if(_0x9d9e97){for(var _0x1d7b79=0x0;_0x1d7b79<_0x9d9e97;_0x1d7b79+=_0x1a19f5)this[_0x1515fe(0x45d)](_0x1591e9,_0x1d7b79);_0x26f1cb=_0x1591e9[_0x1515fe(0x4ac)](0x0,_0x9d9e97),_0x476f4d[_0x1515fe(0x3e4)]-=_0x5c0f50;}return new _0x3fe735[(_0x1515fe(0x257))](_0x26f1cb,_0x5c0f50);},'clone':function(){var _0x178511=_0x4f1847,_0x4c9591=_0x27ada0[_0x178511(0x1cb)][_0x178511(0x243)](this);return _0x4c9591[_0x178511(0x4bd)]=this[_0x178511(0x4bd)][_0x178511(0x1cb)](),_0x4c9591;},'_minBufferSize':0x0});_0x3672b1[_0x4f1847(0x351)]=_0x12856a['extend']({'cfg':_0x27ada0[_0x4f1847(0x1a5)](),'init':function(_0x2a2806){var _0xcc110d=_0x4f1847;this['cfg']=this[_0xcc110d(0x26c)][_0xcc110d(0x1a5)](_0x2a2806),this[_0xcc110d(0x360)]();},'reset':function(){var _0x12098b=_0x4f1847;_0x12856a[_0x12098b(0x360)][_0x12098b(0x243)](this),this[_0x12098b(0x33c)]();},'update':function(_0x3b868c){return this['_append'](_0x3b868c),this['_process'](),this;},'finalize':function(_0x4f43b6){var _0x30af8c=_0x4f1847;_0x4f43b6&&this[_0x30af8c(0x38d)](_0x4f43b6);var _0x4b7565=this[_0x30af8c(0x469)]();return _0x4b7565;},'blockSize':0x10,'_createHelper':function(_0x3165ee){return function(_0x4f31b9,_0x5de027){var _0x4ebcca=_0x491b;return new _0x3165ee['init'](_0x5de027)[_0x4ebcca(0x273)](_0x4f31b9);};},'_createHmacHelper':function(_0x21d77d){return function(_0x1206ea,_0x3797f5){var _0x111a42=_0x491b;return new _0x8a47e5[(_0x111a42(0x3a0))][(_0x111a42(0x257))](_0x21d77d,_0x3797f5)[_0x111a42(0x273)](_0x1206ea);};}});var _0x8a47e5=_0x4787ee[_0x4f1847(0x486)]={};return _0x4787ee;}(Math);return _0x51b8c2;}));}(pe)),pe[_0x589358(0x45f)];}var ge={'exports':{}},Ki=ge[_0x17863a(0x45f)],Qe;function Dt(){var _0x5a476a=_0x17863a;return Qe||(Qe=0x1,function(_0x59c697,_0x5ba4fd){(function(_0x218fef,_0x593640){var _0x209754=_0x491b;_0x59c697[_0x209754(0x45f)]=_0x593640(ee());}(Ki,function(_0x1ec932){var _0x44f98b=_0x491b;return(function(){var _0x1f8b5e=_0x491b,_0xaeae6d=_0x1ec932,_0x57a3c9=_0xaeae6d['lib'],_0x267c77=_0x57a3c9[_0x1f8b5e(0x4f4)],_0x3530a8=_0xaeae6d[_0x1f8b5e(0x2e6)];_0x3530a8['Base64']={'stringify':function(_0x4473fa){var _0x920a0e=_0x1f8b5e,_0x1436f7=_0x4473fa['words'],_0x5f3cfe=_0x4473fa[_0x920a0e(0x3e4)],_0x50e3e3=this[_0x920a0e(0x1e6)];_0x4473fa[_0x920a0e(0x265)]();for(var _0x115775=[],_0x331839=0x0;_0x331839<_0x5f3cfe;_0x331839+=0x3)for(var _0x197191=_0x1436f7[_0x331839>>>0x2]>>>0x18-_0x331839%0x4*0x8&0xff,_0x4290f2=_0x1436f7[_0x331839+0x1>>>0x2]>>>0x18-(_0x331839+0x1)%0x4*0x8&0xff,_0x3f5c37=_0x1436f7[_0x331839+0x2>>>0x2]>>>0x18-(_0x331839+0x2)%0x4*0x8&0xff,_0x1c698e=_0x197191<<0x10|_0x4290f2<<0x8|_0x3f5c37,_0x165029=0x0;_0x165029<0x4&&_0x331839+_0x165029*0.75<_0x5f3cfe;_0x165029++)_0x115775[_0x920a0e(0x327)](_0x50e3e3[_0x920a0e(0x4a2)](_0x1c698e>>>0x6*(0x3-_0x165029)&0x3f));var _0x2c6870=_0x50e3e3[_0x920a0e(0x4a2)](0x40);if(_0x2c6870){for(;_0x115775[_0x920a0e(0x291)]%0x4;)_0x115775[_0x920a0e(0x327)](_0x2c6870);}return _0x115775['join']('');},'parse':function(_0x151b9c){var _0x31cc78=_0x1f8b5e,_0x558d98=_0x151b9c[_0x31cc78(0x291)],_0x205bb6=this[_0x31cc78(0x1e6)],_0x2dff3d=this[_0x31cc78(0x2f9)];if(!_0x2dff3d){_0x2dff3d=this[_0x31cc78(0x2f9)]=[];for(var _0x306b77=0x0;_0x306b77<_0x205bb6[_0x31cc78(0x291)];_0x306b77++)_0x2dff3d[_0x205bb6[_0x31cc78(0x3de)](_0x306b77)]=_0x306b77;}var _0x226a43=_0x205bb6[_0x31cc78(0x4a2)](0x40);if(_0x226a43){var _0x28c4fe=_0x151b9c['indexOf'](_0x226a43);_0x28c4fe!==-0x1&&(_0x558d98=_0x28c4fe);}return _0x229f0e(_0x151b9c,_0x558d98,_0x2dff3d);},'_map':_0x1f8b5e(0x48b)};function _0x229f0e(_0x2c38ba,_0x457f1d,_0x317ee3){var _0x2c7087=_0x1f8b5e;for(var _0xa10dc4=[],_0x56ebc6=0x0,_0x14d1c8=0x0;_0x14d1c8<_0x457f1d;_0x14d1c8++)if(_0x14d1c8%0x4){var _0x4159a0=_0x317ee3[_0x2c38ba[_0x2c7087(0x3de)](_0x14d1c8-0x1)]<<_0x14d1c8%0x4*0x2,_0x47518f=_0x317ee3[_0x2c38ba[_0x2c7087(0x3de)](_0x14d1c8)]>>>0x6-_0x14d1c8%0x4*0x2,_0x2ca9fd=_0x4159a0|_0x47518f;_0xa10dc4[_0x56ebc6>>>0x2]|=_0x2ca9fd<<0x18-_0x56ebc6%0x4*0x8,_0x56ebc6++;}return _0x267c77[_0x2c7087(0x2d2)](_0xa10dc4,_0x56ebc6);}}()),_0x1ec932[_0x44f98b(0x2e6)][_0x44f98b(0x416)];}));}(ge)),ge[_0x5a476a(0x45f)];}var me={'exports':{}},Yi=me[_0x17863a(0x45f)],et;function qi(){var _0xf28892=_0x17863a;return et||(et=0x1,function(_0x15614f,_0x2afc34){(function(_0x1e51bc,_0x38eafa){_0x15614f['exports']=_0x38eafa(ee());}(Yi,function(_0x7f261f){var _0x26c852=_0x491b;return function(_0x4b8979){var _0x1ff90d=_0x491b,_0x363e5c=_0x7f261f,_0x44f907=_0x363e5c[_0x1ff90d(0x303)],_0xa13882=_0x44f907['WordArray'],_0x403688=_0x44f907[_0x1ff90d(0x351)],_0x15aeb6=_0x363e5c[_0x1ff90d(0x486)],_0x5338bc=[];(function(){var _0x432bd7=_0x1ff90d;for(var _0x450065=0x0;_0x450065<0x40;_0x450065++)_0x5338bc[_0x450065]=_0x4b8979[_0x432bd7(0x25b)](_0x4b8979['sin'](_0x450065+0x1))*0x100000000|0x0;}());var _0x4b2e6c=_0x15aeb6[_0x1ff90d(0x2fc)]=_0x403688['extend']({'_doReset':function(){var _0x257adb=_0x1ff90d;this[_0x257adb(0x496)]=new _0xa13882['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x366269,_0x23c299){var _0x1ad1c7=_0x1ff90d;for(var _0x54e9fa=0x0;_0x54e9fa<0x10;_0x54e9fa++){var _0x11ff00=_0x23c299+_0x54e9fa,_0x32b1ac=_0x366269[_0x11ff00];_0x366269[_0x11ff00]=(_0x32b1ac<<0x8|_0x32b1ac>>>0x18)&0xff00ff|(_0x32b1ac<<0x18|_0x32b1ac>>>0x8)&0xff00ff00;}var _0x577cd3=this['_hash'][_0x1ad1c7(0x47b)],_0x4dd030=_0x366269[_0x23c299+0x0],_0x389916=_0x366269[_0x23c299+0x1],_0x470d9d=_0x366269[_0x23c299+0x2],_0xbfc8dc=_0x366269[_0x23c299+0x3],_0x10a465=_0x366269[_0x23c299+0x4],_0x4527dc=_0x366269[_0x23c299+0x5],_0x344009=_0x366269[_0x23c299+0x6],_0x290792=_0x366269[_0x23c299+0x7],_0x253824=_0x366269[_0x23c299+0x8],_0x284bbe=_0x366269[_0x23c299+0x9],_0xf50eb9=_0x366269[_0x23c299+0xa],_0x1a2b70=_0x366269[_0x23c299+0xb],_0x21e56d=_0x366269[_0x23c299+0xc],_0x466064=_0x366269[_0x23c299+0xd],_0x4f19cf=_0x366269[_0x23c299+0xe],_0x4276cf=_0x366269[_0x23c299+0xf],_0xccfa4=_0x577cd3[0x0],_0x42692e=_0x577cd3[0x1],_0x22aa31=_0x577cd3[0x2],_0x4f13df=_0x577cd3[0x3];_0xccfa4=_0x102bb3(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x4dd030,0x7,_0x5338bc[0x0]),_0x4f13df=_0x102bb3(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x389916,0xc,_0x5338bc[0x1]),_0x22aa31=_0x102bb3(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x470d9d,0x11,_0x5338bc[0x2]),_0x42692e=_0x102bb3(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0xbfc8dc,0x16,_0x5338bc[0x3]),_0xccfa4=_0x102bb3(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x10a465,0x7,_0x5338bc[0x4]),_0x4f13df=_0x102bb3(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x4527dc,0xc,_0x5338bc[0x5]),_0x22aa31=_0x102bb3(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x344009,0x11,_0x5338bc[0x6]),_0x42692e=_0x102bb3(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x290792,0x16,_0x5338bc[0x7]),_0xccfa4=_0x102bb3(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x253824,0x7,_0x5338bc[0x8]),_0x4f13df=_0x102bb3(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x284bbe,0xc,_0x5338bc[0x9]),_0x22aa31=_0x102bb3(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0xf50eb9,0x11,_0x5338bc[0xa]),_0x42692e=_0x102bb3(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x1a2b70,0x16,_0x5338bc[0xb]),_0xccfa4=_0x102bb3(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x21e56d,0x7,_0x5338bc[0xc]),_0x4f13df=_0x102bb3(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x466064,0xc,_0x5338bc[0xd]),_0x22aa31=_0x102bb3(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x4f19cf,0x11,_0x5338bc[0xe]),_0x42692e=_0x102bb3(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x4276cf,0x16,_0x5338bc[0xf]),_0xccfa4=_0x565729(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x389916,0x5,_0x5338bc[0x10]),_0x4f13df=_0x565729(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x344009,0x9,_0x5338bc[0x11]),_0x22aa31=_0x565729(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x1a2b70,0xe,_0x5338bc[0x12]),_0x42692e=_0x565729(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x4dd030,0x14,_0x5338bc[0x13]),_0xccfa4=_0x565729(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x4527dc,0x5,_0x5338bc[0x14]),_0x4f13df=_0x565729(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0xf50eb9,0x9,_0x5338bc[0x15]),_0x22aa31=_0x565729(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x4276cf,0xe,_0x5338bc[0x16]),_0x42692e=_0x565729(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x10a465,0x14,_0x5338bc[0x17]),_0xccfa4=_0x565729(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x284bbe,0x5,_0x5338bc[0x18]),_0x4f13df=_0x565729(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x4f19cf,0x9,_0x5338bc[0x19]),_0x22aa31=_0x565729(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0xbfc8dc,0xe,_0x5338bc[0x1a]),_0x42692e=_0x565729(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x253824,0x14,_0x5338bc[0x1b]),_0xccfa4=_0x565729(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x466064,0x5,_0x5338bc[0x1c]),_0x4f13df=_0x565729(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x470d9d,0x9,_0x5338bc[0x1d]),_0x22aa31=_0x565729(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x290792,0xe,_0x5338bc[0x1e]),_0x42692e=_0x565729(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x21e56d,0x14,_0x5338bc[0x1f]),_0xccfa4=_0x3d6d81(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x4527dc,0x4,_0x5338bc[0x20]),_0x4f13df=_0x3d6d81(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x253824,0xb,_0x5338bc[0x21]),_0x22aa31=_0x3d6d81(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x1a2b70,0x10,_0x5338bc[0x22]),_0x42692e=_0x3d6d81(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x4f19cf,0x17,_0x5338bc[0x23]),_0xccfa4=_0x3d6d81(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x389916,0x4,_0x5338bc[0x24]),_0x4f13df=_0x3d6d81(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x10a465,0xb,_0x5338bc[0x25]),_0x22aa31=_0x3d6d81(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x290792,0x10,_0x5338bc[0x26]),_0x42692e=_0x3d6d81(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0xf50eb9,0x17,_0x5338bc[0x27]),_0xccfa4=_0x3d6d81(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x466064,0x4,_0x5338bc[0x28]),_0x4f13df=_0x3d6d81(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x4dd030,0xb,_0x5338bc[0x29]),_0x22aa31=_0x3d6d81(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0xbfc8dc,0x10,_0x5338bc[0x2a]),_0x42692e=_0x3d6d81(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x344009,0x17,_0x5338bc[0x2b]),_0xccfa4=_0x3d6d81(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x284bbe,0x4,_0x5338bc[0x2c]),_0x4f13df=_0x3d6d81(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x21e56d,0xb,_0x5338bc[0x2d]),_0x22aa31=_0x3d6d81(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x4276cf,0x10,_0x5338bc[0x2e]),_0x42692e=_0x3d6d81(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x470d9d,0x17,_0x5338bc[0x2f]),_0xccfa4=_0x28d03d(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x4dd030,0x6,_0x5338bc[0x30]),_0x4f13df=_0x28d03d(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x290792,0xa,_0x5338bc[0x31]),_0x22aa31=_0x28d03d(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x4f19cf,0xf,_0x5338bc[0x32]),_0x42692e=_0x28d03d(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x4527dc,0x15,_0x5338bc[0x33]),_0xccfa4=_0x28d03d(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x21e56d,0x6,_0x5338bc[0x34]),_0x4f13df=_0x28d03d(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0xbfc8dc,0xa,_0x5338bc[0x35]),_0x22aa31=_0x28d03d(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0xf50eb9,0xf,_0x5338bc[0x36]),_0x42692e=_0x28d03d(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x389916,0x15,_0x5338bc[0x37]),_0xccfa4=_0x28d03d(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x253824,0x6,_0x5338bc[0x38]),_0x4f13df=_0x28d03d(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x4276cf,0xa,_0x5338bc[0x39]),_0x22aa31=_0x28d03d(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x344009,0xf,_0x5338bc[0x3a]),_0x42692e=_0x28d03d(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x466064,0x15,_0x5338bc[0x3b]),_0xccfa4=_0x28d03d(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x10a465,0x6,_0x5338bc[0x3c]),_0x4f13df=_0x28d03d(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x1a2b70,0xa,_0x5338bc[0x3d]),_0x22aa31=_0x28d03d(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x470d9d,0xf,_0x5338bc[0x3e]),_0x42692e=_0x28d03d(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x284bbe,0x15,_0x5338bc[0x3f]),_0x577cd3[0x0]=_0x577cd3[0x0]+_0xccfa4|0x0,_0x577cd3[0x1]=_0x577cd3[0x1]+_0x42692e|0x0,_0x577cd3[0x2]=_0x577cd3[0x2]+_0x22aa31|0x0,_0x577cd3[0x3]=_0x577cd3[0x3]+_0x4f13df|0x0;},'_doFinalize':function(){var _0x1b61b9=_0x1ff90d,_0x4a5ec3=this[_0x1b61b9(0x4bd)],_0x1c9295=_0x4a5ec3[_0x1b61b9(0x47b)],_0x32207f=this[_0x1b61b9(0x2e5)]*0x8,_0x152326=_0x4a5ec3[_0x1b61b9(0x3e4)]*0x8;_0x1c9295[_0x152326>>>0x5]|=0x80<<0x18-_0x152326%0x20;var _0x1a5584=_0x4b8979['floor'](_0x32207f/0x100000000),_0x1bf9c8=_0x32207f;_0x1c9295[(_0x152326+0x40>>>0x9<<0x4)+0xf]=(_0x1a5584<<0x8|_0x1a5584>>>0x18)&0xff00ff|(_0x1a5584<<0x18|_0x1a5584>>>0x8)&0xff00ff00,_0x1c9295[(_0x152326+0x40>>>0x9<<0x4)+0xe]=(_0x1bf9c8<<0x8|_0x1bf9c8>>>0x18)&0xff00ff|(_0x1bf9c8<<0x18|_0x1bf9c8>>>0x8)&0xff00ff00,_0x4a5ec3[_0x1b61b9(0x3e4)]=(_0x1c9295[_0x1b61b9(0x291)]+0x1)*0x4,this[_0x1b61b9(0x2e2)]();for(var _0x114843=this[_0x1b61b9(0x496)],_0x372f46=_0x114843[_0x1b61b9(0x47b)],_0x250a92=0x0;_0x250a92<0x4;_0x250a92++){var _0x34e785=_0x372f46[_0x250a92];_0x372f46[_0x250a92]=(_0x34e785<<0x8|_0x34e785>>>0x18)&0xff00ff|(_0x34e785<<0x18|_0x34e785>>>0x8)&0xff00ff00;}return _0x114843;},'clone':function(){var _0x56e1f1=_0x1ff90d,_0x371f54=_0x403688[_0x56e1f1(0x1cb)][_0x56e1f1(0x243)](this);return _0x371f54[_0x56e1f1(0x496)]=this[_0x56e1f1(0x496)][_0x56e1f1(0x1cb)](),_0x371f54;}});function _0x102bb3(_0x23d184,_0x4333b4,_0x2113fb,_0x4b7321,_0x5a76e9,_0x3e903d,_0x4c2080){var _0x38b3ee=_0x23d184+(_0x4333b4&_0x2113fb|~_0x4333b4&_0x4b7321)+_0x5a76e9+_0x4c2080;return(_0x38b3ee<<_0x3e903d|_0x38b3ee>>>0x20-_0x3e903d)+_0x4333b4;}function _0x565729(_0x483931,_0x499c15,_0x3306db,_0x2bf9c6,_0x2038c4,_0x3f9ca0,_0x1c1f22){var _0x5d03f8=_0x483931+(_0x499c15&_0x2bf9c6|_0x3306db&~_0x2bf9c6)+_0x2038c4+_0x1c1f22;return(_0x5d03f8<<_0x3f9ca0|_0x5d03f8>>>0x20-_0x3f9ca0)+_0x499c15;}function _0x3d6d81(_0x2167dd,_0x314c9a,_0x320baf,_0x3eb8c6,_0x154bc9,_0x1a9cac,_0x19ce29){var _0x116742=_0x2167dd+(_0x314c9a^_0x320baf^_0x3eb8c6)+_0x154bc9+_0x19ce29;return(_0x116742<<_0x1a9cac|_0x116742>>>0x20-_0x1a9cac)+_0x314c9a;}function _0x28d03d(_0x3def18,_0x4c480c,_0x3c4cdb,_0x2ae820,_0x58ac20,_0x508b05,_0x201777){var _0x27ce22=_0x3def18+(_0x3c4cdb^(_0x4c480c|~_0x2ae820))+_0x58ac20+_0x201777;return(_0x27ce22<<_0x508b05|_0x27ce22>>>0x20-_0x508b05)+_0x4c480c;}_0x363e5c[_0x1ff90d(0x2fc)]=_0x403688['_createHelper'](_0x4b2e6c),_0x363e5c[_0x1ff90d(0x193)]=_0x403688[_0x1ff90d(0x30a)](_0x4b2e6c);}(Math),_0x7f261f[_0x26c852(0x2fc)];}));}(me)),me[_0xf28892(0x45f)];}var Ie={'exports':{}},Ee={'exports':{}},zi=Ee['exports'],tt;function Ji(){var _0x3f323a=_0x17863a;return tt||(tt=0x1,function(_0x1f39ea,_0x4f84f0){(function(_0x14a9a3,_0x17db8b){var _0x1c9ba7=_0x491b;_0x1f39ea[_0x1c9ba7(0x45f)]=_0x17db8b(ee());}(zi,function(_0x32994c){return(function(){var _0x2d2c00=_0x491b,_0x59ded7=_0x32994c,_0x4de431=_0x59ded7['lib'],_0x22e812=_0x4de431['WordArray'],_0x5642ac=_0x4de431[_0x2d2c00(0x351)],_0x52655b=_0x59ded7[_0x2d2c00(0x486)],_0x433b16=[],_0x508a35=_0x52655b[_0x2d2c00(0x3ee)]=_0x5642ac[_0x2d2c00(0x1a5)]({'_doReset':function(){var _0x75dba7=_0x2d2c00;this[_0x75dba7(0x496)]=new _0x22e812[(_0x75dba7(0x257))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4d0854,_0x19cf53){var _0x21326d=_0x2d2c00;for(var _0x46684a=this[_0x21326d(0x496)][_0x21326d(0x47b)],_0x4a29aa=_0x46684a[0x0],_0x356a03=_0x46684a[0x1],_0x74fdb9=_0x46684a[0x2],_0xeb1a63=_0x46684a[0x3],_0x548b0e=_0x46684a[0x4],_0x4923f7=0x0;_0x4923f7<0x50;_0x4923f7++){if(_0x4923f7<0x10)_0x433b16[_0x4923f7]=_0x4d0854[_0x19cf53+_0x4923f7]|0x0;else{var _0x1ed79e=_0x433b16[_0x4923f7-0x3]^_0x433b16[_0x4923f7-0x8]^_0x433b16[_0x4923f7-0xe]^_0x433b16[_0x4923f7-0x10];_0x433b16[_0x4923f7]=_0x1ed79e<<0x1|_0x1ed79e>>>0x1f;}var _0x8e16e5=(_0x4a29aa<<0x5|_0x4a29aa>>>0x1b)+_0x548b0e+_0x433b16[_0x4923f7];_0x4923f7<0x14?_0x8e16e5+=(_0x356a03&_0x74fdb9|~_0x356a03&_0xeb1a63)+0x5a827999:_0x4923f7<0x28?_0x8e16e5+=(_0x356a03^_0x74fdb9^_0xeb1a63)+0x6ed9eba1:_0x4923f7<0x3c?_0x8e16e5+=(_0x356a03&_0x74fdb9|_0x356a03&_0xeb1a63|_0x74fdb9&_0xeb1a63)-0x70e44324:_0x8e16e5+=(_0x356a03^_0x74fdb9^_0xeb1a63)-0x359d3e2a,_0x548b0e=_0xeb1a63,_0xeb1a63=_0x74fdb9,_0x74fdb9=_0x356a03<<0x1e|_0x356a03>>>0x2,_0x356a03=_0x4a29aa,_0x4a29aa=_0x8e16e5;}_0x46684a[0x0]=_0x46684a[0x0]+_0x4a29aa|0x0,_0x46684a[0x1]=_0x46684a[0x1]+_0x356a03|0x0,_0x46684a[0x2]=_0x46684a[0x2]+_0x74fdb9|0x0,_0x46684a[0x3]=_0x46684a[0x3]+_0xeb1a63|0x0,_0x46684a[0x4]=_0x46684a[0x4]+_0x548b0e|0x0;},'_doFinalize':function(){var _0x359964=_0x2d2c00,_0x6a6bbc=this[_0x359964(0x4bd)],_0x289882=_0x6a6bbc['words'],_0x12acb0=this[_0x359964(0x2e5)]*0x8,_0x3266d3=_0x6a6bbc[_0x359964(0x3e4)]*0x8;return _0x289882[_0x3266d3>>>0x5]|=0x80<<0x18-_0x3266d3%0x20,_0x289882[(_0x3266d3+0x40>>>0x9<<0x4)+0xe]=Math[_0x359964(0x377)](_0x12acb0/0x100000000),_0x289882[(_0x3266d3+0x40>>>0x9<<0x4)+0xf]=_0x12acb0,_0x6a6bbc['sigBytes']=_0x289882['length']*0x4,this[_0x359964(0x2e2)](),this[_0x359964(0x496)];},'clone':function(){var _0x4b100d=_0x2d2c00,_0xd96c06=_0x5642ac['clone']['call'](this);return _0xd96c06[_0x4b100d(0x496)]=this['_hash'][_0x4b100d(0x1cb)](),_0xd96c06;}});_0x59ded7['SHA1']=_0x5642ac[_0x2d2c00(0x25d)](_0x508a35),_0x59ded7['HmacSHA1']=_0x5642ac[_0x2d2c00(0x30a)](_0x508a35);}()),_0x32994c['SHA1'];}));}(Ee)),Ee[_0x3f323a(0x45f)];}var Ce={'exports':{}},Xi=Ce[_0x17863a(0x45f)],it;function Zi(){var _0x509d79=_0x17863a;return it||(it=0x1,function(_0x380898,_0x21cd42){(function(_0x3d6ae6,_0x15a5ec){var _0x36ea65=_0x491b;_0x380898[_0x36ea65(0x45f)]=_0x15a5ec(ee());}(Xi,function(_0x431f09){(function(){var _0x2cc457=_0x491b,_0x201885=_0x431f09,_0x2059db=_0x201885[_0x2cc457(0x303)],_0x4e2971=_0x2059db[_0x2cc457(0x378)],_0x1c222b=_0x201885['enc'],_0x549300=_0x1c222b[_0x2cc457(0x3bb)],_0x2ab925=_0x201885[_0x2cc457(0x486)];_0x2ab925[_0x2cc457(0x3a0)]=_0x4e2971['extend']({'init':function(_0x37bf5e,_0x17a9a1){var _0x51da02=_0x2cc457;_0x37bf5e=this[_0x51da02(0x2bd)]=new _0x37bf5e['init'](),typeof _0x17a9a1==_0x51da02(0x44c)&&(_0x17a9a1=_0x549300['parse'](_0x17a9a1));var _0x2352cb=_0x37bf5e['blockSize'],_0x3ed44d=_0x2352cb*0x4;_0x17a9a1[_0x51da02(0x3e4)]>_0x3ed44d&&(_0x17a9a1=_0x37bf5e[_0x51da02(0x273)](_0x17a9a1)),_0x17a9a1[_0x51da02(0x265)]();for(var _0x35853f=this[_0x51da02(0x39c)]=_0x17a9a1[_0x51da02(0x1cb)](),_0xf1e8c7=this['_iKey']=_0x17a9a1[_0x51da02(0x1cb)](),_0x2ab2ae=_0x35853f[_0x51da02(0x47b)],_0xe27949=_0xf1e8c7['words'],_0x7ee0b=0x0;_0x7ee0b<_0x2352cb;_0x7ee0b++)_0x2ab2ae[_0x7ee0b]^=0x5c5c5c5c,_0xe27949[_0x7ee0b]^=0x36363636;_0x35853f['sigBytes']=_0xf1e8c7[_0x51da02(0x3e4)]=_0x3ed44d,this['reset']();},'reset':function(){var _0x3594e7=_0x2cc457,_0x4a139a=this[_0x3594e7(0x2bd)];_0x4a139a[_0x3594e7(0x360)](),_0x4a139a['update'](this[_0x3594e7(0x4d1)]);},'update':function(_0x3dd937){var _0xdd7ad0=_0x2cc457;return this[_0xdd7ad0(0x2bd)]['update'](_0x3dd937),this;},'finalize':function(_0x2ea28f){var _0x1b0f25=_0x2cc457,_0x5ac461=this[_0x1b0f25(0x2bd)],_0x44785e=_0x5ac461['finalize'](_0x2ea28f);_0x5ac461[_0x1b0f25(0x360)]();var _0x39c635=_0x5ac461[_0x1b0f25(0x273)](this['_oKey'][_0x1b0f25(0x1cb)]()[_0x1b0f25(0x1e8)](_0x44785e));return _0x39c635;}});}());}));}(Ce)),Ce[_0x509d79(0x45f)];}var Qi=Ie[_0x17863a(0x45f)],nt;function Nt(){var _0x2f1717=_0x17863a;return nt||(nt=0x1,function(_0x392863,_0xed7f76){(function(_0x510500,_0x2fb5e9,_0x4b5b48){_0x392863['exports']=_0x2fb5e9(ee(),Ji(),Zi());}(Qi,function(_0x33dc45){var _0x5aa6ac=_0x491b;return(function(){var _0x91b619=_0x491b,_0x27ad13=_0x33dc45,_0x55c32d=_0x27ad13['lib'],_0x120b9c=_0x55c32d[_0x91b619(0x378)],_0x58852=_0x55c32d[_0x91b619(0x4f4)],_0x122c94=_0x27ad13['algo'],_0x4f2079=_0x122c94['MD5'],_0x340c8e=_0x122c94[_0x91b619(0x435)]=_0x120b9c[_0x91b619(0x1a5)]({'cfg':_0x120b9c[_0x91b619(0x1a5)]({'keySize':0x80/0x20,'hasher':_0x4f2079,'iterations':0x1}),'init':function(_0x316aee){var _0x4e9524=_0x91b619;this[_0x4e9524(0x26c)]=this[_0x4e9524(0x26c)][_0x4e9524(0x1a5)](_0x316aee);},'compute':function(_0x1a8219,_0x201d37){var _0x396556=_0x91b619;for(var _0x33b06e,_0x120d10=this[_0x396556(0x26c)],_0x396776=_0x120d10[_0x396556(0x48c)][_0x396556(0x2d2)](),_0x2fef2e=_0x58852[_0x396556(0x2d2)](),_0x607e53=_0x2fef2e[_0x396556(0x47b)],_0x20b9f1=_0x120d10[_0x396556(0x24b)],_0x4e37e4=_0x120d10[_0x396556(0x3b9)];_0x607e53['length']<_0x20b9f1;){_0x33b06e&&_0x396776['update'](_0x33b06e),_0x33b06e=_0x396776[_0x396556(0x1b1)](_0x1a8219)['finalize'](_0x201d37),_0x396776[_0x396556(0x360)]();for(var _0x904033=0x1;_0x904033<_0x4e37e4;_0x904033++)_0x33b06e=_0x396776['finalize'](_0x33b06e),_0x396776['reset']();_0x2fef2e[_0x396556(0x1e8)](_0x33b06e);}return _0x2fef2e[_0x396556(0x3e4)]=_0x20b9f1*0x4,_0x2fef2e;}});_0x27ad13[_0x91b619(0x435)]=function(_0x39bd35,_0x209ba2,_0x5944a2){var _0x2e02dd=_0x91b619;return _0x340c8e[_0x2e02dd(0x2d2)](_0x5944a2)['compute'](_0x39bd35,_0x209ba2);};}()),_0x33dc45[_0x5aa6ac(0x435)];}));}(Ie)),Ie[_0x2f1717(0x45f)];}var Te={'exports':{}},en=Te['exports'],rt;function wt(){var _0x836b34=_0x17863a;return rt||(rt=0x1,function(_0x27146d,_0x492f97){(function(_0x2735b7,_0x78d960,_0x176fc2){var _0x5f590d=_0x491b;_0x27146d[_0x5f590d(0x45f)]=_0x78d960(ee(),Nt());}(en,function(_0x4c0842){var _0x190042=_0x491b;_0x4c0842[_0x190042(0x303)][_0x190042(0x506)]||function(_0x2b0f52){var _0x28e532=_0x190042,_0x10ad87=_0x4c0842,_0x98102f=_0x10ad87['lib'],_0x15730c=_0x98102f['Base'],_0x5d99c7=_0x98102f[_0x28e532(0x4f4)],_0x5b9b94=_0x98102f[_0x28e532(0x26d)],_0x590d6b=_0x10ad87[_0x28e532(0x2e6)];_0x590d6b[_0x28e532(0x3bb)];var _0x5e5d2d=_0x590d6b[_0x28e532(0x416)],_0x5ecc67=_0x10ad87[_0x28e532(0x486)],_0x2f7696=_0x5ecc67[_0x28e532(0x435)],_0x3fb386=_0x98102f['Cipher']=_0x5b9b94['extend']({'cfg':_0x15730c[_0x28e532(0x1a5)](),'createEncryptor':function(_0x593cb2,_0x537572){var _0x1dcb1b=_0x28e532;return this['create'](this[_0x1dcb1b(0x29b)],_0x593cb2,_0x537572);},'createDecryptor':function(_0x1782dc,_0x5cf78e){var _0x2f5598=_0x28e532;return this[_0x2f5598(0x2d2)](this[_0x2f5598(0x4e5)],_0x1782dc,_0x5cf78e);},'init':function(_0x26f4af,_0x551572,_0x188fd0){var _0x577716=_0x28e532;this[_0x577716(0x26c)]=this[_0x577716(0x26c)]['extend'](_0x188fd0),this[_0x577716(0x424)]=_0x26f4af,this[_0x577716(0x2c6)]=_0x551572,this['reset']();},'reset':function(){var _0x561859=_0x28e532;_0x5b9b94[_0x561859(0x360)][_0x561859(0x243)](this),this[_0x561859(0x33c)]();},'process':function(_0x2dd21c){var _0x56cb7c=_0x28e532;return this[_0x56cb7c(0x38d)](_0x2dd21c),this[_0x56cb7c(0x2e2)]();},'finalize':function(_0x18c8ff){var _0x4e0a22=_0x28e532;_0x18c8ff&&this[_0x4e0a22(0x38d)](_0x18c8ff);var _0x4d6b08=this['_doFinalize']();return _0x4d6b08;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4e5c1d(_0x58f3ac){var _0xdd7493=_0x491b;return typeof _0x58f3ac==_0xdd7493(0x44c)?_0x4a9dc7:_0x16429e;}return function(_0x487da5){return{'encrypt':function(_0x1951b7,_0x4ec175,_0x5415e4){return _0x4e5c1d(_0x4ec175)['encrypt'](_0x487da5,_0x1951b7,_0x4ec175,_0x5415e4);},'decrypt':function(_0x55ab7c,_0x16330d,_0x2eb1ab){return _0x4e5c1d(_0x16330d)['decrypt'](_0x487da5,_0x55ab7c,_0x16330d,_0x2eb1ab);}};};}())});_0x98102f[_0x28e532(0x2e1)]=_0x3fb386[_0x28e532(0x1a5)]({'_doFinalize':function(){var _0x2fdc1d=this['_process'](!0x0);return _0x2fdc1d;},'blockSize':0x1});var _0x166c24=_0x10ad87[_0x28e532(0x191)]={},_0x26bd79=_0x98102f[_0x28e532(0x4a5)]=_0x15730c[_0x28e532(0x1a5)]({'createEncryptor':function(_0x29560a,_0x576eb0){var _0x9a92c4=_0x28e532;return this['Encryptor'][_0x9a92c4(0x2d2)](_0x29560a,_0x576eb0);},'createDecryptor':function(_0x171563,_0x1aa306){var _0x3f615c=_0x28e532;return this[_0x3f615c(0x20e)][_0x3f615c(0x2d2)](_0x171563,_0x1aa306);},'init':function(_0x12095d,_0x5c6bd8){var _0x5d34a1=_0x28e532;this['_cipher']=_0x12095d,this[_0x5d34a1(0x465)]=_0x5c6bd8;}}),_0x120886=_0x166c24[_0x28e532(0x1a8)]=(function(){var _0x23c395=_0x28e532,_0x388098=_0x26bd79['extend']();_0x388098[_0x23c395(0x20f)]=_0x388098['extend']({'processBlock':function(_0xa4a17a,_0x31dfe8){var _0x231c9c=_0x23c395,_0x1971b5=this[_0x231c9c(0x1dd)],_0x2acad2=_0x1971b5[_0x231c9c(0x35f)];_0x50ae07[_0x231c9c(0x243)](this,_0xa4a17a,_0x31dfe8,_0x2acad2),_0x1971b5[_0x231c9c(0x43f)](_0xa4a17a,_0x31dfe8),this['_prevBlock']=_0xa4a17a['slice'](_0x31dfe8,_0x31dfe8+_0x2acad2);}}),_0x388098[_0x23c395(0x20e)]=_0x388098[_0x23c395(0x1a5)]({'processBlock':function(_0x10fb9a,_0x335302){var _0x177315=_0x23c395,_0x1c0010=this[_0x177315(0x1dd)],_0x46c3cb=_0x1c0010[_0x177315(0x35f)],_0x42cb6c=_0x10fb9a[_0x177315(0x4ab)](_0x335302,_0x335302+_0x46c3cb);_0x1c0010[_0x177315(0x429)](_0x10fb9a,_0x335302),_0x50ae07[_0x177315(0x243)](this,_0x10fb9a,_0x335302,_0x46c3cb),this[_0x177315(0x3fd)]=_0x42cb6c;}});function _0x50ae07(_0x145d1d,_0x3cf26d,_0x3a031f){var _0x37ea7b=_0x23c395,_0x1e2c2c,_0x24341f=this[_0x37ea7b(0x465)];_0x24341f?(_0x1e2c2c=_0x24341f,this[_0x37ea7b(0x465)]=_0x2b0f52):_0x1e2c2c=this[_0x37ea7b(0x3fd)];for(var _0x14188a=0x0;_0x14188a<_0x3a031f;_0x14188a++)_0x145d1d[_0x3cf26d+_0x14188a]^=_0x1e2c2c[_0x14188a];}return _0x388098;}()),_0x160f15=_0x10ad87[_0x28e532(0x2d5)]={},_0x4e718c=_0x160f15[_0x28e532(0x4d9)]={'pad':function(_0x503852,_0x55c96e){var _0x41f3af=_0x28e532;for(var _0x1da6a1=_0x55c96e*0x4,_0x114fa0=_0x1da6a1-_0x503852[_0x41f3af(0x3e4)]%_0x1da6a1,_0x1d0fdd=_0x114fa0<<0x18|_0x114fa0<<0x10|_0x114fa0<<0x8|_0x114fa0,_0x46be32=[],_0x560749=0x0;_0x560749<_0x114fa0;_0x560749+=0x4)_0x46be32[_0x41f3af(0x327)](_0x1d0fdd);var _0x4fcc2b=_0x5d99c7[_0x41f3af(0x2d2)](_0x46be32,_0x114fa0);_0x503852[_0x41f3af(0x1e8)](_0x4fcc2b);},'unpad':function(_0x18b202){var _0x314143=_0x28e532,_0x3b589c=_0x18b202['words'][_0x18b202[_0x314143(0x3e4)]-0x1>>>0x2]&0xff;_0x18b202[_0x314143(0x3e4)]-=_0x3b589c;}};_0x98102f[_0x28e532(0x3ba)]=_0x3fb386[_0x28e532(0x1a5)]({'cfg':_0x3fb386[_0x28e532(0x26c)][_0x28e532(0x1a5)]({'mode':_0x120886,'padding':_0x4e718c}),'reset':function(){var _0x227033=_0x28e532,_0x53944c;_0x3fb386[_0x227033(0x360)][_0x227033(0x243)](this);var _0x287ee5=this[_0x227033(0x26c)],_0x1541a4=_0x287ee5['iv'],_0x34c061=_0x287ee5['mode'];this[_0x227033(0x424)]==this[_0x227033(0x29b)]?_0x53944c=_0x34c061['createEncryptor']:(_0x53944c=_0x34c061[_0x227033(0x27e)],this[_0x227033(0x4d8)]=0x1),this[_0x227033(0x4b3)]&&this[_0x227033(0x4b3)][_0x227033(0x2a0)]==_0x53944c?this[_0x227033(0x4b3)][_0x227033(0x257)](this,_0x1541a4&&_0x1541a4[_0x227033(0x47b)]):(this[_0x227033(0x4b3)]=_0x53944c[_0x227033(0x243)](_0x34c061,this,_0x1541a4&&_0x1541a4[_0x227033(0x47b)]),this['_mode'][_0x227033(0x2a0)]=_0x53944c);},'_doProcessBlock':function(_0x2af246,_0x4b0a9a){var _0x3f72c5=_0x28e532;this[_0x3f72c5(0x4b3)][_0x3f72c5(0x49b)](_0x2af246,_0x4b0a9a);},'_doFinalize':function(){var _0x43ace8=_0x28e532,_0x99bef6,_0x15e6c1=this[_0x43ace8(0x26c)][_0x43ace8(0x3bc)];return this[_0x43ace8(0x424)]==this[_0x43ace8(0x29b)]?(_0x15e6c1[_0x43ace8(0x2d5)](this[_0x43ace8(0x4bd)],this[_0x43ace8(0x35f)]),_0x99bef6=this['_process'](!0x0)):(_0x99bef6=this[_0x43ace8(0x2e2)](!0x0),_0x15e6c1[_0x43ace8(0x34f)](_0x99bef6)),_0x99bef6;},'blockSize':0x80/0x20});var _0x36a884=_0x98102f[_0x28e532(0x413)]=_0x15730c[_0x28e532(0x1a5)]({'init':function(_0x183fe4){var _0x208f69=_0x28e532;this[_0x208f69(0x41f)](_0x183fe4);},'toString':function(_0x23aa92){var _0x69eaa0=_0x28e532;return(_0x23aa92||this[_0x69eaa0(0x352)])[_0x69eaa0(0x390)](this);}}),_0x4c6669=_0x10ad87[_0x28e532(0x28b)]={},_0x11b5bf=_0x4c6669[_0x28e532(0x384)]={'stringify':function(_0x3a1272){var _0x4e9ee8=_0x28e532,_0x55e409,_0x49f187=_0x3a1272[_0x4e9ee8(0x3e0)],_0xe3e141=_0x3a1272[_0x4e9ee8(0x268)];return _0xe3e141?_0x55e409=_0x5d99c7[_0x4e9ee8(0x2d2)]([0x53616c74,0x65645f5f])[_0x4e9ee8(0x1e8)](_0xe3e141)[_0x4e9ee8(0x1e8)](_0x49f187):_0x55e409=_0x49f187,_0x55e409[_0x4e9ee8(0x1f5)](_0x5e5d2d);},'parse':function(_0x5b394d){var _0xb3368f=_0x28e532,_0x142a22,_0x5315c6=_0x5e5d2d[_0xb3368f(0x4ee)](_0x5b394d),_0xd32dc8=_0x5315c6['words'];return _0xd32dc8[0x0]==0x53616c74&&_0xd32dc8[0x1]==0x65645f5f&&(_0x142a22=_0x5d99c7[_0xb3368f(0x2d2)](_0xd32dc8['slice'](0x2,0x4)),_0xd32dc8[_0xb3368f(0x4ac)](0x0,0x4),_0x5315c6['sigBytes']-=0x10),_0x36a884[_0xb3368f(0x2d2)]({'ciphertext':_0x5315c6,'salt':_0x142a22});}},_0x16429e=_0x98102f[_0x28e532(0x4df)]=_0x15730c[_0x28e532(0x1a5)]({'cfg':_0x15730c[_0x28e532(0x1a5)]({'format':_0x11b5bf}),'encrypt':function(_0x55ad10,_0x28899d,_0x3c02db,_0x5dcc51){var _0x583738=_0x28e532;_0x5dcc51=this[_0x583738(0x26c)][_0x583738(0x1a5)](_0x5dcc51);var _0x2ae0da=_0x55ad10['createEncryptor'](_0x3c02db,_0x5dcc51),_0x2a9050=_0x2ae0da[_0x583738(0x273)](_0x28899d),_0x5c6791=_0x2ae0da['cfg'];return _0x36a884[_0x583738(0x2d2)]({'ciphertext':_0x2a9050,'key':_0x3c02db,'iv':_0x5c6791['iv'],'algorithm':_0x55ad10,'mode':_0x5c6791[_0x583738(0x191)],'padding':_0x5c6791['padding'],'blockSize':_0x55ad10['blockSize'],'formatter':_0x5dcc51[_0x583738(0x28b)]});},'decrypt':function(_0x286fea,_0x578d70,_0x5ef62a,_0x191288){var _0xa02071=_0x28e532;_0x191288=this[_0xa02071(0x26c)][_0xa02071(0x1a5)](_0x191288),_0x578d70=this[_0xa02071(0x3d6)](_0x578d70,_0x191288['format']);var _0x255698=_0x286fea[_0xa02071(0x27e)](_0x5ef62a,_0x191288)[_0xa02071(0x273)](_0x578d70[_0xa02071(0x3e0)]);return _0x255698;},'_parse':function(_0x333ae0,_0x3aee10){var _0x51fc08=_0x28e532;return typeof _0x333ae0==_0x51fc08(0x44c)?_0x3aee10[_0x51fc08(0x4ee)](_0x333ae0,this):_0x333ae0;}}),_0x12e60e=_0x10ad87['kdf']={},_0x5ca759=_0x12e60e[_0x28e532(0x384)]={'execute':function(_0x14a061,_0x5a7a27,_0x26d914,_0x487be5,_0x3e78fa){var _0xd1877c=_0x28e532;if(_0x487be5||(_0x487be5=_0x5d99c7[_0xd1877c(0x1cf)](0x40/0x8)),_0x3e78fa)var _0x105792=_0x2f7696['create']({'keySize':_0x5a7a27+_0x26d914,'hasher':_0x3e78fa})[_0xd1877c(0x336)](_0x14a061,_0x487be5);else var _0x105792=_0x2f7696[_0xd1877c(0x2d2)]({'keySize':_0x5a7a27+_0x26d914})['compute'](_0x14a061,_0x487be5);var _0x1d24cb=_0x5d99c7[_0xd1877c(0x2d2)](_0x105792[_0xd1877c(0x47b)][_0xd1877c(0x4ab)](_0x5a7a27),_0x26d914*0x4);return _0x105792[_0xd1877c(0x3e4)]=_0x5a7a27*0x4,_0x36a884[_0xd1877c(0x2d2)]({'key':_0x105792,'iv':_0x1d24cb,'salt':_0x487be5});}},_0x4a9dc7=_0x98102f[_0x28e532(0x4ed)]=_0x16429e[_0x28e532(0x1a5)]({'cfg':_0x16429e[_0x28e532(0x26c)]['extend']({'kdf':_0x5ca759}),'encrypt':function(_0x3e8cca,_0x51e375,_0xf9187c,_0x3c80e4){var _0x115dbb=_0x28e532;_0x3c80e4=this[_0x115dbb(0x26c)][_0x115dbb(0x1a5)](_0x3c80e4);var _0x2e69cb=_0x3c80e4['kdf']['execute'](_0xf9187c,_0x3e8cca[_0x115dbb(0x24b)],_0x3e8cca[_0x115dbb(0x320)],_0x3c80e4[_0x115dbb(0x268)],_0x3c80e4['hasher']);_0x3c80e4['iv']=_0x2e69cb['iv'];var _0x369975=_0x16429e[_0x115dbb(0x2ba)][_0x115dbb(0x243)](this,_0x3e8cca,_0x51e375,_0x2e69cb[_0x115dbb(0x2a5)],_0x3c80e4);return _0x369975[_0x115dbb(0x41f)](_0x2e69cb),_0x369975;},'decrypt':function(_0x11c797,_0x40de75,_0x52b726,_0x498a33){var _0x3078c0=_0x28e532;_0x498a33=this['cfg'][_0x3078c0(0x1a5)](_0x498a33),_0x40de75=this[_0x3078c0(0x3d6)](_0x40de75,_0x498a33['format']);var _0xd23491=_0x498a33[_0x3078c0(0x44a)]['execute'](_0x52b726,_0x11c797[_0x3078c0(0x24b)],_0x11c797[_0x3078c0(0x320)],_0x40de75[_0x3078c0(0x268)],_0x498a33[_0x3078c0(0x48c)]);_0x498a33['iv']=_0xd23491['iv'];var _0x26f970=_0x16429e[_0x3078c0(0x18a)][_0x3078c0(0x243)](this,_0x11c797,_0x40de75,_0xd23491[_0x3078c0(0x2a5)],_0x498a33);return _0x26f970;}});}();}));}(Te)),Te[_0x836b34(0x45f)];}var tn=Se[_0x17863a(0x45f)],st;function nn(){var _0x5fe871=_0x17863a;return st||(st=0x1,function(_0x2d0fd4,_0x305aa8){(function(_0x5b4719,_0xcb16f5,_0x296eac){var _0x404d8f=_0x491b;_0x2d0fd4[_0x404d8f(0x45f)]=_0xcb16f5(ee(),Dt(),qi(),Nt(),wt());}(tn,function(_0x415c06){return(function(){var _0x49d574=_0x491b,_0x11ef46=_0x415c06,_0x38f204=_0x11ef46[_0x49d574(0x303)],_0x195275=_0x38f204[_0x49d574(0x3ba)],_0x47a300=_0x11ef46['algo'],_0x46e03c=[],_0x2531be=[],_0x2798d3=[],_0x4793f5=[],_0x13485a=[],_0x2162fe=[],_0x196aa8=[],_0x433690=[],_0x43be34=[],_0x2ec160=[];(function(){for(var _0x122522=[],_0x3cd7d9=0x0;_0x3cd7d9<0x100;_0x3cd7d9++)_0x3cd7d9<0x80?_0x122522[_0x3cd7d9]=_0x3cd7d9<<0x1:_0x122522[_0x3cd7d9]=_0x3cd7d9<<0x1^0x11b;for(var _0x23d1da=0x0,_0x48ddf0=0x0,_0x3cd7d9=0x0;_0x3cd7d9<0x100;_0x3cd7d9++){var _0x4325b1=_0x48ddf0^_0x48ddf0<<0x1^_0x48ddf0<<0x2^_0x48ddf0<<0x3^_0x48ddf0<<0x4;_0x4325b1=_0x4325b1>>>0x8^_0x4325b1&0xff^0x63,_0x46e03c[_0x23d1da]=_0x4325b1,_0x2531be[_0x4325b1]=_0x23d1da;var _0x1accce=_0x122522[_0x23d1da],_0x11223a=_0x122522[_0x1accce],_0x1b1d8b=_0x122522[_0x11223a],_0x1f95fe=_0x122522[_0x4325b1]*0x101^_0x4325b1*0x1010100;_0x2798d3[_0x23d1da]=_0x1f95fe<<0x18|_0x1f95fe>>>0x8,_0x4793f5[_0x23d1da]=_0x1f95fe<<0x10|_0x1f95fe>>>0x10,_0x13485a[_0x23d1da]=_0x1f95fe<<0x8|_0x1f95fe>>>0x18,_0x2162fe[_0x23d1da]=_0x1f95fe;var _0x1f95fe=_0x1b1d8b*0x1010101^_0x11223a*0x10001^_0x1accce*0x101^_0x23d1da*0x1010100;_0x196aa8[_0x4325b1]=_0x1f95fe<<0x18|_0x1f95fe>>>0x8,_0x433690[_0x4325b1]=_0x1f95fe<<0x10|_0x1f95fe>>>0x10,_0x43be34[_0x4325b1]=_0x1f95fe<<0x8|_0x1f95fe>>>0x18,_0x2ec160[_0x4325b1]=_0x1f95fe,_0x23d1da?(_0x23d1da=_0x1accce^_0x122522[_0x122522[_0x122522[_0x1b1d8b^_0x1accce]]],_0x48ddf0^=_0x122522[_0x122522[_0x48ddf0]]):_0x23d1da=_0x48ddf0=0x1;}}());var _0x1c7c8f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x39b8d5=_0x47a300[_0x49d574(0x405)]=_0x195275[_0x49d574(0x1a5)]({'_doReset':function(){var _0x4c6124=_0x49d574,_0x31ff06;if(!(this[_0x4c6124(0x1e5)]&&this[_0x4c6124(0x4d0)]===this[_0x4c6124(0x2c6)])){for(var _0x32cebd=this[_0x4c6124(0x4d0)]=this['_key'],_0x507791=_0x32cebd[_0x4c6124(0x47b)],_0x2bb98b=_0x32cebd['sigBytes']/0x4,_0x4d21dc=this['_nRounds']=_0x2bb98b+0x6,_0x1d74b9=(_0x4d21dc+0x1)*0x4,_0x488435=this[_0x4c6124(0x196)]=[],_0xab4b1a=0x0;_0xab4b1a<_0x1d74b9;_0xab4b1a++)_0xab4b1a<_0x2bb98b?_0x488435[_0xab4b1a]=_0x507791[_0xab4b1a]:(_0x31ff06=_0x488435[_0xab4b1a-0x1],_0xab4b1a%_0x2bb98b?_0x2bb98b>0x6&&_0xab4b1a%_0x2bb98b==0x4&&(_0x31ff06=_0x46e03c[_0x31ff06>>>0x18]<<0x18|_0x46e03c[_0x31ff06>>>0x10&0xff]<<0x10|_0x46e03c[_0x31ff06>>>0x8&0xff]<<0x8|_0x46e03c[_0x31ff06&0xff]):(_0x31ff06=_0x31ff06<<0x8|_0x31ff06>>>0x18,_0x31ff06=_0x46e03c[_0x31ff06>>>0x18]<<0x18|_0x46e03c[_0x31ff06>>>0x10&0xff]<<0x10|_0x46e03c[_0x31ff06>>>0x8&0xff]<<0x8|_0x46e03c[_0x31ff06&0xff],_0x31ff06^=_0x1c7c8f[_0xab4b1a/_0x2bb98b|0x0]<<0x18),_0x488435[_0xab4b1a]=_0x488435[_0xab4b1a-_0x2bb98b]^_0x31ff06);for(var _0x5f0b8d=this[_0x4c6124(0x24d)]=[],_0x4b8816=0x0;_0x4b8816<_0x1d74b9;_0x4b8816++){var _0xab4b1a=_0x1d74b9-_0x4b8816;if(_0x4b8816%0x4)var _0x31ff06=_0x488435[_0xab4b1a];else var _0x31ff06=_0x488435[_0xab4b1a-0x4];_0x4b8816<0x4||_0xab4b1a<=0x4?_0x5f0b8d[_0x4b8816]=_0x31ff06:_0x5f0b8d[_0x4b8816]=_0x196aa8[_0x46e03c[_0x31ff06>>>0x18]]^_0x433690[_0x46e03c[_0x31ff06>>>0x10&0xff]]^_0x43be34[_0x46e03c[_0x31ff06>>>0x8&0xff]]^_0x2ec160[_0x46e03c[_0x31ff06&0xff]];}}},'encryptBlock':function(_0x47d0e8,_0x1f891c){this['_doCryptBlock'](_0x47d0e8,_0x1f891c,this['_keySchedule'],_0x2798d3,_0x4793f5,_0x13485a,_0x2162fe,_0x46e03c);},'decryptBlock':function(_0x4b2eb8,_0x2c9e4c){var _0x47599b=_0x49d574,_0x24596c=_0x4b2eb8[_0x2c9e4c+0x1];_0x4b2eb8[_0x2c9e4c+0x1]=_0x4b2eb8[_0x2c9e4c+0x3],_0x4b2eb8[_0x2c9e4c+0x3]=_0x24596c,this[_0x47599b(0x325)](_0x4b2eb8,_0x2c9e4c,this[_0x47599b(0x24d)],_0x196aa8,_0x433690,_0x43be34,_0x2ec160,_0x2531be);var _0x24596c=_0x4b2eb8[_0x2c9e4c+0x1];_0x4b2eb8[_0x2c9e4c+0x1]=_0x4b2eb8[_0x2c9e4c+0x3],_0x4b2eb8[_0x2c9e4c+0x3]=_0x24596c;},'_doCryptBlock':function(_0x14320a,_0x25ef38,_0x50522d,_0x103ae7,_0x1a5ec9,_0x12cb73,_0x2a1fc2,_0x89c6ce){var _0x5d810c=_0x49d574;for(var _0x4132b3=this[_0x5d810c(0x1e5)],_0x59b61b=_0x14320a[_0x25ef38]^_0x50522d[0x0],_0x571fe6=_0x14320a[_0x25ef38+0x1]^_0x50522d[0x1],_0x2a9c08=_0x14320a[_0x25ef38+0x2]^_0x50522d[0x2],_0x26c264=_0x14320a[_0x25ef38+0x3]^_0x50522d[0x3],_0x4491a4=0x4,_0x4f6083=0x1;_0x4f6083<_0x4132b3;_0x4f6083++){var _0x7acb9e=_0x103ae7[_0x59b61b>>>0x18]^_0x1a5ec9[_0x571fe6>>>0x10&0xff]^_0x12cb73[_0x2a9c08>>>0x8&0xff]^_0x2a1fc2[_0x26c264&0xff]^_0x50522d[_0x4491a4++],_0x26813f=_0x103ae7[_0x571fe6>>>0x18]^_0x1a5ec9[_0x2a9c08>>>0x10&0xff]^_0x12cb73[_0x26c264>>>0x8&0xff]^_0x2a1fc2[_0x59b61b&0xff]^_0x50522d[_0x4491a4++],_0xe310b9=_0x103ae7[_0x2a9c08>>>0x18]^_0x1a5ec9[_0x26c264>>>0x10&0xff]^_0x12cb73[_0x59b61b>>>0x8&0xff]^_0x2a1fc2[_0x571fe6&0xff]^_0x50522d[_0x4491a4++],_0x16100b=_0x103ae7[_0x26c264>>>0x18]^_0x1a5ec9[_0x59b61b>>>0x10&0xff]^_0x12cb73[_0x571fe6>>>0x8&0xff]^_0x2a1fc2[_0x2a9c08&0xff]^_0x50522d[_0x4491a4++];_0x59b61b=_0x7acb9e,_0x571fe6=_0x26813f,_0x2a9c08=_0xe310b9,_0x26c264=_0x16100b;}var _0x7acb9e=(_0x89c6ce[_0x59b61b>>>0x18]<<0x18|_0x89c6ce[_0x571fe6>>>0x10&0xff]<<0x10|_0x89c6ce[_0x2a9c08>>>0x8&0xff]<<0x8|_0x89c6ce[_0x26c264&0xff])^_0x50522d[_0x4491a4++],_0x26813f=(_0x89c6ce[_0x571fe6>>>0x18]<<0x18|_0x89c6ce[_0x2a9c08>>>0x10&0xff]<<0x10|_0x89c6ce[_0x26c264>>>0x8&0xff]<<0x8|_0x89c6ce[_0x59b61b&0xff])^_0x50522d[_0x4491a4++],_0xe310b9=(_0x89c6ce[_0x2a9c08>>>0x18]<<0x18|_0x89c6ce[_0x26c264>>>0x10&0xff]<<0x10|_0x89c6ce[_0x59b61b>>>0x8&0xff]<<0x8|_0x89c6ce[_0x571fe6&0xff])^_0x50522d[_0x4491a4++],_0x16100b=(_0x89c6ce[_0x26c264>>>0x18]<<0x18|_0x89c6ce[_0x59b61b>>>0x10&0xff]<<0x10|_0x89c6ce[_0x571fe6>>>0x8&0xff]<<0x8|_0x89c6ce[_0x2a9c08&0xff])^_0x50522d[_0x4491a4++];_0x14320a[_0x25ef38]=_0x7acb9e,_0x14320a[_0x25ef38+0x1]=_0x26813f,_0x14320a[_0x25ef38+0x2]=_0xe310b9,_0x14320a[_0x25ef38+0x3]=_0x16100b;},'keySize':0x100/0x20});_0x11ef46[_0x49d574(0x405)]=_0x195275[_0x49d574(0x25d)](_0x39b8d5);}()),_0x415c06['AES'];}));}(Se)),Se[_0x5fe871(0x45f)];}var rn=nn();const sn=fe(rn);var on=Dt();const ot=fe(on);var be={'exports':{}},an=be[_0x17863a(0x45f)],at;function cn(){return at||(at=0x1,function(_0x1db3c8,_0x420927){(function(_0x5028e3,_0x47e9b8){var _0x56341b=_0x491b;_0x1db3c8[_0x56341b(0x45f)]=_0x47e9b8(ee());}(an,function(_0x18cba6){var _0x48763b=_0x491b;return _0x18cba6[_0x48763b(0x2e6)]['Utf8'];}));}(be)),be['exports'];}var hn=cn();const ln=fe(hn);var Re={'exports':{}},_n=Re['exports'],ct;function un(){return ct||(ct=0x1,function(_0xabbd1a,_0x339d40){(function(_0x300649,_0xc151c8){_0xabbd1a['exports']=_0xc151c8(ee());}(_n,function(_0x1b9c0a){var _0x19cd72=_0x491b;return(function(){var _0x67baf8=_0x491b;if(typeof ArrayBuffer=='function'){var _0x4535f=_0x1b9c0a,_0x21448d=_0x4535f[_0x67baf8(0x303)],_0x41c583=_0x21448d[_0x67baf8(0x4f4)],_0x4dd172=_0x41c583[_0x67baf8(0x257)],_0x4aad69=_0x41c583[_0x67baf8(0x257)]=function(_0x5ae1aa){var _0x3dcc32=_0x67baf8;if(_0x5ae1aa instanceof ArrayBuffer&&(_0x5ae1aa=new Uint8Array(_0x5ae1aa)),(_0x5ae1aa instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5ae1aa instanceof Uint8ClampedArray||_0x5ae1aa instanceof Int16Array||_0x5ae1aa instanceof Uint16Array||_0x5ae1aa instanceof Int32Array||_0x5ae1aa instanceof Uint32Array||_0x5ae1aa instanceof Float32Array||_0x5ae1aa instanceof Float64Array)&&(_0x5ae1aa=new Uint8Array(_0x5ae1aa['buffer'],_0x5ae1aa[_0x3dcc32(0x430)],_0x5ae1aa[_0x3dcc32(0x37d)])),_0x5ae1aa instanceof Uint8Array){for(var _0x5ea27c=_0x5ae1aa[_0x3dcc32(0x37d)],_0x428bf1=[],_0x1789b5=0x0;_0x1789b5<_0x5ea27c;_0x1789b5++)_0x428bf1[_0x1789b5>>>0x2]|=_0x5ae1aa[_0x1789b5]<<0x18-_0x1789b5%0x4*0x8;_0x4dd172[_0x3dcc32(0x243)](this,_0x428bf1,_0x5ea27c);}else _0x4dd172[_0x3dcc32(0x3ce)](this,arguments);};_0x4aad69[_0x67baf8(0x4a1)]=_0x41c583;}}()),_0x1b9c0a['lib'][_0x19cd72(0x4f4)];}));}(Re)),Re['exports'];}var dn=un();function _0x3ed5(){var _0x356068=['members','GLOBAL_ROOMS_CNT_EXCEEDS','delete','emitEvent','LocaleService','CONNECTOR_DATA_TOO_LARGE','CipherParams','_permissionService','COMPLETION_FINISHED','Base64','editingUnit','unitID','ILocalCacheService','updateOfflineData','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getValue','SheetTransformSelectionsService','_toggleOnline','mixIn','getCollabEntity$','_telemetryInfo','status','_initDependencies','_xformMode','_initMergeInterceptor','textEncoder','copyFileMeta','_onRemoteRejected','decryptBlock','[DataLoaderService]','withCredentials','ISnapshotServerService','CollaborationController','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','deserializeToCombResponse','byteOffset','_collaborationUIEventService','ICollaborationSocketService','online$','runId','EvpKDF','_userManagerService','_transformIMECache','_scheduleCollaborationTimeoutTimer','loadOfflineData','onRemoteAck','transformMutationsWithChangeset','_getCtorByUniverType','APPLY_REVISION_CONFILICT','JOIN_ROOM_PERMISSION_DENIED','encryptBlock','HttpExport','UnitEmbedded','getMember','shouldCloseConn','_socket','fromCharCode','listCollaborators','ticket','SessionStatus','session','kdf','IImageIoService','string','parseProtocolChangeset','LocalUndoRedoService','userID','msCrypto','getUnitType','getResourcesRequest','JOIN','427617qIAGUR','LICENSE_IMPORT_SIZE_EXCEEDED','hasOwnProperty','pipe','isTransformChangesetsSuccess','/unit/','IMentionIOService','COLLAB_SUBMIT_CHANGESET_URL','Inject','_doProcessBlock','getTime','exports','SelectRange','_socket$','_clearScheduledTask','APPLY_REJECT','6724705iuRRPc','_iv','DisposableCollection','toStringTag','ConflictState','_doFinalize','infoRsp','_joinRoom','_singleActiveUnitService','_pendingMutations','_getSignURL','INTERNAL_ERROR','Injector','set','getAllWorksheetPermissionPointByPointPanel','rev','OTHER_CLIENT_EDITING','memberID','INVALID_ARGUMENT','_createHandler','editing\x20status\x20changed\x20to','_state','readyForCollab','words','_members','onTransformIME','_snapshotService','_getAPIPrefixPath','APPLY_NON_SEQUENTIAL_REVISION','_collaborationTimeoutTimer','status$','_configService','unitId\x20is\x20not\x20found','CONFLICT','algo','/rev/','CollaborationSessionService','_clearLocalCache','_timeoutTimer','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','hasher','objects','SnapshotServerOverHTTPService','Undefined','mapDocumentTypeToUniverType','/-/object/-/batch_allowed','636208pOHIhe','_revisionService','Plugin','PERSON','_hash','_unitInfo$','ISingleActiveUnitService','@univerjs/telemetry','updateCursorEvent','processBlock','_queuedRemoteChangesets','MentionType','_checkMissing','list','href','prototype','charAt','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','sequenceExecute','BlockCipherMode','symbol','UniverCollaborationPlugin','roles','CollaborationImageIoService','UnitSnapshot','slice','splice','awaiting_with_pending','open$','addHandlerCallback','CHANGESET_REJ','onTransformSelections','deepClone','_mode','serializeCombRequest','Univer','toggleOffline','fetching\x20missing\x20changesets\x20from\x20','_scheduleTimestamp','UPDATE_CURSOR','collaboration-client.config','default','ITransformService','_data','getRoom','_collabSessionService','_tryReconnect','__Key__','range','result','MentionIoHttpService','setCurrentUser','/collaborator','DocCollaborationEntity','setWaitCount','_applyRemoteChangeset','SOCKET_FAILED_RETRY','@univerjs-pro/collaboration','_disableEditing','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getTypeOfUnitDisposed$','getActiveSheet','_keyPriorReset','_iKey','unitId','/universer-api/authz','LOCAL_CACHE_INTERVAL','_clearCollaborationTimeoutTimer','function','LICENSE_MAX_UNITS_EXCEEDED','_minBufferSize','Pkcs7','sendChangesetTimeout','baseProtectionActions','HTTPRequest','\x20in\x20_schedule.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SerializableCipher','save\x20fail\x20reason\x20is\x20','[PendingState]:\x20unhandled\x20univer\x20type:\x20','Workbook','@univerjs/drawing','value','_DEC_XFORM_MODE','USERS_ENTER','_substituteUndoStack','_throwTelemetryCollaborationNewChangeset','defaultWorkbookPermissionPoints','patch','confirm','Disposable','PasswordBasedCipher','parse','commentUpdate$','randomBytes','IPermissionService','BASE64','target','WordArray','getCurrentSelections','_onUserJoin','stopTime','sessionTicket','_exhaustRemoteChangesetQueue','ILogService','RichTextEditingMutation','collaboration_new_changeset','isPermissionRej','_updateLocalCache','textRanges','SetSelectionsOperation','[PendingState]:\x20received\x20rejection.','UNRECOGNIZED','method','ISocketService','addImageSourceCache','Cipher','setConfig','csAckEvent','executeCommand','/fetchmissing?from=','subType','append','_networkConditionService','RETRY_CONNECTING_MAX_COUNT','takeUntil','getTargetByPermissionId','_socketReady','getConfig','dispose','CollaborationEntity','HEARTBEAT_TIMEOUT_KEY','APPLY_DUPLICATED','_waitCount','_redoStacks','_substituteRedoStack','getAllWorkbookPermissionPoint','@univerjs/network','UserManagerService','reconnect','468919aqzrrR','decrypt','[CollaborationUndoRedoService]','csRejEvent','collaboration-client.local-cache-service','ws://127.0.0.1:8000/universer-api/comb/connect','\x0aAfter:\x20','find','mode','YUUMI_UNABLE_LOAD_URL','HmacMD5','_localCacheService','entries','_keySchedule','NoPadding','error','JSONX','_unitID','SEND_CHANGESET_TIMEOUT','_replaceFileID','POST','_submitChangeset','params','awaitingChangeset','b64DecodeUnicode','ONLINE','_changesetReqId','_schedule','extend','RETRY_CONNECTING_MAX_COUNT_KEY','onLocalMutation','CBC','_getCurrentRevision','IAuthzIoService','close$','__esModule','pluginName','generateRandomId','AwaitingState','objectActions','update','SheetsSelectionsService','_clearUndo','_getSendChangesetTimeout','reject','image/gif','univer-pro.collaboration-client.single-active-unit-service','getImage','_updateStatus','IUniverInstanceService','Malformed\x20UTF-8\x20data','getWorkbookSelections','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','search','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','duration','_sessionStatus$','getLocalCacheKey','[CollaborationEntity]','_onConnectionFailed','_getUndoStack','_state$','selections','YUUMI_RATE_OVER_LIMIT','CollaborationSocketService','_resendTimer','clone','JOIN_ROOM_FAILED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_onFetchMissResult','random','onStarting','_stopTelemetryCollaborationNewChangeset','_commandService','_onConflict','UNIVER_DOC','concatMap','from','put','NEW_CHANGESETS','UniverSheetsPlugin','UNDEFINED','dispose$','SNAPSHOT_INVALID_SNAPSHOT','_cipher','RxDisposable','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','FetchingMissState','/universer-api/snapshot','/allowed','c1Prime','getUnit','_nRounds','_map','session.room-permission-denied','concat','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_eventService','_clearHeartbeatTimer','readAsDataURL','SUCCUSS','synced','session.room-full','session.join-failed','getInterceptPoints','saveChangeset','requestParams','_registerDependencies','toString','updatePermissionPoint','JOIN_ROOM_FULL','_HTTPService','get','UnitObject','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','onRemoteChangeset','fetch_missing','_candidateSocket','/universer-api/snapshot/','40pgDCIt','6FJnxbf','state','_handler','ICommandService','unsubscribe','Could\x20not\x20dynamically\x20require\x20\x22','_changesetSessionId','CommentService','forEach','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_shouldReportTelemetry','name','OFFLINE','Decryptor','Encryptor','HELLO','166656PtxNAs','x-univer-host','_lockTransition','routeKey','_initCloseConn','isTransformMutationsWithChangesetSuccess','_resendTimeout','25196GMFnXL','_transformStack','getMemberID','body','registerHTTPInterceptor','type','CollaborativeUndoRedoService','onMissedChangesetFetched','OPTIONAL','mutations','_rescheduleHeartbeat','getPermissionPoint','BehaviorSubject','UNKNOWN_CODE','isInternalEditorID','IDLE','mergeOverrideWithDependencies','_handlerCallback','awaiting','LEAVE','APPLY_PERMISSION_DENIED','createCollaborator','_syncEditingCollabCursor','_httpService','CommandType','readInt32LE','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_imageSourceCache','/role','USERS_LEAVE','70FHcMiU','getCurrentUnitForType','every','TOO_MANY_REQUESTS','_createSocket','_instanceService','HEARTBEAT_INTERVAL','Optional','[CollaborationState]:\x20apply\x20error!','_undoRedoService','Hex','JOIN_ROOM_NOT_EXISTS','onTransformRemoteChangesetByIMECache','call','isTransformMutationsWithChangesetFailure','_transformService','CollaborationUIEventService','OfflineState','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','saveSheetBlock','getUnitOnRev','keySize','_status$','_invKeySchedule','PendingState','LIVESHARE_NEW_HOST','_init','COLLAB_WEB_SOCKET_URL','rxjs','/object/','subject','now','_unlockTransition','init','_commentUpdate$','map','LOCAL_CACHE_INTERVAL_KEY','abs','_replayCachedMutations','_createHelper','fetchThroughInterceptors','LICENSE_EXPORT_SIZE_EXCEEDED','LIVESHARE_TERMINATE','_initRequestHeader','_decreaseWaiting','_loadSheet','connection\x20error','clamp','join','values','salt','SUBMIT_CHANGESET','&to=','SUBMIT_CHANGESET_TIMEOUT','cfg','BufferedBlockAlgorithm','state$','_getRedoStack','changesets','eventID','action','finalize','ImageSourceType','joinEvent','ERROR_IMAGE','ruleRefresh','_incrementRevisionNumber','_http','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_createInitialState','_authzIoService','ENSURE_SNAPSHOT_EXECUTION','createDecryptor','getCurrentUser','transformSelections','getUnitId','LIVESHARE_OPERATION','MemberService','_acknowledgedAwaitingChangeset','_getLoginPath','_collaborationSessionService','_createInitialStateImpl','closeSession','toggleOnline','LOGIN_URL_KEY','format','reduce','debug','_clearRedo','/universer-api/file/{fileID}/sign-url','_updateState','length','equals','uploadFileServerUrl','$super','YUUMI_URL_COL_OUT_OF_RANGE','ceil','toDisposable','_telemetryService','firstValueFrom','AUTHZ_URL_KEY','_ENC_XFORM_MODE','IConfigService','_sheetTransformSelectionsService','[OfflineState]:\x20received\x20rejection.','uniscriptRunEvent','__creator','_startCollaboration','batchAllowed','requireSession','localCacheService','key','_roomMembers','_awaitingChangeset','socket\x20open.','MSG_FOR_ERROR','image/bmp','merge','_sender','_isPermissionRej','revision','_clearTimeoutTimer','location','_change$','getCurrentRevOfUnit','_transformRemoteChangesetByIMECache','[CollaborationSessionService]:\x20socket\x20error','CLOSE_ROOM','enableAuthServer','COMMENT_UPDATE','FileId','JOINING','encrypt','application/json','_compressMutationService','_hasher','file','retryConnectingInterval','NOT_FOUND','sessionStatus$','baseRev','onCommentUpdate','InsertSheetMutation','@univerjs/core','_key','getDeserializedSheetBlock','_socketService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','take','deleteCollaborator','replace','_retryConnectingTimer','transformUndoRedo','_collaborationPaused','sessionStatus','failed\x20to\x20apply\x20missed\x20changesets!','create','removeMember','m2Prime','pad','PERMISSION_REJ','HEARTBEAT_INTERVAL_KEY','encodeURIComponent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_waitForHeartbeatResponse','@univerjs/sheets','code','enableOfflineEditing','_initUnitPermissionChange','clearUndoRedo','PERMISSION_DENIED','StreamCipher','_process','/universer-api/comb','UniverCollaborationClientPlugin','_nDataBytes','enc','_entities','LIVESHARE_REQUEST_HOST','Subject','[CollaborationSessionService]','onSendChangeset','appendMutation','next','ReplaySubject','Module','listRoles','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','SYNCED','UnitStatus','HttpImport','_onLocalMutation','_showConflictNotification','then','searchParams','_reverseMap','UNIVER_PROJECT','WorksheetProtectionPointModel','MD5','parseChangesetToProtocol','disposeWithMe','getTypeOfUnitAdded$','getSnapshotAPIPath','interceptor','post','lib','liveShareNewHost','COMPRESS_MUTATION_APPLY','createSocket','getFocusedUnit','LIVESHARE_FETCH_OPERATIONS','UNIVER_SHEET','_createHmacHelper','toLowerCase','\x20-\x20','loadDoc','session.room-not-exists','onRemoteRetry','_sendHeartbeatTimer','fetchMiss','_localeService','ALREADY_EXISTS','asObservable','Tools','message$','@univerjs/docs','unit-cache-','univer-pro.collaboration-client-socket-service','/block/','submit\x20changeset\x20error!','_onUserLeave','complete','bind','joinRsp','ivSize','_onMessage','FETCH_MISS','_sendingTimer','_socketMessageSubscription','_doCryptBlock','reverse','push','unitInfo$','allowed','FETCH_MISSING','capture','[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.','updateMember','loginUrlKey','_removeRoom','cmd','_config','override','CollaborationUIEventId','CollaborationEvent','Worksheet','compute','src','_sendHeartbeat','UNISCRIPT_RUN','CHANGESET_REVISION_CONFILICT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_doReset','c2Prime','UNAUTHENTICATED','ImageUploadStatusType','socket$','url','_transformRemoteChangesetByStateCache','close','_memberService','event$','_onOffline','EmptyMutation','[FetchMissState]','registerDependencies','data','RECV','includes','ERROR_EXCEED_SIZE','COLLAB_SUBMIT_CHANGESET_URL_KEY','unpad','135UuUZbI','Hasher','formatter','_type','onMissingChangesets','roomInfos','getRandomValues','_onRemoteACK','SOCKET_FAILED','findIndex','isArray','signUrlServerUrl','OTHER_CLIENTS_EDITING','session.room-cnt-exceeds','createInstance','blockSize','reset','_onRecvEvent','/-/object/list','_listenToNetworkCondition','auth.needGotoLoginAlert','objectID','json','crypto','PSEUDO_FETCH_MISSING_RESULT','min','onRemoteRej','ERROR_IMAGE_TYPE','SNAPSHOT_SERVER_URL_KEY','resend','putCollaborators','_fetchMissChangesets','enableSingleActiveInstanceLock','title','CHANGESET_SHOULD_RETRY','UNIVER_UNKNOWN','[PendingState]:\x20received\x20acknowledgement.','CollaborationSession','onlyLocal','floor','Base','transformChangesets','_onCombEvent','AuthzIoHttpService','touchDependencies','byteLength','getSheetId','/resources','RevisionService','getOwnPropertyDescriptor','_resendWithTimeout','commentUpdateEvent','OpenSSL','UNKNOWN_CMD','newCsEvent','setShowComponents','[OfflineState]:\x20received\x20acknowledgement.','_event$','add','authzUrl','image/jpg','_append','_sessions','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','stringify','size','DependentOn','AWAITING','UPDATE_PERMISSION_OBJ','/universer-api/user/session-ticket','_loadDoc','SheetCollaborationEntity','_startTelemetryCollaborationNewChangeset','max','sheets','collaborators','_oKey','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','collabWebSocketUrl','originalMeta','HMAC','/universer-api/stream/file/upload','responseType','onTransformRemoteChangesetByStateCache','_transformSelections','offline','_univerInstanceService','_tryEnsureSocket','[OfflineState]:\x20received\x20changeset.','HEARTBEAT','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','univer-pro.collaboration-client.network-condition.service','origin','onTransformState','NOT_COLLAB','catch','subscribe','IUndoRedoService','WorkbookEditablePermission','YUUMI_SUBSCRIPTION_NOT_FOUND','delay','send','WorksheetProtectionRuleModel','initWorkbookPermissionChange','_transitionLocked','iterations','BlockCipher','Utf8','padding','_onRemoteChangeset','getImageSourceCache','DataLoaderService','INetworkConditionService','repeat','headers','_createSocketURL','SHOULD_CLOSE_CONN','_retryCount','_executeRemoteChangeset','LICENSE_DISTRO_REJECTED','UniverInstanceType','CompressMutationService','/new_changes','image/png','?url=','compose','apply','permissionRejEvent','_onConnectionOpen','localeService','createIdentifier','AwaitingWithPendingState','loadSheet','&assign=','_parse','clear','defineProperty','actions','error$','_onJoinRoomEvent','_onRemoteRetry','pending','charCodeAt','_logService','ciphertext','_getAPIPrefix','fetchMissingChangesets','[SyncedState]:\x20received\x20acknowledgement.','sigBytes','pauseCollaboration','HTTPService','objectType','HEARTBEAT_TIMEOUT','_getDownloadEndpointURL','INGEST','COMPRESS_MUTATION_SEND','_getSessionTicket','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','SHA1','onCommandExecuted','has','9489195RRvenB','SNAPSHOT_HAS_BEEN_REMOVED','sid','Latin1','SyncedState','collaboratorID','unknown','_injector','getCollabEntity','_snapshotServerService','MUTATION','onSyncEditingCollabCursor','_prevBlock','randomUUID','_remoteChangesetQueue','_getUploadFileURL','_undoStacks','reqId','UNIVER_SLIDE','resourceIDs','AES','_entityInit$','csShouldRetryEvent','FAIL','filter','startTime','[CollaborationSession]','refreshPermission'];_0x3ed5=function(){return _0x356068;};return _0x3ed5();}const vn=fe(dn);var ye={'exports':{}},fn=ye[_0x17863a(0x45f)],ht;function Sn(){var _0x112a5b=_0x17863a;return ht||(ht=0x1,function(_0x2363bd,_0xef6ce1){(function(_0xa2939a,_0x412385,_0x4b5c5b){var _0x1edc41=_0x491b;_0x2363bd[_0x1edc41(0x45f)]=_0x412385(ee(),wt());}(fn,function(_0x18acd8){var _0x219f6a=_0x491b;return _0x18acd8['pad'][_0x219f6a(0x197)]={'pad':function(){},'unpad':function(){}},_0x18acd8[_0x219f6a(0x2d5)][_0x219f6a(0x197)];}));}(ye)),ye[_0x112a5b(0x45f)];}var pn=Sn();const gn=fe(pn);function mn(_0x30d836,_0x19e771){var _0x1d5d01=_0x17863a;const _0x5d5feb=_0x19e771-_0x30d836[_0x1d5d01(0x291)]%_0x19e771,_0x302f09=String[_0x1d5d01(0x445)](_0x5d5feb)[_0x1d5d01(0x3c1)](_0x5d5feb);return _0x30d836+_0x302f09;}function In(_0x3bfbba,_0x2019a8){var _0x497ae4=_0x17863a;const _0x56dee1=vn['random'](0x10),_0x513a1a=mn(_0x3bfbba,0x10),_0x8138fa=sn[_0x497ae4(0x2ba)](ln[_0x497ae4(0x4ee)](_0x513a1a),ot[_0x497ae4(0x4ee)](_0x2019a8),{'iv':_0x56dee1,'padding':gn});return _0x56dee1[_0x497ae4(0x1e8)](_0x8138fa[_0x497ae4(0x3e0)])[_0x497ae4(0x1f5)](ot);}function En(){var _0x2e33d5=_0x17863a;const _0x26a304=jt['getGlobalObject']()[_0x2e33d5(0x4c1)];if(_0x26a304){const _0x5e753d={'time':Math[_0x2e33d5(0x377)](Date[_0x2e33d5(0x255)]()/0x3e8),'domain':location['hostname']};return In(JSON[_0x2e33d5(0x390)](_0x5e753d),_0x26a304);}}var Cn=Object[_0x17863a(0x3d8)],Tn=Object[_0x17863a(0x381)],bn=(_0x2b3fde,_0x4f9475,_0x3363f5,_0xbf3b97)=>{for(var _0x25cfd3=_0xbf3b97>0x1?void 0x0:_0xbf3b97?Tn(_0x4f9475,_0x3363f5):_0x4f9475,_0xd6b53=_0x2b3fde['length']-0x1,_0x49f653;_0xd6b53>=0x0;_0xd6b53--)(_0x49f653=_0x2b3fde[_0xd6b53])&&(_0x25cfd3=(_0xbf3b97?_0x49f653(_0x4f9475,_0x3363f5,_0x25cfd3):_0x49f653(_0x25cfd3))||_0x25cfd3);return _0xbf3b97&&_0x25cfd3&&Cn(_0x4f9475,_0x3363f5,_0x25cfd3),_0x25cfd3;},Rn=(_0x3aee15,_0x22e4c2)=>(_0x1a4192,_0x15fe77)=>_0x22e4c2(_0x1a4192,_0x15fe77,_0x3aee15);let Pe=class{constructor(_0x48864a){var _0x111d37=_0x17863a;this['_httpService']=_0x48864a,this[_0x111d37(0x261)]();}[_0x17863a(0x261)](){var _0x41acae=_0x17863a;this[_0x41acae(0x22f)][_0x41acae(0x21c)]({'interceptor':(_0x4ac202,_0x440ee4)=>{var _0xce3c7c=_0x41acae;const _0x2fe8ee=_0x4ac202[_0xce3c7c(0x3c2)],_0x4dd7cd=En();return _0x4dd7cd&&_0x2fe8ee[_0xce3c7c(0x471)](_0xce3c7c(0x212),_0x4dd7cd),_0x440ee4(_0x4ac202);}});}};Pe=bn([Rn(0x0,a[_0x17863a(0x45c)](z[_0x17863a(0x3e6)]))],Pe);var yn=Object[_0x17863a(0x3d8)],On=Object['getOwnPropertyDescriptor'],Pn=(_0x9aeeee,_0x3450cb,_0x779b72,_0x1a09b7)=>{var _0x308ac0=_0x17863a;for(var _0x589ed3=_0x1a09b7>0x1?void 0x0:_0x1a09b7?On(_0x3450cb,_0x779b72):_0x3450cb,_0x4cc5df=_0x9aeeee[_0x308ac0(0x291)]-0x1,_0x2954c1;_0x4cc5df>=0x0;_0x4cc5df--)(_0x2954c1=_0x9aeeee[_0x4cc5df])&&(_0x589ed3=(_0x1a09b7?_0x2954c1(_0x3450cb,_0x779b72,_0x589ed3):_0x2954c1(_0x589ed3))||_0x589ed3);return _0x1a09b7&&_0x589ed3&&yn(_0x3450cb,_0x779b72,_0x589ed3),_0x589ed3;},Me=(_0x4c76f7,_0x56d91b)=>(_0x38ff0b,_0x3708ec)=>_0x56d91b(_0x38ff0b,_0x3708ec,_0x4c76f7);exports[_0x17863a(0x3bf)]=class extends a[_0x17863a(0x1de)]{constructor(_0x524987,_0x25b168,_0x19ab05){var _0x280887=_0x17863a;super(),w(this,_0x280887(0x497),new B[(_0x280887(0x224))](null)),w(this,_0x280887(0x328),this[_0x280887(0x497)][_0x280887(0x314)]()),(this[_0x280887(0x3df)]=_0x524987,this['_snapshotService']=_0x25b168,this[_0x280887(0x194)]=_0x19ab05);}async['loadUnit'](_0xd9a21e,_0x3550aa,_0x2a0ebd){var _0x232293=_0x17863a;this[_0x232293(0x497)][_0x232293(0x2ed)]({'unitId':_0xd9a21e,'type':_0x3550aa,'subUnitId':_0x2a0ebd});let _0x1aaa4c=null;switch(_0x3550aa){case Z[_0x232293(0x309)]:{_0x1aaa4c=await this[_0x232293(0x263)](_0xd9a21e);break;}case Z[_0x232293(0x1d4)]:{_0x1aaa4c=await this[_0x232293(0x396)](_0xd9a21e);break;}default:{this[_0x232293(0x3df)][_0x232293(0x198)](_0x232293(0x42a),_0x232293(0x41b));break;}}return _0x1aaa4c;}async[_0x17863a(0x263)](_0x24014b){var _0x18ce05=_0x17863a,_0x25bd58;let _0x37c1b2=0x0;const _0xc9283b=await((_0x25bd58=this['_localCacheService'])==null?void 0x0:_0x25bd58[_0x18ce05(0x439)](_0x24014b));return _0xc9283b&&(_0xc9283b[_0x18ce05(0x1a0)]||_0xc9283b['mutations'][_0x18ce05(0x291)]!==0x0)&&(_0x37c1b2=_0xc9283b[_0x18ce05(0x473)]),_0x37c1b2===0x0&&this['_logService'][_0x18ce05(0x28d)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x18ce05(0x47e)][_0x18ce05(0x3d4)](_0x24014b,_0x37c1b2);}async['_loadDoc'](_0x38f5bb){var _0x3c73dc=_0x17863a,_0x665868;let _0x1af8ff=0x0;const _0x2e9238=await((_0x665868=this[_0x3c73dc(0x194)])==null?void 0x0:_0x665868['loadOfflineData'](_0x38f5bb));return _0x2e9238&&(_0x2e9238[_0x3c73dc(0x1a0)]||_0x2e9238[_0x3c73dc(0x221)]['length']!==0x0)&&(_0x1af8ff=_0x2e9238[_0x3c73dc(0x473)]),_0x1af8ff===0x0&&this[_0x3c73dc(0x3df)][_0x3c73dc(0x28d)](_0x3c73dc(0x42a),_0x3c73dc(0x27a)),this[_0x3c73dc(0x47e)][_0x3c73dc(0x30d)](_0x38f5bb,_0x1af8ff);}},exports[_0x17863a(0x3bf)]=Pn([Me(0x0,a[_0x17863a(0x4fa)]),Me(0x1,a[_0x17863a(0x45c)](m['SnapshotService'])),Me(0x2,a[_0x17863a(0x23d)](J))],exports['DataLoaderService']);var Un=Object['defineProperty'],Dn=Object['getOwnPropertyDescriptor'],Nn=(_0x1c4c9a,_0x48009f,_0x3eed54,_0x40ad6d)=>{var _0x15ef7b=_0x17863a;for(var _0x4b795e=_0x40ad6d>0x1?void 0x0:_0x40ad6d?Dn(_0x48009f,_0x3eed54):_0x48009f,_0x161bbe=_0x1c4c9a[_0x15ef7b(0x291)]-0x1,_0x5635ea;_0x161bbe>=0x0;_0x161bbe--)(_0x5635ea=_0x1c4c9a[_0x161bbe])&&(_0x4b795e=(_0x40ad6d?_0x5635ea(_0x48009f,_0x3eed54,_0x4b795e):_0x5635ea(_0x4b795e))||_0x4b795e);return _0x40ad6d&&_0x4b795e&&Un(_0x48009f,_0x3eed54,_0x4b795e),_0x4b795e;},xe=(_0x562d27,_0x4d8718)=>(_0x269ee8,_0x421288)=>_0x4d8718(_0x269ee8,_0x421288,_0x562d27);const wn=[_0x17863a(0x3cb),'image/jpeg',_0x17863a(0x38c),_0x17863a(0x1b6),_0x17863a(0x2aa)],An=0x5*0x400*0x400,Ln='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Mn=_0x17863a(0x3a1),xn=_0x17863a(0x4cd),jn=_0x17863a(0x28f);exports[_0x17863a(0x4a9)]=class{constructor(_0x4f8dd6,_0xa14b01,_0x7900e1){var _0x52ea0f=_0x17863a;w(this,_0x52ea0f(0x182),0x0),w(this,_0x52ea0f(0x2b1),new B[(_0x52ea0f(0x2e9))]()),w(this,'change$',this['_change$']),w(this,_0x52ea0f(0x233),new Map()),(this[_0x52ea0f(0x22f)]=_0x4f8dd6,this[_0x52ea0f(0x483)]=_0xa14b01,this[_0x52ea0f(0x3a6)]=_0x7900e1);}[_0x17863a(0x4c8)](_0x2670cb){var _0x16e608=_0x17863a;this[_0x16e608(0x182)]=_0x2670cb,this[_0x16e608(0x2b1)][_0x16e608(0x2ed)](_0x2670cb);}[_0x17863a(0x3be)](_0x55ac98,_0x1fe456){var _0x2241e6=_0x17863a;if(_0x1fe456===X['ImageSourceType'][_0x2241e6(0x4f2)]){const _0x3893bb=new Image();return _0x3893bb[_0x2241e6(0x337)]=_0x55ac98,_0x3893bb;}return this['_imageSourceCache']['get'](_0x55ac98);}[_0x17863a(0x505)](_0x204ea2,_0x167965,_0x2b30c2){var _0x5d661e=_0x17863a;_0x167965===X[_0x5d661e(0x274)]['BASE64']||_0x2b30c2==null||this['_imageSourceCache'][_0x5d661e(0x471)](_0x204ea2,_0x2b30c2);}async[_0x17863a(0x1b8)](_0x352677){var _0x9d4aef=_0x17863a;try{const _0x3ad0ea=this[_0x9d4aef(0x19c)](this['_getSignURL'](),''+_0x352677),_0x576852=(await this[_0x9d4aef(0x22f)][_0x9d4aef(0x1f9)](_0x3ad0ea))[_0x9d4aef(0x21b)];if(_0x576852[_0x9d4aef(0x198)]&&_0x576852['error'][_0x9d4aef(0x2dc)]===Ct['OK']){const _0x33a2f5=new URL(_0x576852[_0x9d4aef(0x341)],this['_getDownloadEndpointURL']())['toString']();return Promise['resolve'](_0x33a2f5);}return Promise[_0x9d4aef(0x1b5)](_0x576852[_0x9d4aef(0x198)]);}catch(_0x4142ca){return Promise[_0x9d4aef(0x1b5)](_0x4142ca);}}async['saveImage'](_0x18214f){var _0x25151b=_0x17863a;let _0xff4a76='';if(!wn[_0x25151b(0x34c)](_0x18214f[_0x25151b(0x21d)]))return this[_0x25151b(0x262)](),Promise['reject'](new Error(X[_0x25151b(0x33f)][_0x25151b(0x36b)]));if(_0x18214f[_0x25151b(0x391)]>An)return this[_0x25151b(0x262)](),Promise['reject'](new Error(X['ImageUploadStatusType'][_0x25151b(0x34d)]));try{const _0x44317e=new FormData();_0x44317e[_0x25151b(0x50c)](_0x25151b(0x2be),_0x18214f);const _0x57a3d6=this[_0x25151b(0x3a6)][_0x25151b(0x307)](),_0x52cc00=_0x57a3d6==null?void 0x0:_0x57a3d6[_0x25151b(0x281)]();if(!_0x52cc00)throw new Error(_0x25151b(0x484));const _0x10ca0e=this[_0x25151b(0x400)]()+'?size='+_0x18214f['size']['toString']()+'&source='+Tt['UnitEmbedded']+_0x25151b(0x3d5)+encodeURIComponent(_0x52cc00),_0x5aacb0=await(await fetch(_0x10ca0e,{'method':_0x25151b(0x19d),'body':_0x44317e}))[_0x25151b(0x366)]();if(typeof _0x5aacb0[_0x25151b(0x2b8)]!='string')return this[_0x25151b(0x262)](),Promise['reject'](new Error(X[_0x25151b(0x33f)][_0x25151b(0x276)]));_0xff4a76=_0x5aacb0[_0x25151b(0x2b8)];}catch{return this['_decreaseWaiting'](),Promise[_0x25151b(0x1b5)](new Error(X[_0x25151b(0x33f)][_0x25151b(0x276)]));}return new Promise((_0x5ea47e,_0x1551b1)=>{var _0x1394fb=_0x25151b;const _0x712eaf=new FileReader();_0x712eaf[_0x1394fb(0x1ec)](_0x18214f),_0x712eaf['onload']=_0x275e73=>{var _0x3cc4c1=_0x1394fb,_0x502fc8;const _0xa1be0f=(_0x502fc8=_0x275e73[_0x3cc4c1(0x4f3)])==null?void 0x0:_0x502fc8[_0x3cc4c1(0x4c3)];if(_0xa1be0f==null){this[_0x3cc4c1(0x262)](),_0x1551b1(new Error(X[_0x3cc4c1(0x33f)]['ERROR_IMAGE']));return;}const _0x1128aa=a[_0x3cc4c1(0x315)][_0x3cc4c1(0x1ae)](0x6);_0x5ea47e({'imageId':_0x1128aa,'imageSourceType':X[_0x3cc4c1(0x274)]['UUID'],'source':_0xff4a76,'base64Cache':_0xa1be0f,'status':X['ImageUploadStatusType'][_0x3cc4c1(0x1ed)]}),this['_decreaseWaiting']();};});}[_0x17863a(0x400)](){var _0x25143b=_0x17863a,_0x678a4f,_0x4d8ed3;const _0x14620d=this['_configService']['getConfig'](Ln),_0x3a0353=this[_0x25143b(0x483)][_0x25143b(0x17d)](q);return(_0x4d8ed3=(_0x678a4f=_0x3a0353==null?void 0x0:_0x3a0353[_0x25143b(0x293)])!=null?_0x678a4f:_0x14620d)!=null?_0x4d8ed3:Mn;}[_0x17863a(0x46e)](){var _0x3bdf39=_0x17863a,_0x34875e,_0x340f3f;const _0x310474=this[_0x3bdf39(0x483)][_0x3bdf39(0x17d)](xn),_0x9a2a76=this[_0x3bdf39(0x483)][_0x3bdf39(0x17d)](q);return(_0x340f3f=(_0x34875e=_0x9a2a76==null?void 0x0:_0x9a2a76[_0x3bdf39(0x35b)])!=null?_0x34875e:_0x310474)!=null?_0x340f3f:jn;}[_0x17863a(0x3e9)](){var _0x14bbc2=_0x17863a,_0x47341a;const _0x25f77b=this[_0x14bbc2(0x483)]['getConfig'](q);return(_0x47341a=_0x25f77b==null?void 0x0:_0x25f77b['downloadEndpointUrl'])!=null?_0x47341a:location[_0x14bbc2(0x3ac)];}[_0x17863a(0x19c)](_0xe2f26c,_0x3e5dcd){var _0x187191=_0x17863a;return _0xe2f26c[_0x187191(0x2cc)]('{fileID}',_0x3e5dcd);}[_0x17863a(0x262)](){var _0x362dd2=_0x17863a;this['_waitCount']-=0x1,this['_change$']['next'](this[_0x362dd2(0x182)]);}},exports[_0x17863a(0x4a9)]=Nn([xe(0x0,a[_0x17863a(0x45c)](z['HTTPService'])),xe(0x1,a['IConfigService']),xe(0x2,a[_0x17863a(0x45c)](a[_0x17863a(0x1ba)]))],exports[_0x17863a(0x4a9)]);var $n=Object[_0x17863a(0x3d8)],Hn=Object['getOwnPropertyDescriptor'],kn=(_0x454eeb,_0x14932d,_0x4989ef,_0x44b192)=>{var _0x2df83a=_0x17863a;for(var _0x456230=_0x44b192>0x1?void 0x0:_0x44b192?Hn(_0x14932d,_0x4989ef):_0x14932d,_0x3fb3e4=_0x454eeb[_0x2df83a(0x291)]-0x1,_0x2353e8;_0x3fb3e4>=0x0;_0x3fb3e4--)(_0x2353e8=_0x454eeb[_0x3fb3e4])&&(_0x456230=(_0x44b192?_0x2353e8(_0x14932d,_0x4989ef,_0x456230):_0x2353e8(_0x456230))||_0x456230);return _0x44b192&&_0x456230&&$n(_0x14932d,_0x4989ef,_0x456230),_0x456230;},lt=(_0x3bbeca,_0x13ac03)=>(_0x3470ab,_0x44d7e5)=>_0x13ac03(_0x3470ab,_0x44d7e5,_0x3bbeca);const Bn='/universer-api/authz';exports[_0x17863a(0x4c4)]=class{constructor(_0x491911,_0x10b39c){var _0x2793c4=_0x17863a;this[_0x2793c4(0x483)]=_0x491911,this['_HTTPService']=_0x10b39c;}[_0x17863a(0x47f)](){var _0x4bfa51=_0x17863a,_0x3a8903,_0x1a798f;const _0xf3b4c9=this[_0x4bfa51(0x483)][_0x4bfa51(0x17d)](Ge),_0x431bab=this['_configService'][_0x4bfa51(0x17d)](q);return(_0x1a798f=(_0x3a8903=_0x431bab==null?void 0x0:_0x431bab['authzUrl'])!=null?_0x3a8903:_0xf3b4c9)!=null?_0x1a798f:Bn;}async[_0x17863a(0x49f)](_0x3f15fe){var _0x27e8a0=_0x17863a;const _0x1f5ff2=this[_0x27e8a0(0x47f)]()+_0x27e8a0(0x4c6);return{'list':[{'title':'People','mentions':(await this[_0x27e8a0(0x1f8)][_0x27e8a0(0x1f9)](_0x1f5ff2,{'params':{'objectID':_0x3f15fe[_0x27e8a0(0x4d2)],'unitID':_0x3f15fe['unitId']}}))['body']['collaborators']['map'](_0x3617fd=>({'objectId':_0x3617fd['id'],'name':_0x3617fd['subject'][_0x27e8a0(0x20c)],'metadata':{'icon':_0x3617fd[_0x27e8a0(0x254)]['avatar']},'label':_0x3617fd[_0x27e8a0(0x254)][_0x27e8a0(0x20c)],'objectType':a['MentionType'][_0x27e8a0(0x495)]})),'metadata':{},'type':a[_0x27e8a0(0x49d)][_0x27e8a0(0x495)]}]};}},exports[_0x17863a(0x4c4)]=kn([lt(0x0,a['Inject'](a[_0x17863a(0x29c)])),lt(0x1,a[_0x17863a(0x45c)](z[_0x17863a(0x3e6)]))],exports[_0x17863a(0x4c4)]);var Fn=Object[_0x17863a(0x3d8)],Wn=Object['getOwnPropertyDescriptor'],Vn=(_0x547b26,_0x9e75be,_0x56fc10,_0x30e9e7)=>{var _0x233359=_0x17863a;for(var _0x3f7419=_0x30e9e7>0x1?void 0x0:_0x30e9e7?Wn(_0x9e75be,_0x56fc10):_0x9e75be,_0xa4cad4=_0x547b26[_0x233359(0x291)]-0x1,_0x4a7993;_0xa4cad4>=0x0;_0xa4cad4--)(_0x4a7993=_0x547b26[_0xa4cad4])&&(_0x3f7419=(_0x30e9e7?_0x4a7993(_0x9e75be,_0x56fc10,_0x3f7419):_0x4a7993(_0x3f7419))||_0x3f7419);return _0x30e9e7&&_0x3f7419&&Fn(_0x9e75be,_0x56fc10,_0x3f7419),_0x3f7419;},ce=(_0x706d03,_0x564a86)=>(_0x180f47,_0x8ba04e)=>_0x564a86(_0x180f47,_0x8ba04e,_0x706d03);let Ue=class extends a[_0x17863a(0x1de)]{constructor(_0x78b3,_0x21eeed,_0x4a8ac8,_0x3f4d76,_0x168a78,_0x5979cb,_0x40b4e8){var _0x1b2cd9=_0x17863a;super(),this[_0x1b2cd9(0x3f8)]=_0x78b3,this[_0x1b2cd9(0x3a6)]=_0x21eeed,this[_0x1b2cd9(0x414)]=_0x4a8ac8,this[_0x1b2cd9(0x286)]=_0x3f4d76,this[_0x1b2cd9(0x431)]=_0x168a78,this[_0x1b2cd9(0x27c)]=_0x5979cb,this['_undoRedoService']=_0x40b4e8,this[_0x1b2cd9(0x2de)](),this[_0x1b2cd9(0x215)]();}[_0x17863a(0x215)](){var _0x2c2207=_0x17863a;const _0x4a16a2=async _0xaef507=>{var _0x970548=_0x491b;(await this[_0x970548(0x286)]['requireSession'](_0xaef507))[_0x970548(0x345)]['pipe'](V[_0x970548(0x409)](_0x31a53a=>_0x31a53a[_0x970548(0x271)]===m[_0x970548(0x334)][_0x970548(0x3c4)]),V[_0x970548(0x50f)](this[_0x970548(0x1db)]))[_0x970548(0x3b0)](_0x151ec0=>{var _0x2b4946=_0x970548;const _0x1bf69b=_0x151ec0,{reason:_0x488176}=_0x1bf69b[_0x2b4946(0x34a)];this['_collaborationUIEventService'][_0x2b4946(0x410)]({'id':Q[_0x2b4946(0x2b5)],'data':_0x488176}),this[_0x2b4946(0x414)]['updatePermissionPoint'](new W['WorkbookEditablePermission'](_0xaef507)['id'],!0x1),this[_0x2b4946(0x286)][_0x2b4946(0x288)](_0xaef507);});};B[_0x2c2207(0x2ab)](this['_univerInstanceService'][_0x2c2207(0x2ff)](a[_0x2c2207(0x3c8)][_0x2c2207(0x309)]),this[_0x2c2207(0x3a6)][_0x2c2207(0x2ff)](a[_0x2c2207(0x3c8)][_0x2c2207(0x1d4)]))[_0x2c2207(0x457)](V[_0x2c2207(0x259)](_0xc4e3fe=>_0xc4e3fe[_0x2c2207(0x281)]()),V[_0x2c2207(0x409)](_0x1ee52a=>!a[_0x2c2207(0x226)](_0x1ee52a)),V[_0x2c2207(0x50f)](this[_0x2c2207(0x1db)]))['subscribe'](_0x4576a8=>{_0x4a16a2(_0x4576a8);});}[_0x17863a(0x2de)](){var _0x3e2bcb=_0x17863a;const _0xf447bc=async _0x4cf5a3=>{var _0x4906eb=_0x491b;(await this['_collaborationSessionService'][_0x4906eb(0x2a3)](_0x4cf5a3))[_0x4906eb(0x345)]['pipe'](V[_0x4906eb(0x409)](_0x130354=>_0x130354[_0x4906eb(0x271)]===m['CollaborationEvent'][_0x4906eb(0x394)]),V[_0x4906eb(0x50f)](this[_0x4906eb(0x1db)]))[_0x4906eb(0x3b0)](_0x175c82=>{var _0x45a0bc=_0x4906eb;const _0x99d692=_0x175c82,{objectId:_0xf573d1}=_0x99d692[_0x45a0bc(0x34a)];_0xf573d1===_0x4cf5a3?this[_0x45a0bc(0x3b7)](_0x4cf5a3):this[_0x45a0bc(0x40c)](_0x4cf5a3,_0xf573d1);});};B[_0x3e2bcb(0x2ab)](this['_univerInstanceService'][_0x3e2bcb(0x2ff)](a[_0x3e2bcb(0x3c8)][_0x3e2bcb(0x309)]),this[_0x3e2bcb(0x3a6)]['getTypeOfUnitAdded$'](a[_0x3e2bcb(0x3c8)][_0x3e2bcb(0x1d4)]))[_0x3e2bcb(0x457)](V[_0x3e2bcb(0x259)](_0x5d824d=>_0x5d824d[_0x3e2bcb(0x281)]()),V[_0x3e2bcb(0x409)](_0x589f01=>!a[_0x3e2bcb(0x226)](_0x589f01)),V['takeUntil'](this[_0x3e2bcb(0x1db)]))['subscribe'](_0x326388=>{_0xf447bc(_0x326388);});}async[_0x17863a(0x3b7)](_0x1bb27f){var _0x58b946=_0x17863a,_0x2967d0;const _0x2e3221=_0x1bb27f||((_0x2967d0=this['_univerInstanceService'][_0x58b946(0x237)](a[_0x58b946(0x3c8)]['UNIVER_SHEET']))==null?void 0x0:_0x2967d0[_0x58b946(0x281)]());_0x2e3221&&this['_authzIoService']['allowed']({'objectID':_0x2e3221,'objectType':W[_0x58b946(0x1fa)][_0x58b946(0x4e2)],'unitID':_0x2e3221,'actions':W[_0x58b946(0x4e9)]})[_0x58b946(0x2f7)](_0x451f13=>{var _0x3bd5f9=_0x58b946;W[_0x3bd5f9(0x185)]()[_0x3bd5f9(0x209)](_0x23e3bf=>{var _0x5d4344=_0x3bd5f9;const _0x3e605e=new _0x23e3bf(_0x2e3221),_0x15b487=_0x3e605e[_0x5d4344(0x50b)],_0xdee219=_0x451f13[_0x5d4344(0x190)](_0x3c5b76=>_0x3c5b76[_0x5d4344(0x272)]===_0x15b487);_0xdee219&&this['_permissionService'][_0x5d4344(0x1f6)](_0x3e605e['id'],_0xdee219[_0x5d4344(0x329)]);});});}['refreshPermission'](_0x47f0ac,_0x33c0a3){var _0x3083a4=_0x17863a;const _0x4d6961=this[_0x3083a4(0x3f8)][_0x3083a4(0x1f9)](W[_0x3083a4(0x3b6)]),_0x460432=_0x4d6961[_0x3083a4(0x510)](_0x47f0ac,_0x33c0a3);let _0x14c227=!0x1;if(_0x460432){const [_0x1f9ed6,_0x46fc49]=_0x460432;this['_authzIoService'][_0x3083a4(0x329)]({'objectID':_0x33c0a3,'unitID':_0x47f0ac,'objectType':W[_0x3083a4(0x1fa)][_0x3083a4(0x335)],'actions':W[_0x3083a4(0x4db)]})[_0x3083a4(0x2f7)](_0x116a10=>{var _0x478eb3=_0x3083a4;let _0x3049cf='';W['getAllWorksheetPermissionPoint']()[_0x478eb3(0x209)](_0x393211=>{var _0x2f9f7a=_0x478eb3,_0x5c2f6a;const _0x2b3163=new _0x393211(_0x47f0ac,_0x46fc49),_0x2971c2=_0x2b3163['subType'],_0x2e102e=_0x116a10[_0x2f9f7a(0x190)](_0xdc6054=>_0xdc6054[_0x2f9f7a(0x272)]===_0x2971c2);_0x2e102e&&(((_0x5c2f6a=this[_0x2f9f7a(0x414)][_0x2f9f7a(0x223)](_0x2b3163['id']))==null?void 0x0:_0x5c2f6a['value'])!==_0x2e102e[_0x2f9f7a(0x329)]&&(_0x14c227=!0x0),this[_0x2f9f7a(0x414)][_0x2f9f7a(0x1f6)](_0x2b3163['id'],_0x2e102e[_0x2f9f7a(0x329)]),_0x3049cf+=_0x2e102e['action']+'_'+_0x2e102e[_0x2f9f7a(0x329)]);}),_0x4d6961[_0x478eb3(0x277)](_0x33c0a3+'_'+_0x3049cf),_0x14c227&&this[_0x478eb3(0x23f)][_0x478eb3(0x2df)](_0x47f0ac);});}const _0x113ffb=this['_injector'][_0x3083a4(0x1f9)](W[_0x3083a4(0x2fb)])[_0x3083a4(0x510)](_0x47f0ac,_0x33c0a3);if(_0x113ffb){const [_0x313f41,_0x48d109]=_0x113ffb;this['_authzIoService'][_0x3083a4(0x329)]({'objectID':_0x33c0a3,'unitID':_0x47f0ac,'objectType':W[_0x3083a4(0x1fa)][_0x3083a4(0x335)],'actions':W['defaultWorksheetPermissionPoint']})[_0x3083a4(0x2f7)](_0x5d9f24=>{var _0x4498e3=_0x3083a4;W[_0x4498e3(0x472)]()[_0x4498e3(0x209)](_0x3752b5=>{var _0x10638f=_0x4498e3,_0x59b103;const _0x3ffb55=new _0x3752b5(_0x47f0ac,_0x48d109),_0x11ab1f=_0x3ffb55[_0x10638f(0x50b)],_0x7ffc2f=_0x5d9f24[_0x10638f(0x190)](_0x1cc531=>_0x1cc531['action']===_0x11ab1f);_0x7ffc2f&&(((_0x59b103=this[_0x10638f(0x414)][_0x10638f(0x223)](_0x3ffb55['id']))==null?void 0x0:_0x59b103['value'])!==_0x7ffc2f[_0x10638f(0x329)]&&(_0x14c227=!0x0),this['_permissionService'][_0x10638f(0x1f6)](_0x3ffb55['id'],_0x7ffc2f[_0x10638f(0x329)]));}),_0x14c227&&this['_undoRedoService'][_0x4498e3(0x2df)](_0x47f0ac);});}const _0xc52227=this[_0x3083a4(0x3f8)][_0x3083a4(0x1f9)](W['RangeProtectionRuleModel']),_0x1b6f00=_0xc52227['getTargetByPermissionId'](_0x47f0ac,_0x33c0a3);if(_0x1b6f00){const [_0xafe317,_0xe705bb]=_0x1b6f00;this[_0x3083a4(0x27c)]['allowed']({'objectID':_0x33c0a3,'unitID':_0x47f0ac,'objectType':W[_0x3083a4(0x1fa)][_0x3083a4(0x460)],'actions':W[_0x3083a4(0x4db)]})[_0x3083a4(0x2f7)](_0x5cbd83=>{var _0x2a120=_0x3083a4;let _0x23a972='';W['getAllRangePermissionPoint']()[_0x2a120(0x209)](_0x4d24d1=>{var _0x240dee=_0x2a120,_0x36f281;const _0x3a5de3=new _0x4d24d1(_0x47f0ac,_0xe705bb,_0x33c0a3),_0x3d83c5=_0x3a5de3[_0x240dee(0x50b)],_0x43191a=_0x5cbd83['find'](_0x1e0f7e=>_0x1e0f7e[_0x240dee(0x272)]===_0x3d83c5);_0x43191a&&(((_0x36f281=this['_permissionService'][_0x240dee(0x223)](_0x3a5de3['id']))==null?void 0x0:_0x36f281[_0x240dee(0x4e4)])!==_0x43191a[_0x240dee(0x329)]&&(_0x14c227=!0x0),this[_0x240dee(0x414)][_0x240dee(0x1f6)](_0x3a5de3['id'],_0x43191a[_0x240dee(0x329)]),_0x23a972+=_0x43191a[_0x240dee(0x272)]+'_'+_0x43191a[_0x240dee(0x329)]);}),_0xc52227[_0x2a120(0x277)](_0x33c0a3+'_'+_0x23a972),_0x14c227&&this[_0x2a120(0x23f)][_0x2a120(0x2df)](_0x47f0ac);});}}};Ue=Vn([ce(0x0,a[_0x17863a(0x45c)](a['Injector'])),ce(0x1,a[_0x17863a(0x1ba)]),ce(0x2,a['IPermissionService']),ce(0x3,a['Inject'](exports['CollaborationSessionService'])),ce(0x4,a[_0x17863a(0x45c)](te)),ce(0x5,a['IAuthzIoService']),ce(0x6,a[_0x17863a(0x3b1)])],Ue);var Gn=Object[_0x17863a(0x3d8)],Kn=Object['getOwnPropertyDescriptor'],Yn=(_0x4768bc,_0x4a674e,_0x3c8837,_0x116b48)=>{for(var _0xf0c78f=_0x116b48>0x1?void 0x0:_0x116b48?Kn(_0x4a674e,_0x3c8837):_0x4a674e,_0x42341e=_0x4768bc['length']-0x1,_0xf16f9c;_0x42341e>=0x0;_0x42341e--)(_0xf16f9c=_0x4768bc[_0x42341e])&&(_0xf0c78f=(_0x116b48?_0xf16f9c(_0x4a674e,_0x3c8837,_0xf0c78f):_0xf16f9c(_0xf0c78f))||_0xf0c78f);return _0x116b48&&_0xf0c78f&&Gn(_0x4a674e,_0x3c8837,_0xf0c78f),_0xf0c78f;},_t=(_0x4dbb1d,_0x4e6bc6)=>(_0x54ae32,_0x418f85)=>_0x4e6bc6(_0x54ae32,_0x418f85,_0x4dbb1d);exports[_0x17863a(0x48e)]=class{constructor(_0x2f220d,_0x4be797){var _0x3c09eb=_0x17863a;this[_0x3c09eb(0x483)]=_0x2f220d,this['_httpService']=_0x4be797;}async[_0x17863a(0x24a)](_0x570ca9,_0x3e1ed7){var _0x1bab1d=_0x17863a,_0x1d9e62;const {unitID:_0x41faa2,type:_0x25efb4,revision:_0x2050f3=0x0}=_0x3e1ed7,_0xb75013=this['getSnapshotAPIPath']()+'/'+_0x25efb4+_0x1bab1d(0x459)+_0x41faa2+_0x1bab1d(0x487)+_0x2050f3,_0x5755e9=(await this[_0x1bab1d(0x22f)][_0x1bab1d(0x1f9)](_0xb75013))['body'],_0x2bba44=(_0x1d9e62=_0x5755e9['snapshot'])==null?void 0x0:_0x1d9e62['workbook'];if(_0x2bba44){const _0x25f885=_0x2bba44==null?void 0x0:_0x2bba44[_0x1bab1d(0x39f)],_0x414a98=m[_0x1bab1d(0x426)]['encode'](m[_0x1bab1d(0x1a1)](_0x25f885));_0x2bba44['originalMeta']=_0x414a98,Object[_0x1bab1d(0x195)](_0x2bba44[_0x1bab1d(0x39a)])[_0x1bab1d(0x209)](([,_0x1db9f8])=>{var _0x4ce40f=_0x1bab1d;const _0x105724=_0x1db9f8[_0x4ce40f(0x39f)],_0x377b6e=m[_0x4ce40f(0x426)]['encode'](m[_0x4ce40f(0x1a1)](_0x105724));_0x1db9f8[_0x4ce40f(0x39f)]=_0x377b6e;});}return _0x5755e9;}async['getSheetBlock'](_0x1d39b1,_0x48a42f){var _0x1cd49d=_0x17863a;const {unitID:_0x287e73,type:_0xb58a0c,blockID:_0x29e1e7}=_0x48a42f,_0x2d6ea4=this[_0x1cd49d(0x3e1)]()+'/'+_0xb58a0c+'/unit/'+_0x287e73+_0x1cd49d(0x31a)+_0x29e1e7;return(await this[_0x1cd49d(0x22f)][_0x1cd49d(0x1f9)](_0x2d6ea4))[_0x1cd49d(0x21b)];}async[_0x17863a(0x2c7)](_0x39b0ff,_0xbb34e2){var _0x1b0f88=_0x17863a;const {unitID:_0x3d69d9,type:_0x290588,blockID:_0x130340}=_0xbb34e2,_0x2dcfec=this['_getAPIPrefix']()+_0x1b0f88(0x31a)+_0x290588+_0x1b0f88(0x459)+_0x3d69d9+'/block/'+_0x130340;return(await this[_0x1b0f88(0x22f)][_0x1b0f88(0x1f9)](_0x2dcfec))[_0x1b0f88(0x21b)];}async[_0x17863a(0x3e2)](_0x25ceeb,_0x119cbe){var _0x436020=_0x17863a;const {unitID:_0x5cd757,type:_0x687491,from:_0x56be4a,to:_0x2e7470}=_0x119cbe,_0x441386=this[_0x436020(0x3e1)]()+'/'+_0x687491+_0x436020(0x459)+_0x5cd757+_0x436020(0x50a)+_0x56be4a+_0x436020(0x26a)+_0x2e7470;return(await this[_0x436020(0x22f)][_0x436020(0x1f9)](_0x441386))['body'];}[_0x17863a(0x300)](){var _0x4be64e=_0x17863a,_0x5e2801;return(_0x5e2801=this[_0x4be64e(0x483)][_0x4be64e(0x17d)](vt))!=null?_0x5e2801:this[_0x4be64e(0x3e1)]();}['_getAPIPrefix'](){var _0xd011d7=_0x17863a,_0x4a01c5,_0x1357ad;const _0x2c768a=this[_0xd011d7(0x483)]['getConfig'](dt),_0x9d5a95=this[_0xd011d7(0x483)][_0xd011d7(0x17d)](q);return(_0x1357ad=(_0x4a01c5=_0x9d5a95==null?void 0x0:_0x9d5a95['snapshotServerUrl'])!=null?_0x4a01c5:_0x2c768a)!=null?_0x1357ad:$t;}async[_0x17863a(0x452)](_0x354bd6,_0x35c580){var _0x2bee5a=_0x17863a;const _0x509ca4=_0x2bee5a(0x1ff)+_0x35c580[_0x2bee5a(0x21d)]+'/unit/'+_0x35c580['unitID']+_0x2bee5a(0x37f);return(await this['_httpService'][_0x2bee5a(0x1f9)](_0x509ca4,{'params':{'resourceId':JSON[_0x2bee5a(0x390)](_0x35c580[_0x2bee5a(0x404)])}}))[_0x2bee5a(0x21b)];}['saveSnapshot'](){var _0x8c2c4a=_0x17863a;throw new Error(_0x8c2c4a(0x33b));}[_0x17863a(0x249)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x17863a(0x1f2)](){var _0x3982dc=_0x17863a;throw new Error(_0x3982dc(0x33b));}[_0x17863a(0x427)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x17863a(0x48e)]=Yn([_t(0x0,a[_0x17863a(0x29c)]),_t(0x1,a['Inject'](z[_0x17863a(0x3e6)]))],exports[_0x17863a(0x48e)]);var qn=Object[_0x17863a(0x3d8)],zn=Object[_0x17863a(0x381)],Jn=(_0x4b08b2,_0x172d37,_0x20583e,_0x44f183)=>{var _0x2ccaf4=_0x17863a;for(var _0x227683=_0x44f183>0x1?void 0x0:_0x44f183?zn(_0x172d37,_0x20583e):_0x172d37,_0x3158dc=_0x4b08b2[_0x2ccaf4(0x291)]-0x1,_0x5e9d7b;_0x3158dc>=0x0;_0x3158dc--)(_0x5e9d7b=_0x4b08b2[_0x3158dc])&&(_0x227683=(_0x44f183?_0x5e9d7b(_0x172d37,_0x20583e,_0x227683):_0x5e9d7b(_0x227683))||_0x227683);return _0x44f183&&_0x227683&&qn(_0x172d37,_0x20583e,_0x227683),_0x227683;},de=(_0x5ec04e,_0x3bfa1e)=>(_0x4d8c70,_0x2b3a9b)=>_0x3bfa1e(_0x4d8c70,_0x2b3a9b,_0x5ec04e);exports[_0x17863a(0x21e)]=class extends a[_0x17863a(0x44e)]{constructor(_0x4aeb6e,_0x53b158,_0x13a054,_0x476ca4,_0x34b4ac){var _0x444576=_0x17863a;super(_0x4aeb6e,_0x53b158,_0x13a054),this[_0x444576(0x245)]=_0x476ca4,this[_0x444576(0x3df)]=_0x34b4ac;}[_0x17863a(0x2ce)](_0x4576fc,_0x1ac9d3){var _0x30f375=_0x17863a;const _0x7533fe=this[_0x30f375(0x1c5)](_0x4576fc);if(_0x7533fe)try{const _0x2fa760=this['_transformStack'](_0x7533fe,_0x1ac9d3);this[_0x30f375(0x4e7)](_0x4576fc,_0x2fa760);}catch(_0x10a531){this[_0x30f375(0x3df)]['error'](_0x30f375(0x18b),_0x10a531),this[_0x30f375(0x1b3)](_0x4576fc);}const _0x2f10ad=this['_getRedoStack'](_0x4576fc);if(_0x2f10ad)try{const _0xcb6ad9=this['_transformStack'](_0x2f10ad,_0x1ac9d3);this[_0x30f375(0x184)](_0x4576fc,_0xcb6ad9);}catch(_0x2fa03c){this[_0x30f375(0x3df)][_0x30f375(0x198)](_0x2fa03c),this[_0x30f375(0x28e)](_0x4576fc);}}[_0x17863a(0x1b3)](_0x30c8ce){var _0x30c344=_0x17863a;const _0x1491b1=this['_getUndoStack'](_0x30c8ce);_0x1491b1&&(_0x1491b1['length']=0x0,this[_0x30c344(0x1b9)]());}[_0x17863a(0x28e)](_0x48e873){var _0x16900b=_0x17863a;const _0x104a43=this[_0x16900b(0x26f)](_0x48e873);_0x104a43&&(_0x104a43[_0x16900b(0x291)]=0x0,this[_0x16900b(0x1b9)]());}[_0x17863a(0x4e7)](_0x12fe92,_0x8da89f){var _0x441d56=_0x17863a;this[_0x441d56(0x401)][_0x441d56(0x471)](_0x12fe92,_0x8da89f),this[_0x441d56(0x1b9)]();}['_substituteRedoStack'](_0x568143,_0x4804c4){var _0x2f6d6d=_0x17863a;this[_0x2f6d6d(0x183)][_0x2f6d6d(0x471)](_0x568143,_0x4804c4),this[_0x2f6d6d(0x1b9)]();}[_0x17863a(0x219)](_0xa991b7,_0x62a529){var _0x6b4eaa=_0x17863a;const _0x5ffe76=[];let _0x577d5d=_0x62a529,_0x46dc11=_0x62a529;for(let _0xec0822=_0xa991b7['length']-0x1;_0xec0822>=0x0;_0xec0822--){const {unitID:_0x5072f0,undoMutations:_0x170856,redoMutations:_0x12dbc7}=_0xa991b7[_0xec0822],_0x469db6=this[_0x6b4eaa(0x245)][_0x6b4eaa(0x43b)](_0x577d5d,_0x170856),_0x27fdf1=this[_0x6b4eaa(0x245)]['transformMutationsWithChangeset'](_0x46dc11,_0x12dbc7);if(m[_0x6b4eaa(0x244)](_0x469db6)||m['isTransformMutationsWithChangesetFailure'](_0x27fdf1)){this[_0x6b4eaa(0x3df)][_0x6b4eaa(0x198)](_0x6b4eaa(0x18b),'transformStack\x20failed!',_0x469db6,_0x27fdf1);break;}_0x577d5d=_0x469db6['c1Prime'],_0x46dc11=_0x27fdf1[_0x6b4eaa(0x1e3)],_0x5ffe76[_0x6b4eaa(0x327)]({'unitID':_0x5072f0,'undoMutations':_0x469db6[_0x6b4eaa(0x2d4)],'redoMutations':_0x27fdf1[_0x6b4eaa(0x2d4)]});}return _0x5ffe76[_0x6b4eaa(0x326)]();}},exports['CollaborativeUndoRedoService']=Jn([de(0x0,a[_0x17863a(0x1ba)]),de(0x1,a[_0x17863a(0x204)]),de(0x2,a['IContextService']),de(0x3,m[_0x17863a(0x4bc)]),de(0x4,a[_0x17863a(0x4fa)])],exports['CollaborativeUndoRedoService']);var At=Object[_0x17863a(0x3d8)],Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x239a7f,_0x244287,_0x41f077)=>_0x244287 in _0x239a7f?At(_0x239a7f,_0x244287,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41f077}):_0x239a7f[_0x244287]=_0x41f077,Qn=(_0x28f295,_0x1477e4,_0x2235a7,_0x4f3a38)=>{for(var _0x1261c5=_0x4f3a38>0x1?void 0x0:_0x4f3a38?Xn(_0x1477e4,_0x2235a7):_0x1477e4,_0x42a97e=_0x28f295['length']-0x1,_0x12ae14;_0x42a97e>=0x0;_0x42a97e--)(_0x12ae14=_0x28f295[_0x42a97e])&&(_0x1261c5=(_0x4f3a38?_0x12ae14(_0x1477e4,_0x2235a7,_0x1261c5):_0x12ae14(_0x1261c5))||_0x1261c5);return _0x4f3a38&&_0x1261c5&&At(_0x1477e4,_0x2235a7,_0x1261c5),_0x1261c5;},je=(_0x18d20f,_0x35bcc6)=>(_0x4053da,_0x2f1f8b)=>_0x35bcc6(_0x4053da,_0x2f1f8b,_0x18d20f),er=(_0x2b153c,_0x382eb5,_0x517078)=>Zn(_0x2b153c,_0x382eb5+'',_0x517078);const tr='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports['UniverCollaborationClientPlugin']=class extends a[_0x17863a(0x494)]{constructor(_0x5a9f2a=zt,_0x5059a1,_0x1d6df0,_0x41ed57){var _0x4ce8f1=_0x17863a;super(),this[_0x4ce8f1(0x331)]=_0x5a9f2a,this[_0x4ce8f1(0x3df)]=_0x5059a1,this[_0x4ce8f1(0x3f8)]=_0x1d6df0,this[_0x4ce8f1(0x483)]=_0x41ed57;const {..._0x477672}=this[_0x4ce8f1(0x331)];this[_0x4ce8f1(0x483)][_0x4ce8f1(0x507)](q,_0x477672);}[_0x17863a(0x1d0)](){var _0x720e73=_0x17863a;this[_0x720e73(0x1f4)](),this['_initDependencies']();}[_0x17863a(0x1f4)](){var _0x1ebd45=_0x17863a,_0x57a7a0,_0x2358cc,_0x15f5cd,_0x4e9fa0;this['_injector'][_0x1ebd45(0x3f0)](a[_0x1ebd45(0x3b1)])&&this[_0x1ebd45(0x3df)][_0x1ebd45(0x198)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x370a0a=a[_0x1ebd45(0x228)]([[a[_0x1ebd45(0x3b1)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x1ebd45(0x488)]],[exports[_0x1ebd45(0x283)]],[exports['SheetTransformSelectionsService']],[Oe],[Pe],[Be],[Ue],[te],[exports['DataLoaderService']],[ke,{'useClass':(_0x2358cc=(_0x57a7a0=this['_config'])==null?void 0x0:_0x57a7a0['socketService'])!=null?_0x2358cc:exports[_0x1ebd45(0x1c9)]}],[m['ISnapshotServerService'],{'useClass':exports[_0x1ebd45(0x48e)]}],[a[_0x1ebd45(0x1aa)],{'useClass':exports[_0x1ebd45(0x37b)]}],[X[_0x1ebd45(0x44b)],{'useClass':exports[_0x1ebd45(0x4a9)]}],[a[_0x1ebd45(0x45a)],{'useClass':exports[_0x1ebd45(0x4c4)]}],[exports['CollaborationController']],[$e]],(_0x15f5cd=this['_config'])==null?void 0x0:_0x15f5cd[_0x1ebd45(0x332)]);if(!((_0x4e9fa0=this[_0x1ebd45(0x331)])!=null&&_0x4e9fa0[_0x1ebd45(0x370)])){const _0x306f3a=_0x370a0a[_0x1ebd45(0x359)](([_0x350903])=>_0x350903===ve);_0x306f3a!==-0x1&&_0x370a0a[_0x1ebd45(0x4ac)](_0x306f3a,0x1);}a[_0x1ebd45(0x349)](this[_0x1ebd45(0x3f8)],_0x370a0a);}[_0x17863a(0x423)](){var _0x5a9f63=_0x17863a,_0x29800c,_0x434f50,_0x4698aa;this[_0x5a9f63(0x3f8)][_0x5a9f63(0x1f9)](z[_0x5a9f63(0x3e6)])[_0x5a9f63(0x21c)]({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x29800c=this[_0x5a9f63(0x331)])!=null&&_0x29800c[_0x5a9f63(0x2dd)]||(_0x434f50=this['_injector'][_0x5a9f63(0x1f9)](J,a['Quantity'][_0x5a9f63(0x220)]))==null||_0x434f50['disableLocalCache'](),(_0x4698aa=this[_0x5a9f63(0x331)])!=null&&_0x4698aa[_0x5a9f63(0x2b6)]&&a[_0x5a9f63(0x37c)](this[_0x5a9f63(0x3f8)],[[Oe]]),a[_0x5a9f63(0x37c)](this[_0x5a9f63(0x3f8)],[[Pe],[exports[_0x5a9f63(0x42d)]],[Ue]]);}},er(exports[_0x17863a(0x2e4)],_0x17863a(0x1ad),tr),exports[_0x17863a(0x2e4)]=Qn([a[_0x17863a(0x392)](m[_0x17863a(0x4a7)],W[_0x17863a(0x1d9)],z['UniverNetworkPlugin']),je(0x1,a['ILogService']),je(0x2,a[_0x17863a(0x45c)](a[_0x17863a(0x470)])),je(0x3,a[_0x17863a(0x29c)])],exports['UniverCollaborationClientPlugin']),exports[_0x17863a(0x29a)]=Ge,exports[_0x17863a(0x38f)]=q,exports[_0x17863a(0x34e)]=It,exports['COLLAB_WEB_SOCKET_URL_KEY']=ft,exports['CollaborationStatus']=We,exports[_0x17863a(0x333)]=Q,exports[_0x17863a(0x246)]=te,exports[_0x17863a(0x208)]=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=St,exports[_0x17863a(0x2d7)]=pt,exports[_0x17863a(0x180)]=He,exports[_0x17863a(0x432)]=ke,exports[_0x17863a(0x419)]=J,exports[_0x17863a(0x3c0)]=bt,exports[_0x17863a(0x498)]=ve,exports[_0x17863a(0x4d4)]=Kt,exports[_0x17863a(0x25a)]=Gt,exports[_0x17863a(0x28a)]=Et,exports[_0x17863a(0x1a6)]=mt,exports['SEND_CHANGESET_TIMEOUT_KEY']=Ht,exports[_0x17863a(0x36c)]=dt,exports['SNAPSHOT_URL_KEY']=vt,exports[_0x17863a(0x448)]=se,exports[_0x17863a(0x2f3)]=Fe,exports[_0x17863a(0x42f)]=Rt,exports[_0x17863a(0x1c2)]=pi,exports[_0x17863a(0x4b4)]=yt;
|
1
|
+
'use strict';var _0x5e362b=_0x2783;(function(_0x576a20,_0x187619){var _0x392653=_0x2783,_0xe9dace=_0x576a20();while(!![]){try{var _0x38642a=-parseInt(_0x392653(0x26e))/0x1+-parseInt(_0x392653(0x29f))/0x2+parseInt(_0x392653(0x3bb))/0x3*(parseInt(_0x392653(0x119))/0x4)+parseInt(_0x392653(0x11d))/0x5*(parseInt(_0x392653(0x3e1))/0x6)+-parseInt(_0x392653(0x406))/0x7*(parseInt(_0x392653(0x36d))/0x8)+-parseInt(_0x392653(0x2dc))/0x9*(parseInt(_0x392653(0x38a))/0xa)+-parseInt(_0x392653(0x2fd))/0xb*(-parseInt(_0x392653(0x491))/0xc);if(_0x38642a===_0x187619)break;else _0xe9dace['push'](_0xe9dace['shift']());}catch(_0x48763d){_0xe9dace['push'](_0xe9dace['shift']());}}}(_0x506d,0xa78df));var Lt=Object[_0x5e362b(0x3cd)],Mt=(_0x5ef755,_0x590072,_0x4867b9)=>_0x590072 in _0x5ef755?Lt(_0x5ef755,_0x590072,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4867b9}):_0x5ef755[_0x590072]=_0x4867b9,D=(_0x5d3872,_0x11a19d,_0x45b799)=>Mt(_0x5d3872,typeof _0x11a19d!='symbol'?_0x11a19d+'':_0x11a19d,_0x45b799);Object[_0x5e362b(0x3cd)](exports,Symbol[_0x5e362b(0x2b1)],{'value':'Module'});const a=require(_0x5e362b(0x169)),H=require('rxjs'),V=require(_0x5e362b(0x218)),z=require(_0x5e362b(0x284)),m=require(_0x5e362b(0x3c3)),xt=require(_0x5e362b(0x3ff)),ut=require(_0x5e362b(0x29c)),W=require(_0x5e362b(0x451)),X=require('@univerjs/drawing'),jt=require(_0x5e362b(0x3a9)),dt=_0x5e362b(0x3ec),$t='/universer-api/snapshot',vt=_0x5e362b(0x471),Ht=_0x5e362b(0x45b),kt=0x7d0,ft='COLLAB_WEB_SOCKET_URL',St=_0x5e362b(0x2dd),Bt=_0x5e362b(0x293),pt=_0x5e362b(0x2cd),Ft=0x7530,He=_0x5e362b(0x3b6),gt=0x4e20,Wt=0x4e20,mt=_0x5e362b(0x3c5),Vt=0x3,Gt=_0x5e362b(0x1f6),Kt=0x3e8,It='COLLAB_SUBMIT_CHANGESET_URL',Yt='/universer-api/comb',Et=_0x5e362b(0x30b),qt='/universer-api/oidc/authpage';var Ct=(_0xcbcba9=>(_0xcbcba9[_0xcbcba9['UNDEFINED']=0x0]=_0x5e362b(0x25a),_0xcbcba9[_0xcbcba9['OK']=0x1]='OK',_0xcbcba9[_0xcbcba9[_0x5e362b(0x2ef)]=0x2]=_0x5e362b(0x2ef),_0xcbcba9[_0xcbcba9[_0x5e362b(0x483)]=0x3]=_0x5e362b(0x483),_0xcbcba9[_0xcbcba9['NOT_FOUND']=0x4]=_0x5e362b(0x305),_0xcbcba9[_0xcbcba9[_0x5e362b(0x2c7)]=0x5]=_0x5e362b(0x2c7),_0xcbcba9[_0xcbcba9[_0x5e362b(0x19f)]=0x6]='ALREADY_EXISTS',_0xcbcba9[_0xcbcba9[_0x5e362b(0x18c)]=0x7]=_0x5e362b(0x18c),_0xcbcba9[_0xcbcba9[_0x5e362b(0x415)]=0x8]=_0x5e362b(0x415),_0xcbcba9[_0xcbcba9[_0x5e362b(0x1ff)]=0x9]=_0x5e362b(0x1ff),_0xcbcba9[_0xcbcba9['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5e362b(0x309),_0xcbcba9[_0xcbcba9[_0x5e362b(0x310)]=0x1771]=_0x5e362b(0x310),_0xcbcba9[_0xcbcba9[_0x5e362b(0x125)]=0x1772]=_0x5e362b(0x125),_0xcbcba9[_0xcbcba9[_0x5e362b(0x1ad)]=0x1773]=_0x5e362b(0x1ad),_0xcbcba9[_0xcbcba9[_0x5e362b(0x260)]=0x1b59]=_0x5e362b(0x260),_0xcbcba9[_0xcbcba9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5e362b(0x17e),_0xcbcba9[_0xcbcba9[_0x5e362b(0x3ef)]=0x1b5b]=_0x5e362b(0x3ef),_0xcbcba9[_0xcbcba9[_0x5e362b(0x297)]=0x1b5c]=_0x5e362b(0x297),_0xcbcba9[_0xcbcba9[_0x5e362b(0x1cc)]=0x1b5d]=_0x5e362b(0x1cc),_0xcbcba9[_0xcbcba9[_0x5e362b(0x40d)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xcbcba9[_0xcbcba9[_0x5e362b(0x2e5)]=0x2329]=_0x5e362b(0x2e5),_0xcbcba9[_0xcbcba9[_0x5e362b(0x19d)]=0x232a]=_0x5e362b(0x19d),_0xcbcba9[_0xcbcba9[_0x5e362b(0x474)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xcbcba9[_0xcbcba9[_0x5e362b(0x2c3)]=0x232c]=_0x5e362b(0x2c3),_0xcbcba9[_0xcbcba9[_0x5e362b(0x416)]=0x232d]=_0x5e362b(0x416),_0xcbcba9[_0xcbcba9[_0x5e362b(0x342)]=0x2711]=_0x5e362b(0x342),_0xcbcba9[_0xcbcba9['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x5e362b(0x1d7),_0xcbcba9[_0xcbcba9[_0x5e362b(0x374)]=0x2713]=_0x5e362b(0x374),_0xcbcba9[_0xcbcba9[_0x5e362b(0x248)]=0x2714]=_0x5e362b(0x248),_0xcbcba9[_0xcbcba9[_0x5e362b(0x116)]=-0x1]='UNRECOGNIZED',_0xcbcba9))(Ct||{}),Z=(_0x4bbbfc=>(_0x4bbbfc[_0x4bbbfc[_0x5e362b(0x2ee)]=0x0]=_0x5e362b(0x2ee),_0x4bbbfc[_0x4bbbfc[_0x5e362b(0x382)]=0x1]=_0x5e362b(0x382),_0x4bbbfc[_0x4bbbfc['UNIVER_SHEET']=0x2]=_0x5e362b(0x3bd),_0x4bbbfc[_0x4bbbfc[_0x5e362b(0x453)]=0x3]='UNIVER_SLIDE',_0x4bbbfc[_0x4bbbfc[_0x5e362b(0x20e)]=0x4]=_0x5e362b(0x20e),_0x4bbbfc[_0x4bbbfc[_0x5e362b(0x116)]=-0x1]=_0x5e362b(0x116),_0x4bbbfc))(Z||{}),G=(_0x1d4baa=>(_0x1d4baa[_0x1d4baa[_0x5e362b(0x144)]=0x0]=_0x5e362b(0x144),_0x1d4baa[_0x1d4baa[_0x5e362b(0x1e3)]=0x1]=_0x5e362b(0x1e3),_0x1d4baa[_0x1d4baa[_0x5e362b(0x48d)]=0x2]=_0x5e362b(0x48d),_0x1d4baa[_0x1d4baa[_0x5e362b(0x37c)]=0x3]=_0x5e362b(0x37c),_0x1d4baa[_0x1d4baa[_0x5e362b(0x20c)]=0x4]=_0x5e362b(0x20c),_0x1d4baa[_0x1d4baa['HEARTBEAT']=0x5]=_0x5e362b(0x361),_0x1d4baa[_0x1d4baa[_0x5e362b(0x2bd)]=0x6]=_0x5e362b(0x2bd),_0x1d4baa[_0x1d4baa['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1d4baa))(G||{}),he=(_0x33d194=>(_0x33d194[_0x33d194[_0x5e362b(0x21c)]=0x0]='UNKNOWN_CODE',_0x33d194[_0x33d194['OK']=0x1]='OK',_0x33d194[_0x33d194[_0x5e362b(0x3a6)]=0x2]=_0x5e362b(0x3a6),_0x33d194[_0x33d194['JOIN_ROOM_FULL']=0x3e9]=_0x5e362b(0x460),_0x33d194[_0x33d194[_0x5e362b(0x29d)]=0x3ea]=_0x5e362b(0x29d),_0x33d194[_0x33d194['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x5e362b(0x2eb),_0x33d194[_0x33d194[_0x5e362b(0x1bd)]=0x3ec]=_0x5e362b(0x1bd),_0x33d194[_0x33d194[_0x5e362b(0x116)]=-0x1]=_0x5e362b(0x116),_0x33d194))(he||{}),Tt=(_0x4eb289=>(_0x4eb289[_0x4eb289[_0x5e362b(0x422)]=0x0]='Undefined',_0x4eb289[_0x4eb289[_0x5e362b(0x18a)]=0x1]=_0x5e362b(0x18a),_0x4eb289[_0x4eb289[_0x5e362b(0x3ac)]=0x2]='HttpExport',_0x4eb289[_0x4eb289['UnitEmbedded']=0x3]=_0x5e362b(0x2ce),_0x4eb289[_0x4eb289[_0x5e362b(0x47c)]=0x4]='UnitSnapshot',_0x4eb289[_0x4eb289[_0x5e362b(0x116)]=-0x1]=_0x5e362b(0x116),_0x4eb289))(Tt||{});const q=_0x5e362b(0x2c2),zt={};var Q=(_0x5806dc=>(_0x5806dc['OTHER_CLIENT_EDITING']=_0x5e362b(0x467),_0x5806dc[_0x5e362b(0x483)]=_0x5e362b(0x483),_0x5806dc[_0x5e362b(0x46b)]=_0x5e362b(0x46b),_0x5806dc[_0x5e362b(0x216)]=_0x5e362b(0x216),_0x5806dc[_0x5e362b(0x3d8)]=_0x5e362b(0x3d8),_0x5806dc[_0x5e362b(0x2c1)]='SOCKET_FAILED_RETRY',_0x5806dc[_0x5e362b(0x421)]=_0x5e362b(0x421),_0x5806dc[_0x5e362b(0x24f)]=_0x5e362b(0x24f),_0x5806dc))(Q||{});function _0x2783(_0x3cdca8,_0x3e4a52){var _0x506d74=_0x506d();return _0x2783=function(_0x2783a9,_0x4c913e){_0x2783a9=_0x2783a9-0x101;var _0x394d35=_0x506d74[_0x2783a9];return _0x394d35;},_0x2783(_0x3cdca8,_0x3e4a52);}class te{constructor(){var _0x232311=_0x5e362b;D(this,_0x232311(0x180),new H[(_0x232311(0x48e))]()),D(this,_0x232311(0x3f8),this[_0x232311(0x180)][_0x232311(0x1ea)]());}[_0x5e362b(0x1f3)](_0x2d7f2e){var _0x43520d=_0x5e362b;this[_0x43520d(0x180)][_0x43520d(0x137)](_0x2d7f2e);}}const bt=a['createIdentifier'](_0x5e362b(0x452));function Rt(_0x233e57){var _0x499319=_0x5e362b,_0x47ea40,_0x494f48,_0x4a4c5d,_0x32ed09,_0x297a17;const _0x523c80=_0x233e57[_0x499319(0x241)],_0x143735=JSON[_0x499319(0x3aa)](_0x523c80);switch(_0x143735[_0x499319(0x2a2)]){case G[_0x499319(0x361)]:case G['HELLO']:{const _0x30c7a9=_0x143735[_0x499319(0x219)];return{..._0x143735,'data':_0x30c7a9,'cmd':_0x143735[_0x499319(0x2a2)]};}case G[_0x499319(0x48d)]:{const _0x58d64a=_0x143735[_0x499319(0x46c)];return{..._0x143735,'data':_0x58d64a,'cmd':_0x143735[_0x499319(0x2a2)]};}case G[_0x499319(0x2bd)]:{const _0x3ae781=_0x143735[_0x499319(0x17a)];switch(_0x3ae781['eventID']){case m[_0x499319(0x1c6)][_0x499319(0x228)]:return{..._0x143735,'data':{..._0x3ae781,'data':(_0x47ea40=_0x3ae781['permissionRejEvent'])==null?void 0x0:_0x47ea40['cs']},'cmd':_0x143735[_0x499319(0x2a2)]};case m[_0x499319(0x1c6)]['CHANGESET_ACK']:return{..._0x143735,'data':{..._0x3ae781,'data':(_0x494f48=_0x3ae781['csAckEvent'])==null?void 0x0:_0x494f48['cs']},'cmd':_0x143735['cmd']};case m[_0x499319(0x1c6)][_0x499319(0x368)]:return{..._0x143735,'data':{..._0x3ae781,'data':(_0x4a4c5d=_0x3ae781[_0x499319(0x38c)])==null?void 0x0:_0x4a4c5d['cs']},'cmd':_0x143735[_0x499319(0x2a2)]};case m[_0x499319(0x1c6)][_0x499319(0x3fe)]:return{..._0x143735,'data':{..._0x3ae781,'data':(_0x32ed09=_0x3ae781['csRejEvent'])==null?void 0x0:_0x32ed09['cs']},'cmd':_0x143735[_0x499319(0x2a2)]};case m[_0x499319(0x1c6)][_0x499319(0x3e2)]:return{..._0x143735,'data':{..._0x3ae781,'data':(_0x297a17=_0x3ae781['csShouldRetryEvent'])==null?void 0x0:_0x297a17['cs']},'cmd':_0x143735[_0x499319(0x2a2)]};case m[_0x499319(0x1c6)]['UPDATE_CURSOR']:return{..._0x143735,'data':{..._0x3ae781,'data':_0x3ae781[_0x499319(0x2d9)]},'cmd':_0x143735[_0x499319(0x2a2)]};case m[_0x499319(0x1c6)][_0x499319(0x41e)]:return{..._0x143735,'data':{..._0x3ae781,'data':_0x3ae781['joinEvent']},'cmd':_0x143735['cmd']};case m[_0x499319(0x1c6)][_0x499319(0x192)]:return{..._0x143735,'data':{..._0x3ae781,'data':_0x3ae781['leaveEvent']},'cmd':_0x143735[_0x499319(0x2a2)]};case m[_0x499319(0x1c6)][_0x499319(0x149)]:return{..._0x143735,'data':{..._0x3ae781,'data':_0x3ae781['liveShareNewHost']},'cmd':_0x143735[_0x499319(0x2a2)]};case m[_0x499319(0x1c6)]['LIVESHARE_FETCH_OPERATIONS']:case m[_0x499319(0x1c6)]['LIVESHARE_OPERATION']:return{..._0x143735,'data':{..._0x3ae781,'data':_0x3ae781[_0x499319(0x3ee)]},'cmd':_0x143735[_0x499319(0x2a2)]};case m[_0x499319(0x1c6)][_0x499319(0x211)]:return{..._0x143735,'data':{..._0x3ae781,'data':_0x3ae781[_0x499319(0x1b0)]},'cmd':_0x143735['cmd']};case m[_0x499319(0x1c6)][_0x499319(0x1c3)]:return{..._0x143735,'data':_0x3ae781,'cmd':_0x143735[_0x499319(0x2a2)]};case m[_0x499319(0x1c6)][_0x499319(0x171)]:return{..._0x143735,'data':{..._0x3ae781,'data':_0x3ae781[_0x499319(0x45c)]},'cmd':_0x143735['cmd']};case m[_0x499319(0x1c6)]['UPDATE_PERMISSION_OBJ']:return{..._0x143735,'data':{..._0x3ae781,'data':_0x3ae781[_0x499319(0x404)]},'cmd':_0x143735[_0x499319(0x2a2)]};case m[_0x499319(0x1c6)][_0x499319(0x1c7)]:return{..._0x143735,'data':{..._0x3ae781,'data':_0x3ae781[_0x499319(0x195)]},'cmd':_0x143735['cmd']};case m[_0x499319(0x1c6)][_0x499319(0x438)]:return{..._0x143735,'data':{..._0x3ae781,'data':_0x3ae781['uniscriptRunEvent']},'cmd':_0x143735['cmd']};default:return _0x143735;}}default:return _0x143735;}}function yt(_0x341737){var _0x34a19d=_0x5e362b;switch(_0x341737[_0x34a19d(0x2a2)]){case G['HEARTBEAT']:case G[_0x34a19d(0x1e3)]:return JSON[_0x34a19d(0x102)]({'cmd':_0x341737[_0x34a19d(0x2a2)],'routeKey':_0x341737[_0x34a19d(0x418)]});case G[_0x34a19d(0x20c)]:{let _0x34f281;switch(_0x341737['data'][_0x34a19d(0x172)]){case m[_0x34a19d(0x1c6)][_0x34a19d(0x1df)]:{_0x34f281={'eventID':m[_0x34a19d(0x1c6)]['UPDATE_CURSOR'],'updateCursorEvent':_0x341737[_0x34a19d(0x241)]['data']};break;}case m['CollaborationEvent'][_0x34a19d(0x192)]:{_0x34f281={'eventID':m[_0x34a19d(0x1c6)][_0x34a19d(0x192)],'leaveEvent':_0x341737[_0x34a19d(0x241)][_0x34a19d(0x241)]};break;}case m[_0x34a19d(0x1c6)]['USERS_ENTER']:{_0x34f281={'eventID':m[_0x34a19d(0x1c6)][_0x34a19d(0x41e)],'joinEvent':_0x341737[_0x34a19d(0x241)][_0x34a19d(0x241)]};break;}case m[_0x34a19d(0x1c6)][_0x34a19d(0x149)]:{_0x34f281={'eventID':m[_0x34a19d(0x1c6)][_0x34a19d(0x149)],'liveShareNewHost':_0x341737['data'][_0x34a19d(0x241)]};break;}case m[_0x34a19d(0x1c6)][_0x34a19d(0x314)]:{_0x34f281={'eventID':m[_0x34a19d(0x1c6)][_0x34a19d(0x314)],'liveShareOperation':_0x341737[_0x34a19d(0x241)][_0x34a19d(0x241)]};break;}case m[_0x34a19d(0x1c6)]['LIVESHARE_TERMINATE']:{_0x34f281={'eventID':m[_0x34a19d(0x1c6)][_0x34a19d(0x211)],'liveShareTerminate':_0x341737[_0x34a19d(0x241)][_0x34a19d(0x241)]};break;}case m[_0x34a19d(0x1c6)][_0x34a19d(0x3fc)]:{_0x34f281={'eventID':m[_0x34a19d(0x1c6)][_0x34a19d(0x3fc)],'liveShareRequestHost':_0x341737[_0x34a19d(0x241)][_0x34a19d(0x241)]};break;}case m[_0x34a19d(0x1c6)][_0x34a19d(0x182)]:{_0x34f281={'eventID':m[_0x34a19d(0x1c6)][_0x34a19d(0x182)]};break;}default:_0x34f281={'eventID':_0x341737[_0x34a19d(0x241)][_0x34a19d(0x172)]};}return JSON[_0x34a19d(0x102)]({'cmd':_0x341737[_0x34a19d(0x2a2)],'routeKey':_0x341737['routeKey'],'collaMsg':_0x34f281});}case G['JOIN']:return JSON[_0x34a19d(0x102)]({'cmd':_0x341737[_0x34a19d(0x2a2)],'routeKey':_0x341737['routeKey'],'joinReq':_0x341737['data']});case G['LEAVE']:return JSON[_0x34a19d(0x102)]({'cmd':_0x341737['cmd'],'routeKey':_0x341737[_0x34a19d(0x418)],'leaveReq':_0x341737[_0x34a19d(0x241)]});default:throw new Error(_0x34a19d(0x17b));}}var Jt=Object['defineProperty'],Xt=Object[_0x5e362b(0x3e5)],Zt=(_0x20fba2,_0x475c46,_0x46a8ab,_0x85fddb)=>{var _0x43a72f=_0x5e362b;for(var _0x518478=_0x85fddb>0x1?void 0x0:_0x85fddb?Xt(_0x475c46,_0x46a8ab):_0x475c46,_0x4f79b6=_0x20fba2[_0x43a72f(0x412)]-0x1,_0x22018a;_0x4f79b6>=0x0;_0x4f79b6--)(_0x22018a=_0x20fba2[_0x4f79b6])&&(_0x518478=(_0x85fddb?_0x22018a(_0x475c46,_0x46a8ab,_0x518478):_0x22018a(_0x518478))||_0x518478);return _0x85fddb&&_0x518478&&Jt(_0x475c46,_0x46a8ab,_0x518478),_0x518478;},ue=(_0x4821f4,_0x14860d)=>(_0x1923b1,_0x4b38f6)=>_0x14860d(_0x1923b1,_0x4b38f6,_0x4821f4);const ke=a[_0x5e362b(0x1be)](_0x5e362b(0x1f9));function Qt(_0x4ff9a0,_0x44a699,_0x500af9){var _0x412d48=_0x5e362b;return _0x4ff9a0+'/'+_0x44a699+_0x412d48(0x22b)+_0x500af9+_0x412d48(0x2d8);}exports[_0x5e362b(0x278)]=class extends a['Disposable']{constructor(_0x598cb9,_0x135a0b,_0x5380f2,_0x500d4a,_0x286d5c){var _0x381795=_0x5e362b;super(),this['_injector']=_0x598cb9,this[_0x381795(0x147)]=_0x135a0b,this['_configService']=_0x5380f2,this[_0x381795(0x191)]=_0x500d4a,this['_snapshotServerService']=_0x286d5c;}[_0x5e362b(0x200)](_0x487e29){var _0x4df9fa=_0x5e362b;const _0x298d07=this[_0x4df9fa(0x176)]['get'](z[_0x4df9fa(0x10b)]);if(!_0x298d07)throw new Error(_0x4df9fa(0x3b9));const _0x31e4a9=_0x298d07[_0x4df9fa(0x200)](_0x487e29);if(!_0x31e4a9)throw new Error(_0x4df9fa(0x181));const _0x252a5b=new a[(_0x4df9fa(0x3b5))](),_0x90da28=new H[(_0x4df9fa(0x48e))]();_0x252a5b['add'](_0x31e4a9[_0x4df9fa(0x304)][_0x4df9fa(0x476)](_0x5c9b72=>_0x90da28[_0x4df9fa(0x137)](_0x5c9b72))),_0x252a5b['add'](a['toDisposable'](()=>_0x90da28[_0x4df9fa(0x42a)]()));const _0x39b126=new H[(_0x4df9fa(0x48e))]();_0x252a5b[_0x4df9fa(0x215)](_0x31e4a9['error$']['subscribe'](_0xbd40fa=>_0x39b126[_0x4df9fa(0x137)](_0xbd40fa))),_0x252a5b[_0x4df9fa(0x215)](a['toDisposable'](()=>_0x39b126['complete']()));const _0x4941ae=new H[(_0x4df9fa(0x48e))]();_0x252a5b[_0x4df9fa(0x215)](_0x31e4a9[_0x4df9fa(0x46d)][_0x4df9fa(0x476)](_0x31b4d6=>{var _0x3865f7=_0x4df9fa;const _0x38d888=Rt(_0x31b4d6);_0x4941ae[_0x3865f7(0x137)](_0x38d888);})),_0x252a5b[_0x4df9fa(0x215)](a[_0x4df9fa(0x29b)](()=>_0x4941ae[_0x4df9fa(0x42a)]()));let _0x475b38;const _0x1e36c7=()=>{var _0x127f10=_0x4df9fa;_0x39b126[_0x127f10(0x137)](new Event(_0x127f10(0x302))),_0x90da28[_0x127f10(0x137)](new CloseEvent(_0x127f10(0x302))),_0x475b38[_0x127f10(0x23a)]();};return _0x475b38={'memberID':'','close$':_0x90da28[_0x4df9fa(0x1ea)](),'error$':_0x39b126[_0x4df9fa(0x1ea)](),'open$':_0x31e4a9[_0x4df9fa(0x350)],'message$':_0x4941ae[_0x4df9fa(0x1ea)](),'send':_0x3d2e7c=>{var _0x425c03=_0x4df9fa;if(_0x3d2e7c[_0x425c03(0x2a2)]===G[_0x425c03(0x20c)]){if(_0x3d2e7c[_0x425c03(0x241)][_0x425c03(0x172)]===m['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x425c03(0x2ad)](_0x475b38,_0x3d2e7c['data'])[_0x425c03(0x2a6)](_0x12e2a0=>{var _0x1129f2=_0x425c03;this[_0x1129f2(0x191)][_0x1129f2(0x2f3)](_0x12e2a0),_0x1e36c7();});return;}if(_0x3d2e7c[_0x425c03(0x241)][_0x425c03(0x172)]===m['CollaborationEvent'][_0x425c03(0x269)]){const _0x20d6d6=_0x3d2e7c[_0x425c03(0x241)];this[_0x425c03(0x246)](_0x20d6d6)[_0x425c03(0x363)](_0x5b6c7c=>{var _0x5c7fcc=_0x425c03;_0x4941ae[_0x5c7fcc(0x137)]({'cmd':G['RECV'],'code':he['OK'],'routeKey':_0x20d6d6['data']['unitID'],'routeType':'','data':{'eventID':m['CollaborationEvent'][_0x5c7fcc(0x26c)],'data':{'changesets':_0x5b6c7c}}});})[_0x425c03(0x2a6)](_0x5a76ff=>{var _0xc8dd53=_0x425c03;this[_0xc8dd53(0x191)][_0xc8dd53(0x2f3)](_0x5a76ff),_0x1e36c7();});return;}}_0x31e4a9[_0x425c03(0x341)](yt(_0x3d2e7c));},'close':()=>{var _0x332d58=_0x4df9fa;_0x31e4a9[_0x332d58(0x23a)](),_0x252a5b['dispose']();}},_0x475b38;}async[_0x5e362b(0x2ad)](_0x3ae4ab,_0x261784){var _0x36563f=_0x5e362b,_0x1ff232,_0x36e7d1;const {unitType:_0x244848,unitID:_0x43d988,changeset:_0x36fc8e}=_0x261784['data'],_0xe5a2cd={'unitID':_0x43d988,'memberID':_0x3ae4ab['memberID'],'type':_0x244848,'changeset':m[_0x36563f(0x107)](_0x36fc8e)},_0x3a588e=this['_configService']['getConfig'](It),_0x392a5a=this[_0x36563f(0x2b4)]['getConfig'](q),_0x3ee201=Qt((_0x36e7d1=(_0x1ff232=_0x392a5a==null?void 0x0:_0x392a5a[_0x36563f(0x41f)])!=null?_0x1ff232:_0x3a588e)!=null?_0x36e7d1:Yt,_0x244848,_0x43d988);try{await this[_0x36563f(0x147)][_0x36563f(0x454)](_0x3ee201,{'body':_0xe5a2cd});}catch(_0xd19f19){throw this[_0x36563f(0x191)][_0x36563f(0x2f3)]('[CollaborationSession]',_0x36563f(0x1ce)),_0xd19f19;}}async[_0x5e362b(0x246)](_0x4fe046){var _0x3b2c93=_0x5e362b;const {unitID:_0xf10c1,from:_0x4c9a0f,to:_0x446ebc,unitType:_0xe98495}=_0x4fe046[_0x3b2c93(0x241)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0xf10c1,'type':_0xe98495,'from':_0x4c9a0f,'to':_0x446ebc}))[_0x3b2c93(0x301)];}},exports['CollaborationSocketService']=Zt([ue(0x0,a[_0x5e362b(0x2b5)](a[_0x5e362b(0x428)])),ue(0x1,a[_0x5e362b(0x2b5)](z[_0x5e362b(0x235)])),ue(0x2,a[_0x5e362b(0x1ec)]),ue(0x3,a[_0x5e362b(0x324)]),ue(0x4,m[_0x5e362b(0x2e4)])],exports[_0x5e362b(0x278)]);const ei=_0x5e362b(0x322);function ti(_0x66c6c1){var _0x1b3cc9=_0x5e362b;return JSON[_0x1b3cc9(0x102)](_0x66c6c1)['length'];}class Be{constructor(){var _0xd9e6d4=_0x5e362b;D(this,_0xd9e6d4(0x339),new H[(_0xd9e6d4(0x48e))]()),D(this,_0xd9e6d4(0x386),this['_commentUpdate$']['asObservable']());}[_0x5e362b(0x330)](_0x4ad665){var _0x509fa0=_0x5e362b;this[_0x509fa0(0x339)][_0x509fa0(0x137)](_0x4ad665);}}var ii=Object[_0x5e362b(0x3cd)],ni=Object[_0x5e362b(0x3e5)],ri=(_0x587e2f,_0x1ec182,_0x4bd5a0,_0x448433)=>{var _0x4ecb72=_0x5e362b;for(var _0x2e5e76=_0x448433>0x1?void 0x0:_0x448433?ni(_0x1ec182,_0x4bd5a0):_0x1ec182,_0x1115fc=_0x587e2f[_0x4ecb72(0x412)]-0x1,_0x14fdd0;_0x1115fc>=0x0;_0x1115fc--)(_0x14fdd0=_0x587e2f[_0x1115fc])&&(_0x2e5e76=(_0x448433?_0x14fdd0(_0x1ec182,_0x4bd5a0,_0x2e5e76):_0x14fdd0(_0x2e5e76))||_0x2e5e76);return _0x448433&&_0x2e5e76&&ii(_0x1ec182,_0x4bd5a0,_0x2e5e76),_0x2e5e76;},Ke=(_0x46953a,_0x16401f)=>(_0x1b2bd9,_0x55fed)=>_0x16401f(_0x1b2bd9,_0x55fed,_0x46953a);exports[_0x5e362b(0x14b)]=class extends a[_0x5e362b(0x25b)]{constructor(_0x288a24,_0x3a0fe5){var _0x581cd3=_0x5e362b;super(),D(this,'_roomMembers',new Map()),D(this,_0x581cd3(0x43a),new H[(_0x581cd3(0x48e))]()),(this['_univerInstanceService']=_0x288a24,this[_0x581cd3(0x434)]=_0x3a0fe5,this[_0x581cd3(0x21b)](H[_0x581cd3(0x29e)](this[_0x581cd3(0x3f5)]['getTypeOfUnitDisposed$'](a[_0x581cd3(0x3b2)][_0x581cd3(0x3bd)])['pipe'](V[_0x581cd3(0x47f)](_0x437018=>_0x437018[_0x581cd3(0x1e6)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x581cd3(0x3b2)][_0x581cd3(0x382)])[_0x581cd3(0x1cd)](V[_0x581cd3(0x47f)](_0x2a05f6=>_0x2a05f6['getUnitId']())),this[_0x581cd3(0x3f5)][_0x581cd3(0x3ca)](a[_0x581cd3(0x3b2)][_0x581cd3(0x453)])[_0x581cd3(0x1cd)](V[_0x581cd3(0x47f)](_0x2decc4=>_0x2decc4['getUnitId']())))['subscribe'](_0x3cad18=>this[_0x581cd3(0x277)](_0x3cad18))));}[_0x5e362b(0x18f)](_0x2974df){var _0x5f1ce6=_0x5e362b;return this[_0x5f1ce6(0x344)][_0x5f1ce6(0x1bf)](_0x2974df)?H['of'](this[_0x5f1ce6(0x344)]['get'](_0x2974df)):this['_roomCreated$'][_0x5f1ce6(0x1cd)](V['map'](_0x136ed8=>{var _0x157e46=_0x5f1ce6;if(_0x136ed8===_0x2974df)return this[_0x157e46(0x344)][_0x157e46(0x321)](_0x136ed8);}));}[_0x5e362b(0x1b4)](_0x4431cb){var _0x1280ad=_0x5e362b;this[_0x1280ad(0x434)][_0x1280ad(0x1b4)](_0x4431cb);}[_0x5e362b(0x223)](){var _0xa999d1=_0x5e362b;return this[_0xa999d1(0x434)]['getCurrentUser']();}['updateMember'](_0x3d644a,_0x37278b){var _0x4aba5f=_0x5e362b;let _0x51c386=this[_0x4aba5f(0x344)][_0x4aba5f(0x321)](_0x3d644a);_0x51c386||(_0x51c386=new si(),this[_0x4aba5f(0x344)]['set'](_0x3d644a,_0x51c386),this['_roomCreated$']['next'](_0x3d644a)),_0x51c386['updateMember'](_0x37278b);}[_0x5e362b(0x3f9)](_0x2f875d,_0x11ff81){var _0x5bb936=_0x5e362b;const _0x1af400=this['_roomMembers'][_0x5bb936(0x321)](_0x2f875d);_0x1af400&&_0x1af400['removeMember'](_0x11ff81);}[_0x5e362b(0x109)](_0x5c5843){var _0x446bdf=_0x5e362b;return this[_0x446bdf(0x344)][_0x446bdf(0x321)](_0x5c5843);}[_0x5e362b(0x16e)](_0xd8f498,_0x5f170f){var _0x249cc1=_0x5e362b;const _0x4cf703=this[_0x249cc1(0x344)][_0x249cc1(0x321)](_0xd8f498);if(_0x4cf703)return _0x4cf703[_0x249cc1(0x16e)](_0x5f170f);}[_0x5e362b(0x277)](_0x5596ed){var _0x250689=_0x5e362b;const _0x555f13=this[_0x250689(0x344)][_0x250689(0x321)](_0x5596ed);_0x555f13&&(_0x555f13[_0x250689(0x413)](),this['_roomMembers'][_0x250689(0x358)](_0x5596ed));}[_0x5e362b(0x413)](){var _0x2a7c7a=_0x5e362b;this[_0x2a7c7a(0x344)][_0x2a7c7a(0x129)](_0x3c1b59=>_0x3c1b59[_0x2a7c7a(0x413)]()),this[_0x2a7c7a(0x344)][_0x2a7c7a(0x401)](),this[_0x2a7c7a(0x43a)][_0x2a7c7a(0x42a)]();}},exports[_0x5e362b(0x14b)]=ri([Ke(0x0,a[_0x5e362b(0x202)]),Ke(0x1,a['Inject'](a[_0x5e362b(0x3e4)]))],exports[_0x5e362b(0x14b)]);class si extends a[_0x5e362b(0x25b)]{constructor(){var _0x3ea97b=_0x5e362b;super(...arguments),D(this,'_members',new Map()),D(this,'_members$',new H[(_0x3ea97b(0x148))](this[_0x3ea97b(0x466)])),D(this,_0x3ea97b(0x13f),this['_members$'][_0x3ea97b(0x1ea)]());}['dispose'](){var _0x50df0d=_0x5e362b;this[_0x50df0d(0x466)][_0x50df0d(0x401)]();}['updateMember'](_0x54f7fd){var _0x3b0276=_0x5e362b;this[_0x3b0276(0x466)][_0x3b0276(0x1dd)](_0x54f7fd[_0x3b0276(0x2f1)],_0x54f7fd),this[_0x3b0276(0x3df)]();}['removeMember'](_0x31642a){var _0x40c266=_0x5e362b;this[_0x40c266(0x466)]['delete'](_0x31642a);}[_0x5e362b(0x16e)](_0x4bd7fe){var _0x2defef=_0x5e362b;return this[_0x2defef(0x466)][_0x2defef(0x321)](_0x4bd7fe);}['getAllMembers'](){var _0x219ca1=_0x5e362b;return Array[_0x219ca1(0x48c)](this[_0x219ca1(0x466)][_0x219ca1(0x383)]());}[_0x5e362b(0x3df)](){var _0x5a876f=_0x5e362b;this[_0x5a876f(0x2e0)][_0x5a876f(0x137)](this[_0x5a876f(0x466)]);}}var oi=Object[_0x5e362b(0x3cd)],ai=Object[_0x5e362b(0x3e5)],ci=(_0x5942b6,_0x52baca,_0x298ce0,_0x37b9c2)=>{var _0x2e0002=_0x5e362b;for(var _0x50bf2f=_0x37b9c2>0x1?void 0x0:_0x37b9c2?ai(_0x52baca,_0x298ce0):_0x52baca,_0x5d8b93=_0x5942b6[_0x2e0002(0x412)]-0x1,_0x523e82;_0x5d8b93>=0x0;_0x5d8b93--)(_0x523e82=_0x5942b6[_0x5d8b93])&&(_0x50bf2f=(_0x37b9c2?_0x523e82(_0x52baca,_0x298ce0,_0x50bf2f):_0x523e82(_0x50bf2f))||_0x50bf2f);return _0x37b9c2&&_0x50bf2f&&oi(_0x52baca,_0x298ce0,_0x50bf2f),_0x50bf2f;},oe=(_0x35e9a2,_0x2f20bf)=>(_0xe8f059,_0xd70480)=>_0x2f20bf(_0xe8f059,_0xd70480,_0x35e9a2),se=(_0x50a887=>(_0x50a887[_0x50a887[_0x5e362b(0x3ea)]=0x0]=_0x5e362b(0x3ea),_0x50a887[_0x50a887[_0x5e362b(0x2c9)]=0x1]='JOINING',_0x50a887[_0x50a887['OFFLINE']=0x2]=_0x5e362b(0x23c),_0x50a887[_0x50a887[_0x5e362b(0x1af)]=0x3]=_0x5e362b(0x1af),_0x50a887))(se||{});const Ye={[he[_0x5e362b(0x3a6)]]:'session.join-failed',[he['JOIN_ROOM_FULL']]:'session.room-full',[he['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[he[_0x5e362b(0x2eb)]]:_0x5e362b(0x2e9),[he[_0x5e362b(0x1bd)]]:_0x5e362b(0x1fb)};exports[_0x5e362b(0x27e)]=class extends a[_0x5e362b(0x2d7)]{constructor(_0x23323c,_0x12f9df,_0x554915,_0x218718,_0x1e51f3,_0x2e6dae,_0xe61c62,_0x233f48,_0x49eb26){var _0x59bb55=_0x5e362b;super(),D(this,_0x59bb55(0x3e0),new H[(_0x59bb55(0x148))](0x0)),D(this,_0x59bb55(0x336),this[_0x59bb55(0x3e0)][_0x59bb55(0x1ea)]()),D(this,_0x59bb55(0x180),new H[(_0x59bb55(0x48e))]()),D(this,_0x59bb55(0x3f8),this[_0x59bb55(0x180)][_0x59bb55(0x1ea)]()),D(this,_0x59bb55(0x3a5)),D(this,'_socketMessageSubscription'),D(this,'_collaborationTimeoutTimer'),D(this,'_shouldReportTelemetry',!0x1),D(this,_0x59bb55(0x1b9),null),(this[_0x59bb55(0x3fd)]=_0x23323c,this[_0x59bb55(0x191)]=_0x554915,this['_configService']=_0x218718,this[_0x59bb55(0x1a5)]=_0x1e51f3,this['_memberService']=_0x2e6dae,this[_0x59bb55(0x42f)]=_0xe61c62,this[_0x59bb55(0x36f)]=_0x233f48,this[_0x59bb55(0x295)]=_0x49eb26,this[_0x59bb55(0x379)]=!!this[_0x59bb55(0x295)],_0x12f9df['pipe'](H['takeUntil'](this[_0x59bb55(0x15b)]))[_0x59bb55(0x476)](_0x2b4353=>{var _0x45b5bf=_0x59bb55,_0x10ee81;typeof _0x2b4353>'u'||(this['_socket']=_0x2b4353,_0x2b4353?(this[_0x45b5bf(0x289)](_0x2b4353),this[_0x45b5bf(0x252)]=_0x2b4353[_0x45b5bf(0x46d)][_0x45b5bf(0x476)](_0x294ef4=>{var _0x22516a=_0x45b5bf;_0x294ef4[_0x22516a(0x418)]===this[_0x22516a(0x3fd)]&&this[_0x22516a(0x251)](_0x294ef4);})):(this[_0x45b5bf(0x362)](),this[_0x45b5bf(0x3e0)]['next'](0x2),(_0x10ee81=this[_0x45b5bf(0x252)])==null||_0x10ee81[_0x45b5bf(0x311)](),this[_0x45b5bf(0x252)]=null));}));}get['sessionStatus'](){var _0x2f5245=_0x5e362b;return this[_0x2f5245(0x3e0)]['getValue']();}[_0x5e362b(0x332)](){var _0x48b369=_0x5e362b,_0x2293ca,_0xa5a4f0;return(_0xa5a4f0=(_0x2293ca=this[_0x48b369(0x3a5)])==null?void 0x0:_0x2293ca[_0x48b369(0x2f1)])!=null?_0xa5a4f0:null;}[_0x5e362b(0x413)](){var _0x52760d=_0x5e362b;super['dispose'](),this['dispose$']['next'](),this[_0x52760d(0x15b)][_0x52760d(0x42a)]();}['close'](){var _0x3f0c4d=_0x5e362b,_0x324e8a,_0x45819e;this[_0x3f0c4d(0x362)](),(_0x324e8a=this[_0x3f0c4d(0x3a5)])==null||_0x324e8a[_0x3f0c4d(0x341)]({'cmd':G[_0x3f0c4d(0x37c)],'data':{'roomID':this[_0x3f0c4d(0x3fd)]}}),(_0x45819e=this[_0x3f0c4d(0x3a5)])==null||_0x45819e[_0x3f0c4d(0x23a)](),this[_0x3f0c4d(0x180)][_0x3f0c4d(0x42a)](),this['_sessionStatus$']['complete'](),this[_0x3f0c4d(0x413)]();}[_0x5e362b(0x251)](_0x4a2709){var _0x2ed585=_0x5e362b;_0x4a2709[_0x2ed585(0x2a2)]===G[_0x2ed585(0x48d)]?this[_0x2ed585(0x1a7)](_0x4a2709):_0x4a2709[_0x2ed585(0x2a2)]===G[_0x2ed585(0x2bd)]&&this[_0x2ed585(0x2bb)](_0x4a2709);}[_0x5e362b(0x289)](_0x3c8ef5){var _0x48d91b=_0x5e362b;this[_0x48d91b(0x3e0)]['next'](0x1),_0x3c8ef5['send']({'cmd':G[_0x48d91b(0x48d)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x9082bd){var _0x1abd02=_0x5e362b,_0x2b1bac;if(_0x9082bd[_0x1abd02(0x28e)]in Ye){this[_0x1abd02(0x36f)][_0x1abd02(0x1f3)]({'id':Q[_0x1abd02(0x3d8)],'data':Ye[_0x9082bd['code']]}),this[_0x1abd02(0x3e0)][_0x1abd02(0x137)](0x2);return;}this[_0x1abd02(0x3e0)][_0x1abd02(0x137)](0x3);const _0x304244=(_0x2b1bac=_0x9082bd[_0x1abd02(0x241)]['roomInfos'][this[_0x1abd02(0x3fd)]])==null?void 0x0:_0x2b1bac[_0x1abd02(0x160)];_0x304244&&_0x304244[_0x1abd02(0x129)](_0x43796d=>this[_0x1abd02(0x3fb)][_0x1abd02(0x2ed)](this[_0x1abd02(0x3fd)],_0x43796d));}[_0x5e362b(0x2bb)](_0x3b139c){var _0x2814f1=_0x5e362b;try{const _0x34302d=_0x3b139c['data'];switch(_0x34302d[_0x2814f1(0x172)]){case m[_0x2814f1(0x1c6)]['USERS_ENTER']:this[_0x2814f1(0x3c8)](_0x34302d),this['_event$'][_0x2814f1(0x137)](_0x34302d);break;case m[_0x2814f1(0x1c6)][_0x2814f1(0x192)]:this[_0x2814f1(0x2f6)](_0x34302d),this[_0x2814f1(0x180)][_0x2814f1(0x137)](_0x34302d);break;case m[_0x2814f1(0x1c6)][_0x2814f1(0x199)]:case m[_0x2814f1(0x1c6)][_0x2814f1(0x3e2)]:this[_0x2814f1(0x3c0)](),this[_0x2814f1(0x450)](),this[_0x2814f1(0x180)][_0x2814f1(0x137)](_0x34302d);break;case m[_0x2814f1(0x1c6)][_0x2814f1(0x1c3)]:this[_0x2814f1(0x191)][_0x2814f1(0x2f3)](_0x2814f1(0x465)+JSON['stringify'](_0x34302d)),this['_event$']['next'](_0x34302d);break;case m[_0x2814f1(0x1c6)][_0x2814f1(0x171)]:this['_commentService']['onCommentUpdate'](_0x34302d['data']),this[_0x2814f1(0x180)][_0x2814f1(0x137)](_0x34302d);break;default:this[_0x2814f1(0x180)]['next'](_0x34302d);}}catch(_0x387d26){this[_0x2814f1(0x191)]['error'](_0x387d26,_0x3b139c);}}[_0x5e362b(0x3c8)](_0x15dd79){var _0x3ae26f=_0x5e362b;this['_memberService'][_0x3ae26f(0x2ed)](this['_unitID'],_0x15dd79['data']);}[_0x5e362b(0x2f6)](_0x519b96){var _0x18e368=_0x5e362b;this[_0x18e368(0x3fb)][_0x18e368(0x3f9)](this[_0x18e368(0x3fd)],_0x519b96['data'][_0x18e368(0x2f1)]);}async[_0x5e362b(0x341)](_0x263608,_0xdf4ea){var _0x24bbe1=_0x5e362b;if(this[_0x24bbe1(0x484)]!==0x3||!this[_0x24bbe1(0x3a5)])throw new Error(_0x24bbe1(0x21e));try{_0x263608[_0x24bbe1(0x172)]===m[_0x24bbe1(0x1c6)][_0x24bbe1(0x299)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x24bbe1(0x264)](_0x263608)),this[_0x24bbe1(0x3a5)]['send']({'cmd':G[_0x24bbe1(0x20c)],'routeKey':_0xdf4ea,'routeType':'','data':_0x263608});}catch(_0x32dcc6){this[_0x24bbe1(0x191)][_0x24bbe1(0x2f3)](_0x32dcc6);}}[_0x5e362b(0x2c8)](){var _0x13fdba=_0x5e362b,_0x3ce38b;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x1ef60f=_0x2783;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x1ef60f(0x1f3)]({'id':Q[_0x1ef60f(0x24f)]});},(_0x3ce38b=this[_0x13fdba(0x2b4)][_0x13fdba(0x32b)](He))!=null?_0x3ce38b:gt);}[_0x5e362b(0x450)](){var _0x36d820=_0x5e362b;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x36d820(0x489)]),this[_0x36d820(0x489)]=null);}[_0x5e362b(0x264)](_0xefb330){var _0x244ceb=_0x5e362b;if(!this[_0x244ceb(0x379)])return;const {data:_0x28553d}=_0xefb330,{unitID:_0x117d3f,changeset:_0x3ae054}=_0x28553d,{mutations:_0x6c22f9,type:_0x5c9376}=_0x3ae054;this[_0x244ceb(0x1b9)]={'unitId':_0x117d3f,'type':_0x5c9376,'startTime':performance[_0x244ceb(0x492)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x6c22f9)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x2c0743=_0x5e362b;if(this[_0x2c0743(0x379)]){if(!this[_0x2c0743(0x1b9)]){this[_0x2c0743(0x191)][_0x2c0743(0x2f3)](_0x2c0743(0x21d),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo']['stopTime']=performance[_0x2c0743(0x492)](),this[_0x2c0743(0x1b9)][_0x2c0743(0x2c4)]=this[_0x2c0743(0x1b9)][_0x2c0743(0x22e)]-this['_telemetryInfo']['startTime'],this[_0x2c0743(0x295)]['capture'](ei,this[_0x2c0743(0x1b9)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x4030f8=_0x5e362b;this[_0x4030f8(0x1b9)]=null;}},exports[_0x5e362b(0x27e)]=ci([oe(0x2,a[_0x5e362b(0x324)]),oe(0x3,a[_0x5e362b(0x1ec)]),oe(0x4,a[_0x5e362b(0x2b5)](a[_0x5e362b(0x372)])),oe(0x5,a[_0x5e362b(0x2b5)](exports['MemberService'])),oe(0x6,a['Inject'](Be)),oe(0x7,a[_0x5e362b(0x2b5)](te)),oe(0x8,a['Optional'](xt[_0x5e362b(0x2de)]))],exports[_0x5e362b(0x27e)]);var hi=Object[_0x5e362b(0x3cd)],li=Object[_0x5e362b(0x3e5)],_i=(_0x28c160,_0x22f34f,_0x10f2dc,_0x416ab8)=>{var _0x44f361=_0x5e362b;for(var _0x429f7f=_0x416ab8>0x1?void 0x0:_0x416ab8?li(_0x22f34f,_0x10f2dc):_0x22f34f,_0x1ae3f2=_0x28c160[_0x44f361(0x412)]-0x1,_0x4d7a97;_0x1ae3f2>=0x0;_0x1ae3f2--)(_0x4d7a97=_0x28c160[_0x1ae3f2])&&(_0x429f7f=(_0x416ab8?_0x4d7a97(_0x22f34f,_0x10f2dc,_0x429f7f):_0x4d7a97(_0x429f7f))||_0x429f7f);return _0x416ab8&&_0x429f7f&&hi(_0x22f34f,_0x10f2dc,_0x429f7f),_0x429f7f;},ae=(_0x1d3010,_0x1d7390)=>(_0x4acac7,_0x327ae1)=>_0x1d7390(_0x4acac7,_0x327ae1,_0x1d3010);exports[_0x5e362b(0x25f)]=class extends a[_0x5e362b(0x25b)]{constructor(_0x54208f,_0x43a9fa,_0x5c6d11,_0x439e8a,_0x5b1388,_0x3e96e5,_0x3ee4c3){var _0x5ee1fe=_0x5e362b;super(),D(this,_0x5ee1fe(0x183),new H[(_0x5ee1fe(0x148))](void 0x0)),D(this,_0x5ee1fe(0x267),this[_0x5ee1fe(0x183)][_0x5ee1fe(0x1ea)]()),D(this,_0x5ee1fe(0x166),null),D(this,'_sessions',new Map()),D(this,_0x5ee1fe(0x110),new H[(_0x5ee1fe(0x148))](se['IDLE'])),D(this,_0x5ee1fe(0x291),this[_0x5ee1fe(0x110)][_0x5ee1fe(0x1ea)]()),D(this,_0x5ee1fe(0x448),!0x1),D(this,_0x5ee1fe(0x13a)),D(this,'_retryCount',0x0),D(this,_0x5ee1fe(0x3d3)),D(this,'_timeoutTimer'),(this[_0x5ee1fe(0x176)]=_0x54208f,this['_logService']=_0x43a9fa,this['_configService']=_0x5c6d11,this[_0x5ee1fe(0x445)]=_0x439e8a,this['_httpService']=_0x5b1388,this['_collaborationUIEventService']=_0x3e96e5,this[_0x5ee1fe(0x16c)]=_0x3ee4c3,this['_listenToNetworkCondition']());}get[_0x5e362b(0x3a5)](){var _0x502758=_0x5e362b;return this[_0x502758(0x183)][_0x502758(0x242)]();}['_listenToNetworkCondition'](){var _0x369f97=_0x5e362b;this[_0x369f97(0x16c)]&&this[_0x369f97(0x21b)](this[_0x369f97(0x16c)][_0x369f97(0x266)]['subscribe'](_0x1b6eaa=>{var _0x42e909=_0x369f97;_0x1b6eaa&&!this[_0x42e909(0x3a5)]&&this['reconnect'](),_0x1b6eaa||this[_0x42e909(0x224)]();}));}[_0x5e362b(0x413)](){var _0x3e3565=_0x5e362b;super['dispose'](),this[_0x3e3565(0x399)][_0x3e3565(0x129)](_0x4a28c9=>_0x4a28c9[_0x3e3565(0x413)]()),this[_0x3e3565(0x399)][_0x3e3565(0x401)](),this[_0x3e3565(0x110)][_0x3e3565(0x42a)]();}async[_0x5e362b(0x162)](_0x31dde7){var _0x12f279=_0x5e362b;if(this['_sessions'][_0x12f279(0x1bf)](_0x31dde7))return this[_0x12f279(0x399)]['get'](_0x31dde7);this['_tryEnsureSocket']();const _0x1bef45=this[_0x12f279(0x176)][_0x12f279(0x12c)](exports[_0x12f279(0x27e)],_0x31dde7,this[_0x12f279(0x183)][_0x12f279(0x1ea)]());return this[_0x12f279(0x399)][_0x12f279(0x1dd)](_0x31dde7,_0x1bef45),_0x1bef45;}['closeSession'](_0x4127f6){var _0x310039=_0x5e362b,_0x4ddc1b;const _0x5d56c8=this['_sessions'][_0x310039(0x321)](_0x4127f6);_0x5d56c8&&(this[_0x310039(0x399)][_0x310039(0x358)](_0x4127f6),_0x5d56c8[_0x310039(0x23a)]()),this[_0x310039(0x399)]['size']||(_0x4ddc1b=this[_0x310039(0x3a5)])==null||_0x4ddc1b['close']();}['reconnect'](){var _0x5528f1=_0x5e362b;this[_0x5528f1(0x1ef)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x5528f1(0x13a)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async[_0x5e362b(0x457)](){var _0x5bda07=_0x5e362b,_0x4427b9,_0x3890f3,_0x4d7809;const _0x5c06d1=this[_0x5bda07(0x2b4)][_0x5bda07(0x32b)](q),_0x4f133f=(_0x4427b9=_0x5c06d1==null?void 0x0:_0x5c06d1[_0x5bda07(0x455)])!=null?_0x4427b9:Bt;return(_0x4d7809=(_0x3890f3=(await this['_httpService'][_0x5bda07(0x321)](_0x4f133f,{'headers':{'Content-Type':_0x5bda07(0x2cf)}}))['body'])==null?void 0x0:_0x3890f3[_0x5bda07(0x494)])!=null?_0x4d7809:'';}[_0x5e362b(0x26f)](_0xd413c3){var _0x365114=_0x5e362b,_0x2e9edb,_0x19db53;const _0x4d5f2a=this['_configService'][_0x365114(0x32b)](ft),_0x2d3d78=this['_configService'][_0x365114(0x32b)](q),_0x41953b=(_0x19db53=(_0x2e9edb=_0x2d3d78==null?void 0x0:_0x2d3d78[_0x365114(0x161)])!=null?_0x2e9edb:_0x4d5f2a)!=null?_0x19db53:St,_0x43e715=typeof window>'u'?new URL(_0x41953b):new URL(_0x41953b,window[_0x365114(0x425)][_0x365114(0x375)]);_0x43e715[_0x365114(0x411)][_0x365114(0x1dd)](_0x365114(0x2a8),_0xd413c3);const _0x265d9e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x365114(0x425)][_0x365114(0x28f)]);return _0x265d9e[_0x365114(0x321)](_0x365114(0x30d))&&_0x43e715[_0x365114(0x411)][_0x365114(0x1dd)](_0x365114(0x30d),_0x265d9e[_0x365114(0x321)](_0x365114(0x30d))),_0x43e715[_0x365114(0x2b3)]();}async[_0x5e362b(0x3a4)](){var _0x4bf179=_0x5e362b;const _0x4e708f=await this[_0x4bf179(0x457)](),_0x542fca=this[_0x4bf179(0x26f)](_0x4e708f),_0x4bcdf5=this[_0x4bf179(0x445)][_0x4bf179(0x200)](_0x542fca);return this[_0x4bf179(0x166)]=_0x4bcdf5,_0x4bcdf5;}async[_0x5e362b(0x35e)](){var _0x4d82b0=_0x5e362b,_0x770685,_0x586f20;try{const _0x481c38=(_0x586f20=(_0x770685=this['_socket'])!=null?_0x770685:this[_0x4d82b0(0x166)])!=null?_0x586f20:await this[_0x4d82b0(0x3a4)]();if(_0x481c38){const _0x4e05e3=_0x481c38[_0x4d82b0(0x341)];_0x481c38[_0x4d82b0(0x341)]=_0x3fda5f=>(this[_0x4d82b0(0x27b)](),_0x4e05e3['apply'](_0x481c38,[_0x3fda5f])),_0x481c38[_0x4d82b0(0x46d)][_0x4d82b0(0x476)](_0x2466d9=>this['_onMessage'](_0x481c38,_0x2466d9)),_0x481c38[_0x4d82b0(0x1e5)][_0x4d82b0(0x1cd)](V['take'](0x1))[_0x4d82b0(0x476)](_0x447f97=>this[_0x4d82b0(0x191)][_0x4d82b0(0x2f3)](_0x4d82b0(0x42c),_0x447f97)),_0x481c38[_0x4d82b0(0x350)][_0x4d82b0(0x1cd)](V[_0x4d82b0(0x2ff)](0x1))['subscribe'](()=>{var _0x1af731=_0x4d82b0;this[_0x1af731(0x3f4)](_0x481c38);}),_0x481c38[_0x4d82b0(0x304)][_0x4d82b0(0x1cd)](V['take'](0x1))[_0x4d82b0(0x476)](_0x5af7ff=>{var _0x1cadf2=_0x4d82b0;this[_0x1cadf2(0x191)][_0x1cadf2(0x419)](_0x1cadf2(0x164),_0x1cadf2(0x31f),_0x5af7ff),this[_0x1cadf2(0x1b8)]();});}}catch(_0xed7a6f){this['_logService'][_0x4d82b0(0x2f3)](_0xed7a6f),this[_0x4d82b0(0x1b8)]();}}[_0x5e362b(0x3f4)](_0x4560a7){var _0x5aef2d=_0x5e362b;this[_0x5aef2d(0x191)][_0x5aef2d(0x419)](_0x5aef2d(0x164),_0x5aef2d(0x24c)),_0x4560a7[_0x5aef2d(0x341)]({'cmd':G[_0x5aef2d(0x1e3)]}),this[_0x5aef2d(0x27b)]();}['_onOffline'](){var _0x5d094c=_0x5e362b;this[_0x5d094c(0x448)]=!0x1,this[_0x5d094c(0x166)]=null,this[_0x5d094c(0x110)][_0x5d094c(0x137)](se[_0x5d094c(0x23c)]),this[_0x5d094c(0x183)][_0x5d094c(0x137)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x1f2b92=_0x5e362b,_0x46f5e1;this['_onOffline'](),this[_0x1f2b92(0x1ef)]<((_0x46f5e1=this['_configService'][_0x1f2b92(0x32b)](mt))!=null?_0x46f5e1:Vt)?(this[_0x1f2b92(0x36f)][_0x1f2b92(0x1f3)]({'id':Q[_0x1f2b92(0x2c1)]}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x1f2b92(0x1f3)]({'id':Q[_0x1f2b92(0x421)]});}[_0x5e362b(0x479)](){var _0x2b1566=_0x5e362b,_0x244a3a;const _0xbb4301=this[_0x2b1566(0x1ef)],_0x14db9b=this[_0x2b1566(0x2b4)][_0x2b1566(0x32b)](q),_0xe5d3d2=_0xbb4301===0x0?0x0:((_0x244a3a=_0x14db9b==null?void 0x0:_0x14db9b[_0x2b1566(0x1bc)])!=null?_0x244a3a:Wt)*0x2**_0xbb4301;this['_retryConnectingTimer']=setTimeout(()=>{var _0x54c96e=_0x2b1566;clearTimeout(this[_0x54c96e(0x13a)]),this[_0x54c96e(0x13a)]=null,this[_0x54c96e(0x35e)]();},_0xe5d3d2),this[_0x2b1566(0x1ef)]+=0x1;}[_0x5e362b(0x190)](_0x54b9bd,_0xfc0e73){var _0xb0e40e=_0x5e362b;const {cmd:_0x59e31b}=_0xfc0e73;_0x59e31b===G[_0xb0e40e(0x1e3)]&&!this['_socketReady']&&(_0x54b9bd[_0xb0e40e(0x2f1)]=_0xfc0e73[_0xb0e40e(0x241)]['memberID'],this[_0xb0e40e(0x183)]['next'](_0x54b9bd),this['_status$'][_0xb0e40e(0x137)](se[_0xb0e40e(0x1af)]),this['_socketReady']=!0x0,this[_0xb0e40e(0x166)]=null),_0x59e31b===G[_0xb0e40e(0x361)]&&this['_clearTimeoutTimer'](),this[_0xb0e40e(0x27b)]();}[_0x5e362b(0x27b)](){var _0x15cb48=_0x5e362b,_0x575b1d;this[_0x15cb48(0x1a2)](),this[_0x15cb48(0x3d3)]=setTimeout(()=>this[_0x15cb48(0x130)](),(_0x575b1d=this['_configService']['getConfig'](pt))!=null?_0x575b1d:Ft);}[_0x5e362b(0x130)](){var _0x20d5f1=_0x5e362b;this[_0x20d5f1(0x3a5)][_0x20d5f1(0x341)]({'cmd':G[_0x20d5f1(0x361)]}),this[_0x20d5f1(0x381)]();}['_waitForHeartbeatResponse'](){var _0x1adab6=_0x5e362b,_0x540ca;this[_0x1adab6(0x22c)]=setTimeout(()=>this[_0x1adab6(0x1b8)](),(_0x540ca=this[_0x1adab6(0x2b4)][_0x1adab6(0x32b)](He))!=null?_0x540ca:gt);}[_0x5e362b(0x1a2)](){var _0x410aab=_0x5e362b;this[_0x410aab(0x3d3)]!=null&&(clearTimeout(this[_0x410aab(0x3d3)]),this[_0x410aab(0x3d3)]=null);}[_0x5e362b(0x210)](){var _0xde1db2=_0x5e362b;this[_0xde1db2(0x22c)]!=null&&(clearTimeout(this[_0xde1db2(0x22c)]),this['_timeoutTimer']=null);}},exports[_0x5e362b(0x25f)]=_i([ae(0x0,a['Inject'](a['Injector'])),ae(0x1,a[_0x5e362b(0x324)]),ae(0x2,a['IConfigService']),ae(0x3,ke),ae(0x4,a[_0x5e362b(0x2b5)](z[_0x5e362b(0x235)])),ae(0x5,a[_0x5e362b(0x2b5)](te)),ae(0x6,a[_0x5e362b(0x366)](bt))],exports[_0x5e362b(0x25f)]);const K=[];for(let r=0x0;r<0x100;++r)K[_0x5e362b(0x377)]((r+0x100)[_0x5e362b(0x2b3)](0x10)[_0x5e362b(0x347)](0x1));function ui(_0x8f9513,_0x5590cf=0x0){var _0x2129e1=_0x5e362b;return(K[_0x8f9513[_0x5590cf+0x0]]+K[_0x8f9513[_0x5590cf+0x1]]+K[_0x8f9513[_0x5590cf+0x2]]+K[_0x8f9513[_0x5590cf+0x3]]+'-'+K[_0x8f9513[_0x5590cf+0x4]]+K[_0x8f9513[_0x5590cf+0x5]]+'-'+K[_0x8f9513[_0x5590cf+0x6]]+K[_0x8f9513[_0x5590cf+0x7]]+'-'+K[_0x8f9513[_0x5590cf+0x8]]+K[_0x8f9513[_0x5590cf+0x9]]+'-'+K[_0x8f9513[_0x5590cf+0xa]]+K[_0x8f9513[_0x5590cf+0xb]]+K[_0x8f9513[_0x5590cf+0xc]]+K[_0x8f9513[_0x5590cf+0xd]]+K[_0x8f9513[_0x5590cf+0xe]]+K[_0x8f9513[_0x5590cf+0xf]])[_0x2129e1(0x193)]();}let Ne;const di=new Uint8Array(0x10);function vi(){var _0x4c7983=_0x5e362b;if(!Ne){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x4c7983(0x472));Ne=crypto[_0x4c7983(0x273)][_0x4c7983(0x15e)](crypto);}return Ne(di);}const fi=typeof crypto<'u'&&crypto[_0x5e362b(0x2b2)]&&crypto[_0x5e362b(0x2b2)]['bind'](crypto),qe={'randomUUID':fi};function Si(_0x1734bb,_0x291b94,_0x1d027e){var _0x4f6a29=_0x5e362b;if(qe['randomUUID']&&!_0x291b94&&!_0x1734bb)return qe[_0x4f6a29(0x2b2)]();_0x1734bb=_0x1734bb||{};const _0x56f7f1=_0x1734bb['random']||(_0x1734bb['rng']||vi)();return _0x56f7f1[0x6]=_0x56f7f1[0x6]&0xf|0x40,_0x56f7f1[0x8]=_0x56f7f1[0x8]&0x3f|0x80,ui(_0x56f7f1);}const J=a['createIdentifier'](_0x5e362b(0x225));function pi(_0x58a40c){return'unit-cache-'+_0x58a40c;}var gi=Object['defineProperty'],mi=Object[_0x5e362b(0x3e5)],Ii=(_0x58db0e,_0x12e471,_0x2affa2,_0x51d081)=>{var _0x480935=_0x5e362b;for(var _0x3c4c7f=_0x51d081>0x1?void 0x0:_0x51d081?mi(_0x12e471,_0x2affa2):_0x12e471,_0xee9afc=_0x58db0e[_0x480935(0x412)]-0x1,_0x4d9652;_0xee9afc>=0x0;_0xee9afc--)(_0x4d9652=_0x58db0e[_0xee9afc])&&(_0x3c4c7f=(_0x51d081?_0x4d9652(_0x12e471,_0x2affa2,_0x3c4c7f):_0x4d9652(_0x3c4c7f))||_0x3c4c7f);return _0x51d081&&_0x3c4c7f&&gi(_0x12e471,_0x2affa2,_0x3c4c7f),_0x3c4c7f;},De=(_0x1062bd,_0x2af564)=>(_0x68e088,_0x3bd38d)=>_0x2af564(_0x68e088,_0x3bd38d,_0x1062bd);function Ei(_0x5a1ff6){var _0x1e5415=_0x5e362b;const {unitID:_0x7817bd,mutations:_0x52e9e6}=_0x5a1ff6;return{'unitId':_0x7817bd,'subUnitId':_0x52e9e6[0x0][_0x1e5415(0x36e)][_0x1e5415(0x1fd)]};}exports[_0x5e362b(0x21a)]=class{constructor(_0xdfa856,_0x12535a,_0x6ba830){var _0x42af6d=_0x5e362b;this['_injector']=_0xdfa856,this[_0x42af6d(0x27c)]=_0x12535a,this[_0x42af6d(0x2ac)]=_0x6ba830;}['transformSelections'](_0x5205bc){var _0x56b6a7=_0x5e362b,_0x39db3a,_0x3c8727,_0x3dd731,_0x4a9a7e;const _0x52c125=this[_0x56b6a7(0x176)][_0x56b6a7(0x321)](W['SheetsSelectionsService']),{unitId:_0x433a3e,subUnitId:_0x1e65e3}=Ei(_0x5205bc),_0x3634c9=_0x52c125==null?void 0x0:_0x52c125[_0x56b6a7(0x3e6)](_0x433a3e)[_0x56b6a7(0x35d)](),_0x23948b=(_0x3c8727=(_0x39db3a=this[_0x56b6a7(0x2ac)][_0x56b6a7(0x29a)](_0x433a3e))==null?void 0x0:_0x39db3a[_0x56b6a7(0x1eb)]())==null?void 0x0:_0x3c8727[_0x56b6a7(0x2a9)]();if(_0x3634c9[_0x56b6a7(0x412)]===0x0||!_0x433a3e||!_0x1e65e3)return;const _0x6cb925=[{'id':W[_0x56b6a7(0x3c6)]['id'],'params':{'unitId':_0x433a3e,'subUnitId':_0x23948b,'selections':a['Tools']['deepClone'](_0x3634c9)}}],_0x465b4b=this[_0x56b6a7(0x27c)][_0x56b6a7(0x113)](_0x5205bc,_0x6cb925);if(!m[_0x56b6a7(0x414)](_0x465b4b))throw _0x465b4b['error'];const _0x182102=(_0x4a9a7e=(_0x3dd731=_0x465b4b[_0x56b6a7(0x179)][0x0])==null?void 0x0:_0x3dd731[_0x56b6a7(0x36e)])==null?void 0x0:_0x4a9a7e[_0x56b6a7(0x429)];if(Array[_0x56b6a7(0x2bc)](_0x182102)&&_0x182102[_0x56b6a7(0x412)]){if(_0x182102[_0x56b6a7(0x412)]===_0x6cb925[0x0][_0x56b6a7(0x36e)][_0x56b6a7(0x429)][_0x56b6a7(0x412)]&&_0x182102[_0x56b6a7(0x237)]((_0x13cb89,_0x118b0f)=>a[_0x56b6a7(0x19e)]['equals'](_0x13cb89[_0x56b6a7(0x174)],_0x6cb925[0x0][_0x56b6a7(0x36e)][_0x56b6a7(0x429)][_0x118b0f][_0x56b6a7(0x174)])))return;this[_0x56b6a7(0x176)][_0x56b6a7(0x321)](a[_0x56b6a7(0x154)])['executeCommand'](W[_0x56b6a7(0x3c6)]['id'],{'unitId':_0x433a3e,'subUnitId':_0x23948b,'selections':_0x182102});}}},exports[_0x5e362b(0x21a)]=Ii([De(0x0,a[_0x5e362b(0x2b5)](a['Injector'])),De(0x1,m[_0x5e362b(0x40a)]),De(0x2,a[_0x5e362b(0x202)])],exports[_0x5e362b(0x21a)]);const ve=a['createIdentifier'](_0x5e362b(0x323));var Fe=(_0x38eb88=>(_0x38eb88[_0x38eb88[_0x5e362b(0x1b2)]=0x0]=_0x5e362b(0x1b2),_0x38eb88[_0x38eb88['OTHER_CLIENTS_EDITING']=0x1]=_0x5e362b(0x14c),_0x38eb88))(Fe||{});const Ci=new Set([W['InsertSheetMutation']['id']]);function ze(_0xcae2fc,_0x5333ef,_0x11435b,_0x118a7d,_0x10d54e){var _0x1fbe08=_0x5e362b,_0x4f93d9,_0x12577d,_0x51a13e,_0x21f08d;const _0x5e5074=[];for(const _0x313f98 of _0xcae2fc)if(Ci[_0x1fbe08(0x1bf)](_0x313f98['id'])){if(_0x5e5074[_0x1fbe08(0x412)]>0x0)break;_0x5e5074[_0x1fbe08(0x377)](_0x313f98);break;}else _0x5e5074[_0x1fbe08(0x377)](_0x313f98);const _0x3d07ba=(_0x12577d=(_0x4f93d9=_0x10d54e[_0x1fbe08(0x223)]())==null?void 0x0:_0x4f93d9[_0x1fbe08(0x3cc)])!=null?_0x12577d:_0x1fbe08(0x2f8),_0x40a286=(_0x21f08d=(_0x51a13e=_0x10d54e['getCurrentUser']())==null?void 0x0:_0x51a13e[_0x1fbe08(0x2f1)])!=null?_0x21f08d:_0x1fbe08(0x2f8);return{'changeset':{'unitID':_0x5333ef,'type':m[_0x1fbe08(0x253)](_0x11435b[_0x1fbe08(0x1ac)](_0x5333ef)),'baseRev':_0x118a7d[_0x1fbe08(0x30a)](_0x5333ef),'revision':0x0,'userID':_0x3d07ba,'memberID':_0x40a286,'mutations':_0x5e5074},'pendingMutations':_0xcae2fc[_0x1fbe08(0x347)](_0x5e5074[_0x1fbe08(0x412)])};}function Ti(_0x14d41c,_0x281f95,_0x1e72dc,_0x274a8a,_0x2d3884){var _0x123576=_0x5e362b,_0xdb85e1,_0x3c839a,_0x1b92b5,_0x3b93a7;const _0x2ba349=[_0x14d41c[_0x123576(0x3ce)]((_0x2dfae4,_0x49cd41)=>{var _0x55950a=_0x123576,_0x10cfc1;const {id:_0x4467e2}=_0x2dfae4,{id:_0x55841e,type:_0x3ab2b2}=_0x49cd41,_0x46e21b=(_0x10cfc1=_0x2dfae4[_0x55950a(0x36e)])!=null?_0x10cfc1:{'actions':null},_0x433380=_0x49cd41[_0x55950a(0x36e)];if(_0x4467e2&&_0x4467e2!==_0x55841e)throw new Error(_0x55950a(0x143)+_0x4467e2+_0x55950a(0x35b)+_0x55841e+'.');return{..._0x2dfae4,'id':_0x55841e,'type':_0x3ab2b2,'params':{'unitId':_0x433380['unitId'],'textRanges':_0x433380['textRanges'],'actions':a[_0x55950a(0x10f)][_0x55950a(0x2df)](_0x46e21b[_0x55950a(0x46a)],_0x433380['actions'])}};},{})],_0x5e7e64=(_0x3c839a=(_0xdb85e1=_0x2d3884[_0x123576(0x223)]())==null?void 0x0:_0xdb85e1[_0x123576(0x3cc)])!=null?_0x3c839a:_0x123576(0x2f8),_0x3b8e06=(_0x3b93a7=(_0x1b92b5=_0x2d3884[_0x123576(0x223)]())==null?void 0x0:_0x1b92b5[_0x123576(0x2f1)])!=null?_0x3b93a7:_0x123576(0x2f8);return{'changeset':{'unitID':_0x281f95,'type':m[_0x123576(0x253)](_0x1e72dc[_0x123576(0x1ac)](_0x281f95)),'baseRev':_0x274a8a[_0x123576(0x30a)](_0x281f95),'revision':0x0,'userID':_0x5e7e64,'memberID':_0x3b8e06,'mutations':_0x2ba349},'pendingMutations':[]};}function Ot(_0x402506,_0x4b5f77){var _0x1a732b=_0x5e362b;const _0x5ccc30=new H[(_0x1a732b(0x1f4))](0x1);return setTimeout(()=>_0x5ccc30['next'](_0x4b5f77),_0x402506),_0x5ccc30[_0x1a732b(0x1ea)]()[_0x1a732b(0x1cd)](H['take'](0x1));}const bi={'id':W[_0x5e362b(0x177)]['id'],'type':a[_0x5e362b(0x32c)][_0x5e362b(0x3a0)],'params':{}};var Ri=Object['defineProperty'],yi=Object[_0x5e362b(0x3e5)],le=(_0x40f8bf,_0x4f4230,_0x316e19,_0xd07882)=>{var _0x203551=_0x5e362b;for(var _0xf56a7=_0xd07882>0x1?void 0x0:_0xd07882?yi(_0x4f4230,_0x316e19):_0x4f4230,_0xf1fce9=_0x40f8bf[_0x203551(0x412)]-0x1,_0x44b55c;_0xf1fce9>=0x0;_0xf1fce9--)(_0x44b55c=_0x40f8bf[_0xf1fce9])&&(_0xf56a7=(_0xd07882?_0x44b55c(_0x4f4230,_0x316e19,_0xf56a7):_0x44b55c(_0xf56a7))||_0xf56a7);return _0xd07882&&_0xf56a7&&Ri(_0x4f4230,_0x316e19,_0xf56a7),_0xf56a7;},A=(_0x1142dc,_0x3f6759)=>(_0x45e1b7,_0x3c66bf)=>_0x3f6759(_0x45e1b7,_0x3c66bf,_0x1142dc),We=(_0x3b6d74=>(_0x3b6d74[_0x5e362b(0x44b)]='not_collab',_0x3b6d74[_0x5e362b(0x334)]='synced',_0x3b6d74[_0x5e362b(0x380)]=_0x5e362b(0x3e9),_0x3b6d74['AWAITING']=_0x5e362b(0x3a1),_0x3b6d74[_0x5e362b(0x26d)]=_0x5e362b(0x1d6),_0x3b6d74[_0x5e362b(0x1f2)]=_0x5e362b(0x28c),_0x3b6d74[_0x5e362b(0x46b)]=_0x5e362b(0x318),_0x3b6d74[_0x5e362b(0x23c)]=_0x5e362b(0x135),_0x3b6d74))(We||{});const Pt=0xea60;class _e{constructor(_0x1b7187,_0x224da2,_0x51b6d3,_0x171be6,_0x4c9d58,_0x196dc6,_0x8b0172,_0x1ceef4,_0x2bdedb){var _0x274f23=_0x5e362b;D(this,_0x274f23(0x42e),null),D(this,_0x274f23(0x122),[]),(this[_0x274f23(0x25c)]=_0x1b7187,this['type']=_0x224da2,this[_0x274f23(0x3d6)]=_0x4c9d58,this['_commandService']=_0x196dc6,this[_0x274f23(0x281)]=_0x8b0172,this[_0x274f23(0x37f)]=_0x1ceef4,this[_0x274f23(0x2a1)]=_0x2bdedb,this[_0x274f23(0x42e)]=_0x51b6d3,this[_0x274f23(0x122)]=_0x171be6);}[_0x5e362b(0x393)](_0x25245f){var _0x536c1c=_0x5e362b;const _0x1f6c38=this[_0x536c1c(0x37f)][_0x536c1c(0x30a)](this[_0x536c1c(0x25c)]);return _0x25245f[_0x536c1c(0x1a3)]>_0x1f6c38+0x1?(this[_0x536c1c(0x3d6)][_0x536c1c(0x24a)]({'from':_0x1f6c38,'to':_0x25245f['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x3d3321){var _0x39aefd=_0x5e362b;this[_0x39aefd(0x281)]['transformUndoRedo'](this[_0x39aefd(0x25c)],_0x3d3321);}[_0x5e362b(0x1e1)](_0x4a64db){var _0xda6920=_0x5e362b,_0x145c01,_0x1104c7;(_0x1104c7=(_0x145c01=this[_0xda6920(0x3d6)])[_0xda6920(0x2ec)])==null||_0x1104c7[_0xda6920(0x2a4)](_0x145c01,_0x4a64db);}[_0x5e362b(0x2ba)](_0x1dffbe){var _0x20cda1=_0x5e362b,_0x5a6dad,_0x3ee55b;return(_0x3ee55b=(_0x5a6dad=this[_0x20cda1(0x3d6)])[_0x20cda1(0x2d3)])==null?void 0x0:_0x3ee55b[_0x20cda1(0x2a4)](_0x5a6dad,_0x1dffbe);}[_0x5e362b(0x198)](_0x903375){var _0x2d2913=_0x5e362b,_0x3bf384,_0x411185;return(_0x411185=(_0x3bf384=this[_0x2d2913(0x3d6)])[_0x2d2913(0x2a3)])==null?void 0x0:_0x411185[_0x2d2913(0x2a4)](_0x3bf384,_0x903375);}[_0x5e362b(0x126)](_0x10d1c6){var _0x3c14be=_0x5e362b,_0x310653,_0x1ceaf3,_0x5ab5e7;return(_0x5ab5e7=(_0x1ceaf3=(_0x310653=this[_0x3c14be(0x3d6)])[_0x3c14be(0x1ee)])==null?void 0x0:_0x1ceaf3['call'](_0x310653,_0x10d1c6))!=null?_0x5ab5e7:_0x10d1c6;}[_0x5e362b(0x480)](_0x35e06e){var _0x2211f1=_0x5e362b,_0x313a06,_0x182edc,_0x51b65e;return(_0x51b65e=(_0x182edc=(_0x313a06=this[_0x2211f1(0x3d6)])[_0x2211f1(0x2af)])==null?void 0x0:_0x182edc[_0x2211f1(0x2a4)](_0x313a06,_0x35e06e))!=null?_0x51b65e:_0x35e06e;}['_syncEditingCollabCursor'](_0x1e8768){var _0x141317=_0x5e362b,_0xbd83eb,_0x1e0942;if(this[_0x141317(0x12e)]===Z[_0x141317(0x382)]){const {unitID:_0x1f9f8e,mutations:_0xa3ae62,memberID:_0x5b96dc}=_0x1e8768,_0xdb22f2=_0xa3ae62[0x0][_0x141317(0x36e)]['textRanges'];Array['isArray'](_0xdb22f2)&&_0xdb22f2[_0x141317(0x412)]>0x0&&((_0x1e0942=(_0xbd83eb=this[_0x141317(0x3d6)])[_0x141317(0x238)])==null||_0x1e0942[_0x141317(0x2a4)](_0xbd83eb,{'unitID':_0x1f9f8e,'memberID':_0x5b96dc,'textRanges':_0xdb22f2}));}}[_0x5e362b(0x410)](){var _0x195ead=_0x5e362b,_0x31ef47;(_0x31ef47=this[_0x195ead(0x2a1)])==null||_0x31ef47[_0x195ead(0x117)](this[_0x195ead(0x25c)],this[_0x195ead(0x12e)],this[_0x195ead(0x42e)],this[_0x195ead(0x122)]);}[_0x5e362b(0x47e)](){var _0x39310b=_0x5e362b;return this[_0x39310b(0x37f)][_0x39310b(0x30a)](this['unitID']);}[_0x5e362b(0x3ab)](){var _0x154fbf=_0x5e362b;this[_0x154fbf(0x37f)][_0x154fbf(0x34d)](this[_0x154fbf(0x25c)]);}[_0x5e362b(0x3be)](_0x2e2cd8){var _0x2b097b=_0x5e362b,_0x291130;let _0x13141c=this[_0x2b097b(0x126)](_0x2e2cd8);_0x13141c=this[_0x2b097b(0x480)](_0x13141c);const _0x10a8b8=a[_0x2b097b(0x2e2)](_0x13141c[_0x2b097b(0x19c)],this[_0x2b097b(0x327)],{'fromCollab':!0x0});if(!_0x10a8b8[_0x2b097b(0x36c)])throw _0x10a8b8['error']instanceof Error?_0x10a8b8[_0x2b097b(0x2f3)]:new Error((_0x291130=_0x10a8b8[_0x2b097b(0x2f3)])!=null?_0x291130:'[CollaborationState]:\x20apply\x20error!');this[_0x2b097b(0x2ba)](_0x13141c),this[_0x2b097b(0x198)](_0x13141c),this['_transformUndoredo'](_0x2e2cd8),this[_0x2b097b(0x1e1)](_0x13141c),this[_0x2b097b(0x3c9)](_0x13141c),this[_0x2b097b(0x3ab)]();}}exports[_0x5e362b(0x32d)]=class extends _e{constructor(_0x44700a,_0x1f2063,_0x5c1bd5,_0x5d4c24,_0x352b34,_0x57a30b,_0x1d9bc2,_0x36b8ec,_0x30e145,_0x4886d4){var _0xf87327=_0x5e362b;super(_0x44700a,_0x1f2063,null,[],_0x5c1bd5,_0x1d9bc2,_0x57a30b,_0x5d4c24,_0x4886d4),D(this,_0xf87327(0x33e),_0xf87327(0x2a0)),(this[_0xf87327(0x176)]=_0x352b34,this[_0xf87327(0x191)]=_0x36b8ec,this[_0xf87327(0x27c)]=_0x30e145,this[_0xf87327(0x3cb)]=_0x4886d4);}[_0x5e362b(0x2aa)](_0x38ef76){var _0x2980dd=_0x5e362b;const _0x4b3d9e=this[_0x2980dd(0x176)][_0x2980dd(0x12c)](exports[_0x2980dd(0x3d7)],this['unitID'],this[_0x2980dd(0x12e)],[_0x38ef76],this[_0x2980dd(0x3d6)]);return _0x4b3d9e[_0x2980dd(0x427)](),_0x4b3d9e[_0x2980dd(0x410)](),_0x4b3d9e;}[_0x5e362b(0x402)](_0xc716ae){var _0x4e1634=_0x5e362b;if(this[_0x4e1634(0x393)](_0xc716ae))return this['_injector']['createInstance'](exports[_0x4e1634(0x478)],this[_0x4e1634(0x25c)],this[_0x4e1634(0x12e)],null,[],null,[_0xc716ae],this['_handler']);try{const _0x2410d7=this[_0x4e1634(0x27c)]['transformMutationsWithChangeset'](_0xc716ae,[bi]);if(m['isTransformMutationsWithChangesetSuccess'](_0x2410d7)){const {c1Prime:_0x2a5fa8}=_0x2410d7;return this[_0x4e1634(0x3be)](_0x2a5fa8),this;}throw _0x2410d7[_0x4e1634(0x2f3)];}catch(_0x5ab6b5){return this['_logService'][_0x4e1634(0x2f3)](_0x5ab6b5),this[_0x4e1634(0x40e)](!0x1);}}[_0x5e362b(0x40e)](_0x5aefb6){var _0x112993=_0x5e362b;return this[_0x112993(0x176)][_0x112993(0x12c)](exports[_0x112993(0x2fc)],this[_0x112993(0x25c)],this[_0x112993(0x12e)],null,[],this[_0x112993(0x3d6)],_0x5aefb6);}[_0x5e362b(0x2e6)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x5e362b(0x101)](){var _0x5a69f3=_0x5e362b;throw new Error(_0x5a69f3(0x229));}[_0x5e362b(0x1b5)](){return this;}['toggleOffline'](){var _0x489a42=_0x5e362b;return this[_0x489a42(0x176)][_0x489a42(0x12c)](exports[_0x489a42(0x1c2)],this['unitID'],this['type'],null,[],this[_0x489a42(0x3d6)]);}[_0x5e362b(0x10c)](){return this;}['resend'](){var _0x33f52a=_0x5e362b;throw new Error(_0x33f52a(0x153));}[_0x5e362b(0x3b8)](){var _0x2419c1=_0x5e362b;const _0x37d89f=this[_0x2419c1(0x37f)][_0x2419c1(0x30a)](this[_0x2419c1(0x25c)]);return this['_handler']['onMissingChangesets']({'from':_0x37d89f,'to':0x0}),this[_0x2419c1(0x176)][_0x2419c1(0x12c)](exports[_0x2419c1(0x478)],this[_0x2419c1(0x25c)],this[_0x2419c1(0x12e)],null,[],null,[],this[_0x2419c1(0x3d6)]);}},exports[_0x5e362b(0x32d)]=le([A(0x3,a[_0x5e362b(0x2b5)](m[_0x5e362b(0x2fa)])),A(0x4,a[_0x5e362b(0x2b5)](a[_0x5e362b(0x428)])),A(0x5,a['IUndoRedoService']),A(0x6,a[_0x5e362b(0x154)]),A(0x7,a[_0x5e362b(0x324)]),A(0x8,m['ITransformService']),A(0x9,a[_0x5e362b(0x366)](J))],exports['SyncedState']),exports[_0x5e362b(0x3d7)]=class extends _e{constructor(_0x16cfd6,_0x19f927,_0x4d138a,_0x47dd67,_0x2de6f7,_0xe17165,_0x4ca90f,_0x329dbf,_0x54a998,_0x569cfe,_0x73d62c,_0x2bb0c9,_0x1de61d,_0x2bef4f){var _0x188657=_0x5e362b;super(_0x16cfd6,_0x19f927,null,_0x4d138a,_0x47dd67,_0x54a998,_0x1de61d,_0xe17165,_0x2bef4f),D(this,_0x188657(0x33e),'pending'),D(this,'_scheduleTimestamp',null),D(this,_0x188657(0x3bf),null),(this['_injector']=_0x2de6f7,this[_0x188657(0x3fb)]=_0x4ca90f,this[_0x188657(0x191)]=_0x329dbf,this[_0x188657(0x2b4)]=_0x569cfe,this[_0x188657(0x27c)]=_0x73d62c,this['_univerInstanceService']=_0x2bb0c9);}[_0x5e362b(0x2aa)](_0x463de9){var _0x41e9c2=_0x5e362b;return this[_0x41e9c2(0x122)]['push'](_0x463de9),this[_0x41e9c2(0x410)](),this;}[_0x5e362b(0x402)](_0x55d026){var _0x33e415=_0x5e362b;if(this[_0x33e415(0x393)](_0x55d026))return this[_0x33e415(0x1b1)](),this[_0x33e415(0x176)]['createInstance'](exports[_0x33e415(0x478)],this[_0x33e415(0x25c)],this['type'],null,this[_0x33e415(0x122)],null,[_0x55d026],this[_0x33e415(0x3d6)]);try{const _0x5d80cb=this[_0x33e415(0x27c)]['transformMutationsWithChangeset'](_0x55d026,this[_0x33e415(0x122)]);if(m[_0x33e415(0x414)](_0x5d80cb)){const {c1Prime:_0x50db25,m2Prime:_0x37ffc4}=_0x5d80cb;this[_0x33e415(0x3be)](_0x50db25);const _0xea4660=this[_0x33e415(0x176)][_0x33e415(0x12c)](exports[_0x33e415(0x3d7)],this[_0x33e415(0x25c)],this[_0x33e415(0x12e)],_0x37ffc4,this[_0x33e415(0x3d6)]);return this[_0x33e415(0x1b1)](),_0xea4660['_schedule'](this[_0x33e415(0x487)]?Math['max'](0x0,new Date()[_0x33e415(0x128)]()-this[_0x33e415(0x487)]):this[_0x33e415(0x31d)]()),_0xea4660;}throw _0x5d80cb[_0x33e415(0x2f3)];}catch(_0x39a525){return this[_0x33e415(0x191)][_0x33e415(0x2f3)](_0x39a525),this['_onConflict'](!0x1);}}[_0x5e362b(0x2e6)](){var _0x3d3d9d=_0x5e362b;throw new Error(_0x3d3d9d(0x2fb));}[_0x5e362b(0x101)](){var _0x25b0b2=_0x5e362b;throw new Error(_0x25b0b2(0x32e));}[_0x5e362b(0x1b5)](){return this;}[_0x5e362b(0x3ed)](){var _0x27d85a=_0x5e362b;return this[_0x27d85a(0x1b1)](),this[_0x27d85a(0x176)][_0x27d85a(0x12c)](exports[_0x27d85a(0x1c2)],this[_0x27d85a(0x25c)],this[_0x27d85a(0x12e)],null,this[_0x27d85a(0x122)],this['_handler']);}[_0x5e362b(0x10c)](){return this;}['_schedule'](_0x258bfc){var _0x1dbf91=_0x5e362b;const _0x110b63=_0x258bfc!=null?_0x258bfc:this['_getSendChangesetTimeout']();this[_0x1dbf91(0x487)]=new Date()[_0x1dbf91(0x128)](),this[_0x1dbf91(0x3bf)]=setTimeout(()=>{var _0x2b3d18=_0x1dbf91;this[_0x2b3d18(0x1b1)]();let _0x3f9a9e=null;switch(this['type']){case Z['UNIVER_SHEET']:{_0x3f9a9e=ze(this[_0x2b3d18(0x122)],this[_0x2b3d18(0x25c)],this['_univerInstanceService'],this[_0x2b3d18(0x37f)],this[_0x2b3d18(0x3fb)]);break;}case Z[_0x2b3d18(0x382)]:{this[_0x2b3d18(0x122)][_0x2b3d18(0x237)](_0x19ad51=>_0x19ad51['id']===ut['RichTextEditingMutation']['id'])?_0x3f9a9e=Ti(this[_0x2b3d18(0x122)],this['unitID'],this[_0x2b3d18(0x3f5)],this[_0x2b3d18(0x37f)],this['_memberService']):_0x3f9a9e=ze(this[_0x2b3d18(0x122)],this[_0x2b3d18(0x25c)],this[_0x2b3d18(0x3f5)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x2b3d18(0x231)+this[_0x2b3d18(0x12e)]+_0x2b3d18(0x3ba));}const {changeset:_0x3b6716,pendingMutations:_0x5022b9}=_0x3f9a9e;this['_handler'][_0x2b3d18(0x111)](_0x3b6716);const _0x4b7deb=_0x5022b9['length']?this['_injector'][_0x2b3d18(0x12c)](exports['AwaitingWithPendingState'],this[_0x2b3d18(0x25c)],this[_0x2b3d18(0x12e)],_0x3b6716,_0x5022b9,this['_handler'],void 0x0):this[_0x2b3d18(0x176)][_0x2b3d18(0x12c)](exports[_0x2b3d18(0x3b0)],this['unitID'],this['type'],_0x3b6716,this[_0x2b3d18(0x3d6)]);_0x4b7deb[_0x2b3d18(0x410)](),this[_0x2b3d18(0x3d6)]['onStateChange'](this,_0x4b7deb);},_0x110b63);}[_0x5e362b(0x31d)](){var _0x3ec62e=_0x5e362b,_0x527e7b;const _0x4efb9=this['_configService'][_0x3ec62e(0x32b)](q);return(_0x527e7b=_0x4efb9==null?void 0x0:_0x4efb9[_0x3ec62e(0x1bb)])!=null?_0x527e7b:kt;}[_0x5e362b(0x469)](){var _0x18b845=_0x5e362b;throw new Error(_0x18b845(0x23e));}[_0x5e362b(0x1b1)](){var _0x324dc1=_0x5e362b;this[_0x324dc1(0x3bf)]!=null&&(clearTimeout(this[_0x324dc1(0x3bf)]),this[_0x324dc1(0x3bf)]=null);}['_onConflict'](_0x539d7c){var _0x2b288d=_0x5e362b;return this[_0x2b288d(0x1b1)](),this[_0x2b288d(0x176)][_0x2b288d(0x12c)](exports['ConflictState'],this[_0x2b288d(0x25c)],this[_0x2b288d(0x12e)],null,this[_0x2b288d(0x122)],this['_handler'],_0x539d7c);}},exports[_0x5e362b(0x3d7)]=le([A(0x4,a['Inject'](a['Injector'])),A(0x5,a['Inject'](m[_0x5e362b(0x2fa)])),A(0x6,a['Inject'](exports['MemberService'])),A(0x7,a['ILogService']),A(0x8,a[_0x5e362b(0x154)]),A(0x9,a[_0x5e362b(0x1ec)]),A(0xa,m[_0x5e362b(0x40a)]),A(0xb,a[_0x5e362b(0x202)]),A(0xc,a['IUndoRedoService']),A(0xd,a['Optional'](J))],exports[_0x5e362b(0x3d7)]),exports[_0x5e362b(0x3b0)]=class extends _e{constructor(_0x34449b,_0x5a5402,_0x382388,_0x4be611,_0x5267ba,_0x2fc04f,_0x3b6950,_0xe24a68,_0x470c64,_0x495ed5,_0x5a94d9){var _0x323a71=_0x5e362b;super(_0x34449b,_0x5a5402,_0x382388,[],_0x4be611,_0x3b6950,_0x495ed5,_0x2fc04f,_0x5a94d9),D(this,_0x323a71(0x33e),_0x323a71(0x3a1)),D(this,_0x323a71(0x24d),0x0),D(this,_0x323a71(0x270)),D(this,_0x323a71(0x41d)),(this[_0x323a71(0x176)]=_0x5267ba,this['_logService']=_0xe24a68,this[_0x323a71(0x27c)]=_0x470c64);}[_0x5e362b(0x2aa)](_0x49b4d3){var _0x4a2d12=_0x5e362b;this[_0x4a2d12(0x1b1)]();const _0x4cba7a=this[_0x4a2d12(0x176)][_0x4a2d12(0x12c)](exports[_0x4a2d12(0x2f4)],this[_0x4a2d12(0x25c)],this[_0x4a2d12(0x12e)],this[_0x4a2d12(0x42e)],[_0x49b4d3],this[_0x4a2d12(0x3d6)],this[_0x4a2d12(0x270)]);return _0x4cba7a[_0x4a2d12(0x410)](),_0x4cba7a;}[_0x5e362b(0x402)](_0x2e07a0){var _0x445734=_0x5e362b;if(this['_checkMissing'](_0x2e07a0))return this[_0x445734(0x1b1)](),this['_injector'][_0x445734(0x12c)](exports['FetchingMissState'],this[_0x445734(0x25c)],this['type'],this[_0x445734(0x42e)],[],null,[_0x2e07a0],this['_handler']);try{const _0x2351b4=this[_0x445734(0x27c)][_0x445734(0x35c)]([_0x2e07a0],[this['_awaitingChangeset']],!0x1);if(m[_0x445734(0x464)](_0x2351b4)){const {c1Prime:_0x373011,c2Prime:_0x411873}=_0x2351b4;this[_0x445734(0x3be)](_0x373011[0x0]),_0x411873[0x0][_0x445734(0x189)]=this[_0x445734(0x47e)](),this[_0x445734(0x1b1)]();const _0x4749ee=this[_0x445734(0x176)][_0x445734(0x12c)](exports['AwaitingState'],this[_0x445734(0x25c)],this[_0x445734(0x12e)],_0x411873[0x0],this['_handler']);return _0x4749ee[_0x445734(0x410)](),_0x4749ee;}return this['_onConflict'](!0x1);}catch(_0x349132){return this['_logService'][_0x445734(0x2f3)](_0x349132),this['_onConflict'](!0x1);}}[_0x5e362b(0x2e6)](_0x777f19){var _0x41b745=_0x5e362b;this[_0x41b745(0x1b1)]();const _0x34b649=this['_revisionService'][_0x41b745(0x30a)](this[_0x41b745(0x25c)]);if(_0x777f19['revision']<_0x34b649-0x1)return this;if(this[_0x41b745(0x393)](_0x777f19))return this[_0x41b745(0x176)][_0x41b745(0x12c)](exports[_0x41b745(0x478)],this[_0x41b745(0x25c)],this[_0x41b745(0x12e)],null,[],this[_0x41b745(0x42e)],[],this[_0x41b745(0x3d6)]);this['_incrementRevisionNumber']();const _0x14d048=this[_0x41b745(0x176)]['createInstance'](exports['SyncedState'],this['unitID'],this['type'],this[_0x41b745(0x3d6)]);return _0x14d048[_0x41b745(0x410)](),_0x14d048;}[_0x5e362b(0x101)](_0x322760){var _0x75f4=_0x5e362b;return this[_0x75f4(0x40e)](!!(_0x322760!=null&&_0x322760['isPermissionRej']));}[_0x5e362b(0x1b5)](_0x33de98){var _0x5da2b7=_0x5e362b;return this[_0x5da2b7(0x24d)]>Pt?this[_0x5da2b7(0x3ed)]():(this[_0x5da2b7(0x270)]=Ot(this[_0x5da2b7(0x24d)],{'timeout':this[_0x5da2b7(0x24d)],'reqId':_0x33de98['reqId']}),this[_0x5da2b7(0x41d)]=this[_0x5da2b7(0x270)]['subscribe'](({reqId:_0xf42b2e,timeout:_0x454b8c})=>{var _0x33a2a1=_0x5da2b7;this[_0x33a2a1(0x15d)](_0xf42b2e,_0x454b8c);}),this);}[_0x5e362b(0x3ed)](){var _0x2c2427=_0x5e362b;return this['_clearScheduledTask'](),this[_0x2c2427(0x176)][_0x2c2427(0x12c)](exports[_0x2c2427(0x1c2)],this[_0x2c2427(0x25c)],this['type'],this[_0x2c2427(0x42e)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x5e362b(0x469)](){var _0x4cb304=_0x5e362b;this['_handler'][_0x4cb304(0x111)](this['_awaitingChangeset']);}['_onConflict'](_0x22bc53){var _0x1e3a6a=_0x5e362b;return this[_0x1e3a6a(0x1b1)](),this['_injector'][_0x1e3a6a(0x12c)](exports['ConflictState'],this[_0x1e3a6a(0x25c)],this[_0x1e3a6a(0x12e)],this[_0x1e3a6a(0x42e)],[],this['_handler'],_0x22bc53);}[_0x5e362b(0x15d)](_0x4187ac,_0x242382){var _0x48b04d=_0x5e362b,_0x2a54e8;_0x4187ac===((_0x2a54e8=this[_0x48b04d(0x42e)])==null?void 0x0:_0x2a54e8['reqId'])&&(this['resend'](),this[_0x48b04d(0x24d)]=_0x242382===0x0?0x3e8:_0x242382*0x2);}[_0x5e362b(0x1b1)](){var _0x3d07e5=_0x5e362b,_0x3d0ff7;(_0x3d0ff7=this['_sender'])==null||_0x3d0ff7[_0x3d07e5(0x311)](),this[_0x3d07e5(0x24d)]=0x0;}},exports['AwaitingState']=le([A(0x4,a[_0x5e362b(0x2b5)](a[_0x5e362b(0x428)])),A(0x5,a[_0x5e362b(0x2b5)](m['RevisionService'])),A(0x6,a[_0x5e362b(0x154)]),A(0x7,a[_0x5e362b(0x324)]),A(0x8,m[_0x5e362b(0x40a)]),A(0x9,a[_0x5e362b(0x38b)]),A(0xa,a[_0x5e362b(0x366)](J))],exports[_0x5e362b(0x3b0)]),exports['AwaitingWithPendingState']=class extends _e{constructor(_0x229060,_0x201ef8,_0x21452f,_0x39a68b,_0x9fe9ba,_0x273a4c,_0x4cda09,_0xc30aa1,_0x112216,_0x29c620,_0x240818,_0x11bf6f,_0x82c168){var _0x5e6101=_0x5e362b;super(_0x229060,_0x201ef8,_0x21452f,_0x39a68b,_0x9fe9ba,_0x112216,_0x11bf6f,_0xc30aa1,_0x82c168),D(this,_0x5e6101(0x33e),_0x5e6101(0x1d6)),D(this,'_resendTimeout',0x0),D(this,_0x5e6101(0x270)),D(this,_0x5e6101(0x41d)),(this[_0x5e6101(0x176)]=_0x4cda09,this[_0x5e6101(0x191)]=_0x29c620,this[_0x5e6101(0x27c)]=_0x240818,this['localCacheService']=_0x82c168,_0x273a4c&&(this['_resendTimer']=_0x273a4c,this[_0x5e6101(0x41d)]=this[_0x5e6101(0x270)][_0x5e6101(0x476)](({reqId:_0x4201c3,timeout:_0xb7bd43})=>{this['_resendWithTimeout'](_0x4201c3,_0xb7bd43);})));}['appendMutation'](_0x47ad9b){var _0x249aaa=_0x5e362b;return this[_0x249aaa(0x122)]['push'](_0x47ad9b),this;}[_0x5e362b(0x402)](_0x37d6ba){var _0x43644d=_0x5e362b;if(this['_checkMissing'](_0x37d6ba))return this[_0x43644d(0x1b1)](),this[_0x43644d(0x176)]['createInstance'](exports[_0x43644d(0x478)],this[_0x43644d(0x25c)],this[_0x43644d(0x12e)],this[_0x43644d(0x42e)],this['_pendingMutations'],null,[_0x37d6ba],this[_0x43644d(0x3d6)]);try{const _0x51fcfb=this[_0x43644d(0x27c)][_0x43644d(0x35c)]([_0x37d6ba],[this[_0x43644d(0x42e)]],!0x1);if(m[_0x43644d(0x464)](_0x51fcfb)){const {c1Prime:_0x32b554,c2Prime:_0x2c0bdf}=_0x51fcfb,_0x2b0b36=this[_0x43644d(0x27c)]['transformMutationsWithChangeset'](_0x32b554[0x0],this[_0x43644d(0x122)]);if(m[_0x43644d(0x414)](_0x2b0b36)){const {c1Prime:_0x4ab741,m2Prime:_0x3da652}=_0x2b0b36;return this[_0x43644d(0x3be)](_0x4ab741),_0x2c0bdf[0x0][_0x43644d(0x189)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x43644d(0x176)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x43644d(0x25c)],this[_0x43644d(0x12e)],_0x2c0bdf[0x0],_0x3da652,this['_handler'],void 0x0);}throw _0x2b0b36['error'];}throw _0x51fcfb['error'];}catch(_0x509330){return this[_0x43644d(0x191)][_0x43644d(0x2f3)](_0x509330),this['_onConflict'](!0x1);}}[_0x5e362b(0x2e6)](_0x1d234a){var _0x2a671e=_0x5e362b;if(this[_0x2a671e(0x1b1)](),this[_0x2a671e(0x393)](_0x1d234a))return this[_0x2a671e(0x176)]['createInstance'](exports['FetchingMissState'],this[_0x2a671e(0x25c)],this[_0x2a671e(0x12e)],null,this[_0x2a671e(0x122)],this[_0x2a671e(0x42e)],[],this['_handler']);this[_0x2a671e(0x3ab)]();const _0xda0ff9=this['_injector'][_0x2a671e(0x12c)](exports[_0x2a671e(0x3d7)],this[_0x2a671e(0x25c)],this['type'],this[_0x2a671e(0x122)],this[_0x2a671e(0x3d6)]);return _0xda0ff9[_0x2a671e(0x427)](),_0xda0ff9[_0x2a671e(0x410)](),_0xda0ff9;}['onRemoteRej'](_0x30ccfe){var _0x300d92=_0x5e362b;return this[_0x300d92(0x40e)](!!(_0x30ccfe!=null&&_0x30ccfe['isPermissionRej']));}['onRemoteRetry'](_0x582f42){var _0x499eef=_0x5e362b;return this[_0x499eef(0x24d)]>Pt?this[_0x499eef(0x3ed)]():(this['_resendTimer']=Ot(this['_resendTimeout'],{'timeout':this[_0x499eef(0x24d)],'reqId':_0x582f42[_0x499eef(0x173)]}),this[_0x499eef(0x41d)]=this[_0x499eef(0x270)]['subscribe'](({reqId:_0x26bcb2,timeout:_0x58f621})=>{var _0x53d6ad=_0x499eef;this[_0x53d6ad(0x15d)](_0x26bcb2,_0x58f621);}),this);}['toggleOffline'](){var _0x54011f=_0x5e362b;return this[_0x54011f(0x1b1)](),this[_0x54011f(0x176)][_0x54011f(0x12c)](exports['OfflineState'],this[_0x54011f(0x25c)],this[_0x54011f(0x12e)],this['_awaitingChangeset'],this[_0x54011f(0x122)],this[_0x54011f(0x3d6)]);}[_0x5e362b(0x10c)](){return this;}['resend'](){var _0xc1216e=_0x5e362b;this[_0xc1216e(0x3d6)][_0xc1216e(0x111)](this[_0xc1216e(0x42e)]);}[_0x5e362b(0x40e)](_0x148594){var _0x210468=_0x5e362b;return this[_0x210468(0x1b1)](),this['_injector'][_0x210468(0x12c)](exports['ConflictState'],this[_0x210468(0x25c)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x148594);}[_0x5e362b(0x15d)](_0x34a4be,_0x5c9c43){var _0xbd74a1=_0x5e362b,_0x5123c8;_0x34a4be===((_0x5123c8=this[_0xbd74a1(0x42e)])==null?void 0x0:_0x5123c8['reqId'])&&(this[_0xbd74a1(0x469)](),this[_0xbd74a1(0x24d)]=_0x5c9c43===0x0?0x3e8:_0x5c9c43*0x2);}[_0x5e362b(0x1b1)](){var _0x41fb69=_0x5e362b,_0x251bb6;(_0x251bb6=this[_0x41fb69(0x41d)])==null||_0x251bb6[_0x41fb69(0x311)](),this[_0x41fb69(0x24d)]=0x0;}},exports[_0x5e362b(0x2f4)]=le([A(0x6,a[_0x5e362b(0x2b5)](a[_0x5e362b(0x428)])),A(0x7,a['Inject'](m[_0x5e362b(0x2fa)])),A(0x8,a['ICommandService']),A(0x9,a[_0x5e362b(0x324)]),A(0xa,m['ITransformService']),A(0xb,a[_0x5e362b(0x38b)]),A(0xc,a['Optional'](J))],exports[_0x5e362b(0x2f4)]),exports[_0x5e362b(0x2fc)]=class extends _e{constructor(_0x286078,_0x48d375,_0x62e77a,_0x2b7000,_0x5a3611,_0x504fa7=!0x1,_0x197248,_0x508936,_0x4ed2e7,_0xc9b3ee,_0xe70f28,_0xebe1c6,_0x4dfbeb){var _0x1deed2=_0x5e362b;super(_0x286078,_0x48d375,_0x62e77a,_0x2b7000,_0x5a3611,_0x508936,_0x4ed2e7,_0xc9b3ee,_0x4dfbeb),D(this,_0x1deed2(0x33e),'conflict'),(this[_0x1deed2(0x30c)]=_0x504fa7,this[_0x1deed2(0x2bf)]=_0x197248,this[_0x1deed2(0x1a5)]=_0xe70f28,this[_0x1deed2(0x36f)]=_0xebe1c6,this[_0x1deed2(0x3cb)]=_0x4dfbeb,this[_0x1deed2(0x214)](),this[_0x1deed2(0x400)](),this[_0x1deed2(0x486)]());}['appendMutation'](){return this;}[_0x5e362b(0x402)](){return this;}[_0x5e362b(0x2e6)](){return this;}[_0x5e362b(0x101)](){return this;}[_0x5e362b(0x1b5)](){return this;}[_0x5e362b(0x3ed)](){return this;}['toggleOnline'](){return this;}['resend'](){var _0x2cfc2b=_0x5e362b;throw new Error(_0x2cfc2b(0x236));}[_0x5e362b(0x400)](){var _0x1358a2=_0x5e362b,_0x2ee74a;(_0x2ee74a=this['_localCacheService'])==null||_0x2ee74a[_0x1358a2(0x117)](this[_0x1358a2(0x25c)],this[_0x1358a2(0x12e)],null,[]);}['_showConflictNotification'](){var _0x414a78=_0x5e362b;this[_0x414a78(0x30c)]?this[_0x414a78(0x36f)]['emitEvent']({'id':Q[_0x414a78(0x483)]}):this[_0x414a78(0x36f)][_0x414a78(0x1f3)]({'id':Q[_0x414a78(0x46b)]});}[_0x5e362b(0x486)](){var _0x29512b=_0x5e362b;this['_permissionService']['updatePermissionPoint'](new W[(_0x29512b(0x3c7))](this[_0x29512b(0x25c)])['id'],!0x1);}},exports[_0x5e362b(0x2fc)]=le([A(0x6,a[_0x5e362b(0x2b5)](a[_0x5e362b(0x170)])),A(0x7,a[_0x5e362b(0x154)]),A(0x8,a[_0x5e362b(0x38b)]),A(0x9,a[_0x5e362b(0x2b5)](m[_0x5e362b(0x2fa)])),A(0xa,a[_0x5e362b(0x2b5)](a[_0x5e362b(0x372)])),A(0xb,a[_0x5e362b(0x2b5)](te)),A(0xc,a[_0x5e362b(0x366)](J))],exports[_0x5e362b(0x2fc)]),exports[_0x5e362b(0x1c2)]=class extends _e{constructor(_0x7f7cdc,_0x30087a,_0x1a94e8,_0x123cfa,_0x1c9483,_0x15c478,_0x346555,_0x22b546,_0x49d018,_0x4e5efa){var _0x31bd4c=_0x5e362b;super(_0x7f7cdc,_0x30087a,_0x1a94e8,_0x123cfa,_0x1c9483,_0x22b546,_0x49d018,_0x346555,_0x4e5efa),D(this,_0x31bd4c(0x33e),_0x31bd4c(0x135)),this[_0x31bd4c(0x176)]=_0x15c478;}[_0x5e362b(0x2aa)](_0xdb033e){var _0x4a8a7d=_0x5e362b;return this[_0x4a8a7d(0x122)][_0x4a8a7d(0x377)](_0xdb033e),this[_0x4a8a7d(0x410)](),this;}[_0x5e362b(0x402)](_0x100d47){var _0x4a9d92=_0x5e362b;throw new Error(_0x4a9d92(0x47b));}['onRemoteAck'](){var _0x3e9102=_0x5e362b;throw new Error(_0x3e9102(0x1ba));}['onRemoteRej'](){var _0x27b139=_0x5e362b;throw new Error(_0x27b139(0x106));}[_0x5e362b(0x1b5)](){return this;}['toggleOffline'](){return this;}[_0x5e362b(0x10c)](){var _0x561c51=_0x5e362b;const {_injector:_0x54c730,_pendingMutations:_0x174391,_awaitingChangeset:_0x42101b,unitID:_0x148772,_handler:_0x39b602,type:_0xf87606}=this,_0x7d4d94=Ut(_0x54c730,_0x148772,_0xf87606,_0x42101b,_0x174391,_0x39b602);return _0x7d4d94 instanceof exports[_0x561c51(0x3d7)]?_0x7d4d94[_0x561c51(0x427)]():(_0x7d4d94 instanceof exports[_0x561c51(0x2f4)]||_0x7d4d94 instanceof exports[_0x561c51(0x3b0)])&&_0x7d4d94[_0x561c51(0x469)](),_0x7d4d94;}[_0x5e362b(0x469)](){var _0xd98f2f=_0x5e362b;throw new Error(_0xd98f2f(0x1c0));}},exports[_0x5e362b(0x1c2)]=le([A(0x5,a[_0x5e362b(0x2b5)](a[_0x5e362b(0x428)])),A(0x6,a[_0x5e362b(0x2b5)](m[_0x5e362b(0x2fa)])),A(0x7,a[_0x5e362b(0x154)]),A(0x8,a[_0x5e362b(0x38b)]),A(0x9,a[_0x5e362b(0x366)](J))],exports[_0x5e362b(0x1c2)]),exports['FetchingMissState']=class extends _e{constructor(_0x37e8a1,_0xb7f0dc,_0x430b8e,_0xeed4ae,_0x3b9e9c,_0x510063,_0x24cba2,_0x451227,_0x297eb0,_0xdaa56e,_0x464888,_0x135940,_0x339d8d,_0x38dda0){var _0x110d74=_0x5e362b;super(_0x37e8a1,_0xb7f0dc,_0x430b8e,_0xeed4ae,_0x24cba2,_0x464888,_0x135940,_0x297eb0,_0x38dda0),D(this,_0x110d74(0x33e),_0x110d74(0x28c)),(this['_acknowledgedAwaitingChangeset']=_0x3b9e9c,this['_queuedRemoteChangesets']=_0x510063,this[_0x110d74(0x176)]=_0x451227,this[_0x110d74(0x191)]=_0xdaa56e,this[_0x110d74(0x27c)]=_0x339d8d,this[_0x110d74(0x3cb)]=_0x38dda0);}['onMissedChangesetFetched'](_0x5782db){var _0x590c72=_0x5e362b;try{const _0x35be31=[..._0x5782db,...this[_0x590c72(0x10e)]],_0x934c93=[this[_0x590c72(0x42e)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0xb15600=>!!_0xb15600);let _0x3063ed,_0xfa969b;if(_0x934c93[_0x590c72(0x412)]){const _0x137d35=this[_0x590c72(0x27c)][_0x590c72(0x35c)](_0x35be31,_0x934c93,!0x1);if(!m[_0x590c72(0x464)](_0x137d35))throw _0x137d35[_0x590c72(0x2f3)];_0x3063ed=_0x137d35[_0x590c72(0x213)],_0xfa969b=_0x137d35[_0x590c72(0x112)];}else _0x3063ed=_0x35be31,_0xfa969b=[];let _0x23e30b=this[_0x590c72(0x122)];_0x3063ed[_0x590c72(0x129)](_0xfe18db=>{var _0x47fe47=_0x590c72;let _0x2f8cf2;if(_0x23e30b[_0x47fe47(0x412)]){const _0x43b1b4=this[_0x47fe47(0x27c)][_0x47fe47(0x113)](_0xfe18db,_0x23e30b);if(!m[_0x47fe47(0x414)](_0x43b1b4))throw _0x43b1b4[_0x47fe47(0x2f3)];_0x2f8cf2=_0x43b1b4[_0x47fe47(0x213)],_0x23e30b=_0x43b1b4[_0x47fe47(0x179)];}else _0x2f8cf2=_0xfe18db;this[_0x47fe47(0x3be)](_0x2f8cf2);}),this['_acknowledgedAwaitingChangeset']&&this[_0x590c72(0x3ab)](),this[_0x590c72(0x42e)]&&_0xfa969b[_0x590c72(0x412)]&&(_0xfa969b[0x0][_0x590c72(0x189)]=this[_0x590c72(0x47e)]());let _0x55c869;if(this[_0x590c72(0x42e)]&&_0x23e30b[_0x590c72(0x412)]!==0x0)_0x55c869=this[_0x590c72(0x176)]['createInstance'](exports[_0x590c72(0x2f4)],this['unitID'],this[_0x590c72(0x12e)],_0xfa969b[0x0],_0x23e30b,this[_0x590c72(0x3d6)],void 0x0);else{if(this[_0x590c72(0x42e)]&&_0x23e30b[_0x590c72(0x412)]===0x0)_0xfa969b[0x0][_0x590c72(0x189)]=this['_getCurrentRevision'](),_0x55c869=this[_0x590c72(0x176)][_0x590c72(0x12c)](exports[_0x590c72(0x3b0)],this[_0x590c72(0x25c)],this['type'],_0xfa969b[0x0],this['_handler']);else{if(_0x23e30b[_0x590c72(0x412)]!==0x0){const _0x4a2bbc=this[_0x590c72(0x176)]['createInstance'](exports[_0x590c72(0x3d7)],this['unitID'],this[_0x590c72(0x12e)],_0x23e30b,this['_handler']);_0x4a2bbc[_0x590c72(0x427)](),_0x55c869=_0x4a2bbc;}else _0x55c869=this[_0x590c72(0x176)][_0x590c72(0x12c)](exports[_0x590c72(0x32d)],this[_0x590c72(0x25c)],this['type'],this['_handler']);}}return _0x55c869[_0x590c72(0x410)](),_0x55c869;}catch(_0x5a6f5a){return this['_logService'][_0x590c72(0x2f3)](_0x590c72(0x312),_0x590c72(0x23f),_0x5a6f5a),this['_injector'][_0x590c72(0x12c)](exports[_0x590c72(0x2fc)],this[_0x590c72(0x25c)],this[_0x590c72(0x12e)],this[_0x590c72(0x42e)],this[_0x590c72(0x122)],this[_0x590c72(0x3d6)],!0x1);}}[_0x5e362b(0x469)](){var _0x1b1023=_0x5e362b;throw new Error(_0x1b1023(0x25e));}[_0x5e362b(0x2aa)](_0x12cf99){var _0x3a1789=_0x5e362b;return this[_0x3a1789(0x122)][_0x3a1789(0x377)](_0x12cf99),this;}[_0x5e362b(0x402)](_0x6bf57b){var _0x1c4456=_0x5e362b;return this['_queuedRemoteChangesets'][_0x1c4456(0x377)](_0x6bf57b),this;}[_0x5e362b(0x2e6)](_0x425548){var _0x1a9c5=_0x5e362b;if(this[_0x1a9c5(0x42e)])return this[_0x1a9c5(0x1c4)]=this[_0x1a9c5(0x42e)],this['_awaitingChangeset']=null,this;throw new Error(_0x1a9c5(0x376));}[_0x5e362b(0x101)](_0x37e425){var _0x520105=_0x5e362b;return this[_0x520105(0x40e)](!!(_0x37e425!=null&&_0x37e425['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x5e362b(0x3ed)](){var _0x456a9d=_0x5e362b;return this['_injector'][_0x456a9d(0x12c)](exports[_0x456a9d(0x1c2)],this[_0x456a9d(0x25c)],this[_0x456a9d(0x12e)],this[_0x456a9d(0x42e)],this['_pendingMutations'],this[_0x456a9d(0x3d6)]);}[_0x5e362b(0x10c)](){return this;}[_0x5e362b(0x40e)](_0x2b8ac8){var _0x5d6308=_0x5e362b;return this['_injector'][_0x5d6308(0x12c)](exports[_0x5d6308(0x2fc)],this[_0x5d6308(0x25c)],this[_0x5d6308(0x12e)],this[_0x5d6308(0x42e)],this[_0x5d6308(0x122)],this['_handler'],_0x2b8ac8);}},exports[_0x5e362b(0x478)]=le([A(0x7,a[_0x5e362b(0x2b5)](a[_0x5e362b(0x428)])),A(0x8,a[_0x5e362b(0x2b5)](m[_0x5e362b(0x2fa)])),A(0x9,a[_0x5e362b(0x324)]),A(0xa,a[_0x5e362b(0x154)]),A(0xb,a[_0x5e362b(0x38b)]),A(0xc,m[_0x5e362b(0x40a)]),A(0xd,a[_0x5e362b(0x366)](J))],exports[_0x5e362b(0x478)]);function Ut(_0x1fc5d6,_0x1b8d0b,_0x604063,_0x3e8e82,_0x5101be,_0x4c1db3){var _0x5d87ac=_0x5e362b;return _0x3e8e82&&_0x5101be[_0x5d87ac(0x412)]?_0x1fc5d6[_0x5d87ac(0x12c)](exports[_0x5d87ac(0x2f4)],_0x1b8d0b,_0x604063,_0x3e8e82,_0x5101be,_0x4c1db3,void 0x0):_0x3e8e82?_0x1fc5d6[_0x5d87ac(0x12c)](exports['AwaitingState'],_0x1b8d0b,_0x604063,_0x3e8e82,_0x4c1db3):_0x5101be[_0x5d87ac(0x412)]?_0x1fc5d6[_0x5d87ac(0x12c)](exports[_0x5d87ac(0x3d7)],_0x1b8d0b,_0x604063,_0x5101be,_0x4c1db3):_0x1fc5d6[_0x5d87ac(0x12c)](exports['SyncedState'],_0x1b8d0b,_0x604063,_0x4c1db3);}var Oi=Object[_0x5e362b(0x3cd)],Pi=Object[_0x5e362b(0x3e5)],Ve=(_0x54c1ea,_0x2fedca,_0x427964,_0x9f49a2)=>{var _0x2d96e6=_0x5e362b;for(var _0x3bc998=_0x9f49a2>0x1?void 0x0:_0x9f49a2?Pi(_0x2fedca,_0x427964):_0x2fedca,_0x50ffed=_0x54c1ea[_0x2d96e6(0x412)]-0x1,_0x1febff;_0x50ffed>=0x0;_0x50ffed--)(_0x1febff=_0x54c1ea[_0x50ffed])&&(_0x3bc998=(_0x9f49a2?_0x1febff(_0x2fedca,_0x427964,_0x3bc998):_0x1febff(_0x3bc998))||_0x3bc998);return _0x9f49a2&&_0x3bc998&&Oi(_0x2fedca,_0x427964,_0x3bc998),_0x3bc998;},k=(_0x12f5f9,_0xe6ae4d)=>(_0x85d892,_0x28e876)=>_0xe6ae4d(_0x85d892,_0x28e876,_0x12f5f9);exports[_0x5e362b(0x227)]=class extends a[_0x5e362b(0x2d7)]{constructor(_0x5a6928,_0x6e9068,_0x229fc7,_0x31d3c6,_0xbd2685,_0x43ec17,_0x5aa844,_0x4f4ac9,_0x330627,_0x56d390,_0x34a200,_0xf93231,_0xbf7b64){var _0x290c15=_0x5e362b;super(),D(this,'_state$',new H['BehaviorSubject'](null)),D(this,_0x290c15(0x138),this[_0x290c15(0x275)][_0x290c15(0x1ea)]()),D(this,'_state'),D(this,'_collaborationPaused',!0x1),D(this,_0x290c15(0x34f),''),D(this,_0x290c15(0x36a),0x0),D(this,_0x290c15(0x291),this[_0x290c15(0x138)]['pipe'](H['map'](_0x48c689=>_0x48c689?_0x48c689['status']:We['OFFLINE']),H[_0x290c15(0x3b1)](0x1))),D(this,_0x290c15(0x3e7),!0x1),D(this,_0x290c15(0x1e2),[]),(this[_0x290c15(0x25c)]=_0x5a6928,this['session']=_0x6e9068,this[_0x290c15(0x325)]=_0x229fc7,this[_0x290c15(0x176)]=_0x31d3c6,this[_0x290c15(0x272)]=_0xbd2685,this['_localeService']=_0x43ec17,this[_0x290c15(0x37f)]=_0x5aa844,this[_0x290c15(0x2d0)]=_0x4f4ac9,this[_0x290c15(0x191)]=_0x330627,this[_0x290c15(0x327)]=_0x56d390,this['_permissionService']=_0x34a200,this[_0x290c15(0x286)]=_0xf93231,this[_0x290c15(0x2a1)]=_0xbf7b64);}get[_0x5e362b(0x46e)](){var _0x237f05=_0x5e362b;return this[_0x237f05(0x352)];}async[_0x5e362b(0x27f)](){var _0x405b0c=_0x5e362b;if(this[_0x405b0c(0x46e)])throw new Error(_0x405b0c(0x17f));await this['_init']();}['pauseCollaboration'](){var _0x580cac=_0x5e362b;return this[_0x580cac(0x163)]=!0x0,a[_0x580cac(0x29b)](()=>{var _0x454f63=_0x580cac;this[_0x454f63(0x163)]=!0x1,this[_0x454f63(0x439)]();});}[_0x5e362b(0x1f7)](_0x582dcd){var _0x51b67d=_0x5e362b;this[_0x51b67d(0x37d)](_0x582dcd);}[_0x5e362b(0x353)](_0x45c665){var _0x5c663a=_0x5e362b;this[_0x5c663a(0x352)]=_0x45c665,this[_0x5c663a(0x275)]['next'](_0x45c665);}async['_init'](){var _0x2ac465=_0x5e362b,_0xacc8e;this['_updateState'](await this[_0x2ac465(0x232)]()),this[_0x2ac465(0x286)]&&((_0xacc8e=this[_0x2ac465(0x286)])==null||_0xacc8e[_0x2ac465(0x459)](this[_0x2ac465(0x25c)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x2ac465(0x11c)](this[_0x2ac465(0x25c)])[_0x2ac465(0x476)](_0x5c9aa0=>{var _0x52d07e=_0x2ac465;this[_0x52d07e(0x191)][_0x52d07e(0x419)]('[CollaborationEntity]',_0x52d07e(0x1fc),_0x5c9aa0),_0x5c9aa0===Fe[_0x52d07e(0x14c)]?(this[_0x52d07e(0x2d0)][_0x52d07e(0x1f3)]({'id':Q[_0x52d07e(0x467)]}),this[_0x52d07e(0x2bf)][_0x52d07e(0x496)](new W[(_0x52d07e(0x3c7))](this[_0x52d07e(0x25c)])['id'],!0x1),this[_0x52d07e(0x2bf)][_0x52d07e(0x1f5)](!0x1)):(this[_0x52d07e(0x2bf)][_0x52d07e(0x496)](new W['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0x52d07e(0x2bf)][_0x52d07e(0x1f5)](!0x0));})));let _0x546b39=!0x1;return this['disposeWithMe'](this[_0x2ac465(0x440)]['sessionStatus$']['subscribe'](_0x3b7b49=>{var _0x5825cd=_0x2ac465;_0x3b7b49===se[_0x5825cd(0x1af)]?this[_0x5825cd(0x194)](_0x546b39):_0x3b7b49===se[_0x5825cd(0x23c)]&&(_0x546b39=!0x0,this[_0x5825cd(0x34c)]());})),this['disposeWithMe'](this[_0x2ac465(0x440)]['event$'][_0x2ac465(0x476)](_0x1f4634=>{var _0x4ec29f=_0x2ac465;try{switch(_0x1f4634[_0x4ec29f(0x172)]){case m[_0x4ec29f(0x1c6)][_0x4ec29f(0x368)]:{this[_0x4ec29f(0x36b)](m[_0x4ec29f(0x1d4)](_0x1f4634['data']));break;}case m['CollaborationEvent'][_0x4ec29f(0x199)]:{this['_onRemoteACK'](_0x1f4634['data']);break;}case m[_0x4ec29f(0x1c6)][_0x4ec29f(0x3fe)]:{this[_0x4ec29f(0x30e)]();break;}case m[_0x4ec29f(0x1c6)][_0x4ec29f(0x3e2)]:{this[_0x4ec29f(0x108)](_0x1f4634['data']);break;}case m[_0x4ec29f(0x1c6)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x4ec29f(0x167)](_0x1f4634['data']['changesets']['map'](_0x291c97=>m['parseProtocolChangeset'](_0x291c97)));break;}case m[_0x4ec29f(0x1c6)]['PERMISSION_REJ']:{this[_0x4ec29f(0x30e)]({'isPermissionRej':!0x0});break;}case m[_0x4ec29f(0x1c6)][_0x4ec29f(0x438)]:break;}}catch(_0x5c3a18){throw console[_0x4ec29f(0x2f3)](_0x4ec29f(0x391),_0x5c3a18),_0x5c3a18;}})),this['_state'];}[_0x5e362b(0x156)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x182aaa=_0x5e362b;if(this['_transitionLocked'])throw new Error(_0x182aaa(0x446));this['_transitionLocked']=!0x0;}[_0x5e362b(0x37d)](_0x5377bd){var _0x221c3e=_0x5e362b;this[_0x221c3e(0x45f)](),this[_0x221c3e(0x353)](this[_0x221c3e(0x352)]['appendMutation'](_0x5377bd)),this[_0x221c3e(0x156)]();}[_0x5e362b(0x36b)](_0x25ef73){var _0x1fd216=_0x5e362b;if(!(_0x25ef73[_0x1fd216(0x1a3)]<=this['_revisionService'][_0x1fd216(0x30a)](this[_0x1fd216(0x25c)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x1fd216(0x377)](_0x25ef73);return;}this[_0x1fd216(0x343)](_0x25ef73);}}[_0x5e362b(0x439)](){var _0xab56a2=_0x5e362b;this[_0xab56a2(0x1e2)][_0xab56a2(0x129)](_0x3d0704=>this['_applyRemoteChangeset'](_0x3d0704)),this[_0xab56a2(0x1e2)]=[];}['_applyRemoteChangeset'](_0x2b6f70){var _0x5aef9e=_0x5e362b;const _0x33792b=this['_compressMutationService']['interceptor'][_0x5aef9e(0x16f)](this[_0x5aef9e(0x272)][_0x5aef9e(0x3c2)][_0x5aef9e(0x3b4)]()[_0x5aef9e(0x365)])(_0x2b6f70['mutations'],null)||_0x2b6f70[_0x5aef9e(0x19c)],_0xa9d0cb={..._0x2b6f70,'mutations':_0x33792b};this['_lockTransition'](),this[_0x5aef9e(0x353)](this[_0x5aef9e(0x352)][_0x5aef9e(0x402)](_0xa9d0cb)),this[_0x5aef9e(0x156)]();}[_0x5e362b(0x261)](_0x453093){var _0x3cce84=_0x5e362b;this['_lockTransition'](),this[_0x3cce84(0x353)](this[_0x3cce84(0x352)]['onRemoteAck'](_0x453093)),this['_unlockTransition']();}[_0x5e362b(0x30e)](_0x456494){var _0x4228a6=_0x5e362b;this[_0x4228a6(0x45f)](),this[_0x4228a6(0x353)](this[_0x4228a6(0x352)][_0x4228a6(0x101)](_0x456494)),this['_unlockTransition']();}[_0x5e362b(0x108)](_0x3444f4){var _0x8c14f3=_0x5e362b;this[_0x8c14f3(0x45f)](),this[_0x8c14f3(0x353)](this[_0x8c14f3(0x352)][_0x8c14f3(0x1b5)](_0x3444f4)),this['_unlockTransition']();}[_0x5e362b(0x167)](_0xe20070){var _0x23465f=_0x5e362b;if(!(this[_0x23465f(0x352)]instanceof exports[_0x23465f(0x478)]))throw new TypeError(_0x23465f(0x1a9));const _0xd27d49=_0xe20070[_0x23465f(0x47f)](_0x13b40f=>{var _0x97ea86=_0x23465f;const _0x53de16=this[_0x97ea86(0x272)][_0x97ea86(0x3c2)]['fetchThroughInterceptors'](this[_0x97ea86(0x272)][_0x97ea86(0x3c2)][_0x97ea86(0x3b4)]()[_0x97ea86(0x365)])(_0x13b40f['mutations'],null)||_0x13b40f[_0x97ea86(0x19c)];return{..._0x13b40f,'mutations':_0x53de16};});this[_0x23465f(0x45f)](),this['_updateState'](this[_0x23465f(0x352)][_0x23465f(0x20b)](_0xd27d49)),this[_0x23465f(0x156)]();}[_0x5e362b(0x34c)](){var _0x47be5f=_0x5e362b;this['_lockTransition'](),this[_0x47be5f(0x353)](this[_0x47be5f(0x352)]['toggleOffline']()),this[_0x47be5f(0x156)]();}[_0x5e362b(0x194)](_0x387359=!0x1){var _0x46aa35=_0x5e362b;this[_0x46aa35(0x45f)](),this[_0x46aa35(0x353)](this['_state']['toggleOnline']()),this[_0x46aa35(0x156)]();const _0xce55bd=this[_0x46aa35(0x352)];_0x387359&&_0xce55bd instanceof exports[_0x46aa35(0x32d)]&&(this[_0x46aa35(0x45f)](),this[_0x46aa35(0x353)](_0xce55bd[_0x46aa35(0x3b8)]()),this[_0x46aa35(0x156)]());}async[_0x5e362b(0x232)](){return new Promise(_0x5d2068=>{var _0x13ee6b=_0x2783;this[_0x13ee6b(0x440)][_0x13ee6b(0x336)][_0x13ee6b(0x1cd)](H[_0x13ee6b(0x2ff)](0x1))[_0x13ee6b(0x476)](async _0x56c6e4=>{var _0x557c45=_0x13ee6b;_0x5d2068(await this[_0x557c45(0x14a)](_0x56c6e4===se['ONLINE']));});});}['_createHandler'](){var _0xfcfe3b=_0x5e362b;const _0x58721f=this[_0xfcfe3b(0x25c)];return{'onStateChange':(_0x33bba5,_0x565683)=>{var _0x1d9fbf=_0xfcfe3b;if(_0x33bba5!==this[_0x1d9fbf(0x352)])throw new Error(_0x1d9fbf(0x256)+_0x33bba5[_0x1d9fbf(0x33e)]+'\x0aAfter:\x20'+_0x565683[_0x1d9fbf(0x33e)]+'\x0aCurrent:\x20'+this['_state'][_0x1d9fbf(0x33e)]);this[_0x1d9fbf(0x353)](_0x565683);},'onSendChangeset':_0x3dc605=>{var _0x3a07c4=_0xfcfe3b;_0x3dc605[_0x3a07c4(0x1d1)]||(_0x3dc605[_0x3a07c4(0x1d1)]=this[_0x3a07c4(0x34f)],_0x3dc605['reqId']=++this['_changesetReqId']);const _0x59adc6={'eventID':m[_0x3a07c4(0x1c6)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x3dc605[_0x3a07c4(0x25c)],'unitType':this[_0x3a07c4(0x325)],'changeset':_0x3dc605,'memberID':this[_0x3a07c4(0x440)][_0x3a07c4(0x332)]()}};this[_0x3a07c4(0x440)][_0x3a07c4(0x341)](_0x59adc6,this[_0x3a07c4(0x25c)]);},'onMissingChangesets':({from:_0x21e364,to:_0xba0c3b})=>{var _0x3e7865=_0xfcfe3b;this[_0x3e7865(0x191)][_0x3e7865(0x419)](_0x3e7865(0x12b),_0x3e7865(0x2db)+_0x21e364+'\x20to\x20'+_0xba0c3b);const _0x293f54={'eventID':m['CollaborationEvent'][_0x3e7865(0x269)],'data':{'unitID':_0x58721f,'unitType':this[_0x3e7865(0x325)],'from':_0x21e364,'to':_0xba0c3b}};this['session'][_0x3e7865(0x341)](_0x293f54,this[_0x3e7865(0x25c)]);}};}async['_createInitialStateImpl'](_0x1c907d){var _0x508062=_0x5e362b,_0x3278f1,_0x11bbf5,_0x3cb99d;const _0x1ccc6b=await((_0x3278f1=this[_0x508062(0x2a1)])==null?void 0x0:_0x3278f1['loadOfflineData'](this[_0x508062(0x25c)])),_0xa8e368=(_0x11bbf5=_0x1ccc6b==null?void 0x0:_0x1ccc6b['mutations'])!=null?_0x11bbf5:[],_0x290a71=(_0x3cb99d=_0x1ccc6b==null?void 0x0:_0x1ccc6b[_0x508062(0x19a)])!=null?_0x3cb99d:null,_0x492497=!!(_0x290a71!=null&&_0x290a71['sid'])&&!!(_0x290a71!=null&&_0x290a71[_0x508062(0x173)]);this['_changesetSessionId']=_0x492497?_0x290a71[_0x508062(0x1d1)]:Si(),this['_changesetReqId']=_0x492497?_0x290a71[_0x508062(0x173)]:0x0;const _0x3b0e43=this[_0x508062(0x25c)];try{this[_0x508062(0x475)](_0x290a71,_0xa8e368);}catch(_0x4f421e){this[_0x508062(0x191)]['error'](_0x4f421e);}const _0x9c562d=this[_0x508062(0x188)]();if(_0x1c907d){const _0x132932=Ut(this[_0x508062(0x176)],_0x3b0e43,this[_0x508062(0x325)],_0x290a71,_0xa8e368,_0x9c562d);return _0x132932 instanceof exports[_0x508062(0x3d7)]?_0x132932[_0x508062(0x427)]():(_0x132932 instanceof exports[_0x508062(0x2f4)]||_0x132932 instanceof exports[_0x508062(0x3b0)])&&_0x132932[_0x508062(0x469)](),_0x132932;}return this[_0x508062(0x176)][_0x508062(0x12c)](exports[_0x508062(0x1c2)],_0x3b0e43,this[_0x508062(0x325)],_0x290a71,_0xa8e368,_0x9c562d);}[_0x5e362b(0x475)](_0xe73092,_0x3383f0){var _0x11cb3f=_0x5e362b,_0xc5a755,_0x49e122;const _0x4112ef=this[_0x11cb3f(0x272)]['interceptor']['fetchThroughInterceptors'](this[_0x11cb3f(0x272)][_0x11cb3f(0x3c2)]['getInterceptPoints']()[_0x11cb3f(0x365)]);(_0xc5a755=_0x4112ef((_0xe73092==null?void 0x0:_0xe73092['mutations'])||[],null))==null||_0xc5a755[_0x11cb3f(0x129)](_0x42cb55=>this[_0x11cb3f(0x327)]['executeCommand'](_0x42cb55['id'],_0x42cb55[_0x11cb3f(0x36e)])),(_0x49e122=_0x4112ef(_0x3383f0||[],null))==null||_0x49e122[_0x11cb3f(0x129)](_0x13492d=>this[_0x11cb3f(0x327)][_0x11cb3f(0x423)](_0x13492d['id'],_0x13492d[_0x11cb3f(0x36e)]));}},exports[_0x5e362b(0x227)]=Ve([k(0x3,a['Inject'](a[_0x5e362b(0x428)])),k(0x4,a['Inject'](m[_0x5e362b(0x33d)])),k(0x5,a['Inject'](a['LocaleService'])),k(0x6,a[_0x5e362b(0x2b5)](m[_0x5e362b(0x2fa)])),k(0x7,a[_0x5e362b(0x2b5)](te)),k(0x8,a['ILogService']),k(0x9,a[_0x5e362b(0x154)]),k(0xa,a[_0x5e362b(0x170)]),k(0xb,a[_0x5e362b(0x366)](ve)),k(0xc,a['Optional'](J))],exports[_0x5e362b(0x227)]),exports[_0x5e362b(0x2f0)]=class extends exports[_0x5e362b(0x227)]{constructor(_0x190457,_0x5ee256,_0x1fb384,_0x28abce,_0x16376e,_0x1763f7,_0x5278b3,_0x1f0d7c,_0x3a0f10,_0x543559,_0x346e76,_0x12653d,_0x470041){var _0x461cf1=_0x5e362b;super(_0x190457,_0x1fb384,_0x5ee256,_0x28abce,_0x16376e,_0x1763f7,_0x5278b3,_0x1f0d7c,_0x3a0f10,_0x543559,_0x346e76,_0x12653d,_0x470041),D(this,_0x461cf1(0x16a),null),(this[_0x461cf1(0x25c)]=_0x190457,this[_0x461cf1(0x12e)]=_0x5ee256);}[_0x5e362b(0x1e0)](_0x441aba){var _0xae2e6e=_0x5e362b;this[_0xae2e6e(0x16a)]=_0x441aba;}[_0x5e362b(0x413)](){var _0x47aeb2=_0x5e362b;this[_0x47aeb2(0x16a)]=null,super[_0x47aeb2(0x413)]();}[_0x5e362b(0x188)](){var _0x126aea=_0x5e362b;const _0x5e7c99=super[_0x126aea(0x188)]();return _0x5e7c99[_0x126aea(0x2d3)]=_0x30c51d=>{var _0x229080=_0x126aea,_0x48d846,_0x3421af;return(_0x3421af=(_0x48d846=this['_handlerCallback'])==null?void 0x0:_0x48d846[_0x229080(0x2d3)])==null?void 0x0:_0x3421af['call'](_0x48d846,_0x30c51d);},_0x5e7c99[_0x126aea(0x2a3)]=_0xca2176=>{var _0x188dc4=_0x126aea,_0x19019e,_0x538be1;return(_0x538be1=(_0x19019e=this[_0x188dc4(0x16a)])==null?void 0x0:_0x19019e[_0x188dc4(0x2a3)])==null?void 0x0:_0x538be1[_0x188dc4(0x2a4)](_0x19019e,_0xca2176);},_0x5e7c99[_0x126aea(0x2ec)]=_0x2878e5=>{var _0x18ac0f=_0x126aea,_0xa1c0c,_0x3ed48e;return(_0x3ed48e=(_0xa1c0c=this['_handlerCallback'])==null?void 0x0:_0xa1c0c[_0x18ac0f(0x2ec)])==null?void 0x0:_0x3ed48e['call'](_0xa1c0c,_0x2878e5);},_0x5e7c99[_0x126aea(0x238)]=_0x576e27=>{var _0x5b50e1=_0x126aea,_0x53b6f4,_0xcf9f28;return(_0xcf9f28=(_0x53b6f4=this[_0x5b50e1(0x16a)])==null?void 0x0:_0x53b6f4[_0x5b50e1(0x238)])==null?void 0x0:_0xcf9f28[_0x5b50e1(0x2a4)](_0x53b6f4,_0x576e27);},_0x5e7c99[_0x126aea(0x1ee)]=_0x2946b3=>{var _0x519814=_0x126aea,_0x26725d,_0x597b5e,_0x321cb6;if(!((_0x26725d=this[_0x519814(0x16a)])!=null&&_0x26725d[_0x519814(0x1ee)]))throw new Error(_0x519814(0x1a4));return(_0x321cb6=(_0x597b5e=this[_0x519814(0x16a)])==null?void 0x0:_0x597b5e[_0x519814(0x1ee)])==null?void 0x0:_0x321cb6[_0x519814(0x2a4)](_0x597b5e,_0x2946b3);},_0x5e7c99[_0x126aea(0x2af)]=_0x8ffd38=>{var _0xf75c73=_0x126aea,_0x5dce34,_0x1582fa,_0x221dcd;if(!((_0x5dce34=this[_0xf75c73(0x16a)])!=null&&_0x5dce34['onTransformRemoteChangesetByStateCache']))throw new Error(_0xf75c73(0x105));return(_0x221dcd=(_0x1582fa=this[_0xf75c73(0x16a)])==null?void 0x0:_0x1582fa[_0xf75c73(0x2af)])==null?void 0x0:_0x221dcd[_0xf75c73(0x2a4)](_0x1582fa,_0x8ffd38);},_0x5e7c99;}async[_0x5e362b(0x298)](){var _0x19f974=_0x5e362b;const _0x2f806e=await super['_init']();return this[_0x19f974(0x21b)](this['_commandService'][_0x19f974(0x11a)]((_0xad340a,_0x46f6c7)=>{var _0x37fec8=_0x19f974;if(_0xad340a['type']!==a[_0x37fec8(0x32c)][_0x37fec8(0x3a0)]||_0x46f6c7!=null&&_0x46f6c7[_0x37fec8(0x3a3)]||_0x46f6c7!=null&&_0x46f6c7[_0x37fec8(0x152)]||_0xad340a['id']===ut[_0x37fec8(0x142)]['id'])return;const _0x58e2a0=_0xad340a[_0x37fec8(0x36e)];if((_0x58e2a0==null?void 0x0:_0x58e2a0['unitId'])!==this['unitID'])return;const _0x3f1d14=_0xad340a,_0x160034=this[_0x37fec8(0x272)][_0x37fec8(0x3c2)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x37fec8(0x3c2)]['getInterceptPoints']()[_0x37fec8(0x461)])([_0x3f1d14],null)||[_0x3f1d14];this[_0x37fec8(0x37d)](_0x160034[0x0]);})),_0x2f806e;}},exports[_0x5e362b(0x2f0)]=Ve([k(0x3,a['Inject'](a['Injector'])),k(0x4,a[_0x5e362b(0x2b5)](m[_0x5e362b(0x33d)])),k(0x5,a['Inject'](a[_0x5e362b(0x372)])),k(0x6,a[_0x5e362b(0x2b5)](m['RevisionService'])),k(0x7,a[_0x5e362b(0x2b5)](te)),k(0x8,a['ILogService']),k(0x9,a[_0x5e362b(0x154)]),k(0xa,a[_0x5e362b(0x170)]),k(0xb,a[_0x5e362b(0x366)](ve)),k(0xc,a[_0x5e362b(0x366)](J))],exports[_0x5e362b(0x2f0)]),exports[_0x5e362b(0x356)]=class extends exports[_0x5e362b(0x227)]{constructor(_0x4f1169,_0x5d1442,_0x309ae6,_0x4d51e1,_0x50d86b,_0x3a61c6,_0xc6b808,_0xc55275,_0x163e7a,_0x3fceab,_0x293f1b,_0x3b6384,_0x2098d5,_0x2c4003){var _0x23bf2d=_0x5e362b;super(_0x4f1169,_0x309ae6,_0x5d1442,_0x4d51e1,_0x50d86b,_0x3a61c6,_0xc6b808,_0x163e7a,_0x3fceab,_0x293f1b,_0x3b6384,_0x2098d5,_0x2c4003),this[_0x23bf2d(0x25c)]=_0x4f1169,this[_0x23bf2d(0x12e)]=_0x5d1442,this[_0x23bf2d(0x3da)]=_0xc55275;}[_0x5e362b(0x188)](){var _0x21f213=_0x5e362b;const _0x1cb003=super[_0x21f213(0x188)]();return _0x1cb003[_0x21f213(0x2ec)]=_0x53fe6d=>this[_0x21f213(0x3da)]['transformSelections'](_0x53fe6d),_0x1cb003;}async['_init'](){var _0x2416c3=_0x5e362b;const _0x3ec11a=await super[_0x2416c3(0x298)]();return this[_0x2416c3(0x21b)](this[_0x2416c3(0x327)][_0x2416c3(0x11a)]((_0x3c7260,_0x2680f7)=>{var _0x3eb484=_0x2416c3;if(_0x3c7260['type']!==a['CommandType'][_0x3eb484(0x3a0)]||_0x2680f7!=null&&_0x2680f7[_0x3eb484(0x3a3)]||_0x2680f7!=null&&_0x2680f7['onlyLocal'])return;const _0x4c015e=_0x3c7260['params'];if((_0x4c015e==null?void 0x0:_0x4c015e[_0x3eb484(0x35a)])!==this['unitID'])return;const _0x3efa31=_0x3c7260,_0xb1029d=this[_0x3eb484(0x272)][_0x3eb484(0x3c2)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x3eb484(0x3c2)]['getInterceptPoints']()[_0x3eb484(0x461)])([_0x3efa31],null)||[_0x3efa31];this['_onLocalMutation'](_0xb1029d[0x0]);})),_0x3ec11a;}},exports[_0x5e362b(0x356)]=Ve([k(0x3,a[_0x5e362b(0x2b5)](a[_0x5e362b(0x428)])),k(0x4,a[_0x5e362b(0x2b5)](m[_0x5e362b(0x33d)])),k(0x5,a[_0x5e362b(0x2b5)](a['LocaleService'])),k(0x6,a[_0x5e362b(0x2b5)](m['RevisionService'])),k(0x7,a[_0x5e362b(0x2b5)](exports['SheetTransformSelectionsService'])),k(0x8,a[_0x5e362b(0x2b5)](te)),k(0x9,a[_0x5e362b(0x324)]),k(0xa,a['ICommandService']),k(0xb,a[_0x5e362b(0x170)]),k(0xc,a[_0x5e362b(0x366)](ve)),k(0xd,a[_0x5e362b(0x366)](J))],exports[_0x5e362b(0x356)]);var Ui=Object[_0x5e362b(0x3cd)],Ni=Object[_0x5e362b(0x3e5)],Di=(_0x58af1c,_0x347f26,_0x50717c,_0x19b268)=>{var _0x1d3238=_0x5e362b;for(var _0x203997=_0x19b268>0x1?void 0x0:_0x19b268?Ni(_0x347f26,_0x50717c):_0x347f26,_0x271f05=_0x58af1c[_0x1d3238(0x412)]-0x1,_0x190d89;_0x271f05>=0x0;_0x271f05--)(_0x190d89=_0x58af1c[_0x271f05])&&(_0x203997=(_0x19b268?_0x190d89(_0x347f26,_0x50717c,_0x203997):_0x190d89(_0x203997))||_0x203997);return _0x19b268&&_0x203997&&Ui(_0x347f26,_0x50717c,_0x203997),_0x203997;},we=(_0x5e2563,_0x5672ca)=>(_0x418716,_0x10104c)=>_0x5672ca(_0x418716,_0x10104c,_0x5e2563);exports[_0x5e362b(0x14d)]=class extends a[_0x5e362b(0x2d7)]{constructor(_0x5502d0,_0x438996,_0x46a171){var _0x1a2ce9=_0x5e362b;super(),D(this,_0x1a2ce9(0x114),new Map()),D(this,_0x1a2ce9(0x2f5),new H[(_0x1a2ce9(0x48e))]()),D(this,_0x1a2ce9(0x2a7),this[_0x1a2ce9(0x2f5)][_0x1a2ce9(0x1ea)]()),(this[_0x1a2ce9(0x176)]=_0x5502d0,this['_collabSessionService']=_0x438996,this['_univerInstanceService']=_0x46a171,this['_init']());}[_0x5e362b(0x413)](){var _0x2cdc87=_0x5e362b;super[_0x2cdc87(0x413)](),this[_0x2cdc87(0x114)][_0x2cdc87(0x129)](_0x509b12=>_0x509b12['dispose']()),this[_0x2cdc87(0x114)][_0x2cdc87(0x401)]();}[_0x5e362b(0x367)](_0x41b329){var _0xd6623f=_0x5e362b,_0x8579bc;return(_0x8579bc=this['_entities'][_0xd6623f(0x321)](_0x41b329))!=null?_0x8579bc:null;}[_0x5e362b(0x34b)](_0x435040){var _0x38e28a=_0x5e362b;const _0x5367dd=this[_0x38e28a(0x367)](_0x435040);return _0x5367dd?H['of'](_0x5367dd):this['_entityInit$']['pipe'](V[_0x38e28a(0x307)](_0x29e8c2=>_0x29e8c2[_0x38e28a(0x25c)]===_0x435040));}[_0x5e362b(0x1f0)](_0x26a0b9){var _0x1aa1ab=_0x5e362b;return H[_0x1aa1ab(0x44d)](this[_0x1aa1ab(0x34b)](_0x26a0b9)[_0x1aa1ab(0x1cd)](V[_0x1aa1ab(0x47f)](()=>{})));}[_0x5e362b(0x298)](){var _0x4fe79c=_0x5e362b;this['_univerInstanceService'][_0x4fe79c(0x24e)](a[_0x4fe79c(0x3b2)][_0x4fe79c(0x3bd)])[_0x4fe79c(0x1cd)](H[_0x4fe79c(0x447)](this['dispose$']),V['delay'](0x10))['subscribe'](async _0x4db8d4=>{var _0x23afa7=_0x4fe79c;const _0xbad88e=_0x4db8d4[_0x23afa7(0x1e6)](),_0x4210c1=await this['_startCollaboration'](_0xbad88e,Z['UNIVER_SHEET']);this['_entities'][_0x23afa7(0x1dd)](_0xbad88e,_0x4210c1);}),this[_0x4fe79c(0x3f5)][_0x4fe79c(0x24e)](a['UniverInstanceType'][_0x4fe79c(0x382)])[_0x4fe79c(0x1cd)](H[_0x4fe79c(0x447)](this[_0x4fe79c(0x15b)]),V[_0x4fe79c(0x271)](0x10))[_0x4fe79c(0x1cd)](V[_0x4fe79c(0x307)](_0x5e9994=>!_0x5e9994[_0x4fe79c(0x1e6)]()[_0x4fe79c(0x430)]('__')))[_0x4fe79c(0x476)](async _0x5852ca=>{var _0x2e1906=_0x4fe79c;const _0x1f7405=_0x5852ca[_0x2e1906(0x1e6)](),_0x50d19e=await this[_0x2e1906(0x33f)](_0x1f7405,Z[_0x2e1906(0x382)]);this[_0x2e1906(0x114)]['set'](_0x1f7405,_0x50d19e);}),H[_0x4fe79c(0x29e)](this['_univerInstanceService'][_0x4fe79c(0x3ca)](a[_0x4fe79c(0x3b2)]['UNIVER_SHEET']),this[_0x4fe79c(0x3f5)][_0x4fe79c(0x3ca)](a[_0x4fe79c(0x3b2)][_0x4fe79c(0x382)]))[_0x4fe79c(0x1cd)](H[_0x4fe79c(0x447)](this['dispose$']))[_0x4fe79c(0x476)](_0x57c8d1=>{var _0x440fc8=_0x4fe79c;const _0x3f2498=_0x57c8d1[_0x440fc8(0x1e6)](),_0x136c09=this['_entities'][_0x440fc8(0x321)](_0x3f2498);_0x136c09&&(_0x136c09['dispose'](),this[_0x440fc8(0x114)]['delete'](_0x3f2498));});}async[_0x5e362b(0x33f)](_0x22a065,_0x20a078){var _0x2281e8=_0x5e362b;const _0x40b1e0=await this[_0x2281e8(0x473)][_0x2281e8(0x162)](_0x22a065),_0x3dc172=this['_injector'][_0x2281e8(0x12c)](this[_0x2281e8(0x1ab)](_0x20a078),_0x22a065,_0x20a078,_0x40b1e0);return await _0x3dc172['init'](),this[_0x2281e8(0x2f5)][_0x2281e8(0x137)](_0x3dc172),_0x3dc172;}[_0x5e362b(0x1ab)](_0x33bc9b){var _0x19e9e1=_0x5e362b;switch(_0x33bc9b){case Z['UNIVER_DOC']:return exports[_0x19e9e1(0x2f0)];case Z['UNIVER_SHEET']:return exports['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x33bc9b);}}},exports[_0x5e362b(0x14d)]=Di([we(0x0,a[_0x5e362b(0x2b5)](a[_0x5e362b(0x428)])),we(0x1,a[_0x5e362b(0x2b5)](exports[_0x5e362b(0x25f)])),we(0x2,a['IUniverInstanceService'])],exports[_0x5e362b(0x14d)]);var wi=Object[_0x5e362b(0x3cd)],Ai=Object[_0x5e362b(0x3e5)],Li=(_0x4a88fa,_0x55dc23,_0x155657,_0x336838)=>{var _0x5e7c81=_0x5e362b;for(var _0x234fc4=_0x336838>0x1?void 0x0:_0x336838?Ai(_0x55dc23,_0x155657):_0x55dc23,_0x474ac3=_0x4a88fa[_0x5e7c81(0x412)]-0x1,_0x44c75d;_0x474ac3>=0x0;_0x474ac3--)(_0x44c75d=_0x4a88fa[_0x474ac3])&&(_0x234fc4=(_0x336838?_0x44c75d(_0x55dc23,_0x155657,_0x234fc4):_0x44c75d(_0x234fc4))||_0x234fc4);return _0x336838&&_0x234fc4&&wi(_0x55dc23,_0x155657,_0x234fc4),_0x234fc4;},Je=(_0x1ef7b7,_0x1ee53c)=>(_0x16b307,_0x116ea7)=>_0x1ee53c(_0x16b307,_0x116ea7,_0x1ef7b7);const Mi=_0x5e362b(0x1e7),xi=_0x5e362b(0x40c);let $e=class extends a[_0x5e362b(0x25b)]{constructor(_0x404e13,_0x3b3490){var _0x12ace1=_0x5e362b;super(),this[_0x12ace1(0x3f5)]=_0x404e13,this['_configService']=_0x3b3490,this['_init']();}[_0x5e362b(0x298)](){var _0x14f516=_0x5e362b;this[_0x14f516(0x21b)](this[_0x14f516(0x3f5)][_0x14f516(0x1d3)][_0x14f516(0x476)](()=>{var _0x1a080f=_0x14f516,_0x5d6cca;const _0x5745e2=this[_0x1a080f(0x3f5)][_0x1a080f(0x1d8)]();let _0xd77d1b=(_0x5d6cca=this[_0x1a080f(0x2b4)][_0x1a080f(0x32b)](Mi))!=null?_0x5d6cca:xi;_0x5745e2 instanceof a[_0x1a080f(0x397)]&&(_0xd77d1b=_0x5745e2[_0x1a080f(0x48f)]),document[_0x1a080f(0x230)]=_0xd77d1b;}));}};$e=Li([Je(0x0,a[_0x5e362b(0x202)]),Je(0x1,a[_0x5e362b(0x1ec)])],$e);var ji=Object[_0x5e362b(0x3cd)],$i=Object['getOwnPropertyDescriptor'],Hi=(_0x53cd39,_0x2b2f24,_0x42a064,_0x411596)=>{var _0x3624ec=_0x5e362b;for(var _0x18e609=_0x411596>0x1?void 0x0:_0x411596?$i(_0x2b2f24,_0x42a064):_0x2b2f24,_0x327cb8=_0x53cd39[_0x3624ec(0x412)]-0x1,_0x2ba8bd;_0x327cb8>=0x0;_0x327cb8--)(_0x2ba8bd=_0x53cd39[_0x327cb8])&&(_0x18e609=(_0x411596?_0x2ba8bd(_0x2b2f24,_0x42a064,_0x18e609):_0x2ba8bd(_0x18e609))||_0x18e609);return _0x411596&&_0x18e609&&ji(_0x2b2f24,_0x42a064,_0x18e609),_0x18e609;},Ae=(_0x45e9c5,_0x314f78)=>(_0x52e041,_0x487fcc)=>_0x314f78(_0x52e041,_0x487fcc,_0x45e9c5);let Oe=class{constructor(_0x91bfe9,_0x4a01fd,_0x1802af){var _0x474043=_0x5e362b;this['_configService']=_0x91bfe9,this[_0x474043(0x140)]=_0x4a01fd,this[_0x474043(0x13d)]=_0x1802af,this['init']();}[_0x5e362b(0x27f)](){var _0x2fb554=_0x5e362b;this[_0x2fb554(0x140)][_0x2fb554(0x403)]({'priority':0x1,'interceptor':(_0x2d9d49,_0x178431)=>_0x178431(_0x2d9d49)[_0x2fb554(0x1cd)](H['concatMap'](async _0x3f8579=>{var _0x11d5d9=_0x2fb554;const _0x4a122b=_0x3f8579;if(_0x4a122b[_0x11d5d9(0x33e)]===0x191){if(typeof window>'u')throw new Error(_0x11d5d9(0x296));if(window['confirm'](this[_0x11d5d9(0x13d)]['t'](_0x11d5d9(0x19b)))){const _0x43d699=window[_0x11d5d9(0x243)](window['location'][_0x11d5d9(0x390)]);window[_0x11d5d9(0x425)][_0x11d5d9(0x390)]=this[_0x11d5d9(0x245)]()+_0x11d5d9(0x2b7)+_0x43d699;}}return _0x4a122b;}))});}[_0x5e362b(0x245)](){var _0x5bb36a=_0x5e362b,_0x3fec5c,_0x3cae2e;const _0x29b097=this['_configService'][_0x5bb36a(0x32b)](Et),_0x4c0040=this['_configService']['getConfig'](q);return(_0x3cae2e=(_0x3fec5c=_0x4c0040==null?void 0x0:_0x4c0040[_0x5bb36a(0x359)])!=null?_0x3fec5c:_0x29b097)!=null?_0x3cae2e:qt;}};Oe=Hi([Ae(0x0,a[_0x5e362b(0x1ec)]),Ae(0x1,a[_0x5e362b(0x2b5)](z[_0x5e362b(0x235)])),Ae(0x2,a[_0x5e362b(0x2b5)](a[_0x5e362b(0x372)]))],Oe);var ki=Object[_0x5e362b(0x3cd)],Bi=Object[_0x5e362b(0x3e5)],Fi=(_0x2f46ad,_0x45c014,_0x58271f,_0x5e8058)=>{for(var _0x2ad2ac=_0x5e8058>0x1?void 0x0:_0x5e8058?Bi(_0x45c014,_0x58271f):_0x45c014,_0x15f60b=_0x2f46ad['length']-0x1,_0x542a15;_0x15f60b>=0x0;_0x15f60b--)(_0x542a15=_0x2f46ad[_0x15f60b])&&(_0x2ad2ac=(_0x5e8058?_0x542a15(_0x45c014,_0x58271f,_0x2ad2ac):_0x542a15(_0x2ad2ac))||_0x2ad2ac);return _0x5e8058&&_0x2ad2ac&&ki(_0x45c014,_0x58271f,_0x2ad2ac),_0x2ad2ac;},Xe=(_0x5ab2cb,_0x4190f8)=>(_0x3460b9,_0x1fb5bd)=>_0x4190f8(_0x3460b9,_0x1fb5bd,_0x5ab2cb);const Ge=_0x5e362b(0x12a),Wi=_0x5e362b(0x348);exports['AuthzIoHttpService']=class extends a['Disposable']{constructor(_0xc2230b,_0x48a8b5){var _0x5669b6=_0x5e362b;super(),this['_HTTPService']=_0xc2230b,this[_0x5669b6(0x2b4)]=_0x48a8b5,this['_initMergeInterceptor']();}[_0x5e362b(0x373)](){var _0x1b5257=_0x5e362b;const _0x1eda05=this;this[_0x1b5257(0x21b)](this[_0x1b5257(0x209)][_0x1b5257(0x403)]({'priority':0x3e7,'interceptor':z[_0x1b5257(0x354)]({'isMatch'(_0x40d2ec){var _0x5a599b=_0x1b5257,_0x343f7d;if(_0x40d2ec['method']===_0x5a599b(0x33b)&&((_0x343f7d=_0x40d2ec[_0x5a599b(0x456)])!=null&&_0x343f7d[_0x5a599b(0x30f)])){const {objectID:_0xb86b7f,objectType:_0x342c5b}=_0x40d2ec[_0x5a599b(0x456)][_0x5a599b(0x30f)]||{};if(!_0xb86b7f||_0x342c5b===void 0x0)return!0x1;const _0x33938d=_0x1eda05[_0x5a599b(0x396)]()+'/'+_0x342c5b+'/object/'+_0xb86b7f+'/allowed';if(_0x40d2ec[_0x5a599b(0x28d)]===_0x33938d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5cdef7){var _0x5c637a=_0x1b5257,_0x5dc6e4;return(_0x5dc6e4=_0x5cdef7[_0x5c637a(0x456)])==null?void 0x0:_0x5dc6e4[_0x5c637a(0x30f)];},'mergeParamsToRequest'(_0x37190a,_0x2eff0c){var _0x4e8e01=_0x1b5257;const _0x447fbf=_0x1eda05[_0x4e8e01(0x396)]()+'/-/object/-/batch_allowed',_0x51d6da=_0x37190a[_0x4e8e01(0x3ce)]((_0x441fdb,_0x5ce938)=>{var _0x519867=_0x4e8e01;const {unitID:_0x2b5522,objectID:_0x4b136b,objectType:_0x18dbcf,actions:_0x5963ae}=_0x5ce938;return _0x441fdb[_0x2b5522]||(_0x441fdb[_0x2b5522]={}),_0x441fdb[_0x2b5522][_0x4b136b]||(_0x441fdb[_0x2b5522][_0x4b136b]={'objectID':_0x4b136b,'objectType':_0x18dbcf,'actions':[]}),_0x441fdb[_0x2b5522][_0x4b136b][_0x519867(0x46a)][_0x519867(0x377)](..._0x5963ae),_0x441fdb;},{}),_0x555d43=[];for(const _0x551f6a in _0x51d6da)for(const _0x23fdc3 in _0x51d6da[_0x551f6a]){const {actions:_0x394644,objectType:_0xf5da39}=_0x51d6da[_0x551f6a][_0x23fdc3],_0x5d4618=[...new Set(_0x394644)];_0x555d43[_0x4e8e01(0x377)]({'unitID':_0x551f6a,'objectID':_0x23fdc3,'objectType':_0xf5da39,'actions':_0x5d4618});}return new z[(_0x4e8e01(0x3c4))](_0x4e8e01(0x33b),_0x447fbf,{'headers':_0x2eff0c[_0x4e8e01(0x158)],'withCredentials':_0x2eff0c[_0x4e8e01(0x3ae)],'responseType':_0x2eff0c[_0x4e8e01(0x43b)],'body':{'requests':_0x555d43}});}},{'distributeResult'(_0x4cce70,_0x490321){const {objectActions:_0x5625d1}=_0x4cce70;return _0x490321['map'](_0x40a1f3=>{var _0x5ac1a1=_0x2783;const {unitID:_0x35b49a,objectID:_0x375af8,actions:_0x4b810e}=_0x40a1f3,_0x503abd=_0x5625d1['find'](_0xc02e14=>_0xc02e14[_0x5ac1a1(0x25c)]===_0x35b49a&&_0xc02e14[_0x5ac1a1(0x1f8)]===_0x375af8),_0x31be4b=_0x4b810e['map'](_0x10680e=>_0x503abd==null?void 0x0:_0x503abd[_0x5ac1a1(0x46a)][_0x5ac1a1(0x131)](_0x13dd9b=>_0x13dd9b['action']===_0x10680e))['filter'](_0x126516=>!!_0x126516);return{'config':_0x40a1f3,'result':{'actions':_0x31be4b,'error':_0x4cce70[_0x5ac1a1(0x2f3)]}};});}})}));}['_getAPIPrefixPath'](){var _0x587a75=_0x5e362b,_0x234270,_0x79c18;const _0x568cc2=this[_0x587a75(0x2b4)][_0x587a75(0x32b)](Ge),_0x3d1c7e=this['_configService'][_0x587a75(0x32b)](q);return(_0x79c18=(_0x234270=_0x3d1c7e==null?void 0x0:_0x3d1c7e[_0x587a75(0x1fa)])!=null?_0x234270:_0x568cc2)!=null?_0x79c18:Wi;}async['create'](_0x487022){var _0x54a68f=_0x5e362b;const _0x2cee54=this['_getAPIPrefixPath']()+'/'+_0x487022[_0x54a68f(0x371)]+_0x54a68f(0x1de);return(await this[_0x54a68f(0x209)]['post'](_0x2cee54,{'body':_0x487022}))['body'][_0x54a68f(0x1f8)]||'';}async[_0x5e362b(0x1db)](_0x588fd7){var _0x9dadc=_0x5e362b;const _0x331a76=this[_0x9dadc(0x396)]()+_0x9dadc(0x315);return(await this[_0x9dadc(0x209)][_0x9dadc(0x454)](_0x331a76,{'body':_0x588fd7}))[_0x9dadc(0x30f)][_0x9dadc(0x17c)];}async[_0x5e362b(0x39e)](_0x17d487){var _0x482b1e=_0x5e362b;const _0x3300b0=this[_0x482b1e(0x396)]()+'/'+_0x17d487[_0x482b1e(0x371)]+'/object/'+_0x17d487[_0x482b1e(0x1f8)];await this[_0x482b1e(0x209)]['put'](_0x3300b0,{'body':_0x17d487});}async[_0x5e362b(0x294)](_0x207710){var _0x24c678=_0x5e362b;const _0xb842ce=this['_getAPIPrefixPath']()+'/'+_0x207710[_0x24c678(0x371)]+_0x24c678(0x186)+_0x207710[_0x24c678(0x1f8)]+'/allowed';return(await this[_0x24c678(0x209)][_0x24c678(0x454)](_0xb842ce,{'body':_0x207710}))[_0x24c678(0x30f)]['actions'];}async[_0x5e362b(0x1c5)](_0x16cebf){var _0x2c520f=_0x5e362b;const _0x46dc04=this['_getAPIPrefixPath']()+_0x2c520f(0x13c);return(await this[_0x2c520f(0x209)][_0x2c520f(0x454)](_0x46dc04,{'body':{'requests':_0x16cebf}}))[_0x2c520f(0x30f)][_0x2c520f(0x44e)];}async['listRoles'](_0x2b6aab){var _0x1da7d2=_0x5e362b;const _0x5cdb2c=this[_0x1da7d2(0x396)]()+'/'+_0x2b6aab[_0x1da7d2(0x371)]+_0x1da7d2(0x265),_0xebdbb6=await this[_0x1da7d2(0x209)][_0x1da7d2(0x454)](_0x5cdb2c,{'body':_0x2b6aab});return{'roles':_0xebdbb6['body'][_0x1da7d2(0x47a)],'actions':_0xebdbb6['body'][_0x1da7d2(0x46a)]};}async['deleteCollaborator'](_0x2b6056){var _0x3bca02=_0x5e362b;const _0x13654e=this['_getAPIPrefixPath']()+_0x3bca02(0x159);await this[_0x3bca02(0x209)]['delete'](_0x13654e,{'params':{'collaboratorID':_0x2b6056['collaboratorID'],'objectID':_0x2b6056[_0x3bca02(0x1f8)],'unitID':_0x2b6056[_0x3bca02(0x25c)]}});}async[_0x5e362b(0x3f7)](_0xc3e51a){var _0x31b4cf=_0x5e362b;const _0x59ebd6=this['_getAPIPrefixPath']()+_0x31b4cf(0x159);await this['_HTTPService']['patch'](_0x59ebd6,{'body':_0xc3e51a});}async[_0x5e362b(0x47d)](_0x1ac004){var _0x6bcaa4=_0x5e362b;const _0x1748d7=this[_0x6bcaa4(0x396)]()+_0x6bcaa4(0x159);await this['_HTTPService'][_0x6bcaa4(0x454)](_0x1748d7,{'body':_0x1ac004});}async[_0x5e362b(0x151)](_0x4816f4){var _0x1718bb=_0x5e362b;const _0x148b93=this[_0x1718bb(0x396)]()+_0x1718bb(0x159);return(await this[_0x1718bb(0x209)][_0x1718bb(0x321)](_0x148b93,{'params':{'objectID':_0x4816f4[_0x1718bb(0x1f8)],'unitID':_0x4816f4['unitID']}}))[_0x1718bb(0x30f)][_0x1718bb(0x220)];}async[_0x5e362b(0x3ad)](_0x5188ef){var _0x5cef75=_0x5e362b;const _0x4bb8af=this[_0x5cef75(0x396)]()+_0x5cef75(0x159);await this['_HTTPService'][_0x5cef75(0x2e3)](_0x4bb8af,{'body':_0x5188ef});}},exports['AuthzIoHttpService']=Fi([Xe(0x0,a[_0x5e362b(0x2b5)](z[_0x5e362b(0x235)])),Xe(0x1,a[_0x5e362b(0x2b5)](a['IConfigService']))],exports[_0x5e362b(0x15a)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x1dabbe){var _0x184e31=_0x5e362b;return _0x1dabbe&&_0x1dabbe[_0x184e31(0x1e8)]&&Object[_0x184e31(0x308)][_0x184e31(0x3de)][_0x184e31(0x2a4)](_0x1dabbe,_0x184e31(0x279))?_0x1dabbe[_0x184e31(0x279)]:_0x1dabbe;}var Se={'exports':{}};function Vi(_0x47da7a){var _0x36f74b=_0x5e362b;throw new Error(_0x36f74b(0x3f3)+_0x47da7a+_0x36f74b(0x378));}var pe={'exports':{}},Gi=pe[_0x5e362b(0x3f0)],Ze;function ee(){var _0x4f8750=_0x5e362b;return Ze||(Ze=0x1,function(_0x57fe33,_0x504568){(function(_0x7385c6,_0x3a0236){_0x57fe33['exports']=_0x3a0236();}(Gi,function(){var _0x1ed788=_0x1ed788||function(_0x4b73a8,_0x4844d6){var _0x4511f3=_0x2783,_0x3b939c;if(typeof window<'u'&&window[_0x4511f3(0x424)]&&(_0x3b939c=window[_0x4511f3(0x424)]),typeof self<'u'&&self[_0x4511f3(0x424)]&&(_0x3b939c=self[_0x4511f3(0x424)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3b939c=globalThis[_0x4511f3(0x424)]),!_0x3b939c&&typeof window<'u'&&window[_0x4511f3(0x42b)]&&(_0x3b939c=window['msCrypto']),!_0x3b939c&&typeof Le<'u'&&Le[_0x4511f3(0x424)]&&(_0x3b939c=Le[_0x4511f3(0x424)]),!_0x3b939c&&typeof Vi==_0x4511f3(0x16d))try{_0x3b939c=require(_0x4511f3(0x424));}catch{}var _0x2636f7=function(){var _0x71141f=_0x4511f3;if(_0x3b939c){if(typeof _0x3b939c[_0x71141f(0x273)]=='function')try{return _0x3b939c[_0x71141f(0x273)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3b939c['randomBytes']==_0x71141f(0x16d))try{return _0x3b939c[_0x71141f(0x37e)](0x4)[_0x71141f(0x369)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x21bfa3=Object[_0x4511f3(0x196)]||(function(){function _0x98a521(){}return function(_0x4af053){var _0x536948=_0x2783,_0x42825e;return _0x98a521[_0x536948(0x308)]=_0x4af053,_0x42825e=new _0x98a521(),_0x98a521[_0x536948(0x308)]=null,_0x42825e;};}()),_0x4f2412={},_0x215b18=_0x4f2412[_0x4511f3(0x43e)]={},_0x30cefa=_0x215b18[_0x4511f3(0x27a)]=(function(){return{'extend':function(_0x1f79d0){var _0x3e702e=_0x2783,_0x68ec6a=_0x21bfa3(this);return _0x1f79d0&&_0x68ec6a[_0x3e702e(0x357)](_0x1f79d0),(!_0x68ec6a[_0x3e702e(0x3de)](_0x3e702e(0x27f))||this['init']===_0x68ec6a['init'])&&(_0x68ec6a[_0x3e702e(0x27f)]=function(){var _0x5df479=_0x3e702e;_0x68ec6a[_0x5df479(0x185)][_0x5df479(0x27f)][_0x5df479(0x313)](this,arguments);}),_0x68ec6a[_0x3e702e(0x27f)][_0x3e702e(0x308)]=_0x68ec6a,_0x68ec6a[_0x3e702e(0x185)]=this,_0x68ec6a;},'create':function(){var _0x5221b0=_0x2783,_0x24727e=this[_0x5221b0(0x1d2)]();return _0x24727e[_0x5221b0(0x27f)]['apply'](_0x24727e,arguments),_0x24727e;},'init':function(){},'mixIn':function(_0x10d1b7){var _0xc68dfe=_0x2783;for(var _0x2ab9e2 in _0x10d1b7)_0x10d1b7['hasOwnProperty'](_0x2ab9e2)&&(this[_0x2ab9e2]=_0x10d1b7[_0x2ab9e2]);_0x10d1b7[_0xc68dfe(0x3de)](_0xc68dfe(0x2b3))&&(this['toString']=_0x10d1b7[_0xc68dfe(0x2b3)]);},'clone':function(){var _0x1d2758=_0x2783;return this[_0x1d2758(0x27f)]['prototype'][_0x1d2758(0x1d2)](this);}};}()),_0x16c417=_0x215b18['WordArray']=_0x30cefa['extend']({'init':function(_0x103107,_0x1c2449){var _0x142633=_0x4511f3;_0x103107=this[_0x142633(0x2c5)]=_0x103107||[],_0x1c2449!=_0x4844d6?this[_0x142633(0x389)]=_0x1c2449:this[_0x142633(0x389)]=_0x103107[_0x142633(0x412)]*0x4;},'toString':function(_0x4db72d){return(_0x4db72d||_0x59f029)['stringify'](this);},'concat':function(_0x3ac446){var _0x55dfeb=_0x4511f3,_0x49699b=this[_0x55dfeb(0x2c5)],_0x36047f=_0x3ac446[_0x55dfeb(0x2c5)],_0x166b49=this[_0x55dfeb(0x389)],_0x323733=_0x3ac446[_0x55dfeb(0x389)];if(this[_0x55dfeb(0x31a)](),_0x166b49%0x4)for(var _0x5324d3=0x0;_0x5324d3<_0x323733;_0x5324d3++){var _0x5912b3=_0x36047f[_0x5324d3>>>0x2]>>>0x18-_0x5324d3%0x4*0x8&0xff;_0x49699b[_0x166b49+_0x5324d3>>>0x2]|=_0x5912b3<<0x18-(_0x166b49+_0x5324d3)%0x4*0x8;}else{for(var _0x522ec0=0x0;_0x522ec0<_0x323733;_0x522ec0+=0x4)_0x49699b[_0x166b49+_0x522ec0>>>0x2]=_0x36047f[_0x522ec0>>>0x2];}return this['sigBytes']+=_0x323733,this;},'clamp':function(){var _0x308b01=_0x4511f3,_0x4c1493=this[_0x308b01(0x2c5)],_0x1de6bc=this['sigBytes'];_0x4c1493[_0x1de6bc>>>0x2]&=0xffffffff<<0x20-_0x1de6bc%0x4*0x8,_0x4c1493[_0x308b01(0x412)]=_0x4b73a8[_0x308b01(0x1fe)](_0x1de6bc/0x4);},'clone':function(){var _0x2681a4=_0x4511f3,_0xf06fe8=_0x30cefa[_0x2681a4(0x221)][_0x2681a4(0x2a4)](this);return _0xf06fe8[_0x2681a4(0x2c5)]=this[_0x2681a4(0x2c5)]['slice'](0x0),_0xf06fe8;},'random':function(_0xf25aa6){var _0x3d9204=_0x4511f3;for(var _0x40cbaf=[],_0x505507=0x0;_0x505507<_0xf25aa6;_0x505507+=0x4)_0x40cbaf['push'](_0x2636f7());return new _0x16c417[(_0x3d9204(0x27f))](_0x40cbaf,_0xf25aa6);}}),_0x489ff3=_0x4f2412[_0x4511f3(0x3e3)]={},_0x59f029=_0x489ff3[_0x4511f3(0x255)]={'stringify':function(_0x1c17bd){var _0x1fec62=_0x4511f3;for(var _0x5d25a9=_0x1c17bd[_0x1fec62(0x2c5)],_0x1062d9=_0x1c17bd['sigBytes'],_0x44c3ed=[],_0x5f1ffd=0x0;_0x5f1ffd<_0x1062d9;_0x5f1ffd++){var _0x517575=_0x5d25a9[_0x5f1ffd>>>0x2]>>>0x18-_0x5f1ffd%0x4*0x8&0xff;_0x44c3ed[_0x1fec62(0x377)]((_0x517575>>>0x4)[_0x1fec62(0x2b3)](0x10)),_0x44c3ed[_0x1fec62(0x377)]((_0x517575&0xf)[_0x1fec62(0x2b3)](0x10));}return _0x44c3ed[_0x1fec62(0x364)]('');},'parse':function(_0x15b5d1){var _0x1d3851=_0x4511f3;for(var _0x215534=_0x15b5d1[_0x1d3851(0x412)],_0xb44892=[],_0x1e704b=0x0;_0x1e704b<_0x215534;_0x1e704b+=0x2)_0xb44892[_0x1e704b>>>0x3]|=parseInt(_0x15b5d1['substr'](_0x1e704b,0x2),0x10)<<0x18-_0x1e704b%0x8*0x4;return new _0x16c417[(_0x1d3851(0x27f))](_0xb44892,_0x215534/0x2);}},_0x21c00c=_0x489ff3[_0x4511f3(0x115)]={'stringify':function(_0x243c6a){var _0x378a91=_0x4511f3;for(var _0x1c29d9=_0x243c6a[_0x378a91(0x2c5)],_0x4b2a73=_0x243c6a[_0x378a91(0x389)],_0x35229c=[],_0x445d5a=0x0;_0x445d5a<_0x4b2a73;_0x445d5a++){var _0xbda3a9=_0x1c29d9[_0x445d5a>>>0x2]>>>0x18-_0x445d5a%0x4*0x8&0xff;_0x35229c[_0x378a91(0x377)](String[_0x378a91(0x1f1)](_0xbda3a9));}return _0x35229c['join']('');},'parse':function(_0x40b8bd){var _0x573b54=_0x4511f3;for(var _0x3279e3=_0x40b8bd[_0x573b54(0x412)],_0x504985=[],_0x3faef6=0x0;_0x3faef6<_0x3279e3;_0x3faef6++)_0x504985[_0x3faef6>>>0x2]|=(_0x40b8bd[_0x573b54(0x2ca)](_0x3faef6)&0xff)<<0x18-_0x3faef6%0x4*0x8;return new _0x16c417[(_0x573b54(0x27f))](_0x504985,_0x3279e3);}},_0x4f3c3c=_0x489ff3[_0x4511f3(0x40b)]={'stringify':function(_0x2b241e){var _0x405fbc=_0x4511f3;try{return decodeURIComponent(escape(_0x21c00c[_0x405fbc(0x102)](_0x2b241e)));}catch{throw new Error(_0x405fbc(0x283));}},'parse':function(_0x45b04f){return _0x21c00c['parse'](unescape(encodeURIComponent(_0x45b04f)));}},_0xc55b56=_0x215b18[_0x4511f3(0x2c0)]=_0x30cefa[_0x4511f3(0x1d2)]({'reset':function(){var _0x31c4d8=_0x4511f3;this[_0x31c4d8(0x31e)]=new _0x16c417['init'](),this[_0x31c4d8(0x45d)]=0x0;},'_append':function(_0x40b430){var _0x1d147f=_0x4511f3;typeof _0x40b430==_0x1d147f(0x2d5)&&(_0x40b430=_0x4f3c3c[_0x1d147f(0x3aa)](_0x40b430)),this[_0x1d147f(0x31e)][_0x1d147f(0x282)](_0x40b430),this[_0x1d147f(0x45d)]+=_0x40b430['sigBytes'];},'_process':function(_0xbb7bfb){var _0x4dcefd=_0x4511f3,_0x4f9ccf,_0xe4d51=this[_0x4dcefd(0x31e)],_0x21ddbb=_0xe4d51['words'],_0x1331bf=_0xe4d51[_0x4dcefd(0x389)],_0x290f03=this['blockSize'],_0x358731=_0x290f03*0x4,_0xb83998=_0x1331bf/_0x358731;_0xbb7bfb?_0xb83998=_0x4b73a8[_0x4dcefd(0x1fe)](_0xb83998):_0xb83998=_0x4b73a8[_0x4dcefd(0x258)]((_0xb83998|0x0)-this[_0x4dcefd(0x11f)],0x0);var _0x35ffe0=_0xb83998*_0x290f03,_0x5d3205=_0x4b73a8[_0x4dcefd(0x1b3)](_0x35ffe0*0x4,_0x1331bf);if(_0x35ffe0){for(var _0x26deb1=0x0;_0x26deb1<_0x35ffe0;_0x26deb1+=_0x290f03)this['_doProcessBlock'](_0x21ddbb,_0x26deb1);_0x4f9ccf=_0x21ddbb['splice'](0x0,_0x35ffe0),_0xe4d51['sigBytes']-=_0x5d3205;}return new _0x16c417[(_0x4dcefd(0x27f))](_0x4f9ccf,_0x5d3205);},'clone':function(){var _0x5ed467=_0x4511f3,_0x1cc154=_0x30cefa['clone']['call'](this);return _0x1cc154[_0x5ed467(0x31e)]=this[_0x5ed467(0x31e)][_0x5ed467(0x221)](),_0x1cc154;},'_minBufferSize':0x0});_0x215b18[_0x4511f3(0x31b)]=_0xc55b56[_0x4511f3(0x1d2)]({'cfg':_0x30cefa[_0x4511f3(0x1d2)](),'init':function(_0x418145){var _0x2d84a9=_0x4511f3;this[_0x2d84a9(0x184)]=this[_0x2d84a9(0x184)]['extend'](_0x418145),this['reset']();},'reset':function(){var _0x4608c1=_0x4511f3;_0xc55b56['reset'][_0x4608c1(0x2a4)](this),this[_0x4608c1(0x306)]();},'update':function(_0x598115){var _0xf14a33=_0x4511f3;return this[_0xf14a33(0x14e)](_0x598115),this['_process'](),this;},'finalize':function(_0x3bd699){var _0x547084=_0x4511f3;_0x3bd699&&this[_0x547084(0x14e)](_0x3bd699);var _0x19db83=this[_0x547084(0x13b)]();return _0x19db83;},'blockSize':0x10,'_createHelper':function(_0x54e689){return function(_0x539197,_0x5e2874){var _0x489575=_0x2783;return new _0x54e689[(_0x489575(0x27f))](_0x5e2874)[_0x489575(0x441)](_0x539197);};},'_createHmacHelper':function(_0x5c0471){return function(_0x5a0cdf,_0x4b2eea){var _0x205bdd=_0x2783;return new _0x3ba0da['HMAC'][(_0x205bdd(0x27f))](_0x5c0471,_0x4b2eea)[_0x205bdd(0x441)](_0x5a0cdf);};}});var _0x3ba0da=_0x4f2412['algo']={};return _0x4f2412;}(Math);return _0x1ed788;}));}(pe)),pe[_0x4f8750(0x3f0)];}var ge={'exports':{}},Ki=ge['exports'],Qe;function Nt(){var _0x3e2498=_0x5e362b;return Qe||(Qe=0x1,function(_0x5f5922,_0xba22e4){(function(_0x2d5aa2,_0x1fc0da){_0x5f5922['exports']=_0x1fc0da(ee());}(Ki,function(_0x37114f){var _0x519cb3=_0x2783;return(function(){var _0x1f0e60=_0x2783,_0x5e2760=_0x37114f,_0x5ccdb6=_0x5e2760[_0x1f0e60(0x43e)],_0x53c9f8=_0x5ccdb6[_0x1f0e60(0x1b6)],_0x4ab53c=_0x5e2760['enc'];_0x4ab53c['Base64']={'stringify':function(_0x43437c){var _0x2d603c=_0x1f0e60,_0x9653e8=_0x43437c[_0x2d603c(0x2c5)],_0x3d8daf=_0x43437c[_0x2d603c(0x389)],_0x4130a3=this['_map'];_0x43437c['clamp']();for(var _0x3c8d5c=[],_0x175e25=0x0;_0x175e25<_0x3d8daf;_0x175e25+=0x3)for(var _0x37f6e2=_0x9653e8[_0x175e25>>>0x2]>>>0x18-_0x175e25%0x4*0x8&0xff,_0x11198c=_0x9653e8[_0x175e25+0x1>>>0x2]>>>0x18-(_0x175e25+0x1)%0x4*0x8&0xff,_0x511b96=_0x9653e8[_0x175e25+0x2>>>0x2]>>>0x18-(_0x175e25+0x2)%0x4*0x8&0xff,_0x996659=_0x37f6e2<<0x10|_0x11198c<<0x8|_0x511b96,_0x3293f5=0x0;_0x3293f5<0x4&&_0x175e25+_0x3293f5*0.75<_0x3d8daf;_0x3293f5++)_0x3c8d5c[_0x2d603c(0x377)](_0x4130a3[_0x2d603c(0x123)](_0x996659>>>0x6*(0x3-_0x3293f5)&0x3f));var _0x371058=_0x4130a3[_0x2d603c(0x123)](0x40);if(_0x371058){for(;_0x3c8d5c[_0x2d603c(0x412)]%0x4;)_0x3c8d5c['push'](_0x371058);}return _0x3c8d5c['join']('');},'parse':function(_0x2373a1){var _0xfeb1b7=_0x1f0e60,_0x37b693=_0x2373a1[_0xfeb1b7(0x412)],_0x4b7320=this[_0xfeb1b7(0x407)],_0x5bc8db=this['_reverseMap'];if(!_0x5bc8db){_0x5bc8db=this[_0xfeb1b7(0x328)]=[];for(var _0x38f94d=0x0;_0x38f94d<_0x4b7320['length'];_0x38f94d++)_0x5bc8db[_0x4b7320['charCodeAt'](_0x38f94d)]=_0x38f94d;}var _0x40539b=_0x4b7320['charAt'](0x40);if(_0x40539b){var _0x3151d8=_0x2373a1[_0xfeb1b7(0x15c)](_0x40539b);_0x3151d8!==-0x1&&(_0x37b693=_0x3151d8);}return _0x96a2f3(_0x2373a1,_0x37b693,_0x5bc8db);},'_map':_0x1f0e60(0x3d2)};function _0x96a2f3(_0x5f3132,_0x337638,_0x2a3820){var _0x2afcb3=_0x1f0e60;for(var _0x1f9367=[],_0x5656ac=0x0,_0x1c45b5=0x0;_0x1c45b5<_0x337638;_0x1c45b5++)if(_0x1c45b5%0x4){var _0x3c061b=_0x2a3820[_0x5f3132['charCodeAt'](_0x1c45b5-0x1)]<<_0x1c45b5%0x4*0x2,_0x31c7c3=_0x2a3820[_0x5f3132[_0x2afcb3(0x2ca)](_0x1c45b5)]>>>0x6-_0x1c45b5%0x4*0x2,_0x4d53bd=_0x3c061b|_0x31c7c3;_0x1f9367[_0x5656ac>>>0x2]|=_0x4d53bd<<0x18-_0x5656ac%0x4*0x8,_0x5656ac++;}return _0x53c9f8['create'](_0x1f9367,_0x5656ac);}}()),_0x37114f[_0x519cb3(0x3e3)]['Base64'];}));}(ge)),ge[_0x3e2498(0x3f0)];}var me={'exports':{}},Yi=me['exports'],et;function qi(){var _0x4f69bb=_0x5e362b;return et||(et=0x1,function(_0x4cacab,_0x4c8c9f){(function(_0x503e45,_0x47f83a){var _0x4b5102=_0x2783;_0x4cacab[_0x4b5102(0x3f0)]=_0x47f83a(ee());}(Yi,function(_0x20d7d8){return function(_0x135f84){var _0x3c3311=_0x2783,_0x438e1c=_0x20d7d8,_0x88a050=_0x438e1c[_0x3c3311(0x43e)],_0x5c307b=_0x88a050[_0x3c3311(0x1b6)],_0x30c7ca=_0x88a050[_0x3c3311(0x31b)],_0x3f7f83=_0x438e1c[_0x3c3311(0x212)],_0x101e2d=[];(function(){var _0x2109fe=_0x3c3311;for(var _0x17c501=0x0;_0x17c501<0x40;_0x17c501++)_0x101e2d[_0x17c501]=_0x135f84[_0x2109fe(0x48a)](_0x135f84['sin'](_0x17c501+0x1))*0x100000000|0x0;}());var _0x1266f4=_0x3f7f83[_0x3c3311(0x263)]=_0x30c7ca[_0x3c3311(0x1d2)]({'_doReset':function(){var _0x51dd42=_0x3c3311;this[_0x51dd42(0x33a)]=new _0x5c307b[(_0x51dd42(0x27f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x48f002,_0x80e4b3){var _0x1a1d0e=_0x3c3311;for(var _0x18bb3b=0x0;_0x18bb3b<0x10;_0x18bb3b++){var _0x4e0196=_0x80e4b3+_0x18bb3b,_0x3a82bb=_0x48f002[_0x4e0196];_0x48f002[_0x4e0196]=(_0x3a82bb<<0x8|_0x3a82bb>>>0x18)&0xff00ff|(_0x3a82bb<<0x18|_0x3a82bb>>>0x8)&0xff00ff00;}var _0x555a58=this[_0x1a1d0e(0x33a)][_0x1a1d0e(0x2c5)],_0x228110=_0x48f002[_0x80e4b3+0x0],_0x5421e3=_0x48f002[_0x80e4b3+0x1],_0x4c9208=_0x48f002[_0x80e4b3+0x2],_0x5688a1=_0x48f002[_0x80e4b3+0x3],_0x5a0e18=_0x48f002[_0x80e4b3+0x4],_0x4118a5=_0x48f002[_0x80e4b3+0x5],_0x1cf708=_0x48f002[_0x80e4b3+0x6],_0x3ff0f5=_0x48f002[_0x80e4b3+0x7],_0x49aa88=_0x48f002[_0x80e4b3+0x8],_0x13965c=_0x48f002[_0x80e4b3+0x9],_0xf095f7=_0x48f002[_0x80e4b3+0xa],_0x4bfa9b=_0x48f002[_0x80e4b3+0xb],_0x31b758=_0x48f002[_0x80e4b3+0xc],_0x573d33=_0x48f002[_0x80e4b3+0xd],_0x50b065=_0x48f002[_0x80e4b3+0xe],_0x5044c9=_0x48f002[_0x80e4b3+0xf],_0x4afbe4=_0x555a58[0x0],_0x1a308e=_0x555a58[0x1],_0x274c7a=_0x555a58[0x2],_0x259722=_0x555a58[0x3];_0x4afbe4=_0x5d9dae(_0x4afbe4,_0x1a308e,_0x274c7a,_0x259722,_0x228110,0x7,_0x101e2d[0x0]),_0x259722=_0x5d9dae(_0x259722,_0x4afbe4,_0x1a308e,_0x274c7a,_0x5421e3,0xc,_0x101e2d[0x1]),_0x274c7a=_0x5d9dae(_0x274c7a,_0x259722,_0x4afbe4,_0x1a308e,_0x4c9208,0x11,_0x101e2d[0x2]),_0x1a308e=_0x5d9dae(_0x1a308e,_0x274c7a,_0x259722,_0x4afbe4,_0x5688a1,0x16,_0x101e2d[0x3]),_0x4afbe4=_0x5d9dae(_0x4afbe4,_0x1a308e,_0x274c7a,_0x259722,_0x5a0e18,0x7,_0x101e2d[0x4]),_0x259722=_0x5d9dae(_0x259722,_0x4afbe4,_0x1a308e,_0x274c7a,_0x4118a5,0xc,_0x101e2d[0x5]),_0x274c7a=_0x5d9dae(_0x274c7a,_0x259722,_0x4afbe4,_0x1a308e,_0x1cf708,0x11,_0x101e2d[0x6]),_0x1a308e=_0x5d9dae(_0x1a308e,_0x274c7a,_0x259722,_0x4afbe4,_0x3ff0f5,0x16,_0x101e2d[0x7]),_0x4afbe4=_0x5d9dae(_0x4afbe4,_0x1a308e,_0x274c7a,_0x259722,_0x49aa88,0x7,_0x101e2d[0x8]),_0x259722=_0x5d9dae(_0x259722,_0x4afbe4,_0x1a308e,_0x274c7a,_0x13965c,0xc,_0x101e2d[0x9]),_0x274c7a=_0x5d9dae(_0x274c7a,_0x259722,_0x4afbe4,_0x1a308e,_0xf095f7,0x11,_0x101e2d[0xa]),_0x1a308e=_0x5d9dae(_0x1a308e,_0x274c7a,_0x259722,_0x4afbe4,_0x4bfa9b,0x16,_0x101e2d[0xb]),_0x4afbe4=_0x5d9dae(_0x4afbe4,_0x1a308e,_0x274c7a,_0x259722,_0x31b758,0x7,_0x101e2d[0xc]),_0x259722=_0x5d9dae(_0x259722,_0x4afbe4,_0x1a308e,_0x274c7a,_0x573d33,0xc,_0x101e2d[0xd]),_0x274c7a=_0x5d9dae(_0x274c7a,_0x259722,_0x4afbe4,_0x1a308e,_0x50b065,0x11,_0x101e2d[0xe]),_0x1a308e=_0x5d9dae(_0x1a308e,_0x274c7a,_0x259722,_0x4afbe4,_0x5044c9,0x16,_0x101e2d[0xf]),_0x4afbe4=_0x2985c1(_0x4afbe4,_0x1a308e,_0x274c7a,_0x259722,_0x5421e3,0x5,_0x101e2d[0x10]),_0x259722=_0x2985c1(_0x259722,_0x4afbe4,_0x1a308e,_0x274c7a,_0x1cf708,0x9,_0x101e2d[0x11]),_0x274c7a=_0x2985c1(_0x274c7a,_0x259722,_0x4afbe4,_0x1a308e,_0x4bfa9b,0xe,_0x101e2d[0x12]),_0x1a308e=_0x2985c1(_0x1a308e,_0x274c7a,_0x259722,_0x4afbe4,_0x228110,0x14,_0x101e2d[0x13]),_0x4afbe4=_0x2985c1(_0x4afbe4,_0x1a308e,_0x274c7a,_0x259722,_0x4118a5,0x5,_0x101e2d[0x14]),_0x259722=_0x2985c1(_0x259722,_0x4afbe4,_0x1a308e,_0x274c7a,_0xf095f7,0x9,_0x101e2d[0x15]),_0x274c7a=_0x2985c1(_0x274c7a,_0x259722,_0x4afbe4,_0x1a308e,_0x5044c9,0xe,_0x101e2d[0x16]),_0x1a308e=_0x2985c1(_0x1a308e,_0x274c7a,_0x259722,_0x4afbe4,_0x5a0e18,0x14,_0x101e2d[0x17]),_0x4afbe4=_0x2985c1(_0x4afbe4,_0x1a308e,_0x274c7a,_0x259722,_0x13965c,0x5,_0x101e2d[0x18]),_0x259722=_0x2985c1(_0x259722,_0x4afbe4,_0x1a308e,_0x274c7a,_0x50b065,0x9,_0x101e2d[0x19]),_0x274c7a=_0x2985c1(_0x274c7a,_0x259722,_0x4afbe4,_0x1a308e,_0x5688a1,0xe,_0x101e2d[0x1a]),_0x1a308e=_0x2985c1(_0x1a308e,_0x274c7a,_0x259722,_0x4afbe4,_0x49aa88,0x14,_0x101e2d[0x1b]),_0x4afbe4=_0x2985c1(_0x4afbe4,_0x1a308e,_0x274c7a,_0x259722,_0x573d33,0x5,_0x101e2d[0x1c]),_0x259722=_0x2985c1(_0x259722,_0x4afbe4,_0x1a308e,_0x274c7a,_0x4c9208,0x9,_0x101e2d[0x1d]),_0x274c7a=_0x2985c1(_0x274c7a,_0x259722,_0x4afbe4,_0x1a308e,_0x3ff0f5,0xe,_0x101e2d[0x1e]),_0x1a308e=_0x2985c1(_0x1a308e,_0x274c7a,_0x259722,_0x4afbe4,_0x31b758,0x14,_0x101e2d[0x1f]),_0x4afbe4=_0x5f35f9(_0x4afbe4,_0x1a308e,_0x274c7a,_0x259722,_0x4118a5,0x4,_0x101e2d[0x20]),_0x259722=_0x5f35f9(_0x259722,_0x4afbe4,_0x1a308e,_0x274c7a,_0x49aa88,0xb,_0x101e2d[0x21]),_0x274c7a=_0x5f35f9(_0x274c7a,_0x259722,_0x4afbe4,_0x1a308e,_0x4bfa9b,0x10,_0x101e2d[0x22]),_0x1a308e=_0x5f35f9(_0x1a308e,_0x274c7a,_0x259722,_0x4afbe4,_0x50b065,0x17,_0x101e2d[0x23]),_0x4afbe4=_0x5f35f9(_0x4afbe4,_0x1a308e,_0x274c7a,_0x259722,_0x5421e3,0x4,_0x101e2d[0x24]),_0x259722=_0x5f35f9(_0x259722,_0x4afbe4,_0x1a308e,_0x274c7a,_0x5a0e18,0xb,_0x101e2d[0x25]),_0x274c7a=_0x5f35f9(_0x274c7a,_0x259722,_0x4afbe4,_0x1a308e,_0x3ff0f5,0x10,_0x101e2d[0x26]),_0x1a308e=_0x5f35f9(_0x1a308e,_0x274c7a,_0x259722,_0x4afbe4,_0xf095f7,0x17,_0x101e2d[0x27]),_0x4afbe4=_0x5f35f9(_0x4afbe4,_0x1a308e,_0x274c7a,_0x259722,_0x573d33,0x4,_0x101e2d[0x28]),_0x259722=_0x5f35f9(_0x259722,_0x4afbe4,_0x1a308e,_0x274c7a,_0x228110,0xb,_0x101e2d[0x29]),_0x274c7a=_0x5f35f9(_0x274c7a,_0x259722,_0x4afbe4,_0x1a308e,_0x5688a1,0x10,_0x101e2d[0x2a]),_0x1a308e=_0x5f35f9(_0x1a308e,_0x274c7a,_0x259722,_0x4afbe4,_0x1cf708,0x17,_0x101e2d[0x2b]),_0x4afbe4=_0x5f35f9(_0x4afbe4,_0x1a308e,_0x274c7a,_0x259722,_0x13965c,0x4,_0x101e2d[0x2c]),_0x259722=_0x5f35f9(_0x259722,_0x4afbe4,_0x1a308e,_0x274c7a,_0x31b758,0xb,_0x101e2d[0x2d]),_0x274c7a=_0x5f35f9(_0x274c7a,_0x259722,_0x4afbe4,_0x1a308e,_0x5044c9,0x10,_0x101e2d[0x2e]),_0x1a308e=_0x5f35f9(_0x1a308e,_0x274c7a,_0x259722,_0x4afbe4,_0x4c9208,0x17,_0x101e2d[0x2f]),_0x4afbe4=_0x2c35c8(_0x4afbe4,_0x1a308e,_0x274c7a,_0x259722,_0x228110,0x6,_0x101e2d[0x30]),_0x259722=_0x2c35c8(_0x259722,_0x4afbe4,_0x1a308e,_0x274c7a,_0x3ff0f5,0xa,_0x101e2d[0x31]),_0x274c7a=_0x2c35c8(_0x274c7a,_0x259722,_0x4afbe4,_0x1a308e,_0x50b065,0xf,_0x101e2d[0x32]),_0x1a308e=_0x2c35c8(_0x1a308e,_0x274c7a,_0x259722,_0x4afbe4,_0x4118a5,0x15,_0x101e2d[0x33]),_0x4afbe4=_0x2c35c8(_0x4afbe4,_0x1a308e,_0x274c7a,_0x259722,_0x31b758,0x6,_0x101e2d[0x34]),_0x259722=_0x2c35c8(_0x259722,_0x4afbe4,_0x1a308e,_0x274c7a,_0x5688a1,0xa,_0x101e2d[0x35]),_0x274c7a=_0x2c35c8(_0x274c7a,_0x259722,_0x4afbe4,_0x1a308e,_0xf095f7,0xf,_0x101e2d[0x36]),_0x1a308e=_0x2c35c8(_0x1a308e,_0x274c7a,_0x259722,_0x4afbe4,_0x5421e3,0x15,_0x101e2d[0x37]),_0x4afbe4=_0x2c35c8(_0x4afbe4,_0x1a308e,_0x274c7a,_0x259722,_0x49aa88,0x6,_0x101e2d[0x38]),_0x259722=_0x2c35c8(_0x259722,_0x4afbe4,_0x1a308e,_0x274c7a,_0x5044c9,0xa,_0x101e2d[0x39]),_0x274c7a=_0x2c35c8(_0x274c7a,_0x259722,_0x4afbe4,_0x1a308e,_0x1cf708,0xf,_0x101e2d[0x3a]),_0x1a308e=_0x2c35c8(_0x1a308e,_0x274c7a,_0x259722,_0x4afbe4,_0x573d33,0x15,_0x101e2d[0x3b]),_0x4afbe4=_0x2c35c8(_0x4afbe4,_0x1a308e,_0x274c7a,_0x259722,_0x5a0e18,0x6,_0x101e2d[0x3c]),_0x259722=_0x2c35c8(_0x259722,_0x4afbe4,_0x1a308e,_0x274c7a,_0x4bfa9b,0xa,_0x101e2d[0x3d]),_0x274c7a=_0x2c35c8(_0x274c7a,_0x259722,_0x4afbe4,_0x1a308e,_0x4c9208,0xf,_0x101e2d[0x3e]),_0x1a308e=_0x2c35c8(_0x1a308e,_0x274c7a,_0x259722,_0x4afbe4,_0x13965c,0x15,_0x101e2d[0x3f]),_0x555a58[0x0]=_0x555a58[0x0]+_0x4afbe4|0x0,_0x555a58[0x1]=_0x555a58[0x1]+_0x1a308e|0x0,_0x555a58[0x2]=_0x555a58[0x2]+_0x274c7a|0x0,_0x555a58[0x3]=_0x555a58[0x3]+_0x259722|0x0;},'_doFinalize':function(){var _0x520939=_0x3c3311,_0x29d414=this[_0x520939(0x31e)],_0x1e9c6d=_0x29d414[_0x520939(0x2c5)],_0x522212=this['_nDataBytes']*0x8,_0x2519fa=_0x29d414[_0x520939(0x389)]*0x8;_0x1e9c6d[_0x2519fa>>>0x5]|=0x80<<0x18-_0x2519fa%0x20;var _0x3f7930=_0x135f84[_0x520939(0x1d5)](_0x522212/0x100000000),_0x575999=_0x522212;_0x1e9c6d[(_0x2519fa+0x40>>>0x9<<0x4)+0xf]=(_0x3f7930<<0x8|_0x3f7930>>>0x18)&0xff00ff|(_0x3f7930<<0x18|_0x3f7930>>>0x8)&0xff00ff00,_0x1e9c6d[(_0x2519fa+0x40>>>0x9<<0x4)+0xe]=(_0x575999<<0x8|_0x575999>>>0x18)&0xff00ff|(_0x575999<<0x18|_0x575999>>>0x8)&0xff00ff00,_0x29d414[_0x520939(0x389)]=(_0x1e9c6d['length']+0x1)*0x4,this[_0x520939(0x43d)]();for(var _0xf49247=this[_0x520939(0x33a)],_0x14069b=_0xf49247[_0x520939(0x2c5)],_0x29c0d4=0x0;_0x29c0d4<0x4;_0x29c0d4++){var _0x563b64=_0x14069b[_0x29c0d4];_0x14069b[_0x29c0d4]=(_0x563b64<<0x8|_0x563b64>>>0x18)&0xff00ff|(_0x563b64<<0x18|_0x563b64>>>0x8)&0xff00ff00;}return _0xf49247;},'clone':function(){var _0x2af8b6=_0x3c3311,_0x1b5e0a=_0x30c7ca['clone']['call'](this);return _0x1b5e0a[_0x2af8b6(0x33a)]=this[_0x2af8b6(0x33a)][_0x2af8b6(0x221)](),_0x1b5e0a;}});function _0x5d9dae(_0x484bd3,_0x20a76c,_0x41324a,_0x417e16,_0xe13e39,_0xbbf83a,_0x2a4c1d){var _0x54e707=_0x484bd3+(_0x20a76c&_0x41324a|~_0x20a76c&_0x417e16)+_0xe13e39+_0x2a4c1d;return(_0x54e707<<_0xbbf83a|_0x54e707>>>0x20-_0xbbf83a)+_0x20a76c;}function _0x2985c1(_0x2b02d9,_0x67b0b3,_0x1b59b0,_0x2ac628,_0x54599f,_0x372536,_0x2f466c){var _0x312445=_0x2b02d9+(_0x67b0b3&_0x2ac628|_0x1b59b0&~_0x2ac628)+_0x54599f+_0x2f466c;return(_0x312445<<_0x372536|_0x312445>>>0x20-_0x372536)+_0x67b0b3;}function _0x5f35f9(_0x800127,_0x24b837,_0x208935,_0x44a629,_0x1d69ea,_0xaed593,_0x591e5a){var _0x59f9f5=_0x800127+(_0x24b837^_0x208935^_0x44a629)+_0x1d69ea+_0x591e5a;return(_0x59f9f5<<_0xaed593|_0x59f9f5>>>0x20-_0xaed593)+_0x24b837;}function _0x2c35c8(_0x11f2c7,_0x198e9f,_0x4c24b8,_0x4df845,_0x10aae5,_0x38119a,_0x5e3f18){var _0x33b3d2=_0x11f2c7+(_0x4c24b8^(_0x198e9f|~_0x4df845))+_0x10aae5+_0x5e3f18;return(_0x33b3d2<<_0x38119a|_0x33b3d2>>>0x20-_0x38119a)+_0x198e9f;}_0x438e1c[_0x3c3311(0x263)]=_0x30c7ca[_0x3c3311(0x39a)](_0x1266f4),_0x438e1c[_0x3c3311(0x316)]=_0x30c7ca['_createHmacHelper'](_0x1266f4);}(Math),_0x20d7d8['MD5'];}));}(me)),me[_0x4f69bb(0x3f0)];}var Ie={'exports':{}},Ee={'exports':{}},zi=Ee[_0x5e362b(0x3f0)],tt;function Ji(){var _0x558b00=_0x5e362b;return tt||(tt=0x1,function(_0x360a9d,_0x1db1e8){(function(_0x39612b,_0x4d2c75){_0x360a9d['exports']=_0x4d2c75(ee());}(zi,function(_0x347052){return(function(){var _0x37f507=_0x2783,_0xb22fe8=_0x347052,_0xb4e184=_0xb22fe8[_0x37f507(0x43e)],_0x340cc0=_0xb4e184[_0x37f507(0x1b6)],_0x2ff1fa=_0xb4e184[_0x37f507(0x31b)],_0xa63958=_0xb22fe8[_0x37f507(0x212)],_0x865b4b=[],_0x1e6c30=_0xa63958['SHA1']=_0x2ff1fa[_0x37f507(0x1d2)]({'_doReset':function(){var _0x380672=_0x37f507;this[_0x380672(0x33a)]=new _0x340cc0[(_0x380672(0x27f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x7ff113,_0x137978){var _0x16f601=_0x37f507;for(var _0x368367=this['_hash'][_0x16f601(0x2c5)],_0x7d9f07=_0x368367[0x0],_0x21cca9=_0x368367[0x1],_0x33eb9b=_0x368367[0x2],_0x4fc005=_0x368367[0x3],_0x4aaa46=_0x368367[0x4],_0x42f581=0x0;_0x42f581<0x50;_0x42f581++){if(_0x42f581<0x10)_0x865b4b[_0x42f581]=_0x7ff113[_0x137978+_0x42f581]|0x0;else{var _0x5afe69=_0x865b4b[_0x42f581-0x3]^_0x865b4b[_0x42f581-0x8]^_0x865b4b[_0x42f581-0xe]^_0x865b4b[_0x42f581-0x10];_0x865b4b[_0x42f581]=_0x5afe69<<0x1|_0x5afe69>>>0x1f;}var _0x566650=(_0x7d9f07<<0x5|_0x7d9f07>>>0x1b)+_0x4aaa46+_0x865b4b[_0x42f581];_0x42f581<0x14?_0x566650+=(_0x21cca9&_0x33eb9b|~_0x21cca9&_0x4fc005)+0x5a827999:_0x42f581<0x28?_0x566650+=(_0x21cca9^_0x33eb9b^_0x4fc005)+0x6ed9eba1:_0x42f581<0x3c?_0x566650+=(_0x21cca9&_0x33eb9b|_0x21cca9&_0x4fc005|_0x33eb9b&_0x4fc005)-0x70e44324:_0x566650+=(_0x21cca9^_0x33eb9b^_0x4fc005)-0x359d3e2a,_0x4aaa46=_0x4fc005,_0x4fc005=_0x33eb9b,_0x33eb9b=_0x21cca9<<0x1e|_0x21cca9>>>0x2,_0x21cca9=_0x7d9f07,_0x7d9f07=_0x566650;}_0x368367[0x0]=_0x368367[0x0]+_0x7d9f07|0x0,_0x368367[0x1]=_0x368367[0x1]+_0x21cca9|0x0,_0x368367[0x2]=_0x368367[0x2]+_0x33eb9b|0x0,_0x368367[0x3]=_0x368367[0x3]+_0x4fc005|0x0,_0x368367[0x4]=_0x368367[0x4]+_0x4aaa46|0x0;},'_doFinalize':function(){var _0x3c2e34=_0x37f507,_0x4faa07=this[_0x3c2e34(0x31e)],_0x405cad=_0x4faa07[_0x3c2e34(0x2c5)],_0x2a318f=this[_0x3c2e34(0x45d)]*0x8,_0x5d4296=_0x4faa07[_0x3c2e34(0x389)]*0x8;return _0x405cad[_0x5d4296>>>0x5]|=0x80<<0x18-_0x5d4296%0x20,_0x405cad[(_0x5d4296+0x40>>>0x9<<0x4)+0xe]=Math[_0x3c2e34(0x1d5)](_0x2a318f/0x100000000),_0x405cad[(_0x5d4296+0x40>>>0x9<<0x4)+0xf]=_0x2a318f,_0x4faa07[_0x3c2e34(0x389)]=_0x405cad['length']*0x4,this[_0x3c2e34(0x43d)](),this[_0x3c2e34(0x33a)];},'clone':function(){var _0x4f674e=_0x37f507,_0x4a30eb=_0x2ff1fa[_0x4f674e(0x221)]['call'](this);return _0x4a30eb[_0x4f674e(0x33a)]=this['_hash'][_0x4f674e(0x221)](),_0x4a30eb;}});_0xb22fe8[_0x37f507(0x39d)]=_0x2ff1fa[_0x37f507(0x39a)](_0x1e6c30),_0xb22fe8[_0x37f507(0x204)]=_0x2ff1fa[_0x37f507(0x104)](_0x1e6c30);}()),_0x347052['SHA1'];}));}(Ee)),Ee[_0x558b00(0x3f0)];}var Ce={'exports':{}},Xi=Ce[_0x5e362b(0x3f0)],it;function Zi(){return it||(it=0x1,function(_0x593194,_0x16cf3f){(function(_0x2d7397,_0x5e4b87){var _0x5b16a7=_0x2783;_0x593194[_0x5b16a7(0x3f0)]=_0x5e4b87(ee());}(Xi,function(_0x1a89f5){(function(){var _0xac7381=_0x2783,_0x394c68=_0x1a89f5,_0x130e93=_0x394c68[_0xac7381(0x43e)],_0x5553f0=_0x130e93[_0xac7381(0x27a)],_0x419e66=_0x394c68[_0xac7381(0x3e3)],_0x45e8d2=_0x419e66['Utf8'],_0x14f498=_0x394c68[_0xac7381(0x212)];_0x14f498[_0xac7381(0x132)]=_0x5553f0[_0xac7381(0x1d2)]({'init':function(_0x86f73b,_0x1c0ab5){var _0x1de6fc=_0xac7381;_0x86f73b=this['_hasher']=new _0x86f73b[(_0x1de6fc(0x27f))](),typeof _0x1c0ab5=='string'&&(_0x1c0ab5=_0x45e8d2[_0x1de6fc(0x3aa)](_0x1c0ab5));var _0x2cad7a=_0x86f73b[_0x1de6fc(0x28a)],_0x4f752a=_0x2cad7a*0x4;_0x1c0ab5[_0x1de6fc(0x389)]>_0x4f752a&&(_0x1c0ab5=_0x86f73b[_0x1de6fc(0x441)](_0x1c0ab5)),_0x1c0ab5[_0x1de6fc(0x31a)]();for(var _0x49959a=this['_oKey']=_0x1c0ab5['clone'](),_0x3d8502=this[_0x1de6fc(0x20a)]=_0x1c0ab5['clone'](),_0x4f9d09=_0x49959a[_0x1de6fc(0x2c5)],_0x21bce6=_0x3d8502[_0x1de6fc(0x2c5)],_0x3ad484=0x0;_0x3ad484<_0x2cad7a;_0x3ad484++)_0x4f9d09[_0x3ad484]^=0x5c5c5c5c,_0x21bce6[_0x3ad484]^=0x36363636;_0x49959a[_0x1de6fc(0x389)]=_0x3d8502[_0x1de6fc(0x389)]=_0x4f752a,this[_0x1de6fc(0x2c6)]();},'reset':function(){var _0x468c68=_0xac7381,_0x56dcd3=this[_0x468c68(0x3d9)];_0x56dcd3['reset'](),_0x56dcd3[_0x468c68(0x39e)](this[_0x468c68(0x20a)]);},'update':function(_0x18f746){var _0x142c4d=_0xac7381;return this[_0x142c4d(0x3d9)][_0x142c4d(0x39e)](_0x18f746),this;},'finalize':function(_0x5f3e52){var _0x5170a6=_0xac7381,_0x512766=this['_hasher'],_0x21e9cf=_0x512766[_0x5170a6(0x441)](_0x5f3e52);_0x512766[_0x5170a6(0x2c6)]();var _0x5e012e=_0x512766['finalize'](this[_0x5170a6(0x3d5)]['clone']()[_0x5170a6(0x282)](_0x21e9cf));return _0x5e012e;}});}());}));}(Ce)),Ce['exports'];}var Qi=Ie[_0x5e362b(0x3f0)],nt;function Dt(){var _0x4122a5=_0x5e362b;return nt||(nt=0x1,function(_0x27f4bf,_0x5d544d){(function(_0x48b5a0,_0x589464,_0x561a29){var _0x575916=_0x2783;_0x27f4bf[_0x575916(0x3f0)]=_0x589464(ee(),Ji(),Zi());}(Qi,function(_0x226ce6){var _0x49c3c9=_0x2783;return(function(){var _0x5a7c4b=_0x2783,_0x461982=_0x226ce6,_0x2effd2=_0x461982[_0x5a7c4b(0x43e)],_0x51318b=_0x2effd2['Base'],_0x4dbd5=_0x2effd2[_0x5a7c4b(0x1b6)],_0x5d0c9a=_0x461982['algo'],_0xa10f40=_0x5d0c9a[_0x5a7c4b(0x263)],_0x481095=_0x5d0c9a[_0x5a7c4b(0x11b)]=_0x51318b[_0x5a7c4b(0x1d2)]({'cfg':_0x51318b[_0x5a7c4b(0x1d2)]({'keySize':0x80/0x20,'hasher':_0xa10f40,'iterations':0x1}),'init':function(_0x49c898){var _0x102ff9=_0x5a7c4b;this[_0x102ff9(0x184)]=this[_0x102ff9(0x184)][_0x102ff9(0x1d2)](_0x49c898);},'compute':function(_0x1436f3,_0x420da3){var _0x31da8a=_0x5a7c4b;for(var _0x2498f2,_0xa7f040=this[_0x31da8a(0x184)],_0x23af68=_0xa7f040[_0x31da8a(0x345)][_0x31da8a(0x196)](),_0x1fff1b=_0x4dbd5[_0x31da8a(0x196)](),_0x3b01aa=_0x1fff1b['words'],_0x283785=_0xa7f040[_0x31da8a(0x46f)],_0xa667b2=_0xa7f040['iterations'];_0x3b01aa[_0x31da8a(0x412)]<_0x283785;){_0x2498f2&&_0x23af68[_0x31da8a(0x39e)](_0x2498f2),_0x2498f2=_0x23af68['update'](_0x1436f3)[_0x31da8a(0x441)](_0x420da3),_0x23af68[_0x31da8a(0x2c6)]();for(var _0x2a6df4=0x1;_0x2a6df4<_0xa667b2;_0x2a6df4++)_0x2498f2=_0x23af68['finalize'](_0x2498f2),_0x23af68['reset']();_0x1fff1b[_0x31da8a(0x282)](_0x2498f2);}return _0x1fff1b[_0x31da8a(0x389)]=_0x283785*0x4,_0x1fff1b;}});_0x461982[_0x5a7c4b(0x11b)]=function(_0x487e9d,_0x332dd6,_0x20dc96){var _0x5d8715=_0x5a7c4b;return _0x481095[_0x5d8715(0x196)](_0x20dc96)[_0x5d8715(0x168)](_0x487e9d,_0x332dd6);};}()),_0x226ce6[_0x49c3c9(0x11b)];}));}(Ie)),Ie[_0x4122a5(0x3f0)];}var Te={'exports':{}},en=Te[_0x5e362b(0x3f0)],rt;function wt(){var _0x23c999=_0x5e362b;return rt||(rt=0x1,function(_0x1c3f9a,_0x1254f4){(function(_0x44b8b2,_0x5734b2,_0x5c2925){var _0x2c69ee=_0x2783;_0x1c3f9a[_0x2c69ee(0x3f0)]=_0x5734b2(ee(),Dt());}(en,function(_0xdc2129){var _0x2e575f=_0x2783;_0xdc2129[_0x2e575f(0x43e)]['Cipher']||function(_0x2ca5ae){var _0x5c4663=_0x2e575f,_0x1d467d=_0xdc2129,_0xc8f2f2=_0x1d467d[_0x5c4663(0x43e)],_0x1ede30=_0xc8f2f2[_0x5c4663(0x27a)],_0x8c5b58=_0xc8f2f2[_0x5c4663(0x1b6)],_0x4ada14=_0xc8f2f2['BufferedBlockAlgorithm'],_0x5f3221=_0x1d467d['enc'];_0x5f3221['Utf8'];var _0x534d7d=_0x5f3221[_0x5c4663(0x3c1)],_0x2603b2=_0x1d467d[_0x5c4663(0x212)],_0x5efc30=_0x2603b2[_0x5c4663(0x11b)],_0x27bb14=_0xc8f2f2[_0x5c4663(0x317)]=_0x4ada14['extend']({'cfg':_0x1ede30[_0x5c4663(0x1d2)](),'createEncryptor':function(_0x2bb5f9,_0x45aa1f){var _0x3f09e1=_0x5c4663;return this['create'](this[_0x3f09e1(0x435)],_0x2bb5f9,_0x45aa1f);},'createDecryptor':function(_0x10e48a,_0x20e18b){var _0x5a548c=_0x5c4663;return this['create'](this[_0x5a548c(0x2cb)],_0x10e48a,_0x20e18b);},'init':function(_0x4e3046,_0x3e5ee7,_0x442a4f){var _0x1b0a0c=_0x5c4663;this[_0x1b0a0c(0x184)]=this[_0x1b0a0c(0x184)]['extend'](_0x442a4f),this[_0x1b0a0c(0x338)]=_0x4e3046,this[_0x1b0a0c(0x178)]=_0x3e5ee7,this['reset']();},'reset':function(){var _0x56665f=_0x5c4663;_0x4ada14[_0x56665f(0x2c6)][_0x56665f(0x2a4)](this),this['_doReset']();},'process':function(_0x5b4b0d){var _0x4b2a3f=_0x5c4663;return this[_0x4b2a3f(0x14e)](_0x5b4b0d),this[_0x4b2a3f(0x43d)]();},'finalize':function(_0x14eb22){var _0x4b3a95=_0x5c4663;_0x14eb22&&this['_append'](_0x14eb22);var _0xcdd801=this[_0x4b3a95(0x13b)]();return _0xcdd801;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3d8dd4(_0xa4f63f){return typeof _0xa4f63f=='string'?_0x1991cb:_0x491568;}return function(_0x135bef){return{'encrypt':function(_0x3dc41d,_0x1f5b07,_0x265afb){return _0x3d8dd4(_0x1f5b07)['encrypt'](_0x135bef,_0x3dc41d,_0x1f5b07,_0x265afb);},'decrypt':function(_0x126a43,_0x1532ce,_0x120689){return _0x3d8dd4(_0x1532ce)['decrypt'](_0x135bef,_0x126a43,_0x1532ce,_0x120689);}};};}())});_0xc8f2f2['StreamCipher']=_0x27bb14[_0x5c4663(0x1d2)]({'_doFinalize':function(){var _0x5405fc=_0x5c4663,_0x55d5c1=this[_0x5405fc(0x43d)](!0x0);return _0x55d5c1;},'blockSize':0x1});var _0xd5350c=_0x1d467d[_0x5c4663(0x37b)]={},_0x4ef890=_0xc8f2f2[_0x5c4663(0x32f)]=_0x1ede30[_0x5c4663(0x1d2)]({'createEncryptor':function(_0x57e837,_0x5ee8aa){var _0x551635=_0x5c4663;return this[_0x551635(0x23b)][_0x551635(0x196)](_0x57e837,_0x5ee8aa);},'createDecryptor':function(_0x48286b,_0x51e083){var _0x324abe=_0x5c4663;return this[_0x324abe(0x18b)][_0x324abe(0x196)](_0x48286b,_0x51e083);},'init':function(_0x22ec7c,_0x1b3990){var _0x468f1a=_0x5c4663;this[_0x468f1a(0x468)]=_0x22ec7c,this[_0x468f1a(0x2da)]=_0x1b3990;}}),_0x4e81a8=_0xd5350c['CBC']=(function(){var _0x3ec284=_0x5c4663,_0x1d559d=_0x4ef890[_0x3ec284(0x1d2)]();_0x1d559d[_0x3ec284(0x23b)]=_0x1d559d[_0x3ec284(0x1d2)]({'processBlock':function(_0xb77b7a,_0x24da67){var _0x52b45=_0x3ec284,_0x37fc71=this[_0x52b45(0x468)],_0xaa2cc0=_0x37fc71[_0x52b45(0x28a)];_0x5c3464[_0x52b45(0x2a4)](this,_0xb77b7a,_0x24da67,_0xaa2cc0),_0x37fc71[_0x52b45(0x431)](_0xb77b7a,_0x24da67),this['_prevBlock']=_0xb77b7a[_0x52b45(0x347)](_0x24da67,_0x24da67+_0xaa2cc0);}}),_0x1d559d[_0x3ec284(0x18b)]=_0x1d559d[_0x3ec284(0x1d2)]({'processBlock':function(_0x1d05c3,_0x22273d){var _0x4a1bd0=_0x3ec284,_0x40531e=this[_0x4a1bd0(0x468)],_0x555c9c=_0x40531e[_0x4a1bd0(0x28a)],_0x124b5b=_0x1d05c3[_0x4a1bd0(0x347)](_0x22273d,_0x22273d+_0x555c9c);_0x40531e['decryptBlock'](_0x1d05c3,_0x22273d),_0x5c3464[_0x4a1bd0(0x2a4)](this,_0x1d05c3,_0x22273d,_0x555c9c),this[_0x4a1bd0(0x136)]=_0x124b5b;}});function _0x5c3464(_0x3a2bb3,_0x1cae88,_0x2e5943){var _0x4eb350=_0x3ec284,_0x26c62b,_0x8fd91a=this['_iv'];_0x8fd91a?(_0x26c62b=_0x8fd91a,this[_0x4eb350(0x2da)]=_0x2ca5ae):_0x26c62b=this[_0x4eb350(0x136)];for(var _0x4187e1=0x0;_0x4187e1<_0x2e5943;_0x4187e1++)_0x3a2bb3[_0x1cae88+_0x4187e1]^=_0x26c62b[_0x4187e1];}return _0x1d559d;}()),_0x5b8333=_0x1d467d['pad']={},_0x11b57f=_0x5b8333['Pkcs7']={'pad':function(_0x529420,_0x4caf8c){var _0x11cdca=_0x5c4663;for(var _0x444dfe=_0x4caf8c*0x4,_0x229ddd=_0x444dfe-_0x529420['sigBytes']%_0x444dfe,_0x4d7df6=_0x229ddd<<0x18|_0x229ddd<<0x10|_0x229ddd<<0x8|_0x229ddd,_0x4c91e5=[],_0x313ce0=0x0;_0x313ce0<_0x229ddd;_0x313ce0+=0x4)_0x4c91e5[_0x11cdca(0x377)](_0x4d7df6);var _0x36050c=_0x8c5b58[_0x11cdca(0x196)](_0x4c91e5,_0x229ddd);_0x529420['concat'](_0x36050c);},'unpad':function(_0x26c8a2){var _0x4c6634=_0x5c4663,_0x5d8e72=_0x26c8a2[_0x4c6634(0x2c5)][_0x26c8a2[_0x4c6634(0x389)]-0x1>>>0x2]&0xff;_0x26c8a2['sigBytes']-=_0x5d8e72;}};_0xc8f2f2[_0x5c4663(0x217)]=_0x27bb14[_0x5c4663(0x1d2)]({'cfg':_0x27bb14[_0x5c4663(0x184)]['extend']({'mode':_0x4e81a8,'padding':_0x11b57f}),'reset':function(){var _0x9cf02a=_0x5c4663,_0x5987a2;_0x27bb14['reset']['call'](this);var _0x3a6484=this[_0x9cf02a(0x184)],_0x3a7ecf=_0x3a6484['iv'],_0x4425af=_0x3a6484[_0x9cf02a(0x37b)];this[_0x9cf02a(0x338)]==this[_0x9cf02a(0x435)]?_0x5987a2=_0x4425af['createEncryptor']:(_0x5987a2=_0x4425af['createDecryptor'],this[_0x9cf02a(0x11f)]=0x1),this[_0x9cf02a(0x44f)]&&this[_0x9cf02a(0x44f)][_0x9cf02a(0x3db)]==_0x5987a2?this[_0x9cf02a(0x44f)][_0x9cf02a(0x27f)](this,_0x3a7ecf&&_0x3a7ecf[_0x9cf02a(0x2c5)]):(this['_mode']=_0x5987a2[_0x9cf02a(0x2a4)](_0x4425af,this,_0x3a7ecf&&_0x3a7ecf[_0x9cf02a(0x2c5)]),this[_0x9cf02a(0x44f)][_0x9cf02a(0x3db)]=_0x5987a2);},'_doProcessBlock':function(_0xd25d01,_0x1a339e){var _0x192ddc=_0x5c4663;this[_0x192ddc(0x44f)][_0x192ddc(0x1aa)](_0xd25d01,_0x1a339e);},'_doFinalize':function(){var _0x321dbd=_0x5c4663,_0x3b6d6e,_0x110f2b=this[_0x321dbd(0x184)][_0x321dbd(0x33c)];return this[_0x321dbd(0x338)]==this['_ENC_XFORM_MODE']?(_0x110f2b[_0x321dbd(0x398)](this['_data'],this['blockSize']),_0x3b6d6e=this[_0x321dbd(0x43d)](!0x0)):(_0x3b6d6e=this['_process'](!0x0),_0x110f2b['unpad'](_0x3b6d6e)),_0x3b6d6e;},'blockSize':0x80/0x20});var _0x2f87eb=_0xc8f2f2[_0x5c4663(0x385)]=_0x1ede30[_0x5c4663(0x1d2)]({'init':function(_0x545309){var _0x4cfb7e=_0x5c4663;this[_0x4cfb7e(0x357)](_0x545309);},'toString':function(_0x37e060){var _0x14b09f=_0x5c4663;return(_0x37e060||this[_0x14b09f(0x257)])[_0x14b09f(0x102)](this);}}),_0x35cc2e=_0x1d467d[_0x5c4663(0x3eb)]={},_0x4184c9=_0x35cc2e[_0x5c4663(0x2b6)]={'stringify':function(_0xca3527){var _0x573aad=_0x5c4663,_0x19c2a0,_0x53bc46=_0xca3527[_0x573aad(0x417)],_0x3627dc=_0xca3527['salt'];return _0x3627dc?_0x19c2a0=_0x8c5b58[_0x573aad(0x196)]([0x53616c74,0x65645f5f])['concat'](_0x3627dc)[_0x573aad(0x282)](_0x53bc46):_0x19c2a0=_0x53bc46,_0x19c2a0[_0x573aad(0x2b3)](_0x534d7d);},'parse':function(_0x4ae04a){var _0x2669e0=_0x5c4663,_0x1b46cf,_0x15abb5=_0x534d7d[_0x2669e0(0x3aa)](_0x4ae04a),_0x2166a6=_0x15abb5[_0x2669e0(0x2c5)];return _0x2166a6[0x0]==0x53616c74&&_0x2166a6[0x1]==0x65645f5f&&(_0x1b46cf=_0x8c5b58[_0x2669e0(0x196)](_0x2166a6[_0x2669e0(0x347)](0x2,0x4)),_0x2166a6[_0x2669e0(0x39b)](0x0,0x4),_0x15abb5[_0x2669e0(0x389)]-=0x10),_0x2f87eb[_0x2669e0(0x196)]({'ciphertext':_0x15abb5,'salt':_0x1b46cf});}},_0x491568=_0xc8f2f2[_0x5c4663(0x394)]=_0x1ede30[_0x5c4663(0x1d2)]({'cfg':_0x1ede30['extend']({'format':_0x4184c9}),'encrypt':function(_0x316012,_0x524eb0,_0x444547,_0x370839){var _0x460942=_0x5c4663;_0x370839=this['cfg'][_0x460942(0x1d2)](_0x370839);var _0xb6e9ad=_0x316012[_0x460942(0x426)](_0x444547,_0x370839),_0x40b425=_0xb6e9ad[_0x460942(0x441)](_0x524eb0),_0x5f3b4f=_0xb6e9ad[_0x460942(0x184)];return _0x2f87eb[_0x460942(0x196)]({'ciphertext':_0x40b425,'key':_0x444547,'iv':_0x5f3b4f['iv'],'algorithm':_0x316012,'mode':_0x5f3b4f['mode'],'padding':_0x5f3b4f['padding'],'blockSize':_0x316012[_0x460942(0x28a)],'formatter':_0x370839[_0x460942(0x3eb)]});},'decrypt':function(_0x3a23dc,_0x3cccac,_0x40a46a,_0x31e37d){var _0x1923c6=_0x5c4663;_0x31e37d=this[_0x1923c6(0x184)][_0x1923c6(0x1d2)](_0x31e37d),_0x3cccac=this[_0x1923c6(0x481)](_0x3cccac,_0x31e37d[_0x1923c6(0x3eb)]);var _0x386218=_0x3a23dc['createDecryptor'](_0x40a46a,_0x31e37d)[_0x1923c6(0x441)](_0x3cccac[_0x1923c6(0x417)]);return _0x386218;},'_parse':function(_0x1f0a5d,_0x109b41){var _0x35f352=_0x5c4663;return typeof _0x1f0a5d==_0x35f352(0x2d5)?_0x109b41[_0x35f352(0x3aa)](_0x1f0a5d,this):_0x1f0a5d;}}),_0x10f3d6=_0x1d467d[_0x5c4663(0x42d)]={},_0x244316=_0x10f3d6['OpenSSL']={'execute':function(_0x4e6adf,_0x586b64,_0x2adb8a,_0x329720,_0x5d86b7){var _0x5cdb78=_0x5c4663;if(_0x329720||(_0x329720=_0x8c5b58['random'](0x40/0x8)),_0x5d86b7)var _0x346a6b=_0x5efc30[_0x5cdb78(0x196)]({'keySize':_0x586b64+_0x2adb8a,'hasher':_0x5d86b7})[_0x5cdb78(0x168)](_0x4e6adf,_0x329720);else var _0x346a6b=_0x5efc30[_0x5cdb78(0x196)]({'keySize':_0x586b64+_0x2adb8a})[_0x5cdb78(0x168)](_0x4e6adf,_0x329720);var _0x3447a2=_0x8c5b58['create'](_0x346a6b[_0x5cdb78(0x2c5)][_0x5cdb78(0x347)](_0x586b64),_0x2adb8a*0x4);return _0x346a6b[_0x5cdb78(0x389)]=_0x586b64*0x4,_0x2f87eb[_0x5cdb78(0x196)]({'key':_0x346a6b,'iv':_0x3447a2,'salt':_0x329720});}},_0x1991cb=_0xc8f2f2[_0x5c4663(0x274)]=_0x491568[_0x5c4663(0x1d2)]({'cfg':_0x491568['cfg'][_0x5c4663(0x1d2)]({'kdf':_0x244316}),'encrypt':function(_0x2f2fce,_0x1fcb85,_0x17b8d5,_0x51fd5c){var _0x32baa8=_0x5c4663;_0x51fd5c=this[_0x32baa8(0x184)][_0x32baa8(0x1d2)](_0x51fd5c);var _0x2a0a5c=_0x51fd5c['kdf'][_0x32baa8(0x320)](_0x17b8d5,_0x2f2fce[_0x32baa8(0x46f)],_0x2f2fce['ivSize'],_0x51fd5c[_0x32baa8(0x433)],_0x51fd5c[_0x32baa8(0x345)]);_0x51fd5c['iv']=_0x2a0a5c['iv'];var _0x266ad9=_0x491568[_0x32baa8(0x300)][_0x32baa8(0x2a4)](this,_0x2f2fce,_0x1fcb85,_0x2a0a5c[_0x32baa8(0x1a0)],_0x51fd5c);return _0x266ad9['mixIn'](_0x2a0a5c),_0x266ad9;},'decrypt':function(_0x3ca33c,_0x5e993b,_0x3ae3a7,_0x50487d){var _0x53275c=_0x5c4663;_0x50487d=this[_0x53275c(0x184)][_0x53275c(0x1d2)](_0x50487d),_0x5e993b=this[_0x53275c(0x481)](_0x5e993b,_0x50487d['format']);var _0x3dc90b=_0x50487d[_0x53275c(0x42d)]['execute'](_0x3ae3a7,_0x3ca33c[_0x53275c(0x46f)],_0x3ca33c['ivSize'],_0x5e993b[_0x53275c(0x433)],_0x50487d[_0x53275c(0x345)]);_0x50487d['iv']=_0x3dc90b['iv'];var _0x2c62f6=_0x491568[_0x53275c(0x335)][_0x53275c(0x2a4)](this,_0x3ca33c,_0x5e993b,_0x3dc90b[_0x53275c(0x1a0)],_0x50487d);return _0x2c62f6;}});}();}));}(Te)),Te[_0x23c999(0x3f0)];}var tn=Se[_0x5e362b(0x3f0)],st;function nn(){return st||(st=0x1,function(_0x14c789,_0x4df4e5){(function(_0x2b82c8,_0xfa780d,_0x4b6ac9){var _0x1466d1=_0x2783;_0x14c789[_0x1466d1(0x3f0)]=_0xfa780d(ee(),Nt(),qi(),Dt(),wt());}(tn,function(_0x5bbf0a){var _0x591e9d=_0x2783;return(function(){var _0x3e58bb=_0x2783,_0x286d39=_0x5bbf0a,_0x293a06=_0x286d39[_0x3e58bb(0x43e)],_0x3454de=_0x293a06[_0x3e58bb(0x217)],_0x3c5c97=_0x286d39[_0x3e58bb(0x212)],_0x155f9e=[],_0x7d1fe9=[],_0xa2b67c=[],_0x491419=[],_0x3e9dc7=[],_0x469200=[],_0x30ba19=[],_0x3eacec=[],_0x27b09e=[],_0x5e7e80=[];(function(){for(var _0x2bd6db=[],_0x3a0aee=0x0;_0x3a0aee<0x100;_0x3a0aee++)_0x3a0aee<0x80?_0x2bd6db[_0x3a0aee]=_0x3a0aee<<0x1:_0x2bd6db[_0x3a0aee]=_0x3a0aee<<0x1^0x11b;for(var _0x387f40=0x0,_0x3871b9=0x0,_0x3a0aee=0x0;_0x3a0aee<0x100;_0x3a0aee++){var _0x35bea4=_0x3871b9^_0x3871b9<<0x1^_0x3871b9<<0x2^_0x3871b9<<0x3^_0x3871b9<<0x4;_0x35bea4=_0x35bea4>>>0x8^_0x35bea4&0xff^0x63,_0x155f9e[_0x387f40]=_0x35bea4,_0x7d1fe9[_0x35bea4]=_0x387f40;var _0x5c740c=_0x2bd6db[_0x387f40],_0xaca2c8=_0x2bd6db[_0x5c740c],_0x2a657a=_0x2bd6db[_0xaca2c8],_0x547964=_0x2bd6db[_0x35bea4]*0x101^_0x35bea4*0x1010100;_0xa2b67c[_0x387f40]=_0x547964<<0x18|_0x547964>>>0x8,_0x491419[_0x387f40]=_0x547964<<0x10|_0x547964>>>0x10,_0x3e9dc7[_0x387f40]=_0x547964<<0x8|_0x547964>>>0x18,_0x469200[_0x387f40]=_0x547964;var _0x547964=_0x2a657a*0x1010101^_0xaca2c8*0x10001^_0x5c740c*0x101^_0x387f40*0x1010100;_0x30ba19[_0x35bea4]=_0x547964<<0x18|_0x547964>>>0x8,_0x3eacec[_0x35bea4]=_0x547964<<0x10|_0x547964>>>0x10,_0x27b09e[_0x35bea4]=_0x547964<<0x8|_0x547964>>>0x18,_0x5e7e80[_0x35bea4]=_0x547964,_0x387f40?(_0x387f40=_0x5c740c^_0x2bd6db[_0x2bd6db[_0x2bd6db[_0x2a657a^_0x5c740c]]],_0x3871b9^=_0x2bd6db[_0x2bd6db[_0x3871b9]]):_0x387f40=_0x3871b9=0x1;}}());var _0x578bab=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x41a1db=_0x3c5c97['AES']=_0x3454de[_0x3e58bb(0x1d2)]({'_doReset':function(){var _0x58afd8=_0x3e58bb,_0x5ec596;if(!(this['_nRounds']&&this[_0x58afd8(0x35f)]===this['_key'])){for(var _0x4225b6=this[_0x58afd8(0x35f)]=this['_key'],_0x14faaf=_0x4225b6[_0x58afd8(0x2c5)],_0x40862f=_0x4225b6[_0x58afd8(0x389)]/0x4,_0x13993a=this[_0x58afd8(0x3cf)]=_0x40862f+0x6,_0xe1f32d=(_0x13993a+0x1)*0x4,_0x1e8eee=this[_0x58afd8(0x3d0)]=[],_0x5f2d53=0x0;_0x5f2d53<_0xe1f32d;_0x5f2d53++)_0x5f2d53<_0x40862f?_0x1e8eee[_0x5f2d53]=_0x14faaf[_0x5f2d53]:(_0x5ec596=_0x1e8eee[_0x5f2d53-0x1],_0x5f2d53%_0x40862f?_0x40862f>0x6&&_0x5f2d53%_0x40862f==0x4&&(_0x5ec596=_0x155f9e[_0x5ec596>>>0x18]<<0x18|_0x155f9e[_0x5ec596>>>0x10&0xff]<<0x10|_0x155f9e[_0x5ec596>>>0x8&0xff]<<0x8|_0x155f9e[_0x5ec596&0xff]):(_0x5ec596=_0x5ec596<<0x8|_0x5ec596>>>0x18,_0x5ec596=_0x155f9e[_0x5ec596>>>0x18]<<0x18|_0x155f9e[_0x5ec596>>>0x10&0xff]<<0x10|_0x155f9e[_0x5ec596>>>0x8&0xff]<<0x8|_0x155f9e[_0x5ec596&0xff],_0x5ec596^=_0x578bab[_0x5f2d53/_0x40862f|0x0]<<0x18),_0x1e8eee[_0x5f2d53]=_0x1e8eee[_0x5f2d53-_0x40862f]^_0x5ec596);for(var _0x2d9200=this[_0x58afd8(0x1c8)]=[],_0x5e8789=0x0;_0x5e8789<_0xe1f32d;_0x5e8789++){var _0x5f2d53=_0xe1f32d-_0x5e8789;if(_0x5e8789%0x4)var _0x5ec596=_0x1e8eee[_0x5f2d53];else var _0x5ec596=_0x1e8eee[_0x5f2d53-0x4];_0x5e8789<0x4||_0x5f2d53<=0x4?_0x2d9200[_0x5e8789]=_0x5ec596:_0x2d9200[_0x5e8789]=_0x30ba19[_0x155f9e[_0x5ec596>>>0x18]]^_0x3eacec[_0x155f9e[_0x5ec596>>>0x10&0xff]]^_0x27b09e[_0x155f9e[_0x5ec596>>>0x8&0xff]]^_0x5e7e80[_0x155f9e[_0x5ec596&0xff]];}}},'encryptBlock':function(_0xd620a0,_0x16346b){var _0x5cdc9b=_0x3e58bb;this[_0x5cdc9b(0x39c)](_0xd620a0,_0x16346b,this['_keySchedule'],_0xa2b67c,_0x491419,_0x3e9dc7,_0x469200,_0x155f9e);},'decryptBlock':function(_0x1f549f,_0x156895){var _0x41c100=_0x3e58bb,_0x1bdff7=_0x1f549f[_0x156895+0x1];_0x1f549f[_0x156895+0x1]=_0x1f549f[_0x156895+0x3],_0x1f549f[_0x156895+0x3]=_0x1bdff7,this[_0x41c100(0x39c)](_0x1f549f,_0x156895,this[_0x41c100(0x1c8)],_0x30ba19,_0x3eacec,_0x27b09e,_0x5e7e80,_0x7d1fe9);var _0x1bdff7=_0x1f549f[_0x156895+0x1];_0x1f549f[_0x156895+0x1]=_0x1f549f[_0x156895+0x3],_0x1f549f[_0x156895+0x3]=_0x1bdff7;},'_doCryptBlock':function(_0x540399,_0x4fdef7,_0x1a84ba,_0x3b0fe5,_0x1e1d35,_0x24cc8c,_0x4ef4a3,_0x4b8586){for(var _0x10c758=this['_nRounds'],_0x143970=_0x540399[_0x4fdef7]^_0x1a84ba[0x0],_0x519757=_0x540399[_0x4fdef7+0x1]^_0x1a84ba[0x1],_0x264547=_0x540399[_0x4fdef7+0x2]^_0x1a84ba[0x2],_0x26af60=_0x540399[_0x4fdef7+0x3]^_0x1a84ba[0x3],_0xfd98be=0x4,_0x5b65e8=0x1;_0x5b65e8<_0x10c758;_0x5b65e8++){var _0x38854c=_0x3b0fe5[_0x143970>>>0x18]^_0x1e1d35[_0x519757>>>0x10&0xff]^_0x24cc8c[_0x264547>>>0x8&0xff]^_0x4ef4a3[_0x26af60&0xff]^_0x1a84ba[_0xfd98be++],_0x2822c5=_0x3b0fe5[_0x519757>>>0x18]^_0x1e1d35[_0x264547>>>0x10&0xff]^_0x24cc8c[_0x26af60>>>0x8&0xff]^_0x4ef4a3[_0x143970&0xff]^_0x1a84ba[_0xfd98be++],_0x6b4462=_0x3b0fe5[_0x264547>>>0x18]^_0x1e1d35[_0x26af60>>>0x10&0xff]^_0x24cc8c[_0x143970>>>0x8&0xff]^_0x4ef4a3[_0x519757&0xff]^_0x1a84ba[_0xfd98be++],_0x52f348=_0x3b0fe5[_0x26af60>>>0x18]^_0x1e1d35[_0x143970>>>0x10&0xff]^_0x24cc8c[_0x519757>>>0x8&0xff]^_0x4ef4a3[_0x264547&0xff]^_0x1a84ba[_0xfd98be++];_0x143970=_0x38854c,_0x519757=_0x2822c5,_0x264547=_0x6b4462,_0x26af60=_0x52f348;}var _0x38854c=(_0x4b8586[_0x143970>>>0x18]<<0x18|_0x4b8586[_0x519757>>>0x10&0xff]<<0x10|_0x4b8586[_0x264547>>>0x8&0xff]<<0x8|_0x4b8586[_0x26af60&0xff])^_0x1a84ba[_0xfd98be++],_0x2822c5=(_0x4b8586[_0x519757>>>0x18]<<0x18|_0x4b8586[_0x264547>>>0x10&0xff]<<0x10|_0x4b8586[_0x26af60>>>0x8&0xff]<<0x8|_0x4b8586[_0x143970&0xff])^_0x1a84ba[_0xfd98be++],_0x6b4462=(_0x4b8586[_0x264547>>>0x18]<<0x18|_0x4b8586[_0x26af60>>>0x10&0xff]<<0x10|_0x4b8586[_0x143970>>>0x8&0xff]<<0x8|_0x4b8586[_0x519757&0xff])^_0x1a84ba[_0xfd98be++],_0x52f348=(_0x4b8586[_0x26af60>>>0x18]<<0x18|_0x4b8586[_0x143970>>>0x10&0xff]<<0x10|_0x4b8586[_0x519757>>>0x8&0xff]<<0x8|_0x4b8586[_0x264547&0xff])^_0x1a84ba[_0xfd98be++];_0x540399[_0x4fdef7]=_0x38854c,_0x540399[_0x4fdef7+0x1]=_0x2822c5,_0x540399[_0x4fdef7+0x2]=_0x6b4462,_0x540399[_0x4fdef7+0x3]=_0x52f348;},'keySize':0x100/0x20});_0x286d39[_0x3e58bb(0x26b)]=_0x3454de[_0x3e58bb(0x39a)](_0x41a1db);}()),_0x5bbf0a[_0x591e9d(0x26b)];}));}(Se)),Se['exports'];}var rn=nn();const sn=fe(rn);var on=Nt();const ot=fe(on);function _0x506d(){var _0x1c3bb3=['getGlobalObject','fetchMissingChangesets','ITransformService','Utf8','Univer','CONNECTOR_DATA_TOO_LARGE','_onConflict','image/gif','_updateLocalCache','searchParams','length','dispose','isTransformMutationsWithChangesetSuccess','TOO_MANY_REQUESTS','LICENSE_DISTRO_REJECTED','ciphertext','routeKey','debug','_loadDoc','/universer-api/snapshot/','enableAuthServer','_sender','USERS_ENTER','collabSubmitChangesetUrl','UPDATE_PERMISSION_OBJ','SOCKET_FAILED','Undefined','executeCommand','crypto','location','createEncryptor','_schedule','Injector','selections','complete','msCrypto','[CollaborationSessionService]:\x20socket\x20error','kdf','_awaitingChangeset','_commentService','startsWith','encryptBlock','refreshPermission','salt','_userManagerService','_ENC_XFORM_MODE','CollaborationImageIoService','WorksheetProtectionRuleModel','UNISCRIPT_RUN','_exhaustRemoteChangesetQueue','_roomCreated$','responseType','getDeserializedSheetBlock','_process','lib','textEncoder','session','finalize','change$','OPTIONAL','getLatestCsReqIdBySid','_socketService','[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.','takeUntil','_socketReady','avatar','People','NOT_COLLAB','IAuthzIoService','firstValueFrom','objectActions','_mode','_clearCollaborationTimeoutTimer','@univerjs/sheets','univer-pro.collaboration-client.network-condition.service','UNIVER_SLIDE','post','wsSessionTicketUrl','requestParams','_getSessionTicket','size','editingUnit','COLLAB_WEB_SOCKET_URL_KEY','SEND_CHANGESET_TIMEOUT','commentUpdateEvent','_nDataBytes','_config','_lockTransition','JOIN_ROOM_FULL','COMPRESS_MUTATION_SEND','CollaborativeUndoRedoService','UNIVER_COLLABORATION_CLIENT_PLUGIN','isTransformChangesetsSuccess','save\x20fail\x20reason\x20is\x20','_members','OTHER_CLIENT_EDITING','_cipher','resend','actions','CONFLICT','joinRsp','message$','state','keySize','_authzIoService','SNAPSHOT_URL_KEY','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_collabSessionService','LICENSE_IMPORT_SIZE_EXCEEDED','_replayCachedMutations','subscribe','SUCCUSS','FetchingMissState','_tryReconnect','roles','[OfflineState]:\x20received\x20changeset.','UnitSnapshot','createCollaborator','_getCurrentRevision','map','_transformRemoteChangesetByStateCache','_parse','uploadFileServerUrl','PERMISSION_DENIED','sessionStatus','isInternalEditorID','_disableEditing','_scheduleTimestamp','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_collaborationTimeoutTimer','abs','ERROR_IMAGE_TYPE','from','JOIN','Subject','name','disableLocalCache','108fahUoP','now','Tools','ticket','closeSession','updatePermissionPoint','onRemoteRej','stringify','saveSheetBlock','_createHmacHelper','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','[OfflineState]:\x20received\x20rejection.','parseChangesetToProtocol','_onRemoteRetry','getRoom','ICollaborationSocketService','ISocketService','toggleOnline','random','_queuedRemoteChangesets','JSONX','_status$','onSendChangeset','c2Prime','transformMutationsWithChangeset','_entities','Latin1','UNRECOGNIZED','updateOfflineData','?size=','5303944ssDkLy','onCommandExecuted','EvpKDF','getUnitStatus$','6275dQCzaO','unitInfo$','_minBufferSize','MentionType','_clearUndo','_pendingMutations','charAt','saveSnapshot','SNAPSHOT_HAS_BEEN_REMOVED','_transformRemoteChangesetByIMECache','serializeCombRequest','getTime','forEach','AUTHZ_URL_KEY','[CollaborationEntity]','createInstance','signUrlServerUrl','type','getLocalCacheKey','_sendHeartbeat','find','HMAC','image/bmp','snapshotServerUrl','offline','_prevBlock','next','state$','_substituteRedoStack','_retryConnectingTimer','_doFinalize','/-/object/-/batch_allowed','localeService','ImageUploadStatusType','members$','_httpService','enableOfflineEditing','RichTextEditingMutation','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','UNKNOWN_CMD','_clearRedo','Plugin','_http','BehaviorSubject','LIVESHARE_NEW_HOST','_createInitialStateImpl','MemberService','OTHER_CLIENTS_EDITING','CollaborationController','_append','SEND_CHANGESET_TIMEOUT_KEY','_imageSourceCache','listCollaborators','onlyLocal','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','ICommandService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_unlockTransition','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','headers','/collaborator','AuthzIoHttpService','dispose$','indexOf','_resendWithTimeout','bind','_snapshotService','members','collabWebSocketUrl','requireSession','_collaborationPaused','[CollaborationSessionService]','getPermissionPoint','_candidateSocket','_onFetchMissResult','compute','@univerjs/core','_handlerCallback','[UniverCollaborationClientPlugin]','_networkConditionService','function','getMember','fetchThroughInterceptors','IPermissionService','COMMENT_UPDATE','eventID','reqId','range','reject','_injector','EmptyMutation','_key','m2Prime','collaMsg','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','objects','defaultWorksheetPermissionPoint','APPLY_NON_SEQUENTIAL_REVISION','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_event$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','LIVESHARE_FETCH_OPERATIONS','_socket$','cfg','$super','/object/','src','_createHandler','baseRev','HttpImport','Decryptor','INVALID_ARGUMENT','enableSingleActiveInstanceLock','/block/','waitForRoom$','_onMessage','_logService','USERS_LEAVE','toLowerCase','_toggleOnline','shouldCloseConn','create','ruleRefresh','_transformStateCache','CHANGESET_ACK','awaitingChangeset','auth.needGotoLoginAlert','mutations','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Rectangle','ALREADY_EXISTS','key','setWaitCount','_clearHeartbeatTimer','revision','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_localeService','reverse','_onJoinRoomEvent','_getRedoStack','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','processBlock','_getCtorByUniverType','getUnitType','ENSURE_SNAPSHOT_EXECUTION','saveImage','ONLINE','liveShareNewHost','_clearScheduledTask','NO_OTHER_CLIENTS_EDITING','min','setCurrentUser','onRemoteRetry','WordArray','generateRandomId','_onConnectionFailed','_telemetryInfo','[OfflineState]:\x20received\x20acknowledgement.','sendChangesetTimeout','retryConnectingInterval','GLOBAL_ROOMS_CNT_EXCEEDS','createIdentifier','has','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','findIndex','OfflineState','MSG_FOR_ERROR','_acknowledgedAwaitingChangeset','batchAllowed','CollaborationEvent','SHOULD_CLOSE_CONN','_invKeySchedule','touchDependencies','includes','image/jpg','APPLY_DUPLICATED','pipe','submit\x20changeset\x20error!','image/jpeg','override','sid','extend','focused$','parseProtocolChangeset','floor','awaiting_with_pending','YUUMI_URL_COL_OUT_OF_RANGE','getFocusedUnit','subType','subject','list','_redoStacks','set','/object','UPDATE_CURSOR','addHandlerCallback','_transformSelections','_remoteChangesetQueue','HELLO','UnitObject','error$','getUnitId','DEFAULT_FILE_NAME','__esModule','json','asObservable','getActiveSheet','IConfigService','SelectRange','onTransformRemoteChangesetByIMECache','_retryCount','readyForCollab','fromCharCode','FETCH_MISS','emitEvent','ReplaySubject','setShowComponents','LOCAL_CACHE_INTERVAL','onLocalMutation','objectID','univer-pro.collaboration-client-socket-service','authzUrl','session.room-cnt-exceeds','editing\x20status\x20changed\x20to','subUnitId','ceil','COMPLETION_FINISHED','createSocket','/fetchmissing?from=','IUniverInstanceService','mergeOverrideWithDependencies','HmacSHA1','ImageSourceType','/universer-api/file/{fileID}/sign-url','Quantity','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_HTTPService','_iKey','onMissedChangesetFetched','INGEST','ThresholdInterceptorFactory','UNIVER_PROJECT','_change$','_clearTimeoutTimer','LIVESHARE_TERMINATE','algo','c1Prime','_showConflictNotification','add','CLOSE_ROOM','BlockCipher','rxjs/operators','infoRsp','SheetTransformSelectionsService','disposeWithMe','UNKNOWN_CODE','[CollaborationSession]','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','UniverCollaborationPlugin','collaborators','clone','getImage','getCurrentUser','_onOffline','collaboration-client.local-cache-service','BASE64','CollaborationEntity','PERMISSION_REJ','[SyncedState]:\x20received\x20rejection.','RETRY_CONNECTING_MAX_COUNT_KEY','/unit/','_timeoutTimer','_collaborationSessionService','stopTime','_getDownloadEndpointURL','title','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_createInitialState','&source=','transformUndoRedo','HTTPService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','every','onSyncEditingCollabCursor','Worksheet','close','Encryptor','OFFLINE','_initCloseConn','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','failed\x20to\x20apply\x20missed\x20changesets!','getTargetByPermissionId','data','getValue','encodeURIComponent','byteLength','_getLoginPath','_fetchMissChangesets','SessionStatus','YUUMI_SUBSCRIPTION_NOT_FOUND','resourceIDs','onMissingChangesets','EXCHANGE_SIGN_URL_SERVER_URL_KEY','socket\x20open.','_resendTimeout','getTypeOfUnitAdded$','SUBMIT_CHANGESET_TIMEOUT','_initDependencies','_onCombEvent','_socketMessageSubscription','mapDocumentTypeToUniverType','PERSON','Hex','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','formatter','max','_loadSheet','UNDEFINED','Disposable','unitID','x-univer-host','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','CollaborationSessionService','APPLY_REJECT','_onRemoteACK','CollaborationUIEventService','MD5','_startTelemetryCollaborationNewChangeset','/role','online$','socket$','getCurrentUnitForType','FETCH_MISSING','loadOfflineData','AES','PSEUDO_FETCH_MISSING_RESULT','AWAITING_WITH_PENDING','400659vFgnKL','_createSocketURL','_resendTimer','delay','_compressMutationService','getRandomValues','PasswordBasedCipher','_state$','SnapshotService','_removeRoom','CollaborationSocketService','default','Base','_rescheduleHeartbeat','_transformService','replace','CollaborationSession','init','getSnapshotAPIPath','_undoRedoService','concat','Malformed\x20UTF-8\x20data','@univerjs/network','value','_singleActiveUnitService','loadSheet','b64DecodeUnicode','_joinRoom','blockSize','_initUnitPermissionChange','fetch_missing','url','code','search','registerDependencies','status$','isTransformMutationsWithChangesetFailure','/universer-api/user/session-ticket','allowed','_telemetryService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','APPLY_PERMISSION_DENIED','_init','SUBMIT_CHANGESET','getUnit','toDisposable','@univerjs/docs','JOIN_ROOM_NOT_EXISTS','merge','2694838IHUFus','synced','_localCacheService','cmd','onTransformState','call','[CollaborationUndoRedoService]','catch','entityInit$','sessionTicket','getSheetId','appendMutation','WorksheetProtectionPointModel','_instanceService','_submitChangeset','_transformStack','onTransformRemoteChangesetByStateCache','_updateStatus','toStringTag','randomUUID','toString','_configService','Inject','OpenSSL','?url=','DependentOn','/resources','_transformIMECache','_onRecvEvent','isArray','RECV','_waitCount','_permissionService','BufferedBlockAlgorithm','SOCKET_FAILED_RETRY','collaboration-client.config','LICENSE_EXPORT_SIZE_EXCEEDED','duration','words','reset','UNAUTHENTICATED','_scheduleCollaborationTimeoutTimer','JOINING','charCodeAt','_DEC_XFORM_MODE','SnapshotServerOverHTTPService','HEARTBEAT_INTERVAL','UnitEmbedded','application/json','_eventService','encode','clearUndoRedo','onTransformIME','MentionIoHttpService','string','target','RxDisposable','/new_changes','updateCursorEvent','_iv','fetching\x20missing\x20changesets\x20from\x20','21834wuOGoy','ws://127.0.0.1:8000/universer-api/comb/connect','ITelemetryService','compose','_members$','getResourcesRequest','sequenceExecute','put','ISnapshotServerService','LICENSE_MAX_UNITS_EXCEEDED','onRemoteAck','RangeProtectionRuleModel','&assign=','session.room-permission-denied','getSheetBlock','JOIN_ROOM_PERMISSION_DENIED','onTransformSelections','updateMember','UNIVER_UNKNOWN','INTERNAL_ERROR','DocCollaborationEntity','memberID','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','error','AwaitingWithPendingState','_entityInit$','_onUserLeave','workbook','unknown','onload','RevisionService','[PendingState]:\x20received\x20acknowledgement.','ConflictState','1100517iyRDlj','UniverNetworkPlugin','take','encrypt','changesets','connection\x20error','addImageSourceCache','close$','NOT_FOUND','_doReset','filter','prototype','CHANGESET_REVISION_CONFILICT','getCurrentRevOfUnit','LOGIN_URL_KEY','_isPermissionRej','runId','_onRemoteRejected','body','SNAPSHOT_INVALID_SNAPSHOT','unsubscribe','[FetchMissState]','apply','LIVESHARE_OPERATION','/-/object/list','HmacMD5','Cipher','conflict','IImageIoService','clamp','Hasher','&to=','_getSendChangesetTimeout','_data','socket\x20close','execute','get','collaboration_new_changeset','univer-pro.collaboration-client.single-active-unit-service','ILogService','_type','_registerDependencies','_commandService','_reverseMap','saveChangeset','FileId','getConfig','CommandType','SyncedState','[PendingState]:\x20received\x20rejection.','BlockCipherMode','onCommentUpdate','_substituteUndoStack','getMemberID','ERROR_IMAGE','SYNCED','decrypt','sessionStatus$','originalMeta','_xformMode','_commentUpdate$','_hash','POST','padding','CompressMutationService','status','_startCollaboration','socketService','send','YUUMI_UNABLE_LOAD_URL','_applyRemoteChangeset','_roomMembers','hasher','__Key__','slice','/universer-api/authz','_decreaseWaiting','_replaceFileID','getCollabEntity$','_toggleOffline','incrementRevOfUnit','sheets','_changesetSessionId','open$','getAllRangePermissionPoint','_state','_updateState','MergeInterceptorFactory','action','SheetCollaborationEntity','mixIn','delete','loginUrlKey','unitId','\x20-\x20','transformChangesets','getCurrentSelections','_tryEnsureSocket','_keyPriorReset','[DataLoaderService]','HEARTBEAT','_throwTelemetryCollaborationNewChangeset','then','join','COMPRESS_MUTATION_APPLY','Optional','getCollabEntity','NEW_CHANGESETS','readInt32LE','_changesetReqId','_onRemoteChangeset','result','8snqOAZ','params','_collaborationUIEventService','ERROR_EXCEED_SIZE','objectType','LocaleService','_initMergeInterceptor','YUUMI_RATE_OVER_LIMIT','origin','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','push','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_shouldReportTelemetry','CommentService','mode','LEAVE','_onLocalMutation','randomBytes','_revisionService','PENDING','_waitForHeartbeatResponse','UNIVER_DOC','values','ISingleActiveUnitService','CipherParams','commentUpdate$','rev','CollaborationUIEventId','sigBytes','510OCBBta','IUndoRedoService','newCsEvent','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','defaultWorkbookPermissionPoints','loadUnit','href','Error\x20on\x20receiving\x20event','initWorkbookPermissionChange','_checkMissing','SerializableCipher','DataLoaderService','_getAPIPrefixPath','Workbook','pad','_sessions','_createHelper','splice','_doCryptBlock','SHA1','update','baseProtectionActions','MUTATION','awaiting','getUnitOnRev','fromCollab','_createSocket','_socket','FAIL','repeat','_undoStacks','@univerjs-pro/license','parse','_incrementRevisionNumber','HttpExport','putCollaborators','withCredentials','INetworkConditionService','AwaitingState','shareReplay','UniverInstanceType','_getUploadFileURL','getInterceptPoints','DisposableCollection','HEARTBEAT_TIMEOUT','IContextService','fetchMiss','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','\x20in\x20_schedule.','3xQAHls','UniverCollaborationClientPlugin','UNIVER_SHEET','_executeRemoteChangeset','_sendingTimer','_stopTelemetryCollaborationNewChangeset','Base64','interceptor','@univerjs-pro/collaboration','HTTPRequest','RETRY_CONNECTING_MAX_COUNT','SetSelectionsOperation','WorkbookEditablePermission','_onUserJoin','_syncEditingCollabCursor','getTypeOfUnitDisposed$','localCacheService','userID','defineProperty','reduce','_nRounds','_keySchedule','_unitInfo$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_sendHeartbeatTimer','_getUndoStack','_oKey','_handler','PendingState','JOIN_ROOM_FAILED','_hasher','_sheetTransformSelectionsService','__creator','_getAPIPrefix','/universer-api/stream/file/upload','hasOwnProperty','_emitMembers','_sessionStatus$','6456UanRqj','CHANGESET_SHOULD_RETRY','enc','UserManagerService','getOwnPropertyDescriptor','getWorkbookSelections','_transitionLocked','downloadEndpointUrl','pending','IDLE','format','SNAPSHOT_SERVER_URL_KEY','toggleOffline','liveShareOperation','APPLY_REVISION_CONFILICT','exports','{fileID}','loadDoc','Could\x20not\x20dynamically\x20require\x20\x22','_onConnectionOpen','_univerInstanceService','HEARTBEAT_TIMEOUT_KEY','updateCollaborator','event$','removeMember','readAsDataURL','_memberService','LIVESHARE_REQUEST_HOST','_unitID','CHANGESET_REJ','@univerjs/telemetry','_clearLocalCache','clear','onRemoteChangeset','registerHTTPInterceptor','updatePermissionObjEvent','_initRequestHeader','7130774uMJHXb','_map'];_0x506d=function(){return _0x1c3bb3;};return _0x506d();}var be={'exports':{}},an=be[_0x5e362b(0x3f0)],at;function cn(){var _0x4d7a9f=_0x5e362b;return at||(at=0x1,function(_0x3db959,_0x505238){(function(_0x14554f,_0x36dc67){var _0x4f3a4f=_0x2783;_0x3db959[_0x4f3a4f(0x3f0)]=_0x36dc67(ee());}(an,function(_0x3b679d){var _0x3d4117=_0x2783;return _0x3b679d['enc'][_0x3d4117(0x40b)];}));}(be)),be[_0x4d7a9f(0x3f0)];}var hn=cn();const ln=fe(hn);var Re={'exports':{}},_n=Re['exports'],ct;function un(){return ct||(ct=0x1,function(_0x69968d,_0xe69967){(function(_0x1fbe35,_0x2b95df){var _0x1f7050=_0x2783;_0x69968d[_0x1f7050(0x3f0)]=_0x2b95df(ee());}(_n,function(_0x108ddc){return(function(){var _0x229444=_0x2783;if(typeof ArrayBuffer=='function'){var _0x3f98c7=_0x108ddc,_0x341c18=_0x3f98c7[_0x229444(0x43e)],_0x266f32=_0x341c18['WordArray'],_0x11d011=_0x266f32[_0x229444(0x27f)],_0x4e2755=_0x266f32[_0x229444(0x27f)]=function(_0x137406){var _0x265ed1=_0x229444;if(_0x137406 instanceof ArrayBuffer&&(_0x137406=new Uint8Array(_0x137406)),(_0x137406 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x137406 instanceof Uint8ClampedArray||_0x137406 instanceof Int16Array||_0x137406 instanceof Uint16Array||_0x137406 instanceof Int32Array||_0x137406 instanceof Uint32Array||_0x137406 instanceof Float32Array||_0x137406 instanceof Float64Array)&&(_0x137406=new Uint8Array(_0x137406['buffer'],_0x137406['byteOffset'],_0x137406[_0x265ed1(0x244)])),_0x137406 instanceof Uint8Array){for(var _0x34c9b0=_0x137406[_0x265ed1(0x244)],_0x3bdda6=[],_0x5b601c=0x0;_0x5b601c<_0x34c9b0;_0x5b601c++)_0x3bdda6[_0x5b601c>>>0x2]|=_0x137406[_0x5b601c]<<0x18-_0x5b601c%0x4*0x8;_0x11d011[_0x265ed1(0x2a4)](this,_0x3bdda6,_0x34c9b0);}else _0x11d011[_0x265ed1(0x313)](this,arguments);};_0x4e2755[_0x229444(0x308)]=_0x266f32;}}()),_0x108ddc['lib']['WordArray'];}));}(Re)),Re['exports'];}var dn=un();const vn=fe(dn);var ye={'exports':{}},fn=ye[_0x5e362b(0x3f0)],ht;function Sn(){return ht||(ht=0x1,function(_0x366c5f,_0x587183){(function(_0x2b59fa,_0x1af264,_0xa169a9){var _0x55601b=_0x2783;_0x366c5f[_0x55601b(0x3f0)]=_0x1af264(ee(),wt());}(fn,function(_0x37aa0b){var _0x39f66e=_0x2783;return _0x37aa0b['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x37aa0b[_0x39f66e(0x398)]['NoPadding'];}));}(ye)),ye['exports'];}var pn=Sn();const gn=fe(pn);function mn(_0x5ed352,_0x315538){var _0x4c1e5c=_0x5e362b;const _0x231175=_0x315538-_0x5ed352[_0x4c1e5c(0x412)]%_0x315538,_0xab4111=String['fromCharCode'](_0x231175)[_0x4c1e5c(0x3a7)](_0x231175);return _0x5ed352+_0xab4111;}function In(_0x4b42a6,_0x59d118){var _0x1ad2d4=_0x5e362b;const _0x20d551=vn[_0x1ad2d4(0x10d)](0x10),_0x18dfd3=mn(_0x4b42a6,0x10),_0x339d39=sn['encrypt'](ln[_0x1ad2d4(0x3aa)](_0x18dfd3),ot[_0x1ad2d4(0x3aa)](_0x59d118),{'iv':_0x20d551,'padding':gn});return _0x20d551['concat'](_0x339d39[_0x1ad2d4(0x417)])[_0x1ad2d4(0x2b3)](ot);}function En(){var _0x3b1e1d=_0x5e362b;const _0x1d5db1=jt[_0x3b1e1d(0x408)]()[_0x3b1e1d(0x346)];if(_0x1d5db1){const _0x2f844e={'time':Math[_0x3b1e1d(0x1d5)](Date[_0x3b1e1d(0x492)]()/0x3e8),'domain':location['hostname']};return In(JSON[_0x3b1e1d(0x102)](_0x2f844e),_0x1d5db1);}}var Cn=Object[_0x5e362b(0x3cd)],Tn=Object[_0x5e362b(0x3e5)],bn=(_0x468f82,_0x187fa4,_0x1eee2a,_0x49f84e)=>{var _0x59f038=_0x5e362b;for(var _0x237f4a=_0x49f84e>0x1?void 0x0:_0x49f84e?Tn(_0x187fa4,_0x1eee2a):_0x187fa4,_0x5916d5=_0x468f82[_0x59f038(0x412)]-0x1,_0x3c1c44;_0x5916d5>=0x0;_0x5916d5--)(_0x3c1c44=_0x468f82[_0x5916d5])&&(_0x237f4a=(_0x49f84e?_0x3c1c44(_0x187fa4,_0x1eee2a,_0x237f4a):_0x3c1c44(_0x237f4a))||_0x237f4a);return _0x49f84e&&_0x237f4a&&Cn(_0x187fa4,_0x1eee2a,_0x237f4a),_0x237f4a;},Rn=(_0x5af3d8,_0x88e42b)=>(_0xab5997,_0x50b810)=>_0x88e42b(_0xab5997,_0x50b810,_0x5af3d8);let Pe=class{constructor(_0x688075){var _0xe51112=_0x5e362b;this['_httpService']=_0x688075,this[_0xe51112(0x405)]();}[_0x5e362b(0x405)](){var _0x368967=_0x5e362b;this[_0x368967(0x140)]['registerHTTPInterceptor']({'interceptor':(_0x574eb1,_0x27d379)=>{var _0xa6d5ba=_0x368967;const _0x38acbe=_0x574eb1[_0xa6d5ba(0x158)],_0x27c142=En();return _0x27c142&&_0x38acbe[_0xa6d5ba(0x1dd)](_0xa6d5ba(0x25d),_0x27c142),_0x27d379(_0x574eb1);}});}};Pe=bn([Rn(0x0,a[_0x5e362b(0x2b5)](z['HTTPService']))],Pe);var yn=Object[_0x5e362b(0x3cd)],On=Object[_0x5e362b(0x3e5)],Pn=(_0xe52dfc,_0x3020d8,_0x5e8dac,_0x24d8dc)=>{var _0x4c4fae=_0x5e362b;for(var _0x12bc4f=_0x24d8dc>0x1?void 0x0:_0x24d8dc?On(_0x3020d8,_0x5e8dac):_0x3020d8,_0x1f3ad0=_0xe52dfc[_0x4c4fae(0x412)]-0x1,_0xde9aa5;_0x1f3ad0>=0x0;_0x1f3ad0--)(_0xde9aa5=_0xe52dfc[_0x1f3ad0])&&(_0x12bc4f=(_0x24d8dc?_0xde9aa5(_0x3020d8,_0x5e8dac,_0x12bc4f):_0xde9aa5(_0x12bc4f))||_0x12bc4f);return _0x24d8dc&&_0x12bc4f&&yn(_0x3020d8,_0x5e8dac,_0x12bc4f),_0x12bc4f;},Me=(_0x5d073c,_0x5aa676)=>(_0x2d8b3f,_0x58150b)=>_0x5aa676(_0x2d8b3f,_0x58150b,_0x5d073c);exports[_0x5e362b(0x395)]=class extends a[_0x5e362b(0x2d7)]{constructor(_0x4f342b,_0x1930d1,_0x4fcaa1){var _0x4fb891=_0x5e362b;super(),D(this,_0x4fb891(0x3d1),new H['BehaviorSubject'](null)),D(this,_0x4fb891(0x11e),this['_unitInfo$'][_0x4fb891(0x1ea)]()),(this[_0x4fb891(0x191)]=_0x4f342b,this[_0x4fb891(0x15f)]=_0x1930d1,this[_0x4fb891(0x2a1)]=_0x4fcaa1);}async[_0x5e362b(0x38f)](_0x464874,_0x2bce61,_0x3bb0b7){var _0x561645=_0x5e362b;this[_0x561645(0x3d1)]['next']({'unitId':_0x464874,'type':_0x2bce61,'subUnitId':_0x3bb0b7});let _0x3a4d5e=null;switch(_0x2bce61){case Z['UNIVER_SHEET']:{_0x3a4d5e=await this[_0x561645(0x259)](_0x464874);break;}case Z[_0x561645(0x382)]:{_0x3a4d5e=await this[_0x561645(0x41a)](_0x464874);break;}default:{this[_0x561645(0x191)]['error'](_0x561645(0x360),_0x561645(0x38d));break;}}return _0x3a4d5e;}async[_0x5e362b(0x259)](_0x347f04){var _0x22fe8e=_0x5e362b,_0x43c617;let _0x56084f=0x0;const _0x51beed=await((_0x43c617=this[_0x22fe8e(0x2a1)])==null?void 0x0:_0x43c617[_0x22fe8e(0x26a)](_0x347f04));return _0x51beed&&(_0x51beed[_0x22fe8e(0x19a)]||_0x51beed[_0x22fe8e(0x19c)]['length']!==0x0)&&(_0x56084f=_0x51beed['rev']),_0x56084f===0x0&&this[_0x22fe8e(0x191)]['debug'](_0x22fe8e(0x360),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x22fe8e(0x287)](_0x347f04,_0x56084f);}async[_0x5e362b(0x41a)](_0x2f4b39){var _0x269e7b=_0x5e362b,_0x1651eb;let _0x3d344d=0x0;const _0x1234ba=await((_0x1651eb=this[_0x269e7b(0x2a1)])==null?void 0x0:_0x1651eb[_0x269e7b(0x26a)](_0x2f4b39));return _0x1234ba&&(_0x1234ba[_0x269e7b(0x19a)]||_0x1234ba['mutations']['length']!==0x0)&&(_0x3d344d=_0x1234ba[_0x269e7b(0x387)]),_0x3d344d===0x0&&this[_0x269e7b(0x191)][_0x269e7b(0x419)](_0x269e7b(0x360),_0x269e7b(0x2f2)),this[_0x269e7b(0x15f)][_0x269e7b(0x3f2)](_0x2f4b39,_0x3d344d);}},exports[_0x5e362b(0x395)]=Pn([Me(0x0,a['ILogService']),Me(0x1,a[_0x5e362b(0x2b5)](m[_0x5e362b(0x276)])),Me(0x2,a[_0x5e362b(0x366)](J))],exports[_0x5e362b(0x395)]);var Un=Object['defineProperty'],Nn=Object[_0x5e362b(0x3e5)],Dn=(_0x36ba80,_0x2def71,_0x1db34f,_0x4ec84c)=>{var _0x39a75c=_0x5e362b;for(var _0x310f3b=_0x4ec84c>0x1?void 0x0:_0x4ec84c?Nn(_0x2def71,_0x1db34f):_0x2def71,_0x298276=_0x36ba80[_0x39a75c(0x412)]-0x1,_0x465e22;_0x298276>=0x0;_0x298276--)(_0x465e22=_0x36ba80[_0x298276])&&(_0x310f3b=(_0x4ec84c?_0x465e22(_0x2def71,_0x1db34f,_0x310f3b):_0x465e22(_0x310f3b))||_0x310f3b);return _0x4ec84c&&_0x310f3b&&Un(_0x2def71,_0x1db34f,_0x310f3b),_0x310f3b;},xe=(_0x573029,_0x39ab4c)=>(_0x12b431,_0x32419e)=>_0x39ab4c(_0x12b431,_0x32419e,_0x573029);const wn=['image/png',_0x5e362b(0x1cf),_0x5e362b(0x1cb),_0x5e362b(0x40f),_0x5e362b(0x133)],An=0x5*0x400*0x400,Ln=_0x5e362b(0x157),Mn=_0x5e362b(0x3dd),xn=_0x5e362b(0x24b),jn=_0x5e362b(0x206);exports[_0x5e362b(0x436)]=class{constructor(_0x5a747f,_0x365e03,_0x4995b8){var _0x118d1c=_0x5e362b;D(this,_0x118d1c(0x2be),0x0),D(this,_0x118d1c(0x20f),new H['Subject']()),D(this,_0x118d1c(0x442),this[_0x118d1c(0x20f)]),D(this,_0x118d1c(0x150),new Map()),(this[_0x118d1c(0x140)]=_0x5a747f,this[_0x118d1c(0x2b4)]=_0x365e03,this[_0x118d1c(0x3f5)]=_0x4995b8);}[_0x5e362b(0x1a1)](_0x50018d){var _0x25775a=_0x5e362b;this[_0x25775a(0x2be)]=_0x50018d,this[_0x25775a(0x20f)][_0x25775a(0x137)](_0x50018d);}['getImageSourceCache'](_0x1a194c,_0x45d63a){var _0x128f77=_0x5e362b;if(_0x45d63a===X['ImageSourceType'][_0x128f77(0x226)]){const _0xa51f81=new Image();return _0xa51f81[_0x128f77(0x187)]=_0x1a194c,_0xa51f81;}return this[_0x128f77(0x150)]['get'](_0x1a194c);}[_0x5e362b(0x303)](_0x3e98b1,_0x2c519c,_0x4eaa4e){var _0x2d7c60=_0x5e362b;_0x2c519c===X['ImageSourceType'][_0x2d7c60(0x226)]||_0x4eaa4e==null||this[_0x2d7c60(0x150)][_0x2d7c60(0x1dd)](_0x3e98b1,_0x4eaa4e);}async[_0x5e362b(0x222)](_0x45a487){var _0x348221=_0x5e362b;try{const _0x3c813f=this[_0x348221(0x34a)](this['_getSignURL'](),''+_0x45a487),_0x5e7d36=(await this[_0x348221(0x140)][_0x348221(0x321)](_0x3c813f))[_0x348221(0x30f)];if(_0x5e7d36['error']&&_0x5e7d36['error'][_0x348221(0x28e)]===Ct['OK']){const _0x71dd51=new URL(_0x5e7d36[_0x348221(0x28d)],this[_0x348221(0x22f)]())[_0x348221(0x2b3)]();return Promise['resolve'](_0x71dd51);}return Promise[_0x348221(0x175)](_0x5e7d36[_0x348221(0x2f3)]);}catch(_0x6a420b){return Promise[_0x348221(0x175)](_0x6a420b);}}async[_0x5e362b(0x1ae)](_0x789d82){var _0x13a575=_0x5e362b;let _0x3b0c3b='';if(!wn[_0x13a575(0x1ca)](_0x789d82[_0x13a575(0x12e)]))return this['_decreaseWaiting'](),Promise[_0x13a575(0x175)](new Error(X[_0x13a575(0x13e)][_0x13a575(0x48b)]));if(_0x789d82['size']>An)return this[_0x13a575(0x349)](),Promise[_0x13a575(0x175)](new Error(X[_0x13a575(0x13e)][_0x13a575(0x370)]));try{const _0x14b1f2=new FormData();_0x14b1f2['append']('file',_0x789d82);const _0x38406d=this[_0x13a575(0x3f5)][_0x13a575(0x1d8)](),_0x4fe0ea=_0x38406d==null?void 0x0:_0x38406d[_0x13a575(0x1e6)]();if(!_0x4fe0ea)throw new Error('unitId\x20is\x20not\x20found');const _0x3d8524=this[_0x13a575(0x3b3)]()+_0x13a575(0x118)+_0x789d82[_0x13a575(0x458)][_0x13a575(0x2b3)]()+_0x13a575(0x233)+Tt['UnitEmbedded']+_0x13a575(0x2e8)+encodeURIComponent(_0x4fe0ea),_0x3b06cb=await(await fetch(_0x3d8524,{'method':'POST','body':_0x14b1f2}))[_0x13a575(0x1e9)]();if(typeof _0x3b06cb['FileId']!=_0x13a575(0x2d5))return this[_0x13a575(0x349)](),Promise['reject'](new Error(X[_0x13a575(0x13e)]['ERROR_IMAGE']));_0x3b0c3b=_0x3b06cb[_0x13a575(0x32a)];}catch{return this[_0x13a575(0x349)](),Promise[_0x13a575(0x175)](new Error(X[_0x13a575(0x13e)]['ERROR_IMAGE']));}return new Promise((_0x188444,_0x516d15)=>{var _0xfa0634=_0x13a575;const _0x507750=new FileReader();_0x507750[_0xfa0634(0x3fa)](_0x789d82),_0x507750[_0xfa0634(0x2f9)]=_0x403362=>{var _0x5e1718=_0xfa0634,_0x3c4459;const _0x2eeb0c=(_0x3c4459=_0x403362[_0x5e1718(0x2d6)])==null?void 0x0:_0x3c4459[_0x5e1718(0x36c)];if(_0x2eeb0c==null){this['_decreaseWaiting'](),_0x516d15(new Error(X[_0x5e1718(0x13e)][_0x5e1718(0x333)]));return;}const _0x3711bb=a[_0x5e1718(0x493)][_0x5e1718(0x1b7)](0x6);_0x188444({'imageId':_0x3711bb,'imageSourceType':X[_0x5e1718(0x205)]['UUID'],'source':_0x3b0c3b,'base64Cache':_0x2eeb0c,'status':X['ImageUploadStatusType'][_0x5e1718(0x477)]}),this['_decreaseWaiting']();};});}[_0x5e362b(0x3b3)](){var _0x25f4cb=_0x5e362b,_0x33894c,_0x39ae87;const _0x24f6c0=this[_0x25f4cb(0x2b4)][_0x25f4cb(0x32b)](Ln),_0x531310=this[_0x25f4cb(0x2b4)][_0x25f4cb(0x32b)](q);return(_0x39ae87=(_0x33894c=_0x531310==null?void 0x0:_0x531310[_0x25f4cb(0x482)])!=null?_0x33894c:_0x24f6c0)!=null?_0x39ae87:Mn;}['_getSignURL'](){var _0x17f27b=_0x5e362b,_0x214e0c,_0x3fa899;const _0x23cdad=this['_configService'][_0x17f27b(0x32b)](xn),_0x15bce4=this['_configService'][_0x17f27b(0x32b)](q);return(_0x3fa899=(_0x214e0c=_0x15bce4==null?void 0x0:_0x15bce4[_0x17f27b(0x12d)])!=null?_0x214e0c:_0x23cdad)!=null?_0x3fa899:jn;}['_getDownloadEndpointURL'](){var _0x2aa132=_0x5e362b,_0x1f482f;const _0x464f6b=this['_configService']['getConfig'](q);return(_0x1f482f=_0x464f6b==null?void 0x0:_0x464f6b[_0x2aa132(0x3e8)])!=null?_0x1f482f:location[_0x2aa132(0x375)];}[_0x5e362b(0x34a)](_0x5d9db4,_0x27079d){var _0x4a757a=_0x5e362b;return _0x5d9db4[_0x4a757a(0x27d)](_0x4a757a(0x3f1),_0x27079d);}[_0x5e362b(0x349)](){var _0x2e195f=_0x5e362b;this[_0x2e195f(0x2be)]-=0x1,this['_change$'][_0x2e195f(0x137)](this[_0x2e195f(0x2be)]);}},exports['CollaborationImageIoService']=Dn([xe(0x0,a[_0x5e362b(0x2b5)](z['HTTPService'])),xe(0x1,a[_0x5e362b(0x1ec)]),xe(0x2,a[_0x5e362b(0x2b5)](a['IUniverInstanceService']))],exports[_0x5e362b(0x436)]);var $n=Object[_0x5e362b(0x3cd)],Hn=Object['getOwnPropertyDescriptor'],kn=(_0x511008,_0xf275da,_0x113787,_0x36e117)=>{for(var _0x250c07=_0x36e117>0x1?void 0x0:_0x36e117?Hn(_0xf275da,_0x113787):_0xf275da,_0x21180c=_0x511008['length']-0x1,_0x54517e;_0x21180c>=0x0;_0x21180c--)(_0x54517e=_0x511008[_0x21180c])&&(_0x250c07=(_0x36e117?_0x54517e(_0xf275da,_0x113787,_0x250c07):_0x54517e(_0x250c07))||_0x250c07);return _0x36e117&&_0x250c07&&$n(_0xf275da,_0x113787,_0x250c07),_0x250c07;},lt=(_0x293bd1,_0x44a198)=>(_0x3af413,_0x7b79df)=>_0x44a198(_0x3af413,_0x7b79df,_0x293bd1);const Bn='/universer-api/authz';exports['MentionIoHttpService']=class{constructor(_0x107505,_0x3963dc){var _0x543acd=_0x5e362b;this[_0x543acd(0x2b4)]=_0x107505,this[_0x543acd(0x209)]=_0x3963dc;}[_0x5e362b(0x396)](){var _0x40b6e4=_0x5e362b,_0x1ae304,_0x5e2169;const _0x254e1a=this[_0x40b6e4(0x2b4)][_0x40b6e4(0x32b)](Ge),_0x54664d=this['_configService'][_0x40b6e4(0x32b)](q);return(_0x5e2169=(_0x1ae304=_0x54664d==null?void 0x0:_0x54664d[_0x40b6e4(0x1fa)])!=null?_0x1ae304:_0x254e1a)!=null?_0x5e2169:Bn;}async[_0x5e362b(0x1db)](_0x1eae63){var _0x5d34b4=_0x5e362b;const _0x5e605b=this[_0x5d34b4(0x396)]()+_0x5d34b4(0x159);return{'list':[{'title':_0x5d34b4(0x44a),'mentions':(await this[_0x5d34b4(0x209)][_0x5d34b4(0x321)](_0x5e605b,{'params':{'objectID':_0x1eae63['unitId'],'unitID':_0x1eae63[_0x5d34b4(0x35a)]}}))['body'][_0x5d34b4(0x220)]['map'](_0x2e7f65=>({'objectId':_0x2e7f65['id'],'name':_0x2e7f65[_0x5d34b4(0x1da)][_0x5d34b4(0x48f)],'metadata':{'icon':_0x2e7f65[_0x5d34b4(0x1da)][_0x5d34b4(0x449)]},'label':_0x2e7f65['subject'][_0x5d34b4(0x48f)],'objectType':a['MentionType'][_0x5d34b4(0x254)]})),'metadata':{},'type':a[_0x5d34b4(0x120)][_0x5d34b4(0x254)]}]};}},exports[_0x5e362b(0x2d4)]=kn([lt(0x0,a[_0x5e362b(0x2b5)](a['IConfigService'])),lt(0x1,a[_0x5e362b(0x2b5)](z[_0x5e362b(0x235)]))],exports['MentionIoHttpService']);var Fn=Object[_0x5e362b(0x3cd)],Wn=Object[_0x5e362b(0x3e5)],Vn=(_0x53d0d6,_0x35c794,_0x318ff9,_0x1a8440)=>{var _0x599610=_0x5e362b;for(var _0x2961bd=_0x1a8440>0x1?void 0x0:_0x1a8440?Wn(_0x35c794,_0x318ff9):_0x35c794,_0x55e483=_0x53d0d6[_0x599610(0x412)]-0x1,_0x14f828;_0x55e483>=0x0;_0x55e483--)(_0x14f828=_0x53d0d6[_0x55e483])&&(_0x2961bd=(_0x1a8440?_0x14f828(_0x35c794,_0x318ff9,_0x2961bd):_0x14f828(_0x2961bd))||_0x2961bd);return _0x1a8440&&_0x2961bd&&Fn(_0x35c794,_0x318ff9,_0x2961bd),_0x2961bd;},ce=(_0x39f661,_0x1ba217)=>(_0xe136ad,_0x4a6eca)=>_0x1ba217(_0xe136ad,_0x4a6eca,_0x39f661);let Ue=class extends a['RxDisposable']{constructor(_0x5d1001,_0x5f1fef,_0x585f7a,_0x528901,_0x1876ea,_0x3ea03e,_0x4435ca){var _0x32a0ff=_0x5e362b;super(),this[_0x32a0ff(0x176)]=_0x5d1001,this['_univerInstanceService']=_0x5f1fef,this['_permissionService']=_0x585f7a,this[_0x32a0ff(0x22d)]=_0x528901,this['_collaborationUIEventService']=_0x1876ea,this[_0x32a0ff(0x470)]=_0x3ea03e,this[_0x32a0ff(0x281)]=_0x4435ca,this['_initUnitPermissionChange'](),this[_0x32a0ff(0x23d)]();}[_0x5e362b(0x23d)](){var _0x196652=_0x5e362b;const _0x1c3580=async _0x5b7391=>{var _0x16fe24=_0x2783;(await this[_0x16fe24(0x22d)][_0x16fe24(0x162)](_0x5b7391))['event$']['pipe'](V[_0x16fe24(0x307)](_0x55ef79=>_0x55ef79[_0x16fe24(0x172)]===m[_0x16fe24(0x1c6)][_0x16fe24(0x1c7)]),V[_0x16fe24(0x447)](this['dispose$']))[_0x16fe24(0x476)](_0x56266a=>{var _0x219541=_0x16fe24;const _0x1f3252=_0x56266a,{reason:_0x148455}=_0x1f3252['data'];this[_0x219541(0x36f)][_0x219541(0x1f3)]({'id':Q['CLOSE_ROOM'],'data':_0x148455}),this[_0x219541(0x2bf)]['updatePermissionPoint'](new W['WorkbookEditablePermission'](_0x5b7391)['id'],!0x1),this[_0x219541(0x22d)][_0x219541(0x495)](_0x5b7391);});};H[_0x196652(0x29e)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x196652(0x3b2)][_0x196652(0x3bd)]),this[_0x196652(0x3f5)][_0x196652(0x24e)](a[_0x196652(0x3b2)][_0x196652(0x382)]))[_0x196652(0x1cd)](V['map'](_0x1d148b=>_0x1d148b[_0x196652(0x1e6)]()),V['filter'](_0x503837=>!a['isInternalEditorID'](_0x503837)),V[_0x196652(0x447)](this[_0x196652(0x15b)]))[_0x196652(0x476)](_0x2f4aab=>{_0x1c3580(_0x2f4aab);});}[_0x5e362b(0x28b)](){var _0x2845c4=_0x5e362b;const _0x2a503a=async _0x185584=>{var _0x2ca9a1=_0x2783;(await this[_0x2ca9a1(0x22d)]['requireSession'](_0x185584))[_0x2ca9a1(0x3f8)][_0x2ca9a1(0x1cd)](V['filter'](_0x56e4a0=>_0x56e4a0['eventID']===m[_0x2ca9a1(0x1c6)][_0x2ca9a1(0x420)]),V['takeUntil'](this[_0x2ca9a1(0x15b)]))[_0x2ca9a1(0x476)](_0x57d988=>{var _0x33162c=_0x2ca9a1;const _0x30c9b2=_0x57d988,{objectId:_0x14d378}=_0x30c9b2['data'];_0x14d378===_0x185584?this[_0x33162c(0x392)](_0x185584):this['refreshPermission'](_0x185584,_0x14d378);});};H[_0x2845c4(0x29e)](this[_0x2845c4(0x3f5)]['getTypeOfUnitAdded$'](a[_0x2845c4(0x3b2)][_0x2845c4(0x3bd)]),this[_0x2845c4(0x3f5)][_0x2845c4(0x24e)](a[_0x2845c4(0x3b2)][_0x2845c4(0x382)]))[_0x2845c4(0x1cd)](V[_0x2845c4(0x47f)](_0x3040d0=>_0x3040d0['getUnitId']()),V[_0x2845c4(0x307)](_0x376539=>!a[_0x2845c4(0x485)](_0x376539)),V['takeUntil'](this[_0x2845c4(0x15b)]))[_0x2845c4(0x476)](_0x4d9ce9=>{_0x2a503a(_0x4d9ce9);});}async[_0x5e362b(0x392)](_0x43fe8a){var _0x3006a1=_0x5e362b,_0xa2898b;const _0x2245d6=_0x43fe8a||((_0xa2898b=this['_univerInstanceService'][_0x3006a1(0x268)](a[_0x3006a1(0x3b2)]['UNIVER_SHEET']))==null?void 0x0:_0xa2898b[_0x3006a1(0x1e6)]());_0x2245d6&&this[_0x3006a1(0x470)][_0x3006a1(0x294)]({'objectID':_0x2245d6,'objectType':W[_0x3006a1(0x1e4)][_0x3006a1(0x397)],'unitID':_0x2245d6,'actions':W[_0x3006a1(0x38e)]})['then'](_0x4ce0b8=>{W['getAllWorkbookPermissionPoint']()['forEach'](_0x292476=>{var _0x3b369f=_0x2783;const _0x425e81=new _0x292476(_0x2245d6),_0x20e655=_0x425e81[_0x3b369f(0x1d9)],_0x165dc3=_0x4ce0b8['find'](_0x38cb3e=>_0x38cb3e[_0x3b369f(0x355)]===_0x20e655);_0x165dc3&&this[_0x3b369f(0x2bf)][_0x3b369f(0x496)](_0x425e81['id'],_0x165dc3[_0x3b369f(0x294)]);});});}[_0x5e362b(0x432)](_0x126aa2,_0x5b531d){var _0xf99e73=_0x5e362b;const _0x25583d=this['_injector']['get'](W[_0xf99e73(0x437)]),_0x3c21b1=_0x25583d['getTargetByPermissionId'](_0x126aa2,_0x5b531d);let _0x18edb0=!0x1;if(_0x3c21b1){const [_0x4b00a7,_0x25a821]=_0x3c21b1;this[_0xf99e73(0x470)][_0xf99e73(0x294)]({'objectID':_0x5b531d,'unitID':_0x126aa2,'objectType':W[_0xf99e73(0x1e4)][_0xf99e73(0x239)],'actions':W[_0xf99e73(0x39f)]})[_0xf99e73(0x363)](_0x4ac8c3=>{var _0x8eeb7b=_0xf99e73;let _0x34058d='';W['getAllWorksheetPermissionPoint']()['forEach'](_0x4bba3d=>{var _0x2f31fa=_0x2783,_0x4e19a7;const _0xc3c697=new _0x4bba3d(_0x126aa2,_0x25a821),_0x29e9ec=_0xc3c697[_0x2f31fa(0x1d9)],_0x376f6e=_0x4ac8c3[_0x2f31fa(0x131)](_0x439c8f=>_0x439c8f[_0x2f31fa(0x355)]===_0x29e9ec);_0x376f6e&&(((_0x4e19a7=this[_0x2f31fa(0x2bf)]['getPermissionPoint'](_0xc3c697['id']))==null?void 0x0:_0x4e19a7[_0x2f31fa(0x285)])!==_0x376f6e['allowed']&&(_0x18edb0=!0x0),this[_0x2f31fa(0x2bf)][_0x2f31fa(0x496)](_0xc3c697['id'],_0x376f6e[_0x2f31fa(0x294)]),_0x34058d+=_0x376f6e[_0x2f31fa(0x355)]+'_'+_0x376f6e[_0x2f31fa(0x294)]);}),_0x25583d[_0x8eeb7b(0x197)](_0x5b531d+'_'+_0x34058d),_0x18edb0&&this[_0x8eeb7b(0x281)][_0x8eeb7b(0x2d2)](_0x126aa2);});}const _0x5ce3d7=this[_0xf99e73(0x176)][_0xf99e73(0x321)](W[_0xf99e73(0x2ab)])[_0xf99e73(0x240)](_0x126aa2,_0x5b531d);if(_0x5ce3d7){const [_0x35e857,_0x45e87d]=_0x5ce3d7;this[_0xf99e73(0x470)]['allowed']({'objectID':_0x5b531d,'unitID':_0x126aa2,'objectType':W['UnitObject'][_0xf99e73(0x239)],'actions':W[_0xf99e73(0x17d)]})[_0xf99e73(0x363)](_0x5ca1b9=>{var _0x4a8058=_0xf99e73;W['getAllWorksheetPermissionPointByPointPanel']()[_0x4a8058(0x129)](_0x16d490=>{var _0x22f04c=_0x4a8058,_0x5baea5;const _0x510ec9=new _0x16d490(_0x126aa2,_0x45e87d),_0xf3657c=_0x510ec9['subType'],_0x46eac0=_0x5ca1b9['find'](_0x235a1a=>_0x235a1a[_0x22f04c(0x355)]===_0xf3657c);_0x46eac0&&(((_0x5baea5=this[_0x22f04c(0x2bf)][_0x22f04c(0x165)](_0x510ec9['id']))==null?void 0x0:_0x5baea5['value'])!==_0x46eac0[_0x22f04c(0x294)]&&(_0x18edb0=!0x0),this[_0x22f04c(0x2bf)][_0x22f04c(0x496)](_0x510ec9['id'],_0x46eac0[_0x22f04c(0x294)]));}),_0x18edb0&&this[_0x4a8058(0x281)][_0x4a8058(0x2d2)](_0x126aa2);});}const _0x37fee1=this[_0xf99e73(0x176)][_0xf99e73(0x321)](W[_0xf99e73(0x2e7)]),_0x8fcab5=_0x37fee1[_0xf99e73(0x240)](_0x126aa2,_0x5b531d);if(_0x8fcab5){const [_0x143965,_0x1a0ae5]=_0x8fcab5;this[_0xf99e73(0x470)][_0xf99e73(0x294)]({'objectID':_0x5b531d,'unitID':_0x126aa2,'objectType':W['UnitObject'][_0xf99e73(0x1ed)],'actions':W[_0xf99e73(0x39f)]})[_0xf99e73(0x363)](_0x22658e=>{var _0x4069fa=_0xf99e73;let _0x5860a2='';W[_0x4069fa(0x351)]()[_0x4069fa(0x129)](_0xbc0957=>{var _0x2c1702=_0x4069fa,_0x143afe;const _0x344b97=new _0xbc0957(_0x126aa2,_0x1a0ae5,_0x5b531d),_0x17f35b=_0x344b97['subType'],_0x44be2d=_0x22658e[_0x2c1702(0x131)](_0x42232a=>_0x42232a[_0x2c1702(0x355)]===_0x17f35b);_0x44be2d&&(((_0x143afe=this[_0x2c1702(0x2bf)][_0x2c1702(0x165)](_0x344b97['id']))==null?void 0x0:_0x143afe[_0x2c1702(0x285)])!==_0x44be2d['allowed']&&(_0x18edb0=!0x0),this[_0x2c1702(0x2bf)][_0x2c1702(0x496)](_0x344b97['id'],_0x44be2d[_0x2c1702(0x294)]),_0x5860a2+=_0x44be2d[_0x2c1702(0x355)]+'_'+_0x44be2d[_0x2c1702(0x294)]);}),_0x37fee1['ruleRefresh'](_0x5b531d+'_'+_0x5860a2),_0x18edb0&&this[_0x4069fa(0x281)]['clearUndoRedo'](_0x126aa2);});}}};Ue=Vn([ce(0x0,a['Inject'](a[_0x5e362b(0x428)])),ce(0x1,a['IUniverInstanceService']),ce(0x2,a['IPermissionService']),ce(0x3,a[_0x5e362b(0x2b5)](exports['CollaborationSessionService'])),ce(0x4,a[_0x5e362b(0x2b5)](te)),ce(0x5,a[_0x5e362b(0x44c)]),ce(0x6,a[_0x5e362b(0x38b)])],Ue);var Gn=Object[_0x5e362b(0x3cd)],Kn=Object['getOwnPropertyDescriptor'],Yn=(_0x4980d2,_0x37c19f,_0xa468c4,_0x5bc77b)=>{for(var _0x25fe15=_0x5bc77b>0x1?void 0x0:_0x5bc77b?Kn(_0x37c19f,_0xa468c4):_0x37c19f,_0x3a445e=_0x4980d2['length']-0x1,_0x5206dd;_0x3a445e>=0x0;_0x3a445e--)(_0x5206dd=_0x4980d2[_0x3a445e])&&(_0x25fe15=(_0x5bc77b?_0x5206dd(_0x37c19f,_0xa468c4,_0x25fe15):_0x5206dd(_0x25fe15))||_0x25fe15);return _0x5bc77b&&_0x25fe15&&Gn(_0x37c19f,_0xa468c4,_0x25fe15),_0x25fe15;},_t=(_0x2718c1,_0x3f933e)=>(_0x4240ba,_0x1a1c48)=>_0x3f933e(_0x4240ba,_0x1a1c48,_0x2718c1);exports[_0x5e362b(0x2cc)]=class{constructor(_0x21d728,_0x1e04ad){var _0x25243c=_0x5e362b;this[_0x25243c(0x2b4)]=_0x21d728,this[_0x25243c(0x140)]=_0x1e04ad;}async[_0x5e362b(0x3a2)](_0x2678dc,_0xce2257){var _0x468fa8=_0x5e362b,_0x49f127;const {unitID:_0x15bcc8,type:_0x3e7dc0,revision:_0x218b7f=0x0}=_0xce2257,_0x5b1088=this[_0x468fa8(0x280)]()+'/'+_0x3e7dc0+_0x468fa8(0x22b)+_0x15bcc8+'/rev/'+_0x218b7f,_0x43cf22=(await this['_httpService'][_0x468fa8(0x321)](_0x5b1088))[_0x468fa8(0x30f)],_0x5459ec=(_0x49f127=_0x43cf22['snapshot'])==null?void 0x0:_0x49f127[_0x468fa8(0x2f7)];if(_0x5459ec){const _0x2dffa8=_0x5459ec==null?void 0x0:_0x5459ec[_0x468fa8(0x337)],_0x39b967=m[_0x468fa8(0x43f)]['encode'](m[_0x468fa8(0x288)](_0x2dffa8));_0x5459ec[_0x468fa8(0x337)]=_0x39b967,Object['entries'](_0x5459ec[_0x468fa8(0x34e)])[_0x468fa8(0x129)](([,_0x1edc47])=>{var _0x27e1fb=_0x468fa8;const _0x408c1b=_0x1edc47[_0x27e1fb(0x337)],_0x1cdfcb=m['textEncoder'][_0x27e1fb(0x2d1)](m[_0x27e1fb(0x288)](_0x408c1b));_0x1edc47['originalMeta']=_0x1cdfcb;});}return _0x43cf22;}async[_0x5e362b(0x2ea)](_0x1ea962,_0x5e0074){var _0x37bc47=_0x5e362b;const {unitID:_0x301528,type:_0x357005,blockID:_0x27444d}=_0x5e0074,_0x22672b=this[_0x37bc47(0x3dc)]()+'/'+_0x357005+_0x37bc47(0x22b)+_0x301528+_0x37bc47(0x18e)+_0x27444d;return(await this[_0x37bc47(0x140)][_0x37bc47(0x321)](_0x22672b))['body'];}async[_0x5e362b(0x43c)](_0x27dcd2,_0x47b278){var _0x1c1144=_0x5e362b;const {unitID:_0x3581a4,type:_0x16564c,blockID:_0xac7a5d}=_0x47b278,_0x308332=this['_getAPIPrefix']()+_0x1c1144(0x18e)+_0x16564c+'/unit/'+_0x3581a4+'/block/'+_0xac7a5d;return(await this[_0x1c1144(0x140)][_0x1c1144(0x321)](_0x308332))['body'];}async[_0x5e362b(0x409)](_0x448af3,_0x152e9d){var _0x5d32b7=_0x5e362b;const {unitID:_0x3c6934,type:_0x55286c,from:_0x1665ae,to:_0x2fe4ed}=_0x152e9d,_0x22efcb=this[_0x5d32b7(0x3dc)]()+'/'+_0x55286c+_0x5d32b7(0x22b)+_0x3c6934+_0x5d32b7(0x201)+_0x1665ae+_0x5d32b7(0x31c)+_0x2fe4ed;return(await this['_httpService'][_0x5d32b7(0x321)](_0x22efcb))[_0x5d32b7(0x30f)];}[_0x5e362b(0x280)](){var _0x51322a=_0x5e362b,_0x29e18e;return(_0x29e18e=this[_0x51322a(0x2b4)][_0x51322a(0x32b)](vt))!=null?_0x29e18e:this['_getAPIPrefix']();}[_0x5e362b(0x3dc)](){var _0x49e916=_0x5e362b,_0xc16769,_0x5c378d;const _0x2b8c8f=this[_0x49e916(0x2b4)]['getConfig'](dt),_0x48ad68=this[_0x49e916(0x2b4)][_0x49e916(0x32b)](q);return(_0x5c378d=(_0xc16769=_0x48ad68==null?void 0x0:_0x48ad68[_0x49e916(0x134)])!=null?_0xc16769:_0x2b8c8f)!=null?_0x5c378d:$t;}async[_0x5e362b(0x2e1)](_0x47f6e0,_0x285163){var _0x1006b3=_0x5e362b;const _0xba35aa=_0x1006b3(0x41b)+_0x285163[_0x1006b3(0x12e)]+_0x1006b3(0x22b)+_0x285163['unitID']+_0x1006b3(0x2b9);return(await this[_0x1006b3(0x140)][_0x1006b3(0x321)](_0xba35aa,{'params':{'resourceId':JSON[_0x1006b3(0x102)](_0x285163[_0x1006b3(0x249)])}}))[_0x1006b3(0x30f)];}[_0x5e362b(0x124)](){var _0x32159e=_0x5e362b;throw new Error(_0x32159e(0x488));}[_0x5e362b(0x103)](){var _0x51a04b=_0x5e362b;throw new Error(_0x51a04b(0x488));}[_0x5e362b(0x329)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5e362b(0x444)](){var _0x1559e2=_0x5e362b;throw new Error(_0x1559e2(0x488));}},exports[_0x5e362b(0x2cc)]=Yn([_t(0x0,a[_0x5e362b(0x1ec)]),_t(0x1,a['Inject'](z[_0x5e362b(0x235)]))],exports['SnapshotServerOverHTTPService']);var qn=Object['defineProperty'],zn=Object[_0x5e362b(0x3e5)],Jn=(_0xb551b8,_0x49a109,_0x3079c9,_0x4a5597)=>{var _0x4e2a4d=_0x5e362b;for(var _0x2f0825=_0x4a5597>0x1?void 0x0:_0x4a5597?zn(_0x49a109,_0x3079c9):_0x49a109,_0x4ba2bc=_0xb551b8[_0x4e2a4d(0x412)]-0x1,_0x52049d;_0x4ba2bc>=0x0;_0x4ba2bc--)(_0x52049d=_0xb551b8[_0x4ba2bc])&&(_0x2f0825=(_0x4a5597?_0x52049d(_0x49a109,_0x3079c9,_0x2f0825):_0x52049d(_0x2f0825))||_0x2f0825);return _0x4a5597&&_0x2f0825&&qn(_0x49a109,_0x3079c9,_0x2f0825),_0x2f0825;},de=(_0x3bbfae,_0x36946c)=>(_0x25f4e3,_0x1109d7)=>_0x36946c(_0x25f4e3,_0x1109d7,_0x3bbfae);exports[_0x5e362b(0x462)]=class extends a['LocalUndoRedoService']{constructor(_0x3bff32,_0x5c7a11,_0x191d4e,_0x1d4f9f,_0x298c50){var _0x466cd1=_0x5e362b;super(_0x3bff32,_0x5c7a11,_0x191d4e),this[_0x466cd1(0x27c)]=_0x1d4f9f,this['_logService']=_0x298c50;}[_0x5e362b(0x234)](_0x1c7b9a,_0x4fb0e6){var _0x49b0b3=_0x5e362b;const _0x561a64=this['_getUndoStack'](_0x1c7b9a);if(_0x561a64)try{const _0x47ef69=this[_0x49b0b3(0x2ae)](_0x561a64,_0x4fb0e6);this[_0x49b0b3(0x331)](_0x1c7b9a,_0x47ef69);}catch(_0x5d283a){this['_logService'][_0x49b0b3(0x2f3)](_0x49b0b3(0x2a5),_0x5d283a),this['_clearUndo'](_0x1c7b9a);}const _0xebc786=this[_0x49b0b3(0x1a8)](_0x1c7b9a);if(_0xebc786)try{const _0x3940e2=this[_0x49b0b3(0x2ae)](_0xebc786,_0x4fb0e6);this[_0x49b0b3(0x139)](_0x1c7b9a,_0x3940e2);}catch(_0x50fb20){this[_0x49b0b3(0x191)]['error'](_0x50fb20),this['_clearRedo'](_0x1c7b9a);}}[_0x5e362b(0x121)](_0x41e0a3){var _0x415d29=_0x5e362b;const _0x20e354=this[_0x415d29(0x3d4)](_0x41e0a3);_0x20e354&&(_0x20e354['length']=0x0,this[_0x415d29(0x2b0)]());}[_0x5e362b(0x145)](_0x2b2fcd){var _0x22939c=_0x5e362b;const _0x2ae0e8=this[_0x22939c(0x1a8)](_0x2b2fcd);_0x2ae0e8&&(_0x2ae0e8['length']=0x0,this[_0x22939c(0x2b0)]());}[_0x5e362b(0x331)](_0x4b108d,_0x53cbba){var _0x2796ff=_0x5e362b;this[_0x2796ff(0x3a8)][_0x2796ff(0x1dd)](_0x4b108d,_0x53cbba),this[_0x2796ff(0x2b0)]();}[_0x5e362b(0x139)](_0x28acb0,_0x38c8c5){var _0x2deed0=_0x5e362b;this[_0x2deed0(0x1dc)]['set'](_0x28acb0,_0x38c8c5),this[_0x2deed0(0x2b0)]();}['_transformStack'](_0x4b022f,_0x75b277){var _0x4e14af=_0x5e362b;const _0x37217a=[];let _0x34d080=_0x75b277,_0x54164a=_0x75b277;for(let _0x204c9a=_0x4b022f[_0x4e14af(0x412)]-0x1;_0x204c9a>=0x0;_0x204c9a--){const {unitID:_0x25a7e2,undoMutations:_0x4d184d,redoMutations:_0x5cd2ac}=_0x4b022f[_0x204c9a],_0x2ee3bd=this[_0x4e14af(0x27c)]['transformMutationsWithChangeset'](_0x34d080,_0x4d184d),_0x20386e=this[_0x4e14af(0x27c)][_0x4e14af(0x113)](_0x54164a,_0x5cd2ac);if(m[_0x4e14af(0x292)](_0x2ee3bd)||m[_0x4e14af(0x292)](_0x20386e)){this[_0x4e14af(0x191)][_0x4e14af(0x2f3)](_0x4e14af(0x2a5),'transformStack\x20failed!',_0x2ee3bd,_0x20386e);break;}_0x34d080=_0x2ee3bd[_0x4e14af(0x213)],_0x54164a=_0x20386e[_0x4e14af(0x213)],_0x37217a['push']({'unitID':_0x25a7e2,'undoMutations':_0x2ee3bd['m2Prime'],'redoMutations':_0x20386e[_0x4e14af(0x179)]});}return _0x37217a[_0x4e14af(0x1a6)]();}},exports[_0x5e362b(0x462)]=Jn([de(0x0,a[_0x5e362b(0x202)]),de(0x1,a[_0x5e362b(0x154)]),de(0x2,a[_0x5e362b(0x3b7)]),de(0x3,m[_0x5e362b(0x40a)]),de(0x4,a['ILogService'])],exports[_0x5e362b(0x462)]);var At=Object[_0x5e362b(0x3cd)],Xn=Object[_0x5e362b(0x3e5)],Zn=(_0xef8b94,_0x23afea,_0x1b975e)=>_0x23afea in _0xef8b94?At(_0xef8b94,_0x23afea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b975e}):_0xef8b94[_0x23afea]=_0x1b975e,Qn=(_0x4a4e25,_0x38b91a,_0x8b8da2,_0x10d2ba)=>{var _0x54e5ec=_0x5e362b;for(var _0x3a8327=_0x10d2ba>0x1?void 0x0:_0x10d2ba?Xn(_0x38b91a,_0x8b8da2):_0x38b91a,_0x29e969=_0x4a4e25[_0x54e5ec(0x412)]-0x1,_0x4f7900;_0x29e969>=0x0;_0x29e969--)(_0x4f7900=_0x4a4e25[_0x29e969])&&(_0x3a8327=(_0x10d2ba?_0x4f7900(_0x38b91a,_0x8b8da2,_0x3a8327):_0x4f7900(_0x3a8327))||_0x3a8327);return _0x10d2ba&&_0x3a8327&&At(_0x38b91a,_0x8b8da2,_0x3a8327),_0x3a8327;},je=(_0x5f5ac7,_0x199f09)=>(_0x2dd81f,_0x82dc4e)=>_0x199f09(_0x2dd81f,_0x82dc4e,_0x5f5ac7),er=(_0x27abce,_0x200ce1,_0x11045b)=>Zn(_0x27abce,_0x200ce1+'',_0x11045b);const tr=_0x5e362b(0x463);exports[_0x5e362b(0x3bc)]=class extends a[_0x5e362b(0x146)]{constructor(_0x37d760=zt,_0x50255b,_0xb579a5,_0x43798f){var _0x16e7f7=_0x5e362b;super(),this[_0x16e7f7(0x45e)]=_0x37d760,this['_logService']=_0x50255b,this[_0x16e7f7(0x176)]=_0xb579a5,this[_0x16e7f7(0x2b4)]=_0x43798f;const {..._0xd2781a}=this[_0x16e7f7(0x45e)];this[_0x16e7f7(0x2b4)]['setConfig'](q,_0xd2781a);}['onStarting'](){var _0x2c8466=_0x5e362b;this[_0x2c8466(0x326)](),this['_initDependencies']();}[_0x5e362b(0x326)](){var _0x534f2c=_0x5e362b,_0x2b065b,_0x235678,_0x70d14d,_0xfbfa69;this[_0x534f2c(0x176)][_0x534f2c(0x1bf)](a[_0x534f2c(0x38b)])&&this[_0x534f2c(0x191)][_0x534f2c(0x2f3)](_0x534f2c(0x16b),_0x534f2c(0x208));const _0x3fb1fa=a[_0x534f2c(0x203)]([[a[_0x534f2c(0x38b)],{'useClass':exports[_0x534f2c(0x462)]}],[exports['CollaborationSessionService']],[exports[_0x534f2c(0x14b)]],[exports[_0x534f2c(0x21a)]],[Oe],[Pe],[Be],[Ue],[te],[exports[_0x534f2c(0x395)]],[ke,{'useClass':(_0x235678=(_0x2b065b=this[_0x534f2c(0x45e)])==null?void 0x0:_0x2b065b[_0x534f2c(0x340)])!=null?_0x235678:exports['CollaborationSocketService']}],[m[_0x534f2c(0x2e4)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x534f2c(0x44c)],{'useClass':exports[_0x534f2c(0x15a)]}],[X[_0x534f2c(0x319)],{'useClass':exports[_0x534f2c(0x436)]}],[a['IMentionIOService'],{'useClass':exports[_0x534f2c(0x2d4)]}],[exports[_0x534f2c(0x14d)]],[$e]],(_0x70d14d=this[_0x534f2c(0x45e)])==null?void 0x0:_0x70d14d[_0x534f2c(0x1d0)]);if(!((_0xfbfa69=this[_0x534f2c(0x45e)])!=null&&_0xfbfa69[_0x534f2c(0x18d)])){const _0x5ed80d=_0x3fb1fa[_0x534f2c(0x1c1)](([_0x572d3a])=>_0x572d3a===ve);_0x5ed80d!==-0x1&&_0x3fb1fa[_0x534f2c(0x39b)](_0x5ed80d,0x1);}a[_0x534f2c(0x290)](this['_injector'],_0x3fb1fa);}[_0x5e362b(0x250)](){var _0x28cfbf=_0x5e362b,_0x231226,_0x7ccbab,_0x32bd1f;this[_0x28cfbf(0x176)]['get'](z['HTTPService'])[_0x28cfbf(0x403)]({'priority':0x14,'interceptor':z[_0x28cfbf(0x20d)]({'maxParallel':0x6})}),(_0x231226=this[_0x28cfbf(0x45e)])!=null&&_0x231226[_0x28cfbf(0x141)]||(_0x7ccbab=this[_0x28cfbf(0x176)][_0x28cfbf(0x321)](J,a[_0x28cfbf(0x207)][_0x28cfbf(0x443)]))==null||_0x7ccbab[_0x28cfbf(0x490)](),(_0x32bd1f=this['_config'])!=null&&_0x32bd1f[_0x28cfbf(0x41c)]&&a[_0x28cfbf(0x1c9)](this[_0x28cfbf(0x176)],[[Oe]]),a[_0x28cfbf(0x1c9)](this[_0x28cfbf(0x176)],[[Pe],[exports['CollaborationController']],[Ue]]);}},er(exports[_0x5e362b(0x3bc)],'pluginName',tr),exports[_0x5e362b(0x3bc)]=Qn([a[_0x5e362b(0x2b8)](m[_0x5e362b(0x21f)],W['UniverSheetsPlugin'],z[_0x5e362b(0x2fe)]),je(0x1,a[_0x5e362b(0x324)]),je(0x2,a[_0x5e362b(0x2b5)](a[_0x5e362b(0x428)])),je(0x3,a[_0x5e362b(0x1ec)])],exports['UniverCollaborationClientPlugin']),exports[_0x5e362b(0x12a)]=Ge,exports[_0x5e362b(0x155)]=q,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=It,exports[_0x5e362b(0x45a)]=ft,exports['CollaborationStatus']=We,exports[_0x5e362b(0x388)]=Q,exports[_0x5e362b(0x262)]=te,exports[_0x5e362b(0x37a)]=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=St,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports[_0x5e362b(0x3f6)]=He,exports[_0x5e362b(0x10a)]=ke,exports['ILocalCacheService']=J,exports[_0x5e362b(0x3af)]=bt,exports[_0x5e362b(0x384)]=ve,exports[_0x5e362b(0x1f6)]=Kt,exports['LOCAL_CACHE_INTERVAL_KEY']=Gt,exports['LOGIN_URL_KEY']=Et,exports[_0x5e362b(0x22a)]=mt,exports[_0x5e362b(0x14f)]=Ht,exports[_0x5e362b(0x3ec)]=dt,exports['SNAPSHOT_URL_KEY']=vt,exports[_0x5e362b(0x247)]=se,exports['UnitStatus']=Fe,exports['deserializeToCombResponse']=Rt,exports[_0x5e362b(0x12f)]=pi,exports[_0x5e362b(0x127)]=yt;
|