@univerjs-pro/collaboration-client 0.6.0-nightly.202502051606 → 0.6.0-nightly.202502071606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x1a8f07=_0x3fe4;(function(_0x268e99,_0x44e05e){var _0x4f628b=_0x3fe4,_0x2080aa=_0x268e99();while(!![]){try{var _0x2b2e28=-parseInt(_0x4f628b(0x181))/0x1*(-parseInt(_0x4f628b(0x1c1))/0x2)+-parseInt(_0x4f628b(0x33c))/0x3*(parseInt(_0x4f628b(0xcb))/0x4)+-parseInt(_0x4f628b(0x155))/0x5*(-parseInt(_0x4f628b(0x44c))/0x6)+parseInt(_0x4f628b(0x12d))/0x7*(-parseInt(_0x4f628b(0x2e9))/0x8)+-parseInt(_0x4f628b(0x19a))/0x9+parseInt(_0x4f628b(0x159))/0xa+-parseInt(_0x4f628b(0x3ca))/0xb*(-parseInt(_0x4f628b(0x36c))/0xc);if(_0x2b2e28===_0x44e05e)break;else _0x2080aa['push'](_0x2080aa['shift']());}catch(_0xa5dfad){_0x2080aa['push'](_0x2080aa['shift']());}}}(_0x172d,0xb8287));var Mt=Object[_0x1a8f07(0x3fe)],xt=(_0x2931e5,_0x251611,_0x4bf0ff)=>_0x251611 in _0x2931e5?Mt(_0x2931e5,_0x251611,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bf0ff}):_0x2931e5[_0x251611]=_0x4bf0ff,D=(_0x128a16,_0x594e1a,_0x412d6a)=>xt(_0x128a16,typeof _0x594e1a!=_0x1a8f07(0x2fd)?_0x594e1a+'':_0x594e1a,_0x412d6a);Object['defineProperty'](exports,Symbol[_0x1a8f07(0x101)],{'value':_0x1a8f07(0xc8)});const a=require(_0x1a8f07(0x102)),H=require(_0x1a8f07(0x1db)),W=require(_0x1a8f07(0x338)),q=require(_0x1a8f07(0x306)),m=require(_0x1a8f07(0x242)),jt=require(_0x1a8f07(0x396)),dt=require(_0x1a8f07(0x37c)),J=require(_0x1a8f07(0x3e7)),X=require(_0x1a8f07(0x261)),$t=require(_0x1a8f07(0x354)),vt=_0x1a8f07(0x14b),Ht=_0x1a8f07(0xe0),ft='SNAPSHOT_URL_KEY',kt=_0x1a8f07(0x1a1),Bt=0x7d0,St=_0x1a8f07(0xf7),pt=_0x1a8f07(0x3c7),Ft=_0x1a8f07(0x336),mt=_0x1a8f07(0x27e),Wt=0x7530,He=_0x1a8f07(0x22c),gt=0x4e20,Gt=0x4e20,It='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Kt=_0x1a8f07(0x3ac),Yt=0x3e8,Et=_0x1a8f07(0x162),qt=_0x1a8f07(0x1fe),Ct=_0x1a8f07(0x250),zt=_0x1a8f07(0x2ae),Jt=_0x1a8f07(0x374),Xt=_0x1a8f07(0x251);var Tt=(_0x30ab0b=>(_0x30ab0b[_0x30ab0b['UNDEFINED']=0x0]=_0x1a8f07(0x31a),_0x30ab0b[_0x30ab0b['OK']=0x1]='OK',_0x30ab0b[_0x30ab0b[_0x1a8f07(0x278)]=0x2]=_0x1a8f07(0x278),_0x30ab0b[_0x30ab0b[_0x1a8f07(0x246)]=0x3]='PERMISSION_DENIED',_0x30ab0b[_0x30ab0b[_0x1a8f07(0x458)]=0x4]=_0x1a8f07(0x458),_0x30ab0b[_0x30ab0b[_0x1a8f07(0x16d)]=0x5]=_0x1a8f07(0x16d),_0x30ab0b[_0x30ab0b[_0x1a8f07(0x271)]=0x6]=_0x1a8f07(0x271),_0x30ab0b[_0x30ab0b[_0x1a8f07(0x30b)]=0x7]=_0x1a8f07(0x30b),_0x30ab0b[_0x30ab0b[_0x1a8f07(0x17f)]=0x8]=_0x1a8f07(0x17f),_0x30ab0b[_0x30ab0b[_0x1a8f07(0x124)]=0x9]=_0x1a8f07(0x124),_0x30ab0b[_0x30ab0b['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1a8f07(0x1a0),_0x30ab0b[_0x30ab0b[_0x1a8f07(0x395)]=0x1771]=_0x1a8f07(0x395),_0x30ab0b[_0x30ab0b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1a8f07(0x45b),_0x30ab0b[_0x30ab0b['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1a8f07(0x209),_0x30ab0b[_0x30ab0b[_0x1a8f07(0x455)]=0x1b59]=_0x1a8f07(0x455),_0x30ab0b[_0x30ab0b['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1a8f07(0xf4),_0x30ab0b[_0x30ab0b[_0x1a8f07(0x13a)]=0x1b5b]=_0x1a8f07(0x13a),_0x30ab0b[_0x30ab0b[_0x1a8f07(0x292)]=0x1b5c]=_0x1a8f07(0x292),_0x30ab0b[_0x30ab0b['APPLY_DUPLICATED']=0x1b5d]=_0x1a8f07(0x2a9),_0x30ab0b[_0x30ab0b[_0x1a8f07(0xc9)]=0x1f41]=_0x1a8f07(0xc9),_0x30ab0b[_0x30ab0b[_0x1a8f07(0x362)]=0x2329]=_0x1a8f07(0x362),_0x30ab0b[_0x30ab0b[_0x1a8f07(0x111)]=0x232a]=_0x1a8f07(0x111),_0x30ab0b[_0x30ab0b[_0x1a8f07(0x20c)]=0x232b]=_0x1a8f07(0x20c),_0x30ab0b[_0x30ab0b[_0x1a8f07(0x253)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x30ab0b[_0x30ab0b[_0x1a8f07(0x1ae)]=0x232d]=_0x1a8f07(0x1ae),_0x30ab0b[_0x30ab0b[_0x1a8f07(0x3bd)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x30ab0b[_0x30ab0b[_0x1a8f07(0x1c8)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x30ab0b[_0x30ab0b['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1a8f07(0x2a1),_0x30ab0b[_0x30ab0b[_0x1a8f07(0x1bd)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x30ab0b[_0x30ab0b[_0x1a8f07(0x2fe)]=0x2af9]=_0x1a8f07(0x2fe),_0x30ab0b[_0x30ab0b[_0x1a8f07(0x21e)]=-0x1]=_0x1a8f07(0x21e),_0x30ab0b))(Tt||{}),Z=(_0x138f29=>(_0x138f29[_0x138f29[_0x1a8f07(0x2da)]=0x0]=_0x1a8f07(0x2da),_0x138f29[_0x138f29[_0x1a8f07(0x3b3)]=0x1]=_0x1a8f07(0x3b3),_0x138f29[_0x138f29[_0x1a8f07(0x154)]=0x2]=_0x1a8f07(0x154),_0x138f29[_0x138f29[_0x1a8f07(0x2a8)]=0x3]='UNIVER_SLIDE',_0x138f29[_0x138f29[_0x1a8f07(0x450)]=0x4]=_0x1a8f07(0x450),_0x138f29[_0x138f29[_0x1a8f07(0x21e)]=-0x1]=_0x1a8f07(0x21e),_0x138f29))(Z||{}),G=(_0x458f6a=>(_0x458f6a[_0x458f6a['UNKNOWN_CMD']=0x0]=_0x1a8f07(0x247),_0x458f6a[_0x458f6a['HELLO']=0x1]='HELLO',_0x458f6a[_0x458f6a[_0x1a8f07(0xef)]=0x2]='JOIN',_0x458f6a[_0x458f6a[_0x1a8f07(0x347)]=0x3]=_0x1a8f07(0x347),_0x458f6a[_0x458f6a['INGEST']=0x4]=_0x1a8f07(0xe9),_0x458f6a[_0x458f6a[_0x1a8f07(0x305)]=0x5]=_0x1a8f07(0x305),_0x458f6a[_0x458f6a[_0x1a8f07(0x3b9)]=0x6]=_0x1a8f07(0x3b9),_0x458f6a[_0x458f6a[_0x1a8f07(0x21e)]=-0x1]=_0x1a8f07(0x21e),_0x458f6a))(G||{}),he=(_0x25c3e1=>(_0x25c3e1[_0x25c3e1[_0x1a8f07(0x3e0)]=0x0]=_0x1a8f07(0x3e0),_0x25c3e1[_0x25c3e1['OK']=0x1]='OK',_0x25c3e1[_0x25c3e1[_0x1a8f07(0x131)]=0x2]='FAIL',_0x25c3e1[_0x25c3e1['JOIN_ROOM_FULL']=0x3e9]=_0x1a8f07(0x3a5),_0x25c3e1[_0x25c3e1[_0x1a8f07(0x186)]=0x3ea]=_0x1a8f07(0x186),_0x25c3e1[_0x25c3e1[_0x1a8f07(0xf3)]=0x3eb]=_0x1a8f07(0xf3),_0x25c3e1[_0x25c3e1[_0x1a8f07(0x19f)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x25c3e1[_0x25c3e1[_0x1a8f07(0x21e)]=-0x1]=_0x1a8f07(0x21e),_0x25c3e1))(he||{}),bt=(_0x1abab9=>(_0x1abab9[_0x1abab9[_0x1a8f07(0x293)]=0x0]=_0x1a8f07(0x293),_0x1abab9[_0x1abab9[_0x1a8f07(0x1d1)]=0x1]='HttpImport',_0x1abab9[_0x1abab9[_0x1a8f07(0x126)]=0x2]=_0x1a8f07(0x126),_0x1abab9[_0x1abab9[_0x1a8f07(0x438)]=0x3]='UnitEmbedded',_0x1abab9[_0x1abab9['UnitSnapshot']=0x4]=_0x1a8f07(0x426),_0x1abab9[_0x1abab9['UNRECOGNIZED']=-0x1]=_0x1a8f07(0x21e),_0x1abab9))(bt||{});const Y='collaboration-client.config',Ke={};var Q=(_0x24ee6e=>(_0x24ee6e[_0x1a8f07(0x2ec)]='OTHER_CLIENT_EDITING',_0x24ee6e[_0x1a8f07(0x246)]=_0x1a8f07(0x246),_0x24ee6e[_0x1a8f07(0xf0)]='CONFLICT',_0x24ee6e[_0x1a8f07(0x416)]=_0x1a8f07(0x416),_0x24ee6e[_0x1a8f07(0x202)]=_0x1a8f07(0x202),_0x24ee6e['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x24ee6e['SOCKET_FAILED']=_0x1a8f07(0xe3),_0x24ee6e[_0x1a8f07(0x407)]=_0x1a8f07(0x407),_0x24ee6e))(Q||{});class te{constructor(){var _0x1bc643=_0x1a8f07;D(this,'_event$',new H['Subject']()),D(this,_0x1bc643(0x135),this[_0x1bc643(0x3f8)][_0x1bc643(0x333)]());}['emitEvent'](_0x4a635e){var _0x2e6f37=_0x1a8f07;this[_0x2e6f37(0x3f8)][_0x2e6f37(0x171)](_0x4a635e);}}const Rt=a['createIdentifier'](_0x1a8f07(0x3e9));function Ot(_0x5958d8){var _0x5680d5=_0x1a8f07,_0x56a794,_0x1ebb07,_0x572880,_0x1dfe10,_0x2fe927;const _0x3da1e8=_0x5958d8[_0x5680d5(0x2de)],_0x186987=JSON['parse'](_0x3da1e8);switch(_0x186987[_0x5680d5(0x294)]){case G[_0x5680d5(0x305)]:case G['HELLO']:{const _0x4210fa=_0x186987[_0x5680d5(0x19b)];return{..._0x186987,'data':_0x4210fa,'cmd':_0x186987[_0x5680d5(0x294)]};}case G[_0x5680d5(0xef)]:{const _0x763cb0=_0x186987['joinRsp'];return{..._0x186987,'data':_0x763cb0,'cmd':_0x186987[_0x5680d5(0x294)]};}case G['RECV']:{const _0x2f6841=_0x186987['collaMsg'];switch(_0x2f6841[_0x5680d5(0x441)]){case m['CollaborationEvent'][_0x5680d5(0x1b6)]:return{..._0x186987,'data':{..._0x2f6841,'data':(_0x56a794=_0x2f6841[_0x5680d5(0x35b)])==null?void 0x0:_0x56a794['cs']},'cmd':_0x186987[_0x5680d5(0x294)]};case m[_0x5680d5(0x40f)]['CHANGESET_ACK']:return{..._0x186987,'data':{..._0x2f6841,'data':(_0x1ebb07=_0x2f6841[_0x5680d5(0x412)])==null?void 0x0:_0x1ebb07['cs']},'cmd':_0x186987[_0x5680d5(0x294)]};case m[_0x5680d5(0x40f)]['NEW_CHANGESETS']:return{..._0x186987,'data':{..._0x2f6841,'data':(_0x572880=_0x2f6841[_0x5680d5(0x112)])==null?void 0x0:_0x572880['cs']},'cmd':_0x186987[_0x5680d5(0x294)]};case m[_0x5680d5(0x40f)][_0x5680d5(0x13e)]:return{..._0x186987,'data':{..._0x2f6841,'data':(_0x1dfe10=_0x2f6841[_0x5680d5(0x351)])==null?void 0x0:_0x1dfe10['cs']},'cmd':_0x186987['cmd']};case m[_0x5680d5(0x40f)][_0x5680d5(0x2c8)]:return{..._0x186987,'data':{..._0x2f6841,'data':(_0x2fe927=_0x2f6841['csShouldRetryEvent'])==null?void 0x0:_0x2fe927['cs']},'cmd':_0x186987[_0x5680d5(0x294)]};case m[_0x5680d5(0x40f)][_0x5680d5(0x25a)]:return{..._0x186987,'data':{..._0x2f6841,'data':_0x2f6841[_0x5680d5(0x43a)]},'cmd':_0x186987[_0x5680d5(0x294)]};case m[_0x5680d5(0x40f)]['USERS_ENTER']:return{..._0x186987,'data':{..._0x2f6841,'data':_0x2f6841[_0x5680d5(0x200)]},'cmd':_0x186987['cmd']};case m[_0x5680d5(0x40f)][_0x5680d5(0x195)]:return{..._0x186987,'data':{..._0x2f6841,'data':_0x2f6841['leaveEvent']},'cmd':_0x186987[_0x5680d5(0x294)]};case m[_0x5680d5(0x40f)][_0x5680d5(0x3e4)]:return{..._0x186987,'data':{..._0x2f6841,'data':_0x2f6841[_0x5680d5(0x30d)]},'cmd':_0x186987['cmd']};case m['CollaborationEvent'][_0x5680d5(0x257)]:case m[_0x5680d5(0x40f)][_0x5680d5(0x35f)]:return{..._0x186987,'data':{..._0x2f6841,'data':_0x2f6841['liveShareOperation']},'cmd':_0x186987[_0x5680d5(0x294)]};case m[_0x5680d5(0x40f)][_0x5680d5(0x309)]:return{..._0x186987,'data':{..._0x2f6841,'data':_0x2f6841[_0x5680d5(0x30d)]},'cmd':_0x186987['cmd']};case m['CollaborationEvent'][_0x5680d5(0x303)]:return{..._0x186987,'data':_0x2f6841,'cmd':_0x186987[_0x5680d5(0x294)]};case m[_0x5680d5(0x40f)][_0x5680d5(0x25c)]:return{..._0x186987,'data':{..._0x2f6841,'data':_0x2f6841[_0x5680d5(0x422)]},'cmd':_0x186987[_0x5680d5(0x294)]};case m['CollaborationEvent'][_0x5680d5(0x182)]:return{..._0x186987,'data':{..._0x2f6841,'data':_0x2f6841[_0x5680d5(0x372)]},'cmd':_0x186987['cmd']};case m[_0x5680d5(0x40f)]['SHOULD_CLOSE_CONN']:return{..._0x186987,'data':{..._0x2f6841,'data':_0x2f6841[_0x5680d5(0x19e)]},'cmd':_0x186987[_0x5680d5(0x294)]};case m[_0x5680d5(0x40f)]['UNISCRIPT_RUN']:return{..._0x186987,'data':{..._0x2f6841,'data':_0x2f6841[_0x5680d5(0x222)]},'cmd':_0x186987[_0x5680d5(0x294)]};default:return _0x186987;}}default:return _0x186987;}}function yt(_0x26f2ef){var _0x3824a3=_0x1a8f07;switch(_0x26f2ef['cmd']){case G[_0x3824a3(0x305)]:case G[_0x3824a3(0x3de)]:return JSON['stringify']({'cmd':_0x26f2ef['cmd'],'routeKey':_0x26f2ef['routeKey']});case G[_0x3824a3(0xe9)]:{let _0x2e52b0;switch(_0x26f2ef[_0x3824a3(0x2de)][_0x3824a3(0x441)]){case m['CollaborationEvent'][_0x3824a3(0x25a)]:{_0x2e52b0={'eventID':m['CollaborationEvent'][_0x3824a3(0x25a)],'updateCursorEvent':_0x26f2ef['data'][_0x3824a3(0x2de)]};break;}case m[_0x3824a3(0x40f)][_0x3824a3(0x195)]:{_0x2e52b0={'eventID':m['CollaborationEvent'][_0x3824a3(0x195)],'leaveEvent':_0x26f2ef[_0x3824a3(0x2de)][_0x3824a3(0x2de)]};break;}case m[_0x3824a3(0x40f)][_0x3824a3(0x295)]:{_0x2e52b0={'eventID':m[_0x3824a3(0x40f)]['USERS_ENTER'],'joinEvent':_0x26f2ef['data'][_0x3824a3(0x2de)]};break;}case m['CollaborationEvent'][_0x3824a3(0x3e4)]:{_0x2e52b0={'eventID':m[_0x3824a3(0x40f)][_0x3824a3(0x3e4)],'liveShareNewHost':_0x26f2ef[_0x3824a3(0x2de)][_0x3824a3(0x2de)]};break;}case m[_0x3824a3(0x40f)]['LIVESHARE_OPERATION']:{_0x2e52b0={'eventID':m[_0x3824a3(0x40f)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x26f2ef[_0x3824a3(0x2de)]['data']};break;}case m[_0x3824a3(0x40f)][_0x3824a3(0x309)]:{_0x2e52b0={'eventID':m[_0x3824a3(0x40f)][_0x3824a3(0x309)],'liveShareTerminate':_0x26f2ef[_0x3824a3(0x2de)]['data']};break;}case m[_0x3824a3(0x40f)][_0x3824a3(0x137)]:{_0x2e52b0={'eventID':m[_0x3824a3(0x40f)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x26f2ef[_0x3824a3(0x2de)][_0x3824a3(0x2de)]};break;}case m[_0x3824a3(0x40f)]['LIVESHARE_FETCH_OPERATIONS']:{_0x2e52b0={'eventID':m[_0x3824a3(0x40f)][_0x3824a3(0x257)]};break;}default:_0x2e52b0={'eventID':_0x26f2ef[_0x3824a3(0x2de)][_0x3824a3(0x441)]};}return JSON[_0x3824a3(0x399)]({'cmd':_0x26f2ef[_0x3824a3(0x294)],'routeKey':_0x26f2ef[_0x3824a3(0x3d2)],'collaMsg':_0x2e52b0});}case G[_0x3824a3(0xef)]:return JSON[_0x3824a3(0x399)]({'cmd':_0x26f2ef[_0x3824a3(0x294)],'routeKey':_0x26f2ef[_0x3824a3(0x3d2)],'joinReq':_0x26f2ef[_0x3824a3(0x2de)]});case G[_0x3824a3(0x347)]:return JSON['stringify']({'cmd':_0x26f2ef[_0x3824a3(0x294)],'routeKey':_0x26f2ef[_0x3824a3(0x3d2)],'leaveReq':_0x26f2ef[_0x3824a3(0x2de)]});default:throw new Error(_0x3824a3(0x3fa));}}var Zt=Object[_0x1a8f07(0x3fe)],Qt=Object[_0x1a8f07(0x2ca)],en=(_0x344b89,_0x55051f,_0xbbad38,_0x5978ce)=>{var _0x1c9cb6=_0x1a8f07;for(var _0x551017=_0x5978ce>0x1?void 0x0:_0x5978ce?Qt(_0x55051f,_0xbbad38):_0x55051f,_0x55b081=_0x344b89[_0x1c9cb6(0x144)]-0x1,_0xffb9f8;_0x55b081>=0x0;_0x55b081--)(_0xffb9f8=_0x344b89[_0x55b081])&&(_0x551017=(_0x5978ce?_0xffb9f8(_0x55051f,_0xbbad38,_0x551017):_0xffb9f8(_0x551017))||_0x551017);return _0x5978ce&&_0x551017&&Zt(_0x55051f,_0xbbad38,_0x551017),_0x551017;},ue=(_0x49c638,_0x68475d)=>(_0x11caaa,_0x390298)=>_0x68475d(_0x11caaa,_0x390298,_0x49c638);const ke=a[_0x1a8f07(0x2d8)]('univer-pro.collaboration-client-socket-service');function tn(_0x41fc21,_0x4ccced,_0x2cf92d){var _0x3c0009=_0x1a8f07;return _0x41fc21+'/'+_0x4ccced+_0x3c0009(0x397)+_0x2cf92d+_0x3c0009(0x3f5);}exports[_0x1a8f07(0x1ab)]=class extends a[_0x1a8f07(0x2dc)]{constructor(_0x9f9b74,_0x1cce23,_0x5d1b14,_0x5e1c4b,_0x41db37){var _0x2bafc8=_0x1a8f07;super(),this['_injector']=_0x9f9b74,this[_0x2bafc8(0x432)]=_0x1cce23,this[_0x2bafc8(0x163)]=_0x5d1b14,this[_0x2bafc8(0x2c0)]=_0x5e1c4b,this[_0x2bafc8(0x1f8)]=_0x41db37;}[_0x1a8f07(0x380)](_0x3a1cc6){var _0x52b094=_0x1a8f07;const _0x145d8a=this[_0x52b094(0x3ee)][_0x52b094(0x197)](q[_0x52b094(0x24b)]);if(!_0x145d8a)throw new Error(_0x52b094(0x22e));const _0x2132c5=_0x145d8a[_0x52b094(0x380)](_0x3a1cc6);if(!_0x2132c5)throw new Error(_0x52b094(0x3ba));const _0x55c199=new a[(_0x52b094(0x2e4))](),_0x361dd6=new H[(_0x52b094(0x440))]();_0x55c199['add'](_0x2132c5[_0x52b094(0x23d)][_0x52b094(0x249)](_0x441962=>_0x361dd6[_0x52b094(0x171)](_0x441962))),_0x55c199[_0x52b094(0x446)](a[_0x52b094(0x1f9)](()=>_0x361dd6['complete']()));const _0x3752fd=new H[(_0x52b094(0x440))]();_0x55c199['add'](_0x2132c5['error$'][_0x52b094(0x249)](_0x288a84=>_0x3752fd['next'](_0x288a84))),_0x55c199['add'](a[_0x52b094(0x1f9)](()=>_0x3752fd[_0x52b094(0x402)]()));const _0x28dd83=new H['Subject']();_0x55c199['add'](_0x2132c5[_0x52b094(0x1cd)][_0x52b094(0x249)](_0x3ba5b1=>{var _0x30a220=_0x52b094;const _0x374cc2=Ot(_0x3ba5b1);_0x28dd83[_0x30a220(0x171)](_0x374cc2);})),_0x55c199[_0x52b094(0x446)](a[_0x52b094(0x1f9)](()=>_0x28dd83[_0x52b094(0x402)]()));let _0x345e08;const _0x1f92f7=()=>{var _0x312453=_0x52b094;_0x3752fd[_0x312453(0x171)](new Event(_0x312453(0x3cb))),_0x361dd6[_0x312453(0x171)](new CloseEvent(_0x312453(0x3cb))),_0x345e08[_0x312453(0x43b)]();};return _0x345e08={'memberID':'','close$':_0x361dd6[_0x52b094(0x333)](),'error$':_0x3752fd[_0x52b094(0x333)](),'open$':_0x2132c5[_0x52b094(0x3ed)],'message$':_0x28dd83['asObservable'](),'send':_0x50ba57=>{var _0x51be30=_0x52b094;if(_0x50ba57['cmd']===G['INGEST']){if(_0x50ba57[_0x51be30(0x2de)][_0x51be30(0x441)]===m[_0x51be30(0x40f)][_0x51be30(0x1f5)]){this['_submitChangeset'](_0x345e08,_0x50ba57[_0x51be30(0x2de)])[_0x51be30(0x128)](_0x19d2c4=>{var _0x38f050=_0x51be30;this['_logService'][_0x38f050(0x405)](_0x19d2c4),_0x1f92f7();});return;}if(_0x50ba57[_0x51be30(0x2de)][_0x51be30(0x441)]===m[_0x51be30(0x40f)][_0x51be30(0x445)]){const _0x252afc=_0x50ba57[_0x51be30(0x2de)];this[_0x51be30(0xd2)](_0x252afc)[_0x51be30(0x342)](_0x2f99f4=>{var _0xff51ce=_0x51be30;_0x28dd83[_0xff51ce(0x171)]({'cmd':G[_0xff51ce(0x3b9)],'code':he['OK'],'routeKey':_0x252afc[_0xff51ce(0x2de)][_0xff51ce(0x344)],'routeType':'','data':{'eventID':m[_0xff51ce(0x40f)][_0xff51ce(0xe6)],'data':{'changesets':_0x2f99f4}}});})[_0x51be30(0x128)](_0x4f8842=>{var _0x106d76=_0x51be30;this[_0x106d76(0x2c0)]['error'](_0x4f8842),_0x1f92f7();});return;}}_0x2132c5[_0x51be30(0x365)](yt(_0x50ba57));},'close':()=>{var _0x384fb2=_0x52b094;_0x2132c5[_0x384fb2(0x43b)](),_0x55c199[_0x384fb2(0xd6)]();}},_0x345e08;}async[_0x1a8f07(0x3d9)](_0x108150,_0x4de75f){var _0x1bba4f=_0x1a8f07,_0x448bfb,_0x9c2611;const {unitType:_0x315f78,unitID:_0x1507d9,changeset:_0x4510c8}=_0x4de75f[_0x1bba4f(0x2de)],_0x154b0e={'unitID':_0x1507d9,'memberID':_0x108150[_0x1bba4f(0x1d4)],'type':_0x315f78,'changeset':m[_0x1bba4f(0x368)](_0x4510c8)},_0x44cab4=this[_0x1bba4f(0x163)][_0x1bba4f(0x394)](Et),_0x158ac6=this[_0x1bba4f(0x163)][_0x1bba4f(0x394)](Y),_0x1e33ea=tn((_0x9c2611=(_0x448bfb=_0x158ac6==null?void 0x0:_0x158ac6[_0x1bba4f(0x3d7)])!=null?_0x448bfb:_0x44cab4)!=null?_0x9c2611:qt,_0x315f78,_0x1507d9);try{await this[_0x1bba4f(0x432)][_0x1bba4f(0xda)](_0x1e33ea,{'body':_0x154b0e});}catch(_0xe2a082){throw this['_logService'][_0x1bba4f(0x405)]('[CollaborationSession]',_0x1bba4f(0x14e)),_0xe2a082;}}async['_fetchMissChangesets'](_0x4e8d73){var _0x33cc76=_0x1a8f07;const {unitID:_0x633dbe,from:_0x11fafa,to:_0x479cdf,unitType:_0x5f5242}=_0x4e8d73[_0x33cc76(0x2de)];return(await this[_0x33cc76(0x1f8)][_0x33cc76(0x30c)]({'metadata':void 0x0},{'unitID':_0x633dbe,'type':_0x5f5242,'from':_0x11fafa,'to':_0x479cdf}))[_0x33cc76(0x1aa)];}},exports[_0x1a8f07(0x1ab)]=en([ue(0x0,a[_0x1a8f07(0x16f)](a[_0x1a8f07(0x324)])),ue(0x1,a[_0x1a8f07(0x16f)](q[_0x1a8f07(0x145)])),ue(0x2,a[_0x1a8f07(0x312)]),ue(0x3,a[_0x1a8f07(0x168)]),ue(0x4,m['ISnapshotServerService'])],exports[_0x1a8f07(0x1ab)]);const nn=_0x1a8f07(0x24d);function rn(_0x2272e9){var _0x2d3ddf=_0x1a8f07;return JSON[_0x2d3ddf(0x399)](_0x2272e9)[_0x2d3ddf(0x144)];}class Be{constructor(){var _0x102ac4=_0x1a8f07;D(this,_0x102ac4(0x3b1),new H['Subject']()),D(this,_0x102ac4(0x25b),this[_0x102ac4(0x3b1)]['asObservable']());}[_0x1a8f07(0x192)](_0x3fca3c){var _0x574b5a=_0x1a8f07;this[_0x574b5a(0x3b1)][_0x574b5a(0x171)](_0x3fca3c);}}var sn=Object[_0x1a8f07(0x3fe)],on=Object['getOwnPropertyDescriptor'],an=(_0x33c882,_0x544e63,_0x1855fb,_0x34e08a)=>{var _0x402f6c=_0x1a8f07;for(var _0x4738d6=_0x34e08a>0x1?void 0x0:_0x34e08a?on(_0x544e63,_0x1855fb):_0x544e63,_0x5dc185=_0x33c882[_0x402f6c(0x144)]-0x1,_0x5dad18;_0x5dc185>=0x0;_0x5dc185--)(_0x5dad18=_0x33c882[_0x5dc185])&&(_0x4738d6=(_0x34e08a?_0x5dad18(_0x544e63,_0x1855fb,_0x4738d6):_0x5dad18(_0x4738d6))||_0x4738d6);return _0x34e08a&&_0x4738d6&&sn(_0x544e63,_0x1855fb,_0x4738d6),_0x4738d6;},Ye=(_0x1f9f83,_0x241aa4)=>(_0x43f01a,_0x368f6a)=>_0x241aa4(_0x43f01a,_0x368f6a,_0x1f9f83);exports[_0x1a8f07(0x297)]=class extends a[_0x1a8f07(0x2dc)]{constructor(_0x33d3a4,_0x597212){var _0x5c793d=_0x1a8f07;super(),D(this,_0x5c793d(0x32c),new Map()),D(this,_0x5c793d(0x13d),new H[(_0x5c793d(0x440))]()),(this['_univerInstanceService']=_0x33d3a4,this[_0x5c793d(0x317)]=_0x597212,this[_0x5c793d(0x3d0)](H['merge'](this[_0x5c793d(0x339)][_0x5c793d(0x3dc)](a[_0x5c793d(0x3eb)][_0x5c793d(0x154)])[_0x5c793d(0x265)](W[_0x5c793d(0x290)](_0x5a3402=>_0x5a3402[_0x5c793d(0x1d7)]())),this[_0x5c793d(0x339)][_0x5c793d(0x3dc)](a[_0x5c793d(0x3eb)][_0x5c793d(0x3b3)])[_0x5c793d(0x265)](W[_0x5c793d(0x290)](_0x2b5629=>_0x2b5629[_0x5c793d(0x1d7)]())),this['_univerInstanceService'][_0x5c793d(0x3dc)](a[_0x5c793d(0x3eb)][_0x5c793d(0x2a8)])[_0x5c793d(0x265)](W['map'](_0x1bd176=>_0x1bd176['getUnitId']())))['subscribe'](_0x414101=>this[_0x5c793d(0x3fb)](_0x414101))));}[_0x1a8f07(0x17b)](_0x424742){var _0x1b11ba=_0x1a8f07;return this['_roomMembers'][_0x1b11ba(0x300)](_0x424742)?H['of'](this[_0x1b11ba(0x32c)][_0x1b11ba(0x197)](_0x424742)):this['_roomCreated$'][_0x1b11ba(0x265)](W[_0x1b11ba(0x290)](_0x23b68c=>{var _0x3d5992=_0x1b11ba;if(_0x23b68c===_0x424742)return this[_0x3d5992(0x32c)]['get'](_0x23b68c);}));}[_0x1a8f07(0x1ca)](_0x56b79c){var _0x4bafe7=_0x1a8f07;this['_userManagerService'][_0x4bafe7(0x1ca)](_0x56b79c);}[_0x1a8f07(0x129)](){var _0x47a110=_0x1a8f07;return this['_userManagerService'][_0x47a110(0x129)]();}[_0x1a8f07(0x2f1)](_0x56d405,_0xe07e5e){var _0xf5da80=_0x1a8f07;let _0x500172=this[_0xf5da80(0x32c)][_0xf5da80(0x197)](_0x56d405);_0x500172||(_0x500172=new cn(),this[_0xf5da80(0x32c)][_0xf5da80(0x1dc)](_0x56d405,_0x500172),this['_roomCreated$'][_0xf5da80(0x171)](_0x56d405)),_0x500172[_0xf5da80(0x2f1)](_0xe07e5e);}[_0x1a8f07(0x299)](_0x2c2c78,_0x86f59){var _0xfc2ad5=_0x1a8f07;const _0x5e4f77=this[_0xfc2ad5(0x32c)]['get'](_0x2c2c78);_0x5e4f77&&_0x5e4f77['removeMember'](_0x86f59);}[_0x1a8f07(0x141)](_0x41be31){var _0x4b2aef=_0x1a8f07;return this[_0x4b2aef(0x32c)]['get'](_0x41be31);}[_0x1a8f07(0xc4)](_0x140046,_0x2c380b){const _0x30cada=this['_roomMembers']['get'](_0x140046);if(_0x30cada)return _0x30cada['getMember'](_0x2c380b);}[_0x1a8f07(0x3fb)](_0x549ab3){var _0x1f5171=_0x1a8f07;const _0x44eea6=this[_0x1f5171(0x32c)][_0x1f5171(0x197)](_0x549ab3);_0x44eea6&&(_0x44eea6[_0x1f5171(0xd6)](),this[_0x1f5171(0x32c)][_0x1f5171(0x2b8)](_0x549ab3));}[_0x1a8f07(0xd6)](){var _0x3a5ade=_0x1a8f07;this[_0x3a5ade(0x32c)]['forEach'](_0x287aff=>_0x287aff[_0x3a5ade(0xd6)]()),this[_0x3a5ade(0x32c)][_0x3a5ade(0x308)](),this['_roomCreated$'][_0x3a5ade(0x402)]();}},exports[_0x1a8f07(0x297)]=an([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0x1a8f07(0x16f)](a[_0x1a8f07(0x1a7)]))],exports[_0x1a8f07(0x297)]);function _0x3fe4(_0x511e8c,_0x4523b1){var _0x172dc4=_0x172d();return _0x3fe4=function(_0x3fe490,_0x2b03e0){_0x3fe490=_0x3fe490-0xc0;var _0x2070c5=_0x172dc4[_0x3fe490];return _0x2070c5;},_0x3fe4(_0x511e8c,_0x4523b1);}class cn extends a['Disposable']{constructor(){var _0xd745a0=_0x1a8f07;super(...arguments),D(this,_0xd745a0(0x35d),new Map()),D(this,_0xd745a0(0x2e0),new H[(_0xd745a0(0x2d5))](this['_members'])),D(this,_0xd745a0(0x375),this[_0xd745a0(0x2e0)][_0xd745a0(0x333)]());}['dispose'](){var _0x3ee43d=_0x1a8f07;this['_members'][_0x3ee43d(0x308)]();}[_0x1a8f07(0x2f1)](_0x4d4072){var _0x308564=_0x1a8f07;this['_members'][_0x308564(0x1dc)](_0x4d4072['memberID'],_0x4d4072),this[_0x308564(0x259)]();}[_0x1a8f07(0x299)](_0x38de9d){var _0x3bc105=_0x1a8f07;this[_0x3bc105(0x35d)][_0x3bc105(0x2b8)](_0x38de9d);}[_0x1a8f07(0xc4)](_0x2f8094){var _0x5e973b=_0x1a8f07;return this[_0x5e973b(0x35d)]['get'](_0x2f8094);}[_0x1a8f07(0x18b)](){var _0x2fba01=_0x1a8f07;return Array[_0x2fba01(0x2b6)](this[_0x2fba01(0x35d)][_0x2fba01(0x1e0)]());}['_emitMembers'](){var _0x4fbc75=_0x1a8f07;this[_0x4fbc75(0x2e0)][_0x4fbc75(0x171)](this[_0x4fbc75(0x35d)]);}}var hn=Object[_0x1a8f07(0x3fe)],ln=Object[_0x1a8f07(0x2ca)],_n=(_0x3e552d,_0x80f83d,_0x18df26,_0x58d64f)=>{var _0x119a8b=_0x1a8f07;for(var _0x1f98b7=_0x58d64f>0x1?void 0x0:_0x58d64f?ln(_0x80f83d,_0x18df26):_0x80f83d,_0x46b5f0=_0x3e552d[_0x119a8b(0x144)]-0x1,_0x5215e1;_0x46b5f0>=0x0;_0x46b5f0--)(_0x5215e1=_0x3e552d[_0x46b5f0])&&(_0x1f98b7=(_0x58d64f?_0x5215e1(_0x80f83d,_0x18df26,_0x1f98b7):_0x5215e1(_0x1f98b7))||_0x1f98b7);return _0x58d64f&&_0x1f98b7&&hn(_0x80f83d,_0x18df26,_0x1f98b7),_0x1f98b7;},oe=(_0x3e5ef0,_0x3f2fd0)=>(_0x355834,_0x3c03fe)=>_0x3f2fd0(_0x355834,_0x3c03fe,_0x3e5ef0),se=(_0x3c8c1b=>(_0x3c8c1b[_0x3c8c1b[_0x1a8f07(0x313)]=0x0]=_0x1a8f07(0x313),_0x3c8c1b[_0x3c8c1b[_0x1a8f07(0x3af)]=0x1]=_0x1a8f07(0x3af),_0x3c8c1b[_0x3c8c1b[_0x1a8f07(0x216)]=0x2]=_0x1a8f07(0x216),_0x3c8c1b[_0x3c8c1b[_0x1a8f07(0x15f)]=0x3]=_0x1a8f07(0x15f),_0x3c8c1b))(se||{});const qe={[he[_0x1a8f07(0x131)]]:_0x1a8f07(0x274),[he[_0x1a8f07(0x3a5)]]:'session.room-full',[he['JOIN_ROOM_NOT_EXISTS']]:_0x1a8f07(0x12a),[he[_0x1a8f07(0xf3)]]:_0x1a8f07(0x335),[he['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x1a8f07(0x108)};exports[_0x1a8f07(0x2ff)]=class extends a[_0x1a8f07(0x1ec)]{constructor(_0xa59627,_0x5173c3,_0x2c8cb7,_0x5564ee,_0x585dc3,_0x4d0164,_0x26ce84,_0x324252,_0x2fd2fd){var _0x52a17a=_0x1a8f07;super(),D(this,_0x52a17a(0x1b8),new H[(_0x52a17a(0x2d5))](0x0)),D(this,_0x52a17a(0x3c2),this[_0x52a17a(0x1b8)][_0x52a17a(0x333)]()),D(this,_0x52a17a(0x3f8),new H[(_0x52a17a(0x440))]()),D(this,'event$',this[_0x52a17a(0x3f8)]['asObservable']()),D(this,_0x52a17a(0x2a7)),D(this,_0x52a17a(0x40b)),D(this,_0x52a17a(0x170)),D(this,_0x52a17a(0x414),!0x1),D(this,_0x52a17a(0x133),null),(this[_0x52a17a(0x3c0)]=_0xa59627,this['_logService']=_0x2c8cb7,this[_0x52a17a(0x163)]=_0x5564ee,this[_0x52a17a(0x10f)]=_0x585dc3,this['_memberService']=_0x4d0164,this['_commentService']=_0x26ce84,this[_0x52a17a(0x286)]=_0x324252,this[_0x52a17a(0x36b)]=_0x2fd2fd,this[_0x52a17a(0x414)]=!!this['_telemetryService'],_0x5173c3[_0x52a17a(0x265)](H[_0x52a17a(0x285)](this[_0x52a17a(0xfe)]))[_0x52a17a(0x249)](_0x220121=>{var _0x24df58=_0x52a17a,_0x1a63ae;typeof _0x220121>'u'||(this[_0x24df58(0x2a7)]=_0x220121,_0x220121?(this[_0x24df58(0x2af)](_0x220121),this[_0x24df58(0x40b)]=_0x220121['message$'][_0x24df58(0x249)](_0x476652=>{var _0x1c1374=_0x24df58;_0x476652[_0x1c1374(0x3d2)]===this[_0x1c1374(0x3c0)]&&this[_0x1c1374(0x3d5)](_0x476652);})):(this[_0x24df58(0x408)](),this[_0x24df58(0x1b8)][_0x24df58(0x171)](0x2),(_0x1a63ae=this[_0x24df58(0x40b)])==null||_0x1a63ae[_0x24df58(0x307)](),this[_0x24df58(0x40b)]=null));}));}get[_0x1a8f07(0x314)](){var _0x16dea4=_0x1a8f07;return this[_0x16dea4(0x1b8)][_0x16dea4(0x388)]();}['getMemberID'](){var _0x1ae2cb=_0x1a8f07,_0x371306,_0x21a2e2;return(_0x21a2e2=(_0x371306=this[_0x1ae2cb(0x2a7)])==null?void 0x0:_0x371306['memberID'])!=null?_0x21a2e2:null;}['dispose'](){var _0x47a85f=_0x1a8f07;super[_0x47a85f(0xd6)](),this[_0x47a85f(0xfe)]['next'](),this[_0x47a85f(0xfe)][_0x47a85f(0x402)]();}[_0x1a8f07(0x43b)](){var _0x467c89=_0x1a8f07,_0x43d9a0,_0x20723d;this[_0x467c89(0x408)](),(_0x43d9a0=this[_0x467c89(0x2a7)])==null||_0x43d9a0[_0x467c89(0x365)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x467c89(0x3c0)]}}),(_0x20723d=this[_0x467c89(0x2a7)])==null||_0x20723d[_0x467c89(0x43b)](),this[_0x467c89(0x3f8)][_0x467c89(0x402)](),this['_sessionStatus$'][_0x467c89(0x402)](),this['dispose']();}[_0x1a8f07(0x3d5)](_0x64696b){var _0x5d1790=_0x1a8f07;_0x64696b[_0x5d1790(0x294)]===G[_0x5d1790(0xef)]?this[_0x5d1790(0x28c)](_0x64696b):_0x64696b[_0x5d1790(0x294)]===G[_0x5d1790(0x3b9)]&&this[_0x5d1790(0x2e3)](_0x64696b);}['_joinRoom'](_0xe6499f){var _0x15bb23=_0x1a8f07;this[_0x15bb23(0x1b8)][_0x15bb23(0x171)](0x1),_0xe6499f[_0x15bb23(0x365)]({'cmd':G[_0x15bb23(0xef)],'routeKey':this[_0x15bb23(0x3c0)],'routeType':'','data':{'rooms':[{'roomID':this[_0x15bb23(0x3c0)]}]}});}[_0x1a8f07(0x28c)](_0x23a9a1){var _0x4f11f0=_0x1a8f07,_0x5252fe;if(_0x23a9a1[_0x4f11f0(0x41b)]in qe){this[_0x4f11f0(0x286)][_0x4f11f0(0x151)]({'id':Q['JOIN_ROOM_FAILED'],'data':qe[_0x23a9a1[_0x4f11f0(0x41b)]]}),this[_0x4f11f0(0x1b8)][_0x4f11f0(0x171)](0x2);return;}this[_0x4f11f0(0x1b8)][_0x4f11f0(0x171)](0x3);const _0x3acb16=(_0x5252fe=_0x23a9a1[_0x4f11f0(0x2de)][_0x4f11f0(0xdb)][this[_0x4f11f0(0x3c0)]])==null?void 0x0:_0x5252fe[_0x4f11f0(0xf5)];_0x3acb16&&_0x3acb16[_0x4f11f0(0x127)](_0x3473b3=>this[_0x4f11f0(0x106)][_0x4f11f0(0x2f1)](this[_0x4f11f0(0x3c0)],_0x3473b3));}[_0x1a8f07(0x2e3)](_0x5b09f0){var _0x1ee017=_0x1a8f07;try{const _0x246280=_0x5b09f0['data'];switch(_0x246280[_0x1ee017(0x441)]){case m[_0x1ee017(0x40f)]['USERS_ENTER']:this[_0x1ee017(0x243)](_0x246280),this[_0x1ee017(0x3f8)]['next'](_0x246280);break;case m['CollaborationEvent'][_0x1ee017(0x195)]:this[_0x1ee017(0x3e2)](_0x246280),this['_event$']['next'](_0x246280);break;case m[_0x1ee017(0x40f)][_0x1ee017(0x24c)]:case m['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this[_0x1ee017(0x227)](),this['_clearCollaborationTimeoutTimer'](),this[_0x1ee017(0x3f8)][_0x1ee017(0x171)](_0x246280);break;case m[_0x1ee017(0x40f)]['MSG_FOR_ERROR']:this[_0x1ee017(0x2c0)][_0x1ee017(0x405)](_0x1ee017(0x152)+JSON[_0x1ee017(0x399)](_0x246280)),this[_0x1ee017(0x3f8)][_0x1ee017(0x171)](_0x246280);break;case m[_0x1ee017(0x40f)][_0x1ee017(0x25c)]:this[_0x1ee017(0x15c)]['onCommentUpdate'](_0x246280[_0x1ee017(0x2de)]),this[_0x1ee017(0x3f8)][_0x1ee017(0x171)](_0x246280);break;default:this['_event$'][_0x1ee017(0x171)](_0x246280);}}catch(_0x482b21){this[_0x1ee017(0x2c0)][_0x1ee017(0x405)](_0x482b21,_0x5b09f0);}}['_onUserJoin'](_0x37eca1){var _0x9697e=_0x1a8f07;this['_memberService']['updateMember'](this[_0x9697e(0x3c0)],_0x37eca1['data']);}['_onUserLeave'](_0x2386af){var _0x313b92=_0x1a8f07;this['_memberService']['removeMember'](this[_0x313b92(0x3c0)],_0x2386af[_0x313b92(0x2de)][_0x313b92(0x1d4)]);}async['send'](_0x4c1c42,_0x311e7a){var _0x3ca7b7=_0x1a8f07;if(this[_0x3ca7b7(0x314)]!==0x3||!this[_0x3ca7b7(0x2a7)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4c1c42['eventID']===m[_0x3ca7b7(0x40f)][_0x3ca7b7(0x1f5)]&&(this[_0x3ca7b7(0x42d)](),this[_0x3ca7b7(0x1ac)](_0x4c1c42)),this[_0x3ca7b7(0x2a7)][_0x3ca7b7(0x365)]({'cmd':G[_0x3ca7b7(0xe9)],'routeKey':_0x311e7a,'routeType':'','data':_0x4c1c42});}catch(_0x4a974d){this['_logService'][_0x3ca7b7(0x405)](_0x4a974d);}}[_0x1a8f07(0x42d)](){var _0x2a8a70=_0x1a8f07,_0x576fad;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x459fd5=_0x3fe4;this[_0x459fd5(0x170)]=null,this[_0x459fd5(0x286)]['emitEvent']({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x576fad=this[_0x2a8a70(0x163)][_0x2a8a70(0x394)](He))!=null?_0x576fad:gt);}[_0x1a8f07(0x363)](){var _0x51aca4=_0x1a8f07;this[_0x51aca4(0x170)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x51aca4(0x170)]=null);}[_0x1a8f07(0x1ac)](_0x28329f){var _0x5f30e3=_0x1a8f07;if(!this[_0x5f30e3(0x414)])return;const {data:_0xb38b10}=_0x28329f,{unitID:_0xb9f56c,changeset:_0xe397b2}=_0xb38b10,{mutations:_0x374c77,type:_0x4baa88}=_0xe397b2;this['_telemetryInfo']={'unitId':_0xb9f56c,'type':_0x4baa88,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':rn(_0x374c77)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x108204=_0x1a8f07;if(this['_shouldReportTelemetry']){if(!this[_0x108204(0x133)]){this[_0x108204(0x2c0)][_0x108204(0x405)](_0x108204(0x228),_0x108204(0x284));return;}this[_0x108204(0x133)][_0x108204(0x2fb)]=performance[_0x108204(0x415)](),this[_0x108204(0x133)][_0x108204(0x456)]=this[_0x108204(0x133)][_0x108204(0x2fb)]-this['_telemetryInfo'][_0x108204(0x1a3)],this[_0x108204(0x36b)]['capture'](nn,this[_0x108204(0x133)]),this[_0x108204(0x133)]=null;}}[_0x1a8f07(0x408)](){var _0x3bf815=_0x1a8f07;this[_0x3bf815(0x133)]=null;}},exports[_0x1a8f07(0x2ff)]=_n([oe(0x2,a[_0x1a8f07(0x168)]),oe(0x3,a[_0x1a8f07(0x312)]),oe(0x4,a['Inject'](a[_0x1a8f07(0x258)])),oe(0x5,a[_0x1a8f07(0x16f)](exports[_0x1a8f07(0x297)])),oe(0x6,a[_0x1a8f07(0x16f)](Be)),oe(0x7,a[_0x1a8f07(0x16f)](te)),oe(0x8,a[_0x1a8f07(0x41f)](jt[_0x1a8f07(0xe1)]))],exports[_0x1a8f07(0x2ff)]);var un=Object[_0x1a8f07(0x3fe)],dn=Object[_0x1a8f07(0x2ca)],vn=(_0x360e1b,_0x3246b0,_0x258940,_0x434ea7)=>{var _0x8e80bd=_0x1a8f07;for(var _0x1c3ac8=_0x434ea7>0x1?void 0x0:_0x434ea7?dn(_0x3246b0,_0x258940):_0x3246b0,_0x4ab7c3=_0x360e1b[_0x8e80bd(0x144)]-0x1,_0x19a9cb;_0x4ab7c3>=0x0;_0x4ab7c3--)(_0x19a9cb=_0x360e1b[_0x4ab7c3])&&(_0x1c3ac8=(_0x434ea7?_0x19a9cb(_0x3246b0,_0x258940,_0x1c3ac8):_0x19a9cb(_0x1c3ac8))||_0x1c3ac8);return _0x434ea7&&_0x1c3ac8&&un(_0x3246b0,_0x258940,_0x1c3ac8),_0x1c3ac8;},ae=(_0x30695b,_0x297f62)=>(_0x220c98,_0x418b39)=>_0x297f62(_0x220c98,_0x418b39,_0x30695b);exports[_0x1a8f07(0x114)]=class extends a[_0x1a8f07(0x2dc)]{constructor(_0x29e8a9,_0x467254,_0xc60f8c,_0x2a8695,_0x290678,_0xe43162,_0x55c2c3){var _0x166a7b=_0x1a8f07;super(),D(this,_0x166a7b(0x167),new H['BehaviorSubject'](void 0x0)),D(this,_0x166a7b(0x2b4),this[_0x166a7b(0x167)][_0x166a7b(0x333)]()),D(this,'_candidateSocket',null),D(this,_0x166a7b(0x316),new Map()),D(this,'_status$',new H[(_0x166a7b(0x2d5))](se[_0x166a7b(0x313)])),D(this,_0x166a7b(0x14d),this[_0x166a7b(0x42a)][_0x166a7b(0x333)]()),D(this,_0x166a7b(0x24f),!0x1),D(this,_0x166a7b(0x43f)),D(this,'_retryCount',0x0),D(this,_0x166a7b(0x1a9)),D(this,'_timeoutTimer'),(this['_injector']=_0x29e8a9,this[_0x166a7b(0x2c0)]=_0x467254,this['_configService']=_0xc60f8c,this[_0x166a7b(0x16c)]=_0x2a8695,this['_httpService']=_0x290678,this[_0x166a7b(0x286)]=_0xe43162,this[_0x166a7b(0xca)]=_0x55c2c3,this[_0x166a7b(0x26a)]());}get['_socket'](){var _0x285597=_0x1a8f07;return this[_0x285597(0x167)][_0x285597(0x388)]();}[_0x1a8f07(0x26a)](){var _0x59dbc0=_0x1a8f07;this[_0x59dbc0(0xca)]&&this[_0x59dbc0(0x3d0)](this[_0x59dbc0(0xca)][_0x59dbc0(0x214)][_0x59dbc0(0x249)](_0x458e1e=>{var _0x42f69e=_0x59dbc0;_0x458e1e&&!this[_0x42f69e(0x2a7)]&&this[_0x42f69e(0x13f)](),_0x458e1e||this[_0x42f69e(0x2ef)]();}));}[_0x1a8f07(0xd6)](){var _0x1a98f8=_0x1a8f07;super['dispose'](),this[_0x1a98f8(0x316)]['forEach'](_0x59f27=>_0x59f27[_0x1a98f8(0xd6)]()),this[_0x1a98f8(0x316)][_0x1a98f8(0x308)](),this['_status$'][_0x1a98f8(0x402)]();}async[_0x1a8f07(0x213)](_0x4bb989){var _0x51275f=_0x1a8f07;if(this[_0x51275f(0x316)][_0x51275f(0x300)](_0x4bb989))return this[_0x51275f(0x316)]['get'](_0x4bb989);this[_0x51275f(0xf9)]();const _0x46d525=this[_0x51275f(0x3ee)][_0x51275f(0x199)](exports[_0x51275f(0x2ff)],_0x4bb989,this[_0x51275f(0x167)][_0x51275f(0x333)]());return this[_0x51275f(0x316)][_0x51275f(0x1dc)](_0x4bb989,_0x46d525),_0x46d525;}['closeSession'](_0x31d530){var _0x1fbeb3=_0x1a8f07,_0x98db42;const _0x22e98b=this[_0x1fbeb3(0x316)][_0x1fbeb3(0x197)](_0x31d530);_0x22e98b&&(this[_0x1fbeb3(0x316)][_0x1fbeb3(0x2b8)](_0x31d530),_0x22e98b[_0x1fbeb3(0x43b)]()),this[_0x1fbeb3(0x316)][_0x1fbeb3(0x3c8)]||(_0x98db42=this[_0x1fbeb3(0x2a7)])==null||_0x98db42['close']();}['reconnect'](){var _0x50ddd4=_0x1a8f07;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x50ddd4(0x43f)]),this[_0x50ddd4(0x43f)]=null),this[_0x50ddd4(0x140)]();}async['_getSessionTicket'](){var _0x1990d9=_0x1a8f07,_0x39af31,_0x13dd15,_0x127e52;const _0x184c16=this[_0x1990d9(0x163)][_0x1990d9(0x394)](Y),_0x496a59=(_0x39af31=_0x184c16==null?void 0x0:_0x184c16['wsSessionTicketUrl'])!=null?_0x39af31:Ft;return(_0x127e52=(_0x13dd15=(await this[_0x1990d9(0xce)][_0x1990d9(0x197)](_0x496a59,{'headers':{'Content-Type':_0x1990d9(0x25f)}}))[_0x1990d9(0x3df)])==null?void 0x0:_0x13dd15[_0x1990d9(0x30e)])!=null?_0x127e52:'';}[_0x1a8f07(0x18a)](_0xc352ca){var _0x527dc2=_0x1a8f07,_0x585a51,_0x51d831;const _0x43a75a=this['_configService'][_0x527dc2(0x394)](St),_0x26a2f4=this[_0x527dc2(0x163)][_0x527dc2(0x394)](Y),_0x5bd390=(_0x51d831=(_0x585a51=_0x26a2f4==null?void 0x0:_0x26a2f4['collabWebSocketUrl'])!=null?_0x585a51:_0x43a75a)!=null?_0x51d831:pt,_0x41b2fb=typeof window>'u'?new URL(_0x5bd390):new URL(_0x5bd390,window['location'][_0x527dc2(0x40c)]);_0x41b2fb[_0x527dc2(0x3ce)][_0x527dc2(0x1dc)](_0x527dc2(0xc7),_0xc352ca);const _0x52078d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x527dc2(0x404)][_0x527dc2(0x28b)]);return _0x52078d[_0x527dc2(0x197)](_0x527dc2(0x229))&&_0x41b2fb[_0x527dc2(0x3ce)][_0x527dc2(0x1dc)](_0x527dc2(0x229),_0x52078d[_0x527dc2(0x197)](_0x527dc2(0x229))),_0x41b2fb['toString']();}async[_0x1a8f07(0x29b)](){var _0xbb5fe8=_0x1a8f07;const _0x223325=await this[_0xbb5fe8(0x119)](),_0x1d5a0d=this[_0xbb5fe8(0x18a)](_0x223325),_0x4313a5=this[_0xbb5fe8(0x16c)]['createSocket'](_0x1d5a0d);return this[_0xbb5fe8(0x2ba)]=_0x4313a5,_0x4313a5;}async[_0x1a8f07(0xf9)](){var _0x4ce369=_0x1a8f07,_0x19c00f,_0x522034;try{const _0x13b262=(_0x522034=(_0x19c00f=this['_socket'])!=null?_0x19c00f:this['_candidateSocket'])!=null?_0x522034:await this[_0x4ce369(0x29b)]();if(_0x13b262){const _0x4c3dd1=_0x13b262[_0x4ce369(0x365)];_0x13b262[_0x4ce369(0x365)]=_0x2f9d4a=>(this['_rescheduleHeartbeat'](),_0x4c3dd1[_0x4ce369(0x18e)](_0x13b262,[_0x2f9d4a])),_0x13b262[_0x4ce369(0x1cd)][_0x4ce369(0x249)](_0x5f3352=>this[_0x4ce369(0x427)](_0x13b262,_0x5f3352)),_0x13b262[_0x4ce369(0x1b0)][_0x4ce369(0x265)](W[_0x4ce369(0x220)](0x1))[_0x4ce369(0x249)](_0x1ea7c8=>this['_logService'][_0x4ce369(0x405)](_0x4ce369(0x439),_0x1ea7c8)),_0x13b262['open$'][_0x4ce369(0x265)](W[_0x4ce369(0x220)](0x1))['subscribe'](()=>{var _0x554ce1=_0x4ce369;this[_0x554ce1(0xff)](_0x13b262);}),_0x13b262[_0x4ce369(0x23d)][_0x4ce369(0x265)](W[_0x4ce369(0x220)](0x1))[_0x4ce369(0x249)](_0x1f1db9=>{var _0x296182=_0x4ce369;this[_0x296182(0x2c0)][_0x296182(0x346)]('[CollaborationSessionService]',_0x296182(0x189),_0x1f1db9),this[_0x296182(0x122)]();});}}catch(_0x6ddfde){this[_0x4ce369(0x2c0)][_0x4ce369(0x405)](_0x6ddfde),this[_0x4ce369(0x122)]();}}[_0x1a8f07(0xff)](_0x414f30){var _0x497d14=_0x1a8f07;this[_0x497d14(0x2c0)]['debug'](_0x497d14(0x43c),_0x497d14(0x2f2)),_0x414f30[_0x497d14(0x365)]({'cmd':G[_0x497d14(0x3de)]}),this[_0x497d14(0x418)]();}['_onOffline'](){var _0x2700fd=_0x1a8f07;this['_socketReady']=!0x1,this[_0x2700fd(0x2ba)]=null,this[_0x2700fd(0x42a)][_0x2700fd(0x171)](se[_0x2700fd(0x216)]),this[_0x2700fd(0x167)][_0x2700fd(0x171)](null),this[_0x2700fd(0x19d)](),this['_clearHeartbeatTimer']();}[_0x1a8f07(0x122)](){var _0x1155d9=_0x1a8f07,_0x572f09;this[_0x1155d9(0x2ef)](),this[_0x1155d9(0x360)]<((_0x572f09=this[_0x1155d9(0x163)][_0x1155d9(0x394)](It))!=null?_0x572f09:Vt)?(this[_0x1155d9(0x286)][_0x1155d9(0x151)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x1155d9(0x140)]()):this[_0x1155d9(0x286)]['emitEvent']({'id':Q[_0x1155d9(0xe3)]});}[_0x1a8f07(0x140)](){var _0xb3702e=_0x1a8f07,_0x1f78b3;const _0x2130a4=this[_0xb3702e(0x360)],_0x2c230b=this[_0xb3702e(0x163)][_0xb3702e(0x394)](Y),_0x404d61=_0x2130a4===0x0?0x0:((_0x1f78b3=_0x2c230b==null?void 0x0:_0x2c230b[_0xb3702e(0xf6)])!=null?_0x1f78b3:Gt)*0x2**_0x2130a4;this[_0xb3702e(0x43f)]=setTimeout(()=>{var _0x4e2bf0=_0xb3702e;clearTimeout(this[_0x4e2bf0(0x43f)]),this[_0x4e2bf0(0x43f)]=null,this[_0x4e2bf0(0xf9)]();},_0x404d61),this[_0xb3702e(0x360)]+=0x1;}[_0x1a8f07(0x427)](_0x35802c,_0x3a6507){var _0x43bf9d=_0x1a8f07;const {cmd:_0x4e3e9b}=_0x3a6507;_0x4e3e9b===G[_0x43bf9d(0x3de)]&&!this['_socketReady']&&(_0x35802c[_0x43bf9d(0x1d4)]=_0x3a6507[_0x43bf9d(0x2de)][_0x43bf9d(0x1d4)],this['_socket$']['next'](_0x35802c),this[_0x43bf9d(0x42a)][_0x43bf9d(0x171)](se[_0x43bf9d(0x15f)]),this[_0x43bf9d(0x24f)]=!0x0,this[_0x43bf9d(0x2ba)]=null),_0x4e3e9b===G[_0x43bf9d(0x305)]&&this[_0x43bf9d(0x19d)](),this[_0x43bf9d(0x418)]();}[_0x1a8f07(0x418)](){var _0x1ac3c7=_0x1a8f07,_0x506427;this[_0x1ac3c7(0x451)](),this[_0x1ac3c7(0x1a9)]=setTimeout(()=>this[_0x1ac3c7(0x453)](),(_0x506427=this[_0x1ac3c7(0x163)][_0x1ac3c7(0x394)](mt))!=null?_0x506427:Wt);}[_0x1a8f07(0x453)](){var _0x8b6408=_0x1a8f07;this['_socket'][_0x8b6408(0x365)]({'cmd':G[_0x8b6408(0x305)]}),this[_0x8b6408(0x18d)]();}[_0x1a8f07(0x18d)](){var _0xa8e63a=_0x1a8f07,_0x3daf33;this[_0xa8e63a(0x26c)]=setTimeout(()=>this[_0xa8e63a(0x122)](),(_0x3daf33=this[_0xa8e63a(0x163)][_0xa8e63a(0x394)](He))!=null?_0x3daf33:gt);}['_clearHeartbeatTimer'](){var _0x1e6991=_0x1a8f07;this[_0x1e6991(0x1a9)]!=null&&(clearTimeout(this[_0x1e6991(0x1a9)]),this[_0x1e6991(0x1a9)]=null);}[_0x1a8f07(0x19d)](){var _0x551502=_0x1a8f07;this[_0x551502(0x26c)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x551502(0x26c)]=null);}},exports[_0x1a8f07(0x114)]=vn([ae(0x0,a[_0x1a8f07(0x16f)](a['Injector'])),ae(0x1,a[_0x1a8f07(0x168)]),ae(0x2,a[_0x1a8f07(0x312)]),ae(0x3,ke),ae(0x4,a['Inject'](q[_0x1a8f07(0x145)])),ae(0x5,a[_0x1a8f07(0x16f)](te)),ae(0x6,a[_0x1a8f07(0x41f)](Rt))],exports[_0x1a8f07(0x114)]);const V=[];for(let r=0x0;r<0x100;++r)V[_0x1a8f07(0x33d)]((r+0x100)[_0x1a8f07(0x1a2)](0x10)[_0x1a8f07(0x270)](0x1));function fn(_0x15f103,_0x28c3dd=0x0){var _0x487154=_0x1a8f07;return(V[_0x15f103[_0x28c3dd+0x0]]+V[_0x15f103[_0x28c3dd+0x1]]+V[_0x15f103[_0x28c3dd+0x2]]+V[_0x15f103[_0x28c3dd+0x3]]+'-'+V[_0x15f103[_0x28c3dd+0x4]]+V[_0x15f103[_0x28c3dd+0x5]]+'-'+V[_0x15f103[_0x28c3dd+0x6]]+V[_0x15f103[_0x28c3dd+0x7]]+'-'+V[_0x15f103[_0x28c3dd+0x8]]+V[_0x15f103[_0x28c3dd+0x9]]+'-'+V[_0x15f103[_0x28c3dd+0xa]]+V[_0x15f103[_0x28c3dd+0xb]]+V[_0x15f103[_0x28c3dd+0xc]]+V[_0x15f103[_0x28c3dd+0xd]]+V[_0x15f103[_0x28c3dd+0xe]]+V[_0x15f103[_0x28c3dd+0xf]])[_0x487154(0x1fc)]();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x2ff907=_0x1a8f07;if(!Pe){if(typeof crypto>'u'||!crypto[_0x2ff907(0x1b1)])throw new Error(_0x2ff907(0x226));Pe=crypto[_0x2ff907(0x1b1)][_0x2ff907(0x235)](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto[_0x1a8f07(0xdc)]&&crypto[_0x1a8f07(0xdc)][_0x1a8f07(0x235)](crypto),ze={'randomUUID':mn};function gn(_0x5bde85,_0x1f5733,_0x4769b0){var _0xe10d96=_0x1a8f07,_0x4e9ba0,_0x32450f,_0x3d74ed;if(ze[_0xe10d96(0xdc)]&&!_0x5bde85)return ze[_0xe10d96(0xdc)]();_0x5bde85=_0x5bde85||{};const _0x651945=(_0x3d74ed=(_0x32450f=_0x5bde85['random'])!=null?_0x32450f:(_0x4e9ba0=_0x5bde85[_0xe10d96(0x11a)])==null?void 0x0:_0x4e9ba0[_0xe10d96(0x115)](_0x5bde85))!=null?_0x3d74ed:pn();if(_0x651945[_0xe10d96(0x144)]<0x10)throw new Error(_0xe10d96(0x3f3));return _0x651945[0x6]=_0x651945[0x6]&0xf|0x40,_0x651945[0x8]=_0x651945[0x8]&0x3f|0x80,fn(_0x651945);}const z=a[_0x1a8f07(0x2d8)](_0x1a8f07(0x38f));function In(_0x4701e2){var _0x21a959=_0x1a8f07;return _0x21a959(0x193)+_0x4701e2;}var En=Object[_0x1a8f07(0x3fe)],Cn=Object['getOwnPropertyDescriptor'],Tn=(_0x407082,_0x141cfb,_0x403a82,_0x59b8c5)=>{var _0x2a5f7c=_0x1a8f07;for(var _0x1bcc6e=_0x59b8c5>0x1?void 0x0:_0x59b8c5?Cn(_0x141cfb,_0x403a82):_0x141cfb,_0x5468db=_0x407082[_0x2a5f7c(0x144)]-0x1,_0x2b0b8d;_0x5468db>=0x0;_0x5468db--)(_0x2b0b8d=_0x407082[_0x5468db])&&(_0x1bcc6e=(_0x59b8c5?_0x2b0b8d(_0x141cfb,_0x403a82,_0x1bcc6e):_0x2b0b8d(_0x1bcc6e))||_0x1bcc6e);return _0x59b8c5&&_0x1bcc6e&&En(_0x141cfb,_0x403a82,_0x1bcc6e),_0x1bcc6e;},De=(_0xdf44d2,_0x6938c8)=>(_0x4978c8,_0x24edf4)=>_0x6938c8(_0x4978c8,_0x24edf4,_0xdf44d2);function bn(_0x560970){var _0x4308ca=_0x1a8f07;const {unitID:_0x599b79,mutations:_0x223785}=_0x560970;return{'unitId':_0x599b79,'subUnitId':_0x223785[0x0]['params'][_0x4308ca(0x2cf)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x2ff018,_0x460147,_0x472e1f){var _0x278b27=_0x1a8f07;this[_0x278b27(0x3ee)]=_0x2ff018,this[_0x278b27(0xd0)]=_0x460147,this[_0x278b27(0x2c1)]=_0x472e1f;}['transformSelections'](_0x33e39c){var _0x2ec9ea=_0x1a8f07,_0x6d15e6,_0x568009,_0x4a891c,_0x49a641;const _0x577a6a=this[_0x2ec9ea(0x3ee)][_0x2ec9ea(0x197)](J[_0x2ec9ea(0x44a)]),{unitId:_0x3be99b,subUnitId:_0x1ae798}=bn(_0x33e39c),_0x44791b=_0x577a6a==null?void 0x0:_0x577a6a[_0x2ec9ea(0x371)](_0x3be99b)[_0x2ec9ea(0x1c9)](),_0x3727fc=(_0x568009=(_0x6d15e6=this[_0x2ec9ea(0x2c1)]['getUnit'](_0x3be99b))==null?void 0x0:_0x6d15e6['getActiveSheet']())==null?void 0x0:_0x568009[_0x2ec9ea(0x18c)]();if(_0x44791b['length']===0x0||!_0x3be99b||!_0x1ae798)return;const _0x2f1d0b=[{'id':J[_0x2ec9ea(0x35a)]['id'],'params':{'unitId':_0x3be99b,'subUnitId':_0x3727fc,'selections':a['Tools'][_0x2ec9ea(0x27d)](_0x44791b)}}],_0x90fb68=this['_transformService']['transformMutationsWithChangeset'](_0x33e39c,_0x2f1d0b);if(!m['isTransformMutationsWithChangesetSuccess'](_0x90fb68))throw _0x90fb68[_0x2ec9ea(0x405)];const _0x34a091=(_0x49a641=(_0x4a891c=_0x90fb68[_0x2ec9ea(0x323)][0x0])==null?void 0x0:_0x4a891c[_0x2ec9ea(0x130)])==null?void 0x0:_0x49a641[_0x2ec9ea(0x43d)];if(Array[_0x2ec9ea(0x32a)](_0x34a091)&&_0x34a091[_0x2ec9ea(0x144)]){if(_0x34a091['length']===_0x2f1d0b[0x0][_0x2ec9ea(0x130)][_0x2ec9ea(0x43d)][_0x2ec9ea(0x144)]&&_0x34a091[_0x2ec9ea(0x37e)]((_0x39106c,_0x38a1ee)=>a[_0x2ec9ea(0x3f1)][_0x2ec9ea(0x1c5)](_0x39106c[_0x2ec9ea(0x2db)],_0x2f1d0b[0x0]['params']['selections'][_0x38a1ee]['range'])))return;this['_injector'][_0x2ec9ea(0x197)](a[_0x2ec9ea(0x1ce)])[_0x2ec9ea(0x190)](J['SetSelectionsOperation']['id'],{'unitId':_0x3be99b,'subUnitId':_0x3727fc,'selections':_0x34a091});}}},exports[_0x1a8f07(0x434)]=Tn([De(0x0,a[_0x1a8f07(0x16f)](a[_0x1a8f07(0x324)])),De(0x1,m['ITransformService']),De(0x2,a[_0x1a8f07(0xc2)])],exports['SheetTransformSelectionsService']);const ve=a[_0x1a8f07(0x2d8)](_0x1a8f07(0x420));var Fe=(_0x5e7536=>(_0x5e7536[_0x5e7536[_0x1a8f07(0x36e)]=0x0]=_0x1a8f07(0x36e),_0x5e7536[_0x5e7536[_0x1a8f07(0x2a4)]=0x1]=_0x1a8f07(0x2a4),_0x5e7536))(Fe||{});const Rn=new Set([J[_0x1a8f07(0x45a)]['id']]);function Je(_0x383425,_0x5e4b03,_0x1d2aa0,_0x2164ee,_0x46cb34){var _0x1d847a=_0x1a8f07,_0x159e36,_0x197bad,_0xfbb4c3,_0x5664c7;const _0x9aef98=[];for(const _0x8b9a63 of _0x383425)if(Rn[_0x1d847a(0x300)](_0x8b9a63['id'])){if(_0x9aef98[_0x1d847a(0x144)]>0x0)break;_0x9aef98[_0x1d847a(0x33d)](_0x8b9a63);break;}else _0x9aef98['push'](_0x8b9a63);const _0x519d30=(_0x197bad=(_0x159e36=_0x46cb34[_0x1d847a(0x129)]())==null?void 0x0:_0x159e36[_0x1d847a(0x288)])!=null?_0x197bad:_0x1d847a(0x10c),_0x1ddbe3=(_0x5664c7=(_0xfbb4c3=_0x46cb34[_0x1d847a(0x129)]())==null?void 0x0:_0xfbb4c3['memberID'])!=null?_0x5664c7:_0x1d847a(0x10c);return{'changeset':{'unitID':_0x5e4b03,'type':m['mapDocumentTypeToUniverType'](_0x1d2aa0['getUnitType'](_0x5e4b03)),'baseRev':_0x2164ee[_0x1d847a(0x237)](_0x5e4b03),'revision':0x0,'userID':_0x519d30,'memberID':_0x1ddbe3,'mutations':_0x9aef98},'pendingMutations':_0x383425[_0x1d847a(0x270)](_0x9aef98[_0x1d847a(0x144)])};}function On(_0x296a79,_0x17956d,_0xcea3d9,_0x714b28,_0x35c5ea){var _0x37bb62=_0x1a8f07,_0x487e65,_0x36834b,_0x332750,_0x232310;const _0x191ac8=[_0x296a79[_0x37bb62(0x2e2)]((_0x2f3c82,_0x519c25)=>{var _0x10876b=_0x37bb62,_0x47e506;const {id:_0x265939}=_0x2f3c82,{id:_0xe4ffe,type:_0x34f230}=_0x519c25,_0x10e7c8=(_0x47e506=_0x2f3c82[_0x10876b(0x130)])!=null?_0x47e506:{'actions':null},_0x4e6a9a=_0x519c25[_0x10876b(0x130)];if(_0x265939&&_0x265939!==_0xe4ffe)throw new Error(_0x10876b(0xf8)+_0x265939+_0x10876b(0x443)+_0xe4ffe+'.');return{..._0x2f3c82,'id':_0xe4ffe,'type':_0x34f230,'params':{'unitId':_0x4e6a9a[_0x10876b(0x401)],'textRanges':_0x4e6a9a[_0x10876b(0x3a9)],'actions':a['JSONX'][_0x10876b(0x12b)](_0x10e7c8[_0x10876b(0x3a3)],_0x4e6a9a[_0x10876b(0x3a3)])}};},{})],_0x594fde=(_0x36834b=(_0x487e65=_0x35c5ea[_0x37bb62(0x129)]())==null?void 0x0:_0x487e65[_0x37bb62(0x288)])!=null?_0x36834b:'unknown',_0x44f4bb=(_0x232310=(_0x332750=_0x35c5ea['getCurrentUser']())==null?void 0x0:_0x332750[_0x37bb62(0x1d4)])!=null?_0x232310:_0x37bb62(0x10c);return{'changeset':{'unitID':_0x17956d,'type':m[_0x37bb62(0x172)](_0xcea3d9[_0x37bb62(0xc3)](_0x17956d)),'baseRev':_0x714b28[_0x37bb62(0x237)](_0x17956d),'revision':0x0,'userID':_0x594fde,'memberID':_0x44f4bb,'mutations':_0x191ac8},'pendingMutations':[]};}function Nt(_0x1b0578,_0x120772){var _0x5c59d9=_0x1a8f07;const _0x519a11=new H[(_0x5c59d9(0x22d))](0x1);return setTimeout(()=>_0x519a11[_0x5c59d9(0x171)](_0x120772),_0x1b0578),_0x519a11[_0x5c59d9(0x333)]()['pipe'](H[_0x5c59d9(0x220)](0x1));}const yn={'id':J[_0x1a8f07(0xd9)]['id'],'type':a[_0x1a8f07(0x211)]['MUTATION'],'params':{}};var Nn=Object[_0x1a8f07(0x3fe)],Un=Object[_0x1a8f07(0x2ca)],le=(_0x5c082f,_0x58305b,_0x139d1d,_0x194f07)=>{var _0x74ea16=_0x1a8f07;for(var _0x5c123e=_0x194f07>0x1?void 0x0:_0x194f07?Un(_0x58305b,_0x139d1d):_0x58305b,_0x447b54=_0x5c082f[_0x74ea16(0x144)]-0x1,_0x12ed37;_0x447b54>=0x0;_0x447b54--)(_0x12ed37=_0x5c082f[_0x447b54])&&(_0x5c123e=(_0x194f07?_0x12ed37(_0x58305b,_0x139d1d,_0x5c123e):_0x12ed37(_0x5c123e))||_0x5c123e);return _0x194f07&&_0x5c123e&&Nn(_0x58305b,_0x139d1d,_0x5c123e),_0x5c123e;},A=(_0x195876,_0x44b86a)=>(_0x1dcbda,_0x122b05)=>_0x44b86a(_0x1dcbda,_0x122b05,_0x195876),We=(_0x131474=>(_0x131474['NOT_COLLAB']=_0x1a8f07(0x16a),_0x131474[_0x1a8f07(0x2f6)]=_0x1a8f07(0x2fa),_0x131474[_0x1a8f07(0x36d)]=_0x1a8f07(0x315),_0x131474[_0x1a8f07(0x142)]=_0x1a8f07(0x30f),_0x131474['AWAITING_WITH_PENDING']=_0x1a8f07(0x3b0),_0x131474[_0x1a8f07(0x3be)]=_0x1a8f07(0x419),_0x131474['CONFLICT']=_0x1a8f07(0x1ad),_0x131474[_0x1a8f07(0x216)]=_0x1a8f07(0x2cd),_0x131474))(We||{});const Ut=0xea60;class _e{constructor(_0x5811d3,_0x32b8f3,_0x5d59e5,_0x2f0863,_0x40dd85,_0x3964a7,_0x2080e6,_0x4bba41,_0x4c6f12){var _0x4119e5=_0x1a8f07;D(this,'_awaitingChangeset',null),D(this,_0x4119e5(0x34e),[]),(this[_0x4119e5(0x344)]=_0x5811d3,this['type']=_0x32b8f3,this[_0x4119e5(0x1cf)]=_0x40dd85,this[_0x4119e5(0x32d)]=_0x3964a7,this[_0x4119e5(0x174)]=_0x2080e6,this[_0x4119e5(0x28a)]=_0x4bba41,this[_0x4119e5(0x2d0)]=_0x4c6f12,this[_0x4119e5(0x2f0)]=_0x5d59e5,this[_0x4119e5(0x34e)]=_0x2f0863);}['_checkMissing'](_0x158adf){var _0x5b26f0=_0x1a8f07;const _0x1986d7=this[_0x5b26f0(0x28a)][_0x5b26f0(0x237)](this[_0x5b26f0(0x344)]);return _0x158adf[_0x5b26f0(0x3a4)]>_0x1986d7+0x1?(this[_0x5b26f0(0x1cf)]['onMissingChangesets']({'from':_0x1986d7,'to':_0x158adf[_0x5b26f0(0x3a4)]-0x1}),!0x0):!0x1;}[_0x1a8f07(0x3b8)](_0x5d5e0c){var _0x3b107d=_0x1a8f07;this['_undoRedoService'][_0x3b107d(0x1c6)](this[_0x3b107d(0x344)],_0x5d5e0c);}[_0x1a8f07(0x3da)](_0x270907){var _0x207b11=_0x1a8f07,_0x4168fc,_0x228b77;(_0x228b77=(_0x4168fc=this[_0x207b11(0x1cf)])[_0x207b11(0x37f)])==null||_0x228b77[_0x207b11(0x115)](_0x4168fc,_0x270907);}[_0x1a8f07(0x319)](_0x4f89f5){var _0x42d3ef=_0x1a8f07,_0x148df6,_0x3f5e37;return(_0x3f5e37=(_0x148df6=this[_0x42d3ef(0x1cf)])[_0x42d3ef(0x19c)])==null?void 0x0:_0x3f5e37[_0x42d3ef(0x115)](_0x148df6,_0x4f89f5);}[_0x1a8f07(0x350)](_0x4a262d){var _0xcdfed=_0x1a8f07,_0xe7f46b,_0x11a9fc;return(_0x11a9fc=(_0xe7f46b=this[_0xcdfed(0x1cf)])[_0xcdfed(0x3f4)])==null?void 0x0:_0x11a9fc[_0xcdfed(0x115)](_0xe7f46b,_0x4a262d);}[_0x1a8f07(0x442)](_0x54d0e6){var _0x4ffd5b,_0xb59cac,_0x59af61;return(_0x59af61=(_0xb59cac=(_0x4ffd5b=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xb59cac['call'](_0x4ffd5b,_0x54d0e6))!=null?_0x59af61:_0x54d0e6;}[_0x1a8f07(0x169)](_0x528426){var _0x333aca=_0x1a8f07,_0x1e032d,_0xba276c,_0x346c44;return(_0x346c44=(_0xba276c=(_0x1e032d=this[_0x333aca(0x1cf)])[_0x333aca(0x1d9)])==null?void 0x0:_0xba276c[_0x333aca(0x115)](_0x1e032d,_0x528426))!=null?_0x346c44:_0x528426;}[_0x1a8f07(0x10a)](_0x1d1efb){var _0x8b84e8=_0x1a8f07,_0x5917f8,_0x14d374;if(this['type']===Z['UNIVER_DOC']){const {unitID:_0x1ad4f5,mutations:_0x13806e,memberID:_0x45ed73}=_0x1d1efb,_0x42260b=_0x13806e[0x0][_0x8b84e8(0x130)][_0x8b84e8(0x3a9)];Array[_0x8b84e8(0x32a)](_0x42260b)&&_0x42260b[_0x8b84e8(0x144)]>0x0&&((_0x14d374=(_0x5917f8=this[_0x8b84e8(0x1cf)])['onSyncEditingCollabCursor'])==null||_0x14d374[_0x8b84e8(0x115)](_0x5917f8,{'unitID':_0x1ad4f5,'memberID':_0x45ed73,'textRanges':_0x42260b}));}}[_0x1a8f07(0x287)](){var _0x56eab2=_0x1a8f07,_0x5abcb3;(_0x5abcb3=this[_0x56eab2(0x2d0)])==null||_0x5abcb3['updateOfflineData'](this[_0x56eab2(0x344)],this[_0x56eab2(0x2e8)],this[_0x56eab2(0x2f0)],this[_0x56eab2(0x34e)]);}['_getCurrentRevision'](){var _0x28e450=_0x1a8f07;return this[_0x28e450(0x28a)][_0x28e450(0x237)](this[_0x28e450(0x344)]);}['_incrementRevisionNumber'](){var _0x3037c4=_0x1a8f07;this[_0x3037c4(0x28a)][_0x3037c4(0x2d4)](this['unitID']);}[_0x1a8f07(0xcd)](_0x301fa2){var _0x5c1cc5=_0x1a8f07,_0x2c3164;let _0x38a9d4=this[_0x5c1cc5(0x442)](_0x301fa2);_0x38a9d4=this[_0x5c1cc5(0x169)](_0x38a9d4);const _0x1279a6=a[_0x5c1cc5(0x21c)](_0x38a9d4[_0x5c1cc5(0x276)],this['_commandService'],{'fromCollab':!0x0});if(!_0x1279a6[_0x5c1cc5(0xeb)])throw _0x1279a6[_0x5c1cc5(0x405)]instanceof Error?_0x1279a6[_0x5c1cc5(0x405)]:new Error((_0x2c3164=_0x1279a6[_0x5c1cc5(0x405)])!=null?_0x2c3164:_0x5c1cc5(0x196));this['_transformIMECache'](_0x38a9d4),this[_0x5c1cc5(0x350)](_0x38a9d4),this[_0x5c1cc5(0x3b8)](_0x301fa2),this['_transformSelections'](_0x38a9d4),this['_syncEditingCollabCursor'](_0x38a9d4),this['_incrementRevisionNumber']();}}exports[_0x1a8f07(0x289)]=class extends _e{constructor(_0x474341,_0x2eb931,_0x203592,_0x7ca90b,_0x3e416b,_0x2f6453,_0x337713,_0xd06944,_0xf80367,_0x16602a){var _0x10c477=_0x1a8f07;super(_0x474341,_0x2eb931,null,[],_0x203592,_0x337713,_0x2f6453,_0x7ca90b,_0x16602a),D(this,'status',_0x10c477(0x2fa)),(this[_0x10c477(0x3ee)]=_0x3e416b,this[_0x10c477(0x2c0)]=_0xd06944,this[_0x10c477(0xd0)]=_0xf80367,this[_0x10c477(0x3cd)]=_0x16602a);}['appendMutation'](_0x597f14){var _0x921f92=_0x1a8f07;const _0x5cc480=this[_0x921f92(0x3ee)][_0x921f92(0x199)](exports[_0x921f92(0x2be)],this[_0x921f92(0x344)],this[_0x921f92(0x2e8)],[_0x597f14],this[_0x921f92(0x1cf)]);return _0x5cc480[_0x921f92(0x161)](),_0x5cc480[_0x921f92(0x287)](),_0x5cc480;}[_0x1a8f07(0x1ef)](_0x148a6b){var _0x15e6fa=_0x1a8f07;if(this['_checkMissing'](_0x148a6b))return this['_injector'][_0x15e6fa(0x199)](exports[_0x15e6fa(0x447)],this['unitID'],this[_0x15e6fa(0x2e8)],null,[],null,[_0x148a6b],this['_handler']);try{const _0x243474=this[_0x15e6fa(0xd0)][_0x15e6fa(0x10b)](_0x148a6b,[yn]);if(m['isTransformMutationsWithChangesetSuccess'](_0x243474)){const {c1Prime:_0x3fb25a}=_0x243474;return this[_0x15e6fa(0xcd)](_0x3fb25a),this;}throw _0x243474[_0x15e6fa(0x405)];}catch(_0x41c070){return this[_0x15e6fa(0x2c0)]['error'](_0x41c070),this[_0x15e6fa(0x1e2)](!0x1);}}[_0x1a8f07(0x1e2)](_0xf2a381){var _0x31a136=_0x1a8f07;return this['_injector'][_0x31a136(0x199)](exports[_0x31a136(0x3fc)],this[_0x31a136(0x344)],this[_0x31a136(0x2e8)],null,[],this[_0x31a136(0x1cf)],_0xf2a381);}[_0x1a8f07(0x3f6)](){var _0x53bd61=_0x1a8f07;throw new Error(_0x53bd61(0x281));}['onRemoteRej'](){var _0xa34a6c=_0x1a8f07;throw new Error(_0xa34a6c(0x2bc));}[_0x1a8f07(0x376)](){return this;}['toggleOffline'](){var _0x47e0b7=_0x1a8f07;return this[_0x47e0b7(0x3ee)][_0x47e0b7(0x199)](exports[_0x47e0b7(0x256)],this[_0x47e0b7(0x344)],this[_0x47e0b7(0x2e8)],null,[],this[_0x47e0b7(0x1cf)]);}['toggleOnline'](){return this;}[_0x1a8f07(0x1e7)](){var _0x11610c=_0x1a8f07;throw new Error(_0x11610c(0x1f6));}['fetchMiss'](){var _0x2a06d1=_0x1a8f07;const _0x2f4eef=this['_revisionService'][_0x2a06d1(0x237)](this[_0x2a06d1(0x344)]);return this[_0x2a06d1(0x1cf)]['onMissingChangesets']({'from':_0x2f4eef,'to':0x0}),this[_0x2a06d1(0x3ee)][_0x2a06d1(0x199)](exports['FetchingMissState'],this['unitID'],this[_0x2a06d1(0x2e8)],null,[],null,[],this[_0x2a06d1(0x1cf)]);}},exports[_0x1a8f07(0x289)]=le([A(0x3,a['Inject'](m[_0x1a8f07(0x433)])),A(0x4,a[_0x1a8f07(0x16f)](a[_0x1a8f07(0x324)])),A(0x5,a[_0x1a8f07(0xed)]),A(0x6,a['ICommandService']),A(0x7,a[_0x1a8f07(0x168)]),A(0x8,m[_0x1a8f07(0x3e8)]),A(0x9,a[_0x1a8f07(0x41f)](z))],exports[_0x1a8f07(0x289)]),exports[_0x1a8f07(0x2be)]=class extends _e{constructor(_0x23de9b,_0x1f7fc1,_0x38ca5b,_0x4dafe5,_0xf647fc,_0x5d31c7,_0x335479,_0x4bbf65,_0x5c251e,_0x2b8b3c,_0x666e25,_0x28c9ea,_0x21441f,_0x530f48){var _0x580603=_0x1a8f07;super(_0x23de9b,_0x1f7fc1,null,_0x38ca5b,_0x4dafe5,_0x5c251e,_0x21441f,_0x5d31c7,_0x530f48),D(this,'status','pending'),D(this,_0x580603(0x1c3),null),D(this,_0x580603(0x1de),null),(this['_injector']=_0xf647fc,this['_memberService']=_0x335479,this['_logService']=_0x4bbf65,this[_0x580603(0x163)]=_0x2b8b3c,this[_0x580603(0xd0)]=_0x666e25,this[_0x580603(0x339)]=_0x28c9ea);}[_0x1a8f07(0x29a)](_0x49b0fa){var _0x1ac016=_0x1a8f07;return this[_0x1ac016(0x34e)][_0x1ac016(0x33d)](_0x49b0fa),this[_0x1ac016(0x287)](),this;}[_0x1a8f07(0x1ef)](_0x1528de){var _0x746925=_0x1a8f07;if(this[_0x746925(0x436)](_0x1528de))return this[_0x746925(0x310)](),this[_0x746925(0x3ee)][_0x746925(0x199)](exports[_0x746925(0x447)],this[_0x746925(0x344)],this['type'],null,this[_0x746925(0x34e)],null,[_0x1528de],this[_0x746925(0x1cf)]);try{const _0x543ecb=this[_0x746925(0xd0)][_0x746925(0x10b)](_0x1528de,this[_0x746925(0x34e)]);if(m['isTransformMutationsWithChangesetSuccess'](_0x543ecb)){const {c1Prime:_0x4ca626,m2Prime:_0x135e10}=_0x543ecb;this[_0x746925(0xcd)](_0x4ca626);const _0xd0b34f=this[_0x746925(0x3ee)][_0x746925(0x199)](exports[_0x746925(0x2be)],this[_0x746925(0x344)],this[_0x746925(0x2e8)],_0x135e10,this[_0x746925(0x1cf)]);this[_0x746925(0x310)]();const _0x54ab0a=new Date()[_0x746925(0x304)](),_0x2c2b06=this[_0x746925(0x1c3)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x54ab0a,0x0):this[_0x746925(0x184)]();return _0xd0b34f[_0x746925(0x161)](_0x2c2b06),_0xd0b34f;}throw _0x543ecb[_0x746925(0x405)];}catch(_0x4e7c40){return this[_0x746925(0x2c0)][_0x746925(0x405)](_0x4e7c40),this[_0x746925(0x1e2)](!0x1);}}[_0x1a8f07(0x3f6)](){var _0x5e9318=_0x1a8f07;throw new Error(_0x5e9318(0x262));}[_0x1a8f07(0x109)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x33e00a=_0x1a8f07;return this['_clearScheduledTask'](),this[_0x33e00a(0x3ee)][_0x33e00a(0x199)](exports['OfflineState'],this['unitID'],this[_0x33e00a(0x2e8)],null,this[_0x33e00a(0x34e)],this[_0x33e00a(0x1cf)]);}[_0x1a8f07(0x367)](){return this;}[_0x1a8f07(0x161)](_0x34eeec){var _0x55660d=_0x1a8f07;const _0x18b062=_0x34eeec!=null?_0x34eeec:this[_0x55660d(0x184)]();this[_0x55660d(0x1c3)]=new Date()['getTime']()+_0x18b062,this[_0x55660d(0x1de)]=setTimeout(()=>{var _0x3371d4=_0x55660d;this[_0x3371d4(0x310)]();let _0xb36a22=null;switch(this[_0x3371d4(0x2e8)]){case Z['UNIVER_SHEET']:{_0xb36a22=Je(this[_0x3371d4(0x34e)],this[_0x3371d4(0x344)],this[_0x3371d4(0x339)],this[_0x3371d4(0x28a)],this['_memberService']);break;}case Z[_0x3371d4(0x3b3)]:{this[_0x3371d4(0x34e)][_0x3371d4(0x37e)](_0x23c526=>_0x23c526['id']===dt[_0x3371d4(0x425)]['id'])?_0xb36a22=On(this[_0x3371d4(0x34e)],this[_0x3371d4(0x344)],this[_0x3371d4(0x339)],this[_0x3371d4(0x28a)],this[_0x3371d4(0x106)]):_0xb36a22=Je(this[_0x3371d4(0x34e)],this[_0x3371d4(0x344)],this[_0x3371d4(0x339)],this[_0x3371d4(0x28a)],this[_0x3371d4(0x106)]);break;}default:throw new Error(_0x3371d4(0x212)+this[_0x3371d4(0x2e8)]+_0x3371d4(0x23c));}const {changeset:_0x18d503,pendingMutations:_0x8fe71f}=_0xb36a22;this[_0x3371d4(0x1cf)][_0x3371d4(0x3e5)](_0x18d503);const _0xc5124=_0x8fe71f[_0x3371d4(0x144)]?this[_0x3371d4(0x3ee)][_0x3371d4(0x199)](exports[_0x3371d4(0x117)],this[_0x3371d4(0x344)],this[_0x3371d4(0x2e8)],_0x18d503,_0x8fe71f,this[_0x3371d4(0x1cf)],void 0x0):this[_0x3371d4(0x3ee)][_0x3371d4(0x199)](exports[_0x3371d4(0x20f)],this[_0x3371d4(0x344)],this[_0x3371d4(0x2e8)],_0x18d503,this[_0x3371d4(0x1cf)]);_0xc5124['_updateLocalCache'](),this[_0x3371d4(0x1cf)][_0x3371d4(0x248)](this,_0xc5124);},_0x18b062);}[_0x1a8f07(0x184)](){var _0x2997c3=_0x1a8f07,_0x4e4289;const _0x3ed7e2=this[_0x2997c3(0x163)][_0x2997c3(0x394)](Y);return(_0x4e4289=_0x3ed7e2==null?void 0x0:_0x3ed7e2[_0x2997c3(0x11c)])!=null?_0x4e4289:Bt;}[_0x1a8f07(0x1e7)](){var _0x1aefe5=_0x1a8f07;throw new Error(_0x1aefe5(0x39c));}[_0x1a8f07(0x310)](){var _0x2cd24f=_0x1a8f07;this[_0x2cd24f(0x1de)]!=null&&(clearTimeout(this[_0x2cd24f(0x1de)]),this[_0x2cd24f(0x1de)]=null);}[_0x1a8f07(0x1e2)](_0x3b43f7){var _0x17846f=_0x1a8f07;return this[_0x17846f(0x310)](),this[_0x17846f(0x3ee)]['createInstance'](exports[_0x17846f(0x3fc)],this[_0x17846f(0x344)],this[_0x17846f(0x2e8)],null,this['_pendingMutations'],this[_0x17846f(0x1cf)],_0x3b43f7);}},exports[_0x1a8f07(0x2be)]=le([A(0x4,a[_0x1a8f07(0x16f)](a[_0x1a8f07(0x324)])),A(0x5,a[_0x1a8f07(0x16f)](m['RevisionService'])),A(0x6,a[_0x1a8f07(0x16f)](exports['MemberService'])),A(0x7,a[_0x1a8f07(0x168)]),A(0x8,a[_0x1a8f07(0x1ce)]),A(0x9,a[_0x1a8f07(0x312)]),A(0xa,m[_0x1a8f07(0x3e8)]),A(0xb,a['IUniverInstanceService']),A(0xc,a['IUndoRedoService']),A(0xd,a[_0x1a8f07(0x41f)](z))],exports['PendingState']),exports['AwaitingState']=class extends _e{constructor(_0x1974cf,_0x433867,_0x1d88a3,_0x97e6fb,_0x25ff12,_0x98bfa3,_0x25792e,_0x516365,_0x1210f1,_0x5721e8,_0xedaea8){var _0x26ccfb=_0x1a8f07;super(_0x1974cf,_0x433867,_0x1d88a3,[],_0x97e6fb,_0x25792e,_0x5721e8,_0x98bfa3,_0xedaea8),D(this,_0x26ccfb(0x1f1),_0x26ccfb(0x30f)),D(this,'_resendTimeout',0x0),D(this,_0x26ccfb(0x329)),D(this,_0x26ccfb(0x311)),(this['_injector']=_0x25ff12,this[_0x26ccfb(0x2c0)]=_0x516365,this['_transformService']=_0x1210f1);}[_0x1a8f07(0x29a)](_0x10488d){var _0x279fcf=_0x1a8f07;this['_clearScheduledTask']();const _0x462ff9=this[_0x279fcf(0x3ee)]['createInstance'](exports[_0x279fcf(0x117)],this[_0x279fcf(0x344)],this[_0x279fcf(0x2e8)],this['_awaitingChangeset'],[_0x10488d],this[_0x279fcf(0x1cf)],this['_resendTimer']);return _0x462ff9[_0x279fcf(0x287)](),_0x462ff9;}[_0x1a8f07(0x1ef)](_0x196b6e){var _0x4dc684=_0x1a8f07;if(this[_0x4dc684(0x436)](_0x196b6e))return this[_0x4dc684(0x310)](),this[_0x4dc684(0x3ee)][_0x4dc684(0x199)](exports[_0x4dc684(0x447)],this['unitID'],this[_0x4dc684(0x2e8)],this['_awaitingChangeset'],[],null,[_0x196b6e],this[_0x4dc684(0x1cf)]);try{const _0x45d797=this[_0x4dc684(0xd0)][_0x4dc684(0x3cf)]([_0x196b6e],[this[_0x4dc684(0x2f0)]],!0x1);if(m[_0x4dc684(0x369)](_0x45d797)){const {c1Prime:_0x493536,c2Prime:_0xd44edb}=_0x45d797;this[_0x4dc684(0xcd)](_0x493536[0x0]),_0xd44edb[0x0]['baseRev']=this[_0x4dc684(0x42f)](),this[_0x4dc684(0x310)]();const _0x4f7285=this[_0x4dc684(0x3ee)][_0x4dc684(0x199)](exports['AwaitingState'],this['unitID'],this['type'],_0xd44edb[0x0],this[_0x4dc684(0x1cf)]);return _0x4f7285[_0x4dc684(0x287)](),_0x4f7285;}return this[_0x4dc684(0x1e2)](!0x1);}catch(_0x4232bb){return this['_logService'][_0x4dc684(0x405)](_0x4232bb),this[_0x4dc684(0x1e2)](!0x1);}}['onRemoteAck'](_0x80ef23){var _0x3ef762=_0x1a8f07;this[_0x3ef762(0x310)]();const _0x2e47ba=this[_0x3ef762(0x28a)]['getCurrentRevOfUnit'](this[_0x3ef762(0x344)]);if(_0x80ef23['revision']<_0x2e47ba-0x1)return this;if(this['_checkMissing'](_0x80ef23))return this[_0x3ef762(0x3ee)]['createInstance'](exports[_0x3ef762(0x447)],this['unitID'],this['type'],null,[],this[_0x3ef762(0x2f0)],[],this[_0x3ef762(0x1cf)]);this['_incrementRevisionNumber']();const _0x469653=this[_0x3ef762(0x3ee)][_0x3ef762(0x199)](exports['SyncedState'],this[_0x3ef762(0x344)],this[_0x3ef762(0x2e8)],this[_0x3ef762(0x1cf)]);return _0x469653['_updateLocalCache'](),_0x469653;}[_0x1a8f07(0x109)](_0x519a40){var _0x99d1d0=_0x1a8f07;return this[_0x99d1d0(0x1e2)](!!(_0x519a40!=null&&_0x519a40[_0x99d1d0(0x2f9)]));}[_0x1a8f07(0x376)](_0x31d67d){var _0x31ad56=_0x1a8f07;return this[_0x31ad56(0x188)]>Ut?this['toggleOffline']():(this[_0x31ad56(0x329)]=Nt(this[_0x31ad56(0x188)],{'timeout':this[_0x31ad56(0x188)],'reqId':_0x31d67d['reqId']}),this[_0x31ad56(0x311)]=this['_resendTimer'][_0x31ad56(0x249)](({reqId:_0x458a70,timeout:_0x415a1b})=>{this['_resendWithTimeout'](_0x458a70,_0x415a1b);}),this);}[_0x1a8f07(0x3c3)](){var _0x42bca9=_0x1a8f07;return this['_clearScheduledTask'](),this['_injector'][_0x42bca9(0x199)](exports['OfflineState'],this['unitID'],this['type'],this[_0x42bca9(0x2f0)],[],this[_0x42bca9(0x1cf)]);}['toggleOnline'](){return this;}[_0x1a8f07(0x1e7)](){var _0x5f5d4f=_0x1a8f07;this['_handler'][_0x5f5d4f(0x3e5)](this['_awaitingChangeset']);}['_onConflict'](_0x14eca4){var _0x45fb9d=_0x1a8f07;return this['_clearScheduledTask'](),this['_injector'][_0x45fb9d(0x199)](exports[_0x45fb9d(0x3fc)],this[_0x45fb9d(0x344)],this[_0x45fb9d(0x2e8)],this[_0x45fb9d(0x2f0)],[],this[_0x45fb9d(0x1cf)],_0x14eca4);}[_0x1a8f07(0x34d)](_0x281a76,_0x21a00a){var _0x26c7b3=_0x1a8f07,_0xd16abb;_0x281a76===((_0xd16abb=this['_awaitingChangeset'])==null?void 0x0:_0xd16abb[_0x26c7b3(0x1e6)])&&(this['resend'](),this[_0x26c7b3(0x188)]=_0x21a00a===0x0?0x3e8:_0x21a00a*0x2);}[_0x1a8f07(0x310)](){var _0x3e1cd4=_0x1a8f07,_0x44393;(_0x44393=this['_sender'])==null||_0x44393[_0x3e1cd4(0x307)](),this[_0x3e1cd4(0x188)]=0x0;}},exports['AwaitingState']=le([A(0x4,a[_0x1a8f07(0x16f)](a['Injector'])),A(0x5,a[_0x1a8f07(0x16f)](m['RevisionService'])),A(0x6,a[_0x1a8f07(0x1ce)]),A(0x7,a[_0x1a8f07(0x168)]),A(0x8,m[_0x1a8f07(0x3e8)]),A(0x9,a['IUndoRedoService']),A(0xa,a[_0x1a8f07(0x41f)](z))],exports[_0x1a8f07(0x20f)]),exports[_0x1a8f07(0x117)]=class extends _e{constructor(_0x2b3292,_0x46c195,_0x248fd8,_0x4af7af,_0x20c0e9,_0x55e08b,_0x2071f6,_0x51dcb8,_0x5d7c90,_0xec746a,_0x53556e,_0x446c3c,_0xaa49ab){var _0x39f6e7=_0x1a8f07;super(_0x2b3292,_0x46c195,_0x248fd8,_0x4af7af,_0x20c0e9,_0x5d7c90,_0x446c3c,_0x51dcb8,_0xaa49ab),D(this,_0x39f6e7(0x1f1),_0x39f6e7(0x3b0)),D(this,'_resendTimeout',0x0),D(this,_0x39f6e7(0x329)),D(this,_0x39f6e7(0x311)),(this[_0x39f6e7(0x3ee)]=_0x2071f6,this[_0x39f6e7(0x2c0)]=_0xec746a,this[_0x39f6e7(0xd0)]=_0x53556e,this[_0x39f6e7(0x3cd)]=_0xaa49ab,_0x55e08b&&(this[_0x39f6e7(0x329)]=_0x55e08b,this[_0x39f6e7(0x311)]=this[_0x39f6e7(0x329)][_0x39f6e7(0x249)](({reqId:_0x33c2dc,timeout:_0x20ea0d})=>{var _0x2c6aa8=_0x39f6e7;this[_0x2c6aa8(0x34d)](_0x33c2dc,_0x20ea0d);})));}['appendMutation'](_0x5ec3de){var _0x2658e0=_0x1a8f07;return this[_0x2658e0(0x34e)][_0x2658e0(0x33d)](_0x5ec3de),this;}[_0x1a8f07(0x1ef)](_0x1b490b){var _0x4aca7c=_0x1a8f07;if(this[_0x4aca7c(0x436)](_0x1b490b))return this['_clearScheduledTask'](),this[_0x4aca7c(0x3ee)][_0x4aca7c(0x199)](exports['FetchingMissState'],this['unitID'],this[_0x4aca7c(0x2e8)],this[_0x4aca7c(0x2f0)],this[_0x4aca7c(0x34e)],null,[_0x1b490b],this['_handler']);try{const _0x3f5221=this[_0x4aca7c(0xd0)][_0x4aca7c(0x3cf)]([_0x1b490b],[this[_0x4aca7c(0x2f0)]],!0x1);if(m[_0x4aca7c(0x369)](_0x3f5221)){const {c1Prime:_0x8a468,c2Prime:_0x44c894}=_0x3f5221,_0x4a3a69=this[_0x4aca7c(0xd0)][_0x4aca7c(0x10b)](_0x8a468[0x0],this['_pendingMutations']);if(m[_0x4aca7c(0x358)](_0x4a3a69)){const {c1Prime:_0x57a051,m2Prime:_0x5ef940}=_0x4a3a69;return this['_executeRemoteChangeset'](_0x57a051),_0x44c894[0x0][_0x4aca7c(0x36a)]=this[_0x4aca7c(0x42f)](),this['_clearScheduledTask'](),this[_0x4aca7c(0x3ee)]['createInstance'](exports[_0x4aca7c(0x117)],this['unitID'],this[_0x4aca7c(0x2e8)],_0x44c894[0x0],_0x5ef940,this['_handler'],void 0x0);}throw _0x4a3a69['error'];}throw _0x3f5221['error'];}catch(_0x31d202){return this[_0x4aca7c(0x2c0)][_0x4aca7c(0x405)](_0x31d202),this[_0x4aca7c(0x1e2)](!0x1);}}['onRemoteAck'](_0x284fda){var _0x67ebb4=_0x1a8f07;if(this[_0x67ebb4(0x310)](),this[_0x67ebb4(0x436)](_0x284fda))return this[_0x67ebb4(0x3ee)][_0x67ebb4(0x199)](exports[_0x67ebb4(0x447)],this[_0x67ebb4(0x344)],this['type'],null,this[_0x67ebb4(0x34e)],this[_0x67ebb4(0x2f0)],[],this[_0x67ebb4(0x1cf)]);this[_0x67ebb4(0x3cc)]();const _0x418cbc=this[_0x67ebb4(0x3ee)]['createInstance'](exports[_0x67ebb4(0x2be)],this['unitID'],this['type'],this[_0x67ebb4(0x34e)],this[_0x67ebb4(0x1cf)]);return _0x418cbc['_schedule'](),_0x418cbc[_0x67ebb4(0x287)](),_0x418cbc;}[_0x1a8f07(0x109)](_0xf262f5){var _0x36bb4e=_0x1a8f07;return this[_0x36bb4e(0x1e2)](!!(_0xf262f5!=null&&_0xf262f5[_0x36bb4e(0x2f9)]));}[_0x1a8f07(0x376)](_0x5653b9){var _0x55a8a1=_0x1a8f07;return this[_0x55a8a1(0x188)]>Ut?this['toggleOffline']():(this[_0x55a8a1(0x329)]=Nt(this[_0x55a8a1(0x188)],{'timeout':this[_0x55a8a1(0x188)],'reqId':_0x5653b9[_0x55a8a1(0x1e6)]}),this['_sender']=this[_0x55a8a1(0x329)][_0x55a8a1(0x249)](({reqId:_0x1679cc,timeout:_0x4c2e67})=>{var _0x5ed967=_0x55a8a1;this[_0x5ed967(0x34d)](_0x1679cc,_0x4c2e67);}),this);}[_0x1a8f07(0x3c3)](){var _0x5c3680=_0x1a8f07;return this[_0x5c3680(0x310)](),this['_injector'][_0x5c3680(0x199)](exports[_0x5c3680(0x256)],this[_0x5c3680(0x344)],this['type'],this[_0x5c3680(0x2f0)],this[_0x5c3680(0x34e)],this['_handler']);}[_0x1a8f07(0x367)](){return this;}[_0x1a8f07(0x1e7)](){var _0x1a214a=_0x1a8f07;this[_0x1a214a(0x1cf)][_0x1a214a(0x3e5)](this['_awaitingChangeset']);}[_0x1a8f07(0x1e2)](_0x5d4867){var _0x5631a9=_0x1a8f07;return this[_0x5631a9(0x310)](),this[_0x5631a9(0x3ee)][_0x5631a9(0x199)](exports[_0x5631a9(0x3fc)],this[_0x5631a9(0x344)],this[_0x5631a9(0x2e8)],null,this[_0x5631a9(0x34e)],this['_handler'],_0x5d4867);}[_0x1a8f07(0x34d)](_0x51ff72,_0x1e0681){var _0x41bf5c=_0x1a8f07,_0x3dc07e;_0x51ff72===((_0x3dc07e=this[_0x41bf5c(0x2f0)])==null?void 0x0:_0x3dc07e[_0x41bf5c(0x1e6)])&&(this[_0x41bf5c(0x1e7)](),this['_resendTimeout']=_0x1e0681===0x0?0x3e8:_0x1e0681*0x2);}['_clearScheduledTask'](){var _0x33d9fc=_0x1a8f07,_0x541a25;(_0x541a25=this[_0x33d9fc(0x311)])==null||_0x541a25[_0x33d9fc(0x307)](),this[_0x33d9fc(0x188)]=0x0;}},exports[_0x1a8f07(0x117)]=le([A(0x6,a['Inject'](a['Injector'])),A(0x7,a[_0x1a8f07(0x16f)](m[_0x1a8f07(0x433)])),A(0x8,a[_0x1a8f07(0x1ce)]),A(0x9,a[_0x1a8f07(0x168)]),A(0xa,m[_0x1a8f07(0x3e8)]),A(0xb,a[_0x1a8f07(0xed)]),A(0xc,a['Optional'](z))],exports['AwaitingWithPendingState']),exports[_0x1a8f07(0x3fc)]=class extends _e{constructor(_0x4b25f4,_0x3c0112,_0x3edf6d,_0x4dd755,_0x1ea70a,_0x2cbdf2=!0x1,_0x3ef956,_0x427e55,_0x35f2da,_0x59f53e,_0xba1313,_0x305004,_0x4c5cc7){var _0x131691=_0x1a8f07;super(_0x4b25f4,_0x3c0112,_0x3edf6d,_0x4dd755,_0x1ea70a,_0x427e55,_0x35f2da,_0x59f53e,_0x4c5cc7),D(this,_0x131691(0x1f1),'conflict'),(this['_isPermissionRej']=_0x2cbdf2,this['_permissionService']=_0x3ef956,this[_0x131691(0x10f)]=_0xba1313,this[_0x131691(0x286)]=_0x305004,this[_0x131691(0x3cd)]=_0x4c5cc7,this[_0x131691(0x33e)](),this[_0x131691(0x3ff)](),this[_0x131691(0x25d)]());}[_0x1a8f07(0x29a)](){return this;}[_0x1a8f07(0x1ef)](){return this;}[_0x1a8f07(0x3f6)](){return this;}['onRemoteRej'](){return this;}[_0x1a8f07(0x376)](){return this;}[_0x1a8f07(0x3c3)](){return this;}[_0x1a8f07(0x367)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1a8f07(0x3ff)](){var _0x4f8cb1=_0x1a8f07,_0x1e5f40;(_0x1e5f40=this[_0x4f8cb1(0x2d0)])==null||_0x1e5f40['updateOfflineData'](this[_0x4f8cb1(0x344)],this[_0x4f8cb1(0x2e8)],null,[]);}[_0x1a8f07(0x33e)](){var _0x21f731=_0x1a8f07;this['_isPermissionRej']?this[_0x21f731(0x286)][_0x21f731(0x151)]({'id':Q[_0x21f731(0x246)]}):this[_0x21f731(0x286)][_0x21f731(0x151)]({'id':Q['CONFLICT']});}[_0x1a8f07(0x25d)](){var _0x57e961=_0x1a8f07;this[_0x57e961(0x148)][_0x57e961(0x203)](new J[(_0x57e961(0x356))](this[_0x57e961(0x344)])['id'],!0x1);}},exports[_0x1a8f07(0x3fc)]=le([A(0x6,a[_0x1a8f07(0x16f)](a[_0x1a8f07(0x2c3)])),A(0x7,a[_0x1a8f07(0x1ce)]),A(0x8,a[_0x1a8f07(0xed)]),A(0x9,a[_0x1a8f07(0x16f)](m['RevisionService'])),A(0xa,a[_0x1a8f07(0x16f)](a['LocaleService'])),A(0xb,a[_0x1a8f07(0x16f)](te)),A(0xc,a[_0x1a8f07(0x41f)](z))],exports[_0x1a8f07(0x3fc)]),exports[_0x1a8f07(0x256)]=class extends _e{constructor(_0x3bcb2f,_0x30de85,_0x31beb6,_0x3cd533,_0xf6bec0,_0x14b844,_0x1dea4d,_0x387209,_0x384378,_0xd65f62){var _0x37d76f=_0x1a8f07;super(_0x3bcb2f,_0x30de85,_0x31beb6,_0x3cd533,_0xf6bec0,_0x387209,_0x384378,_0x1dea4d,_0xd65f62),D(this,_0x37d76f(0x1f1),_0x37d76f(0x2cd)),this[_0x37d76f(0x3ee)]=_0x14b844;}[_0x1a8f07(0x29a)](_0x1b6210){var _0x58c8a1=_0x1a8f07;return this[_0x58c8a1(0x34e)][_0x58c8a1(0x33d)](_0x1b6210),this[_0x58c8a1(0x287)](),this;}[_0x1a8f07(0x1ef)](_0x129992){var _0x17b66a=_0x1a8f07;throw new Error(_0x17b66a(0x3ea));}[_0x1a8f07(0x3f6)](){var _0x4519c1=_0x1a8f07;throw new Error(_0x4519c1(0x31b));}[_0x1a8f07(0x109)](){var _0x2868b3=_0x1a8f07;throw new Error(_0x2868b3(0xc0));}['onRemoteRetry'](){return this;}[_0x1a8f07(0x3c3)](){return this;}[_0x1a8f07(0x367)](){var _0x5229b8=_0x1a8f07;const {_injector:_0x4ec352,_pendingMutations:_0x3eb49d,_awaitingChangeset:_0x46669b,unitID:_0x1c92ca,_handler:_0x146be9,type:_0x184416}=this,_0x36ca01=Pt(_0x4ec352,_0x1c92ca,_0x184416,_0x46669b,_0x3eb49d,_0x146be9);return _0x36ca01 instanceof exports['PendingState']?_0x36ca01[_0x5229b8(0x161)]():(_0x36ca01 instanceof exports[_0x5229b8(0x117)]||_0x36ca01 instanceof exports['AwaitingState'])&&_0x36ca01[_0x5229b8(0x1e7)](),_0x36ca01;}[_0x1a8f07(0x1e7)](){var _0x446c5c=_0x1a8f07;throw new Error(_0x446c5c(0x20d));}},exports['OfflineState']=le([A(0x5,a['Inject'](a[_0x1a8f07(0x324)])),A(0x6,a[_0x1a8f07(0x16f)](m[_0x1a8f07(0x433)])),A(0x7,a[_0x1a8f07(0x1ce)]),A(0x8,a[_0x1a8f07(0xed)]),A(0x9,a[_0x1a8f07(0x41f)](z))],exports[_0x1a8f07(0x256)]),exports[_0x1a8f07(0x447)]=class extends _e{constructor(_0x4f0cb3,_0x911a79,_0x2cd80b,_0x3c9434,_0x21842a,_0x57049c,_0x3dc7a9,_0x483a77,_0x2f3798,_0x2f70ad,_0xca67f5,_0x13988a,_0x29c366,_0x482d82){var _0x3210be=_0x1a8f07;super(_0x4f0cb3,_0x911a79,_0x2cd80b,_0x3c9434,_0x3dc7a9,_0xca67f5,_0x13988a,_0x2f3798,_0x482d82),D(this,_0x3210be(0x1f1),_0x3210be(0x419)),(this[_0x3210be(0x27f)]=_0x21842a,this[_0x3210be(0x41d)]=_0x57049c,this[_0x3210be(0x3ee)]=_0x483a77,this['_logService']=_0x2f70ad,this[_0x3210be(0xd0)]=_0x29c366,this[_0x3210be(0x3cd)]=_0x482d82);}[_0x1a8f07(0x11f)](_0x3383b8){var _0x19bfc4=_0x1a8f07;try{const _0x1a256e=[..._0x3383b8,...this[_0x19bfc4(0x41d)]],_0x2a09d1=[this[_0x19bfc4(0x2f0)]||this[_0x19bfc4(0x27f)]][_0x19bfc4(0x2ea)](_0x495fc1=>!!_0x495fc1);let _0x52d160,_0xd99e1a;if(_0x2a09d1[_0x19bfc4(0x144)]){const _0x3444ca=this['_transformService'][_0x19bfc4(0x3cf)](_0x1a256e,_0x2a09d1,!0x1);if(!m[_0x19bfc4(0x369)](_0x3444ca))throw _0x3444ca[_0x19bfc4(0x405)];_0x52d160=_0x3444ca[_0x19bfc4(0x3d8)],_0xd99e1a=_0x3444ca[_0x19bfc4(0x255)];}else _0x52d160=_0x1a256e,_0xd99e1a=[];let _0x5762cd=this[_0x19bfc4(0x34e)];_0x52d160[_0x19bfc4(0x127)](_0x323908=>{var _0x5983f8=_0x19bfc4;let _0x2cfd4a;if(_0x5762cd[_0x5983f8(0x144)]){const _0x106b4b=this[_0x5983f8(0xd0)]['transformMutationsWithChangeset'](_0x323908,_0x5762cd);if(!m[_0x5983f8(0x358)](_0x106b4b))throw _0x106b4b[_0x5983f8(0x405)];_0x2cfd4a=_0x106b4b[_0x5983f8(0x3d8)],_0x5762cd=_0x106b4b[_0x5983f8(0x323)];}else _0x2cfd4a=_0x323908;this[_0x5983f8(0xcd)](_0x2cfd4a);}),this[_0x19bfc4(0x27f)]&&this[_0x19bfc4(0x3cc)](),this[_0x19bfc4(0x2f0)]&&_0xd99e1a[_0x19bfc4(0x144)]&&(_0xd99e1a[0x0]['baseRev']=this['_getCurrentRevision']());let _0x2e38e1;if(this['_awaitingChangeset']&&_0x5762cd[_0x19bfc4(0x144)]!==0x0)_0x2e38e1=this[_0x19bfc4(0x3ee)][_0x19bfc4(0x199)](exports['AwaitingWithPendingState'],this[_0x19bfc4(0x344)],this[_0x19bfc4(0x2e8)],_0xd99e1a[0x0],_0x5762cd,this[_0x19bfc4(0x1cf)],void 0x0);else{if(this[_0x19bfc4(0x2f0)]&&_0x5762cd[_0x19bfc4(0x144)]===0x0)_0xd99e1a[0x0][_0x19bfc4(0x36a)]=this[_0x19bfc4(0x42f)](),_0x2e38e1=this[_0x19bfc4(0x3ee)]['createInstance'](exports[_0x19bfc4(0x20f)],this[_0x19bfc4(0x344)],this[_0x19bfc4(0x2e8)],_0xd99e1a[0x0],this[_0x19bfc4(0x1cf)]);else{if(_0x5762cd[_0x19bfc4(0x144)]!==0x0){const _0x412af2=this[_0x19bfc4(0x3ee)][_0x19bfc4(0x199)](exports[_0x19bfc4(0x2be)],this['unitID'],this['type'],_0x5762cd,this['_handler']);_0x412af2[_0x19bfc4(0x161)](),_0x2e38e1=_0x412af2;}else _0x2e38e1=this[_0x19bfc4(0x3ee)][_0x19bfc4(0x199)](exports[_0x19bfc4(0x289)],this[_0x19bfc4(0x344)],this[_0x19bfc4(0x2e8)],this[_0x19bfc4(0x1cf)]);}}return _0x2e38e1[_0x19bfc4(0x287)](),_0x2e38e1;}catch(_0x42c399){return this[_0x19bfc4(0x2c0)][_0x19bfc4(0x405)](_0x19bfc4(0x389),_0x19bfc4(0x34b),_0x42c399),this[_0x19bfc4(0x3ee)][_0x19bfc4(0x199)](exports[_0x19bfc4(0x3fc)],this[_0x19bfc4(0x344)],this['type'],this[_0x19bfc4(0x2f0)],this[_0x19bfc4(0x34e)],this[_0x19bfc4(0x1cf)],!0x1);}}[_0x1a8f07(0x1e7)](){var _0x3f5d9f=_0x1a8f07;throw new Error(_0x3f5d9f(0x331));}['appendMutation'](_0x2a41cc){var _0x102bea=_0x1a8f07;return this['_pendingMutations'][_0x102bea(0x33d)](_0x2a41cc),this;}[_0x1a8f07(0x1ef)](_0x52f6e2){var _0x31eac6=_0x1a8f07;return this['_queuedRemoteChangesets'][_0x31eac6(0x33d)](_0x52f6e2),this;}[_0x1a8f07(0x3f6)](_0x1e90d9){var _0x4764cb=_0x1a8f07;if(this[_0x4764cb(0x2f0)])return this[_0x4764cb(0x27f)]=this['_awaitingChangeset'],this[_0x4764cb(0x2f0)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x1a8f07(0x109)](_0x19a537){var _0x2f9c07=_0x1a8f07;return this['_onConflict'](!!(_0x19a537!=null&&_0x19a537[_0x2f9c07(0x2f9)]));}[_0x1a8f07(0x376)](){return this;}['toggleOffline'](){var _0x205a2a=_0x1a8f07;return this[_0x205a2a(0x3ee)][_0x205a2a(0x199)](exports[_0x205a2a(0x256)],this[_0x205a2a(0x344)],this[_0x205a2a(0x2e8)],this[_0x205a2a(0x2f0)],this[_0x205a2a(0x34e)],this['_handler']);}[_0x1a8f07(0x367)](){return this;}[_0x1a8f07(0x1e2)](_0xfcbdac){var _0xa41f77=_0x1a8f07;return this[_0xa41f77(0x3ee)][_0xa41f77(0x199)](exports[_0xa41f77(0x3fc)],this[_0xa41f77(0x344)],this[_0xa41f77(0x2e8)],this[_0xa41f77(0x2f0)],this[_0xa41f77(0x34e)],this['_handler'],_0xfcbdac);}},exports['FetchingMissState']=le([A(0x7,a['Inject'](a['Injector'])),A(0x8,a[_0x1a8f07(0x16f)](m[_0x1a8f07(0x433)])),A(0x9,a['ILogService']),A(0xa,a[_0x1a8f07(0x1ce)]),A(0xb,a[_0x1a8f07(0xed)]),A(0xc,m[_0x1a8f07(0x3e8)]),A(0xd,a['Optional'](z))],exports[_0x1a8f07(0x447)]);function Pt(_0xd8c83a,_0x9a60a6,_0x166d4b,_0x29c760,_0x515f00,_0x3f33d7){var _0x285cce=_0x1a8f07;return _0x29c760&&_0x515f00[_0x285cce(0x144)]?_0xd8c83a[_0x285cce(0x199)](exports[_0x285cce(0x117)],_0x9a60a6,_0x166d4b,_0x29c760,_0x515f00,_0x3f33d7,void 0x0):_0x29c760?_0xd8c83a[_0x285cce(0x199)](exports[_0x285cce(0x20f)],_0x9a60a6,_0x166d4b,_0x29c760,_0x3f33d7):_0x515f00[_0x285cce(0x144)]?_0xd8c83a[_0x285cce(0x199)](exports[_0x285cce(0x2be)],_0x9a60a6,_0x166d4b,_0x515f00,_0x3f33d7):_0xd8c83a[_0x285cce(0x199)](exports['SyncedState'],_0x9a60a6,_0x166d4b,_0x3f33d7);}var Pn=Object['defineProperty'],Dn=Object[_0x1a8f07(0x2ca)],Ge=(_0x221e9b,_0x30914f,_0x5b8137,_0xb1eddd)=>{var _0x5e47d1=_0x1a8f07;for(var _0x378f8c=_0xb1eddd>0x1?void 0x0:_0xb1eddd?Dn(_0x30914f,_0x5b8137):_0x30914f,_0x1226e0=_0x221e9b[_0x5e47d1(0x144)]-0x1,_0x570de0;_0x1226e0>=0x0;_0x1226e0--)(_0x570de0=_0x221e9b[_0x1226e0])&&(_0x378f8c=(_0xb1eddd?_0x570de0(_0x30914f,_0x5b8137,_0x378f8c):_0x570de0(_0x378f8c))||_0x378f8c);return _0xb1eddd&&_0x378f8c&&Pn(_0x30914f,_0x5b8137,_0x378f8c),_0x378f8c;},k=(_0x440150,_0x1da3af)=>(_0x4d9287,_0x9d4998)=>_0x1da3af(_0x4d9287,_0x9d4998,_0x440150);exports[_0x1a8f07(0x1fd)]=class extends a['RxDisposable']{constructor(_0x37c154,_0x54d7a6,_0x43b077,_0x2c7b47,_0x3baa41,_0x1d12a6,_0x3e36e5,_0x1100d7,_0xf84bd5,_0x3d2214,_0xe90a5,_0x2ba04a,_0x521951){var _0x4b7c6c=_0x1a8f07;super(),D(this,'_state$',new H[(_0x4b7c6c(0x2d5))](null)),D(this,_0x4b7c6c(0x2e5),this[_0x4b7c6c(0x428)][_0x4b7c6c(0x333)]()),D(this,_0x4b7c6c(0x3b7)),D(this,'_collaborationPaused',!0x1),D(this,'_changesetSessionId',''),D(this,_0x4b7c6c(0x386),0x0),D(this,'status$',this[_0x4b7c6c(0x2e5)]['pipe'](H[_0x4b7c6c(0x290)](_0x29ac4a=>_0x29ac4a?_0x29ac4a[_0x4b7c6c(0x1f1)]:We[_0x4b7c6c(0x216)]),H['shareReplay'](0x1))),D(this,_0x4b7c6c(0x110),!0x1),D(this,_0x4b7c6c(0x2b5),[]),(this['unitID']=_0x37c154,this['session']=_0x54d7a6,this[_0x4b7c6c(0x29f)]=_0x43b077,this[_0x4b7c6c(0x3ee)]=_0x2c7b47,this[_0x4b7c6c(0x275)]=_0x3baa41,this[_0x4b7c6c(0x10f)]=_0x1d12a6,this[_0x4b7c6c(0x28a)]=_0x3e36e5,this[_0x4b7c6c(0x32b)]=_0x1100d7,this[_0x4b7c6c(0x2c0)]=_0xf84bd5,this[_0x4b7c6c(0x32d)]=_0x3d2214,this[_0x4b7c6c(0x148)]=_0xe90a5,this[_0x4b7c6c(0x1d3)]=_0x2ba04a,this['_localCacheService']=_0x521951);}get[_0x1a8f07(0x421)](){var _0x4f11cf=_0x1a8f07;return this[_0x4f11cf(0x3b7)];}async['init'](){var _0x16b4ac=_0x1a8f07;if(this['state'])throw new Error(_0x16b4ac(0x1c7));await this[_0x16b4ac(0x33a)]();}['pauseCollaboration'](){var _0x223ae3=_0x1a8f07;return this['_collaborationPaused']=!0x0,a[_0x223ae3(0x1f9)](()=>{var _0x40ccda=_0x223ae3;this[_0x40ccda(0x2ad)]=!0x1,this[_0x40ccda(0x452)]();});}['onLocalMutation'](_0x454346){this['_onLocalMutation'](_0x454346);}['_updateState'](_0x219cf9){var _0x2450c7=_0x1a8f07;this['_state']=_0x219cf9,this[_0x2450c7(0x428)]['next'](_0x219cf9);}async[_0x1a8f07(0x33a)](){var _0x272e96=_0x1a8f07,_0x749804;this[_0x272e96(0x143)](await this[_0x272e96(0x1e3)]()),this[_0x272e96(0x1d3)]&&((_0x749804=this[_0x272e96(0x1d3)])==null||_0x749804[_0x272e96(0x379)](this[_0x272e96(0x344)]),this[_0x272e96(0x3d0)](this[_0x272e96(0x1d3)][_0x272e96(0x3c6)](this['unitID'])[_0x272e96(0x249)](_0x2f4ee4=>{var _0x53c5ee=_0x272e96;this['_logService']['debug'](_0x53c5ee(0x1d5),_0x53c5ee(0x266),_0x2f4ee4),_0x2f4ee4===Fe[_0x53c5ee(0x2a4)]?(this['_eventService'][_0x53c5ee(0x151)]({'id':Q[_0x53c5ee(0x2ec)]}),this[_0x53c5ee(0x148)][_0x53c5ee(0x203)](new J[(_0x53c5ee(0x356))](this[_0x53c5ee(0x344)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x53c5ee(0x148)][_0x53c5ee(0x203)](new J[(_0x53c5ee(0x356))](this[_0x53c5ee(0x344)])['id'],!0x0),this['_permissionService'][_0x53c5ee(0x44d)](!0x0));})));let _0x2ce7bb=!0x1;return this[_0x272e96(0x3d0)](this[_0x272e96(0x1b9)]['sessionStatus$'][_0x272e96(0x249)](_0x4e91f5=>{var _0x1a51bc=_0x272e96;_0x4e91f5===se[_0x1a51bc(0x15f)]?this[_0x1a51bc(0x1e8)](_0x2ce7bb):_0x4e91f5===se[_0x1a51bc(0x216)]&&(_0x2ce7bb=!0x0,this[_0x1a51bc(0x185)]());})),this[_0x272e96(0x3d0)](this[_0x272e96(0x1b9)][_0x272e96(0x135)][_0x272e96(0x249)](_0x843d7=>{var _0xe6d6a=_0x272e96;try{switch(_0x843d7[_0xe6d6a(0x441)]){case m[_0xe6d6a(0x40f)][_0xe6d6a(0x33f)]:{this[_0xe6d6a(0x3a7)](m['parseProtocolChangeset'](_0x843d7['data']));break;}case m[_0xe6d6a(0x40f)][_0xe6d6a(0x24c)]:{this[_0xe6d6a(0x2b2)](_0x843d7[_0xe6d6a(0x2de)]);break;}case m[_0xe6d6a(0x40f)]['CHANGESET_REJ']:{this[_0xe6d6a(0x444)]();break;}case m[_0xe6d6a(0x40f)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x843d7[_0xe6d6a(0x2de)]);break;}case m[_0xe6d6a(0x40f)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xe6d6a(0xcc)](_0x843d7[_0xe6d6a(0x2de)][_0xe6d6a(0x1aa)]['map'](_0x306453=>m[_0xe6d6a(0x20a)](_0x306453)));break;}case m[_0xe6d6a(0x40f)]['PERMISSION_REJ']:{this[_0xe6d6a(0x444)]({'isPermissionRej':!0x0});break;}case m[_0xe6d6a(0x40f)]['UNISCRIPT_RUN']:break;}}catch(_0x24b9d4){throw console['error'](_0xe6d6a(0x384),_0x24b9d4),_0x24b9d4;}})),this['_state'];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x1a8f07(0x1f3)](){var _0x1fd900=_0x1a8f07;if(this[_0x1fd900(0x110)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x1fd900(0x110)]=!0x0;}['_onLocalMutation'](_0x2cb454){var _0x522442=_0x1a8f07;this[_0x522442(0x1f3)](),this[_0x522442(0x143)](this[_0x522442(0x3b7)]['appendMutation'](_0x2cb454)),this[_0x522442(0x3c5)]();}['_onRemoteChangeset'](_0x2d0a82){var _0x8316b7=_0x1a8f07;if(!(_0x2d0a82['revision']<=this['_revisionService'][_0x8316b7(0x237)](this[_0x8316b7(0x344)]))){if(this[_0x8316b7(0x2ad)]){this[_0x8316b7(0x2b5)][_0x8316b7(0x33d)](_0x2d0a82);return;}this[_0x8316b7(0x1e5)](_0x2d0a82);}}[_0x1a8f07(0x452)](){var _0x3e3861=_0x1a8f07;this[_0x3e3861(0x2b5)][_0x3e3861(0x127)](_0x1ecc27=>this['_applyRemoteChangeset'](_0x1ecc27)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x1d4c43){var _0x3b6a42=_0x1a8f07;const _0x39acdb=this[_0x3b6a42(0x275)][_0x3b6a42(0x1d8)][_0x3b6a42(0xd1)](this[_0x3b6a42(0x275)][_0x3b6a42(0x1d8)][_0x3b6a42(0x349)]()[_0x3b6a42(0x398)])(_0x1d4c43[_0x3b6a42(0x276)],null)||_0x1d4c43['mutations'],_0x2ab290={..._0x1d4c43,'mutations':_0x39acdb};this[_0x3b6a42(0x1f3)](),this[_0x3b6a42(0x143)](this[_0x3b6a42(0x3b7)]['onRemoteChangeset'](_0x2ab290)),this[_0x3b6a42(0x3c5)]();}['_onRemoteACK'](_0x58eaed){var _0x284322=_0x1a8f07;this['_lockTransition'](),this[_0x284322(0x143)](this[_0x284322(0x3b7)][_0x284322(0x3f6)](_0x58eaed)),this['_unlockTransition']();}['_onRemoteRejected'](_0x5ae171){var _0x35977b=_0x1a8f07;this[_0x35977b(0x1f3)](),this[_0x35977b(0x143)](this['_state'][_0x35977b(0x109)](_0x5ae171)),this[_0x35977b(0x3c5)]();}[_0x1a8f07(0x3a0)](_0x4405d2){var _0x592287=_0x1a8f07;this[_0x592287(0x1f3)](),this[_0x592287(0x143)](this[_0x592287(0x3b7)][_0x592287(0x376)](_0x4405d2)),this[_0x592287(0x3c5)]();}[_0x1a8f07(0xcc)](_0x185526){var _0x430793=_0x1a8f07;if(!(this['_state']instanceof exports['FetchingMissState']))throw new TypeError(_0x430793(0x3f0));const _0x996a8e=_0x185526[_0x430793(0x290)](_0x3f9c5c=>{var _0x5348d7=_0x430793;const _0x5bc839=this[_0x5348d7(0x275)][_0x5348d7(0x1d8)][_0x5348d7(0xd1)](this[_0x5348d7(0x275)]['interceptor'][_0x5348d7(0x349)]()[_0x5348d7(0x398)])(_0x3f9c5c['mutations'],null)||_0x3f9c5c['mutations'];return{..._0x3f9c5c,'mutations':_0x5bc839};});this['_lockTransition'](),this[_0x430793(0x143)](this[_0x430793(0x3b7)]['onMissedChangesetFetched'](_0x996a8e)),this['_unlockTransition']();}[_0x1a8f07(0x185)](){var _0x65ce22=_0x1a8f07;this[_0x65ce22(0x1f3)](),this[_0x65ce22(0x143)](this[_0x65ce22(0x3b7)][_0x65ce22(0x3c3)]()),this[_0x65ce22(0x3c5)]();}[_0x1a8f07(0x1e8)](_0x4676ac=!0x1){var _0x28ddb8=_0x1a8f07;this[_0x28ddb8(0x1f3)](),this[_0x28ddb8(0x143)](this[_0x28ddb8(0x3b7)][_0x28ddb8(0x367)]()),this['_unlockTransition']();const _0x404fbc=this[_0x28ddb8(0x3b7)];_0x4676ac&&_0x404fbc instanceof exports['SyncedState']&&(this[_0x28ddb8(0x1f3)](),this['_updateState'](_0x404fbc[_0x28ddb8(0x2d7)]()),this['_unlockTransition']());}async[_0x1a8f07(0x1e3)](){return new Promise(_0xceef72=>{var _0x2b938d=_0x3fe4;this[_0x2b938d(0x1b9)][_0x2b938d(0x3c2)]['pipe'](H[_0x2b938d(0x220)](0x1))[_0x2b938d(0x249)](async _0x16e6e8=>{var _0x18196d=_0x2b938d;_0xceef72(await this['_createInitialStateImpl'](_0x16e6e8===se[_0x18196d(0x15f)]));});});}[_0x1a8f07(0xe4)](){var _0xd6bbca=_0x1a8f07;const _0x1b5325=this[_0xd6bbca(0x344)];return{'onStateChange':(_0x52ae66,_0x40f439)=>{var _0x225026=_0xd6bbca;if(_0x52ae66!==this[_0x225026(0x3b7)])throw new Error(_0x225026(0x42c)+_0x52ae66[_0x225026(0x1f1)]+'\x0aAfter:\x20'+_0x40f439[_0x225026(0x1f1)]+_0x225026(0x35c)+this[_0x225026(0x3b7)]['status']);this[_0x225026(0x143)](_0x40f439);},'onSendChangeset':_0x70f4c3=>{var _0x1d0eeb=_0xd6bbca;_0x70f4c3[_0x1d0eeb(0x26d)]||(_0x70f4c3['sid']=this[_0x1d0eeb(0x238)],_0x70f4c3[_0x1d0eeb(0x1e6)]=++this['_changesetReqId']);const _0x1a6a3e={'eventID':m[_0x1d0eeb(0x40f)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x70f4c3[_0x1d0eeb(0x344)],'unitType':this[_0x1d0eeb(0x29f)],'changeset':_0x70f4c3,'memberID':this[_0x1d0eeb(0x1b9)][_0x1d0eeb(0x39e)]()}};this[_0x1d0eeb(0x1b9)][_0x1d0eeb(0x365)](_0x1a6a3e,this['unitID']);},'onMissingChangesets':({from:_0x2bc9d3,to:_0xb518de})=>{var _0x4fd4c8=_0xd6bbca;this[_0x4fd4c8(0x2c0)][_0x4fd4c8(0x346)](_0x4fd4c8(0x1d5),_0x4fd4c8(0x3db)+_0x2bc9d3+'\x20to\x20'+_0xb518de);const _0x33f10d={'eventID':m[_0x4fd4c8(0x40f)][_0x4fd4c8(0x445)],'data':{'unitID':_0x1b5325,'unitType':this[_0x4fd4c8(0x29f)],'from':_0x2bc9d3,'to':_0xb518de}};this[_0x4fd4c8(0x1b9)]['send'](_0x33f10d,this[_0x4fd4c8(0x344)]);}};}async[_0x1a8f07(0x3e3)](_0xc33605){var _0x3e7d9f=_0x1a8f07,_0x40b648,_0x4c5c7a,_0x555db2;const _0x4c8599=await((_0x40b648=this[_0x3e7d9f(0x2d0)])==null?void 0x0:_0x40b648[_0x3e7d9f(0x12f)](this['unitID'])),_0x5a9e89=(_0x4c5c7a=_0x4c8599==null?void 0x0:_0x4c8599[_0x3e7d9f(0x276)])!=null?_0x4c5c7a:[],_0x33d416=(_0x555db2=_0x4c8599==null?void 0x0:_0x4c8599[_0x3e7d9f(0x2f7)])!=null?_0x555db2:null,_0x24f135=!!(_0x33d416!=null&&_0x33d416[_0x3e7d9f(0x26d)])&&!!(_0x33d416!=null&&_0x33d416[_0x3e7d9f(0x1e6)]);this[_0x3e7d9f(0x238)]=_0x24f135?_0x33d416[_0x3e7d9f(0x26d)]:gn(),this['_changesetReqId']=_0x24f135?_0x33d416[_0x3e7d9f(0x1e6)]:0x0;const _0x5d5fab=this[_0x3e7d9f(0x344)];try{this[_0x3e7d9f(0x2cb)](_0x33d416,_0x5a9e89);}catch(_0x5ddf03){this[_0x3e7d9f(0x2c0)][_0x3e7d9f(0x405)](_0x5ddf03);}const _0x3a0abd=this['_createHandler']();if(_0xc33605){const _0x3b940c=Pt(this['_injector'],_0x5d5fab,this[_0x3e7d9f(0x29f)],_0x33d416,_0x5a9e89,_0x3a0abd);return _0x3b940c instanceof exports[_0x3e7d9f(0x2be)]?_0x3b940c[_0x3e7d9f(0x161)]():(_0x3b940c instanceof exports['AwaitingWithPendingState']||_0x3b940c instanceof exports[_0x3e7d9f(0x20f)])&&_0x3b940c[_0x3e7d9f(0x1e7)](),_0x3b940c;}return this[_0x3e7d9f(0x3ee)][_0x3e7d9f(0x199)](exports[_0x3e7d9f(0x256)],_0x5d5fab,this['_type'],_0x33d416,_0x5a9e89,_0x3a0abd);}[_0x1a8f07(0x2cb)](_0x3b0da2,_0x1279fe){var _0x435a43=_0x1a8f07,_0x38db09,_0x39e3b4;const _0x4548a5=this[_0x435a43(0x275)][_0x435a43(0x1d8)][_0x435a43(0xd1)](this[_0x435a43(0x275)][_0x435a43(0x1d8)][_0x435a43(0x349)]()[_0x435a43(0x398)]);(_0x38db09=_0x4548a5((_0x3b0da2==null?void 0x0:_0x3b0da2[_0x435a43(0x276)])||[],null))==null||_0x38db09[_0x435a43(0x127)](_0x8edd4=>this[_0x435a43(0x32d)][_0x435a43(0x190)](_0x8edd4['id'],_0x8edd4[_0x435a43(0x130)])),(_0x39e3b4=_0x4548a5(_0x1279fe||[],null))==null||_0x39e3b4[_0x435a43(0x127)](_0x4f016b=>this['_commandService'][_0x435a43(0x190)](_0x4f016b['id'],_0x4f016b[_0x435a43(0x130)]));}},exports[_0x1a8f07(0x1fd)]=Ge([k(0x3,a[_0x1a8f07(0x16f)](a[_0x1a8f07(0x324)])),k(0x4,a[_0x1a8f07(0x16f)](m[_0x1a8f07(0x391)])),k(0x5,a['Inject'](a[_0x1a8f07(0x258)])),k(0x6,a[_0x1a8f07(0x16f)](m['RevisionService'])),k(0x7,a[_0x1a8f07(0x16f)](te)),k(0x8,a[_0x1a8f07(0x168)]),k(0x9,a[_0x1a8f07(0x1ce)]),k(0xa,a[_0x1a8f07(0x2c3)]),k(0xb,a[_0x1a8f07(0x41f)](ve)),k(0xc,a[_0x1a8f07(0x41f)](z))],exports[_0x1a8f07(0x1fd)]),exports[_0x1a8f07(0x2a0)]=class extends exports['CollaborationEntity']{constructor(_0x4345cb,_0x25f701,_0x9b4273,_0x1a272e,_0x4ec2a,_0x198efe,_0x2dcdd5,_0x122149,_0x3ad29e,_0x16ee63,_0x28ac1c,_0x212cc8,_0xc16680){var _0x11eace=_0x1a8f07;super(_0x4345cb,_0x9b4273,_0x25f701,_0x1a272e,_0x4ec2a,_0x198efe,_0x2dcdd5,_0x122149,_0x3ad29e,_0x16ee63,_0x28ac1c,_0x212cc8,_0xc16680),D(this,_0x11eace(0x341),null),(this[_0x11eace(0x344)]=_0x4345cb,this[_0x11eace(0x2e8)]=_0x25f701);}['addHandlerCallback'](_0x34554c){this['_handlerCallback']=_0x34554c;}[_0x1a8f07(0xd6)](){var _0x392b24=_0x1a8f07;this[_0x392b24(0x341)]=null,super['dispose']();}['_createHandler'](){var _0x2eac47=_0x1a8f07;const _0x17c22c=super[_0x2eac47(0xe4)]();return _0x17c22c[_0x2eac47(0x19c)]=_0x594045=>{var _0x50953e=_0x2eac47,_0x2509b,_0x5ddcc6;return(_0x5ddcc6=(_0x2509b=this[_0x50953e(0x341)])==null?void 0x0:_0x2509b[_0x50953e(0x19c)])==null?void 0x0:_0x5ddcc6[_0x50953e(0x115)](_0x2509b,_0x594045);},_0x17c22c['onTransformState']=_0x249223=>{var _0xa3a9b7=_0x2eac47,_0x2a5051,_0x5cb68b;return(_0x5cb68b=(_0x2a5051=this[_0xa3a9b7(0x341)])==null?void 0x0:_0x2a5051[_0xa3a9b7(0x3f4)])==null?void 0x0:_0x5cb68b['call'](_0x2a5051,_0x249223);},_0x17c22c[_0x2eac47(0x37f)]=_0x34707a=>{var _0x5b1545=_0x2eac47,_0x27f53a,_0xb7d310;return(_0xb7d310=(_0x27f53a=this['_handlerCallback'])==null?void 0x0:_0x27f53a[_0x5b1545(0x37f)])==null?void 0x0:_0xb7d310['call'](_0x27f53a,_0x34707a);},_0x17c22c[_0x2eac47(0x125)]=_0xad2d94=>{var _0x3f6d87=_0x2eac47,_0x5a1cd7,_0x565526;return(_0x565526=(_0x5a1cd7=this[_0x3f6d87(0x341)])==null?void 0x0:_0x5a1cd7[_0x3f6d87(0x125)])==null?void 0x0:_0x565526[_0x3f6d87(0x115)](_0x5a1cd7,_0xad2d94);},_0x17c22c['onTransformRemoteChangesetByIMECache']=_0x5e1c91=>{var _0x33e961=_0x2eac47,_0x43e220,_0x560592,_0x2b4c47;if(!((_0x43e220=this[_0x33e961(0x341)])!=null&&_0x43e220['onTransformRemoteChangesetByIMECache']))throw new Error(_0x33e961(0x1da));return(_0x2b4c47=(_0x560592=this['_handlerCallback'])==null?void 0x0:_0x560592[_0x33e961(0x417)])==null?void 0x0:_0x2b4c47[_0x33e961(0x115)](_0x560592,_0x5e1c91);},_0x17c22c['onTransformRemoteChangesetByStateCache']=_0x33c77b=>{var _0x2ba5d0=_0x2eac47,_0x42f57a,_0x4ca675,_0x2d13c8;if(!((_0x42f57a=this[_0x2ba5d0(0x341)])!=null&&_0x42f57a[_0x2ba5d0(0x1d9)]))throw new Error(_0x2ba5d0(0x231));return(_0x2d13c8=(_0x4ca675=this[_0x2ba5d0(0x341)])==null?void 0x0:_0x4ca675[_0x2ba5d0(0x1d9)])==null?void 0x0:_0x2d13c8[_0x2ba5d0(0x115)](_0x4ca675,_0x33c77b);},_0x17c22c;}async[_0x1a8f07(0x33a)](){var _0x5a0d01=_0x1a8f07;const _0x57846c=await super[_0x5a0d01(0x33a)]();return this[_0x5a0d01(0x3d0)](this[_0x5a0d01(0x32d)][_0x5a0d01(0x3ad)]((_0x4fc467,_0x5c85df)=>{var _0x5696f1=_0x5a0d01;if(_0x4fc467[_0x5696f1(0x2e8)]!==a[_0x5696f1(0x211)][_0x5696f1(0x217)]||_0x5c85df!=null&&_0x5c85df['fromCollab']||_0x5c85df!=null&&_0x5c85df[_0x5696f1(0x392)]||_0x4fc467['id']===dt[_0x5696f1(0x425)]['id'])return;const _0x14ff16=_0x4fc467[_0x5696f1(0x130)];if((_0x14ff16==null?void 0x0:_0x14ff16[_0x5696f1(0x401)])!==this[_0x5696f1(0x344)])return;const _0x1fc79f=_0x4fc467,_0x2b63f0=this[_0x5696f1(0x275)][_0x5696f1(0x1d8)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x5696f1(0x349)]()[_0x5696f1(0x23e)])([_0x1fc79f],null)||[_0x1fc79f];this[_0x5696f1(0x429)](_0x2b63f0[0x0]);})),_0x57846c;}},exports['DocCollaborationEntity']=Ge([k(0x3,a[_0x1a8f07(0x16f)](a[_0x1a8f07(0x324)])),k(0x4,a[_0x1a8f07(0x16f)](m[_0x1a8f07(0x391)])),k(0x5,a[_0x1a8f07(0x16f)](a[_0x1a8f07(0x258)])),k(0x6,a['Inject'](m['RevisionService'])),k(0x7,a['Inject'](te)),k(0x8,a['ILogService']),k(0x9,a[_0x1a8f07(0x1ce)]),k(0xa,a[_0x1a8f07(0x2c3)]),k(0xb,a[_0x1a8f07(0x41f)](ve)),k(0xc,a[_0x1a8f07(0x41f)](z))],exports[_0x1a8f07(0x2a0)]),exports[_0x1a8f07(0x118)]=class extends exports[_0x1a8f07(0x1fd)]{constructor(_0x3a33df,_0x168bb9,_0x129f55,_0x27b77a,_0x1c361b,_0x2d7cc6,_0x1da7e9,_0x57bd91,_0x1d8620,_0x72ced5,_0x111b48,_0x3a0276,_0x14af7a,_0x55e9de){var _0x3ba053=_0x1a8f07;super(_0x3a33df,_0x129f55,_0x168bb9,_0x27b77a,_0x1c361b,_0x2d7cc6,_0x1da7e9,_0x1d8620,_0x72ced5,_0x111b48,_0x3a0276,_0x14af7a,_0x55e9de),this['unitID']=_0x3a33df,this[_0x3ba053(0x2e8)]=_0x168bb9,this[_0x3ba053(0x1ba)]=_0x57bd91;}[_0x1a8f07(0xe4)](){var _0x4d694f=_0x1a8f07;const _0x4bb5c5=super[_0x4d694f(0xe4)]();return _0x4bb5c5[_0x4d694f(0x37f)]=_0x390c20=>this[_0x4d694f(0x1ba)][_0x4d694f(0x1cc)](_0x390c20),_0x4bb5c5;}async['_init'](){var _0x2576f0=_0x1a8f07;const _0x5ed6ee=await super['_init']();return this[_0x2576f0(0x3d0)](this[_0x2576f0(0x32d)][_0x2576f0(0x3ad)]((_0x580949,_0x59c0f3)=>{var _0x1155fc=_0x2576f0;if(_0x580949[_0x1155fc(0x2e8)]!==a[_0x1155fc(0x211)][_0x1155fc(0x217)]||_0x59c0f3!=null&&_0x59c0f3[_0x1155fc(0x2c7)]||_0x59c0f3!=null&&_0x59c0f3[_0x1155fc(0x392)])return;const _0x164a4e=_0x580949['params'];if((_0x164a4e==null?void 0x0:_0x164a4e[_0x1155fc(0x401)])!==this[_0x1155fc(0x344)])return;const _0x4451aa=_0x580949,_0x4214d9=this[_0x1155fc(0x275)][_0x1155fc(0x1d8)][_0x1155fc(0xd1)](this[_0x1155fc(0x275)][_0x1155fc(0x1d8)][_0x1155fc(0x349)]()[_0x1155fc(0x23e)])([_0x4451aa],null)||[_0x4451aa];this[_0x1155fc(0x429)](_0x4214d9[0x0]);})),_0x5ed6ee;}},exports[_0x1a8f07(0x118)]=Ge([k(0x3,a['Inject'](a[_0x1a8f07(0x324)])),k(0x4,a[_0x1a8f07(0x16f)](m[_0x1a8f07(0x391)])),k(0x5,a[_0x1a8f07(0x16f)](a[_0x1a8f07(0x258)])),k(0x6,a[_0x1a8f07(0x16f)](m[_0x1a8f07(0x433)])),k(0x7,a[_0x1a8f07(0x16f)](exports['SheetTransformSelectionsService'])),k(0x8,a['Inject'](te)),k(0x9,a[_0x1a8f07(0x168)]),k(0xa,a['ICommandService']),k(0xb,a['IPermissionService']),k(0xc,a[_0x1a8f07(0x41f)](ve)),k(0xd,a[_0x1a8f07(0x41f)](z))],exports[_0x1a8f07(0x118)]);var wn=Object[_0x1a8f07(0x3fe)],An=Object[_0x1a8f07(0x2ca)],Ln=(_0x5f269d,_0x2d6e49,_0xe6e5eb,_0x24d17d)=>{for(var _0x450898=_0x24d17d>0x1?void 0x0:_0x24d17d?An(_0x2d6e49,_0xe6e5eb):_0x2d6e49,_0x25e68a=_0x5f269d['length']-0x1,_0x57afd0;_0x25e68a>=0x0;_0x25e68a--)(_0x57afd0=_0x5f269d[_0x25e68a])&&(_0x450898=(_0x24d17d?_0x57afd0(_0x2d6e49,_0xe6e5eb,_0x450898):_0x57afd0(_0x450898))||_0x450898);return _0x24d17d&&_0x450898&&wn(_0x2d6e49,_0xe6e5eb,_0x450898),_0x450898;},we=(_0x21b9d6,_0x5250a9)=>(_0x599af1,_0x10870f)=>_0x5250a9(_0x599af1,_0x10870f,_0x21b9d6);exports[_0x1a8f07(0x178)]=class extends a[_0x1a8f07(0x1ec)]{constructor(_0x44760a,_0x14904a,_0x21852e){var _0x4e2d9d=_0x1a8f07;super(),D(this,_0x4e2d9d(0x3ef),new Map()),D(this,_0x4e2d9d(0x25e),new H[(_0x4e2d9d(0x440))]()),D(this,_0x4e2d9d(0x1f4),this[_0x4e2d9d(0x25e)][_0x4e2d9d(0x333)]()),(this[_0x4e2d9d(0x3ee)]=_0x44760a,this[_0x4e2d9d(0x44f)]=_0x14904a,this['_univerInstanceService']=_0x21852e,this[_0x4e2d9d(0x33a)]());}['dispose'](){var _0xe8963e=_0x1a8f07;super[_0xe8963e(0xd6)](),this[_0xe8963e(0x3ef)][_0xe8963e(0x127)](_0x5b6e62=>_0x5b6e62[_0xe8963e(0xd6)]()),this[_0xe8963e(0x3ef)]['clear']();}[_0x1a8f07(0x1d2)](_0x2c12e3){var _0x5b5cb6=_0x1a8f07,_0x16bf5e;return(_0x16bf5e=this[_0x5b5cb6(0x3ef)]['get'](_0x2c12e3))!=null?_0x16bf5e:null;}[_0x1a8f07(0x2f4)](_0x52a605){var _0x56fb0b=_0x1a8f07;const _0x3c10df=this[_0x56fb0b(0x1d2)](_0x52a605);return _0x3c10df?H['of'](_0x3c10df):this[_0x56fb0b(0x25e)][_0x56fb0b(0x265)](W[_0x56fb0b(0x2ea)](_0x3966bb=>_0x3966bb[_0x56fb0b(0x344)]===_0x52a605));}[_0x1a8f07(0x1a4)](_0x3ae09d){var _0x47a471=_0x1a8f07;return H['firstValueFrom'](this[_0x47a471(0x2f4)](_0x3ae09d)[_0x47a471(0x265)](W['map'](()=>{})));}[_0x1a8f07(0x33a)](){var _0x359039=_0x1a8f07;this[_0x359039(0x339)][_0x359039(0x430)](a[_0x359039(0x3eb)]['UNIVER_SHEET'])[_0x359039(0x265)](H[_0x359039(0x285)](this[_0x359039(0xfe)]),W[_0x359039(0x27a)](0x10))[_0x359039(0x249)](async _0x543f0b=>{var _0xeaa94e=_0x359039;const _0x410bf1=_0x543f0b[_0xeaa94e(0x1d7)](),_0x101d6a=await this[_0xeaa94e(0x17c)](_0x410bf1,Z[_0xeaa94e(0x154)]);this[_0xeaa94e(0x3ef)]['set'](_0x410bf1,_0x101d6a);}),this[_0x359039(0x339)][_0x359039(0x430)](a[_0x359039(0x3eb)][_0x359039(0x3b3)])['pipe'](H['takeUntil'](this[_0x359039(0xfe)]),W[_0x359039(0x27a)](0x10))[_0x359039(0x265)](W[_0x359039(0x2ea)](_0xa052e=>!_0xa052e[_0x359039(0x1d7)]()[_0x359039(0x153)]('__')))[_0x359039(0x249)](async _0x3673d2=>{var _0x123a1a=_0x359039;const _0x1908f=_0x3673d2[_0x123a1a(0x1d7)](),_0x7a2772=await this['_startCollaboration'](_0x1908f,Z['UNIVER_DOC']);this[_0x123a1a(0x3ef)]['set'](_0x1908f,_0x7a2772);}),H[_0x359039(0x37d)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x359039(0x3eb)]['UNIVER_SHEET']),this[_0x359039(0x339)][_0x359039(0x3dc)](a[_0x359039(0x3eb)][_0x359039(0x3b3)]))[_0x359039(0x265)](H[_0x359039(0x285)](this['dispose$']))[_0x359039(0x249)](_0x384b08=>{var _0x581173=_0x359039;const _0x31ce3b=_0x384b08[_0x581173(0x1d7)](),_0xea58ea=this['_entities'][_0x581173(0x197)](_0x31ce3b);_0xea58ea&&(_0xea58ea[_0x581173(0xd6)](),this[_0x581173(0x3ef)][_0x581173(0x2b8)](_0x31ce3b));});}async['_startCollaboration'](_0x287b23,_0x2b9529){var _0x448ad4=_0x1a8f07;const _0x7c6152=await this[_0x448ad4(0x44f)]['requireSession'](_0x287b23),_0x3fecba=this[_0x448ad4(0x3ee)][_0x448ad4(0x199)](this[_0x448ad4(0x166)](_0x2b9529),_0x287b23,_0x2b9529,_0x7c6152);return await _0x3fecba[_0x448ad4(0x41e)](),this[_0x448ad4(0x25e)][_0x448ad4(0x171)](_0x3fecba),_0x3fecba;}[_0x1a8f07(0x166)](_0x57d013){var _0x4a42d4=_0x1a8f07;switch(_0x57d013){case Z['UNIVER_DOC']:return exports['DocCollaborationEntity'];case Z[_0x4a42d4(0x154)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x4a42d4(0x3bf)+_0x57d013);}}},exports['CollaborationController']=Ln([we(0x0,a[_0x1a8f07(0x16f)](a[_0x1a8f07(0x324)])),we(0x1,a[_0x1a8f07(0x16f)](exports[_0x1a8f07(0x114)])),we(0x2,a[_0x1a8f07(0xc2)])],exports[_0x1a8f07(0x178)]);var Mn=Object[_0x1a8f07(0x3fe)],xn=Object[_0x1a8f07(0x2ca)],jn=(_0x1b5666,_0x2a24c9,_0x301bca,_0x115dc4)=>{var _0x864e8a=_0x1a8f07;for(var _0x222ec4=_0x115dc4>0x1?void 0x0:_0x115dc4?xn(_0x2a24c9,_0x301bca):_0x2a24c9,_0x314039=_0x1b5666[_0x864e8a(0x144)]-0x1,_0x2509b9;_0x314039>=0x0;_0x314039--)(_0x2509b9=_0x1b5666[_0x314039])&&(_0x222ec4=(_0x115dc4?_0x2509b9(_0x2a24c9,_0x301bca,_0x222ec4):_0x2509b9(_0x222ec4))||_0x222ec4);return _0x115dc4&&_0x222ec4&&Mn(_0x2a24c9,_0x301bca,_0x222ec4),_0x222ec4;},Xe=(_0x1b0545,_0x24df5f)=>(_0x377df4,_0x2fe45e)=>_0x24df5f(_0x377df4,_0x2fe45e,_0x1b0545);const $n=_0x1a8f07(0x27b),Hn=_0x1a8f07(0x205);let $e=class extends a[_0x1a8f07(0x2dc)]{constructor(_0x13a9d6,_0x85699b){var _0x18d3d0=_0x1a8f07;super(),this[_0x18d3d0(0x339)]=_0x13a9d6,this[_0x18d3d0(0x163)]=_0x85699b,this[_0x18d3d0(0x33a)]();}['_init'](){var _0x3c432e=_0x1a8f07;this['disposeWithMe'](this[_0x3c432e(0x339)][_0x3c432e(0x283)][_0x3c432e(0x249)](()=>{var _0x5467a7=_0x3c432e,_0x9152ea;const _0x11724b=this['_univerInstanceService']['getFocusedUnit']();let _0x4dadca=(_0x9152ea=this[_0x5467a7(0x163)][_0x5467a7(0x394)]($n))!=null?_0x9152ea:Hn;_0x11724b instanceof a[_0x5467a7(0x1a8)]&&(_0x4dadca=_0x11724b['name']),document[_0x5467a7(0x41a)]=_0x4dadca;}));}};$e=jn([Xe(0x0,a[_0x1a8f07(0xc2)]),Xe(0x1,a[_0x1a8f07(0x312)])],$e);var kn=Object['defineProperty'],Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x6e5e70,_0x364e1f,_0x5966e1,_0x56513e)=>{var _0x20c1ab=_0x1a8f07;for(var _0x5a82b2=_0x56513e>0x1?void 0x0:_0x56513e?Bn(_0x364e1f,_0x5966e1):_0x364e1f,_0x57078f=_0x6e5e70[_0x20c1ab(0x144)]-0x1,_0x2d46f0;_0x57078f>=0x0;_0x57078f--)(_0x2d46f0=_0x6e5e70[_0x57078f])&&(_0x5a82b2=(_0x56513e?_0x2d46f0(_0x364e1f,_0x5966e1,_0x5a82b2):_0x2d46f0(_0x5a82b2))||_0x5a82b2);return _0x56513e&&_0x5a82b2&&kn(_0x364e1f,_0x5966e1,_0x5a82b2),_0x5a82b2;},Ae=(_0x142777,_0x423b63)=>(_0x29264e,_0x4b5269)=>_0x423b63(_0x29264e,_0x4b5269,_0x142777);let ye=class{constructor(_0x5437c4,_0x5c9bc2,_0x51459e){var _0x553d44=_0x1a8f07;this[_0x553d44(0x163)]=_0x5437c4,this[_0x553d44(0xce)]=_0x5c9bc2,this['localeService']=_0x51459e,this['init']();}[_0x1a8f07(0x41e)](){var _0x49dc23=_0x1a8f07;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0xbaea9f,_0x3cc1da)=>_0x3cc1da(_0xbaea9f)[_0x49dc23(0x265)](H[_0x49dc23(0x3b6)](async _0x18e11f=>{var _0x70a202=_0x49dc23;const _0x520e1a=_0x18e11f;if(_0x520e1a['status']===0x191){if(typeof window>'u')throw new Error(_0x70a202(0x2f8));if(window[_0x70a202(0x1b4)](this[_0x70a202(0x381)]['t'](_0x70a202(0x1b3)))){const _0x279079=window[_0x70a202(0x183)](window[_0x70a202(0x404)][_0x70a202(0x280)]);window[_0x70a202(0x404)][_0x70a202(0x280)]=this[_0x70a202(0x1bf)]()+'?url='+_0x279079;}}return _0x520e1a;}))});}[_0x1a8f07(0x1bf)](){var _0x2f43ea=_0x1a8f07,_0x24945e,_0x5c4084;const _0x423f87=this['_configService'][_0x2f43ea(0x394)](Ct),_0x3b570=this[_0x2f43ea(0x163)][_0x2f43ea(0x394)](Y);return(_0x5c4084=(_0x24945e=_0x3b570==null?void 0x0:_0x3b570['loginUrlKey'])!=null?_0x24945e:_0x423f87)!=null?_0x5c4084:zt;}};ye=Fn([Ae(0x0,a[_0x1a8f07(0x312)]),Ae(0x1,a[_0x1a8f07(0x16f)](q[_0x1a8f07(0x145)])),Ae(0x2,a[_0x1a8f07(0x16f)](a[_0x1a8f07(0x258)]))],ye);var Wn=Object[_0x1a8f07(0x3fe)],Gn=Object[_0x1a8f07(0x2ca)],Vn=(_0x59acf5,_0x8e7880,_0x5edc60,_0x1be2b8)=>{var _0x565cbe=_0x1a8f07;for(var _0x2c781c=_0x1be2b8>0x1?void 0x0:_0x1be2b8?Gn(_0x8e7880,_0x5edc60):_0x8e7880,_0x41e8ac=_0x59acf5[_0x565cbe(0x144)]-0x1,_0x4bc735;_0x41e8ac>=0x0;_0x41e8ac--)(_0x4bc735=_0x59acf5[_0x41e8ac])&&(_0x2c781c=(_0x1be2b8?_0x4bc735(_0x8e7880,_0x5edc60,_0x2c781c):_0x4bc735(_0x2c781c))||_0x2c781c);return _0x1be2b8&&_0x2c781c&&Wn(_0x8e7880,_0x5edc60,_0x2c781c),_0x2c781c;},Ze=(_0x45acd3,_0x2d9856)=>(_0x1396a2,_0x839308)=>_0x2d9856(_0x1396a2,_0x839308,_0x45acd3);const Ve=_0x1a8f07(0x3d1),Kn=_0x1a8f07(0x366);exports['AuthzIoHttpService']=class extends a[_0x1a8f07(0x2dc)]{constructor(_0x2f0938,_0x38a539){var _0x255e4c=_0x1a8f07;super(),this[_0x255e4c(0x1eb)]=_0x2f0938,this[_0x255e4c(0x163)]=_0x38a539,this['_initMergeInterceptor']();}[_0x1a8f07(0x3e6)](){var _0x5b0ec4=_0x1a8f07;const _0x276776=this;this[_0x5b0ec4(0x3d0)](this[_0x5b0ec4(0x1eb)][_0x5b0ec4(0x3d4)]({'priority':0x3e7,'interceptor':q[_0x5b0ec4(0x187)]({'isMatch'(_0x505b96){var _0x14d5d9=_0x5b0ec4,_0x3de7c1;if(_0x505b96[_0x14d5d9(0x223)]==='POST'&&((_0x3de7c1=_0x505b96['requestParams'])!=null&&_0x3de7c1['body'])){const {objectID:_0x54e016,objectType:_0x17a8e9}=_0x505b96['requestParams']['body']||{};if(!_0x54e016||_0x17a8e9===void 0x0)return!0x1;const _0x321a23=_0x276776[_0x14d5d9(0x3d3)]()+'/'+_0x17a8e9+_0x14d5d9(0xe7)+_0x54e016+_0x14d5d9(0x236);if(_0x505b96['url']===_0x321a23)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x43936e){var _0x5696d7=_0x5b0ec4,_0x35fd44;return(_0x35fd44=_0x43936e[_0x5696d7(0x26f)])==null?void 0x0:_0x35fd44[_0x5696d7(0x3df)];},'mergeParamsToRequest'(_0x4fa8a4,_0x2c0277){var _0x3429f8=_0x5b0ec4;const _0x5a8d11=_0x276776[_0x3429f8(0x3d3)]()+_0x3429f8(0x234),_0xf2ecad=_0x4fa8a4['reduce']((_0x1e8bb5,_0xf98bfc)=>{var _0x114a79=_0x3429f8;const {unitID:_0x5e433a,objectID:_0x62d610,objectType:_0x236ee1,actions:_0xaaca53}=_0xf98bfc;return _0x1e8bb5[_0x5e433a]||(_0x1e8bb5[_0x5e433a]={}),_0x1e8bb5[_0x5e433a][_0x62d610]||(_0x1e8bb5[_0x5e433a][_0x62d610]={'objectID':_0x62d610,'objectType':_0x236ee1,'actions':[]}),_0x1e8bb5[_0x5e433a][_0x62d610]['actions'][_0x114a79(0x33d)](..._0xaaca53),_0x1e8bb5;},{}),_0x7f69c6=[];for(const _0x5dab38 in _0xf2ecad)for(const _0x1dd630 in _0xf2ecad[_0x5dab38]){const {actions:_0x40b162,objectType:_0x45b2ed}=_0xf2ecad[_0x5dab38][_0x1dd630],_0xcc2cd1=[...new Set(_0x40b162)];_0x7f69c6[_0x3429f8(0x33d)]({'unitID':_0x5dab38,'objectID':_0x1dd630,'objectType':_0x45b2ed,'actions':_0xcc2cd1});}return new q[(_0x3429f8(0x1dd))](_0x3429f8(0x1e1),_0x5a8d11,{'headers':_0x2c0277[_0x3429f8(0x2b3)],'withCredentials':_0x2c0277[_0x3429f8(0xd4)],'responseType':_0x2c0277[_0x3429f8(0x1ed)],'body':{'requests':_0x7f69c6}});}},{'distributeResult'(_0x3ea1be,_0x459c37){var _0x1d9f43=_0x5b0ec4;const {objectActions:_0x13f8af}=_0x3ea1be;return _0x459c37[_0x1d9f43(0x290)](_0x50229e=>{var _0x288f2a=_0x1d9f43;const {unitID:_0x47d9cd,objectID:_0xf446ff,actions:_0x157f67}=_0x50229e,_0x264468=_0x13f8af[_0x288f2a(0x21b)](_0x3460e4=>_0x3460e4[_0x288f2a(0x344)]===_0x47d9cd&&_0x3460e4[_0x288f2a(0x104)]===_0xf446ff),_0x3edf20=_0x157f67[_0x288f2a(0x290)](_0x4b569e=>_0x264468==null?void 0x0:_0x264468['actions'][_0x288f2a(0x21b)](_0x5454f9=>_0x5454f9[_0x288f2a(0x343)]===_0x4b569e))[_0x288f2a(0x2ea)](_0x19daa3=>!!_0x19daa3);return{'config':_0x50229e,'result':{'actions':_0x3edf20,'error':_0x3ea1be[_0x288f2a(0x405)]}};});}})}));}[_0x1a8f07(0x3d3)](){var _0x5c505c=_0x1a8f07,_0x4b5c98,_0xaa48c6;const _0x9d4d86=this[_0x5c505c(0x163)]['getConfig'](Ve),_0x3febd6=this['_configService'][_0x5c505c(0x394)](Y);return(_0xaa48c6=(_0x4b5c98=_0x3febd6==null?void 0x0:_0x3febd6[_0x5c505c(0x103)])!=null?_0x4b5c98:_0x9d4d86)!=null?_0xaa48c6:Kn;}async[_0x1a8f07(0x1c4)](_0x3dc700){var _0x3c6f2d=_0x1a8f07;const _0x40d0eb=this['_getAPIPrefixPath']()+'/'+_0x3dc700[_0x3c6f2d(0xc6)]+_0x3c6f2d(0x3ab);return(await this[_0x3c6f2d(0x1eb)][_0x3c6f2d(0xda)](_0x40d0eb,{'body':_0x3dc700}))[_0x3c6f2d(0x3df)]['objectID']||'';}async['list'](_0x3de583){var _0x7b368e=_0x1a8f07;const _0x550698=this[_0x7b368e(0x3d3)]()+_0x7b368e(0x1ea);return(await this[_0x7b368e(0x1eb)]['post'](_0x550698,{'body':_0x3de583}))[_0x7b368e(0x3df)][_0x7b368e(0x147)];}async[_0x1a8f07(0x3c1)](_0x5381fe){var _0x140589=_0x1a8f07;const _0x4b04d2=this[_0x140589(0x3d3)]()+'/'+_0x5381fe['objectType']+_0x140589(0xe7)+_0x5381fe[_0x140589(0x104)];await this[_0x140589(0x1eb)][_0x140589(0x263)](_0x4b04d2,{'body':_0x5381fe});}async[_0x1a8f07(0x301)](_0x1a4055){var _0x53eed2=_0x1a8f07;const _0x2fdb1f=this[_0x53eed2(0x3d3)]()+'/'+_0x1a4055[_0x53eed2(0xc6)]+_0x53eed2(0xe7)+_0x1a4055[_0x53eed2(0x104)]+_0x53eed2(0x236);return(await this['_HTTPService'][_0x53eed2(0xda)](_0x2fdb1f,{'body':_0x1a4055}))['body'][_0x53eed2(0x3a3)];}async[_0x1a8f07(0x454)](_0x42756f){var _0xea004e=_0x1a8f07;const _0x1f059d=this[_0xea004e(0x3d3)]()+_0xea004e(0x234);return(await this[_0xea004e(0x1eb)]['post'](_0x1f059d,{'body':{'requests':_0x42756f}}))['body'][_0xea004e(0x1a6)];}async[_0x1a8f07(0x411)](_0x5c115f){var _0x2f16df=_0x1a8f07;const _0x3d95d6=this[_0x2f16df(0x3d3)]()+'/'+_0x5c115f['objectType']+'/role',_0xd7be27=await this[_0x2f16df(0x1eb)][_0x2f16df(0xda)](_0x3d95d6,{'body':_0x5c115f});return{'roles':_0xd7be27[_0x2f16df(0x3df)][_0x2f16df(0x2ce)],'actions':_0xd7be27[_0x2f16df(0x3df)][_0x2f16df(0x3a3)]};}async['deleteCollaborator'](_0x4fc7a7){var _0x4a43e8=_0x1a8f07;const _0x242197=this[_0x4a43e8(0x3d3)]()+_0x4a43e8(0xd8);await this[_0x4a43e8(0x1eb)][_0x4a43e8(0x2b8)](_0x242197,{'params':{'collaboratorID':_0x4fc7a7['collaboratorID'],'objectID':_0x4fc7a7[_0x4a43e8(0x104)],'unitID':_0x4fc7a7[_0x4a43e8(0x344)]}});}async[_0x1a8f07(0x3b2)](_0x4d8a74){var _0x109057=_0x1a8f07;const _0x25a1bc=this[_0x109057(0x3d3)]()+_0x109057(0xd8);await this['_HTTPService'][_0x109057(0x277)](_0x25a1bc,{'body':_0x4d8a74});}async[_0x1a8f07(0x1f0)](_0x4b9047){var _0x55d325=_0x1a8f07;const _0x416fa8=this[_0x55d325(0x3d3)]()+_0x55d325(0xd8);await this[_0x55d325(0x1eb)][_0x55d325(0xda)](_0x416fa8,{'body':_0x4b9047});}async[_0x1a8f07(0xd3)](_0x338354){var _0x24065f=_0x1a8f07;const _0x58d303=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService'][_0x24065f(0x197)](_0x58d303,{'params':{'objectID':_0x338354[_0x24065f(0x104)],'unitID':_0x338354[_0x24065f(0x344)]}}))['body'][_0x24065f(0xee)];}async['putCollaborators'](_0x55f540){var _0x3dc254=_0x1a8f07;const _0x1f4556=this[_0x3dc254(0x3d3)]()+_0x3dc254(0xd8);await this[_0x3dc254(0x1eb)][_0x3dc254(0x263)](_0x1f4556,{'body':_0x55f540});}},exports[_0x1a8f07(0x1be)]=Vn([Ze(0x0,a[_0x1a8f07(0x16f)](q[_0x1a8f07(0x145)])),Ze(0x1,a['Inject'](a['IConfigService']))],exports[_0x1a8f07(0x1be)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x385da2){var _0x30a225=_0x1a8f07;return _0x385da2&&_0x385da2['__esModule']&&Object[_0x30a225(0x37b)][_0x30a225(0x40e)][_0x30a225(0x115)](_0x385da2,_0x30a225(0x218))?_0x385da2['default']:_0x385da2;}var Se={'exports':{}};function Yn(_0x351de5){var _0x3a1ff0=_0x1a8f07;throw new Error(_0x3a1ff0(0x245)+_0x351de5+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},qn=pe[_0x1a8f07(0x373)],Qe;function ee(){var _0x2518fe=_0x1a8f07;return Qe||(Qe=0x1,function(_0x2ca069,_0xc188f5){(function(_0x1b342c,_0x22b895){_0x2ca069['exports']=_0x22b895();}(qn,function(){var _0x258542=_0x258542||function(_0x388c2e,_0xf9a348){var _0x39b2c1=_0x3fe4,_0x1787a9;if(typeof window<'u'&&window[_0x39b2c1(0x219)]&&(_0x1787a9=window[_0x39b2c1(0x219)]),typeof self<'u'&&self[_0x39b2c1(0x219)]&&(_0x1787a9=self[_0x39b2c1(0x219)]),typeof globalThis<'u'&&globalThis[_0x39b2c1(0x219)]&&(_0x1787a9=globalThis[_0x39b2c1(0x219)]),!_0x1787a9&&typeof window<'u'&&window[_0x39b2c1(0x3a2)]&&(_0x1787a9=window[_0x39b2c1(0x3a2)]),!_0x1787a9&&typeof Le<'u'&&Le[_0x39b2c1(0x219)]&&(_0x1787a9=Le['crypto']),!_0x1787a9&&typeof Yn==_0x39b2c1(0x12e))try{_0x1787a9=require('crypto');}catch{}var _0x3760a2=function(){var _0x593668=_0x39b2c1;if(_0x1787a9){if(typeof _0x1787a9[_0x593668(0x1b1)]=='function')try{return _0x1787a9[_0x593668(0x1b1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1787a9[_0x593668(0x273)]=='function')try{return _0x1787a9[_0x593668(0x273)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x593668(0x244));},_0x3707b4=Object[_0x39b2c1(0x1c4)]||(function(){function _0x19920c(){}return function(_0x5bc3be){var _0x3d7c52=_0x3fe4,_0x3ab938;return _0x19920c[_0x3d7c52(0x37b)]=_0x5bc3be,_0x3ab938=new _0x19920c(),_0x19920c[_0x3d7c52(0x37b)]=null,_0x3ab938;};}()),_0x5e86bd={},_0x30921f=_0x5e86bd[_0x39b2c1(0x2e6)]={},_0x39f23f=_0x30921f[_0x39b2c1(0x207)]=(function(){return{'extend':function(_0x35fc66){var _0xb49c43=_0x3fe4,_0x10e0f0=_0x3707b4(this);return _0x35fc66&&_0x10e0f0[_0xb49c43(0x424)](_0x35fc66),(!_0x10e0f0[_0xb49c43(0x40e)](_0xb49c43(0x41e))||this[_0xb49c43(0x41e)]===_0x10e0f0[_0xb49c43(0x41e)])&&(_0x10e0f0[_0xb49c43(0x41e)]=function(){var _0x526323=_0xb49c43;_0x10e0f0[_0x526323(0x296)]['init'][_0x526323(0x18e)](this,arguments);}),_0x10e0f0[_0xb49c43(0x41e)][_0xb49c43(0x37b)]=_0x10e0f0,_0x10e0f0[_0xb49c43(0x296)]=this,_0x10e0f0;},'create':function(){var _0x3aa73c=_0x3fe4,_0x269fc5=this[_0x3aa73c(0x14a)]();return _0x269fc5[_0x3aa73c(0x41e)][_0x3aa73c(0x18e)](_0x269fc5,arguments),_0x269fc5;},'init':function(){},'mixIn':function(_0x278349){var _0x37b8f4=_0x3fe4;for(var _0x3706a3 in _0x278349)_0x278349[_0x37b8f4(0x40e)](_0x3706a3)&&(this[_0x3706a3]=_0x278349[_0x3706a3]);_0x278349[_0x37b8f4(0x40e)]('toString')&&(this['toString']=_0x278349[_0x37b8f4(0x1a2)]);},'clone':function(){var _0x2b1fde=_0x3fe4;return this['init'][_0x2b1fde(0x37b)]['extend'](this);}};}()),_0x44d85b=_0x30921f[_0x39b2c1(0x37a)]=_0x39f23f['extend']({'init':function(_0x304be3,_0x28dc6f){var _0xcd9a2c=_0x39b2c1;_0x304be3=this[_0xcd9a2c(0xf2)]=_0x304be3||[],_0x28dc6f!=_0xf9a348?this['sigBytes']=_0x28dc6f:this['sigBytes']=_0x304be3[_0xcd9a2c(0x144)]*0x4;},'toString':function(_0xbc5977){var _0xe269dc=_0x39b2c1;return(_0xbc5977||_0x42b877)[_0xe269dc(0x399)](this);},'concat':function(_0x43ada4){var _0x580659=_0x39b2c1,_0x5e952f=this['words'],_0x3b4778=_0x43ada4['words'],_0x8f2a2e=this[_0x580659(0x2f3)],_0x346538=_0x43ada4['sigBytes'];if(this[_0x580659(0x260)](),_0x8f2a2e%0x4)for(var _0x1a6c42=0x0;_0x1a6c42<_0x346538;_0x1a6c42++){var _0x5770f6=_0x3b4778[_0x1a6c42>>>0x2]>>>0x18-_0x1a6c42%0x4*0x8&0xff;_0x5e952f[_0x8f2a2e+_0x1a6c42>>>0x2]|=_0x5770f6<<0x18-(_0x8f2a2e+_0x1a6c42)%0x4*0x8;}else{for(var _0x580401=0x0;_0x580401<_0x346538;_0x580401+=0x4)_0x5e952f[_0x8f2a2e+_0x580401>>>0x2]=_0x3b4778[_0x580401>>>0x2];}return this[_0x580659(0x2f3)]+=_0x346538,this;},'clamp':function(){var _0x5c4b39=_0x39b2c1,_0x4e3b1e=this[_0x5c4b39(0xf2)],_0xaedbba=this['sigBytes'];_0x4e3b1e[_0xaedbba>>>0x2]&=0xffffffff<<0x20-_0xaedbba%0x4*0x8,_0x4e3b1e[_0x5c4b39(0x144)]=_0x388c2e[_0x5c4b39(0x1e9)](_0xaedbba/0x4);},'clone':function(){var _0x20c42d=_0x39b2c1,_0x15ca2e=_0x39f23f['clone'][_0x20c42d(0x115)](this);return _0x15ca2e[_0x20c42d(0xf2)]=this[_0x20c42d(0xf2)]['slice'](0x0),_0x15ca2e;},'random':function(_0x33e8b1){var _0x5f5bce=_0x39b2c1;for(var _0x5d322c=[],_0x4ae383=0x0;_0x4ae383<_0x33e8b1;_0x4ae383+=0x4)_0x5d322c[_0x5f5bce(0x33d)](_0x3760a2());return new _0x44d85b[(_0x5f5bce(0x41e))](_0x5d322c,_0x33e8b1);}}),_0x1bd4f8=_0x5e86bd[_0x39b2c1(0x34f)]={},_0x42b877=_0x1bd4f8[_0x39b2c1(0x361)]={'stringify':function(_0x337066){var _0x2c993c=_0x39b2c1;for(var _0x3c4315=_0x337066[_0x2c993c(0xf2)],_0x4fcc4c=_0x337066[_0x2c993c(0x2f3)],_0x506624=[],_0x419fed=0x0;_0x419fed<_0x4fcc4c;_0x419fed++){var _0x1aedb4=_0x3c4315[_0x419fed>>>0x2]>>>0x18-_0x419fed%0x4*0x8&0xff;_0x506624[_0x2c993c(0x33d)]((_0x1aedb4>>>0x4)[_0x2c993c(0x1a2)](0x10)),_0x506624[_0x2c993c(0x33d)]((_0x1aedb4&0xf)[_0x2c993c(0x1a2)](0x10));}return _0x506624['join']('');},'parse':function(_0x208c11){var _0x59aa22=_0x39b2c1;for(var _0x1d2ef4=_0x208c11[_0x59aa22(0x144)],_0x4ae80b=[],_0x5c7aa7=0x0;_0x5c7aa7<_0x1d2ef4;_0x5c7aa7+=0x2)_0x4ae80b[_0x5c7aa7>>>0x3]|=parseInt(_0x208c11[_0x59aa22(0x41c)](_0x5c7aa7,0x2),0x10)<<0x18-_0x5c7aa7%0x8*0x4;return new _0x44d85b['init'](_0x4ae80b,_0x1d2ef4/0x2);}},_0x4aefca=_0x1bd4f8['Latin1']={'stringify':function(_0x4ea6aa){var _0x4f1b8d=_0x39b2c1;for(var _0x528161=_0x4ea6aa[_0x4f1b8d(0xf2)],_0x2337c1=_0x4ea6aa[_0x4f1b8d(0x2f3)],_0x54d16f=[],_0x16bb76=0x0;_0x16bb76<_0x2337c1;_0x16bb76++){var _0x183c29=_0x528161[_0x16bb76>>>0x2]>>>0x18-_0x16bb76%0x4*0x8&0xff;_0x54d16f['push'](String[_0x4f1b8d(0x2dd)](_0x183c29));}return _0x54d16f[_0x4f1b8d(0x198)]('');},'parse':function(_0x37aeae){var _0x49c5e8=_0x39b2c1;for(var _0x589fbd=_0x37aeae[_0x49c5e8(0x144)],_0x4356a1=[],_0x39d40c=0x0;_0x39d40c<_0x589fbd;_0x39d40c++)_0x4356a1[_0x39d40c>>>0x2]|=(_0x37aeae[_0x49c5e8(0x2cc)](_0x39d40c)&0xff)<<0x18-_0x39d40c%0x4*0x8;return new _0x44d85b['init'](_0x4356a1,_0x589fbd);}},_0x8fc22=_0x1bd4f8['Utf8']={'stringify':function(_0x2fd97c){var _0x58530b=_0x39b2c1;try{return decodeURIComponent(escape(_0x4aefca[_0x58530b(0x399)](_0x2fd97c)));}catch{throw new Error(_0x58530b(0x224));}},'parse':function(_0x254e9a){var _0x4c810c=_0x39b2c1;return _0x4aefca[_0x4c810c(0x11e)](unescape(encodeURIComponent(_0x254e9a)));}},_0x3aefc8=_0x30921f['BufferedBlockAlgorithm']=_0x39f23f[_0x39b2c1(0x14a)]({'reset':function(){var _0xf9bca8=_0x39b2c1;this[_0xf9bca8(0x42e)]=new _0x44d85b[(_0xf9bca8(0x41e))](),this[_0xf9bca8(0x120)]=0x0;},'_append':function(_0x27ca3b){var _0x22df5f=_0x39b2c1;typeof _0x27ca3b=='string'&&(_0x27ca3b=_0x8fc22[_0x22df5f(0x11e)](_0x27ca3b)),this[_0x22df5f(0x42e)][_0x22df5f(0x33b)](_0x27ca3b),this['_nDataBytes']+=_0x27ca3b[_0x22df5f(0x2f3)];},'_process':function(_0x3ff3a9){var _0x3d572d=_0x39b2c1,_0x3287bd,_0x35d82e=this[_0x3d572d(0x42e)],_0x50ed39=_0x35d82e[_0x3d572d(0xf2)],_0x31d0da=_0x35d82e['sigBytes'],_0x4361a9=this[_0x3d572d(0x437)],_0x13f6b9=_0x4361a9*0x4,_0x28fe1e=_0x31d0da/_0x13f6b9;_0x3ff3a9?_0x28fe1e=_0x388c2e['ceil'](_0x28fe1e):_0x28fe1e=_0x388c2e[_0x3d572d(0x26b)]((_0x28fe1e|0x0)-this[_0x3d572d(0x22b)],0x0);var _0x1fe519=_0x28fe1e*_0x4361a9,_0x567dc8=_0x388c2e['min'](_0x1fe519*0x4,_0x31d0da);if(_0x1fe519){for(var _0x121fcb=0x0;_0x121fcb<_0x1fe519;_0x121fcb+=_0x4361a9)this[_0x3d572d(0x337)](_0x50ed39,_0x121fcb);_0x3287bd=_0x50ed39[_0x3d572d(0x22f)](0x0,_0x1fe519),_0x35d82e[_0x3d572d(0x2f3)]-=_0x567dc8;}return new _0x44d85b['init'](_0x3287bd,_0x567dc8);},'clone':function(){var _0xe8d130=_0x39b2c1,_0x436b98=_0x39f23f[_0xe8d130(0x387)][_0xe8d130(0x115)](this);return _0x436b98[_0xe8d130(0x42e)]=this['_data']['clone'](),_0x436b98;},'_minBufferSize':0x0});_0x30921f[_0x39b2c1(0x233)]=_0x3aefc8[_0x39b2c1(0x14a)]({'cfg':_0x39f23f[_0x39b2c1(0x14a)](),'init':function(_0x2af807){var _0x30a470=_0x39b2c1;this['cfg']=this[_0x30a470(0x239)][_0x30a470(0x14a)](_0x2af807),this['reset']();},'reset':function(){var _0x589ca2=_0x39b2c1;_0x3aefc8[_0x589ca2(0x20e)][_0x589ca2(0x115)](this),this[_0x589ca2(0x13b)]();},'update':function(_0x46a09a){return this['_append'](_0x46a09a),this['_process'](),this;},'finalize':function(_0x48cffb){var _0x21505f=_0x39b2c1;_0x48cffb&&this[_0x21505f(0x3e1)](_0x48cffb);var _0x4c79ad=this[_0x21505f(0x3bb)]();return _0x4c79ad;},'blockSize':0x10,'_createHelper':function(_0x1cbe4e){return function(_0x546724,_0x32e4dd){var _0x4afe9f=_0x3fe4;return new _0x1cbe4e[(_0x4afe9f(0x41e))](_0x32e4dd)[_0x4afe9f(0x31e)](_0x546724);};},'_createHmacHelper':function(_0xc5eec8){return function(_0x6d7d6d,_0x38f913){var _0x8808a6=_0x3fe4;return new _0x442fcb['HMAC']['init'](_0xc5eec8,_0x38f913)[_0x8808a6(0x31e)](_0x6d7d6d);};}});var _0x442fcb=_0x5e86bd['algo']={};return _0x5e86bd;}(Math);return _0x258542;}));}(pe)),pe[_0x2518fe(0x373)];}var me={'exports':{}},zn=me['exports'],et;function Dt(){var _0x50363c=_0x1a8f07;return et||(et=0x1,function(_0xeca18e,_0x50eec3){(function(_0x11ec10,_0x5aafbe){_0xeca18e['exports']=_0x5aafbe(ee());}(zn,function(_0x17ad51){var _0x407c39=_0x3fe4;return(function(){var _0x44aa2e=_0x3fe4,_0x175542=_0x17ad51,_0x15028e=_0x175542[_0x44aa2e(0x2e6)],_0x4f8ac7=_0x15028e[_0x44aa2e(0x37a)],_0x167104=_0x175542[_0x44aa2e(0x34f)];_0x167104[_0x44aa2e(0x264)]={'stringify':function(_0x379fa7){var _0x230150=_0x44aa2e,_0x1dc07e=_0x379fa7[_0x230150(0xf2)],_0x4d6d79=_0x379fa7[_0x230150(0x2f3)],_0x5d064f=this[_0x230150(0x383)];_0x379fa7[_0x230150(0x260)]();for(var _0x215773=[],_0x16a33e=0x0;_0x16a33e<_0x4d6d79;_0x16a33e+=0x3)for(var _0x15dfd7=_0x1dc07e[_0x16a33e>>>0x2]>>>0x18-_0x16a33e%0x4*0x8&0xff,_0x133c86=_0x1dc07e[_0x16a33e+0x1>>>0x2]>>>0x18-(_0x16a33e+0x1)%0x4*0x8&0xff,_0x252183=_0x1dc07e[_0x16a33e+0x2>>>0x2]>>>0x18-(_0x16a33e+0x2)%0x4*0x8&0xff,_0x174469=_0x15dfd7<<0x10|_0x133c86<<0x8|_0x252183,_0x59e9f5=0x0;_0x59e9f5<0x4&&_0x16a33e+_0x59e9f5*0.75<_0x4d6d79;_0x59e9f5++)_0x215773[_0x230150(0x33d)](_0x5d064f[_0x230150(0x138)](_0x174469>>>0x6*(0x3-_0x59e9f5)&0x3f));var _0xf3bbf4=_0x5d064f['charAt'](0x40);if(_0xf3bbf4){for(;_0x215773[_0x230150(0x144)]%0x4;)_0x215773[_0x230150(0x33d)](_0xf3bbf4);}return _0x215773['join']('');},'parse':function(_0x4035cb){var _0x8ef674=_0x44aa2e,_0x4e4688=_0x4035cb['length'],_0x324d4b=this['_map'],_0x567c00=this[_0x8ef674(0x206)];if(!_0x567c00){_0x567c00=this['_reverseMap']=[];for(var _0xe9d8c5=0x0;_0xe9d8c5<_0x324d4b['length'];_0xe9d8c5++)_0x567c00[_0x324d4b[_0x8ef674(0x2cc)](_0xe9d8c5)]=_0xe9d8c5;}var _0x1f3194=_0x324d4b[_0x8ef674(0x138)](0x40);if(_0x1f3194){var _0x5a99bf=_0x4035cb['indexOf'](_0x1f3194);_0x5a99bf!==-0x1&&(_0x4e4688=_0x5a99bf);}return _0x5d9a57(_0x4035cb,_0x4e4688,_0x567c00);},'_map':_0x44aa2e(0x3a8)};function _0x5d9a57(_0x21daa8,_0xf2d4ce,_0x151a91){var _0x454cf6=_0x44aa2e;for(var _0x45cf6b=[],_0x14d8a0=0x0,_0x52b15c=0x0;_0x52b15c<_0xf2d4ce;_0x52b15c++)if(_0x52b15c%0x4){var _0x3fbfe0=_0x151a91[_0x21daa8[_0x454cf6(0x2cc)](_0x52b15c-0x1)]<<_0x52b15c%0x4*0x2,_0x18b651=_0x151a91[_0x21daa8[_0x454cf6(0x2cc)](_0x52b15c)]>>>0x6-_0x52b15c%0x4*0x2,_0x1f69e6=_0x3fbfe0|_0x18b651;_0x45cf6b[_0x14d8a0>>>0x2]|=_0x1f69e6<<0x18-_0x14d8a0%0x4*0x8,_0x14d8a0++;}return _0x4f8ac7[_0x454cf6(0x1c4)](_0x45cf6b,_0x14d8a0);}}()),_0x17ad51[_0x407c39(0x34f)][_0x407c39(0x264)];}));}(me)),me[_0x50363c(0x373)];}var ge={'exports':{}},Jn=ge[_0x1a8f07(0x373)],tt;function Xn(){var _0x1c74ed=_0x1a8f07;return tt||(tt=0x1,function(_0x15cfd5,_0x10d250){(function(_0x5e6d63,_0x499a50){_0x15cfd5['exports']=_0x499a50(ee());}(Jn,function(_0x5151d7){var _0x32fa5a=_0x3fe4;return function(_0x5c4b0a){var _0x25b2a3=_0x3fe4,_0x187da3=_0x5151d7,_0x25ef80=_0x187da3[_0x25b2a3(0x2e6)],_0x2e1d5f=_0x25ef80[_0x25b2a3(0x37a)],_0x377fdc=_0x25ef80[_0x25b2a3(0x233)],_0x12f7b9=_0x187da3[_0x25b2a3(0x2d1)],_0x32b4d6=[];(function(){var _0x4dbd99=_0x25b2a3;for(var _0xac54c3=0x0;_0xac54c3<0x40;_0xac54c3++)_0x32b4d6[_0xac54c3]=_0x5c4b0a[_0x4dbd99(0x2bd)](_0x5c4b0a[_0x4dbd99(0xd5)](_0xac54c3+0x1))*0x100000000|0x0;}());var _0x337e78=_0x12f7b9[_0x25b2a3(0x121)]=_0x377fdc[_0x25b2a3(0x14a)]({'_doReset':function(){this['_hash']=new _0x2e1d5f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x59b9c0,_0x3c4e76){var _0x1b8363=_0x25b2a3;for(var _0x393423=0x0;_0x393423<0x10;_0x393423++){var _0x5728b2=_0x3c4e76+_0x393423,_0x161cbb=_0x59b9c0[_0x5728b2];_0x59b9c0[_0x5728b2]=(_0x161cbb<<0x8|_0x161cbb>>>0x18)&0xff00ff|(_0x161cbb<<0x18|_0x161cbb>>>0x8)&0xff00ff00;}var _0x255769=this[_0x1b8363(0x2c2)][_0x1b8363(0xf2)],_0x2ef715=_0x59b9c0[_0x3c4e76+0x0],_0x26a5e3=_0x59b9c0[_0x3c4e76+0x1],_0x426f10=_0x59b9c0[_0x3c4e76+0x2],_0x3f01d2=_0x59b9c0[_0x3c4e76+0x3],_0x272d5=_0x59b9c0[_0x3c4e76+0x4],_0x467a6b=_0x59b9c0[_0x3c4e76+0x5],_0xc2ac0e=_0x59b9c0[_0x3c4e76+0x6],_0x3df3fd=_0x59b9c0[_0x3c4e76+0x7],_0x27a909=_0x59b9c0[_0x3c4e76+0x8],_0x151ed6=_0x59b9c0[_0x3c4e76+0x9],_0x34cbb0=_0x59b9c0[_0x3c4e76+0xa],_0x5433e6=_0x59b9c0[_0x3c4e76+0xb],_0x45e109=_0x59b9c0[_0x3c4e76+0xc],_0x1617a1=_0x59b9c0[_0x3c4e76+0xd],_0x41a3f2=_0x59b9c0[_0x3c4e76+0xe],_0xefa906=_0x59b9c0[_0x3c4e76+0xf],_0x2151ca=_0x255769[0x0],_0x25ea7c=_0x255769[0x1],_0x465731=_0x255769[0x2],_0x44d0dd=_0x255769[0x3];_0x2151ca=_0x5161fd(_0x2151ca,_0x25ea7c,_0x465731,_0x44d0dd,_0x2ef715,0x7,_0x32b4d6[0x0]),_0x44d0dd=_0x5161fd(_0x44d0dd,_0x2151ca,_0x25ea7c,_0x465731,_0x26a5e3,0xc,_0x32b4d6[0x1]),_0x465731=_0x5161fd(_0x465731,_0x44d0dd,_0x2151ca,_0x25ea7c,_0x426f10,0x11,_0x32b4d6[0x2]),_0x25ea7c=_0x5161fd(_0x25ea7c,_0x465731,_0x44d0dd,_0x2151ca,_0x3f01d2,0x16,_0x32b4d6[0x3]),_0x2151ca=_0x5161fd(_0x2151ca,_0x25ea7c,_0x465731,_0x44d0dd,_0x272d5,0x7,_0x32b4d6[0x4]),_0x44d0dd=_0x5161fd(_0x44d0dd,_0x2151ca,_0x25ea7c,_0x465731,_0x467a6b,0xc,_0x32b4d6[0x5]),_0x465731=_0x5161fd(_0x465731,_0x44d0dd,_0x2151ca,_0x25ea7c,_0xc2ac0e,0x11,_0x32b4d6[0x6]),_0x25ea7c=_0x5161fd(_0x25ea7c,_0x465731,_0x44d0dd,_0x2151ca,_0x3df3fd,0x16,_0x32b4d6[0x7]),_0x2151ca=_0x5161fd(_0x2151ca,_0x25ea7c,_0x465731,_0x44d0dd,_0x27a909,0x7,_0x32b4d6[0x8]),_0x44d0dd=_0x5161fd(_0x44d0dd,_0x2151ca,_0x25ea7c,_0x465731,_0x151ed6,0xc,_0x32b4d6[0x9]),_0x465731=_0x5161fd(_0x465731,_0x44d0dd,_0x2151ca,_0x25ea7c,_0x34cbb0,0x11,_0x32b4d6[0xa]),_0x25ea7c=_0x5161fd(_0x25ea7c,_0x465731,_0x44d0dd,_0x2151ca,_0x5433e6,0x16,_0x32b4d6[0xb]),_0x2151ca=_0x5161fd(_0x2151ca,_0x25ea7c,_0x465731,_0x44d0dd,_0x45e109,0x7,_0x32b4d6[0xc]),_0x44d0dd=_0x5161fd(_0x44d0dd,_0x2151ca,_0x25ea7c,_0x465731,_0x1617a1,0xc,_0x32b4d6[0xd]),_0x465731=_0x5161fd(_0x465731,_0x44d0dd,_0x2151ca,_0x25ea7c,_0x41a3f2,0x11,_0x32b4d6[0xe]),_0x25ea7c=_0x5161fd(_0x25ea7c,_0x465731,_0x44d0dd,_0x2151ca,_0xefa906,0x16,_0x32b4d6[0xf]),_0x2151ca=_0xc796c5(_0x2151ca,_0x25ea7c,_0x465731,_0x44d0dd,_0x26a5e3,0x5,_0x32b4d6[0x10]),_0x44d0dd=_0xc796c5(_0x44d0dd,_0x2151ca,_0x25ea7c,_0x465731,_0xc2ac0e,0x9,_0x32b4d6[0x11]),_0x465731=_0xc796c5(_0x465731,_0x44d0dd,_0x2151ca,_0x25ea7c,_0x5433e6,0xe,_0x32b4d6[0x12]),_0x25ea7c=_0xc796c5(_0x25ea7c,_0x465731,_0x44d0dd,_0x2151ca,_0x2ef715,0x14,_0x32b4d6[0x13]),_0x2151ca=_0xc796c5(_0x2151ca,_0x25ea7c,_0x465731,_0x44d0dd,_0x467a6b,0x5,_0x32b4d6[0x14]),_0x44d0dd=_0xc796c5(_0x44d0dd,_0x2151ca,_0x25ea7c,_0x465731,_0x34cbb0,0x9,_0x32b4d6[0x15]),_0x465731=_0xc796c5(_0x465731,_0x44d0dd,_0x2151ca,_0x25ea7c,_0xefa906,0xe,_0x32b4d6[0x16]),_0x25ea7c=_0xc796c5(_0x25ea7c,_0x465731,_0x44d0dd,_0x2151ca,_0x272d5,0x14,_0x32b4d6[0x17]),_0x2151ca=_0xc796c5(_0x2151ca,_0x25ea7c,_0x465731,_0x44d0dd,_0x151ed6,0x5,_0x32b4d6[0x18]),_0x44d0dd=_0xc796c5(_0x44d0dd,_0x2151ca,_0x25ea7c,_0x465731,_0x41a3f2,0x9,_0x32b4d6[0x19]),_0x465731=_0xc796c5(_0x465731,_0x44d0dd,_0x2151ca,_0x25ea7c,_0x3f01d2,0xe,_0x32b4d6[0x1a]),_0x25ea7c=_0xc796c5(_0x25ea7c,_0x465731,_0x44d0dd,_0x2151ca,_0x27a909,0x14,_0x32b4d6[0x1b]),_0x2151ca=_0xc796c5(_0x2151ca,_0x25ea7c,_0x465731,_0x44d0dd,_0x1617a1,0x5,_0x32b4d6[0x1c]),_0x44d0dd=_0xc796c5(_0x44d0dd,_0x2151ca,_0x25ea7c,_0x465731,_0x426f10,0x9,_0x32b4d6[0x1d]),_0x465731=_0xc796c5(_0x465731,_0x44d0dd,_0x2151ca,_0x25ea7c,_0x3df3fd,0xe,_0x32b4d6[0x1e]),_0x25ea7c=_0xc796c5(_0x25ea7c,_0x465731,_0x44d0dd,_0x2151ca,_0x45e109,0x14,_0x32b4d6[0x1f]),_0x2151ca=_0x5031d3(_0x2151ca,_0x25ea7c,_0x465731,_0x44d0dd,_0x467a6b,0x4,_0x32b4d6[0x20]),_0x44d0dd=_0x5031d3(_0x44d0dd,_0x2151ca,_0x25ea7c,_0x465731,_0x27a909,0xb,_0x32b4d6[0x21]),_0x465731=_0x5031d3(_0x465731,_0x44d0dd,_0x2151ca,_0x25ea7c,_0x5433e6,0x10,_0x32b4d6[0x22]),_0x25ea7c=_0x5031d3(_0x25ea7c,_0x465731,_0x44d0dd,_0x2151ca,_0x41a3f2,0x17,_0x32b4d6[0x23]),_0x2151ca=_0x5031d3(_0x2151ca,_0x25ea7c,_0x465731,_0x44d0dd,_0x26a5e3,0x4,_0x32b4d6[0x24]),_0x44d0dd=_0x5031d3(_0x44d0dd,_0x2151ca,_0x25ea7c,_0x465731,_0x272d5,0xb,_0x32b4d6[0x25]),_0x465731=_0x5031d3(_0x465731,_0x44d0dd,_0x2151ca,_0x25ea7c,_0x3df3fd,0x10,_0x32b4d6[0x26]),_0x25ea7c=_0x5031d3(_0x25ea7c,_0x465731,_0x44d0dd,_0x2151ca,_0x34cbb0,0x17,_0x32b4d6[0x27]),_0x2151ca=_0x5031d3(_0x2151ca,_0x25ea7c,_0x465731,_0x44d0dd,_0x1617a1,0x4,_0x32b4d6[0x28]),_0x44d0dd=_0x5031d3(_0x44d0dd,_0x2151ca,_0x25ea7c,_0x465731,_0x2ef715,0xb,_0x32b4d6[0x29]),_0x465731=_0x5031d3(_0x465731,_0x44d0dd,_0x2151ca,_0x25ea7c,_0x3f01d2,0x10,_0x32b4d6[0x2a]),_0x25ea7c=_0x5031d3(_0x25ea7c,_0x465731,_0x44d0dd,_0x2151ca,_0xc2ac0e,0x17,_0x32b4d6[0x2b]),_0x2151ca=_0x5031d3(_0x2151ca,_0x25ea7c,_0x465731,_0x44d0dd,_0x151ed6,0x4,_0x32b4d6[0x2c]),_0x44d0dd=_0x5031d3(_0x44d0dd,_0x2151ca,_0x25ea7c,_0x465731,_0x45e109,0xb,_0x32b4d6[0x2d]),_0x465731=_0x5031d3(_0x465731,_0x44d0dd,_0x2151ca,_0x25ea7c,_0xefa906,0x10,_0x32b4d6[0x2e]),_0x25ea7c=_0x5031d3(_0x25ea7c,_0x465731,_0x44d0dd,_0x2151ca,_0x426f10,0x17,_0x32b4d6[0x2f]),_0x2151ca=_0xc7927f(_0x2151ca,_0x25ea7c,_0x465731,_0x44d0dd,_0x2ef715,0x6,_0x32b4d6[0x30]),_0x44d0dd=_0xc7927f(_0x44d0dd,_0x2151ca,_0x25ea7c,_0x465731,_0x3df3fd,0xa,_0x32b4d6[0x31]),_0x465731=_0xc7927f(_0x465731,_0x44d0dd,_0x2151ca,_0x25ea7c,_0x41a3f2,0xf,_0x32b4d6[0x32]),_0x25ea7c=_0xc7927f(_0x25ea7c,_0x465731,_0x44d0dd,_0x2151ca,_0x467a6b,0x15,_0x32b4d6[0x33]),_0x2151ca=_0xc7927f(_0x2151ca,_0x25ea7c,_0x465731,_0x44d0dd,_0x45e109,0x6,_0x32b4d6[0x34]),_0x44d0dd=_0xc7927f(_0x44d0dd,_0x2151ca,_0x25ea7c,_0x465731,_0x3f01d2,0xa,_0x32b4d6[0x35]),_0x465731=_0xc7927f(_0x465731,_0x44d0dd,_0x2151ca,_0x25ea7c,_0x34cbb0,0xf,_0x32b4d6[0x36]),_0x25ea7c=_0xc7927f(_0x25ea7c,_0x465731,_0x44d0dd,_0x2151ca,_0x26a5e3,0x15,_0x32b4d6[0x37]),_0x2151ca=_0xc7927f(_0x2151ca,_0x25ea7c,_0x465731,_0x44d0dd,_0x27a909,0x6,_0x32b4d6[0x38]),_0x44d0dd=_0xc7927f(_0x44d0dd,_0x2151ca,_0x25ea7c,_0x465731,_0xefa906,0xa,_0x32b4d6[0x39]),_0x465731=_0xc7927f(_0x465731,_0x44d0dd,_0x2151ca,_0x25ea7c,_0xc2ac0e,0xf,_0x32b4d6[0x3a]),_0x25ea7c=_0xc7927f(_0x25ea7c,_0x465731,_0x44d0dd,_0x2151ca,_0x1617a1,0x15,_0x32b4d6[0x3b]),_0x2151ca=_0xc7927f(_0x2151ca,_0x25ea7c,_0x465731,_0x44d0dd,_0x272d5,0x6,_0x32b4d6[0x3c]),_0x44d0dd=_0xc7927f(_0x44d0dd,_0x2151ca,_0x25ea7c,_0x465731,_0x5433e6,0xa,_0x32b4d6[0x3d]),_0x465731=_0xc7927f(_0x465731,_0x44d0dd,_0x2151ca,_0x25ea7c,_0x426f10,0xf,_0x32b4d6[0x3e]),_0x25ea7c=_0xc7927f(_0x25ea7c,_0x465731,_0x44d0dd,_0x2151ca,_0x151ed6,0x15,_0x32b4d6[0x3f]),_0x255769[0x0]=_0x255769[0x0]+_0x2151ca|0x0,_0x255769[0x1]=_0x255769[0x1]+_0x25ea7c|0x0,_0x255769[0x2]=_0x255769[0x2]+_0x465731|0x0,_0x255769[0x3]=_0x255769[0x3]+_0x44d0dd|0x0;},'_doFinalize':function(){var _0x5853f8=_0x25b2a3,_0x31c4ed=this['_data'],_0x542ae9=_0x31c4ed[_0x5853f8(0xf2)],_0x4401f3=this[_0x5853f8(0x120)]*0x8,_0x49bbc3=_0x31c4ed[_0x5853f8(0x2f3)]*0x8;_0x542ae9[_0x49bbc3>>>0x5]|=0x80<<0x18-_0x49bbc3%0x20;var _0x38076b=_0x5c4b0a[_0x5853f8(0x2a3)](_0x4401f3/0x100000000),_0x2cfccc=_0x4401f3;_0x542ae9[(_0x49bbc3+0x40>>>0x9<<0x4)+0xf]=(_0x38076b<<0x8|_0x38076b>>>0x18)&0xff00ff|(_0x38076b<<0x18|_0x38076b>>>0x8)&0xff00ff00,_0x542ae9[(_0x49bbc3+0x40>>>0x9<<0x4)+0xe]=(_0x2cfccc<<0x8|_0x2cfccc>>>0x18)&0xff00ff|(_0x2cfccc<<0x18|_0x2cfccc>>>0x8)&0xff00ff00,_0x31c4ed[_0x5853f8(0x2f3)]=(_0x542ae9[_0x5853f8(0x144)]+0x1)*0x4,this[_0x5853f8(0xdd)]();for(var _0x42ab9c=this[_0x5853f8(0x2c2)],_0x4b46ec=_0x42ab9c[_0x5853f8(0xf2)],_0x545609=0x0;_0x545609<0x4;_0x545609++){var _0x2459e3=_0x4b46ec[_0x545609];_0x4b46ec[_0x545609]=(_0x2459e3<<0x8|_0x2459e3>>>0x18)&0xff00ff|(_0x2459e3<<0x18|_0x2459e3>>>0x8)&0xff00ff00;}return _0x42ab9c;},'clone':function(){var _0x4c572e=_0x25b2a3,_0x3e2e77=_0x377fdc[_0x4c572e(0x387)][_0x4c572e(0x115)](this);return _0x3e2e77['_hash']=this[_0x4c572e(0x2c2)][_0x4c572e(0x387)](),_0x3e2e77;}});function _0x5161fd(_0x4c31ce,_0x5be7e7,_0x16abc5,_0x4029da,_0x344a3d,_0x54b424,_0x5a7a83){var _0x3b5b39=_0x4c31ce+(_0x5be7e7&_0x16abc5|~_0x5be7e7&_0x4029da)+_0x344a3d+_0x5a7a83;return(_0x3b5b39<<_0x54b424|_0x3b5b39>>>0x20-_0x54b424)+_0x5be7e7;}function _0xc796c5(_0x151210,_0x30712b,_0x2585a1,_0xf2c306,_0xec5c08,_0x33b2f5,_0x3122a0){var _0x3fa902=_0x151210+(_0x30712b&_0xf2c306|_0x2585a1&~_0xf2c306)+_0xec5c08+_0x3122a0;return(_0x3fa902<<_0x33b2f5|_0x3fa902>>>0x20-_0x33b2f5)+_0x30712b;}function _0x5031d3(_0x35abc5,_0x2fb541,_0x99bbed,_0x3d16ee,_0xdb0bbe,_0x233829,_0x8ed01f){var _0x20c770=_0x35abc5+(_0x2fb541^_0x99bbed^_0x3d16ee)+_0xdb0bbe+_0x8ed01f;return(_0x20c770<<_0x233829|_0x20c770>>>0x20-_0x233829)+_0x2fb541;}function _0xc7927f(_0x8ebcac,_0x4de484,_0x22cf3d,_0x48af0e,_0x4015c6,_0xa9ed82,_0x133fac){var _0x50e454=_0x8ebcac+(_0x22cf3d^(_0x4de484|~_0x48af0e))+_0x4015c6+_0x133fac;return(_0x50e454<<_0xa9ed82|_0x50e454>>>0x20-_0xa9ed82)+_0x4de484;}_0x187da3['MD5']=_0x377fdc[_0x25b2a3(0x21a)](_0x337e78),_0x187da3[_0x25b2a3(0x3bc)]=_0x377fdc[_0x25b2a3(0x1d6)](_0x337e78);}(Math),_0x5151d7[_0x32fa5a(0x121)];}));}(ge)),ge[_0x1c74ed(0x373)];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee['exports'],nt;function Qn(){return nt||(nt=0x1,function(_0x52ecad,_0x5d1a4b){(function(_0x29228c,_0x17d390){var _0x186d80=_0x3fe4;_0x52ecad[_0x186d80(0x373)]=_0x17d390(ee());}(Zn,function(_0x34e2f5){var _0x198050=_0x3fe4;return(function(){var _0xce941b=_0x3fe4,_0x3b940b=_0x34e2f5,_0x2f913b=_0x3b940b[_0xce941b(0x2e6)],_0x17cd09=_0x2f913b['WordArray'],_0x5d5f39=_0x2f913b[_0xce941b(0x233)],_0x753812=_0x3b940b[_0xce941b(0x2d1)],_0x3beeba=[],_0x31328d=_0x753812[_0xce941b(0x318)]=_0x5d5f39['extend']({'_doReset':function(){var _0x29d4ce=_0xce941b;this[_0x29d4ce(0x2c2)]=new _0x17cd09[(_0x29d4ce(0x41e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3de277,_0x127e54){var _0x852a7e=_0xce941b;for(var _0x424d35=this[_0x852a7e(0x2c2)][_0x852a7e(0xf2)],_0x325f6f=_0x424d35[0x0],_0x45d8b7=_0x424d35[0x1],_0x22fee2=_0x424d35[0x2],_0x4a7f36=_0x424d35[0x3],_0x3210cf=_0x424d35[0x4],_0x100aee=0x0;_0x100aee<0x50;_0x100aee++){if(_0x100aee<0x10)_0x3beeba[_0x100aee]=_0x3de277[_0x127e54+_0x100aee]|0x0;else{var _0x505dce=_0x3beeba[_0x100aee-0x3]^_0x3beeba[_0x100aee-0x8]^_0x3beeba[_0x100aee-0xe]^_0x3beeba[_0x100aee-0x10];_0x3beeba[_0x100aee]=_0x505dce<<0x1|_0x505dce>>>0x1f;}var _0x42afab=(_0x325f6f<<0x5|_0x325f6f>>>0x1b)+_0x3210cf+_0x3beeba[_0x100aee];_0x100aee<0x14?_0x42afab+=(_0x45d8b7&_0x22fee2|~_0x45d8b7&_0x4a7f36)+0x5a827999:_0x100aee<0x28?_0x42afab+=(_0x45d8b7^_0x22fee2^_0x4a7f36)+0x6ed9eba1:_0x100aee<0x3c?_0x42afab+=(_0x45d8b7&_0x22fee2|_0x45d8b7&_0x4a7f36|_0x22fee2&_0x4a7f36)-0x70e44324:_0x42afab+=(_0x45d8b7^_0x22fee2^_0x4a7f36)-0x359d3e2a,_0x3210cf=_0x4a7f36,_0x4a7f36=_0x22fee2,_0x22fee2=_0x45d8b7<<0x1e|_0x45d8b7>>>0x2,_0x45d8b7=_0x325f6f,_0x325f6f=_0x42afab;}_0x424d35[0x0]=_0x424d35[0x0]+_0x325f6f|0x0,_0x424d35[0x1]=_0x424d35[0x1]+_0x45d8b7|0x0,_0x424d35[0x2]=_0x424d35[0x2]+_0x22fee2|0x0,_0x424d35[0x3]=_0x424d35[0x3]+_0x4a7f36|0x0,_0x424d35[0x4]=_0x424d35[0x4]+_0x3210cf|0x0;},'_doFinalize':function(){var _0x29ddb5=_0xce941b,_0x3269c2=this['_data'],_0x43853e=_0x3269c2['words'],_0x40ccbc=this[_0x29ddb5(0x120)]*0x8,_0x30540f=_0x3269c2['sigBytes']*0x8;return _0x43853e[_0x30540f>>>0x5]|=0x80<<0x18-_0x30540f%0x20,_0x43853e[(_0x30540f+0x40>>>0x9<<0x4)+0xe]=Math[_0x29ddb5(0x2a3)](_0x40ccbc/0x100000000),_0x43853e[(_0x30540f+0x40>>>0x9<<0x4)+0xf]=_0x40ccbc,_0x3269c2[_0x29ddb5(0x2f3)]=_0x43853e[_0x29ddb5(0x144)]*0x4,this[_0x29ddb5(0xdd)](),this[_0x29ddb5(0x2c2)];},'clone':function(){var _0x3ac87f=_0xce941b,_0xd656ba=_0x5d5f39['clone'][_0x3ac87f(0x115)](this);return _0xd656ba['_hash']=this['_hash'][_0x3ac87f(0x387)](),_0xd656ba;}});_0x3b940b[_0xce941b(0x318)]=_0x5d5f39['_createHelper'](_0x31328d),_0x3b940b[_0xce941b(0x17d)]=_0x5d5f39[_0xce941b(0x1d6)](_0x31328d);}()),_0x34e2f5[_0x198050(0x318)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},ei=Ce[_0x1a8f07(0x373)],it;function ti(){return it||(it=0x1,function(_0x56242b,_0x5f1077){(function(_0x329d58,_0x2decd7){var _0x3f4e1f=_0x3fe4;_0x56242b[_0x3f4e1f(0x373)]=_0x2decd7(ee());}(ei,function(_0x573869){(function(){var _0x36e005=_0x3fe4,_0x4cc873=_0x573869,_0x35bf79=_0x4cc873[_0x36e005(0x2e6)],_0x4a68ad=_0x35bf79[_0x36e005(0x207)],_0x2c922b=_0x4cc873[_0x36e005(0x34f)],_0x4200b6=_0x2c922b[_0x36e005(0x38e)],_0x4e0739=_0x4cc873[_0x36e005(0x2d1)];_0x4e0739[_0x36e005(0x2b1)]=_0x4a68ad[_0x36e005(0x14a)]({'init':function(_0x15192e,_0x3f9709){var _0x400e6a=_0x36e005;_0x15192e=this[_0x400e6a(0x2ac)]=new _0x15192e[(_0x400e6a(0x41e))](),typeof _0x3f9709==_0x400e6a(0x29e)&&(_0x3f9709=_0x4200b6[_0x400e6a(0x11e)](_0x3f9709));var _0xef6cf2=_0x15192e[_0x400e6a(0x437)],_0x21bb0f=_0xef6cf2*0x4;_0x3f9709[_0x400e6a(0x2f3)]>_0x21bb0f&&(_0x3f9709=_0x15192e[_0x400e6a(0x31e)](_0x3f9709)),_0x3f9709[_0x400e6a(0x260)]();for(var _0x3d37e9=this['_oKey']=_0x3f9709['clone'](),_0x27d895=this[_0x400e6a(0x3b4)]=_0x3f9709[_0x400e6a(0x387)](),_0x448761=_0x3d37e9['words'],_0xc23373=_0x27d895['words'],_0x31a8c6=0x0;_0x31a8c6<_0xef6cf2;_0x31a8c6++)_0x448761[_0x31a8c6]^=0x5c5c5c5c,_0xc23373[_0x31a8c6]^=0x36363636;_0x3d37e9[_0x400e6a(0x2f3)]=_0x27d895[_0x400e6a(0x2f3)]=_0x21bb0f,this['reset']();},'reset':function(){var _0x230aed=_0x36e005,_0x5db97c=this['_hasher'];_0x5db97c['reset'](),_0x5db97c[_0x230aed(0x3c1)](this[_0x230aed(0x3b4)]);},'update':function(_0x88373f){var _0x10f764=_0x36e005;return this[_0x10f764(0x2ac)][_0x10f764(0x3c1)](_0x88373f),this;},'finalize':function(_0xe8df1f){var _0x489c6c=_0x36e005,_0x3ea472=this['_hasher'],_0x2e5aa9=_0x3ea472[_0x489c6c(0x31e)](_0xe8df1f);_0x3ea472[_0x489c6c(0x20e)]();var _0x42be89=_0x3ea472['finalize'](this[_0x489c6c(0x24a)][_0x489c6c(0x387)]()[_0x489c6c(0x33b)](_0x2e5aa9));return _0x42be89;}});}());}));}(Ce)),Ce['exports'];}var ni=Ie[_0x1a8f07(0x373)],rt;function wt(){var _0x403ec3=_0x1a8f07;return rt||(rt=0x1,function(_0x44570f,_0x4d5826){(function(_0x3e4e7d,_0x1c7073,_0x233495){var _0x434e51=_0x3fe4;_0x44570f[_0x434e51(0x373)]=_0x1c7073(ee(),Qn(),ti());}(ni,function(_0x14a6c2){var _0x4bda54=_0x3fe4;return(function(){var _0x29cfe6=_0x3fe4,_0x1f2b8f=_0x14a6c2,_0x387711=_0x1f2b8f['lib'],_0x4b1343=_0x387711[_0x29cfe6(0x207)],_0x4bcd28=_0x387711[_0x29cfe6(0x37a)],_0x5cbd93=_0x1f2b8f[_0x29cfe6(0x2d1)],_0x4194cd=_0x5cbd93[_0x29cfe6(0x121)],_0x40b8db=_0x5cbd93[_0x29cfe6(0x406)]=_0x4b1343[_0x29cfe6(0x14a)]({'cfg':_0x4b1343[_0x29cfe6(0x14a)]({'keySize':0x80/0x20,'hasher':_0x4194cd,'iterations':0x1}),'init':function(_0x4c1614){var _0x395268=_0x29cfe6;this[_0x395268(0x239)]=this['cfg'][_0x395268(0x14a)](_0x4c1614);},'compute':function(_0x4f2114,_0x118c8a){var _0x4ec988=_0x29cfe6;for(var _0x5dbe7a,_0x25b2f0=this[_0x4ec988(0x239)],_0x47be3f=_0x25b2f0[_0x4ec988(0x3f2)][_0x4ec988(0x1c4)](),_0x2b87af=_0x4bcd28[_0x4ec988(0x1c4)](),_0x119b13=_0x2b87af[_0x4ec988(0xf2)],_0x1488b3=_0x25b2f0['keySize'],_0x1d5ca7=_0x25b2f0[_0x4ec988(0x22a)];_0x119b13[_0x4ec988(0x144)]<_0x1488b3;){_0x5dbe7a&&_0x47be3f['update'](_0x5dbe7a),_0x5dbe7a=_0x47be3f[_0x4ec988(0x3c1)](_0x4f2114)[_0x4ec988(0x31e)](_0x118c8a),_0x47be3f[_0x4ec988(0x20e)]();for(var _0x1e8960=0x1;_0x1e8960<_0x1d5ca7;_0x1e8960++)_0x5dbe7a=_0x47be3f[_0x4ec988(0x31e)](_0x5dbe7a),_0x47be3f[_0x4ec988(0x20e)]();_0x2b87af[_0x4ec988(0x33b)](_0x5dbe7a);}return _0x2b87af[_0x4ec988(0x2f3)]=_0x1488b3*0x4,_0x2b87af;}});_0x1f2b8f[_0x29cfe6(0x406)]=function(_0x14a1aa,_0x57fa91,_0x771584){var _0x35409c=_0x29cfe6;return _0x40b8db[_0x35409c(0x1c4)](_0x771584)[_0x35409c(0x23a)](_0x14a1aa,_0x57fa91);};}()),_0x14a6c2[_0x4bda54(0x406)];}));}(Ie)),Ie[_0x403ec3(0x373)];}var Te={'exports':{}},ii=Te['exports'],st;function At(){var _0x22da07=_0x1a8f07;return st||(st=0x1,function(_0x39f754,_0x1a9ba9){(function(_0x231f72,_0x61c077,_0x4181cd){var _0x5a6ef5=_0x3fe4;_0x39f754[_0x5a6ef5(0x373)]=_0x61c077(ee(),wt());}(ii,function(_0x58a98b){var _0x3bef65=_0x3fe4;_0x58a98b[_0x3bef65(0x2e6)]['Cipher']||function(_0x149a06){var _0x258199=_0x3bef65,_0x4ce419=_0x58a98b,_0x392ac0=_0x4ce419[_0x258199(0x2e6)],_0x3546bb=_0x392ac0[_0x258199(0x207)],_0x533b37=_0x392ac0[_0x258199(0x37a)],_0x441847=_0x392ac0[_0x258199(0x2e7)],_0x1d9c95=_0x4ce419[_0x258199(0x34f)];_0x1d9c95[_0x258199(0x38e)];var _0x498de0=_0x1d9c95[_0x258199(0x264)],_0x343250=_0x4ce419[_0x258199(0x2d1)],_0x26b609=_0x343250[_0x258199(0x406)],_0x38d855=_0x392ac0['Cipher']=_0x441847[_0x258199(0x14a)]({'cfg':_0x3546bb[_0x258199(0x14a)](),'createEncryptor':function(_0x21649f,_0x54e23c){var _0x2ce29e=_0x258199;return this[_0x2ce29e(0x1c4)](this[_0x2ce29e(0xde)],_0x21649f,_0x54e23c);},'createDecryptor':function(_0x12f2e3,_0x2099ad){var _0x50bd5a=_0x258199;return this[_0x50bd5a(0x1c4)](this[_0x50bd5a(0x2bf)],_0x12f2e3,_0x2099ad);},'init':function(_0x540551,_0x43dbcd,_0x38228d){var _0x175285=_0x258199;this[_0x175285(0x239)]=this['cfg'][_0x175285(0x14a)](_0x38228d),this[_0x175285(0x28d)]=_0x540551,this[_0x175285(0x448)]=_0x43dbcd,this[_0x175285(0x20e)]();},'reset':function(){var _0xf301ea=_0x258199;_0x441847[_0xf301ea(0x20e)][_0xf301ea(0x115)](this),this[_0xf301ea(0x13b)]();},'process':function(_0x53d69e){var _0x4288ad=_0x258199;return this['_append'](_0x53d69e),this[_0x4288ad(0xdd)]();},'finalize':function(_0xbace07){var _0x3ad332=_0x258199;_0xbace07&&this['_append'](_0xbace07);var _0x290787=this[_0x3ad332(0x3bb)]();return _0x290787;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5a4baf(_0x5ca5f6){var _0x5e4ef1=_0x3fe4;return typeof _0x5ca5f6==_0x5e4ef1(0x29e)?_0x461178:_0x52892d;}return function(_0x2ff577){return{'encrypt':function(_0x2a26c4,_0x5068b9,_0x19c9a0){var _0x34fba9=_0x3fe4;return _0x5a4baf(_0x5068b9)[_0x34fba9(0x1f7)](_0x2ff577,_0x2a26c4,_0x5068b9,_0x19c9a0);},'decrypt':function(_0x1b96ce,_0x1ccafe,_0x531038){var _0x4e2884=_0x3fe4;return _0x5a4baf(_0x1ccafe)[_0x4e2884(0x177)](_0x2ff577,_0x1b96ce,_0x1ccafe,_0x531038);}};};}())});_0x392ac0[_0x258199(0x11d)]=_0x38d855[_0x258199(0x14a)]({'_doFinalize':function(){var _0x34b633=_0x258199,_0x33cda8=this[_0x34b633(0xdd)](!0x0);return _0x33cda8;},'blockSize':0x1});var _0x917590=_0x4ce419[_0x258199(0x393)]={},_0x4f9bb6=_0x392ac0[_0x258199(0x2a6)]=_0x3546bb[_0x258199(0x14a)]({'createEncryptor':function(_0x295740,_0x38279b){var _0xff7d35=_0x258199;return this['Encryptor'][_0xff7d35(0x1c4)](_0x295740,_0x38279b);},'createDecryptor':function(_0x1962f3,_0x38cf43){var _0x40e3d9=_0x258199;return this[_0x40e3d9(0x457)][_0x40e3d9(0x1c4)](_0x1962f3,_0x38cf43);},'init':function(_0x42c2ec,_0x19231b){var _0x48c2d3=_0x258199;this[_0x48c2d3(0x326)]=_0x42c2ec,this[_0x48c2d3(0x1ff)]=_0x19231b;}}),_0x4f800a=_0x917590['CBC']=(function(){var _0x542278=_0x258199,_0x26ed1e=_0x4f9bb6[_0x542278(0x14a)]();_0x26ed1e[_0x542278(0x302)]=_0x26ed1e[_0x542278(0x14a)]({'processBlock':function(_0x44f54e,_0x230996){var _0x103003=_0x542278,_0x5a5136=this[_0x103003(0x326)],_0x4ef8c2=_0x5a5136[_0x103003(0x437)];_0x725f19[_0x103003(0x115)](this,_0x44f54e,_0x230996,_0x4ef8c2),_0x5a5136[_0x103003(0x370)](_0x44f54e,_0x230996),this['_prevBlock']=_0x44f54e[_0x103003(0x270)](_0x230996,_0x230996+_0x4ef8c2);}}),_0x26ed1e[_0x542278(0x457)]=_0x26ed1e[_0x542278(0x14a)]({'processBlock':function(_0x5d5efb,_0x3f53ab){var _0x58727d=_0x542278,_0xd41465=this['_cipher'],_0xf092f1=_0xd41465[_0x58727d(0x437)],_0x452a1c=_0x5d5efb[_0x58727d(0x270)](_0x3f53ab,_0x3f53ab+_0xf092f1);_0xd41465[_0x58727d(0x2c4)](_0x5d5efb,_0x3f53ab),_0x725f19['call'](this,_0x5d5efb,_0x3f53ab,_0xf092f1),this[_0x58727d(0x35e)]=_0x452a1c;}});function _0x725f19(_0x3a62d9,_0x2cf0c8,_0x657d0f){var _0x383ad9=_0x542278,_0xd7cba8,_0x3b9cda=this[_0x383ad9(0x1ff)];_0x3b9cda?(_0xd7cba8=_0x3b9cda,this['_iv']=_0x149a06):_0xd7cba8=this[_0x383ad9(0x35e)];for(var _0x5160e2=0x0;_0x5160e2<_0x657d0f;_0x5160e2++)_0x3a62d9[_0x2cf0c8+_0x5160e2]^=_0xd7cba8[_0x5160e2];}return _0x26ed1e;}()),_0x41605f=_0x4ce419[_0x258199(0x3ec)]={},_0x52a9e2=_0x41605f[_0x258199(0x2bb)]={'pad':function(_0x50dcf6,_0x441f6f){var _0x1b2525=_0x258199;for(var _0xc1aef1=_0x441f6f*0x4,_0x3ad1bd=_0xc1aef1-_0x50dcf6[_0x1b2525(0x2f3)]%_0xc1aef1,_0x4ac659=_0x3ad1bd<<0x18|_0x3ad1bd<<0x10|_0x3ad1bd<<0x8|_0x3ad1bd,_0x1e1b18=[],_0x454d57=0x0;_0x454d57<_0x3ad1bd;_0x454d57+=0x4)_0x1e1b18['push'](_0x4ac659);var _0x56dd9a=_0x533b37[_0x1b2525(0x1c4)](_0x1e1b18,_0x3ad1bd);_0x50dcf6[_0x1b2525(0x33b)](_0x56dd9a);},'unpad':function(_0x3230ec){var _0x280e97=_0x258199,_0x33a280=_0x3230ec['words'][_0x3230ec[_0x280e97(0x2f3)]-0x1>>>0x2]&0xff;_0x3230ec[_0x280e97(0x2f3)]-=_0x33a280;}};_0x392ac0[_0x258199(0x325)]=_0x38d855[_0x258199(0x14a)]({'cfg':_0x38d855[_0x258199(0x239)][_0x258199(0x14a)]({'mode':_0x4f800a,'padding':_0x52a9e2}),'reset':function(){var _0x25919b=_0x258199,_0x162b1b;_0x38d855[_0x25919b(0x20e)][_0x25919b(0x115)](this);var _0x5f4acd=this[_0x25919b(0x239)],_0x29a52c=_0x5f4acd['iv'],_0x352869=_0x5f4acd[_0x25919b(0x393)];this[_0x25919b(0x28d)]==this[_0x25919b(0xde)]?_0x162b1b=_0x352869[_0x25919b(0x2a5)]:(_0x162b1b=_0x352869[_0x25919b(0x2c6)],this['_minBufferSize']=0x1),this['_mode']&&this[_0x25919b(0x27c)][_0x25919b(0x116)]==_0x162b1b?this['_mode']['init'](this,_0x29a52c&&_0x29a52c[_0x25919b(0xf2)]):(this[_0x25919b(0x27c)]=_0x162b1b[_0x25919b(0x115)](_0x352869,this,_0x29a52c&&_0x29a52c[_0x25919b(0xf2)]),this[_0x25919b(0x27c)][_0x25919b(0x116)]=_0x162b1b);},'_doProcessBlock':function(_0x4b583a,_0x3c6711){this['_mode']['processBlock'](_0x4b583a,_0x3c6711);},'_doFinalize':function(){var _0x120ef8=_0x258199,_0xb62e72,_0x13a3dc=this[_0x120ef8(0x239)][_0x120ef8(0x16e)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x13a3dc[_0x120ef8(0x3ec)](this[_0x120ef8(0x42e)],this['blockSize']),_0xb62e72=this['_process'](!0x0)):(_0xb62e72=this['_process'](!0x0),_0x13a3dc[_0x120ef8(0x267)](_0xb62e72)),_0xb62e72;},'blockSize':0x80/0x20});var _0x13a6d7=_0x392ac0[_0x258199(0x423)]=_0x3546bb[_0x258199(0x14a)]({'init':function(_0x1cd4f7){this['mixIn'](_0x1cd4f7);},'toString':function(_0x1fbc56){var _0xd1cb3c=_0x258199;return(_0x1fbc56||this[_0xd1cb3c(0x150)])[_0xd1cb3c(0x399)](this);}}),_0x2de8b1=_0x4ce419['format']={},_0x5c91e9=_0x2de8b1[_0x258199(0xd7)]={'stringify':function(_0x3c4bf7){var _0x14300f=_0x258199,_0xc1243e,_0x24c9f8=_0x3c4bf7[_0x14300f(0x36f)],_0x44ab12=_0x3c4bf7['salt'];return _0x44ab12?_0xc1243e=_0x533b37[_0x14300f(0x1c4)]([0x53616c74,0x65645f5f])[_0x14300f(0x33b)](_0x44ab12)[_0x14300f(0x33b)](_0x24c9f8):_0xc1243e=_0x24c9f8,_0xc1243e['toString'](_0x498de0);},'parse':function(_0x32f9b4){var _0x1be817=_0x258199,_0x258379,_0x3abbfb=_0x498de0[_0x1be817(0x11e)](_0x32f9b4),_0x562203=_0x3abbfb[_0x1be817(0xf2)];return _0x562203[0x0]==0x53616c74&&_0x562203[0x1]==0x65645f5f&&(_0x258379=_0x533b37['create'](_0x562203[_0x1be817(0x270)](0x2,0x4)),_0x562203['splice'](0x0,0x4),_0x3abbfb['sigBytes']-=0x10),_0x13a6d7[_0x1be817(0x1c4)]({'ciphertext':_0x3abbfb,'salt':_0x258379});}},_0x52892d=_0x392ac0[_0x258199(0x2b9)]=_0x3546bb[_0x258199(0x14a)]({'cfg':_0x3546bb['extend']({'format':_0x5c91e9}),'encrypt':function(_0x861a6d,_0x2859b8,_0x126398,_0x3a2169){var _0x4d1558=_0x258199;_0x3a2169=this[_0x4d1558(0x239)]['extend'](_0x3a2169);var _0x399a37=_0x861a6d[_0x4d1558(0x2a5)](_0x126398,_0x3a2169),_0x29e514=_0x399a37[_0x4d1558(0x31e)](_0x2859b8),_0x2bd10c=_0x399a37['cfg'];return _0x13a6d7[_0x4d1558(0x1c4)]({'ciphertext':_0x29e514,'key':_0x126398,'iv':_0x2bd10c['iv'],'algorithm':_0x861a6d,'mode':_0x2bd10c[_0x4d1558(0x393)],'padding':_0x2bd10c[_0x4d1558(0x16e)],'blockSize':_0x861a6d[_0x4d1558(0x437)],'formatter':_0x3a2169[_0x4d1558(0x3ae)]});},'decrypt':function(_0x4bcb75,_0x4c1d83,_0x2a756e,_0x5b8f88){var _0x23e964=_0x258199;_0x5b8f88=this['cfg'][_0x23e964(0x14a)](_0x5b8f88),_0x4c1d83=this[_0x23e964(0x134)](_0x4c1d83,_0x5b8f88[_0x23e964(0x3ae)]);var _0x826fe7=_0x4bcb75['createDecryptor'](_0x2a756e,_0x5b8f88)[_0x23e964(0x31e)](_0x4c1d83[_0x23e964(0x36f)]);return _0x826fe7;},'_parse':function(_0xb49b9e,_0x170ccc){var _0x16fa88=_0x258199;return typeof _0xb49b9e==_0x16fa88(0x29e)?_0x170ccc['parse'](_0xb49b9e,this):_0xb49b9e;}}),_0x4ce2b6=_0x4ce419[_0x258199(0x31d)]={},_0x5b2efa=_0x4ce2b6[_0x258199(0xd7)]={'execute':function(_0x520fed,_0x1c7003,_0xff692b,_0x347105,_0x55f09f){var _0xe3577c=_0x258199;if(_0x347105||(_0x347105=_0x533b37[_0xe3577c(0x165)](0x40/0x8)),_0x55f09f)var _0x453d1b=_0x26b609[_0xe3577c(0x1c4)]({'keySize':_0x1c7003+_0xff692b,'hasher':_0x55f09f})['compute'](_0x520fed,_0x347105);else var _0x453d1b=_0x26b609[_0xe3577c(0x1c4)]({'keySize':_0x1c7003+_0xff692b})[_0xe3577c(0x23a)](_0x520fed,_0x347105);var _0x4aa3cf=_0x533b37['create'](_0x453d1b['words']['slice'](_0x1c7003),_0xff692b*0x4);return _0x453d1b[_0xe3577c(0x2f3)]=_0x1c7003*0x4,_0x13a6d7[_0xe3577c(0x1c4)]({'key':_0x453d1b,'iv':_0x4aa3cf,'salt':_0x347105});}},_0x461178=_0x392ac0[_0x258199(0x225)]=_0x52892d[_0x258199(0x14a)]({'cfg':_0x52892d[_0x258199(0x239)][_0x258199(0x14a)]({'kdf':_0x5b2efa}),'encrypt':function(_0x355975,_0x45eba4,_0x5e73d5,_0x2b7305){var _0x6458aa=_0x258199;_0x2b7305=this[_0x6458aa(0x239)][_0x6458aa(0x14a)](_0x2b7305);var _0x1b5a02=_0x2b7305['kdf']['execute'](_0x5e73d5,_0x355975[_0x6458aa(0x345)],_0x355975[_0x6458aa(0x2b0)],_0x2b7305[_0x6458aa(0x1d0)],_0x2b7305['hasher']);_0x2b7305['iv']=_0x1b5a02['iv'];var _0x43b940=_0x52892d['encrypt'][_0x6458aa(0x115)](this,_0x355975,_0x45eba4,_0x1b5a02['key'],_0x2b7305);return _0x43b940['mixIn'](_0x1b5a02),_0x43b940;},'decrypt':function(_0x534a30,_0x26ea7c,_0x38ffd1,_0x274af3){var _0x1a22bb=_0x258199;_0x274af3=this[_0x1a22bb(0x239)]['extend'](_0x274af3),_0x26ea7c=this[_0x1a22bb(0x134)](_0x26ea7c,_0x274af3['format']);var _0x237740=_0x274af3[_0x1a22bb(0x31d)][_0x1a22bb(0x268)](_0x38ffd1,_0x534a30['keySize'],_0x534a30[_0x1a22bb(0x2b0)],_0x26ea7c[_0x1a22bb(0x1d0)],_0x274af3['hasher']);_0x274af3['iv']=_0x237740['iv'];var _0x16ab0a=_0x52892d[_0x1a22bb(0x177)][_0x1a22bb(0x115)](this,_0x534a30,_0x26ea7c,_0x237740[_0x1a22bb(0x1df)],_0x274af3);return _0x16ab0a;}});}();}));}(Te)),Te[_0x22da07(0x373)];}var ri=Se['exports'],ot;function si(){var _0x5b8472=_0x1a8f07;return ot||(ot=0x1,function(_0xd9e2c3,_0x9b0e5a){(function(_0x1d21dd,_0x91231a,_0x2a7ea4){_0xd9e2c3['exports']=_0x91231a(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x441148){var _0x1decb7=_0x3fe4;return(function(){var _0x34e906=_0x3fe4,_0x1c4819=_0x441148,_0x28d229=_0x1c4819['lib'],_0x19fb03=_0x28d229[_0x34e906(0x325)],_0x3c3027=_0x1c4819[_0x34e906(0x2d1)],_0x4c3f73=[],_0x4042ff=[],_0xb9456d=[],_0x48bd35=[],_0xb561ea=[],_0x2351da=[],_0x10cb18=[],_0x4b9584=[],_0x3825d0=[],_0x2e9ace=[];(function(){for(var _0x40d4ab=[],_0x4d3e1a=0x0;_0x4d3e1a<0x100;_0x4d3e1a++)_0x4d3e1a<0x80?_0x40d4ab[_0x4d3e1a]=_0x4d3e1a<<0x1:_0x40d4ab[_0x4d3e1a]=_0x4d3e1a<<0x1^0x11b;for(var _0x255f24=0x0,_0x2c0522=0x0,_0x4d3e1a=0x0;_0x4d3e1a<0x100;_0x4d3e1a++){var _0x3cab87=_0x2c0522^_0x2c0522<<0x1^_0x2c0522<<0x2^_0x2c0522<<0x3^_0x2c0522<<0x4;_0x3cab87=_0x3cab87>>>0x8^_0x3cab87&0xff^0x63,_0x4c3f73[_0x255f24]=_0x3cab87,_0x4042ff[_0x3cab87]=_0x255f24;var _0x52248d=_0x40d4ab[_0x255f24],_0x59146b=_0x40d4ab[_0x52248d],_0x508e88=_0x40d4ab[_0x59146b],_0x400311=_0x40d4ab[_0x3cab87]*0x101^_0x3cab87*0x1010100;_0xb9456d[_0x255f24]=_0x400311<<0x18|_0x400311>>>0x8,_0x48bd35[_0x255f24]=_0x400311<<0x10|_0x400311>>>0x10,_0xb561ea[_0x255f24]=_0x400311<<0x8|_0x400311>>>0x18,_0x2351da[_0x255f24]=_0x400311;var _0x400311=_0x508e88*0x1010101^_0x59146b*0x10001^_0x52248d*0x101^_0x255f24*0x1010100;_0x10cb18[_0x3cab87]=_0x400311<<0x18|_0x400311>>>0x8,_0x4b9584[_0x3cab87]=_0x400311<<0x10|_0x400311>>>0x10,_0x3825d0[_0x3cab87]=_0x400311<<0x8|_0x400311>>>0x18,_0x2e9ace[_0x3cab87]=_0x400311,_0x255f24?(_0x255f24=_0x52248d^_0x40d4ab[_0x40d4ab[_0x40d4ab[_0x508e88^_0x52248d]]],_0x2c0522^=_0x40d4ab[_0x40d4ab[_0x2c0522]]):_0x255f24=_0x2c0522=0x1;}}());var _0x78dff=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x222eb6=_0x3c3027[_0x34e906(0xe8)]=_0x19fb03['extend']({'_doReset':function(){var _0x11d544=_0x34e906,_0x131ead;if(!(this[_0x11d544(0x1b5)]&&this['_keyPriorReset']===this[_0x11d544(0x448)])){for(var _0x1a4dc7=this[_0x11d544(0x32e)]=this[_0x11d544(0x448)],_0x1f0d5f=_0x1a4dc7['words'],_0x546435=_0x1a4dc7[_0x11d544(0x2f3)]/0x4,_0x208539=this[_0x11d544(0x1b5)]=_0x546435+0x6,_0x33b9bb=(_0x208539+0x1)*0x4,_0x4c70c2=this[_0x11d544(0x179)]=[],_0x4f2311=0x0;_0x4f2311<_0x33b9bb;_0x4f2311++)_0x4f2311<_0x546435?_0x4c70c2[_0x4f2311]=_0x1f0d5f[_0x4f2311]:(_0x131ead=_0x4c70c2[_0x4f2311-0x1],_0x4f2311%_0x546435?_0x546435>0x6&&_0x4f2311%_0x546435==0x4&&(_0x131ead=_0x4c3f73[_0x131ead>>>0x18]<<0x18|_0x4c3f73[_0x131ead>>>0x10&0xff]<<0x10|_0x4c3f73[_0x131ead>>>0x8&0xff]<<0x8|_0x4c3f73[_0x131ead&0xff]):(_0x131ead=_0x131ead<<0x8|_0x131ead>>>0x18,_0x131ead=_0x4c3f73[_0x131ead>>>0x18]<<0x18|_0x4c3f73[_0x131ead>>>0x10&0xff]<<0x10|_0x4c3f73[_0x131ead>>>0x8&0xff]<<0x8|_0x4c3f73[_0x131ead&0xff],_0x131ead^=_0x78dff[_0x4f2311/_0x546435|0x0]<<0x18),_0x4c70c2[_0x4f2311]=_0x4c70c2[_0x4f2311-_0x546435]^_0x131ead);for(var _0x197117=this[_0x11d544(0x390)]=[],_0x5e7f9e=0x0;_0x5e7f9e<_0x33b9bb;_0x5e7f9e++){var _0x4f2311=_0x33b9bb-_0x5e7f9e;if(_0x5e7f9e%0x4)var _0x131ead=_0x4c70c2[_0x4f2311];else var _0x131ead=_0x4c70c2[_0x4f2311-0x4];_0x5e7f9e<0x4||_0x4f2311<=0x4?_0x197117[_0x5e7f9e]=_0x131ead:_0x197117[_0x5e7f9e]=_0x10cb18[_0x4c3f73[_0x131ead>>>0x18]]^_0x4b9584[_0x4c3f73[_0x131ead>>>0x10&0xff]]^_0x3825d0[_0x4c3f73[_0x131ead>>>0x8&0xff]]^_0x2e9ace[_0x4c3f73[_0x131ead&0xff]];}}},'encryptBlock':function(_0x1af7d3,_0x319d67){var _0x38fa35=_0x34e906;this[_0x38fa35(0x3f9)](_0x1af7d3,_0x319d67,this[_0x38fa35(0x179)],_0xb9456d,_0x48bd35,_0xb561ea,_0x2351da,_0x4c3f73);},'decryptBlock':function(_0x3ec6e4,_0x5c938f){var _0x355f71=_0x34e906,_0x140f5a=_0x3ec6e4[_0x5c938f+0x1];_0x3ec6e4[_0x5c938f+0x1]=_0x3ec6e4[_0x5c938f+0x3],_0x3ec6e4[_0x5c938f+0x3]=_0x140f5a,this[_0x355f71(0x3f9)](_0x3ec6e4,_0x5c938f,this[_0x355f71(0x390)],_0x10cb18,_0x4b9584,_0x3825d0,_0x2e9ace,_0x4042ff);var _0x140f5a=_0x3ec6e4[_0x5c938f+0x1];_0x3ec6e4[_0x5c938f+0x1]=_0x3ec6e4[_0x5c938f+0x3],_0x3ec6e4[_0x5c938f+0x3]=_0x140f5a;},'_doCryptBlock':function(_0x2e2c32,_0xc1b1d1,_0x557fe3,_0x31b7c5,_0x4da08b,_0x3f2b3a,_0x2e16c6,_0x18622f){var _0x430661=_0x34e906;for(var _0x5b2f16=this[_0x430661(0x1b5)],_0x23628f=_0x2e2c32[_0xc1b1d1]^_0x557fe3[0x0],_0x46229b=_0x2e2c32[_0xc1b1d1+0x1]^_0x557fe3[0x1],_0x428810=_0x2e2c32[_0xc1b1d1+0x2]^_0x557fe3[0x2],_0x3d9c27=_0x2e2c32[_0xc1b1d1+0x3]^_0x557fe3[0x3],_0xeb5f41=0x4,_0x3f4451=0x1;_0x3f4451<_0x5b2f16;_0x3f4451++){var _0x45438c=_0x31b7c5[_0x23628f>>>0x18]^_0x4da08b[_0x46229b>>>0x10&0xff]^_0x3f2b3a[_0x428810>>>0x8&0xff]^_0x2e16c6[_0x3d9c27&0xff]^_0x557fe3[_0xeb5f41++],_0x243e02=_0x31b7c5[_0x46229b>>>0x18]^_0x4da08b[_0x428810>>>0x10&0xff]^_0x3f2b3a[_0x3d9c27>>>0x8&0xff]^_0x2e16c6[_0x23628f&0xff]^_0x557fe3[_0xeb5f41++],_0x3dc02c=_0x31b7c5[_0x428810>>>0x18]^_0x4da08b[_0x3d9c27>>>0x10&0xff]^_0x3f2b3a[_0x23628f>>>0x8&0xff]^_0x2e16c6[_0x46229b&0xff]^_0x557fe3[_0xeb5f41++],_0x4027f0=_0x31b7c5[_0x3d9c27>>>0x18]^_0x4da08b[_0x23628f>>>0x10&0xff]^_0x3f2b3a[_0x46229b>>>0x8&0xff]^_0x2e16c6[_0x428810&0xff]^_0x557fe3[_0xeb5f41++];_0x23628f=_0x45438c,_0x46229b=_0x243e02,_0x428810=_0x3dc02c,_0x3d9c27=_0x4027f0;}var _0x45438c=(_0x18622f[_0x23628f>>>0x18]<<0x18|_0x18622f[_0x46229b>>>0x10&0xff]<<0x10|_0x18622f[_0x428810>>>0x8&0xff]<<0x8|_0x18622f[_0x3d9c27&0xff])^_0x557fe3[_0xeb5f41++],_0x243e02=(_0x18622f[_0x46229b>>>0x18]<<0x18|_0x18622f[_0x428810>>>0x10&0xff]<<0x10|_0x18622f[_0x3d9c27>>>0x8&0xff]<<0x8|_0x18622f[_0x23628f&0xff])^_0x557fe3[_0xeb5f41++],_0x3dc02c=(_0x18622f[_0x428810>>>0x18]<<0x18|_0x18622f[_0x3d9c27>>>0x10&0xff]<<0x10|_0x18622f[_0x23628f>>>0x8&0xff]<<0x8|_0x18622f[_0x46229b&0xff])^_0x557fe3[_0xeb5f41++],_0x4027f0=(_0x18622f[_0x3d9c27>>>0x18]<<0x18|_0x18622f[_0x23628f>>>0x10&0xff]<<0x10|_0x18622f[_0x46229b>>>0x8&0xff]<<0x8|_0x18622f[_0x428810&0xff])^_0x557fe3[_0xeb5f41++];_0x2e2c32[_0xc1b1d1]=_0x45438c,_0x2e2c32[_0xc1b1d1+0x1]=_0x243e02,_0x2e2c32[_0xc1b1d1+0x2]=_0x3dc02c,_0x2e2c32[_0xc1b1d1+0x3]=_0x4027f0;},'keySize':0x100/0x20});_0x1c4819[_0x34e906(0xe8)]=_0x19fb03['_createHelper'](_0x222eb6);}()),_0x441148[_0x1decb7(0xe8)];}));}(Se)),Se[_0x5b8472(0x373)];}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be[_0x1a8f07(0x373)],ct;function li(){var _0x137aac=_0x1a8f07;return ct||(ct=0x1,function(_0x264ac6,_0x470d9b){(function(_0x1c5f90,_0x46abdc){var _0x220640=_0x3fe4;_0x264ac6[_0x220640(0x373)]=_0x46abdc(ee());}(hi,function(_0x42b2d9){var _0x4531a7=_0x3fe4;return _0x42b2d9[_0x4531a7(0x34f)][_0x4531a7(0x38e)];}));}(be)),be[_0x137aac(0x373)];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re['exports'],ht;function vi(){var _0x5f48b7=_0x1a8f07;return ht||(ht=0x1,function(_0x354e8c,_0x560145){(function(_0x2800f7,_0x1888b1){var _0x5a9329=_0x3fe4;_0x354e8c[_0x5a9329(0x373)]=_0x1888b1(ee());}(di,function(_0x49c152){var _0x1bcf87=_0x3fe4;return(function(){var _0x1ca0e4=_0x3fe4;if(typeof ArrayBuffer=='function'){var _0x194c27=_0x49c152,_0x4482a7=_0x194c27[_0x1ca0e4(0x2e6)],_0xee1d55=_0x4482a7[_0x1ca0e4(0x37a)],_0x1057d3=_0xee1d55[_0x1ca0e4(0x41e)],_0xbc532f=_0xee1d55[_0x1ca0e4(0x41e)]=function(_0x5349a5){var _0x453a68=_0x1ca0e4;if(_0x5349a5 instanceof ArrayBuffer&&(_0x5349a5=new Uint8Array(_0x5349a5)),(_0x5349a5 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5349a5 instanceof Uint8ClampedArray||_0x5349a5 instanceof Int16Array||_0x5349a5 instanceof Uint16Array||_0x5349a5 instanceof Int32Array||_0x5349a5 instanceof Uint32Array||_0x5349a5 instanceof Float32Array||_0x5349a5 instanceof Float64Array)&&(_0x5349a5=new Uint8Array(_0x5349a5[_0x453a68(0x11b)],_0x5349a5[_0x453a68(0x409)],_0x5349a5['byteLength'])),_0x5349a5 instanceof Uint8Array){for(var _0x3bc549=_0x5349a5[_0x453a68(0x3f7)],_0x43d143=[],_0x14fb26=0x0;_0x14fb26<_0x3bc549;_0x14fb26++)_0x43d143[_0x14fb26>>>0x2]|=_0x5349a5[_0x14fb26]<<0x18-_0x14fb26%0x4*0x8;_0x1057d3[_0x453a68(0x115)](this,_0x43d143,_0x3bc549);}else _0x1057d3['apply'](this,arguments);};_0xbc532f[_0x1ca0e4(0x37b)]=_0xee1d55;}}()),_0x49c152[_0x1bcf87(0x2e6)]['WordArray'];}));}(Re)),Re[_0x5f48b7(0x373)];}var fi=vi();const Si=fe(fi);var Oe={'exports':{}},pi=Oe[_0x1a8f07(0x373)],lt;function mi(){var _0x465a16=_0x1a8f07;return lt||(lt=0x1,function(_0x57c8d7,_0x361870){(function(_0x2699d2,_0x574fa7,_0x466f42){_0x57c8d7['exports']=_0x574fa7(ee(),At());}(pi,function(_0x1989b2){var _0x33cd78=_0x3fe4;return _0x1989b2['pad'][_0x33cd78(0x1c0)]={'pad':function(){},'unpad':function(){}},_0x1989b2[_0x33cd78(0x3ec)][_0x33cd78(0x1c0)];}));}(Oe)),Oe[_0x465a16(0x373)];}var gi=mi();const Ii=fe(gi);function Ei(_0x40e1da,_0x7736d4){var _0x300837=_0x1a8f07;const _0x554a34=_0x7736d4-_0x40e1da['length']%_0x7736d4,_0x3b84a6=String[_0x300837(0x2dd)](_0x554a34)[_0x300837(0x44b)](_0x554a34);return _0x40e1da+_0x3b84a6;}function Ci(_0x28b6a3,_0x2cc06b){var _0xc538c=_0x1a8f07;const _0x2d9b56=Si[_0xc538c(0x165)](0x10),_0x2db0a2=Ei(_0x28b6a3,0x10),_0x172669=ai[_0xc538c(0x1f7)](ui[_0xc538c(0x11e)](_0x2db0a2),at[_0xc538c(0x11e)](_0x2cc06b),{'iv':_0x2d9b56,'padding':Ii});return _0x2d9b56[_0xc538c(0x33b)](_0x172669[_0xc538c(0x36f)])['toString'](at);}function Ti(){var _0x2183ba=_0x1a8f07;const _0x7658fc=$t[_0x2183ba(0xcf)]()[_0x2183ba(0x449)];if(_0x7658fc){const _0x36534d={'time':Math[_0x2183ba(0x2a3)](Date[_0x2183ba(0x415)]()/0x3e8),'domain':location['hostname']};return Ci(JSON[_0x2183ba(0x399)](_0x36534d),_0x7658fc);}}var bi=Object[_0x1a8f07(0x3fe)],Ri=Object[_0x1a8f07(0x2ca)],Oi=(_0x3ae65a,_0x5965ee,_0x3644f6,_0x21d443)=>{var _0x403a1c=_0x1a8f07;for(var _0x30207e=_0x21d443>0x1?void 0x0:_0x21d443?Ri(_0x5965ee,_0x3644f6):_0x5965ee,_0x496331=_0x3ae65a[_0x403a1c(0x144)]-0x1,_0x3b8f28;_0x496331>=0x0;_0x496331--)(_0x3b8f28=_0x3ae65a[_0x496331])&&(_0x30207e=(_0x21d443?_0x3b8f28(_0x5965ee,_0x3644f6,_0x30207e):_0x3b8f28(_0x30207e))||_0x30207e);return _0x21d443&&_0x30207e&&bi(_0x5965ee,_0x3644f6,_0x30207e),_0x30207e;},yi=(_0x5bc5fc,_0x141b2a)=>(_0x70a485,_0x26d5f8)=>_0x141b2a(_0x70a485,_0x26d5f8,_0x5bc5fc);let Ne=class{constructor(_0x1817bc){var _0x428686=_0x1a8f07;this[_0x428686(0xce)]=_0x1817bc,this[_0x428686(0x180)]();}[_0x1a8f07(0x180)](){var _0x4521d5=_0x1a8f07;this[_0x4521d5(0xce)][_0x4521d5(0x3d4)]({'interceptor':(_0x41a525,_0x2a9175)=>{var _0x5d5bea=_0x4521d5;const _0x4d248b=_0x41a525[_0x5d5bea(0x2b3)],_0x4ba9f7=Ti();return _0x4ba9f7&&_0x4d248b[_0x5d5bea(0x1dc)](_0x5d5bea(0x26e),_0x4ba9f7),_0x2a9175(_0x41a525);}});}};Ne=Oi([yi(0x0,a['Inject'](q[_0x1a8f07(0x145)]))],Ne);var Ni=Object[_0x1a8f07(0x3fe)],Ui=Object[_0x1a8f07(0x2ca)],Pi=(_0xe8e886,_0x44f296,_0x1ceeb4,_0x489362)=>{for(var _0x5be128=_0x489362>0x1?void 0x0:_0x489362?Ui(_0x44f296,_0x1ceeb4):_0x44f296,_0x3a039f=_0xe8e886['length']-0x1,_0x5680d2;_0x3a039f>=0x0;_0x3a039f--)(_0x5680d2=_0xe8e886[_0x3a039f])&&(_0x5be128=(_0x489362?_0x5680d2(_0x44f296,_0x1ceeb4,_0x5be128):_0x5680d2(_0x5be128))||_0x5be128);return _0x489362&&_0x5be128&&Ni(_0x44f296,_0x1ceeb4,_0x5be128),_0x5be128;},Me=(_0x16f7d9,_0x11f905)=>(_0x1d340b,_0x56ec90)=>_0x11f905(_0x1d340b,_0x56ec90,_0x16f7d9);exports[_0x1a8f07(0x164)]=class extends a['RxDisposable']{constructor(_0x5aaf86,_0x53e24c,_0x2690cd){var _0x1a06bd=_0x1a8f07;super(),D(this,'_unitInfo$',new H[(_0x1a06bd(0x2d5))](null)),D(this,_0x1a06bd(0x2f5),this[_0x1a06bd(0x1ee)][_0x1a06bd(0x333)]()),(this[_0x1a06bd(0x2c0)]=_0x5aaf86,this[_0x1a06bd(0xfb)]=_0x53e24c,this[_0x1a06bd(0x2d0)]=_0x2690cd);}async[_0x1a8f07(0x34c)](_0x23d264,_0xab8b44,_0x4af1af){var _0x2e5141=_0x1a8f07;this['_unitInfo$'][_0x2e5141(0x171)]({'unitId':_0x23d264,'type':_0xab8b44,'subUnitId':_0x4af1af});let _0x2b4c35=null;switch(_0xab8b44){case Z[_0x2e5141(0x154)]:{_0x2b4c35=await this[_0x2e5141(0x269)](_0x23d264);break;}case Z[_0x2e5141(0x3b3)]:{_0x2b4c35=await this[_0x2e5141(0x431)](_0x23d264);break;}default:{this['_logService'][_0x2e5141(0x405)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x2b4c35;}async['_loadSheet'](_0x392625){var _0x5ae343=_0x1a8f07,_0x3f8460;let _0x202a8a=0x0;const _0x5e8057=await((_0x3f8460=this[_0x5ae343(0x2d0)])==null?void 0x0:_0x3f8460['loadOfflineData'](_0x392625));return _0x5e8057&&(_0x5e8057[_0x5ae343(0x2f7)]||_0x5e8057['mutations'][_0x5ae343(0x144)]!==0x0)&&(_0x202a8a=_0x5e8057['rev']),_0x202a8a===0x0&&this['_logService'][_0x5ae343(0x346)]('[DataLoaderService]',_0x5ae343(0x44e)),this[_0x5ae343(0xfb)]['loadSheet'](_0x392625,_0x202a8a);}async[_0x1a8f07(0x431)](_0x2b14d5){var _0x3e95ff=_0x1a8f07,_0x329962;let _0x55ac22=0x0;const _0x198a7c=await((_0x329962=this[_0x3e95ff(0x2d0)])==null?void 0x0:_0x329962[_0x3e95ff(0x12f)](_0x2b14d5));return _0x198a7c&&(_0x198a7c[_0x3e95ff(0x2f7)]||_0x198a7c[_0x3e95ff(0x276)]['length']!==0x0)&&(_0x55ac22=_0x198a7c[_0x3e95ff(0xdf)]),_0x55ac22===0x0&&this[_0x3e95ff(0x2c0)][_0x3e95ff(0x346)]('[DataLoaderService]',_0x3e95ff(0x44e)),this['_snapshotService']['loadDoc'](_0x2b14d5,_0x55ac22);}},exports[_0x1a8f07(0x164)]=Pi([Me(0x0,a[_0x1a8f07(0x168)]),Me(0x1,a[_0x1a8f07(0x16f)](m[_0x1a8f07(0x30a)])),Me(0x2,a['Optional'](z))],exports[_0x1a8f07(0x164)]);var Di=Object[_0x1a8f07(0x3fe)],wi=Object[_0x1a8f07(0x2ca)],Ai=(_0xea26b,_0x363b35,_0x4d0bcd,_0x46c0da)=>{var _0x174b52=_0x1a8f07;for(var _0x5f0c84=_0x46c0da>0x1?void 0x0:_0x46c0da?wi(_0x363b35,_0x4d0bcd):_0x363b35,_0x249cf8=_0xea26b[_0x174b52(0x144)]-0x1,_0x5d801f;_0x249cf8>=0x0;_0x249cf8--)(_0x5d801f=_0xea26b[_0x249cf8])&&(_0x5f0c84=(_0x46c0da?_0x5d801f(_0x363b35,_0x4d0bcd,_0x5f0c84):_0x5d801f(_0x5f0c84))||_0x5f0c84);return _0x46c0da&&_0x5f0c84&&Di(_0x363b35,_0x4d0bcd,_0x5f0c84),_0x5f0c84;},xe=(_0x23ac94,_0x29798e)=>(_0x36a963,_0x32edf8)=>_0x29798e(_0x36a963,_0x32edf8,_0x23ac94);const Li=[_0x1a8f07(0x28e),'image/jpeg',_0x1a8f07(0x1bc),_0x1a8f07(0x334),_0x1a8f07(0xfa)],Mi=0x5*0x400*0x400,xi=_0x1a8f07(0xf1),ji=_0x1a8f07(0x355),$i='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Hi=_0x1a8f07(0x160);function _0x172d(){var _0x5f2605=['Disposable','fromCharCode','data','enableSingleActiveInstanceLock','_members$','PERSON','reduce','_onRecvEvent','DisposableCollection','state$','lib','BufferedBlockAlgorithm','type','16NwpJSC','filter','_collaborationSessionService','OTHER_CLIENT_EDITING','snapshotServerUrl','_authzIoService','_onOffline','_awaitingChangeset','updateMember','socket\x20open.','sigBytes','getCollabEntity$','unitInfo$','SYNCED','awaitingChangeset','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','isPermissionRej','synced','stopTime','ThresholdInterceptorFactory','symbol','PY_RUNTIME_SCRIPT_ERROR','CollaborationSession','has','allowed','Encryptor','MSG_FOR_ERROR','getTime','HEARTBEAT','@univerjs/network','unsubscribe','clear','LIVESHARE_TERMINATE','SnapshotService','INVALID_ARGUMENT','fetchMissingChangesets','liveShareNewHost','ticket','awaiting','_clearScheduledTask','_sender','IConfigService','IDLE','sessionStatus','pending','_sessions','_userManagerService','SHA1','_transformIMECache','UNDEFINED','[OfflineState]:\x20received\x20acknowledgement.','avatar','kdf','finalize','_getUploadFileURL','isTransformMutationsWithChangesetFailure','generateRandomId','_undoStacks','m2Prime','Injector','BlockCipher','_cipher','_substituteUndoStack','json','_resendTimer','isArray','_eventService','_roomMembers','_commandService','_keyPriorReset','IContextService','MentionIoHttpService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','COLLAB_WEB_SOCKET_URL_KEY','asObservable','image/gif','session.room-permission-denied','/universer-api/user/session-ticket','_doProcessBlock','rxjs/operators','_univerInstanceService','_init','concat','417JAHIGT','push','_showConflictNotification','NEW_CHANGESETS','_imageSourceCache','_handlerCallback','then','action','unitID','keySize','debug','LEAVE','snapshot','getInterceptPoints','_initUnitPermissionChange','failed\x20to\x20apply\x20missed\x20changesets!','loadUnit','_resendWithTimeout','_pendingMutations','enc','_transformStateCache','csRejEvent','_clearRedo','_getUndoStack','@univerjs-pro/license','/universer-api/stream/file/upload','WorkbookEditablePermission','UniverSheetsPlugin','isTransformMutationsWithChangesetSuccess','INetworkConditionService','SetSelectionsOperation','permissionRejEvent','\x0aCurrent:\x20','_members','_prevBlock','LIVESHARE_OPERATION','_retryCount','Hex','LICENSE_MAX_UNITS_EXCEEDED','_clearCollaborationTimeoutTimer','enableOfflineEditing','send','/universer-api/authz','toggleOnline','parseChangesetToProtocol','isTransformChangesetsSuccess','baseRev','_telemetryService','444KWByQm','PENDING','NO_OTHER_CLIENTS_EDITING','ciphertext','encryptBlock','getWorkbookSelections','updatePermissionObjEvent','exports','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','members$','onRemoteRetry','isInternalEditorID','getUnitOnRev','editingUnit','WordArray','prototype','@univerjs/docs','merge','every','onTransformSelections','createSocket','localeService','People','_map','Error\x20on\x20receiving\x20event','CollaborationImageIoService','_changesetReqId','clone','getValue','[FetchMissState]','SEND_CHANGESET_TIMEOUT_KEY','originalMeta','unitId\x20is\x20not\x20found','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Utf8','collaboration-client.local-cache-service','_invKeySchedule','CompressMutationService','onlyLocal','mode','getConfig','SNAPSHOT_INVALID_SNAPSHOT','@univerjs/telemetry','/unit/','COMPRESS_MUTATION_APPLY','stringify','disableLocalCache','copyFileMeta','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','findIndex','getMemberID','ERROR_IMAGE_TYPE','_onRemoteRetry','override','msCrypto','actions','revision','JOIN_ROOM_FULL','SheetPermissionInitController','_onRemoteChangeset','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','textRanges','_substituteRedoStack','/object','LOCAL_CACHE_INTERVAL','onCommandExecuted','format','JOINING','awaiting_with_pending','_commentUpdate$','updateCollaborator','UNIVER_DOC','_iKey','UUID','concatMap','_state','_transformUndoredo','RECV','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_doFinalize','HmacMD5','YUUMI_UNABLE_LOAD_URL','FETCH_MISS','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_unitID','update','sessionStatus$','toggleOffline','MentionType','_unlockTransition','getUnitStatus$','ws://127.0.0.1:8000/universer-api/comb/connect','size','src','683771FURzXa','connection\x20error','_incrementRevisionNumber','localCacheService','searchParams','transformChangesets','disposeWithMe','AUTHZ_URL_KEY','routeKey','_getAPIPrefixPath','registerHTTPInterceptor','_onCombEvent','_getRedoStack','collabSubmitChangesetUrl','c1Prime','_submitChangeset','_transformSelections','fetching\x20missing\x20changesets\x20from\x20','getTypeOfUnitDisposed$','ISingleActiveUnitService','HELLO','body','UNKNOWN_CODE','_append','_onUserLeave','_createInitialStateImpl','LIVESHARE_NEW_HOST','onSendChangeset','_initMergeInterceptor','@univerjs/sheets','ITransformService','univer-pro.collaboration-client.network-condition.service','[OfflineState]:\x20received\x20changeset.','UniverInstanceType','pad','open$','_injector','_entities','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','Rectangle','hasher','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','onTransformState','/new_changes','onRemoteAck','byteLength','_event$','_doCryptBlock','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_removeRoom','ConflictState','DependentOn','defineProperty','_clearLocalCache','list','unitId','complete','registerDependencies','location','error','EvpKDF','SUBMIT_CHANGESET_TIMEOUT','_throwTelemetryCollaborationNewChangeset','byteOffset','reject','_socketMessageSubscription','origin','/rev/','hasOwnProperty','CollaborationEvent','_config','listRoles','csAckEvent','{fileID}','_shouldReportTelemetry','now','CLOSE_ROOM','onTransformRemoteChangesetByIMECache','_rescheduleHeartbeat','fetch_missing','title','code','substr','_queuedRemoteChangesets','init','Optional','univer-pro.collaboration-client.single-active-unit-service','state','commentUpdateEvent','CipherParams','mixIn','RichTextEditingMutation','UnitSnapshot','_onMessage','_state$','_onLocalMutation','_status$','append','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_scheduleCollaborationTimeoutTimer','_data','_getCurrentRevision','getTypeOfUnitAdded$','_loadDoc','_http','RevisionService','SheetTransformSelectionsService','addImageSourceCache','_checkMissing','blockSize','UnitEmbedded','[CollaborationSessionService]:\x20socket\x20error','updateCursorEvent','close','[CollaborationSessionService]','selections','ILocalCacheService','_retryConnectingTimer','Subject','eventID','_transformRemoteChangesetByIMECache','\x20-\x20','_onRemoteRejected','FETCH_MISSING','add','FetchingMissState','_key','__Key__','SheetsSelectionsService','repeat','6FWUSuu','setShowComponents','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_collabSessionService','UNIVER_PROJECT','_clearHeartbeatTimer','_exhaustRemoteChangesetQueue','_sendHeartbeat','batchAllowed','APPLY_REJECT','duration','Decryptor','NOT_FOUND','ERROR_IMAGE','InsertSheetMutation','SNAPSHOT_HAS_BEEN_REMOVED','[OfflineState]:\x20received\x20rejection.','ImageSourceType','IUniverInstanceService','getUnitType','getMember','uploadFileServerUrl','objectType','sessionTicket','Module','CONNECTOR_DATA_TOO_LARGE','_networkConditionService','28632JNugsU','_onFetchMissResult','_executeRemoteChangeset','_httpService','getGlobalObject','_transformService','fetchThroughInterceptors','_fetchMissChangesets','listCollaborators','withCredentials','sin','dispose','OpenSSL','/collaborator','EmptyMutation','post','roomInfos','randomUUID','_process','_ENC_XFORM_MODE','rev','/universer-api/snapshot','ITelemetryService','closeSession','SOCKET_FAILED','_createHandler','getFocusedUnit','PSEUDO_FETCH_MISSING_RESULT','/object/','AES','INGEST','_getSignURL','result','readAsDataURL','IUndoRedoService','collaborators','JOIN','CONFLICT','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','words','JOIN_ROOM_PERMISSION_DENIED','APPLY_NON_SEQUENTIAL_REVISION','members','retryConnectingInterval','COLLAB_WEB_SOCKET_URL','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_tryEnsureSocket','image/bmp','_snapshotService','url','/block/','dispose$','_onConnectionOpen','_initCloseConn','toStringTag','@univerjs/core','authzUrl','objectID','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_memberService','_change$','session.room-cnt-exceeds','onRemoteRej','_syncEditingCollabCursor','transformMutationsWithChangeset','unknown','_transformStack','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_localeService','_transitionLocked','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','newCsEvent','CollaborativeUndoRedoService','CollaborationSessionService','call','__creator','AwaitingWithPendingState','SheetCollaborationEntity','_getSessionTicket','rng','buffer','sendChangesetTimeout','StreamCipher','parse','onMissedChangesetFetched','_nDataBytes','MD5','_onConnectionFailed','_redoStacks','COMPLETION_FINISHED','onSyncEditingCollabCursor','HttpExport','forEach','catch','getCurrentUser','session.room-not-exists','compose','CommentService','5020764rfdTOF','function','loadOfflineData','params','FAIL','OPTIONAL','_telemetryInfo','_parse','event$','socketService','LIVESHARE_REQUEST_HOST','charAt','saveSnapshot','APPLY_REVISION_CONFILICT','_doReset','setConfig','_roomCreated$','CHANGESET_REJ','reconnect','_tryReconnect','getRoom','AWAITING','_updateState','length','HTTPService','downloadEndpointUrl','objects','_permissionService','UniverCollaborationPlugin','extend','SNAPSHOT_SERVER_URL_KEY','?size=','status$','submit\x20changeset\x20error!','touchDependencies','formatter','emitEvent','save\x20fail\x20reason\x20is\x20','startsWith','UNIVER_SHEET','1584395IiYBvv','UNIVER_COLLABORATION_CLIENT_PLUGIN','&assign=','BASE64','2934850TGyalw','mergeOverrideWithDependencies','Quantity','_commentService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SessionStatus','ONLINE','/universer-api/file/{fileID}/sign-url','_schedule','COLLAB_SUBMIT_CHANGESET_URL','_configService','DataLoaderService','random','_getCtorByUniverType','_socket$','ILogService','_transformRemoteChangesetByStateCache','not_collab','/universer-api/snapshot/','_socketService','UNAUTHENTICATED','padding','Inject','_collaborationTimeoutTimer','next','mapDocumentTypeToUniverType','refreshPermission','_undoRedoService','name','sheets','decrypt','CollaborationController','_keySchedule','pluginName','waitForRoom$','_startCollaboration','HmacSHA1','[CollaborationUndoRedoService]','TOO_MANY_REQUESTS','_initRequestHeader','2fXeNLO','UPDATE_PERMISSION_OBJ','encodeURIComponent','_getSendChangesetTimeout','_toggleOffline','JOIN_ROOM_NOT_EXISTS','MergeInterceptorFactory','_resendTimeout','socket\x20close','_createSocketURL','getAllMembers','getSheetId','_waitForHeartbeatResponse','apply','encode','executeCommand','transformStack\x20failed!','onCommentUpdate','unit-cache-','saveSheetBlock','USERS_LEAVE','[CollaborationState]:\x20apply\x20error!','get','join','createInstance','1121994LVIvSS','infoRsp','onTransformIME','_clearTimeoutTimer','shouldCloseConn','GLOBAL_ROOMS_CNT_EXCEEDS','CHANGESET_REVISION_CONFILICT','SEND_CHANGESET_TIMEOUT','toString','startTime','readyForCollab','textEncoder','objectActions','UserManagerService','Workbook','_sendHeartbeatTimer','changesets','CollaborationSocketService','_startTelemetryCollaborationNewChangeset','conflict','LICENSE_DISTRO_REJECTED','_updateStatus','error$','getRandomValues','target','auth.needGotoLoginAlert','confirm','_nRounds','PERMISSION_REJ','entries','_sessionStatus$','session','_sheetTransformSelectionsService','_replaceFileID','image/jpg','YUUMI_SUBSCRIPTION_NOT_FOUND','AuthzIoHttpService','_getLoginPath','NoPadding','398122cybONM','&source=','_scheduleCompleteTimestamp','create','equals','transformUndoRedo','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','YUUMI_URL_COL_OUT_OF_RANGE','getCurrentSelections','setCurrentUser','onStarting','transformSelections','message$','ICommandService','_handler','salt','HttpImport','getCollabEntity','_singleActiveUnitService','memberID','[CollaborationEntity]','_createHmacHelper','getUnitId','interceptor','onTransformRemoteChangesetByStateCache','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','rxjs','set','HTTPRequest','_sendingTimer','key','values','POST','_onConflict','_createInitialState','ICollaborationSocketService','_applyRemoteChangeset','reqId','resend','_toggleOnline','ceil','/-/object/list','_HTTPService','RxDisposable','responseType','_unitInfo$','onRemoteChangeset','createCollaborator','status','getLatestCsReqIdBySid','_lockTransition','entityInit$','SUBMIT_CHANGESET','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','encrypt','_snapshotServerService','toDisposable','CollaborationUIEventId','getImageSourceCache','toLowerCase','CollaborationEntity','/universer-api/comb','_iv','joinEvent','ImageUploadStatusType','JOIN_ROOM_FAILED','updatePermissionPoint','getImage','Univer','_reverseMap','Base','SNAPSHOT_URL_KEY','ENSURE_SNAPSHOT_EXECUTION','parseProtocolChangeset','setWaitCount','LICENSE_IMPORT_SIZE_EXCEEDED','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','reset','AwaitingState','FileId','CommandType','[PendingState]:\x20unhandled\x20univer\x20type:\x20','requireSession','online$','DEFAULT_COLLAB_WEB_SOCKET_URL','OFFLINE','MUTATION','default','crypto','_createHelper','find','sequenceExecute','IAuthzIoService','UNRECOGNIZED','HEARTBEAT_INTERVAL_KEY','take','_registerDependencies','uniscriptRunEvent','method','Malformed\x20UTF-8\x20data','PasswordBasedCipher','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_stopTelemetryCollaborationNewChangeset','[CollaborationSession]','runId','iterations','_minBufferSize','HEARTBEAT_TIMEOUT','ReplaySubject','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','splice','Tools','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','ERROR_EXCEED_SIZE','Hasher','/-/object/-/batch_allowed','bind','/allowed','getCurrentRevOfUnit','_changesetSessionId','cfg','compute','_decreaseWaiting','\x20in\x20_schedule.','close$','COMPRESS_MUTATION_SEND','COLLAB_SUBMIT_CHANGESET_URL_KEY','change$','signUrlServerUrl','@univerjs-pro/collaboration','_onUserJoin','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','Could\x20not\x20dynamically\x20require\x20\x22','PERMISSION_DENIED','UNKNOWN_CMD','onStateChange','subscribe','_oKey','ISocketService','CHANGESET_ACK','collaboration_new_changeset','_clearUndo','_socketReady','LOGIN_URL_KEY','/universer-api/uniscript','ISnapshotServerService','LICENSE_EXPORT_SIZE_EXCEEDED','_waitCount','c2Prime','OfflineState','LIVESHARE_FETCH_OPERATIONS','LocaleService','_emitMembers','UPDATE_CURSOR','commentUpdate$','COMMENT_UPDATE','_disableEditing','_entityInit$','application/json','clamp','@univerjs/drawing','[PendingState]:\x20received\x20acknowledgement.','put','Base64','pipe','editing\x20status\x20changed\x20to','unpad','execute','_loadSheet','_listenToNetworkCondition','max','_timeoutTimer','sid','x-univer-host','requestParams','slice','ALREADY_EXISTS','SnapshotServerOverHTTPService','randomBytes','session.join-failed','_compressMutationService','mutations','patch','INTERNAL_ERROR','getSheetBlock','delay','DEFAULT_FILE_NAME','_mode','deepClone','HEARTBEAT_INTERVAL','_acknowledgedAwaitingChangeset','href','[SyncedState]:\x20received\x20acknowledgement.','subject','focused$','telemetry\x20info\x20is\x20not\x20initialized','takeUntil','_collaborationUIEventService','_updateLocalCache','userID','SyncedState','_revisionService','search','_onJoinRoomEvent','_xformMode','image/png','SUCCUSS','map','saveChangeset','APPLY_PERMISSION_DENIED','Undefined','cmd','USERS_ENTER','$super','MemberService','SHOULD_CLOSE_CONN','removeMember','appendMutation','_createSocket','UniverCollaborationClientPlugin','b64DecodeUnicode','string','_type','DocCollaborationEntity','YUUMI_RATE_OVER_LIMIT','/fetchmissing?from=','floor','OTHER_CLIENTS_EDITING','createEncryptor','BlockCipherMode','_socket','UNIVER_SLIDE','APPLY_DUPLICATED','[UniverCollaborationClientPlugin]','deserializeToCombResponse','_hasher','_collaborationPaused','/universer-api/oidc/authpage','_joinRoom','ivSize','HMAC','_onRemoteACK','headers','socket$','_remoteChangesetQueue','from','&to=','delete','SerializableCipher','_candidateSocket','Pkcs7','[SyncedState]:\x20received\x20rejection.','abs','PendingState','_DEC_XFORM_MODE','_logService','_instanceService','_hash','IPermissionService','decryptBlock','_initDependencies','createDecryptor','fromCollab','CHANGESET_SHOULD_RETRY','RETRY_CONNECTING_MAX_COUNT_KEY','getOwnPropertyDescriptor','_replayCachedMutations','charCodeAt','offline','roles','subUnitId','_localCacheService','algo','onload','_getDownloadEndpointURL','incrementRevOfUnit','BehaviorSubject','getSnapshotAPIPath','fetchMiss','createIdentifier','_getAPIPrefix','UNIVER_UNKNOWN','range'];_0x172d=function(){return _0x5f2605;};return _0x172d();}exports[_0x1a8f07(0x385)]=class{constructor(_0x42bd25,_0x482a6f,_0x13708d){var _0x1feb7f=_0x1a8f07;D(this,_0x1feb7f(0x254),0x0),D(this,'_change$',new H['Subject']()),D(this,_0x1feb7f(0x240),this[_0x1feb7f(0x107)]),D(this,_0x1feb7f(0x340),new Map()),(this[_0x1feb7f(0xce)]=_0x42bd25,this[_0x1feb7f(0x163)]=_0x482a6f,this[_0x1feb7f(0x339)]=_0x13708d);}[_0x1a8f07(0x20b)](_0x22469a){var _0x5db06a=_0x1a8f07;this['_waitCount']=_0x22469a,this[_0x5db06a(0x107)][_0x5db06a(0x171)](_0x22469a);}[_0x1a8f07(0x1fb)](_0x2f8005,_0x58eb24){var _0x4e6cf0=_0x1a8f07;if(_0x58eb24===X[_0x4e6cf0(0xc1)][_0x4e6cf0(0x158)]){const _0x2fdee9=new Image();return _0x2fdee9[_0x4e6cf0(0x3c9)]=_0x2f8005,_0x2fdee9;}return this[_0x4e6cf0(0x340)][_0x4e6cf0(0x197)](_0x2f8005);}[_0x1a8f07(0x435)](_0x3c9745,_0x1532f1,_0x435908){var _0x4be3a1=_0x1a8f07;_0x1532f1===X[_0x4be3a1(0xc1)][_0x4be3a1(0x158)]||_0x435908==null||this[_0x4be3a1(0x340)][_0x4be3a1(0x1dc)](_0x3c9745,_0x435908);}async[_0x1a8f07(0x204)](_0x551906){var _0x356803=_0x1a8f07;try{const _0xe77620=this[_0x356803(0x1bb)](this['_getSignURL'](),''+_0x551906),_0x3256e6=(await this[_0x356803(0xce)][_0x356803(0x197)](_0xe77620))[_0x356803(0x3df)];if(_0x3256e6[_0x356803(0x405)]&&_0x3256e6[_0x356803(0x405)][_0x356803(0x41b)]===Tt['OK']){const _0x346198=new URL(_0x3256e6[_0x356803(0xfc)],this[_0x356803(0x2d3)]())[_0x356803(0x1a2)]();return Promise['resolve'](_0x346198);}return Promise[_0x356803(0x40a)](_0x3256e6[_0x356803(0x405)]);}catch(_0x5f432a){return Promise[_0x356803(0x40a)](_0x5f432a);}}async['saveImage'](_0x2c918e){var _0x3206e0=_0x1a8f07;let _0x20eb31='';if(!Li['includes'](_0x2c918e[_0x3206e0(0x2e8)]))return this[_0x3206e0(0x23b)](),Promise[_0x3206e0(0x40a)](new Error(X[_0x3206e0(0x201)][_0x3206e0(0x39f)]));if(_0x2c918e[_0x3206e0(0x3c8)]>Mi)return this[_0x3206e0(0x23b)](),Promise[_0x3206e0(0x40a)](new Error(X['ImageUploadStatusType'][_0x3206e0(0x232)]));try{const _0x337377=new FormData();_0x337377[_0x3206e0(0x42b)]('file',_0x2c918e);const _0x4a747e=this['_univerInstanceService'][_0x3206e0(0xe5)](),_0x201048=_0x4a747e==null?void 0x0:_0x4a747e['getUnitId']();if(!_0x201048)throw new Error(_0x3206e0(0x38c));const _0x269c6b=this[_0x3206e0(0x31f)]()+_0x3206e0(0x14c)+_0x2c918e[_0x3206e0(0x3c8)][_0x3206e0(0x1a2)]()+_0x3206e0(0x1c2)+bt[_0x3206e0(0x438)]+_0x3206e0(0x157)+encodeURIComponent(_0x201048),_0x3017c0=await(await fetch(_0x269c6b,{'method':_0x3206e0(0x1e1),'body':_0x337377}))[_0x3206e0(0x328)]();if(typeof _0x3017c0['FileId']!='string')return this['_decreaseWaiting'](),Promise[_0x3206e0(0x40a)](new Error(X[_0x3206e0(0x201)]['ERROR_IMAGE']));_0x20eb31=_0x3017c0[_0x3206e0(0x210)];}catch{return this['_decreaseWaiting'](),Promise[_0x3206e0(0x40a)](new Error(X[_0x3206e0(0x201)][_0x3206e0(0x459)]));}return new Promise((_0x394650,_0x4b06db)=>{var _0x121fcc=_0x3206e0;const _0x3beb43=new FileReader();_0x3beb43[_0x121fcc(0xec)](_0x2c918e),_0x3beb43[_0x121fcc(0x2d2)]=_0x4dbff7=>{var _0x1a5b39=_0x121fcc,_0x359ed2;const _0x165bb0=(_0x359ed2=_0x4dbff7[_0x1a5b39(0x1b2)])==null?void 0x0:_0x359ed2[_0x1a5b39(0xeb)];if(_0x165bb0==null){this[_0x1a5b39(0x23b)](),_0x4b06db(new Error(X[_0x1a5b39(0x201)][_0x1a5b39(0x459)]));return;}const _0x5c9756=a[_0x1a5b39(0x230)][_0x1a5b39(0x321)](0x6);_0x394650({'imageId':_0x5c9756,'imageSourceType':X[_0x1a5b39(0xc1)][_0x1a5b39(0x3b5)],'source':_0x20eb31,'base64Cache':_0x165bb0,'status':X[_0x1a5b39(0x201)][_0x1a5b39(0x28f)]}),this['_decreaseWaiting']();};});}[_0x1a8f07(0x31f)](){var _0x1ebfb3=_0x1a8f07,_0x5668d3,_0x1bed3c;const _0x5de0dd=this[_0x1ebfb3(0x163)]['getConfig'](xi),_0x3427c4=this[_0x1ebfb3(0x163)][_0x1ebfb3(0x394)](Y);return(_0x1bed3c=(_0x5668d3=_0x3427c4==null?void 0x0:_0x3427c4[_0x1ebfb3(0xc5)])!=null?_0x5668d3:_0x5de0dd)!=null?_0x1bed3c:ji;}[_0x1a8f07(0xea)](){var _0x54445e=_0x1a8f07,_0x39984f,_0x4b6c50;const _0x10f3a8=this[_0x54445e(0x163)][_0x54445e(0x394)]($i),_0x84f61d=this['_configService'][_0x54445e(0x394)](Y);return(_0x4b6c50=(_0x39984f=_0x84f61d==null?void 0x0:_0x84f61d[_0x54445e(0x241)])!=null?_0x39984f:_0x10f3a8)!=null?_0x4b6c50:Hi;}[_0x1a8f07(0x2d3)](){var _0x198331=_0x1a8f07,_0x4100ef;const _0x318865=this['_configService'][_0x198331(0x394)](Y);return(_0x4100ef=_0x318865==null?void 0x0:_0x318865[_0x198331(0x146)])!=null?_0x4100ef:location[_0x198331(0x40c)];}[_0x1a8f07(0x1bb)](_0x34352e,_0x4bf891){var _0xae1b23=_0x1a8f07;return _0x34352e['replace'](_0xae1b23(0x413),_0x4bf891);}[_0x1a8f07(0x23b)](){var _0x1e6f6b=_0x1a8f07;this[_0x1e6f6b(0x254)]-=0x1,this[_0x1e6f6b(0x107)][_0x1e6f6b(0x171)](this[_0x1e6f6b(0x254)]);}},exports['CollaborationImageIoService']=Ai([xe(0x0,a['Inject'](q[_0x1a8f07(0x145)])),xe(0x1,a[_0x1a8f07(0x312)]),xe(0x2,a['Inject'](a[_0x1a8f07(0xc2)]))],exports[_0x1a8f07(0x385)]);var ki=Object[_0x1a8f07(0x3fe)],Bi=Object[_0x1a8f07(0x2ca)],Fi=(_0x18cac9,_0x1ed9b3,_0x4b8a42,_0x4e839f)=>{var _0x29f028=_0x1a8f07;for(var _0x197f31=_0x4e839f>0x1?void 0x0:_0x4e839f?Bi(_0x1ed9b3,_0x4b8a42):_0x1ed9b3,_0x5a72e8=_0x18cac9[_0x29f028(0x144)]-0x1,_0x48e8a8;_0x5a72e8>=0x0;_0x5a72e8--)(_0x48e8a8=_0x18cac9[_0x5a72e8])&&(_0x197f31=(_0x4e839f?_0x48e8a8(_0x1ed9b3,_0x4b8a42,_0x197f31):_0x48e8a8(_0x197f31))||_0x197f31);return _0x4e839f&&_0x197f31&&ki(_0x1ed9b3,_0x4b8a42,_0x197f31),_0x197f31;},_t=(_0x415aa8,_0x4539c4)=>(_0x2d4b0b,_0x239360)=>_0x4539c4(_0x2d4b0b,_0x239360,_0x415aa8);const Wi=_0x1a8f07(0x366);exports['MentionIoHttpService']=class{constructor(_0x150ff6,_0x1ba542){var _0x3d39d6=_0x1a8f07;this[_0x3d39d6(0x163)]=_0x150ff6,this['_HTTPService']=_0x1ba542;}[_0x1a8f07(0x3d3)](){var _0x480c2b=_0x1a8f07,_0x598487,_0x2eaadc;const _0x3fd025=this[_0x480c2b(0x163)]['getConfig'](Ve),_0x420302=this[_0x480c2b(0x163)][_0x480c2b(0x394)](Y);return(_0x2eaadc=(_0x598487=_0x420302==null?void 0x0:_0x420302[_0x480c2b(0x103)])!=null?_0x598487:_0x3fd025)!=null?_0x2eaadc:Wi;}async[_0x1a8f07(0x400)](_0x1d815d){var _0x239980=_0x1a8f07;const _0x47e579=this[_0x239980(0x3d3)]()+_0x239980(0xd8);return{'list':[{'title':_0x239980(0x382),'mentions':(await this['_HTTPService'][_0x239980(0x197)](_0x47e579,{'params':{'objectID':_0x1d815d[_0x239980(0x401)],'unitID':_0x1d815d[_0x239980(0x401)]}}))[_0x239980(0x3df)]['collaborators']['map'](_0x430656=>({'objectId':_0x430656['id'],'name':_0x430656['subject'][_0x239980(0x175)],'metadata':{'icon':_0x430656['subject'][_0x239980(0x31c)]},'label':_0x430656[_0x239980(0x282)][_0x239980(0x175)],'objectType':a[_0x239980(0x3c4)][_0x239980(0x2e1)]})),'metadata':{},'type':a[_0x239980(0x3c4)][_0x239980(0x2e1)]}]};}},exports['MentionIoHttpService']=Fi([_t(0x0,a[_0x1a8f07(0x16f)](a[_0x1a8f07(0x312)])),_t(0x1,a['Inject'](q['HTTPService']))],exports[_0x1a8f07(0x330)]);var Gi=Object['defineProperty'],Vi=Object[_0x1a8f07(0x2ca)],Ki=(_0x3e7cbc,_0x5aff35,_0xb1d15a,_0x53bf4e)=>{var _0x18c3ab=_0x1a8f07;for(var _0x46051f=_0x53bf4e>0x1?void 0x0:_0x53bf4e?Vi(_0x5aff35,_0xb1d15a):_0x5aff35,_0x4fb988=_0x3e7cbc[_0x18c3ab(0x144)]-0x1,_0x20f558;_0x4fb988>=0x0;_0x4fb988--)(_0x20f558=_0x3e7cbc[_0x4fb988])&&(_0x46051f=(_0x53bf4e?_0x20f558(_0x5aff35,_0xb1d15a,_0x46051f):_0x20f558(_0x46051f))||_0x46051f);return _0x53bf4e&&_0x46051f&&Gi(_0x5aff35,_0xb1d15a,_0x46051f),_0x46051f;},ce=(_0x36ee72,_0x3d7b4f)=>(_0x5f2217,_0x16e88b)=>_0x3d7b4f(_0x5f2217,_0x16e88b,_0x36ee72);let Ue=class extends a[_0x1a8f07(0x1ec)]{constructor(_0x5cbe60,_0x576f05,_0x171192,_0x1841ec,_0x3828ed,_0x3e92e6,_0x36d439){var _0x549ee5=_0x1a8f07;super(),this[_0x549ee5(0x3ee)]=_0x5cbe60,this['_univerInstanceService']=_0x576f05,this['_permissionService']=_0x171192,this['_collaborationSessionService']=_0x1841ec,this[_0x549ee5(0x286)]=_0x3828ed,this[_0x549ee5(0x2ee)]=_0x3e92e6,this[_0x549ee5(0x174)]=_0x36d439,this[_0x549ee5(0x34a)](),this['_initCloseConn']();}[_0x1a8f07(0x100)](){var _0x4d562d=_0x1a8f07;const _0x3b5a0d=async _0x258c07=>{var _0x1559e1=_0x3fe4;(await this[_0x1559e1(0x2eb)][_0x1559e1(0x213)](_0x258c07))[_0x1559e1(0x135)]['pipe'](W[_0x1559e1(0x2ea)](_0x3d0a33=>_0x3d0a33[_0x1559e1(0x441)]===m['CollaborationEvent'][_0x1559e1(0x298)]),W[_0x1559e1(0x285)](this[_0x1559e1(0xfe)]))[_0x1559e1(0x249)](_0x51569a=>{var _0x2502be=_0x1559e1;const _0x5ae8d6=_0x51569a,{reason:_0x573892}=_0x5ae8d6[_0x2502be(0x2de)];this[_0x2502be(0x286)][_0x2502be(0x151)]({'id':Q['CLOSE_ROOM'],'data':_0x573892}),this[_0x2502be(0x148)]['updatePermissionPoint'](new J['WorkbookEditablePermission'](_0x258c07)['id'],!0x1),this['_collaborationSessionService'][_0x2502be(0xe2)](_0x258c07);});};H[_0x4d562d(0x37d)](this[_0x4d562d(0x339)][_0x4d562d(0x430)](a[_0x4d562d(0x3eb)][_0x4d562d(0x154)]),this[_0x4d562d(0x339)][_0x4d562d(0x430)](a[_0x4d562d(0x3eb)][_0x4d562d(0x3b3)]))[_0x4d562d(0x265)](W['map'](_0x34e080=>_0x34e080[_0x4d562d(0x1d7)]()),W['filter'](_0xe3716c=>!a[_0x4d562d(0x377)](_0xe3716c)),W['takeUntil'](this[_0x4d562d(0xfe)]))['subscribe'](_0x3b4d60=>{_0x3b5a0d(_0x3b4d60);});}[_0x1a8f07(0x34a)](){var _0x285d3e=_0x1a8f07;const _0x534468=async _0x52e563=>{var _0x3bae0d=_0x3fe4;const _0x30f4dd=await this[_0x3bae0d(0x2eb)][_0x3bae0d(0x213)](_0x52e563),_0x385180=this['_injector'][_0x3bae0d(0x197)](J[_0x3bae0d(0x3a6)]);_0x30f4dd[_0x3bae0d(0x135)][_0x3bae0d(0x265)](W[_0x3bae0d(0x2ea)](_0x58e79d=>_0x58e79d[_0x3bae0d(0x441)]===m['CollaborationEvent'][_0x3bae0d(0x182)]),W[_0x3bae0d(0x285)](this['dispose$']))[_0x3bae0d(0x249)](_0x60531a=>{var _0x52c18d=_0x3bae0d;const _0x3f5d34=_0x60531a,{objectId:_0x57225f}=_0x3f5d34[_0x52c18d(0x2de)];_0x57225f===_0x52e563?_0x385180['initWorkbookPermissionChange'](_0x52e563):_0x385180[_0x52c18d(0x173)](_0x52e563,_0x57225f);});};H[_0x285d3e(0x37d)](this[_0x285d3e(0x339)][_0x285d3e(0x430)](a['UniverInstanceType'][_0x285d3e(0x154)]),this[_0x285d3e(0x339)]['getTypeOfUnitAdded$'](a['UniverInstanceType']['UNIVER_DOC']))['pipe'](W[_0x285d3e(0x290)](_0x56ab76=>_0x56ab76['getUnitId']()),W[_0x285d3e(0x2ea)](_0x2599b=>!a[_0x285d3e(0x377)](_0x2599b)),W['takeUntil'](this[_0x285d3e(0xfe)]))[_0x285d3e(0x249)](_0x233c78=>{_0x534468(_0x233c78);});}};Ue=Ki([ce(0x0,a[_0x1a8f07(0x16f)](a[_0x1a8f07(0x324)])),ce(0x1,a[_0x1a8f07(0xc2)]),ce(0x2,a[_0x1a8f07(0x2c3)]),ce(0x3,a[_0x1a8f07(0x16f)](exports[_0x1a8f07(0x114)])),ce(0x4,a[_0x1a8f07(0x16f)](te)),ce(0x5,a[_0x1a8f07(0x21d)]),ce(0x6,a['IUndoRedoService'])],Ue);var Yi=Object[_0x1a8f07(0x3fe)],qi=Object['getOwnPropertyDescriptor'],zi=(_0x11a20f,_0x5d45ba,_0xc1bf96,_0xcb8990)=>{for(var _0x250ba7=_0xcb8990>0x1?void 0x0:_0xcb8990?qi(_0x5d45ba,_0xc1bf96):_0x5d45ba,_0x541acf=_0x11a20f['length']-0x1,_0x30396f;_0x541acf>=0x0;_0x541acf--)(_0x30396f=_0x11a20f[_0x541acf])&&(_0x250ba7=(_0xcb8990?_0x30396f(_0x5d45ba,_0xc1bf96,_0x250ba7):_0x30396f(_0x250ba7))||_0x250ba7);return _0xcb8990&&_0x250ba7&&Yi(_0x5d45ba,_0xc1bf96,_0x250ba7),_0x250ba7;},ut=(_0x13497d,_0x1c2fac)=>(_0x1d83b9,_0x300c79)=>_0x1c2fac(_0x1d83b9,_0x300c79,_0x13497d);exports[_0x1a8f07(0x272)]=class{constructor(_0x5ab308,_0x2d1574){var _0x706fc7=_0x1a8f07;this['_configService']=_0x5ab308,this[_0x706fc7(0xce)]=_0x2d1574;}async[_0x1a8f07(0x378)](_0xbb518d,_0x275b78){var _0x2e78cc=_0x1a8f07,_0x3eda13;const {unitID:_0x5e5fcb,type:_0x236590,revision:_0x2f9985=0x0}=_0x275b78,_0x1a799c=this[_0x2e78cc(0x2d6)]()+'/'+_0x236590+'/unit/'+_0x5e5fcb+_0x2e78cc(0x40d)+_0x2f9985,_0x3bb7ec=(await this[_0x2e78cc(0xce)][_0x2e78cc(0x197)](_0x1a799c))[_0x2e78cc(0x3df)],_0x55a852=(_0x3eda13=_0x3bb7ec[_0x2e78cc(0x348)])==null?void 0x0:_0x3eda13['workbook'];if(_0x55a852){const _0x2a6e84=_0x55a852==null?void 0x0:_0x55a852[_0x2e78cc(0x38b)],_0x5c5a5a=m[_0x2e78cc(0x1a5)][_0x2e78cc(0x18f)](m[_0x2e78cc(0x29d)](_0x2a6e84));_0x55a852['originalMeta']=_0x5c5a5a,Object[_0x2e78cc(0x1b7)](_0x55a852[_0x2e78cc(0x176)])['forEach'](([,_0x38758b])=>{var _0x2d289e=_0x2e78cc;const _0x12167c=_0x38758b[_0x2d289e(0x38b)],_0x547931=m[_0x2d289e(0x1a5)][_0x2d289e(0x18f)](m['b64DecodeUnicode'](_0x12167c));_0x38758b[_0x2d289e(0x38b)]=_0x547931;});}return _0x3bb7ec;}async[_0x1a8f07(0x279)](_0x42c529,_0xd8a8a8){var _0x661bf3=_0x1a8f07;const {unitID:_0x3868f3,type:_0x8f8f1b,blockID:_0x4870f4}=_0xd8a8a8,_0xa756dc=this[_0x661bf3(0x2d9)]()+'/'+_0x8f8f1b+_0x661bf3(0x397)+_0x3868f3+_0x661bf3(0xfd)+_0x4870f4;return(await this[_0x661bf3(0xce)]['get'](_0xa756dc))['body'];}async['getDeserializedSheetBlock'](_0x5d85f8,_0x2f8774){var _0x204739=_0x1a8f07;const {unitID:_0x47d970,type:_0x20d912,blockID:_0x1bf470}=_0x2f8774,_0x141535=this[_0x204739(0x2d9)]()+'/block/'+_0x20d912+_0x204739(0x397)+_0x47d970+'/block/'+_0x1bf470;return(await this[_0x204739(0xce)][_0x204739(0x197)](_0x141535))[_0x204739(0x3df)];}async[_0x1a8f07(0x30c)](_0x1a3a3e,_0x26ec56){var _0x3cdd2e=_0x1a8f07;const {unitID:_0x5be05d,type:_0x3326d9,from:_0x21784e,to:_0x4333cb}=_0x26ec56,_0x3b5d6f=this[_0x3cdd2e(0x2d9)]()+'/'+_0x3326d9+_0x3cdd2e(0x397)+_0x5be05d+_0x3cdd2e(0x2a2)+_0x21784e+_0x3cdd2e(0x2b7)+_0x4333cb;return(await this[_0x3cdd2e(0xce)]['get'](_0x3b5d6f))[_0x3cdd2e(0x3df)];}['getSnapshotAPIPath'](){var _0x20cc62=_0x1a8f07,_0x294957;return(_0x294957=this[_0x20cc62(0x163)]['getConfig'](ft))!=null?_0x294957:this[_0x20cc62(0x2d9)]();}[_0x1a8f07(0x2d9)](){var _0x3b2d5f=_0x1a8f07,_0x11d4c4,_0x29d088;const _0x1ace7b=this[_0x3b2d5f(0x163)][_0x3b2d5f(0x394)](vt),_0x346512=this[_0x3b2d5f(0x163)][_0x3b2d5f(0x394)](Y);return(_0x29d088=(_0x11d4c4=_0x346512==null?void 0x0:_0x346512[_0x3b2d5f(0x2ed)])!=null?_0x11d4c4:_0x1ace7b)!=null?_0x29d088:Ht;}async['getResourcesRequest'](_0x4d0765,_0x2fdf4a){var _0xf7a299=_0x1a8f07;const _0x255217=_0xf7a299(0x16b)+_0x2fdf4a[_0xf7a299(0x2e8)]+_0xf7a299(0x397)+_0x2fdf4a['unitID']+'/resources';return(await this[_0xf7a299(0xce)][_0xf7a299(0x197)](_0x255217,{'params':{'resourceId':JSON[_0xf7a299(0x399)](_0x2fdf4a['resourceIDs'])}}))[_0xf7a299(0x3df)];}[_0x1a8f07(0x139)](){var _0x1d9365=_0x1a8f07;throw new Error(_0x1d9365(0x105));}[_0x1a8f07(0x194)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1a8f07(0x291)](){var _0x15dd2f=_0x1a8f07;throw new Error(_0x15dd2f(0x105));}[_0x1a8f07(0x39b)](){var _0x50ba75=_0x1a8f07;throw new Error(_0x50ba75(0x105));}[_0x1a8f07(0x1f2)](){var _0x159585=_0x1a8f07;throw new Error(_0x159585(0x105));}},exports[_0x1a8f07(0x272)]=zi([ut(0x0,a['IConfigService']),ut(0x1,a['Inject'](q['HTTPService']))],exports[_0x1a8f07(0x272)]);var Ji=Object[_0x1a8f07(0x3fe)],Xi=Object['getOwnPropertyDescriptor'],Zi=(_0x1b86ff,_0x5bc4f9,_0xb6180e,_0x38d622)=>{var _0x11384a=_0x1a8f07;for(var _0x1bb82b=_0x38d622>0x1?void 0x0:_0x38d622?Xi(_0x5bc4f9,_0xb6180e):_0x5bc4f9,_0x5da370=_0x1b86ff[_0x11384a(0x144)]-0x1,_0x167cea;_0x5da370>=0x0;_0x5da370--)(_0x167cea=_0x1b86ff[_0x5da370])&&(_0x1bb82b=(_0x38d622?_0x167cea(_0x5bc4f9,_0xb6180e,_0x1bb82b):_0x167cea(_0x1bb82b))||_0x1bb82b);return _0x38d622&&_0x1bb82b&&Ji(_0x5bc4f9,_0xb6180e,_0x1bb82b),_0x1bb82b;},de=(_0x21ab18,_0x200b2d)=>(_0x4781aa,_0x15c279)=>_0x200b2d(_0x4781aa,_0x15c279,_0x21ab18);exports[_0x1a8f07(0x113)]=class extends a['LocalUndoRedoService']{constructor(_0x248f30,_0x5a5d88,_0x117d15,_0x39c81b,_0x1e5213){var _0x43f002=_0x1a8f07;super(_0x248f30,_0x5a5d88,_0x117d15),this[_0x43f002(0xd0)]=_0x39c81b,this[_0x43f002(0x2c0)]=_0x1e5213;}[_0x1a8f07(0x1c6)](_0x10e5b0,_0x1a008a){var _0x21428e=_0x1a8f07;const _0x340785=this[_0x21428e(0x353)](_0x10e5b0);if(_0x340785)try{const _0x1fcc54=this[_0x21428e(0x10d)](_0x340785,_0x1a008a);this[_0x21428e(0x327)](_0x10e5b0,_0x1fcc54);}catch(_0x238f64){this[_0x21428e(0x2c0)][_0x21428e(0x405)](_0x21428e(0x17e),_0x238f64),this[_0x21428e(0x24e)](_0x10e5b0);}const _0x5751bd=this['_getRedoStack'](_0x10e5b0);if(_0x5751bd)try{const _0x2a276b=this['_transformStack'](_0x5751bd,_0x1a008a);this[_0x21428e(0x3aa)](_0x10e5b0,_0x2a276b);}catch(_0x38d084){this[_0x21428e(0x2c0)][_0x21428e(0x405)](_0x38d084),this[_0x21428e(0x352)](_0x10e5b0);}}['_clearUndo'](_0x468fd8){var _0xc36f9f=_0x1a8f07;const _0x35640b=this[_0xc36f9f(0x353)](_0x468fd8);_0x35640b&&(_0x35640b[_0xc36f9f(0x144)]=0x0,this[_0xc36f9f(0x1af)]());}[_0x1a8f07(0x352)](_0x40459d){var _0x2a00c7=_0x1a8f07;const _0x558b76=this[_0x2a00c7(0x3d6)](_0x40459d);_0x558b76&&(_0x558b76[_0x2a00c7(0x144)]=0x0,this[_0x2a00c7(0x1af)]());}[_0x1a8f07(0x327)](_0x161dab,_0x1e845e){var _0x7f1a8d=_0x1a8f07;this[_0x7f1a8d(0x322)][_0x7f1a8d(0x1dc)](_0x161dab,_0x1e845e),this[_0x7f1a8d(0x1af)]();}[_0x1a8f07(0x3aa)](_0x33e384,_0x949e1){var _0x10ee3d=_0x1a8f07;this[_0x10ee3d(0x123)][_0x10ee3d(0x1dc)](_0x33e384,_0x949e1),this[_0x10ee3d(0x1af)]();}[_0x1a8f07(0x10d)](_0x365f32,_0x4edddf){var _0x22ba86=_0x1a8f07;const _0xc4b271=[];let _0xbd184f=_0x4edddf,_0x338cbf=_0x4edddf;for(let _0x5736f0=_0x365f32['length']-0x1;_0x5736f0>=0x0;_0x5736f0--){const {unitID:_0x19bea3,undoMutations:_0x36f969,redoMutations:_0x57e815}=_0x365f32[_0x5736f0],_0x1cc15c=this[_0x22ba86(0xd0)][_0x22ba86(0x10b)](_0xbd184f,_0x36f969),_0x5a1706=this[_0x22ba86(0xd0)][_0x22ba86(0x10b)](_0x338cbf,_0x57e815);if(m['isTransformMutationsWithChangesetFailure'](_0x1cc15c)||m[_0x22ba86(0x320)](_0x5a1706)){this[_0x22ba86(0x2c0)][_0x22ba86(0x405)](_0x22ba86(0x17e),_0x22ba86(0x191),_0x1cc15c,_0x5a1706);break;}_0xbd184f=_0x1cc15c['c1Prime'],_0x338cbf=_0x5a1706[_0x22ba86(0x3d8)],_0xc4b271[_0x22ba86(0x33d)]({'unitID':_0x19bea3,'undoMutations':_0x1cc15c[_0x22ba86(0x323)],'redoMutations':_0x5a1706['m2Prime']});}return _0xc4b271['reverse']();}},exports[_0x1a8f07(0x113)]=Zi([de(0x0,a[_0x1a8f07(0xc2)]),de(0x1,a[_0x1a8f07(0x1ce)]),de(0x2,a[_0x1a8f07(0x32f)]),de(0x3,m[_0x1a8f07(0x3e8)]),de(0x4,a[_0x1a8f07(0x168)])],exports[_0x1a8f07(0x113)]);var Lt=Object['defineProperty'],Qi=Object[_0x1a8f07(0x2ca)],er=(_0xc72350,_0x392e0f,_0x40bd67)=>_0x392e0f in _0xc72350?Lt(_0xc72350,_0x392e0f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40bd67}):_0xc72350[_0x392e0f]=_0x40bd67,tr=(_0x34a558,_0x59bcf4,_0x2d039,_0x129440)=>{var _0x3f2655=_0x1a8f07;for(var _0x2124c9=_0x129440>0x1?void 0x0:_0x129440?Qi(_0x59bcf4,_0x2d039):_0x59bcf4,_0x4334e6=_0x34a558[_0x3f2655(0x144)]-0x1,_0x2d46ac;_0x4334e6>=0x0;_0x4334e6--)(_0x2d46ac=_0x34a558[_0x4334e6])&&(_0x2124c9=(_0x129440?_0x2d46ac(_0x59bcf4,_0x2d039,_0x2124c9):_0x2d46ac(_0x2124c9))||_0x2124c9);return _0x129440&&_0x2124c9&&Lt(_0x59bcf4,_0x2d039,_0x2124c9),_0x2124c9;},je=(_0x1133ea,_0x49b44f)=>(_0x13b829,_0x10dc2f)=>_0x49b44f(_0x13b829,_0x10dc2f,_0x1133ea),nr=(_0x12fe8d,_0x34a2ba,_0x21cc5f)=>er(_0x12fe8d,_0x34a2ba+'',_0x21cc5f);const ir=_0x1a8f07(0x156);exports[_0x1a8f07(0x29c)]=class extends a['Plugin']{constructor(_0x205396=Ke,_0x41761e,_0x41448e,_0x1df27a){var _0x545ebc=_0x1a8f07;super(),this[_0x545ebc(0x410)]=_0x205396,this[_0x545ebc(0x2c0)]=_0x41761e,this[_0x545ebc(0x3ee)]=_0x41448e,this[_0x545ebc(0x163)]=_0x1df27a;const {..._0x517dc1}=a[_0x545ebc(0x37d)]({},Ke,this[_0x545ebc(0x410)]);this['_configService'][_0x545ebc(0x13c)](Y,_0x517dc1);}[_0x1a8f07(0x1cb)](){var _0x4a04c4=_0x1a8f07;this[_0x4a04c4(0x221)](),this[_0x4a04c4(0x2c5)]();}['_registerDependencies'](){var _0x1c8f17=_0x1a8f07,_0x89b25b,_0x3491b7,_0x573a24,_0x2139a8;this['_injector'][_0x1c8f17(0x300)](a[_0x1c8f17(0xed)])&&this[_0x1c8f17(0x2c0)][_0x1c8f17(0x405)](_0x1c8f17(0x2aa),_0x1c8f17(0x10e));const _0xf1340a=a[_0x1c8f17(0x15a)]([[a['IUndoRedoService'],{'useClass':exports[_0x1c8f17(0x113)]}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports[_0x1c8f17(0x434)]],[ye],[Ne],[Be],[Ue],[te],[exports['DataLoaderService']],[ke,{'useClass':(_0x3491b7=(_0x89b25b=this[_0x1c8f17(0x410)])==null?void 0x0:_0x89b25b[_0x1c8f17(0x136)])!=null?_0x3491b7:exports[_0x1c8f17(0x1ab)]}],[m[_0x1c8f17(0x252)],{'useClass':exports[_0x1c8f17(0x272)]}],[a[_0x1c8f17(0x21d)],{'useClass':exports[_0x1c8f17(0x1be)]}],[X['IImageIoService'],{'useClass':exports['CollaborationImageIoService']}],[a['IMentionIOService'],{'useClass':exports[_0x1c8f17(0x330)]}],[exports['CollaborationController']],[$e]],(_0x573a24=this['_config'])==null?void 0x0:_0x573a24[_0x1c8f17(0x3a1)]);if(!((_0x2139a8=this['_config'])!=null&&_0x2139a8[_0x1c8f17(0x2df)])){const _0x126978=_0xf1340a[_0x1c8f17(0x39d)](([_0xbb1ebb])=>_0xbb1ebb===ve);_0x126978!==-0x1&&_0xf1340a[_0x1c8f17(0x22f)](_0x126978,0x1);}a[_0x1c8f17(0x403)](this[_0x1c8f17(0x3ee)],_0xf1340a);}[_0x1a8f07(0x2c5)](){var _0x69d0fa=_0x1a8f07,_0x451fab,_0x3be3e4,_0x20d895;this[_0x69d0fa(0x3ee)][_0x69d0fa(0x197)](q['HTTPService'])[_0x69d0fa(0x3d4)]({'priority':0x14,'interceptor':q[_0x69d0fa(0x2fc)]({'maxParallel':0x6})}),(_0x451fab=this[_0x69d0fa(0x410)])!=null&&_0x451fab[_0x69d0fa(0x364)]||(_0x3be3e4=this[_0x69d0fa(0x3ee)][_0x69d0fa(0x197)](z,a[_0x69d0fa(0x15b)][_0x69d0fa(0x132)]))==null||_0x3be3e4[_0x69d0fa(0x39a)](),(_0x20d895=this[_0x69d0fa(0x410)])!=null&&_0x20d895['enableAuthServer']&&a['touchDependencies'](this[_0x69d0fa(0x3ee)],[[ye]]),a[_0x69d0fa(0x14f)](this[_0x69d0fa(0x3ee)],[[Ne],[exports[_0x69d0fa(0x178)]],[Ue]]);}},nr(exports[_0x1a8f07(0x29c)],_0x1a8f07(0x17a),ir),exports['UniverCollaborationClientPlugin']=tr([a[_0x1a8f07(0x3fd)](m[_0x1a8f07(0x149)],J[_0x1a8f07(0x357)],q['UniverNetworkPlugin']),je(0x1,a[_0x1a8f07(0x168)]),je(0x2,a[_0x1a8f07(0x16f)](a[_0x1a8f07(0x324)])),je(0x3,a[_0x1a8f07(0x312)])],exports[_0x1a8f07(0x29c)]),exports[_0x1a8f07(0x3d1)]=Ve,exports[_0x1a8f07(0x38d)]=Y,exports[_0x1a8f07(0x23f)]=Et,exports[_0x1a8f07(0x332)]=St,exports['CollaborationStatus']=We,exports[_0x1a8f07(0x1fa)]=Q,exports['CollaborationUIEventService']=te,exports[_0x1a8f07(0x12c)]=Be,exports[_0x1a8f07(0x215)]=pt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Xt,exports[_0x1a8f07(0x21f)]=mt,exports['HEARTBEAT_TIMEOUT_KEY']=He,exports[_0x1a8f07(0x1e4)]=ke,exports[_0x1a8f07(0x43e)]=z,exports[_0x1a8f07(0x359)]=Rt,exports[_0x1a8f07(0x3dd)]=ve,exports[_0x1a8f07(0x3ac)]=Yt,exports['LOCAL_CACHE_INTERVAL_KEY']=Kt,exports['LOGIN_URL_KEY']=Ct,exports[_0x1a8f07(0x15d)]=Jt,exports[_0x1a8f07(0x2c9)]=It,exports[_0x1a8f07(0x38a)]=kt,exports[_0x1a8f07(0x14b)]=vt,exports[_0x1a8f07(0x208)]=ft,exports[_0x1a8f07(0x15e)]=se,exports['UnitStatus']=Fe,exports[_0x1a8f07(0x2ab)]=Ot,exports['getLocalCacheKey']=In,exports['serializeCombRequest']=yt;
1
+ 'use strict';var _0x23fcf5=_0x4d81;(function(_0x47f884,_0x1976fb){var _0x501263=_0x4d81,_0x3f1a58=_0x47f884();while(!![]){try{var _0x5c8615=parseInt(_0x501263(0x179))/0x1+parseInt(_0x501263(0x3d8))/0x2+-parseInt(_0x501263(0x21c))/0x3*(-parseInt(_0x501263(0x27b))/0x4)+-parseInt(_0x501263(0x2cd))/0x5+-parseInt(_0x501263(0x414))/0x6+parseInt(_0x501263(0x42a))/0x7*(parseInt(_0x501263(0x2f1))/0x8)+-parseInt(_0x501263(0x1af))/0x9*(-parseInt(_0x501263(0x366))/0xa);if(_0x5c8615===_0x1976fb)break;else _0x3f1a58['push'](_0x3f1a58['shift']());}catch(_0x2c92ba){_0x3f1a58['push'](_0x3f1a58['shift']());}}}(_0x8269,0xd599f));var Mt=Object['defineProperty'],xt=(_0x310528,_0x5236e4,_0x3149ad)=>_0x5236e4 in _0x310528?Mt(_0x310528,_0x5236e4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3149ad}):_0x310528[_0x5236e4]=_0x3149ad,D=(_0x382afa,_0x525cde,_0x996efd)=>xt(_0x382afa,typeof _0x525cde!=_0x23fcf5(0x428)?_0x525cde+'':_0x525cde,_0x996efd);Object[_0x23fcf5(0x14d)](exports,Symbol[_0x23fcf5(0x1ac)],{'value':_0x23fcf5(0x3a8)});const a=require('@univerjs/core'),H=require(_0x23fcf5(0x258)),W=require('rxjs/operators'),q=require(_0x23fcf5(0x182)),m=require('@univerjs-pro/collaboration'),jt=require(_0x23fcf5(0x1e0)),dt=require(_0x23fcf5(0x181)),J=require(_0x23fcf5(0x3c9)),X=require(_0x23fcf5(0x232)),$t=require('@univerjs-pro/license'),vt=_0x23fcf5(0x352),Ht=_0x23fcf5(0x339),ft=_0x23fcf5(0x42c),kt=_0x23fcf5(0xdd),Bt=0x7d0,St=_0x23fcf5(0x3ad),pt='ws://127.0.0.1:8000/universer-api/comb/connect',Ft=_0x23fcf5(0x434),mt='HEARTBEAT_INTERVAL',Wt=0x7530,He=_0x23fcf5(0x214),gt=0x4e20,Gt=0x4e20,It=_0x23fcf5(0x126),Vt=0x3,Kt=_0x23fcf5(0x2eb),Yt=0x3e8,Et=_0x23fcf5(0x436),qt='/universer-api/comb',Ct='LOGIN_URL_KEY',zt=_0x23fcf5(0x2be),Jt=_0x23fcf5(0x2b8),Xt=_0x23fcf5(0x1fb);var Tt=(_0x426de9=>(_0x426de9[_0x426de9[_0x23fcf5(0x102)]=0x0]=_0x23fcf5(0x102),_0x426de9[_0x426de9['OK']=0x1]='OK',_0x426de9[_0x426de9['INTERNAL_ERROR']=0x2]=_0x23fcf5(0x33f),_0x426de9[_0x426de9['PERMISSION_DENIED']=0x3]=_0x23fcf5(0x371),_0x426de9[_0x426de9[_0x23fcf5(0x2d1)]=0x4]=_0x23fcf5(0x2d1),_0x426de9[_0x426de9[_0x23fcf5(0x211)]=0x5]='UNAUTHENTICATED',_0x426de9[_0x426de9['ALREADY_EXISTS']=0x6]=_0x23fcf5(0x137),_0x426de9[_0x426de9[_0x23fcf5(0x2c0)]=0x7]=_0x23fcf5(0x2c0),_0x426de9[_0x426de9[_0x23fcf5(0x11d)]=0x8]=_0x23fcf5(0x11d),_0x426de9[_0x426de9[_0x23fcf5(0x1d1)]=0x9]=_0x23fcf5(0x1d1),_0x426de9[_0x426de9[_0x23fcf5(0x43e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x426de9[_0x426de9[_0x23fcf5(0x2a8)]=0x1771]=_0x23fcf5(0x2a8),_0x426de9[_0x426de9[_0x23fcf5(0x2c1)]=0x1772]=_0x23fcf5(0x2c1),_0x426de9[_0x426de9[_0x23fcf5(0x302)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x426de9[_0x426de9[_0x23fcf5(0x341)]=0x1b59]='APPLY_REJECT',_0x426de9[_0x426de9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x23fcf5(0x15c),_0x426de9[_0x426de9[_0x23fcf5(0x20f)]=0x1b5b]=_0x23fcf5(0x20f),_0x426de9[_0x426de9[_0x23fcf5(0x2a1)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x426de9[_0x426de9[_0x23fcf5(0x396)]=0x1b5d]=_0x23fcf5(0x396),_0x426de9[_0x426de9[_0x23fcf5(0xe1)]=0x1f41]=_0x23fcf5(0xe1),_0x426de9[_0x426de9[_0x23fcf5(0x365)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x426de9[_0x426de9['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x23fcf5(0x135),_0x426de9[_0x426de9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x23fcf5(0x3d6),_0x426de9[_0x426de9[_0x23fcf5(0x148)]=0x232c]=_0x23fcf5(0x148),_0x426de9[_0x426de9['LICENSE_DISTRO_REJECTED']=0x232d]=_0x23fcf5(0x3c1),_0x426de9[_0x426de9[_0x23fcf5(0x1e1)]=0x2711]=_0x23fcf5(0x1e1),_0x426de9[_0x426de9['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x23fcf5(0x113),_0x426de9[_0x426de9[_0x23fcf5(0x1b6)]=0x2713]=_0x23fcf5(0x1b6),_0x426de9[_0x426de9['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x23fcf5(0x168),_0x426de9[_0x426de9[_0x23fcf5(0x1ff)]=0x2af9]=_0x23fcf5(0x1ff),_0x426de9[_0x426de9[_0x23fcf5(0x2bc)]=-0x1]=_0x23fcf5(0x2bc),_0x426de9))(Tt||{}),Z=(_0x4e0a43=>(_0x4e0a43[_0x4e0a43[_0x23fcf5(0x169)]=0x0]=_0x23fcf5(0x169),_0x4e0a43[_0x4e0a43['UNIVER_DOC']=0x1]=_0x23fcf5(0x19a),_0x4e0a43[_0x4e0a43[_0x23fcf5(0x1b5)]=0x2]=_0x23fcf5(0x1b5),_0x4e0a43[_0x4e0a43[_0x23fcf5(0x3ef)]=0x3]='UNIVER_SLIDE',_0x4e0a43[_0x4e0a43[_0x23fcf5(0x3be)]=0x4]=_0x23fcf5(0x3be),_0x4e0a43[_0x4e0a43[_0x23fcf5(0x2bc)]=-0x1]='UNRECOGNIZED',_0x4e0a43))(Z||{}),G=(_0x500b10=>(_0x500b10[_0x500b10['UNKNOWN_CMD']=0x0]=_0x23fcf5(0x42e),_0x500b10[_0x500b10['HELLO']=0x1]=_0x23fcf5(0x455),_0x500b10[_0x500b10[_0x23fcf5(0x209)]=0x2]=_0x23fcf5(0x209),_0x500b10[_0x500b10[_0x23fcf5(0x385)]=0x3]=_0x23fcf5(0x385),_0x500b10[_0x500b10[_0x23fcf5(0x3c2)]=0x4]=_0x23fcf5(0x3c2),_0x500b10[_0x500b10[_0x23fcf5(0x2c4)]=0x5]='HEARTBEAT',_0x500b10[_0x500b10[_0x23fcf5(0x14e)]=0x6]='RECV',_0x500b10[_0x500b10[_0x23fcf5(0x2bc)]=-0x1]='UNRECOGNIZED',_0x500b10))(G||{}),he=(_0x40fb4f=>(_0x40fb4f[_0x40fb4f[_0x23fcf5(0x1b7)]=0x0]='UNKNOWN_CODE',_0x40fb4f[_0x40fb4f['OK']=0x1]='OK',_0x40fb4f[_0x40fb4f[_0x23fcf5(0x444)]=0x2]=_0x23fcf5(0x444),_0x40fb4f[_0x40fb4f[_0x23fcf5(0x38f)]=0x3e9]=_0x23fcf5(0x38f),_0x40fb4f[_0x40fb4f['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x23fcf5(0x29d),_0x40fb4f[_0x40fb4f[_0x23fcf5(0x243)]=0x3eb]=_0x23fcf5(0x243),_0x40fb4f[_0x40fb4f[_0x23fcf5(0x3c0)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x40fb4f[_0x40fb4f['UNRECOGNIZED']=-0x1]=_0x23fcf5(0x2bc),_0x40fb4f))(he||{}),bt=(_0xdef417=>(_0xdef417[_0xdef417['Undefined']=0x0]=_0x23fcf5(0x183),_0xdef417[_0xdef417[_0x23fcf5(0x117)]=0x1]=_0x23fcf5(0x117),_0xdef417[_0xdef417[_0x23fcf5(0x197)]=0x2]=_0x23fcf5(0x197),_0xdef417[_0xdef417[_0x23fcf5(0x23f)]=0x3]=_0x23fcf5(0x23f),_0xdef417[_0xdef417['UnitSnapshot']=0x4]='UnitSnapshot',_0xdef417[_0xdef417['UNRECOGNIZED']=-0x1]=_0x23fcf5(0x2bc),_0xdef417))(bt||{});const Y='collaboration-client.config',Ke={};var Q=(_0x5cbc46=>(_0x5cbc46[_0x23fcf5(0x2aa)]=_0x23fcf5(0x2aa),_0x5cbc46[_0x23fcf5(0x371)]=_0x23fcf5(0x371),_0x5cbc46['CONFLICT']=_0x23fcf5(0x41f),_0x5cbc46[_0x23fcf5(0x1e2)]=_0x23fcf5(0x1e2),_0x5cbc46[_0x23fcf5(0x1f1)]=_0x23fcf5(0x1f1),_0x5cbc46['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x5cbc46[_0x23fcf5(0x141)]='SOCKET_FAILED',_0x5cbc46[_0x23fcf5(0x23b)]=_0x23fcf5(0x23b),_0x5cbc46))(Q||{});class te{constructor(){var _0x2695c1=_0x23fcf5;D(this,_0x2695c1(0x451),new H[(_0x2695c1(0x227))]()),D(this,_0x2695c1(0x3d4),this['_event$']['asObservable']());}[_0x23fcf5(0x427)](_0x23fd8e){var _0x5f44bc=_0x23fcf5;this[_0x5f44bc(0x451)][_0x5f44bc(0x275)](_0x23fd8e);}}const Rt=a[_0x23fcf5(0xec)]('univer-pro.collaboration-client.network-condition.service');function Ot(_0x246eda){var _0xf7f9da=_0x23fcf5,_0x5ae6de,_0x16bba8,_0x367d8,_0x10efb0,_0x3abb09;const _0x37cbcb=_0x246eda['data'],_0x156e13=JSON['parse'](_0x37cbcb);switch(_0x156e13[_0xf7f9da(0x37e)]){case G[_0xf7f9da(0x2c4)]:case G['HELLO']:{const _0x5155b1=_0x156e13[_0xf7f9da(0x23d)];return{..._0x156e13,'data':_0x5155b1,'cmd':_0x156e13[_0xf7f9da(0x37e)]};}case G[_0xf7f9da(0x209)]:{const _0x383633=_0x156e13[_0xf7f9da(0x255)];return{..._0x156e13,'data':_0x383633,'cmd':_0x156e13[_0xf7f9da(0x37e)]};}case G[_0xf7f9da(0x14e)]:{const _0xf4f102=_0x156e13[_0xf7f9da(0xff)];switch(_0xf4f102[_0xf7f9da(0x21b)]){case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x158)]:return{..._0x156e13,'data':{..._0xf4f102,'data':(_0x5ae6de=_0xf4f102['permissionRejEvent'])==null?void 0x0:_0x5ae6de['cs']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x3d5)]:return{..._0x156e13,'data':{..._0xf4f102,'data':(_0x16bba8=_0xf4f102[_0xf7f9da(0x1dc)])==null?void 0x0:_0x16bba8['cs']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x2cc)]:return{..._0x156e13,'data':{..._0xf4f102,'data':(_0x367d8=_0xf4f102['newCsEvent'])==null?void 0x0:_0x367d8['cs']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m['CollaborationEvent']['CHANGESET_REJ']:return{..._0x156e13,'data':{..._0xf4f102,'data':(_0x10efb0=_0xf4f102['csRejEvent'])==null?void 0x0:_0x10efb0['cs']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x156)]:return{..._0x156e13,'data':{..._0xf4f102,'data':(_0x3abb09=_0xf4f102['csShouldRetryEvent'])==null?void 0x0:_0x3abb09['cs']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)]['UPDATE_CURSOR']:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102['updateCursorEvent']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x1c5)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x3b3)]},'cmd':_0x156e13['cmd']};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x16e)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x2e0)]},'cmd':_0x156e13['cmd']};case m[_0xf7f9da(0x2b5)]['LIVESHARE_NEW_HOST']:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x3cc)]},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m['CollaborationEvent'][_0xf7f9da(0x21e)]:case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x13a)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x398)]},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x221)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x3cc)]},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0xfd)]:return{..._0x156e13,'data':_0xf4f102,'cmd':_0x156e13['cmd']};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x10e)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102['commentUpdateEvent']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)]['UPDATE_PERMISSION_OBJ']:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x421)]},'cmd':_0x156e13['cmd']};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x28f)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x430)]},'cmd':_0x156e13['cmd']};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x356)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x293)]},'cmd':_0x156e13['cmd']};default:return _0x156e13;}}default:return _0x156e13;}}function yt(_0x3ec91c){var _0x1f384d=_0x23fcf5;switch(_0x3ec91c[_0x1f384d(0x37e)]){case G[_0x1f384d(0x2c4)]:case G[_0x1f384d(0x455)]:return JSON[_0x1f384d(0x19e)]({'cmd':_0x3ec91c[_0x1f384d(0x37e)],'routeKey':_0x3ec91c[_0x1f384d(0x199)]});case G[_0x1f384d(0x3c2)]:{let _0x3df7b9;switch(_0x3ec91c[_0x1f384d(0x406)][_0x1f384d(0x21b)]){case m[_0x1f384d(0x2b5)][_0x1f384d(0x27e)]:{_0x3df7b9={'eventID':m[_0x1f384d(0x2b5)][_0x1f384d(0x27e)],'updateCursorEvent':_0x3ec91c[_0x1f384d(0x406)][_0x1f384d(0x406)]};break;}case m['CollaborationEvent']['USERS_LEAVE']:{_0x3df7b9={'eventID':m[_0x1f384d(0x2b5)][_0x1f384d(0x16e)],'leaveEvent':_0x3ec91c['data'][_0x1f384d(0x406)]};break;}case m[_0x1f384d(0x2b5)][_0x1f384d(0x1c5)]:{_0x3df7b9={'eventID':m[_0x1f384d(0x2b5)][_0x1f384d(0x1c5)],'joinEvent':_0x3ec91c[_0x1f384d(0x406)][_0x1f384d(0x406)]};break;}case m['CollaborationEvent'][_0x1f384d(0x3f7)]:{_0x3df7b9={'eventID':m['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3ec91c[_0x1f384d(0x406)]['data']};break;}case m[_0x1f384d(0x2b5)][_0x1f384d(0x13a)]:{_0x3df7b9={'eventID':m['CollaborationEvent'][_0x1f384d(0x13a)],'liveShareOperation':_0x3ec91c['data'][_0x1f384d(0x406)]};break;}case m[_0x1f384d(0x2b5)][_0x1f384d(0x221)]:{_0x3df7b9={'eventID':m[_0x1f384d(0x2b5)][_0x1f384d(0x221)],'liveShareTerminate':_0x3ec91c[_0x1f384d(0x406)][_0x1f384d(0x406)]};break;}case m[_0x1f384d(0x2b5)][_0x1f384d(0x3bd)]:{_0x3df7b9={'eventID':m[_0x1f384d(0x2b5)][_0x1f384d(0x3bd)],'liveShareRequestHost':_0x3ec91c[_0x1f384d(0x406)][_0x1f384d(0x406)]};break;}case m['CollaborationEvent'][_0x1f384d(0x21e)]:{_0x3df7b9={'eventID':m['CollaborationEvent'][_0x1f384d(0x21e)]};break;}default:_0x3df7b9={'eventID':_0x3ec91c['data'][_0x1f384d(0x21b)]};}return JSON[_0x1f384d(0x19e)]({'cmd':_0x3ec91c[_0x1f384d(0x37e)],'routeKey':_0x3ec91c[_0x1f384d(0x199)],'collaMsg':_0x3df7b9});}case G[_0x1f384d(0x209)]:return JSON[_0x1f384d(0x19e)]({'cmd':_0x3ec91c[_0x1f384d(0x37e)],'routeKey':_0x3ec91c[_0x1f384d(0x199)],'joinReq':_0x3ec91c[_0x1f384d(0x406)]});case G[_0x1f384d(0x385)]:return JSON['stringify']({'cmd':_0x3ec91c[_0x1f384d(0x37e)],'routeKey':_0x3ec91c[_0x1f384d(0x199)],'leaveReq':_0x3ec91c['data']});default:throw new Error(_0x1f384d(0xd9));}}var Zt=Object[_0x23fcf5(0x14d)],Qt=Object['getOwnPropertyDescriptor'],en=(_0x317046,_0xa7170b,_0x5c26c5,_0x53e854)=>{for(var _0x41bbba=_0x53e854>0x1?void 0x0:_0x53e854?Qt(_0xa7170b,_0x5c26c5):_0xa7170b,_0x290883=_0x317046['length']-0x1,_0x522140;_0x290883>=0x0;_0x290883--)(_0x522140=_0x317046[_0x290883])&&(_0x41bbba=(_0x53e854?_0x522140(_0xa7170b,_0x5c26c5,_0x41bbba):_0x522140(_0x41bbba))||_0x41bbba);return _0x53e854&&_0x41bbba&&Zt(_0xa7170b,_0x5c26c5,_0x41bbba),_0x41bbba;},ue=(_0xfb635a,_0x1823fb)=>(_0x78a424,_0x2b239e)=>_0x1823fb(_0x78a424,_0x2b239e,_0xfb635a);function _0x4d81(_0x57f05e,_0x4bb727){var _0x82696d=_0x8269();return _0x4d81=function(_0x4d8157,_0x449739){_0x4d8157=_0x4d8157-0xd4;var _0x11cfc9=_0x82696d[_0x4d8157];return _0x11cfc9;},_0x4d81(_0x57f05e,_0x4bb727);}const ke=a[_0x23fcf5(0xec)](_0x23fcf5(0x376));function tn(_0x10b088,_0x5d160f,_0x3c17d9){var _0x24ecc5=_0x23fcf5;return _0x10b088+'/'+_0x5d160f+_0x24ecc5(0x17d)+_0x3c17d9+_0x24ecc5(0x333);}exports[_0x23fcf5(0x2e7)]=class extends a[_0x23fcf5(0x367)]{constructor(_0x27dc70,_0x46ffb1,_0x158e0b,_0x487dd,_0x214ee8){var _0x1d766b=_0x23fcf5;super(),this[_0x1d766b(0x305)]=_0x27dc70,this[_0x1d766b(0x327)]=_0x46ffb1,this[_0x1d766b(0x194)]=_0x158e0b,this[_0x1d766b(0x447)]=_0x487dd,this[_0x1d766b(0x1ab)]=_0x214ee8;}[_0x23fcf5(0x1e4)](_0x4fd16e){var _0x29d140=_0x23fcf5;const _0x3ce6fc=this[_0x29d140(0x305)][_0x29d140(0x11c)](q[_0x29d140(0x409)]);if(!_0x3ce6fc)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x591296=_0x3ce6fc[_0x29d140(0x1e4)](_0x4fd16e);if(!_0x591296)throw new Error(_0x29d140(0xe0));const _0x3b5c04=new a[(_0x29d140(0x20a))](),_0x6d1298=new H[(_0x29d140(0x227))]();_0x3b5c04[_0x29d140(0x440)](_0x591296[_0x29d140(0x18c)]['subscribe'](_0x3416d6=>_0x6d1298[_0x29d140(0x275)](_0x3416d6))),_0x3b5c04['add'](a[_0x29d140(0x219)](()=>_0x6d1298[_0x29d140(0x410)]()));const _0x1f5ef3=new H[(_0x29d140(0x227))]();_0x3b5c04[_0x29d140(0x440)](_0x591296[_0x29d140(0x38a)]['subscribe'](_0x3e0ef3=>_0x1f5ef3['next'](_0x3e0ef3))),_0x3b5c04['add'](a[_0x29d140(0x219)](()=>_0x1f5ef3['complete']()));const _0x2c425a=new H[(_0x29d140(0x227))]();_0x3b5c04[_0x29d140(0x440)](_0x591296[_0x29d140(0x31e)][_0x29d140(0x332)](_0x305418=>{var _0x3ed2fc=_0x29d140;const _0x1b6c47=Ot(_0x305418);_0x2c425a[_0x3ed2fc(0x275)](_0x1b6c47);})),_0x3b5c04[_0x29d140(0x440)](a[_0x29d140(0x219)](()=>_0x2c425a[_0x29d140(0x410)]()));let _0x180acc;const _0x216251=()=>{var _0xbb88e2=_0x29d140;_0x1f5ef3[_0xbb88e2(0x275)](new Event(_0xbb88e2(0x271))),_0x6d1298[_0xbb88e2(0x275)](new CloseEvent(_0xbb88e2(0x271))),_0x180acc['close']();};return _0x180acc={'memberID':'','close$':_0x6d1298['asObservable'](),'error$':_0x1f5ef3[_0x29d140(0x1cf)](),'open$':_0x591296['open$'],'message$':_0x2c425a[_0x29d140(0x1cf)](),'send':_0x3abd39=>{var _0x4353d4=_0x29d140;if(_0x3abd39[_0x4353d4(0x37e)]===G[_0x4353d4(0x3c2)]){if(_0x3abd39[_0x4353d4(0x406)][_0x4353d4(0x21b)]===m[_0x4353d4(0x2b5)][_0x4353d4(0x1c1)]){this['_submitChangeset'](_0x180acc,_0x3abd39[_0x4353d4(0x406)])[_0x4353d4(0x13f)](_0x18ceb9=>{var _0x45443c=_0x4353d4;this[_0x45443c(0x447)][_0x45443c(0x39b)](_0x18ceb9),_0x216251();});return;}if(_0x3abd39[_0x4353d4(0x406)][_0x4353d4(0x21b)]===m['CollaborationEvent'][_0x4353d4(0x2a7)]){const _0x1554d4=_0x3abd39[_0x4353d4(0x406)];this[_0x4353d4(0x278)](_0x1554d4)[_0x4353d4(0x116)](_0x12f8f4=>{var _0x27e7ff=_0x4353d4;_0x2c425a[_0x27e7ff(0x275)]({'cmd':G[_0x27e7ff(0x14e)],'code':he['OK'],'routeKey':_0x1554d4[_0x27e7ff(0x406)][_0x27e7ff(0x134)],'routeType':'','data':{'eventID':m[_0x27e7ff(0x2b5)][_0x27e7ff(0x17a)],'data':{'changesets':_0x12f8f4}}});})[_0x4353d4(0x13f)](_0x54307c=>{var _0x277d74=_0x4353d4;this[_0x277d74(0x447)][_0x277d74(0x39b)](_0x54307c),_0x216251();});return;}}_0x591296[_0x4353d4(0x2b3)](yt(_0x3abd39));},'close':()=>{var _0x3e7186=_0x29d140;_0x591296['close'](),_0x3b5c04[_0x3e7186(0x27d)]();}},_0x180acc;}async['_submitChangeset'](_0x168a87,_0x4aecf7){var _0x1396cc=_0x23fcf5,_0x10f5fd,_0x5e3f5b;const {unitType:_0x3c1640,unitID:_0x5e2e82,changeset:_0x52a8a5}=_0x4aecf7[_0x1396cc(0x406)],_0x18a71e={'unitID':_0x5e2e82,'memberID':_0x168a87[_0x1396cc(0x2d0)],'type':_0x3c1640,'changeset':m[_0x1396cc(0x3e5)](_0x52a8a5)},_0x40bb8b=this[_0x1396cc(0x194)][_0x1396cc(0x3d1)](Et),_0x495b8d=this[_0x1396cc(0x194)][_0x1396cc(0x3d1)](Y),_0x3439b6=tn((_0x5e3f5b=(_0x10f5fd=_0x495b8d==null?void 0x0:_0x495b8d[_0x1396cc(0x274)])!=null?_0x10f5fd:_0x40bb8b)!=null?_0x5e3f5b:qt,_0x3c1640,_0x5e2e82);try{await this[_0x1396cc(0x327)]['post'](_0x3439b6,{'body':_0x18a71e});}catch(_0x2dc390){throw this['_logService'][_0x1396cc(0x39b)]('[CollaborationSession]',_0x1396cc(0x18e)),_0x2dc390;}}async[_0x23fcf5(0x278)](_0x342fb6){var _0x33c0e9=_0x23fcf5;const {unitID:_0x22586d,from:_0x1703f4,to:_0x1e404d,unitType:_0x29dcfe}=_0x342fb6[_0x33c0e9(0x406)];return(await this['_snapshotServerService'][_0x33c0e9(0x438)]({'metadata':void 0x0},{'unitID':_0x22586d,'type':_0x29dcfe,'from':_0x1703f4,'to':_0x1e404d}))['changesets'];}},exports['CollaborationSocketService']=en([ue(0x0,a[_0x23fcf5(0x11a)](a['Injector'])),ue(0x1,a[_0x23fcf5(0x11a)](q['HTTPService'])),ue(0x2,a[_0x23fcf5(0x17e)]),ue(0x3,a[_0x23fcf5(0x21d)]),ue(0x4,m[_0x23fcf5(0x3e3)])],exports['CollaborationSocketService']);const nn=_0x23fcf5(0x1f4);function rn(_0xcae29){var _0x1ab5f1=_0x23fcf5;return JSON[_0x1ab5f1(0x19e)](_0xcae29)['length'];}class Be{constructor(){var _0x38dc4a=_0x23fcf5;D(this,_0x38dc4a(0x3ec),new H[(_0x38dc4a(0x227))]()),D(this,_0x38dc4a(0x30d),this['_commentUpdate$'][_0x38dc4a(0x1cf)]());}[_0x23fcf5(0x123)](_0x301e05){var _0x59812d=_0x23fcf5;this[_0x59812d(0x3ec)]['next'](_0x301e05);}}var sn=Object[_0x23fcf5(0x14d)],on=Object[_0x23fcf5(0x291)],an=(_0x10be44,_0x429f26,_0x312d57,_0x1271fa)=>{var _0x267686=_0x23fcf5;for(var _0x18e0d5=_0x1271fa>0x1?void 0x0:_0x1271fa?on(_0x429f26,_0x312d57):_0x429f26,_0x31a917=_0x10be44[_0x267686(0x358)]-0x1,_0x494000;_0x31a917>=0x0;_0x31a917--)(_0x494000=_0x10be44[_0x31a917])&&(_0x18e0d5=(_0x1271fa?_0x494000(_0x429f26,_0x312d57,_0x18e0d5):_0x494000(_0x18e0d5))||_0x18e0d5);return _0x1271fa&&_0x18e0d5&&sn(_0x429f26,_0x312d57,_0x18e0d5),_0x18e0d5;},Ye=(_0x554385,_0xa6905)=>(_0x56160b,_0x56f250)=>_0xa6905(_0x56160b,_0x56f250,_0x554385);exports[_0x23fcf5(0x24c)]=class extends a['Disposable']{constructor(_0x14fcd0,_0x1969d7){var _0x39eb8e=_0x23fcf5;super(),D(this,_0x39eb8e(0x316),new Map()),D(this,_0x39eb8e(0x24a),new H[(_0x39eb8e(0x227))]()),(this[_0x39eb8e(0x3ce)]=_0x14fcd0,this[_0x39eb8e(0x3e0)]=_0x1969d7,this[_0x39eb8e(0x31b)](H['merge'](this[_0x39eb8e(0x3ce)][_0x39eb8e(0x1ee)](a[_0x39eb8e(0x387)][_0x39eb8e(0x1b5)])['pipe'](W[_0x39eb8e(0x1da)](_0x2256e5=>_0x2256e5[_0x39eb8e(0x408)]())),this[_0x39eb8e(0x3ce)]['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_DOC'])[_0x39eb8e(0x205)](W[_0x39eb8e(0x1da)](_0xf235bd=>_0xf235bd[_0x39eb8e(0x408)]())),this[_0x39eb8e(0x3ce)]['getTypeOfUnitDisposed$'](a[_0x39eb8e(0x387)][_0x39eb8e(0x3ef)])[_0x39eb8e(0x205)](W['map'](_0x443f32=>_0x443f32['getUnitId']())))['subscribe'](_0x211dc6=>this[_0x39eb8e(0xf1)](_0x211dc6))));}[_0x23fcf5(0x21f)](_0x5b967a){var _0x5dab82=_0x23fcf5;return this['_roomMembers']['has'](_0x5b967a)?H['of'](this[_0x5dab82(0x316)][_0x5dab82(0x11c)](_0x5b967a)):this['_roomCreated$'][_0x5dab82(0x205)](W[_0x5dab82(0x1da)](_0x1a5725=>{if(_0x1a5725===_0x5b967a)return this['_roomMembers']['get'](_0x1a5725);}));}['setCurrentUser'](_0x58a5e3){var _0x12891d=_0x23fcf5;this['_userManagerService'][_0x12891d(0x452)](_0x58a5e3);}[_0x23fcf5(0x2f8)](){var _0x3e5f70=_0x23fcf5;return this[_0x3e5f70(0x3e0)][_0x3e5f70(0x2f8)]();}[_0x23fcf5(0x155)](_0x3c10a2,_0x28c4e5){var _0x4fad6b=_0x23fcf5;let _0x4a1a7a=this[_0x4fad6b(0x316)][_0x4fad6b(0x11c)](_0x3c10a2);_0x4a1a7a||(_0x4a1a7a=new cn(),this[_0x4fad6b(0x316)][_0x4fad6b(0x2ec)](_0x3c10a2,_0x4a1a7a),this[_0x4fad6b(0x24a)][_0x4fad6b(0x275)](_0x3c10a2)),_0x4a1a7a[_0x4fad6b(0x155)](_0x28c4e5);}['removeMember'](_0x24de7a,_0x535e13){var _0x27cb79=_0x23fcf5;const _0xaafc08=this['_roomMembers']['get'](_0x24de7a);_0xaafc08&&_0xaafc08[_0x27cb79(0x36d)](_0x535e13);}[_0x23fcf5(0x174)](_0x702f31){var _0x4c1303=_0x23fcf5;return this[_0x4c1303(0x316)][_0x4c1303(0x11c)](_0x702f31);}[_0x23fcf5(0x2c2)](_0x199a55,_0x32cb6a){var _0x2787ba=_0x23fcf5;const _0x108bdb=this[_0x2787ba(0x316)][_0x2787ba(0x11c)](_0x199a55);if(_0x108bdb)return _0x108bdb[_0x2787ba(0x2c2)](_0x32cb6a);}[_0x23fcf5(0xf1)](_0x6988a7){var _0x153343=_0x23fcf5;const _0x461f9b=this[_0x153343(0x316)]['get'](_0x6988a7);_0x461f9b&&(_0x461f9b[_0x153343(0x27d)](),this[_0x153343(0x316)][_0x153343(0x2bb)](_0x6988a7));}[_0x23fcf5(0x27d)](){var _0x409407=_0x23fcf5;this['_roomMembers'][_0x409407(0x28e)](_0x3245e2=>_0x3245e2[_0x409407(0x27d)]()),this['_roomMembers']['clear'](),this[_0x409407(0x24a)][_0x409407(0x410)]();}},exports[_0x23fcf5(0x24c)]=an([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x31c)]))],exports['MemberService']);class cn extends a[_0x23fcf5(0x367)]{constructor(){var _0x2925eb=_0x23fcf5;super(...arguments),D(this,_0x2925eb(0x1e7),new Map()),D(this,_0x2925eb(0x3bc),new H['BehaviorSubject'](this['_members'])),D(this,_0x2925eb(0x3da),this['_members$'][_0x2925eb(0x1cf)]());}[_0x23fcf5(0x27d)](){var _0x41499b=_0x23fcf5;this[_0x41499b(0x1e7)][_0x41499b(0x3ff)]();}['updateMember'](_0x244d05){var _0x517823=_0x23fcf5;this[_0x517823(0x1e7)][_0x517823(0x2ec)](_0x244d05[_0x517823(0x2d0)],_0x244d05),this[_0x517823(0x400)]();}[_0x23fcf5(0x36d)](_0x24d96d){this['_members']['delete'](_0x24d96d);}[_0x23fcf5(0x2c2)](_0x26c12e){var _0x7de5b9=_0x23fcf5;return this['_members'][_0x7de5b9(0x11c)](_0x26c12e);}[_0x23fcf5(0x1bd)](){var _0x367b06=_0x23fcf5;return Array[_0x367b06(0x206)](this[_0x367b06(0x1e7)][_0x367b06(0x2bf)]());}[_0x23fcf5(0x400)](){var _0x59590e=_0x23fcf5;this[_0x59590e(0x3bc)][_0x59590e(0x275)](this[_0x59590e(0x1e7)]);}}var hn=Object[_0x23fcf5(0x14d)],ln=Object['getOwnPropertyDescriptor'],_n=(_0x235d34,_0x50d561,_0x54411c,_0x581e1a)=>{var _0x43165f=_0x23fcf5;for(var _0x50f743=_0x581e1a>0x1?void 0x0:_0x581e1a?ln(_0x50d561,_0x54411c):_0x50d561,_0x554b2b=_0x235d34[_0x43165f(0x358)]-0x1,_0x56f638;_0x554b2b>=0x0;_0x554b2b--)(_0x56f638=_0x235d34[_0x554b2b])&&(_0x50f743=(_0x581e1a?_0x56f638(_0x50d561,_0x54411c,_0x50f743):_0x56f638(_0x50f743))||_0x50f743);return _0x581e1a&&_0x50f743&&hn(_0x50d561,_0x54411c,_0x50f743),_0x50f743;},oe=(_0x2616df,_0x3fb6b4)=>(_0x8ec92e,_0x2e0a83)=>_0x3fb6b4(_0x8ec92e,_0x2e0a83,_0x2616df),se=(_0x2e42fb=>(_0x2e42fb[_0x2e42fb[_0x23fcf5(0x273)]=0x0]=_0x23fcf5(0x273),_0x2e42fb[_0x2e42fb[_0x23fcf5(0x13c)]=0x1]=_0x23fcf5(0x13c),_0x2e42fb[_0x2e42fb[_0x23fcf5(0x429)]=0x2]=_0x23fcf5(0x429),_0x2e42fb[_0x2e42fb[_0x23fcf5(0x1dd)]=0x3]=_0x23fcf5(0x1dd),_0x2e42fb))(se||{});const qe={[he[_0x23fcf5(0x444)]]:_0x23fcf5(0x34f),[he[_0x23fcf5(0x38f)]]:_0x23fcf5(0x335),[he[_0x23fcf5(0x29d)]]:_0x23fcf5(0x27f),[he[_0x23fcf5(0x243)]]:_0x23fcf5(0x411),[he[_0x23fcf5(0x3c0)]]:'session.room-cnt-exceeds'};exports['CollaborationSession']=class extends a[_0x23fcf5(0x1b3)]{constructor(_0x1810ad,_0x265010,_0x1bcb5c,_0x4e975a,_0x9f6762,_0x54a461,_0x1aa219,_0x52128b,_0x2fe205){var _0x48779a=_0x23fcf5;super(),D(this,_0x48779a(0x165),new H[(_0x48779a(0x413))](0x0)),D(this,_0x48779a(0x164),this['_sessionStatus$'][_0x48779a(0x1cf)]()),D(this,'_event$',new H[(_0x48779a(0x227))]()),D(this,_0x48779a(0x3d4),this[_0x48779a(0x451)]['asObservable']()),D(this,'_socket'),D(this,_0x48779a(0x347)),D(this,_0x48779a(0x1f2)),D(this,_0x48779a(0x3a2),!0x1),D(this,_0x48779a(0x344),null),(this[_0x48779a(0x422)]=_0x1810ad,this['_logService']=_0x1bcb5c,this[_0x48779a(0x194)]=_0x4e975a,this[_0x48779a(0x3b2)]=_0x9f6762,this[_0x48779a(0x379)]=_0x54a461,this['_commentService']=_0x1aa219,this[_0x48779a(0x359)]=_0x52128b,this[_0x48779a(0x19d)]=_0x2fe205,this['_shouldReportTelemetry']=!!this[_0x48779a(0x19d)],_0x265010[_0x48779a(0x205)](H[_0x48779a(0x32d)](this['dispose$']))[_0x48779a(0x332)](_0x12a951=>{var _0x36c9f0=_0x48779a,_0x51b13f;typeof _0x12a951>'u'||(this[_0x36c9f0(0x3ca)]=_0x12a951,_0x12a951?(this['_joinRoom'](_0x12a951),this['_socketMessageSubscription']=_0x12a951[_0x36c9f0(0x31e)][_0x36c9f0(0x332)](_0xc69217=>{var _0x2ae1d5=_0x36c9f0;_0xc69217['routeKey']===this[_0x2ae1d5(0x422)]&&this['_onCombEvent'](_0xc69217);})):(this[_0x36c9f0(0x431)](),this[_0x36c9f0(0x165)]['next'](0x2),(_0x51b13f=this[_0x36c9f0(0x347)])==null||_0x51b13f[_0x36c9f0(0x2a9)](),this[_0x36c9f0(0x347)]=null));}));}get['sessionStatus'](){return this['_sessionStatus$']['getValue']();}[_0x23fcf5(0x3fb)](){var _0x3ca218=_0x23fcf5,_0x24f9dd,_0x548e26;return(_0x548e26=(_0x24f9dd=this['_socket'])==null?void 0x0:_0x24f9dd[_0x3ca218(0x2d0)])!=null?_0x548e26:null;}[_0x23fcf5(0x27d)](){var _0x3e0297=_0x23fcf5;super[_0x3e0297(0x27d)](),this['dispose$']['next'](),this['dispose$'][_0x3e0297(0x410)]();}[_0x23fcf5(0x2b9)](){var _0x412655=_0x23fcf5,_0x1700a1,_0x4d25b2;this[_0x412655(0x431)](),(_0x1700a1=this[_0x412655(0x3ca)])==null||_0x1700a1[_0x412655(0x2b3)]({'cmd':G[_0x412655(0x385)],'data':{'roomID':this[_0x412655(0x422)]}}),(_0x4d25b2=this[_0x412655(0x3ca)])==null||_0x4d25b2['close'](),this[_0x412655(0x451)][_0x412655(0x410)](),this[_0x412655(0x165)][_0x412655(0x410)](),this['dispose']();}[_0x23fcf5(0x180)](_0x54a4fe){var _0x189822=_0x23fcf5;_0x54a4fe[_0x189822(0x37e)]===G[_0x189822(0x209)]?this[_0x189822(0x276)](_0x54a4fe):_0x54a4fe[_0x189822(0x37e)]===G[_0x189822(0x14e)]&&this[_0x189822(0x1d2)](_0x54a4fe);}[_0x23fcf5(0x3f9)](_0x4d3273){var _0x3c98d6=_0x23fcf5;this['_sessionStatus$']['next'](0x1),_0x4d3273[_0x3c98d6(0x2b3)]({'cmd':G[_0x3c98d6(0x209)],'routeKey':this[_0x3c98d6(0x422)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3c98d6(0x422)]}]}});}[_0x23fcf5(0x276)](_0x579ccf){var _0x41dbe2=_0x23fcf5,_0x2d126a;if(_0x579ccf[_0x41dbe2(0x22d)]in qe){this[_0x41dbe2(0x359)][_0x41dbe2(0x427)]({'id':Q['JOIN_ROOM_FAILED'],'data':qe[_0x579ccf[_0x41dbe2(0x22d)]]}),this[_0x41dbe2(0x165)][_0x41dbe2(0x275)](0x2);return;}this[_0x41dbe2(0x165)][_0x41dbe2(0x275)](0x3);const _0x443ef8=(_0x2d126a=_0x579ccf[_0x41dbe2(0x406)][_0x41dbe2(0x3cf)][this[_0x41dbe2(0x422)]])==null?void 0x0:_0x2d126a[_0x41dbe2(0x32f)];_0x443ef8&&_0x443ef8[_0x41dbe2(0x28e)](_0x5ca463=>this[_0x41dbe2(0x379)][_0x41dbe2(0x155)](this[_0x41dbe2(0x422)],_0x5ca463));}[_0x23fcf5(0x1d2)](_0x46c8f5){var _0x43770e=_0x23fcf5;try{const _0x489352=_0x46c8f5[_0x43770e(0x406)];switch(_0x489352[_0x43770e(0x21b)]){case m[_0x43770e(0x2b5)][_0x43770e(0x1c5)]:this['_onUserJoin'](_0x489352),this[_0x43770e(0x451)]['next'](_0x489352);break;case m['CollaborationEvent'][_0x43770e(0x16e)]:this['_onUserLeave'](_0x489352),this['_event$'][_0x43770e(0x275)](_0x489352);break;case m[_0x43770e(0x2b5)][_0x43770e(0x3d5)]:case m[_0x43770e(0x2b5)]['CHANGESET_SHOULD_RETRY']:this[_0x43770e(0x282)](),this[_0x43770e(0x1cb)](),this['_event$'][_0x43770e(0x275)](_0x489352);break;case m[_0x43770e(0x2b5)][_0x43770e(0xfd)]:this[_0x43770e(0x447)][_0x43770e(0x39b)](_0x43770e(0x35b)+JSON[_0x43770e(0x19e)](_0x489352)),this[_0x43770e(0x451)][_0x43770e(0x275)](_0x489352);break;case m[_0x43770e(0x2b5)][_0x43770e(0x10e)]:this[_0x43770e(0x265)][_0x43770e(0x123)](_0x489352[_0x43770e(0x406)]),this[_0x43770e(0x451)][_0x43770e(0x275)](_0x489352);break;default:this[_0x43770e(0x451)]['next'](_0x489352);}}catch(_0x708b09){this['_logService'][_0x43770e(0x39b)](_0x708b09,_0x46c8f5);}}[_0x23fcf5(0x114)](_0x2b2ae9){var _0x186301=_0x23fcf5;this[_0x186301(0x379)][_0x186301(0x155)](this[_0x186301(0x422)],_0x2b2ae9[_0x186301(0x406)]);}['_onUserLeave'](_0x31af15){var _0x1f9c6e=_0x23fcf5;this[_0x1f9c6e(0x379)][_0x1f9c6e(0x36d)](this['_unitID'],_0x31af15[_0x1f9c6e(0x406)][_0x1f9c6e(0x2d0)]);}async[_0x23fcf5(0x2b3)](_0x3bbb5f,_0xd9e6a9){var _0x22d4b6=_0x23fcf5;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x22d4b6(0x3de));try{_0x3bbb5f[_0x22d4b6(0x21b)]===m['CollaborationEvent'][_0x22d4b6(0x1c1)]&&(this[_0x22d4b6(0x24d)](),this[_0x22d4b6(0x267)](_0x3bbb5f)),this[_0x22d4b6(0x3ca)][_0x22d4b6(0x2b3)]({'cmd':G['INGEST'],'routeKey':_0xd9e6a9,'routeType':'','data':_0x3bbb5f});}catch(_0x29f088){this[_0x22d4b6(0x447)]['error'](_0x29f088);}}[_0x23fcf5(0x24d)](){var _0x934cf0=_0x23fcf5,_0x55b718;this[_0x934cf0(0x1f2)]=setTimeout(()=>{var _0x1eae59=_0x934cf0;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x1eae59(0x427)]({'id':Q[_0x1eae59(0x23b)]});},(_0x55b718=this[_0x934cf0(0x194)][_0x934cf0(0x3d1)](He))!=null?_0x55b718:gt);}[_0x23fcf5(0x1cb)](){var _0x329adc=_0x23fcf5;this[_0x329adc(0x1f2)]&&(clearTimeout(this[_0x329adc(0x1f2)]),this[_0x329adc(0x1f2)]=null);}[_0x23fcf5(0x267)](_0x125213){var _0x49a757=_0x23fcf5;if(!this['_shouldReportTelemetry'])return;const {data:_0x117fb6}=_0x125213,{unitID:_0xe754f1,changeset:_0x3740a6}=_0x117fb6,{mutations:_0x1aacb8,type:_0x327cb3}=_0x3740a6;this[_0x49a757(0x344)]={'unitId':_0xe754f1,'type':_0x327cb3,'startTime':performance[_0x49a757(0x392)](),'stopTime':0x0,'duration':0x0,'size':rn(_0x1aacb8)};}[_0x23fcf5(0x282)](){var _0x58c22e=_0x23fcf5;if(this[_0x58c22e(0x3a2)]){if(!this[_0x58c22e(0x344)]){this[_0x58c22e(0x447)][_0x58c22e(0x39b)](_0x58c22e(0x204),_0x58c22e(0x22a));return;}this[_0x58c22e(0x344)][_0x58c22e(0x147)]=performance['now'](),this[_0x58c22e(0x344)][_0x58c22e(0x3cd)]=this[_0x58c22e(0x344)][_0x58c22e(0x147)]-this[_0x58c22e(0x344)][_0x58c22e(0x318)],this[_0x58c22e(0x19d)][_0x58c22e(0x18d)](nn,this[_0x58c22e(0x344)]),this['_telemetryInfo']=null;}}[_0x23fcf5(0x431)](){var _0x27ffd0=_0x23fcf5;this[_0x27ffd0(0x344)]=null;}},exports[_0x23fcf5(0xeb)]=_n([oe(0x2,a[_0x23fcf5(0x21d)]),oe(0x3,a[_0x23fcf5(0x17e)]),oe(0x4,a[_0x23fcf5(0x11a)](a['LocaleService'])),oe(0x5,a[_0x23fcf5(0x11a)](exports[_0x23fcf5(0x24c)])),oe(0x6,a['Inject'](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a[_0x23fcf5(0x1fe)](jt[_0x23fcf5(0x1e6)]))],exports[_0x23fcf5(0xeb)]);var un=Object['defineProperty'],dn=Object[_0x23fcf5(0x291)],vn=(_0x1fdb51,_0x619d5d,_0x50354f,_0xa786cf)=>{var _0x6d012b=_0x23fcf5;for(var _0x4d638a=_0xa786cf>0x1?void 0x0:_0xa786cf?dn(_0x619d5d,_0x50354f):_0x619d5d,_0x477142=_0x1fdb51[_0x6d012b(0x358)]-0x1,_0x33c581;_0x477142>=0x0;_0x477142--)(_0x33c581=_0x1fdb51[_0x477142])&&(_0x4d638a=(_0xa786cf?_0x33c581(_0x619d5d,_0x50354f,_0x4d638a):_0x33c581(_0x4d638a))||_0x4d638a);return _0xa786cf&&_0x4d638a&&un(_0x619d5d,_0x50354f,_0x4d638a),_0x4d638a;},ae=(_0x2c8913,_0x585e7a)=>(_0x3da7b6,_0x82db32)=>_0x585e7a(_0x3da7b6,_0x82db32,_0x2c8913);exports[_0x23fcf5(0x3a9)]=class extends a[_0x23fcf5(0x367)]{constructor(_0x9e2e42,_0x5e79b0,_0x5c932b,_0x3182be,_0x8e0134,_0x4bd51c,_0x465574){var _0x57788d=_0x23fcf5;super(),D(this,_0x57788d(0x1ce),new H[(_0x57788d(0x413))](void 0x0)),D(this,'socket$',this[_0x57788d(0x1ce)]['asObservable']()),D(this,_0x57788d(0x330),null),D(this,_0x57788d(0x2bd),new Map()),D(this,_0x57788d(0x312),new H[(_0x57788d(0x413))](se[_0x57788d(0x273)])),D(this,'status$',this['_status$'][_0x57788d(0x1cf)]()),D(this,_0x57788d(0x1b8),!0x1),D(this,_0x57788d(0x14a)),D(this,_0x57788d(0x43b),0x0),D(this,_0x57788d(0x20c)),D(this,_0x57788d(0x19c)),(this[_0x57788d(0x305)]=_0x9e2e42,this[_0x57788d(0x447)]=_0x5e79b0,this[_0x57788d(0x194)]=_0x5c932b,this[_0x57788d(0x161)]=_0x3182be,this[_0x57788d(0x418)]=_0x8e0134,this[_0x57788d(0x359)]=_0x4bd51c,this[_0x57788d(0x311)]=_0x465574,this['_listenToNetworkCondition']());}get[_0x23fcf5(0x3ca)](){var _0x5361fc=_0x23fcf5;return this[_0x5361fc(0x1ce)][_0x5361fc(0x1b4)]();}[_0x23fcf5(0x260)](){var _0x13ad86=_0x23fcf5;this['_networkConditionService']&&this[_0x13ad86(0x31b)](this['_networkConditionService'][_0x13ad86(0x317)][_0x13ad86(0x332)](_0xf68a5c=>{var _0x2c7526=_0x13ad86;_0xf68a5c&&!this[_0x2c7526(0x3ca)]&&this[_0x2c7526(0x2c8)](),_0xf68a5c||this[_0x2c7526(0x384)]();}));}['dispose'](){var _0x2083b5=_0x23fcf5;super[_0x2083b5(0x27d)](),this[_0x2083b5(0x2bd)]['forEach'](_0x45869f=>_0x45869f[_0x2083b5(0x27d)]()),this[_0x2083b5(0x2bd)][_0x2083b5(0x3ff)](),this[_0x2083b5(0x312)][_0x2083b5(0x410)]();}async['requireSession'](_0x2991cf){var _0xbcb2ab=_0x23fcf5;if(this[_0xbcb2ab(0x2bd)][_0xbcb2ab(0x2fa)](_0x2991cf))return this[_0xbcb2ab(0x2bd)][_0xbcb2ab(0x11c)](_0x2991cf);this[_0xbcb2ab(0x324)]();const _0x9adcf8=this[_0xbcb2ab(0x305)][_0xbcb2ab(0x41d)](exports[_0xbcb2ab(0xeb)],_0x2991cf,this[_0xbcb2ab(0x1ce)][_0xbcb2ab(0x1cf)]());return this[_0xbcb2ab(0x2bd)][_0xbcb2ab(0x2ec)](_0x2991cf,_0x9adcf8),_0x9adcf8;}[_0x23fcf5(0x1f6)](_0x6a121f){var _0x59dd43=_0x23fcf5,_0x34d7e7;const _0x33366c=this[_0x59dd43(0x2bd)][_0x59dd43(0x11c)](_0x6a121f);_0x33366c&&(this['_sessions'][_0x59dd43(0x2bb)](_0x6a121f),_0x33366c[_0x59dd43(0x2b9)]()),this[_0x59dd43(0x2bd)][_0x59dd43(0xf3)]||(_0x34d7e7=this[_0x59dd43(0x3ca)])==null||_0x34d7e7['close']();}['reconnect'](){var _0x289c67=_0x23fcf5;this[_0x289c67(0x43b)]=0x0,this[_0x289c67(0x14a)]!=null&&(clearTimeout(this[_0x289c67(0x14a)]),this['_retryConnectingTimer']=null),this[_0x289c67(0x108)]();}async[_0x23fcf5(0x280)](){var _0x1c17e1=_0x23fcf5,_0x5bf794,_0xd746b0,_0xa80fe6;const _0x106d70=this[_0x1c17e1(0x194)]['getConfig'](Y),_0x21e6de=(_0x5bf794=_0x106d70==null?void 0x0:_0x106d70[_0x1c17e1(0x378)])!=null?_0x5bf794:Ft;return(_0xa80fe6=(_0xd746b0=(await this[_0x1c17e1(0x418)][_0x1c17e1(0x11c)](_0x21e6de,{'headers':{'Content-Type':_0x1c17e1(0x29b)}}))[_0x1c17e1(0x3b1)])==null?void 0x0:_0xd746b0[_0x1c17e1(0x426)])!=null?_0xa80fe6:'';}[_0x23fcf5(0x10d)](_0x50bc4a){var _0x18f1e7=_0x23fcf5,_0x7d7781,_0x1ac216;const _0xff38d8=this[_0x18f1e7(0x194)][_0x18f1e7(0x3d1)](St),_0x53a626=this[_0x18f1e7(0x194)][_0x18f1e7(0x3d1)](Y),_0x394a7b=(_0x1ac216=(_0x7d7781=_0x53a626==null?void 0x0:_0x53a626[_0x18f1e7(0x16a)])!=null?_0x7d7781:_0xff38d8)!=null?_0x1ac216:pt,_0x535781=typeof window>'u'?new URL(_0x394a7b):new URL(_0x394a7b,window[_0x18f1e7(0x188)][_0x18f1e7(0x270)]);_0x535781[_0x18f1e7(0x261)][_0x18f1e7(0x2ec)](_0x18f1e7(0x120),_0x50bc4a);const _0x5eda1e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x18f1e7(0x188)][_0x18f1e7(0x1e9)]);return _0x5eda1e['get'](_0x18f1e7(0x10c))&&_0x535781['searchParams'][_0x18f1e7(0x2ec)](_0x18f1e7(0x10c),_0x5eda1e[_0x18f1e7(0x11c)](_0x18f1e7(0x10c))),_0x535781['toString']();}async['_createSocket'](){var _0x4acec9=_0x23fcf5;const _0x52d708=await this[_0x4acec9(0x280)](),_0x44e431=this[_0x4acec9(0x10d)](_0x52d708),_0x49dc9f=this[_0x4acec9(0x161)][_0x4acec9(0x1e4)](_0x44e431);return this[_0x4acec9(0x330)]=_0x49dc9f,_0x49dc9f;}async['_tryEnsureSocket'](){var _0x3a013c=_0x23fcf5,_0x521fdb,_0x3c2c6b;try{const _0x4ba378=(_0x3c2c6b=(_0x521fdb=this[_0x3a013c(0x3ca)])!=null?_0x521fdb:this[_0x3a013c(0x330)])!=null?_0x3c2c6b:await this[_0x3a013c(0x2ac)]();if(_0x4ba378){const _0x475745=_0x4ba378[_0x3a013c(0x2b3)];_0x4ba378[_0x3a013c(0x2b3)]=_0x37b555=>(this[_0x3a013c(0x124)](),_0x475745[_0x3a013c(0x223)](_0x4ba378,[_0x37b555])),_0x4ba378['message$'][_0x3a013c(0x332)](_0x504f6f=>this[_0x3a013c(0x383)](_0x4ba378,_0x504f6f)),_0x4ba378[_0x3a013c(0x38a)][_0x3a013c(0x205)](W[_0x3a013c(0x325)](0x1))['subscribe'](_0xc4a1cf=>this[_0x3a013c(0x447)]['error'](_0x3a013c(0x2ca),_0xc4a1cf)),_0x4ba378[_0x3a013c(0x159)]['pipe'](W['take'](0x1))['subscribe'](()=>{var _0xfab351=_0x3a013c;this[_0xfab351(0x24f)](_0x4ba378);}),_0x4ba378[_0x3a013c(0x18c)][_0x3a013c(0x205)](W[_0x3a013c(0x325)](0x1))[_0x3a013c(0x332)](_0x4a8271=>{var _0x2c4882=_0x3a013c;this[_0x2c4882(0x447)][_0x2c4882(0x44f)](_0x2c4882(0x3bb),_0x2c4882(0x23a),_0x4a8271),this[_0x2c4882(0x3eb)]();});}}catch(_0x558e79){this[_0x3a013c(0x447)][_0x3a013c(0x39b)](_0x558e79),this[_0x3a013c(0x3eb)]();}}[_0x23fcf5(0x24f)](_0x1c7678){var _0x1b3721=_0x23fcf5;this[_0x1b3721(0x447)]['debug'](_0x1b3721(0x3bb),_0x1b3721(0x448)),_0x1c7678[_0x1b3721(0x2b3)]({'cmd':G[_0x1b3721(0x455)]}),this[_0x1b3721(0x124)]();}[_0x23fcf5(0x384)](){var _0x2c906e=_0x23fcf5;this[_0x2c906e(0x1b8)]=!0x1,this[_0x2c906e(0x330)]=null,this['_status$'][_0x2c906e(0x275)](se[_0x2c906e(0x429)]),this['_socket$'][_0x2c906e(0x275)](null),this[_0x2c906e(0x224)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x4ed80b=_0x23fcf5,_0x59c72e;this[_0x4ed80b(0x384)](),this['_retryCount']<((_0x59c72e=this[_0x4ed80b(0x194)]['getConfig'](It))!=null?_0x59c72e:Vt)?(this[_0x4ed80b(0x359)][_0x4ed80b(0x427)]({'id':Q[_0x4ed80b(0x1fc)]}),this[_0x4ed80b(0x108)]()):this[_0x4ed80b(0x359)][_0x4ed80b(0x427)]({'id':Q[_0x4ed80b(0x141)]});}[_0x23fcf5(0x108)](){var _0x23168f=_0x23fcf5,_0x20e6d2;const _0x11112b=this[_0x23168f(0x43b)],_0x23c2e5=this[_0x23168f(0x194)][_0x23168f(0x3d1)](Y),_0x5b6775=_0x11112b===0x0?0x0:((_0x20e6d2=_0x23c2e5==null?void 0x0:_0x23c2e5['retryConnectingInterval'])!=null?_0x20e6d2:Gt)*0x2**_0x11112b;this[_0x23168f(0x14a)]=setTimeout(()=>{var _0x538db6=_0x23168f;clearTimeout(this[_0x538db6(0x14a)]),this[_0x538db6(0x14a)]=null,this['_tryEnsureSocket']();},_0x5b6775),this[_0x23168f(0x43b)]+=0x1;}[_0x23fcf5(0x383)](_0x102edb,_0x29174f){var _0x5e1af6=_0x23fcf5;const {cmd:_0x19ac38}=_0x29174f;_0x19ac38===G[_0x5e1af6(0x455)]&&!this[_0x5e1af6(0x1b8)]&&(_0x102edb['memberID']=_0x29174f[_0x5e1af6(0x406)][_0x5e1af6(0x2d0)],this[_0x5e1af6(0x1ce)][_0x5e1af6(0x275)](_0x102edb),this[_0x5e1af6(0x312)][_0x5e1af6(0x275)](se[_0x5e1af6(0x1dd)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x19ac38===G[_0x5e1af6(0x2c4)]&&this[_0x5e1af6(0x224)](),this[_0x5e1af6(0x124)]();}['_rescheduleHeartbeat'](){var _0x53e5db=_0x23fcf5,_0x48ffa2;this[_0x53e5db(0x402)](),this[_0x53e5db(0x20c)]=setTimeout(()=>this[_0x53e5db(0x152)](),(_0x48ffa2=this[_0x53e5db(0x194)][_0x53e5db(0x3d1)](mt))!=null?_0x48ffa2:Wt);}[_0x23fcf5(0x152)](){var _0x5e3469=_0x23fcf5;this['_socket'][_0x5e3469(0x2b3)]({'cmd':G[_0x5e3469(0x2c4)]}),this[_0x5e3469(0x38b)]();}[_0x23fcf5(0x38b)](){var _0x398d41=_0x23fcf5,_0x55819c;this[_0x398d41(0x19c)]=setTimeout(()=>this[_0x398d41(0x3eb)](),(_0x55819c=this[_0x398d41(0x194)][_0x398d41(0x3d1)](He))!=null?_0x55819c:gt);}['_clearHeartbeatTimer'](){var _0x512f16=_0x23fcf5;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x512f16(0x20c)]),this[_0x512f16(0x20c)]=null);}[_0x23fcf5(0x224)](){var _0x1195e5=_0x23fcf5;this[_0x1195e5(0x19c)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1195e5(0x19c)]=null);}},exports[_0x23fcf5(0x3a9)]=vn([ae(0x0,a['Inject'](a[_0x23fcf5(0x368)])),ae(0x1,a[_0x23fcf5(0x21d)]),ae(0x2,a['IConfigService']),ae(0x3,ke),ae(0x4,a[_0x23fcf5(0x11a)](q[_0x23fcf5(0x3f3)])),ae(0x5,a[_0x23fcf5(0x11a)](te)),ae(0x6,a[_0x23fcf5(0x1fe)](Rt))],exports[_0x23fcf5(0x3a9)]);const V=[];for(let r=0x0;r<0x100;++r)V['push']((r+0x100)[_0x23fcf5(0x43f)](0x10)[_0x23fcf5(0x13d)](0x1));function fn(_0x5119be,_0x18ab38=0x0){return(V[_0x5119be[_0x18ab38+0x0]]+V[_0x5119be[_0x18ab38+0x1]]+V[_0x5119be[_0x18ab38+0x2]]+V[_0x5119be[_0x18ab38+0x3]]+'-'+V[_0x5119be[_0x18ab38+0x4]]+V[_0x5119be[_0x18ab38+0x5]]+'-'+V[_0x5119be[_0x18ab38+0x6]]+V[_0x5119be[_0x18ab38+0x7]]+'-'+V[_0x5119be[_0x18ab38+0x8]]+V[_0x5119be[_0x18ab38+0x9]]+'-'+V[_0x5119be[_0x18ab38+0xa]]+V[_0x5119be[_0x18ab38+0xb]]+V[_0x5119be[_0x18ab38+0xc]]+V[_0x5119be[_0x18ab38+0xd]]+V[_0x5119be[_0x18ab38+0xe]]+V[_0x5119be[_0x18ab38+0xf]])['toLowerCase']();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x5270ce=_0x23fcf5;if(!Pe){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x5270ce(0x17f));Pe=crypto[_0x5270ce(0x171)]['bind'](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto[_0x23fcf5(0x215)]&&crypto[_0x23fcf5(0x215)][_0x23fcf5(0x288)](crypto),ze={'randomUUID':mn};function gn(_0x1b560a,_0xb7c0ad,_0x463a90){var _0x45f352=_0x23fcf5,_0x4866c2,_0x40f739,_0x44553e;if(ze[_0x45f352(0x215)]&&!_0x1b560a)return ze[_0x45f352(0x215)]();_0x1b560a=_0x1b560a||{};const _0x29df26=(_0x44553e=(_0x40f739=_0x1b560a[_0x45f352(0x1d3)])!=null?_0x40f739:(_0x4866c2=_0x1b560a[_0x45f352(0x36f)])==null?void 0x0:_0x4866c2[_0x45f352(0x2d3)](_0x1b560a))!=null?_0x44553e:pn();if(_0x29df26[_0x45f352(0x358)]<0x10)throw new Error(_0x45f352(0x363));return _0x29df26[0x6]=_0x29df26[0x6]&0xf|0x40,_0x29df26[0x8]=_0x29df26[0x8]&0x3f|0x80,fn(_0x29df26);}const z=a[_0x23fcf5(0xec)]('collaboration-client.local-cache-service');function In(_0x1dbd97){var _0x56805d=_0x23fcf5;return _0x56805d(0x300)+_0x1dbd97;}var En=Object['defineProperty'],Cn=Object[_0x23fcf5(0x291)],Tn=(_0x5a03d9,_0x3e7d4c,_0x5564c9,_0x4417c6)=>{var _0x1bddb1=_0x23fcf5;for(var _0x5e1790=_0x4417c6>0x1?void 0x0:_0x4417c6?Cn(_0x3e7d4c,_0x5564c9):_0x3e7d4c,_0x470981=_0x5a03d9[_0x1bddb1(0x358)]-0x1,_0x28bce5;_0x470981>=0x0;_0x470981--)(_0x28bce5=_0x5a03d9[_0x470981])&&(_0x5e1790=(_0x4417c6?_0x28bce5(_0x3e7d4c,_0x5564c9,_0x5e1790):_0x28bce5(_0x5e1790))||_0x5e1790);return _0x4417c6&&_0x5e1790&&En(_0x3e7d4c,_0x5564c9,_0x5e1790),_0x5e1790;},De=(_0x123d71,_0x31d52f)=>(_0x1594bd,_0x4b6ea2)=>_0x31d52f(_0x1594bd,_0x4b6ea2,_0x123d71);function bn(_0x1675b1){var _0x7b8cbf=_0x23fcf5;const {unitID:_0x96e0ad,mutations:_0x20773c}=_0x1675b1;return{'unitId':_0x96e0ad,'subUnitId':_0x20773c[0x0][_0x7b8cbf(0x1fa)][_0x7b8cbf(0x3ac)]};}exports[_0x23fcf5(0x30b)]=class{constructor(_0xd26827,_0x13f329,_0x219541){var _0x41c46b=_0x23fcf5;this[_0x41c46b(0x305)]=_0xd26827,this[_0x41c46b(0x453)]=_0x13f329,this['_instanceService']=_0x219541;}[_0x23fcf5(0x254)](_0x3aa7cc){var _0x587cc2=_0x23fcf5,_0x1b8c50,_0x5487ad,_0x28f79a,_0x43b9b8;const _0x2b46ae=this[_0x587cc2(0x305)][_0x587cc2(0x11c)](J[_0x587cc2(0x151)]),{unitId:_0x36b244,subUnitId:_0x32bcfd}=bn(_0x3aa7cc),_0x17210d=_0x2b46ae==null?void 0x0:_0x2b46ae[_0x587cc2(0x2dc)](_0x36b244)['getCurrentSelections'](),_0x425317=(_0x5487ad=(_0x1b8c50=this[_0x587cc2(0x423)][_0x587cc2(0x216)](_0x36b244))==null?void 0x0:_0x1b8c50['getActiveSheet']())==null?void 0x0:_0x5487ad['getSheetId']();if(_0x17210d['length']===0x0||!_0x36b244||!_0x32bcfd)return;const _0x18e59c=[{'id':J['SetSelectionsOperation']['id'],'params':{'unitId':_0x36b244,'subUnitId':_0x425317,'selections':a[_0x587cc2(0x38d)][_0x587cc2(0x283)](_0x17210d)}}],_0x2d503a=this[_0x587cc2(0x453)][_0x587cc2(0x2cb)](_0x3aa7cc,_0x18e59c);if(!m['isTransformMutationsWithChangesetSuccess'](_0x2d503a))throw _0x2d503a[_0x587cc2(0x39b)];const _0x279a5e=(_0x43b9b8=(_0x28f79a=_0x2d503a[_0x587cc2(0x22c)][0x0])==null?void 0x0:_0x28f79a[_0x587cc2(0x1fa)])==null?void 0x0:_0x43b9b8[_0x587cc2(0x185)];if(Array[_0x587cc2(0x3ed)](_0x279a5e)&&_0x279a5e[_0x587cc2(0x358)]){if(_0x279a5e['length']===_0x18e59c[0x0][_0x587cc2(0x1fa)][_0x587cc2(0x185)]['length']&&_0x279a5e[_0x587cc2(0x107)]((_0xa6693e,_0x2a2cbe)=>a[_0x587cc2(0x445)]['equals'](_0xa6693e[_0x587cc2(0x41c)],_0x18e59c[0x0][_0x587cc2(0x1fa)]['selections'][_0x2a2cbe][_0x587cc2(0x41c)])))return;this[_0x587cc2(0x305)][_0x587cc2(0x11c)](a[_0x587cc2(0x229)])[_0x587cc2(0x44a)](J[_0x587cc2(0x40c)]['id'],{'unitId':_0x36b244,'subUnitId':_0x425317,'selections':_0x279a5e});}}},exports[_0x23fcf5(0x30b)]=Tn([De(0x0,a[_0x23fcf5(0x11a)](a['Injector'])),De(0x1,m[_0x23fcf5(0x1e5)]),De(0x2,a[_0x23fcf5(0x133)])],exports[_0x23fcf5(0x30b)]);const ve=a[_0x23fcf5(0xec)](_0x23fcf5(0x104));var Fe=(_0x3e70a8=>(_0x3e70a8[_0x3e70a8['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3e70a8[_0x3e70a8[_0x23fcf5(0x2b4)]=0x1]='OTHER_CLIENTS_EDITING',_0x3e70a8))(Fe||{});const Rn=new Set([J['InsertSheetMutation']['id']]);function Je(_0x5a3043,_0x36f5a8,_0x12c3ea,_0xb73d11,_0x57bcbe){var _0x249ca9=_0x23fcf5,_0x32c4cc,_0x5b6aaf,_0x1fa51c,_0xc6a7a4;const _0xacd34c=[];for(const _0x5955ff of _0x5a3043)if(Rn[_0x249ca9(0x2fa)](_0x5955ff['id'])){if(_0xacd34c[_0x249ca9(0x358)]>0x0)break;_0xacd34c[_0x249ca9(0x228)](_0x5955ff);break;}else _0xacd34c[_0x249ca9(0x228)](_0x5955ff);const _0x18b91e=(_0x5b6aaf=(_0x32c4cc=_0x57bcbe[_0x249ca9(0x2f8)]())==null?void 0x0:_0x32c4cc[_0x249ca9(0x2b2)])!=null?_0x5b6aaf:_0x249ca9(0x195),_0x21ee05=(_0xc6a7a4=(_0x1fa51c=_0x57bcbe['getCurrentUser']())==null?void 0x0:_0x1fa51c[_0x249ca9(0x2d0)])!=null?_0xc6a7a4:_0x249ca9(0x195);return{'changeset':{'unitID':_0x36f5a8,'type':m['mapDocumentTypeToUniverType'](_0x12c3ea[_0x249ca9(0x3e8)](_0x36f5a8)),'baseRev':_0xb73d11['getCurrentRevOfUnit'](_0x36f5a8),'revision':0x0,'userID':_0x18b91e,'memberID':_0x21ee05,'mutations':_0xacd34c},'pendingMutations':_0x5a3043[_0x249ca9(0x13d)](_0xacd34c[_0x249ca9(0x358)])};}function On(_0x4a607b,_0x1788b5,_0x10440c,_0x4d993f,_0x1ebbec){var _0x1e5ffe=_0x23fcf5,_0x59dad5,_0x4e5dd9,_0x2366c1,_0x50907d;const _0xb7eb6f=[_0x4a607b[_0x1e5ffe(0x230)]((_0x3c23e5,_0xb31a1b)=>{var _0x9134b8=_0x1e5ffe,_0x2f21f1;const {id:_0x46a022}=_0x3c23e5,{id:_0x17e7c6,type:_0x2d6a14}=_0xb31a1b,_0x442dc6=(_0x2f21f1=_0x3c23e5[_0x9134b8(0x1fa)])!=null?_0x2f21f1:{'actions':null},_0x42e16e=_0xb31a1b[_0x9134b8(0x1fa)];if(_0x46a022&&_0x46a022!==_0x17e7c6)throw new Error(_0x9134b8(0x250)+_0x46a022+_0x9134b8(0x3e2)+_0x17e7c6+'.');return{..._0x3c23e5,'id':_0x17e7c6,'type':_0x2d6a14,'params':{'unitId':_0x42e16e['unitId'],'textRanges':_0x42e16e[_0x9134b8(0x36b)],'actions':a[_0x9134b8(0x3e7)][_0x9134b8(0x2e5)](_0x442dc6[_0x9134b8(0x342)],_0x42e16e['actions'])}};},{})],_0x5ce79b=(_0x4e5dd9=(_0x59dad5=_0x1ebbec[_0x1e5ffe(0x2f8)]())==null?void 0x0:_0x59dad5['userID'])!=null?_0x4e5dd9:'unknown',_0x77933d=(_0x50907d=(_0x2366c1=_0x1ebbec[_0x1e5ffe(0x2f8)]())==null?void 0x0:_0x2366c1[_0x1e5ffe(0x2d0)])!=null?_0x50907d:'unknown';return{'changeset':{'unitID':_0x1788b5,'type':m['mapDocumentTypeToUniverType'](_0x10440c[_0x1e5ffe(0x3e8)](_0x1788b5)),'baseRev':_0x4d993f[_0x1e5ffe(0x177)](_0x1788b5),'revision':0x0,'userID':_0x5ce79b,'memberID':_0x77933d,'mutations':_0xb7eb6f},'pendingMutations':[]};}function Nt(_0x2d792c,_0x39b60a){var _0x10f385=_0x23fcf5;const _0x46f292=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x46f292['next'](_0x39b60a),_0x2d792c),_0x46f292['asObservable']()[_0x10f385(0x205)](H[_0x10f385(0x325)](0x1));}const yn={'id':J['EmptyMutation']['id'],'type':a[_0x23fcf5(0x459)]['MUTATION'],'params':{}};var Nn=Object[_0x23fcf5(0x14d)],Un=Object[_0x23fcf5(0x291)],le=(_0x365754,_0xeb2033,_0xc4e9c,_0x521fb9)=>{var _0x36b5a8=_0x23fcf5;for(var _0x53bf58=_0x521fb9>0x1?void 0x0:_0x521fb9?Un(_0xeb2033,_0xc4e9c):_0xeb2033,_0x2b277f=_0x365754[_0x36b5a8(0x358)]-0x1,_0x372bc2;_0x2b277f>=0x0;_0x2b277f--)(_0x372bc2=_0x365754[_0x2b277f])&&(_0x53bf58=(_0x521fb9?_0x372bc2(_0xeb2033,_0xc4e9c,_0x53bf58):_0x372bc2(_0x53bf58))||_0x53bf58);return _0x521fb9&&_0x53bf58&&Nn(_0xeb2033,_0xc4e9c,_0x53bf58),_0x53bf58;},A=(_0x505e07,_0x5f4682)=>(_0x345576,_0xaf5ac3)=>_0x5f4682(_0x345576,_0xaf5ac3,_0x505e07),We=(_0x52d8ad=>(_0x52d8ad[_0x23fcf5(0x319)]=_0x23fcf5(0x1de),_0x52d8ad[_0x23fcf5(0x1d7)]=_0x23fcf5(0x2ef),_0x52d8ad[_0x23fcf5(0x122)]=_0x23fcf5(0x1c7),_0x52d8ad[_0x23fcf5(0x203)]='awaiting',_0x52d8ad['AWAITING_WITH_PENDING']=_0x23fcf5(0x32a),_0x52d8ad[_0x23fcf5(0xf8)]=_0x23fcf5(0x218),_0x52d8ad['CONFLICT']=_0x23fcf5(0x25b),_0x52d8ad[_0x23fcf5(0x429)]=_0x23fcf5(0x456),_0x52d8ad))(We||{});const Ut=0xea60;class _e{constructor(_0x92ed02,_0x538410,_0xa2682e,_0x4ba514,_0x244286,_0x16781b,_0x41be0a,_0x1cc554,_0x4bd24f){var _0x12a38a=_0x23fcf5;D(this,_0x12a38a(0x13e),null),D(this,'_pendingMutations',[]),(this['unitID']=_0x92ed02,this['type']=_0x538410,this[_0x12a38a(0x3f0)]=_0x244286,this[_0x12a38a(0x343)]=_0x16781b,this[_0x12a38a(0x1c3)]=_0x41be0a,this[_0x12a38a(0xda)]=_0x1cc554,this[_0x12a38a(0x15d)]=_0x4bd24f,this['_awaitingChangeset']=_0xa2682e,this['_pendingMutations']=_0x4ba514);}[_0x23fcf5(0x249)](_0x561040){var _0xd33ec4=_0x23fcf5;const _0x386dc4=this[_0xd33ec4(0xda)][_0xd33ec4(0x177)](this[_0xd33ec4(0x134)]);return _0x561040[_0xd33ec4(0x28d)]>_0x386dc4+0x1?(this['_handler']['onMissingChangesets']({'from':_0x386dc4,'to':_0x561040[_0xd33ec4(0x28d)]-0x1}),!0x0):!0x1;}[_0x23fcf5(0x3ba)](_0x5c7816){var _0x2ad021=_0x23fcf5;this[_0x2ad021(0x1c3)][_0x2ad021(0x41b)](this[_0x2ad021(0x134)],_0x5c7816);}['_transformSelections'](_0x796d56){var _0x49b3e7=_0x23fcf5,_0x5b1eb1,_0x35641e;(_0x35641e=(_0x5b1eb1=this[_0x49b3e7(0x3f0)])['onTransformSelections'])==null||_0x35641e[_0x49b3e7(0x2d3)](_0x5b1eb1,_0x796d56);}['_transformIMECache'](_0x32fff5){var _0x575b00=_0x23fcf5,_0x53e13d,_0x42dce3;return(_0x42dce3=(_0x53e13d=this[_0x575b00(0x3f0)])[_0x575b00(0x2d6)])==null?void 0x0:_0x42dce3[_0x575b00(0x2d3)](_0x53e13d,_0x32fff5);}[_0x23fcf5(0x30c)](_0x1e38e9){var _0x5c3eaa=_0x23fcf5,_0x17f00a,_0x846291;return(_0x846291=(_0x17f00a=this[_0x5c3eaa(0x3f0)])['onTransformState'])==null?void 0x0:_0x846291[_0x5c3eaa(0x2d3)](_0x17f00a,_0x1e38e9);}[_0x23fcf5(0x404)](_0x364a1a){var _0x4160a8=_0x23fcf5,_0xc4fe38,_0x37df2e,_0x2fca55;return(_0x2fca55=(_0x37df2e=(_0xc4fe38=this[_0x4160a8(0x3f0)])[_0x4160a8(0x145)])==null?void 0x0:_0x37df2e[_0x4160a8(0x2d3)](_0xc4fe38,_0x364a1a))!=null?_0x2fca55:_0x364a1a;}[_0x23fcf5(0x29f)](_0x4bd590){var _0x38054c=_0x23fcf5,_0x554150,_0x4ca5d3,_0x3ace52;return(_0x3ace52=(_0x4ca5d3=(_0x554150=this[_0x38054c(0x3f0)])[_0x38054c(0x334)])==null?void 0x0:_0x4ca5d3[_0x38054c(0x2d3)](_0x554150,_0x4bd590))!=null?_0x3ace52:_0x4bd590;}[_0x23fcf5(0x1a3)](_0x53bdcf){var _0x4c540e=_0x23fcf5,_0x1d9d08,_0xfb901a;if(this['type']===Z['UNIVER_DOC']){const {unitID:_0x1dc894,mutations:_0x5ec614,memberID:_0x31fd41}=_0x53bdcf,_0x114eb0=_0x5ec614[0x0]['params'][_0x4c540e(0x36b)];Array[_0x4c540e(0x3ed)](_0x114eb0)&&_0x114eb0[_0x4c540e(0x358)]>0x0&&((_0xfb901a=(_0x1d9d08=this[_0x4c540e(0x3f0)])['onSyncEditingCollabCursor'])==null||_0xfb901a[_0x4c540e(0x2d3)](_0x1d9d08,{'unitID':_0x1dc894,'memberID':_0x31fd41,'textRanges':_0x114eb0}));}}[_0x23fcf5(0x175)](){var _0x9aa18c=_0x23fcf5,_0x5e06fe;(_0x5e06fe=this[_0x9aa18c(0x15d)])==null||_0x5e06fe[_0x9aa18c(0x3dc)](this[_0x9aa18c(0x134)],this['type'],this[_0x9aa18c(0x13e)],this['_pendingMutations']);}[_0x23fcf5(0x433)](){var _0x57561f=_0x23fcf5;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x57561f(0x134)]);}[_0x23fcf5(0x11e)](){var _0x579ef0=_0x23fcf5;this[_0x579ef0(0xda)][_0x579ef0(0x2d7)](this[_0x579ef0(0x134)]);}[_0x23fcf5(0x1fd)](_0x5eb3b0){var _0x2e045b=_0x23fcf5,_0x530840;let _0x54e686=this[_0x2e045b(0x404)](_0x5eb3b0);_0x54e686=this[_0x2e045b(0x29f)](_0x54e686);const _0x247e33=a[_0x2e045b(0xdb)](_0x54e686[_0x2e045b(0x33a)],this['_commandService'],{'fromCollab':!0x0});if(!_0x247e33[_0x2e045b(0x1b9)])throw _0x247e33[_0x2e045b(0x39b)]instanceof Error?_0x247e33[_0x2e045b(0x39b)]:new Error((_0x530840=_0x247e33[_0x2e045b(0x39b)])!=null?_0x530840:_0x2e045b(0x389));this[_0x2e045b(0x191)](_0x54e686),this['_transformStateCache'](_0x54e686),this['_transformUndoredo'](_0x5eb3b0),this[_0x2e045b(0x44e)](_0x54e686),this['_syncEditingCollabCursor'](_0x54e686),this[_0x2e045b(0x11e)]();}}exports[_0x23fcf5(0x285)]=class extends _e{constructor(_0x939e16,_0x1fc50e,_0x24a971,_0xc05faf,_0x94dfd4,_0x54d521,_0x1efab6,_0x368620,_0x55da05,_0x592c1e){var _0x5bb8a4=_0x23fcf5;super(_0x939e16,_0x1fc50e,null,[],_0x24a971,_0x1efab6,_0x54d521,_0xc05faf,_0x592c1e),D(this,_0x5bb8a4(0x2d2),_0x5bb8a4(0x2ef)),(this[_0x5bb8a4(0x305)]=_0x94dfd4,this[_0x5bb8a4(0x447)]=_0x368620,this[_0x5bb8a4(0x453)]=_0x55da05,this[_0x5bb8a4(0x360)]=_0x592c1e);}[_0x23fcf5(0x1ba)](_0x138086){var _0x323dc4=_0x23fcf5;const _0x12eee3=this['_injector'][_0x323dc4(0x41d)](exports['PendingState'],this[_0x323dc4(0x134)],this[_0x323dc4(0x21a)],[_0x138086],this[_0x323dc4(0x3f0)]);return _0x12eee3[_0x323dc4(0x2e3)](),_0x12eee3['_updateLocalCache'](),_0x12eee3;}[_0x23fcf5(0x1b2)](_0x1f8a4c){var _0x364a2d=_0x23fcf5;if(this[_0x364a2d(0x249)](_0x1f8a4c))return this[_0x364a2d(0x305)][_0x364a2d(0x41d)](exports['FetchingMissState'],this[_0x364a2d(0x134)],this[_0x364a2d(0x21a)],null,[],null,[_0x1f8a4c],this[_0x364a2d(0x3f0)]);try{const _0x45a6ed=this['_transformService'][_0x364a2d(0x2cb)](_0x1f8a4c,[yn]);if(m[_0x364a2d(0x207)](_0x45a6ed)){const {c1Prime:_0xb0542a}=_0x45a6ed;return this[_0x364a2d(0x1fd)](_0xb0542a),this;}throw _0x45a6ed[_0x364a2d(0x39b)];}catch(_0x5db16c){return this[_0x364a2d(0x447)][_0x364a2d(0x39b)](_0x5db16c),this[_0x364a2d(0x2e1)](!0x1);}}[_0x23fcf5(0x2e1)](_0x191213){var _0x3a5559=_0x23fcf5;return this[_0x3a5559(0x305)]['createInstance'](exports['ConflictState'],this[_0x3a5559(0x134)],this[_0x3a5559(0x21a)],null,[],this['_handler'],_0x191213);}['onRemoteAck'](){var _0x3aceaf=_0x23fcf5;throw new Error(_0x3aceaf(0x1cc));}['onRemoteRej'](){var _0x4768a3=_0x23fcf5;throw new Error(_0x4768a3(0xde));}[_0x23fcf5(0x42d)](){return this;}[_0x23fcf5(0x329)](){var _0x27bc06=_0x23fcf5;return this['_injector'][_0x27bc06(0x41d)](exports['OfflineState'],this[_0x27bc06(0x134)],this[_0x27bc06(0x21a)],null,[],this[_0x27bc06(0x3f0)]);}[_0x23fcf5(0x17b)](){return this;}['resend'](){var _0x191e69=_0x23fcf5;throw new Error(_0x191e69(0x313));}[_0x23fcf5(0x1a2)](){var _0x5d1fdd=_0x23fcf5;const _0x308eb3=this[_0x5d1fdd(0xda)][_0x5d1fdd(0x177)](this['unitID']);return this[_0x5d1fdd(0x3f0)][_0x5d1fdd(0x247)]({'from':_0x308eb3,'to':0x0}),this[_0x5d1fdd(0x305)]['createInstance'](exports[_0x5d1fdd(0x3af)],this[_0x5d1fdd(0x134)],this['type'],null,[],null,[],this['_handler']);}},exports[_0x23fcf5(0x285)]=le([A(0x3,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x303)])),A(0x4,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),A(0x5,a[_0x23fcf5(0x2b0)]),A(0x6,a[_0x23fcf5(0x229)]),A(0x7,a[_0x23fcf5(0x21d)]),A(0x8,m[_0x23fcf5(0x1e5)]),A(0x9,a['Optional'](z))],exports[_0x23fcf5(0x285)]),exports[_0x23fcf5(0x2dd)]=class extends _e{constructor(_0x27b687,_0x3bb03d,_0x1d86f1,_0x15dae1,_0x2065b2,_0x4a2906,_0x5b9375,_0x216040,_0x210a41,_0x43f0b9,_0x37f418,_0x10af53,_0x485618,_0x2df673){var _0x4f8803=_0x23fcf5;super(_0x27b687,_0x3bb03d,null,_0x1d86f1,_0x15dae1,_0x210a41,_0x485618,_0x4a2906,_0x2df673),D(this,'status',_0x4f8803(0x1c7)),D(this,_0x4f8803(0x33d),null),D(this,_0x4f8803(0x432),null),(this['_injector']=_0x2065b2,this[_0x4f8803(0x379)]=_0x5b9375,this[_0x4f8803(0x447)]=_0x216040,this['_configService']=_0x43f0b9,this['_transformService']=_0x37f418,this[_0x4f8803(0x3ce)]=_0x10af53);}[_0x23fcf5(0x1ba)](_0x267996){var _0x42ea80=_0x23fcf5;return this['_pendingMutations']['push'](_0x267996),this[_0x42ea80(0x175)](),this;}['onRemoteChangeset'](_0x84f774){var _0x58e3e2=_0x23fcf5;if(this[_0x58e3e2(0x249)](_0x84f774))return this[_0x58e3e2(0x3f8)](),this[_0x58e3e2(0x305)][_0x58e3e2(0x41d)](exports[_0x58e3e2(0x3af)],this[_0x58e3e2(0x134)],this[_0x58e3e2(0x21a)],null,this['_pendingMutations'],null,[_0x84f774],this[_0x58e3e2(0x3f0)]);try{const _0x52b54c=this[_0x58e3e2(0x453)]['transformMutationsWithChangeset'](_0x84f774,this[_0x58e3e2(0x144)]);if(m[_0x58e3e2(0x207)](_0x52b54c)){const {c1Prime:_0xa61363,m2Prime:_0x387b5b}=_0x52b54c;this[_0x58e3e2(0x1fd)](_0xa61363);const _0x3bebf3=this[_0x58e3e2(0x305)][_0x58e3e2(0x41d)](exports[_0x58e3e2(0x2dd)],this[_0x58e3e2(0x134)],this['type'],_0x387b5b,this[_0x58e3e2(0x3f0)]);this[_0x58e3e2(0x3f8)]();const _0x180a29=new Date()[_0x58e3e2(0x29e)](),_0x326eb9=this['_scheduleCompleteTimestamp']?Math[_0x58e3e2(0x382)](this[_0x58e3e2(0x33d)]-_0x180a29,0x0):this[_0x58e3e2(0x1a0)]();return _0x3bebf3[_0x58e3e2(0x2e3)](_0x326eb9),_0x3bebf3;}throw _0x52b54c['error'];}catch(_0x518bbd){return this[_0x58e3e2(0x447)][_0x58e3e2(0x39b)](_0x518bbd),this['_onConflict'](!0x1);}}[_0x23fcf5(0x3fe)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x23fcf5(0x314)](){var _0x249d05=_0x23fcf5;throw new Error(_0x249d05(0x201));}[_0x23fcf5(0x42d)](){return this;}[_0x23fcf5(0x329)](){var _0x320fc8=_0x23fcf5;return this[_0x320fc8(0x3f8)](),this[_0x320fc8(0x305)][_0x320fc8(0x41d)](exports[_0x320fc8(0x2a5)],this[_0x320fc8(0x134)],this[_0x320fc8(0x21a)],null,this[_0x320fc8(0x144)],this['_handler']);}[_0x23fcf5(0x17b)](){return this;}[_0x23fcf5(0x2e3)](_0x4ab0f6){var _0xba4e62=_0x23fcf5;const _0x852ceb=_0x4ab0f6!=null?_0x4ab0f6:this['_getSendChangesetTimeout']();this[_0xba4e62(0x33d)]=new Date()[_0xba4e62(0x29e)]()+_0x852ceb,this[_0xba4e62(0x432)]=setTimeout(()=>{var _0x3ae887=_0xba4e62;this[_0x3ae887(0x3f8)]();let _0x43500f=null;switch(this[_0x3ae887(0x21a)]){case Z[_0x3ae887(0x1b5)]:{_0x43500f=Je(this[_0x3ae887(0x144)],this['unitID'],this[_0x3ae887(0x3ce)],this[_0x3ae887(0xda)],this[_0x3ae887(0x379)]);break;}case Z[_0x3ae887(0x19a)]:{this[_0x3ae887(0x144)][_0x3ae887(0x107)](_0x1d377c=>_0x1d377c['id']===dt[_0x3ae887(0x1b1)]['id'])?_0x43500f=On(this['_pendingMutations'],this[_0x3ae887(0x134)],this[_0x3ae887(0x3ce)],this[_0x3ae887(0xda)],this['_memberService']):_0x43500f=Je(this[_0x3ae887(0x144)],this['unitID'],this[_0x3ae887(0x3ce)],this['_revisionService'],this[_0x3ae887(0x379)]);break;}default:throw new Error(_0x3ae887(0x233)+this[_0x3ae887(0x21a)]+'\x20in\x20_schedule.');}const {changeset:_0x38e520,pendingMutations:_0xfd2203}=_0x43500f;this[_0x3ae887(0x3f0)]['onSendChangeset'](_0x38e520);const _0x31af85=_0xfd2203[_0x3ae887(0x358)]?this[_0x3ae887(0x305)][_0x3ae887(0x41d)](exports['AwaitingWithPendingState'],this[_0x3ae887(0x134)],this[_0x3ae887(0x21a)],_0x38e520,_0xfd2203,this[_0x3ae887(0x3f0)],void 0x0):this['_injector']['createInstance'](exports[_0x3ae887(0x35e)],this[_0x3ae887(0x134)],this[_0x3ae887(0x21a)],_0x38e520,this[_0x3ae887(0x3f0)]);_0x31af85[_0x3ae887(0x175)](),this['_handler'][_0x3ae887(0x3b9)](this,_0x31af85);},_0x852ceb);}[_0x23fcf5(0x1a0)](){var _0x5624b6=_0x23fcf5,_0x33d244;const _0x5dad2e=this[_0x5624b6(0x194)][_0x5624b6(0x3d1)](Y);return(_0x33d244=_0x5dad2e==null?void 0x0:_0x5dad2e[_0x5624b6(0x13b)])!=null?_0x33d244:Bt;}[_0x23fcf5(0x299)](){var _0x1bc51f=_0x23fcf5;throw new Error(_0x1bc51f(0x193));}['_clearScheduledTask'](){var _0x110cdc=_0x23fcf5;this[_0x110cdc(0x432)]!=null&&(clearTimeout(this[_0x110cdc(0x432)]),this[_0x110cdc(0x432)]=null);}[_0x23fcf5(0x2e1)](_0x361175){var _0x3641ed=_0x23fcf5;return this['_clearScheduledTask'](),this['_injector'][_0x3641ed(0x41d)](exports[_0x3641ed(0x153)],this[_0x3641ed(0x134)],this['type'],null,this[_0x3641ed(0x144)],this[_0x3641ed(0x3f0)],_0x361175);}},exports[_0x23fcf5(0x2dd)]=le([A(0x4,a['Inject'](a[_0x23fcf5(0x368)])),A(0x5,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x303)])),A(0x6,a[_0x23fcf5(0x11a)](exports['MemberService'])),A(0x7,a[_0x23fcf5(0x21d)]),A(0x8,a[_0x23fcf5(0x229)]),A(0x9,a[_0x23fcf5(0x17e)]),A(0xa,m['ITransformService']),A(0xb,a[_0x23fcf5(0x133)]),A(0xc,a[_0x23fcf5(0x2b0)]),A(0xd,a[_0x23fcf5(0x1fe)](z))],exports['PendingState']),exports[_0x23fcf5(0x35e)]=class extends _e{constructor(_0x31fc63,_0x3dde31,_0x3bd426,_0x23a4ae,_0x415d22,_0x4f3da1,_0x259e98,_0x21c0bc,_0x3d2aee,_0x56cd0e,_0x12c6b0){var _0x2b7505=_0x23fcf5;super(_0x31fc63,_0x3dde31,_0x3bd426,[],_0x23a4ae,_0x259e98,_0x56cd0e,_0x4f3da1,_0x12c6b0),D(this,'status',_0x2b7505(0x252)),D(this,'_resendTimeout',0x0),D(this,_0x2b7505(0x377)),D(this,_0x2b7505(0x307)),(this[_0x2b7505(0x305)]=_0x415d22,this[_0x2b7505(0x447)]=_0x21c0bc,this[_0x2b7505(0x453)]=_0x3d2aee);}[_0x23fcf5(0x1ba)](_0x4780b7){var _0x5d9895=_0x23fcf5;this[_0x5d9895(0x3f8)]();const _0x30e650=this[_0x5d9895(0x305)][_0x5d9895(0x41d)](exports['AwaitingWithPendingState'],this[_0x5d9895(0x134)],this[_0x5d9895(0x21a)],this[_0x5d9895(0x13e)],[_0x4780b7],this[_0x5d9895(0x3f0)],this['_resendTimer']);return _0x30e650['_updateLocalCache'](),_0x30e650;}['onRemoteChangeset'](_0x12b94a){var _0x1ed142=_0x23fcf5;if(this[_0x1ed142(0x249)](_0x12b94a))return this[_0x1ed142(0x3f8)](),this[_0x1ed142(0x305)][_0x1ed142(0x41d)](exports[_0x1ed142(0x3af)],this[_0x1ed142(0x134)],this[_0x1ed142(0x21a)],this[_0x1ed142(0x13e)],[],null,[_0x12b94a],this[_0x1ed142(0x3f0)]);try{const _0x26b004=this[_0x1ed142(0x453)][_0x1ed142(0x2fd)]([_0x12b94a],[this[_0x1ed142(0x13e)]],!0x1);if(m[_0x1ed142(0x10f)](_0x26b004)){const {c1Prime:_0x391b00,c2Prime:_0x921c8b}=_0x26b004;this[_0x1ed142(0x1fd)](_0x391b00[0x0]),_0x921c8b[0x0]['baseRev']=this[_0x1ed142(0x433)](),this['_clearScheduledTask']();const _0x33f9c3=this[_0x1ed142(0x305)]['createInstance'](exports[_0x1ed142(0x35e)],this[_0x1ed142(0x134)],this[_0x1ed142(0x21a)],_0x921c8b[0x0],this[_0x1ed142(0x3f0)]);return _0x33f9c3['_updateLocalCache'](),_0x33f9c3;}return this[_0x1ed142(0x2e1)](!0x1);}catch(_0x38c06d){return this['_logService'][_0x1ed142(0x39b)](_0x38c06d),this[_0x1ed142(0x2e1)](!0x1);}}[_0x23fcf5(0x3fe)](_0x1186d9){var _0x3554f8=_0x23fcf5;this[_0x3554f8(0x3f8)]();const _0x324923=this[_0x3554f8(0xda)][_0x3554f8(0x177)](this[_0x3554f8(0x134)]);if(_0x1186d9[_0x3554f8(0x28d)]<_0x324923-0x1)return this;if(this[_0x3554f8(0x249)](_0x1186d9))return this[_0x3554f8(0x305)][_0x3554f8(0x41d)](exports['FetchingMissState'],this['unitID'],this[_0x3554f8(0x21a)],null,[],this[_0x3554f8(0x13e)],[],this['_handler']);this[_0x3554f8(0x11e)]();const _0x3f7847=this['_injector'][_0x3554f8(0x41d)](exports[_0x3554f8(0x285)],this['unitID'],this['type'],this['_handler']);return _0x3f7847[_0x3554f8(0x175)](),_0x3f7847;}[_0x23fcf5(0x314)](_0x2fcf23){var _0x483431=_0x23fcf5;return this[_0x483431(0x2e1)](!!(_0x2fcf23!=null&&_0x2fcf23['isPermissionRej']));}['onRemoteRetry'](_0x2c3295){var _0x2ec706=_0x23fcf5;return this['_resendTimeout']>Ut?this[_0x2ec706(0x329)]():(this[_0x2ec706(0x377)]=Nt(this[_0x2ec706(0x3ae)],{'timeout':this[_0x2ec706(0x3ae)],'reqId':_0x2c3295[_0x2ec706(0x14c)]}),this[_0x2ec706(0x307)]=this[_0x2ec706(0x377)]['subscribe'](({reqId:_0x3e58aa,timeout:_0x3780db})=>{var _0x4796bc=_0x2ec706;this[_0x4796bc(0x3b0)](_0x3e58aa,_0x3780db);}),this);}[_0x23fcf5(0x329)](){var _0x115d96=_0x23fcf5;return this[_0x115d96(0x3f8)](),this[_0x115d96(0x305)][_0x115d96(0x41d)](exports['OfflineState'],this[_0x115d96(0x134)],this[_0x115d96(0x21a)],this[_0x115d96(0x13e)],[],this['_handler']);}[_0x23fcf5(0x17b)](){return this;}[_0x23fcf5(0x299)](){var _0x25d721=_0x23fcf5;this['_handler'][_0x25d721(0x394)](this[_0x25d721(0x13e)]);}[_0x23fcf5(0x2e1)](_0x398f98){var _0x1c1b4b=_0x23fcf5;return this[_0x1c1b4b(0x3f8)](),this[_0x1c1b4b(0x305)][_0x1c1b4b(0x41d)](exports[_0x1c1b4b(0x153)],this[_0x1c1b4b(0x134)],this[_0x1c1b4b(0x21a)],this['_awaitingChangeset'],[],this[_0x1c1b4b(0x3f0)],_0x398f98);}[_0x23fcf5(0x3b0)](_0x5cbf5c,_0x3f54dc){var _0x25060c=_0x23fcf5,_0x51db54;_0x5cbf5c===((_0x51db54=this[_0x25060c(0x13e)])==null?void 0x0:_0x51db54[_0x25060c(0x14c)])&&(this[_0x25060c(0x299)](),this[_0x25060c(0x3ae)]=_0x3f54dc===0x0?0x3e8:_0x3f54dc*0x2);}[_0x23fcf5(0x3f8)](){var _0x503477=_0x23fcf5,_0x38524a;(_0x38524a=this[_0x503477(0x307)])==null||_0x38524a[_0x503477(0x2a9)](),this[_0x503477(0x3ae)]=0x0;}},exports['AwaitingState']=le([A(0x4,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),A(0x5,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x303)])),A(0x6,a['ICommandService']),A(0x7,a[_0x23fcf5(0x21d)]),A(0x8,m[_0x23fcf5(0x1e5)]),A(0x9,a[_0x23fcf5(0x2b0)]),A(0xa,a[_0x23fcf5(0x1fe)](z))],exports[_0x23fcf5(0x35e)]),exports[_0x23fcf5(0x105)]=class extends _e{constructor(_0x356ea6,_0xf2f97,_0x2b7a79,_0x203754,_0x52fe37,_0x5b85dc,_0x105939,_0x5a273c,_0x2e129e,_0x113215,_0x2082d2,_0x1e97ce,_0x17e006){var _0xb6d29b=_0x23fcf5;super(_0x356ea6,_0xf2f97,_0x2b7a79,_0x203754,_0x52fe37,_0x2e129e,_0x1e97ce,_0x5a273c,_0x17e006),D(this,_0xb6d29b(0x2d2),_0xb6d29b(0x32a)),D(this,_0xb6d29b(0x3ae),0x0),D(this,'_resendTimer'),D(this,_0xb6d29b(0x307)),(this[_0xb6d29b(0x305)]=_0x105939,this['_logService']=_0x113215,this[_0xb6d29b(0x453)]=_0x2082d2,this[_0xb6d29b(0x360)]=_0x17e006,_0x5b85dc&&(this[_0xb6d29b(0x377)]=_0x5b85dc,this['_sender']=this[_0xb6d29b(0x377)][_0xb6d29b(0x332)](({reqId:_0x13d65a,timeout:_0x4029bc})=>{var _0x5aa1e1=_0xb6d29b;this[_0x5aa1e1(0x3b0)](_0x13d65a,_0x4029bc);})));}[_0x23fcf5(0x1ba)](_0x26cf52){var _0x2e25a5=_0x23fcf5;return this[_0x2e25a5(0x144)][_0x2e25a5(0x228)](_0x26cf52),this;}[_0x23fcf5(0x1b2)](_0x27ac26){var _0x1d54bb=_0x23fcf5;if(this['_checkMissing'](_0x27ac26))return this[_0x1d54bb(0x3f8)](),this[_0x1d54bb(0x305)]['createInstance'](exports[_0x1d54bb(0x3af)],this[_0x1d54bb(0x134)],this[_0x1d54bb(0x21a)],this['_awaitingChangeset'],this[_0x1d54bb(0x144)],null,[_0x27ac26],this[_0x1d54bb(0x3f0)]);try{const _0x43f478=this[_0x1d54bb(0x453)][_0x1d54bb(0x2fd)]([_0x27ac26],[this[_0x1d54bb(0x13e)]],!0x1);if(m[_0x1d54bb(0x10f)](_0x43f478)){const {c1Prime:_0x3f6c90,c2Prime:_0xbd53c9}=_0x43f478,_0x5c730f=this[_0x1d54bb(0x453)][_0x1d54bb(0x2cb)](_0x3f6c90[0x0],this[_0x1d54bb(0x144)]);if(m[_0x1d54bb(0x207)](_0x5c730f)){const {c1Prime:_0x3b86d0,m2Prime:_0x3a108d}=_0x5c730f;return this[_0x1d54bb(0x1fd)](_0x3b86d0),_0xbd53c9[0x0][_0x1d54bb(0x1a9)]=this[_0x1d54bb(0x433)](),this[_0x1d54bb(0x3f8)](),this[_0x1d54bb(0x305)][_0x1d54bb(0x41d)](exports[_0x1d54bb(0x105)],this['unitID'],this[_0x1d54bb(0x21a)],_0xbd53c9[0x0],_0x3a108d,this[_0x1d54bb(0x3f0)],void 0x0);}throw _0x5c730f[_0x1d54bb(0x39b)];}throw _0x43f478['error'];}catch(_0x1ee1af){return this[_0x1d54bb(0x447)][_0x1d54bb(0x39b)](_0x1ee1af),this[_0x1d54bb(0x2e1)](!0x1);}}[_0x23fcf5(0x3fe)](_0x30aa03){var _0x39d91f=_0x23fcf5;if(this[_0x39d91f(0x3f8)](),this[_0x39d91f(0x249)](_0x30aa03))return this[_0x39d91f(0x305)][_0x39d91f(0x41d)](exports[_0x39d91f(0x3af)],this[_0x39d91f(0x134)],this[_0x39d91f(0x21a)],null,this[_0x39d91f(0x144)],this[_0x39d91f(0x13e)],[],this['_handler']);this[_0x39d91f(0x11e)]();const _0x40cdca=this['_injector']['createInstance'](exports[_0x39d91f(0x2dd)],this['unitID'],this[_0x39d91f(0x21a)],this[_0x39d91f(0x144)],this[_0x39d91f(0x3f0)]);return _0x40cdca[_0x39d91f(0x2e3)](),_0x40cdca[_0x39d91f(0x175)](),_0x40cdca;}['onRemoteRej'](_0x5c006d){var _0x3ff4b5=_0x23fcf5;return this[_0x3ff4b5(0x2e1)](!!(_0x5c006d!=null&&_0x5c006d[_0x3ff4b5(0x2de)]));}['onRemoteRetry'](_0xc3fad1){var _0x371a3f=_0x23fcf5;return this[_0x371a3f(0x3ae)]>Ut?this[_0x371a3f(0x329)]():(this[_0x371a3f(0x377)]=Nt(this[_0x371a3f(0x3ae)],{'timeout':this[_0x371a3f(0x3ae)],'reqId':_0xc3fad1[_0x371a3f(0x14c)]}),this['_sender']=this[_0x371a3f(0x377)][_0x371a3f(0x332)](({reqId:_0x4ef71a,timeout:_0x1db811})=>{var _0x33a32a=_0x371a3f;this[_0x33a32a(0x3b0)](_0x4ef71a,_0x1db811);}),this);}[_0x23fcf5(0x329)](){var _0x114565=_0x23fcf5;return this[_0x114565(0x3f8)](),this[_0x114565(0x305)]['createInstance'](exports['OfflineState'],this[_0x114565(0x134)],this[_0x114565(0x21a)],this[_0x114565(0x13e)],this['_pendingMutations'],this['_handler']);}[_0x23fcf5(0x17b)](){return this;}['resend'](){var _0x5a4dfb=_0x23fcf5;this[_0x5a4dfb(0x3f0)][_0x5a4dfb(0x394)](this[_0x5a4dfb(0x13e)]);}['_onConflict'](_0x2cdc38){var _0x3f1d9f=_0x23fcf5;return this[_0x3f1d9f(0x3f8)](),this[_0x3f1d9f(0x305)][_0x3f1d9f(0x41d)](exports['ConflictState'],this['unitID'],this['type'],null,this[_0x3f1d9f(0x144)],this[_0x3f1d9f(0x3f0)],_0x2cdc38);}[_0x23fcf5(0x3b0)](_0x1f9fac,_0xa8c15d){var _0x24616e=_0x23fcf5,_0x2c5c99;_0x1f9fac===((_0x2c5c99=this[_0x24616e(0x13e)])==null?void 0x0:_0x2c5c99[_0x24616e(0x14c)])&&(this[_0x24616e(0x299)](),this[_0x24616e(0x3ae)]=_0xa8c15d===0x0?0x3e8:_0xa8c15d*0x2);}['_clearScheduledTask'](){var _0xffe432=_0x23fcf5,_0x3061e5;(_0x3061e5=this[_0xffe432(0x307)])==null||_0x3061e5[_0xffe432(0x2a9)](),this[_0xffe432(0x3ae)]=0x0;}},exports[_0x23fcf5(0x105)]=le([A(0x6,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),A(0x7,a[_0x23fcf5(0x11a)](m['RevisionService'])),A(0x8,a[_0x23fcf5(0x229)]),A(0x9,a['ILogService']),A(0xa,m[_0x23fcf5(0x1e5)]),A(0xb,a[_0x23fcf5(0x2b0)]),A(0xc,a[_0x23fcf5(0x1fe)](z))],exports['AwaitingWithPendingState']),exports['ConflictState']=class extends _e{constructor(_0x316b2d,_0xe16e03,_0xda73e2,_0x415dfc,_0x3d2837,_0x30a12a=!0x1,_0x5e0acb,_0x63fa2c,_0x2c2eb3,_0x4060f6,_0x55d0e3,_0x5c244e,_0xa018c8){var _0x52bf3e=_0x23fcf5;super(_0x316b2d,_0xe16e03,_0xda73e2,_0x415dfc,_0x3d2837,_0x63fa2c,_0x2c2eb3,_0x4060f6,_0xa018c8),D(this,_0x52bf3e(0x2d2),_0x52bf3e(0x25b)),(this[_0x52bf3e(0x361)]=_0x30a12a,this[_0x52bf3e(0x450)]=_0x5e0acb,this[_0x52bf3e(0x3b2)]=_0x55d0e3,this['_collaborationUIEventService']=_0x5c244e,this['localCacheService']=_0xa018c8,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x52bf3e(0xdf)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x23fcf5(0x3fe)](){return this;}[_0x23fcf5(0x314)](){return this;}[_0x23fcf5(0x42d)](){return this;}[_0x23fcf5(0x329)](){return this;}['toggleOnline'](){return this;}[_0x23fcf5(0x299)](){var _0x2f5ea6=_0x23fcf5;throw new Error(_0x2f5ea6(0x3c6));}['_clearLocalCache'](){var _0x362da0=_0x23fcf5,_0x4d9ccd;(_0x4d9ccd=this[_0x362da0(0x15d)])==null||_0x4d9ccd[_0x362da0(0x3dc)](this[_0x362da0(0x134)],this[_0x362da0(0x21a)],null,[]);}[_0x23fcf5(0xe2)](){var _0x8c2a7c=_0x23fcf5;this[_0x8c2a7c(0x361)]?this[_0x8c2a7c(0x359)]['emitEvent']({'id':Q[_0x8c2a7c(0x371)]}):this[_0x8c2a7c(0x359)][_0x8c2a7c(0x427)]({'id':Q[_0x8c2a7c(0x41f)]});}[_0x23fcf5(0xdf)](){var _0x205d27=_0x23fcf5;this[_0x205d27(0x450)]['updatePermissionPoint'](new J['WorkbookEditablePermission'](this[_0x205d27(0x134)])['id'],!0x1);}},exports[_0x23fcf5(0x153)]=le([A(0x6,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x28b)])),A(0x7,a['ICommandService']),A(0x8,a['IUndoRedoService']),A(0x9,a['Inject'](m[_0x23fcf5(0x303)])),A(0xa,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x41e)])),A(0xb,a['Inject'](te)),A(0xc,a[_0x23fcf5(0x1fe)](z))],exports[_0x23fcf5(0x153)]),exports['OfflineState']=class extends _e{constructor(_0x5e4f79,_0x5cf9ea,_0x1b25e7,_0x154698,_0x3d506d,_0x4794db,_0x2832bc,_0x206f2d,_0x173d5e,_0x3b2d35){var _0x327e2c=_0x23fcf5;super(_0x5e4f79,_0x5cf9ea,_0x1b25e7,_0x154698,_0x3d506d,_0x206f2d,_0x173d5e,_0x2832bc,_0x3b2d35),D(this,'status',_0x327e2c(0x456)),this[_0x327e2c(0x305)]=_0x4794db;}['appendMutation'](_0x22371d){var _0x511068=_0x23fcf5;return this[_0x511068(0x144)][_0x511068(0x228)](_0x22371d),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x21b819){var _0x314eb4=_0x23fcf5;throw new Error(_0x314eb4(0x3ab));}[_0x23fcf5(0x3fe)](){var _0x5ac14c=_0x23fcf5;throw new Error(_0x5ac14c(0x19b));}[_0x23fcf5(0x314)](){var _0x114a47=_0x23fcf5;throw new Error(_0x114a47(0x2f5));}[_0x23fcf5(0x42d)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x153db7=_0x23fcf5;const {_injector:_0x249965,_pendingMutations:_0xa9bf75,_awaitingChangeset:_0x204fb7,unitID:_0x556842,_handler:_0x5251f5,type:_0x31d676}=this,_0x441f9c=Pt(_0x249965,_0x556842,_0x31d676,_0x204fb7,_0xa9bf75,_0x5251f5);return _0x441f9c instanceof exports[_0x153db7(0x2dd)]?_0x441f9c[_0x153db7(0x2e3)]():(_0x441f9c instanceof exports[_0x153db7(0x105)]||_0x441f9c instanceof exports[_0x153db7(0x35e)])&&_0x441f9c[_0x153db7(0x299)](),_0x441f9c;}[_0x23fcf5(0x299)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x23fcf5(0x2a5)]=le([A(0x5,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),A(0x6,a[_0x23fcf5(0x11a)](m['RevisionService'])),A(0x7,a['ICommandService']),A(0x8,a['IUndoRedoService']),A(0x9,a[_0x23fcf5(0x1fe)](z))],exports['OfflineState']),exports[_0x23fcf5(0x3af)]=class extends _e{constructor(_0x5a3c37,_0x45ef16,_0x317604,_0x23bc70,_0xd888fa,_0xc7157a,_0x269b85,_0x450285,_0x23dc03,_0x342261,_0x107800,_0x5cac70,_0x2aa544,_0x7b181a){var _0x4849cc=_0x23fcf5;super(_0x5a3c37,_0x45ef16,_0x317604,_0x23bc70,_0x269b85,_0x107800,_0x5cac70,_0x23dc03,_0x7b181a),D(this,_0x4849cc(0x2d2),_0x4849cc(0x218)),(this[_0x4849cc(0x441)]=_0xd888fa,this[_0x4849cc(0x154)]=_0xc7157a,this[_0x4849cc(0x305)]=_0x450285,this[_0x4849cc(0x447)]=_0x342261,this[_0x4849cc(0x453)]=_0x2aa544,this['localCacheService']=_0x7b181a);}[_0x23fcf5(0x22b)](_0x5a0c00){var _0xff6573=_0x23fcf5;try{const _0x3c9b9f=[..._0x5a0c00,...this[_0xff6573(0x154)]],_0xdd1bce=[this['_awaitingChangeset']||this[_0xff6573(0x441)]]['filter'](_0x506c70=>!!_0x506c70);let _0x43e84c,_0x211b4c;if(_0xdd1bce[_0xff6573(0x358)]){const _0x14a55f=this['_transformService'][_0xff6573(0x2fd)](_0x3c9b9f,_0xdd1bce,!0x1);if(!m['isTransformChangesetsSuccess'](_0x14a55f))throw _0x14a55f['error'];_0x43e84c=_0x14a55f[_0xff6573(0x217)],_0x211b4c=_0x14a55f[_0xff6573(0x2db)];}else _0x43e84c=_0x3c9b9f,_0x211b4c=[];let _0x26feb1=this[_0xff6573(0x144)];_0x43e84c[_0xff6573(0x28e)](_0x380db0=>{var _0x311b1f=_0xff6573;let _0x35faa6;if(_0x26feb1['length']){const _0x214137=this[_0x311b1f(0x453)]['transformMutationsWithChangeset'](_0x380db0,_0x26feb1);if(!m[_0x311b1f(0x207)](_0x214137))throw _0x214137[_0x311b1f(0x39b)];_0x35faa6=_0x214137[_0x311b1f(0x217)],_0x26feb1=_0x214137[_0x311b1f(0x22c)];}else _0x35faa6=_0x380db0;this[_0x311b1f(0x1fd)](_0x35faa6);}),this[_0xff6573(0x441)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x211b4c[_0xff6573(0x358)]&&(_0x211b4c[0x0][_0xff6573(0x1a9)]=this[_0xff6573(0x433)]());let _0x334cb4;if(this[_0xff6573(0x13e)]&&_0x26feb1[_0xff6573(0x358)]!==0x0)_0x334cb4=this['_injector'][_0xff6573(0x41d)](exports['AwaitingWithPendingState'],this[_0xff6573(0x134)],this['type'],_0x211b4c[0x0],_0x26feb1,this[_0xff6573(0x3f0)],void 0x0);else{if(this[_0xff6573(0x13e)]&&_0x26feb1['length']===0x0)_0x211b4c[0x0]['baseRev']=this[_0xff6573(0x433)](),_0x334cb4=this[_0xff6573(0x305)][_0xff6573(0x41d)](exports[_0xff6573(0x35e)],this['unitID'],this[_0xff6573(0x21a)],_0x211b4c[0x0],this[_0xff6573(0x3f0)]);else{if(_0x26feb1[_0xff6573(0x358)]!==0x0){const _0x23a05e=this[_0xff6573(0x305)][_0xff6573(0x41d)](exports[_0xff6573(0x2dd)],this[_0xff6573(0x134)],this[_0xff6573(0x21a)],_0x26feb1,this['_handler']);_0x23a05e[_0xff6573(0x2e3)](),_0x334cb4=_0x23a05e;}else _0x334cb4=this[_0xff6573(0x305)][_0xff6573(0x41d)](exports[_0xff6573(0x285)],this[_0xff6573(0x134)],this[_0xff6573(0x21a)],this[_0xff6573(0x3f0)]);}}return _0x334cb4[_0xff6573(0x175)](),_0x334cb4;}catch(_0x35e258){return this[_0xff6573(0x447)]['error'](_0xff6573(0xf2),_0xff6573(0x2ee),_0x35e258),this[_0xff6573(0x305)][_0xff6573(0x41d)](exports[_0xff6573(0x153)],this[_0xff6573(0x134)],this[_0xff6573(0x21a)],this[_0xff6573(0x13e)],this[_0xff6573(0x144)],this[_0xff6573(0x3f0)],!0x1);}}[_0x23fcf5(0x299)](){var _0x506603=_0x23fcf5;throw new Error(_0x506603(0x40d));}['appendMutation'](_0x57bda1){var _0x213338=_0x23fcf5;return this[_0x213338(0x144)]['push'](_0x57bda1),this;}[_0x23fcf5(0x1b2)](_0x361277){var _0x32befd=_0x23fcf5;return this[_0x32befd(0x154)][_0x32befd(0x228)](_0x361277),this;}[_0x23fcf5(0x3fe)](_0x184c63){var _0xb608c=_0x23fcf5;if(this['_awaitingChangeset'])return this[_0xb608c(0x441)]=this[_0xb608c(0x13e)],this[_0xb608c(0x13e)]=null,this;throw new Error(_0xb608c(0x136));}[_0x23fcf5(0x314)](_0x203701){return this['_onConflict'](!!(_0x203701!=null&&_0x203701['isPermissionRej']));}[_0x23fcf5(0x42d)](){return this;}[_0x23fcf5(0x329)](){var _0x1d7a9a=_0x23fcf5;return this['_injector'][_0x1d7a9a(0x41d)](exports[_0x1d7a9a(0x2a5)],this[_0x1d7a9a(0x134)],this[_0x1d7a9a(0x21a)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1d7a9a(0x3f0)]);}['toggleOnline'](){return this;}['_onConflict'](_0x596fe3){var _0x3c29e7=_0x23fcf5;return this['_injector'][_0x3c29e7(0x41d)](exports[_0x3c29e7(0x153)],this['unitID'],this[_0x3c29e7(0x21a)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],_0x596fe3);}},exports['FetchingMissState']=le([A(0x7,a[_0x23fcf5(0x11a)](a['Injector'])),A(0x8,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x303)])),A(0x9,a[_0x23fcf5(0x21d)]),A(0xa,a['ICommandService']),A(0xb,a[_0x23fcf5(0x2b0)]),A(0xc,m['ITransformService']),A(0xd,a[_0x23fcf5(0x1fe)](z))],exports['FetchingMissState']);function Pt(_0x2caa34,_0x198689,_0x2b2e80,_0x73f0c0,_0x9ad564,_0x3b289a){var _0x4eafa5=_0x23fcf5;return _0x73f0c0&&_0x9ad564[_0x4eafa5(0x358)]?_0x2caa34[_0x4eafa5(0x41d)](exports[_0x4eafa5(0x105)],_0x198689,_0x2b2e80,_0x73f0c0,_0x9ad564,_0x3b289a,void 0x0):_0x73f0c0?_0x2caa34[_0x4eafa5(0x41d)](exports[_0x4eafa5(0x35e)],_0x198689,_0x2b2e80,_0x73f0c0,_0x3b289a):_0x9ad564[_0x4eafa5(0x358)]?_0x2caa34[_0x4eafa5(0x41d)](exports['PendingState'],_0x198689,_0x2b2e80,_0x9ad564,_0x3b289a):_0x2caa34[_0x4eafa5(0x41d)](exports['SyncedState'],_0x198689,_0x2b2e80,_0x3b289a);}var Pn=Object[_0x23fcf5(0x14d)],Dn=Object['getOwnPropertyDescriptor'],Ge=(_0xd4f24a,_0x1fe390,_0xd3d39c,_0x369d66)=>{var _0x392623=_0x23fcf5;for(var _0x2a96c9=_0x369d66>0x1?void 0x0:_0x369d66?Dn(_0x1fe390,_0xd3d39c):_0x1fe390,_0x5529ab=_0xd4f24a[_0x392623(0x358)]-0x1,_0x513cbc;_0x5529ab>=0x0;_0x5529ab--)(_0x513cbc=_0xd4f24a[_0x5529ab])&&(_0x2a96c9=(_0x369d66?_0x513cbc(_0x1fe390,_0xd3d39c,_0x2a96c9):_0x513cbc(_0x2a96c9))||_0x2a96c9);return _0x369d66&&_0x2a96c9&&Pn(_0x1fe390,_0xd3d39c,_0x2a96c9),_0x2a96c9;},k=(_0x13312e,_0x2ec911)=>(_0x1660c8,_0x302d19)=>_0x2ec911(_0x1660c8,_0x302d19,_0x13312e);exports[_0x23fcf5(0xfc)]=class extends a[_0x23fcf5(0x1b3)]{constructor(_0x4e0f37,_0x201330,_0x2747b6,_0x2f05bf,_0x24db6c,_0x242904,_0x4bd6a3,_0xaa46d7,_0x3dd271,_0x33675e,_0x24ee3a,_0x1f56b9,_0xd59cbf){var _0x1b742d=_0x23fcf5;super(),D(this,_0x1b742d(0x407),new H[(_0x1b742d(0x413))](null)),D(this,_0x1b742d(0x25d),this[_0x1b742d(0x407)]['asObservable']()),D(this,_0x1b742d(0x2d5)),D(this,'_collaborationPaused',!0x1),D(this,_0x1b742d(0x39c),''),D(this,_0x1b742d(0x44b),0x0),D(this,_0x1b742d(0x3a4),this[_0x1b742d(0x25d)][_0x1b742d(0x205)](H[_0x1b742d(0x1da)](_0x46e4c2=>_0x46e4c2?_0x46e4c2[_0x1b742d(0x2d2)]:We[_0x1b742d(0x429)]),H[_0x1b742d(0x37a)](0x1))),D(this,_0x1b742d(0x189),!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x1b742d(0x134)]=_0x4e0f37,this[_0x1b742d(0x2c5)]=_0x201330,this['_type']=_0x2747b6,this[_0x1b742d(0x305)]=_0x2f05bf,this[_0x1b742d(0x2ea)]=_0x24db6c,this[_0x1b742d(0x3b2)]=_0x242904,this[_0x1b742d(0xda)]=_0x4bd6a3,this['_eventService']=_0xaa46d7,this[_0x1b742d(0x447)]=_0x3dd271,this['_commandService']=_0x33675e,this[_0x1b742d(0x450)]=_0x24ee3a,this[_0x1b742d(0x32e)]=_0x1f56b9,this['_localCacheService']=_0xd59cbf);}get[_0x23fcf5(0x10b)](){var _0x250abd=_0x23fcf5;return this[_0x250abd(0x2d5)];}async['init'](){var _0x1aadce=_0x23fcf5;if(this[_0x1aadce(0x10b)])throw new Error(_0x1aadce(0xe3));await this[_0x1aadce(0x296)]();}[_0x23fcf5(0x2ae)](){var _0x4c831a=_0x23fcf5;return this[_0x4c831a(0x3d0)]=!0x0,a[_0x4c831a(0x219)](()=>{var _0x152939=_0x4c831a;this[_0x152939(0x3d0)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x23fcf5(0x3c5)](_0x49b400){this['_onLocalMutation'](_0x49b400);}[_0x23fcf5(0xf9)](_0x3addc6){var _0x4340aa=_0x23fcf5;this[_0x4340aa(0x2d5)]=_0x3addc6,this['_state$'][_0x4340aa(0x275)](_0x3addc6);}async[_0x23fcf5(0x296)](){var _0x19b428=_0x23fcf5,_0x4eeebb;this['_updateState'](await this[_0x19b428(0x364)]()),this['_singleActiveUnitService']&&((_0x4eeebb=this[_0x19b428(0x32e)])==null||_0x4eeebb['editingUnit'](this[_0x19b428(0x134)]),this[_0x19b428(0x31b)](this['_singleActiveUnitService'][_0x19b428(0x2f3)](this[_0x19b428(0x134)])[_0x19b428(0x332)](_0x45ad59=>{var _0x279598=_0x19b428;this[_0x279598(0x447)][_0x279598(0x44f)]('[CollaborationEntity]',_0x279598(0x425),_0x45ad59),_0x45ad59===Fe['OTHER_CLIENTS_EDITING']?(this[_0x279598(0x40e)][_0x279598(0x427)]({'id':Q['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x279598(0x3dd)](new J['WorkbookEditablePermission'](this[_0x279598(0x134)])['id'],!0x1),this[_0x279598(0x450)][_0x279598(0x3ea)](!0x1)):(this[_0x279598(0x450)][_0x279598(0x3dd)](new J[(_0x279598(0x3ee))](this[_0x279598(0x134)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x5ae82a=!0x1;return this[_0x19b428(0x31b)](this[_0x19b428(0x2c5)]['sessionStatus$']['subscribe'](_0x450f06=>{var _0x505915=_0x19b428;_0x450f06===se[_0x505915(0x1dd)]?this[_0x505915(0x435)](_0x5ae82a):_0x450f06===se[_0x505915(0x429)]&&(_0x5ae82a=!0x0,this[_0x505915(0x321)]());})),this[_0x19b428(0x31b)](this[_0x19b428(0x2c5)]['event$'][_0x19b428(0x332)](_0x3577b3=>{var _0x4f34ac=_0x19b428;try{switch(_0x3577b3['eventID']){case m['CollaborationEvent'][_0x4f34ac(0x2cc)]:{this['_onRemoteChangeset'](m[_0x4f34ac(0x1ae)](_0x3577b3[_0x4f34ac(0x406)]));break;}case m[_0x4f34ac(0x2b5)][_0x4f34ac(0x3d5)]:{this[_0x4f34ac(0x146)](_0x3577b3['data']);break;}case m['CollaborationEvent'][_0x4f34ac(0x353)]:{this[_0x4f34ac(0x2c6)]();break;}case m[_0x4f34ac(0x2b5)]['CHANGESET_SHOULD_RETRY']:{this[_0x4f34ac(0x15b)](_0x3577b3[_0x4f34ac(0x406)]);break;}case m['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x4f34ac(0x130)](_0x3577b3['data']['changesets'][_0x4f34ac(0x1da)](_0x54d8b0=>m[_0x4f34ac(0x1ae)](_0x54d8b0)));break;}case m[_0x4f34ac(0x2b5)][_0x4f34ac(0x158)]:{this[_0x4f34ac(0x2c6)]({'isPermissionRej':!0x0});break;}case m[_0x4f34ac(0x2b5)][_0x4f34ac(0x356)]:break;}}catch(_0x25921c){throw console['error'](_0x4f34ac(0x34e),_0x25921c),_0x25921c;}})),this[_0x19b428(0x2d5)];}[_0x23fcf5(0x1c9)](){var _0x24dec5=_0x23fcf5;this[_0x24dec5(0x189)]=!0x1;}[_0x23fcf5(0x176)](){var _0x13bcc5=_0x23fcf5;if(this[_0x13bcc5(0x189)])throw new Error(_0x13bcc5(0xed));this[_0x13bcc5(0x189)]=!0x0;}['_onLocalMutation'](_0x238e52){var _0x5366db=_0x23fcf5;this['_lockTransition'](),this[_0x5366db(0xf9)](this[_0x5366db(0x2d5)][_0x5366db(0x1ba)](_0x238e52)),this[_0x5366db(0x1c9)]();}[_0x23fcf5(0x1d5)](_0x4a7f82){var _0x3322f6=_0x23fcf5;if(!(_0x4a7f82[_0x3322f6(0x28d)]<=this[_0x3322f6(0xda)][_0x3322f6(0x177)](this[_0x3322f6(0x134)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x3322f6(0x228)](_0x4a7f82);return;}this[_0x3322f6(0x3cb)](_0x4a7f82);}}[_0x23fcf5(0x26c)](){var _0x2546d7=_0x23fcf5;this[_0x2546d7(0x16c)]['forEach'](_0x598b79=>this[_0x2546d7(0x3cb)](_0x598b79)),this[_0x2546d7(0x16c)]=[];}['_applyRemoteChangeset'](_0x5b655e){var _0x443796=_0x23fcf5;const _0x4eefc4=this[_0x443796(0x2ea)][_0x443796(0x3c8)][_0x443796(0x149)](this[_0x443796(0x2ea)][_0x443796(0x3c8)][_0x443796(0x1d9)]()[_0x443796(0x397)])(_0x5b655e[_0x443796(0x33a)],null)||_0x5b655e[_0x443796(0x33a)],_0x106dd7={..._0x5b655e,'mutations':_0x4eefc4};this[_0x443796(0x176)](),this['_updateState'](this[_0x443796(0x2d5)][_0x443796(0x1b2)](_0x106dd7)),this[_0x443796(0x1c9)]();}[_0x23fcf5(0x146)](_0x4290be){var _0x22ec18=_0x23fcf5;this[_0x22ec18(0x176)](),this[_0x22ec18(0xf9)](this[_0x22ec18(0x2d5)]['onRemoteAck'](_0x4290be)),this[_0x22ec18(0x1c9)]();}[_0x23fcf5(0x2c6)](_0x33a129){var _0x50d22e=_0x23fcf5;this['_lockTransition'](),this[_0x50d22e(0xf9)](this[_0x50d22e(0x2d5)][_0x50d22e(0x314)](_0x33a129)),this[_0x50d22e(0x1c9)]();}['_onRemoteRetry'](_0x2e041c){var _0x31a8c5=_0x23fcf5;this[_0x31a8c5(0x176)](),this[_0x31a8c5(0xf9)](this['_state'][_0x31a8c5(0x42d)](_0x2e041c)),this[_0x31a8c5(0x1c9)]();}[_0x23fcf5(0x130)](_0x47b862){var _0x19b411=_0x23fcf5;if(!(this['_state']instanceof exports[_0x19b411(0x3af)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x10de34=_0x47b862[_0x19b411(0x1da)](_0x249caf=>{var _0x5c7405=_0x19b411;const _0x4c14b5=this[_0x5c7405(0x2ea)][_0x5c7405(0x3c8)]['fetchThroughInterceptors'](this[_0x5c7405(0x2ea)]['interceptor'][_0x5c7405(0x1d9)]()['COMPRESS_MUTATION_APPLY'])(_0x249caf['mutations'],null)||_0x249caf[_0x5c7405(0x33a)];return{..._0x249caf,'mutations':_0x4c14b5};});this[_0x19b411(0x176)](),this['_updateState'](this[_0x19b411(0x2d5)][_0x19b411(0x22b)](_0x10de34)),this['_unlockTransition']();}[_0x23fcf5(0x321)](){var _0x382750=_0x23fcf5;this[_0x382750(0x176)](),this[_0x382750(0xf9)](this['_state'][_0x382750(0x329)]()),this[_0x382750(0x1c9)]();}[_0x23fcf5(0x435)](_0x5a65dc=!0x1){var _0x3b501f=_0x23fcf5;this[_0x3b501f(0x176)](),this[_0x3b501f(0xf9)](this[_0x3b501f(0x2d5)]['toggleOnline']()),this['_unlockTransition']();const _0x37ab52=this[_0x3b501f(0x2d5)];_0x5a65dc&&_0x37ab52 instanceof exports[_0x3b501f(0x285)]&&(this[_0x3b501f(0x176)](),this[_0x3b501f(0xf9)](_0x37ab52[_0x3b501f(0x1a2)]()),this[_0x3b501f(0x1c9)]());}async[_0x23fcf5(0x364)](){return new Promise(_0x52cdbf=>{var _0x28a721=_0x4d81;this[_0x28a721(0x2c5)][_0x28a721(0x164)][_0x28a721(0x205)](H[_0x28a721(0x325)](0x1))[_0x28a721(0x332)](async _0x323a8d=>{var _0x264fa2=_0x28a721;_0x52cdbf(await this[_0x264fa2(0x43d)](_0x323a8d===se[_0x264fa2(0x1dd)]));});});}[_0x23fcf5(0x437)](){const _0x81c21b=this['unitID'];return{'onStateChange':(_0xd94f27,_0x3e0803)=>{var _0x5a0b7a=_0x4d81;if(_0xd94f27!==this[_0x5a0b7a(0x2d5)])throw new Error(_0x5a0b7a(0x308)+_0xd94f27[_0x5a0b7a(0x2d2)]+_0x5a0b7a(0x2ce)+_0x3e0803[_0x5a0b7a(0x2d2)]+_0x5a0b7a(0x30f)+this['_state']['status']);this[_0x5a0b7a(0xf9)](_0x3e0803);},'onSendChangeset':_0x49bf15=>{var _0x82a7a1=_0x4d81;_0x49bf15[_0x82a7a1(0x26e)]||(_0x49bf15[_0x82a7a1(0x26e)]=this[_0x82a7a1(0x39c)],_0x49bf15[_0x82a7a1(0x14c)]=++this[_0x82a7a1(0x44b)]);const _0x161710={'eventID':m[_0x82a7a1(0x2b5)][_0x82a7a1(0x1c1)],'data':{'unitID':_0x49bf15[_0x82a7a1(0x134)],'unitType':this[_0x82a7a1(0x1c2)],'changeset':_0x49bf15,'memberID':this[_0x82a7a1(0x2c5)]['getMemberID']()}};this[_0x82a7a1(0x2c5)][_0x82a7a1(0x2b3)](_0x161710,this['unitID']);},'onMissingChangesets':({from:_0x1990fb,to:_0x8815b0})=>{var _0x4fa232=_0x4d81;this[_0x4fa232(0x447)][_0x4fa232(0x44f)](_0x4fa232(0x198),_0x4fa232(0xe6)+_0x1990fb+_0x4fa232(0x125)+_0x8815b0);const _0x2d6e85={'eventID':m[_0x4fa232(0x2b5)][_0x4fa232(0x2a7)],'data':{'unitID':_0x81c21b,'unitType':this[_0x4fa232(0x1c2)],'from':_0x1990fb,'to':_0x8815b0}};this[_0x4fa232(0x2c5)]['send'](_0x2d6e85,this['unitID']);}};}async['_createInitialStateImpl'](_0x5a55b9){var _0x4d623e=_0x23fcf5,_0x1fbec8,_0x22bb00,_0x2afd10;const _0x472b99=await((_0x1fbec8=this['_localCacheService'])==null?void 0x0:_0x1fbec8[_0x4d623e(0x34b)](this[_0x4d623e(0x134)])),_0x214f87=(_0x22bb00=_0x472b99==null?void 0x0:_0x472b99[_0x4d623e(0x33a)])!=null?_0x22bb00:[],_0x405102=(_0x2afd10=_0x472b99==null?void 0x0:_0x472b99[_0x4d623e(0x35f)])!=null?_0x2afd10:null,_0x162583=!!(_0x405102!=null&&_0x405102[_0x4d623e(0x26e)])&&!!(_0x405102!=null&&_0x405102['reqId']);this[_0x4d623e(0x39c)]=_0x162583?_0x405102[_0x4d623e(0x26e)]:gn(),this['_changesetReqId']=_0x162583?_0x405102[_0x4d623e(0x14c)]:0x0;const _0x463df7=this[_0x4d623e(0x134)];try{this[_0x4d623e(0x287)](_0x405102,_0x214f87);}catch(_0x4074bc){this[_0x4d623e(0x447)][_0x4d623e(0x39b)](_0x4074bc);}const _0x2af454=this[_0x4d623e(0x437)]();if(_0x5a55b9){const _0x3feca9=Pt(this[_0x4d623e(0x305)],_0x463df7,this[_0x4d623e(0x1c2)],_0x405102,_0x214f87,_0x2af454);return _0x3feca9 instanceof exports['PendingState']?_0x3feca9['_schedule']():(_0x3feca9 instanceof exports[_0x4d623e(0x105)]||_0x3feca9 instanceof exports[_0x4d623e(0x35e)])&&_0x3feca9['resend'](),_0x3feca9;}return this[_0x4d623e(0x305)][_0x4d623e(0x41d)](exports[_0x4d623e(0x2a5)],_0x463df7,this[_0x4d623e(0x1c2)],_0x405102,_0x214f87,_0x2af454);}['_replayCachedMutations'](_0x805e7c,_0x5b3a47){var _0x45e0e6=_0x23fcf5,_0x317319,_0x132e6d;const _0x375f41=this[_0x45e0e6(0x2ea)][_0x45e0e6(0x3c8)][_0x45e0e6(0x149)](this[_0x45e0e6(0x2ea)][_0x45e0e6(0x3c8)][_0x45e0e6(0x1d9)]()['COMPRESS_MUTATION_APPLY']);(_0x317319=_0x375f41((_0x805e7c==null?void 0x0:_0x805e7c[_0x45e0e6(0x33a)])||[],null))==null||_0x317319['forEach'](_0x3b6a5e=>this[_0x45e0e6(0x343)][_0x45e0e6(0x44a)](_0x3b6a5e['id'],_0x3b6a5e['params'])),(_0x132e6d=_0x375f41(_0x5b3a47||[],null))==null||_0x132e6d[_0x45e0e6(0x28e)](_0x21f847=>this[_0x45e0e6(0x343)]['executeCommand'](_0x21f847['id'],_0x21f847[_0x45e0e6(0x1fa)]));}},exports[_0x23fcf5(0xfc)]=Ge([k(0x3,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),k(0x4,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x338)])),k(0x5,a['Inject'](a[_0x23fcf5(0x41e)])),k(0x6,a['Inject'](m[_0x23fcf5(0x303)])),k(0x7,a[_0x23fcf5(0x11a)](te)),k(0x8,a['ILogService']),k(0x9,a['ICommandService']),k(0xa,a[_0x23fcf5(0x28b)]),k(0xb,a[_0x23fcf5(0x1fe)](ve)),k(0xc,a[_0x23fcf5(0x1fe)](z))],exports[_0x23fcf5(0xfc)]),exports[_0x23fcf5(0x2ba)]=class extends exports[_0x23fcf5(0xfc)]{constructor(_0x1a6e00,_0x54f4da,_0x10dc9e,_0x3e69c2,_0x2cc5ac,_0xe686a7,_0x5cf44b,_0xe5910d,_0x538dfb,_0x3208c4,_0x259b98,_0x5fcff9,_0x47c89d){var _0x497812=_0x23fcf5;super(_0x1a6e00,_0x10dc9e,_0x54f4da,_0x3e69c2,_0x2cc5ac,_0xe686a7,_0x5cf44b,_0xe5910d,_0x538dfb,_0x3208c4,_0x259b98,_0x5fcff9,_0x47c89d),D(this,_0x497812(0x350),null),(this['unitID']=_0x1a6e00,this[_0x497812(0x21a)]=_0x54f4da);}[_0x23fcf5(0x139)](_0x452d19){var _0x38bf08=_0x23fcf5;this[_0x38bf08(0x350)]=_0x452d19;}[_0x23fcf5(0x27d)](){var _0x2e81da=_0x23fcf5;this[_0x2e81da(0x350)]=null,super['dispose']();}[_0x23fcf5(0x437)](){var _0x569c59=_0x23fcf5;const _0x1b32e8=super[_0x569c59(0x437)]();return _0x1b32e8[_0x569c59(0x2d6)]=_0x4a8f2a=>{var _0x42a6a4=_0x569c59,_0x25e193,_0x198e1d;return(_0x198e1d=(_0x25e193=this[_0x42a6a4(0x350)])==null?void 0x0:_0x25e193['onTransformIME'])==null?void 0x0:_0x198e1d['call'](_0x25e193,_0x4a8f2a);},_0x1b32e8[_0x569c59(0x24e)]=_0x1f6f74=>{var _0x2b056e=_0x569c59,_0x1df20a,_0x5f5cbf;return(_0x5f5cbf=(_0x1df20a=this[_0x2b056e(0x350)])==null?void 0x0:_0x1df20a['onTransformState'])==null?void 0x0:_0x5f5cbf[_0x2b056e(0x2d3)](_0x1df20a,_0x1f6f74);},_0x1b32e8[_0x569c59(0x14f)]=_0x35f34e=>{var _0x26943f=_0x569c59,_0x215104,_0xef25c7;return(_0xef25c7=(_0x215104=this[_0x26943f(0x350)])==null?void 0x0:_0x215104[_0x26943f(0x14f)])==null?void 0x0:_0xef25c7[_0x26943f(0x2d3)](_0x215104,_0x35f34e);},_0x1b32e8['onSyncEditingCollabCursor']=_0x2cbe22=>{var _0x4b779c=_0x569c59,_0x56de27,_0x9dbdd3;return(_0x9dbdd3=(_0x56de27=this[_0x4b779c(0x350)])==null?void 0x0:_0x56de27['onSyncEditingCollabCursor'])==null?void 0x0:_0x9dbdd3[_0x4b779c(0x2d3)](_0x56de27,_0x2cbe22);},_0x1b32e8[_0x569c59(0x145)]=_0x12eb91=>{var _0x30d737=_0x569c59,_0xe653a3,_0x564f0b,_0x40dc40;if(!((_0xe653a3=this[_0x30d737(0x350)])!=null&&_0xe653a3[_0x30d737(0x145)]))throw new Error(_0x30d737(0x2f4));return(_0x40dc40=(_0x564f0b=this[_0x30d737(0x350)])==null?void 0x0:_0x564f0b[_0x30d737(0x145)])==null?void 0x0:_0x40dc40[_0x30d737(0x2d3)](_0x564f0b,_0x12eb91);},_0x1b32e8[_0x569c59(0x334)]=_0x9a5040=>{var _0x45b522=_0x569c59,_0x42975a,_0x288fe2,_0x4e1dad;if(!((_0x42975a=this[_0x45b522(0x350)])!=null&&_0x42975a[_0x45b522(0x334)]))throw new Error(_0x45b522(0x1e3));return(_0x4e1dad=(_0x288fe2=this[_0x45b522(0x350)])==null?void 0x0:_0x288fe2[_0x45b522(0x334)])==null?void 0x0:_0x4e1dad[_0x45b522(0x2d3)](_0x288fe2,_0x9a5040);},_0x1b32e8;}async[_0x23fcf5(0x296)](){var _0x39f1e9=_0x23fcf5;const _0x3dfe2b=await super[_0x39f1e9(0x296)]();return this[_0x39f1e9(0x31b)](this[_0x39f1e9(0x343)][_0x39f1e9(0x14b)]((_0x6adec1,_0x35da7a)=>{var _0x449cf2=_0x39f1e9;if(_0x6adec1[_0x449cf2(0x21a)]!==a[_0x449cf2(0x459)][_0x449cf2(0x442)]||_0x35da7a!=null&&_0x35da7a[_0x449cf2(0x143)]||_0x35da7a!=null&&_0x35da7a[_0x449cf2(0x315)]||_0x6adec1['id']===dt[_0x449cf2(0x1b1)]['id'])return;const _0x167438=_0x6adec1[_0x449cf2(0x1fa)];if((_0x167438==null?void 0x0:_0x167438[_0x449cf2(0x44d)])!==this['unitID'])return;const _0x1d165e=_0x6adec1,_0x152f1f=this[_0x449cf2(0x2ea)][_0x449cf2(0x3c8)][_0x449cf2(0x149)](this['_compressMutationService'][_0x449cf2(0x3c8)][_0x449cf2(0x1d9)]()[_0x449cf2(0x3aa)])([_0x1d165e],null)||[_0x1d165e];this[_0x449cf2(0x3b4)](_0x152f1f[0x0]);})),_0x3dfe2b;}},exports[_0x23fcf5(0x2ba)]=Ge([k(0x3,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),k(0x4,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x338)])),k(0x5,a['Inject'](a[_0x23fcf5(0x41e)])),k(0x6,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x303)])),k(0x7,a[_0x23fcf5(0x11a)](te)),k(0x8,a['ILogService']),k(0x9,a[_0x23fcf5(0x229)]),k(0xa,a[_0x23fcf5(0x28b)]),k(0xb,a[_0x23fcf5(0x1fe)](ve)),k(0xc,a[_0x23fcf5(0x1fe)](z))],exports[_0x23fcf5(0x2ba)]),exports['SheetCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x5c5e79,_0x21fe83,_0x26af3c,_0x387245,_0x59271f,_0x18e7d6,_0x856afa,_0x564314,_0x5344ca,_0x434e32,_0x108f0a,_0xe3df94,_0x90021d,_0x575fd4){var _0x4a6023=_0x23fcf5;super(_0x5c5e79,_0x26af3c,_0x21fe83,_0x387245,_0x59271f,_0x18e7d6,_0x856afa,_0x5344ca,_0x434e32,_0x108f0a,_0xe3df94,_0x90021d,_0x575fd4),this[_0x4a6023(0x134)]=_0x5c5e79,this[_0x4a6023(0x21a)]=_0x21fe83,this['_sheetTransformSelectionsService']=_0x564314;}[_0x23fcf5(0x437)](){var _0x51eb64=_0x23fcf5;const _0x5af2f1=super[_0x51eb64(0x437)]();return _0x5af2f1[_0x51eb64(0x14f)]=_0x1d89e8=>this[_0x51eb64(0x3a0)][_0x51eb64(0x254)](_0x1d89e8),_0x5af2f1;}async[_0x23fcf5(0x296)](){var _0x53fd0d=_0x23fcf5;const _0x2fe092=await super['_init']();return this[_0x53fd0d(0x31b)](this['_commandService'][_0x53fd0d(0x14b)]((_0x9dfd57,_0x16425b)=>{var _0x3fbf13=_0x53fd0d;if(_0x9dfd57[_0x3fbf13(0x21a)]!==a[_0x3fbf13(0x459)][_0x3fbf13(0x442)]||_0x16425b!=null&&_0x16425b[_0x3fbf13(0x143)]||_0x16425b!=null&&_0x16425b[_0x3fbf13(0x315)])return;const _0x3042c9=_0x9dfd57[_0x3fbf13(0x1fa)];if((_0x3042c9==null?void 0x0:_0x3042c9['unitId'])!==this[_0x3fbf13(0x134)])return;const _0x20de3b=_0x9dfd57,_0x3d0a84=this[_0x3fbf13(0x2ea)][_0x3fbf13(0x3c8)][_0x3fbf13(0x149)](this[_0x3fbf13(0x2ea)]['interceptor'][_0x3fbf13(0x1d9)]()['COMPRESS_MUTATION_SEND'])([_0x20de3b],null)||[_0x20de3b];this[_0x3fbf13(0x3b4)](_0x3d0a84[0x0]);})),_0x2fe092;}},exports['SheetCollaborationEntity']=Ge([k(0x3,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),k(0x4,a['Inject'](m['CompressMutationService'])),k(0x5,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x41e)])),k(0x6,a[_0x23fcf5(0x11a)](m['RevisionService'])),k(0x7,a['Inject'](exports[_0x23fcf5(0x30b)])),k(0x8,a[_0x23fcf5(0x11a)](te)),k(0x9,a['ILogService']),k(0xa,a[_0x23fcf5(0x229)]),k(0xb,a[_0x23fcf5(0x28b)]),k(0xc,a[_0x23fcf5(0x1fe)](ve)),k(0xd,a['Optional'](z))],exports['SheetCollaborationEntity']);var wn=Object[_0x23fcf5(0x14d)],An=Object[_0x23fcf5(0x291)],Ln=(_0x584e57,_0xf5c520,_0x1ddf4b,_0x5e7453)=>{var _0x1b59c1=_0x23fcf5;for(var _0x2f6813=_0x5e7453>0x1?void 0x0:_0x5e7453?An(_0xf5c520,_0x1ddf4b):_0xf5c520,_0x3fb852=_0x584e57[_0x1b59c1(0x358)]-0x1,_0x4f82a0;_0x3fb852>=0x0;_0x3fb852--)(_0x4f82a0=_0x584e57[_0x3fb852])&&(_0x2f6813=(_0x5e7453?_0x4f82a0(_0xf5c520,_0x1ddf4b,_0x2f6813):_0x4f82a0(_0x2f6813))||_0x2f6813);return _0x5e7453&&_0x2f6813&&wn(_0xf5c520,_0x1ddf4b,_0x2f6813),_0x2f6813;},we=(_0x6941b0,_0x4dabae)=>(_0x24af8b,_0x58dfdd)=>_0x4dabae(_0x24af8b,_0x58dfdd,_0x6941b0);exports[_0x23fcf5(0x1d8)]=class extends a[_0x23fcf5(0x1b3)]{constructor(_0x25f10f,_0x177f6d,_0xb62560){var _0x6b9732=_0x23fcf5;super(),D(this,_0x6b9732(0x41a),new Map()),D(this,_0x6b9732(0x3e1),new H[(_0x6b9732(0x227))]()),D(this,_0x6b9732(0x3c4),this[_0x6b9732(0x3e1)][_0x6b9732(0x1cf)]()),(this[_0x6b9732(0x305)]=_0x25f10f,this['_collabSessionService']=_0x177f6d,this['_univerInstanceService']=_0xb62560,this['_init']());}[_0x23fcf5(0x27d)](){var _0x186fd5=_0x23fcf5;super['dispose'](),this[_0x186fd5(0x41a)][_0x186fd5(0x28e)](_0x310533=>_0x310533[_0x186fd5(0x27d)]()),this[_0x186fd5(0x41a)]['clear']();}[_0x23fcf5(0x374)](_0xb2876b){var _0x53fcfc=_0x23fcf5,_0x5649aa;return(_0x5649aa=this[_0x53fcfc(0x41a)][_0x53fcfc(0x11c)](_0xb2876b))!=null?_0x5649aa:null;}['getCollabEntity$'](_0x2e530a){var _0x37f17d=_0x23fcf5;const _0x4cb27b=this[_0x37f17d(0x374)](_0x2e530a);return _0x4cb27b?H['of'](_0x4cb27b):this[_0x37f17d(0x3e1)]['pipe'](W[_0x37f17d(0x23c)](_0x57de88=>_0x57de88[_0x37f17d(0x134)]===_0x2e530a));}[_0x23fcf5(0x18b)](_0x3c0aef){var _0x1240ad=_0x23fcf5;return H['firstValueFrom'](this[_0x1240ad(0x15f)](_0x3c0aef)[_0x1240ad(0x205)](W['map'](()=>{})));}['_init'](){var _0x39aaa7=_0x23fcf5;this[_0x39aaa7(0x3ce)][_0x39aaa7(0x399)](a[_0x39aaa7(0x387)][_0x39aaa7(0x1b5)])[_0x39aaa7(0x205)](H[_0x39aaa7(0x32d)](this[_0x39aaa7(0x160)]),W[_0x39aaa7(0x1a4)](0x10))[_0x39aaa7(0x332)](async _0x2ba0a2=>{var _0x2c878e=_0x39aaa7;const _0x5e825f=_0x2ba0a2[_0x2c878e(0x408)](),_0x14c073=await this['_startCollaboration'](_0x5e825f,Z[_0x2c878e(0x1b5)]);this['_entities'][_0x2c878e(0x2ec)](_0x5e825f,_0x14c073);}),this['_univerInstanceService'][_0x39aaa7(0x399)](a['UniverInstanceType'][_0x39aaa7(0x19a)])['pipe'](H[_0x39aaa7(0x32d)](this[_0x39aaa7(0x160)]),W[_0x39aaa7(0x1a4)](0x10))[_0x39aaa7(0x205)](W['filter'](_0x377b58=>!_0x377b58['getUnitId']()[_0x39aaa7(0xee)]('__')))['subscribe'](async _0x106967=>{var _0xeb100a=_0x39aaa7;const _0x3053fd=_0x106967[_0xeb100a(0x408)](),_0x144e89=await this[_0xeb100a(0x2fe)](_0x3053fd,Z[_0xeb100a(0x19a)]);this[_0xeb100a(0x41a)][_0xeb100a(0x2ec)](_0x3053fd,_0x144e89);}),H[_0x39aaa7(0x326)](this['_univerInstanceService'][_0x39aaa7(0x1ee)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x39aaa7(0x3ce)][_0x39aaa7(0x1ee)](a[_0x39aaa7(0x387)][_0x39aaa7(0x19a)]))[_0x39aaa7(0x205)](H[_0x39aaa7(0x32d)](this[_0x39aaa7(0x160)]))['subscribe'](_0xd1e44f=>{var _0x54da6d=_0x39aaa7;const _0x3e78cf=_0xd1e44f[_0x54da6d(0x408)](),_0x24529e=this[_0x54da6d(0x41a)][_0x54da6d(0x11c)](_0x3e78cf);_0x24529e&&(_0x24529e[_0x54da6d(0x27d)](),this[_0x54da6d(0x41a)][_0x54da6d(0x2bb)](_0x3e78cf));});}async[_0x23fcf5(0x2fe)](_0x30223d,_0x38b90b){var _0x4cd52a=_0x23fcf5;const _0x10a2af=await this['_collabSessionService']['requireSession'](_0x30223d),_0x5f2b1d=this[_0x4cd52a(0x305)][_0x4cd52a(0x41d)](this[_0x4cd52a(0x12a)](_0x38b90b),_0x30223d,_0x38b90b,_0x10a2af);return await _0x5f2b1d[_0x4cd52a(0x281)](),this[_0x4cd52a(0x3e1)]['next'](_0x5f2b1d),_0x5f2b1d;}[_0x23fcf5(0x12a)](_0x5d8586){var _0x10b42a=_0x23fcf5;switch(_0x5d8586){case Z[_0x10b42a(0x19a)]:return exports[_0x10b42a(0x2ba)];case Z['UNIVER_SHEET']:return exports[_0x10b42a(0x208)];default:throw new Error(_0x10b42a(0x100)+_0x5d8586);}}},exports[_0x23fcf5(0x1d8)]=Ln([we(0x0,a['Inject'](a[_0x23fcf5(0x368)])),we(0x1,a[_0x23fcf5(0x11a)](exports[_0x23fcf5(0x3a9)])),we(0x2,a[_0x23fcf5(0x133)])],exports[_0x23fcf5(0x1d8)]);var Mn=Object[_0x23fcf5(0x14d)],xn=Object[_0x23fcf5(0x291)],jn=(_0x5944be,_0x56b78d,_0x4c112e,_0x3f098a)=>{var _0xe40369=_0x23fcf5;for(var _0x465fbb=_0x3f098a>0x1?void 0x0:_0x3f098a?xn(_0x56b78d,_0x4c112e):_0x56b78d,_0x5aaca1=_0x5944be[_0xe40369(0x358)]-0x1,_0x1bacdb;_0x5aaca1>=0x0;_0x5aaca1--)(_0x1bacdb=_0x5944be[_0x5aaca1])&&(_0x465fbb=(_0x3f098a?_0x1bacdb(_0x56b78d,_0x4c112e,_0x465fbb):_0x1bacdb(_0x465fbb))||_0x465fbb);return _0x3f098a&&_0x465fbb&&Mn(_0x56b78d,_0x4c112e,_0x465fbb),_0x465fbb;},Xe=(_0x367af9,_0x3aa40c)=>(_0x4e84c6,_0x172fea)=>_0x3aa40c(_0x4e84c6,_0x172fea,_0x367af9);const $n=_0x23fcf5(0xea),Hn='Univer';let $e=class extends a['Disposable']{constructor(_0x1993e5,_0xc50e39){var _0x1cec3d=_0x23fcf5;super(),this[_0x1cec3d(0x3ce)]=_0x1993e5,this[_0x1cec3d(0x194)]=_0xc50e39,this[_0x1cec3d(0x296)]();}[_0x23fcf5(0x296)](){var _0x325c8c=_0x23fcf5;this[_0x325c8c(0x31b)](this[_0x325c8c(0x3ce)][_0x325c8c(0xf5)][_0x325c8c(0x332)](()=>{var _0x58306d=_0x325c8c,_0xef16b2;const _0x535b83=this[_0x58306d(0x3ce)][_0x58306d(0x192)]();let _0x440838=(_0xef16b2=this[_0x58306d(0x194)][_0x58306d(0x3d1)]($n))!=null?_0xef16b2:Hn;_0x535b83 instanceof a[_0x58306d(0x18f)]&&(_0x440838=_0x535b83[_0x58306d(0xe4)]),document[_0x58306d(0x129)]=_0x440838;}));}};$e=jn([Xe(0x0,a[_0x23fcf5(0x133)]),Xe(0x1,a[_0x23fcf5(0x17e)])],$e);var kn=Object[_0x23fcf5(0x14d)],Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x1b4e51,_0x32ec1b,_0x34826e,_0x44ff73)=>{var _0x36a349=_0x23fcf5;for(var _0x399917=_0x44ff73>0x1?void 0x0:_0x44ff73?Bn(_0x32ec1b,_0x34826e):_0x32ec1b,_0x56aee7=_0x1b4e51[_0x36a349(0x358)]-0x1,_0x3fbde8;_0x56aee7>=0x0;_0x56aee7--)(_0x3fbde8=_0x1b4e51[_0x56aee7])&&(_0x399917=(_0x44ff73?_0x3fbde8(_0x32ec1b,_0x34826e,_0x399917):_0x3fbde8(_0x399917))||_0x399917);return _0x44ff73&&_0x399917&&kn(_0x32ec1b,_0x34826e,_0x399917),_0x399917;},Ae=(_0x3b1ec4,_0x3088e7)=>(_0x5902f1,_0x415f71)=>_0x3088e7(_0x5902f1,_0x415f71,_0x3b1ec4);let ye=class{constructor(_0x43e9e0,_0x3336fe,_0x450239){var _0x537e4a=_0x23fcf5;this[_0x537e4a(0x194)]=_0x43e9e0,this[_0x537e4a(0x418)]=_0x3336fe,this[_0x537e4a(0x118)]=_0x450239,this['init']();}[_0x23fcf5(0x281)](){var _0x149140=_0x23fcf5;this[_0x149140(0x418)][_0x149140(0x12e)]({'priority':0x1,'interceptor':(_0xafa5dd,_0xcdec2d)=>_0xcdec2d(_0xafa5dd)['pipe'](H['concatMap'](async _0x2df36f=>{var _0x2cb252=_0x149140;const _0x5beb25=_0x2df36f;if(_0x5beb25['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x2cb252(0xf0)](this[_0x2cb252(0x118)]['t']('auth.needGotoLoginAlert'))){const _0x4fc09b=window[_0x2cb252(0x454)](window[_0x2cb252(0x188)]['href']);window['location'][_0x2cb252(0x458)]=this[_0x2cb252(0x119)]()+_0x2cb252(0x375)+_0x4fc09b;}}return _0x5beb25;}))});}['_getLoginPath'](){var _0x270ee5=_0x23fcf5,_0x1b54ca,_0x39bcba;const _0x54e918=this[_0x270ee5(0x194)]['getConfig'](Ct),_0x4583ff=this[_0x270ee5(0x194)][_0x270ee5(0x3d1)](Y);return(_0x39bcba=(_0x1b54ca=_0x4583ff==null?void 0x0:_0x4583ff[_0x270ee5(0x2da)])!=null?_0x1b54ca:_0x54e918)!=null?_0x39bcba:zt;}};ye=Fn([Ae(0x0,a['IConfigService']),Ae(0x1,a[_0x23fcf5(0x11a)](q[_0x23fcf5(0x3f3)])),Ae(0x2,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x41e)]))],ye);var Wn=Object[_0x23fcf5(0x14d)],Gn=Object[_0x23fcf5(0x291)],Vn=(_0x2f2b13,_0x36e683,_0x5c9a67,_0x1df3f6)=>{var _0x5e1802=_0x23fcf5;for(var _0x2f0fd5=_0x1df3f6>0x1?void 0x0:_0x1df3f6?Gn(_0x36e683,_0x5c9a67):_0x36e683,_0x1f1367=_0x2f2b13[_0x5e1802(0x358)]-0x1,_0x292f9b;_0x1f1367>=0x0;_0x1f1367--)(_0x292f9b=_0x2f2b13[_0x1f1367])&&(_0x2f0fd5=(_0x1df3f6?_0x292f9b(_0x36e683,_0x5c9a67,_0x2f0fd5):_0x292f9b(_0x2f0fd5))||_0x2f0fd5);return _0x1df3f6&&_0x2f0fd5&&Wn(_0x36e683,_0x5c9a67,_0x2f0fd5),_0x2f0fd5;},Ze=(_0x1d346e,_0x364420)=>(_0x1aad44,_0x4d14c1)=>_0x364420(_0x1aad44,_0x4d14c1,_0x1d346e);const Ve=_0x23fcf5(0x35c),Kn='/universer-api/authz';exports[_0x23fcf5(0x225)]=class extends a[_0x23fcf5(0x367)]{constructor(_0x59caf7,_0x4c678a){var _0x18f6a3=_0x23fcf5;super(),this[_0x18f6a3(0x18a)]=_0x59caf7,this['_configService']=_0x4c678a,this[_0x18f6a3(0x304)]();}[_0x23fcf5(0x304)](){var _0x4a91a6=_0x23fcf5;const _0x302139=this;this[_0x4a91a6(0x31b)](this[_0x4a91a6(0x18a)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x4a91a6(0x42f)]({'isMatch'(_0x508058){var _0x4e8d4a=_0x4a91a6,_0x207a6f;if(_0x508058[_0x4e8d4a(0x32b)]===_0x4e8d4a(0x264)&&((_0x207a6f=_0x508058[_0x4e8d4a(0x2b7)])!=null&&_0x207a6f[_0x4e8d4a(0x3b1)])){const {objectID:_0x47e177,objectType:_0x38c7ee}=_0x508058[_0x4e8d4a(0x2b7)]['body']||{};if(!_0x47e177||_0x38c7ee===void 0x0)return!0x1;const _0x12d9ca=_0x302139['_getAPIPrefixPath']()+'/'+_0x38c7ee+_0x4e8d4a(0x222)+_0x47e177+'/allowed';if(_0x508058[_0x4e8d4a(0x187)]===_0x12d9ca)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1d0162){var _0x44f081=_0x4a91a6,_0x2ae3f1;return(_0x2ae3f1=_0x1d0162[_0x44f081(0x2b7)])==null?void 0x0:_0x2ae3f1[_0x44f081(0x3b1)];},'mergeParamsToRequest'(_0x515fa4,_0x47a7d1){var _0x1bfb09=_0x4a91a6;const _0x4118f0=_0x302139[_0x1bfb09(0x2f6)]()+'/-/object/-/batch_allowed',_0x146e71=_0x515fa4[_0x1bfb09(0x230)]((_0x4f8be5,_0x3e7e8e)=>{var _0x591d39=_0x1bfb09;const {unitID:_0x23175a,objectID:_0x3ab287,objectType:_0x23e44b,actions:_0x52431e}=_0x3e7e8e;return _0x4f8be5[_0x23175a]||(_0x4f8be5[_0x23175a]={}),_0x4f8be5[_0x23175a][_0x3ab287]||(_0x4f8be5[_0x23175a][_0x3ab287]={'objectID':_0x3ab287,'objectType':_0x23e44b,'actions':[]}),_0x4f8be5[_0x23175a][_0x3ab287][_0x591d39(0x342)][_0x591d39(0x228)](..._0x52431e),_0x4f8be5;},{}),_0x2caebf=[];for(const _0x3b8cbb in _0x146e71)for(const _0x1d9782 in _0x146e71[_0x3b8cbb]){const {actions:_0x55948b,objectType:_0x2e3300}=_0x146e71[_0x3b8cbb][_0x1d9782],_0xfc6e57=[...new Set(_0x55948b)];_0x2caebf[_0x1bfb09(0x228)]({'unitID':_0x3b8cbb,'objectID':_0x1d9782,'objectType':_0x2e3300,'actions':_0xfc6e57});}return new q[(_0x1bfb09(0x390))](_0x1bfb09(0x264),_0x4118f0,{'headers':_0x47a7d1['headers'],'withCredentials':_0x47a7d1[_0x1bfb09(0x16b)],'responseType':_0x47a7d1['responseType'],'body':{'requests':_0x2caebf}});}},{'distributeResult'(_0x4c6054,_0x30da04){const {objectActions:_0x46b26b}=_0x4c6054;return _0x30da04['map'](_0x5bb317=>{var _0xf0af14=_0x4d81;const {unitID:_0x4bdc8c,objectID:_0x328812,actions:_0x355ac1}=_0x5bb317,_0x1608c2=_0x46b26b[_0xf0af14(0x202)](_0x57e614=>_0x57e614[_0xf0af14(0x134)]===_0x4bdc8c&&_0x57e614[_0xf0af14(0x1eb)]===_0x328812),_0x905da7=_0x355ac1['map'](_0x43f04e=>_0x1608c2==null?void 0x0:_0x1608c2['actions']['find'](_0x2e322b=>_0x2e322b[_0xf0af14(0x26d)]===_0x43f04e))[_0xf0af14(0x23c)](_0x367a75=>!!_0x367a75);return{'config':_0x5bb317,'result':{'actions':_0x905da7,'error':_0x4c6054[_0xf0af14(0x39b)]}};});}})}));}[_0x23fcf5(0x2f6)](){var _0x3c5104=_0x23fcf5,_0x57e669,_0x198f7c;const _0x4dcd3d=this[_0x3c5104(0x194)][_0x3c5104(0x3d1)](Ve),_0x143803=this[_0x3c5104(0x194)][_0x3c5104(0x3d1)](Y);return(_0x198f7c=(_0x57e669=_0x143803==null?void 0x0:_0x143803[_0x3c5104(0x112)])!=null?_0x57e669:_0x4dcd3d)!=null?_0x198f7c:Kn;}async[_0x23fcf5(0x138)](_0x39650d){var _0x126424=_0x23fcf5;const _0x2fca1b=this[_0x126424(0x2f6)]()+'/'+_0x39650d[_0x126424(0x1df)]+_0x126424(0x403);return(await this['_HTTPService'][_0x126424(0x28a)](_0x2fca1b,{'body':_0x39650d}))['body']['objectID']||'';}async['list'](_0x18c61e){var _0x2d7d30=_0x23fcf5;const _0xaf8b3b=this[_0x2d7d30(0x2f6)]()+_0x2d7d30(0x140);return(await this[_0x2d7d30(0x18a)][_0x2d7d30(0x28a)](_0xaf8b3b,{'body':_0x18c61e}))[_0x2d7d30(0x3b1)][_0x2d7d30(0x3a6)];}async['update'](_0x34f1d3){var _0x327527=_0x23fcf5;const _0x4a53de=this[_0x327527(0x2f6)]()+'/'+_0x34f1d3[_0x327527(0x1df)]+_0x327527(0x222)+_0x34f1d3[_0x327527(0x1eb)];await this['_HTTPService'][_0x327527(0x2e6)](_0x4a53de,{'body':_0x34f1d3});}async[_0x23fcf5(0x1d4)](_0x29cca4){var _0x54e3be=_0x23fcf5;const _0x27f413=this[_0x54e3be(0x2f6)]()+'/'+_0x29cca4[_0x54e3be(0x1df)]+'/object/'+_0x29cca4[_0x54e3be(0x1eb)]+_0x54e3be(0x1c6);return(await this[_0x54e3be(0x18a)][_0x54e3be(0x28a)](_0x27f413,{'body':_0x29cca4}))[_0x54e3be(0x3b1)][_0x54e3be(0x342)];}async[_0x23fcf5(0x3b8)](_0x1578ff){var _0x45a4dc=_0x23fcf5;const _0xba7294=this[_0x45a4dc(0x2f6)]()+_0x45a4dc(0x34c);return(await this[_0x45a4dc(0x18a)][_0x45a4dc(0x28a)](_0xba7294,{'body':{'requests':_0x1578ff}}))['body'][_0x45a4dc(0x1f3)];}async[_0x23fcf5(0x20d)](_0x3a1933){var _0x4ff88c=_0x23fcf5;const _0x41ad7e=this[_0x4ff88c(0x2f6)]()+'/'+_0x3a1933[_0x4ff88c(0x1df)]+'/role',_0x2b1856=await this[_0x4ff88c(0x18a)]['post'](_0x41ad7e,{'body':_0x3a1933});return{'roles':_0x2b1856['body'][_0x4ff88c(0x167)],'actions':_0x2b1856[_0x4ff88c(0x3b1)]['actions']};}async[_0x23fcf5(0x30e)](_0x5c14b3){var _0x1d1d3b=_0x23fcf5;const _0x6178a0=this['_getAPIPrefixPath']()+_0x1d1d3b(0x131);await this[_0x1d1d3b(0x18a)][_0x1d1d3b(0x2bb)](_0x6178a0,{'params':{'collaboratorID':_0x5c14b3[_0x1d1d3b(0x2f2)],'objectID':_0x5c14b3['objectID'],'unitID':_0x5c14b3[_0x1d1d3b(0x134)]}});}async[_0x23fcf5(0x1d0)](_0xfd2516){var _0x2a920b=_0x23fcf5;const _0x2ac2b1=this[_0x2a920b(0x2f6)]()+_0x2a920b(0x131);await this[_0x2a920b(0x18a)][_0x2a920b(0x2b1)](_0x2ac2b1,{'body':_0xfd2516});}async[_0x23fcf5(0x3f4)](_0xd70f7d){var _0x506edc=_0x23fcf5;const _0x47bca7=this[_0x506edc(0x2f6)]()+_0x506edc(0x131);await this[_0x506edc(0x18a)]['post'](_0x47bca7,{'body':_0xd70f7d});}async['listCollaborators'](_0x3948ca){var _0x57a923=_0x23fcf5;const _0x299adf=this['_getAPIPrefixPath']()+_0x57a923(0x131);return(await this['_HTTPService'][_0x57a923(0x11c)](_0x299adf,{'params':{'objectID':_0x3948ca[_0x57a923(0x1eb)],'unitID':_0x3948ca[_0x57a923(0x134)]}}))['body'][_0x57a923(0x110)];}async[_0x23fcf5(0x24b)](_0x1d0530){var _0x32f312=_0x23fcf5;const _0x3ed0d9=this[_0x32f312(0x2f6)]()+'/collaborator';await this['_HTTPService'][_0x32f312(0x2e6)](_0x3ed0d9,{'body':_0x1d0530});}},exports[_0x23fcf5(0x225)]=Vn([Ze(0x0,a[_0x23fcf5(0x11a)](q['HTTPService'])),Ze(0x1,a['Inject'](a[_0x23fcf5(0x17e)]))],exports[_0x23fcf5(0x225)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x5402ba){var _0x720eac=_0x23fcf5;return _0x5402ba&&_0x5402ba[_0x720eac(0x35a)]&&Object[_0x720eac(0x286)]['hasOwnProperty'][_0x720eac(0x2d3)](_0x5402ba,_0x720eac(0x372))?_0x5402ba[_0x720eac(0x372)]:_0x5402ba;}var Se={'exports':{}};function Yn(_0xd32d66){var _0x5aece5=_0x23fcf5;throw new Error(_0x5aece5(0x213)+_0xd32d66+_0x5aece5(0x2df));}var pe={'exports':{}},qn=pe[_0x23fcf5(0x172)],Qe;function ee(){var _0x13db1e=_0x23fcf5;return Qe||(Qe=0x1,function(_0xab5951,_0x10c169){(function(_0x328496,_0x35e960){_0xab5951['exports']=_0x35e960();}(qn,function(){var _0xc89a3=_0xc89a3||function(_0x31c3fa,_0x1c837f){var _0x45ce06=_0x4d81,_0x302b82;if(typeof window<'u'&&window[_0x45ce06(0x25c)]&&(_0x302b82=window[_0x45ce06(0x25c)]),typeof self<'u'&&self[_0x45ce06(0x25c)]&&(_0x302b82=self['crypto']),typeof globalThis<'u'&&globalThis[_0x45ce06(0x25c)]&&(_0x302b82=globalThis[_0x45ce06(0x25c)]),!_0x302b82&&typeof window<'u'&&window[_0x45ce06(0xf7)]&&(_0x302b82=window[_0x45ce06(0xf7)]),!_0x302b82&&typeof Le<'u'&&Le[_0x45ce06(0x25c)]&&(_0x302b82=Le[_0x45ce06(0x25c)]),!_0x302b82&&typeof Yn=='function')try{_0x302b82=require('crypto');}catch{}var _0x307073=function(){var _0x4f0a48=_0x45ce06;if(_0x302b82){if(typeof _0x302b82[_0x4f0a48(0x171)]==_0x4f0a48(0x1a6))try{return _0x302b82['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x302b82['randomBytes']==_0x4f0a48(0x1a6))try{return _0x302b82[_0x4f0a48(0xd6)](0x4)[_0x4f0a48(0x3a7)]();}catch{}}throw new Error(_0x4f0a48(0x33c));},_0x2f0267=Object[_0x45ce06(0x138)]||(function(){function _0x4e8ee3(){}return function(_0x391309){var _0x26d8e3=_0x4d81,_0x12e51a;return _0x4e8ee3[_0x26d8e3(0x286)]=_0x391309,_0x12e51a=new _0x4e8ee3(),_0x4e8ee3['prototype']=null,_0x12e51a;};}()),_0x453a08={},_0x95faf1=_0x453a08['lib']={},_0x4223d6=_0x95faf1[_0x45ce06(0x236)]=(function(){return{'extend':function(_0x2099bc){var _0x21ff28=_0x4d81,_0x52ce63=_0x2f0267(this);return _0x2099bc&&_0x52ce63['mixIn'](_0x2099bc),(!_0x52ce63[_0x21ff28(0x2ff)](_0x21ff28(0x281))||this[_0x21ff28(0x281)]===_0x52ce63[_0x21ff28(0x281)])&&(_0x52ce63[_0x21ff28(0x281)]=function(){var _0x21276e=_0x21ff28;_0x52ce63['$super'][_0x21276e(0x281)][_0x21276e(0x223)](this,arguments);}),_0x52ce63[_0x21ff28(0x281)][_0x21ff28(0x286)]=_0x52ce63,_0x52ce63['$super']=this,_0x52ce63;},'create':function(){var _0x515569=_0x4d81,_0x3ee508=this[_0x515569(0x251)]();return _0x3ee508['init']['apply'](_0x3ee508,arguments),_0x3ee508;},'init':function(){},'mixIn':function(_0x234c59){var _0x5d2e2e=_0x4d81;for(var _0x239755 in _0x234c59)_0x234c59[_0x5d2e2e(0x2ff)](_0x239755)&&(this[_0x239755]=_0x234c59[_0x239755]);_0x234c59[_0x5d2e2e(0x2ff)](_0x5d2e2e(0x43f))&&(this[_0x5d2e2e(0x43f)]=_0x234c59[_0x5d2e2e(0x43f)]);},'clone':function(){var _0x17ed7a=_0x4d81;return this[_0x17ed7a(0x281)][_0x17ed7a(0x286)][_0x17ed7a(0x251)](this);}};}()),_0x58f60b=_0x95faf1[_0x45ce06(0x298)]=_0x4223d6[_0x45ce06(0x251)]({'init':function(_0x5a38fb,_0x3da33c){var _0x2f8ed8=_0x45ce06;_0x5a38fb=this['words']=_0x5a38fb||[],_0x3da33c!=_0x1c837f?this[_0x2f8ed8(0x15e)]=_0x3da33c:this['sigBytes']=_0x5a38fb[_0x2f8ed8(0x358)]*0x4;},'toString':function(_0x566e8d){return(_0x566e8d||_0x23f7c2)['stringify'](this);},'concat':function(_0x42a183){var _0x56dfe7=_0x45ce06,_0xac6012=this[_0x56dfe7(0x2d4)],_0x3a0dc9=_0x42a183['words'],_0x193a51=this[_0x56dfe7(0x15e)],_0x12ddab=_0x42a183[_0x56dfe7(0x15e)];if(this[_0x56dfe7(0x226)](),_0x193a51%0x4)for(var _0x4d0049=0x0;_0x4d0049<_0x12ddab;_0x4d0049++){var _0x938d6f=_0x3a0dc9[_0x4d0049>>>0x2]>>>0x18-_0x4d0049%0x4*0x8&0xff;_0xac6012[_0x193a51+_0x4d0049>>>0x2]|=_0x938d6f<<0x18-(_0x193a51+_0x4d0049)%0x4*0x8;}else{for(var _0xce463d=0x0;_0xce463d<_0x12ddab;_0xce463d+=0x4)_0xac6012[_0x193a51+_0xce463d>>>0x2]=_0x3a0dc9[_0xce463d>>>0x2];}return this[_0x56dfe7(0x15e)]+=_0x12ddab,this;},'clamp':function(){var _0x327596=_0x45ce06,_0x226380=this['words'],_0xfae035=this[_0x327596(0x15e)];_0x226380[_0xfae035>>>0x2]&=0xffffffff<<0x20-_0xfae035%0x4*0x8,_0x226380[_0x327596(0x358)]=_0x31c3fa[_0x327596(0xe7)](_0xfae035/0x4);},'clone':function(){var _0x304068=_0x45ce06,_0x585834=_0x4223d6[_0x304068(0xfe)][_0x304068(0x2d3)](this);return _0x585834['words']=this[_0x304068(0x2d4)][_0x304068(0x13d)](0x0),_0x585834;},'random':function(_0x5b77a0){for(var _0x2baf23=[],_0x487644=0x0;_0x487644<_0x5b77a0;_0x487644+=0x4)_0x2baf23['push'](_0x307073());return new _0x58f60b['init'](_0x2baf23,_0x5b77a0);}}),_0x4a56c8=_0x453a08['enc']={},_0x23f7c2=_0x4a56c8[_0x45ce06(0x244)]={'stringify':function(_0x5fee10){var _0x348f9e=_0x45ce06;for(var _0x4e9006=_0x5fee10[_0x348f9e(0x2d4)],_0x2271f2=_0x5fee10[_0x348f9e(0x15e)],_0x506df5=[],_0x430cf4=0x0;_0x430cf4<_0x2271f2;_0x430cf4++){var _0x68d9c8=_0x4e9006[_0x430cf4>>>0x2]>>>0x18-_0x430cf4%0x4*0x8&0xff;_0x506df5[_0x348f9e(0x228)]((_0x68d9c8>>>0x4)['toString'](0x10)),_0x506df5[_0x348f9e(0x228)]((_0x68d9c8&0xf)[_0x348f9e(0x43f)](0x10));}return _0x506df5[_0x348f9e(0x2a3)]('');},'parse':function(_0xae008d){var _0x3862d8=_0x45ce06;for(var _0x5d24ba=_0xae008d[_0x3862d8(0x358)],_0x254b56=[],_0x3acb2a=0x0;_0x3acb2a<_0x5d24ba;_0x3acb2a+=0x2)_0x254b56[_0x3acb2a>>>0x3]|=parseInt(_0xae008d[_0x3862d8(0x29a)](_0x3acb2a,0x2),0x10)<<0x18-_0x3acb2a%0x8*0x4;return new _0x58f60b['init'](_0x254b56,_0x5d24ba/0x2);}},_0x5bf082=_0x4a56c8[_0x45ce06(0x3b5)]={'stringify':function(_0x446412){var _0x657f8b=_0x45ce06;for(var _0x2e9bfa=_0x446412[_0x657f8b(0x2d4)],_0x3f8676=_0x446412[_0x657f8b(0x15e)],_0x1307da=[],_0xf63126=0x0;_0xf63126<_0x3f8676;_0xf63126++){var _0x3626d1=_0x2e9bfa[_0xf63126>>>0x2]>>>0x18-_0xf63126%0x4*0x8&0xff;_0x1307da[_0x657f8b(0x228)](String[_0x657f8b(0x1be)](_0x3626d1));}return _0x1307da['join']('');},'parse':function(_0x34ec8f){var _0x54056c=_0x45ce06;for(var _0x543604=_0x34ec8f[_0x54056c(0x358)],_0x129a17=[],_0x3df16f=0x0;_0x3df16f<_0x543604;_0x3df16f++)_0x129a17[_0x3df16f>>>0x2]|=(_0x34ec8f[_0x54056c(0x323)](_0x3df16f)&0xff)<<0x18-_0x3df16f%0x4*0x8;return new _0x58f60b[(_0x54056c(0x281))](_0x129a17,_0x543604);}},_0x4b6362=_0x4a56c8[_0x45ce06(0x12f)]={'stringify':function(_0x5b3dd7){var _0x402564=_0x45ce06;try{return decodeURIComponent(escape(_0x5bf082[_0x402564(0x19e)](_0x5b3dd7)));}catch{throw new Error(_0x402564(0x35d));}},'parse':function(_0x398cac){var _0x1f4b95=_0x45ce06;return _0x5bf082[_0x1f4b95(0x241)](unescape(encodeURIComponent(_0x398cac)));}},_0x103d7d=_0x95faf1[_0x45ce06(0x395)]=_0x4223d6[_0x45ce06(0x251)]({'reset':function(){var _0x1cfe54=_0x45ce06;this[_0x1cfe54(0xdc)]=new _0x58f60b[(_0x1cfe54(0x281))](),this[_0x1cfe54(0x31a)]=0x0;},'_append':function(_0x29160a){var _0x15c8a9=_0x45ce06;typeof _0x29160a==_0x15c8a9(0x446)&&(_0x29160a=_0x4b6362[_0x15c8a9(0x241)](_0x29160a)),this['_data'][_0x15c8a9(0x336)](_0x29160a),this[_0x15c8a9(0x31a)]+=_0x29160a[_0x15c8a9(0x15e)];},'_process':function(_0x3b4d34){var _0xc7e5aa=_0x45ce06,_0x5d4caa,_0x3b4c17=this[_0xc7e5aa(0xdc)],_0x3b6174=_0x3b4c17[_0xc7e5aa(0x2d4)],_0xea1826=_0x3b4c17[_0xc7e5aa(0x15e)],_0x1741d3=this[_0xc7e5aa(0x357)],_0x45dcc3=_0x1741d3*0x4,_0x19921a=_0xea1826/_0x45dcc3;_0x3b4d34?_0x19921a=_0x31c3fa['ceil'](_0x19921a):_0x19921a=_0x31c3fa[_0xc7e5aa(0x382)]((_0x19921a|0x0)-this[_0xc7e5aa(0x2e4)],0x0);var _0x5e10d9=_0x19921a*_0x1741d3,_0x47474c=_0x31c3fa[_0xc7e5aa(0x262)](_0x5e10d9*0x4,_0xea1826);if(_0x5e10d9){for(var _0x5c467d=0x0;_0x5c467d<_0x5e10d9;_0x5c467d+=_0x1741d3)this[_0xc7e5aa(0x38c)](_0x3b6174,_0x5c467d);_0x5d4caa=_0x3b6174[_0xc7e5aa(0x3e4)](0x0,_0x5e10d9),_0x3b4c17[_0xc7e5aa(0x15e)]-=_0x47474c;}return new _0x58f60b['init'](_0x5d4caa,_0x47474c);},'clone':function(){var _0x331a79=_0x45ce06,_0x5731d3=_0x4223d6[_0x331a79(0xfe)][_0x331a79(0x2d3)](this);return _0x5731d3[_0x331a79(0xdc)]=this[_0x331a79(0xdc)][_0x331a79(0xfe)](),_0x5731d3;},'_minBufferSize':0x0});_0x95faf1[_0x45ce06(0x370)]=_0x103d7d[_0x45ce06(0x251)]({'cfg':_0x4223d6[_0x45ce06(0x251)](),'init':function(_0x598a41){var _0xbf43a3=_0x45ce06;this['cfg']=this[_0xbf43a3(0x3f1)][_0xbf43a3(0x251)](_0x598a41),this[_0xbf43a3(0x1a8)]();},'reset':function(){var _0x3c8802=_0x45ce06;_0x103d7d[_0x3c8802(0x1a8)][_0x3c8802(0x2d3)](this),this[_0x3c8802(0x2fc)]();},'update':function(_0xb42076){var _0x348867=_0x45ce06;return this['_append'](_0xb42076),this[_0x348867(0x349)](),this;},'finalize':function(_0x18dda2){_0x18dda2&&this['_append'](_0x18dda2);var _0x3e4e27=this['_doFinalize']();return _0x3e4e27;},'blockSize':0x10,'_createHelper':function(_0x102cc7){return function(_0x32450d,_0x5b00eb){var _0x416eb1=_0x4d81;return new _0x102cc7[(_0x416eb1(0x281))](_0x5b00eb)['finalize'](_0x32450d);};},'_createHmacHelper':function(_0x179cd6){return function(_0xe46f7c,_0x195dc6){var _0x122076=_0x4d81;return new _0x31c179[(_0x122076(0x242))][(_0x122076(0x281))](_0x179cd6,_0x195dc6)[_0x122076(0xd4)](_0xe46f7c);};}});var _0x31c179=_0x453a08[_0x45ce06(0x290)]={};return _0x453a08;}(Math);return _0xc89a3;}));}(pe)),pe[_0x13db1e(0x172)];}var me={'exports':{}},zn=me[_0x23fcf5(0x172)],et;function Dt(){var _0x409609=_0x23fcf5;return et||(et=0x1,function(_0x259200,_0x124417){(function(_0x58d642,_0x2121fc){var _0x5a6dd2=_0x4d81;_0x259200[_0x5a6dd2(0x172)]=_0x2121fc(ee());}(zn,function(_0x20cbba){var _0xa28efd=_0x4d81;return(function(){var _0x1fa4cb=_0x4d81,_0x2211f3=_0x20cbba,_0x368804=_0x2211f3[_0x1fa4cb(0x235)],_0xd69bea=_0x368804[_0x1fa4cb(0x298)],_0x47d531=_0x2211f3[_0x1fa4cb(0x166)];_0x47d531[_0x1fa4cb(0x301)]={'stringify':function(_0x48a9fb){var _0x54227f=_0x1fa4cb,_0x3897c5=_0x48a9fb[_0x54227f(0x2d4)],_0x1a660c=_0x48a9fb['sigBytes'],_0x3b9d24=this[_0x54227f(0x34d)];_0x48a9fb[_0x54227f(0x226)]();for(var _0x3f8dc7=[],_0x567769=0x0;_0x567769<_0x1a660c;_0x567769+=0x3)for(var _0x368918=_0x3897c5[_0x567769>>>0x2]>>>0x18-_0x567769%0x4*0x8&0xff,_0x9f553a=_0x3897c5[_0x567769+0x1>>>0x2]>>>0x18-(_0x567769+0x1)%0x4*0x8&0xff,_0x442970=_0x3897c5[_0x567769+0x2>>>0x2]>>>0x18-(_0x567769+0x2)%0x4*0x8&0xff,_0x22e811=_0x368918<<0x10|_0x9f553a<<0x8|_0x442970,_0x4b147f=0x0;_0x4b147f<0x4&&_0x567769+_0x4b147f*0.75<_0x1a660c;_0x4b147f++)_0x3f8dc7[_0x54227f(0x228)](_0x3b9d24[_0x54227f(0x331)](_0x22e811>>>0x6*(0x3-_0x4b147f)&0x3f));var _0x40b457=_0x3b9d24[_0x54227f(0x331)](0x40);if(_0x40b457){for(;_0x3f8dc7[_0x54227f(0x358)]%0x4;)_0x3f8dc7['push'](_0x40b457);}return _0x3f8dc7[_0x54227f(0x2a3)]('');},'parse':function(_0x3bcd83){var _0x33f614=_0x1fa4cb,_0x27420e=_0x3bcd83[_0x33f614(0x358)],_0x3b83f3=this[_0x33f614(0x34d)],_0x1a1347=this[_0x33f614(0x1d6)];if(!_0x1a1347){_0x1a1347=this[_0x33f614(0x1d6)]=[];for(var _0x1ba9fe=0x0;_0x1ba9fe<_0x3b83f3[_0x33f614(0x358)];_0x1ba9fe++)_0x1a1347[_0x3b83f3[_0x33f614(0x323)](_0x1ba9fe)]=_0x1ba9fe;}var _0x47e0c2=_0x3b83f3[_0x33f614(0x331)](0x40);if(_0x47e0c2){var _0xcc2287=_0x3bcd83['indexOf'](_0x47e0c2);_0xcc2287!==-0x1&&(_0x27420e=_0xcc2287);}return _0x49fae7(_0x3bcd83,_0x27420e,_0x1a1347);},'_map':_0x1fa4cb(0x246)};function _0x49fae7(_0x2f3e7f,_0x25ce0c,_0x4f7958){var _0x4e6909=_0x1fa4cb;for(var _0x5b842e=[],_0x769c93=0x0,_0x120e16=0x0;_0x120e16<_0x25ce0c;_0x120e16++)if(_0x120e16%0x4){var _0x260843=_0x4f7958[_0x2f3e7f[_0x4e6909(0x323)](_0x120e16-0x1)]<<_0x120e16%0x4*0x2,_0x546f71=_0x4f7958[_0x2f3e7f['charCodeAt'](_0x120e16)]>>>0x6-_0x120e16%0x4*0x2,_0x7cb95a=_0x260843|_0x546f71;_0x5b842e[_0x769c93>>>0x2]|=_0x7cb95a<<0x18-_0x769c93%0x4*0x8,_0x769c93++;}return _0xd69bea['create'](_0x5b842e,_0x769c93);}}()),_0x20cbba[_0xa28efd(0x166)][_0xa28efd(0x301)];}));}(me)),me[_0x409609(0x172)];}var ge={'exports':{}},Jn=ge[_0x23fcf5(0x172)],tt;function Xn(){return tt||(tt=0x1,function(_0x25a67d,_0x3cfbc5){(function(_0x19c34f,_0x21fd33){var _0x57fec3=_0x4d81;_0x25a67d[_0x57fec3(0x172)]=_0x21fd33(ee());}(Jn,function(_0x138b1c){var _0x555ed8=_0x4d81;return function(_0x3163e2){var _0x183ccb=_0x4d81,_0x30b1b8=_0x138b1c,_0x138845=_0x30b1b8[_0x183ccb(0x235)],_0x4be847=_0x138845[_0x183ccb(0x298)],_0x32bf8e=_0x138845['Hasher'],_0x5e8318=_0x30b1b8[_0x183ccb(0x290)],_0x4edb69=[];(function(){for(var _0x72891c=0x0;_0x72891c<0x40;_0x72891c++)_0x4edb69[_0x72891c]=_0x3163e2['abs'](_0x3163e2['sin'](_0x72891c+0x1))*0x100000000|0x0;}());var _0x5e76d3=_0x5e8318[_0x183ccb(0x2e2)]=_0x32bf8e['extend']({'_doReset':function(){var _0x5e4ebf=_0x183ccb;this[_0x5e4ebf(0x16d)]=new _0x4be847[(_0x5e4ebf(0x281))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3fadc5,_0x44147a){var _0x79e84d=_0x183ccb;for(var _0x1f9959=0x0;_0x1f9959<0x10;_0x1f9959++){var _0x5d66a2=_0x44147a+_0x1f9959,_0x4acc3c=_0x3fadc5[_0x5d66a2];_0x3fadc5[_0x5d66a2]=(_0x4acc3c<<0x8|_0x4acc3c>>>0x18)&0xff00ff|(_0x4acc3c<<0x18|_0x4acc3c>>>0x8)&0xff00ff00;}var _0x537467=this[_0x79e84d(0x16d)][_0x79e84d(0x2d4)],_0x2651da=_0x3fadc5[_0x44147a+0x0],_0x476c3f=_0x3fadc5[_0x44147a+0x1],_0x3d707b=_0x3fadc5[_0x44147a+0x2],_0x3407ad=_0x3fadc5[_0x44147a+0x3],_0x1fcb67=_0x3fadc5[_0x44147a+0x4],_0x7897f0=_0x3fadc5[_0x44147a+0x5],_0x3122ad=_0x3fadc5[_0x44147a+0x6],_0x3916d8=_0x3fadc5[_0x44147a+0x7],_0x566aa3=_0x3fadc5[_0x44147a+0x8],_0x21c114=_0x3fadc5[_0x44147a+0x9],_0x4f6c10=_0x3fadc5[_0x44147a+0xa],_0x5d2ed7=_0x3fadc5[_0x44147a+0xb],_0x50b174=_0x3fadc5[_0x44147a+0xc],_0x157baf=_0x3fadc5[_0x44147a+0xd],_0x32e425=_0x3fadc5[_0x44147a+0xe],_0x595a09=_0x3fadc5[_0x44147a+0xf],_0x387ec3=_0x537467[0x0],_0x37a597=_0x537467[0x1],_0x580cb9=_0x537467[0x2],_0x2e9c77=_0x537467[0x3];_0x387ec3=_0x751510(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x2651da,0x7,_0x4edb69[0x0]),_0x2e9c77=_0x751510(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x476c3f,0xc,_0x4edb69[0x1]),_0x580cb9=_0x751510(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3d707b,0x11,_0x4edb69[0x2]),_0x37a597=_0x751510(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x3407ad,0x16,_0x4edb69[0x3]),_0x387ec3=_0x751510(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x1fcb67,0x7,_0x4edb69[0x4]),_0x2e9c77=_0x751510(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x7897f0,0xc,_0x4edb69[0x5]),_0x580cb9=_0x751510(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3122ad,0x11,_0x4edb69[0x6]),_0x37a597=_0x751510(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x3916d8,0x16,_0x4edb69[0x7]),_0x387ec3=_0x751510(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x566aa3,0x7,_0x4edb69[0x8]),_0x2e9c77=_0x751510(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x21c114,0xc,_0x4edb69[0x9]),_0x580cb9=_0x751510(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x4f6c10,0x11,_0x4edb69[0xa]),_0x37a597=_0x751510(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x5d2ed7,0x16,_0x4edb69[0xb]),_0x387ec3=_0x751510(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x50b174,0x7,_0x4edb69[0xc]),_0x2e9c77=_0x751510(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x157baf,0xc,_0x4edb69[0xd]),_0x580cb9=_0x751510(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x32e425,0x11,_0x4edb69[0xe]),_0x37a597=_0x751510(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x595a09,0x16,_0x4edb69[0xf]),_0x387ec3=_0x420e5f(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x476c3f,0x5,_0x4edb69[0x10]),_0x2e9c77=_0x420e5f(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x3122ad,0x9,_0x4edb69[0x11]),_0x580cb9=_0x420e5f(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x5d2ed7,0xe,_0x4edb69[0x12]),_0x37a597=_0x420e5f(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x2651da,0x14,_0x4edb69[0x13]),_0x387ec3=_0x420e5f(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x7897f0,0x5,_0x4edb69[0x14]),_0x2e9c77=_0x420e5f(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x4f6c10,0x9,_0x4edb69[0x15]),_0x580cb9=_0x420e5f(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x595a09,0xe,_0x4edb69[0x16]),_0x37a597=_0x420e5f(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x1fcb67,0x14,_0x4edb69[0x17]),_0x387ec3=_0x420e5f(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x21c114,0x5,_0x4edb69[0x18]),_0x2e9c77=_0x420e5f(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x32e425,0x9,_0x4edb69[0x19]),_0x580cb9=_0x420e5f(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3407ad,0xe,_0x4edb69[0x1a]),_0x37a597=_0x420e5f(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x566aa3,0x14,_0x4edb69[0x1b]),_0x387ec3=_0x420e5f(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x157baf,0x5,_0x4edb69[0x1c]),_0x2e9c77=_0x420e5f(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x3d707b,0x9,_0x4edb69[0x1d]),_0x580cb9=_0x420e5f(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3916d8,0xe,_0x4edb69[0x1e]),_0x37a597=_0x420e5f(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x50b174,0x14,_0x4edb69[0x1f]),_0x387ec3=_0x5b2963(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x7897f0,0x4,_0x4edb69[0x20]),_0x2e9c77=_0x5b2963(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x566aa3,0xb,_0x4edb69[0x21]),_0x580cb9=_0x5b2963(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x5d2ed7,0x10,_0x4edb69[0x22]),_0x37a597=_0x5b2963(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x32e425,0x17,_0x4edb69[0x23]),_0x387ec3=_0x5b2963(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x476c3f,0x4,_0x4edb69[0x24]),_0x2e9c77=_0x5b2963(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x1fcb67,0xb,_0x4edb69[0x25]),_0x580cb9=_0x5b2963(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3916d8,0x10,_0x4edb69[0x26]),_0x37a597=_0x5b2963(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x4f6c10,0x17,_0x4edb69[0x27]),_0x387ec3=_0x5b2963(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x157baf,0x4,_0x4edb69[0x28]),_0x2e9c77=_0x5b2963(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x2651da,0xb,_0x4edb69[0x29]),_0x580cb9=_0x5b2963(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3407ad,0x10,_0x4edb69[0x2a]),_0x37a597=_0x5b2963(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x3122ad,0x17,_0x4edb69[0x2b]),_0x387ec3=_0x5b2963(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x21c114,0x4,_0x4edb69[0x2c]),_0x2e9c77=_0x5b2963(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x50b174,0xb,_0x4edb69[0x2d]),_0x580cb9=_0x5b2963(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x595a09,0x10,_0x4edb69[0x2e]),_0x37a597=_0x5b2963(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x3d707b,0x17,_0x4edb69[0x2f]),_0x387ec3=_0x5b5f1d(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x2651da,0x6,_0x4edb69[0x30]),_0x2e9c77=_0x5b5f1d(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x3916d8,0xa,_0x4edb69[0x31]),_0x580cb9=_0x5b5f1d(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x32e425,0xf,_0x4edb69[0x32]),_0x37a597=_0x5b5f1d(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x7897f0,0x15,_0x4edb69[0x33]),_0x387ec3=_0x5b5f1d(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x50b174,0x6,_0x4edb69[0x34]),_0x2e9c77=_0x5b5f1d(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x3407ad,0xa,_0x4edb69[0x35]),_0x580cb9=_0x5b5f1d(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x4f6c10,0xf,_0x4edb69[0x36]),_0x37a597=_0x5b5f1d(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x476c3f,0x15,_0x4edb69[0x37]),_0x387ec3=_0x5b5f1d(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x566aa3,0x6,_0x4edb69[0x38]),_0x2e9c77=_0x5b5f1d(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x595a09,0xa,_0x4edb69[0x39]),_0x580cb9=_0x5b5f1d(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3122ad,0xf,_0x4edb69[0x3a]),_0x37a597=_0x5b5f1d(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x157baf,0x15,_0x4edb69[0x3b]),_0x387ec3=_0x5b5f1d(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x1fcb67,0x6,_0x4edb69[0x3c]),_0x2e9c77=_0x5b5f1d(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x5d2ed7,0xa,_0x4edb69[0x3d]),_0x580cb9=_0x5b5f1d(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3d707b,0xf,_0x4edb69[0x3e]),_0x37a597=_0x5b5f1d(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x21c114,0x15,_0x4edb69[0x3f]),_0x537467[0x0]=_0x537467[0x0]+_0x387ec3|0x0,_0x537467[0x1]=_0x537467[0x1]+_0x37a597|0x0,_0x537467[0x2]=_0x537467[0x2]+_0x580cb9|0x0,_0x537467[0x3]=_0x537467[0x3]+_0x2e9c77|0x0;},'_doFinalize':function(){var _0xe3af42=_0x183ccb,_0x3079a4=this[_0xe3af42(0xdc)],_0x1337c3=_0x3079a4[_0xe3af42(0x2d4)],_0x1b7018=this['_nDataBytes']*0x8,_0x150236=_0x3079a4[_0xe3af42(0x15e)]*0x8;_0x1337c3[_0x150236>>>0x5]|=0x80<<0x18-_0x150236%0x20;var _0x1a99df=_0x3163e2[_0xe3af42(0x20e)](_0x1b7018/0x100000000),_0x1bae4a=_0x1b7018;_0x1337c3[(_0x150236+0x40>>>0x9<<0x4)+0xf]=(_0x1a99df<<0x8|_0x1a99df>>>0x18)&0xff00ff|(_0x1a99df<<0x18|_0x1a99df>>>0x8)&0xff00ff00,_0x1337c3[(_0x150236+0x40>>>0x9<<0x4)+0xe]=(_0x1bae4a<<0x8|_0x1bae4a>>>0x18)&0xff00ff|(_0x1bae4a<<0x18|_0x1bae4a>>>0x8)&0xff00ff00,_0x3079a4[_0xe3af42(0x15e)]=(_0x1337c3['length']+0x1)*0x4,this['_process']();for(var _0x812939=this[_0xe3af42(0x16d)],_0x2a7689=_0x812939[_0xe3af42(0x2d4)],_0x1d6383=0x0;_0x1d6383<0x4;_0x1d6383++){var _0x571e9f=_0x2a7689[_0x1d6383];_0x2a7689[_0x1d6383]=(_0x571e9f<<0x8|_0x571e9f>>>0x18)&0xff00ff|(_0x571e9f<<0x18|_0x571e9f>>>0x8)&0xff00ff00;}return _0x812939;},'clone':function(){var _0xa89cca=_0x183ccb,_0x35543b=_0x32bf8e['clone']['call'](this);return _0x35543b[_0xa89cca(0x16d)]=this[_0xa89cca(0x16d)][_0xa89cca(0xfe)](),_0x35543b;}});function _0x751510(_0x16b540,_0x15a251,_0x2c7f33,_0x9863f7,_0x73e537,_0x2c2bcd,_0x1b39bf){var _0x559edf=_0x16b540+(_0x15a251&_0x2c7f33|~_0x15a251&_0x9863f7)+_0x73e537+_0x1b39bf;return(_0x559edf<<_0x2c2bcd|_0x559edf>>>0x20-_0x2c2bcd)+_0x15a251;}function _0x420e5f(_0x5552ba,_0x50f41c,_0x35c87d,_0x2fd183,_0x543a4e,_0x2b1324,_0x524452){var _0x388950=_0x5552ba+(_0x50f41c&_0x2fd183|_0x35c87d&~_0x2fd183)+_0x543a4e+_0x524452;return(_0x388950<<_0x2b1324|_0x388950>>>0x20-_0x2b1324)+_0x50f41c;}function _0x5b2963(_0x2c20f0,_0x2dea09,_0x2e5532,_0x5b482c,_0x3d1645,_0x44896f,_0x748085){var _0x22ecd3=_0x2c20f0+(_0x2dea09^_0x2e5532^_0x5b482c)+_0x3d1645+_0x748085;return(_0x22ecd3<<_0x44896f|_0x22ecd3>>>0x20-_0x44896f)+_0x2dea09;}function _0x5b5f1d(_0x905532,_0x490952,_0x594df7,_0x45da8d,_0x1182ce,_0x2a65c9,_0x1cd571){var _0x4611da=_0x905532+(_0x594df7^(_0x490952|~_0x45da8d))+_0x1182ce+_0x1cd571;return(_0x4611da<<_0x2a65c9|_0x4611da>>>0x20-_0x2a65c9)+_0x490952;}_0x30b1b8[_0x183ccb(0x2e2)]=_0x32bf8e[_0x183ccb(0x2ab)](_0x5e76d3),_0x30b1b8[_0x183ccb(0x43c)]=_0x32bf8e[_0x183ccb(0x1cd)](_0x5e76d3);}(Math),_0x138b1c[_0x555ed8(0x2e2)];}));}(ge)),ge['exports'];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee[_0x23fcf5(0x172)],nt;function Qn(){var _0x5dcbdf=_0x23fcf5;return nt||(nt=0x1,function(_0x393d15,_0xb4f61a){(function(_0x5b1929,_0x51f350){var _0x296c25=_0x4d81;_0x393d15[_0x296c25(0x172)]=_0x51f350(ee());}(Zn,function(_0x31d59c){return(function(){var _0x5737e2=_0x4d81,_0x5ab7dc=_0x31d59c,_0x4cf7b3=_0x5ab7dc['lib'],_0x109a6d=_0x4cf7b3[_0x5737e2(0x298)],_0xd8fa11=_0x4cf7b3[_0x5737e2(0x370)],_0x1ab9f8=_0x5ab7dc[_0x5737e2(0x290)],_0x441217=[],_0xd1b57d=_0x1ab9f8[_0x5737e2(0x415)]=_0xd8fa11[_0x5737e2(0x251)]({'_doReset':function(){var _0x5af2e6=_0x5737e2;this[_0x5af2e6(0x16d)]=new _0x109a6d[(_0x5af2e6(0x281))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3e8b95,_0x11a045){var _0x4eb58c=_0x5737e2;for(var _0x38d65f=this['_hash'][_0x4eb58c(0x2d4)],_0x1ae039=_0x38d65f[0x0],_0x2e3326=_0x38d65f[0x1],_0x423b86=_0x38d65f[0x2],_0x557539=_0x38d65f[0x3],_0x49f4e9=_0x38d65f[0x4],_0x3ebc41=0x0;_0x3ebc41<0x50;_0x3ebc41++){if(_0x3ebc41<0x10)_0x441217[_0x3ebc41]=_0x3e8b95[_0x11a045+_0x3ebc41]|0x0;else{var _0x3bf99f=_0x441217[_0x3ebc41-0x3]^_0x441217[_0x3ebc41-0x8]^_0x441217[_0x3ebc41-0xe]^_0x441217[_0x3ebc41-0x10];_0x441217[_0x3ebc41]=_0x3bf99f<<0x1|_0x3bf99f>>>0x1f;}var _0x52e27d=(_0x1ae039<<0x5|_0x1ae039>>>0x1b)+_0x49f4e9+_0x441217[_0x3ebc41];_0x3ebc41<0x14?_0x52e27d+=(_0x2e3326&_0x423b86|~_0x2e3326&_0x557539)+0x5a827999:_0x3ebc41<0x28?_0x52e27d+=(_0x2e3326^_0x423b86^_0x557539)+0x6ed9eba1:_0x3ebc41<0x3c?_0x52e27d+=(_0x2e3326&_0x423b86|_0x2e3326&_0x557539|_0x423b86&_0x557539)-0x70e44324:_0x52e27d+=(_0x2e3326^_0x423b86^_0x557539)-0x359d3e2a,_0x49f4e9=_0x557539,_0x557539=_0x423b86,_0x423b86=_0x2e3326<<0x1e|_0x2e3326>>>0x2,_0x2e3326=_0x1ae039,_0x1ae039=_0x52e27d;}_0x38d65f[0x0]=_0x38d65f[0x0]+_0x1ae039|0x0,_0x38d65f[0x1]=_0x38d65f[0x1]+_0x2e3326|0x0,_0x38d65f[0x2]=_0x38d65f[0x2]+_0x423b86|0x0,_0x38d65f[0x3]=_0x38d65f[0x3]+_0x557539|0x0,_0x38d65f[0x4]=_0x38d65f[0x4]+_0x49f4e9|0x0;},'_doFinalize':function(){var _0xb29cf3=_0x5737e2,_0x20413c=this[_0xb29cf3(0xdc)],_0x16bd88=_0x20413c[_0xb29cf3(0x2d4)],_0x426265=this[_0xb29cf3(0x31a)]*0x8,_0x17aacf=_0x20413c[_0xb29cf3(0x15e)]*0x8;return _0x16bd88[_0x17aacf>>>0x5]|=0x80<<0x18-_0x17aacf%0x20,_0x16bd88[(_0x17aacf+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x426265/0x100000000),_0x16bd88[(_0x17aacf+0x40>>>0x9<<0x4)+0xf]=_0x426265,_0x20413c[_0xb29cf3(0x15e)]=_0x16bd88[_0xb29cf3(0x358)]*0x4,this[_0xb29cf3(0x349)](),this[_0xb29cf3(0x16d)];},'clone':function(){var _0x4916b7=_0x5737e2,_0x28b29e=_0xd8fa11[_0x4916b7(0xfe)]['call'](this);return _0x28b29e['_hash']=this[_0x4916b7(0x16d)][_0x4916b7(0xfe)](),_0x28b29e;}});_0x5ab7dc[_0x5737e2(0x415)]=_0xd8fa11[_0x5737e2(0x2ab)](_0xd1b57d),_0x5ab7dc[_0x5737e2(0x170)]=_0xd8fa11['_createHmacHelper'](_0xd1b57d);}()),_0x31d59c['SHA1'];}));}(Ee)),Ee[_0x5dcbdf(0x172)];}var Ce={'exports':{}},ei=Ce[_0x23fcf5(0x172)],it;function ti(){return it||(it=0x1,function(_0x15cfbb,_0x37aaee){(function(_0x2aa360,_0xa37ef5){var _0x24694e=_0x4d81;_0x15cfbb[_0x24694e(0x172)]=_0xa37ef5(ee());}(ei,function(_0x455f77){(function(){var _0x4ffe24=_0x4d81,_0x3961b9=_0x455f77,_0x5a36e0=_0x3961b9[_0x4ffe24(0x235)],_0x3c1af6=_0x5a36e0[_0x4ffe24(0x236)],_0x11cd64=_0x3961b9['enc'],_0x263c8a=_0x11cd64[_0x4ffe24(0x12f)],_0x40db31=_0x3961b9[_0x4ffe24(0x290)];_0x40db31[_0x4ffe24(0x242)]=_0x3c1af6[_0x4ffe24(0x251)]({'init':function(_0xb75f37,_0xf5d510){var _0xd2c896=_0x4ffe24;_0xb75f37=this[_0xd2c896(0x40f)]=new _0xb75f37[(_0xd2c896(0x281))](),typeof _0xf5d510=='string'&&(_0xf5d510=_0x263c8a[_0xd2c896(0x241)](_0xf5d510));var _0x15953e=_0xb75f37[_0xd2c896(0x357)],_0x1b24fe=_0x15953e*0x4;_0xf5d510[_0xd2c896(0x15e)]>_0x1b24fe&&(_0xf5d510=_0xb75f37[_0xd2c896(0xd4)](_0xf5d510)),_0xf5d510[_0xd2c896(0x226)]();for(var _0x41f883=this[_0xd2c896(0x268)]=_0xf5d510[_0xd2c896(0xfe)](),_0x52cd64=this[_0xd2c896(0x2ad)]=_0xf5d510[_0xd2c896(0xfe)](),_0x259d1a=_0x41f883[_0xd2c896(0x2d4)],_0x34ad7a=_0x52cd64[_0xd2c896(0x2d4)],_0x24ccb5=0x0;_0x24ccb5<_0x15953e;_0x24ccb5++)_0x259d1a[_0x24ccb5]^=0x5c5c5c5c,_0x34ad7a[_0x24ccb5]^=0x36363636;_0x41f883[_0xd2c896(0x15e)]=_0x52cd64[_0xd2c896(0x15e)]=_0x1b24fe,this[_0xd2c896(0x1a8)]();},'reset':function(){var _0x52777b=_0x4ffe24,_0x48dad8=this['_hasher'];_0x48dad8[_0x52777b(0x1a8)](),_0x48dad8[_0x52777b(0x111)](this[_0x52777b(0x2ad)]);},'update':function(_0x2c2c4e){var _0x40c437=_0x4ffe24;return this['_hasher'][_0x40c437(0x111)](_0x2c2c4e),this;},'finalize':function(_0x41f4d0){var _0x2390d0=_0x4ffe24,_0x2a893d=this[_0x2390d0(0x40f)],_0x5af314=_0x2a893d[_0x2390d0(0xd4)](_0x41f4d0);_0x2a893d[_0x2390d0(0x1a8)]();var _0x2a4211=_0x2a893d['finalize'](this[_0x2390d0(0x268)]['clone']()[_0x2390d0(0x336)](_0x5af314));return _0x2a4211;}});}());}));}(Ce)),Ce['exports'];}var ni=Ie[_0x23fcf5(0x172)],rt;function wt(){var _0x2a9c50=_0x23fcf5;return rt||(rt=0x1,function(_0x8d8b88,_0x1f6fc2){(function(_0x6051d2,_0x46081f,_0x58f9b5){var _0x5d0830=_0x4d81;_0x8d8b88[_0x5d0830(0x172)]=_0x46081f(ee(),Qn(),ti());}(ni,function(_0x7b00de){var _0x3ab4ec=_0x4d81;return(function(){var _0x4e536f=_0x4d81,_0x18e572=_0x7b00de,_0x4934c2=_0x18e572[_0x4e536f(0x235)],_0x2a50da=_0x4934c2['Base'],_0x2d2ade=_0x4934c2[_0x4e536f(0x298)],_0xd1ac3e=_0x18e572[_0x4e536f(0x290)],_0x3bd784=_0xd1ac3e['MD5'],_0x567173=_0xd1ac3e[_0x4e536f(0x31f)]=_0x2a50da[_0x4e536f(0x251)]({'cfg':_0x2a50da[_0x4e536f(0x251)]({'keySize':0x80/0x20,'hasher':_0x3bd784,'iterations':0x1}),'init':function(_0x1967b6){var _0x2f4371=_0x4e536f;this['cfg']=this['cfg'][_0x2f4371(0x251)](_0x1967b6);},'compute':function(_0x1a8afa,_0x500287){var _0x35f307=_0x4e536f;for(var _0x39560e,_0x5db524=this['cfg'],_0x311301=_0x5db524[_0x35f307(0x32c)][_0x35f307(0x138)](),_0x418113=_0x2d2ade[_0x35f307(0x138)](),_0x16633d=_0x418113[_0x35f307(0x2d4)],_0x362e24=_0x5db524[_0x35f307(0x1f0)],_0x245d68=_0x5db524['iterations'];_0x16633d[_0x35f307(0x358)]<_0x362e24;){_0x39560e&&_0x311301[_0x35f307(0x111)](_0x39560e),_0x39560e=_0x311301[_0x35f307(0x111)](_0x1a8afa)[_0x35f307(0xd4)](_0x500287),_0x311301[_0x35f307(0x1a8)]();for(var _0x210d0e=0x1;_0x210d0e<_0x245d68;_0x210d0e++)_0x39560e=_0x311301['finalize'](_0x39560e),_0x311301[_0x35f307(0x1a8)]();_0x418113[_0x35f307(0x336)](_0x39560e);}return _0x418113[_0x35f307(0x15e)]=_0x362e24*0x4,_0x418113;}});_0x18e572['EvpKDF']=function(_0x2830f1,_0x4bddb4,_0x529c2f){var _0x2964ae=_0x4e536f;return _0x567173[_0x2964ae(0x138)](_0x529c2f)[_0x2964ae(0x25e)](_0x2830f1,_0x4bddb4);};}()),_0x7b00de[_0x3ab4ec(0x31f)];}));}(Ie)),Ie[_0x2a9c50(0x172)];}function _0x8269(){var _0x2bb450=['_replaceFileID','DataLoaderService','cmd','unitId\x20is\x20not\x20found','salt','encryptBlock','max','_onMessage','_onOffline','LEAVE','_nRounds','UniverInstanceType','RETRY_CONNECTING_MAX_COUNT_KEY','[CollaborationState]:\x20apply\x20error!','error$','_waitForHeartbeatResponse','_doProcessBlock','Tools','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','JOIN_ROOM_FULL','HTTPRequest','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','now','MentionType','onSendChangeset','BufferedBlockAlgorithm','APPLY_DUPLICATED','COMPRESS_MUTATION_APPLY','liveShareOperation','getTypeOfUnitAdded$','padding','error','_changesetSessionId','CommentService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/universer-api/snapshot/','_sheetTransformSelectionsService','OpenSSL','_shouldReportTelemetry','getSnapshotAPIPath','status$','SessionStatus','objects','readInt32LE','Module','CollaborationSessionService','COMPRESS_MUTATION_SEND','[OfflineState]:\x20received\x20changeset.','subUnitId','COLLAB_WEB_SOCKET_URL','_resendTimeout','FetchingMissState','_resendWithTimeout','body','_localeService','joinEvent','_onLocalMutation','Latin1','_initCloseConn','b64DecodeUnicode','batchAllowed','onStateChange','_transformUndoredo','[CollaborationSessionService]','_members$','LIVESHARE_REQUEST_HOST','UNIVER_PROJECT','?size=','GLOBAL_ROOMS_CNT_EXCEEDS','LICENSE_DISTRO_REJECTED','INGEST','unitInfo$','entityInit$','onLocalMutation','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','BlockCipher','interceptor','@univerjs/sheets','_socket','_applyRemoteChangeset','liveShareNewHost','duration','_univerInstanceService','roomInfos','_collaborationPaused','getConfig','onStarting','rev','event$','CHANGESET_ACK','LICENSE_IMPORT_SIZE_EXCEEDED','ERROR_IMAGE','36036CAjHcj','hostname','members$','addImageSourceCache','updateOfflineData','updatePermissionPoint','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','format','_userManagerService','_entityInit$','\x20-\x20','ISnapshotServerService','splice','parseChangesetToProtocol','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','JSONX','getUnitType','reverse','setShowComponents','_onConnectionFailed','_commentUpdate$','isArray','WorkbookEditablePermission','UNIVER_SLIDE','_handler','cfg','_initDependencies','HTTPService','createCollaborator','refreshPermission','_append','LIVESHARE_NEW_HOST','_clearScheduledTask','_joinRoom','touchDependencies','getMemberID','getUnitOnRev','DependentOn','onRemoteAck','clear','_emitMembers','Quantity','_clearHeartbeatTimer','/object','_transformRemoteChangesetByIMECache','SEND_CHANGESET_TIMEOUT_KEY','data','_state$','getUnitId','ISocketService','saveImage','/block/','SetSelectionsOperation','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_eventService','_hasher','complete','session.room-permission-denied','decrypt','BehaviorSubject','9794040jFNkob','SHA1','saveSnapshot','file','_httpService','replace','_entities','transformUndoRedo','range','createInstance','LocaleService','CONFLICT','snapshotServerUrl','updatePermissionObjEvent','_unitID','_instanceService','isTransformMutationsWithChangesetFailure','editing\x20status\x20changed\x20to','ticket','emitEvent','symbol','OFFLINE','6810433Bmsgcb','byteLength','SNAPSHOT_URL_KEY','onRemoteRetry','UNKNOWN_CMD','MergeInterceptorFactory','shouldCloseConn','_throwTelemetryCollaborationNewChangeset','_sendingTimer','_getCurrentRevision','/universer-api/user/session-ticket','_toggleOnline','COLLAB_SUBMIT_CHANGESET_URL','_createHandler','fetchMissingChangesets','SerializableCipher','CollaborationImageIoService','_retryCount','HmacMD5','_createInitialStateImpl','CHANGESET_REVISION_CONFILICT','toString','add','_acknowledgedAwaitingChangeset','MUTATION','FileId','FAIL','Rectangle','string','_logService','socket\x20open.','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','executeCommand','_changesetReqId','IContextService','unitId','_transformSelections','debug','_permissionService','_event$','setCurrentUser','_transformService','encodeURIComponent','HELLO','offline','createDecryptor','href','CommandType','finalize','repeat','randomBytes','key','change$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_revisionService','sequenceExecute','_data','SEND_CHANGESET_TIMEOUT','[SyncedState]:\x20received\x20rejection.','_disableEditing','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','CONNECTOR_DATA_TOO_LARGE','_showConflictNotification','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','name','json','fetching\x20missing\x20changesets\x20from\x20','ceil','CollaborationStatus','image/jpg','DEFAULT_FILE_NAME','CollaborationSession','createIdentifier','[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.','startsWith','AES','confirm','_removeRoom','[FetchMissState]','size','image/png','focused$','DEFAULT_COLLAB_WEB_SOCKET_URL','msCrypto','FETCH_MISS','_updateState','NoPadding','_imageSourceCache','CollaborationEntity','MSG_FOR_ERROR','clone','collaMsg','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','requireSession','UNDEFINED','_getUndoStack','univer-pro.collaboration-client.single-active-unit-service','AwaitingWithPendingState','getDeserializedSheetBlock','every','_tryReconnect','/universer-api/file/{fileID}/sign-url','ERROR_EXCEED_SIZE','state','runId','_createSocketURL','COMMENT_UPDATE','isTransformChangesetsSuccess','collaborators','update','authzUrl','YUUMI_URL_COL_OUT_OF_RANGE','_onUserJoin','_getDownloadEndpointURL','then','HttpImport','localeService','_getLoginPath','Inject','[DataLoaderService]','get','TOO_MANY_REQUESTS','_incrementRevisionNumber','SUCCUSS','sessionTicket','_prevBlock','PENDING','onCommentUpdate','_rescheduleHeartbeat','\x20to\x20','RETRY_CONNECTING_MAX_COUNT','UUID','resolve','title','_getCtorByUniverType','originalMeta','downloadEndpointUrl','/resources','registerHTTPInterceptor','Utf8','_onFetchMissResult','/collaborator','_initUnitPermissionChange','IUniverInstanceService','unitID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ALREADY_EXISTS','create','addHandlerCallback','LIVESHARE_OPERATION','sendChangesetTimeout','JOINING','slice','_awaitingChangeset','catch','/-/object/list','SOCKET_FAILED','UPDATE_PERMISSION_OBJ','fromCollab','_pendingMutations','onTransformRemoteChangesetByIMECache','_onRemoteACK','stopTime','LICENSE_EXPORT_SIZE_EXCEEDED','fetchThroughInterceptors','_retryConnectingTimer','onCommandExecuted','reqId','defineProperty','RECV','onTransformSelections','UniverCollaborationPlugin','SheetsSelectionsService','_sendHeartbeat','ConflictState','_queuedRemoteChangesets','updateMember','CHANGESET_SHOULD_RETRY','__creator','PERMISSION_REJ','open$','_substituteRedoStack','_onRemoteRetry','APPLY_NON_SEQUENTIAL_REVISION','_localCacheService','sigBytes','getCollabEntity$','dispose$','_socketService','[CollaborationUndoRedoService]','IAuthzIoService','sessionStatus$','_sessionStatus$','enc','roles','YUUMI_SUBSCRIPTION_NOT_FOUND','UNIVER_UNKNOWN','collabWebSocketUrl','withCredentials','_remoteChangesetQueue','_hash','USERS_LEAVE','_invKeySchedule','HmacSHA1','getRandomValues','exports','_updateStatus','getRoom','_updateLocalCache','_lockTransition','getCurrentRevOfUnit','_change$','1153889XMGXWl','PSEUDO_FETCH_MISSING_RESULT','toggleOnline','_keySchedule','/unit/','IConfigService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_onCombEvent','@univerjs/docs','@univerjs/network','Undefined','PasswordBasedCipher','selections','INetworkConditionService','url','location','_transitionLocked','_HTTPService','readyForCollab','close$','capture','submit\x20changeset\x20error!','Workbook','socketService','_transformIMECache','getFocusedUnit','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_configService','unknown','uploadFileServerUrl','HttpExport','[CollaborationEntity]','routeKey','UNIVER_DOC','[OfflineState]:\x20received\x20acknowledgement.','_timeoutTimer','_telemetryService','stringify','enableSingleActiveInstanceLock','_getSendChangesetTimeout','pluginName','fetchMiss','_syncEditingCollabCursor','delay','HEARTBEAT_INTERVAL_KEY','function','subject','reset','baseRev','StreamCipher','_snapshotServerService','toStringTag','ISingleActiveUnitService','parseProtocolChangeset','459kFrmmz','_loadDoc','RichTextEditingMutation','onRemoteChangeset','RxDisposable','getValue','UNIVER_SHEET','YUUMI_RATE_OVER_LIMIT','UNKNOWN_CODE','_socketReady','result','appendMutation','_snapshotService','BlockCipherMode','getAllMembers','fromCharCode','_doCryptBlock','Pkcs7','SUBMIT_CHANGESET','_type','_undoRedoService','avatar','USERS_ENTER','/allowed','pending','decryptBlock','_unlockTransition','_clearRedo','_clearCollaborationTimeoutTimer','[SyncedState]:\x20received\x20acknowledgement.','_createHmacHelper','_socket$','asObservable','updateCollaborator','COMPLETION_FINISHED','_onRecvEvent','random','allowed','_onRemoteChangeset','_reverseMap','SYNCED','CollaborationController','getInterceptPoints','map','CollaborationUIEventId','csAckEvent','ONLINE','not_collab','objectType','@univerjs/telemetry','YUUMI_UNABLE_LOAD_URL','CLOSE_ROOM','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','createSocket','ITransformService','ITelemetryService','_members','SnapshotServerOverHTTPService','search','_getSignURL','objectID','_substituteUndoStack','createEncryptor','getTypeOfUnitDisposed$','ImageSourceType','keySize','JOIN_ROOM_FAILED','_collaborationTimeoutTimer','objectActions','collaboration_new_changeset','textEncoder','closeSession','processBlock','copyFileMeta','deserializeToCombResponse','params','/universer-api/uniscript','SOCKET_FAILED_RETRY','_executeRemoteChangeset','Optional','PY_RUNTIME_SCRIPT_ERROR','_ENC_XFORM_MODE','[PendingState]:\x20received\x20rejection.','find','AWAITING','[CollaborationSession]','pipe','from','isTransformMutationsWithChangesetSuccess','SheetCollaborationEntity','JOIN','DisposableCollection','formatter','_sendHeartbeatTimer','listRoles','floor','APPLY_REVISION_CONFILICT','/universer-api/authz','UNAUTHENTICATED','getImage','Could\x20not\x20dynamically\x20require\x20\x22','HEARTBEAT_TIMEOUT','randomUUID','getUnit','c1Prime','fetch_missing','toDisposable','type','eventID','24201nnygIZ','ILogService','LIVESHARE_FETCH_OPERATIONS','waitForRoom$','encode','LIVESHARE_TERMINATE','/object/','apply','_clearTimeoutTimer','AuthzIoHttpService','clamp','Subject','push','ICommandService','telemetry\x20info\x20is\x20not\x20initialized','onMissedChangesetFetched','m2Prime','code','UNIVER_COLLABORATION_CLIENT_PLUGIN','byteOffset','reduce','Encryptor','@univerjs/drawing','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_getRedoStack','lib','Base','MentionIoHttpService','serializeCombRequest','UnitStatus','socket\x20close','SUBMIT_CHANGESET_TIMEOUT','filter','infoRsp','PERSON','UnitEmbedded','_decreaseWaiting','parse','HMAC','JOIN_ROOM_PERMISSION_DENIED','Hex','headers','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','onMissingChangesets','_registerDependencies','_checkMissing','_roomCreated$','putCollaborators','MemberService','_scheduleCollaborationTimeoutTimer','onTransformState','_onConnectionOpen','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','extend','awaiting','{fileID}','transformSelections','joinRsp','Cipher','getLatestCsReqIdBySid','rxjs','_clearUndo','setWaitCount','conflict','crypto','state$','compute','_unitInfo$','_listenToNetworkCondition','searchParams','min','enableOfflineEditing','POST','_commentService','execute','_startTelemetryCollaborationNewChangeset','_oKey','isInternalEditorID','_config','ivSize','_exhaustRemoteChangesetQueue','action','sid','src','origin','connection\x20error','registerDependencies','IDLE','collabSubmitChangesetUrl','next','_onJoinRoomEvent','ImageUploadStatusType','_fetchMissChangesets','Plugin','resourceIDs','56LLsero','&source=','dispose','UPDATE_CURSOR','session.room-not-exists','_getSessionTicket','init','_stopTelemetryCollaborationNewChangeset','deepClone','LocalUndoRedoService','SyncedState','prototype','_replayCachedMutations','bind','disableLocalCache','post','IPermissionService','_mode','revision','forEach','SHOULD_CLOSE_CONN','algo','getOwnPropertyDescriptor','mode','uniscriptRunEvent','_initRequestHeader','/fetchmissing?from=','_init','mixIn','WordArray','resend','substr','application/json','_transformStack','JOIN_ROOM_NOT_EXISTS','getTime','_transformRemoteChangesetByStateCache','_keyPriorReset','APPLY_PERMISSION_DENIED','reject','join','IImageIoService','OfflineState','BASE64','FETCH_MISSING','SNAPSHOT_INVALID_SNAPSHOT','unsubscribe','OTHER_CLIENT_EDITING','_createHelper','_createSocket','_iKey','pauseCollaboration','includes','IUndoRedoService','patch','userID','send','OTHER_CLIENTS_EDITING','CollaborationEvent','_getAPIPrefix','requestParams','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','close','DocCollaborationEntity','delete','UNRECOGNIZED','_sessions','/universer-api/oidc/authpage','values','INVALID_ARGUMENT','SNAPSHOT_HAS_BEEN_REMOVED','getMember','getGlobalObject','HEARTBEAT','session','_onRemoteRejected','IMentionIOService','reconnect','_undoStacks','[CollaborationSessionService]:\x20socket\x20error','transformMutationsWithChangeset','NEW_CHANGESETS','7577350xvaDEI','\x0aAfter:\x20','People','memberID','NOT_FOUND','status','call','words','_state','onTransformIME','incrementRevOfUnit','ciphertext','LOGIN_URL_KEY','loginUrlKey','c2Prime','getWorkbookSelections','PendingState','isPermissionRej','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','leaveEvent','_onConflict','MD5','_schedule','_minBufferSize','compose','put','CollaborationSocketService','UniverCollaborationClientPlugin','getSheetBlock','_compressMutationService','LOCAL_CACHE_INTERVAL','set','_cipher','failed\x20to\x20apply\x20missed\x20changesets!','synced','list','8weTSof','collaboratorID','getUnitStatus$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','[OfflineState]:\x20received\x20rejection.','_getAPIPrefixPath','saveChangeset','getCurrentUser','ILocalCacheService','has','initWorkbookPermissionChange','_doReset','transformChangesets','_startCollaboration','hasOwnProperty','unit-cache-','Base64','ENSURE_SNAPSHOT_EXECUTION','RevisionService','_initMergeInterceptor','_injector','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_sender','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','[UniverCollaborationClientPlugin]','OPTIONAL','SheetTransformSelectionsService','_transformStateCache','commentUpdate$','deleteCollaborator','\x0aCurrent:\x20','_waitCount','_networkConditionService','_status$','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','onRemoteRej','onlyLocal','_roomMembers','online$','startTime','NOT_COLLAB','_nDataBytes','disposeWithMe','UserManagerService','mergeOverrideWithDependencies','message$','EvpKDF','_xformMode','_toggleOffline','encrypt','charCodeAt','_tryEnsureSocket','take','merge','_http','&to=','toggleOffline','awaiting_with_pending','method','hasher','takeUntil','_singleActiveUnitService','members','_candidateSocket','charAt','subscribe','/new_changes','onTransformRemoteChangesetByStateCache','session.room-full','concat','generateRandomId','CompressMutationService','/universer-api/snapshot','mutations','pad','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_scheduleCompleteTimestamp','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','INTERNAL_ERROR','LOCAL_CACHE_INTERVAL_KEY','APPLY_REJECT','actions','_commandService','_telemetryInfo','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_collaborationSessionService','_socketMessageSubscription','CollaborativeUndoRedoService','_process','_iv','loadOfflineData','/-/object/-/batch_allowed','_map','Error\x20on\x20receiving\x20event','session.join-failed','_handlerCallback','loadDoc','SNAPSHOT_SERVER_URL_KEY','CHANGESET_REJ','image/bmp','image/jpeg','UNISCRIPT_RUN','blockSize','length','_collaborationUIEventService','__esModule','save\x20fail\x20reason\x20is\x20','AUTHZ_URL_KEY','Malformed\x20UTF-8\x20data','AwaitingState','awaitingChangeset','localCacheService','_isPermissionRej','Decryptor','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_createInitialState','LICENSE_MAX_UNITS_EXCEEDED','346070QCnOQd','Disposable','Injector','_authzIoService','UniverNetworkPlugin','textRanges','_getUploadFileURL','removeMember','&assign=','rng','Hasher','PERMISSION_DENIED','default','_key','getCollabEntity','?url=','univer-pro.collaboration-client-socket-service','_resendTimer','wsSessionTicketUrl','_memberService','shareReplay','__Key__'];_0x8269=function(){return _0x2bb450;};return _0x8269();}var Te={'exports':{}},ii=Te['exports'],st;function At(){var _0x94129c=_0x23fcf5;return st||(st=0x1,function(_0x1698ca,_0x444c94){(function(_0x4c3613,_0x17f813,_0x633019){var _0x5f5a0b=_0x4d81;_0x1698ca[_0x5f5a0b(0x172)]=_0x17f813(ee(),wt());}(ii,function(_0x24c54b){var _0x317533=_0x4d81;_0x24c54b[_0x317533(0x235)][_0x317533(0x256)]||function(_0x2dd33f){var _0x219e0e=_0x317533,_0x225d80=_0x24c54b,_0x501232=_0x225d80[_0x219e0e(0x235)],_0xf6a146=_0x501232[_0x219e0e(0x236)],_0x1785a5=_0x501232[_0x219e0e(0x298)],_0x1f6855=_0x501232[_0x219e0e(0x395)],_0x6c059a=_0x225d80['enc'];_0x6c059a['Utf8'];var _0x3a5c4b=_0x6c059a[_0x219e0e(0x301)],_0x7817ad=_0x225d80[_0x219e0e(0x290)],_0x42b25e=_0x7817ad[_0x219e0e(0x31f)],_0x969315=_0x501232[_0x219e0e(0x256)]=_0x1f6855[_0x219e0e(0x251)]({'cfg':_0xf6a146[_0x219e0e(0x251)](),'createEncryptor':function(_0x2ed38b,_0x14a7c9){var _0x27e6b3=_0x219e0e;return this[_0x27e6b3(0x138)](this[_0x27e6b3(0x200)],_0x2ed38b,_0x14a7c9);},'createDecryptor':function(_0x3bc764,_0x250635){var _0x4e007e=_0x219e0e;return this[_0x4e007e(0x138)](this['_DEC_XFORM_MODE'],_0x3bc764,_0x250635);},'init':function(_0x76f5df,_0x32ff1d,_0x3d4228){var _0x1d15ff=_0x219e0e;this[_0x1d15ff(0x3f1)]=this['cfg']['extend'](_0x3d4228),this[_0x1d15ff(0x320)]=_0x76f5df,this[_0x1d15ff(0x373)]=_0x32ff1d,this[_0x1d15ff(0x1a8)]();},'reset':function(){var _0x49d6aa=_0x219e0e;_0x1f6855['reset'][_0x49d6aa(0x2d3)](this),this[_0x49d6aa(0x2fc)]();},'process':function(_0x26f21c){var _0x49a547=_0x219e0e;return this[_0x49a547(0x3f6)](_0x26f21c),this[_0x49a547(0x349)]();},'finalize':function(_0x775814){var _0x23b7b1=_0x219e0e;_0x775814&&this[_0x23b7b1(0x3f6)](_0x775814);var _0x1bc047=this['_doFinalize']();return _0x1bc047;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xdd5f9b(_0x155f24){return typeof _0x155f24=='string'?_0x2bae81:_0x5f8621;}return function(_0x545484){return{'encrypt':function(_0x559092,_0x14a8ab,_0x524de2){var _0x4d1257=_0x4d81;return _0xdd5f9b(_0x14a8ab)[_0x4d1257(0x322)](_0x545484,_0x559092,_0x14a8ab,_0x524de2);},'decrypt':function(_0x1390c0,_0x49b0a2,_0x4f077e){return _0xdd5f9b(_0x49b0a2)['decrypt'](_0x545484,_0x1390c0,_0x49b0a2,_0x4f077e);}};};}())});_0x501232[_0x219e0e(0x1aa)]=_0x969315['extend']({'_doFinalize':function(){var _0x1c0acf=_0x219e0e,_0x43481e=this[_0x1c0acf(0x349)](!0x0);return _0x43481e;},'blockSize':0x1});var _0x4e9198=_0x225d80[_0x219e0e(0x292)]={},_0x74fcf3=_0x501232[_0x219e0e(0x1bc)]=_0xf6a146[_0x219e0e(0x251)]({'createEncryptor':function(_0x319891,_0x23e25c){var _0x3c74f1=_0x219e0e;return this[_0x3c74f1(0x231)][_0x3c74f1(0x138)](_0x319891,_0x23e25c);},'createDecryptor':function(_0x1fdcdf,_0x31d646){var _0x425202=_0x219e0e;return this['Decryptor'][_0x425202(0x138)](_0x1fdcdf,_0x31d646);},'init':function(_0x4dfc32,_0x47e132){var _0x12c64e=_0x219e0e;this[_0x12c64e(0x2ed)]=_0x4dfc32,this[_0x12c64e(0x34a)]=_0x47e132;}}),_0x52038b=_0x4e9198['CBC']=(function(){var _0x5f56dd=_0x219e0e,_0x4f8965=_0x74fcf3[_0x5f56dd(0x251)]();_0x4f8965[_0x5f56dd(0x231)]=_0x4f8965[_0x5f56dd(0x251)]({'processBlock':function(_0x15ec15,_0x4d021b){var _0x2a9d77=_0x5f56dd,_0x399f0c=this[_0x2a9d77(0x2ed)],_0x4c8832=_0x399f0c['blockSize'];_0x30e601[_0x2a9d77(0x2d3)](this,_0x15ec15,_0x4d021b,_0x4c8832),_0x399f0c[_0x2a9d77(0x381)](_0x15ec15,_0x4d021b),this[_0x2a9d77(0x121)]=_0x15ec15[_0x2a9d77(0x13d)](_0x4d021b,_0x4d021b+_0x4c8832);}}),_0x4f8965[_0x5f56dd(0x362)]=_0x4f8965['extend']({'processBlock':function(_0x2f4cdf,_0x3d3d9f){var _0x112084=_0x5f56dd,_0x295339=this[_0x112084(0x2ed)],_0x518862=_0x295339[_0x112084(0x357)],_0x5eb854=_0x2f4cdf[_0x112084(0x13d)](_0x3d3d9f,_0x3d3d9f+_0x518862);_0x295339[_0x112084(0x1c8)](_0x2f4cdf,_0x3d3d9f),_0x30e601[_0x112084(0x2d3)](this,_0x2f4cdf,_0x3d3d9f,_0x518862),this['_prevBlock']=_0x5eb854;}});function _0x30e601(_0x221586,_0x39c963,_0xdadfa){var _0x180848=_0x5f56dd,_0x479eea,_0x1a948f=this[_0x180848(0x34a)];_0x1a948f?(_0x479eea=_0x1a948f,this['_iv']=_0x2dd33f):_0x479eea=this[_0x180848(0x121)];for(var _0x4eebd6=0x0;_0x4eebd6<_0xdadfa;_0x4eebd6++)_0x221586[_0x39c963+_0x4eebd6]^=_0x479eea[_0x4eebd6];}return _0x4f8965;}()),_0x43d20d=_0x225d80[_0x219e0e(0x33b)]={},_0x36861c=_0x43d20d[_0x219e0e(0x1c0)]={'pad':function(_0x3ba31d,_0x599453){var _0x4711db=_0x219e0e;for(var _0x36ccc5=_0x599453*0x4,_0x32f2c8=_0x36ccc5-_0x3ba31d[_0x4711db(0x15e)]%_0x36ccc5,_0x19a7cd=_0x32f2c8<<0x18|_0x32f2c8<<0x10|_0x32f2c8<<0x8|_0x32f2c8,_0x35174a=[],_0x5b4531=0x0;_0x5b4531<_0x32f2c8;_0x5b4531+=0x4)_0x35174a[_0x4711db(0x228)](_0x19a7cd);var _0xd1288a=_0x1785a5[_0x4711db(0x138)](_0x35174a,_0x32f2c8);_0x3ba31d[_0x4711db(0x336)](_0xd1288a);},'unpad':function(_0x207a5c){var _0x17fb5e=_0x219e0e,_0x5a513b=_0x207a5c[_0x17fb5e(0x2d4)][_0x207a5c['sigBytes']-0x1>>>0x2]&0xff;_0x207a5c[_0x17fb5e(0x15e)]-=_0x5a513b;}};_0x501232['BlockCipher']=_0x969315[_0x219e0e(0x251)]({'cfg':_0x969315[_0x219e0e(0x3f1)][_0x219e0e(0x251)]({'mode':_0x52038b,'padding':_0x36861c}),'reset':function(){var _0x3b93f4=_0x219e0e,_0x444415;_0x969315[_0x3b93f4(0x1a8)]['call'](this);var _0x34f6ac=this[_0x3b93f4(0x3f1)],_0x4286be=_0x34f6ac['iv'],_0x78ae8b=_0x34f6ac['mode'];this[_0x3b93f4(0x320)]==this['_ENC_XFORM_MODE']?_0x444415=_0x78ae8b[_0x3b93f4(0x1ed)]:(_0x444415=_0x78ae8b[_0x3b93f4(0x457)],this[_0x3b93f4(0x2e4)]=0x1),this[_0x3b93f4(0x28c)]&&this[_0x3b93f4(0x28c)]['__creator']==_0x444415?this[_0x3b93f4(0x28c)][_0x3b93f4(0x281)](this,_0x4286be&&_0x4286be['words']):(this[_0x3b93f4(0x28c)]=_0x444415[_0x3b93f4(0x2d3)](_0x78ae8b,this,_0x4286be&&_0x4286be['words']),this[_0x3b93f4(0x28c)][_0x3b93f4(0x157)]=_0x444415);},'_doProcessBlock':function(_0x5847ba,_0x26b598){var _0x50d511=_0x219e0e;this['_mode'][_0x50d511(0x1f7)](_0x5847ba,_0x26b598);},'_doFinalize':function(){var _0x1cb21a=_0x219e0e,_0x1473eb,_0x241241=this[_0x1cb21a(0x3f1)][_0x1cb21a(0x39a)];return this[_0x1cb21a(0x320)]==this[_0x1cb21a(0x200)]?(_0x241241[_0x1cb21a(0x33b)](this['_data'],this[_0x1cb21a(0x357)]),_0x1473eb=this[_0x1cb21a(0x349)](!0x0)):(_0x1473eb=this[_0x1cb21a(0x349)](!0x0),_0x241241['unpad'](_0x1473eb)),_0x1473eb;},'blockSize':0x80/0x20});var _0x2fb406=_0x501232['CipherParams']=_0xf6a146[_0x219e0e(0x251)]({'init':function(_0x10004d){var _0x3bdf52=_0x219e0e;this[_0x3bdf52(0x297)](_0x10004d);},'toString':function(_0x52dabe){var _0x51b504=_0x219e0e;return(_0x52dabe||this[_0x51b504(0x20b)])[_0x51b504(0x19e)](this);}}),_0x15ecd1=_0x225d80[_0x219e0e(0x3df)]={},_0x8a2dee=_0x15ecd1[_0x219e0e(0x3a1)]={'stringify':function(_0x11f551){var _0x27bb94=_0x219e0e,_0x5636e3,_0x6c7335=_0x11f551['ciphertext'],_0x3760d0=_0x11f551[_0x27bb94(0x380)];return _0x3760d0?_0x5636e3=_0x1785a5['create']([0x53616c74,0x65645f5f])[_0x27bb94(0x336)](_0x3760d0)[_0x27bb94(0x336)](_0x6c7335):_0x5636e3=_0x6c7335,_0x5636e3[_0x27bb94(0x43f)](_0x3a5c4b);},'parse':function(_0x63fd3e){var _0x449909=_0x219e0e,_0x546c97,_0x40fc9d=_0x3a5c4b[_0x449909(0x241)](_0x63fd3e),_0x52b80f=_0x40fc9d[_0x449909(0x2d4)];return _0x52b80f[0x0]==0x53616c74&&_0x52b80f[0x1]==0x65645f5f&&(_0x546c97=_0x1785a5['create'](_0x52b80f[_0x449909(0x13d)](0x2,0x4)),_0x52b80f[_0x449909(0x3e4)](0x0,0x4),_0x40fc9d[_0x449909(0x15e)]-=0x10),_0x2fb406[_0x449909(0x138)]({'ciphertext':_0x40fc9d,'salt':_0x546c97});}},_0x5f8621=_0x501232[_0x219e0e(0x439)]=_0xf6a146[_0x219e0e(0x251)]({'cfg':_0xf6a146[_0x219e0e(0x251)]({'format':_0x8a2dee}),'encrypt':function(_0x299dee,_0x2520f8,_0x44af8c,_0x5aa9f3){var _0x10ff99=_0x219e0e;_0x5aa9f3=this['cfg'][_0x10ff99(0x251)](_0x5aa9f3);var _0x3cfee7=_0x299dee['createEncryptor'](_0x44af8c,_0x5aa9f3),_0x5a53c0=_0x3cfee7[_0x10ff99(0xd4)](_0x2520f8),_0x44eccb=_0x3cfee7[_0x10ff99(0x3f1)];return _0x2fb406[_0x10ff99(0x138)]({'ciphertext':_0x5a53c0,'key':_0x44af8c,'iv':_0x44eccb['iv'],'algorithm':_0x299dee,'mode':_0x44eccb[_0x10ff99(0x292)],'padding':_0x44eccb['padding'],'blockSize':_0x299dee[_0x10ff99(0x357)],'formatter':_0x5aa9f3[_0x10ff99(0x3df)]});},'decrypt':function(_0x56c1e4,_0x3583eb,_0x1c4b3e,_0x330325){var _0x2e6d9f=_0x219e0e;_0x330325=this[_0x2e6d9f(0x3f1)]['extend'](_0x330325),_0x3583eb=this['_parse'](_0x3583eb,_0x330325[_0x2e6d9f(0x3df)]);var _0x307464=_0x56c1e4[_0x2e6d9f(0x457)](_0x1c4b3e,_0x330325)['finalize'](_0x3583eb[_0x2e6d9f(0x2d8)]);return _0x307464;},'_parse':function(_0x14d4aa,_0x3720a4){var _0x3ee868=_0x219e0e;return typeof _0x14d4aa==_0x3ee868(0x446)?_0x3720a4[_0x3ee868(0x241)](_0x14d4aa,this):_0x14d4aa;}}),_0x3cbe2c=_0x225d80['kdf']={},_0xebed5f=_0x3cbe2c[_0x219e0e(0x3a1)]={'execute':function(_0x9cbd0a,_0x5abdf0,_0x81e804,_0x267b9d,_0x6c707f){var _0x56b948=_0x219e0e;if(_0x267b9d||(_0x267b9d=_0x1785a5[_0x56b948(0x1d3)](0x40/0x8)),_0x6c707f)var _0x158d00=_0x42b25e[_0x56b948(0x138)]({'keySize':_0x5abdf0+_0x81e804,'hasher':_0x6c707f})['compute'](_0x9cbd0a,_0x267b9d);else var _0x158d00=_0x42b25e[_0x56b948(0x138)]({'keySize':_0x5abdf0+_0x81e804})[_0x56b948(0x25e)](_0x9cbd0a,_0x267b9d);var _0x1ebbcf=_0x1785a5[_0x56b948(0x138)](_0x158d00[_0x56b948(0x2d4)][_0x56b948(0x13d)](_0x5abdf0),_0x81e804*0x4);return _0x158d00[_0x56b948(0x15e)]=_0x5abdf0*0x4,_0x2fb406['create']({'key':_0x158d00,'iv':_0x1ebbcf,'salt':_0x267b9d});}},_0x2bae81=_0x501232[_0x219e0e(0x184)]=_0x5f8621[_0x219e0e(0x251)]({'cfg':_0x5f8621[_0x219e0e(0x3f1)][_0x219e0e(0x251)]({'kdf':_0xebed5f}),'encrypt':function(_0x4d6655,_0x661da,_0x1debcc,_0x3dd89d){var _0x54a736=_0x219e0e;_0x3dd89d=this['cfg']['extend'](_0x3dd89d);var _0x302c07=_0x3dd89d['kdf'][_0x54a736(0x266)](_0x1debcc,_0x4d6655[_0x54a736(0x1f0)],_0x4d6655[_0x54a736(0x26b)],_0x3dd89d[_0x54a736(0x380)],_0x3dd89d[_0x54a736(0x32c)]);_0x3dd89d['iv']=_0x302c07['iv'];var _0x1cde5a=_0x5f8621[_0x54a736(0x322)][_0x54a736(0x2d3)](this,_0x4d6655,_0x661da,_0x302c07[_0x54a736(0xd7)],_0x3dd89d);return _0x1cde5a['mixIn'](_0x302c07),_0x1cde5a;},'decrypt':function(_0x363569,_0x5b73ba,_0xd16451,_0x65caf9){var _0x3450fb=_0x219e0e;_0x65caf9=this[_0x3450fb(0x3f1)][_0x3450fb(0x251)](_0x65caf9),_0x5b73ba=this['_parse'](_0x5b73ba,_0x65caf9['format']);var _0x1d2f85=_0x65caf9['kdf'][_0x3450fb(0x266)](_0xd16451,_0x363569[_0x3450fb(0x1f0)],_0x363569[_0x3450fb(0x26b)],_0x5b73ba['salt'],_0x65caf9['hasher']);_0x65caf9['iv']=_0x1d2f85['iv'];var _0x285cef=_0x5f8621[_0x3450fb(0x412)]['call'](this,_0x363569,_0x5b73ba,_0x1d2f85[_0x3450fb(0xd7)],_0x65caf9);return _0x285cef;}});}();}));}(Te)),Te[_0x94129c(0x172)];}var ri=Se[_0x23fcf5(0x172)],ot;function si(){var _0x3fc6d3=_0x23fcf5;return ot||(ot=0x1,function(_0x49c29e,_0x1ecb0b){(function(_0x51b496,_0x396f66,_0x391bb7){var _0x299a50=_0x4d81;_0x49c29e[_0x299a50(0x172)]=_0x396f66(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x4071f2){var _0x3b2c08=_0x4d81;return(function(){var _0x504d8a=_0x4d81,_0x1816f1=_0x4071f2,_0x3a109b=_0x1816f1[_0x504d8a(0x235)],_0x5d1fa8=_0x3a109b[_0x504d8a(0x3c7)],_0x77a44e=_0x1816f1[_0x504d8a(0x290)],_0x132559=[],_0x354721=[],_0x212ddb=[],_0x2b35a2=[],_0x5bfa72=[],_0x2a2deb=[],_0x10b4df=[],_0x2a9475=[],_0x488266=[],_0x30f2e1=[];(function(){for(var _0x216b64=[],_0x51840d=0x0;_0x51840d<0x100;_0x51840d++)_0x51840d<0x80?_0x216b64[_0x51840d]=_0x51840d<<0x1:_0x216b64[_0x51840d]=_0x51840d<<0x1^0x11b;for(var _0x3a8db6=0x0,_0x1f7542=0x0,_0x51840d=0x0;_0x51840d<0x100;_0x51840d++){var _0x204937=_0x1f7542^_0x1f7542<<0x1^_0x1f7542<<0x2^_0x1f7542<<0x3^_0x1f7542<<0x4;_0x204937=_0x204937>>>0x8^_0x204937&0xff^0x63,_0x132559[_0x3a8db6]=_0x204937,_0x354721[_0x204937]=_0x3a8db6;var _0x963084=_0x216b64[_0x3a8db6],_0x1e4a44=_0x216b64[_0x963084],_0x1c1afc=_0x216b64[_0x1e4a44],_0x4ab211=_0x216b64[_0x204937]*0x101^_0x204937*0x1010100;_0x212ddb[_0x3a8db6]=_0x4ab211<<0x18|_0x4ab211>>>0x8,_0x2b35a2[_0x3a8db6]=_0x4ab211<<0x10|_0x4ab211>>>0x10,_0x5bfa72[_0x3a8db6]=_0x4ab211<<0x8|_0x4ab211>>>0x18,_0x2a2deb[_0x3a8db6]=_0x4ab211;var _0x4ab211=_0x1c1afc*0x1010101^_0x1e4a44*0x10001^_0x963084*0x101^_0x3a8db6*0x1010100;_0x10b4df[_0x204937]=_0x4ab211<<0x18|_0x4ab211>>>0x8,_0x2a9475[_0x204937]=_0x4ab211<<0x10|_0x4ab211>>>0x10,_0x488266[_0x204937]=_0x4ab211<<0x8|_0x4ab211>>>0x18,_0x30f2e1[_0x204937]=_0x4ab211,_0x3a8db6?(_0x3a8db6=_0x963084^_0x216b64[_0x216b64[_0x216b64[_0x1c1afc^_0x963084]]],_0x1f7542^=_0x216b64[_0x216b64[_0x1f7542]]):_0x3a8db6=_0x1f7542=0x1;}}());var _0xf529db=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5edfaa=_0x77a44e[_0x504d8a(0xef)]=_0x5d1fa8[_0x504d8a(0x251)]({'_doReset':function(){var _0x2e8fd0=_0x504d8a,_0x146629;if(!(this['_nRounds']&&this[_0x2e8fd0(0x2a0)]===this[_0x2e8fd0(0x373)])){for(var _0xc507a8=this[_0x2e8fd0(0x2a0)]=this[_0x2e8fd0(0x373)],_0x234e40=_0xc507a8[_0x2e8fd0(0x2d4)],_0xf77370=_0xc507a8[_0x2e8fd0(0x15e)]/0x4,_0x3b25f0=this[_0x2e8fd0(0x386)]=_0xf77370+0x6,_0x1f8fd6=(_0x3b25f0+0x1)*0x4,_0x39432e=this[_0x2e8fd0(0x17c)]=[],_0x188cd7=0x0;_0x188cd7<_0x1f8fd6;_0x188cd7++)_0x188cd7<_0xf77370?_0x39432e[_0x188cd7]=_0x234e40[_0x188cd7]:(_0x146629=_0x39432e[_0x188cd7-0x1],_0x188cd7%_0xf77370?_0xf77370>0x6&&_0x188cd7%_0xf77370==0x4&&(_0x146629=_0x132559[_0x146629>>>0x18]<<0x18|_0x132559[_0x146629>>>0x10&0xff]<<0x10|_0x132559[_0x146629>>>0x8&0xff]<<0x8|_0x132559[_0x146629&0xff]):(_0x146629=_0x146629<<0x8|_0x146629>>>0x18,_0x146629=_0x132559[_0x146629>>>0x18]<<0x18|_0x132559[_0x146629>>>0x10&0xff]<<0x10|_0x132559[_0x146629>>>0x8&0xff]<<0x8|_0x132559[_0x146629&0xff],_0x146629^=_0xf529db[_0x188cd7/_0xf77370|0x0]<<0x18),_0x39432e[_0x188cd7]=_0x39432e[_0x188cd7-_0xf77370]^_0x146629);for(var _0x7514a7=this[_0x2e8fd0(0x16f)]=[],_0x2ff5a1=0x0;_0x2ff5a1<_0x1f8fd6;_0x2ff5a1++){var _0x188cd7=_0x1f8fd6-_0x2ff5a1;if(_0x2ff5a1%0x4)var _0x146629=_0x39432e[_0x188cd7];else var _0x146629=_0x39432e[_0x188cd7-0x4];_0x2ff5a1<0x4||_0x188cd7<=0x4?_0x7514a7[_0x2ff5a1]=_0x146629:_0x7514a7[_0x2ff5a1]=_0x10b4df[_0x132559[_0x146629>>>0x18]]^_0x2a9475[_0x132559[_0x146629>>>0x10&0xff]]^_0x488266[_0x132559[_0x146629>>>0x8&0xff]]^_0x30f2e1[_0x132559[_0x146629&0xff]];}}},'encryptBlock':function(_0x3e128f,_0x31cda2){var _0x29604f=_0x504d8a;this[_0x29604f(0x1bf)](_0x3e128f,_0x31cda2,this['_keySchedule'],_0x212ddb,_0x2b35a2,_0x5bfa72,_0x2a2deb,_0x132559);},'decryptBlock':function(_0x1b4506,_0x3120a2){var _0x35a7b2=_0x504d8a,_0x10dfc3=_0x1b4506[_0x3120a2+0x1];_0x1b4506[_0x3120a2+0x1]=_0x1b4506[_0x3120a2+0x3],_0x1b4506[_0x3120a2+0x3]=_0x10dfc3,this['_doCryptBlock'](_0x1b4506,_0x3120a2,this[_0x35a7b2(0x16f)],_0x10b4df,_0x2a9475,_0x488266,_0x30f2e1,_0x354721);var _0x10dfc3=_0x1b4506[_0x3120a2+0x1];_0x1b4506[_0x3120a2+0x1]=_0x1b4506[_0x3120a2+0x3],_0x1b4506[_0x3120a2+0x3]=_0x10dfc3;},'_doCryptBlock':function(_0x50b13e,_0x1dbd8b,_0x540c51,_0x448bbc,_0x38e15b,_0x2cbcb1,_0x1cde18,_0x52d7b4){var _0x516683=_0x504d8a;for(var _0x1de325=this[_0x516683(0x386)],_0x350817=_0x50b13e[_0x1dbd8b]^_0x540c51[0x0],_0x5410cb=_0x50b13e[_0x1dbd8b+0x1]^_0x540c51[0x1],_0x3aa499=_0x50b13e[_0x1dbd8b+0x2]^_0x540c51[0x2],_0x11fb5f=_0x50b13e[_0x1dbd8b+0x3]^_0x540c51[0x3],_0x570bd8=0x4,_0x36a803=0x1;_0x36a803<_0x1de325;_0x36a803++){var _0x216d49=_0x448bbc[_0x350817>>>0x18]^_0x38e15b[_0x5410cb>>>0x10&0xff]^_0x2cbcb1[_0x3aa499>>>0x8&0xff]^_0x1cde18[_0x11fb5f&0xff]^_0x540c51[_0x570bd8++],_0x3436cd=_0x448bbc[_0x5410cb>>>0x18]^_0x38e15b[_0x3aa499>>>0x10&0xff]^_0x2cbcb1[_0x11fb5f>>>0x8&0xff]^_0x1cde18[_0x350817&0xff]^_0x540c51[_0x570bd8++],_0x59df55=_0x448bbc[_0x3aa499>>>0x18]^_0x38e15b[_0x11fb5f>>>0x10&0xff]^_0x2cbcb1[_0x350817>>>0x8&0xff]^_0x1cde18[_0x5410cb&0xff]^_0x540c51[_0x570bd8++],_0x12098e=_0x448bbc[_0x11fb5f>>>0x18]^_0x38e15b[_0x350817>>>0x10&0xff]^_0x2cbcb1[_0x5410cb>>>0x8&0xff]^_0x1cde18[_0x3aa499&0xff]^_0x540c51[_0x570bd8++];_0x350817=_0x216d49,_0x5410cb=_0x3436cd,_0x3aa499=_0x59df55,_0x11fb5f=_0x12098e;}var _0x216d49=(_0x52d7b4[_0x350817>>>0x18]<<0x18|_0x52d7b4[_0x5410cb>>>0x10&0xff]<<0x10|_0x52d7b4[_0x3aa499>>>0x8&0xff]<<0x8|_0x52d7b4[_0x11fb5f&0xff])^_0x540c51[_0x570bd8++],_0x3436cd=(_0x52d7b4[_0x5410cb>>>0x18]<<0x18|_0x52d7b4[_0x3aa499>>>0x10&0xff]<<0x10|_0x52d7b4[_0x11fb5f>>>0x8&0xff]<<0x8|_0x52d7b4[_0x350817&0xff])^_0x540c51[_0x570bd8++],_0x59df55=(_0x52d7b4[_0x3aa499>>>0x18]<<0x18|_0x52d7b4[_0x11fb5f>>>0x10&0xff]<<0x10|_0x52d7b4[_0x350817>>>0x8&0xff]<<0x8|_0x52d7b4[_0x5410cb&0xff])^_0x540c51[_0x570bd8++],_0x12098e=(_0x52d7b4[_0x11fb5f>>>0x18]<<0x18|_0x52d7b4[_0x350817>>>0x10&0xff]<<0x10|_0x52d7b4[_0x5410cb>>>0x8&0xff]<<0x8|_0x52d7b4[_0x3aa499&0xff])^_0x540c51[_0x570bd8++];_0x50b13e[_0x1dbd8b]=_0x216d49,_0x50b13e[_0x1dbd8b+0x1]=_0x3436cd,_0x50b13e[_0x1dbd8b+0x2]=_0x59df55,_0x50b13e[_0x1dbd8b+0x3]=_0x12098e;},'keySize':0x100/0x20});_0x1816f1[_0x504d8a(0xef)]=_0x5d1fa8[_0x504d8a(0x2ab)](_0x5edfaa);}()),_0x4071f2[_0x3b2c08(0xef)];}));}(Se)),Se[_0x3fc6d3(0x172)];}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be[_0x23fcf5(0x172)],ct;function li(){return ct||(ct=0x1,function(_0x4af181,_0x571e4c){(function(_0x2dbb36,_0x4f9fc0){_0x4af181['exports']=_0x4f9fc0(ee());}(hi,function(_0x5a5f90){return _0x5a5f90['enc']['Utf8'];}));}(be)),be['exports'];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re['exports'],ht;function vi(){var _0x58654f=_0x23fcf5;return ht||(ht=0x1,function(_0x464506,_0x54a03b){(function(_0x4699da,_0xc66811){_0x464506['exports']=_0xc66811(ee());}(di,function(_0x38985f){var _0x445832=_0x4d81;return(function(){var _0x405f8b=_0x4d81;if(typeof ArrayBuffer==_0x405f8b(0x1a6)){var _0x3e390e=_0x38985f,_0xf5734=_0x3e390e[_0x405f8b(0x235)],_0x5ddd2d=_0xf5734[_0x405f8b(0x298)],_0x15307b=_0x5ddd2d[_0x405f8b(0x281)],_0x4b1053=_0x5ddd2d[_0x405f8b(0x281)]=function(_0x26f152){var _0x31396a=_0x405f8b;if(_0x26f152 instanceof ArrayBuffer&&(_0x26f152=new Uint8Array(_0x26f152)),(_0x26f152 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x26f152 instanceof Uint8ClampedArray||_0x26f152 instanceof Int16Array||_0x26f152 instanceof Uint16Array||_0x26f152 instanceof Int32Array||_0x26f152 instanceof Uint32Array||_0x26f152 instanceof Float32Array||_0x26f152 instanceof Float64Array)&&(_0x26f152=new Uint8Array(_0x26f152['buffer'],_0x26f152[_0x31396a(0x22f)],_0x26f152[_0x31396a(0x42b)])),_0x26f152 instanceof Uint8Array){for(var _0x8f91e9=_0x26f152[_0x31396a(0x42b)],_0x2f9137=[],_0x539299=0x0;_0x539299<_0x8f91e9;_0x539299++)_0x2f9137[_0x539299>>>0x2]|=_0x26f152[_0x539299]<<0x18-_0x539299%0x4*0x8;_0x15307b[_0x31396a(0x2d3)](this,_0x2f9137,_0x8f91e9);}else _0x15307b[_0x31396a(0x223)](this,arguments);};_0x4b1053['prototype']=_0x5ddd2d;}}()),_0x38985f[_0x445832(0x235)][_0x445832(0x298)];}));}(Re)),Re[_0x58654f(0x172)];}var fi=vi();const Si=fe(fi);var Oe={'exports':{}},pi=Oe[_0x23fcf5(0x172)],lt;function mi(){var _0x44b677=_0x23fcf5;return lt||(lt=0x1,function(_0x2b019c,_0x262e5b){(function(_0x39d260,_0x778d8e,_0x3eef9f){var _0x183b11=_0x4d81;_0x2b019c[_0x183b11(0x172)]=_0x778d8e(ee(),At());}(pi,function(_0x2aef66){var _0x2e1627=_0x4d81;return _0x2aef66[_0x2e1627(0x33b)][_0x2e1627(0xfa)]={'pad':function(){},'unpad':function(){}},_0x2aef66[_0x2e1627(0x33b)]['NoPadding'];}));}(Oe)),Oe[_0x44b677(0x172)];}var gi=mi();const Ii=fe(gi);function Ei(_0x3c1df7,_0x53a47c){var _0x123ec9=_0x23fcf5;const _0xe1b81=_0x53a47c-_0x3c1df7[_0x123ec9(0x358)]%_0x53a47c,_0x23d155=String[_0x123ec9(0x1be)](_0xe1b81)[_0x123ec9(0xd5)](_0xe1b81);return _0x3c1df7+_0x23d155;}function Ci(_0x51bdb4,_0x55852a){var _0x35a5e4=_0x23fcf5;const _0x1febf1=Si[_0x35a5e4(0x1d3)](0x10),_0x49fe2a=Ei(_0x51bdb4,0x10),_0x304eed=ai[_0x35a5e4(0x322)](ui[_0x35a5e4(0x241)](_0x49fe2a),at[_0x35a5e4(0x241)](_0x55852a),{'iv':_0x1febf1,'padding':Ii});return _0x1febf1['concat'](_0x304eed[_0x35a5e4(0x2d8)])[_0x35a5e4(0x43f)](at);}function Ti(){var _0x2ae5a5=_0x23fcf5;const _0xe76b5b=$t[_0x2ae5a5(0x2c3)]()[_0x2ae5a5(0x37b)];if(_0xe76b5b){const _0x4f83ca={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x2ae5a5(0x3d9)]};return Ci(JSON[_0x2ae5a5(0x19e)](_0x4f83ca),_0xe76b5b);}}var bi=Object[_0x23fcf5(0x14d)],Ri=Object['getOwnPropertyDescriptor'],Oi=(_0x489c9c,_0x43310e,_0x48ff96,_0x589002)=>{var _0x11edf7=_0x23fcf5;for(var _0x244612=_0x589002>0x1?void 0x0:_0x589002?Ri(_0x43310e,_0x48ff96):_0x43310e,_0x30ba30=_0x489c9c[_0x11edf7(0x358)]-0x1,_0x5b10d7;_0x30ba30>=0x0;_0x30ba30--)(_0x5b10d7=_0x489c9c[_0x30ba30])&&(_0x244612=(_0x589002?_0x5b10d7(_0x43310e,_0x48ff96,_0x244612):_0x5b10d7(_0x244612))||_0x244612);return _0x589002&&_0x244612&&bi(_0x43310e,_0x48ff96,_0x244612),_0x244612;},yi=(_0x5a7bab,_0x224ba4)=>(_0xb4f00c,_0x5f12f6)=>_0x224ba4(_0xb4f00c,_0x5f12f6,_0x5a7bab);let Ne=class{constructor(_0x23967d){var _0x448c0f=_0x23fcf5;this[_0x448c0f(0x418)]=_0x23967d,this[_0x448c0f(0x294)]();}[_0x23fcf5(0x294)](){var _0x12fcae=_0x23fcf5;this[_0x12fcae(0x418)][_0x12fcae(0x12e)]({'interceptor':(_0x5c8095,_0x118fb2)=>{var _0x1b6240=_0x12fcae;const _0x5436fe=_0x5c8095[_0x1b6240(0x245)],_0x32a723=Ti();return _0x32a723&&_0x5436fe['set']('x-univer-host',_0x32a723),_0x118fb2(_0x5c8095);}});}};Ne=Oi([yi(0x0,a[_0x23fcf5(0x11a)](q[_0x23fcf5(0x3f3)]))],Ne);var Ni=Object[_0x23fcf5(0x14d)],Ui=Object[_0x23fcf5(0x291)],Pi=(_0x5edffc,_0x1404b3,_0x27f0cd,_0x5ba7cd)=>{for(var _0x50343f=_0x5ba7cd>0x1?void 0x0:_0x5ba7cd?Ui(_0x1404b3,_0x27f0cd):_0x1404b3,_0x527e4b=_0x5edffc['length']-0x1,_0x27cd8b;_0x527e4b>=0x0;_0x527e4b--)(_0x27cd8b=_0x5edffc[_0x527e4b])&&(_0x50343f=(_0x5ba7cd?_0x27cd8b(_0x1404b3,_0x27f0cd,_0x50343f):_0x27cd8b(_0x50343f))||_0x50343f);return _0x5ba7cd&&_0x50343f&&Ni(_0x1404b3,_0x27f0cd,_0x50343f),_0x50343f;},Me=(_0x2244d0,_0x2313a2)=>(_0x4b0052,_0x4afe11)=>_0x2313a2(_0x4b0052,_0x4afe11,_0x2244d0);exports[_0x23fcf5(0x37d)]=class extends a['RxDisposable']{constructor(_0x31a1cd,_0xec5ade,_0x3d969e){var _0x812f5f=_0x23fcf5;super(),D(this,_0x812f5f(0x25f),new H[(_0x812f5f(0x413))](null)),D(this,_0x812f5f(0x3c3),this[_0x812f5f(0x25f)][_0x812f5f(0x1cf)]()),(this[_0x812f5f(0x447)]=_0x31a1cd,this[_0x812f5f(0x1bb)]=_0xec5ade,this[_0x812f5f(0x15d)]=_0x3d969e);}async['loadUnit'](_0x56b690,_0x1d1c7e,_0x4910a2){var _0x210ff=_0x23fcf5;this[_0x210ff(0x25f)][_0x210ff(0x275)]({'unitId':_0x56b690,'type':_0x1d1c7e,'subUnitId':_0x4910a2});let _0x385b73=null;switch(_0x1d1c7e){case Z[_0x210ff(0x1b5)]:{_0x385b73=await this['_loadSheet'](_0x56b690);break;}case Z[_0x210ff(0x19a)]:{_0x385b73=await this[_0x210ff(0x1b0)](_0x56b690);break;}default:{this[_0x210ff(0x447)]['error'](_0x210ff(0x11b),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x385b73;}async['_loadSheet'](_0x5245f1){var _0x1070dc=_0x23fcf5,_0x33299f;let _0x48c238=0x0;const _0x47d286=await((_0x33299f=this[_0x1070dc(0x15d)])==null?void 0x0:_0x33299f['loadOfflineData'](_0x5245f1));return _0x47d286&&(_0x47d286['awaitingChangeset']||_0x47d286[_0x1070dc(0x33a)][_0x1070dc(0x358)]!==0x0)&&(_0x48c238=_0x47d286[_0x1070dc(0x3d3)]),_0x48c238===0x0&&this[_0x1070dc(0x447)][_0x1070dc(0x44f)](_0x1070dc(0x11b),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1070dc(0x1bb)]['loadSheet'](_0x5245f1,_0x48c238);}async['_loadDoc'](_0x56cf55){var _0x1c3790=_0x23fcf5,_0x1cf0ec;let _0x43801a=0x0;const _0x58e91c=await((_0x1cf0ec=this['_localCacheService'])==null?void 0x0:_0x1cf0ec[_0x1c3790(0x34b)](_0x56cf55));return _0x58e91c&&(_0x58e91c[_0x1c3790(0x35f)]||_0x58e91c['mutations'][_0x1c3790(0x358)]!==0x0)&&(_0x43801a=_0x58e91c[_0x1c3790(0x3d3)]),_0x43801a===0x0&&this[_0x1c3790(0x447)]['debug'](_0x1c3790(0x11b),_0x1c3790(0x33e)),this['_snapshotService'][_0x1c3790(0x351)](_0x56cf55,_0x43801a);}},exports['DataLoaderService']=Pi([Me(0x0,a[_0x23fcf5(0x21d)]),Me(0x1,a[_0x23fcf5(0x11a)](m['SnapshotService'])),Me(0x2,a[_0x23fcf5(0x1fe)](z))],exports[_0x23fcf5(0x37d)]);var Di=Object[_0x23fcf5(0x14d)],wi=Object[_0x23fcf5(0x291)],Ai=(_0x399516,_0x34dfa2,_0x3d7992,_0xd573c)=>{var _0x315a68=_0x23fcf5;for(var _0x5e7e1e=_0xd573c>0x1?void 0x0:_0xd573c?wi(_0x34dfa2,_0x3d7992):_0x34dfa2,_0x2f3dd2=_0x399516[_0x315a68(0x358)]-0x1,_0x64f040;_0x2f3dd2>=0x0;_0x2f3dd2--)(_0x64f040=_0x399516[_0x2f3dd2])&&(_0x5e7e1e=(_0xd573c?_0x64f040(_0x34dfa2,_0x3d7992,_0x5e7e1e):_0x64f040(_0x5e7e1e))||_0x5e7e1e);return _0xd573c&&_0x5e7e1e&&Di(_0x34dfa2,_0x3d7992,_0x5e7e1e),_0x5e7e1e;},xe=(_0x33551a,_0x4642b0)=>(_0x3649b0,_0x539615)=>_0x4642b0(_0x3649b0,_0x539615,_0x33551a);const Li=[_0x23fcf5(0xf4),_0x23fcf5(0x355),_0x23fcf5(0xe9),'image/gif',_0x23fcf5(0x354)],Mi=0x5*0x400*0x400,xi=_0x23fcf5(0x449),ji='/universer-api/stream/file/upload',$i=_0x23fcf5(0x306),Hi=_0x23fcf5(0x109);exports[_0x23fcf5(0x43a)]=class{constructor(_0x24ba4f,_0x1c66b0,_0x29ba31){var _0x556e05=_0x23fcf5;D(this,_0x556e05(0x310),0x0),D(this,_0x556e05(0x178),new H[(_0x556e05(0x227))]()),D(this,_0x556e05(0xd8),this[_0x556e05(0x178)]),D(this,_0x556e05(0xfb),new Map()),(this['_httpService']=_0x24ba4f,this[_0x556e05(0x194)]=_0x1c66b0,this['_univerInstanceService']=_0x29ba31);}[_0x23fcf5(0x25a)](_0x56974c){var _0xb3bc75=_0x23fcf5;this[_0xb3bc75(0x310)]=_0x56974c,this['_change$'][_0xb3bc75(0x275)](_0x56974c);}['getImageSourceCache'](_0x534ec7,_0x45b34d){var _0x64f57b=_0x23fcf5;if(_0x45b34d===X['ImageSourceType']['BASE64']){const _0x27d419=new Image();return _0x27d419[_0x64f57b(0x26f)]=_0x534ec7,_0x27d419;}return this[_0x64f57b(0xfb)][_0x64f57b(0x11c)](_0x534ec7);}[_0x23fcf5(0x3db)](_0xe1064f,_0x4cd3ff,_0x4064f6){var _0x234167=_0x23fcf5;_0x4cd3ff===X[_0x234167(0x1ef)][_0x234167(0x2a6)]||_0x4064f6==null||this['_imageSourceCache'][_0x234167(0x2ec)](_0xe1064f,_0x4064f6);}async[_0x23fcf5(0x212)](_0x1853bd){var _0x4602e3=_0x23fcf5;try{const _0x5dc55e=this[_0x4602e3(0x37c)](this[_0x4602e3(0x1ea)](),''+_0x1853bd),_0x300494=(await this[_0x4602e3(0x418)]['get'](_0x5dc55e))[_0x4602e3(0x3b1)];if(_0x300494['error']&&_0x300494[_0x4602e3(0x39b)]['code']===Tt['OK']){const _0x10cb83=new URL(_0x300494['url'],this[_0x4602e3(0x115)]())[_0x4602e3(0x43f)]();return Promise[_0x4602e3(0x128)](_0x10cb83);}return Promise[_0x4602e3(0x2a2)](_0x300494[_0x4602e3(0x39b)]);}catch(_0x395006){return Promise[_0x4602e3(0x2a2)](_0x395006);}}async[_0x23fcf5(0x40a)](_0x21627a){var _0x3af5e8=_0x23fcf5;let _0x3b6c0c='';if(!Li[_0x3af5e8(0x2af)](_0x21627a[_0x3af5e8(0x21a)]))return this[_0x3af5e8(0x240)](),Promise['reject'](new Error(X['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x21627a[_0x3af5e8(0xf3)]>Mi)return this['_decreaseWaiting'](),Promise['reject'](new Error(X[_0x3af5e8(0x277)][_0x3af5e8(0x10a)]));try{const _0x298c2d=new FormData();_0x298c2d['append'](_0x3af5e8(0x417),_0x21627a);const _0xeabcf2=this[_0x3af5e8(0x3ce)][_0x3af5e8(0x192)](),_0x24d63d=_0xeabcf2==null?void 0x0:_0xeabcf2['getUnitId']();if(!_0x24d63d)throw new Error(_0x3af5e8(0x37f));const _0x4291c4=this['_getUploadFileURL']()+_0x3af5e8(0x3bf)+_0x21627a[_0x3af5e8(0xf3)][_0x3af5e8(0x43f)]()+_0x3af5e8(0x27c)+bt['UnitEmbedded']+_0x3af5e8(0x36e)+encodeURIComponent(_0x24d63d),_0x25414e=await(await fetch(_0x4291c4,{'method':_0x3af5e8(0x264),'body':_0x298c2d}))[_0x3af5e8(0xe5)]();if(typeof _0x25414e[_0x3af5e8(0x443)]!=_0x3af5e8(0x446))return this['_decreaseWaiting'](),Promise[_0x3af5e8(0x2a2)](new Error(X[_0x3af5e8(0x277)]['ERROR_IMAGE']));_0x3b6c0c=_0x25414e[_0x3af5e8(0x443)];}catch{return this[_0x3af5e8(0x240)](),Promise[_0x3af5e8(0x2a2)](new Error(X[_0x3af5e8(0x277)][_0x3af5e8(0x3d7)]));}return new Promise((_0x527835,_0xd6d4cc)=>{const _0xf42c9e=new FileReader();_0xf42c9e['readAsDataURL'](_0x21627a),_0xf42c9e['onload']=_0x302005=>{var _0x260832=_0x4d81,_0x417d07;const _0x557d16=(_0x417d07=_0x302005['target'])==null?void 0x0:_0x417d07[_0x260832(0x1b9)];if(_0x557d16==null){this[_0x260832(0x240)](),_0xd6d4cc(new Error(X['ImageUploadStatusType'][_0x260832(0x3d7)]));return;}const _0x56b00d=a[_0x260832(0x38d)][_0x260832(0x337)](0x6);_0x527835({'imageId':_0x56b00d,'imageSourceType':X[_0x260832(0x1ef)][_0x260832(0x127)],'source':_0x3b6c0c,'base64Cache':_0x557d16,'status':X[_0x260832(0x277)][_0x260832(0x11f)]}),this[_0x260832(0x240)]();};});}[_0x23fcf5(0x36c)](){var _0x15d82b=_0x23fcf5,_0x313b8e,_0x31ab66;const _0x57f89f=this[_0x15d82b(0x194)][_0x15d82b(0x3d1)](xi),_0x4c0a97=this[_0x15d82b(0x194)][_0x15d82b(0x3d1)](Y);return(_0x31ab66=(_0x313b8e=_0x4c0a97==null?void 0x0:_0x4c0a97[_0x15d82b(0x196)])!=null?_0x313b8e:_0x57f89f)!=null?_0x31ab66:ji;}[_0x23fcf5(0x1ea)](){var _0x32213f=_0x23fcf5,_0x47847f,_0x291635;const _0x2681f0=this[_0x32213f(0x194)][_0x32213f(0x3d1)]($i),_0x451d60=this[_0x32213f(0x194)]['getConfig'](Y);return(_0x291635=(_0x47847f=_0x451d60==null?void 0x0:_0x451d60['signUrlServerUrl'])!=null?_0x47847f:_0x2681f0)!=null?_0x291635:Hi;}[_0x23fcf5(0x115)](){var _0x25c86a=_0x23fcf5,_0x36874b;const _0x1cb7b8=this[_0x25c86a(0x194)][_0x25c86a(0x3d1)](Y);return(_0x36874b=_0x1cb7b8==null?void 0x0:_0x1cb7b8[_0x25c86a(0x12c)])!=null?_0x36874b:location[_0x25c86a(0x270)];}[_0x23fcf5(0x37c)](_0x4da9ca,_0x2b372a){var _0x472d99=_0x23fcf5;return _0x4da9ca[_0x472d99(0x419)](_0x472d99(0x253),_0x2b372a);}[_0x23fcf5(0x240)](){var _0x3c6d4c=_0x23fcf5;this[_0x3c6d4c(0x310)]-=0x1,this[_0x3c6d4c(0x178)]['next'](this[_0x3c6d4c(0x310)]);}},exports['CollaborationImageIoService']=Ai([xe(0x0,a[_0x23fcf5(0x11a)](q['HTTPService'])),xe(0x1,a['IConfigService']),xe(0x2,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x133)]))],exports[_0x23fcf5(0x43a)]);var ki=Object[_0x23fcf5(0x14d)],Bi=Object['getOwnPropertyDescriptor'],Fi=(_0x1d9562,_0x2532df,_0x3e8246,_0x41b374)=>{var _0x2502da=_0x23fcf5;for(var _0x364773=_0x41b374>0x1?void 0x0:_0x41b374?Bi(_0x2532df,_0x3e8246):_0x2532df,_0x29accc=_0x1d9562[_0x2502da(0x358)]-0x1,_0x365a6d;_0x29accc>=0x0;_0x29accc--)(_0x365a6d=_0x1d9562[_0x29accc])&&(_0x364773=(_0x41b374?_0x365a6d(_0x2532df,_0x3e8246,_0x364773):_0x365a6d(_0x364773))||_0x364773);return _0x41b374&&_0x364773&&ki(_0x2532df,_0x3e8246,_0x364773),_0x364773;},_t=(_0x9b485c,_0x14a6e9)=>(_0x5769af,_0xe3cb92)=>_0x14a6e9(_0x5769af,_0xe3cb92,_0x9b485c);const Wi=_0x23fcf5(0x210);exports[_0x23fcf5(0x237)]=class{constructor(_0x5b2734,_0x54aa38){var _0x35ab0f=_0x23fcf5;this[_0x35ab0f(0x194)]=_0x5b2734,this[_0x35ab0f(0x18a)]=_0x54aa38;}[_0x23fcf5(0x2f6)](){var _0xa5c0a0=_0x23fcf5,_0x587043,_0x3a2250;const _0x5e83ee=this[_0xa5c0a0(0x194)][_0xa5c0a0(0x3d1)](Ve),_0x331477=this['_configService'][_0xa5c0a0(0x3d1)](Y);return(_0x3a2250=(_0x587043=_0x331477==null?void 0x0:_0x331477[_0xa5c0a0(0x112)])!=null?_0x587043:_0x5e83ee)!=null?_0x3a2250:Wi;}async[_0x23fcf5(0x2f0)](_0x4fa0cb){var _0x3c536c=_0x23fcf5;const _0x520e5c=this[_0x3c536c(0x2f6)]()+_0x3c536c(0x131);return{'list':[{'title':_0x3c536c(0x2cf),'mentions':(await this['_HTTPService']['get'](_0x520e5c,{'params':{'objectID':_0x4fa0cb['unitId'],'unitID':_0x4fa0cb[_0x3c536c(0x44d)]}}))[_0x3c536c(0x3b1)][_0x3c536c(0x110)][_0x3c536c(0x1da)](_0xcf0e42=>({'objectId':_0xcf0e42['id'],'name':_0xcf0e42[_0x3c536c(0x1a7)][_0x3c536c(0xe4)],'metadata':{'icon':_0xcf0e42['subject'][_0x3c536c(0x1c4)]},'label':_0xcf0e42['subject'][_0x3c536c(0xe4)],'objectType':a[_0x3c536c(0x393)][_0x3c536c(0x23e)]})),'metadata':{},'type':a[_0x3c536c(0x393)]['PERSON']}]};}},exports[_0x23fcf5(0x237)]=Fi([_t(0x0,a['Inject'](a[_0x23fcf5(0x17e)])),_t(0x1,a[_0x23fcf5(0x11a)](q[_0x23fcf5(0x3f3)]))],exports[_0x23fcf5(0x237)]);var Gi=Object['defineProperty'],Vi=Object[_0x23fcf5(0x291)],Ki=(_0x51c436,_0x247c83,_0x416c7b,_0x4abae7)=>{var _0x4eda89=_0x23fcf5;for(var _0x3c82aa=_0x4abae7>0x1?void 0x0:_0x4abae7?Vi(_0x247c83,_0x416c7b):_0x247c83,_0x546ec9=_0x51c436[_0x4eda89(0x358)]-0x1,_0x12fd66;_0x546ec9>=0x0;_0x546ec9--)(_0x12fd66=_0x51c436[_0x546ec9])&&(_0x3c82aa=(_0x4abae7?_0x12fd66(_0x247c83,_0x416c7b,_0x3c82aa):_0x12fd66(_0x3c82aa))||_0x3c82aa);return _0x4abae7&&_0x3c82aa&&Gi(_0x247c83,_0x416c7b,_0x3c82aa),_0x3c82aa;},ce=(_0x431a96,_0x4cba16)=>(_0x151f7e,_0x523405)=>_0x4cba16(_0x151f7e,_0x523405,_0x431a96);let Ue=class extends a['RxDisposable']{constructor(_0xc7b461,_0x4bb332,_0x21f76f,_0x5e056f,_0x2b1bf0,_0x65fa78,_0x55b7d1){var _0x55a6b9=_0x23fcf5;super(),this[_0x55a6b9(0x305)]=_0xc7b461,this['_univerInstanceService']=_0x4bb332,this['_permissionService']=_0x21f76f,this[_0x55a6b9(0x346)]=_0x5e056f,this[_0x55a6b9(0x359)]=_0x2b1bf0,this[_0x55a6b9(0x369)]=_0x65fa78,this[_0x55a6b9(0x1c3)]=_0x55b7d1,this[_0x55a6b9(0x132)](),this[_0x55a6b9(0x3b6)]();}[_0x23fcf5(0x3b6)](){var _0x586297=_0x23fcf5;const _0x3eebe2=async _0x5e56df=>{var _0x2e1357=_0x4d81;(await this['_collaborationSessionService']['requireSession'](_0x5e56df))[_0x2e1357(0x3d4)]['pipe'](W['filter'](_0x287f40=>_0x287f40[_0x2e1357(0x21b)]===m['CollaborationEvent']['SHOULD_CLOSE_CONN']),W[_0x2e1357(0x32d)](this[_0x2e1357(0x160)]))[_0x2e1357(0x332)](_0x1e8d9d=>{var _0x489ba1=_0x2e1357;const _0x12ea6e=_0x1e8d9d,{reason:_0x1b2c3b}=_0x12ea6e['data'];this[_0x489ba1(0x359)][_0x489ba1(0x427)]({'id':Q[_0x489ba1(0x1e2)],'data':_0x1b2c3b}),this['_permissionService'][_0x489ba1(0x3dd)](new J[(_0x489ba1(0x3ee))](_0x5e56df)['id'],!0x1),this[_0x489ba1(0x346)]['closeSession'](_0x5e56df);});};H[_0x586297(0x326)](this[_0x586297(0x3ce)][_0x586297(0x399)](a[_0x586297(0x387)][_0x586297(0x1b5)]),this['_univerInstanceService'][_0x586297(0x399)](a[_0x586297(0x387)][_0x586297(0x19a)]))[_0x586297(0x205)](W[_0x586297(0x1da)](_0x21d04b=>_0x21d04b[_0x586297(0x408)]()),W['filter'](_0x45465a=>!a[_0x586297(0x269)](_0x45465a)),W['takeUntil'](this[_0x586297(0x160)]))[_0x586297(0x332)](_0x245508=>{_0x3eebe2(_0x245508);});}[_0x23fcf5(0x132)](){var _0x491878=_0x23fcf5;const _0x2975f4=async _0x1f0063=>{var _0x5e81e4=_0x4d81;const _0x50ab21=await this[_0x5e81e4(0x346)][_0x5e81e4(0x101)](_0x1f0063),_0x3f1fbd=this[_0x5e81e4(0x305)]['get'](J['SheetPermissionInitController']);_0x50ab21[_0x5e81e4(0x3d4)]['pipe'](W[_0x5e81e4(0x23c)](_0x413151=>_0x413151[_0x5e81e4(0x21b)]===m[_0x5e81e4(0x2b5)][_0x5e81e4(0x142)]),W[_0x5e81e4(0x32d)](this[_0x5e81e4(0x160)]))['subscribe'](_0x1ebcd0=>{var _0x44ad87=_0x5e81e4;const _0x41a681=_0x1ebcd0,{objectId:_0x2805f9}=_0x41a681[_0x44ad87(0x406)];_0x2805f9===_0x1f0063?_0x3f1fbd[_0x44ad87(0x2fb)](_0x1f0063):_0x3f1fbd[_0x44ad87(0x3f5)](_0x1f0063,_0x2805f9);});};H[_0x491878(0x326)](this[_0x491878(0x3ce)]['getTypeOfUnitAdded$'](a[_0x491878(0x387)][_0x491878(0x1b5)]),this['_univerInstanceService'][_0x491878(0x399)](a['UniverInstanceType'][_0x491878(0x19a)]))[_0x491878(0x205)](W['map'](_0x5a4d56=>_0x5a4d56[_0x491878(0x408)]()),W[_0x491878(0x23c)](_0x101b16=>!a[_0x491878(0x269)](_0x101b16)),W[_0x491878(0x32d)](this[_0x491878(0x160)]))['subscribe'](_0x402106=>{_0x2975f4(_0x402106);});}};Ue=Ki([ce(0x0,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),ce(0x1,a[_0x23fcf5(0x133)]),ce(0x2,a[_0x23fcf5(0x28b)]),ce(0x3,a[_0x23fcf5(0x11a)](exports[_0x23fcf5(0x3a9)])),ce(0x4,a['Inject'](te)),ce(0x5,a[_0x23fcf5(0x163)]),ce(0x6,a[_0x23fcf5(0x2b0)])],Ue);var Yi=Object[_0x23fcf5(0x14d)],qi=Object[_0x23fcf5(0x291)],zi=(_0x16a6fb,_0x22621b,_0x3bde5b,_0x4fbeca)=>{for(var _0x32e1b9=_0x4fbeca>0x1?void 0x0:_0x4fbeca?qi(_0x22621b,_0x3bde5b):_0x22621b,_0x5dc2b9=_0x16a6fb['length']-0x1,_0x50e34c;_0x5dc2b9>=0x0;_0x5dc2b9--)(_0x50e34c=_0x16a6fb[_0x5dc2b9])&&(_0x32e1b9=(_0x4fbeca?_0x50e34c(_0x22621b,_0x3bde5b,_0x32e1b9):_0x50e34c(_0x32e1b9))||_0x32e1b9);return _0x4fbeca&&_0x32e1b9&&Yi(_0x22621b,_0x3bde5b,_0x32e1b9),_0x32e1b9;},ut=(_0x254882,_0x35dbb9)=>(_0x416efd,_0x33245c)=>_0x35dbb9(_0x416efd,_0x33245c,_0x254882);exports['SnapshotServerOverHTTPService']=class{constructor(_0x187dd8,_0xca0125){var _0x17de65=_0x23fcf5;this[_0x17de65(0x194)]=_0x187dd8,this[_0x17de65(0x418)]=_0xca0125;}async[_0x23fcf5(0x3fc)](_0x38a65d,_0x1288d8){var _0x17daa4=_0x23fcf5,_0x21de6b;const {unitID:_0x4465b7,type:_0x16989c,revision:_0x3f74f1=0x0}=_0x1288d8,_0x10508f=this[_0x17daa4(0x3a3)]()+'/'+_0x16989c+_0x17daa4(0x17d)+_0x4465b7+'/rev/'+_0x3f74f1,_0x34eb9a=(await this[_0x17daa4(0x418)][_0x17daa4(0x11c)](_0x10508f))[_0x17daa4(0x3b1)],_0x548619=(_0x21de6b=_0x34eb9a['snapshot'])==null?void 0x0:_0x21de6b['workbook'];if(_0x548619){const _0x4b3064=_0x548619==null?void 0x0:_0x548619[_0x17daa4(0x12b)],_0x26c6ee=m[_0x17daa4(0x1f5)][_0x17daa4(0x220)](m[_0x17daa4(0x3b7)](_0x4b3064));_0x548619[_0x17daa4(0x12b)]=_0x26c6ee,Object['entries'](_0x548619['sheets'])[_0x17daa4(0x28e)](([,_0x34311b])=>{var _0x363d72=_0x17daa4;const _0x45eea4=_0x34311b['originalMeta'],_0x19e38c=m[_0x363d72(0x1f5)]['encode'](m['b64DecodeUnicode'](_0x45eea4));_0x34311b[_0x363d72(0x12b)]=_0x19e38c;});}return _0x34eb9a;}async[_0x23fcf5(0x2e9)](_0x28d32f,_0x3ba9c6){var _0x203124=_0x23fcf5;const {unitID:_0x2a419d,type:_0x39dace,blockID:_0xb20396}=_0x3ba9c6,_0x434a8b=this[_0x203124(0x2b6)]()+'/'+_0x39dace+_0x203124(0x17d)+_0x2a419d+'/block/'+_0xb20396;return(await this[_0x203124(0x418)][_0x203124(0x11c)](_0x434a8b))[_0x203124(0x3b1)];}async[_0x23fcf5(0x106)](_0x2cc488,_0x725487){var _0x43d132=_0x23fcf5;const {unitID:_0x19c991,type:_0x34fd39,blockID:_0x4fc47d}=_0x725487,_0x2c4bca=this[_0x43d132(0x2b6)]()+_0x43d132(0x40b)+_0x34fd39+_0x43d132(0x17d)+_0x19c991+_0x43d132(0x40b)+_0x4fc47d;return(await this[_0x43d132(0x418)][_0x43d132(0x11c)](_0x2c4bca))[_0x43d132(0x3b1)];}async[_0x23fcf5(0x438)](_0x9812aa,_0x3d7cf6){var _0x4dbb9b=_0x23fcf5;const {unitID:_0x455bc0,type:_0x30b36c,from:_0x1f6c40,to:_0x277f74}=_0x3d7cf6,_0xbbf5c6=this[_0x4dbb9b(0x2b6)]()+'/'+_0x30b36c+_0x4dbb9b(0x17d)+_0x455bc0+_0x4dbb9b(0x295)+_0x1f6c40+_0x4dbb9b(0x328)+_0x277f74;return(await this['_httpService']['get'](_0xbbf5c6))[_0x4dbb9b(0x3b1)];}[_0x23fcf5(0x3a3)](){var _0x37d7d7=_0x23fcf5,_0xaea1a2;return(_0xaea1a2=this[_0x37d7d7(0x194)][_0x37d7d7(0x3d1)](ft))!=null?_0xaea1a2:this[_0x37d7d7(0x2b6)]();}['_getAPIPrefix'](){var _0x6c089f=_0x23fcf5,_0x4a9680,_0x2fd1f4;const _0x40a45f=this[_0x6c089f(0x194)]['getConfig'](vt),_0x26002a=this['_configService'][_0x6c089f(0x3d1)](Y);return(_0x2fd1f4=(_0x4a9680=_0x26002a==null?void 0x0:_0x26002a[_0x6c089f(0x420)])!=null?_0x4a9680:_0x40a45f)!=null?_0x2fd1f4:Ht;}async['getResourcesRequest'](_0x1df462,_0x3806fd){var _0x78e8a5=_0x23fcf5;const _0xef721b=_0x78e8a5(0x39f)+_0x3806fd[_0x78e8a5(0x21a)]+_0x78e8a5(0x17d)+_0x3806fd['unitID']+_0x78e8a5(0x12d);return(await this[_0x78e8a5(0x418)]['get'](_0xef721b,{'params':{'resourceId':JSON['stringify'](_0x3806fd[_0x78e8a5(0x27a)])}}))[_0x78e8a5(0x3b1)];}[_0x23fcf5(0x416)](){var _0x296084=_0x23fcf5;throw new Error(_0x296084(0x345));}['saveSheetBlock'](){var _0x256490=_0x23fcf5;throw new Error(_0x256490(0x345));}[_0x23fcf5(0x2f7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x23fcf5(0x1f8)](){var _0x44cde5=_0x23fcf5;throw new Error(_0x44cde5(0x345));}[_0x23fcf5(0x257)](){var _0x4701c3=_0x23fcf5;throw new Error(_0x4701c3(0x345));}},exports[_0x23fcf5(0x1e8)]=zi([ut(0x0,a[_0x23fcf5(0x17e)]),ut(0x1,a['Inject'](q[_0x23fcf5(0x3f3)]))],exports['SnapshotServerOverHTTPService']);var Ji=Object[_0x23fcf5(0x14d)],Xi=Object[_0x23fcf5(0x291)],Zi=(_0x322b29,_0x4f9bb4,_0xa705e0,_0x4c9173)=>{var _0x595e0c=_0x23fcf5;for(var _0x141b2c=_0x4c9173>0x1?void 0x0:_0x4c9173?Xi(_0x4f9bb4,_0xa705e0):_0x4f9bb4,_0x3e370c=_0x322b29[_0x595e0c(0x358)]-0x1,_0x18bc2e;_0x3e370c>=0x0;_0x3e370c--)(_0x18bc2e=_0x322b29[_0x3e370c])&&(_0x141b2c=(_0x4c9173?_0x18bc2e(_0x4f9bb4,_0xa705e0,_0x141b2c):_0x18bc2e(_0x141b2c))||_0x141b2c);return _0x4c9173&&_0x141b2c&&Ji(_0x4f9bb4,_0xa705e0,_0x141b2c),_0x141b2c;},de=(_0x5aee57,_0x55c02e)=>(_0x4fc199,_0x26c71f)=>_0x55c02e(_0x4fc199,_0x26c71f,_0x5aee57);exports[_0x23fcf5(0x348)]=class extends a[_0x23fcf5(0x284)]{constructor(_0x49fbf7,_0x224d1c,_0x3b468c,_0x38c317,_0x42b962){var _0x3fa28f=_0x23fcf5;super(_0x49fbf7,_0x224d1c,_0x3b468c),this[_0x3fa28f(0x453)]=_0x38c317,this['_logService']=_0x42b962;}['transformUndoRedo'](_0x438ddc,_0x416fb9){var _0x434598=_0x23fcf5;const _0x16c397=this[_0x434598(0x103)](_0x438ddc);if(_0x16c397)try{const _0x485b6b=this[_0x434598(0x29c)](_0x16c397,_0x416fb9);this['_substituteUndoStack'](_0x438ddc,_0x485b6b);}catch(_0x4dc2e5){this[_0x434598(0x447)][_0x434598(0x39b)](_0x434598(0x162),_0x4dc2e5),this[_0x434598(0x259)](_0x438ddc);}const _0x2645b3=this[_0x434598(0x234)](_0x438ddc);if(_0x2645b3)try{const _0x28e7a2=this[_0x434598(0x29c)](_0x2645b3,_0x416fb9);this[_0x434598(0x15a)](_0x438ddc,_0x28e7a2);}catch(_0x13ba0d){this['_logService'][_0x434598(0x39b)](_0x13ba0d),this['_clearRedo'](_0x438ddc);}}[_0x23fcf5(0x259)](_0x4a5b24){var _0x57c095=_0x23fcf5;const _0x405023=this[_0x57c095(0x103)](_0x4a5b24);_0x405023&&(_0x405023[_0x57c095(0x358)]=0x0,this[_0x57c095(0x173)]());}[_0x23fcf5(0x1ca)](_0x168157){var _0x516017=_0x23fcf5;const _0x2556d6=this['_getRedoStack'](_0x168157);_0x2556d6&&(_0x2556d6[_0x516017(0x358)]=0x0,this[_0x516017(0x173)]());}[_0x23fcf5(0x1ec)](_0x9dd2d9,_0x21ebb1){var _0x3984fe=_0x23fcf5;this[_0x3984fe(0x2c9)][_0x3984fe(0x2ec)](_0x9dd2d9,_0x21ebb1),this[_0x3984fe(0x173)]();}[_0x23fcf5(0x15a)](_0x2088c0,_0x5f0c4c){var _0x5c49e8=_0x23fcf5;this['_redoStacks'][_0x5c49e8(0x2ec)](_0x2088c0,_0x5f0c4c),this[_0x5c49e8(0x173)]();}['_transformStack'](_0x430b21,_0x269877){var _0x141148=_0x23fcf5;const _0x4c4985=[];let _0x118efa=_0x269877,_0x107313=_0x269877;for(let _0x368876=_0x430b21['length']-0x1;_0x368876>=0x0;_0x368876--){const {unitID:_0x97cb86,undoMutations:_0x11faad,redoMutations:_0x11cbaf}=_0x430b21[_0x368876],_0x5c3b73=this[_0x141148(0x453)][_0x141148(0x2cb)](_0x118efa,_0x11faad),_0x18dcbf=this[_0x141148(0x453)][_0x141148(0x2cb)](_0x107313,_0x11cbaf);if(m[_0x141148(0x424)](_0x5c3b73)||m['isTransformMutationsWithChangesetFailure'](_0x18dcbf)){this[_0x141148(0x447)][_0x141148(0x39b)](_0x141148(0x162),'transformStack\x20failed!',_0x5c3b73,_0x18dcbf);break;}_0x118efa=_0x5c3b73['c1Prime'],_0x107313=_0x18dcbf[_0x141148(0x217)],_0x4c4985['push']({'unitID':_0x97cb86,'undoMutations':_0x5c3b73[_0x141148(0x22c)],'redoMutations':_0x18dcbf[_0x141148(0x22c)]});}return _0x4c4985[_0x141148(0x3e9)]();}},exports['CollaborativeUndoRedoService']=Zi([de(0x0,a[_0x23fcf5(0x133)]),de(0x1,a['ICommandService']),de(0x2,a[_0x23fcf5(0x44c)]),de(0x3,m[_0x23fcf5(0x1e5)]),de(0x4,a[_0x23fcf5(0x21d)])],exports['CollaborativeUndoRedoService']);var Lt=Object[_0x23fcf5(0x14d)],Qi=Object[_0x23fcf5(0x291)],er=(_0x30a5dc,_0x533836,_0x15be6d)=>_0x533836 in _0x30a5dc?Lt(_0x30a5dc,_0x533836,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15be6d}):_0x30a5dc[_0x533836]=_0x15be6d,tr=(_0xb34533,_0x5de2af,_0x424c79,_0x19966d)=>{var _0xd449ca=_0x23fcf5;for(var _0x21888b=_0x19966d>0x1?void 0x0:_0x19966d?Qi(_0x5de2af,_0x424c79):_0x5de2af,_0x33c9fd=_0xb34533[_0xd449ca(0x358)]-0x1,_0x47a114;_0x33c9fd>=0x0;_0x33c9fd--)(_0x47a114=_0xb34533[_0x33c9fd])&&(_0x21888b=(_0x19966d?_0x47a114(_0x5de2af,_0x424c79,_0x21888b):_0x47a114(_0x21888b))||_0x21888b);return _0x19966d&&_0x21888b&&Lt(_0x5de2af,_0x424c79,_0x21888b),_0x21888b;},je=(_0x3394aa,_0x1c503d)=>(_0x4e2732,_0x492d4c)=>_0x1c503d(_0x4e2732,_0x492d4c,_0x3394aa),nr=(_0x529dd4,_0x1e23f9,_0xf7763b)=>er(_0x529dd4,_0x1e23f9+'',_0xf7763b);const ir=_0x23fcf5(0x22e);exports[_0x23fcf5(0x2e8)]=class extends a[_0x23fcf5(0x279)]{constructor(_0x18fa10=Ke,_0x4ef202,_0x2cdda5,_0x40bdd5){var _0x517790=_0x23fcf5;super(),this[_0x517790(0x26a)]=_0x18fa10,this['_logService']=_0x4ef202,this[_0x517790(0x305)]=_0x2cdda5,this[_0x517790(0x194)]=_0x40bdd5;const {..._0x2d9f9e}=a[_0x517790(0x326)]({},Ke,this['_config']);this[_0x517790(0x194)]['setConfig'](Y,_0x2d9f9e);}[_0x23fcf5(0x3d2)](){var _0x2f46cd=_0x23fcf5;this[_0x2f46cd(0x248)](),this[_0x2f46cd(0x3f2)]();}[_0x23fcf5(0x248)](){var _0x4aa6cb=_0x23fcf5,_0x17a8e4,_0xf42ef6,_0x39872c,_0x463e7a;this[_0x4aa6cb(0x305)]['has'](a[_0x4aa6cb(0x2b0)])&&this[_0x4aa6cb(0x447)]['error'](_0x4aa6cb(0x309),_0x4aa6cb(0x39e));const _0xd7a3c5=a[_0x4aa6cb(0x31d)]([[a[_0x4aa6cb(0x2b0)],{'useClass':exports[_0x4aa6cb(0x348)]}],[exports[_0x4aa6cb(0x3a9)]],[exports[_0x4aa6cb(0x24c)]],[exports[_0x4aa6cb(0x30b)]],[ye],[Ne],[Be],[Ue],[te],[exports[_0x4aa6cb(0x37d)]],[ke,{'useClass':(_0xf42ef6=(_0x17a8e4=this[_0x4aa6cb(0x26a)])==null?void 0x0:_0x17a8e4[_0x4aa6cb(0x190)])!=null?_0xf42ef6:exports['CollaborationSocketService']}],[m[_0x4aa6cb(0x3e3)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x4aa6cb(0x163)],{'useClass':exports[_0x4aa6cb(0x225)]}],[X[_0x4aa6cb(0x2a4)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x4aa6cb(0x2c7)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x4aa6cb(0x1d8)]],[$e]],(_0x39872c=this[_0x4aa6cb(0x26a)])==null?void 0x0:_0x39872c['override']);if(!((_0x463e7a=this[_0x4aa6cb(0x26a)])!=null&&_0x463e7a[_0x4aa6cb(0x19f)])){const _0x2dc8d3=_0xd7a3c5['findIndex'](([_0xd74850])=>_0xd74850===ve);_0x2dc8d3!==-0x1&&_0xd7a3c5[_0x4aa6cb(0x3e4)](_0x2dc8d3,0x1);}a[_0x4aa6cb(0x272)](this[_0x4aa6cb(0x305)],_0xd7a3c5);}[_0x23fcf5(0x3f2)](){var _0xb14033=_0x23fcf5,_0x462bba,_0x4c9e51,_0x33e228;this[_0xb14033(0x305)][_0xb14033(0x11c)](q[_0xb14033(0x3f3)])[_0xb14033(0x12e)]({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x462bba=this[_0xb14033(0x26a)])!=null&&_0x462bba[_0xb14033(0x263)]||(_0x4c9e51=this[_0xb14033(0x305)][_0xb14033(0x11c)](z,a[_0xb14033(0x401)][_0xb14033(0x30a)]))==null||_0x4c9e51[_0xb14033(0x289)](),(_0x33e228=this['_config'])!=null&&_0x33e228['enableAuthServer']&&a[_0xb14033(0x3fa)](this[_0xb14033(0x305)],[[ye]]),a[_0xb14033(0x3fa)](this[_0xb14033(0x305)],[[Ne],[exports[_0xb14033(0x1d8)]],[Ue]]);}},nr(exports[_0x23fcf5(0x2e8)],_0x23fcf5(0x1a1),ir),exports['UniverCollaborationClientPlugin']=tr([a[_0x23fcf5(0x3fd)](m[_0x23fcf5(0x150)],J['UniverSheetsPlugin'],q[_0x23fcf5(0x36a)]),je(0x1,a[_0x23fcf5(0x21d)]),je(0x2,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),je(0x3,a[_0x23fcf5(0x17e)])],exports[_0x23fcf5(0x2e8)]),exports['AUTHZ_URL_KEY']=Ve,exports[_0x23fcf5(0x38e)]=Y,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=Et,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports[_0x23fcf5(0xe8)]=We,exports[_0x23fcf5(0x1db)]=Q,exports['CollaborationUIEventService']=te,exports[_0x23fcf5(0x39d)]=Be,exports[_0x23fcf5(0xf6)]=pt,exports[_0x23fcf5(0x391)]=Xt,exports[_0x23fcf5(0x1a5)]=mt,exports['HEARTBEAT_TIMEOUT_KEY']=He,exports['ICollaborationSocketService']=ke,exports[_0x23fcf5(0x2f9)]=z,exports[_0x23fcf5(0x186)]=Rt,exports[_0x23fcf5(0x1ad)]=ve,exports[_0x23fcf5(0x2eb)]=Yt,exports[_0x23fcf5(0x340)]=Kt,exports[_0x23fcf5(0x2d9)]=Ct,exports[_0x23fcf5(0x3e6)]=Jt,exports[_0x23fcf5(0x388)]=It,exports[_0x23fcf5(0x405)]=kt,exports['SNAPSHOT_SERVER_URL_KEY']=vt,exports[_0x23fcf5(0x42c)]=ft,exports[_0x23fcf5(0x3a5)]=se,exports[_0x23fcf5(0x239)]=Fe,exports[_0x23fcf5(0x1f9)]=Ot,exports['getLocalCacheKey']=In,exports[_0x23fcf5(0x238)]=yt;